@provoly/dashboard 1.3.31 → 1.3.33

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 (25) hide show
  1. package/esm2022/lib/dashboard/item-utils.mjs +2 -2
  2. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
  3. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +4 -5
  4. package/esm2022/lib/dashboard/store/wms.service.mjs +13 -11
  5. package/esm2022/presentation/components/presentation.component.mjs +10 -4
  6. package/esm2022/presentation/style/css.component.mjs +2 -2
  7. package/esm2022/restitution/style/css.component.mjs +2 -2
  8. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +21 -14
  9. package/esm2022/widgets/widget-map/interaction/tooltip-manager.class.mjs +2 -3
  10. package/fesm2022/provoly-dashboard-presentation.mjs +11 -5
  11. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  12. package/fesm2022/provoly-dashboard-restitution.mjs +2 -2
  13. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  14. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +20 -13
  15. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  16. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +1 -2
  17. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  18. package/fesm2022/provoly-dashboard.mjs +16 -15
  19. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  20. package/lib/dashboard/store/dashboard.actions.d.ts +0 -2
  21. package/lib/dashboard/store/wms.service.d.ts +1 -1
  22. package/package.json +7 -7
  23. package/presentation/components/presentation.component.d.ts +8 -3
  24. package/presentation/style/_o-pry-presentation.scss +8 -0
  25. package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +0 -5
@@ -466,13 +466,11 @@ export declare const DashboardActions: {
466
466
  oClass: string;
467
467
  coordinates: number[];
468
468
  componentId: string;
469
- geomProName: string;
470
469
  }) => {
471
470
  url: string;
472
471
  oClass: string;
473
472
  coordinates: number[];
474
473
  componentId: string;
475
- geomProName: string;
476
474
  } & import("@ngrx/store/src/models").TypedAction<"[Widget map] Get wfs Features for showing stack tooltips">>;
477
475
  updateDisplayOptions: import("@ngrx/store").ActionCreator<"[Dashboard/Display] (bus) Update displayed dashboard management features", (props: {
478
476
  mode: ViewMode;
@@ -13,7 +13,7 @@ export declare class WmsService {
13
13
  getWmsFeatures(url: string): Observable<{
14
14
  features: any[];
15
15
  }>;
16
- getWfsFeatures(wmsUrl: string, bbox: number[], geomPropName: string): Observable<{
16
+ getWfsFeatures(wmsUrl: string, bbox: number[]): Observable<{
17
17
  features: any[];
18
18
  }>;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<WmsService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.3.31",
3
+ "version": "1.3.33",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -336,18 +336,18 @@
336
336
  "esm": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
337
337
  "default": "./fesm2022/provoly-dashboard-widgets-widget-table.mjs"
338
338
  },
339
- "./widgets/widget-tile": {
340
- "types": "./widgets/widget-tile/index.d.ts",
341
- "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
342
- "esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
343
- "default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
344
- },
345
339
  "./widgets/widget-template": {
346
340
  "types": "./widgets/widget-template/index.d.ts",
347
341
  "esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
348
342
  "esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
349
343
  "default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
350
344
  },
345
+ "./widgets/widget-tile": {
346
+ "types": "./widgets/widget-tile/index.d.ts",
347
+ "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
348
+ "esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
349
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
350
+ },
351
351
  "./widgets/widget-vega": {
352
352
  "types": "./widgets/widget-vega/index.d.ts",
353
353
  "esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
@@ -5,6 +5,9 @@ import { Store } from '@ngrx/store';
5
5
  import { ManifestDescription, PryBaseAccess, PryDialogService, PryTitleService, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
6
6
  import { BehaviorSubject, Observable } from 'rxjs';
7
7
  import * as i0 from "@angular/core";
8
+ interface ManifestDescriptionWithTheme extends ManifestDescription {
9
+ theme: string | undefined;
10
+ }
8
11
  export declare class PryPresentationComponent extends SubscriptionnerDirective {
9
12
  protected store: Store<any>;
10
13
  protected overlay: Overlay;
@@ -15,9 +18,9 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
15
18
  protected ngZone: NgZone;
16
19
  private access;
17
20
  private dialog;
18
- manifests$: Observable<ManifestDescription[]>;
21
+ manifests$: Observable<ManifestDescriptionWithTheme[]>;
19
22
  search$: BehaviorSubject<string>;
20
- filteredPresentations$: Observable<ManifestDescription[]>;
23
+ filteredPresentations$: Observable<ManifestDescriptionWithTheme[]>;
21
24
  selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
22
25
  selectedMode: ViewMode;
23
26
  ViewMode: typeof ViewMode;
@@ -30,6 +33,7 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
30
33
  themePrefix: string | null;
31
34
  mode: 'theme' | 'meta';
32
35
  hideToolbox: boolean;
36
+ showTheme: boolean;
33
37
  listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
34
38
  set listOfManifests(manifests: ManifestDescription[] | null);
35
39
  inputSearch$: BehaviorSubject<string>;
@@ -46,5 +50,6 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
46
50
  isPrivate(presentation: ManifestDescription): boolean;
47
51
  canModify$(presentation: ManifestDescription): Observable<boolean>;
48
52
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, [null, null, null, null, null, null, null, { optional: true; }, null]>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "showTheme": { "alias": "showTheme"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
50
54
  }
55
+ export {};
@@ -119,6 +119,14 @@
119
119
  margin-bottom: 0;
120
120
  }
121
121
  }
122
+
123
+ .a-chip {
124
+ &.-theme {
125
+ &.-u-hidden {
126
+ display: none;
127
+ }
128
+ }
129
+ }
122
130
  }
123
131
 
124
132
  &__title-container {
@@ -129,11 +129,6 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
129
129
  toImage(): Promise<string>;
130
130
  changeCircleColorScheme($event: any): void;
131
131
  changeBaseColor($event: any): void;
132
- getTimeUnit(options: ChartAggregatedWidgetOptions, abscissaType: VegaType): {
133
- timeUnit: string;
134
- } | {
135
- timeUnit?: undefined;
136
- };
137
132
  getLabelAngle(abscissaType: VegaType, data: {
138
133
  key: string | number;
139
134
  value: any;