@maltjoy/core-vue 3.31.0 → 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.
Files changed (43) hide show
  1. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +11 -0
  2. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +10 -10
  3. package/dist/components/JoyButton/VJoyButton.vue.d.ts +4 -4
  4. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
  5. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +11 -0
  6. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
  7. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
  8. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +42 -62
  9. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
  10. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +42 -62
  11. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +5 -5
  12. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +2 -2
  13. package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +12 -9
  14. package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +9 -6
  15. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
  16. package/dist/components/JoyInput/VJoyInput.vue.d.ts +4 -4
  17. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
  18. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +18 -18
  19. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +8 -8
  20. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +12 -12
  21. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +14 -14
  22. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  23. package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
  24. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +4 -3
  25. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +1 -1
  26. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
  27. package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
  28. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +18 -18
  29. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +3 -3
  30. package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
  31. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  32. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
  33. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  34. package/dist/components.cjs +1 -1
  35. package/dist/components.js +2 -2
  36. package/dist/main.cjs +1 -1
  37. package/dist/main.js +2 -2
  38. package/dist/style-359_sDCG.cjs +16 -0
  39. package/dist/{style-dN97fQhG.js → style-C0tnLvqq.js} +1178 -1164
  40. package/dist/style.css +1 -1
  41. package/package.json +29 -28
  42. package/LICENSE +0 -21
  43. package/dist/style-CoxBpZr6.cjs +0 -16
@@ -1,25 +1,25 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
2
  /** VJoyDrawer ref. */
