@solfacil/girassol 0.1.9 → 0.2.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.
Files changed (87) hide show
  1. package/cli/bin/{girassol → girassol-cli} +0 -0
  2. package/cli/build/cli.js +68 -0
  3. package/cli/build/commands/create:component.js +124 -0
  4. package/cli/build/commands/generate:plugin.js +89 -0
  5. package/cli/build/commands/generate:types.js +76 -0
  6. package/cli/build/commands/girassol-cli.js +52 -0
  7. package/cli/build/extensions/cli-extension.js +17 -0
  8. package/cli/build/templates/components.d.ts.ejs +1 -0
  9. package/cli/build/templates/nuxt-plugin.ejs +8 -0
  10. package/cli/build/templates/vue-plugin.ejs +5 -0
  11. package/cli/{src → build}/templates/windi.config.ts.ejs +0 -0
  12. package/cli/build/types/cli.d.ts +1 -0
  13. package/cli/build/types/commands/create:component.d.ts +1 -0
  14. package/cli/build/types/commands/generate:plugin.d.ts +1 -0
  15. package/cli/build/types/commands/generate:types.d.ts +7 -0
  16. package/cli/build/types/commands/girassol-cli.d.ts +1 -0
  17. package/cli/build/types/extensions/cli-extension.d.ts +1 -0
  18. package/cli/build/types/types.d.ts +0 -0
  19. package/cli/build/types.js +2 -0
  20. package/dist/README.md.d.ts +2 -0
  21. package/dist/cli/readme.md.d.ts +2 -0
  22. package/dist/cli/src/cli.d.ts +1 -0
  23. package/dist/cli/src/commands/create:component.d.ts +1 -0
  24. package/dist/cli/src/commands/generate:plugin.d.ts +1 -0
  25. package/dist/cli/src/commands/generate:types.d.ts +7 -0
  26. package/dist/cli/src/commands/girassol-cli.d.ts +1 -0
  27. package/dist/cli/src/extensions/cli-extension.d.ts +1 -0
  28. package/dist/cli/src/types.d.ts +0 -0
  29. package/dist/components.d.ts +22 -0
  30. package/dist/components.json +1 -0
  31. package/dist/girassol.es.js +611 -261
  32. package/dist/girassol.umd.js +5 -5
  33. package/dist/style.css +1 -1
  34. package/dist/theme/solfacil/colors.d.ts +23 -5
  35. package/dist/theme/solfacil/effects.d.ts +5 -3
  36. package/dist/theme/solfacil/typography.d.ts +1 -2
  37. package/dist/types/components/accordion/Accordion.vue.d.ts +97 -0
  38. package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
  39. package/dist/types/components/accordion/index.d.ts +2 -0
  40. package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
  41. package/dist/types/components/forms/button/Button.vue.d.ts +86 -12
  42. package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
  43. package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
  44. package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
  45. package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
  46. package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
  47. package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
  48. package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
  49. package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
  50. package/dist/types/components/forms/textarea/Textarea.vue.d.ts +108 -19
  51. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +101 -17
  52. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
  53. package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
  54. package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
  55. package/dist/types/composables/use-toast/index.d.ts +1 -1
  56. package/dist/types/index.d.ts +2723 -2
  57. package/dist/vite-modules/generate-component-types.d.ts +3 -0
  58. package/dist/windi.config.d.ts +1 -1
  59. package/package.json +52 -42
  60. package/theme/solfacil/borders.ts +2 -1
  61. package/theme/solfacil/colors.ts +36 -23
  62. package/theme/solfacil/effects.ts +6 -4
  63. package/theme/solfacil/typography.ts +2 -4
  64. package/vite.config.ts +4 -0
  65. package/windi.config.ts +31 -1
  66. package/cli/.eslintrc.js +0 -18
  67. package/cli/LICENSE +0 -21
  68. package/cli/docs/commands.md +0 -3
  69. package/cli/docs/plugins.md +0 -47
  70. package/cli/package.json +0 -53
  71. package/cli/readme.md +0 -26
  72. package/cli/src/cli.ts +0 -25
  73. package/cli/src/commands/create:component.ts +0 -93
  74. package/cli/src/commands/generate:plugin.ts +0 -68
  75. package/cli/src/commands/generate:types.ts +0 -38
  76. package/cli/src/commands/girassol.ts +0 -12
  77. package/cli/src/extensions/cli-extension.ts +0 -17
  78. package/cli/src/templates/components/component.spec.ts.ejs +0 -20
  79. package/cli/src/templates/components/component.stories.mdx.ejs +0 -74
  80. package/cli/src/templates/components/component.vue.ejs +0 -23
  81. package/cli/src/templates/components/index.ts.ejs +0 -10
  82. package/cli/src/templates/components.d.ts.ejs +0 -10
  83. package/cli/src/templates/nuxt-plugin.ejs +0 -7
  84. package/cli/src/templates/vue-plugin.ejs +0 -5
  85. package/cli/src/types.ts +0 -1
  86. package/cli/tsconfig.json +0 -28
  87. package/cli/yarn.lock +0 -1804
