@turquoisehealth/pit-viper 2.270.0 → 2.270.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.
- package/_site/manifest.json +1 -1
- 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-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +931 -897
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +5 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1719 -1685
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +566 -532
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -400,6 +400,8 @@ export interface PvFilterStore {
|
|
|
400
400
|
filterModel: Ref<PvFilterPanelFilterModel>;
|
|
401
401
|
filterModelType: Ref<PvFilterPanelFilterModelType | undefined>;
|
|
402
402
|
filterOptionsHandler: Ref<PvFilterPanelOptionsHandler | undefined>;
|
|
403
|
+
/** Whether fetches reach a real options source, not only a cache. Defaults to whether a handler is set. */
|
|
404
|
+
hasFilterOptionsSource?: Readonly<Ref<boolean>>;
|
|
403
405
|
filterOptionsMap: Ref<Record<string, (PvFilterPanelOption | null)[]>>;
|
|
404
406
|
filterRequestIdMap: Ref<Record<string, number | undefined>>;
|
|
405
407
|
filterSearchQueries: Ref<Record<string, string | null | undefined>>;
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdvancedFilterModel, FilterModel } from 'ag-grid-enterprise';
|
|
2
2
|
import { ColDef, GridApi, RefreshServerSideParams } from 'ag-grid-community';
|
|
3
|
-
import { Ref,
|
|
3
|
+
import { Ref, ComputedRef, ShallowRef } from 'vue';
|
|
4
4
|
import { FilterValueMatchResult, FilterValueResponseOption, FilterValuesResponse, FilterValuesSetHandlerParams, TableSearchHandlerParams } from './types';
|
|
5
5
|
import { QueryTerm } from '../../base/PvQueryBuilderInput/useQueryBuilder';
|
|
6
6
|
import { PvFilterPanelFilterModel, PvFilterStoreFetchOptionsParams, PvFilterPanelFilterModelType, PvFilterPanelOptionsHandler, PvFilterPanelOption } from '../../base/PvFilterPanel/types';
|
|
@@ -21,6 +21,7 @@ export interface PvDataTableFilterController {
|
|
|
21
21
|
}
|
|
22
22
|
export declare const createFilterStore: () => {
|
|
23
23
|
fetchFilterOptions: (params: Parameters<(params: PvFilterStoreFetchOptionsParams) => Promise<(string | null)[]>>[0]) => Promise<(string | null)[]>;
|
|
24
|
+
hasFilterOptionsSource: ComputedRef<boolean>;
|
|
24
25
|
filterController: ShallowRef<PvDataTableFilterController | null, PvDataTableFilterController | null>;
|
|
25
26
|
filterModel: Ref<PvFilterPanelFilterModel, PvFilterPanelFilterModel>;
|
|
26
27
|
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
@@ -108,6 +109,7 @@ export declare const createFilterStore: () => {
|
|
|
108
109
|
export type PvDataTableFilterStore = ReturnType<typeof createFilterStore>;
|
|
109
110
|
export declare const createPvDataTableFilterStore: () => {
|
|
110
111
|
fetchFilterOptions: (params: Parameters<(params: PvFilterStoreFetchOptionsParams) => Promise<(string | null)[]>>[0]) => Promise<(string | null)[]>;
|
|
112
|
+
hasFilterOptionsSource: ComputedRef<boolean>;
|
|
111
113
|
filterController: ShallowRef<PvDataTableFilterController | null, PvDataTableFilterController | null>;
|
|
112
114
|
filterModel: Ref<PvFilterPanelFilterModel, PvFilterPanelFilterModel>;
|
|
113
115
|
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
@@ -195,6 +197,7 @@ export declare const createPvDataTableFilterStore: () => {
|
|
|
195
197
|
export declare const providePvDataTableFilterStore: (filterStore: PvDataTableFilterStore) => void;
|
|
196
198
|
export declare const useFilterStore: () => {
|
|
197
199
|
fetchFilterOptions: (params: Parameters<(params: PvFilterStoreFetchOptionsParams) => Promise<(string | null)[]>>[0]) => Promise<(string | null)[]>;
|
|
200
|
+
hasFilterOptionsSource: ComputedRef<boolean>;
|
|
198
201
|
filterController: ShallowRef<PvDataTableFilterController | null, PvDataTableFilterController | null>;
|
|
199
202
|
filterModel: Ref<PvFilterPanelFilterModel, PvFilterPanelFilterModel>;
|
|
200
203
|
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
@@ -281,6 +284,7 @@ export declare const useFilterStore: () => {
|
|
|
281
284
|
};
|
|
282
285
|
export declare const usePvDataTableFilterStore: () => {
|
|
283
286
|
fetchFilterOptions: (params: Parameters<(params: PvFilterStoreFetchOptionsParams) => Promise<(string | null)[]>>[0]) => Promise<(string | null)[]>;
|
|
287
|
+
hasFilterOptionsSource: ComputedRef<boolean>;
|
|
284
288
|
filterController: ShallowRef<PvDataTableFilterController | null, PvDataTableFilterController | null>;
|
|
285
289
|
filterModel: Ref<PvFilterPanelFilterModel, PvFilterPanelFilterModel>;
|
|
286
290
|
filterLastUpdatedMap: Ref<Record<string, number>, Record<string, number>>;
|
|
@@ -10742,6 +10742,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10742
10742
|
}), {
|
|
10743
10743
|
...e,
|
|
10744
10744
|
fetchFilterOptions: T,
|
|
10745
|
+
hasFilterOptionsSource: g,
|
|
10745
10746
|
filterController: t,
|
|
10746
10747
|
filterModel: n,
|
|
10747
10748
|
filterLastUpdatedMap: o,
|