@maltjoy/core-vue 3.35.0 → 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-Qw6Zqas5.js → style-fNjzeg7Q.js} +2174 -2155
- 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-cjYkNXrS.cjs +0 -16
|
@@ -3,7 +3,7 @@ import VJoyCollapseItem from '../JoyCollapseItem/VJoyCollapseItem.vue';
|
|
|
3
3
|
declare function isItem(child: any): boolean;
|
|
4
4
|
declare function isOpen(item: typeof VJoyCollapseItem): any;
|
|
5
5
|
declare function getValForModel(item: typeof VJoyCollapseItem): any;
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
/** Open one item at a time. Works with modelValue */
|
|
8
8
|
accordion: {
|
|
9
9
|
type: BooleanConstructor;
|
|
@@ -21,12 +21,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
21
|
type: PropType<"default" | "outline">;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
-
}
|
|
24
|
+
}>, {
|
|
25
25
|
getValForModel: typeof getValForModel;
|
|
26
26
|
isItem: typeof isItem;
|
|
27
27
|
isOpen: typeof isOpen;
|
|
28
28
|
items: import("vue").ComputedRef<({
|
|
29
|
-
new (...args: any[]): import("vue").
|
|
29
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
header: {
|
|
31
31
|
type: StringConstructor;
|
|
32
32
|
required: true;
|
|
@@ -48,11 +48,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
48
48
|
type: PropType<"default" | "outline">;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
51
|
-
}>> & {
|
|
51
|
+
}>> & Readonly<{
|
|
52
52
|
"onCollapse-item:open"?: (() => any) | undefined;
|
|
53
53
|
"onCollapse-item:close"?: (() => any) | undefined;
|
|
54
|
-
}
|
|
55
|
-
isOpen: import("vue").Ref<boolean>;
|
|
54
|
+
}>, {
|
|
55
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
56
56
|
onToggle: () => void;
|
|
57
57
|
props: {
|
|
58
58
|
readonly header: string;
|
|
@@ -62,38 +62,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
62
|
readonly subheader?: string | undefined;
|
|
63
63
|
readonly summaryIcon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
64
64
|
};
|
|
65
|
-
},
|
|
66
|
-
"collapse-item:open": () =>
|
|
67
|
-
"collapse-item:close": () =>
|
|
68
|
-
}, import("vue").
|
|
69
|
-
header: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
required: true;
|
|
72
|
-
};
|
|
73
|
-
subheader: {
|
|
74
|
-
type: StringConstructor;
|
|
75
|
-
};
|
|
76
|
-
open: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
summaryIcon: {
|
|
81
|
-
type: PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
82
|
-
};
|
|
83
|
-
id: {
|
|
84
|
-
type: StringConstructor;
|
|
85
|
-
};
|
|
86
|
-
mode: {
|
|
87
|
-
type: PropType<"default" | "outline">;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
}>> & {
|
|
91
|
-
"onCollapse-item:open"?: (() => any) | undefined;
|
|
92
|
-
"onCollapse-item:close"?: (() => any) | undefined;
|
|
93
|
-
}, {
|
|
65
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
66
|
+
"collapse-item:open": () => any;
|
|
67
|
+
"collapse-item:close": () => any;
|
|
68
|
+
}, import("vue").PublicProps, {
|
|
94
69
|
open: boolean;
|
|
95
70
|
mode: "default" | "outline";
|
|
96
|
-
}, true, {}, {}, {
|
|
71
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
97
72
|
P: {};
|
|
98
73
|
B: {};
|
|
99
74
|
D: {};
|
|
@@ -122,11 +97,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
122
97
|
type: PropType<"default" | "outline">;
|
|
123
98
|
default: string;
|
|
124
99
|
};
|
|
125
|
-
}>> & {
|
|
100
|
+
}>> & Readonly<{
|
|
126
101
|
"onCollapse-item:open"?: (() => any) | undefined;
|
|
127
102
|
"onCollapse-item:close"?: (() => any) | undefined;
|
|
128
|
-
}
|
|
129
|
-
isOpen: import("vue").Ref<boolean>;
|
|
103
|
+
}>, {
|
|
104
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
130
105
|
onToggle: () => void;
|
|
131
106
|
props: {
|
|
132
107
|
readonly header: string;
|
|
@@ -165,11 +140,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
165
140
|
type: PropType<"default" | "outline">;
|
|
166
141
|
default: string;
|
|
167
142
|
};
|
|
168
|
-
}>> & {
|
|
143
|
+
}>> & Readonly<{
|
|
169
144
|
"onCollapse-item:open"?: (() => any) | undefined;
|
|
170
145
|
"onCollapse-item:close"?: (() => any) | undefined;
|
|
171
|
-
}
|
|
172
|
-
isOpen: import("vue").Ref<boolean>;
|
|
146
|
+
}>, {
|
|
147
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
173
148
|
onToggle: () => void;
|
|
174
149
|
props: {
|
|
175
150
|
readonly header: string;
|
|
@@ -179,13 +154,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
179
154
|
readonly subheader?: string | undefined;
|
|
180
155
|
readonly summaryIcon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
181
156
|
};
|
|
182
|
-
},
|
|
183
|
-
"collapse-item:open": () =>
|
|
184
|
-
"collapse-item:close": () =>
|
|
157
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
158
|
+
"collapse-item:open": () => any;
|
|
159
|
+
"collapse-item:close": () => any;
|
|
185
160
|
}, string, {
|
|
186
161
|
open: boolean;
|
|
187
162
|
mode: "default" | "outline";
|
|
188
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
163
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
189
164
|
$slots: Readonly<{
|
|
190
165
|
default(): any;
|
|
191
166
|
'collapse-header-right'?: (() => any) | undefined;
|
|
@@ -198,9 +173,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
198
173
|
'collapse-preview'?: (() => any) | undefined;
|
|
199
174
|
};
|
|
200
175
|
}))[]>;
|
|
201
|
-
openedCollapseItem: import("vue").Ref<string[]>;
|
|
202
|
-
},
|
|
203
|
-
"update:modelValue": (model: string[]) =>
|
|
176
|
+
openedCollapseItem: import("vue").Ref<string[], string[]>;
|
|
177
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
178
|
+
"update:modelValue": (model: string[]) => any;
|
|
204
179
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
180
|
/** Open one item at a time. Works with modelValue */
|
|
206
181
|
accordion: {
|
|
@@ -219,13 +194,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
219
194
|
type: PropType<"default" | "outline">;
|
|
220
195
|
default: string;
|
|
221
196
|
};
|
|
222
|
-
}>> & {
|
|
197
|
+
}>> & Readonly<{
|
|
223
198
|
"onUpdate:modelValue"?: ((model: string[]) => any) | undefined;
|
|
224
|
-
}
|
|
199
|
+
}>, {
|
|
225
200
|
mode: "default" | "outline";
|
|
226
201
|
accordion: boolean;
|
|
227
202
|
modelValue: string[];
|
|
228
|
-
}, {}>, Readonly<{
|
|
203
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
229
204
|
/** Inject your VJoyCollapseItem here */
|
|
230
205
|
default: () => any;
|
|
231
206
|
}> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
declare function onToggle(): void;
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** Title of the collapse item */
|
|
5
5
|
header: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -27,8 +27,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
type: PropType<"default" | "outline">;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
31
|
-
isOpen: import("vue").Ref<boolean>;
|
|
30
|
+
}>, {
|
|
31
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
32
32
|
onToggle: typeof onToggle;
|
|
33
33
|
props: {
|
|
34
34
|
readonly header: string;
|
|
@@ -38,9 +38,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
readonly subheader?: string | undefined;
|
|
39
39
|
readonly summaryIcon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
40
40
|
};
|
|
41
|
-
},
|
|
42
|
-
"collapse-item:open": () =>
|
|
43
|
-
"collapse-item:close": () =>
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
42
|
+
"collapse-item:open": () => any;
|
|
43
|
+
"collapse-item:close": () => any;
|
|
44
44
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
45
|
/** Title of the collapse item */
|
|
46
46
|
header: {
|
|
@@ -68,13 +68,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
68
|
type: PropType<"default" | "outline">;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
|
-
}>> & {
|
|
71
|
+
}>> & Readonly<{
|
|
72
72
|
"onCollapse-item:open"?: (() => any) | undefined;
|
|
73
73
|
"onCollapse-item:close"?: (() => any) | undefined;
|
|
74
|
-
}
|
|
74
|
+
}>, {
|
|
75
75
|
open: boolean;
|
|
76
76
|
mode: "default" | "outline";
|
|
77
|
-
}, {}>, Readonly<{
|
|
77
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
78
78
|
/** Main content, hidden by default */
|
|
79
79
|
default(): any;
|
|
80
80
|
/** Inject the content you need on the right side, between the header/title and the arrow */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyCompanyAvatarSizes } from './JoyCompanyAvatar.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
/** Inject the URL of your image. Fallback will be the icon */
|
|
5
5
|
imgSrc: StringConstructor;
|
|
6
6
|
/** Mostly for accessibility, use this to add an alternative text. */
|
|
@@ -13,10 +13,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
/** Only applied if you set a imgSrc */
|
|
15
15
|
loading: {
|
|
16
|
-
type: PropType<"
|
|
16
|
+
type: PropType<"lazy" | "eager">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
|
-
}
|
|
19
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
20
|
/** Inject the URL of your image. Fallback will be the icon */
|
|
21
21
|
imgSrc: StringConstructor;
|
|
22
22
|
/** Mostly for accessibility, use this to add an alternative text. */
|
|
@@ -29,11 +29,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
};
|
|
30
30
|
/** Only applied if you set a imgSrc */
|
|
31
31
|
loading: {
|
|
32
|
-
type: PropType<"
|
|
32
|
+
type: PropType<"lazy" | "eager">;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
-
}
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
loading: "lazy" | "eager";
|
|
36
37
|
size: TJoyCompanyAvatarSizes;
|
|
37
|
-
|
|
38
|
-
}, {}>;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyLabelSizes } from '@/components/JoyLabel/JoyLabel.types';
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
autofocus: {
|
|
5
5
|
type: BooleanConstructor;
|
|
6
6
|
default: boolean;
|
|
@@ -66,28 +66,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
errorMessage: {
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
};
|
|
69
|
-
}
|
|
69
|
+
}>, {
|
|
70
70
|
props: {
|
|
71
|
-
readonly disabled: boolean;
|
|
72
|
-
readonly min: number;
|
|
73
|
-
readonly required: boolean;
|
|
74
|
-
readonly step: number;
|
|
75
71
|
readonly invalid: boolean;
|
|
72
|
+
readonly required: boolean;
|
|
73
|
+
readonly disabled: boolean;
|
|
76
74
|
readonly modelValue: number;
|
|
77
75
|
readonly autofocus: boolean;
|
|
78
76
|
readonly labelSize: TJoyLabelSizes;
|
|
79
77
|
readonly requiredMark: boolean;
|
|
78
|
+
readonly min: number;
|
|
79
|
+
readonly step: number;
|
|
80
80
|
readonly label?: string | undefined;
|
|
81
81
|
readonly name?: string | undefined;
|
|
82
|
-
readonly max?: number | undefined;
|
|
83
82
|
readonly id?: string | undefined;
|
|
84
83
|
readonly optionalLabel?: string | undefined;
|
|
85
84
|
readonly labelDecrement?: string | undefined;
|
|
86
85
|
readonly labelIncrement?: string | undefined;
|
|
86
|
+
readonly max?: number | undefined;
|
|
87
87
|
readonly errorMessage?: string | undefined;
|
|
88
88
|
};
|
|
89
|
-
},
|
|
90
|
-
"update:modelValue": (value: number) =>
|
|
89
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
90
|
+
"update:modelValue": (value: number) => any;
|
|
91
91
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
92
92
|
autofocus: {
|
|
93
93
|
type: BooleanConstructor;
|
|
@@ -154,19 +154,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
154
154
|
errorMessage: {
|
|
155
155
|
type: StringConstructor;
|
|
156
156
|
};
|
|
157
|
-
}>> & {
|
|
157
|
+
}>> & Readonly<{
|
|
158
158
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
159
|
-
}
|
|
160
|
-
disabled: boolean;
|
|
161
|
-
min: number;
|
|
162
|
-
required: boolean;
|
|
163
|
-
step: number;
|
|
159
|
+
}>, {
|
|
164
160
|
invalid: boolean;
|
|
161
|
+
required: boolean;
|
|
162
|
+
disabled: boolean;
|
|
165
163
|
modelValue: number;
|
|
166
164
|
autofocus: boolean;
|
|
167
165
|
labelSize: TJoyLabelSizes;
|
|
168
166
|
requiredMark: boolean;
|
|
169
|
-
|
|
167
|
+
min: number;
|
|
168
|
+
step: number;
|
|
169
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
170
170
|
/** Default slot to display a label on top of the element. You can use label property as well */
|
|
171
171
|
default(): any;
|
|
172
172
|
}> & {
|
|
@@ -5,7 +5,7 @@ declare function hide(options?: {
|
|
|
5
5
|
fireHideEvent: boolean;
|
|
6
6
|
}): Promise<void>;
|
|
7
7
|
declare function show(): Promise<void>;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
id: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
};
|
|
@@ -77,19 +77,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
77
|
type: NumberConstructor;
|
|
78
78
|
default: number;
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}>, {
|
|
81
81
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
82
82
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
83
83
|
hide: typeof hide;
|
|
84
|
-
isOpen: import("vue").Ref<boolean>;
|
|
84
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
85
85
|
show: typeof show;
|
|
86
|
-
},
|
|
87
|
-
"dialog:open": () =>
|
|
88
|
-
"dialog:after-open": () =>
|
|
89
|
-
"dialog:hide": () =>
|
|
90
|
-
"dialog:after-hide": () =>
|
|
91
|
-
"dialog:before-unmount": () =>
|
|
92
|
-
"dialog:confirm": () =>
|
|
86
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
87
|
+
"dialog:open": () => any;
|
|
88
|
+
"dialog:after-open": () => any;
|
|
89
|
+
"dialog:hide": () => any;
|
|
90
|
+
"dialog:after-hide": () => any;
|
|
91
|
+
"dialog:before-unmount": () => any;
|
|
92
|
+
"dialog:confirm": () => any;
|
|
93
93
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
id: {
|
|
95
95
|
type: StringConstructor;
|
|
@@ -162,14 +162,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
162
162
|
type: NumberConstructor;
|
|
163
163
|
default: number;
|
|
164
164
|
};
|
|
165
|
-
}>> & {
|
|
165
|
+
}>> & Readonly<{
|
|
166
166
|
"onDialog:open"?: (() => any) | undefined;
|
|
167
167
|
"onDialog:after-open"?: (() => any) | undefined;
|
|
168
168
|
"onDialog:hide"?: (() => any) | undefined;
|
|
169
169
|
"onDialog:after-hide"?: (() => any) | undefined;
|
|
170
170
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
171
171
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
172
|
-
}
|
|
172
|
+
}>, {
|
|
173
173
|
size: TJoyDialogSizes;
|
|
174
174
|
closeLabel: string;
|
|
175
175
|
open: boolean;
|
|
@@ -180,7 +180,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
180
180
|
patternBrand: boolean;
|
|
181
181
|
buttonSize: TJoyButtonSizes;
|
|
182
182
|
bannerHeight: number;
|
|
183
|
-
}, {}>, Readonly<{
|
|
183
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
184
184
|
/** Made for short informations */
|
|
185
185
|
'dialog-preheader': () => any;
|
|
186
186
|
/** Header to inject your title */
|