@solfacil/girassol 0.7.0 → 0.8.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/cli.js +68 -0
- package/cli/build/commands/create:component.js +136 -0
- package/cli/build/commands/generate:plugin.js +109 -0
- package/cli/build/commands/generate:types.js +76 -0
- package/cli/build/commands/girassol-cli.js +52 -0
- package/cli/build/extensions/cli-extension.js +17 -0
- package/cli/build/templates/components.d.ts.ejs +1 -0
- package/cli/build/templates/nuxt-plugin.ejs +8 -0
- package/cli/build/templates/vitesse-plugin.ejs +8 -0
- package/cli/build/templates/vue-plugin.ejs +5 -0
- package/cli/build/templates/windi.config.ts.ejs +3 -0
- package/cli/build/types/cli.d.ts +1 -0
- package/cli/build/types/commands/create:component.d.ts +1 -0
- package/cli/build/types/commands/generate:plugin.d.ts +1 -0
- package/cli/build/types/commands/generate:types.d.ts +7 -0
- package/cli/build/types/commands/girassol-cli.d.ts +1 -0
- package/cli/build/types/extensions/cli-extension.d.ts +1 -0
- package/cli/build/types/types.d.ts +0 -0
- package/cli/build/types.js +2 -0
- package/dist/components.d.ts +1 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +2143 -2015
- package/dist/girassol.umd.js +6 -6
- package/dist/style.css +1 -1
- package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +81 -13
- package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +4 -20
- package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +91 -15
- package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +107 -21
- package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +121 -33
- package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +78 -12
- package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +4 -20
- package/dist/types/components/forms/select/ListOption.vue.d.ts +16 -60
- package/dist/types/components/forms/select/Select.vue.d.ts +23 -21
- package/dist/types/components/forms/select/types.d.ts +2 -2
- package/dist/types/components/forms/switch/Switch.vue.d.ts +107 -20
- package/dist/types/components/loader/CircleLoader.vue.d.ts +72 -10
- package/dist/types/components/pagination/Pagination.vue.d.ts +190 -0
- package/dist/types/components/pagination/index.d.ts +2 -0
- package/dist/types/components/pagination/pagination.spec.d.ts +1 -0
- package/dist/types/components/pagination/types.d.ts +14 -0
- package/dist/types/composables/use-validate-field/index.d.ts +3 -3
- package/dist/types/composables/use-validate-field/types.d.ts +4 -8
- package/dist/types/index.d.ts +1441 -525
- package/package.json +27 -18
|
@@ -1,19 +1,91 @@
|
|
|
1
1
|
import type { InputCore } from '../types';
|
|
2
2
|
import type { Mask } from '../../../../composables/use-mask';
|
|
3
|
-
declare const _default:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
3
|
+
declare const _default: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
size: "small" | "medium";
|
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
id: InputCore['id'];
|
|
11
|
+
modelValue: InputCore['modelValue'];
|
|
12
|
+
error?: InputCore['error'];
|
|
13
|
+
mask?: Mask | undefined;
|
|
14
|
+
size?: InputCore['size'];
|
|
15
|
+
hasFeedbackIcon?: InputCore['hasFeedbackIcon'];
|
|
16
|
+
}>, {
|
|
17
|
+
size: string;
|
|
18
|
+
}>>> & {
|
|
19
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
20
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size">;
|
|
21
|
+
$attrs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$refs: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
$slots: Readonly<{
|
|
28
|
+
[name: string]: import("vue").Slot | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
31
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
32
|
+
$emit: (event: "update:modelValue", event: string) => void;
|
|
33
|
+
$el: any;
|
|
34
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
35
|
+
id: InputCore['id'];
|
|
36
|
+
modelValue: InputCore['modelValue'];
|
|
37
|
+
error?: InputCore['error'];
|
|
38
|
+
mask?: Mask | undefined;
|
|
39
|
+
size?: InputCore['size'];
|
|
40
|
+
hasFeedbackIcon?: InputCore['hasFeedbackIcon'];
|
|
41
|
+
}>, {
|
|
42
|
+
size: string;
|
|
43
|
+
}>>> & {
|
|
44
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
45
|
+
}, {
|
|
46
|
+
input: import("vue").Ref<string>;
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (event: string) => void;
|
|
49
|
+
}, string, {
|
|
50
|
+
size: "small" | "medium";
|
|
51
|
+
}> & {
|
|
52
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
65
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
66
|
+
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;
|
|
67
|
+
};
|
|
68
|
+
$forceUpdate: () => void;
|
|
69
|
+
$nextTick: typeof import("vue").nextTick;
|
|
70
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
71
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
72
|
+
id: InputCore['id'];
|
|
73
|
+
modelValue: InputCore['modelValue'];
|
|
74
|
+
error?: InputCore['error'];
|
|
75
|
+
mask?: Mask | undefined;
|
|
76
|
+
size?: InputCore['size'];
|
|
77
|
+
hasFeedbackIcon?: InputCore['hasFeedbackIcon'];
|
|
78
|
+
}>, {
|
|
79
|
+
size: string;
|
|
80
|
+
}>>> & {
|
|
81
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
82
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
83
|
+
input: import("vue").Ref<string>;
|
|
84
|
+
}> & {} & import("vue").ComponentCustomProperties;
|
|
85
|
+
__isFragment?: undefined;
|
|
86
|
+
__isTeleport?: undefined;
|
|
87
|
+
__isSuspense?: undefined;
|
|
88
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
89
|
id: InputCore['id'];
|
|
18
90
|
modelValue: InputCore['modelValue'];
|
|
19
91
|
error?: InputCore['error'];
|
|
@@ -25,8 +97,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
97
|
}>>> & {
|
|
26
98
|
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
27
99
|
}, {
|
|
100
|
+
input: import("vue").Ref<string>;
|
|
101
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
102
|
+
"update:modelValue": (event: string) => void;
|
|
103
|
+
}, string, {
|
|
28
104
|
size: "small" | "medium";
|
|
29
|
-
}
|
|
105
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
30
106
|
export default _default;
|
|
31
107
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
108
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,6 +1,110 @@
|
|
|
1
1
|
import type { InputText as InputType } from '../types';
|
|
2
2
|
import type { ParentValidation } from '@/composables/use-validate-field/types';
|
|
3
|
-
declare const _default:
|
|
3
|
+
declare const _default: {
|
|
4
|
+
new (...args: any[]): {
|
|
5
|
+
$: import("vue").ComponentInternalInstance;
|
|
6
|
+
$data: {};
|
|
7
|
+
$props: Partial<{
|
|
8
|
+
required: boolean;
|
|
9
|
+
name: InputType['name'];
|
|
10
|
+
placeholder: string;
|
|
11
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
id: InputType['id'];
|
|
13
|
+
label?: InputType['label'];
|
|
14
|
+
name: InputType['name'];
|
|
15
|
+
placeholder?: string | undefined;
|
|
16
|
+
helperText?: InputType['helperText'];
|
|
17
|
+
required?: InputType['required'];
|
|
18
|
+
disabled?: InputType['disabled'];
|
|
19
|
+
size?: InputType['size'];
|
|
20
|
+
error?: string | null | undefined;
|
|
21
|
+
modelValue?: string | undefined;
|
|
22
|
+
useField?: ParentValidation<string>['useFieldParent'];
|
|
23
|
+
rules?: ParentValidation<string>['rules'];
|
|
24
|
+
opts?: ParentValidation<string>['opts'];
|
|
25
|
+
}>, {
|
|
26
|
+
name: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "name" | "placeholder">;
|
|
30
|
+
$attrs: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
};
|
|
33
|
+
$refs: {
|
|
34
|
+
[x: string]: unknown;
|
|
35
|
+
};
|
|
36
|
+
$slots: Readonly<{
|
|
37
|
+
[name: string]: import("vue").Slot | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
40
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
41
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
42
|
+
$el: any;
|
|
43
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
|
+
id: InputType['id'];
|
|
45
|
+
label?: InputType['label'];
|
|
46
|
+
name: InputType['name'];
|
|
47
|
+
placeholder?: string | undefined;
|
|
48
|
+
helperText?: InputType['helperText'];
|
|
49
|
+
required?: InputType['required'];
|
|
50
|
+
disabled?: InputType['disabled'];
|
|
51
|
+
size?: InputType['size'];
|
|
52
|
+
error?: string | null | undefined;
|
|
53
|
+
modelValue?: string | undefined;
|
|
54
|
+
useField?: ParentValidation<string>['useFieldParent'];
|
|
55
|
+
rules?: ParentValidation<string>['rules'];
|
|
56
|
+
opts?: ParentValidation<string>['opts'];
|
|
57
|
+
}>, {
|
|
58
|
+
name: string;
|
|
59
|
+
required: boolean;
|
|
60
|
+
placeholder: string;
|
|
61
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
62
|
+
required: boolean;
|
|
63
|
+
name: InputType['name'];
|
|
64
|
+
placeholder: string;
|
|
65
|
+
}> & {
|
|
66
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
79
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
80
|
+
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;
|
|
81
|
+
};
|
|
82
|
+
$forceUpdate: () => void;
|
|
83
|
+
$nextTick: typeof import("vue").nextTick;
|
|
84
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
85
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
86
|
+
id: InputType['id'];
|
|
87
|
+
label?: InputType['label'];
|
|
88
|
+
name: InputType['name'];
|
|
89
|
+
placeholder?: string | undefined;
|
|
90
|
+
helperText?: InputType['helperText'];
|
|
91
|
+
required?: InputType['required'];
|
|
92
|
+
disabled?: InputType['disabled'];
|
|
93
|
+
size?: InputType['size'];
|
|
94
|
+
error?: string | null | undefined;
|
|
95
|
+
modelValue?: string | undefined;
|
|
96
|
+
useField?: ParentValidation<string>['useFieldParent'];
|
|
97
|
+
rules?: ParentValidation<string>['rules'];
|
|
98
|
+
opts?: ParentValidation<string>['opts'];
|
|
99
|
+
}>, {
|
|
100
|
+
name: string;
|
|
101
|
+
required: boolean;
|
|
102
|
+
placeholder: string;
|
|
103
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
104
|
+
__isFragment?: undefined;
|
|
105
|
+
__isTeleport?: undefined;
|
|
106
|
+
__isSuspense?: undefined;
|
|
107
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
108
|
id: InputType['id'];
|
|
5
109
|
label?: InputType['label'];
|
|
6
110
|
name: InputType['name'];
|
|
@@ -18,29 +122,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
18
122
|
name: string;
|
|
19
123
|
required: boolean;
|
|
20
124
|
placeholder: string;
|
|
21
|
-
}
|
|
22
|
-
id: InputType['id'];
|
|
23
|
-
label?: InputType['label'];
|
|
24
|
-
name: InputType['name'];
|
|
25
|
-
placeholder?: string | undefined;
|
|
26
|
-
helperText?: InputType['helperText'];
|
|
27
|
-
required?: InputType['required'];
|
|
28
|
-
disabled?: InputType['disabled'];
|
|
29
|
-
size?: InputType['size'];
|
|
30
|
-
error?: string | null | undefined;
|
|
31
|
-
modelValue?: string | undefined;
|
|
32
|
-
useField?: ParentValidation<string>['useFieldParent'];
|
|
33
|
-
rules?: ParentValidation<string>['rules'];
|
|
34
|
-
opts?: ParentValidation<string>['opts'];
|
|
35
|
-
}>, {
|
|
36
|
-
name: string;
|
|
37
|
-
required: boolean;
|
|
38
|
-
placeholder: string;
|
|
39
|
-
}>>>, {
|
|
125
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
40
126
|
required: boolean;
|
|
41
127
|
name: InputType['name'];
|
|
42
128
|
placeholder: string;
|
|
43
|
-
}
|
|
129
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
44
130
|
export default _default;
|
|
45
131
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
46
132
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,119 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
size: 'small' | 'medium';
|
|
7
|
+
error: string | null;
|
|
8
|
+
resize: 'both' | 'horizontal' | 'vertical' | 'none';
|
|
9
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
id: string;
|
|
11
|
+
class?: string | undefined;
|
|
12
|
+
name: string;
|
|
13
|
+
label?: string | undefined;
|
|
14
|
+
required?: boolean | undefined;
|
|
15
|
+
helperText?: string | undefined;
|
|
16
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
17
|
+
size?: "small" | "medium" | undefined;
|
|
18
|
+
error?: string | null | undefined;
|
|
19
|
+
placeholder?: string | undefined;
|
|
20
|
+
modelValue?: string | undefined;
|
|
21
|
+
useField?: typeof import("vee-validate").useField | undefined;
|
|
22
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
23
|
+
opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
size: string;
|
|
26
|
+
resize: string;
|
|
27
|
+
error: null;
|
|
28
|
+
}>>> & {
|
|
29
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
30
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "error" | "resize">;
|
|
31
|
+
$attrs: {
|
|
32
|
+
[x: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
$refs: {
|
|
35
|
+
[x: string]: unknown;
|
|
36
|
+
};
|
|
37
|
+
$slots: Readonly<{
|
|
38
|
+
[name: string]: import("vue").Slot | undefined;
|
|
39
|
+
}>;
|
|
40
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
41
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
42
|
+
$emit: (event: "update:modelValue", event: string) => void;
|
|
43
|
+
$el: any;
|
|
44
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
+
id: string;
|
|
46
|
+
class?: string | undefined;
|
|
47
|
+
name: string;
|
|
48
|
+
label?: string | undefined;
|
|
49
|
+
required?: boolean | undefined;
|
|
50
|
+
helperText?: string | undefined;
|
|
51
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
52
|
+
size?: "small" | "medium" | undefined;
|
|
53
|
+
error?: string | null | undefined;
|
|
54
|
+
placeholder?: string | undefined;
|
|
55
|
+
modelValue?: string | undefined;
|
|
56
|
+
useField?: typeof import("vee-validate").useField | undefined;
|
|
57
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
58
|
+
opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
size: string;
|
|
61
|
+
resize: string;
|
|
62
|
+
error: null;
|
|
63
|
+
}>>> & {
|
|
64
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
65
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
66
|
+
"update:modelValue": (event: string) => void;
|
|
67
|
+
}, string, {
|
|
68
|
+
size: 'small' | 'medium';
|
|
69
|
+
error: string | null;
|
|
70
|
+
resize: 'both' | 'horizontal' | 'vertical' | 'none';
|
|
71
|
+
}> & {
|
|
72
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
83
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
84
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
85
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
86
|
+
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;
|
|
87
|
+
};
|
|
88
|
+
$forceUpdate: () => void;
|
|
89
|
+
$nextTick: typeof import("vue").nextTick;
|
|
90
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
91
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
92
|
+
id: string;
|
|
93
|
+
class?: string | undefined;
|
|
94
|
+
name: string;
|
|
95
|
+
label?: string | undefined;
|
|
96
|
+
required?: boolean | undefined;
|
|
97
|
+
helperText?: string | undefined;
|
|
98
|
+
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
99
|
+
size?: "small" | "medium" | undefined;
|
|
100
|
+
error?: string | null | undefined;
|
|
101
|
+
placeholder?: string | undefined;
|
|
102
|
+
modelValue?: string | undefined;
|
|
103
|
+
useField?: typeof import("vee-validate").useField | undefined;
|
|
104
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
105
|
+
opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
|
|
106
|
+
}>, {
|
|
107
|
+
size: string;
|
|
108
|
+
resize: string;
|
|
109
|
+
error: null;
|
|
110
|
+
}>>> & {
|
|
111
|
+
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
112
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
113
|
+
__isFragment?: undefined;
|
|
114
|
+
__isTeleport?: undefined;
|
|
115
|
+
__isSuspense?: undefined;
|
|
116
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
117
|
id: string;
|
|
3
118
|
class?: string | undefined;
|
|
4
119
|
name: string;
|
|
@@ -11,36 +126,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
126
|
placeholder?: string | undefined;
|
|
12
127
|
modelValue?: string | undefined;
|
|
13
128
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
14
|
-
rules?:
|
|
15
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
16
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
17
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
18
|
-
} | undefined>;
|
|
19
|
-
opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
|
|
20
|
-
}>, {
|
|
21
|
-
size: string;
|
|
22
|
-
resize: string;
|
|
23
|
-
error: null;
|
|
24
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
-
"update:modelValue": (event: string) => void;
|
|
26
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
|
-
id: string;
|
|
28
|
-
class?: string | undefined;
|
|
29
|
-
name: string;
|
|
30
|
-
label?: string | undefined;
|
|
31
|
-
required?: boolean | undefined;
|
|
32
|
-
helperText?: string | undefined;
|
|
33
|
-
resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
|
|
34
|
-
size?: "small" | "medium" | undefined;
|
|
35
|
-
error?: string | null | undefined;
|
|
36
|
-
placeholder?: string | undefined;
|
|
37
|
-
modelValue?: string | undefined;
|
|
38
|
-
useField?: typeof import("vee-validate").useField | undefined;
|
|
39
|
-
rules?: (string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
40
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
41
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
42
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
43
|
-
} | undefined>;
|
|
129
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
44
130
|
opts?: Partial<import("vee-validate").FieldOptions<string>> | undefined;
|
|
45
131
|
}>, {
|
|
46
132
|
size: string;
|
|
@@ -48,11 +134,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
48
134
|
error: null;
|
|
49
135
|
}>>> & {
|
|
50
136
|
"onUpdate:modelValue"?: ((event: string) => any) | undefined;
|
|
51
|
-
}, {
|
|
137
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
138
|
+
"update:modelValue": (event: string) => void;
|
|
139
|
+
}, string, {
|
|
52
140
|
size: 'small' | 'medium';
|
|
53
141
|
error: string | null;
|
|
54
142
|
resize: 'both' | 'horizontal' | 'vertical' | 'none';
|
|
55
|
-
}
|
|
143
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
56
144
|
export default _default;
|
|
57
145
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
146
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,15 +1,79 @@
|
|
|
1
1
|
import type { Radio } from '../types';
|
|
2
|
-
declare const _default:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
hideLabel?: Radio['hideLabel'];
|
|
12
|
+
checked?: Radio['checked'];
|
|
13
|
+
class?: Radio['class'];
|
|
14
|
+
}>>> & {
|
|
15
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
17
|
+
$attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$refs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$slots: Readonly<{
|
|
24
|
+
[name: string]: import("vue").Slot | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
27
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
+
$emit: (event: "change", value: import("../types").RadioValue) => void;
|
|
29
|
+
$el: any;
|
|
30
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
+
id: Radio['id'];
|
|
32
|
+
name: Radio['name'];
|
|
33
|
+
value: Radio['value'];
|
|
34
|
+
label: Radio['label'];
|
|
35
|
+
hideLabel?: Radio['hideLabel'];
|
|
36
|
+
checked?: Radio['checked'];
|
|
37
|
+
class?: Radio['class'];
|
|
38
|
+
}>>> & {
|
|
39
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
change: (value: import("../types").RadioValue) => void;
|
|
42
|
+
}, string, {}> & {
|
|
43
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
+
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;
|
|
58
|
+
};
|
|
59
|
+
$forceUpdate: () => void;
|
|
60
|
+
$nextTick: typeof import("vue").nextTick;
|
|
61
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
62
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
63
|
+
id: Radio['id'];
|
|
64
|
+
name: Radio['name'];
|
|
65
|
+
value: Radio['value'];
|
|
66
|
+
label: Radio['label'];
|
|
67
|
+
hideLabel?: Radio['hideLabel'];
|
|
68
|
+
checked?: Radio['checked'];
|
|
69
|
+
class?: Radio['class'];
|
|
70
|
+
}>>> & {
|
|
71
|
+
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
72
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
73
|
+
__isFragment?: undefined;
|
|
74
|
+
__isTeleport?: undefined;
|
|
75
|
+
__isSuspense?: undefined;
|
|
76
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
77
|
id: Radio['id'];
|
|
14
78
|
name: Radio['name'];
|
|
15
79
|
value: Radio['value'];
|
|
@@ -19,7 +83,9 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
19
83
|
class?: Radio['class'];
|
|
20
84
|
}>>> & {
|
|
21
85
|
onChange?: ((value: import("../types").RadioValue) => any) | undefined;
|
|
22
|
-
}, {}
|
|
86
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
87
|
+
change: (value: import("../types").RadioValue) => void;
|
|
88
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
23
89
|
export default _default;
|
|
24
90
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
91
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -18,11 +18,7 @@ declare const _default: {
|
|
|
18
18
|
modelValue?: import("../types").RadioValue | undefined;
|
|
19
19
|
direction?: "row" | "column" | undefined;
|
|
20
20
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
21
|
-
rules?:
|
|
22
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
23
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
24
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
25
|
-
} | undefined>;
|
|
21
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
26
22
|
opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
|
|
27
23
|
}>, {
|
|
28
24
|
error: null;
|
|
@@ -56,11 +52,7 @@ declare const _default: {
|
|
|
56
52
|
modelValue?: import("../types").RadioValue | undefined;
|
|
57
53
|
direction?: "row" | "column" | undefined;
|
|
58
54
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
59
|
-
rules?:
|
|
60
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
61
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
62
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
63
|
-
} | undefined>;
|
|
55
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
64
56
|
opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
|
|
65
57
|
}>, {
|
|
66
58
|
error: null;
|
|
@@ -108,11 +100,7 @@ declare const _default: {
|
|
|
108
100
|
modelValue?: import("../types").RadioValue | undefined;
|
|
109
101
|
direction?: "row" | "column" | undefined;
|
|
110
102
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
111
|
-
rules?:
|
|
112
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
113
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
114
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
115
|
-
} | undefined>;
|
|
103
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
116
104
|
opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
|
|
117
105
|
}>, {
|
|
118
106
|
error: null;
|
|
@@ -136,11 +124,7 @@ declare const _default: {
|
|
|
136
124
|
modelValue?: import("../types").RadioValue | undefined;
|
|
137
125
|
direction?: "row" | "column" | undefined;
|
|
138
126
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
139
|
-
rules?:
|
|
140
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
141
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
142
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
143
|
-
} | undefined>;
|
|
127
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
144
128
|
opts?: Partial<import("vee-validate").FieldOptions<import("../types").RadioValue>> | undefined;
|
|
145
129
|
}>, {
|
|
146
130
|
error: null;
|