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,31 +1,5 @@
1
- declare const _default: <Model extends number | string>(__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<{
3
- onSelect?: (() => any) | undefined;
4
- onUnmounted?: (() => any) | undefined;
5
- onUnselect?: (() => any) | undefined;
6
- "onUpdate:is-cursor"?: ((value: {
7
- previous: Model | null | undefined;
8
- next: Model | null | undefined;
9
- }) => any) | undefined;
10
- "onUpdate:cursor"?: (() => any) | undefined;
11
- "onUpdate:previous"?: ((value: Model | null | undefined) => any) | undefined;
12
- "onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
13
- "onUpdate:first"?: (() => any) | undefined;
14
- "onUpdate:last"?: (() => any) | undefined;
15
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
16
- onSelect?: (() => any) | undefined;
17
- onUnmounted?: (() => any) | undefined;
18
- onUnselect?: (() => any) | undefined;
19
- "onUpdate:is-cursor"?: ((value: {
20
- previous: Model | null | undefined;
21
- next: Model | null | undefined;
22
- }) => any) | undefined;
23
- "onUpdate:cursor"?: (() => any) | undefined;
24
- "onUpdate:previous"?: ((value: Model | null | undefined) => any) | undefined;
25
- "onUpdate:next"?: ((value: Model | null | undefined) => any) | undefined;
26
- "onUpdate:first"?: (() => any) | undefined;
27
- "onUpdate:last"?: (() => any) | undefined;
28
- }, never>, "onSelect" | "onUnmounted" | "onUnselect" | "onUpdate:is-cursor" | "onUpdate:cursor" | "onUpdate:previous" | "onUpdate:next" | "onUpdate:first" | "onUpdate:last"> & {
1
+ declare const _default: <Model extends number | string>(__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<any & {
29
3
  isSelected: boolean;
30
4
  isCursor?: boolean;
31
5
  loading?: boolean;
@@ -42,7 +16,7 @@ declare const _default: <Model extends number | string>(__VLS_props: NonNullable
42
16
  scrollIntoView: () => void;
43
17
  }>): void;
44
18
  attrs: any;
45
- slots: ReturnType<() => Readonly<{
19
+ slots: Readonly<{
46
20
  default: (props: {
47
21
  selected: boolean;
48
22
  }) => void;
@@ -52,7 +26,7 @@ declare const _default: <Model extends number | string>(__VLS_props: NonNullable
52
26
  selected: boolean;
53
27
  }) => void;
54
28
  prefix: () => void;
55
- }>;
29
+ };
56
30
  emit: {
57
31
  (e: "select"): void;
58
32
  (e: "unselect"): void;
@@ -66,14 +40,14 @@ declare const _default: <Model extends number | string>(__VLS_props: NonNullable
66
40
  (e: "unmounted"): void;
67
41
  (e: "update:first"): void;
68
42
  (e: "update:last"): void;
69
- } & {};
43
+ };
70
44
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
71
45
  [key: string]: any;
72
46
  }> & {
73
47
  __ctx?: Awaited<typeof __VLS_setup>;
74
48
  };
75
49
  export default _default;
76
- type __VLS_Prettify<T> = {
50
+ type __VLS_PrettifyLocal<T> = {
77
51
  [K in keyof T]: T[K];
78
52
  } & {};
79
53
  //# sourceMappingURL=SelectOption.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOption.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOption.vue"],"names":[],"mappings":"yBA0IiB,KAAK,SAAS,MAAM,GAAG,MAAM,eAChC,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;WA6NxD,cAAc,CAAC;;;;;sBAxMmB,KAAK,GAAG,IAAI,GAAG,SAAS;kBAAQ,KAAK,GAAG,IAAI,GAAG,SAAS;;;;;;;;;;;;sBAAxD,KAAK,GAAG,IAAI,GAAG,SAAS;kBAAQ,KAAK,GAAG,IAAI,GAAG,SAAS;;;;;;;;oBAjBtF,OAAO;mBACR,OAAO;kBACR,OAAO;mBACN,OAAO;iBACT,OAAO;gBACR,OAAO;eACR,OAAO;mBACH,KAAK,GAAG,IAAI;eAChB,KAAK,GAAG,IAAI;qBACN,OAAO;yBACH,OAAO;KA+MwD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WAC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CAAC;WAqOxD,mBAAmB,CAAC;oBAjOhB,OAAO;mBACR,OAAO;kBACR,OAAO;mBACN,OAAO;iBACT,OAAO;gBACR,OAAO;eACR,OAAO;mBACH,KAAK,GAAG,IAAI;eAChB,KAAK,GAAG,IAAI;qBACN,OAAO;yBACH,OAAO;KAuN6D,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;;iBAhJF,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;gBACrC,MAAM,IAAI;;iBADT,CAAC,KAAK,EAAE;YAAC,QAAQ,EAAE,OAAO,CAAA;SAAC,KAAK,IAAI;gBACrC,MAAM,IAAI;;;YArEd,QAAQ,GAAG,IAAI;YACf,UAAU,GAAG,IAAI;YACjB,kBAAkB,SAAS;YAAC,QAAQ,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAC;YAAC,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,SAAS,CAAA;SAAC,GAAG,IAAI;YACtG,eAAe,GAAG,IAAI;YACtB,iBAAiB,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACzD,aAAa,SAAS,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI;YACrD,WAAW,GAAG,IAAI;YAClB,cAAc,GAAG,IAAI;YACrB,aAAa,GAAG,IAAI;;;;;YAiNkB,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/OvE,wBA+O4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,24 +1,23 @@
1
1
  import { SelectPrefixProps, SelectOptionComponent } from '../types';
2
-
3
- declare const _default: <Option extends string | number, OptionComponent extends SelectOptionComponent<Option>>(__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: <Data extends DefaultData, 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?: (() => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
5
6
  onUnselect?: (() => any) | undefined;
6
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
7
- onUnselect?: (() => any) | undefined;
8
- }, never>, "onUnselect"> & SelectPrefixProps<Option, OptionComponent>> & import('vue').PublicProps;
7
+ }>, never>, "onUnselect"> & SelectPrefixProps<Data, OptionComponent>> & import('vue').PublicProps;
9
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
9
  attrs: any;
11
- slots: ReturnType<() => {
10
+ slots: {
12
11
  option?(_: {}): any;
13
- }>;
14
- emit: ((e: "unselect") => void) & {};
12
+ };
13
+ emit: (e: "unselect") => void;
15
14
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
16
15
  [key: string]: any;
17
16
  }> & {
18
17
  __ctx?: Awaited<typeof __VLS_setup>;
19
18
  };
20
19
  export default _default;
21
- type __VLS_Prettify<T> = {
20
+ type __VLS_PrettifyLocal<T> = {
22
21
  [K in keyof T]: T[K];
23
22
  } & {};
24
23
  //# sourceMappingURL=SelectOptionPrefix.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AA+DA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,UAAU,CAAA;yBAGrD,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,eAAe,SAAS,qBAAqB,CAAC,MAAM,CAAC,eACxF,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;WAyKxD,cAAc,CAAC;;;;yEAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;wBArBQ,GAAG;MAqBY;UAClC,KAtKH,UAAU,KAAG,IAAI,MAsK0B;;;;YAGL,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnLvE,wBAmL4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"SelectOptionPrefix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/components/SelectOptionPrefix.vue"],"names":[],"mappings":"AAgEA,OAAO,KAAK,EAAC,iBAAiB,EAAE,qBAAqB,EAAC,MAAM,UAAU,CAAA;yBAGrD,IAAI,SAAS,WAAW,EAAE,eAAe,SAAS,qBAAqB,CAAC,IAAI,CAAC,eAChF,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;WAsJxD,mBAAmB,CAAC;;;;wEAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;wBA3Be,GAAG;;cAtHzB,UAAU,KAAG,IAAI;;;;YAsJqB,OAAO,CAAC,OAAO,WAAW,CAAC;;AAhKvE,wBAgK4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -5,6 +5,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SelectOptionPrefix",
6
6
  props: {
7
7
  option: {},
8
+ index: {},
8
9
  disabled: { type: Boolean },
9
10
  loading: { type: Boolean },
10
11
  disableClear: { type: Boolean },
@@ -23,6 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
24
  renderSlot(_ctx.$slots, "option", {}, () => [
24
25
  _ctx.optionComponent ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.optionComponent), mergeProps({ key: 0 }, _ctx.optionComponentProps, {
25
26
  option: _ctx.option,
27
+ index: _ctx.index,
26
28
  selected: true,
27
29
  model: true
28
30
  }), {
@@ -42,7 +44,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
42
44
  ], 34)) : createCommentVNode("", true)
43
45
  ]),
