@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.
Files changed (36) hide show
  1. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +8 -8
  2. package/dist/components/JoyButton/VJoyButton.vue.d.ts +3 -3
  3. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
  4. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
  5. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
  6. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +60 -40
  7. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
  8. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +60 -40
  9. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +7 -7
  10. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +4 -4
  11. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
  12. package/dist/components/JoyInput/VJoyInput.vue.d.ts +3 -3
  13. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
  14. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +2 -2
  15. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +2 -2
  16. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -2
  17. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +48 -48
  18. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +8 -8
  19. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +12 -12
  20. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +12 -12
  21. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  22. package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
  23. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +3 -4
  24. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +3 -3
  25. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
  26. package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
  27. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +36 -24
  28. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +2 -2
  29. package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
  30. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  31. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
  32. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  33. package/dist/joy-vue.js +7 -7
  34. package/dist/joy-vue.umd.cjs +2 -2
  35. package/dist/style.css +1 -1
  36. package/package.json +5 -5
@@ -8,16 +8,16 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
8
8
  $: import("vue").ComponentInternalInstance;
9
9
  $data: {};
10
10
  $props: Partial<{
11
- step: number;
12
11
  open: boolean;
12
+ step: number;
13
13
  steps: number;
14
14
  position: "left" | "right" | "bottom" | "top";
15
15
  maxWidth: number;
16
16
  disableOverlay: boolean;
17
17
  spotlightPadding: number;
18
18
  }> & Omit<{
19
- readonly step: number;
20
19
  readonly open: boolean;
20
+ readonly step: number;
21
21
  readonly steps: number;
22
22
  readonly position: "left" | "right" | "bottom" | "top";
23
23
  readonly maxWidth: number;
@@ -26,10 +26,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
26
26
  readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
27
27
  readonly spotlightSelector?: string | undefined;
28
28
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
29
- step: {
30
- type: import("vue").PropType<number>;
31
- default: number;
32
- };
33
29
  icon: {
34
30
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
35
31
  };
@@ -37,6 +33,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
37
33
  type: import("vue").PropType<boolean>;
38
34
  default: boolean;
39
35
  };
36
+ step: {
37
+ type: import("vue").PropType<number>;
38
+ default: number;
39
+ };
40
40
  steps: {
41
41
  type: import("vue").PropType<number>;
42
42
  default: number;
@@ -60,7 +60,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
60
60
  spotlightSelector: {
61
61
  type: import("vue").PropType<string>;
62
62
  };
63
- }>>, "step" | "open" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
63
+ }>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
64
64
  $attrs: {
65
65
  [x: string]: unknown;
66
66
  };
@@ -75,10 +75,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
75
75
  $emit: (event: string, ...args: any[]) => void;
76
76
  $el: any;
77
77
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
78
- step: {
79
- type: import("vue").PropType<number>;
80
- default: number;
81
- };
82
78
  icon: {
83
79
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
84
80
  };
@@ -86,6 +82,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
86
82
  type: import("vue").PropType<boolean>;
87
83
  default: boolean;
88
84
  };
85
+ step: {
86
+ type: import("vue").PropType<number>;
87
+ default: number;
88
+ };
89
89
  steps: {
90
90
  type: import("vue").PropType<number>;
91
91
  default: number;
@@ -114,8 +114,8 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
114
114
  show: () => void;
115
115
  isOpen: import("vue").Ref<boolean>;
116
116
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
117
- step: number;
118
117
  open: boolean;
118
+ step: number;
119
119
  steps: number;
120
120
  position: "left" | "right" | "bottom" | "top";
121
121
  maxWidth: number;
@@ -142,10 +142,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
142
142
  $nextTick: typeof import("vue").nextTick;
143
143
  $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;
144
144
  } & Omit<Readonly<import("vue").ExtractPropTypes<{
145
- step: {
146
- type: import("vue").PropType<number>;
147
- default: number;
148
- };
149
145
  icon: {
150
146
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
151
147
  };
@@ -153,6 +149,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
153
149
  type: import("vue").PropType<boolean>;
154
150
  default: boolean;
155
151
  };
