@solfacil/girassol 0.15.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.md +2 -2
  2. package/cli/build/cli.js +1 -1
  3. package/cli/build/commands/create:component.js +1 -1
  4. package/cli/build/commands/generate:plugin.js +1 -1
  5. package/cli/build/commands/generate:types.js +1 -1
  6. package/cli/build/commands/girassol-cli.js +1 -1
  7. package/dist/components.d.ts +2 -0
  8. package/dist/components.json +1 -1
  9. package/dist/girassol.es.js +6957 -6454
  10. package/dist/girassol.umd.js +10 -10
  11. package/dist/style.css +1 -1
  12. package/dist/theme/solfacil/index.d.ts +1 -0
  13. package/dist/theme/solfacil/utilities.d.ts +1 -0
  14. package/dist/types/components/accordion/Accordion.vue.d.ts +10 -10
  15. package/dist/types/components/collapsible/Collapsible.vue.d.ts +10 -10
  16. package/dist/types/components/date-picker/DatePicker.vue.d.ts +10 -10
  17. package/dist/types/components/date-picker/types.d.ts +1 -1
  18. package/dist/types/components/empty-state/EmptyState.vue.d.ts +10 -10
  19. package/dist/types/components/empty-state/types.d.ts +1 -1
  20. package/dist/types/components/file-upload/Download.vue.d.ts +107 -0
  21. package/dist/types/components/file-upload/FileUpload.vue.d.ts +208 -0
  22. package/dist/types/components/file-upload/Upload.vue.d.ts +136 -0
  23. package/dist/types/components/file-upload/file-upload.spec.d.ts +1 -0
  24. package/dist/types/components/file-upload/index.d.ts +2 -0
  25. package/dist/types/components/file-upload/types.d.ts +34 -0
  26. package/dist/types/components/filters/chip/removable-chip/RemovableChip.vue.d.ts +10 -10
  27. package/dist/types/components/filters/chip/selectable-chip/SelectableChip.vue.d.ts +10 -10
  28. package/dist/types/components/forms/button/button/Button.vue.d.ts +12 -10
  29. package/dist/types/components/forms/button/button-destructive/ButtonDestructive.vue.d.ts +10 -10
  30. package/dist/types/components/forms/checkbox/checkbox/Checkbox.vue.d.ts +9 -9
  31. package/dist/types/components/forms/checkbox/checkbox-group/CheckboxGroup.vue.d.ts +10 -10
  32. package/dist/types/components/forms/checkbox/type.d.ts +1 -1
  33. package/dist/types/components/forms/inputs/input-core/Input.vue.d.ts +10 -10
  34. package/dist/types/components/forms/inputs/input-password/InputPassword.vue.d.ts +10 -10
  35. package/dist/types/components/forms/inputs/input-text/InputText.vue.d.ts +11 -11
  36. package/dist/types/components/forms/inputs/input-textarea/InputTextarea.vue.d.ts +10 -10
  37. package/dist/types/components/forms/inputs/types.d.ts +2 -2
  38. package/dist/types/components/forms/radio/radio/Radio.vue.d.ts +9 -9
  39. package/dist/types/components/forms/radio/radio-group/RadioGroup.vue.d.ts +10 -10
  40. package/dist/types/components/forms/radio/types.d.ts +1 -1
  41. package/dist/types/components/forms/select/ListOption.vue.d.ts +9 -9
  42. package/dist/types/components/forms/select/Select.vue.d.ts +10 -10
  43. package/dist/types/components/forms/select/types.d.ts +2 -2
  44. package/dist/types/components/forms/switch/Switch.vue.d.ts +10 -10
  45. package/dist/types/components/informations/alert/Alert.vue.d.ts +10 -10
  46. package/dist/types/components/informations/tag/Tag.vue.d.ts +18 -18
  47. package/dist/types/components/informations/text-value/TextValue.vue.d.ts +10 -10
  48. package/dist/types/components/list/List.vue.d.ts +14 -10
  49. package/dist/types/components/list/ListItem.vue.d.ts +9 -9
  50. package/dist/types/components/list/ListItemTextValue.vue.d.ts +10 -10
  51. package/dist/types/components/list/types.d.ts +11 -10
  52. package/dist/types/components/loader/CircleLoader.vue.d.ts +10 -10
  53. package/dist/types/components/menus/menu/Menu.vue.d.ts +17 -17
  54. package/dist/types/components/menus/menu-item/MenuItemSeparator.vue.d.ts +2 -0
  55. package/dist/types/components/menus/menu-item/index.d.ts +2 -0
  56. package/dist/types/components/menus/menu-item/menu-item/MenuItem.vue.d.ts +9 -9
  57. package/dist/types/components/menus/menu-item/menu-item-link/MenuItemLink.vue.d.ts +9 -9
  58. package/dist/types/components/menus/menu-navigation-links/MenuNavigationLinks.vue.d.ts +9 -9
  59. package/dist/types/components/modal/Modal.vue.d.ts +10 -10
  60. package/dist/types/components/modal/types.d.ts +3 -3
  61. package/dist/types/components/pagination/Pagination.vue.d.ts +10 -10
  62. package/dist/types/components/pagination/types.d.ts +2 -2
  63. package/dist/types/components/search/Search.vue.d.ts +10 -10
  64. package/dist/types/components/search/types.d.ts +1 -1
  65. package/dist/types/components/steps/Steps.vue.d.ts +10 -10
  66. package/dist/types/components/steps/types.d.ts +1 -1
  67. package/dist/types/components/tabs/TabItem.vue.d.ts +10 -10
  68. package/dist/types/components/tabs/Tabs.vue.d.ts +10 -10
  69. package/dist/types/components/tabs/types.d.ts +1 -1
  70. package/dist/types/composables/use-download/index.d.ts +3 -0
  71. package/dist/types/composables/use-mask/index.d.ts +1 -1
  72. package/dist/types/composables/use-navigate/types.d.ts +11 -11
  73. package/dist/types/composables/use-toast/Toast.vue.d.ts +10 -10
  74. package/dist/types/composables/use-toast/index.d.ts +1 -1
  75. package/dist/types/composables/use-toast/types.d.ts +3 -3
  76. package/dist/types/composables/use-validate-field/types.d.ts +2 -2
  77. package/dist/types/index.d.ts +845 -479
  78. package/package.json +35 -35
  79. package/theme/solfacil/index.ts +2 -1
  80. package/theme/solfacil/screens.ts +0 -6
  81. package/theme/solfacil/utilities.ts +27 -8
  82. package/windi.config.ts +1 -1
