@turquoisehealth/pit-viper 2.183.0 → 2.183.1-dev.1

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 (38) hide show
  1. package/claude-plugin/skills/pit-viper/SKILL.md +28 -31
  2. package/package.json +1 -1
  3. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  4. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  9. package/pv-components/dist/vue/base/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  10. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  11. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -1
  12. package/pv-components/dist/vue/base/pv-components-base.mjs +924 -871
  13. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  14. package/pv-components/dist/vue/base/types.d.ts +6 -4
  15. package/pv-components/dist/vue/visualizations/components/base/PvMenu/cascadeUtils.d.ts +2 -1
  16. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  17. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +3 -1
  18. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/helpers.d.ts +5 -1
  19. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +84 -0
  20. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +33 -17
  21. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +4 -0
  22. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +11 -8
  23. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2458 -1967
  24. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  25. package/pv-components/dist/vue/visualizations/types.d.ts +6 -4
  26. package/pv-components/dist/web/components/pv-menu/pv-menu.js +44 -35
  27. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1016 -963
  28. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +68 -59
  29. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +44 -35
  30. package/pv-components/dist/web/pv-components.iife.js +20 -20
  31. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
  32. package/claude-plugin/skills/pit-viper/references/design-language.md +0 -80
  33. package/claude-plugin/skills/pit-viper/references/design-rules.md +0 -265
  34. package/claude-plugin/skills/pit-viper/references/html-patterns.md +0 -468
  35. package/claude-plugin/skills/pit-viper/references/layout-patterns.md +0 -367
  36. package/claude-plugin/skills/pit-viper/references/patterns-core.md +0 -97
  37. package/claude-plugin/skills/pit-viper/references/theme-guide.md +0 -160
  38. package/claude-plugin/skills/pit-viper/references/vue-guidelines.md +0 -526
@@ -1,4 +1,4 @@
1
- import { MenuOption } from '../../../types';
1
+ import { MenuOption, MultiSelectState } from '../../../types';
2
2
  /** Recursively collect all leaf (childless) options from a tree. */
3
3
  export declare function collectLeafOptions<T>(options: MenuOption<T>[]): MenuOption<T>[];
4
4
  /**
@@ -21,6 +21,7 @@ export declare function mergeLeafOptions<T>(base: MenuOption<T>[], overlay: Menu
21
21
  * not depend on Map iteration order.
22
22
  */
23
23
  export declare function countWithCollapsedParents<T>(options: MenuOption<T>[], selectedIds: Set<string>): number;
24
+ export declare function countFromSelectionState(state: MultiSelectState): number;
24
25
  /**
25
26
  * Recursively filter a tree for a search value.
26
27
  *
@@ -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;