@caipira/tamandua 0.0.9 → 0.0.10

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 (239) hide show
  1. package/dist/Avatar.js +2 -2
  2. package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +51 -0
  3. package/dist/{Button-Bzvqv1bQ.js → Button-BVshp51o.js} +2 -2
  4. package/dist/Button.js +2 -2
  5. package/dist/{Button.vue_vue_type_style_index_0_scoped_5056001e_lang-DmQxrvfv.js → Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js} +24 -24
  6. package/dist/ButtonCopy.js +2 -2
  7. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js +42 -0
  8. package/dist/{Drawer-DH5EEenO.js → Drawer-omdZnBPG.js} +6 -6
  9. package/dist/Drawer.js +2 -2
  10. package/dist/Dropdown.js +2 -2
  11. package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js → Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js} +2 -2
  12. package/dist/FileDrop.js +2 -2
  13. package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js → FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js} +2 -2
  14. package/dist/Form.js +2 -2
  15. package/dist/{Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js → Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js} +11 -11
  16. package/dist/GraphyPrice.js +2 -2
  17. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js} +1 -1
  18. package/dist/Icon.js +2 -2
  19. package/dist/{Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js → Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js} +16 -16
  20. package/dist/IconButton.js +2 -2
  21. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js → IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js} +30 -30
  22. package/dist/InputAvatar.js +2 -2
  23. package/dist/{InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js → InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js} +7 -7
  24. package/dist/InputColor.js +2 -2
  25. package/dist/{InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js → InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js} +2 -2
  26. package/dist/InputDate.js +2 -2
  27. package/dist/{InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js → InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js} +44 -44
  28. package/dist/InputPassword.js +2 -2
  29. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js → InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js} +15 -15
  30. package/dist/InputPhone.js +2 -2
  31. package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js → InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js} +4 -4
  32. package/dist/InputPrice.js +2 -2
  33. package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js → InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js} +7 -7
  34. package/dist/InputRadio.js +2 -2
  35. package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js → InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js} +1 -1
  36. package/dist/InputSelect.js +2 -2
  37. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js → InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js} +67 -67
  38. package/dist/InputSwitch.js +2 -2
  39. package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js → InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js} +6 -6
  40. package/dist/InputText.js +2 -2
  41. package/dist/{InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js → InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js} +3 -3
  42. package/dist/InputTextarea.js +2 -2
  43. package/dist/{InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js → InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js} +7 -7
  44. package/dist/Modal.js +2 -2
  45. package/dist/{Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js → Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js} +1 -1
  46. package/dist/ModalForm.js +2 -2
  47. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js → ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js} +1 -1
  48. package/dist/Popconfirm.js +2 -2
  49. package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js → Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js} +1 -1
  50. package/dist/Popover.js +2 -2
  51. package/dist/{Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js → Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js} +95 -95
  52. package/dist/{ProgressCircle-iWjZBZwm.js → ProgressCircle-BY2eeyGY.js} +7 -7
  53. package/dist/ProgressCircle.js +2 -2
  54. package/dist/{ProgressLine-BT-YgI1t.js → ProgressLine-CfZKbUcx.js} +1 -1
  55. package/dist/ProgressLine.js +2 -2
  56. package/dist/{Table-CTeoQmG3.js → Table-grkQ9tby.js} +2 -2
  57. package/dist/Table.js +2 -2
  58. package/dist/Tag.js +2 -2
  59. package/dist/{Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js → Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js} +5 -5
  60. package/dist/Toast.js +2 -2
  61. package/dist/{Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js → Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js} +11 -11
  62. package/dist/components.js +30 -30
  63. package/dist/composables.js +16 -12
  64. package/dist/{crud-d9NUddtZ.js → crud-lKm5HfM4.js} +5 -6
  65. package/dist/enums.js +2 -2
  66. package/dist/{index-DBecmJ_I.js → form-BkXpIJ0e.js} +3 -4
  67. package/dist/form2.js +1 -1
  68. package/dist/{plugin-Dg87-qPm.js → plugin--F5QK2vy.js} +1 -1
  69. package/dist/{plugin-DDPcV7Fj.js → plugin-3VDgn3kO.js} +1 -1
  70. package/dist/{plugin-CoGzF5YO.js → plugin-7M6YmkX3.js} +1 -1
  71. package/dist/{plugin-turENJ3j.js → plugin-A7Ru6-Ae.js} +1 -1
  72. package/dist/{plugin-BHaaQBWr.js → plugin-AFgt8nH4.js} +1 -1
  73. package/dist/{plugin-BTfinCzO.js → plugin-BCt5Fd1Y.js} +1 -1
  74. package/dist/{plugin-CF2ujTru.js → plugin-BLdCHEGS.js} +1 -1
  75. package/dist/{plugin-CIRUNt1_.js → plugin-BURDNZOq.js} +1 -1
  76. package/dist/{plugin-BPR3wKP8.js → plugin-BZC231Oj.js} +1 -1
  77. package/dist/{plugin-DdrfzyNc.js → plugin-BrwUi1gG.js} +13 -13
  78. package/dist/{plugin-rFDM6yOH.js → plugin-C3tFXHbZ.js} +1 -1
  79. package/dist/{plugin-Dbdsdqqh.js → plugin-CGg5IOSy.js} +1 -1
  80. package/dist/{plugin-B5Guy9c3.js → plugin-CIK2QwfI.js} +1 -1
  81. package/dist/{plugin-Br57SoWk.js → plugin-CNoSZVuJ.js} +1 -1
  82. package/dist/{plugin-C27tBvHp.js → plugin-Ce0OhiOa.js} +1 -1
  83. package/dist/{plugin-hpCgD9-h.js → plugin-Cp-YlP7M.js} +1 -1
  84. package/dist/{plugin-Xg1SCgfO.js → plugin-CqcxTgW6.js} +1 -1
  85. package/dist/{plugin-CxGfRAW1.js → plugin-CwJMh4ht.js} +1 -1
  86. package/dist/{plugin-CHF44uaz.js → plugin-D9vhvf_z.js} +1 -1
  87. package/dist/{plugin-APHHlXVq.js → plugin-DAoreRkB.js} +1 -1
  88. package/dist/{plugin-CSrviP_c.js → plugin-DGx9kLvd.js} +1 -1
  89. package/dist/{plugin-DSCBycRO.js → plugin-DLUdf4JV.js} +1 -1
  90. package/dist/{plugin-BC-6G-0o.js → plugin-DRcJuXpS.js} +1 -1
  91. package/dist/{plugin-Bg2uvrOR.js → plugin-DT7LVAli.js} +1 -1
  92. package/dist/{plugin-C2MSl67l.js → plugin-DXSsGfRI.js} +1 -1
  93. package/dist/{plugin-nzCD2cWq.js → plugin-DYnmuOWz.js} +1 -1
  94. package/dist/{plugin-BeNCIHgJ.js → plugin-DkDbha5K.js} +1 -1
  95. package/dist/{plugin-BLe_xel4.js → plugin-DmkLbCIU.js} +1 -1
  96. package/dist/{plugin-CpACKUGt.js → plugin-DppW8rQi.js} +1 -1
  97. package/dist/{plugin--u5hKcI0.js → plugin-c1rFpmlH.js} +1 -1
  98. package/dist/plugins-QF-BxY4i.js +107 -0
  99. package/dist/plugins.js +44 -44
  100. package/dist/tamandua.js +1 -1
  101. package/dist/types/components/Avatar/Avatar.vue.d.ts +5 -20
  102. package/dist/types/components/Avatar/index.d.ts +1 -0
  103. package/dist/types/components/Avatar/types.d.ts +11 -0
  104. package/dist/types/components/Backdrop/Backdrop.vue.d.ts +4 -6
  105. package/dist/types/components/Backdrop/index.d.ts +1 -0
  106. package/dist/types/components/Backdrop/types.d.ts +6 -0
  107. package/dist/types/components/Button/Button.vue.d.ts +8 -66
  108. package/dist/types/components/Button/index.d.ts +1 -0
  109. package/dist/types/components/Button/types.d.ts +23 -0
  110. package/dist/types/components/ButtonCopy/ButtonCopy.vue.d.ts +4 -9
  111. package/dist/types/components/ButtonCopy/index.d.ts +1 -0
  112. package/dist/types/components/ButtonCopy/types.d.ts +4 -0
  113. package/dist/types/components/Drawer/Drawer.vue.d.ts +2 -56
  114. package/dist/types/components/Drawer/index.d.ts +1 -0
  115. package/dist/types/components/Drawer/types.d.ts +11 -0
  116. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +4 -108
  117. package/dist/types/components/Dropdown/index.d.ts +1 -0
  118. package/dist/types/components/Dropdown/types.d.ts +25 -0
  119. package/dist/types/components/FileDrop/FileDrop.vue.d.ts +6 -12
  120. package/dist/types/components/FileDrop/index.d.ts +1 -0
  121. package/dist/types/components/FileDrop/types.d.ts +8 -0
  122. package/dist/types/components/Form/Form.vue.d.ts +11 -26
  123. package/dist/types/components/Form/index.d.ts +1 -0
  124. package/dist/types/components/Form/types.d.ts +21 -0
  125. package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -10
  126. package/dist/types/components/FormItem/index.d.ts +1 -0
  127. package/dist/types/components/FormItem/types.d.ts +5 -0
  128. package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +3 -5
  129. package/dist/types/components/GraphyEmpty/index.d.ts +1 -0
  130. package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
  131. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +2 -34
  132. package/dist/types/components/GraphyLabel/index.d.ts +1 -0
  133. package/dist/types/components/GraphyLabel/types.d.ts +5 -0
  134. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +4 -15
  135. package/dist/types/components/GraphyPrice/index.d.ts +1 -0
  136. package/dist/types/components/GraphyPrice/types.d.ts +9 -0
  137. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +2 -29
  138. package/dist/types/components/GraphySubtitle/index.d.ts +1 -0
  139. package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
  140. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +3 -14
  141. package/dist/types/components/GraphyTitle/index.d.ts +1 -0
  142. package/dist/types/components/GraphyTitle/types.d.ts +3 -0
  143. package/dist/types/components/Icon/Icon.vue.d.ts +3 -37
  144. package/dist/types/components/Icon/index.d.ts +1 -0
  145. package/dist/types/components/Icon/types.d.ts +7 -0
  146. package/dist/types/components/IconButton/IconButton.vue.d.ts +10 -68
  147. package/dist/types/components/IconButton/index.d.ts +1 -0
  148. package/dist/types/components/IconButton/types.d.ts +23 -0
  149. package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +6 -8
  150. package/dist/types/components/InputAvatar/index.d.ts +1 -0
  151. package/dist/types/components/InputAvatar/types.d.ts +6 -0
  152. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +2 -50
  153. package/dist/types/components/InputCheckbox/index.d.ts +1 -0
  154. package/dist/types/components/InputCheckbox/types.d.ts +11 -0
  155. package/dist/types/components/InputColor/InputColor.vue.d.ts +2 -38
  156. package/dist/types/components/InputColor/index.d.ts +1 -0
  157. package/dist/types/components/InputColor/types.d.ts +8 -0
  158. package/dist/types/components/InputDate/InputDate.vue.d.ts +3 -22
  159. package/dist/types/components/InputDate/index.d.ts +1 -0
  160. package/dist/types/components/InputDate/types.d.ts +15 -0
  161. package/dist/types/components/InputPassword/InputPassword.vue.d.ts +3 -12
  162. package/dist/types/components/InputPassword/index.d.ts +1 -0
  163. package/dist/types/components/InputPassword/types.d.ts +17 -0
  164. package/dist/types/components/InputPhone/InputPhone.vue.d.ts +19 -16
  165. package/dist/types/components/InputPhone/index.d.ts +1 -0
  166. package/dist/types/components/InputPhone/types.d.ts +13 -0
  167. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +2 -37
  168. package/dist/types/components/InputPrice/index.d.ts +1 -0
  169. package/dist/types/components/InputPrice/types.d.ts +10 -0
  170. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +3 -16
  171. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +2 -35
  172. package/dist/types/components/InputRadio/index.d.ts +1 -0
  173. package/dist/types/components/InputRadio/types.d.ts +12 -0
  174. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2 -106
  175. package/dist/types/components/InputSelect/index.d.ts +1 -0
  176. package/dist/types/components/InputSelect/types.d.ts +31 -0
  177. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +2 -38
  178. package/dist/types/components/InputSwitch/index.d.ts +1 -0
  179. package/dist/types/components/InputSwitch/types.d.ts +8 -0
  180. package/dist/types/components/InputText/InputText.vue.d.ts +4 -16
  181. package/dist/types/components/InputText/index.d.ts +1 -0
  182. package/dist/types/components/InputText/types.d.ts +12 -0
  183. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +2 -48
  184. package/dist/types/components/InputTextarea/index.d.ts +1 -0
  185. package/dist/types/components/InputTextarea/types.d.ts +10 -0
  186. package/dist/types/components/LineChart/LineChart.vue.d.ts +3 -16
  187. package/dist/types/components/LineChart/index.d.ts +1 -0
  188. package/dist/types/components/LineChart/types.d.ts +4 -0
  189. package/dist/types/components/Modal/Modal.vue.d.ts +2 -59
  190. package/dist/types/components/Modal/index.d.ts +1 -0
  191. package/dist/types/components/Modal/types.d.ts +10 -0
  192. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +4 -18
  193. package/dist/types/components/ModalForm/index.d.ts +1 -0
  194. package/dist/types/components/ModalForm/types.d.ts +17 -0
  195. package/dist/types/components/Pagination/Pagination.vue.d.ts +2 -48
  196. package/dist/types/components/Pagination/index.d.ts +1 -0
  197. package/dist/types/components/Pagination/types.d.ts +11 -0
  198. package/dist/types/components/PieChart/PieChart.vue.d.ts +3 -16
  199. package/dist/types/components/PieChart/index.d.ts +1 -0
  200. package/dist/types/components/PieChart/types.d.ts +4 -0
  201. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +2 -38
  202. package/dist/types/components/Popconfirm/index.d.ts +1 -0
  203. package/dist/types/components/Popconfirm/types.d.ts +9 -0
  204. package/dist/types/components/Popover/Popover.vue.d.ts +4 -17
  205. package/dist/types/components/Popover/index.d.ts +1 -0
  206. package/dist/types/components/Popover/types.d.ts +10 -0
  207. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +2 -47
  208. package/dist/types/components/ProgressCircle/index.d.ts +1 -0
  209. package/dist/types/components/ProgressCircle/types.d.ts +7 -0
  210. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +2 -66
  211. package/dist/types/components/ProgressLine/index.d.ts +1 -0
  212. package/dist/types/components/ProgressLine/types.d.ts +12 -0
  213. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +3 -14
  214. package/dist/types/components/SensitiveInfo/index.d.ts +1 -0
  215. package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
  216. package/dist/types/components/Tab/Tab.vue.d.ts +3 -30
  217. package/dist/types/components/Tab/index.d.ts +1 -0
  218. package/dist/types/components/Tab/types.d.ts +5 -0
  219. package/dist/types/components/Table/Table.vue.d.ts +5 -12
  220. package/dist/types/components/Table/index.d.ts +1 -1
  221. package/dist/types/components/Table/types.d.ts +4 -0
  222. package/dist/types/components/Toast/Toast.vue.d.ts +3 -20
  223. package/dist/types/components/Toast/index.d.ts +1 -0
  224. package/dist/types/components/Toast/types.d.ts +8 -0
  225. package/dist/types/components/index.d.ts +42 -42
  226. package/dist/types/composables/index.d.ts +3 -1
  227. package/dist/types/composables/useClipboard.d.ts +3 -0
  228. package/dist/types/composables/useDomHelpers.d.ts +7 -0
  229. package/dist/types/form/crud.d.ts +1 -1
  230. package/dist/{ui-BLR-4Xlv.js → ui-DtSy-y9T.js} +4 -4
  231. package/dist/useClipboard-BHFD0Jvv.js +11 -0
  232. package/dist/useDomHelpers-5CFMo6bx.js +23 -0
  233. package/package.json +1 -1
  234. package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +0 -51
  235. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +0 -43
  236. package/dist/plugins-DumG9GBB.js +0 -107
  237. package/dist/types/services/clipboard.d.ts +0 -2
  238. package/dist/types/services/ui.d.ts +0 -9
  239. package/dist/ui-MicIL_Lw.js +0 -23
