@turquoisehealth/pit-viper 2.189.1-dev.1 → 2.189.2-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.
Files changed (29) 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-menu-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  8. package/pv-components/dist/vue/base/components/base/PvMenu/types.d.ts +2 -0
  9. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  10. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  11. package/pv-components/dist/vue/base/pv-components-base.mjs +372 -353
  12. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  13. package/pv-components/dist/vue/visualizations/components/base/PvMenu/types.d.ts +2 -0
  14. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  15. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  16. package/pv-components/dist/vue/visualizations/components/charts/PvChart/constants.d.ts +1 -0
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +2 -0
  18. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterPanel.vue.d.ts +1 -0
  19. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/SetFilter.vue.d.ts +1 -0
  20. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +2 -0
  21. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +703 -643
  23. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  24. package/pv-components/dist/web/components/pv-menu/pv-menu.js +22 -16
  25. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +41 -22
  26. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +412 -410
  27. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +726 -720
  28. package/pv-components/dist/web/pv-components.iife.js +1 -1
  29. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -17,4 +17,6 @@ export interface PvMenuProps {
17
17
  /** When true, selecting a parent option toggles all its leaf children. */
18
18
  enableCascadeSelection?: boolean;
19
19
  hasMoreOptions?: boolean;
20
+ /** When true, item clicks are ignored — the list is display-only. */
21
+ readOnly?: boolean;
20
22
  }
@@ -52,6 +52,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
52
52
  disableDropdownIcon: boolean;
53
53
  disableClearIcon: boolean;
54
54
  disableSearchInput: boolean;
55
+ readOnly: boolean;
55
56
  optionsVariant: "icon" | "checkbox" | "toggle" | "simple" | "company" | "avatar" | "checkmark";
56
57
  options: MenuOption<T>[];
57
58
  menuActionsVariant: MenuActionsVariant | null;
@@ -91,6 +92,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
91
92
  disableDropdownIcon: boolean;
92
93
  disableClearIcon: boolean;
93
94
  disableSearchInput: boolean;
95
+ readOnly: boolean;
94
96
  optionsVariant: "icon" | "checkbox" | "toggle" | "simple" | "company" | "avatar" | "checkmark";
95
97
  options: MenuOption<T>[];
96
98
  menuActionsVariant: MenuActionsVariant | null;
@@ -130,6 +132,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
130
132
  disableDropdownIcon: boolean;
131
133
  disableClearIcon: boolean;
132
134
  disableSearchInput: boolean;
135
+ readOnly: boolean;
133
136
  optionsVariant: "icon" | "checkbox" | "toggle" | "simple" | "company" | "avatar" | "checkmark";
134
137
  options: MenuOption<T>[];
135
138
  menuActionsVariant: MenuActionsVariant | null;
@@ -26,6 +26,8 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
26
26
  disableSearchInput?: boolean;
27
27
  /** Prevent the button from being clicked */
28
28
  disabled?: boolean;
29
+ /** Allow the dropdown to open for viewing but prevent adding or removing selections */
30
+ readOnly?: boolean;
29
31
  /** Enable cascade (parent/child) selection. When true, clicking a parent option
30
32
  * toggles all its leaf descendants, and parent checkboxes show indeterminate state
31
33
  * when partially selected. All existing behavior is unchanged when false (default). */
@@ -1,2 +1,3 @@
1
1
  export declare const NULL_PLACEHOLDER_VALUE = 0.000123;
2
2
  export declare const NO_DATA_OVERLAY_TEXT = "No data available to chart.";
3
+ export declare const MAX_LABEL_LENGTH = 50;
@@ -99,6 +99,8 @@ export interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
99
99
  hideTable?: boolean;
100
100
  /** When true, renders the filter panel above the chart instead of to its left. */
101
101
  filterPanelAboveChart?: boolean;
102
+ /** If true, the filter panel is view-only: filters are visible but cannot be changed */
103
+ filterPanelReadOnly?: boolean;
102
104
  /** When true, the chart section starts in a collapsed state. */
103
105
  initialChartCollapsed?: boolean;
104
106
  /** Initial focus data (focuses and focus type) to apply when the component mounts. */
@@ -6,6 +6,7 @@ export interface FilterPanelProps {
6
6
  focusableColumns?: string[];
7
7
  focusText?: string;
8
8
  maxHorizontalFilters: number;
9
+ readOnly?: boolean;
9
10
  }
10
11
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
12
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
@@ -11,6 +11,7 @@ export interface SetFilterProps<T> {
11
11
  filterStyle?: "horizontal" | "vertical";
12
12
  displayPreferencesIcon?: boolean;
13
13
  focusText?: string;
14
+ readOnly?: boolean;
14
15
  }
15
16
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
16
17
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
@@ -438,6 +438,8 @@ export interface PvDataTableProps<T> {
438
438
  tableSearchStyle?: TableSearchStyle;
439
439
  /** Maximum number of filter chips to display horizontally before collapsing */
440
440
  maxHorizontalFilters?: number;
441
+ /** If true, the filter panel is view-only: filters are visible but cannot be changed */
442
+ filterPanelReadOnly?: boolean;
441
443
  /** If true, maintains the column order when columns are added or removed */
442
444
  maintainColumnOrder?: boolean;
443
445
  /**
@@ -7,6 +7,7 @@ export interface UseSetFilterOptions<T> {
7
7
  filterStyle?: Ref<"horizontal" | "vertical">;
8
8
  onSelectionChanged?: () => void;
9
9
  filterGroupStagedFields?: Ref<Set<string>>;
10
+ readOnly?: Ref<boolean>;
10
11
  }
11
12
  export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
12
13
  selectedValues: WritableComputedRef<(string | null)[], (string | null)[]>;