@turquoisehealth/pit-viper 2.254.0 → 2.255.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 (110) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +962 -56
  2. package/_site/assets/css/pit-viper-consumer.css +959 -53
  3. package/_site/assets/css/pit-viper-v2-scoped.css +787 -30
  4. package/_site/assets/css/pit-viper-v2.css +962 -56
  5. package/_site/assets/css/pit-viper.css +958 -52
  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-accordion-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-box-plot-stats.html +4950 -0
  12. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  50. package/pv-components/dist/vue/ai/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
  51. package/pv-components/dist/vue/ai/components/base/PvBoxPlot/helpers.d.ts +7 -0
  52. package/pv-components/dist/vue/ai/components/base/PvBoxPlot/types.d.ts +33 -0
  53. package/pv-components/dist/vue/ai/components/base/index.d.ts +2 -0
  54. package/pv-components/dist/vue/ai/pv-components-ai.mjs +47 -45
  55. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  56. package/pv-components/dist/vue/base/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
  57. package/pv-components/dist/vue/base/components/base/PvBoxPlot/helpers.d.ts +7 -0
  58. package/pv-components/dist/vue/base/components/base/PvBoxPlot/types.d.ts +33 -0
  59. package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
  60. package/pv-components/dist/vue/base/pv-components-base.mjs +996 -672
  61. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  62. package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
  63. package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/helpers.d.ts +7 -0
  64. package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/types.d.ts +33 -0
  65. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
  66. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -1
  67. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +180 -166
  68. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  69. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
  70. package/pv-components/dist/web/components/pv-box-plot/pv-box-plot.js +6621 -0
  71. package/pv-components/dist/web/components/pv-button/pv-button.js +2 -2
  72. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +376 -373
  73. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
  74. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -6
  75. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -2
  76. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +2 -2
  77. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +3 -3
  78. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -2
  79. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +8 -8
  80. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +16 -10
  81. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -2
  82. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -2
  83. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +3 -3
  84. package/pv-components/dist/web/components/pv-input/pv-input.js +0 -1
  85. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +3 -3
  86. package/pv-components/dist/web/components/pv-menu/pv-menu.js +121 -121
  87. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +7 -7
  88. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +5 -5
  89. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +380 -380
  90. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +11 -11
  91. package/pv-components/dist/web/components/pv-question/pv-question.js +254 -255
  92. package/pv-components/dist/web/components/pv-range/pv-range.js +2 -2
  93. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +252 -252
  94. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +2 -2
  95. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +6 -6
  96. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +3 -3
  97. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +3 -3
  98. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +811 -806
  99. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +880 -877
  100. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -6
  101. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -2
  102. package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -6
  103. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +3 -7
  104. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
  105. package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -2
  106. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -2
  107. package/pv-components/dist/web/components/pv-tool/pv-tool.js +7 -7
  108. package/pv-components/dist/web/components/pv-tree/pv-tree.js +18 -18
  109. package/pv-components/dist/web/pv-components.iife.js +4 -4
  110. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -0,0 +1,15 @@
1
+ import { PvBoxPlotMarker, PvBoxPlotProps, PvBoxPlotStats } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ declare const _default: DefineComponent<PvBoxPlotProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBoxPlotProps> & Readonly<{}>, {
4
+ highlight: number | null;
5
+ height: number;
6
+ ariaLabel: string;
7
+ markers: PvBoxPlotMarker[];
8
+ valueFormatter: (value: number) => string;
9
+ hideLabels: boolean;
10
+ stats: PvBoxPlotStats | null;
11
+ xMax: number | null;
12
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
13
+ container: HTMLDivElement;
14
+ }, HTMLDivElement>;
15
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /** Rounds `value` up to a clean axis bound. Returns 100 for zero or negative input so an empty axis still has a scale. */
2
+ export declare const niceCeiling: (value: number) => number;
3
+ /** Tick interval that gives about five ticks on an axis from 0 to `max`. */
4
+ export declare const niceStep: (max: number) => number;
5
+ /** Tick positions from 0 to `max`, inclusive. */
6
+ export declare const axisTicks: (max: number) => number[];
7
+ export declare const formatWholeDollars: (value: number) => string;
@@ -0,0 +1,33 @@
1
+ export interface PvBoxPlotMarker {
2
+ /** Dot color: any CSS color, including a var(). Defaults to coral ($dataviz-3). */
3
+ color?: string;
4
+ /** Optional label drawn above the plot with the formatted value, e.g. "Anchor". */
5
+ label?: string;
6
+ /** Position of the dot on the axis. */
7
+ value: number;
8
+ }
9
+ export interface PvBoxPlotStats {
10
+ p10: number;
11
+ p25: number;
12
+ p50: number;
13
+ p75: number;
14
+ p90: number;
15
+ }
16
+ export interface PvBoxPlotProps {
17
+ /** Accessible description of the plot. Defaults to one generated from the stats and markers. */
18
+ ariaLabel?: string;
19
+ /** Height of the plot in pixels. Defaults to 180. The width always fills the container. */
20
+ height?: number;
21
+ /** Transient marker, e.g. the rate of a hovered table row: a dashed line with a small dot. Drawn above the markers. */
22
+ highlight?: number | null;
23
+ /** Hides the percentile labels, the P10 and P90 amounts, and the median callout. Marker labels still show. */
24
+ hideLabels?: boolean;
25
+ /** Persistent dots on the axis, such as an anchor or an offer. */
26
+ markers?: PvBoxPlotMarker[];
27
+ /** The distribution: whiskers P10 to P90, box P25 to P75, a line at the median. Nothing renders without it. */
28
+ stats?: PvBoxPlotStats | null;
29
+ /** Formats every amount on the axis and in the labels. Defaults to whole US dollars, e.g. "$1,250". */
30
+ valueFormatter?: (value: number) => string;
31
+ /** Fixed upper bound of the axis, so the plot can line up with a sibling chart. Defaults to a rounded bound above P90 and every marker. */
32
+ xMax?: number | null;
33
+ }
@@ -68,6 +68,7 @@ export { default as PvTree } from './PvTree/PvTree.vue';
68
68
  export { default as PvTreeGroup } from './PvTree/PvTreeGroup.vue';
