@provoly/dashboard 0.19.4 → 0.19.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/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +3 -6
- package/esm2022/filters/autocomplete/autocomplete.component.mjs +2 -2
- package/esm2022/lib/core/i18n/en.translations.mjs +5 -2
- package/esm2022/lib/core/i18n/fr.translations.mjs +5 -2
- package/esm2022/lib/core/model/display-options.interface.mjs +29 -36
- package/esm2022/lib/core/model/filter.interface.mjs +1 -1
- package/esm2022/lib/core/store/config/config.effects.mjs +2 -2
- package/esm2022/lib/core/store/search/search.service.mjs +8 -5
- package/esm2022/lib/dashboard/components/dashboard.component.mjs +3 -4
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +7 -4
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +3 -2
- package/esm2022/lib/dashboard/store/manifest.service.mjs +2 -2
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +41 -8
- package/esm2022/presentation/components/presentation.component.mjs +17 -10
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +4 -3
- package/esm2022/toolbox/components/toolbox.component.mjs +15 -12
- package/fesm2022/provoly-dashboard-dataset.mjs +2 -5
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +1 -1
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +56 -16
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +17 -13
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +76 -70
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/i18n/en.translations.d.ts +3 -0
- package/lib/core/i18n/fr.translations.d.ts +3 -0
- package/lib/core/model/display-options.interface.d.ts +3 -8
- package/lib/core/model/filter.interface.d.ts +1 -0
- package/lib/core/store/search/search.service.d.ts +1 -1
- package/lib/dashboard/store/dashboard.actions.d.ts +8 -6
- package/lib/dashboard/store/dashboard.effects.d.ts +9 -5
- package/lib/dashboard/store/dashboard.selectors.d.ts +1 -1
- package/package.json +31 -31
- package/presentation/components/add-edit-presentation/add-edit-presentation.component.d.ts +10 -2
- package/presentation/components/presentation.component.d.ts +5 -3
- package/styles/components/_a-btn.scss +11 -17
- package/styles-theme/base-theme/_typography.theme.scss +2 -1
- package/styles-theme/components-theme/_a-btn.theme.scss +4 -3
- package/styles-theme/components-theme/_a-form-field.theme.scss +1 -1
- package/styles-theme/components-theme/_a-label.theme.scss +1 -1
- package/styles-theme/components-theme/_a-pry-select.theme.scss +1 -1
- package/styles-theme/components-theme/_a-table.theme.scss +2 -2
- package/styles-theme/components-theme/_m-context-menu.theme.scss +1 -1
- package/styles-theme/components-theme/_m-filter.theme.scss +1 -1
- package/styles-theme/components-theme/_m-time-picker.theme.scss +1 -1
- package/styles-theme/components-theme/_o-date-picker.theme.scss +1 -1
- package/styles-theme/components-theme/_o-pry-card-menu.theme.scss +1 -1
- package/styles-theme/components-theme/_o-pry-presentation.theme.scss +0 -2
- package/styles-theme/components-theme/_o-search-fulltext.theme.scss +7 -7
- package/styles-theme/components-theme/_o-settings.theme.scss +1 -1
- package/styles-theme/components-theme/_o-widget.theme.scss +1 -3
- package/styles-theme/components-theme/_overlay.theme.scss +4 -4
- package/styles-theme/layout-theme/_o-manifest-layout.theme.scss +1 -1
- package/styles-theme/layout-theme/_o-workspace.theme.scss +1 -1
- package/toolbox/components/toolbox.component.d.ts +2 -1
|
@@ -66,6 +66,7 @@ export declare const enTranslations: {
|
|
|
66
66
|
description: string;
|
|
67
67
|
saved: string;
|
|
68
68
|
saveErrorCode: {
|
|
69
|
+
UNKNOWN: string;
|
|
69
70
|
FORBIDDEN: string;
|
|
70
71
|
NAME_ALREADY_USED: string;
|
|
71
72
|
SAVE_METADATA: string;
|
|
@@ -89,6 +90,7 @@ export declare const enTranslations: {
|
|
|
89
90
|
};
|
|
90
91
|
saved: string;
|
|
91
92
|
saveErrorCode: {
|
|
93
|
+
UNKNOWN: string;
|
|
92
94
|
NAME_ALREADY_USED: string;
|
|
93
95
|
};
|
|
94
96
|
};
|
|
@@ -332,6 +334,7 @@ export declare const enTranslations: {
|
|
|
332
334
|
value: string;
|
|
333
335
|
values: string;
|
|
334
336
|
validate: string;
|
|
337
|
+
limit: string;
|
|
335
338
|
};
|
|
336
339
|
attributes: {
|
|
337
340
|
datasource: string;
|
|
@@ -66,6 +66,7 @@ export declare const frTranslations: {
|
|
|
66
66
|
description: string;
|
|
67
67
|
saved: string;
|
|
68
68
|
saveErrorCode: {
|
|
69
|
+
UNKNOWN: string;
|
|
69
70
|
FORBIDDEN: string;
|
|
70
71
|
NAME_ALREADY_USED: string;
|
|
71
72
|
SAVE_METADATA: string;
|
|
@@ -88,6 +89,7 @@ export declare const frTranslations: {
|
|
|
88
89
|
name: string;
|
|
89
90
|
};
|
|
90
91
|
saveErrorCode: {
|
|
92
|
+
UNKNOWN: string;
|
|
91
93
|
NAME_ALREADY_USED: string;
|
|
92
94
|
};
|
|
93
95
|
saved: string;
|
|
@@ -332,6 +334,7 @@ export declare const frTranslations: {
|
|
|
332
334
|
value: string;
|
|
333
335
|
values: string;
|
|
334
336
|
validate: string;
|
|
337
|
+
limit: string;
|
|
335
338
|
};
|
|
336
339
|
attributes: {
|
|
337
340
|
datasource: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ViewMode } from '../../dashboard/store/dashboard.actions';
|
|
1
2
|
export interface DisplayOptions {
|
|
2
3
|
presentationTitle: boolean;
|
|
3
4
|
search: boolean;
|
|
@@ -15,11 +16,5 @@ export interface ToolboxDisplayOptions {
|
|
|
15
16
|
refresh_datasets: boolean;
|
|
16
17
|
automate_refresh: boolean;
|
|
17
18
|
}
|
|
18
|
-
export declare
|
|
19
|
-
|
|
20
|
-
CREATE = "CREATE",
|
|
21
|
-
EDIT = "EDIT",
|
|
22
|
-
SEARCH = "SEARCH",
|
|
23
|
-
CUSTOM = "CUSTOM"
|
|
24
|
-
}
|
|
25
|
-
export declare function getDisplayOptions(mode?: DisplayMode): DisplayOptions;
|
|
19
|
+
export declare const BASE_DISPLAY_OPTIONS: DisplayOptions;
|
|
20
|
+
export declare function getDisplayOptions(mode?: ViewMode): DisplayOptions;
|
|
@@ -45,7 +45,7 @@ export declare class SearchService {
|
|
|
45
45
|
name: string;
|
|
46
46
|
label: string;
|
|
47
47
|
datasource: string;
|
|
48
|
-
}[] | undefined, search: string): Observable<string[]>;
|
|
48
|
+
}[] | undefined, search: string, limit?: number): Observable<string[]>;
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
50
50
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
51
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PryVisibility } from '../../core/components/share/share.model';
|
|
2
2
|
import { PrySnackMessage } from '../../core/components/snackbar/snack.interface';
|
|
3
|
-
import {
|
|
3
|
+
import { DisplayOptions } from '../../core/model/display-options.interface';
|
|
4
4
|
import { Filter } from '../../core/model/filter.interface';
|
|
5
5
|
import { Item } from '../../core/model/item.interface';
|
|
6
6
|
import { DashboardGridLayout, DashboardManifest, GlobalManifest, ManifestDescription, WidgetManifest } from '../../core/model/manifest.interface';
|
|
@@ -25,7 +25,9 @@ export declare enum ViewMode {
|
|
|
25
25
|
CONSULT = "consult",
|
|
26
26
|
CREATION = "creation",
|
|
27
27
|
EDITION = "edition",
|
|
28
|
-
EDITOR = "editor"
|
|
28
|
+
EDITOR = "editor",
|
|
29
|
+
SEARCH = "search",
|
|
30
|
+
CUSTOM = "custom"
|
|
29
31
|
}
|
|
30
32
|
export declare const DashboardActions: {
|
|
31
33
|
join: import("@ngrx/store").ActionCreator<"[Dashboard] joined", (props: {
|
|
@@ -148,9 +150,9 @@ export declare const DashboardActions: {
|
|
|
148
150
|
viewMode?: ViewMode | undefined;
|
|
149
151
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) selectPresentation">>;
|
|
150
152
|
setInitialPresentation: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) set initial presentation", (props: {
|
|
151
|
-
initial
|
|
153
|
+
initial?: GlobalManifest | undefined;
|
|
152
154
|
}) => {
|
|
153
|
-
initial
|
|
155
|
+
initial?: GlobalManifest | undefined;
|
|
154
156
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">>;
|
|
155
157
|
declareSenderId: import("@ngrx/store").ActionCreator<"[Dashboard] self-updating manifest", (props: {
|
|
156
158
|
tenants: string[];
|
|
@@ -452,10 +454,10 @@ export declare const DashboardActions: {
|
|
|
452
454
|
features: any;
|
|
453
455
|
} & import("@ngrx/store/src/models").TypedAction<"[Widget map] Set Wms layer features">>;
|
|
454
456
|
updateDisplayOptions: import("@ngrx/store").ActionCreator<"[Dashboard/Display] (bus) Update displayed dashboard management features", (props: {
|
|
455
|
-
mode:
|
|
457
|
+
mode: ViewMode;
|
|
456
458
|
customDisplay?: DisplayOptions | undefined;
|
|
457
459
|
}) => {
|
|
458
|
-
mode:
|
|
460
|
+
mode: ViewMode;
|
|
459
461
|
customDisplay?: DisplayOptions | undefined;
|
|
460
462
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">>;
|
|
461
463
|
getCapability: import("@ngrx/store").ActionCreator<"[Widget map] Get Wms capability", (props: {
|
|
@@ -10,6 +10,7 @@ import { SearchService } from '../../core/store/search/search.service';
|
|
|
10
10
|
import { ToolboxManifestService } from '../../core/toolbox/toolbox-manifest.service';
|
|
11
11
|
import { BusService } from '../action-bus/service/bus.service';
|
|
12
12
|
import { DashboardInitService } from './dashboard-init.service';
|
|
13
|
+
import { ViewMode } from './dashboard.actions';
|
|
13
14
|
import { ManifestService } from './manifest.service';
|
|
14
15
|
import { RefreshService } from './refresh.service';
|
|
15
16
|
import { PryTitleService } from './title.service';
|
|
@@ -43,7 +44,7 @@ export declare class DashboardEffects {
|
|
|
43
44
|
presentation?: {
|
|
44
45
|
current?: import("../../core/model/manifest.interface").ManifestDescription | undefined;
|
|
45
46
|
initial?: GlobalManifest | undefined;
|
|
46
|
-
viewMode?:
|
|
47
|
+
viewMode?: ViewMode | undefined;
|
|
47
48
|
} | undefined;
|
|
48
49
|
display?: import("@provoly/dashboard").DisplayOptions | undefined;
|
|
49
50
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
@@ -143,7 +144,7 @@ export declare class DashboardEffects {
|
|
|
143
144
|
presentation?: {
|
|
144
145
|
current?: import("../../core/model/manifest.interface").ManifestDescription | undefined;
|
|
145
146
|
initial?: GlobalManifest | undefined;
|
|
146
|
-
viewMode?:
|
|
147
|
+
viewMode?: ViewMode | undefined;
|
|
147
148
|
} | undefined;
|
|
148
149
|
display?: import("@provoly/dashboard").DisplayOptions | undefined;
|
|
149
150
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest after tenant join">) | ({
|
|
@@ -166,7 +167,7 @@ export declare class DashboardEffects {
|
|
|
166
167
|
filters?: import("@provoly/dashboard").Filter[] | undefined;
|
|
167
168
|
}]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
168
169
|
saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
|
|
169
|
-
initial
|
|
170
|
+
initial?: GlobalManifest | undefined;
|
|
170
171
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
171
172
|
listManifests$: import("rxjs").Observable<{
|
|
172
173
|
manifests: import("../../core/model/manifest.interface").ManifestDescription[];
|
|
@@ -243,8 +244,11 @@ export declare class DashboardEffects {
|
|
|
243
244
|
manifestId?: string | undefined;
|
|
244
245
|
selectedIds: string[];
|
|
245
246
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) updating manifest">) | ({
|
|
246
|
-
initial
|
|
247
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">)
|
|
247
|
+
initial?: GlobalManifest | undefined;
|
|
248
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set initial presentation">) | ({
|
|
249
|
+
mode: ViewMode;
|
|
250
|
+
customDisplay?: import("@provoly/dashboard").DisplayOptions | undefined;
|
|
251
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard/Display] (bus) Update displayed dashboard management features">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
248
252
|
constructor(dashboardInitService: DashboardInitService, actions$: Actions, store: Store<any>, manifestService: ManifestService, itemService: ItemService, titleService: PryTitleService, translateService: PryI18nService, snackBar: PrySnackbarService, router: Router, refreshService: RefreshService, toolboxManifestService: ToolboxManifestService, busService: BusService, searchService: SearchService, pryDialog: PryDialogService, wmsService: WmsService, widgetFactoryService: WidgetFactoryService);
|
|
249
253
|
static ɵfac: i0.ɵɵFactoryDeclaration<DashboardEffects, never>;
|
|
250
254
|
static ɵprov: i0.ɵɵInjectableDeclaration<DashboardEffects>;
|
|
@@ -349,7 +349,7 @@ export declare const DashboardSelectors: {
|
|
|
349
349
|
[datasourceId: string]: FilterContext[];
|
|
350
350
|
}>;
|
|
351
351
|
wmsFeatures: MemoizedSelector<object, any[], (s1: DashboardState) => any[]>;
|
|
352
|
-
displayOptions: MemoizedSelector<object, import("
|
|
352
|
+
displayOptions: MemoizedSelector<object, import("../../core/model/display-options.interface").DisplayOptions, (s1: DashboardState) => import("../../core/model/display-options.interface").DisplayOptions>;
|
|
353
353
|
capabilities: MemoizedSelector<object, {
|
|
354
354
|
[url: string]: import("@provoly/dashboard").GetCapabilitiesResponse | null;
|
|
355
355
|
}, (s1: DashboardState) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.6",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -139,36 +139,6 @@
|
|
|
139
139
|
"esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
|
|
140
140
|
"default": "./fesm2022/provoly-dashboard-toolbox.mjs"
|
|
141
141
|
},
|
|
142
|
-
"./filters/autocomplete": {
|
|
143
|
-
"types": "./filters/autocomplete/index.d.ts",
|
|
144
|
-
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
145
|
-
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
146
|
-
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
147
|
-
},
|
|
148
|
-
"./filters/date": {
|
|
149
|
-
"types": "./filters/date/index.d.ts",
|
|
150
|
-
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
151
|
-
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
152
|
-
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
153
|
-
},
|
|
154
|
-
"./filters/list": {
|
|
155
|
-
"types": "./filters/list/index.d.ts",
|
|
156
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
157
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
158
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
159
|
-
},
|
|
160
|
-
"./filters/number": {
|
|
161
|
-
"types": "./filters/number/index.d.ts",
|
|
162
|
-
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
163
|
-
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
164
|
-
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
165
|
-
},
|
|
166
|
-
"./filters/text": {
|
|
167
|
-
"types": "./filters/text/index.d.ts",
|
|
168
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
169
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
170
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
171
|
-
},
|
|
172
142
|
"./components/card": {
|
|
173
143
|
"types": "./components/card/index.d.ts",
|
|
174
144
|
"esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
|
|
@@ -223,6 +193,36 @@
|
|
|
223
193
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
224
194
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
225
195
|
},
|
|
196
|
+
"./filters/autocomplete": {
|
|
197
|
+
"types": "./filters/autocomplete/index.d.ts",
|
|
198
|
+
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
199
|
+
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
200
|
+
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
201
|
+
},
|
|
202
|
+
"./filters/date": {
|
|
203
|
+
"types": "./filters/date/index.d.ts",
|
|
204
|
+
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
205
|
+
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
206
|
+
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
207
|
+
},
|
|
208
|
+
"./filters/list": {
|
|
209
|
+
"types": "./filters/list/index.d.ts",
|
|
210
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
211
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
212
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
213
|
+
},
|
|
214
|
+
"./filters/number": {
|
|
215
|
+
"types": "./filters/number/index.d.ts",
|
|
216
|
+
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
217
|
+
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
218
|
+
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
219
|
+
},
|
|
220
|
+
"./filters/text": {
|
|
221
|
+
"types": "./filters/text/index.d.ts",
|
|
222
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
223
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
224
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
225
|
+
},
|
|
226
226
|
"./pipeline-components/filter": {
|
|
227
227
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
228
228
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -2,7 +2,7 @@ import { AfterViewInit, EventEmitter, OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Store } from '@ngrx/store';
|
|
5
|
-
import { DashboardGridLayout, GlobalManifest, LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
5
|
+
import { DashboardGridLayout, GlobalManifest, IMetadata, LibraryTypes, ManifestDescription, SubscriptionnerDirective } from '@provoly/dashboard';
|
|
6
6
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
7
7
|
import { MetaEventType } from '@provoly/dashboard/components/metadata-editor';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
@@ -18,7 +18,11 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
|
|
|
18
18
|
goBack: EventEmitter<void>;
|
|
19
19
|
type: LibraryTypes;
|
|
20
20
|
chosenLayout: DashboardGridLayout;
|
|
21
|
+
possibleThemes: string[];
|
|
22
|
+
metadataDefs: IMetadata[] | undefined;
|
|
23
|
+
metadataThemeId: string;
|
|
21
24
|
set selectedPresentation(presentation: ManifestDescription | null);
|
|
25
|
+
mode: 'theme' | 'meta';
|
|
22
26
|
constructor(store: Store, router: Router);
|
|
23
27
|
ngOnInit(): void;
|
|
24
28
|
ngAfterViewInit(): void;
|
|
@@ -28,6 +32,10 @@ export declare class PryAddEditPresentationComponent extends SubscriptionnerDire
|
|
|
28
32
|
addMetadata(metadata: MetaEventType): void;
|
|
29
33
|
removeMetadata(metadata: MetaEventType): void;
|
|
30
34
|
close(): void;
|
|
35
|
+
metadata(): {
|
|
36
|
+
metadataDef: IMetadata;
|
|
37
|
+
value: any;
|
|
38
|
+
}[];
|
|
31
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryAddEditPresentationComponent, [null, { optional: true; }]>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "edition": { "alias": "edition"; "required": false; }; "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PryAddEditPresentationComponent, "pry-add-edit-presentation", never, { "edition": { "alias": "edition"; "required": false; }; "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "selectedPresentation": { "alias": "selectedPresentation"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, { "goBack": "goBack"; }, never, never, false, never>;
|
|
33
41
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Overlay, OverlayRef } from '@angular/cdk/overlay';
|
|
2
|
-
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
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
5
|
import { DashboardManifest, ManifestDescription, PryTitleService, PryVisibility, PryVisibilityType, SubscriptionnerDirective, ViewMode } from '@provoly/dashboard';
|
|
@@ -12,6 +12,7 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
12
12
|
protected router: Router;
|
|
13
13
|
protected titleService: PryTitleService;
|
|
14
14
|
protected activatedRoute: ActivatedRoute;
|
|
15
|
+
protected ngZone: NgZone;
|
|
15
16
|
manifests$: Observable<ManifestDescription[]>;
|
|
16
17
|
selectedPresentation$: BehaviorSubject<ManifestDescription | null>;
|
|
17
18
|
presentation?: ManifestDescription;
|
|
@@ -36,8 +37,9 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
36
37
|
search$: BehaviorSubject<string>;
|
|
37
38
|
filteredPresentations$: Observable<ManifestDescription[]>;
|
|
38
39
|
listOfManifests$: BehaviorSubject<ManifestDescription[] | null>;
|
|
40
|
+
mode: 'theme' | 'meta';
|
|
39
41
|
set listOfManifests(manifests: ManifestDescription[] | null);
|
|
40
|
-
constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute);
|
|
42
|
+
constructor(store: Store<any>, overlay: Overlay, viewContainerRef: ViewContainerRef, router: Router, titleService: PryTitleService, activatedRoute: ActivatedRoute, ngZone: NgZone);
|
|
41
43
|
closeRestitution(): void;
|
|
42
44
|
fetch(presentation: ManifestDescription): void;
|
|
43
45
|
creation(): void;
|
|
@@ -49,5 +51,5 @@ export declare class PryPresentationComponent extends SubscriptionnerDirective {
|
|
|
49
51
|
focusCrossElement(): void;
|
|
50
52
|
focusValidation(): void;
|
|
51
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PryPresentationComponent, "pry-presentation", never, { "editionStartUrl": { "alias": "editionStartUrl"; "required": false; }; "consultStartUrl": { "alias": "consultStartUrl"; "required": false; }; "meAsOwner": { "alias": "meAsOwner"; "required": false; }; "listOfManifests": { "alias": "listOfManifests"; "required": false; }; }, {}, never, never, false, never>;
|
|
54
|
+
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; }; }, {}, never, never, false, never>;
|
|
53
55
|
}
|
|
@@ -7,11 +7,8 @@
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
width: max-content;
|
|
10
|
-
height: toRem(44);
|
|
11
|
-
padding: toRem(8) toRem(22);
|
|
12
10
|
border: 0 solid transparent;
|
|
13
11
|
background-color: transparent;
|
|
14
|
-
font-size: inherit;
|
|
15
12
|
text-align: center;
|
|
16
13
|
white-space: normal;
|
|
17
14
|
letter-spacing: 0;
|
|
@@ -19,6 +16,17 @@
|
|
|
19
16
|
cursor: pointer;
|
|
20
17
|
user-select: none;
|
|
21
18
|
transition: all 0.24s ease-in-out;
|
|
19
|
+
|
|
20
|
+
gap: toRem(3);
|
|
21
|
+
height: toRem(30);
|
|
22
|
+
padding: toRem(8) toRem(12);
|
|
23
|
+
font-size: toRem(12);
|
|
24
|
+
line-height: toRem(13);
|
|
25
|
+
|
|
26
|
+
&.-circle {
|
|
27
|
+
width: toRem(34);
|
|
28
|
+
height: toRem(34);
|
|
29
|
+
}
|
|
22
30
|
}
|
|
23
31
|
|
|
24
32
|
.a-btn {
|
|
@@ -164,20 +172,6 @@
|
|
|
164
172
|
}
|
|
165
173
|
}
|
|
166
174
|
|
|
167
|
-
&.-size-sm {
|
|
168
|
-
gap: toRem(3);
|
|
169
|
-
height: toRem(30);
|
|
170
|
-
padding-left: toRem(12);
|
|
171
|
-
padding-right: toRem(12);
|
|
172
|
-
font-size: toRem(10);
|
|
173
|
-
line-height: toRem(13);
|
|
174
|
-
|
|
175
|
-
&.-circle {
|
|
176
|
-
width: toRem(34);
|
|
177
|
-
height: toRem(34);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
175
|
&.-size-md {
|
|
182
176
|
gap: toRem(5);
|
|
183
177
|
height: toRem(34);
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
@use '../abstracts-theme/variables.theme' as *;
|
|
3
3
|
|
|
4
4
|
body {
|
|
5
|
-
color: themed($theme-map, 'color', '
|
|
5
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
6
6
|
@include typography-level(themed($theme-map, 'typography', 'body'));
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.a-h1,
|
|
10
10
|
h1 {
|
|
11
|
+
color: themed($theme-map, 'color', 'graph', 02);
|
|
11
12
|
@include typography-level(themed($theme-map, 'typography', 'title-1'));
|
|
12
13
|
}
|
|
13
14
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
// Default btn settings
|
|
11
11
|
border-radius: $btn-radius-default;
|
|
12
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
12
13
|
@include typography-level(themed($theme-map, 'typography', 'button'));
|
|
13
14
|
|
|
14
15
|
&--primary,
|
|
@@ -37,12 +38,12 @@
|
|
|
37
38
|
&--secondary,
|
|
38
39
|
&.a-btn--secondary.-circle {
|
|
39
40
|
border: 1px solid themed($theme-map, 'color', 'primary', 500);
|
|
40
|
-
color: themed($theme-map, 'color', '
|
|
41
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
41
42
|
background-color: transparent;
|
|
42
43
|
|
|
43
44
|
&:hover {
|
|
44
45
|
border: 1px solid themed($theme-map, 'color', 'primary', 600);
|
|
45
|
-
color: themed($theme-map, 'color', '
|
|
46
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
46
47
|
}
|
|
47
48
|
|
|
48
49
|
&:focus,
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
|
|
148
149
|
// Action add item, circled icon on left + text on right
|
|
149
150
|
&--iconcircle-text {
|
|
150
|
-
color: themed($theme-map, 'color', '
|
|
151
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
151
152
|
font-weight: 400;
|
|
152
153
|
font-size: 14px;
|
|
153
154
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@include typography-level(themed($theme-map, 'typography', 'form-field'));
|
|
8
8
|
border-color: themed($theme-map, 'color', 'primary', 400);
|
|
9
9
|
border-radius: toRem(4);
|
|
10
|
-
color: themed($theme-map, 'color', '
|
|
10
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
11
11
|
background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
|
|
12
12
|
|
|
13
13
|
&[aria-invalid='true'] {
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
&.ng-select .ng-select-container {
|
|
37
37
|
border-color: themed($theme-map, 'color', 'primary', 400);
|
|
38
|
-
color: themed($theme-map, 'color', '
|
|
38
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
39
39
|
background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
thead {
|
|
11
11
|
tr {
|
|
12
|
-
border-bottom-color: themed($theme-map, 'color', '
|
|
12
|
+
border-bottom-color: themed($theme-map, 'color', 'graph', 01);
|
|
13
13
|
|
|
14
14
|
th {
|
|
15
15
|
color: themed($theme-map, 'color', 'primary', 600);
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
&.is-selected,
|
|
29
29
|
&:hover {
|
|
30
30
|
td {
|
|
31
|
-
color: themed($theme-map, 'color', '
|
|
31
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
32
32
|
background-color: themed($theme-map, 'color', 'primary', 200);
|
|
33
33
|
|
|
34
34
|
&.view-details {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
&__input-wrapper {
|
|
11
11
|
border: 1px solid themed($theme-map, 'color', 'primary', 400);
|
|
12
|
-
color: themed($theme-map, 'color', '
|
|
12
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
13
13
|
background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
|
|
14
14
|
|
|
15
15
|
.pry-select {
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
/* Organism - Search full text */
|
|
5
5
|
.o-search-fulltext {
|
|
6
6
|
&__classes {
|
|
7
|
-
color: themed($theme-map, 'color', '
|
|
7
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
8
8
|
background-color: themed($theme-map, 'color', 'primary', 'contrast', 700);
|
|
9
9
|
|
|
10
10
|
&__content {
|
|
11
|
-
color: themed($theme-map, 'color', '
|
|
11
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
12
12
|
background-color: themed($theme-map, 'color', 'primary', 300);
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
&__classes-overlay {
|
|
24
24
|
&__item {
|
|
25
25
|
&:hover {
|
|
26
|
-
color: themed($theme-map, 'color', '
|
|
26
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
27
27
|
background-color: themed($theme-map, 'color', 'primary', 300);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
box-shadow: 1px 0 5px -2px rgba(0, 0, 0, 0.2);
|
|
41
41
|
|
|
42
42
|
&__item {
|
|
43
|
-
color: themed($theme-map, 'color', '
|
|
43
|
+
color: themed($theme-map, 'color', 'graph', 01);
|
|
44
44
|
background-color: themed($theme-map, 'color', 'primary', 50);
|
|
45
45
|
|
|
46
46
|
&:hover {
|
|
47
|
-
border-color: themed($theme-map, 'color', '
|
|
47
|
+
border-color: themed($theme-map, 'color', 'graph', 01);
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.pry-icon {
|
|
@@ -52,12 +52,12 @@
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
&__selected {
|
|
55
|
-
border-color: themed($theme-map, 'color', '
|
|
55
|
+
border-color: themed($theme-map, 'color', 'graph', 01);
|
|
56
56
|
background-color: themed($theme-map, 'color', 'primary', 50);
|
|
57
57
|
font-weight: 700;
|
|
58
58
|
|
|
59
59
|
.pry-icon {
|
|
60
|
-
background-color: themed($theme-map, 'color', '
|
|
60
|
+
background-color: themed($theme-map, 'color', 'graph', 01);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|