@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,106 +0,0 @@
1
- import { defineComponent as T, getCurrentInstance as k, ref as p, computed as a, resolveComponent as g, openBlock as f, createBlock as U, resolveDynamicComponent as z, normalizeClass as d, unref as o, withCtx as A, renderSlot as N, createVNode as R, createElementBlock as x, createCommentVNode as F } from "vue";
2
- import { u as w } from "./useDomHelpers-5CFMo6bx.js";
3
- import { B as t, b as s, c as r, a as M } from "./ui-DtSy-y9T.js";
4
- import "./Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js";
5
- const O = ["multiple"], H = /* @__PURE__ */ T({
6
- name: "TIconButton",
7
- __name: "IconButton",
8
- props: {
9
- to: {},
10
- icon: {},
11
- href: { default: "" },
12
- type: { default: t.BUTTON },
13
- size: { default: s.DEFAULT },
14
- label: { default: "" },
15
- shape: { default: r.ROUNDED },
16
- target: { default: void 0 },
17
- variant: { default: M.DEFAULT },
18
- multiple: { type: Boolean, default: !1 },
19
- isOutline: { type: Boolean, default: !1 },
20
- isDisabled: { type: Boolean, default: !1 },
21
- injectStyle: { default: () => ({ icon: "" }) },
22
- disableStyle: { type: Boolean, default: !1 }
23
- },
24
- emits: ["upload"],
25
- setup(m, { expose: y, emit: h }) {
26
- const e = m, v = h, i = k(), u = p(), c = p(null), { isPopoverActivator: b, onPopoverActivatorClick: _ } = w(), B = a(() => e.href ? e.href : void 0), D = a(() => {
27
- switch (e.type) {
28
- case t.LINK:
29
- return;
30
- case t.FILE:
31
- return "button";
32
- default:
33
- return e.type;
34
- }
35
- }), E = a(() => e.type === t.SUBMIT ? e.label : void 0), I = a(() => {
36
- switch (e.type) {
37
- case t.SUBMIT:
38
- return "input";
39
- case t.LINK:
40
- return "a";
41
- case t.ROUTER_LINK:
42
- return "router-link";
43
- default:
44
- return "button";
45
- }
46
- }), S = (n) => {
47
- i && b(i) && _(n, i), e.type === t.SUBMIT && n.preventDefault(), e.type === t.FILE && u.value?.click();
48
- }, C = (n) => {
49
- n.stopPropagation();
50
- const l = n.target.files;
51
- !l || !l.length || v("upload", l);
52
- };
53
- return y({ iconReference: c }), (n, L) => {
54
- const l = g("t-icon");
55
- return f(), U(z(I.value), {
56
- type: D.value,
57
- href: B.value,
58
- value: E.value,
59
- to: e.to,
60
- disabled: e.isDisabled,
61
- target: e.target,
62
- class: d([{
63
- "opacity-50": e.isDisabled,
64
- // Padding
65
- "px-1 py-0": !e.disableStyle && e.size === o(s).EXTRA_SMALL,
66
- "px-1": !e.disableStyle && e.size === o(s).SMALL,
67
- "px-4 py-2 h-10": !e.disableStyle && e.size === o(s).DEFAULT,
68
- // Shape
69
- "rounded-full": e.shape === o(r).CIRCLE,
70
- "input-roundness": e.shape === o(r).ROUNDED,
71
- // Cursor
72
- "cursor-pointer": !e.isDisabled,
73
- "cursor-not-allowed": e.isDisabled
74
- }, "input-outline inline-flex items-center justify-center"]),
75
- role: "button",
76
- onClick: S
77
- }, {
78
- default: A(() => [
79
- N(n.$slots, "default"),
80
- R(l, {
81
- ref_key: "iconReference",
82
- ref: c,
83
- size: e.size,
84
- icon: e.icon,
85
- class: d({
86
- [e.injectStyle.icon]: !0
87
- })
88
- }, null, 8, ["size", "icon", "class"]),
89
- e.type === "file" ? (f(), x("input", {
90
- key: 0,
91
- multiple: e.multiple,
92
- onChange: C,
93
- type: "file",
94
- ref_key: "fileInput",
95
- ref: u,
96
- class: "hidden"
97
- }, null, 40, O)) : F("", !0)
98
- ]),
99
- _: 3
100
- }, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
101
- };
102
- }
103
- });
104
- export {
105
- H as _
106
- };
@@ -1,216 +0,0 @@
1
- import { defineComponent as ue, ref as p, inject as re, computed as R, onBeforeMount as ce, onBeforeUnmount as pe, watch as A, resolveComponent as b, openBlock as u, createElementBlock as d, normalizeClass as k, unref as K, createElementVNode as I, withKeys as de, renderSlot as g, normalizeProps as V, mergeProps as j, Fragment as _, renderList as M, guardReactiveProps as U, createBlock as H, toDisplayString as fe, createCommentVNode as N, withDirectives as me, vModelText as ve, createVNode as P, withCtx as q, createSlots as ye, nextTick as be } from "vue";
2
- import { u as he } from "./useDomHelpers-5CFMo6bx.js";
3
- import { b as we, E as ke } from "./ui-DtSy-y9T.js";
4
- const ge = { key: 1 }, Ve = ["placeholder", "disabled", "readonly"], _e = { class: "flex w-full justify-between items-center" }, Se = { class: "flex items-center" };
5
- let xe = 0;
6
- const Re = /* @__PURE__ */ ue({
7
- name: "TInputSelect",
8
- __name: "InputSelect",
9
- props: {
10
- size: { default: we.DEFAULT },
11
- options: { default: () => [] },
12
- mapper: { type: Function, default: (f) => ({ value: f.id ?? f.uuid, label: f }) },
13
- filter: { type: Function, default: (f, S) => S.label.toLowerCase().indexOf(f.toLowerCase()) >= 0 },
14
- tooltip: { default: "" },
15
- disabled: { type: Boolean },
16
- resource: {},
17
- multiple: { type: Boolean, default: !1 },
18
- identifier: { default: "id" },
19
- modelValue: {},
20
- placeholder: { default: "" },
21
- initialValue: {},
22
- disableStyle: { type: Boolean, default: !1 },
23
- isSearchable: { type: Boolean, default: !1 },
24
- dropdownPlacement: { default: ke.BOTTOM }
25
- },
26
- emits: ["update:model-value"],
27
- setup(f, { emit: S }) {
28
- const l = f;
29
- let x = !1, h, T = "";
30
- const G = S, J = `checkbox_${++xe}`, r = p(""), a = p([]), $ = p(null), D = re("formStyle", { label: "", input: "" }), C = p(null), n = p(!1), L = p(null), o = p([]), { wasClickOutsideOfContainer: Q } = he(), c = p(null), B = R(() => o.value.length > 0), O = R(() => l.isSearchable && n.value), v = R(() => typeof l.resource == "function"), W = (e) => !l.multiple || !l.modelValue || !Array.isArray(l.modelValue) ? !1 : l.modelValue.includes(e.option[l.identifier]), X = (e = l.modelValue) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), Y = (e) => {
31
- G("update:model-value", e);
32
- }, m = (e = l.modelValue) => {
33
- if (X(e))
34
- if (l.multiple)
35
- Array.isArray(e) && (o.value = e.map(
36
- (t) => E(t)
37
- ).filter((t) => t > -1));
38
- else {
39
- const t = E(e);
40
- ~t && (o.value = [t]);
41
- }
42
- }, z = (e) => {
43
- n.value = !n.value, n.value && O.value && be(() => {
44
- $.value?.focus();
45
- }), e.stopPropagation();
46
- }, E = (e) => a.value.findIndex(
47
- (t) => t.value === e
48
- ), F = (e) => {
49
- C.value && Q(e, C.value) && (n.value = !1);
50
- }, w = async (e = !1) => {
51
- if (!l.resource)
52
- return;
53
- const t = {
54
- t: r.value,
55
- r: "option"
56
- };
57
- e && c.value && c.value.pages > c.value.page ? t.page = c.value.page + 1 : e = !1, !r.value && l.modelValue && (t.i = l.modelValue);
58
- const i = await l.resource(t);
59
- e ? a.value.push(...i.items.map(l.mapper)) : a.value = i.items.map(l.mapper), c.value = i.pagination, !v.value && r.value && m(r.value);
60
- }, Z = () => {
61
- T !== r.value && (h && (clearTimeout(h), h = null), h = setTimeout(() => {
62
- T = r.value, v.value ? (n.value || (n.value = !0), w()) : l.isSearchable && (a.value = l.options.filter(
63
- (e) => l.filter(r.value, e)
64
- ));
65
- }, 500));
66
- }, ee = () => {
67
- n.value = !1;
68
- }, le = (e) => {
69
- n.value = !1, e.stopPropagation();
70
- }, te = ({
71
- index: e,
72
- hold: t
73
- }) => {
74
- if (x = !0, l.multiple) {
75
- const i = o.value.findIndex(
76
- (y) => y === e
77
- );
78
- ~i ? o.value.splice(i, 1) : o.value.push(e);
79
- } else
80
- o.value = [e];
81
- (!l.multiple || !t) && (n.value = !1);
82
- }, oe = () => {
83
- v.value && c.value && c.value.pages > c.value.page && w(!0);
84
- }, ae = async (e) => {
85
- switch (e.key) {
86
- case "ArrowDown":
87
- L.value?.move(e);
88
- break;
89
- }
90
- };
91
- return ce(async () => {
92
- v.value ? (await w(), m()) : l.options.length > 0 && (a.value = l.options), !l.modelValue && l.initialValue ? m(l.initialValue) : m(l.modelValue), document.addEventListener("click", F);
93
- }), pe(() => {
94
- document.removeEventListener("click", F);
95
- }), A(
96
- () => l.modelValue,
97
- async (e) => {
98
- e && (E(e) < 0 && v.value && await w(), m(e));
99
- }
100
- ), A(
101
- o,
102
- (e) => {
103
- const t = l.multiple ? a.value.filter(
104
- (i, y) => o.value.includes(y)
105
- ).map((i) => i.value) : a.value[o.value[0]].value;
106
- x && (x = !1, Y(t));
107
- },
108
- { deep: !0 }
109
- ), A(
110
- () => l.options,
111
- (e) => {
112
- e.length > 0 && (a.value = e, l.modelValue && o.value.length === 0 && m(l.modelValue));
113
- }
114
- ), (e, t) => {
115
- const i = b("t-tag"), y = b("t-icon-button"), ne = b("t-icon"), ie = b("t-dropdown"), se = b("t-popover");
116
- return u(), d("div", {
117
- class: k({ [K(D).input]: !l.disableStyle })
118
- }, [
119
- I("div", {
120
- ref_key: "wrapperRef",
121
- ref: C,
122
- class: k([{
123
- "h-9": !l.disableStyle && !l.multiple,
124
- "min-h-9": !l.disableStyle && l.multiple,
125
- "text-left select-none input-bg-color input-text-color border input-border input-roundness": !l.disableStyle,
126
- [K(D).input]: !l.disableStyle
127
- }, "inline-flex justify-between items-center w-full text-left"]),
128
- role: "button",
129
- onClick: z,
130
- onBlur: ee,
131
- onKeyup: de(le, ["esc"])
132
- }, [
133
- O.value ? me((u(), d("input", {
134
- key: 1,
135
- "onUpdate:modelValue": t[0] || (t[0] = (s) => r.value = s),
136
- type: "text",
137
- ref_key: "inputRef",
138
- ref: $,
139
- placeholder: l.placeholder,
140
- disabled: l.disabled,
141
- readonly: !l.isSearchable,
142
- class: k([{ "cursor-pointer": !l.isSearchable }, "w-full h-9 bg-transparent input-padding input-roundness input-outline"]),
143
- onClick: t[1] || (t[1] = (s) => s.stopPropagation()),
144
- onInput: Z,
145
- onKeydown: ae
146
- }, null, 42, Ve)), [
147
- [ve, r.value]
148
- ]) : (u(), d("div", {
149
- key: 0,
150
- class: k(["flex items-center ml-2", {
151
- "overflow-hidden whitespace-nowrap": !l.multiple,
152
- "flex-wrap": l.multiple
153
- }])
154
- }, [
155
- e.$slots.selection && B.value ? g(e.$slots, "selection", V(j({ key: 0 }, a.value[o.value[0]].label))) : e.$slots.default && B.value ? (u(), d(_, { key: 1 }, [
156
- l.multiple ? (u(!0), d(_, { key: 0 }, M(o.value, (s) => g(e.$slots, "default", V(U(a.value[s].label)))), 256)) : g(e.$slots, "default", V(j({ key: 1 }, a.value[o.value[0]].label)))
157
- ], 64)) : B.value ? (u(), d(_, { key: 2 }, [
158
- l.multiple ? (u(!0), d(_, { key: 0 }, M(o.value, (s) => (u(), H(i, {
159
- key: s,
160
- text: a.value[s].label,
161
- color: "#6e6e6e"
162
- }, null, 8, ["text"]))), 128)) : (u(), d("span", ge, fe(a.value[o.value[0]]?.label), 1))
163
- ], 64)) : N("", !0)
164
- ], 2)),
165
- P(y, {
166
- "disable-style": !0,
167
- class: "h-9",
168
- icon: n.value === !0 ? "chevron-up" : "chevron-down",
169
- onClick: z
170
- }, null, 8, ["icon"])
171
- ], 34),
172
- P(se, {
173
- placement: l.dropdownPlacement,
174
- "is-visible": n.value
175
- }, {
176
- content: q(() => [
177
- P(ie, {
178
- ref_key: "dropdownRef",
179
- ref: L,
180
- owner: J,
181
- items: a.value,
182
- "is-visible": n.value,
183
- multiple: l.multiple,
184
- class: "fixed",
185
- "aria-describedby": "tooltip",
186
- onChange: te,
187
- onEndReached: oe
188
- }, ye({ _: 2 }, [
189
- e.$slots.default ? {
190
- name: "default",
191
- fn: q((s) => [
192
- I("div", _e, [
193
- I("div", Se, [
194
- g(e.$slots, "default", V(U(s.label)))
195
- ]),
196
- W(s) ? (u(), H(ne, {
197
- key: 0,
198
- icon: "check",
199
- size: "sm",
200
- class: "float-right ml-2"
201
- })) : N("", !0)
202
- ])
203
- ]),
204
- key: "0"
205
- } : void 0
206
- ]), 1032, ["items", "is-visible", "multiple"])
207
- ]),
208
- _: 3
209
- }, 8, ["placement", "is-visible"])
210
- ], 2);
211
- };
212
- }
213
- });
214
- export {
215
- Re as _
216
- };
package/dist/LineChart.js DELETED
@@ -1,6 +0,0 @@
1
- import { _ as e } from "./LineChart.vue_vue_type_script_setup_true_lang-Do8SXht4.js";
2
- import { p as t } from "./plugin-DdQB9R9S.js";
3
- export {
4
- e as LineChart,
5
- t as LineChartPlugin
6
- };
@@ -1,17 +0,0 @@
1
- import { defineComponent as r, openBlock as n, createBlock as t, unref as a, normalizeProps as p, guardReactiveProps as s } from "vue";
2
- import { e as c } from "./index-CgLIzaY3.js";
3
- const f = /* @__PURE__ */ r({
4
- name: "TLineChart",
5
- __name: "LineChart",
6
- props: {
7
- data: {},
8
- options: {}
9
- },
10
- setup(e) {
11
- const o = e;
12
- return (i, m) => (n(), t(a(c), p(s(o)), null, 16));
13
- }
14
- });
15
- export {
16
- f as _
17
- };
package/dist/PieChart.js DELETED
@@ -1,6 +0,0 @@
1
- import { _ as e } from "./PieChart.vue_vue_type_script_setup_true_lang-CmEDNOuk.js";
2
- import { p as t } from "./plugin-CQ6DHzD0.js";
3
- export {
4
- e as PieChart,
5
- t as PieChartPlugin
6
- };
@@ -1,17 +0,0 @@
1
- import { defineComponent as r, openBlock as t, createBlock as n, unref as a, normalizeProps as p, guardReactiveProps as s } from "vue";
2
- import { f as c } from "./index-CgLIzaY3.js";
3
- const u = /* @__PURE__ */ r({
4
- name: "TPieChart",
5
- __name: "PieChart",
6
- props: {
7
- data: {},
8
- options: {}
9
- },
10
- setup(e) {
11
- const o = e;
12
- return (i, m) => (t(), n(a(c), p(s(o)), null, 16));
13
- }
14
- });
15
- export {
16
- u as _
17
- };
@@ -1,65 +0,0 @@
1
- import { defineComponent as C, ref as x, resolveComponent as s, openBlock as y, createBlock as k, withCtx as a, createElementVNode as o, createVNode as l, toDisplayString as P, renderSlot as g } from "vue";
2
- import { E as w } from "./ui-DtSy-y9T.js";
3
- const z = { class: "text-sm mb-6 flex" }, B = { class: "flex justify-end" }, N = /* @__PURE__ */ C({
4
- name: "TPopconfirm",
5
- __name: "Popconfirm",
6
- props: {
7
- title: { default: "" },
8
- placement: { default: w.BOTTOM }
9
- },
10
- emits: ["confirm"],
11
- setup(m, { emit: p }) {
12
- const r = m, f = p, n = x(), u = (e) => (n.value = e, e), d = () => {
13
- n.value.visible = !1;
14
- }, _ = () => {
15
- n.value.visible = !0;
16
- };
17
- return (e, t) => {
18
- const v = s("t-icon"), i = s("t-button"), b = s("t-popover");
19
- return y(), k(b, {
20
- placement: r.placement,
21
- "slot-wrapper-classes": "rounded border border-gray-500",
22
- "disable-style": !0,
23
- ref: u
24
- }, {
25
- content: a(() => [
26
- o("div", {
27
- class: "mx-2 my-3 select-none",
28
- onClick: t[1] || (t[1] = (c) => c.stopPropagation())
29
- }, [
30
- o("p", z, [
31
- l(v, {
32
- icon: "info-outline",
33
- class: "text-yellow-700 mr-2",
34
- size: "sm"
35
- }),
36
- o("span", null, P(r.title), 1)
37
- ]),
38
- o("div", B, [
39
- l(i, {
40
- variant: "warning",
41
- label: "Cancel",
42
- size: "sm",
43
- class: "mr-2",
44
- onClick: d
45
- }),
46
- l(i, {
47
- variant: "primary",
48
- label: "Confirm",
49
- size: "sm",
50
- onClick: t[0] || (t[0] = (c) => f("confirm"))
51
- })
52
- ])
53
- ])
54
- ]),
55
- default: a(() => [
56
- g(e.$slots, "default", { onClick: _ })
57
- ]),
58
- _: 3
59
- }, 8, ["placement"]);
60
- };
61
- }
62
- });
63
- export {
64
- N as _
65
- };
@@ -1,63 +0,0 @@
1
- import { defineComponent as u, resolveComponent as i, openBlock as o, createElementBlock as l, normalizeStyle as f, normalizeClass as _, createBlock as c, withCtx as y, createVNode as x, createCommentVNode as C, createElementVNode as b, renderSlot as k, toDisplayString as h } from "vue";
2
- import { b as v } from "./ui-DtSy-y9T.js";
3
- const g = ["role"], B = {
4
- key: 0,
5
- class: "bg-[#0000006b] hover:bg-[#000000a3] px-1 h-full"
6
- }, z = { class: "px-2 py-0.5" }, $ = { key: 1 }, S = /* @__PURE__ */ u({
7
- name: "TTag",
8
- __name: "Tag",
9
- props: {
10
- text: { default: "" },
11
- size: { default: v.DEFAULT },
12
- role: { default: "" },
13
- color: { default: "" },
14
- confirmClose: { type: Boolean, default: !1 },
15
- hasCloseButton: { type: Boolean, default: !1 }
16
- },
17
- emits: ["close"],
18
- setup(a, { emit: m }) {
19
- const e = a, n = m;
20
- return (s, t) => {
21
- const r = i("t-icon"), p = i("t-popconfirm");
22
- return o(), l("div", {
23
- style: f(`background-color:${e.color}`),
24
- class: _([{
25
- "bg-neutral-700": !e.color
26
- }, "inline-flex items-center rounded-sm text-sm text-white w-max select-none"]),
27
- role: e.role
28
- }, [
29
- e.hasCloseButton ? (o(), l("div", B, [
30
- e.confirmClose ? (o(), c(p, {
31
- key: 0,
32
- title: "Are you sure you want to remove this?",
33
- placement: "top",
34
- class: "h-full inline-flex items-center justify-center",
35
- onConfirm: t[0] || (t[0] = (d) => n("close"))
36
- }, {
37
- default: y(() => [
38
- x(r, {
39
- size: "xs",
40
- icon: "close",
41
- role: "button",
42
- "aria-describedby": "tooltip"
43
- })
44
- ]),
45
- _: 1
46
- })) : (o(), c(r, {
47
- key: 1,
48
- size: "xs",
49
- icon: "close",
50
- role: "button",
51
- onClick: t[1] || (t[1] = (d) => n("close"))
52
- }))
53
- ])) : C("", !0),
54
- b("div", z, [
55
- s.$slots.default ? k(s.$slots, "default", { key: 0 }) : (o(), l("span", $, h(e.text), 1))
56
- ])
57
- ], 14, g);
58
- };
59
- }
60
- });
61
- export {
62
- S as _
63
- };
@@ -1,4 +0,0 @@
1
- const w = '<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z" /></svg>';
2
- export {
3
- w as default
4
- };