@turquoisehealth/pit-viper 2.182.1-dev.3 → 2.182.1-dev.4

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.
Files changed (18) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  5. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  6. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -1
  7. package/pv-components/dist/vue/base/pv-components-base.mjs +2 -1
  8. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  9. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  10. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +3 -1
  11. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +2 -0
  12. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +2 -0
  13. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  14. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1561 -1557
  15. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  16. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +2 -1
  17. package/pv-components/dist/web/pv-components.iife.js +1 -1
  18. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -34,6 +34,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
34
34
  groupings: string[];
35
35
  hideParentOnChildQueryMatch: boolean;
36
36
  icon: string;
37
+ hasMoreOptions: boolean;
37
38
  optionsAction: MenuAction<T> | undefined;
38
39
  optionsRenderer: Component;
39
40
  overlayTrigger: boolean;
@@ -72,6 +73,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
72
73
  groupings: string[];
73
74
  hideParentOnChildQueryMatch: boolean;
74
75
  icon: string;
76
+ hasMoreOptions: boolean;
75
77
  optionsAction: MenuAction<T> | undefined;
76
78
  optionsRenderer: Component;
77
79
  overlayTrigger: boolean;
@@ -110,6 +112,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
110
112
  groupings: string[];
111
113
  hideParentOnChildQueryMatch: boolean;
112
114
  icon: string;
115
+ hasMoreOptions: boolean;
113
116
  optionsAction: MenuAction<T> | undefined;
114
117
  optionsRenderer: Component;
115
118
  overlayTrigger: boolean;
@@ -47,6 +47,8 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
47
47
  icon?: string;
48
48
  /** Show a loading spinner inside the dropdown */
49
49
  isLoading?: boolean;
50
+ /** Whether more top-level options are available after the loaded options */
51
+ hasMoreOptions?: boolean;
50
52
  /** Text label on the trigger button */
51
53
  label?: string;
52
54
  /** Style of the footer action panel. "select-clear" shows select/clear all; "cancel-confirm" requires explicit confirmation. */
@@ -82,7 +84,7 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
82
84
  /** CSS selector for teleporting the popover dropdown */
83
85
  teleportLocation?: string;
84
86
  /** Total available top-level options (may exceed options.length when paginating).
85
- * When totalOptionCount > options.length, a "See more" button appears. */
87
+ * Used as a fallback to show "See more" when hasMoreOptions is not provided. */
86
88
  totalOptionCount?: number;
87
89
  /** Visual style of the trigger button */
88
90
  variant?: PvSelectButtonVariant;
@@ -194,6 +194,8 @@ export interface FilterValueMatchResult {
194
194
  }
195
195
  export interface FilterValuesResponse {
196
196
  values: (FilterValueResponseOption | null)[];
197
+ /** Whether additional matching values are available after this page */
198
+ hasMore?: boolean;
197
199
  /** Total count of matching values (before pagination/truncation) */
198
200
  totalCount?: number;
199
201
  }
@@ -52,6 +52,7 @@ export declare const createFilterStore: () => {
52
52
  getStagedSelectedValues: (colField: string) => (string | null)[];
53
53
  setStagedSelectedValues: (colField: string, selectedValues: (string | null)[]) => void;
54
54
  filterValueSearchTextMap: Ref<Record<string, string | null>, Record<string, string | null>>;
55
+ filterValuesHasMoreMap: Ref<Record<string, boolean | undefined>, Record<string, boolean | undefined>>;
55
56
  filterValuesTotalCountMap: Ref<Record<string, number | undefined>, Record<string, number | undefined>>;
56
57
  };
57
58
  export declare const useFilterStore: () => {
@@ -99,5 +100,6 @@ export declare const useFilterStore: () => {
99
100
  getStagedSelectedValues: (colField: string) => (string | null)[];
100
101
  setStagedSelectedValues: (colField: string, selectedValues: (string | null)[]) => void;
101
102
  filterValueSearchTextMap: Ref<Record<string, string | null>, Record<string, string | null>>;
103
+ filterValuesHasMoreMap: Ref<Record<string, boolean | undefined>, Record<string, boolean | undefined>>;
102
104
  filterValuesTotalCountMap: Ref<Record<string, number | undefined>, Record<string, number | undefined>>;
103
105
  };
@@ -32,6 +32,7 @@ export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
32
32
  filterOptionsSortDescription: ComputedRef<string | undefined>;
33
33
  filterOptionsSortTooltip: ComputedRef<string | undefined>;
34
34
  totalOptionCount: ComputedRef<number | undefined>;
35
+ hasMoreOptions: ComputedRef<boolean | undefined>;
35
36
  isAggregate: ComputedRef<boolean>;
36
37
  cascadeSelectionState: Ref<{
37
38
  id: string;