@provoly/dashboard 0.25.7 → 0.25.8
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/page-loader/index.d.ts +5 -0
- package/components/page-loader/page-loader.component.d.ts +7 -0
- package/components/page-loader/page-loader.module.d.ts +7 -0
- package/components/page-loader/public-api.d.ts +2 -0
- package/components/text-editor/text-editor.module.d.ts +1 -2
- package/dataset/components/dataset-detail/dataset-detail.component.d.ts +3 -2
- package/dataset/i18n/en.translations.d.ts +6 -0
- package/dataset/i18n/fr.translations.d.ts +6 -0
- package/dataset/style/_o-pry-dataset-detail.scss +5 -4
- package/esm2022/components/page-loader/page-loader.component.mjs +15 -0
- package/esm2022/components/page-loader/page-loader.module.mjs +16 -0
- package/esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs +5 -0
- package/esm2022/components/page-loader/public-api.mjs +3 -0
- package/esm2022/components/text-editor/text-editor.module.mjs +25 -5
- package/esm2022/dataset/components/dataset-detail/dataset-detail.component.mjs +14 -5
- package/esm2022/dataset/i18n/en.translations.mjs +9 -3
- package/esm2022/dataset/i18n/fr.translations.mjs +9 -3
- package/esm2022/dataset/style/css.component.mjs +2 -2
- package/esm2022/lib/core/components/edit-input/edit-input.component.mjs +12 -4
- package/esm2022/lib/core/i18n/en.translations.mjs +3 -3
- package/esm2022/lib/core/i18n/fr.translations.mjs +3 -3
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/model/widget-aggregated-chart-manifest.interface.mjs +1 -1
- package/esm2022/lib/core/store/data-source/data-source.actions.mjs +4 -1
- package/esm2022/lib/core/store/data-source/data-source.effects.mjs +24 -2
- package/esm2022/lib/core/store/data-source/data-source.service.mjs +6 -1
- 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 +4 -3
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +8 -5
- package/esm2022/presentation/presentation.module.mjs +8 -4
- package/esm2022/presentation/style/css.component.mjs +2 -2
- package/esm2022/toolbox/components/dashboard-details/dashboard-details.component.mjs +6 -4
- package/esm2022/toolbox/toolbox.module.mjs +8 -4
- package/esm2022/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.mjs +21 -5
- package/esm2022/widgets/widget-aggregated-chart/i18n/en.translations.mjs +2 -2
- package/esm2022/widgets/widget-aggregated-chart/i18n/fr.translations.mjs +2 -2
- package/fesm2022/provoly-dashboard-components-page-loader.mjs +35 -0
- package/fesm2022/provoly-dashboard-components-page-loader.mjs.map +1 -0
- package/fesm2022/provoly-dashboard-components-text-editor.mjs +24 -4
- package/fesm2022/provoly-dashboard-components-text-editor.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-dataset.mjs +31 -10
- package/fesm2022/provoly-dashboard-dataset.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-presentation.mjs +16 -9
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +11 -6
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +22 -6
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +65 -14
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/components/edit-input/edit-input.component.d.ts +2 -1
- package/lib/core/model/manifest.interface.d.ts +1 -1
- package/lib/core/model/widget-aggregated-chart-manifest.interface.d.ts +1 -1
- package/lib/core/store/data-source/data-source.actions.d.ts +15 -0
- package/lib/core/store/data-source/data-source.effects.d.ts +14 -6
- package/lib/core/store/data-source/data-source.service.d.ts +1 -0
- package/lib/dashboard/store/dashboard.actions.d.ts +2 -0
- package/lib/dashboard/store/dashboard.effects.d.ts +0 -1
- package/lib/dashboard/store/dashboard.selectors.d.ts +0 -8
- package/lib/dashboard/store/manifest.service.d.ts +1 -1
- package/package.json +7 -1
- package/presentation/presentation.module.d.ts +2 -1
- package/presentation/style/_o-pry-new-presentation.scss +9 -1
- package/styles/components/_m-form-label-field.scss +0 -11
- package/styles/components/_o-modal.scss +2 -0
- package/styles/components/_o-page-loader.scss +34 -0
- package/styles/components/_o-pry-edit.scss +17 -16
- package/styles/components/_o-text-panel.scss +0 -2
- package/styles/main.scss +1 -0
- package/styles-theme/abstracts-theme/variables/_variables-decoration.scss +13 -0
- package/toolbox/components/dashboard-details/dashboard-details.component.d.ts +2 -2
- package/toolbox/toolbox.module.d.ts +2 -1
- package/widgets/widget-aggregated-chart/component/widget-aggregated-chart.component.d.ts +2 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PryEditInputComponent implements ControlValueAccessor {
|
|
@@ -14,6 +14,7 @@ export declare class PryEditInputComponent implements ControlValueAccessor {
|
|
|
14
14
|
editButtonTooltip: string;
|
|
15
15
|
confirmButtonTooltip: string;
|
|
16
16
|
validated: EventEmitter<string>;
|
|
17
|
+
input?: ElementRef<HTMLInputElement>;
|
|
17
18
|
constructor(_cd: ChangeDetectorRef);
|
|
18
19
|
registerOnChange(fn: any): void;
|
|
19
20
|
registerOnTouched(fn: any): void;
|
|
@@ -23,6 +23,7 @@ export interface ManifestDescription {
|
|
|
23
23
|
owner: boolean;
|
|
24
24
|
datasource: string[];
|
|
25
25
|
metadata?: MetadataValue[];
|
|
26
|
+
additionalInformation?: string;
|
|
26
27
|
}
|
|
27
28
|
export interface WidgetLayout {
|
|
28
29
|
x: number;
|
|
@@ -64,7 +65,6 @@ export interface GlobalManifest {
|
|
|
64
65
|
[key: string]: number;
|
|
65
66
|
};
|
|
66
67
|
filters?: Filter[];
|
|
67
|
-
html?: string;
|
|
68
68
|
layerGroups?: LayerGroup[];
|
|
69
69
|
}
|
|
70
70
|
export interface WidgetManifest {
|
|
@@ -261,5 +261,20 @@ export declare const DataSourceActions: {
|
|
|
261
261
|
}) => {
|
|
262
262
|
version: Partial<DatasetVersion>;
|
|
263
263
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Update Dataset version info success">>;
|
|
264
|
+
confirmDeleteVersion: import("@ngrx/store").ActionCreator<"[Dataset] confirm Delete datasetVersion", (props: {
|
|
265
|
+
version: DatasetVersion;
|
|
266
|
+
}) => {
|
|
267
|
+
version: DatasetVersion;
|
|
268
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] confirm Delete datasetVersion">>;
|
|
269
|
+
deleteVersion: import("@ngrx/store").ActionCreator<"[Dataset] Delete datasetVersion", (props: {
|
|
270
|
+
version: DatasetVersion;
|
|
271
|
+
}) => {
|
|
272
|
+
version: DatasetVersion;
|
|
273
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Delete datasetVersion">>;
|
|
274
|
+
deleteVersionFailure: import("@ngrx/store").ActionCreator<"[Dataset] Delete datasetVersion failure", (props: {
|
|
275
|
+
err: any;
|
|
276
|
+
}) => {
|
|
277
|
+
err: any;
|
|
278
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Delete datasetVersion failure">>;
|
|
264
279
|
};
|
|
265
280
|
};
|
|
@@ -4,7 +4,7 @@ import { PryDialogService } from '../../components/overlay/dialog.service';
|
|
|
4
4
|
import { PrySnackbarService } from '../../components/snackbar/snackbar.service';
|
|
5
5
|
import { PryI18nService } from '../../i18n/i18n.service';
|
|
6
6
|
import { SearchService } from '../search/search.service';
|
|
7
|
-
import { Dataset,
|
|
7
|
+
import { Dataset, NamedQuery } from './data-source.model';
|
|
8
8
|
import { DataSourceService } from './data-source.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class DataSourceEffects {
|
|
@@ -73,11 +73,11 @@ export declare class DataSourceEffects {
|
|
|
73
73
|
error: any;
|
|
74
74
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset by Id Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
75
75
|
listVersions$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Failure"> | ({
|
|
76
|
-
versions: DatasetVersion[];
|
|
76
|
+
versions: import("./data-source.model").DatasetVersion[];
|
|
77
77
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Success">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
78
78
|
listVersionsById$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset versions Failure"> | ({
|
|
79
79
|
id: string;
|
|
80
|
-
versions: DatasetVersion[];
|
|
80
|
+
versions: import("./data-source.model").DatasetVersion[];
|
|
81
81
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Update Dataset version list">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
82
82
|
confirmDatasourceDeletion$: import("rxjs").Observable<{
|
|
83
83
|
name: string;
|
|
@@ -85,12 +85,12 @@ export declare class DataSourceEffects {
|
|
|
85
85
|
addRoute: string;
|
|
86
86
|
} & import("@ngrx/store/src/models").TypedAction<"[Datase] confirm deletion datasource">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
87
87
|
deactivateDatasetVersion$: import("rxjs").Observable<({
|
|
88
|
-
datasetVersion: DatasetVersion;
|
|
88
|
+
datasetVersion: import("./data-source.model").DatasetVersion;
|
|
89
89
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Deactivate dataset version success">) | ({
|
|
90
90
|
error: any;
|
|
91
91
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Deactivate dataset version failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
92
92
|
activateDatasetVersion$: import("rxjs").Observable<({
|
|
93
|
-
datasetVersion: DatasetVersion;
|
|
93
|
+
datasetVersion: import("./data-source.model").DatasetVersion;
|
|
94
94
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version success">) | ({
|
|
95
95
|
error: any;
|
|
96
96
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Activate dataset version failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
@@ -101,8 +101,16 @@ export declare class DataSourceEffects {
|
|
|
101
101
|
error: any;
|
|
102
102
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset/Previews] get by id Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
103
103
|
updateDatasetVersionInfo: import("rxjs").Observable<{
|
|
104
|
-
version: Partial<DatasetVersion>;
|
|
104
|
+
version: Partial<import("./data-source.model").DatasetVersion>;
|
|
105
105
|
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Update Dataset version info success">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
106
|
+
confirmDeleteDatasetVersion$: import("rxjs").Observable<{
|
|
107
|
+
version: import("./data-source.model").DatasetVersion;
|
|
108
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] confirm Delete datasetVersion">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
109
|
+
deleteDatasetVersion$: import("rxjs").Observable<({
|
|
110
|
+
id: string;
|
|
111
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Get Dataset Versions by Dataset Id">) | ({
|
|
112
|
+
err: any;
|
|
113
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dataset] Delete datasetVersion failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
106
114
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceEffects, never>;
|
|
107
115
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceEffects>;
|
|
108
116
|
}
|
|
@@ -39,6 +39,7 @@ export declare class DataSourceService {
|
|
|
39
39
|
activateDatasetVersion(versionId: string): Observable<DatasetVersion>;
|
|
40
40
|
getLastActiveDatasetVersion(datasetId: string): Observable<DatasetVersion>;
|
|
41
41
|
updateDatasetVersionInfo(version: Partial<DatasetVersion>): Observable<DatasetVersion>;
|
|
42
|
+
deleteDatasetVersion(version: DatasetVersion): Observable<void>;
|
|
42
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<DataSourceService, never>;
|
|
43
44
|
static ɵprov: i0.ɵɵInjectableDeclaration<DataSourceService>;
|
|
44
45
|
}
|
|
@@ -247,6 +247,7 @@ export declare const DashboardActions: {
|
|
|
247
247
|
value: string;
|
|
248
248
|
}[] | undefined;
|
|
249
249
|
groups?: string[] | undefined;
|
|
250
|
+
additionalInformation?: string | undefined;
|
|
250
251
|
}) => {
|
|
251
252
|
name: string;
|
|
252
253
|
manifest?: GlobalManifest | undefined;
|
|
@@ -258,6 +259,7 @@ export declare const DashboardActions: {
|
|
|
258
259
|
value: string;
|
|
259
260
|
}[] | undefined;
|
|
260
261
|
groups?: string[] | undefined;
|
|
262
|
+
additionalInformation?: string | undefined;
|
|
261
263
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] save manifest">>;
|
|
262
264
|
solveCollisions: import("@ngrx/store").ActionCreator<"[Dashboard] solving collisions", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] solving collisions">>;
|
|
263
265
|
clearManifest: import("@ngrx/store").ActionCreator<"[Dashboard] clear manifest", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] clear manifest">>;
|
|
@@ -151,7 +151,6 @@ export declare class DashboardEffects {
|
|
|
151
151
|
[key: string]: number;
|
|
152
152
|
} | undefined;
|
|
153
153
|
filters?: import("@provoly/dashboard").Filter[] | undefined;
|
|
154
|
-
html?: string | undefined;
|
|
155
154
|
layerGroups?: import("../../core/model/widget-map-manifest.interface").LayerGroup[] | undefined;
|
|
156
155
|
}]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
157
156
|
saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
|
|
@@ -32,7 +32,6 @@ export declare const DashboardSelectors: {
|
|
|
32
32
|
[key: string]: number;
|
|
33
33
|
} | undefined;
|
|
34
34
|
filters?: Filter[] | undefined;
|
|
35
|
-
html?: string | undefined;
|
|
36
35
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
37
36
|
}, (s1: {
|
|
38
37
|
sender: string;
|
|
@@ -48,7 +47,6 @@ export declare const DashboardSelectors: {
|
|
|
48
47
|
[key: string]: number;
|
|
49
48
|
} | undefined;
|
|
50
49
|
filters?: Filter[] | undefined;
|
|
51
|
-
html?: string | undefined;
|
|
52
50
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
53
51
|
}>;
|
|
54
52
|
refreshRates: MemoizedSelector<object, {
|
|
@@ -59,7 +57,6 @@ export declare const DashboardSelectors: {
|
|
|
59
57
|
[key: string]: number;
|
|
60
58
|
} | undefined;
|
|
61
59
|
filters?: Filter[] | undefined;
|
|
62
|
-
html?: string | undefined;
|
|
63
60
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
64
61
|
}) => {
|
|
65
62
|
[key: string]: number;
|
|
@@ -70,7 +67,6 @@ export declare const DashboardSelectors: {
|
|
|
70
67
|
[key: string]: number;
|
|
71
68
|
} | undefined;
|
|
72
69
|
filters?: Filter[] | undefined;
|
|
73
|
-
html?: string | undefined;
|
|
74
70
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
75
71
|
}, s2: number) => DashboardManifest>;
|
|
76
72
|
widgetManifest: (index: number) => MemoizedSelector<DashboardManifest, WidgetManifest, import("@ngrx/store").DefaultProjectorFn<WidgetManifest>>;
|
|
@@ -141,7 +137,6 @@ export declare const DashboardSelectors: {
|
|
|
141
137
|
[key: string]: number;
|
|
142
138
|
} | undefined;
|
|
143
139
|
filters?: Filter[] | undefined;
|
|
144
|
-
html?: string | undefined;
|
|
145
140
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
146
141
|
}) => {
|
|
147
142
|
[key: string]: {
|
|
@@ -262,7 +257,6 @@ export declare const DashboardSelectors: {
|
|
|
262
257
|
[key: string]: number;
|
|
263
258
|
} | undefined;
|
|
264
259
|
filters?: Filter[] | undefined;
|
|
265
|
-
html?: string | undefined;
|
|
266
260
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
267
261
|
}, (s1: {
|
|
268
262
|
sender: string;
|
|
@@ -278,7 +272,6 @@ export declare const DashboardSelectors: {
|
|
|
278
272
|
[key: string]: number;
|
|
279
273
|
} | undefined;
|
|
280
274
|
filters?: Filter[] | undefined;
|
|
281
|
-
html?: string | undefined;
|
|
282
275
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
283
276
|
}>;
|
|
284
277
|
loading: MemoizedSelector<object, boolean, (s1: {
|
|
@@ -329,7 +322,6 @@ export declare const DashboardSelectors: {
|
|
|
329
322
|
[key: string]: number;
|
|
330
323
|
} | undefined;
|
|
331
324
|
filters?: Filter[] | undefined;
|
|
332
|
-
html?: string | undefined;
|
|
333
325
|
layerGroups?: import("@provoly/dashboard").LayerGroup[] | undefined;
|
|
334
326
|
}) => boolean>;
|
|
335
327
|
isCurrentPresentationOwner: MemoizedSelector<object, boolean, (s1: {
|
|
@@ -17,7 +17,7 @@ export declare class ManifestService {
|
|
|
17
17
|
save(name: string, manifest: GlobalManifest, id: string, description?: string, image?: string, metadata?: {
|
|
18
18
|
metadataDefId: string;
|
|
19
19
|
value: string;
|
|
20
|
-
}[], groups?: string[]): Observable<ShareConflict>;
|
|
20
|
+
}[], groups?: string[], additionalInformation?: string): Observable<ShareConflict>;
|
|
21
21
|
delete(id: string): Observable<void>;
|
|
22
22
|
default(id: string): Observable<boolean>;
|
|
23
23
|
addMetadata(presentationId: string, metadataId: string, value: string): Observable<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.25.
|
|
3
|
+
"version": "0.25.8",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -168,6 +168,12 @@
|
|
|
168
168
|
"esm": "./esm2022/components/metadata-editor/provoly-dashboard-components-metadata-editor.mjs",
|
|
169
169
|
"default": "./fesm2022/provoly-dashboard-components-metadata-editor.mjs"
|
|
170
170
|
},
|
|
171
|
+
"./components/page-loader": {
|
|
172
|
+
"types": "./components/page-loader/index.d.ts",
|
|
173
|
+
"esm2022": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
174
|
+
"esm": "./esm2022/components/page-loader/provoly-dashboard-components-page-loader.mjs",
|
|
175
|
+
"default": "./fesm2022/provoly-dashboard-components-page-loader.mjs"
|
|
176
|
+
},
|
|
171
177
|
"./components/scheme-picker": {
|
|
172
178
|
"types": "./components/scheme-picker/index.d.ts",
|
|
173
179
|
"esm2022": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
@@ -12,10 +12,11 @@ import * as i9 from "@provoly/dashboard/components/checkbox";
|
|
|
12
12
|
import * as i10 from "@angular/common";
|
|
13
13
|
import * as i11 from "@angular/cdk/a11y";
|
|
14
14
|
import * as i12 from "@provoly/dashboard/components/metadata-editor";
|
|
15
|
+
import * as i13 from "@provoly/dashboard/components/text-editor";
|
|
15
16
|
export declare class PryPresentationModule {
|
|
16
17
|
private pryTranslateService;
|
|
17
18
|
constructor(pryTranslateService: PryI18nService);
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryPresentationModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent], [typeof i5.PryIconModule, typeof i5.PryCoreModule, typeof i5.PryDashboardModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i7.PrySinceDateModule, typeof i5.PryShareModule, typeof i6.FormsModule, typeof i5.PryOverlayModule, typeof i5.PryI18nModule, typeof i8.PryToolboxModule, typeof i9.PryCheckboxModule, typeof i10.CommonModule, typeof i11.A11yModule, typeof i12.PryExpandPanelModule], [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryPresentationModule, [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent], [typeof i5.PryIconModule, typeof i5.PryCoreModule, typeof i5.PryDashboardModule, typeof i6.ReactiveFormsModule, typeof i5.PrySelectModule, typeof i7.PrySinceDateModule, typeof i5.PryShareModule, typeof i6.FormsModule, typeof i5.PryOverlayModule, typeof i5.PryI18nModule, typeof i8.PryToolboxModule, typeof i9.PryCheckboxModule, typeof i10.CommonModule, typeof i11.A11yModule, typeof i12.PryExpandPanelModule, typeof i13.PryTextEditorModule], [typeof i1.PryPresentationComponent, typeof i2.PryAddEditPresentationComponent, typeof i3.PryTitlePresentationComponent, typeof i4.PryPresentationCssComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryPresentationModule>;
|
|
21
22
|
}
|
|
@@ -58,7 +58,7 @@ pry-add-edit-presentation {
|
|
|
58
58
|
flex-direction: column;
|
|
59
59
|
align-items: center;
|
|
60
60
|
width: 100%;
|
|
61
|
-
padding: toRem(
|
|
61
|
+
padding: toRem(10) 0;
|
|
62
62
|
gap: 15px;
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -69,6 +69,14 @@ pry-add-edit-presentation {
|
|
|
69
69
|
.a-btn[type='submit'] {
|
|
70
70
|
margin-top: 20px;
|
|
71
71
|
}
|
|
72
|
+
|
|
73
|
+
.o-text-editor__content {
|
|
74
|
+
min-height: toRem(100);
|
|
75
|
+
|
|
76
|
+
textarea {
|
|
77
|
+
height: toRem(100);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
72
80
|
}
|
|
73
81
|
|
|
74
82
|
.a-presentation-title {
|
|
@@ -22,17 +22,6 @@
|
|
|
22
22
|
padding-left: 0;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&__edit-inline {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: space-between;
|
|
29
|
-
gap: toRem(10);
|
|
30
|
-
|
|
31
|
-
&__txtvalue {
|
|
32
|
-
margin: toRem(10) 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
25
|
/* MODIFIERS */
|
|
37
26
|
&.-width-sm {
|
|
38
27
|
width: 288px;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
2
|
|
|
3
3
|
.o-modal-wrapper__backdrop::before {
|
|
4
|
+
z-index: 9999;
|
|
4
5
|
content: "";
|
|
5
6
|
position: absolute;
|
|
6
7
|
top: 0;
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
/* Organism - modal */
|
|
16
17
|
.o-modal-wrapper {
|
|
17
18
|
position: absolute;
|
|
19
|
+
z-index: 10000;
|
|
18
20
|
top: 50%;
|
|
19
21
|
left: 50%;
|
|
20
22
|
width: 100%;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@use '../../styles-theme/abstracts-theme/variables.theme' as *;
|
|
2
|
+
@use '../../styles/abstracts/index' as *;
|
|
3
|
+
|
|
4
|
+
.o-page-loader {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
height: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
gap: toRem(30);
|
|
12
|
+
|
|
13
|
+
&__shapes {
|
|
14
|
+
width: toRem(50);
|
|
15
|
+
aspect-ratio: 1;
|
|
16
|
+
|
|
17
|
+
background:
|
|
18
|
+
themed($theme-map, 'decoration', 'component', 'page-loader', 'bg-1'),
|
|
19
|
+
themed($theme-map, 'decoration', 'component', 'page-loader', 'bg-2'),
|
|
20
|
+
themed($theme-map, 'decoration', 'component', 'page-loader', 'bg-3'),
|
|
21
|
+
themed($theme-map, 'decoration', 'component', 'page-loader', 'bg-4');
|
|
22
|
+
background-size: toRem(12) toRem(12);
|
|
23
|
+
animation: loader 1s infinite;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__image {
|
|
27
|
+
width: toRem(150);
|
|
28
|
+
height: auto;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@keyframes loader {
|
|
33
|
+
to { transform: rotate(.5turn) }
|
|
34
|
+
}
|
|
@@ -1,14 +1,25 @@
|
|
|
1
1
|
@use '../abstracts' as *;
|
|
2
|
+
@use './m-form-label-field' as *;
|
|
3
|
+
@use '../../styles-theme/abstracts-theme/variables.theme' as *;
|
|
2
4
|
|
|
3
5
|
/* Organism - component pry edit */
|
|
4
6
|
|
|
5
7
|
.o-pry-edit {
|
|
6
|
-
.
|
|
8
|
+
.a-label {
|
|
9
|
+
font-weight: 700;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__wrapper {
|
|
7
13
|
position: relative;
|
|
14
|
+
}
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
16
|
+
&__value {
|
|
17
|
+
font-size: toRem(14);
|
|
18
|
+
padding: 0 toRem(10);
|
|
19
|
+
border: 1px solid themed($theme-map, 'color', 'primary', 400);
|
|
20
|
+
background-color: themed($theme-map, 'color', 'primary', 'contrast', 50);
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
min-height: toRem(36);
|
|
12
23
|
}
|
|
13
24
|
|
|
14
25
|
.a-btn {
|
|
@@ -21,17 +32,7 @@
|
|
|
21
32
|
opacity: 1;
|
|
22
33
|
transition: opacity 0.3s;
|
|
23
34
|
position: absolute;
|
|
24
|
-
top:
|
|
25
|
-
right:
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.-edit {
|
|
29
|
-
.m-form-label-field__edit-inline {
|
|
30
|
-
margin-top: -2px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.-button-visible {
|
|
34
|
-
top: 4px;
|
|
35
|
-
}
|
|
35
|
+
top: 5px;
|
|
36
|
+
right: toRem(10);
|
|
36
37
|
}
|
|
37
38
|
}
|
package/styles/main.scss
CHANGED
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
@use 'components/o-tabs' as *;
|
|
69
69
|
@use 'components/o-text-panel' as *;
|
|
70
70
|
@use 'components/o-widget' as *;
|
|
71
|
+
@use 'components/o-page-loader' as *;
|
|
71
72
|
@use 'components/o-pry-admin-classes-customize' as *;
|
|
72
73
|
@use 'components/o-pry-admin-dataset-select' as *;
|
|
73
74
|
@use 'components/o-pry-composed-condition' as *;
|
|
@@ -33,6 +33,16 @@ $theme-shadow: (
|
|
|
33
33
|
'modal': 0px 2px 7px rgba(0, 0, 0, 0.09)
|
|
34
34
|
);
|
|
35
35
|
|
|
36
|
+
$theme-component: (
|
|
37
|
+
'page-loader': (
|
|
38
|
+
'bg-1': no-repeat radial-gradient(farthest-side, #40b688 92%, #0000) top,
|
|
39
|
+
'bg-2': no-repeat radial-gradient(farthest-side, #40b688 92%, #0000) left,
|
|
40
|
+
'bg-3': no-repeat radial-gradient(farthest-side, #40b688 92%, #0000) right,
|
|
41
|
+
'bg-4': no-repeat radial-gradient(farthest-side, #40b688 92%, #0000) bottom
|
|
42
|
+
)
|
|
43
|
+
);
|
|
44
|
+
|
|
45
|
+
|
|
36
46
|
///// DO NOT EDIT FROM HERE /////
|
|
37
47
|
$theme-map-decoration: (
|
|
38
48
|
'decoration': (
|
|
@@ -44,6 +54,9 @@ $theme-map-decoration: (
|
|
|
44
54
|
),
|
|
45
55
|
'focus-visible': (
|
|
46
56
|
$theme-focus-visible
|
|
57
|
+
),
|
|
58
|
+
'component': (
|
|
59
|
+
$theme-component
|
|
47
60
|
)
|
|
48
61
|
)
|
|
49
62
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { ManifestDescription } from '@provoly/dashboard';
|
|
4
4
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
5
5
|
import { ToolboxActionComponent } from '../toolbox-action/toolbox-action.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class DashboardDetailsComponent extends ToolboxActionComponent {
|
|
8
8
|
isPanelOpen: boolean;
|
|
9
9
|
panelPosition: ConnectedPosition[];
|
|
10
|
-
|
|
10
|
+
presentation$: Observable<ManifestDescription | undefined>;
|
|
11
11
|
constructor(store: Store);
|
|
12
12
|
openPanel($event: Event): void;
|
|
13
13
|
closePanel($event: Event | void): void;
|
|
@@ -26,8 +26,9 @@ import * as i24 from "@provoly/dashboard/components/checkbox";
|
|
|
26
26
|
import * as i25 from "@provoly/dashboard/components/stepper";
|
|
27
27
|
import * as i26 from "@angular/cdk/drag-drop";
|
|
28
28
|
import * as i27 from "@angular/cdk/a11y";
|
|
29
|
+
import * as i28 from "@provoly/dashboard/components/text-editor";
|
|
29
30
|
export declare class PryToolboxModule {
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryToolboxModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.OverlayModule, typeof i23.PryOverlayModule, typeof i23.PryCoreModule, typeof i23.PryDashboardModule, typeof i23.PrySelectModule, typeof i23.PryIconModule, typeof i24.PryCheckboxModule, typeof i23.PryToggleModule, typeof i25.PryStepperModule, typeof i23.PryShareModule, typeof i23.PryI18nModule, typeof i26.CdkDropList, typeof i26.CdkDrag, typeof i26.CdkDragHandle, typeof i27.A11yModule], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent]>;
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PryToolboxModule, [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent], [typeof i20.CommonModule, typeof i21.FormsModule, typeof i22.OverlayModule, typeof i23.PryOverlayModule, typeof i23.PryCoreModule, typeof i23.PryDashboardModule, typeof i23.PrySelectModule, typeof i23.PryIconModule, typeof i24.PryCheckboxModule, typeof i23.PryToggleModule, typeof i25.PryStepperModule, typeof i23.PryShareModule, typeof i23.PryI18nModule, typeof i26.CdkDropList, typeof i26.CdkDrag, typeof i26.CdkDragHandle, typeof i27.A11yModule, typeof i28.PryTextEditorModule], [typeof i1.ToolboxActionComponent, typeof i2.ToolboxActionInstanciatorComponent, typeof i3.ClearViewComponent, typeof i4.DragWidgetsComponent, typeof i5.EditModeToggleComponent, typeof i6.LaunchTabComponent, typeof i7.NamedQueryComponent, typeof i8.SaveViewComponent, typeof i9.SelectGridLayoutComponent, typeof i10.ToolboxComponent, typeof i11.PrySelectGridLayoutCssComponent, typeof i12.PryFilterSettingsComponent, typeof i13.RefreshDatasetsComponent, typeof i14.AutomateRefreshComponent, typeof i15.SwitchToEditContentComponent, typeof i16.ShareComponent, typeof i17.DeleteComponent, typeof i18.DashboardDetailsComponent, typeof i19.EditModeActionComponent]>;
|
|
32
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<PryToolboxModule>;
|
|
33
34
|
}
|
|
@@ -123,7 +123,8 @@ export declare class WidgetAggregatedChartComponent extends DataWidgetComponent
|
|
|
123
123
|
toggleSort($event: any): void;
|
|
124
124
|
changeSortValue($event: 'key' | 'value'): void;
|
|
125
125
|
changeSortDirection($event: 'asc' | 'desc'): void;
|
|
126
|
-
toggleLimitItems(): void;
|
|
126
|
+
toggleLimitItems($event: boolean): void;
|
|
127
|
+
changeLimitItemsValue($event: number | null): void;
|
|
127
128
|
toImage(): Promise<string>;
|
|
128
129
|
changeCircleColorScheme($event: any): void;
|
|
129
130
|
changeBaseColor($event: any): void;
|