@provoly/dashboard 0.13.7 → 0.13.9
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/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +4 -4
- package/admin/components/admin-dataset/store/admin-dataset.actions.d.ts +3 -3
- package/assets/svgs/layers.svg +2 -0
- package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +3 -3
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +2 -2
- package/esm2022/admin/components/admin-dataset/store/admin-dataset.actions.mjs +1 -1
- package/esm2022/lib/core/components/overlay/dialog-confirm.component.mjs +5 -12
- package/esm2022/lib/core/components/overlay/overlay.module.mjs +5 -4
- package/esm2022/lib/core/components/select/select.component.mjs +2 -2
- package/esm2022/lib/core/components/share/share.component.mjs +3 -3
- package/esm2022/lib/core/model/admin-api.model.mjs +1 -1
- package/esm2022/lib/core/model/dataset.interface.mjs +1 -1
- package/esm2022/lib/core/model/display-options.interface.mjs +4 -2
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/model/widget-map-manifest.interface.mjs +1 -1
- package/esm2022/lib/core/store/config/config.actions.mjs +2 -1
- package/esm2022/lib/core/store/config/config.effects.mjs +25 -4
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.reducer.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.service.mjs +1 -1
- package/esm2022/lib/dashboard/components/context-menu/context-menu.component.mjs +3 -7
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.mjs +1 -1
- package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +6 -3
- package/esm2022/lib/dashboard/public-api.mjs +2 -1
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +2 -3
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +25 -11
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +2 -11
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +3 -5
- package/esm2022/lib/dashboard/store/manifest-utils.class.mjs +11 -0
- package/esm2022/lib/dashboard/store/manifest.service.mjs +3 -10
- package/esm2022/lib/dashboard/tooltip/components/default/default.tooltip.component.mjs +5 -4
- package/esm2022/pipeline/components/pipeline-list/pipeline-list.component.mjs +5 -8
- package/esm2022/presentation/components/presentation.component.mjs +5 -42
- package/esm2022/presentation/presentation.module.mjs +8 -4
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +9 -65
- package/esm2022/search/components/save-query/save-query.component.mjs +5 -8
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -3
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +5 -16
- package/esm2022/toolbox/toolbox.module.mjs +8 -4
- package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +3 -3
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +3 -3
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +90 -26
- package/esm2022/widgets/widget-map/i18n/en.translations.mjs +5 -2
- package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +5 -2
- package/esm2022/widgets/widget-map/interaction/interaction-manager.class.mjs +2 -36
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-admin.mjs +2 -2
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline.mjs +4 -7
- package/fesm2022/provoly-dashboard-pipeline.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +11 -44
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +9 -65
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +4 -7
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +14 -21
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +2 -2
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +103 -129
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +153 -135
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/overlay/overlay.module.d.ts +2 -1
- package/lib/core/model/admin-api.model.d.ts +1 -1
- package/lib/core/model/dataset.interface.d.ts +0 -10
- package/lib/core/model/display-options.interface.d.ts +1 -0
- package/lib/core/model/manifest.interface.d.ts +2 -0
- package/lib/core/model/widget-map-manifest.interface.d.ts +1 -0
- package/lib/core/store/config/config.actions.d.ts +5 -0
- package/lib/core/store/config/config.effects.d.ts +6 -1
- package/lib/core/store/data-source/data-source.actions.d.ts +2 -2
- package/lib/core/store/data-source/data-source.effects.d.ts +2 -3
- package/lib/core/store/data-source/data-source.model.d.ts +11 -3
- package/lib/core/store/data-source/data-source.reducer.d.ts +2 -2
- package/lib/core/store/data-source/data-source.selectors.d.ts +5 -5
- package/lib/core/store/data-source/data-source.service.d.ts +4 -4
- package/lib/dashboard/components/context-menu/context-menu.component.d.ts +0 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-selector.component.d.ts +1 -2
- package/lib/dashboard/components/widgets/settings/settings.component.d.ts +1 -0
- package/lib/dashboard/public-api.d.ts +1 -0
- package/lib/dashboard/store/dashboard.actions.d.ts +6 -17
- package/lib/dashboard/store/dashboard.effects.d.ts +6 -7
- package/lib/dashboard/store/dashboard.reducers.d.ts +1 -5
- package/lib/dashboard/store/dashboard.selectors.d.ts +0 -57
- package/lib/dashboard/store/manifest-utils.class.d.ts +4 -0
- package/lib/dashboard/store/manifest.service.d.ts +0 -1
- package/package.json +25 -25
- package/pipeline/components/pipeline-list/pipeline-list.component.d.ts +1 -2
- package/presentation/components/presentation.component.d.ts +0 -5
- package/presentation/presentation.module.d.ts +2 -1
- package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +4 -15
- package/schematics/ng-add/index.js +0 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/schematics/ng-update/version-0-13/index.js +18 -1
- package/schematics/ng-update/version-0-13/index.js.map +1 -1
- package/schematics/ng-update/version-0-13/index.spec.js +8 -1
- package/schematics/ng-update/version-0-13/index.spec.js.map +1 -1
- package/search/components/save-query/save-query.component.d.ts +1 -2
- package/styles/components/_m-tooltip.scss +18 -2
- package/styles-theme/components-theme/_m-tooltip.theme.scss +0 -12
- package/toolbox/components/select-grid-layout/select-grid-layout.component.d.ts +0 -4
- package/toolbox/toolbox.module.d.ts +2 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +16 -3
- package/widgets/widget-map/i18n/en.translations.d.ts +3 -0
- package/widgets/widget-map/i18n/fr.translations.d.ts +3 -0
- package/widgets/widget-map/interaction/interaction-manager.class.d.ts +3 -8
- package/widgets/widget-map/style/_o-layer-legend.scss +45 -0
- package/widgets/widget-map/style/_o-widget-map.scss +0 -1
- package/esm2022/widgets/widget-map/search-bar/search-bar.control.mjs +0 -66
- package/widgets/widget-map/search-bar/search-bar.control.d.ts +0 -27
|
@@ -453,11 +453,8 @@ class PrySaveQueryComponent {
|
|
|
453
453
|
this.onClose();
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
}
|
|
459
|
-
focusValidation() {
|
|
460
|
-
this.save.nativeElement.focus();
|
|
456
|
+
focusElement(element) {
|
|
457
|
+
element.focus();
|
|
461
458
|
}
|
|
462
459
|
onClose() {
|
|
463
460
|
this.store.dispatch(ConfigActions.closeOverlay({ id: 'PrySaveQueryComponent' }));
|
|
@@ -469,11 +466,11 @@ class PrySaveQueryComponent {
|
|
|
469
466
|
this.dialog.close();
|
|
470
467
|
}
|
|
471
468
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PrySaveQueryComponent, deps: [{ token: i1.Store }, { token: i3.PryDialogRef }, { token: PRY_DIALOG_DATA }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
472
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PrySaveQueryComponent, selector: "pry-save-query", viewQueries: [{ propertyName: "cross", first: true, predicate: ["cross"], descendants: true }, { propertyName: "save", first: true, predicate: ["save"], descendants: true }], ngImport: i0, template: "<div\n class=\"o-modal-wrapper\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog_rename\"\n (keydown.escape)=\"onClose()\"\n>\n <div class=\"o-modal\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">\n {{ '@pry.search.namedQuery.' + (modalSave ? 'saveTitle' : 'renameTitle') | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" #cross (keydown.shift.tab)=\"
|
|
469
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.6", type: PrySaveQueryComponent, selector: "pry-save-query", viewQueries: [{ propertyName: "cross", first: true, predicate: ["cross"], descendants: true }, { propertyName: "save", first: true, predicate: ["save"], descendants: true }], ngImport: i0, template: "<div\n class=\"o-modal-wrapper\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog_rename\"\n (keydown.escape)=\"onClose()\"\n>\n <div class=\"o-modal\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">\n {{ '@pry.search.namedQuery.' + (modalSave ? 'saveTitle' : 'renameTitle') | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" #cross (keydown.shift.tab)=\"focusElement(this.save)\" (click)=\"onClose()\">\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\n <div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"name\">{{ '@pry.search.namedQuery.name' | i18n }}</label>\n <input [(ngModel)]=\"name\" id=\"name\" type=\"text\" class=\"a-form-field\" required maxlength=\"30\" />\n </div>\n <div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"description\">{{ '@pry.search.namedQuery.description' | i18n }}</label>\n <input [(ngModel)]=\"description\" id=\"description\" type=\"text\" class=\"a-form-field\" required maxlength=\"200\" />\n </div>\n\n <pry-share [(ngModel)]=\"visibility\"></pry-share>\n\n <div class=\"m-btn-group\">\n <button type=\"button\" (click)=\"onClose()\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"button\"\n #save\n (click)=\"onSave()\"\n class=\"a-btn a-btn--primary\"\n [disabled]=\"saveDisabled\"\n (keydown.tab)=\"focusElement(this.cross)\"\n >\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "component", type: i3.PryIconComponent, selector: "pry-icon", inputs: ["color", "iconSvg", "animation", "iconImage", "alt", "width", "height", "classes"] }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i4.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PryShareComponent, selector: "pry-share", inputs: ["value", "labelProperty", "valueProperty", "users$"] }, { kind: "pipe", type: i3.I18nPipe, name: "i18n" }] }); }
|
|
473
470
|
}
|
|
474
471
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.6", ngImport: i0, type: PrySaveQueryComponent, decorators: [{
|
|
475
472
|
type: Component,
|
|
476
|
-
args: [{ selector: 'pry-save-query', template: "<div\n class=\"o-modal-wrapper\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog_rename\"\n (keydown.escape)=\"onClose()\"\n>\n <div class=\"o-modal\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">\n {{ '@pry.search.namedQuery.' + (modalSave ? 'saveTitle' : 'renameTitle') | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" #cross (keydown.shift.tab)=\"
|
|
473
|
+
args: [{ selector: 'pry-save-query', template: "<div\n class=\"o-modal-wrapper\"\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby=\"dialog_rename\"\n (keydown.escape)=\"onClose()\"\n>\n <div class=\"o-modal\">\n <div class=\"o-modal__top\">\n <div class=\"o-modal__top__title\">\n <h2 class=\"a-h2\" id=\"dialog_title\">\n {{ '@pry.search.namedQuery.' + (modalSave ? 'saveTitle' : 'renameTitle') | i18n }}\n </h2>\n </div>\n <div class=\"o-modal__top__close\">\n <button class=\"a-btn a-btn--icon-only\" #cross (keydown.shift.tab)=\"focusElement(this.save)\" (click)=\"onClose()\">\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\n <div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"name\">{{ '@pry.search.namedQuery.name' | i18n }}</label>\n <input [(ngModel)]=\"name\" id=\"name\" type=\"text\" class=\"a-form-field\" required maxlength=\"30\" />\n </div>\n <div class=\"m-form-label-field\">\n <label class=\"a-label\" for=\"description\">{{ '@pry.search.namedQuery.description' | i18n }}</label>\n <input [(ngModel)]=\"description\" id=\"description\" type=\"text\" class=\"a-form-field\" required maxlength=\"200\" />\n </div>\n\n <pry-share [(ngModel)]=\"visibility\"></pry-share>\n\n <div class=\"m-btn-group\">\n <button type=\"button\" (click)=\"onClose()\" class=\"a-btn a-btn--secondary\">\n {{ '@pry.toolbox.manifest.close' | i18n }}\n </button>\n <button\n type=\"button\"\n #save\n (click)=\"onSave()\"\n class=\"a-btn a-btn--primary\"\n [disabled]=\"saveDisabled\"\n (keydown.tab)=\"focusElement(this.cross)\"\n >\n {{ '@pry.toolbox.manifest.check' | i18n }}\n </button>\n </div>\n </div>\n</div>\n" }]
|
|
477
474
|
}], ctorParameters: function () { return [{ type: i1.Store }, { type: i3.PryDialogRef }, { type: undefined, decorators: [{
|
|
478
475
|
type: Inject,
|
|
479
476
|
args: [PRY_DIALOG_DATA]
|