@provoly/dashboard 1.3.18 → 1.3.20

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 (34) hide show
  1. package/components/data-format/data-format.pipe.d.ts +0 -1
  2. package/esm2022/components/data-format/data-format.pipe.mjs +1 -21
  3. package/esm2022/filters/autocomplete/autocomplete.component.mjs +3 -3
  4. package/esm2022/lib/core/components/select/select.component.mjs +4 -4
  5. package/esm2022/lib/core/i18n/en.translations.mjs +3 -2
  6. package/esm2022/lib/core/i18n/fr.translations.mjs +3 -2
  7. package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.mjs +3 -3
  8. package/esm2022/lib/dashboard/store/wms.service.mjs +3 -2
  9. package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +7 -4
  10. package/esm2022/widgets/widget-aggregated-chart/i18n/en.translations.mjs +11 -1
  11. package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +12 -2
  12. package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +7 -5
  13. package/esm2022/widgets/widget-tile/style/css.component.mjs +2 -2
  14. package/esm2022/widgets/widget-vega/component/widget-vega.component.mjs +3 -8
  15. package/fesm2022/provoly-dashboard-components-data-format.mjs +1 -21
  16. package/fesm2022/provoly-dashboard-components-data-format.mjs.map +1 -1
  17. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +2 -2
  18. package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
  19. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +27 -4
  20. package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
  21. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +8 -6
  22. package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
  23. package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs +2 -7
  24. package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs.map +1 -1
  25. package/fesm2022/provoly-dashboard.mjs +11 -8
  26. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  27. package/lib/core/i18n/en.translations.d.ts +1 -0
  28. package/lib/core/i18n/fr.translations.d.ts +1 -0
  29. package/package.json +7 -7
  30. package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +2 -1
  31. package/widgets/widget-aggregated-chart/i18n/en.translations.d.ts +10 -0
  32. package/widgets/widget-aggregated-chart/i18n/fr.translations.d.ts +10 -0
  33. package/widgets/widget-tile/component/widget-tile.component.d.ts +2 -2
  34. package/widgets/widget-tile/style/_o-widget-tile.scss +4 -0
@@ -3,6 +3,7 @@ export declare const enTranslations: {
3
3
  select: {
4
4
  label: string;
5
5
  loading: string;
6
+ empty: string;
6
7
  };
7
8
  about: {
8
9
  front: string;
@@ -3,6 +3,7 @@ export declare const frTranslations: {
3
3
  select: {
4
4
  label: string;
5
5
  loading: string;
6
+ empty: string;
6
7
  };
7
8
  about: {
8
9
  front: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "1.3.18",
3
+ "version": "1.3.20",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -84,18 +84,18 @@
84
84
  "esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
85
85
  "default": "./fesm2022/provoly-dashboard-admin.mjs"
86
86
  },
87
- "./import": {
88
- "types": "./import/index.d.ts",
89
- "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
90
- "esm": "./esm2022/import/provoly-dashboard-import.mjs",
91
- "default": "./fesm2022/provoly-dashboard-import.mjs"
92
- },
93
87
  "./dataset": {
94
88
  "types": "./dataset/index.d.ts",
95
89
  "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
96
90
  "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
97
91
  "default": "./fesm2022/provoly-dashboard-dataset.mjs"
98
92
  },
93
+ "./import": {
94
+ "types": "./import/index.d.ts",
95
+ "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
96
+ "esm": "./esm2022/import/provoly-dashboard-import.mjs",
97
+ "default": "./fesm2022/provoly-dashboard-import.mjs"
98
+ },
99
99
  "./mock": {
100
100
  "types": "./mock/index.d.ts",
101
101
  "esm2022": "./esm2022/mock/provoly-dashboard-mock.mjs",
@@ -146,7 +146,7 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
146
146
  isTimeInterval(abscissaInterval: string | number): boolean;
147
147
  getLabelExpr(axis: 'x' | 'y', axisType: string, field?: Field): string;
148
148
  getDataFormat(axisType: string, field?: Field): {
149
- format: "%Y-%m-%dT%H:%M:%S" | "%Y-%m-%d" | "%m-%Y" | "%d-%m" | "%Y" | "%m" | "%d" | "%Y-%B-%dT%H:%M:%S";
149
+ format: any;
150
150
  scale: {
151
151
  type: string;
152
152
  };
@@ -157,6 +157,7 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
157
157
  format?: undefined;
158
158
  scale?: undefined;
159
159
  };
160
+ getLocaleFormat(type: string | undefined): any;
160
161
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAggregatedChartComponent, never>;
161
162
  static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAggregatedChartComponent, "pry-widget-aggregated-chart", never, {}, {}, never, never, false, never>;
162
163
  }
@@ -18,6 +18,16 @@ export declare const enTranslations: {
18
18
  months: string[];
19
19
  shortMonths: string[];
20
20
  };
21
+ specializedLocale: {
22
+ default: string;
23
+ DATETIME: string;
24
+ DATE: string;
25
+ MONTH_YEAR: string;
26
+ DAY_MONTH: string;
27
+ YEAR: string;
28
+ MONTH: string;
29
+ DAY: string;
30
+ };
21
31
  operation: {
22
32
  none: string;
23
33
  count: string;
@@ -18,6 +18,16 @@ export declare const frTranslations: {
18
18
  months: string[];
19
19
  shortMonths: string[];
20
20
  };
21
+ specializedLocale: {
22
+ default: string;
23
+ DATETIME: string;
24
+ DATE: string;
25
+ MONTH_YEAR: string;
26
+ DAY_MONTH: string;
27
+ YEAR: string;
28
+ MONTH: string;
29
+ DAY: string;
30
+ };
21
31
  operation: {
22
32
  none: string;
23
33
  count: string;
@@ -7,7 +7,7 @@ export declare class WidgetTileComponent extends DataWidgetComponent {
7
7
  options$: Observable<TileWidgetOptions>;
8
8
  items$: Observable<Item[]>;
9
9
  selectedIds$: Observable<any>;
10
- maps: boolean[];
10
+ maps: (undefined | ResultSet)[];
11
11
  mapManifest: {
12
12
  type: string;
13
13
  header: boolean;
@@ -41,7 +41,7 @@ export declare class WidgetTileComponent extends DataWidgetComponent {
41
41
  constructor(store: Store<any>, el: ElementRef);
42
42
  contextMenu($event: MouseEvent, item: Item): void;
43
43
  select($event: MouseEvent, item: Item): void;
44
- toggleMap(index: number): void;
44
+ toggleMap(index: number, item: Item): void;
45
45
  resultSetWithItem(item: Item): ResultSet;
46
46
  emitManifest(): void;
47
47
  changeClasses($event: any): void;
@@ -78,6 +78,10 @@
78
78
  }
79
79
  }
80
80
  }
81
+
82
+ &__map {
83
+ height: toRem(500);
84
+ }
81
85
  }
82
86
  }
83
87
  }