@provoly/dashboard 0.24.1 → 0.24.3
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/filters/autocomplete/autocomplete.component.mjs +16 -8
- package/esm2022/lib/core/model/filter.interface.mjs +1 -1
- package/esm2022/lib/core/model/manifest.interface.mjs +1 -1
- package/esm2022/lib/core/store/search/search.actions.mjs +4 -2
- package/esm2022/lib/core/store/search/search.effects.mjs +4 -1
- package/esm2022/lib/core/store/search/search.reducer.mjs +9 -2
- package/esm2022/lib/core/store/search/search.selectors.mjs +4 -2
- package/esm2022/lib/core/store/search/search.service.mjs +2 -2
- package/esm2022/toolbox/components/dashboard-details/dashboard-details.component.mjs +12 -9
- package/esm2022/toolbox/components/filter-settings/filter-settings.component.mjs +3 -3
- package/esm2022/toolbox/style/css.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +15 -7
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-toolbox.mjs +15 -11
- package/fesm2022/provoly-dashboard-toolbox.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +18 -4
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/filters/autocomplete/autocomplete.component.d.ts +2 -1
- package/lib/core/model/manifest.interface.d.ts +1 -1
- package/lib/core/store/search/search.actions.d.ts +24 -0
- package/lib/core/store/search/search.effects.d.ts +4 -0
- package/lib/core/store/search/search.reducer.d.ts +3 -0
- package/lib/core/store/search/search.selectors.d.ts +1 -0
- package/lib/dashboard/store/dashboard.effects.d.ts +1 -0
- package/lib/dashboard/store/dashboard.selectors.d.ts +8 -0
- package/package.json +7 -7
- package/toolbox/components/dashboard-details/dashboard-details.component.d.ts +2 -2
- package/toolbox/style/_o-dashboard-details.component.scss +9 -7
|
@@ -8,7 +8,8 @@ export declare class AutocompleteComponent extends BaseFilterComponent implement
|
|
|
8
8
|
search$: BehaviorSubject<string>;
|
|
9
9
|
autocomplete$?: Observable<string[]>;
|
|
10
10
|
loader: boolean;
|
|
11
|
-
|
|
11
|
+
preventInitCall$: Subject<void>;
|
|
12
|
+
items$: Observable<string[]>;
|
|
12
13
|
constructor(store: Store, searchService: SearchService);
|
|
13
14
|
ngOnInit(): void;
|
|
14
15
|
setFilter(value: string): void;
|
|
@@ -23,7 +23,6 @@ export interface ManifestDescription {
|
|
|
23
23
|
owner: boolean;
|
|
24
24
|
datasource: string[];
|
|
25
25
|
metadata?: MetadataValue[];
|
|
26
|
-
html?: string;
|
|
27
26
|
}
|
|
28
27
|
export interface WidgetLayout {
|
|
29
28
|
x: number;
|
|
@@ -65,6 +64,7 @@ export interface GlobalManifest {
|
|
|
65
64
|
[key: string]: number;
|
|
66
65
|
};
|
|
67
66
|
filters?: Filter[];
|
|
67
|
+
html?: string;
|
|
68
68
|
}
|
|
69
69
|
export interface WidgetManifest {
|
|
70
70
|
title?: string;
|
|
@@ -41,4 +41,28 @@ export declare const SearchActions: {
|
|
|
41
41
|
datasources: string[];
|
|
42
42
|
start: boolean;
|
|
43
43
|
} & import("@ngrx/store/src/models").TypedAction<"[Search Api] (bus) set Search loading datasource status">>;
|
|
44
|
+
getPossibleFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) get possible filter values", (props: {
|
|
45
|
+
filterId: string;
|
|
46
|
+
attributes: {
|
|
47
|
+
id: string;
|
|
48
|
+
technicalName: string;
|
|
49
|
+
label: string;
|
|
50
|
+
datasource: string;
|
|
51
|
+
}[];
|
|
52
|
+
}) => {
|
|
53
|
+
filterId: string;
|
|
54
|
+
attributes: {
|
|
55
|
+
id: string;
|
|
56
|
+
technicalName: string;
|
|
57
|
+
label: string;
|
|
58
|
+
datasource: string;
|
|
59
|
+
}[];
|
|
60
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) get possible filter values">>;
|
|
61
|
+
setPossibleFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) set possible filter values", (props: {
|
|
62
|
+
filterId: string;
|
|
63
|
+
values: string[];
|
|
64
|
+
}) => {
|
|
65
|
+
filterId: string;
|
|
66
|
+
values: string[];
|
|
67
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set possible filter values">>;
|
|
44
68
|
};
|
|
@@ -28,6 +28,10 @@ export declare class SearchEffects {
|
|
|
28
28
|
resultSet: import("@provoly/dashboard").ResultSet;
|
|
29
29
|
params?: string | undefined;
|
|
30
30
|
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) received named resultSet">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
|
+
getPossibleFilterValues$: import("rxjs").Observable<{
|
|
32
|
+
filterId: string;
|
|
33
|
+
values: string[];
|
|
34
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) set possible filter values">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchEffects, never>;
|
|
32
36
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchEffects>;
|
|
33
37
|
}
|
|
@@ -5,6 +5,9 @@ export interface SearchState {
|
|
|
5
5
|
searchLoading: string[];
|
|
6
6
|
payload?: MonoClassSearchPayload | MultiClassSearchPayload | FullTextSearchPayload;
|
|
7
7
|
id?: string;
|
|
8
|
+
possibleFilterValues: {
|
|
9
|
+
[key: string]: string[];
|
|
10
|
+
};
|
|
8
11
|
}
|
|
9
12
|
export declare const initialSearchState: SearchState;
|
|
10
13
|
export declare const searchReducer: import("@ngrx/store").ActionReducer<SearchState, import("@ngrx/store").Action>;
|
|
@@ -2,4 +2,5 @@ import * as fromSearch from './search.reducer';
|
|
|
2
2
|
export declare const SearchSelectors: {
|
|
3
3
|
feature: import("@ngrx/store").MemoizedSelector<object, fromSearch.SearchState, import("@ngrx/store").DefaultProjectorFn<fromSearch.SearchState>>;
|
|
4
4
|
searchLoading: import("@ngrx/store").MemoizedSelector<object, string[], (s1: fromSearch.SearchState) => string[]>;
|
|
5
|
+
possibleFilterValues: (filterId?: string) => import("@ngrx/store").MemoizedSelector<object, string[], (s1: fromSearch.SearchState) => string[]>;
|
|
5
6
|
};
|
|
@@ -151,6 +151,7 @@ export declare class DashboardEffects {
|
|
|
151
151
|
[key: string]: number;
|
|
152
152
|
} | undefined;
|
|
153
153
|
filters?: import("@provoly/dashboard").Filter[] | undefined;
|
|
154
|
+
html?: string | undefined;
|
|
154
155
|
}]> & import("@ngrx/effects").CreateEffectMetadata;
|
|
155
156
|
saveManifest$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[Dashboard] (bus) fetching available manifests"> | ({
|
|
156
157
|
initial?: GlobalManifest | undefined;
|
|
@@ -32,6 +32,7 @@ export declare const DashboardSelectors: {
|
|
|
32
32
|
[key: string]: number;
|
|
33
33
|
} | undefined;
|
|
34
34
|
filters?: Filter[] | undefined;
|
|
35
|
+
html?: string | undefined;
|
|
35
36
|
}, (s1: {
|
|
36
37
|
sender: string;
|
|
37
38
|
tenants: string[];
|
|
@@ -46,6 +47,7 @@ export declare const DashboardSelectors: {
|
|
|
46
47
|
[key: string]: number;
|
|
47
48
|
} | undefined;
|
|
48
49
|
filters?: Filter[] | undefined;
|
|
50
|
+
html?: string | undefined;
|
|
49
51
|
}>;
|
|
50
52
|
refreshRates: MemoizedSelector<object, {
|
|
51
53
|
[key: string]: number;
|
|
@@ -55,6 +57,7 @@ export declare const DashboardSelectors: {
|
|
|
55
57
|
[key: string]: number;
|
|
56
58
|
} | undefined;
|
|
57
59
|
filters?: Filter[] | undefined;
|
|
60
|
+
html?: string | undefined;
|
|
58
61
|
}) => {
|
|
59
62
|
[key: string]: number;
|
|
60
63
|
}>;
|
|
@@ -64,6 +67,7 @@ export declare const DashboardSelectors: {
|
|
|
64
67
|
[key: string]: number;
|
|
65
68
|
} | undefined;
|
|
66
69
|
filters?: Filter[] | undefined;
|
|
70
|
+
html?: string | undefined;
|
|
67
71
|
}, s2: number) => DashboardManifest>;
|
|
68
72
|
widgetManifest: (index: number) => MemoizedSelector<DashboardManifest, WidgetManifest, import("@ngrx/store").DefaultProjectorFn<WidgetManifest>>;
|
|
69
73
|
manifestsList: MemoizedSelector<object, import("../../core/model/manifest.interface").ManifestDescription[], (s1: {
|
|
@@ -133,6 +137,7 @@ export declare const DashboardSelectors: {
|
|
|
133
137
|
[key: string]: number;
|
|
134
138
|
} | undefined;
|
|
135
139
|
filters?: Filter[] | undefined;
|
|
140
|
+
html?: string | undefined;
|
|
136
141
|
}) => {
|
|
137
142
|
[key: string]: {
|
|
138
143
|
windowIndex: number;
|
|
@@ -252,6 +257,7 @@ export declare const DashboardSelectors: {
|
|
|
252
257
|
[key: string]: number;
|
|
253
258
|
} | undefined;
|
|
254
259
|
filters?: Filter[] | undefined;
|
|
260
|
+
html?: string | undefined;
|
|
255
261
|
}, (s1: {
|
|
256
262
|
sender: string;
|
|
257
263
|
tenants: string[];
|
|
@@ -266,6 +272,7 @@ export declare const DashboardSelectors: {
|
|
|
266
272
|
[key: string]: number;
|
|
267
273
|
} | undefined;
|
|
268
274
|
filters?: Filter[] | undefined;
|
|
275
|
+
html?: string | undefined;
|
|
269
276
|
}>;
|
|
270
277
|
loading: MemoizedSelector<object, boolean, (s1: {
|
|
271
278
|
sender: string;
|
|
@@ -315,6 +322,7 @@ export declare const DashboardSelectors: {
|
|
|
315
322
|
[key: string]: number;
|
|
316
323
|
} | undefined;
|
|
317
324
|
filters?: Filter[] | undefined;
|
|
325
|
+
html?: string | undefined;
|
|
318
326
|
}) => boolean>;
|
|
319
327
|
isCurrentPresentationOwner: MemoizedSelector<object, boolean, (s1: {
|
|
320
328
|
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": "0.24.
|
|
3
|
+
"version": "0.24.3",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "16.x || 17.x",
|
|
@@ -102,18 +102,18 @@
|
|
|
102
102
|
"esm": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
103
103
|
"default": "./fesm2022/provoly-dashboard-notification.mjs"
|
|
104
104
|
},
|
|
105
|
-
"./presentation": {
|
|
106
|
-
"types": "./presentation/index.d.ts",
|
|
107
|
-
"esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
108
|
-
"esm": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|
|
109
|
-
"default": "./fesm2022/provoly-dashboard-presentation.mjs"
|
|
110
|
-
},
|
|
111
105
|
"./pipeline": {
|
|
112
106
|
"types": "./pipeline/index.d.ts",
|
|
113
107
|
"esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
114
108
|
"esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
115
109
|
"default": "./fesm2022/provoly-dashboard-pipeline.mjs"
|
|
116
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
117
|
"./restitution": {
|
|
118
118
|
"types": "./restitution/index.d.ts",
|
|
119
119
|
"esm2022": "./esm2022/restitution/provoly-dashboard-restitution.mjs",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Store } from '@ngrx/store';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import {
|
|
3
|
+
import { GlobalManifest } 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
|
+
globalManifest$: Observable<GlobalManifest>;
|
|
11
11
|
constructor(store: Store);
|
|
12
12
|
openPanel($event: Event): void;
|
|
13
13
|
closePanel($event: Event | void): void;
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
#dashboard-details-panel {
|
|
19
|
+
background-color: themed($theme-map, 'color', 'primary', 50);
|
|
20
|
+
box-shadow: themed($theme-map, 'decoration', 'shadow', 'modal');
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: toRem(500);
|
|
23
|
+
overflow-x: hidden;
|
|
24
|
+
overflow-y: auto;
|
|
25
|
+
max-height: toRem(400);
|
|
26
|
+
padding: toRem(8) toRem(15) toRem(15) toRem(10);
|
|
27
|
+
|
|
19
28
|
.o-modal__top {
|
|
20
29
|
margin: 0;
|
|
21
30
|
padding: 0;
|
|
@@ -58,10 +67,3 @@
|
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
|
|
61
|
-
.o-modal-wrapper {
|
|
62
|
-
&:has(#dashboard-details-panel) {
|
|
63
|
-
max-height: toRem(400);
|
|
64
|
-
padding: toRem(8) toRem(15) toRem(15) toRem(10);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|