eco-vue-js 0.7.3 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (368) hide show
  1. package/dist/assets/icons/default/IconAdd.svg.js +12 -15
  2. package/dist/assets/icons/default/IconArrow.svg.js +10 -12
  3. package/dist/assets/icons/default/IconAvatar.svg.js +3 -5
  4. package/dist/assets/icons/default/IconBack.svg.js +25 -29
  5. package/dist/assets/icons/default/IconCancel.svg.js +7 -9
  6. package/dist/assets/icons/default/IconCheck.svg.js +6 -8
  7. package/dist/assets/icons/default/IconDanger.svg.js +16 -20
  8. package/dist/assets/icons/default/IconDojo.svg.js +14 -17
  9. package/dist/assets/icons/default/IconEdit.svg.js +15 -18
  10. package/dist/assets/icons/default/IconFalsePositive.svg.js +13 -16
  11. package/dist/assets/icons/default/IconFeedback.svg.js +24 -29
  12. package/dist/assets/icons/default/IconFilter.svg.js +8 -10
  13. package/dist/assets/icons/default/IconInProgress.svg.js +13 -15
  14. package/dist/assets/icons/default/IconJira.svg.js +3 -5
  15. package/dist/assets/icons/default/IconLogout.svg.js +3 -5
  16. package/dist/assets/icons/default/IconMore.svg.js +20 -24
  17. package/dist/assets/icons/default/IconNotification.svg.js +8 -10
  18. package/dist/assets/icons/default/IconProfile.svg.js +18 -22
  19. package/dist/assets/icons/default/IconSearch.svg.js +6 -8
  20. package/dist/assets/icons/default/IconSettings.svg.js +16 -19
  21. package/dist/assets/icons/default/IconSort.svg.js +8 -10
  22. package/dist/assets/icons/default/IconStar.svg.js +7 -9
  23. package/dist/assets/icons/default/IconSuccess.svg.js +12 -15
  24. package/dist/assets/icons/default/IconTask.svg.js +20 -24
  25. package/dist/assets/icons/default/IconTime.svg.js +23 -27
  26. package/dist/assets/icons/default/IconWarn.svg.js +28 -33
  27. package/dist/assets/icons/sax/IconAdd.svg.js +9 -11
  28. package/dist/assets/icons/sax/IconAddCircle.svg.js +9 -11
  29. package/dist/assets/icons/sax/IconAddSquare.svg.js +9 -11
  30. package/dist/assets/icons/sax/IconAlarm.svg.js +9 -11
  31. package/dist/assets/icons/sax/IconArchiveBook.svg.js +18 -21
  32. package/dist/assets/icons/sax/IconCandle.svg.js +10 -12
  33. package/dist/assets/icons/sax/IconCelery.svg.js +26 -31
  34. package/dist/assets/icons/sax/IconChart.svg.js +9 -11
  35. package/dist/assets/icons/sax/IconCheckCircle.svg.js +16 -19
  36. package/dist/assets/icons/sax/IconClose.svg.js +9 -11
  37. package/dist/assets/icons/sax/IconCloseCircle.svg.js +9 -11
  38. package/dist/assets/icons/sax/IconCopy.svg.js +16 -19
  39. package/dist/assets/icons/sax/IconCopySuccess.svg.js +23 -27
  40. package/dist/assets/icons/sax/IconCopyright.svg.js +16 -19
  41. package/dist/assets/icons/sax/IconDedupe.svg.js +24 -28
  42. package/dist/assets/icons/sax/IconDojo.svg.js +14 -17
  43. package/dist/assets/icons/sax/IconEdit.svg.js +7 -9
  44. package/dist/assets/icons/sax/IconEditCircle.svg.js +24 -28
  45. package/dist/assets/icons/sax/IconElement.svg.js +9 -11
  46. package/dist/assets/icons/sax/IconExport.svg.js +9 -11
  47. package/dist/assets/icons/sax/IconEye.svg.js +16 -19
  48. package/dist/assets/icons/sax/IconEyeSlash.svg.js +23 -27
  49. package/dist/assets/icons/sax/IconFilter.svg.js +10 -12
  50. package/dist/assets/icons/sax/IconFilterRemove.svg.js +26 -30
  51. package/dist/assets/icons/sax/IconFinding.svg.js +9 -11
  52. package/dist/assets/icons/sax/IconFolder.svg.js +8 -10
  53. package/dist/assets/icons/sax/IconFolderCross.svg.js +16 -19
  54. package/dist/assets/icons/sax/IconJira.svg.js +9 -11
  55. package/dist/assets/icons/sax/IconKey.svg.js +17 -20
  56. package/dist/assets/icons/sax/IconKeySquare.svg.js +24 -28
  57. package/dist/assets/icons/sax/IconLayer.svg.js +23 -27
  58. package/dist/assets/icons/sax/IconLink.svg.js +10 -13
  59. package/dist/assets/icons/sax/IconLinkBold.svg.js +6 -8
  60. package/dist/assets/icons/sax/IconLinkOutline.svg.js +10 -13
  61. package/dist/assets/icons/sax/IconLogout.svg.js +30 -35
  62. package/dist/assets/icons/sax/IconMenu.svg.js +8 -10
  63. package/dist/assets/icons/sax/IconMinusCircle.svg.js +9 -11
  64. package/dist/assets/icons/sax/IconNegate.svg.js +16 -19
  65. package/dist/assets/icons/sax/IconNegativeInfo.svg.js +16 -19
  66. package/dist/assets/icons/sax/IconNote.svg.js +16 -19
  67. package/dist/assets/icons/sax/IconOutlineCheckCircle.svg.js +16 -19
  68. package/dist/assets/icons/sax/IconOutlineCloseCircle.svg.js +9 -11
  69. package/dist/assets/icons/sax/IconOutlineEdit.svg.js +25 -29
  70. package/dist/assets/icons/sax/IconOutlineFolderAdd.svg.js +16 -19
  71. package/dist/assets/icons/sax/IconOutlineRefresh.svg.js +9 -11
  72. package/dist/assets/icons/sax/IconOutlineStar.svg.js +9 -11
  73. package/dist/assets/icons/sax/IconPaste.svg.js +25 -29
  74. package/dist/assets/icons/sax/IconProfile.svg.js +16 -19
  75. package/dist/assets/icons/sax/IconRadar.svg.js +9 -11
  76. package/dist/assets/icons/sax/IconRefresh.svg.js +9 -11
  77. package/dist/assets/icons/sax/IconSearch.svg.js +9 -11
  78. package/dist/assets/icons/sax/IconSettings.svg.js +18 -21
  79. package/dist/assets/icons/sax/IconSlash.svg.js +10 -12
  80. package/dist/assets/icons/sax/IconStar.svg.js +9 -11
  81. package/dist/assets/icons/sax/IconSummary.svg.js +16 -19
  82. package/dist/assets/icons/sax/IconTag.svg.js +15 -18
  83. package/dist/assets/icons/sax/IconTask.svg.js +9 -11
  84. package/dist/assets/icons/sax/IconTime.svg.js +9 -11
  85. package/dist/assets/icons/sax/IconTrash.svg.js +9 -11
  86. package/dist/assets/icons/sax/IconUser.svg.js +9 -11
  87. package/dist/assets/icons/sax/IconVersionControl.svg.js +9 -11
  88. package/dist/assets/icons/sax/IconWeight.svg.js +16 -19
  89. package/dist/components/ActionsBar/WActionsBar.vue.d.ts +9 -129
  90. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  91. package/dist/components/ActionsBar/WActionsBar.vue.js +7 -8
  92. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +25 -23
  93. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
  94. package/dist/components/BottomSheet/WBottomSheet.vue.js +1 -2
  95. package/dist/components/Button/WButton.vue.d.ts +14 -41
  96. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  97. package/dist/components/Button/WButtonAction.vue.d.ts +14 -39
  98. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  99. package/dist/components/Button/WButtonCopy.vue.d.ts +3 -12
  100. package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
  101. package/dist/components/Button/WButtonDropdown.vue.d.ts +11 -32
  102. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  103. package/dist/components/Button/WButtonGroup.vue.d.ts +13 -13
  104. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  105. package/dist/components/Button/WButtonGroup.vue.js +12 -4
  106. package/dist/components/Button/WButtonMore.vue.d.ts +10 -14
  107. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  108. package/dist/components/Button/WButtonMoreItem.vue.d.ts +11 -34
  109. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
  110. package/dist/components/Button/WButtonSelection.vue.d.ts +22 -40
  111. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  112. package/dist/components/Button/WButtonSelection.vue.js +5 -6
  113. package/dist/components/Button/WButtonSelectionAction.vue.d.ts +6 -15
  114. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
  115. package/dist/components/Button/models/semanticTypeStylesMap.d.ts +0 -1
  116. package/dist/components/Button/types.d.ts +17 -7
  117. package/dist/components/Button/types.d.ts.map +1 -1
  118. package/dist/components/Checkbox/WCheckbox.vue.d.ts +16 -18
  119. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  120. package/dist/components/Chip/WChip.vue.d.ts +10 -15
  121. package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
  122. package/dist/components/ClickOutside/WClickOutside.vue.d.ts +13 -6
  123. package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
  124. package/dist/components/Counter/WCounter.vue.d.ts +4 -25
  125. package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
  126. package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -16
  127. package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
  128. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -15
  129. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
  130. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +7 -17
  131. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
  132. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +7 -17
  133. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
  134. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +7 -16
  135. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
  136. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +6 -15
  137. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
  138. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +7 -17
  139. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
  140. package/dist/components/Dropdown/WDropdown.vue.d.ts +18 -21
  141. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  142. package/dist/components/Dropdown/types.d.ts +0 -1
  143. package/dist/components/Dropdown/utils/DropdownStyle.d.ts +0 -1
  144. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +88 -24
  145. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  146. package/dist/components/DropdownMenu/types.d.ts +0 -1
  147. package/dist/components/Expansion/WExpansion.vue.d.ts +11 -29
  148. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
  149. package/dist/components/Expansion/WExpansionItem.vue.d.ts +13 -17
  150. package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
  151. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +25 -28
  152. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  153. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +19 -18
  154. package/dist/components/FilePicker/WFilePicker.vue.d.ts +25 -26
  155. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
  156. package/dist/components/FilePicker/WFilePicker.vue.js +10 -12
  157. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +14 -18
  158. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
  159. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +3 -12
  160. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
  161. package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts +13 -17
  162. package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
  163. package/dist/components/FilterWrapper/WFilterWrapper.vue.js +5 -7
  164. package/dist/components/Form/WForm.vue.d.ts +15 -19
  165. package/dist/components/Form/WForm.vue.d.ts.map +1 -1
  166. package/dist/components/Form/WFormValidator.vue.d.ts +20 -22
  167. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  168. package/dist/components/Form/WFormValidator.vue.js +3 -4
  169. package/dist/components/Form/models/injection.d.ts +0 -1
  170. package/dist/components/Form/use/useFormErrorMessageMap.d.ts +1 -2
  171. package/dist/components/Form/use/useFormHasChangesMap.d.ts +0 -1
  172. package/dist/components/Form/use/useFormInitModelMap.d.ts +0 -1
  173. package/dist/components/Form/use/useFormInvalidateMap.d.ts +0 -1
  174. package/dist/components/Form/use/useFormTitleMap.d.ts +0 -1
  175. package/dist/components/Form/use/useFormValidateMap.d.ts +0 -1
  176. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts +24 -0
  177. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.d.ts.map +1 -0
  178. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue.js +101 -0
  179. package/dist/components/FormAsync/WFormAsyncButtonGroup.vue2.js +5 -0
  180. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts +25 -0
  181. package/dist/components/FormAsync/WFormAsyncInput.vue.d.ts.map +1 -0
  182. package/dist/components/FormAsync/WFormAsyncInput.vue.js +131 -0
  183. package/dist/components/FormAsync/WFormAsyncInput.vue2.js +5 -0
  184. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts +26 -0
  185. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.d.ts.map +1 -0
  186. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue.js +139 -0
  187. package/dist/components/FormAsync/WFormAsyncSelectSingle.vue2.js +5 -0
  188. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts +21 -0
  189. package/dist/components/FormAsync/WFormAsyncToggle.vue.d.ts.map +1 -0
  190. package/dist/components/FormAsync/WFormAsyncToggle.vue.js +89 -0
  191. package/dist/components/FormAsync/WFormAsyncToggle.vue2.js +5 -0
  192. package/dist/components/FormAsync/types.d.ts +84 -0
  193. package/dist/components/FormAsync/types.d.ts.map +1 -0
  194. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +21 -36
  195. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  196. package/dist/components/ImageViewer/WImageViewer.vue.d.ts +3 -12
  197. package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
  198. package/dist/components/ImageViewer/WImageViewer.vue.js +3 -4
  199. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +6 -15
  200. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
  201. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +16 -16
  202. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  203. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +13 -13
  204. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
  205. package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts +8 -3
  206. package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
  207. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +5 -5
  208. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
  209. package/dist/components/InfiniteList/components/InfiniteListButton.vue.js +2 -2
  210. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +8 -30
  211. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  212. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +6 -5
  213. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +15 -19
  214. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
  215. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +8 -8
  216. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
  217. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +8 -8
  218. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
  219. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +15 -19
  220. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
  221. package/dist/components/InfiniteList/models/injection.d.ts +0 -1
  222. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +5 -5
  223. package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +1 -1
  224. package/dist/components/InfiniteList/use/useSelected.d.ts +0 -1
  225. package/dist/components/InfoCard/WInfoCard.vue.d.ts +10 -14
  226. package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
  227. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +10 -15
  228. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
  229. package/dist/components/Input/WInput.vue.d.ts +6 -37
  230. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  231. package/dist/components/Input/WInputAsync.vue.d.ts +9 -10
  232. package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
  233. package/dist/components/Input/WInputDate.vue.d.ts +21 -41
  234. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  235. package/dist/components/Input/WInputOptions.vue.d.ts +9 -10
  236. package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
  237. package/dist/components/Input/WInputSuggest.vue.d.ts +6 -29
  238. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  239. package/dist/components/Input/components/InputActions.vue.d.ts +17 -21
  240. package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
  241. package/dist/components/Input/components/InputActionsButton.vue.d.ts +13 -17
  242. package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -1
  243. package/dist/components/Input/types.d.ts +0 -1
  244. package/dist/components/Link/WLink.vue.d.ts +11 -36
  245. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  246. package/dist/components/Link/WLinkArrow.vue.d.ts +8 -13
  247. package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
  248. package/dist/components/List/WList.vue.d.ts +9 -10
  249. package/dist/components/List/WList.vue.d.ts.map +1 -1
  250. package/dist/components/List/WListCard.vue.d.ts +18 -22
  251. package/dist/components/List/WListCard.vue.d.ts.map +1 -1
  252. package/dist/components/List/WListCardField.vue.d.ts +12 -16
  253. package/dist/components/List/WListCardField.vue.d.ts.map +1 -1
  254. package/dist/components/List/WListCardField.vue.js +1 -1
  255. package/dist/components/List/WListHeader.vue.d.ts +13 -17
  256. package/dist/components/List/WListHeader.vue.d.ts.map +1 -1
  257. package/dist/components/List/WListHeaderItem.vue.d.ts +5 -6
  258. package/dist/components/List/WListHeaderItem.vue.d.ts.map +1 -1
  259. package/dist/components/List/types.d.ts +0 -1
  260. package/dist/components/MenuItem/WMenuItem.vue.d.ts +10 -31
  261. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  262. package/dist/components/Modal/WModal.vue.d.ts +1 -1
  263. package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
  264. package/dist/components/Modal/WModal.vue.js +3 -4
  265. package/dist/components/Modal/WModalStepper.vue.d.ts +80 -24
  266. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  267. package/dist/components/Modal/WModalStepper.vue.js +8 -8
  268. package/dist/components/Modal/WModalWrapper.vue.d.ts +13 -17
  269. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
  270. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +4 -4
  271. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
  272. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +6 -16
  273. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
  274. package/dist/components/Modal/types.d.ts +0 -1
  275. package/dist/components/Nav/WNavBar.vue.d.ts +11 -6
  276. package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
  277. package/dist/components/Nav/WNavBar.vue.js +6 -8
  278. package/dist/components/Nav/WNavItem.vue.d.ts +12 -17
  279. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  280. package/dist/components/Nav/WNavItem.vue.js +16 -18
  281. package/dist/components/Nav/WNavItemExpand.vue.d.ts +11 -16
  282. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  283. package/dist/components/Nav/WNavItemTransition.vue.d.ts +8 -3
  284. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
  285. package/dist/components/Notify/WNotify.vue.d.ts +1 -1
  286. package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
  287. package/dist/components/Notify/components/NotifyCard.vue.d.ts +6 -32
  288. package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
  289. package/dist/components/Notify/models/types.d.ts +0 -1
  290. package/dist/components/Select/WSelect.vue.d.ts +21 -23
  291. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  292. package/dist/components/Select/WSelect.vue.js +48 -38
  293. package/dist/components/Select/WSelectAsync.vue.d.ts +14 -16
  294. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  295. package/dist/components/Select/WSelectAsync.vue.js +20 -15
  296. package/dist/components/Select/WSelectAsyncList.vue.d.ts +14 -14
  297. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  298. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +10 -14
  299. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  300. package/dist/components/Select/WSelectAsyncSingle.vue.js +4 -7
  301. package/dist/components/Select/WSelectSingle.vue.d.ts +14 -15
  302. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  303. package/dist/components/Select/WSelectSingle.vue.js +3 -2
  304. package/dist/components/Select/components/SelectAsyncList.vue.d.ts +15 -15
  305. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  306. package/dist/components/Select/components/SelectAsyncList.vue.js +5 -6
  307. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +13 -12
  308. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
  309. package/dist/components/Select/components/SelectAsyncPrefix.vue.js +2 -1
  310. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +13 -12
  311. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  312. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +8 -3
  313. package/dist/components/Select/components/SelectOption.vue.d.ts +6 -32
  314. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
  315. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +9 -10
  316. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
  317. package/dist/components/Select/components/SelectOptionPrefix.vue.js +3 -1
  318. package/dist/components/Select/types.d.ts +22 -21
  319. package/dist/components/Select/types.d.ts.map +1 -1
  320. package/dist/components/Skeleton/WSkeleton.vue.d.ts +1 -1
  321. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
  322. package/dist/components/Spinner/WSpinner.vue.d.ts +1 -1
  323. package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
  324. package/dist/components/Spinner/WSpinner.vue.js +14 -16
  325. package/dist/components/Tabs/WTabs.vue.d.ts +10 -20
  326. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  327. package/dist/components/Tabs/WTabs.vue.js +3 -3
  328. package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -12
  329. package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
  330. package/dist/components/Tabs/components/TabItem.vue.d.ts +16 -18
  331. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  332. package/dist/components/Tabs/models/injection.d.ts +0 -1
  333. package/dist/components/Toggle/WToggle.vue.d.ts +9 -19
  334. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  335. package/dist/components/Toggle/WToggle.vue.js +3 -1
  336. package/dist/components/Toggle/types.d.ts +13 -0
  337. package/dist/components/Toggle/types.d.ts.map +1 -0
  338. package/dist/components/Tooltip/WTooltip.vue.d.ts +3 -12
  339. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  340. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -1
  341. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  342. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +17 -20
  343. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
  344. package/dist/imports/componentsPlugin.d.ts +5 -2
  345. package/dist/imports/componentsPlugin.d.ts.map +1 -1
  346. package/dist/main.d.ts +3 -0
  347. package/dist/main.d.ts.map +1 -1
  348. package/dist/main.js +8 -1
  349. package/dist/types/global.d.ts +98 -11
  350. package/dist/utils/Modal.d.ts +0 -1
  351. package/dist/utils/Notify.d.ts +0 -1
  352. package/dist/utils/Tooltip.d.ts +0 -1
  353. package/dist/utils/api.d.ts +15 -0
  354. package/dist/utils/api.d.ts.map +1 -0
  355. package/dist/utils/api.js +28 -0
  356. package/dist/utils/useCopy.d.ts +1 -2
  357. package/dist/utils/useDefaultQuery.d.ts +2 -2
  358. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  359. package/dist/utils/useQueryUpdater.d.ts +11 -0
  360. package/dist/utils/useQueryUpdater.d.ts.map +1 -0
  361. package/dist/utils/useQueryUpdater.js +56 -0
  362. package/dist/utils/utils.d.ts +2 -0
  363. package/dist/utils/utils.d.ts.map +1 -1
  364. package/dist/utils/utils.js +13 -1
  365. package/dist/utils/validate.d.ts +2 -0
  366. package/dist/utils/validate.d.ts.map +1 -0
  367. package/dist/utils/validate.js +3 -0
  368. package/package.json +43 -16
