eco-vue-js 0.5.26 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (309) 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 +33 -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 → types.d.ts} +4 -3
  210. package/dist/components/Modal/types.d.ts.map +1 -0
  211. package/dist/components/Nav/WNavBar.vue.d.ts +7 -5
  212. package/dist/components/Nav/WNavBar.vue.d.ts.map +1 -1
  213. package/dist/components/Nav/WNavItem.vue.d.ts +16 -13
  214. package/dist/components/Nav/WNavItem.vue.d.ts.map +1 -1
  215. package/dist/components/Nav/WNavItem.vue.js +1 -2
  216. package/dist/components/Nav/WNavItemExpand.vue.d.ts +15 -12
  217. package/dist/components/Nav/WNavItemExpand.vue.d.ts.map +1 -1
  218. package/dist/components/Nav/WNavItemExpand.vue.js +3 -0
  219. package/dist/components/Nav/WNavItemTransition.vue.d.ts +4 -2
  220. package/dist/components/Nav/WNavItemTransition.vue.d.ts.map +1 -1
  221. package/dist/components/Notify/WNotify.vue.d.ts +1 -1
  222. package/dist/components/Notify/WNotify.vue.d.ts.map +1 -1
  223. package/dist/components/Notify/WNotify.vue.js +1 -2
  224. package/dist/components/Notify/components/NotifyCard.vue.d.ts +15 -14
  225. package/dist/components/Notify/components/NotifyCard.vue.d.ts.map +1 -1
  226. package/dist/components/Notify/components/NotifyCard.vue.js +2 -4
  227. package/dist/components/Notify/models/types.d.ts +3 -2
  228. package/dist/components/Select/WSelect.vue.d.ts +41 -188
  229. package/dist/components/Select/WSelect.vue.d.ts.map +1 -1
  230. package/dist/components/Select/WSelect.vue.js +74 -66
  231. package/dist/components/Select/WSelectAsync.vue.d.ts +32 -207
  232. package/dist/components/Select/WSelectAsync.vue.d.ts.map +1 -1
  233. package/dist/components/Select/WSelectAsync.vue.js +78 -60
  234. package/dist/components/Select/WSelectAsyncList.vue.d.ts +33 -111
  235. package/dist/components/Select/WSelectAsyncList.vue.d.ts.map +1 -1
  236. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts +24 -166
  237. package/dist/components/Select/WSelectAsyncSingle.vue.d.ts.map +1 -1
  238. package/dist/components/Select/WSelectAsyncSingle.vue.js +93 -82
  239. package/dist/components/Select/WSelectSingle.vue.d.ts +25 -149
  240. package/dist/components/Select/WSelectSingle.vue.d.ts.map +1 -1
  241. package/dist/components/Select/WSelectSingle.vue.js +84 -70
  242. package/dist/components/Select/components/SelectAsyncList.vue.d.ts +43 -133
  243. package/dist/components/Select/components/SelectAsyncList.vue.d.ts.map +1 -1
  244. package/dist/components/Select/components/SelectAsyncList.vue.js +7 -14
  245. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts +37 -104
  246. package/dist/components/Select/components/SelectAsyncPrefix.vue.d.ts.map +1 -1
  247. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts +37 -102
  248. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.d.ts.map +1 -1
  249. package/dist/components/Select/components/SelectAsyncPrefixPage.vue.js +1 -2
  250. package/dist/components/Select/components/SelectOption.vue.d.ts +45 -132
  251. package/dist/components/Select/components/SelectOption.vue.d.ts.map +1 -1
  252. package/dist/components/Select/components/SelectOption.vue.js +12 -24
  253. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts +23 -52
  254. package/dist/components/Select/components/SelectOptionPrefix.vue.d.ts.map +1 -1
  255. package/dist/components/Select/types.d.ts +47 -0
  256. package/dist/components/Select/types.d.ts.map +1 -0
  257. package/dist/components/Skeleton/WSkeleton.vue.d.ts +1 -1
  258. package/dist/components/Skeleton/WSkeleton.vue.d.ts.map +1 -1
  259. package/dist/components/Spinner/WSpinner.vue.d.ts +1 -1
  260. package/dist/components/Spinner/WSpinner.vue.d.ts.map +1 -1
  261. package/dist/components/Tabs/WTabs.vue.d.ts +22 -24
  262. package/dist/components/Tabs/WTabs.vue.d.ts.map +1 -1
  263. package/dist/components/Tabs/WTabs.vue.js +6 -12
  264. package/dist/components/Tabs/WTabsColumns.vue.d.ts +3 -3
  265. package/dist/components/Tabs/WTabsColumns.vue.d.ts.map +1 -1
  266. package/dist/components/Tabs/components/TabItem.vue.d.ts +14 -12
  267. package/dist/components/Tabs/components/TabItem.vue.d.ts.map +1 -1
  268. package/dist/components/Tabs/components/TabItem.vue.js +3 -6
  269. package/dist/components/Tabs/models/injection.d.ts +2 -1
  270. package/dist/components/Tabs/models/injection.d.ts.map +1 -1
  271. package/dist/components/Tabs/use/useTabItemActiveListener.js +1 -2
  272. package/dist/components/Toggle/WToggle.vue.d.ts +19 -50
  273. package/dist/components/Toggle/WToggle.vue.d.ts.map +1 -1
  274. package/dist/components/Toggle/WToggle.vue.js +1 -2
  275. package/dist/components/Tooltip/WTooltip.vue.d.ts +15 -15
  276. package/dist/components/Tooltip/WTooltip.vue.d.ts.map +1 -1
  277. package/dist/components/Tooltip/WTooltip.vue.js +4 -8
  278. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts +1 -1
  279. package/dist/components/Tooltip/WTooltipContainer.vue.d.ts.map +1 -1
  280. package/dist/components/Tooltip/WTooltipContainer.vue.js +1 -2
  281. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts +22 -19
  282. package/dist/components/Tooltip/components/TooltipContainer.vue.d.ts.map +1 -1
  283. package/dist/components/Tooltip/components/TooltipContainer.vue.js +5 -10
  284. package/dist/imports/componentsPlugin.d.ts +64 -63
  285. package/dist/imports/iconsSax.d.ts +3 -0
  286. package/dist/imports/iconsSax.d.ts.map +1 -1
  287. package/dist/imports/iconsSax.js +3 -0
  288. package/dist/main.d.ts +1 -0
  289. package/dist/main.d.ts.map +1 -1
  290. package/dist/main.js +1 -0
  291. package/dist/utils/DOMListenerContainer.js +2 -4
  292. package/dist/utils/Modal.d.ts +4 -3
  293. package/dist/utils/Modal.d.ts.map +1 -1
  294. package/dist/utils/Notify.d.ts +5 -4
  295. package/dist/utils/Notify.d.ts.map +1 -1
  296. package/dist/utils/Tooltip.d.ts +2 -1
  297. package/dist/utils/dateTime.d.ts.map +1 -1
  298. package/dist/utils/dateTime.js +28 -56
  299. package/dist/utils/useCopy.d.ts +8 -0
  300. package/dist/utils/useCopy.d.ts.map +1 -0
  301. package/dist/utils/useCopy.js +56 -0
  302. package/dist/utils/useDefaultQuery.d.ts +4 -3
  303. package/dist/utils/useDefaultQuery.d.ts.map +1 -1
  304. package/dist/utils/utils.d.ts.map +1 -1
  305. package/dist/utils/utils.js +10 -20
  306. package/package.json +43 -19
  307. package/tailwind-base/plugins/default.cjs +6 -0
  308. package/tailwind-base/theme/sizes.cjs +2 -0
  309. package/dist/components/Modal/modals/Confirm/types.d.ts.map +0 -1
