@provoly/dashboard 0.14.8 → 0.14.10

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 (196) hide show
  1. package/admin/components/admin-layout/admin-layout.component.d.ts +5 -3
  2. package/admin/components/admin-metadata-user/admin-metadata-user.component.d.ts +1 -1
  3. package/admin/components/admin-metadata-user/store/admin-metadata-user.action.d.ts +0 -11
  4. package/admin/components/admin-metadata-user/store/admin-metadata-user.effects.d.ts +2 -7
  5. package/admin/components/admin-metadata-user/store/admin-metadata-user.reducer.d.ts +1 -3
  6. package/admin/components/admin-metadata-user/store/admin-metadata-user.selector.d.ts +1 -4
  7. package/admin/components/admin-user/store/admin-user.action.d.ts +1 -52
  8. package/admin/components/admin-user/store/admin-user.effects.d.ts +0 -28
  9. package/admin/components/admin-user/store/admin-user.reducer.d.ts +1 -2
  10. package/admin/components/admin-user/store/admin-user.selector.d.ts +0 -1
  11. package/admin/store/admin.service.d.ts +1 -4
  12. package/assets/svgs/map.svg +1 -1
  13. package/components/metadata-editor/metadata-editor.component.d.ts +6 -6
  14. package/components/metadata-editor/metadata-editor.module.d.ts +7 -6
  15. package/components/metadata-editor/public-api.d.ts +1 -0
  16. package/components/metadata-editor/store/metadata.action.d.ts +63 -1
  17. package/components/metadata-editor/store/metadata.effects.d.ts +33 -0
  18. package/components/metadata-editor/store/metadata.reducer.d.ts +3 -1
  19. package/components/metadata-editor/store/metadata.selector.d.ts +2 -0
  20. package/components/metadata-editor/store/metadata.service.d.ts +5 -1
  21. package/components/metadata-editor/style/_o-metadata-editor.scss +15 -0
  22. package/components/metadata-editor/style/css.component.d.ts +5 -0
  23. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-edit/admin-abac-rules-edit.component.mjs +2 -3
  24. package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-new/admin-abac-rules-new.component.mjs +2 -3
  25. package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +2 -3
  26. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-edit/admin-attributes-edit.component.mjs +1 -1
  27. package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +4 -4
  28. package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +3 -3
  29. package/esm2022/admin/components/admin-layout/admin-layout.component.mjs +10 -7
  30. package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +2 -3
  31. package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +3 -5
  32. package/esm2022/admin/components/admin-metadata-user/admin-metadata-user.component.mjs +9 -10
  33. package/esm2022/admin/components/admin-metadata-user/admin-user-edit-metadata/admin-user-edit-metadata.component.mjs +4 -4
  34. package/esm2022/admin/components/admin-metadata-user/admin-user-select-metadata/admin-user-select-metadata.component.mjs +7 -3
  35. package/esm2022/admin/components/admin-metadata-user/store/admin-metadata-user.action.mjs +1 -4
  36. package/esm2022/admin/components/admin-metadata-user/store/admin-metadata-user.effects.mjs +4 -4
  37. package/esm2022/admin/components/admin-metadata-user/store/admin-metadata-user.reducer.mjs +8 -28
  38. package/esm2022/admin/components/admin-metadata-user/store/admin-metadata-user.selector.mjs +2 -6
  39. package/esm2022/admin/components/admin-user/admin-user-select/admin-user-select.component.mjs +9 -10
  40. package/esm2022/admin/components/admin-user/admin-user.component.mjs +1 -1
  41. package/esm2022/admin/components/admin-user/store/admin-user.action.mjs +2 -11
  42. package/esm2022/admin/components/admin-user/store/admin-user.effects.mjs +1 -19
  43. package/esm2022/admin/components/admin-user/store/admin-user.reducer.mjs +2 -7
  44. package/esm2022/admin/components/admin-user/store/admin-user.selector.mjs +1 -3
  45. package/esm2022/admin/i18n/en.translations.mjs +2 -2
  46. package/esm2022/admin/i18n/fr.translations.mjs +4 -4
  47. package/esm2022/admin/store/admin.effects.mjs +1 -1
  48. package/esm2022/admin/store/admin.service.mjs +1 -16
  49. package/esm2022/components/metadata-editor/metadata-editor.component.mjs +40 -45
  50. package/esm2022/components/metadata-editor/metadata-editor.module.mjs +5 -4
  51. package/esm2022/components/metadata-editor/public-api.mjs +2 -1
  52. package/esm2022/components/metadata-editor/store/metadata.action.mjs +14 -2
  53. package/esm2022/components/metadata-editor/store/metadata.effects.mjs +21 -1
  54. package/esm2022/components/metadata-editor/store/metadata.reducer.mjs +18 -2
  55. package/esm2022/components/metadata-editor/store/metadata.selector.mjs +6 -2
  56. package/esm2022/components/metadata-editor/store/metadata.service.mjs +21 -1
  57. package/esm2022/components/metadata-editor/style/css.component.mjs +11 -0
  58. package/esm2022/dataset/i18n/fr.translations.mjs +2 -2
  59. package/esm2022/import/i18n/en.translations.mjs +4 -1
  60. package/esm2022/import/i18n/fr.translations.mjs +4 -1
  61. package/esm2022/import/store/import.effects.mjs +8 -1
  62. package/esm2022/lib/core/components/about/about.component.mjs +29 -0
  63. package/esm2022/lib/core/components/about/pry-about.module.mjs +21 -0
  64. package/esm2022/lib/core/components/icon/icon.component.mjs +5 -1
  65. package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +10 -6
  66. package/esm2022/lib/core/components/snackbar/snackbar.service.mjs +1 -1
  67. package/esm2022/lib/core/i18n/en.translations.mjs +14 -3
  68. package/esm2022/lib/core/i18n/fr.translations.mjs +14 -3
  69. package/esm2022/lib/core/i18n/i18n.pipe.mjs +4 -3
  70. package/esm2022/lib/core/i18n/i18n.service.mjs +5 -5
  71. package/esm2022/lib/core/model/display-options.interface.mjs +1 -1
  72. package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
  73. package/esm2022/lib/core/model/public-api.mjs +2 -1
  74. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  75. package/esm2022/lib/core/model/widget-vega-manifest.interface.mjs +2 -0
  76. package/esm2022/lib/core/public-api.mjs +3 -1
  77. package/esm2022/lib/core/store/class/class.effects.mjs +1 -1
  78. package/esm2022/lib/core/store/config/config.actions.mjs +5 -2
  79. package/esm2022/lib/core/store/config/config.effects.mjs +4 -1
  80. package/esm2022/lib/core/store/config/config.reducer.mjs +9 -2
  81. package/esm2022/lib/core/store/config/config.selectors.mjs +6 -4
  82. package/esm2022/lib/core/store/config/config.service.mjs +36 -2
  83. package/esm2022/lib/core/store/config/versions.interface.mjs +2 -0
  84. package/esm2022/lib/core/toolbox/toolbox-menu.service.mjs +1 -16
  85. package/esm2022/lib/dashboard/components/manifests/manifests.component.mjs +3 -1
  86. package/esm2022/lib/dashboard/components/widgets/base-widget.component.mjs +3 -2
  87. package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -3
  88. package/esm2022/lib/dashboard/store/dashboard.effects.mjs +15 -6
  89. package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +10 -2
  90. package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +3 -4
  91. package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -3
  92. package/esm2022/notification/store/notification.effects.mjs +3 -3
  93. package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +23 -18
  94. package/esm2022/presentation/components/presentation.component.mjs +18 -18
  95. package/esm2022/presentation/style/css.component.mjs +2 -2
  96. package/esm2022/restitution/components/restitution-list/restitution-list.component.mjs +3 -3
  97. package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +6 -3
  98. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.mjs +6 -3
  99. package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +2 -2
  100. package/esm2022/supervision/components/supervision-layout/supervision-layout.component.mjs +2 -2
  101. package/esm2022/supervision/components/supervision.component.mjs +2 -2
  102. package/esm2022/supervision/store/supervision.actions.mjs +1 -1
  103. package/esm2022/supervision/store/supervision.reducer.mjs +3 -2
  104. package/esm2022/supervision/store/supervision.selectors.mjs +2 -2
  105. package/esm2022/toolbox/components/save-view/save-view.component.mjs +4 -4
  106. package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +18 -11
  107. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +20 -6
  108. package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +1 -2
  109. package/esm2022/widgets/widget-map/component/widget-map-layer.service.mjs +4 -2
  110. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +15 -9
  111. package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +5 -5
  112. package/esm2022/widgets/widget-map/utils/xml-utils.class.mjs +23 -1
  113. package/esm2022/widgets/widget-vega/component/widget-vega.component.mjs +139 -0
  114. package/esm2022/widgets/widget-vega/i18n/en.translations.mjs +11 -0
  115. package/esm2022/widgets/widget-vega/i18n/fr.translations.mjs +11 -0
  116. package/esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs +5 -0
  117. package/esm2022/widgets/widget-vega/public-api.mjs +3 -0
  118. package/esm2022/widgets/widget-vega/style/css.component.mjs +11 -0
  119. package/esm2022/widgets/widget-vega/widget-vega.module.mjs +68 -0
  120. package/fesm2022/provoly-dashboard-admin.mjs +134 -206
  121. package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
  122. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +127 -52
  123. package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
  124. package/fesm2022/provoly-dashboard-dataset.mjs +1 -1
  125. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  126. package/fesm2022/provoly-dashboard-import.mjs +13 -0
  127. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  128. package/fesm2022/provoly-dashboard-notification.mjs +2 -2
  129. package/fesm2022/provoly-dashboard-notification.mjs.map +1 -1
  130. package/fesm2022/provoly-dashboard-presentation.mjs +41 -37
  131. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  132. package/fesm2022/provoly-dashboard-restitution.mjs +7 -4
  133. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  134. package/fesm2022/provoly-dashboard-supervision.mjs +11 -8
  135. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  136. package/fesm2022/provoly-dashboard-toolbox.mjs +3 -3
  137. package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
  138. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +17 -10
  139. package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
  140. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +19 -6
  141. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  142. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +43 -14
  143. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  144. package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs +235 -0
  145. package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs.map +1 -0
  146. package/fesm2022/provoly-dashboard.mjs +188 -68
  147. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  148. package/import/i18n/en.translations.d.ts +3 -0
  149. package/import/i18n/fr.translations.d.ts +3 -0
  150. package/lib/core/components/about/about.component.d.ts +12 -0
  151. package/lib/core/components/about/pry-about.module.d.ts +10 -0
  152. package/lib/core/i18n/en.translations.d.ts +11 -0
  153. package/lib/core/i18n/fr.translations.d.ts +11 -0
  154. package/lib/core/i18n/i18n.service.d.ts +2 -2
  155. package/lib/core/model/display-options.interface.d.ts +1 -1
  156. package/lib/core/model/manifest.interface.d.ts +2 -1
  157. package/lib/core/model/public-api.d.ts +1 -0
  158. package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
  159. package/lib/core/model/widget-vega-manifest.interface.d.ts +5 -0
  160. package/lib/core/public-api.d.ts +2 -0
  161. package/lib/core/store/config/config.actions.d.ts +12 -0
  162. package/lib/core/store/config/config.effects.d.ts +6 -0
  163. package/lib/core/store/config/config.reducer.d.ts +2 -0
  164. package/lib/core/store/config/config.selectors.d.ts +1 -0
  165. package/lib/core/store/config/config.service.d.ts +2 -0
  166. package/lib/core/store/config/versions.interface.d.ts +10 -0
  167. package/lib/dashboard/store/dashboard.actions.d.ts +10 -8
  168. package/lib/dashboard/store/dashboard.effects.d.ts +2 -0
  169. package/lib/dashboard/store/dashboard.selectors.d.ts +1 -1
  170. package/lib/dashboard/store/manifest.service.d.ts +1 -1
  171. package/package.json +31 -25
  172. package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +4 -3
  173. package/presentation/components/presentation.component.d.ts +2 -2
  174. package/presentation/style/_o-pry-new-presentation.scss +7 -0
  175. package/restitution/components/restitution-list-item/restitution-list-item.component.d.ts +3 -2
  176. package/schematics/ng-add/index.js +7 -1
  177. package/schematics/ng-add/index.js.map +1 -1
  178. package/schematics/ng-add/schema.json +2 -1
  179. package/styles/components/_o-tabs.scss +1 -7
  180. package/styles/layout/_o-base-layout.scss +8 -1
  181. package/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.d.ts +1 -1
  182. package/supervision/store/supervision.actions.d.ts +2 -2
  183. package/supervision/store/supervision.reducer.d.ts +1 -1
  184. package/supervision/store/supervision.selectors.d.ts +1 -1
  185. package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +7 -0
  186. package/widgets/widget-aggregated-chart/i18n/fr.translations.d.ts +0 -1
  187. package/widgets/widget-map/component/widget-map.component.d.ts +3 -1
  188. package/widgets/widget-map/utils/xml-utils.class.d.ts +2 -0
  189. package/widgets/widget-vega/component/widget-vega.component.d.ts +37 -0
  190. package/widgets/widget-vega/i18n/en.translations.d.ts +10 -0
  191. package/widgets/widget-vega/i18n/fr.translations.d.ts +10 -0
  192. package/widgets/widget-vega/index.d.ts +5 -0
  193. package/widgets/widget-vega/public-api.d.ts +2 -0
  194. package/widgets/widget-vega/style/_o-widget-vega.scss +6 -0
  195. package/widgets/widget-vega/style/css.component.d.ts +5 -0
  196. package/widgets/widget-vega/widget-vega.module.d.ts +19 -0
