@provoly/dashboard 0.14.1 → 0.14.3

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 (47) hide show
  1. package/dataset/i18n/en.translations.d.ts +1 -0
  2. package/dataset/i18n/fr.translations.d.ts +1 -0
  3. package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
  4. package/esm2022/dataset/i18n/en.translations.mjs +2 -1
  5. package/esm2022/dataset/i18n/fr.translations.mjs +2 -1
  6. package/esm2022/import/components/import.component.mjs +3 -3
  7. package/esm2022/import/i18n/en.translations.mjs +3 -3
  8. package/esm2022/import/i18n/fr.translations.mjs +3 -2
  9. package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -3
  10. package/esm2022/lib/core/i18n/en.translations.mjs +3 -3
  11. package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
  12. package/esm2022/presentation/i18n/en.translations.mjs +2 -2
  13. package/esm2022/restitution/i18n/en.translations.mjs +6 -2
  14. package/esm2022/supervision/i18n/en.translations.mjs +3 -3
  15. package/esm2022/widgets/widget-map/component/widget-map.component.mjs +59 -24
  16. package/esm2022/widgets/widget-map/component/wms.service.mjs +67 -0
  17. package/esm2022/widgets/widget-map/i18n/en.translations.mjs +2 -2
  18. package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +2 -2
  19. package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +20 -60
  20. package/esm2022/widgets/widget-map/public-api.mjs +2 -1
  21. package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +2 -2
  22. package/esm2022/widgets/widget-map/utils/xml-utils.class.mjs +7 -5
  23. package/fesm2022/provoly-dashboard-dataset.mjs +4 -2
  24. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  25. package/fesm2022/provoly-dashboard-import.mjs +6 -5
  26. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  27. package/fesm2022/provoly-dashboard-presentation.mjs +1 -1
  28. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  29. package/fesm2022/provoly-dashboard-restitution.mjs +5 -1
  30. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  31. package/fesm2022/provoly-dashboard-supervision.mjs +2 -2
  32. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  33. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +174 -117
  34. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  35. package/fesm2022/provoly-dashboard.mjs +6 -4
  36. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  37. package/import/i18n/en.translations.d.ts +2 -2
  38. package/import/i18n/fr.translations.d.ts +2 -1
  39. package/lib/core/components/modal-status/modal-status.component.d.ts +0 -1
  40. package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
  41. package/package.json +13 -13
  42. package/restitution/i18n/en.translations.d.ts +4 -0
  43. package/supervision/i18n/en.translations.d.ts +2 -2
  44. package/widgets/widget-map/component/widget-map.component.d.ts +5 -2
  45. package/widgets/widget-map/component/wms.service.d.ts +18 -0
  46. package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +5 -5
  47. package/widgets/widget-map/public-api.d.ts +1 -0
@@ -214,7 +214,7 @@ const enTranslations$1 = {
214
214
  delete: 'Delete',
215
215
  maximize: 'Maximize',
216
216
  none_auto: 'Insert restitutions here',
217
- none_manual: 'Drag n drop',
217
+ none_manual: "Drag 'n' drop",
218
218
  loading: 'Loading'
219
219
  },
220
220
  namedQuery: {
@@ -303,7 +303,7 @@ const enTranslations$1 = {
303
303
  },
304
304
  tile: 'Tiles',
305
305
  now: 'Today',
306
- since_day: 'Since {{day}} day{{plural}}',
306
+ since_day: '{{day}} day{{plural}} ago',
307
307
  layout: {
308
308
  '0': 'Free layout',
309
309
  '0_detailled': 'Free mode display, rendering size and positioning fully customizable by the user.',
@@ -2097,6 +2097,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImpor
2097
2097
  const enTranslations = {
2098
2098
  '@pry': {
2099
2099
  dataset: {
2100
+ consult: 'View',
2100
2101
  title: 'Dataset catalog',
2101
2102
  search: 'Search',
2102
2103
  date: 'Date',
@@ -2163,6 +2164,7 @@ const enTranslations = {
2163
2164
  const frTranslations = {
2164
2165
  '@pry': {
2165
2166
  dataset: {
2167
+ consult: 'Consulter',
2166
2168
  title: 'Catalogue des jeux de données',
2167
2169
  search: 'Rechercher',
2168
2170
  date: 'Date',
@@ -2496,8 +2498,8 @@ class PryModalStatusComponent {
2496
2498
  this.store.dispatch(DataSourceActions.dataset.previews.getById({ id: version.id }));
2497
2499
  this.datasetPreviews$ = this.store
2498
2500
  .select(DataSourceSelectors.datasetPreviews)
2499
- .pipe(map((previews) => previews.map((preview) => preview.messages.map((message) => ({ ...message, count: preview.count }))).flat()));
2500
- this.messageCount$ = this.datasetPreviews$.pipe(map((previews) => {
2501
+ .pipe(map((previews) => previews.map((preview) => preview.messages).flat()));
2502
+ this.messageCount$ = this.store.select(DataSourceSelectors.datasetPreviews).pipe(map((previews) => {
2501
2503
  return previews.map((preview) => preview.count).reduce((p, c) => p + c, 0);
2502
2504
  }));
2503
2505
  }