@provoly/dashboard 0.14.2 → 0.14.4

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 (46) 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 +3 -2
  5. package/esm2022/dataset/i18n/fr.translations.mjs +6 -5
  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 +53 -23
  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/xml-utils.class.mjs +7 -5
  22. package/fesm2022/provoly-dashboard-dataset.mjs +9 -7
  23. package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
  24. package/fesm2022/provoly-dashboard-import.mjs +6 -5
  25. package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
  26. package/fesm2022/provoly-dashboard-presentation.mjs +1 -1
  27. package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
  28. package/fesm2022/provoly-dashboard-restitution.mjs +5 -1
  29. package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
  30. package/fesm2022/provoly-dashboard-supervision.mjs +2 -2
  31. package/fesm2022/provoly-dashboard-supervision.mjs.map +1 -1
  32. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +167 -115
  33. package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
  34. package/fesm2022/provoly-dashboard.mjs +11 -9
  35. package/fesm2022/provoly-dashboard.mjs.map +1 -1
  36. package/import/i18n/en.translations.d.ts +2 -2
  37. package/import/i18n/fr.translations.d.ts +2 -1
  38. package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
  39. package/package.json +13 -13
  40. package/restitution/i18n/en.translations.d.ts +4 -0
  41. package/styles/components/_o-modal.scss +5 -0
  42. package/supervision/i18n/en.translations.d.ts +2 -2
  43. package/widgets/widget-map/component/widget-map.component.d.ts +5 -2
  44. package/widgets/widget-map/component/wms.service.d.ts +18 -0
  45. package/widgets/widget-map/pipe/widget-map-legend-url.pipe.d.ts +5 -5
  46. 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',
@@ -2154,7 +2155,7 @@ const enTranslations = {
2154
2155
  loading: 'The data is currently being integrated into the solution',
2155
2156
  invalid: 'The data in this version is present in the solution but is not relevant. It is not available are not available for display',
2156
2157
  inValidateButton: 'Allows you to make the version\'s data unavailable if it is considered irrelevant from a business point of view. If the invalidated version is the active version, then the data retrieved by default will be that of the most recent previous "Available" version, which will thus change to "Active" status.',
2157
- validateButton: 'Allows the version\'s data to be made available if it is considered relevant from a business point of view after having been invalidated. If the validated version is the most recent, it will become the active version and its data will be the default.'
2158
+ validateButton: "Allows the version's data to be made available if it is considered relevant from a business point of view after having been invalidated. If the validated version is the most recent, it will become the active version and its data will be the default."
2158
2159
  }
2159
2160
  }
2160
2161
  }
@@ -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',
@@ -2212,15 +2214,15 @@ const frTranslations = {
2212
2214
  ELASTIC_SEARCH: "Erreur d'insertion pour l'élément {{recordId}}",
2213
2215
  NO_VALUES: 'Pas de valeur pour la ligne {{recordId}}',
2214
2216
  FORMAT_FILE_ERROR: "Le format du fichier transmis n'est pas géré",
2215
- NO_ATTRIBUTES: "Les données importés ne correspondent pas au modèle de données indiquer en cible de l'import"
2217
+ NO_ATTRIBUTES: "Les données importées ne correspondent pas au modèle de données indiquer en cible de l'import"
2216
2218
  }
2217
2219
  },
2218
2220
  tooltip: {
2219
- error: 'Des erreurs sont apparues lors de l\'intégration des données dans la solution. Les données ne sont pas accessibles',
2220
- active: 'Les données remontées par défaut dans l\'application correspondent à celles intégrées dans cette version',
2221
+ error: "Des erreurs sont apparues lors de l'intégration des données dans la solution. Les données ne sont pas accessibles",
2222
+ active: "Les données remontées par défaut dans l'application correspondent à celles intégrées dans cette version",
2221
2223
  inactive: 'Les données de cette version sont disponibles mais non remontées par défaut. Il est possible de les afficher en demandant explicitement cette version.',
2222
2224
  loading: "Les données sont en cours d'intégration dans la solution",
2223
- invalid: 'Les données de cette version sont présentes dans la solution mais sont non pertinentes. Elles ne sont pas disponibles pour l\'affichage',
2225
+ invalid: "Les données de cette version sont présentes dans la solution mais sont non pertinentes. Elles ne sont pas disponibles pour l'affichage",
2224
2226
  inValidateButton: 'Permet de rendre indisponible les données de la version dans le cas où elles sont considérées comme non pertinente d\'un point de vue métier. Si la version invalidée est la version active, alors les données récupérées par défaut seront celle de la version "Disponible" précédente la plus récente qui passera ainsi au statut "Active"',
2225
2227
  validateButton: "Permet de rendre disponible les données de la version dans le cas où elles sont considérées comme pertinente d'un point de vue métier après avoir été invalider. Si la version validée est la plus récente, elle deviendra ainsi la version active et ses données seront celles remontées par défaut"
2226
2228
  }
