eco-vue-js 0.5.26 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. package/dist/assets/icons/sax/IconClose.svg.js +26 -0
  2. package/dist/assets/icons/sax/IconEdit.svg.js +24 -0
  3. package/dist/assets/icons/sax/IconSlash.svg.js +27 -0
  4. package/dist/components/ActionsBar/WActionsBar.vue.d.ts +129 -2
  5. package/dist/components/ActionsBar/WActionsBar.vue.d.ts.map +1 -1
  6. package/dist/components/ActionsBar/WActionsBar.vue.js +1 -2
  7. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts +20 -15
  8. package/dist/components/BottomSheet/WBottomSheet.vue.d.ts.map +1 -1
  9. package/dist/components/BottomSheet/WBottomSheet.vue.js +2 -4
  10. package/dist/components/Button/WButton.vue.d.ts +20 -17
  11. package/dist/components/Button/WButton.vue.d.ts.map +1 -1
  12. package/dist/components/Button/WButton.vue.js +1 -2
  13. package/dist/components/Button/WButtonAction.vue.d.ts +21 -18
  14. package/dist/components/Button/WButtonAction.vue.d.ts.map +1 -1
  15. package/dist/components/Button/WButtonCopy.vue.d.ts +3 -3
  16. package/dist/components/Button/WButtonCopy.vue.d.ts.map +1 -1
  17. package/dist/components/Button/WButtonCopy.vue.js +9 -43
  18. package/dist/components/Button/WButtonDropdown.vue.d.ts +33 -25
  19. package/dist/components/Button/WButtonDropdown.vue.d.ts.map +1 -1
  20. package/dist/components/Button/WButtonDropdown.vue.js +12 -9
  21. package/dist/components/Button/WButtonGroup.vue.d.ts +17 -110
  22. package/dist/components/Button/WButtonGroup.vue.d.ts.map +1 -1
  23. package/dist/components/Button/WButtonGroup.vue.js +68 -44
  24. package/dist/components/Button/WButtonMore.vue.d.ts +14 -12
  25. package/dist/components/Button/WButtonMore.vue.d.ts.map +1 -1
  26. package/dist/components/Button/WButtonMore.vue.js +1 -2
  27. package/dist/components/Button/WButtonMoreItem.vue.d.ts +19 -16
  28. package/dist/components/Button/WButtonMoreItem.vue.d.ts.map +1 -1
  29. package/dist/components/Button/WButtonSelection.vue.d.ts +16 -16
  30. package/dist/components/Button/WButtonSelection.vue.d.ts.map +1 -1
  31. package/dist/components/Button/WButtonSelectionAction.vue.d.ts +8 -8
  32. package/dist/components/Button/WButtonSelectionAction.vue.d.ts.map +1 -1
  33. package/dist/components/Button/models/semanticTypeStylesMap.d.ts +1 -0
  34. package/dist/components/Button/types.d.ts +36 -0
  35. package/dist/components/Button/types.d.ts.map +1 -0
  36. package/dist/components/Checkbox/WCheckbox.vue.d.ts +34 -32
  37. package/dist/components/Checkbox/WCheckbox.vue.d.ts.map +1 -1
  38. package/dist/components/Checkbox/WCheckbox.vue.js +1 -2
  39. package/dist/components/Chip/WChip.vue.d.ts +19 -16
  40. package/dist/components/Chip/WChip.vue.d.ts.map +1 -1
  41. package/dist/components/ClickOutside/WClickOutside.vue.d.ts +7 -5
  42. package/dist/components/ClickOutside/WClickOutside.vue.d.ts.map +1 -1
  43. package/dist/components/ClickOutside/WClickOutside.vue.js +3 -6
  44. package/dist/components/Counter/WCounter.vue.d.ts +15 -15
  45. package/dist/components/Counter/WCounter.vue.d.ts.map +1 -1
  46. package/dist/components/Counter/WCounter.vue.js +1 -2
  47. package/dist/components/DatePicker/WDatePicker.vue.d.ts +6 -5
  48. package/dist/components/DatePicker/WDatePicker.vue.d.ts.map +1 -1
  49. package/dist/components/DatePicker/WDatePicker.vue.js +1 -2
  50. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts +6 -6
  51. package/dist/components/DatePicker/WDatePickerSingle.vue.d.ts.map +1 -1
  52. package/dist/components/DatePicker/WDatePickerSingle.vue.js +1 -2
  53. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts +10 -9
  54. package/dist/components/DatePicker/components/CalendarDay.vue.d.ts.map +1 -1
  55. package/dist/components/DatePicker/components/CalendarDay.vue.js +10 -20
  56. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts +12 -11
  57. package/dist/components/DatePicker/components/CalendarMonth.vue.d.ts.map +1 -1
  58. package/dist/components/DatePicker/components/CalendarMonth.vue.js +7 -14
  59. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts +4 -4
  60. package/dist/components/DatePicker/components/CalendarToggle.vue.d.ts.map +1 -1
  61. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts +8 -8
  62. package/dist/components/DatePicker/components/CalendarValue.vue.d.ts.map +1 -1
  63. package/dist/components/DatePicker/components/CalendarValue.vue.js +1 -2
  64. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts +8 -7
  65. package/dist/components/DatePicker/components/CalendarWeek.vue.d.ts.map +1 -1
  66. package/dist/components/DatePicker/components/CalendarWeek.vue.js +7 -14
  67. package/dist/components/Dropdown/WDropdown.vue.d.ts +18 -29
  68. package/dist/components/Dropdown/WDropdown.vue.d.ts.map +1 -1
  69. package/dist/components/Dropdown/WDropdown.vue.js +7 -14
  70. package/dist/components/Dropdown/types.d.ts +11 -0
  71. package/dist/components/Dropdown/types.d.ts.map +1 -0
  72. package/dist/components/Dropdown/utils/DropdownStyle.d.ts +1 -0
  73. package/dist/components/Dropdown/utils/DropdownStyle.js +2 -4
  74. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts +18 -33
  75. package/dist/components/DropdownMenu/WDropdownMenu.vue.d.ts.map +1 -1
  76. package/dist/components/DropdownMenu/WDropdownMenu.vue.js +3 -3
  77. package/dist/components/DropdownMenu/types.d.ts +8 -0
  78. package/dist/components/DropdownMenu/types.d.ts.map +1 -0
  79. package/dist/components/Expansion/WExpansion.vue.d.ts +20 -18
  80. package/dist/components/Expansion/WExpansion.vue.d.ts.map +1 -1
  81. package/dist/components/Expansion/WExpansionItem.vue.d.ts +24 -22
  82. package/dist/components/Expansion/WExpansionItem.vue.d.ts.map +1 -1
  83. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts +29 -21
  84. package/dist/components/FieldWrapper/WFieldWrapper.vue.d.ts.map +1 -1
  85. package/dist/components/FieldWrapper/WFieldWrapper.vue.js +148 -18
  86. package/dist/components/FieldWrapper/types.d.ts +16 -0
  87. package/dist/components/FieldWrapper/types.d.ts.map +1 -0
  88. package/dist/components/FilePicker/WFilePicker.vue.d.ts +36 -32
  89. package/dist/components/FilePicker/WFilePicker.vue.d.ts.map +1 -1
  90. package/dist/components/FilePicker/WFilePicker.vue.js +3 -6
  91. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts +19 -17
  92. package/dist/components/FilePicker/components/FilePickerItem.vue.d.ts.map +1 -1
  93. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts +7 -7
  94. package/dist/components/FilePicker/components/FilePickerSvg.vue.d.ts.map +1 -1
  95. package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts +16 -14
  96. package/dist/components/FilterWrapper/WFilterWrapper.vue.d.ts.map +1 -1
  97. package/dist/components/Form/WForm.vue.d.ts +21 -19
  98. package/dist/components/Form/WForm.vue.d.ts.map +1 -1
  99. package/dist/components/Form/WFormValidator.vue.d.ts +28 -26
  100. package/dist/components/Form/WFormValidator.vue.d.ts.map +1 -1
  101. package/dist/components/Form/WFormValidator.vue.js +12 -24
  102. package/dist/components/Form/models/injection.d.ts +2 -1
  103. package/dist/components/Form/models/injection.d.ts.map +1 -1
  104. package/dist/components/Form/models/utils.d.ts.map +1 -1
  105. package/dist/components/Form/models/utils.js +5 -4
  106. package/dist/components/Form/use/useFormErrorMessageMap.d.ts +4 -3
  107. package/dist/components/Form/use/useFormErrorMessageMap.d.ts.map +1 -1
  108. package/dist/components/Form/use/useFormHasChangesMap.d.ts +3 -2
  109. package/dist/components/Form/use/useFormHasChangesMap.d.ts.map +1 -1
  110. package/dist/components/Form/use/useFormInitModelMap.d.ts +2 -1
  111. package/dist/components/Form/use/useFormInitModelMap.d.ts.map +1 -1
  112. package/dist/components/Form/use/useFormInvalidateMap.d.ts +2 -1
  113. package/dist/components/Form/use/useFormInvalidateMap.d.ts.map +1 -1
  114. package/dist/components/Form/use/useFormTitleMap.d.ts +2 -1
  115. package/dist/components/Form/use/useFormTitleMap.d.ts.map +1 -1
  116. package/dist/components/Form/use/useFormValidateMap.d.ts +2 -1
  117. package/dist/components/Form/use/useFormValidateMap.d.ts.map +1 -1
  118. package/dist/components/Form/use/useFormValidateMap.js +1 -2
  119. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts +27 -24
  120. package/dist/components/HeaderBar/WHeaderBar.vue.d.ts.map +1 -1
  121. package/dist/components/HeaderBar/WHeaderBar.vue.js +2 -4
  122. package/dist/components/ImageViewer/WImageViewer.vue.d.ts +9 -9
  123. package/dist/components/ImageViewer/WImageViewer.vue.d.ts.map +1 -1
  124. package/dist/components/ImageViewer/WImageViewer.vue.js +1 -2
  125. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts +6 -6
  126. package/dist/components/ImageViewer/components/ImageModal.vue.d.ts.map +1 -1
  127. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts +67 -237
  128. package/dist/components/InfiniteList/WInfiniteList.vue.d.ts.map +1 -1
  129. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts +50 -187
  130. package/dist/components/InfiniteList/WInfiniteListPages.vue.d.ts.map +1 -1
  131. package/dist/components/InfiniteList/WInfiniteListPages.vue.js +20 -40
  132. package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts +4 -2
  133. package/dist/components/InfiniteList/components/EmptyComponent.vue.d.ts.map +1 -1
  134. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts +2 -2
  135. package/dist/components/InfiniteList/components/InfiniteListButton.vue.d.ts.map +1 -1
  136. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts +57 -209
  137. package/dist/components/InfiniteList/components/InfiniteListPage.vue.d.ts.map +1 -1
  138. package/dist/components/InfiniteList/components/InfiniteListPage.vue.js +21 -42
  139. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts +18 -16
  140. package/dist/components/InfiniteList/components/InfiniteListPageSelectItem.vue.d.ts.map +1 -1
  141. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts +19 -43
  142. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.d.ts.map +1 -1
  143. package/dist/components/InfiniteList/components/InfiniteListPageSelection.vue.js +2 -4
  144. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts +13 -23
  145. package/dist/components/InfiniteList/components/InfiniteListPageTitle.vue.d.ts.map +1 -1
  146. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts +14 -12
  147. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.d.ts.map +1 -1
  148. package/dist/components/InfiniteList/components/InfiniteListScroll.vue.js +1 -2
  149. package/dist/components/InfiniteList/models/injection.d.ts +8 -7
  150. package/dist/components/InfiniteList/models/injection.d.ts.map +1 -1
  151. package/dist/components/InfiniteList/models/utils.js +2 -4
  152. package/dist/components/InfiniteList/use/useInfiniteListHeader.d.ts +5 -5
  153. package/dist/components/InfiniteList/use/useInfiniteListHeader.js +4 -2
  154. package/dist/components/InfiniteList/use/useRefetchNextPages.d.ts +1 -1
  155. package/dist/components/InfiniteList/use/useRefetchNextPages.js +1 -2
  156. package/dist/components/InfiniteList/use/useSelected.d.ts +6 -5
  157. package/dist/components/InfiniteList/use/useSelected.d.ts.map +1 -1
  158. package/dist/components/InfiniteList/use/useSelected.js +13 -26
  159. package/dist/components/InfoCard/WInfoCard.vue.d.ts +16 -14
  160. package/dist/components/InfoCard/WInfoCard.vue.d.ts.map +1 -1
  161. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts +16 -13
  162. package/dist/components/InfoCard/WInfoCardNegative.vue.d.ts.map +1 -1
  163. package/dist/components/Input/WInput.vue.d.ts +41 -199
  164. package/dist/components/Input/WInput.vue.d.ts.map +1 -1
  165. package/dist/components/Input/WInput.vue.js +137 -227
  166. package/dist/components/Input/WInputAsync.vue.d.ts +16 -94
  167. package/dist/components/Input/WInputAsync.vue.d.ts.map +1 -1
  168. package/dist/components/Input/WInputAsync.vue.js +118 -104
  169. package/dist/components/Input/WInputDate.vue.d.ts +41 -8
  170. package/dist/components/Input/WInputDate.vue.d.ts.map +1 -1
  171. package/dist/components/Input/WInputDate.vue.js +66 -14
  172. package/dist/components/Input/WInputOptions.vue.d.ts +18 -125
  173. package/dist/components/Input/WInputOptions.vue.d.ts.map +1 -1
  174. package/dist/components/Input/WInputOptions.vue.js +64 -53
  175. package/dist/components/Input/WInputSuggest.vue.d.ts +49 -207
  176. package/dist/components/Input/WInputSuggest.vue.d.ts.map +1 -1
  177. package/dist/components/Input/WInputSuggest.vue.js +71 -57
  178. package/dist/components/Input/components/InputActions.vue.d.ts +34 -28
  179. package/dist/components/Input/components/InputActions.vue.d.ts.map +1 -1
  180. package/dist/components/Input/components/InputActions.vue.js +49 -84
  181. package/dist/components/Input/components/InputActionsButton.vue.d.ts +35 -0
  182. package/dist/components/Input/components/InputActionsButton.vue.d.ts.map +1 -0
  183. package/dist/components/Input/components/InputActionsButton.vue.js +41 -0
  184. package/dist/components/Input/components/InputActionsButton.vue2.js +5 -0
  185. package/dist/components/Input/types.d.ts +45 -0
  186. package/dist/components/Input/types.d.ts.map +1 -0
  187. package/dist/components/Link/WLink.vue.d.ts +19 -16
  188. package/dist/components/Link/WLink.vue.d.ts.map +1 -1
  189. package/dist/components/Link/WLinkArrow.vue.d.ts +12 -9
  190. package/dist/components/Link/WLinkArrow.vue.d.ts.map +1 -1
  191. package/dist/components/ListCard/WListCard.vue.d.ts +27 -25
  192. package/dist/components/ListCard/WListCard.vue.d.ts.map +1 -1
  193. package/dist/components/ListCard/WListCardField.vue.d.ts +17 -14
  194. package/dist/components/ListCard/WListCardField.vue.d.ts.map +1 -1
  195. package/dist/components/MenuItem/WMenuItem.vue.d.ts +19 -16
  196. package/dist/components/MenuItem/WMenuItem.vue.d.ts.map +1 -1
  197. package/dist/components/Modal/WModal.vue.d.ts +1 -1
  198. package/dist/components/Modal/WModal.vue.d.ts.map +1 -1
  199. package/dist/components/Modal/WModal.vue.js +2 -4
  200. package/dist/components/Modal/WModalStepper.vue.d.ts +18 -16
  201. package/dist/components/Modal/WModalStepper.vue.d.ts.map +1 -1
  202. package/dist/components/Modal/WModalWrapper.vue.d.ts +14 -12
  203. package/dist/components/Modal/WModalWrapper.vue.d.ts.map +1 -1
  204. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts +2 -2
  205. package/dist/components/Modal/components/ModalCloseButton.vue.d.ts.map +1 -1
  206. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts +19 -18
  207. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue.d.ts.map +1 -1
  208. package/dist/components/Modal/modals/Confirm/ConfirmModal.vue2.js +2 -4
  209. package/dist/components/Modal/modals/Confirm/types.d.ts +2 -1
  210. package/dist/components/Nav/WNavBar.vue.d.ts +7 -5
  211. package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
  212. package/dist/components/Nav/WNavItem.vue.d.ts +16 -13
  213. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  214. package/dist/components/Nav/WNavItem.vue.js +1 -2
  215. package/dist/components/Nav/WNavItemExpand.vue.d.ts +15 -12
  216. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  217. package/dist/components/Nav/WNavItemExpand.vue.js +3 -0
  218. package/dist/components/Nav/WNavItemTransition.vue.d.ts +4 -2
  219. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
  220. package/dist/components/Notify/WNotify.vue.d.ts +1 -1
  221. package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
  222. package/dist/components/Notify/WNotify.vue.js +1 -2
  223. package/dist/components/Notify/components/NotifyCard.vue.d.ts +15 -14
  224. package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
  225. package/dist/components/Notify/components/NotifyCard.vue.js +2 -4
  226. package/dist/components/Notify/models/types.d.ts +3 -2
  227. package/dist/components/Select/WSelect.vue.d.ts +41 -188
  228. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  229. package/dist/components/Select/WSelect.vue.js +74 -66
  230. package/dist/components/Select/WSelectAsync.vue.d.ts +32 -207
  231. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  232. package/dist/components/Select/WSelectAsync.vue.js +78 -60
  233. package/dist/components/Select/WSelectAsyncList.vue.d.ts +33 -111
  234. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  235. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +24 -166
  236. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  237. package/dist/components/Select/WSelectAsyncSingle.vue.js +93 -82
  238. package/dist/components/Select/WSelectSingle.vue.d.ts +25 -149
  239. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  240. package/dist/components/Select/WSelectSingle.vue.js +84 -70
  241. package/dist/components/Select/components/SelectAsyncList.vue.d.ts +43 -133
  242. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  243. package/dist/components/Select/components/SelectAsyncList.vue.js +7 -14
  244. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +37 -104
  245. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
  246. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +37 -102
  247. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  248. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +1 -2
  249. package/dist/components/Select/components/SelectOption.vue.d.ts +45 -132
  250. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
  251. package/dist/components/Select/components/SelectOption.vue.js +12 -24
  252. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +23 -52
  253. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
  254. package/dist/components/Select/types.d.ts +47 -0
  255. package/dist/components/Select/types.d.ts.map +1 -0
  256. package/dist/components/Skeleton/WSkeleton.vue.d.ts +1 -1
  257. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
  258. package/dist/components/Spinner/WSpinner.vue.d.ts +1 -1
  259. package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
  260. package/dist/components/Tabs/WTabs.vue.d.ts +22 -24
  261. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  262. package/dist/components/Tabs/WTabs.vue.js +6 -12
  263. package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -3
  264. package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
  265. package/dist/components/Tabs/components/TabItem.vue.d.ts +14 -12
  266. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  267. package/dist/components/Tabs/components/TabItem.vue.js +3 -6
  268. package/dist/components/Tabs/models/injection.d.ts +2 -1
  269. package/dist/components/Tabs/models/injection.d.ts.map +1 -1
  270. package/dist/components/Tabs/use/useTabItemActiveListener.js +1 -2
  271. package/dist/components/Toggle/WToggle.vue.d.ts +19 -50
  272. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  273. package/dist/components/Toggle/WToggle.vue.js +1 -2
  274. package/dist/components/Tooltip/WTooltip.vue.d.ts +15 -15
  275. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  276. package/dist/components/Tooltip/WTooltip.vue.js +4 -8
  277. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -1
  278. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  279. package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -2
  280. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +22 -19
  281. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
  282. package/dist/components/Tooltip/components/TooltipContainer.vue.js +5 -10
  283. package/dist/imports/componentsPlugin.d.ts +64 -63
  284. package/dist/imports/iconsSax.d.ts +3 -0
  285. package/dist/imports/iconsSax.d.ts.map +1 -1
  286. package/dist/imports/iconsSax.js +3 -0
  287. package/dist/main.d.ts +1 -0
  288. package/dist/main.d.ts.map +1 -1
  289. package/dist/main.js +1 -0
  290. package/dist/utils/DOMListenerContainer.js +2 -4
  291. package/dist/utils/Modal.d.ts +4 -3
  292. package/dist/utils/Modal.d.ts.map +1 -1
  293. package/dist/utils/Notify.d.ts +5 -4
  294. package/dist/utils/Notify.d.ts.map +1 -1
  295. package/dist/utils/Tooltip.d.ts +2 -1
  296. package/dist/utils/dateTime.d.ts.map +1 -1
  297. package/dist/utils/dateTime.js +28 -56
  298. package/dist/utils/useCopy.d.ts +8 -0
  299. package/dist/utils/useCopy.d.ts.map +1 -0
  300. package/dist/utils/useCopy.js +56 -0
  301. package/dist/utils/useDefaultQuery.d.ts +4 -3
  302. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  303. package/dist/utils/utils.d.ts.map +1 -1
  304. package/dist/utils/utils.js +10 -20
  305. package/package.json +40 -19
  306. package/tailwind-base/plugins/default.cjs +6 -0
  307. package/tailwind-base/theme/sizes.cjs +2 -0
