@solfacil/girassol 0.3.1 → 0.3.4

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 (55) hide show
  1. package/.vscode/settings.json +1 -0
  2. package/dist/components.d.ts +3 -5
  3. package/dist/components.json +1 -1
  4. package/dist/girassol.es.js +3371 -1299
  5. package/dist/girassol.umd.js +14 -6
  6. package/dist/style.css +1 -1
  7. package/dist/theme/solfacil/index.d.ts +1 -0
  8. package/dist/theme/solfacil/utilities.d.ts +1 -0
  9. package/dist/types/components/accordion/Accordion.vue.d.ts +2 -2
  10. package/dist/types/components/forms/button/button/Button.vue.d.ts +2 -2
  11. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +2 -2
  12. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +12 -80
  13. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +55 -16
  14. package/dist/types/components/forms/inputs/index.d.ts +4 -0
  15. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +44 -0
  16. package/dist/types/components/forms/{input → inputs/input-core}/input.spec.d.ts +0 -0
  17. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +58 -0
  18. package/dist/types/components/{dropdown/dropdown.spec.d.ts → forms/inputs/input-password/input-password.spec.d.ts} +0 -0
  19. package/dist/types/components/forms/{textarea/Textarea.vue.d.ts → inputs/input-text/InputText.vue.d.ts} +92 -52
  20. package/dist/types/components/forms/{textarea/textarea.spec.d.ts → inputs/input-text/input-text.spec.d.ts} +0 -0
  21. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +70 -0
  22. package/dist/types/components/forms/{textfield/textfield-password.spec.d.ts → inputs/input-textarea/textarea.spec.d.ts} +0 -0
  23. package/dist/types/components/forms/inputs/types.d.ts +24 -0
  24. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +11 -77
  25. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +53 -14
  26. package/dist/types/components/forms/select/ListOption.vue.d.ts +4 -9
  27. package/dist/types/components/forms/select/Select.vue.d.ts +139 -184
  28. package/dist/types/components/forms/select/types.d.ts +23 -0
  29. package/dist/types/components/forms/switch/Switch.vue.d.ts +18 -102
  30. package/dist/types/components/informations/chip/Chip.vue.d.ts +5 -5
  31. package/dist/types/components/loader/CircleLoader.vue.d.ts +15 -68
  32. package/dist/types/components/menus/menu/Menu.vue.d.ts +2 -2
  33. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +2 -2
  34. package/dist/types/composables/use-mask/index.d.ts +18 -0
  35. package/dist/types/composables/use-toast/Toast.vue.d.ts +2 -2
  36. package/dist/types/composables/use-validate-field/index.d.ts +5 -0
  37. package/dist/types/composables/use-validate-field/types.d.ts +22 -0
  38. package/dist/types/index.d.ts +1183 -1730
  39. package/package.json +7 -5
  40. package/theme/solfacil/colors.ts +1 -1
  41. package/theme/solfacil/index.ts +2 -1
  42. package/theme/solfacil/utilities.ts +27 -0
  43. package/windi.config.ts +12 -11
  44. package/dist/README.md.d.ts +0 -2
  45. package/dist/cli/readme.md.d.ts +0 -2
  46. package/dist/theme/safelist.d.ts +0 -14
  47. package/dist/types/components/dropdown/Dropdown.vue.d.ts +0 -238
  48. package/dist/types/components/dropdown/index.d.ts +0 -2
  49. package/dist/types/components/forms/input/Input.vue.d.ts +0 -93
  50. package/dist/types/components/forms/input/index.d.ts +0 -2
  51. package/dist/types/components/forms/textarea/index.d.ts +0 -2
  52. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +0 -129
  53. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +0 -93
  54. package/dist/types/components/forms/textfield/index.d.ts +0 -3
  55. package/dist/types/components/forms/textfield/textfield.spec.d.ts +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solfacil/girassol",
3
3
  "description": "Girassol design system",
4
- "version": "0.3.1",
4
+ "version": "0.3.4",
5
5
  "authors": [
6
6
  {
7
7
  "name": "Kevin Martin",
@@ -10,7 +10,7 @@
10
10
  }
11
11
  ],
