@provoly/dashboard 0.24.9 → 0.24.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/assets/svgs/bin_normal.svg +6 -0
  2. package/esm2022/lib/core/components/edit-input/edit-input.component.mjs +18 -5
  3. package/esm2022/lib/core/i18n/en.translations.mjs +3 -2
  4. package/esm2022/lib/core/i18n/fr.translations.mjs +5 -3
  5. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  6. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  7. package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +3 -3
  8. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +8 -2
  9. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +19 -1
  10. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +66 -1
  11. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +6 -4
  12. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +1 -1
  13. package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +1 -1
  14. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +183 -43
  15. package/esm2022/widgets/widget-map/i18n/en.translations.mjs +22 -2
  16. package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +23 -2
  17. package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
  18. package/esm2022/widgets/widget-map/widget-map.module.mjs +12 -5
  19. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +1 -1
  20. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  21. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +1 -1
  22. package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
  23. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +237 -49
  24. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  25. package/fesm2022/provoly-dashboard.mjs +119 -12
  26. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  27. package/lib/core/components/edit-input/edit-input.component.d.ts +6 -2
  28. package/lib/core/i18n/en.translations.d.ts +1 -0
  29. package/lib/core/i18n/fr.translations.d.ts +2 -0
  30. package/lib/core/model/manifest.interface.d.ts +2 -1
  31. package/lib/core/model/widget-map-manifest.interface.d.ts +6 -0
  32. package/lib/dashboard/store/dashboard.actions.d.ts +37 -0
  33. package/lib/dashboard/store/dashboard.effects.d.ts +4 -0
  34. package/lib/dashboard/store/dashboard.selectors.d.ts +9 -0
  35. package/package.json +37 -37
  36. package/styles/base/_utils.scss +4 -0
  37. package/styles/components/_a-range-slider.scss +5 -21
  38. package/styles/components/_m-form-label-field.scss +1 -0
  39. package/styles/components/_o-layer-settings.scss +139 -0
  40. package/styles/components/_o-pry-edit.scss +30 -2
  41. package/styles/components/_o-settings.scss +6 -2
  42. package/styles/main.scss +1 -0
  43. package/styles-theme/components-theme/_m-layer-legend.theme.scss +24 -0
  44. package/styles-theme/components-theme/_o-layer-settings.theme.scss +32 -0
  45. package/styles-theme/components-theme/_o-settings.theme.scss +6 -0
  46. package/styles-theme/main-theme.scss +2 -0
  47. package/widgets/widget-map/component/widget-map.component.d.ts +22 -8
  48. package/widgets/widget-map/i18n/en.translations.d.ts +20 -0
  49. package/widgets/widget-map/i18n/fr.translations.d.ts +21 -0
  50. package/widgets/widget-map/style/_m-layer-legend.scss +30 -5
  51. package/widgets/widget-map/style/_o-widget-map.scss +4 -0
  52. package/widgets/widget-map/widget-map.module.d.ts +2 -1
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter } from '@angular/core';
2
2
  import { ControlValueAccessor } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PryEditInputComponent implements ControlValueAccessor {
@@ -9,7 +9,11 @@ export declare class PryEditInputComponent implements ControlValueAccessor {
9
9
  _onChange: (_: any) => void;
10
10
  _onTouched: () => void;
11
11
  editMode: boolean;
12
+ showButton: boolean;
12
13
  label: string;
14
+ editButtonTooltip: string;
15
+ confirmButtonTooltip: string;
16
+ validated: EventEmitter<string>;
13
17
  constructor(_cd: ChangeDetectorRef);
14
18
  registerOnChange(fn: any): void;
15
19
  registerOnTouched(fn: any): void;
@@ -17,5 +21,5 @@ export declare class PryEditInputComponent implements ControlValueAccessor {
17
21
  writeValue(obj: any): void;
18
22
  toggle(force?: boolean): void;
19
23
  static ɵfac: i0.ɵɵFactoryDeclaration<PryEditInputComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<PryEditInputComponent, "pry-edit-input", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryEditInputComponent, "pry-edit-input", never, { "label": { "alias": "label"; "required": false; }; "editButtonTooltip": { "alias": "editButtonTooltip"; "required": false; }; "confirmButtonTooltip": { "alias": "confirmButtonTooltip"; "required": false; }; }, { "validated": "validated"; }, never, never, false, never>;
21
25
  }
@@ -255,6 +255,7 @@ export declare const enTranslations: {
255
255
  theme: {
256
256
  editInput: {
257
257
  toggle: string;
258
+ confirm: string;
258
259
  };
259
260
  previousMonth: string;
260
261
  nextMonth: string;
@@ -223,6 +223,7 @@ export declare const frTranslations: {
223
223
  delete: string;
224
224
  edit: string;
225
225
  editProfil: string;
226
+ editTitle: string;
226
227
  choice: string;
227
228
  choiceInList: string;
228
229
  text: string;
@@ -255,6 +256,7 @@ export declare const frTranslations: {
255
256
  theme: {
256
257
  editInput: {
257
258
  toggle: string;
259
+ confirm: string;
258
260
  };
259
261
  previousMonth: string;
260
262
  nextMonth: string;
@@ -6,7 +6,7 @@ import { DetailWidgetOptions } from './widget-detail-manifest.interface';
6
6
  import { GraphWidgetOptions } from './widget-graph-manifest.interface';
7
7
  import { IframeWidgetOptions } from './widget-iframe-manifest.interface';
8
8
  import { ImageWidgetOptions } from './widget-image-manifest.interface';
9
- import { MapWidgetOptions } from './widget-map-manifest.interface';
9
+ import { LayerGroup, MapWidgetOptions } from './widget-map-manifest.interface';
10
10
  import { TableWidgetOptions } from './widget-table-manifest.interface';
11
11
  import { TemplateWidgetOptions } from './widget-template-manifest.interface';
12
12
  import { TileWidgetOptions } from './widget-tile-manifest.interface';
@@ -65,6 +65,7 @@ export interface GlobalManifest {
65
65
  };
66
66
  filters?: Filter[];
67
67
  html?: string;
68
+ layerGroups?: LayerGroup[];
68
69
  }
69
70
  export interface WidgetManifest {
70
71
  title?: string;
@@ -29,6 +29,7 @@ export interface BaseWidgetMapLayerOptions {
29
29
  background?: boolean;
30
30
  fit?: boolean;
31
31
  slide?: 'left' | 'right' | 'all';
32
+ group?: string;
32
33
  }
33
34
  export interface MapWidgetHeatMapLayerOptions extends BaseWidgetMapLayerOptions {
34
35
  type: 'heatmap';
@@ -118,4 +119,9 @@ export declare enum TooltipMode {
118
119
  export declare const widgetMapConfig: {
119
120
  actions$: BehaviorSubject<("click" | "lasso" | "rectangle" | "zoom" | "move" | "export" | "upload")[]>;
120
121
  };
122
+ export interface LayerGroup {
123
+ name: string;
124
+ singleLayer: boolean;
125
+ visibleLayers: string[];
126
+ }
121
127
  export declare const DEFAULT_PROJECTION = "EPSG:4326";
@@ -7,6 +7,7 @@ import { Relation } from '../../core/model/relation.interface';
7
7
  import { OrderValue } from '../../core/model/result-order.interface';
8
8
  import { ResultSet, ResultSets } from '../../core/model/result-set.interface';
9
9
  import { GetCapabilitiesResponse } from './wms.service';
10
+ import { LayerGroup } from '../../core/model/widget-map-manifest.interface';
10
11
  export type DashboardCellParams = {
11
12
  gridWidth: number;
12
13
  gridHeight: number;
@@ -506,4 +507,40 @@ export declare const DashboardActions: {
506
507
  presentation: ManifestDescription;
507
508
  viewMode: ViewMode;
508
509
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] load presentation">>;
510
+ initDefaultLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] init default layer group", (props: {
511
+ layers?: string[] | undefined;
512
+ }) => {
513
+ layers?: string[] | undefined;
514
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] init default layer group">>;
515
+ addLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] add map layer group", (props: {
516
+ defaultTitle: string;
517
+ }) => {
518
+ defaultTitle: string;
519
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] add map layer group">>;
520
+ updateLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] update map layer group", (props: {
521
+ name: string;
522
+ newName?: string | undefined;
523
+ singleLayer?: boolean | undefined;
524
+ visibleLayers?: string | string[] | undefined;
525
+ }) => {
526
+ name: string;
527
+ newName?: string | undefined;
528
+ singleLayer?: boolean | undefined;
529
+ visibleLayers?: string | string[] | undefined;
530
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] update map layer group">>;
531
+ confirmLayerGroupDeletion: import("@ngrx/store").ActionCreator<"[Dashboard] confirm deleting map layer group", (props: {
532
+ name: string;
533
+ }) => {
534
+ name: string;
535
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] confirm deleting map layer group">>;
536
+ deleteLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] delete map layer group", (props: {
537
+ name: string;
538
+ }) => {
539
+ name: string;
540
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] delete map layer group">>;
541
+ updateAllLayerGroups: import("@ngrx/store").ActionCreator<"[Dashboard] remove map layer group", (props: {
542
+ groups: LayerGroup[];
543
+ }) => {
544
+ groups: LayerGroup[];
545
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] remove map layer group">>;
509
546
  };
