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

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;
@@ -2973,6 +2973,7 @@ var wi = Symbol("SelectedItemsKey"), Ti = Symbol("EnableCascadeSelectionKey"), E
2973
2973
  },
2974
2974
  icon: {},
2975
2975
  isLoading: { type: Boolean },
2976
+ hasMoreOptions: { type: Boolean },
2976
2977
  label: { default: "Select" },
2977
2978
  menuActionsVariant: { default: "select-clear" },
2978
2979
  options: { default: () => [] },
@@ -3052,7 +3053,7 @@ var wi = Symbol("SelectedItemsKey"), Ti = Symbol("EnableCascadeSelectionKey"), E
3052
3053
  state: "selected"
3053
3054
  });
3054
3055
  return t;
3055
- }, C = r(() => c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length), w = r(() => {
3056
+ }, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
3056
3057
  if (c.enableCascadeSelection && c.countSelectedParents && z.value?.length) return Si(z.value);
3057
3058
  if (!c.countSelectedParents || !c.enableCascadeSelection) return G.value.length;
3058
3059
  let e = new Set(G.value.map((e) => e.id));