@turquoisehealth/pit-viper 2.119.1-dev.0 → 2.121.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/_src/assets/sprite-v2.svg +1 -1
- package/_src/assets/sprite.svg +1 -1
- package/package.json +1 -1
- package/pv-components/dist/vue/base/components/base/PvButton/helpers.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +0 -6
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +289 -206
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +0 -31
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +1 -6
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +177 -20
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +9 -4
- package/pv-components/dist/vue/base/components/base/index.d.ts +1 -1
- package/pv-components/dist/vue/base/pv-components-base.js +29 -29
- package/pv-components/dist/vue/base/pv-components-base.mjs +3569 -3560
- package/pv-components/dist/vue/base/pv-components-base.umd.js +29 -29
- package/pv-components/dist/vue/charts/pv-components-charts.d.ts +491 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +259 -0
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +121834 -0
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +259 -0
- package/pv-components/dist/vue/tables/pv-components-tables.d.ts +299 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +223 -0
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +47028 -0
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +223 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +17 -17
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4376 -5532
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +17 -17
- package/pv-components/dist/web/pv-components.iife.js +31 -31
|
@@ -1,42 +1,47 @@
|
|
|
1
|
-
import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } from 'vue';
|
|
1
|
+
import { CSSProperties, nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, Ref, GlobalComponents, GlobalDirectives, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
2
|
import { PvSelectButtonSize, PvSelectButtonVariant } from './types';
|
|
3
3
|
import { MenuOption, MenuOptionsVariant } from '../../../types';
|
|
4
4
|
import { PvCounterBadgeVariant } from '../PvCounterBadge/types';
|
|
5
|
-
import { PvPopoverV2Props } from '../PvPopoverV2/types.ts';
|
|
6
5
|
import { PvSelectButtonTrigger } from './PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
7
6
|
import { PvSelectButtonSize, PvSelectButtonVariant } from '../PvMultiSelectButton/types';
|
|
8
|
-
|
|
7
|
+
import { PvPopoverProps } from '../PvPopover/PvPopover.vue';
|
|
8
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
9
|
+
import { PvSelectMenu } from '../PvMenu/PvMenu.vue';
|
|
10
|
+
export interface PvSelectButton {
|
|
9
11
|
defaultOpen?: boolean;
|
|
10
12
|
disabled?: boolean;
|
|
13
|
+
teleportLocation?: string;
|
|
11
14
|
isLoading?: boolean;
|
|
12
15
|
variant?: PvSelectButtonVariant;
|
|
13
|
-
inverse?: boolean;
|
|
14
16
|
size?: PvSelectButtonSize;
|
|
15
|
-
|
|
17
|
+
alignment?: "top" | "right" | "top right" | undefined;
|
|
16
18
|
popoverCssProperties?: CSSProperties;
|
|
17
19
|
prefixLabel?: string;
|
|
18
20
|
label?: string;
|
|
19
|
-
|
|
21
|
+
showMenuAction?: boolean;
|
|
22
|
+
showSearchInput?: boolean;
|
|
20
23
|
searchPlaceholder?: string;
|
|
21
24
|
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
22
|
-
options
|
|
23
|
-
|
|
25
|
+
options: MenuOption[];
|
|
26
|
+
useTeleport?: boolean;
|
|
27
|
+
allowDeselect?: boolean;
|
|
24
28
|
counterPosition?: "left" | "right";
|
|
25
29
|
/** Variant of the counter badge which appears on the button and menu items */
|
|
26
30
|
counterBadgeVariant?: PvCounterBadgeVariant;
|
|
27
31
|
}
|
|
28
|
-
|
|
29
|
-
type __VLS_PublicProps = {
|
|
32
|
+
declare const _default: DefineComponent<{
|
|
30
33
|
modelValue?: MenuOption;
|
|
31
|
-
|
|
32
|
-
} &
|
|
33
|
-
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
|
+
searchInput?: string;
|
|
35
|
+
} & PvSelectButton, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
36
|
"update:modelValue": (value: MenuOption) => any;
|
|
35
37
|
"update:searchInput": (value: string) => any;
|
|
36
38
|
} & {
|
|
37
39
|
"dropdown-open": () => any;
|
|
38
40
|
"dropdown-closed": () => any;
|
|
39
|
-
}, string, PublicProps, Readonly<
|
|
41
|
+
}, string, PublicProps, Readonly<{
|
|
42
|
+
modelValue?: MenuOption;
|
|
43
|
+
searchInput?: string;
|
|
44
|
+
} & PvSelectButton> & Readonly<{
|
|
40
45
|
"onDropdown-open"?: (() => any) | undefined;
|
|
41
46
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
42
47
|
"onUpdate:modelValue"?: ((value: MenuOption) => any) | undefined;
|
|
@@ -45,20 +50,27 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
45
50
|
size: PvSelectButtonSize;
|
|
46
51
|
label: string;
|
|
47
52
|
variant: PvSelectButtonVariant;
|
|
48
|
-
|
|
53
|
+
useTeleport: boolean;
|
|
54
|
+
teleportLocation: string;
|
|
49
55
|
optionsVariant: Exclude<MenuOptionsVariant, "checkbox">;
|
|
50
|
-
|
|
51
|
-
|
|
56
|
+
showSearchInput: boolean;
|
|
57
|
+
allowDeselect: boolean;
|
|
52
58
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
53
59
|
'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
60
|
+
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
54
61
|
"onHandle-clear"?: (() => any) | undefined;
|
|
55
|
-
}>, {
|
|
62
|
+
}>, {
|
|
63
|
+
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
64
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
65
|
+
"handle-toggle-dropdown": () => any;
|
|
56
66
|
"handle-clear": () => any;
|
|
57
67
|
}, PublicProps, {
|
|
58
68
|
size: PvSelectButtonSize;
|
|
59
69
|
variant: PvSelectButtonVariant;
|
|
60
70
|
showDropdown: boolean;
|
|
61
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
71
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
72
|
+
triggerRef: HTMLButtonElement;
|
|
73
|
+
}, HTMLButtonElement, ComponentProvideOptions, {
|
|
62
74
|
P: {};
|
|
63
75
|
B: {};
|
|
64
76
|
D: {};
|
|
@@ -66,11 +78,156 @@ declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Compo
|
|
|
66
78
|
M: {};
|
|
67
79
|
Defaults: {};
|
|
68
80
|
}, Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
81
|
+
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
69
82
|
"onHandle-clear"?: (() => any) | undefined;
|
|
70
|
-
}>, {
|
|
83
|
+
}>, {
|
|
84
|
+
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
85
|
+
}, {}, {}, {}, {
|
|
71
86
|
size: PvSelectButtonSize;
|
|
72
87
|
variant: PvSelectButtonVariant;
|
|
73
88
|
showDropdown: boolean;
|
|
74
89
|
}> | null;
|
|
90
|
+
'select-menu-ref': ({
|
|
91
|
+
$: ComponentInternalInstance;
|
|
92
|
+
$data: {};
|
|
93
|
+
$props: {
|
|
94
|
+
readonly teleportLocation?: string | undefined;
|
|
95
|
+
readonly open: boolean;
|
|
96
|
+
readonly popoverPositionStyle?: CSSProperties | undefined;
|
|
97
|
+
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
98
|
+
readonly useTeleport?: boolean | undefined;
|
|
99
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
100
|
+
$attrs: {
|
|
101
|
+
[x: string]: unknown;
|
|
102
|
+
};
|
|
103
|
+
$refs: {
|
|
104
|
+
[x: string]: unknown;
|
|
105
|
+
} & {
|
|
106
|
+
popoverRef: ({
|
|
107
|
+
$: ComponentInternalInstance;
|
|
108
|
+
$data: {};
|
|
109
|
+
$props: {
|
|
110
|
+
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
111
|
+
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
112
|
+
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
113
|
+
readonly isList?: boolean | undefined;
|
|
114
|
+
readonly isSortable?: boolean | undefined;
|
|
115
|
+
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
116
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
117
|
+
$attrs: {
|
|
118
|
+
[x: string]: unknown;
|
|
119
|
+
};
|
|
120
|
+
$refs: {
|
|
121
|
+
[x: string]: unknown;
|
|
122
|
+
} & {
|
|
123
|
+
popoverRoot: HTMLDivElement;
|
|
124
|
+
popoverList: HTMLUListElement;
|
|
125
|
+
};
|
|
126
|
+
$slots: Readonly<{
|
|
127
|
+
[name: string]: Slot<any> | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
$root: ComponentPublicInstance | null;
|
|
130
|
+
$parent: ComponentPublicInstance | null;
|
|
131
|
+
$host: Element | null;
|
|
132
|
+
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
133
|
+
$el: HTMLDivElement;
|
|
134
|
+
$options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
|
|
135
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
136
|
+
}>, {
|
|
137
|
+
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
138
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
139
|
+
"list-order-updated": (value: string[]) => any;
|
|
140
|
+
}, string, {
|
|
141
|
+
alignment: "top" | "right" | "top right";
|
|
142
|
+
cssCustomProperties: CSSProperties;
|
|
143
|
+
isList: boolean;
|
|
144
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
145
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
146
|
+
created?: (() => void) | (() => void)[];
|
|
147
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
148
|
+
mounted?: (() => void) | (() => void)[];
|
|
149
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
150
|
+
updated?: (() => void) | (() => void)[];
|
|
151
|
+
activated?: (() => void) | (() => void)[];
|
|
152
|
+
deactivated?: (() => void) | (() => void)[];
|
|
153
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
154
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
155
|
+
destroyed?: (() => void) | (() => void)[];
|
|
156
|
+
unmounted?: (() => void) | (() => void)[];
|
|
157
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
158
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
159
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
160
|
+
};
|
|
161
|
+
$forceUpdate: () => void;
|
|
162
|
+
$nextTick: typeof nextTick;
|
|
163
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
164
|
+
} & Readonly<{
|
|
165
|
+
alignment: "top" | "right" | "top right";
|
|
166
|
+
cssCustomProperties: CSSProperties;
|
|
167
|
+
isList: boolean;
|
|
168
|
+
}> & Omit<Readonly< PvPopoverProps> & Readonly<{
|
|
169
|
+
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
170
|
+
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
|
|
171
|
+
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
172
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
173
|
+
$slots: {
|
|
174
|
+
default?(_: {}): any;
|
|
175
|
+
default?(_: {}): any;
|
|
176
|
+
};
|
|
177
|
+
}) | null;
|
|
178
|
+
};
|
|
179
|
+
$slots: Readonly<{
|
|
180
|
+
[name: string]: Slot<any> | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
$root: ComponentPublicInstance | null;
|
|
183
|
+
$parent: ComponentPublicInstance | null;
|
|
184
|
+
$host: Element | null;
|
|
185
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
186
|
+
$el: any;
|
|
187
|
+
$options: ComponentOptionsBase<Readonly< PvSelectMenu> & Readonly<{}>, {
|
|
188
|
+
popoverRef: Ref<{
|
|
189
|
+
popoverRoot: HTMLElement | null;
|
|
190
|
+
} | null, {
|
|
191
|
+
popoverRoot: HTMLElement | null;
|
|
192
|
+
} | {
|
|
193
|
+
popoverRoot: HTMLElement | null;
|
|
194
|
+
} | null>;
|
|
195
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
196
|
+
useTeleport: boolean;
|
|
197
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
198
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
199
|
+
created?: (() => void) | (() => void)[];
|
|
200
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
201
|
+
mounted?: (() => void) | (() => void)[];
|
|
202
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
203
|
+
updated?: (() => void) | (() => void)[];
|
|
204
|
+
activated?: (() => void) | (() => void)[];
|
|
205
|
+
deactivated?: (() => void) | (() => void)[];
|
|
206
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
207
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
208
|
+
destroyed?: (() => void) | (() => void)[];
|
|
209
|
+
unmounted?: (() => void) | (() => void)[];
|
|
210
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
211
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
212
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
213
|
+
};
|
|
214
|
+
$forceUpdate: () => void;
|
|
215
|
+
$nextTick: typeof nextTick;
|
|
216
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
217
|
+
} & Readonly<{
|
|
218
|
+
useTeleport: boolean;
|
|
219
|
+
}> & Omit<Readonly< PvSelectMenu> & Readonly<{}>, "useTeleport" | "popoverRef"> & ShallowUnwrapRef<{
|
|
220
|
+
popoverRef: Ref<{
|
|
221
|
+
popoverRoot: HTMLElement | null;
|
|
222
|
+
} | null, {
|
|
223
|
+
popoverRoot: HTMLElement | null;
|
|
224
|
+
} | {
|
|
225
|
+
popoverRoot: HTMLElement | null;
|
|
226
|
+
} | null>;
|
|
227
|
+
}> & {} & ComponentCustomProperties & {} & {
|
|
228
|
+
$slots: {
|
|
229
|
+
default?(_: {}): any;
|
|
230
|
+
};
|
|
231
|
+
}) | null;
|
|
75
232
|
}, HTMLDivElement>;
|
|
76
233
|
export default _default;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { PvSelectButtonSize, PvSelectButtonVariant } from '../../PvMultiSelectButton/types';
|
|
2
2
|
import { PvCounterBadgeVariant } from '../../PvCounterBadge/types';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
export interface PvSelectButtonTrigger {
|
|
5
5
|
variant?: PvSelectButtonVariant;
|
|
6
|
-
inverse?: boolean;
|
|
7
6
|
size?: PvSelectButtonSize;
|
|
8
7
|
disabled?: boolean;
|
|
9
8
|
counterPosition?: "left" | "right" | "none";
|
|
@@ -18,13 +17,19 @@ export interface PvSelectButtonTrigger {
|
|
|
18
17
|
open: boolean;
|
|
19
18
|
isLoading?: boolean;
|
|
20
19
|
}
|
|
21
|
-
declare const _default: DefineComponent<PvSelectButtonTrigger, {
|
|
20
|
+
declare const _default: DefineComponent<PvSelectButtonTrigger, {
|
|
21
|
+
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
22
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
23
|
+
"handle-toggle-dropdown": () => any;
|
|
22
24
|
"handle-clear": () => any;
|
|
23
25
|
}, string, PublicProps, Readonly<PvSelectButtonTrigger> & Readonly<{
|
|
26
|
+
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
24
27
|
"onHandle-clear"?: (() => any) | undefined;
|
|
25
28
|
}>, {
|
|
26
29
|
size: PvSelectButtonSize;
|
|
27
30
|
variant: PvSelectButtonVariant;
|
|
28
31
|
showDropdown: boolean;
|
|
29
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
32
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
33
|
+
triggerRef: HTMLButtonElement;
|
|
34
|
+
}, HTMLButtonElement>;
|
|
30
35
|
export default _default;
|
|
@@ -60,4 +60,4 @@ export type { Tab } from './PvTabs/types';
|
|
|
60
60
|
export type { PvBreadcrumbsOptions } from './PvBreadcrumbs/types';
|
|
61
61
|
export type { PvAvatarGroupItem } from './PvAvatarGroup/types';
|
|
62
62
|
export type { MenuOption } from '../../types';
|
|
63
|
-
export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/
|
|
63
|
+
export type { PvMultiSelectButtonSlotProps } from './PvMultiSelectButton/PvMultiSelectButton.vue';
|