44
46
  _: 1
45
- }, 16, ["option"])) : createCommentVNode("", true)
47
+ }, 16, ["option", "index"])) : createCommentVNode("", true)
46
48
  ]),
47
49
  !_ctx.optionComponent && !_ctx.disableClear ? (openBlock(), createElementBlock("button", {
48
50
  key: 0,
@@ -1,50 +1,51 @@
1
1
  import { InputSuggestProps } from '../Input/types';
2
2
  import { Component } from 'vue';
3
-
4
3
  export type SelectOptionProps<Option> = {
5
4
  option: Option;
6
5
  selected?: boolean;
7
6
  model?: boolean;
7
+ index?: number;
8
8
  };
9
9
  export type SelectOptionComponent<Option> = Component<SelectOptionProps<Option>>;
10
10
  export interface SelectOptionComponentProps<Option, OptionComponent extends SelectOptionComponent<Option>> {
11
11
  optionComponent?: OptionComponent;
12
12
  optionComponentProps?: OptionComponent extends Component<infer Props> ? Partial<Omit<Props, keyof SelectOptionProps<Option>>> : never;
13
13
  }
14
- export interface SelectProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>> extends Omit<InputSuggestProps<'text'>, 'modelValue' | 'allowClear' | 'hideInput'>, SelectOptionComponentProps<Option, OptionComponent> {
15
- modelValue: Option[];
16
- search: string;
17
- options: Option[];
14
+ export interface SelectProps<Model extends number | string, Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>> extends Omit<InputSuggestProps<'text'>, 'modelValue' | 'allowClear' | 'hideInput'>, SelectOptionComponentProps<Data, OptionComponent> {
15
+ modelValue: Model[];
16
+ useQueryFnOptions: UseQueryEmpty<Data[]>;
17
+ valueGetter: (value: Data) => Model;
18
+ searchFn: (option: Data, search: string) => boolean;
18
19
  emptyStub?: string;
19
20
  disableClear?: boolean;
20
21
  hidePrefix?: boolean;
21
22
  allowCreate?: boolean;
22
23
  hideOptionIcon?: boolean;
23
24
  }
24
- export interface SelectPrefixProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>> extends SelectOptionComponentProps<Option, OptionComponent> {
25
- option: Option;
25
+ export interface SelectPrefixProps<Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
26
+ option: Data;
27
+ index?: number;
26
28
  disabled?: boolean;
27
29
  loading?: boolean;
28
30
  disableClear?: boolean;
29
31
  }
30
- export interface SelectSingleProps<Option extends string | number, OptionComponent extends SelectOptionComponent<Option>, AllowClear extends boolean> extends Omit<SelectProps<Option, OptionComponent>, 'modelValue' | 'disableClear'> {
31
- modelValue: Option | null;
32
+ export interface SelectSingleProps<Model extends number | string, Data extends DefaultData, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectProps<Model, Data, OptionComponent>, 'modelValue' | 'disableClear'> {
33
+ modelValue: Model | null;
32
34
  allowClear?: boolean & AllowClear;
33
35
  searchModel?: boolean;
34
36
  }
35
- export interface SelectAsyncProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends Omit<SelectProps<Model, Component>, 'options' | 'optionComponent' | 'optionComponentProps'>, SelectOptionComponentProps<Data, OptionComponent> {
36
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
37
- useQueryFnPrefix?: UseQueryPaginated<Data, ApiError, QueryParams>;
37
+ export interface SelectAsyncProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends Omit<SelectProps<Model, Data, Component>, 'options' | 'optionComponent' | 'optionComponentProps' | 'searchFn' | 'useQueryFnOptions'>, SelectOptionComponentProps<Data, OptionComponent> {
38
+ useQueryFnOptions: UseQueryPaginated<Data, QueryParams>;
39
+ useQueryFnPrefix?: UseQueryPaginated<Data, QueryParams>;
38
40
  isInvalidPage: (error: unknown) => boolean;
39
41
  queryParams: QueryParams;
40
42
  previewData?: Data[];
41
43
  createdData?: Data[];
42
- valueGetter?: (data: Data) => Model;
43
44
  valueQueryKey?: string;
44
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
45
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
45
46
  }
46
- export interface SelectAsyncPrefixProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
47
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
47
+ export interface SelectAsyncPrefixProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
48
+ useQueryFn: UseQueryPaginated<Data, QueryParams>;
48
49
  modelValue: Model[];
49
50
  disabled?: boolean;
50
51
  loading?: boolean;
@@ -53,10 +54,10 @@ export interface SelectAsyncPrefixProps<Model extends number | string, Data exte
53
54
  createdData?: Data[];
54
55
  valueGetter: (value: Data) => Model;
55
56
  valueQueryKey: string;
56
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
57
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
57
58
  }
58
- export interface SelectAsyncPrefixPageProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
59
- useQueryFn: UseQueryPaginated<Data, ApiError, QueryParams>;
59
+ export interface SelectAsyncPrefixPageProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>> extends SelectOptionComponentProps<Data, OptionComponent> {
60
+ useQueryFn: UseQueryPaginated<Data, QueryParams>;
60
61
  queryParams: QueryParams;
61
62
  disabled?: boolean;
62
63
  loading?: boolean;
@@ -64,9 +65,9 @@ export interface SelectAsyncPrefixPageProps<Model extends number | string, Data
64
65
  previewData?: Data[];
65
66
  createdData?: Data[];
66
67
  valueGetter: (value: Data) => Model;
67
- queryOptions?: Partial<Parameters<UseQueryPaginated<Data, ApiError, QueryParams>>[1]>;
68
+ queryOptions?: Partial<Parameters<UseQueryPaginated<Data, QueryParams>>[1]>;
68
69
  }
69
- export interface SelectAsyncSingleProps<Model extends number | string, Data extends DefaultData, ApiError, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectAsyncProps<Model, Data, ApiError, QueryParams, OptionComponent>, 'modelValue' | 'disableClear' | 'previewData' | 'createdData'> {
70
+ export interface SelectAsyncSingleProps<Model extends number | string, Data extends DefaultData, QueryParams, OptionComponent extends SelectOptionComponent<Data>, AllowClear extends boolean> extends Omit<SelectAsyncProps<Model, Data, QueryParams, OptionComponent>, 'modelValue' | 'disableClear' | 'previewData' | 'createdData'> {
70
71
  modelValue: Model | null;
71
72
  allowClear?: boolean & AllowClear;
72
73
  searchModel?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,0BAA0B,CAAA;AAC/D,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,KAAK,CAAA;AAElC,MAAM,MAAM,iBAAiB,CAAC,MAAM,IAAI;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAA;CAAC,CAAA;AAE7F,MAAM,MAAM,qBAAqB,CAAC,MAAM,IAAI,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAA;AAEhF,MAAM,WAAW,0BAA0B,CAAC,MAAM,EAAE,eAAe,SAAS,qBAAqB,CAAC,MAAM,CAAC;IACvG,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,oBAAoB,CAAC,EAAE,eAAe,SAAS,SAAS,CAAC,MAAM,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAA;CACtI;AAED,MAAM,WAAW,WAAW,CAAC,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,eAAe,SAAS,qBAAqB,CAAC,MAAM,CAAC,CAChH,SAAQ,IAAI,CAAC,iBAAiB,CAAC,MAAM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AU,EAAE,KAAK,GAAG,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,CAAA;IACjC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,IAAI,CAAA;IAClB,WAAW,CAAC,EAAE,IAAI,CAAA;CACnB"}
@@ -1,3 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=WSkeleton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/WSkeleton.vue"],"names":[],"mappings":";AAiDA,wBAKG"}
1
+ {"version":3,"file":"WSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/WSkeleton.vue"],"names":[],"mappings":";AA8DA,wBAKG"}
@@ -1,3 +1,3 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
3
3
  //# sourceMappingURL=WSpinner.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WSpinner.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/WSpinner.vue"],"names":[],"mappings":";AA8DA,wBAKG"}
1
+ {"version":3,"file":"WSpinner.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Spinner/WSpinner.vue"],"names":[],"mappings":";AA2EA,wBAKG"}
@@ -9,24 +9,22 @@ const _hoisted_1 = {
9
9
  height: "20",
10
10
  viewBox: "25 25 50 50"
11
11
  };
12
- const _hoisted_2 = /*#__PURE__*/createElementVNode("circle", {
13
- class: "animate-spinner-dash",
14
- cx: "50",
15
- cy: "50",
16
- r: "20",
17
- fill: "none",
18
- stroke: "currentColor",
19
- "stroke-width": "10%",
20
- "stroke-miterlimit": "8",
21
- "stroke-dasharray": "1, 100",
22
- "stroke-dashoffset": "0"
23
- }, null, -1);
24
- const _hoisted_3 = [
25
- _hoisted_2
26
- ];
27
12
 
28
13
  function _sfc_render(_ctx, _cache) {
29
- return (openBlock(), createElementBlock("svg", _hoisted_1, _hoisted_3))
14
+ return (openBlock(), createElementBlock("svg", _hoisted_1, _cache[0] || (_cache[0] = [
15
+ createElementVNode("circle", {
16
+ class: "animate-spinner-dash",
17
+ cx: "50",
18
+ cy: "50",
19
+ r: "20",
20
+ fill: "none",
21
+ stroke: "currentColor",
22
+ "stroke-width": "10%",
23
+ "stroke-miterlimit": "8",
24
+ "stroke-dasharray": "1, 100",
25
+ "stroke-dashoffset": "0"
26
+ }, null, -1)
27
+ ])))
30
28
  }
31
29
  const WSpinner = /*#__PURE__*/_export_sfc(_sfc_main, [['render',_sfc_render]]);
32
30
 
@@ -1,14 +1,13 @@
1
1
  import { VNode } from 'vue';
2
2
  import { default as WForm } from '../Form/WForm.vue';
3
-
4
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
+ declare const _default: import('vue').DefineComponent<{
5
4
  names?: string[] | Record<number, string>;
6
- namesFrom?: string[] | Record<number, string>;
5
+ namesForm?: string[] | Record<number, string>;
7
6
  icons?: SVGComponent[] | Record<number, SVGComponent>;
8
7
  slots?: VNode[];
9
8
  lessTransitions?: boolean;
10
9
  initTab?: number;
11
- }>, {
10
+ }, {
12
11
  updateIndex: (value: number) => void;
13
12
  next: () => void;
14
13
  previous: () => void;
@@ -17,28 +16,19 @@ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
17
16
  [x: string]: string | string[];
18
17
  }) => ReturnType<ComponentInstance<typeof WForm>["invalidate"]>;
19
18
  initModel: (index: number) => ReturnType<ComponentInstance<typeof WForm>["initModel"]>;
20
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
- "update:current": (value: number) => void;
22
- "update:has-changes": (value: boolean) => void;
23
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
19
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
20
+ "update:has-changes": (value: boolean) => any;
21
+ "update:current": (value: number) => any;
22
+ }, string, import('vue').PublicProps, Readonly<{
24
23
  names?: string[] | Record<number, string>;
25
- namesFrom?: string[] | Record<number, string>;
24
+ namesForm?: string[] | Record<number, string>;
26
25
  icons?: SVGComponent[] | Record<number, SVGComponent>;
27
26
  slots?: VNode[];
28
27
  lessTransitions?: boolean;
29
28
  initTab?: number;
30
- }>>> & {
29
+ }> & Readonly<{
31
30
  "onUpdate:has-changes"?: ((value: boolean) => any) | undefined;
32
31
  "onUpdate:current"?: ((value: number) => any) | undefined;
33
- }, {}, {}>;
32
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
33
  export default _default;
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
34
  //# sour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;;;AAoZlB,wBAWG"}
@@ -7,7 +7,7 @@ import { wTabItemListener, wTabItemUnlistener } from './models/injection.js';
7
7
  const _hoisted_1 = { class: "mb-8" };
8
8
  const _hoisted_2 = {
9
9
  key: 0,
10
- class: "relative flex mb-4 sm-not:-px--inner-margin overflow-x-auto overscroll-x-contain no-scrollbar snap-x snap-always snap-mandatory"
10
+ class: "relative flex mb-4 overflow-x-auto overscroll-x-contain no-scrollbar snap-x snap-always snap-mandatory"
11
11
  };
12
12
  const _hoisted_3 = ["onClick"];
13
13
  const _hoisted_4 = { class: "relative whitespace-nowrap px-4" };
@@ -15,7 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  __name: "WTabs",
16
16
  props: {
17
17
  names: {},
18
- namesFrom: {},
18
+ namesForm: {},
19
19
  icons: {},
20
20
  slots: {},
21
21
  lessTransitions: { type: Boolean },
@@ -187,7 +187,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
187
187
  ref_for: true,
188
188
  ref_key: "form",
189
189
  ref: form,
190
- name: _ctx.namesFrom?.[index] ?? index.toString(),
190
+ name: _ctx.namesForm?.[index] ?? index.toString(),
191
191
  title: _ctx.names?.[index],
192
192
  "onUpdate:isValid": ($event) => updateIsValidMap(index, $event),
193
193
  "onUpdate:hasChanges": ($event) => hasChangesMap[index] = $event
@@ -1,16 +1,7 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: import('vue').DefineComponent<{
2
2
  names: string[];
3
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
4
4
  names: string[];
5
- }>>>, {}, {}>;
5
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToOption<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
16
7
  //# sourceMappingURL=WTabsColumns.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":";WA0CS,MAAM,EAAE;;WAAR,MAAM,EAAE;;AAqEjB,wBAMG;AAOH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AAC5D,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
1
+ {"version":3,"file":"WTabsColumns.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/WTabsColumns.vue"],"names":[],"mappings":";WA0CS,MAAM,EAAE;;WAAR,MAAM,EAAE;;AA2EjB,wBAMG"}
@@ -1,31 +1,29 @@
1
1
  declare function __VLS_template(): {
2
- default?(_: {}): any;
2
+ slots: {
3
+ default?(_: {}): any;
4
+ };
5
+ refs: {
6
+ element: HTMLDivElement;
7
+ };
8
+ attrs: Partial<{}>;
3
9
  };
4
- declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{
5
12
  isActive: boolean;
6
- }>, {
13
+ }, {
7
14
  emitHeight: () => void;
8
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
- "update:height": (value: number) => void;
10
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
15
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ "update:height": (value: number) => any;
17
+ }, string, import('vue').PublicProps, Readonly<{
11
18
  isActive: boolean;
12
- }>>> & {
19
+ }> & Readonly<{
13
20
  "onUpdate:height"?: ((value: number) => any) | undefined;
14
- }, {}, {}>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
23
  export default _default;
17
24
  type __VLS_WithTemplateSlots<T, S> = T & {
18
25
  new (): {
19
26
  $slots: S;
20
27
  };
21
28
  };
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
31
29
  //# sourceMappingURL=TabItem.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/components/TabItem.vue"],"names":[],"mappings":"AA2FA,iBAAS,cAAc;qBAsBM,GAAG;EAgB/B;AACD,QAAA,MAAM,eAAe;cA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;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import { InjectionKey } from 'vue';
2
-
3
2
  export declare const wTabItemListener: InjectionKey<((value: () => void) => void) | undefined>;
4
3
  export declare const wTabItemUnlistener: InjectionKey<((value: () => void) => void) | undefined>;
5
4
  //# sourceMappingURL=injection.d.ts.map
@@ -1,31 +1,21 @@
1
- declare const _default: <Value extends boolean | null = boolean>(__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
+ import { ToggleProps } from './types';
2
+ declare const _default: <Value extends boolean | null = boolean>(__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: Value) => any) | undefined;
5
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<{}> & Readonly<{
3
6
  "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
4
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
5
- "onUpdate:modelValue"?: ((value: Value) => any) | undefined;
6
- }, never>, "onUpdate:modelValue"> & {
7
- modelValue: Value;
8
- title?: string;
9
- small?: boolean;
10
- disabled?: boolean;
11
- loading?: boolean;
12
- readonly?: boolean;
13
- rightLabel?: boolean;
14
- noMargin?: boolean;
15
- description?: string;
16
- intermediate?: boolean;
17
- }> & import('vue').PublicProps;
7
+ }>, never>, "onUpdate:modelValue"> & ToggleProps<Value>> & import('vue').PublicProps;
18
8
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
19
9
  attrs: any;
20
- slots: ReturnType<() => {}>;
21
- emit: ((e: "update:modelValue", value: Value) => void) & {};
10
+ slots: {};
11
+ emit: (e: "update:modelValue", value: Value) => void;
22
12
  }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
23
13
  [key: string]: any;
24
14
  }> & {
25
15
  __ctx?: Awaited<typeof __VLS_setup>;
26
16
  };
