@maltjoy/core-vue 3.19.6 → 3.19.7
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/JoyIndicator/VJoyIndicator.vue.d.ts +2 -2
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +4 -4
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +4 -1
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +6 -6
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +14 -9
- package/dist/joy-vue.js +855 -842
- package/dist/joy-vue.umd.cjs +4 -4
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
/** Value is used for the parent v-model. Mandatory */
|
|
4
4
|
value: {
|
|
5
|
-
type: StringConstructor;
|
|
5
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
8
|
/** Automatically handled by parent. No need to set it manually */
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
/** Value is used for the parent v-model. Mandatory */
|
|
23
23
|
value: {
|
|
24
|
-
type: StringConstructor;
|
|
24
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
27
|
/** Automatically handled by parent. No need to set it manually */
|
|
@@ -7,12 +7,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
7
7
|
};
|
|
8
8
|
/** Use the component with a v-model to easily handle selected items */
|
|
9
9
|
modelValue: {
|
|
10
|
-
type: StringConstructor;
|
|
10
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
11
11
|
};
|
|
12
12
|
}, {
|
|
13
13
|
indicators: import("vue").ComputedRef<import("vue").DefineComponent<{
|
|
14
14
|
value: {
|
|
15
|
-
type: StringConstructor;
|
|
15
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
selected: {
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
};
|
|
29
29
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
30
|
value: {
|
|
31
|
-
type: StringConstructor;
|
|
31
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
selected: {
|
|
@@ -55,7 +55,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
55
55
|
};
|
|
56
56
|
/** Use the component with a v-model to easily handle selected items */
|
|
57
57
|
modelValue: {
|
|
58
|
-
type: StringConstructor;
|
|
58
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
59
59
|
};
|
|
60
60
|
}>> & {
|
|
61
61
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyInputSizes } from './JoyInput.types';
|
|
3
|
+
declare function focus(): void;
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
5
|
autofocus: {
|
|
5
6
|
type: BooleanConstructor;
|
|
@@ -71,7 +72,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
72
|
type: BooleanConstructor;
|
|
72
73
|
default: boolean;
|
|
73
74
|
};
|
|
74
|
-
}, {
|
|
75
|
+
}, {
|
|
76
|
+
focus: typeof focus;
|
|
77
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
78
|
"update:modelValue": (value: string) => void;
|
|
76
79
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
80
|
autofocus: {
|
|
@@ -19,21 +19,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
modelValue: {
|
|
22
|
-
type: StringConstructor;
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
23
|
};
|
|
24
24
|
theme: {
|
|
25
25
|
type: PropType<"default" | "outline">;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
value: {
|
|
29
|
-
type: StringConstructor;
|
|
29
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
30
30
|
required: true;
|
|
31
31
|
};
|
|
32
32
|
}, {
|
|
33
33
|
checked: import("vue").ComputedRef<boolean>;
|
|
34
34
|
isExpanded: import("vue").Ref<boolean>;
|
|
35
35
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
"update:modelValue": (value: string) => void;
|
|
36
|
+
"update:modelValue": (value: string | number) => void;
|
|
37
37
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
disabled: {
|
|
39
39
|
type: BooleanConstructor;
|
|
@@ -54,18 +54,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
56
|
modelValue: {
|
|
57
|
-
type: StringConstructor;
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
58
58
|
};
|
|
59
59
|
theme: {
|
|
60
60
|
type: PropType<"default" | "outline">;
|
|
61
61
|
default: string;
|
|
62
62
|
};
|
|
63
63
|
value: {
|
|
64
|
-
type: StringConstructor;
|
|
64
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
65
65
|
required: true;
|
|
66
66
|
};
|
|
67
67
|
}>> & {
|
|
68
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
68
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
69
69
|
}, {
|
|
70
70
|
required: boolean;
|
|
71
71
|
disabled: boolean;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyTagSizes, IJoyTagSelected } from './JoyTag.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
4
|
/** Text injected within the tag */
|
|
5
5
|
label: {
|
|
6
6
|
type: StringConstructor;
|
|
7
|
-
required: true;
|
|
8
7
|
};
|
|
9
8
|
size: {
|
|
10
9
|
type: PropType<TJoyTagSizes>;
|
|
@@ -35,16 +34,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
34
|
default: boolean;
|
|
36
35
|
};
|
|
37
36
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
remove: (args_0: {
|
|
37
|
+
selected: (tag: IJoyTagSelected) => void;
|
|
38
|
+
remove: (value: {
|
|
41
39
|
value: string;
|
|
42
40
|
}) => void;
|
|
41
|
+
click: () => void;
|
|
43
42
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
43
|
/** Text injected within the tag */
|
|
45
44
|
label: {
|
|
46
45
|
type: StringConstructor;
|
|
47
|
-
required: true;
|
|
48
46
|
};
|
|
49
47
|
size: {
|
|
50
48
|
type: PropType<TJoyTagSizes>;
|
|
@@ -76,8 +74,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
76
74
|
};
|
|
77
75
|
}>> & {
|
|
78
76
|
onClick?: (() => any) | undefined;
|
|
79
|
-
onSelected?: ((
|
|
80
|
-
onRemove?: ((
|
|
77
|
+
onSelected?: ((tag: IJoyTagSelected) => any) | undefined;
|
|
78
|
+
onRemove?: ((value: {
|
|
81
79
|
value: string;
|
|
82
80
|
}) => any) | undefined;
|
|
83
81
|
}, {
|
|
@@ -89,5 +87,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
89
87
|
selectable: boolean;
|
|
90
88
|
draggable: boolean;
|
|
91
89
|
removable: boolean;
|
|
92
|
-
}, {}
|
|
90
|
+
}, {}>, {
|
|
91
|
+
default?(_: {}): any;
|
|
92
|
+
}>;
|
|
93
93
|
export default _default;
|
|
94
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
95
|
+
new (): {
|
|
96
|
+
$slots: S;
|
|
97
|
+
};
|
|
98
|
+
};
|