@provoly/dashboard 0.12.4 → 0.12.5

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.
@@ -30,6 +30,7 @@ export declare const enTranslations: {
30
30
  maximize: string;
31
31
  none_auto: string;
32
32
  none_manual: string;
33
+ loading: string;
33
34
  };
34
35
  namedQuery: {
35
36
  defaultRs: string;
@@ -30,6 +30,7 @@ export declare const frTranslations: {
30
30
  maximize: string;
31
31
  none_auto: string;
32
32
  none_manual: string;
33
+ loading: string;
33
34
  };
34
35
  namedQuery: {
35
36
  defaultRs: string;
@@ -26,6 +26,7 @@ export declare class DashboardComponent extends SubscriptionnerDirective impleme
26
26
  separators$: Observable<WidgetLayout[]>;
27
27
  nonFillerWidgets$: Observable<number>;
28
28
  widgetsInstances: Array<BaseWidgetComponent>;
29
+ loading$: Observable<boolean>;
29
30
  set staticDashboard(window: DashboardManifest);
30
31
  CloseOnDragOut: boolean;
31
32
  gridRef: ElementRef;
@@ -208,11 +208,12 @@ export declare const DashboardActions: {
208
208
  }) => {
209
209
  manifests: ManifestDescription[];
210
210
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) received manifests list">>;
211
- fetchStaticManifest: import("@ngrx/store").ActionCreator<"[Dashboard] fetching staticManifest", (props: {
211
+ fetchStaticManifest: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) fetching staticManifest", (props: {
212
212
  id: string;
213
213
  }) => {
214
214
  id: string;
215
- } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] fetching staticManifest">>;
215
+ } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching staticManifest">>;
216
+ endLoading: import("@ngrx/store").ActionCreator<"[Dashboard] end loading", () => import("@ngrx/store/src/models").TypedAction<"[Dashboard] end loading">>;
216
217
  updateStaticManifest: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) received staticManifest", (props: {
217
218
  staticManifest: GlobalManifest;
218
219
  }) => {
@@ -53,6 +53,7 @@ export declare class DashboardEffects {
53
53
  fetchStaticManifest$: import("rxjs").Observable<{
54
54
  staticManifest: GlobalManifest;
55
55
  } & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) received staticManifest">> & import("@ngrx/effects").CreateEffectMetadata;
56
+ fetchStaticManifestLoading$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] end loading">> & import("@ngrx/effects").CreateEffectMetadata;
56
57
  loadAndActivateManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) follow manifest route"> | ({
57
58
  tenants?: string[] | undefined;
58
59
  manifest: GlobalManifest;
@@ -13,6 +13,7 @@ export interface DashboardState {
13
13
  list: ManifestDescription[];
14
14
  currentId: string;
15
15
  staticManifest: GlobalManifest;
16
+ loading: boolean;
16
17
  };
17
18
  presentation: {
18
19
  current: ManifestDescription | undefined;
@@ -15,6 +15,7 @@ export declare const DashboardSelectors: {
15
15
  list: import("../../core/model/manifest.interface").ManifestDescription[];
16
16
  currentId: string;
17
17
  staticManifest: GlobalManifest;
18
+ loading: boolean;
18
19
  }) => number>;