27
17
  export default _default;
28
- type __VLS_Prettify<T> = {
18
+ type __VLS_PrettifyLocal<T> = {
29
19
  [K in keyof T]: T[K];
30
20
  } & {};
31
21
  //# sourceMappingURL=WToggle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"yBAkHiB,KAAK,SAAS,OAAO,GAAG,IAAI,yBAC/B,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;WAyMxD,cAAc,CAAC;;;;;oBArMT,KAAK;gBACT,MAAM;gBACN,OAAO;mBACJ,OAAO;kBACR,OAAO;mBACN,OAAO;qBACL,OAAO;mBACT,OAAO;sBACJ,MAAM;uBACL,OAAO;KA4LwD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU,UAAuB;UAClC,KApLH,mBAAmB,SAAS,KAAK,KAAG,IAAI,MAoLH;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnNvE,wBAmN4E;AAY5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WToggle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/WToggle.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,SAAS,CAAA;yBAGvB,KAAK,SAAS,OAAO,GAAG,IAAI,yBAC/B,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;WAyMxD,mBAAmB,CAAC;;;;2DAAyD,CAAC,4BAA2B;oBAChG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;cA3LP,mBAAmB,SAAS,KAAK,KAAG,IAAI;;;;YAgMF,OAAO,CAAC,OAAO,WAAW,CAAC;;AAnNvE,wBAmN4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -7,6 +7,7 @@ const _hoisted_2 = {
7
7
  class: "text-xs font-normal text-description whitespace-pre-wrap break-words"
8
8
  };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ ...{ inheritAttrs: false },
10
11
  __name: "WToggle",
11
12
  props: {
12
13
  modelValue: {},
@@ -35,7 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
36
  return (_ctx, _cache) => {
36
37
  return openBlock(), createElementBlock("div", {
37
38
  class: normalizeClass({
38
- "mt-1 mb-4": !_ctx.noMargin
39
+ "mt-1 mb-4": !_ctx.noMargin,
40
+ [typeof _ctx.$attrs.class === "string" ? _ctx.$attrs.class : ""]: true
39
41
  })
40
42
  }, [
41
43
  createElementVNode("button", {
@@ -0,0 +1,13 @@
1
+ export interface ToggleProps<Value extends boolean | null> {
2
+ modelValue: Value;
3
+ title?: string;
4
+ small?: boolean;
5
+ disabled?: boolean;
6
+ loading?: boolean;
7
+ readonly?: boolean;
8
+ rightLabel?: boolean;
9
+ noMargin?: boolean;
10
+ description?: string;
11
+ intermediate?: boolean;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Toggle/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW,CAAC,KAAK,SAAS,OAAO,GAAG,IAAI;IACvD,UAAU,EAAE,KAAK,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB"}