Move tags into subdirectory
This commit is contained in:
parent
3b08e7324b
commit
120832f241
18 changed files with 25 additions and 28 deletions
|
@ -1,11 +1,10 @@
|
||||||
import {AndOrTagConfigJson} from "./TagConfigJson";
|
import {AndOrTagConfigJson} from "./TagConfigJson";
|
||||||
import {Or} from "../../Logic/Or";
|
|
||||||
|
|
||||||
import {Utils} from "../../Utils";
|
import {Utils} from "../../Utils";
|
||||||
import {TagsFilter} from "../../Logic/TagsFilter";
|
import {RegexTag} from "../../Logic/Tags/RegexTag";
|
||||||
import {RegexTag} from "../../Logic/RegexTag";
|
import {Or} from "../../Logic/Tags/Or";
|
||||||
import {Tag} from "../../Logic/Tag";
|
import {And} from "../../Logic/Tags/And";
|
||||||
import {And} from "../../Logic/And";
|
import {Tag} from "../../Logic/Tags/Tag";
|
||||||
|
import {TagsFilter} from "../../Logic/Tags/TagsFilter";
|
||||||
|
|
||||||
export class FromJSON {
|
export class FromJSON {
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,8 @@ import {FixedUiElement} from "../../UI/Base/FixedUiElement";
|
||||||
import {UIElement} from "../../UI/UIElement";
|
import {UIElement} from "../../UI/UIElement";
|
||||||
import {SubstitutedTranslation} from "../../UI/SubstitutedTranslation";
|
import {SubstitutedTranslation} from "../../UI/SubstitutedTranslation";
|
||||||
import SourceConfig from "./SourceConfig";
|
import SourceConfig from "./SourceConfig";
|
||||||
import {TagsFilter} from "../../Logic/TagsFilter";
|
import {TagsFilter} from "../../Logic/Tags/TagsFilter";
|
||||||
import {Tag} from "../../Logic/Tag";
|
import {Tag} from "../../Logic/Tags/Tag";
|
||||||
|
|
||||||
export default class LayerConfig {
|
export default class LayerConfig {
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import {TagRenderingConfigJson} from "./TagRenderingConfigJson";
|
import {TagRenderingConfigJson} from "./TagRenderingConfigJson";
|
||||||
import {AndOrTagConfigJson} from "./TagConfigJson";
|
import {AndOrTagConfigJson} from "./TagConfigJson";
|
||||||
import TagRenderingConfig from "./TagRenderingConfig";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Configuration for a single layer
|
* Configuration for a single layer
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {TagsFilter} from "../../Logic/TagsFilter";
|
import {TagsFilter} from "../../Logic/Tags/TagsFilter";
|
||||||
|
|
||||||
export default class SourceConfig {
|
export default class SourceConfig {
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@ import {FromJSON} from "./FromJSON";
|
||||||
import ValidatedTextField from "../../UI/Input/ValidatedTextField";
|
import ValidatedTextField from "../../UI/Input/ValidatedTextField";
|
||||||
import {Translation} from "../../UI/i18n/Translation";
|
import {Translation} from "../../UI/i18n/Translation";
|
||||||
import {Utils} from "../../Utils";
|
import {Utils} from "../../Utils";
|
||||||
import {TagsFilter} from "../../Logic/TagsFilter";
|
import {TagUtils} from "../../Logic/Tags/TagUtils";
|
||||||
import {And} from "../../Logic/And";
|
import {And} from "../../Logic/Tags/And";
|
||||||
import {TagUtils} from "../../Logic/TagUtils";
|
import {TagsFilter} from "../../Logic/Tags/TagsFilter";
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* The parsed version of TagRenderingConfigJSON
|
* The parsed version of TagRenderingConfigJSON
|
||||||
|
|
|
@ -4,9 +4,9 @@ import {Utils} from "../../Utils";
|
||||||
import {UIEventSource} from "../UIEventSource";
|
import {UIEventSource} from "../UIEventSource";
|
||||||
import Constants from "../../Models/Constants";
|
import Constants from "../../Models/Constants";
|
||||||
import FeatureSource from "../FeatureSource/FeatureSource";
|
import FeatureSource from "../FeatureSource/FeatureSource";
|
||||||
import {TagsFilter} from "../TagsFilter";
|
import {TagsFilter} from "../Tags/TagsFilter";
|
||||||
import {Tag} from "../Tag";
|
import {Tag} from "../Tags/Tag";
|
||||||
import {And} from "../And";
|
import {And} from "../Tags/And";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handles all changes made to OSM.
|
* Handles all changes made to OSM.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Utils} from "../Utils";
|
import {Utils} from "../../Utils";
|
||||||
import {RegexTag} from "./RegexTag";
|
import {RegexTag} from "./RegexTag";
|
||||||
import {TagsFilter} from "./TagsFilter";
|
import {TagsFilter} from "./TagsFilter";
|
||||||
import {TagUtils} from "./TagUtils";
|
import {TagUtils} from "./TagUtils";
|
|
@ -1,7 +1,7 @@
|
||||||
import {Tag} from "./Tag";
|
import {Tag} from "./Tag";
|
||||||
import {TagsFilter} from "./TagsFilter";
|
import {TagsFilter} from "./TagsFilter";
|
||||||
import {And} from "./And";
|
import {And} from "./And";
|
||||||
import {Utils} from "../Utils";
|
import {Utils} from "../../Utils";
|
||||||
|
|
||||||
export class TagUtils {
|
export class TagUtils {
|
||||||
static ApplyTemplate(template: string, tags: any): string {
|
static ApplyTemplate(template: string, tags: any): string {
|
|
@ -5,7 +5,7 @@ import CheckBox from "../Input/CheckBox";
|
||||||
import Combine from "../Base/Combine";
|
import Combine from "../Base/Combine";
|
||||||
import State from "../../State";
|
import State from "../../State";
|
||||||
import Svg from "../../Svg";
|
import Svg from "../../Svg";
|
||||||
import {Tag} from "../../Logic/Tag";
|
import {Tag} from "../../Logic/Tags/Tag";
|
||||||
|
|
||||||
|
|
||||||
export default class DeleteImage extends UIElement {
|
export default class DeleteImage extends UIElement {
|
||||||
|
|
|
@ -8,7 +8,7 @@ import {Imgur} from "../../Logic/Web/Imgur";
|
||||||
import {DropDown} from "../Input/DropDown";
|
import {DropDown} from "../Input/DropDown";
|
||||||
import Translations from "../i18n/Translations";
|
import Translations from "../i18n/Translations";
|
||||||
import Svg from "../../Svg";
|
import Svg from "../../Svg";
|
||||||
import {Tag} from "../../Logic/Tag";
|
import {Tag} from "../../Logic/Tags/Tag";
|
||||||
|
|
||||||
export class ImageUploadFlow extends UIElement {
|
export class ImageUploadFlow extends UIElement {
|
||||||
private readonly _licensePicker: UIElement;
|
private readonly _licensePicker: UIElement;
|
||||||
|
|
|
@ -7,7 +7,6 @@ import Combine from "../Base/Combine";
|
||||||
import TagRenderingAnswer from "./TagRenderingAnswer";
|
import TagRenderingAnswer from "./TagRenderingAnswer";
|
||||||
import State from "../../State";
|
import State from "../../State";
|
||||||
import Svg from "../../Svg";
|
import Svg from "../../Svg";
|
||||||
import {TagUtils} from "../../Logic/TagUtils";
|
|
||||||
|
|
||||||
export default class EditableTagRendering extends UIElement {
|
export default class EditableTagRendering extends UIElement {
|
||||||
private readonly _tags: UIEventSource<any>;
|
private readonly _tags: UIEventSource<any>;
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {Utils} from "../../Utils";
|
||||||
import Combine from "../Base/Combine";
|
import Combine from "../Base/Combine";
|
||||||
import {SubstitutedTranslation} from "../SubstitutedTranslation";
|
import {SubstitutedTranslation} from "../SubstitutedTranslation";
|
||||||
import {Translation} from "../i18n/Translation";
|
import {Translation} from "../i18n/Translation";
|
||||||
import {TagUtils} from "../../Logic/TagUtils";
|
import {TagUtils} from "../../Logic/Tags/TagUtils";
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* Displays the correct value for a known tagrendering
|
* Displays the correct value for a known tagrendering
|
||||||
|
|
|
@ -18,10 +18,10 @@ import {FixedUiElement} from "../Base/FixedUiElement";
|
||||||
import {Translation} from "../i18n/Translation";
|
import {Translation} from "../i18n/Translation";
|
||||||
import Constants from "../../Models/Constants";
|
import Constants from "../../Models/Constants";
|
||||||
import {SubstitutedTranslation} from "../SubstitutedTranslation";
|
import {SubstitutedTranslation} from "../SubstitutedTranslation";
|
||||||
import {TagsFilter} from "../../Logic/TagsFilter";
|
import {TagsFilter} from "../../Logic/Tags/TagsFilter";
|
||||||
import {Tag} from "../../Logic/Tag";
|
import {Tag} from "../../Logic/Tags/Tag";
|
||||||
import {And} from "../../Logic/And";
|
import {And} from "../../Logic/Tags/And";
|
||||||
import {TagUtils} from "../../Logic/TagUtils";
|
import {TagUtils} from "../../Logic/Tags/TagUtils";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the question element.
|
* Shows the question element.
|
||||||
|
|
|
@ -12,8 +12,8 @@ import {Translation} from "../UI/i18n/Translation";
|
||||||
import {OH, OpeningHour} from "../UI/OpeningHours/OpeningHours";
|
import {OH, OpeningHour} from "../UI/OpeningHours/OpeningHours";
|
||||||
import PublicHolidayInput from "../UI/OpeningHours/PublicHolidayInput";
|
import PublicHolidayInput from "../UI/OpeningHours/PublicHolidayInput";
|
||||||
import {SubstitutedTranslation} from "../UI/SubstitutedTranslation";
|
import {SubstitutedTranslation} from "../UI/SubstitutedTranslation";
|
||||||
import {Tag} from "../Logic/Tag";
|
import {Tag} from "../Logic/Tags/Tag";
|
||||||
import {And} from "../Logic/And";
|
import {And} from "../Logic/Tags/And";
|
||||||
|
|
||||||
|
|
||||||
new T("Tags", [
|
new T("Tags", [
|
||||||
|
|
Loading…
Reference in a new issue