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
@@ -0,0 +1,26 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "20",
6
+ height: "20",
7
+ fill: "none",
8
+ viewBox: "0 0 24 24"
9
+ };
10
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
11
+ stroke: "currentColor",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-width": "1.5",
15
+ d: "m7.757 16.243 8.486-8.486M16.243 16.243 7.757 7.757"
16
+ }, null, -1);
17
+ const _hoisted_3 = [
18
+ _hoisted_2
19
+ ];
20
+
21
+ function render(_ctx, _cache) {
22
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]))
23
+ }
24
+ const IconClose = { render: render };
25
+
26
+ export { IconClose as default, render };
@@ -0,0 +1,24 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "20",
6
+ height: "20",
7
+ fill: "none",
8
+ viewBox: "0 0 24 24"
9
+ };
10
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
11
+ stroke: "currentColor",
12
+ "stroke-width": "1.5",
13
+ d: "M13.195 4.303 6.53 15.847m6.665-11.544c1.15-1.992 2.552-3.35 4.525-2.211 1.973 1.139 1.498 3.033.347 5.025m-4.872-2.814c.782 2.132 2.626 3.197 4.872 2.814M6.53 15.847c-.253.44-.487 1.175-.511 1.639l-.183 3.254c-.07 1.18.69 1.61 1.677.969l2.727-1.785c.38-.25.9-.819 1.163-1.263M6.53 15.847c.782 2.132 2.627 3.197 4.873 2.814m0 0 6.664-11.544"
14
+ }, null, -1);
15
+ const _hoisted_3 = [
16
+ _hoisted_2
17
+ ];
18
+
19
+ function render(_ctx, _cache) {
20
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]))
21
+ }
22
+ const IconEdit = { render: render };
23
+
24
+ export { IconEdit as default, render };
@@ -0,0 +1,27 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ width: "20",
6
+ height: "20",
7
+ fill: "none",
8
+ viewBox: "0 0 24 24"
9
+ };
10
+ const _hoisted_2 = /*#__PURE__*/createElementVNode("path", {
11
+ stroke: "currentColor",
12
+ "stroke-linecap": "round",
13
+ "stroke-linejoin": "round",
14
+ "stroke-miterlimit": "10",
15
+ "stroke-width": "1.5",
16
+ d: "M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2 2 6.48 2 12s4.48 10 10 10ZM18.9 5l-14 14"
17
+ }, null, -1);
18
+ const _hoisted_3 = [
19
+ _hoisted_2
20
+ ];
21
+
22
+ function render(_ctx, _cache) {
23
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [..._hoisted_3]))
24
+ }
25
+ const IconSlash = { render: render };
26
+
27
+ export { IconSlash as default, render };
@@ -1,8 +1,135 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  top?(_: {}): any;
3
3
  bottom?(_: {}): any;
4
- }>;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
6
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
5
7
  export default _default;