@@ -1,19 +1,19 @@
1
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
1
+ declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
+ readonly onSelect?: ((value: Model) => any) | undefined;
4
+ readonly "onUpdate:count"?: ((value: number) => any) | undefined;
5
+ readonly "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
6
+ readonly onUnselect?: ((value: Model) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
3
8
  onSelect?: ((value: Model) => any) | undefined;
4
9
  "onUpdate:count"?: ((value: number) => any) | undefined;
5
- onUnselect?: ((value: Model) => any) | undefined;
6
10
  "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
7
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
8
- onSelect?: ((value: Model) => any) | undefined;
9
- "onUpdate:count"?: ((value: number) => any) | undefined;
10
11
  onUnselect?: ((value: Model) => any) | undefined;
11
- "onUpdate:model-value"?: ((value: Model[]) => any) | undefined;
12
- }, never>, "onSelect" | "onUpdate:count" | "onUnselect" | "onUpdate:model-value"> & {
12
+ }>, never>, "onSelect" | "onUpdate:count" | "onUnselect" | "onUpdate:model-value"> & {
13
13
  title?: string;
14
14
  emptyStub?: string;
15
15
  modelValue: Model[];
16
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
16
+ useQueryFn: UseQueryPaginated<Data, QueryParams>;
17
17
  isInvalidPage: (error: unknown) => boolean;
18
18
  queryParams: QueryParams;
19
19
  skeleton?: boolean;
@@ -22,11 +22,11 @@ declare const _default: <Model extends number | string, Data extends DefaultData
22
22
  unselectOnly?: boolean;
23
23
  hideOptionIcon?: boolean;
24
24
  valueGetter?: (data: Data) => Model;
25
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
25
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
26
26
  }> & import('vue').PublicProps;
