@caipira/tamandua 0.0.12 → 0.0.14

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 (312) hide show
  1. package/README.md +3 -1
  2. package/dist/Avatar.js +1 -0
  3. package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +1 -0
  4. package/dist/Backdrop.js +1 -0
  5. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +1 -0
  6. package/dist/Button-CBe3UDFT.js +7 -0
  7. package/dist/Button.css +1 -1
  8. package/dist/Button.js +3 -2
  9. package/dist/{Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js → Button.vue_vue_type_style_index_0_scoped_83f5665a_lang-BAjkC8CW.js} +3 -2
  10. package/dist/ButtonCopy.js +3 -2
  11. package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js → ButtonCopy.vue_vue_type_script_setup_true_lang-DKiQiVwp.js} +2 -1
  12. package/dist/ChartLine.css +1 -0
  13. package/dist/ChartLine.js +7 -0
  14. package/dist/ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js +825 -0
  15. package/dist/ChartTreemap.js +7 -0
  16. package/dist/ChartTreemap.vue_vue_type_script_setup_true_lang-BQsyn6Wt.js +279 -0
  17. package/dist/Drawer-omdZnBPG.js +1 -0
  18. package/dist/Drawer.js +1 -0
  19. package/dist/Dropdown.js +3 -2
  20. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +154 -0
  21. package/dist/FileDrop.js +1 -0
  22. package/dist/FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js +1 -0
  23. package/dist/Form.js +1 -0
  24. package/dist/Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js +1 -0
  25. package/dist/FormItem.js +1 -0
  26. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +1 -0
  27. package/dist/GraphyEmpty.js +1 -0
  28. package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +1 -0
  29. package/dist/GraphyLabel.js +1 -0
  30. package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +1 -0
  31. package/dist/GraphyPrice.js +1 -0
  32. package/dist/GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js +1 -0
  33. package/dist/GraphySubtitle.js +1 -0
  34. package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +1 -0
  35. package/dist/GraphyTitle.js +1 -0
  36. package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +1 -0
  37. package/dist/Icon.js +3 -2
  38. package/dist/{Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js → Icon.vue_vue_type_script_setup_true_lang-CSo7rrah.js} +27 -23
  39. package/dist/IconButton.js +3 -2
  40. package/dist/IconButton.vue_vue_type_script_setup_true_lang-Ca3OdiGJ.js +92 -0
  41. package/dist/InputAvatar.js +1 -0
  42. package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js +1 -0
  43. package/dist/InputCheckbox.js +1 -0
  44. package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +1 -0
  45. package/dist/InputColor.js +1 -0
  46. package/dist/InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js +1 -0
  47. package/dist/InputDate.js +1 -0
  48. package/dist/InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js +1 -0
  49. package/dist/InputMultiplier.js +1 -0
  50. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +1 -0
  51. package/dist/InputPassword.js +3 -2
  52. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js → InputPassword.vue_vue_type_script_setup_true_lang-DHc92ISX.js} +2 -1
  53. package/dist/InputPhone.js +1 -0
  54. package/dist/InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js +1 -0
  55. package/dist/InputPrice.js +1 -0
  56. package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js +1 -0
  57. package/dist/InputRadio.js +1 -0
  58. package/dist/InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js +1 -0
  59. package/dist/InputSelect.js +3 -2
  60. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BmupIAdQ.js +228 -0
  61. package/dist/InputSwitch.js +1 -0
  62. package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js +1 -0
  63. package/dist/InputText.js +1 -0
  64. package/dist/InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js +1 -0
  65. package/dist/InputTextarea.js +1 -0
  66. package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js +1 -0
  67. package/dist/Modal.js +1 -0
  68. package/dist/Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js +1 -0
  69. package/dist/ModalForm.js +3 -2
  70. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js → ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js} +3 -2
  71. package/dist/Pagination.js +1 -0
  72. package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +1 -0
  73. package/dist/Popconfirm.js +3 -2
  74. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-BMaHpkCO.js +64 -0
  75. package/dist/Popover.js +3 -2
  76. package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js → Popover.vue_vue_type_script_setup_true_lang-C69m5Nld.js} +320 -321
  77. package/dist/ProgressCircle-BY2eeyGY.js +1 -0
  78. package/dist/ProgressCircle.js +1 -0
  79. package/dist/{ProgressLine-CfZKbUcx.js → ProgressLine-1ZHGvPsm.js} +17 -16
  80. package/dist/ProgressLine.css +1 -1
  81. package/dist/ProgressLine.js +3 -2
  82. package/dist/SensitiveInfo.js +1 -0
  83. package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +1 -0
  84. package/dist/Tab.js +1 -0
  85. package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +1 -0
  86. package/dist/Table-grkQ9tby.js +1 -0
  87. package/dist/Table.js +1 -0
  88. package/dist/Tag.js +3 -2
  89. package/dist/Tag.vue_vue_type_script_setup_true_lang-DTfAH_Sb.js +71 -0
  90. package/dist/Toast.js +1 -0
  91. package/dist/Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js +1 -0
  92. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +1 -0
  93. package/dist/account-BJGxzbeL.js +1 -0
  94. package/dist/alert-octagon-D8wznooU.js +1 -0
  95. package/dist/alert-octagon-outline-fM2QVbyq.js +1 -0
  96. package/dist/archive-DDuuzVUo.js +1 -0
  97. package/dist/archive-outline-BT6uCRX5.js +1 -0
  98. package/dist/arrow-left-CVipcGWo.js +1 -0
  99. package/dist/arrow-right-DHFo5L72.js +1 -0
  100. package/dist/bank-lwoR1P6d.js +1 -0
  101. package/dist/bank-outline-wy0O9ni0.js +1 -0
  102. package/dist/camera-BXoPauop.js +1 -0
  103. package/dist/cards-outline-B0no8Z63.js +1 -0
  104. package/dist/cards-variant-CU6V8mdM.js +1 -0
  105. package/dist/cart-outline-C99s8OpS.js +1 -0
  106. package/dist/chart-box-outline-C9ymwfIH.js +1 -0
  107. package/dist/chart-box-tyepg_QH.js +1 -0
  108. package/dist/check-circle-C3Kf7DnE.js +1 -0
  109. package/dist/check-circle-outline-B4zmPfuc.js +1 -0
  110. package/dist/check-iUT-FuWa.js +1 -0
  111. package/dist/checkbox-TojXdFTq.js +1 -0
  112. package/dist/checkbox-dark-D_btgwCX.js +1 -0
  113. package/dist/checkbox-indeterminate-CtbmyFkw.js +1 -0
  114. package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +1 -0
  115. package/dist/chevron-down-CJLshITY.js +1 -0
  116. package/dist/chevron-left-n_sGCmlG.js +1 -0
  117. package/dist/chevron-right-C8uLqjmq.js +1 -0
  118. package/dist/chevron-up-b6VdQM8S.js +1 -0
  119. package/dist/circle-DhoEDuC5.js +1 -0
  120. package/dist/clock-BqMI2OIG.js +1 -0
  121. package/dist/close-DemH4JAO.js +1 -0
  122. package/dist/close-circle-Bvyw4JKW.js +6 -0
  123. package/dist/close-circle-outline-CUXfYV4M.js +1 -0
  124. package/dist/cog-Dd9I6z5D.js +1 -0
  125. package/dist/color-fill-DWx77G0p.js +1 -0
  126. package/dist/components.js +82 -81
  127. package/dist/composables.js +1 -0
  128. package/dist/copy-D-Dqxp8h.js +1 -0
  129. package/dist/credit-card-B3VjoUad.js +1 -0
  130. package/dist/credit-card-plus-TUZq5Zi0.js +1 -0
  131. package/dist/crud-lKm5HfM4.js +1 -0
  132. package/dist/currency-BuSji4qA.js +1 -0
  133. package/dist/database-CNG_l2Or.js +1 -0
  134. package/dist/date.js +1 -0
  135. package/dist/dots-grid-BhRGZg1t.js +1 -0
  136. package/dist/dots-vertical-nYIDxlT1.js +1 -0
  137. package/dist/email-open-outline-NlRAK8vu.js +1 -0
  138. package/dist/email-outline-v-beMKo_.js +1 -0
  139. package/dist/enums.js +1 -0
  140. package/dist/eye-C7_UM0rn.js +1 -0
  141. package/dist/eye-off-Dq2WOPSG.js +1 -0
  142. package/dist/file-document-plus-outline-C_GeG8ak.js +1 -0
  143. package/dist/filmstrip-Dg66xHap.js +1 -0
  144. package/dist/filter-07gM0IrM.js +1 -0
  145. package/dist/form-BkXpIJ0e.js +1 -0
  146. package/dist/form2.js +1 -0
  147. package/dist/fullscreen-daZRwm-1.js +1 -0
  148. package/dist/fullscreen-exit-DvHy2f8E.js +1 -0
  149. package/dist/group-B1HQcmCl.js +1 -0
  150. package/dist/image-C-DY_SfK.js +1 -0
  151. package/dist/image-album-DVl72ioK.js +1 -0
  152. package/dist/image-album-outline-oiPipPnp.js +1 -0
  153. package/dist/image-outline-CLpFyr7w.js +1 -0
  154. package/dist/index-CVD_wAsU.js +1 -0
  155. package/dist/index-CjvqeRf7.js +1 -0
  156. package/dist/index-CuyePt3m.js +1 -0
  157. package/dist/info-outline-Mn6Hjz_K.js +1 -0
  158. package/dist/key-B8iEXxGx.js +1 -0
  159. package/dist/key-chain-D-8-GrU2.js +1 -0
  160. package/dist/key-variant-DViBRFAJ.js +1 -0
  161. package/dist/listbox-outline-BBriTS-r.js +1 -0
  162. package/dist/loading-E4eFmVsP.js +1 -0
  163. package/dist/lock-Nv-e-b24.js +1 -0
  164. package/dist/lock-outline-K2LxC2b6.js +1 -0
  165. package/dist/logout-BHwFpuou.js +1 -0
  166. package/dist/menu-down-B4Fy5IG1.js +1 -0
  167. package/dist/menu-left-D8G3frKt.js +1 -0
  168. package/dist/menu-pq7WWaJu.js +1 -0
  169. package/dist/menu-right-CMt4thJ2.js +1 -0
  170. package/dist/minus-CSCkQnOm.js +1 -0
  171. package/dist/minus-circle-D_N5NZW-.js +1 -0
  172. package/dist/minus-circle-outline-B-x6EXPD.js +1 -0
  173. package/dist/moon-Bhm_ZTV6.js +1 -0
  174. package/dist/open-in-new-C2Btl_1k.js +1 -0
  175. package/dist/pencil-BETebgXX.js +1 -0
  176. package/dist/people-BUW1DRzH.js +1 -0
  177. package/dist/piggy-bank-outline-5cDQNrSU.js +1 -0
  178. package/dist/plugin--F5QK2vy.js +1 -0
  179. package/dist/plugin-2nTovNcx.js +1 -0
  180. package/dist/plugin-3VDgn3kO.js +1 -0
  181. package/dist/plugin-5vn4G57V.js +1 -0
  182. package/dist/plugin-AFgt8nH4.js +1 -0
  183. package/dist/plugin-BCt5Fd1Y.js +1 -0
  184. package/dist/plugin-BLdCHEGS.js +1 -0
  185. package/dist/{plugin-DYnmuOWz.js → plugin-BRY5cGCc.js} +2 -1
  186. package/dist/{plugin-CNoSZVuJ.js → plugin-BUzMTCDs.js} +2 -1
  187. package/dist/plugin-BYkYqIjb.js +1 -0
  188. package/dist/plugin-BZC231Oj.js +1 -0
  189. package/dist/plugin-BrwUi1gG.js +1 -0
  190. package/dist/plugin-Buc7eEox.js +1 -0
  191. package/dist/plugin-C-iGigb_.js +1 -0
  192. package/dist/plugin-C3tFXHbZ.js +1 -0
  193. package/dist/{plugin-Cp-YlP7M.js → plugin-C4ZKihe9.js} +2 -1
  194. package/dist/{plugin-CIK2QwfI.js → plugin-CCH1Q2cN.js} +2 -1
  195. package/dist/plugin-CGg5IOSy.js +1 -0
  196. package/dist/plugin-CHyrn6sC.js +1 -0
  197. package/dist/{plugin-c1rFpmlH.js → plugin-CVGZQLLW.js} +2 -1
  198. package/dist/{plugin-DmkLbCIU.js → plugin-CZBGKZIj.js} +2 -1
  199. package/dist/plugin-Ce0OhiOa.js +1 -0
  200. package/dist/{plugin-7M6YmkX3.js → plugin-CeTGH-uy.js} +2 -1
  201. package/dist/plugin-CqcxTgW6.js +1 -0
  202. package/dist/plugin-CwJMh4ht.js +1 -0
  203. package/dist/{plugin-DAoreRkB.js → plugin-Cy8SNl7v.js} +2 -1
  204. package/dist/{plugin-A7Ru6-Ae.js → plugin-D3RtcfcX.js} +2 -1
  205. package/dist/plugin-DDXOF4cU.js +11 -0
  206. package/dist/plugin-DLUdf4JV.js +1 -0
  207. package/dist/plugin-DN54VuID.js +1 -0
  208. package/dist/plugin-DOeDaXWj.js +1 -0
  209. package/dist/plugin-DRcJuXpS.js +1 -0
  210. package/dist/plugin-DT7LVAli.js +1 -0
  211. package/dist/plugin-DXSsGfRI.js +1 -0
  212. package/dist/plugin-DaibhM02.js +1 -0
  213. package/dist/plugin-DkDbha5K.js +1 -0
  214. package/dist/{plugin-DGx9kLvd.js → plugin-DnCIfRQD.js} +2 -1
  215. package/dist/{plugin-BURDNZOq.js → plugin-Do8SPdPO.js} +2 -1
  216. package/dist/plugin-DppW8rQi.js +1 -0
  217. package/dist/plugin-XtlznKJr.js +11 -0
  218. package/dist/plugin-YUomn9tF.js +1 -0
  219. package/dist/{plugin-D9vhvf_z.js → plugin-_WXCZJnd.js} +2 -1
  220. package/dist/plugin-cvHKUGjm.js +1 -0
  221. package/dist/plugins-DnctsCLh.js +110 -0
  222. package/dist/plugins.js +97 -94
  223. package/dist/plus-circle-Cl0YprEp.js +1 -0
  224. package/dist/plus-circle-outline-C-kkX0ke.js +1 -0
  225. package/dist/plus-sbcOm60H.js +1 -0
  226. package/dist/qrcode-scan-CpLrVFw_.js +1 -0
  227. package/dist/radio-DkjVAhsO.js +1 -0
  228. package/dist/radio-dark-Cr5v17AF.js +1 -0
  229. package/dist/refresh-DPlMWd1M.js +1 -0
  230. package/dist/register-component-B-fdqewb.js +1 -0
  231. package/dist/save-BmMH4S8b.js +1 -0
  232. package/dist/search-Co2MwWOK.js +1 -0
  233. package/dist/spotlight-TNyCQzOY.js +1 -0
  234. package/dist/store-outline-B-fuVZzv.js +1 -0
  235. package/dist/sun-BWKjCEHH.js +1 -0
  236. package/dist/swap-CNbqKTl0.js +1 -0
  237. package/dist/swap-horizontal-DociZUG2.js +1 -0
  238. package/dist/swap-left-Bd2DOgf3.js +1 -0
  239. package/dist/swap-right-D0VYxBDb.js +1 -0
  240. package/dist/system-theme-Cez6mSv_.js +1 -0
  241. package/dist/tag-outline-Ce_qOxif.js +1 -0
  242. package/dist/tamandua.js +7 -17
  243. package/dist/transform-DSaNEFMr.js +1757 -0
  244. package/dist/trash-can-CKPtMqSf.js +1 -0
  245. package/dist/trash-can-outline-DjtqZHOC.js +1 -0
  246. package/dist/types/components/Avatar/Avatar.story.d.ts +18 -5
  247. package/dist/types/components/Button/Button.story.d.ts +8 -42
  248. package/dist/types/components/ChartLine/ChartLine.story.d.ts +25 -0
  249. package/dist/types/components/ChartLine/index.d.ts +5 -0
  250. package/dist/types/components/ChartLine/types.d.ts +17 -0
  251. package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +20 -0
  252. package/dist/types/components/ChartTreemap/index.d.ts +5 -0
  253. package/dist/types/components/ChartTreemap/types.d.ts +10 -0
  254. package/dist/types/components/Dropdown/types.d.ts +1 -1
  255. package/dist/types/components/Form/Form.vue.d.ts +3 -3
  256. package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +24 -2
  257. package/dist/types/components/Icon/Icon.story.d.ts +26 -0
  258. package/dist/types/components/Icon/types.d.ts +1 -1
  259. package/dist/types/components/IconButton/IconButton.vue.d.ts +4 -44
  260. package/dist/types/components/IconButton/types.d.ts +1 -7
  261. package/dist/types/components/InputDate/InputDate.story.d.ts +9 -2
  262. package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +8 -3
  263. package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +6 -2
  264. package/dist/types/components/InputSelect/InputSelect.story.d.ts +37 -4
  265. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +1 -1
  266. package/dist/types/components/InputSelect/types.d.ts +0 -1
  267. package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +10 -18
  268. package/dist/types/components/Pagination/Pagination.story.d.ts +6 -1
  269. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -3
  270. package/dist/types/components/Popconfirm/types.d.ts +1 -1
  271. package/dist/types/components/Popover/Popover.vue.d.ts +0 -3
  272. package/dist/types/components/Popover/types.d.ts +0 -1
  273. package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +13 -3
  274. package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +12 -3
  275. package/dist/types/components/Table/Table.story.d.ts +16 -3
  276. package/dist/types/components/Tag/Tag.story.d.ts +29 -0
  277. package/dist/types/components/index.d.ts +4 -4
  278. package/dist/types/components/plugins.d.ts +3 -3
  279. package/dist/types/i18n.d.ts +6 -0
  280. package/dist/types/types/form.d.ts +1 -1
  281. package/dist/ui-DtSy-y9T.js +1 -0
  282. package/dist/upload-CKfrBexU.js +1 -0
  283. package/dist/useClipboard-BHFD0Jvv.js +1 -0
  284. package/dist/useDomHelpers-5CFMo6bx.js +1 -0
  285. package/dist/useRender-D8PeooXE.js +1 -0
  286. package/dist/user-circle-D102n1FB.js +1 -0
  287. package/dist/zip-box-C10560VY.js +1 -0
  288. package/package.json +113 -114
  289. package/volar.d.ts +2 -2
  290. package/dist/Button-BVshp51o.js +0 -6
  291. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js +0 -135
  292. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js +0 -106
  293. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js +0 -216
  294. package/dist/LineChart.js +0 -6
  295. package/dist/LineChart.vue_vue_type_script_setup_true_lang-Do8SXht4.js +0 -17
  296. package/dist/PieChart.js +0 -6
  297. package/dist/PieChart.vue_vue_type_script_setup_true_lang-CmEDNOuk.js +0 -17
  298. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js +0 -65
  299. package/dist/Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js +0 -63
  300. package/dist/close-circle-Bsf9_pUR.js +0 -4
  301. package/dist/index-CgLIzaY3.js +0 -7772
  302. package/dist/plugin-CQ6DHzD0.js +0 -10
  303. package/dist/plugin-DdQB9R9S.js +0 -10
  304. package/dist/plugins-QF-BxY4i.js +0 -107
  305. package/dist/types/components/LineChart/index.d.ts +0 -5
  306. package/dist/types/components/LineChart/types.d.ts +0 -4
  307. package/dist/types/components/PieChart/index.d.ts +0 -5
  308. package/dist/types/components/PieChart/types.d.ts +0 -4
  309. /package/dist/types/components/{LineChart/LineChart.vue.d.ts → ChartLine/ChartLine.vue.d.ts} +0 -0
  310. /package/dist/types/components/{LineChart → ChartLine}/plugin.d.ts +0 -0
  311. /package/dist/types/components/{PieChart/PieChart.vue.d.ts → ChartTreemap/ChartTreemap.vue.d.ts} +0 -0
  312. /package/dist/types/components/{PieChart → ChartTreemap}/plugin.d.ts +0 -0
