@solfacil/girassol 0.1.10 → 0.2.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/cli/build/templates/components.d.ts.ejs +1 -1
- package/dist/README.md.d.ts +2 -0
- package/dist/cli/readme.md.d.ts +2 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +1330 -1274
- package/dist/girassol.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/theme/safelist.d.ts +14 -0
- package/dist/theme/solfacil/colors.d.ts +28 -4
- package/dist/theme/solfacil/effects.d.ts +8 -6
- package/dist/theme/solfacil/index.d.ts +1 -0
- package/dist/theme/solfacil/spacing.d.ts +3 -0
- package/dist/theme/solfacil/typography.d.ts +1 -1
- package/dist/theme/solfacil/utilities.d.ts +1 -0
- package/dist/types/components/accordion/Accordion.vue.d.ts +97 -0
- package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
- package/dist/types/components/forms/button/Button.vue.d.ts +98 -20
- package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
- package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
- package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
- package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
- package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
- package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
- package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
- package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
- package/dist/types/components/forms/textarea/Textarea.vue.d.ts +108 -19
- package/dist/types/components/forms/textfield/Textfield.vue.d.ts +101 -17
- package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
- package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
- package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
- package/dist/types/composables/use-toast/index.d.ts +1 -1
- package/dist/types/index.d.ts +2343 -448
- package/dist/windi.config.d.ts +1 -1
- package/package.json +36 -36
- package/theme/safelist.ts +104 -0
- package/theme/solfacil/borders.ts +2 -1
- package/theme/solfacil/colors.ts +44 -22
- package/theme/solfacil/effects.ts +9 -7
- package/theme/solfacil/index.ts +2 -1
- package/theme/solfacil/spacing.ts +3 -0
- package/theme/solfacil/typography.ts +8 -9
- package/theme/solfacil/utilities.ts +239 -3
- package/vite.config.ts +1 -0
- package/windi.config.ts +14 -1
|
@@ -1,14 +1,76 @@
|
|
|
1
1
|
import type { Checkbox } from './checkbox-type';
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
id: Checkbox['id'];
|
|
8
|
+
name: Checkbox['name'];
|
|
9
|
+
value: Checkbox['value'];
|
|
10
|
+
label: Checkbox['label'];
|
|
11
|
+
checked?: Checkbox['checked'];
|
|
12
|
+
class?: Checkbox['class'];
|
|
13
|
+
}>>> & {
|
|
14
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
16
|
+
$attrs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$refs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$slots: Readonly<{
|
|
23
|
+
[name: string]: import("vue").Slot | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
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("./checkbox-type").CheckboxValue) => void;
|
|
28
|
+
$el: any;
|
|
29
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
id: Checkbox['id'];
|
|
31
|
+
name: Checkbox['name'];
|
|
32
|
+
value: Checkbox['value'];
|
|
33
|
+
label: Checkbox['label'];
|
|
34
|
+
checked?: Checkbox['checked'];
|
|
35
|
+
class?: Checkbox['class'];
|
|
36
|
+
}>>> & {
|
|
37
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
change: (value: import("./checkbox-type").CheckboxValue) => void;
|
|
40
|
+
}, string, {}> & {
|
|
41
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
54
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
56
|
+
};
|
|
57
|
+
$forceUpdate: () => void;
|
|
58
|
+
$nextTick: typeof import("vue").nextTick;
|
|
59
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
60
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
61
|
+
id: Checkbox['id'];
|
|
62
|
+
name: Checkbox['name'];
|
|
63
|
+
value: Checkbox['value'];
|
|
64
|
+
label: Checkbox['label'];
|
|
65
|
+
checked?: Checkbox['checked'];
|
|
66
|
+
class?: Checkbox['class'];
|
|
67
|
+
}>>> & {
|
|
68
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
69
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
70
|
+
__isFragment?: undefined;
|
|
71
|
+
__isTeleport?: undefined;
|
|
72
|
+
__isSuspense?: undefined;
|
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
74
|
id: Checkbox['id'];
|
|
13
75
|
name: Checkbox['name'];
|
|
14
76
|
value: Checkbox['value'];
|
|
@@ -17,7 +79,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
17
79
|
class?: Checkbox['class'];
|
|
18
80
|
}>>> & {
|
|
19
81
|
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
20
|
-
}, {}
|
|
82
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
change: (value: import("./checkbox-type").CheckboxValue) => void;
|
|
84
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
85
|
+
$slots: {};
|
|
86
|
+
});
|
|
21
87
|
export default _default;
|
|
22
88
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
89
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,102 @@
|
|
|
1
1
|
import type { Checkbox as CheckboxType } from './checkbox-type';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
hideTitle: boolean;
|
|
8
|
+
direction: 'row' | 'column';
|
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
hideTitle?: boolean | undefined;
|
|
13
|
+
hint?: string | undefined;
|
|
14
|
+
error?: string | undefined;
|
|
15
|
+
checkboxes: CheckboxType[];
|
|
16
|
+
modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
|
|
17
|
+
direction?: "row" | "column" | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
direction: string;
|
|
20
|
+
hideTitle: boolean;
|
|
21
|
+
}>>> & {
|
|
22
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
24
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
|
|
25
|
+
$attrs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$refs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
$slots: Readonly<{
|
|
32
|
+
[name: string]: import("vue").Slot | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
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("./checkbox-type").CheckboxValue) => void);
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
+
id: string;
|
|
40
|
+
title: string;
|
|
41
|
+
hideTitle?: boolean | undefined;
|
|
42
|
+
hint?: string | undefined;
|
|
43
|
+
error?: string | undefined;
|
|
44
|
+
checkboxes: CheckboxType[];
|
|
45
|
+
modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
|
|
46
|
+
direction?: "row" | "column" | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
direction: string;
|
|
49
|
+
hideTitle: boolean;
|
|
50
|
+
}>>> & {
|
|
51
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
53
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
+
change: (value: import("./checkbox-type").CheckboxValue) => void;
|
|
55
|
+
} & {
|
|
56
|
+
"update:modelValue": (a: any) => void;
|
|
57
|
+
}, string, {
|
|
58
|
+
hideTitle: boolean;
|
|
59
|
+
direction: 'row' | 'column';
|
|
60
|
+
}> & {
|
|
61
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
74
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
75
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
76
|
+
};
|
|
77
|
+
$forceUpdate: () => void;
|
|
78
|
+
$nextTick: typeof import("vue").nextTick;
|
|
79
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
80
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
81
|
+
id: string;
|
|
82
|
+
title: string;
|
|
83
|
+
hideTitle?: boolean | undefined;
|
|
84
|
+
hint?: string | undefined;
|
|
85
|
+
error?: string | undefined;
|
|
86
|
+
checkboxes: CheckboxType[];
|
|
87
|
+
modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
|
|
88
|
+
direction?: "row" | "column" | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
direction: string;
|
|
91
|
+
hideTitle: boolean;
|
|
92
|
+
}>>> & {
|
|
93
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
95
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
96
|
+
__isFragment?: undefined;
|
|
97
|
+
__isTeleport?: undefined;
|
|
98
|
+
__isSuspense?: undefined;
|
|
99
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
100
|
id: string;
|
|
4
101
|
title: string;
|
|
5
102
|
hideTitle?: boolean | undefined;
|
|
@@ -11,29 +108,27 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
108
|
}>, {
|
|
12
109
|
direction: string;
|
|
13
110
|
hideTitle: boolean;
|
|
14
|
-
}
|
|
111
|
+
}>>> & {
|
|
112
|
+
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
113
|
+
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
114
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
115
|
change: (value: import("./checkbox-type").CheckboxValue) => void;
|
|
16
116
|
} & {
|
|
17
117
|
"update:modelValue": (a: any) => void;
|
|
18
|
-
}, string,
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
hideTitle?: boolean | undefined;
|
|
22
|
-
hint?: string | undefined;
|
|
23
|
-
error?: string | undefined;
|
|
24
|
-
checkboxes: CheckboxType[];
|
|
25
|
-
modelValue?: import("./checkbox-type").CheckboxValue[] | undefined;
|
|
26
|
-
direction?: "row" | "column" | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
direction: string;
|
|
118
|
+
}, string, {
|
|
29
119
|
hideTitle: boolean;
|
|
30
|
-
}>>> & {
|
|
31
|
-
"onUpdate:modelValue"?: ((a: any) => any) | undefined;
|
|
32
|
-
onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
|
|
33
|
-
}, {
|
|
34
120
|
direction: 'row' | 'column';
|
|
35
|
-
|
|
36
|
-
|
|
121
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
122
|
+
$slots: {
|
|
123
|
+
title: (_: {
|
|
124
|
+
id: string;
|
|
125
|
+
}) => any;
|
|
126
|
+
default: (_: {
|
|
127
|
+
checkboxes: CheckboxType[];
|
|
128
|
+
direction: "row" | "column";
|
|
129
|
+
}) => any;
|
|
130
|
+
};
|
|
131
|
+
});
|
|
37
132
|
export default _default;
|
|
38
133
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
134
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,20 +1,86 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
id: string;
|
|
7
|
+
modelValue: string | number;
|
|
8
|
+
invert?: boolean | undefined;
|
|
9
|
+
error?: boolean | undefined;
|
|
10
|
+
}>>> & {
|
|
11
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
12
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
13
|
+
$attrs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$refs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$slots: Readonly<{
|
|
20
|
+
[name: string]: import("vue").Slot | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
23
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
24
|
+
$emit: (event: "update:modelValue", event: string) => void;
|
|
25
|
+
$el: any;
|
|
26
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
27
|
+
id: string;
|
|
28
|
+
modelValue: string | number;
|
|
29
|
+
invert?: boolean | undefined;
|
|
30
|
+
error?: boolean | undefined;
|
|
31
|
+
}>>> & {
|
|
32
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
input: import("vue").Ref<string>;
|
|
35
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
+
"update:modelValue": (event: string) => void;
|
|
37
|
+
}, string, {}> & {
|
|
38
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
51
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
52
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
53
|
+
};
|
|
54
|
+
$forceUpdate: () => void;
|
|
55
|
+
$nextTick: typeof import("vue").nextTick;
|
|
56
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
57
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
58
|
+
id: string;
|
|
59
|
+
modelValue: string | number;
|
|
60
|
+
invert?: boolean | undefined;
|
|
61
|
+
error?: boolean | undefined;
|
|
62
|
+
}>>> & {
|
|
63
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
64
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
65
|
+
input: import("vue").Ref<string>;
|
|
66
|
+
}> & {} & import("vue").ComponentCustomProperties;
|
|
67
|
+
__isFragment?: undefined;
|
|
68
|
+
__isTeleport?: undefined;
|
|
69
|
+
__isSuspense?: undefined;
|
|
70
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
71
|
id: string;
|
|
3
72
|
modelValue: string | number;
|
|
4
73
|
invert?: boolean | undefined;
|
|
5
74
|
error?: boolean | undefined;
|
|
6
|
-
}
|
|
75
|
+
}>>> & {
|
|
76
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
77
|
+
}, {
|
|
7
78
|
input: import("vue").Ref<string>;
|
|
8
79
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
80
|
"update:modelValue": (event: string) => void;
|
|
10
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
invert?: boolean | undefined;
|
|
14
|
-
error?: boolean | undefined;
|
|
15
|
-
}>>> & {
|
|
16
|
-
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
17
|
-
}, {}>;
|
|
81
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
82
|
+
$slots: {};
|
|
83
|
+
});
|
|
18
84
|
export default _default;
|
|
19
85
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
86
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,14 +1,76 @@
|
|
|
1
1
|
import type { Radio } from './radio-type';
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
+
id: Radio['id'];
|
|
8
|
+
name: Radio['name'];
|
|
9
|
+
value: Radio['value'];
|
|
10
|
+
label: Radio['label'];
|
|
11
|
+
checked?: Radio['checked'];
|
|
12
|
+
class?: Radio['class'];
|
|
13
|
+
}>>> & {
|
|
14
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
15
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
16
|
+
$attrs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$refs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$slots: Readonly<{
|
|
23
|
+
[name: string]: import("vue").Slot | undefined;
|
|
24
|
+
}>;
|
|
25
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
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("./radio-type").RadioValue) => void;
|
|
28
|
+
$el: any;
|
|
29
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
30
|
+
id: Radio['id'];
|
|
31
|
+
name: Radio['name'];
|
|
32
|
+
value: Radio['value'];
|
|
33
|
+
label: Radio['label'];
|
|
34
|
+
checked?: Radio['checked'];
|
|
35
|
+
class?: Radio['class'];
|
|
36
|
+
}>>> & {
|
|
37
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
38
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
39
|
+
change: (value: import("./radio-type").RadioValue) => void;
|
|
40
|
+
}, string, {}> & {
|
|
41
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
54
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
56
|
+
};
|
|
57
|
+
$forceUpdate: () => void;
|
|
58
|
+
$nextTick: typeof import("vue").nextTick;
|
|
59
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
60
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
61
|
+
id: Radio['id'];
|
|
62
|
+
name: Radio['name'];
|
|
63
|
+
value: Radio['value'];
|
|
64
|
+
label: Radio['label'];
|
|
65
|
+
checked?: Radio['checked'];
|
|
66
|
+
class?: Radio['class'];
|
|
67
|
+
}>>> & {
|
|
68
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
69
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
70
|
+
__isFragment?: undefined;
|
|
71
|
+
__isTeleport?: undefined;
|
|
72
|
+
__isSuspense?: undefined;
|
|
73
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
74
|
id: Radio['id'];
|
|
13
75
|
name: Radio['name'];
|
|
14
76
|
value: Radio['value'];
|
|
@@ -17,7 +79,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
17
79
|
class?: Radio['class'];
|
|
18
80
|
}>>> & {
|
|
19
81
|
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
20
|
-
}, {}
|
|
82
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
|
+
change: (value: import("./radio-type").RadioValue) => void;
|
|
84
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
85
|
+
$slots: {};
|
|
86
|
+
});
|
|
21
87
|
export default _default;
|
|
22
88
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
89
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,102 @@
|
|
|
1
1
|
import type { Radio as RadioType } from './radio-type';
|
|
2
|
-
declare const _default:
|
|
2
|
+
declare const _default: {
|
|
3
|
+
new (...args: any[]): {
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{
|
|
7
|
+
hideTitle: boolean;
|
|
8
|
+
direction: 'row' | 'column';
|
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
id: string;
|
|
11
|
+
title: string;
|
|
12
|
+
hideTitle?: boolean | undefined;
|
|
13
|
+
hint?: string | undefined;
|
|
14
|
+
error?: string | undefined;
|
|
15
|
+
radios: RadioType[];
|
|
16
|
+
modelValue: RadioType['value'];
|
|
17
|
+
direction?: "row" | "column" | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
direction: string;
|
|
20
|
+
hideTitle: boolean;
|
|
21
|
+
}>>> & {
|
|
22
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
24
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideTitle" | "direction">;
|
|
25
|
+
$attrs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$refs: {
|
|
29
|
+
[x: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
$slots: Readonly<{
|
|
32
|
+
[name: string]: import("vue").Slot | undefined;
|
|
33
|
+
}>;
|
|
34
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
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("./radio-type").RadioValue) => void) & ((event: "change", value: import("./radio-type").RadioValue) => void);
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
+
id: string;
|
|
40
|
+
title: string;
|
|
41
|
+
hideTitle?: boolean | undefined;
|
|
42
|
+
hint?: string | undefined;
|
|
43
|
+
error?: string | undefined;
|
|
44
|
+
radios: RadioType[];
|
|
45
|
+
modelValue: RadioType['value'];
|
|
46
|
+
direction?: "row" | "column" | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
direction: string;
|
|
49
|
+
hideTitle: boolean;
|
|
50
|
+
}>>> & {
|
|
51
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
52
|
+
"onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
53
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
+
change: (value: import("./radio-type").RadioValue) => void;
|
|
55
|
+
} & {
|
|
56
|
+
"update:modelValue": (value: import("./radio-type").RadioValue) => void;
|
|
57
|
+
}, string, {
|
|
58
|
+
hideTitle: boolean;
|
|
59
|
+
direction: 'row' | 'column';
|
|
60
|
+
}> & {
|
|
61
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
74
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
75
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
76
|
+
};
|
|
77
|
+
$forceUpdate: () => void;
|
|
78
|
+
$nextTick: typeof import("vue").nextTick;
|
|
79
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
80
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
81
|
+
id: string;
|
|
82
|
+
title: string;
|
|
83
|
+
hideTitle?: boolean | undefined;
|
|
84
|
+
hint?: string | undefined;
|
|
85
|
+
error?: string | undefined;
|
|
86
|
+
radios: RadioType[];
|
|
87
|
+
modelValue: RadioType['value'];
|
|
88
|
+
direction?: "row" | "column" | undefined;
|
|
89
|
+
}>, {
|
|
90
|
+
direction: string;
|
|
91
|
+
hideTitle: boolean;
|
|
92
|
+
}>>> & {
|
|
93
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
95
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
96
|
+
__isFragment?: undefined;
|
|
97
|
+
__isTeleport?: undefined;
|
|
98
|
+
__isSuspense?: undefined;
|
|
99
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
100
|
id: string;
|
|
4
101
|
title: string;
|
|
5
102
|
hideTitle?: boolean | undefined;
|
|
@@ -11,29 +108,27 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
108
|
}>, {
|
|
12
109
|
direction: string;
|
|
13
110
|
hideTitle: boolean;
|
|
14
|
-
}
|
|
111
|
+
}>>> & {
|
|
112
|
+
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
113
|
+
"onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
114
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
115
|
change: (value: import("./radio-type").RadioValue) => void;
|
|
16
116
|
} & {
|
|
17
117
|
"update:modelValue": (value: import("./radio-type").RadioValue) => void;
|
|
18
|
-
}, string,
|
|
19
|
-
id: string;
|
|
20
|
-
title: string;
|
|
21
|
-
hideTitle?: boolean | undefined;
|
|
22
|
-
hint?: string | undefined;
|
|
23
|
-
error?: string | undefined;
|
|
24
|
-
radios: RadioType[];
|
|
25
|
-
modelValue: RadioType['value'];
|
|
26
|
-
direction?: "row" | "column" | undefined;
|
|
27
|
-
}>, {
|
|
28
|
-
direction: string;
|
|
118
|
+
}, string, {
|
|
29
119
|
hideTitle: boolean;
|
|
30
|
-
}>>> & {
|
|
31
|
-
"onUpdate:modelValue"?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
32
|
-
onChange?: ((value: import("./radio-type").RadioValue) => any) | undefined;
|
|
33
|
-
}, {
|
|
34
120
|
direction: 'row' | 'column';
|
|
35
|
-
|
|
36
|
-
|
|
121
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
122
|
+
$slots: {
|
|
123
|
+
title: (_: {
|
|
124
|
+
id: string;
|
|
125
|
+
}) => any;
|
|
126
|
+
default: (_: {
|
|
127
|
+
radios: RadioType[];
|
|
128
|
+
direction: "row" | "column";
|
|
129
|
+
}) => any;
|
|
130
|
+
};
|
|
131
|
+
});
|
|
37
132
|
export default _default;
|
|
38
133
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
134
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|