forked from MapComplete/MapComplete
Chore: whitespace
This commit is contained in:
parent
0fdf9448a9
commit
b06ed4c6ff
1 changed files with 6 additions and 14 deletions
|
@ -1,11 +1,7 @@
|
||||||
import { FixedUiElement } from "./Base/FixedUiElement"
|
import { FixedUiElement } from "./Base/FixedUiElement"
|
||||||
import BaseUIElement from "./BaseUIElement"
|
import BaseUIElement from "./BaseUIElement"
|
||||||
import { default as FeatureTitle } from "./Popup/Title.svelte"
|
import { default as FeatureTitle } from "./Popup/Title.svelte"
|
||||||
import {
|
import { RenderingSpecification, SpecialVisualization, SpecialVisualizationState } from "./SpecialVisualization"
|
||||||
RenderingSpecification,
|
|
||||||
SpecialVisualization,
|
|
||||||
SpecialVisualizationState,
|
|
||||||
} from "./SpecialVisualization"
|
|
||||||
import { HistogramViz } from "./Popup/HistogramViz"
|
import { HistogramViz } from "./Popup/HistogramViz"
|
||||||
import { UploadToOsmViz } from "./Popup/UploadToOsmViz"
|
import { UploadToOsmViz } from "./Popup/UploadToOsmViz"
|
||||||
import { MultiApplyViz } from "./Popup/MultiApplyViz"
|
import { MultiApplyViz } from "./Popup/MultiApplyViz"
|
||||||
|
@ -40,8 +36,11 @@ import { UISpecialVisualisations } from "./SpecialVisualisations/UISpecialVisual
|
||||||
import { SettingsVisualisations } from "./SpecialVisualisations/SettingsVisualisations"
|
import { SettingsVisualisations } from "./SpecialVisualisations/SettingsVisualisations"
|
||||||
import { ReviewSpecialVisualisations } from "./SpecialVisualisations/ReviewSpecialVisualisations"
|
import { ReviewSpecialVisualisations } from "./SpecialVisualisations/ReviewSpecialVisualisations"
|
||||||
import { DataImportSpecialVisualisations } from "./SpecialVisualisations/DataImportSpecialVisualisations"
|
import { DataImportSpecialVisualisations } from "./SpecialVisualisations/DataImportSpecialVisualisations"
|
||||||
import TagrenderingManipulationSpecialVisualisations from "./SpecialVisualisations/TagrenderingManipulationSpecialVisualisations"
|
import TagrenderingManipulationSpecialVisualisations
|
||||||
import { WebAndCommunicationSpecialVisualisations } from "./SpecialVisualisations/WebAndCommunicationSpecialVisualisations"
|
from "./SpecialVisualisations/TagrenderingManipulationSpecialVisualisations"
|
||||||
|
import {
|
||||||
|
WebAndCommunicationSpecialVisualisations
|
||||||
|
} from "./SpecialVisualisations/WebAndCommunicationSpecialVisualisations"
|
||||||
import ClearGPSHistory from "./BigComponents/ClearGPSHistory.svelte"
|
import ClearGPSHistory from "./BigComponents/ClearGPSHistory.svelte"
|
||||||
import AllFeaturesStatistics from "./Statistics/AllFeaturesStatistics.svelte"
|
import AllFeaturesStatistics from "./Statistics/AllFeaturesStatistics.svelte"
|
||||||
|
|
||||||
|
@ -373,7 +372,6 @@ export default class SpecialVisualizations {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "clear_location_history",
|
funcName: "clear_location_history",
|
||||||
docs: "A button to remove the travelled track information from the device",
|
docs: "A button to remove the travelled track information from the device",
|
||||||
|
@ -383,7 +381,6 @@ export default class SpecialVisualizations {
|
||||||
return new SvelteUIElement(ClearGPSHistory, { state })
|
return new SvelteUIElement(ClearGPSHistory, { state })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "title",
|
funcName: "title",
|
||||||
args: [],
|
args: [],
|
||||||
|
@ -408,7 +405,6 @@ export default class SpecialVisualizations {
|
||||||
|
|
||||||
constr: (state) => new SvelteUIElement(AllFeaturesStatistics, { state }),
|
constr: (state) => new SvelteUIElement(AllFeaturesStatistics, { state }),
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "translated",
|
funcName: "translated",
|
||||||
docs: "If the given key can be interpreted as a JSON, only show the key containing the current language (or 'en'). This specialRendering is meant to be used by MapComplete studio and is not useful in map themes",
|
docs: "If the given key can be interpreted as a JSON, only show the key containing the current language (or 'en'). This specialRendering is meant to be used by MapComplete studio and is not useful in map themes",
|
||||||
|
@ -503,7 +499,6 @@ export default class SpecialVisualizations {
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "direction_indicator",
|
funcName: "direction_indicator",
|
||||||
args: [],
|
args: [],
|
||||||
|
@ -519,7 +514,6 @@ export default class SpecialVisualizations {
|
||||||
return new SvelteUIElement(DirectionIndicator, { state, feature })
|
return new SvelteUIElement(DirectionIndicator, { state, feature })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "direction_absolute",
|
funcName: "direction_absolute",
|
||||||
docs: "Converts compass degrees (with 0° being north, 90° being east, ...) into a human readable, translated direction such as 'north', 'northeast'",
|
docs: "Converts compass degrees (with 0° being north, 90° being east, ...) into a human readable, translated direction such as 'north', 'northeast'",
|
||||||
|
@ -553,7 +547,6 @@ export default class SpecialVisualizations {
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "preset_description",
|
funcName: "preset_description",
|
||||||
docs: "Shows the extra description from the presets of the layer, if one matches. It will pick the most specific one (e.g. if preset `A` implies `B`, but `B` does not imply `A`, it'll pick B) or the first one if no ordering can be made. Might be empty",
|
docs: "Shows the extra description from the presets of the layer, if one matches. It will pick the most specific one (e.g. if preset `A` implies `B`, but `B` does not imply `A`, it'll pick B) or the first one if no ordering can be made. Might be empty",
|
||||||
|
@ -569,7 +562,6 @@ export default class SpecialVisualizations {
|
||||||
return new VariableUiElement(translation)
|
return new VariableUiElement(translation)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
funcName: "preset_type_select",
|
funcName: "preset_type_select",
|
||||||
docs: "An editable tag rendering which allows to change the type",
|
docs: "An editable tag rendering which allows to change the type",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue