@provoly/dashboard 0.19.2 → 0.19.4

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 (63) hide show
  1. package/dataset/style/_o-pry-dataset-card.scss +1 -6
  2. package/dataset/style/_o-pry-dataset.scss +1 -2
  3. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +5 -5
  4. package/esm2022/dataset/style/css.component.mjs +2 -2
  5. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  6. package/esm2022/lib/core/store/config/config.actions.mjs +1 -2
  7. package/esm2022/lib/core/store/config/config.reducer.mjs +1 -5
  8. package/esm2022/lib/core/store/config/config.selectors.mjs +1 -3
  9. package/esm2022/lib/core/store/search/search.service.mjs +2 -2
  10. package/esm2022/lib/dashboard/components/manifests/manifests.component.mjs +3 -6
  11. package/esm2022/lib/dashboard/dashboard.module.mjs +1 -3
  12. package/esm2022/lib/dashboard/public-api.mjs +1 -2
  13. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -2
  14. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +3 -11
  15. package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -2
  16. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +9 -6
  17. package/esm2022/presentation/components/presentation.component.mjs +50 -17
  18. package/esm2022/presentation/i18n/en.translations.mjs +3 -1
  19. package/esm2022/presentation/i18n/fr.translations.mjs +3 -1
  20. package/esm2022/presentation/style/css.component.mjs +2 -2
  21. package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +29 -7
  22. package/esm2022/restitution/i18n/en.translations.mjs +2 -1
  23. package/esm2022/restitution/i18n/fr.translations.mjs +3 -1
  24. package/esm2022/restitution/style/css.component.mjs +2 -2
  25. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +19 -3
  26. package/esm2022/widgets/widget-map/i18n/en.translations.mjs +5 -2
  27. package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +5 -2
  28. package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
  29. package/fesm2022/provoly-dashboard-dataset.mjs +4 -4
  30. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  31. package/fesm2022/provoly-dashboard-presentation.mjs +67 -27
  32. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  33. package/fesm2022/provoly-dashboard-restitution.mjs +34 -9
  34. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  35. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +28 -6
  36. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  37. package/fesm2022/provoly-dashboard.mjs +177 -226
  38. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  39. package/lib/core/model/manifest.interface.d.ts +0 -1
  40. package/lib/core/store/config/config.actions.d.ts +0 -1
  41. package/lib/core/store/config/config.selectors.d.ts +0 -1
  42. package/lib/dashboard/components/manifests/manifests.component.d.ts +0 -1
  43. package/lib/dashboard/public-api.d.ts +0 -1
  44. package/lib/dashboard/store/dashboard.actions.d.ts +2 -7
  45. package/lib/dashboard/store/dashboard.effects.d.ts +5 -11
  46. package/package.json +7 -7
  47. package/presentation/components/presentation.component.d.ts +9 -7
  48. package/presentation/i18n/en.translations.d.ts +2 -0
  49. package/presentation/i18n/fr.translations.d.ts +2 -0
  50. package/presentation/style/_o-pry-presentation.scss +20 -6
  51. package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +5 -4
  52. package/restitution/i18n/en.translations.d.ts +1 -0
  53. package/restitution/i18n/fr.translations.d.ts +2 -0
  54. package/restitution/style/_o-restitution.scss +14 -0
  55. package/schematics/ng-update/version-0-13/index.spec.js +0 -1
  56. package/schematics/ng-update/version-0-13/index.spec.js.map +1 -1
  57. package/widgets/widget-map/i18n/en.translations.d.ts +3 -0
  58. package/widgets/widget-map/i18n/fr.translations.d.ts +3 -0
  59. package/widgets/widget-map/style/_o-layer-legend.scss +0 -2
  60. package/widgets/widget-map/style/_o-widget-map.scss +8 -0
  61. package/assets/svgs/more_vertical.svg +0 -5
  62. package/esm2022/lib/dashboard/guard/default-view.guard.mjs +0 -41
  63. package/lib/dashboard/guard/default-view.guard.d.ts +0 -14
@@ -21,7 +21,6 @@ export interface ManifestDescription {
21
21
  cover: boolean;
22
22
  creationDate: string;
23
23
  modificationDate: string;
24
- default: boolean;
25
24
  visibility: PryVisibility;
26
25
  owner: boolean;
27
26
  datasource: string[];
@@ -150,7 +150,6 @@ export declare const ConfigActions: {
150
150
  }) => {
151
151
  breakpoint: number;
152
152
  } & import("@ngrx/store/src/models").TypedAction<"[Config] (bus) defining breakpoint">>;
153
- defaultViewGuardUsed: import("@ngrx/store").ActionCreator<"[Config] (bus) default view guard used", () => import("@ngrx/store/src/models").TypedAction<"[Config] (bus) default view guard used">>;
154
153
  saveWidget: import("@ngrx/store").ActionCreator<"[Config] (bus) defining widget", (props: {
155
154
  widget: Widget;
156
155
  }) => {
@@ -44,7 +44,6 @@ export declare const ConfigSelectors: {
44
44
  }>;
45
45
  hasOverlay: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: fromConfig.ConfigState) => boolean>;
46
46
  breakpoint: import("@ngrx/store").MemoizedSelector<object, number, (s1: fromConfig.ConfigState) => number>;
47
- defaultViewGuardUsed: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: fromConfig.ConfigState) => boolean>;
48
47
  catalog: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").Widget[], (s1: fromConfig.ConfigState) => import("@provoly/dashboard").Widget[]>;
49
48
  chartOption: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").ChartOption, (s1: fromConfig.ConfigState) => import("@provoly/dashboard").ChartOption>;
50
49
  maxAttributesInTiles: import("@ngrx/store").MemoizedSelector<object, number, (s1: fromConfig.ConfigState) => number>;
@@ -14,7 +14,6 @@ export declare class ManifestsComponent {
14
14
  download(id: string, name: string): void;
15
15
  handleFileInput(event: Event | null): void;
16
16
  triggerFileInput(): void;
17
- default(id: string, name: string): void;
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<ManifestsComponent, never>;
19
18
  static ɵcmp: i0.ɵɵComponentDeclaration<ManifestsComponent, "pry-manifests", never, {}, {}, never, never, false, never>;
20
19
  }
@@ -15,7 +15,6 @@ export * from './store/dashboard.reducers';
15
15
  export * from './store/wms.service';
16
16
  export * from './store/manifest.service';
17
17
  export * from './store/manifest-utils.class';
18
- export * from './guard/default-view.guard';
19
18
  export * from './resultset-utils';
20
19
  export * from './item-utils';
21
20
  export * from './date-utils';
@@ -276,13 +276,6 @@ export declare const DashboardActions: {
276
276
  }[] | undefined;
277
277
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] save manifest">>;
278
278
  solveCollisions: import("@ngrx/store").ActionCreator<"[Dashboard] solving collisions", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] solving collisions">>;
279
- defaultManifest: import("@ngrx/store").ActionCreator<"[Dashboard] set default manifest", (props: {
280
- id: string;
281
- name: string;
282
- }) => {
283
- id: string;
284
- name: string;
285
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] set default manifest">>;
286
279
  clearManifest: import("@ngrx/store").ActionCreator<"[Dashboard] clear manifest", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] clear manifest">>;
287
280
  followManifestRoute: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) follow manifest route", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) follow manifest route">>;
288
281
  moveWidget: import("@ngrx/store").ActionCreator<"[Dashboard] moving widget", (props: {
@@ -502,7 +495,9 @@ export declare const DashboardActions: {
502
495
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) Triggering aggregates for datasource">>;
503
496
  loadPresentation: import("@ngrx/store").ActionCreator<"[Dashboard] load presentation", (props: {
504
497
  presentation: ManifestDescription;
498
+ viewMode: ViewMode;
505
499
  }) => {
506
500
  presentation: ManifestDescription;
501
+ viewMode: ViewMode;
507
502
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] load presentation">>;
508
503
  };
@@ -10,13 +10,11 @@ import { SearchService } from '../../core/store/search/search.service';
10
10
  import { ToolboxManifestService } from '../../core/toolbox/toolbox-manifest.service';
11
11
  import { BusService } from '../action-bus/service/bus.service';
12
12
  import { DashboardInitService } from './dashboard-init.service';
13
- import { ViewMode } from './dashboard.actions';
14
13
  import { ManifestService } from './manifest.service';
15
14
  import { RefreshService } from './refresh.service';
16
15
  import { PryTitleService } from './title.service';
17
16
  import { WmsService } from './wms.service';
18
17
  import { WidgetFactoryService } from '../components/widgets/widget-instanciator/widget-factory.service';
19
- import { DisplayMode } from '../../core/model/display-options.interface';
20
18
  import * as i0 from "@angular/core";
21
19
  export declare class DashboardEffects {
22
20
  private dashboardInitService;
@@ -45,9 +43,9 @@ export declare class DashboardEffects {
45
43
  presentation?: {
46
44
  current?: import("../../core/model/manifest.interface").ManifestDescription | undefined;
47
45
  initial?: GlobalManifest | undefined;
48
- viewMode?: ViewMode | undefined;
46
+ viewMode?: import("./dashboard.actions").ViewMode | undefined;
49
47
  } | undefined;
50
- display?: import("../../core/model/display-options.interface").DisplayOptions | undefined;
48
+ display?: import("@provoly/dashboard").DisplayOptions | undefined;
51
49
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">> & import("@ngrx/effects").CreateEffectMetadata;
52
50
  leave$: import("rxjs").Observable<{
53
51
  tenants?: string[] | undefined;
@@ -145,9 +143,9 @@ export declare class DashboardEffects {
145
143
  presentation?: {
146
144
  current?: import("../../core/model/manifest.interface").ManifestDescription | undefined;
147
145
  initial?: GlobalManifest | undefined;
148
- viewMode?: ViewMode | undefined;
146
+ viewMode?: import("./dashboard.actions").ViewMode | undefined;
149
147
  } | undefined;
150
- display?: import("../../core/model/display-options.interface").DisplayOptions | undefined;
148
+ display?: import("@provoly/dashboard").DisplayOptions | undefined;
151
149
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">) | ({
152
150
  tenants?: string[] | undefined;
153
151
  manifest: GlobalManifest;
@@ -170,7 +168,6 @@ export declare class DashboardEffects {
170
168
  saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
171
169
  initial: GlobalManifest;
172
170
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">)> & import("@ngrx/effects").CreateEffectMetadata;
173
- defaultManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests">> & import("@ngrx/effects").CreateEffectMetadata;
174
171
  listManifests$: import("rxjs").Observable<{
175
172
  manifests: import("../../core/model/manifest.interface").ManifestDescription[];
176
173
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) received manifests list">> & import("@ngrx/effects").CreateEffectMetadata;
@@ -247,10 +244,7 @@ export declare class DashboardEffects {
247
244
  selectedIds: string[];
248
245
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest">) | ({
249
246
  initial: GlobalManifest;
250
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">) | ({
251
- mode: DisplayMode;
252
- customDisplay?: import("../../core/model/display-options.interface").DisplayOptions | undefined;
253
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">)> & import("@ngrx/effects").CreateEffectMetadata;
247
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">)> & import("@ngrx/effects").CreateEffectMetadata;
254
248
  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);
255
249
  static ɵfac: i0.ɵɵFactoryDeclaration<DashboardEffects, never>;
256
250
  static ɵprov: i0.ɵɵInjectableDeclaration<DashboardEffects>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.19.2",
3
+ "version": "0.19.4",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -85,18 +85,18 @@
85
85
  "esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
86
86
  "default": "./fesm2022/provoly-dashboard-admin.mjs"
87
87
  },
88
- "./import": {
89
- "types": "./import/index.d.ts",
90
- "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
91
- "esm": "./esm2022/import/provoly-dashboard-import.mjs",
92
- "default": "./fesm2022/provoly-dashboard-import.mjs"
93
- },
94
88
  "./dataset": {
95
89
  "types": "./dataset/index.d.ts",
96
90
  "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
97
91
  "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
98
92
  "default": "./fesm2022/provoly-dashboard-dataset.mjs"
99
93
  },
94
+ "./import": {
95
+ "types": "./import/index.d.ts",
96
+ "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
97
+ "esm": "./esm2022/import/provoly-dashboard-import.mjs",
98
+ "default": "./fesm2022/provoly-dashboard-import.mjs"
99
+ },
100
100
  "./notification": {
101
101
  "types": "./notification/index.d.ts",
102
102
  "esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
@@ -1,6 +1,6 @@
1
1
  import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
- import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
3
- import { Router } from '@angular/router';
2
+ import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { Store } from '@ngrx/store';
5
5
  import { DashboardManifest, ManifestDescription, PryTitleService, PryVisibility, PryVisibilityType, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
6
6
  import { BehaviorSubject, Observable } from 'rxjs';
@@ -10,16 +10,16 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
10
10
  protected overlay: Overlay;
11
11
  protected viewContainerRef: ViewContainerRef;
12
12
  protected router: Router;
13
- protected ngZone: NgZone;
14
13
  protected titleService: PryTitleService;
14
+ protected activatedRoute: ActivatedRoute;
15
15
  manifests$: Observable<ManifestDescription[]>;
16
16
  selectedPresentation$: BehaviorSubject<ManifestDescription | null>;
17
17
  presentation?: ManifestDescription;
18
18
  staticManifest$?: Observable<DashboardManifest>;
19
19
  selectedMode: ViewMode;
20
20
  modalOpened: boolean;
21
+ templateModalActions: TemplateRef<any>;
21
22
  template: TemplateRef<any>;
22
- templateModal: TemplateRef<any>;
23
23
  openModal: ElementRef<HTMLButtonElement>;
24
24
  confirm: ElementRef<HTMLButtonElement>;
25
25
  submit: ElementRef<HTMLButtonElement>;
@@ -35,17 +35,19 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
35
35
  ViewMode: typeof ViewMode;
36
36
  search$: BehaviorSubject<string>;
37
37
  filteredPresentations$: Observable<ManifestDescription[]>;
38
- constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, ngZone: NgZone, titleService: PryTitleService);
38
+ listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
39
+ set listOfManifests(manifests: ManifestDescription[] | null);
40
+ constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute);
39
41
  closeRestitution(): void;
40
42
  fetch(presentation: ManifestDescription): void;
41
43
  creation(): void;
42
44
  edit(presentation: ManifestDescription): void;
43
45
  delete(id: string): void;
44
- default(id: string, name: string): void;
46
+ toggleModalActions(presentation?: ManifestDescription | null): void;
45
47
  toggleModal(presentation?: ManifestDescription | null): void;
46
48
  changeVisibility(presentation?: ManifestDescription): void;
47
49
  focusCrossElement(): void;
48
50
  focusValidation(): void;
49
51
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; }, {}, never, never, false, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; }, {}, never, never, false, never>;
51
53
  }
@@ -22,6 +22,8 @@ export declare const enTranslations: {
22
22
  theme: string;
23
23
  };
24
24
  share: string;
25
+ options: string;
26
+ consult: string;
25
27
  view: string;
26
28
  private: string;
27
29
  homeView: string;
@@ -23,6 +23,8 @@ export declare const frTranslations: {
23
23
  theme: string;
24
24
  };
25
25
  share: string;
26
+ options: string;
27
+ consult: string;
26
28
  view: string;
27
29
  private: string;
28
30
  homeView: string;
@@ -72,7 +72,7 @@
72
72
  &__header {
73
73
  position: relative;
74
74
  display: flex;
75
- align-items: center;
75
+ align-items: flex-start;
76
76
  justify-content: center;
77
77
  height: toRem(110);
78
78
 
@@ -81,6 +81,7 @@
81
81
  top: toRem(10);
82
82
  left: toRem(10);
83
83
  }
84
+
84
85
  }
85
86
 
86
87
  &__txt {
@@ -101,11 +102,9 @@
101
102
  }
102
103
 
103
104
  &__footer {
104
- padding: toRem(10) toRem(15) toRem(10) toRem(15);
105
-
106
- .m-actions-list {
107
- justify-content: space-evenly;
108
- }
105
+ display: flex;
106
+ align-content: center;
107
+ justify-content: center;
109
108
  }
110
109
  }
111
110
  }
@@ -183,6 +182,15 @@ h1.a-presentation-title {
183
182
  padding-bottom: 0;
184
183
  }
185
184
  }
185
+ .actions-list {
186
+ display: flex;
187
+ align-items: center;
188
+ gap: 0.9375rem;
189
+ flex-direction: row;
190
+ flex-wrap: nowrap;
191
+ justify-content: space-evenly;
192
+ list-style-type: none;
193
+ }
186
194
 
187
195
  .info-icon {
188
196
  position: relative;
@@ -197,3 +205,9 @@ h1.a-presentation-title {
197
205
  margin-right: 1rem;
198
206
  border: 1px solid #3E546A;
199
207
  }
208
+
209
+ .more-actions {
210
+ position: absolute;
211
+ top: toRem(6);
212
+ right: toRem(10);
213
+ }
@@ -1,5 +1,5 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
- import { ViewContainerRef } from '@angular/core';
1
+ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
2
+ import { TemplateRef, ViewContainerRef } from '@angular/core';
3
3
  import { Store } from '@ngrx/store';
4
4
  import { PryVisibilityType, ViewMode, Widget } from '@provoly/dashboard';
5
5
  import { BehaviorSubject, Observable } from 'rxjs';
@@ -11,19 +11,20 @@ export declare class PryRestitutionCatalogComponent {
11
11
  restitutions$: Observable<Widget[]>;
12
12
  search$: BehaviorSubject<string>;
13
13
  filteredRestitution$: Observable<Widget[]>;
14
- selectedItem?: Element | null;
15
14
  mode: typeof ViewMode;
16
15
  selectedMode: ViewMode;
17
16
  selectedRestitution: Widget | null;
18
17
  restitution?: Widget;
19
18
  PryVisibilityType: typeof PryVisibilityType;
19
+ overlayRef?: OverlayRef;
20
+ templateActions: TemplateRef<any>;
20
21
  constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef);
21
22
  selectMode(newMode: ViewMode): void;
22
23
  selectRestitution(restitution: Widget): void;
23
24
  closeRestitution($event: void): void;
24
25
  deleteRestitution(id: string): void;
25
26
  editRestitution(restitution: Widget): void;
26
- focusElement(element: HTMLButtonElement): void;
27
+ toggleModalActions(restitution?: Widget): void;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionCatalogComponent, never>;
28
29
  static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionCatalogComponent, "pry-restitution-catalog", never, {}, {}, never, never, false, never>;
29
30
  }
@@ -23,6 +23,7 @@ export declare const enTranslations: {
23
23
  consult_title: string;
24
24
  search: string;
25
25
  backToCatalog: string;
26
+ options: string;
26
27
  consult: string;
27
28
  catalog: string;
28
29
  add_icon: string;
@@ -9,6 +9,8 @@ export declare const frTranslations: {
9
9
  close: string;
10
10
  validate: string;
11
11
  broadcast: string;
12
+ more: string;
13
+ options: string;
12
14
  view: string;
13
15
  create: string;
14
16
  cancel: string;
@@ -26,3 +26,17 @@
26
26
  border-radius: 10%;
27
27
  }
28
28
  }
29
+ .actions-list {
30
+ display: flex;
31
+ align-items: center;
32
+ gap: 0.9375rem;
33
+ flex-direction: row;
34
+ flex-wrap: nowrap;
35
+ justify-content: space-evenly;
36
+ list-style-type: none;
37
+ }
38
+ .more-actions {
39
+ position: absolute;
40
+ top: toRem(6);
41
+ right: toRem(10);
42
+ }
@@ -27,7 +27,6 @@ describe(schematicName, () => {
27
27
  /* In a real app, do not make routes like these ones */
28
28
  {
29
29
  path: '',
30
- canActivate: [DefaultViewGuard],
31
30
  component: DashboardContainerComponent,
32
31
  data: {}
33
32
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-13/index.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2DAAkD;AAClD,gEAAuF;AACvF,gDAAwB;AAExB,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnG,IAAI,IAAkB,CAAC;IAEvB,UAAU,CAAC,GAAS,EAAE;QACpB,IAAI,GAAG,MAAM,MAAM,CAAC,oBAAoB,CACtC,qBAAqB,EACrB,QAAQ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,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC9C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAS,EAAE;QACnD,IAAI,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE;YAChC,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACvD,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;SAC7C;IACH,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../../../../../../projects/provoly/dashboard/schematics/ng-update/version-0-13/index.spec.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,2DAAkD;AAClD,gEAAuF;AACvF,gDAAwB;AAExB,MAAM,aAAa,GAAG,WAAW,CAAC;AAClC,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG,IAAI,6BAAmB,CAAC,YAAY,EAAE,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACnG,IAAI,IAAkB,CAAC;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,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,wBAAwB,CAAC,CAAC;QAC1D,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;QAC9C,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IAC1C,CAAC,CAAA,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAS,EAAE;QACnD,IAAI,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,EAAE;YAChC,MAAM,MAAM,CAAC,YAAY,CAAC,iBAAiB,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACvD,MAAM,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;YACjD,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC;YAC/C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;YAC7C,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACpC,MAAM,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;SAC7C;IACH,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -83,6 +83,9 @@ export declare const enTranslations: {
83
83
  left: string;
84
84
  right: string;
85
85
  };
86
+ open: string;
87
+ zoomIn: string;
88
+ zoomOut: string;
86
89
  };
87
90
  };
88
91
  };