@@ -152,6 +152,7 @@ export declare class DashboardEffects {
152
152
  } | undefined;
153
153
  filters?: import("@provoly/dashboard").Filter[] | undefined;
154
154
  html?: string | undefined;
155
+ layerGroups?: import("../../core/model/widget-map-manifest.interface").LayerGroup[] | undefined;
155
156
  }]> & import("@ngrx/effects").CreateEffectMetadata;
156
157
  saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
157
158
  initial?: GlobalManifest | undefined;
@@ -239,6 +240,9 @@ export declare class DashboardEffects {
239
240
  mode: ViewMode;
240
241
  customDisplay?: import("@provoly/dashboard").DisplayOptions | undefined;
241
242
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">)> & import("@ngrx/effects").CreateEffectMetadata;
243
+ confirmLayerGroupDeletion$: import("rxjs").Observable<{
244
+ name: string;
245
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] confirm deleting map layer group">> & import("@ngrx/effects").CreateEffectMetadata;
242
246
  constructor(dashboardInitService: DashboardInitService, actions$: Actions, store: Store<any>, manifestService: ManifestService, itemService: ItemService, titleService: PryTitleService, translateService: PryI18nService, snackBar: PrySnackbarService, router: Router, refreshService: RefreshService, toolboxManifestService: ToolboxManifestService, busService: BusService, searchService: SearchService, pryDialog: PryDialogService, wmsService: WmsService, widgetFactoryService: WidgetFactoryService, i18nService: PryI18nService);
243
247
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardEffects, never>;
244
248
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardEffects>;
@@ -33,6 +33,7 @@ export declare const DashboardSelectors: {
33
33
  } | undefined;
34
34
  filters?: Filter[] | undefined;
35
35
  html?: string | undefined;
36
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
36
37
  }, (s1: {
37
38
  sender: string;
38
39
  tenants: string[];
@@ -48,6 +49,7 @@ export declare const DashboardSelectors: {
48
49
  } | undefined;
49
50
  filters?: Filter[] | undefined;
50
51
  html?: string | undefined;
52
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
51
53
  }>;
52
54
  refreshRates: MemoizedSelector<object, {
53
55
  [key: string]: number;
@@ -58,6 +60,7 @@ export declare const DashboardSelectors: {
58
60
  } | undefined;
59
61
  filters?: Filter[] | undefined;
60
62
  html?: string | undefined;
63
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
61
64
  }) => {
62
65
  [key: string]: number;
63
66
  }>;