152
+ step: {
153
+ type: import("vue").PropType<number>;
154
+ default: number;
155
+ };
156
156
  steps: {
157
157
  type: import("vue").PropType<number>;
158
158
  default: number;
@@ -190,16 +190,16 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
190
190
  $: import("vue").ComponentInternalInstance;
191
191
  $data: {};
192
192
  $props: Partial<{
193
- step: number;
194
193
  open: boolean;
194
+ step: number;
195
195
  steps: number;
196
196
  position: "left" | "right" | "bottom" | "top";
197
197
  maxWidth: number;
198
198
  disableOverlay: boolean;
199
199
  spotlightPadding: number;
200
200
  }> & Omit<{
201
- readonly step: number;
202
201
  readonly open: boolean;
202
+ readonly step: number;
203
203
  readonly steps: number;
204
204
  readonly position: "left" | "right" | "bottom" | "top";
205
205
  readonly maxWidth: number;
@@ -208,10 +208,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
208
208
  readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
209
209
  readonly spotlightSelector?: string | undefined;
210
210
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
211
- step: {
212
- type: import("vue").PropType<number>;
213
- default: number;
214
- };
215
211
  icon: {
216
212
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
217
213
  };
@@ -219,6 +215,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
219
215
  type: import("vue").PropType<boolean>;
220
216
  default: boolean;
221
217
  };
218
+ step: {
219
+ type: import("vue").PropType<number>;
220
+ default: number;
221
+ };
222
222
  steps: {
223
223
  type: import("vue").PropType<number>;
224
224
  default: number;
@@ -242,7 +242,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
242
242
  spotlightSelector: {
243
243
  type: import("vue").PropType<string>;
244
244
  };
245
- }>>, "step" | "open" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
245
+ }>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
246
246
  $attrs: {
247
247
  [x: string]: unknown;
248
248
  };
@@ -257,10 +257,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
257
257
  $emit: (event: string, ...args: any[]) => void;
258
258
  $el: any;
259
259
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
260
- step: {
261
- type: import("vue").PropType<number>;
262
- default: number;
263
- };
264
260
  icon: {
265
261
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
266
262
  };
@@ -268,6 +264,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
268
264
  type: import("vue").PropType<boolean>;
269
265
  default: boolean;
270
266
  };
267
+ step: {
268
+ type: import("vue").PropType<number>;
269
+ default: number;
270
+ };
271
271
  steps: {
272
272
  type: import("vue").PropType<number>;
273
273
  default: number;
@@ -296,8 +296,8 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
296
296
  show: () => void;
297
297
  isOpen: import("vue").Ref<boolean>;
298
298
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
299
- step: number;
300
299
  open: boolean;
300
+ step: number;
301
301
  steps: number;
302
302
  position: "left" | "right" | "bottom" | "top";
303
303
  maxWidth: number;
@@ -324,10 +324,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
324
324
  $nextTick: typeof import("vue").nextTick;
325
325
  $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;
326
326
  } & Omit<Readonly<import("vue").ExtractPropTypes<{
327
- step: {
328
- type: import("vue").PropType<number>;
329
- default: number;
330
- };
331
327
  icon: {
332
328
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
333
329
  };
@@ -335,6 +331,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
335
331
  type: import("vue").PropType<boolean>;
336
332
  default: boolean;
337
333
  };
334
+ step: {
335
+ type: import("vue").PropType<number>;
336
+ default: number;
337
+ };
338
338
  steps: {
339
339
  type: import("vue").PropType<number>;
340
340
  default: number;
@@ -372,16 +372,16 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
372
372
  $: import("vue").ComponentInternalInstance;
373
373
  $data: {};
374
374
  $props: Partial<{
375
- step: number;
376
375
  open: boolean;
376
+ step: number;
377
377
  steps: number;
378
378
  position: "left" | "right" | "bottom" | "top";
379
379
  maxWidth: number;
380
380
  disableOverlay: boolean;
381
381
  spotlightPadding: number;
382
382
  }> & Omit<{
383
- readonly step: number;
384
383
  readonly open: boolean;
384
+ readonly step: number;
385
385
  readonly steps: number;
386
386
  readonly position: "left" | "right" | "bottom" | "top";
387
387
  readonly maxWidth: number;
@@ -390,10 +390,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
390
390
  readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
391
391
  readonly spotlightSelector?: string | undefined;
392
392
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
393
- step: {
394
- type: import("vue").PropType<number>;
395
- default: number;
396
- };
397
393
  icon: {
398
394
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
399
395
  };
@@ -401,6 +397,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
401
397
  type: import("vue").PropType<boolean>;
402
398
  default: boolean;
403
399
  };
400
+ step: {
401
+ type: import("vue").PropType<number>;
402
+ default: number;
403
+ };
404
404
  steps: {
405
405
  type: import("vue").PropType<number>;
406
406
  default: number;
@@ -424,7 +424,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
424
424
  spotlightSelector: {
425
425
  type: import("vue").PropType<string>;
426
426
  };
427
- }>>, "step" | "open" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
427
+ }>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
428
428
  $attrs: {
429
429
  [x: string]: unknown;
430
430
  };