12
12
  "engines": {
13
- "node": "^16.10"
13
+ "node": "^16.17"
14
14
  },
15
15
  "files": [
16
16
  ".vscode",
@@ -59,7 +59,9 @@
59
59
  "dependencies": {
60
60
  "@vueuse/core": "^9.1.0",
61
61
  "gluegun": "latest",
62
- "vue": "^3.2.37"
62
+ "maska": "^1.5.0",
63
+ "vee-validate": "^4.6.6",
64
+ "vue": "^3.2.39"
63
65
  },
64
66
  "devDependencies": {
65
67
  "@antfu/eslint-config": "^0.26.1",
@@ -67,7 +69,7 @@
67
69
  "@babel/preset-env": "^7.18.10",
68
70
  "@commitlint/cli": "^17.0.3",
69
71
  "@commitlint/config-conventional": "^17.0.3",
70
- "@iconify/json": "^2.1.89",
72
+ "@iconify/json": "^2.1.101",
71
73
  "@storybook/addon-a11y": "^6.5.10",
72
74
  "@storybook/addon-actions": "^6.5.10",
73
75
  "@storybook/addon-essentials": "^6.5.10",
@@ -112,7 +114,7 @@
112
114
  "vite": "^3.0.9",
113
115
  "vite-plugin-inspect": "^0.6.0",
114
116
  "vite-plugin-windicss": "^1.8.7",
115
- "vitest": "^0.22.1",
117
+ "vitest": "^0.23.2",
116
118
  "vue-loader": "^17.0.0",
117
119
  "vue-tsc": "^0.40.1",
118
120
  "windicss": "^3.5.6"
@@ -50,7 +50,7 @@ export default {
50
50
  dark: '#664800',
51
51
  },
52
52
  informative: {
53
- pure: '#1976D2',
53
+ pure: '#176EC4',
54
54
  light: '#D1E4F6',
55
55
  medium: '#8CBAE8',
56
56
  dark: '#0A2F54',
@@ -6,7 +6,7 @@ import effects from './effects'
6
6
  import misc from './miscs'
7
7
 
8
8
  import { screens } from './screens'
9
- import { componentTypos, debug, maxLines, outlinesForFocus, placeholder } from './utilities'
9
+ import { componentTypos, debug, maxLines, outlinesForFocus, placeholder, scrollbarBase } from './utilities'
10
10
 
11
11
 
12
12
  export {
@@ -25,4 +25,5 @@ export const utilities = {
25
25
  maxLines,
26
26
  debug,
27
27
  placeholder,
28
+ scrollbarBase,
28
29
  }
@@ -302,4 +302,31 @@ export const placeholder = plugin(({ addUtilities, theme }) => {
302
302
 
303
303
  '.placeholder-inline': placeholderSettings,
304
304
  })
305
+ })
306
+
307
+ export const scrollbarBase = plugin(({ addBase }) => {
308
+ addBase({
309
+ '::-webkit-scrollbar': {
310
+ width: '12px',
311
+ },
312
+
313
+ '::-webkit-scrollbar-track ': {
314
+ 'box-shadow': 'inset 0 0 14px 14px rgb(240 240 240 / 64%)',
315
+ 'border-color': 'rgba(240, 240, 240, 0.64)',
316
+ 'border-style': 'solid',
317
+ 'border-width': '4px',
318
+ },
319
+
320
+ '::-webkit-scrollbar-thumb': {
321
+ 'box-shadow': 'inset 0 0 14px 14px #222222',
322
+ 'border-color': 'transparent',
323
+ 'border-radius': '0.5rem',
324
+ 'border-style': 'solid',
325
+ 'border-width': '4px',
326
+ },
327
+
328
+ '::-webkit-scrollbar-button': {
329
+ 'display': 'none',
330
+ },
331
+ })
305
332
  })
package/windi.config.ts CHANGED
@@ -4,9 +4,9 @@ import typography from 'windicss/plugin/typography'
4
4
 
5
5
  import { borders, colors, effects, misc, screens, spacing, typography as typos, utilities } from './theme/solfacil/'
6
6
 
7
- import { sizings } from './theme/solfacil/spacing'
7
+ // import { sizings } from './theme/solfacil/spacing'
8
8
 
9
- import { safelist } from './theme/safelist'
9
+ // import { safelist } from './theme/safelist'
10
10
 
11
11
  export default defineConfig({
12
12
  darkMode: 'class',
@@ -15,15 +15,15 @@ export default defineConfig({
15
15
  include: ['index.html', 'src/**/*', '*.mdx', '*.vue'],
16
16
  },
17
17
 
18
- safelist: [
19
- ...safelist({
20
- activeSafeList: true,
21
- data: {
22
- colors,
23
- spacing: sizings,
24
- },
25
- }),
26
- ],
18
+ // safelist: [
19
+ // ...safelist({
20
+ // activeSafeList: true,
21
+ // data: {
22
+ // colors,
23
+ // spacing: sizings,
24
+ // },
25
+ // }),
26
+ // ],
27
27
 
28
28
  plugins: [
29
29
  typography(),
@@ -32,6 +32,7 @@ export default defineConfig({
32
32
  utilities.debug,
33
33
  utilities.placeholder,
34
34
  utilities.componentTypos,
35
+ utilities.scrollbarBase,
35
36
  ],
36
37
 
37
38
  theme: {
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: any;
2
- export default _default;
@@ -1,14 +0,0 @@
1
- declare type Data = {
2
- colors: Record<string, any>;
3
- spacing: Record<string, any>;
4
- };
5
- declare type Args = {
6
- activeSafeList: boolean;
7
- data: Data;
8
- };
9
- export declare function safelist({ activeSafeList, data }: Args): string[];
10
- export declare function safelistColors(colors: Data['colors']): string[];
11
- export declare function safelistElementColors(colorsNames: string[]): string[];
12
- export declare function safelistSpacing(spacing: Data['spacing']): string[];
13
- export declare function range(size: number, startAt?: number): number[];
14
- export {};
@@ -1,238 +0,0 @@
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: (string | {
11
- name: string;
12
- value: string;
13
- })[];
14
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
15
- id: string;
16
- label?: string | undefined;
17
- ariaLabel?: string | undefined;
18
- smallerWidth?: boolean | undefined;
19
- disabled?: boolean | undefined;
20
- loading?: boolean | undefined;
21
- searchable?: boolean | undefined;
22
- closeOnSelect?: boolean | undefined;
23
- fetchOnSearch?: boolean | undefined;
24
- isMultipleSelect?: boolean | undefined;
25
- searchPlaceholder?: string | undefined;
26
- selected?: string | string[] | undefined;
27
- options: (string | {
28
- name: string;
29
- value: string;
30
- })[];
31
- }>, {
32
- loading: boolean;
33
- closeOnSelect: boolean;
34
- fetchOnSearch: boolean;
35
- searchable: boolean;
36
- options: () => never[];
37
- }>>> & {
38
- onSearch?: ((value: string) => any) | undefined;
39
- onCloseDropdown?: (() => any) | undefined;
40
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
41
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "loading" | "searchable" | "closeOnSelect" | "fetchOnSearch" | "options">;
42
- $attrs: {
43
- [x: string]: unknown;
44
- };
45
- $refs: {
46
- [x: string]: unknown;
47
- };
48
- $slots: Readonly<{
49
- [name: string]: import("vue").Slot | undefined;
50
- }>;
51
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
52
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
53
- $emit: ((event: "search", value: string) => void) & ((event: "closeDropdown") => void) & ((event: "update:selected", value: string | string[]) => void);
54
- $el: any;
55
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
56
- id: string;
57
- label?: string | undefined;
58
- ariaLabel?: string | undefined;
59
- smallerWidth?: boolean | undefined;
60
- disabled?: boolean | undefined;
61
- loading?: boolean | undefined;
62
- searchable?: boolean | undefined;
63
- closeOnSelect?: boolean | undefined;
64
- fetchOnSearch?: boolean | undefined;
65
- isMultipleSelect?: boolean | undefined;
66
- searchPlaceholder?: string | undefined;
67
- selected?: string | string[] | undefined;
68
- options: (string | {
69
- name: string;
70
- value: string;
71
- })[];
72
- }>, {
73
- loading: boolean;
74
- closeOnSelect: boolean;
75
- fetchOnSearch: boolean;
76
- searchable: boolean;
77
- options: () => never[];
78
- }>>> & {
79
- onSearch?: ((value: string) => any) | undefined;
80
- onCloseDropdown?: (() => any) | undefined;
81
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
82
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
- closeDropdown: () => void;
84
- } & {
85
- search: (value: string) => void;
86
- } & {
87
- "update:selected": (value: string | string[]) => void;
88
- }, string, {
89
- loading: boolean;
90
- searchable: boolean;
91
- closeOnSelect: boolean;
92
- fetchOnSearch: boolean;
93
- options: (string | {
94
- name: string;
95
- value: string;
96
- })[];
97
- }> & {
98
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
99
- created?: ((() => void) | (() => void)[]) | undefined;
100
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
101
- mounted?: ((() => void) | (() => void)[]) | undefined;
102
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
103
- updated?: ((() => void) | (() => void)[]) | undefined;
104
- activated?: ((() => void) | (() => void)[]) | undefined;
105
- deactivated?: ((() => void) | (() => void)[]) | undefined;
106
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
107
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
108
- destroyed?: ((() => void) | (() => void)[]) | undefined;
109
- unmounted?: ((() => void) | (() => void)[]) | undefined;
110
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
111
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
112
- 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;
113
- };
114
- $forceUpdate: () => void;
115
- $nextTick: typeof import("vue").nextTick;
116
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
117
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
118
- id: string;
119
- label?: string | undefined;
120
- ariaLabel?: string | undefined;
121
- smallerWidth?: boolean | undefined;
122
- disabled?: boolean | undefined;
123
- loading?: boolean | undefined;
124
- searchable?: boolean | undefined;
125
- closeOnSelect?: boolean | undefined;
126
- fetchOnSearch?: boolean | undefined;
127
- isMultipleSelect?: boolean | undefined;
128
- searchPlaceholder?: string | undefined;
129
- selected?: string | string[] | undefined;
130
- options: (string | {
131
- name: string;
132
- value: string;
133
- })[];
134
- }>, {
135
- loading: boolean;
136
- closeOnSelect: boolean;
137
- fetchOnSearch: boolean;
138
- searchable: boolean;
139
- options: () => never[];
140
- }>>> & {
141
- onSearch?: ((value: string) => any) | undefined;
142
- onCloseDropdown?: (() => any) | undefined;
143
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
144
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
145
- __isFragment?: undefined;
146
- __isTeleport?: undefined;
147
- __isSuspense?: undefined;
148
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
149
- id: string;
150
- label?: string | undefined;
151
- ariaLabel?: string | undefined;
152
- smallerWidth?: boolean | undefined;
153
- disabled?: boolean | undefined;
154
- loading?: boolean | undefined;
155
- searchable?: boolean | undefined;
156
- closeOnSelect?: boolean | undefined;
157
- fetchOnSearch?: boolean | undefined;
158
- isMultipleSelect?: boolean | undefined;
159
- searchPlaceholder?: string | undefined;
160
- selected?: string | string[] | undefined;
161
- options: (string | {
162
- name: string;
163
- value: string;
164
- })[];
165
- }>, {
166
- loading: boolean;
167
- closeOnSelect: boolean;
168
- fetchOnSearch: boolean;
169
- searchable: boolean;
170
- options: () => never[];
171
- }>>> & {
172
- onSearch?: ((value: string) => any) | undefined;
173
- onCloseDropdown?: (() => any) | undefined;
174
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
175
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
176
- closeDropdown: () => void;
177
- } & {
178
- search: (value: string) => void;
179
- } & {
180
- "update:selected": (value: string | string[]) => void;
181
- }, string, {
182
- loading: boolean;
183
- searchable: boolean;
184
- closeOnSelect: boolean;
185
- fetchOnSearch: boolean;
186
- options: (string | {
187
- name: string;
188
- value: string;
189
- })[];
190
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
191
- $slots: {
192
- label: (_: {}) => any;
193
- 'toggle-dropdown': (_: {
194
- toggle: {
195
- open: () => void;
196
- close: () => void;
197
- toggleDropdown: () => void;
198
- };
199
- isOpen: boolean;
200
- select: (selected: string | {
201
- name: string;
202
- value: string;
203
- }) => void;
204
- selectedSanitized: string | undefined;
205
- selected: string | string[] | undefined;
206
- }) => any;
207
- search: (_: {
208
- filter: string;
209
- }) => any;
210
- default: (_: {
211
- text: string;
212
- option: string | {
213
- name: string;
214
- value: string;
215
- };
216
- isSelect: (option: string | {
217
- name: string;
218
- value: string;
219
- }) => boolean;
220
- }) => any;
221
- 'no-data': (_: {}) => any;
222
- };
223
- });
224
- export default _default;
225
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
226
- declare type __VLS_TypePropsToRuntimeProps<T> = {
227
- [K in keyof T]-?: {} extends Pick<T, K> ? {
228
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
229
- } : {
230
- type: import('vue').PropType<T[K]>;
231
- required: true;
232
- };
233
- };
234
- declare type __VLS_WithDefaults<P, D> = {
235
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
236
- default: D[K];
237
- } : P[K];
238
- };
@@ -1,2 +0,0 @@
1
- import SolDropdown from './Dropdown.vue';
2
- export { SolDropdown, };
@@ -1,93 +0,0 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- id: string;
7
- modelValue: string | number;
8
- invert?: boolean | undefined;
9
- error?: boolean | undefined;
10
- }>>> & {
11
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
12
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
13
- $attrs: {
14
- [x: string]: unknown;
15
- };
16
- $refs: {
17
- [x: string]: unknown;
18
- };
19
- $slots: Readonly<{
20
- [name: string]: import("vue").Slot | undefined;
21
- }>;
22
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
23
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
24
- $emit: (event: "update:modelValue", event: string) => void;
25
- $el: any;
26
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
27
- id: string;
28
- modelValue: string | number;
29
- invert?: boolean | undefined;
30
- error?: boolean | undefined;
31
- }>>> & {
32
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
33
- }, {
34
- input: import("vue").Ref<string>;
35
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
- "update:modelValue": (event: string) => void;
37
- }, string, {}> & {
38
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
39
- created?: ((() => void) | (() => void)[]) | undefined;
40
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
41
- mounted?: ((() => void) | (() => void)[]) | undefined;
42
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
43
- updated?: ((() => void) | (() => void)[]) | undefined;
44
- activated?: ((() => void) | (() => void)[]) | undefined;
45
- deactivated?: ((() => void) | (() => void)[]) | undefined;
46
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
47
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
48
- destroyed?: ((() => void) | (() => void)[]) | undefined;
49
- unmounted?: ((() => void) | (() => void)[]) | undefined;
50
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
51
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
52
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
53
- };
54
- $forceUpdate: () => void;
55
- $nextTick: typeof import("vue").nextTick;
56
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
- } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
58
- id: string;
59
- modelValue: string | number;
60
- invert?: boolean | undefined;
61
- error?: boolean | undefined;
62
- }>>> & {
63
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
64
- } & import("vue").ShallowUnwrapRef<{
65
- input: import("vue").Ref<string>;
66
- }> & {} & import("vue").ComponentCustomProperties;
67
- __isFragment?: undefined;
68
- __isTeleport?: undefined;
69
- __isSuspense?: undefined;
70
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
71
- id: string;
72
- modelValue: string | number;
73
- invert?: boolean | undefined;
74
- error?: boolean | undefined;
75
- }>>> & {
76
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
77
- }, {
78
- input: import("vue").Ref<string>;
79
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
- "update:modelValue": (event: string) => void;
81
- }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
82
- $slots: {};
83
- });
84
- export default _default;
85
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
86
- declare type __VLS_TypePropsToRuntimeProps<T> = {
87
- [K in keyof T]-?: {} extends Pick<T, K> ? {
88
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
89
- } : {
90
- type: import('vue').PropType<T[K]>;
91
- required: true;
92
- };
93
- };
@@ -1,2 +0,0 @@
1
- import SolInput from './Input.vue';
2
- export { SolInput, };
@@ -1,2 +0,0 @@
1
- import SolTextarea from './Textarea.vue';
2
- export { SolTextarea, };
@@ -1,129 +0,0 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- label: string;
7
- modelValue: string | number;
8
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- id: string;
10
- class?: string | undefined;
11
- modelValue?: string | number | undefined;
12
- label?: string | undefined;
13
- hint?: string | undefined;
14
- invert?: boolean | undefined;
15
- error?: string | undefined;
16
- }>, {
17
- modelValue: string;
18
- label: string;
19
- }>>> & {
20
- "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
21
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "modelValue">;
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: "update:modelValue", event: string | number) => void;
34
- $el: any;
35
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
36
- id: string;
37
- class?: string | undefined;
38
- modelValue?: string | number | undefined;
39
- label?: string | undefined;
40
- hint?: string | undefined;
41
- invert?: boolean | undefined;
42
- error?: string | undefined;
43
- }>, {
44
- modelValue: string;
45
- label: string;
46
- }>>> & {
47
- "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
48
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
49
- "update:modelValue": (event: string | number) => void;
50
- }, string, {
51
- label: string;
52
- modelValue: string | number;
53
- }> & {
54
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
55
- created?: ((() => void) | (() => void)[]) | undefined;
56
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
57
- mounted?: ((() => void) | (() => void)[]) | undefined;
58
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
59
- updated?: ((() => void) | (() => void)[]) | undefined;
60
- activated?: ((() => void) | (() => void)[]) | undefined;
61
- deactivated?: ((() => void) | (() => void)[]) | undefined;
62
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
63
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
64
- destroyed?: ((() => void) | (() => void)[]) | undefined;
65
- unmounted?: ((() => void) | (() => void)[]) | undefined;
66
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
67
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
68
- 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;
69
- };
70
- $forceUpdate: () => void;
71
- $nextTick: typeof import("vue").nextTick;
72
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
73
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
74
- id: string;
75
- class?: string | undefined;
76
- modelValue?: string | number | undefined;
77
- label?: string | undefined;
78
- hint?: string | undefined;
79
- invert?: boolean | undefined;
80
- error?: string | undefined;
81
- }>, {
82
- modelValue: string;
83
- label: string;
84
- }>>> & {
85
- "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
86
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
87
- __isFragment?: undefined;
88
- __isTeleport?: undefined;
89
- __isSuspense?: undefined;
90
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
91
- id: string;
92
- class?: string | undefined;
93
- modelValue?: string | number | undefined;
94
- label?: string | undefined;
95
- hint?: string | undefined;
96
- invert?: boolean | undefined;
97
- error?: string | undefined;
98
- }>, {
99
- modelValue: string;
100
- label: string;
101
- }>>> & {
102
- "onUpdate:modelValue"?: ((event: string | number) => any) | undefined;
103
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
104
- "update:modelValue": (event: string | number) => void;
105
- }, string, {
106
- label: string;
107
- modelValue: string | number;
108
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
109
- $slots: {
110
- label: (_: {}) => any;
111
- default: (_: {}) => any;
112
- icon: (_: {}) => any;
113
- };
114
- });
115
- export default _default;
116
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
117
- declare type __VLS_TypePropsToRuntimeProps<T> = {
118
- [K in keyof T]-?: {} extends Pick<T, K> ? {
119
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
120
- } : {
121
- type: import('vue').PropType<T[K]>;
122
- required: true;
123
- };
124
- };
125
- declare type __VLS_WithDefaults<P, D> = {
126
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
127
- default: D[K];
128
- } : P[K];
129
- };