@maltjoy/core-vue 3.27.1 → 3.28.0

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 (42) hide show
  1. package/README.md +1 -0
  2. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +8 -8
  3. package/dist/components/JoyButton/VJoyButton.vue.d.ts +3 -3
  4. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
  5. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
  6. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
  7. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +40 -60
  8. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
  9. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +40 -60
  10. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +5 -5
  11. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +2 -2
  12. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +1 -0
  13. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
  14. package/dist/components/JoyInput/VJoyInput.vue.d.ts +3 -3
  15. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
  16. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +550 -0
  17. package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +32 -0
  18. package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +2 -0
  19. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +22 -0
  20. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +55 -0
  21. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +310 -0
  22. package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -2
  23. package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +4 -3
  24. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
  25. package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
  26. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +4 -3
  27. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +1 -1
  28. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
  29. package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
  30. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +18 -18
  31. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +2 -2
  32. package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
  33. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  34. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
  35. package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +97 -0
  36. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  37. package/dist/components/index.d.ts +3 -1
  38. package/dist/joy-vue.js +4711 -4053
  39. package/dist/joy-vue.umd.cjs +12 -4
  40. package/dist/style.css +1 -1
  41. package/joy-components.d.ts +2 -0
  42. package/package.json +6 -7
@@ -0,0 +1,310 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ /** VJoyProductTour ref. */
3
+ productTour: ({
4
+ $: import("vue").ComponentInternalInstance;
5
+ $data: {};
6
+ $props: Partial<{}> & Omit<{
7
+ readonly step?: number | undefined;
8
+ readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
9
+ readonly open?: boolean | undefined;
10
+ readonly steps?: number | undefined;
11
+ readonly position?: "left" | "right" | "bottom" | "top" | undefined;
12
+ readonly maxWidth?: number | undefined;
13
+ readonly disableOverlay?: boolean | undefined;
14
+ readonly spotlightPadding?: number | undefined;
15
+ readonly spotlightSelector?: string | undefined;
16
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
17
+ icon: {
18
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
19
+ };
20
+ steps: {
21
+ type: import("vue").PropType<number>;
22
+ };
23
+ step: {
24
+ type: import("vue").PropType<number>;
25
+ };
26
+ position: {
27
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
28
+ };
29
+ open: {
30
+ type: import("vue").PropType<boolean>;
31
+ };
32
+ maxWidth: {
33
+ type: import("vue").PropType<number>;
34
+ };
35
+ disableOverlay: {
36
+ type: import("vue").PropType<boolean>;
37
+ };
38
+ spotlightPadding: {
39
+ type: import("vue").PropType<number>;
40
+ };
41
+ spotlightSelector: {
42
+ type: import("vue").PropType<string>;
43
+ };
44
+ }>>, never>;
45
+ $attrs: {
46
+ [x: string]: unknown;
47
+ };
48
+ $refs: {
49
+ [x: string]: unknown;
50
+ };
51
+ $slots: Readonly<{
52
+ [name: string]: import("vue").Slot<any> | undefined;
53
+ }>;
54
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
55
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
56
+ $emit: (event: string, ...args: any[]) => void;
57
+ $el: any;
58
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
59
+ icon: {
60
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
61
+ };
62
+ steps: {
63
+ type: import("vue").PropType<number>;
64
+ };
65
+ step: {
66
+ type: import("vue").PropType<number>;
67
+ };
68
+ position: {
69
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
70
+ };
71
+ open: {
72
+ type: import("vue").PropType<boolean>;
73
+ };
74
+ maxWidth: {
75
+ type: import("vue").PropType<number>;
76
+ };
77
+ disableOverlay: {
78
+ type: import("vue").PropType<boolean>;
79
+ };
80
+ spotlightPadding: {
81
+ type: import("vue").PropType<number>;
82
+ };
83
+ spotlightSelector: {
84
+ type: import("vue").PropType<string>;
85
+ };
86
+ }>>, {
87
+ show: () => void;
88
+ hide: () => void;
89
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
90
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
91
+ created?: ((() => void) | (() => void)[]) | undefined;
92
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
93
+ mounted?: ((() => void) | (() => void)[]) | undefined;
94
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
95
+ updated?: ((() => void) | (() => void)[]) | undefined;
96
+ activated?: ((() => void) | (() => void)[]) | undefined;
97
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
98
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
99
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
100
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
101
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
102
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
103
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
104
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
105
+ };
106
+ $forceUpdate: () => void;
107
+ $nextTick: typeof import("vue").nextTick;
108
+ $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;
109
+ } & Omit<Readonly<import("vue").ExtractPropTypes<{
110
+ icon: {
111
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
112
+ };
113
+ steps: {
114
+ type: import("vue").PropType<number>;
115
+ };
116
+ step: {
117
+ type: import("vue").PropType<number>;
118
+ };
119
+ position: {
120
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
121
+ };
122
+ open: {
123
+ type: import("vue").PropType<boolean>;
124
+ };
125
+ maxWidth: {
126
+ type: import("vue").PropType<number>;
127
+ };
128
+ disableOverlay: {
129
+ type: import("vue").PropType<boolean>;
130
+ };
131
+ spotlightPadding: {
132
+ type: import("vue").PropType<number>;
133
+ };
134
+ spotlightSelector: {
135
+ type: import("vue").PropType<string>;
136
+ };
137
+ }>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
138
+ show: () => void;
139
+ hide: () => void;
140
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
141
+ $slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
142
+ }) | null | undefined;
143
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
144
+ click: () => void;
145
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
146
+ /** VJoyProductTour ref. */
147
+ productTour: ({
148
+ $: import("vue").ComponentInternalInstance;
149
+ $data: {};
150
+ $props: Partial<{}> & Omit<{
151
+ readonly step?: number | undefined;
152
+ readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
153
+ readonly open?: boolean | undefined;
154
+ readonly steps?: number | undefined;
155
+ readonly position?: "left" | "right" | "bottom" | "top" | undefined;
156
+ readonly maxWidth?: number | undefined;
157
+ readonly disableOverlay?: boolean | undefined;
158
+ readonly spotlightPadding?: number | undefined;
159
+ readonly spotlightSelector?: string | undefined;
160
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
161
+ icon: {
162
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
163
+ };
164
+ steps: {
165
+ type: import("vue").PropType<number>;
166
+ };
167
+ step: {
168
+ type: import("vue").PropType<number>;
169
+ };
170
+ position: {
171
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
172
+ };
173
+ open: {
174
+ type: import("vue").PropType<boolean>;
175
+ };
176
+ maxWidth: {
177
+ type: import("vue").PropType<number>;
178
+ };
179
+ disableOverlay: {
180
+ type: import("vue").PropType<boolean>;
181
+ };
182
+ spotlightPadding: {
183
+ type: import("vue").PropType<number>;
184
+ };
185
+ spotlightSelector: {
186
+ type: import("vue").PropType<string>;
187
+ };
188
+ }>>, never>;
189
+ $attrs: {
190
+ [x: string]: unknown;
191
+ };
192
+ $refs: {
193
+ [x: string]: unknown;
194
+ };
195
+ $slots: Readonly<{
196
+ [name: string]: import("vue").Slot<any> | undefined;
197
+ }>;
198
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
199
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
200
+ $emit: (event: string, ...args: any[]) => void;
201
+ $el: any;
202
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
203
+ icon: {
204
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
205
+ };
206
+ steps: {
207
+ type: import("vue").PropType<number>;
208
+ };
209
+ step: {
210
+ type: import("vue").PropType<number>;
211
+ };
212
+ position: {
213
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
214
+ };
215
+ open: {
216
+ type: import("vue").PropType<boolean>;
217
+ };
218
+ maxWidth: {
219
+ type: import("vue").PropType<number>;
220
+ };
221
+ disableOverlay: {
222
+ type: import("vue").PropType<boolean>;
223
+ };
224
+ spotlightPadding: {
225
+ type: import("vue").PropType<number>;
226
+ };
227
+ spotlightSelector: {
228
+ type: import("vue").PropType<string>;
229
+ };
230
+ }>>, {
231
+ show: () => void;
232
+ hide: () => void;
233
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
234
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
235
+ created?: ((() => void) | (() => void)[]) | undefined;
236
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
237
+ mounted?: ((() => void) | (() => void)[]) | undefined;
238
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
239
+ updated?: ((() => void) | (() => void)[]) | undefined;
240
+ activated?: ((() => void) | (() => void)[]) | undefined;
241
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
242
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
243
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
244
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
245
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
246
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
247
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
248
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
249
+ };
250
+ $forceUpdate: () => void;
251
+ $nextTick: typeof import("vue").nextTick;
252
+ $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;
253
+ } & Omit<Readonly<import("vue").ExtractPropTypes<{
254
+ icon: {
255
+ type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
256
+ };
257
+ steps: {
258
+ type: import("vue").PropType<number>;
259
+ };
260
+ step: {
261
+ type: import("vue").PropType<number>;
262
+ };
263
+ position: {
264
+ type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
265
+ };
266
+ open: {
267
+ type: import("vue").PropType<boolean>;
268
+ };
269
+ maxWidth: {
270
+ type: import("vue").PropType<number>;
271
+ };
272
+ disableOverlay: {
273
+ type: import("vue").PropType<boolean>;
274
+ };
275
+ spotlightPadding: {
276
+ type: import("vue").PropType<number>;
277
+ };
278
+ spotlightSelector: {
279
+ type: import("vue").PropType<string>;
280
+ };
281
+ }>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
282
+ show: () => void;
283
+ hide: () => void;
284
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
285
+ $slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
286
+ }) | null | undefined;
287
+ }>>> & {
288
+ onClick?: (() => any) | undefined;
289
+ }, {}, {}>, Readonly<{
290
+ /** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
291
+ default: () => any;
292
+ }> & {
293
+ /** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
294
+ default: () => any;
295
+ }>;
296
+ export default _default;
297
+ type __VLS_WithTemplateSlots<T, S> = T & {
298
+ new (): {
299
+ $slots: S;
300
+ };
301
+ };
302
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
303
+ type __VLS_TypePropsToOption<T> = {
304
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
305
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
306
+ } : {
307
+ type: import('vue').PropType<T[K]>;
308
+ required: true;
309
+ };
310
+ };
@@ -1,2 +1,2 @@
1
- import { TGenericVariants } from '../../types';
2
- export type TJoyProgressBarColors = TGenericVariants;
1
+ import { TGenericVariants, TLevels } from '../../types';
2
+ export type TJoyProgressBarColors = TGenericVariants | Exclude<TLevels, 'info' | 'neutral'>;
@@ -1,8 +1,9 @@
1
1
  import { PropType } from 'vue';
2
+ import { TJoyProgressBarColors } from './JoyProgressBar.types';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  /** import TJoyProgressBarColors */
4
5
  color: {
5
- type: PropType<import("../../types").TGenericVariants>;
6
+ type: PropType<TJoyProgressBarColors>;
6
7
  default: string;
7
8
  };
8
9
  /**
@@ -29,7 +30,7 @@ declare const _default: import("vue").DefineComponent<{
29
30
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
31
  /** import TJoyProgressBarColors */
31
32
  color: {
32
- type: PropType<import("../../types").TGenericVariants>;
33
+ type: PropType<TJoyProgressBarColors>;
33
34
  default: string;
34
35
  };
35
36
  /**
@@ -51,6 +52,6 @@ declare const _default: import("vue").DefineComponent<{
51
52
  type: NumberConstructor;
52
53
  };
53
54
  }>>, {
54
- color: import("../../types").TGenericVariants;
55
+ color: TJoyProgressBarColors;
55
56
  }, {}>;
56
57
  export default _default;
@@ -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
- required: boolean;
74
73
  disabled: boolean;
74
+ required: 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
- size: TJoySelectSizes;
86
- required: boolean;
87
85
  disabled: boolean;
86
+ required: boolean;
87
+ size: TJoySelectSizes;
88
88
  invalid: boolean;
89
89
  modelValue: string | number | null;
90
90
  requiredMark: boolean;
@@ -86,12 +86,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
86
86
  }>> & {
87
87
  "onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
88
88
  }, {
89
- required: boolean;
90
- disabled: boolean;
91
89
  checked: boolean;
92
- invalid: boolean;
90
+ disabled: boolean;
93
91
  multiple: boolean;
92
+ required: boolean;
93
+ invalid: boolean;
94
94
  }, {}>, {
95
+ default?(_: {}): any;
95
96
  default?(_: {}): any;
96
97
  "selectable-item-sublabel"?(_: {}): any;
97
98
  }>;
@@ -72,9 +72,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  }>> & {
73
73
  "onUpdate:value"?: ((value: string | any[]) => any) | undefined;
74
74
  }, {
75
+ multiple: boolean;
75
76
  required: boolean;
76
77
  value: string | unknown[];
77
- multiple: boolean;
78
78
  labelSize: TJoyLabelSizes;
79
79
  requiredMark: boolean;
80
80
  fullWidth: boolean;
@@ -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").TJoyStepSizes>;
25
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes>;
52
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes;
66
+ size: import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes>;
88
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes;
104
+ size: import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes>;
123
+ type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").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").TJoyStepSizes;
141
+ size: import("../JoyStep/TJoyStep.types.js").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_TypePropsToRuntimeProps<Props>, {
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<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_TypePropsToRuntimeProps<Props>, {
30
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<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
- variant: TJoyTagVariants;
45
44
  value: string | number;
45
+ variant: TJoyTagVariants;
46
46
  draggable: boolean;
47
47
  removable: boolean;
48
48
  }, {}>, Readonly<{
@@ -53,15 +53,6 @@ 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
- };
65
56
  type __VLS_WithDefaults<P, D> = {
66
57
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
58
  default: D[K];
@@ -75,3 +66,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
75
66
  $slots: S;
76
67
  };
77
68
  };
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
+ };
@@ -2,15 +2,15 @@ import type { Ref } from 'vue';
2
2
  import { TAGS_INPUT_ERRORS } from './JoyTagsInput.types';
3
3
  import type { TJoyTagVariants, TJoyTagSizes } from '../JoyTag/JoyTag.types';
4
4
  declare const _default: <T extends string>(__VLS_props: {
5
- size?: TJoyTagSizes | undefined;
5
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
6
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
6
7
  name?: string | undefined;
8
+ placeholder?: string | undefined;
7
9
  variant?: TJoyTagVariants | undefined;
8
- invalid?: boolean | undefined;
10
+ size?: TJoyTagSizes | undefined;
9
11
  modelValue?: T[] | undefined;
10
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
11
- placeholder?: string | undefined;
12
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
13
- validation?: "none" | "email" | undefined;
12
+ invalid?: boolean | undefined;
13
+ validation?: "email" | "none" | undefined;
14
14
  duplicationError?: string | undefined;
15
15
  invalidEmailError?: string | undefined;
16
16
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
@@ -35,15 +35,15 @@ declare const _default: <T extends string>(__VLS_props: {
35
35
  hasDuplicates: () => boolean;
36
36
  }>) => void) | undefined, __VLS_setup?: Promise<{
37
37
  props: {
38
- size?: TJoyTagSizes | undefined;
38
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
39
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
39
40
  name?: string | undefined;
41
+ placeholder?: string | undefined;
40
42
  variant?: TJoyTagVariants | undefined;
41
- invalid?: boolean | undefined;
43
+ size?: TJoyTagSizes | undefined;
42
44
  modelValue?: T[] | undefined;
43
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
44
- placeholder?: string | undefined;
45
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
46
- validation?: "none" | "email" | undefined;
45
+ invalid?: boolean | undefined;
46
+ validation?: "email" | "none" | undefined;
47
47
  duplicationError?: string | undefined;
48
48
  invalidEmailError?: string | undefined;
49
49
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -72,15 +72,15 @@ declare const _default: <T extends string>(__VLS_props: {
72
72
  }> & {
73
73
  __ctx?: {
74
74
  props: {
75
- size?: TJoyTagSizes | undefined;
75
+ "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
76
+ "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
76
77
  name?: string | undefined;
78
+ placeholder?: string | undefined;
77
79
  variant?: TJoyTagVariants | undefined;
78
- invalid?: boolean | undefined;
80
+ size?: TJoyTagSizes | undefined;
79
81
  modelValue?: T[] | undefined;
80
- "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
81
- placeholder?: string | undefined;
82
- "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
83
- validation?: "none" | "email" | undefined;
82
+ invalid?: boolean | undefined;
83
+ validation?: "email" | "none" | undefined;
84
84
  duplicationError?: string | undefined;
85
85
  invalidEmailError?: string | undefined;
86
86
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
@@ -64,8 +64,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
64
  "onUpdate:modelValue"?: ((tags: TJoyTagsListModel) => any) | undefined;
65
65
  onRemoveTag?: ((tagValue: string | number | undefined) => any) | undefined;
66
66
  }, {
67
- variant: TJoyTagVariants;
68
67
  align: TJoyTagsListAlign;
68
+ variant: TJoyTagVariants;
69
69
  removable: boolean;
70
70
  selectable: boolean;
71
71
  tags: TJoyTagsList;
@@ -76,8 +76,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
76
76
  removable: boolean;
77
77
  link?: boolean | undefined;
78
78
  size?: import("../JoyTag/JoyTag.types").TJoyTagSizes | undefined;
79
- variant?: TJoyTagVariants | undefined;
80
79
  value?: string | number | undefined;
80
+ variant?: TJoyTagVariants | undefined;
81
81
  draggable?: boolean | undefined;
82
82
  key?: string | number | symbol | undefined;
83
83
  ref?: import("vue").VNodeRef | undefined;
@@ -3,7 +3,7 @@ import { TJoyTextFontPreset } from './JoyText.types';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
5
5
  tagName: {
6
- type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
6
+ type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
7
7
  default: string;
8
8
  };
9
9
  /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
@@ -14,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
14
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
16
16
  tagName: {
17
- type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
17
+ type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf">;
18
18
  default: string;
19
19
  };
20
20
  /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  default: string;
24
24
  };
25
25
  }>>, {
26
- tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "search" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf";
26
+ tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "anchor" | "link" | "small" | "sub" | "sup" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "strike" | "padStart" | "padEnd" | "trimEnd" | "trimStart" | "trimLeft" | "trimRight" | "matchAll" | "replaceAll" | "valueOf";
27
27
  preset: TJoyTextFontPreset;
28
28
  }, {}>, Readonly<{
29
29
  /** Main content */
@@ -127,8 +127,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
127
127
  }>> & {
128
128
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
129
129
  }, {
130
- required: boolean;
131
130
  disabled: boolean;
131
+ required: boolean;
132
132
  invalid: boolean;
133
133
  modelValue: string;
134
134
  autofocus: boolean;