@maltjoy/core-vue 3.36.0-next → 3.37.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/LICENSE +21 -0
- 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 +93 -52
- 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 +52 -27
- 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 +193 -82
- 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 +171 -78
- 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 +10 -16
- 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 +15 -6
- 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 +150 -113
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +27 -6
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +43 -8
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +257 -48
- 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 +46 -19
- 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 +28 -12
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +44 -9
- 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 +36 -9
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +10 -1
- 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-DiEVDLd0.cjs +16 -0
- package/dist/{style-fNjzeg7Q.js → style-DqUSTCzR.js} +1775 -1775
- package/dist/style.css +1 -1
- package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
- package/package.json +30 -31
- package/dist/style-Cg6-S4et.cjs +0 -16
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoySelectableItemVariants } from './VJoySelectableItem.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
disabled: {
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
@@ -45,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
45
45
|
type: PropType<TJoySelectableItemVariants>;
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
|
-
}
|
|
49
|
-
"update:checked": (value: string | boolean) =>
|
|
48
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
"update:checked": (value: string | boolean) => void;
|
|
50
50
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
51
|
disabled: {
|
|
52
52
|
type: BooleanConstructor;
|
|
@@ -92,16 +92,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
92
92
|
type: PropType<TJoySelectableItemVariants>;
|
|
93
93
|
default: string;
|
|
94
94
|
};
|
|
95
|
-
}>> &
|
|
95
|
+
}>> & {
|
|
96
96
|
"onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
|
|
97
|
-
}
|
|
98
|
-
invalid: boolean;
|
|
99
|
-
required: boolean;
|
|
100
|
-
variant: TJoySelectableItemVariants;
|
|
101
|
-
disabled: boolean;
|
|
97
|
+
}, {
|
|
102
98
|
checked: boolean;
|
|
99
|
+
disabled: boolean;
|
|
103
100
|
multiple: boolean;
|
|
104
|
-
|
|
101
|
+
required: boolean;
|
|
102
|
+
invalid: boolean;
|
|
103
|
+
variant: TJoySelectableItemVariants;
|
|
104
|
+
}, {}>, {
|
|
105
105
|
default?(_: {}): any;
|
|
106
106
|
default?(_: {}): any;
|
|
107
107
|
"selectable-item-sublabel"?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
|
|
3
3
|
import { TJoySelectableItemOption } from '../JoySelectableItem/VJoySelectableItem.types';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
options: {
|
|
6
6
|
type: PropType<TJoySelectableItemOption[]>;
|
|
7
7
|
required: true;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
9
9
|
};
|
|
10
10
|
id: StringConstructor;
|
|
11
11
|
value: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
13
13
|
default: null;
|
|
14
14
|
};
|
|
15
15
|
multiple: {
|
|
@@ -34,8 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
38
|
-
"update:value": (value: string | any[]) =>
|
|
37
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:value": (value: string | any[]) => void;
|
|
39
39
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
40
|
options: {
|
|
41
41
|
type: PropType<TJoySelectableItemOption[]>;
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
44
44
|
};
|
|
45
45
|
id: StringConstructor;
|
|
46
46
|
value: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (ArrayConstructor | StringConstructor)[];
|
|
48
48
|
default: null;
|
|
49
49
|
};
|
|
50
50
|
multiple: {
|
|
@@ -69,16 +69,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
69
69
|
type: BooleanConstructor;
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
|
-
}>> &
|
|
72
|
+
}>> & {
|
|
73
73
|
"onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
74
|
-
}
|
|
74
|
+
}, {
|
|
75
|
+
multiple: boolean;
|
|
75
76
|
required: boolean;
|
|
76
77
|
value: string | unknown[];
|
|
77
|
-
multiple: boolean;
|
|
78
78
|
labelSize: TJoyLabelSizes;
|
|
79
79
|
requiredMark: boolean;
|
|
80
80
|
fullWidth: boolean;
|
|
81
|
-
}, {}
|
|
81
|
+
}, {}>, Readonly<{
|
|
82
82
|
/** Customize the inner HTML of each VJoySelectableItem */
|
|
83
83
|
item: (option: TJoySelectableItemOption) => any;
|
|
84
84
|
}> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoySeparatorSizes } from './JoySeparator.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
/** Main text to apply in the central area */
|
|
5
5
|
text: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
type: PropType<TJoySeparatorSizes>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
/** Main text to apply in the central area */
|
|
14
14
|
text: {
|
|
15
15
|
type: StringConstructor;
|
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
18
18
|
type: PropType<TJoySeparatorSizes>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
}>>, {
|
|
22
22
|
size: TJoySeparatorSizes;
|
|
23
|
-
}, {}
|
|
23
|
+
}, {}>;
|
|
24
24
|
export default _default;
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { Emitter } from 'mitt';
|
|
3
3
|
import { TJoySnackbarEvents, TJoySnackbarLevels } from './JoySnackbar.types';
|
|
4
4
|
declare function destroySnackbarAfterTimeout(): void;
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
level: {
|
|
7
7
|
type: PropType<TJoySnackbarLevels>;
|
|
8
8
|
default: string;
|
|
@@ -46,12 +46,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
instanceNb: {
|
|
47
47
|
type: NumberConstructor;
|
|
48
48
|
};
|
|
49
|
-
}
|
|
50
|
-
isOpen: import("vue").Ref<boolean
|
|
49
|
+
}, {
|
|
50
|
+
isOpen: import("vue").Ref<boolean>;
|
|
51
51
|
exposedMethods: {
|
|
52
52
|
destroySnackbarAfterTimeout: typeof destroySnackbarAfterTimeout;
|
|
53
53
|
};
|
|
54
|
-
},
|
|
54
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
55
55
|
level: {
|
|
56
56
|
type: PropType<TJoySnackbarLevels>;
|
|
57
57
|
default: string;
|
|
@@ -95,10 +95,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
95
95
|
instanceNb: {
|
|
96
96
|
type: NumberConstructor;
|
|
97
97
|
};
|
|
98
|
-
}
|
|
98
|
+
}>>, {
|
|
99
99
|
frozen: boolean;
|
|
100
100
|
level: TJoySnackbarLevels;
|
|
101
101
|
closable: boolean;
|
|
102
102
|
duration: number | "forever";
|
|
103
|
-
}, {}
|
|
103
|
+
}, {}>;
|
|
104
104
|
export default _default;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoySpinnerColors } from './JoySpinner.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
4
|
color: {
|
|
5
5
|
type: PropType<TJoySpinnerColors>;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
color: {
|
|
9
9
|
type: PropType<TJoySpinnerColors>;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>>, {}, {}>;
|
|
12
12
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyStepSizes } from './TJoyStep.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
/** Set it to completed to change it's color */
|
|
5
5
|
completed: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -29,10 +29,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
29
29
|
type: BooleanConstructor;
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
|
-
}
|
|
32
|
+
}, {
|
|
33
33
|
progress: import("vue").ComputedRef<string>;
|
|
34
|
-
},
|
|
35
|
-
"update:subSteps": () =>
|
|
34
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
"update:subSteps": () => void;
|
|
36
36
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
/** Set it to completed to change it's color */
|
|
38
38
|
completed: {
|
|
@@ -62,16 +62,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
-
}>> &
|
|
65
|
+
}>> & {
|
|
66
66
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
67
|
-
}
|
|
67
|
+
}, {
|
|
68
68
|
size: TJoyStepSizes;
|
|
69
69
|
id: string;
|
|
70
70
|
completed: boolean;
|
|
71
71
|
currentSubStep: number;
|
|
72
72
|
subSteps: number;
|
|
73
73
|
showLabel: boolean;
|
|
74
|
-
}, {}
|
|
74
|
+
}, {}>, Readonly<{
|
|
75
75
|
/** Label of the step. For text only */
|
|
76
76
|
default(): any;
|
|
77
77
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
/** Current step value */
|
|
3
3
|
step: {
|
|
4
4
|
type: NumberConstructor;
|
|
@@ -9,10 +9,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
default: number;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}, {
|
|
13
13
|
currentItemSubStep: import("vue").ComputedRef<any>;
|
|
14
14
|
steps: import("vue").ComputedRef<({
|
|
15
|
-
new (...args: any[]): import("vue").
|
|
15
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
completed: {
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
@@ -37,20 +37,47 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
37
37
|
type: BooleanConstructor;
|
|
38
38
|
default: boolean;
|
|
39
39
|
};
|
|
40
|
-
}>> &
|
|
40
|
+
}>> & {
|
|
41
41
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
42
|
-
}
|
|
42
|
+
}, {
|
|
43
43
|
progress: import("vue").ComputedRef<string>;
|
|
44
|
-
},
|
|
45
|
-
"update:subSteps": () =>
|
|
46
|
-
}, import("vue").
|
|
44
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
|
+
"update:subSteps": () => void;
|
|
46
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
completed: {
|
|
48
|
+
type: BooleanConstructor;
|
|
49
|
+
default: boolean;
|
|
50
|
+
};
|
|
51
|
+
currentSubStep: {
|
|
52
|
+
type: NumberConstructor;
|
|
53
|
+
default: number;
|
|
54
|
+
};
|
|
55
|
+
size: {
|
|
56
|
+
type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
subSteps: {
|
|
60
|
+
type: NumberConstructor;
|
|
61
|
+
default: number;
|
|
62
|
+
};
|
|
63
|
+
id: {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
67
|
+
showLabel: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
}>> & {
|
|
72
|
+
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
73
|
+
}, {
|
|
47
74
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
48
75
|
id: string;
|
|
49
76
|
completed: boolean;
|
|
50
77
|
currentSubStep: number;
|
|
51
78
|
subSteps: number;
|
|
52
79
|
showLabel: boolean;
|
|
53
|
-
}, true, {}, {},
|
|
80
|
+
}, true, {}, {}, {
|
|
54
81
|
P: {};
|
|
55
82
|
B: {};
|
|
56
83
|
D: {};
|
|
@@ -82,9 +109,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
82
109
|
type: BooleanConstructor;
|
|
83
110
|
default: boolean;
|
|
84
111
|
};
|
|
85
|
-
}>> &
|
|
112
|
+
}>> & {
|
|
86
113
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
87
|
-
}
|
|
114
|
+
}, {
|
|
88
115
|
progress: import("vue").ComputedRef<string>;
|
|
89
116
|
}, {}, {}, {}, {
|
|
90
117
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
@@ -122,12 +149,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
122
149
|
type: BooleanConstructor;
|
|
123
150
|
default: boolean;
|
|
124
151
|
};
|
|
125
|
-
}>> &
|
|
152
|
+
}>> & {
|
|
126
153
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
127
|
-
}
|
|
154
|
+
}, {
|
|
128
155
|
progress: import("vue").ComputedRef<string>;
|
|
129
|
-
},
|
|
130
|
-
"update:subSteps": () =>
|
|
156
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
157
|
+
"update:subSteps": () => void;
|
|
131
158
|
}, string, {
|
|
132
159
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
133
160
|
id: string;
|
|
@@ -135,7 +162,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
135
162
|
currentSubStep: number;
|
|
136
163
|
subSteps: number;
|
|
137
164
|
showLabel: boolean;
|
|
138
|
-
}, {}, string, {}
|
|
165
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
139
166
|
$slots: Readonly<{
|
|
140
167
|
default(): any;
|
|
141
168
|
}> & {
|
|
@@ -143,7 +170,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
143
170
|
};
|
|
144
171
|
}))[]>;
|
|
145
172
|
invalidSubStepValue: import("vue").ComputedRef<boolean>;
|
|
146
|
-
},
|
|
173
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
147
174
|
/** Current step value */
|
|
148
175
|
step: {
|
|
149
176
|
type: NumberConstructor;
|
|
@@ -154,9 +181,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
154
181
|
type: NumberConstructor;
|
|
155
182
|
default: number;
|
|
156
183
|
};
|
|
157
|
-
}
|
|
184
|
+
}>>, {
|
|
158
185
|
subStep: number;
|
|
159
|
-
}, {}
|
|
186
|
+
}, {}>, Readonly<{
|
|
160
187
|
/** Use it to inject all VJoyStep children */
|
|
161
188
|
default(): any;
|
|
162
189
|
}> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
/**
|
|
3
3
|
* Boolean to change style if tabButton is selected
|
|
4
4
|
*/
|
|
@@ -30,8 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
30
30
|
notifications: {
|
|
31
31
|
type: NumberConstructor;
|
|
32
32
|
};
|
|
33
|
-
}
|
|
34
|
-
changeTab: () =>
|
|
33
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
changeTab: () => void;
|
|
35
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
/**
|
|
37
37
|
* Boolean to change style if tabButton is selected
|
|
@@ -64,11 +64,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
64
64
|
notifications: {
|
|
65
65
|
type: NumberConstructor;
|
|
66
66
|
};
|
|
67
|
-
}>> &
|
|
67
|
+
}>> & {
|
|
68
68
|
onChangeTab?: (() => any) | undefined;
|
|
69
|
-
}
|
|
69
|
+
}, {
|
|
70
70
|
selected: boolean;
|
|
71
|
-
}, {}
|
|
71
|
+
}, {}>, {
|
|
72
72
|
default?(_: {}): any;
|
|
73
73
|
}>;
|
|
74
74
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
/**
|
|
3
3
|
* A tab id or name must be provided for each `joy-tab`. It's used internally to reference
|
|
4
4
|
* the selected tab
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
required: false;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
/**
|
|
30
30
|
* A tab id or name must be provided for each `joy-tab`. It's used internally to reference
|
|
31
31
|
* the selected tab
|
|
@@ -52,9 +52,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
required: false;
|
|
54
54
|
};
|
|
55
|
-
}
|
|
55
|
+
}>>, {
|
|
56
56
|
notification: boolean;
|
|
57
|
-
}, {}
|
|
57
|
+
}, {}>, Readonly<{
|
|
58
58
|
/**
|
|
59
59
|
* The slot for the content
|
|
60
60
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
2
|
/** Use this prop to activate a specific tab by default by giving its name */
|
|
3
3
|
selectedTab: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}, {
|
|
7
7
|
tabs: import("vue").ComputedRef<({
|
|
8
|
-
new (...args: any[]): import("vue").
|
|
8
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
tab: {
|
|
10
10
|
type: (StringConstructor | NumberConstructor)[];
|
|
11
11
|
required: true;
|
|
@@ -21,9 +21,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
required: false;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
tab: {
|
|
26
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
label: {
|
|
30
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
31
|
+
};
|
|
32
|
+
href: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
};
|
|
36
|
+
notification: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
};
|
|
40
|
+
}>>, {
|
|
25
41
|
notification: boolean;
|
|
26
|
-
}, true, {}, {},
|
|
42
|
+
}, true, {}, {}, {
|
|
27
43
|
P: {};
|
|
28
44
|
B: {};
|
|
29
45
|
D: {};
|
|
@@ -46,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
46
62
|
type: BooleanConstructor;
|
|
47
63
|
required: false;
|
|
48
64
|
};
|
|
49
|
-
}
|
|
65
|
+
}>>, {}, {}, {}, {}, {
|
|
50
66
|
notification: boolean;
|
|
51
67
|
}>;
|
|
52
68
|
__isFragment?: undefined;
|
|
@@ -68,9 +84,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
68
84
|
type: BooleanConstructor;
|
|
69
85
|
required: false;
|
|
70
86
|
};
|
|
71
|
-
}
|
|
87
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
72
88
|
notification: boolean;
|
|
73
|
-
}, {}, string, {}
|
|
89
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
74
90
|
$slots: Readonly<{
|
|
75
91
|
default(): any;
|
|
76
92
|
header(): any;
|
|
@@ -79,16 +95,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
79
95
|
header(): any;
|
|
80
96
|
};
|
|
81
97
|
}))[]>;
|
|
82
|
-
},
|
|
83
|
-
"update:selected-tab": (value: string) =>
|
|
98
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
|
+
"update:selected-tab": (value: string) => void;
|
|
84
100
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
101
|
/** Use this prop to activate a specific tab by default by giving its name */
|
|
86
102
|
selectedTab: {
|
|
87
103
|
type: StringConstructor;
|
|
88
104
|
};
|
|
89
|
-
}>> &
|
|
105
|
+
}>> & {
|
|
90
106
|
"onUpdate:selected-tab"?: ((value: string) => any) | undefined;
|
|
91
|
-
}
|
|
107
|
+
}, {}, {}>, Readonly<{
|
|
92
108
|
/** Use it to inject all your `VJoyTab` children */
|
|
93
109
|
default(): any;
|
|
94
110
|
}> & {
|
|
@@ -19,24 +19,42 @@ interface Props {
|
|
|
19
19
|
strikethrough?: boolean;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
23
|
+
size: string;
|
|
24
|
+
variant: string;
|
|
25
|
+
value: undefined;
|
|
26
|
+
draggable: boolean;
|
|
27
|
+
link: boolean;
|
|
28
|
+
removable: boolean;
|
|
29
|
+
strikethrough: boolean;
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
|
+
selected: (tag: IJoyTagSelected) => void;
|
|
33
|
+
remove: (value: IJoyTagRemoved) => void;
|
|
34
|
+
click: () => void;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
36
|
+
size: string;
|
|
37
|
+
variant: string;
|
|
38
|
+
value: undefined;
|
|
39
|
+
draggable: boolean;
|
|
40
|
+
link: boolean;
|
|
41
|
+
removable: boolean;
|
|
42
|
+
strikethrough: boolean;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
}>>> & {
|
|
27
45
|
onClick?: (() => any) | undefined;
|
|
28
46
|
onSelected?: ((tag: IJoyTagSelected) => any) | undefined;
|
|
29
47
|
onRemove?: ((value: IJoyTagRemoved) => any) | undefined;
|
|
30
|
-
}
|
|
48
|
+
}, {
|
|
31
49
|
link: boolean;
|
|
32
|
-
size: TJoyTagSizes;
|
|
33
|
-
variant: TJoyTagVariants;
|
|
34
50
|
disabled: boolean;
|
|
51
|
+
size: TJoyTagSizes;
|
|
35
52
|
value: string | number;
|
|
53
|
+
variant: TJoyTagVariants;
|
|
36
54
|
draggable: boolean;
|
|
37
55
|
removable: boolean;
|
|
38
56
|
strikethrough: boolean;
|
|
39
|
-
}, {}
|
|
57
|
+
}, {}>, Readonly<{
|
|
40
58
|
/** Use it if you want to have 100% control on the tag content. */
|
|
41
59
|
default(): any;
|
|
42
60
|
}> & {
|
|
@@ -44,8 +62,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pr
|
|
|
44
62
|
default(): any;
|
|
45
63
|
}>;
|
|
46
64
|
export default _default;
|
|
65
|
+
type __VLS_WithDefaults<P, D> = {
|
|
66
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
+
default: D[K];
|
|
68
|
+
}> : P[K];
|
|
69
|
+
};
|
|
70
|
+
type __VLS_Prettify<T> = {
|
|
71
|
+
[K in keyof T]: T[K];
|
|
72
|
+
} & {};
|
|
47
73
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
74
|
new (): {
|
|
49
75
|
$slots: S;
|
|
50
76
|
};
|
|
51
77
|
};
|
|
78
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
79
|
+
type __VLS_TypePropsToOption<T> = {
|
|
80
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
81
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
82
|
+
} : {
|
|
83
|
+
type: import('vue').PropType<T[K]>;
|
|
84
|
+
required: true;
|
|
85
|
+
};
|
|
86
|
+
};
|