@turquoisehealth/pit-viper 2.194.6-dev.0 → 2.194.6-dev.2

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.
@@ -137,6 +137,11 @@ export interface PvFilterPanelColDefContext {
137
137
  * If true, will show a search box to filter the available filter options
138
138
  */
139
139
  filterSearch?: boolean;
140
+ /**
141
+ * If true, filter values for this column will be fetched eagerly in the background,
142
+ * even when table-level background refresh is disabled.
143
+ */
144
+ prefetchFilterValues?: boolean;
140
145
  /**
141
146
  * If true, grouped data will not be displayed until a filter is applied
142
147
  */
@@ -201,12 +201,6 @@ 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;
210
204
  /**
211
205
  * Allows for slot content to be placed above the chart
212
206
  */
@@ -54,7 +54,6 @@ export declare const createFilterStore: () => {
54
54
  filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
55
55
  refreshFiltersInBackground: Ref<boolean, boolean>;
56
56
  stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
57
- filterSearchMinLength: Ref<number | undefined, number | undefined>;
58
57
  markOtherFieldsStale: (changedFields: Set<string>) => void;
59
58
  aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
60
59
  registerAggregateField: (parent: string, children: string[]) => void;
@@ -134,7 +133,6 @@ export declare const createPvDataTableFilterStore: () => {
134
133
  filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
135
134
  refreshFiltersInBackground: Ref<boolean, boolean>;
136
135
  stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
137
- filterSearchMinLength: Ref<number | undefined, number | undefined>;
138
136
  markOtherFieldsStale: (changedFields: Set<string>) => void;
139
137
  aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
140
138
  registerAggregateField: (parent: string, children: string[]) => void;
@@ -214,7 +212,6 @@ export declare const useFilterStore: () => {
214
212
  filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
215
213
  refreshFiltersInBackground: Ref<boolean, boolean>;
216
214
  stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
217
- filterSearchMinLength: Ref<number | undefined, number | undefined>;
218
215
  markOtherFieldsStale: (changedFields: Set<string>) => void;
219
216
  aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
220
217
  registerAggregateField: (parent: string, children: string[]) => void;
@@ -293,7 +290,6 @@ export declare const usePvDataTableFilterStore: () => {
293
290
  filterStaleMap: Ref<Record<string, boolean>, Record<string, boolean>>;
294
291
  refreshFiltersInBackground: Ref<boolean, boolean>;
295
292
  stageFilterChangesUntilDropdownCloses: Ref<boolean, boolean>;
296
- filterSearchMinLength: Ref<number | undefined, number | undefined>;
297
293
  markOtherFieldsStale: (changedFields: Set<string>) => void;
298
294
  aggregateFieldMap: Ref<Record<string, string[]>, Record<string, string[]>>;
299
295
  registerAggregateField: (parent: string, children: string[]) => void;
@@ -18,8 +18,6 @@ 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>;
23
21
  rowsLoading: Ref<boolean, boolean>;
24
22
  gridApi: Ref<GridApi<T> | null, GridApi<T> | null>;
25
23
  filterField: ComputedRef<"" | ColDefField<T, any>>;