@solfacil/girassol 0.18.0 → 0.19.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 (85) hide show
  1. package/dist/girassol.es.js +4330 -4256
  2. package/dist/girassol.umd.js +6 -6
  3. package/dist/style.css +1 -1
  4. package/dist/tsconfig.app.tsbuildinfo +1 -0
  5. package/dist/types/components/accordion/Accordion.vue.d.ts +19 -76
  6. package/dist/types/components/collapsible/Collapsible.vue.d.ts +25 -90
  7. package/dist/types/components/empty-state/EmptyState.vue.d.ts +17 -74
  8. package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +21 -92
  9. package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +23 -97
  10. package/dist/types/components/forms/button/button/Button.vue.d.ts +25 -94
  11. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +17 -74
  12. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +37 -131
  13. package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +35 -134
  14. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +2 -2
  15. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +37 -131
  16. package/dist/types/components/forms/select/ListOption.vue.d.ts +18 -81
  17. package/dist/types/components/forms/select/Select.vue.d.ts +65 -216
  18. package/dist/types/components/forms/switch/Switch.vue.d.ts +2 -2
  19. package/dist/types/components/informations/alert/Alert.vue.d.ts +22 -97
  20. package/dist/types/components/informations/tag/Tag.vue.d.ts +21 -92
  21. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +22 -81
  22. package/dist/types/components/list/List.vue.d.ts +63 -174
  23. package/dist/types/components/list/ListItem.vue.d.ts +61 -132
  24. package/dist/types/components/list/ListItemTextValue.vue.d.ts +21 -82
  25. package/dist/types/components/menus/menu/Menu.vue.d.ts +35 -94
  26. package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +13 -64
  27. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +24 -85
  28. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +22 -69
  29. package/dist/types/components/modals/modal/Modal.vue.d.ts +44 -164
  30. package/dist/types/components/tabs/TabItem.vue.d.ts +19 -70
  31. package/dist/types/composables/use-toast/Toast.vue.d.ts +36 -133
  32. package/dist/types/index.d.ts +20 -20
  33. package/package.json +24 -23
  34. package/theme/safelist.ts +157 -21
  35. package/dist/cli/src/cli.d.ts +0 -1
  36. package/dist/cli/src/commands/create:component.d.ts +0 -1
  37. package/dist/cli/src/commands/generate:plugin.d.ts +0 -1
  38. package/dist/cli/src/commands/generate:types.d.ts +0 -7
  39. package/dist/cli/src/commands/girassol-cli.d.ts +0 -1
  40. package/dist/cli/src/extensions/cli-extension.d.ts +0 -1
  41. package/dist/cli/src/types.d.ts +0 -0
  42. package/dist/theme/solfacil/borders.d.ts +0 -18
  43. package/dist/theme/solfacil/colors.d.ts +0 -63
  44. package/dist/theme/solfacil/effects.d.ts +0 -17
  45. package/dist/theme/solfacil/index.d.ts +0 -18
  46. package/dist/theme/solfacil/miscs.d.ts +0 -144
  47. package/dist/theme/solfacil/screens.d.ts +0 -29
  48. package/dist/theme/solfacil/spacing.d.ts +0 -64
  49. package/dist/theme/solfacil/typography.d.ts +0 -41
  50. package/dist/theme/solfacil/utilities.d.ts +0 -8
  51. package/dist/types/components/accordion/accordion.spec.d.ts +0 -1
  52. package/dist/types/components/breadcrumb/breadcrumb.spec.d.ts +0 -1
  53. package/dist/types/components/collapsible/collapsible.spec.d.ts +0 -1
  54. package/dist/types/components/date-picker/datepicker.spec.d.ts +0 -1
  55. package/dist/types/components/empty-state/empty-state.spec.d.ts +0 -1
  56. package/dist/types/components/file-upload/file-upload.spec.d.ts +0 -1
  57. package/dist/types/components/filters/chip/removable-chip/removable-chip.spec.d.ts +0 -1
  58. package/dist/types/components/filters/chip/selectable-chip/selectable-chip.spec.d.ts +0 -1
  59. package/dist/types/components/forms/button/button/button.spec.d.ts +0 -1
  60. package/dist/types/components/forms/checkbox/checkbox/checkbox.spec.d.ts +0 -1
  61. package/dist/types/components/forms/checkbox/checkbox-group/checkbox-group.spec.d.ts +0 -1
  62. package/dist/types/components/forms/inputs/input-core/input.spec.d.ts +0 -1
  63. package/dist/types/components/forms/inputs/input-password/input-password.spec.d.ts +0 -1
  64. package/dist/types/components/forms/inputs/input-text/input-text.spec.d.ts +0 -1
  65. package/dist/types/components/forms/inputs/input-textarea/textarea.spec.d.ts +0 -1
  66. package/dist/types/components/forms/radio/radio/radio.spec.d.ts +0 -1
  67. package/dist/types/components/forms/radio/radio-group/radio-group.spec.d.ts +0 -1
  68. package/dist/types/components/forms/select/select.spec.d.ts +0 -1
  69. package/dist/types/components/forms/switch/switch.spec.d.ts +0 -1
  70. package/dist/types/components/informations/alert/alert.spec.d.ts +0 -1
  71. package/dist/types/components/informations/tag/tag.spec.d.ts +0 -1
  72. package/dist/types/components/informations/text-value/text-value.spec.d.ts +0 -1
  73. package/dist/types/components/list/list.spec.d.ts +0 -1
  74. package/dist/types/components/menus/menu/menu.spec.d.ts +0 -1
  75. package/dist/types/components/modals/modal/modal.spec.d.ts +0 -1
  76. package/dist/types/components/modals/onboarding/onboading.spec.d.ts +0 -1
  77. package/dist/types/components/pagination/pagination.spec.d.ts +0 -1
  78. package/dist/types/components/search/search.spec.d.ts +0 -1
  79. package/dist/types/components/steps/steps.spec.d.ts +0 -1
  80. package/dist/types/components/tabs/tabs.spec.d.ts +0 -1
  81. package/dist/types/composables/use-filters/use-filters.spec.d.ts +0 -1
  82. package/dist/types/composables/use-toast/use-toast.spec.d.ts +0 -1
  83. package/dist/vite-modules/generate-component-types.d.ts +0 -3
  84. package/dist/vite.config.d.ts +0 -2
  85. package/dist/windi.config.d.ts +0 -2
