@provoly/dashboard 1.3.8 → 1.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/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 +81 -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 +59 -38
- 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 +257 -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 +58 -37
- 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 +44 -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 +56 -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 +61 -55
- 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
|
@@ -20,8 +20,7 @@ export declare class AdminAttributesFormComponent extends SubscriptionnerDirecti
|
|
|
20
20
|
nameAlreadyExists: boolean;
|
|
21
21
|
technicalNameAlreadyExists: boolean;
|
|
22
22
|
fields$: Observable<Field[]>;
|
|
23
|
-
selectedFieldTypeDescription
|
|
24
|
-
fieldTypeDescription: import("@provoly/dashboard").FieldOption[];
|
|
23
|
+
selectedFieldTypeDescription$: Observable<string>;
|
|
25
24
|
categories$: Observable<Category[]>;
|
|
26
25
|
selectedClass?: Class;
|
|
27
26
|
interClass?: Class;
|
|
@@ -31,6 +30,10 @@ export declare class AdminAttributesFormComponent extends SubscriptionnerDirecti
|
|
|
31
30
|
goBack(): void;
|
|
32
31
|
addAttribute(): void;
|
|
33
32
|
openModal(): void;
|
|
33
|
+
protected readonly FIELD_I18N: {
|
|
34
|
+
label: string;
|
|
35
|
+
information: string;
|
|
36
|
+
};
|
|
34
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminAttributesFormComponent, never>;
|
|
35
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminAttributesFormComponent, "pry-admin-attributes-form", never, { "selectedClass": { "alias": "selectedClass"; "required": false; }; "interClass": { "alias": "interClass"; "required": false; }; "selectedAttribute": { "alias": "selectedAttribute"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
39
|
}
|
|
@@ -1,43 +1,72 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { AbstractControl, FormControl, FormGroup } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { Field, PryI18nService } from '@provoly/dashboard';
|
|
6
|
-
import { Observable
|
|
5
|
+
import { Field, FieldType, PryI18nService, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const CRS_OPTIONS: {
|
|
9
9
|
label: string;
|
|
10
10
|
code: string;
|
|
11
11
|
}[];
|
|
12
|
-
|
|
12
|
+
interface FieldForm {
|
|
13
|
+
name: FormControl<string>;
|
|
14
|
+
type: FormControl<FieldType>;
|
|
15
|
+
crs?: FormControl<string | undefined>;
|
|
16
|
+
formatOptions?: FormGroup<FormatOptionsForm>;
|
|
17
|
+
}
|
|
18
|
+
interface FormatOptionsForm {
|
|
19
|
+
localeFormat?: FormControl<boolean | null>;
|
|
20
|
+
unit?: FormControl<string | null>;
|
|
21
|
+
decimalPrecision?: FormControl<number | null>;
|
|
22
|
+
dateFormat?: FormControl<string | null>;
|
|
23
|
+
}
|
|
24
|
+
export declare class AdminFieldsFormComponent extends SubscriptionnerDirective implements OnInit, OnDestroy {
|
|
13
25
|
private store;
|
|
14
26
|
private router;
|
|
15
27
|
private route;
|
|
16
|
-
private
|
|
17
|
-
|
|
18
|
-
|
|
28
|
+
private i18n;
|
|
29
|
+
currentField?: Field;
|
|
30
|
+
form: FormGroup<FieldForm>;
|
|
31
|
+
fieldTypes: FieldType[];
|
|
32
|
+
fieldNames$: Observable<string[]>;
|
|
19
33
|
nameAlreadyExists$?: Observable<boolean>;
|
|
20
|
-
|
|
21
|
-
fieldForm: UntypedFormGroup;
|
|
34
|
+
dateFormats: string[];
|
|
22
35
|
goBackPath: string;
|
|
23
36
|
goBackPathEdit: string;
|
|
24
|
-
|
|
25
|
-
fieldTypeTranslations: {
|
|
26
|
-
[key: string]: string;
|
|
27
|
-
}[];
|
|
28
|
-
selectedFieldTypeDescription$?: Observable<string>;
|
|
29
|
-
currentField?: Field;
|
|
30
|
-
constructor(store: Store<any>, router: Router, route: ActivatedRoute, formBuilder: UntypedFormBuilder, i18nService: PryI18nService);
|
|
37
|
+
constructor(store: Store<any>, router: Router, route: ActivatedRoute, i18n: PryI18nService);
|
|
31
38
|
ngOnInit(): void;
|
|
39
|
+
get name(): AbstractControl<string> | null;
|
|
40
|
+
get type(): AbstractControl<FieldType> | null;
|
|
41
|
+
get crs(): AbstractControl<string | undefined> | null;
|
|
42
|
+
get formatOptions(): FormGroup<FormatOptionsForm> | null;
|
|
32
43
|
get isGeographicType(): boolean;
|
|
33
|
-
ngOnDestroy(): void;
|
|
34
44
|
goBack(): void;
|
|
35
|
-
|
|
45
|
+
getFormValue(): {
|
|
46
|
+
name: string;
|
|
47
|
+
type: FieldType;
|
|
48
|
+
crs: string | undefined;
|
|
49
|
+
unit: string | undefined;
|
|
50
|
+
decimalPrecision: number | undefined;
|
|
51
|
+
localeFormat: boolean | undefined;
|
|
52
|
+
format: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
submit(): void;
|
|
55
|
+
saveField(): void;
|
|
56
|
+
updateField(): void;
|
|
57
|
+
setFormatOptionControls(type: FieldType | null): void;
|
|
58
|
+
setFormatOptionValues(): void;
|
|
36
59
|
private getPath;
|
|
37
60
|
protected readonly CRS_OPTIONS: {
|
|
38
61
|
label: string;
|
|
39
62
|
code: string;
|
|
40
63
|
}[];
|
|
64
|
+
protected readonly FieldType: typeof FieldType;
|
|
65
|
+
protected readonly FIELD_I18N: {
|
|
66
|
+
label: string;
|
|
67
|
+
information: string;
|
|
68
|
+
};
|
|
41
69
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminFieldsFormComponent, never>;
|
|
42
70
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminFieldsFormComponent, "pry-admin-fields-form", never, { "currentField": { "alias": "currentField"; "required": false; }; }, {}, never, never, false, never>;
|
|
43
71
|
}
|
|
72
|
+
export {};
|
package/admin/components/admin-fields/admin-fields-select/admin-fields-select.component.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
|
-
import { Associations, Field } from '@provoly/dashboard';
|
|
4
|
+
import { Associations, Field, FieldType } from '@provoly/dashboard';
|
|
5
5
|
import { Observable, Subscription } from 'rxjs';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class AdminFieldsSelectComponent implements OnInit, OnDestroy {
|
|
@@ -18,9 +18,13 @@ export declare class AdminFieldsSelectComponent implements OnInit, OnDestroy {
|
|
|
18
18
|
}[]>;
|
|
19
19
|
constructor(store: Store<any>, router: Router, route: ActivatedRoute);
|
|
20
20
|
ngOnInit(): void;
|
|
21
|
-
getTranslationType(type: string): string;
|
|
22
21
|
closePanel(): void;
|
|
23
22
|
ngOnDestroy(): void;
|
|
23
|
+
protected readonly FIELD_I18N: {
|
|
24
|
+
label: string;
|
|
25
|
+
information: string;
|
|
26
|
+
};
|
|
27
|
+
protected readonly FieldType: typeof FieldType;
|
|
24
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminFieldsSelectComponent, never>;
|
|
25
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminFieldsSelectComponent, "pry-admin-fields-select", never, {}, {}, never, never, false, never>;
|
|
26
30
|
}
|
|
@@ -13,7 +13,10 @@ export declare class AdminFieldsComponent {
|
|
|
13
13
|
currentFieldId$: Observable<string | undefined>;
|
|
14
14
|
constructor(store: Store<any>, router: Router, route: ActivatedRoute);
|
|
15
15
|
selectField(field: any): void;
|
|
16
|
-
|
|
16
|
+
protected readonly FIELD_I18N: {
|
|
17
|
+
label: string;
|
|
18
|
+
information: string;
|
|
19
|
+
};
|
|
17
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdminFieldsComponent, never>;
|
|
18
21
|
static ɵcmp: i0.ɵɵComponentDeclaration<AdminFieldsComponent, "pry-admin-fields", never, {}, {}, never, never, false, never>;
|
|
19
22
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Field } from '@provoly/dashboard';
|
|
2
2
|
export declare const FieldsActions: {
|
|
3
3
|
updateToolbox: import("@ngrx/store").ActionCreator<"[Admin/Fields] Update Toolbox Class", () => import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Update Toolbox Class">>;
|
|
4
|
+
failure: import("@ngrx/store").ActionCreator<"[Admin/Fields] failure action", (props: {
|
|
5
|
+
error: any;
|
|
6
|
+
}) => {
|
|
7
|
+
error: any;
|
|
8
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] failure action">>;
|
|
4
9
|
saveField: import("@ngrx/store").ActionCreator<"[Admin/Fields] Save Field", (props: {
|
|
5
10
|
field: Field;
|
|
6
11
|
route: string;
|
|
@@ -13,17 +18,18 @@ export declare const FieldsActions: {
|
|
|
13
18
|
}) => {
|
|
14
19
|
route: string;
|
|
15
20
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields Api] Save Field Success">>;
|
|
16
|
-
|
|
17
|
-
error: any;
|
|
18
|
-
}) => {
|
|
19
|
-
error: any;
|
|
20
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields Api] Save Field Failure">>;
|
|
21
|
-
selectField: import("@ngrx/store").ActionCreator<"[Admin/Fields] Select Field", (props: {
|
|
21
|
+
updateField: import("@ngrx/store").ActionCreator<"[Admin/Fields] Update Field", (props: {
|
|
22
22
|
field: Field;
|
|
23
|
+
route: string;
|
|
23
24
|
}) => {
|
|
24
25
|
field: Field;
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
route: string;
|
|
27
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Update Field">>;
|
|
28
|
+
updateFieldSuccess: import("@ngrx/store").ActionCreator<"[Admin/Fields Api] Update Field Success", (props: {
|
|
29
|
+
route: string;
|
|
30
|
+
}) => {
|
|
31
|
+
route: string;
|
|
32
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields Api] Update Field Success">>;
|
|
27
33
|
confirmFieldDeletion: import("@ngrx/store").ActionCreator<"[Admin/Fields] Open Modal for Deleting Field", (props: {
|
|
28
34
|
id: string;
|
|
29
35
|
path: string;
|
|
@@ -39,9 +45,10 @@ export declare const FieldsActions: {
|
|
|
39
45
|
route: string;
|
|
40
46
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Delete Field">>;
|
|
41
47
|
deleteFieldSuccess: import("@ngrx/store").ActionCreator<"[Admin/Fields] Delete Field Success", () => import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Delete Field Success">>;
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
selectField: import("@ngrx/store").ActionCreator<"[Admin/Fields] Select Field", (props: {
|
|
49
|
+
field: Field;
|
|
44
50
|
}) => {
|
|
45
|
-
|
|
46
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields]
|
|
51
|
+
field: Field;
|
|
52
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Select Field">>;
|
|
53
|
+
unselectField: import("@ngrx/store").ActionCreator<"[Admin/Fields] unselect Field", () => import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] unselect Field">>;
|
|
47
54
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Actions } from '@ngrx/effects';
|
|
2
2
|
import { FieldService, PryDialogService } from '@provoly/dashboard';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class FieldsEffects {
|
|
5
6
|
private actions$;
|
|
6
7
|
private fieldService;
|
|
7
8
|
private pryDialog;
|
|
9
|
+
private store;
|
|
8
10
|
updateToolbox$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Field] Load Fields"> | ({
|
|
9
11
|
componentType: string | null;
|
|
10
12
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin] Select component Type for panel ">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
@@ -12,25 +14,36 @@ export declare class FieldsEffects {
|
|
|
12
14
|
route: string;
|
|
13
15
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields Api] Save Field Success">) | ({
|
|
14
16
|
error: any;
|
|
15
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields
|
|
17
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] failure action">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
16
18
|
saveFieldSuccess$: import("rxjs").Observable<{
|
|
17
19
|
path: string;
|
|
18
20
|
params?: {
|
|
19
21
|
[p: string]: string;
|
|
20
22
|
} | undefined;
|
|
21
23
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
24
|
+
updateField$: import("rxjs").Observable<({
|
|
25
|
+
error: any;
|
|
26
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] failure action">) | ({
|
|
27
|
+
route: string;
|
|
28
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields Api] Update Field Success">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
29
|
+
updateFieldSuccess$: import("rxjs").Observable<{
|
|
30
|
+
path: string;
|
|
31
|
+
params?: {
|
|
32
|
+
[p: string]: string;
|
|
33
|
+
} | undefined;
|
|
34
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin] route to">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
22
35
|
confirmFieldDeletion$: import("rxjs").Observable<{
|
|
23
36
|
id: string;
|
|
24
37
|
path: string;
|
|
25
38
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Open Modal for Deleting Field">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
26
39
|
deleteField$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] Delete Field Success"> | ({
|
|
27
40
|
error: any;
|
|
28
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields]
|
|
41
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Admin/Fields] failure action">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
29
42
|
deleteFieldSuccess$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Field] Load Fields">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
30
43
|
closePanelOnDeleteFieldSuccess$: import("rxjs").Observable<{
|
|
31
44
|
panelOpen: boolean;
|
|
32
45
|
} & import("@ngrx/store/src/models").TypedAction<"[Admin] Toggle panel">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
33
|
-
constructor(actions$: Actions, fieldService: FieldService, pryDialog: PryDialogService);
|
|
46
|
+
constructor(actions$: Actions, fieldService: FieldService, pryDialog: PryDialogService, store: Store<any>);
|
|
34
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldsEffects, never>;
|
|
35
48
|
static ɵprov: i0.ɵɵInjectableDeclaration<FieldsEffects>;
|
|
36
49
|
}
|
|
@@ -272,39 +272,58 @@ export declare const enTranslations: {
|
|
|
272
272
|
className: string;
|
|
273
273
|
confirmFieldDeletion: string;
|
|
274
274
|
fieldType: {
|
|
275
|
-
|
|
275
|
+
integer: string;
|
|
276
276
|
long: string;
|
|
277
277
|
decimal: string;
|
|
278
278
|
string: string;
|
|
279
279
|
keyword: string;
|
|
280
280
|
instant: string;
|
|
281
281
|
raw: string;
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
282
|
+
Point: string;
|
|
283
|
+
MultiPoint: string;
|
|
284
|
+
LineString: string;
|
|
285
|
+
MultiLineString: string;
|
|
286
|
+
Polygon: string;
|
|
287
|
+
MultiPolygon: string;
|
|
288
288
|
information: {
|
|
289
|
-
|
|
289
|
+
integer: string;
|
|
290
290
|
long: string;
|
|
291
291
|
decimal: string;
|
|
292
292
|
string: string;
|
|
293
293
|
keyword: string;
|
|
294
294
|
instant: string;
|
|
295
295
|
raw: string;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
296
|
+
Point: string;
|
|
297
|
+
MultiPoint: string;
|
|
298
|
+
LineString: string;
|
|
299
|
+
MultiLineString: string;
|
|
300
|
+
Polygon: string;
|
|
301
|
+
MultiPolygon: string;
|
|
302
302
|
};
|
|
303
303
|
};
|
|
304
304
|
rawMethods: {
|
|
305
305
|
http: string;
|
|
306
306
|
upload: string;
|
|
307
307
|
};
|
|
308
|
+
formatOptions: {
|
|
309
|
+
title: string;
|
|
310
|
+
decimalPrecision: string;
|
|
311
|
+
noDecimalPrecision: string;
|
|
312
|
+
localeFormat: string;
|
|
313
|
+
unit: string;
|
|
314
|
+
noUnit: string;
|
|
315
|
+
dateFormat: string;
|
|
316
|
+
noDateFormat: string;
|
|
317
|
+
dateFormatOptions: {
|
|
318
|
+
DATETIME: string;
|
|
319
|
+
DATE: string;
|
|
320
|
+
MONTH_YEAR: string;
|
|
321
|
+
DAY_MONTH: string;
|
|
322
|
+
YEAR: string;
|
|
323
|
+
MONTH: string;
|
|
324
|
+
DAY: string;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
308
327
|
};
|
|
309
328
|
userInfo: {
|
|
310
329
|
list: string;
|
|
@@ -274,39 +274,58 @@ export declare const frTranslations: {
|
|
|
274
274
|
className: string;
|
|
275
275
|
confirmFieldDeletion: string;
|
|
276
276
|
fieldType: {
|
|
277
|
-
|
|
277
|
+
integer: string;
|
|
278
278
|
long: string;
|
|
279
279
|
decimal: string;
|
|
280
280
|
string: string;
|
|
281
281
|
keyword: string;
|
|
282
282
|
instant: string;
|
|
283
283
|
raw: string;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
284
|
+
Point: string;
|
|
285
|
+
MultiPoint: string;
|
|
286
|
+
LineString: string;
|
|
287
|
+
MultiLineString: string;
|
|
288
|
+
Polygon: string;
|
|
289
|
+
MultiPolygon: string;
|
|
290
290
|
information: {
|
|
291
|
-
|
|
291
|
+
integer: string;
|
|
292
292
|
long: string;
|
|
293
293
|
decimal: string;
|
|
294
294
|
string: string;
|
|
295
295
|
keyword: string;
|
|
296
296
|
instant: string;
|
|
297
297
|
raw: string;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
298
|
+
Point: string;
|
|
299
|
+
MultiPoint: string;
|
|
300
|
+
LineString: string;
|
|
301
|
+
MultiLineString: string;
|
|
302
|
+
Polygon: string;
|
|
303
|
+
MultiPolygon: string;
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
rawMethods: {
|
|
307
307
|
http: string;
|
|
308
308
|
upload: string;
|
|
309
309
|
};
|
|
310
|
+
formatOptions: {
|
|
311
|
+
title: string;
|
|
312
|
+
decimalPrecision: string;
|
|
313
|
+
noDecimalPrecision: string;
|
|
314
|
+
localeFormat: string;
|
|
315
|
+
unit: string;
|
|
316
|
+
noUnit: string;
|
|
317
|
+
dateFormat: string;
|
|
318
|
+
noDateFormat: string;
|
|
319
|
+
dateFormatOptions: {
|
|
320
|
+
DATETIME: string;
|
|
321
|
+
DATE: string;
|
|
322
|
+
MONTH_YEAR: string;
|
|
323
|
+
DAY_MONTH: string;
|
|
324
|
+
YEAR: string;
|
|
325
|
+
MONTH: string;
|
|
326
|
+
DAY: string;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
310
329
|
};
|
|
311
330
|
userInfo: {
|
|
312
331
|
list: string;
|
|
@@ -4,11 +4,13 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class PryCheckboxComponent implements ControlValueAccessor, AfterViewInit {
|
|
5
5
|
private _cd;
|
|
6
6
|
circle: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
inputId: string;
|
|
9
|
+
inhibit: boolean;
|
|
7
10
|
onChange: any;
|
|
8
11
|
onTouch: any;
|
|
9
12
|
checked: boolean;
|
|
10
13
|
disabled: boolean;
|
|
11
|
-
inhibate: boolean;
|
|
12
14
|
constructor(_cd: ChangeDetectorRef);
|
|
13
15
|
registerOnChange(fn: any): void;
|
|
14
16
|
registerOnTouched(fn: any): void;
|
|
@@ -16,5 +18,5 @@ export declare class PryCheckboxComponent implements ControlValueAccessor, After
|
|
|
16
18
|
setDisabledState(isDisabled: boolean): void;
|
|
17
19
|
ngAfterViewInit(): void;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryCheckboxComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryCheckboxComponent, "pry-checkbox", never, { "circle": { "alias": "circle"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryCheckboxComponent, "pry-checkbox", never, { "circle": { "alias": "circle"; "required": false; }; "name": { "alias": "name"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "inhibit": { "alias": "inhibit"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
20
22
|
}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { FormatOptions } from '@provoly/dashboard';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const LOCALE: {
|
|
5
|
+
value: string;
|
|
6
|
+
};
|
|
3
7
|
export declare class DataFormatPipe implements PipeTransform {
|
|
4
8
|
constructor();
|
|
5
|
-
transform(value
|
|
9
|
+
transform(value: any, { localeFormat, unit, decimalPrecision, format }?: Partial<FormatOptions> | undefined): any;
|
|
6
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataFormatPipe, never>;
|
|
7
11
|
static ɵpipe: i0.ɵɵPipeDeclaration<DataFormatPipe, "dataFormat", false>;
|
|
8
12
|
}
|
|
13
|
+
export declare const dateFormatOptions: {
|
|
14
|
+
value: {
|
|
15
|
+
[key: string]: Intl.DateTimeFormatOptions;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const toD3Format: (format?: string) => "%Y-%m-%dT%H:%M:%S" | "%Y-%m-%d" | "%m-%Y" | "%d-%m" | "%Y" | "%m" | "%d" | "%Y-%B-%dT%H:%M:%S";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Action, Store } from '@ngrx/store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PryPaginatorComponent {
|
|
5
|
+
store: Store<any>;
|
|
6
|
+
action: import("@angular/core").InputSignal<Action | undefined>;
|
|
7
|
+
nbPerPage: import("@angular/core").InputSignal<number>;
|
|
8
|
+
totalItemNb: import("@angular/core").InputSignal<number>;
|
|
9
|
+
mode: import("@angular/core").InputSignal<"long" | "short">;
|
|
10
|
+
nbOfPages: import("@angular/core").Signal<number>;
|
|
11
|
+
pages: import("@angular/core").Signal<number[]>;
|
|
12
|
+
currentPage: import("@angular/core").WritableSignal<number>;
|
|
13
|
+
pageChange: EventEmitter<number>;
|
|
14
|
+
constructor();
|
|
15
|
+
dispatchPageChangeAction(): void;
|
|
16
|
+
changePage(page: number): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryPaginatorComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryPaginatorComponent, "pry-paginator", never, { "action": { "alias": "action"; "required": false; "isSignal": true; }; "nbPerPage": { "alias": "nbPerPage"; "required": false; "isSignal": true; }; "totalItemNb": { "alias": "totalItemNb"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, { "pageChange": "pageChange"; }, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./paginator.component";
|
|
3
|
+
import * as i2 from "./style/css.component";
|
|
4
|
+
import * as i3 from "@provoly/dashboard";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
export declare class PryPaginatorModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryPaginatorModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPaginatorModule, [typeof i1.PryPaginatorComponent, typeof i2.PryPaginatorCssComponent], [typeof i3.PryIconModule, typeof i4.NgTemplateOutlet], [typeof i1.PryPaginatorComponent, typeof i2.PryPaginatorCssComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PryPaginatorModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class PryPaginatorCssComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryPaginatorCssComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryPaginatorCssComponent, "pry-paginator-css", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import { Dataset, DatasetVersion, PryBaseAccess, ResultSets, SubscriptionnerDirective, ViewMode, WidgetManifest } from '@provoly/dashboard';
|
|
3
|
+
import { Dataset, DatasetVersion, PryBaseAccess, PryDialogService, ResultSets, SubscriptionnerDirective, ViewMode, WidgetManifest } from '@provoly/dashboard';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PryDatasetDetailComponent extends SubscriptionnerDirective implements OnInit {
|
|
7
7
|
private store;
|
|
8
8
|
protected access: PryBaseAccess;
|
|
9
|
+
private dialog;
|
|
9
10
|
dataset: Dataset;
|
|
10
11
|
goToCatalog: EventEmitter<any>;
|
|
11
12
|
widgetManifest: {
|
|
@@ -16,24 +17,20 @@ export declare class PryDatasetDetailComponent extends SubscriptionnerDirective
|
|
|
16
17
|
tab: number;
|
|
17
18
|
datasetItems$: Observable<ResultSets | null>;
|
|
18
19
|
datasetVersions$: Observable<DatasetVersion[]>;
|
|
19
|
-
showModalStatus: boolean;
|
|
20
20
|
selectedDatasetVersion?: DatasetVersion;
|
|
21
21
|
selectedMode: ViewMode;
|
|
22
|
-
activeVersion$: Observable<DatasetVersion | undefined>;
|
|
23
|
-
activeVersionId$: Observable<string>;
|
|
24
22
|
isEditingVersion: boolean;
|
|
25
23
|
canModify$: Observable<boolean>;
|
|
26
24
|
isPanelOpen: boolean;
|
|
27
25
|
selectedVersion?: DatasetVersion;
|
|
28
|
-
constructor(store: Store, access: PryBaseAccess);
|
|
26
|
+
constructor(store: Store, access: PryBaseAccess, dialog: PryDialogService);
|
|
29
27
|
ngOnInit(): void;
|
|
30
28
|
goBack(): void;
|
|
31
29
|
refresh(): void;
|
|
32
|
-
goToConsult(version: DatasetVersion | undefined): void;
|
|
33
30
|
switch(number: number): void;
|
|
34
31
|
handleButtonAction($event: Event, version: DatasetVersion): void;
|
|
35
32
|
consultErrors($event: Event, version: DatasetVersion): void;
|
|
36
|
-
getVersionTooltipContent(version: DatasetVersion, activeVersionId
|
|
33
|
+
getVersionTooltipContent(version: DatasetVersion, activeVersionId?: string): "error" | "active" | "inactive" | "loading" | "invalid" | "unknown";
|
|
37
34
|
private deactivateVersion;
|
|
38
35
|
private activateVersion;
|
|
39
36
|
onTabSwitch($event: number): void;
|
|
@@ -41,6 +38,6 @@ export declare class PryDatasetDetailComponent extends SubscriptionnerDirective
|
|
|
41
38
|
editVersion(): void;
|
|
42
39
|
formValidated($event: Partial<DatasetVersion>): void;
|
|
43
40
|
askDelete(version: DatasetVersion, $event?: Event): void;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetDetailComponent, [null, { optional: true; }]>;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetDetailComponent, [null, { optional: true; }, null]>;
|
|
45
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryDatasetDetailComponent, "pry-dataset-detail", never, { "dataset": { "alias": "dataset"; "required": false; }; }, { "goToCatalog": "goToCatalog"; }, never, never, false, never>;
|
|
46
43
|
}
|
|
@@ -12,6 +12,6 @@ export declare class PryDatasetModule {
|
|
|
12
12
|
private pryTranslateService;
|
|
13
13
|
constructor(pryTranslateService: PryI18nService);
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryDatasetModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDatasetModule, [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.PryDatasetDetailComponent, typeof i4.PryDatasetVersionFormComponent], [typeof i5.CommonModule, typeof i6.PryIconModule, typeof i6.PryCoreModule, typeof i6.PryOverlayModule, typeof i6.PryI18nModule, typeof i7.FormsModule, typeof i6.PryDashboardModule, typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryDatasetModule, [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.PryDatasetDetailComponent, typeof i4.PryDatasetVersionFormComponent], [typeof i5.CommonModule, typeof i6.PryIconModule, typeof i6.PryCoreModule, typeof i6.PryOverlayModule, typeof i6.PryI18nModule, typeof i7.FormsModule, typeof i6.PryDashboardModule, typeof i7.ReactiveFormsModule, typeof i8.PryTextEditorModule, typeof i6.PrySelectModule, typeof i6.PrySinceDateModule], [typeof i1.PryDatasetComponent, typeof i2.PryDatasetCssComponent, typeof i3.PryDatasetDetailComponent]>;
|
|
16
16
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryDatasetModule>;
|
|
17
17
|
}
|
|
@@ -27,18 +27,6 @@ export declare const enTranslations: {
|
|
|
27
27
|
since_day: string;
|
|
28
28
|
noActiveVersion: string;
|
|
29
29
|
version: {
|
|
30
|
-
title: string;
|
|
31
|
-
productionDate: string;
|
|
32
|
-
producer: string;
|
|
33
|
-
additionalInformation: string;
|
|
34
|
-
notProvided: string;
|
|
35
|
-
INDEXING: string;
|
|
36
|
-
LOADING: string;
|
|
37
|
-
INACTIVE: string;
|
|
38
|
-
ERROR: string;
|
|
39
|
-
ACTIVE: string;
|
|
40
|
-
DELETING: string;
|
|
41
|
-
currentlyActive: string;
|
|
42
30
|
delete: {
|
|
43
31
|
title: string;
|
|
44
32
|
message: string;
|
|
@@ -27,18 +27,6 @@ export declare const frTranslations: {
|
|
|
27
27
|
since_day: string;
|
|
28
28
|
noActiveVersion: string;
|
|
29
29
|
version: {
|
|
30
|
-
title: string;
|
|
31
|
-
productionDate: string;
|
|
32
|
-
producer: string;
|
|
33
|
-
additionalInformation: string;
|
|
34
|
-
notProvided: string;
|
|
35
|
-
INDEXING: string;
|
|
36
|
-
LOADING: string;
|
|
37
|
-
INACTIVE: string;
|
|
38
|
-
ERROR: string;
|
|
39
|
-
ACTIVE: string;
|
|
40
|
-
DELETING: string;
|
|
41
|
-
currentlyActive: string;
|
|
42
30
|
delete: {
|
|
43
31
|
title: string;
|
|
44
32
|
message: string;
|