@turquoisehealth/pit-viper 2.194.4 → 2.194.6-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.
- package/_site/assets/css/pit-viper-a11y.css +8 -0
- package/_site/assets/css/pit-viper-consumer.css +8 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +7 -0
- package/_site/assets/css/pit-viper-v2.css +8 -0
- package/_site/assets/css/pit-viper.css +8 -0
- package/package.json +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-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +4950 -0
- package/pv-components/dist/vue/base/components/base/PvButton/types.d.ts +1 -1
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +2 -2
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +5 -5
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +3 -3
- package/pv-components/dist/vue/base/components/base/PvRange/PvRange.vue.d.ts +2 -2
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +2 -2
- package/pv-components/dist/vue/base/components/base/PvSplitButton/PvSplitButton.vue.d.ts +27 -0
- package/pv-components/dist/vue/base/components/base/PvSplitButton/types.d.ts +12 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +1730 -1623
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvButton/types.d.ts +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSplitButton/PvSplitButton.vue.d.ts +27 -0
- package/pv-components/dist/vue/visualizations/components/base/PvSplitButton/types.d.ts +12 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +27 -138
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useFilterStore.d.ts +115 -14
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +3 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2200 -1885
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1339 -1310
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +7713 -0
- package/pv-components/dist/web/pv-components.iife.js +38 -38
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PvSize, PvVariants } from '../baseProps';
|
|
2
2
|
import { PvTooltipPositions, PvTooltipVariants } from '../PvTooltip/types';
|
|
3
3
|
export type PvButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
|
|
4
|
-
export type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive" | "tertiary"
|
|
4
|
+
export type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive" | "tertiary"> | "link" | "link-secondary";
|
|
5
5
|
export interface PvButtonProps {
|
|
6
6
|
/** Visual style of the button */
|
|
7
7
|
variant?: PvButtonVariant;
|
|
@@ -25,12 +25,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<PvDropdownProps
|
|
|
25
25
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
+
useTeleport: boolean;
|
|
29
|
+
teleportLocation: string;
|
|
28
30
|
alignment: "top" | "right" | "top right";
|
|
29
31
|
isList: boolean;
|
|
30
32
|
defaultOpen: boolean;
|
|
31
33
|
isLoading: boolean;
|
|
32
|
-
useTeleport: boolean;
|
|
33
|
-
teleportLocation: string;
|
|
34
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
35
35
|
triggerRef: HTMLButtonElement;
|
|
36
36
|
popoverRef: ({
|
|
@@ -61,6 +61,7 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
61
61
|
filterSuggestions: PvFilterPanelSuggestion[];
|
|
62
62
|
focusableFields: string[];
|
|
63
63
|
focusedValues: Record<string, string[] | undefined>;
|
|
64
|
+
hideCollapseButton: boolean;
|
|
64
65
|
rangeDebounceMs: number;
|
|
65
66
|
staged: boolean;
|
|
66
67
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
@@ -163,8 +163,14 @@ export interface PvFilterPanelColDefContext {
|
|
|
163
163
|
metadataDisplayFields?: string[];
|
|
164
164
|
/**
|
|
165
165
|
* For server-side filtering, list of associated column IDs to query against when searching for filter values.
|
|
166
|
+
* When provided, these fields are included in the auto-generated search placeholder
|
|
167
|
+
* (e.g., `["npi", "taxId"]` → `Search Provider Name, NPI, Tax ID`).
|
|
166
168
|
*/
|
|
167
169
|
queryColIds?: string[];
|
|
170
|
+
/**
|
|
171
|
+
* When false, search-match subtext shows only the matched value instead of "Column: value".
|
|
172
|
+
*/
|
|
173
|
+
showSearchMatchSubTextPrefix?: boolean;
|
|
168
174
|
/**
|
|
169
175
|
* Number of decimal places to show for numeric values (if applicable)
|
|
170
176
|
*/
|
|
@@ -393,6 +399,8 @@ export interface PvFilterPanelProps {
|
|
|
393
399
|
/** Values currently focused, keyed by field. */
|
|
394
400
|
focusedValues?: Record<string, string[] | undefined>;
|
|
395
401
|
focusText?: string;
|
|
402
|
+
/** When true, hides the collapse button from the filter panel header. */
|
|
403
|
+
hideCollapseButton?: boolean;
|
|
396
404
|
/** Debounce range filter model updates by this many milliseconds. Set 0 to emit every range update. */
|
|
397
405
|
rangeDebounceMs?: number;
|
|
398
406
|
readOnly?: boolean;
|
package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts
CHANGED
|
@@ -5,13 +5,13 @@ import { PvCounterBadgeVariant } from '../PvCounterBadge/types';
|
|
|
5
5
|
import { PvPopoverV2Props } from '../PvPopoverV2/types';
|
|
6
6
|
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<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
8
|
+
readonly "onUpdate:modelValue"?: ((value: MenuOption<T>[]) => any) | undefined;
|
|
8
9
|
readonly "onDropdown-open"?: (() => any) | undefined;
|
|
9
10
|
readonly "onDropdown-closed"?: (() => any) | undefined;
|
|
10
|
-
readonly "onUpdate:modelValue"?: ((value: MenuOption<T>[]) => any) | undefined;
|
|
11
11
|
readonly "onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
12
12
|
readonly "onSee-more"?: ((payload: SeeMoreEvent) => any) | undefined;
|
|
13
13
|
readonly "onUpdate:selectionState"?: ((value: MultiSelectState) => any) | undefined;
|
|
14
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "
|
|
14
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onDropdown-open" | "onDropdown-closed" | "onUpdate:searchInput" | "onSee-more" | "onUpdate:selectionState"> & ({
|
|
15
15
|
modelValue?: MenuOption<T>[];
|
|
16
16
|
selectionState?: MultiSelectState;
|
|
17
17
|
searchInput?: string;
|
|
@@ -47,7 +47,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
47
47
|
teleportLocation: string;
|
|
48
48
|
totalOptionCount: number;
|
|
49
49
|
additionalCounter: number;
|
|
50
|
-
counterPosition: "
|
|
50
|
+
counterPosition: "right" | "left" | "none";
|
|
51
51
|
variant: PvSelectButtonVariant;
|
|
52
52
|
size: PvSelectButtonSize;
|
|
53
53
|
label: string;
|
|
@@ -90,7 +90,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
90
90
|
teleportLocation: string;
|
|
91
91
|
totalOptionCount: number;
|
|
92
92
|
additionalCounter: number;
|
|
93
|
-
counterPosition: "
|
|
93
|
+
counterPosition: "right" | "left" | "none";
|
|
94
94
|
variant: PvSelectButtonVariant;
|
|
95
95
|
size: PvSelectButtonSize;
|
|
96
96
|
label: string;
|
|
@@ -133,7 +133,7 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
|
|
|
133
133
|
teleportLocation: string;
|
|
134
134
|
totalOptionCount: number;
|
|
135
135
|
additionalCounter: number;
|
|
136
|
-
counterPosition: "
|
|
136
|
+
counterPosition: "right" | "left" | "none";
|
|
137
137
|
variant: PvSelectButtonVariant;
|
|
138
138
|
size: PvSelectButtonSize;
|
|
139
139
|
label: string;
|
|
@@ -26,14 +26,14 @@ declare const __VLS_component: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}
|
|
|
26
26
|
}>, {
|
|
27
27
|
delay: number;
|
|
28
28
|
disableInteractive: boolean;
|
|
29
|
-
useTeleport: boolean;
|
|
30
|
-
teleportLocation: string;
|
|
31
|
-
position: PvAlignmentPositions;
|
|
32
29
|
disableAutoPlacement: boolean;
|
|
30
|
+
position: PvAlignmentPositions;
|
|
33
31
|
positioningStrategy: Strategy;
|
|
34
32
|
showOnHover: boolean;
|
|
33
|
+
useTeleport: boolean;
|
|
35
34
|
disableClickOutsideToClose: boolean;
|
|
36
35
|
zIndex: number;
|
|
36
|
+
teleportLocation: string;
|
|
37
37
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
38
38
|
triggerWrapper: HTMLDivElement;
|
|
39
39
|
floating: HTMLDivElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PvRangeProps, PvRangeValue, PvRangeSize,
|
|
1
|
+
import { PvRangeProps, PvRangeValue, PvRangeSize, PvRangeMode, PvRangeColor } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
type __VLS_Props = PvRangeProps;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
@@ -15,9 +15,9 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
15
15
|
size: PvRangeSize;
|
|
16
16
|
label: string;
|
|
17
17
|
disabled: boolean;
|
|
18
|
+
mode: PvRangeMode;
|
|
18
19
|
showClear: boolean;
|
|
19
20
|
color: PvRangeColor;
|
|
20
|
-
mode: PvRangeMode;
|
|
21
21
|
step: number | null;
|
|
22
22
|
min: number | null;
|
|
23
23
|
max: number | null;
|
|
@@ -47,11 +47,11 @@ export interface PvSelectButtonProps<T = unknown> {
|
|
|
47
47
|
}
|
|
48
48
|
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<{
|
|
49
49
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
50
|
+
readonly "onUpdate:modelValue"?: ((value: MenuOption<unknown>) => any) | undefined;
|
|
50
51
|
readonly "onDropdown-open"?: (() => any) | undefined;
|
|
51
52
|
readonly "onDropdown-closed"?: (() => any) | undefined;
|
|
52
|
-
readonly "onUpdate:modelValue"?: ((value: MenuOption<unknown>) => any) | undefined;
|
|
53
53
|
readonly "onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
54
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "
|
|
54
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onUpdate:modelValue" | "onDropdown-open" | "onDropdown-closed" | "onUpdate:searchInput"> & ({
|
|
55
55
|
modelValue?: MenuOption;
|
|
56
56
|
searchInput?: string;
|
|
57
57
|
} & PvSelectButtonProps<T>) & Partial<{}>> & PublicProps;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PvSplitButtonProps } from './types';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { PvAlignmentPositions } from '../baseProps';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
'menu-content'?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: DefineComponent<PvSplitButtonProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
14
|
+
click: () => any;
|
|
15
|
+
}, string, PublicProps, Readonly<PvSplitButtonProps> & Readonly<{
|
|
16
|
+
onClick?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
position: PvAlignmentPositions;
|
|
19
|
+
offset: number;
|
|
20
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PvButtonProps, PvButtonVariant } from '../PvButton/types';
|
|
2
|
+
import { PvAlignmentPositions } from '../baseProps';
|
|
3
|
+
export interface PvSplitButtonProps extends Omit<PvButtonProps, "variant" | "label" | "ariaLabel"> {
|
|
4
|
+
/** Text within the action button */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Visual style — restricted to primary and secondary */
|
|
7
|
+
variant?: Extract<PvButtonVariant, "primary" | "secondary">;
|
|
8
|
+
/** Offset in pixels between the trigger and the popover */
|
|
9
|
+
offset?: number;
|
|
10
|
+
/** Where the popover opens relative to the trigger */
|
|
11
|
+
position?: PvAlignmentPositions;
|
|
12
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { default as PvButton } from './PvButton/PvButton.vue';
|
|
2
2
|
export { default as PvAiButton } from './PvAiButton/PvAiButton.vue';
|
|
3
3
|
export { default as PvButtonWithTooltip } from './PvButton/PvButtonWithTooltip.vue';
|
|
4
|
+
export { default as PvSplitButton } from './PvSplitButton/PvSplitButton.vue';
|
|
4
5
|
export { default as PvCounterBadge } from './PvCounterBadge/PvCounterBadge.vue';
|
|
5
6
|
export { default as PvReleaseBadge } from './PvReleaseBadge/PvReleaseBadge.vue';
|
|
6
7
|
export { default as PvTag } from './PvTag/PvTag.vue';
|