@provoly/dashboard 0.20.3 → 0.20.5
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/components/metadata-editor/style/_o-metadata-editor.scss +0 -5
- package/dataset/components/dataset-detail/dataset-detail.component.d.ts +2 -1
- package/dataset/i18n/en.translations.d.ts +2 -1
- package/dataset/i18n/fr.translations.d.ts +2 -1
- package/dataset/style/_o-pry-dataset-card.scss +4 -37
- package/dataset/style/_o-pry-dataset-detail.scss +2 -53
- package/esm2022/admin/components/admin-abac-rules/admin-abac-rules-form/admin-abac-rules-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +3 -3
- package/esm2022/admin/components/admin-abac-rules/components/metadata-condition/metadata-condition.component.mjs +3 -3
- package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +3 -3
- package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +3 -3
- package/esm2022/admin/components/admin-classes/admin-classes-form/admin-classes-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +15 -10
- package/esm2022/admin/components/admin-dataset/shared/admin-form-dataset/admin-form-dataset.component.mjs +3 -3
- package/esm2022/admin/components/admin-environment/admin-environment-form/admin-environment-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +3 -3
- package/esm2022/admin/components/admin-links/admin-links-new/admin-links-new.component.mjs +3 -3
- package/esm2022/admin/components/admin-menu/admin-menu.component.mjs +3 -3
- package/esm2022/admin/components/admin-metadata/shared/form-metadata/form-metadata.component.mjs +3 -3
- package/esm2022/admin/components/admin-metadata-rules/shared/admin-form-metadata-rules/admin-form-metadata-rules.component.mjs +3 -3
- package/esm2022/components/metadata-editor/metadata-editor.component.mjs +3 -3
- package/esm2022/components/metadata-editor/style/css.component.mjs +2 -2
- package/esm2022/components/scheme-picker/scheme-picker.component.mjs +3 -3
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +5 -5
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +20 -5
- package/esm2022/dataset/i18n/en.translations.mjs +3 -2
- package/esm2022/dataset/i18n/fr.translations.mjs +4 -3
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/filters/autocomplete/autocomplete.component.mjs +19 -6
- package/esm2022/filters/autocomplete/autocomplete.module.mjs +5 -5
- package/esm2022/filters/autocomplete/style/css.component.mjs +2 -2
- package/esm2022/filters/list/list-filter.component.mjs +1 -1
- package/esm2022/import/components/import.component.mjs +3 -3
- package/esm2022/lib/core/components/about/about.component.mjs +3 -3
- package/esm2022/lib/core/components/base-menu/base-menu.component.mjs +3 -3
- package/esm2022/lib/core/components/ellipsis.directive.mjs +31 -0
- package/esm2022/lib/core/components/select/select.component.mjs +193 -39
- package/esm2022/lib/core/components/select/select.module.mjs +4 -5
- package/esm2022/lib/core/components/share/share.component.mjs +3 -3
- package/esm2022/lib/core/components/translate-id/translate-id.pipe.mjs +7 -8
- package/esm2022/lib/core/core.module.mjs +8 -4
- package/esm2022/lib/core/i18n/en.translations.mjs +7 -6
- package/esm2022/lib/core/i18n/fr.translations.mjs +8 -6
- package/esm2022/lib/core/model/display-options.interface.mjs +18 -4
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/public-api.mjs +2 -1
- package/esm2022/lib/core/store/class/class.actions.mjs +1 -4
- package/esm2022/lib/core/store/class/class.effects.mjs +1 -4
- package/esm2022/lib/core/store/class/class.interface.mjs +1 -1
- package/esm2022/lib/core/store/class/class.reducer.mjs +3 -13
- package/esm2022/lib/core/store/class/class.selectors.mjs +1 -3
- package/esm2022/lib/core/store/class/class.service.mjs +1 -9
- package/esm2022/lib/core/store/config/config.selectors.mjs +1 -3
- package/esm2022/lib/core/store/config/config.service.mjs +4 -7
- package/esm2022/lib/core/toolbox/toolbox-manifest.service.mjs +1 -4
- package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +3 -3
- package/esm2022/lib/dashboard/components/widgets/header/widget-header.component.mjs +6 -15
- package/esm2022/lib/dashboard/components/widgets/settings/settings.component.mjs +3 -3
- package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
- package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +1 -4
- package/esm2022/pipeline-components/filter/component/filter.component.mjs +3 -3
- package/esm2022/pipeline-components/input-datasource/component/input-datasource.component.mjs +3 -3
- package/esm2022/pipeline-components/output-dataset/component/output-dataset.component.mjs +3 -3
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +5 -5
- package/esm2022/presentation/components/presentation.component.mjs +3 -3
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +11 -21
- package/esm2022/presentation/i18n/fr.translations.mjs +9 -9
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/components/restitution/restitution.component.mjs +23 -22
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +13 -6
- package/esm2022/restitution/i18n/en.translations.mjs +3 -3
- package/esm2022/restitution/i18n/fr.translations.mjs +4 -4
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/search/i18n/en.translations.mjs +2 -1
- package/esm2022/search/i18n/fr.translations.mjs +2 -1
- package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +3 -3
- package/esm2022/search/search-mono-class/components/search-mono-class/search-mono-class.component.mjs +3 -3
- package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +3 -3
- package/esm2022/search/search-multi-class/components/multi-class-condition/multi-class-condition.component.mjs +3 -3
- package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +3 -3
- package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +3 -3
- package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +3 -3
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +4 -8
- package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +3 -3
- package/esm2022/toolbox/components/named-query/named-query.component.mjs +3 -3
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +3 -3
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +3 -3
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +3 -3
- package/esm2022/toolbox/components/toolbox.component.mjs +4 -3
- package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +8 -2
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +8 -7
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +3 -4
- package/esm2022/widgets/widget-graph/component/widget-graph.component.mjs +3 -3
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +10 -4
- package/esm2022/widgets/widget-map/i18n/en.translations.mjs +3 -2
- package/esm2022/widgets/widget-map/i18n/fr.translations.mjs +3 -2
- package/esm2022/widgets/widget-map/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +7 -7
- package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +3 -3
- package/fesm2022/provoly-dashboard-admin.mjs +40 -35
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs +4 -4
- package/fesm2022/provoly-dashboard-components-metadata-editor.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +2 -2
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +28 -11
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +24 -11
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-list.mjs +1 -1
- package/fesm2022/provoly-dashboard-filters-list.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-import.mjs +2 -2
- package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs +2 -2
- package/fesm2022/provoly-dashboard-pipeline-components-filter.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs +2 -2
- package/fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs +2 -2
- package/fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +24 -34
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +40 -32
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +10 -8
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +22 -25
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +7 -1
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +7 -6
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +2 -3
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-graph.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +15 -7
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +6 -6
- package/fesm2022/provoly-dashboard-widgets-widget-table.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 +286 -135
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/filters/autocomplete/autocomplete.component.d.ts +2 -0
- package/filters/autocomplete/autocomplete.module.d.ts +1 -1
- package/filters/autocomplete/style/_m-autocomplete.scss +16 -3
- package/lib/core/components/ellipsis.directive.d.ts +11 -0
- package/lib/core/components/select/select.component.d.ts +41 -20
- package/lib/core/components/select/select.module.d.ts +4 -5
- package/lib/core/components/translate-id/translate-id.pipe.d.ts +1 -3
- package/lib/core/core.module.d.ts +15 -14
- package/lib/core/i18n/en.translations.d.ts +4 -3
- package/lib/core/i18n/fr.translations.d.ts +5 -3
- package/lib/core/model/display-options.interface.d.ts +11 -0
- package/lib/core/model/manifest.interface.d.ts +1 -5
- package/lib/core/public-api.d.ts +1 -0
- package/lib/core/store/class/class.actions.d.ts +1 -12
- package/lib/core/store/class/class.effects.d.ts +0 -5
- package/lib/core/store/class/class.interface.d.ts +0 -6
- package/lib/core/store/class/class.reducer.d.ts +2 -3
- package/lib/core/store/class/class.selectors.d.ts +0 -1
- package/lib/core/store/class/class.service.d.ts +1 -5
- package/lib/core/store/config/config.selectors.d.ts +0 -1
- package/lib/dashboard/components/widgets/header/widget-header.component.d.ts +2 -5
- package/lib/dashboard/filter/style/_o-pry-filter-group.scss +0 -11
- package/lib/dashboard/store/dashboard.effects.d.ts +0 -1
- package/lib/dashboard/store/dashboard.selectors.d.ts +0 -9
- package/package.json +1 -8
- package/presentation/components/title-presentation/title-presentation.component.d.ts +3 -5
- package/presentation/style/_o-pry-new-presentation.scss +0 -7
- package/presentation/style/_o-pry-presentation.scss +19 -101
- package/restitution/components/restitution-catalog/restitution-catalog.component.d.ts +1 -1
- package/restitution/i18n/en.translations.d.ts +2 -2
- package/restitution/i18n/fr.translations.d.ts +3 -3
- package/restitution/style/_o-restitution.scss +11 -14
- package/schematics/migration.json +6 -1
- package/schematics/ng-update/version-0-20/index.d.ts +2 -0
- package/schematics/ng-update/version-0-20/index.js +19 -0
- package/schematics/ng-update/version-0-20/index.js.map +1 -0
- package/search/i18n/en.translations.d.ts +1 -0
- package/search/i18n/fr.translations.d.ts +1 -0
- package/styles/base/_utils.scss +4 -0
- package/styles/components/_a-pry-select.scss +34 -10
- package/styles/components/_a-tooltip.scss +26 -19
- package/styles/components/_m-filter.scss +11 -20
- package/styles/components/_m-info-icon.scss +16 -0
- package/styles/components/_m-presentation-title.scss +14 -0
- package/styles/components/_o-about.scss +2 -24
- package/styles/components/_o-dashboard.scss +4 -0
- package/styles/components/_o-draggable-menu.scss +1 -1
- package/styles/components/_o-widget.scss +2 -2
- package/styles/main.scss +2 -1
- package/styles-theme/abstracts-theme/variables/_variables-typo.scss +9 -0
- package/styles-theme/components-theme/_a-pry-select.theme.scss +23 -96
- package/styles-theme/components-theme/_a-tooltip.theme.scss +2 -2
- package/styles-theme/components-theme/_o-pry-composed-condition.theme.scss +0 -12
- package/styles-theme/components-theme/_o-pry-dataset.theme.scss +0 -8
- package/styles-theme/components-theme/_o-pry-presentation.theme.scss +1 -1
- package/styles-theme/components-theme/_o-restitution.theme.scss +10 -0
- package/toolbox/components/toolbox.component.d.ts +1 -0
- package/tooltips/attribute/attribute-tooltip.component.d.ts +1 -0
- package/widgets/widget-chart/component/widget-chart.component.d.ts +0 -1
- package/widgets/widget-map/component/widget-map.component.d.ts +2 -0
- package/widgets/widget-map/i18n/en.translations.d.ts +1 -0
- package/widgets/widget-map/i18n/fr.translations.d.ts +1 -0
- package/widgets/widget-map/style/_o-layer-legend.scss +21 -0
- package/esm2022/supervision/components/supervision-business-data/supervision-business-data.component.mjs +0 -34
- package/esm2022/supervision/components/supervision-flow/supervision-flow.component.mjs +0 -33
- package/esm2022/supervision/components/supervision-infrastructures/supervision-infrastructures.component.mjs +0 -51
- package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.mjs +0 -27
- package/esm2022/supervision/components/supervision-integration-errors/supervision-integration-errors.component.mjs +0 -100
- package/esm2022/supervision/components/supervision-layout/supervision-layout.component.mjs +0 -47
- package/esm2022/supervision/components/supervision-menu/supervision-menu.component.mjs +0 -32
- package/esm2022/supervision/components/supervision-title/supervision-title.component.mjs +0 -24
- package/esm2022/supervision/components/supervision.component.mjs +0 -19
- package/esm2022/supervision/i18n/en.translations.mjs +0 -58
- package/esm2022/supervision/i18n/fr.translations.mjs +0 -58
- package/esm2022/supervision/provoly-dashboard-supervision.mjs +0 -5
- package/esm2022/supervision/public-api.mjs +0 -2
- package/esm2022/supervision/store/supervision-api.model.mjs +0 -2
- package/esm2022/supervision/store/supervision.actions.mjs +0 -33
- package/esm2022/supervision/store/supervision.effects.mjs +0 -60
- package/esm2022/supervision/store/supervision.reducer.mjs +0 -111
- package/esm2022/supervision/store/supervision.selectors.mjs +0 -35
- package/esm2022/supervision/store/supervision.service.mjs +0 -54
- package/esm2022/supervision/supervision-routing.module.mjs +0 -96
- package/esm2022/supervision/supervision.module.mjs +0 -96
- package/fesm2022/provoly-dashboard-supervision.mjs +0 -861
- package/fesm2022/provoly-dashboard-supervision.mjs.map +0 -1
- package/supervision/components/supervision-business-data/supervision-business-data.component.d.ts +0 -14
- package/supervision/components/supervision-flow/supervision-flow.component.d.ts +0 -14
- package/supervision/components/supervision-infrastructures/supervision-infrastructures.component.d.ts +0 -18
- package/supervision/components/supervision-integration-errors/supervision-integration-errors-select/supervision-integration-errors-select.component.d.ts +0 -12
- package/supervision/components/supervision-integration-errors/supervision-integration-errors.component.d.ts +0 -29
- package/supervision/components/supervision-layout/supervision-layout.component.d.ts +0 -21
- package/supervision/components/supervision-menu/supervision-menu.component.d.ts +0 -13
- package/supervision/components/supervision-title/supervision-title.component.d.ts +0 -11
- package/supervision/components/supervision.component.d.ts +0 -9
- package/supervision/i18n/en.translations.d.ts +0 -57
- package/supervision/i18n/fr.translations.d.ts +0 -57
- package/supervision/index.d.ts +0 -5
- package/supervision/public-api.d.ts +0 -1
- package/supervision/store/supervision-api.model.d.ts +0 -36
- package/supervision/store/supervision.actions.d.ts +0 -121
- package/supervision/store/supervision.effects.d.ts +0 -51
- package/supervision/store/supervision.reducer.d.ts +0 -22
- package/supervision/store/supervision.selectors.d.ts +0 -18
- package/supervision/store/supervision.service.d.ts +0 -19
- package/supervision/supervision-routing.module.d.ts +0 -7
- package/supervision/supervision.module.d.ts +0 -25
|
@@ -7,10 +7,12 @@ export declare class AutocompleteComponent extends BaseFilterComponent implement
|
|
|
7
7
|
private searchService;
|
|
8
8
|
search$: BehaviorSubject<string>;
|
|
9
9
|
autocomplete$?: Observable<string[]>;
|
|
10
|
+
loader: boolean;
|
|
10
11
|
constructor(store: Store, searchService: SearchService);
|
|
11
12
|
ngOnInit(): void;
|
|
12
13
|
setFilter(value: string): void;
|
|
13
14
|
updateSearch($event?: Event): void;
|
|
15
|
+
clear(): void;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
15
17
|
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "pry-autocomplete", never, {}, {}, never, never, false, never>;
|
|
16
18
|
}
|
|
@@ -9,6 +9,6 @@ import * as i5 from "@provoly/dashboard";
|
|
|
9
9
|
export declare class PryAutocompleteModule extends BaseFilterModule {
|
|
10
10
|
getComponent(): Type<BaseFilterComponent>;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAutocompleteModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryAutocompleteModule, [typeof i1.AutocompleteComponent, typeof i2.PryAutocompleteCssComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.PrySelectModule], [typeof i1.AutocompleteComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryAutocompleteModule, [typeof i1.AutocompleteComponent, typeof i2.PryAutocompleteCssComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i4.FormsModule, typeof i5.PrySelectModule, typeof i5.PryIconModule, typeof i5.PryI18nModule], [typeof i1.AutocompleteComponent]>;
|
|
13
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryAutocompleteModule>;
|
|
14
14
|
}
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
@use '../../../styles/abstracts/index' as *;
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
pry-autocomplete {
|
|
4
|
+
.m-filter__input-wrapper {
|
|
5
|
+
height: toRem(30);
|
|
6
|
+
padding-left: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.a-pry-select {
|
|
10
|
+
border: none;
|
|
11
|
+
padding: 0;
|
|
12
|
+
outline: none;
|
|
13
|
+
|
|
14
|
+
&:focus-within {
|
|
15
|
+
outline: 0;
|
|
16
|
+
border-radius: 0;
|
|
17
|
+
box-shadow: none;
|
|
18
|
+
}
|
|
6
19
|
}
|
|
7
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EllipsisDirective implements AfterViewInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private renderer;
|
|
6
|
+
textElementSelector: string;
|
|
7
|
+
constructor(elementRef: ElementRef, renderer: Renderer2);
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[ellipsis]", never, { "textElementSelector": { "alias": "textElementSelector"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,42 +1,63 @@
|
|
|
1
|
-
import { ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
5
|
+
import { SubscriptionnerDirective } from '../../../dashboard/components/subscriptionner.directive';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PrySelectComponent implements ControlValueAccessor {
|
|
7
|
+
export declare class PrySelectComponent extends SubscriptionnerDirective implements ControlValueAccessor {
|
|
5
8
|
private _cd;
|
|
9
|
+
private overlay;
|
|
10
|
+
private viewContainerRef;
|
|
6
11
|
id: number;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
12
|
+
_items$: BehaviorSubject<any[]>;
|
|
13
|
+
matchingItems$: Observable<any>;
|
|
14
|
+
open: boolean;
|
|
15
|
+
activeDescendant: number;
|
|
16
|
+
valueItems$: Observable<any>;
|
|
17
|
+
value$: BehaviorSubject<any>;
|
|
18
|
+
searchSelected$: BehaviorSubject<boolean>;
|
|
19
|
+
set items(items: any[] | null | undefined);
|
|
11
20
|
clearable: boolean;
|
|
12
21
|
multiple: boolean;
|
|
13
|
-
multipleClearRight: boolean;
|
|
14
22
|
closeOnSelect: boolean;
|
|
15
23
|
placeholder?: string;
|
|
16
24
|
isForm: boolean;
|
|
17
25
|
required?: any;
|
|
18
26
|
name?: any;
|
|
19
27
|
readonly: boolean;
|
|
20
|
-
get disabled(): boolean;
|
|
21
|
-
items: any[] | null;
|
|
22
|
-
itemsAsOption: boolean;
|
|
23
|
-
bindData: boolean;
|
|
24
|
-
bindValue: any;
|
|
25
|
-
bindLabel: any;
|
|
26
|
-
bindIcon: any;
|
|
27
|
-
iconSize: number[];
|
|
28
|
-
templateLabel?: TemplateRef<any>;
|
|
29
|
-
templateOption?: TemplateRef<any>;
|
|
30
28
|
autocomplete: boolean;
|
|
31
|
-
|
|
29
|
+
bindValue: string | undefined;
|
|
30
|
+
bindLabel: string | undefined;
|
|
31
|
+
iconSize: number[];
|
|
32
|
+
bindIcon: any;
|
|
33
|
+
template?: TemplateRef<any>;
|
|
34
|
+
i18nPrefix: string | null;
|
|
35
|
+
searched: EventEmitter<string>;
|
|
36
|
+
cleared: EventEmitter<void>;
|
|
37
|
+
search$: BehaviorSubject<string>;
|
|
38
|
+
get disabled(): boolean;
|
|
39
|
+
overlayRef?: OverlayRef;
|
|
40
|
+
optionsModal: TemplateRef<any>;
|
|
41
|
+
selectElement: ElementRef<HTMLDivElement>;
|
|
42
|
+
elementRef: HTMLDivElement;
|
|
32
43
|
private _onChange;
|
|
33
44
|
private _onTouched;
|
|
34
45
|
private _disabled;
|
|
35
|
-
|
|
46
|
+
focused: boolean;
|
|
47
|
+
modalWidth: number;
|
|
48
|
+
get modalId(): string;
|
|
49
|
+
constructor(_cd: ChangeDetectorRef, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
36
50
|
registerOnChange(fn: any): void;
|
|
37
51
|
registerOnTouched(fn: any): void;
|
|
38
52
|
setDisabledState(isDisabled: boolean): void;
|
|
39
53
|
writeValue(obj: any): void;
|
|
54
|
+
clear($event: Event, item: any): void;
|
|
55
|
+
clearAll($event: Event): void;
|
|
56
|
+
search($event: string): void;
|
|
57
|
+
select($event: Event, item: any, index: number): void;
|
|
58
|
+
toggle(force?: boolean): void;
|
|
59
|
+
private getOverlayConfig;
|
|
60
|
+
get _elementRef(): HTMLDivElement;
|
|
40
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectComponent, "pry-select", never, { "
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PrySelectComponent, "pry-select", never, { "items": { "alias": "items"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "isForm": { "alias": "isForm"; "required": false; }; "required": { "alias": "required"; "required": false; }; "name": { "alias": "name"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "autocomplete": { "alias": "autocomplete"; "required": false; }; "bindValue": { "alias": "bindValue"; "required": false; }; "bindLabel": { "alias": "bindLabel"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "bindIcon": { "alias": "bindIcon"; "required": false; }; "template": { "alias": "template"; "required": false; }; "i18nPrefix": { "alias": "i18nPrefix"; "required": false; }; "elementRef": { "alias": "elementRef"; "required": false; }; }, { "searched": "searched"; "cleared": "cleared"; }, never, never, false, never>;
|
|
42
63
|
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./select.component";
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "../../i18n/i18n.module";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../icon/icon.module";
|
|
6
|
+
import * as i5 from "../../i18n/i18n.module";
|
|
8
7
|
export declare class PrySelectModule {
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrySelectModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.CommonModule, typeof i3.
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrySelectModule, [typeof i1.PrySelectComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PryIconModule, typeof i5.PryI18nModule], [typeof i1.PrySelectComponent]>;
|
|
11
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrySelectModule>;
|
|
12
11
|
}
|
|
@@ -4,16 +4,14 @@ import { Store } from '@ngrx/store';
|
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { PryI18nService } from '../../i18n/i18n.service';
|
|
6
6
|
import { NamedQuery } from '../../store/data-source/data-source.model';
|
|
7
|
-
import { ImageService } from '../../store/image/image.service';
|
|
8
7
|
import { SymbolService } from '../../symbol/symbol.service';
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
export declare const UNKNOWN_DATASOURCE: (id: string) => NamedQuery;
|
|
11
10
|
export declare class TranslateIdPipe implements PipeTransform {
|
|
12
11
|
private store;
|
|
13
12
|
private translateService;
|
|
14
|
-
private imageService;
|
|
15
13
|
private symbolService;
|
|
16
|
-
constructor(store: Store<any>, translateService: PryI18nService,
|
|
14
|
+
constructor(store: Store<any>, translateService: PryI18nService, symbolService: SymbolService);
|
|
17
15
|
transform(value: string | string[], ...args: unknown[]): Observable<string | string[] | SafeUrl | null>;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateIdPipe, never>;
|
|
19
17
|
static ɵpipe: i0.ɵɵPipeDeclaration<TranslateIdPipe, "translateId", false>;
|
|
@@ -15,19 +15,20 @@ import * as i11 from "./components/accordion/accordion.component";
|
|
|
15
15
|
import * as i12 from "./components/accordion/accordion-item/accordion-item.component";
|
|
16
16
|
import * as i13 from "./components/tabs/tab-group.component";
|
|
17
17
|
import * as i14 from "./components/tabs/tab.component";
|
|
18
|
-
import * as i15 from "./components/
|
|
19
|
-
import * as i16 from "
|
|
20
|
-
import * as i17 from "@angular/
|
|
21
|
-
import * as i18 from "@angular/
|
|
22
|
-
import * as i19 from "@
|
|
23
|
-
import * as i20 from "@ngrx/
|
|
24
|
-
import * as i21 from "
|
|
25
|
-
import * as i22 from "
|
|
26
|
-
import * as i23 from "
|
|
27
|
-
import * as i24 from "./
|
|
28
|
-
import * as i25 from "./
|
|
29
|
-
import * as i26 from "
|
|
30
|
-
import * as i27 from "@angular/
|
|
18
|
+
import * as i15 from "./components/ellipsis.directive";
|
|
19
|
+
import * as i16 from "./components/base-toolbox-action/base-toolbox-action.component";
|
|
20
|
+
import * as i17 from "@angular/common";
|
|
21
|
+
import * as i18 from "@angular/router";
|
|
22
|
+
import * as i19 from "@angular/common/http";
|
|
23
|
+
import * as i20 from "@ngrx/store";
|
|
24
|
+
import * as i21 from "@ngrx/effects";
|
|
25
|
+
import * as i22 from "./components/icon/icon.module";
|
|
26
|
+
import * as i23 from "@angular/cdk/overlay";
|
|
27
|
+
import * as i24 from "./components/overlay/overlay.module";
|
|
28
|
+
import * as i25 from "./i18n/i18n.module";
|
|
29
|
+
import * as i26 from "./components/modal-status/modal-status.module";
|
|
30
|
+
import * as i27 from "@angular/cdk/accordion";
|
|
31
|
+
import * as i28 from "@angular/forms";
|
|
31
32
|
export declare class PryCoreModule {
|
|
32
33
|
private pryTranslateService;
|
|
33
34
|
constructor(pryTranslateService: PryI18nService);
|
|
@@ -37,6 +38,6 @@ export declare class PryCoreModule {
|
|
|
37
38
|
geoAuthProvider?: Provider;
|
|
38
39
|
}): ModuleWithProviders<PryCoreModule>;
|
|
39
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryCoreModule, never>;
|
|
40
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.BaseToolboxActionComponent], [typeof
|
|
41
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryCoreModule, [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.EllipsisDirective, typeof i16.BaseToolboxActionComponent], [typeof i17.CommonModule, typeof i18.RouterModule, typeof i19.HttpClientModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i20.StoreFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i21.EffectsFeatureModule, typeof i22.PryIconModule, typeof i23.OverlayModule, typeof i24.PryOverlayModule, typeof i25.PryI18nModule, typeof i26.PryModalStatusModule, typeof i27.CdkAccordionModule, typeof i28.FormsModule], [typeof i1.TranslateIdPipe, typeof i2.TranslateItemToSymbolPipe, typeof i3.GetSecuredImagePipe, typeof i4.BaseLayoutComponent, typeof i5.BaseMenuComponent, typeof i6.BaseToolboxComponent, typeof i7.PryNqColorSelectorComponent, typeof i8.PryAccessDirective, typeof i9.PryUploadComponent, typeof i10.PrySelectImageComponent, typeof i11.AccordionComponent, typeof i12.AccordionItemComponent, typeof i13.TabGroupComponent, typeof i14.TabComponent, typeof i15.EllipsisDirective]>;
|
|
41
42
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryCoreModule>;
|
|
42
43
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare const enTranslations: {
|
|
2
2
|
'@pry': {
|
|
3
|
+
select: {
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
3
6
|
about: {
|
|
4
7
|
front: string;
|
|
5
8
|
ref: string;
|
|
@@ -7,7 +10,6 @@ export declare const enTranslations: {
|
|
|
7
10
|
replay: string;
|
|
8
11
|
exec: string;
|
|
9
12
|
transfo: string;
|
|
10
|
-
monitor: string;
|
|
11
13
|
noVersion: string;
|
|
12
14
|
};
|
|
13
15
|
header: {
|
|
@@ -26,7 +28,6 @@ export declare const enTranslations: {
|
|
|
26
28
|
defineCatalog: string;
|
|
27
29
|
buttonChoice: string;
|
|
28
30
|
tooltip: {
|
|
29
|
-
openParameter: string;
|
|
30
31
|
params: string;
|
|
31
32
|
readSearch: string;
|
|
32
33
|
deleteWidget: string;
|
|
@@ -114,7 +115,6 @@ export declare const enTranslations: {
|
|
|
114
115
|
detail: string;
|
|
115
116
|
chart: string;
|
|
116
117
|
resultSet: string;
|
|
117
|
-
saveView: string;
|
|
118
118
|
rename: string;
|
|
119
119
|
restore: string;
|
|
120
120
|
save: string;
|
|
@@ -335,6 +335,7 @@ export declare const enTranslations: {
|
|
|
335
335
|
values: string;
|
|
336
336
|
validate: string;
|
|
337
337
|
limit: string;
|
|
338
|
+
dateRange: string;
|
|
338
339
|
};
|
|
339
340
|
attributes: {
|
|
340
341
|
datasource: string;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export declare const frTranslations: {
|
|
2
2
|
'@pry': {
|
|
3
|
+
select: {
|
|
4
|
+
label: string;
|
|
5
|
+
};
|
|
3
6
|
about: {
|
|
4
7
|
front: string;
|
|
5
8
|
ref: string;
|
|
@@ -7,7 +10,6 @@ export declare const frTranslations: {
|
|
|
7
10
|
replay: string;
|
|
8
11
|
exec: string;
|
|
9
12
|
transfo: string;
|
|
10
|
-
monitor: string;
|
|
11
13
|
noVersion: string;
|
|
12
14
|
};
|
|
13
15
|
header: {
|
|
@@ -26,7 +28,6 @@ export declare const frTranslations: {
|
|
|
26
28
|
defineCatalog: string;
|
|
27
29
|
buttonChoice: string;
|
|
28
30
|
tooltip: {
|
|
29
|
-
openParameter: string;
|
|
30
31
|
params: string;
|
|
31
32
|
readSearch: string;
|
|
32
33
|
deleteWidget: string;
|
|
@@ -114,10 +115,10 @@ export declare const frTranslations: {
|
|
|
114
115
|
detail: string;
|
|
115
116
|
chart: string;
|
|
116
117
|
resultSet: string;
|
|
117
|
-
saveView: string;
|
|
118
118
|
rename: string;
|
|
119
119
|
restore: string;
|
|
120
120
|
save: string;
|
|
121
|
+
share: string;
|
|
121
122
|
drag: string;
|
|
122
123
|
dragIndication: string;
|
|
123
124
|
barchart: string;
|
|
@@ -335,6 +336,7 @@ export declare const frTranslations: {
|
|
|
335
336
|
values: string;
|
|
336
337
|
validate: string;
|
|
337
338
|
limit: string;
|
|
339
|
+
dateRange: string;
|
|
338
340
|
};
|
|
339
341
|
attributes: {
|
|
340
342
|
datasource: string;
|
|
@@ -5,6 +5,8 @@ export interface DisplayOptions {
|
|
|
5
5
|
catalog: boolean;
|
|
6
6
|
useFilters: boolean;
|
|
7
7
|
toolbox: ToolboxDisplayOptions;
|
|
8
|
+
edit_toggle: boolean;
|
|
9
|
+
widgetContextMenu: boolean | WidgetContextMenuDisplayOptions;
|
|
8
10
|
}
|
|
9
11
|
export interface ToolboxDisplayOptions {
|
|
10
12
|
save_view: boolean;
|
|
@@ -16,5 +18,14 @@ export interface ToolboxDisplayOptions {
|
|
|
16
18
|
refresh_datasets: boolean;
|
|
17
19
|
automate_refresh: boolean;
|
|
18
20
|
}
|
|
21
|
+
export interface WidgetContextMenuDisplayOptions {
|
|
22
|
+
datasourceSelection: boolean;
|
|
23
|
+
parameters: boolean;
|
|
24
|
+
window: boolean;
|
|
25
|
+
maximize: boolean;
|
|
26
|
+
addToCatalog: boolean;
|
|
27
|
+
delete: boolean;
|
|
28
|
+
changeSpot: boolean;
|
|
29
|
+
}
|
|
19
30
|
export declare const BASE_DISPLAY_OPTIONS: DisplayOptions;
|
|
20
31
|
export declare function getDisplayOptions(mode?: ViewMode): DisplayOptions;
|
|
@@ -65,7 +65,6 @@ export interface GlobalManifest {
|
|
|
65
65
|
refreshRates?: {
|
|
66
66
|
[key: string]: number;
|
|
67
67
|
};
|
|
68
|
-
locked?: boolean;
|
|
69
68
|
filters?: Filter[];
|
|
70
69
|
}
|
|
71
70
|
export interface WidgetManifest {
|
|
@@ -74,10 +73,7 @@ export interface WidgetManifest {
|
|
|
74
73
|
layout: WidgetLayout;
|
|
75
74
|
options?: WidgetOptions;
|
|
76
75
|
datasource?: string | string[];
|
|
77
|
-
header?: boolean
|
|
78
|
-
[key: string]: boolean;
|
|
79
|
-
};
|
|
80
|
-
locked?: boolean;
|
|
76
|
+
header?: boolean;
|
|
81
77
|
cover?: boolean;
|
|
82
78
|
contextMenu?: boolean;
|
|
83
79
|
}
|
package/lib/core/public-api.d.ts
CHANGED
|
@@ -119,3 +119,4 @@ export * from './i18n/deep-merge.function';
|
|
|
119
119
|
export * from './errors/http-error-interceptor.service';
|
|
120
120
|
export * from './components/about/pry-about.module';
|
|
121
121
|
export * from './components/about/about.component';
|
|
122
|
+
export * from './components/ellipsis.directive';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Class } from './class.interface';
|
|
2
2
|
import { DatasetCount } from '../../model/dataset.interface';
|
|
3
3
|
export declare const ClassActions: {
|
|
4
4
|
load: import("@ngrx/store").ActionCreator<"[Class] Load Classes", () => import("@ngrx/store/src/models").TypedAction<"[Class] Load Classes">>;
|
|
@@ -12,17 +12,6 @@ export declare const ClassActions: {
|
|
|
12
12
|
}) => {
|
|
13
13
|
error: string;
|
|
14
14
|
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load Classes Failure">>;
|
|
15
|
-
loadBusinessData: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData", () => import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData">>;
|
|
16
|
-
loadBusinessDataSuccess: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData Success", (props: {
|
|
17
|
-
datas: BusinessData[];
|
|
18
|
-
}) => {
|
|
19
|
-
datas: BusinessData[];
|
|
20
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Success">>;
|
|
21
|
-
loadBusinessDataFailure: import("@ngrx/store").ActionCreator<"[Class Api] Load BusinessData Failure", (props: {
|
|
22
|
-
error: any;
|
|
23
|
-
}) => {
|
|
24
|
-
error: any;
|
|
25
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Failure">>;
|
|
26
15
|
loadDatasetCount: import("@ngrx/store").ActionCreator<"[Class Api] Load DatasetCount", () => import("@ngrx/store/src/models").TypedAction<"[Class Api] Load DatasetCount">>;
|
|
27
16
|
loadDatasetCountSuccess: import("@ngrx/store").ActionCreator<"[Class Api] Load DatasetCount Success", (props: {
|
|
28
17
|
datasetCounts: DatasetCount[];
|
|
@@ -9,11 +9,6 @@ export declare class ClassEffects {
|
|
|
9
9
|
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] (bus) Load Classes Success">) | ({
|
|
10
10
|
error: string;
|
|
11
11
|
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load Classes Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
12
|
-
loadBusinessData$: import("rxjs").Observable<({
|
|
13
|
-
datas: import("@provoly/dashboard").BusinessData[];
|
|
14
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Success">) | ({
|
|
15
|
-
error: any;
|
|
16
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load BusinessData Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
17
12
|
loadDatasetCount$: import("rxjs").Observable<({
|
|
18
13
|
datasetCounts: import("@provoly/dashboard").DatasetCount[];
|
|
19
14
|
} & import("@ngrx/store/src/models").TypedAction<"[Class Api] Load DatasetCount Success">) | ({
|
|
@@ -13,12 +13,6 @@ export interface Attribute {
|
|
|
13
13
|
category?: string;
|
|
14
14
|
multiValued: boolean;
|
|
15
15
|
}
|
|
16
|
-
export interface BusinessData {
|
|
17
|
-
name: string;
|
|
18
|
-
count: number;
|
|
19
|
-
date: string;
|
|
20
|
-
icon?: string;
|
|
21
|
-
}
|
|
22
16
|
export interface Associations {
|
|
23
17
|
id: string;
|
|
24
18
|
associations: [
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { EntityAdapter, EntityState } from '@ngrx/entity';
|
|
2
2
|
import { Action } from '@ngrx/store';
|
|
3
3
|
import { DatasetCount } from '../../model/dataset.interface';
|
|
4
|
-
import {
|
|
4
|
+
import { Class } from './class.interface';
|
|
5
5
|
export declare const classesFeatureKey = "@pry/model/classes";
|
|
6
6
|
export interface ClassState extends EntityState<Class> {
|
|
7
7
|
loading: boolean;
|
|
8
|
-
classDatas: BusinessData[];
|
|
9
8
|
datasetCounts: DatasetCount[];
|
|
10
9
|
}
|
|
11
10
|
export declare function sortByName(a: Class, b: Class): number;
|
|
12
11
|
export declare const adapter: EntityAdapter<Class>;
|
|
13
12
|
export declare const initialClassState: ClassState;
|
|
14
|
-
export declare const
|
|
13
|
+
export declare const selectEntities: (state: EntityState<Class>) => import("@ngrx/entity").Dictionary<Class>, selectAll: (state: EntityState<Class>) => Class[];
|
|
15
14
|
export declare function classReducer(state: ClassState, action: Action): ClassState;
|
|
@@ -87,7 +87,6 @@ export declare const ClassSelectors: {
|
|
|
87
87
|
category?: string | undefined;
|
|
88
88
|
multiValued: boolean;
|
|
89
89
|
}[]>;
|
|
90
|
-
classDatas: import("@ngrx/store").MemoizedSelector<object, import("./class.interface").BusinessData[], (s1: fromClass.ClassState) => import("./class.interface").BusinessData[]>;
|
|
91
90
|
datasetCounts: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").DatasetCount[], (s1: fromClass.ClassState) => import("@provoly/dashboard").DatasetCount[]>;
|
|
92
91
|
getAttributeById: (id: string) => import("@ngrx/store").MemoizedSelector<object, {
|
|
93
92
|
technicalName: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import {
|
|
4
|
+
import { Class } from './class.interface';
|
|
5
5
|
import { DatasetCount } from '../../model/dataset.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class ClassService {
|
|
@@ -12,10 +12,6 @@ export declare class ClassService {
|
|
|
12
12
|
* Returns the list of business classes
|
|
13
13
|
*/
|
|
14
14
|
getClasses(): Observable<Array<Class>>;
|
|
15
|
-
/**
|
|
16
|
-
* Returns classes usage
|
|
17
|
-
*/
|
|
18
|
-
getBusinessDatas(): Observable<BusinessData[]>;
|
|
19
15
|
getDatasetCounts(): Observable<DatasetCount[]>;
|
|
20
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClassService, never>;
|
|
21
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<ClassService>;
|
|
@@ -7,7 +7,6 @@ export declare const ConfigSelectors: {
|
|
|
7
7
|
refUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
|
|
8
8
|
transfoUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
|
|
9
9
|
wsUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
|
|
10
|
-
monitorUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
|
|
11
10
|
replayUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
|
|
12
11
|
mapUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
|
|
13
12
|
geoServerUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: fromConfig.ConfigState) => string>;
|
|
@@ -8,6 +8,7 @@ import { Dataset, DataSource, NamedQuery } from '../../../../core/store/data-sou
|
|
|
8
8
|
import { LibraryTypes } from '../../../../core/store/image/image.service';
|
|
9
9
|
import { ToolboxMenuService } from '../../../../core/toolbox/toolbox-menu.service';
|
|
10
10
|
import { SubscriptionnerDirective } from '../../subscriptionner.directive';
|
|
11
|
+
import { WidgetContextMenuDisplayOptions } from '../../../../core/model/display-options.interface';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare const WIDGET_HEADER_HEIGHT = 30;
|
|
13
14
|
export type HeaderAction = {
|
|
@@ -56,7 +57,7 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective i
|
|
|
56
57
|
catalogInfo: Widget;
|
|
57
58
|
set datasourceIds(datasourceIds: string[]);
|
|
58
59
|
set widgetIndex(widgetIndex: number);
|
|
59
|
-
|
|
60
|
+
displayContextMenu$: Observable<boolean | WidgetContextMenuDisplayOptions>;
|
|
60
61
|
targetIndexes$: Observable<number[]>;
|
|
61
62
|
_widgetIndex$: BehaviorSubject<number>;
|
|
62
63
|
_widgetIndex: number;
|
|
@@ -90,10 +91,6 @@ export declare class PryWidgetHeaderComponent extends SubscriptionnerDirective i
|
|
|
90
91
|
confirmCatalog(): void;
|
|
91
92
|
executeAction(options: HeaderAction): void;
|
|
92
93
|
isActionDisabled(option: HeaderAction): boolean;
|
|
93
|
-
displayOption(headerOptions: any, parameters: string): boolean;
|
|
94
|
-
displaySettings(headerOptions: {
|
|
95
|
-
[p: string]: boolean;
|
|
96
|
-
} | {} | undefined): boolean;
|
|
97
94
|
toggleChangeSpot(): void;
|
|
98
95
|
moveToPlace(place: WidgetManifest): void;
|
|
99
96
|
focusCrossElement(): void;
|
|
@@ -18,17 +18,6 @@
|
|
|
18
18
|
padding: toRem(4) 0;
|
|
19
19
|
overflow-x: auto;
|
|
20
20
|
overflow-y: hidden;
|
|
21
|
-
|
|
22
|
-
&:has(ng-dropdown-panel.ng-dropdown-panel) {
|
|
23
|
-
padding-bottom: 350px; // max ng-select dropdown length
|
|
24
|
-
background-clip: content-box, padding-box;
|
|
25
|
-
overflow-x: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&--ng-select-open {
|
|
29
|
-
padding-bottom: 350px; // max ng-select dropdown length
|
|
30
|
-
background-clip: content-box, padding-box;
|
|
31
|
-
}
|
|
32
21
|
}
|
|
33
22
|
|
|
34
23
|
&__filter-actions {
|
|
@@ -148,7 +148,6 @@ export declare class DashboardEffects {
|
|
|
148
148
|
refreshRates?: {
|
|
149
149
|
[key: string]: number;
|
|
150
150
|
} | undefined;
|
|
151
|
-
locked?: boolean | undefined;
|
|
152
151
|
filters?: import("@provoly/dashboard").Filter[] | undefined;
|
|
153
152
|
}]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
154
153
|
saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
|
|
@@ -31,7 +31,6 @@ export declare const DashboardSelectors: {
|
|
|
31
31
|
refreshRates?: {
|
|
32
32
|
[key: string]: number;
|
|
33
33
|
} | undefined;
|
|
34
|
-
locked?: boolean | undefined;
|
|
35
34
|
filters?: Filter[] | undefined;
|
|
36
35
|
}, (s1: {
|
|
37
36
|
sender: string;
|
|
@@ -46,7 +45,6 @@ export declare const DashboardSelectors: {
|
|
|
46
45
|
refreshRates?: {
|
|
47
46
|
[key: string]: number;
|
|
48
47
|
} | undefined;
|
|
49
|
-
locked?: boolean | undefined;
|
|
50
48
|
filters?: Filter[] | undefined;
|
|
51
49
|
}>;
|
|
52
50
|
manifestDatasources: MemoizedSelector<object, {
|
|
@@ -57,7 +55,6 @@ export declare const DashboardSelectors: {
|
|
|
57
55
|
refreshRates?: {
|
|
58
56
|
[key: string]: number;
|
|
59
57
|
} | undefined;
|
|
60
|
-
locked?: boolean | undefined;
|
|
61
58
|
filters?: Filter[] | undefined;
|
|
62
59
|
}) => {
|
|
63
60
|
datasetId: string;
|
|
@@ -70,7 +67,6 @@ export declare const DashboardSelectors: {
|
|
|
70
67
|
refreshRates?: {
|
|
71
68
|
[key: string]: number;
|
|
72
69
|
} | undefined;
|
|
73
|
-
locked?: boolean | undefined;
|
|
74
70
|
filters?: Filter[] | undefined;
|
|
75
71
|
}) => {
|
|
76
72
|
[key: string]: number;
|
|
@@ -80,7 +76,6 @@ export declare const DashboardSelectors: {
|
|
|
80
76
|
refreshRates?: {
|
|
81
77
|
[key: string]: number;
|
|
82
78
|
} | undefined;
|
|
83
|
-
locked?: boolean | undefined;
|
|
84
79
|
filters?: Filter[] | undefined;
|
|
85
80
|
}, s2: number) => DashboardManifest>;
|
|
86
81
|
widgetManifest: (index: number) => MemoizedSelector<DashboardManifest, WidgetManifest, import("@ngrx/store").DefaultProjectorFn<WidgetManifest>>;
|
|
@@ -150,7 +145,6 @@ export declare const DashboardSelectors: {
|
|
|
150
145
|
refreshRates?: {
|
|
151
146
|
[key: string]: number;
|
|
152
147
|
} | undefined;
|
|
153
|
-
locked?: boolean | undefined;
|
|
154
148
|
filters?: Filter[] | undefined;
|
|
155
149
|
}) => {
|
|
156
150
|
[key: string]: {
|
|
@@ -270,7 +264,6 @@ export declare const DashboardSelectors: {
|
|
|
270
264
|
refreshRates?: {
|
|
271
265
|
[key: string]: number;
|
|
272
266
|
} | undefined;
|
|
273
|
-
locked?: boolean | undefined;
|
|
274
267
|
filters?: Filter[] | undefined;
|
|
275
268
|
}, (s1: {
|
|
276
269
|
sender: string;
|
|
@@ -285,7 +278,6 @@ export declare const DashboardSelectors: {
|
|
|
285
278
|
refreshRates?: {
|
|
286
279
|
[key: string]: number;
|
|
287
280
|
} | undefined;
|
|
288
|
-
locked?: boolean | undefined;
|
|
289
281
|
filters?: Filter[] | undefined;
|
|
290
282
|
}>;
|
|
291
283
|
loading: MemoizedSelector<object, boolean, (s1: {
|
|
@@ -335,7 +327,6 @@ export declare const DashboardSelectors: {
|
|
|
335
327
|
refreshRates?: {
|
|
336
328
|
[key: string]: number;
|
|
337
329
|
} | undefined;
|
|
338
|
-
locked?: boolean | undefined;
|
|
339
330
|
filters?: Filter[] | undefined;
|
|
340
331
|
}) => boolean>;
|
|
341
332
|
isCurrentPresentationOwner: MemoizedSelector<object, boolean, (s1: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
"@angular/core": "15.x || 16.x",
|
|
9
9
|
"@angular/platform-browser": "15.x || 16.x",
|
|
10
10
|
"@angular/router": "15.x || 16.x",
|
|
11
|
-
"@ng-select/ng-select": "11.2.0",
|
|
12
11
|
"@ngrx/effects": "16.x",
|
|
13
12
|
"@ngrx/entity": "16.x",
|
|
14
13
|
"@ngrx/store": "16.x",
|
|
@@ -127,12 +126,6 @@
|
|
|
127
126
|
"esm": "./esm2022/search/provoly-dashboard-search.mjs",
|
|
128
127
|
"default": "./fesm2022/provoly-dashboard-search.mjs"
|
|
129
128
|
},
|
|
130
|
-
"./supervision": {
|
|
131
|
-
"types": "./supervision/index.d.ts",
|
|
132
|
-
"esm2022": "./esm2022/supervision/provoly-dashboard-supervision.mjs",
|
|
133
|
-
"esm": "./esm2022/supervision/provoly-dashboard-supervision.mjs",
|
|
134
|
-
"default": "./fesm2022/provoly-dashboard-supervision.mjs"
|
|
135
|
-
},
|
|
136
129
|
"./toolbox": {
|
|
137
130
|
"types": "./toolbox/index.d.ts",
|
|
138
131
|
"esm2022": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|