@caipira/tamandua 0.0.9 → 0.0.11

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 (244) 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.css +1 -0
  5. package/dist/Button.js +2 -2
  6. 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
  7. package/dist/ButtonCopy.js +2 -2
  8. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js +42 -0
  9. package/dist/{Drawer-DH5EEenO.js → Drawer-omdZnBPG.js} +6 -6
  10. package/dist/Drawer.css +1 -0
  11. package/dist/Drawer.js +2 -2
  12. package/dist/Dropdown.js +2 -2
  13. package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-CJ6tMLP5.js → Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js} +2 -2
  14. package/dist/FileDrop.js +2 -2
  15. 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
  16. package/dist/Form.js +2 -2
  17. package/dist/{Form.vue_vue_type_script_setup_true_lang-CgTo7ahn.js → Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js} +11 -11
  18. package/dist/GraphyPrice.js +2 -2
  19. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BOW4su3l.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js} +1 -1
  20. package/dist/Icon.js +2 -2
  21. package/dist/{Icon.vue_vue_type_script_setup_true_lang-hxJ1wXXd.js → Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js} +16 -16
  22. package/dist/IconButton.js +2 -2
  23. package/dist/{IconButton.vue_vue_type_script_setup_true_lang-BDjy7ycQ.js → IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js} +30 -30
  24. package/dist/InputAvatar.js +2 -2
  25. package/dist/{InputAvatar.vue_vue_type_script_setup_true_lang-Dzq2QUAy.js → InputAvatar.vue_vue_type_script_setup_true_lang-coNpUH5g.js} +7 -7
  26. package/dist/InputColor.js +2 -2
  27. 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
  28. package/dist/InputDate.js +2 -2
  29. package/dist/{InputDate.vue_vue_type_script_setup_true_lang-DM9vaaiW.js → InputDate.vue_vue_type_script_setup_true_lang-D1H0urIZ.js} +44 -44
  30. package/dist/InputPassword.js +2 -2
  31. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-SuGempaV.js → InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js} +15 -15
  32. package/dist/InputPhone.js +2 -2
  33. package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-BH89TX0s.js → InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js} +4 -4
  34. package/dist/InputPrice.js +2 -2
  35. 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
  36. package/dist/InputRadio.js +2 -2
  37. package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-cPnYGpJ_.js → InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js} +1 -1
  38. package/dist/InputSelect.js +2 -2
  39. 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
  40. package/dist/InputSwitch.js +2 -2
  41. 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
  42. package/dist/InputText.js +2 -2
  43. package/dist/{InputText.vue_vue_type_script_setup_true_lang-KUUuOOlk.js → InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js} +3 -3
  44. package/dist/InputTextarea.js +2 -2
  45. package/dist/{InputTextarea.vue_vue_type_script_setup_true_lang-01amgZ6U.js → InputTextarea.vue_vue_type_script_setup_true_lang-IMz1cgV5.js} +7 -7
  46. package/dist/Modal.js +2 -2
  47. package/dist/{Modal.vue_vue_type_script_setup_true_lang-DE2ySBCY.js → Modal.vue_vue_type_script_setup_true_lang-DLl5shGS.js} +1 -1
  48. package/dist/ModalForm.js +2 -2
  49. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-VhRoRmxZ.js → ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js} +1 -1
  50. package/dist/Popconfirm.js +2 -2
  51. 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
  52. package/dist/Popover.js +2 -2
  53. 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
  54. package/dist/{ProgressCircle-iWjZBZwm.js → ProgressCircle-BY2eeyGY.js} +7 -7
  55. package/dist/ProgressCircle.css +1 -0
  56. package/dist/ProgressCircle.js +2 -2
  57. package/dist/{ProgressLine-BT-YgI1t.js → ProgressLine-CfZKbUcx.js} +1 -1
  58. package/dist/ProgressLine.css +1 -0
  59. package/dist/ProgressLine.js +2 -2
  60. package/dist/{Table-CTeoQmG3.js → Table-grkQ9tby.js} +2 -2
  61. package/dist/Table.css +1 -0
  62. package/dist/Table.js +2 -2
  63. package/dist/Tag.js +2 -2
  64. package/dist/{Tag.vue_vue_type_script_setup_true_lang-BeWozUNz.js → Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js} +5 -5
  65. package/dist/Toast.js +2 -2
  66. package/dist/{Toast.vue_vue_type_script_setup_true_lang-CpDXLnat.js → Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js} +11 -11
  67. package/dist/components.js +30 -30
  68. package/dist/composables.js +16 -12
  69. package/dist/{crud-d9NUddtZ.js → crud-lKm5HfM4.js} +5 -6
  70. package/dist/enums.js +2 -2
  71. package/dist/{index-DBecmJ_I.js → form-BkXpIJ0e.js} +3 -4
  72. package/dist/form2.js +1 -1
  73. package/dist/{plugin-Dg87-qPm.js → plugin--F5QK2vy.js} +1 -1
  74. package/dist/{plugin-DDPcV7Fj.js → plugin-3VDgn3kO.js} +1 -1
  75. package/dist/{plugin-CoGzF5YO.js → plugin-7M6YmkX3.js} +1 -1
  76. package/dist/{plugin-turENJ3j.js → plugin-A7Ru6-Ae.js} +1 -1
  77. package/dist/{plugin-BHaaQBWr.js → plugin-AFgt8nH4.js} +1 -1
  78. package/dist/{plugin-BTfinCzO.js → plugin-BCt5Fd1Y.js} +1 -1
  79. package/dist/{plugin-CF2ujTru.js → plugin-BLdCHEGS.js} +1 -1
  80. package/dist/{plugin-CIRUNt1_.js → plugin-BURDNZOq.js} +1 -1
  81. package/dist/{plugin-BPR3wKP8.js → plugin-BZC231Oj.js} +1 -1
  82. package/dist/{plugin-DdrfzyNc.js → plugin-BrwUi1gG.js} +13 -13
  83. package/dist/{plugin-rFDM6yOH.js → plugin-C3tFXHbZ.js} +1 -1
  84. package/dist/{plugin-Dbdsdqqh.js → plugin-CGg5IOSy.js} +1 -1
  85. package/dist/{plugin-B5Guy9c3.js → plugin-CIK2QwfI.js} +1 -1
  86. package/dist/{plugin-Br57SoWk.js → plugin-CNoSZVuJ.js} +1 -1
  87. package/dist/{plugin-C27tBvHp.js → plugin-Ce0OhiOa.js} +1 -1
  88. package/dist/{plugin-hpCgD9-h.js → plugin-Cp-YlP7M.js} +1 -1
  89. package/dist/{plugin-Xg1SCgfO.js → plugin-CqcxTgW6.js} +1 -1
  90. package/dist/{plugin-CxGfRAW1.js → plugin-CwJMh4ht.js} +1 -1
  91. package/dist/{plugin-CHF44uaz.js → plugin-D9vhvf_z.js} +1 -1
  92. package/dist/{plugin-APHHlXVq.js → plugin-DAoreRkB.js} +1 -1
  93. package/dist/{plugin-CSrviP_c.js → plugin-DGx9kLvd.js} +1 -1
  94. package/dist/{plugin-DSCBycRO.js → plugin-DLUdf4JV.js} +1 -1
  95. package/dist/{plugin-BC-6G-0o.js → plugin-DRcJuXpS.js} +1 -1
  96. package/dist/{plugin-Bg2uvrOR.js → plugin-DT7LVAli.js} +1 -1
  97. package/dist/{plugin-C2MSl67l.js → plugin-DXSsGfRI.js} +1 -1
  98. package/dist/{plugin-nzCD2cWq.js → plugin-DYnmuOWz.js} +1 -1
  99. package/dist/{plugin-BeNCIHgJ.js → plugin-DkDbha5K.js} +1 -1
  100. package/dist/{plugin-BLe_xel4.js → plugin-DmkLbCIU.js} +1 -1
  101. package/dist/{plugin-CpACKUGt.js → plugin-DppW8rQi.js} +1 -1
  102. package/dist/{plugin--u5hKcI0.js → plugin-c1rFpmlH.js} +1 -1
  103. package/dist/plugins-QF-BxY4i.js +107 -0
  104. package/dist/plugins.js +44 -44
  105. package/dist/tamandua.js +1 -1
  106. package/dist/types/components/Avatar/Avatar.vue.d.ts +5 -20
  107. package/dist/types/components/Avatar/index.d.ts +1 -0
  108. package/dist/types/components/Avatar/types.d.ts +11 -0
  109. package/dist/types/components/Backdrop/Backdrop.vue.d.ts +4 -6
  110. package/dist/types/components/Backdrop/index.d.ts +1 -0
  111. package/dist/types/components/Backdrop/types.d.ts +6 -0
  112. package/dist/types/components/Button/Button.vue.d.ts +8 -66
  113. package/dist/types/components/Button/index.d.ts +1 -0
  114. package/dist/types/components/Button/types.d.ts +23 -0
  115. package/dist/types/components/ButtonCopy/ButtonCopy.vue.d.ts +4 -9
  116. package/dist/types/components/ButtonCopy/index.d.ts +1 -0
  117. package/dist/types/components/ButtonCopy/types.d.ts +4 -0
  118. package/dist/types/components/Drawer/Drawer.vue.d.ts +2 -56
  119. package/dist/types/components/Drawer/index.d.ts +1 -0
  120. package/dist/types/components/Drawer/types.d.ts +11 -0
  121. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +4 -108
  122. package/dist/types/components/Dropdown/index.d.ts +1 -0
  123. package/dist/types/components/Dropdown/types.d.ts +25 -0
  124. package/dist/types/components/FileDrop/FileDrop.vue.d.ts +6 -12
  125. package/dist/types/components/FileDrop/index.d.ts +1 -0
  126. package/dist/types/components/FileDrop/types.d.ts +8 -0
  127. package/dist/types/components/Form/Form.vue.d.ts +11 -26
  128. package/dist/types/components/Form/index.d.ts +1 -0
  129. package/dist/types/components/Form/types.d.ts +21 -0
  130. package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -10
  131. package/dist/types/components/FormItem/index.d.ts +1 -0
  132. package/dist/types/components/FormItem/types.d.ts +5 -0
  133. package/dist/types/components/GraphyEmpty/GraphyEmpty.vue.d.ts +3 -5
  134. package/dist/types/components/GraphyEmpty/index.d.ts +1 -0
  135. package/dist/types/components/GraphyEmpty/types.d.ts +3 -0
  136. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +2 -34
  137. package/dist/types/components/GraphyLabel/index.d.ts +1 -0
  138. package/dist/types/components/GraphyLabel/types.d.ts +5 -0
  139. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +4 -15
  140. package/dist/types/components/GraphyPrice/index.d.ts +1 -0
  141. package/dist/types/components/GraphyPrice/types.d.ts +9 -0
  142. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +2 -29
  143. package/dist/types/components/GraphySubtitle/index.d.ts +1 -0
  144. package/dist/types/components/GraphySubtitle/types.d.ts +4 -0
  145. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +3 -14
  146. package/dist/types/components/GraphyTitle/index.d.ts +1 -0
  147. package/dist/types/components/GraphyTitle/types.d.ts +3 -0
  148. package/dist/types/components/Icon/Icon.vue.d.ts +3 -37
  149. package/dist/types/components/Icon/index.d.ts +1 -0
  150. package/dist/types/components/Icon/types.d.ts +7 -0
  151. package/dist/types/components/IconButton/IconButton.vue.d.ts +10 -68
  152. package/dist/types/components/IconButton/index.d.ts +1 -0
  153. package/dist/types/components/IconButton/types.d.ts +23 -0
  154. package/dist/types/components/InputAvatar/InputAvatar.vue.d.ts +6 -8
  155. package/dist/types/components/InputAvatar/index.d.ts +1 -0
  156. package/dist/types/components/InputAvatar/types.d.ts +6 -0
  157. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +2 -50
  158. package/dist/types/components/InputCheckbox/index.d.ts +1 -0
  159. package/dist/types/components/InputCheckbox/types.d.ts +11 -0
  160. package/dist/types/components/InputColor/InputColor.vue.d.ts +2 -38
  161. package/dist/types/components/InputColor/index.d.ts +1 -0
  162. package/dist/types/components/InputColor/types.d.ts +8 -0
  163. package/dist/types/components/InputDate/InputDate.vue.d.ts +3 -22
  164. package/dist/types/components/InputDate/index.d.ts +1 -0
  165. package/dist/types/components/InputDate/types.d.ts +15 -0
  166. package/dist/types/components/InputPassword/InputPassword.vue.d.ts +3 -12
  167. package/dist/types/components/InputPassword/index.d.ts +1 -0
  168. package/dist/types/components/InputPassword/types.d.ts +17 -0
  169. package/dist/types/components/InputPhone/InputPhone.vue.d.ts +19 -16
  170. package/dist/types/components/InputPhone/index.d.ts +1 -0
  171. package/dist/types/components/InputPhone/types.d.ts +13 -0
  172. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +2 -37
  173. package/dist/types/components/InputPrice/index.d.ts +1 -0
  174. package/dist/types/components/InputPrice/types.d.ts +10 -0
  175. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +3 -16
  176. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +2 -35
  177. package/dist/types/components/InputRadio/index.d.ts +1 -0
  178. package/dist/types/components/InputRadio/types.d.ts +12 -0
  179. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +2 -106
  180. package/dist/types/components/InputSelect/index.d.ts +1 -0
  181. package/dist/types/components/InputSelect/types.d.ts +31 -0
  182. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +2 -38
  183. package/dist/types/components/InputSwitch/index.d.ts +1 -0
  184. package/dist/types/components/InputSwitch/types.d.ts +8 -0
  185. package/dist/types/components/InputText/InputText.vue.d.ts +4 -16
  186. package/dist/types/components/InputText/index.d.ts +1 -0
  187. package/dist/types/components/InputText/types.d.ts +12 -0
  188. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +2 -48
  189. package/dist/types/components/InputTextarea/index.d.ts +1 -0
  190. package/dist/types/components/InputTextarea/types.d.ts +10 -0
  191. package/dist/types/components/LineChart/LineChart.vue.d.ts +3 -16
  192. package/dist/types/components/LineChart/index.d.ts +1 -0
  193. package/dist/types/components/LineChart/types.d.ts +4 -0
  194. package/dist/types/components/Modal/Modal.vue.d.ts +2 -59
  195. package/dist/types/components/Modal/index.d.ts +1 -0
  196. package/dist/types/components/Modal/types.d.ts +10 -0
  197. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +4 -18
  198. package/dist/types/components/ModalForm/index.d.ts +1 -0
  199. package/dist/types/components/ModalForm/types.d.ts +17 -0
  200. package/dist/types/components/Pagination/Pagination.vue.d.ts +2 -48
  201. package/dist/types/components/Pagination/index.d.ts +1 -0
  202. package/dist/types/components/Pagination/types.d.ts +11 -0
  203. package/dist/types/components/PieChart/PieChart.vue.d.ts +3 -16
  204. package/dist/types/components/PieChart/index.d.ts +1 -0
  205. package/dist/types/components/PieChart/types.d.ts +4 -0
  206. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +2 -38
  207. package/dist/types/components/Popconfirm/index.d.ts +1 -0
  208. package/dist/types/components/Popconfirm/types.d.ts +9 -0
  209. package/dist/types/components/Popover/Popover.vue.d.ts +4 -17
  210. package/dist/types/components/Popover/index.d.ts +1 -0
  211. package/dist/types/components/Popover/types.d.ts +10 -0
  212. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +2 -47
  213. package/dist/types/components/ProgressCircle/index.d.ts +1 -0
  214. package/dist/types/components/ProgressCircle/types.d.ts +7 -0
  215. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +2 -66
  216. package/dist/types/components/ProgressLine/index.d.ts +1 -0
  217. package/dist/types/components/ProgressLine/types.d.ts +12 -0
  218. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +3 -14
  219. package/dist/types/components/SensitiveInfo/index.d.ts +1 -0
  220. package/dist/types/components/SensitiveInfo/types.d.ts +3 -0
  221. package/dist/types/components/Tab/Tab.vue.d.ts +3 -30
  222. package/dist/types/components/Tab/index.d.ts +1 -0
  223. package/dist/types/components/Tab/types.d.ts +5 -0
  224. package/dist/types/components/Table/Table.vue.d.ts +5 -12
  225. package/dist/types/components/Table/index.d.ts +1 -1
  226. package/dist/types/components/Table/types.d.ts +4 -0
  227. package/dist/types/components/Toast/Toast.vue.d.ts +3 -20
  228. package/dist/types/components/Toast/index.d.ts +1 -0
  229. package/dist/types/components/Toast/types.d.ts +8 -0
  230. package/dist/types/components/index.d.ts +42 -42
  231. package/dist/types/composables/index.d.ts +3 -1
  232. package/dist/types/composables/useClipboard.d.ts +3 -0
  233. package/dist/types/composables/useDomHelpers.d.ts +7 -0
  234. package/dist/types/form/crud.d.ts +1 -1
  235. package/dist/{ui-BLR-4Xlv.js → ui-DtSy-y9T.js} +4 -4
  236. package/dist/useClipboard-BHFD0Jvv.js +11 -0
  237. package/dist/useDomHelpers-5CFMo6bx.js +23 -0
  238. package/package.json +2 -2
  239. package/dist/Avatar.vue_vue_type_script_setup_true_lang-C3xje4Mr.js +0 -51
  240. package/dist/ButtonCopy.vue_vue_type_script_setup_true_lang-C8Ndx2n_.js +0 -43
  241. package/dist/plugins-DumG9GBB.js +0 -107
  242. package/dist/types/services/clipboard.d.ts +0 -2
  243. package/dist/types/services/ui.d.ts +0 -9
  244. package/dist/ui-MicIL_Lw.js +0 -23
