@provoly/dashboard 1.3.0 → 1.3.2
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/esm2022/admin/components/admin-dataset/store/admin-dataset.service.mjs +5 -4
- package/esm2022/admin/i18n/fr.translations.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +4 -4
- package/esm2022/mock/service/mock-i18n.service.mjs +2 -2
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +33 -42
- package/esm2022/presentation/components/presentation.component.mjs +4 -8
- package/esm2022/presentation/i18n/en.translations.mjs +3 -2
- package/esm2022/presentation/i18n/fr.translations.mjs +3 -2
- package/esm2022/toolbox/components/toolbox.component.mjs +3 -3
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +9 -7
- package/esm2022/widgets/widget-table/component/widget-table.component.mjs +3 -3
- package/esm2022/widgets/widget-table/i18n/en.translations.mjs +10 -2
- package/esm2022/widgets/widget-table/i18n/fr.translations.mjs +10 -2
- package/esm2022/widgets/widget-table/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-admin.mjs +5 -4
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-mock.mjs +1 -1
- package/fesm2022/provoly-dashboard-mock.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +39 -50
- package/fesm2022/provoly-dashboard-presentation.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-widgets-widget-map.mjs +8 -6
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs +22 -6
- package/fesm2022/provoly-dashboard-widgets-widget-table.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +3 -3
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/mock/service/mock-i18n.service.d.ts +1 -1
- package/package.json +37 -37
- package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +3 -1
- package/presentation/components/presentation.component.d.ts +4 -8
- package/presentation/i18n/en.translations.d.ts +1 -0
- package/presentation/i18n/fr.translations.d.ts +1 -0
- package/widgets/widget-map/component/widget-map.component.d.ts +1 -1
- package/widgets/widget-table/i18n/en.translations.d.ts +8 -0
- package/widgets/widget-table/i18n/fr.translations.d.ts +8 -0
- package/widgets/widget-table/style/_o-widget-table.scss +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -114,18 +114,18 @@
|
|
|
114
114
|
"esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
115
115
|
"default": "./fesm2022/provoly-dashboard-pipeline.mjs"
|
|
116
116
|
},
|
|
117
|
-
"./presentation": {
|
|
118
|
-
"types": "./presentation/index.d.ts",
|
|
119
|
-
"esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
120
|
-
"esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
121
|
-
"default": "./fesm2022/provoly-dashboard-presentation.mjs"
|
|
122
|
-
},
|
|
123
117
|
"./restitution": {
|
|
124
118
|
"types": "./restitution/index.d.ts",
|
|
125
119
|
"esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
|
|
126
120
|
"esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
|
|
127
121
|
"default": "./fesm2022/provoly-dashboard-restitution.mjs"
|
|
128
122
|
},
|
|
123
|
+
"./presentation": {
|
|
124
|
+
"types": "./presentation/index.d.ts",
|
|
125
|
+
"esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
126
|
+
"esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
127
|
+
"default": "./fesm2022/provoly-dashboard-presentation.mjs"
|
|
128
|
+
},
|
|
129
129
|
"./search": {
|
|
130
130
|
"types": "./search/index.d.ts",
|
|
131
131
|
"esm2022": "./esm2022/search/provoly-dashboard-search.mjs",
|
|
@@ -138,6 +138,36 @@
|
|
|
138
138
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
139
139
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
140
140
|
},
|
|
141
|
+
"./filters/autocomplete": {
|
|
142
|
+
"types": "./filters/autocomplete/index.d.ts",
|
|
143
|
+
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
144
|
+
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
145
|
+
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
146
|
+
},
|
|
147
|
+
"./filters/date": {
|
|
148
|
+
"types": "./filters/date/index.d.ts",
|
|
149
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
150
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
151
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
152
|
+
},
|
|
153
|
+
"./filters/list": {
|
|
154
|
+
"types": "./filters/list/index.d.ts",
|
|
155
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
156
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
157
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
158
|
+
},
|
|
159
|
+
"./filters/number": {
|
|
160
|
+
"types": "./filters/number/index.d.ts",
|
|
161
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
162
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
163
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
164
|
+
},
|
|
165
|
+
"./filters/text": {
|
|
166
|
+
"types": "./filters/text/index.d.ts",
|
|
167
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
168
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
169
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
170
|
+
},
|
|
141
171
|
"./components/card": {
|
|
142
172
|
"types": "./components/card/index.d.ts",
|
|
143
173
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -204,36 +234,6 @@
|
|
|
204
234
|
"esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
205
235
|
"default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
|
|
206
236
|
},
|
|
207
|
-
"./filters/autocomplete": {
|
|
208
|
-
"types": "./filters/autocomplete/index.d.ts",
|
|
209
|
-
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
210
|
-
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
211
|
-
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
212
|
-
},
|
|
213
|
-
"./filters/date": {
|
|
214
|
-
"types": "./filters/date/index.d.ts",
|
|
215
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
216
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
217
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
218
|
-
},
|
|
219
|
-
"./filters/list": {
|
|
220
|
-
"types": "./filters/list/index.d.ts",
|
|
221
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
222
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
223
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
224
|
-
},
|
|
225
|
-
"./filters/number": {
|
|
226
|
-
"types": "./filters/number/index.d.ts",
|
|
227
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
228
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
229
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
230
|
-
},
|
|
231
|
-
"./filters/text": {
|
|
232
|
-
"types": "./filters/text/index.d.ts",
|
|
233
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
234
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
235
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
236
|
-
},
|
|
237
237
|
"./pipeline-components/filter": {
|
|
238
238
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
239
239
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -10,6 +10,7 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
|
|
|
10
10
|
protected store: Store;
|
|
11
11
|
protected router: Router;
|
|
12
12
|
staticManifest$: Observable<GlobalManifest>;
|
|
13
|
+
staticManifest?: GlobalManifest;
|
|
13
14
|
selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
|
|
14
15
|
chosenLayout: string;
|
|
15
16
|
metadataDefs: IMetadata[] | undefined;
|
|
@@ -23,13 +24,14 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
|
|
|
23
24
|
mode: 'theme' | 'meta';
|
|
24
25
|
goBack: EventEmitter<void>;
|
|
25
26
|
constructor(store: Store, router: Router);
|
|
26
|
-
save(): void;
|
|
27
27
|
dispatchSave(): ManifestDescription;
|
|
28
|
+
save(): void;
|
|
28
29
|
configureDashboard(selectedPresentation: ManifestDescription): void;
|
|
29
30
|
addMetadata(metadata: MetaEventType): void;
|
|
30
31
|
removeMetadata(metadata: MetaEventType): void;
|
|
31
32
|
close(): void;
|
|
32
33
|
metadata(): MetadataValue[];
|
|
34
|
+
getNewManifest(): GlobalManifest;
|
|
33
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAddEditPresentationComponent, [null, { optional: true; }]>;
|
|
34
36
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; "edition": { "alias": "edition"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
35
37
|
}
|
|
@@ -2,7 +2,7 @@ import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
|
2
2
|
import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import {
|
|
5
|
+
import { ManifestDescription, PryBaseAccess, PryDialogService, PryTitleService, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
@@ -16,18 +16,14 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
16
16
|
private access;
|
|
17
17
|
private dialog;
|
|
18
18
|
manifests$: Observable<ManifestDescription[]>;
|
|
19
|
+
search$: BehaviorSubject<string>;
|
|
20
|
+
filteredPresentations$: Observable<ManifestDescription[]>;
|
|
19
21
|
selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
|
|
20
|
-
staticManifest$?: Observable<DashboardManifest>;
|
|
21
22
|
selectedMode: ViewMode;
|
|
23
|
+
ViewMode: typeof ViewMode;
|
|
22
24
|
templateModalActions: TemplateRef<any>;
|
|
23
25
|
openModal: ElementRef<HTMLButtonElement>;
|
|
24
26
|
overlayRef?: OverlayRef;
|
|
25
|
-
accessRightsByGroup: {
|
|
26
|
-
[key: string]: string[];
|
|
27
|
-
};
|
|
28
|
-
ViewMode: typeof ViewMode;
|
|
29
|
-
search$: BehaviorSubject<string>;
|
|
30
|
-
filteredPresentations$: Observable<ManifestDescription[]>;
|
|
31
27
|
editionStartUrl: string;
|
|
32
28
|
consultStartUrl: string;
|
|
33
29
|
meAsOwner?: string;
|
|
@@ -181,7 +181,7 @@ export declare class WidgetMapComponent extends DataWidgetComponent implements A
|
|
|
181
181
|
get rightSlideLayers(): BaseLayer[];
|
|
182
182
|
get leftSlideLayers(): BaseLayer[];
|
|
183
183
|
changeVisibility(group: LayerGroup, _layer?: MapWidgetLayerOptions): void;
|
|
184
|
-
isLayerVisible(layer: MapWidgetLayerOptions, group?: LayerGroup): boolean
|
|
184
|
+
isLayerVisible(layer: MapWidgetLayerOptions, group?: LayerGroup): boolean;
|
|
185
185
|
changeAutoLayer($event: any): void;
|
|
186
186
|
get layerVisibleIdx(): number;
|
|
187
187
|
ngOnDestroy(): void;
|
|
@@ -9,6 +9,14 @@ export declare const enTranslations: {
|
|
|
9
9
|
empty: string;
|
|
10
10
|
description: string;
|
|
11
11
|
remaining: string;
|
|
12
|
+
headerTextAlign: string;
|
|
13
|
+
cellTextAlign: string;
|
|
14
|
+
verticalSeparator: string;
|
|
15
|
+
align: {
|
|
16
|
+
left: string;
|
|
17
|
+
center: string;
|
|
18
|
+
right: string;
|
|
19
|
+
};
|
|
12
20
|
};
|
|
13
21
|
};
|
|
14
22
|
};
|
|
@@ -9,6 +9,14 @@ export declare const frTranslations: {
|
|
|
9
9
|
empty: string;
|
|
10
10
|
description: string;
|
|
11
11
|
remaining: string;
|
|
12
|
+
headerTextAlign: string;
|
|
13
|
+
cellTextAlign: string;
|
|
14
|
+
verticalSeparator: string;
|
|
15
|
+
align: {
|
|
16
|
+
left: string;
|
|
17
|
+
center: string;
|
|
18
|
+
right: string;
|
|
19
|
+
};
|
|
12
20
|
};
|
|
13
21
|
};
|
|
14
22
|
};
|