@caipira/tamandua 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. package/dist/Avatar.js +2 -2
  2. package/dist/Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js +51 -0
  3. package/dist/{Button-Bzvqv1bQ.js → Button-BVshp51o.js} +2 -2
  4. package/dist/Button.js +2 -2
  5. package/dist/{Button.vue_vue_type_style_index_0_scoped_5056001e_lang-DmQxrvfv.js → Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js} +24 -24
  6. package/dist/ButtonCopy.js +2 -2
  7. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js +42 -0
  8. package/dist/{Drawer-DH5EEenO.js → Drawer-omdZnBPG.js} +6 -6
  9. package/dist/Drawer.js +2 -2
  10. package/dist/Dropdown.js +2 -2
  11. package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js → Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js} +2 -2
  12. package/dist/FileDrop.js +2 -2
  13. package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-Cmrpt2_c.js → FileDrop.vue_vue_type_script_setup_true_lang-DJ05bRaU.js} +2 -2
  14. package/dist/Form.js +2 -2
  15. package/dist/{Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js → Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js} +11 -11
  16. package/dist/GraphyPrice.js +2 -2
  17. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js} +1 -1
  18. package/dist/Icon.js +2 -2
  19. package/dist/{Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js → Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js} +16 -16
  20. package/dist/IconButton.js +2 -2
  21. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js → IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js} +30 -30
  22. package/dist/InputAvatar.js +2 -2
  23. package/dist/{InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js → InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js} +7 -7
  24. package/dist/InputColor.js +2 -2
  25. package/dist/{InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js → InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js} +2 -2
  26. package/dist/InputDate.js +2 -2
  27. package/dist/{InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js → InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js} +44 -44
  28. package/dist/InputPassword.js +2 -2
  29. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js → InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js} +15 -15
  30. package/dist/InputPhone.js +2 -2
  31. package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js → InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js} +4 -4
  32. package/dist/InputPrice.js +2 -2
  33. package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js → InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js} +7 -7
  34. package/dist/InputRadio.js +2 -2
  35. package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js → InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js} +1 -1
  36. package/dist/InputSelect.js +2 -2
  37. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js → InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js} +67 -67
  38. package/dist/InputSwitch.js +2 -2
  39. package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js → InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js} +6 -6
  40. package/dist/InputText.js +2 -2
  41. package/dist/{InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js → InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js} +3 -3
  42. package/dist/InputTextarea.js +2 -2
  43. package/dist/{InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js → InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js} +7 -7
  44. package/dist/Modal.js +2 -2
  45. package/dist/{Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js → Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js} +1 -1
  46. package/dist/ModalForm.js +2 -2
  47. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js → ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js} +1 -1
  48. package/dist/Popconfirm.js +2 -2
  49. package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js → Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js} +1 -1
  50. package/dist/Popover.js +2 -2
  51. package/dist/{Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js → Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js} +95 -95
  52. package/dist/{ProgressCircle-iWjZBZwm.js → ProgressCircle-BY2eeyGY.js} +7 -7
  53. package/dist/ProgressCircle.js +2 -2
  54. package/dist/{ProgressLine-BT-YgI1t.js → ProgressLine-CfZKbUcx.js} +1 -1
  55. package/dist/ProgressLine.js +2 -2
  56. package/dist/{Table-CTeoQmG3.js → Table-grkQ9tby.js} +2 -2
  57. package/dist/Table.js +2 -2
  58. package/dist/Tag.js +2 -2
  59. package/dist/{Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js → Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js} +5 -5
  60. package/dist/Toast.js +2 -2
  61. package/dist/{Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js → Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js} +11 -11
  62. package/dist/components.js +30 -30
  63. package/dist/composables.js +16 -12
  64. package/dist/{crud-d9NUddtZ.js → crud-lKm5HfM4.js} +5 -6
  65. package/dist/enums.js +2 -2
  66. package/dist/{index-DBecmJ_I.js → form-BkXpIJ0e.js} +3 -4
  67. package/dist/form2.js +1 -1
  68. package/dist/{plugin-Dg87-qPm.js → plugin--F5QK2vy.js} +1 -1
  69. package/dist/{plugin-DDPcV7Fj.js → plugin-3VDgn3kO.js} +1 -1
  70. package/dist/{plugin-CoGzF5YO.js → plugin-7M6YmkX3.js} +1 -1
  71. package/dist/{plugin-turENJ3j.js → plugin-A7Ru6-Ae.js} +1 -1
  72. package/dist/{plugin-BHaaQBWr.js → plugin-AFgt8nH4.js} +1 -1
  73. package/dist/{plugin-BTfinCzO.js → plugin-BCt5Fd1Y.js} +1 -1
  74. package/dist/{plugin-CF2ujTru.js → plugin-BLdCHEGS.js} +1 -1
  75. package/dist/{plugin-CIRUNt1_.js → plugin-BURDNZOq.js} +1 -1
  76. package/dist/{plugin-BPR3wKP8.js → plugin-BZC231Oj.js} +1 -1
  77. package/dist/{plugin-DdrfzyNc.js → plugin-BrwUi1gG.js} +13 -13
  78. package/dist/{plugin-rFDM6yOH.js → plugin-C3tFXHbZ.js} +1 -1
  79. package/dist/{plugin-Dbdsdqqh.js → plugin-CGg5IOSy.js} +1 -1
  80. package/dist/{plugin-B5Guy9c3.js → plugin-CIK2QwfI.js} +1 -1
  81. package/dist/{plugin-Br57SoWk.js → plugin-CNoSZVuJ.js} +1 -1
  82. package/dist/{plugin-C27tBvHp.js → plugin-Ce0OhiOa.js} +1 -1
  83. package/dist/{plugin-hpCgD9-h.js → plugin-Cp-YlP7M.js} +1 -1
  84. package/dist/{plugin-Xg1SCgfO.js → plugin-CqcxTgW6.js} +1 -1
  85. package/dist/{plugin-CxGfRAW1.js → plugin-CwJMh4ht.js} +1 -1
  86. package/dist/{plugin-CHF44uaz.js → plugin-D9vhvf_z.js} +1 -1
  87. package/dist/{plugin-APHHlXVq.js → plugin-DAoreRkB.js} +1 -1
  88. package/dist/{plugin-CSrviP_c.js → plugin-DGx9kLvd.js} +1 -1
  89. package/dist/{plugin-DSCBycRO.js → plugin-DLUdf4JV.js} +1 -1
  90. package/dist/{plugin-BC-6G-0o.js → plugin-DRcJuXpS.js} +1 -1
  91. package/dist/{plugin-Bg2uvrOR.js → plugin-DT7LVAli.js} +1 -1
  92. package/dist/{plugin-C2MSl67l.js → plugin-DXSsGfRI.js} +1 -1
  93. package/dist/{plugin-nzCD2cWq.js → plugin-DYnmuOWz.js} +1 -1
  94. package/dist/{plugin-BeNCIHgJ.js → plugin-DkDbha5K.js} +1 -1
  95. package/dist/{plugin-BLe_xel4.js → plugin-DmkLbCIU.js} +1 -1
  96. package/dist/{plugin-CpACKUGt.js → plugin-DppW8rQi.js} +1 -1
  97. package/dist/{plugin--u5hKcI0.js → plugin-c1rFpmlH.js} +1 -1
  98. package/dist/plugins-QF-BxY4i.js +107 -0
  99. package/dist/plugins.js +44 -44
  100. package/dist/tamandua.js +1 -1
  101. package/dist/types/components/Avatar/Avatar.vue.d.ts +5 -20
  102. package/dist/types/components/Avatar/index.d.ts +1 -0
  103. package/dist/types/components/Avatar/types.d.ts +11 -0
  104. package/dist/types/components/Backdrop/Backdrop.vue.d.ts +4 -6
  105. package/dist/types/components/Backdrop/index.d.ts +1 -0
  106. package/dist/types/components/Backdrop/types.d.ts +6 -0
  107. package/dist/types/components/Button/Button.vue.d.ts +8 -66
  108. package/dist/types/components/Button/index.d.ts +1 -0
  109. package/dist/types/components/Button/types.d.ts +23 -0
  110. package/dist/types/components/ButtonCopy/ButtonCopy.vue.d.ts +4 -9
  111. package/dist/types/components/ButtonCopy/index.d.ts +1 -0
  112. package/dist/types/components/ButtonCopy/types.d.ts +4 -0
  113. package/dist/types/components/Drawer/Drawer.vue.d.ts +2 -56
  114. package/dist/types/components/Drawer/index.d.ts +1 -0
  115. package/dist/types/components/Drawer/types.d.ts +11 -0
  116. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +4 -108
  117. package/dist/types/components/Dropdown/index.d.ts +1 -0
  118. package/dist/types/components/Dropdown/types.d.ts +25 -0
  119. package/dist/types/components/FileDrop/FileDrop.vue.d.ts +6 -12
  120. package/dist/types/components/FileDrop/index.d.ts +1 -0
  121. package/dist/types/components/FileDrop/types.d.ts +8 -0
  122. package/dist/types/components/Form/Form.vue.d.ts +11 -26
  123. package/dist/types/components/Form/index.d.ts +1 -0
  124. package/dist/types/components/Form/types.d.ts +21 -0
  125. package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -10
  126. package/dist/types/components/FormItem/index.d.ts +1 -0
  127. package/dist/types/components/FormItem/types.d.ts +5 -0
  128. package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +3 -5
  129. package/dist/types/components/GraphyEmpty/index.d.ts +1 -0
  130. package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
  131. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +2 -34
  132. package/dist/types/components/GraphyLabel/index.d.ts +1 -0
  133. package/dist/types/components/GraphyLabel/types.d.ts +5 -0
  134. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +4 -15
  135. package/dist/types/components/GraphyPrice/index.d.ts +1 -0
  136. package/dist/types/components/GraphyPrice/types.d.ts +9 -0
  137. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +2 -29
  138. package/dist/types/components/GraphySubtitle/index.d.ts +1 -0
  139. package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
  140. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +3 -14
  141. package/dist/types/components/GraphyTitle/index.d.ts +1 -0
  142. package/dist/types/components/GraphyTitle/types.d.ts +3 -0
  143. package/dist/types/components/Icon/Icon.vue.d.ts +3 -37
  144. package/dist/types/components/Icon/index.d.ts +1 -0
  145. package/dist/types/components/Icon/types.d.ts +7 -0
  146. package/dist/types/components/IconButton/IconButton.vue.d.ts +10 -68
  147. package/dist/types/components/IconButton/index.d.ts +1 -0
  148. package/dist/types/components/IconButton/types.d.ts +23 -0
  149. package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +6 -8
  150. package/dist/types/components/InputAvatar/index.d.ts +1 -0
  151. package/dist/types/components/InputAvatar/types.d.ts +6 -0
  152. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +2 -50
  153. package/dist/types/components/InputCheckbox/index.d.ts +1 -0
  154. package/dist/types/components/InputCheckbox/types.d.ts +11 -0
  155. package/dist/types/components/InputColor/InputColor.vue.d.ts +2 -38
  156. package/dist/types/components/InputColor/index.d.ts +1 -0
  157. package/dist/types/components/InputColor/types.d.ts +8 -0
  158. package/dist/types/components/InputDate/InputDate.vue.d.ts +3 -22
  159. package/dist/types/components/InputDate/index.d.ts +1 -0
  160. package/dist/types/components/InputDate/types.d.ts +15 -0
  161. package/dist/types/components/InputPassword/InputPassword.vue.d.ts +3 -12
  162. package/dist/types/components/InputPassword/index.d.ts +1 -0
  163. package/dist/types/components/InputPassword/types.d.ts +17 -0
  164. package/dist/types/components/InputPhone/InputPhone.vue.d.ts +19 -16
  165. package/dist/types/components/InputPhone/index.d.ts +1 -0
  166. package/dist/types/components/InputPhone/types.d.ts +13 -0
  167. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +2 -37
  168. package/dist/types/components/InputPrice/index.d.ts +1 -0
  169. package/dist/types/components/InputPrice/types.d.ts +10 -0
  170. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +3 -16
  171. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +2 -35
  172. package/dist/types/components/InputRadio/index.d.ts +1 -0
  173. package/dist/types/components/InputRadio/types.d.ts +12 -0
  174. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2 -106
  175. package/dist/types/components/InputSelect/index.d.ts +1 -0
  176. package/dist/types/components/InputSelect/types.d.ts +31 -0
  177. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +2 -38
  178. package/dist/types/components/InputSwitch/index.d.ts +1 -0
  179. package/dist/types/components/InputSwitch/types.d.ts +8 -0
  180. package/dist/types/components/InputText/InputText.vue.d.ts +4 -16
  181. package/dist/types/components/InputText/index.d.ts +1 -0
  182. package/dist/types/components/InputText/types.d.ts +12 -0
  183. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +2 -48
  184. package/dist/types/components/InputTextarea/index.d.ts +1 -0
  185. package/dist/types/components/InputTextarea/types.d.ts +10 -0
  186. package/dist/types/components/LineChart/LineChart.vue.d.ts +3 -16
  187. package/dist/types/components/LineChart/index.d.ts +1 -0
  188. package/dist/types/components/LineChart/types.d.ts +4 -0
  189. package/dist/types/components/Modal/Modal.vue.d.ts +2 -59
  190. package/dist/types/components/Modal/index.d.ts +1 -0
  191. package/dist/types/components/Modal/types.d.ts +10 -0
  192. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +4 -18
  193. package/dist/types/components/ModalForm/index.d.ts +1 -0
  194. package/dist/types/components/ModalForm/types.d.ts +17 -0
  195. package/dist/types/components/Pagination/Pagination.vue.d.ts +2 -48
  196. package/dist/types/components/Pagination/index.d.ts +1 -0
  197. package/dist/types/components/Pagination/types.d.ts +11 -0
  198. package/dist/types/components/PieChart/PieChart.vue.d.ts +3 -16
  199. package/dist/types/components/PieChart/index.d.ts +1 -0
  200. package/dist/types/components/PieChart/types.d.ts +4 -0
  201. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +2 -38
  202. package/dist/types/components/Popconfirm/index.d.ts +1 -0
  203. package/dist/types/components/Popconfirm/types.d.ts +9 -0
  204. package/dist/types/components/Popover/Popover.vue.d.ts +4 -17
  205. package/dist/types/components/Popover/index.d.ts +1 -0
  206. package/dist/types/components/Popover/types.d.ts +10 -0
  207. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +2 -47
  208. package/dist/types/components/ProgressCircle/index.d.ts +1 -0
  209. package/dist/types/components/ProgressCircle/types.d.ts +7 -0
  210. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +2 -66
  211. package/dist/types/components/ProgressLine/index.d.ts +1 -0
  212. package/dist/types/components/ProgressLine/types.d.ts +12 -0
  213. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +3 -14
  214. package/dist/types/components/SensitiveInfo/index.d.ts +1 -0
  215. package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
  216. package/dist/types/components/Tab/Tab.vue.d.ts +3 -30
  217. package/dist/types/components/Tab/index.d.ts +1 -0
  218. package/dist/types/components/Tab/types.d.ts +5 -0
  219. package/dist/types/components/Table/Table.vue.d.ts +5 -12
  220. package/dist/types/components/Table/index.d.ts +1 -1
  221. package/dist/types/components/Table/types.d.ts +4 -0
  222. package/dist/types/components/Toast/Toast.vue.d.ts +3 -20
  223. package/dist/types/components/Toast/index.d.ts +1 -0
  224. package/dist/types/components/Toast/types.d.ts +8 -0
  225. package/dist/types/components/index.d.ts +42 -42
  226. package/dist/types/composables/index.d.ts +3 -1
  227. package/dist/types/composables/useClipboard.d.ts +3 -0
  228. package/dist/types/composables/useDomHelpers.d.ts +7 -0
  229. package/dist/types/form/crud.d.ts +1 -1
  230. package/dist/{ui-BLR-4Xlv.js → ui-DtSy-y9T.js} +4 -4
  231. package/dist/useClipboard-BHFD0Jvv.js +11 -0
  232. package/dist/useDomHelpers-5CFMo6bx.js +23 -0
  233. package/package.json +1 -1
  234. package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +0 -51
  235. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +0 -43
  236. package/dist/plugins-DumG9GBB.js +0 -107
  237. package/dist/types/services/clipboard.d.ts +0 -2
  238. package/dist/types/services/ui.d.ts +0 -9
  239. package/dist/ui-MicIL_Lw.js +0 -23