27
27
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
28
28
  attrs: any;
29
- slots: ReturnType<() => Readonly<{
29
+ slots: Readonly<{
30
30
  default?: (props: {
31
31
  option: Data | null;
32
32
  selected: boolean;
@@ -40,20 +40,20 @@ declare const _default: <Model extends number | string, Data extends DefaultData
40
40
  skeleton: boolean;
41
41
  model: boolean;
42
42
  }) => void;
43
- }>;
43
+ };
44
44
  emit: {
45
45
  (e: "select", value: Model): void;
46
46
  (e: "unselect", value: Model): void;
47
47
  (e: "update:model-value", value: Model[]): void;
48
48
  (e: "update:count", value: number): void;
49
- } & {};
49
+ };
50
50
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
51
51
  [key: string]: any;
52
52
  }> & {
53
53
  __ctx?: Awaited<typeof __VLS_setup>;
54
54
  };
55
55
  export default _default;
56
- type __VLS_Prettify<T> = {
56
+ type __VLS_PrettifyLocal<T> = {
57
57
  [K in keyof T]: T[K];
58
58
  } & {};
59
59
  //# sourceMappingURL=WSelectAsyncList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncList.vue"],"names":[],"mappings":"yBA2GiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAgOxD,cAAc,CAAC;;;;;;;;;;;gBA5Nb,MAAM;oBACF,MAAM;oBACN,KAAK,EAAE;oBACP,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;uBAC3C,CAAC,KAAK,EAAE,OAAO,KAAK,O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AAS,KAAK,GAAG,IAAI;YAC/B,oBAAoB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC3C,cAAc,SAAS,MAAM,GAAG,IAAI;;;;;YA8ME,OAAO,CAAC,OAAO,WAAW,CAAC;;AAlPvE,wBAkP4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,20 +1,17 @@
1
1
  import { SelectAsyncSingleProps, SelectOptionComponent } from './types';
2
-
3
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
2
+ declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
5
+ readonly "onCreate:option"?: ((value: string) => any) | undefined;
6
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
5
7
  "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
6
- "onUpdate:search"?: ((value: string) => any) | undefined;
7
8
  "onCreate:option"?: ((value: string) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
10
- "onUpdate:search"?: ((value: string) => any) | undefined;
11
- "onCreate:option"?: ((value: string) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, ApiError, QueryParams, OptionComponent, AllowClear>> & import('vue').PublicProps;
9
+ }>, never>, "onUpdate:modelValue" | "onCreate:option"> & SelectAsyncSingleProps<Model, Data, QueryParams, OptionComponent, AllowClear>> & import('vue').PublicProps;
13
10
  expose(exposed: import('vue').ShallowUnwrapRef<{
14
11
  blur: () => void;
15
12
  }>): void;
16
13
  attrs: any;
17
- slots: ReturnType<() => {
14
+ slots: {
18
15
  title?(_: {}): any;
19
16
  subtitle?(_: {}): any;
20
17
  option?(_: {
@@ -23,19 +20,18 @@ declare const _default: <Model extends number | string, Data extends DefaultData
23
20
  model: boolean;
24
21
  }): any;
25
22
  right?(_: {}): any;
26
- }>;
23
+ };
27
24
  emit: {
28
25
  (e: "update:modelValue", value: AllowClear extends true ? Model | null : Model): void;
29
- (e: "update:search", value: string): void;
30
26
  (e: "create:option", value: string): void;
31
- } & {};
27
+ };
32
28
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
33
29
  [key: string]: any;
34
30
  }> & {
35
31
  __ctx?: Awaited<typeof __VLS_setup>;
36
32
  };
