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
@@ -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
  icon: SVGComponent;
4
- disableMessage?: string | undefined;
5
- active?: boolean | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
+ disableMessage?: string;
5
+ active?: boolean;
6
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
7
  click: () => 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
  icon: SVGComponent;
11
- disableMessage?: string | undefined;
12
- active?: boolean | undefined;
11
+ disableMessage?: string;
12
+ active?: boolean;
13
13
  }>>> & {
14
14
  onClick?: (() => 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":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":"AA8BA;;WA6IS,MAAM;UACP,YAAY;;;;;;WADX,MAAM;UACP,YAAY;;;;;;AAPpB,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":"WButtonSelectionAction.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Button/WButtonSelectionAction.vue"],"names":[],"mappings":";WAqDS,MAAM;UACP,YAAY;qBACD,MAAM;aACd,OAAO;;;;WAHT,MAAM;UACP,YAAY;qBACD,MAAM;aACd,OAAO;;;;AAyGlB,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,4 +1,5 @@
1
1
  import { SemanticType } from '../../../utils/SemanticType';
2
+
2
3
  export declare const semanticTypeButtonStylesMap: Record<SemanticType, string>;
3
4
  export declare const semanticTypeButtonBorderStylesMap: Record<SemanticType, string>;
4
5
  export declare const semanticTypeTextStylesMap: Record<SemanticType, string>;
@@ -0,0 +1,33 @@
1
+ import { FieldWrapperProps } from '../FieldWrapper/types';
2
+ import { SemanticType } from '../../utils/SemanticType';
3
+ import { DropdownMenuProps } from '../DropdownMenu/types';
4
+
5
+ interface Props<Model extends number | string | null | boolean> extends Omit<FieldWrapperProps, 'modelValue'> {
6
+ modelValue: Model;
7
+ loading?: number | string;
8
+ minimize?: boolean;
9
+ wrap?: boolean;
10
+ col?: boolean;
11
+ semanticType?: SemanticType;
12
+ stretch?: boolean;
13
+ alwaysEmit?: boolean;
14
+ }
15
+ export interface ButtonGroupPropsForModel<Model extends number | string | null | boolean, Entity extends Record<string, unknown>, ValueGetter extends {
16
+ fn(value: Entity): Model;
17
+ }['fn'] | undefined = undefined> extends Props<Model> {
18
+ list: Model[];
19
+ valueGetter?: ValueGetter | undefined;
20
+ }
21
+ export interface ButtonGroupPropsForEntity<Model extends number | string | null | boolean, Entity extends Record<string, unknown>, ValueGetter extends {
22
+ fn(value: Entity): Model;
23
+ }['fn'] | undefined = undefined> extends Props<Model> {
24
+ list: Entity[];
25
+ valueGetter: ValueGetter | ((value: Entity) => Model);
26
+ }
27
+ export interface ButtonDropdownProps extends Omit<DropdownMenuProps, 'isOpen' | 'updateAlign' | 'emitUpdate'> {
28
+ semanticType?: SemanticType;
29
+ leftToggle?: boolean;
30
+ disabled?: boolean;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Button/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iCAAiC,CAAA;AAEtE,UAAU,KAAK,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,CAC5D,SAAQ,IAAI,CAAC,iBAAiB,EAAE,YAAY,CAAC;IAC7C,UAAU,EAAE,KAAK,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,GAAG,CAAC,EAAE,OAAO,CAAA;IACb,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,wBAAwB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,CAC5M,SAAQ,KAAK,CAAC,KAAK,CAAC;IACpB,IAAI,EAAE,KAAK,EAAE,CAAA;IACb,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAA;CACtC;AAED,MAAM,WAAW,yBAAyB,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,OAAO,EAAE,MAAM,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,SAAS;IAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAA;CAAC,CAAC,IAAI,CAAC,GAAG,SAAS,GAAG,SAAS,CAC7M,SAAQ,KAAK,CAAC,KAAK,CAAC;IACpB,IAAI,EAAE,MAAM,EAAE,CAAA;IACd,WAAW,EAAE,WAAW,GAAG,CAAC,CAAC,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,CAAA;CACtD;AAED,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,iBAAiB,EAAE,QAAQ,GAAG,aAAa,GAAG,YAAY,CAAC;IAC3G,YAAY,CAAC,EAAE,YAAY,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,39 +1,46 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
5
  modelValue: boolean | null;
3
- title?: string | undefined;
4
- disabled?: boolean | undefined;
5
- readonly?: boolean | undefined;
6
- icon?: SVGComponent | undefined;
7
- radio?: boolean | undefined;
8
- loading?: boolean | undefined;
9
- intermediate?: boolean | undefined;
10
- tooltipText?: string | undefined;
11
- allowShift?: boolean | undefined;
12
- alignTop?: boolean | undefined;
13
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
+ title?: string;
7
+ disabled?: boolean;
8
+ readonly?: boolean;
9
+ icon?: SVGComponent;
10
+ radio?: boolean;
11
+ loading?: boolean;
12
+ intermediate?: boolean;
13
+ tooltipText?: string;
14
+ allowShift?: boolean;
15
+ alignTop?: boolean;
16
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
17
  "update:modelValue": (value: boolean) => void;
15
18
  "update-shift:modelValue": (value: boolean) => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
17
20
  modelValue: boolean | null;
18
- title?: string | undefined;
19
- disabled?: boolean | undefined;
20
- readonly?: boolean | undefined;
21
- icon?: SVGComponent | undefined;
22
- radio?: boolean | undefined;
23
- loading?: boolean | undefined;
24
- intermediate?: boolean | undefined;
25
- tooltipText?: string | undefined;
26
- allowShift?: boolean | undefined;
27
- alignTop?: boolean | undefined;
21
+ title?: string;
22
+ disabled?: boolean;
23
+ readonly?: boolean;
24
+ icon?: SVGComponent;
25
+ radio?: boolean;
26
+ loading?: boolean;
27
+ intermediate?: boolean;
28
+ tooltipText?: string;
29
+ allowShift?: boolean;
30
+ alignTop?: boolean;
28
31
  }>>> & {
29
32
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
30
33
  "onUpdate-shift:modelValue"?: ((value: boolean) => any) | undefined;
31
- }, {}, {}>, {
32
- default?(_: {}): any;
33
- }>;
34
+ }, {}, {}>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
36
  export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