@@ -38,35 +38,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
38
38
  return date;
39
39
  });
40
40
  const isBeforeTo = computed(() => {
41
- if (!props.dateRange)
42
- return false;
41
+ if (!props.dateRange) return false;
43
42
  return props.dateRange.to > endOfLastWeek.value;
44
43
  });
45
44
  const isAfterFrom = computed(() => {
46
- if (!props.dateRange)
47
- return false;
45
+ if (!props.dateRange) return false;
48
46
  return props.dateRange.from < startOfFirstWeek.value;
49
47
  });
50
48
  const isBetweenRange = computed(() => {
51
- if (props.isBetween)
52
- return true;
49
+ if (props.isBetween) return true;
53
50
  return isBeforeTo.value && isAfterFrom.value;
54
51
  });
55
52
  const isBeforeFrom = computed(() => {
56
- if (!props.dateRange)
57
- return false;
53
+ if (!props.dateRange) return false;
58
54
  return props.dateRange.from > endOfLastWeek.value;
59
55
  });
60
56
  const isAfterTo = computed(() => {
61
- if (!props.dateRange)
62
- return false;
57
+ if (!props.dateRange) return false;
63
58
  return props.dateRange.to < startOfFirstWeek.value;
64
59
  });
65
60
  const isEmpty = computed(() => {
66
- if (props.isBetween)
67
- return false;
68
- if (!props.dateRange)
69
- return true;
61
+ if (props.isBetween) return false;
62
+ if (!props.dateRange) return true;
70
63
  return isBeforeFrom.value && isBeforeTo.value || isAfterFrom.value && isAfterTo.value;
71
64
  });