8
+ export declare const __VLS_globalTypesStart: {};
9
+ declare module 'vue' {
10
+ interface GlobalComponents {
11
+ }
12
+ }
13
+ declare global {
14
+ type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
15
+ type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
16
+ type __VLS_GlobalComponents = import('vue').GlobalComponents & Pick<typeof import('vue'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>;
17
+ type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
18
+ type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
19
+ const __VLS_intrinsicElements: __VLS_IntrinsicElements;
20
+ function __VLS_getVForSourceType(source: number): [number, number, number][];
21
+ function __VLS_getVForSourceType(source: string): [string, number, number][];
22
+ function __VLS_getVForSourceType<T extends any[]>(source: T): [
23
+ item: T[number],
24
+ key: number,
25
+ index: number
26
+ ][];
27
+ function __VLS_getVForSourceType<T extends {
28
+ [Symbol.iterator](): Iterator<any>;
29
+ }>(source: T): [
30
+ item: T extends {
31
+ [Symbol.iterator](): Iterator<infer T1>;
32
+ } ? T1 : never,
33
+ key: number,
34
+ index: undefined
35
+ ][];
36
+ function __VLS_getVForSourceType<T extends number | {
37
+ [Symbol.iterator](): Iterator<any>;
38
+ }>(source: T): [
39
+ item: number | (Exclude<T, number> extends {
40
+ [Symbol.iterator](): Iterator<infer T1>;
41
+ } ? T1 : never),
42
+ key: number,
43
+ index: undefined
44
+ ][];
45
+ function __VLS_getVForSourceType<T>(source: T): [
46
+ item: T[keyof T],
47
+ key: keyof T,
48
+ index: number
49
+ ][];
50
+ function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
51
+ function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
52
+ function __VLS_directiveFunction<T>(dir: T): T extends import('vue').ObjectDirective<infer E, infer V> | import('vue').FunctionDirective<infer E, infer V> ? (value: V) => void : T;
53
+ function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
54
+ function __VLS_makeOptional<T>(t: T): {
55
+ [K in keyof T]?: T[K];
56
+ };
57
+ function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
58
+ type __VLS_SelfComponent<N, C> = string extends N ? {} : N extends string ? {
59
+ [P in N]: C;
60
+ } : {};
61
+ type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> = N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
62
+ [K in N0]: LocalComponents[N1];
63
+ } : N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
64
+ [K in N0]: LocalComponents[N2];
65
+ } : N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : {
66
+ [K in N0]: LocalComponents[N3];
67
+ } : N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
68
+ [K in N0]: __VLS_GlobalComponents[N1];
69
+ } : N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
70
+ [K in N0]: __VLS_GlobalComponents[N2];
71
+ } : N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : {
72
+ [K in N0]: __VLS_GlobalComponents[N3];
73
+ } : {
74
+ [K in N0]: unknown;
75
+ };
76
+ function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K): T extends new (...args: any) => any ? (props: (K extends {
77
+ $props: infer Props;
78
+ } ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & {
79
+ __ctx?: {
80
+ attrs?: any;
81
+ slots?: K extends {
82
+ $slots: infer Slots;
83
+ } ? Slots : any;
84
+ emit?: K extends {
85
+ $emit: infer Emit;
86
+ } ? Emit : any;
87
+ } & {
88
+ props?: (K extends {
89
+ $props: infer Props;
90
+ } ? Props : any) & Record<string, unknown>;
91
+ expose?(exposed: K): void;
92
+ };
93
+ } : T extends () => any ? (props: {}, ctx?: any) => ReturnType<T> : T extends (...args: any) => any ? T : (_: {} & Record<string, unknown>, ctx?: any) => {
94
+ __ctx?: {
95
+ attrs?: any;
96
+ expose?: any;
97
+ slots?: any;
98
+ emit?: any;
99
+ props?: {} & Record<string, unknown>;
100
+ };
101
+ };
102
+ function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
103
+ function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): Parameters<T>['length'] extends 2 ? [any] : [];
104
+ function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): __VLS_PickNotAny<'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
105
+ __ctx?: infer Ctx;
106
+ } ? Ctx : never : any, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any>;
107
+ type __VLS_FunctionalComponentProps<T, K> = '__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends {
108
+ __ctx?: {
109
+ props?: infer P;
110
+ };
111
+ } ? NonNullable<P> : never : T extends (props: infer P, ...args: any) => any ? P : {};
112
+ type __VLS_IsFunction<T, K> = K extends keyof T ? __VLS_IsAny<T[K]> extends false ? unknown extends T[K] ? false : true : false : false;
113
+ function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
114
+ /**
115
+ * emit
116
+ */
117
+ type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
118
+ type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R ? U extends T ? never : __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R) : never;
119
+ type __VLS_OverloadUnion<T> = Exclude<__VLS_OverloadUnionInner<(() => never) & T>, T extends () => never ? never : () => never>;
120
+ type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F ? F extends (event: infer E, ...args: infer A) => any ? {
121
+ [K in E & string]: (...args: A) => void;
122
+ } : never : never;
123
+ type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<__VLS_UnionToIntersection<__VLS_ConstructorOverloads<T> & {
124
+ [K in keyof T]: T[K] extends any[] ? {
125
+ (...args: T[K]): void;
126
+ } : never;
127
+ }>>;
128
+ type __VLS_PrettifyGlobal<T> = {
129
+ [K in keyof T]: T[K];
130
+ } & {};
131
+ }
132
+ export declare const __VLS_globalTypesEnd: {};
6
133
  type __VLS_WithTemplateSlots<T, S> = T & {
7
134
  new (): {
8
135
  $slots: S;
@@ -1 +1 @@
1
- {"version":3,"file":"WActionsBar.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ActionsBar/WActionsBar.vue"],"names":[],"mappings":"AAgEA;;;;;AA4OA,wBAAwG;AACx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AC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -33,8 +33,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
33
33
  closeModal = null;
34
34
  });