@@ -1,21 +1,15 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- types?: any;
3
- multiple?: boolean | undefined;
4
- modelValue?: File[] | undefined;
5
- }>, {
1
+ import { FileDropProps } from './types.js';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileDropProps>, {
6
4
  multiple: boolean;
7
5
  modelValue: () => never[];
8
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (val: any) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- types?: any;
12
- multiple?: boolean | undefined;
13
- modelValue?: File[] | undefined;
14
- }>, {
7
+ "update:model-value": (val: any) => void;
8
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FileDropProps>, {
15
9
  multiple: boolean;
16
10
  modelValue: () => never[];
17
11
  }>>> & {
18
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
12
+ "onUpdate:model-value"?: ((val: any) => any) | undefined;
19
13
  }, {
20
14
  multiple: boolean;
21
15
  modelValue: File[];
@@ -2,3 +2,4 @@ import { default as FileDropPlugin } from './plugin.js';
2
2
  import { default as FileDrop } from './FileDrop.vue';
3
3
 
4
4
  export { FileDrop, FileDropPlugin };
5
+ export type { FileDropProps, FileDropEvents } from './types.js';
@@ -0,0 +1,8 @@
1
+ export type FileDropProps = {
2
+ types?: any;
3
+ multiple?: boolean;
4
+ modelValue?: File[];
5
+ };
6
+ export type FileDropEvents = {
7
+ (e: "update:model-value", val: any): void;
8
+ };
@@ -1,18 +1,16 @@
1
- import { FormStyle, FormSchema, FormInstance, ValidationResult } from '../../types/form.js';
2
1
  import { FormSubmissionFormat } from '../../enums/form.js';
3
- import { ButtonProps } from '../Button/Button.vue';
4
2
  import { ElementVariant } from '../../enums/ui.js';
3
+ import { FormSchema, FormInstance } from '../../types/form.js';
4
+ import { FormEvents } from './types.js';
5
5
 
6
6
  declare const _default: <T extends FormSchema>(__VLS_props: {
7
- onChange?: ((val: FormInstance<T>) => any) | undefined;
8
- onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
9
- formStyle?: FormStyle | undefined;
7
+ formStyle?: import('../../types/form.js').FormStyle | undefined;
10
8
  id?: string | undefined;
11
9
  idKey?: string | undefined;
12
10
  schema?: T | undefined;
13
11
  showSubmit?: boolean | undefined;
14
12
  submitLabel?: string | undefined;
15
- buttonProps?: ButtonProps | undefined;
13
+ buttonProps?: import('../index.js').ButtonProps | undefined;
16
14
  buttonVariant?: ElementVariant | undefined;
17
15
  submissionFormat?: FormSubmissionFormat | undefined;
18
16
  buttonWrapperClasses?: string | undefined;
@@ -23,10 +21,7 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
23
21
  form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
24
22
  }): any;
25
23
  };
26
- emit: {
27
- (e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
28
- (e: "change", val: FormInstance<T>): void;
29
- };
24
+ emit: FormEvents;
30
25
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
31
26
  submit: () => Promise<void>;
32
27
  reset: () => void;
@@ -36,15 +31,13 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
36
31
  getValue: (key: string) => any;
37
32
  }>) => void) | undefined, __VLS_setup?: Promise<{
38
33
  props: {
39
- onChange?: ((val: FormInstance<T>) => any) | undefined;
40
- onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
41
- formStyle?: FormStyle | undefined;
34
+ formStyle?: import('../../types/form.js').FormStyle | undefined;
42
35
  id?: string | undefined;
43
36
  idKey?: string | undefined;
44
37
  schema?: T | undefined;
45
38
  showSubmit?: boolean | undefined;
46
39
  submitLabel?: string | undefined;
47
- buttonProps?: ButtonProps | undefined;
40
+ buttonProps?: import('../index.js').ButtonProps | undefined;
48
41
  buttonVariant?: ElementVariant | undefined;
49
42
  submissionFormat?: FormSubmissionFormat | undefined;
50
43
  buttonWrapperClasses?: string | undefined;
@@ -63,24 +56,19 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
63
56
  form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
64
57
  }): any;
