@provoly/dashboard 0.11.0 → 0.11.2
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/admin/components/admin-abac-rules/store/abac-rules.effects.d.ts +2 -2
- package/admin/components/admin-dataset/store/admin-dataset.effects.d.ts +6 -6
- package/admin/components/admin-metadata/store/metadata.effects.d.ts +6 -6
- package/admin/components/admin-metadata-rules/store/metadata-rules.effects.d.ts +3 -3
- package/admin/components/admin-metadata-user/store/admin-metadata-user.effects.d.ts +6 -6
- package/esm2022/lib/core/components/modalStatus/modalStatus.component.mjs +3 -3
- package/esm2022/lib/core/errors/http-error-interceptor.service.mjs +13 -9
- package/esm2022/lib/core/model/filter.interface.mjs +1 -1
- package/esm2022/lib/core/store/search/search.service.mjs +15 -15
- package/esm2022/lib/dashboard/components/widgets/data-widget.component.mjs +2 -3
- package/esm2022/lib/dashboard/store/dashboard.reducers.mjs +21 -15
- package/esm2022/lib/dashboard/store/dashboard.selectors.mjs +4 -4
- package/esm2022/lib/dashboard/store/manifest.service.mjs +5 -3
- package/esm2022/widgets/widget-aggregated-chart/service/backend-aggregation.service.mjs +8 -15
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +6 -13
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +60 -49
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/filter.interface.d.ts +1 -1
- package/lib/core/store/search/search.service.d.ts +3 -5
- package/package.json +13 -13
- package/search/search-fulltext/store/search-fulltext.effects.d.ts +2 -2
- package/search/search-mono-class/store/search-mono-class.effects.d.ts +6 -6
- package/search/search-multi-class/store/search-multi-class.effects.d.ts +2 -2
- package/widgets/widget-aggregated-chart/service/backend-aggregation.service.d.ts +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
1
|
+
import { HttpClient, HttpParams } from '@angular/common/http';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { FilterContext } from '../../model/filter.interface';
|
|
@@ -25,10 +25,8 @@ export declare class SearchService {
|
|
|
25
25
|
*/
|
|
26
26
|
getItems(id: string, quickOrder?: ResultOrder): Observable<ResultSet>;
|
|
27
27
|
getItemsSerializedParams(id: string, quickOrder: any): string;
|
|
28
|
-
getItemsFilter(id: string):
|
|
29
|
-
|
|
30
|
-
[key: string]: string;
|
|
31
|
-
};
|
|
28
|
+
getItemsFilter(id: string, cumulative?: HttpParams): HttpParams;
|
|
29
|
+
getOrder(quickOrder: ResultOrder | undefined, cumulative?: HttpParams): HttpParams;
|
|
32
30
|
/**
|
|
33
31
|
* Launch a search request (and saves it as current search)
|
|
34
32
|
* @param condition
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "15.x || 16.x",
|
|
@@ -145,18 +145,18 @@
|
|
|
145
145
|
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
146
146
|
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
147
147
|
},
|
|
148
|
-
"./filters/text": {
|
|
149
|
-
"types": "./filters/text/index.d.ts",
|
|
150
|
-
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
151
|
-
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
152
|
-
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
153
|
-
},
|
|
154
148
|
"./filters/number": {
|
|
155
149
|
"types": "./filters/number/index.d.ts",
|
|
156
150
|
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
157
151
|
"esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|
|
158
152
|
"default": "./fesm2022/provoly-dashboard-filters-number.mjs"
|
|
159
153
|
},
|
|
154
|
+
"./filters/text": {
|
|
155
|
+
"types": "./filters/text/index.d.ts",
|
|
156
|
+
"esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
157
|
+
"esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
|
|
158
|
+
"default": "./fesm2022/provoly-dashboard-filters-text.mjs"
|
|
159
|
+
},
|
|
160
160
|
"./pipeline-components/filter": {
|
|
161
161
|
"types": "./pipeline-components/filter/index.d.ts",
|
|
162
162
|
"esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",
|
|
@@ -169,18 +169,18 @@
|
|
|
169
169
|
"esm": "./esm2022/pipeline-components/input-datasource/provoly-dashboard-pipeline-components-input-datasource.mjs",
|
|
170
170
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-input-datasource.mjs"
|
|
171
171
|
},
|
|
172
|
-
"./pipeline-components/output-dataset": {
|
|
173
|
-
"types": "./pipeline-components/output-dataset/index.d.ts",
|
|
174
|
-
"esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
175
|
-
"esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
176
|
-
"default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
|
|
177
|
-
},
|
|
178
172
|
"./pipeline-components/noop": {
|
|
179
173
|
"types": "./pipeline-components/noop/index.d.ts",
|
|
180
174
|
"esm2022": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
|
|
181
175
|
"esm": "./esm2022/pipeline-components/noop/provoly-dashboard-pipeline-components-noop.mjs",
|
|
182
176
|
"default": "./fesm2022/provoly-dashboard-pipeline-components-noop.mjs"
|
|
183
177
|
},
|
|
178
|
+
"./pipeline-components/output-dataset": {
|
|
179
|
+
"types": "./pipeline-components/output-dataset/index.d.ts",
|
|
180
|
+
"esm2022": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
181
|
+
"esm": "./esm2022/pipeline-components/output-dataset/provoly-dashboard-pipeline-components-output-dataset.mjs",
|
|
182
|
+
"default": "./fesm2022/provoly-dashboard-pipeline-components-output-dataset.mjs"
|
|
183
|
+
},
|
|
184
184
|
"./pipeline-components/subgraph": {
|
|
185
185
|
"types": "./pipeline-components/subgraph/index.d.ts",
|
|
186
186
|
"esm2022": "./esm2022/pipeline-components/subgraph/provoly-dashboard-pipeline-components-subgraph.mjs",
|
|
@@ -11,12 +11,12 @@ export declare class SearchFulltextEffects {
|
|
|
11
11
|
id?: string | undefined;
|
|
12
12
|
description?: string | undefined;
|
|
13
13
|
visibility?: import("@provoly/dashboard").PryVisibility | undefined;
|
|
14
|
-
payload: import("@provoly/dashboard").
|
|
14
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
15
15
|
color?: string | undefined;
|
|
16
16
|
favorite: boolean;
|
|
17
17
|
isEdit: boolean;
|
|
18
18
|
} & import("@ngrx/store/src/models").TypedAction<"[NamedQuery] post">) | ({
|
|
19
|
-
payload: import("@provoly/dashboard").
|
|
19
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
20
20
|
id?: string | undefined;
|
|
21
21
|
} & import("@ngrx/store/src/models").TypedAction<"[Search] search">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
22
22
|
constructor(actions$: Actions, store: Store<any>, searchFulltextService: SearchFulltextService);
|
|
@@ -21,24 +21,24 @@ export declare class SearchMonoClassEffects {
|
|
|
21
21
|
condition: NormalizedCondition;
|
|
22
22
|
} & import("@ngrx/store/src/models").TypedAction<"[Condition] add normalizedCondition for condition id">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
23
23
|
deleteNormalizedCondition$: import("rxjs").Observable<({
|
|
24
|
+
conditionId: string;
|
|
25
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Condition] delete normalizedCondition for condition id">) | ({
|
|
24
26
|
condition: NormalizedCondition;
|
|
25
27
|
} & import("@ngrx/store/src/models").TypedAction<"[Condition] delete normalizedCondition">) | ({
|
|
26
28
|
parentId: string;
|
|
27
29
|
childrenId: string;
|
|
28
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Condition] remove normalizedCondition id from parent composed">)
|
|
29
|
-
conditionId: string;
|
|
30
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Condition] delete normalizedCondition for condition id">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
30
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Condition] remove normalizedCondition id from parent composed">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
31
31
|
actionMonoClassSearch$: import("rxjs").Observable<({
|
|
32
32
|
name: string;
|
|
33
33
|
id?: string | undefined;
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
visibility?: import("@provoly/dashboard").PryVisibility | undefined;
|
|
36
|
-
payload:
|
|
36
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | MonoClassSearchPayload | MultiClassSearchPayload;
|
|
37
37
|
color?: string | undefined;
|
|
38
38
|
favorite: boolean;
|
|
39
39
|
isEdit: boolean;
|
|
40
40
|
} & import("@ngrx/store/src/models").TypedAction<"[NamedQuery] post">) | ({
|
|
41
|
-
payload:
|
|
41
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | MonoClassSearchPayload | MultiClassSearchPayload;
|
|
42
42
|
id?: string | undefined;
|
|
43
43
|
} & import("@ngrx/store/src/models").TypedAction<"[Search] search">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
44
|
loadExistingConditions$: import("rxjs").Observable<({
|
|
@@ -58,7 +58,7 @@ export declare class SearchMonoClassEffects {
|
|
|
58
58
|
addEdit$: import("rxjs").Observable<Action | ({
|
|
59
59
|
error: Error;
|
|
60
60
|
} & import("@ngrx/store/src/models").TypedAction<"[NamedQuery] failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
61
|
-
stopEdit$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[
|
|
61
|
+
stopEdit$: import("rxjs").Observable<import("@ngrx/store/src/models").TypedAction<"[SearchMonoClass] reset search"> | import("@ngrx/store/src/models").TypedAction<"[SearchMultiClass] reset search">> & import("@ngrx/effects").CreateEffectMetadata;
|
|
62
62
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchMonoClassEffects, never>;
|
|
63
63
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchMonoClassEffects>;
|
|
64
64
|
}
|
|
@@ -21,12 +21,12 @@ export declare class SearchMultiClassEffects {
|
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
description?: string | undefined;
|
|
23
23
|
visibility?: import("@provoly/dashboard").PryVisibility | undefined;
|
|
24
|
-
payload: import("@provoly/dashboard").
|
|
24
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
25
25
|
color?: string | undefined;
|
|
26
26
|
favorite: boolean;
|
|
27
27
|
isEdit: boolean;
|
|
28
28
|
} & import("@ngrx/store/src/models").TypedAction<"[NamedQuery] post">) | ({
|
|
29
|
-
payload: import("@provoly/dashboard").
|
|
29
|
+
payload: import("@provoly/dashboard").FullTextSearchPayload | import("@provoly/dashboard").MonoClassSearchPayload | import("@provoly/dashboard").MultiClassSearchPayload;
|
|
30
30
|
id?: string | undefined;
|
|
31
31
|
} & import("@ngrx/store/src/models").TypedAction<"[Search] search">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
32
32
|
loadExistingConditions$: import("rxjs").Observable<({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
2
|
import { Store } from '@ngrx/store';
|
|
3
|
-
import {
|
|
3
|
+
import { ChartAggregatedWidgetOptions, PryI18nService, PrySnackbarService, SearchService } from '@provoly/dashboard';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { AggregationResult, PryAggregationService } from './base-aggregation.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -9,13 +9,13 @@ export declare class PryBackendAggregationService extends PryAggregationService
|
|
|
9
9
|
private snackBar;
|
|
10
10
|
private translateService;
|
|
11
11
|
private httpClient;
|
|
12
|
+
private searchService;
|
|
12
13
|
private rs;
|
|
13
14
|
private classes;
|
|
14
15
|
private fields;
|
|
15
16
|
private filters;
|
|
16
|
-
constructor(store: Store, snackBar: PrySnackbarService, translateService: PryI18nService, httpClient: HttpClient);
|
|
17
|
+
constructor(store: Store, snackBar: PrySnackbarService, translateService: PryI18nService, httpClient: HttpClient, searchService: SearchService);
|
|
17
18
|
aggregate(datasources: string[], options: ChartAggregatedWidgetOptions): Observable<AggregationResult>;
|
|
18
|
-
getValueFromAttribute(item: Item, attribute: Attribute): import("@provoly/dashboard").AttributeSimpleValue;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PryBackendAggregationService, never>;
|
|
20
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<PryBackendAggregationService>;
|
|
21
21
|
}
|