@@ -68,6 +71,7 @@ export declare const DashboardSelectors: {
68
71
  } | undefined;
69
72
  filters?: Filter[] | undefined;
70
73
  html?: string | undefined;
74
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
71
75
  }, s2: number) => DashboardManifest>;
72
76
  widgetManifest: (index: number) => MemoizedSelector<DashboardManifest, WidgetManifest, import("@ngrx/store").DefaultProjectorFn<WidgetManifest>>;
73
77
  manifestsList: MemoizedSelector<object, import("../../core/model/manifest.interface").ManifestDescription[], (s1: {
@@ -138,6 +142,7 @@ export declare const DashboardSelectors: {
138
142
  } | undefined;
139
143
  filters?: Filter[] | undefined;
140
144
  html?: string | undefined;
145
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
141
146
  }) => {
142
147
  [key: string]: {
143
148
  windowIndex: number;
@@ -258,6 +263,7 @@ export declare const DashboardSelectors: {
258
263
  } | undefined;
259
264
  filters?: Filter[] | undefined;
260
265
  html?: string | undefined;
266
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
261
267
  }, (s1: {
262
268
  sender: string;
263
269
  tenants: string[];
@@ -273,6 +279,7 @@ export declare const DashboardSelectors: {
273
279
  } | undefined;
274
280
  filters?: Filter[] | undefined;
275
281
  html?: string | undefined;
282
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
276
283
  }>;
277
284
  loading: MemoizedSelector<object, boolean, (s1: {
278
285
  sender: string;
@@ -323,6 +330,7 @@ export declare const DashboardSelectors: {
323
330
  } | undefined;
324
331
  filters?: Filter[] | undefined;
325
332
  html?: string | undefined;
333
+ layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
326
334
  }) => boolean>;
327
335
  isCurrentPresentationOwner: MemoizedSelector<object, boolean, (s1: {
328
336
  current: import("../../core/model/manifest.interface").ManifestDescription | undefined;
@@ -341,4 +349,5 @@ export declare const DashboardSelectors: {
341
349
  }, (s1: DashboardState) => {
342
350
  [url: string]: import("@provoly/dashboard").GetCapabilitiesResponse | null;
343
351
  }>;
352
+ layerGroups: MemoizedSelector<object, import("@provoly/dashboard").LayerGroup[], (s1: DashboardState) => import("@provoly/dashboard").LayerGroup[]>;
344
353
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.24.9",
3
+ "version": "0.24.11",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -132,6 +132,36 @@
132
132
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
133
133
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
134
134
  },
135
+ "./filters/autocomplete": {
136
+ "types": "./filters/autocomplete/index.d.ts",
137
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
138
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
139
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
140
+ },
141
+ "./filters/date": {
142
+ "types": "./filters/date/index.d.ts",
143
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
144
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
145
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
146
+ },
147
+ "./filters/list": {
148
+ "types": "./filters/list/index.d.ts",
149
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
150
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
151
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
152
+ },
153
+ "./filters/number": {
154
+ "types": "./filters/number/index.d.ts",
155
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
156
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
157
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
158
+ },
159
+ "./filters/text": {
160
+ "types": "./filters/text/index.d.ts",
161
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
162
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
163
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
164
+ },
135
165
  "./components/card": {
136
166
  "types": "./components/card/index.d.ts",
137
167
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -186,36 +216,6 @@
186
216
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
187
217
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
188
218
  },
189
- "./filters/autocomplete": {
190
- "types": "./filters/autocomplete/index.d.ts",
191
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
192
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
193
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
194
- },
195
- "./filters/date": {
196
- "types": "./filters/date/index.d.ts",
197
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
198
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
199
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
200
- },
201
- "./filters/list": {
202
- "types": "./filters/list/index.d.ts",
203
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
204
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
205
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
206
- },
207
- "./filters/number": {
208
- "types": "./filters/number/index.d.ts",
209
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
210
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
211
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
212
- },
213
- "./filters/text": {
214
- "types": "./filters/text/index.d.ts",
215
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
216
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
217
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
218
- },
219
219
  "./pipeline-components/filter": {
220
220
  "types": "./pipeline-components/filter/index.d.ts",
221
221
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -234,18 +234,18 @@
234
234
  "esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
235
235
  "default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
236
236
  },
237
- "./pipeline-components/output-dataset": {
238
- "types": "./pipeline-components/output-dataset/index.d.ts",
239
- "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
240
- "esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
241
- "default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
242
- },
243
237
  "./pipeline-components/subgraph": {
244
238
  "types": "./pipeline-components/subgraph/index.d.ts",
245
239
  "esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
246
240
  "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
247
241
  "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
248
242
  },
243
+ "./pipeline-components/output-dataset": {
244
+ "types": "./pipeline-components/output-dataset/index.d.ts",
245
+ "esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
246
+ "esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
247
+ "default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
248
+ },
249
249
  "./tooltips/attribute": {
250
250
  "types": "./tooltips/attribute/index.d.ts",
251
251
  "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
@@ -49,6 +49,10 @@
49
49
  align-items: center;
50
50
  }
51
51
 
52
+ &.-justify-center {
53
+ justify-content: center;
54
+ }
55
+
52
56
  &.-column {
53
57
  flex-direction: column;
54
58
  }
@@ -18,12 +18,9 @@
18
18
 
19
19
  &[type='range'] {
20
20
  width: 100%;
21
- height: 7px;
21
+ height: 4px;
22
22
  border-radius: 5px;
23
- background: rgba(255, 255, 255, 0.6);
24
- background-image: linear-gradient(#426EA4, #4081d0);
25
- background-size: 100% 100%;
26
- background-repeat: no-repeat;
23
+ background: #113B6E;
27
24
  box-shadow: 0 0 2px 2px #F5F7F9;
28
25
  -webkit-appearance: none;
29
26
  }
@@ -59,24 +56,11 @@
59
56
  &__max {
60
57
  position: absolute;
61
58
  z-index: 0;
62
- bottom: -6px;
59
+ top: 0;
63
60
  width: 20px;
64
61
  color: #113B6E;
65
62
  opacity: 0.7;
66
63
  text-align: center;
67
-
68
- &:before {
69
- content: '';
70
- display: block;
71
- position: absolute;
72
- top: -11px;
73
- left: 50%;
74
- transform: translateX(-50%);
75
- width: 2px;
76
- height: 10px;
77
- background-color: #113B6E;
78
- border-radius: 2px;
79
- }
80
64
  }
81
65
 
82
66
  &__min {
@@ -90,15 +74,15 @@
90
74
  // Selected value
91
75
  &__selected-value {
92
76
  position: absolute;
93
- top: -3px;
77
+ bottom: -7px;
94
78
  transform: translateX(-50%);
95
79
  display: flex;
96
80
  align-items: center;
97
81
  justify-content: center;
98
82
  min-width: 30px;
99
83
  height: 22px;
100
- border-radius: 10px;
101
84
  font-size: 13px;
102
85
  font-weight: 600;
86
+ background-color: #FFFFFF;
103
87
  }
104
88
  }
@@ -25,6 +25,7 @@
25
25
  &__edit-inline {
26
26
  display: flex;
27
27
  align-items: center;
28
+ justify-content: space-between;
28
29
  gap: toRem(10);
29
30
 
30
31
  &__txtvalue {
@@ -0,0 +1,139 @@
1
+ @use '../abstracts' as *;
2
+
3
+ /* Organism - map layer settings */
4
+
5
+ .o-layer-settings {
6
+ padding: toRem(20) toRem(20);
7
+ margin: 20px -20px 0 -20px;
8
+
9
+ &__group {
10
+ margin-top: toRem(30);
11
+ padding-bottom: toRem(10);
12
+
13
+ .m-form-radio-group {
14
+ gap: toRem(10);
15
+ margin: toRem(5) 0 toRem(5) toRem(10);
16
+
17
+ .a-label {
18
+ font-weight: 400;
19
+ }
20
+ }
21
+
22
+ .a-btn.-link-like {
23
+ font-size: toRem(12);
24
+ font-weight: 700;
25
+
26
+ &:hover {
27
+ text-decoration: underline;
28
+ }
29
+ }
30
+
31
+ .m-tooltip {
32
+ margin-left: toRem(10);
33
+ }
34
+ }
35
+
36
+ &__group-title {
37
+
38
+ &.m-form-label-field {
39
+ margin-bottom: 0;
40
+ }
41
+
42
+ .u-display-flex {
43
+ align-items: center;
44
+ padding-right: toRem(15);
45
+
46
+ .o-layer-settings__delete-group {
47
+ margin-bottom: toRem(10);
48
+
49
+ &:after {
50
+ top: calc(50% + 4px);
51
+ }
52
+ }
53
+
54
+ pry-edit-input {
55
+ flex: 1;
56
+ }
57
+ }
58
+ }
59
+
60
+ &__layers {
61
+ display: flex;
62
+ flex-direction: column;
63
+ gap: toRem(10);
64
+ }
65
+
66
+ &__layer-wrapper {
67
+ .drag-placeholder {
68
+ background: white;
69
+ min-height: 55px;
70
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
71
+ }
72
+ }
73
+
74
+ &__layer-header {
75
+ display: flex;
76
+ justify-content: space-between;
77
+ align-items: center;
78
+ padding: 0 toRem(5);
79
+
80
+ .u-display-flex {
81
+ gap: 0;
82
+ }
83
+
84
+ .a-btn--icon-only {
85
+ height: auto;
86
+ width: auto;
87
+ }
88
+
89
+ .a-h5 {
90
+ margin: 0;
91
+ font-size: toRem(14);
92
+ }
93
+
94
+ .unfold-layer {
95
+ margin-top: -6px;
96
+ }
97
+ }
98
+
99
+ &__layer-content {
100
+ padding: 0 toRem(20);
101
+
102
+ &.-collapsed {
103
+ display: none;
104
+ }
105
+ }
106
+
107
+ .a-label {
108
+ font-weight: 700;
109
+ }
110
+
111
+ .m-form-label-field {
112
+ .a-label {
113
+ font-weight: 700;
114
+ }
115
+ }
116
+
117
+ .drag-handle {
118
+ cursor: pointer;
119
+
120
+ &.-disabled {
121
+ cursor: unset;
122
+ opacity: 0.5;
123
+ }
124
+ }
125
+
126
+ .a-tooltip {
127
+ &:after{
128
+ white-space: nowrap;
129
+ }
130
+ }
131
+ }
132
+
133
+ .cdk-drop-list-dragging .cdk-drag {
134
+ transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
135
+ }
136
+
137
+ .cdk-drag-animating {
138
+ transition: transform 300ms cubic-bezier(0, 0, 0.2, 1);
139
+ }
@@ -3,7 +3,35 @@
3
3
  /* Organism - component pry edit */
4
4
 
5
5
  .o-pry-edit {
6
- .m-form-label-field__edit-inline__txtvalue {
7
- font-size: toRem(16);
6
+ .m-form-label-field__edit-inline {
7
+ position: relative;
8
+
9
+ &__txtvalue {
10
+ margin-top: 0;
11
+ }
12
+ }
13
+
14
+ .a-btn {
15
+ display: none;
16
+ opacity: 0;
17
+ }
18
+
19
+ .-button-visible {
20
+ display: block;
21
+ opacity: 1;
22
+ transition: opacity 0.3s;
23
+ position: absolute;
24
+ top: 0;
25
+ right: 10px;
26
+ }
27
+
28
+ &.-edit {
29
+ .m-form-label-field__edit-inline {
30
+ margin-top: -2px;
31
+ }
32
+
33
+ .-button-visible {
34
+ top: 4px;
35
+ }
8
36
  }
9
37
  }
@@ -23,7 +23,7 @@
23
23
  display: flex;
24
24
  justify-content: space-between;
25
25
  align-items: center;
26
- padding: toRem(20);
26
+ padding: toRem(8) toRem(20) toRem(10);
27
27
 
28
28
  .a-h2 {
29
29
  padding-bottom: 0;
@@ -38,7 +38,7 @@
38
38
  overflow-x: hidden;
39
39
  overflow-y: auto;
40
40
  width: 100%;
41
- padding: toRem(20);
41
+ padding: 0 toRem(20);
42
42
 
43
43
  &__actions {
44
44
  display: flex;
@@ -54,6 +54,10 @@
54
54
  }
55
55
  }
56
56
 
57
+ .m-form-label-field {
58
+ margin-bottom: toRem(10);
59
+ }
60
+
57
61
  &__fields {
58
62
  margin-bottom: toRem(30);
59
63
  padding-bottom: toRem(30);
package/styles/main.scss CHANGED
@@ -58,6 +58,7 @@
58
58
  @use 'components/o-chips-selector' as *;
59
59
  @use 'components/o-draggable-menu' as *;
60
60
  @use 'components/o-form' as *;
61
+ @use 'components/o-layer-settings' as *;
61
62
  @use 'components/o-modal' as *;
62
63
  @use 'components/o-named-query' as *;
63
64
  @use 'components/o-object-panel' as *;
@@ -0,0 +1,24 @@
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../abstracts-theme/variables.theme' as *;
3
+
4
+ /* Theme Molecules - m-map-layer-action, m-layer-legend, m-map-slide-legend */
5
+
6
+ .m-map-layer-action {
7
+ color: themed($theme-map, 'color', 'primary', 750);
8
+
9
+ &__container {
10
+ background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
11
+ }
12
+ }
13
+
14
+ .m-layer-switcher {
15
+ &--radios {
16
+ display: flex;
17
+ flex-direction: column;
18
+ gap: toRem(5);
19
+
20
+ input {
21
+ accent-color: themed($theme-map, 'color', 'primary', 600);
22
+ }
23
+ }
24
+ }