@@ -13,6 +13,9 @@ export declare const enTranslations: {
13
13
  consultDataset: string;
14
14
  errors: string;
15
15
  error: string;
16
+ errorCode: {
17
+ 409: string;
18
+ };
16
19
  line: string;
17
20
  withoutLine: string;
18
21
  dataset: string;
@@ -14,6 +14,9 @@ export declare const frTranslations: {
14
14
  shapefileState: string;
15
15
  error: string;
16
16
  errors: string;
17
+ errorCode: {
18
+ 409: string;
19
+ };
17
20
  line: string;
18
21
  withoutLine: string;
19
22
  dataset: string;
@@ -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;
@@ -215,6 +225,7 @@ export declare const enTranslations: {
215
225
  back: string;
216
226
  filterByType: string;
217
227
  editMetadata: string;
228
+ addMetadata: string;
218
229
  };
219
230
  snack: {
220
231
  default: string;
@@ -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;
@@ -215,6 +225,7 @@ export declare const frTranslations: {
215
225
  back: string;
216
226
  filterByType: string;
217
227
  editMetadata: string;
228
+ addMetadata: string;
218
229
  };
219
230
  snack: {
220
231
  default: string;
@@ -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
  }
@@ -22,4 +22,4 @@ export declare enum DisplayMode {
22
22
  SEARCH = "SEARCH",
23
23
  CUSTOM = "CUSTOM"
24
24
  }
25
- export declare function getDisplayOptions(mode: DisplayMode): DisplayOptions;
25
+ export declare function getDisplayOptions(mode?: DisplayMode): DisplayOptions;
@@ -11,6 +11,7 @@ import { MapWidgetOptions } from './widget-map-manifest.interface';
11
11
  import { TableWidgetOptions } from './widget-table-manifest.interface';
12
12
  import { TemplateWidgetOptions } from './widget-template-manifest.interface';
13
13
  import { TileWidgetOptions } from './widget-tile-manifest.interface';
14
+ import { VegaWidgetOptions } from './widget-vega-manifest.interface';
14
15
  export interface ManifestDescription {
15
16
  id: string;
16
17
  name: string;
@@ -84,4 +85,4 @@ export interface WidgetManifest {
84
85
  export interface CustomWidgetOptions {
85
86
  [opt: string]: any;
86
87
  }
87
- export type WidgetOptions = MapWidgetOptions | ImageWidgetOptions | TableWidgetOptions | DetailWidgetOptions | ChartWidgetOptions | ChartAggregatedWidgetOptions | IframeWidgetOptions | GraphWidgetOptions | TemplateWidgetOptions | TileWidgetOptions | CustomWidgetOptions;
88
+ export type WidgetOptions = MapWidgetOptions | ImageWidgetOptions | TableWidgetOptions | DetailWidgetOptions | ChartWidgetOptions | ChartAggregatedWidgetOptions | IframeWidgetOptions | GraphWidgetOptions | TemplateWidgetOptions | TileWidgetOptions | VegaWidgetOptions | CustomWidgetOptions;
@@ -13,6 +13,7 @@ export * from './widget-detail-manifest.interface';
13
13
  export * from './widget-image-manifest.interface';
14
14
  export * from './widget-template-manifest.interface';
15
15
  export * from './widget-tile-manifest.interface';
16
+ export * from './widget-vega-manifest.interface';
16
17
  export * from './manifest.interface';
17
18
  export * from './widget.interface';
18
19
  export * from './mimetype-resultset.constant';
@@ -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';
@@ -0,0 +1,5 @@
1
+ export type PlaceExpression = (string | number)[];
2
+ export interface VegaWidgetOptions {
3
+ placeData?: PlaceExpression;
4
+ baseSpec?: any;
5
+ }
@@ -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
+ }
@@ -110,6 +110,7 @@ export declare const DashboardActions: {
110
110
  initial?: GlobalManifest | undefined;
111
111
  viewMode?: ViewMode | undefined;
112
112
  } | undefined;
113
+ display?: DisplayOptions | undefined;
113
114
  }) => {
114
115
  tenants?: string[] | undefined;
115
116
  manifest: GlobalManifest;
@@ -122,6 +123,7 @@ export declare const DashboardActions: {
122
123
  initial?: GlobalManifest | undefined;
123
124
  viewMode?: ViewMode | undefined;
124
125
  } | undefined;
126
+ display?: DisplayOptions | undefined;
125
127
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">>;
126
128
  updateManifestAfterTenantLeave: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) updating manifest after tenant leave", (props: {
127
129
  tenants?: string[] | undefined;
@@ -140,10 +142,10 @@ export declare const DashboardActions: {
140
142
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant leave">>;
141
143
  selectPresentation: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) selectPresentation", (props: {
142
144
  presentation: ManifestDescription | undefined;
143
- viewMode: ViewMode;
145
+ viewMode?: ViewMode | undefined;
144
146
  }) => {
145
147
  presentation: ManifestDescription | undefined;
146
- viewMode: ViewMode;
148
+ viewMode?: ViewMode | undefined;
147
149
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) selectPresentation">>;
148
150
  setInitialPresentation: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) set initial presentation", (props: {