65
58
  };
66
- emit: {
67
- (e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
68
- (e: "change", val: FormInstance<T>): void;
69
- };
59
+ emit: FormEvents;
70
60
  }>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
71
61
  [key: string]: any;
72
62
  }> & {
73
63
  __ctx?: {
74
64
  props: {
75
- onChange?: ((val: FormInstance<T>) => any) | undefined;
76
- onSubmit?: ((val: ValidationResult<FormSubmissionFormat>) => any) | undefined;
77
- formStyle?: FormStyle | undefined;
65
+ formStyle?: import('../../types/form.js').FormStyle | undefined;
78
66
  id?: string | undefined;
79
67
  idKey?: string | undefined;
80
68
  schema?: T | undefined;
81
69
  showSubmit?: boolean | undefined;
82
70
  submitLabel?: string | undefined;
83
- buttonProps?: ButtonProps | undefined;
71
+ buttonProps?: import('../index.js').ButtonProps | undefined;
84
72
  buttonVariant?: ElementVariant | undefined;
85
73
  submissionFormat?: FormSubmissionFormat | undefined;
86
74
  buttonWrapperClasses?: string | undefined;
@@ -99,10 +87,7 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
99
87
  form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T>>>;
100
88
  }): any;
101
89
  };
102
- emit: {
103
- (e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
104
- (e: "change", val: FormInstance<T>): void;
105
- };
90
+ emit: FormEvents;
106
91
  } | undefined;
