@provoly/dashboard 0.11.1 → 0.11.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/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/store/search/search.service.mjs +13 -15
- package/esm2022/lib/dashboard/store/manifest.service.mjs +5 -3
- package/esm2022/presentation/components/add-edit-presentation/add-edit-presentation.component.mjs +7 -2
- package/esm2022/widgets/widget-aggregated-chart/service/backend-aggregation.service.mjs +7 -16
- package/fesm2022/provoly-dashboard-presentation.mjs +7 -2
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs +5 -14
- package/fesm2022/provoly-dashboard-widgets-widget-aggregated-chart.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +30 -27
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/store/search/search.service.d.ts +6 -6
- package/package.json +1 -1
- 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';
|
|
@@ -24,11 +24,11 @@ export declare class SearchService {
|
|
|
24
24
|
* @param quickOrder if it has to be applied
|
|
25
25
|
*/
|
|
26
26
|
getItems(id: string, quickOrder?: ResultOrder): Observable<ResultSet>;
|
|
27
|
-
getItemsSerializedParams(id: string, quickOrder
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
27
|
+
getItemsSerializedParams(id: string, quickOrder?: {
|
|
28
|
+
[id: string]: ResultOrder | undefined;
|
|
29
|
+
}): string;
|
|
30
|
+
getItemsFilter(id: string, cumulative?: HttpParams): HttpParams;
|
|
31
|
+
getOrder(quickOrder: ResultOrder | undefined, cumulative?: HttpParams): HttpParams;
|
|
32
32
|
/**
|
|
33
33
|
* Launch a search request (and saves it as current search)
|
|
34
34
|
* @param condition
|
package/package.json
CHANGED
|
@@ -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
|
}
|