@caipira/tamandua 0.0.3 → 0.0.5

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 (381) hide show
  1. package/README.md +10 -2
  2. package/dist/Avatar.js +6 -0
  3. package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +51 -0
  4. package/dist/Backdrop.js +6 -0
  5. package/dist/Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js +22 -0
  6. package/dist/Button-Bzvqv1bQ.js +6 -0
  7. package/dist/Button.js +6 -0
  8. package/dist/Button.vue_vue_type_style_index_0_scoped_5056001e_lang-DmQxrvfv.js +143 -0
  9. package/dist/ButtonCopy.js +6 -0
  10. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +43 -0
  11. package/dist/Drawer-DH5EEenO.js +74 -0
  12. package/dist/Drawer.js +6 -0
  13. package/dist/Dropdown.js +6 -0
  14. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js +135 -0
  15. package/dist/FileDrop.js +6 -0
  16. package/dist/FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js +86 -0
  17. package/dist/Form.js +6 -0
  18. package/dist/Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js +186 -0
  19. package/dist/FormItem.js +6 -0
  20. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV5hpJ8B.js +69 -0
  21. package/dist/GraphyEmpty.js +6 -0
  22. package/dist/GraphyEmpty.vue_vue_type_script_setup_true_lang-B-hAjDCw.js +15 -0
  23. package/dist/GraphyLabel.js +6 -0
  24. package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-dEuzASQp.js +27 -0
  25. package/dist/GraphyPrice.js +6 -0
  26. package/dist/GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js +42 -0
  27. package/dist/GraphySubtitle.js +6 -0
  28. package/dist/GraphySubtitle.vue_vue_type_script_setup_true_lang-DtAmgZWp.js +18 -0
  29. package/dist/GraphyTitle.js +6 -0
  30. package/dist/GraphyTitle.vue_vue_type_script_setup_true_lang-DXnrZHV2.js +15 -0
  31. package/dist/Icon.js +6 -0
  32. package/dist/Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js +46 -0
  33. package/dist/IconButton.js +6 -0
  34. package/dist/IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js +106 -0
  35. package/dist/InputAvatar.js +6 -0
  36. package/dist/InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js +52 -0
  37. package/dist/InputCheckbox.js +6 -0
  38. package/dist/InputCheckbox.vue_vue_type_script_setup_true_lang-B5zoxg5A.js +46 -0
  39. package/dist/InputColor.js +6 -0
  40. package/dist/InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js +35 -0
  41. package/dist/InputDate.js +6 -0
  42. package/dist/InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js +188 -0
  43. package/dist/InputMultiplier.js +6 -0
  44. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +83 -0
  45. package/dist/InputPassword.js +6 -0
  46. package/dist/InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js +139 -0
  47. package/dist/InputPhone.js +6 -0
  48. package/dist/InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js +76 -0
  49. package/dist/InputPrice.js +6 -0
  50. package/dist/InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js +63 -0
  51. package/dist/InputRadio.js +6 -0
  52. package/dist/InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js +34 -0
  53. package/dist/InputSelect.js +6 -0
  54. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js +216 -0
  55. package/dist/InputSwitch.js +6 -0
  56. package/dist/InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js +62 -0
  57. package/dist/InputText.js +6 -0
  58. package/dist/InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js +41 -0
  59. package/dist/InputTextarea.js +6 -0
  60. package/dist/InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js +43 -0
  61. package/dist/LineChart.js +6 -0
  62. package/dist/LineChart.vue_vue_type_script_setup_true_lang-Do8SXht4.js +17 -0
  63. package/dist/Modal.js +6 -0
  64. package/dist/Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js +82 -0
  65. package/dist/ModalForm.js +6 -0
  66. package/dist/ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js +108 -0
  67. package/dist/Pagination.js +6 -0
  68. package/dist/Pagination.vue_vue_type_script_setup_true_lang-PLZQJUd0.js +89 -0
  69. package/dist/PieChart.js +6 -0
  70. package/dist/PieChart.vue_vue_type_script_setup_true_lang-CmEDNOuk.js +17 -0
  71. package/dist/Popconfirm.js +6 -0
  72. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js +65 -0
  73. package/dist/Popover.js +6 -0
  74. package/dist/Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js +987 -0
  75. package/dist/ProgressCircle-iWjZBZwm.js +58 -0
  76. package/dist/ProgressCircle.js +6 -0
  77. package/dist/ProgressLine-BT-YgI1t.js +62 -0
  78. package/dist/ProgressLine.js +6 -0
  79. package/dist/SensitiveInfo.js +6 -0
  80. package/dist/SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js +22 -0
  81. package/dist/Tab.js +6 -0
  82. package/dist/Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js +47 -0
  83. package/dist/Table-CTeoQmG3.js +154 -0
  84. package/dist/Table.js +6 -0
  85. package/dist/Tag.js +6 -0
  86. package/dist/Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js +63 -0
  87. package/dist/Toast.js +6 -0
  88. package/dist/Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js +61 -0
  89. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  90. package/dist/components.js +89 -0
  91. package/dist/composables.js +17 -0
  92. package/dist/crud-d9NUddtZ.js +61 -0
  93. package/dist/date.js +155 -0
  94. package/dist/enums.js +9 -0
  95. package/dist/form2.js +20 -0
  96. package/dist/index-CVD_wAsU.js +2022 -0
  97. package/dist/index-CgLIzaY3.js +7772 -0
  98. package/dist/index-CjvqeRf7.js +1280 -0
  99. package/dist/index-CuyePt3m.js +40 -0
  100. package/dist/index-DBecmJ_I.js +7 -0
  101. package/dist/index.css +297 -0
  102. package/dist/plugin--u5hKcI0.js +10 -0
  103. package/dist/plugin-2nTovNcx.js +10 -0
  104. package/dist/plugin-5vn4G57V.js +10 -0
  105. package/dist/plugin-APHHlXVq.js +10 -0
  106. package/dist/plugin-B5Guy9c3.js +10 -0
  107. package/dist/plugin-BC-6G-0o.js +10 -0
  108. package/dist/plugin-BHaaQBWr.js +10 -0
  109. package/dist/plugin-BLe_xel4.js +10 -0
  110. package/dist/plugin-BPR3wKP8.js +10 -0
  111. package/dist/plugin-BTfinCzO.js +10 -0
  112. package/dist/plugin-BYkYqIjb.js +10 -0
  113. package/dist/plugin-BeNCIHgJ.js +10 -0
  114. package/dist/plugin-Bg2uvrOR.js +10 -0
  115. package/dist/plugin-Br57SoWk.js +10 -0
  116. package/dist/plugin-Buc7eEox.js +10 -0
  117. package/dist/plugin-C-iGigb_.js +10 -0
  118. package/dist/plugin-C27tBvHp.js +10 -0
  119. package/dist/plugin-C2MSl67l.js +10 -0
  120. package/dist/plugin-CF2ujTru.js +10 -0
  121. package/dist/plugin-CHF44uaz.js +10 -0
  122. package/dist/plugin-CHyrn6sC.js +10 -0
  123. package/dist/plugin-CIRUNt1_.js +10 -0
  124. package/dist/plugin-CQ6DHzD0.js +10 -0
  125. package/dist/plugin-CSrviP_c.js +10 -0
  126. package/dist/plugin-CoGzF5YO.js +10 -0
  127. package/dist/plugin-CpACKUGt.js +10 -0
  128. package/dist/plugin-CxGfRAW1.js +10 -0
  129. package/dist/plugin-DDPcV7Fj.js +10 -0
  130. package/dist/plugin-DN54VuID.js +10 -0
  131. package/dist/plugin-DOeDaXWj.js +10 -0
  132. package/dist/plugin-DSCBycRO.js +10 -0
  133. package/dist/plugin-DaibhM02.js +10 -0
  134. package/dist/plugin-Dbdsdqqh.js +10 -0
  135. package/dist/plugin-DdQB9R9S.js +10 -0
  136. package/dist/plugin-DdrfzyNc.js +35 -0
  137. package/dist/plugin-Dg87-qPm.js +10 -0
  138. package/dist/plugin-Xg1SCgfO.js +10 -0
  139. package/dist/plugin-YUomn9tF.js +10 -0
  140. package/dist/plugin-cvHKUGjm.js +10 -0
  141. package/dist/plugin-hpCgD9-h.js +10 -0
  142. package/dist/plugin-nzCD2cWq.js +10 -0
  143. package/dist/plugin-rFDM6yOH.js +10 -0
  144. package/dist/plugin-turENJ3j.js +10 -0
  145. package/dist/plugins-DumG9GBB.js +107 -0
  146. package/dist/plugins.js +103 -0
  147. package/dist/register-component-B-fdqewb.js +6 -0
  148. package/dist/tamandua.js +17 -15366
  149. package/dist/{components → types/components}/Avatar/Avatar.vue.d.ts +1 -1
  150. package/dist/types/components/Avatar/index.d.ts +4 -0
  151. package/dist/{components/Tag/index.d.ts → types/components/Avatar/plugin.d.ts} +0 -2
  152. package/dist/types/components/Backdrop/index.d.ts +4 -0
  153. package/dist/{components/Tab/index.d.ts → types/components/Backdrop/plugin.d.ts} +0 -2
  154. package/dist/{components → types/components}/Button/Button.story.d.ts +1 -1
  155. package/dist/{components → types/components}/Button/Button.vue.d.ts +1 -1
  156. package/dist/types/components/Button/index.d.ts +4 -0
  157. package/dist/{components/Form/index.d.ts → types/components/Button/plugin.d.ts} +0 -2
  158. package/dist/types/components/ButtonCopy/index.d.ts +4 -0
  159. package/dist/{components/Icon/index.d.ts → types/components/ButtonCopy/plugin.d.ts} +0 -2
  160. package/dist/types/components/Drawer/index.d.ts +4 -0
  161. package/dist/types/components/Drawer/plugin.d.ts +4 -0
  162. package/dist/{components → types/components}/Dropdown/Dropdown.vue.d.ts +4 -4
  163. package/dist/types/components/Dropdown/index.d.ts +4 -0
  164. package/dist/types/components/Dropdown/plugin.d.ts +4 -0
  165. package/dist/types/components/FileDrop/index.d.ts +4 -0
  166. package/dist/types/components/FileDrop/plugin.d.ts +4 -0
  167. package/dist/{components → types/components}/Form/Form.vue.d.ts +3 -3
  168. package/dist/types/components/Form/index.d.ts +4 -0
  169. package/dist/types/components/Form/plugin.d.ts +4 -0
  170. package/dist/types/components/FormItem/index.d.ts +4 -0
  171. package/dist/types/components/FormItem/plugin.d.ts +4 -0
  172. package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
  173. package/dist/types/components/GraphyEmpty/plugin.d.ts +4 -0
  174. package/dist/types/components/GraphyLabel/index.d.ts +4 -0
  175. package/dist/types/components/GraphyLabel/plugin.d.ts +4 -0
  176. package/dist/{components → types/components}/GraphyPrice/GraphyPrice.vue.d.ts +1 -1
  177. package/dist/types/components/GraphyPrice/index.d.ts +4 -0
  178. package/dist/types/components/GraphyPrice/plugin.d.ts +4 -0
  179. package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
  180. package/dist/types/components/GraphySubtitle/plugin.d.ts +4 -0
  181. package/dist/types/components/GraphyTitle/index.d.ts +4 -0
  182. package/dist/types/components/GraphyTitle/plugin.d.ts +4 -0
  183. package/dist/{components → types/components}/Icon/Icon.vue.d.ts +1 -1
  184. package/dist/types/components/Icon/index.d.ts +4 -0
  185. package/dist/types/components/Icon/plugin.d.ts +4 -0
  186. package/dist/{components → types/components}/IconButton/IconButton.vue.d.ts +1 -1
  187. package/dist/types/components/IconButton/index.d.ts +4 -0
  188. package/dist/types/components/IconButton/plugin.d.ts +4 -0
  189. package/dist/types/components/InputAvatar/index.d.ts +4 -0
  190. package/dist/types/components/InputAvatar/plugin.d.ts +4 -0
  191. package/dist/types/components/InputCheckbox/index.d.ts +4 -0
  192. package/dist/types/components/InputCheckbox/plugin.d.ts +4 -0
  193. package/dist/types/components/InputColor/index.d.ts +4 -0
  194. package/dist/types/components/InputColor/plugin.d.ts +4 -0
  195. package/dist/types/components/InputDate/index.d.ts +4 -0
  196. package/dist/types/components/InputDate/plugin.d.ts +4 -0
  197. package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +4 -0
  198. package/dist/types/components/InputMultiplier/index.d.ts +4 -0
  199. package/dist/types/components/InputMultiplier/plugin.d.ts +4 -0
  200. package/dist/{components → types/components}/InputPassword/InputPassword.vue.d.ts +1 -1
  201. package/dist/types/components/InputPassword/index.d.ts +4 -0
  202. package/dist/types/components/InputPassword/plugin.d.ts +4 -0
  203. package/dist/types/components/InputPhone/index.d.ts +4 -0
  204. package/dist/types/components/InputPhone/plugin.d.ts +4 -0
  205. package/dist/{components → types/components}/InputPrice/InputPrice.vue.d.ts +1 -1
  206. package/dist/types/components/InputPrice/index.d.ts +4 -0
  207. package/dist/types/components/InputPrice/plugin.d.ts +4 -0
  208. package/dist/types/components/InputRadio/index.d.ts +4 -0
  209. package/dist/types/components/InputRadio/plugin.d.ts +4 -0
  210. package/dist/{components → types/components}/InputSelect/InputSelect.vue.d.ts +4 -4
  211. package/dist/types/components/InputSelect/index.d.ts +4 -0
  212. package/dist/types/components/InputSelect/plugin.d.ts +4 -0
  213. package/dist/types/components/InputSwitch/index.d.ts +4 -0
  214. package/dist/types/components/InputSwitch/plugin.d.ts +4 -0
  215. package/dist/types/components/InputText/index.d.ts +4 -0
  216. package/dist/types/components/InputText/plugin.d.ts +4 -0
  217. package/dist/types/components/InputTextarea/index.d.ts +4 -0
  218. package/dist/types/components/InputTextarea/plugin.d.ts +4 -0
  219. package/dist/types/components/LineChart/index.d.ts +4 -0
  220. package/dist/types/components/LineChart/plugin.d.ts +4 -0
  221. package/dist/types/components/Modal/index.d.ts +4 -0
  222. package/dist/types/components/Modal/plugin.d.ts +4 -0
  223. package/dist/{components → types/components}/ModalForm/ModalForm.vue.d.ts +1 -1
  224. package/dist/types/components/ModalForm/index.d.ts +4 -0
  225. package/dist/types/components/ModalForm/plugin.d.ts +4 -0
  226. package/dist/{components → types/components}/Pagination/Pagination.vue.d.ts +1 -1
  227. package/dist/types/components/Pagination/index.d.ts +4 -0
  228. package/dist/types/components/Pagination/plugin.d.ts +4 -0
  229. package/dist/types/components/PieChart/index.d.ts +4 -0
  230. package/dist/types/components/PieChart/plugin.d.ts +4 -0
  231. package/dist/{components → types/components}/Popconfirm/Popconfirm.vue.d.ts +1 -1
  232. package/dist/types/components/Popconfirm/index.d.ts +4 -0
  233. package/dist/types/components/Popconfirm/plugin.d.ts +4 -0
  234. package/dist/{components → types/components}/Popover/Popover.vue.d.ts +2 -2
  235. package/dist/types/components/Popover/index.d.ts +4 -0
  236. package/dist/types/components/Popover/plugin.d.ts +4 -0
  237. package/dist/types/components/ProgressCircle/index.d.ts +4 -0
  238. package/dist/types/components/ProgressCircle/plugin.d.ts +4 -0
  239. package/dist/types/components/ProgressLine/index.d.ts +4 -0
  240. package/dist/types/components/ProgressLine/plugin.d.ts +4 -0
  241. package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
  242. package/dist/types/components/SensitiveInfo/plugin.d.ts +4 -0
  243. package/dist/{components → types/components}/Tab/Tab.vue.d.ts +1 -1
  244. package/dist/types/components/Tab/index.d.ts +4 -0
  245. package/dist/types/components/Tab/plugin.d.ts +4 -0
  246. package/dist/{components → types/components}/Table/Table.vue.d.ts +3 -3
  247. package/dist/types/components/Table/index.d.ts +4 -0
  248. package/dist/types/components/Table/plugin.d.ts +4 -0
  249. package/dist/{components → types/components}/Table/types.d.ts +1 -1
  250. package/dist/{components → types/components}/Tag/Tag.vue.d.ts +2 -2
  251. package/dist/types/components/Tag/index.d.ts +4 -0
  252. package/dist/types/components/Tag/plugin.d.ts +4 -0
  253. package/dist/{components → types/components}/Tag/types.d.ts +1 -1
  254. package/dist/{components → types/components}/Toast/Toast.vue.d.ts +1 -1
  255. package/dist/types/components/Toast/index.d.ts +4 -0
  256. package/dist/types/components/Toast/plugin.d.ts +4 -0
  257. package/dist/types/components/index.d.ts +45 -0
  258. package/dist/types/components/plugins.d.ts +45 -0
  259. package/dist/types/composables/index.d.ts +4 -0
  260. package/dist/types/composables/useRender.d.ts +3 -0
  261. package/dist/{enums → types/enums}/form.d.ts +1 -1
  262. package/dist/types/enums/index.d.ts +4 -0
  263. package/dist/{enums → types/enums}/ui.d.ts +8 -8
  264. package/dist/{form → types/form}/crud.d.ts +1 -1
  265. package/dist/{form → types/form}/form-data-transformers.d.ts +2 -2
  266. package/dist/{form → types/form}/form-transformer.d.ts +2 -2
  267. package/dist/{form → types/form}/form-value-transformers.d.ts +2 -2
  268. package/dist/types/form/index.d.ts +4 -0
  269. package/dist/{form → types/form}/json-transformers.d.ts +2 -2
  270. package/dist/types/index.d.ts +4 -5
  271. package/dist/types/services/date.d.ts +3 -0
  272. package/dist/types/{form.d.ts → types/form.d.ts} +6 -6
  273. package/dist/types/types/index.d.ts +5 -0
  274. package/dist/types/{ui.d.ts → types/ui.d.ts} +1 -1
  275. package/dist/ui-BLR-4Xlv.js +11 -0
  276. package/dist/ui-MicIL_Lw.js +23 -0
  277. package/dist/useRender-D8PeooXE.js +16 -0
  278. package/package.json +39 -15
  279. package/volar.d.ts +48 -0
  280. package/dist/components/Avatar/index.d.ts +0 -6
  281. package/dist/components/Backdrop/index.d.ts +0 -6
  282. package/dist/components/Button/index.d.ts +0 -6
  283. package/dist/components/ButtonCopy/index.d.ts +0 -6
  284. package/dist/components/Drawer/index.d.ts +0 -6
  285. package/dist/components/Dropdown/index.d.ts +0 -6
  286. package/dist/components/FileDrop/index.d.ts +0 -6
  287. package/dist/components/FormItem/index.d.ts +0 -6
  288. package/dist/components/GraphyEmpty/index.d.ts +0 -6
  289. package/dist/components/GraphyLabel/index.d.ts +0 -6
  290. package/dist/components/GraphyPrice/index.d.ts +0 -6
  291. package/dist/components/GraphySubtitle/index.d.ts +0 -6
  292. package/dist/components/GraphyTitle/index.d.ts +0 -6
  293. package/dist/components/IconButton/index.d.ts +0 -6
  294. package/dist/components/InputAvatar/index.d.ts +0 -6
  295. package/dist/components/InputCheckbox/index.d.ts +0 -6
  296. package/dist/components/InputColor/index.d.ts +0 -6
  297. package/dist/components/InputDate/index.d.ts +0 -6
  298. package/dist/components/InputMultiplier/InputMultiplier.vue.d.ts +0 -41
  299. package/dist/components/InputMultiplier/index.d.ts +0 -6
  300. package/dist/components/InputPassword/index.d.ts +0 -6
  301. package/dist/components/InputPhone/index.d.ts +0 -6
  302. package/dist/components/InputPrice/index.d.ts +0 -6
  303. package/dist/components/InputRadio/index.d.ts +0 -7
  304. package/dist/components/InputSelect/index.d.ts +0 -6
  305. package/dist/components/InputSwitch/index.d.ts +0 -6
  306. package/dist/components/InputText/index.d.ts +0 -6
  307. package/dist/components/InputTextarea/index.d.ts +0 -6
  308. package/dist/components/LineChart/index.d.ts +0 -6
  309. package/dist/components/Modal/index.d.ts +0 -6
  310. package/dist/components/ModalForm/index.d.ts +0 -6
  311. package/dist/components/Pagination/index.d.ts +0 -6
  312. package/dist/components/PieChart/index.d.ts +0 -6
  313. package/dist/components/Popconfirm/index.d.ts +0 -6
  314. package/dist/components/Popover/index.d.ts +0 -6
  315. package/dist/components/ProgressCircle/index.d.ts +0 -6
  316. package/dist/components/ProgressLine/index.d.ts +0 -6
  317. package/dist/components/SensitiveInfo/index.d.ts +0 -6
  318. package/dist/components/Table/index.d.ts +0 -6
  319. package/dist/components/Toast/index.d.ts +0 -6
  320. package/dist/components/index.d.ts +0 -43
  321. package/dist/components/plugins.d.ts +0 -45
  322. package/dist/composables/index.d.ts +0 -2
  323. package/dist/composables/useRender.d.ts +0 -3
  324. package/dist/enums/app.d.ts +0 -5
  325. package/dist/enums/index.d.ts +0 -3
  326. package/dist/index.d.ts +0 -5
  327. package/dist/services/date.d.ts +0 -16
  328. package/dist/style.css +0 -1
  329. package/dist/vite.config.d.mts +0 -2
  330. /package/dist/{components → types/components}/Avatar/Avatar.story.d.ts +0 -0
  331. /package/dist/{components → types/components}/Backdrop/Backdrop.vue.d.ts +0 -0
  332. /package/dist/{components → types/components}/ButtonCopy/ButtonCopy.vue.d.ts +0 -0
  333. /package/dist/{components → types/components}/Drawer/Drawer.vue.d.ts +0 -0
  334. /package/dist/{components → types/components}/EventListener/EventListener.vue.d.ts +0 -0
  335. /package/dist/{components → types/components}/FileDrop/FileDrop.vue.d.ts +0 -0
  336. /package/dist/{components → types/components}/Form/Form.spec.d.ts +0 -0
  337. /package/dist/{components → types/components}/FormItem/FormItem.vue.d.ts +0 -0
  338. /package/dist/{components → types/components}/GraphyEmpty/GraphyEmpty.vue.d.ts +0 -0
  339. /package/dist/{components → types/components}/GraphyLabel/GraphyLabel.vue.d.ts +0 -0
  340. /package/dist/{components → types/components}/GraphyPrice/GraphyPrice.story.d.ts +0 -0
  341. /package/dist/{components → types/components}/GraphySubtitle/GraphySubtitle.vue.d.ts +0 -0
  342. /package/dist/{components → types/components}/GraphyTitle/GraphyTitle.vue.d.ts +0 -0
  343. /package/dist/{components → types/components}/InputAvatar/InputAvatar.vue.d.ts +0 -0
  344. /package/dist/{components → types/components}/InputCheckbox/InputCheckbox.vue.d.ts +0 -0
  345. /package/dist/{components → types/components}/InputColor/InputColor.vue.d.ts +0 -0
  346. /package/dist/{components → types/components}/InputDate/InputDate.story.d.ts +0 -0
  347. /package/dist/{components → types/components}/InputDate/InputDate.vue.d.ts +0 -0
  348. /package/dist/{components → types/components}/InputMultiplier/input-multiplier.story.d.ts +0 -0
  349. /package/dist/{components → types/components}/InputMultiplier/types.d.ts +0 -0
  350. /package/dist/{components → types/components}/InputPhone/InputPhone.vue.d.ts +0 -0
  351. /package/dist/{components → types/components}/InputRadio/InputRadio.vue.d.ts +0 -0
  352. /package/dist/{components → types/components}/InputRadio/InputRadioGroup.story.d.ts +0 -0
  353. /package/dist/{components → types/components}/InputRadio/InputRadioGroup.vue.d.ts +0 -0
  354. /package/dist/{components → types/components}/InputSelect/InputSelect.story.d.ts +0 -0
  355. /package/dist/{components → types/components}/InputSwitch/InputSwitch.story.d.ts +0 -0
  356. /package/dist/{components → types/components}/InputSwitch/InputSwitch.vue.d.ts +0 -0
  357. /package/dist/{components → types/components}/InputText/InputText.vue.d.ts +0 -0
  358. /package/dist/{components → types/components}/InputTextarea/InputTextarea.vue.d.ts +0 -0
  359. /package/dist/{components → types/components}/LineChart/LineChart.vue.d.ts +0 -0
  360. /package/dist/{components → types/components}/Modal/Modal.vue.d.ts +0 -0
  361. /package/dist/{components → types/components}/Pagination/Pagination.story.d.ts +0 -0
  362. /package/dist/{components → types/components}/PieChart/PieChart.vue.d.ts +0 -0
  363. /package/dist/{components → types/components}/ProgressCircle/ProgressCircle.story.d.ts +0 -0
  364. /package/dist/{components → types/components}/ProgressCircle/ProgressCircle.vue.d.ts +0 -0
  365. /package/dist/{components → types/components}/ProgressLine/ProgressLine.story.d.ts +0 -0
  366. /package/dist/{components → types/components}/ProgressLine/ProgressLine.vue.d.ts +0 -0
  367. /package/dist/{components → types/components}/SensitiveInfo/SensitiveInfo.vue.d.ts +0 -0
  368. /package/dist/{components → types/components}/Table/Table.story.d.ts +0 -0
  369. /package/dist/{composables → types/composables}/useBreakpoints.d.ts +0 -0
  370. /package/dist/{form → types/form}/convertors.d.ts +0 -0
  371. /package/dist/{form → types/form}/form.test.d.ts +0 -0
  372. /package/dist/{i18n.d.ts → types/i18n.d.ts} +0 -0
  373. /package/dist/{plugins → types/plugins}/register-component.d.ts +0 -0
  374. /package/dist/{services → types/services}/clipboard.d.ts +0 -0
  375. /package/dist/{services → types/services}/password.d.ts +0 -0
  376. /package/dist/{services → types/services}/ui.d.ts +0 -0
  377. /package/dist/types/{address.d.ts → types/address.d.ts} +0 -0
  378. /package/dist/types/{api.d.ts → types/api.d.ts} +0 -0
  379. /package/dist/types/{common.d.ts → types/common.d.ts} +0 -0
  380. /package/dist/types/{website.d.ts → types/website.d.ts} +0 -0
  381. /package/dist/{vitest.setup.d.ts → types/vitest.setup.d.ts} +0 -0