107
92
  };
108
93
  export default _default;
@@ -2,3 +2,4 @@ import { default as FormPlugin } from './plugin.js';
2
2
  import { default as Form } from './Form.vue';
3
3
 
4
4
  export { Form, FormPlugin };
5
+ export type { FormProps, FormEvents } from './types.js';
@@ -0,0 +1,21 @@
1
+ import { FormSubmissionFormat } from '../../enums/form.js';
2
+ import { ElementVariant } from '../../enums/ui.js';
3
+ import { FormSchema, FormStyle, FormInstance, ValidationResult } from '../../types/form.js';
4
+ import { ButtonProps } from '../Button/types.js';
5
+
6
+ export type FormProps<T> = {
7
+ id?: string;
8
+ idKey?: string;
9
+ schema?: T;
10
+ formStyle?: FormStyle;
11
+ showSubmit?: boolean;
12
+ submitLabel?: string;
13
+ buttonProps?: ButtonProps;
14
+ buttonVariant?: ElementVariant;
15
+ submissionFormat?: FormSubmissionFormat;
16
+ buttonWrapperClasses?: string;
17
+ };
18
+ export type FormEvents = {
19
+ (e: "submit", val: ValidationResult<FormSubmissionFormat>): void;
20
+ <T extends FormSchema>(e: "change", val: FormInstance<T>): void;
21
+ };
@@ -1,14 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- label?: string | undefined;
3
- rules?: any;
4
- inline?: boolean | undefined;
5
- }>, {
1
+ import { FormItemProps } from './types.js';
2
+
3
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
6
4
  inline: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- label?: string | undefined;
9
- rules?: any;
10
- inline?: boolean | undefined;
11
- }>, {
5
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<FormItemProps>, {
12
6
  inline: boolean;
13
7
  }>>>, {
14
8
  inline: boolean;
@@ -2,3 +2,4 @@ import { default as FormItemPlugin } from './plugin.js';
2
2
  import { default as FormItem } from './FormItem.vue';
3
3
 
4
4
  export { FormItem, FormItemPlugin };
5
+ export type { FormItemProps } from './types.js';
@@ -0,0 +1,5 @@
1
+ export type FormItemProps = {
2
+ label?: string;
3
+ rules?: any;
4
+ inline?: boolean;
5
+ };
@@ -1,8 +1,6 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- text?: string | undefined;
3
- }>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- text?: string | undefined;
5
- }>, {}>>>, {}, {}>;
1
+ import { GraphyEmptyProps } from './types.js';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyEmptyProps>, {}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyEmptyProps>, {}>>>, {}, {}>;
6
4
  export default _default;
