@ironsource/shared-ui 1.4.2-test.4 → 1.4.2-test.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (901) hide show
  1. package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  2. package/AppIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  3. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  4. package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  5. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  6. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  7. package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  8. package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  9. package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  10. package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  11. package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  12. package/CssBaseline.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  13. package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  14. package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  15. package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  16. package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  17. package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  18. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  19. package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  20. package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  21. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  22. package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  23. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  24. package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  25. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  26. package/GroupOption.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  27. package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  28. package/Icon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  29. package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  30. package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  31. package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  32. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  33. package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  34. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  35. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  36. package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  37. package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  38. package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  39. package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  40. package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  41. package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  42. package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  43. package/README.md +1 -1
  44. package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  45. package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  46. package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  47. package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  48. package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  49. package/{Skeleton.vue_vue_type_style_index_0_scoped_9837f0ce_lang.css → Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css} +1 -1
  50. package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  51. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  52. package/{Switch.vue_vue_type_style_index_0_scoped_08a704b0_lang.css → Switch.vue_vue_type_style_index_0_scoped_true_lang.css} +1 -1
  53. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  54. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  55. package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  56. package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  57. package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  58. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  59. package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +1 -0
  60. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  61. package/_virtual/plugin-vue_export-helper.vue.js +9 -0
  62. package/components/appIcon/AppIcon.vue.d.ts +29 -23
  63. package/components/appIcon/AppIcon.vue.js +43 -6
  64. package/components/appIcon/index.d.ts +8 -4
  65. package/components/appIcon/index.vue.js +6 -0
  66. package/components/appTrigger/AppTrigger.vue.d.ts +34 -45
  67. package/components/appTrigger/AppTrigger.vue.js +188 -6
  68. package/components/appTrigger/index.d.ts +32 -118
  69. package/components/appTrigger/index.vue.js +6 -0
  70. package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +44 -71
  71. package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +148 -6
  72. package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +33 -40
  73. package/components/autocompleteDropdown/AutocompleteInput.vue.js +93 -6
  74. package/components/autocompleteDropdown/GroupOption.vue.d.ts +1 -8
  75. package/components/autocompleteDropdown/GroupOption.vue.js +43 -6
  76. package/components/autocompleteDropdown/consts.vue.js +4 -0
  77. package/components/autocompleteDropdown/index.d.ts +46 -164
  78. package/components/autocompleteDropdown/index.vue.js +6 -0
  79. package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +79 -0
  80. package/components/banner/Banner.vue.d.ts +13 -12
  81. package/components/banner/Banner.vue.js +58 -6
  82. package/components/banner/index.d.ts +17 -69
  83. package/components/banner/index.vue.js +6 -0
  84. package/components/button/Button.vue.d.ts +33 -36
  85. package/components/button/Button.vue.js +63 -9
  86. package/components/button/ButtonBase.vue.d.ts +43 -60
  87. package/components/button/ButtonBase.vue.js +64 -0
  88. package/components/button/IconButton.vue.d.ts +27 -26
  89. package/components/button/IconButton.vue.js +51 -6
  90. package/components/button/ScrollButton.vue.d.ts +37 -37
  91. package/components/button/ScrollButton.vue.js +49 -6
  92. package/components/button/consts.vue.js +17 -0
  93. package/components/button/icon/LoaderCircleIcon.vue.d.ts +1 -1
  94. package/components/button/icon/LoaderCircleIcon.vue.js +19 -13
  95. package/components/button/icon/LoaderDotsIcon.vue.d.ts +1 -1
  96. package/components/button/icon/LoaderDotsIcon.vue.js +17 -11
  97. package/components/button/index.d.ts +54 -187
  98. package/components/button/index.vue.js +10 -0
  99. package/components/checkbox/Checkbox.vue.d.ts +35 -47
  100. package/components/checkbox/Checkbox.vue.js +111 -6
  101. package/components/checkbox/icons/checked.vue.d.ts +1 -1
  102. package/components/checkbox/icons/checked.vue.js +21 -14
  103. package/components/checkbox/icons/indeterminate.vue.d.ts +1 -1
  104. package/components/checkbox/icons/indeterminate.vue.js +21 -14
  105. package/components/checkbox/icons/unchecked.vue.d.ts +1 -1
  106. package/components/checkbox/icons/unchecked.vue.js +18 -12
  107. package/components/checkbox/index.d.ts +32 -129
  108. package/components/checkbox/index.vue.js +6 -0
  109. package/components/chip/Chip.vue.d.ts +35 -44
  110. package/components/chip/Chip.vue.js +63 -5
  111. package/components/chip/index.d.ts +29 -119
  112. package/components/chip/index.vue.js +6 -0
  113. package/components/cssBaseline/CssBaseline.vue.d.ts +1 -8
  114. package/components/cssBaseline/CssBaseline.vue.js +11 -9
  115. package/components/cssBaseline/index.d.ts +1 -47
  116. package/components/cssBaseline/index.vue.js +6 -0
  117. package/components/datePicker/DatePicker.vue.d.ts +40 -53
  118. package/components/datePicker/DatePicker.vue.js +125 -6
  119. package/components/datePicker/DatePickerMonth.vue.d.ts +36 -36
  120. package/components/datePicker/DatePickerMonth.vue.js +99 -6
  121. package/components/datePicker/index.d.ts +37 -137
  122. package/components/datePicker/index.vue.js +6 -0
  123. package/components/dateRange/CalendarMonth.vue.d.ts +54 -92
  124. package/components/dateRange/CalendarMonth.vue.js +319 -6
  125. package/components/dateRange/DateRange.vue.d.ts +80 -138
  126. package/components/dateRange/DateRange.vue.js +657 -5
  127. package/components/dateRange/DateRangePicker.vue.d.ts +76 -127
  128. package/components/dateRange/DateServices.vue.js +374 -0
  129. package/components/dateRange/{consts.js → consts.vue.js} +11 -12
  130. package/components/dateRange/index.d.ts +98 -297
  131. package/components/dateRange/index.vue.js +6 -0
  132. package/components/dialog/Dialog.vue.d.ts +80 -129
  133. package/components/dialog/Dialog.vue.js +191 -5
  134. package/components/dialog/Reason.vue.js +9 -0
  135. package/components/dialog/index.d.ts +110 -288
  136. package/components/dialog/index.vue.js +6 -0
  137. package/components/dropdown/Dropdown.vue.d.ts +173 -302
  138. package/components/dropdown/Dropdown.vue.js +760 -5
  139. package/components/dropdown/DropdownContext.vue.js +29 -0
  140. package/components/dropdown/Label.vue.d.ts +1 -8
  141. package/components/dropdown/Label.vue.js +42 -6
  142. package/components/dropdown/Option.vue.d.ts +44 -65
  143. package/components/dropdown/Option.vue.js +133 -5
  144. package/components/dropdown/SearchInput.vue.d.ts +1 -14
  145. package/components/dropdown/SearchInput.vue.js +118 -5
  146. package/components/dropdown/index.d.ts +1 -778
  147. package/components/dropdown/index.vue.js +12 -0
  148. package/components/emptyState/EmptyState.vue.d.ts +66 -107
  149. package/components/emptyState/EmptyState.vue.js +100 -6
  150. package/components/emptyState/EmptyStateIcon.vue.d.ts +1 -1
  151. package/components/emptyState/EmptyStateIcon.vue.js +25 -16
  152. package/components/emptyState/index.d.ts +76 -229
  153. package/components/emptyState/index.vue.js +6 -0
  154. package/components/filterDropdown/AddFilterButton.vue.d.ts +16 -26
  155. package/components/filterDropdown/AddFilterButton.vue.js +53 -6
  156. package/components/filterDropdown/FilterDropdown.vue.d.ts +36 -52
  157. package/components/filterDropdown/FilterDropdown.vue.js +58 -6
  158. package/components/filterDropdown/index.d.ts +26 -88
  159. package/components/filterDropdown/index.vue.js +8 -0
  160. package/components/filtersPanel/FilterSearchInput.vue.d.ts +1 -1
  161. package/components/filtersPanel/FilterSearchInput.vue.js +53 -5
  162. package/components/filtersPanel/FiltersPanel.vue.d.ts +33 -0
  163. package/components/filtersPanel/FiltersPanel.vue.js +56 -6
  164. package/components/filtersPanel/index.d.ts +1 -1
  165. package/components/filtersPanel/index.vue.js +14 -0
  166. package/components/filtersPanel/useHiddenFilter.vue.js +33 -0
  167. package/components/floatingToolbar/FloatingToolbar.vue.d.ts +28 -34
  168. package/components/floatingToolbar/FloatingToolbar.vue.js +77 -5
  169. package/components/floatingToolbar/index.d.ts +20 -101
  170. package/components/floatingToolbar/index.vue.js +6 -0
  171. package/components/icon/Icon.vue.d.ts +28 -26
  172. package/components/icon/Icon.vue.js +283 -6
  173. package/components/icon/icons/A.vue.d.ts +1 -1
  174. package/components/icon/icons/A.vue.js +21 -14
  175. package/components/icon/icons/A2.vue.d.ts +1 -1
  176. package/components/icon/icons/A2.vue.js +18 -12
  177. package/components/icon/icons/ABTest.vue.d.ts +1 -1
  178. package/components/icon/icons/ABTest.vue.js +18 -12
  179. package/components/icon/icons/ABTest2.vue.d.ts +1 -1
  180. package/components/icon/icons/ABTest2.vue.js +17 -11
  181. package/components/icon/icons/ACircle.vue.d.ts +1 -1
  182. package/components/icon/icons/ACircle.vue.js +18 -12
  183. package/components/icon/icons/AccountBalanceWallet.vue.d.ts +1 -1
  184. package/components/icon/icons/AccountBalanceWallet.vue.js +21 -14
  185. package/components/icon/icons/AccountCircle.vue.d.ts +1 -1
  186. package/components/icon/icons/AccountCircle.vue.js +18 -12
  187. package/components/icon/icons/AccountCircleOutline.vue.d.ts +1 -1
  188. package/components/icon/icons/AccountCircleOutline.vue.js +18 -12
  189. package/components/icon/icons/Add.vue.d.ts +1 -1
  190. package/components/icon/icons/Add.vue.js +18 -12
  191. package/components/icon/icons/Adjust.vue.d.ts +2 -0
  192. package/components/icon/icons/Adjust.vue.js +52 -0
  193. package/components/icon/icons/Analytics.vue.d.ts +1 -1
  194. package/components/icon/icons/Analytics.vue.js +18 -12
  195. package/components/icon/icons/Android.vue.d.ts +1 -1
  196. package/components/icon/icons/Android.vue.js +18 -12
  197. package/components/icon/icons/AngleDown.vue.d.ts +1 -1
  198. package/components/icon/icons/AngleDown.vue.js +18 -12
  199. package/components/icon/icons/AngleLeft.vue.d.ts +1 -1
  200. package/components/icon/icons/AngleLeft.vue.js +18 -12
  201. package/components/icon/icons/AngleRight.vue.d.ts +1 -1
  202. package/components/icon/icons/AngleRight.vue.js +18 -12
  203. package/components/icon/icons/AngleUp.vue.d.ts +1 -1
  204. package/components/icon/icons/AngleUp.vue.js +18 -12
  205. package/components/icon/icons/AppStore.vue.d.ts +1 -1
  206. package/components/icon/icons/AppStore.vue.js +21 -14
  207. package/components/icon/icons/AreaChart.vue.d.ts +1 -1
  208. package/components/icon/icons/AreaChart.vue.js +18 -12
  209. package/components/icon/icons/ArrowBack.vue.d.ts +1 -1
  210. package/components/icon/icons/ArrowBack.vue.js +18 -12
  211. package/components/icon/icons/ArrowDownward.vue.d.ts +1 -1
  212. package/components/icon/icons/ArrowDownward.vue.js +18 -12
  213. package/components/icon/icons/ArrowForward.vue.d.ts +1 -1
  214. package/components/icon/icons/ArrowForward.vue.js +18 -12
  215. package/components/icon/icons/ArrowLeft.vue.d.ts +1 -1
  216. package/components/icon/icons/ArrowLeft.vue.js +18 -12
  217. package/components/icon/icons/ArrowRight.vue.d.ts +1 -1
  218. package/components/icon/icons/ArrowRight.vue.js +18 -12
  219. package/components/icon/icons/ArrowSort-Down.vue.d.ts +1 -1
  220. package/components/icon/icons/ArrowSort-Down.vue.js +18 -12
  221. package/components/icon/icons/ArrowSort-Up.vue.d.ts +1 -1
  222. package/components/icon/icons/ArrowSort-Up.vue.js +18 -12
  223. package/components/icon/icons/ArrowUpward.vue.d.ts +1 -1
  224. package/components/icon/icons/ArrowUpward.vue.js +18 -12
  225. package/components/icon/icons/AutoAwesome.vue.d.ts +1 -1
  226. package/components/icon/icons/AutoAwesome.vue.js +18 -12
  227. package/components/icon/icons/AutoMode.vue.d.ts +1 -1
  228. package/components/icon/icons/AutoMode.vue.js +18 -12
  229. package/components/icon/icons/Autorenew.vue.d.ts +1 -1
  230. package/components/icon/icons/Autorenew.vue.js +18 -12
  231. package/components/icon/icons/B.vue.d.ts +1 -1
  232. package/components/icon/icons/B.vue.js +21 -14
  233. package/components/icon/icons/B2.vue.d.ts +1 -1
  234. package/components/icon/icons/B2.vue.js +18 -12
  235. package/components/icon/icons/BCircle.vue.d.ts +1 -1
  236. package/components/icon/icons/BCircle.vue.js +18 -12
  237. package/components/icon/icons/Banner.vue.d.ts +1 -1
  238. package/components/icon/icons/Banner.vue.js +21 -14
  239. package/components/icon/icons/Bidding.vue.d.ts +1 -1
  240. package/components/icon/icons/Bidding.vue.js +27 -18
  241. package/components/icon/icons/Bidding2.vue.d.ts +1 -1
  242. package/components/icon/icons/Bidding2.vue.js +27 -18
  243. package/components/icon/icons/Block.vue.d.ts +1 -1
  244. package/components/icon/icons/Block.vue.js +18 -12
  245. package/components/icon/icons/BorderColor.vue.d.ts +1 -1
  246. package/components/icon/icons/BorderColor.vue.js +18 -12
  247. package/components/icon/icons/Bug.vue.d.ts +1 -1
  248. package/components/icon/icons/Bug.vue.js +18 -12
  249. package/components/icon/icons/Bullhorn.vue.d.ts +1 -1
  250. package/components/icon/icons/Bullhorn.vue.js +18 -12
  251. package/components/icon/icons/BullseyeArrow.vue.d.ts +1 -1
  252. package/components/icon/icons/BullseyeArrow.vue.js +21 -14
  253. package/components/icon/icons/Cached.vue.d.ts +1 -1
  254. package/components/icon/icons/Cached.vue.js +18 -12
  255. package/components/icon/icons/Calendar.vue.d.ts +1 -1
  256. package/components/icon/icons/Calendar.vue.js +21 -14
  257. package/components/icon/icons/CalendarToday.vue.d.ts +1 -1
  258. package/components/icon/icons/CalendarToday.vue.js +18 -12
  259. package/components/icon/icons/Cancel.vue.d.ts +1 -1
  260. package/components/icon/icons/Cancel.vue.js +18 -12
  261. package/components/icon/icons/ChartBar.vue.d.ts +1 -1
  262. package/components/icon/icons/ChartBar.vue.js +18 -12
  263. package/components/icon/icons/ChartLine.vue.d.ts +1 -1
  264. package/components/icon/icons/ChartLine.vue.js +18 -12
  265. package/components/icon/icons/ChartMixed.vue.d.ts +1 -1
  266. package/components/icon/icons/ChartMixed.vue.js +18 -12
  267. package/components/icon/icons/Check.vue.d.ts +1 -1
  268. package/components/icon/icons/Check.vue.js +18 -12
  269. package/components/icon/icons/CheckBold.vue.d.ts +1 -1
  270. package/components/icon/icons/CheckBold.vue.js +18 -12
  271. package/components/icon/icons/Close.vue.d.ts +1 -1
  272. package/components/icon/icons/Close.vue.js +18 -12
  273. package/components/icon/icons/CloseBold.vue.d.ts +1 -1
  274. package/components/icon/icons/CloseBold.vue.js +18 -12
  275. package/components/icon/icons/ComputerMouse.vue.d.ts +1 -1
  276. package/components/icon/icons/ComputerMouse.vue.js +21 -14
  277. package/components/icon/icons/CopyTo-Clipboard.vue.d.ts +1 -1
  278. package/components/icon/icons/CopyTo-Clipboard.vue.js +18 -12
  279. package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +2 -0
  280. package/components/icon/icons/CopyToClipboardFilled.vue.js +24 -0
  281. package/components/icon/icons/Create.vue.d.ts +1 -1
  282. package/components/icon/icons/Create.vue.js +18 -12
  283. package/components/icon/icons/Creative.vue.d.ts +1 -1
  284. package/components/icon/icons/Creative.vue.js +18 -12
  285. package/components/icon/icons/Cross.vue.d.ts +1 -1
  286. package/components/icon/icons/Cross.vue.js +18 -12
  287. package/components/icon/icons/CrownFill.vue.d.ts +1 -1
  288. package/components/icon/icons/CrownFill.vue.js +18 -12
  289. package/components/icon/icons/Cube.vue.d.ts +2 -0
  290. package/components/icon/icons/Cube.vue.js +27 -0
  291. package/components/icon/icons/CubeBackground.vue.d.ts +2 -0
  292. package/components/icon/icons/CubeBackground.vue.js +34 -0
  293. package/components/icon/icons/Cup.vue.d.ts +1 -1
  294. package/components/icon/icons/Cup.vue.js +18 -12
  295. package/components/icon/icons/CupA.vue.d.ts +1 -1
  296. package/components/icon/icons/CupA.vue.js +17 -11
  297. package/components/icon/icons/CupB.vue.d.ts +1 -1
  298. package/components/icon/icons/CupB.vue.js +17 -11
  299. package/components/icon/icons/Delete.vue.d.ts +1 -1
  300. package/components/icon/icons/Delete.vue.js +18 -12
  301. package/components/icon/icons/Diamond.vue.d.ts +1 -1
  302. package/components/icon/icons/Diamond.vue.js +18 -12
  303. package/components/icon/icons/Dots.vue.d.ts +1 -1
  304. package/components/icon/icons/Dots.vue.js +18 -12
  305. package/components/icon/icons/Download.vue.d.ts +1 -1
  306. package/components/icon/icons/Download.vue.js +18 -12
  307. package/components/icon/icons/Download2.vue.d.ts +1 -1
  308. package/components/icon/icons/Download2.vue.js +21 -14
  309. package/components/icon/icons/DownloadDone.vue.d.ts +1 -1
  310. package/components/icon/icons/DownloadDone.vue.js +18 -12
  311. package/components/icon/icons/DragIndicator.vue.d.ts +1 -1
  312. package/components/icon/icons/DragIndicator.vue.js +18 -12
  313. package/components/icon/icons/Ecpi.vue.d.ts +1 -1
  314. package/components/icon/icons/Ecpi.vue.js +24 -16
  315. package/components/icon/icons/Email.vue.d.ts +1 -1
  316. package/components/icon/icons/Email.vue.js +18 -12
  317. package/components/icon/icons/EmailEnvelope.vue.d.ts +1 -1
  318. package/components/icon/icons/EmailEnvelope.vue.js +18 -12
  319. package/components/icon/icons/Error.vue.d.ts +1 -1
  320. package/components/icon/icons/Error.vue.js +18 -12
  321. package/components/icon/icons/Eye.vue.d.ts +1 -1
  322. package/components/icon/icons/Eye.vue.js +22 -15
  323. package/components/icon/icons/FavoriteBorder.vue.d.ts +1 -1
  324. package/components/icon/icons/FavoriteBorder.vue.js +18 -12
  325. package/components/icon/icons/Filter.vue.d.ts +1 -1
  326. package/components/icon/icons/Filter.vue.js +18 -12
  327. package/components/icon/icons/FilterList.vue.d.ts +1 -1
  328. package/components/icon/icons/FilterList.vue.js +18 -12
  329. package/components/icon/icons/Frame.vue.d.ts +1 -1
  330. package/components/icon/icons/Frame.vue.js +18 -12
  331. package/components/icon/icons/Fullscreen.vue.d.ts +1 -1
  332. package/components/icon/icons/Fullscreen.vue.js +18 -12
  333. package/components/icon/icons/FullscreenExit.vue.d.ts +1 -1
  334. package/components/icon/icons/FullscreenExit.vue.js +18 -12
  335. package/components/icon/icons/Functions.vue.d.ts +1 -1
  336. package/components/icon/icons/Functions.vue.js +18 -12
  337. package/components/icon/icons/GamepadAlt.vue.d.ts +1 -1
  338. package/components/icon/icons/GamepadAlt.vue.js +18 -12
  339. package/components/icon/icons/Games.vue.d.ts +1 -1
  340. package/components/icon/icons/Games.vue.js +18 -12
  341. package/components/icon/icons/Gavel.vue.d.ts +1 -1
  342. package/components/icon/icons/Gavel.vue.js +18 -12
  343. package/components/icon/icons/Gift.vue.d.ts +1 -1
  344. package/components/icon/icons/Gift.vue.js +18 -12
  345. package/components/icon/icons/GitHub.vue.d.ts +1 -1
  346. package/components/icon/icons/GitHub.vue.js +18 -12
  347. package/components/icon/icons/GlobeStand.vue.d.ts +1 -1
  348. package/components/icon/icons/GlobeStand.vue.js +18 -12
  349. package/components/icon/icons/GooglePlay.vue.d.ts +1 -1
  350. package/components/icon/icons/GooglePlay.vue.js +18 -12
  351. package/components/icon/icons/Group.vue.d.ts +1 -1
  352. package/components/icon/icons/Group.vue.js +18 -12
  353. package/components/icon/icons/HandPointer.vue.d.ts +1 -1
  354. package/components/icon/icons/HandPointer.vue.js +22 -15
  355. package/components/icon/icons/Hands.vue.d.ts +1 -1
  356. package/components/icon/icons/Hands.vue.js +18 -12
  357. package/components/icon/icons/Heartbeat.vue.d.ts +1 -1
  358. package/components/icon/icons/Heartbeat.vue.js +18 -12
  359. package/components/icon/icons/Help.vue.d.ts +1 -1
  360. package/components/icon/icons/Help.vue.js +18 -12
  361. package/components/icon/icons/HelpOutline.vue.d.ts +1 -1
  362. package/components/icon/icons/HelpOutline.vue.js +18 -12
  363. package/components/icon/icons/History.vue.d.ts +1 -1
  364. package/components/icon/icons/History.vue.js +18 -12
  365. package/components/icon/icons/IOS.vue.d.ts +1 -1
  366. package/components/icon/icons/IOS.vue.js +18 -12
  367. package/components/icon/icons/Image.vue.d.ts +1 -1
  368. package/components/icon/icons/Image.vue.js +18 -12
  369. package/components/icon/icons/ImageNotSupported.vue.d.ts +1 -1
  370. package/components/icon/icons/ImageNotSupported.vue.js +21 -14
  371. package/components/icon/icons/ImageSlash.vue.d.ts +1 -1
  372. package/components/icon/icons/ImageSlash.vue.js +18 -12
  373. package/components/icon/icons/ImportExport.vue.d.ts +1 -1
  374. package/components/icon/icons/ImportExport.vue.js +18 -12
  375. package/components/icon/icons/ImportExport2.vue.d.ts +1 -1
  376. package/components/icon/icons/ImportExport2.vue.js +18 -12
  377. package/components/icon/icons/Importent.vue.d.ts +1 -1
  378. package/components/icon/icons/Importent.vue.js +18 -12
  379. package/components/icon/icons/Info.vue.d.ts +1 -1
  380. package/components/icon/icons/Info.vue.js +18 -12
  381. package/components/icon/icons/InfoOutline.vue.d.ts +1 -1
  382. package/components/icon/icons/InfoOutline.vue.js +18 -12
  383. package/components/icon/icons/Insights.vue.d.ts +1 -1
  384. package/components/icon/icons/Insights.vue.js +18 -12
  385. package/components/icon/icons/Interstitial.vue.d.ts +1 -1
  386. package/components/icon/icons/Interstitial.vue.js +21 -14
  387. package/components/icon/icons/Ios14.vue.d.ts +1 -1
  388. package/components/icon/icons/Ios14.vue.js +18 -12
  389. package/components/icon/icons/Js.vue.d.ts +1 -1
  390. package/components/icon/icons/Js.vue.js +18 -12
  391. package/components/icon/icons/Landscape.vue.d.ts +1 -1
  392. package/components/icon/icons/Landscape.vue.js +18 -12
  393. package/components/icon/icons/Launch.vue.d.ts +1 -1
  394. package/components/icon/icons/Launch.vue.js +18 -12
  395. package/components/icon/icons/Levelplay.vue.d.ts +1 -1
  396. package/components/icon/icons/Levelplay.vue.js +23 -16
  397. package/components/icon/icons/LimitCircle.vue.d.ts +1 -1
  398. package/components/icon/icons/LimitCircle.vue.js +21 -14
  399. package/components/icon/icons/LimitOctagon.vue.d.ts +1 -1
  400. package/components/icon/icons/LimitOctagon.vue.js +21 -14
  401. package/components/icon/icons/Link.vue.d.ts +1 -1
  402. package/components/icon/icons/Link.vue.js +18 -12
  403. package/components/icon/icons/LoadingClean.vue.d.ts +1 -1
  404. package/components/icon/icons/LoadingClean.vue.js +18 -12
  405. package/components/icon/icons/Lock.vue.d.ts +1 -1
  406. package/components/icon/icons/Lock.vue.js +18 -12
  407. package/components/icon/icons/LockOpen.vue.d.ts +1 -1
  408. package/components/icon/icons/LockOpen.vue.js +18 -12
  409. package/components/icon/icons/Login.vue.d.ts +1 -1
  410. package/components/icon/icons/Login.vue.js +18 -12
  411. package/components/icon/icons/Logout.vue.d.ts +1 -1
  412. package/components/icon/icons/Logout.vue.js +18 -12
  413. package/components/icon/icons/Marketing.vue.d.ts +2 -0
  414. package/components/icon/icons/Marketing.vue.js +30 -0
  415. package/components/icon/icons/MilitaryTech.vue.d.ts +1 -1
  416. package/components/icon/icons/MilitaryTech.vue.js +18 -12
  417. package/components/icon/icons/Mix.vue.d.ts +1 -1
  418. package/components/icon/icons/Mix.vue.js +18 -12
  419. package/components/icon/icons/Mix2.vue.d.ts +1 -1
  420. package/components/icon/icons/Mix2.vue.js +21 -14
  421. package/components/icon/icons/MobileLandscape.vue.d.ts +1 -1
  422. package/components/icon/icons/MobileLandscape.vue.js +18 -12
  423. package/components/icon/icons/MobilePortrait.vue.d.ts +1 -1
  424. package/components/icon/icons/MobilePortrait.vue.js +18 -12
  425. package/components/icon/icons/MoneyCheck.vue.d.ts +1 -1
  426. package/components/icon/icons/MoneyCheck.vue.js +22 -15
  427. package/components/icon/icons/MoreHoriz.vue.d.ts +1 -1
  428. package/components/icon/icons/MoreHoriz.vue.js +18 -12
  429. package/components/icon/icons/MoreVert.vue.d.ts +1 -1
  430. package/components/icon/icons/MoreVert.vue.js +18 -12
  431. package/components/icon/icons/Mouse.vue.d.ts +1 -1
  432. package/components/icon/icons/Mouse.vue.js +18 -12
  433. package/components/icon/icons/MousePointer.vue.d.ts +1 -1
  434. package/components/icon/icons/MousePointer.vue.js +18 -12
  435. package/components/icon/icons/MovingUp.vue.d.ts +1 -1
  436. package/components/icon/icons/MovingUp.vue.js +18 -12
  437. package/components/icon/icons/NativeAd.vue.d.ts +1 -1
  438. package/components/icon/icons/NativeAd.vue.js +17 -11
  439. package/components/icon/icons/NotificationsNone.vue.d.ts +1 -1
  440. package/components/icon/icons/NotificationsNone.vue.js +18 -12
  441. package/components/icon/icons/Offerwall.vue.d.ts +1 -1
  442. package/components/icon/icons/Offerwall.vue.js +21 -14
  443. package/components/icon/icons/Palyable.vue.d.ts +1 -1
  444. package/components/icon/icons/Palyable.vue.js +18 -12
  445. package/components/icon/icons/PaperPlane-Off.vue.d.ts +1 -1
  446. package/components/icon/icons/PaperPlane-Off.vue.js +18 -12
  447. package/components/icon/icons/PaperPlane.vue.d.ts +1 -1
  448. package/components/icon/icons/PaperPlane.vue.js +18 -12
  449. package/components/icon/icons/Pause.vue.d.ts +1 -1
  450. package/components/icon/icons/Pause.vue.js +18 -12
  451. package/components/icon/icons/PauseCircleFilled.vue.d.ts +1 -1
  452. package/components/icon/icons/PauseCircleFilled.vue.js +18 -12
  453. package/components/icon/icons/PauseCircleOutline.vue.d.ts +1 -1
  454. package/components/icon/icons/PauseCircleOutline.vue.js +18 -12
  455. package/components/icon/icons/PhoneIphone.vue.d.ts +1 -1
  456. package/components/icon/icons/PhoneIphone.vue.js +18 -12
  457. package/components/icon/icons/Photo.vue.d.ts +1 -1
  458. package/components/icon/icons/Photo.vue.js +21 -14
  459. package/components/icon/icons/Photo2.vue.d.ts +1 -1
  460. package/components/icon/icons/Photo2.vue.js +18 -12
  461. package/components/icon/icons/PlayArrow.vue.d.ts +1 -1
  462. package/components/icon/icons/PlayArrow.vue.js +18 -12
  463. package/components/icon/icons/PlayCircleFilledWhite.vue.d.ts +1 -1
  464. package/components/icon/icons/PlayCircleFilledWhite.vue.js +18 -12
  465. package/components/icon/icons/PlayCircleOutline.vue.d.ts +1 -1
  466. package/components/icon/icons/PlayCircleOutline.vue.js +18 -12
  467. package/components/icon/icons/Qrcode.vue.d.ts +1 -1
  468. package/components/icon/icons/Qrcode.vue.js +18 -12
  469. package/components/icon/icons/QuickAB.vue.d.ts +1 -1
  470. package/components/icon/icons/QuickAB.vue.js +17 -11
  471. package/components/icon/icons/QuickAB2.vue.d.ts +1 -1
  472. package/components/icon/icons/QuickAB2.vue.js +17 -11
  473. package/components/icon/icons/React.vue.d.ts +1 -1
  474. package/components/icon/icons/React.vue.js +18 -12
  475. package/components/icon/icons/Redo.vue.d.ts +1 -1
  476. package/components/icon/icons/Redo.vue.js +18 -12
  477. package/components/icon/icons/Refresh.vue.d.ts +1 -1
  478. package/components/icon/icons/Refresh.vue.js +18 -12
  479. package/components/icon/icons/Remove.vue.d.ts +1 -1
  480. package/components/icon/icons/Remove.vue.js +18 -12
  481. package/components/icon/icons/Replay.vue.d.ts +1 -1
  482. package/components/icon/icons/Replay.vue.js +18 -12
  483. package/components/icon/icons/RewardedVideo.vue.d.ts +1 -1
  484. package/components/icon/icons/RewardedVideo.vue.js +21 -14
  485. package/components/icon/icons/RocketLaunch.vue.d.ts +1 -1
  486. package/components/icon/icons/RocketLaunch.vue.js +18 -12
  487. package/components/icon/icons/Rotate.vue.d.ts +1 -1
  488. package/components/icon/icons/Rotate.vue.js +18 -12
  489. package/components/icon/icons/Route.vue.d.ts +1 -1
  490. package/components/icon/icons/Route.vue.js +18 -12
  491. package/components/icon/icons/SackDollar.vue.d.ts +1 -1
  492. package/components/icon/icons/SackDollar.vue.js +21 -14
  493. package/components/icon/icons/Schedule.vue.d.ts +1 -1
  494. package/components/icon/icons/Schedule.vue.js +18 -12
  495. package/components/icon/icons/Search.vue.d.ts +1 -1
  496. package/components/icon/icons/Search.vue.js +18 -12
  497. package/components/icon/icons/SearchBold.vue.d.ts +1 -1
  498. package/components/icon/icons/SearchBold.vue.js +18 -12
  499. package/components/icon/icons/Share.vue.d.ts +1 -1
  500. package/components/icon/icons/Share.vue.js +18 -12
  501. package/components/icon/icons/Slack.vue.d.ts +1 -1
  502. package/components/icon/icons/Slack.vue.js +18 -12
  503. package/components/icon/icons/SportsEsports.vue.d.ts +1 -1
  504. package/components/icon/icons/SportsEsports.vue.js +18 -12
  505. package/components/icon/icons/Star.vue.d.ts +1 -1
  506. package/components/icon/icons/Star.vue.js +18 -12
  507. package/components/icon/icons/StarFill.vue.d.ts +1 -1
  508. package/components/icon/icons/StarFill.vue.js +18 -12
  509. package/components/icon/icons/StatusBanner.vue.d.ts +1 -1
  510. package/components/icon/icons/StatusBanner.vue.js +21 -14
  511. package/components/icon/icons/StatusInterstitial.vue.d.ts +1 -1
  512. package/components/icon/icons/StatusInterstitial.vue.js +21 -14
  513. package/components/icon/icons/StatusNativeAd.vue.d.ts +1 -1
  514. package/components/icon/icons/StatusNativeAd.vue.js +17 -11
  515. package/components/icon/icons/StatusOfferwall.vue.d.ts +1 -1
  516. package/components/icon/icons/StatusOfferwall.vue.js +21 -14
  517. package/components/icon/icons/StatusRewardedVideo.vue.d.ts +1 -1
  518. package/components/icon/icons/StatusRewardedVideo.vue.js +21 -14
  519. package/components/icon/icons/StopCircleFilled.vue.d.ts +1 -1
  520. package/components/icon/icons/StopCircleFilled.vue.js +18 -12
  521. package/components/icon/icons/StopCircleOutline.vue.d.ts +1 -1
  522. package/components/icon/icons/StopCircleOutline.vue.js +18 -12
  523. package/components/icon/icons/Style.vue.d.ts +1 -1
  524. package/components/icon/icons/Style.vue.js +21 -14
  525. package/components/icon/icons/Success.vue.d.ts +1 -1
  526. package/components/icon/icons/Success.vue.js +18 -12
  527. package/components/icon/icons/SuccessFull.vue.d.ts +1 -1
  528. package/components/icon/icons/SuccessFull.vue.js +18 -12
  529. package/components/icon/icons/Switch.vue.d.ts +1 -1
  530. package/components/icon/icons/Switch.vue.js +18 -12
  531. package/components/icon/icons/TableEdit.vue.d.ts +2 -0
  532. package/components/icon/icons/TableEdit.vue.js +24 -0
  533. package/components/icon/icons/TabletLandscape.vue.d.ts +1 -1
  534. package/components/icon/icons/TabletLandscape.vue.js +18 -12
  535. package/components/icon/icons/TabletMac.vue.d.ts +1 -1
  536. package/components/icon/icons/TabletMac.vue.js +18 -12
  537. package/components/icon/icons/TabletPortrait.vue.d.ts +1 -1
  538. package/components/icon/icons/TabletPortrait.vue.js +18 -12
  539. package/components/icon/icons/Texture.vue.d.ts +1 -1
  540. package/components/icon/icons/Texture.vue.js +18 -12
  541. package/components/icon/icons/ThemeDark.vue.d.ts +1 -1
  542. package/components/icon/icons/ThemeDark.vue.js +18 -12
  543. package/components/icon/icons/ThemeLight.vue.d.ts +1 -1
  544. package/components/icon/icons/ThemeLight.vue.js +18 -12
  545. package/components/icon/icons/Timelapse.vue.d.ts +1 -1
  546. package/components/icon/icons/Timelapse.vue.js +18 -12
  547. package/components/icon/icons/Timeline.vue.d.ts +1 -1
  548. package/components/icon/icons/Timeline.vue.js +18 -12
  549. package/components/icon/icons/TrendingDown.vue.d.ts +1 -1
  550. package/components/icon/icons/TrendingDown.vue.js +18 -12
  551. package/components/icon/icons/TrendingFlat.vue.d.ts +1 -1
  552. package/components/icon/icons/TrendingFlat.vue.js +18 -12
  553. package/components/icon/icons/TrendingUp.vue.d.ts +1 -1
  554. package/components/icon/icons/TrendingUp.vue.js +18 -12
  555. package/components/icon/icons/Tune.vue.d.ts +1 -1
  556. package/components/icon/icons/Tune.vue.js +18 -12
  557. package/components/icon/icons/TwoToneBanner.vue.d.ts +1 -1
  558. package/components/icon/icons/TwoToneBanner.vue.js +21 -14
  559. package/components/icon/icons/TwoToneInterstitial.vue.d.ts +1 -1
  560. package/components/icon/icons/TwoToneInterstitial.vue.js +21 -14
  561. package/components/icon/icons/TwoToneNativeAd.vue.d.ts +1 -1
  562. package/components/icon/icons/TwoToneNativeAd.vue.js +17 -11
  563. package/components/icon/icons/TwoToneOfferwall.vue.d.ts +1 -1
  564. package/components/icon/icons/TwoToneOfferwall.vue.js +21 -14
  565. package/components/icon/icons/TwoToneRewardedVideo.vue.d.ts +1 -1
  566. package/components/icon/icons/TwoToneRewardedVideo.vue.js +24 -16
  567. package/components/icon/icons/Undo.vue.d.ts +1 -1
  568. package/components/icon/icons/Undo.vue.js +18 -12
  569. package/components/icon/icons/UnfoldLess.vue.d.ts +1 -1
  570. package/components/icon/icons/UnfoldLess.vue.js +18 -12
  571. package/components/icon/icons/UnfoldMore.vue.d.ts +1 -1
  572. package/components/icon/icons/UnfoldMore.vue.js +18 -12
  573. package/components/icon/icons/VerticalAlignTop.vue.d.ts +1 -1
  574. package/components/icon/icons/VerticalAlignTop.vue.js +18 -12
  575. package/components/icon/icons/VerticalAlignTop2.vue.d.ts +1 -1
  576. package/components/icon/icons/VerticalAlignTop2.vue.js +18 -12
  577. package/components/icon/icons/Vibration.vue.d.ts +1 -1
  578. package/components/icon/icons/Vibration.vue.js +18 -12
  579. package/components/icon/icons/VideoRound.vue.d.ts +1 -1
  580. package/components/icon/icons/VideoRound.vue.js +18 -12
  581. package/components/icon/icons/ViewCarousel.vue.d.ts +1 -1
  582. package/components/icon/icons/ViewCarousel.vue.js +18 -12
  583. package/components/icon/icons/Visibility.vue.d.ts +1 -1
  584. package/components/icon/icons/Visibility.vue.js +18 -12
  585. package/components/icon/icons/VisibilityOff.vue.d.ts +1 -1
  586. package/components/icon/icons/VisibilityOff.vue.js +18 -12
  587. package/components/icon/icons/VisibilityOffStrok.vue.d.ts +1 -1
  588. package/components/icon/icons/VisibilityOffStrok.vue.js +18 -12
  589. package/components/icon/icons/VisibilityStrok.vue.d.ts +1 -1
  590. package/components/icon/icons/VisibilityStrok.vue.js +18 -12
  591. package/components/icon/icons/VolumeOff.vue.d.ts +1 -1
  592. package/components/icon/icons/VolumeOff.vue.js +18 -12
  593. package/components/icon/icons/VolumeUp.vue.d.ts +1 -1
  594. package/components/icon/icons/VolumeUp.vue.js +18 -12
  595. package/components/icon/icons/Warning.vue.d.ts +1 -1
  596. package/components/icon/icons/Warning.vue.js +18 -12
  597. package/components/icon/icons/Warning2.vue.d.ts +1 -1
  598. package/components/icon/icons/Warning2.vue.js +18 -12
  599. package/components/icon/icons/WebApp.vue.d.ts +1 -1
  600. package/components/icon/icons/WebApp.vue.js +18 -12
  601. package/components/icon/icons/Widget.vue.d.ts +1 -1
  602. package/components/icon/icons/Widget.vue.js +18 -13
  603. package/components/icon/icons/Widgets.vue.d.ts +1 -1
  604. package/components/icon/icons/Widgets.vue.js +18 -12
  605. package/components/icon/icons/WidgetsFill.vue.d.ts +1 -1
  606. package/components/icon/icons/WidgetsFill.vue.js +18 -12
  607. package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +2 -0
  608. package/components/icon/icons/WidgetsFlatSquares.vue.js +58 -0
  609. package/components/icon/icons/Widgetsz.vue.d.ts +1 -1
  610. package/components/icon/icons/Widgetsz.vue.js +21 -14
  611. package/components/icon/icons/WifiProtectedSetup.vue.d.ts +1 -1
  612. package/components/icon/icons/WifiProtectedSetup.vue.js +18 -12
  613. package/components/icon/icons/index.d.ts +21 -0
  614. package/components/icon/icons/{index.js → index.vue.js} +24 -4
  615. package/components/icon/index.d.ts +37 -82
  616. package/components/icon/index.vue.js +8 -0
  617. package/components/icon/storyComponents/Code.vue.d.ts +13 -10
  618. package/components/icon/storyComponents/IconWrapper.vue.d.ts +13 -10
  619. package/components/icon/storyComponents/Page.vue.d.ts +13 -10
  620. package/components/includeExclude/IncludeExclude.vue.d.ts +104 -179
  621. package/components/includeExclude/IncludeExclude.vue.js +624 -5
  622. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +75 -125
  623. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +121 -6
  624. package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +30 -39
  625. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +176 -6
  626. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +95 -175
  627. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +157 -6
  628. package/components/includeExclude/IncludeExcludeContext.vue.js +19 -0
  629. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +40 -58
  630. package/components/includeExclude/IncludeExcludeOption.vue.js +135 -5
  631. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +43 -0
  632. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +123 -0
  633. package/components/includeExclude/includeExcludeMocks.d.ts +12 -0
  634. package/components/includeExclude/index.d.ts +386 -970
  635. package/components/includeExclude/index.vue.js +23 -0
  636. package/components/input/DollarInput.vue.d.ts +13 -226
  637. package/components/input/DollarInput.vue.js +38 -6
  638. package/components/input/Input.vue.d.ts +86 -142
  639. package/components/input/Input.vue.js +235 -5
  640. package/components/input/PasswordInput.vue.d.ts +13 -226
  641. package/components/input/PasswordInput.vue.js +42 -6
  642. package/components/input/PercentageInput.vue.d.ts +13 -232
  643. package/components/input/PercentageInput.vue.js +38 -6
  644. package/components/input/index.d.ts +130 -317
  645. package/components/input/index.vue.js +12 -0
  646. package/components/menu/Menu.vue.d.ts +38 -50
  647. package/components/menu/Menu.vue.js +73 -6
  648. package/components/menu/index.d.ts +35 -126
  649. package/components/menu/index.vue.js +6 -0
  650. package/components/menuItem/MenuItem.vue.d.ts +1 -10
  651. package/components/menuItem/MenuItem.vue.js +26 -20
  652. package/components/menuItem/index.d.ts +1 -49
  653. package/components/menuItem/index.vue.js +6 -0
  654. package/components/popover/Popover.vue.d.ts +45 -69
  655. package/components/popover/Popover.vue.js +29 -26
  656. package/components/popover/index.d.ts +48 -157
  657. package/components/popover/index.vue.js +6 -0
  658. package/components/radioButton/RadioButton.vue.d.ts +38 -51
  659. package/components/radioButton/RadioButton.vue.js +84 -6
  660. package/components/radioButton/RadioGroup.vue.d.ts +34 -41
  661. package/components/radioButton/RadioGroup.vue.js +56 -6
  662. package/components/radioButton/index.d.ts +59 -251
  663. package/components/radioButton/index.vue.js +8 -0
  664. package/components/radioButton/useRadio.d.ts +1 -1
  665. package/components/radioButton/useRadio.vue.js +39 -0
  666. package/components/search/Search.vue.d.ts +39 -47
  667. package/components/search/Search.vue.js +91 -6
  668. package/components/search/index.d.ts +18 -12
  669. package/components/search/index.vue.js +6 -0
  670. package/components/skeleton/Skeleton.vue.d.ts +14 -20
  671. package/components/skeleton/Skeleton.vue.js +23 -6
  672. package/components/skeleton/index.d.ts +8 -68
  673. package/components/skeleton/index.vue.js +6 -0
  674. package/components/snackbar/Snackbar.vue.d.ts +60 -127
  675. package/components/snackbar/Snackbar.vue.js +181 -6
  676. package/components/snackbar/index.vue.js +5 -0
  677. package/components/snackbar/notify.vue.js +106 -0
  678. package/components/snackbar/snackbar.types.vue.js +6 -0
  679. package/components/switch/Switch.vue.d.ts +27 -37
  680. package/components/switch/Switch.vue.js +79 -6
  681. package/components/switch/index.d.ts +18 -101
  682. package/components/switch/index.vue.js +6 -0
  683. package/components/table/Pagination.vue.d.ts +43 -0
  684. package/components/table/SortOrderIcon.vue.d.ts +1 -1
  685. package/components/table/SortOrderIcon.vue.js +19 -12
  686. package/components/table/Table.types.d.ts +1 -0
  687. package/components/table/Table.vue.d.ts +78 -131
  688. package/components/table/Table.vue.js +345 -6
  689. package/components/table/TableContext.vue.js +19 -0
  690. package/components/table/TableHeaderSorter.vue.d.ts +13 -10
  691. package/components/table/TableHeaderSorter.vue.js +29 -6
  692. package/components/table/index.d.ts +111 -297
  693. package/components/table/index.vue.js +8 -0
  694. package/components/table-cells/Editable.vue.d.ts +38 -58
  695. package/components/table-cells/Editable.vue.js +88 -5
  696. package/components/table-cells/EditableContext.vue.js +10 -0
  697. package/components/table-cells/index.d.ts +36 -135
  698. package/components/table-cells/index.vue.js +8 -0
  699. package/components/tabs/Tabs.vue.d.ts +49 -53
  700. package/components/tabs/Tabs.vue.js +124 -5
  701. package/components/tabs/index.d.ts +36 -155
  702. package/components/tabs/index.vue.js +6 -0
  703. package/components/textArea/TextArea.vue.d.ts +46 -54
  704. package/components/textArea/TextArea.vue.js +66 -5
  705. package/components/textArea/index.d.ts +22 -10
  706. package/components/textArea/index.vue.js +6 -0
  707. package/components/toggle/Toggle.vue.d.ts +48 -62
  708. package/components/toggle/Toggle.vue.js +89 -6
  709. package/components/toggle/index.d.ts +22 -10
  710. package/components/toggle/index.vue.js +6 -0
  711. package/components/tooltip/TextWithTitleContent.vue.d.ts +15 -18
  712. package/components/tooltip/TextWithTitleContent.vue.js +49 -0
  713. package/components/tooltip/Tooltip.vue.d.ts +53 -81
  714. package/components/tooltip/Tooltip.vue.js +81 -62
  715. package/components/tooltip/index.d.ts +55 -172
  716. package/components/tooltip/index.vue.js +6 -0
  717. package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +12 -16
  718. package/components/typography/Heading.vue.d.ts +24 -23
  719. package/components/typography/Heading.vue.js +33 -6
  720. package/components/typography/Text.vue.d.ts +26 -29
  721. package/components/typography/Text.vue.js +28 -6
  722. package/components/typography/index.d.ts +29 -163
  723. package/components/typography/index.vue.js +8 -0
  724. package/composables/useId.vue.js +15 -0
  725. package/composables/useIsFocusVisible.vue.js +34 -0
  726. package/composables/useSearch.vue.js +18 -0
  727. package/composables/useToggle.vue.js +27 -0
  728. package/consts/{colors.js → colors.vue.js} +3 -4
  729. package/index.vue.js +94 -0
  730. package/package.json +13 -14
  731. package/utils/array.d.ts +1 -0
  732. package/utils/array.vue.js +13 -0
  733. package/utils/object.d.ts +1 -0
  734. package/utils/object.vue.js +10 -0
  735. package/AddFilterButton.vue_vue_type_style_index_0_scoped_043fe0a5_lang.css +0 -1
  736. package/AppIcon.vue_vue_type_style_index_0_scoped_a1f19170_lang.css +0 -1
  737. package/AppTrigger.vue_vue_type_style_index_0_scoped_62f99150_lang.css +0 -1
  738. package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_562d4ada_lang.css +0 -1
  739. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_171b1615_lang.css +0 -1
  740. package/Banner.vue_vue_type_style_index_0_scoped_ded86a03_lang.css +0 -1
  741. package/Button.vue_used_vue_type_style_index_0_lang.module.css +0 -1
  742. package/ButtonBase.vue_vue_type_style_index_0_scoped_7211e733_lang.css +0 -1
  743. package/CalendarMonth.vue_vue_type_style_index_0_scoped_9955a6c5_lang.css +0 -1
  744. package/Checkbox.vue_vue_type_style_index_0_scoped_af8ff01f_lang.css +0 -1
  745. package/Chip.vue_vue_type_style_index_0_scoped_29659885_lang.css +0 -1
  746. package/CssBaseline.vue_vue_type_style_index_0_scoped_f7dd256b_lang.css +0 -1
  747. package/DatePicker.vue_vue_type_style_index_0_scoped_29707fb4_lang.css +0 -1
  748. package/DatePickerMonth.vue_vue_type_style_index_0_scoped_801629e0_lang.css +0 -1
  749. package/DateRange.vue_vue_type_style_index_0_scoped_308d4d8d_lang.css +0 -1
  750. package/Dialog.vue_vue_type_style_index_0_scoped_0838c16a_lang.css +0 -1
  751. package/DollarInput.vue_vue_type_style_index_0_scoped_a2ce7d64_lang.css +0 -1
  752. package/Dropdown.vue_vue_type_style_index_0_scoped_c681a7ca_lang.css +0 -1
  753. package/Editable.vue_vue_type_style_index_0_scoped_e6ea7f1f_lang.css +0 -1
  754. package/EmptyState.vue_vue_type_style_index_0_scoped_e4967c65_lang.css +0 -1
  755. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
  756. package/FilterDropdown.vue_vue_type_style_index_0_scoped_1877e503_lang.css +0 -1
  757. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_c76fd143_lang.css +0 -1
  758. package/FiltersPanel.vue_vue_type_style_index_0_scoped_c80b7e48_lang.css +0 -1
  759. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_6c41c10a_lang.css +0 -1
  760. package/GroupOption.vue_vue_type_style_index_0_scoped_7ca2cd83_lang.css +0 -1
  761. package/Heading.vue_vue_type_style_index_0_scoped_a4d2562f_lang.css +0 -1
  762. package/Icon.vue_vue_type_style_index_0_scoped_77c04518_lang.css +0 -1
  763. package/IconButton.vue_vue_type_style_index_0_scoped_c30a9bf2_lang.css +0 -1
  764. package/IncludeExclude.vue_vue_type_style_index_0_scoped_75bb64e7_lang.css +0 -1
  765. package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_def8cb54_lang.css +0 -1
  766. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_a59d5600_lang.css +0 -1
  767. package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_9ec02e0e_lang.css +0 -1
  768. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_86841ad7_lang.css +0 -1
  769. package/Input.vue_vue_type_style_index_0_scoped_b49b2b32_lang.css +0 -1
  770. package/Label.vue_vue_type_style_index_0_scoped_04058f87_lang.css +0 -1
  771. package/Menu.vue_vue_type_style_index_0_scoped_cc6708b3_lang.css +0 -1
  772. package/MenuItem.vue_vue_type_style_index_0_scoped_c7e837fa_lang.css +0 -1
  773. package/Option.vue_vue_type_style_index_0_scoped_7b8e16fd_lang.css +0 -1
  774. package/PasswordInput.vue_vue_type_style_index_0_scoped_5a43fdb1_lang.css +0 -1
  775. package/PercentageInput.vue_vue_type_style_index_0_scoped_7bc4eae1_lang.css +0 -1
  776. package/RadioButton.vue_vue_type_style_index_0_scoped_16aa7579_lang.css +0 -1
  777. package/RadioGroup.vue_vue_type_style_index_0_scoped_19f1030d_lang.css +0 -1
  778. package/ScrollButton.vue_vue_type_style_index_0_scoped_ed37b64b_lang.css +0 -1
  779. package/Search.vue_vue_type_style_index_0_scoped_558677ae_lang.css +0 -1
  780. package/SearchInput.vue_vue_type_style_index_0_scoped_b52011c8_lang.css +0 -1
  781. package/Snackbar.vue_vue_type_style_index_0_scoped_e5d8edd0_lang.css +0 -1
  782. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
  783. package/Table.vue_vue_type_style_index_0_scoped_365ff6b7_lang.css +0 -1
  784. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
  785. package/Tabs.vue_vue_type_style_index_0_scoped_b71d8f96_lang.css +0 -1
  786. package/Text.vue_vue_type_style_index_0_scoped_a5537754_lang.css +0 -1
  787. package/TextArea.vue_vue_type_style_index_0_scoped_835f09fa_lang.css +0 -1
  788. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_ec87caf8_lang.css +0 -1
  789. package/Toggle.vue_vue_type_style_index_0_scoped_d26e6831_lang.css +0 -1
  790. package/_virtual/_plugin-vue_export-helper.js +0 -9
  791. package/_virtual/dynamic-import-helper.js +0 -9
  792. package/components/appIcon/AppIcon.vue2.js +0 -35
  793. package/components/appIcon/index.js +0 -6
  794. package/components/appTrigger/AppTrigger.vue2.js +0 -108
  795. package/components/appTrigger/index.js +0 -6
  796. package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +0 -115
  797. package/components/autocompleteDropdown/AutocompleteInput.vue2.js +0 -74
  798. package/components/autocompleteDropdown/GroupOption.vue2.js +0 -34
  799. package/components/autocompleteDropdown/consts.js +0 -5
  800. package/components/autocompleteDropdown/index.js +0 -6
  801. package/components/autocompleteDropdown/useKeyboardNavigation.js +0 -52
  802. package/components/banner/Banner.vue2.js +0 -38
  803. package/components/banner/index.js +0 -6
  804. package/components/button/Button.vue2.js +0 -57
  805. package/components/button/Button.vue3.js +0 -23
  806. package/components/button/ButtonBase.vue2.js +0 -6
  807. package/components/button/ButtonBase.vue3.js +0 -53
  808. package/components/button/IconButton.vue2.js +0 -45
  809. package/components/button/ScrollButton.vue2.js +0 -44
  810. package/components/button/consts.js +0 -18
  811. package/components/button/index.js +0 -10
  812. package/components/checkbox/Checkbox.vue2.js +0 -85
  813. package/components/checkbox/index.js +0 -6
  814. package/components/chip/Chip.vue2.js +0 -54
  815. package/components/chip/index.js +0 -6
  816. package/components/cssBaseline/index.js +0 -6
  817. package/components/datePicker/DatePicker.vue2.js +0 -92
  818. package/components/datePicker/DatePickerMonth.vue2.js +0 -85
  819. package/components/datePicker/index.js +0 -6
  820. package/components/dateRange/CalendarMonth.vue2.js +0 -226
  821. package/components/dateRange/DateRange.vue2.js +0 -403
  822. package/components/dateRange/DateServices.js +0 -245
  823. package/components/dateRange/index.js +0 -6
  824. package/components/dialog/Dialog.vue2.js +0 -165
  825. package/components/dialog/Reason.js +0 -4
  826. package/components/dialog/index.js +0 -6
  827. package/components/dropdown/Dropdown.vue2.js +0 -568
  828. package/components/dropdown/DropdownContext.js +0 -21
  829. package/components/dropdown/Label.vue2.js +0 -35
  830. package/components/dropdown/Option.vue2.js +0 -101
  831. package/components/dropdown/SearchInput.vue2.js +0 -80
  832. package/components/dropdown/index.js +0 -12
  833. package/components/emptyState/EmptyState.vue2.js +0 -89
  834. package/components/emptyState/index.js +0 -6
  835. package/components/filterDropdown/AddFilterButton.vue2.js +0 -48
  836. package/components/filterDropdown/FilterDropdown.vue2.js +0 -51
  837. package/components/filterDropdown/index.js +0 -8
  838. package/components/filtersPanel/FilterSearchInput.vue2.js +0 -46
  839. package/components/filtersPanel/FiltersPanel.vue2.js +0 -37
  840. package/components/filtersPanel/index.js +0 -14
  841. package/components/filtersPanel/useHiddenFilter.js +0 -20
  842. package/components/floatingToolbar/FloatingToolbar.vue2.js +0 -68
  843. package/components/floatingToolbar/index.js +0 -6
  844. package/components/icon/Icon.vue2.js +0 -38
  845. package/components/icon/index.js +0 -8
  846. package/components/includeExclude/IncludeExclude.vue2.js +0 -414
  847. package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +0 -112
  848. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +0 -107
  849. package/components/includeExclude/IncludeExcludeChipFilter.vue2.js +0 -146
  850. package/components/includeExclude/IncludeExcludeContext.js +0 -18
  851. package/components/includeExclude/IncludeExcludeOption.vue2.js +0 -114
  852. package/components/includeExclude/index.js +0 -20
  853. package/components/input/DollarInput.vue2.js +0 -31
  854. package/components/input/Input.vue2.js +0 -196
  855. package/components/input/PasswordInput.vue2.js +0 -33
  856. package/components/input/PercentageInput.vue2.js +0 -31
  857. package/components/input/index.js +0 -12
  858. package/components/menu/Menu.vue2.js +0 -60
  859. package/components/menu/index.js +0 -6
  860. package/components/menuItem/index.js +0 -6
  861. package/components/popover/Popover.vue3.js +0 -4
  862. package/components/popover/index.js +0 -6
  863. package/components/radioButton/RadioButton.vue2.js +0 -75
  864. package/components/radioButton/RadioGroup.vue2.js +0 -41
  865. package/components/radioButton/index.js +0 -8
  866. package/components/radioButton/useRadio.js +0 -24
  867. package/components/search/Search.vue2.js +0 -53
  868. package/components/search/index.js +0 -6
  869. package/components/skeleton/Skeleton.vue2.js +0 -18
  870. package/components/skeleton/index.js +0 -6
  871. package/components/snackbar/Snackbar.vue2.js +0 -149
  872. package/components/snackbar/index.js +0 -6
  873. package/components/snackbar/notify.js +0 -84
  874. package/components/snackbar/snackbar.types.js +0 -7
  875. package/components/switch/Switch.vue2.js +0 -62
  876. package/components/switch/index.js +0 -6
  877. package/components/table/Table.vue2.js +0 -262
  878. package/components/table/TableContext.js +0 -18
  879. package/components/table/TableHeaderSorter.vue2.js +0 -23
  880. package/components/table/index.js +0 -8
  881. package/components/table-cells/Editable.vue2.js +0 -66
  882. package/components/table-cells/EditableContext.js +0 -11
  883. package/components/table-cells/index.js +0 -10
  884. package/components/tabs/Tabs.vue2.js +0 -91
  885. package/components/tabs/index.js +0 -6
  886. package/components/textArea/TextArea.vue2.js +0 -58
  887. package/components/textArea/index.js +0 -6
  888. package/components/toggle/Toggle.vue2.js +0 -76
  889. package/components/toggle/index.js +0 -6
  890. package/components/tooltip/TextWithTitleContent.vue2.js +0 -6
  891. package/components/tooltip/TextWithTitleContent.vue3.js +0 -40
  892. package/components/tooltip/Tooltip.vue3.js +0 -4
  893. package/components/tooltip/index.js +0 -6
  894. package/components/typography/Heading.vue3.js +0 -22
  895. package/components/typography/Text.vue2.js +0 -20
  896. package/components/typography/index.js +0 -8
  897. package/composables/useId.js +0 -14
  898. package/composables/useIsFocusVisible.js +0 -26
  899. package/composables/useSearch.js +0 -15
  900. package/composables/useToggle.js +0 -18
  901. package/index.js +0 -189