@@ -1,41 +1,64 @@
1
- import { defineComponent, ref, computed, watch, toRef, openBlock, createElementBlock, createVNode, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, ref, computed, watch, toRef, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from './WSelectAsync.vue.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ ...{ inheritAttrs: false },
5
6
  __name: "WSelectAsyncSingle",
6
7
  props: {
7
8
  modelValue: {},
8
- search: {},
9
+ allowClear: { type: Boolean },
10
+ searchModel: { type: Boolean },
11
+ previewData: {},
12
+ createdData: {},
9
13
  useQueryFn: {},
14
+ useQueryFnPrefix: {},
10
15
  isInvalidPage: { type: Function },
11
16
  queryParams: {},
12
- title: {},
13
- mobileTitle: {},
14
- description: {},
15
- loading: { type: Boolean },
16
- emptyStub: {},
17
- maxSearchLength: {},
18
17
  optionComponent: {},
19
- readonly: { type: Boolean },
20
- disabled: { type: Boolean },
21
- skeleton: { type: Boolean },
18
+ valueGetter: { type: Function },
19
+ valueQueryKey: {},
20
+ queryOptions: {},
21
+ search: {},
22
+ emptyStub: {},
23
+ hidePrefix: { type: Boolean },
22
24
  allowCreate: { type: Boolean },
25
+ hideOptionIcon: { type: Boolean },
26
+ mobileTitle: {},
27
+ persist: { type: Boolean },
28
+ type: {},
29
+ textarea: { type: Boolean },
30
+ resize: { type: Boolean },
31
+ placeholder: {},
32
+ icon: {},
33
+ size: {},
34
+ maxLength: {},
35
+ name: {},
36
+ autocomplete: {},
37
+ autofocus: { type: Boolean },
38
+ readonly: { type: Boolean },
39
+ disabledActions: { type: Boolean },
40
+ loading: { type: Boolean },
41
+ spellcheck: { type: Boolean },
42
+ customBackspaceHandle: { type: Boolean },
43
+ textSecure: { type: Boolean },
44
+ placeholderSecure: { type: Boolean },
45
+ allowPaste: { type: Boolean },
46
+ title: {},
47
+ description: {},
23
48
  errorMessage: {},
49
+ tooltipText: {},
50
+ mono: { type: Boolean },
24
51
  hasChanges: { type: Boolean },
25
- placeholder: {},
26
- searchSize: {},
52
+ skeleton: { type: Boolean },
53
+ disabled: { type: Boolean },
27
54
  required: { type: Boolean },
28
55
  noMargin: { type: Boolean },
29
- icon: {},
30
- mono: { type: Boolean },
31
- autofocus: { type: Boolean },
32
- allowClear: { type: Boolean },
33
- previewData: {},
34
- createdData: {},
35
- hideOptionIcon: { type: Boolean },
36
- valueGetter: { type: Function },
37
- valueQueryKey: {},
38
- queryOptions: {}
56
+ allowCopy: { type: Boolean },
57
+ teleport: { type: Boolean },
58
+ noZIndex: { type: Boolean },
59
+ maxHeight: {},
60
+ maxWidth: {},
61
+ horizontalAlign: {}
39
62
  },
40
63
  emits: ["update:modelValue", "update:search", "create:option"],
41
64
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -58,66 +81,54 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
58
81
  blur
59
82
  });