7
5
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
6
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -2,3 +2,4 @@ import { default as GraphyEmptyPlugin } from './plugin.js';
2
2
  import { default as GraphyEmpty } from './GraphyEmpty.vue';
3
3
 
4
4
  export { GraphyEmpty, GraphyEmptyPlugin };
5
+ export type { GraphyEmptyProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ export type GraphyEmptyProps = {
2
+ text?: string;
3
+ };
@@ -1,41 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- text?: string | undefined;
3
- invertControls?: boolean | undefined;
4
- injectFormStyle?: boolean | undefined;
5
- }>, {
6
- invertControls: boolean;
7
- injectFormStyle: boolean;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
- text?: string | undefined;
10
- invertControls?: boolean | undefined;
11
- injectFormStyle?: boolean | undefined;
12
- }>, {
13
- invertControls: boolean;
14
- injectFormStyle: boolean;
15
- }>>>, {
16
- invertControls: boolean;
17
- injectFormStyle: boolean;
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
18
3
  }, {}>, {
19
4
  default?(_: {}): any;
20
5
  }>;
21
6
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
- type __VLS_WithDefaults<P, D> = {
32
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
- default: D[K];
34
- }> : P[K];
35
- };
36
- type __VLS_Prettify<T> = {
37
- [K in keyof T]: T[K];
38
- } & {};
39
7
  type __VLS_WithTemplateSlots<T, S> = T & {
40
8
  new (): {
41
9
  $slots: S;
@@ -2,3 +2,4 @@ import { default as GraphyLabelPlugin } from './plugin.js';
2
2
  import { default as GraphyLabel } from './GraphyLabel.vue';
3
3
 
4
4
  export { GraphyLabel, GraphyLabelPlugin };
5
+ export type { GraphyLabelProps } from './types.js';
@@ -0,0 +1,5 @@
1
+ export type GraphyLabelProps = {
2
+ text?: string;
3
+ invertControls?: boolean;
4
+ injectFormStyle?: boolean;
5
+ };
@@ -1,28 +1,17 @@
1
1
  import { GraphyPriceVariant } from '../../enums/ui.js';
2
+ import { GraphyPriceProps } from './types.js';
2
3
 
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- value: number;
5
- currency: string;
6
- animate?: boolean | undefined;
7
- variant?: "default" | "increase" | "decrease" | "auto" | undefined;
8
- priceColor?: string | undefined;
9
- }>, {
4
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyPriceProps>, {
10
5
  animate: boolean;
11
6
  variant: GraphyPriceVariant;
12
7
  priceColor: string;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
- value: number;
15
- currency: string;
16
- animate?: boolean | undefined;
17
- variant?: "default" | "increase" | "decrease" | "auto" | undefined;
18
- priceColor?: string | undefined;
19
- }>, {
8
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<GraphyPriceProps>, {
20
9
  animate: boolean;
21
10
  variant: GraphyPriceVariant;
22
11
  priceColor: string;
23
12
  }>>>, {
24
13
  animate: boolean;
25
- variant: `${GraphyPriceVariant}`;
14
+ variant: "default" | "increase" | "decrease" | "auto";
26
15
  priceColor: string;
27
16
  }, {}>;
28
17
  export default _default;
@@ -2,3 +2,4 @@ import { default as GraphyPricePlugin } from './plugin.js';
2
2
  import { default as GraphyPrice } from './GraphyPrice.vue';
3
3
 
4
4
  export { GraphyPrice, GraphyPricePlugin };
5
+ export type { GraphyPriceProps } from './types.js';
@@ -0,0 +1,9 @@
1
+ import { GraphyPriceVariant } from '../../enums/ui.js';
2
+
3
+ export type GraphyPriceProps = {
4
+ value: number;
5
+ currency: string;
6
+ animate?: boolean;
7
+ variant?: `${GraphyPriceVariant}`;
8
+ priceColor?: string;
9
+ };
@@ -1,31 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- text: string;
3
- textColor?: string | undefined;
4
- }>, {
5
- textColor: string;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- text: string;
8
- textColor?: string | undefined;
9
- }>, {
10
- textColor: string;
11
- }>>>, {
12
- textColor: string;
1
+ declare const _default: import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
13
3
  }, {}>;
14
4
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
@@ -2,3 +2,4 @@ import { default as GraphySubtitlePlugin } from './plugin.js';
2
2
  import { default as GraphySubtitle } from './GraphySubtitle.vue';
3
3
 
4
4
  export { GraphySubtitle, GraphySubtitlePlugin };
5
+ export type { GraphySubtitleProps } from './types.js';
@@ -0,0 +1,4 @@
1
+ export type GraphySubtitleProps = {
2
+ text: string;
3
+ textColor?: string;
4
+ };
@@ -1,15 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- text: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- text: string;
5
- }>>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
3
+ }, {}>;
6
4
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -2,3 +2,4 @@ import { default as GraphyTitlePlugin } from './plugin.js';
2
2
  import { default as GraphyTitle } from './GraphyTitle.vue';
