@maltjoy/core-vue 5.12.0 → 5.13.1
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/JoyBadge/VJoyBadge.vue.d.ts +0 -2
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +1 -1
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +1 -1
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +12 -12
- package/dist/components/JoyDot/VJoyDot.vue.d.ts +12 -15
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +1 -1
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +12 -12
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +1 -1
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +1 -1
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +15 -0
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +18 -18
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +5 -1
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +4 -4
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +8 -8
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +21 -0
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +8 -0
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +3 -3
- package/dist/components/components.types.d.ts +1 -0
- package/dist/core-vue.js +846 -826
- package/dist/core-vue.umd.cjs +1 -1
- package/dist/joy-core-vue-manifest.json +4 -4
- package/dist/style.css +1 -1
- package/package.json +4 -4
|
@@ -23,7 +23,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
23
23
|
type: PropType<import("../JoyDot/VJoyDot.types").TJoyDotVariants>;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
|
-
number: NumberConstructor;
|
|
27
26
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
27
|
/**
|
|
29
28
|
* Display the colored bulletpoint on the left
|
|
@@ -48,7 +47,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
48
47
|
type: PropType<import("../JoyDot/VJoyDot.types").TJoyDotVariants>;
|
|
49
48
|
default: string;
|
|
50
49
|
};
|
|
51
|
-
number: NumberConstructor;
|
|
52
50
|
}>> & Readonly<{}>, {
|
|
53
51
|
label: string;
|
|
54
52
|
variant: import("../JoyDot/VJoyDot.types").TJoyDotVariants;
|
|
@@ -26,8 +26,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Bo
|
|
|
26
26
|
"onBottom-sheet:close"?: (() => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
frozen: boolean;
|
|
29
|
-
closeLabel: string;
|
|
30
29
|
open: boolean;
|
|
30
|
+
closeLabel: string;
|
|
31
31
|
preventBodyScroll: boolean;
|
|
32
32
|
teleport: string | import("vue").RendererElement | null;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
@@ -178,8 +178,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
178
178
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
179
179
|
}>, {
|
|
180
180
|
size: TJoyDialogSizes;
|
|
181
|
-
closeLabel: string;
|
|
182
181
|
open: boolean;
|
|
182
|
+
closeLabel: string;
|
|
183
183
|
preventBodyScroll: boolean;
|
|
184
184
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
185
185
|
disableTeleport: boolean;
|
|
@@ -5,8 +5,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
8
|
-
closeLabel: string;
|
|
9
8
|
open: boolean;
|
|
9
|
+
closeLabel: string;
|
|
10
10
|
preventBodyScroll: boolean;
|
|
11
11
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
12
12
|
disableTeleport: boolean;
|
|
@@ -17,8 +17,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
17
17
|
bannerHeight: number;
|
|
18
18
|
}> & Omit<{
|
|
19
19
|
readonly size: import("../components.types.js").TJoyDialogSizes;
|
|
20
|
-
readonly closeLabel: string;
|
|
21
20
|
readonly open: boolean;
|
|
21
|
+
readonly closeLabel: string;
|
|
22
22
|
readonly preventBodyScroll: boolean;
|
|
23
23
|
readonly teleport: string | import("vue").RendererElement | null;
|
|
24
24
|
readonly disableTeleport: boolean;
|
|
@@ -38,7 +38,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
readonly "onDialog:after-hide"?: (() => any) | undefined;
|
|
39
39
|
readonly "onDialog:before-unmount"?: (() => any) | undefined;
|
|
40
40
|
readonly "onDialog:confirm"?: (() => any) | undefined;
|
|
41
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "
|
|
41
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "patternConfirm" | "patternBrand" | "buttonSize" | "bannerHeight">;
|
|
42
42
|
$attrs: {
|
|
43
43
|
[x: string]: unknown;
|
|
44
44
|
};
|
|
@@ -136,8 +136,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
136
136
|
"dialog:confirm": () => any;
|
|
137
137
|
}, string, {
|
|
138
138
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
139
|
-
closeLabel: string;
|
|
140
139
|
open: boolean;
|
|
140
|
+
closeLabel: string;
|
|
141
141
|
preventBodyScroll: boolean;
|
|
142
142
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
143
143
|
disableTeleport: boolean;
|
|
@@ -168,8 +168,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
168
168
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
169
169
|
} & Readonly<{
|
|
170
170
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
171
|
-
closeLabel: string;
|
|
172
171
|
open: boolean;
|
|
172
|
+
closeLabel: string;
|
|
173
173
|
preventBodyScroll: boolean;
|
|
174
174
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
175
175
|
disableTeleport: boolean;
|
|
@@ -245,7 +245,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
245
245
|
"onDialog:after-hide"?: (() => any) | undefined;
|
|
246
246
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
247
247
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
248
|
-
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "
|
|
248
|
+
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "patternConfirm" | "patternBrand" | "buttonSize" | "bannerHeight")> & import("vue").ShallowUnwrapRef<{
|
|
249
249
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
250
250
|
hide: (options?: {
|
|
251
251
|
fireHideEvent: boolean;
|
|
@@ -280,8 +280,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
280
280
|
$data: {};
|
|
281
281
|
$props: Partial<{
|
|
282
282
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
283
|
-
closeLabel: string;
|
|
284
283
|
open: boolean;
|
|
284
|
+
closeLabel: string;
|
|
285
285
|
preventBodyScroll: boolean;
|
|
286
286
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
287
287
|
disableTeleport: boolean;
|
|
@@ -292,8 +292,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
292
292
|
bannerHeight: number;
|
|
293
293
|
}> & Omit<{
|
|
294
294
|
readonly size: import("../components.types.js").TJoyDialogSizes;
|
|
295
|
-
readonly closeLabel: string;
|
|
296
295
|
readonly open: boolean;
|
|
296
|
+
readonly closeLabel: string;
|
|
297
297
|
readonly preventBodyScroll: boolean;
|
|
298
298
|
readonly teleport: string | import("vue").RendererElement | null;
|
|
299
299
|
readonly disableTeleport: boolean;
|
|
@@ -313,7 +313,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
313
313
|
readonly "onDialog:after-hide"?: (() => any) | undefined;
|
|
314
314
|
readonly "onDialog:before-unmount"?: (() => any) | undefined;
|
|
315
315
|
readonly "onDialog:confirm"?: (() => any) | undefined;
|
|
316
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "
|
|
316
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "patternConfirm" | "patternBrand" | "buttonSize" | "bannerHeight">;
|
|
317
317
|
$attrs: {
|
|
318
318
|
[x: string]: unknown;
|
|
319
319
|
};
|
|
@@ -411,8 +411,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
411
411
|
"dialog:confirm": () => any;
|
|
412
412
|
}, string, {
|
|
413
413
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
414
|
-
closeLabel: string;
|
|
415
414
|
open: boolean;
|
|
415
|
+
closeLabel: string;
|
|
416
416
|
preventBodyScroll: boolean;
|
|
417
417
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
418
418
|
disableTeleport: boolean;
|
|
@@ -443,8 +443,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
443
443
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
444
444
|
} & Readonly<{
|
|
445
445
|
size: import("../components.types.js").TJoyDialogSizes;
|
|
446
|
-
closeLabel: string;
|
|
447
446
|
open: boolean;
|
|
447
|
+
closeLabel: string;
|
|
448
448
|
preventBodyScroll: boolean;
|
|
449
449
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
450
450
|
disableTeleport: boolean;
|
|
@@ -520,7 +520,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
520
520
|
"onDialog:after-hide"?: (() => any) | undefined;
|
|
521
521
|
"onDialog:before-unmount"?: (() => any) | undefined;
|
|
522
522
|
"onDialog:confirm"?: (() => any) | undefined;
|
|
523
|
-
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "
|
|
523
|
+
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "patternConfirm" | "patternBrand" | "buttonSize" | "bannerHeight")> & import("vue").ShallowUnwrapRef<{
|
|
524
524
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
525
525
|
hide: (options?: {
|
|
526
526
|
fireHideEvent: boolean;
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
1
|
import { TJoyDotVariants } from './VJoyDot.types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
};
|
|
15
|
-
}>> & Readonly<{}>, {
|
|
2
|
+
/**
|
|
3
|
+
* Props for VJoyDot component.
|
|
4
|
+
*/
|
|
5
|
+
interface VJoyDotProps {
|
|
6
|
+
/** number: set a number or a string to display inside the dot, for badge-style dots with numbers. */
|
|
7
|
+
number?: any;
|
|
8
|
+
/** variant: the color variant for the dot. You can use the TJoyDotVariants type. */
|
|
9
|
+
variant?: TJoyDotVariants;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import("vue").DefineComponent<VJoyDotProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<VJoyDotProps> & Readonly<{}>, {
|
|
12
|
+
number: any;
|
|
16
13
|
variant: TJoyDotVariants;
|
|
17
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
15
|
export default _default;
|
|
@@ -149,8 +149,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
149
149
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
150
150
|
}>, {
|
|
151
151
|
size: TJoyDrawerSizes;
|
|
152
|
-
closeLabel: string;
|
|
153
152
|
open: boolean;
|
|
153
|
+
closeLabel: string;
|
|
154
154
|
preventBodyScroll: boolean;
|
|
155
155
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
156
156
|
disableTeleport: boolean;
|
|
@@ -5,8 +5,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
8
|
-
closeLabel: string;
|
|
9
8
|
open: boolean;
|
|
9
|
+
closeLabel: string;
|
|
10
10
|
preventBodyScroll: boolean;
|
|
11
11
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
12
12
|
disableTeleport: boolean;
|
|
@@ -15,8 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
elevated: boolean;
|
|
16
16
|
}> & Omit<{
|
|
17
17
|
readonly size: import("../components.types.js").TJoyDrawerSizes;
|
|
18
|
-
readonly closeLabel: string;
|
|
19
18
|
readonly open: boolean;
|
|
19
|
+
readonly closeLabel: string;
|
|
20
20
|
readonly preventBodyScroll: boolean;
|
|
21
21
|
readonly teleport: string | import("vue").RendererElement | null;
|
|
22
22
|
readonly disableTeleport: boolean;
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
readonly "onDrawer:after-hide"?: (() => any) | undefined;
|
|
34
34
|
readonly "onDrawer:before-unmount"?: (() => any) | undefined;
|
|
35
35
|
readonly "onDrawer:confirm"?: (() => any) | undefined;
|
|
36
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "
|
|
36
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "buttonSize" | "elevated">;
|
|
37
37
|
$attrs: {
|
|
38
38
|
[x: string]: unknown;
|
|
39
39
|
};
|
|
@@ -120,8 +120,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
120
120
|
"drawer:confirm": () => any;
|
|
121
121
|
}, string, {
|
|
122
122
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
123
|
-
closeLabel: string;
|
|
124
123
|
open: boolean;
|
|
124
|
+
closeLabel: string;
|
|
125
125
|
preventBodyScroll: boolean;
|
|
126
126
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
127
127
|
disableTeleport: boolean;
|
|
@@ -150,8 +150,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
150
150
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
151
151
|
} & Readonly<{
|
|
152
152
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
153
|
-
closeLabel: string;
|
|
154
153
|
open: boolean;
|
|
154
|
+
closeLabel: string;
|
|
155
155
|
preventBodyScroll: boolean;
|
|
156
156
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
157
157
|
disableTeleport: boolean;
|
|
@@ -214,7 +214,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
214
214
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
215
215
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
216
216
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
217
|
-
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "
|
|
217
|
+
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "buttonSize" | "elevated")> & import("vue").ShallowUnwrapRef<{
|
|
218
218
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
219
219
|
hide: (options?: {
|
|
220
220
|
fireHideEvent: boolean;
|
|
@@ -247,8 +247,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
247
247
|
$data: {};
|
|
248
248
|
$props: Partial<{
|
|
249
249
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
250
|
-
closeLabel: string;
|
|
251
250
|
open: boolean;
|
|
251
|
+
closeLabel: string;
|
|
252
252
|
preventBodyScroll: boolean;
|
|
253
253
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
254
254
|
disableTeleport: boolean;
|
|
@@ -257,8 +257,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
257
257
|
elevated: boolean;
|
|
258
258
|
}> & Omit<{
|
|
259
259
|
readonly size: import("../components.types.js").TJoyDrawerSizes;
|
|
260
|
-
readonly closeLabel: string;
|
|
261
260
|
readonly open: boolean;
|
|
261
|
+
readonly closeLabel: string;
|
|
262
262
|
readonly preventBodyScroll: boolean;
|
|
263
263
|
readonly teleport: string | import("vue").RendererElement | null;
|
|
264
264
|
readonly disableTeleport: boolean;
|
|
@@ -275,7 +275,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
275
275
|
readonly "onDrawer:after-hide"?: (() => any) | undefined;
|
|
276
276
|
readonly "onDrawer:before-unmount"?: (() => any) | undefined;
|
|
277
277
|
readonly "onDrawer:confirm"?: (() => any) | undefined;
|
|
278
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "
|
|
278
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "buttonSize" | "elevated">;
|
|
279
279
|
$attrs: {
|
|
280
280
|
[x: string]: unknown;
|
|
281
281
|
};
|
|
@@ -362,8 +362,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
362
362
|
"drawer:confirm": () => any;
|
|
363
363
|
}, string, {
|
|
364
364
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
365
|
-
closeLabel: string;
|
|
366
365
|
open: boolean;
|
|
366
|
+
closeLabel: string;
|
|
367
367
|
preventBodyScroll: boolean;
|
|
368
368
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
369
369
|
disableTeleport: boolean;
|
|
@@ -392,8 +392,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
392
392
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
393
393
|
} & Readonly<{
|
|
394
394
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
395
|
-
closeLabel: string;
|
|
396
395
|
open: boolean;
|
|
396
|
+
closeLabel: string;
|
|
397
397
|
preventBodyScroll: boolean;
|
|
398
398
|
teleport: string | import("vue").RendererElement | null | undefined;
|
|
399
399
|
disableTeleport: boolean;
|
|
@@ -456,7 +456,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
456
456
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
457
457
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
458
458
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
459
|
-
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "
|
|
459
|
+
}>, "isOpen" | "hide" | "show" | "hasFooterSlots" | ("size" | "open" | "closeLabel" | "preventBodyScroll" | "teleport" | "disableTeleport" | "demoMode" | "buttonSize" | "elevated")> & import("vue").ShallowUnwrapRef<{
|
|
460
460
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
461
461
|
hide: (options?: {
|
|
462
462
|
fireHideEvent: boolean;
|
|
@@ -179,11 +179,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
179
179
|
}>, {
|
|
180
180
|
reset: boolean;
|
|
181
181
|
size: TJoyDropdownListSizes;
|
|
182
|
+
options: TJoyDropdownOption[];
|
|
182
183
|
width: string;
|
|
183
184
|
height: string;
|
|
184
185
|
justify: import("../../types/index.js").TPositions;
|
|
185
186
|
direction: TJoyDropdownDirections;
|
|
186
|
-
options: TJoyDropdownOption[];
|
|
187
187
|
modelValue: string;
|
|
188
188
|
disableTeleport: boolean;
|
|
189
189
|
appendTo: string | import("vue").RendererElement | null | undefined;
|
|
@@ -102,9 +102,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
102
102
|
}>, {
|
|
103
103
|
reset: boolean;
|
|
104
104
|
size: TJoyDropdownListSizes;
|
|
105
|
+
options: Option[];
|
|
105
106
|
width: string;
|
|
106
107
|
height: string;
|
|
107
|
-
options: Option[];
|
|
108
108
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
109
109
|
/** Use it to customize the innerHTML of the <li> item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
110
110
|
label?: ((option: Option) => any) | undefined;
|
|
@@ -20,6 +20,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
20
20
|
* @deprecated Use the slot instead, or the errors prop.
|
|
21
21
|
*/
|
|
22
22
|
noHtmlErrorText: StringConstructor;
|
|
23
|
+
/**
|
|
24
|
+
* Allows to remove any bottom margin on the component
|
|
25
|
+
*/
|
|
26
|
+
noMargin: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
23
30
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
31
|
/**
|
|
25
32
|
* In some cases you'll need to inject the error in the DOM but hide it. Visible by default
|
|
@@ -41,7 +48,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
41
48
|
* @deprecated Use the slot instead, or the errors prop.
|
|
42
49
|
*/
|
|
43
50
|
noHtmlErrorText: StringConstructor;
|
|
51
|
+
/**
|
|
52
|
+
* Allows to remove any bottom margin on the component
|
|
53
|
+
*/
|
|
54
|
+
noMargin: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
44
58
|
}>> & Readonly<{}>, {
|
|
59
|
+
noMargin: boolean;
|
|
45
60
|
visible: boolean;
|
|
46
61
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
47
62
|
/** If you need a list of error, use this slot with a simple ul/li */
|
|
@@ -60,8 +60,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
60
60
|
}>> & Readonly<{}>, {
|
|
61
61
|
loading: boolean;
|
|
62
62
|
variant: TJoyPanelVariants;
|
|
63
|
-
noMargin: boolean;
|
|
64
63
|
padding: TJoyPanelSizes;
|
|
64
|
+
noMargin: boolean;
|
|
65
65
|
titleSize: TJoyPanelTitleSizes;
|
|
66
66
|
loadingColor: TJoyScreenLoaderColors;
|
|
67
67
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
|
|
@@ -41,12 +41,12 @@ export declare const productTourState: {
|
|
|
41
41
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
42
|
"product-tour:hide": () => any;
|
|
43
43
|
}, string, {
|
|
44
|
+
disableOverlay: boolean;
|
|
45
|
+
steps: number;
|
|
46
|
+
step: number;
|
|
47
|
+
position: "left" | "right" | "bottom" | "top";
|
|
44
48
|
open: boolean;
|
|
45
49
|
maxWidth: number;
|
|
46
|
-
position: "left" | "right" | "bottom" | "top";
|
|
47
|
-
step: number;
|
|
48
|
-
steps: number;
|
|
49
|
-
disableOverlay: boolean;
|
|
50
50
|
spotlightPadding: number;
|
|
51
51
|
closeButton: boolean;
|
|
52
52
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
@@ -70,17 +70,17 @@ export declare const productTourState: {
|
|
|
70
70
|
$nextTick: typeof import("vue").nextTick;
|
|
71
71
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
72
72
|
} & Readonly<{
|
|
73
|
+
disableOverlay: boolean;
|
|
74
|
+
steps: number;
|
|
75
|
+
step: number;
|
|
76
|
+
position: "left" | "right" | "bottom" | "top";
|
|
73
77
|
open: boolean;
|
|
74
78
|
maxWidth: number;
|
|
75
|
-
position: "left" | "right" | "bottom" | "top";
|
|
76
|
-
step: number;
|
|
77
|
-
steps: number;
|
|
78
|
-
disableOverlay: boolean;
|
|
79
79
|
spotlightPadding: number;
|
|
80
80
|
closeButton: boolean;
|
|
81
81
|
}> & Omit<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
82
82
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
83
|
-
}>, "isOpen" | "hide" | "show" | ("
|
|
83
|
+
}>, "isOpen" | "hide" | "show" | ("disableOverlay" | "steps" | "step" | "position" | "open" | "maxWidth" | "spotlightPadding" | "closeButton")> & import("vue").ShallowUnwrapRef<{
|
|
84
84
|
hide: () => void;
|
|
85
85
|
show: () => void;
|
|
86
86
|
isOpen: import("vue").Ref<boolean, boolean>;
|
|
@@ -125,12 +125,12 @@ export declare const productTourState: {
|
|
|
125
125
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
126
|
"product-tour:hide": () => any;
|
|
127
127
|
}, string, {
|
|
128
|
+
disableOverlay: boolean;
|
|
129
|
+
steps: number;
|
|
130
|
+
step: number;
|
|
131
|
+
position: "left" | "right" | "bottom" | "top";
|
|
128
132
|
open: boolean;
|
|
129
133
|
maxWidth: number;
|
|
130
|
-
position: "left" | "right" | "bottom" | "top";
|
|
131
|
-
step: number;
|
|
132
|
-
steps: number;
|
|
133
|
-
disableOverlay: boolean;
|
|
134
134
|
spotlightPadding: number;
|
|
135
135
|
closeButton: boolean;
|
|
136
136
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
@@ -154,17 +154,17 @@ export declare const productTourState: {
|
|
|
154
154
|
$nextTick: typeof import("vue").nextTick;
|
|
155
155
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
156
156
|
} & Readonly<{
|
|
157
|
+
disableOverlay: boolean;
|
|
158
|
+
steps: number;
|
|
159
|
+
step: number;
|
|
160
|
+
position: "left" | "right" | "bottom" | "top";
|
|
157
161
|
open: boolean;
|
|
158
162
|
maxWidth: number;
|
|
159
|
-
position: "left" | "right" | "bottom" | "top";
|
|
160
|
-
step: number;
|
|
161
|
-
steps: number;
|
|
162
|
-
disableOverlay: boolean;
|
|
163
163
|
spotlightPadding: number;
|
|
164
164
|
closeButton: boolean;
|
|
165
165
|
}> & Omit<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
166
166
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
167
|
-
}>, "isOpen" | "hide" | "show" | ("
|
|
167
|
+
}>, "isOpen" | "hide" | "show" | ("disableOverlay" | "steps" | "step" | "position" | "open" | "maxWidth" | "spotlightPadding" | "closeButton")> & import("vue").ShallowUnwrapRef<{
|
|
168
168
|
hide: () => void;
|
|
169
169
|
show: () => void;
|
|
170
170
|
isOpen: import("vue").Ref<boolean, boolean>;
|
package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
disableOverlay?: boolean | undefined;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
|
+
disableOverlay?: boolean | undefined;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2
6
|
export default _default;
|
|
@@ -10,12 +10,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJ
|
|
|
10
10
|
}, string, import("vue").PublicProps, Readonly<VJoyProductTourProps> & Readonly<{
|
|
11
11
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
12
12
|
}>, {
|
|
13
|
+
disableOverlay: boolean;
|
|
14
|
+
steps: number;
|
|
15
|
+
step: number;
|
|
16
|
+
position: "left" | "right" | "bottom" | "top";
|
|
13
17
|
open: boolean;
|
|
14
18
|
maxWidth: number;
|
|
15
|
-
position: "left" | "right" | "bottom" | "top";
|
|
16
|
-
step: number;
|
|
17
|
-
steps: number;
|
|
18
|
-
disableOverlay: boolean;
|
|
19
19
|
spotlightPadding: number;
|
|
20
20
|
closeButton: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
|
|
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
30
30
|
$host: Element | null;
|
|
31
31
|
$emit: (event: "product-tour:hide") => void;
|
|
32
32
|
$el: any;
|
|
33
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../
|
|
33
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
34
34
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
35
35
|
}>, {
|
|
36
36
|
show: () => void;
|
|
@@ -63,15 +63,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
63
63
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
64
64
|
} & Readonly<{
|
|
65
65
|
closeButton: boolean;
|
|
66
|
-
}> & Omit<Readonly<import("../
|
|
66
|
+
}> & Omit<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
67
67
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
68
|
-
}>, "
|
|
68
|
+
}>, "closeButton" | "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
69
69
|
show: () => void;
|
|
70
70
|
hide: (options?: {
|
|
71
71
|
fireHideEvent: boolean;
|
|
72
72
|
}) => void;
|
|
73
73
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
74
|
-
$slots: Readonly<import("../
|
|
74
|
+
$slots: Readonly<import("../components.types.js").VJoyProductTourSlots> & import("../components.types.js").VJoyProductTourSlots;
|
|
75
75
|
}) | null | undefined;
|
|
76
76
|
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
77
77
|
click: () => any;
|
|
@@ -107,7 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
107
107
|
$host: Element | null;
|
|
108
108
|
$emit: (event: "product-tour:hide") => void;
|
|
109
109
|
$el: any;
|
|
110
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../
|
|
110
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
111
111
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
112
112
|
}>, {
|
|
113
113
|
show: () => void;
|
|
@@ -140,15 +140,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
140
140
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
141
141
|
} & Readonly<{
|
|
142
142
|
closeButton: boolean;
|
|
143
|
-
}> & Omit<Readonly<import("../
|
|
143
|
+
}> & Omit<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
144
144
|
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
145
|
-
}>, "
|
|
145
|
+
}>, "closeButton" | "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
146
146
|
show: () => void;
|
|
147
147
|
hide: (options?: {
|
|
148
148
|
fireHideEvent: boolean;
|
|
149
149
|
}) => void;
|
|
150
150
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
151
|
-
$slots: Readonly<import("../
|
|
151
|
+
$slots: Readonly<import("../components.types.js").VJoyProductTourSlots> & import("../components.types.js").VJoyProductTourSlots;
|
|
152
152
|
}) | null | undefined;
|
|
153
153
|
}> & Readonly<{
|
|
154
154
|
onClick?: (() => any) | undefined;
|
|
@@ -27,6 +27,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
27
27
|
type: (StringConstructor | NumberConstructor)[];
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* Invalid state of the component
|
|
32
|
+
*
|
|
33
|
+
* If not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.
|
|
34
|
+
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
35
|
+
*/
|
|
36
|
+
invalid: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
default: undefined;
|
|
39
|
+
};
|
|
30
40
|
}>, {
|
|
31
41
|
checked: import("vue").ComputedRef<boolean>;
|
|
32
42
|
isExpanded: import("vue").Ref<boolean, boolean>;
|
|
@@ -59,9 +69,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
59
69
|
type: (StringConstructor | NumberConstructor)[];
|
|
60
70
|
required: true;
|
|
61
71
|
};
|
|
72
|
+
/**
|
|
73
|
+
* Invalid state of the component
|
|
74
|
+
*
|
|
75
|
+
* If not explicitly provided, will inherit from parent VJoyRadioGroup's invalid prop.
|
|
76
|
+
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state).
|
|
77
|
+
*/
|
|
78
|
+
invalid: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: undefined;
|
|
81
|
+
};
|
|
62
82
|
}>> & Readonly<{
|
|
63
83
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
64
84
|
}>, {
|
|
85
|
+
invalid: boolean;
|
|
65
86
|
required: boolean;
|
|
66
87
|
disabled: boolean;
|
|
67
88
|
theme: RadioThemes;
|
|
@@ -3,8 +3,16 @@ export interface RadioGroupProps {
|
|
|
3
3
|
direction?: RadioGroupDirection;
|
|
4
4
|
form?: string;
|
|
5
5
|
name?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Invalid state of the radio group
|
|
8
|
+
*
|
|
9
|
+
* When set to true, all child VJoyRadio components will inherit this invalid state.
|
|
10
|
+
* Note: A checked radio cannot be invalid (the `checked` state takes priority over `invalid` state at the radio level).
|
|
11
|
+
*/
|
|
12
|
+
invalid?: boolean;
|
|
6
13
|
}
|
|
7
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<RadioGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RadioGroupProps> & Readonly<{}>, {
|
|
15
|
+
invalid: boolean;
|
|
8
16
|
direction: RadioGroupDirection;
|
|
9
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
10
18
|
/** Label of the radio group */
|
|
@@ -10,7 +10,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
10
10
|
size?: TJoyTagSizes | undefined;
|
|
11
11
|
modelValue?: T[] | undefined;
|
|
12
12
|
invalid?: boolean | undefined;
|
|
13
|
-
validation?: "
|
|
13
|
+
validation?: "none" | "email" | undefined;
|
|
14
14
|
duplicationError?: string | undefined;
|
|
15
15
|
invalidEmailError?: string | undefined;
|
|
16
16
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
|
|
@@ -47,7 +47,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
47
47
|
size?: TJoyTagSizes | undefined;
|
|
48
48
|
modelValue?: T[] | undefined;
|
|
49
49
|
invalid?: boolean | undefined;
|
|
50
|
-
validation?: "
|
|
50
|
+
validation?: "none" | "email" | undefined;
|
|
51
51
|
duplicationError?: string | undefined;
|
|
52
52
|
invalidEmailError?: string | undefined;
|
|
53
53
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
@@ -88,7 +88,7 @@ declare const _default: <T extends string>(__VLS_props: {
|
|
|
88
88
|
size?: TJoyTagSizes | undefined;
|
|
89
89
|
modelValue?: T[] | undefined;
|
|
90
90
|
invalid?: boolean | undefined;
|
|
91
|
-
validation?: "
|
|
91
|
+
validation?: "none" | "email" | undefined;
|
|
92
92
|
duplicationError?: string | undefined;
|
|
93
93
|
invalidEmailError?: string | undefined;
|
|
94
94
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|