@@ -27,8 +27,8 @@ declare const _default: {
27
27
  $slots: Readonly<{
28
28
  [name: string]: import("vue").Slot | undefined;
29
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;
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
32
  $emit: (event: string, ...args: any[]) => void;
33
33
  $el: any;
34
34
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -45,7 +45,7 @@ declare const _default: {
45
45
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
46
46
  direction: "row" | "column";
47
47
  steps: Steps['steps'];
48
- }> & {
48
+ }, {}, string> & {
49
49
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
50
50
  created?: ((() => void) | (() => void)[]) | undefined;
51
51
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -60,11 +60,11 @@ declare const _default: {
60
60
  unmounted?: ((() => void) | (() => void)[]) | undefined;
61
61
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
62
62
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
63
- 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;
63
+ 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;
64
64
  };
65
65
  $forceUpdate: () => void;
66
66
  $nextTick: typeof import("vue").nextTick;
67
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
67
+ $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;
68
68
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
69
69
  id: Steps['id'];
70
70
  steps: Steps['steps'];
@@ -76,7 +76,7 @@ declare const _default: {
76
76
  text: string;
77
77
  subtitle: string;
78
78
  }[];
79
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
79
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
80
80
  __isFragment?: undefined;
81
81
  __isTeleport?: undefined;
82
82
  __isSuspense?: undefined;
@@ -94,10 +94,10 @@ declare const _default: {
94
94
  }>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
95
95
  direction: "row" | "column";
96
96
  steps: Steps['steps'];
97
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
97
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
98
98
  export default _default;
99
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
100
- declare type __VLS_TypePropsToRuntimeProps<T> = {
99
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
100
+ type __VLS_TypePropsToRuntimeProps<T> = {
101
101
  [K in keyof T]-?: {} extends Pick<T, K> ? {
102
102
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
103
103
  } : {
@@ -105,7 +105,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
105
105
  required: true;
106
106
  };
107
107
  };
108
- declare type __VLS_WithDefaults<P, D> = {
108
+ type __VLS_WithDefaults<P, D> = {
109
109
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
110
110
  default: D[K];
111
111
  } : P[K];
@@ -3,7 +3,7 @@ export interface Steps {
3
3
  steps?: Step[];
4
4
  direction?: 'row' | 'column';
5
5
  }
6
- export declare type Step = {
6
+ export type Step = {
7
7
  key: string;
8
8
  text: string;
9
9
  finished?: boolean;
@@ -19,8 +19,8 @@ declare const _default: {
19
19
  $slots: Readonly<{
20
20
  [name: string]: import("vue").Slot | undefined;
21
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;
22
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
23
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
24
24
  $emit: (event: string, ...args: any[]) => void;
25
25
  $el: any;
26
26
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -29,7 +29,7 @@ declare const _default: {
29
29
  disabled?: TabItem['disabled'];
30
30
  active?: TabItem['active'];
31
31
  gtmId?: TabItem['gtmId'];
32
- }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & {
32
+ }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & {
33
33
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
34
34
  created?: ((() => void) | (() => void)[]) | undefined;
35
35
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -44,18 +44,18 @@ declare const _default: {
44
44
  unmounted?: ((() => void) | (() => void)[]) | undefined;
45
45
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
46
46
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
47
- 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;
47
+ 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;
48
48
  };
49
49
  $forceUpdate: () => void;
50
50
  $nextTick: typeof import("vue").nextTick;
51
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
51
+ $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;
52
52
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
53
53
  id: TabItem['id'];
54
54
  label?: string | undefined;
55
55
  disabled?: TabItem['disabled'];
56
56
  active?: TabItem['active'];
57
57
  gtmId?: TabItem['gtmId'];
58
- }>, {}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
58
+ }>, {}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
59
59
  __isFragment?: undefined;
60
60
  __isTeleport?: undefined;
61
61
  __isSuspense?: undefined;
@@ -65,14 +65,14 @@ declare const _default: {
65
65
  disabled?: TabItem['disabled'];
66
66
  active?: TabItem['active'];
67
67
  gtmId?: TabItem['gtmId'];
68
- }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
68
+ }>, {}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
69
69
  $slots: {
70
70
  icon: (_: {}) => any;
71
71
  };
72
72
  });
73
73
  export default _default;
74
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
- declare type __VLS_TypePropsToRuntimeProps<T> = {
74
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
+ type __VLS_TypePropsToRuntimeProps<T> = {
76
76
  [K in keyof T]-?: {} extends Pick<T, K> ? {
77
77
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
78
  } : {
@@ -80,7 +80,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
80
80
  required: true;
81
81
  };
82
82
  };
83
- declare type __VLS_WithDefaults<P, D> = {
83
+ type __VLS_WithDefaults<P, D> = {
84
84
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
85
85
  default: D[K];
86
86
  } : P[K];
@@ -34,8 +34,8 @@ declare const _default: {
34
34
  $slots: Readonly<{
35
35
  [name: string]: import("vue").Slot | undefined;
36
36
  }>;
37
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
38
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
37
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
38
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
39
39
  $emit: ((event: "update:tabList", tab: TabList[]) => void) & ((event: "tabitem:active", tab: TabList) => void);
40
40
  $el: any;
41
41
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -63,7 +63,7 @@ declare const _default: {
63
63
  "tabitem:active": (tab: TabList) => void;
64
64
  }, string, {
65
65
  tabList: Tabs['tabList'];
66
- }> & {
66
+ }, {}, string> & {
67
67
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
68
68
  created?: ((() => void) | (() => void)[]) | undefined;
69
69
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -78,11 +78,11 @@ declare const _default: {
78
78
  unmounted?: ((() => void) | (() => void)[]) | undefined;
79
79
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
80
80
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
81
- 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;
81
+ 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;
82
82
  };
83
83
  $forceUpdate: () => void;
84
84
  $nextTick: typeof import("vue").nextTick;
85
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
85
+ $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;
86
86
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
87
87
  id: Tabs['id'];
88
88
  tabList?: TabList[] | undefined;
@@ -102,7 +102,7 @@ declare const _default: {
102
102
  }>>> & {
103
103
  "onUpdate:tabList"?: ((tab: TabList[]) => any) | undefined;
104
104
  "onTabitem:active"?: ((tab: TabList) => any) | undefined;
105
- } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
105
+ } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
106
106
  __isFragment?: undefined;
107
107
  __isTeleport?: undefined;
108
108
  __isSuspense?: undefined;
@@ -131,10 +131,10 @@ declare const _default: {
131
131
  "tabitem:active": (tab: TabList) => void;
132
132
  }, string, {
133
133
  tabList: Tabs['tabList'];
134
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
134
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
135
135
  export default _default;
136
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
137
- declare type __VLS_TypePropsToRuntimeProps<T> = {
136
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
137
+ type __VLS_TypePropsToRuntimeProps<T> = {
138
138
  [K in keyof T]-?: {} extends Pick<T, K> ? {
139
139
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
140
140
  } : {
@@ -142,7 +142,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
142
142
  required: true;
143
143
  };
144
144
  };
145
- declare type __VLS_WithDefaults<P, D> = {
145
+ type __VLS_WithDefaults<P, D> = {
146
146
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
147
147
  default: D[K];
148
148
  } : P[K];
@@ -1,4 +1,4 @@
1
- export declare type TabList = {
1
+ export type TabList = {
2
2
  label: string;
3
3
  disabled?: boolean;
4
4
  active?: boolean;
@@ -0,0 +1,3 @@
1
+ export default function useDownload(): {
2
+ downloadFile: (url: string, name?: string) => Promise<void>;
3
+ };
@@ -5,7 +5,7 @@ export declare const MaskPresets: {
5
5
  readonly CPF_CNPJ: readonly ["###.###.###-##", "##.###.###/#####-##"];
6
6
  readonly MobilePhoneDDD: "(##) # ####-####";
7
7
  };
8
- export declare type Mask = string | string[] | {
8
+ export type Mask = string | string[] | {
9
9
  preset: keyof typeof MaskPresets;
10
10
  mask?: string;
11
11
  tokens?: any;
@@ -1,18 +1,18 @@
1
1
  import type { Ref, VNodeRef } from "vue";
2
- declare type Arrows = 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight';
3
- declare type Commands = 'Home' | 'End' | 'Space' | 'Enter' | 'NumpadEnter' | 'Escape' | 'Tab' | 'Delete' | 'Backspace';
4
- declare type Numbers = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
5
- declare type Alphabetic = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'U' | 'T' | 'W' | 'X' | 'Y' | 'Z';
6
- declare type DigitNumbers = `Digit${Numbers}`;
7
- declare type NumpadNumbers = `Numpad${Numbers}`;
8
- declare type KeyLetters = `Key${Alphabetic}`;
9
- export declare type Code = Commands | Arrows | KeyLetters | DigitNumbers | NumpadNumbers;
10
- export declare type Codes = Partial<Record<Code, () => void>>;
11
- export declare type UseNavigateArgs = {
2
+ type Arrows = 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight';
3
+ type Commands = 'Home' | 'End' | 'Space' | 'Enter' | 'NumpadEnter' | 'Escape' | 'Tab' | 'Delete' | 'Backspace';
4
+ type Numbers = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
5
+ type Alphabetic = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'U' | 'T' | 'W' | 'X' | 'Y' | 'Z';
6
+ type DigitNumbers = `Digit${Numbers}`;
7
+ type NumpadNumbers = `Numpad${Numbers}`;
8
+ type KeyLetters = `Key${Alphabetic}`;
9
+ export type Code = Commands | Arrows | KeyLetters | DigitNumbers | NumpadNumbers;
10
+ export type Codes = Partial<Record<Code, () => void>>;
11
+ export type UseNavigateArgs = {
12
12
  fallback: () => void;
13
13
  exclude?: Code | Code[];
14
14
  };
15
- export declare type Args = {
15
+ export type Args = {
16
16
  target: Ref<VNodeRef> | undefined;
17
17
  query?: string;
18
18
  };
@@ -42,8 +42,8 @@ declare const _default: {
42
42
  $slots: Readonly<{
43
43
  [name: string]: import("vue").Slot | undefined;
44
44
  }>;
45
- $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
46
- $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
45
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
46
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
47
47
  $emit: (event: string, ...args: any[]) => void;
48
48
  $el: any;
49
49
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
@@ -75,7 +75,7 @@ declare const _default: {
75
75
  visible: boolean;
76
76
  hideProgressBar: boolean;
77
77
  showIcon: boolean;
78
- }> & {
78
+ }, {}, string> & {
79
79
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
80
80
  created?: ((() => void) | (() => void)[]) | undefined;
81
81
  beforeMount?: ((() => void) | (() => void)[]) | undefined;
@@ -90,11 +90,11 @@ declare const _default: {
90
90
  unmounted?: ((() => void) | (() => void)[]) | undefined;
91
91
  renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
92
92
  renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
93
- 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;
93
+ 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;
94
94
  };
95
95
  $forceUpdate: () => void;
96
96
  $nextTick: typeof import("vue").nextTick;
97
- $watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
97
+ $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;
98
98
  } & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
99
99
  id: string | number;
100
100
  type: ToastOptions['type'];
@@ -117,7 +117,7 @@ declare const _default: {
117
117
  hideProgressBar: boolean | undefined;
118
118
  offset: number;
119
119
  visible: boolean;
120
- }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
120
+ }>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
121
121
  __isFragment?: undefined;
122
122
  __isTeleport?: undefined;
123
123
  __isSuspense?: undefined;
@@ -150,7 +150,7 @@ declare const _default: {
150
150
  visible: boolean;
151
151
  hideProgressBar: boolean;
152
152
  showIcon: boolean;
153
- }> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
153
+ }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
154
154
  $slots: {
155
155
  'icon-status': (_: {
156
156
  type: import("./types").ToastType | undefined;
@@ -160,8 +160,8 @@ declare const _default: {
160
160
  };
161
161
  });
162
162
  export default _default;
163
- declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
164
- declare type __VLS_TypePropsToRuntimeProps<T> = {
163
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
164
+ type __VLS_TypePropsToRuntimeProps<T> = {
165
165
  [K in keyof T]-?: {} extends Pick<T, K> ? {
166
166
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
167
167
  } : {
@@ -169,7 +169,7 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
169
169
  required: true;
170
170
  };
171
171
  };
172
- declare type __VLS_WithDefaults<P, D> = {
172
+ type __VLS_WithDefaults<P, D> = {
173
173
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
174
174
  default: D[K];
175
175
  } : P[K];
@@ -1,5 +1,5 @@
1
1
  import type { ContentTostParams, Position, ToastOptionsLimited } from './types';
2
- declare type createToastReturn = {
2
+ type createToastReturn = {
3
3
  close: (id: number, position: Position) => void;
4
4
  };
5
5
  declare function clearAllToasts(): void;
@@ -1,6 +1,6 @@
1
1
  import type { VNode } from 'vue';
2
- export declare type ToastType = 'informative' | 'error' | 'warning' | 'success';
3
- export declare type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
2
+ export type ToastType = 'informative' | 'error' | 'warning' | 'success';
3
+ export type Position = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top-center' | 'bottom-center';
4
4
  export interface ToastContent {
5
5
  type?: ToastType;
6
6
  title?: string;
@@ -47,4 +47,4 @@ export interface ToastComponent {
47
47
  hideProgress?: boolean;
48
48
  showIcon?: boolean;
49
49
  }
50
- export declare type ContentTostParams = ToastContent | string;
50
+ export type ContentTostParams = ToastContent | string;
@@ -1,6 +1,6 @@
1
1
  import type { useField } from 'vee-validate';
2
2
  import type { ComputedRef, Ref } from 'vue';
3
- declare type Error = ComputedRef<string | null>;
3
+ type Error = ComputedRef<string | null>;
4
4
  export interface ParentValidation<T = unknown> {
5
5
  error?: Error;
6
6
  useFieldParent?: typeof useField;
@@ -11,7 +11,7 @@ export interface VModelSetting<T = unknown> {
11
11
  propKey: string;
12
12
  emit: (args: T) => void;
13
13
  }
14
- export declare type ValidateFieldReturn<T = string> = {
14
+ export type ValidateFieldReturn<T = string> = {
15
15
  value: Ref<T>;
16
16
  errorMessage: ComputedRef<string | null> | undefined;
17
17
  };