3
3
 
4
4
  export { GraphyTitle, GraphyTitlePlugin };
5
+ export type { GraphyTitleProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ export type GraphyTitleProps = {
2
+ text: string;
3
+ };
@@ -1,40 +1,6 @@
1
- import { Icon, ElementSize } from '../../enums/ui.js';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- icon: `${Icon}`;
5
- role?: string | undefined;
6
- size?: "" | "xs" | "sm" | "lg" | "xl" | undefined;
7
- }>, {
8
- role: string;
9
- size: ElementSize;
10
- }>, {
1
+ declare const _default: import('vue').DefineComponent<any, {
11
2
  reference: import("vue").Ref<HTMLElement | null>;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- icon: `${Icon}`;
14
- role?: string | undefined;
15
- size?: "" | "xs" | "sm" | "lg" | "xl" | undefined;
16
- }>, {
17
- role: string;
18
- size: ElementSize;
19
- }>>>, {
20
- role: string;
21
- size: `${ElementSize}`;
3
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
4
+ [x: string]: any;
22
5
  }, {}>;
23
6
  export default _default;
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToRuntimeProps<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
33
- type __VLS_WithDefaults<P, D> = {
34
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
- default: D[K];
36
- }> : P[K];
37
- };
38
- type __VLS_Prettify<T> = {
39
- [K in keyof T]: T[K];
40
- } & {};
@@ -2,3 +2,4 @@ import { default as IconPlugin } from './plugin.js';
2
2
  import { default as Icon } from './Icon.vue';