35
35
  watch(hasFilter, (value) => {
36
- if (!value)
37
- close();
36
+ if (!value) close();
38
37
  });
39
38
  return (_ctx, _cache) => {
40
39
  return openBlock(), createElementBlock("div", {
@@ -1,20 +1,30 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ toggle?(_: {
3
+ unclickable: boolean;
4
+ }): any;
5
+ toggle?(_: {
6
+ unclickable: boolean;
7
+ }): any;
8
+ content?(_: {}): any;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
11
  isOpen: boolean;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
13
  close: () => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
6
15
  isOpen: boolean;
7
16
  }>>> & {
8
17
  onClose?: (() => any) | undefined;
9
- }, {}, {}>, {
10
- toggle?(_: {
11
- unclickable: boolean;
12
- }): any;
13
- content?(_: {}): any;
14
- }>;
18
+ }, {}, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
20
  export default _default;
21
+ type __VLS_WithTemplateSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
16
26
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
27
+ type __VLS_TypePropsToOption<T> = {
18
28
  [K in keyof T]-?: {} extends Pick<T, K> ? {
19
29
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
30
  } : {
@@ -22,9 +32,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
22
32
  required: true;
23
33
  };
24
34
  };
25
- type __VLS_WithTemplateSlots<T, S> = T & {
26
- new (): {
27
- $slots: S;
28
- };
29
- };
30
35
  //# sourceMappingURL=WBottomSheet.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"AAmEA;;;;;;;;;;;;;;;AAiRA,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"WBottomSheet.vue.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/WBottomSheet.vue"],"names":[],"mappings":"AAoMA,iBAAS,cAAc;;;QAoJK,GAAG;;;QACF,GAAG;qBACF,GAAG;EAuBhC;AACD,QAAA,MAAM,eAAe;YA5OX,OAAO;;;;YAAP,OAAO;;;UAmPf,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
@@ -35,11 +35,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
35
  });
36
36
  let timeout;
