@maltjoy/core-vue 3.35.1 → 3.36.0-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 +115 -137
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +1 -0
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +7 -14
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +9 -41
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +52 -227
- 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 +16 -7
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +32 -40
- 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 +2 -0
- package/dist/pages/FunnelMode.vue.d.ts +1 -1
- package/dist/pages/IndexPage.vue.d.ts +1 -1
- package/dist/style-Cg6-S4et.cjs +16 -0
- package/dist/{style-BET1Es3P.js → style-fNjzeg7Q.js} +2467 -2450
- package/dist/style.css +1 -1
- package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
- package/package.json +31 -30
- package/LICENSE +0 -21
- package/dist/style-BxpQNErt.cjs +0 -16
|
@@ -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<import("vue").ExtractPropTypes<{
|
|
5
5
|
options: {
|
|
6
6
|
type: PropType<TJoySelectableItemOption[]>;
|
|
7
7
|
required: true;
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
id: StringConstructor;
|
|
11
11
|
value: {
|
|
12
|
-
type: (
|
|
12
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
13
13
|
default: null;
|
|
14
14
|
};
|
|
15
15
|
multiple: {
|
|
@@ -34,8 +34,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}
|
|
38
|
-
"update:value": (value: string | any[]) =>
|
|
37
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
38
|
+
"update:value": (value: string | any[]) => any;
|
|
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<{
|
|
|
44
44
|
};
|
|
45
45
|
id: StringConstructor;
|
|
46
46
|
value: {
|
|
47
|
-
type: (
|
|
47
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
48
48
|
default: null;
|
|
49
49
|
};
|
|
50
50
|
multiple: {
|
|
@@ -69,16 +69,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
69
|
type: BooleanConstructor;
|
|
70
70
|
default: boolean;
|
|
71
71
|
};
|
|
72
|
-
}>> & {
|
|
72
|
+
}>> & Readonly<{
|
|
73
73
|
"onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
74
|
-
}
|
|
75
|
-
multiple: boolean;
|
|
74
|
+
}>, {
|
|
76
75
|
required: boolean;
|
|
77
76
|
value: string | unknown[];
|
|
77
|
+
multiple: boolean;
|
|
78
78
|
labelSize: TJoyLabelSizes;
|
|
79
79
|
requiredMark: boolean;
|
|
80
80
|
fullWidth: boolean;
|
|
81
|
-
}, {}>, Readonly<{
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, 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<import("vue").ExtractPropTypes<{
|
|
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<{
|
|
|
9
9
|
type: PropType<TJoySeparatorSizes>;
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
12
|
+
}>, {}, {}, {}, {}, 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<{
|
|
|
18
18
|
type: PropType<TJoySeparatorSizes>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
|
-
}
|
|
21
|
+
}>> & Readonly<{}>, {
|
|
22
22
|
size: TJoySeparatorSizes;
|
|
23
|
-
}, {}>;
|
|
23
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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<import("vue").ExtractPropTypes<{
|
|
6
6
|
level: {
|
|
7
7
|
type: PropType<TJoySnackbarLevels>;
|
|
8
8
|
default: string;
|
|
@@ -46,12 +46,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
instanceNb: {
|
|
47
47
|
type: NumberConstructor;
|
|
48
48
|
};
|
|
49
|
-
}
|
|
50
|
-
isOpen: import("vue").Ref<boolean>;
|
|
49
|
+
}>, {
|
|
50
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
51
51
|
exposedMethods: {
|
|
52
52
|
destroySnackbarAfterTimeout: typeof destroySnackbarAfterTimeout;
|
|
53
53
|
};
|
|
54
|
-
},
|
|
54
|
+
}, {}, {}, {}, 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<{
|
|
|
95
95
|
instanceNb: {
|
|
96
96
|
type: NumberConstructor;
|
|
97
97
|
};
|
|
98
|
-
}
|
|
98
|
+
}>> & Readonly<{}>, {
|
|
99
99
|
frozen: boolean;
|
|
100
100
|
level: TJoySnackbarLevels;
|
|
101
101
|
closable: boolean;
|
|
102
102
|
duration: number | "forever";
|
|
103
|
-
}, {}>;
|
|
103
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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<import("vue").ExtractPropTypes<{
|
|
4
4
|
color: {
|
|
5
5
|
type: PropType<TJoySpinnerColors>;
|
|
6
6
|
};
|
|
7
|
-
}
|
|
7
|
+
}>, {}, {}, {}, {}, 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
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
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<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** Set it to completed to change it's color */
|
|
5
5
|
completed: {
|
|
6
6
|
type: BooleanConstructor;
|
|
@@ -25,10 +25,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
type: StringConstructor;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
showLabel: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
29
33
|
progress: import("vue").ComputedRef<string>;
|
|
30
|
-
},
|
|
31
|
-
"update:subSteps": () =>
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
+
"update:subSteps": () => any;
|
|
32
36
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
37
|
/** Set it to completed to change it's color */
|
|
34
38
|
completed: {
|
|
@@ -54,15 +58,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
58
|
type: StringConstructor;
|
|
55
59
|
default: string;
|
|
56
60
|
};
|
|
57
|
-
|
|
61
|
+
showLabel: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
}>> & Readonly<{
|
|
58
66
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
59
|
-
}
|
|
67
|
+
}>, {
|
|
60
68
|
size: TJoyStepSizes;
|
|
61
69
|
id: string;
|
|
62
70
|
completed: boolean;
|
|
63
71
|
currentSubStep: number;
|
|
64
72
|
subSteps: number;
|
|
65
|
-
|
|
73
|
+
showLabel: boolean;
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
66
75
|
/** Label of the step. For text only */
|
|
67
76
|
default(): any;
|
|
68
77
|
}> & {
|
|
@@ -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
|
/** Current step value */
|
|
3
3
|
step: {
|
|
4
4
|
type: NumberConstructor;
|
|
@@ -9,10 +9,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
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").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
16
16
|
completed: {
|
|
17
17
|
type: BooleanConstructor;
|
|
18
18
|
default: boolean;
|
|
@@ -33,42 +33,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
type: StringConstructor;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
-
|
|
37
|
-
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
progress: import("vue").ComputedRef<string>;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
"update:subSteps": () => void;
|
|
42
|
-
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
completed: {
|
|
36
|
+
showLabel: {
|
|
44
37
|
type: BooleanConstructor;
|
|
45
38
|
default: boolean;
|
|
46
39
|
};
|
|
47
|
-
|
|
48
|
-
type: NumberConstructor;
|
|
49
|
-
default: number;
|
|
50
|
-
};
|
|
51
|
-
size: {
|
|
52
|
-
type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
subSteps: {
|
|
56
|
-
type: NumberConstructor;
|
|
57
|
-
default: number;
|
|
58
|
-
};
|
|
59
|
-
id: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
40
|
+
}>> & Readonly<{
|
|
64
41
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
65
|
-
}
|
|
42
|
+
}>, {
|
|
43
|
+
progress: import("vue").ComputedRef<string>;
|
|
44
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
|
+
"update:subSteps": () => any;
|
|
46
|
+
}, import("vue").PublicProps, {
|
|
66
47
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
67
48
|
id: string;
|
|
68
49
|
completed: boolean;
|
|
69
50
|
currentSubStep: number;
|
|
70
51
|
subSteps: number;
|
|
71
|
-
|
|
52
|
+
showLabel: boolean;
|
|
53
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
72
54
|
P: {};
|
|
73
55
|
B: {};
|
|
74
56
|
D: {};
|
|
@@ -96,9 +78,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
96
78
|
type: StringConstructor;
|
|
97
79
|
default: string;
|
|
98
80
|
};
|
|
99
|
-
|
|
81
|
+
showLabel: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
}>> & Readonly<{
|
|
100
86
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
101
|
-
}
|
|
87
|
+
}>, {
|
|
102
88
|
progress: import("vue").ComputedRef<string>;
|
|
103
89
|
}, {}, {}, {}, {
|
|
104
90
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
@@ -106,6 +92,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
106
92
|
completed: boolean;
|
|
107
93
|
currentSubStep: number;
|
|
108
94
|
subSteps: number;
|
|
95
|
+
showLabel: boolean;
|
|
109
96
|
}>;
|
|
110
97
|
__isFragment?: undefined;
|
|
111
98
|
__isTeleport?: undefined;
|
|
@@ -131,19 +118,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
131
118
|
type: StringConstructor;
|
|
132
119
|
default: string;
|
|
133
120
|
};
|
|
134
|
-
|
|
121
|
+
showLabel: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
}>> & Readonly<{
|
|
135
126
|
"onUpdate:subSteps"?: (() => any) | undefined;
|
|
136
|
-
}
|
|
127
|
+
}>, {
|
|
137
128
|
progress: import("vue").ComputedRef<string>;
|
|
138
|
-
},
|
|
139
|
-
"update:subSteps": () =>
|
|
129
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
130
|
+
"update:subSteps": () => any;
|
|
140
131
|
}, string, {
|
|
141
132
|
size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
|
|
142
133
|
id: string;
|
|
143
134
|
completed: boolean;
|
|
144
135
|
currentSubStep: number;
|
|
145
136
|
subSteps: number;
|
|
146
|
-
|
|
137
|
+
showLabel: boolean;
|
|
138
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
147
139
|
$slots: Readonly<{
|
|
148
140
|
default(): any;
|
|
149
141
|
}> & {
|
|
@@ -151,7 +143,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
151
143
|
};
|
|
152
144
|
}))[]>;
|
|
153
145
|
invalidSubStepValue: import("vue").ComputedRef<boolean>;
|
|
154
|
-
},
|
|
146
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
155
147
|
/** Current step value */
|
|
156
148
|
step: {
|
|
157
149
|
type: NumberConstructor;
|
|
@@ -162,9 +154,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
162
154
|
type: NumberConstructor;
|
|
163
155
|
default: number;
|
|
164
156
|
};
|
|
165
|
-
}
|
|
157
|
+
}>> & Readonly<{}>, {
|
|
166
158
|
subStep: number;
|
|
167
|
-
}, {}>, Readonly<{
|
|
159
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
168
160
|
/** Use it to inject all VJoyStep children */
|
|
169
161
|
default(): any;
|
|
170
162
|
}> & {
|
|
@@ -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
|
/**
|
|
3
3
|
* Boolean to change style if tabButton is selected
|
|
4
4
|
*/
|
|
@@ -30,8 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
notifications: {
|
|
31
31
|
type: NumberConstructor;
|
|
32
32
|
};
|
|
33
|
-
}
|
|
34
|
-
changeTab: () =>
|
|
33
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
+
changeTab: () => any;
|
|
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<{
|
|
|
64
64
|
notifications: {
|
|
65
65
|
type: NumberConstructor;
|
|
66
66
|
};
|
|
67
|
-
}>> & {
|
|
67
|
+
}>> & Readonly<{
|
|
68
68
|
onChangeTab?: (() => any) | undefined;
|
|
69
|
-
}
|
|
69
|
+
}>, {
|
|
70
70
|
selected: boolean;
|
|
71
|
-
}, {}>, {
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
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<import("vue").ExtractPropTypes<{
|
|
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<{
|
|
|
25
25
|
type: BooleanConstructor;
|
|
26
26
|
required: false;
|
|
27
27
|
};
|
|
28
|
-
}
|
|
28
|
+
}>, {}, {}, {}, {}, 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<{
|
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
required: false;
|
|
54
54
|
};
|
|
55
|
-
}
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
56
|
notification: boolean;
|
|
57
|
-
}, {}>, Readonly<{
|
|
57
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, 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<import("vue").ExtractPropTypes<{
|
|
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").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
tab: {
|
|
10
10
|
type: (StringConstructor | NumberConstructor)[];
|
|
11
11
|
required: true;
|
|
@@ -21,25 +21,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
type: BooleanConstructor;
|
|
22
22
|
required: false;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
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
|
-
}>>, {
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
41
25
|
notification: boolean;
|
|
42
|
-
}, true, {}, {}, {
|
|
26
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
43
27
|
P: {};
|
|
44
28
|
B: {};
|
|
45
29
|
D: {};
|
|
@@ -62,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
46
|
type: BooleanConstructor;
|
|
63
47
|
required: false;
|
|
64
48
|
};
|
|
65
|
-
}
|
|
49
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
66
50
|
notification: boolean;
|
|
67
51
|
}>;
|
|
68
52
|
__isFragment?: undefined;
|
|
@@ -84,9 +68,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
84
68
|
type: BooleanConstructor;
|
|
85
69
|
required: false;
|
|
86
70
|
};
|
|
87
|
-
}
|
|
71
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
88
72
|
notification: boolean;
|
|
89
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
73
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
90
74
|
$slots: Readonly<{
|
|
91
75
|
default(): any;
|
|
92
76
|
header(): any;
|
|
@@ -95,16 +79,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
95
79
|
header(): any;
|
|
96
80
|
};
|
|
97
81
|
}))[]>;
|
|
98
|
-
},
|
|
99
|
-
"update:selected-tab": (value: string) =>
|
|
82
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
83
|
+
"update:selected-tab": (value: string) => any;
|
|
100
84
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
101
85
|
/** Use this prop to activate a specific tab by default by giving its name */
|
|
102
86
|
selectedTab: {
|
|
103
87
|
type: StringConstructor;
|
|
104
88
|
};
|
|
105
|
-
}>> & {
|
|
89
|
+
}>> & Readonly<{
|
|
106
90
|
"onUpdate:selected-tab"?: ((value: string) => any) | undefined;
|
|
107
|
-
}, {}, {}>, Readonly<{
|
|
91
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
108
92
|
/** Use it to inject all your `VJoyTab` children */
|
|
109
93
|
default(): any;
|
|
110
94
|
}> & {
|
|
@@ -19,42 +19,24 @@ interface Props {
|
|
|
19
19
|
strikethrough?: boolean;
|
|
20
20
|
disabled?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
value:
|
|
26
|
-
|
|
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
|
-
}>>> & {
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
23
|
+
click: () => any;
|
|
24
|
+
selected: (tag: IJoyTagSelected) => any;
|
|
25
|
+
remove: (value: IJoyTagRemoved) => any;
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
45
27
|
onClick?: (() => any) | undefined;
|
|
46
28
|
onSelected?: ((tag: IJoyTagSelected) => any) | undefined;
|
|
47
29
|
onRemove?: ((value: IJoyTagRemoved) => any) | undefined;
|
|
48
|
-
}
|
|
30
|
+
}>, {
|
|
49
31
|
link: boolean;
|
|
50
|
-
disabled: boolean;
|
|
51
32
|
size: TJoyTagSizes;
|
|
52
|
-
value: string | number;
|
|
53
33
|
variant: TJoyTagVariants;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
value: string | number;
|
|
54
36
|
draggable: boolean;
|
|
55
37
|
removable: boolean;
|
|
56
38
|
strikethrough: boolean;
|
|
57
|
-
}, {}>, Readonly<{
|
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
58
40
|
/** Use it if you want to have 100% control on the tag content. */
|
|
59
41
|
default(): any;
|
|
60
42
|
}> & {
|
|
@@ -62,25 +44,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
44
|
default(): any;
|
|
63
45
|
}>;
|
|
64
46
|
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
|
-
} & {};
|
|
73
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
48
|
new (): {
|
|
75
49
|
$slots: S;
|
|
76
50
|
};
|
|
77
51
|
};
|
|
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
|
-
};
|
|
@@ -2,15 +2,15 @@ import type { Ref } from 'vue';
|
|
|
2
2
|
import { TAGS_INPUT_ERRORS } from './JoyTagsInput.types';
|
|
3
3
|
import type { TJoyTagVariants, TJoyTagSizes } from '../JoyTag/JoyTag.types';
|
|
4
4
|
declare const _default: <T extends string>(__VLS_props: {
|
|
5
|
-
"onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
6
|
-
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
5
|
+
readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
6
|
+
readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
7
7
|
name?: string | undefined;
|
|
8
8
|
placeholder?: string | undefined;
|
|
9
9
|
variant?: TJoyTagVariants | undefined;
|
|
10
10
|
size?: TJoyTagSizes | undefined;
|
|
11
11
|
modelValue?: T[] | undefined;
|
|
12
12
|
invalid?: boolean | undefined;
|
|
13
|
-
validation?: "
|
|
13
|
+
validation?: "none" | "email" | undefined;
|
|
14
14
|
duplicationError?: string | undefined;
|
|
15
15
|
invalidEmailError?: string | undefined;
|
|
16
16
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -35,24 +35,24 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
35
35
|
(e: 'validation:error', type: TAGS_INPUT_ERRORS): void;
|
|
36
36
|
};
|
|
37
37
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
38
|
-
isInvalid: Ref<boolean>;
|
|
38
|
+
isInvalid: Ref<boolean, boolean>;
|
|
39
39
|
hasDuplicates: () => boolean;
|
|
40
40
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
41
41
|
props: {
|
|
42
|
-
"onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
43
|
-
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
42
|
+
readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
43
|
+
readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
44
44
|
name?: string | undefined;
|
|
45
45
|
placeholder?: string | undefined;
|
|
46
46
|
variant?: TJoyTagVariants | undefined;
|
|
47
47
|
size?: TJoyTagSizes | undefined;
|
|
48
48
|
modelValue?: T[] | undefined;
|
|
49
49
|
invalid?: boolean | undefined;
|
|
50
|
-
validation?: "
|
|
50
|
+
validation?: "none" | "email" | undefined;
|
|
51
51
|
duplicationError?: string | undefined;
|
|
52
52
|
invalidEmailError?: string | undefined;
|
|
53
53
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
54
54
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
55
|
-
isInvalid: Ref<boolean>;
|
|
55
|
+
isInvalid: Ref<boolean, boolean>;
|
|
56
56
|
hasDuplicates: () => boolean;
|
|
57
57
|
}>): void;
|
|
58
58
|
attrs: any;
|
|
@@ -80,20 +80,20 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
80
80
|
}> & {
|
|
81
81
|
__ctx?: {
|
|
82
82
|
props: {
|
|
83
|
-
"onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
84
|
-
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
83
|
+
readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
84
|
+
readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
85
85
|
name?: string | undefined;
|
|
86
86
|
placeholder?: string | undefined;
|
|
87
87
|
variant?: TJoyTagVariants | undefined;
|
|
88
88
|
size?: TJoyTagSizes | undefined;
|
|
89
89
|
modelValue?: T[] | undefined;
|
|
90
90
|
invalid?: boolean | undefined;
|
|
91
|
-
validation?: "
|
|
91
|
+
validation?: "none" | "email" | undefined;
|
|
92
92
|
duplicationError?: string | undefined;
|
|
93
93
|
invalidEmailError?: string | undefined;
|
|
94
94
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
95
95
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
96
|
-
isInvalid: Ref<boolean>;
|
|
96
|
+
isInvalid: Ref<boolean, boolean>;
|
|
97
97
|
hasDuplicates: () => boolean;
|
|
98
98
|
}>): void;
|
|
99
99
|
attrs: any;
|
|
@@ -119,6 +119,6 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
119
119
|
} | undefined;
|
|
120
120
|
};
|
|
121
121
|
export default _default;
|
|
122
|
-
type
|
|
122
|
+
type __VLS_PrettifyLocal<T> = {
|
|
123
123
|
[K in keyof T]: T[K];
|
|
124
124
|
} & {};
|