@maltjoy/core-vue 3.37.0 → 3.37.1-next
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/dist/App.vue.d.ts +1 -1
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -4
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +10 -10
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +4 -4
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +4 -4
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +4 -4
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +4 -4
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +8 -8
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +52 -93
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +7 -7
- package/dist/components/JoyButton/useRandomId.d.ts +1 -1
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +15 -15
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +27 -52
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +9 -9
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +7 -7
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +16 -16
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +13 -13
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +82 -193
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +4 -4
- package/dist/components/JoyDot/VJoyDot.vue.d.ts +4 -4
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +13 -13
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +78 -171
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +13 -13
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +11 -11
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +16 -10
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +7 -7
- package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +3 -3
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +3 -3
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +6 -6
- package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +1 -1
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +4 -4
- package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +5 -5
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +6 -6
- package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +1 -1
- package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +1 -1
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +5 -5
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +4 -4
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -4
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +10 -10
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +12 -12
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +5 -5
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +4 -4
- package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +6 -15
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +8 -8
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +6 -6
- package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +6 -6
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -6
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +4 -4
- package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +113 -150
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +6 -27
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +8 -43
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +48 -257
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +6 -6
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +10 -10
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +4 -4
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +5 -5
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +4 -4
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +11 -11
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +10 -10
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +9 -9
- package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +4 -4
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -6
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +3 -3
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +7 -7
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +19 -46
- package/dist/components/JoyTab/TabButton.vue.d.ts +6 -6
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +4 -4
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +12 -28
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +9 -44
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +13 -13
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +15 -15
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +4 -4
- package/dist/components/JoyTemplateShape/VJoyTemplateShape.vue.d.ts +1 -1
- package/dist/components/JoyText/VJoyText.vue.d.ts +7 -7
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +10 -10
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +7 -7
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +7 -7
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +3 -3
- package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +9 -36
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +1 -10
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +5 -5
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/composables/helpers.d.ts +1 -1
- package/dist/joy-core-vue-manifest.json +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +2 -2
- package/dist/pages/FunnelAndStepper.vue.d.ts +1 -1
- package/dist/pages/FunnelMode.vue.d.ts +1 -1
- package/dist/pages/IndexPage.vue.d.ts +1 -1
- package/dist/style-5r5kgKhD.cjs +16 -0
- package/dist/{style-DqUSTCzR.js → style-CyY04g9F.js} +1775 -1775
- package/dist/style.css +1 -1
- package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
- package/package.json +43 -42
- package/LICENSE +0 -21
- package/dist/style-DiEVDLd0.cjs +0 -16
package/dist/App.vue.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyAvailabilityStatus } from './JoyAvailability.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** Don't fill it and you'll only have the colored dot */
|
|
5
5
|
label: StringConstructor;
|
|
6
6
|
status: {
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
* Partial availabilty. Not 5 days/week cases
|
|
12
12
|
*/
|
|
13
13
|
isPartial: BooleanConstructor;
|
|
14
|
-
}
|
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
/** Don't fill it and you'll only have the colored dot */
|
|
16
16
|
label: StringConstructor;
|
|
17
17
|
status: {
|
|
@@ -22,8 +22,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
* Partial availabilty. Not 5 days/week cases
|
|
23
23
|
*/
|
|
24
24
|
isPartial: BooleanConstructor;
|
|
25
|
-
}
|
|
25
|
+
}>> & Readonly<{}>, {
|
|
26
26
|
status: TJoyAvailabilityStatus;
|
|
27
27
|
isPartial: boolean;
|
|
28
|
-
}, {}>;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
29
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyAvatarSizes } from './JoyAvatar.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** 3 different sizes of avatar */
|
|
5
5
|
size: {
|
|
6
6
|
type: PropType<TJoyAvatarSizes>;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
};
|
|
27
27
|
/** Only applied if you set a photoUrl */
|
|
28
28
|
loading: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"lazy" | "eager">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
/** Basic state with no information */
|
|
@@ -34,11 +34,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
isAnonymous: import("vue").ComputedRef<boolean>;
|
|
39
39
|
initials: import("vue").ComputedRef<string>;
|
|
40
|
-
},
|
|
41
|
-
click: () =>
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
41
|
+
click: () => any;
|
|
42
42
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
/** 3 different sizes of avatar */
|
|
44
44
|
size: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
65
65
|
};
|
|
66
66
|
/** Only applied if you set a photoUrl */
|
|
67
67
|
loading: {
|
|
68
|
-
type: PropType<"
|
|
68
|
+
type: PropType<"lazy" | "eager">;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
/** Basic state with no information */
|
|
@@ -73,14 +73,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
type: BooleanConstructor;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
|
-
}>> & {
|
|
76
|
+
}>> & Readonly<{
|
|
77
77
|
onClick?: (() => any) | undefined;
|
|
78
|
-
}
|
|
78
|
+
}>, {
|
|
79
79
|
link: boolean;
|
|
80
|
+
loading: "lazy" | "eager";
|
|
80
81
|
size: TJoyAvatarSizes;
|
|
81
|
-
loading: "eager" | "lazy";
|
|
82
82
|
color: import("./JoyAvatar.types").FreelancerAvatarColors | "transparent";
|
|
83
83
|
profile: "default" | "strategy";
|
|
84
84
|
isEmpty: boolean;
|
|
85
|
-
}, {}>;
|
|
85
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
86
|
export default _default;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
/** Renders a compact list of avatars */
|
|
3
3
|
compress: {
|
|
4
4
|
type: BooleanConstructor;
|
|
5
5
|
default: boolean;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
/** Renders a compact list of avatars */
|
|
9
9
|
compress: {
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
13
|
-
}
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
14
|
compress: boolean;
|
|
15
|
-
}, {}>, Readonly<{
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
16
16
|
/** Use this slot to inject all your VJoyAvatar. VJoyAvatars applies some style to the list. */
|
|
17
17
|
default(): any;
|
|
18
18
|
}> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
/**
|
|
4
4
|
* Display the colored bulletpoint on the left
|
|
5
5
|
*/
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
number: NumberConstructor;
|
|
27
|
-
}
|
|
27
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
/**
|
|
29
29
|
* Display the colored bulletpoint on the left
|
|
30
30
|
*/
|
|
@@ -49,11 +49,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
51
|
number: NumberConstructor;
|
|
52
|
-
}
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
53
53
|
label: string;
|
|
54
54
|
variant: import("../JoyDot/VJoyDot.types").TJoyDotVariants;
|
|
55
55
|
bulletpoint: boolean;
|
|
56
|
-
}, {}>, Readonly<{
|
|
56
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
57
57
|
/** Use the slot as an alternative to "label" property. */
|
|
58
58
|
default(): any;
|
|
59
59
|
}> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
/** type: `TJoyBadges` */
|
|
4
4
|
type: {
|
|
5
5
|
type: PropType<"highpotential" | "high-potential-auto" | "maltlinker" | "new" | "supermalter" | "verified" | "program_high-potential">;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
type: BooleanConstructor;
|
|
16
16
|
default: boolean;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
/** type: `TJoyBadges` */
|
|
20
20
|
type: {
|
|
21
21
|
type: PropType<"highpotential" | "high-potential-auto" | "maltlinker" | "new" | "supermalter" | "verified" | "program_high-potential">;
|
|
@@ -31,10 +31,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
31
|
type: BooleanConstructor;
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
|
-
}
|
|
34
|
+
}>> & Readonly<{}>, {
|
|
35
35
|
superMalterLevel: number;
|
|
36
36
|
visibleText: boolean;
|
|
37
|
-
}, {}>, Readonly<{
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
38
38
|
/** Override the default given label */
|
|
39
39
|
default(): any;
|
|
40
40
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
/** If you want to use it properly you need to set fixed width and height */
|
|
3
3
|
circle: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12
12
|
height: {
|
|
13
13
|
type: StringConstructor;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
/** If you want to use it properly you need to set fixed width and height */
|
|
17
17
|
circle: {
|
|
18
18
|
type: BooleanConstructor;
|
|
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
26
|
height: {
|
|
27
27
|
type: StringConstructor;
|
|
28
28
|
};
|
|
29
|
-
}
|
|
29
|
+
}>> & Readonly<{}>, {
|
|
30
30
|
circle: boolean;
|
|
31
|
-
}, {}>;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -5,7 +5,7 @@ import { PropType } from 'vue';
|
|
|
5
5
|
declare function show(): void;
|
|
6
6
|
declare function hide(): void;
|
|
7
7
|
declare function moveContainer(translationY: number): void;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
/** Automatically renders a CTA that closes the bottom-sheet */
|
|
10
10
|
closeLabel: {
|
|
11
11
|
type: StringConstructor;
|
|
@@ -34,13 +34,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
37
|
+
}>, {
|
|
38
38
|
hide: typeof hide;
|
|
39
39
|
show: typeof show;
|
|
40
|
-
isOpen: import("vue").Ref<boolean>;
|
|
40
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
41
41
|
moveContainer: typeof moveContainer;
|
|
42
|
-
},
|
|
43
|
-
"bottom-sheet:close": () =>
|
|
42
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
43
|
+
"bottom-sheet:close": () => any;
|
|
44
44
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
/** Automatically renders a CTA that closes the bottom-sheet */
|
|
46
46
|
closeLabel: {
|
|
@@ -70,15 +70,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
70
70
|
type: BooleanConstructor;
|
|
71
71
|
default: boolean;
|
|
72
72
|
};
|
|
73
|
-
}>> & {
|
|
73
|
+
}>> & Readonly<{
|
|
74
74
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
75
|
-
}
|
|
75
|
+
}>, {
|
|
76
76
|
closeLabel: string;
|
|
77
77
|
open: boolean;
|
|
78
78
|
preventBodyScroll: boolean;
|
|
79
79
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
80
80
|
frozen: boolean;
|
|
81
|
-
}, {}>, Readonly<{
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
82
82
|
/** Main content of the component */
|
|
83
83
|
'bottom-sheet-content': () => any;
|
|
84
84
|
/** Put whatever type of CTA you need here */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
/** VJoyBottomSheet ref. */
|
|
3
3
|
bottomSheet: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -15,31 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
readonly preventBodyScroll: boolean;
|
|
16
16
|
readonly teleport: string | import("vue").RendererElement | null | undefined;
|
|
17
17
|
readonly frozen: boolean;
|
|
18
|
-
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
19
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
|
20
|
-
closeLabel: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
open: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
preventBodyScroll: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
teleport: {
|
|
33
|
-
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
frozen: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}>> & {
|
|
41
|
-
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
42
|
-
}, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
|
|
18
|
+
readonly "onBottom-sheet:close"?: (() => any) | undefined;
|
|
19
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
|
|
43
20
|
$attrs: {
|
|
44
21
|
[x: string]: unknown;
|
|
45
22
|
};
|
|
@@ -49,8 +26,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
26
|
$slots: Readonly<{
|
|
50
27
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
51
28
|
}>;
|
|
52
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
53
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
29
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
30
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
31
|
+
$host: Element | null;
|
|
54
32
|
$emit: (event: "bottom-sheet:close") => void;
|
|
55
33
|
$el: any;
|
|
56
34
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -74,22 +52,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
74
52
|
type: BooleanConstructor;
|
|
75
53
|
default: boolean;
|
|
76
54
|
};
|
|
77
|
-
}>> & {
|
|
55
|
+
}>> & Readonly<{
|
|
78
56
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
79
|
-
}
|
|
57
|
+
}>, {
|
|
80
58
|
hide: () => void;
|
|
81
59
|
show: () => void;
|
|
82
|
-
isOpen: import("vue").Ref<boolean>;
|
|
60
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
83
61
|
moveContainer: (translationY: number) => void;
|
|
84
|
-
},
|
|
85
|
-
"bottom-sheet:close": () =>
|
|
62
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
63
|
+
"bottom-sheet:close": () => any;
|
|
86
64
|
}, string, {
|
|
87
65
|
closeLabel: string;
|
|
88
66
|
open: boolean;
|
|
89
67
|
preventBodyScroll: boolean;
|
|
90
68
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
91
69
|
frozen: boolean;
|
|
92
|
-
}, {}, string, {}> & {
|
|
70
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
93
71
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
94
72
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
95
73
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -104,12 +82,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
104
82
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
105
83
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
106
84
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
107
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
85
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
108
86
|
};
|
|
109
87
|
$forceUpdate: () => void;
|
|
110
88
|
$nextTick: typeof import("vue").nextTick;
|
|
111
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (
|
|
112
|
-
} &
|
|
89
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
90
|
+
} & Readonly<{
|
|
91
|
+
closeLabel: string;
|
|
92
|
+
open: boolean;
|
|
93
|
+
preventBodyScroll: boolean;
|
|
94
|
+
teleport: string | import("vue").RendererElement | null | undefined;
|
|
95
|
+
frozen: boolean;
|
|
96
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
113
97
|
closeLabel: {
|
|
114
98
|
type: StringConstructor;
|
|
115
99
|
default: string;
|
|
@@ -130,12 +114,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
130
114
|
type: BooleanConstructor;
|
|
131
115
|
default: boolean;
|
|
132
116
|
};
|
|
133
|
-
}>> & {
|
|
117
|
+
}>> & Readonly<{
|
|
134
118
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
135
|
-
}
|
|
119
|
+
}>, "hide" | "show" | "isOpen" | "moveContainer" | ("closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen")> & import("vue").ShallowUnwrapRef<{
|
|
136
120
|
hide: () => void;
|
|
137
121
|
show: () => void;
|
|
138
|
-
isOpen: import("vue").Ref<boolean>;
|
|
122
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
139
123
|
moveContainer: (translationY: number) => void;
|
|
140
124
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
141
125
|
$slots: Readonly<{
|
|
@@ -146,9 +130,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
146
130
|
'bottom-sheet-cta': () => any;
|
|
147
131
|
};
|
|
148
132
|
}) | null | undefined;
|
|
149
|
-
}
|
|
150
|
-
click: () =>
|
|
151
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
133
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
134
|
+
click: () => any;
|
|
135
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
152
136
|
/** VJoyBottomSheet ref. */
|
|
153
137
|
bottomSheet: ({
|
|
154
138
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -165,31 +149,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
165
149
|
readonly preventBodyScroll: boolean;
|
|
166
150
|
readonly teleport: string | import("vue").RendererElement | null | undefined;
|
|
167
151
|
readonly frozen: boolean;
|
|
168
|
-
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
169
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
|
170
|
-
closeLabel: {
|
|
171
|
-
type: StringConstructor;
|
|
172
|
-
default: string;
|
|
173
|
-
};
|
|
174
|
-
open: {
|
|
175
|
-
type: BooleanConstructor;
|
|
176
|
-
default: boolean;
|
|
177
|
-
};
|
|
178
|
-
preventBodyScroll: {
|
|
179
|
-
type: BooleanConstructor;
|
|
180
|
-
default: boolean;
|
|
181
|
-
};
|
|
182
|
-
teleport: {
|
|
183
|
-
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
184
|
-
default: string;
|
|
185
|
-
};
|
|
186
|
-
frozen: {
|
|
187
|
-
type: BooleanConstructor;
|
|
188
|
-
default: boolean;
|
|
189
|
-
};
|
|
190
|
-
}>> & {
|
|
191
|
-
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
192
|
-
}, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
|
|
152
|
+
readonly "onBottom-sheet:close"?: (() => any) | undefined;
|
|
153
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen">;
|
|
193
154
|
$attrs: {
|
|
194
155
|
[x: string]: unknown;
|
|
195
156
|
};
|
|
@@ -199,8 +160,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
199
160
|
$slots: Readonly<{
|
|
200
161
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
201
162
|
}>;
|
|
202
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
203
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
163
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
164
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
165
|
+
$host: Element | null;
|
|
204
166
|
$emit: (event: "bottom-sheet:close") => void;
|
|
205
167
|
$el: any;
|
|
206
168
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -224,22 +186,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
224
186
|
type: BooleanConstructor;
|
|
225
187
|
default: boolean;
|
|
226
188
|
};
|
|
227
|
-
}>> & {
|
|
189
|
+
}>> & Readonly<{
|
|
228
190
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
229
|
-
}
|
|
191
|
+
}>, {
|
|
230
192
|
hide: () => void;
|
|
231
193
|
show: () => void;
|
|
232
|
-
isOpen: import("vue").Ref<boolean>;
|
|
194
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
233
195
|
moveContainer: (translationY: number) => void;
|
|
234
|
-
},
|
|
235
|
-
"bottom-sheet:close": () =>
|
|
196
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
197
|
+
"bottom-sheet:close": () => any;
|
|
236
198
|
}, string, {
|
|
237
199
|
closeLabel: string;
|
|
238
200
|
open: boolean;
|
|
239
201
|
preventBodyScroll: boolean;
|
|
240
202
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
241
203
|
frozen: boolean;
|
|
242
|
-
}, {}, string, {}> & {
|
|
204
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
243
205
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
244
206
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
245
207
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -254,12 +216,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
254
216
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
255
217
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
256
218
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
257
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
219
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
258
220
|
};
|
|
259
221
|
$forceUpdate: () => void;
|
|
260
222
|
$nextTick: typeof import("vue").nextTick;
|
|
261
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (
|
|
262
|
-
} &
|
|
223
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
224
|
+
} & Readonly<{
|
|
225
|
+
closeLabel: string;
|
|
226
|
+
open: boolean;
|
|
227
|
+
preventBodyScroll: boolean;
|
|
228
|
+
teleport: string | import("vue").RendererElement | null | undefined;
|
|
229
|
+
frozen: boolean;
|
|
230
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
263
231
|
closeLabel: {
|
|
264
232
|
type: StringConstructor;
|
|
265
233
|
default: string;
|
|
@@ -280,12 +248,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
280
248
|
type: BooleanConstructor;
|
|
281
249
|
default: boolean;
|
|
282
250
|
};
|
|
283
|
-
}>> & {
|
|
251
|
+
}>> & Readonly<{
|
|
284
252
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
285
|
-
}
|
|
253
|
+
}>, "hide" | "show" | "isOpen" | "moveContainer" | ("closeLabel" | "open" | "preventBodyScroll" | "teleport" | "frozen")> & import("vue").ShallowUnwrapRef<{
|
|
286
254
|
hide: () => void;
|
|
287
255
|
show: () => void;
|
|
288
|
-
isOpen: import("vue").Ref<boolean>;
|
|
256
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
289
257
|
moveContainer: (translationY: number) => void;
|
|
290
258
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
291
259
|
$slots: Readonly<{
|
|
@@ -296,9 +264,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
296
264
|
'bottom-sheet-cta': () => any;
|
|
297
265
|
};
|
|
298
266
|
}) | null | undefined;
|
|
299
|
-
}
|
|
267
|
+
}> & Readonly<{
|
|
300
268
|
onClick?: (() => any) | undefined;
|
|
301
|
-
}, {}, {}>, Readonly<{
|
|
269
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
302
270
|
/** @slot Default slot where you can render anything you need. */
|
|
303
271
|
default: () => any;
|
|
304
272
|
}> & {
|
|
@@ -311,12 +279,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
311
279
|
$slots: S;
|
|
312
280
|
};
|
|
313
281
|
};
|
|
314
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
315
|
-
type __VLS_TypePropsToOption<T> = {
|
|
316
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
317
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
318
|
-
} : {
|
|
319
|
-
type: import('vue').PropType<T[K]>;
|
|
320
|
-
required: true;
|
|
321
|
-
};
|
|
322
|
-
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TJoyButtonSizes, TJoyButtonVariants } from './JoyButton.types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/**
|
|
5
5
|
* If you only need a button with an icon. To keep your component accessible, you can give a text as slot, it will be used as title and aria-label.
|
|
6
6
|
* This property takes effect only if icon property is set
|
|
@@ -39,9 +39,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
39
39
|
type: PropType<TJoyButtonSizes>;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}
|
|
43
|
-
randomId: import("vue").Ref<string | undefined>;
|
|
44
|
-
},
|
|
42
|
+
}>, {
|
|
43
|
+
randomId: import("vue").Ref<string | undefined, string | undefined>;
|
|
44
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
/**
|
|
46
46
|
* If you only need a button with an icon. To keep your component accessible, you can give a text as slot, it will be used as title and aria-label.
|
|
47
47
|
* This property takes effect only if icon property is set
|
|
@@ -80,13 +80,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
80
|
type: PropType<TJoyButtonSizes>;
|
|
81
81
|
default: string;
|
|
82
82
|
};
|
|
83
|
-
}
|
|
84
|
-
size: TJoyButtonSizes;
|
|
83
|
+
}>> & Readonly<{}>, {
|
|
85
84
|
circle: boolean;
|
|
86
85
|
loading: boolean;
|
|
86
|
+
size: TJoyButtonSizes;
|
|
87
87
|
variant: TJoyButtonVariants;
|
|
88
88
|
iconPosition: import("../../types/index.js").TPositions;
|
|
89
|
-
}, {}>, Readonly<{
|
|
89
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
90
90
|
/** Default slot for button text */
|
|
91
91
|
default(): any;
|
|
92
92
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
/** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
|
|
3
3
|
indeterminate: {
|
|
4
4
|
type: BooleanConstructor;
|
|
@@ -48,12 +48,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
48
|
type: BooleanConstructor;
|
|
49
49
|
default: boolean;
|
|
50
50
|
};
|
|
51
|
-
}
|
|
52
|
-
isIndeterminate: import("vue").Ref<boolean>;
|
|
53
|
-
},
|
|
54
|
-
|
|
55
|
-
focus: () =>
|
|
56
|
-
|
|
51
|
+
}>, {
|
|
52
|
+
isIndeterminate: import("vue").Ref<boolean, boolean>;
|
|
53
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
54
|
+
blur: () => any;
|
|
55
|
+
focus: () => any;
|
|
56
|
+
"update:checked": (value: boolean) => any;
|
|
57
57
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
58
|
/** Can't be used in addition of v-model. See usage : https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox#indeterminate_state_checkboxes */
|
|
59
59
|
indeterminate: {
|
|
@@ -104,19 +104,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
104
104
|
type: BooleanConstructor;
|
|
105
105
|
default: boolean;
|
|
106
106
|
};
|
|
107
|
-
}>> & {
|
|
108
|
-
onFocus?: (() => any) | undefined;
|
|
107
|
+
}>> & Readonly<{
|
|
109
108
|
onBlur?: (() => any) | undefined;
|
|
109
|
+
onFocus?: (() => any) | undefined;
|
|
110
110
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
111
|
-
}
|
|
112
|
-
|
|
111
|
+
}>, {
|
|
112
|
+
invalid: boolean;
|
|
113
|
+
required: boolean;
|
|
113
114
|
disabled: boolean;
|
|
114
115
|
indeterminate: boolean;
|
|
115
|
-
required: boolean;
|
|
116
|
-
value: string;
|
|
117
|
-
invalid: boolean;
|
|
118
116
|
displayFocus: boolean;
|
|
119
|
-
|
|
117
|
+
checked: boolean;
|
|
118
|
+
value: string;
|
|
119
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
120
120
|
/** Default slot for checkbox label. You can as well use the label property. */
|
|
121
121
|
default(): any;
|
|
122
122
|
/** For additional content */
|