69
69
  export { default as PvProgressBar } from './PvProgressBar/PvProgressBar.vue';
70
70
  export { default as PvDistributionBar } from './PvDistributionBar/PvDistributionBar.vue';
71
+ export { default as PvBoxPlot } from './PvBoxPlot/PvBoxPlot.vue';
71
72
  export { default as PvFilterPanel } from './PvFilterPanel/PvFilterPanel.vue';
72
73
  export { default as PvFilterModal } from './PvFilterModal/PvFilterModal.vue';
73
74
  export { default as PvHorizontalScroller } from './PvHorizontalScroller/PvHorizontalScroller.vue';
@@ -98,6 +99,7 @@ export type { RadioGroupOption } from './PvRadioGroup/types';
98
99
  export type { PvTableOfContentsItem } from './PvTableOfContents/types';
99
100
  export type { PvHorizontalScrollerProps } from './PvHorizontalScroller/types';
100
101
  export type { PvFilterModalProps } from './PvFilterModal/types';
102
+ export type { PvBoxPlotMarker, PvBoxPlotProps, PvBoxPlotStats } from './PvBoxPlot/types';
101
103
  export type { PvHoverActionMenuPosition } from './PvHoverActionMenu/types';
102
104
  export type { PvMenuChildrenDisplay } from './PvMenu/types';
103
105
  export type { PvFilterPanelAggregateFieldHierarchy, PvFilterPanelColDef, PvFilterPanelColDefContext, PvFilterPanelControlChange, PvFilterPanelFilterChangeEvent, PvFilterPanelFilterChangeReason, PvFilterPanelFilterGroup, PvFilterPanelFilterModel, PvFilterPanelFilterModelType, PvFilterPanelFilterType, PvFilterPanelOption, PvFilterPanelOptionsHandler, PvFilterPanelOptionsHandlerParams, PvFilterPanelOptionsHandlerReason, PvFilterPanelOptionsResponse, PvFilterPanelOptionRawValue, PvFilterPanelProps, PvFilterPanelRangeConfig, PvFilterPanelResultCount, PvFilterPanelSuggestion, PvFilterStore, PvFilterStoreFetchOptionsParams, } from './PvFilterPanel/types';
@@ -252,9 +252,12 @@ export interface PvDataTableProps<T> {
252
252
  /**
253
253
  * Fetches the flat rows for `pivot`. Called on mount and whenever the filters change. The filters are applied by
254
254
  * the handler only; the grid doesn't re-apply them to the returned rows.
255
- * If it rejects, the error is logged and the table shows no rows.
255
+ * If it rejects, the error is logged and the table shows no rows. Table search needs `filterValuesSetHandler` and
256
+ * `tableSearchHandler` with it.
256
257
  */
257
258
  serverSidePivotHandler?: (params: ServerSidePivotHandlerParams) => Promise<ServerSidePivotHandlerResponse<T>>;
259
+ /** Left-to-right order of the first `pivot` column's values; unlisted values follow, ordered by focus then alphabetically. */
260
+ pivotValueOrder?: string[];
258
261
  /** Maximum rows requested from `serverSidePivotHandler`. Defaults to 200. */
259
262
  pivotRowLimit?: number;
260
263
  /** Maximum generated pivot columns before the grid stops and emits `pivot-max-columns-exceeded`. Defaults to 50. */