@solfacil/girassol 0.1.11 → 0.2.3

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 (47) hide show
  1. package/dist/README.md.d.ts +2 -0
  2. package/dist/cli/readme.md.d.ts +2 -0
  3. package/dist/components.d.ts +1 -0
  4. package/dist/components.json +1 -1
  5. package/dist/girassol.es.js +1390 -1321
  6. package/dist/girassol.umd.js +6 -22
  7. package/dist/style.css +1 -1
  8. package/dist/theme/safelist.d.ts +14 -0
  9. package/dist/theme/solfacil/colors.d.ts +28 -4
  10. package/dist/theme/solfacil/effects.d.ts +8 -6
  11. package/dist/theme/solfacil/index.d.ts +1 -0
  12. package/dist/theme/solfacil/spacing.d.ts +3 -0
  13. package/dist/theme/solfacil/typography.d.ts +1 -1
  14. package/dist/theme/solfacil/utilities.d.ts +1 -0
  15. package/dist/types/components/accordion/Accordion.vue.d.ts +75 -10
  16. package/dist/types/components/dropdown/Dropdown.vue.d.ts +188 -31
  17. package/dist/types/components/forms/button/Button.vue.d.ts +102 -20
  18. package/dist/types/components/forms/button/ButtonDestructive.vue.d.ts +73 -0
  19. package/dist/types/components/forms/button/index.d.ts +2 -1
  20. package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +77 -11
  21. package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +114 -19
  22. package/dist/types/components/forms/input/Input.vue.d.ts +76 -10
  23. package/dist/types/components/forms/radio/Radio.vue.d.ts +77 -11
  24. package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +114 -19
  25. package/dist/types/components/forms/select/ListOption.vue.d.ts +149 -0
  26. package/dist/types/components/forms/select/Select.vue.d.ts +298 -27
  27. package/dist/types/components/forms/switch/Switch.vue.d.ts +83 -13
  28. package/dist/types/components/forms/textarea/Textarea.vue.d.ts +108 -19
  29. package/dist/types/components/forms/textfield/Textfield.vue.d.ts +100 -16
  30. package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +71 -9
  31. package/dist/types/components/informations/chip/Chip.vue.d.ts +94 -15
  32. package/dist/types/components/loader/CircleLoader.vue.d.ts +86 -0
  33. package/dist/types/composables/use-toast/Toast.vue.d.ts +130 -24
  34. package/dist/types/composables/use-toast/index.d.ts +1 -1
  35. package/dist/types/index.d.ts +2425 -459
  36. package/dist/windi.config.d.ts +1 -1
  37. package/package.json +33 -33
  38. package/theme/safelist.ts +104 -0
  39. package/theme/solfacil/borders.ts +2 -1
  40. package/theme/solfacil/colors.ts +44 -22
  41. package/theme/solfacil/effects.ts +9 -7
  42. package/theme/solfacil/index.ts +2 -1
  43. package/theme/solfacil/spacing.ts +3 -0
  44. package/theme/solfacil/typography.ts +8 -9
  45. package/theme/solfacil/utilities.ts +239 -3
  46. package/vite.config.ts +1 -0
  47. package/windi.config.ts +14 -1
@@ -1,4 +1,151 @@
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: (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<{
2
149
  id: string;
3
150
  label?: string | undefined;
4
151
  ariaLabel?: string | undefined;
@@ -21,40 +168,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
168
  fetchOnSearch: boolean;
22
169
  searchable: boolean;
23
170
  options: () => never[];
24
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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, {
25
176
  closeDropdown: () => void;
26
177
  } & {
27
178
  search: (value: string) => void;
28
179
  } & {
29
180
  "update:selected": (value: string | string[]) => void;
30
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
- id: string;
32
- label?: string | undefined;
33
- ariaLabel?: string | undefined;
34
- smallerWidth?: boolean | undefined;
35
- disabled?: boolean | undefined;
36
- loading?: boolean | undefined;
37
- searchable?: boolean | undefined;
38
- closeOnSelect?: boolean | undefined;
39
- fetchOnSearch?: boolean | undefined;
40
- isMultipleSelect?: boolean | undefined;
41
- searchPlaceholder?: string | undefined;
42
- selected?: string | string[] | undefined;
43
- options: (string | {
44
- name: string;
45
- value: string;
46
- })[];
47
- }>, {
48
- loading: boolean;
49
- closeOnSelect: boolean;
50
- fetchOnSearch: boolean;
51
- searchable: boolean;
52
- options: () => never[];
53
- }>>> & {
54
- onSearch?: ((value: string) => any) | undefined;
55
- onCloseDropdown?: (() => any) | undefined;
56
- "onUpdate:selected"?: ((value: string | string[]) => any) | undefined;
57
- }, {
181
+ }, string, {
58
182
  loading: boolean;
59
183
  searchable: boolean;
60
184
  closeOnSelect: boolean;
@@ -63,7 +187,40 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
63
187
  name: string;
64
188
  value: string;
65
189
  })[];
66
- }>;
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
+ });
67
224
  export default _default;