@@ -1,54 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- value?: number | undefined;
3
- width?: number | undefined;
4
- strokeWidth?: number | undefined;
5
- strokeColor?: string | undefined;
6
- backgroundColor?: string | undefined;
7
- }>, {
8
- value: number;
9
- width: number;
10
- strokeWidth: number;
11
- strokeColor: string;
12
- backgroundColor: string;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
- value?: number | undefined;
15
- width?: number | undefined;
16
- strokeWidth?: number | undefined;
17
- strokeColor?: string | undefined;
18
- backgroundColor?: string | undefined;
19
- }>, {
20
- value: number;
21
- width: number;
22
- strokeWidth: number;
23
- strokeColor: string;
24
- backgroundColor: string;
25
- }>>>, {
26
- value: number;
27
- backgroundColor: string;
28
- strokeWidth: number;
29
- width: number;
30
- strokeColor: string;
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
31
3
  }, {}>, {
32
4
  default?(_: {}): any;
33
5
  }>;
34
6
  export default _default;
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
- type __VLS_WithDefaults<P, D> = {
45
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
- default: D[K];
47
- }> : P[K];
48
- };
49
- type __VLS_Prettify<T> = {
50
- [K in keyof T]: T[K];
51
- } & {};
52
7
  type __VLS_WithTemplateSlots<T, S> = T & {
53
8
  new (): {
54
9
  $slots: S;
@@ -2,3 +2,4 @@ import { default as ProgressCirclePlugin } from './plugin.js';
2
2
  import { default as ProgressCircle } from './ProgressCircle.vue';
3
3
 
4
4
  export { ProgressCircle, ProgressCirclePlugin };
5
+ export type { ProgressCircleProps } from './types.js';
@@ -0,0 +1,7 @@
1
+ export type ProgressCircleProps = {
2
+ value?: number;
3
+ width?: number;
4
+ strokeWidth?: number;
5
+ strokeColor?: string;
6
+ backgroundColor?: string;
7
+ };
@@ -1,73 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- value?: number | undefined;
3
- height?: number | undefined;
4
- borderRadius?: number | undefined;
5
- showPercentage?: boolean | undefined;
6
- svgClass?: string | undefined;
7
- labelClass?: string | undefined;
8
- overColor?: string | undefined;
9
- progressColor?: string | undefined;
10
- finishedColor?: string | undefined;
11
- backgroundColor?: string | undefined;
12
- }>, {
13
- value: number;
14
- height: number;
15
- borderRadius: number;
16
- showPercentage: boolean;
17
- overColor: string;
18
- progressColor: string;
19
- finishedColor: string;
20
- backgroundColor: string;
21
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
- value?: number | undefined;
23
- height?: number | undefined;
24
- borderRadius?: number | undefined;
25
- showPercentage?: boolean | undefined;
26
- svgClass?: string | undefined;
27
- labelClass?: string | undefined;
28
- overColor?: string | undefined;
29
- progressColor?: string | undefined;
30
- finishedColor?: string | undefined;
31
- backgroundColor?: string | undefined;
32
- }>, {
33
- value: number;
34
- height: number;
35
- borderRadius: number;
36
- showPercentage: boolean;
37
- overColor: string;
38
- progressColor: string;
39
- finishedColor: string;
40
- backgroundColor: string;
41
- }>>>, {
42
- value: number;
43
- backgroundColor: string;
44
- borderRadius: number;
45
- height: number;
46
- showPercentage: boolean;
47
- overColor: string;
48
- progressColor: string;
49
- finishedColor: string;
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
50
3
  }, {}>, {
51
4
  label?(_: {}): any;
52
5
  }>;
53
6
  export default _default;
54
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
- type __VLS_TypePropsToRuntimeProps<T> = {
56
- [K in keyof T]-?: {} extends Pick<T, K> ? {
57
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
- } : {
59
- type: import('vue').PropType<T[K]>;
60
- required: true;
61
- };
62
- };
63
- type __VLS_WithDefaults<P, D> = {
64
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
65
- default: D[K];
66
- }> : P[K];
67
- };
68
- type __VLS_Prettify<T> = {
69
- [K in keyof T]: T[K];
70
- } & {};
71
7
  type __VLS_WithTemplateSlots<T, S> = T & {
72
8
  new (): {
73
9
  $slots: S;
@@ -2,3 +2,4 @@ import { default as ProgressLinePlugin } from './plugin.js';
2
2
  import { default as ProgressLine } from './ProgressLine.vue';
3
3
 
4
4
  export { ProgressLine, ProgressLinePlugin };
5
+ export type { ProgressLineProps } from './types.js';
@@ -0,0 +1,12 @@
1
+ export type ProgressLineProps = {
2
+ value?: number;
3
+ height?: number;
4
+ borderRadius?: number;
5
+ showPercentage?: boolean;
6
+ svgClass?: string;
7
+ labelClass?: string;
8
+ overColor?: string;
9
+ progressColor?: string;
10
+ finishedColor?: string;
11
+ backgroundColor?: string;
12
+ };
@@ -1,20 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- private: boolean;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- private: boolean;
5
- }>>>, {}, {}>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
3
+ }, {}>, {
6
4
  default?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
9
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
10
- type __VLS_TypePropsToRuntimeProps<T> = {
11
- [K in keyof T]-?: {} extends Pick<T, K> ? {
12
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
13
- } : {
14
- type: import('vue').PropType<T[K]>;
15
- required: true;
16
- };
17
- };
18
7
  type __VLS_WithTemplateSlots<T, S> = T & {
19
8
  new (): {
20
9
  $slots: S;
@@ -2,3 +2,4 @@ import { default as SensitiveInfoPlugin } from './plugin.js';
2
2
  import { default as SensitiveInfo } from './SensitiveInfo.vue';
3
3
 
4
4
  export { SensitiveInfo, SensitiveInfoPlugin };
5
+ export type { SensitiveInfoProps } from './types.js';
@@ -0,0 +1,3 @@
1
+ export type SensitiveInfoProps = {
2
+ private: boolean;
3
+ };
@@ -1,34 +1,7 @@
1
- import { Tab } from '../../types/ui.js';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- tabs?: Tab[] | undefined;
5
- }>, {
6
- tabs: () => never[];
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- tabs?: Tab[] | undefined;
9
- }>, {
10
- tabs: () => never[];
11
- }>>>, {
12
- tabs: Tab[];
13
- }, {}>, Partial<Record<string, (_: {}) => any>>>;
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
3
+ }, {}>, Partial<Record<any, (_: {}) => any>>>;
14
4
  export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
24
- type __VLS_WithDefaults<P, D> = {
25
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
26
- default: D[K];
27
- }> : P[K];
28
- };
29
- type __VLS_Prettify<T> = {
30
- [K in keyof T]: T[K];
31
- } & {};
32
5
  type __VLS_WithTemplateSlots<T, S> = T & {
33
6
  new (): {
34
7
  $slots: S;
@@ -2,3 +2,4 @@ import { default as TabPlugin } from './plugin.js';
2
2
  import { default as Tab } from './Tab.vue';
3
3
 
4
4
  export { Tab, TabPlugin };
5
+ export type { TabProps } from './types.js';
@@ -0,0 +1,5 @@
1
+ import { Tab } from '../../types/ui.js';
2
+
3
+ export type TabProps = {
4
+ tabs?: Tab[];
5
+ };
@@ -1,3 +1,5 @@
1
+ import { TableEvents } from './types.js';
2
+
1
3
  declare const _default: <T extends object>(__VLS_props: {
2
4
  loading?: boolean | undefined;
3
5
  disableStyle?: boolean | undefined;
@@ -19,10 +21,7 @@ declare const _default: <T extends object>(__VLS_props: {
19
21
  row: T;
20
22
  }): any;
21
23
  };
22
- emit: {
23
- (e: "selected", val: any): void;
24
- (e: "row-click", val: any): void;
25
- };
24
+ emit: TableEvents;
26
25
  } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
27
26
  clearSelection: () => void;
28
27
  inSelectionMode: import("vue").Ref<boolean>;
@@ -52,10 +51,7 @@ declare const _default: <T extends object>(__VLS_props: {
52
51
  row: T;
53
52
  }): any;
54
53
  };
55
- emit: {
56
- (e: "selected", val: any): void;
57
- (e: "row-click", val: any): void;
58
- };
54
+ emit: TableEvents;
59
55
  }>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
