@provoly/dashboard 1.4.32 → 1.4.33
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 +6 -3
- package/esm2022/lib/core/model/filter.interface.mjs +1 -1
- package/esm2022/lib/core/store/search/search.actions.mjs +1 -1
- package/esm2022/lib/core/store/search/search.effects.mjs +2 -2
- package/esm2022/lib/core/store/search/search.service.mjs +32 -25
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs +5 -2
- package/fesm2022/provoly-dashboard-filters-autocomplete.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +32 -25
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/filter.interface.d.ts +1 -0
- package/lib/core/store/search/search.actions.d.ts +3 -0
- package/lib/core/store/search/search.service.d.ts +2 -1
- package/package.json +13 -13
|
@@ -2,6 +2,7 @@ import { ResultSet } from '../../model/result-set.interface';
|
|
|
2
2
|
import { MonoClassSearchPayload } from '../../model/search-mono-class.model';
|
|
3
3
|
import { FullTextSearchPayload, MultiClassSearchPayload } from '../../model/search-multi-class.model';
|
|
4
4
|
import { LinkedItemsOptions } from '../../model/manifest.interface';
|
|
5
|
+
import { FilterContext } from '../../model/filter.interface';
|
|
5
6
|
export declare const SearchActions: {
|
|
6
7
|
search: import("@ngrx/store").ActionCreator<"[Search] search", (props: {
|
|
7
8
|
payload: MonoClassSearchPayload | MultiClassSearchPayload | FullTextSearchPayload;
|
|
@@ -58,6 +59,7 @@ export declare const SearchActions: {
|
|
|
58
59
|
}[];
|
|
59
60
|
limit: number;
|
|
60
61
|
force?: boolean;
|
|
62
|
+
valuesFilters?: FilterContext[];
|
|
61
63
|
}) => {
|
|
62
64
|
filterId: string;
|
|
63
65
|
attributes: {
|
|
@@ -66,6 +68,7 @@ export declare const SearchActions: {
|
|
|
66
68
|
}[];
|
|
67
69
|
limit: number;
|
|
68
70
|
force?: boolean;
|
|
71
|
+
valuesFilters?: FilterContext[];
|
|
69
72
|
} & import("@ngrx/store").Action<"[Dashboard] (bus) get possible filter values">>;
|
|
70
73
|
setPossibleFilterValues: import("@ngrx/store").ActionCreator<"[Dashboard] (bus) set possible filter values", (props: {
|
|
71
74
|
filterId: string;
|
|
@@ -29,6 +29,7 @@ export declare class SearchService {
|
|
|
29
29
|
[id: string]: ResultOrder | undefined;
|
|
30
30
|
} | undefined, excludeGeo: boolean, linkedItems?: LinkedItemsOptions): string;
|
|
31
31
|
getItemsFilter(id: string, cumulative?: HttpParams): HttpParams;
|
|
32
|
+
private appendItemFilter;
|
|
32
33
|
getOrder(quickOrder: ResultOrder | undefined): HttpParams;
|
|
33
34
|
/**
|
|
34
35
|
* Launch a search request (and saves it as current search)
|
|
@@ -49,7 +50,7 @@ export declare class SearchService {
|
|
|
49
50
|
autocomplete(attributes: {
|
|
50
51
|
id: string;
|
|
51
52
|
datasource: string;
|
|
52
|
-
}[] | undefined, search?: string, limit?: number): Observable<string[]>;
|
|
53
|
+
}[] | undefined, search?: string, filters?: FilterContext[], limit?: number): Observable<string[]>;
|
|
53
54
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchService, never>;
|
|
54
55
|
static ɵprov: i0.ɵɵInjectableDeclaration<SearchService>;
|
|
55
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/dashboard",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.33",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/cdk": "17.x || 18.x",
|
|
@@ -198,36 +198,36 @@
|
|
|
198
198
|
"esm": "./esm2022/components/scheme-picker/provoly-dashboard-components-scheme-picker.mjs",
|
|
199
199
|
"default": "./fesm2022/provoly-dashboard-components-scheme-picker.mjs"
|
|
200
200
|
},
|
|
201
|
-
"./components/text-editor": {
|
|
202
|
-
"types": "./components/text-editor/index.d.ts",
|
|
203
|
-
"esm2022": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
204
|
-
"esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
205
|
-
"default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
|
|
206
|
-
},
|
|
207
201
|
"./components/stepper": {
|
|
208
202
|
"types": "./components/stepper/index.d.ts",
|
|
209
203
|
"esm2022": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
210
204
|
"esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
|
|
211
205
|
"default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
|
|
212
206
|
},
|
|
207
|
+
"./components/text-editor": {
|
|
208
|
+
"types": "./components/text-editor/index.d.ts",
|
|
209
|
+
"esm2022": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
210
|
+
"esm": "./esm2022/components/text-editor/provoly-dashboard-components-text-editor.mjs",
|
|
211
|
+
"default": "./fesm2022/provoly-dashboard-components-text-editor.mjs"
|
|
212
|
+
},
|
|
213
213
|
"./filters/autocomplete": {
|
|
214
214
|
"types": "./filters/autocomplete/index.d.ts",
|
|
215
215
|
"esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
216
216
|
"esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
|
|
217
217
|
"default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
|
|
218
218
|
},
|
|
219
|
-
"./filters/list": {
|
|
220
|
-
"types": "./filters/list/index.d.ts",
|
|
221
|
-
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
222
|
-
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
223
|
-
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
224
|
-
},
|
|
225
219
|
"./filters/date": {
|
|
226
220
|
"types": "./filters/date/index.d.ts",
|
|
227
221
|
"esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
228
222
|
"esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
|
|
229
223
|
"default": "./fesm2022/provoly-dashboard-filters-date.mjs"
|
|
230
224
|
},
|
|
225
|
+
"./filters/list": {
|
|
226
|
+
"types": "./filters/list/index.d.ts",
|
|
227
|
+
"esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
228
|
+
"esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
|
|
229
|
+
"default": "./fesm2022/provoly-dashboard-filters-list.mjs"
|
|
230
|
+
},
|
|
231
231
|
"./filters/number": {
|
|
232
232
|
"types": "./filters/number/index.d.ts",
|
|
233
233
|
"esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
|