@turquoisehealth/pit-viper 2.194.8-dev.0 → 2.195.1-dev.0
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/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +2 -2
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1866 -1846
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1033 -1036
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -201,6 +201,12 @@ export interface PvDataTableProps<T> {
|
|
|
201
201
|
* Display input to search within the table
|
|
202
202
|
*/
|
|
203
203
|
enableTableSearch?: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* Minimum search string length before the filter search is executed.
|
|
206
|
+
* When set to N, queries with length in [1, N) are skipped; length 0
|
|
207
|
+
* always fetches so clearing the input restores the full list.
|
|
208
|
+
*/
|
|
209
|
+
filterSearchMinLength?: number;
|
|
204
210
|
/**
|
|
205
211
|
* Allows for slot content to be placed above the chart
|
|
206
212
|
*/
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ export declare const createFilterStore: () => {
|
|
|
37
37
|
parentId?: string;
|
|
38
38
|
useStaged?: boolean;
|
|
39
39
|
}) => Promise<(string | null)[]>;
|
|
40
|
+
invalidateFilterRequest: (colField: string) => void;
|
|
40
41
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
41
42
|
filterModelEmpty: ComputedRef<boolean>;
|
|
42
43
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -54,6 +55,7 @@ export declare const createFilterStore: () => {
|
|
|
54
55
|
filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
55
56
|
refreshFiltersInBackground: Ref<boolean, boolean>;
|
|
56
57
|
stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
|
|
58
|
+
filterSearchMinLength: Ref<number | undefined, number | undefined>;
|
|
57
59
|
markOtherFieldsStale: (changedFields: Set<string>) => void;
|
|
58
60
|
aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
59
61
|
registerAggregateField: (parent: string, children: string[]) => void;
|
|
@@ -116,6 +118,7 @@ export declare const createPvDataTableFilterStore: () => {
|
|
|
116
118
|
parentId?: string;
|
|
117
119
|
useStaged?: boolean;
|
|
118
120
|
}) => Promise<(string | null)[]>;
|
|
121
|
+
invalidateFilterRequest: (colField: string) => void;
|
|
119
122
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
120
123
|
filterModelEmpty: ComputedRef<boolean>;
|
|
121
124
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -133,6 +136,7 @@ export declare const createPvDataTableFilterStore: () => {
|
|
|
133
136
|
filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
134
137
|
refreshFiltersInBackground: Ref<boolean, boolean>;
|
|
135
138
|
stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
|
|
139
|
+
filterSearchMinLength: Ref<number | undefined, number | undefined>;
|
|
136
140
|
markOtherFieldsStale: (changedFields: Set<string>) => void;
|
|
137
141
|
aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
138
142
|
registerAggregateField: (parent: string, children: string[]) => void;
|
|
@@ -195,6 +199,7 @@ export declare const useFilterStore: () => {
|
|
|
195
199
|
parentId?: string;
|
|
196
200
|
useStaged?: boolean;
|
|
197
201
|
}) => Promise<(string | null)[]>;
|
|
202
|
+
invalidateFilterRequest: (colField: string) => void;
|
|
198
203
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
199
204
|
filterModelEmpty: ComputedRef<boolean>;
|
|
200
205
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -212,6 +217,7 @@ export declare const useFilterStore: () => {
|
|
|
212
217
|
filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
213
218
|
refreshFiltersInBackground: Ref<boolean, boolean>;
|
|
214
219
|
stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
|
|
220
|
+
filterSearchMinLength: Ref<number | undefined, number | undefined>;
|
|
215
221
|
markOtherFieldsStale: (changedFields: Set<string>) => void;
|
|
216
222
|
aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
217
223
|
registerAggregateField: (parent: string, children: string[]) => void;
|
|
@@ -273,6 +279,7 @@ export declare const usePvDataTableFilterStore: () => {
|
|
|
273
279
|
parentId?: string;
|
|
274
280
|
useStaged?: boolean;
|
|
275
281
|
}) => Promise<(string | null)[]>;
|
|
282
|
+
invalidateFilterRequest: (colField: string) => void;
|
|
276
283
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
277
284
|
filterModelEmpty: ComputedRef<boolean>;
|
|
278
285
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -290,6 +297,7 @@ export declare const usePvDataTableFilterStore: () => {
|
|
|
290
297
|
filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
|
|
291
298
|
refreshFiltersInBackground: Ref<boolean, boolean>;
|
|
292
299
|
stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
|
|
300
|
+
filterSearchMinLength: Ref<number | undefined, number | undefined>;
|
|
293
301
|
markOtherFieldsStale: (changedFields: Set<string>) => void;
|
|
294
302
|
aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
|
|
295
303
|
registerAggregateField: (parent: string, children: string[]) => void;
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
|
|
|
18
18
|
isLoading: ComputedRef<boolean>;
|
|
19
19
|
isSeeMoreLoading: Ref<boolean, boolean>;
|
|
20
20
|
filterSearchText: WritableComputedRef<string, string>;
|
|
21
|
+
filterSearchMinLength: Ref<number | undefined, number | undefined>;
|
|
22
|
+
belowFilterSearchMinLength: ComputedRef<boolean>;
|
|
21
23
|
rowsLoading: Ref<boolean, boolean>;
|
|
22
24
|
gridApi: Ref<GridApi<T> | null, GridApi<T> | null>;
|
|
23
25
|
filterField: ComputedRef<"" | ColDefField<T, any>>;
|