60
56
  [key: string]: any;
61
57
  }> & {
@@ -85,10 +81,7 @@ declare const _default: <T extends object>(__VLS_props: {
85
81
  row: T;
86
82
  }): any;
87
83
  };
88
- emit: {
89
- (e: "selected", val: any): void;
90
- (e: "row-click", val: any): void;
91
- };
84
+ emit: TableEvents;
92
85
  } | undefined;
93
86
  };
94
87
  export default _default;
@@ -2,4 +2,4 @@ import { default as TablePlugin } from './plugin.js';
2
2
  import { default as Table } from './Table.vue';
3
3
 
4
4
  export { Table, TablePlugin };
5
- export type { TableProps } from './types.js';
5
+ export type { TableProps, TableEvents } from './types.js';
@@ -11,3 +11,7 @@ export type TableProps<T = object> = {
11
11
  rowClass?: string;
12
12
  tableDataClass?: string;
13
13
  };
14
+ export type TableEvents = {
15
+ (e: "selected", val: any): void;
16
+ (e: "row-click", val: any): void;
17
+ };
@@ -1,21 +1,4 @@
1
- import { Message } from '../../types/ui.js';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
- message: Message;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- close: (...args: any[]) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- message: Message;
9
- }>>> & {
10
- onClose?: ((...args: any[]) => any) | undefined;
11
- }, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
+ [x: string]: any;
3
+ }, {}>;
12
4
  export default _default;