60
83
  return (_ctx, _cache) => {
61
- return openBlock(), createElementBlock("div", null, [
62
- createVNode(_sfc_main$1, {
63
- ref_key: "selectComponent",
64
- ref: selectComponent,
65
- "model-value": arrayValue.value,
66
- search: _ctx.search,
67
- title: _ctx.title,
68
- "mobile-title": _ctx.mobileTitle,
69
- description: _ctx.description,
70
- loading: _ctx.loading,
71
- "max-search-length": _ctx.maxSearchLength,
72
- "empty-stub": _ctx.emptyStub,
73
- "query-params": _ctx.queryParams,
74
- "use-query-fn": _ctx.useQueryFn,
75
- "is-invalid-page": _ctx.isInvalidPage,
76
- "option-component": _ctx.optionComponent,
77
- readonly: _ctx.readonly,
78
- disabled: _ctx.disabled,
79
- skeleton: _ctx.skeleton,
80
- "allow-create": _ctx.allowCreate,
81
- "error-message": _ctx.errorMessage,
82
- "has-changes": _ctx.hasChanges,
83
- placeholder: _ctx.placeholder,
84
- "search-size": _ctx.searchSize,
85
- required: _ctx.required,
86
- "no-margin": _ctx.noMargin,
87
- icon: _ctx.icon,
88
- mono: _ctx.mono,
89
- autofocus: _ctx.autofocus,
90
- "disable-clear": !_ctx.allowClear,
91
- "preview-data": _ctx.previewData ? [_ctx.previewData] : void 0,
92
- "created-data": _ctx.createdData ? [_ctx.createdData] : void 0,
93
- "hide-option-icon": _ctx.hideOptionIcon,
94
- "value-getter": _ctx.valueGetter,
95
- "value-query-key": _ctx.valueQueryKey,
96
- "query-options": _ctx.queryOptions,
97
- "hide-prefix": "",
98
- onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
99
- onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
100
- "onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
101
- "onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
102
- }, createSlots({
103
- option: withCtx(({ option, selected, model }) => [
104
- renderSlot(_ctx.$slots, "option", {
105
- option,
106
- selected,
107
- model
108
- })
84
+ return openBlock(), createBlock(_sfc_main$1, mergeProps({
85
+ ref_key: "selectComponent",
86
+ ref: selectComponent
87
+ }, {
88
+ ...props,
89
+ modelValue: arrayValue.value,
90
+ disableClear: !_ctx.allowClear,
91
+ previewData: _ctx.previewData ? [_ctx.previewData] : void 0,
92
+ createdData: _ctx.createdData ? [_ctx.createdData] : void 0,
93
+ hidePrefix: true
94
+ }, {
95
+ class: _ctx.$attrs.class,
96
+ onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
97
+ onUnselect: _cache[1] || (_cache[1] = ($event) => _ctx.allowClear && updateModelValue(null)),
98
+ "onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
99
+ "onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event))
100
+ }), createSlots({
101
+ option: withCtx(({ option, selected, model }) => [
102
+ renderSlot(_ctx.$slots, "option", {
103
+ option,
104
+ selected,
105
+ model
106
+ })
107
+ ]),
108
+ _: 2
109
+ }, [
110
+ _ctx.$slots.title ? {
111
+ name: "title",
112
+ fn: withCtx(() => [
113
+ renderSlot(_ctx.$slots, "title")
114
+ ]),
115
+ key: "0"
116
+ } : void 0,
117
+ _ctx.$slots.subtitle ? {
118
+ name: "subtitle",
119
+ fn: withCtx(() => [
120
+ renderSlot(_ctx.$slots, "subtitle")
121
+ ]),
122
+ key: "1"
123
+ } : void 0,
124
+ _ctx.$slots.right?.()?.length ? {
125
+ name: "right",
126
+ fn: withCtx(() => [
127
+ renderSlot(_ctx.$slots, "right")
109
128
  ]),
110
- _: 2
111
- }, [
112
- _ctx.$slots.right?.()?.length ? {
113
- name: "right",
114
- fn: withCtx(() => [
115
- renderSlot(_ctx.$slots, "right")
116
- ]),
117
- key: "0"
118
- } : void 0
119
- ]), 1032, ["model-value", "search", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "query-params", "use-query-fn", "is-invalid-page", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "preview-data", "created-data", "hide-option-icon", "value-getter", "value-query-key", "query-options"])
120
- ]);
129
+ key: "2"
130
+ } : void 0
131
+ ]), 1040, ["class"]);
121
132
  };
122
133
  }
123
134
  });
