@provoly/dashboard 0.14.9 → 0.14.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 (100) hide show
  1. package/admin/components/admin-layout/admin-layout.component.d.ts +5 -3
  2. package/assets/svgs/map.svg +1 -1
  3. package/components/metadata-editor/metadata-editor.component.d.ts +1 -3
  4. package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +1 -1
  5. package/esm2022/admin/components/admin-layout/admin-layout.component.mjs +10 -7
  6. package/esm2022/admin/components/admin-user/admin-user-select/admin-user-select.component.mjs +1 -1
  7. package/esm2022/admin/i18n/en.translations.mjs +2 -2
  8. package/esm2022/admin/i18n/fr.translations.mjs +5 -5
  9. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +8 -29
  10. package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +2 -2
  11. package/esm2022/lib/core/components/about/about.component.mjs +29 -0
  12. package/esm2022/lib/core/components/about/pry-about.module.mjs +21 -0
  13. package/esm2022/lib/core/components/icon/icon.component.mjs +5 -1
  14. package/esm2022/lib/core/i18n/en.translations.mjs +13 -2
  15. package/esm2022/lib/core/i18n/fr.translations.mjs +13 -2
  16. package/esm2022/lib/core/i18n/i18n.pipe.mjs +4 -3
  17. package/esm2022/lib/core/i18n/i18n.service.mjs +5 -5
  18. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  19. package/esm2022/lib/core/public-api.mjs +3 -1
  20. package/esm2022/lib/core/store/class/class.effects.mjs +1 -1
  21. package/esm2022/lib/core/store/config/config.actions.mjs +5 -2
  22. package/esm2022/lib/core/store/config/config.effects.mjs +4 -1
  23. package/esm2022/lib/core/store/config/config.reducer.mjs +10 -3
  24. package/esm2022/lib/core/store/config/config.selectors.mjs +6 -4
  25. package/esm2022/lib/core/store/config/config.service.mjs +36 -2
  26. package/esm2022/lib/core/store/config/versions.interface.mjs +2 -0
  27. package/esm2022/lib/core/toolbox/toolbox-manifest.service.mjs +15 -1
  28. package/esm2022/lib/core/toolbox/toolbox-menu.service.mjs +3 -17
  29. package/esm2022/lib/dashboard/components/manifests/manifests.component.mjs +3 -1
  30. package/esm2022/lib/dashboard/components/widgets/base-widget.component.mjs +3 -2
  31. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +2 -2
  32. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +12 -4
  33. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +7 -1
  34. package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -3
  35. package/esm2022/notification/store/notification.effects.mjs +3 -3
  36. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +23 -18
  37. package/esm2022/presentation/components/presentation.component.mjs +18 -18
  38. package/esm2022/presentation/style/css.component.mjs +2 -2
  39. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +3 -3
  40. package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +6 -3
  41. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.mjs +6 -3
  42. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +2 -2
  43. package/esm2022/supervision/components/supervision-layout/supervision-layout.component.mjs +2 -2
  44. package/esm2022/supervision/components/supervision.component.mjs +2 -2
  45. package/esm2022/supervision/store/supervision.actions.mjs +1 -1
  46. package/esm2022/supervision/store/supervision.reducer.mjs +3 -2
  47. package/esm2022/supervision/store/supervision.selectors.mjs +2 -2
  48. package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +18 -11
  49. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +20 -6
  50. package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +1 -2
  51. package/esm2022/widgets/widget-map/component/widget-map-layer.service.mjs +2 -2
  52. package/fesm2022/provoly-dashboard-admin.mjs +15 -12
  53. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  54. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +7 -28
  55. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  56. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  57. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  58. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  59. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  60. package/fesm2022/provoly-dashboard-presentation.mjs +41 -37
  61. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  62. package/fesm2022/provoly-dashboard-restitution.mjs +7 -4
  63. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  64. package/fesm2022/provoly-dashboard-supervision.mjs +11 -8
  65. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  66. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +17 -10
  67. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
  68. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +19 -6
  69. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  70. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +1 -1
  71. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  72. package/fesm2022/provoly-dashboard.mjs +184 -56
  73. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  74. package/lib/core/components/about/about.component.d.ts +12 -0
  75. package/lib/core/components/about/pry-about.module.d.ts +10 -0
  76. package/lib/core/i18n/en.translations.d.ts +11 -0
  77. package/lib/core/i18n/fr.translations.d.ts +11 -0
  78. package/lib/core/i18n/i18n.service.d.ts +2 -2
  79. package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
  80. package/lib/core/public-api.d.ts +2 -0
  81. package/lib/core/store/config/config.actions.d.ts +12 -0
  82. package/lib/core/store/config/config.effects.d.ts +6 -0
  83. package/lib/core/store/config/config.reducer.d.ts +2 -0
  84. package/lib/core/store/config/config.selectors.d.ts +1 -0
  85. package/lib/core/store/config/config.service.d.ts +2 -0
  86. package/lib/core/store/config/versions.interface.d.ts +10 -0
  87. package/lib/dashboard/store/dashboard.actions.d.ts +4 -4
  88. package/lib/dashboard/store/manifest.service.d.ts +1 -1
  89. package/package.json +25 -25
  90. package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +4 -3
  91. package/presentation/components/presentation.component.d.ts +2 -2
  92. package/presentation/style/_o-pry-new-presentation.scss +7 -0
  93. package/restitution/components/restitution-list-item/restitution-list-item.component.d.ts +3 -2
  94. package/styles/layout/_o-base-layout.scss +8 -1
  95. package/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.d.ts +1 -1
  96. package/supervision/store/supervision.actions.d.ts +2 -2
  97. package/supervision/store/supervision.reducer.d.ts +1 -1
  98. package/supervision/store/supervision.selectors.d.ts +1 -1
  99. package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +7 -0
  100. package/widgets/widget-aggregated-chart/i18n/fr.translations.d.ts +0 -1