13
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
15
- [K in keyof T]-?: {} extends Pick<T, K> ? {
16
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
- } : {
18
- type: import('vue').PropType<T[K]>;
19
- required: true;
20
- };
21
- };
@@ -2,3 +2,4 @@ import { default as ToastPlugin } from './plugin.js';
2
2
  import { default as Toast } from './Toast.vue';
3
3
 
4
4
  export { Toast, ToastPlugin };
5
+ export type { ToastProps, ToastEvents } from './types.js';
@@ -0,0 +1,8 @@
1
+ import { Message } from '../../types/ui.js';
2
+
3
+ export type ToastProps = {
4
+ message: Message;
5
+ };
6
+ export type ToastEvents = {
7
+ (e: "close", val: number): void;
8
+ };
@@ -1,46 +1,46 @@
1
- import { Toast } from './Toast/index.js';
1
+ import { Toast, ToastProps, ToastEvents } from './Toast/index.js';
2
2
  import { Tag, TagProps, TagEvents } from './Tag/index.js';
3
- import { Table, TableProps } from './Table/index.js';
4
- import { Tab } from './Tab/index.js';
5
- import { SensitiveInfo } from './SensitiveInfo/index.js';
6
- import { ProgressLine } from './ProgressLine/index.js';
7
- import { ProgressCircle } from './ProgressCircle/index.js';
8
- import { Popover } from './Popover/index.js';
9
- import { Popconfirm } from './Popconfirm/index.js';
10
- import { PieChart } from './PieChart/index.js';
11
- import { Pagination } from './Pagination/index.js';
12
- import { ModalForm } from './ModalForm/index.js';
13
- import { Modal } from './Modal/index.js';
14
- import { LineChart } from './LineChart/index.js';
15
- import { InputTextarea } from './InputTextarea/index.js';
16
- import { InputText } from './InputText/index.js';
17
- import { InputSwitch } from './InputSwitch/index.js';
18
- import { InputSelect } from './InputSelect/index.js';
19
- import { InputRadio } from './InputRadio/index.js';
20
- import { InputPrice } from './InputPrice/index.js';
21
- import { InputPhone } from './InputPhone/index.js';
22
- import { InputPassword } from './InputPassword/index.js';
3
+ import { Table, TableProps, TableEvents } from './Table/index.js';
4
+ import { Tab, TabProps } from './Tab/index.js';
5
+ import { SensitiveInfo, SensitiveInfoProps } from './SensitiveInfo/index.js';
6
+ import { ProgressLine, ProgressLineProps } from './ProgressLine/index.js';
7
+ import { ProgressCircle, ProgressCircleProps } from './ProgressCircle/index.js';
8
+ import { Popover, PopoverProps } from './Popover/index.js';
9
+ import { Popconfirm, PopconfirmProps, PopconfirmEvents } from './Popconfirm/index.js';
10
+ import { PieChart, PieChartProps } from './PieChart/index.js';
11
+ import { Pagination, PaginationProps, PaginationEvents } from './Pagination/index.js';
12
+ import { ModalForm, ModalFormProps, ModalFormEvents } from './ModalForm/index.js';
13
+ import { Modal, ModalProps, ModalEvents } from './Modal/index.js';
14
+ import { LineChart, LineChartProps } from './LineChart/index.js';
15
+ import { InputTextarea, InputTextareaProps, InputTextareaEvents } from './InputTextarea/index.js';
16
+ import { InputText, InputTextProps, InputTextEvents } from './InputText/index.js';
17
+ import { InputSwitch, InputSwitchProps, InputSwitchEvents } from './InputSwitch/index.js';
18
+ import { InputSelect, InputSelectProps, InputSelectEvents } from './InputSelect/index.js';
19
+ import { InputRadio, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents } from './InputRadio/index.js';
20
+ import { InputPrice, InputPriceProps, InputPriceEvents } from './InputPrice/index.js';
21
+ import { InputPhone, InputPhoneProps, InputPhoneEvents } from './InputPhone/index.js';
22
+ import { InputPassword, InputPasswordProps, InputPasswordEvents } from './InputPassword/index.js';
23
23
  import { InputMultiplier, InputMultiplierProps, InputMultiplierEvents } from './InputMultiplier/index.js';
