@provoly/dashboard 0.23.4 → 0.23.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.d.ts +7 -3
- package/esm2022/admin/components/admin-dataset/admin-select-dataset/admin-select-dataset.component.mjs +22 -5
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -3
- package/esm2022/lib/core/components/share/group-share/group-share.component.mjs +12 -6
- package/esm2022/lib/core/components/share/share.utils.mjs +14 -8
- package/esm2022/lib/core/model/filter.interface.mjs +1 -1
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/model/widget.interface.mjs +1 -1
- package/esm2022/lib/core/store/config/config.service.mjs +2 -1
- package/esm2022/lib/core/toolbox/toolbox-menu.service.mjs +1 -2
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +2 -2
- package/esm2022/lib/dashboard/store/manifest.service.mjs +3 -3
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +5 -9
- package/esm2022/presentation/components/presentation.component.mjs +23 -4
- package/esm2022/presentation/i18n/fr.translations.mjs +1 -2
- package/esm2022/restitution/components/restitution/restitution.component.mjs +5 -11
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -3
- package/esm2022/restitution/components/restitution-list-item/restitution-list-item.component.mjs +3 -3
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +14 -5
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +5 -7
- package/esm2022/toolbox/components/share/share.component.mjs +2 -3
- package/fesm2022/provoly-dashboard-admin.mjs +20 -3
- package/fesm2022/provoly-dashboard-admin.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -2
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +27 -13
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +7 -13
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +18 -11
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +27 -15
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/share/group-share/group-share.component.d.ts +3 -2
- package/lib/core/model/filter.interface.d.ts +1 -0
- package/lib/core/model/manifest.interface.d.ts +0 -2
- package/lib/core/model/widget.interface.d.ts +0 -1
- package/lib/dashboard/components/widgets/widget-placement/widget-placement.utils.d.ts +0 -1
- package/lib/dashboard/store/dashboard.actions.d.ts +0 -2
- package/lib/dashboard/store/manifest.service.d.ts +1 -1
- package/package.json +43 -43
- package/presentation/components/presentation.component.d.ts +5 -0
- package/presentation/i18n/fr.translations.d.ts +0 -1
- package/styles/components/_a-label.scss +4 -0
- package/toolbox/components/filter-settings/filter-settings.component.d.ts +4 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Group, PryVisibilityType } from '../share.model';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
@@ -34,6 +34,7 @@ export declare class PryGroupShareComponent extends SubscriptionnerDirective imp
|
|
|
34
34
|
} | null);
|
|
35
35
|
_allowedGroups$: BehaviorSubject<string[] | undefined>;
|
|
36
36
|
set allowedGroups(value: string[] | null);
|
|
37
|
+
radioValueChange: EventEmitter<PryVisibilityType>;
|
|
37
38
|
constructor(store: Store, _cd: ChangeDetectorRef);
|
|
38
39
|
writeValue(value: string[] | undefined): void;
|
|
39
40
|
registerOnChange(fn: any): void;
|
|
@@ -42,5 +43,5 @@ export declare class PryGroupShareComponent extends SubscriptionnerDirective imp
|
|
|
42
43
|
changeGroupsBasedOnRadioValue(type: PryVisibilityType): void;
|
|
43
44
|
changeGroups(groups: (Group | string)[] | null): void;
|
|
44
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryGroupShareComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryGroupShareComponent, "pry-group-share", never, { "disableRadios": { "alias": "disableRadios"; "required": false; }; "allowedGroups": { "alias": "allowedGroups"; "required": false; }; }, {}, never, never, false, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryGroupShareComponent, "pry-group-share", never, { "disableRadios": { "alias": "disableRadios"; "required": false; }; "allowedGroups": { "alias": "allowedGroups"; "required": false; }; }, { "radioValueChange": "radioValueChange"; }, never, never, false, never>;
|
|
46
47
|
}
|
|
@@ -17,7 +17,6 @@ export interface ManifestDescription {
|
|
|
17
17
|
description?: string;
|
|
18
18
|
manifestUrl: string;
|
|
19
19
|
image: string;
|
|
20
|
-
cover: boolean;
|
|
21
20
|
creationDate: string;
|
|
22
21
|
modificationDate: string;
|
|
23
22
|
groups: string[];
|
|
@@ -73,7 +72,6 @@ export interface WidgetManifest {
|
|
|
73
72
|
options?: WidgetOptions;
|
|
74
73
|
datasource?: string | string[];
|
|
75
74
|
header?: boolean;
|
|
76
|
-
cover?: boolean;
|
|
77
75
|
contextMenu?: boolean;
|
|
78
76
|
}
|
|
79
77
|
export interface CustomWidgetOptions {
|
|
@@ -14,7 +14,6 @@ export declare const WidgetPlacementUtils: {
|
|
|
14
14
|
options?: import("../../../../core/model/manifest.interface").WidgetOptions | undefined;
|
|
15
15
|
datasource?: string | string[] | undefined;
|
|
16
16
|
header?: boolean | undefined;
|
|
17
|
-
cover?: boolean | undefined;
|
|
18
17
|
contextMenu?: boolean | undefined;
|
|
19
18
|
}[];
|
|
20
19
|
swapArrayElements: (arr: any[], x: number, y: number) => any[];
|
|
@@ -242,7 +242,6 @@ export declare const DashboardActions: {
|
|
|
242
242
|
id: string;
|
|
243
243
|
description?: string | undefined;
|
|
244
244
|
image?: string | undefined;
|
|
245
|
-
cover?: boolean | undefined;
|
|
246
245
|
metadata?: {
|
|
247
246
|
metadataDefId: string;
|
|
248
247
|
value: string;
|
|
@@ -254,7 +253,6 @@ export declare const DashboardActions: {
|
|
|
254
253
|
id: string;
|
|
255
254
|
description?: string | undefined;
|
|
256
255
|
image?: string | undefined;
|
|
257
|
-
cover?: boolean | undefined;
|
|
258
256
|
metadata?: {
|
|
259
257
|
metadataDefId: string;
|
|
260
258
|
value: string;
|
|
@@ -14,7 +14,7 @@ export declare class ManifestService {
|
|
|
14
14
|
constructor(httpClient: HttpClient, store: Store<any>, snackBar: PrySnackbarService, translateService: PryI18nService);
|
|
15
15
|
list(): Observable<ManifestDescription[]>;
|
|
16
16
|
get(id: string): Observable<GlobalManifest>;
|
|
17
|
-
save(name: string, manifest: GlobalManifest, id: string, description?: string, image?: string,
|
|
17
|
+
save(name: string, manifest: GlobalManifest, id: string, description?: string, image?: string, metadata?: {
|
|
18
18
|
metadataDefId: string;
|
|
19
19
|
value: string;
|
|
20
20
|
}[], groups?: string[]): Observable<ShareConflict>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.6",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -132,36 +132,6 @@
|
|
|
132
132
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
133
133
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
134
134
|
},
|
|
135
|
-
"./filters/autocomplete": {
|
|
136
|
-
"types": "./filters/autocomplete/index.d.ts",
|
|
137
|
-
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
138
|
-
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
139
|
-
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
140
|
-
},
|
|
141
|
-
"./filters/date": {
|
|
142
|
-
"types": "./filters/date/index.d.ts",
|
|
143
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
144
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
145
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
146
|
-
},
|
|
147
|
-
"./filters/list": {
|
|
148
|
-
"types": "./filters/list/index.d.ts",
|
|
149
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
150
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
151
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
152
|
-
},
|
|
153
|
-
"./filters/number": {
|
|
154
|
-
"types": "./filters/number/index.d.ts",
|
|
155
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
156
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
157
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
158
|
-
},
|
|
159
|
-
"./filters/text": {
|
|
160
|
-
"types": "./filters/text/index.d.ts",
|
|
161
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
162
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
163
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
164
|
-
},
|
|
165
135
|
"./components/card": {
|
|
166
136
|
"types": "./components/card/index.d.ts",
|
|
167
137
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -186,18 +156,18 @@
|
|
|
186
156
|
"esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
|
|
187
157
|
"default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
|
|
188
158
|
},
|
|
189
|
-
"./components/metadata-editor": {
|
|
190
|
-
"types": "./components/metadata-editor/index.d.ts",
|
|
191
|
-
"esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
192
|
-
"esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
193
|
-
"default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
|
|
194
|
-
},
|
|
195
159
|
"./components/filter": {
|
|
196
160
|
"types": "./components/filter/index.d.ts",
|
|
197
161
|
"esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
198
162
|
"esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
|
|
199
163
|
"default": "./fesm2022/provoly-dashboard-components-filter.mjs"
|
|
200
164
|
},
|
|
165
|
+
"./components/metadata-editor": {
|
|
166
|
+
"types": "./components/metadata-editor/index.d.ts",
|
|
167
|
+
"esm2022": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
168
|
+
"esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
169
|
+
"default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
|
|
170
|
+
},
|
|
201
171
|
"./components/scheme-picker": {
|
|
202
172
|
"types": "./components/scheme-picker/index.d.ts",
|
|
203
173
|
"esm2022": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
@@ -216,6 +186,36 @@
|
|
|
216
186
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
217
187
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
218
188
|
},
|
|
189
|
+
"./filters/autocomplete": {
|
|
190
|
+
"types": "./filters/autocomplete/index.d.ts",
|
|
191
|
+
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
192
|
+
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
193
|
+
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
194
|
+
},
|
|
195
|
+
"./filters/date": {
|
|
196
|
+
"types": "./filters/date/index.d.ts",
|
|
197
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
198
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
199
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
200
|
+
},
|
|
201
|
+
"./filters/list": {
|
|
202
|
+
"types": "./filters/list/index.d.ts",
|
|
203
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
204
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
205
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
206
|
+
},
|
|
207
|
+
"./filters/number": {
|
|
208
|
+
"types": "./filters/number/index.d.ts",
|
|
209
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
210
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
211
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
212
|
+
},
|
|
213
|
+
"./filters/text": {
|
|
214
|
+
"types": "./filters/text/index.d.ts",
|
|
215
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
216
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
217
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
218
|
+
},
|
|
219
219
|
"./pipeline-components/filter": {
|
|
220
220
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
221
221
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -312,17 +312,17 @@
|
|
|
312
312
|
"esm": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
|
|
313
313
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-template.mjs"
|
|
314
314
|
},
|
|
315
|
-
"./widgets/widget-tile": {
|
|
316
|
-
"types": "./widgets/widget-tile/index.d.ts",
|
|
317
|
-
"esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
|
|
318
|
-
"esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
|
|
319
|
-
"default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
|
|
320
|
-
},
|
|
321
315
|
"./widgets/widget-vega": {
|
|
322
316
|
"types": "./widgets/widget-vega/index.d.ts",
|
|
323
317
|
"esm2022": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
|
|
324
318
|
"esm": "./esm2022/widgets/widget-vega/provoly-dashboard-widgets-widget-vega.mjs",
|
|
325
319
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-vega.mjs"
|
|
320
|
+
},
|
|
321
|
+
"./widgets/widget-tile": {
|
|
322
|
+
"types": "./widgets/widget-tile/index.d.ts",
|
|
323
|
+
"esm2022": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
|
|
324
|
+
"esm": "./esm2022/widgets/widget-tile/provoly-dashboard-widgets-widget-tile.mjs",
|
|
325
|
+
"default": "./fesm2022/provoly-dashboard-widgets-widget-tile.mjs"
|
|
326
326
|
}
|
|
327
327
|
},
|
|
328
328
|
"schematics": "./schematics/collection.json",
|
|
@@ -40,6 +40,8 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
40
40
|
[key in PryVisibilityType]: boolean;
|
|
41
41
|
}>;
|
|
42
42
|
allowedShareGroups$: Observable<string[]>;
|
|
43
|
+
shareRadioValue$: BehaviorSubject<PryVisibilityType | undefined>;
|
|
44
|
+
disableShareButton$: BehaviorSubject<boolean>;
|
|
43
45
|
mode: 'theme' | 'meta';
|
|
44
46
|
set listOfManifests(manifests: ManifestDescription[] | null);
|
|
45
47
|
hideToolbox: boolean;
|
|
@@ -57,6 +59,9 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
57
59
|
focusCrossElement(): void;
|
|
58
60
|
focusValidation(): void;
|
|
59
61
|
editContent(selectedPresentation: ManifestDescription): void;
|
|
62
|
+
updateAccessGroups($event: string[]): void;
|
|
63
|
+
updateVisibility($event: PryVisibilityType): void;
|
|
64
|
+
updateDisableButtonValue(): void;
|
|
60
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
|
|
61
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
|
|
62
67
|
}
|
|
@@ -13,6 +13,7 @@ export declare enum FilterSteps {
|
|
|
13
13
|
}
|
|
14
14
|
export interface Attribute {
|
|
15
15
|
id: string;
|
|
16
|
+
customId: string;
|
|
16
17
|
technicalName: string;
|
|
17
18
|
label: string;
|
|
18
19
|
datasource: string;
|
|
@@ -48,22 +49,10 @@ export declare class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
48
49
|
value: string;
|
|
49
50
|
}[]>;
|
|
50
51
|
classes: Class[];
|
|
51
|
-
attributes$: Observable<
|
|
52
|
-
id: string;
|
|
53
|
-
technicalName: string;
|
|
54
|
-
label: string;
|
|
55
|
-
datasource: string;
|
|
56
|
-
type: string;
|
|
57
|
-
}[]>;
|
|
52
|
+
attributes$: Observable<Attribute[]>;
|
|
58
53
|
selectedAttribute$: BehaviorSubject<string[]>;
|
|
59
54
|
container: ViewContainerRef;
|
|
60
|
-
attributes:
|
|
61
|
-
id: string;
|
|
62
|
-
technicalName: string;
|
|
63
|
-
label: string;
|
|
64
|
-
datasource: string;
|
|
65
|
-
type: string;
|
|
66
|
-
}[];
|
|
55
|
+
attributes: Attribute[];
|
|
67
56
|
constructor(store: Store, overlay: Overlay, viewContainerRef: ViewContainerRef, filterFactoryService: FilterFactoryService, injector: Injector, i18nService: PryI18nService);
|
|
68
57
|
getDatasourceClass(dataSource: DataSource, classes: Class[]): Class | undefined;
|
|
69
58
|
isValidAttributeForComponentType(componentType: string, attribute: Attribute): boolean;
|
|
@@ -82,6 +71,7 @@ export declare class PryFilterSettingsComponent extends ToolboxActionComponent {
|
|
|
82
71
|
label: string;
|
|
83
72
|
value: string;
|
|
84
73
|
}[];
|
|
74
|
+
getCustomAttributeId(attributeId: string, datasetId: string): string;
|
|
85
75
|
protected readonly FilterSteps: typeof FilterSteps;
|
|
86
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryFilterSettingsComponent, never>;
|
|
87
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<PryFilterSettingsComponent, "pry-filter-settings", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
|