@@ -1,87 +1,4 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- onColor: boolean;
7
- size: 'small' | 'medium' | 'large';
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" | "medium" | "large" | 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, "onColor" | "size" | "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, {}, {}, string>, {}> | null;
31
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | 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" | "medium" | "large" | 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, {}, string, {
46
- onColor: boolean;
47
- size: 'small' | 'medium' | 'large';
48
- variant: 'primary' | 'secondary' | 'tertiary';
49
- }, {}, string> & {
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, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
65
- };
66
- $forceUpdate: () => void;
67
- $nextTick: typeof import("vue").nextTick;
68
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, 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" | "medium" | "large" | 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<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
85
2
  id: string;
86
3
  loading?: boolean | undefined;
87
4
  onColor?: boolean | undefined;
@@ -92,19 +9,28 @@ declare const _default: {
92
9
  variant: string;
93
10
  size: string;
94
11
  onColor: boolean;
95
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ id: string;
14
+ loading?: boolean | undefined;
15
+ onColor?: boolean | undefined;
16
+ disabled?: boolean | undefined;
17
+ size?: "small" | "medium" | "large" | undefined;
18
+ variant?: "primary" | "secondary" | "tertiary" | undefined;
19
+ }>, {
20
+ variant: string;
21
+ size: string;
22
+ onColor: boolean;
23
+ }>>>, {
96
24
  onColor: boolean;
97
25
  size: 'small' | 'medium' | 'large';
98
26
  variant: 'primary' | 'secondary' | 'tertiary';
99
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
100
- $slots: {
101
- 'icon-left': (_: {}) => any;
102
- 'icon:left': (_: {}) => any;
103
- default: (_: {}) => any;
104
- 'icon-right': (_: {}) => any;
105
- 'icon:right': (_: {}) => any;
106
- };
107
- });
27
+ }>, {
28
+ 'icon-left': (_: {}) => any;
29
+ 'icon:left': (_: {}) => any;
30
+ default: (_: {}) => any;
31
+ 'icon-right': (_: {}) => any;
32
+ 'icon:right': (_: {}) => any;
33
+ }>;
108
34
  export default _default;
109
35
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
110
36
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -120,3 +46,8 @@ type __VLS_WithDefaults<P, D> = {
120
46
  default: D[K];
121
47
  } : P[K];
