@provoly/dashboard 0.24.2 → 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.
@@ -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
- inhibateInitCall$: Subject<void>;
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;
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/dashboard",
3
- "version": "0.24.2",
3
+ "version": "0.24.3",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "16.x || 17.x",
@@ -132,36 +132,6 @@
132
132
  "esm": "./esm2022/toolbox/provoly-dashboard-toolbox.mjs",
133
133
  "default": "./fesm2022/provoly-dashboard-toolbox.mjs"
134
134
  },
135
- "./filters/autocomplete": {
136
- "types": "./filters/autocomplete/index.d.ts",
137
- "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
138
- "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
139
- "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
140
- },
141
- "./filters/date": {
142
- "types": "./filters/date/index.d.ts",
143
- "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
144
- "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
145
- "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
146
- },
147
- "./filters/list": {
148
- "types": "./filters/list/index.d.ts",
149
- "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
150
- "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
151
- "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
152
- },
153
- "./filters/number": {
154
- "types": "./filters/number/index.d.ts",
155
- "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
156
- "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
157
- "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
158
- },
159
- "./filters/text": {
160
- "types": "./filters/text/index.d.ts",
161
- "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
162
- "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
163
- "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
164
- },
165
135
  "./components/card": {
166
136
  "types": "./components/card/index.d.ts",
167
137
  "esm2022": "./esm2022/components/card/provoly-dashboard-components-card.mjs",
@@ -216,6 +186,36 @@
216
186
  "esm": "./esm2022/components/stepper/provoly-dashboard-components-stepper.mjs",
217
187
  "default": "./fesm2022/provoly-dashboard-components-stepper.mjs"
218
188
  },
189
+ "./filters/autocomplete": {
190
+ "types": "./filters/autocomplete/index.d.ts",
191
+ "esm2022": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
192
+ "esm": "./esm2022/filters/autocomplete/provoly-dashboard-filters-autocomplete.mjs",
193
+ "default": "./fesm2022/provoly-dashboard-filters-autocomplete.mjs"
194
+ },
195
+ "./filters/date": {
196
+ "types": "./filters/date/index.d.ts",
197
+ "esm2022": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
198
+ "esm": "./esm2022/filters/date/provoly-dashboard-filters-date.mjs",
199
+ "default": "./fesm2022/provoly-dashboard-filters-date.mjs"
200
+ },
201
+ "./filters/list": {
202
+ "types": "./filters/list/index.d.ts",
203
+ "esm2022": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
204
+ "esm": "./esm2022/filters/list/provoly-dashboard-filters-list.mjs",
205
+ "default": "./fesm2022/provoly-dashboard-filters-list.mjs"
206
+ },
207
+ "./filters/number": {
208
+ "types": "./filters/number/index.d.ts",
209
+ "esm2022": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
210
+ "esm": "./esm2022/filters/number/provoly-dashboard-filters-number.mjs",
211
+ "default": "./fesm2022/provoly-dashboard-filters-number.mjs"
212
+ },
213
+ "./filters/text": {
214
+ "types": "./filters/text/index.d.ts",
215
+ "esm2022": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
216
+ "esm": "./esm2022/filters/text/provoly-dashboard-filters-text.mjs",
217
+ "default": "./fesm2022/provoly-dashboard-filters-text.mjs"
218
+ },
219
219
  "./pipeline-components/filter": {
220
220
  "types": "./pipeline-components/filter/index.d.ts",
221
221
  "esm2022": "./esm2022/pipeline-components/filter/provoly-dashboard-pipeline-components-filter.mjs",