35
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
43
+ type __VLS_TypePropsToOption<T> = {
37
44
  [K in keyof T]-?: {} extends Pick<T, K> ? {
38
45
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
46
  } : {
@@ -41,9 +48,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
41
48
  required: true;
42
49
  };
43
50
  };
44
- type __VLS_WithTemplateSlots<T, S> = T & {
45
- new (): {
46
- $slots: S;
47
- };
48
- };
49
51
  //# sourceMappingURL=WCheckbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AAoFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkRA,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":"WCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/WCheckbox.vue"],"names":[],"mappings":"AA6KA,iBAAS,cAAc;qBA8KO,GAAG;EAoBhC;AACD,QAAA,MAAM,eAAe;gBA1OP,OAAO,GAAG,IAAI;YAClB,MAAM;eACH,OAAO;eACP,OAAO;WACX,YAAY;YACX,OAAO;cACL,OAAO;mBACF,OAAO;kBACR,MAAM;iBACP,OAAO;eACT,OAAO;;;;;gBAVN,OAAO,GAAG,IAAI;YAClB,MAAM;eACH,OAAO;eACP,OAAO;WACX,YAAY;YACX,OAAO;cACL,OAAO;mBACF,OAAO;kBACR,MAAM;iBACP,OAAO;eACT,OAAO;;;;UAuOlB,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"}
@@ -29,8 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
29
29
  const emit = __emit;
30
30
  const element = ref();
31
31
  const toggle = (e) => {
32
- if (props.disabled || props.readonly || props.loading)
33
- return;
32
+ if (props.disabled || props.readonly || props.loading) return;
34
33
  if (props.allowShift && e.shiftKey) {
35
34
  emit("update-shift:modelValue", !props.modelValue);
36
35
  return;
@@ -1,18 +1,26 @@
1
1
  import { SemanticType } from '../../utils/SemanticType';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
- text?: string | undefined;
4
- semanticType?: SemanticType | undefined;
5
- skeleton?: boolean | undefined;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
- text?: string | undefined;
8
- semanticType?: SemanticType | undefined;
9
- skeleton?: boolean | undefined;
10
- }>>>, {}, {}>, {
2
+
3
+ declare function __VLS_template(): {
11
4
  default?(_: {}): any;
12
- }>;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
7
+ text?: string;
8
+ semanticType?: SemanticType;
9
+ skeleton?: boolean;
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ text?: string;
12
+ semanticType?: SemanticType;
13
+ skeleton?: boolean;
14
+ }>>>, {}, {}>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
16
  export default _default;
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
14
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
23
+ type __VLS_TypePropsToOption<T> = {
16
24
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
25
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
26
  } : {
@@ -20,9 +28,4 @@ type __VLS_TypePropsToRuntimeProps<T> = {
20
28
  required: true;
21
29
  };
22
30
  };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
28
31
  //# sourceMappingURL=WChip.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"AAgBA;AAEA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;;;;;;;;;;;;AAiHjD,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":"WChip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/WChip.vue"],"names":[],"mappings":"AAsCA,OAAO,EAAC,YAAY,EAAC,MAAM,sBAAsB,CAAA;AA2BjD,iBAAS,cAAc;qBA8CM,GAAG;EAiB/B;AACD,QAAA,MAAM,eAAe;WArFZ,MAAM;mBACE,YAAY;eAChB,OAAO;;WAFX,MAAM;mBACE,YAAY;eAChB,OAAO;aAyFlB,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"}
@@ -1,10 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
5
  click: () => void;
3
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
6
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
4
7
  onClick?: (() => any) | undefined;
5
- }, {}, {}>, {
6
- default?(_: {}): any;
7
- }>;
8
+ }, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
10
  export default _default;