149
151
  initial: GlobalManifest;
@@ -251,7 +253,7 @@ export declare const DashboardActions: {
251
253
  saveManifest: import("@ngrx/store").ActionCreator<"[Dashboard] save manifest", (props: {
252
254
  name: string;
253
255
  manifest?: GlobalManifest | undefined;
254
- id?: string | undefined;
256
+ id: string;
255
257
  description?: string | undefined;
256
258
  image?: string | undefined;
257
259
  visibility?: PryVisibility | undefined;
@@ -259,7 +261,7 @@ export declare const DashboardActions: {
259
261
  }) => {
260
262
  name: string;
261
263
  manifest?: GlobalManifest | undefined;
262
- id?: string | undefined;
264
+ id: string;
263
265
  description?: string | undefined;
264
266
  image?: string | undefined;
265
267
  visibility?: PryVisibility | undefined;
@@ -446,13 +448,13 @@ export declare const DashboardActions: {
446
448
  }) => {
447
449
  features: any;
448
450
  } & import("@ngrx/store/src/models").TypedAction<"[Widget map] Set Wms layer features">>;
449
- updateDisplayOptions: import("@ngrx/store").ActionCreator<"[Dashboard/Display] Update displayed dashboard management features", (props: {
451
+ updateDisplayOptions: import("@ngrx/store").ActionCreator<"[Dashboard/Display] (bus) Update displayed dashboard management features", (props: {
450
452
  mode: DisplayMode;
451
453
  customDisplay?: DisplayOptions | undefined;
452
454
  }) => {
453
455
  mode: DisplayMode;
454
456
  customDisplay?: DisplayOptions | undefined;
455
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] Update displayed dashboard management features">>;
457
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">>;
456
458
  getCapability: import("@ngrx/store").ActionCreator<"[Widget map] Get Wms capability", (props: {
457
459
  url: string;
458
460
  force?: boolean | undefined;
@@ -476,11 +478,11 @@ export declare const DashboardActions: {
476
478
  metadataId: string;
477
479
  value: string;
478
480
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Add manifest metadata">>;
479
- deleteManifestMetadata: import("@ngrx/store").ActionCreator<"[Dashboard] Add manifest metadata", (props: {
481
+ deleteManifestMetadata: import("@ngrx/store").ActionCreator<"[Dashboard] Delete manifest metadata", (props: {
480
482
  presentationId: string;
481
483
  metadataId: string;
482
484
  }) => {
483
485
  presentationId: string;
484
486
  metadataId: string;
485
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Add manifest metadata">>;
487
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] Delete manifest metadata">>;
486
488
  };
@@ -43,6 +43,7 @@ export declare class DashboardEffects {
43
43
  initial?: GlobalManifest | undefined;
44
44
  viewMode?: import("./dashboard.actions").ViewMode | undefined;
45
45
  } | undefined;
46
+ display?: import("@provoly/dashboard").DisplayOptions | undefined;
46
47
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">> & import("@ngrx/effects").CreateEffectMetadata;
47
48
  leave$: import("rxjs").Observable<{
48
49
  tenants?: string[] | undefined;
@@ -135,6 +136,7 @@ export declare class DashboardEffects {
135
136
  initial?: GlobalManifest | undefined;
136
137
  viewMode?: import("./dashboard.actions").ViewMode | undefined;
137
138
  } | undefined;
139
+ display?: import("@provoly/dashboard").DisplayOptions | undefined;
138
140
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">) | ({
139
141
  tenants?: string[] | undefined;
140
142
  manifest: GlobalManifest;
@@ -319,6 +319,7 @@ export declare const DashboardSelectors: {
319
319
  viewMode?: ViewMode | undefined;
320
320
  initial: GlobalManifest | undefined;
321
321
  }>;
322
+ filters: MemoizedSelector<object, {}, (s1: DashboardState) => {}>;
322
323
  savePresentationActive: MemoizedSelector<object, boolean, (s1: {
323
324
  current: import("../../core/model/manifest.interface").ManifestDescription | undefined;
324
325
  viewMode?: ViewMode | undefined;
@@ -331,7 +332,6 @@ export declare const DashboardSelectors: {
331
332
  locked?: boolean | undefined;
332
333
  filters?: Filter[] | undefined;
333
334
  }) => boolean>;
334
- filters: MemoizedSelector<object, {}, (s1: DashboardState) => {}>;
335
335
  datasourceFilters: MemoizedSelector<object, {
336
336
  [datasourceId: string]: FilterContext[];
337
337
  }, (s1: DashboardState) => {
@@ -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.8",
3
+ "version": "0.14.10",
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",
@@ -307,6 +307,12 @@
307
307
  "esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
308
308
  "esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
309
309
  "default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
310
+ },
311
+ "./widgets/widget-vega": {
312
+ "types": "./widgets/widget-vega/index.d.ts",
313
+ "esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
314
+ "esm": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
315
+ "default": "./fesm2022/provoly-dashboard-widgets-widget-vega.mjs"
310
316
  }
311
317
  },
312
318
  "schematics": "./schematics/collection.json",
@@ -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
  }
@@ -43,7 +43,7 @@ function addDependencies(tree, options) {
43
43
  dependencies.push({ type: dependencies_1.NodeDependencyType.Dev, version: '^6.5.3', name: '@types/ol' });
44
44
  dependencies.push({ type: dependencies_1.NodeDependencyType.Dev, version: '^2.5.2', name: '@types/proj4' });
45
45
  }
46
- if (options.widgets.includes('widget-aggregated-chart')) {
46
+ if (options.widgets.includes('widget-aggregated-chart') || options.widgets.includes('widget-vega')) {
47
47
  console.log('...Adding provoly dependencies for charts');
48
48
  dependencies.push({ type: dependencies_1.NodeDependencyType.Default, version: '^5.21.0', name: 'vega' });
49
49
  dependencies.push({ type: dependencies_1.NodeDependencyType.Default, version: '^6.20.5', name: 'vega-embed' });
@@ -119,6 +119,12 @@ function widgetImports(options, context, external) {
119
119
  path: '@provoly/dashboard/widgets/widget-tile',
120
120
  moduleName: 'WidgetTileModule',
121
121
  type: 'tile'
122
+ },
123
+ {
124
+ name: 'widget-vega',
125
+ path: '@provoly/dashboard/widgets/widget-vega',
126
+ moduleName: 'WidgetVegaModule',
127
+ type: 'vega'
122
128
  }
123
129
  ];
124
130
  let imports = [];