@@ -1,42 +1,313 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
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
- multiple?: boolean | undefined;
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
- placeholder: string;
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
- searchable?: boolean | undefined;
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
- "onUpdate:modelValue"?: ((value: string | string[]) => any) | undefined;
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: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- id: string;
3
- name: string;
4
- value: string;
5
- label: string;
6
- checked?: boolean | undefined;
7
- class?: string | Record<string, boolean> | undefined;
8
- hideLabel?: boolean | undefined;
9
- horizontalLabel?: boolean | undefined;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
- change: (value: string) => void;
12
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
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> = {
@@ -1,19 +1,101 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id: string;
3
- class?: string | undefined;
4
- modelValue?: string | undefined;
5
- label?: string | undefined;
6
- hint?: string | undefined;
7
- invert?: boolean | undefined;
8
- resize?: "both" | "horizontal" | "vertical" | "none" | undefined;
9
- error?: string | undefined;
10
- }>, {
11
- modelValue: string;
12
- label: string;
13
- resize: string;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- "update:modelValue": (event: string) => void;
16
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ label: string;
7
+ modelValue: string;
8
+ resize: 'both' | 'horizontal' | 'vertical' | 'none';
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ id: string;
11
+ class?: string | undefined;
12
+ modelValue?: string | undefined;
13
+ label?: string | undefined;
14
+ hint?: string | undefined;
15
+ invert?: boolean | undefined;
16
+ resize?: "both" | "horizontal" | "vertical" | "none" | undefined;
17
+ error?: string | undefined;
18
+ }>, {
19
+ modelValue: string;
20
+ label: string;
21
+ resize: string;
22
+ }>>> & {
23
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
24
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "modelValue" | "resize">;
25
+ $attrs: {
26
+ [x: string]: unknown;
27
+ };
28
+ $refs: {
29
+ [x: string]: unknown;
30
+ };
31
+ $slots: Readonly<{
32
+ [name: string]: import("vue").Slot | undefined;
33
+ }>;
34
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
35
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
36
+ $emit: (event: "update:modelValue", event: string) => void;
37
+ $el: any;
38
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
+ id: string;
40
+ class?: string | undefined;
41
+ modelValue?: string | undefined;
42
+ label?: string | undefined;
43
+ hint?: string | undefined;
44
+ invert?: boolean | undefined;
45
+ resize?: "both" | "horizontal" | "vertical" | "none" | undefined;
46
+ error?: string | undefined;
47
+ }>, {
48
+ modelValue: string;
49
+ label: string;
50
+ resize: string;
51
+ }>>> & {
52
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ "update:modelValue": (event: string) => void;
55
+ }, string, {
56
+ label: string;
57
+ modelValue: string;
58
+ resize: 'both' | 'horizontal' | 'vertical' | 'none';
59
+ }> & {
60
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
61
+ created?: ((() => void) | (() => void)[]) | undefined;
62
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
63
+ mounted?: ((() => void) | (() => void)[]) | undefined;
64
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
65
+ updated?: ((() => void) | (() => void)[]) | undefined;
66
+ activated?: ((() => void) | (() => void)[]) | undefined;
67
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
68
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
69
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
70
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
71
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
72
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
73
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
74
+ 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;
75
+ };
76
+ $forceUpdate: () => void;
77
+ $nextTick: typeof import("vue").nextTick;
78
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
79
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
80
+ id: string;
81
+ class?: string | undefined;
82
+ modelValue?: string | undefined;
83
+ label?: string | undefined;
84
+ hint?: string | undefined;
85
+ invert?: boolean | undefined;
86
+ resize?: "both" | "horizontal" | "vertical" | "none" | undefined;
87
+ error?: string | undefined;
88
+ }>, {
89
+ modelValue: string;
90
+ label: string;
91
+ resize: string;
92
+ }>>> & {
93
+ "onUpdate:modelValue"?: ((event: string) => any) | undefined;
94
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
95
+ __isFragment?: undefined;
96
+ __isTeleport?: undefined;
97
+ __isSuspense?: undefined;
98
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
99
  id: string;
18
100
  class?: string | undefined;
19
101
  modelValue?: string | undefined;
@@ -28,11 +110,18 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
28
110
  resize: string;
29
111
  }>>> & {
30
112
  "onUpdate:modelValue"?: ((event: string) => any) | undefined;
31
- }, {
32
- modelValue: string;
113
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
114
+ "update:modelValue": (event: string) => void;
115
+ }, string, {
33
116
  label: string;
117
+ modelValue: string;
34
118
  resize: 'both' | 'horizontal' | 'vertical' | 'none';
35
- }>;
119
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
120
+ $slots: {
121
+ label: (_: {}) => any;
122
+ default: (_: {}) => any;
123
+ };
124
+ });
36
125
  export default _default;
37
126
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
127
  declare type __VLS_TypePropsToRuntimeProps<T> = {