@@ -1,6 +1,658 @@
1
- import o from "./DateRange.vue2.js";
2
- /* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
- const e = /* @__PURE__ */ t(o, [["__scopeId", "data-v-308d4d8d"]]);
4
- export {
5
- e as default
1
+ import { defineComponent, ref, computed, onMounted, onBeforeMount, onUnmounted, watch, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, unref, toDisplayString, setBlockTracking, withDirectives, Fragment, renderList, createVNode, withCtx, createTextVNode, createCommentVNode, vShow, normalizeStyle } from 'vue';
2
+ import { onClickOutside } from '@vueuse/core';
3
+ import { useToggle } from '../../composables/useToggle.vue.js';
4
+ import CalendarMonth from './CalendarMonth.vue.js';
5
+ import dateServices from './DateServices.vue.js';
6
+ import { typeToName, messagePerType, presetsList, formatError, mandatoryValuesError, navigatePrev, navigateNext } from './consts.vue.js';
7
+ import Button from '../button/Button.vue.js';
8
+ import '../button/IconButton.vue.js';
9
+ import '../button/ScrollButton.vue.js';
10
+ import '../typography/Heading.vue.js';
11
+ import Text from '../typography/Text.vue.js';
12
+ import { min, addDays, format } from 'date-fns';
13
+ /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
14
+
15
+ import "../../DateRange.vue_vue_type_style_index_0_scoped_true_lang.css";
16
+ const _hoisted_1 = ["id"];
17
+ const _hoisted_2 = ["id"];
18
+ const _hoisted_3 = {
19
+ key: 0,
20
+ class: "type-picker"
6
21
  };
22
+ const _hoisted_4 = ["onClick"];
23
+ const _hoisted_5 = {
24
+ key: 0,
25
+ class: "date-picker-menu"
26
+ };
27
+ const _hoisted_6 = ["id"];
28
+ const _hoisted_7 = ["id"];
29
+ const _hoisted_8 = ["onClick"];
30
+ const _hoisted_9 = { class: "dropdown-rightTriangle" };
31
+ const _hoisted_10 = { class: "type-message" };
32
+ const _hoisted_11 = { class: "date-picker-calendar left-box" };
33
+ const _hoisted_12 = { class: "buttons-cover" };
34
+ const _hoisted_13 = { class: "range" };
35
+ const numberOfMonths = 2;
36
+ const _sfc_main = defineComponent({
37
+ __name: "DateRange",
38
+ props: {
39
+ range: {},
40
+ types: { default: () => ["date"] },
41
+ includeToday: { type: Boolean, default: true },
42
+ allowedDays: { default: null },
43
+ maxDaysInRange: { default: null },
44
+ datePresetList: { default: "date" },
45
+ regex: { default: () => /^(1[0-2]|0?[1-9])\/[\d]{1,2}\/[\d]{4}$/ },
46
+ dateFormat: { default: "mm/dd/yyyy" },
47
+ uniqueId: { default: Date.now() },
48
+ disabled: { type: Boolean, default: false },
49
+ initialType: { default: null },
50
+ openOnTop: { type: Boolean, default: false },
51
+ showPresets: { type: Boolean, default: true },
52
+ maxDate: { default: null }
53
+ },
54
+ emits: [
55
+ "rangeTypeChanged",
56
+ "currentDateChanged",
57
+ "rangeChanged",
58
+ "dateRangePresetNameChanged",
59
+ "opened",
60
+ "dismissed"
61
+ ],
62
+ setup(__props, { emit }) {
63
+ const props = __props;
64
+ const datePicker = ref(null);
65
+ const selectionStart = ref({ started: false, date: null });
66
+ const initialized = ref(false);
67
+ const textDates = ref({ from: null, to: null });
68
+ const currentMonths = ref({});
69
+ const displayedMonthsKeys = ref([]);
70
+ const datePresets = ref(null);
71
+ const selectedPreset = ref({});
72
+ const savedPreset = ref({});
73
+ const displayError = ref(false);
74
+ const rangeType = ref(null);
75
+ const selectedRange = ref(null);
76
+ const placement = ref("left");
77
+ const currentDate = ref(null);
78
+ const error = ref(null);
79
+ const presets = ref([]);
80
+ const maxAllowedDate = ref(null);
81
+ const [isOpen] = useToggle({ initialValue: false });
82
+ const popup = ref(null);
83
+ onClickOutside(popup, () => {
84
+ isOpen.value = false;
85
+ });
86
+ const createMonth = (month, year) => {
87
+ const parsedMonth = {
88
+ weeks: [],
89
+ days: {},
90
+ month,
91
+ year
92
+ };
93
+ let day;
94
+ let week;
95
+ const firstDay = new Date(year, month, 1);
96
+ const dayInWeek = firstDay.getDay();
97
+ let dayCounter = 1;
98
+ const now = new Date();
99
+ now.setHours(0, 0, 0, 0);
100
+ const maxDay = dateServices.daysInMonth(month, year);
101
+ for (let i = 0; i < 6; i++) {
102
+ week = [];
103
+ for (let j = 0; j < 7; j++) {
104
+ day = {};
105
+ if (i === 0) {
106
+ if (dayInWeek > 0 && j < dayInWeek) {
107
+ day.value = 0;
108
+ }
109
+ }
110
+ if (dayCounter > maxDay) {
111
+ day.value = 0;
112
+ }
113
+ if (!day.value && day.value !== 0) {
114
+ day.value = dayCounter;
115
+ dayCounter += 1;
116
+ parsedMonth.days[day.value] = day;
117
+ day.date = new Date(year, month, day.value);
118
+ if (now < day.date) {
119
+ day.isFuture = true;
120
+ } else if (day.date.getTime() === now.getTime()) {
121
+ day.isToday = true;
122
+ if (!props.includeToday) {
123
+ day.disabled = true;
124
+ }
125
+ }
126
+ }
127
+ week.push(day);
128
+ }
129
+ parsedMonth.weeks.push(week);
130
+ }
131
+ return parsedMonth;
132
+ };
133
+ const initMonths = () => {
134
+ let now = dateServices.getCurrentTimeUTC();
135
+ if (selectedRange.value && selectedRange.value.toEnd) {
136
+ now = selectedRange.value.toEnd;
137
+ } else if (props.range && props.range.to) {
138
+ now = props.range.to;
139
+ }
140
+ if (!currentMonths.value[`${now.getFullYear().toString()}_${now.getMonth().toString()}`]) {
141
+ currentMonths.value = {};
142
+ displayedMonthsKeys.value = [];
143
+ for (let i = 0; i < numberOfMonths; i++) {
144
+ const lastMonth = new Date(now);
145
+ lastMonth.setDate(1);
146
+ lastMonth.setMonth(now.getMonth() - i);
147
+ const key = `${lastMonth.getFullYear().toString()}_${lastMonth.getMonth().toString()}`;
148
+ currentMonths.value[key] = {
149
+ parsedMonth: createMonth(lastMonth.getMonth(), lastMonth.getFullYear()),
150
+ order: i
151
+ };
152
+ displayedMonthsKeys.value.unshift(key);
153
+ }
154
+ }
155
+ };
156
+ const changeType = (type, resetDate) => {
157
+ rangeType.value = type;
158
+ let presetType = type;
159
+ if (type === "date") {
160
+ presetType = props.datePresetList;
161
+ }
162
+ presets.value = presetsList[presetType];
163
+ if (resetDate) {
164
+ selectedRange.value = {
165
+ fromStart: null,
166
+ fromEnd: null,
167
+ toStart: null,
168
+ toEnd: null
169
+ };
170
+ textDates.value.from = "";
171
+ textDates.value.to = "";
172
+ selectionStart.value = { started: false, date: null };
173
+ selectedPreset.value = "custom";
174
+ }
175
+ emit("rangeTypeChanged", rangeType.value);
176
+ };
177
+ const presetChanged = (selectedObj) => {
178
+ selectedPreset.value = selectedObj.id;
179
+ initRange(datePresets.value[selectedObj.id].dates());
180
+ initMonths();
181
+ };
182
+ const initRange = (newValue, selectionNotCompleted = false) => {
183
+ let newRange = newValue;
184
+ if (!newValue || !newValue.from && !newValue.to) {
185
+ newRange = datePresets.value[presets.value[0]];
186
+ }
187
+ if (props.maxDaysInRange) {
188
+ maxAllowedDate.value = selectionNotCompleted ? addDays(newRange.from, props.maxDaysInRange) : null;
189
+ }
190
+ displayError.value = false;
191
+ if (!newRange.from || !newRange.to || !(newRange.from instanceof Date) || !(newRange.to instanceof Date)) {
192
+ error.value = formatError;
193
+ displayError.value = true;
194
+ return false;
195
+ }
196
+ if (newRange.from > newRange.to) {
197
+ error.value = `"From" date can't be bigger than "To" date`;
198
+ displayError.value = true;
199
+ return false;
200
+ }
201
+ selectedRange.value = getSelectedRangeByType(newRange);
202
+ textDates.value.from = format(
203
+ selectedRange.value.fromStart,
204
+ props.dateFormat
205
+ );
206
+ textDates.value.to = format(selectedRange.value.toEnd, props.dateFormat);
207
+ return true;
208
+ };
209
+ const setCurrentDate = () => {
210
+ if (selectedPreset.value === "custom") {
211
+ currentDate.value = dateServices.getDateRangeString(selectedRange.value);
212
+ } else {
213
+ currentDate.value = selectedPresetName.value;
214
+ }
215
+ emit("currentDateChanged", currentDate.value);
216
+ };
217
+ const apply = () => {
218
+ if (selectedRange.value.fromStart == null || selectedRange.value.toEnd == null) {
219
+ displayError.value = true;
220
+ error.value = mandatoryValuesError;
221
+ return;
222
+ }
223
+ const today = dateServices.getCurrentTimeUTC();
224
+ if (selectedRange.value.toEnd > today) {
225
+ selectedRange.value.toEnd = today;
226
+ }
227
+ setCurrentDate();
228
+ savedPreset.value = selectedPreset.value;
229
+ emit("rangeChanged", {
230
+ from: selectedRange.value.fromStart,
231
+ to: selectedRange.value.toEnd,
232
+ preset: savedPreset.value
233
+ });
234
+ toggle(false);
235
+ };
236
+ const getNavigation = (isFirst, isLast) => {
237
+ if (isFirst) {
238
+ return navigatePrev;
239
+ }
240
+ if (isLast) {
241
+ return navigateNext;
242
+ }
243
+ return null;
244
+ };
245
+ const navigationCallback = (direction) => {
246
+ let newMonth = null;
247
+ let newYear = null;
248
+ const maxOrder = numberOfMonths - 1;
249
+ let stringKey = "";
250
+ let lastMonth = null;
251
+ let firstMonth = null;
252
+ switch (direction) {
253
+ case navigateNext:
254
+ Object.keys(currentMonths.value).forEach((key) => {
255
+ const displayedMonth = currentMonths.value[key];
256
+ if (displayedMonth.order === 0) {
257
+ lastMonth = displayedMonth;
258
+ }
259
+ if (displayedMonth.order === maxOrder) {
260
+ displayedMonthsKeys.value.splice(
261
+ displayedMonthsKeys.value.indexOf(key),
262
+ 1
263
+ );
264
+ delete currentMonths.value[key];
265
+ } else {
266
+ displayedMonth.order += 1;
267
+ }
268
+ });
269
+ newMonth = lastMonth.parsedMonth.month + 1;
270
+ newYear = lastMonth.parsedMonth.year;
271
+ if (newMonth > 11) {
272
+ newMonth = 0;
273
+ newYear += 1;
274
+ }
275
+ stringKey = `${newYear.toString()}_${newMonth.toString()}`;
276
+ currentMonths.value[stringKey] = {
277
+ parsedMonth: createMonth(newMonth, newYear),
278
+ order: 0
279
+ };
280
+ displayedMonthsKeys.value.push(stringKey);
281
+ break;
282
+ case navigatePrev:
283
+ Object.keys(currentMonths.value).forEach((key) => {
284
+ const displayedMonth = currentMonths.value[key];
285
+ if (displayedMonth.order === maxOrder) {
286
+ firstMonth = displayedMonth;
287
+ }
288
+ if (displayedMonth.order === 0) {
289
+ displayedMonthsKeys.value.splice(
290
+ displayedMonthsKeys.value.indexOf(key),
291
+ 1
292
+ );
293
+ delete currentMonths.value[key];
294
+ } else {
295
+ displayedMonth.order -= 1;
296
+ }
297
+ });
298
+ newMonth = firstMonth.parsedMonth.month - 1;
299
+ newYear = firstMonth.parsedMonth.year;
300
+ if (newMonth < 0) {
301
+ newMonth = 11;
302
+ newYear -= 1;
303
+ }
304
+ stringKey = `${newYear.toString()}_${newMonth.toString()}`;
305
+ currentMonths.value[stringKey] = {
306
+ parsedMonth: createMonth(newMonth, newYear),
307
+ order: maxOrder
308
+ };
309
+ displayedMonthsKeys.value.unshift(stringKey);
310
+ break;
311
+ }
312
+ };
313
+ const getSelectedRangeByType = (dateRange) => {
314
+ let formattedDateRange;
315
+ switch (rangeType.value) {
316
+ case "week":
317
+ formattedDateRange = {
318
+ fromStart: dateServices.getFirstDayOfWeek(dateRange.from),
319
+ fromEnd: dateServices.getLastDayOfWeek(dateRange.from),
320
+ toStart: dateServices.getFirstDayOfWeek(dateRange.to),
321
+ toEnd: dateServices.getLastDayOfWeek(dateRange.to)
322
+ };
323
+ break;
324
+ case "month":
325
+ formattedDateRange = {
326
+ fromStart: new Date(
327
+ dateRange.from.getFullYear(),
328
+ dateRange.from.getMonth(),
329
+ 1
330
+ ),
331
+ fromEnd: dateServices.getLastDayOfMonth(dateRange.from),
332
+ toStart: new Date(
333
+ dateRange.to.getFullYear(),
334
+ dateRange.to.getMonth(),
335
+ 1
336
+ ),
337
+ toEnd: dateServices.getLastDayOfMonth(dateRange.to)
338
+ };
339
+ break;
340
+ case "date":
341
+ default:
342
+ formattedDateRange = {
343
+ fromStart: dateRange.from,
344
+ fromEnd: dateRange.from,
345
+ toStart: dateRange.to,
346
+ toEnd: dateRange.to
347
+ };
348
+ break;
349
+ }
350
+ return formattedDateRange;
351
+ };
352
+ const compareDates = (dateA, dateB) => {
353
+ return dateA.getUTCFullYear() === dateB.getUTCFullYear() && dateA.getUTCMonth() === dateB.getUTCMonth() && dateA.getUTCDate() === dateB.getUTCDate();
354
+ };
355
+ const determinePreset = (range) => {
356
+ let found = false;
357
+ const currentRange = {
358
+ from: new Date(range.from),
359
+ to: new Date(range.to)
360
+ };
361
+ currentRange.from.setHours(0, 0, 0, 0);
362
+ currentRange.to.setHours(0, 0, 0, 0);
363
+ const availablePresetKeys = presets.value.map((item) => item.id);
364
+ Object.keys(datePresets.value).forEach((key) => {
365
+ const dateRange = datePresets.value[key];
366
+ if (key !== "custom" && !found && availablePresetKeys.indexOf(key) !== -1) {
367
+ const presetRange = dateRange.dates();
368
+ presetRange.from.setHours(0, 0, 0, 0);
369
+ presetRange.to.setHours(0, 0, 0, 0);
370
+ if (compareDates(presetRange.from, currentRange.from) && compareDates(presetRange.to, currentRange.to)) {
371
+ selectedPreset.value = key;
372
+ found = true;
373
+ }
374
+ }
375
+ });
376
+ if (found) {
377
+ const presetItem = presets.value.find(
378
+ (preset) => preset.id === selectedPreset.value
379
+ );
380
+ emit("dateRangePresetNameChanged", presetItem.name);
381
+ } else {
382
+ emit("dateRangePresetNameChanged", null);
383
+ selectedPreset.value = "custom";
384
+ }
385
+ savedPreset.value = selectedPreset.value;
386
+ };
387
+ const selectionChanged = (day, month, year) => {
388
+ if (!selectionStart.value.started) {
389
+ selectedPreset.value = "custom";
390
+ selectionStart.value.started = true;
391
+ selectionStart.value.date = new Date(year, month, day.value);
392
+ initRange(
393
+ { from: selectionStart.value.date, to: selectionStart.value.date },
394
+ true
395
+ );
396
+ } else {
397
+ const endDate = new Date(year, month, day.value);
398
+ const startDate = selectionStart.value.date;
399
+ selectionStart.value.started = false;
400
+ selectionStart.value.date = null;
401
+ if (endDate < startDate) {
402
+ selectionChanged(day, month, year);
403
+ } else {
404
+ initRange({ from: startDate, to: endDate });
405
+ }
406
+ }
407
+ };
408
+ const checkPlacement = () => {
409
+ const position = datePicker.value.offsetLeft;
410
+ if (window.innerWidth - position > 930) {
411
+ return "left";
412
+ }
413
+ return "right";
414
+ };
415
+ const toggle = (dismiss = true) => {
416
+ isOpen.value = !isOpen.value;
417
+ if (isOpen.value) {
418
+ placement.value = checkPlacement();
419
+ initRange(props.range);
420
+ initMonths();
421
+ emit("opened");
422
+ } else {
423
+ initRange(props.range);
424
+ initMonths();
425
+ selectedPreset.value = savedPreset.value;
426
+ if (dismiss)
427
+ emit("dismissed");
428
+ }
429
+ };
430
+ const closeDatePicker = () => {
431
+ if (isOpen.value) {
432
+ toggle();
433
+ }
434
+ };
435
+ const initPresets = () => {
436
+ datePresets.value = dateServices.getPresetsFunctions(props.includeToday);
437
+ datePresets.value.custom = {
438
+ dates: () => props.range
439
+ };
440
+ };
441
+ const isCompact = computed(() => {
442
+ return (displayedMonthsKeys.value || []).reduce((res, monthKey) => {
443
+ const lastWeek = currentMonths.value[monthKey].parsedMonth.weeks[currentMonths.value[monthKey].parsedMonth.weeks.length - 1];
444
+ const hasDays = lastWeek.filter(
445
+ (item) => item.value !== 0
446
+ ).length;
447
+ return res && !hasDays;
448
+ }, true);
449
+ });
450
+ const init = () => {
451
+ if (!props.range)
452
+ return;
453
+ initialized.value = true;
454
+ changeType(props.initialType || props.types[0]);
455
+ initPresets();
456
+ determinePreset(props.range);
457
+ initRange(props.range);
458
+ initMonths();
459
+ setCurrentDate();
460
+ };
461
+ onMounted(() => {
462
+ init();
463
+ });
464
+ onBeforeMount(() => {
465
+ const keyupHandler = (e) => {
466
+ if (e.key === "Escape" && isOpen.value)
467
+ closeDatePicker();
468
+ };
469
+ document.addEventListener("keyup", keyupHandler);
470
+ onUnmounted(() => {
471
+ document.removeEventListener("keyup", keyupHandler);
472
+ });
473
+ });
474
+ watch(
475
+ () => props.range,
476
+ (newVal, oldVal) => {
477
+ if (newVal && newVal !== oldVal) {
478
+ if (initialized.value) {
479
+ determinePreset(newVal);
480
+ initRange(newVal);
481
+ setCurrentDate();
482
+ } else {
483
+ init();
484
+ }
485
+ }
486
+ }
487
+ );
488
+ watch(isOpen, (value) => {
489
+ if (!value) {
490
+ selectionStart.value.started = false;
491
+ }
492
+ });
493
+ const selectedPresetName = computed(() => {
494
+ const newSelectedPreset = presets.value.find(
495
+ (preset) => preset.id === selectedPreset.value
496
+ );
497
+ return newSelectedPreset ? newSelectedPreset.name : "";
498
+ });
499
+ const datePickerId = computed(() => `datepicker${props.uniqueId}`);
500
+ const getMaxAllowedDate = computed(() => {
501
+ const dates = [props.maxDate, maxAllowedDate.value].filter((date) => date);
502
+ return dates.length ? min(dates) : null;
503
+ });
504
+ return (_ctx, _cache) => {
505
+ return openBlock(), createElementBlock("div", {
506
+ id: datePickerId.value,
507
+ ref_key: "datePicker",
508
+ ref: datePicker,
509
+ class: normalizeClass(["relative-wrap", { "date-range-disabled": _ctx.disabled }])
510
+ }, [
511
+ createElementVNode("div", {
512
+ class: "date-range-field",
513
+ onClick: _cache[1] || (_cache[1] = ($event) => toggle())
514
+ }, [
515
+ renderSlot(_ctx.$slots, "field", {
516
+ currentDate: currentDate.value,
517
+ isOpen: unref(isOpen)
518
+ }, () => [
519
+ createElementVNode("span", null, toDisplayString(currentDate.value), 1),
520
+ _cache[0] || (setBlockTracking(-1), _cache[0] = createElementVNode("div", { class: "small-triangle" }), setBlockTracking(1), _cache[0])
521
+ ], true)
522
+ ]),
523
+ withDirectives(createElementVNode("div", {
524
+ id: "datepickerPopup" + _ctx.uniqueId,
525
+ ref_key: "popup",
526
+ ref: popup,
527
+ class: normalizeClass(["pop-up", [
528
+ placement.value,
529
+ _ctx.openOnTop ? "open-on-top" : "",
530
+ !_ctx.showPresets ? "hide-presets" : ""
531
+ ]])
532
+ }, [
533
+ _ctx.types.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_3, [
534
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.types, (type) => {
535
+ return openBlock(), createElementBlock("span", {
536
+ key: type,
537
+ class: normalizeClass(["range-type", { "selected-range-type": rangeType.value === type }]),
538
+ onClick: ($event) => changeType(type, true)
539
+ }, [
540
+ createVNode(unref(Text), { size: "sm" }, {
541
+ default: withCtx(() => [
542
+ createTextVNode(toDisplayString(unref(typeToName)[type]), 1)
543
+ ]),
544
+ _: 2
545
+ }, 1024)
546
+ ], 10, _hoisted_4);
547
+ }), 128))
548
+ ])) : createCommentVNode("", true),
549
+ createElementVNode("div", {
550
+ class: normalizeClass(["flex", { "pop-up-content": _ctx.types.length > 1 }])
551
+ }, [
552
+ _ctx.showPresets ? (openBlock(), createElementBlock("div", _hoisted_5, [
553
+ createElementVNode("div", {
554
+ id: "presets" + _ctx.uniqueId,
555
+ class: "preset-dropdown"
556
+ }, [
557
+ createElementVNode("ul", {
558
+ id: "customDropDownList" + _ctx.uniqueId
559
+ }, [
560
+ (openBlock(true), createElementBlock(Fragment, null, renderList(presets.value, (uic) => {
561
+ return openBlock(), createElementBlock("li", {
562
+ key: uic.id,
563
+ class: normalizeClass({
564
+ "selected-preset-container": selectedPreset.value === uic.id
565
+ })
566
+ }, [
567
+ createElementVNode("div", {
568
+ class: normalizeClass([{ "selected-preset": selectedPreset.value === uic.id }, "preset-element"]),
569
+ onClick: ($event) => presetChanged(uic)
570
+ }, [
571
+ createVNode(unref(Text), { size: "sm" }, {
572
+ default: withCtx(() => [
573
+ createTextVNode(toDisplayString(uic["name"]), 1)
574
+ ]),
575
+ _: 2
576
+ }, 1024)
577
+ ], 10, _hoisted_8),
578
+ withDirectives(createElementVNode("div", _hoisted_9, null, 512), [
579
+ [vShow, uic.id === "custom"]
580
+ ])
581
+ ], 2);
582
+ }), 128))
583
+ ], 8, _hoisted_7)
584
+ ], 8, _hoisted_6),
585
+ createElementVNode("div", _hoisted_10, toDisplayString(unref(messagePerType)[rangeType.value]), 1)
586
+ ])) : createCommentVNode("", true),
587
+ createElementVNode("div", {
588
+ class: "calendar-wrap",
589
+ style: normalizeStyle({ height: isCompact.value ? "336px" : "372px" })
590
+ }, [
591
+ createElementVNode("div", _hoisted_11, [
592
+ (openBlock(true), createElementBlock(Fragment, null, renderList(displayedMonthsKeys.value, (currMonth, index) => {
593
+ return openBlock(), createElementBlock("div", { key: currMonth }, [
594
+ createVNode(CalendarMonth, {
595
+ id: _ctx.uniqueId,
596
+ navigation: getNavigation(
597
+ index === 0,
598
+ index === displayedMonthsKeys.value.length - 1
599
+ ),
600
+ year: currentMonths.value[currMonth].parsedMonth.year,
601
+ days: currentMonths.value[currMonth].parsedMonth.days,
602
+ weeks: currentMonths.value[currMonth].parsedMonth.weeks,
603
+ month: currentMonths.value[currMonth].parsedMonth.month,
604
+ range: selectedRange.value,
605
+ type: rangeType.value,
606
+ "allowed-days": _ctx.allowedDays,
607
+ "max-allowed-date": getMaxAllowedDate.value,
608
+ onSelectionChanged: selectionChanged,
609
+ onNavigation: navigationCallback
610
+ }, null, 8, ["id", "navigation", "year", "days", "weeks", "month", "range", "type", "allowed-days", "max-allowed-date"])
611
+ ]);
612
+ }), 128)),
613
+ createElementVNode("div", _hoisted_12, [
614
+ createElementVNode("div", _hoisted_13, [
615
+ renderSlot(_ctx.$slots, "footer", {}, void 0, true)
616
+ ]),
617
+ withDirectives(createElementVNode("div", { class: "error" }, toDisplayString(error.value), 513), [
618
+ [vShow, displayError.value]
619
+ ]),
620
+ _cache[2] || (setBlockTracking(-1), _cache[2] = createElementVNode("div", { class: "buttons" }, [
621
+ createVNode(unref(Button), {
622
+ id: "button-ok" + _ctx.uniqueId,
623
+ size: "sm",
624
+ class: "primary button small",
625
+ onClick: ($event) => apply()
626
+ }, {
627
+ default: withCtx(() => [
628
+ createTextVNode(" Apply ")
629
+ ]),
630
+ _: 1
631
+ }, 8, ["id", "onClick"]),
632
+ createVNode(unref(Button), {
633
+ id: "button-cancel" + _ctx.uniqueId,
634
+ size: "sm",
635
+ theme: "third",
636
+ class: "button small border third transparent",
637
+ onClick: ($event) => toggle()
638
+ }, {
639
+ default: withCtx(() => [
640
+ createTextVNode(" Cancel ")
641
+ ]),
642
+ _: 1
643
+ }, 8, ["id", "onClick"])
644
+ ]), setBlockTracking(1), _cache[2])
645
+ ])
646
+ ])
647
+ ], 4)
648
+ ], 2)
649
+ ], 10, _hoisted_2), [
650
+ [vShow, unref(isOpen)]
651
+ ])
652
+ ], 10, _hoisted_1);
653
+ };
654
+ }
655
+ });
656
+ var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-46a2bd5d"]]);
657
+
658
+ export { DateRange as default };