@@ -2510,11 +2512,11 @@ class PryModalStatusComponent {
2510
2512
  this.gotoConsult.emit(this.version);
2511
2513
  }
2512
2514
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusComponent, deps: [{ token: i1.Store }], target: i0.ɵɵFactoryTarget.Component }); }
2513
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryModalStatusComponent, selector: "pry-modal-status", inputs: { version: "version" }, outputs: { gotoConsult: "gotoConsult" }, ngImport: i0, template: "<div class=\"o-modal-wrapper\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{\n '@pry.dataset.error.modalTitle.' +\n (_version?.state !== 'ERROR' && _version?.hasWarnings ? 'WARNING' : 'ERROR') | i18n\n }}\n ({{ messageCount$ | async }})\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.type' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let preview of datasetPreviews$ | async | slice : 0 : 5\">\n <td>\n {{ '@pry.dataset.error.level.' + preview.level | i18n }}\n </td>\n <td>\n {{ preview.recordId }}\n </td>\n <td>\n {{\n '@pry.dataset.error.code.' + preview.extractMessageCode\n | i18n : { name: preview.name, recordId: preview.recordId }\n }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PryIconComponent, selector: "pry-icon", inputs: ["color", "iconSvg", "animation", "iconImage", "alt", "width", "height", "classes"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.SlicePipe, name: "slice" }, { kind: "pipe", type: I18nPipe, name: "i18n" }] }); }
2515
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PryModalStatusComponent, selector: "pry-modal-status", inputs: { version: "version" }, outputs: { gotoConsult: "gotoConsult" }, ngImport: i0, template: "<div class=\"o-modal-wrapper -extra-large\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{\n '@pry.dataset.error.modalTitle.' +\n (_version?.state !== 'ERROR' && _version?.hasWarnings ? 'WARNING' : 'ERROR') | i18n\n }}\n ({{ messageCount$ | async }})\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.type' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let preview of datasetPreviews$ | async | slice : 0 : 5\">\n <td>\n {{ '@pry.dataset.error.level.' + preview.level | i18n }}\n </td>\n <td>\n {{ preview.recordId }}\n </td>\n <td>\n {{\n '@pry.dataset.error.code.' + preview.extractMessageCode\n | i18n : { name: preview.name, recordId: preview.recordId }\n }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n", dependencies: [{ kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: PryIconComponent, selector: "pry-icon", inputs: ["color", "iconSvg", "animation", "iconImage", "alt", "width", "height", "classes"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.SlicePipe, name: "slice" }, { kind: "pipe", type: I18nPipe, name: "i18n" }] }); }
2514
2516
  }
2515
2517
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusComponent, decorators: [{
2516
2518
  type: Component,
2517
- args: [{ selector: 'pry-modal-status', template: "<div class=\"o-modal-wrapper\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{\n '@pry.dataset.error.modalTitle.' +\n (_version?.state !== 'ERROR' && _version?.hasWarnings ? 'WARNING' : 'ERROR') | i18n\n }}\n ({{ messageCount$ | async }})\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.type' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let preview of datasetPreviews$ | async | slice : 0 : 5\">\n <td>\n {{ '@pry.dataset.error.level.' + preview.level | i18n }}\n </td>\n <td>\n {{ preview.recordId }}\n </td>\n <td>\n {{\n '@pry.dataset.error.code.' + preview.extractMessageCode\n | i18n : { name: preview.name, recordId: preview.recordId }\n }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n" }]
2519
+ args: [{ selector: 'pry-modal-status', template: "<div class=\"o-modal-wrapper -extra-large\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\">\n {{\n '@pry.dataset.error.modalTitle.' +\n (_version?.state !== 'ERROR' && _version?.hasWarnings ? 'WARNING' : 'ERROR') | i18n\n }}\n ({{ messageCount$ | async }})\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" (click)=\"goBack()\">\n <pry-icon iconSvg=\"close\" [height]=\"35\" [width]=\"35\"></pry-icon>\n <span class=\"u-visually-hidden\">{{ '@pry.toolbox.close' | i18n }}</span>\n </button>\n </div>\n </div>\n <table class=\"a-table\">\n <thead>\n <tr>\n <th>{{ '@pry.dataset.error.type' | i18n }}</th>\n <th>{{ '@pry.dataset.error.elements' | i18n }}</th>\n <th>{{ '@pry.dataset.error.message' | i18n }}</th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let preview of datasetPreviews$ | async | slice : 0 : 5\">\n <td>\n {{ '@pry.dataset.error.level.' + preview.level | i18n }}\n </td>\n <td>\n {{ preview.recordId }}\n </td>\n <td>\n {{\n '@pry.dataset.error.code.' + preview.extractMessageCode\n | i18n : { name: preview.name, recordId: preview.recordId }\n }}\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n" }]
2518
2520
  }], ctorParameters: function () { return [{ type: i1.Store }]; }, propDecorators: { gotoConsult: [{
2519
2521
  type: Output
2520
2522
  }], version: [{