122
48
  };
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };
@@ -1,84 +1,22 @@
1
- declare const _default: {
2
- new (...args: any[]): {
3
- $: import("vue").ComponentInternalInstance;
4
- $data: {};
5
- $props: Partial<{
6
- hideIcon: boolean;
7
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- id: string;
9
- size: 'small' | 'medium' | 'large';
10
- loading?: boolean | undefined;
11
- hideIcon?: boolean | undefined;
12
- }>, {
13
- hideIcon: boolean;
14
- }>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "hideIcon">;
15
- $attrs: {
16
- [x: string]: unknown;
17
- };
18
- $refs: {
19
- [x: string]: unknown;
20
- };
21
- $slots: Readonly<{
22
- [name: string]: import("vue").Slot | undefined;
23
- }>;
24
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
25
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
26
- $emit: (event: string, ...args: any[]) => void;
27
- $el: any;
28
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
- id: string;
30
- size: 'small' | 'medium' | 'large';
31
- loading?: boolean | undefined;
32
- hideIcon?: boolean | undefined;
33
- }>, {
34
- hideIcon: boolean;
35
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
36
- hideIcon: boolean;
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, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
53
- };
54
- $forceUpdate: () => void;
55
- $nextTick: typeof import("vue").nextTick;
56
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
57
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
58
- id: string;
59
- size: 'small' | 'medium' | 'large';
60
- loading?: boolean | undefined;
61
- hideIcon?: boolean | undefined;
62
- }>, {
63
- hideIcon: boolean;
64
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
65
- __isFragment?: undefined;
66
- __isTeleport?: undefined;
67
- __isSuspense?: undefined;
68
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
69
2
  id: string;
70
3
  size: 'small' | 'medium' | 'large';
71
4
  loading?: boolean | undefined;
72
5
  hideIcon?: boolean | undefined;
73
6
  }>, {
74
7
  hideIcon: boolean;
75
- }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
+ id: string;
10
+ size: 'small' | 'medium' | 'large';
11
+ loading?: boolean | undefined;
12
+ hideIcon?: boolean | undefined;
13
+ }>, {
76
14
  hideIcon: boolean;
77
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
78
- $slots: {
79
- default: (_: {}) => any;
80
- };
81
- });
15
+ }>>>, {
16
+ hideIcon: boolean;
17
+ }>, {
18
+ default: (_: {}) => any;
19
+ }>;
82
20
  export default _default;
83
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
84
22
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -94,3 +32,8 @@ type __VLS_WithDefaults<P, D> = {
94
32
  default: D[K];
95
33
  } : P[K];
96
34
  };
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -1,119 +1,5 @@
1
1
  import type { Checkbox as CheckboxType } from '@forms/checkbox/type';