@@ -1,5 +1,14 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: number;
5
+ height: number;
6
+ };
7
+ };
8
+ export default _default;
9
+ export declare const Line: (args: any) => {
10
+ setup(): {
11
+ args: any;
12
+ };
13
+ template: string;
3
14
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -1,5 +1,18 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ loading: boolean;
5
+ data: any;
6
+ columns: {
7
+ title: string;
8
+ property: string;
9
+ }[];
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Table: (args: any) => {
14
+ setup(): {
15
+ args: any;
16
+ };
17
+ template: string;
3
18
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -0,0 +1,29 @@
1
+ import { ElementSize } from '../../enums/ui.js';
2
+
3
+ declare const _default: {
4
+ title: string;
5
+ args: {
6
+ text: string;
7
+ color: string;
8
+ hasCloseButton: boolean;
9
+ confirmClose: boolean;
10
+ size: ElementSize;
11
+ };
12
+ argTypes: {
13
+ size: {
14
+ control: string;
15
+ options: ElementSize[];
16
+ };
17
+ hasCloseButton: {
18
+ control: string;
19
+ options: boolean[];
20
+ };
21
+ };
22
+ };
23
+ export default _default;
24
+ export declare const Tag: (args: any) => {
25
+ setup(): {
26
+ args: any;
27
+ };
28
+ template: string;
29
+ };
@@ -7,11 +7,9 @@ import { ProgressLine, ProgressLineProps } from './ProgressLine/index.js';
7
7
  import { ProgressCircle, ProgressCircleProps } from './ProgressCircle/index.js';
8
8
  import { Popover, PopoverProps } from './Popover/index.js';
9
9
  import { Popconfirm, PopconfirmProps, PopconfirmEvents } from './Popconfirm/index.js';
10
- import { PieChart, PieChartProps } from './PieChart/index.js';
11
10
  import { Pagination, PaginationProps, PaginationEvents } from './Pagination/index.js';
12
11
  import { ModalForm, ModalFormProps, ModalFormEvents } from './ModalForm/index.js';
13
12
  import { Modal, ModalProps, ModalEvents } from './Modal/index.js';
14
- import { LineChart, LineChartProps } from './LineChart/index.js';
15
13
  import { InputTextarea, InputTextareaProps, InputTextareaEvents } from './InputTextarea/index.js';
16
14
  import { InputText, InputTextProps, InputTextEvents } from './InputText/index.js';
17
15
  import { InputSwitch, InputSwitchProps, InputSwitchEvents } from './InputSwitch/index.js';
@@ -37,10 +35,12 @@ import { Form, FormProps, FormEvents } from './Form/index.js';
37
35
  import { FileDrop, FileDropProps, FileDropEvents } from './FileDrop/index.js';
38
36
  import { Dropdown, DropdownProps, DropdownEvents } from './Dropdown/index.js';
39
37
  import { Drawer, DrawerProps, DrawerEvents } from './Drawer/index.js';
38
+ import { ChartTreemap, ChartTreemapProps } from './ChartTreemap/index.js';
39
+ import { ChartLine, ChartLineProps } from './ChartLine/index.js';
40
40
  import { ButtonCopy, ButtonCopyProps } from './ButtonCopy/index.js';
41
41
  import { Button, ButtonProps, ButtonEvents } from './Button/index.js';
42
42
  import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
43
43
  import { Avatar, AvatarProps } from './Avatar/index.js';
44
44
 
45
- export { Avatar, Backdrop, Button, ButtonCopy, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, LineChart, Modal, ModalForm, Pagination, PieChart, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
46
- export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, IconButtonProps, IconButtonEvents, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LineChartProps, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PieChartProps, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
45
+ export { Avatar, Backdrop, Button, ButtonCopy, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, Modal, ModalForm, Pagination, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
46
+ export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, IconButtonProps, IconButtonEvents, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
@@ -7,11 +7,9 @@ import { ProgressLinePlugin } from './ProgressLine/index.js';
7
7
  import { ProgressCirclePlugin } from './ProgressCircle/index.js';
8
8
  import { PopoverPlugin } from './Popover/index.js';
9
9
  import { PopconfirmPlugin } from './Popconfirm/index.js';
10
- import { PieChartPlugin } from './PieChart/index.js';
11
10
  import { PaginationPlugin } from './Pagination/index.js';
12
11
  import { ModalFormPlugin } from './ModalForm/index.js';
13
12
  import { ModalPlugin } from './Modal/index.js';
14
- import { LineChartPlugin } from './LineChart/index.js';
15
13
  import { InputTextareaPlugin } from './InputTextarea/index.js';
16
14
  import { InputTextPlugin } from './InputText/index.js';
17
15
  import { InputSwitchPlugin } from './InputSwitch/index.js';
@@ -37,9 +35,11 @@ import { FormPlugin } from './Form/index.js';
37
35
  import { FileDropPlugin } from './FileDrop/index.js';
38
36
  import { DropdownPlugin } from './Dropdown/index.js';
39
37
  import { DrawerPlugin } from './Drawer/index.js';
38
+ import { ChartTreemapPlugin } from './ChartTreemap/index.js';
39
+ import { ChartLinePlugin } from './ChartLine/index.js';
40
40
  import { ButtonCopyPlugin } from './ButtonCopy/index.js';
41
41
  import { ButtonPlugin } from './Button/index.js';
42
42
  import { BackdropPlugin } from './Backdrop/index.js';
43
43
  import { AvatarPlugin } from './Avatar/index.js';
44
44
 
45
- export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, IconButtonPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, LineChartPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PieChartPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
45
+ export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, IconButtonPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
@@ -11,5 +11,11 @@ declare const _default: import('vue-i18n').I18n<{}, {}, {
11
11
  currency: string;
12
12
  };
13
13
  };
14
+ USD: {
15
+ currency: {
16
+ style: "currency";
17
+ currency: string;
18
+ };
19
+ };
14
20
  }, string, false>;
15
21
  export default _default;
@@ -11,7 +11,7 @@ export type SelectOption = {
11
11
  /** Optional icon, to be appended to the label */
12
12
  icon?: `${Icon}`;
13
13
  /** Option label, either a string or an object containing the props necessary to render the option */
14
- label: any;
14
+ label: string | object;
15
15
  /** Optional type, used to diferentiate options from one another */
16
16
  type?: string;
17
17
  /** Optional renderer, containing the fully resolved path to the component that will be used
@@ -9,3 +9,4 @@ export {
9
9
  l as c,
10
10
  t as d
11
11
  };
12
+ //# sourceMappingURL=ui-DtSy-y9T.js.map
@@ -3,3 +3,4 @@ const v = `<svg class="v1262d JUQOtc" viewBox="0 0 24 24"><path d="M4 15h2v3h12v
3
3
  export {
4
4
  v as default
5
5
  };
6
+ //# sourceMappingURL=upload-CKfrBexU.js.map
@@ -9,3 +9,4 @@ function o() {
9
9
  export {
10
10
  o as u
11
11
  };
12
+ //# sourceMappingURL=useClipboard-BHFD0Jvv.js.map
@@ -21,3 +21,4 @@ function a() {
21
21
  export {
22
22
  a as u
23
23
  };
24
+ //# sourceMappingURL=useDomHelpers-5CFMo6bx.js.map
@@ -14,3 +14,4 @@ function o(r) {
14
14
  export {
15
15
  o as u
16
16
  };
17
+ //# sourceMappingURL=useRender-D8PeooXE.js.map
@@ -3,3 +3,4 @@ const s = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
3
3
  export {
4
4
  s as default
5
5
  };
6
+ //# sourceMappingURL=user-circle-D102n1FB.js.map
@@ -3,3 +3,4 @@ const h = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="
3
3
  export {
4
4
  h as default
5
5
  };
6
+ //# sourceMappingURL=zip-box-C10560VY.js.map
package/package.json CHANGED
@@ -1,117 +1,116 @@
1
1
  {
2
- "name": "@caipira/tamandua",
3
- "version": "0.0.12",
4
- "private": false,
5
- "description": "UI library for the Caipira ecosystem",
6
- "license": "GPL-3.0-only",
7
- "homepage": "https://caipira.io",
8
- "author": {
9
- "name": "Theone Lucas",
10
- "email": "theone@caipira.io"
11
- },
12
- "repository": {
13
- "type": "git",
14
- "url": "https://github.com/caipira-io/tamandua.git"
15
- },
16
- "type": "module",
17
- "typesVersions": {
18
- "*": {
19
- "*": [
20
- "./dist/types/index.d.ts"
21
- ],
22
- "date": [
23
- "./dist/types/services/date.d.ts"
24
- ],
25
- "plugins": [
26
- "./dist/types/components/plugins.d.ts"
27
- ],
28
- "form": [
29
- "./dist/types/form/index.d.ts"
30
- ],
31
- "components": [
32
- "./dist/types/components/index.d.ts"
33
- ],
34
- "composables": [
35
- "./dist/types/composables/index.d.ts"
36
- ],
37
- "enums": [
38
- "./dist/types/enums/index.d.ts"
39
- ]
40
- }
41
- },
42
- "exports": {
43
- ".": "./dist/tamandua.js",
44
- "./components": "./dist/components.js",
45
- "./composables": "./dist/composables.js",
46
- "./form": "./dist/form2.js",
47
- "./date": "./dist/date.js",
48
- "./plugins": "./dist/plugins.js",
49
- "./enums": "./dist/enums.js",
50
- "./volar": "./volar.d.ts",
51
- "./style.css": "./dist/index.css"
52
- },
53
- "files": [
54
- "dist/*.js",
55
- "dist/*.css",
56
- "dist/types",
57
- "volar.d.ts",
58
- "README.md"
59
- ],
60
- "scripts": {
61
- "start": "vite --host",
62
- "build:dev": "vite build --mode development",
63
- "build:prod": "vite build --mode production",
64
- "preview": "vite preview",
65
- "start:test": "vitest",
66
- "test": "vitest --run",
67
- "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
68
- "start:sb": "storybook dev",
69
- "build:sb": "storybook build",
70
- "prepublishOnly": "npm run build:prod"
71
- },
72
- "dependencies": {
73
- "@popperjs/core": "^2.10.1",
74
- "chart.js": "^4.0.0",
75
- "date-fns": "^2.25.0",
76
- "gsap": "^3.12.2",
77
- "vue-chartjs": "^5.2.0"
78
- },
79
- "peerDependencies": {
80
- "tailwindcss": "^3.4.3",
81
- "vue": "^3.0.0",
82
- "vue-i18n": "9"
83
- },
84
- "devDependencies": {
85
- "vite-plugin-lib-inject-css": "^2.0.1",
86
- "@faker-js/faker": "^8.4.1",
87
- "@storybook/addon-actions": "^8.0.5",
88
- "@storybook/addon-essentials": "^8.0.5",
89
- "@storybook/addon-interactions": "^8.0.5",
90
- "@storybook/addon-links": "^8.0.5",
91
- "@storybook/addon-themes": "^8.0.5",
92
- "@storybook/blocks": "^8.0.5",
93
- "@storybook/builder-vite": "^8.0.5",
94
- "@storybook/testing-library": "^0.2.2",
95
- "@storybook/vue3": "^8.0.5",
96
- "@storybook/vue3-vite": "^8.0.5",
97
- "@tailwindcss/forms": "^0.5.6",
98
- "@types/js-cookie": "^2.2.7",
99
- "@types/jsdom": "^21.1.6",
100
- "@types/node": "^20.11.30",
101
- "@vitejs/plugin-vue": "^5.0.4",
102
- "@vue/test-utils": "^2.4.1",
103
- "@vue/tsconfig": "^0.5.1",
104
- "autoprefixer": "^10.4.0",
105
- "jsdom": "^24.0.0",
106
- "postcss": "^8.4.5",
107
- "storybook": "^8.0.5",
108
- "ts-node": "^10.9.1",
109
- "typescript": "^5.4.5",
110
- "vite": "^5.2.6",
111
- "vite-plugin-dts": "^3.8.1",
112
- "vite-tsconfig-paths": "^4.2.0",
113
- "vitest": "^1.4.0",
114
- "vue": "^3.4.21",
115
- "vue-tsc": "^2.0.13"
2
+ "name": "@caipira/tamandua",
3
+ "version": "0.0.14",
4
+ "private": false,
5
+ "description": "UI library for the Caipira ecosystem",
6
+ "license": "GPL-3.0-only",
7
+ "homepage": "https://caipira.io",
8
+ "author": {
9
+ "name": "Theone Lucas",
10
+ "email": "theone@caipira.io"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/caipira-io/tamandua.git"
15
+ },
16
+ "type": "module",
17
+ "typesVersions": {
18
+ "*": {
19
+ "*": [
20
+ "./dist/types/index.d.ts"
21
+ ],
22
+ "date": [
23
+ "./dist/types/services/date.d.ts"
24
+ ],
25
+ "plugins": [
26
+ "./dist/types/components/plugins.d.ts"
27
+ ],
28
+ "form": [
29
+ "./dist/types/form/index.d.ts"
30
+ ],
31
+ "components": [
32
+ "./dist/types/components/index.d.ts"
33
+ ],
34
+ "composables": [
35
+ "./dist/types/composables/index.d.ts"
36
+ ],
37
+ "enums": [
38
+ "./dist/types/enums/index.d.ts"
39
+ ]
116
40
  }
41
+ },
42
+ "exports": {
43
+ ".": "./dist/tamandua.js",
44
+ "./components": "./dist/components.js",
45
+ "./composables": "./dist/composables.js",
46
+ "./form": "./dist/form2.js",
47
+ "./date": "./dist/date.js",
48
+ "./plugins": "./dist/plugins.js",
49
+ "./enums": "./dist/enums.js",
50
+ "./volar": "./volar.d.ts",
51
+ "./style.css": "./dist/index.css"
52
+ },
53
+ "files": [
54
+ "dist/*.js",
55
+ "dist/*.css",
56
+ "dist/types",
57
+ "volar.d.ts",
58
+ "README.md"
59
+ ],
60
+ "scripts": {
61
+ "start": "vite --host",
62
+ "build:dev": "vite build --mode development",
63
+ "build:prod": "vite build --mode production",
64
+ "preview": "vite preview",
65
+ "start:test": "vitest",
66
+ "test": "vitest --run",
67
+ "typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false",
68
+ "start:sb": "storybook dev",
69
+ "build:sb": "storybook build",
70
+ "prepublishOnly": "npm run build:prod"
71
+ },
72
+ "dependencies": {
73
+ "@popperjs/core": "^2.10.1",
74
+ "@storybook/test": "^8.0.8",
75
+ "d3": "^7.9.0",
76
+ "date-fns": "^2.25.0",
77
+ "gsap": "^3.12.2"
78
+ },
79
+ "peerDependencies": {
80
+ "tailwindcss": "^3.4.3",
81
+ "vue": "^3.0.0",
82
+ "vue-i18n": "9"
83
+ },
84
+ "devDependencies": {
85
+ "@faker-js/faker": "^8.4.1",
86
+ "@storybook/addon-actions": "^8.0.8",
87
+ "@storybook/addon-essentials": "^8.0.8",
88
+ "@storybook/addon-interactions": "^8.0.8",
89
+ "@storybook/addon-links": "^8.0.8",
90
+ "@storybook/addon-themes": "^8.0.8",
91
+ "@storybook/blocks": "^8.0.8",
92
+ "@storybook/vue3": "^8.0.8",
93
+ "@storybook/vue3-vite": "^8.0.8",
94
+ "@tailwindcss/forms": "^0.5.6",
95
+ "@types/d3": "^7.4.3",
96
+ "@types/js-cookie": "^2.2.7",
97
+ "@types/jsdom": "^21.1.6",
98
+ "@types/node": "^20.11.30",
99
+ "@vitejs/plugin-vue": "^5.0.4",
100
+ "@vue/test-utils": "^2.4.1",
101
+ "@vue/tsconfig": "^0.5.1",
102
+ "autoprefixer": "^10.4.0",
103
+ "jsdom": "^24.0.0",
104
+ "postcss": "^8.4.5",
105
+ "storybook": "^8.0.8",
106
+ "ts-node": "^10.9.1",
107
+ "typescript": "^5.4.5",
108
+ "vite": "^5.2.6",
109
+ "vite-plugin-dts": "^3.8.1",
110
+ "vite-plugin-lib-inject-css": "^2.0.1",
111
+ "vite-tsconfig-paths": "^4.2.0",
112
+ "vitest": "^1.4.0",
113
+ "vue": "^3.4.21",
114
+ "vue-tsc": "^2.0.13"
115
+ }
117
116
  }
package/volar.d.ts CHANGED
@@ -4,6 +4,8 @@ declare module "vue" {
4
4
  TBackdrop: (typeof import("@caipira/tamandua/dist/types/components/Backdrop"))["Backdrop"];
5
5
  TButton: (typeof import("@caipira/tamandua/dist/types/components/Button"))["Button"];
6
6
  TButtonCopy: (typeof import("@caipira/tamandua/dist/types/components/ButtonCopy"))["ButtonCopy"];
7
+ TChartLine: (typeof import("@caipira/tamandua/dist/types/components/ChartLine"))["ChartLine"];
8
+ TChartTreemap: (typeof import("@caipira/tamandua/dist/types/components/ChartTreemap"))["ChartTreemap"];
7
9
  TDrawer: (typeof import("@caipira/tamandua/dist/types/components/Drawer"))["Drawer"];
8
10
  TDropdown: (typeof import("@caipira/tamandua/dist/types/components/Dropdown"))["Dropdown"];
9
11
  TFileDrop: (typeof import("@caipira/tamandua/dist/types/components/FileDrop"))["FileDrop"];
@@ -29,11 +31,9 @@ declare module "vue" {
29
31
  TInputSwitch: (typeof import("@caipira/tamandua/dist/types/components/InputSwitch"))["InputSwitch"];
30
32
  TInputText: (typeof import("@caipira/tamandua/dist/types/components/InputText"))["InputText"];
31
33
  TInputTextarea: (typeof import("@caipira/tamandua/dist/types/components/InputTextarea"))["InputTextarea"];
32
- TLineChart: (typeof import("@caipira/tamandua/dist/types/components/LineChart"))["LineChart"];
33
34
  TModal: (typeof import("@caipira/tamandua/dist/types/components/Modal"))["Modal"];
34
35
  TModalForm: (typeof import("@caipira/tamandua/dist/types/components/ModalForm"))["ModalForm"];
35
36
  TPagination: (typeof import("@caipira/tamandua/dist/types/components/Pagination"))["Pagination"];
36
- TPieChart: (typeof import("@caipira/tamandua/dist/types/components/PieChart"))["PieChart"];
37
37
  TPopconfirm: (typeof import("@caipira/tamandua/dist/types/components/Popconfirm"))["Popconfirm"];
38
38
  TPopover: (typeof import("@caipira/tamandua/dist/types/components/Popover"))["Popover"];
39
39
  TProgressCircle: (typeof import("@caipira/tamandua/dist/types/components/ProgressCircle"))["ProgressCircle"];
@@ -1,6 +0,0 @@
1
- import { _ as o } from "./Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js";
2
- import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-8639b950"]]);
4
- export {
5
- a as B
6
- };
@@ -1,135 +0,0 @@
1
- import { defineComponent as T, ref as h, resolveComponent as z, openBlock as r, createElementBlock as a, normalizeClass as w, Fragment as R, renderList as A, toDisplayString as P, withKeys as L, renderSlot as N, normalizeProps as V, mergeProps as E, createBlock as G, createCommentVNode as $, createTextVNode as I } from "vue";
2
- const O = ["aria-selected", "onKeydown", "onClick"], F = {
3
- key: 1,
4
- class: "inline-flex items-center input-label"
5
- }, j = /* @__PURE__ */ T({
6
- name: "TDropdown",
7
- __name: "Dropdown",
8
- props: {
9
- items: { default: () => [] },
10
- owner: {},
11
- multiple: { type: Boolean, default: !1 },
12
- isVisible: { type: Boolean, default: !1 },
13
- optionMarginClass: { default: "" },
14
- optionPaddingClass: { default: "py-2 px-2" },
15
- wrapperPaddingClass: { default: "" },
16
- optionRoundnessClass: { default: "" },
17
- wrapperRoundnessClass: { default: "rounded-md" }
18
- },
19
- emits: ["change", "end-reached", "created"],
20
- setup(H, { expose: D, emit: S }) {
21
- const s = H, C = S, i = h(-1), b = h(null), u = h([]), d = h("keyboard"), y = (o = i.value, t = s.items[o], n = void 0) => {
22
- n?.stopPropagation(), C("change", {
23
- index: o,
24
- option: t,
25
- hold: n?.ctrlKey ?? !1
26
- }), t.action && t.action();
27
- }, B = (o) => {
28
- if (!s.isVisible)
29
- return !1;
30
- switch (o.preventDefault(), d.value = "keyboard", o.key) {
31
- case "ArrowUp":
32
- case "ArrowDown":
33
- return x(o);
34
- case "Enter":
35
- return y();
36
- }
37
- }, x = (o) => {
38
- const t = o.key === "ArrowDown", n = s.items.length;
39
- let e = i.value;
40
- const l = () => s.items[e] ? "isGroupLabel" in s.items[e] && s.items[e].isGroupLabel : !1, f = () => {
41
- e === n - 1 ? e = 0 : e++;
42
- }, M = () => {
43
- e === 0 ? e = n - 1 : e--;
44
- };
45
- if (t)
46
- do
47
- f();
48
- while (l());
49
- else
50
- do
51
- M();
52
- while (l());
53
- e > -1 && e < n && (i.value = e);
54
- const v = b.value, k = u.value[i.value], p = k.offsetTop, m = k.offsetHeight, _ = v.offsetHeight, c = v.scrollTop;
55
- let g = 0;
56
- if (k.focus(), p === 0 || c === 0)
57
- g = p - _ + m;
58
- else if (t && p + m > _ + c)
59
- g = c + m;
60
- else if (!t && p < c)
61
- g = c - m;
62
- else
63
- return !0;
64
- return v.scroll({ top: g }), !0;
65
- }, K = (o) => {
66
- const t = o.target, n = u.value[0];
67
- !t || !n || t.scrollTop + t.clientHeight + n.offsetHeight >= t.scrollHeight && C("end-reached");
68
- };
69
- return D({ move: x }), (o, t) => {
70
- const n = z("t-icon");
71
- return r(), a("ul", {
72
- ref_key: "listRef",
73
- ref: b,
74
- role: "listbox",
75
- class: w(["text-left max-h-60 min-w-[12rem] z-10 overflow-y-auto scrollbar select-none floatable", [s.wrapperRoundnessClass, s.wrapperPaddingClass]]),
76
- onScrollend: K,
77
- onMousemove: t[0] || (t[0] = () => d.value = "mouse"),
78
- onKeydown: B
79
- }, [
80
- o.items.length === 0 ? (r(), a("li", {
81
- key: 0,
82
- role: "option",
83
- "aria-disabled": "true",
84
- class: w(["whitespace-nowrap text-gray-400", [
85
- s.optionPaddingClass,
86
- s.optionMarginClass,
87
- s.optionRoundnessClass
88
- ]])
89
- }, " Nothing here ", 2)) : (r(!0), a(R, { key: 1 }, A(o.items, (e, l) => (r(), a(R, { key: l }, [
90
- e.isGroupLabel ? (r(), a("li", {
91
- key: 0,
92
- class: w(["text-xs font-bold tracking-wider text-neutral-600", [
93
- s.optionPaddingClass,
94
- s.optionMarginClass,
95
- s.optionRoundnessClass
96
- ]]),
97
- ref_for: !0,
98
- ref_key: "itemRefs",
99
- ref: u
100
- }, P(e.label), 3)) : (r(), a("li", {
101
- key: 1,
102
- class: w([{
103
- "bg-hover": l === i.value && d.value === "keyboard",
104
- "hover:bg-hover": d.value === "mouse",
105
- [s.optionMarginClass]: !0,
106
- [s.optionPaddingClass]: !0,
107
- [s.optionRoundnessClass]: !0
108
- }, "flex text-base cursor-pointer whitespace-nowrap items-center focus-visible:outline-none"]),
109
- role: "option",
110
- ref_for: !0,
111
- ref_key: "itemRefs",
112
- ref: u,
113
- tabindex: 0,
114
- "aria-selected": l === i.value,
115
- onKeydown: L((f) => y(l, e), ["enter"]),
116
- onClick: (f) => y(l, e, f)
117
- }, [
118
- o.$slots.default ? N(o.$slots, "default", V(E({ key: 0 }, e))) : (r(), a("div", F, [
119
- e.icon ? (r(), G(n, {
120
- key: 0,
121
- icon: e.icon,
122
- class: "mr-2",
123
- size: "xs"
124
- }, null, 8, ["icon"])) : $("", !0),
125
- I(" " + P(e.label), 1)
126
- ]))
127
- ], 42, O))
128
- ], 64))), 128))
129
- ], 34);
130
- };
131
- }
132
- });
133
- export {
134
- j as _
135
- };