@@ -1,165 +1,41 @@
1
- import { type Component } from 'vue';
2
- declare const _default: <Item extends string | number, AllowClear extends boolean = false>(__VLS_props: {
3
- required?: boolean | undefined;
4
- search: string;
5
- title?: string | undefined;
6
- icon?: SVGComponent | undefined;
7
- disabled?: boolean | undefined;
8
- loading?: boolean | undefined;
9
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Item | null : Item) => any) | undefined;
10
- modelValue: Item | null;
11
- readonly?: boolean | undefined;
12
- skeleton?: boolean | undefined;
13
- description?: string | undefined;
14
- placeholder?: string | undefined;
15
- errorMessage?: string | undefined;
16
- hasChanges?: boolean | undefined;
17
- allowClear?: AllowClear | undefined;
18
- autofocus?: boolean | undefined;
19
- mono?: boolean | undefined;
20
- noMargin?: boolean | undefined;
21
- mobileTitle?: string | undefined;
22
- "onUpdate:search"?: ((value: string) => any) | undefined;
23
- emptyStub?: string | undefined;
24
- hideOptionIcon?: boolean | undefined;
25
- options: Item[];
26
- maxSearchLength?: number | undefined;
27
- optionComponent?: Component<{
28
- option: Item;
29
- selected?: boolean | undefined;
30
- model?: boolean | undefined;
31
- }> | undefined;
32
- searchSize?: number | undefined;
33
- "onCreate:option"?: ((value: string) => any) | undefined;
34
- allowCreate?: boolean | undefined;
35
- searchModel?: boolean | undefined;
36
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
37
- attrs: any;
38
- slots: {
39
- option?(_: {
40
- option: string | Item;
41
- selected: boolean;
42
- model: boolean;
43
- }): any;
44
- right?(_: {}): any;
45
- };
46
- emit: {
47
- (e: 'update:modelValue', value: AllowClear extends true ? Item | null : Item): void;
48
- (e: 'update:search', value: string): void;
49
- (e: 'create:option', value: string): void;
50
- };
51
- } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
52
- blur: () => void;
53
- }>) => void) | undefined, __VLS_setup?: Promise<{
54
- props: {
55
- required?: boolean | undefined;
56
- search: string;
57
- title?: string | undefined;
58
- icon?: SVGComponent | undefined;
59
- disabled?: boolean | undefined;
60
- loading?: boolean | undefined;
61
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Item | null : Item) => any) | undefined;
62
- modelValue: Item | null;
63
- readonly?: boolean | undefined;
64
- skeleton?: boolean | undefined;
65
- description?: string | undefined;
66
- placeholder?: string | undefined;
67
- errorMessage?: string | undefined;
68
- hasChanges?: boolean | undefined;
69
- allowClear?: AllowClear | undefined;
70
- autofocus?: boolean | undefined;
71
- mono?: boolean | undefined;
72
- noMargin?: boolean | undefined;
73
- mobileTitle?: string | undefined;
1
+ import { SelectSingleProps } from './types';
2
+
3
+ declare const _default: <Option extends string | number, 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;
7
+ "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;
74
10
  "onUpdate:search"?: ((value: string) => any) | undefined;