9
11
  type __VLS_WithTemplateSlots<T, S> = T & {
10
12
  new (): {
@@ -1 +1 @@
1
- {"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"AAKA;;;;;;;;AA8FA,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"WClickOutside.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ClickOutside/WClickOutside.vue"],"names":[],"mappings":"AAwEA,iBAAS,cAAc;qBAqBM,GAAG;EAe/B;AACD,QAAA,MAAM,eAAe;;;;UAMnB,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"}
@@ -8,19 +8,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  const emit = __emit;
9
9
  const element = ref();
10
10
  const clickListener = (event) => {
11
- if (element.value && event.target instanceof Element && !hasParent(element.value, event.target))
12
- emit("click");
11
+ if (element.value && event.target instanceof Element && !hasParent(element.value, event.target)) emit("click");
13
12
  };
14
13
  onMounted(() => {
15
- if (!isClientSide)
16
- return;
14
+ if (!isClientSide) return;
17
15
  setTimeout(() => {
18
16
  document.addEventListener("click", clickListener);
19
17
  });
20
18
  });
21
19
  onBeforeUnmount(() => {
22
- if (!isClientSide)
23
- return;
20
+ if (!isClientSide) return;
24
21
  document.removeEventListener("click", clickListener);
25
22
  });
26
23
  return (_ctx, _cache) => {
@@ -1,28 +1,19 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
2
  count: number;
3
- trigger?: number | undefined;
4
- small?: boolean | undefined;
3
+ trigger?: number;
4
+ small?: boolean;
5
5
  }>, {
6
6
  trigger: number;
7
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
8
  count: number;
9
- trigger?: number | undefined;
10
- small?: boolean | undefined;
9
+ trigger?: number;
10
+ small?: boolean;
11
11
  }>, {
12
12
  trigger: number;
13
13
  }>>>, {
14
14
  trigger: number;
15
15
  }, {}>;
16
16
  export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToRuntimeProps<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
26
17
  type __VLS_WithDefaults<P, D> = {
27
18
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
28
19
  default: D[K];
@@ -31,4 +22,13 @@ type __VLS_WithDefaults<P, D> = {
31
22
  type __VLS_Prettify<T> = {
32
23
  [K in keyof T]: T[K];
33
24
  } & {};
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToOption<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
34
  //# sourceMappingURL=WCounter.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WCounter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/WCounter.vue"],"names":[],"mappings":"AAYA;;WAqGW,MAAM;;;;;;WAAN,MAAM;;;;;;aACH,MAAM;;AAPpB,wBAUG;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;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,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"WCounter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Counter/WCounter.vue"],"names":[],"mappings":";WAuDW,MAAM;cACH,MAAM;YACR,OAAO;;;;WAFR,MAAM;cACH,MAAM;YACR,OAAO;;;;aADL,MAAM;;AAyFpB,wBAMG;AAOH,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,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"}
@@ -15,8 +15,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  watch(toRef(props, "count"), (value) => {
16
16
  if (value >= props.trigger) {
17
17
  isShake.value = true;
18
- if (timeout)
19
- clearTimeout(timeout);
18
+ if (timeout) clearTimeout(timeout);
20
19
  timeout = setTimeout(() => {
21
20
  isShake.value = false;
22
21
  timeout = null;
@@ -1,16 +1,17 @@
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
  modelValue: DateRange | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
6
  "update:modelValue": (value: DateRange | undefined) => void;
6
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
7
8
  modelValue: DateRange | undefined;
8
9
  }>>> & {
9
10
  "onUpdate:modelValue"?: ((value: DateRange | undefined) => any) | undefined;
10
11
  }, {}, {}>;
11
12
  export default _default;
12
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
- type __VLS_TypePropsToRuntimeProps<T> = {
14
+ type __VLS_TypePropsToOption<T> = {
14
15
  [K in keyof T]-?: {} extends Pick<T, K> ? {
15
16
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
16
17
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"AA0DA;AAOA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;;gBAmS/B,SAAS,GAAG,SAAS;;;;gBAArB,SAAS,GAAG,SAAS;;;;AANnC,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":"WDatePicker.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePicker.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAA;;gBAK/B,SAAS,GAAG,SAAS;;;;gBAArB,SAAS,GAAG,SAAS;;;;AA+UnC,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"}
@@ -63,8 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  };
64
64
  watch(toRef(props, "modelValue"), (modelValue) => {
65
65
  dateRange.value = modelValue;
66
- if (!modelValue)
67
- return;
66
+ if (!modelValue) return;
68
67
  if (!isSameCalendarPage(modelValue.from) && !isSameCalendarPage(modelValue.to)) {
69
68
  setCurrentDate(getStartOfMonth(modelValue.from));
70
69
  }
@@ -1,17 +1,17 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
1
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
2
2
  modelValue: Date | undefined;
3
- title?: string | undefined;
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
+ title?: string;
4
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
5
  "update:modelValue": (value: Date | undefined) => 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
  modelValue: Date | undefined;
8
- title?: string | undefined;
8
+ title?: string;
9
9
  }>>> & {
10
10
  "onUpdate:modelValue"?: ((value: Date | undefined) => any) | undefined;
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":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":"AAkDA;;gBA2Pc,IAAI,GAAG,SAAS;;;;;gBAAhB,IAAI,GAAG,SAAS;;;;;AAN9B,wBAUG;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":"WDatePickerSingle.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/WDatePickerSingle.vue"],"names":[],"mappings":";gBAkHc,IAAI,GAAG,SAAS;YACpB,MAAM;;;;gBADF,IAAI,GAAG,SAAS;YACpB,MAAM;;;;AAgQhB,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"}
@@ -36,8 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  };
37
37
  watch(toRef(props, "modelValue"), (modelValue) => {
38
38
  dateRange.value = modelValue ? { from: modelValue, to: modelValue } : void 0;
39
- if (!modelValue)
40
- return;
39
+ if (!modelValue) return;
41
40
  if (!isSameCalendarPage(modelValue)) {
42
41
  setCurrentDate(getStartOfMonth(modelValue));
43
42
  }
@@ -1,22 +1,23 @@
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
  startOfDay: Date;
5
- dateRange?: DateRange | undefined;
6
+ dateRange?: DateRange;
6
7
  isBetween: boolean;
7
8
  isWeekOutOfMonth: boolean;
8
- disabled?: boolean | undefined;
9
+ disabled?: boolean;
9
10
  isHoverEnabled: boolean;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
12
  "click:day": (value: Date) => void;
12
13
  "hover:day": (value: Date) => void;
13
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
14
15
  startOfMonth: Date;
15
16
  startOfDay: Date;
16
- dateRange?: DateRange | undefined;
17
+ dateRange?: DateRange;
17
18
  isBetween: boolean;
18
19
  isWeekOutOfMonth: boolean;
19
- disabled?: boolean | undefined;
20
+ disabled?: boolean;
20
21
  isHoverEnabled: boolean;
21
22
  }>>> & {
22
23
  "onClick:day"?: ((value: Date) => any) | undefined;
@@ -24,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
24
25
  }, {}, {}>;
25
26
  export default _default;
26
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToRuntimeProps<T> = {
28
+ type __VLS_TypePropsToOption<T> = {
28
29
  [K in keyof T]-?: {} extends Pick<T, K> ? {
29
30
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
31
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarDay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarDay.vue"],"names":[],"mappings":"AAsCA;AAIA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBA4L9B,IAAI;gBACN,IAAI;;eAEL,OAAO;sBACA,OAAO;;oBAET,OAAO;;;;;kBANT,IAAI;gBACN,IAAI;;eAEL,OAAO;sBACA,OAAO;;oBAET,OAAO;;;;;AAZzB,wBAeG;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":"CalendarDay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarDay.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAK9B,IAAI;gBACN,IAAI;gBACJ,SAAS;eACV,OAAO;sBACA,OAAO;eACd,OAAO;oBACF,OAAO;;;;;kBANT,IAAI;gBACN,IAAI;gBACJ,SAAS;eACV,OAAO;sBACA,OAAO;eACd,OAAO;oBACF,OAAO;;;;;AAuKzB,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"}
@@ -17,44 +17,34 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
17
17
  setup(__props) {
18
18
  const props = __props;
19
19
  const isOutOfMonth = computed(() => {
20
- if (!props.isWeekOutOfMonth)
21
- return false;
20
+ if (!props.isWeekOutOfMonth) return false;
22
21
  return props.startOfDay.getMonth() !== props.startOfMonth.getMonth();
23
22
  });
24
23
  const isFrom = computed(() => {
25
- if (!props.dateRange)
26
- return false;
24
+ if (!props.dateRange) return false;
27
25
  return isSameDate(props.startOfDay, props.dateRange.from);
28
26
  });
29
27
  const isTo = computed(() => {
30
- if (!props.dateRange)
31
- return false;
28
+ if (!props.dateRange) return false;
32
29
  return isSameDate(props.startOfDay, props.dateRange.to);
33
30
  });
34
31
  const isSelected = computed(() => {
35
- if (!props.dateRange)
36
- return false;
32
+ if (!props.dateRange) return false;
37
33
  return isFrom.value || isTo.value;
38
34
  });
39
35
  const isBeforeTo = computed(() => {
40
- if (!props.dateRange)
41
- return false;
42
- if (isSelected.value)
43
- return false;
36
+ if (!props.dateRange) return false;
37
+ if (isSelected.value) return false;
44
38
  return props.dateRange.to > props.startOfDay;
45
39
  });
46
40
  const isAfterFrom = computed(() => {
47
- if (!props.dateRange)
48
- return false;
49
- if (isSelected.value)
50
- return false;
41
+ if (!props.dateRange) return false;
42
+ if (isSelected.value) return false;
51
43
  return props.dateRange.from < props.startOfDay;
52
44
  });
53
45
  const isBetweenRange = computed(() => {
54
- if (props.isBetween)
55
- return true;
56
- if (isSelected.value)
57
- return false;
46
+ if (props.isBetween) return true;
47
+ if (isSelected.value) return false;
58
48
  return isBeforeTo.value && isAfterFrom.value;
59
49
  });
60
50
  return (_ctx, _cache) => {
@@ -1,19 +1,20 @@
1
1
  import { WeekDay } from '../../../utils/dateTime';
2
- import type { DateRange } from '../models/types';
3
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
+ import { DateRange } from '../models/types';
3
+
4
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
4
5
  startOfMonth: Date;
5
- startDayOfWeek?: WeekDay | undefined;
6
- dateRange?: DateRange | undefined;
7
- isBetween?: boolean | undefined;
6
+ startDayOfWeek?: WeekDay;
7
+ dateRange?: DateRange;
8
+ isBetween?: boolean;
8
9
  isHoverEnabled: boolean;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
11
  "click:day": (value: Date) => void;
11
12
  "hover:day": (value: Date) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
13
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
13
14
  startOfMonth: Date;
14
- startDayOfWeek?: WeekDay | undefined;
15
- dateRange?: DateRange | undefined;
16
- isBetween?: boolean | undefined;
15
+ startDayOfWeek?: WeekDay;
16
+ dateRange?: DateRange;
17
+ isBetween?: boolean;
17
18
  isHoverEnabled: boolean;
18
19
  }>>> & {
19
20
  "onClick:day"?: ((value: Date) => any) | undefined;
@@ -21,7 +22,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
21
22
  }, {}, {}>;
22
23
  export default _default;
23
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
- type __VLS_TypePropsToRuntimeProps<T> = {
25
+ type __VLS_TypePropsToOption<T> = {
25
26
  [K in keyof T]-?: {} extends Pick<T, K> ? {
26
27
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
28
  } : {
@@ -1 +1 @@
1
- {"version":3,"file":"CalendarMonth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarMonth.vue"],"names":[],"mappings":"AA2BA;AAIA,OAAO,EAAiB,OAAO,EAAwB,MAAM,kBAAkB,CAAA;AAC/E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAiN9B,IAAI;;;;oBAIF,OAAO;;;;;kBAJT,IAAI;;;;oBAIF,OAAO;;;;;AAVzB,wBAaG;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":"CalendarMonth.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/components/CalendarMonth.vue"],"names":[],"mappings":"AA2HA,OAAO,EAAiB,OAAO,EAAwB,MAAM,kBAAkB,CAAA;AAC/E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,iBAAiB,CAAA;;kBAK9B,IAAI;qBACD,OAAO;gBACZ,SAAS;gBACT,OAAO;oBACH,OAAO;;;;;kBAJT,IAAI;qBACD,OAAO;gBACZ,SAAS;gBACT,OAAO;oBACH,OAAO;;;;;AAsLzB,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"}