@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.
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +11 -0
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +10 -10
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +4 -4
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +4 -4
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +11 -0
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +7 -7
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +42 -62
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +42 -62
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +5 -5
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +2 -2
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +12 -9
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +9 -6
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +3 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +4 -4
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +18 -18
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +8 -8
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +12 -12
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +14 -14
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +1 -1
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +4 -3
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +1 -1
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +7 -7
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +12 -12
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +18 -18
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +3 -3
- package/dist/components/JoyText/VJoyText.vue.d.ts +3 -3
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +2 -2
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/main.cjs +1 -1
- package/dist/main.js +2 -2
- package/dist/style-359_sDCG.cjs +16 -0
- package/dist/{style-dN97fQhG.js → style-C0tnLvqq.js} +1178 -1164
- package/dist/style.css +1 -1
- package/package.json +29 -28
- package/LICENSE +0 -21
- package/dist/style-CoxBpZr6.cjs +0 -16
|
@@ -6,16 +6,16 @@ export declare const productTourState: {
|
|
|
6
6
|
$: import("vue").ComponentInternalInstance;
|
|
7
7
|
$data: {};
|
|
8
8
|
$props: Partial<{
|
|
9
|
-
open: boolean;
|
|
10
9
|
step: number;
|
|
10
|
+
open: boolean;
|
|
11
11
|
steps: number;
|
|
12
12
|
position: "left" | "right" | "bottom" | "top";
|
|
13
13
|
maxWidth: number;
|
|
14
14
|
disableOverlay: boolean;
|
|
15
15
|
spotlightPadding: number;
|
|
16
16
|
}> & Omit<{
|
|
17
|
-
readonly open: boolean;
|
|
18
17
|
readonly step: number;
|
|
18
|
+
readonly open: boolean;
|
|
19
19
|
readonly steps: number;
|
|
20
20
|
readonly position: "left" | "right" | "bottom" | "top";
|
|
21
21
|
readonly maxWidth: number;
|
|
@@ -24,6 +24,10 @@ export declare const productTourState: {
|
|
|
24
24
|
readonly spotlightSelector: string;
|
|
25
25
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
26
26
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
step: {
|
|
28
|
+
type: import("vue").PropType<number>;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
27
31
|
icon: {
|
|
28
32
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
29
33
|
};
|
|
@@ -31,10 +35,6 @@ export declare const productTourState: {
|
|
|
31
35
|
type: import("vue").PropType<boolean>;
|
|
32
36
|
default: boolean;
|
|
33
37
|
};
|
|
34
|
-
step: {
|
|
35
|
-
type: import("vue").PropType<number>;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
38
|
steps: {
|
|
39
39
|
type: import("vue").PropType<number>;
|
|
40
40
|
default: number;
|
|
@@ -59,7 +59,7 @@ export declare const productTourState: {
|
|
|
59
59
|
type: import("vue").PropType<string>;
|
|
60
60
|
required: true;
|
|
61
61
|
};
|
|
62
|
-
}>>, "
|
|
62
|
+
}>>, "step" | "open" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
|
|
63
63
|
$attrs: {
|
|
64
64
|
[x: string]: unknown;
|
|
65
65
|
};
|
|
@@ -74,6 +74,10 @@ export declare const productTourState: {
|
|
|
74
74
|
$emit: (event: string, ...args: any[]) => void;
|
|
75
75
|
$el: any;
|
|
76
76
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
step: {
|
|
78
|
+
type: import("vue").PropType<number>;
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
77
81
|
icon: {
|
|
78
82
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
79
83
|
};
|
|
@@ -81,10 +85,6 @@ export declare const productTourState: {
|
|
|
81
85
|
type: import("vue").PropType<boolean>;
|
|
82
86
|
default: boolean;
|
|
83
87
|
};
|
|
84
|
-
step: {
|
|
85
|
-
type: import("vue").PropType<number>;
|
|
86
|
-
default: number;
|
|
87
|
-
};
|
|
88
88
|
steps: {
|
|
89
89
|
type: import("vue").PropType<number>;
|
|
90
90
|
default: number;
|
|
@@ -114,8 +114,8 @@ export declare const productTourState: {
|
|
|
114
114
|
show: () => void;
|
|
115
115
|
isOpen: import("vue").Ref<boolean>;
|
|
116
116
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
117
|
-
open: boolean;
|
|
118
117
|
step: number;
|
|
118
|
+
open: boolean;
|
|
119
119
|
steps: number;
|
|
120
120
|
position: "left" | "right" | "bottom" | "top";
|
|
121
121
|
maxWidth: number;
|
|
@@ -140,8 +140,12 @@ export declare const productTourState: {
|
|
|
140
140
|
};
|
|
141
141
|
$forceUpdate: () => void;
|
|
142
142
|
$nextTick: typeof import("vue").nextTick;
|
|
143
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (
|
|
143
|
+
$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;
|
|
144
144
|
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
145
|
+
step: {
|
|
146
|
+
type: import("vue").PropType<number>;
|
|
147
|
+
default: number;
|
|
148
|
+
};
|
|
145
149
|
icon: {
|
|
146
150
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
147
151
|
};
|
|
@@ -149,10 +153,6 @@ export declare const productTourState: {
|
|
|
149
153
|
type: import("vue").PropType<boolean>;
|
|
150
154
|
default: boolean;
|
|
151
155
|
};
|
|
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;
|
|
@@ -182,6 +182,6 @@ export declare const productTourState: {
|
|
|
182
182
|
show: () => void;
|
|
183
183
|
isOpen: import("vue").Ref<boolean>;
|
|
184
184
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
185
|
-
$slots: Readonly<import("./JoyProductTour.types").VJoyProductTourSlots> & import("./JoyProductTour.types").VJoyProductTourSlots;
|
|
185
|
+
$slots: Readonly<import("./JoyProductTour.types.js").VJoyProductTourSlots> & import("./JoyProductTour.types.js").VJoyProductTourSlots;
|
|
186
186
|
}) | null>;
|
|
187
187
|
};
|
|
@@ -1,13 +1,18 @@
|
|
|
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<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<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<
|
|
7
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<VJoyProductTourProps>>>, {}, {}>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
|
|
8
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
9
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
11
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
17
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
18
|
} : {
|
|
@@ -15,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
15
20
|
required: true;
|
|
16
21
|
};
|
|
17
22
|
};
|
|
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<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<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<
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<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
|
-
open: boolean;
|
|
26
25
|
step: number;
|
|
26
|
+
open: boolean;
|
|
27
27
|
steps: number;
|
|
28
28
|
position: "left" | "right" | "bottom" | "top";
|
|
29
29
|
maxWidth: number;
|
|
@@ -31,15 +31,6 @@ 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
|
-
};
|
|
43
34
|
type __VLS_WithDefaults<P, D> = {
|
|
44
35
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
36
|
default: D[K];
|
|
@@ -53,3 +44,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
53
44
|
$slots: S;
|
|
54
45
|
};
|
|
55
46
|
};
|
|
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,13 +1,13 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
/** VJoyProductTour ref. */
|
|
3
3
|
productTour: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{}> & Omit<{
|
|
7
7
|
readonly spotlightSelector: string;
|
|
8
|
+
readonly step?: number | undefined;
|
|
8
9
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
9
10
|
readonly open?: boolean | undefined;
|
|
10
|
-
readonly step?: number | undefined;
|
|
11
11
|
readonly steps?: number | undefined;
|
|
12
12
|
readonly position?: "left" | "right" | "bottom" | "top" | undefined;
|
|
13
13
|
readonly maxWidth?: number | undefined;
|
|
@@ -107,7 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
107
107
|
};
|
|
108
108
|
$forceUpdate: () => void;
|
|
109
109
|
$nextTick: typeof import("vue").nextTick;
|
|
110
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (
|
|
110
|
+
$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;
|
|
111
111
|
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
112
112
|
icon: {
|
|
113
113
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -141,20 +141,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
141
141
|
show: () => void;
|
|
142
142
|
hide: () => void;
|
|
143
143
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
144
|
-
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots;
|
|
144
|
+
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
|
|
145
145
|
}) | null | undefined;
|
|
146
146
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
147
147
|
click: () => void;
|
|
148
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<
|
|
148
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
149
149
|
/** VJoyProductTour ref. */
|
|
150
150
|
productTour: ({
|
|
151
151
|
$: import("vue").ComponentInternalInstance;
|
|
152
152
|
$data: {};
|
|
153
153
|
$props: Partial<{}> & Omit<{
|
|
154
154
|
readonly spotlightSelector: string;
|
|
155
|
+
readonly step?: number | undefined;
|
|
155
156
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
156
157
|
readonly open?: boolean | undefined;
|
|
157
|
-
readonly step?: number | undefined;
|
|
158
158
|
readonly steps?: number | undefined;
|
|
159
159
|
readonly position?: "left" | "right" | "bottom" | "top" | undefined;
|
|
160
160
|
readonly maxWidth?: number | undefined;
|
|
@@ -254,7 +254,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
254
254
|
};
|
|
255
255
|
$forceUpdate: () => void;
|
|
256
256
|
$nextTick: typeof import("vue").nextTick;
|
|
257
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (
|
|
257
|
+
$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;
|
|
258
258
|
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
259
259
|
icon: {
|
|
260
260
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -288,7 +288,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
288
288
|
show: () => void;
|
|
289
289
|
hide: () => void;
|
|
290
290
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
291
|
-
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types").VJoyProductTourSlots;
|
|
291
|
+
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
|
|
292
292
|
}) | null | undefined;
|
|
293
293
|
}>>> & {
|
|
294
294
|
onClick?: (() => any) | undefined;
|
|
@@ -300,8 +300,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
300
300
|
default: () => any;
|
|
301
301
|
}>;
|
|
302
302
|
export default _default;
|
|
303
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
304
|
+
new (): {
|
|
305
|
+
$slots: S;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
303
308
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
304
|
-
type
|
|
309
|
+
type __VLS_TypePropsToOption<T> = {
|
|
305
310
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
306
311
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
307
312
|
} : {
|
|
@@ -309,8 +314,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
309
314
|
required: true;
|
|
310
315
|
};
|
|
311
316
|
};
|
|
312
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
313
|
-
new (): {
|
|
314
|
-
$slots: S;
|
|
315
|
-
};
|
|
316
|
-
};
|
|
@@ -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
|
-
|
|
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<
|
|
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<
|
|
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
|
-
|
|
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
|
-
|
|
10
|
+
size?: TJoyTagSizes | undefined;
|
|
9
11
|
modelValue?: T[] | undefined;
|
|
10
|
-
|
|
11
|
-
|
|
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?: {
|
|
@@ -39,15 +39,15 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
39
39
|
hasDuplicates: () => boolean;
|
|
40
40
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
41
41
|
props: {
|
|
42
|
-
|
|
42
|
+
"onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
43
|
+
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
43
44
|
name?: string | undefined;
|
|
45
|
+
placeholder?: string | undefined;
|
|
44
46
|
variant?: TJoyTagVariants | undefined;
|
|
45
|
-
|
|
47
|
+
size?: TJoyTagSizes | undefined;
|
|
46
48
|
modelValue?: T[] | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
50
|
-
validation?: "none" | "email" | undefined;
|
|
49
|
+
invalid?: boolean | undefined;
|
|
50
|
+
validation?: "email" | "none" | undefined;
|
|
51
51
|
duplicationError?: string | undefined;
|
|
52
52
|
invalidEmailError?: string | undefined;
|
|
53
53
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -80,15 +80,15 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
80
80
|
}> & {
|
|
81
81
|
__ctx?: {
|
|
82
82
|
props: {
|
|
83
|
-
|
|
83
|
+
"onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
|
|
84
|
+
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
84
85
|
name?: string | undefined;
|
|
86
|
+
placeholder?: string | undefined;
|
|
85
87
|
variant?: TJoyTagVariants | undefined;
|
|
86
|
-
|
|
88
|
+
size?: TJoyTagSizes | undefined;
|
|
87
89
|
modelValue?: T[] | undefined;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
|
|
91
|
-
validation?: "none" | "email" | undefined;
|
|
90
|
+
invalid?: boolean | undefined;
|
|
91
|
+
validation?: "email" | "none" | undefined;
|
|
92
92
|
duplicationError?: string | undefined;
|
|
93
93
|
invalidEmailError?: string | undefined;
|
|
94
94
|
} & 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,10 +76,10 @@ 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
|
-
key?:
|
|
82
|
+
key?: PropertyKey | undefined;
|
|
83
83
|
ref?: import("vue").VNodeRef | undefined;
|
|
84
84
|
ref_for?: boolean | undefined;
|
|
85
85
|
ref_key?: string | 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" | "
|
|
6
|
+
type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "link" | "small" | "strike" | "sub" | "sup" | "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" | "
|
|
17
|
+
type: PropType<number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "link" | "small" | "strike" | "sub" | "sup" | "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" | "
|
|
26
|
+
tagName: number | typeof Symbol.iterator | "length" | "concat" | "slice" | "indexOf" | "lastIndexOf" | "includes" | "at" | "toString" | "charAt" | "charCodeAt" | "localeCompare" | "match" | "replace" | "search" | "split" | "substring" | "toLowerCase" | "toLocaleLowerCase" | "toUpperCase" | "toLocaleUpperCase" | "trim" | "substr" | "codePointAt" | "endsWith" | "normalize" | "repeat" | "startsWith" | "anchor" | "big" | "blink" | "bold" | "fixed" | "fontcolor" | "fontsize" | "italics" | "link" | "small" | "strike" | "sub" | "sup" | "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;
|
|
@@ -59,10 +59,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
59
|
}>> & {
|
|
60
60
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}, {
|
|
62
|
-
required: boolean;
|
|
63
62
|
disabled: boolean;
|
|
64
|
-
|
|
63
|
+
required: boolean;
|
|
65
64
|
value: string;
|
|
65
|
+
invalid: boolean;
|
|
66
66
|
modelValue: boolean;
|
|
67
67
|
}, {}>, Readonly<{
|
|
68
68
|
/** Default slot if you need to render a custom label. */
|
|
@@ -81,9 +81,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
81
|
default: string;
|
|
82
82
|
};
|
|
83
83
|
}>>, {
|
|
84
|
+
align: TJoyWrapperAlign;
|
|
84
85
|
wrap: TJoyWrapperWrap;
|
|
85
86
|
justify: TJoyWrapperJustify;
|
|
86
|
-
align: TJoyWrapperAlign;
|
|
87
87
|
direction: TJoyWrapperDirection;
|
|
88
88
|
itemStretch: boolean;
|
|
89
89
|
noMargin: boolean;
|