@turquoisehealth/pit-viper 2.122.0 → 2.122.1-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/package.json +43 -13
- package/pv-components/dist/stats/vue/base/stats.html +4949 -0
- package/pv-components/dist/stats/vue/visualizations/stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-accordion-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-ai-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-avatar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-banner-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-label-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-date-time-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-drawer-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-icon-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-modal-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-pagination-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-pill-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-progress-bar-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-rating-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-search-input-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-select-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-spinner-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-sprite-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-switch-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tabs-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tag-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-text-area-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toast-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-tree-stats.html +4949 -0
- package/pv-components/dist/stats/web/pv-widget-stats.html +4949 -0
- package/pv-components/dist/vue/base/components/base/PvButton/helpers.d.ts +1 -0
- package/pv-components/dist/vue/base/components/base/PvMenu/PvMenuControlPanel.vue.d.ts +6 -0
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +206 -289
- package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +31 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +0 -1
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +6 -1
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButton.vue.d.ts +20 -177
- package/pv-components/dist/vue/base/components/base/PvSelectButton/PvSelectButtonTrigger/PvSelectButtonTrigger.vue.d.ts +4 -9
- package/pv-components/dist/vue/base/pv-components-base.mjs +4943 -11629
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +4791 -10741
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +265 -0
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +134 -0
- package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +225 -0
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +164 -0
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +170 -0
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +224 -0
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +160 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +242 -0
- package/pv-components/dist/web/components/pv-card/pv-card.js +148 -0
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +145 -0
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +221 -0
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +192 -0
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +274 -0
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +157 -0
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +7550 -0
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +645 -0
- package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +177 -0
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +556 -0
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +1792 -0
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +304 -0
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +320 -0
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +150 -0
- package/pv-components/dist/web/components/pv-input/pv-input.js +191 -0
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +363 -0
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +186 -0
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +8326 -0
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +355 -0
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +229 -0
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +1485 -0
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +1507 -0
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +1573 -0
- package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +156 -0
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +146 -0
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +142 -0
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +238 -0
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +214 -0
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +8093 -0
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +153 -0
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +148 -0
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +1593 -0
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +151 -0
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +150 -0
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +195 -0
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +162 -0
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +168 -0
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +248 -0
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +210 -0
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +188 -0
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +292 -0
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +208 -0
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +7479 -0
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +158 -0
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +7409 -0
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +5107 -0
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +159 -0
- package/pv-components/dist/web/pv-components.iife.js +50 -50
- package/pv-components/dist/web/vue.runtime.esm-browser.prod.js +7 -0
- package/pv-components/dist/vue/base/pv-components-base.js +0 -1555
- package/pv-components/dist/vue/base/pv-components-base.umd.js +0 -1555
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.js +0 -185
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.umd.js +0 -185
|
@@ -1,47 +1,42 @@
|
|
|
1
|
-
import { CSSProperties,
|
|
1
|
+
import { CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, CreateComponentPublicInstanceWithMixins, GlobalComponents, GlobalDirectives } 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';
|
|
5
6
|
import { PvSelectButtonTrigger } from './PvSelectButtonTrigger/PvSelectButtonTrigger.vue';
|
|
6
7
|
import { PvSelectButtonSize, PvSelectButtonVariant } from '../PvMultiSelectButton/types';
|
|
7
|
-
|
|
8
|
-
import { OnCleanup } from '@vue/reactivity';
|
|
9
|
-
import { PvSelectMenu } from '../PvMenu/PvMenu.vue';
|
|
10
|
-
export interface PvSelectButton {
|
|
8
|
+
export interface PvSelectButtonProps {
|
|
11
9
|
defaultOpen?: boolean;
|
|
12
10
|
disabled?: boolean;
|
|
13
|
-
teleportLocation?: string;
|
|
14
11
|
isLoading?: boolean;
|
|
15
12
|
variant?: PvSelectButtonVariant;
|
|
13
|
+
inverse?: boolean;
|
|
16
14
|
size?: PvSelectButtonSize;
|
|
17
|
-
|
|
15
|
+
popoverProperties?: PvPopoverV2Props;
|
|
18
16
|
popoverCssProperties?: CSSProperties;
|
|
19
17
|
prefixLabel?: string;
|
|
20
18
|
label?: string;
|
|
21
|
-
|
|
22
|
-
showSearchInput?: boolean;
|
|
19
|
+
disableSearchInput?: boolean;
|
|
23
20
|
searchPlaceholder?: string;
|
|
24
21
|
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
25
|
-
options
|
|
26
|
-
|
|
27
|
-
allowDeselect?: boolean;
|
|
22
|
+
options?: MenuOption[];
|
|
23
|
+
disableDeselect?: boolean;
|
|
28
24
|
counterPosition?: "left" | "right";
|
|
29
25
|
/** Variant of the counter badge which appears on the button and menu items */
|
|
30
26
|
counterBadgeVariant?: PvCounterBadgeVariant;
|
|
31
27
|
}
|
|
32
|
-
|
|
28
|
+
type __VLS_Props = PvSelectButtonProps;
|
|
29
|
+
type __VLS_PublicProps = {
|
|
33
30
|
modelValue?: MenuOption;
|
|
34
|
-
searchInput?: string;
|
|
35
|
-
} &
|
|
31
|
+
"searchInput"?: string;
|
|
32
|
+
} & __VLS_Props;
|
|
33
|
+
declare const _default: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
36
34
|
"update:modelValue": (value: MenuOption) => any;
|
|
37
35
|
"update:searchInput": (value: string) => any;
|
|
38
36
|
} & {
|
|
39
37
|
"dropdown-open": () => any;
|
|
40
38
|
"dropdown-closed": () => any;
|
|
41
|
-
}, string, PublicProps, Readonly<{
|
|
42
|
-
modelValue?: MenuOption;
|
|
43
|
-
searchInput?: string;
|
|
44
|
-
} & PvSelectButton> & Readonly<{
|
|
39
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
45
40
|
"onDropdown-open"?: (() => any) | undefined;
|
|
46
41
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
47
42
|
"onUpdate:modelValue"?: ((value: MenuOption) => any) | undefined;
|
|
@@ -50,27 +45,20 @@ declare const _default: DefineComponent<{
|
|
|
50
45
|
size: PvSelectButtonSize;
|
|
51
46
|
label: string;
|
|
52
47
|
variant: PvSelectButtonVariant;
|
|
53
|
-
|
|
54
|
-
teleportLocation: string;
|
|
48
|
+
options: MenuOption[];
|
|
55
49
|
optionsVariant: Exclude<MenuOptionsVariant, "checkbox">;
|
|
56
|
-
|
|
57
|
-
|
|
50
|
+
disableSearchInput: boolean;
|
|
51
|
+
disableDeselect: boolean;
|
|
58
52
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
59
53
|
'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
60
|
-
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
61
54
|
"onHandle-clear"?: (() => any) | undefined;
|
|
62
|
-
}>, {
|
|
63
|
-
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
64
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
65
|
-
"handle-toggle-dropdown": () => any;
|
|
55
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
66
56
|
"handle-clear": () => any;
|
|
67
57
|
}, PublicProps, {
|
|
68
58
|
size: PvSelectButtonSize;
|
|
69
59
|
variant: PvSelectButtonVariant;
|
|
70
60
|
showDropdown: boolean;
|
|
71
|
-
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
72
|
-
triggerRef: HTMLButtonElement;
|
|
73
|
-
}, HTMLButtonElement, ComponentProvideOptions, {
|
|
61
|
+
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLButtonElement, ComponentProvideOptions, {
|
|
74
62
|
P: {};
|
|
75
63
|
B: {};
|
|
76
64
|
D: {};
|
|
@@ -78,156 +66,11 @@ declare const _default: DefineComponent<{
|
|
|
78
66
|
M: {};
|
|
79
67
|
Defaults: {};
|
|
80
68
|
}, Readonly< PvSelectButtonTrigger> & Readonly<{
|
|
81
|
-
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
82
69
|
"onHandle-clear"?: (() => any) | undefined;
|
|
83
|
-
}>, {
|
|
84
|
-
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
85
|
-
}, {}, {}, {}, {
|
|
70
|
+
}>, {}, {}, {}, {}, {
|
|
86
71
|
size: PvSelectButtonSize;
|
|
87
72
|
variant: PvSelectButtonVariant;
|
|
88
73
|
showDropdown: boolean;
|
|
89
74
|
}> | 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;
|
|
232
75
|
}, HTMLDivElement>;
|
|
233
76
|
export default _default;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PvSelectButtonSize, PvSelectButtonVariant } from '../../PvMultiSelectButton/types';
|
|
2
2
|
import { PvCounterBadgeVariant } from '../../PvCounterBadge/types';
|
|
3
|
-
import { DefineComponent,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
export interface PvSelectButtonTrigger {
|
|
5
5
|
variant?: PvSelectButtonVariant;
|
|
6
|
+
inverse?: boolean;
|
|
6
7
|
size?: PvSelectButtonSize;
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
counterPosition?: "left" | "right" | "none";
|
|
@@ -17,19 +18,13 @@ export interface PvSelectButtonTrigger {
|
|
|
17
18
|
open: boolean;
|
|
18
19
|
isLoading?: boolean;
|
|
19
20
|
}
|
|
20
|
-
declare const _default: DefineComponent<PvSelectButtonTrigger, {
|
|
21
|
-
triggerRef: Ref<HTMLElement | null, HTMLElement | null>;
|
|
22
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
23
|
-
"handle-toggle-dropdown": () => any;
|
|
21
|
+
declare const _default: DefineComponent<PvSelectButtonTrigger, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
24
22
|
"handle-clear": () => any;
|
|
25
23
|
}, string, PublicProps, Readonly<PvSelectButtonTrigger> & Readonly<{
|
|
26
|
-
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
27
24
|
"onHandle-clear"?: (() => any) | undefined;
|
|
28
25
|
}>, {
|
|
29
26
|
size: PvSelectButtonSize;
|
|
30
27
|
variant: PvSelectButtonVariant;
|
|
31
28
|
showDropdown: boolean;
|
|
32
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
33
|
-
triggerRef: HTMLButtonElement;
|
|
34
|
-
}, HTMLButtonElement>;
|
|
29
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
35
30
|
export default _default;
|