@provoly/dashboard 1.3.8 → 1.3.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-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.d.ts +5 -2
- package/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.d.ts +47 -18
- package/admin/components/admin-fields/admin-fields-select/admin-fields-select.component.d.ts +6 -2
- package/admin/components/admin-fields/admin-fields.component.d.ts +4 -1
- package/admin/components/admin-fields/store/admin-fields.model.d.ts +1 -1
- package/admin/components/admin-fields/store/fields.actions.d.ts +19 -12
- package/admin/components/admin-fields/store/fields.effects.d.ts +16 -3
- package/admin/i18n/en.translations.d.ts +33 -14
- package/admin/i18n/fr.translations.d.ts +33 -14
- package/components/checkbox/checkbox.component.d.ts +4 -2
- package/components/data-format/data-format.pipe.d.ts +11 -1
- package/components/paginator/index.d.ts +5 -0
- package/components/paginator/paginator.component.d.ts +19 -0
- package/components/paginator/paginator.module.d.ts +10 -0
- package/components/paginator/public-api.d.ts +3 -0
- package/components/paginator/style/_o-pry-paginator.scss +11 -0
- package/components/paginator/style/css.component.d.ts +5 -0
- package/dataset/components/dataset-detail/dataset-detail.component.d.ts +5 -8
- package/dataset/dataset.module.d.ts +1 -1
- package/dataset/i18n/en.translations.d.ts +0 -12
- package/dataset/i18n/fr.translations.d.ts +0 -12
- package/esm2022/admin/components/admin-abac-rules/components/attribute-condition/attribute-condition.component.mjs +4 -6
- package/esm2022/admin/components/admin-classes/admin-classes-customize/symbol/admin-classes-customize-symbol.component.mjs +1 -1
- package/esm2022/admin/components/admin-classes/admin-classes-customize/tooltip/admin-classes-customize-tooltip.component.mjs +1 -1
- package/esm2022/admin/components/admin-classes/admin-classes-view/admin-attributes-form/admin-attributes-form.component.mjs +10 -12
- package/esm2022/admin/components/admin-classes/admin-classes-view/admin-classes-view.component.mjs +6 -5
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +2 -2
- package/esm2022/admin/components/admin-fields/admin-fields-form/admin-fields-form.component.mjs +142 -63
- package/esm2022/admin/components/admin-fields/admin-fields-select/admin-fields-select.component.mjs +7 -8
- package/esm2022/admin/components/admin-fields/admin-fields.component.mjs +15 -11
- package/esm2022/admin/components/admin-fields/store/admin-fields.model.mjs +1 -1
- package/esm2022/admin/components/admin-fields/store/fields.actions.mjs +6 -5
- package/esm2022/admin/components/admin-fields/store/fields.effects.mjs +12 -6
- package/esm2022/admin/i18n/en.translations.mjs +34 -15
- package/esm2022/admin/i18n/fr.translations.mjs +34 -15
- package/esm2022/components/checkbox/checkbox.component.mjs +15 -7
- package/esm2022/components/data-format/data-format.pipe.mjs +88 -7
- package/esm2022/components/paginator/paginator.component.mjs +51 -0
- package/esm2022/components/paginator/paginator.module.mjs +20 -0
- package/esm2022/components/paginator/provoly-dashboard-components-paginator.mjs +5 -0
- package/esm2022/components/paginator/public-api.mjs +4 -0
- package/esm2022/components/paginator/style/css.component.mjs +11 -0
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +16 -26
- package/esm2022/dataset/dataset.module.mjs +2 -5
- package/esm2022/dataset/i18n/en.translations.mjs +1 -13
- package/esm2022/dataset/i18n/fr.translations.mjs +2 -14
- package/esm2022/import/components/form/import-form.component.mjs +174 -0
- package/esm2022/import/components/list/import-list.component.mjs +73 -0
- package/esm2022/import/components/version-modal/version-modal.component.mjs +26 -0
- package/esm2022/import/i18n/en.translations.mjs +16 -2
- package/esm2022/import/i18n/fr.translations.mjs +16 -2
- package/esm2022/import/import-routing.module.mjs +3 -3
- package/esm2022/import/import.module.mjs +25 -10
- package/esm2022/import/public-api.mjs +4 -2
- package/esm2022/import/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/select/select.component.mjs +3 -3
- package/esm2022/lib/core/components/share/legacy-share/share.component.mjs +8 -8
- package/esm2022/lib/core/components/status-modal/status-modal.component.mjs +48 -0
- package/esm2022/lib/core/components/{modal-status/modal-status.module.mjs → status-modal/status-modal.module.mjs} +9 -9
- package/esm2022/lib/core/core.module.mjs +5 -5
- package/esm2022/lib/core/i18n/en.translations.mjs +35 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +37 -2
- package/esm2022/lib/core/model/admin-api.model.mjs +5 -69
- package/esm2022/lib/core/model/widget-analytic-manifest.interface.mjs +1 -1
- package/esm2022/lib/core/model/widget-table-manifest.interface.mjs +1 -1
- package/esm2022/lib/core/public-api.mjs +3 -3
- package/esm2022/lib/core/store/class/class.interface.mjs +1 -1
- package/esm2022/lib/core/store/class/class.selectors.mjs +2 -2
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +3 -3
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +7 -4
- package/esm2022/lib/core/store/data-source/data-source.model.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.reducer.mjs +5 -3
- package/esm2022/lib/core/store/data-source/data-source.selectors.mjs +3 -11
- package/esm2022/lib/core/store/data-source/data-source.service.mjs +23 -5
- package/esm2022/lib/core/store/field/field.interface.mjs +1 -3
- package/esm2022/lib/core/store/field/field.service.mjs +7 -2
- package/esm2022/lib/dashboard/components/context-menu/object-edition/object-edition.component.mjs +3 -3
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.mjs +3 -11
- package/esm2022/lib/dashboard/components/widgets/datasource-selector/datasource-list/datasource-list.component.mjs +2 -2
- package/esm2022/lib/dashboard/item-utils.mjs +5 -5
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -4
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +1 -19
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +1 -26
- package/esm2022/lib/dashboard/tooltip/components/default/default.tooltip.component.mjs +3 -3
- package/esm2022/lib/dashboard/tooltip/tooltip-factory.service.mjs +3 -2
- package/esm2022/search/search-mono-class/components/search-condition/search-condition.component.mjs +4 -4
- package/esm2022/search/search-mono-class/components/search-order/search-order.component.mjs +3 -3
- package/esm2022/search/search-mono-class/components/search-select-attribute/search-select-attribute.component.mjs +4 -5
- package/esm2022/search/search-mono-class/store/search-mono-class.effects.mjs +2 -2
- package/esm2022/search/search-mono-class/store/search-mono-class.service.mjs +5 -6
- package/esm2022/search/search-multi-class/store/search-multi-class.service.mjs +4 -4
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -3
- package/esm2022/tooltips/attribute/attribute-tooltip.component.mjs +17 -19
- package/esm2022/tooltips/attribute/attribute-tooltip.module.mjs +5 -4
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +54 -37
- package/esm2022/widgets/widget-analytic/component/widget-analytic.component.mjs +4 -16
- package/esm2022/widgets/widget-chart/component/widget-chart.component.mjs +9 -9
- package/esm2022/widgets/widget-detail/component/widget-detail.component.mjs +5 -5
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +30 -32
- package/esm2022/widgets/widget-map/pipe/widget-map-geometry-fields-for.pipe.mjs +2 -5
- package/esm2022/widgets/widget-map/utils/cql-utils.class.mjs +2 -2
- package/esm2022/widgets/widget-map/utils/widget-map.utils.mjs +6 -10
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +18 -14
- package/esm2022/widgets/widget-table/expand-value/expand-value.component.mjs +9 -5
- package/esm2022/widgets/widget-table/get-value/get-value.pipe.mjs +2 -2
- package/esm2022/widgets/widget-table/public-api.mjs +1 -2
- package/esm2022/widgets/widget-table/widget-table.module.mjs +12 -7
- package/esm2022/widgets/widget-tile/component/widget-tile.component.mjs +10 -15
- package/esm2022/widgets/widget-tile/widget-tile.module.mjs +8 -4
- package/esm2022/widgets/widget-vega/component/widget-vega.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-admin.mjs +249 -126
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-checkbox.mjs +14 -6
- package/fesm2022/provoly-dashboard-components-checkbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-data-format.mjs +88 -7
- package/fesm2022/provoly-dashboard-components-data-format.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-paginator.mjs +82 -0
- package/fesm2022/provoly-dashboard-components-paginator.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-dataset.mjs +21 -58
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-import.mjs +249 -116
- package/fesm2022/provoly-dashboard-import.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-search.mjs +15 -16
- package/fesm2022/provoly-dashboard-search.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +2 -2
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs +20 -21
- package/fesm2022/provoly-dashboard-tooltips-attribute.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +53 -36
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs +3 -15
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs +9 -9
- package/fesm2022/provoly-dashboard-widgets-widget-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs +4 -4
- package/fesm2022/provoly-dashboard-widgets-widget-detail.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +36 -45
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +32 -38
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs +16 -17
- package/fesm2022/provoly-dashboard-widgets-widget-tile.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-vega.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +278 -330
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/import/components/{import.component.d.ts → form/import-form.component.d.ts} +8 -4
- package/import/components/list/import-list.component.d.ts +34 -0
- package/import/components/version-modal/version-modal.component.d.ts +13 -0
- package/import/i18n/en.translations.d.ts +14 -0
- package/import/i18n/fr.translations.d.ts +14 -0
- package/import/import.module.d.ts +13 -10
- package/import/public-api.d.ts +3 -1
- package/import/style/_o-import.scss +50 -6
- package/lib/core/components/share/legacy-share/share.component.d.ts +1 -1
- package/lib/core/components/{modal-status/modal-status.component.d.ts → status-modal/status-modal.component.d.ts} +10 -6
- package/lib/core/components/{modal-status/modal-status.module.d.ts → status-modal/status-modal.module.d.ts} +5 -5
- package/lib/core/core.module.d.ts +2 -2
- package/lib/core/i18n/en.translations.d.ts +33 -0
- package/lib/core/i18n/fr.translations.d.ts +35 -0
- package/lib/core/model/admin-api.model.d.ts +6 -8
- package/lib/core/model/widget-analytic-manifest.interface.d.ts +0 -3
- package/lib/core/model/widget-table-manifest.interface.d.ts +2 -0
- package/lib/core/public-api.d.ts +2 -2
- package/lib/core/store/class/class.interface.d.ts +2 -1
- package/lib/core/store/class/class.selectors.d.ts +10 -10
- package/lib/core/store/data-source/data-source.actions.d.ts +21 -1
- package/lib/core/store/data-source/data-source.effects.d.ts +11 -1
- package/lib/core/store/data-source/data-source.model.d.ts +3 -2
- package/lib/core/store/data-source/data-source.reducer.d.ts +1 -0
- package/lib/core/store/data-source/data-source.selectors.d.ts +3 -3
- package/lib/core/store/data-source/data-source.service.d.ts +11 -2
- package/lib/core/store/field/field.interface.d.ts +8 -4
- package/lib/core/store/field/field.service.d.ts +1 -0
- package/lib/dashboard/components/context-menu/object-edition/object-edition.component.d.ts +1 -1
- package/lib/dashboard/components/widgets/datasource-selector/datasource-card/datasource-card.component.d.ts +3 -7
- package/lib/dashboard/item-utils.d.ts +1 -1
- package/lib/dashboard/store/dashboard.actions.d.ts +0 -11
- package/lib/dashboard/store/dashboard.effects.d.ts +0 -3
- package/lib/dashboard/tooltip/tooltip-factory.service.d.ts +2 -1
- package/package.json +25 -19
- package/styles/base/_utils.scss +9 -1
- package/styles/components/_a-btn.scss +7 -0
- package/styles/components/_a-table.scss +2 -16
- package/styles/layout/_o-workspace.scss +1 -0
- package/tooltips/attribute/attribute-tooltip.component.d.ts +6 -6
- package/tooltips/attribute/attribute-tooltip.module.d.ts +2 -1
- package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +16 -3
- package/widgets/widget-analytic/component/widget-analytic.component.d.ts +2 -3
- package/widgets/widget-detail/component/widget-detail.component.d.ts +1 -4
- package/widgets/widget-table/component/widget-table.component.d.ts +1 -0
- package/widgets/widget-table/expand-value/expand-value.component.d.ts +4 -2
- package/widgets/widget-table/public-api.d.ts +0 -1
- package/widgets/widget-table/widget-table.module.d.ts +9 -8
- package/widgets/widget-tile/component/widget-tile.component.d.ts +1 -0
- package/widgets/widget-tile/widget-tile.module.d.ts +2 -1
- package/esm2022/import/components/import.component.mjs +0 -167
- package/esm2022/lib/core/components/modal-status/modal-status.component.mjs +0 -45
- package/esm2022/widgets/widget-table/expand-value/format-number.pipe.mjs +0 -24
- package/widgets/widget-table/expand-value/format-number.pipe.d.ts +0 -10
|
@@ -53,6 +53,7 @@ export declare class DataSourceEffects {
|
|
|
53
53
|
loadDataset$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[NamedQuery] load"> | import("@ngrx/store/src/models").TypedAction<"[Dataset] load datasets">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
54
54
|
listVersions$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Failure"> | ({
|
|
55
55
|
versions: import("./data-source.model").DatasetVersion[];
|
|
56
|
+
totalVersionCount: number;
|
|
56
57
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Success">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
57
58
|
listVersionsById$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Failure"> | ({
|
|
58
59
|
id: string;
|
|
@@ -68,7 +69,16 @@ export declare class DataSourceEffects {
|
|
|
68
69
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version success">) | ({
|
|
69
70
|
error: any;
|
|
70
71
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
71
|
-
activateOrDeactivateDatasetVersionSuccess$: import("rxjs").Observable<
|
|
72
|
+
activateOrDeactivateDatasetVersionSuccess$: import("rxjs").Observable<{
|
|
73
|
+
limit?: number | undefined;
|
|
74
|
+
offset?: number | undefined;
|
|
75
|
+
dataset?: string | undefined;
|
|
76
|
+
sortBy?: string | undefined;
|
|
77
|
+
orderBy?: "ASC" | "DESC" | undefined;
|
|
78
|
+
dateMin?: string | undefined;
|
|
79
|
+
dateMax?: string | undefined;
|
|
80
|
+
status?: string | undefined;
|
|
81
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
72
82
|
previewsGetById$: import("rxjs").Observable<({
|
|
73
83
|
previews: import("@provoly/dashboard").DatasetPreview[];
|
|
74
84
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Success">) | ({
|
|
@@ -36,16 +36,17 @@ export interface Dataset extends DescriptionQuery {
|
|
|
36
36
|
groups?: string[];
|
|
37
37
|
slug: string;
|
|
38
38
|
categories?: Category[];
|
|
39
|
+
activeVersion?: DatasetVersion;
|
|
39
40
|
}
|
|
40
41
|
export interface DatasetVersion {
|
|
41
42
|
id: string;
|
|
42
|
-
dataset:
|
|
43
|
+
dataset: Dataset;
|
|
43
44
|
oClass: string;
|
|
44
45
|
lastModified: string;
|
|
45
46
|
available: boolean;
|
|
46
47
|
version: number;
|
|
47
48
|
state: string;
|
|
48
|
-
|
|
49
|
+
fileName: string;
|
|
49
50
|
metadata: any[];
|
|
50
51
|
hasWarnings: boolean;
|
|
51
52
|
productionDate?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MemoizedSelector } from '@ngrx/store';
|
|
2
|
-
import {
|
|
2
|
+
import { DataSource } from './data-source.model';
|
|
3
3
|
import { DataSourceState } from './data-source.reducer';
|
|
4
4
|
export declare const DataSourceSelectors: {
|
|
5
5
|
selectFeature: MemoizedSelector<object, DataSourceState, import("@ngrx/store").DefaultProjectorFn<DataSourceState>>;
|
|
@@ -22,8 +22,8 @@ export declare const DataSourceSelectors: {
|
|
|
22
22
|
isLoading: MemoizedSelector<object, boolean, (s1: DataSourceState) => boolean>;
|
|
23
23
|
getDataSources: MemoizedSelector<object, DataSource[], (s1: import("./data-source.model").NamedQuery[], s2: import("./data-source.model").Dataset[]) => DataSource[]>;
|
|
24
24
|
getDataSourcesSorted: MemoizedSelector<object, DataSource[], (s1: import("./data-source.model").NamedQuery[], s2: import("./data-source.model").Dataset[]) => DataSource[]>;
|
|
25
|
-
datasetVersions: MemoizedSelector<object, DatasetVersion[], (s1: DataSourceState) => DatasetVersion[]>;
|
|
26
|
-
|
|
25
|
+
datasetVersions: MemoizedSelector<object, import("./data-source.model").DatasetVersion[], (s1: DataSourceState) => import("./data-source.model").DatasetVersion[]>;
|
|
26
|
+
totalVersionCount: MemoizedSelector<object, number, (s1: DataSourceState) => number>;
|
|
27
27
|
datasetPreviews: MemoizedSelector<object, import("@provoly/dashboard").DatasetPreview[], (s1: DataSourceState) => import("@provoly/dashboard").DatasetPreview[]>;
|
|
28
28
|
categories: MemoizedSelector<object, import("@provoly/dashboard").Category[], (s1: DataSourceState) => import("@provoly/dashboard").Category[]>;
|
|
29
29
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
1
|
+
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { PryI18nService } from '../../i18n/i18n.service';
|
|
@@ -24,7 +24,16 @@ export declare class DataSourceService {
|
|
|
24
24
|
addFavorite(id: string): Observable<ResponseRequest>;
|
|
25
25
|
deleteFavorite(id: string): Observable<ResponseRequest>;
|
|
26
26
|
getDatasets(): Observable<Dataset[]>;
|
|
27
|
-
getDatasetVersions(
|
|
27
|
+
getDatasetVersions(props: {
|
|
28
|
+
limit?: number;
|
|
29
|
+
offset?: number;
|
|
30
|
+
dataset?: string;
|
|
31
|
+
sortBy?: string;
|
|
32
|
+
orderBy?: 'ASC' | 'DESC';
|
|
33
|
+
dateMin?: string;
|
|
34
|
+
dateMax?: string;
|
|
35
|
+
status?: string;
|
|
36
|
+
}): Observable<HttpResponse<DatasetVersion[]>>;
|
|
28
37
|
getDatasetVersionsById(id: string): Observable<DatasetVersion[]>;
|
|
29
38
|
getPreviews(id: string): Observable<DatasetPreview[]>;
|
|
30
39
|
deactivateDatasetVersion(versionId: string): Observable<DatasetVersion>;
|
|
@@ -12,11 +12,15 @@ export declare enum FieldType {
|
|
|
12
12
|
MULTILINE = "MultiLineString",
|
|
13
13
|
POLYGON = "Polygon",
|
|
14
14
|
MULTIPOLYGON = "MultiPolygon",
|
|
15
|
-
GEOMETRYCOLLECTION = "GeometryCollection"
|
|
16
|
-
OCLASS = "mod\u00E8le de donn\u00E9es",
|
|
17
|
-
DATASET = "test"
|
|
15
|
+
GEOMETRYCOLLECTION = "GeometryCollection"
|
|
18
16
|
}
|
|
19
|
-
export interface
|
|
17
|
+
export interface FormatOptions {
|
|
18
|
+
format?: string;
|
|
19
|
+
decimalPrecision?: number;
|
|
20
|
+
unit?: string;
|
|
21
|
+
isLocaleFormat?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface Field extends FormatOptions {
|
|
20
24
|
id: string;
|
|
21
25
|
name: string;
|
|
22
26
|
type: FieldType;
|
|
@@ -9,6 +9,7 @@ export declare class FieldService {
|
|
|
9
9
|
constructor(httpClient: HttpClient, store: Store<any>);
|
|
10
10
|
getFields(): Observable<Array<Field>>;
|
|
11
11
|
saveField(field: Field): Observable<void>;
|
|
12
|
+
updateField(field: Field): Observable<void>;
|
|
12
13
|
deleteField(id: string): Observable<void>;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldService, never>;
|
|
14
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<FieldService>;
|
|
@@ -58,7 +58,7 @@ export declare class PryObjectEditionComponent extends SubscriptionnerDirective
|
|
|
58
58
|
get valid(): string | boolean;
|
|
59
59
|
createObjects(): void;
|
|
60
60
|
get attributes(): Attribute[];
|
|
61
|
-
fieldType(attribute: Attribute): FieldType
|
|
61
|
+
fieldType(attribute: Attribute): FieldType;
|
|
62
62
|
assignValue(attribute: Attribute, $event: any): void;
|
|
63
63
|
value(attribute: Attribute): import("../../../../core/model/item.interface").ValueType | undefined;
|
|
64
64
|
toggleDatePicker($event: Event, id: string): void;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DataSource
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { DataSource } from '../../../../../core/store/data-source/data-source.model';
|
|
4
3
|
import { Store } from '@ngrx/store';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class PryDatasourceCardComponent
|
|
5
|
+
export declare class PryDatasourceCardComponent {
|
|
7
6
|
private store;
|
|
8
7
|
datasource: DataSource;
|
|
9
8
|
showFooter: boolean;
|
|
@@ -13,10 +12,7 @@ export declare class PryDatasourceCardComponent implements AfterContentInit {
|
|
|
13
12
|
datasource: DataSource;
|
|
14
13
|
isSelected: boolean;
|
|
15
14
|
}>;
|
|
16
|
-
datasetVersions$: Observable<DatasetVersion[]>;
|
|
17
|
-
activeVersion$: Observable<string | undefined>;
|
|
18
15
|
constructor(store: Store);
|
|
19
|
-
ngAfterContentInit(): void;
|
|
20
16
|
truncateDescription(description: string | undefined, maxLength: number): string;
|
|
21
17
|
onClick(): void;
|
|
22
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasourceCardComponent, never>;
|
|
@@ -12,7 +12,7 @@ export declare class ItemUtils {
|
|
|
12
12
|
static pertinentValue(items: Item[], attr: Attribute): number[];
|
|
13
13
|
static isLocation(tuple: any[]): boolean;
|
|
14
14
|
static getAttributesFromAvailabilityInResultSet(resultSet: ResultSet): string[];
|
|
15
|
-
static getFieldsForClasses(classesId: string[], classes: Class[]
|
|
15
|
+
static getFieldsForClasses(classesId: string[], classes: Class[]): Field[];
|
|
16
16
|
static hasLocation(clazz: Class): boolean;
|
|
17
17
|
static isValidObject(object: Item): boolean | "";
|
|
18
18
|
static getAttributesFromRs(resultSet: ResultSet, classes: Class[], fields: Field[], defs?: {
|
|
@@ -528,7 +528,6 @@ export declare const DashboardActions: {
|
|
|
528
528
|
}) => {
|
|
529
529
|
layers?: string[] | undefined;
|
|
530
530
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] init default layer group">>;
|
|
531
|
-
addLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] add map layer group", (props: Partial<LayerGroup>) => Partial<LayerGroup> & import("@ngrx/store/src/models").TypedAction<"[Dashboard] add map layer group">>;
|
|
532
531
|
updateLayerVisibility: import("@ngrx/store").ActionCreator<"[Dashboard] update visible layers on the layer group", (props: {
|
|
533
532
|
name: string;
|
|
534
533
|
visibleLayers?: string | string[] | undefined;
|
|
@@ -536,16 +535,6 @@ export declare const DashboardActions: {
|
|
|
536
535
|
name: string;
|
|
537
536
|
visibleLayers?: string | string[] | undefined;
|
|
538
537
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] update visible layers on the layer group">>;
|
|
539
|
-
confirmLayerGroupDeletion: import("@ngrx/store").ActionCreator<"[Dashboard] confirm deleting map layer group", (props: {
|
|
540
|
-
name: string;
|
|
541
|
-
}) => {
|
|
542
|
-
name: string;
|
|
543
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] confirm deleting map layer group">>;
|
|
544
|
-
deleteLayerGroup: import("@ngrx/store").ActionCreator<"[Dashboard] delete map layer group", (props: {
|
|
545
|
-
name: string;
|
|
546
|
-
}) => {
|
|
547
|
-
name: string;
|
|
548
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] delete map layer group">>;
|
|
549
538
|
updateLayerGroups: import("@ngrx/store").ActionCreator<"[Dashboard] update all layer groups", (props: {
|
|
550
539
|
layerGroups: LayerGroup[];
|
|
551
540
|
}) => {
|
|
@@ -256,9 +256,6 @@ export declare class DashboardEffects {
|
|
|
256
256
|
mode: ViewMode;
|
|
257
257
|
customDisplay?: import("@provoly/dashboard").DisplayOptions | undefined;
|
|
258
258
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
259
|
-
confirmLayerGroupDeletion$: import("rxjs").Observable<{
|
|
260
|
-
name: string;
|
|
261
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] confirm deleting map layer group">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
262
259
|
constructor(dashboardInitService: DashboardInitService, actions$: Actions, store: Store<any>, manifestService: ManifestService, itemService: ItemService, titleService: PryTitleService, translateService: PryI18nService, snackBar: PrySnackbarService, router: Router, refreshService: RefreshService, toolboxManifestService: ToolboxManifestService, busService: BusService, searchService: SearchService, pryDialog: PryDialogService, wmsService: WmsService, widgetFactoryService: WidgetFactoryService, i18nService: PryI18nService);
|
|
263
260
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardEffects, never>;
|
|
264
261
|
static ɵprov: i0.ɵɵInjectableDeclaration<DashboardEffects>;
|
|
@@ -33,7 +33,8 @@ export declare class TooltipFactoryService {
|
|
|
33
33
|
resolveComponent(_type: string): Observable<Type<BaseTooltipComponent>>;
|
|
34
34
|
private putDefinitions;
|
|
35
35
|
isModuleLoaded(type: string): Observable<boolean>;
|
|
36
|
-
generateTooltip(type: string,
|
|
36
|
+
generateTooltip(type: string, // class id
|
|
37
|
+
parentInjector: Injector, container: ViewContainerRef): Observable<ComponentRef<BaseTooltipComponent> | null>;
|
|
37
38
|
addTooltipDefinitions(defs: {
|
|
38
39
|
[key: string]: TooltipDefinition;
|
|
39
40
|
}): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -138,6 +138,12 @@
|
|
|
138
138
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
139
139
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
140
140
|
},
|
|
141
|
+
"./components/card": {
|
|
142
|
+
"types": "./components/card/index.d.ts",
|
|
143
|
+
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
144
|
+
"esm": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
145
|
+
"default": "./fesm2022/provoly-dashboard-components-card.mjs"
|
|
146
|
+
},
|
|
141
147
|
"./components/checkbox": {
|
|
142
148
|
"types": "./components/checkbox/index.d.ts",
|
|
143
149
|
"esm2022": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
|
|
@@ -156,12 +162,6 @@
|
|
|
156
162
|
"esm": "./esm2022/components/data-format/provoly-dashboard-components-data-format.mjs",
|
|
157
163
|
"default": "./fesm2022/provoly-dashboard-components-data-format.mjs"
|
|
158
164
|
},
|
|
159
|
-
"./components/card": {
|
|
160
|
-
"types": "./components/card/index.d.ts",
|
|
161
|
-
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
162
|
-
"esm": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
163
|
-
"default": "./fesm2022/provoly-dashboard-components-card.mjs"
|
|
164
|
-
},
|
|
165
165
|
"./components/expand-panel": {
|
|
166
166
|
"types": "./components/expand-panel/index.d.ts",
|
|
167
167
|
"esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
@@ -186,6 +186,12 @@
|
|
|
186
186
|
"esm": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
187
187
|
"default": "./fesm2022/provoly-dashboard-components-page-loader.mjs"
|
|
188
188
|
},
|
|
189
|
+
"./components/paginator": {
|
|
190
|
+
"types": "./components/paginator/index.d.ts",
|
|
191
|
+
"esm2022": "./esm2022/components/paginator/provoly-dashboard-components-paginator.mjs",
|
|
192
|
+
"esm": "./esm2022/components/paginator/provoly-dashboard-components-paginator.mjs",
|
|
193
|
+
"default": "./fesm2022/provoly-dashboard-components-paginator.mjs"
|
|
194
|
+
},
|
|
189
195
|
"./components/scheme-picker": {
|
|
190
196
|
"types": "./components/scheme-picker/index.d.ts",
|
|
191
197
|
"esm2022": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
@@ -264,18 +270,18 @@
|
|
|
264
270
|
"esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
265
271
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
|
|
266
272
|
},
|
|
267
|
-
"./tooltips/cluster": {
|
|
268
|
-
"types": "./tooltips/cluster/index.d.ts",
|
|
269
|
-
"esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
270
|
-
"esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
271
|
-
"default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
|
|
272
|
-
},
|
|
273
273
|
"./tooltips/attribute": {
|
|
274
274
|
"types": "./tooltips/attribute/index.d.ts",
|
|
275
275
|
"esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
276
276
|
"esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
|
|
277
277
|
"default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
|
|
278
278
|
},
|
|
279
|
+
"./tooltips/cluster": {
|
|
280
|
+
"types": "./tooltips/cluster/index.d.ts",
|
|
281
|
+
"esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
282
|
+
"esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
|
|
283
|
+
"default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
|
|
284
|
+
},
|
|
279
285
|
"./widgets/widget-aggregated-chart": {
|
|
280
286
|
"types": "./widgets/widget-aggregated-chart/index.d.ts",
|
|
281
287
|
"esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
|
|
@@ -294,18 +300,18 @@
|
|
|
294
300
|
"esm": "./esm2022/widgets/widget-chart/provoly-dashboard-widgets-widget-chart.mjs",
|
|
295
301
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-chart.mjs"
|
|
296
302
|
},
|
|
297
|
-
"./widgets/widget-graph": {
|
|
298
|
-
"types": "./widgets/widget-graph/index.d.ts",
|
|
299
|
-
"esm2022": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
300
|
-
"esm": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
301
|
-
"default": "./fesm2022/provoly-dashboard-widgets-widget-graph.mjs"
|
|
302
|
-
},
|
|
303
303
|
"./widgets/widget-detail": {
|
|
304
304
|
"types": "./widgets/widget-detail/index.d.ts",
|
|
305
305
|
"esm2022": "./esm2022/widgets/widget-detail/provoly-dashboard-widgets-widget-detail.mjs",
|
|
306
306
|
"esm": "./esm2022/widgets/widget-detail/provoly-dashboard-widgets-widget-detail.mjs",
|
|
307
307
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-detail.mjs"
|
|
308
308
|
},
|
|
309
|
+
"./widgets/widget-graph": {
|
|
310
|
+
"types": "./widgets/widget-graph/index.d.ts",
|
|
311
|
+
"esm2022": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
312
|
+
"esm": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
313
|
+
"default": "./fesm2022/provoly-dashboard-widgets-widget-graph.mjs"
|
|
314
|
+
},
|
|
309
315
|
"./widgets/widget-iframe": {
|
|
310
316
|
"types": "./widgets/widget-iframe/index.d.ts",
|
|
311
317
|
"esm2022": "./esm2022/widgets/widget-iframe/provoly-dashboard-widgets-widget-iframe.mjs",
|
package/styles/base/_utils.scss
CHANGED
|
@@ -152,6 +152,13 @@
|
|
|
152
152
|
@include outlineOnFocus($border-radius: 50%);
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
&.-small-circle {
|
|
156
|
+
width: 32px;
|
|
157
|
+
height: 32px;
|
|
158
|
+
border-radius: 50%;
|
|
159
|
+
@include outlineOnFocus($border-radius: 50%);
|
|
160
|
+
}
|
|
161
|
+
|
|
155
162
|
// Classic link aspect
|
|
156
163
|
&.-link-like {
|
|
157
164
|
justify-content: left;
|
|
@@ -112,23 +112,9 @@
|
|
|
112
112
|
color: inherit;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
&__pagination-label {
|
|
116
|
+
margin-top: toRem(5);
|
|
116
117
|
height: toRem(35);
|
|
117
|
-
display: flex;
|
|
118
|
-
flex-direction: column;
|
|
119
|
-
align-items: center;
|
|
120
|
-
position: absolute;
|
|
121
|
-
|
|
122
|
-
&__spacing {
|
|
123
|
-
display: flex;
|
|
124
|
-
flex-direction: row;
|
|
125
|
-
height: toRem(35);
|
|
126
|
-
|
|
127
|
-
&__label {
|
|
128
|
-
margin-top: toRem(5);
|
|
129
|
-
height: toRem(35);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
118
|
}
|
|
133
119
|
|
|
134
120
|
&.-show-vertical-separator {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Attribute, BaseTooltipComponent, TranslateIdPipe } from '@provoly/dashboard';
|
|
2
3
|
import { Observable } from 'rxjs';
|
|
3
4
|
import { Store } from '@ngrx/store';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AttributeTooltipComponent extends BaseTooltipComponent {
|
|
6
|
+
export declare class AttributeTooltipComponent extends BaseTooltipComponent implements OnInit {
|
|
6
7
|
private translateIdPipe;
|
|
7
8
|
private store;
|
|
8
|
-
|
|
9
|
+
protected attributes$: Observable<Attribute[]>;
|
|
9
10
|
constructor(translateIdPipe: TranslateIdPipe, store: Store<any>);
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
getValue(attribute: string, limit?: number): Observable<string>;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
getValue(attrTechnicalName: string, limit?: number): Observable<string | number>;
|
|
13
13
|
_getValue(attribute: string): Observable<string | undefined | number>;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttributeTooltipComponent, never>;
|
|
15
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<AttributeTooltipComponent, "pry-attribute-tooltip", never, {}, {}, never, never, false, never>;
|
|
@@ -6,9 +6,10 @@ import * as i2 from "@angular/common";
|
|
|
6
6
|
import * as i3 from "@angular/forms";
|
|
7
7
|
import * as i4 from "@angular/cdk/overlay";
|
|
8
8
|
import * as i5 from "@provoly/dashboard";
|
|
9
|
+
import * as i6 from "@provoly/dashboard/components/data-format";
|
|
9
10
|
export declare class PryAttributeTooltipModule extends BaseTooltipModule {
|
|
10
11
|
getComponent(): Type<BaseTooltipComponent>;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAttributeTooltipModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryAttributeTooltipModule, [typeof i1.AttributeTooltipComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule], [typeof i1.AttributeTooltipComponent]>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryAttributeTooltipModule, [typeof i1.AttributeTooltipComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.OverlayModule, typeof i5.PryCoreModule, typeof i6.PryDataFormatModule], [typeof i1.AttributeTooltipComponent]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryAttributeTooltipModule>;
|
|
14
15
|
}
|
|
@@ -22,17 +22,17 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
|
|
|
22
22
|
attributeTypes$: Observable<{
|
|
23
23
|
ordinate: {
|
|
24
24
|
vegaType: VegaType;
|
|
25
|
-
|
|
25
|
+
field?: Field;
|
|
26
26
|
name: string;
|
|
27
27
|
};
|
|
28
28
|
abscissa: {
|
|
29
29
|
vegaType: VegaType;
|
|
30
|
-
|
|
30
|
+
field?: Field;
|
|
31
31
|
name: string;
|
|
32
32
|
};
|
|
33
33
|
groupBy: {
|
|
34
34
|
vegaType?: VegaType;
|
|
35
|
-
|
|
35
|
+
field?: Field;
|
|
36
36
|
name: string;
|
|
37
37
|
};
|
|
38
38
|
}>;
|
|
@@ -144,6 +144,19 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
|
|
|
144
144
|
};
|
|
145
145
|
getAbscissaType(abscissaVegaType: VegaType, hasSort: boolean): VegaType;
|
|
146
146
|
isTimeInterval(abscissaInterval: string | number): boolean;
|
|
147
|
+
getAxisFormat(axisType: string, field?: Field): string;
|
|
148
|
+
getDataFormat(axisType: string, field?: Field): {
|
|
149
|
+
format: "%Y-%m-%dT%H:%M:%S" | "%Y-%m-%d" | "%m-%Y" | "%d-%m" | "%Y" | "%m" | "%d" | "%Y-%B-%dT%H:%M:%S";
|
|
150
|
+
scale: {
|
|
151
|
+
type: string;
|
|
152
|
+
};
|
|
153
|
+
} | {
|
|
154
|
+
format: string;
|
|
155
|
+
scale?: undefined;
|
|
156
|
+
} | {
|
|
157
|
+
format?: undefined;
|
|
158
|
+
scale?: undefined;
|
|
159
|
+
};
|
|
147
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetAggregatedChartComponent, never>;
|
|
148
161
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetAggregatedChartComponent, "pry-widget-aggregated-chart", never, {}, {}, never, never, false, never>;
|
|
149
162
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { AnalyticWidgetOptions, Attribute, Class, DataWidgetComponent, ResultSet } from '@provoly/dashboard';
|
|
2
|
+
import { AnalyticWidgetOptions, Attribute, Class, DataWidgetComponent, Field, ResultSet } from '@provoly/dashboard';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
5
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
@@ -42,9 +42,9 @@ export declare class WidgetAnalyticComponent extends DataWidgetComponent {
|
|
|
42
42
|
height$: Observable<number>;
|
|
43
43
|
classes$: Observable<Class[]>;
|
|
44
44
|
availableProperties$: Observable<Attribute[]>;
|
|
45
|
+
valuePropField$: Observable<Field | undefined>;
|
|
45
46
|
change($event: string, prop: 'primaryProp' | 'secondaryProp' | 'valueProp' | 'verticalProp'): void;
|
|
46
47
|
changeColorConfig($event: string | string[], prop: 'prop' | 'colors'): void;
|
|
47
|
-
changeFormat($event: string, prop?: string): void;
|
|
48
48
|
constructor(store: Store<any>, el: ElementRef);
|
|
49
49
|
private matchAttributeValue;
|
|
50
50
|
private createValueMap;
|
|
@@ -55,7 +55,6 @@ export declare class WidgetAnalyticComponent extends DataWidgetComponent {
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
toggleColorConfig($event: boolean): void;
|
|
58
|
-
toggleFormat($event: boolean): void;
|
|
59
58
|
modifyColorScheme($event?: string, index?: number): void;
|
|
60
59
|
removeColor(index: number): void;
|
|
61
60
|
drop(event: CdkDragDrop<string[]>): void;
|
|
@@ -36,10 +36,7 @@ export declare class WidgetDetailComponent extends BaseWidgetComponent {
|
|
|
36
36
|
togglePin(): void;
|
|
37
37
|
hasMetadata(value: AttributeSimpleValue | Item): boolean;
|
|
38
38
|
contextMenu($event: MouseEvent, item: Item): void;
|
|
39
|
-
isRaw(
|
|
40
|
-
name: string;
|
|
41
|
-
attribute: Attribute;
|
|
42
|
-
}): boolean;
|
|
39
|
+
isRaw(attribute: Attribute): boolean;
|
|
43
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetDetailComponent, never>;
|
|
44
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetDetailComponent, "pry-widget-detail", never, {}, {}, never, never, false, never>;
|
|
45
42
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { MultiMultipointValue, MultipointValue, PointValue, ValueType } from '@provoly/dashboard';
|
|
1
|
+
import { Field, MultiMultipointValue, MultipointValue, PointValue, ValueType } from '@provoly/dashboard';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ExpandValueComponent {
|
|
4
4
|
isArray: boolean;
|
|
5
5
|
firstValue?: string | number | PointValue | MultipointValue | MultiMultipointValue | ValueType[] | null | undefined;
|
|
6
6
|
rest: (string | number | PointValue | MultipointValue | MultiMultipointValue | ValueType[] | null | undefined)[];
|
|
7
|
+
isNumber: boolean;
|
|
8
|
+
field?: Field;
|
|
7
9
|
set value(toDisplay: ValueType | ValueType[] | null);
|
|
8
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandValueComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandValueComponent, "pry-expand-value", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandValueComponent, "pry-expand-value", never, { "field": { "alias": "field"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
12
|
}
|
|
@@ -7,18 +7,19 @@ import * as i3 from "./resizable/resizable.component";
|
|
|
7
7
|
import * as i4 from "./resizable/resizable.directive";
|
|
8
8
|
import * as i5 from "./style/css.component";
|
|
9
9
|
import * as i6 from "./expand-value/expand-value.component";
|
|
10
|
-
import * as i7 from "./expand-value/
|
|
11
|
-
import * as i8 from "
|
|
12
|
-
import * as i9 from "@angular/
|
|
13
|
-
import * as i10 from "@angular/
|
|
14
|
-
import * as i11 from "@
|
|
15
|
-
import * as i12 from "@provoly/dashboard";
|
|
16
|
-
import * as i13 from "@provoly/dashboard/components/
|
|
10
|
+
import * as i7 from "./expand-value/detach-row.directive";
|
|
11
|
+
import * as i8 from "@angular/common";
|
|
12
|
+
import * as i9 from "@angular/forms";
|
|
13
|
+
import * as i10 from "@angular/cdk/overlay";
|
|
14
|
+
import * as i11 from "@provoly/dashboard";
|
|
15
|
+
import * as i12 from "@provoly/dashboard/components/checkbox";
|
|
16
|
+
import * as i13 from "@provoly/dashboard/components/data-format";
|
|
17
|
+
import * as i14 from "@provoly/dashboard/components/paginator";
|
|
17
18
|
export declare class WidgetTableModule extends BaseWidgetModule {
|
|
18
19
|
private pryTranslateService;
|
|
19
20
|
constructor(pryTranslateService: PryI18nService);
|
|
20
21
|
getComponent(): Type<BaseWidgetComponent>;
|
|
21
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTableModule, never>;
|
|
22
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetTableModule, [typeof i1.WidgetTableComponent, typeof i2.GetValuePipe, typeof i3.ResizableComponent, typeof i4.ResizableDirective, typeof i5.PryWidgetTableCssComponent, typeof i6.ExpandValueComponent, typeof i7.
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetTableModule, [typeof i1.WidgetTableComponent, typeof i2.GetValuePipe, typeof i3.ResizableComponent, typeof i4.ResizableDirective, typeof i5.PryWidgetTableCssComponent, typeof i6.ExpandValueComponent, typeof i7.DetachRowDirective], [typeof i8.CommonModule, typeof i9.FormsModule, typeof i10.OverlayModule, typeof i11.PryCoreModule, typeof i11.PryDashboardModule, typeof i11.PrySelectModule, typeof i11.PryIconModule, typeof i12.PryCheckboxModule, typeof i11.PryToggleModule, typeof i11.PryI18nModule, typeof i13.PryDataFormatModule, typeof i14.PryPaginatorModule], [typeof i1.WidgetTableComponent]>;
|
|
23
24
|
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetTableModule>;
|
|
24
25
|
}
|
|
@@ -10,11 +10,12 @@ import * as i6 from "@provoly/dashboard";
|
|
|
10
10
|
import * as i7 from "@provoly/dashboard/components/checkbox";
|
|
11
11
|
import * as i8 from "@provoly/dashboard/widgets/widget-detail";
|
|
12
12
|
import * as i9 from "@provoly/dashboard/widgets/widget-map";
|
|
13
|
+
import * as i10 from "@provoly/dashboard/components/data-format";
|
|
13
14
|
export declare class WidgetTileModule extends BaseWidgetModule {
|
|
14
15
|
private pryTranslateService;
|
|
15
16
|
constructor(pryTranslateService: PryI18nService);
|
|
16
17
|
getComponent(): Type<BaseWidgetComponent>;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetTileModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetTileModule, [typeof i1.WidgetTileComponent, typeof i2.PryWidgetTileCssComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.PryCoreModule, typeof i6.PryDashboardModule, typeof i6.PrySelectModule, typeof i6.PryIconModule, typeof i7.PryCheckboxModule, typeof i6.PryToggleModule, typeof i8.WidgetDetailModule, typeof i9.WidgetMapModule, typeof i6.PryI18nModule], [typeof i1.WidgetTileComponent]>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetTileModule, [typeof i1.WidgetTileComponent, typeof i2.PryWidgetTileCssComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.OverlayModule, typeof i6.PryCoreModule, typeof i6.PryDashboardModule, typeof i6.PrySelectModule, typeof i6.PryIconModule, typeof i7.PryCheckboxModule, typeof i6.PryToggleModule, typeof i8.WidgetDetailModule, typeof i9.WidgetMapModule, typeof i6.PryI18nModule, typeof i10.PryDataFormatModule], [typeof i1.WidgetTileComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetTileModule>;
|
|
20
21
|
}
|