@turquoisehealth/pit-viper 2.224.1-dev.1 → 2.224.1-dev.3

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 (83) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +80 -2
  2. package/_site/assets/css/pit-viper-consumer.css +80 -2
  3. package/_site/assets/css/pit-viper-v2-scoped.css +69 -2
  4. package/_site/assets/css/pit-viper-v2.css +119 -2
  5. package/_site/assets/css/pit-viper.css +79 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  9. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-step-list-stats.html +4950 -0
  26. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  28. package/pv-components/dist/vue/ai/components/ai/PvReasoning/PvReasoning.vue.d.ts +11 -3
  29. package/pv-components/dist/vue/ai/components/ai/PvReasoning/types.d.ts +3 -0
  30. package/pv-components/dist/vue/ai/components/ai/PvStepList/PvStepList.vue.d.ts +7 -0
  31. package/pv-components/dist/vue/ai/components/ai/PvStepList/types.d.ts +42 -0
  32. package/pv-components/dist/vue/ai/components/ai/index.d.ts +2 -0
  33. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
  34. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  35. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  36. package/pv-components/dist/vue/ai/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  37. package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  38. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  39. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
  40. package/pv-components/dist/vue/ai/pv-components-ai.mjs +490 -327
  41. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  42. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
  43. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  44. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  45. package/pv-components/dist/vue/base/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  46. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  47. package/pv-components/dist/vue/base/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  48. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
  49. package/pv-components/dist/vue/base/pv-components-base.mjs +1617 -1492
  50. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  51. package/pv-components/dist/vue/base/types.d.ts +2 -0
  52. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
  53. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  54. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  55. package/pv-components/dist/vue/visualizations/components/base/PvQueryBuilderInput/PvQueryBuilderInput.vue.d.ts +4 -0
  56. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  57. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/PvSidebarV2.vue.d.ts +3 -1
  58. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
  59. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -1
  60. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  61. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2465 -2438
  62. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  63. package/pv-components/dist/vue/visualizations/types.d.ts +2 -0
  64. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +8 -4
  65. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +554 -549
  66. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +817 -797
  67. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +640 -627
  68. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +197 -193
  69. package/pv-components/dist/web/components/pv-menu/pv-menu.js +29 -19
  70. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1717 -1698
  71. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +8 -4
  72. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +37 -23
  73. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +640 -466
  74. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
  75. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +230 -226
  76. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +90 -72
  77. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1431 -1322
  78. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +213 -209
  79. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +6309 -0
  80. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +8 -4
  81. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +8 -4
  82. package/pv-components/dist/web/pv-components.iife.js +39 -39
  83. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,6 +1,7 @@
1
1
  import { Component } from 'vue';
2
2
  import { PvAvatarShape, PvAvatarVariant } from './components/base/PvAvatar/types.ts';
3
3
  import { PvCounterBadgeVariant } from './components/base/PvCounterBadge/types.ts';
4
+ import { PvSize } from './components/base/baseProps';
4
5
  /**
5
6
  * For interfaces and type aliases shared across multiple components.
6
7
  */
@@ -62,6 +63,7 @@ export interface MenuOptionConfig {
62
63
  variant?: MenuOptionsVariant;
63
64
  disabledVariant?: MenuOptionsDisabledVariant;
64
65
  counterBadgeVariant?: PvCounterBadgeVariant;
66
+ size?: Extract<PvSize, "lg" | "xl">;
65
67
  }
