@caipira/tamandua 0.0.8 → 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 +3 -4
  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,8 +1,8 @@
1
- import { defineComponent as L, getCurrentInstance as T, ref as p, computed as a, resolveComponent as k, openBlock as f, createBlock as g, resolveDynamicComponent as U, normalizeClass as d, unref as o, withCtx as z, renderSlot as A, createVNode as N, createElementBlock as R, createCommentVNode as x } from "vue";
2
- import { B as t, E as i, a as r, b as F } from "./ui-BLR-4Xlv.js";
3
- import { u as m } from "./ui-MicIL_Lw.js";
4
- import "./Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js";
5
- const w = ["multiple"], P = /* @__PURE__ */ L({
1
+ import { defineComponent as T, getCurrentInstance as k, ref as p, computed as a, resolveComponent as g, openBlock as f, createBlock as U, resolveDynamicComponent as z, normalizeClass as d, unref as o, withCtx as A, renderSlot as N, createVNode as R, createElementBlock as x, createCommentVNode as F } from "vue";
2
+ import { u as w } from "./useDomHelpers-5CFMo6bx.js";
3
+ import { B as t, b as s, c as r, a as M } from "./ui-DtSy-y9T.js";
4
+ import "./Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js";
5
+ const O = ["multiple"], H = /* @__PURE__ */ T({
6
6
  name: "TIconButton",
7
7
  __name: "IconButton",
8
8
  props: {
@@ -10,11 +10,11 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
10
10
  icon: {},
11
11
  href: { default: "" },
12
12
  type: { default: t.BUTTON },
13
- size: { default: i.DEFAULT },
13
+ size: { default: s.DEFAULT },
14
14
  label: { default: "" },
15
15
  shape: { default: r.ROUNDED },
16
16
  target: { default: void 0 },
17
- variant: { default: F.DEFAULT },
17
+ variant: { default: M.DEFAULT },
18
18
  multiple: { type: Boolean, default: !1 },
19
19
  isOutline: { type: Boolean, default: !1 },
20
20
  isDisabled: { type: Boolean, default: !1 },
@@ -22,8 +22,8 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
22
22
  disableStyle: { type: Boolean, default: !1 }
23
23
  },
24
24
  emits: ["upload"],
25
- setup(y, { expose: v, emit: h }) {
26
- const e = y, b = h, s = T(), u = p(), c = p(null), _ = a(() => e.href ? e.href : void 0), B = a(() => {
25
+ setup(m, { expose: y, emit: h }) {
26
+ const e = m, v = h, i = k(), u = p(), c = p(null), { isPopoverActivator: b, onPopoverActivatorClick: _ } = w(), B = a(() => e.href ? e.href : void 0), D = a(() => {
27
27
  switch (e.type) {
28
28
  case t.LINK:
29
29
  return;
@@ -32,7 +32,7 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
32
32
  default:
33
33
  return e.type;
34
34
  }
35
- }), E = a(() => e.type === t.SUBMIT ? e.label : void 0), S = a(() => {
35
+ }), E = a(() => e.type === t.SUBMIT ? e.label : void 0), I = a(() => {
36
36
  switch (e.type) {
37
37
  case t.SUBMIT:
38
38
  return "input";
@@ -43,18 +43,18 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
43
43
  default:
44
44
  return "button";
45
45
  }
46
- }), D = (n) => {
47
- s && m.isPopoverActivator(s) && m.onPopoverActivatorClick(n, s), e.type === t.SUBMIT && n.preventDefault(), e.type === t.FILE && u.value?.click();
48
- }, I = (n) => {
46
+ }), S = (n) => {
47
+ i && b(i) && _(n, i), e.type === t.SUBMIT && n.preventDefault(), e.type === t.FILE && u.value?.click();
48
+ }, C = (n) => {
49
49
  n.stopPropagation();
50
50
  const l = n.target.files;
51
- !l || !l.length || b("upload", l);
51
+ !l || !l.length || v("upload", l);
52
52
  };
53
- return v({ iconReference: c }), (n, C) => {
54
- const l = k("t-icon");
55
- return f(), g(U(S.value), {
56
- type: B.value,
57
- href: _.value,
53
+ return y({ iconReference: c }), (n, L) => {
54
+ const l = g("t-icon");
55
+ return f(), U(z(I.value), {
56
+ type: D.value,
57
+ href: B.value,
58
58
  value: E.value,
59
59
  to: e.to,
60
60
  disabled: e.isDisabled,
@@ -62,9 +62,9 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
62
62
  class: d([{
63
63
  "opacity-50": e.isDisabled,
64
64
  // Padding
65
- "px-1 py-0": !e.disableStyle && e.size === o(i).EXTRA_SMALL,
66
- "px-1": !e.disableStyle && e.size === o(i).SMALL,
67
- "px-4 py-2 h-10": !e.disableStyle && e.size === o(i).DEFAULT,
65
+ "px-1 py-0": !e.disableStyle && e.size === o(s).EXTRA_SMALL,
66
+ "px-1": !e.disableStyle && e.size === o(s).SMALL,
67
+ "px-4 py-2 h-10": !e.disableStyle && e.size === o(s).DEFAULT,
68
68
  // Shape
69
69
  "rounded-full": e.shape === o(r).CIRCLE,
70
70
  "input-roundness": e.shape === o(r).ROUNDED,
@@ -73,11 +73,11 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
73
73
  "cursor-not-allowed": e.isDisabled
74
74
  }, "input-outline inline-flex items-center justify-center"]),
75
75
  role: "button",
76
- onClick: D
76
+ onClick: S
77
77
  }, {
78
- default: z(() => [
79
- A(n.$slots, "default"),
80
- N(l, {
78
+ default: A(() => [
79
+ N(n.$slots, "default"),
80
+ R(l, {
81
81
  ref_key: "iconReference",
82
82
  ref: c,
83
83
  size: e.size,
@@ -86,15 +86,15 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
86
86
  [e.injectStyle.icon]: !0
87
87
  })
88
88
  }, null, 8, ["size", "icon", "class"]),
89
- e.type === "file" ? (f(), R("input", {
89
+ e.type === "file" ? (f(), x("input", {
90
90
  key: 0,
91
91
  multiple: e.multiple,
92
- onChange: I,
92
+ onChange: C,
93
93
  type: "file",
94
94
  ref_key: "fileInput",
95
95
  ref: u,
96
96
  class: "hidden"
97
- }, null, 40, w)) : x("", !0)
97
+ }, null, 40, O)) : F("", !0)
98
98
  ]),
99
99
  _: 3
100
100
  }, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
@@ -102,5 +102,5 @@ const w = ["multiple"], P = /* @__PURE__ */ L({
102
102
  }
103
103
  });
104
104
  export {
105
- P as _
105
+ H as _
106
106
  };
@@ -1,5 +1,5 @@
1
- import { _ as t } from "./InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js";
2
- import { p as o } from "./plugin-Dg87-qPm.js";
1
+ import { _ as t } from "./InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js";
2
+ import { p as o } from "./plugin--F5QK2vy.js";
3
3
  export {
4
4
  t as InputAvatar,
5
5
  o as InputAvatarPlugin
@@ -2,20 +2,20 @@ import { defineComponent as v, ref as o, watch as f, resolveComponent as n, open
2
2
  const b = { class: "relative h-40 w-40" }, y = {
3
3
  for: "file",
4
4
  class: "absolute transform bottom-1 right-2"
5
- }, V = ["value"], C = /* @__PURE__ */ v({
5
+ }, x = ["value"], A = /* @__PURE__ */ v({
6
6
  name: "TInputAvatar",
7
7
  __name: "InputAvatar",
8
8
  props: {
9
9
  modelValue: {}
10
10
  },
11
- emits: ["update:modelValue"],
11
+ emits: ["update:model-value"],
12
12
  setup(s, { emit: l }) {
13
- const i = s, m = l, a = o(), u = o(), p = async (e) => {
13
+ const a = o(), i = l, m = s, u = o(), p = async (e) => {
14
14
  const t = e.target.files;
15
- a.value = URL.createObjectURL(t[0]), m("update:modelValue", t[0]);
15
+ a.value = URL.createObjectURL(t[0]), i("update:model-value", t[0]);
16
16
  };
17
17
  return f(
18
- () => i.modelValue,
18
+ () => m.modelValue,
19
19
  (e) => {
20
20
  typeof e == "string" && (a.value = e);
21
21
  },
@@ -42,11 +42,11 @@ const b = { class: "relative h-40 w-40" }, y = {
42
42
  type: "file",
43
43
  class: "hidden",
44
44
  onChange: p
45
- }, null, 40, V)
45
+ }, null, 40, x)
46
46
  ]);
47
47
  };
48
48
  }
49
49
  });
50
50
  export {
51
- C as _
51
+ A as _
52
52
  };
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./InputColor.vue_vue_type_script_setup_true_lang-DunYzjId.js";
2
- import { p as l } from "./plugin-CpACKUGt.js";
1
+ import { _ as p } from "./InputColor.vue_vue_type_script_setup_true_lang-CZ0o-B7I.js";
2
+ import { p as l } from "./plugin-DppW8rQi.js";
3
3
  export {
4
4
  p as InputColor,
5
5
  l as InputColorPlugin
@@ -7,13 +7,13 @@ const f = ["value", "disabled"], b = /* @__PURE__ */ i({
7
7
  modelValue: {},
8
8
  disableStyle: { type: Boolean, default: !1 }
9
9
  },
10
- emits: ["update:modelValue"],
10
+ emits: ["update:model-value"],
11
11
  setup(n, { emit: a }) {
12
12
  const l = n, u = a, t = r("");
13
13
  p("formStyle", { label: "", input: "" });
14
14
  const s = ({ target: e }) => {
15
15
  const o = e.value;
16
- o && u("update:modelValue", o);
16
+ o && u("update:model-value", o);
17
17
  };
18
18
  return d(
19
19
  () => l.modelValue,
package/dist/InputDate.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js";
2
- import { p as o } from "./plugin-BeNCIHgJ.js";
1
+ import { _ as a } from "./InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js";
2
+ import { p as o } from "./plugin-DkDbha5K.js";
3
3
  export {
4
4
  a as InputDate,
5
5
  o as InputDatePlugin
@@ -1,11 +1,11 @@
1
- import { defineComponent as Z, inject as ee, ref as f, watch as O, computed as S, onBeforeMount as te, resolveComponent as oe, openBlock as c, createElementBlock as v, normalizeClass as x, unref as j, createElementVNode as n, withKeys as le, withDirectives as ne, toDisplayString as k, Fragment as F, renderList as T, createVNode as B, vShow as ae } from "vue";
2
- import { u as se } from "./ui-MicIL_Lw.js";
1
+ import { defineComponent as ee, inject as te, ref as f, watch as O, computed as S, onBeforeMount as oe, resolveComponent as le, openBlock as c, createElementBlock as v, normalizeClass as x, unref as j, createElementVNode as n, withKeys as ne, withDirectives as ae, toDisplayString as k, Fragment as F, renderList as T, createVNode as B, vShow as se } from "vue";
2
+ import { u as re } from "./useDomHelpers-5CFMo6bx.js";
3
3
  import { f as E } from "./index-CjvqeRf7.js";
4
- import { g as L, s as $, a as re, b as N, c as ue } from "./index-CuyePt3m.js";
5
- const ie = ["value"], de = {
4
+ import { g as L, s as $, a as ue, b as N, c as ie } from "./index-CuyePt3m.js";
5
+ const de = ["value"], ce = {
6
6
  class: "mt-9 shadow-md p-4 absolute top-0 left-0 select-none z-10 bg-caipira-primary border input-border input-roundness",
7
7
  style: { width: "17rem" }
8
- }, ce = { class: "flex justify-between items-center mb-2" }, ve = { class: "text-lg font-bold" }, pe = ["value", "selected"], me = ["disabled"], fe = ["disabled"], he = { class: "flex flex-wrap mb-3 -mx-1" }, ye = { class: "font-medium text-center text-xs" }, ge = { class: "flex flex-wrap -mx-1" }, be = ["onClick"], M = !0, Me = /* @__PURE__ */ Z({
8
+ }, ve = { class: "flex justify-between items-center mb-2" }, pe = { class: "text-lg font-bold" }, me = ["value", "selected"], fe = ["disabled"], he = ["disabled"], ye = { class: "flex flex-wrap mb-3 -mx-1" }, ge = { class: "font-medium text-center text-xs" }, be = { class: "flex flex-wrap -mx-1" }, we = ["onClick"], M = !0, Ve = /* @__PURE__ */ ee({
9
9
  name: "TInputDate",
10
10
  __name: "InputDate",
11
11
  props: {
@@ -15,7 +15,7 @@ const ie = ["value"], de = {
15
15
  },
16
16
  emits: ["update:model-value"],
17
17
  setup(z, { emit: A }) {
18
- const a = z, V = A, h = /* @__PURE__ */ new Date(), K = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], P = ee("formStyle", { input: "w-full" }), C = f(null), y = f(!1), e = f(/* @__PURE__ */ new Date()), s = f(e.value.getFullYear()), p = f(e.value.getMonth());
18
+ const V = A, a = z, h = /* @__PURE__ */ new Date(), K = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], P = te("formStyle", { input: "w-full" }), C = f(null), y = f(!1), { wasClickOutsideOfContainer: R } = re(), e = f(/* @__PURE__ */ new Date()), s = f(e.value.getFullYear()), p = f(e.value.getMonth());
19
19
  O(
20
20
  () => e.value,
21
21
  (t) => {
@@ -40,33 +40,33 @@ const ie = ["value"], de = {
40
40
  },
41
41
  { immediate: !0 }
42
42
  );
43
- const R = S(() => {
43
+ const W = S(() => {
44
44
  if (!a.modelValue)
45
45
  return "";
46
46
  const t = typeof a.modelValue == "string" ? new Date(a.modelValue) : a.modelValue;
47
47
  return E(t, "yyyy-MM-dd");
48
- }), W = S(() => {
48
+ }), G = S(() => {
49
49
  const t = h.getFullYear();
50
50
  return Array.from({ length: 49 }, (i, r) => t - 1 - r).reverse().concat(Array.from({ length: 51 }, (i, r) => t + r));
51
- }), G = (t) => e.value = re(
51
+ }), H = (t) => e.value = ue(
52
52
  e.value,
53
53
  t?.target?.value
54
54
  ), w = () => {
55
55
  y.value = !1, e.value = m ? a.modelValue : /* @__PURE__ */ new Date();
56
56
  }, q = (t) => {
57
- t.overflow && (e.value = t.overflow > 0 ? N(e.value, t.overflow) : $(e.value, ~t.overflow + 1)), e.value = ue(e.value, t.day), V("update:model-value", e.value), w();
58
- }, H = () => {
59
- e.value = $(e.value, 1);
57
+ t.overflow && (e.value = t.overflow > 0 ? N(e.value, t.overflow) : $(e.value, ~t.overflow + 1)), e.value = ie(e.value, t.day), V("update:model-value", e.value), w();
60
58
  }, J = () => {
59
+ e.value = $(e.value, 1);
60
+ }, Q = () => {
61
61
  e.value = N(e.value, 1);
62
- }, Q = S(() => {
63
- const i = [], r = new Date(s.value, p.value).getDay(), l = L($(e.value, 1)), I = L(e.value), Y = h.getDate(), D = h.getFullYear(), d = h.getMonth();
62
+ }, U = S(() => {
63
+ const i = [], r = new Date(s.value, p.value).getDay(), l = L($(e.value, 1)), I = L(e.value), D = h.getDate(), Y = h.getFullYear(), d = h.getMonth();
64
64
  let _ = 1, u = p.value - 1;
65
65
  for (let o = l - (r - 1); o <= l; o++)
66
66
  i.push({
67
67
  key: `${o}-${d - 1}`,
68
68
  day: o,
69
- isToday: Y === o && d === u && D === s.value,
69
+ isToday: D === o && d === u && Y === s.value,
70
70
  selected: m === o && b === u && g === s.value,
71
71
  overflow: -1
72
72
  }), _++;
@@ -75,7 +75,7 @@ const ie = ["value"], de = {
75
75
  i.push({
76
76
  key: `${o}-${d}`,
77
77
  day: o,
78
- isToday: Y === o && d === u && D === s.value,
78
+ isToday: D === o && d === u && Y === s.value,
79
79
  selected: m === o && b === u && g === s.value,
80
80
  overflow: 0
81
81
  }), _++;
@@ -84,20 +84,20 @@ const ie = ["value"], de = {
84
84
  i.push({
85
85
  key: `${o}-${d + 1}`,
86
86
  day: o,
87
- isToday: Y === o && d === u && D === s.value,
87
+ isToday: D === o && d === u && Y === s.value,
88
88
  selected: m === o && b === u && g === s.value,
89
89
  overflow: 1
90
90
  }), _++;
91
91
  return i;
92
- }), U = () => {
92
+ }), X = () => {
93
93
  y.value ? w() : y.value = !0;
94
- }, X = (t) => {
95
- C.value && se.wasClickOutsideOfContainer(t, C.value) && w();
94
+ }, Z = (t) => {
95
+ C.value && R(t, C.value) && w();
96
96
  };
97
- return te(() => {
98
- document.addEventListener("click", X), !a.modelValue && a.initialValue && V("update:model-value", a.initialValue);
97
+ return oe(() => {
98
+ document.addEventListener("click", Z), !a.modelValue && a.initialValue && V("update:model-value", a.initialValue);
99
99
  }), (t, i) => {
100
- const r = oe("t-icon");
100
+ const r = le("t-icon");
101
101
  return c(), v("div", {
102
102
  class: x(["inline-block relative", { [j(P).input]: !0 }]),
103
103
  ref_key: "wrapperRef",
@@ -106,25 +106,25 @@ const ie = ["value"], de = {
106
106
  n("input", {
107
107
  type: "text",
108
108
  readonly: "",
109
- value: R.value,
110
- onClick: U,
111
- onKeydown: le(w, ["escape"]),
109
+ value: W.value,
110
+ onClick: X,
111
+ onKeydown: ne(w, ["escape"]),
112
112
  class: "w-full pl-2 pr-10 py-2 leading-none input-bg-color input-text-color border input-border input-roundness input-outline",
113
113
  placeholder: "Select date"
114
- }, null, 40, ie),
115
- ne(n("div", de, [
116
- n("div", ce, [
114
+ }, null, 40, de),
115
+ ae(n("div", ce, [
116
+ n("div", ve, [
117
117
  n("div", null, [
118
- n("span", ve, k(j(E)(e.value, "MMMM")), 1),
118
+ n("span", pe, k(j(E)(e.value, "MMMM")), 1),
119
119
  n("select", {
120
120
  class: "ml-2 text-lg input-bg-color border input-border input-outline",
121
- onChange: G
121
+ onChange: H
122
122
  }, [
123
- (c(!0), v(F, null, T(W.value, (l) => (c(), v("option", {
123
+ (c(!0), v(F, null, T(G.value, (l) => (c(), v("option", {
124
124
  key: l,
125
125
  value: l,
126
126
  selected: l === s.value
127
- }, k(l), 9, pe))), 128))
127
+ }, k(l), 9, me))), 128))
128
128
  ], 32)
129
129
  ]),
130
130
  n("div", null, [
@@ -134,33 +134,33 @@ const ie = ["value"], de = {
134
134
  "cursor-not-allowed opacity-25": !M
135
135
  }]),
136
136
  disabled: !M,
137
- onClick: H
137
+ onClick: J
138
138
  }, [
139
139
  B(r, { icon: "chevron-left" })
140
- ], 10, me),
140
+ ], 10, fe),
141
141
  n("button", {
142
142
  type: "button",
143
143
  class: x(["transition ease-in-out duration-100 inline-flex cursor-pointer p-1 rounded-full hover:bg-hover", {
144
144
  "cursor-not-allowed opacity-25": !M
145
145
  }]),
146
146
  disabled: !M,
147
- onClick: J
147
+ onClick: Q
148
148
  }, [
149
149
  B(r, { icon: "chevron-right" })
150
- ], 10, fe)
150
+ ], 10, he)
151
151
  ])
152
152
  ]),
153
- n("div", he, [
153
+ n("div", ye, [
154
154
  (c(), v(F, null, T(K, (l) => n("div", {
155
155
  key: l,
156
156
  style: { width: "14.26%" },
157
157
  class: "px-1"
158
158
  }, [
159
- n("div", ye, k(l), 1)
159
+ n("div", ge, k(l), 1)
160
160
  ])), 64))
161
161
  ]),
162
- n("div", ge, [
163
- (c(!0), v(F, null, T(Q.value, (l) => (c(), v("div", {
162
+ n("div", be, [
163
+ (c(!0), v(F, null, T(U.value, (l) => (c(), v("div", {
164
164
  key: l.key,
165
165
  style: { width: "14.28%" },
166
166
  class: "px-1 mb-1"
@@ -173,16 +173,16 @@ const ie = ["value"], de = {
173
173
  "border border-caipira-primary-inverted": l.isToday,
174
174
  "color-caipira-primary bg-caipira-primary-inverted": l.selected
175
175
  }])
176
- }, k(l.day), 11, be)
176
+ }, k(l.day), 11, we)
177
177
  ]))), 128))
178
178
  ])
179
179
  ], 512), [
180
- [ae, y.value]
180
+ [se, y.value]
181
181
  ])
182
182
  ], 2);
183
183
  };
184
184
  }
185
185
  });
186
186
  export {
187
- Me as _
187
+ Ve as _
188
188
  };
@@ -1,5 +1,5 @@
1
- import { _ as s } from "./InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js";
2
- import { p as a } from "./plugin-CIRUNt1_.js";
1
+ import { _ as s } from "./InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js";
2
+ import { p as a } from "./plugin-BURDNZOq.js";
3
3
  export {
4
4
  s as InputPassword,
5
5
  a as InputPasswordPlugin
@@ -1,8 +1,8 @@
1
- import { defineComponent as ee, ref as S, inject as te, watch as ne, resolveComponent as O, openBlock as k, createElementBlock as L, normalizeClass as T, unref as U, createElementVNode as P, createVNode as V, createCommentVNode as q, withKeys as le, createBlock as se, toDisplayString as oe } from "vue";
2
- import { _ as ae } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js";
1
+ import { defineComponent as ee, ref as S, inject as te, watch as ne, resolveComponent as O, openBlock as k, createElementBlock as L, normalizeClass as T, unref as U, createElementVNode as P, createVNode as q, createCommentVNode as N, withKeys as le, createBlock as se, toDisplayString as oe } from "vue";
2
+ import { _ as ae } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js";
3
3
  import { f as re } from "./index-CjvqeRf7.js";
4
4
  const ie = (s) => {
5
- let e = 0, r = 0, l = 0, i = 0, o = 0, u = 0, m = 0, p = 0, f = 0, I = 0, c = 0, x = 0, y = 0, b = 0, M = 0, _ = 0, n = 0, d = 0, A = 2, N = 2, R = 2, g = 2, E = 3, K = 3, D = 3, W = 4, Z = 4, G = 6, B = "", $ = "", j = "", C = "Too Short";
5
+ let e = 0, r = 0, l = 0, i = 0, o = 0, u = 0, m = 0, p = 0, f = 0, I = 0, c = 0, x = 0, y = 0, b = 0, M = 0, _ = 0, n = 0, d = 0, A = 2, V = 2, R = 2, g = 2, E = 3, K = 3, D = 3, W = 4, Z = 4, G = 6, B = "", $ = "", j = "", C = "Too Short";
6
6
  const H = "abcdefghijklmnopqrstuvwxyz", J = "01234567890", Q = ")!@#$%^&*()", X = 8, v = s.replace(/\s+/g, "").split(/\s*/), w = v.length;
7
7
  e = s.length * W, r = s.length;
8
8
  for (let t = 0; t < w; t++) {
@@ -25,7 +25,7 @@ const ie = (s) => {
25
25
  let a = Q.substring(t, parseInt(t + 3)), h = a.split("").reverse().join("");
26
26
  (s.toLowerCase().indexOf(a) != -1 || s.toLowerCase().indexOf(h) != -1) && n++;
27
27
  }
28
- l > 0 && l < r && (e = parseInt(e + (r - l) * 2)), i > 0 && i < r && (e = parseInt(e + (r - i) * 2)), o > 0 && o < r && (e = parseInt(e + o * Z)), u > 0 && (e = parseInt(e + u * G)), m > 0 && (e = parseInt(e + m * A)), (i > 0 || l > 0) && u === 0 && o === 0 && (e = parseInt(e - r)), i === 0 && l === 0 && u === 0 && o > 0 && (e = parseInt(e - r)), I > 0 && (e = parseInt(e - c)), x > 0 && (e = parseInt(e - x * N)), y > 0 && (e = parseInt(e - y * R)), b > 0 && (e = parseInt(e - b * g)), M > 0 && (e = parseInt(e - M * E)), _ > 0 && (e = parseInt(e - _ * K)), n > 0 && (e = parseInt(e - n * D)), p = d;
28
+ l > 0 && l < r && (e = parseInt(e + (r - l) * 2)), i > 0 && i < r && (e = parseInt(e + (r - i) * 2)), o > 0 && o < r && (e = parseInt(e + o * Z)), u > 0 && (e = parseInt(e + u * G)), m > 0 && (e = parseInt(e + m * A)), (i > 0 || l > 0) && u === 0 && o === 0 && (e = parseInt(e - r)), i === 0 && l === 0 && u === 0 && o > 0 && (e = parseInt(e - r)), I > 0 && (e = parseInt(e - c)), x > 0 && (e = parseInt(e - x * V)), y > 0 && (e = parseInt(e - y * R)), b > 0 && (e = parseInt(e - b * g)), M > 0 && (e = parseInt(e - M * E)), _ > 0 && (e = parseInt(e - _ * K)), n > 0 && (e = parseInt(e - n * D)), p = d;
29
29
  let z = 0;
30
30
  return s.length >= X ? z = 3 : z = 4, p > z && (e = parseInt(e + p * 2)), e > 100 ? e = 100 : e < 0 && (e = 0), e >= 0 && e < 20 ? C = "Very Weak" : e >= 20 && e < 40 ? C = "Weak" : e >= 40 && e < 60 ? C = "Good" : e >= 60 && e < 80 ? C = "Strong" : e >= 80 && e <= 100 && (C = "Very Strong"), {
31
31
  score: e,
@@ -50,7 +50,7 @@ const ie = (s) => {
50
50
  showStrength: { type: Boolean, default: !1 },
51
51
  simpleMode: { type: Boolean, default: !1 }
52
52
  },
53
- emits: ["generate", "update:modelValue", "enter"],
53
+ emits: ["generate", "update:model-value", "enter"],
54
54
  setup(s, { expose: e, emit: r }) {
55
55
  const l = s, i = r, o = S("password"), u = S(null), m = S(0), p = S(""), f = S(!1), I = te("formStyle", { input: "w-full" }), c = S(), x = (n) => {
56
56
  typeof n == "object" && (p.value = n.value, m.value = n.strength ? n.strength : F.getPasswordStrength(n.value).score, c.value = n.updatedAt);
@@ -60,7 +60,7 @@ const ie = (s) => {
60
60
  encrypted: l.encryptor ? await l.encryptor(n) : n,
61
61
  updatedAt: c.value
62
62
  }), b = async (n) => {
63
- i("update:modelValue", await y(n));
63
+ i("update:model-value", await y(n));
64
64
  }, M = () => {
65
65
  u.value && u.value.$el && u.value.$el.focus();
66
66
  }, _ = async () => {
@@ -69,7 +69,7 @@ const ie = (s) => {
69
69
  f.value = !1, i("generate", await y(p.value)), b(n);
70
70
  };
71
71
  return ne(() => l.modelValue, x, { immediate: !0 }), e({ focus: M }), (n, d) => {
72
- const A = O("t-icon"), N = O("t-input-text"), R = O("t-progress-line");
72
+ const A = O("t-icon"), V = O("t-input-text"), R = O("t-progress-line");
73
73
  return k(), L("div", {
74
74
  class: T({ [U(I).input]: !0 })
75
75
  }, [
@@ -78,25 +78,25 @@ const ie = (s) => {
78
78
  key: 0,
79
79
  class: T(["border-r select-none input-border input-control", { "w-12": l.canCopy }])
80
80
  }, [
81
- V(ae, {
81
+ q(ae, {
82
82
  class: "mx-1",
83
83
  text: p.value,
84
84
  "is-disabled": f.value
85
85
  }, null, 8, ["text", "is-disabled"])
86
- ], 2)) : q("", !0),
86
+ ], 2)) : N("", !0),
87
87
  l.showRefresh ? (k(), L("div", {
88
88
  key: 1,
89
89
  class: T(["border-r select-none input-border input-control", { "w-12": l.showRefresh }])
90
90
  }, [
91
- V(A, {
91
+ q(A, {
92
92
  icon: "refresh",
93
93
  size: "sm",
94
94
  role: "button",
95
95
  disabled: f.value,
96
96
  onClick: _
97
97
  }, null, 8, ["disabled"])
98
- ], 2)) : q("", !0),
99
- V(N, {
98
+ ], 2)) : N("", !0),
99
+ q(V, {
100
100
  modelValue: p.value,
101
101
  "onUpdate:modelValue": d[0] || (d[0] = (g) => p.value = g),
102
102
  type: o.value,
@@ -113,7 +113,7 @@ const ie = (s) => {
113
113
  onInput: d[2] || (d[2] = (g) => b(p.value))
114
114
  }, null, 8, ["modelValue", "type", "autocomplete", "disabled", "onKeyup"]),
115
115
  P("div", pe, [
116
- V(A, {
116
+ q(A, {
117
117
  icon: o.value === "password" ? "eye" : "eye-off",
118
118
  disabled: f.value,
119
119
  size: "sm",
@@ -128,8 +128,8 @@ const ie = (s) => {
128
128
  height: 1,
129
129
  "show-percentage": !1,
130
130
  class: "rounded-sm"
131
- }, null, 8, ["value"])) : q("", !0),
132
- c.value ? (k(), L("small", fe, " Last updated " + oe(U(re)(new Date(c.value), "MMMM do yyyy, hh:mm:ss")), 1)) : q("", !0)
131
+ }, null, 8, ["value"])) : N("", !0),
132
+ c.value ? (k(), L("small", fe, " Last updated " + oe(U(re)(new Date(c.value), "MMMM do yyyy, hh:mm:ss")), 1)) : N("", !0)
133
133
  ], 2);
134
134
  };
135
135
  }
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js";
2
- import { p as r } from "./plugin-Dbdsdqqh.js";
1
+ import { _ as p } from "./InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js";
2
+ import { p as r } from "./plugin-CGg5IOSy.js";
3
3
  export {
4
4
  p as InputPhone,
5
5
  r as InputPhonePlugin
@@ -6,15 +6,15 @@ const P = /* @__PURE__ */ w({
6
6
  resource: {},
7
7
  modelValue: { default: () => ({}) }
8
8
  },
9
- emits: ["update:modelValue"],
10
- setup(V, { emit: v }) {
11
- const i = V, C = v, u = a(""), o = a(), s = a([]), r = a([]), _ = I("formStyle", { label: "", input: "" }), d = () => {
9
+ emits: ["update:model-value"],
10
+ setup(v, { emit: C }) {
11
+ const i = v, V = C, u = a(""), o = a(), s = a([]), r = a([]), _ = I("formStyle", { label: "", input: "" }), d = () => {
12
12
  if (!o.value)
13
13
  return;
14
14
  const e = r.value.find(
15
15
  (n) => n.dialCode === o.value
16
16
  );
17
- e && C("update:modelValue", {
17
+ e && V("update:model-value", {
18
18
  iso2: e.iso2,
19
19
  dialCode: e.dialCode,
20
20
  number: u.value ?? ""
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./InputPrice.vue_vue_type_script_setup_true_lang-Zi-JuhSl.js";
2
- import { p as t } from "./plugin-rFDM6yOH.js";
1
+ import { _ as e } from "./InputPrice.vue_vue_type_script_setup_true_lang-BBi8qKn8.js";
2
+ import { p as t } from "./plugin-C3tFXHbZ.js";
3
3
  export {
4
4
  e as InputPrice,
5
5
  t as InputPricePlugin
@@ -4,13 +4,13 @@ const $ = /* @__PURE__ */ w({
4
4
  inheritAttrs: !1,
5
5
  __name: "InputPrice",
6
6
  props: {
7
+ resource: {},
7
8
  modelValue: { default: () => ({}) },
8
- wrapperClass: {},
9
- resource: {}
9
+ wrapperClass: {}
10
10
  },
11
- emits: ["update:modelValue"],
11
+ emits: ["update:model-value"],
12
12
  setup(c, { emit: d }) {
13
- const t = c, f = d, l = a(""), o = a(""), V = x("formStyle", { label: "", input: "" }), r = a([]), v = async () => {
13
+ const t = c, f = d, l = a(""), o = a(""), v = x("formStyle", { label: "", input: "" }), r = a([]), V = async () => {
14
14
  r.value = (await t.resource()).map(
15
15
  (e) => ({
16
16
  label: e.symbol,
@@ -18,7 +18,7 @@ const $ = /* @__PURE__ */ w({
18
18
  })
19
19
  );
20
20
  }, s = () => {
21
- f("update:modelValue", {
21
+ f("update:model-value", {
22
22
  iso: o.value,
23
23
  value: parseFloat(l.value)
24
24
  });
@@ -26,7 +26,7 @@ const $ = /* @__PURE__ */ w({
26
26
  !e || typeof e != "object" || (t.modelValue?.value && (l.value = `${t.modelValue.value}`), t.modelValue?.iso && (o.value = t.modelValue.iso));
27
27
  };
28
28
  return C(async () => {
29
- await v();
29
+ await V();
30
30
  }), g(
31
31
  () => t.modelValue,
32
32
  (e) => {
@@ -37,7 +37,7 @@ const $ = /* @__PURE__ */ w({
37
37
  const y = i("t-input-select"), _ = i("t-input-text");
38
38
  return U(), j("div", {
39
39
  class: B(["flex h-9", {
40
- [I(V).input]: !0,
40
+ [I(v).input]: !0,
41
41
  "input-bg-color input-text-color border input-border input-roundness": !t.wrapperClass
42
42
  }])
43
43
  }, [
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js";
2
- import { p as t } from "./plugin-DdrfzyNc.js";
1
+ import { _ as a } from "./InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js";
2
+ import { p as t } from "./plugin-BrwUi1gG.js";
3
3
  export {
4
4
  a as InputRadio,
5
5
  t as InputRadioPlugin
@@ -9,7 +9,7 @@ const k = /* @__PURE__ */ m({
9
9
  label: {}
10
10
  },
11
11
  setup(t) {
12
- const a = t, i = `radio_${++_}`, c = e("name", ""), l = e("model", ""), d = e("change", () => {
12
+ const i = `radio_${++_}`, c = e("name", ""), a = t, l = e("model", ""), d = e("change", () => {
13
13
  }), p = e("disabled", !1);
14
14
  return (s, n) => (u(), b("div", h, [
15
15
  o("input", {
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-DSM-ClgU.js";
2
- import { p as r } from "./plugin-Br57SoWk.js";
1
+ import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js";
2
+ import { p as r } from "./plugin-CNoSZVuJ.js";
3
3
  export {
4
4
  p as InputSelect,
5
5
  r as InputSelectPlugin