@@ -83,6 +83,9 @@ export declare const frTranslations: {
83
83
  left: string;
84
84
  right: string;
85
85
  };
86
+ open: string;
87
+ zoomIn: string;
88
+ zoomOut: string;
86
89
  };
87
90
  };
88
91
  };
@@ -3,7 +3,6 @@
3
3
  .m-layer-legend {
4
4
  z-index: 2;
5
5
  right: toRem(8);
6
- overflow: hidden;
7
6
 
8
7
  &.ol-control {
9
8
  display: flex;
@@ -51,7 +50,6 @@
51
50
  .m-layer-switcher {
52
51
  z-index: 2;
53
52
  right: toRem(8);
54
- overflow: hidden;
55
53
  display: flex;
56
54
  flex-direction: column;
57
55
  align-items: normal;
@@ -106,6 +106,14 @@
106
106
  left: calc(50% + 10px);
107
107
  }
108
108
  }
109
+
110
+ &[data-tooltip].--absolute {
111
+ position: absolute;
112
+ }
113
+
114
+ &[data-tooltip].--nopos {
115
+ position: unset;
116
+ }
109
117
  }
110
118
 
111
119
  .o-map-slider {
@@ -1,5 +0,0 @@
1
- <svg enable-background="new 0 0 512 512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
2
- <path clip-rule="evenodd"
3
- d="m315.1 452.9c0 32.6-26.5 59.1-59.1 59.1s-59.1-26.5-59.1-59.1 26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1zm0-196.9c0 32.6-26.5 59.1-59.1 59.1s-59.1-26.5-59.1-59.1 26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1zm0-196.9c0 32.6-26.5 59.1-59.1 59.1s-59.1-26.5-59.1-59.1 26.5-59.1 59.1-59.1 59.1 26.5 59.1 59.1z"
4
- fill-rule="evenodd" />
5
- </svg>
@@ -1,41 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { mergeMap, of } from 'rxjs';
3
- import { catchError, debounceTime, map, withLatestFrom } from 'rxjs/operators';
4
- import { ConfigSelectors } from '../../core/store/config/config.selectors';
5
- import { DashboardActions } from '../store/dashboard.actions';
6
- import { DashboardSelectors } from '../store/dashboard.selectors';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "../store/manifest.service";
9
- import * as i2 from "@angular/router";
10
- import * as i3 from "@ngrx/store";
11
- export class DefaultViewGuard {
12
- constructor(manifestService, router, store) {
13
- this.manifestService = manifestService;
14
- this.router = router;
15
- this.store = store;
16
- }
17
- canActivate(route, state) {
18
- return this.store.select(ConfigSelectors.defaultViewGuardUsed).pipe(debounceTime(500), withLatestFrom(this.store.select(DashboardSelectors.rank)), mergeMap(([used, rank]) => used || rank > 0
19
- ? of(true)
20
- : this.manifestService.list().pipe(map((descriptions) => {
21
- const defaultView = descriptions.find((description) => description.default);
22
- if (!!defaultView) {
23
- this.store.dispatch(DashboardActions.loadAndActivateManifest({ id: defaultView.id }));
24
- console.log(`DefaultViewGuard: opening default view ${defaultView.name}.`);
25
- }
26
- else {
27
- console.log('DefaultViewGuard: no default view found.');
28
- }
29
- return true;
30
- }))), catchError((err) => {
31
- console.error('DefaultViewGuard: error guard processing', err);
32
- return of(true);
33
- }));
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DefaultViewGuard, deps: [{ token: i1.ManifestService }, { token: i2.Router }, { token: i3.Store }], target: i0.ɵɵFactoryTarget.Injectable }); }
36
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DefaultViewGuard }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DefaultViewGuard, decorators: [{
39
- type: Injectable
40
- }], ctorParameters: function () { return [{ type: i1.ManifestService }, { type: i2.Router }, { type: i3.Store }]; } });
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC12aWV3Lmd1YXJkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHJvdm9seS9kYXNoYm9hcmQvbGliL2Rhc2hib2FyZC9ndWFyZC9kZWZhdWx0LXZpZXcuZ3VhcmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBR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GRlZmF1bHQgdmlldyBmb3VuZC4nKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICApXG4gICAgICApLFxuICAgICAgY2F0Y2hFcnJvcigoZXJyKSA9PiB7XG4gICAgICAgIGNvbnNvbGUuZXJyb3IoJ0RlZmF1bHRWaWV3R3VhcmQ6IGVycm9yIGd1YXJkIHByb2Nlc3NpbmcnLCBlcnIpO1xuICAgICAgICByZXR1cm4gb2YodHJ1ZSk7XG4gICAgICB9KVxuICAgICk7XG4gIH1cbn1cbiJdfQ==
@@ -1,14 +0,0 @@
1
- import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2
- import { Store } from '@ngrx/store';
3
- import { Observable } from 'rxjs';
4
- import { ManifestService } from '../store/manifest.service';
5
- import * as i0 from "@angular/core";
6
- export declare class DefaultViewGuard implements CanActivate {
7
- private manifestService;
8
- private router;
9
- private store;
10
- constructor(manifestService: ManifestService, router: Router, store: Store);
11
- canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable<boolean | UrlTree> | Promise<boolean | UrlTree> | boolean | UrlTree;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<DefaultViewGuard, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<DefaultViewGuard>;
14
- }