@@ -439,10 +439,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
439
439
  $emit: (event: string, ...args: any[]) => void;
440
440
  $el: any;
441
441
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
442
- step: {
443
- type: import("vue").PropType<number>;
444
- default: number;
445
- };
446
442
  icon: {
447
443
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
448
444
  };
@@ -450,6 +446,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
450
446
  type: import("vue").PropType<boolean>;
451
447
  default: boolean;
452
448
  };
449
+ step: {
450
+ type: import("vue").PropType<number>;
451
+ default: number;
452
+ };
453
453
  steps: {
454
454
  type: import("vue").PropType<number>;
455
455
  default: number;
@@ -478,8 +478,8 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
478
478
  show: () => void;
479
479
  isOpen: import("vue").Ref<boolean>;
480
480
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
481
- step: number;
482
481
  open: boolean;
482
+ step: number;
483
483
  steps: number;
484
484
  position: "left" | "right" | "bottom" | "top";
485
485
  maxWidth: number;
@@ -506,10 +506,6 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
506
506
  $nextTick: typeof import("vue").nextTick;
507
507
  $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;
508
508
  } & Omit<Readonly<import("vue").ExtractPropTypes<{
509
- step: {
510
- type: import("vue").PropType<number>;
511
- default: number;
512
- };
513
509
  icon: {
514
510
  type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
515
511
  };
@@ -517,6 +513,10 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
517
513
  type: import("vue").PropType<boolean>;
518
514
  default: boolean;
519
515
  };
