From ae432ec9c5543b3029a1f3fdeee8e81197422e13 Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Tue, 15 Oct 2024 11:51:08 +0300 Subject: [PATCH] UI: Remove flex layout in map widgets settings --- .../map/circle-settings.component.html | 62 +++++++++---------- .../map/common-map-settings.component.html | 40 ++++++------ ...atasources-key-autocomplete.component.html | 2 +- ...oogle-map-provider-settings.component.html | 4 +- .../here-map-provider-settings.component.html | 11 ++-- ...image-map-provider-settings.component.html | 6 +- .../map/map-editor-settings.component.html | 7 +-- .../map/map-provider-settings.component.html | 12 ++-- .../settings/map/map-settings.component.html | 4 +- .../marker-clustering-settings.component.html | 26 ++++---- .../map/markers-settings.component.html | 62 +++++++++---------- ...treet-map-provider-settings.component.html | 11 ++-- .../map/polygon-settings.component.html | 62 +++++++++---------- .../map/route-map-settings.component.html | 6 +- ...ncent-map-provider-settings.component.html | 4 +- ...p-animation-common-settings.component.html | 27 ++++---- ...p-animation-marker-settings.component.html | 30 +++++---- ...rip-animation-path-settings.component.html | 42 ++++++------- ...ip-animation-point-settings.component.html | 27 ++++---- 19 files changed, 208 insertions(+), 237 deletions(-) diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/circle-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/circle-settings.component.html index c159ec4684..d719c84e9c 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/circle-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/circle-settings.component.html @@ -19,20 +19,18 @@
widgets.maps.circle-settings - + - + {{ 'widgets.maps.show-circle' | translate }} - + widget-config.advanced-settings - @@ -43,14 +41,13 @@
widgets.maps.circle-label - + - + {{ 'widgets.maps.show-circle-label' | translate }} - + widget-config.advanced-settings @@ -58,12 +55,12 @@ {{ 'widgets.maps.use-circle-label-function' | translate }} - - widgets.maps.circle-tooltip - + - + {{ 'widgets.maps.show-circle-tooltip' | translate }} - + widget-config.advanced-settings - + widgets.maps.show-tooltip-action @@ -102,12 +98,12 @@ {{ 'widgets.maps.use-circle-tooltip-function' | translate }} - -
widgets.maps.circle-fill-color -
+
- + widgets.maps.circle-fill-color-opacity
- + - + {{ 'widgets.maps.use-circle-fill-color-function' | translate }} - + widget-config.advanced-settings @@ -155,31 +150,30 @@
widgets.maps.circle-stroke -
+
- + widgets.maps.stroke-opacity - + widgets.maps.stroke-weight
- + - + {{ 'widgets.maps.use-circle-stroke-color-function' | translate }} - + widget-config.advanced-settings diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/common-map-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/common-map-settings.component.html index baca5a60c7..3f9a83d819 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/common-map-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/common-map-settings.component.html @@ -18,30 +18,30 @@
widgets.maps.common-map-settings -
- + - - -
- - + + widget-config.advanced-settings -
- +
+ widgets.maps.default-map-zoom-level - + widgets.maps.default-map-center-position
-
-
+
+
{{ 'widgets.maps.disable-scroll-zooming' | translate }} @@ -76,17 +76,17 @@ {{ 'widgets.maps.disable-zoom-control-buttons' | translate }} - + {{ 'widgets.maps.fit-map-bounds' | translate }}
-
- +
+ {{ 'widgets.maps.use-default-map-center-position' | translate }}
- + widgets.maps.entities-limit diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/datasources-key-autocomplete.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/datasources-key-autocomplete.component.html index eb1720c93c..610729d3fc 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/datasources-key-autocomplete.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/datasources-key-autocomplete.component.html @@ -15,7 +15,7 @@ limitations under the License. --> - + {{ label | translate }}
- + widgets.maps.google-maps-api-key - + widgets.maps.default-map-type diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/here-map-provider-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/here-map-provider-settings.component.html index a0e17883ce..4b7376c8b8 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/here-map-provider-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/here-map-provider-settings.component.html @@ -16,7 +16,7 @@ -->
- + widgets.maps.map-layer @@ -30,19 +30,18 @@ {{ 'widgets.maps.here-use-new-version-api-3' | translate }} -
- +
+ widgets.maps.here-app-id - + widgets.maps.here-app-code
- + widgets.maps.here-api-key diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/image-map-provider-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/image-map-provider-settings.component.html index 98d97f3414..0f3f9b9b01 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/image-map-provider-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/image-map-provider-settings.component.html @@ -21,8 +21,8 @@
widgets.maps.image-map-background-from-entity-attribute -
- +
+ widgets.maps.image-url-source-entity-alias - + widgets.maps.image-url-source-entity-attribute - + - + {{ 'widgets.maps.hide-all-edit-buttons' | translate }} - + widget-config.advanced-settings diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-provider-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-provider-settings.component.html index 1fd1a5f249..4940d55205 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-provider-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-provider-settings.component.html @@ -18,7 +18,7 @@
widgets.maps.map-provider-settings - + widgets.maps.map-provider @@ -27,24 +27,24 @@
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-settings.component.html index 1296bbf690..9f32a11d99 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/map-settings.component.html @@ -39,7 +39,7 @@
diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/marker-clustering-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/marker-clustering-settings.component.html index fa641582b9..4a14c4d040 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/marker-clustering-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/marker-clustering-settings.component.html @@ -19,14 +19,13 @@
widgets.maps.markers-clustering-settings - + - + {{ 'widgets.maps.use-map-markers-clustering' | translate }} - + widget-config.advanced-settings @@ -34,21 +33,21 @@ {{ 'widgets.maps.zoom-on-cluster-click' | translate }} -
- +
+ widgets.maps.max-cluster-zoom - + widgets.maps.max-cluster-radius-pixels
-
- +
+ {{ 'widgets.maps.cluster-zoom-animation' | translate }} - + {{ 'widgets.maps.show-markers-bounds-on-cluster-mouse-over' | translate }}
@@ -67,14 +66,13 @@
widgets.maps.clustering-markers - + - + {{ 'widgets.maps.use-icon-create-function' | translate }} - + widget-config.advanced-settings diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/markers-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/markers-settings.component.html index aed5dfc531..bd7eca8d02 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/markers-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/markers-settings.component.html @@ -18,17 +18,17 @@
widgets.maps.markers-settings -
- +
+ widgets.maps.marker-offset-x - + widgets.maps.marker-offset-y
- widgets.maps.label - + - + {{ 'widgets.maps.show-label' | translate }} - + widget-config.advanced-settings @@ -57,12 +56,12 @@ {{ 'widgets.maps.use-label-function' | translate }} - - widgets.maps.tooltip - + - + {{ 'widgets.maps.show-tooltip' | translate }} - + widget-config.advanced-settings - + widgets.maps.show-tooltip-action @@ -101,24 +99,24 @@ {{ 'widgets.maps.use-tooltip-function' | translate }} - - -
- +
+ widgets.maps.tooltip-offset-x - + widgets.maps.tooltip-offset-y @@ -134,14 +132,13 @@ label="{{ 'widgets.maps.color' | translate }}" openOnInput colorClearButton> - + - + {{ 'widgets.maps.use-color-function' | translate }} - + widget-config.advanced-settings @@ -158,35 +155,34 @@
widgets.maps.marker-image - + - + {{ 'widgets.maps.use-marker-image-function' | translate }} - + widget-config.advanced-settings - - + widgets.maps.custom-marker-image-size - - diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/openstreet-map-provider-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/openstreet-map-provider-settings.component.html index 9951c12bac..6633039e7d 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/openstreet-map-provider-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/openstreet-map-provider-settings.component.html @@ -16,7 +16,7 @@ -->
- + widgets.maps.openstreet-provider @@ -25,19 +25,18 @@ - + - + {{ 'widgets.maps.use-custom-provider' | translate }} - + widget-config.advanced-settings - + widgets.maps.custom-provider-tile-url diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/polygon-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/polygon-settings.component.html index 91984ca955..136c380d1a 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/polygon-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/polygon-settings.component.html @@ -19,20 +19,18 @@
widgets.maps.polygon-settings - + - + {{ 'widgets.maps.show-polygon' | translate }} - + widget-config.advanced-settings - @@ -43,14 +41,13 @@
widgets.maps.polygon-label - + - + {{ 'widgets.maps.show-polygon-label' | translate }} - + widget-config.advanced-settings @@ -58,12 +55,12 @@ {{ 'widgets.maps.use-polygon-label-function' | translate }} - - widgets.maps.polygon-tooltip - + - + {{ 'widgets.maps.show-polygon-tooltip' | translate }} - + widget-config.advanced-settings - + widgets.maps.show-tooltip-action @@ -102,12 +98,12 @@ {{ 'widgets.maps.use-polygon-tooltip-function' | translate }} - -
widgets.maps.polygon-color -
+
- + widgets.maps.polygon-opacity
- + - + {{ 'widgets.maps.use-polygon-color-function' | translate }} - + widget-config.advanced-settings @@ -155,31 +150,30 @@
widgets.maps.polygon-stroke -
+
- + widgets.maps.stroke-opacity - + widgets.maps.stroke-weight
- + - + {{ 'widgets.maps.use-polygon-stroke-color-function' | translate }} - + widget-config.advanced-settings diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/route-map-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/route-map-settings.component.html index 27f9b1dad7..4d4cec8cf4 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/route-map-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/route-map-settings.component.html @@ -18,12 +18,12 @@
widgets.maps.route-map-settings -
- +
+ widgets.maps.stroke-weight - + widgets.maps.stroke-opacity diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/tencent-map-provider-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/tencent-map-provider-settings.component.html index eeeb7ae7d4..cd8f10d242 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/tencent-map-provider-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/tencent-map-provider-settings.component.html @@ -16,11 +16,11 @@ -->
- + widgets.maps.tencent-maps-api-key - + widgets.maps.default-map-type diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-common-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-common-settings.component.html index f3146aa7fd..d34fde33aa 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-common-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-common-settings.component.html @@ -18,18 +18,18 @@
widgets.maps.trip-animation-settings - + widgets.maps.normalization-step -
- + - widgets.maps.tooltip - + - + {{ 'widgets.maps.show-tooltip' | translate }} - + widget-config.advanced-settings -
+
- + widgets.maps.tooltip-opacity @@ -75,12 +74,12 @@ {{ 'widgets.maps.use-tooltip-function' | translate }} - -
widgets.maps.markers-settings - + widgets.maps.rotation-angle
widgets.maps.label - + - + {{ 'widgets.maps.show-label' | translate }} - + widget-config.advanced-settings @@ -40,12 +39,12 @@ {{ 'widgets.maps.use-label-function' | translate }} - - widgets.maps.marker-image - + - + {{ 'widgets.maps.use-marker-image-function' | translate }} - + widget-config.advanced-settings - - + widgets.maps.custom-marker-image-size - - diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-path-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-path-settings.component.html index e7b0443208..f921677041 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-path-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-path-settings.component.html @@ -18,31 +18,30 @@
widgets.maps.path-settings -
+
- + widgets.maps.stroke-weight - + widgets.maps.stroke-opacity
- + - + {{ 'widgets.maps.use-path-color-function' | translate }} - + widget-config.advanced-settings @@ -58,20 +57,19 @@
widgets.maps.path-decorator - + - + {{ 'widgets.maps.use-path-decorator' | translate }} - + widget-config.advanced-settings -
- +
+ widgets.maps.decorator-symbol @@ -79,32 +77,32 @@ - + widgets.maps.decorator-symbol-size
-
- +
+ {{ 'widgets.maps.use-path-decorator-custom-color' | translate }}
-
- +
+ widgets.maps.decorator-offset - + widgets.maps.end-decorator-offset - + widgets.maps.decorator-repeat diff --git a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-point-settings.component.html b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-point-settings.component.html index 2beba0639f..9e42753e34 100644 --- a/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-point-settings.component.html +++ b/ui-ngx/src/app/modules/home/components/widget/lib/settings/map/trip-animation-point-settings.component.html @@ -19,39 +19,37 @@
widgets.maps.points-settings - + - + {{ 'widgets.maps.show-points' | translate }} - + widget-config.advanced-settings -
+
- + widgets.maps.point-size
- + - + {{ 'widgets.maps.use-point-color-function' | translate }} - + widget-config.advanced-settings @@ -65,14 +63,13 @@ - + - + {{ 'widgets.maps.use-point-as-anchor' | translate }} - + widget-config.advanced-settings