@turquoisehealth/pit-viper 2.150.1-dev.0 → 2.151.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 +15 -0
- package/_site/assets/css/pit-viper-consumer.css +15 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +15 -0
- package/_site/assets/css/pit-viper-v2.css +15 -0
- package/_site/assets/css/pit-viper.css +15 -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-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-multi-select-button-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-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-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/base/components/base/PvAccordion/PvAccordion.vue.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenu.vue.d.ts +15 -182
- package/pv-components/dist/vue/base/components/base/PvMenu/types.d.ts +10 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +2411 -2418
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvAccordion/PvAccordion.vue.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/PvMenu.vue.d.ts +15 -182
- package/pv-components/dist/vue/visualizations/components/base/PvMenu/types.d.ts +10 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2588 -2600
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +59 -50
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +6607 -0
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1520 -1489
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1146 -1180
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1986 -1941
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +149 -140
- package/pv-components/dist/web/pv-components.iife.js +49 -49
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,183 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
refs: {
|
|
17
|
-
popoverRef: ({
|
|
18
|
-
$: ComponentInternalInstance;
|
|
19
|
-
$data: {};
|
|
20
|
-
$props: {
|
|
21
|
-
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
22
|
-
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
23
|
-
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
24
|
-
readonly isList?: boolean | undefined;
|
|
25
|
-
readonly isSortable?: boolean | undefined;
|
|
26
|
-
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
27
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
28
|
-
$attrs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$refs: {
|
|
32
|
-
[x: string]: unknown;
|
|
33
|
-
} & {
|
|
34
|
-
popoverRoot: HTMLDivElement;
|
|
35
|
-
popoverList: HTMLUListElement;
|
|
36
|
-
};
|
|
37
|
-
$slots: Readonly<{
|
|
38
|
-
[name: string]: Slot<any> | undefined;
|
|
39
|
-
}>;
|
|
40
|
-
$root: ComponentPublicInstance | null;
|
|
41
|
-
$parent: ComponentPublicInstance | null;
|
|
42
|
-
$host: Element | null;
|
|
43
|
-
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
44
|
-
$el: HTMLDivElement;
|
|
45
|
-
$options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
|
|
46
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
49
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
50
|
-
"list-order-updated": (value: string[]) => any;
|
|
51
|
-
}, string, {
|
|
52
|
-
alignment: "top" | "right" | "top right";
|
|
53
|
-
cssCustomProperties: CSSProperties;
|
|
54
|
-
isList: boolean;
|
|
55
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
56
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
57
|
-
created?: (() => void) | (() => void)[];
|
|
58
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
59
|
-
mounted?: (() => void) | (() => void)[];
|
|
60
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
61
|
-
updated?: (() => void) | (() => void)[];
|
|
62
|
-
activated?: (() => void) | (() => void)[];
|
|
63
|
-
deactivated?: (() => void) | (() => void)[];
|
|
64
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
65
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
66
|
-
destroyed?: (() => void) | (() => void)[];
|
|
67
|
-
unmounted?: (() => void) | (() => void)[];
|
|
68
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
69
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
70
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
71
|
-
};
|
|
72
|
-
$forceUpdate: () => void;
|
|
73
|
-
$nextTick: nextTick;
|
|
74
|
-
$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;
|
|
75
|
-
} & Readonly<{
|
|
76
|
-
alignment: "top" | "right" | "top right";
|
|
77
|
-
cssCustomProperties: CSSProperties;
|
|
78
|
-
isList: boolean;
|
|
79
|
-
}> & Omit<Readonly< PvPopoverProps> & Readonly<{
|
|
80
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
81
|
-
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
|
|
82
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
83
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
84
|
-
$slots: {
|
|
85
|
-
default?(_: {}): any;
|
|
86
|
-
default?(_: {}): any;
|
|
87
|
-
};
|
|
88
|
-
}) | null;
|
|
89
|
-
};
|
|
90
|
-
rootEl: any;
|
|
91
|
-
};
|
|
92
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
93
|
-
declare const __VLS_component: DefineComponent<PvSelectMenu, {
|
|
94
|
-
popoverRef: Ref<{
|
|
95
|
-
popoverRoot: HTMLElement | null;
|
|
96
|
-
} | null, {
|
|
97
|
-
popoverRoot: HTMLElement | null;
|
|
98
|
-
} | {
|
|
99
|
-
popoverRoot: HTMLElement | null;
|
|
100
|
-
} | null>;
|
|
101
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSelectMenu> & Readonly<{}>, {
|
|
102
|
-
useTeleport: boolean;
|
|
103
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
104
|
-
popoverRef: ({
|
|
105
|
-
$: ComponentInternalInstance;
|
|
106
|
-
$data: {};
|
|
107
|
-
$props: {
|
|
108
|
-
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
109
|
-
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
110
|
-
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
111
|
-
readonly isList?: boolean | undefined;
|
|
112
|
-
readonly isSortable?: boolean | undefined;
|
|
113
|
-
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
114
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
115
|
-
$attrs: {
|
|
116
|
-
[x: string]: unknown;
|
|
117
|
-
};
|
|
118
|
-
$refs: {
|
|
119
|
-
[x: string]: unknown;
|
|
120
|
-
} & {
|
|
121
|
-
popoverRoot: HTMLDivElement;
|
|
122
|
-
popoverList: HTMLUListElement;
|
|
123
|
-
};
|
|
124
|
-
$slots: Readonly<{
|
|
125
|
-
[name: string]: Slot<any> | undefined;
|
|
126
|
-
}>;
|
|
127
|
-
$root: ComponentPublicInstance | null;
|
|
128
|
-
$parent: ComponentPublicInstance | null;
|
|
129
|
-
$host: Element | null;
|
|
130
|
-
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
131
|
-
$el: HTMLDivElement;
|
|
132
|
-
$options: ComponentOptionsBase<Readonly< PvPopoverProps> & Readonly<{
|
|
133
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
134
|
-
}>, {
|
|
135
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
136
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
137
|
-
"list-order-updated": (value: string[]) => any;
|
|
138
|
-
}, string, {
|
|
139
|
-
alignment: "top" | "right" | "top right";
|
|
140
|
-
cssCustomProperties: CSSProperties;
|
|
141
|
-
isList: boolean;
|
|
142
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
143
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
144
|
-
created?: (() => void) | (() => void)[];
|
|
145
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
146
|
-
mounted?: (() => void) | (() => void)[];
|
|
147
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
148
|
-
updated?: (() => void) | (() => void)[];
|
|
149
|
-
activated?: (() => void) | (() => void)[];
|
|
150
|
-
deactivated?: (() => void) | (() => void)[];
|
|
151
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
152
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
153
|
-
destroyed?: (() => void) | (() => void)[];
|
|
154
|
-
unmounted?: (() => void) | (() => void)[];
|
|
155
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
156
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
157
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
158
|
-
};
|
|
159
|
-
$forceUpdate: () => void;
|
|
160
|
-
$nextTick: nextTick;
|
|
161
|
-
$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;
|
|
162
|
-
} & Readonly<{
|
|
163
|
-
alignment: "top" | "right" | "top right";
|
|
164
|
-
cssCustomProperties: CSSProperties;
|
|
165
|
-
isList: boolean;
|
|
166
|
-
}> & Omit<Readonly< PvPopoverProps> & Readonly<{
|
|
167
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
168
|
-
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef<{
|
|
169
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
170
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
171
|
-
$slots: {
|
|
172
|
-
default?(_: {}): any;
|
|
173
|
-
default?(_: {}): any;
|
|
174
|
-
};
|
|
175
|
-
}) | null;
|
|
176
|
-
}, any>;
|
|
177
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
1
|
+
import { MenuOption, MenuOptionSelectedEvent } from '../../../types';
|
|
2
|
+
import { PvMenuProps } from './types';
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
|
+
type __VLS_Props = PvMenuProps;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
"selectedItems"?: MenuOption[];
|
|
7
|
+
} & __VLS_Props;
|
|
8
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
9
|
+
"update:selectedItems": (value: MenuOption<unknown>[]) => any;
|
|
10
|
+
} & {
|
|
11
|
+
"handle-selected": (payload: MenuOptionSelectedEvent) => any;
|
|
12
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
|
+
"onHandle-selected"?: ((payload: MenuOptionSelectedEvent) => any) | undefined;
|
|
14
|
+
"onUpdate:selectedItems"?: ((value: MenuOption<unknown>[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLUListElement>;
|
|
178
16
|
export default _default;
|
|
179
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
180
|
-
new (): {
|
|
181
|
-
$slots: S;
|
|
182
|
-
};
|
|
183
|
-
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MenuOption, MenuOptionConfig } from '../../../types';
|
|
2
|
+
export interface PvMenuProps {
|
|
3
|
+
options: MenuOption[];
|
|
4
|
+
config?: MenuOptionConfig;
|
|
5
|
+
queryText?: string | null;
|
|
6
|
+
itemTestId?: string;
|
|
7
|
+
itemClass?: string;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
singleSelect?: boolean;
|
|
10
|
+
}
|
|
@@ -56,6 +56,8 @@ export { default as PvProgressBar } from './PvProgressBar/PvProgressBar.vue';
|
|
|
56
56
|
export { default as PvDistributionBar } from './PvDistributionBar/PvDistributionBar.vue';
|
|
57
57
|
export { default as PvQueryBuilderInput } from './PvQueryBuilderInput/PvQueryBuilderInput.vue';
|
|
58
58
|
export { default as PvRange } from './PvRange/PvRange.vue';
|
|
59
|
+
export { default as PvMenu } from './PvMenu/PvMenu.vue';
|
|
60
|
+
export { default as PvMenuItem } from './PvMenu/items/PvMenuItem.vue';
|
|
59
61
|
export { useDateTime } from './PvDateTime/useDateTime';
|
|
60
62
|
export { usePvComponents } from './PvComponentsConfig/usePvComponents';
|
|
61
63
|
export type { Tab } from './PvTabs/types';
|