24
- import { InputDate } from './InputDate/index.js';
25
- import { InputColor } from './InputColor/index.js';
26
- import { InputCheckbox } from './InputCheckbox/index.js';
27
- import { InputAvatar } from './InputAvatar/index.js';
28
- import { IconButton } from './IconButton/index.js';
29
- import { Icon } from './Icon/index.js';
30
- import { GraphyTitle } from './GraphyTitle/index.js';
31
- import { GraphySubtitle } from './GraphySubtitle/index.js';
32
- import { GraphyPrice } from './GraphyPrice/index.js';
33
- import { GraphyLabel } from './GraphyLabel/index.js';
34
- import { GraphyEmpty } from './GraphyEmpty/index.js';
35
- import { FormItem } from './FormItem/index.js';
36
- import { Form } from './Form/index.js';
37
- import { FileDrop } from './FileDrop/index.js';
38
- import { Dropdown } from './Dropdown/index.js';
39
- import { Drawer } from './Drawer/index.js';
40
- import { ButtonCopy } from './ButtonCopy/index.js';
41
- import { Button } from './Button/index.js';
42
- import { Backdrop } from './Backdrop/index.js';
43
- import { Avatar } from './Avatar/index.js';
24
+ import { InputDate, InputDateProps, InputDateEvents } from './InputDate/index.js';
25
+ import { InputColor, InputColorProps, InputColorEvents } from './InputColor/index.js';
26
+ import { InputCheckbox, InputCheckboxProps, InputCheckboxEvents } from './InputCheckbox/index.js';
27
+ import { InputAvatar, InputAvatarProps, InputAvatarEvents } from './InputAvatar/index.js';
28
+ import { IconButton, IconButtonProps, IconButtonEvents } from './IconButton/index.js';
29
+ import { Icon, IconProps } from './Icon/index.js';
30
+ import { GraphyTitle, GraphyTitleProps } from './GraphyTitle/index.js';
31
+ import { GraphySubtitle, GraphySubtitleProps } from './GraphySubtitle/index.js';
32
+ import { GraphyPrice, GraphyPriceProps } from './GraphyPrice/index.js';
33
+ import { GraphyLabel, GraphyLabelProps } from './GraphyLabel/index.js';
34
+ import { GraphyEmpty, GraphyEmptyProps } from './GraphyEmpty/index.js';
35
+ import { FormItem, FormItemProps } from './FormItem/index.js';
36
+ import { Form, FormProps, FormEvents } from './Form/index.js';
37
+ import { FileDrop, FileDropProps, FileDropEvents } from './FileDrop/index.js';
38
+ import { Dropdown, DropdownProps, DropdownEvents } from './Dropdown/index.js';
39
+ import { Drawer, DrawerProps, DrawerEvents } from './Drawer/index.js';
40
+ import { ButtonCopy, ButtonCopyProps } from './ButtonCopy/index.js';
41
+ import { Button, ButtonProps, ButtonEvents } from './Button/index.js';
42
+ import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
43
+ import { Avatar, AvatarProps } from './Avatar/index.js';
44
44
 
