@turquoisehealth/pit-viper 2.50.0 → 2.52.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-v2-scoped.css +31 -7
- package/_site/assets/css/pit-viper-v2.css +31 -7
- package/_site/assets/css/pit-viper.css +31 -7
- package/package.json +1 -1
- package/pv-components/dist/stats-vue_base.html +4949 -0
- package/pv-components/dist/stats-vue_charts.html +4949 -0
- package/pv-components/dist/stats-vue_tables.html +4949 -0
- package/pv-components/dist/stats-web.html +4949 -0
- package/pv-components/dist/types/base/PvAccordion/PvAccordion.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvAccordion/types.d.ts +5 -0
- package/pv-components/dist/types/base/PvBanner/PvBanner.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvBanner/types.d.ts +11 -0
- package/pv-components/dist/types/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +6 -0
- package/pv-components/dist/types/base/PvBreadcrumbs/types.d.ts +4 -0
- package/pv-components/dist/types/base/PvButton/PvButton.vue.d.ts +24 -0
- package/pv-components/dist/types/base/PvButton/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvCard/PvCard.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCard/PvCard.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCompanyLogo/PvCompanyLogo.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvCompanyTag/PvCompanyTag.vue.d.ts +26 -0
- package/pv-components/dist/types/base/PvCounterBadge/PvCounterBadge.vue.d.ts +15 -0
- package/pv-components/dist/types/base/PvCounterBadge/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDatePicker/PvDatePicker.vue.d.ts +114 -0
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDateTime/PvDateTime.vue.d.ts +13 -0
- package/pv-components/dist/types/base/PvDateTime/useDateTime.d.ts +9 -0
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDrawer/PvDrawer.vue.d.ts +31 -0
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvDropdown/PvDropdown.vue.d.ts +42 -0
- package/pv-components/dist/types/base/PvDropdown/useDropdownMenuPosition.d.ts +59 -0
- package/pv-components/dist/types/base/PvIcon/PvIcon.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvIcon/PvIcon.vue.d.ts +10 -0
- package/pv-components/dist/types/base/PvModal/PvModal.vue.d.ts +26 -0
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvMultiSelect/PvMultiSelect.vue.d.ts +12 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +54 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvMultiSelectButtonTrigger.vue.d.ts +28 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenu.vue.d.ts +30 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/PvSelectMenuControlPanel.vue.d.ts +8 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuCheckboxItem.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuItem.vue.d.ts +12 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/items/PvMenuRadioItem.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/mocks.d.ts +13 -0
- package/pv-components/dist/types/base/PvMultiSelectButton/types.d.ts +17 -0
- package/pv-components/dist/types/base/PvPill/PvPill.vue.d.ts +30 -0
- package/pv-components/dist/types/base/PvPill/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvPopover/PvPopover.vue.d.ts +29 -0
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvReleaseBadge/PvReleaseBadge.vue.d.ts +5 -0
- package/pv-components/dist/types/base/PvSearchInput/PvSearchInput.vue.d.ts +18 -0
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSegmentedControl/PvSegmentedControl.vue.d.ts +19 -0
- package/pv-components/dist/types/base/PvSelect/PvSelect.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSelect/PvSelect.vue.d.ts +22 -0
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvSuggestionTag/PvSuggestionTag.vue.d.ts +28 -0
- package/pv-components/dist/types/base/PvTabList/PvTabList.vue.d.ts +11 -0
- package/pv-components/dist/types/base/PvTabs/PvTabs.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvTabs/PvTabs.vue.d.ts +17 -0
- package/pv-components/dist/types/base/PvTabs/types.d.ts +7 -0
- package/pv-components/dist/types/base/PvTag/PvTag.example.vue.d.ts +2 -0
- package/pv-components/dist/types/base/PvTag/PvTag.vue.d.ts +40 -0
- package/pv-components/dist/types/base/PvTag/types.d.ts +3 -0
- package/pv-components/dist/types/base/PvToggle/PvToggle.vue.d.ts +35 -0
- package/pv-components/dist/types/base/PvTooltip/PvTooltip.vue.d.ts +24 -0
- package/pv-components/dist/types/base/PvTooltip/types.d.ts +2 -0
- package/pv-components/dist/types/base/baseProps.d.ts +7 -0
- package/pv-components/dist/types/base/index.d.ts +29 -0
- package/pv-components/dist/vue/base/pv-components-base.d.ts +100 -285
- package/pv-components/dist/vue/base/pv-components-base.js +24 -24
- package/pv-components/dist/vue/base/pv-components-base.mjs +4541 -4216
- package/pv-components/dist/vue/base/pv-components-base.umd.js +1452 -0
- package/pv-components/dist/vue/charts/pv-components-charts.js +198 -55
- package/pv-components/dist/vue/charts/pv-components-charts.mjs +34585 -33232
- package/pv-components/dist/vue/charts/pv-components-charts.umd.js +253 -0
- package/pv-components/dist/vue/tables/pv-components-tables.js +186 -43
- package/pv-components/dist/vue/tables/pv-components-tables.mjs +16243 -15293
- package/pv-components/dist/vue/tables/pv-components-tables.umd.js +222 -0
- package/pv-components/dist/web/pv-components.iife.js +20 -20
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { App } from 'vue';
|
|
2
3
|
import { ComponentCustomProperties } from 'vue';
|
|
3
4
|
import { ComponentCustomProps } from 'vue';
|
|
4
5
|
import { ComponentInternalInstance } from 'vue';
|
|
@@ -38,64 +39,70 @@ tooltipPosition: PvTooltipPositions;
|
|
|
38
39
|
ariaLabelledBy: string;
|
|
39
40
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
41
|
|
|
41
|
-
declare const __VLS_component_4: DefineComponent<
|
|
42
|
+
declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
42
43
|
"update:modelValue": (value: string | boolean) => any;
|
|
43
|
-
}, string, PublicProps, Readonly<
|
|
44
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
44
45
|
"onUpdate:modelValue"?: ((value: string | boolean) => any) | undefined;
|
|
45
46
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
46
47
|
|
|
47
48
|
declare const __VLS_component_5: DefineComponent<PvSidePanelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSidePanelProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
49
|
|
|
49
|
-
declare const __VLS_component_6: DefineComponent<
|
|
50
|
+
declare const __VLS_component_6: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
50
51
|
"update:modelValue": (value: string) => any;
|
|
51
|
-
}, string, PublicProps, Readonly<
|
|
52
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
|
|
52
53
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
53
54
|
}>, {
|
|
54
55
|
variant: PvGhostInputVariant;
|
|
55
56
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
56
57
|
|
|
57
|
-
declare type __VLS_Props =
|
|
58
|
+
declare type __VLS_Props = PvSearchInputProps;
|
|
58
59
|
|
|
59
|
-
declare type __VLS_Props_2 =
|
|
60
|
+
declare type __VLS_Props_2 = PvDatePickerProps;
|
|
60
61
|
|
|
61
|
-
declare type __VLS_Props_3 =
|
|
62
|
+
declare type __VLS_Props_3 = PvTabsProps;
|
|
62
63
|
|
|
63
|
-
declare type __VLS_Props_4 =
|
|
64
|
+
declare type __VLS_Props_4 = PvPaginationProps;
|
|
64
65
|
|
|
65
|
-
declare type __VLS_Props_5 =
|
|
66
|
+
declare type __VLS_Props_5 = PvSelectableCardProps;
|
|
66
67
|
|
|
67
|
-
declare type __VLS_Props_6 =
|
|
68
|
+
declare type __VLS_Props_6 = PvGhostInputProps;
|
|
68
69
|
|
|
69
|
-
declare type __VLS_Props_7 =
|
|
70
|
+
declare type __VLS_Props_7 = PvToggleButton_2;
|
|
71
|
+
|
|
72
|
+
declare type __VLS_Props_8 = PvCheckboxProps;
|
|
70
73
|
|
|
71
74
|
declare type __VLS_PublicProps = {
|
|
72
|
-
modelValue
|
|
75
|
+
modelValue: string;
|
|
73
76
|
} & __VLS_Props;
|
|
74
77
|
|
|
75
78
|
declare type __VLS_PublicProps_2 = {
|
|
76
|
-
modelValue:
|
|
79
|
+
modelValue: Date;
|
|
77
80
|
} & __VLS_Props_2;
|
|
78
81
|
|
|
79
82
|
declare type __VLS_PublicProps_3 = {
|
|
80
|
-
modelValue:
|
|
83
|
+
modelValue: string;
|
|
81
84
|
} & __VLS_Props_3;
|
|
82
85
|
|
|
83
86
|
declare type __VLS_PublicProps_4 = {
|
|
84
|
-
modelValue:
|
|
87
|
+
modelValue: number;
|
|
85
88
|
} & __VLS_Props_4;
|
|
86
89
|
|
|
87
90
|
declare type __VLS_PublicProps_5 = {
|
|
88
|
-
modelValue
|
|
91
|
+
modelValue?: boolean | string;
|
|
89
92
|
} & __VLS_Props_5;
|
|
90
93
|
|
|
91
94
|
declare type __VLS_PublicProps_6 = {
|
|
92
|
-
modelValue?:
|
|
95
|
+
modelValue?: string;
|
|
93
96
|
} & __VLS_Props_6;
|
|
94
97
|
|
|
95
98
|
declare type __VLS_PublicProps_7 = {
|
|
96
|
-
modelValue?: string;
|
|
99
|
+
modelValue?: boolean | string;
|
|
97
100
|
} & __VLS_Props_7;
|
|
98
101
|
|
|
102
|
+
declare type __VLS_PublicProps_8 = {
|
|
103
|
+
modelValue?: boolean;
|
|
104
|
+
} & __VLS_Props_8;
|
|
105
|
+
|
|
99
106
|
declare function __VLS_template(): {
|
|
100
107
|
attrs: Partial<{}>;
|
|
101
108
|
slots: {
|
|
@@ -177,12 +184,6 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
|
|
|
177
184
|
};
|
|
178
185
|
};
|
|
179
186
|
|
|
180
|
-
declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
181
|
-
new (): {
|
|
182
|
-
$slots: S;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
|
|
186
187
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
187
188
|
new (): {
|
|
188
189
|
$slots: S;
|
|
@@ -260,15 +261,8 @@ declare enum MenuItemType {
|
|
|
260
261
|
checkbox = "checkbox",
|
|
261
262
|
company = "company",
|
|
262
263
|
avatar = "avatar",
|
|
263
|
-
icon = "icon"
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
declare enum MenuItemType_2 {
|
|
267
|
-
simple = "simple",
|
|
268
|
-
company = "company",
|
|
269
|
-
radio = "radio",
|
|
270
264
|
icon = "icon",
|
|
271
|
-
|
|
265
|
+
radio = "radio"
|
|
272
266
|
}
|
|
273
267
|
|
|
274
268
|
declare interface MenuOption {
|
|
@@ -284,23 +278,8 @@ declare interface MenuOption {
|
|
|
284
278
|
};
|
|
285
279
|
}
|
|
286
280
|
|
|
287
|
-
declare interface MenuOption_2 {
|
|
288
|
-
id: string;
|
|
289
|
-
text: string;
|
|
290
|
-
secondaryText?: string | number;
|
|
291
|
-
icon?: string;
|
|
292
|
-
companyName?: string;
|
|
293
|
-
avatar?: {
|
|
294
|
-
initials?: string;
|
|
295
|
-
image?: string;
|
|
296
|
-
icon?: boolean;
|
|
297
|
-
};
|
|
298
|
-
}
|
|
299
|
-
|
|
300
281
|
declare type MenuOptionsVariant = `${MenuItemType}`;
|
|
301
282
|
|
|
302
|
-
declare type MenuOptionsVariant_2 = `${MenuItemType_2}`;
|
|
303
|
-
|
|
304
283
|
declare interface ModalProps {
|
|
305
284
|
header: string;
|
|
306
285
|
subheader?: string;
|
|
@@ -324,7 +303,7 @@ declare type PillSize = Extract<PvSize, "md" | "lg">;
|
|
|
324
303
|
|
|
325
304
|
declare type PillVariant = Extract<PvColorVariants, "default" | "success" | "warning" | "critical" | "highlight">;
|
|
326
305
|
|
|
327
|
-
export declare const PvAccordion:
|
|
306
|
+
export declare const PvAccordion: __VLS_WithTemplateSlots_5<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
328
307
|
|
|
329
308
|
declare interface PvAccordionProps {
|
|
330
309
|
header: string;
|
|
@@ -362,7 +341,7 @@ declare interface PvBadgeProps {
|
|
|
362
341
|
variant: "release-alpha" | "release-beta";
|
|
363
342
|
}
|
|
364
343
|
|
|
365
|
-
export declare const PvBanner:
|
|
344
|
+
export declare const PvBanner: __VLS_WithTemplateSlots_4<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
366
345
|
|
|
367
346
|
declare interface PvBannerProps {
|
|
368
347
|
label: string;
|
|
@@ -409,6 +388,19 @@ declare type PvButtonSize = Extract<PvSize, "md" | "lg" | "xl">;
|
|
|
409
388
|
|
|
410
389
|
declare type PvButtonVariant = Extract<PvVariants, "primary" | "secondary" | "ghost" | "destructive">;
|
|
411
390
|
|
|
391
|
+
export declare const PvCheckbox: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
392
|
+
"update:modelValue": (value: boolean) => any;
|
|
393
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
|
|
394
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
395
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
396
|
+
'checkbox-ref': HTMLInputElement;
|
|
397
|
+
}, HTMLInputElement>;
|
|
398
|
+
|
|
399
|
+
declare interface PvCheckboxProps {
|
|
400
|
+
disabled?: boolean;
|
|
401
|
+
indeterminate?: boolean;
|
|
402
|
+
}
|
|
403
|
+
|
|
412
404
|
declare const PvColorVariants: readonly ["default", "success", "warning", "critical", "highlight"];
|
|
413
405
|
|
|
414
406
|
declare type PvColorVariants = (typeof PvColorVariants)[number];
|
|
@@ -486,9 +478,9 @@ declare type PvCounterBadgeSize = Extract<PvSize, "sm" | "md">;
|
|
|
486
478
|
|
|
487
479
|
declare type PvCounterBadgeVariant = PvVariants;
|
|
488
480
|
|
|
489
|
-
export declare const PvDatePicker: DefineComponent<
|
|
481
|
+
export declare const PvDatePicker: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
490
482
|
"update:modelValue": (value: Date) => any;
|
|
491
|
-
}, string, PublicProps, Readonly<
|
|
483
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
492
484
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
493
485
|
}>, {
|
|
494
486
|
appendTo: "body" | "self";
|
|
@@ -609,7 +601,7 @@ declare interface PvDateTimeProps {
|
|
|
609
601
|
size?: DateTimeSize;
|
|
610
602
|
}
|
|
611
603
|
|
|
612
|
-
export declare const PvDrawer:
|
|
604
|
+
export declare const PvDrawer: __VLS_WithTemplateSlots_6<DefineComponent< {
|
|
613
605
|
"search-input"?: string;
|
|
614
606
|
modelValue: boolean;
|
|
615
607
|
} & PvDrawer_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -747,7 +739,7 @@ declare interface PvDropdownProps {
|
|
|
747
739
|
teleportLocation?: string;
|
|
748
740
|
}
|
|
749
741
|
|
|
750
|
-
export declare const PvGhostInput:
|
|
742
|
+
export declare const PvGhostInput: __VLS_WithTemplateSlots_10<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
751
743
|
|
|
752
744
|
declare interface PvGhostInputProps {
|
|
753
745
|
variant?: PvGhostInputVariant;
|
|
@@ -774,7 +766,7 @@ declare const PvInputVariants: readonly ["h1", "h2", "h3", "h4", "text-md", "tex
|
|
|
774
766
|
|
|
775
767
|
declare type PvInputVariants = (typeof PvInputVariants)[number];
|
|
776
768
|
|
|
777
|
-
export declare const PvModal:
|
|
769
|
+
export declare const PvModal: __VLS_WithTemplateSlots_3<DefineComponent< {
|
|
778
770
|
modelValue: boolean;
|
|
779
771
|
} & ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
780
772
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -819,7 +811,7 @@ counterPosition: "left" | "right";
|
|
|
819
811
|
showDropdown: boolean;
|
|
820
812
|
showMenuAction: boolean;
|
|
821
813
|
showSearchInput: boolean;
|
|
822
|
-
optionsVariant: MenuOptionsVariant
|
|
814
|
+
optionsVariant: Exclude<MenuOptionsVariant, "radio">;
|
|
823
815
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
824
816
|
'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly<PvSelectButtonTrigger> & Readonly<{
|
|
825
817
|
"onHandle-toggle-dropdown"?: (() => any) | undefined;
|
|
@@ -1013,14 +1005,14 @@ declare interface PvMultiSelectButton_2 {
|
|
|
1013
1005
|
showDropdown?: boolean;
|
|
1014
1006
|
showMenuAction?: boolean;
|
|
1015
1007
|
showSearchInput?: boolean;
|
|
1016
|
-
optionsVariant?: MenuOptionsVariant
|
|
1008
|
+
optionsVariant?: Exclude<MenuOptionsVariant, "radio">;
|
|
1017
1009
|
options: MenuOption[];
|
|
1018
1010
|
useTeleport?: boolean;
|
|
1019
1011
|
}
|
|
1020
1012
|
|
|
1021
|
-
export declare const PvPagination: DefineComponent<
|
|
1013
|
+
export declare const PvPagination: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1022
1014
|
"update:modelValue": (value: number) => any;
|
|
1023
|
-
}, string, PublicProps, Readonly<
|
|
1015
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
1024
1016
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
1025
1017
|
}>, {
|
|
1026
1018
|
size: PvPaginationSize;
|
|
@@ -1096,9 +1088,9 @@ declare interface PvPopoverProps {
|
|
|
1096
1088
|
|
|
1097
1089
|
export declare const PvReleaseBadge: DefineComponent<PvBadgeProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvBadgeProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1098
1090
|
|
|
1099
|
-
export declare const PvSearchInput: DefineComponent<
|
|
1091
|
+
export declare const PvSearchInput: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1100
1092
|
"update:modelValue": (value: string) => any;
|
|
1101
|
-
}, string, PublicProps, Readonly<
|
|
1093
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1102
1094
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1103
1095
|
}>, {
|
|
1104
1096
|
disabled: boolean;
|
|
@@ -1134,182 +1126,7 @@ declare interface PvSegmentedControlWithTextLabelProps extends PvSegmentedContro
|
|
|
1134
1126
|
iconOnly?: false;
|
|
1135
1127
|
}
|
|
1136
1128
|
|
|
1137
|
-
export declare const
|
|
1138
|
-
"update:modelValue": (value: string) => any;
|
|
1139
|
-
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1140
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1141
|
-
}>, {
|
|
1142
|
-
disabled: boolean;
|
|
1143
|
-
options: Option_2[] | OptionWithIcon[];
|
|
1144
|
-
defaultText: string;
|
|
1145
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1146
|
-
dropdown: ({
|
|
1147
|
-
$: ComponentInternalInstance;
|
|
1148
|
-
$data: {};
|
|
1149
|
-
$props: {
|
|
1150
|
-
readonly defaultOpen?: boolean | undefined;
|
|
1151
|
-
readonly popoverCssProperties?: CSSProperties | undefined;
|
|
1152
|
-
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
1153
|
-
readonly isList?: boolean | undefined;
|
|
1154
|
-
readonly isSortable?: boolean | undefined;
|
|
1155
|
-
readonly icon?: boolean | undefined;
|
|
1156
|
-
readonly disabled?: boolean | undefined;
|
|
1157
|
-
readonly isLoading?: boolean | undefined;
|
|
1158
|
-
readonly useTeleport?: boolean | undefined;
|
|
1159
|
-
readonly teleportLocation?: string | undefined;
|
|
1160
|
-
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1161
|
-
readonly "onDropdown-open"?: (() => any) | undefined;
|
|
1162
|
-
readonly "onDropdown-closed"?: (() => any) | undefined;
|
|
1163
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1164
|
-
$attrs: {
|
|
1165
|
-
[x: string]: unknown;
|
|
1166
|
-
};
|
|
1167
|
-
$refs: {
|
|
1168
|
-
[x: string]: unknown;
|
|
1169
|
-
} & {
|
|
1170
|
-
triggerRef: HTMLButtonElement;
|
|
1171
|
-
popoverRef: ({
|
|
1172
|
-
$: ComponentInternalInstance;
|
|
1173
|
-
$data: {};
|
|
1174
|
-
$props: {
|
|
1175
|
-
readonly alignment?: "top" | "right" | "top right" | undefined | undefined;
|
|
1176
|
-
readonly cssCustomProperties?: CSSProperties | undefined;
|
|
1177
|
-
readonly cssCustomListProperties?: CSSProperties | undefined;
|
|
1178
|
-
readonly isList?: boolean | undefined;
|
|
1179
|
-
readonly isSortable?: boolean | undefined;
|
|
1180
|
-
readonly "onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1181
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1182
|
-
$attrs: {
|
|
1183
|
-
[x: string]: unknown;
|
|
1184
|
-
};
|
|
1185
|
-
$refs: {
|
|
1186
|
-
[x: string]: unknown;
|
|
1187
|
-
} & {
|
|
1188
|
-
popoverRoot: HTMLDivElement;
|
|
1189
|
-
popoverList: HTMLUListElement;
|
|
1190
|
-
};
|
|
1191
|
-
$slots: Readonly<{
|
|
1192
|
-
[name: string]: Slot<any> | undefined;
|
|
1193
|
-
}>;
|
|
1194
|
-
$root: ComponentPublicInstance | null;
|
|
1195
|
-
$parent: ComponentPublicInstance | null;
|
|
1196
|
-
$host: Element | null;
|
|
1197
|
-
$emit: (event: "list-order-updated", value: string[]) => void;
|
|
1198
|
-
$el: HTMLDivElement;
|
|
1199
|
-
$options: ComponentOptionsBase<Readonly<PvPopoverProps> & Readonly<{
|
|
1200
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1201
|
-
}>, {
|
|
1202
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1203
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1204
|
-
"list-order-updated": (value: string[]) => any;
|
|
1205
|
-
}, string, {
|
|
1206
|
-
alignment: "top" | "right" | "top right";
|
|
1207
|
-
cssCustomProperties: CSSProperties;
|
|
1208
|
-
isList: boolean;
|
|
1209
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1210
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1211
|
-
created?: (() => void) | (() => void)[];
|
|
1212
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1213
|
-
mounted?: (() => void) | (() => void)[];
|
|
1214
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1215
|
-
updated?: (() => void) | (() => void)[];
|
|
1216
|
-
activated?: (() => void) | (() => void)[];
|
|
1217
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1218
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1219
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1220
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1221
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1222
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1223
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1224
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1225
|
-
};
|
|
1226
|
-
$forceUpdate: () => void;
|
|
1227
|
-
$nextTick: nextTick;
|
|
1228
|
-
$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;
|
|
1229
|
-
} & Readonly<{
|
|
1230
|
-
alignment: "top" | "right" | "top right";
|
|
1231
|
-
cssCustomProperties: CSSProperties;
|
|
1232
|
-
isList: boolean;
|
|
1233
|
-
}> & Omit<Readonly<PvPopoverProps> & Readonly<{
|
|
1234
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1235
|
-
}>, "popoverRoot" | ("alignment" | "cssCustomProperties" | "isList")> & ShallowUnwrapRef< {
|
|
1236
|
-
popoverRoot: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1237
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
1238
|
-
$slots: {
|
|
1239
|
-
default?(_: {}): any;
|
|
1240
|
-
default?(_: {}): any;
|
|
1241
|
-
};
|
|
1242
|
-
}) | null;
|
|
1243
|
-
};
|
|
1244
|
-
$slots: Readonly<{
|
|
1245
|
-
[name: string]: Slot<any> | undefined;
|
|
1246
|
-
}>;
|
|
1247
|
-
$root: ComponentPublicInstance | null;
|
|
1248
|
-
$parent: ComponentPublicInstance | null;
|
|
1249
|
-
$host: Element | null;
|
|
1250
|
-
$emit: ((event: "list-order-updated", value: string[]) => void) & ((event: "dropdown-open") => void) & ((event: "dropdown-closed") => void);
|
|
1251
|
-
$el: HTMLDivElement;
|
|
1252
|
-
$options: ComponentOptionsBase<Readonly<PvDropdownProps> & Readonly<{
|
|
1253
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1254
|
-
"onDropdown-open"?: (() => any) | undefined;
|
|
1255
|
-
"onDropdown-closed"?: (() => any) | undefined;
|
|
1256
|
-
}>, {
|
|
1257
|
-
closeDropdown: () => void;
|
|
1258
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1259
|
-
"list-order-updated": (value: string[]) => any;
|
|
1260
|
-
"dropdown-open": () => any;
|
|
1261
|
-
"dropdown-closed": () => any;
|
|
1262
|
-
}, string, {
|
|
1263
|
-
disabled: boolean;
|
|
1264
|
-
alignment: "top" | "right" | "top right";
|
|
1265
|
-
isList: boolean;
|
|
1266
|
-
defaultOpen: boolean;
|
|
1267
|
-
isLoading: boolean;
|
|
1268
|
-
useTeleport: boolean;
|
|
1269
|
-
teleportLocation: string;
|
|
1270
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1271
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1272
|
-
created?: (() => void) | (() => void)[];
|
|
1273
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1274
|
-
mounted?: (() => void) | (() => void)[];
|
|
1275
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1276
|
-
updated?: (() => void) | (() => void)[];
|
|
1277
|
-
activated?: (() => void) | (() => void)[];
|
|
1278
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1279
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1280
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1281
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1282
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1283
|
-
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1284
|
-
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1285
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1286
|
-
};
|
|
1287
|
-
$forceUpdate: () => void;
|
|
1288
|
-
$nextTick: nextTick;
|
|
1289
|
-
$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;
|
|
1290
|
-
} & Readonly<{
|
|
1291
|
-
disabled: boolean;
|
|
1292
|
-
alignment: "top" | "right" | "top right";
|
|
1293
|
-
isList: boolean;
|
|
1294
|
-
defaultOpen: boolean;
|
|
1295
|
-
isLoading: boolean;
|
|
1296
|
-
useTeleport: boolean;
|
|
1297
|
-
teleportLocation: string;
|
|
1298
|
-
}> & Omit<Readonly<PvDropdownProps> & Readonly<{
|
|
1299
|
-
"onList-order-updated"?: ((value: string[]) => any) | undefined;
|
|
1300
|
-
"onDropdown-open"?: (() => any) | undefined;
|
|
1301
|
-
"onDropdown-closed"?: (() => any) | undefined;
|
|
1302
|
-
}>, "closeDropdown" | ("disabled" | "alignment" | "isList" | "defaultOpen" | "isLoading" | "useTeleport" | "teleportLocation")> & ShallowUnwrapRef< {
|
|
1303
|
-
closeDropdown: () => void;
|
|
1304
|
-
}> & {} & ComponentCustomProperties & {} & {
|
|
1305
|
-
$slots: {
|
|
1306
|
-
trigger?(_: {}): any;
|
|
1307
|
-
default?(_: {}): any;
|
|
1308
|
-
};
|
|
1309
|
-
}) | null;
|
|
1310
|
-
}, HTMLDivElement>;
|
|
1311
|
-
|
|
1312
|
-
export declare const PvSelectableCard: __VLS_WithTemplateSlots_9<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1129
|
+
export declare const PvSelectableCard: __VLS_WithTemplateSlots_8<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
1313
1130
|
|
|
1314
1131
|
declare interface PvSelectableCardProps {
|
|
1315
1132
|
variant?: "default" | "highlight";
|
|
@@ -1319,21 +1136,21 @@ declare interface PvSelectableCardProps {
|
|
|
1319
1136
|
}
|
|
1320
1137
|
|
|
1321
1138
|
export declare const PvSelectButton: DefineComponent< {
|
|
1322
|
-
modelValue?:
|
|
1139
|
+
modelValue?: MenuOption;
|
|
1323
1140
|
searchInput?: string;
|
|
1324
1141
|
} & PvSelectButton_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1325
|
-
"update:modelValue": (value:
|
|
1142
|
+
"update:modelValue": (value: MenuOption) => any;
|
|
1326
1143
|
"update:searchInput": (value: string) => any;
|
|
1327
1144
|
} & {
|
|
1328
1145
|
"dropdown-open": () => any;
|
|
1329
1146
|
"dropdown-closed": () => any;
|
|
1330
1147
|
}, string, PublicProps, Readonly<{
|
|
1331
|
-
modelValue?:
|
|
1148
|
+
modelValue?: MenuOption;
|
|
1332
1149
|
searchInput?: string;
|
|
1333
1150
|
} & PvSelectButton_2> & Readonly<{
|
|
1334
1151
|
"onDropdown-open"?: (() => any) | undefined;
|
|
1335
1152
|
"onDropdown-closed"?: (() => any) | undefined;
|
|
1336
|
-
"onUpdate:modelValue"?: ((value:
|
|
1153
|
+
"onUpdate:modelValue"?: ((value: MenuOption) => any) | undefined;
|
|
1337
1154
|
"onUpdate:searchInput"?: ((value: string) => any) | undefined;
|
|
1338
1155
|
}>, {
|
|
1339
1156
|
size: PvSelectButtonSize_2;
|
|
@@ -1342,7 +1159,7 @@ variant: PvSelectButtonVariant_2;
|
|
|
1342
1159
|
useTeleport: boolean;
|
|
1343
1160
|
teleportLocation: string;
|
|
1344
1161
|
showSearchInput: boolean;
|
|
1345
|
-
optionsVariant:
|
|
1162
|
+
optionsVariant: Exclude<MenuOptionsVariant, "checkbox">;
|
|
1346
1163
|
allowDeselect: boolean;
|
|
1347
1164
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1348
1165
|
'select-button-trigger-ref': CreateComponentPublicInstanceWithMixins<Readonly<PvSelectButtonTrigger> & Readonly<{
|
|
@@ -1533,8 +1350,8 @@ declare interface PvSelectButton_2 {
|
|
|
1533
1350
|
label?: string;
|
|
1534
1351
|
showMenuAction?: boolean;
|
|
1535
1352
|
showSearchInput?: boolean;
|
|
1536
|
-
optionsVariant?:
|
|
1537
|
-
options:
|
|
1353
|
+
optionsVariant?: Exclude<MenuOptionsVariant, "checkbox">;
|
|
1354
|
+
options: MenuOption[];
|
|
1538
1355
|
useTeleport?: boolean;
|
|
1539
1356
|
allowDeselect?: boolean;
|
|
1540
1357
|
}
|
|
@@ -1571,14 +1388,7 @@ declare interface PvSelectMenu {
|
|
|
1571
1388
|
useTeleport?: boolean;
|
|
1572
1389
|
}
|
|
1573
1390
|
|
|
1574
|
-
declare
|
|
1575
|
-
options: Option_2[] | OptionWithIcon[];
|
|
1576
|
-
defaultText?: string;
|
|
1577
|
-
disabled?: boolean;
|
|
1578
|
-
triggerCssProperties?: CSSProperties;
|
|
1579
|
-
}
|
|
1580
|
-
|
|
1581
|
-
export declare const PvSidePanel: __VLS_WithTemplateSlots_10<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1391
|
+
export declare const PvSidePanel: __VLS_WithTemplateSlots_9<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
1582
1392
|
|
|
1583
1393
|
declare interface PvSidePanelProps {
|
|
1584
1394
|
showLeftSidebar?: boolean;
|
|
@@ -1589,6 +1399,15 @@ declare type PvSize = (typeof PvSizes)[number];
|
|
|
1589
1399
|
|
|
1590
1400
|
declare const PvSizes: readonly ["xs", "sm", "md", "lg", "xl", "2x"];
|
|
1591
1401
|
|
|
1402
|
+
export declare const PvSprite: DefineComponent<PvSpriteProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<PvSpriteProps> & Readonly<{}>, {
|
|
1403
|
+
variant: "v1" | "v2";
|
|
1404
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1405
|
+
|
|
1406
|
+
declare type PvSpriteProps = {
|
|
1407
|
+
src: string;
|
|
1408
|
+
variant?: "v1" | "v2";
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1592
1411
|
export declare const PvSuggestionTag: DefineComponent<PvSuggestionTag_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1593
1412
|
"handle-click": (label: string) => any;
|
|
1594
1413
|
}, string, PublicProps, Readonly<PvSuggestionTag_2> & Readonly<{
|
|
@@ -1628,9 +1447,9 @@ declare interface PvTabListBaseProps {
|
|
|
1628
1447
|
options: Option_2[];
|
|
1629
1448
|
}
|
|
1630
1449
|
|
|
1631
|
-
export declare const PvTabs: DefineComponent<
|
|
1450
|
+
export declare const PvTabs: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1632
1451
|
"update:modelValue": (value: string) => any;
|
|
1633
|
-
}, string, PublicProps, Readonly<
|
|
1452
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
1634
1453
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1635
1454
|
}>, {
|
|
1636
1455
|
size: TabSize;
|
|
@@ -1681,41 +1500,35 @@ declare interface PvTagProps {
|
|
|
1681
1500
|
rounded?: boolean;
|
|
1682
1501
|
}
|
|
1683
1502
|
|
|
1684
|
-
export declare const
|
|
1685
|
-
modelValue
|
|
1686
|
-
} & {
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
}
|
|
1707
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1708
|
-
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1709
|
-
inputRef: HTMLInputElement;
|
|
1710
|
-
}, HTMLLabelElement>, {
|
|
1711
|
-
default?(_: {}): any;
|
|
1712
|
-
}>;
|
|
1503
|
+
export declare const PvToggleButton: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1504
|
+
"update:modelValue": (value: string | boolean) => any;
|
|
1505
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
|
|
1506
|
+
"onUpdate:modelValue"?: ((value: string | boolean) => any) | undefined;
|
|
1507
|
+
}>, {
|
|
1508
|
+
size: PvToggleButtonSize;
|
|
1509
|
+
variant: PvToggleButtonVariant;
|
|
1510
|
+
deselect: boolean;
|
|
1511
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
1512
|
+
|
|
1513
|
+
declare interface PvToggleButton_2 {
|
|
1514
|
+
size?: PvToggleButtonSize;
|
|
1515
|
+
variant?: PvToggleButtonVariant;
|
|
1516
|
+
rounded?: boolean;
|
|
1517
|
+
disabled?: boolean;
|
|
1518
|
+
value?: string;
|
|
1519
|
+
label?: string;
|
|
1520
|
+
leftIcon?: string;
|
|
1521
|
+
rightIcon?: string;
|
|
1522
|
+
id?: string;
|
|
1523
|
+
name?: string;
|
|
1524
|
+
deselect?: boolean;
|
|
1525
|
+
}
|
|
1713
1526
|
|
|
1714
|
-
declare type
|
|
1527
|
+
declare type PvToggleButtonSize = Extract<PvSize, "lg" | "xl">;
|
|
1715
1528
|
|
|
1716
|
-
declare
|
|
1529
|
+
declare type PvToggleButtonVariant = Extract<PvVariants, "secondary" | "tertiary">;
|
|
1717
1530
|
|
|
1718
|
-
export declare const PvTooltip:
|
|
1531
|
+
export declare const PvTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
1719
1532
|
|
|
1720
1533
|
declare type PvTooltipPositions = "bottom-center" | "bottom-right" | "top-left" | "top-center" | "top-right" | "center-right";
|
|
1721
1534
|
|
|
@@ -1753,4 +1566,6 @@ export declare const useDateTime: () => {
|
|
|
1753
1566
|
}) => string;
|
|
1754
1567
|
};
|
|
1755
1568
|
|
|
1569
|
+
export declare const usePvComponents: (app: App<Element>) => void;
|
|
1570
|
+
|
|
1756
1571
|
export { }
|