2
- declare const _default: {
3
- new (...args: any[]): {
4
- $: import("vue").ComponentInternalInstance;
5
- $data: {};
6
- $props: Partial<{
7
- error: string | null;
8
- hideTitle: boolean;
9
- direction: 'row' | 'column';
10
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- id: string;
12
- title: string;
13
- name: string;
14
- hideTitle?: boolean | undefined;
15
- helperText?: string | undefined;
16
- error?: string | null | undefined;
17
- checkboxes: CheckboxType[];
18
- modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
19
- direction?: "row" | "column" | undefined;
20
- useField?: typeof import("vee-validate").useField | undefined;
21
- rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
22
- opts?: Partial<import("vee-validate").FieldOptions<import("@forms/checkbox/type").CheckboxValue>> | undefined;
23
- }>, {
24
- error: null;
25
- direction: string;
26
- hideTitle: boolean;
27
- }>>> & {
28
- onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
29
- "onUpdate:modelValue"?: ((v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => any) | undefined;
30
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "hideTitle" | "direction">;
31
- $attrs: {
32
- [x: string]: unknown;
33
- };
34
- $refs: {
35
- [x: string]: unknown;
36
- };
37
- $slots: Readonly<{
38
- [name: string]: import("vue").Slot | undefined;
39
- }>;
40
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
41
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
42
- $emit: ((event: "update:modelValue", v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => void) & ((event: "change", value: import("@forms/checkbox/type").CheckboxValue) => void);
43
- $el: any;
44
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
45
- id: string;
46
- title: string;
47
- name: string;
48
- hideTitle?: boolean | undefined;
49
- helperText?: string | undefined;
50
- error?: string | null | undefined;
51
- checkboxes: CheckboxType[];
52
- modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
53
- direction?: "row" | "column" | undefined;
54
- useField?: typeof import("vee-validate").useField | undefined;
55
- rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
56
- opts?: Partial<import("vee-validate").FieldOptions<import("@forms/checkbox/type").CheckboxValue>> | undefined;
57
- }>, {
58
- error: null;
59
- direction: string;
60
- hideTitle: boolean;
61
- }>>> & {
62
- onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
63
- "onUpdate:modelValue"?: ((v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => any) | undefined;
64
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
65
- change: (value: import("@forms/checkbox/type").CheckboxValue) => void;
66
- } & {
67
- "update:modelValue": (v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => void;
68
- }, string, {
69
- error: string | null;
70
- hideTitle: boolean;
71
- direction: 'row' | 'column';
72
- }, {}, string> & {
73
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
74
- created?: ((() => void) | (() => void)[]) | undefined;
75
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
76
- mounted?: ((() => void) | (() => void)[]) | undefined;
77
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
78
- updated?: ((() => void) | (() => void)[]) | undefined;
79
- activated?: ((() => void) | (() => void)[]) | undefined;
80
- deactivated?: ((() => void) | (() => void)[]) | undefined;
81
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
82
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
83
- destroyed?: ((() => void) | (() => void)[]) | undefined;
84
- unmounted?: ((() => void) | (() => void)[]) | undefined;
85
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
86
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
87
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
88
- };
89
- $forceUpdate: () => void;
90
- $nextTick: typeof import("vue").nextTick;
91
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
92
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
93
- id: string;
94
- title: string;
95
- name: string;
96
- hideTitle?: boolean | undefined;
97
- helperText?: string | undefined;
98
- error?: string | null | undefined;
99
- checkboxes: CheckboxType[];
100
- modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
101
- direction?: "row" | "column" | undefined;
102
- useField?: typeof import("vee-validate").useField | undefined;
103
- rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
104
- opts?: Partial<import("vee-validate").FieldOptions<import("@forms/checkbox/type").CheckboxValue>> | undefined;
105
- }>, {
106
- error: null;
107
- direction: string;
108
- hideTitle: boolean;
109
- }>>> & {
110
- onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
111
- "onUpdate:modelValue"?: ((v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => any) | undefined;
112
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
113
- __isFragment?: undefined;
114
- __isTeleport?: undefined;
115
- __isSuspense?: undefined;
116
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
117
3
  id: string;
118
4
  title: string;
119
5
  name: string;
@@ -130,28 +16,43 @@ declare const _default: {
130
16
  error: null;
131
17
  direction: string;
132
18
  hideTitle: boolean;
133
- }>>> & {
134
- onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
135
- "onUpdate:modelValue"?: ((v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => any) | undefined;
136
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
137
20
  change: (value: import("@forms/checkbox/type").CheckboxValue) => void;
138
21
  } & {
139
22
  "update:modelValue": (v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => void;
140
- }, string, {
23
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
24
+ id: string;
25
+ title: string;
26
+ name: string;
27
+ hideTitle?: boolean | undefined;
28
+ helperText?: string | undefined;
29
+ error?: string | null | undefined;
30
+ checkboxes: CheckboxType[];
31
+ modelValue?: import("@forms/checkbox/type").CheckboxValue[] | undefined;
32
+ direction?: "row" | "column" | undefined;
33
+ useField?: typeof import("vee-validate").useField | undefined;
34
+ rules?: import("vee-validate").RuleExpression<unknown> | import("vue").Ref<import("vee-validate").RuleExpression<unknown>>;
35
+ opts?: Partial<import("vee-validate").FieldOptions<import("@forms/checkbox/type").CheckboxValue>> | undefined;
36
+ }>, {
37
+ error: null;
38
+ direction: string;
39
+ hideTitle: boolean;
40
+ }>>> & {
41
+ onChange?: ((value: import("@forms/checkbox/type").CheckboxValue) => any) | undefined;
42
+ "onUpdate:modelValue"?: ((v: import("@forms/checkbox/type").CheckboxValue[] | undefined) => any) | undefined;
43
+ }, {
141
44
  error: string | null;
142
45
  hideTitle: boolean;
143
46
  direction: 'row' | 'column';
144
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
145
- $slots: {
146
- title: (_: {
147
- id: string;
148
- }) => any;
149
- default: (_: {
150
- checkboxes: CheckboxType[];
151
- direction: "row" | "column";
152
- }) => any;
153
- };
154
- });
47
+ }>, {
48
+ title: (_: {
49
+ id: string;
50
+ }) => any;
51
+ default: (_: {
52
+ checkboxes: CheckboxType[];
53
+ direction: "row" | "column";
54
+ }) => any;
55
+ }>;
155
56
  export default _default;
156
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
157
58
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -167,3 +68,8 @@ type __VLS_WithDefaults<P, D> = {
167
68
  default: D[K];
168
69
  } : P[K];
169
70
  };
71
+ type __VLS_WithTemplateSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
@@ -2,132 +2,32 @@ import type { InputText } from '../types';
2
2
  import type { ParentValidation } from '../../../../composables/use-validate-field/types';
3
3
  import type { Mask } from '../../../../composables/use-mask';
4
4
  type ParentValidationInput = ParentValidation<string>;
5
- declare const _default: {
6
- new (...args: any[]): {
7
- $: import("vue").ComponentInternalInstance;
8
- $data: {};
9
- $props: Partial<{
10
- error: string | null;
11
- size: "small" | "medium";
12
- }> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- id: InputText['id'];
14
- name: InputText['name'];
15
- class?: InputText['class'];
16
- label?: InputText['label'];
17
- mask?: Mask | undefined;
18
- helperText?: InputText['helperText'];
19
- successText?: InputText['successText'];
20
- loadingText?: InputText['loadingText'];
21
- required?: InputText['required'];
22
- disabled?: InputText['disabled'];
23
- isSuccess?: InputText['isSuccess'];
24
- isLoading?: InputText['isLoading'];
25
- size?: InputText['size'];
26
- error?: string | null | undefined;
27
- modelValue?: string | undefined;
28
- placeholder?: string | undefined;
29
- useField?: ParentValidationInput['useFieldParent'];
30
- rules?: ParentValidationInput['rules'];
31
- opts?: ParentValidationInput['opts'];
32
- }>, {
33
- size: string;
34
- error: null;
35
- }>>> & {
36
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
37
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "error" | "size">;
38
- $attrs: {
39
- [x: string]: unknown;
40
- };
41
- $refs: {
42
- [x: string]: unknown;
43
- };
44
- $slots: Readonly<{
45
- [name: string]: import("vue").Slot | undefined;
46
- }>;
47
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
48
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
49
- $emit: (event: "update:modelValue", event: string) => void;
50
- $el: any;
51
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
52
- id: InputText['id'];
53
- name: InputText['name'];
54
- class?: InputText['class'];
55
- label?: InputText['label'];
56
- mask?: Mask | undefined;
57
- helperText?: InputText['helperText'];
58
- successText?: InputText['successText'];
59
- loadingText?: InputText['loadingText'];
60
- required?: InputText['required'];
61
- disabled?: InputText['disabled'];
62
- isSuccess?: InputText['isSuccess'];
63
- isLoading?: InputText['isLoading'];
64
- size?: InputText['size'];
65
- error?: string | null | undefined;
66
- modelValue?: string | undefined;
67
- placeholder?: string | undefined;
68
- useField?: ParentValidationInput['useFieldParent'];
69
- rules?: ParentValidationInput['rules'];
70
- opts?: ParentValidationInput['opts'];
71
- }>, {
72
- size: string;
73
- error: null;
74
- }>>> & {
75
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
76
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
77
- "update:modelValue": (event: string) => void;
78
- }, string, {
79
- error: string | null;
80
- size: "small" | "medium";
81
- }, {}, string> & {
82
- beforeCreate?: ((() => void) | (() => void)[]) | undefined;
83
- created?: ((() => void) | (() => void)[]) | undefined;
84
- beforeMount?: ((() => void) | (() => void)[]) | undefined;
85
- mounted?: ((() => void) | (() => void)[]) | undefined;
86
- beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
87
- updated?: ((() => void) | (() => void)[]) | undefined;
88
- activated?: ((() => void) | (() => void)[]) | undefined;
89
- deactivated?: ((() => void) | (() => void)[]) | undefined;
90
- beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
91
- beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
92
- destroyed?: ((() => void) | (() => void)[]) | undefined;
93
- unmounted?: ((() => void) | (() => void)[]) | undefined;
94
- renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
95
- renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
96
- errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
97
- };
98
- $forceUpdate: () => void;
99
- $nextTick: typeof import("vue").nextTick;
100
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
101
- } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
102
- id: InputText['id'];
103
- name: InputText['name'];
104
- class?: InputText['class'];
105
- label?: InputText['label'];
106
- mask?: Mask | undefined;
107
- helperText?: InputText['helperText'];
108
- successText?: InputText['successText'];
109
- loadingText?: InputText['loadingText'];
110
- required?: InputText['required'];
111
- disabled?: InputText['disabled'];
112
- isSuccess?: InputText['isSuccess'];
113
- isLoading?: InputText['isLoading'];
114
- size?: InputText['size'];
115
- error?: string | null | undefined;
116
- modelValue?: string | undefined;
117
- placeholder?: string | undefined;
118
- useField?: ParentValidationInput['useFieldParent'];
119
- rules?: ParentValidationInput['rules'];
120
- opts?: ParentValidationInput['opts'];
121
- }>, {
122
- size: string;
123
- error: null;
124
- }>>> & {
125
- "onUpdate:modelValue"?: ((event: string) => any) | undefined;
126
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
127
- __isFragment?: undefined;
128
- __isTeleport?: undefined;
129
- __isSuspense?: undefined;
130
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
6
+ id: InputText['id'];
7
+ name: InputText['name'];
8
+ class?: InputText['class'];
9
+ label?: InputText['label'];
10
+ mask?: Mask | undefined;
11
+ helperText?: InputText['helperText'];
12
+ successText?: InputText['successText'];
13
+ loadingText?: InputText['loadingText'];
14
+ required?: InputText['required'];
15
+ disabled?: InputText['disabled'];
16
+ isSuccess?: InputText['isSuccess'];
17
+ isLoading?: InputText['isLoading'];
18
+ size?: InputText['size'];
19
+ error?: string | null | undefined;
20
+ modelValue?: string | undefined;
21
+ placeholder?: string | undefined;
22
+ useField?: ParentValidationInput['useFieldParent'];
23
+ rules?: ParentValidationInput['rules'];
24
+ opts?: ParentValidationInput['opts'];
25
+ }>, {
26
+ size: string;
27
+ error: null;
28
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ "update:modelValue": (event: string) => void;
30
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
131
31
  id: InputText['id'];
132
32
  name: InputText['name'];
133
33
  class?: InputText['class'];
@@ -152,16 +52,12 @@ declare const _default: {
152
52
  error: null;
153
53
  }>>> & {
154
54
  "onUpdate:modelValue"?: ((event: string) => any) | undefined;
155
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
156
- "update:modelValue": (event: string) => void;
157
- }, string, {
55
+ }, {
158
56
  error: string | null;
159
57
  size: "small" | "medium";
160
- }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
161
- $slots: {
162
- icon: (_: {}) => any;
163
- };
164
- });
58
+ }>, {
59
+ icon: (_: {}) => any;
60
+ }>;
165
61
  export default _default;
166
62
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
167
63
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -177,3 +73,8 @@ type __VLS_WithDefaults<P, D> = {
177
73
  default: D[K];
178
74
  } : P[K];
179
75
  };
76
+ type __VLS_WithTemplateSlots<T, S> = T & {
77
+ new (): {
78
+ $slots: S;
79
+ };
80
+ };
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
5
5
  label?: string | undefined;
6
6
  required?: boolean | undefined;
7
7
  helperText?: string | undefined;
8
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
8
+ resize?: "none" | "vertical" | "both" | "horizontal" | undefined;
9
9
  size?: "small" | "medium" | undefined;
10
10
  error?: string | null | undefined;
11
11
  placeholder?: string | undefined;
@@ -26,7 +26,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
26
26
  label?: string | undefined;
27
27
  required?: boolean | undefined;
28
28
  helperText?: string | undefined;
29
- resize?: "none" | "both" | "horizontal" | "vertical" | undefined;
29
+ resize?: "none" | "vertical" | "both" | "horizontal" | undefined;
30
30
  size?: "small" | "medium" | undefined;
31
31
  error?: string | null | undefined;
32
32
  placeholder?: string | undefined;