@provoly/dashboard 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/color-picker/color-picker.component.d.ts +1 -1
- package/dataset/components/dataset-detail/dataset-detail.component.d.ts +1 -1
- package/dataset/style/_o-pry-dataset-card.scss +7 -3
- package/esm2022/components/color-picker/color-picker.component.mjs +2 -2
- package/esm2022/components/scheme-picker/scheme-picker.component.mjs +2 -5
- package/esm2022/dataset/components/dataset-card/dataset-card.component.mjs +3 -3
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +8 -6
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/share/access-rights-share-modal/access-rights-share-modal.component.mjs +9 -5
- package/esm2022/lib/core/i18n/en.translations.mjs +4 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +4 -2
- package/esm2022/lib/core/model/display-options.interface.mjs +7 -4
- package/esm2022/lib/dashboard/filter/components/filter-group/filter-group.component.mjs +3 -3
- package/esm2022/lib/dashboard/filter/style/css.component.mjs +2 -2
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +3 -1
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +25 -57
- package/esm2022/presentation/components/presentation.component.mjs +12 -13
- package/esm2022/presentation/components/title-presentation/title-presentation.component.mjs +4 -7
- package/esm2022/presentation/presentation.module.mjs +10 -14
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/restitution/style/css.component.mjs +2 -2
- package/esm2022/toolbox/components/automate-refresh/automate-refresh.component.mjs +2 -2
- package/esm2022/toolbox/components/clear-view/clear-view.component.mjs +2 -2
- package/esm2022/toolbox/components/dashboard-details/dashboard-details.component.mjs +4 -4
- package/esm2022/toolbox/components/delete/delete.component.mjs +2 -2
- package/esm2022/toolbox/components/drag-widgets/drag-widgets.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-mode-action/edit-mode-action.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.mjs +2 -2
- package/esm2022/toolbox/components/edit-presentation/edit-presentation.component.mjs +64 -0
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +2 -2
- package/esm2022/toolbox/components/launch-tab/launch-tab.component.mjs +2 -2
- package/esm2022/toolbox/components/refresh-datasets/refresh-datasets.component.mjs +2 -2
- package/esm2022/toolbox/components/save-view/save-view.component.mjs +7 -15
- package/esm2022/toolbox/components/select-grid-layout/select-grid-layout.component.mjs +2 -2
- package/esm2022/toolbox/components/share/share.component.mjs +2 -2
- package/esm2022/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.mjs +2 -2
- package/esm2022/toolbox/components/toolbox.component.mjs +16 -9
- package/esm2022/toolbox/public-api.mjs +5 -3
- package/esm2022/toolbox/shared/presentation-form/presentation-form.component.mjs +97 -0
- package/esm2022/toolbox/shared/toolbox-action/toolbox-action.component.mjs +44 -0
- package/esm2022/toolbox/shared/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +58 -0
- package/esm2022/toolbox/style/css.component.mjs +2 -2
- package/esm2022/toolbox/toolbox.model.mjs +13 -5
- package/esm2022/toolbox/toolbox.module.mjs +21 -10
- package/esm2022/widgets/widget-analytic/component/widget-analytic.component.mjs +2 -2
- package/esm2022/widgets/widget-analytic/style/css.component.mjs +2 -2
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +19 -14
- package/fesm2022/provoly-dashboard-components-color-picker.mjs +1 -1
- package/fesm2022/provoly-dashboard-components-color-picker.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs +1 -4
- package/fesm2022/provoly-dashboard-components-scheme-picker.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +11 -9
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +50 -87
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +2 -2
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +205 -55
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs +3 -3
- package/fesm2022/provoly-dashboard-widgets-widget-analytic.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +18 -13
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +24 -12
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +2 -0
- package/lib/core/i18n/fr.translations.d.ts +2 -0
- package/lib/core/model/display-options.interface.d.ts +1 -0
- package/lib/dashboard/filter/style/_o-pry-filter-group.scss +0 -4
- package/lib/dashboard/store/dashboard.selectors.d.ts +1 -0
- package/package.json +31 -31
- package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +14 -21
- package/presentation/components/presentation.component.d.ts +7 -8
- package/presentation/style/_o-pry-new-presentation.scss +9 -10
- package/presentation/style/_o-pry-presentation.scss +1 -3
- package/styles/base/_utils.scss +3 -0
- package/styles/components/_a-btn.scss +4 -0
- package/styles/components/_m-actions-list.scss +5 -1
- package/styles/components/_m-presentation-title.scss +1 -5
- package/styles/components/_o-widget.scss +5 -6
- package/styles/layout/_o-workspace.scss +4 -21
- package/styles-theme/components-theme/_a-btn.theme.scss +16 -0
- package/styles-theme/main-theme.scss +0 -2
- package/toolbox/components/automate-refresh/automate-refresh.component.d.ts +1 -1
- package/toolbox/components/clear-view/clear-view.component.d.ts +1 -1
- package/toolbox/components/dashboard-details/dashboard-details.component.d.ts +1 -1
- package/toolbox/components/delete/delete.component.d.ts +1 -1
- package/toolbox/components/drag-widgets/drag-widgets.component.d.ts +1 -1
- package/toolbox/components/edit-mode-action/edit-mode-action.component.d.ts +1 -1
- package/toolbox/components/edit-mode-toggle/edit-mode-toggle.component.d.ts +1 -1
- package/toolbox/components/edit-presentation/edit-presentation.component.d.ts +22 -0
- package/toolbox/components/filter-settings/filter-settings.component.d.ts +1 -1
- package/toolbox/components/launch-tab/launch-tab.component.d.ts +1 -1
- package/toolbox/components/refresh-datasets/refresh-datasets.component.d.ts +1 -1
- package/toolbox/components/save-view/save-view.component.d.ts +5 -6
- package/toolbox/components/select-grid-layout/select-grid-layout.component.d.ts +1 -1
- package/toolbox/components/share/share.component.d.ts +1 -1
- package/toolbox/components/switch-to-edit-content/switch-to-edit-content.component.d.ts +1 -1
- package/toolbox/components/toolbox.component.d.ts +3 -2
- package/toolbox/public-api.d.ts +4 -2
- package/toolbox/shared/presentation-form/presentation-form.component.d.ts +42 -0
- package/toolbox/style/_o-dashboard-details.component.scss +0 -13
- package/toolbox/toolbox.model.d.ts +1 -1
- package/toolbox/toolbox.module.d.ts +14 -12
- package/widgets/widget-analytic/style/_o-widget-analytic.scss +2 -0
- package/widgets/widget-map/component/widget-map.component.d.ts +1 -3
- package/esm2022/toolbox/components/toolbox-action/toolbox-action.component.mjs +0 -46
- package/esm2022/toolbox/components/toolbox-action-instanciator/toolbox-action-instanciator.component.mjs +0 -58
- package/styles-theme/layout-theme/_o-workspace.theme.scss +0 -18
- /package/toolbox/{components → shared}/toolbox-action/toolbox-action.component.d.ts +0 -0
- /package/toolbox/{components → shared}/toolbox-action-instanciator/toolbox-action-instanciator.component.d.ts +0 -0
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
&__filters {
|
|
7
7
|
display: flex;
|
|
8
|
-
padding: toRem(8) toRem(10);
|
|
9
|
-
max-height: 50px; // needed for ng-select
|
|
10
8
|
gap: toRem(10);
|
|
11
9
|
}
|
|
12
10
|
|
|
@@ -14,10 +12,8 @@
|
|
|
14
12
|
display: flex;
|
|
15
13
|
justify-content: flex-start;
|
|
16
14
|
margin-bottom: toRem(-5);
|
|
17
|
-
max-height: 50px; // needed for ng-select
|
|
18
15
|
padding: toRem(4) 0;
|
|
19
16
|
overflow-x: auto;
|
|
20
|
-
overflow-y: hidden;
|
|
21
17
|
}
|
|
22
18
|
|
|
23
19
|
&__filter-actions {
|
|
@@ -311,6 +311,7 @@ export declare const DashboardSelectors: {
|
|
|
311
311
|
viewMode?: import("./dashboard.actions").ViewMode | undefined;
|
|
312
312
|
initial: GlobalManifest | undefined;
|
|
313
313
|
}>;
|
|
314
|
+
currentManifest: MemoizedSelector<object, import("../../core/model/manifest.interface").ManifestDescription | undefined, (s1: DashboardState) => import("../../core/model/manifest.interface").ManifestDescription | undefined>;
|
|
314
315
|
filters: MemoizedSelector<object, Filter[], (s1: DashboardState) => Filter[]>;
|
|
315
316
|
isCurrentPresentationModified: MemoizedSelector<object, boolean, (s1: {
|
|
316
317
|
current: import("../../core/model/manifest.interface").ManifestDescription | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -108,18 +108,18 @@
|
|
|
108
108
|
"esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
109
109
|
"default": "./fesm2022/provoly-dashboard-pipeline.mjs"
|
|
110
110
|
},
|
|
111
|
-
"./presentation": {
|
|
112
|
-
"types": "./presentation/index.d.ts",
|
|
113
|
-
"esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
114
|
-
"esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
115
|
-
"default": "./fesm2022/provoly-dashboard-presentation.mjs"
|
|
116
|
-
},
|
|
117
111
|
"./restitution": {
|
|
118
112
|
"types": "./restitution/index.d.ts",
|
|
119
113
|
"esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
|
|
120
114
|
"esm": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
|
|
121
115
|
"default": "./fesm2022/provoly-dashboard-restitution.mjs"
|
|
122
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
123
|
"./search": {
|
|
124
124
|
"types": "./search/index.d.ts",
|
|
125
125
|
"esm2022": "./esm2022/search/provoly-dashboard-search.mjs",
|
|
@@ -174,36 +174,36 @@
|
|
|
174
174
|
"esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
175
175
|
"default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
|
|
176
176
|
},
|
|
177
|
-
"./components/page-loader": {
|
|
178
|
-
"types": "./components/page-loader/index.d.ts",
|
|
179
|
-
"esm2022": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
180
|
-
"esm": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
181
|
-
"default": "./fesm2022/provoly-dashboard-components-page-loader.mjs"
|
|
182
|
-
},
|
|
183
177
|
"./components/scheme-picker": {
|
|
184
178
|
"types": "./components/scheme-picker/index.d.ts",
|
|
185
179
|
"esm2022": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
186
180
|
"esm": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
187
181
|
"default": "./fesm2022/provoly-dashboard-components-scheme-picker.mjs"
|
|
188
182
|
},
|
|
183
|
+
"./components/page-loader": {
|
|
184
|
+
"types": "./components/page-loader/index.d.ts",
|
|
185
|
+
"esm2022": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
186
|
+
"esm": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
187
|
+
"default": "./fesm2022/provoly-dashboard-components-page-loader.mjs"
|
|
188
|
+
},
|
|
189
189
|
"./components/sinceDate": {
|
|
190
190
|
"types": "./components/sinceDate/index.d.ts",
|
|
191
191
|
"esm2022": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
|
|
192
192
|
"esm": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
|
|
193
193
|
"default": "./fesm2022/provoly-dashboard-components-sinceDate.mjs"
|
|
194
194
|
},
|
|
195
|
-
"./components/stepper": {
|
|
196
|
-
"types": "./components/stepper/index.d.ts",
|
|
197
|
-
"esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
198
|
-
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
199
|
-
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
200
|
-
},
|
|
201
195
|
"./components/text-editor": {
|
|
202
196
|
"types": "./components/text-editor/index.d.ts",
|
|
203
197
|
"esm2022": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
204
198
|
"esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
205
199
|
"default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
|
|
206
200
|
},
|
|
201
|
+
"./components/stepper": {
|
|
202
|
+
"types": "./components/stepper/index.d.ts",
|
|
203
|
+
"esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
204
|
+
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
205
|
+
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
206
|
+
},
|
|
207
207
|
"./filters/autocomplete": {
|
|
208
208
|
"types": "./filters/autocomplete/index.d.ts",
|
|
209
209
|
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
@@ -300,36 +300,36 @@
|
|
|
300
300
|
"esm": "./esm2022/widgets/widget-detail/provoly-dashboard-widgets-widget-detail.mjs",
|
|
301
301
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-detail.mjs"
|
|
302
302
|
},
|
|
303
|
-
"./widgets/widget-graph": {
|
|
304
|
-
"types": "./widgets/widget-graph/index.d.ts",
|
|
305
|
-
"esm2022": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
306
|
-
"esm": "./esm2022/widgets/widget-graph/provoly-dashboard-widgets-widget-graph.mjs",
|
|
307
|
-
"default": "./fesm2022/provoly-dashboard-widgets-widget-graph.mjs"
|
|
308
|
-
},
|
|
309
303
|
"./widgets/widget-iframe": {
|
|
310
304
|
"types": "./widgets/widget-iframe/index.d.ts",
|
|
311
305
|
"esm2022": "./esm2022/widgets/widget-iframe/provoly-dashboard-widgets-widget-iframe.mjs",
|
|
312
306
|
"esm": "./esm2022/widgets/widget-iframe/provoly-dashboard-widgets-widget-iframe.mjs",
|
|
313
307
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-iframe.mjs"
|
|
314
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
|
+
},
|
|
315
315
|
"./widgets/widget-image": {
|
|
316
316
|
"types": "./widgets/widget-image/index.d.ts",
|
|
317
317
|
"esm2022": "./esm2022/widgets/widget-image/provoly-dashboard-widgets-widget-image.mjs",
|
|
318
318
|
"esm": "./esm2022/widgets/widget-image/provoly-dashboard-widgets-widget-image.mjs",
|
|
319
319
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-image.mjs"
|
|
320
320
|
},
|
|
321
|
-
"./widgets/widget-table": {
|
|
322
|
-
"types": "./widgets/widget-table/index.d.ts",
|
|
323
|
-
"esm2022": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
|
|
324
|
-
"esm": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
|
|
325
|
-
"default": "./fesm2022/provoly-dashboard-widgets-widget-table.mjs"
|
|
326
|
-
},
|
|
327
321
|
"./widgets/widget-map": {
|
|
328
322
|
"types": "./widgets/widget-map/index.d.ts",
|
|
329
323
|
"esm2022": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
|
|
330
324
|
"esm": "./esm2022/widgets/widget-map/provoly-dashboard-widgets-widget-map.mjs",
|
|
331
325
|
"default": "./fesm2022/provoly-dashboard-widgets-widget-map.mjs"
|
|
332
326
|
},
|
|
327
|
+
"./widgets/widget-table": {
|
|
328
|
+
"types": "./widgets/widget-table/index.d.ts",
|
|
329
|
+
"esm2022": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
|
|
330
|
+
"esm": "./esm2022/widgets/widget-table/provoly-dashboard-widgets-widget-table.mjs",
|
|
331
|
+
"default": "./fesm2022/provoly-dashboard-widgets-widget-table.mjs"
|
|
332
|
+
},
|
|
333
333
|
"./widgets/widget-template": {
|
|
334
334
|
"types": "./widgets/widget-template/index.d.ts",
|
|
335
335
|
"esm2022": "./esm2022/widgets/widget-template/provoly-dashboard-widgets-widget-template.mjs",
|
|
@@ -1,42 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
3
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { GlobalManifest, IMetadata,
|
|
4
|
+
import { GlobalManifest, IMetadata, ManifestDescription, MetadataValue, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
6
5
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
6
|
import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
|
|
7
|
+
import { PresentationFormValue } from '@provoly/dashboard/toolbox';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class PryAddEditPresentationComponent extends SubscriptionnerDirective
|
|
9
|
+
export declare class PryAddEditPresentationComponent extends SubscriptionnerDirective {
|
|
10
10
|
protected store: Store;
|
|
11
11
|
protected router: Router;
|
|
12
12
|
staticManifest$: Observable<GlobalManifest>;
|
|
13
|
-
selectedPresentation$: BehaviorSubject<ManifestDescription |
|
|
14
|
-
edition: boolean;
|
|
15
|
-
themePrefix: string | null;
|
|
16
|
-
editionStartUrl: string;
|
|
17
|
-
form: FormGroup;
|
|
18
|
-
image: string;
|
|
19
|
-
goBack: EventEmitter<void>;
|
|
20
|
-
type: LibraryTypes;
|
|
13
|
+
selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
|
|
21
14
|
chosenLayout: string;
|
|
22
|
-
possibleThemes: string[];
|
|
23
15
|
metadataDefs: IMetadata[] | undefined;
|
|
24
16
|
metadataThemeId: string;
|
|
25
|
-
|
|
17
|
+
formValue?: Partial<PresentationFormValue>;
|
|
18
|
+
isFormValid: boolean;
|
|
19
|
+
set selectedPresentation(presentation: ManifestDescription | undefined);
|
|
20
|
+
edition: boolean;
|
|
21
|
+
themePrefix: string | null;
|
|
22
|
+
editionStartUrl: string;
|
|
26
23
|
mode: 'theme' | 'meta';
|
|
24
|
+
goBack: EventEmitter<void>;
|
|
27
25
|
constructor(store: Store, router: Router);
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
ngAfterViewInit(): void;
|
|
30
26
|
save(): void;
|
|
31
27
|
dispatchSave(): ManifestDescription;
|
|
32
28
|
configureDashboard(selectedPresentation: ManifestDescription): void;
|
|
33
29
|
addMetadata(metadata: MetaEventType): void;
|
|
34
30
|
removeMetadata(metadata: MetaEventType): void;
|
|
35
31
|
close(): void;
|
|
36
|
-
metadata():
|
|
37
|
-
metadataDef: IMetadata;
|
|
38
|
-
value: any;
|
|
39
|
-
}[];
|
|
32
|
+
metadata(): MetadataValue[];
|
|
40
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAddEditPresentationComponent, [null, { optional: true; }]>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "
|
|
34
|
+
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>;
|
|
42
35
|
}
|
|
@@ -16,27 +16,26 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
16
16
|
private access;
|
|
17
17
|
private dialog;
|
|
18
18
|
manifests$: Observable<ManifestDescription[]>;
|
|
19
|
-
selectedPresentation$: BehaviorSubject<ManifestDescription |
|
|
19
|
+
selectedPresentation$: BehaviorSubject<ManifestDescription | undefined>;
|
|
20
20
|
staticManifest$?: Observable<DashboardManifest>;
|
|
21
21
|
selectedMode: ViewMode;
|
|
22
|
-
modalOpened: boolean;
|
|
23
22
|
templateModalActions: TemplateRef<any>;
|
|
24
23
|
openModal: ElementRef<HTMLButtonElement>;
|
|
25
24
|
overlayRef?: OverlayRef;
|
|
26
25
|
accessRightsByGroup: {
|
|
27
26
|
[key: string]: string[];
|
|
28
27
|
};
|
|
28
|
+
ViewMode: typeof ViewMode;
|
|
29
|
+
search$: BehaviorSubject<string>;
|
|
30
|
+
filteredPresentations$: Observable<ManifestDescription[]>;
|
|
29
31
|
editionStartUrl: string;
|
|
30
32
|
consultStartUrl: string;
|
|
31
33
|
meAsOwner?: string;
|
|
32
34
|
themePrefix: string | null;
|
|
33
|
-
ViewMode: typeof ViewMode;
|
|
34
|
-
search$: BehaviorSubject<string>;
|
|
35
|
-
filteredPresentations$: Observable<ManifestDescription[]>;
|
|
36
|
-
listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
|
|
37
35
|
mode: 'theme' | 'meta';
|
|
38
|
-
set listOfManifests(manifests: ManifestDescription[] | null);
|
|
39
36
|
hideToolbox: boolean;
|
|
37
|
+
listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
|
|
38
|
+
set listOfManifests(manifests: ManifestDescription[] | null);
|
|
40
39
|
inputSearch$: BehaviorSubject<string>;
|
|
41
40
|
set search(query: string);
|
|
42
41
|
constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute, ngZone: NgZone, access: PryBaseAccess, dialog: PryDialogService);
|
|
@@ -51,5 +50,5 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
51
50
|
isPrivate(presentation: ManifestDescription): boolean;
|
|
52
51
|
canModify$(presentation: ManifestDescription): Observable<boolean>;
|
|
53
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, [null, null, null, null, null, null, null, { optional: true; }, null]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "themePrefix": { "alias": "themePrefix"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "hideToolbox": { "alias": "hideToolbox"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; "search": { "alias": "search"; "required": false; }; }, {}, never, never, false, never>;
|
|
55
54
|
}
|
|
@@ -24,10 +24,6 @@ pry-add-edit-presentation {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.o-manifest-layout__toolbox {
|
|
27
|
-
display: flex;
|
|
28
|
-
flex-direction: row;
|
|
29
|
-
justify-content: space-between;
|
|
30
|
-
align-items: center;
|
|
31
27
|
gap: toRem(15);
|
|
32
28
|
}
|
|
33
29
|
|
|
@@ -35,17 +31,24 @@ pry-add-edit-presentation {
|
|
|
35
31
|
display: flex;
|
|
36
32
|
padding-bottom: toRem(5);
|
|
37
33
|
gap: 3rem;
|
|
34
|
+
|
|
35
|
+
> :first-child {
|
|
36
|
+
flex: 2 auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
> :only-child {
|
|
40
|
+
max-width: toRem(700);
|
|
41
|
+
}
|
|
38
42
|
}
|
|
39
43
|
|
|
40
44
|
.o-presentation__metadata-editor {
|
|
41
|
-
flex:
|
|
45
|
+
flex-basis: 50%;
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
.o-presentation-form {
|
|
45
49
|
display: flex;
|
|
46
50
|
flex-direction: column;
|
|
47
51
|
align-items: center;
|
|
48
|
-
flex: 1 50%;
|
|
49
52
|
|
|
50
53
|
.a-presentation-form-input {
|
|
51
54
|
padding: 0.25rem 0.75rem;
|
|
@@ -78,7 +81,3 @@ pry-add-edit-presentation {
|
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
83
|
}
|
|
81
|
-
|
|
82
|
-
.a-presentation-title {
|
|
83
|
-
padding: 10px;
|
|
84
|
-
}
|
package/styles/base/_utils.scss
CHANGED
|
@@ -30,11 +30,10 @@
|
|
|
30
30
|
align-items: center;
|
|
31
31
|
|
|
32
32
|
&__title {
|
|
33
|
-
text-transform: uppercase;
|
|
34
33
|
padding-bottom: 0;
|
|
35
34
|
padding-left: toRem(15);
|
|
36
|
-
font-size: toRem(
|
|
37
|
-
font-weight:
|
|
35
|
+
font-size: toRem(14);
|
|
36
|
+
font-weight: 700;
|
|
38
37
|
letter-spacing: toRem(0.5);
|
|
39
38
|
}
|
|
40
39
|
|
|
@@ -47,11 +46,10 @@
|
|
|
47
46
|
overflow: hidden;
|
|
48
47
|
padding-left: toRem(10);
|
|
49
48
|
padding-bottom: 0;
|
|
50
|
-
font-size: toRem(
|
|
51
|
-
font-weight:
|
|
49
|
+
font-size: toRem(14);
|
|
50
|
+
font-weight: 700;
|
|
52
51
|
text-overflow: ellipsis;
|
|
53
52
|
white-space: nowrap;
|
|
54
|
-
text-transform: uppercase;
|
|
55
53
|
letter-spacing: toRem(0.5);
|
|
56
54
|
}
|
|
57
55
|
|
|
@@ -157,6 +155,7 @@
|
|
|
157
155
|
|
|
158
156
|
.a-btn {
|
|
159
157
|
@include outlineOnFocus($border-radius: 4px);
|
|
158
|
+
height: toRem(40);
|
|
160
159
|
}
|
|
161
160
|
}
|
|
162
161
|
|
|
@@ -18,11 +18,14 @@
|
|
|
18
18
|
height: 100%;
|
|
19
19
|
padding: toRem(20);
|
|
20
20
|
}
|
|
21
|
+
|
|
21
22
|
&__toolbox {
|
|
22
23
|
grid-area: tools;
|
|
23
24
|
display: flex;
|
|
24
25
|
align-items: center;
|
|
25
|
-
|
|
26
|
+
justify-content: flex-end;
|
|
27
|
+
padding-right: toRem(10);
|
|
28
|
+
border-bottom: toRem(1) solid #D8E7F7;
|
|
26
29
|
}
|
|
27
30
|
|
|
28
31
|
&__dashboard {
|
|
@@ -30,24 +33,4 @@
|
|
|
30
33
|
overflow: hidden;
|
|
31
34
|
height: 100%;
|
|
32
35
|
}
|
|
33
|
-
|
|
34
|
-
#{$this}__toolbox {
|
|
35
|
-
border-bottom-width: toRem(1);
|
|
36
|
-
border-bottom-style: solid;
|
|
37
|
-
|
|
38
|
-
.m-actions-list {
|
|
39
|
-
gap: toRem(15);
|
|
40
|
-
|
|
41
|
-
&__item {
|
|
42
|
-
&.is-screen-size-select {
|
|
43
|
-
width: 157px;
|
|
44
|
-
padding-left: toRem(15);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.a-toggle {
|
|
49
|
-
width: toRem(230);
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
36
|
}
|
|
@@ -68,6 +68,22 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
+
&--ghost,
|
|
72
|
+
&.a-btn--secondary.-circle {
|
|
73
|
+
gap: toRem(8);
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
@include changeBgColor(
|
|
77
|
+
$targetBgColor: themed($theme-map, 'color', 'primary', 300)
|
|
78
|
+
);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.-disabled,
|
|
82
|
+
&:disabled {
|
|
83
|
+
opacity: 0.5;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
71
87
|
&--icon-only {
|
|
72
88
|
@include outlineOnFocus($border-radius: 5px);
|
|
73
89
|
}
|
|
@@ -87,8 +87,6 @@
|
|
|
87
87
|
/* Layout */
|
|
88
88
|
@use 'layout-theme/o-base-layout.theme' as *;
|
|
89
89
|
@use 'layout-theme/o-manifest-layout.theme' as *;
|
|
90
|
-
@use 'layout-theme/o-workspace.theme' as *;
|
|
91
|
-
@use 'layout-theme/o-workspace.theme' as *;
|
|
92
90
|
|
|
93
91
|
/* Libs */
|
|
94
92
|
@use 'libs-theme/reset-lib-ol.theme' as *;
|
|
@@ -3,7 +3,7 @@ import { OnInit, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import { PryBaseAccess, WidgetFactoryService } from '@provoly/dashboard';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
-
import { ToolboxActionComponent } from '
|
|
6
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AutomateRefreshComponent extends ToolboxActionComponent implements OnInit {
|
|
9
9
|
private overlay;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
|
-
import { ToolboxActionComponent } from '
|
|
3
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ClearViewComponent extends ToolboxActionComponent {
|
|
6
6
|
constructor(store: Store, access: PryBaseAccess);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
3
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
4
|
-
import { ToolboxActionComponent } from '
|
|
4
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class DashboardDetailsComponent extends ToolboxActionComponent {
|
|
7
7
|
isPanelOpen: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
2
|
-
import { ToolboxActionComponent } from '
|
|
2
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DeleteComponent extends ToolboxActionComponent {
|
|
@@ -2,7 +2,7 @@ import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { PryBaseAccess, ToolboxManifestService, ToolboxMenuService, WidgetDescriptionMenu } from '@provoly/dashboard';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { ToolboxActionComponent } from '
|
|
5
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DragWidgetsComponent extends ToolboxActionComponent {
|
|
8
8
|
private toolboxManifestService;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ToolboxActionComponent } from '
|
|
4
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class EditModeActionComponent extends ToolboxActionComponent {
|
|
7
7
|
modeEdition$: Observable<boolean>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ToolboxActionComponent } from '
|
|
4
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class EditModeToggleComponent extends ToolboxActionComponent {
|
|
7
7
|
modeEdition$: Observable<boolean>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import { PryBaseAccess } from '@provoly/dashboard';
|
|
5
|
+
import { PresentationFormValue } from '../../shared/presentation-form/presentation-form.component';
|
|
6
|
+
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class EditPresentationComponent extends ToolboxActionComponent {
|
|
9
|
+
private overlay;
|
|
10
|
+
private viewContainerRef;
|
|
11
|
+
template: TemplateRef<any>;
|
|
12
|
+
isModalOpen: boolean;
|
|
13
|
+
overlayRef?: OverlayRef;
|
|
14
|
+
formValue?: Partial<PresentationFormValue>;
|
|
15
|
+
isFormValid: boolean;
|
|
16
|
+
constructor(store: Store<any>, access: PryBaseAccess, overlay: Overlay, viewContainerRef: ViewContainerRef);
|
|
17
|
+
openModal(): void;
|
|
18
|
+
closeModal(): void;
|
|
19
|
+
save(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditPresentationComponent, [null, { optional: true; }, null, null]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EditPresentationComponent, "pry-edit-details", never, {}, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -4,7 +4,7 @@ import { Injector, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
5
|
import { Class, DataSource, FieldType, Filter, FilterFactoryService, GlobalManifest, PryBaseAccess, PryI18nService } from '@provoly/dashboard';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
|
-
import { ToolboxActionComponent } from '
|
|
7
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare enum FilterSteps {
|
|
10
10
|
LIST = "list",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { PryBaseAccess } from '@provoly/dashboard';
|
|
3
|
-
import { ToolboxActionComponent } from '
|
|
3
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LaunchTabComponent extends ToolboxActionComponent {
|
|
6
6
|
constructor(store: Store, access: PryBaseAccess);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { GlobalManifest, PryBaseAccess, WidgetFactoryService } from '@provoly/dashboard';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { ToolboxActionComponent } from '
|
|
4
|
+
import { ToolboxActionComponent } from '../../shared/toolbox-action/toolbox-action.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class RefreshDatasetsComponent extends ToolboxActionComponent {
|
|
7
7
|
private widgetFactoryService;
|