@provoly/dashboard 0.13.9 → 0.13.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.
- package/admin/admin.module.d.ts +2 -1
- package/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +5 -13
- package/admin/components/admin-metadata-rules/admin-edit-metadata-rules/admin-edit-metadata-rules.component.d.ts +1 -1
- package/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.d.ts +1 -1
- package/admin/components/admin-user/admin-user-select/admin-user-select.component.d.ts +4 -9
- package/admin/components/association/association.component.d.ts +1 -3
- package/admin/store/admin.effects.d.ts +19 -15
- package/admin/store/admin.service.d.ts +0 -3
- package/components/metadata-editor/index.d.ts +5 -0
- package/components/metadata-editor/metadata-editor.component.d.ts +36 -0
- package/components/metadata-editor/metadata-editor.module.d.ts +12 -0
- package/components/metadata-editor/public-api.d.ts +7 -0
- package/components/metadata-editor/store/metadata.action.d.ts +112 -0
- package/components/metadata-editor/store/metadata.effects.d.ts +48 -0
- package/{admin/components/admin-metadata → components/metadata-editor}/store/metadata.reducer.d.ts +2 -1
- package/{admin/components/admin-metadata → components/metadata-editor}/store/metadata.selector.d.ts +1 -0
- package/components/metadata-editor/store/metadata.service.d.ts +15 -0
- package/dataset/i18n/en.translations.d.ts +1 -0
- package/dataset/i18n/fr.translations.d.ts +1 -0
- package/dataset/style/_o-pry-dataset-card.scss +7 -0
- package/esm2022/admin/admin.module.mjs +9 -17
- package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-edit/admin-abac-rules-edit.component.mjs +2 -2
- package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-new/admin-abac-rules-new.component.mjs +2 -2
- package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-view/admin-abac-rules-view.component.mjs +2 -2
- package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +2 -2
- package/esm2022/admin/components/admin-abac-rules/components/select-metadata/select-metadata.component.mjs +2 -2
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +21 -77
- package/esm2022/admin/components/admin-metadata/admin-edit-metadata/admin-edit-metadata.component.mjs +2 -3
- package/esm2022/admin/components/admin-metadata/admin-metadata.component.mjs +2 -3
- package/esm2022/admin/components/admin-metadata/admin-new-metadata/admin-new-metadata.component.mjs +2 -2
- package/esm2022/admin/components/admin-metadata/admin-select-metadata/admin-select-metadata.component.mjs +2 -3
- package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +2 -2
- package/esm2022/admin/components/admin-metadata-rules/admin-edit-metadata-rules/admin-edit-metadata-rules.component.mjs +1 -1
- package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +2 -3
- package/esm2022/admin/components/admin-user/admin-user-select/admin-user-select.component.mjs +17 -65
- package/esm2022/admin/components/association/association.component.mjs +1 -4
- package/esm2022/admin/store/admin.effects.mjs +6 -2
- package/esm2022/admin/store/admin.service.mjs +1 -16
- package/esm2022/components/metadata-editor/metadata-editor.component.mjs +111 -0
- package/esm2022/components/metadata-editor/metadata-editor.module.mjs +47 -0
- package/esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs +5 -0
- package/esm2022/components/metadata-editor/public-api.mjs +8 -0
- package/esm2022/components/metadata-editor/store/metadata.action.mjs +27 -0
- package/esm2022/components/metadata-editor/store/metadata.effects.mjs +44 -0
- package/esm2022/components/metadata-editor/store/metadata.reducer.mjs +39 -0
- package/esm2022/components/metadata-editor/store/metadata.selector.mjs +19 -0
- package/esm2022/components/metadata-editor/store/metadata.service.mjs +36 -0
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/dataset/i18n/en.translations.mjs +3 -2
- package/esm2022/dataset/i18n/fr.translations.mjs +3 -2
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/import/components/import.component.mjs +8 -4
- package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +3 -12
- package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
- package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -2
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
- package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +31 -17
- package/esm2022/toolbox/components/toolbox.component.mjs +20 -14
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +45 -13
- package/esm2022/widgets/widget-map/i18n/en.translations.mjs +3 -1
- package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +3 -1
- package/esm2022/widgets/widget-map/pipe/widget-map-legend-url.pipe.mjs +2 -2
- package/esm2022/widgets/widget-map/public-api.mjs +3 -1
- package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +56 -0
- package/esm2022/widgets/widget-map/utils/xml-utils.class.mjs +32 -0
- package/fesm2022/provoly-dashboard-admin.mjs +107 -370
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +302 -0
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-dataset.mjs +8 -6
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-import.mjs +7 -3
- package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +49 -29
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +104 -13
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +6 -13
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/import/components/import.component.d.ts +5 -3
- package/lib/core/components/modal-status/modal-status.component.d.ts +0 -8
- package/lib/core/model/widget-map-manifest.interface.d.ts +2 -0
- package/package.json +19 -13
- package/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +7 -5
- package/toolbox/components/toolbox.component.d.ts +10 -5
- package/widgets/widget-map/component/widget-map.component.d.ts +4 -1
- package/widgets/widget-map/i18n/en.translations.d.ts +2 -0
- package/widgets/widget-map/i18n/fr.translations.d.ts +2 -0
- package/widgets/widget-map/public-api.d.ts +2 -0
- package/widgets/widget-map/utils/cql-utils.class.d.ts +6 -0
- package/admin/components/admin-dataset/store/admin-dataset.actions.d.ts +0 -59
- package/admin/components/admin-dataset/store/admin-dataset.effects.d.ts +0 -30
- package/admin/components/admin-dataset/store/admin-dataset.reducer.d.ts +0 -6
- package/admin/components/admin-dataset/store/admin-dataset.selector.d.ts +0 -5
- package/admin/components/admin-metadata/store/metadata.action.d.ts +0 -56
- package/admin/components/admin-metadata/store/metadata.effects.d.ts +0 -36
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.actions.mjs +0 -14
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.effects.mjs +0 -36
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.reducer.mjs +0 -11
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.selector.mjs +0 -9
- package/esm2022/admin/components/admin-metadata/store/metadata.action.mjs +0 -19
- package/esm2022/admin/components/admin-metadata/store/metadata.effects.mjs +0 -33
- package/esm2022/admin/components/admin-metadata/store/metadata.reducer.mjs +0 -35
- package/esm2022/admin/components/admin-metadata/store/metadata.selector.mjs +0 -17
- package/esm2022/widgets/widget-map/pipe/xml-utils.class.mjs +0 -32
- /package/widgets/widget-map/{pipe → utils}/xml-utils.class.d.ts +0 -0
|
@@ -2141,7 +2141,8 @@ const enTranslations = {
|
|
|
2141
2141
|
FORMAT: 'Wrong format for attribute {{name}}',
|
|
2142
2142
|
ELASTIC_SEARCH: 'Insertion error for element {{recordId}}',
|
|
2143
2143
|
NO_VALUES: 'No value for {{recordId}} line',
|
|
2144
|
-
FORMAT_FILE_ERROR: 'Unsupported file format'
|
|
2144
|
+
FORMAT_FILE_ERROR: 'Unsupported file format',
|
|
2145
|
+
NO_ATTRIBUTES: 'The imported data does not correspond to the data model indicated in the import target'
|
|
2145
2146
|
}
|
|
2146
2147
|
},
|
|
2147
2148
|
tooltip: {
|
|
@@ -2208,7 +2209,8 @@ const frTranslations = {
|
|
|
2208
2209
|
FORMAT: "Format d'attribut {{name}} incorrect",
|
|
2209
2210
|
ELASTIC_SEARCH: "Erreur d'insertion pour l'élément {{recordId}}",
|
|
2210
2211
|
NO_VALUES: 'Pas de valeur pour la ligne {{recordId}}',
|
|
2211
|
-
FORMAT_FILE_ERROR: "Le format du fichier transmis n'est pas géré"
|
|
2212
|
+
FORMAT_FILE_ERROR: "Le format du fichier transmis n'est pas géré",
|
|
2213
|
+
NO_ATTRIBUTES: "Les données importés ne correspondent pas au modèle de données indiquer en cible de l'import"
|
|
2212
2214
|
}
|
|
2213
2215
|
},
|
|
2214
2216
|
tooltip: {
|
|
@@ -2505,21 +2507,12 @@ class PryModalStatusComponent {
|
|
|
2505
2507
|
goBack() {
|
|
2506
2508
|
this.gotoConsult.emit(this.version);
|
|
2507
2509
|
}
|
|
2508
|
-
getModalTitle() {
|
|
2509
|
-
if (this._version?.state !== 'ERROR' && this._version?.hasWarnings) {
|
|
2510
|
-
return 'WARNING';
|
|
2511
|
-
}
|
|
2512
|
-
return 'ERROR';
|
|
2513
|
-
}
|
|
2514
|
-
getErrorCodeParam(code, name, recordId) {
|
|
2515
|
-
return code === 'UNRECOGNIZED' || code === 'CAST' ? { name } : { recordId };
|
|
2516
|
-
}
|
|
2517
2510
|
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 }); }
|
|
2518
|
-
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 {{
|
|
2511
|
+
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" }] }); }
|
|
2519
2512
|
}
|
|
2520
2513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PryModalStatusComponent, decorators: [{
|
|
2521
2514
|
type: Component,
|
|
2522
|
-
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 {{
|
|
2515
|
+
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" }]
|
|
2523
2516
|
}], ctorParameters: function () { return [{ type: i1.Store }]; }, propDecorators: { gotoConsult: [{
|
|
2524
2517
|
type: Output
|
|
2525
2518
|
}], version: [{
|