@turquoisehealth/pit-viper 2.194.2 → 2.194.3-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/visualizations/stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +16 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +819 -785
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
|
@@ -192,6 +192,11 @@ export interface FilterValuesSetHandlerParams<T> {
|
|
|
192
192
|
limit?: number;
|
|
193
193
|
/** When loading more children of a specific cascade parent */
|
|
194
194
|
parentId?: string;
|
|
195
|
+
/**
|
|
196
|
+
* When true, only resolve labels for `selectedValues` — skip the full enumeration.
|
|
197
|
+
* Handlers should issue a bounded lookup (e.g. WHERE id IN (selectedValues)).
|
|
198
|
+
*/
|
|
199
|
+
selectedValuesOnly?: boolean;
|
|
195
200
|
}
|
|
196
201
|
export interface TableSearchHandlerParams<T> {
|
|
197
202
|
api?: GridApi<T>;
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts
CHANGED
|
@@ -31,6 +31,10 @@ export declare const createFilterStore: () => {
|
|
|
31
31
|
parentId?: string;
|
|
32
32
|
useStaged?: boolean;
|
|
33
33
|
}) => Promise<(string | null)[]>;
|
|
34
|
+
fetchSelectedValueMetadata: (colDef: ColDef, selectedValues: (string | null)[], options?: {
|
|
35
|
+
api?: GridApi;
|
|
36
|
+
filterModel?: FilterModel | AdvancedFilterModel;
|
|
37
|
+
}) => Promise<void>;
|
|
34
38
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
35
39
|
filterModelEmpty: ComputedRef<boolean>;
|
|
36
40
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -87,6 +91,10 @@ export declare const createPvDataTableFilterStore: () => {
|
|
|
87
91
|
parentId?: string;
|
|
88
92
|
useStaged?: boolean;
|
|
89
93
|
}) => Promise<(string | null)[]>;
|
|
94
|
+
fetchSelectedValueMetadata: (colDef: ColDef, selectedValues: (string | null)[], options?: {
|
|
95
|
+
api?: GridApi;
|
|
96
|
+
filterModel?: FilterModel | AdvancedFilterModel;
|
|
97
|
+
}) => Promise<void>;
|
|
90
98
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
91
99
|
filterModelEmpty: ComputedRef<boolean>;
|
|
92
100
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -143,6 +151,10 @@ export declare const useFilterStore: () => {
|
|
|
143
151
|
parentId?: string;
|
|
144
152
|
useStaged?: boolean;
|
|
145
153
|
}) => Promise<(string | null)[]>;
|
|
154
|
+
fetchSelectedValueMetadata: (colDef: ColDef, selectedValues: (string | null)[], options?: {
|
|
155
|
+
api?: GridApi;
|
|
156
|
+
filterModel?: FilterModel | AdvancedFilterModel;
|
|
157
|
+
}) => Promise<void>;
|
|
146
158
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
147
159
|
filterModelEmpty: ComputedRef<boolean>;
|
|
148
160
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|
|
@@ -198,6 +210,10 @@ export declare const usePvDataTableFilterStore: () => {
|
|
|
198
210
|
parentId?: string;
|
|
199
211
|
useStaged?: boolean;
|
|
200
212
|
}) => Promise<(string | null)[]>;
|
|
213
|
+
fetchSelectedValueMetadata: (colDef: ColDef, selectedValues: (string | null)[], options?: {
|
|
214
|
+
api?: GridApi;
|
|
215
|
+
filterModel?: FilterModel | AdvancedFilterModel;
|
|
216
|
+
}) => Promise<void>;
|
|
201
217
|
filterValueContext: (colField: string, value: string | null) => FilterValueResponseOption | null | undefined;
|
|
202
218
|
filterModelEmpty: ComputedRef<boolean>;
|
|
203
219
|
getFilterSelectedValues: (colField: string) => (string | null)[];
|