3
3
 
4
4
  export { Icon, IconPlugin };
5
+ export type { IconProps } from './types.js';
@@ -0,0 +1,7 @@
1
+ import { Icon, ElementSize } from '../../enums/ui.js';
2
+
3
+ export type IconProps = {
4
+ icon: `${Icon}`;
5
+ role?: string;
6
+ size?: `${ElementSize}`;
7
+ };
@@ -1,24 +1,7 @@
1
- import { ButtonType, ElementSize, ElementShape, Icon as EIcon, ElementVariant } from '../../enums/ui.js';
1
+ import { ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
2
+ import { IconButtonProps } from './types.js';
2
3
 
3
- export type ButtonProps = {
4
- to?: any;
5
- icon: `${EIcon}`;
6
- href?: string;
7
- type?: `${ButtonType}`;
8
- size?: `${ElementSize}`;
9
- label?: string;
10
- shape?: `${ElementShape}`;
11
- target?: string;
12
- variant?: `${ElementVariant}`;
13
- multiple?: boolean;
14
- isOutline?: boolean;
15
- isDisabled?: boolean;
16
- injectStyle?: {
17
- icon: string;
18
- };
19
- disableStyle?: boolean;
20
- };
21
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
4
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
22
5
  href: string;
23
6
  type: ButtonType;
24
7
  size: ElementSize;
@@ -34,37 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
34
17
  };
