@turquoisehealth/pit-viper 2.240.2 → 2.240.3-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 (36) 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-dropdown-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  12. package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
  13. package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
  14. package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
  15. package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
  16. package/pv-components/dist/vue/base/pv-components-base.mjs +11 -8
  17. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  18. package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
  19. package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
  20. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +7 -0
  21. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +6 -0
  22. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +7 -4
  23. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
  24. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +7 -4
  25. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +550 -523
  26. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  27. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +12 -8
  28. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +11 -7
  29. package/pv-components/dist/web/components/pv-menu/pv-menu.js +11 -7
  30. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +11 -7
  31. package/pv-components/dist/web/components/pv-popover/pv-popover.js +11 -7
  32. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +11 -7
  33. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +16 -9
  34. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +11 -7
  35. package/pv-components/dist/web/pv-components.iife.js +2 -2
  36. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -49,9 +49,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
49
49
  readonly cssCustomListProperties?: CSSProperties | undefined;
50
50
  readonly cssCustomProperties?: CSSProperties | undefined;
51
51
  readonly isList?: boolean | undefined;
52
+ readonly isSortable?: boolean | undefined;
53
+ readonly listClass?: string | undefined;
52
54
  readonly listId?: string | undefined;
53
55
  readonly listRole?: string | undefined;
54
- readonly isSortable?: boolean | undefined;
55
56
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
56
57
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
57
58
  $attrs: Attrs;
@@ -79,9 +80,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
79
80
  cssCustomProperties: CSSProperties;
80
81
  alignment: "top" | "right" | "top right";
81
82
  isList: boolean;
83
+ isSortable: boolean;
84
+ listClass: string;
82
85
  listId: string;
83
86
  listRole: string;
84
- isSortable: boolean;
85
87
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
86
88
  beforeCreate?: (() => void) | (() => void)[];
87
89
  created?: (() => void) | (() => void)[];
@@ -106,12 +108,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
106
108
  cssCustomProperties: CSSProperties;
107
109
  alignment: "top" | "right" | "top right";
108
110
  isList: boolean;
111
+ isSortable: boolean;
112
+ listClass: string;
109
113
  listId: string;
110
114
  listRole: string;
111
- isSortable: boolean;
112
115
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
113
116
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
114
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
117
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable" | "listClass" | "listId" | "listRole")> & {
115
118
  popoverRoot: HTMLElement | null;