37
33
  export default _default;
38
- type __VLS_Prettify<T> = {
34
+ type __VLS_PrettifyLocal<T> = {
39
35
  [K in keyof T]: T[K];
40
36
  } & {};
41
37
  //# sourceMappingURL=WSelectAsyncSingle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBAClK,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA4NxD,cAAc,CAAC;;;;;;;;uKAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YArNH,mBAAmB,0DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;UAmNA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAtOvE,wBAsO4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WSelectAsyncSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectAsyncSingle.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAC,sBAAsB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGzD,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,EAAE,UAAU,SAAS,OAAO,uBACxJ,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA2MxD,mBAAmB,CAAC;;;;;;0IAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;uBApCe,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;;;YAjKzB,mBAAmB,0DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;YAsMC,OAAO,CAAC,OAAO,WAAW,CAAC;;AArNvE,wBAqN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -10,14 +10,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  searchModel: { type: Boolean },
11
11
  previewData: {},
12
12
  createdData: {},
13
- useQueryFn: {},
13
+ useQueryFnOptions: {},
14
14
  useQueryFnPrefix: {},
15
15
  isInvalidPage: { type: Function },
16
16
  queryParams: {},
17
- valueGetter: { type: Function },
18
17
  valueQueryKey: {},
19
18
  queryOptions: {},
20
- search: {},
19
+ valueGetter: { type: Function },
21
20
  emptyStub: {},
22
21
  hidePrefix: { type: Boolean },
23
22
  allowCreate: { type: Boolean },
@@ -61,7 +60,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
60
  optionComponent: {},
62
61
  optionComponentProps: {}
63
62
  },