35
18
  disableStyle: boolean;
36
19
  }>, {
37
- iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
38
- icon: {
39
- type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
40
- required: true;
41
- };
42
- role: {
43
- type: import("vue").PropType<string>;
44
- default: string;
45
- };
46
- size: {
47
- type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
48
- default: ElementSize;
49
- };
50
- }>>, {
20
+ iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
51
21
  reference: import("vue").Ref<HTMLElement | null>;
52
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
53
- icon: {
54
- type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
55
- required: true;
56
- };
57
- role: {
58
- type: import("vue").PropType<string>;
59
- default: string;
60
- };
61
- size: {
62
- type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
63
- default: ElementSize;
64
- };
65
- }>>, {
66
- role: string;
67
- size: "" | "xs" | "sm" | "lg" | "xl";
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<any>, {} | {
23
+ [x: string]: any;
68
24
  }, true, {}, {}, {
69
25
  P: {};
70
26
  B: {};
@@ -72,28 +28,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
72
28
  C: {};
73
29
  M: {};
74
30
  Defaults: {};
75
- }, Readonly<import("vue").ExtractPropTypes<{
76
- icon: {
77
- type: import("vue").PropType<"circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box">;
78
- required: true;
79
- };
80
- role: {
81
- type: import("vue").PropType<string>;
82
- default: string;
83
- };
84
- size: {
85
- type: import("vue").PropType<"" | "xs" | "sm" | "lg" | "xl">;
86
- default: ElementSize;
87
- };
88
- }>>, {
31
+ }, Readonly<any>, {
89
32
  reference: import("vue").Ref<HTMLElement | null>;
90
- }, {}, {}, {}, {
91
- role: string;
92
- size: "" | "xs" | "sm" | "lg" | "xl";
33
+ }, {}, {}, {}, {} | {
34
+ [x: string]: any;
93
35
  }> | null>;
94
36
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
95
37
  upload: (val: FileList) => void;
96
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
38
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
97
39
  href: string;
98
40
  type: ButtonType;
99
41
  size: ElementSize;
@@ -2,3 +2,4 @@ import { default as IconButtonPlugin } from './plugin.js';
2
2
  import { default as IconButton } from './IconButton.vue';
3
3
 
4
4
  export { IconButton, IconButtonPlugin };
5
+ export type { IconButtonProps, IconButtonEvents } from './types.js';
@@ -0,0 +1,23 @@
1
+ import { Icon, ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
2
+
3
+ export type IconButtonProps = {
4
+ to?: any;
5
+ icon: `${Icon}`;
6
+ href?: string;
7
+ type?: `${ButtonType}`;
8
+ size?: `${ElementSize}`;
9
+ label?: string;
10
+ shape?: `${ElementShape}`;
11
+ target?: string;
12
+ variant?: `${ElementVariant}`;
13
+ multiple?: boolean;
14
+ isOutline?: boolean;
15
+ isDisabled?: boolean;
16
+ injectStyle?: {
17
+ icon: string;
18
+ };
19
+ disableStyle?: boolean;
20
+ };
21
+ export type IconButtonEvents = {
22
+ (e: "upload", val: FileList): void;
23
+ };
@@ -1,11 +1,9 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- modelValue?: string | File | undefined;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
- "update:modelValue": (val: File) => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
- modelValue?: string | File | undefined;
7
- }>>> & {
8
- "onUpdate:modelValue"?: ((val: File) => any) | undefined;
1
+ import { InputAvatarProps } from './types.ts';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<InputAvatarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ "update:model-value": (val: File) => void;
5
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InputAvatarProps>>> & {
6
+ "onUpdate:model-value"?: ((val: File) => any) | undefined;
9
7
  }, {}, {}>;
10
8
  export default _default;
11
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;