116
119
  } & {} & ComponentCustomProperties & {} & {
117
120
  $slots: {
@@ -8,12 +8,14 @@ export interface PvPopoverProps {
8
8
  cssCustomProperties?: CSSProperties;
9
9
  /** When true, renders the content inside a `<ul>` list element. */
10
10
  isList?: boolean;
11
+ /** When true and isList is true, enables drag-and-drop reordering of list items. */
12
+ isSortable?: boolean;
13
+ /** Classes applied to the inner list element (when isList is true). */
14
+ listClass?: string;
11
15
  /** id applied to the inner list element, so a trigger can reference it via aria-controls. */
12
16
  listId?: string;
13
17
  /** ARIA role for the inner list element. Defaults to `list`. */
14
18
  listRole?: string;
15
- /** When true and isList is true, enables drag-and-drop reordering of list items. */
16
- isSortable?: boolean;
17
19
  }
18
20
  declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps, {
19
21
  popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
@@ -25,9 +27,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvPopoverProps,
25
27
  cssCustomProperties: CSSProperties;
26
28
  alignment: "top" | "right" | "top right";
27
29
  isList: boolean;
30
+ isSortable: boolean;
31
+ listClass: string;
28
32
  listId: string;
29
33
  listRole: string;
30
- isSortable: boolean;
31
34
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
32
35
  popoverRoot: HTMLDivElement;
33
36
  popoverList: HTMLUListElement;
@@ -13,6 +13,12 @@ export type PvSortableMenuListProps = {
13
13
  * Whether to render placeholder drop zones for unfilled active slots.
14
14
  */
15
15
  showPlaceholders?: boolean;
16
+ /**
17
+ * Options that cannot be removed or reordered: they render with a lock icon, stay pinned
18
+ * at the top of the active list, and every mutation (click, drag, placeholder drop)
19
+ * re-asserts them. Ids must refer to options that are already active.
20
+ */
21
+ lockedOptionIds?: string[];
16
22
  };
17
23
  type __VLS_Props = PvSortableMenuListProps;
18
24
  type __VLS_PublicProps = {
@@ -26,6 +32,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
26
32
  options: MenuOption[];
27
33
  placeholderText: string;
28
34
  showPlaceholders: boolean;
35
+ lockedOptionIds: string[];
29
36
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
30
37
  containerRef: HTMLDivElement;
31
38
  sortableListRef: HTMLUListElement;
@@ -7,6 +7,12 @@ export interface PvChartOptionsPanelProps {
7
7
  useCombinedButton?: boolean;
8
8
  useNestedMenu?: boolean;
9
9
  chartConfigOptions?: ChartConfigPanelType[];
10
+ /** Row-group colIds that are pinned in the sortable X Axis list: locked options can't be
11
+ * removed or reordered (see PvSortableList's lockedOptionIds). */
12
+ lockedRowGroupColIds?: string[];
13
+ /** Keep the Metric Overlay picker enabled when a secondary row group splits a non-stacked
14
+ * chart into per-group series (see PvDataTableWithChart's metricOverlayWithRowGroups). */
15
+ metricOverlayWithRowGroups?: boolean;
10
16
  /** When true, the panel's controls are visible but disabled (view-only). */
11
17
  readOnly?: boolean;
12
18
  /** Column field used for the "% of focus" chart view; its Y-axis option is disabled on line charts. */
@@ -23,9 +23,10 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
23
23
  readonly cssCustomListProperties?: CSSProperties | undefined;
24
24
  readonly cssCustomProperties?: CSSProperties | undefined;
25
25
  readonly isList?: boolean | undefined;
26
+ readonly isSortable?: boolean | undefined;
27
+ readonly listClass?: string | undefined;
26
28
  readonly listId?: string | undefined;
27
29
  readonly listRole?: string | undefined;
28
- readonly isSortable?: boolean | undefined;
29
30
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
30
31
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
31
32
  $attrs: Attrs;
@@ -53,9 +54,10 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
53
54
  cssCustomProperties: CSSProperties;
54
55
  alignment: "top" | "right" | "top right";
55
56
  isList: boolean;
57
+ isSortable: boolean;
58
+ listClass: string;
56
59
  listId: string;
57
60
  listRole: string;
58
- isSortable: boolean;
59
61
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
60
62
  beforeCreate?: (() => void) | (() => void)[];
61
63
  created?: (() => void) | (() => void)[];
@@ -80,12 +82,13 @@ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOp
80
82
  cssCustomProperties: CSSProperties;
81
83
  alignment: "top" | "right" | "top right";
82
84
  isList: boolean;
85
+ isSortable: boolean;
86
+ listClass: string;
83
87
  listId: string;
84
88
  listRole: string;
85
- isSortable: boolean;
86
89
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
87
90
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
88
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
91
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable" | "listClass" | "listId" | "listRole")> & {
89
92
  popoverRoot: HTMLElement | null;
90
93
  } & {} & ComponentCustomProperties & {} & {
91
94
  $slots: {
@@ -180,6 +180,20 @@ export interface PvDataTableWithChartProps<T> extends PvDataTableProps<T> {
180
180
  * when `multiSelectMetricOverlay` is true; unknown fields are ignored.
181
181
  */
182
182
  initialSecondaryYKeys?: string[];
183
+ /**
184
+ * Keep Metric Overlays available when a secondary row group splits a non-stacked chart into
185
+ * one series per group value (they are normally disabled and cleared there). The overlay
186
+ * plots the field's plain per-category value, so it is only meaningful when that value is
187
+ * constant within a category — e.g. drug-level benchmarks (WAC/ASP) on a report already
188
+ * filtered to a single drug.
189
+ */
190
+ metricOverlayWithRowGroups?: boolean;
191
+ /**
192
+ * Row-group colIds pinned in the sortable X Axis picker: locked options render with a lock
193
+ * icon and cannot be removed or reordered (see PvSortableList's `lockedOptionIds`). Use for
194
+ * charts whose first dimension is structural (e.g. a time axis on a trends template).
195
+ */
196
+ lockedRowGroupColIds?: string[];
183
197
  /** Filter configuration that adds a dropdown above the chart to slice data by a category column. */
184
198
  chartFilter?: ChartFilter;
185
199
  /** The initial chart type to render. */
@@ -18,9 +18,10 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
18
18
  readonly cssCustomListProperties?: CSSProperties | undefined;
19
19
  readonly cssCustomProperties?: CSSProperties | undefined;
20
20
  readonly isList?: boolean | undefined;
21
+ readonly isSortable?: boolean | undefined;
22
+ readonly listClass?: string | undefined;
21
23
  readonly listId?: string | undefined;
22
24
  readonly listRole?: string | undefined;
23
- readonly isSortable?: boolean | undefined;
24
25
  readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
25
26
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
26
27
  $attrs: Attrs;
@@ -48,9 +49,10 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
48
49
  cssCustomProperties: CSSProperties;
49
50
  alignment: "top" | "right" | "top right";
50
51
  isList: boolean;
52
+ isSortable: boolean;
53
+ listClass: string;
51
54
  listId: string;
52
55
  listRole: string;
53
- isSortable: boolean;
54
56
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
55
57
  beforeCreate?: (() => void) | (() => void)[];
56
58
  created?: (() => void) | (() => void)[];
@@ -75,12 +77,13 @@ declare const _default: DefineComponent<FilterGroupMenuProps, {
75
77
  cssCustomProperties: CSSProperties;
76
78
  alignment: "top" | "right" | "top right";
77
79
  isList: boolean;
80
+ isSortable: boolean;
81
+ listClass: string;
78
82
  listId: string;
79
83
  listRole: string;
80
- isSortable: boolean;
81
84
  }> & Omit<Readonly< PvPopoverProps> & Readonly<{
82
85
  "onList-order-updated"?: ((value: string[]) => any) | undefined;
83
- }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "listId" | "listRole" | "isSortable")> & {
86
+ }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable" | "listClass" | "listId" | "listRole")> & {
84
87
  popoverRoot: HTMLElement | null;
85
88
  } & {} & ComponentCustomProperties & {} & {
86
89
  $slots: {