66
68
  export interface MenuOptionSelectedEvent {
67
69
  option: MenuOption;
@@ -132,6 +132,10 @@ export interface PvFilterPanelColDefContext {
132
132
  * are displayed and does not affect the filter model.
133
133
  */
134
134
  filterPanel?: Record<string, PvFilterPanelFacetDef>;
135
+ /**
136
+ * Optional text displayed beside the loading spinner while filter options load.
137
+ */
138
+ filterOptionsLoadingText?: string;
135
139
  /**
136
140
  * Optional renderer to override the default filter options list
137
141
  */
@@ -406,6 +410,7 @@ export interface PvFilterPanelResolvedFilter {
406
410
  key: string;
407
411
  knownOptions?: PvFilterPanelOption[];
408
412
  label: string;
413
+ loadingText?: string;
409
414
  options?: PvFilterPanelOption[];
410
415
  rangeMax?: number | null;
411
416
  rangeMin?: number | null;
@@ -37,6 +37,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
37
37
  icon: string;
38
38
  isSeeMoreLoading: boolean;
39
39
  hasMoreOptions: boolean;
40
+ loadingText: string;
40
41
  optionsAction: MenuAction<T> | undefined;
41
42
  optionsRenderer: Component;
42
43
  overlayTrigger: boolean;
@@ -81,6 +82,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
81
82
  icon: string;
82
83
  isSeeMoreLoading: boolean;
83
84
  hasMoreOptions: boolean;
85
+ loadingText: string;
84
86
  optionsAction: MenuAction<T> | undefined;
85
87
  optionsRenderer: Component;
86
88
  overlayTrigger: boolean;
@@ -125,6 +127,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
125
127
  icon: string;
126
128
  isSeeMoreLoading: boolean;
127
129
  hasMoreOptions: boolean;
130
+ loadingText: string;
128
131
  optionsAction: MenuAction<T> | undefined;
129
132
  optionsRenderer: Component;
130
133
  overlayTrigger: boolean;
@@ -57,6 +57,8 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
57
57
  hasMoreOptions?: boolean;
58
58
  /** Text label on the trigger button */
59
59
  label?: string;
60
+ /** Optional text displayed beside the dropdown loading spinner. */
61
+ loadingText?: string;
60
62
  /** Style of the footer action panel. "select-clear" shows select/clear all; "cancel-confirm" requires explicit confirmation. */
61
63
  menuActionsVariant?: MenuActionsVariant | null;
62
64
  /** The list of selectable options */
@@ -1,4 +1,5 @@
1
1
  import { QueryBuilderOutput, QueryBuilderProcessor, QueryBuilderSuggestionMenuOption } from './useQueryBuilder';
2
+ import { PvSize } from '../baseProps';
2
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
4
  export interface PvQueryBuilderInputProps {
4
5
  /**
@@ -21,6 +22,8 @@ export interface PvQueryBuilderInputProps {
21
22
  * When true, shows a loading spinner in the suggestion dropdown.
22
23
  */
23
24
  optionsLoading?: boolean;
25
+ /** Matches PvSearchInput sizing. */
26
+ size?: Extract<PvSize, "lg" | "xl">;
24
27
  /**
25
28
  * When true, users can press Enter to add free-text terms without selecting a suggestion.
26
29
  */
@@ -57,6 +60,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
57
60
  "onUpdate:searchText"?: ((value: string) => any) | undefined;
58
61
  "onUpdate:query"?: ((value: QueryBuilderOutput | null) => any) | undefined;
59
62
  }>, {
63
+ size: Extract<PvSize, "lg" | "xl">;
60
64
  placeholder: string;
61
65
  disabled: boolean;
62
66
  queryTermDisplayLimit: number;
@@ -1,15 +1,17 @@
1
+ import { PvSize } from '../baseProps';
1
2
  import { DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
3
  export interface PvSearchInputProps {
3
- /**
4
- * Placeholder text shown when the input is empty.
5
- */
6
- placeholder?: string;
7
4
  /**
8
5
  * When true, the input is non-interactive and visually dimmed.
9
6
  */
10
7
  disabled?: boolean;
11
8
  /** When true, displays a keyboard shortcut badge ("/" key) and registers the hotkey to focus the input. */
12
9
  displayShortcut?: boolean;
10
+ /**
11
+ * Placeholder text shown when the input is empty.
12
+ */
13
+ placeholder?: string;
14
+ size?: Extract<PvSize, "lg" | "xl">;
13
15
  }
14
16
  export interface PvSearchInputExposed {
15
17
  input: HTMLInputElement | null;
@@ -25,6 +27,7 @@ declare const _default: DefineComponent<__VLS_PublicProps, {
25
27
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
26
28
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
27
29
  }>, {
30
+ size: Extract<PvSize, "lg" | "xl">;
28
31
  placeholder: string;
29
32
  disabled: boolean;
30
33
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
@@ -6,7 +6,7 @@ type __VLS_PublicProps = {
6
6
  } & __VLS_Props;
7
7
  declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
- slots: {
9
+ slots: Partial<Record<string, (_: {}) => any>> & {
10
10
  'sidebar-additional-header'?(_: {}): any;
11
11
  'sidebar-additional-content'?(_: {}): any;
12
12
  'sidebar-help-content'?(_: {}): any;
@@ -14,6 +14,7 @@ declare function __VLS_template(): {
14
14
  default?(_: {}): any;
15
15
  };
16
16
  refs: {
17
+ sidebarPanel: HTMLDivElement;
17
18
  popoverTeleportTarget: HTMLDivElement;
18
19
  };
19
20
  rootEl: HTMLDivElement;
@@ -31,6 +32,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
31
32
  }) => any) | undefined;
32
33
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
33
34
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
35
+ sidebarPanel: HTMLDivElement;
34
36
  popoverTeleportTarget: HTMLDivElement;
35
37
  }, HTMLDivElement>;
36
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -30,6 +30,8 @@ export interface PvSidebarNavItem {
30
30
  icon?: string;
31
31
  /** Marks this as the currently active item (server already knows from the current page). */
32
32
  active?: boolean;
33
+ /** Named slot rendered in a full-height hover and focus panel instead of the compact flyout. */
34
+ hoverPanelSlot?: string;
33
35
  /** Extra attributes spread directly onto the rendered <a> (e.g. { "data-turbolinks": "false" }). */
34
36
  linkAttrs?: Record<string, string>;
35
37
  external?: boolean;
@@ -1,6 +1,6 @@
1
1
  import { AgCartesianSeriesTooltipRendererParams } from 'ag-charts-enterprise';
2
2
  import { ColDefDataType } from './table-components/formatting';
3
- import { ComputedRef, CSSProperties, Ref } from 'vue';
3
+ import { Component, ComputedRef, CSSProperties, Ref } from 'vue';
4
4
  import { AdvancedFilterModel, CellSelectionOptions, FilterModel, GetContextMenuItemsParams, GridState, IServerSideGetRowsParams, ProcessCellForExportParams, ProcessDataFromClipboardParams, RowSelectionOptions, Theme, ValueFormatterFunc } from 'ag-grid-enterprise';
5
5
  import { PvDataTableTheme } from '../themes';
6
6
  import { PvDataTableFilterStore } from './useFilterStore';
@@ -288,6 +288,8 @@ export interface PvDataTableProps<T> {
288
288
  * If true, will show loading state - can be used as a dynamic prop to show/hide loading state
289
289
  */
290
290
  isLoading?: boolean;
291
+ /** Custom Vue component for rendering loading cells in the server-side row model. */
292
+ loadingCellRenderer?: Component;
291
293
  /**
292
294
  * Height of the table + filter container (must be a valid CSS height value, e.g. '500px', '50vh', etc.).
293
295
  */
@@ -479,6 +481,8 @@ export interface PvDataTableProps<T> {
479
481
  * If true, clicking a grouped row will toggle its expanded/collapsed state.
480
482
  */
481
483
  enableExpandOnRowClick?: boolean;
484
+ /** Adds pointer and hover styling to full rows. Listen for `row-clicked` to handle activation. */
485
+ enableFullRowClick?: boolean;
482
486
  }
483
487
  export interface PvDataTablePublicInterface {
484
488
  getCsvData: () => Promise<string | null>;
@@ -57,6 +57,7 @@ export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
57
57
  showSearchBar: ComputedRef<boolean>;
58
58
  filterSearchPlaceholder: ComputedRef<string>;
59
59
  emptyFilterResultsRenderer: ComputedRef< Component | undefined>;
60
+ filterOptionsLoadingText: ComputedRef<string | undefined>;
60
61
  filterOptionsRenderer: ComputedRef< Component | undefined>;
61
62
  filterHeaderRenderer: ComputedRef< Component | undefined>;
62
63
  filterFooterRenderer: ComputedRef< Component | undefined>;