3
3
  drawer: ({
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{
7
- size: import("../components.types").TJoyDrawerSizes;
7
+ size: import("../components.types.js").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").TJoyButtonSizes;
13
+ buttonSize: import("../components.types.js").TJoyButtonSizes;
14
14
  elevated: boolean;
15
15
  }> & Omit<{
16
- readonly size: import("../components.types").TJoyDrawerSizes;
16
+ readonly size: import("../components.types.js").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").TJoyButtonSizes;
22
+ readonly buttonSize: import("../components.types.js").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").TJoyDrawerSizes>;
43
+ type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
73
+ type: import("vue").PropType<import("../components.types.js").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").TJoyDrawerSizes>;
109
+ type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
139
+ type: import("vue").PropType<import("../components.types.js").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").UseFocusTrapReturn;
153
+ focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").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").TJoyDrawerSizes;
168
+ size: import("../components.types.js").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").TJoyButtonSizes;
174
+ buttonSize: import("../components.types.js").TJoyButtonSizes;
175
175
  elevated: boolean;
176
176
  }, {}, string, {}> & {
177
177
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -192,7 +192,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
192
192
  };
193
193
  $forceUpdate: () => void;
194
194
  $nextTick: typeof import("vue").nextTick;
195
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
195
+ $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;
196
196
  } & Omit<Readonly<import("vue").ExtractPropTypes<{
197
197
  id: {
198
198
  type: StringConstructor;
@@ -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").TJoyDrawerSizes>;
205
+ type: import("vue").PropType<import("../components.types.js").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").TJoyButtonSizes>;
235
+ type: import("vue").PropType<import("../components.types.js").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").UseFocusTrapReturn;
249
+ focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
250
250
  hasFooterSlots: import("vue").ComputedRef<boolean>;
251
251
  hide: (options?: {
252
252
  fireHideEvent: boolean;
@@ -255,24 +255,14 @@ 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; /** 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
- */
258
+ 'drawer-preheader': () => any;
264
259
  'drawer-header': () => any;
265
260
  'drawer-subheader': () => any;
266
261
  'drawer-body': () => any;
267
262
  'drawer-cancel': () => any;
268
263
  'drawer-confirm': () => any;
269
264
  }> & {
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
- */
265
+ 'drawer-preheader': () => any;
276
266
  'drawer-header': () => any;
277
267
  'drawer-subheader': () => any;
278
268
  'drawer-body': () => any;
@@ -282,28 +272,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
282
272
  }) | null | undefined;
283
273
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
284
274
  click: () => void;
285
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
275
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
286
276
  /** VJoyDrawer ref. */
287
277
  drawer: ({
288
278
  $: import("vue").ComponentInternalInstance;
289
279
  $data: {};
290
280
  $props: Partial<{
291
- size: import("../components.types").TJoyDrawerSizes;
281
+ size: import("../components.types.js").TJoyDrawerSizes;
292
282
  closeLabel: string;
293
283
  open: boolean;
294
284
  preventBodyScroll: boolean;
295
285
  teleport: string | import("vue").RendererElement | null | undefined;
296
286
  focusTrap: boolean;
297
- buttonSize: import("../components.types").TJoyButtonSizes;
287
+ buttonSize: import("../components.types.js").TJoyButtonSizes;
298
288
  elevated: boolean;
299
289
  }> & Omit<{
300
- readonly size: import("../components.types").TJoyDrawerSizes;
290
+ readonly size: import("../components.types.js").TJoyDrawerSizes;
301
291
  readonly closeLabel: string;
302
292
  readonly open: boolean;
303
293
  readonly preventBodyScroll: boolean;
304
294
  readonly teleport: string | import("vue").RendererElement | null | undefined;
305
295
  readonly focusTrap: boolean;
306
- readonly buttonSize: import("../components.types").TJoyButtonSizes;
296
+ readonly buttonSize: import("../components.types.js").TJoyButtonSizes;
307
297
  readonly elevated: boolean;
308
298
  readonly id?: string | undefined;
309
299
  readonly cancelText?: string | undefined;
@@ -324,7 +314,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
324
314
  default: boolean;
325
315
  };
326
316
  size: {
327
- type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
317
+ type: import("vue").PropType<import("../components.types.js").TJoyDrawerSizes>;
328
318
  default: string;
329
319
  };
330
320
  teleport: {
@@ -354,7 +344,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
354
344
  type: StringConstructor;
355
345
  };
356
346
  buttonSize: {
357
- type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
347
+ type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
358
348
  default: string;
359
349
  };
360
350
  onBeforeHide: {
@@ -390,7 +380,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
390
380
  default: boolean;
391
381
  };
392
382
  size: {
393
- type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
383
+ type: import("vue").PropType<import("../components.types.js").TJoyDrawerSizes>;
394
384
  default: string;
395
385
  };
396
386
  teleport: {
@@ -420,7 +410,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
420
410
  type: StringConstructor;
421
411
  };
422
412
  buttonSize: {
423
- type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
413
+ type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
424
414
  default: string;
425
415
  };
426
416
  onBeforeHide: {
@@ -434,7 +424,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
434
424
  "onDrawer:before-unmount"?: (() => any) | undefined;
435
425
  "onDrawer:confirm"?: (() => any) | undefined;
436
426
  }, {
437
- focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
427
+ focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
438
428
  hasFooterSlots: import("vue").ComputedRef<boolean>;
439
429
  hide: (options?: {
440
430
  fireHideEvent: boolean;
@@ -449,13 +439,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
449
439
  "drawer:before-unmount": () => void;
450
440
  "drawer:confirm": () => void;
451
441
  }, string, {
452
- size: import("../components.types").TJoyDrawerSizes;
442
+ size: import("../components.types.js").TJoyDrawerSizes;
453
443
  closeLabel: string;
454
444
  open: boolean;
455
445
  preventBodyScroll: boolean;
456
446
  teleport: string | import("vue").RendererElement | null | undefined;
457
447
  focusTrap: boolean;
458
- buttonSize: import("../components.types").TJoyButtonSizes;
448
+ buttonSize: import("../components.types.js").TJoyButtonSizes;
459
449
  elevated: boolean;
460
450
  }, {}, string, {}> & {
461
451
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -476,7 +466,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
476
466
  };
477
467
  $forceUpdate: () => void;
478
468
  $nextTick: typeof import("vue").nextTick;
479
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
469
+ $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;
480
470
  } & Omit<Readonly<import("vue").ExtractPropTypes<{
481
471
  id: {
482
472
  type: StringConstructor;
@@ -486,7 +476,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
486
476
  default: boolean;
487
477
  };
488
478
  size: {
489
- type: import("vue").PropType<import("../components.types").TJoyDrawerSizes>;
479
+ type: import("vue").PropType<import("../components.types.js").TJoyDrawerSizes>;
490
480
  default: string;
491
481
  };
492
482
  teleport: {
@@ -516,7 +506,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
516
506
  type: StringConstructor;
517
507
  };
518
508
  buttonSize: {
519
- type: import("vue").PropType<import("../components.types").TJoyButtonSizes>;
509
+ type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
520
510
  default: string;
521
511
  };
522
512
  onBeforeHide: {
@@ -530,7 +520,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
530
520
  "onDrawer:before-unmount"?: (() => any) | undefined;
531
521
  "onDrawer:confirm"?: (() => any) | undefined;
532
522
  }, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
533
- focusTrapReturn: import("@vueuse/integrations/useFocusTrap").UseFocusTrapReturn;
523
+ focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
534
524
  hasFooterSlots: import("vue").ComputedRef<boolean>;
535
525
  hide: (options?: {
536
526
  fireHideEvent: boolean;
@@ -539,24 +529,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
539
529
  show: () => Promise<void>;
540
530
  }> & {} & import("vue").ComponentCustomProperties & {} & {
541
531
  $slots: Readonly<{
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
- */
532
+ 'drawer-preheader': () => any;
548
533
  'drawer-header': () => any;
549
534
  'drawer-subheader': () => any;
550
535
  'drawer-body': () => any;
551
536
  'drawer-cancel': () => any;
552
537
  'drawer-confirm': () => any;
553
538
  }> & {
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
- */
539
+ 'drawer-preheader': () => any;
560
540
  'drawer-header': () => any;
561
541
  'drawer-subheader': () => any;
562
542
  'drawer-body': () => any;
@@ -574,8 +554,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
574
554
  default(): any;
575
555
  }>;
576
556
  export default _default;
557
+ type __VLS_WithTemplateSlots<T, S> = T & {
558
+ new (): {
559
+ $slots: S;
560
+ };
561
+ };
577
562
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
578
- type __VLS_TypePropsToRuntimeProps<T> = {
563
+ type __VLS_TypePropsToOption<T> = {
579
564
  [K in keyof T]-?: {} extends Pick<T, K> ? {
580
565
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
581
566
  } : {
@@ -583,8 +568,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
583
568
  required: true;
584
569
  };
585
570
  };
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").TPositions>;
44
+ type: PropType<import("../../types/index.js").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").TPositions>;
133
+ type: PropType<import("../../types/index.js").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;
195
196
  size: TJoyDropdownListSizes;
197
+ reset: boolean;
196
198
  width: string;
197
- height: string;
198
- justify: import("../../types").TPositions;
199
+ justify: import("../../types/index.js").TPositions;
199
200
  direction: TJoyDropdownDirections;
200
201
  options: Option[];
201
- reset: boolean;
202
202
  modelValue: string;
203
203
  appendTo: string | import("vue").RendererElement | null | undefined;
204
204
  disableTeleport: boolean;
@@ -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;
103
104
  size: TJoyDropdownListSizes;
105
+ reset: boolean;
104
106
  width: string;
105
- height: string;
106
107
  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;
@@ -1,13 +1,14 @@
1
1
  declare const _default: <T extends {
2
2
  name: string;
3
3
  }>(__VLS_props: {
4
+ "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
5
+ modelValue: (File | T)[];
4
6
  name: string;
5
7
  multiple?: boolean | undefined;
6
- modelValue: (File | T)[];
7
8
  accept?: string[] | undefined;
9
+ maxSize?: number | undefined;
8
10
  deleteLabel?: string | undefined;
9
11
  updateLabel?: string | undefined;
10
- maxSize?: number | undefined;
11
12
  errorTextFormat?: string | undefined;
12
13
  errorTextMaxSize?: string | undefined;
13
14
  errorTextFormatAndMaxSize?: string | undefined;
@@ -32,18 +33,19 @@ declare const _default: <T extends {
32
33
  /** Add file actions next to the update button */
33
34
  'file-actions'?: (() => any) | undefined;
34
35
  };
35
- emit: any;
36
+ emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
36
37
  } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
37
38
  invalid: import("vue").ComputedRef<boolean>;
38
39
  }>) => void) | undefined, __VLS_setup?: Promise<{
39
40
  props: {
41
+ "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
42
+ modelValue: (File | T)[];
40
43
  name: string;
41
44
  multiple?: boolean | undefined;
42
- modelValue: (File | T)[];
43
45
  accept?: string[] | undefined;
46
+ maxSize?: number | undefined;
44
47
  deleteLabel?: string | undefined;
45
48
  updateLabel?: string | undefined;
46
- maxSize?: number | undefined;
47
49
  errorTextFormat?: string | undefined;
48
50
  errorTextMaxSize?: string | undefined;
49
51
  errorTextFormatAndMaxSize?: string | undefined;
@@ -71,19 +73,20 @@ declare const _default: <T extends {
71
73
  /** Add file actions next to the update button */
72
74
  'file-actions'?: (() => any) | undefined;
73
75
  };
74
- emit: any;
76
+ emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
75
77
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
76
78
  [key: string]: any;
77
79
  }> & {
78
80
  __ctx?: {
79
81
  props: {
82
+ "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
83
+ modelValue: (File | T)[];
80
84
  name: string;
81
85
  multiple?: boolean | undefined;
82
- modelValue: (File | T)[];
83
86
  accept?: string[] | undefined;
87
+ maxSize?: number | undefined;
84
88
  deleteLabel?: string | undefined;
85
89
  updateLabel?: string | undefined;
86
- maxSize?: number | undefined;
87
90
  errorTextFormat?: string | undefined;
88
91
  errorTextMaxSize?: string | undefined;
89
92
  errorTextFormatAndMaxSize?: string | undefined;
@@ -111,7 +114,7 @@ declare const _default: <T extends {
111
114
  /** Add file actions next to the update button */
112
115
  'file-actions'?: (() => any) | undefined;
113
116
  };
114
- emit: any;
117
+ emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
115
118
  } | undefined;
116
119
  };
117
120
  export default _default;
@@ -1,12 +1,12 @@
1
1
  declare const _default: <T extends {
2
2
  name: string;
3
3
  }>(__VLS_props: {
4
- error?: string | undefined;
5
- file: T | File;
6
4
  onDelete?: ((...args: any[]) => any) | undefined;
7
5
  onUpdate?: ((...args: any[]) => any) | undefined;
6
+ file: T | File;
8
7
  deleteLabel: string;
9
8
  updateLabel: string;
9
+ error?: string | undefined;
10
10
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
11
11
  attrs: any;
12
12
  slots: Readonly<{
@@ -23,12 +23,12 @@ declare const _default: <T extends {
23
23
  emit: (event: "delete" | "update", ...args: any[]) => void;
24
24
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
25
25
  props: {
26
- error?: string | undefined;
27
- file: T | File;
28
26
  onDelete?: ((...args: any[]) => any) | undefined;
29
27
  onUpdate?: ((...args: any[]) => any) | undefined;
28
+ file: T | File;
30
29
  deleteLabel: string;
31
30
  updateLabel: string;
31
+ error?: string | undefined;
32
32
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
33
33
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
34
34
  attrs: any;
@@ -49,12 +49,12 @@ declare const _default: <T extends {
49
49
  }> & {
50
50
  __ctx?: {
51
51
  props: {
52
- error?: string | undefined;
53
- file: T | File;
54
52
  onDelete?: ((...args: any[]) => any) | undefined;
55
53
  onUpdate?: ((...args: any[]) => any) | undefined;
54
+ file: T | File;
56
55
  deleteLabel: string;
57
56
  updateLabel: string;
57
+ error?: string | undefined;
58
58
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
59
59
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
60
60
  attrs: any;
@@ -73,3 +73,6 @@ declare const _default: <T extends {
73
73
  } | undefined;
74
74
  };
75
75
  export default _default;
76
+ type __VLS_Prettify<T> = {
77
+ [K in keyof T]: T[K];
78
+ } & {};
@@ -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").TLevels>;
18
+ type: PropType<import("../../types/index.js").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").TLevels>;
43
+ type: PropType<import("../../types/index.js").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").TLevels;
53
+ level: import("../../types/index.js").TLevels;
54
54
  accent: boolean;
55
55
  displayIcon: boolean;
56
56
  }, {}>, Readonly<{
@@ -149,10 +149,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
149
149
  }>> & {
150
150
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
151
151
  }, {
152
- type: string;
153
- size: TJoyInputSizes;
154
- required: boolean;
152
+ readonly: boolean;
155
153
  disabled: boolean;
154
+ required: boolean;
155
+ size: TJoyInputSizes;
156
+ type: string;
156
157
  invalid: boolean;
157
158
  autofocus: boolean;
158
159
  labelSize: TJoyLabelSizes;
@@ -161,7 +162,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
161
162
  lazy: boolean;
162
163
  };
163
164
  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
- size: TJoyLabelSizes;
39
38
  required: boolean;
39
+ size: TJoyLabelSizes;
40
40
  tagName: "label" | "legend";
41
41
  }, {}>, Readonly<{
42
42
  /** Label text here */