516
+ step: {
517
+ type: import("vue").PropType<number>;
518
+ default: number;
519
+ };
520
520
  steps: {
521
521
  type: import("vue").PropType<number>;
522
522
  default: number;
@@ -1,18 +1,13 @@
1
1
  import { VJoyProductTourProps, VJoyProductTourSlots } from './JoyProductTour.types';
2
2
  declare function show(): void;
3
3
  declare function hide(): void;
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<VJoyProductTourProps>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<VJoyProductTourProps>, {
5
5
  show: typeof show;
6
6
  hide: typeof hide;
7
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<VJoyProductTourProps>>>, {}, {}>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
7
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<VJoyProductTourProps>>>, {}, {}>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
8
8
  export default _default;
9
- type __VLS_WithTemplateSlots<T, S> = T & {
10
- new (): {
11
- $slots: S;
12
- };
13
- };
14
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToOption<T> = {
10
+ type __VLS_TypePropsToRuntimeProps<T> = {
16
11
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
12
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
13
  } : {
@@ -20,3 +15,8 @@ type __VLS_TypePropsToOption<T> = {
20
15
  required: true;
21
16
  };
22
17
  };
18
+ type __VLS_WithTemplateSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -1,7 +1,7 @@
1
1
  import type { VJoyProductTourProps, VJoyProductTourSlots } from './JoyProductTour.types';
2
2
  declare function show(): void;
3
3
  declare function hide(): void;
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<VJoyProductTourProps>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VJoyProductTourProps>, {
5
5
  steps: number;
6
6
  step: number;
7
7
  position: string;
@@ -13,7 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  hide: typeof hide;
14
14
  show: typeof show;
15
15
  isOpen: import("vue").Ref<boolean>;
16
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<VJoyProductTourProps>, {
16
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<VJoyProductTourProps>, {
17
17
  steps: number;
18
18
  step: number;
19
19
  position: string;
@@ -22,8 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  disableOverlay: boolean;
23
23
  spotlightPadding: number;
24
24
  }>>>, {
25
- step: number;
26
25
  open: boolean;
26
+ step: number;
27
27
  steps: number;
28
28
  position: "left" | "right" | "bottom" | "top";
29
29
  maxWidth: number;
@@ -31,6 +31,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
31
31
  spotlightPadding: number;
32
32
  }, {}>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
33
33
  export default _default;
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToRuntimeProps<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: import('vue').PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
34
43
  type __VLS_WithDefaults<P, D> = {
35
44
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
45
  default: D[K];
@@ -44,12 +53,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
44
53
  $slots: S;
45
54
  };
46
55
  };
47
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
48
- type __VLS_TypePropsToOption<T> = {
49
- [K in keyof T]-?: {} extends Pick<T, K> ? {
50
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
51
- } : {
52
- type: import('vue').PropType<T[K]>;
53
- required: true;
54
- };
55
- };
@@ -1,12 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
2
  /** VJoyProductTour ref. */
3
3
  productTour: ({
4
4
  $: import("vue").ComponentInternalInstance;
5
5
  $data: {};
6
6
  $props: Partial<{}> & Omit<{
7
- readonly step?: number | undefined;
8
7
  readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
9
8
  readonly open?: boolean | undefined;
9
+ readonly step?: number | undefined;
10
10
  readonly steps?: number | undefined;
11
11
  readonly position?: "left" | "right" | "bottom" | "top" | undefined;
12
12
  readonly maxWidth?: number | undefined;
@@ -138,19 +138,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
138
138
  show: () => void;
139
139
  hide: () => void;
140
140
  }> & {} & import("vue").ComponentCustomProperties & {} & {
141
- $slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
141
+ $slots: Readonly<import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots;
142
142
  }) | null | undefined;
143
143
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
144
144
  click: () => void;
145
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
145
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
146
146
  /** VJoyProductTour ref. */
147
147
  productTour: ({
148
148
  $: import("vue").ComponentInternalInstance;
149
149
  $data: {};
150
150
  $props: Partial<{}> & Omit<{
151
- readonly step?: number | undefined;
152
151
  readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
153
152
  readonly open?: boolean | undefined;
153
+ readonly step?: number | undefined;
154
154
  readonly steps?: number | undefined;
155
155
  readonly position?: "left" | "right" | "bottom" | "top" | undefined;
156
156
  readonly maxWidth?: number | undefined;
@@ -282,7 +282,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
282
282
  show: () => void;
283
283
  hide: () => void;
284
284
  }> & {} & import("vue").ComponentCustomProperties & {} & {
285
- $slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
285
+ $slots: Readonly<import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots;
286
286
  }) | null | undefined;
287
287
  }>>> & {
288
288
  onClick?: (() => any) | undefined;
@@ -294,13 +294,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
294
294
  default: () => any;
295
295
  }>;
296
296
  export default _default;
297
- type __VLS_WithTemplateSlots<T, S> = T & {
298
- new (): {
299
- $slots: S;
300
- };
301
- };
302
297
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
303
- type __VLS_TypePropsToOption<T> = {
298
+ type __VLS_TypePropsToRuntimeProps<T> = {
304
299
  [K in keyof T]-?: {} extends Pick<T, K> ? {
305
300
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
306
301
  } : {
@@ -308,3 +303,8 @@ type __VLS_TypePropsToOption<T> = {
308
303
  required: true;
309
304
  };
310
305
  };
306
+ type __VLS_WithTemplateSlots<T, S> = T & {
307
+ new (): {
308
+ $slots: S;
309
+ };
310
+ };
@@ -70,8 +70,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
70
70
  }>> & {
71
71
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
72
72
  }, {
73
- disabled: boolean;
74
73
  required: boolean;
74
+ disabled: boolean;
75
75
  invalid: boolean;
76
76
  theme: RadioThemes;
77
77
  }, {}>, Readonly<{
@@ -82,9 +82,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
82
82
  }>> & {
83
83
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
84
84
  }, {
85
- disabled: boolean;
86
- required: boolean;
87
85
  size: TJoySelectSizes;
86
+ required: boolean;
87
+ disabled: boolean;
88
88
  invalid: boolean;
89
89
  modelValue: string | number | null;
90
90
  requiredMark: boolean;
@@ -86,13 +86,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
86
86
  }>> & {
87
87
  "onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
88
88
  }, {
89
- checked: boolean;
90
- disabled: boolean;
91
- multiple: boolean;
92
89
  required: boolean;
90
+ disabled: boolean;
91
+ checked: boolean;
93
92
  invalid: boolean;
93
+ multiple: boolean;
94
94
  }, {}>, {
95
- default?(_: {}): any;
96
95
  default?(_: {}): any;
97
96
  "selectable-item-sublabel"?(_: {}): any;
98
97
  }>;
@@ -72,18 +72,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  }>> & {
73
73
  "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
74
74
  }, {
75
- multiple: boolean;
76
75
  required: boolean;
77
76
  value: string | unknown[];
77
+ multiple: boolean;
78
78
  labelSize: TJoyLabelSizes;
79
79
  requiredMark: boolean;
80
80
  fullWidth: boolean;
81
81
  }, {}>, Readonly<{
82
82
  /** Customize the inner HTML of each VJoySelectableItem */
83
- item: () => any;
83
+ item: (option: TJoySelectableItemOption) => any;
84
84
  }> & {
85
85
  /** Customize the inner HTML of each VJoySelectableItem */
86
- item: () => any;
86
+ item: (option: TJoySelectableItemOption) => any;
87
87
  }>;
88
88
  export default _default;
89
89
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
22
22
  default: number;
23
23
  };
24
24
  size: {
25
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
25
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types").TJoyStepSizes>;
26
26
  default: string;
27
27
  };
28
28
  subSteps: {
@@ -49,7 +49,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
49
49
  default: number;
50
50
  };
51
51
  size: {
52
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
52
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types").TJoyStepSizes>;
53
53
  default: string;
54
54
  };
55
55
  subSteps: {
@@ -63,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
63
63
  }>> & {
64
64
  "onUpdate:subSteps"?: (() => any) | undefined;
65
65
  }, {
66
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
66
+ size: import("../JoyStep/TJoyStep.types").TJoyStepSizes;
67
67
  id: string;
68
68
  completed: boolean;
69
69
  currentSubStep: number;
@@ -85,7 +85,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
85
  default: number;
86
86
  };
87
87
  size: {
88
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
88
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types").TJoyStepSizes>;
89
89
  default: string;
90
90
  };
91
91
  subSteps: {
@@ -101,7 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
101
101
  }, {
102
102
  progress: import("vue").ComputedRef<string>;
103
103
  }, {}, {}, {}, {
104
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
104
+ size: import("../JoyStep/TJoyStep.types").TJoyStepSizes;
105
105
  id: string;
106
106
  completed: boolean;
107
107
  currentSubStep: number;
@@ -120,7 +120,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
120
120
  default: number;
121
121
  };
122
122
  size: {
123
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
123
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types").TJoyStepSizes>;
124
124
  default: string;
125
125
  };
126
126
  subSteps: {
@@ -138,7 +138,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
138
138
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
139
139
  "update:subSteps": () => void;
140
140
  }, string, {
141
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
141
+ size: import("../JoyStep/TJoyStep.types").TJoyStepSizes;
142
142
  id: string;
143
143
  completed: boolean;
144
144
  currentSubStep: number;
@@ -16,7 +16,7 @@ interface Props {
16
16
  /** Value property is handy if you use the component with `VJoyTagsList` */
17
17
  value?: string | number;
18
18
  }
19
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
20
20
  size: string;
21
21
  variant: string;
22
22
  value: string;
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
27
27
  selected: (tag: IJoyTagSelected) => void;
28
28
  remove: (value: IJoyTagRemoved) => void;
29
29
  click: () => void;
30
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
31
31
  size: string;
32
32
  variant: string;
33
33
  value: string;
@@ -41,8 +41,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
41
41
  }, {
42
42
  link: boolean;
43
43
  size: TJoyTagSizes;
44
- value: string | number;
45
44
  variant: TJoyTagVariants;
45
+ value: string | number;
46
46
  draggable: boolean;
47
47
  removable: boolean;
48
48
  }, {}>, Readonly<{
@@ -53,6 +53,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
53
53
  default(): any;
54
54
  }>;
55
55
  export default _default;
56
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
57
+ type __VLS_TypePropsToRuntimeProps<T> = {
58
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
59
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
60
+ } : {
61
+ type: import('vue').PropType<T[K]>;
62
+ required: true;
63
+ };
64
+ };
56
65
  type __VLS_WithDefaults<P, D> = {
57
66
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
58
67
  default: D[K];
@@ -66,12 +75,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
66
75
  $slots: S;
67
76
  };
68
77
  };
69
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
70
- type __VLS_TypePropsToOption<T> = {
71
- [K in keyof T]-?: {} extends Pick<T, K> ? {
72
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
73
- } : {
74
- type: import('vue').PropType<T[K]>;
75
- required: true;
76
- };
77
- };