45
45
  export { Avatar, Backdrop, Button, ButtonCopy, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, LineChart, Modal, ModalForm, Pagination, PieChart, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
46
- export type { InputMultiplierEvents, InputMultiplierProps, TableProps, TagEvents, TagProps, };
46
+ export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, IconButtonProps, IconButtonEvents, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LineChartProps, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PieChartProps, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
@@ -1,4 +1,6 @@
1
1
  import { default as useRender } from './useRender.js';
2
+ import { default as useDomHelpers } from './useDomHelpers.js';
3
+ import { default as useClipboard } from './useClipboard.js';
2
4
  import { default as useBreakpoints } from './useBreakpoints.js';
3
5
 
4
- export { useBreakpoints, useRender };
6
+ export { useBreakpoints, useClipboard, useDomHelpers, useRender };
@@ -0,0 +1,3 @@
1
+ export default function useClipboard(): {
2
+ copy: (text: string) => Promise<void>;
3
+ };
@@ -0,0 +1,7 @@
1
+ import { ComponentInternalInstance } from 'vue';
2
+
3
+ export default function useDomHelpers(): {
4
+ isPopoverActivator: (instance?: ComponentInternalInstance | undefined) => boolean;
5
+ onPopoverActivatorClick: (event: MouseEvent, el: any) => void;
6
+ wasClickOutsideOfContainer: (event: MouseEvent, container: HTMLElement) => boolean;
7
+ };
@@ -1,5 +1,5 @@
1
- import { default as Form } from '../components/Form/Form.vue';
2
1
  import { FormStates } from '../enums/form.js';
2
+ import { default as Form } from '../components/Form/Form.vue';
3
3
 
4
4
  export default class CrudService {
5
5
  id: string;
@@ -1,11 +1,11 @@
1
1
  var r = /* @__PURE__ */ ((e) => (e.EXTRA_SMALL = "xs", e.SMALL = "sm", e.DEFAULT = "", e.LARGE = "lg", e.EXTRA_LARGE = "xl", e))(r || {}), l = /* @__PURE__ */ ((e) => (e.SQUARE = "square", e.ROUNDED = "rounded", e.CIRCLE = "circle", e))(l || {}), a = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SECONDARY = "secondary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.TRANSPARENT = "transparent", e))(a || {}), t = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.HOVER = "hover", e))(t || {}), i = /* @__PURE__ */ ((e) => (e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e))(i || {}), u = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.SUBMIT = "submit", e.LINK = "link", e.ROUTER_LINK = "router-link", e.FILE = "file", e))(u || {}), s = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(s || {}), C = /* @__PURE__ */ ((e) => (e.Account = "account", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.ColorFill = "color-fill", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DotsGrid = "dots-grid", e.DotsVertical = "dots-vertical", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Group = "group", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.OpenInNew = "open-in-new", e.Pencil = "pencil", e.People = "people", e.PiggyBankOutline = "piggy-bank-outline", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Save = "save", e.Search = "search", e.Spotlight = "spotlight", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.TagOutline = "tag-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.Upload = "upload", e.UserCircle = "user-circle", e.ZipBox = "zip-box", e))(C || {});
