@solfacil/girassol 0.2.11 → 0.3.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/girassol.es.js +435 -422
- package/dist/girassol.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/forms/button/{Button.vue.d.ts → button/Button.vue.d.ts} +0 -0
- package/dist/types/components/forms/button/{button.spec.d.ts → button/button.spec.d.ts} +0 -0
- package/dist/types/components/forms/button/{ButtonDestructive.vue.d.ts → button-destructive/ButtonDestructive.vue.d.ts} +0 -0
- package/dist/types/components/forms/button/index.d.ts +2 -2
- package/dist/types/components/forms/checkbox/{Checkbox.vue.d.ts → checkbox/Checkbox.vue.d.ts} +12 -8
- package/dist/types/components/forms/checkbox/{checkbox.spec.d.ts → checkbox/checkbox.spec.d.ts} +0 -0
- package/dist/types/components/forms/checkbox/{CheckboxGroup.vue.d.ts → checkbox-group/CheckboxGroup.vue.d.ts} +12 -12
- package/dist/types/components/forms/checkbox/{checkbox-group.spec.d.ts → checkbox-group/checkbox-group.spec.d.ts} +0 -0
- package/dist/types/components/forms/checkbox/index.d.ts +2 -2
- package/dist/types/components/forms/checkbox/{checkbox-type.d.ts → type.d.ts} +1 -0
- package/dist/types/components/forms/radio/index.d.ts +2 -2
- package/dist/types/components/forms/radio/{Radio.vue.d.ts → radio/Radio.vue.d.ts} +8 -8
- package/dist/types/components/forms/radio/{radio.spec.d.ts → radio/radio.spec.d.ts} +0 -0
- package/dist/types/components/forms/radio/{RadioGroup.vue.d.ts → radio-group/RadioGroup.vue.d.ts} +14 -14
- package/dist/types/components/forms/radio/{radio-group.spec.d.ts → radio-group/radio-group.spec.d.ts} +0 -0
- package/dist/types/components/forms/radio/{radio-type.d.ts → types.d.ts} +0 -0
- package/dist/types/components/forms/switch/Switch.vue.d.ts +52 -22
- package/dist/types/components/menus/menu/Menu.vue.d.ts +7 -7
- package/dist/types/index.d.ts +175 -130
- package/package.json +20 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Checkbox as CheckboxType } from '
|
|
1
|
+
import type { Checkbox as CheckboxType } from '@forms/checkbox/type';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -13,13 +13,13 @@ declare const _default: {
|
|
|
13
13
|
hint?: string | undefined;
|
|
14
14
|
error?: string | undefined;
|
|
15
15
|
checkboxes: CheckboxType[];
|
|
16
|
-
modelValue?: import("
|
|
16
|
+
modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
|
|
17
17
|
direction?: "row" | "column" | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
direction: string;
|
|
20
20
|
hideTitle: boolean;
|
|
21
21
|
}>>> & {
|
|
22
|
-
onChange?: ((value: import("
|
|
22
|
+
onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
|
|
23
23
|
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
24
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
|
|
25
25
|
$attrs: {
|
|
@@ -33,7 +33,7 @@ declare const _default: {
|
|
|
33
33
|
}>;
|
|
34
34
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
35
35
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
36
|
-
$emit: ((event: "update:modelValue", a: any) => void) & ((event: "change", value: import("
|
|
36
|
+
$emit: ((event: "update:modelValue", a: any) => void) & ((event: "change", value: import("@forms/checkbox/type").CheckboxValue) => void);
|
|
37
37
|
$el: any;
|
|
38
38
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
39
|
id: string;
|
|
@@ -42,16 +42,16 @@ declare const _default: {
|
|
|
42
42
|
hint?: string | undefined;
|
|
43
43
|
error?: string | undefined;
|
|
44
44
|
checkboxes: CheckboxType[];
|
|
45
|
-
modelValue?: import("
|
|
45
|
+
modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
|
|
46
46
|
direction?: "row" | "column" | undefined;
|
|
47
47
|
}>, {
|
|
48
48
|
direction: string;
|
|
49
49
|
hideTitle: boolean;
|
|
50
50
|
}>>> & {
|
|
51
|
-
onChange?: ((value: import("
|
|
51
|
+
onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
|
|
52
52
|
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
53
53
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
change: (value: import("
|
|
54
|
+
change: (value: import("@forms/checkbox/type").CheckboxValue) => void;
|
|
55
55
|
} & {
|
|
56
56
|
"update:modelValue": (a: any) => void;
|
|
57
57
|
}, string, {
|
|
@@ -84,13 +84,13 @@ declare const _default: {
|
|
|
84
84
|
hint?: string | undefined;
|
|
85
85
|
error?: string | undefined;
|
|
86
86
|
checkboxes: CheckboxType[];
|
|
87
|
-
modelValue?: import("
|
|
87
|
+
modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
|
|
88
88
|
direction?: "row" | "column" | undefined;
|
|
89
89
|
}>, {
|
|
90
90
|
direction: string;
|
|
91
91
|
hideTitle: boolean;
|
|
92
92
|
}>>> & {
|
|
93
|
-
onChange?: ((value: import("
|
|
93
|
+
onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
|
|
94
94
|
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
95
95
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
96
96
|
__isFragment?: undefined;
|
|
@@ -103,16 +103,16 @@ declare const _default: {
|
|
|
103
103
|
hint?: string | undefined;
|
|
104
104
|
error?: string | undefined;
|
|
105
105
|
checkboxes: CheckboxType[];
|
|
106
|
-
modelValue?: import("
|
|
106
|
+
modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
|
|
107
107
|
direction?: "row" | "column" | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
direction: string;
|
|
110
110
|
hideTitle: boolean;
|
|
111
111
|
}>>> & {
|
|
112
|
-
onChange?: ((value: import("
|
|
112
|
+
onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
|
|
113
113
|
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
114
114
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
115
|
-
change: (value: import("
|
|
115
|
+
change: (value: import("@forms/checkbox/type").CheckboxValue) => void;
|
|
116
116
|
} & {
|
|
117
117
|
"update:modelValue": (a: any) => void;
|
|
118
118
|
}, string, {
|
|
File without changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import SolCheckbox from './Checkbox.vue';
|
|
2
|
-
import SolCheckboxGroup from './CheckboxGroup.vue';
|
|
1
|
+
import SolCheckbox from './checkbox/Checkbox.vue';
|
|
2
|
+
import SolCheckboxGroup from './checkbox-group/CheckboxGroup.vue';
|
|
3
3
|
export { SolCheckbox, SolCheckboxGroup, };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import SolRadio from './Radio.vue';
|
|
2
|
-
import SolRadioGroup from './RadioGroup.vue';
|
|
1
|
+
import SolRadio from './radio/Radio.vue';
|
|
2
|
+
import SolRadioGroup from './radio-group/RadioGroup.vue';
|
|
3
3
|
export { SolRadio, SolRadioGroup, };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Radio } from '
|
|
1
|
+
import type { Radio } from '../types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -11,7 +11,7 @@ declare const _default: {
|
|
|
11
11
|
checked?: Radio['checked'];
|
|
12
12
|
class?: Radio['class'];
|
|
13
13
|
}>>> & {
|
|
14
|
-
onChange?: ((value: import("
|
|
14
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
15
15
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
16
16
|
$attrs: {
|
|
17
17
|
[x: string]: unknown;
|
|
@@ -24,7 +24,7 @@ declare const _default: {
|
|
|
24
24
|
}>;
|
|
25
25
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
26
26
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
27
|
-
$emit: (event: "change", value: import("
|
|
27
|
+
$emit: (event: "change", value: import("../types").RadioValue) => void;
|
|
28
28
|
$el: any;
|
|
29
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
30
|
id: Radio['id'];
|
|
@@ -34,9 +34,9 @@ declare const _default: {
|
|
|
34
34
|
checked?: Radio['checked'];
|
|
35
35
|
class?: Radio['class'];
|
|
36
36
|
}>>> & {
|
|
37
|
-
onChange?: ((value: import("
|
|
37
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
38
38
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
-
change: (value: import("
|
|
39
|
+
change: (value: import("../types").RadioValue) => void;
|
|
40
40
|
}, string, {}> & {
|
|
41
41
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
42
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -65,7 +65,7 @@ declare const _default: {
|
|
|
65
65
|
checked?: Radio['checked'];
|
|
66
66
|
class?: Radio['class'];
|
|
67
67
|
}>>> & {
|
|
68
|
-
onChange?: ((value: import("
|
|
68
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
69
69
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
70
70
|
__isFragment?: undefined;
|
|
71
71
|
__isTeleport?: undefined;
|
|
@@ -78,9 +78,9 @@ declare const _default: {
|
|
|
78
78
|
checked?: Radio['checked'];
|
|
79
79
|
class?: Radio['class'];
|
|
80
80
|
}>>> & {
|
|
81
|
-
onChange?: ((value: import("
|
|
81
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
82
82
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
-
change: (value: import("
|
|
83
|
+
change: (value: import("../types").RadioValue) => void;
|
|
84
84
|
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
85
85
|
$slots: {};
|
|
86
86
|
});
|
|
File without changes
|
package/dist/types/components/forms/radio/{RadioGroup.vue.d.ts → radio-group/RadioGroup.vue.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Radio as RadioType } from '
|
|
1
|
+
import type { Radio as RadioType } from '../types';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
new (...args: any[]): {
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -19,8 +19,8 @@ declare const _default: {
|
|
|
19
19
|
direction: string;
|
|
20
20
|
hideTitle: boolean;
|
|
21
21
|
}>>> & {
|
|
22
|
-
onChange?: ((value: import("
|
|
23
|
-
"onUpdate:modelValue"?: ((value: import("
|
|
22
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
24
24
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
|
|
25
25
|
$attrs: {
|
|
26
26
|
[x: string]: unknown;
|
|
@@ -33,7 +33,7 @@ declare const _default: {
|
|
|
33
33
|
}>;
|
|
34
34
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
35
35
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
36
|
-
$emit: ((event: "update:modelValue", value: import("
|
|
36
|
+
$emit: ((event: "update:modelValue", value: import("../types").RadioValue) => void) & ((event: "change", value: import("../types").RadioValue) => void);
|
|
37
37
|
$el: any;
|
|
38
38
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
39
|
id: string;
|
|
@@ -48,12 +48,12 @@ declare const _default: {
|
|
|
48
48
|
direction: string;
|
|
49
49
|
hideTitle: boolean;
|
|
50
50
|
}>>> & {
|
|
51
|
-
onChange?: ((value: import("
|
|
52
|
-
"onUpdate:modelValue"?: ((value: import("
|
|
51
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
53
53
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
change: (value: import("
|
|
54
|
+
change: (value: import("../types").RadioValue) => void;
|
|
55
55
|
} & {
|
|
56
|
-
"update:modelValue": (value: import("
|
|
56
|
+
"update:modelValue": (value: import("../types").RadioValue) => void;
|
|
57
57
|
}, string, {
|
|
58
58
|
hideTitle: boolean;
|
|
59
59
|
direction: 'row' | 'column';
|
|
@@ -90,8 +90,8 @@ declare const _default: {
|
|
|
90
90
|
direction: string;
|
|
91
91
|
hideTitle: boolean;
|
|
92
92
|
}>>> & {
|
|
93
|
-
onChange?: ((value: import("
|
|
94
|
-
"onUpdate:modelValue"?: ((value: import("
|
|
93
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
95
95
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
96
96
|
__isFragment?: undefined;
|
|
97
97
|
__isTeleport?: undefined;
|
|
@@ -109,12 +109,12 @@ declare const _default: {
|
|
|
109
109
|
direction: string;
|
|
110
110
|
hideTitle: boolean;
|
|
111
111
|
}>>> & {
|
|
112
|
-
onChange?: ((value: import("
|
|
113
|
-
"onUpdate:modelValue"?: ((value: import("
|
|
112
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
113
|
+
"onUpdate:modelValue"?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
114
114
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
115
|
-
change: (value: import("
|
|
115
|
+
change: (value: import("../types").RadioValue) => void;
|
|
116
116
|
} & {
|
|
117
|
-
"update:modelValue": (value: import("
|
|
117
|
+
"update:modelValue": (value: import("../types").RadioValue) => void;
|
|
118
118
|
}, string, {
|
|
119
119
|
hideTitle: boolean;
|
|
120
120
|
direction: 'row' | 'column';
|
|
File without changes
|
|
File without changes
|
|
@@ -2,18 +2,25 @@ declare const _default: {
|
|
|
2
2
|
new (...args: any[]): {
|
|
3
3
|
$: import("vue").ComponentInternalInstance;
|
|
4
4
|
$data: {};
|
|
5
|
-
$props: Partial<{
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
textDirection: 'left' | 'right';
|
|
7
|
+
stretchLabel: boolean;
|
|
8
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
6
9
|
id: string;
|
|
7
10
|
name: string;
|
|
8
|
-
value
|
|
11
|
+
value?: string | undefined;
|
|
9
12
|
label: string;
|
|
10
13
|
checked?: boolean | undefined;
|
|
11
14
|
class?: string | Record<string, boolean> | undefined;
|
|
15
|
+
textDirection?: "left" | "right" | undefined;
|
|
12
16
|
hideLabel?: boolean | undefined;
|
|
13
|
-
|
|
17
|
+
stretchLabel?: boolean | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
textDirection: string;
|
|
20
|
+
stretchLabel: boolean;
|
|
14
21
|
}>>> & {
|
|
15
|
-
onChange?: ((value: string) => any) | undefined;
|
|
16
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps,
|
|
22
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
23
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "textDirection" | "stretchLabel">;
|
|
17
24
|
$attrs: {
|
|
18
25
|
[x: string]: unknown;
|
|
19
26
|
};
|
|
@@ -25,22 +32,29 @@ declare const _default: {
|
|
|
25
32
|
}>;
|
|
26
33
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
27
34
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
-
$emit: (event: "change", value: string) => void;
|
|
35
|
+
$emit: (event: "change", value: string | boolean) => void;
|
|
29
36
|
$el: any;
|
|
30
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
37
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
31
38
|
id: string;
|
|
32
39
|
name: string;
|
|
33
|
-
value
|
|
40
|
+
value?: string | undefined;
|
|
34
41
|
label: string;
|
|
35
42
|
checked?: boolean | undefined;
|
|
36
43
|
class?: string | Record<string, boolean> | undefined;
|
|
44
|
+
textDirection?: "left" | "right" | undefined;
|
|
37
45
|
hideLabel?: boolean | undefined;
|
|
38
|
-
|
|
46
|
+
stretchLabel?: boolean | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
textDirection: string;
|
|
49
|
+
stretchLabel: boolean;
|
|
39
50
|
}>>> & {
|
|
40
|
-
onChange?: ((value: string) => any) | undefined;
|
|
51
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
41
52
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
-
change: (value: string) => void;
|
|
43
|
-
}, string, {
|
|
53
|
+
change: (value: string | boolean) => void;
|
|
54
|
+
}, string, {
|
|
55
|
+
textDirection: 'left' | 'right';
|
|
56
|
+
stretchLabel: boolean;
|
|
57
|
+
}> & {
|
|
44
58
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
45
59
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
46
60
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -60,35 +74,46 @@ declare const _default: {
|
|
|
60
74
|
$forceUpdate: () => void;
|
|
61
75
|
$nextTick: typeof import("vue").nextTick;
|
|
62
76
|
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
63
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
77
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
64
78
|
id: string;
|
|
65
79
|
name: string;
|
|
66
|
-
value
|
|
80
|
+
value?: string | undefined;
|
|
67
81
|
label: string;
|
|
68
82
|
checked?: boolean | undefined;
|
|
69
83
|
class?: string | Record<string, boolean> | undefined;
|
|
84
|
+
textDirection?: "left" | "right" | undefined;
|
|
70
85
|
hideLabel?: boolean | undefined;
|
|
71
|
-
|
|
86
|
+
stretchLabel?: boolean | undefined;
|
|
87
|
+
}>, {
|
|
88
|
+
textDirection: string;
|
|
89
|
+
stretchLabel: boolean;
|
|
72
90
|
}>>> & {
|
|
73
|
-
onChange?: ((value: string) => any) | undefined;
|
|
91
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
74
92
|
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
75
93
|
__isFragment?: undefined;
|
|
76
94
|
__isTeleport?: undefined;
|
|
77
95
|
__isSuspense?: undefined;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
96
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
79
97
|
id: string;
|
|
80
98
|
name: string;
|
|
81
|
-
value
|
|
99
|
+
value?: string | undefined;
|
|
82
100
|
label: string;
|
|
83
101
|
checked?: boolean | undefined;
|
|
84
102
|
class?: string | Record<string, boolean> | undefined;
|
|
103
|
+
textDirection?: "left" | "right" | undefined;
|
|
85
104
|
hideLabel?: boolean | undefined;
|
|
86
|
-
|
|
105
|
+
stretchLabel?: boolean | undefined;
|
|
106
|
+
}>, {
|
|
107
|
+
textDirection: string;
|
|
108
|
+
stretchLabel: boolean;
|
|
87
109
|
}>>> & {
|
|
88
|
-
onChange?: ((value: string) => any) | undefined;
|
|
110
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
89
111
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
-
change: (value: string) => void;
|
|
91
|
-
}, string, {
|
|
112
|
+
change: (value: string | boolean) => void;
|
|
113
|
+
}, string, {
|
|
114
|
+
textDirection: 'left' | 'right';
|
|
115
|
+
stretchLabel: boolean;
|
|
116
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
92
117
|
$slots: {};
|
|
93
118
|
});
|
|
94
119
|
export default _default;
|
|
@@ -101,3 +126,8 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
101
126
|
required: true;
|
|
102
127
|
};
|
|
103
128
|
};
|
|
129
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
130
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
131
|
+
default: D[K];
|
|
132
|
+
} : P[K];
|
|
133
|
+
};
|
|
@@ -4,11 +4,11 @@ declare const _default: {
|
|
|
4
4
|
$data: {};
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
label: string;
|
|
7
|
-
position: ("bottom" | "top") | ("
|
|
7
|
+
position: ("bottom" | "top") | ("left" | "right");
|
|
8
8
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
9
|
id: string;
|
|
10
10
|
label?: string | undefined;
|
|
11
|
-
position?: (("bottom" | "top") | ("
|
|
11
|
+
position?: (("bottom" | "top") | ("left" | "right")) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
label: string;
|
|
14
14
|
position: string;
|
|
@@ -29,13 +29,13 @@ declare const _default: {
|
|
|
29
29
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
30
30
|
id: string;
|
|
31
31
|
label?: string | undefined;
|
|
32
|
-
position?: (("bottom" | "top") | ("
|
|
32
|
+
position?: (("bottom" | "top") | ("left" | "right")) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
label: string;
|
|
35
35
|
position: string;
|
|
36
36
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
37
37
|
label: string;
|
|
38
|
-
position: ("bottom" | "top") | ("
|
|
38
|
+
position: ("bottom" | "top") | ("left" | "right");
|
|
39
39
|
}> & {
|
|
40
40
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
41
41
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -59,7 +59,7 @@ declare const _default: {
|
|
|
59
59
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
60
60
|
id: string;
|
|
61
61
|
label?: string | undefined;
|
|
62
|
-
position?: (("bottom" | "top") | ("
|
|
62
|
+
position?: (("bottom" | "top") | ("left" | "right")) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
label: string;
|
|
65
65
|
position: string;
|
|
@@ -70,13 +70,13 @@ declare const _default: {
|
|
|
70
70
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
71
71
|
id: string;
|
|
72
72
|
label?: string | undefined;
|
|
73
|
-
position?: (("bottom" | "top") | ("
|
|
73
|
+
position?: (("bottom" | "top") | ("left" | "right")) | undefined;
|
|
74
74
|
}>, {
|
|
75
75
|
label: string;
|
|
76
76
|
position: string;
|
|
77
77
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
78
78
|
label: string;
|
|
79
|
-
position: ("bottom" | "top") | ("
|
|
79
|
+
position: ("bottom" | "top") | ("left" | "right");
|
|
80
80
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
81
81
|
$slots: {
|
|
82
82
|
label: (_: {
|