@@ -0,0 +1,63 @@
1
+ import { defineComponent as w, ref as a, inject as x, onBeforeMount as C, watch as g, resolveComponent as i, openBlock as U, createElementBlock as j, normalizeClass as B, unref as I, createVNode as p, mergeProps as m } from "vue";
2
+ const $ = /* @__PURE__ */ w({
3
+ name: "TInputPrice",
4
+ inheritAttrs: !1,
5
+ __name: "InputPrice",
6
+ props: {
7
+ modelValue: { default: () => ({}) },
8
+ wrapperClass: {},
9
+ resource: {}
10
+ },
11
+ emits: ["update:modelValue"],
12
+ setup(c, { emit: d }) {
13
+ const t = c, f = d, l = a(""), o = a(""), V = x("formStyle", { label: "", input: "" }), r = a([]), v = async () => {
14
+ r.value = (await t.resource()).map(
15
+ (e) => ({
16
+ label: e.symbol,
17
+ value: e.iso
18
+ })
19
+ );
20
+ }, s = () => {
21
+ f("update:modelValue", {
22
+ iso: o.value,
23
+ value: parseFloat(l.value)
24
+ });
25
+ }, b = (e) => {
26
+ !e || typeof e != "object" || (t.modelValue?.value && (l.value = `${t.modelValue.value}`), t.modelValue?.iso && (o.value = t.modelValue.iso));
27
+ };
28
+ return C(async () => {
29
+ await v();
30
+ }), g(
31
+ () => t.modelValue,
32
+ (e) => {
33
+ b(e);
34
+ },
35
+ { immediate: !0 }
36
+ ), (e, n) => {
37
+ const y = i("t-input-select"), _ = i("t-input-text");
38
+ return U(), j("div", {
39
+ class: B(["flex h-9", {
40
+ [I(V).input]: !0,
41
+ "input-bg-color input-text-color border input-border input-roundness": !t.wrapperClass
42
+ }])
43
+ }, [
44
+ p(y, m({
45
+ modelValue: o.value,
46
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => o.value = u),
47
+ options: r.value,
48
+ "disable-style": !0,
49
+ class: "w-20 flex justify-center items-center border-r input-border"
50
+ }, e.$attrs, { "onUpdate:modelValue": s }), null, 16, ["modelValue", "options"]),
51
+ p(_, m({
52
+ modelValue: l.value,
53
+ "onUpdate:modelValue": n[1] || (n[1] = (u) => l.value = u),
54
+ "disable-style": !0,
55
+ class: "w-full input-bg-color input-text-color input-outline input-roundness input-padding"
56
+ }, e.$attrs, { "onUpdate:modelValue": s }), null, 16, ["modelValue"])
57
+ ], 2);
58
+ };
59
+ }
60
+ });
61
+ export {
62
+ $ as _
63
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as a } from "./InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js";
2
+ import { p as t } from "./plugin-DdrfzyNc.js";
3
+ export {
4
+ a as InputRadio,
5
+ t as InputRadioPlugin
6
+ };
@@ -0,0 +1,34 @@
1
+ import { defineComponent as m, inject as e, openBlock as u, createElementBlock as b, createElementVNode as o, unref as r, toDisplayString as v } from "vue";
2
+ const h = { class: "h-9 inline-flex items-center" }, f = ["value", "name", "disabled", "checked"];
3
+ let _ = 0;
4
+ const k = /* @__PURE__ */ m({
5
+ name: "TInputRadio",
6
+ __name: "InputRadio",
7
+ props: {
8
+ value: {},
9
+ label: {}
10
+ },
11
+ setup(t) {
12
+ const a = t, i = `radio_${++_}`, c = e("name", ""), l = e("model", ""), d = e("change", () => {
13
+ }), p = e("disabled", !1);
14
+ return (s, n) => (u(), b("div", h, [
15
+ o("input", {
16
+ value: a.value,
17
+ name: r(c),
18
+ id: i,
19
+ disabled: r(p),
20
+ checked: a.value === r(l),
21
+ type: "radio",
22
+ class: "form-radio relative w-5 h-5 border border-caipira-primary-inverted checked:hover:border-caipira-primary-inverted checked:focus:border-caipira-primary-inverted checked:border-caipira-primary-inverted input-outline focus:input-outline bg-caipira-primary color-caipira-primary cursor-pointer bg-[length:30px]",
23
+ onChange: n[0] || (n[0] = (y) => r(d)(a.value))
24
+ }, null, 40, f),
25
+ o("label", {
26
+ class: "cursor-pointer pl-2 mr-3 input-label",
27
+ for: i
28
+ }, v(s.label), 1)
29
+ ]));
30
+ }
31
+ });
32
+ export {
33
+ k as _
34
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js";
2
+ import { p as r } from "./plugin-Br57SoWk.js";
3
+ export {
4
+ p as InputSelect,
5
+ r as InputSelectPlugin
6
+ };
@@ -0,0 +1,216 @@
1
+ import { defineComponent as se, ref as p, inject as ue, computed as R, onBeforeMount as re, onBeforeUnmount as ce, watch as A, resolveComponent as b, openBlock as u, createElementBlock as d, normalizeClass as k, unref as K, createElementVNode as I, withKeys as pe, renderSlot as g, normalizeProps as V, mergeProps as j, Fragment as _, renderList as M, guardReactiveProps as U, createBlock as N, toDisplayString as de, createCommentVNode as q, withDirectives as fe, vModelText as me, createVNode as P, withCtx as G, createSlots as ve, nextTick as ye } from "vue";
2
+ import { E as be, c as he } from "./ui-BLR-4Xlv.js";
3
+ import { u as we } from "./ui-MicIL_Lw.js";
4
+ const ke = { key: 1 }, ge = ["placeholder", "disabled", "readonly"], Ve = { class: "flex w-full justify-between items-center" }, _e = { class: "flex items-center" };
5
+ let Se = 0;
6
+ const Ee = /* @__PURE__ */ se({
7
+ name: "TInputSelect",
8
+ __name: "InputSelect",
9
+ props: {
10
+ size: { default: be.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: he.BOTTOM }
25
+ },
26
+ emits: ["update:modelValue"],
27
+ setup(f, { emit: S }) {
28
+ const l = f;
29
+ let x = !1, h, T = "";
30
+ const H = `checkbox_${++Se}`, r = p(""), o = p([]), $ = p(null), L = ue("formStyle", { label: "", input: "" }), C = p(null), n = p(!1), D = p(null), a = p([]), c = p(null), J = S, B = R(() => a.value.length > 0), O = R(() => l.isSearchable && n.value), v = R(() => typeof l.resource == "function"), Q = (e) => !l.multiple || !l.modelValue || !Array.isArray(l.modelValue) ? !1 : l.modelValue.includes(e.option[l.identifier]), W = (e = l.modelValue) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), X = (e) => {
31
+ J("update:modelValue", e);
32
+ }, m = (e = l.modelValue) => {
33
+ if (W(e))
34
+ if (l.multiple)
35
+ Array.isArray(e) && (a.value = e.map(
36
+ (t) => E(t)
37
+ ).filter((t) => t > -1));
38
+ else {
39
+ const t = E(e);
40
+ ~t && (a.value = [t]);
41
+ }
42
+ }, z = (e) => {
43
+ n.value = !n.value, n.value && O.value && ye(() => {
44
+ $.value?.focus();
45
+ }), e.stopPropagation();
46
+ }, E = (e) => o.value.findIndex(
47
+ (t) => t.value === e
48
+ ), F = (e) => {
49
+ C.value && we.wasClickOutsideOfContainer(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 ? o.value.push(...i.items.map(l.mapper)) : o.value = i.items.map(l.mapper), c.value = i.pagination, !v.value && r.value && m(r.value);
60
+ }, Y = () => {
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 && (o.value = l.options.filter(
63
+ (e) => l.filter(r.value, e)
64
+ ));
65
+ }, 500));
66
+ }, Z = () => {
67
+ n.value = !1;
68
+ }, ee = (e) => {
69
+ n.value = !1, e.stopPropagation();
70
+ }, le = ({
71
+ index: e,
72
+ hold: t
73
+ }) => {
74
+ if (x = !0, l.multiple) {
75
+ const i = a.value.findIndex(
76
+ (y) => y === e
77
+ );
78
+ ~i ? a.value.splice(i, 1) : a.value.push(e);
79
+ } else
80
+ a.value = [e];
81
+ (!l.multiple || !t) && (n.value = !1);
82
+ }, te = () => {
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
+ D.value?.move(e);
88
+ break;
89
+ }
90
+ };
91
+ return re(async () => {
92
+ v.value ? (await w(), m()) : l.options.length > 0 && (o.value = l.options), !l.modelValue && l.initialValue ? m(l.initialValue) : m(l.modelValue), document.addEventListener("click", F);
93
+ }), ce(() => {
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
+ a,
102
+ (e) => {
103
+ const t = l.multiple ? o.value.filter(
104
+ (i, y) => a.value.includes(y)
105
+ ).map((i) => i.value) : o.value[a.value[0]].value;
106
+ x && (x = !1, X(t));
107
+ },
108
+ { deep: !0 }
109
+ ), A(
110
+ () => l.options,
111
+ (e) => {
112
+ e.length > 0 && (o.value = e, l.modelValue && a.value.length === 0 && m(l.modelValue));
113
+ }
114
+ ), (e, t) => {
115
+ const i = b("t-tag"), y = b("t-icon-button"), oe = b("t-icon"), ne = b("t-dropdown"), ie = b("t-popover");
116
+ return u(), d("div", {
117
+ class: k({ [K(L).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(L).input]: !l.disableStyle
127
+ }, "inline-flex justify-between items-center w-full text-left"]),
128
+ role: "button",
129
+ onClick: z,
130
+ onBlur: Z,
131
+ onKeyup: pe(ee, ["esc"])
132
+ }, [
133
+ O.value ? fe((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: Y,
145
+ onKeydown: ae
146
+ }, null, 42, ge)), [
147
+ [me, 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 }, o.value[a.value[0]].label))) : e.$slots.default && B.value ? (u(), d(_, { key: 1 }, [
156
+ l.multiple ? (u(!0), d(_, { key: 0 }, M(a.value, (s) => g(e.$slots, "default", V(U(o.value[s].label)))), 256)) : g(e.$slots, "default", V(j({ key: 1 }, o.value[a.value[0]].label)))
157
+ ], 64)) : B.value ? (u(), d(_, { key: 2 }, [
158
+ l.multiple ? (u(!0), d(_, { key: 0 }, M(a.value, (s) => (u(), N(i, {
159
+ key: s,
160
+ text: o.value[s].label,
161
+ color: "#6e6e6e"
162
+ }, null, 8, ["text"]))), 128)) : (u(), d("span", ke, de(o.value[a.value[0]]?.label), 1))
163
+ ], 64)) : q("", !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(ie, {
173
+ placement: l.dropdownPlacement,
174
+ "is-visible": n.value
175
+ }, {
176
+ content: G(() => [
177
+ P(ne, {
178
+ ref_key: "dropdownRef",
179
+ ref: D,
180
+ owner: H,
181
+ items: o.value,
182
+ "is-visible": n.value,
183
+ multiple: l.multiple,
184
+ class: "fixed",
185
+ "aria-describedby": "tooltip",
186
+ onChange: le,
187
+ onEndReached: te
188
+ }, ve({ _: 2 }, [
189
+ e.$slots.default ? {
190
+ name: "default",
191
+ fn: G((s) => [
192
+ I("div", Ve, [
193
+ I("div", _e, [
194
+ g(e.$slots, "default", V(U(s.label)))
195
+ ]),
196
+ Q(s) ? (u(), N(oe, {
197
+ key: 0,
198
+ icon: "check",
199
+ size: "sm",
200
+ class: "float-right ml-2"
201
+ })) : q("", !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
+ Ee as _
216
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js";
2
+ import { p as i } from "./plugin-Bg2uvrOR.js";
3
+ export {
4
+ o as InputSwitch,
5
+ i as InputSwitchPlugin
6
+ };
@@ -0,0 +1,62 @@
1
+ import { defineComponent as b, ref as v, watch as f, openBlock as i, createElementBlock as n, createElementVNode as t, normalizeClass as o, withDirectives as h, vModelCheckbox as y, toDisplayString as k, createCommentVNode as w } from "vue";
2
+ const V = ["disabled"];
3
+ let g = 0;
4
+ const B = /* @__PURE__ */ b({
5
+ name: "TInputSwitch",
6
+ __name: "InputSwitch",
7
+ props: {
8
+ label: { default: "" },
9
+ disabled: { type: Boolean, default: !1 },
10
+ modelValue: { type: Boolean }
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(d, { emit: u }) {
14
+ const s = d, c = u, a = `switch_${++g}`, e = v(!1), p = () => {
15
+ const l = !e.value;
16
+ c("update:modelValue", l);
17
+ };
18
+ return f(
19
+ () => s.modelValue,
20
+ (l) => {
21
+ e.value = !!l;
22
+ },
23
+ { immediate: !0 }
24
+ ), (l, r) => (i(), n("div", null, [
25
+ t("div", {
26
+ class: o(["relative inline-block w-12 mr-2 align-middle select-none", {
27
+ "rounded-full": !e.value
28
+ }])
29
+ }, [
30
+ h(t("input", {
31
+ "onUpdate:modelValue": r[0] || (r[0] = (m) => e.value = m),
32
+ type: "checkbox",
33
+ class: o(["absolute block w-6 h-6 rounded-full appearance-none cursor-pointer bg-caipira-primary border input-outline", {
34
+ "right-0 border-caipira-primary-inverted": e.value,
35
+ "border-caipira-tertiary": !e.value
36
+ }]),
37
+ name: a,
38
+ id: a,
39
+ disabled: l.disabled,
40
+ onInput: p
41
+ }, null, 42, V), [
42
+ [y, e.value]
43
+ ]),
44
+ t("label", {
45
+ for: a,
46
+ class: o([{
47
+ "bg-caipira-primary-inverted": e.value,
48
+ "bg-caipira-tertiary": !e.value
49
+ }, "block overflow-hidden h-6 rounded-full cursor-pointer"])
50
+ }, null, 2)
51
+ ], 2),
52
+ l.label ? (i(), n("label", {
53
+ key: 0,
54
+ class: "text-base cursor-pointer",
55
+ for: a
56
+ }, k(l.label), 1)) : w("", !0)
57
+ ]));
58
+ }
59
+ });
60
+ export {
61
+ B as _
62
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as e } from "./InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js";
2
+ import { p as r } from "./plugin-CxGfRAW1.js";
3
+ export {
4
+ e as InputText,
5
+ r as InputTextPlugin
6
+ };
@@ -0,0 +1,41 @@
1
+ import { defineComponent as f, inject as l, computed as v, withDirectives as y, openBlock as b, createElementBlock as h, mergeProps as _, unref as t, vModelDynamic as x } from "vue";
2
+ const S = ["type", "id", "placeholder", "autocomplete", "disabled"], B = /* @__PURE__ */ f({
3
+ name: "TInputText",
4
+ __name: "InputText",
5
+ props: {
6
+ modelValue: { default: "" },
7
+ type: { default: "text" },
8
+ placeholder: { default: void 0 },
9
+ autocomplete: { default: void 0 },
10
+ disabled: { type: Boolean, default: !1 },
11
+ disableStyle: { type: Boolean, default: !1 }
12
+ },
13
+ emits: ["update:model-value", "keyup.enter"],
14
+ setup(i, { emit: p }) {
15
+ const e = i, r = p, s = l("id", ""), d = l("invalid", !1), c = l("formStyle", { input: "w-full" }), a = l("validated", !1), n = v({
16
+ get: () => e.modelValue,
17
+ set: (o) => {
18
+ r("update:model-value", o);
19
+ }
20
+ });
21
+ return (o, u) => y((b(), h("input", _({
22
+ "onUpdate:modelValue": u[0] || (u[0] = (m) => n.value = m),
23
+ type: e.type,
24
+ class: {
25
+ "h-9 input-bg-color input-text-color input-outline border input-border input-roundnes input-padding input-roundness": !e.disableStyle,
26
+ [t(c).input]: !e.disableStyle,
27
+ "border-red-500": !t(a) && t(d),
28
+ "border-emerald-500": t(a) && !t(d)
29
+ },
30
+ id: t(s),
31
+ placeholder: e.placeholder,
32
+ autocomplete: e.autocomplete,
33
+ disabled: e.disabled
34
+ }, o.$attrs), null, 16, S)), [
35
+ [x, n.value]
36
+ ]);
37
+ }
38
+ });
39
+ export {
40
+ B as _
41
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as r } from "./InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js";
2
+ import { p } from "./plugin-Xg1SCgfO.js";
3
+ export {
4
+ r as InputTextarea,
5
+ p as InputTextareaPlugin
6
+ };
@@ -0,0 +1,43 @@
1
+ import { defineComponent as f, ref as r, inject as l, watch as b, openBlock as y, createElementBlock as h, normalizeClass as v, unref as t } from "vue";
2
+ const S = ["value", "type", "placeholder", "disabled"], V = /* @__PURE__ */ f({
3
+ name: "TInputTextarea",
4
+ __name: "InputTextarea",
5
+ props: {
6
+ type: { default: "text" },
7
+ disabled: { type: Boolean, default: !1 },
8
+ modelValue: {},
9
+ placeholder: { default: void 0 },
10
+ disableStyle: { type: Boolean, default: !1 }
11
+ },
12
+ emits: ["update:modelValue"],
13
+ setup(i, { emit: u }) {
14
+ const s = i, p = u, a = r(""), o = l("invalid", !1), c = l("formStyle", { input: "w-full" }), n = l("validated", !1);
15
+ r("");
16
+ const m = ({ target: e }) => {
17
+ const d = e.value;
18
+ p("update:modelValue", d);
19
+ };
20
+ return b(
21
+ () => s.modelValue,
22
+ (e) => {
23
+ e && (a.value = e);
24
+ },
25
+ { immediate: !0 }
26
+ ), (e, d) => (y(), h("textarea", {
27
+ value: a.value,
28
+ type: e.type,
29
+ class: v(["min-h-9 input-bg-color input-text-color input-outline border input-border input-roundnes input-padding input-roundness", {
30
+ "border rounded h-9": !e.disableStyle,
31
+ [t(c).input]: !e.disableStyle,
32
+ "border-red-500": !t(n) && t(o),
33
+ "border-emerald-500": t(n) && !t(o)
34
+ }]),
35
+ placeholder: e.placeholder,
36
+ disabled: e.disabled,
37
+ onInput: m
38
+ }, null, 42, S));
39
+ }
40
+ });
41
+ export {
42
+ V as _
43
+ };
@@ -0,0 +1,6 @@
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
+ };
@@ -0,0 +1,17 @@
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/Modal.js ADDED
@@ -0,0 +1,6 @@
1
+ import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js";
2
+ import { p } from "./plugin-BPR3wKP8.js";
3
+ export {
4
+ r as Modal,
5
+ p as ModalPlugin
6
+ };
@@ -0,0 +1,82 @@
1
+ import { defineComponent as m, ref as y, onMounted as b, resolveComponent as _, openBlock as o, createElementBlock as l, normalizeClass as n, withKeys as h, createBlock as k, createCommentVNode as s, createElementVNode as a, toDisplayString as w, renderSlot as i, createVNode as v } from "vue";
2
+ import { _ as x } from "./Backdrop.vue_vue_type_script_setup_true_lang-OaEBTmYK.js";
3
+ const S = {
4
+ key: 0,
5
+ class: "flex justify-between items-center p-4 border-b border-color"
6
+ }, B = { class: "" }, C = {
7
+ key: 0,
8
+ class: "inline-block font-semibold uppercase mr-8"
9
+ }, j = {
10
+ key: 1,
11
+ class: "flex flex-row items-center justify-between p-4 border-t border-color"
12
+ }, M = /* @__PURE__ */ m({
13
+ name: "TModal",
14
+ __name: "Modal",
15
+ props: {
16
+ title: { default: "" },
17
+ showHeader: { type: Boolean, default: !0 },
18
+ injectStyle: { default: () => ({ wrapper: "", body: "", container: "" }) },
19
+ hasBackdrop: { type: Boolean, default: !0 },
20
+ disableStyle: { type: Boolean, default: !1 }
21
+ },
22
+ emits: ["closed"],
23
+ setup(d, { emit: u }) {
24
+ const e = d, c = y(null), p = u, r = (t) => {
25
+ t.stopPropagation(), p("closed");
26
+ };
27
+ return b(() => {
28
+ c.value?.focus();
29
+ }), (t, $) => {
30
+ const f = _("t-icon");
31
+ return o(), l("div", {
32
+ class: n(["fixed inset-0 focus-visible:outline-none z-10", {
33
+ "flex items-center": !e.disableStyle,
34
+ [e.injectStyle.wrapper]: !0
35
+ }]),
36
+ tabindex: "-1",
37
+ ref_key: "modal",
38
+ ref: c,
39
+ onKeyup: h(r, ["esc"])
40
+ }, [
41
+ e.hasBackdrop ? (o(), k(x, {
42
+ key: 0,
43
+ class: "z-10",
44
+ onClick: r
45
+ })) : s("", !0),
46
+ a("div", {
47
+ class: n(["z-10 w-full md:w-[36rem] mx-auto", {
48
+ "bg-caipira-primary input-roundness shadow-2xl": !e.disableStyle,
49
+ [e.injectStyle.container]: !0
50
+ }])
51
+ }, [
52
+ e.showHeader ? (o(), l("div", S, [
53
+ a("div", B, [
54
+ e.title ? (o(), l("span", C, w(e.title), 1)) : s("", !0),
55
+ t.$slots.header ? i(t.$slots, "header", { key: 1 }) : s("", !0)
56
+ ]),
57
+ v(f, {
58
+ icon: "close",
59
+ role: "button",
60
+ class: "text-neutral-600",
61
+ onClick: r
62
+ })
63
+ ])) : s("", !0),
64
+ a("div", {
65
+ class: n(["flex flex-col flex-1 overflow-y-auto scrollbar", {
66
+ [e.injectStyle.body]: !0
67
+ }]),
68
+ style: { "max-height": "80vh" }
69
+ }, [
70
+ i(t.$slots, "default")
71
+ ], 2),
72
+ t.$slots.footer ? (o(), l("div", j, [
73
+ i(t.$slots, "footer")
74
+ ])) : s("", !0)
75
+ ], 2)
76
+ ], 34);
77
+ };
78
+ }
79
+ });
80
+ export {
81
+ M as _
82
+ };
@@ -0,0 +1,6 @@
1
+ import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js";
2
+ import { p as l } from "./plugin-B5Guy9c3.js";
3
+ export {
4
+ a as ModalForm,
5
+ l as ModalFormPlugin
6
+ };