37
37
  watch(backdrop, (value, oldValue) => {
38
- if (oldValue)
39
- observer.unobserve(oldValue);
38
+ if (oldValue) observer.unobserve(oldValue);
40
39
  if (value) {
41
- if (timeout)
42
- clearTimeout(timeout);
40
+ if (timeout) clearTimeout(timeout);
43
41
  timeout = setTimeout(() => {
44
42
  observer.observe(value);
45
43
  }, 500);
@@ -1,5 +1,6 @@
1
1
  import { SemanticType } from '../../utils/SemanticType';
2
- import type { LinkProps } from '../../types/types';
2
+ import { LinkProps } from '../../types/types';
3
+
3
4
  interface Props extends LinkProps {
4
5
  semanticType?: SemanticType;
5
6
  disabled?: boolean;
@@ -12,16 +13,19 @@ interface Props extends LinkProps {
12
13
  minimize?: boolean;
13
14
  join?: boolean;
14
15
  }
15
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
16
+ declare function __VLS_template(): {
17
+ default?(_: {}): any;
18
+ };
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
16
20
  semanticType: SemanticType;
17
21
  tag: string;
18
22
  to: undefined;
19
23
  type: undefined;
20
24
  href: undefined;
21
25
  target: undefined;
22
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
27
  click: (event: MouseEvent | KeyboardEvent) => void;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
25
29
  semanticType: SemanticType;
26
30
  tag: string;
27
31
  to: undefined;
@@ -34,22 +38,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
34
38
  type: string;
35
39
  tag: "a" | "button";
36
40
  semanticType: SemanticType;
37
- to: import("vue-router").RouteLocationRaw;
41
+ to: import('vue-router').RouterLinkProps["to"];
38
42
  target: "_self" | "_blank" | "_parent" | "_top";
39
43
  href: string;
40
- }, {}>, {
41
- default?(_: {}): any;
42
- }>;
44
+ }, {}>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
43
46
  export default _default;
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToRuntimeProps<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('vue').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
53
47
  type __VLS_WithDefaults<P, D> = {
54
48
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
49
  default: D[K];
@@ -63,4 +57,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
63
57
  $slots: S;
64
58
  };
65
59
  };
60
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
+ type __VLS_TypePropsToOption<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
63
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
+ } : {
65
+ type: import('vue').PropType<T[K]>;
66
+ required: true;
67
+ };
68
+ };
66
69
  //# sourceMappingURL=WButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButton.vue"],"names":[],"mappings":"AAgDA;AAGA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AAGjD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAI5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,GAAG,CAAC,EAAE,GAAG,GAAG,QAAQ,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAA;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;CACf;;;;;;;;;;;;;;;;;;;;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,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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"}
@@ -24,8 +24,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
24
24
  const props = __props;
25
25
  const emit = __emit;
26
26
  const click = (event) => {
27
- if (props.disabled || props.loading)
28
- return;
27
+ if (props.disabled || props.loading) return;
29
28
  emit("click", event);
30
29
  };
31
30
  return (_ctx, _cache) => {
@@ -1,5 +1,6 @@
1
1
  import { SemanticType } from '../../utils/SemanticType';
2
- import type { LinkProps } from '../../types/types';
2
+ import { LinkProps } from '../../types/types';
3
+
3
4
  interface Props extends LinkProps {
4
5
  icon?: SVGComponent;
5
6
  title: string;
@@ -9,15 +10,18 @@ interface Props extends LinkProps {
9
10
  semanticType?: SemanticType;
10
11
  outline?: boolean;
11
12
  }
12
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ declare function __VLS_template(): {
14
+ icon?(_: {}): any;
15
+ };
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
13
17
  icon: undefined;
14
18
  tag: string;
15
19
  to: undefined;
16
20
  count: undefined;
17
21
  semanticType: SemanticType;
18
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
23
  click: (event: MouseEvent) => void;
20
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
24
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
25
  icon: undefined;
22
26
  tag: string;
23
27
  to: undefined;
@@ -28,22 +32,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
28
32
  }, {
29
33
  count: number;
30
34
  icon: SVGComponent;
31
- tag: "a" | "button";
35
+ tag: "button" | "a";
32
36
  semanticType: SemanticType;
33
- to: import("vue-router").RouteLocationRaw;
34
- }, {}>, {
35
- icon?(_: {}): any;
36
- }>;
37
+ to: import('vue-router').RouterLinkProps["to"];
38
+ }, {}>;
39
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
37
40
  export default _default;
38
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
39
- type __VLS_TypePropsToRuntimeProps<T> = {
40
- [K in keyof T]-?: {} extends Pick<T, K> ? {
41
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
- } : {
43
- type: import('vue').PropType<T[K]>;
44
- required: true;
45
- };
46
- };
47
41
  type __VLS_WithDefaults<P, D> = {
48
42
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
49
43
  default: D[K];
@@ -57,4 +51,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
57
51
  $slots: S;
58
52
  };
59
53
  };
