@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
@@ -2,3 +2,4 @@ import { default as InputAvatarPlugin } from './plugin.js';
2
2
  import { default as InputAvatar } from './InputAvatar.vue';
3
3
 
4
4
  export { InputAvatar, InputAvatarPlugin };
5
+ export type { InputAvatarProps, InputAvatarEvents } from './types.js';
@@ -0,0 +1,6 @@
1
+ export type InputAvatarProps = {
2
+ modelValue?: File | string;
3
+ };
4
+ export type InputAvatarEvents = {
5
+ (e: "update:model-value", val: File): void;
6
+ };
@@ -1,52 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- key?: string | undefined;
3
- disabled?: boolean | undefined;
4
- modelValue?: boolean | undefined;
5
- isIndeterminate?: boolean | undefined;
6
- initializeValue?: boolean | undefined;
7
- }>, {
8
- key: string;
9
- disabled: boolean;
10
- isIndeterminate: boolean;
11
- initializeValue: boolean;
12
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- input: (args_0: boolean) => void;
14
- "update:model-value": (args_0: boolean) => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
- key?: string | undefined;
17
- disabled?: boolean | undefined;
18
- modelValue?: boolean | undefined;
19
- isIndeterminate?: boolean | undefined;
20
- initializeValue?: boolean | undefined;
21
- }>, {
22
- key: string;
23
- disabled: boolean;
24
- isIndeterminate: boolean;
25
- initializeValue: boolean;
26
- }>>> & {
27
- onInput?: ((args_0: boolean) => any) | undefined;
28
- "onUpdate:model-value"?: ((args_0: boolean) => any) | undefined;
29
- }, {
30
- key: string;
31
- disabled: boolean;
32
- isIndeterminate: boolean;
33
- initializeValue: boolean;
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;
34
3
  }, {}>;
35
4
  export default _default;
36
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
- type __VLS_TypePropsToRuntimeProps<T> = {
38
- [K in keyof T]-?: {} extends Pick<T, K> ? {
39
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
- } : {
41
- type: import('vue').PropType<T[K]>;
42
- required: true;
43
- };
44
- };
45
- type __VLS_WithDefaults<P, D> = {
46
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
47
- default: D[K];
48
- }> : P[K];
49
- };
50
- type __VLS_Prettify<T> = {
51
- [K in keyof T]: T[K];
52
- } & {};
@@ -2,3 +2,4 @@ import { default as InputCheckboxPlugin } from './plugin.js';
2
2
  import { default as InputCheckbox } from './InputCheckbox.vue';
3
3
 
4
4
  export { InputCheckbox, InputCheckboxPlugin };
5
+ export type { InputCheckboxProps, InputCheckboxEvents } from './types.js';
@@ -0,0 +1,11 @@
1
+ export type InputCheckboxProps = {
2
+ key?: string;
3
+ disabled?: boolean;
4
+ modelValue?: boolean;
5
+ isIndeterminate?: boolean;
6
+ initializeValue?: boolean;
7
+ };
8
+ export type InputCheckboxEvents = {
9
+ "update:model-value": [boolean];
10
+ input: [boolean];
11
+ };
@@ -1,40 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- disabled?: boolean | undefined;
3
- modelValue?: string | undefined;
4
- disableStyle?: boolean | undefined;
5
- }>, {
6
- disabled: boolean;
7
- disableStyle: boolean;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- "update:modelValue": (val: string) => void;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
- disabled?: boolean | undefined;
12
- modelValue?: string | undefined;
13
- disableStyle?: boolean | undefined;
14
- }>, {
15
- disabled: boolean;
16
- disableStyle: boolean;
17
- }>>> & {
18
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
19
- }, {
20
- disableStyle: boolean;
21
- disabled: boolean;
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;
22
3
  }, {}>;
23
4
  export default _default;
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToRuntimeProps<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: import('vue').PropType<T[K]>;
30
- required: true;
31
- };
32
- };
33
- type __VLS_WithDefaults<P, D> = {
34
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
- default: D[K];
36
- }> : P[K];
37
- };
38
- type __VLS_Prettify<T> = {
39
- [K in keyof T]: T[K];
40
- } & {};
@@ -2,3 +2,4 @@ import { default as InputColorPlugin } from './plugin.js';
2
2
  import { default as InputColor } from './InputColor.vue';