@@ -0,0 +1,12 @@
1
+ import { Store } from '@ngrx/store';
2
+ import { Observable } from 'rxjs';
3
+ import { BackendVersion, FrontendVersion, Versions } from '../../store/config/versions.interface';
4
+ import * as i0 from "@angular/core";
5
+ export declare class PryAboutComponent {
6
+ private store;
7
+ version$: Observable<Versions | null>;
8
+ constructor(store: Store);
9
+ displayVersion(value: BackendVersion | FrontendVersion): string;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<PryAboutComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryAboutComponent, "pry-about", never, {}, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./about.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../icon/icon.module";
5
+ import * as i4 from "../../i18n/i18n.module";
6
+ export declare class PryAboutModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<PryAboutModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PryAboutModule, [typeof i1.PryAboutComponent], [typeof i2.CommonModule, typeof i3.PryIconModule, typeof i4.PryI18nModule], [typeof i1.PryAboutComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<PryAboutModule>;
10
+ }
@@ -1,5 +1,14 @@
1
1
  export declare const enTranslations: {
2
2
  '@pry': {
3
+ about: {
4
+ front: string;
5
+ ref: string;
6
+ data: string;
7
+ replay: string;
8
+ exec: string;
9
+ transfo: string;
10
+ monitor: string;
11
+ };
3
12
  header: {
4
13
  noCurrentPresentation: string;
5
14
  };
@@ -54,6 +63,7 @@ export declare const enTranslations: {
54
63
  saveErrorCode: {
55
64
  FORBIDDEN: string;
56
65
  NAME_ALREADY_USED: string;
66
+ SAVE_METADATA: string;
57
67
  };
58
68
  defaulted: string;
59
69
  undefaulted: string;
@@ -111,6 +121,7 @@ export declare const enTranslations: {
111
121
  radarchart: string;
112
122
  circlechart: string;
113
123
  iframe: string;
124
+ vega: string;
114
125
  graph: string;
115
126
  placeholder: string;
116
127
  sub: {
@@ -1,5 +1,14 @@
1
1
  export declare const frTranslations: {
2
2
  '@pry': {
3
+ about: {
4
+ front: string;
5
+ ref: string;
6
+ data: string;
7
+ replay: string;
8
+ exec: string;
9
+ transfo: string;
10
+ monitor: string;
11
+ };
3
12
  header: {
4
13
  noCurrentPresentation: string;
5
14
  };
@@ -54,6 +63,7 @@ export declare const frTranslations: {
54
63
  saveErrorCode: {
55
64
  FORBIDDEN: string;
56
65
  NAME_ALREADY_USED: string;
66
+ SAVE_METADATA: string;
57
67
  };
58
68
  defaulted: string;
59
69
  undefaulted: string;
@@ -111,6 +121,7 @@ export declare const frTranslations: {
111
121
  radarchart: string;
112
122
  circlechart: string;
113
123
  iframe: string;
124
+ vega: string;
114
125
  graph: string;
115
126
  placeholder: string;
116
127
  sub: {
@@ -26,10 +26,10 @@ export declare class PryI18nService {
26
26
  }): any;
27
27
  instant(key: string, params?: {
28
28
  [key: string]: any;
29
- }): string;
29
+ }, warn?: boolean): string;
30
30
  get(key: string, params?: {
31
31
  [key: string]: any;
32
- }): Observable<string>;
32
+ }, warn?: boolean): Observable<string>;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<PryI18nService, never>;
34
34
  static ɵprov: i0.ɵɵInjectableDeclaration<PryI18nService>;
35
35
  }
@@ -64,6 +64,7 @@ export interface MapWMSLayerLayerOptions extends BaseWidgetMapLayerOptions {
64
64
  paramTiled: boolean;
65
65
  oClass: string;
66
66
  getFeatureInfoAdditionalParameters?: any;
67
+ additionalParameters?: any;
67
68
  }
68
69
  export interface MapWMTSLayerLayerOptions extends BaseWidgetMapLayerOptions {
69
70
  type: 'wmts';
@@ -94,6 +95,7 @@ export interface MapGeoServerLayerOptions extends BaseWidgetMapLayerOptions {
94
95
  datasourceId: string;
95
96
  namespace: string;
96
97
  name: string;
98
+ additionalParameters?: any;
97
99
  }
98
100
  export interface MapAutoLayerOptions extends BaseWidgetMapLayerOptions {
99
101
  type: 'auto';
@@ -114,3 +114,5 @@ export * from './i18n/fr.translations';
114
114
  export * from './i18n/en.translations';
115
115
  export * from './i18n/deep-merge.function';
116
116
  export * from './errors/http-error-interceptor.service';
117
+ export * from './components/about/pry-about.module';
118
+ export * from './components/about/about.component';
@@ -2,6 +2,7 @@ import { TooltipOfClass } from '../../model/tooltip-of-class.interface';
2
2
  import { ChartOption } from '../../model/widget-chart-manifest.interface';
3
3
  import { Widget } from '../../model/widget.interface';
4
4
  import { IconDefinitions } from './icon-definitions.interface';
5
+ import { Versions } from "./versions.interface";
5
6
  export declare const ConfigActions: {
6
7
  defineUrls: import("@ngrx/store").ActionCreator<"[Config] (bus) defining urls", (props: {
7
8
  mapUrl?: string | undefined;
@@ -187,4 +188,15 @@ export declare const ConfigActions: {
187
188
  }) => {
188
189
  max: number;
189
190
  } & import("@ngrx/store/src/models").TypedAction<"[Config] update max attributes in tiles">>;
191
+ loadVersions: import("@ngrx/store").ActionCreator<"[about] Load Versions", () => import("@ngrx/store/src/models").TypedAction<"[about] Load Versions">>;
192
+ loadVersionsSuccess: import("@ngrx/store").ActionCreator<"[about] (bus) Load Versions Success", (props: {
193
+ versions: Versions;
194
+ }) => {
195
+ versions: Versions;
196
+ } & import("@ngrx/store/src/models").TypedAction<"[about] (bus) Load Versions Success">>;
197
+ loadVersionsFailure: import("@ngrx/store").ActionCreator<"[about] Load Versions Failure", (props: {
198
+ error: string;
199
+ }) => {
200
+ error: string;
201
+ } & import("@ngrx/store/src/models").TypedAction<"[about] Load Versions Failure">>;
190
202
  };
@@ -5,6 +5,7 @@ import { PrySnackbarService } from '../../components/snackbar/snackbar.service';
5
5
  import { PryI18nService } from '../../i18n/i18n.service';
6
6
  import { ConfigService } from './config.service';
7
7
  import { OpenMapTilesService } from './open-map-tiles.service';
8
+ import { Versions } from './versions.interface';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class ConfigEffects {
10
11
  private actions$;
@@ -50,6 +51,11 @@ export declare class ConfigEffects {
50
51
  loadChartOption$: import("rxjs").Observable<{
51
52
  chartOption: import("@provoly/dashboard").ChartOption;
52
53
  } & import("@ngrx/store/src/models").TypedAction<"[config] loaded chart option">> & import("@ngrx/effects").CreateEffectMetadata;
54
+ loadVersions$: import("rxjs").Observable<({
55
+ versions: Versions;
56
+ } & import("@ngrx/store/src/models").TypedAction<"[about] (bus) Load Versions Success">) | ({
57
+ error: string;
58
+ } & import("@ngrx/store/src/models").TypedAction<"[about] Load Versions Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
53
59
  constructor(actions$: Actions, openMapTilesService: OpenMapTilesService, store: Store, configService: ConfigService, snackBar: PrySnackbarService, translateService: PryI18nService, pryDialog: PryDialogService);
54
60
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigEffects, never>;
55
61
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigEffects>;
@@ -2,6 +2,7 @@ import { TooltipOfClass } from '../../model/tooltip-of-class.interface';
2
2
  import { ChartOption } from '../../model/widget-chart-manifest.interface';
3
3
  import { Widget } from '../../model/widget.interface';
4
4
  import { IconDefinitions } from './icon-definitions.interface';
5
+ import { Versions } from './versions.interface';
5
6
  export declare const configFeatureKey = "@pry/config";
6
7
  export interface ConfigState {
7
8
  pryUrl: string;
@@ -32,6 +33,7 @@ export interface ConfigState {
32
33
  catalog: Widget[];
33
34
  chartOption: ChartOption;
34
35
  maxAttributesInTiles: number;
36
+ versions: Versions | null;
35
37
  }
36
38
  export declare const initialConfigState: ConfigState;
37
39
  export declare const configReducer: import("@ngrx/store").ActionReducer<ConfigState, import("@ngrx/store").Action>;
@@ -49,4 +49,5 @@ export declare const ConfigSelectors: {
49
49
  chartOption: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").ChartOption, (s1: fromConfig.ConfigState) => import("@provoly/dashboard").ChartOption>;
50
50
  maxAttributesInTiles: import("@ngrx/store").MemoizedSelector<object, number, (s1: fromConfig.ConfigState) => number>;
51
51
  execUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
52
+ selectVersions: import("@ngrx/store").MemoizedSelector<object, import("./versions.interface").Versions | null, (s1: fromConfig.ConfigState) => import("./versions.interface").Versions | null>;
52
53
  };
@@ -4,6 +4,7 @@ import { Observable } from 'rxjs';
4
4
  import { PrySnackbarService } from '../../components/snackbar/snackbar.service';
5
5
  import { PryI18nService } from '../../i18n/i18n.service';
6
6
  import { Widget } from '../../model/widget.interface';
7
+ import { Versions } from './versions.interface';
7
8
  import * as i0 from "@angular/core";
8
9
  export interface ParamContent {
9
10
  domain: string;
@@ -46,6 +47,7 @@ export declare class ConfigService {
46
47
  * Get a list of all widgets from catalog
47
48
  */
48
49
  getAllWidgets(): Observable<Widget[]>;
50
+ getAllVersions(): Observable<Versions>;
49
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
50
52
  static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
51
53
  }
@@ -0,0 +1,10 @@
1
+ export interface Versions {
2
+ [key: string]: BackendVersion | FrontendVersion;
3
+ }
4
+ export interface BackendVersion {
5
+ chartVersion: string;
6
+ applicationVersion: string;
7
+ }
8
+ export interface FrontendVersion {
9
+ libVersion: string;
10
+ }
@@ -253,7 +253,7 @@ export declare const DashboardActions: {
253
253
  saveManifest: import("@ngrx/store").ActionCreator<"[Dashboard] save manifest", (props: {
254
254
  name: string;
255
255
  manifest?: GlobalManifest | undefined;
256
- id?: string | undefined;
256
+ id: string;
257
257
  description?: string | undefined;
258
258
  image?: string | undefined;
259
259
  visibility?: PryVisibility | undefined;
@@ -261,7 +261,7 @@ export declare const DashboardActions: {
261
261
  }) => {
262
262
  name: string;
263
263
  manifest?: GlobalManifest | undefined;
264
- id?: string | undefined;
264
+ id: string;
265
265
  description?: string | undefined;
266
266
  image?: string | undefined;
267
267
  visibility?: PryVisibility | undefined;
@@ -478,11 +478,11 @@ export declare const DashboardActions: {
478
478
  metadataId: string;
479
479
  value: string;
480
480
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Add manifest metadata">>;
481
- deleteManifestMetadata: import("@ngrx/store").ActionCreator<"[Dashboard] Add manifest metadata", (props: {
481
+ deleteManifestMetadata: import("@ngrx/store").ActionCreator<"[Dashboard] Delete manifest metadata", (props: {
482
482
  presentationId: string;
483
483
  metadataId: string;
484
484
  }) => {
485
485
  presentationId: string;
486
486
  metadataId: string;
487
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Add manifest metadata">>;
487
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Delete manifest metadata">>;
488
488
  };
@@ -14,7 +14,7 @@ export declare class ManifestService {
14
14
  constructor(httpClient: HttpClient, store: Store<any>, snackBar: PrySnackbarService, translateService: PryI18nService);
15
15
  list(): Observable<ManifestDescription[]>;
16
16
  get(id: string): Observable<GlobalManifest>;
17
- save(name: string, manifest: GlobalManifest, visibility: PryVisibility, id?: string, description?: string, image?: string, cover?: boolean): Observable<{
17
+ save(name: string, manifest: GlobalManifest, visibility: PryVisibility, id: string, description?: string, image?: string, cover?: boolean): Observable<{
18
18
  id: string;
19
19
  name: string;
20
20
  manifest: GlobalManifest;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.14.9",
3
+ "version": "0.14.11",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "14.x || 15.x || 16.x",
@@ -140,6 +140,30 @@
140
140
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
141
141
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
142
142
  },
143
+ "./filters/date": {
144
+ "types": "./filters/date/index.d.ts",
145
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
146
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
147
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
148
+ },
149
+ "./filters/list": {
150
+ "types": "./filters/list/index.d.ts",
151
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
152
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
153
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
154
+ },
155
+ "./filters/number": {
156
+ "types": "./filters/number/index.d.ts",
157
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
158
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
159
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
160
+ },
161
+ "./filters/text": {
162
+ "types": "./filters/text/index.d.ts",
163
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
164
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
165
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
166
+ },
143
167
  "./components/card": {
144
168
  "types": "./components/card/index.d.ts",
145
169
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -182,30 +206,6 @@
182
206
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
183
207
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
184
208
  },
185
- "./filters/date": {
186
- "types": "./filters/date/index.d.ts",
187
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
188
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
189
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
190
- },
191
- "./filters/list": {
192
- "types": "./filters/list/index.d.ts",
193
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
194
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
195
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
196
- },
197
- "./filters/number": {
198
- "types": "./filters/number/index.d.ts",
199
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
200
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
201
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
202
- },
203
- "./filters/text": {
204
- "types": "./filters/text/index.d.ts",
205
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
206
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
207
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
208
- },
209
209
  "./pipeline-components/filter": {
210
210
  "types": "./pipeline-components/filter/index.d.ts",
211
211
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
@@ -3,14 +3,14 @@ import { FormGroup } from '@angular/forms';
3
3
  import { Router } from '@angular/router';
4
4
  import { Store } from '@ngrx/store';
5
5
  import { GlobalManifest, LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
6
- import { Observable } from 'rxjs';
6
+ import { BehaviorSubject, Observable } from 'rxjs';
7
7
  import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class PryAddEditPresentationComponent extends SubscriptionnerDirective implements OnInit, AfterViewInit {
10
10
  private store;
11
11
  protected router: Router;
12
12
  staticManifest$: Observable<GlobalManifest>;
13
- selectedPresentation: ManifestDescription;
13
+ selectedPresentation$: BehaviorSubject<ManifestDescription | null>;
14
14
  edition: boolean;
15
15
  editionStartUrl: string;
16
16
  form: FormGroup;
@@ -18,6 +18,7 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
18
18
  goBack: EventEmitter<void>;
19
19
  type: LibraryTypes;
20
20
  chosenLayout?: string;
21
+ set selectedPresentation(presentation: ManifestDescription | null);
21
22
  constructor(store: Store, router: Router);
22
23
  ngOnInit(): void;
23
24
  ngAfterViewInit(): void;
@@ -27,5 +28,5 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
27
28
  removeMetadata(metadata: MetaEventType): void;
28
29
  close(): void;
29
30
  static ɵfac: i0.ɵɵFactoryDeclaration<PryAddEditPresentationComponent, [null, { optional: true; }]>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; "edition": { "alias": "edition"; "required": false; }; "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; }, { "goBack": "goBack"; }, never, never, false, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "edition": { "alias": "edition"; "required": false; }; "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; }, { "goBack": "goBack"; }, never, never, false, never>;
31
32
  }
@@ -12,7 +12,7 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
12
12
  protected router: Router;
13
13
  protected ngZone: NgZone;
14
14
  manifests$: Observable<ManifestDescription[]>;
15
- selectedPresentation: ManifestDescription | null;
15
+ selectedPresentation$: BehaviorSubject<ManifestDescription | null>;
16
16
  presentation?: ManifestDescription;
17
17
  staticManifest$?: Observable<DashboardManifest>;
18
18
  selectedMode: ViewMode;
@@ -42,7 +42,7 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
42
42
  delete(id: string): void;
43
43
  default(id: string, name: string): void;
44
44
  toggleModal(presentation?: ManifestDescription | null): void;
45
- changeVisibility(): void;
45
+ changeVisibility(presentation?: ManifestDescription): void;
46
46
  focusCrossElement(): void;
47
47
  focusValidation(): void;
48
48
  static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
@@ -42,6 +42,13 @@ pry-add-edit-presentation {
42
42
 
43
43
  .o-presentation__metadata-editor {
44
44
  flex: 1 50%;
45
+
46
+ pry-metadata-editor {
47
+ ng-select {
48
+ position: relative;
49
+ width: 100%;
50
+ }
51
+ }
45
52
  }
46
53
 
47
54
  .o-presentation-form {
@@ -1,12 +1,13 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { Store } from '@ngrx/store';
2
3
  import { CatalogEntry, PryVisibilityType, SubscriptionnerDirective, ToolboxManifestService, Widget } from '@provoly/dashboard';
3
4
  import { Observable } from 'rxjs';
4
- import { Store } from '@ngrx/store';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class PryRestitutionListItemComponent extends SubscriptionnerDirective {
7
7
  private store;
8
8
  private toolboxManifestService;
9
9
  widget: CatalogEntry;
10
+ translate: boolean;
10
11
  selectRestitution: EventEmitter<Widget>;
11
12
  catalog: Widget[] | undefined;
12
13
  automaticGridMode$: Observable<boolean>;
@@ -17,5 +18,5 @@ export declare class PryRestitutionListItemComponent extends SubscriptionnerDire
17
18
  emitSelectedRestitution(catalogEntry: CatalogEntry): void;
18
19
  viewInDashboard(widget: CatalogEntry): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<PryRestitutionListItemComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListItemComponent, "pry-catalog-item", never, { "widget": { "alias": "widget"; "required": false; }; }, { "selectRestitution": "selectRestitution"; }, never, never, false, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<PryRestitutionListItemComponent, "pry-catalog-item", never, { "widget": { "alias": "widget"; "required": false; }; "translate": { "alias": "translate"; "required": false; }; }, { "selectRestitution": "selectRestitution"; }, never, never, false, never>;
21
22
  }
@@ -86,7 +86,7 @@
86
86
  .o-base-layout__panel {
87
87
  position: relative;
88
88
  overflow: auto;
89
- width: 0%;
89
+ width: 0;
90
90
  height: 100%;
91
91
 
92
92
  &__content {
@@ -108,6 +108,13 @@
108
108
  .o-base-layout__panel__content {
109
109
  display: block;
110
110
  }
111
+
112
+ &.-model {
113
+ width: 30rem;
114
+ .o-base-layout__panel__content {
115
+ width: 30rem;
116
+ }
117
+ }
111
118
  }
112
119
  }
113
120
  }
@@ -4,7 +4,7 @@ import { IntegrationError } from '../../../store/supervision-api.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SupervisionIntegrationErrorsSelectComponent {
6
6
  private store;
7
- currentIntegrationError$: Observable<IntegrationError | null | undefined>;
7
+ currentIntegrationError$: Observable<IntegrationError | undefined>;
8
8
  constructor(store: Store<any>);
9
9
  closePanel(): void;
10
10
  static ɵfac: i0.ɵɵFactoryDeclaration<SupervisionIntegrationErrorsSelectComponent, never>;
@@ -86,10 +86,10 @@ export declare const SupervisionActions: {
86
86
  error: any;
87
87
  } & import("@ngrx/store/src/models").TypedAction<"[Supervision/Errors Api] Load Integration Errors Failure">>;
88
88
  toggleErrorDetails: import("@ngrx/store").ActionCreator<"[Supervision/Errors] Toggle Side Panel With Error Details Of Chosen Class", (props: {
89
- error: IntegrationError | null;
89
+ error?: IntegrationError | undefined;
90
90
  errorDetailsOpen: boolean;
91
91
  }) => {
92
- error: IntegrationError | null;
92
+ error?: IntegrationError | undefined;
93
93
  errorDetailsOpen: boolean;
94
94
  } & import("@ngrx/store/src/models").TypedAction<"[Supervision/Errors] Toggle Side Panel With Error Details Of Chosen Class">>;
95
95
  toggleClassSelection: import("@ngrx/store").ActionCreator<"[Supervision/Errors] Select/Unselect Class for submission (Reload/Acknowledge)", (props: {
@@ -12,7 +12,7 @@ export interface SupervisionState {
12
12
  inputFlows: InputFlow[];
13
13
  businessDatas: BusinessData[];
14
14
  integrationErrors: IntegrationError[];
15
- currentIntegrationError?: IntegrationError | null;
15
+ currentIntegrationError?: IntegrationError;
16
16
  errorDetailsOpen: boolean;
17
17
  selectedClasses: string[];
18
18
  refreshInterval: number;
@@ -10,7 +10,7 @@ export declare const SupervisionSelectors: {
10
10
  lastInfraScale: import("@ngrx/store").MemoizedSelector<object, import("./supervision-api.model").LastInfrastructureScale | undefined, (s1: fromSupervision.SupervisionState) => import("./supervision-api.model").LastInfrastructureScale | undefined>;
11
11
  inputFlows: import("@ngrx/store").MemoizedSelector<object, import("./supervision-api.model").InputFlow[], (s1: fromSupervision.SupervisionState) => import("./supervision-api.model").InputFlow[]>;
12
12
  integrationErrors: import("@ngrx/store").MemoizedSelector<object, import("./supervision-api.model").IntegrationError[], (s1: fromSupervision.SupervisionState) => import("./supervision-api.model").IntegrationError[]>;
13
- currentIntegrationError: import("@ngrx/store").MemoizedSelector<object, import("./supervision-api.model").IntegrationError | null | undefined, (s1: fromSupervision.SupervisionState) => import("./supervision-api.model").IntegrationError | null | undefined>;
13
+ currentIntegrationError: import("@ngrx/store").MemoizedSelector<object, import("./supervision-api.model").IntegrationError | undefined, (s1: fromSupervision.SupervisionState) => import("./supervision-api.model").IntegrationError | undefined>;
14
14
  errorDetailsOpen: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: fromSupervision.SupervisionState) => boolean>;
15
15
  selectedClasses: import("@ngrx/store").MemoizedSelector<object, string[], (s1: fromSupervision.SupervisionState) => string[]>;
16
16
  refreshInterval: import("@ngrx/store").MemoizedSelector<object, number, (s1: fromSupervision.SupervisionState) => number>;
@@ -26,10 +26,17 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
26
26
  ordinate: {
27
27
  vegaType: VegaType;
28
28
  fieldType: any;
29
+ name: string;
29
30
  };
30
31
  abscissa: {
31
32
  vegaType: VegaType;
32
33
  fieldType: any;
34
+ name: string;
35
+ };
36
+ groupBy: {
37
+ vegaType?: VegaType;
38
+ fieldType?: any;
39
+ name: string;
33
40
  };
34
41
  }>;
35
42
  aggregatedValues$: Observable<{
@@ -33,7 +33,6 @@ export declare const frTranslations: {
33
33
  title: string;
34
34
  };
35
35
  chooseParameters: string;
36
- series: string;
37
36
  type: string;
38
37
  title: string;
39
38
  graphType: {