@maltjoy/core-vue 3.31.0-next → 3.31.1-next
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +11 -0
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +10 -10
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +4 -4
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +19 -0
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +15 -0
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +11 -0
- 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 +42 -62
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +42 -62
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +5 -5
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +2 -2
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +12 -9
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +9 -6
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +4 -4
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +18 -18
- 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 +14 -14
- 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 +4 -3
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +1 -1
- 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 +18 -18
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +3 -3
- 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/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/main.cjs +1 -1
- package/dist/main.js +2 -2
- package/dist/style-359_sDCG.cjs +16 -0
- package/dist/{style-BeFMqd8A.js → style-C0tnLvqq.js} +915 -887
- package/dist/style.css +1 -1
- package/package.json +29 -28
- package/LICENSE +0 -21
- package/dist/style-WXyWlWuE.cjs +0 -16
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
/** VJoyDialog ref. */
|
|
3
3
|
dialog: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
size: import("../components.types").TJoyDialogSizes;
|
|
7
|
+
size: import("../components.types.js").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").TJoyButtonSizes;
|
|
15
|
+
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
16
16
|
bannerHeight: number;
|
|
17
17
|
}> & Omit<{
|
|
18
|
-
readonly size: import("../components.types").TJoyDialogSizes;
|
|
18
|
+
readonly size: import("../components.types.js").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").TJoyButtonSizes;
|
|
26
|
+
readonly buttonSize: import("../components.types.js").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").TJoyDialogSizes>;
|
|
44
|
+
type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
|
|
82
|
+
type: import("vue").PropType<import("../components.types.js").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").TJoyDialogSizes>;
|
|
121
|
+
type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
|
|
159
|
+
type: import("vue").PropType<import("../components.types.js").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").UseFocusTrapReturn;
|
|
180
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").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").TJoyDialogSizes;
|
|
195
|
+
size: import("../components.types.js").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").TJoyButtonSizes;
|
|
203
|
+
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
204
204
|
bannerHeight: number;
|
|
205
205
|
}, {}, string, {}> & {
|
|
206
206
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -221,13 +221,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
221
221
|
};
|
|
222
222
|
$forceUpdate: () => void;
|
|
223
223
|
$nextTick: typeof import("vue").nextTick;
|
|
224
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (
|
|
224
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
225
225
|
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
226
226
|
id: {
|
|
227
227
|
type: StringConstructor;
|
|
228
228
|
};
|
|
229
229
|
size: {
|
|
230
|
-
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
230
|
+
type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
|
|
268
|
+
type: import("vue").PropType<import("../components.types.js").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").UseFocusTrapReturn;
|
|
289
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
290
290
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
291
291
|
hide: (options?: {
|
|
292
292
|
fireHideEvent: boolean;
|
|
@@ -295,12 +295,7 @@ 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;
|
|
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
|
-
*/
|
|
298
|
+
'dialog-preheader': () => any;
|
|
304
299
|
'dialog-header': () => any;
|
|
305
300
|
'dialog-subheader': () => any;
|
|
306
301
|
'dialog-body': () => any;
|
|
@@ -308,12 +303,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
308
303
|
'dialog-confirm': () => any;
|
|
309
304
|
'dialog-indicators': () => any;
|
|
310
305
|
}> & {
|
|
311
|
-
'dialog-preheader': () => any;
|
|
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
|
-
*/
|
|
306
|
+
'dialog-preheader': () => any;
|
|
317
307
|
'dialog-header': () => any;
|
|
318
308
|
'dialog-subheader': () => any;
|
|
319
309
|
'dialog-body': () => any;
|
|
@@ -324,13 +314,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
324
314
|
}) | null | undefined;
|
|
325
315
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
326
316
|
click: () => void;
|
|
327
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
317
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
328
318
|
/** VJoyDialog ref. */
|
|
329
319
|
dialog: ({
|
|
330
320
|
$: import("vue").ComponentInternalInstance;
|
|
331
321
|
$data: {};
|
|
332
322
|
$props: Partial<{
|
|
333
|
-
size: import("../components.types").TJoyDialogSizes;
|
|
323
|
+
size: import("../components.types.js").TJoyDialogSizes;
|
|
334
324
|
closeLabel: string;
|
|
335
325
|
open: boolean;
|
|
336
326
|
preventBodyScroll: boolean;
|
|
@@ -338,10 +328,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
338
328
|
focusTrap: boolean;
|
|
339
329
|
patternConfirm: boolean;
|
|
340
330
|
patternBrand: boolean;
|
|
341
|
-
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
331
|
+
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
342
332
|
bannerHeight: number;
|
|
343
333
|
}> & Omit<{
|
|
344
|
-
readonly size: import("../components.types").TJoyDialogSizes;
|
|
334
|
+
readonly size: import("../components.types.js").TJoyDialogSizes;
|
|
345
335
|
readonly closeLabel: string;
|
|
346
336
|
readonly open: boolean;
|
|
347
337
|
readonly preventBodyScroll: boolean;
|
|
@@ -349,7 +339,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
349
339
|
readonly focusTrap: boolean;
|
|
350
340
|
readonly patternConfirm: boolean;
|
|
351
341
|
readonly patternBrand: boolean;
|
|
352
|
-
readonly buttonSize: import("../components.types").TJoyButtonSizes;
|
|
342
|
+
readonly buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
353
343
|
readonly bannerHeight: number;
|
|
354
344
|
readonly id?: string | undefined;
|
|
355
345
|
readonly cancelText?: string | undefined;
|
|
@@ -367,7 +357,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
367
357
|
type: StringConstructor;
|
|
368
358
|
};
|
|
369
359
|
size: {
|
|
370
|
-
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
360
|
+
type: import("vue").PropType<import("../components.types.js").TJoyDialogSizes>;
|
|
371
361
|
default: string;
|
|
372
362
|
};
|
|
373
363
|
focusTrap: {
|
|
@@ -405,7 +395,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
405
395
|
type: StringConstructor;
|
|
406
396
|
};
|
|
407
397
|
buttonSize: {
|
|
408
|
-
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
398
|
+
type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
|
|
409
399
|
default: string;
|
|
410
400
|
};
|
|
411
401
|
bannerSrc: {
|
|
@@ -444,7 +434,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
444
434
|
type: StringConstructor;
|
|
445
435
|
};
|
|
446
436
|
size: {
|
|
447
|
-
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
437
|
+
type: import("vue").PropType<import("../components.types.js").TJoyDialogSizes>;
|
|
448
438
|
default: string;
|
|
449
439
|
};
|
|
450
440
|
focusTrap: {
|
|
@@ -482,7 +472,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
482
472
|
type: StringConstructor;
|
|
483
473
|
};
|
|
484
474
|
buttonSize: {
|
|
485
|
-
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
475
|
+
type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
|
|
486
476
|
default: string;
|
|
487
477
|
};
|
|
488
478
|
bannerSrc: {
|
|
@@ -503,7 +493,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
503
493
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
504
494
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
505
495
|
}, {
|
|
506
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
496
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
507
497
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
508
498
|
hide: (options?: {
|
|
509
499
|
fireHideEvent: boolean;
|
|
@@ -518,7 +508,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
518
508
|
"dialog:before-unmount": () => void;
|
|
519
509
|
"dialog:confirm": () => void;
|
|
520
510
|
}, string, {
|
|
521
|
-
size: import("../components.types").TJoyDialogSizes;
|
|
511
|
+
size: import("../components.types.js").TJoyDialogSizes;
|
|
522
512
|
closeLabel: string;
|
|
523
513
|
open: boolean;
|
|
524
514
|
preventBodyScroll: boolean;
|
|
@@ -526,7 +516,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
526
516
|
focusTrap: boolean;
|
|
527
517
|
patternConfirm: boolean;
|
|
528
518
|
patternBrand: boolean;
|
|
529
|
-
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
519
|
+
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
530
520
|
bannerHeight: number;
|
|
531
521
|
}, {}, string, {}> & {
|
|
532
522
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -547,13 +537,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
547
537
|
};
|
|
548
538
|
$forceUpdate: () => void;
|
|
549
539
|
$nextTick: typeof import("vue").nextTick;
|
|
550
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (
|
|
540
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
551
541
|
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
552
542
|
id: {
|
|
553
543
|
type: StringConstructor;
|
|
554
544
|
};
|
|
555
545
|
size: {
|
|
556
|
-
type: import("vue").PropType<import("../components.types").TJoyDialogSizes>;
|
|
546
|
+
type: import("vue").PropType<import("../components.types.js").TJoyDialogSizes>;
|
|
557
547
|
default: string;
|
|
558
548
|
};
|
|
559
549
|
focusTrap: {
|
|
@@ -591,7 +581,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
591
581
|
type: StringConstructor;
|
|
592
582
|
};
|
|
593
583
|
buttonSize: {
|
|
594
|
-
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
584
|
+
type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
|
|
595
585
|
default: string;
|
|
596
586
|
};
|
|
597
587
|
bannerSrc: {
|
|
@@ -612,7 +602,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
612
602
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
613
603
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
614
604
|
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
615
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
605
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
616
606
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
617
607
|
hide: (options?: {
|
|
618
608
|
fireHideEvent: boolean;
|
|
@@ -621,12 +611,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
621
611
|
show: () => Promise<void>;
|
|
622
612
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
623
613
|
$slots: Readonly<{
|
|
624
|
-
'dialog-preheader': () => any;
|
|
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
|
-
*/
|
|
614
|
+
'dialog-preheader': () => any;
|
|
630
615
|
'dialog-header': () => any;
|
|
631
616
|
'dialog-subheader': () => any;
|
|
632
617
|
'dialog-body': () => any;
|
|
@@ -634,12 +619,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
634
619
|
'dialog-confirm': () => any;
|
|
635
620
|
'dialog-indicators': () => any;
|
|
636
621
|
}> & {
|
|
637
|
-
'dialog-preheader': () => any;
|
|
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
|
-
*/
|
|
622
|
+
'dialog-preheader': () => any;
|
|
643
623
|
'dialog-header': () => any;
|
|
644
624
|
'dialog-subheader': () => any;
|
|
645
625
|
'dialog-body': () => any;
|
|
@@ -658,8 +638,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
658
638
|
default(): any;
|
|
659
639
|
}>;
|
|
660
640
|
export default _default;
|
|
641
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
642
|
+
new (): {
|
|
643
|
+
$slots: S;
|
|
644
|
+
};
|
|
645
|
+
};
|
|
661
646
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
662
|
-
type
|
|
647
|
+
type __VLS_TypePropsToOption<T> = {
|
|
663
648
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
664
649
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
665
650
|
} : {
|
|
@@ -667,8 +652,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
667
652
|
required: true;
|
|
668
653
|
};
|
|
669
654
|
};
|
|
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").UseFocusTrapReturn;
|
|
71
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
72
72
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
73
73
|
hide: typeof hide;
|
|
74
74
|
isOpen: import("vue").Ref<boolean>;
|