@turquoisehealth/pit-viper 2.253.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.
- package/_site/assets/css/pit-viper-a11y.css +968 -61
- package/_site/assets/css/pit-viper-consumer.css +959 -53
- package/_site/assets/css/pit-viper-v2-scoped.css +787 -30
- package/_site/assets/css/pit-viper-v2.css +968 -61
- package/_site/assets/css/pit-viper.css +958 -52
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-box-plot-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/ai/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +47 -45
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/base/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/base/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2390 -1481
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +51 -1
- package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebar.vue.d.ts +15 -10
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts +9 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/helpers.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebar/types.d.ts +44 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1561 -1540
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
- package/pv-components/dist/web/components/pv-box-plot/pv-box-plot.js +6621 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +2 -2
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +376 -373
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -6
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -2
- package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +2 -2
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +3 -3
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1038 -1030
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +16 -10
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -2
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -2
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +3 -3
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -1
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +3 -3
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +121 -121
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +764 -756
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +5 -5
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +380 -380
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +11 -11
- package/pv-components/dist/web/components/pv-question/pv-question.js +254 -255
- package/pv-components/dist/web/components/pv-range/pv-range.js +2 -2
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +252 -252
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +2 -2
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +6 -6
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2739 -618
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +460 -456
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +811 -806
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +880 -877
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -6
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -2
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -6
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +3 -7
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -2
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -2
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +7 -7
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +18 -18
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- 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
|
+
}
|
|
@@ -3,6 +3,7 @@ import { AdvancedFilterModel, FilterModel } from 'ag-grid-enterprise';
|
|
|
3
3
|
import { MenuOption, MultiSelectState } from '../../../types';
|
|
4
4
|
import { ColDef, ValueFormatterFunc } from 'ag-grid-community';
|
|
5
5
|
import { PvRangeScale, PvRangeValue } from '../PvRange/types';
|
|
6
|
+
import { FooterPosition } from '../PvMultiSelectButton/types';
|
|
6
7
|
export type PvFilterPanelCategory = string;
|
|
7
8
|
export type PvFilterPanelFilterType = "value" | "range" | "boolean" | "exists";
|
|
8
9
|
export type PvFilterPanelFilterModelType = "advanced" | "regular";
|
|
@@ -124,6 +125,10 @@ export interface PvFilterPanelColDefContext {
|
|
|
124
125
|
* Optional renderer to provide content below the filter options list
|
|
125
126
|
*/
|
|
126
127
|
filterFooterRenderer?: Component;
|
|
128
|
+
/**
|
|
129
|
+
* Where filterFooterRenderer renders relative to the Select All / Clear All actions. Defaults to "above-actions".
|
|
130
|
+
*/
|
|
131
|
+
filterFooterPosition?: FooterPosition;
|
|
127
132
|
/**
|
|
128
133
|
* A group of boolean sub-fields to render as a hover submenu above the filter options.
|
|
129
134
|
* Each field in `fields` must be present as a column in the table.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PvMultiSelectButtonProps, PvSelectButtonVariant, PvSelectButtonSize, MenuActionsVariant } from './types';
|
|
1
|
+
import { PvMultiSelectButtonProps, PvSelectButtonVariant, PvSelectButtonSize, MenuActionsVariant, FooterPosition } from './types';
|
|
2
2
|
import { MenuOption, MultiSelectState, SeeMoreEvent, MenuAction } from '../../../types';
|
|
3
3
|
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Component, CSSProperties, VNode } from 'vue';
|
|
4
4
|
import { PvCounterBadgeVariant } from '../PvCounterBadge/types';
|
|
@@ -62,6 +62,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
62
62
|
optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
|
|
63
63
|
options: MenuOption<T>[];
|
|
64
64
|
menuActionsVariant: MenuActionsVariant | null;
|
|
65
|
+
footerPosition: FooterPosition;
|
|
65
66
|
singleSelect: boolean;
|
|
66
67
|
highlightSearchText: boolean;
|
|
67
68
|
enableCascadeSelection: boolean;
|
|
@@ -108,6 +109,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
108
109
|
optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
|
|
109
110
|
options: MenuOption<T>[];
|
|
110
111
|
menuActionsVariant: MenuActionsVariant | null;
|
|
112
|
+
footerPosition: FooterPosition;
|
|
111
113
|
singleSelect: boolean;
|
|
112
114
|
highlightSearchText: boolean;
|
|
113
115
|
enableCascadeSelection: boolean;
|
|
@@ -154,6 +156,54 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
154
156
|
optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
|
|
155
157
|
options: MenuOption<T>[];
|
|
156
158
|
menuActionsVariant: MenuActionsVariant | null;
|
|
159
|
+
footerPosition: FooterPosition;
|
|
160
|
+
singleSelect: boolean;
|
|
161
|
+
highlightSearchText: boolean;
|
|
162
|
+
enableCascadeSelection: boolean;
|
|
163
|
+
counterStyle: "primary" | "secondary";
|
|
164
|
+
}): any;
|
|
165
|
+
footer?(_: {
|
|
166
|
+
selectedItems: MenuOption<T>[];
|
|
167
|
+
searchInput: string;
|
|
168
|
+
slotContext: Record<string, unknown> | undefined;
|
|
169
|
+
isOpen: boolean;
|
|
170
|
+
isLoading: boolean;
|
|
171
|
+
companyLogo: string;
|
|
172
|
+
counterBadgeVariant: PvCounterBadgeVariant;
|
|
173
|
+
countSelectedParents: boolean;
|
|
174
|
+
defaultOpen: boolean;
|
|
175
|
+
enableChildExpansion: boolean;
|
|
176
|
+
groupings: string[];
|
|
177
|
+
hideParentOnChildQueryMatch: boolean;
|
|
178
|
+
icon: string;
|
|
179
|
+
isSeeMoreLoading: boolean;
|
|
180
|
+
hasMoreOptions: boolean;
|
|
181
|
+
loadingText: string;
|
|
182
|
+
optionsAction: MenuAction<T> | undefined;
|
|
183
|
+
optionsRenderer: Component;
|
|
184
|
+
overlayTrigger: boolean;
|
|
185
|
+
parentSelectsAllChildren: boolean;
|
|
186
|
+
popoverCssProperties: CSSProperties;
|
|
187
|
+
popoverProperties: PvPopoverV2Props;
|
|
188
|
+
prefixLabel: string;
|
|
189
|
+
searchPlaceholder: string;
|
|
190
|
+
teleportLocation: string;
|
|
191
|
+
totalOptionCount: number;
|
|
192
|
+
additionalCounter: number;
|
|
193
|
+
rumFilterName: string;
|
|
194
|
+
rumActionName: string;
|
|
195
|
+
counterPosition: "none" | "right" | "left";
|
|
196
|
+
variant: PvSelectButtonVariant;
|
|
197
|
+
size: PvSelectButtonSize;
|
|
198
|
+
label: string;
|
|
199
|
+
disableDropdownIcon: boolean;
|
|
200
|
+
disableClearIcon: boolean;
|
|
201
|
+
disableSearchInput: boolean;
|
|
202
|
+
disabled: boolean;
|
|
203
|
+
optionsVariant: "toggle" | "checkbox" | "icon" | "simple" | "company" | "avatar" | "checkmark";
|
|
204
|
+
options: MenuOption<T>[];
|
|
205
|
+
menuActionsVariant: MenuActionsVariant | null;
|
|
206
|
+
footerPosition: FooterPosition;
|
|
157
207
|
singleSelect: boolean;
|
|
158
208
|
highlightSearchText: boolean;
|
|
159
209
|
enableCascadeSelection: boolean;
|
package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { PvCounterBadgeVariant } from '../PvCounterBadge/types.ts';
|
|
|
6
6
|
export type PvSelectButtonVariant = Extract<PvVariants, "secondary" | "ghost">;
|
|
7
7
|
export type PvSelectButtonSize = Extract<PvSize, "lg" | "xl">;
|
|
8
8
|
export type MenuActionsVariant = "select-clear" | "cancel-confirm";
|
|
9
|
+
export type FooterPosition = "above-actions" | "below-actions";
|
|
9
10
|
export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Record<string, unknown> = Record<string, unknown>> {
|
|
10
11
|
/** Company logo name displayed on the trigger button */
|
|
11
12
|
companyLogo?: string;
|
|
@@ -36,6 +37,8 @@ export interface PvMultiSelectButtonProps<T = unknown, SlotContext extends Recor
|
|
|
36
37
|
enableCascadeSelection?: boolean;
|
|
37
38
|
/** Display an expand/collapse icon for options that have children */
|
|
38
39
|
enableChildExpansion?: boolean;
|
|
40
|
+
/** Where the footer slot renders relative to the menu actions. Defaults to "above-actions". */
|
|
41
|
+
footerPosition?: FooterPosition;
|
|
39
42
|
/** Labels used to group options into named sections */
|
|
40
43
|
groupings?: string[];
|
|
41
44
|
/** When enableCascadeSelection is true, hide parent options in the dropdown when
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
+
import { PvSidebarProps } from './types.ts';
|
|
1
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
type __VLS_Props =
|
|
3
|
-
disableToggle?: boolean;
|
|
4
|
-
variant?: "primary" | "secondary";
|
|
5
|
-
newVersion?: boolean;
|
|
6
|
-
};
|
|
3
|
+
type __VLS_Props = PvSidebarProps;
|
|
7
4
|
type __VLS_PublicProps = {
|
|
8
5
|
modelValue?: boolean;
|
|
9
6
|
} & __VLS_Props;
|
|
10
7
|
declare function __VLS_template(): {
|
|
11
8
|
attrs: Partial<{}>;
|
|
12
|
-
slots: {
|
|
13
|
-
'sidebar-header'?(_: {}): any;
|
|
14
|
-
sidebar?(_: {}): any;
|
|
9
|
+
slots: Partial<Record<string, (_: {}) => any>> & {
|
|
10
|
+
'sidebar-additional-header'?(_: {}): any;
|
|
11
|
+
'sidebar-additional-content'?(_: {}): any;
|
|
12
|
+
'sidebar-help-content'?(_: {}): any;
|
|
13
|
+
'sidebar-profile-content'?(_: {}): any;
|
|
15
14
|
default?(_: {}): any;
|
|
16
15
|
};
|
|
17
|
-
refs: {
|
|
16
|
+
refs: {
|
|
17
|
+
sidebarPanel: HTMLDivElement;
|
|
18
|
+
popoverTeleportTarget: HTMLDivElement;
|
|
19
|
+
};
|
|
18
20
|
rootEl: HTMLDivElement;
|
|
19
21
|
};
|
|
20
22
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -29,7 +31,10 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
29
31
|
collapsed: boolean;
|
|
30
32
|
}) => any) | undefined;
|
|
31
33
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
32
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
34
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
35
|
+
sidebarPanel: HTMLDivElement;
|
|
36
|
+
popoverTeleportTarget: HTMLDivElement;
|
|
37
|
+
}, HTMLDivElement>;
|
|
33
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
39
|
export default _default;
|
|
35
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/pv-components/dist/vue/visualizations/components/base/PvSidebar/PvSidebarNavFlyout.vue.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PvSidebarNavItem } from './types.ts';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
items: PvSidebarNavItem[];
|
|
5
|
+
/** Keeps nested flyouts closed while the surface hosting this list is inactive. */
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface PvSidebarProps {
|
|
2
|
+
/** @deprecated Organization and profile menus are always click-only. This prop has no effect. */
|
|
3
|
+
disableOrgProfileHover?: boolean;
|
|
4
|
+
disableToggle?: boolean;
|
|
5
|
+
/** Top-level nav items, with optional nested children rendered as an accordion / hover flyout. */
|
|
6
|
+
navItems?: PvSidebarNavItem[];
|
|
7
|
+
/** Organizations rendered in the org-switcher dropdown, with optional nested entities. */
|
|
8
|
+
organizations?: PvSidebarOrgEntity[];
|
|
9
|
+
/** Identity rendered by the Profile footer trigger. */
|
|
10
|
+
profile?: PvSidebarProfile;
|
|
11
|
+
variant?: "primary" | "secondary";
|
|
12
|
+
}
|
|
13
|
+
export interface PvSidebarProfile {
|
|
14
|
+
avatarUrl?: string;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PvSidebarOrgEntity {
|
|
18
|
+
value: string | number;
|
|
19
|
+
label: string;
|
|
20
|
+
url: string;
|
|
21
|
+
avatarUrl?: string;
|
|
22
|
+
/** Marks this as the currently active organization/entity (server already knows from the current page). */
|
|
23
|
+
active?: boolean;
|
|
24
|
+
entities?: PvSidebarOrgEntity[];
|
|
25
|
+
}
|
|
26
|
+
export interface PvSidebarNavItem {
|
|
27
|
+
value: string | number;
|
|
28
|
+
label: string;
|
|
29
|
+
/** Leaf items link directly; parents with children may omit it. */
|
|
30
|
+
url?: string;
|
|
31
|
+
/** SVG symbol id, e.g. "home" — only rendered at the top level. */
|
|
32
|
+
icon?: string;
|
|
33
|
+
/** Marks this as the currently active item (server already knows from the current page). */
|
|
34
|
+
active?: boolean;
|
|
35
|
+
/** Named slot rendered in a full-height hover and focus panel instead of the compact flyout. */
|
|
36
|
+
hoverPanelSlot?: string;
|
|
37
|
+
/** Extra attributes spread directly onto the rendered <a> (e.g. { "data-turbolinks": "false" }). */
|
|
38
|
+
linkAttrs?: Record<string, string>;
|
|
39
|
+
external?: boolean;
|
|
40
|
+
badge?: "beta" | "legacy";
|
|
41
|
+
/** Draws a divider line above this item, starting a new group. Only rendered at the top level. */
|
|
42
|
+
separatorAtTop?: boolean;
|
|
43
|
+
children?: PvSidebarNavItem[];
|
|
44
|
+
}
|
|
@@ -38,5 +38,7 @@ export interface PvSidebarNavItem {
|
|
|
38
38
|
linkAttrs?: Record<string, string>;
|
|
39
39
|
external?: boolean;
|
|
40
40
|
badge?: "beta" | "legacy";
|
|
41
|
+
/** Draws a divider line above this item, starting a new group. Only rendered at the top level. */
|
|
42
|
+
separatorAtTop?: boolean;
|
|
41
43
|
children?: PvSidebarNavItem[];
|
|
42
44
|
}
|
|
@@ -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. */
|
package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ColDef, GridApi, ColDefField } from 'ag-grid-community';
|
|
|
2
2
|
import { Ref, WritableComputedRef, ComputedRef, Component } from 'vue';
|
|
3
3
|
import { MenuOption, MultiSelectState, SeeMoreEvent } from '../../../types';
|
|
4
4
|
import { FilterValueResponseOption } from './types';
|
|
5
|
+
import { FooterPosition } from '../../base/PvMultiSelectButton/types';
|
|
5
6
|
/**
|
|
6
7
|
* Source qualifier on the `filter_option_selected` RUM action.
|
|
7
8
|
*
|
|
@@ -61,6 +62,7 @@ export declare const useSetFilter: <T>(options: UseSetFilterOptions<T>) => {
|
|
|
61
62
|
filterOptionsRenderer: ComputedRef< Component | undefined>;
|
|
62
63
|
filterHeaderRenderer: ComputedRef< Component | undefined>;
|
|
63
64
|
filterFooterRenderer: ComputedRef< Component | undefined>;
|
|
65
|
+
filterFooterPosition: ComputedRef< FooterPosition | undefined>;
|
|
64
66
|
filterOptionsSortDescription: ComputedRef<string | undefined>;
|
|
65
67
|
filterOptionsSortTooltip: ComputedRef<string | undefined>;
|
|
66
68
|
totalOptionCount: ComputedRef<number | undefined>;
|