3
3
 
4
4
  export { InputColor, InputColorPlugin };
5
+ export type { InputColorProps, InputColorEvents } from './types.js';
@@ -0,0 +1,8 @@
1
+ export type InputColorProps = {
2
+ disabled?: boolean;
3
+ modelValue?: string;
4
+ disableStyle?: boolean;
5
+ };
6
+ export type InputColorEvents = {
7
+ (e: "update:model-value", val: string): void;
8
+ };
@@ -1,23 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- value?: string | Date | undefined;
3
- modelValue?: string | Date | undefined;
4
- initialValue?: Date | undefined;
5
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:model-value": (val: Date) => void;
7
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
- value?: string | Date | undefined;
9
- modelValue?: string | Date | undefined;
10
- initialValue?: Date | undefined;
11
- }>>> & {
12
- "onUpdate:model-value"?: ((val: Date) => any) | undefined;
13
- }, {}, {}>;
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
+ }, {}>;
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
- };
@@ -2,3 +2,4 @@ import { default as InputDatePlugin } from './plugin.js';
2
2
  import { default as InputDate } from './InputDate.vue';
3
3
 
4
4
  export { InputDate, InputDatePlugin };
5
+ export type { InputDateProps, InputDateEvents } from './types.js';
@@ -0,0 +1,15 @@
1
+ export type InputDateProps = {
2
+ value?: Date | string;
3
+ modelValue?: Date | string;
4
+ initialValue?: Date;
5
+ };
6
+ export type InputDateEvents = {
7
+ (e: "update:model-value", val: Date): void;
8
+ };
9
+ export type Day = {
10
+ key: string;
11
+ day: number;
12
+ isToday: boolean;
13
+ overflow: number;
14
+ selected: boolean;
15
+ };
@@ -1,15 +1,6 @@
1
+ import { InputPasswordProps } from './types.ts';
1
2
  import { InputPasswordModel } from '../../types/form.js';
2
3
 