@@ -1,13 +1,13 @@
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({
1
+ import { defineComponent as ue, ref as p, inject as re, computed as R, onBeforeMount as ce, onBeforeUnmount as pe, watch as A, resolveComponent as b, openBlock as u, createElementBlock as d, normalizeClass as k, unref as K, createElementVNode as I, withKeys as de, renderSlot as g, normalizeProps as V, mergeProps as j, Fragment as _, renderList as M, guardReactiveProps as U, createBlock as H, toDisplayString as fe, createCommentVNode as N, withDirectives as me, vModelText as ve, createVNode as P, withCtx as q, createSlots as ye, nextTick as be } from "vue";
2
+ import { u as he } from "./useDomHelpers-5CFMo6bx.js";
3
+ import { b as we, E as ke } from "./ui-DtSy-y9T.js";
4
+ const ge = { key: 1 }, Ve = ["placeholder", "disabled", "readonly"], _e = { class: "flex w-full justify-between items-center" }, Se = { class: "flex items-center" };
5
+ let xe = 0;
6
+ const Re = /* @__PURE__ */ ue({
7
7
  name: "TInputSelect",
8
8
  __name: "InputSelect",
9
9
  props: {
10
- size: { default: be.DEFAULT },
10
+ size: { default: we.DEFAULT },
11
11
  options: { default: () => [] },
12
12
  mapper: { type: Function, default: (f) => ({ value: f.id ?? f.uuid, label: f }) },
13
13
  filter: { type: Function, default: (f, S) => S.label.toLowerCase().indexOf(f.toLowerCase()) >= 0 },
@@ -21,32 +21,32 @@ const Ee = /* @__PURE__ */ se({
21
21
  initialValue: {},
22
22
  disableStyle: { type: Boolean, default: !1 },
23
23
  isSearchable: { type: Boolean, default: !1 },
24
- dropdownPlacement: { default: he.BOTTOM }
24
+ dropdownPlacement: { default: ke.BOTTOM }
25
25
  },
26
- emits: ["update:modelValue"],
26
+ emits: ["update:model-value"],
27
27
  setup(f, { emit: S }) {
28
28
  const l = f;
29
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);
30
+ const G = S, J = `checkbox_${++xe}`, r = p(""), a = p([]), $ = p(null), D = re("formStyle", { label: "", input: "" }), C = p(null), n = p(!1), L = p(null), o = p([]), { wasClickOutsideOfContainer: Q } = he(), c = p(null), B = R(() => o.value.length > 0), O = R(() => l.isSearchable && n.value), v = R(() => typeof l.resource == "function"), W = (e) => !l.multiple || !l.modelValue || !Array.isArray(l.modelValue) ? !1 : l.modelValue.includes(e.option[l.identifier]), X = (e = l.modelValue) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), Y = (e) => {
31
+ G("update:model-value", e);
32
32
  }, m = (e = l.modelValue) => {
33
- if (W(e))
33
+ if (X(e))
34
34
  if (l.multiple)
35
- Array.isArray(e) && (a.value = e.map(
35
+ Array.isArray(e) && (o.value = e.map(
36
36
  (t) => E(t)
37
37
  ).filter((t) => t > -1));
38
38
  else {
39
39
  const t = E(e);
40
- ~t && (a.value = [t]);
40
+ ~t && (o.value = [t]);
41
41
  }
42
42
  }, z = (e) => {
43
- n.value = !n.value, n.value && O.value && ye(() => {
43
+ n.value = !n.value, n.value && O.value && be(() => {
44
44
  $.value?.focus();
45
45
  }), e.stopPropagation();
46
- }, E = (e) => o.value.findIndex(
46
+ }, E = (e) => a.value.findIndex(
47
47
  (t) => t.value === e
48
48
  ), F = (e) => {
49
- C.value && we.wasClickOutsideOfContainer(e, C.value) && (n.value = !1);
49
+ C.value && Q(e, C.value) && (n.value = !1);
50
50
  }, w = async (e = !1) => {
51
51
  if (!l.resource)
52
52
  return;
@@ -56,41 +56,41 @@ const Ee = /* @__PURE__ */ se({
56
56
  };
57
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
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 = () => {
59
+ e ? a.value.push(...i.items.map(l.mapper)) : a.value = i.items.map(l.mapper), c.value = i.pagination, !v.value && r.value && m(r.value);
60
+ }, Z = () => {
61
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(
62
+ T = r.value, v.value ? (n.value || (n.value = !0), w()) : l.isSearchable && (a.value = l.options.filter(
63
63
  (e) => l.filter(r.value, e)
64
64
  ));
65
65
  }, 500));
66
- }, Z = () => {
66
+ }, ee = () => {
67
67
  n.value = !1;
68
- }, ee = (e) => {
68
+ }, le = (e) => {
69
69
  n.value = !1, e.stopPropagation();
70
- }, le = ({
70
+ }, te = ({
71
71
  index: e,
72
72
  hold: t
73
73
  }) => {
74
74
  if (x = !0, l.multiple) {
75
- const i = a.value.findIndex(
75
+ const i = o.value.findIndex(
76
76
  (y) => y === e
77
77
  );
78
- ~i ? a.value.splice(i, 1) : a.value.push(e);
78
+ ~i ? o.value.splice(i, 1) : o.value.push(e);
79
79
  } else
80
- a.value = [e];
80
+ o.value = [e];
81
81
  (!l.multiple || !t) && (n.value = !1);
82
- }, te = () => {
82
+ }, oe = () => {
83
83
  v.value && c.value && c.value.pages > c.value.page && w(!0);
84
84
  }, ae = async (e) => {
85
85
  switch (e.key) {
86
86
  case "ArrowDown":
87
- D.value?.move(e);
87
+ L.value?.move(e);
88
88
  break;
89
89
  }
90
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(() => {
91
+ return ce(async () => {
92
+ v.value ? (await w(), m()) : l.options.length > 0 && (a.value = l.options), !l.modelValue && l.initialValue ? m(l.initialValue) : m(l.modelValue), document.addEventListener("click", F);
93
+ }), pe(() => {
94
94
  document.removeEventListener("click", F);
95
95
  }), A(
96
96
  () => l.modelValue,
@@ -98,23 +98,23 @@ const Ee = /* @__PURE__ */ se({
98
98
  e && (E(e) < 0 && v.value && await w(), m(e));
99
99
  }
100
100
  ), A(
101
- a,
101
+ o,
102
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));
103
+ const t = l.multiple ? a.value.filter(
104
+ (i, y) => o.value.includes(y)
105
+ ).map((i) => i.value) : a.value[o.value[0]].value;
106
+ x && (x = !1, Y(t));
107
107
  },
108
108
  { deep: !0 }
109
109
  ), A(
110
110
  () => l.options,
111
111
  (e) => {
112
- e.length > 0 && (o.value = e, l.modelValue && a.value.length === 0 && m(l.modelValue));
112
+ e.length > 0 && (a.value = e, l.modelValue && o.value.length === 0 && m(l.modelValue));
113
113
  }
114
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");
115
+ const i = b("t-tag"), y = b("t-icon-button"), ne = b("t-icon"), ie = b("t-dropdown"), se = b("t-popover");
116
116
  return u(), d("div", {
117
- class: k({ [K(L).input]: !l.disableStyle })
117
+ class: k({ [K(D).input]: !l.disableStyle })
118
118
  }, [
119
119
  I("div", {
120
120
  ref_key: "wrapperRef",
@@ -123,14 +123,14 @@ const Ee = /* @__PURE__ */ se({
123
123
  "h-9": !l.disableStyle && !l.multiple,
124
124
  "min-h-9": !l.disableStyle && l.multiple,
125
125
  "text-left select-none input-bg-color input-text-color border input-border input-roundness": !l.disableStyle,
126
- [K(L).input]: !l.disableStyle
126
+ [K(D).input]: !l.disableStyle
127
127
  }, "inline-flex justify-between items-center w-full text-left"]),
128
128
  role: "button",
129
129
  onClick: z,
130
- onBlur: Z,
131
- onKeyup: pe(ee, ["esc"])
130
+ onBlur: ee,
131
+ onKeyup: de(le, ["esc"])
132
132
  }, [
133
- O.value ? fe((u(), d("input", {
133
+ O.value ? me((u(), d("input", {
134
134
  key: 1,
135
135
  "onUpdate:modelValue": t[0] || (t[0] = (s) => r.value = s),
136
136
  type: "text",
@@ -141,10 +141,10 @@ const Ee = /* @__PURE__ */ se({
141
141
  readonly: !l.isSearchable,
142
142
  class: k([{ "cursor-pointer": !l.isSearchable }, "w-full h-9 bg-transparent input-padding input-roundness input-outline"]),
143
143
  onClick: t[1] || (t[1] = (s) => s.stopPropagation()),
144
- onInput: Y,
144
+ onInput: Z,
145
145
  onKeydown: ae
146
- }, null, 42, ge)), [
147
- [me, r.value]
146
+ }, null, 42, Ve)), [
147
+ [ve, r.value]
148
148
  ]) : (u(), d("div", {
149
149
  key: 0,
150
150
  class: k(["flex items-center ml-2", {
@@ -152,15 +152,15 @@ const Ee = /* @__PURE__ */ se({
152
152
  "flex-wrap": l.multiple
153
153
  }])
154
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)))
155
+ e.$slots.selection && B.value ? g(e.$slots, "selection", V(j({ key: 0 }, a.value[o.value[0]].label))) : e.$slots.default && B.value ? (u(), d(_, { key: 1 }, [
156
+ l.multiple ? (u(!0), d(_, { key: 0 }, M(o.value, (s) => g(e.$slots, "default", V(U(a.value[s].label)))), 256)) : g(e.$slots, "default", V(j({ key: 1 }, a.value[o.value[0]].label)))
157
157
  ], 64)) : B.value ? (u(), d(_, { key: 2 }, [
158
- l.multiple ? (u(!0), d(_, { key: 0 }, M(a.value, (s) => (u(), N(i, {
158
+ l.multiple ? (u(!0), d(_, { key: 0 }, M(o.value, (s) => (u(), H(i, {
159
159
  key: s,
160
- text: o.value[s].label,
160
+ text: a.value[s].label,
161
161
  color: "#6e6e6e"
162
- }, null, 8, ["text"]))), 128)) : (u(), d("span", ke, de(o.value[a.value[0]]?.label), 1))
163
- ], 64)) : q("", !0)
162
+ }, null, 8, ["text"]))), 128)) : (u(), d("span", ge, fe(a.value[o.value[0]]?.label), 1))
163
+ ], 64)) : N("", !0)
164
164
  ], 2)),
165
165
  P(y, {
166
166
  "disable-style": !0,
@@ -169,36 +169,36 @@ const Ee = /* @__PURE__ */ se({
169
169
  onClick: z
170
170
  }, null, 8, ["icon"])
171
171
  ], 34),
172
- P(ie, {
172
+ P(se, {
173
173
  placement: l.dropdownPlacement,
174
174
  "is-visible": n.value
175
175
  }, {
176
- content: G(() => [
177
- P(ne, {
176
+ content: q(() => [
177
+ P(ie, {
178
178
  ref_key: "dropdownRef",
179
- ref: D,
180
- owner: H,
181
- items: o.value,
179
+ ref: L,
180
+ owner: J,
181
+ items: a.value,
182
182
  "is-visible": n.value,
183
183
  multiple: l.multiple,
184
184
  class: "fixed",
185
185
  "aria-describedby": "tooltip",
186
- onChange: le,
187
- onEndReached: te
188
- }, ve({ _: 2 }, [
186
+ onChange: te,
187
+ onEndReached: oe
188
+ }, ye({ _: 2 }, [
189
189
  e.$slots.default ? {
190
190
  name: "default",
191
- fn: G((s) => [
192
- I("div", Ve, [
193
- I("div", _e, [
191
+ fn: q((s) => [
192
+ I("div", _e, [
193
+ I("div", Se, [
194
194
  g(e.$slots, "default", V(U(s.label)))
195
195
  ]),
196
- Q(s) ? (u(), N(oe, {
196
+ W(s) ? (u(), H(ne, {
197
197
  key: 0,
198
198
  icon: "check",
199
199
  size: "sm",
200
200
  class: "float-right ml-2"
201
- })) : q("", !0)
201
+ })) : N("", !0)
202
202
  ])
203
203
  ]),
204
204
  key: "0"
@@ -212,5 +212,5 @@ const Ee = /* @__PURE__ */ se({
212
212
  }
213
213
  });
214
214
  export {
215
- Ee as _
215
+ Re as _
216
216
  };
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-DCYkakov.js";
2
- import { p as i } from "./plugin-Bg2uvrOR.js";
1
+ import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Dq_U-mFJ.js";
2
+ import { p as i } from "./plugin-DT7LVAli.js";
3
3
  export {
4
4
  o as InputSwitch,
5
5
  i as InputSwitchPlugin
@@ -1,6 +1,6 @@
1
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;
2
+ const g = ["disabled"];
3
+ let V = 0;
4
4
  const B = /* @__PURE__ */ b({
5
5
  name: "TInputSwitch",
6
6
  __name: "InputSwitch",
@@ -9,11 +9,11 @@ const B = /* @__PURE__ */ b({
9
9
  disabled: { type: Boolean, default: !1 },
10
10
  modelValue: { type: Boolean }
11
11
  },
12
- emits: ["update:modelValue"],
12
+ emits: ["update:model-value"],
13
13
  setup(d, { emit: u }) {
14
- const s = d, c = u, a = `switch_${++g}`, e = v(!1), p = () => {
14
+ const s = d, c = u, a = `switch_${++V}`, e = v(!1), p = () => {
15
15
  const l = !e.value;
16
- c("update:modelValue", l);
16
+ c("update:model-value", l);
17
17
  };
18
18
  return f(
19
19
  () => s.modelValue,
@@ -38,7 +38,7 @@ const B = /* @__PURE__ */ b({
38
38
  id: a,
39
39
  disabled: l.disabled,
40
40
  onInput: p
41
- }, null, 42, V), [
41
+ }, null, 42, g), [
42
42
  [y, e.value]
43
43
  ]),
44
44
  t("label", {
package/dist/InputText.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js";
2
- import { p as r } from "./plugin-CxGfRAW1.js";
1
+ import { _ as e } from "./InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js";
2
+ import { p as r } from "./plugin-CwJMh4ht.js";
3
3
  export {
4
4
  e as InputText,
5
5
  r as InputTextPlugin
@@ -12,10 +12,10 @@ const S = ["type", "id", "placeholder", "autocomplete", "disabled"], B = /* @__P
12
12
  },
13
13
  emits: ["update:model-value", "keyup.enter"],
14
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({
15
+ const e = i, r = l("id", ""), s = p, d = l("invalid", !1), c = l("formStyle", { input: "w-full" }), a = l("validated", !1), n = v({
16
16
  get: () => e.modelValue,
17
17
  set: (o) => {
18
- r("update:model-value", o);
18
+ s("update:model-value", o);
19
19
  }
20
20
  });
21
21
  return (o, u) => y((b(), h("input", _({
@@ -27,7 +27,7 @@ const S = ["type", "id", "placeholder", "autocomplete", "disabled"], B = /* @__P
27
27
  "border-red-500": !t(a) && t(d),
28
28
  "border-emerald-500": t(a) && !t(d)
29
29
  },
30
- id: t(s),
30
+ id: t(r),
31
31
  placeholder: e.placeholder,
32
32
  autocomplete: e.autocomplete,
33
33
  disabled: e.disabled
@@ -1,5 +1,5 @@
1
- import { _ as r } from "./InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js";
2
- import { p } from "./plugin-Xg1SCgfO.js";
1
+ import { _ as r } from "./InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js";
2
+ import { p } from "./plugin-CqcxTgW6.js";
3
3
  export {
4
4
  r as InputTextarea,
5
5
  p as InputTextareaPlugin
@@ -1,5 +1,5 @@
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({
1
+ import { defineComponent as f, ref as r, inject as l, watch as b, openBlock as v, createElementBlock as y, normalizeClass as h, unref as t } from "vue";
2
+ const S = ["value", "type", "placeholder", "disabled"], _ = /* @__PURE__ */ f({
3
3
  name: "TInputTextarea",
4
4
  __name: "InputTextarea",
5
5
  props: {
@@ -9,13 +9,13 @@ const S = ["value", "type", "placeholder", "disabled"], V = /* @__PURE__ */ f({
9
9
  placeholder: { default: void 0 },
10
10
  disableStyle: { type: Boolean, default: !1 }
11
11
  },
12
- emits: ["update:modelValue"],
12
+ emits: ["update:model-value"],
13
13
  setup(i, { emit: u }) {
14
14
  const s = i, p = u, a = r(""), o = l("invalid", !1), c = l("formStyle", { input: "w-full" }), n = l("validated", !1);
15
15
  r("");
16
16
  const m = ({ target: e }) => {
17
17
  const d = e.value;
18
- p("update:modelValue", d);
18
+ p("update:model-value", d);
19
19
  };
20
20
  return b(
21
21
  () => s.modelValue,
@@ -23,10 +23,10 @@ const S = ["value", "type", "placeholder", "disabled"], V = /* @__PURE__ */ f({
23
23
  e && (a.value = e);
24
24
  },
25
25
  { immediate: !0 }
26
- ), (e, d) => (y(), h("textarea", {
26
+ ), (e, d) => (v(), y("textarea", {
27
27
  value: a.value,
28
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", {
29
+ class: h(["min-h-9 input-bg-color input-text-color input-outline border input-border input-roundnes input-padding input-roundness", {
30
30
  "border rounded h-9": !e.disableStyle,
31
31
  [t(c).input]: !e.disableStyle,
32
32
  "border-red-500": !t(n) && t(o),
@@ -39,5 +39,5 @@ const S = ["value", "type", "placeholder", "disabled"], V = /* @__PURE__ */ f({
39
39
  }
40
40
  });
41
41
  export {
42
- V as _
42
+ _
43
43
  };
package/dist/Modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js";
2
- import { p } from "./plugin-BPR3wKP8.js";
1
+ import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js";
2
+ import { p } from "./plugin-BZC231Oj.js";
3
3
  export {
4
4
  r as Modal,
5
5
  p as ModalPlugin
@@ -21,7 +21,7 @@ const S = {
21
21
  },
22
22
  emits: ["closed"],
23
23
  setup(d, { emit: u }) {
24
- const e = d, c = y(null), p = u, r = (t) => {
24
+ const e = d, p = u, c = y(null), r = (t) => {
25
25
  t.stopPropagation(), p("closed");
26
26
  };
27
27
  return b(() => {
package/dist/ModalForm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js";
2
- import { p as l } from "./plugin-B5Guy9c3.js";
1
+ import { _ as a } from "./ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js";
2
+ import { p as l } from "./plugin-CIK2QwfI.js";
3
3
  export {
4
4
  a as ModalForm,
5
5
  l as ModalFormPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as K, ref as u, computed as L, resolveComponent as o, openBlock as l, createBlock as a, withCtx as n, createCommentVNode as d, createElementBlock as M, createVNode as c, normalizeClass as b, resolveDynamicComponent as N } from "vue";
2
- import { C as R } from "./crud-d9NUddtZ.js";
2
+ import { C as R } from "./crud-lKm5HfM4.js";
3
3
  const $ = {
4
4
  key: 0,
5
5
  class: "inline-flex"
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./Popconfirm.vue_vue_type_script_setup_true_lang-Dy1m3j6J.js";
2
- import { p as m } from "./plugin-CHF44uaz.js";
1
+ import { _ as p } from "./Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js";
2
+ import { p as m } from "./plugin-D9vhvf_z.js";
3
3
  export {
4
4
  p as Popconfirm,
5
5
  m as PopconfirmPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, ref as x, resolveComponent as s, openBlock as y, createBlock as k, withCtx as a, createElementVNode as o, createVNode as l, toDisplayString as P, renderSlot as g } from "vue";
2
- import { c as w } from "./ui-BLR-4Xlv.js";
2
+ import { E as w } from "./ui-DtSy-y9T.js";
3
3
  const z = { class: "text-sm mb-6 flex" }, B = { class: "flex justify-end" }, N = /* @__PURE__ */ C({
4
4
  name: "TPopconfirm",
5
5
  __name: "Popconfirm",
package/dist/Popover.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./Popover.vue_vue_type_script_setup_true_lang-OFi2-aWk.js";
2
- import { p as P } from "./plugin--u5hKcI0.js";
1
+ import { _ as p } from "./Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js";
2
+ import { p as P } from "./plugin-c1rFpmlH.js";
3
3
  export {
4
4
  p as Popover,
5
5
  P as PopoverPlugin