72
65
  return (_ctx, _cache) => {
@@ -1,9 +1,9 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
2
  text: string;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
4
  "click:next": () => void;
5
5
  "click:previous": () => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
7
7
  text: string;
8
8
  }>>> & {
9
9
  "onClick:next"?: (() => any) | undefined;
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
11
11
  }, {}, {}>;
12
12
  export default _default;
13
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
14
- type __VLS_TypePropsToRuntimeProps<T> = {
14
+ type __VLS_TypePropsToOption<T> = {
15
15
  [K in keyof T]-?: {} extends Pick<T, K> ? {
16
16
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
17
17
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarToggle.vue"],"names":[],"mappings":"AAyCA;;UA2JQ,MAAM;;;;;UAAN,MAAM;;;;;AANd,wBASG;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":"CalendarToggle.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarToggle.vue"],"names":[],"mappings":";UA8DQ,MAAM;;;;;UAAN,MAAM;;;;;AAiJd,wBAOG;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,21 +1,21 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
2
  title: string;
3
3
  currentDate: Date;
4
- value?: Date | undefined;
5
- autoFocus?: boolean | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ value?: Date;
5
+ autoFocus?: boolean;
6
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  "update:currentDate": (value: Date) => void;
8
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
9
9
  title: string;
10
10
  currentDate: Date;
11
- value?: Date | undefined;
12
- autoFocus?: boolean | undefined;
11
+ value?: Date;
12
+ autoFocus?: boolean;
13
13
  }>>> & {
14
14
  "onUpdate:currentDate"?: ((value: Date) => any) | undefined;
15
15
  }, {}, {}>;
16
16
  export default _default;
17
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
18
+ type __VLS_TypePropsToOption<T> = {
19
19
  [K in keyof T]-?: {} extends Pick<T, K> ? {
20
20
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
21
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarValue.vue"],"names":[],"mappings":"AA0BA;;WAuHS,MAAM;iBACA,IAAI;;;;;;WADV,MAAM;iBACA,IAAI;;;;;;AAPnB,wBAYG;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":"CalendarValue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarValue.vue"],"names":[],"mappings":";WAiES,MAAM;iBACA,IAAI;YACT,IAAI;gBACA,OAAO;;;;WAHZ,MAAM;iBACA,IAAI;YACT,IAAI;gBACA,OAAO;;;;AAoGrB,wBAOG;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"}
@@ -16,8 +16,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  const emit = __emit;
17
17
  const clickable = computed(() => props.value && !isSameMonth(props.value, props.currentDate));
18
18
  const updateCurrentDate = () => {
19
- if (!props.value || !clickable.value)
20
- return;
19
+ if (!props.value || !clickable.value) return;
21
20
  emit("update:currentDate", getStartOfMonth(props.value));
22
21
  };
23
22
  onBeforeMount(() => {
@@ -1,17 +1,18 @@
1
- import type { DateRange } from '../models/types';
2
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ import { DateRange } from '../models/types';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
4
  startOfMonth: Date;
4
5
  startOfWeek: Date;
5
- dateRange?: DateRange | undefined;
6
+ dateRange?: DateRange;
6
7
  isBetween: boolean;
7
8
  isHoverEnabled: boolean;
8
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
10
  "click:day": (value: Date) => void;
10
11
  "hover:day": (value: Date) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
12
13
  startOfMonth: Date;
13
14
  startOfWeek: Date;
14
- dateRange?: DateRange | undefined;
15
+ dateRange?: DateRange;
15
16
  isBetween: boolean;
16
17
  isHoverEnabled: boolean;
17
18
  }>>> & {
@@ -20,7 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
20
21
  }, {}, {}>;
21
22
  export default _default;
22
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<T> = {
24
+ type __VLS_TypePropsToOption<T> = {
24
25
  [K in keyof T]-?: {} extends Pick<T, K> ? {
25
26
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
27
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarWeek.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarWeek.vue"],"names":[],"mappings":"AAgBA;AAGA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAgK9B,IAAI;iBACL,IAAI;;eAEN,OAAO;oBACF,OAAO;;;;;kBAJT,IAAI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,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC"}
@@ -25,35 +25,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25
25
  return props.startOfWeek.getMonth() !== month || endOfWeek.value.getMonth() !== month;
26
26
  });
27
27
  const isBeforeTo = computed(() => {
28
- if (!props.dateRange)
29
- return false;
28
+ if (!props.dateRange) return false;
30
29
  return props.dateRange.to > endOfWeek.value;
31
30
  });
32
31
  const isAfterFrom = computed(() => {
33
- if (!props.dateRange)
34
- return false;
32
+ if (!props.dateRange) return false;
35
33
  return props.dateRange.from < props.startOfWeek;
36
34
  });
37
35
  const isBetweenRange = computed(() => {
38
- if (props.isBetween)
39
- return true;
36
+ if (props.isBetween) return true;
40
37
  return isBeforeTo.value && isAfterFrom.value;
41
38
  });
42
39
  const isBeforeFrom = computed(() => {
43
- if (!props.dateRange)
44
- return false;
40
+ if (!props.dateRange) return false;
45
41
  return props.dateRange.from > endOfWeek.value;
46
42
  });
47
43
  const isAfterTo = computed(() => {
48
- if (!props.dateRange)
49
- return false;
44
+ if (!props.dateRange) return false;
50
45
  return props.dateRange.to < props.startOfWeek;
51
46
  });
52
47
  const isEmpty = computed(() => {
53
- if (props.isBetween)
54
- return false;
55
- if (!props.dateRange)
56
- return true;
48
+ if (props.isBetween) return false;
49
+ if (!props.dateRange) return true;
57
50
  return isBeforeFrom.value && isBeforeTo.value || isAfterFrom.value && isAfterTo.value;
58
51
  });
59
52
  return (_ctx, _cache) => {
@@ -1,34 +1,28 @@
1
- import { HorizontalAlign } from '../../utils/HorizontalAlign';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- maxHeight: number;
4
- maxWidth: number;
5
- horizontalAlign: HorizontalAlign;
6
- parentElement: Element;
7
- updateAlign?: boolean | undefined;
8
- emitUpdate?: boolean | undefined;
9
- }>, {
10
- update: () => void;
11
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
- "update:rect": () => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
- maxHeight: number;
15
- maxWidth: number;
16
- horizontalAlign: HorizontalAlign;
17
- parentElement: Element;
18
- updateAlign?: boolean | undefined;
19
- emitUpdate?: boolean | undefined;
20
- }>>> & {
21
- "onUpdate:rect"?: (() => any) | undefined;
22
- }, {}, {}>, {
1
+ import { DropdownProps } from './types';
2
+
3
+ declare function __VLS_template(): {
23
4
  default?(_: {
24
5
  left: string;
25
6
  right: string;
26
7
  istop: boolean;
27
8
  }): any;
28
- }>;
9
+ };
10
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<DropdownProps>, {
11
+ update: () => void;
12
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ "update:rect": () => void;
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<DropdownProps>>> & {
15
+ "onUpdate:rect"?: (() => any) | undefined;
16
+ }, {}, {}>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
29
18
  export default _default;
19
+ type __VLS_WithTemplateSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
30
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
25
+ type __VLS_TypePropsToOption<T> = {
32
26
  [K in keyof T]-?: {} extends Pick<T, K> ? {
33
27
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
28
  } : {
@@ -36,9 +30,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
36
30
  required: true;
37
31
  };
38
32
  };
39
- type __VLS_WithTemplateSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
44
33
  //# sourceMappingURL=WDropdown.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"AAgBA;AAMA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4MvD,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":"WDropdown.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/WDropdown.vue"],"names":[],"mappings":"AAmIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAA;AAqH1C,iBAAS,cAAc;;;;;QA6BM,GAAG;EAkB/B;AACD,QAAA,MAAM,eAAe;;;;;;UAQnB,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"}
@@ -41,22 +41,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  const isTopChanged = newRect.top !== parentRect?.top || newRect.bottom !== parentRect?.bottom;
42
42
  if (!horizontalGetter || isLeftChanged && (props.updateAlign || updateAlign)) {
43
43
  horizontalGetter = searchStyleGetter(order.value, newRect, props.maxWidth);
44
- if (updateSize)
45
- widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
44
+ if (updateSize) widthStyle.value = horizontalGetter.widthStyleGetter(newRect, props.maxWidth);
46
45
  }
47
46
  if (!verticalGetter || isTopChanged && (props.updateAlign || updateAlign)) {
48
47
  const order2 = horizontalGetter.verticalGetterOrder;
49
48
  verticalGetter = searchStyleGetter(order2, newRect, props.maxHeight);
50
49
  isTop.value = verticalGetter.isTop;
51
- if (updateSize)
52
- heightStyle.value = verticalGetter.heightStyleGetter(newRect, props.maxHeight);
50
+ if (updateSize) heightStyle.value = verticalGetter.heightStyleGetter(newRect, props.maxHeight);
53
51
  }
54
- if (isLeftChanged)
55
- horizontalStyle.value = horizontalGetter.styleGetter(newRect);
56
- if (isTopChanged)
57
- verticalStyle.value = verticalGetter.styleGetter(newRect);
58
- if (isLeftChanged || isTopChanged)
59
- parentRect = newRect;
52
+ if (isLeftChanged) horizontalStyle.value = horizontalGetter.styleGetter(newRect);
53
+ if (isTopChanged) verticalStyle.value = verticalGetter.styleGetter(newRect);
54
+ if (isLeftChanged || isTopChanged) parentRect = newRect;
60
55
  };
61
56
  onBeforeMount(() => {
62
57
  setParentRect(true);
@@ -64,14 +59,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
64
59
  let domListenerContainer;
65
60
  let requestAnimationFrameId = null;
66
61
  onMounted(() => {
67
- if (!isClientSide)
68
- return;
62
+ if (!isClientSide) return;
69
63
  domListenerContainer = new DOMListenerContainer(
70
64
  [document, window, ...getAllScrollParents(dropdown.value)],
71
65
  ["scroll", "touchmove", "resize"],
72
66
  () => {
73
- if (requestAnimationFrameId)
74
- window.cancelAnimationFrame(requestAnimationFrameId);
67
+ if (requestAnimationFrameId) window.cancelAnimationFrame(requestAnimationFrameId);
75
68
  if (props.emitUpdate) {
76
69
  emit("update:rect");
77
70
  return;
@@ -0,0 +1,11 @@
1
+ import { HorizontalAlign } from '../../utils/HorizontalAlign';
2
+
3
+ export interface DropdownProps {
4
+ maxHeight: number;
5
+ maxWidth: number;
6
+ horizontalAlign: HorizontalAlign;
7
+ parentElement: Element;
8
+ updateAlign?: boolean;
9
+ emitUpdate?: boolean;
10
+ }
11
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAA;AAE5D,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,EAAE,eAAe,CAAA;IAChC,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
@@ -1,4 +1,5 @@
1
1
  import { HorizontalAlign } from '../../../utils/HorizontalAlign';
2
+
2
3
  interface StyleGetter {
3
4
  styleGetter(parentRect: DOMRect): Record<string, string>;
4
5
  marginGetter(parentRect: DOMRect, maxHeightOrWidth: number): number;
@@ -132,10 +132,8 @@ function searchStyleGetter(order, parentRect, maxHeightOrWidth) {
132
132
  }
133
133
  function _maxHeightOrWidthGetter(getter, parentRect, maxHeightOrWidth) {
134
134
  const margin = getter.marginGetter(parentRect, maxHeightOrWidth);
135
- if (margin > 0)
136
- return maxHeightOrWidth;
137
- else
138
- return maxHeightOrWidth + margin;
135
+ if (margin > 0) return maxHeightOrWidth;
136
+ else return maxHeightOrWidth + margin;
139
137
  }
140
138
 
141
139
  export { HorizontalGetter, VerticalGetter, horizontalGetterOrderMap, searchStyleGetter };
@@ -1,29 +1,6 @@
1
- import type { HorizontalAlign } from '../../utils/HorizontalAlign';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- isOpen: boolean;
4
- maxHeight: number;
5
- maxWidth: number;
6
- horizontalAlign: HorizontalAlign;
7
- updateAlign?: boolean | undefined;
8
- emitUpdate?: boolean | undefined;
9
- teleport?: boolean | undefined;
10
- noZIndex?: boolean | undefined;
11
- }>, {
12
- updateDropdown: () => void;
13
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- "update:rect": () => void;
15
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
- isOpen: boolean;
17
- maxHeight: number;
18
- maxWidth: number;
19
- horizontalAlign: HorizontalAlign;
20
- updateAlign?: boolean | undefined;
21
- emitUpdate?: boolean | undefined;
22
- teleport?: boolean | undefined;
23
- noZIndex?: boolean | undefined;
24
- }>>> & {
25
- "onUpdate:rect"?: (() => any) | undefined;
26
- }, {}, {}>, {
1
+ import { DropdownMenuProps } from './types';
2
+
3
+ declare function __VLS_template(): {
27
4
  toggle?(_: {
28
5
  unclickable: boolean;
29
6
  }): any;
@@ -32,10 +9,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
32
9
  right: string;
33
10
  istop: boolean;
34
11
  }): any;
35
- }>;
12
+ };
13
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<DropdownMenuProps>, {
14
+ updateDropdown: () => void;
15
+ }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:rect": () => void;
17
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<DropdownMenuProps>>> & {
18
+ "onUpdate:rect"?: (() => any) | undefined;
19
+ }, {}, {}>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
36
21
  export default _default;
22
+ type __VLS_WithTemplateSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
37
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToRuntimeProps<T> = {
28
+ type __VLS_TypePropsToOption<T> = {
39
29
  [K in keyof T]-?: {} extends Pick<T, K> ? {
40
30
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
31
  } : {
@@ -43,9 +33,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
43
33
  required: true;
44
34
  };
45
35
  };
46
- type __VLS_WithTemplateSlots<T, S> = T & {
47
- new (): {
48
- $slots: S;
49
- };
50
- };
51
36
  //# sourceMappingURL=WDropdownMenu.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownMenu/WDropdownMenu.vue"],"names":[],"mappings":"AA4CA;AAIA,OAAO,KAAK,EAAC,eAAe,EAA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G,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"}
@@ -5,13 +5,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "WDropdownMenu",
6
6
  props: {
7
7
  isOpen: { type: Boolean },
8
+ teleport: { type: Boolean },
9
+ noZIndex: { type: Boolean },
8
10
  maxHeight: {},
9
11
  maxWidth: {},
10
12
  horizontalAlign: {},
11
13
  updateAlign: { type: Boolean },
12
- emitUpdate: { type: Boolean },
13
- teleport: { type: Boolean },
14
- noZIndex: { type: Boolean }
14
+ emitUpdate: { type: Boolean }
15
15
  },
16
16
  emits: ["update:rect"],
17
17
  setup(__props, { expose: __expose }) {
@@ -0,0 +1,8 @@
1
+ import { DropdownProps } from '../Dropdown/types';
2
+
3
+ export interface DropdownMenuProps extends Omit<DropdownProps, 'parentElement'> {
4
+ isOpen: boolean;
5
+ teleport?: boolean;
6
+ noZIndex?: boolean;
7
+ }
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAA;AAEpD,MAAM,WAAW,iBAAkB,SAAQ,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC;IAC7E,MAAM,EAAE,OAAO,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,31 +1,24 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- isOpen?: boolean | undefined;
3
- isShown?: boolean | undefined;
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
5
+ isOpen?: boolean;
6
+ isShown?: boolean;
4
7
  }>, {
5
8
  isOpen: boolean;
6
9
  isShown: boolean;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- isOpen?: boolean | undefined;
9
- isShown?: boolean | undefined;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
11
+ isOpen?: boolean;
12
+ isShown?: boolean;
10
13
  }>, {
11
14
  isOpen: boolean;
12
15
  isShown: boolean;
13
16
  }>>>, {
14
17
  isOpen: boolean;
15
18
  isShown: boolean;
16
- }, {}>, {
17
- default?(_: {}): any;
18
- }>;
19
+ }, {}>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
19
21
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToRuntimeProps<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
22
  type __VLS_WithDefaults<P, D> = {
30
23
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
31
24
  default: D[K];
@@ -39,4 +32,13 @@ type __VLS_WithTemplateSlots<T, S> = T & {
39
32
  $slots: S;
40
33
  };
41
34
  };
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToOption<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import('vue').PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
42
44
  //# sourceMappingURL=WExpansion.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WExpansion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansion.vue"],"names":[],"mappings":"AAsBA;;;;;;;;;;;;;;;;;;;AAiIA,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,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAA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C;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,25 +1,32 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- isOpen?: boolean | undefined;
3
- title?: string | undefined;
4
- icon?: SVGComponent | undefined;
5
- hasFlag?: boolean | undefined;
6
- minTitle?: boolean | undefined;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
5
+ isOpen?: boolean;
6
+ title?: string;
7
+ icon?: SVGComponent;
8
+ hasFlag?: boolean;
9
+ minTitle?: boolean;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
11
  toggle: () => void;
9
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
10
- isOpen?: boolean | undefined;
11
- title?: string | undefined;
12
- icon?: SVGComponent | undefined;
13
- hasFlag?: boolean | undefined;
14
- minTitle?: boolean | undefined;
12
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
13
+ isOpen?: boolean;
14
+ title?: string;
15
+ icon?: SVGComponent;
16
+ hasFlag?: boolean;
17
+ minTitle?: boolean;
15
18
  }>>> & {
16
19
  onToggle?: (() => any) | undefined;
17
- }, {}, {}>, {
18
- default?(_: {}): any;
19
- }>;
20
+ }, {}, {}>;
21
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
20
22
  export default _default;
23
+ type __VLS_WithTemplateSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
21
28
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
- type __VLS_TypePropsToRuntimeProps<T> = {
29
+ type __VLS_TypePropsToOption<T> = {
23
30
  [K in keyof T]-?: {} extends Pick<T, K> ? {
24
31
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
32
  } : {
@@ -27,9 +34,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
27
34
  required: true;
28
35
  };
29
36
  };
30
- type __VLS_WithTemplateSlots<T, S> = T & {
31
- new (): {
32
- $slots: S;
33
- };
34
- };
35
37
  //# sourceMappingURL=WExpansionItem.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WExpansionItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Expansion/WExpansionItem.vue"],"names":[],"mappings":"AAgDA;;;;;;;;;;;;;;;;;;;;AAiNA,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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