3
- export type InputPasswordProps = {
4
- autocomplete?: string;
5
- canCopy?: boolean;
6
- encryptor?: (value: string) => Promise<string>;
7
- keyup?: any;
8
- modelValue?: InputPasswordModel;
9
- showRefresh?: boolean;
10
- showStrength?: boolean;
11
- simpleMode?: boolean;
12
- };
13
4
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPasswordProps>, {
14
5
  autocomplete: string;
15
6
  canCopy: boolean;
@@ -23,7 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
23
14
  focus: () => void;
24
15
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
16
  generate: (val: InputPasswordModel) => void;
26
- "update:modelValue": (val: InputPasswordModel) => void;
17
+ "update:model-value": (val: InputPasswordModel) => void;
27
18
  enter: () => void;
28
19
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPasswordProps>, {
29
20
  autocomplete: string;
@@ -35,7 +26,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
35
26
  showStrength: boolean;
36
27
  simpleMode: boolean;
37
28
  }>>> & {
38
- "onUpdate:modelValue"?: ((val: InputPasswordModel) => any) | undefined;
29
+ "onUpdate:model-value"?: ((val: InputPasswordModel) => any) | undefined;
39
30
  onEnter?: (() => any) | undefined;
40
31
  onGenerate?: ((val: InputPasswordModel) => any) | undefined;
41
32
  }, {
@@ -2,3 +2,4 @@ import { default as InputPasswordPlugin } from './plugin.js';
2
2
  import { default as InputPassword } from './InputPassword.vue';
3
3
 
4
4
  export { InputPassword, InputPasswordPlugin };
5
+ export type { InputPasswordProps, InputPasswordEvents } from './types.js';
@@ -0,0 +1,17 @@
1
+ import { InputPasswordModel } from '../../types/form.js';
2
+
3
+ export type InputPasswordProps = {
4
+ autocomplete?: string;
5
+ canCopy?: boolean;
6
+ encryptor?: (value: string) => Promise<string>;
7
+ keyup?: any;
8
+ modelValue?: InputPasswordModel;
9
+ showRefresh?: boolean;
10
+ showStrength?: boolean;
11
+ simpleMode?: boolean;
12
+ };
13
+ export type InputPasswordEvents = {
14
+ (e: "generate", val: InputPasswordModel): void;
15
+ (e: "update:model-value", val: InputPasswordModel): void;
16
+ (e: "enter"): void;
17
+ };
@@ -1,24 +1,27 @@
1
- type PhoneNumber = {
2
- iso2: string;
3
- dialCode: string;
4
- number: string;
5
- };
6
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- resource: any;
8
- modelValue?: PhoneNumber | undefined;
9
- }>, {
1
+ import { InputPhoneProps } from './types.js';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPhoneProps>, {
10
4
  modelValue: () => any;
11
5
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:modelValue": (val: PhoneNumber) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
- resource: any;
15
- modelValue?: PhoneNumber | undefined;
16
- }>, {
6
+ "update:model-value": (val: {
7
+ iso2: string;
8
+ dialCode: string;
9
+ number: string;
10
+ }) => void;
11
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputPhoneProps>, {
17
12
  modelValue: () => any;
18
13
  }>>> & {
19
- "onUpdate:modelValue"?: ((val: PhoneNumber) => any) | undefined;
14
+ "onUpdate:model-value"?: ((val: {
15
+ iso2: string;
16
+ dialCode: string;
17
+ number: string;
18
+ }) => any) | undefined;
20
19
  }, {
21
- modelValue: PhoneNumber;
20
+ modelValue: {
21
+ iso2: string;
22
+ dialCode: string;
23
+ number: string;
24
+ };
22
25
  }, {}>;
23
26
  export default _default;
24
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -2,3 +2,4 @@ import { default as InputPhonePlugin } from './plugin.js';
2
2
  import { default as InputPhone } from './InputPhone.vue';
3
3
 
4
4
  export { InputPhone, InputPhonePlugin };
5
+ export type { InputPhoneProps, InputPhoneEvents } from './types.js';
@@ -0,0 +1,13 @@
1
+ type PhoneNumber = {
2
+ iso2: string;
3
+ dialCode: string;
4
+ number: string;
5
+ };
6
+ export type InputPhoneProps = {
7
+ resource: any;
8
+ modelValue?: PhoneNumber;
9
+ };
10
+ export type InputPhoneEvents = {
11
+ (e: "update:model-value", val: PhoneNumber): void;
12
+ };
13
+ export {};
@@ -1,39 +1,4 @@
1
- import { InputPriceModel } from '../../types/form.js';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- modelValue?: InputPriceModel | undefined;
5
- wrapperClass?: string | undefined;
6
- resource?: any;
7
- }>, {
8
- modelValue: () => any;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:modelValue": (val: InputPriceModel) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
- modelValue?: InputPriceModel | undefined;
13
- wrapperClass?: string | undefined;
14
- resource?: any;
15
- }>, {
16
- modelValue: () => any;
17
- }>>> & {
18
- "onUpdate:modelValue"?: ((val: InputPriceModel) => any) | undefined;
19
- }, {
20
- modelValue: InputPriceModel;
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;
21
3
  }, {}>;
22
4
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
@@ -2,3 +2,4 @@ import { default as InputPricePlugin } from './plugin.js';
2
2
  import { default as InputPrice } from './InputPrice.vue';
3
3
 
4
4
  export { InputPrice, InputPricePlugin };
5
+ export type { InputPriceProps, InputPriceEvents } from './types.js';
@@ -0,0 +1,10 @@
1
+ import { InputPriceModel } from '../../types/form.js';
2
+
3
+ export type InputPriceProps = {
4
+ resource?: any;
5
+ modelValue?: InputPriceModel;
6
+ wrapperClass?: string;
7
+ };
8
+ export type InputPriceEvents = {
9
+ (e: "update:model-value", val: InputPriceModel): void;
10
+ };
@@ -1,17 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- value?: any;
3
- label?: string | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- value?: any;
6
- label?: string | undefined;
7
- }>>>, {}, {}>;
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
+ }, {}>;
8
4
  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