64
- emits: ["update:modelValue", "update:search", "create:option"],
63
+ emits: ["update:modelValue", "create:option"],
65
64
  setup(__props, { expose: __expose, emit: __emit }) {
66
65
  const props = __props;
67
66
  const emit = __emit;
@@ -75,7 +74,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
75
74
  };
76
75
  const blur = () => {
77
76
  selectComponent.value?.blur();
78
- emit("update:search", "");
79
77
  };
80
78
  watch(toRef(props, "modelValue"), blur);
81
79
  __expose({
@@ -96,8 +94,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
96
94
  class: _ctx.$attrs.class,
97
95
  onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
98
96
  onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
99
- "onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
100
- "onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
97
+ "onCreate:option": _cache[2] || (_cache[2] = ($event) => createOption($event))
101
98
  }), createSlots({
102
99
  option: withCtx(({ option, selected, model }) => [
103
100
  renderSlot(_ctx.$slots, "option", {
@@ -1,41 +1,40 @@
1
1
  import { SelectSingleProps, SelectOptionComponent } from './types';
2
-
3
- declare const _default: <Option extends string | number, OptionComponent extends SelectOptionComponent<Option>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
5
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
6
- "onUpdate:search"?: ((value: string) => any) | undefined;
2
+ declare const _default: <Model extends number | string, Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
5
+ readonly "onCreate:option"?: ((value: string) => any) | undefined;
6
+ readonly "onUpdate:search"?: ((value: string) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
8
+ "onUpdate:modelValue"?: ((value: AllowClear extends true ? Model | null : Model) => any) | undefined;
7
9
  "onCreate:option"?: ((value: string) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Option | null : Option) => any) | undefined;
10
10
  "onUpdate:search"?: ((value: string) => any) | undefined;
11
- "onCreate:option"?: ((value: string) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, OptionComponent, AllowClear>> & import('vue').PublicProps;
11
+ }>, never>, "onUpdate:modelValue" | "onCreate:option" | "onUpdate:search"> & SelectSingleProps<Model, Data, OptionComponent, AllowClear>> & import('vue').PublicProps;
13
12
  expose(exposed: import('vue').ShallowUnwrapRef<{
14
13
  blur: () => void;
15
14
  }>): void;
16
15
  attrs: any;
17
- slots: ReturnType<() => {
16
+ slots: {
18
17
  title?(_: {}): any;
19
18
  subtitle?(_: {}): any;
20
19
  option?(_: {
21
- option: string | Option;
20
+ option: string | Data;
22
21
  selected: boolean;
23
22
  model: boolean;
24
23
  }): any;
25
24
  right?(_: {}): any;
26
- }>;
25
+ };
27
26
  emit: {
28
- (e: "update:modelValue", value: AllowClear extends true ? Option | null : Option): void;
27
+ (e: "update:modelValue", value: AllowClear extends true ? Model | null : Model): void;
29
28
  (e: "update:search", value: string): void;
30
29
  (e: "create:option", value: string): void;
31
- } & {};
30
+ };
32
31
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
33
32
  [key: string]: any;
34
33
  }> & {
35
34
  __ctx?: Awaited<typeof __VLS_setup>;
36
35
  };
37
36
  export default _default;
38
- type __VLS_Prettify<T> = {
37
+ type __VLS_PrettifyLocal<T> = {
39
38
  [K in keyof T]: T[K];
40
39
  } & {};
41
40
  //# sourceMappingURL=WSelectSingle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,SAAS,CAAA;yBAGpD,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,eAAe,SAAS,qBAAqB,CAAC,MAAM,CAAC,EAAE,UAAU,SAAS,OAAO,uBACpH,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAuOxD,cAAc,CAAC;;;;;;;;sIAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YA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CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -8,8 +8,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  modelValue: {},
9
9
  allowClear: { type: Boolean },
10
10
  searchModel: { type: Boolean },
11
- search: {},
12
- options: {},
11
+ useQueryFnOptions: {},
12
+ valueGetter: { type: Function },
13
+ searchFn: { type: Function },
13
14
  emptyStub: {},
14
15
  hidePrefix: { type: Boolean },
15
16
  allowCreate: { type: Boolean },
@@ -1,19 +1,19 @@
1
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
1
+ declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
2
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
3
+ readonly onSelect?: ((value: Model) => any) | undefined;
4
+ readonly "onUpdate:count"?: ((value: number) => any) | undefined;
5
+ readonly "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
6
+ readonly onUnselect?: ((value: Model) => any) | undefined;
7
+ readonly "onCreate:option"?: (() => any) | undefined;
8
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
3
9
  onSelect?: ((value: Model) => any) | undefined;
4
10
  "onUpdate:count"?: ((value: number) => any) | undefined;
5
11
  "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
6
12
  onUnselect?: ((value: Model) => any) | undefined;
7
13
  "onCreate:option"?: (() => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- onSelect?: ((value: Model) => any) | undefined;
10
- "onUpdate:count"?: ((value: number) => any) | undefined;
11
- "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
12
- onUnselect?: ((value: Model) => any) | undefined;
13
- "onCreate:option"?: (() => any) | undefined;
14
- }, never>, "onSelect" | "onUpdate:count" | "onUpdate:modelValue" | "onUnselect" | "onCreate:option"> & {
14
+ }>, never>, "onSelect" | "onUpdate:count" | "onUpdate:modelValue" | "onUnselect" | "onCreate:option"> & {
15
15
  modelValue: Model[];
16
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
16
+ useQueryFn: UseQueryPaginated<Data, QueryParams>;
17
17
  queryParams: QueryParams;
18
18
  isInvalidPage: (error: unknown) => boolean;
19
19
  scrollingElement?: Element | null;
@@ -28,7 +28,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
28
28
  allowCreate?: boolean;
29
29
  hideOptionIcon?: boolean;
30
30
  valueGetter: (data: Data) => Model;
31
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
31
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
32
32
  }> & import('vue').PublicProps;
33
33
  expose(exposed: import('vue').ShallowUnwrapRef<{
34
34
  cursorUp: () => void;
@@ -36,7 +36,7 @@ declare const _default: <Model extends number | string, Data extends DefaultData
36
36
  selectCursor: () => void;
37
37
  }>): void;
38
38
  attrs: any;
39
- slots: ReturnType<() => Readonly<{
39
+ slots: Readonly<{
40
40
  default?: (props: {
41
41
  option: Data | null;
42
42
  selected: boolean;
@@ -48,21 +48,21 @@ declare const _default: <Model extends number | string, Data extends DefaultData
48
48
  selected: boolean;
49
49
  skeleton: boolean;
50
50
  }) => void;
51
- }>;
51
+ };
52
52
  emit: {
53
53
  (e: "select", value: Model): void;
54
54
  (e: "unselect", value: Model): void;
55
55
  (e: "update:count", value: number): void;
56
56
  (e: "update:modelValue", value: Model[]): void;
57
57
  (e: "create:option"): void;
58
- } & {};
58
+ };
59
59
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
60
60
  [key: string]: any;
61
61
  }> & {
62
62
  __ctx?: Awaited<typeof __VLS_setup>;
63
63
  };
64
64
  export default _default;
65
- type __VLS_Prettify<T> = {
65
+ type __VLS_PrettifyLocal<T> = {
66
66
  [K in keyof T]: T[K];
67
67
  } & {};
68
68
  //# sourceMappingURL=SelectAsyncList.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectAsyncList.vue"],"names":[],"mappings":"yBAwNiB,KAAK,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,SAAS,WAAW,EAAE,QAAQ,EAAE,WAAW,eACjF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBACvF,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WA4gBxD,cAAc,CAAC;;;;;;;;;;;;;oBAxgBX,KAAK,EAAE;oBACP,iBAAiB,CAAC,IAAI,EAAE,QAAQ,EAAE,WAAW,CAAC;qBAC7C,WAAW;uBACT,CAAC,KAAK,EAAE,OAAO,KAAK,OAAO;2BACvB,OAAO,GAAG,IAAI;kBACvB,OAAO;mBACN,OAAO;qBACL,OAAO;wBACJ,CAA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GAAG,IAAI;YACpC,mBAAmB,SAAS,KAAK,EAAE,GAAG,IAAI;YAC1C,eAAe,GAAG,IAAI;;;;;YAuegB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAvgBvE,wBAugB4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,9 +1,8 @@
1
- import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock, createCommentVNode, createElementVNode } from 'vue';
1
+ import { defineComponent, ref, openBlock, createElementBlock, createVNode, withCtx, normalizeClass, renderSlot, createBlock, createElementVNode, createCommentVNode } from 'vue';
2
2
  import _sfc_main$2 from './SelectOption.vue.js';
3
3
  import _sfc_main$1 from '../../InfiniteList/WInfiniteList.vue.js';
4
4
  import { debounce } from '../../../utils/utils.js';
5
5
 
6
- const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", { class: "w-select-field pr-2 sm-not:px-3" }, " Create: ", -1);
7
6
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
7
  __name: "SelectAsyncList",
9
8
  props: {
@@ -139,7 +138,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
139
138
  "onUpdate:isCursor": updateCursors,
140
139
  "onUpdate:previous": _cache[0] || (_cache[0] = ($event) => cursorPrevious.value = $event),
141
140
  "onUpdate:next": _cache[1] || (_cache[1] = ($event) => cursorNext.value = $event),
142
- onUnmounted: ($event) => resetting ? cursor.value = void 0 : cursor.value = next ? _ctx.valueGetter(next) : void 0,
141
+ onUnmounted: ($event) => cursor.value = resetting ? void 0 : next ? _ctx.valueGetter(next) : void 0,
143
142
  "onUpdate:first": ($event) => firstItem.value = _ctx.valueGetter(item),
144
143
  "onUpdate:last": ($event) => lastItem.value = _ctx.valueGetter(item)
145
144
  }, {
@@ -178,9 +177,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
178
177
  "onUpdate:next": _cache[8] || (_cache[8] = ($event) => cursorNext.value = $event),
179
178
  onUnmounted: _cache[9] || (_cache[9] = ($event) => cursor.value = void 0)
180
179
  }, {
181
- prefix: withCtx(() => [
182
- _hoisted_1
183
- ]),
180
+ prefix: withCtx(() => _cache[10] || (_cache[10] = [
181
+ createElementVNode("span", { class: "w-select-field pr-2 sm-not:px-3" }, " Create: ", -1)
182
+ ])),
184
183
  default: withCtx(() => [
185
184
  renderSlot(_ctx.$slots, "default", {
186
185
  option: null,
@@ -1,40 +1,41 @@
1
1
  import { SelectAsyncPrefixProps, SelectOptionComponent } from '../types';
2
-
3
- declare const _default: <Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
2
+ declare const _default: <Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
5
+ readonly onUnselect?: ((value: Model) => any) | undefined;
6
+ readonly "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
5
8
  "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
6
9
  onUnselect?: ((value: Model) => any) | undefined;
7
10
  "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- "onUpdate:modelValue"?: ((value: Model[]) => any) | undefined;
10
- onUnselect?: ((value: Model) => any) | undefined;
11
- "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
12
- }, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & SelectAsyncPrefixProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
11
+ }>, never>, "onUpdate:modelValue" | "onUnselect" | "onUpdate:fetching"> & SelectAsyncPrefixProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
13
12
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
14
13
  attrs: any;
15
- slots: ReturnType<() => Readonly<{
14
+ slots: Readonly<{
16
15
  default?: (props: {
17
16
  option: Data;
18
17
  skeleton: boolean;
18
+ index: number;
19
19
  }) => void;
20
20
  }> & {
21
21
  default?: (props: {
22
22
  option: Data;
23
23
  skeleton: boolean;
24
+ index: number;
24
25
  }) => void;
25
- }>;
26
+ };
26
27
  emit: {
27
28
  (e: "unselect", value: Model): void;
28
29
  (e: "update:fetching", value: boolean): void;
29
30
  (e: "update:modelValue", value: Model[]): void;
30
- } & {};
31
+ };
31
32
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
32
33
  [key: string]: any;
33
34
  }> & {
34
35
  __ctx?: Awaited<typeof __VLS_setup>;
35
36
  };
36
37
  export default _default;
37
- type __VLS_Prettify<T> = {
38
+ type __VLS_PrettifyLocal<T> = {
38
39
  [K in keyof T]: T[K];
39
40
  } & {};
40
41
  //# sourceMappingURL=SelectAsyncPrefix.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncPrefix.vue.d.ts","sourceRoot":"","sources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AC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -53,9 +53,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
53
  onUnselect: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("unselect", $event)),
54
54
  "onUpdate:fetching": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:fetching", $event))
55
55
  }, {
56
- default: withCtx(({ option, skeleton }) => [
56
+ default: withCtx(({ option, skeleton, index }) => [
57
57
  renderSlot(_ctx.$slots, "default", {
58
58
  option,
59
+ index,
59
60
  skeleton
60
61
  })
61
62
  ]),
@@ -1,40 +1,41 @@
1
1
  import { SelectAsyncPrefixPageProps, SelectOptionComponent } from '../types';
2
-
3
- declare const _default: <Model extends string | number, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_Prettify<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
- props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
2
+ declare const _default: <Model extends string | number, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
+ readonly onUnselect?: ((value: Model) => any) | undefined;
5
+ readonly "onUpdate:pages-count"?: ((value: number) => any) | undefined;
6
+ readonly "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
7
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
5
8
  onUnselect?: ((value: Model) => any) | undefined;
6
9
  "onUpdate:pages-count"?: ((value: number) => any) | undefined;
7
10
  "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
8
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
9
- onUnselect?: ((value: Model) => any) | undefined;
10
- "onUpdate:pages-count"?: ((value: number) => any) | undefined;
11
- "onUpdate:fetching"?: ((value: boolean) => any) | undefined;
12
- }, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & SelectAsyncPrefixPageProps<Model, Data, ApiError, QueryParams, OptionComponent>> & import('vue').PublicProps;
11
+ }>, never>, "onUnselect" | "onUpdate:pages-count" | "onUpdate:fetching"> & SelectAsyncPrefixPageProps<Model, Data, QueryParams, OptionComponent>> & import('vue').PublicProps;
13
12
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
14
13
  attrs: any;
15
- slots: ReturnType<() => Readonly<{
14
+ slots: Readonly<{
16
15
  default?: (props: {
17
16
  option: Data;
18
17
  skeleton: boolean;
18
+ index: number;
19
19
  }) => void;
20
20
  }> & {
21
21
  default?: (props: {
22
22
  option: Data;
23
23
  skeleton: boolean;
24
+ index: number;
24
25
  }) => void;
25
- }>;
26
+ };
26
27
  emit: {
27
28
  (e: "unselect", value: Model): void;
28
29
  (e: "update:pages-count", value: number): void;
29
30
  (e: "update:fetching", value: boolean): void;
30
- } & {};
31
+ };
31
32
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
32
33
  [key: string]: any;
33
34
  }> & {
34
35
  __ctx?: Awaited<typeof __VLS_setup>;
35
36
  };
36
37
  export default _default;
37
- type __VLS_Prettify<T> = {
38
+ type __VLS_PrettifyLocal<T> = {
38
39
  [K in keyof T]: T[K];
39
40
  } & {};
40
41
  //# sourceMappingURL=SelectAsyncPrefixPage.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectAsyncP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,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -44,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
44
44
  emit("update:fetching", false);
45
45
  });
46
46
  return (_ctx, _cache) => {
47
- return openBlock(true), createElementBlock(Fragment, null, renderList([..._ctx.createdData ?? [], ..._ctx.previewData ?? unref(data)?.results ?? []], (option) => {
47
+ return openBlock(true), createElementBlock(Fragment, null, renderList([..._ctx.createdData ?? [], ..._ctx.previewData ?? unref(data)?.results ?? []], (option, index) => {
48
48
  return openBlock(), createElementBlock("div", {
49
49
  key: _ctx.valueGetter(option),
50
50
  class: normalizeClass(["relative flex overflow-hidden items-center text-description", {
@@ -54,10 +54,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  }, [
55
55
  renderSlot(_ctx.$slots, "default", {
56
56
  option,
57
+ index,
57
58
  skeleton: false
58
59
  }, () => [
59
- _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ key: 0 }, _ctx.optionComponentProps, {
60
+ _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({
61
+ key: 0,
62
+ ref_for: true
63
+ }, _ctx.optionComponentProps, {
60
64
  option,
65
+ index,
61
66
  selected: true,
62
67
  model: true,
63
68
  skeleton: false
@@ -79,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
79
84
  ]),
80
85
  key: "0"
81
86
  } : void 0
82
- ]), 1040, ["option"])) : createCommentVNode("", true)
87
+ ]), 1040, ["option", "index"])) : createCommentVNode("", true)
83
88
  ]),
84
89
  !_ctx.optionComponent && !_ctx.disableClear && !_ctx.disabled ? (openBlock(), createElementBlock("button", {
85
90
  key: 0,