@caipira/tamandua 0.0.2 → 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 (714) 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/account-BJGxzbeL.js +5 -0
  91. package/dist/alert-octagon-D8wznooU.js +4 -0
  92. package/dist/alert-octagon-outline-fM2QVbyq.js +5 -0
  93. package/dist/archive-DDuuzVUo.js +5 -0
  94. package/dist/archive-outline-BT6uCRX5.js +5 -0
  95. package/dist/arrow-left-CVipcGWo.js +5 -0
  96. package/dist/arrow-right-DHFo5L72.js +5 -0
  97. package/dist/bank-lwoR1P6d.js +5 -0
  98. package/dist/bank-outline-wy0O9ni0.js +5 -0
  99. package/dist/camera-BXoPauop.js +5 -0
  100. package/dist/cards-outline-B0no8Z63.js +5 -0
  101. package/dist/cards-variant-CU6V8mdM.js +5 -0
  102. package/dist/cart-outline-C99s8OpS.js +4 -0
  103. package/dist/chart-box-outline-C9ymwfIH.js +5 -0
  104. package/dist/chart-box-tyepg_QH.js +5 -0
  105. package/dist/check-circle-C3Kf7DnE.js +5 -0
  106. package/dist/check-circle-outline-B4zmPfuc.js +5 -0
  107. package/dist/check-iUT-FuWa.js +5 -0
  108. package/dist/checkbox-TojXdFTq.js +5 -0
  109. package/dist/checkbox-dark-D_btgwCX.js +5 -0
  110. package/dist/checkbox-indeterminate-CtbmyFkw.js +5 -0
  111. package/dist/checkbox-indeterminate-dark-CSrkJBRG.js +5 -0
  112. package/dist/chevron-down-CJLshITY.js +5 -0
  113. package/dist/chevron-left-n_sGCmlG.js +5 -0
  114. package/dist/chevron-right-C8uLqjmq.js +5 -0
  115. package/dist/chevron-up-b6VdQM8S.js +5 -0
  116. package/dist/circle-DhoEDuC5.js +5 -0
  117. package/dist/clock-BqMI2OIG.js +5 -0
  118. package/dist/close-DemH4JAO.js +5 -0
  119. package/dist/close-circle-Bsf9_pUR.js +4 -0
  120. package/dist/close-circle-outline-CUXfYV4M.js +5 -0
  121. package/dist/cog-Dd9I6z5D.js +5 -0
  122. package/dist/color-fill-DWx77G0p.js +5 -0
  123. package/dist/components.js +89 -0
  124. package/dist/composables.js +17 -0
  125. package/dist/copy-D-Dqxp8h.js +5 -0
  126. package/dist/credit-card-B3VjoUad.js +5 -0
  127. package/dist/credit-card-plus-TUZq5Zi0.js +4 -0
  128. package/dist/crud-d9NUddtZ.js +61 -0
  129. package/dist/currency-BuSji4qA.js +5 -0
  130. package/dist/database-CNG_l2Or.js +5 -0
  131. package/dist/date.js +155 -0
  132. package/dist/dots-grid-BhRGZg1t.js +5 -0
  133. package/dist/dots-vertical-nYIDxlT1.js +5 -0
  134. package/dist/email-open-outline-NlRAK8vu.js +5 -0
  135. package/dist/email-outline-v-beMKo_.js +5 -0
  136. package/dist/enums.js +9 -0
  137. package/dist/eye-C7_UM0rn.js +5 -0
  138. package/dist/eye-off-Dq2WOPSG.js +5 -0
  139. package/dist/file-document-plus-outline-C_GeG8ak.js +5 -0
  140. package/dist/filmstrip-Dg66xHap.js +4 -0
  141. package/dist/filter-07gM0IrM.js +5 -0
  142. package/dist/form2.js +20 -0
  143. package/dist/fullscreen-daZRwm-1.js +5 -0
  144. package/dist/fullscreen-exit-DvHy2f8E.js +5 -0
  145. package/dist/group-B1HQcmCl.js +5 -0
  146. package/dist/image-C-DY_SfK.js +5 -0
  147. package/dist/image-album-DVl72ioK.js +5 -0
  148. package/dist/image-album-outline-oiPipPnp.js +5 -0
  149. package/dist/image-outline-CLpFyr7w.js +5 -0
  150. package/dist/index-CVD_wAsU.js +2022 -0
  151. package/dist/index-CgLIzaY3.js +7772 -0
  152. package/dist/index-CjvqeRf7.js +1280 -0
  153. package/dist/index-CuyePt3m.js +40 -0
  154. package/dist/index-DBecmJ_I.js +7 -0
  155. package/dist/info-outline-Mn6Hjz_K.js +5 -0
  156. package/dist/key-B8iEXxGx.js +5 -0
  157. package/dist/key-chain-D-8-GrU2.js +5 -0
  158. package/dist/key-variant-DViBRFAJ.js +5 -0
  159. package/dist/listbox-outline-BBriTS-r.js +5 -0
  160. package/dist/loading-E4eFmVsP.js +5 -0
  161. package/dist/lock-Nv-e-b24.js +5 -0
  162. package/dist/lock-outline-K2LxC2b6.js +5 -0
  163. package/dist/logout-BHwFpuou.js +5 -0
  164. package/dist/menu-down-B4Fy5IG1.js +4 -0
  165. package/dist/menu-left-D8G3frKt.js +4 -0
  166. package/dist/menu-pq7WWaJu.js +5 -0
  167. package/dist/menu-right-CMt4thJ2.js +4 -0
  168. package/dist/minus-CSCkQnOm.js +5 -0
  169. package/dist/minus-circle-D_N5NZW-.js +5 -0
  170. package/dist/minus-circle-outline-B-x6EXPD.js +5 -0
  171. package/dist/moon-Bhm_ZTV6.js +5 -0
  172. package/dist/open-in-new-C2Btl_1k.js +5 -0
  173. package/dist/pencil-BETebgXX.js +5 -0
  174. package/dist/people-BUW1DRzH.js +5 -0
  175. package/dist/piggy-bank-outline-5cDQNrSU.js +5 -0
  176. package/dist/plugin--u5hKcI0.js +10 -0
  177. package/dist/plugin-2nTovNcx.js +10 -0
  178. package/dist/plugin-5vn4G57V.js +10 -0
  179. package/dist/plugin-APHHlXVq.js +10 -0
  180. package/dist/plugin-B5Guy9c3.js +10 -0
  181. package/dist/plugin-BC-6G-0o.js +10 -0
  182. package/dist/plugin-BHaaQBWr.js +10 -0
  183. package/dist/plugin-BLe_xel4.js +10 -0
  184. package/dist/plugin-BPR3wKP8.js +10 -0
  185. package/dist/plugin-BTfinCzO.js +10 -0
  186. package/dist/plugin-BYkYqIjb.js +10 -0
  187. package/dist/plugin-BeNCIHgJ.js +10 -0
  188. package/dist/plugin-Bg2uvrOR.js +10 -0
  189. package/dist/plugin-Br57SoWk.js +10 -0
  190. package/dist/plugin-Buc7eEox.js +10 -0
  191. package/dist/plugin-C-iGigb_.js +10 -0
  192. package/dist/plugin-C27tBvHp.js +10 -0
  193. package/dist/plugin-C2MSl67l.js +10 -0
  194. package/dist/plugin-CF2ujTru.js +10 -0
  195. package/dist/plugin-CHF44uaz.js +10 -0
  196. package/dist/plugin-CHyrn6sC.js +10 -0
  197. package/dist/plugin-CIRUNt1_.js +10 -0
  198. package/dist/plugin-CQ6DHzD0.js +10 -0
  199. package/dist/plugin-CSrviP_c.js +10 -0
  200. package/dist/plugin-CoGzF5YO.js +10 -0
  201. package/dist/plugin-CpACKUGt.js +10 -0
  202. package/dist/plugin-CxGfRAW1.js +10 -0
  203. package/dist/plugin-DDPcV7Fj.js +10 -0
  204. package/dist/plugin-DN54VuID.js +10 -0
  205. package/dist/plugin-DOeDaXWj.js +10 -0
  206. package/dist/plugin-DSCBycRO.js +10 -0
  207. package/dist/plugin-DaibhM02.js +10 -0
  208. package/dist/plugin-Dbdsdqqh.js +10 -0
  209. package/dist/plugin-DdQB9R9S.js +10 -0
  210. package/dist/plugin-DdrfzyNc.js +35 -0
  211. package/dist/plugin-Dg87-qPm.js +10 -0
  212. package/dist/plugin-Xg1SCgfO.js +10 -0
  213. package/dist/plugin-YUomn9tF.js +10 -0
  214. package/dist/plugin-cvHKUGjm.js +10 -0
  215. package/dist/plugin-hpCgD9-h.js +10 -0
  216. package/dist/plugin-nzCD2cWq.js +10 -0
  217. package/dist/plugin-rFDM6yOH.js +10 -0
  218. package/dist/plugin-turENJ3j.js +10 -0
  219. package/dist/plugins-DumG9GBB.js +107 -0
  220. package/dist/plugins.js +103 -0
  221. package/dist/plus-circle-Cl0YprEp.js +5 -0
  222. package/dist/plus-circle-outline-C-kkX0ke.js +5 -0
  223. package/dist/plus-sbcOm60H.js +5 -0
  224. package/dist/qrcode-scan-CpLrVFw_.js +5 -0
  225. package/dist/radio-DkjVAhsO.js +5 -0
  226. package/dist/radio-dark-Cr5v17AF.js +5 -0
  227. package/dist/refresh-DPlMWd1M.js +5 -0
  228. package/dist/register-component-B-fdqewb.js +6 -0
  229. package/dist/save-BmMH4S8b.js +4 -0
  230. package/dist/search-Co2MwWOK.js +5 -0
  231. package/dist/spotlight-TNyCQzOY.js +4 -0
  232. package/dist/store-outline-B-fuVZzv.js +5 -0
  233. package/dist/sun-BWKjCEHH.js +5 -0
  234. package/dist/swap-CNbqKTl0.js +5 -0
  235. package/dist/swap-horizontal-DociZUG2.js +5 -0
  236. package/dist/swap-left-Bd2DOgf3.js +5 -0
  237. package/dist/swap-right-D0VYxBDb.js +5 -0
  238. package/dist/system-theme-Cez6mSv_.js +5 -0
  239. package/dist/tag-outline-Ce_qOxif.js +5 -0
  240. package/dist/tamandua.js +21 -0
  241. package/dist/trash-can-CKPtMqSf.js +5 -0
  242. package/dist/trash-can-outline-DjtqZHOC.js +5 -0
  243. package/dist/types/components/Avatar/Avatar.story.d.ts +9 -0
  244. package/dist/types/components/Avatar/Avatar.vue.d.ts +58 -0
  245. package/dist/types/components/Avatar/index.d.ts +4 -0
  246. package/dist/types/components/Avatar/plugin.d.ts +4 -0
  247. package/dist/types/components/Backdrop/Backdrop.vue.d.ts +33 -0
  248. package/dist/types/components/Backdrop/index.d.ts +4 -0
  249. package/dist/types/components/Backdrop/plugin.d.ts +4 -0
  250. package/dist/types/components/Button/Button.story.d.ts +70 -0
  251. package/dist/types/components/Button/Button.vue.d.ts +153 -0
  252. package/dist/types/components/Button/index.d.ts +4 -0
  253. package/dist/types/components/Button/plugin.d.ts +4 -0
  254. package/dist/types/components/ButtonCopy/ButtonCopy.vue.d.ts +32 -0
  255. package/dist/types/components/ButtonCopy/index.d.ts +4 -0
  256. package/dist/types/components/ButtonCopy/plugin.d.ts +4 -0
  257. package/dist/types/components/Drawer/Drawer.vue.d.ts +67 -0
  258. package/dist/types/components/Drawer/index.d.ts +4 -0
  259. package/dist/types/components/Drawer/plugin.d.ts +4 -0
  260. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +117 -0
  261. package/dist/types/components/Dropdown/index.d.ts +4 -0
  262. package/dist/types/components/Dropdown/plugin.d.ts +4 -0
  263. package/dist/types/components/EventListener/EventListener.vue.d.ts +6 -0
  264. package/dist/types/components/FileDrop/FileDrop.vue.d.ts +40 -0
  265. package/dist/types/components/FileDrop/index.d.ts +4 -0
  266. package/dist/types/components/FileDrop/plugin.d.ts +4 -0
  267. package/dist/types/components/Form/Form.spec.d.ts +1 -0
  268. package/dist/types/components/Form/Form.vue.d.ts +111 -0
  269. package/dist/types/components/Form/index.d.ts +4 -0
  270. package/dist/types/components/Form/plugin.d.ts +4 -0
  271. package/dist/types/components/FormItem/FormItem.vue.d.ts +41 -0
  272. package/dist/types/components/FormItem/index.d.ts +4 -0
  273. package/dist/types/components/FormItem/plugin.d.ts +4 -0
  274. package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +23 -0
  275. package/dist/types/components/GraphyEmpty/index.d.ts +4 -0
  276. package/dist/types/components/GraphyEmpty/plugin.d.ts +4 -0
  277. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +43 -0
  278. package/dist/types/components/GraphyLabel/index.d.ts +4 -0
  279. package/dist/types/components/GraphyLabel/plugin.d.ts +4 -0
  280. package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +6 -0
  281. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +45 -0
  282. package/dist/types/components/GraphyPrice/index.d.ts +4 -0
  283. package/dist/types/components/GraphyPrice/plugin.d.ts +4 -0
  284. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +31 -0
  285. package/dist/types/components/GraphySubtitle/index.d.ts +4 -0
  286. package/dist/types/components/GraphySubtitle/plugin.d.ts +4 -0
  287. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +15 -0
  288. package/dist/types/components/GraphyTitle/index.d.ts +4 -0
  289. package/dist/types/components/GraphyTitle/plugin.d.ts +4 -0
  290. package/dist/types/components/Icon/Icon.vue.d.ts +40 -0
  291. package/dist/types/components/Icon/index.d.ts +4 -0
  292. package/dist/types/components/Icon/plugin.d.ts +4 -0
  293. package/dist/types/components/IconButton/IconButton.vue.d.ts +153 -0
  294. package/dist/types/components/IconButton/index.d.ts +4 -0
  295. package/dist/types/components/IconButton/plugin.d.ts +4 -0
  296. package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +19 -0
  297. package/dist/types/components/InputAvatar/index.d.ts +4 -0
  298. package/dist/types/components/InputAvatar/plugin.d.ts +4 -0
  299. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +52 -0
  300. package/dist/types/components/InputCheckbox/index.d.ts +4 -0
  301. package/dist/types/components/InputCheckbox/plugin.d.ts +4 -0
  302. package/dist/types/components/InputColor/InputColor.vue.d.ts +40 -0
  303. package/dist/types/components/InputColor/index.d.ts +4 -0
  304. package/dist/types/components/InputColor/plugin.d.ts +4 -0
  305. package/dist/types/components/InputDate/InputDate.story.d.ts +6 -0
  306. package/dist/types/components/InputDate/InputDate.vue.d.ts +23 -0
  307. package/dist/types/components/InputDate/index.d.ts +4 -0
  308. package/dist/types/components/InputDate/plugin.d.ts +4 -0
  309. package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +4 -0
  310. package/dist/types/components/InputMultiplier/index.d.ts +4 -0
  311. package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +19 -0
  312. package/dist/types/components/InputMultiplier/plugin.d.ts +4 -0
  313. package/{components/InputMultiplier/types.ts → dist/types/components/InputMultiplier/types.d.ts} +1 -2
  314. package/dist/types/components/InputPassword/InputPassword.vue.d.ts +68 -0
  315. package/dist/types/components/InputPassword/index.d.ts +4 -0
  316. package/dist/types/components/InputPassword/plugin.d.ts +4 -0
  317. package/dist/types/components/InputPhone/InputPhone.vue.d.ts +40 -0
  318. package/dist/types/components/InputPhone/index.d.ts +4 -0
  319. package/dist/types/components/InputPhone/plugin.d.ts +4 -0
  320. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +39 -0
  321. package/dist/types/components/InputPrice/index.d.ts +4 -0
  322. package/dist/types/components/InputPrice/plugin.d.ts +4 -0
  323. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +17 -0
  324. package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +7 -0
  325. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +44 -0
  326. package/dist/types/components/InputRadio/index.d.ts +4 -0
  327. package/dist/types/components/InputRadio/plugin.d.ts +4 -0
  328. package/dist/types/components/InputSelect/InputSelect.story.d.ts +6 -0
  329. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +116 -0
  330. package/dist/types/components/InputSelect/index.d.ts +4 -0
  331. package/dist/types/components/InputSelect/plugin.d.ts +4 -0
  332. package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +29 -0
  333. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +40 -0
  334. package/dist/types/components/InputSwitch/index.d.ts +4 -0
  335. package/dist/types/components/InputSwitch/plugin.d.ts +4 -0
  336. package/dist/types/components/InputText/InputText.vue.d.ts +60 -0
  337. package/dist/types/components/InputText/index.d.ts +4 -0
  338. package/dist/types/components/InputText/plugin.d.ts +4 -0
  339. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +50 -0
  340. package/dist/types/components/InputTextarea/index.d.ts +4 -0
  341. package/dist/types/components/InputTextarea/plugin.d.ts +4 -0
  342. package/dist/types/components/LineChart/LineChart.vue.d.ts +17 -0
  343. package/dist/types/components/LineChart/index.d.ts +4 -0
  344. package/dist/types/components/LineChart/plugin.d.ts +4 -0
  345. package/dist/types/components/Modal/Modal.vue.d.ts +70 -0
  346. package/dist/types/components/Modal/index.d.ts +4 -0
  347. package/dist/types/components/Modal/plugin.d.ts +4 -0
  348. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +53 -0
  349. package/dist/types/components/ModalForm/index.d.ts +4 -0
  350. package/dist/types/components/ModalForm/plugin.d.ts +4 -0
  351. package/dist/types/components/Pagination/Pagination.story.d.ts +5 -0
  352. package/dist/types/components/Pagination/Pagination.vue.d.ts +50 -0
  353. package/dist/types/components/Pagination/index.d.ts +4 -0
  354. package/dist/types/components/Pagination/plugin.d.ts +4 -0
  355. package/dist/types/components/PieChart/PieChart.vue.d.ts +17 -0
  356. package/dist/types/components/PieChart/index.d.ts +4 -0
  357. package/dist/types/components/PieChart/plugin.d.ts +4 -0
  358. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +49 -0
  359. package/dist/types/components/Popconfirm/index.d.ts +4 -0
  360. package/dist/types/components/Popconfirm/plugin.d.ts +4 -0
  361. package/dist/types/components/Popover/Popover.vue.d.ts +68 -0
  362. package/dist/types/components/Popover/index.d.ts +4 -0
  363. package/dist/types/components/Popover/plugin.d.ts +4 -0
  364. package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +5 -0
  365. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +56 -0
  366. package/dist/types/components/ProgressCircle/index.d.ts +4 -0
  367. package/dist/types/components/ProgressCircle/plugin.d.ts +4 -0
  368. package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +5 -0
  369. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +75 -0
  370. package/dist/types/components/ProgressLine/index.d.ts +4 -0
  371. package/dist/types/components/ProgressLine/plugin.d.ts +4 -0
  372. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +22 -0
  373. package/dist/types/components/SensitiveInfo/index.d.ts +4 -0
  374. package/dist/types/components/SensitiveInfo/plugin.d.ts +4 -0
  375. package/dist/types/components/Tab/Tab.vue.d.ts +36 -0
  376. package/dist/types/components/Tab/index.d.ts +4 -0
  377. package/dist/types/components/Tab/plugin.d.ts +4 -0
  378. package/dist/types/components/Table/Table.story.d.ts +5 -0
  379. package/dist/types/components/Table/Table.vue.d.ts +97 -0
  380. package/dist/types/components/Table/index.d.ts +4 -0
  381. package/dist/types/components/Table/plugin.d.ts +4 -0
  382. package/{components/Table/types.ts → dist/types/components/Table/types.d.ts} +1 -2
  383. package/dist/types/components/Tag/Tag.vue.d.ts +54 -0
  384. package/dist/types/components/Tag/index.d.ts +4 -0
  385. package/dist/types/components/Tag/plugin.d.ts +4 -0
  386. package/{components/Tag/types.ts → dist/types/components/Tag/types.d.ts} +1 -2
  387. package/dist/types/components/Toast/Toast.vue.d.ts +21 -0
  388. package/dist/types/components/Toast/index.d.ts +4 -0
  389. package/dist/types/components/Toast/plugin.d.ts +4 -0
  390. package/dist/types/components/index.d.ts +45 -0
  391. package/dist/types/components/plugins.d.ts +45 -0
  392. package/dist/types/composables/index.d.ts +4 -0
  393. package/dist/types/composables/useBreakpoints.d.ts +5 -0
  394. package/dist/types/composables/useRender.d.ts +3 -0
  395. package/dist/types/enums/form.d.ts +23 -0
  396. package/dist/types/enums/index.d.ts +4 -0
  397. package/{enums/ui.ts → dist/types/enums/ui.d.ts} +16 -30
  398. package/dist/types/form/convertors.d.ts +3 -0
  399. package/dist/types/form/crud.d.ts +27 -0
  400. package/dist/types/form/form-data-transformers.d.ts +4 -0
  401. package/dist/types/form/form-transformer.d.ts +7 -0
  402. package/dist/types/form/form-value-transformers.d.ts +8 -0
  403. package/dist/types/form/form.test.d.ts +1 -0
  404. package/dist/types/form/index.d.ts +4 -0
  405. package/dist/types/form/json-transformers.d.ts +4 -0
  406. package/dist/types/i18n.d.ts +15 -0
  407. package/dist/types/index.d.ts +4 -0
  408. package/dist/types/plugins/register-component.d.ts +4 -0
  409. package/dist/types/services/clipboard.d.ts +2 -0
  410. package/dist/types/services/date.d.ts +3 -0
  411. package/dist/types/services/password.d.ts +7 -0
  412. package/dist/types/services/ui.d.ts +9 -0
  413. package/{types/address.ts → dist/types/types/address.d.ts} +0 -5
  414. package/{types/api.ts → dist/types/types/api.d.ts} +0 -4
  415. package/{types/common.ts → dist/types/types/common.d.ts} +0 -1
  416. package/{types/form.ts → dist/types/types/form.d.ts} +32 -62
  417. package/dist/types/types/index.d.ts +5 -0
  418. package/{types/ui.ts → dist/types/types/ui.d.ts} +11 -16
  419. package/{types/website.ts → dist/types/types/website.d.ts} +0 -1
  420. package/dist/types/vitest.setup.d.ts +1 -0
  421. package/dist/ui-BLR-4Xlv.js +11 -0
  422. package/dist/ui-MicIL_Lw.js +23 -0
  423. package/dist/upload-CKfrBexU.js +5 -0
  424. package/dist/useRender-D8PeooXE.js +16 -0
  425. package/dist/user-circle-D102n1FB.js +5 -0
  426. package/dist/zip-box-C10560VY.js +5 -0
  427. package/package.json +46 -11
  428. package/volar.d.ts +48 -0
  429. package/.editorconfig +0 -12
  430. package/.prettierrc +0 -5
  431. package/.storybook/main.ts +0 -22
  432. package/.storybook/preview-body.html +0 -3
  433. package/.storybook/preview.ts +0 -24
  434. package/App.vue +0 -1
  435. package/Dockerfile +0 -21
  436. package/assets/icons/account.svg +0 -1
  437. package/assets/icons/alert-octagon-outline.svg +0 -1
  438. package/assets/icons/alert-octagon.svg +0 -1
  439. package/assets/icons/archive-outline.svg +0 -1
  440. package/assets/icons/archive.svg +0 -1
  441. package/assets/icons/arrow-left.svg +0 -1
  442. package/assets/icons/arrow-right.svg +0 -1
  443. package/assets/icons/bank-outline.svg +0 -1
  444. package/assets/icons/bank.svg +0 -1
  445. package/assets/icons/camera.svg +0 -1
  446. package/assets/icons/cards-outline.svg +0 -1
  447. package/assets/icons/cards-variant.svg +0 -1
  448. package/assets/icons/cart-outline.svg +0 -1
  449. package/assets/icons/chart-box-outline.svg +0 -1
  450. package/assets/icons/chart-box.svg +0 -1
  451. package/assets/icons/check-circle-outline.svg +0 -1
  452. package/assets/icons/check-circle.svg +0 -1
  453. package/assets/icons/check.svg +0 -1
  454. package/assets/icons/checkbox-dark.svg +0 -1
  455. package/assets/icons/checkbox-indeterminate-dark.svg +0 -1
  456. package/assets/icons/checkbox-indeterminate.svg +0 -1
  457. package/assets/icons/checkbox.svg +0 -1
  458. package/assets/icons/chevron-down.svg +0 -1
  459. package/assets/icons/chevron-left.svg +0 -1
  460. package/assets/icons/chevron-right.svg +0 -1
  461. package/assets/icons/chevron-up.svg +0 -1
  462. package/assets/icons/circle.svg +0 -1
  463. package/assets/icons/clock.svg +0 -1
  464. package/assets/icons/close-circle-outline.svg +0 -1
  465. package/assets/icons/close-circle.svg +0 -1
  466. package/assets/icons/close.svg +0 -1
  467. package/assets/icons/cog.svg +0 -1
  468. package/assets/icons/color-fill.svg +0 -1
  469. package/assets/icons/copy.svg +0 -1
  470. package/assets/icons/credit-card-plus.svg +0 -1
  471. package/assets/icons/credit-card.svg +0 -1
  472. package/assets/icons/currency.svg +0 -1
  473. package/assets/icons/database.svg +0 -1
  474. package/assets/icons/dots-grid.svg +0 -1
  475. package/assets/icons/dots-vertical.svg +0 -1
  476. package/assets/icons/email-open-outline.svg +0 -1
  477. package/assets/icons/email-outline.svg +0 -1
  478. package/assets/icons/eye-off.svg +0 -1
  479. package/assets/icons/eye.svg +0 -1
  480. package/assets/icons/file-document-plus-outline.svg +0 -1
  481. package/assets/icons/filmstrip.svg +0 -1
  482. package/assets/icons/filter.svg +0 -1
  483. package/assets/icons/fullscreen-exit.svg +0 -1
  484. package/assets/icons/fullscreen.svg +0 -1
  485. package/assets/icons/group.svg +0 -1
  486. package/assets/icons/image-album-outline.svg +0 -1
  487. package/assets/icons/image-album.svg +0 -1
  488. package/assets/icons/image-outline.svg +0 -1
  489. package/assets/icons/image.svg +0 -1
  490. package/assets/icons/info-outline.svg +0 -1
  491. package/assets/icons/key-chain.svg +0 -1
  492. package/assets/icons/key-variant.svg +0 -1
  493. package/assets/icons/key.svg +0 -1
  494. package/assets/icons/listbox-outline.svg +0 -1
  495. package/assets/icons/loading.svg +0 -1
  496. package/assets/icons/lock-outline.svg +0 -1
  497. package/assets/icons/lock.svg +0 -1
  498. package/assets/icons/logout.svg +0 -1
  499. package/assets/icons/menu-down.svg +0 -1
  500. package/assets/icons/menu-left.svg +0 -1
  501. package/assets/icons/menu-right.svg +0 -1
  502. package/assets/icons/menu.svg +0 -1
  503. package/assets/icons/minus-circle-outline.svg +0 -1
  504. package/assets/icons/minus-circle.svg +0 -1
  505. package/assets/icons/minus.svg +0 -1
  506. package/assets/icons/moon.svg +0 -1
  507. package/assets/icons/open-in-new.svg +0 -1
  508. package/assets/icons/pencil.svg +0 -1
  509. package/assets/icons/people.svg +0 -1
  510. package/assets/icons/piggy-bank-outline.svg +0 -1
  511. package/assets/icons/plus-circle-outline.svg +0 -1
  512. package/assets/icons/plus-circle.svg +0 -1
  513. package/assets/icons/plus.svg +0 -1
  514. package/assets/icons/qrcode-scan.svg +0 -1
  515. package/assets/icons/radio-dark.svg +0 -1
  516. package/assets/icons/radio.svg +0 -1
  517. package/assets/icons/refresh.svg +0 -1
  518. package/assets/icons/save.svg +0 -1
  519. package/assets/icons/search.svg +0 -1
  520. package/assets/icons/spotlight.svg +0 -1
  521. package/assets/icons/store-outline.svg +0 -1
  522. package/assets/icons/sun.svg +0 -1
  523. package/assets/icons/swap-horizontal.svg +0 -1
  524. package/assets/icons/swap-left.svg +0 -1
  525. package/assets/icons/swap-right.svg +0 -1
  526. package/assets/icons/swap.svg +0 -1
  527. package/assets/icons/system-theme.svg +0 -1
  528. package/assets/icons/tag-outline.svg +0 -1
  529. package/assets/icons/trash-can-outline.svg +0 -1
  530. package/assets/icons/trash-can.svg +0 -1
  531. package/assets/icons/upload.svg +0 -1
  532. package/assets/icons/user-circle.svg +0 -1
  533. package/assets/icons/zip-box.svg +0 -1
  534. package/assets/images/fs/apk.svg +0 -11
  535. package/assets/images/fs/bmp.svg +0 -7
  536. package/assets/images/fs/css.svg +0 -8
  537. package/assets/images/fs/doc.svg +0 -9
  538. package/assets/images/fs/docx.svg +0 -9
  539. package/assets/images/fs/folder-adwaita.svg +0 -8
  540. package/assets/images/fs/folder-black.svg +0 -8
  541. package/assets/images/fs/folder-brown.svg +0 -8
  542. package/assets/images/fs/folder-grey.svg +0 -8
  543. package/assets/images/fs/folder-nordic.svg +0 -8
  544. package/assets/images/fs/folder-orange.svg +0 -8
  545. package/assets/images/fs/folder-palebrown.svg +0 -8
  546. package/assets/images/fs/folder-paleorange.svg +0 -8
  547. package/assets/images/fs/folder-teal.svg +0 -8
  548. package/assets/images/fs/folder-white.svg +0 -8
  549. package/assets/images/fs/folder-yellow.svg +0 -8
  550. package/assets/images/fs/gif.svg +0 -7
  551. package/assets/images/fs/go.svg +0 -9
  552. package/assets/images/fs/ics.svg +0 -24
  553. package/assets/images/fs/iso.svg +0 -10
  554. package/assets/images/fs/jpeg.svg +0 -7
  555. package/assets/images/fs/jpg.svg +0 -7
  556. package/assets/images/fs/js.svg +0 -9
  557. package/assets/images/fs/json.svg +0 -9
  558. package/assets/images/fs/lua.svg +0 -9
  559. package/assets/images/fs/m4v.svg +0 -7
  560. package/assets/images/fs/md.svg +0 -10
  561. package/assets/images/fs/mov.svg +0 -7
  562. package/assets/images/fs/mp3.svg +0 -9
  563. package/assets/images/fs/mp4.svg +0 -7
  564. package/assets/images/fs/pdf.svg +0 -9
  565. package/assets/images/fs/pgp.svg +0 -8
  566. package/assets/images/fs/php.svg +0 -9
  567. package/assets/images/fs/png.svg +0 -7
  568. package/assets/images/fs/ppt.svg +0 -9
  569. package/assets/images/fs/py.svg +0 -9
  570. package/assets/images/fs/rar.svg +0 -20
  571. package/assets/images/fs/rpm.svg +0 -7
  572. package/assets/images/fs/rs.svg +0 -9
  573. package/assets/images/fs/sh.svg +0 -9
  574. package/assets/images/fs/tar.svg +0 -20
  575. package/assets/images/fs/txt.svg +0 -8
  576. package/assets/images/fs/unknown.svg +0 -8
  577. package/assets/images/fs/xls.svg +0 -9
  578. package/assets/images/fs/xlsx.svg +0 -9
  579. package/assets/images/fs/xml.svg +0 -8
  580. package/assets/images/fs/yaml.svg +0 -9
  581. package/assets/images/fs/zip.svg +0 -20
  582. package/components/Avatar/Avatar.story.ts +0 -55
  583. package/components/Avatar/Avatar.vue +0 -82
  584. package/components/Avatar/index.ts +0 -12
  585. package/components/Backdrop/Backdrop.vue +0 -27
  586. package/components/Backdrop/index.ts +0 -12
  587. package/components/Button/Button.story.ts +0 -74
  588. package/components/Button/Button.vue +0 -230
  589. package/components/Button/index.ts +0 -12
  590. package/components/ButtonCopy/ButtonCopy.vue +0 -61
  591. package/components/ButtonCopy/index.ts +0 -12
  592. package/components/Drawer/Drawer.vue +0 -102
  593. package/components/Drawer/index.ts +0 -12
  594. package/components/Dropdown/Dropdown.vue +0 -258
  595. package/components/Dropdown/index.ts +0 -12
  596. package/components/EventListener/EventListener.vue +0 -12
  597. package/components/FileDrop/FileDrop.vue +0 -116
  598. package/components/FileDrop/index.ts +0 -12
  599. package/components/Form/Form.spec.ts +0 -72
  600. package/components/Form/Form.vue +0 -134
  601. package/components/Form/index.ts +0 -12
  602. package/components/FormItem/FormItem.vue +0 -85
  603. package/components/FormItem/index.ts +0 -12
  604. package/components/GraphyEmpty/GraphyEmpty.vue +0 -16
  605. package/components/GraphyEmpty/index.ts +0 -12
  606. package/components/GraphyLabel/GraphyLabel.vue +0 -34
  607. package/components/GraphyLabel/index.ts +0 -12
  608. package/components/GraphyPrice/GraphyPrice.story.ts +0 -37
  609. package/components/GraphyPrice/GraphyPrice.vue +0 -65
  610. package/components/GraphyPrice/index.ts +0 -12
  611. package/components/GraphySubtitle/GraphySubtitle.vue +0 -22
  612. package/components/GraphySubtitle/index.ts +0 -12
  613. package/components/GraphyTitle/GraphyTitle.vue +0 -13
  614. package/components/GraphyTitle/index.ts +0 -12
  615. package/components/Icon/Icon.vue +0 -84
  616. package/components/Icon/index.ts +0 -12
  617. package/components/IconButton/IconButton.vue +0 -168
  618. package/components/IconButton/index.ts +0 -12
  619. package/components/InputAvatar/InputAvatar.vue +0 -63
  620. package/components/InputAvatar/index.ts +0 -12
  621. package/components/InputCheckbox/InputCheckbox.vue +0 -77
  622. package/components/InputCheckbox/index.ts +0 -12
  623. package/components/InputColor/InputColor.vue +0 -54
  624. package/components/InputColor/index.ts +0 -12
  625. package/components/InputDate/InputDate.story.ts +0 -15
  626. package/components/InputDate/InputDate.vue +0 -368
  627. package/components/InputDate/index.ts +0 -12
  628. package/components/InputMultiplier/InputMultiplier.vue +0 -119
  629. package/components/InputMultiplier/index.ts +0 -12
  630. package/components/InputMultiplier/input-multiplier.story.ts +0 -30
  631. package/components/InputPassword/InputPassword.vue +0 -170
  632. package/components/InputPassword/index.ts +0 -12
  633. package/components/InputPhone/InputPhone.vue +0 -125
  634. package/components/InputPhone/index.ts +0 -12
  635. package/components/InputPrice/InputPrice.vue +0 -96
  636. package/components/InputPrice/index.ts +0 -12
  637. package/components/InputRadio/InputRadio.vue +0 -41
  638. package/components/InputRadio/InputRadioGroup.story.ts +0 -24
  639. package/components/InputRadio/InputRadioGroup.vue +0 -48
  640. package/components/InputRadio/index.ts +0 -14
  641. package/components/InputSelect/InputSelect.story.ts +0 -87
  642. package/components/InputSelect/InputSelect.vue +0 -507
  643. package/components/InputSelect/index.ts +0 -12
  644. package/components/InputSwitch/InputSwitch.story.ts +0 -34
  645. package/components/InputSwitch/InputSwitch.vue +0 -82
  646. package/components/InputSwitch/index.ts +0 -12
  647. package/components/InputText/InputText.vue +0 -62
  648. package/components/InputText/index.ts +0 -12
  649. package/components/InputTextarea/InputTextarea.vue +0 -64
  650. package/components/InputTextarea/index.ts +0 -12
  651. package/components/LineChart/LineChart.vue +0 -14
  652. package/components/LineChart/index.ts +0 -12
  653. package/components/Modal/Modal.vue +0 -106
  654. package/components/Modal/index.ts +0 -12
  655. package/components/ModalForm/ModalForm.vue +0 -141
  656. package/components/ModalForm/index.ts +0 -12
  657. package/components/Pagination/Pagination.story.ts +0 -15
  658. package/components/Pagination/Pagination.vue +0 -138
  659. package/components/Pagination/index.ts +0 -12
  660. package/components/PieChart/PieChart.vue +0 -14
  661. package/components/PieChart/index.ts +0 -12
  662. package/components/Popconfirm/Popconfirm.vue +0 -80
  663. package/components/Popconfirm/index.ts +0 -12
  664. package/components/Popover/Popover.vue +0 -133
  665. package/components/Popover/index.ts +0 -12
  666. package/components/ProgressCircle/ProgressCircle.story.ts +0 -31
  667. package/components/ProgressCircle/ProgressCircle.vue +0 -82
  668. package/components/ProgressCircle/index.ts +0 -12
  669. package/components/ProgressLine/ProgressLine.story.ts +0 -27
  670. package/components/ProgressLine/ProgressLine.vue +0 -104
  671. package/components/ProgressLine/index.ts +0 -12
  672. package/components/SensitiveInfo/SensitiveInfo.vue +0 -18
  673. package/components/SensitiveInfo/index.ts +0 -12
  674. package/components/Tab/Tab.vue +0 -58
  675. package/components/Tab/index.ts +0 -12
  676. package/components/Table/Table.story.ts +0 -30
  677. package/components/Table/Table.vue +0 -291
  678. package/components/Table/index.ts +0 -12
  679. package/components/Tag/Tag.vue +0 -61
  680. package/components/Tag/index.ts +0 -12
  681. package/components/Toast/Toast.vue +0 -75
  682. package/components/Toast/index.ts +0 -12
  683. package/components/index.ts +0 -43
  684. package/components/plugins.ts +0 -89
  685. package/composables/index.ts +0 -2
  686. package/composables/useBreakpoints.ts +0 -30
  687. package/composables/useRender.ts +0 -29
  688. package/entrypoint.sh +0 -19
  689. package/enums/app.ts +0 -5
  690. package/enums/form.ts +0 -25
  691. package/env.d.ts +0 -8
  692. package/form/convertors.ts +0 -31
  693. package/form/crud.ts +0 -109
  694. package/form/form-data-transformers.ts +0 -148
  695. package/form/form-transformer.ts +0 -54
  696. package/form/form-value-transformers.ts +0 -32
  697. package/form/form.test.ts +0 -96
  698. package/form/json-transformers.ts +0 -91
  699. package/i18n.ts +0 -20
  700. package/index.html +0 -22
  701. package/index.ts +0 -14
  702. package/main.ts +0 -31
  703. package/plugins/register-component.ts +0 -5
  704. package/postcss.config.js +0 -6
  705. package/services/clipboard.ts +0 -5
  706. package/services/date.ts +0 -27
  707. package/services/password.ts +0 -309
  708. package/services/ui.ts +0 -43
  709. package/tailwind.config.js +0 -16
  710. package/tsconfig.json +0 -23
  711. package/types/index.ts +0 -5
  712. package/vite.config.mts +0 -14
  713. package/vitest.setup.ts +0 -21
  714. /package/{index.css → dist/index.css} +0 -0