19
20
  currentManifestId: MemoizedSelector<object, string, (s1: {
20
21
  sender: string;
@@ -23,6 +24,7 @@ export declare const DashboardSelectors: {
23
24
  list: import("../../core/model/manifest.interface").ManifestDescription[];
24
25
  currentId: string;
25
26
  staticManifest: GlobalManifest;
27
+ loading: boolean;
26
28
  }) => string>;
27
29
  globalManifest: MemoizedSelector<object, {
28
30
  windows: DashboardManifest[];
@@ -38,6 +40,7 @@ export declare const DashboardSelectors: {
38
40
  list: import("../../core/model/manifest.interface").ManifestDescription[];
39
41
  currentId: string;
40
42
  staticManifest: GlobalManifest;
43
+ loading: boolean;
41
44
  }) => {
42
45
  windows: DashboardManifest[];
43
46
  refreshRates?: {
@@ -82,6 +85,7 @@ export declare const DashboardSelectors: {
82
85
  list: import("../../core/model/manifest.interface").ManifestDescription[];
83
86
  currentId: string;
84
87
  staticManifest: GlobalManifest;
88
+ loading: boolean;
85
89
  }) => import("../../core/model/manifest.interface").ManifestDescription[]>;
86
90
  gridLayout: MemoizedSelector<object, DashboardGridLayout, (s1: DashboardManifest) => DashboardGridLayout>;
87
91
  tenants: MemoizedSelector<object, string[], (s1: {
@@ -91,6 +95,7 @@ export declare const DashboardSelectors: {
91
95
  list: import("../../core/model/manifest.interface").ManifestDescription[];
92
96
  currentId: string;
93
97
  staticManifest: GlobalManifest;
98
+ loading: boolean;
94
99
  }) => string[]>;
95
100
  resultSets: MemoizedSelector<object, ResultSets, (s1: {
96
101
  resultSets: ResultSets;
@@ -290,6 +295,7 @@ export declare const DashboardSelectors: {
290
295
  list: import("../../core/model/manifest.interface").ManifestDescription[];
291
296
  currentId: string;
292
297
  staticManifest: GlobalManifest;
298
+ loading: boolean;
293
299
  }, s2: number) => number[]>;
294
300
  dashboard: MemoizedSelector<object, {
295
301
  params: DashboardCellParams;
@@ -320,6 +326,7 @@ export declare const DashboardSelectors: {
320
326
  list: import("../../core/model/manifest.interface").ManifestDescription[];
321
327
  currentId: string;
322
328
  staticManifest: GlobalManifest;
329
+ loading: boolean;
323
330
  }) => {
324
331
  windows: DashboardManifest[];
325
332
  refreshRates?: {
@@ -328,6 +335,15 @@ export declare const DashboardSelectors: {
328
335
  locked?: boolean | undefined;
329
336
  filters?: Filter[] | undefined;
330
337
  }>;
338
+ loading: MemoizedSelector<object, boolean, (s1: {
339
+ sender: string;
340
+ tenants: string[];
341
+ manifest: GlobalManifest;
342
+ list: import("../../core/model/manifest.interface").ManifestDescription[];
343
+ currentId: string;
344
+ staticManifest: GlobalManifest;
345
+ loading: boolean;
346
+ }) => boolean>;
331
347
  quickOrder: MemoizedSelector<object, {
332
348
  [id: string]: ResultOrder | undefined;
333
349
  }, (s1: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "15.x || 16.x",
@@ -43,18 +43,18 @@
43
43
  "esm": "./esm2022/admin/provoly-dashboard-admin.mjs",
44
44
  "default": "./fesm2022/provoly-dashboard-admin.mjs"
45
45
  },
46
- "./dataset": {
47
- "types": "./dataset/index.d.ts",
48
- "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
49
- "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
50
- "default": "./fesm2022/provoly-dashboard-dataset.mjs"
51
- },
52
46
  "./import": {
53
47
  "types": "./import/index.d.ts",
54
48
  "esm2022": "./esm2022/import/provoly-dashboard-import.mjs",
55
49
  "esm": "./esm2022/import/provoly-dashboard-import.mjs",
56
50
  "default": "./fesm2022/provoly-dashboard-import.mjs"
57
51
  },
52
+ "./dataset": {
53
+ "types": "./dataset/index.d.ts",
54
+ "esm2022": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
55
+ "esm": "./esm2022/dataset/provoly-dashboard-dataset.mjs",
56
+ "default": "./fesm2022/provoly-dashboard-dataset.mjs"
57
+ },
58
58
  "./notification": {
59
59
  "types": "./notification/index.d.ts",
60
60
  "esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
@@ -109,36 +109,36 @@
109
109
  "esm": "./esm2022/components/checkbox/provoly-dashboard-components-checkbox.mjs",
110
110
  "default": "./fesm2022/provoly-dashboard-components-checkbox.mjs"
111
111
  },
112
- "./components/filter": {
113
- "types": "./components/filter/index.d.ts",
114
- "esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
115
- "esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
116
- "default": "./fesm2022/provoly-dashboard-components-filter.mjs"
117
- },
118
112
  "./components/expand-panel": {
119
113
  "types": "./components/expand-panel/index.d.ts",
120
114
  "esm2022": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
121
115
  "esm": "./esm2022/components/expand-panel/provoly-dashboard-components-expand-panel.mjs",
122
116
  "default": "./fesm2022/provoly-dashboard-components-expand-panel.mjs"
123
117
  },
118
+ "./components/filter": {
119
+ "types": "./components/filter/index.d.ts",
120
+ "esm2022": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
121
+ "esm": "./esm2022/components/filter/provoly-dashboard-components-filter.mjs",
122
+ "default": "./fesm2022/provoly-dashboard-components-filter.mjs"
123
+ },
124
124
  "./components/sinceDate": {
125
125
  "types": "./components/sinceDate/index.d.ts",
126
126
  "esm2022": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
127
127
  "esm": "./esm2022/components/sinceDate/provoly-dashboard-components-sinceDate.mjs",
128
128
  "default": "./fesm2022/provoly-dashboard-components-sinceDate.mjs"
129
129
  },
130
- "./filters/date": {
131
- "types": "./filters/date/index.d.ts",
132
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
133
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
134
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
135
- },
136
130
  "./components/stepper": {
137
131
  "types": "./components/stepper/index.d.ts",
138
132
  "esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
139
133
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
140
134
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
141
135
  },
136
+ "./filters/date": {
137
+ "types": "./filters/date/index.d.ts",
138
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
139
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
140
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
141
+ },
142
142
  "./filters/list": {
143
143
  "types": "./filters/list/index.d.ts",
144
144
  "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
@@ -187,18 +187,18 @@
187
187
  "esm": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
188
188
  "default": "./fesm2022/provoly-dashboard-pipeline-components-subgraph.mjs"
189
189
  },
190
- "./tooltips/attribute": {
191
- "types": "./tooltips/attribute/index.d.ts",
192
- "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
193
- "esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
194
- "default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
195
- },
196
190
  "./tooltips/cluster": {
197
191
  "types": "./tooltips/cluster/index.d.ts",
198
192
  "esm2022": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
199
193
  "esm": "./esm2022/tooltips/cluster/provoly-dashboard-tooltips-cluster.mjs",
200
194
  "default": "./fesm2022/provoly-dashboard-tooltips-cluster.mjs"
201
195
  },
196
+ "./tooltips/attribute": {
197
+ "types": "./tooltips/attribute/index.d.ts",
198
+ "esm2022": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
199
+ "esm": "./esm2022/tooltips/attribute/provoly-dashboard-tooltips-attribute.mjs",
200
+ "default": "./fesm2022/provoly-dashboard-tooltips-attribute.mjs"
201
+ },
202
202
  "./widgets/widget-aggregated-chart": {
203
203
  "types": "./widgets/widget-aggregated-chart/index.d.ts",
204
204
  "esm2022": "./esm2022/widgets/widget-aggregated-chart/provoly-dashboard-widgets-widget-aggregated-chart.mjs",
@@ -0,0 +1,12 @@
1
+ @use '../../styles/abstracts' as *;
2
+ @use '../abstracts-theme' as *;
3
+
4
+ /**
5
+ Theme organism- Dashboard
6
+ */
7
+
8
+ .no-widget {
9
+ &__loading {
10
+ color: themed($theme-map, 'color', 'accent', 600);
11
+ }
12
+ }
@@ -36,6 +36,7 @@
36
36
  /* Organisms */
37
37
  @use 'components-theme/o-card.theme' as *;
38
38
  @use 'components-theme/o-catalog.theme' as *;
39
+ @use 'components-theme/o-dashboard.theme' as *;
39
40
  @use 'components-theme/o-date-picker.theme' as *;
40
41
  @use 'components-theme/o-datasources.theme' as *;
41
42
  @use 'components-theme/o-draggable-menu.theme' as *;