2
2
  export {
3
3
  u as B,
4
- r as E,
4
+ i as E,
5
5
  s as G,
6
6
  C as I,
7
- l as a,
8
- a as b,
9
- i as c,
7
+ a,
8
+ r as b,
9
+ l as c,
10
10
  t as d
11
11
  };
@@ -0,0 +1,11 @@
1
+ const i = async (a) => {
2
+ navigator.clipboard && await navigator.clipboard.writeText(a);
3
+ };
4
+ function o() {
5
+ return {
6
+ copy: i
7
+ };
8
+ }
9
+ export {
10
+ o as u
11
+ };
@@ -0,0 +1,23 @@
1
+ const e = "popoverClick", n = (t, o) => {
2
+ let r = t.target;
3
+ if (!r)
4
+ return !1;
5
+ do {
6
+ if (r === o)
7
+ return t.stopPropagation(), !1;
8
+ r = r?.parentNode;
9
+ } while (r);
10
+ return !0;
11
+ }, i = (t) => !t?.parent || !t?.parent?.emitsOptions ? !1 : e in t.parent.emitsOptions, p = (t, o) => {
12
+ i(o) && o.parent.emit(e, t), t.stopPropagation();
13
+ };
14
+ function a() {
15
+ return {
16
+ isPopoverActivator: i,
17
+ onPopoverActivatorClick: p,
18
+ wasClickOutsideOfContainer: n
19
+ };
20
+ }
21
+ export {
22
+ a as u
23
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caipira/tamandua",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "private": false,
5
5
  "description": "UI library for the Caipira ecosystem",
6
6
  "license": "GPL-3.0-only",
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "files": [
54
54
  "dist/*.js",
55
+ "dist/*.css",
55
56
  "dist/types",
56
- "dist/index.css",
57
57
  "volar.d.ts",
58
58
  "README.md"
59
59
  ],
@@ -1,51 +0,0 @@
1
- import { defineComponent as m, getCurrentInstance as f, computed as _, resolveComponent as h, openBlock as n, createElementBlock as r, normalizeClass as v, unref as t, createBlock as y, toDisplayString as A, createCommentVNode as E } from "vue";
2
- import { E as o, a as s } from "./ui-BLR-4Xlv.js";
3
- import { u as a } from "./ui-MicIL_Lw.js";
4
- const S = ["role"], z = ["src"], C = { key: 2 }, R = /* @__PURE__ */ m({
5
- name: "TAvatar",
6
- __name: "Avatar",
7
- props: {
8
- icon: {},
9
- text: { default: "" },
10
- role: { default: "" },
11
- size: { default: o.DEFAULT },
12
- image: { default: "" },
13
- shape: { default: s.CIRCLE },
14
- disableStyle: { type: Boolean, default: !1 }
15
- },
16
- setup(c) {
17
- const e = c, i = f(), p = _(() => e.role !== "" ? e.role : i && a.isPopoverActivator(i) ? "button" : ""), u = (l) => {
18
- i && a.isPopoverActivator(i) && a.onPopoverActivatorClick(l, i);
19
- };
20
- return (l, L) => {
21
- const d = h("t-icon");
22
- return n(), r("div", {
23
- role: p.value,
24
- class: v([{
25
- "h-5 w-5": !e.disableStyle && e.size === t(o).EXTRA_SMALL,
26
- "h-7 w-7": !e.disableStyle && e.size === t(o).SMALL,
27
- "h-10 w-10": !e.disableStyle && e.size === t(o).DEFAULT,
28
- "h-20 w-20": !e.disableStyle && e.size === t(o).LARGE,
29
- "h-40 w-40": !e.disableStyle && e.size === t(o).EXTRA_LARGE,
30
- "rounded-full": e.shape === t(s).CIRCLE,
31
- rounded: e.shape === t(s).SQUARE
32
- }, "overflow-hidden inline-flex items-center justify-center bg-caipira-primary-inverted"]),
33
- onClick: u
34
- }, [
35
- e.image ? (n(), r("img", {
36
- key: 0,
37
- class: "w-full h-full object-cover",
38
- src: e.image
39
- }, null, 8, z)) : e.icon ? (n(), y(d, {
40
- key: 1,
41
- class: "color-caipira-primary",
42
- icon: e.icon,
43
- size: e.size
44
- }, null, 8, ["icon", "size"])) : e.text ? (n(), r("span", C, A(e.text), 1)) : E("", !0)
45
- ], 10, S);
46
- };
47
- }
48
- });
49
- export {
50
- R as _
51
- };