- };
@@ -1,42 +1,9 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- disabled?: boolean | undefined;
3
- modelValue?: any;
4
- initialValue?: any;
5
- }>, {
6
- disabled: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
- "update:modelValue": (val: string) => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
- disabled?: boolean | undefined;
11
- modelValue?: any;
12
- initialValue?: any;
13
- }>, {
14
- disabled: boolean;
15
- }>>> & {
16
- "onUpdate:modelValue"?: ((val: string) => any) | undefined;
17
- }, {
18
- disabled: boolean;
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;
19
3
  }, {}>, {
20
4
  default?(_: {}): any;
21
5
  }>;
22
6
  export default _default;
23
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
- [K in keyof T]-?: {} extends Pick<T, K> ? {
26
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
- } : {
28
- type: import('vue').PropType<T[K]>;
29
- required: true;
30
- };
31
- };
32
- type __VLS_WithDefaults<P, D> = {
33
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
34
- default: D[K];
35
- }> : P[K];
36
- };
37
- type __VLS_Prettify<T> = {
38
- [K in keyof T]: T[K];
39
- } & {};
40
7
  type __VLS_WithTemplateSlots<T, S> = T & {
41
8
  new (): {
42
9
  $slots: S;
@@ -2,3 +2,4 @@ import { default as InputRadioPlugin } from './plugin.js';
2
2
  import { default as InputRadio } from './InputRadio.vue';
3
3
 
4
4
  export { InputRadio, InputRadioPlugin };
5
+ export type { InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, } from './types.js';
@@ -0,0 +1,12 @@
1
+ export type InputRadioProps = {
2
+ value?: any;
3
+ label?: string;
4
+ };
5
+ export type InputRadioGroupProps = {
6
+ disabled?: boolean;
7
+ modelValue?: any;
8
+ initialValue?: any;
9
+ };
10
+ export type InputRadioGroupEvents = {
11
+ (e: "update:model-value", val: string): void;
12
+ };
@@ -1,114 +1,10 @@
1
- import { SelectValue, SelectOption } from '../../types/form.js';
2
- import { APISearchFilters } from '../../types/api.js';
3
- import { Pagination } from '../../types/ui.js';
4
- import { ElementSize, ElementPosition } from '../../enums/ui.js';
5
-
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
- size?: ElementSize | undefined;
8
- options?: SelectOption[] | undefined;
9
- /** Mapper to convert search results to SelectOption */
10
- mapper?: ((i: any) => SelectOption) | undefined;
11
- /** Filter function */
12
- filter?: ((input: string, option: SelectOption) => boolean) | undefined;
13
- tooltip?: string | undefined;
14
- disabled?: boolean | undefined;
15
- resource?: ((filters?: APISearchFilters | undefined) => Promise<{
16
- items: unknown[];
17
- pagination: Pagination;
18
- }>) | undefined;
19
- multiple?: boolean | undefined;
20
- identifier?: string | undefined;
21
- modelValue?: SelectValue | undefined;
22
- placeholder?: string | undefined;
23
- initialValue?: any;
24
- disableStyle?: boolean | undefined;
25
- /** Indicates whether the user can search the options */
26
- isSearchable?: boolean | undefined;
27
- dropdownPlacement?: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined;
28
- }>, {
29
- size: ElementSize;
30
- options: () => never[];
31
- mapper: (i: any) => SelectOption;
32
- filter: (input: string, option: SelectOption) => boolean;
33
- tooltip: string;
34
- multiple: boolean;
35
- identifier: string;
36
- placeholder: string;
37
- disableStyle: boolean;
38
- isSearchable: boolean;
39
- dropdownPlacement: ElementPosition;
40
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
- "update:modelValue": (val: any) => void;
42
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
43
- size?: ElementSize | undefined;
44
- options?: SelectOption[] | undefined;
45
- /** Mapper to convert search results to SelectOption */
46
- mapper?: ((i: any) => SelectOption) | undefined;
47
- /** Filter function */
48
- filter?: ((input: string, option: SelectOption) => boolean) | undefined;
49
- tooltip?: string | undefined;
50
- disabled?: boolean | undefined;
51
- resource?: ((filters?: APISearchFilters | undefined) => Promise<{
52
- items: unknown[];
53
- pagination: Pagination;
54
- }>) | undefined;
55
- multiple?: boolean | undefined;
56
- identifier?: string | undefined;
57
- modelValue?: SelectValue | undefined;
58
- placeholder?: string | undefined;
59
- initialValue?: any;
60
- disableStyle?: boolean | undefined;
61
- /** Indicates whether the user can search the options */
62
- isSearchable?: boolean | undefined;
63
- dropdownPlacement?: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined;
64
- }>, {
65
- size: ElementSize;
66
- options: () => never[];
67
- mapper: (i: any) => SelectOption;
68
- filter: (input: string, option: SelectOption) => boolean;
69
- tooltip: string;
70
- multiple: boolean;
71
- identifier: string;
72
- placeholder: string;
73
- disableStyle: boolean;
74
- isSearchable: boolean;
75
- dropdownPlacement: ElementPosition;
76
- }>>> & {
77
- "onUpdate:modelValue"?: ((val: any) => any) | undefined;
78
- }, {
79
- filter: (input: string, option: SelectOption) => boolean;
80
- size: ElementSize;
81
- disableStyle: boolean;
82
- multiple: boolean;
83
- placeholder: string;
84
- options: SelectOption[];
85
- mapper: (i: any) => SelectOption;
86
- tooltip: string;
87
- identifier: string;
88
- isSearchable: boolean;
89
- dropdownPlacement: `${ElementPosition}`;
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;
90
3
  }, {}>, {
91
4
  selection?(_: any): any;
92
5
  default?(_: any): any;
93
6
  }>;
94
7
  export default _default;
95
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
96
- type __VLS_TypePropsToRuntimeProps<T> = {
97
- [K in keyof T]-?: {} extends Pick<T, K> ? {
98
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
99
- } : {
100
- type: import('vue').PropType<T[K]>;
101
- required: true;
102
- };
103
- };
104
- type __VLS_WithDefaults<P, D> = {
105
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
106
- default: D[K];
107
- }> : P[K];
108
- };
109
- type __VLS_Prettify<T> = {
110
- [K in keyof T]: T[K];
111
- } & {};
112
8
  type __VLS_WithTemplateSlots<T, S> = T & {
113
9
  new (): {
114
10
  $slots: S;
@@ -2,3 +2,4 @@ import { default as InputSelectPlugin } from './plugin.js';
2
2
  import { default as InputSelect } from './InputSelect.vue';
3
3
 
4
4
  export { InputSelect, InputSelectPlugin };
5
+ export type { InputSelectProps, InputSelectEvents } from './types.js';
@@ -0,0 +1,31 @@
1
+ import { ElementSize, ElementPosition } from '../../enums/ui.js';
2
+ import { SelectValue, SelectOption } from '../../types/form.js';
3
+ import { APISearchFilters } from '../../types/api.js';
4
+ import { Pagination } from '../../types/ui.js';
5
+
6
+ export type InputSelectProps = {
7
+ size?: ElementSize;
8
+ options?: SelectOption[];
9
+ /** Mapper to convert search results to SelectOption */
10
+ mapper?: (i: any) => SelectOption;
11
+ /** Filter function */
12
+ filter?: (input: string, option: SelectOption) => boolean;
13
+ tooltip?: string;
14
+ disabled?: boolean;
15
+ resource?: (filters?: APISearchFilters | undefined) => Promise<{
16
+ items: unknown[];
17
+ pagination: Pagination;
18
+ }>;
19
+ multiple?: boolean;
20
+ identifier?: string;
21
+ modelValue?: SelectValue;
22
+ placeholder?: string;
23
+ initialValue?: any;
24
+ disableStyle?: boolean;
25
+ /** Indicates whether the user can search the options */
26
+ isSearchable?: boolean;
27
+ dropdownPlacement?: `${ElementPosition}`;
28
+ };
29
+ export type InputSelectEvents = {
30
+ (e: "update:model-value", val: any): void;
31
+ };