@@ -1,9 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#4f4f4f" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#696969" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.1;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.2" d="M 24.476562,30 A 1.50015,1.4972215 0 0 0 23,31.519531 V 35 h -3.482422 a 1.4972215,1.50015 0 1 0 0,3 H 23 v 6 h -3.482422 a 1.4972215,1.50015 0 1 0 0,3 H 23 v 3.482422 a 1.50015,1.4972215 0 1 0 3,0 V 47 h 6 v 3.482422 a 1.50015,1.4972215 0 1 0 3,0 V 47 h 3.482422 A 1.4972215,1.50015 0 0 0 40,45.476562 1.4972215,1.50015 0 0 0 38.482422,44 H 35 v -6 h 3.482422 A 1.4972215,1.50015 0 0 0 40,36.476562 1.4972215,1.50015 0 0 0 38.482422,35 H 35 V 31.519531 A 1.50015,1.4972215 0 0 0 33.476562,30 1.50015,1.4972215 0 0 0 32,31.519531 V 35 H 26 V 31.519531 A 1.50015,1.4972215 0 0 0 24.476562,30 Z m 20,0 C 43.648902,30.0129 42.988128,30.693471 43,31.519531 v 13.962891 c -0.02869,2.024524 3.028688,2.024524 3,0 V 31.519531 C 46.01214,30.675147 45.322582,29.986804 44.476562,30 Z M 26,38 h 6 v 6 H 26 Z M 44.5,50 A 1.5,1.5 0 0 0 43,51.5 1.5,1.5 0 0 0 44.5,53 1.5,1.5 0 0 0 46,51.5 1.5,1.5 0 0 0 44.5,50 Z"/>
8
- <path style="fill:#ffffff" d="M 24.476562 29 A 1.50015 1.4972215 0 0 0 23 30.519531 L 23 34 L 19.517578 34 A 1.4972215 1.50015 0 1 0 19.517578 37 L 23 37 L 23 43 L 19.517578 43 A 1.4972215 1.50015 0 1 0 19.517578 46 L 23 46 L 23 49.482422 A 1.50015 1.4972215 0 1 0 26 49.482422 L 26 46 L 32 46 L 32 49.482422 A 1.50015 1.4972215 0 1 0 35 49.482422 L 35 46 L 38.482422 46 A 1.4972215 1.50015 0 0 0 40 44.476562 A 1.4972215 1.50015 0 0 0 38.482422 43 L 35 43 L 35 37 L 38.482422 37 A 1.4972215 1.50015 0 0 0 40 35.476562 A 1.4972215 1.50015 0 0 0 38.482422 34 L 35 34 L 35 30.519531 A 1.50015 1.4972215 0 0 0 33.476562 29 A 1.50015 1.4972215 0 0 0 32 30.519531 L 32 34 L 26 34 L 26 30.519531 A 1.50015 1.4972215 0 0 0 24.476562 29 z M 44.476562 29 C 43.648902 29.0129 42.988128 29.693471 43 30.519531 L 43 44.482422 C 42.97131 46.506946 46.028688 46.506946 46 44.482422 L 46 30.519531 C 46.01214 29.675147 45.322582 28.986804 44.476562 29 z M 26 37 L 32 37 L 32 43 L 26 43 L 26 37 z M 44.5 49 A 1.5 1.5 0 0 0 43 50.5 A 1.5 1.5 0 0 0 44.5 52 A 1.5 1.5 0 0 0 46 50.5 A 1.5 1.5 0 0 0 44.5 49 z"/>
9
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#4caf50" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <rect style="opacity:0.2" width="10" height="27" x="18" y="4"/>
5
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="4"/>
6
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="25"/>
7
- <path style="fill:#4b4b4b" d="m 23,25 c 3.75,0 3.75,5.600001 5,5.600001 v 7 c 0,0.775599 -0.5575,1.4 -1.25,1.4 h -7.5 c -0.6925,0 -1.25,-0.624401 -1.25,-1.4 v -7 C 19.25,30.600001 19.25,25 23,25 Z"/>
8
- <path style="opacity:0.2" d="M 22.667969,32.000001 C 20.082636,32.000001 18,34.102726 18,36.710938 v 9.578125 c 0,2.608213 2.082636,4.710938 4.667969,4.710938 h 0.664062 C 25.917364,51.000001 28,48.897278 28,46.289063 v -9.578125 c 0,-2.608212 -2.082636,-4.710937 -4.667969,-4.710937 z m 0.332031,10 c 2.209139,3e-6 4,1.792881 4,4.001953 0,2.209072 -1.790861,3.998047 -4,3.998047 -2.209139,0 -4,-1.788975 -4,-3.998047 0,-2.209072 1.790861,-4.00195 4,-4.001953 z"/>
9
- <path style="fill:#ffffff" d="M 22.667969,31.000001 C 20.082636,31.000001 18,33.102726 18,35.710938 v 9.578125 c 0,2.608213 2.082636,4.710938 4.667969,4.710938 h 0.664062 C 25.917364,50.000001 28,47.897278 28,45.289063 v -9.578125 c 0,-2.608212 -2.082636,-4.710937 -4.667969,-4.710937 z m 0.332031,10 c 2.209139,3e-6 4,1.792881 4,4.001953 0,2.209072 -1.790861,3.998047 -4,3.998047 -2.209139,0 -4,-1.788975 -4,-3.998047 0,-2.209072 1.790861,-4.00195 4,-4.001953 z"/>
10
- <path style="fill:#909090" d="M 22.984375,27.000122 A 1.0001,0.99660733 0 0 0 22,28.010254 v 5.979047 a 1.0001,0.99660733 0 1 0 2,0 v -5.979047 a 1.0001,0.99660733 0 0 0 -1.015625,-1.010132 z"/>
11
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="7"/>
12
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="10"/>
13
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="13"/>
14
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="16"/>
15
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="19"/>
16
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="22"/>
17
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
18
- <path style="fill:#88cc8b" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
19
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
20
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#e4e4e4" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#fafafa" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.5" d="m 20,31 v 3 h 24 v -3 z m 0,6 v 3 h 24 v -3 z m 0,6 v 3 h 24 v -3 z m 0,6 v 3 h 15 v -3 z"/>
8
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#e4e4e4" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#fafafa" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.5" d="m 32,28 c -3.978906,0.0034 -7.638282,4.03757 -8,8 h 4 c 0.332606,-1.62943 1.135198,-4.189574 4,-4 1.932996,0 4,2.067004 4,4 0,3.5 -6,4.96993 -6,12 h 4 c -0.341168,-4.866068 5.883718,-7.648794 6,-12 0,-4.252592 -2.925144,-8 -8,-8 z m -2,22 v 4 h 4 v -4 z"/>
8
- </svg>
@@ -1,9 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#4bae4f" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#95cd97" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.2" d="M 21,33 V 50 H 43 V 33 Z m 2,2 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z"/>
8
- <path style="fill:#ffffff" d="M 21,32 V 49 H 43 V 32 Z m 2,2 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z"/>
9
- </svg>
@@ -1,9 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#4bae4f" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#95cd97" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.2" d="M 21,33 V 50 H 43 V 33 Z m 2,2 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z"/>
8
- <path style="fill:#ffffff" d="M 21,32 V 49 H 43 V 32 Z m 2,2 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z m -10,5 h 8 v 3 h -8 z m 10,0 h 8 v 3 h -8 z"/>
9
- </svg>
@@ -1,8 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#e4e4e4" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#fafafa" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="fill:#9c40d3" d="M 33.455078 30 L 28 51.287109 L 30.544922 52 L 36 30.712891 L 33.455078 30 z M 37 30 L 37 34.072266 L 43.1875 39.5 L 37 44.927734 L 37 49 L 48 39.679688 L 37 30 z M 27 33 L 16 42.679688 L 27 52 L 27 47.927734 L 20.8125 42.5 L 27 37.072266 L 27 33 z"/>
8
- </svg>
@@ -1,9 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#607d8b" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
5
- <path style="fill:#7f99a6" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
6
- <path style="opacity:0.1;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
7
- <path style="opacity:0.2" d="m 20,32 v 3 h 18 v -3 z m 6,6 v 3 h 18 v -3 z m 5,6 v 3 h 13 v -3 z m 0,6 v 3 h 13 v -3 z"/>
8
- <path style="fill:#ffffff" d="m 20,31 v 3 h 18 v -3 z m 6,6 v 3 h 18 v -3 z m 5,6 v 3 h 13 v -3 z m 0,6 v 3 h 13 v -3 z"/>
9
- </svg>
@@ -1,20 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" version="1.1">
2
- <path style="opacity:0.2" d="M 12.75,5 C 11.2265,5 10,6.2488 10,7.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,61 54,59.75008 54,58.2 V 23 L 40,19 36,5 Z"/>
3
- <path style="fill:#4caf50" d="M 12.75,4 C 11.2265,4 10,5.2488 10,6.8 v 50.4 c 0,1.55008 1.2265,2.8 2.75,2.8 h 38.5 C 52.7724,60 54,58.75008 54,57.2 V 22 L 40,18 36,4 Z"/>
4
- <rect style="opacity:0.2" width="10" height="27" x="18" y="4"/>
5
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="4"/>
6
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="25"/>
7
- <path style="fill:#4b4b4b" d="m 23,25 c 3.75,0 3.75,5.600001 5,5.600001 v 7 c 0,0.775599 -0.5575,1.4 -1.25,1.4 h -7.5 c -0.6925,0 -1.25,-0.624401 -1.25,-1.4 v -7 C 19.25,30.600001 19.25,25 23,25 Z"/>
8
- <path style="opacity:0.2" d="M 22.667969,32.000001 C 20.082636,32.000001 18,34.102726 18,36.710938 v 9.578125 c 0,2.608213 2.082636,4.710938 4.667969,4.710938 h 0.664062 C 25.917364,51.000001 28,48.897278 28,46.289063 v -9.578125 c 0,-2.608212 -2.082636,-4.710937 -4.667969,-4.710937 z m 0.332031,10 c 2.209139,3e-6 4,1.792881 4,4.001953 0,2.209072 -1.790861,3.998047 -4,3.998047 -2.209139,0 -4,-1.788975 -4,-3.998047 0,-2.209072 1.790861,-4.00195 4,-4.001953 z"/>
9
- <path style="fill:#ffffff" d="M 22.667969,31.000001 C 20.082636,31.000001 18,33.102726 18,35.710938 v 9.578125 c 0,2.608213 2.082636,4.710938 4.667969,4.710938 h 0.664062 C 25.917364,50.000001 28,47.897278 28,45.289063 v -9.578125 c 0,-2.608212 -2.082636,-4.710937 -4.667969,-4.710937 z m 0.332031,10 c 2.209139,3e-6 4,1.792881 4,4.001953 0,2.209072 -1.790861,3.998047 -4,3.998047 -2.209139,0 -4,-1.788975 -4,-3.998047 0,-2.209072 1.790861,-4.00195 4,-4.001953 z"/>
10
- <path style="fill:#909090" d="M 22.984375,27.000122 A 1.0001,0.99660733 0 0 0 22,28.010254 v 5.979047 a 1.0001,0.99660733 0 1 0 2,0 v -5.979047 a 1.0001,0.99660733 0 0 0 -1.015625,-1.010132 z"/>
11
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="7"/>
12
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="10"/>
13
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="13"/>
14
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="16"/>
15
- <rect style="fill:#ffffff" width="3" height="3" x="20" y="19"/>
16
- <rect style="fill:#ffffff" width="3" height="3" x="23" y="22"/>
17
- <path style="opacity:0.2" d="M 54,23 36,5 V 20.1875 C 36,21.74675 37.2555,23 38.8125,23 Z"/>
18
- <path style="fill:#88cc8b" d="M 54,22 36,4 V 19.1875 C 36,20.74675 37.2555,22 38.8125,22 Z"/>
19
- <path style="opacity:0.2;fill:#ffffff" d="M 12.75 4 C 11.2265 4 10 5.2495812 10 6.8007812 L 10 7.8007812 C 10 6.2495813 11.2265 5 12.75 5 L 36 5 L 36 4 L 12.75 4 z"/>
20
- </svg>
@@ -1,55 +0,0 @@
1
- import { ElementSize } from "@/enums/ui";
2
-
3
- export default {
4
- title: "Avatar",
5
- };
6
-
7
- const Template1 = (args: any) => ({
8
- setup() {
9
- return { args };
10
- },
11
- template: `<t-avatar :image="args.image" />`,
12
- });
13
-
14
- const defaultArgs: any = {
15
- image: "https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MXx8cGVyc29ufGVufDB8fDB8fA%3D%3D&ixlib=rb-1.2.1&w=500&q=80",
16
- };
17
-
18
- export const ExtraSmall: any = Template1.bind({});
19
- ExtraSmall.args = {
20
- args: {
21
- ...defaultArgs,
22
- size: ElementSize.EXTRA_SMALL,
23
- },
24
- };
25
-
26
- export const Small: any = Template1.bind({});
27
- Small.args = {
28
- args: {
29
- ...defaultArgs,
30
- size: ElementSize.SMALL,
31
- },
32
- };
33
-
34
- export const Default: any = Template1.bind({});
35
- Default.args = {
36
- args: {
37
- ...defaultArgs,
38
- },
39
- };
40
-
41
- export const Large: any = Template1.bind({});
42
- Large.args = {
43
- args: {
44
- ...defaultArgs,
45
- size: ElementSize.LARGE,
46
- },
47
- };
48
-
49
- export const ExtraLarge: any = Template1.bind({});
50
- ExtraLarge.args = {
51
- args: {
52
- ...defaultArgs,
53
- size: ElementSize.EXTRA_LARGE,
54
- },
55
- };
@@ -1,82 +0,0 @@
1
- <template>
2
- <div
3
- :role="shadowRole"
4
- :class="{
5
- 'h-5 w-5':
6
- !props.disableStyle && props.size === ElementSize.EXTRA_SMALL,
7
- 'h-7 w-7': !props.disableStyle && props.size === ElementSize.SMALL,
8
- 'h-10 w-10':
9
- !props.disableStyle && props.size === ElementSize.DEFAULT,
10
- 'h-20 w-20':
11
- !props.disableStyle && props.size === ElementSize.LARGE,
12
- 'h-40 w-40':
13
- !props.disableStyle && props.size === ElementSize.EXTRA_LARGE,
14
- 'rounded-full': props.shape === ElementShape.CIRCLE,
15
- rounded: props.shape === ElementShape.SQUARE,
16
- }"
17
- class="overflow-hidden inline-flex items-center justify-center bg-caipira-primary-inverted"
18
- @click="onClick"
19
- >
20
- <img
21
- class="w-full h-full object-cover"
22
- v-if="props.image"
23
- :src="props.image"
24
- />
25
- <t-icon
26
- v-else-if="props.icon"
27
- class="color-caipira-primary"
28
- :icon="props.icon"
29
- :size="props.size"
30
- />
31
- <span v-else-if="props.text">{{ props.text }}</span>
32
- </div>
33
- </template>
34
-
35
- <script lang="ts" setup>
36
- import { ElementSize, ElementShape, Icon } from "@/enums/ui";
37
-
38
- import uiService from "@/services/ui";
39
- import { computed, getCurrentInstance } from "vue";
40
-
41
- defineOptions({ name: "TAvatar" });
42
-
43
- const props = withDefaults(
44
- defineProps<{
45
- icon?: `${Icon}`;
46
- text?: string;
47
- role?: string;
48
- size?: `${ElementSize}`;
49
- image?: string;
50
- shape?: `${ElementShape}`;
51
- disableStyle?: boolean;
52
- }>(),
53
- {
54
- text: "",
55
- role: "",
56
- size: ElementSize.DEFAULT,
57
- image: "",
58
- shape: ElementShape.CIRCLE,
59
- disableStyle: false,
60
- },
61
- );
62
-
63
- const instance = getCurrentInstance();
64
-
65
- const shadowRole = computed<string>(() => {
66
- if (props.role !== "") {
67
- return props.role;
68
- }
69
-
70
- if (instance && uiService.isPopoverActivator(instance)) {
71
- return "button";
72
- }
73
-
74
- return "";
75
- });
76
-
77
- const onClick = (e: MouseEvent) => {
78
- if (instance && uiService.isPopoverActivator(instance)) {
79
- uiService.onPopoverActivatorClick(e, instance);
80
- }
81
- };
82
- </script>
@@ -1,12 +0,0 @@
1
- import type { App, Plugin } from "vue";
2
- import registerComponent from "@/plugins/register-component";
3
-
4
- import Avatar from "./Avatar.vue";
5
-
6
- export default {
7
- install(app: App) {
8
- registerComponent(app, Avatar);
9
- },
10
- } as Plugin;
11
-
12
- export { Avatar };
@@ -1,27 +0,0 @@
1
- <script lang="ts" setup>
2
- defineOptions({ name: "TBackdrop" });
3
-
4
- const props = withDefaults(
5
- defineProps<{
6
- isTransparent?: boolean;
7
- }>(),
8
- {
9
- isTransparent: false,
10
- },
11
- );
12
-
13
- const emit = defineEmits<{
14
- (e: "click", val: MouseEvent): void;
15
- }>();
16
- </script>
17
-
18
- <template>
19
- <div
20
- class="fixed inset-0"
21
- :class="{
22
- 'bg-caipira-tertiary opacity-80': !props.isTransparent,
23
- }"
24
- role="button"
25
- @click="(e) => emit('click', e)"
26
- />
27
- </template>
@@ -1,12 +0,0 @@
1
- import type { App, Plugin } from "vue";
2
- import registerComponent from "@/plugins/register-component";
3
-
4
- import Backdrop from "./Backdrop.vue";
5
-
6
- export default {
7
- install(app: App) {
8
- registerComponent(app, Backdrop);
9
- },
10
- } as Plugin;
11
-
12
- export { Backdrop };
@@ -1,74 +0,0 @@
1
- import { ElementShape, ElementVariant, Icon } from "@/enums/ui";
2
-
3
- export default {
4
- title: "Button",
5
- args: {
6
- variant: ElementVariant.PRIMARY,
7
- isOutline: false,
8
- shape: ElementShape.ROUNDED,
9
- },
10
- argTypes: {
11
- variant: {
12
- options: [
13
- ElementVariant.DEFAULT,
14
- ElementVariant.PRIMARY,
15
- ElementVariant.SUCCESS,
16
- ElementVariant.WARNING,
17
- ElementVariant.DANGER,
18
- ElementVariant.TRANSPARENT,
19
- ],
20
- control: "radio",
21
- description: "Set button variant",
22
- table: {
23
- type: { summary: "enum" },
24
- defaultValue: { summary: ElementVariant.PRIMARY },
25
- },
26
- },
27
- shape: {
28
- options: [
29
- ElementShape.ROUNDED,
30
- ElementShape.CIRCLE,
31
- ElementShape.SQUARE,
32
- ],
33
- control: "radio",
34
- table: {
35
- type: { summary: "enum" },
36
- defaultValue: { summary: ElementShape.ROUNDED },
37
- },
38
- },
39
- isOutline: {
40
- options: [true, false],
41
- control: "boolean",
42
- description: "Invert colors on hover",
43
- table: {
44
- type: { summary: "bool" },
45
- defaultValue: { summary: false },
46
- },
47
- },
48
- label: {
49
- table: { type: { summary: "string" } },
50
- },
51
- icon: {
52
- options: Object.values(Icon),
53
- control: "select",
54
- description: "Optional icon",
55
- table: { type: { summary: "enum" } },
56
- },
57
- },
58
- };
59
-
60
- const defaultArgs = {
61
- label: "Click me",
62
- };
63
-
64
- const Template = (args: typeof defaultArgs) => ({
65
- setup() {
66
- return { args };
67
- },
68
- template: `<t-button v-bind="args" />`,
69
- });
70
-
71
- const Button: any = Template.bind({});
72
- Button.args = defaultArgs;
73
-
74
- export { Button };
@@ -1,230 +0,0 @@
1
- <script lang="ts" setup>
2
- import {
3
- ButtonType,
4
- ElementSize,
5
- ElementShape,
6
- Icon as EIcon,
7
- ElementVariant,
8
- } from "@/enums/ui";
9
-
10
- import uiService from "@/services/ui";
11
- import { computed, ref, getCurrentInstance } from "vue";
12
-
13
- import Icon from "@/components/Icon/Icon.vue";
14
-
15
- defineOptions({ name: "TButton" });
16
-
17
- export type ButtonProps = {
18
- to?: any;
19
- icon?: `${EIcon}`;
20
- href?: string;
21
- type?: `${ButtonType}`;
22
- size?: `${ElementSize}`;
23
- label?: string;
24
- shape?: `${ElementShape}`;
25
- target?: string;
26
- variant?: `${ElementVariant}`;
27
- multiple?: boolean;
28
- isOutline?: boolean;
29
- isDisabled?: boolean;
30
- injectStyle?: { icon: string };
31
- disableStyle?: boolean;
32
- };
33
-
34
- const props = withDefaults(defineProps<ButtonProps>(), {
35
- href: "",
36
- type: ButtonType.BUTTON,
37
- size: ElementSize.DEFAULT,
38
- label: "",
39
- shape: ElementShape.ROUNDED,
40
- target: undefined,
41
- variant: ElementVariant.DEFAULT,
42
- multiple: false,
43
- isOutline: false,
44
- isDisabled: false,
45
- injectStyle: () => ({ icon: "" }),
46
- disableStyle: false,
47
- });
48
-
49
- const emit = defineEmits<{
50
- (e: "upload", val: FileList): void;
51
- }>();
52
-
53
- const instance = getCurrentInstance();
54
- const fileInput = ref<HTMLInputElement>();
55
- const iconReference = ref<InstanceType<typeof Icon> | null>(null);
56
-
57
- const link = computed<string | undefined>(() => {
58
- return props.href ? props.href : undefined;
59
- });
60
-
61
- const shadowType = computed<string | undefined>(() => {
62
- switch (props.type) {
63
- case ButtonType.LINK:
64
- return undefined;
65
- case ButtonType.FILE:
66
- return "button";
67
- default:
68
- return props.type;
69
- }
70
- });
71
-
72
- const value = computed<string | undefined>(() => {
73
- return props.type === ButtonType.SUBMIT ? props.label : undefined;
74
- });
75
-
76
- const element = computed<string>(() => {
77
- switch (props.type) {
78
- case ButtonType.SUBMIT:
79
- return "input";
80
- case ButtonType.LINK:
81
- return "a";
82
- case ButtonType.ROUTER_LINK:
83
- return "router-link";
84
- default:
85
- return "button";
86
- }
87
- });
88
-
89
- const onClick = (e: MouseEvent): void => {
90
- if (instance && uiService.isPopoverActivator(instance)) {
91
- uiService.onPopoverActivatorClick(e, instance);
92
- }
93
-
94
- if (props.type === ButtonType.SUBMIT) {
95
- e.preventDefault();
96
- }
97
-
98
- if (props.type === ButtonType.FILE) {
99
- fileInput.value?.click();
100
- }
101
- };
102
-
103
- const onFileChange = (e: Event) => {
104
- e.stopPropagation();
105
-
106
- const element: HTMLInputElement = e.target as HTMLInputElement;
107
- const files: FileList | null = element.files;
108
-
109
- if (!files || !files.length) {
110
- return;
111
- }
112
-
113
- emit("upload", files);
114
- };
115
-
116
- defineExpose({ iconReference });
117
- </script>
118
-
119
- <template>
120
- <component
121
- :is="element"
122
- :type="shadowType"
123
- :href="link"
124
- :value="value"
125
- :to="props.to"
126
- :disabled="props.isDisabled"
127
- :target="props.target"
128
- :class="{
129
- 'font-bold': !props.disableStyle,
130
- 'opacity-50': props.isDisabled,
131
-
132
- // Padding
133
- 'px-1 py-0':
134
- !props.disableStyle && props.size === ElementSize.EXTRA_SMALL,
135
- 'px-4 h-9': !props.disableStyle && props.size === ElementSize.SMALL,
136
- 'px-4 py-2 h-10':
137
- !props.disableStyle && props.size === ElementSize.DEFAULT,
138
-
139
- // Border
140
- border: props.isOutline,
141
-
142
- // Shape
143
- 'rounded-full': props.shape === ElementShape.CIRCLE,
144
- 'input-roundness': props.shape === ElementShape.ROUNDED,
145
-
146
- // Cursor
147
- 'cursor-pointer': !props.isDisabled,
148
- 'cursor-not-allowed': props.isDisabled,
149
-
150
- // Default color
151
- 'border-caipira-primary-inverted fill-caipira-primary-inverted':
152
- props.variant === ElementVariant.DEFAULT,
153
- 'bg-transparent color-caipira-primary-inverted hover:bg-caipira-primary-inverted hover:color-caipira-primary hover:fill-white':
154
- props.variant === ElementVariant.DEFAULT && props.isOutline,
155
- 'bg-caipira-primary-inverted color-caipira-primary':
156
- props.variant === ElementVariant.DEFAULT && !props.isOutline,
157
-
158
- // Primary color
159
- 'fill-caipira-primary': props.variant === ElementVariant.PRIMARY,
160
- 'bg-transparent border-caipira-blue color-caipira-blue hover:bg-caipira-blue hover:color-caipira-primary hover:fill-white':
161
- props.variant === ElementVariant.PRIMARY && props.isOutline,
162
- 'bg-caipira-blue color-caipira-primary':
163
- props.variant === ElementVariant.PRIMARY && !props.isOutline,
164
-
165
- // Success color
166
- 'fill-caipira-green': props.variant === ElementVariant.SUCCESS,
167
- 'bg-transparent border-caipira-green color-caipira-green hover:bg-caipira-green hover:color-caipira-primary hover:fill-white':
168
- props.variant === ElementVariant.SUCCESS && props.isOutline,
169
- 'bg-caipira-green color-caipira-primary':
170
- props.variant === ElementVariant.SUCCESS && !props.isOutline,
171
-
172
- // Warning color
173
- 'fill-caipira-yellow': props.variant === ElementVariant.WARNING,
174
- 'bg-transparent border-caipira-yellow color-caipira-yellow hover:bg-caipira-yellow hover:color-caipira-primary hover:fill-white':
175
- props.variant === ElementVariant.WARNING && props.isOutline,
176
- 'bg-caipira-yellow color-caipira-primary':
177
- props.variant === ElementVariant.WARNING && !props.isOutline,
178
-
179
- // Danger color
180
- 'fill-caipira-red': props.variant === ElementVariant.DANGER,
181
- 'bg-transparent border-caipira-red color-caipira-red hover:bg-caipira-red hover:color-caipira-primary hover:fill-white':
182
- props.variant === ElementVariant.DANGER && props.isOutline,
183
- 'bg-caipira-red color-caipira-primary':
184
- props.variant === ElementVariant.DANGER && !props.isOutline,
185
-
186
- // Transparent color
187
- 'transparent-button': props.variant === ElementVariant.TRANSPARENT,
188
- }"
189
- class="input-outline inline-flex items-center"
190
- role="button"
191
- @click="onClick"
192
- >
193
- <slot />
194
- <t-icon
195
- v-if="props.icon"
196
- ref="iconReference"
197
- :size="props.size"
198
- :icon="props.icon"
199
- :is-outline="props.isOutline"
200
- :class="{
201
- [props.injectStyle.icon]: true,
202
- }"
203
- />
204
- <span
205
- v-if="props.label && props.type !== ButtonType.SUBMIT"
206
- :class="{
207
- 'ml-2': !!props.icon,
208
- 'text-lg': props.size === ElementSize.LARGE,
209
- 'text-sm': props.size === ElementSize.SMALL,
210
- 'text-xs': props.size === ElementSize.EXTRA_SMALL,
211
- }"
212
- class="whitespace-nowrap"
213
- >{{ props.label }}</span
214
- >
215
- <input
216
- v-if="props.type === 'file'"
217
- :multiple="props.multiple"
218
- @change="onFileChange"
219
- type="file"
220
- ref="fileInput"
221
- class="hidden"
222
- />
223
- </component>
224
- </template>
225
-
226
- <style scoped>
227
- .transparent-button:hover {
228
- background-color: rgb(from var(--caipira-primary) r g b / 45%);
229
- }
230
- </style>
@@ -1,12 +0,0 @@
1
- import type { App, Plugin } from "vue";
2
- import registerComponent from "@/plugins/register-component";
3
-
4
- import Button from "./Button.vue";
5
-
6
- export default {
7
- install(app: App) {
8
- registerComponent(app, Button);
9
- },
10
- } as Plugin;
11
-
12
- export { Button };