75
- emptyStub?: string | undefined;
76
- hideOptionIcon?: boolean | undefined;
77
- options: Item[];
78
- maxSearchLength?: number | undefined;
79
- optionComponent?: Component<{
80
- option: Item;
81
- selected?: boolean | undefined;
82
- model?: boolean | undefined;
83
- }> | undefined;
84
- searchSize?: number | undefined;
85
11
  "onCreate:option"?: ((value: string) => any) | undefined;
86
- allowCreate?: boolean | undefined;
87
- searchModel?: boolean | undefined;
88
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
89
- expose(exposed: import("vue").ShallowUnwrapRef<{
12
+ }, never>, "onUpdate:modelValue" | "onUpdate:search" | "onCreate:option"> & SelectSingleProps<Option, AllowClear>> & import('vue').PublicProps;
13
+ expose(exposed: import('vue').ShallowUnwrapRef<{
90
14
  blur: () => void;
91
15
  }>): void;
92
16
  attrs: any;
93
- slots: {
17
+ slots: ReturnType<() => {
18
+ title?(_: {}): any;
19
+ subtitle?(_: {}): any;
94
20
  option?(_: {
95
- option: string | Item;
21
+ option: string | Option;
96
22
  selected: boolean;
97
23
  model: boolean;
98
24
  }): any;
99
25
  right?(_: {}): any;
100
- };
26
+ }>;
101
27
  emit: {
102
- (e: 'update:modelValue', value: AllowClear extends true ? Item | null : Item): void;
103
- (e: 'update:search', value: string): void;
104
- (e: 'create:option', value: string): void;
105
- };
106
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
28
+ (e: "update:modelValue", value: AllowClear extends true ? Option | null : Option): void;
29
+ (e: "update:search", value: string): void;
30
+ (e: "create:option", value: string): void;
31
+ } & {};
32
+ }>) => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
107
33
  [key: string]: any;
