@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
|
@@ -0,0 +1,149 @@
|
|
|
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
|
+
options: {
|
|
8
|
+
name: string;
|
|
9
|
+
value: string;
|
|
10
|
+
}[];
|
|
11
|
+
multiple?: boolean | undefined;
|
|
12
|
+
isSelected: (option: {
|
|
13
|
+
name: string;
|
|
14
|
+
value: string;
|
|
15
|
+
}) => boolean;
|
|
16
|
+
}>>> & {
|
|
17
|
+
onSelect?: ((option: {
|
|
18
|
+
name: string;
|
|
19
|
+
value: string;
|
|
20
|
+
}) => any) | undefined;
|
|
21
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
22
|
+
$attrs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$refs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import("vue").Slot | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
32
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
33
|
+
$emit: (event: "select", option: {
|
|
34
|
+
name: string;
|
|
35
|
+
value: string;
|
|
36
|
+
}) => void;
|
|
37
|
+
$el: any;
|
|
38
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
+
id: string;
|
|
40
|
+
options: {
|
|
41
|
+
name: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}[];
|
|
44
|
+
multiple?: boolean | undefined;
|
|
45
|
+
isSelected: (option: {
|
|
46
|
+
name: string;
|
|
47
|
+
value: string;
|
|
48
|
+
}) => boolean;
|
|
49
|
+
}>>> & {
|
|
50
|
+
onSelect?: ((option: {
|
|
51
|
+
name: string;
|
|
52
|
+
value: string;
|
|
53
|
+
}) => any) | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
list: import("vue").Ref<string>;
|
|
56
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
57
|
+
select: (option: {
|
|
58
|
+
name: string;
|
|
59
|
+
value: string;
|
|
60
|
+
}) => void;
|
|
61
|
+
}, string, {}> & {
|
|
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_TypePropsToRuntimeProps<{
|
|
82
|
+
id: string;
|
|
83
|
+
options: {
|
|
84
|
+
name: string;
|
|
85
|
+
value: string;
|
|
86
|
+
}[];
|
|
87
|
+
multiple?: boolean | undefined;
|
|
88
|
+
isSelected: (option: {
|
|
89
|
+
name: string;
|
|
90
|
+
value: string;
|
|
91
|
+
}) => boolean;
|
|
92
|
+
}>>> & {
|
|
93
|
+
onSelect?: ((option: {
|
|
94
|
+
name: string;
|
|
95
|
+
value: string;
|
|
96
|
+
}) => any) | undefined;
|
|
97
|
+
} & import("vue").ShallowUnwrapRef<{
|
|
98
|
+
list: import("vue").Ref<string>;
|
|
99
|
+
}> & {} & import("vue").ComponentCustomProperties;
|
|
100
|
+
__isFragment?: undefined;
|
|
101
|
+
__isTeleport?: undefined;
|
|
102
|
+
__isSuspense?: undefined;
|
|
103
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
104
|
+
id: string;
|
|
105
|
+
options: {
|
|
106
|
+
name: string;
|
|
107
|
+
value: string;
|
|
108
|
+
}[];
|
|
109
|
+
multiple?: boolean | undefined;
|
|
110
|
+
isSelected: (option: {
|
|
111
|
+
name: string;
|
|
112
|
+
value: string;
|
|
113
|
+
}) => boolean;
|
|
114
|
+
}>>> & {
|
|
115
|
+
onSelect?: ((option: {
|
|
116
|
+
name: string;
|
|
117
|
+
value: string;
|
|
118
|
+
}) => any) | undefined;
|
|
119
|
+
}, {
|
|
120
|
+
list: import("vue").Ref<string>;
|
|
121
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
122
|
+
select: (option: {
|
|
123
|
+
name: string;
|
|
124
|
+
value: string;
|
|
125
|
+
}) => void;
|
|
126
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
127
|
+
$slots: {
|
|
128
|
+
'item-list': (_: {
|
|
129
|
+
text: string;
|
|
130
|
+
value: string;
|
|
131
|
+
option: {
|
|
132
|
+
name: string;
|
|
133
|
+
value: string;
|
|
134
|
+
};
|
|
135
|
+
isSelected: boolean;
|
|
136
|
+
}) => any;
|
|
137
|
+
'no-data': (_: {}) => any;
|
|
138
|
+
};
|
|
139
|
+
});
|
|
140
|
+
export default _default;
|
|
141
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
142
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
143
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
144
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
145
|
+
} : {
|
|
146
|
+
type: import('vue').PropType<T[K]>;
|
|
147
|
+
required: true;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
@@ -1,42 +1,313 @@
|
|
|
1
|
-
declare const _default:
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
loading: boolean;
|
|
7
|
+
searchable: boolean;
|
|
8
|
+
closeOnSelect: boolean;
|
|
9
|
+
fetchOnSearch: boolean;
|
|
10
|
+
options: {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
placeholder: string;
|
|
15
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
id: string;
|
|
17
|
+
label?: string | undefined;
|
|
18
|
+
ariaLabel?: string | undefined;
|
|
19
|
+
smallerWidth?: boolean | undefined;
|
|
20
|
+
disabled?: boolean | undefined;
|
|
21
|
+
loading?: boolean | undefined;
|
|
22
|
+
searchable?: boolean | undefined;
|
|
23
|
+
closeOnSelect?: boolean | undefined;
|
|
24
|
+
fetchOnSearch?: boolean | undefined;
|
|
25
|
+
multiple?: boolean | undefined;
|
|
26
|
+
searchPlaceholder?: string | undefined;
|
|
27
|
+
selected?: {
|
|
28
|
+
name: string;
|
|
29
|
+
value: string;
|
|
30
|
+
} | {
|
|
31
|
+
name: string;
|
|
32
|
+
value: string;
|
|
33
|
+
}[] | undefined;
|
|
34
|
+
options: {
|
|
35
|
+
name: string;
|
|
36
|
+
value: string;
|
|
37
|
+
}[];
|
|
38
|
+
error?: string | undefined;
|
|
39
|
+
placeholder: string;
|
|
40
|
+
}>, {
|
|
41
|
+
placeholder: string;
|
|
42
|
+
loading: boolean;
|
|
43
|
+
closeOnSelect: boolean;
|
|
44
|
+
fetchOnSearch: boolean;
|
|
45
|
+
searchable: boolean;
|
|
46
|
+
options: () => never[];
|
|
47
|
+
}>>> & {
|
|
48
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
49
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
50
|
+
"onUpdate:selected"?: ((value: {
|
|
51
|
+
name: string;
|
|
52
|
+
value: string;
|
|
53
|
+
} | {
|
|
54
|
+
name: string;
|
|
55
|
+
value: string;
|
|
56
|
+
}[]) => any) | undefined;
|
|
57
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "options" | "placeholder">;
|
|
58
|
+
$attrs: {
|
|
59
|
+
[x: string]: unknown;
|
|
60
|
+
};
|
|
61
|
+
$refs: {
|
|
62
|
+
[x: string]: unknown;
|
|
63
|
+
};
|
|
64
|
+
$slots: Readonly<{
|
|
65
|
+
[name: string]: import("vue").Slot | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
68
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
69
|
+
$emit: ((event: "search", value: string) => void) & ((event: "closeDropdown") => void) & ((event: "update:selected", value: {
|
|
70
|
+
name: string;
|
|
71
|
+
value: string;
|
|
72
|
+
} | {
|
|
73
|
+
name: string;
|
|
74
|
+
value: string;
|
|
75
|
+
}[]) => void);
|
|
76
|
+
$el: any;
|
|
77
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
78
|
+
id: string;
|
|
79
|
+
label?: string | undefined;
|
|
80
|
+
ariaLabel?: string | undefined;
|
|
81
|
+
smallerWidth?: boolean | undefined;
|
|
82
|
+
disabled?: boolean | undefined;
|
|
83
|
+
loading?: boolean | undefined;
|
|
84
|
+
searchable?: boolean | undefined;
|
|
85
|
+
closeOnSelect?: boolean | undefined;
|
|
86
|
+
fetchOnSearch?: boolean | undefined;
|
|
87
|
+
multiple?: boolean | undefined;
|
|
88
|
+
searchPlaceholder?: string | undefined;
|
|
89
|
+
selected?: {
|
|
90
|
+
name: string;
|
|
91
|
+
value: string;
|
|
92
|
+
} | {
|
|
93
|
+
name: string;
|
|
94
|
+
value: string;
|
|
95
|
+
}[] | undefined;
|
|
96
|
+
options: {
|
|
97
|
+
name: string;
|
|
98
|
+
value: string;
|
|
99
|
+
}[];
|
|
100
|
+
error?: string | undefined;
|
|
101
|
+
placeholder: string;
|
|
102
|
+
}>, {
|
|
103
|
+
placeholder: string;
|
|
104
|
+
loading: boolean;
|
|
105
|
+
closeOnSelect: boolean;
|
|
106
|
+
fetchOnSearch: boolean;
|
|
107
|
+
searchable: boolean;
|
|
108
|
+
options: () => never[];
|
|
109
|
+
}>>> & {
|
|
110
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
111
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
112
|
+
"onUpdate:selected"?: ((value: {
|
|
113
|
+
name: string;
|
|
114
|
+
value: string;
|
|
115
|
+
} | {
|
|
116
|
+
name: string;
|
|
117
|
+
value: string;
|
|
118
|
+
}[]) => any) | undefined;
|
|
119
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
120
|
+
closeDropdown: () => void;
|
|
121
|
+
} & {
|
|
122
|
+
search: (value: string) => void;
|
|
123
|
+
} & {
|
|
124
|
+
"update:selected": (value: {
|
|
125
|
+
name: string;
|
|
126
|
+
value: string;
|
|
127
|
+
} | {
|
|
128
|
+
name: string;
|
|
129
|
+
value: string;
|
|
130
|
+
}[]) => void;
|
|
131
|
+
}, string, {
|
|
132
|
+
loading: boolean;
|
|
133
|
+
searchable: boolean;
|
|
134
|
+
closeOnSelect: boolean;
|
|
135
|
+
fetchOnSearch: boolean;
|
|
136
|
+
options: {
|
|
137
|
+
name: string;
|
|
138
|
+
value: string;
|
|
139
|
+
}[];
|
|
140
|
+
placeholder: string;
|
|
141
|
+
}> & {
|
|
142
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
143
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
144
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
145
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
146
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
147
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
148
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
149
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
150
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
151
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
152
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
153
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
154
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
155
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
156
|
+
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;
|
|
157
|
+
};
|
|
158
|
+
$forceUpdate: () => void;
|
|
159
|
+
$nextTick: typeof import("vue").nextTick;
|
|
160
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
161
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
162
|
+
id: string;
|
|
163
|
+
label?: string | undefined;
|
|
164
|
+
ariaLabel?: string | undefined;
|
|
165
|
+
smallerWidth?: boolean | undefined;
|
|
166
|
+
disabled?: boolean | undefined;
|
|
167
|
+
loading?: boolean | undefined;
|
|
168
|
+
searchable?: boolean | undefined;
|
|
169
|
+
closeOnSelect?: boolean | undefined;
|
|
170
|
+
fetchOnSearch?: boolean | undefined;
|
|
171
|
+
multiple?: boolean | undefined;
|
|
172
|
+
searchPlaceholder?: string | undefined;
|
|
173
|
+
selected?: {
|
|
174
|
+
name: string;
|
|
175
|
+
value: string;
|
|
176
|
+
} | {
|
|
177
|
+
name: string;
|
|
178
|
+
value: string;
|
|
179
|
+
}[] | undefined;
|
|
180
|
+
options: {
|
|
181
|
+
name: string;
|
|
182
|
+
value: string;
|
|
183
|
+
}[];
|
|
184
|
+
error?: string | undefined;
|
|
185
|
+
placeholder: string;
|
|
186
|
+
}>, {
|
|
187
|
+
placeholder: string;
|
|
188
|
+
loading: boolean;
|
|
189
|
+
closeOnSelect: boolean;
|
|
190
|
+
fetchOnSearch: boolean;
|
|
191
|
+
searchable: boolean;
|
|
192
|
+
options: () => never[];
|
|
193
|
+
}>>> & {
|
|
194
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
195
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
196
|
+
"onUpdate:selected"?: ((value: {
|
|
197
|
+
name: string;
|
|
198
|
+
value: string;
|
|
199
|
+
} | {
|
|
200
|
+
name: string;
|
|
201
|
+
value: string;
|
|
202
|
+
}[]) => any) | undefined;
|
|
203
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
204
|
+
__isFragment?: undefined;
|
|
205
|
+
__isTeleport?: undefined;
|
|
206
|
+
__isSuspense?: undefined;
|
|
207
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
208
|
id: string;
|
|
3
|
-
options: any;
|
|
4
209
|
label?: string | undefined;
|
|
5
210
|
ariaLabel?: string | undefined;
|
|
6
211
|
smallerWidth?: boolean | undefined;
|
|
7
212
|
disabled?: boolean | undefined;
|
|
8
|
-
|
|
9
|
-
modelValue: string | string[];
|
|
10
|
-
error?: string | undefined;
|
|
11
|
-
fetchOnApi?: boolean | undefined;
|
|
12
|
-
placeholder?: string | undefined;
|
|
13
|
-
searchPlaceholder?: string | undefined;
|
|
213
|
+
loading?: boolean | undefined;
|
|
14
214
|
searchable?: boolean | undefined;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
-
"update:modelValue": (value: string | string[]) => void;
|
|
19
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
-
id: string;
|
|
21
|
-
options: any;
|
|
22
|
-
label?: string | undefined;
|
|
23
|
-
ariaLabel?: string | undefined;
|
|
24
|
-
smallerWidth?: boolean | undefined;
|
|
25
|
-
disabled?: boolean | undefined;
|
|
215
|
+
closeOnSelect?: boolean | undefined;
|
|
216
|
+
fetchOnSearch?: boolean | undefined;
|
|
26
217
|
multiple?: boolean | undefined;
|
|
27
|
-
modelValue: string | string[];
|
|
28
|
-
error?: string | undefined;
|
|
29
|
-
fetchOnApi?: boolean | undefined;
|
|
30
|
-
placeholder?: string | undefined;
|
|
31
218
|
searchPlaceholder?: string | undefined;
|
|
32
|
-
|
|
219
|
+
selected?: {
|
|
220
|
+
name: string;
|
|
221
|
+
value: string;
|
|
222
|
+
} | {
|
|
223
|
+
name: string;
|
|
224
|
+
value: string;
|
|
225
|
+
}[] | undefined;
|
|
226
|
+
options: {
|
|
227
|
+
name: string;
|
|
228
|
+
value: string;
|
|
229
|
+
}[];
|
|
230
|
+
error?: string | undefined;
|
|
231
|
+
placeholder: string;
|
|
33
232
|
}>, {
|
|
34
233
|
placeholder: string;
|
|
234
|
+
loading: boolean;
|
|
235
|
+
closeOnSelect: boolean;
|
|
236
|
+
fetchOnSearch: boolean;
|
|
237
|
+
searchable: boolean;
|
|
238
|
+
options: () => never[];
|
|
35
239
|
}>>> & {
|
|
36
|
-
|
|
37
|
-
|
|
240
|
+
onSearch?: ((value: string) => any) | undefined;
|
|
241
|
+
onCloseDropdown?: (() => any) | undefined;
|
|
242
|
+
"onUpdate:selected"?: ((value: {
|
|
243
|
+
name: string;
|
|
244
|
+
value: string;
|
|
245
|
+
} | {
|
|
246
|
+
name: string;
|
|
247
|
+
value: string;
|
|
248
|
+
}[]) => any) | undefined;
|
|
249
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
250
|
+
closeDropdown: () => void;
|
|
251
|
+
} & {
|
|
252
|
+
search: (value: string) => void;
|
|
253
|
+
} & {
|
|
254
|
+
"update:selected": (value: {
|
|
255
|
+
name: string;
|
|
256
|
+
value: string;
|
|
257
|
+
} | {
|
|
258
|
+
name: string;
|
|
259
|
+
value: string;
|
|
260
|
+
}[]) => void;
|
|
261
|
+
}, string, {
|
|
262
|
+
loading: boolean;
|
|
263
|
+
searchable: boolean;
|
|
264
|
+
closeOnSelect: boolean;
|
|
265
|
+
fetchOnSearch: boolean;
|
|
266
|
+
options: {
|
|
267
|
+
name: string;
|
|
268
|
+
value: string;
|
|
269
|
+
}[];
|
|
38
270
|
placeholder: string;
|
|
39
|
-
}
|
|
271
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
272
|
+
$slots: {
|
|
273
|
+
label: (_: {
|
|
274
|
+
id: string;
|
|
275
|
+
for: string;
|
|
276
|
+
}) => any;
|
|
277
|
+
'toggle-dropdown': (_: {
|
|
278
|
+
toggle: {
|
|
279
|
+
open: () => void;
|
|
280
|
+
close: () => void;
|
|
281
|
+
toggleDropdown: () => void;
|
|
282
|
+
};
|
|
283
|
+
isOpen: boolean;
|
|
284
|
+
select: (selected: {
|
|
285
|
+
name: string;
|
|
286
|
+
value: string;
|
|
287
|
+
}) => void;
|
|
288
|
+
selected: {
|
|
289
|
+
name: string;
|
|
290
|
+
value: string;
|
|
291
|
+
} | {
|
|
292
|
+
name: string;
|
|
293
|
+
value: string;
|
|
294
|
+
}[] | undefined;
|
|
295
|
+
}) => any;
|
|
296
|
+
search: (_: {
|
|
297
|
+
filter: string;
|
|
298
|
+
}) => any;
|
|
299
|
+
default: (_: {
|
|
300
|
+
text: string;
|
|
301
|
+
value: string;
|
|
302
|
+
option: {
|
|
303
|
+
name: string;
|
|
304
|
+
value: string;
|
|
305
|
+
};
|
|
306
|
+
isSelected: boolean;
|
|
307
|
+
}) => any;
|
|
308
|
+
'no-data': (_: {}) => any;
|
|
309
|
+
};
|
|
310
|
+
});
|
|
40
311
|
export default _default;
|
|
41
312
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
313
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,15 +1,81 @@
|
|
|
1
|
-
declare const _default:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
name: string;
|
|
8
|
+
value: string;
|
|
9
|
+
label: string;
|
|
10
|
+
checked?: boolean | undefined;
|
|
11
|
+
class?: string | Record<string, boolean> | undefined;
|
|
12
|
+
hideLabel?: boolean | undefined;
|
|
13
|
+
horizontalLabel?: boolean | undefined;
|
|
14
|
+
}>>> & {
|
|
15
|
+
onChange?: ((value: string) => 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: string) => void;
|
|
29
|
+
$el: any;
|
|
30
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
value: string;
|
|
34
|
+
label: string;
|
|
35
|
+
checked?: boolean | undefined;
|
|
36
|
+
class?: string | Record<string, boolean> | undefined;
|
|
37
|
+
hideLabel?: boolean | undefined;
|
|
38
|
+
horizontalLabel?: boolean | undefined;
|
|
39
|
+
}>>> & {
|
|
40
|
+
onChange?: ((value: string) => any) | undefined;
|
|
41
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
change: (value: string) => void;
|
|
43
|
+
}, string, {}> & {
|
|
44
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
+
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;
|
|
59
|
+
};
|
|
60
|
+
$forceUpdate: () => void;
|
|
61
|
+
$nextTick: typeof import("vue").nextTick;
|
|
62
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
63
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
64
|
+
id: string;
|
|
65
|
+
name: string;
|
|
66
|
+
value: string;
|
|
67
|
+
label: string;
|
|
68
|
+
checked?: boolean | undefined;
|
|
69
|
+
class?: string | Record<string, boolean> | undefined;
|
|
70
|
+
hideLabel?: boolean | undefined;
|
|
71
|
+
horizontalLabel?: boolean | undefined;
|
|
72
|
+
}>>> & {
|
|
73
|
+
onChange?: ((value: string) => any) | undefined;
|
|
74
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
75
|
+
__isFragment?: undefined;
|
|
76
|
+
__isTeleport?: undefined;
|
|
77
|
+
__isSuspense?: undefined;
|
|
78
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
79
|
id: string;
|
|
14
80
|
name: string;
|
|
15
81
|
value: string;
|
|
@@ -20,7 +86,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
20
86
|
horizontalLabel?: boolean | undefined;
|
|
21
87
|
}>>> & {
|
|
22
88
|
onChange?: ((value: string) => any) | undefined;
|
|
23
|
-
}, {}
|
|
89
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
90
|
+
change: (value: string) => void;
|
|
91
|
+
}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
92
|
+
$slots: {};
|
|
93
|
+
});
|
|
24
94
|
export default _default;
|
|
25
95
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
96
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|