68
225
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
69
226
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,26 +1,108 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- variant?: "flat" | "primary" | "secondary" | undefined;
3
- dense?: boolean | undefined;
4
- invert?: boolean | undefined;
1
+ declare const _default: {
2
+ new (...args: any[]): {
3
+ $: import("vue").ComponentInternalInstance;
4
+ $data: {};
5
+ $props: Partial<{
6
+ size: 'small' | 'medium' | 'large';
7
+ onColor: boolean;
8
+ variant: 'primary' | 'secondary' | 'tertiary';
9
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ id: string;
11
+ loading?: boolean | undefined;
12
+ onColor?: boolean | undefined;
13
+ disabled?: boolean | undefined;
14
+ size?: "small" | "large" | "medium" | undefined;
15
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
16
+ }>, {
17
+ variant: string;
18
+ size: string;
19
+ onColor: boolean;
20
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "onColor" | "variant">;
21
+ $attrs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $refs: {
25
+ [x: string]: unknown;
26
+ };
27
+ $slots: Readonly<{
28
+ [name: string]: import("vue").Slot | undefined;
29
+ }>;
30
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
31
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
32
+ $emit: (event: string, ...args: any[]) => void;
33
+ $el: any;
34
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
+ id: string;
36
+ loading?: boolean | undefined;
37
+ onColor?: boolean | undefined;
38
+ disabled?: boolean | undefined;
39
+ size?: "small" | "large" | "medium" | undefined;
40
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
41
+ }>, {
42
+ variant: string;
43
+ size: string;
44
+ onColor: boolean;
45
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
46
+ size: 'small' | 'medium' | 'large';
47
+ onColor: boolean;
48
+ variant: 'primary' | 'secondary' | 'tertiary';
49
+ }> & {
50
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
51
+ created?: ((() => void) | (() => void)[]) | undefined;
52
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
53
+ mounted?: ((() => void) | (() => void)[]) | undefined;
54
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
55
+ updated?: ((() => void) | (() => void)[]) | undefined;
56
+ activated?: ((() => void) | (() => void)[]) | undefined;
57
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
58
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
59
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
60
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
61
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
62
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
63
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
64
+ 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;
65
+ };
66
+ $forceUpdate: () => void;
67
+ $nextTick: typeof import("vue").nextTick;
68
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
69
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
70
+ id: string;
71
+ loading?: boolean | undefined;
72
+ onColor?: boolean | undefined;
73
+ disabled?: boolean | undefined;
74
+ size?: "small" | "large" | "medium" | undefined;
75
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
76
+ }>, {
77
+ variant: string;
78
+ size: string;
79
+ onColor: boolean;
80
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
81
+ __isFragment?: undefined;
82
+ __isTeleport?: undefined;
83
+ __isSuspense?: undefined;
84
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
85
  id: string;
86
+ loading?: boolean | undefined;
87
+ onColor?: boolean | undefined;
88
+ disabled?: boolean | undefined;
89
+ size?: "small" | "large" | "medium" | undefined;
90
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
6
91
  }>, {
7
92
  variant: string;
8
- dense: boolean;
9
- invert: boolean;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- variant?: "flat" | "primary" | "secondary" | undefined;
12
- dense?: boolean | undefined;
13
- invert?: boolean | undefined;
14
- id: string;
15
- }>, {
16
- variant: string;
17
- dense: boolean;
18
- invert: boolean;
19
- }>>>, {
20
- invert: boolean;
21
- variant: 'primary' | 'secondary' | 'flat';
22
- dense: boolean;
23
- }>;
93
+ size: string;
94
+ onColor: boolean;
95
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
96
+ size: 'small' | 'medium' | 'large';
97
+ onColor: boolean;
98
+ variant: 'primary' | 'secondary' | 'tertiary';
99
+ }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
100
+ $slots: {
101
+ 'icon-left': (_: {}) => any;
102
+ default: (_: {}) => any;
103
+ 'icon-right': (_: {}) => any;
104
+ };
105
+ });
24
106
  export default _default;
