@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,25 +1,25 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
2
|
/** VJoyDrawer ref. */
|
|
3
3
|
drawer: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
-
size: import("../components.types
|
|
7
|
+
size: import("../components.types").TJoyDrawerSizes;
|
|
8
8
|
closeLabel: string;
|
|
9
9
|
open: boolean;
|
|
10
10
|
preventBodyScroll: boolean;
|
|
11
11
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
12
12
|
focusTrap: boolean;
|
|
13
|
-
buttonSize: import("../components.types
|
|
13
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
14
14
|
elevated: boolean;
|
|
15
15
|
}> & Omit<{
|
|
16
|
-
readonly size: import("../components.types
|
|
16
|
+
readonly size: import("../components.types").TJoyDrawerSizes;
|
|
17
17
|
readonly closeLabel: string;
|
|
18
18
|
readonly open: boolean;
|
|
19
19
|
readonly preventBodyScroll: boolean;
|
|
20
20
|
readonly teleport: string | import("vue").RendererElement | null | undefined;
|
|
21
21
|
readonly focusTrap: boolean;
|
|
22
|
-
readonly buttonSize: import("../components.types
|
|
22
|
+
readonly buttonSize: import("../components.types").TJoyButtonSizes;
|
|
23
23
|
readonly elevated: boolean;
|
|
24
24
|
readonly id?: string | undefined;
|
|
25
25
|
readonly cancelText?: string | undefined;
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
default: boolean;
|
|
41
41
|
};
|
|
42
42
|
size: {
|
|
43
|
-
type: import("vue").PropType<import("../components.types
|
|
43
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
teleport: {
|
|
@@ -70,7 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
70
|
type: StringConstructor;
|
|
71
71
|
};
|
|
72
72
|
buttonSize: {
|
|
73
|
-
type: import("vue").PropType<import("../components.types
|
|
73
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
76
|
onBeforeHide: {
|
|
@@ -106,7 +106,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
106
106
|
default: boolean;
|
|
107
107
|
};
|
|
108
108
|
size: {
|
|
109
|
-
type: import("vue").PropType<import("../components.types
|
|
109
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
110
110
|
default: string;
|
|
111
111
|
};
|
|
112
112
|
teleport: {
|
|
@@ -136,7 +136,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
136
136
|
type: StringConstructor;
|
|
137
137
|
};
|
|
138
138
|
buttonSize: {
|
|
139
|
-
type: import("vue").PropType<import("../components.types
|
|
139
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
140
140
|
default: string;
|
|
141
141
|
};
|
|
142
142
|
onBeforeHide: {
|
|
@@ -150,7 +150,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
150
150
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
151
151
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
152
152
|
}, {
|
|
153
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
153
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
154
154
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
155
155
|
hide: (options?: {
|
|
156
156
|
fireHideEvent: boolean;
|
|
@@ -165,13 +165,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
165
165
|
"drawer:before-unmount": () => void;
|
|
166
166
|
"drawer:confirm": () => void;
|
|
167
167
|
}, string, {
|
|
168
|
-
size: import("../components.types
|
|
168
|
+
size: import("../components.types").TJoyDrawerSizes;
|
|
169
169
|
closeLabel: string;
|
|
170
170
|
open: boolean;
|
|
171
171
|
preventBodyScroll: boolean;
|
|
172
172
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
173
173
|
focusTrap: boolean;
|
|
174
|
-
buttonSize: import("../components.types
|
|
174
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
175
175
|
elevated: boolean;
|
|
176
176
|
}, {}, string, {}> & {
|
|
177
177
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -202,7 +202,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
202
202
|
default: boolean;
|
|
203
203
|
};
|
|
204
204
|
size: {
|
|
205
|
-
type: import("vue").PropType<import("../components.types
|
|
205
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
206
206
|
default: string;
|
|
207
207
|
};
|
|
208
208
|
teleport: {
|
|
@@ -232,7 +232,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
232
232
|
type: StringConstructor;
|
|
233
233
|
};
|
|
234
234
|
buttonSize: {
|
|
235
|
-
type: import("vue").PropType<import("../components.types
|
|
235
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
236
236
|
default: string;
|
|
237
237
|
};
|
|
238
238
|
onBeforeHide: {
|
|
@@ -246,7 +246,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
246
246
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
247
247
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
248
248
|
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
249
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
249
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
250
250
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
251
251
|
hide: (options?: {
|
|
252
252
|
fireHideEvent: boolean;
|
|
@@ -255,14 +255,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
255
255
|
show: () => Promise<void>;
|
|
256
256
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
257
257
|
$slots: Readonly<{
|
|
258
|
-
'drawer-preheader': () => any;
|
|
258
|
+
'drawer-preheader': () => any; /** Using renderedDrawer allows to get the updated reference of the given drawer prop.
|
|
259
|
+
* When both mounted (drawer and trigger) we can't be 100% sure the VJoyDrawer is ready and then,
|
|
260
|
+
* props.drawer is actually "not null"
|
|
261
|
+
*
|
|
262
|
+
* renderedDrawer.value should be updated as soon as the VJoyDrawer ref is filled.
|
|
263
|
+
*/
|
|
259
264
|
'drawer-header': () => any;
|
|
260
265
|
'drawer-subheader': () => any;
|
|
261
266
|
'drawer-body': () => any;
|
|
262
267
|
'drawer-cancel': () => any;
|
|
263
268
|
'drawer-confirm': () => any;
|
|
264
269
|
}> & {
|
|
265
|
-
'drawer-preheader': () => any;
|
|
270
|
+
'drawer-preheader': () => any; /** Using renderedDrawer allows to get the updated reference of the given drawer prop.
|
|
271
|
+
* When both mounted (drawer and trigger) we can't be 100% sure the VJoyDrawer is ready and then,
|
|
272
|
+
* props.drawer is actually "not null"
|
|
273
|
+
*
|
|
274
|
+
* renderedDrawer.value should be updated as soon as the VJoyDrawer ref is filled.
|
|
275
|
+
*/
|
|
266
276
|
'drawer-header': () => any;
|
|
267
277
|
'drawer-subheader': () => any;
|
|
268
278
|
'drawer-body': () => any;
|
|
@@ -272,28 +282,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
272
282
|
}) | null | undefined;
|
|
273
283
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
274
284
|
click: () => void;
|
|
275
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
285
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
276
286
|
/** VJoyDrawer ref. */
|
|
277
287
|
drawer: ({
|
|
278
288
|
$: import("vue").ComponentInternalInstance;
|
|
279
289
|
$data: {};
|
|
280
290
|
$props: Partial<{
|
|
281
|
-
size: import("../components.types
|
|
291
|
+
size: import("../components.types").TJoyDrawerSizes;
|
|
282
292
|
closeLabel: string;
|
|
283
293
|
open: boolean;
|
|
284
294
|
preventBodyScroll: boolean;
|
|
285
295
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
286
296
|
focusTrap: boolean;
|
|
287
|
-
buttonSize: import("../components.types
|
|
297
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
288
298
|
elevated: boolean;
|
|
289
299
|
}> & Omit<{
|
|
290
|
-
readonly size: import("../components.types
|
|
300
|
+
readonly size: import("../components.types").TJoyDrawerSizes;
|
|
291
301
|
readonly closeLabel: string;
|
|
292
302
|
readonly open: boolean;
|
|
293
303
|
readonly preventBodyScroll: boolean;
|
|
294
304
|
readonly teleport: string | import("vue").RendererElement | null | undefined;
|
|
295
305
|
readonly focusTrap: boolean;
|
|
296
|
-
readonly buttonSize: import("../components.types
|
|
306
|
+
readonly buttonSize: import("../components.types").TJoyButtonSizes;
|
|
297
307
|
readonly elevated: boolean;
|
|
298
308
|
readonly id?: string | undefined;
|
|
299
309
|
readonly cancelText?: string | undefined;
|
|
@@ -314,7 +324,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
314
324
|
default: boolean;
|
|
315
325
|
};
|
|
316
326
|
size: {
|
|
317
|
-
type: import("vue").PropType<import("../components.types
|
|
327
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
318
328
|
default: string;
|
|
319
329
|
};
|
|
320
330
|
teleport: {
|
|
@@ -344,7 +354,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
344
354
|
type: StringConstructor;
|
|
345
355
|
};
|
|
346
356
|
buttonSize: {
|
|
347
|
-
type: import("vue").PropType<import("../components.types
|
|
357
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
348
358
|
default: string;
|
|
349
359
|
};
|
|
350
360
|
onBeforeHide: {
|
|
@@ -380,7 +390,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
380
390
|
default: boolean;
|
|
381
391
|
};
|
|
382
392
|
size: {
|
|
383
|
-
type: import("vue").PropType<import("../components.types
|
|
393
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
384
394
|
default: string;
|
|
385
395
|
};
|
|
386
396
|
teleport: {
|
|
@@ -410,7 +420,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
410
420
|
type: StringConstructor;
|
|
411
421
|
};
|
|
412
422
|
buttonSize: {
|
|
413
|
-
type: import("vue").PropType<import("../components.types
|
|
423
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
414
424
|
default: string;
|
|
415
425
|
};
|
|
416
426
|
onBeforeHide: {
|
|
@@ -424,7 +434,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
424
434
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
425
435
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
426
436
|
}, {
|
|
427
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
437
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
428
438
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
429
439
|
hide: (options?: {
|
|
430
440
|
fireHideEvent: boolean;
|
|
@@ -439,13 +449,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
439
449
|
"drawer:before-unmount": () => void;
|
|
440
450
|
"drawer:confirm": () => void;
|
|
441
451
|
}, string, {
|
|
442
|
-
size: import("../components.types
|
|
452
|
+
size: import("../components.types").TJoyDrawerSizes;
|
|
443
453
|
closeLabel: string;
|
|
444
454
|
open: boolean;
|
|
445
455
|
preventBodyScroll: boolean;
|
|
446
456
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
447
457
|
focusTrap: boolean;
|
|
448
|
-
buttonSize: import("../components.types
|
|
458
|
+
buttonSize: import("../components.types").TJoyButtonSizes;
|
|
449
459
|
elevated: boolean;
|
|
450
460
|
}, {}, string, {}> & {
|
|
451
461
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -476,7 +486,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
476
486
|
default: boolean;
|
|
477
487
|
};
|
|
478
488
|
size: {
|
|
479
|
-
type: import("vue").PropType<import("../components.types
|
|
489
|
+
type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
|
|
480
490
|
default: string;
|
|
481
491
|
};
|
|
482
492
|
teleport: {
|
|
@@ -506,7 +516,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
506
516
|
type: StringConstructor;
|
|
507
517
|
};
|
|
508
518
|
buttonSize: {
|
|
509
|
-
type: import("vue").PropType<import("../components.types
|
|
519
|
+
type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
|
|
510
520
|
default: string;
|
|
511
521
|
};
|
|
512
522
|
onBeforeHide: {
|
|
@@ -520,7 +530,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
520
530
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
521
531
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
522
532
|
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
523
|
-
focusTrapReturn: import("@vueuse/integrations/useFocusTrap
|
|
533
|
+
focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
|
|
524
534
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
525
535
|
hide: (options?: {
|
|
526
536
|
fireHideEvent: boolean;
|
|
@@ -529,14 +539,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
529
539
|
show: () => Promise<void>;
|
|
530
540
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
531
541
|
$slots: Readonly<{
|
|
532
|
-
'drawer-preheader': () => any;
|
|
542
|
+
'drawer-preheader': () => any; /** Using renderedDrawer allows to get the updated reference of the given drawer prop.
|
|
543
|
+
* When both mounted (drawer and trigger) we can't be 100% sure the VJoyDrawer is ready and then,
|
|
544
|
+
* props.drawer is actually "not null"
|
|
545
|
+
*
|
|
546
|
+
* renderedDrawer.value should be updated as soon as the VJoyDrawer ref is filled.
|
|
547
|
+
*/
|
|
533
548
|
'drawer-header': () => any;
|
|
534
549
|
'drawer-subheader': () => any;
|
|
535
550
|
'drawer-body': () => any;
|
|
536
551
|
'drawer-cancel': () => any;
|
|
537
552
|
'drawer-confirm': () => any;
|
|
538
553
|
}> & {
|
|
539
|
-
'drawer-preheader': () => any;
|
|
554
|
+
'drawer-preheader': () => any; /** Using renderedDrawer allows to get the updated reference of the given drawer prop.
|
|
555
|
+
* When both mounted (drawer and trigger) we can't be 100% sure the VJoyDrawer is ready and then,
|
|
556
|
+
* props.drawer is actually "not null"
|
|
557
|
+
*
|
|
558
|
+
* renderedDrawer.value should be updated as soon as the VJoyDrawer ref is filled.
|
|
559
|
+
*/
|
|
540
560
|
'drawer-header': () => any;
|
|
541
561
|
'drawer-subheader': () => any;
|
|
542
562
|
'drawer-body': () => any;
|
|
@@ -554,13 +574,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
554
574
|
default(): any;
|
|
555
575
|
}>;
|
|
556
576
|
export default _default;
|
|
557
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
558
|
-
new (): {
|
|
559
|
-
$slots: S;
|
|
560
|
-
};
|
|
561
|
-
};
|
|
562
577
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
563
|
-
type
|
|
578
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
564
579
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
565
580
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
566
581
|
} : {
|
|
@@ -568,3 +583,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
568
583
|
required: true;
|
|
569
584
|
};
|
|
570
585
|
};
|
|
586
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
587
|
+
new (): {
|
|
588
|
+
$slots: S;
|
|
589
|
+
};
|
|
590
|
+
};
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
};
|
|
42
42
|
/** Dropdown horizontal justify according to the trigger */
|
|
43
43
|
justify: {
|
|
44
|
-
type: PropType<import("../../types
|
|
44
|
+
type: PropType<import("../../types").TPositions>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
/**
|
|
@@ -130,7 +130,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
130
130
|
};
|
|
131
131
|
/** Dropdown horizontal justify according to the trigger */
|
|
132
132
|
justify: {
|
|
133
|
-
type: PropType<import("../../types
|
|
133
|
+
type: PropType<import("../../types").TPositions>;
|
|
134
134
|
default: string;
|
|
135
135
|
};
|
|
136
136
|
/**
|
|
@@ -192,13 +192,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
192
192
|
"onDropdown:hide"?: (() => any) | undefined;
|
|
193
193
|
"onDropdown:reset"?: (() => any) | undefined;
|
|
194
194
|
}, {
|
|
195
|
-
height: string;
|
|
196
195
|
size: TJoyDropdownListSizes;
|
|
197
|
-
reset: boolean;
|
|
198
196
|
width: string;
|
|
199
|
-
|
|
197
|
+
height: string;
|
|
198
|
+
justify: import("../../types").TPositions;
|
|
200
199
|
direction: TJoyDropdownDirections;
|
|
201
200
|
options: Option[];
|
|
201
|
+
reset: boolean;
|
|
202
202
|
modelValue: string;
|
|
203
203
|
appendTo: string | import("vue").RendererElement | null | undefined;
|
|
204
204
|
disableTeleport: boolean;
|
|
@@ -212,7 +212,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
212
212
|
/** Free slot in order to render any kind of component. Can be handy to use it with VJoyMultiCheckbox for instance. */
|
|
213
213
|
'dropdown-items'?: (() => any) | undefined;
|
|
214
214
|
/** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
215
|
-
'dropdown-item'?: (() => any) | undefined;
|
|
215
|
+
'dropdown-item'?: ((option: Option) => any) | undefined;
|
|
216
216
|
/** Footer that will be injected in the VJoyDropdownList */
|
|
217
217
|
'dropdown-footer'?: (() => any) | undefined;
|
|
218
218
|
}> & {
|
|
@@ -223,7 +223,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
223
223
|
/** Free slot in order to render any kind of component. Can be handy to use it with VJoyMultiCheckbox for instance. */
|
|
224
224
|
'dropdown-items'?: (() => any) | undefined;
|
|
225
225
|
/** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
226
|
-
'dropdown-item'?: (() => any) | undefined;
|
|
226
|
+
'dropdown-item'?: ((option: Option) => any) | undefined;
|
|
227
227
|
/** Footer that will be injected in the VJoyDropdownList */
|
|
228
228
|
'dropdown-footer'?: (() => any) | undefined;
|
|
229
229
|
}>;
|
|
@@ -100,11 +100,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
100
100
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
101
101
|
"onClose:dropdownList"?: (() => any) | undefined;
|
|
102
102
|
}, {
|
|
103
|
-
height: string;
|
|
104
103
|
size: TJoyDropdownListSizes;
|
|
105
|
-
reset: boolean;
|
|
106
104
|
width: string;
|
|
105
|
+
height: string;
|
|
107
106
|
options: Option[];
|
|
107
|
+
reset: boolean;
|
|
108
108
|
}, {}>, Readonly<{
|
|
109
109
|
/** Use it to customize the innerHTML of the <li> item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
110
110
|
label?: ((option: Option) => any) | undefined;
|
|
@@ -113,7 +113,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
113
113
|
/** Free slot in order to render any kind of component. Can be handy to use it with VJoyMultiCheckbox for instance. */
|
|
114
114
|
'dropdown-list-items'?: (() => any) | undefined;
|
|
115
115
|
/** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
116
|
-
'dropdown-list-item'?: (() => any) | undefined;
|
|
116
|
+
'dropdown-list-item'?: ((option: Option) => any) | undefined;
|
|
117
117
|
/** Footer that will be injected in the VJoyDropdownList */
|
|
118
118
|
'dropdown-list-footer'?: (() => any) | undefined;
|
|
119
119
|
}> & {
|
|
@@ -124,7 +124,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
124
124
|
/** Free slot in order to render any kind of component. Can be handy to use it with VJoyMultiCheckbox for instance. */
|
|
125
125
|
'dropdown-list-items'?: (() => any) | undefined;
|
|
126
126
|
/** Use it to customize the innerHTML of the li item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
127
|
-
'dropdown-list-item'?: (() => any) | undefined;
|
|
127
|
+
'dropdown-list-item'?: ((option: Option) => any) | undefined;
|
|
128
128
|
/** Footer that will be injected in the VJoyDropdownList */
|
|
129
129
|
'dropdown-list-footer'?: (() => any) | undefined;
|
|
130
130
|
}>;
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
/** import `TJoyHighlightLevels` */
|
|
17
17
|
level: {
|
|
18
|
-
type: PropType<import("../../types
|
|
18
|
+
type: PropType<import("../../types").TLevels>;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
/** Please note that 'default' variant has no effect. This property is meant to completely override "level" prop style */
|
|
@@ -40,7 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
40
|
};
|
|
41
41
|
/** import `TJoyHighlightLevels` */
|
|
42
42
|
level: {
|
|
43
|
-
type: PropType<import("../../types
|
|
43
|
+
type: PropType<import("../../types").TLevels>;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
/** Please note that 'default' variant has no effect. This property is meant to completely override "level" prop style */
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
}>>, {
|
|
52
52
|
variant: TJoyHighlightVariants;
|
|
53
|
-
level: import("../../types
|
|
53
|
+
level: import("../../types").TLevels;
|
|
54
54
|
accent: boolean;
|
|
55
55
|
displayIcon: boolean;
|
|
56
56
|
}, {}>, Readonly<{
|
|
@@ -150,10 +150,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
150
150
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
151
151
|
}, {
|
|
152
152
|
type: string;
|
|
153
|
-
readonly: boolean;
|
|
154
|
-
disabled: boolean;
|
|
155
|
-
required: boolean;
|
|
156
153
|
size: TJoyInputSizes;
|
|
154
|
+
required: boolean;
|
|
155
|
+
disabled: boolean;
|
|
157
156
|
invalid: boolean;
|
|
158
157
|
autofocus: boolean;
|
|
159
158
|
labelSize: TJoyLabelSizes;
|
|
@@ -162,6 +161,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
162
161
|
lazy: boolean;
|
|
163
162
|
};
|
|
164
163
|
clearable: boolean;
|
|
164
|
+
readonly: boolean;
|
|
165
165
|
}, {}>, Readonly<{
|
|
166
166
|
/** Default slot to display a label on top of the element. You can use label property as well */
|
|
167
167
|
default?: (() => any) | undefined;
|
|
@@ -35,8 +35,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
35
35
|
};
|
|
36
36
|
text: StringConstructor;
|
|
37
37
|
}>>, {
|
|
38
|
-
required: boolean;
|
|
39
38
|
size: TJoyLabelSizes;
|
|
39
|
+
required: boolean;
|
|
40
40
|
tagName: "label" | "legend";
|
|
41
41
|
}, {}>, Readonly<{
|
|
42
42
|
/** Label text here */
|
|
@@ -44,10 +44,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
44
|
items: IJoyMenuItem[];
|
|
45
45
|
}, {}>, Readonly<{
|
|
46
46
|
/** Customize the inner content of each menu item */
|
|
47
|
-
'menu-item': () => any;
|
|
47
|
+
'menu-item': (item: IJoyMenuItem) => any;
|
|
48
48
|
}> & {
|
|
49
49
|
/** Customize the inner content of each menu item */
|
|
50
|
-
'menu-item': () => any;
|
|
50
|
+
'menu-item': (item: IJoyMenuItem) => any;
|
|
51
51
|
}>;
|
|
52
52
|
export default _default;
|
|
53
53
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -82,10 +82,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
82
82
|
requiredMark: boolean;
|
|
83
83
|
}, {}>, Readonly<{
|
|
84
84
|
/** Customize the inner content of each checkboxes */
|
|
85
|
-
checkbox?: (() => any) | undefined;
|
|
85
|
+
checkbox?: ((option: Option) => any) | undefined;
|
|
86
86
|
}> & {
|
|
87
87
|
/** Customize the inner content of each checkboxes */
|
|
88
|
-
checkbox?: (() => any) | undefined;
|
|
88
|
+
checkbox?: ((option: Option) => any) | undefined;
|
|
89
89
|
}>;
|
|
90
90
|
export default _default;
|
|
91
91
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -63,14 +63,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
63
63
|
/** Customize the content of the right arrow */
|
|
64
64
|
'pagination-next'?: (() => any) | undefined;
|
|
65
65
|
/** Customize the content of each pagination item */
|
|
66
|
-
page?: ((
|
|
66
|
+
page?: ((page: {
|
|
67
|
+
page: number;
|
|
68
|
+
}) => any) | undefined;
|
|
67
69
|
}> & {
|
|
68
70
|
/** Customize the content of the left arrow */
|
|
69
71
|
'pagination-prev'?: (() => any) | undefined;
|
|
70
72
|
/** Customize the content of the right arrow */
|
|
71
73
|
'pagination-next'?: (() => any) | undefined;
|
|
72
74
|
/** Customize the content of each pagination item */
|
|
73
|
-
page?: ((
|
|
75
|
+
page?: ((page: {
|
|
76
|
+
page: number;
|
|
77
|
+
}) => any) | undefined;
|
|
74
78
|
}>;
|
|
75
79
|
export default _default;
|
|
76
80
|
type __VLS_WithTemplateSlots<T, S> = T & {
|