diff --git a/UI/Base/BackButton.svelte b/UI/Base/BackButton.svelte index 0c5d20d8e..40f4d1eea 100644 --- a/UI/Base/BackButton.svelte +++ b/UI/Base/BackButton.svelte @@ -14,7 +14,8 @@ dispatch("click")} - options={{ extraClasses: twMerge("flex items-center", clss) }}> + options={{ extraClasses: twMerge("flex items-center", clss) }} +> diff --git a/UI/Base/DragInvitation.svelte b/UI/Base/DragInvitation.svelte index 892ab1c41..c296f0ada 100644 --- a/UI/Base/DragInvitation.svelte +++ b/UI/Base/DragInvitation.svelte @@ -15,7 +15,7 @@ if (hideSignal) { onDestroy( hideSignal.addCallbackD(() => { - if(initTime + 1000 > Date.now()){ + if (initTime + 1000 > Date.now()) { console.log("Ignoring hide signal") return } @@ -32,7 +32,7 @@ } -
+
diff --git a/UI/Base/MapControlButton.svelte b/UI/Base/MapControlButton.svelte index 595363867..5a9624998 100644 --- a/UI/Base/MapControlButton.svelte +++ b/UI/Base/MapControlButton.svelte @@ -11,6 +11,7 @@ diff --git a/UI/Base/NextButton.svelte b/UI/Base/NextButton.svelte index e5714f4be..a546fd8c1 100644 --- a/UI/Base/NextButton.svelte +++ b/UI/Base/NextButton.svelte @@ -15,7 +15,8 @@ dispatch("click")} - options={{ extraClasses: twMerge("flex items-center", clss) }}> + options={{ extraClasses: twMerge("flex items-center", clss) }} +>
diff --git a/UI/Base/SubtleButton.svelte b/UI/Base/SubtleButton.svelte index 1b2b8bd60..06431a4da 100644 --- a/UI/Base/SubtleButton.svelte +++ b/UI/Base/SubtleButton.svelte @@ -17,7 +17,8 @@ + -
- p === "denied")}> - - - -
-
- state.guistate.themeIsOpened.setData(false)} - on:searchIsValid={(isValid) => { - searchEnabled = isValid - }} - perLayer={state.perLayer} - {selectedElement} - {selectedLayer} - {triggerSearch} - /> -
- -
+
+
+ state.guistate.themeIsOpened.setData(false)} + on:searchIsValid={(isValid) => { + searchEnabled = isValid + }} + perLayer={state.perLayer} + {selectedElement} + {selectedLayer} + {triggerSearch} + />
+ +
- - + +
diff --git a/UI/InputElement/Helpers/FloorSelector.svelte b/UI/InputElement/Helpers/FloorSelector.svelte index 8e283ad4b..0713fda18 100644 --- a/UI/InputElement/Helpers/FloorSelector.svelte +++ b/UI/InputElement/Helpers/FloorSelector.svelte @@ -127,7 +127,8 @@ draggable="false" on:mousedown={click} src="./assets/svg/elevator.svg" - style={`top: ${top}px;`} /> + style={`top: ${top}px;`} + />
diff --git a/UI/InputElement/Helpers/LocationInput.svelte b/UI/InputElement/Helpers/LocationInput.svelte index 0d43ff74b..b76137a58 100644 --- a/UI/InputElement/Helpers/LocationInput.svelte +++ b/UI/InputElement/Helpers/LocationInput.svelte @@ -1,96 +1,96 @@
-
- -
+
+ +
-
- -
+
+ +
- +
diff --git a/UI/Popup/AddNewPoint/AddNewPoint.svelte b/UI/Popup/AddNewPoint/AddNewPoint.svelte index 4c167c5a6..b95fbb5a5 100644 --- a/UI/Popup/AddNewPoint/AddNewPoint.svelte +++ b/UI/Popup/AddNewPoint/AddNewPoint.svelte @@ -1,349 +1,356 @@ - - - - - {#if $isLoading} -
- - - -
- {:else if $zoom < Constants.minZoomLevelToAddNewPoint} -
- -
- {:else if selectedPreset === undefined} - - { + + + + {#if $isLoading} +
+ + + +
+ {:else if $zoom < Constants.minZoomLevelToAddNewPoint} +
+ +
+ {:else if selectedPreset === undefined} + + { selectedPreset = event.detail }} - /> - {:else if !$layerIsDisplayed} - -
- - -
+ /> + {:else if !$layerIsDisplayed} + +
+ + +
-
- + > + + + - -
- {:else if $layerHasFilters} - -
- - -
-
- +
+ {:else if $layerHasFilters} + +
+ + +
+
+ - + -
- {:else if !confirmedCategory} - -

- -

+ > + + + + + {:else if !confirmedCategory} + +

+ +

- + - {#if selectedPreset.preset.description} - + {#if selectedPreset.preset.description} + + {/if} + + {#if selectedPreset.preset.exampleImages} +

+ {#if selectedPreset.preset.exampleImages.length === 1} + + {:else} + {/if} - - {#if selectedPreset.preset.exampleImages} -

- {#if selectedPreset.preset.exampleImages.length === 1} - - {:else} - - {/if} -

- + + {#each selectedPreset.preset.exampleImages as src} - + {/each} - {/if} - t.presetInfo.Subs({ tags })} - {state} - tags={new And(selectedPreset.preset.tags)} - /> + {/if} + t.presetInfo.Subs({ tags })} + {state} + tags={new And(selectedPreset.preset.tags)} + /> -
- (selectedPreset = undefined)} clss="w-full"> - - +
+ (selectedPreset = undefined)} clss="w-full"> + + - (confirmedCategory = true)} clss="primary w-full"> -
- - -
-
- -
-
+ (confirmedCategory = true)} clss="primary w-full"> +
+ +
- {:else if _globalFilter?.length > 0 && _globalFilter?.length > checkedOfGlobalFilters} - - { +
+ +
+
+
+ {:else if _globalFilter?.length > 0 && _globalFilter?.length > checkedOfGlobalFilters} + + { checkedOfGlobalFilters = checkedOfGlobalFilters + 1 }} - > - - + + - - { + /> + + { globalFilter.setData([]) abort() }} - > - - - - {:else if !creating} -
-
- {preciseInputIsTapped = true}} - value={preciseCoordinate} - snappedTo={snappedToObject} - {state} - {coordinate} - targetLayer={selectedPreset.layer} - snapToLayers={selectedPreset.preset.preciseInput.snapToLayers} - /> -
+ > + + + + {:else if !creating} +
+
+ { + preciseInputIsTapped = true + }} + value={preciseCoordinate} + snappedTo={snappedToObject} + {state} + {coordinate} + targetLayer={selectedPreset.layer} + snapToLayers={selectedPreset.preset.preciseInput.snapToLayers} + /> +
-
- -
- -
-
-
+
+ +
+ +
+
+
-
- -
+
+ +
+
+
+ (selectedPreset = undefined)} clss="w-full"> + + + + +
+
-
- (selectedPreset = undefined)} clss="w-full"> - - - - -
- -
-
-
- {:else} - Creating point... - {/if} +
+
+ {:else} + Creating point... + {/if} diff --git a/UI/Popup/DeleteFlow/DeleteWizard.svelte b/UI/Popup/DeleteFlow/DeleteWizard.svelte index 461d7782c..5135b7ff9 100644 --- a/UI/Popup/DeleteFlow/DeleteWizard.svelte +++ b/UI/Popup/DeleteFlow/DeleteWizard.svelte @@ -18,7 +18,7 @@ import ChangeTagAction from "../../../Logic/Osm/Actions/ChangeTagAction" import Loading from "../../Base/Loading.svelte" import { DeleteFlowState } from "./DeleteFlowState" - import { twJoin } from "tailwind-merge" + import { twJoin } from "tailwind-merge" export let state: SpecialVisualizationState export let deleteConfig: DeleteConfig @@ -112,10 +112,13 @@ diff --git a/UI/Popup/ImportButtons/PointImportFlow.svelte b/UI/Popup/ImportButtons/PointImportFlow.svelte index 7130fbe71..906384248 100644 --- a/UI/Popup/ImportButtons/PointImportFlow.svelte +++ b/UI/Popup/ImportButtons/PointImportFlow.svelte @@ -1,10 +1,10 @@
- +
-
- - -
- -
-
-
- state.guistate.themeIsOpened.setData(true)}> -
- - - - -
-
- state.guistate.menuIsOpened.setData(true)}> - - - {#if currentViewLayer?.tagRenderings && currentViewLayer.defaultIcon()} - { + + +
+ +
+
+
+ state.guistate.themeIsOpened.setData(true)}> +
+ + + + +
+
+ state.guistate.menuIsOpened.setData(true)}> + + + {#if currentViewLayer?.tagRenderings && currentViewLayer.defaultIcon()} + { selectedLayer.setData(currentViewLayer) selectedElement.setData(state.currentView.features?.data?.[0]) }} - > - currentViewLayer.defaultIcon().SetClass("w-8 h-8 cursor-pointer")} - /> - - {/if} + > new ExtraLinkButton(state, layout.extraLink).SetClass("pointer-events-auto")} + construct={() => currentViewLayer.defaultIcon().SetClass("w-8 h-8 cursor-pointer")} /> - -
Testmode
-
-
-
- - -
+
+ {/if} + new ExtraLinkButton(state, layout.extraLink).SetClass("pointer-events-auto")} + /> + +
Testmode
+
+
+
+ + + +
- -
-
- - - { + + -
- - f.length > 1)}> -
- -
-
- mapproperties.zoom.update((z) => z + 1)}> - - - mapproperties.zoom.update((z) => z - 1)}> - - - - - + + f.length > 1)}> +
+ +
+
+ mapproperties.zoom.update((z) => z + 1)}> + + + mapproperties.zoom.update((z) => z - 1)}> + + + + + - - -
+ /> + +
+
v !== undefined && selectedLayer.data !== undefined && !selectedLayer.data.popupInFloatover, [selectedLayer] )} > - - { + + { selectedElement.setData(undefined) }} - > -
- - - - - - -
-
+ > +
+ + + + + + +
+
v !== undefined && selectedLayer.data !== undefined && selectedLayer.data.popupInFloatover, [selectedLayer] )} > - - { + + { selectedElement.setData(undefined) }} - > - - + > + + - - - - -
- state.guistate.themeIsOpened.setData(false)} - /> -
+ + + + +
+ state.guistate.themeIsOpened.setData(false)} + /> +
-
- - -
+
+ + +
-
- -
+
+ +
-
- - - - -
+
+ + + + +
-
- {#each layout.layers as layer} - - {/each} - {#each layout.tileLayerSources as tilesource} - - {/each} -
-
- - - - -
-
- -
+
+ {#each layout.layers as layer} + + {/each} + {#each layout.tileLayerSources as tilesource} + + {/each} +
+
+ + + + +
+
+ +
-
- -
+
+ +
- new CopyrightPanel(state)} slot="content3"/> + new CopyrightPanel(state)} slot="content3" /> -
- -
-
- new ShareScreen(state)}/> -
-
-
+
+ +
+
+ new ShareScreen(state)} /> +
+
+
- - state.guistate.backgroundLayerSelectionIsOpened.setData(false)}> -
- -
-
+ + state.guistate.backgroundLayerSelectionIsOpened.setData(false)}> +
+ +
+
- - - - -
- state.guistate.menuIsOpened.setData(false)} - /> -
-
- -
+ + + + +
+ state.guistate.menuIsOpened.setData(false)} + /> +
+
+ +
- -
- - -
+
+ + +
- + {state} + tags={state.userRelatedState.preferencesAsTags} + /> + +
-
- - Get in touch with others -
-
- -
+
+ + Get in touch with others +
+
+ +
-
- - -
-
- new PrivacyPolicy()}/> -
+
+ + +
+
+ new PrivacyPolicy()} /> +
- -
- - + +
+ + new OpenJosm(state.osmConnection, state.mapProperties.bounds).SetClass("w-full")} - /> - - -
- - + /> + + +
+ +