25
107
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
108
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -0,0 +1,73 @@
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
+ size: 'small' | 'medium' | 'large';
8
+ loading?: boolean | undefined;
9
+ }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
10
+ $attrs: {
11
+ [x: string]: unknown;
12
+ };
13
+ $refs: {
14
+ [x: string]: unknown;
15
+ };
16
+ $slots: Readonly<{
17
+ [name: string]: import("vue").Slot | undefined;
18
+ }>;
19
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
20
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
21
+ $emit: (event: string, ...args: any[]) => void;
22
+ $el: any;
23
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
24
+ id: string;
25
+ size: 'small' | 'medium' | 'large';
26
+ loading?: boolean | undefined;
27
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
28
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
29
+ created?: ((() => void) | (() => void)[]) | undefined;
30
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
31
+ mounted?: ((() => void) | (() => void)[]) | undefined;
32
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
33
+ updated?: ((() => void) | (() => void)[]) | undefined;
34
+ activated?: ((() => void) | (() => void)[]) | undefined;
35
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
36
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
37
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
38
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
39
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
40
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
41
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
42
+ 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;
43
+ };
44
+ $forceUpdate: () => void;
45
+ $nextTick: typeof import("vue").nextTick;
46
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
47
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
48
+ id: string;
49
+ size: 'small' | 'medium' | 'large';
50
+ loading?: boolean | undefined;
51
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
52
+ __isFragment?: undefined;
53
+ __isTeleport?: undefined;
54
+ __isSuspense?: undefined;
55
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
56
+ id: string;
57
+ size: 'small' | 'medium' | 'large';
58
+ loading?: boolean | undefined;
59
+ }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
60
+ $slots: {
61
+ default: (_: {}) => any;
62
+ };
63
+ });
64
+ export default _default;
65
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
66
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
67
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
68
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
69
+ } : {
70
+ type: import('vue').PropType<T[K]>;
71
+ required: true;
72
+ };
73
+ };
@@ -1,2 +1,3 @@
1
1
  import SolButton from './Button.vue';
2
- export { SolButton };
2
+ import SolButtonDestructive from './ButtonDestructive.vue';
3
+ export { SolButton, SolButtonDestructive };
@@ -1,14 +1,76 @@
1
1
  import type { Checkbox } from './checkbox-type';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- id: Checkbox['id'];
4
- name: Checkbox['name'];
5
- value: Checkbox['value'];
6
- label: Checkbox['label'];
7
- checked?: Checkbox['checked'];
8
- class?: Checkbox['class'];
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- change: (value: import("./checkbox-type").CheckboxValue) => void;
11
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
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: Checkbox['id'];
8
+ name: Checkbox['name'];
9
+ value: Checkbox['value'];
10
+ label: Checkbox['label'];
11
+ checked?: Checkbox['checked'];
12
+ class?: Checkbox['class'];
13
+ }>>> & {
14
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
15
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
16
+ $attrs: {
17
+ [x: string]: unknown;
18
+ };
19
+ $refs: {
20
+ [x: string]: unknown;
21
+ };
22
+ $slots: Readonly<{
23
+ [name: string]: import("vue").Slot | undefined;
24
+ }>;
25
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
26
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
27
+ $emit: (event: "change", value: import("./checkbox-type").CheckboxValue) => void;
28
+ $el: any;
29
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
30
+ id: Checkbox['id'];
31
+ name: Checkbox['name'];
32
+ value: Checkbox['value'];
33
+ label: Checkbox['label'];
34
+ checked?: Checkbox['checked'];
35
+ class?: Checkbox['class'];
36
+ }>>> & {
37
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
38
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
39
+ change: (value: import("./checkbox-type").CheckboxValue) => void;
40
+ }, string, {}> & {
41
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
42
+ created?: ((() => void) | (() => void)[]) | undefined;
43
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
44
+ mounted?: ((() => void) | (() => void)[]) | undefined;
45
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
46
+ updated?: ((() => void) | (() => void)[]) | undefined;
47
+ activated?: ((() => void) | (() => void)[]) | undefined;
48
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
49
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
50
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
51
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
52
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
53
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
54
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
55
+ 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;
56
+ };
57
+ $forceUpdate: () => void;
58
+ $nextTick: typeof import("vue").nextTick;
59
+ $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
60
+ } & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
61
+ id: Checkbox['id'];
62
+ name: Checkbox['name'];
63
+ value: Checkbox['value'];
64
+ label: Checkbox['label'];
65
+ checked?: Checkbox['checked'];
66
+ class?: Checkbox['class'];
67
+ }>>> & {
68
+ onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
69
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
70
+ __isFragment?: undefined;
71
+ __isTeleport?: undefined;
72
+ __isSuspense?: undefined;
73
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
74
  id: Checkbox['id'];
13
75
  name: Checkbox['name'];
14
76
  value: Checkbox['value'];
@@ -17,7 +79,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
17
79
  class?: Checkbox['class'];
18
80
  }>>> & {
19
81
  onChange?: ((value: import("./checkbox-type").CheckboxValue) => any) | undefined;
20
- }, {}>;
82
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
83
+ change: (value: import("./checkbox-type").CheckboxValue) => void;
84
+ }, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
85
+ $slots: {};
86
+ });
21
87
  export default _default;
22
88
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
89
  declare type __VLS_TypePropsToRuntimeProps<T> = {