@solfacil/girassol 0.7.0 → 0.8.0
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 +4 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +2953 -2628
- package/dist/girassol.umd.js +9 -9
- package/dist/style.css +1 -1
- package/dist/types/components/empty-state/EmptyState.vue.d.ts +97 -0
- package/dist/types/components/empty-state/empty-state.spec.d.ts +1 -0
- package/dist/types/components/empty-state/index.d.ts +2 -0
- package/dist/types/components/empty-state/types.d.ts +7 -0
- package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +4 -4
- package/dist/types/components/forms/button/button/Button.vue.d.ts +4 -4
- 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/informations/tag/Tag.vue.d.ts +4 -4
- package/dist/types/components/list/ListItem.vue.d.ts +17 -9
- package/dist/types/components/list/types.d.ts +2 -2
- 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/components/tabs/TabItem.vue.d.ts +83 -0
- package/dist/types/components/tabs/Tabs.vue.d.ts +133 -0
- package/dist/types/components/tabs/index.d.ts +2 -0
- package/dist/types/components/tabs/tabs.spec.d.ts +1 -0
- package/dist/types/components/tabs/types.d.ts +13 -0
- package/dist/types/composables/use-navigate/index.d.ts +3 -6
- package/dist/types/composables/use-navigate/types.d.ts +8 -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 +2119 -847
- package/package.json +41 -31
|
@@ -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;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Option } from './types';
|
|
1
2
|
declare const _default: {
|
|
2
3
|
new (...args: any[]): {
|
|
3
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -5,20 +6,11 @@ declare const _default: {
|
|
|
5
6
|
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
7
|
id: string;
|
|
7
8
|
name: string;
|
|
8
|
-
options:
|
|
9
|
-
name: string;
|
|
10
|
-
value: string;
|
|
11
|
-
}[];
|
|
9
|
+
options: Option[];
|
|
12
10
|
multiple?: boolean | undefined;
|
|
13
|
-
isSelected: (option:
|
|
14
|
-
name: string;
|
|
15
|
-
value: string;
|
|
16
|
-
}) => boolean;
|
|
11
|
+
isSelected: (option: Option) => boolean;
|
|
17
12
|
}>>> & {
|
|
18
|
-
onSelect?: ((option:
|
|
19
|
-
name: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}) => any) | undefined;
|
|
13
|
+
onSelect?: ((option: Option) => any) | undefined;
|
|
22
14
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
23
15
|
$attrs: {
|
|
24
16
|
[x: string]: unknown;
|
|
@@ -31,35 +23,20 @@ declare const _default: {
|
|
|
31
23
|
}>;
|
|
32
24
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
33
25
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
34
|
-
$emit: (event: "select", option:
|
|
35
|
-
name: string;
|
|
36
|
-
value: string;
|
|
37
|
-
}) => void;
|
|
26
|
+
$emit: (event: "select", option: Option) => void;
|
|
38
27
|
$el: any;
|
|
39
28
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
40
29
|
id: string;
|
|
41
30
|
name: string;
|
|
42
|
-
options:
|
|
43
|
-
name: string;
|
|
44
|
-
value: string;
|
|
45
|
-
}[];
|
|
31
|
+
options: Option[];
|
|
46
32
|
multiple?: boolean | undefined;
|
|
47
|
-
isSelected: (option:
|
|
48
|
-
name: string;
|
|
49
|
-
value: string;
|
|
50
|
-
}) => boolean;
|
|
33
|
+
isSelected: (option: Option) => boolean;
|
|
51
34
|
}>>> & {
|
|
52
|
-
onSelect?: ((option:
|
|
53
|
-
name: string;
|
|
54
|
-
value: string;
|
|
55
|
-
}) => any) | undefined;
|
|
35
|
+
onSelect?: ((option: Option) => any) | undefined;
|
|
56
36
|
}, {
|
|
57
37
|
list: import("vue").Ref<string>;
|
|
58
38
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
59
|
-
select: (option:
|
|
60
|
-
name: string;
|
|
61
|
-
value: string;
|
|
62
|
-
}) => void;
|
|
39
|
+
select: (option: Option) => void;
|
|
63
40
|
}, string, {}> & {
|
|
64
41
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
65
42
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -83,20 +60,11 @@ declare const _default: {
|
|
|
83
60
|
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
84
61
|
id: string;
|
|
85
62
|
name: string;
|
|
86
|
-
options:
|
|
87
|
-
name: string;
|
|
88
|
-
value: string;
|
|
89
|
-
}[];
|
|
63
|
+
options: Option[];
|
|
90
64
|
multiple?: boolean | undefined;
|
|
91
|
-
isSelected: (option:
|
|
92
|
-
name: string;
|
|
93
|
-
value: string;
|
|
94
|
-
}) => boolean;
|
|
65
|
+
isSelected: (option: Option) => boolean;
|
|
95
66
|
}>>> & {
|
|
96
|
-
onSelect?: ((option:
|
|
97
|
-
name: string;
|
|
98
|
-
value: string;
|
|
99
|
-
}) => any) | undefined;
|
|
67
|
+
onSelect?: ((option: Option) => any) | undefined;
|
|
100
68
|
} & import("vue").ShallowUnwrapRef<{
|
|
101
69
|
list: import("vue").Ref<string>;
|
|
102
70
|
}> & {} & import("vue").ComponentCustomProperties;
|
|
@@ -106,27 +74,15 @@ declare const _default: {
|
|
|
106
74
|
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
107
75
|
id: string;
|
|
108
76
|
name: string;
|
|
109
|
-
options:
|
|
110
|
-
name: string;
|
|
111
|
-
value: string;
|
|
112
|
-
}[];
|
|
77
|
+
options: Option[];
|
|
113
78
|
multiple?: boolean | undefined;
|
|
114
|
-
isSelected: (option:
|
|
115
|
-
name: string;
|
|
116
|
-
value: string;
|
|
117
|
-
}) => boolean;
|
|
79
|
+
isSelected: (option: Option) => boolean;
|
|
118
80
|
}>>> & {
|
|
119
|
-
onSelect?: ((option:
|
|
120
|
-
name: string;
|
|
121
|
-
value: string;
|
|
122
|
-
}) => any) | undefined;
|
|
81
|
+
onSelect?: ((option: Option) => any) | undefined;
|
|
123
82
|
}, {
|
|
124
83
|
list: import("vue").Ref<string>;
|
|
125
84
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
|
-
select: (option:
|
|
127
|
-
name: string;
|
|
128
|
-
value: string;
|
|
129
|
-
}) => void;
|
|
85
|
+
select: (option: Option) => void;
|
|
130
86
|
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
131
87
|
$slots: {
|
|
132
88
|
'no-data': (_: {}) => any;
|
|
@@ -4,11 +4,13 @@ declare const _default: {
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
|
+
multiple: boolean;
|
|
7
8
|
placeholder: string;
|
|
8
9
|
size: import("./types").Size;
|
|
9
10
|
loading: boolean;
|
|
10
11
|
error: string | null;
|
|
11
12
|
options: Select['options'];
|
|
13
|
+
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
12
14
|
searchable: boolean;
|
|
13
15
|
closeOnSelect: boolean;
|
|
14
16
|
fetchOnSearch: boolean;
|
|
@@ -18,6 +20,7 @@ declare const _default: {
|
|
|
18
20
|
label?: Select['label'];
|
|
19
21
|
ariaLabel?: Select['ariaLabel'];
|
|
20
22
|
name: Select['name'];
|
|
23
|
+
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
21
24
|
selected?: Select['selected'];
|
|
22
25
|
options: Select['options'];
|
|
23
26
|
required?: Select['required'];
|
|
@@ -33,13 +36,10 @@ declare const _default: {
|
|
|
33
36
|
searchPlaceholder?: Select['searchPlaceholder'];
|
|
34
37
|
error?: string | null | undefined;
|
|
35
38
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
36
|
-
rules?:
|
|
37
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
38
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
39
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
40
|
-
} | undefined>;
|
|
39
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
41
40
|
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
42
41
|
}>, {
|
|
42
|
+
dropdownPosition: string;
|
|
43
43
|
error: null;
|
|
44
44
|
size: string;
|
|
45
45
|
placeholder: string;
|
|
@@ -48,12 +48,13 @@ declare const _default: {
|
|
|
48
48
|
closeOnSelect: boolean;
|
|
49
49
|
fetchOnSearch: boolean;
|
|
50
50
|
searchable: boolean;
|
|
51
|
+
multiple: boolean;
|
|
51
52
|
options: () => never[];
|
|
52
53
|
}>>> & {
|
|
53
54
|
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
54
55
|
onSearch?: ((value: string) => any) | undefined;
|
|
55
56
|
onCloseDropdown?: (() => any) | undefined;
|
|
56
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "placeholder" | "size" | "loading" | "error" | "options" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "searchPlaceholder">;
|
|
57
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "multiple" | "placeholder" | "size" | "loading" | "error" | "options" | "dropdownPosition" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "searchPlaceholder">;
|
|
57
58
|
$attrs: {
|
|
58
59
|
[x: string]: unknown;
|
|
59
60
|
};
|
|
@@ -72,6 +73,7 @@ declare const _default: {
|
|
|
72
73
|
label?: Select['label'];
|
|
73
74
|
ariaLabel?: Select['ariaLabel'];
|
|
74
75
|
name: Select['name'];
|
|
76
|
+
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
75
77
|
selected?: Select['selected'];
|
|
76
78
|
options: Select['options'];
|
|
77
79
|
required?: Select['required'];
|
|
@@ -87,13 +89,10 @@ declare const _default: {
|
|
|
87
89
|
searchPlaceholder?: Select['searchPlaceholder'];
|
|
88
90
|
error?: string | null | undefined;
|
|
89
91
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
90
|
-
rules?:
|
|
91
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
92
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
93
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
94
|
-
} | undefined>;
|
|
92
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
95
93
|
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
96
94
|
}>, {
|
|
95
|
+
dropdownPosition: string;
|
|
97
96
|
error: null;
|
|
98
97
|
size: string;
|
|
99
98
|
placeholder: string;
|
|
@@ -102,6 +101,7 @@ declare const _default: {
|
|
|
102
101
|
closeOnSelect: boolean;
|
|
103
102
|
fetchOnSearch: boolean;
|
|
104
103
|
searchable: boolean;
|
|
104
|
+
multiple: boolean;
|
|
105
105
|
options: () => never[];
|
|
106
106
|
}>>> & {
|
|
107
107
|
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
@@ -114,11 +114,13 @@ declare const _default: {
|
|
|
114
114
|
} & {
|
|
115
115
|
"update:selected": (value: Option | Option[] | undefined) => void;
|
|
116
116
|
}, string, {
|
|
117
|
+
multiple: boolean;
|
|
117
118
|
placeholder: string;
|
|
118
119
|
size: import("./types").Size;
|
|
119
120
|
loading: boolean;
|
|
120
121
|
error: string | null;
|
|
121
122
|
options: Select['options'];
|
|
123
|
+
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
122
124
|
searchable: boolean;
|
|
123
125
|
closeOnSelect: boolean;
|
|
124
126
|
fetchOnSearch: boolean;
|
|
@@ -148,6 +150,7 @@ declare const _default: {
|
|
|
148
150
|
label?: Select['label'];
|
|
149
151
|
ariaLabel?: Select['ariaLabel'];
|
|
150
152
|
name: Select['name'];
|
|
153
|
+
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
151
154
|
selected?: Select['selected'];
|
|
152
155
|
options: Select['options'];
|
|
153
156
|
required?: Select['required'];
|
|
@@ -163,13 +166,10 @@ declare const _default: {
|
|
|
163
166
|
searchPlaceholder?: Select['searchPlaceholder'];
|
|
164
167
|
error?: string | null | undefined;
|
|
165
168
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
166
|
-
rules?:
|
|
167
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
168
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
169
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
170
|
-
} | undefined>;
|
|
169
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
171
170
|
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
172
171
|
}>, {
|
|
172
|
+
dropdownPosition: string;
|
|
173
173
|
error: null;
|
|
174
174
|
size: string;
|
|
175
175
|
placeholder: string;
|
|
@@ -178,6 +178,7 @@ declare const _default: {
|
|
|
178
178
|
closeOnSelect: boolean;
|
|
179
179
|
fetchOnSearch: boolean;
|
|
180
180
|
searchable: boolean;
|
|
181
|
+
multiple: boolean;
|
|
181
182
|
options: () => never[];
|
|
182
183
|
}>>> & {
|
|
183
184
|
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
@@ -192,6 +193,7 @@ declare const _default: {
|
|
|
192
193
|
label?: Select['label'];
|
|
193
194
|
ariaLabel?: Select['ariaLabel'];
|
|
194
195
|
name: Select['name'];
|
|
196
|
+
dropdownPosition?: "bottom" | "top" | "dynamic" | undefined;
|
|
195
197
|
selected?: Select['selected'];
|
|
196
198
|
options: Select['options'];
|
|
197
199
|
required?: Select['required'];
|
|
@@ -207,13 +209,10 @@ declare const _default: {
|
|
|
207
209
|
searchPlaceholder?: Select['searchPlaceholder'];
|
|
208
210
|
error?: string | null | undefined;
|
|
209
211
|
useField?: typeof import("vee-validate").useField | undefined;
|
|
210
|
-
rules?:
|
|
211
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
212
|
-
} | undefined) | import("vue").Ref<string | Record<string, unknown> | import("vee-validate").GenericValidateFunction<unknown> | import("vee-validate").GenericValidateFunction<unknown>[] | {
|
|
213
|
-
validate(value: unknown, options: Record<string, any>): Promise<unknown>;
|
|
214
|
-
} | undefined>;
|
|
212
|
+
rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
|
|
215
213
|
opts?: Partial<import("vee-validate").FieldOptions<Option>> | undefined;
|
|
216
214
|
}>, {
|
|
215
|
+
dropdownPosition: string;
|
|
217
216
|
error: null;
|
|
218
217
|
size: string;
|
|
219
218
|
placeholder: string;
|
|
@@ -222,6 +221,7 @@ declare const _default: {
|
|
|
222
221
|
closeOnSelect: boolean;
|
|
223
222
|
fetchOnSearch: boolean;
|
|
224
223
|
searchable: boolean;
|
|
224
|
+
multiple: boolean;
|
|
225
225
|
options: () => never[];
|
|
226
226
|
}>>> & {
|
|
227
227
|
"onUpdate:selected"?: ((value: Option | Option[] | undefined) => any) | undefined;
|
|
@@ -234,11 +234,13 @@ declare const _default: {
|
|
|
234
234
|
} & {
|
|
235
235
|
"update:selected": (value: Option | Option[] | undefined) => void;
|
|
236
236
|
}, string, {
|
|
237
|
+
multiple: boolean;
|
|
237
238
|
placeholder: string;
|
|
238
239
|
size: import("./types").Size;
|
|
239
240
|
loading: boolean;
|
|
240
241
|
error: string | null;
|
|
241
242
|
options: Select['options'];
|
|
243
|
+
dropdownPosition: 'bottom' | 'top' | 'dynamic';
|
|
242
244
|
searchable: boolean;
|
|
243
245
|
closeOnSelect: boolean;
|
|
244
246
|
fetchOnSearch: boolean;
|
|
@@ -1,21 +1,104 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
textDirection: 'left' | 'right';
|
|
7
|
+
stretchLabel: boolean;
|
|
8
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
value?: string | undefined;
|
|
12
|
+
label: string;
|
|
13
|
+
checked?: boolean | undefined;
|
|
14
|
+
class?: string | Record<string, boolean> | undefined;
|
|
15
|
+
textDirection?: "left" | "right" | undefined;
|
|
16
|
+
hideLabel?: boolean | undefined;
|
|
17
|
+
stretchLabel?: boolean | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
textDirection: string;
|
|
20
|
+
stretchLabel: boolean;
|
|
21
|
+
}>>> & {
|
|
22
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
23
|
+
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
24
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "textDirection" | "stretchLabel">;
|
|
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: "change", value: string | boolean) => void) & ((event: "update:checked", value: boolean) => void);
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
value?: string | undefined;
|
|
42
|
+
label: string;
|
|
43
|
+
checked?: boolean | undefined;
|
|
44
|
+
class?: string | Record<string, boolean> | undefined;
|
|
45
|
+
textDirection?: "left" | "right" | undefined;
|
|
46
|
+
hideLabel?: boolean | undefined;
|
|
47
|
+
stretchLabel?: boolean | undefined;
|
|
48
|
+
}>, {
|
|
49
|
+
textDirection: string;
|
|
50
|
+
stretchLabel: boolean;
|
|
51
|
+
}>>> & {
|
|
52
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
53
|
+
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
54
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
55
|
+
change: (value: string | boolean) => void;
|
|
56
|
+
} & {
|
|
57
|
+
"update:checked": (value: boolean) => void;
|
|
58
|
+
}, string, {
|
|
59
|
+
textDirection: 'left' | 'right';
|
|
60
|
+
stretchLabel: boolean;
|
|
61
|
+
}> & {
|
|
62
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
70
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
75
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
76
|
+
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;
|
|
77
|
+
};
|
|
78
|
+
$forceUpdate: () => void;
|
|
79
|
+
$nextTick: typeof import("vue").nextTick;
|
|
80
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
81
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
82
|
+
id: string;
|
|
83
|
+
name: string;
|
|
84
|
+
value?: string | undefined;
|
|
85
|
+
label: string;
|
|
86
|
+
checked?: boolean | undefined;
|
|
87
|
+
class?: string | Record<string, boolean> | undefined;
|
|
88
|
+
textDirection?: "left" | "right" | undefined;
|
|
89
|
+
hideLabel?: boolean | undefined;
|
|
90
|
+
stretchLabel?: boolean | undefined;
|
|
91
|
+
}>, {
|
|
92
|
+
textDirection: string;
|
|
93
|
+
stretchLabel: boolean;
|
|
94
|
+
}>>> & {
|
|
95
|
+
onChange?: ((value: string | boolean) => any) | undefined;
|
|
96
|
+
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
97
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
98
|
+
__isFragment?: undefined;
|
|
99
|
+
__isTeleport?: undefined;
|
|
100
|
+
__isSuspense?: undefined;
|
|
101
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
102
|
id: string;
|
|
20
103
|
name: string;
|
|
21
104
|
value?: string | undefined;
|
|
@@ -31,10 +114,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
31
114
|
}>>> & {
|
|
32
115
|
onChange?: ((value: string | boolean) => any) | undefined;
|
|
33
116
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
34
|
-
}, {
|
|
117
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
118
|
+
change: (value: string | boolean) => void;
|
|
119
|
+
} & {
|
|
120
|
+
"update:checked": (value: boolean) => void;
|
|
121
|
+
}, string, {
|
|
35
122
|
textDirection: 'left' | 'right';
|
|
36
123
|
stretchLabel: boolean;
|
|
37
|
-
}
|
|
124
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
38
125
|
export default _default;
|
|
39
126
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
127
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -5,8 +5,8 @@ declare const _default: {
|
|
|
5
5
|
$props: Partial<{
|
|
6
6
|
text: string;
|
|
7
7
|
type: 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
|
|
8
|
-
size: 'small' | 'medium';
|
|
9
8
|
variant: 'fill' | 'outline';
|
|
9
|
+
size: 'small' | 'medium';
|
|
10
10
|
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
11
|
id: string;
|
|
12
12
|
text?: string | undefined;
|
|
@@ -18,7 +18,7 @@ declare const _default: {
|
|
|
18
18
|
variant: string;
|
|
19
19
|
size: string;
|
|
20
20
|
type: string;
|
|
21
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "type" | "
|
|
21
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "text" | "type" | "variant" | "size">;
|
|
22
22
|
$attrs: {
|
|
23
23
|
[x: string]: unknown;
|
|
24
24
|
};
|
|
@@ -46,8 +46,8 @@ declare const _default: {
|
|
|
46
46
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
47
47
|
text: string;
|
|
48
48
|
type: 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
|
|
49
|
-
size: 'small' | 'medium';
|
|
50
49
|
variant: 'fill' | 'outline';
|
|
50
|
+
size: 'small' | 'medium';
|
|
51
51
|
}> & {
|
|
52
52
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
53
53
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -97,8 +97,8 @@ declare const _default: {
|
|
|
97
97
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
98
98
|
text: string;
|
|
99
99
|
type: 'positive' | 'warning' | 'negative' | 'informative' | 'neutral';
|
|
100
|
-
size: 'small' | 'medium';
|
|
101
100
|
variant: 'fill' | 'outline';
|
|
101
|
+
size: 'small' | 'medium';
|
|
102
102
|
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
103
103
|
$slots: {
|
|
104
104
|
default: (_: {}) => any;
|