@maltjoy/core-vue 1.0.0-alpha.7 → 1.0.0-alpha.9
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/README.md +2 -1
- package/dist/components/JoyInput/JoyInput.vue.d.ts +2 -0
- package/dist/components/JoyMultiCheckbox/JoyMultiCheckbox.vue.d.ts +4 -2
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +3 -0
- package/dist/components/JoyPanel/JoyPanel.vue.d.ts +43 -0
- package/dist/components/JoyPanelSection/JoyPanelSection.vue.d.ts +10 -0
- package/dist/components/JoyRadio/JoyRadio.vue.d.ts +6 -2
- package/dist/components/JoySelect/JoySelect.vue.d.ts +4 -2
- package/dist/components/JoySelectableItem/JoySelectableItem.vue.d.ts +6 -2
- package/dist/components/JoySelectableItemGroup/JoySelectableItemGroup.vue.d.ts +4 -2
- package/dist/components/JoyTextarea/JoyTextarea.vue.d.ts +4 -2
- package/dist/components/index.d.ts +3 -1
- package/dist/joy-vue.js +552 -431
- package/dist/joy-vue.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/joy-components.d.ts +2 -0
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
name: {
|
|
16
16
|
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
17
18
|
};
|
|
18
19
|
required: {
|
|
19
20
|
type: BooleanConstructor;
|
|
@@ -68,6 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
68
69
|
};
|
|
69
70
|
name: {
|
|
70
71
|
type: StringConstructor;
|
|
72
|
+
required: true;
|
|
71
73
|
};
|
|
72
74
|
required: {
|
|
73
75
|
type: BooleanConstructor;
|
|
@@ -43,7 +43,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
type: BooleanConstructor;
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
47
|
+
"update:value": (value: any[]) => void;
|
|
48
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
49
|
options: {
|
|
48
50
|
type: PropType<Option[]>;
|
|
49
51
|
required: true;
|
|
@@ -73,7 +75,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
75
|
default: boolean;
|
|
74
76
|
};
|
|
75
77
|
}>> & {
|
|
76
|
-
"onUpdate:value"?: ((
|
|
78
|
+
"onUpdate:value"?: ((value: any[]) => any) | undefined;
|
|
77
79
|
}, {
|
|
78
80
|
value: any[];
|
|
79
81
|
required: boolean;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PanelSizes } from './JoyPanel.types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
flex: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
};
|
|
7
|
+
noMargin: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
padding: {
|
|
12
|
+
type: PropType<PanelSizes>;
|
|
13
|
+
defaut: string;
|
|
14
|
+
validator(size: PanelSizes): boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
flex: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
};
|
|
20
|
+
noMargin: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
padding: {
|
|
25
|
+
type: PropType<PanelSizes>;
|
|
26
|
+
defaut: string;
|
|
27
|
+
validator(size: PanelSizes): boolean;
|
|
28
|
+
};
|
|
29
|
+
}>>, {
|
|
30
|
+
noMargin: boolean;
|
|
31
|
+
}>, {
|
|
32
|
+
'panel-title': (_: {}) => any;
|
|
33
|
+
'panel-title-action': (_: {}) => any;
|
|
34
|
+
'panel-subtitle': (_: {}) => any;
|
|
35
|
+
'panel-body': (_: {}) => any;
|
|
36
|
+
'panel-action': (_: {}) => any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, {
|
|
2
|
+
'panel-section-title': (_: {}) => any;
|
|
3
|
+
'panel-section-content': (_: {}) => any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -27,11 +27,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
27
|
};
|
|
28
28
|
value: {
|
|
29
29
|
type: StringConstructor;
|
|
30
|
+
required: true;
|
|
30
31
|
};
|
|
31
32
|
}, {
|
|
32
33
|
checked: import("vue").ComputedRef<boolean>;
|
|
33
34
|
isExpanded: import("vue").Ref<boolean>;
|
|
34
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (value: string) => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
38
|
disabled: {
|
|
36
39
|
type: BooleanConstructor;
|
|
37
40
|
default: boolean;
|
|
@@ -59,9 +62,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
62
|
};
|
|
60
63
|
value: {
|
|
61
64
|
type: StringConstructor;
|
|
65
|
+
required: true;
|
|
62
66
|
};
|
|
63
67
|
}>> & {
|
|
64
|
-
"onUpdate:modelValue"?: ((
|
|
68
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
65
69
|
}, {
|
|
66
70
|
disabled: boolean;
|
|
67
71
|
required: boolean;
|
|
@@ -32,7 +32,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
35
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (value: string) => void;
|
|
37
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
38
|
disabled: {
|
|
37
39
|
type: BooleanConstructor;
|
|
38
40
|
default: boolean;
|
|
@@ -66,7 +68,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
68
|
default: string;
|
|
67
69
|
};
|
|
68
70
|
}>> & {
|
|
69
|
-
"onUpdate:modelValue"?: ((
|
|
71
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
70
72
|
}, {
|
|
71
73
|
disabled: boolean;
|
|
72
74
|
required: boolean;
|
|
@@ -28,8 +28,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
};
|
|
29
29
|
value: {
|
|
30
30
|
type: StringConstructor;
|
|
31
|
+
required: true;
|
|
31
32
|
};
|
|
32
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
33
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
"update:checked": (value: string | boolean) => void;
|
|
35
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
36
|
disabled: {
|
|
34
37
|
type: BooleanConstructor;
|
|
35
38
|
default: boolean;
|
|
@@ -59,9 +62,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
59
62
|
};
|
|
60
63
|
value: {
|
|
61
64
|
type: StringConstructor;
|
|
65
|
+
required: true;
|
|
62
66
|
};
|
|
63
67
|
}>> & {
|
|
64
|
-
"onUpdate:checked"?: ((
|
|
68
|
+
"onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
|
|
65
69
|
}, {
|
|
66
70
|
disabled: boolean;
|
|
67
71
|
checked: boolean;
|
|
@@ -47,7 +47,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
50
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
"update:value": (value: string | any[]) => void;
|
|
52
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
53
|
options: {
|
|
52
54
|
type: PropType<Option[]>;
|
|
53
55
|
required: true;
|
|
@@ -81,7 +83,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
83
|
default: boolean;
|
|
82
84
|
};
|
|
83
85
|
}>> & {
|
|
84
|
-
"onUpdate:value"?: ((
|
|
86
|
+
"onUpdate:value"?: ((value: string | any[]) => any) | undefined;
|
|
85
87
|
}, {
|
|
86
88
|
value: string | unknown[];
|
|
87
89
|
required: boolean;
|
|
@@ -47,7 +47,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
47
47
|
isInvalid: import("vue").Ref<boolean>;
|
|
48
48
|
valueOverMaxlength: import("vue").ComputedRef<boolean>;
|
|
49
49
|
valueUnderMinlength: import("vue").ComputedRef<boolean>;
|
|
50
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
50
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
|
+
"update:modelValue": (value: string) => void;
|
|
52
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
53
|
disabled: {
|
|
52
54
|
type: BooleanConstructor;
|
|
53
55
|
default: boolean;
|
|
@@ -92,7 +94,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
92
94
|
type: NumberConstructor;
|
|
93
95
|
};
|
|
94
96
|
}>> & {
|
|
95
|
-
"onUpdate:modelValue"?: ((
|
|
97
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
96
98
|
}, {
|
|
97
99
|
disabled: boolean;
|
|
98
100
|
required: boolean;
|
|
@@ -7,6 +7,8 @@ import JoyInput from '@/components/JoyInput/JoyInput.vue';
|
|
|
7
7
|
import JoyLabel from '@/components/JoyLabel/JoyLabel.vue';
|
|
8
8
|
import JoyLink from '@/components/JoyLink/JoyLink.vue';
|
|
9
9
|
import JoyMultiCheckbox from '@/components/JoyMultiCheckbox/JoyMultiCheckbox.vue';
|
|
10
|
+
import JoyPanel from '@/components/JoyPanel/JoyPanel.vue';
|
|
11
|
+
import JoyPanelSection from '@/components/JoyPanelSection/JoyPanelSection.vue';
|
|
10
12
|
import JoyRadio from '@/components/JoyRadio/JoyRadio.vue';
|
|
11
13
|
import JoyRadioGroup from '@/components/JoyRadioGroup/JoyRadioGroup.vue';
|
|
12
14
|
import JoySelect from '@/components/JoySelect/JoySelect.vue';
|
|
@@ -17,4 +19,4 @@ import JoyWrapper from '@/components/JoyWrapper/JoyWrapper.vue';
|
|
|
17
19
|
import JoyTemplate from '@/components/JoyTemplate/JoyTemplate.vue';
|
|
18
20
|
import JoyTextarea from '@/components/JoyTextarea/JoyTextarea.vue';
|
|
19
21
|
import JoyToggle from '@/components/JoyToggle/JoyToggle.vue';
|
|
20
|
-
export { JoyButton, JoyCheckbox, JoyCounter, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyMultiCheckbox, JoyRadio, JoyRadioGroup, JoySelect, JoySelectableItem, JoySelectableItemGroup, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
|
|
22
|
+
export { JoyButton, JoyCheckbox, JoyCounter, JoyFormError, JoyHighlight, JoyInput, JoyLabel, JoyLink, JoyMultiCheckbox, JoyPanel, JoyPanelSection, JoyRadio, JoyRadioGroup, JoySelect, JoySelectableItem, JoySelectableItemGroup, JoySpinner, JoyTemplate, JoyTextarea, JoyToggle, JoyWrapper, };
|