@maltjoy/core-vue 3.28.0 → 3.28.1-test
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/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +8 -8
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +3 -3
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +60 -40
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +60 -40
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +7 -7
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +4 -4
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +3 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +2 -2
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +2 -2
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -2
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +48 -48
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +8 -8
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +12 -12
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +12 -12
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +3 -4
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +3 -3
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +36 -24
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +2 -2
- package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
- package/dist/joy-vue.js +7 -7
- package/dist/joy-vue.umd.cjs +2 -2
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
/** VJoyBottomSheet ref. */
|
|
3
3
|
bottomSheet: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -148,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
148
148
|
}) | null | undefined;
|
|
149
149
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
150
150
|
click: () => void;
|
|
151
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
151
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
152
152
|
/** VJoyBottomSheet ref. */
|
|
153
153
|
bottomSheet: ({
|
|
154
154
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -306,13 +306,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
306
306
|
default: () => any;
|
|
307
307
|
}>;
|
|
308
308
|
export default _default;
|
|
309
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
310
|
-
new (): {
|
|
311
|
-
$slots: S;
|
|
312
|
-
};
|
|
313
|
-
};
|
|
314
309
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
315
|
-
type
|
|
310
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
316
311
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
317
312
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
318
313
|
} : {
|
|
@@ -320,3 +315,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
320
315
|
required: true;
|
|
321
316
|
};
|
|
322
317
|
};
|
|
318
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
319
|
+
new (): {
|
|
320
|
+
$slots: S;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
/** Left to the text or right */
|
|
17
17
|
iconPosition: {
|
|
18
|
-
type: PropType<import("../../types
|
|
18
|
+
type: PropType<import("../../types").TPositions>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
@@ -56,7 +56,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
56
|
};
|
|
57
57
|
/** Left to the text or right */
|
|
58
58
|
iconPosition: {
|
|
59
|
-
type: PropType<import("../../types
|
|
59
|
+
type: PropType<import("../../types").TPositions>;
|
|
60
60
|
default: string;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
85
85
|
size: TJoyButtonSizes;
|
|
86
86
|
loading: boolean;
|
|
87
87
|
variant: TJoyButtonVariants;
|
|
88
|
-
iconPosition: import("../../types
|
|
88
|
+
iconPosition: import("../../types").TPositions;
|
|
89
89
|
}, {}>, Readonly<{
|
|
90
90
|
/** Default slot for button text */
|
|
91
91
|
default(): any;
|
|
@@ -109,13 +109,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
109
109
|
onBlur?: (() => any) | undefined;
|
|
110
110
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
111
111
|
}, {
|
|
112
|
-
|
|
112
|
+
required: boolean;
|
|
113
113
|
disabled: boolean;
|
|
114
114
|
indeterminate: boolean;
|
|
115
|
-
required: boolean;
|
|
116
|
-
value: string;
|
|
117
|
-
invalid: boolean;
|
|
118
115
|
displayFocus: boolean;
|
|
116
|
+
checked: boolean;
|
|
117
|
+
invalid: boolean;
|
|
118
|
+
value: string;
|
|
119
119
|
}, {}>, Readonly<{
|
|
120
120
|
/** Default slot for checkbox label. You can as well use the label property. */
|
|
121
121
|
default(): any;
|
|
@@ -68,22 +68,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
68
|
};
|
|
69
69
|
}, {
|
|
70
70
|
props: {
|
|
71
|
-
readonly disabled: boolean;
|
|
72
|
-
readonly min: number;
|
|
73
71
|
readonly required: boolean;
|
|
74
|
-
readonly
|
|
72
|
+
readonly disabled: boolean;
|
|
75
73
|
readonly invalid: 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
89
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -157,15 +157,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
157
157
|
}>> & {
|
|
158
158
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
disabled: boolean;
|
|
161
|
-
min: number;
|
|
162
160
|
required: boolean;
|
|
163
|
-
|
|
161
|
+
disabled: boolean;
|
|
164
162
|
invalid: boolean;
|
|
165
163
|
modelValue: number;
|
|
166
164
|
autofocus: boolean;
|
|
167
165
|
labelSize: TJoyLabelSizes;
|
|
168
166
|
requiredMark: boolean;
|
|
167
|
+
min: number;
|
|
168
|
+
step: number;
|
|
169
169
|
}, {}>, 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;
|
|
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
78
78
|
default: number;
|
|
79
79
|
};
|
|
80
80
|
}, {
|
|
81
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
81
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
82
82
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
83
83
|
hide: typeof hide;
|
|
84
84
|
isOpen: import("vue").Ref<boolean>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
/** VJoyDialog ref. */
|
|
3
3
|
dialog: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
size: import("../components.types
|
|
7
|
+
size: import("../components.types").TJoyDialogSizes;
|
|
8
8
|
closeLabel: string;
|
|
9
9
|
open: boolean;
|
|
10
10
|
preventBodyScroll: boolean;
|
|
@@ -12,10 +12,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
12
|
focusTrap: boolean;
|
|
13
13
|
patternConfirm: boolean;
|
|
14
14
|
patternBrand: boolean;
|
|
15
|
-
buttonSize: import("../components.types
|
|
15
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
16
16
|
bannerHeight: number;
|
|
17
17
|
}> & Omit<{
|
|
18
|
-
readonly size: import("../components.types
|
|
18
|
+
readonly size: import("../components.types").TJoyDialogSizes;
|
|
19
19
|
readonly closeLabel: string;
|
|
20
20
|
readonly open: boolean;
|
|
21
21
|
readonly preventBodyScroll: boolean;
|
|
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
readonly focusTrap: boolean;
|
|
24
24
|
readonly patternConfirm: boolean;
|
|
25
25
|
readonly patternBrand: boolean;
|
|
26
|
-
readonly buttonSize: import("../components.types
|
|
26
|
+
readonly buttonSize: import("../components.types").TJoyButtonSizes;
|
|
27
27
|
readonly bannerHeight: number;
|
|
28
28
|
readonly id?: string | undefined;
|
|
29
29
|
readonly cancelText?: string | undefined;
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
41
41
|
type: StringConstructor;
|
|
42
42
|
};
|
|
43
43
|
size: {
|
|
44
|
-
type: import("vue").PropType<import("../components.types
|
|
44
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
focusTrap: {
|
|
@@ -79,7 +79,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
79
79
|
type: StringConstructor;
|
|
80
80
|
};
|
|
81
81
|
buttonSize: {
|
|
82
|
-
type: import("vue").PropType<import("../components.types
|
|
82
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
85
85
|
bannerSrc: {
|
|
@@ -118,7 +118,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
118
118
|
type: StringConstructor;
|
|
119
119
|
};
|
|
120
120
|
size: {
|
|
121
|
-
type: import("vue").PropType<import("../components.types
|
|
121
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
122
122
|
default: string;
|
|
123
123
|
};
|
|
124
124
|
focusTrap: {
|
|
@@ -156,7 +156,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
156
156
|
type: StringConstructor;
|
|
157
157
|
};
|
|
158
158
|
buttonSize: {
|
|
159
|
-
type: import("vue").PropType<import("../components.types
|
|
159
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
160
160
|
default: string;
|
|
161
161
|
};
|
|
162
162
|
bannerSrc: {
|
|
@@ -177,7 +177,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
177
177
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
178
178
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
179
179
|
}, {
|
|
180
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
180
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
181
181
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
182
182
|
hide: (options?: {
|
|
183
183
|
fireHideEvent: boolean;
|
|
@@ -192,7 +192,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
192
192
|
"dialog:before-unmount": () => void;
|
|
193
193
|
"dialog:confirm": () => void;
|
|
194
194
|
}, string, {
|
|
195
|
-
size: import("../components.types
|
|
195
|
+
size: import("../components.types").TJoyDialogSizes;
|
|
196
196
|
closeLabel: string;
|
|
197
197
|
open: boolean;
|
|
198
198
|
preventBodyScroll: boolean;
|
|
@@ -200,7 +200,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
200
200
|
focusTrap: boolean;
|
|
201
201
|
patternConfirm: boolean;
|
|
202
202
|
patternBrand: boolean;
|
|
203
|
-
buttonSize: import("../components.types
|
|
203
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
204
204
|
bannerHeight: number;
|
|
205
205
|
}, {}, string, {}> & {
|
|
206
206
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -227,7 +227,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
227
227
|
type: StringConstructor;
|
|
228
228
|
};
|
|
229
229
|
size: {
|
|
230
|
-
type: import("vue").PropType<import("../components.types
|
|
230
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
231
231
|
default: string;
|
|
232
232
|
};
|
|
233
233
|
focusTrap: {
|
|
@@ -265,7 +265,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
265
265
|
type: StringConstructor;
|
|
266
266
|
};
|
|
267
267
|
buttonSize: {
|
|
268
|
-
type: import("vue").PropType<import("../components.types
|
|
268
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
269
269
|
default: string;
|
|
270
270
|
};
|
|
271
271
|
bannerSrc: {
|
|
@@ -286,7 +286,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
286
286
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
287
287
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
288
288
|
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
289
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
289
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
290
290
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
291
291
|
hide: (options?: {
|
|
292
292
|
fireHideEvent: boolean;
|
|
@@ -295,7 +295,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
295
295
|
show: () => Promise<void>;
|
|
296
296
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
297
297
|
$slots: Readonly<{
|
|
298
|
-
'dialog-preheader': () => any;
|
|
298
|
+
'dialog-preheader': () => any; /** Using renderedDialog allows to get the updated reference of the given dialog prop.
|
|
299
|
+
* When both mounted (dialog and trigger) we can't be 100% sure the VJoyDialog is ready and then,
|
|
300
|
+
* props.dialog is actually "not null"
|
|
301
|
+
*
|
|
302
|
+
* renderedDialog.value should be updated as soon as the VJoyDialog ref is filled.
|
|
303
|
+
*/
|
|
299
304
|
'dialog-header': () => any;
|
|
300
305
|
'dialog-subheader': () => any;
|
|
301
306
|
'dialog-body': () => any;
|
|
@@ -303,7 +308,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
303
308
|
'dialog-confirm': () => any;
|
|
304
309
|
'dialog-indicators': () => any;
|
|
305
310
|
}> & {
|
|
306
|
-
'dialog-preheader': () => any;
|
|
311
|
+
'dialog-preheader': () => any; /** Using renderedDialog allows to get the updated reference of the given dialog prop.
|
|
312
|
+
* When both mounted (dialog and trigger) we can't be 100% sure the VJoyDialog is ready and then,
|
|
313
|
+
* props.dialog is actually "not null"
|
|
314
|
+
*
|
|
315
|
+
* renderedDialog.value should be updated as soon as the VJoyDialog ref is filled.
|
|
316
|
+
*/
|
|
307
317
|
'dialog-header': () => any;
|
|
308
318
|
'dialog-subheader': () => any;
|
|
309
319
|
'dialog-body': () => any;
|
|
@@ -314,13 +324,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
314
324
|
}) | null | undefined;
|
|
315
325
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
316
326
|
click: () => void;
|
|
317
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
327
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
318
328
|
/** VJoyDialog ref. */
|
|
319
329
|
dialog: ({
|
|
320
330
|
$: import("vue").ComponentInternalInstance;
|
|
321
331
|
$data: {};
|
|
322
332
|
$props: Partial<{
|
|
323
|
-
size: import("../components.types
|
|
333
|
+
size: import("../components.types").TJoyDialogSizes;
|
|
324
334
|
closeLabel: string;
|
|
325
335
|
open: boolean;
|
|
326
336
|
preventBodyScroll: boolean;
|
|
@@ -328,10 +338,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
328
338
|
focusTrap: boolean;
|
|
329
339
|
patternConfirm: boolean;
|
|
330
340
|
patternBrand: boolean;
|
|
331
|
-
buttonSize: import("../components.types
|
|
341
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
332
342
|
bannerHeight: number;
|
|
333
343
|
}> & Omit<{
|
|
334
|
-
readonly size: import("../components.types
|
|
344
|
+
readonly size: import("../components.types").TJoyDialogSizes;
|
|
335
345
|
readonly closeLabel: string;
|
|
336
346
|
readonly open: boolean;
|
|
337
347
|
readonly preventBodyScroll: boolean;
|
|
@@ -339,7 +349,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
339
349
|
readonly focusTrap: boolean;
|
|
340
350
|
readonly patternConfirm: boolean;
|
|
341
351
|
readonly patternBrand: boolean;
|
|
342
|
-
readonly buttonSize: import("../components.types
|
|
352
|
+
readonly buttonSize: import("../components.types").TJoyButtonSizes;
|
|
343
353
|
readonly bannerHeight: number;
|
|
344
354
|
readonly id?: string | undefined;
|
|
345
355
|
readonly cancelText?: string | undefined;
|
|
@@ -357,7 +367,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
357
367
|
type: StringConstructor;
|
|
358
368
|
};
|
|
359
369
|
size: {
|
|
360
|
-
type: import("vue").PropType<import("../components.types
|
|
370
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
361
371
|
default: string;
|
|
362
372
|
};
|
|
363
373
|
focusTrap: {
|
|
@@ -395,7 +405,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
395
405
|
type: StringConstructor;
|
|
396
406
|
};
|
|
397
407
|
buttonSize: {
|
|
398
|
-
type: import("vue").PropType<import("../components.types
|
|
408
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
399
409
|
default: string;
|
|
400
410
|
};
|
|
401
411
|
bannerSrc: {
|
|
@@ -434,7 +444,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
434
444
|
type: StringConstructor;
|
|
435
445
|
};
|
|
436
446
|
size: {
|
|
437
|
-
type: import("vue").PropType<import("../components.types
|
|
447
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
438
448
|
default: string;
|
|
439
449
|
};
|
|
440
450
|
focusTrap: {
|
|
@@ -472,7 +482,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
472
482
|
type: StringConstructor;
|
|
473
483
|
};
|
|
474
484
|
buttonSize: {
|
|
475
|
-
type: import("vue").PropType<import("../components.types
|
|
485
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
476
486
|
default: string;
|
|
477
487
|
};
|
|
478
488
|
bannerSrc: {
|
|
@@ -493,7 +503,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
493
503
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
494
504
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
495
505
|
}, {
|
|
496
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
506
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
497
507
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
498
508
|
hide: (options?: {
|
|
499
509
|
fireHideEvent: boolean;
|
|
@@ -508,7 +518,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
508
518
|
"dialog:before-unmount": () => void;
|
|
509
519
|
"dialog:confirm": () => void;
|
|
510
520
|
}, string, {
|
|
511
|
-
size: import("../components.types
|
|
521
|
+
size: import("../components.types").TJoyDialogSizes;
|
|
512
522
|
closeLabel: string;
|
|
513
523
|
open: boolean;
|
|
514
524
|
preventBodyScroll: boolean;
|
|
@@ -516,7 +526,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
516
526
|
focusTrap: boolean;
|
|
517
527
|
patternConfirm: boolean;
|
|
518
528
|
patternBrand: boolean;
|
|
519
|
-
buttonSize: import("../components.types
|
|
529
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
520
530
|
bannerHeight: number;
|
|
521
531
|
}, {}, string, {}> & {
|
|
522
532
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -543,7 +553,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
543
553
|
type: StringConstructor;
|
|
544
554
|
};
|
|
545
555
|
size: {
|
|
546
|
-
type: import("vue").PropType<import("../components.types
|
|
556
|
+
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
547
557
|
default: string;
|
|
548
558
|
};
|
|
549
559
|
focusTrap: {
|
|
@@ -581,7 +591,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
581
591
|
type: StringConstructor;
|
|
582
592
|
};
|
|
583
593
|
buttonSize: {
|
|
584
|
-
type: import("vue").PropType<import("../components.types
|
|
594
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
585
595
|
default: string;
|
|
586
596
|
};
|
|
587
597
|
bannerSrc: {
|
|
@@ -602,7 +612,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
602
612
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
603
613
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
604
614
|
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
605
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
615
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
606
616
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
607
617
|
hide: (options?: {
|
|
608
618
|
fireHideEvent: boolean;
|
|
@@ -611,7 +621,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
611
621
|
show: () => Promise<void>;
|
|
612
622
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
613
623
|
$slots: Readonly<{
|
|
614
|
-
'dialog-preheader': () => any;
|
|
624
|
+
'dialog-preheader': () => any; /** Using renderedDialog allows to get the updated reference of the given dialog prop.
|
|
625
|
+
* When both mounted (dialog and trigger) we can't be 100% sure the VJoyDialog is ready and then,
|
|
626
|
+
* props.dialog is actually "not null"
|
|
627
|
+
*
|
|
628
|
+
* renderedDialog.value should be updated as soon as the VJoyDialog ref is filled.
|
|
629
|
+
*/
|
|
615
630
|
'dialog-header': () => any;
|
|
616
631
|
'dialog-subheader': () => any;
|
|
617
632
|
'dialog-body': () => any;
|
|
@@ -619,7 +634,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
619
634
|
'dialog-confirm': () => any;
|
|
620
635
|
'dialog-indicators': () => any;
|
|
621
636
|
}> & {
|
|
622
|
-
'dialog-preheader': () => any;
|
|
637
|
+
'dialog-preheader': () => any; /** Using renderedDialog allows to get the updated reference of the given dialog prop.
|
|
638
|
+
* When both mounted (dialog and trigger) we can't be 100% sure the VJoyDialog is ready and then,
|
|
639
|
+
* props.dialog is actually "not null"
|
|
640
|
+
*
|
|
641
|
+
* renderedDialog.value should be updated as soon as the VJoyDialog ref is filled.
|
|
642
|
+
*/
|
|
623
643
|
'dialog-header': () => any;
|
|
624
644
|
'dialog-subheader': () => any;
|
|
625
645
|
'dialog-body': () => any;
|
|
@@ -638,13 +658,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
638
658
|
default(): any;
|
|
639
659
|
}>;
|
|
640
660
|
export default _default;
|
|
641
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
642
|
-
new (): {
|
|
643
|
-
$slots: S;
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
661
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
647
|
-
type
|
|
662
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
648
663
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
649
664
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
650
665
|
} : {
|
|
@@ -652,3 +667,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
652
667
|
required: true;
|
|
653
668
|
};
|
|
654
669
|
};
|
|
670
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
671
|
+
new (): {
|
|
672
|
+
$slots: S;
|
|
673
|
+
};
|
|
674
|
+
};
|
|
@@ -68,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
68
|
type: PropType<() => boolean | Promise<boolean>>;
|
|
69
69
|
};
|
|
70
70
|
}, {
|
|
71
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
71
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
72
72
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
73
73
|
hide: typeof hide;
|
|
74
74
|
isOpen: import("vue").Ref<boolean>;
|