108
34
  }> & {
109
- __ctx?: {
110
- props: {
111
- required?: boolean | undefined;
112
- search: string;
113
- title?: string | undefined;
114
- icon?: SVGComponent | undefined;
115
- disabled?: boolean | undefined;
116
- loading?: boolean | undefined;
117
- "onUpdate:modelValue"?: ((value: AllowClear extends true ? Item | null : Item) => any) | undefined;
118
- modelValue: Item | null;
119
- readonly?: boolean | undefined;
120
- skeleton?: boolean | undefined;
121
- description?: string | undefined;
122
- placeholder?: string | undefined;
123
- errorMessage?: string | undefined;
124
- hasChanges?: boolean | undefined;
125
- allowClear?: AllowClear | undefined;
126
- autofocus?: boolean | undefined;
127
- mono?: boolean | undefined;
128
- noMargin?: boolean | undefined;
129
- mobileTitle?: string | undefined;
130
- "onUpdate:search"?: ((value: string) => any) | undefined;
131
- emptyStub?: string | undefined;
132
- hideOptionIcon?: boolean | undefined;
133
- options: Item[];
134
- maxSearchLength?: number | undefined;
135
- optionComponent?: Component<{
136
- option: Item;
137
- selected?: boolean | undefined;
138
- model?: boolean | undefined;
139
- }> | undefined;
140
- searchSize?: number | undefined;
141
- "onCreate:option"?: ((value: string) => any) | undefined;
142
- allowCreate?: boolean | undefined;
143
- searchModel?: boolean | undefined;
144
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
145
- expose(exposed: import("vue").ShallowUnwrapRef<{
146
- blur: () => void;
147
- }>): void;
148
- attrs: any;
149
- slots: {
150
- option?(_: {
151
- option: string | Item;
152
- selected: boolean;
153
- model: boolean;
154
- }): any;
155
- right?(_: {}): any;
156
- };
157
- emit: {
158
- (e: 'update:modelValue', value: AllowClear extends true ? Item | null : Item): void;
159
- (e: 'update:search', value: string): void;
160
- (e: 'create:option', value: string): void;
161
- };
162
- } | undefined;
35
+ __ctx?: Awaited<typeof __VLS_setup>;
163
36
  };
164
37
  export default _default;
38
+ type __VLS_Prettify<T> = {
39
+ [K in keyof T]: T[K];
40
+ } & {};
165
41
  //# 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":"AAsDA;AAEA,OAAO,EAA8B,KAAK,SAAS,EAAC,MAAM,KAAK,CAAA;;;YAgOrD,MAAM;;;;;;gBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;aAEd,IAAI,EAAE;;;gBAOsB,IAAI;;;;;;;;;WAwBpC,GAAG;;;;;;YAxDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;OAmN4B,IAAI;;;gBA/BjE,MAAM;;;;;;oBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;iBAEd,IAAI,EAAE;;;oBAOsB,IAAI;;;;;;;;;;;SAuB4B,IAAI;WACpE,GAAG;;;;;;YAxDmB,GAAG;uBACJ,GAAG;;;YA/JzB,mBAAmB,wDAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;;;;;oBAoLjC,MAAM;;;;;;wBADF,IAAI,GAAG,IAAI;;;;;;;;;;;;;;;qBAEd,IAAI,EAAE;;;wBAOsB,IAAI;;;;;;;;;;;aAuB4B,IAAI;eACpE,GAAG;;;;;;gBAxDmB,GAAG;2BACJ,GAAG;;;gBA/JzB,mBAAmB,wDAAoB,IAAI;gBAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;gBACrC,eAAe,SAAS,MAAM,GAAG,IAAI;;;;AAxC3C,wBAiQ2E"}
1
+ {"version":3,"file":"WSelectSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Select/WSelectSingle.vue"],"names":[],"mappings":"AA+FA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,SAAS,CAAA;yBAG7B,MAAM,SAAS,MAAM,GAAG,MAAM,EAAE,UAAU,SAAS,OAAO,uBAC7D,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;;;;;;;;qHAAyD,CAAC,4BAA2B;oBAC3F,OAAO,KAAK,EAAE,gBAAgB;;MAAsB,GAAG,IAAI;WACpE,GAAG;WACH,UAAU;uBA7BQ,GAAG;0BACA,GAAG;;;;;YACL,GAAG;uBACJ,GAAG;MA0BY;UAClC;YAhOH,mBAAmB,4DAAoB,IAAI;YAC3C,eAAe,SAAS,MAAM,GAAG,IAAI;YACrC,eAAe,SAAS,MAAM,GAAG,IAAI;UA8NA;;;;YAGC,OAAO,CAAC,OAAO,WAAW,CAAC;;AAjPvE,wBAiP4E;AAM5E,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -1,35 +1,56 @@
1
- import { defineComponent, ref, computed, watch, toRef, openBlock, createElementBlock, createVNode, createSlots, withCtx, renderSlot } from 'vue';
1
+ import { defineComponent, ref, computed, watch, toRef, openBlock, createBlock, mergeProps, createSlots, withCtx, renderSlot } from 'vue';
2
2
  import _sfc_main$1 from './WSelect.vue.js';
3
3
 
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
+ ...{ inheritAttrs: false },
5
6
  __name: "WSelectSingle",
6
7
  props: {
7
8
  modelValue: {},
9
+ allowClear: { type: Boolean },
10
+ searchModel: { type: Boolean },
8
11
  search: {},
9
12
  options: {},
10
- title: {},
11
- mobileTitle: {},
12
- description: {},
13
- loading: { type: Boolean },
14
13
  emptyStub: {},
15
- maxSearchLength: {},
16
14
  optionComponent: {},
17
- readonly: { type: Boolean },
18
- disabled: { type: Boolean },
19
- skeleton: { type: Boolean },
15
+ hidePrefix: { type: Boolean },
20
16
  allowCreate: { type: Boolean },
17
+ hideOptionIcon: { type: Boolean },
18
+ mobileTitle: {},
19
+ persist: { type: Boolean },
20
+ type: {},
21
+ textarea: { type: Boolean },
22
+ resize: { type: Boolean },
23
+ placeholder: {},
24
+ icon: {},
25
+ size: {},
26
+ maxLength: {},
27
+ name: {},
28
+ autocomplete: {},
29
+ autofocus: { type: Boolean },
30
+ readonly: { type: Boolean },
31
+ disabledActions: { type: Boolean },
32
+ loading: { type: Boolean },
33
+ spellcheck: { type: Boolean },
34
+ customBackspaceHandle: { type: Boolean },
35
+ textSecure: { type: Boolean },
36
+ placeholderSecure: { type: Boolean },
37
+ allowPaste: { type: Boolean },
38
+ title: {},
39
+ description: {},
21
40
  errorMessage: {},
41
+ tooltipText: {},
42
+ mono: { type: Boolean },
22
43
  hasChanges: { type: Boolean },
23
- placeholder: {},
24
- searchSize: {},
44
+ skeleton: { type: Boolean },
45
+ disabled: { type: Boolean },
25
46
  required: { type: Boolean },
26
47
  noMargin: { type: Boolean },
27
- icon: {},
28
- mono: { type: Boolean },
29
- autofocus: { type: Boolean },
30
- allowClear: { type: Boolean },
31
- hideOptionIcon: { type: Boolean },
32
- searchModel: { type: Boolean }
48
+ allowCopy: { type: Boolean },
49
+ teleport: { type: Boolean },
50
+ noZIndex: { type: Boolean },
51
+ maxHeight: {},
52
+ maxWidth: {},
53
+ horizontalAlign: {}
33
54
  },
34
55
  emits: ["update:modelValue", "update:search", "create:option"],
35
56
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -53,60 +74,53 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
53
74
  blur
54
75
  });