54
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
+ type __VLS_TypePropsToOption<T> = {
56
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
57
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
+ } : {
59
+ type: import('vue').PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
60
63
  //# sourceMappingURL=WButtonAction.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonAction.vue"],"names":[],"mappings":"AAmCA;AAIA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACjD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,eAAe,CAAA;AAsB5C,UAAU,KAAM,SAAQ,SAAS;IAC/B,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,GAAG,CAAC,EAAE,QAAQ,GAAG,GAAG,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;AA+ID,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CA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AAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAOxG,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GACvC,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AAEN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AAExD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACpC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC;AAEN,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,11 +1,11 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
2
  value: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
3
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
4
4
  value: string;
5
5
  }>>>, {}, {}>;
6
6
  export default _default;
7
7
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
8
+ type __VLS_TypePropsToOption<T> = {
9
9
  [K in keyof T]-?: {} extends Pick<T, K> ? {
10
10
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
11
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"WButtonCopy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonCopy.vue"],"names":[],"mappings":"AAsBA;;WAkKS,MAAM;;WAAN,MAAM;;AANf,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"WButtonCopy.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonCopy.vue"],"names":[],"mappings":";WA0CS,MAAM;;WAAN,MAAM;;AAkFf,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,8 +1,6 @@
1
- import { defineComponent, ref, openBlock, createElementBlock, createBlock, unref, createVNode } from 'vue';
2
- import IconCopy from '../../assets/icons/sax/IconCopy.svg.js';
3
- import IconCopySuccess from '../../assets/icons/sax/IconCopySuccess.svg.js';
4
- import { Notify } from '../../utils/Notify.js';
1
+ import { defineComponent, toRef, openBlock, createElementBlock, unref, createBlock, resolveDynamicComponent, normalizeClass, createVNode } from 'vue';
5
2
  import _sfc_main$1 from '../Tooltip/WTooltip.vue.js';
3
+ import { useCopy } from '../../utils/useCopy.js';
6
4
 
7
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
6
  __name: "WButtonCopy",
@@ -11,49 +9,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11
9
  },
12
10
  setup(__props) {
13
11
  const props = __props;
14
- const copied = ref(false);
15
- let timeout;
16
- const checkPermission = async () => {
17
- const result = await navigator.permissions.query({ name: "clipboard-write" });
18
- return result.state === "granted" || result.state === "prompt";
19
- };
20
- const doCopy = async () => {
21
- if (!await checkPermission()) {
22
- Notify.error({
23
- title: "Copy failed",
24
- caption: "Writing to clipboard is not permitted"
25
- });
26
- return;
27
- }
28
- navigator.clipboard.writeText(props.value).then(() => {
29
- copied.value = true;
30
- Notify.success({
31
- title: "Copied"
32
- });
33
- if (timeout)
34
- clearTimeout(timeout);
35
- timeout = setTimeout(() => {
36
- timeout = void 0;
37
- copied.value = false;
38
- }, 500);
39
- }).catch(() => {
40
- Notify.error({
41
- title: "Copy failed"
42
- });
43
- });
44
- };
12
+ const { doCopy, iconCopy, copied } = useCopy(toRef(props, "value"));
45
13
  return (_ctx, _cache) => {
46
14
  return openBlock(), createElementBlock("div", {
47
15
  class: "relative inline-block text-description square-5 cursor-pointer select-none w-hover-circle",
48
- onClick: _cache[0] || (_cache[0] = ($event) => doCopy())
16
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(doCopy)())
49
17
  }, [
50
- copied.value ? (openBlock(), createBlock(unref(IconCopySuccess), {
51
- key: 0,
52
- class: "-mt-[1px] text-primary-default dark:text-primary-dark"
53
- })) : (openBlock(), createBlock(unref(IconCopy), {
54
- key: 1,
55
- class: "-mt-[1px]"
56
- })),
18
+ (openBlock(), createBlock(resolveDynamicComponent(unref(iconCopy)), {
19
+ class: normalizeClass(["-mt-[1px]", {
20
+ "text-primary-default dark:text-primary-dark": unref(copied)
21
+ }])
22
+ }, null, 8, ["class"])),
57
23
  createVNode(_sfc_main$1, {
58
24
  class: "pointer-events-none",
59
25
  text: "Copy",