@provoly/dashboard 0.21.5 → 0.21.6
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/model/search-mono-class.model.mjs +1 -1
- package/esm2022/lib/core/model/search-multi-class.model.mjs +1 -1
- package/esm2022/lib/core/store/aggregation/backend-aggregation.service.mjs +2 -2
- package/esm2022/lib/core/store/config/config.actions.mjs +4 -2
- package/esm2022/lib/core/store/config/config.reducer.mjs +6 -2
- package/esm2022/lib/core/store/config/config.selectors.mjs +5 -2
- package/esm2022/lib/core/store/image/image.service.mjs +3 -3
- package/esm2022/lib/core/store/search/search.service.mjs +14 -4
- package/esm2022/lib/core/symbol/symbol.service.mjs +7 -10
- package/esm2022/presentation/components/presentation.component.mjs +4 -4
- package/esm2022/restitution/components/restitution-catalog/restitution-catalog.component.mjs +3 -4
- package/fesm2022/provoly-dashboard-presentation.mjs +3 -3
- package/fesm2022/provoly-dashboard-presentation.mjs.map +1 -1
- package/fesm2022/provoly-dashboard-restitution.mjs +2 -3
- package/fesm2022/provoly-dashboard-restitution.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +34 -19
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/search-mono-class.model.d.ts +1 -0
- package/lib/core/model/search-multi-class.model.d.ts +2 -0
- package/lib/core/store/config/config.actions.d.ts +10 -0
- package/lib/core/store/config/config.reducer.d.ts +3 -0
- package/lib/core/store/config/config.selectors.d.ts +5 -0
- package/lib/core/store/image/image.service.d.ts +1 -1
- package/lib/core/store/search/search.service.d.ts +4 -1
- package/package.json +7 -7
|
@@ -24,6 +24,7 @@ export interface MultiSearchPayload {
|
|
|
24
24
|
export interface MultiClassSearchPayload extends MultiSearchPayload {
|
|
25
25
|
fullSearch: null;
|
|
26
26
|
fields: MultiClassField[];
|
|
27
|
+
limit?: number;
|
|
27
28
|
}
|
|
28
29
|
export interface MultiClassField {
|
|
29
30
|
field: string;
|
|
@@ -35,4 +36,5 @@ export interface FullTextSearchPayload extends MultiSearchPayload {
|
|
|
35
36
|
fullSearch: {
|
|
36
37
|
value: string;
|
|
37
38
|
};
|
|
39
|
+
limit?: number;
|
|
38
40
|
}
|
|
@@ -4,6 +4,7 @@ import { Widget } from '../../model/widget.interface';
|
|
|
4
4
|
import { IconDefinitions } from './icon-definitions.interface';
|
|
5
5
|
import { Versions } from './versions.interface';
|
|
6
6
|
import { Group } from '../../components/share/share.model';
|
|
7
|
+
export declare const DEFAULT_SEARCH_LIMIT_NUMBER = 200;
|
|
7
8
|
export declare const ConfigActions: {
|
|
8
9
|
defineUrls: import("@ngrx/store").ActionCreator<"[Config] (bus) defining urls", (props: {
|
|
9
10
|
mapUrl?: string | undefined;
|
|
@@ -205,4 +206,13 @@ export declare const ConfigActions: {
|
|
|
205
206
|
}) => {
|
|
206
207
|
groups: Group[];
|
|
207
208
|
} & import("@ngrx/store/src/models").TypedAction<"[Config] load access groups Success">>;
|
|
209
|
+
defineLimits: import("@ngrx/store").ActionCreator<"[Config] defining limits", (props: {
|
|
210
|
+
limits: {
|
|
211
|
+
[key: string]: number;
|
|
212
|
+
};
|
|
213
|
+
}) => {
|
|
214
|
+
limits: {
|
|
215
|
+
[key: string]: number;
|
|
216
|
+
};
|
|
217
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Config] defining limits">>;
|
|
208
218
|
};
|
|
@@ -36,6 +36,9 @@ export interface ConfigState {
|
|
|
36
36
|
maxAttributesInTiles: number;
|
|
37
37
|
versions: Versions | null;
|
|
38
38
|
accessGroups: Group[];
|
|
39
|
+
limits: {
|
|
40
|
+
[key: string]: number;
|
|
41
|
+
};
|
|
39
42
|
}
|
|
40
43
|
export declare const initialConfigState: ConfigState;
|
|
41
44
|
export declare const configReducer: import("@ngrx/store").ActionReducer<ConfigState, import("@ngrx/store").Action>;
|
|
@@ -49,4 +49,9 @@ export declare const ConfigSelectors: {
|
|
|
49
49
|
execUrl: import("@ngrx/store").MemoizedSelector<object, string, (s1: string) => string>;
|
|
50
50
|
selectVersions: import("@ngrx/store").MemoizedSelector<object, import("./versions.interface").Versions | null, (s1: fromConfig.ConfigState) => import("./versions.interface").Versions | null>;
|
|
51
51
|
accessGroups: import("@ngrx/store").MemoizedSelector<object, import("@provoly/dashboard").Group[], (s1: fromConfig.ConfigState) => import("@provoly/dashboard").Group[]>;
|
|
52
|
+
limits: import("@ngrx/store").MemoizedSelector<object, {
|
|
53
|
+
[key: string]: number;
|
|
54
|
+
}, (s1: fromConfig.ConfigState) => {
|
|
55
|
+
[key: string]: number;
|
|
56
|
+
}>;
|
|
52
57
|
};
|
|
@@ -19,7 +19,7 @@ export declare class ImageService {
|
|
|
19
19
|
private translateService;
|
|
20
20
|
constructor(httpClient: HttpClient, store: Store<any>, domSanitizer: DomSanitizer, snackbar: PrySnackbarService, translateService: PryI18nService);
|
|
21
21
|
getImages(): Observable<Image[]>;
|
|
22
|
-
getImage(path: string): Observable<{
|
|
22
|
+
getImage(path: string, externalUrl?: boolean): Observable<{
|
|
23
23
|
type: string;
|
|
24
24
|
url: SafeUrl;
|
|
25
25
|
}>;
|
|
@@ -17,12 +17,15 @@ export declare class SearchService {
|
|
|
17
17
|
filters: {
|
|
18
18
|
[datasource: string]: FilterContext[];
|
|
19
19
|
};
|
|
20
|
+
limits: {
|
|
21
|
+
[p: string]: number;
|
|
22
|
+
};
|
|
20
23
|
constructor(httpClient: HttpClient, store: Store<ConfigState | SearchState>);
|
|
21
24
|
getItems(id: string, quickOrder?: ResultOrder, excludeGeo?: boolean): Observable<ResultSet>;
|
|
22
25
|
getItemsSerializedParams(id: string, quickOrder?: {
|
|
23
26
|
[id: string]: ResultOrder | undefined;
|
|
24
27
|
}): string;
|
|
25
|
-
getItemsFilter(id: string, cumulative?: HttpParams): HttpParams;
|
|
28
|
+
getItemsFilter(id: string, cumulative?: HttpParams, includeLimit?: boolean): HttpParams;
|
|
26
29
|
getOrder(quickOrder: ResultOrder | undefined, cumulative?: HttpParams): HttpParams;
|
|
27
30
|
/**
|
|
28
31
|
* Launch a search request (and saves it as current search)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.6",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "14.x || 15.x || 16.x",
|
|
@@ -96,18 +96,18 @@
|
|
|
96
96
|
"esm": "./esm2022/import/provoly-dashboard-import.mjs",
|
|
97
97
|
"default": "./fesm2022/provoly-dashboard-import.mjs"
|
|
98
98
|
},
|
|
99
|
-
"./pipeline": {
|
|
100
|
-
"types": "./pipeline/index.d.ts",
|
|
101
|
-
"esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
102
|
-
"esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
103
|
-
"default": "./fesm2022/provoly-dashboard-pipeline.mjs"
|
|
104
|
-
},
|
|
105
99
|
"./notification": {
|
|
106
100
|
"types": "./notification/index.d.ts",
|
|
107
101
|
"esm2022": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
108
102
|
"esm": "./esm2022/notification/provoly-dashboard-notification.mjs",
|
|
109
103
|
"default": "./fesm2022/provoly-dashboard-notification.mjs"
|
|
110
104
|
},
|
|
105
|
+
"./pipeline": {
|
|
106
|
+
"types": "./pipeline/index.d.ts",
|
|
107
|
+
"esm2022": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
108
|
+
"esm": "./esm2022/pipeline/provoly-dashboard-pipeline.mjs",
|
|
109
|
+
"default": "./fesm2022/provoly-dashboard-pipeline.mjs"
|
|
110
|
+
},
|
|
111
111
|
"./presentation": {
|
|
112
112
|
"types": "./presentation/index.d.ts",
|
|
113
113
|
"esm2022": "./esm2022/presentation/provoly-dashboard-presentation.mjs",
|