55
76
  return (_ctx, _cache) => {
56
- return openBlock(), createElementBlock("div", null, [
57
- createVNode(_sfc_main$1, {
58
- ref_key: "selectComponent",
59
- ref: selectComponent,
60
- "model-value": arrayValue.value,
61
- search: _ctx.search,
62
- options: _ctx.options,
63
- title: _ctx.title,
64
- "mobile-title": _ctx.mobileTitle,
65
- description: _ctx.description,
66
- loading: _ctx.loading,
67
- "max-search-length": _ctx.maxSearchLength,
68
- "empty-stub": _ctx.emptyStub,
69
- "option-component": _ctx.optionComponent,
70
- readonly: _ctx.readonly,
71
- disabled: _ctx.disabled,
72
- skeleton: _ctx.skeleton,
73
- "allow-create": _ctx.allowCreate,
74
- "error-message": _ctx.errorMessage,
75
- "has-changes": _ctx.hasChanges,
76
- placeholder: _ctx.placeholder,
77
- "search-size": _ctx.searchSize,
78
- required: _ctx.required,
79
- "no-margin": _ctx.noMargin,
80
- icon: _ctx.icon,
81
- mono: _ctx.mono,
82
- autofocus: _ctx.autofocus,
83
- "disable-clear": !_ctx.allowClear,
84
- "hide-option-icon": _ctx.hideOptionIcon,
85
- "hide-prefix": "",
86
- onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
87
- onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue(_ctx.allowClear ? null : $event)),
88
- "onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
89
- "onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event)),
90
- onFocus: _cache[4] || (_cache[4] = ($event) => _ctx.searchModel && typeof _ctx.modelValue === "string" ? _ctx.$emit("update:search", _ctx.modelValue) : void 0)
91
- }, createSlots({
92
- option: withCtx(({ option, selected, model }) => [
93
- renderSlot(_ctx.$slots, "option", {
94
- option,
95
- selected,
96
- model
97
- })
77
+ return openBlock(), createBlock(_sfc_main$1, mergeProps({
78
+ ref_key: "selectComponent",
79
+ ref: selectComponent
80
+ }, {
81
+ ...props,
82
+ modelValue: arrayValue.value,
83
+ disableClear: !_ctx.allowClear,
84
+ hidePrefix: true
85
+ }, {
86
+ class: _ctx.$attrs.class,
87
+ onSelect: _cache[0] || (_cache[0] = ($event) => updateModelValue($event)),
88
+ onUnselect: _cache[1] || (_cache[1] = ($event) => updateModelValue(_ctx.allowClear ? null : $event)),
89
+ "onUpdate:search": _cache[2] || (_cache[2] = ($event) => emit("update:search", $event)),
90
+ "onCreate:option": _cache[3] || (_cache[3] = ($event) => createOption($event)),
91
+ onFocus: _cache[4] || (_cache[4] = ($event) => _ctx.searchModel && typeof _ctx.modelValue === "string" ? _ctx.$emit("update:search", _ctx.modelValue) : void 0)
92
+ }), createSlots({
93
+ option: withCtx(({ option, selected, model }) => [
94
+ renderSlot(_ctx.$slots, "option", {
95
+ option,
96
+ selected,
97
+ model
98
+ })
99
+ ]),
100
+ _: 2
101
+ }, [
102
+ _ctx.$slots.title ? {
103
+ name: "title",
104
+ fn: withCtx(() => [
105
+ renderSlot(_ctx.$slots, "title")
106
+ ]),
107
+ key: "0"
108
+ } : void 0,
109
+ _ctx.$slots.subtitle ? {
110
+ name: "subtitle",
111
+ fn: withCtx(() => [
112
+ renderSlot(_ctx.$slots, "subtitle")
113
+ ]),
114
+ key: "1"
115
+ } : void 0,
116
+ _ctx.$slots.right?.()?.length ? {
117
+ name: "right",
118
+ fn: withCtx(() => [
119
+ renderSlot(_ctx.$slots, "right")
98
120
  ]),
99
- _: 2
100
- }, [
101
- _ctx.$slots.right?.()?.length ? {
102
- name: "right",
103
- fn: withCtx(() => [
104
- renderSlot(_ctx.$slots, "right")
105
- ]),
106
- key: "0"
107
- } : void 0
108
- ]), 1032, ["model-value", "search", "options", "title", "mobile-title", "description", "loading", "max-search-length", "empty-stub", "option-component", "readonly", "disabled", "skeleton", "allow-create", "error-message", "has-changes", "placeholder", "search-size", "required", "no-margin", "icon", "mono", "autofocus", "disable-clear", "hide-option-icon"])
109
- ]);
121
+ key: "2"
122
+ } : void 0
123
+ ]), 1040, ["class"]);
110
124
  };
111
125
  }
112
126
  });