@ironsource/shared-ui 1.4.2-test.19 → 1.4.2-test.2

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 (850) hide show
  1. package/README.md +2 -1
  2. package/_virtual/_plugin-vue_export-helper.js +9 -0
  3. package/_virtual/dynamic-import-helper.js +9 -0
  4. package/components/appIcon/AppIcon.vue.d.ts +22 -28
  5. package/components/appIcon/AppIcon.vue.js +6 -43
  6. package/components/appIcon/AppIcon.vue2.js +35 -0
  7. package/components/appIcon/index.d.ts +3 -7
  8. package/components/appIcon/index.js +6 -0
  9. package/components/appTrigger/AppTrigger.vue.d.ts +44 -33
  10. package/components/appTrigger/AppTrigger.vue.js +6 -185
  11. package/components/appTrigger/AppTrigger.vue2.js +107 -0
  12. package/components/appTrigger/index.d.ts +118 -32
  13. package/components/appTrigger/index.js +6 -0
  14. package/components/autocompleteDropdown/AutocompleteDropdown.vue.d.ts +70 -43
  15. package/components/autocompleteDropdown/AutocompleteDropdown.vue.js +6 -146
  16. package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +115 -0
  17. package/components/autocompleteDropdown/AutocompleteInput.vue.d.ts +39 -32
  18. package/components/autocompleteDropdown/AutocompleteInput.vue.js +6 -93
  19. package/components/autocompleteDropdown/AutocompleteInput.vue2.js +74 -0
  20. package/components/autocompleteDropdown/GroupOption.vue.d.ts +8 -1
  21. package/components/autocompleteDropdown/GroupOption.vue.js +6 -42
  22. package/components/autocompleteDropdown/GroupOption.vue2.js +34 -0
  23. package/components/autocompleteDropdown/consts.js +5 -0
  24. package/components/autocompleteDropdown/index.d.ts +164 -46
  25. package/components/autocompleteDropdown/index.js +6 -0
  26. package/components/autocompleteDropdown/useKeyboardNavigation.js +52 -0
  27. package/components/banner/Banner.vue.d.ts +11 -12
  28. package/components/banner/Banner.vue.js +6 -58
  29. package/components/banner/Banner.vue2.js +38 -0
  30. package/components/banner/index.d.ts +69 -17
  31. package/components/banner/index.js +6 -0
  32. package/components/button/Button.vue.d.ts +35 -32
  33. package/components/button/Button.vue.js +6 -63
  34. package/components/button/Button.vue2.js +57 -0
  35. package/components/button/ButtonBase.vue.d.ts +59 -42
  36. package/components/button/ButtonBase.vue2.js +6 -0
  37. package/components/button/ButtonBase.vue3.js +53 -0
  38. package/components/button/IconButton.vue.d.ts +25 -26
  39. package/components/button/IconButton.vue.js +6 -51
  40. package/components/button/IconButton.vue2.js +45 -0
  41. package/components/button/ScrollButton.vue.d.ts +36 -36
  42. package/components/button/ScrollButton.vue.js +6 -48
  43. package/components/button/ScrollButton.vue2.js +43 -0
  44. package/components/button/consts.js +18 -0
  45. package/components/button/icon/LoaderCircleIcon.vue.d.ts +1 -1
  46. package/components/button/icon/LoaderCircleIcon.vue.js +13 -19
  47. package/components/button/icon/LoaderDotsIcon.vue.d.ts +1 -1
  48. package/components/button/icon/LoaderDotsIcon.vue.js +11 -17
  49. package/components/button/index.d.ts +186 -53
  50. package/components/button/index.js +10 -0
  51. package/components/checkbox/Checkbox.vue.d.ts +46 -34
  52. package/components/checkbox/Checkbox.vue.js +6 -110
  53. package/components/checkbox/Checkbox.vue2.js +85 -0
  54. package/components/checkbox/icons/checked.vue.d.ts +1 -1
  55. package/components/checkbox/icons/checked.vue.js +14 -21
  56. package/components/checkbox/icons/indeterminate.vue.d.ts +1 -1
  57. package/components/checkbox/icons/indeterminate.vue.js +14 -21
  58. package/components/checkbox/icons/unchecked.vue.d.ts +1 -1
  59. package/components/checkbox/icons/unchecked.vue.js +12 -18
  60. package/components/checkbox/index.d.ts +129 -32
  61. package/components/checkbox/index.js +6 -0
  62. package/components/chip/Chip.vue.d.ts +43 -34
  63. package/components/chip/Chip.vue.js +5 -63
  64. package/components/chip/Chip.vue2.js +54 -0
  65. package/components/chip/index.d.ts +119 -29
  66. package/components/chip/index.js +6 -0
  67. package/components/cssBaseline/CssBaseline.vue.d.ts +8 -1
  68. package/components/cssBaseline/CssBaseline.vue.js +9 -11
  69. package/components/cssBaseline/index.d.ts +47 -1
  70. package/components/cssBaseline/index.js +6 -0
  71. package/components/datePicker/DatePicker.vue.d.ts +52 -39
  72. package/components/datePicker/DatePicker.vue.js +6 -125
  73. package/components/datePicker/DatePicker.vue2.js +92 -0
  74. package/components/datePicker/DatePickerMonth.vue.d.ts +35 -35
  75. package/components/datePicker/DatePickerMonth.vue.js +6 -99
  76. package/components/datePicker/DatePickerMonth.vue2.js +85 -0
  77. package/components/datePicker/index.d.ts +137 -37
  78. package/components/datePicker/index.js +6 -0
  79. package/components/dateRange/CalendarMonth.vue.d.ts +91 -53
  80. package/components/dateRange/CalendarMonth.vue.js +6 -318
  81. package/components/dateRange/CalendarMonth.vue2.js +225 -0
  82. package/components/dateRange/DateRange.vue.d.ts +137 -79
  83. package/components/dateRange/DateRange.vue.js +5 -655
  84. package/components/dateRange/DateRange.vue2.js +403 -0
  85. package/components/dateRange/DateRangePicker.vue.d.ts +126 -75
  86. package/components/dateRange/DateServices.js +245 -0
  87. package/components/dateRange/{consts.vue.js → consts.js} +12 -11
  88. package/components/dateRange/index.d.ts +297 -98
  89. package/components/dateRange/index.js +6 -0
  90. package/components/dialog/Dialog.vue.d.ts +128 -79
  91. package/components/dialog/Dialog.vue.js +5 -191
  92. package/components/dialog/Dialog.vue2.js +165 -0
  93. package/components/dialog/Reason.js +4 -0
  94. package/components/dialog/index.d.ts +288 -110
  95. package/components/dialog/index.js +6 -0
  96. package/components/dropdown/Dropdown.vue.d.ts +301 -172
  97. package/components/dropdown/Dropdown.vue.js +5 -757
  98. package/components/dropdown/Dropdown.vue2.js +568 -0
  99. package/components/dropdown/DropdownContext.js +21 -0
  100. package/components/dropdown/Label.vue.d.ts +8 -1
  101. package/components/dropdown/Label.vue.js +6 -41
  102. package/components/dropdown/Label.vue2.js +35 -0
  103. package/components/dropdown/Option.vue.d.ts +64 -43
  104. package/components/dropdown/Option.vue.js +5 -132
  105. package/components/dropdown/Option.vue2.js +101 -0
  106. package/components/dropdown/SearchInput.vue.d.ts +14 -1
  107. package/components/dropdown/SearchInput.vue.js +5 -118
  108. package/components/dropdown/SearchInput.vue2.js +80 -0
  109. package/components/dropdown/index.d.ts +646 -266
  110. package/components/dropdown/index.js +12 -0
  111. package/components/emptyState/EmptyState.vue.d.ts +106 -65
  112. package/components/emptyState/EmptyState.vue.js +6 -98
  113. package/components/emptyState/EmptyState.vue2.js +89 -0
  114. package/components/emptyState/EmptyStateIcon.vue.d.ts +1 -1
  115. package/components/emptyState/EmptyStateIcon.vue.js +16 -25
  116. package/components/emptyState/index.d.ts +229 -76
  117. package/components/emptyState/index.js +6 -0
  118. package/components/filterDropdown/AddFilterButton.vue.d.ts +26 -16
  119. package/components/filterDropdown/AddFilterButton.vue.js +6 -53
  120. package/components/filterDropdown/AddFilterButton.vue2.js +48 -0
  121. package/components/filterDropdown/FilterDropdown.vue.d.ts +51 -35
  122. package/components/filterDropdown/FilterDropdown.vue.js +6 -56
  123. package/components/filterDropdown/FilterDropdown.vue2.js +51 -0
  124. package/components/filterDropdown/index.d.ts +87 -25
  125. package/components/filterDropdown/index.js +8 -0
  126. package/components/filtersPanel/FilterSearchInput.vue.js +5 -53
  127. package/components/filtersPanel/FilterSearchInput.vue2.js +45 -0
  128. package/components/filtersPanel/FiltersPanel.vue.js +6 -56
  129. package/components/filtersPanel/FiltersPanel.vue2.js +37 -0
  130. package/components/filtersPanel/index.js +14 -0
  131. package/components/filtersPanel/useHiddenFilter.js +20 -0
  132. package/components/floatingToolbar/FloatingToolbar.vue.d.ts +33 -27
  133. package/components/floatingToolbar/FloatingToolbar.vue.js +5 -77
  134. package/components/floatingToolbar/FloatingToolbar.vue2.js +68 -0
  135. package/components/floatingToolbar/index.d.ts +101 -20
  136. package/components/floatingToolbar/index.js +6 -0
  137. package/components/icon/Icon.vue.d.ts +25 -27
  138. package/components/icon/Icon.vue.js +6 -283
  139. package/components/icon/Icon.vue2.js +38 -0
  140. package/components/icon/icons/A.vue.d.ts +1 -1
  141. package/components/icon/icons/A.vue.js +14 -21
  142. package/components/icon/icons/A2.vue.d.ts +1 -1
  143. package/components/icon/icons/A2.vue.js +12 -18
  144. package/components/icon/icons/ABTest.vue.d.ts +1 -1
  145. package/components/icon/icons/ABTest.vue.js +12 -18
  146. package/components/icon/icons/ABTest2.vue.d.ts +1 -1
  147. package/components/icon/icons/ABTest2.vue.js +11 -17
  148. package/components/icon/icons/ACircle.vue.d.ts +1 -1
  149. package/components/icon/icons/ACircle.vue.js +12 -18
  150. package/components/icon/icons/AccountBalanceWallet.vue.d.ts +1 -1
  151. package/components/icon/icons/AccountBalanceWallet.vue.js +14 -21
  152. package/components/icon/icons/AccountCircle.vue.d.ts +1 -1
  153. package/components/icon/icons/AccountCircle.vue.js +12 -18
  154. package/components/icon/icons/AccountCircleOutline.vue.d.ts +1 -1
  155. package/components/icon/icons/AccountCircleOutline.vue.js +12 -18
  156. package/components/icon/icons/Add.vue.d.ts +1 -1
  157. package/components/icon/icons/Add.vue.js +12 -18
  158. package/components/icon/icons/Analytics.vue.d.ts +1 -1
  159. package/components/icon/icons/Analytics.vue.js +12 -18
  160. package/components/icon/icons/Android.vue.d.ts +1 -1
  161. package/components/icon/icons/Android.vue.js +12 -18
  162. package/components/icon/icons/AngleDown.vue.d.ts +1 -1
  163. package/components/icon/icons/AngleDown.vue.js +12 -18
  164. package/components/icon/icons/AngleLeft.vue.d.ts +1 -1
  165. package/components/icon/icons/AngleLeft.vue.js +12 -18
  166. package/components/icon/icons/AngleRight.vue.d.ts +1 -1
  167. package/components/icon/icons/AngleRight.vue.js +12 -18
  168. package/components/icon/icons/AngleUp.vue.d.ts +1 -1
  169. package/components/icon/icons/AngleUp.vue.js +12 -18
  170. package/components/icon/icons/AppStore.vue.d.ts +1 -1
  171. package/components/icon/icons/AppStore.vue.js +14 -21
  172. package/components/icon/icons/AreaChart.vue.d.ts +1 -1
  173. package/components/icon/icons/AreaChart.vue.js +12 -18
  174. package/components/icon/icons/ArrowBack.vue.d.ts +1 -1
  175. package/components/icon/icons/ArrowBack.vue.js +12 -18
  176. package/components/icon/icons/ArrowDownward.vue.d.ts +1 -1
  177. package/components/icon/icons/ArrowDownward.vue.js +12 -18
  178. package/components/icon/icons/ArrowForward.vue.d.ts +1 -1
  179. package/components/icon/icons/ArrowForward.vue.js +12 -18
  180. package/components/icon/icons/ArrowLeft.vue.d.ts +1 -1
  181. package/components/icon/icons/ArrowLeft.vue.js +12 -18
  182. package/components/icon/icons/ArrowRight.vue.d.ts +1 -1
  183. package/components/icon/icons/ArrowRight.vue.js +12 -18
  184. package/components/icon/icons/ArrowSort-Down.vue.d.ts +1 -1
  185. package/components/icon/icons/ArrowSort-Down.vue.js +12 -18
  186. package/components/icon/icons/ArrowSort-Up.vue.d.ts +1 -1
  187. package/components/icon/icons/ArrowSort-Up.vue.js +12 -18
  188. package/components/icon/icons/ArrowUpward.vue.d.ts +1 -1
  189. package/components/icon/icons/ArrowUpward.vue.js +12 -18
  190. package/components/icon/icons/AutoAwesome.vue.d.ts +1 -1
  191. package/components/icon/icons/AutoAwesome.vue.js +12 -18
  192. package/components/icon/icons/AutoMode.vue.d.ts +1 -1
  193. package/components/icon/icons/AutoMode.vue.js +12 -18
  194. package/components/icon/icons/Autorenew.vue.d.ts +1 -1
  195. package/components/icon/icons/Autorenew.vue.js +12 -18
  196. package/components/icon/icons/B.vue.d.ts +1 -1
  197. package/components/icon/icons/B.vue.js +14 -21
  198. package/components/icon/icons/B2.vue.d.ts +1 -1
  199. package/components/icon/icons/B2.vue.js +12 -18
  200. package/components/icon/icons/BCircle.vue.d.ts +1 -1
  201. package/components/icon/icons/BCircle.vue.js +12 -18
  202. package/components/icon/icons/Banner.vue.d.ts +1 -1
  203. package/components/icon/icons/Banner.vue.js +14 -21
  204. package/components/icon/icons/Bidding.vue.d.ts +1 -1
  205. package/components/icon/icons/Bidding.vue.js +18 -27
  206. package/components/icon/icons/Bidding2.vue.d.ts +1 -1
  207. package/components/icon/icons/Bidding2.vue.js +18 -27
  208. package/components/icon/icons/Block.vue.d.ts +1 -1
  209. package/components/icon/icons/Block.vue.js +12 -18
  210. package/components/icon/icons/BorderColor.vue.d.ts +1 -1
  211. package/components/icon/icons/BorderColor.vue.js +12 -18
  212. package/components/icon/icons/Bug.vue.d.ts +1 -1
  213. package/components/icon/icons/Bug.vue.js +12 -18
  214. package/components/icon/icons/Bullhorn.vue.d.ts +1 -1
  215. package/components/icon/icons/Bullhorn.vue.js +12 -18
  216. package/components/icon/icons/BullseyeArrow.vue.d.ts +1 -1
  217. package/components/icon/icons/BullseyeArrow.vue.js +14 -21
  218. package/components/icon/icons/Cached.vue.d.ts +1 -1
  219. package/components/icon/icons/Cached.vue.js +12 -18
  220. package/components/icon/icons/Calendar.vue.d.ts +1 -1
  221. package/components/icon/icons/Calendar.vue.js +14 -21
  222. package/components/icon/icons/CalendarToday.vue.d.ts +1 -1
  223. package/components/icon/icons/CalendarToday.vue.js +12 -18
  224. package/components/icon/icons/Cancel.vue.d.ts +1 -1
  225. package/components/icon/icons/Cancel.vue.js +12 -18
  226. package/components/icon/icons/ChartBar.vue.d.ts +1 -1
  227. package/components/icon/icons/ChartBar.vue.js +12 -18
  228. package/components/icon/icons/ChartLine.vue.d.ts +1 -1
  229. package/components/icon/icons/ChartLine.vue.js +12 -18
  230. package/components/icon/icons/ChartMixed.vue.d.ts +1 -1
  231. package/components/icon/icons/ChartMixed.vue.js +12 -18
  232. package/components/icon/icons/Check.vue.d.ts +1 -1
  233. package/components/icon/icons/Check.vue.js +12 -18
  234. package/components/icon/icons/CheckBold.vue.d.ts +1 -1
  235. package/components/icon/icons/CheckBold.vue.js +12 -18
  236. package/components/icon/icons/Close.vue.d.ts +1 -1
  237. package/components/icon/icons/Close.vue.js +12 -18
  238. package/components/icon/icons/CloseBold.vue.d.ts +1 -1
  239. package/components/icon/icons/CloseBold.vue.js +12 -18
  240. package/components/icon/icons/ComputerMouse.vue.d.ts +1 -1
  241. package/components/icon/icons/ComputerMouse.vue.js +14 -21
  242. package/components/icon/icons/CopyTo-Clipboard.vue.d.ts +1 -1
  243. package/components/icon/icons/CopyTo-Clipboard.vue.js +12 -18
  244. package/components/icon/icons/Create.vue.d.ts +1 -1
  245. package/components/icon/icons/Create.vue.js +12 -18
  246. package/components/icon/icons/Creative.vue.d.ts +1 -1
  247. package/components/icon/icons/Creative.vue.js +12 -18
  248. package/components/icon/icons/Cross.vue.d.ts +1 -1
  249. package/components/icon/icons/Cross.vue.js +12 -18
  250. package/components/icon/icons/CrownFill.vue.d.ts +1 -1
  251. package/components/icon/icons/CrownFill.vue.js +12 -18
  252. package/components/icon/icons/Cup.vue.d.ts +1 -1
  253. package/components/icon/icons/Cup.vue.js +12 -18
  254. package/components/icon/icons/CupA.vue.d.ts +1 -1
  255. package/components/icon/icons/CupA.vue.js +11 -17
  256. package/components/icon/icons/CupB.vue.d.ts +1 -1
  257. package/components/icon/icons/CupB.vue.js +11 -17
  258. package/components/icon/icons/Delete.vue.d.ts +1 -1
  259. package/components/icon/icons/Delete.vue.js +12 -18
  260. package/components/icon/icons/Diamond.vue.d.ts +1 -1
  261. package/components/icon/icons/Diamond.vue.js +12 -18
  262. package/components/icon/icons/Dots.vue.d.ts +1 -1
  263. package/components/icon/icons/Dots.vue.js +12 -18
  264. package/components/icon/icons/Download.vue.d.ts +1 -1
  265. package/components/icon/icons/Download.vue.js +12 -18
  266. package/components/icon/icons/Download2.vue.d.ts +1 -1
  267. package/components/icon/icons/Download2.vue.js +14 -21
  268. package/components/icon/icons/DownloadDone.vue.d.ts +1 -1
  269. package/components/icon/icons/DownloadDone.vue.js +12 -18
  270. package/components/icon/icons/DragIndicator.vue.d.ts +1 -1
  271. package/components/icon/icons/DragIndicator.vue.js +12 -18
  272. package/components/icon/icons/Ecpi.vue.d.ts +1 -1
  273. package/components/icon/icons/Ecpi.vue.js +16 -24
  274. package/components/icon/icons/Email.vue.d.ts +1 -1
  275. package/components/icon/icons/Email.vue.js +12 -18
  276. package/components/icon/icons/EmailEnvelope.vue.d.ts +1 -1
  277. package/components/icon/icons/EmailEnvelope.vue.js +12 -18
  278. package/components/icon/icons/Error.vue.d.ts +1 -1
  279. package/components/icon/icons/Error.vue.js +12 -18
  280. package/components/icon/icons/Eye.vue.d.ts +1 -1
  281. package/components/icon/icons/Eye.vue.js +15 -22
  282. package/components/icon/icons/FavoriteBorder.vue.d.ts +1 -1
  283. package/components/icon/icons/FavoriteBorder.vue.js +12 -18
  284. package/components/icon/icons/Filter.vue.d.ts +1 -1
  285. package/components/icon/icons/Filter.vue.js +12 -18
  286. package/components/icon/icons/FilterList.vue.d.ts +1 -1
  287. package/components/icon/icons/FilterList.vue.js +12 -18
  288. package/components/icon/icons/Frame.vue.d.ts +1 -1
  289. package/components/icon/icons/Frame.vue.js +12 -18
  290. package/components/icon/icons/Fullscreen.vue.d.ts +1 -1
  291. package/components/icon/icons/Fullscreen.vue.js +12 -18
  292. package/components/icon/icons/FullscreenExit.vue.d.ts +1 -1
  293. package/components/icon/icons/FullscreenExit.vue.js +12 -18
  294. package/components/icon/icons/Functions.vue.d.ts +1 -1
  295. package/components/icon/icons/Functions.vue.js +12 -18
  296. package/components/icon/icons/GamepadAlt.vue.d.ts +1 -1
  297. package/components/icon/icons/GamepadAlt.vue.js +12 -18
  298. package/components/icon/icons/Games.vue.d.ts +1 -1
  299. package/components/icon/icons/Games.vue.js +12 -18
  300. package/components/icon/icons/Gavel.vue.d.ts +1 -1
  301. package/components/icon/icons/Gavel.vue.js +12 -18
  302. package/components/icon/icons/Gift.vue.d.ts +1 -1
  303. package/components/icon/icons/Gift.vue.js +12 -18
  304. package/components/icon/icons/GitHub.vue.d.ts +1 -1
  305. package/components/icon/icons/GitHub.vue.js +12 -18
  306. package/components/icon/icons/GlobeStand.vue.d.ts +1 -1
  307. package/components/icon/icons/GlobeStand.vue.js +12 -18
  308. package/components/icon/icons/GooglePlay.vue.d.ts +1 -1
  309. package/components/icon/icons/GooglePlay.vue.js +12 -18
  310. package/components/icon/icons/Group.vue.d.ts +1 -1
  311. package/components/icon/icons/Group.vue.js +12 -18
  312. package/components/icon/icons/HandPointer.vue.d.ts +1 -1
  313. package/components/icon/icons/HandPointer.vue.js +15 -22
  314. package/components/icon/icons/Hands.vue.d.ts +1 -1
  315. package/components/icon/icons/Hands.vue.js +12 -18
  316. package/components/icon/icons/Heartbeat.vue.d.ts +1 -1
  317. package/components/icon/icons/Heartbeat.vue.js +12 -18
  318. package/components/icon/icons/Help.vue.d.ts +1 -1
  319. package/components/icon/icons/Help.vue.js +12 -18
  320. package/components/icon/icons/HelpOutline.vue.d.ts +1 -1
  321. package/components/icon/icons/HelpOutline.vue.js +12 -18
  322. package/components/icon/icons/History.vue.d.ts +1 -1
  323. package/components/icon/icons/History.vue.js +12 -18
  324. package/components/icon/icons/IOS.vue.d.ts +1 -1
  325. package/components/icon/icons/IOS.vue.js +12 -18
  326. package/components/icon/icons/Image.vue.d.ts +1 -1
  327. package/components/icon/icons/Image.vue.js +12 -18
  328. package/components/icon/icons/ImageNotSupported.vue.d.ts +1 -1
  329. package/components/icon/icons/ImageNotSupported.vue.js +14 -21
  330. package/components/icon/icons/ImageSlash.vue.d.ts +1 -1
  331. package/components/icon/icons/ImageSlash.vue.js +12 -18
  332. package/components/icon/icons/ImportExport.vue.d.ts +1 -1
  333. package/components/icon/icons/ImportExport.vue.js +12 -18
  334. package/components/icon/icons/ImportExport2.vue.d.ts +1 -1
  335. package/components/icon/icons/ImportExport2.vue.js +12 -18
  336. package/components/icon/icons/Importent.vue.d.ts +1 -1
  337. package/components/icon/icons/Importent.vue.js +12 -18
  338. package/components/icon/icons/Info.vue.d.ts +1 -1
  339. package/components/icon/icons/Info.vue.js +12 -18
  340. package/components/icon/icons/InfoOutline.vue.d.ts +1 -1
  341. package/components/icon/icons/InfoOutline.vue.js +12 -18
  342. package/components/icon/icons/Insights.vue.d.ts +1 -1
  343. package/components/icon/icons/Insights.vue.js +12 -18
  344. package/components/icon/icons/Interstitial.vue.d.ts +1 -1
  345. package/components/icon/icons/Interstitial.vue.js +14 -21
  346. package/components/icon/icons/Ios14.vue.d.ts +1 -1
  347. package/components/icon/icons/Ios14.vue.js +12 -18
  348. package/components/icon/icons/Js.vue.d.ts +1 -1
  349. package/components/icon/icons/Js.vue.js +12 -18
  350. package/components/icon/icons/Landscape.vue.d.ts +1 -1
  351. package/components/icon/icons/Landscape.vue.js +12 -18
  352. package/components/icon/icons/Launch.vue.d.ts +1 -1
  353. package/components/icon/icons/Launch.vue.js +12 -18
  354. package/components/icon/icons/Levelplay.vue.d.ts +1 -1
  355. package/components/icon/icons/Levelplay.vue.js +16 -23
  356. package/components/icon/icons/LimitCircle.vue.d.ts +1 -1
  357. package/components/icon/icons/LimitCircle.vue.js +14 -21
  358. package/components/icon/icons/LimitOctagon.vue.d.ts +1 -1
  359. package/components/icon/icons/LimitOctagon.vue.js +14 -21
  360. package/components/icon/icons/Link.vue.d.ts +1 -1
  361. package/components/icon/icons/Link.vue.js +12 -18
  362. package/components/icon/icons/LoadingClean.vue.d.ts +1 -1
  363. package/components/icon/icons/LoadingClean.vue.js +12 -18
  364. package/components/icon/icons/Lock.vue.d.ts +1 -1
  365. package/components/icon/icons/Lock.vue.js +12 -18
  366. package/components/icon/icons/LockOpen.vue.d.ts +1 -1
  367. package/components/icon/icons/LockOpen.vue.js +12 -18
  368. package/components/icon/icons/Login.vue.d.ts +1 -1
  369. package/components/icon/icons/Login.vue.js +12 -18
  370. package/components/icon/icons/Logout.vue.d.ts +1 -1
  371. package/components/icon/icons/Logout.vue.js +12 -18
  372. package/components/icon/icons/MilitaryTech.vue.d.ts +1 -1
  373. package/components/icon/icons/MilitaryTech.vue.js +12 -18
  374. package/components/icon/icons/Mix.vue.d.ts +1 -1
  375. package/components/icon/icons/Mix.vue.js +12 -18
  376. package/components/icon/icons/Mix2.vue.d.ts +1 -1
  377. package/components/icon/icons/Mix2.vue.js +14 -21
  378. package/components/icon/icons/MobileLandscape.vue.d.ts +1 -1
  379. package/components/icon/icons/MobileLandscape.vue.js +12 -18
  380. package/components/icon/icons/MobilePortrait.vue.d.ts +1 -1
  381. package/components/icon/icons/MobilePortrait.vue.js +12 -18
  382. package/components/icon/icons/MoneyCheck.vue.d.ts +1 -1
  383. package/components/icon/icons/MoneyCheck.vue.js +15 -22
  384. package/components/icon/icons/MoreHoriz.vue.d.ts +1 -1
  385. package/components/icon/icons/MoreHoriz.vue.js +12 -18
  386. package/components/icon/icons/MoreVert.vue.d.ts +1 -1
  387. package/components/icon/icons/MoreVert.vue.js +12 -18
  388. package/components/icon/icons/Mouse.vue.d.ts +1 -1
  389. package/components/icon/icons/Mouse.vue.js +12 -18
  390. package/components/icon/icons/MousePointer.vue.d.ts +1 -1
  391. package/components/icon/icons/MousePointer.vue.js +12 -18
  392. package/components/icon/icons/MovingUp.vue.d.ts +1 -1
  393. package/components/icon/icons/MovingUp.vue.js +12 -18
  394. package/components/icon/icons/NativeAd.vue.d.ts +1 -1
  395. package/components/icon/icons/NativeAd.vue.js +11 -17
  396. package/components/icon/icons/NotificationsNone.vue.d.ts +1 -1
  397. package/components/icon/icons/NotificationsNone.vue.js +12 -18
  398. package/components/icon/icons/Offerwall.vue.d.ts +1 -1
  399. package/components/icon/icons/Offerwall.vue.js +14 -21
  400. package/components/icon/icons/Palyable.vue.d.ts +1 -1
  401. package/components/icon/icons/Palyable.vue.js +12 -18
  402. package/components/icon/icons/PaperPlane-Off.vue.d.ts +1 -1
  403. package/components/icon/icons/PaperPlane-Off.vue.js +12 -18
  404. package/components/icon/icons/PaperPlane.vue.d.ts +1 -1
  405. package/components/icon/icons/PaperPlane.vue.js +12 -18
  406. package/components/icon/icons/Pause.vue.d.ts +1 -1
  407. package/components/icon/icons/Pause.vue.js +12 -18
  408. package/components/icon/icons/PauseCircleFilled.vue.d.ts +1 -1
  409. package/components/icon/icons/PauseCircleFilled.vue.js +12 -18
  410. package/components/icon/icons/PauseCircleOutline.vue.d.ts +1 -1
  411. package/components/icon/icons/PauseCircleOutline.vue.js +12 -18
  412. package/components/icon/icons/PhoneIphone.vue.d.ts +1 -1
  413. package/components/icon/icons/PhoneIphone.vue.js +12 -18
  414. package/components/icon/icons/Photo.vue.d.ts +1 -1
  415. package/components/icon/icons/Photo.vue.js +14 -21
  416. package/components/icon/icons/Photo2.vue.d.ts +1 -1
  417. package/components/icon/icons/Photo2.vue.js +12 -18
  418. package/components/icon/icons/PlayArrow.vue.d.ts +1 -1
  419. package/components/icon/icons/PlayArrow.vue.js +12 -18
  420. package/components/icon/icons/PlayCircleFilledWhite.vue.d.ts +1 -1
  421. package/components/icon/icons/PlayCircleFilledWhite.vue.js +12 -18
  422. package/components/icon/icons/PlayCircleOutline.vue.d.ts +1 -1
  423. package/components/icon/icons/PlayCircleOutline.vue.js +12 -18
  424. package/components/icon/icons/Qrcode.vue.d.ts +1 -1
  425. package/components/icon/icons/Qrcode.vue.js +12 -18
  426. package/components/icon/icons/QuickAB.vue.d.ts +1 -1
  427. package/components/icon/icons/QuickAB.vue.js +11 -17
  428. package/components/icon/icons/QuickAB2.vue.d.ts +1 -1
  429. package/components/icon/icons/QuickAB2.vue.js +11 -17
  430. package/components/icon/icons/React.vue.d.ts +1 -1
  431. package/components/icon/icons/React.vue.js +12 -18
  432. package/components/icon/icons/Redo.vue.d.ts +1 -1
  433. package/components/icon/icons/Redo.vue.js +12 -18
  434. package/components/icon/icons/Refresh.vue.d.ts +1 -1
  435. package/components/icon/icons/Refresh.vue.js +12 -18
  436. package/components/icon/icons/Remove.vue.d.ts +1 -1
  437. package/components/icon/icons/Remove.vue.js +12 -18
  438. package/components/icon/icons/Replay.vue.d.ts +1 -1
  439. package/components/icon/icons/Replay.vue.js +12 -18
  440. package/components/icon/icons/RewardedVideo.vue.d.ts +1 -1
  441. package/components/icon/icons/RewardedVideo.vue.js +14 -21
  442. package/components/icon/icons/RocketLaunch.vue.d.ts +1 -1
  443. package/components/icon/icons/RocketLaunch.vue.js +12 -18
  444. package/components/icon/icons/Rotate.vue.d.ts +1 -1
  445. package/components/icon/icons/Rotate.vue.js +12 -18
  446. package/components/icon/icons/Route.vue.d.ts +1 -1
  447. package/components/icon/icons/Route.vue.js +12 -18
  448. package/components/icon/icons/SackDollar.vue.d.ts +1 -1
  449. package/components/icon/icons/SackDollar.vue.js +14 -21
  450. package/components/icon/icons/Schedule.vue.d.ts +1 -1
  451. package/components/icon/icons/Schedule.vue.js +12 -18
  452. package/components/icon/icons/Search.vue.d.ts +1 -1
  453. package/components/icon/icons/Search.vue.js +12 -18
  454. package/components/icon/icons/SearchBold.vue.d.ts +1 -1
  455. package/components/icon/icons/SearchBold.vue.js +12 -18
  456. package/components/icon/icons/Share.vue.d.ts +1 -1
  457. package/components/icon/icons/Share.vue.js +12 -18
  458. package/components/icon/icons/Slack.vue.d.ts +1 -1
  459. package/components/icon/icons/Slack.vue.js +12 -18
  460. package/components/icon/icons/SportsEsports.vue.d.ts +1 -1
  461. package/components/icon/icons/SportsEsports.vue.js +12 -18
  462. package/components/icon/icons/Star.vue.d.ts +1 -1
  463. package/components/icon/icons/Star.vue.js +12 -18
  464. package/components/icon/icons/StarFill.vue.d.ts +1 -1
  465. package/components/icon/icons/StarFill.vue.js +12 -18
  466. package/components/icon/icons/StatusBanner.vue.d.ts +1 -1
  467. package/components/icon/icons/StatusBanner.vue.js +14 -21
  468. package/components/icon/icons/StatusInterstitial.vue.d.ts +1 -1
  469. package/components/icon/icons/StatusInterstitial.vue.js +14 -21
  470. package/components/icon/icons/StatusNativeAd.vue.d.ts +1 -1
  471. package/components/icon/icons/StatusNativeAd.vue.js +11 -17
  472. package/components/icon/icons/StatusOfferwall.vue.d.ts +1 -1
  473. package/components/icon/icons/StatusOfferwall.vue.js +14 -21
  474. package/components/icon/icons/StatusRewardedVideo.vue.d.ts +1 -1
  475. package/components/icon/icons/StatusRewardedVideo.vue.js +14 -21
  476. package/components/icon/icons/StopCircleFilled.vue.d.ts +1 -1
  477. package/components/icon/icons/StopCircleFilled.vue.js +12 -18
  478. package/components/icon/icons/StopCircleOutline.vue.d.ts +1 -1
  479. package/components/icon/icons/StopCircleOutline.vue.js +12 -18
  480. package/components/icon/icons/Style.vue.d.ts +1 -1
  481. package/components/icon/icons/Style.vue.js +14 -21
  482. package/components/icon/icons/Success.vue.d.ts +1 -1
  483. package/components/icon/icons/Success.vue.js +12 -18
  484. package/components/icon/icons/SuccessFull.vue.d.ts +1 -1
  485. package/components/icon/icons/SuccessFull.vue.js +12 -18
  486. package/components/icon/icons/Switch.vue.d.ts +1 -1
  487. package/components/icon/icons/Switch.vue.js +12 -18
  488. package/components/icon/icons/TabletLandscape.vue.d.ts +1 -1
  489. package/components/icon/icons/TabletLandscape.vue.js +12 -18
  490. package/components/icon/icons/TabletMac.vue.d.ts +1 -1
  491. package/components/icon/icons/TabletMac.vue.js +12 -18
  492. package/components/icon/icons/TabletPortrait.vue.d.ts +1 -1
  493. package/components/icon/icons/TabletPortrait.vue.js +12 -18
  494. package/components/icon/icons/Texture.vue.d.ts +1 -1
  495. package/components/icon/icons/Texture.vue.js +12 -18
  496. package/components/icon/icons/ThemeDark.vue.d.ts +1 -1
  497. package/components/icon/icons/ThemeDark.vue.js +12 -18
  498. package/components/icon/icons/ThemeLight.vue.d.ts +1 -1
  499. package/components/icon/icons/ThemeLight.vue.js +12 -18
  500. package/components/icon/icons/Timelapse.vue.d.ts +1 -1
  501. package/components/icon/icons/Timelapse.vue.js +12 -18
  502. package/components/icon/icons/Timeline.vue.d.ts +1 -1
  503. package/components/icon/icons/Timeline.vue.js +12 -18
  504. package/components/icon/icons/TrendingDown.vue.d.ts +1 -1
  505. package/components/icon/icons/TrendingDown.vue.js +12 -18
  506. package/components/icon/icons/TrendingFlat.vue.d.ts +1 -1
  507. package/components/icon/icons/TrendingFlat.vue.js +12 -18
  508. package/components/icon/icons/TrendingUp.vue.d.ts +1 -1
  509. package/components/icon/icons/TrendingUp.vue.js +12 -18
  510. package/components/icon/icons/Tune.vue.d.ts +1 -1
  511. package/components/icon/icons/Tune.vue.js +12 -18
  512. package/components/icon/icons/TwoToneBanner.vue.d.ts +1 -1
  513. package/components/icon/icons/TwoToneBanner.vue.js +14 -21
  514. package/components/icon/icons/TwoToneInterstitial.vue.d.ts +1 -1
  515. package/components/icon/icons/TwoToneInterstitial.vue.js +14 -21
  516. package/components/icon/icons/TwoToneNativeAd.vue.d.ts +1 -1
  517. package/components/icon/icons/TwoToneNativeAd.vue.js +11 -17
  518. package/components/icon/icons/TwoToneOfferwall.vue.d.ts +1 -1
  519. package/components/icon/icons/TwoToneOfferwall.vue.js +14 -21
  520. package/components/icon/icons/TwoToneRewardedVideo.vue.d.ts +1 -1
  521. package/components/icon/icons/TwoToneRewardedVideo.vue.js +16 -24
  522. package/components/icon/icons/Undo.vue.d.ts +1 -1
  523. package/components/icon/icons/Undo.vue.js +12 -18
  524. package/components/icon/icons/UnfoldLess.vue.d.ts +1 -1
  525. package/components/icon/icons/UnfoldLess.vue.js +12 -18
  526. package/components/icon/icons/UnfoldMore.vue.d.ts +1 -1
  527. package/components/icon/icons/UnfoldMore.vue.js +12 -18
  528. package/components/icon/icons/VerticalAlignTop.vue.d.ts +1 -1
  529. package/components/icon/icons/VerticalAlignTop.vue.js +12 -18
  530. package/components/icon/icons/VerticalAlignTop2.vue.d.ts +1 -1
  531. package/components/icon/icons/VerticalAlignTop2.vue.js +12 -18
  532. package/components/icon/icons/Vibration.vue.d.ts +1 -1
  533. package/components/icon/icons/Vibration.vue.js +12 -18
  534. package/components/icon/icons/VideoRound.vue.d.ts +1 -1
  535. package/components/icon/icons/VideoRound.vue.js +12 -18
  536. package/components/icon/icons/ViewCarousel.vue.d.ts +1 -1
  537. package/components/icon/icons/ViewCarousel.vue.js +12 -18
  538. package/components/icon/icons/Visibility.vue.d.ts +1 -1
  539. package/components/icon/icons/Visibility.vue.js +12 -18
  540. package/components/icon/icons/VisibilityOff.vue.d.ts +1 -1
  541. package/components/icon/icons/VisibilityOff.vue.js +12 -18
  542. package/components/icon/icons/VisibilityOffStrok.vue.d.ts +1 -1
  543. package/components/icon/icons/VisibilityOffStrok.vue.js +12 -18
  544. package/components/icon/icons/VisibilityStrok.vue.d.ts +1 -1
  545. package/components/icon/icons/VisibilityStrok.vue.js +12 -18
  546. package/components/icon/icons/VolumeOff.vue.d.ts +1 -1
  547. package/components/icon/icons/VolumeOff.vue.js +12 -18
  548. package/components/icon/icons/VolumeUp.vue.d.ts +1 -1
  549. package/components/icon/icons/VolumeUp.vue.js +12 -18
  550. package/components/icon/icons/Warning.vue.d.ts +1 -1
  551. package/components/icon/icons/Warning.vue.js +12 -18
  552. package/components/icon/icons/Warning2.vue.d.ts +1 -1
  553. package/components/icon/icons/Warning2.vue.js +12 -18
  554. package/components/icon/icons/WebApp.vue.d.ts +1 -1
  555. package/components/icon/icons/WebApp.vue.js +12 -18
  556. package/components/icon/icons/Widget.vue.d.ts +1 -1
  557. package/components/icon/icons/Widget.vue.js +13 -18
  558. package/components/icon/icons/Widgets.vue.d.ts +1 -1
  559. package/components/icon/icons/Widgets.vue.js +12 -18
  560. package/components/icon/icons/WidgetsFill.vue.d.ts +1 -1
  561. package/components/icon/icons/WidgetsFill.vue.js +12 -18
  562. package/components/icon/icons/Widgetsz.vue.d.ts +1 -1
  563. package/components/icon/icons/Widgetsz.vue.js +14 -21
  564. package/components/icon/icons/WifiProtectedSetup.vue.d.ts +1 -1
  565. package/components/icon/icons/WifiProtectedSetup.vue.js +12 -18
  566. package/components/icon/icons/index.d.ts +0 -21
  567. package/components/icon/icons/{index.vue.js → index.js} +4 -24
  568. package/components/icon/index.d.ts +82 -37
  569. package/components/icon/index.js +8 -0
  570. package/components/icon/storyComponents/Code.vue.d.ts +10 -13
  571. package/components/icon/storyComponents/IconWrapper.vue.d.ts +10 -13
  572. package/components/icon/storyComponents/Page.vue.d.ts +10 -13
  573. package/components/includeExclude/IncludeExclude.vue.d.ts +178 -103
  574. package/components/includeExclude/IncludeExclude.vue.js +5 -612
  575. package/components/includeExclude/IncludeExclude.vue2.js +414 -0
  576. package/components/includeExclude/IncludeExcludeAppHeader.vue.d.ts +124 -74
  577. package/components/includeExclude/IncludeExcludeAppHeader.vue.js +6 -122
  578. package/components/includeExclude/IncludeExcludeAppHeader.vue2.js +112 -0
  579. package/components/includeExclude/IncludeExcludeAppTrigger.vue.d.ts +38 -29
  580. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +6 -173
  581. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +106 -0
  582. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +174 -94
  583. package/components/includeExclude/IncludeExcludeChipFilter.vue.js +6 -157
  584. package/components/includeExclude/IncludeExcludeChipFilter.vue2.js +145 -0
  585. package/components/includeExclude/IncludeExcludeContext.js +18 -0
  586. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +57 -39
  587. package/components/includeExclude/IncludeExcludeOption.vue.js +5 -134
  588. package/components/includeExclude/IncludeExcludeOption.vue2.js +114 -0
  589. package/components/includeExclude/includeExcludeMocks.d.ts +0 -12
  590. package/components/includeExclude/index.d.ts +970 -387
  591. package/components/includeExclude/index.js +20 -0
  592. package/components/input/DollarInput.vue.d.ts +224 -11
  593. package/components/input/DollarInput.vue.js +6 -37
  594. package/components/input/DollarInput.vue2.js +31 -0
  595. package/components/input/Input.vue.d.ts +141 -85
  596. package/components/input/Input.vue.js +5 -232
  597. package/components/input/Input.vue2.js +195 -0
  598. package/components/input/PasswordInput.vue.d.ts +224 -11
  599. package/components/input/PasswordInput.vue.js +6 -41
  600. package/components/input/PasswordInput.vue2.js +33 -0
  601. package/components/input/PercentageInput.vue.d.ts +230 -11
  602. package/components/input/PercentageInput.vue.js +6 -37
  603. package/components/input/PercentageInput.vue2.js +31 -0
  604. package/components/input/index.d.ts +316 -129
  605. package/components/input/index.js +12 -0
  606. package/components/menu/Menu.vue.d.ts +49 -37
  607. package/components/menu/Menu.vue.js +6 -73
  608. package/components/menu/Menu.vue2.js +60 -0
  609. package/components/menu/index.d.ts +126 -35
  610. package/components/menu/index.js +6 -0
  611. package/components/menuItem/MenuItem.vue.d.ts +10 -1
  612. package/components/menuItem/MenuItem.vue.js +20 -25
  613. package/components/menuItem/index.d.ts +49 -1
  614. package/components/menuItem/index.js +6 -0
  615. package/components/popover/Popover.vue.d.ts +68 -44
  616. package/components/popover/Popover.vue.js +26 -29
  617. package/components/popover/Popover.vue3.js +4 -0
  618. package/components/popover/index.d.ts +157 -48
  619. package/components/popover/index.js +6 -0
  620. package/components/radioButton/RadioButton.vue.d.ts +50 -37
  621. package/components/radioButton/RadioButton.vue.js +6 -84
  622. package/components/radioButton/RadioButton.vue2.js +75 -0
  623. package/components/radioButton/RadioGroup.vue.d.ts +40 -33
  624. package/components/radioButton/RadioGroup.vue.js +6 -56
  625. package/components/radioButton/RadioGroup.vue2.js +41 -0
  626. package/components/radioButton/index.d.ts +251 -59
  627. package/components/radioButton/index.js +8 -0
  628. package/components/radioButton/useRadio.js +24 -0
  629. package/components/search/Search.vue.d.ts +46 -38
  630. package/components/search/Search.vue.js +6 -91
  631. package/components/search/Search.vue2.js +53 -0
  632. package/components/search/index.d.ts +11 -17
  633. package/components/search/index.js +6 -0
  634. package/components/skeleton/Skeleton.vue.d.ts +20 -14
  635. package/components/skeleton/Skeleton.vue.js +6 -23
  636. package/components/skeleton/Skeleton.vue2.js +18 -0
  637. package/components/skeleton/index.d.ts +68 -8
  638. package/components/skeleton/index.js +6 -0
  639. package/components/snackbar/Snackbar.vue.d.ts +126 -59
  640. package/components/snackbar/Snackbar.vue.js +6 -181
  641. package/components/snackbar/Snackbar.vue2.js +149 -0
  642. package/components/snackbar/index.js +6 -0
  643. package/components/snackbar/notify.js +84 -0
  644. package/components/snackbar/snackbar.types.js +7 -0
  645. package/components/switch/Switch.vue.d.ts +36 -26
  646. package/components/switch/Switch.vue.js +6 -79
  647. package/components/switch/Switch.vue2.js +62 -0
  648. package/components/switch/index.d.ts +101 -18
  649. package/components/switch/index.js +6 -0
  650. package/components/table/SortOrderIcon.vue.d.ts +1 -1
  651. package/components/table/SortOrderIcon.vue.js +12 -19
  652. package/components/table/Table.types.d.ts +0 -1
  653. package/components/table/Table.vue.d.ts +130 -80
  654. package/components/table/Table.vue.js +6 -346
  655. package/components/table/Table.vue2.js +261 -0
  656. package/components/table/TableContext.js +18 -0
  657. package/components/table/TableHeaderSorter.vue.d.ts +10 -13
  658. package/components/table/TableHeaderSorter.vue.js +6 -29
  659. package/components/table/TableHeaderSorter.vue2.js +23 -0
  660. package/components/table/index.d.ts +297 -114
  661. package/components/table/index.js +8 -0
  662. package/components/table-cells/Editable.vue.d.ts +57 -37
  663. package/components/table-cells/Editable.vue.js +5 -88
  664. package/components/table-cells/Editable.vue2.js +66 -0
  665. package/components/table-cells/EditableContext.js +11 -0
  666. package/components/table-cells/index.d.ts +135 -36
  667. package/components/table-cells/index.js +10 -0
  668. package/components/tabs/Tabs.vue.d.ts +52 -48
  669. package/components/tabs/Tabs.vue.js +5 -123
  670. package/components/tabs/Tabs.vue2.js +91 -0
  671. package/components/tabs/index.d.ts +155 -36
  672. package/components/tabs/index.js +6 -0
  673. package/components/textArea/TextArea.vue.d.ts +53 -45
  674. package/components/textArea/TextArea.vue.js +5 -65
  675. package/components/textArea/TextArea.vue2.js +58 -0
  676. package/components/textArea/index.d.ts +9 -21
  677. package/components/textArea/index.js +6 -0
  678. package/components/toggle/Toggle.vue.d.ts +61 -52
  679. package/components/toggle/Toggle.vue.js +6 -94
  680. package/components/toggle/Toggle.vue2.js +76 -0
  681. package/components/toggle/index.d.ts +9 -32
  682. package/components/toggle/index.js +6 -0
  683. package/components/tooltip/TextWithTitleContent.vue.d.ts +18 -15
  684. package/components/tooltip/TextWithTitleContent.vue2.js +6 -0
  685. package/components/tooltip/TextWithTitleContent.vue3.js +40 -0
  686. package/components/tooltip/Tooltip.vue.d.ts +80 -52
  687. package/components/tooltip/Tooltip.vue.js +62 -80
  688. package/components/tooltip/Tooltip.vue3.js +4 -0
  689. package/components/tooltip/index.d.ts +172 -55
  690. package/components/tooltip/index.js +6 -0
  691. package/components/tooltip/storybookComponents/CustomTooltip.vue.d.ts +16 -12
  692. package/components/typography/Heading.vue.d.ts +22 -23
  693. package/components/typography/Heading.vue.js +6 -33
  694. package/components/typography/Heading.vue3.js +22 -0
  695. package/components/typography/Text.vue.d.ts +28 -25
  696. package/components/typography/Text.vue.js +6 -28
  697. package/components/typography/Text.vue2.js +20 -0
  698. package/components/typography/index.d.ts +163 -29
  699. package/components/typography/index.js +8 -0
  700. package/composables/useId.js +14 -0
  701. package/composables/useIsFocusVisible.js +26 -0
  702. package/composables/useSearch.js +15 -0
  703. package/composables/useToggle.js +18 -0
  704. package/consts/{colors.vue.js → colors.js} +4 -3
  705. package/index.js +252 -0
  706. package/package.json +11 -11
  707. package/AddFilterButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  708. package/AppIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  709. package/AppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  710. package/AutocompleteDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  711. package/AutocompleteInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  712. package/Banner.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  713. package/Button.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  714. package/ButtonBase.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  715. package/CalendarMonth.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  716. package/Checkbox.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  717. package/Chip.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  718. package/CssBaseline.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  719. package/CssBaseline.vue_vue_type_style_index_1_lang.css +0 -1
  720. package/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  721. package/DatePickerMonth.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  722. package/DateRange.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  723. package/Dialog.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  724. package/DollarInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  725. package/Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  726. package/Dropdown.vue_vue_type_style_index_1_lang.css +0 -1
  727. package/Editable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  728. package/EmptyState.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  729. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  730. package/FilterDropdown.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  731. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  732. package/FiltersPanel.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  733. package/FloatingToolbar.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  734. package/GroupOption.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  735. package/Heading.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  736. package/Icon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  737. package/IconButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  738. package/IncludeExclude.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  739. package/IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  740. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  741. package/IncludeExcludeChipFilter.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  742. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  743. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  744. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  745. package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  746. package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  747. package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  748. package/Menu.vue_vue_type_style_index_1_lang.css +0 -1
  749. package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  750. package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  751. package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  752. package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  753. package/Popover.vue_vue_type_style_index_0_lang.css +0 -1
  754. package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  755. package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  756. package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  757. package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  758. package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  759. package/Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  760. package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  761. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  762. package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  763. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  764. package/Table.vue_vue_type_style_index_1_lang.css +0 -1
  765. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  766. package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  767. package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  768. package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  769. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  770. package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  771. package/Tooltip.vue_vue_type_style_index_0_lang.css +0 -1
  772. package/_virtual/plugin-vue_export-helper.vue.js +0 -9
  773. package/components/appIcon/index.vue.js +0 -6
  774. package/components/appTrigger/index.vue.js +0 -6
  775. package/components/autocompleteDropdown/consts.vue.js +0 -4
  776. package/components/autocompleteDropdown/index.vue.js +0 -6
  777. package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +0 -79
  778. package/components/banner/index.vue.js +0 -6
  779. package/components/button/ButtonBase.vue.js +0 -63
  780. package/components/button/consts.vue.js +0 -17
  781. package/components/button/index.vue.js +0 -10
  782. package/components/checkbox/index.vue.js +0 -6
  783. package/components/chip/index.vue.js +0 -6
  784. package/components/cssBaseline/index.vue.js +0 -6
  785. package/components/datePicker/index.vue.js +0 -6
  786. package/components/dateRange/DateServices.vue.js +0 -374
  787. package/components/dateRange/index.vue.js +0 -6
  788. package/components/dialog/Reason.vue.js +0 -9
  789. package/components/dialog/index.vue.js +0 -6
  790. package/components/dropdown/DropdownContext.vue.js +0 -29
  791. package/components/dropdown/index.vue.js +0 -12
  792. package/components/emptyState/index.vue.js +0 -6
  793. package/components/filterDropdown/index.vue.js +0 -8
  794. package/components/filtersPanel/FiltersPanel.vue.d.ts +0 -33
  795. package/components/filtersPanel/index.vue.js +0 -14
  796. package/components/filtersPanel/useHiddenFilter.vue.js +0 -33
  797. package/components/floatingToolbar/index.vue.js +0 -6
  798. package/components/icon/icons/Adjust.vue.d.ts +0 -2
  799. package/components/icon/icons/Adjust.vue.js +0 -52
  800. package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +0 -2
  801. package/components/icon/icons/CopyToClipboardFilled.vue.js +0 -24
  802. package/components/icon/icons/Cube.vue.d.ts +0 -2
  803. package/components/icon/icons/Cube.vue.js +0 -27
  804. package/components/icon/icons/CubeBackground.vue.d.ts +0 -2
  805. package/components/icon/icons/CubeBackground.vue.js +0 -34
  806. package/components/icon/icons/Marketing.vue.d.ts +0 -2
  807. package/components/icon/icons/Marketing.vue.js +0 -30
  808. package/components/icon/icons/TableEdit.vue.d.ts +0 -2
  809. package/components/icon/icons/TableEdit.vue.js +0 -24
  810. package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +0 -2
  811. package/components/icon/icons/WidgetsFlatSquares.vue.js +0 -58
  812. package/components/icon/index.vue.js +0 -8
  813. package/components/includeExclude/IncludeExcludeContext.vue.js +0 -19
  814. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +0 -122
  815. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +0 -619
  816. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
  817. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -126
  818. package/components/includeExclude/index.vue.js +0 -26
  819. package/components/input/index.vue.js +0 -12
  820. package/components/menu/index.vue.js +0 -6
  821. package/components/menuItem/index.vue.js +0 -6
  822. package/components/popover/index.vue.js +0 -6
  823. package/components/radioButton/index.vue.js +0 -8
  824. package/components/radioButton/useRadio.vue.js +0 -39
  825. package/components/search/index.vue.js +0 -6
  826. package/components/skeleton/index.vue.js +0 -6
  827. package/components/snackbar/index.vue.js +0 -5
  828. package/components/snackbar/notify.vue.js +0 -106
  829. package/components/snackbar/snackbar.types.vue.js +0 -6
  830. package/components/switch/index.vue.js +0 -6
  831. package/components/table/Pagination.vue.d.ts +0 -43
  832. package/components/table/TableContext.vue.js +0 -19
  833. package/components/table/index.vue.js +0 -8
  834. package/components/table-cells/EditableContext.vue.js +0 -10
  835. package/components/table-cells/index.vue.js +0 -8
  836. package/components/tabs/index.vue.js +0 -6
  837. package/components/textArea/index.vue.js +0 -6
  838. package/components/toggle/index.vue.js +0 -6
  839. package/components/tooltip/TextWithTitleContent.vue.js +0 -48
  840. package/components/tooltip/index.vue.js +0 -6
  841. package/components/typography/index.vue.js +0 -8
  842. package/composables/useId.vue.js +0 -15
  843. package/composables/useIsFocusVisible.vue.js +0 -34
  844. package/composables/useSearch.vue.js +0 -18
  845. package/composables/useToggle.vue.js +0 -27
  846. package/index.vue.js +0 -95
  847. package/utils/array.d.ts +0 -1
  848. package/utils/array.vue.js +0 -13
  849. package/utils/object.d.ts +0 -1
  850. package/utils/object.vue.js +0 -10
@@ -1,758 +1,6 @@
1
- import { defineComponent, ref, computed, watch, useSlots, nextTick, toRaw, provide, onMounted, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode, unref, withCtx, Transition, createElementVNode, createTextVNode, toDisplayString, createCommentVNode, createBlock, mergeProps, withModifiers, Fragment, renderList, pushScopeId, popScopeId } from 'vue';
2
- import Button from '../button/Button.vue.js';
3
- import Icon from '../icon/Icon.vue.js';
4
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
5
- import Text from '../typography/Text.vue.js';
6
- /* empty css *//* empty css *//* empty css */import { Dropdown as Dropdown$1 } from 'floating-vue';
7
- /* empty css *//* empty css */import Option from './Option.vue.js';
8
- import Search from '../search/Search.vue.js';
9
- import { useToggle } from '../../composables/useToggle.vue.js';
10
- import { isObjectInArray } from '../../utils/array.vue.js';
11
- import { objectsEqual } from '../../utils/object.vue.js';
12
- import { useClamp, useVirtualList, onClickOutside } from '@vueuse/core';
13
- import { Mode, Type, DropdownContext } from './DropdownContext.vue.js';
14
- /* empty css *//* empty css */
15
- import "../../Dropdown.vue_vue_type_style_index_0_scoped_true_lang.css";import "../../Dropdown.vue_vue_type_style_index_1_lang.css";
16
- const _withScopeId = (n) => (pushScopeId("data-v-49790baa"), n = n(), popScopeId(), n);
17
- const _hoisted_1 = ["tabindex"];
18
- const _hoisted_2 = ["disabled", "aria-expanded", "aria-labelledby", "aria-disabled"];
19
- const _hoisted_3 = {
20
- key: 0,
21
- class: "image-slot"
1
+ import o from "./Dropdown.vue2.js";
2
+ /* empty css *//* empty css */import r from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const c = /* @__PURE__ */ r(o, [["__scopeId", "data-v-c681a7ca"]]);
4
+ export {
5
+ c as default
22
6
  };
23
- const _hoisted_4 = { class: "angle-down" };
24
- const _hoisted_5 = {
25
- key: 0,
26
- class: "dropdown-title"
27
- };
28
- const _hoisted_6 = {
29
- key: 0,
30
- class: "dropdown-title__text"
31
- };
32
- const _hoisted_7 = {
33
- key: 0,
34
- class: "no-result-container"
35
- };
36
- const _hoisted_8 = {
37
- key: 1,
38
- class: "loader"
39
- };
40
- const _hoisted_9 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("svg", {
41
- width: "100",
42
- height: "100",
43
- viewBox: "0 0 100 100"
44
- }, [
45
- /* @__PURE__ */ createElementVNode("circle", {
46
- cx: "50",
47
- cy: "50",
48
- fill: "none",
49
- stroke: "currentColor",
50
- "stroke-width": "6",
51
- r: "35",
52
- "stroke-dasharray": "164.93361431346415 56.97787143782138"
53
- }, [
54
- /* @__PURE__ */ createElementVNode("animateTransform", {
55
- attributeName: "transform",
56
- type: "rotate",
57
- repeatCount: "indefinite",
58
- dur: "1s",
59
- values: "0 50 50;360 50 50",
60
- keyTimes: "0;1"
61
- })
62
- ])
63
- ], -1));
64
- const _hoisted_10 = { key: 2 };
65
- const _hoisted_11 = ["aria-selected", "aria-disabled", "onClick"];
66
- const _hoisted_12 = {
67
- key: 0,
68
- class: "actions"
69
- };
70
- const _sfc_main = /* @__PURE__ */ defineComponent({
71
- __name: "Dropdown",
72
- props: {
73
- modelValue: { default: null },
74
- placeholder: { default: "" },
75
- disabled: { type: Boolean, default: false },
76
- mandatory: { type: Boolean, default: false },
77
- helperText: { default: "" },
78
- searchPlaceholder: { default: "" },
79
- isOnTop: { type: Boolean, default: false },
80
- multi: { type: Boolean, default: false },
81
- title: { default: "" },
82
- inlineSearch: { type: Boolean, default: false },
83
- popperClass: { default: "" },
84
- noResultsText: { default: "No results found" },
85
- loading: { type: Boolean },
86
- selected: { default: null },
87
- showSelectAll: { type: Boolean },
88
- defaultOpen: { type: Boolean, default: false },
89
- showButtonOnOpen: { type: Boolean, default: true },
90
- autoFocus: { type: Boolean, default: false },
91
- distance: { default: 0 },
92
- isOpen: { type: Boolean },
93
- skidding: { default: 0 },
94
- placement: { default: "bottom-start" },
95
- clearable: { type: Boolean, default: false },
96
- error: { default: "" },
97
- size: { default: "lg" },
98
- displayValue: null,
99
- options: null,
100
- onSearch: { type: Function, default: () => true },
101
- theme: { default: "is-dropdown" },
102
- container: { default: "body" },
103
- flip: { type: Boolean, default: true },
104
- keepOpen: { type: Boolean, default: false },
105
- autoSize: { type: Boolean, default: false },
106
- disableKeyboardEvents: { type: Boolean, default: false },
107
- multiOptionsPlaceholderPrefix: { default: "" },
108
- multiOptionsPlaceholderSuffix: { default: "" }
109
- },
110
- emits: ["update:selected", "update:isOpen", "closed", "opened", "apply"],
111
- setup(__props, { expose, emit }) {
112
- const props = __props;
113
- const isSelected = (arr, element) => {
114
- if (props.multi) {
115
- return isObjectInArray(arr, element);
116
- }
117
- return toRaw(arr) === element;
118
- };
119
- const MULTILINE_LIST_HEIGHT = 48;
120
- const LIST_HEIGHT = 34;
121
- const selectedOptionRef = ref(props.selected);
122
- const selectedOption = computed({
123
- get() {
124
- return selectedOptionRef.value;
125
- },
126
- set(value) {
127
- emit("update:selected", value);
128
- }
129
- });
130
- watch(
131
- () => props.selected,
132
- () => {
133
- selectedOptionRef.value = props.selected;
134
- }
135
- );
136
- const slots = useSlots();
137
- const listRef = ref(null);
138
- const inputRef = ref(null);
139
- const el = ref(null);
140
- const activeOption = ref(null);
141
- const labelRef = ref(null);
142
- const buttonRef = ref(null);
143
- const apply = ref(null);
144
- const cancel = ref(null);
145
- const IS_ON_TOP_PADDING = 8;
146
- const location = computed(() => {
147
- return buttonRef.value?.getBoundingClientRect().height + IS_ON_TOP_PADDING + props.distance;
148
- });
149
- const optionsIds = ref([]);
150
- const selectedIndex = ref(-1);
151
- const query = ref("");
152
- const selectedOptionPrevious = ref([]);
153
- const focusButton = () => buttonRef.value?.focus();
154
- const [open, _toggle, disable] = useToggle({
155
- disabled: props.disabled,
156
- initialValue: props.defaultOpen
157
- });
158
- watch(
159
- () => props.disabled,
160
- (value) => {
161
- if (value !== void 0) {
162
- disable(value);
163
- }
164
- }
165
- );
166
- const toggle = (value) => {
167
- isOpen.value = _toggle(value);
168
- };
169
- const isOpen = computed({
170
- get() {
171
- return props.isOpen;
172
- },
173
- set(value) {
174
- emit("update:isOpen", value);
175
- }
176
- });
177
- const maxClamped = computed(() => {
178
- return filteredOptions.value.length - 1;
179
- });
180
- const activeIndex = useClamp(0, 0, maxClamped);
181
- const selectedValue = computed(() => {
182
- if (selectedOption.value) {
183
- return props.displayValue(selectedOption.value);
184
- }
185
- return "";
186
- });
187
- const getMultiselectValueToShow = (selectedOption2) => {
188
- if (!selectedOption2.value.length && !props.multiOptionsPlaceholderPrefix && !props.multiOptionsPlaceholderSuffix)
189
- return props.placeholder;
190
- const multipleOptionsPlaceholder = !props.multiOptionsPlaceholderPrefix && !props.multiOptionsPlaceholderSuffix ? `${selectedOption2.value.length} selected` : `${props.multiOptionsPlaceholderPrefix ?? ""}${selectedOption2.value.length ?? "0"}${props.multiOptionsPlaceholderSuffix ?? ""}`;
191
- return selectedOption2.value.length == 1 && !!props.displayValue ? props.displayValue(selectedOption2.value[0]) : multipleOptionsPlaceholder;
192
- };
193
- const displayedValue = computed(() => {
194
- if (!props.multi) {
195
- return selectedOption.value ? props.displayValue(selectedOption.value) : props.placeholder;
196
- }
197
- if (!Array.isArray(selectedOptionRef.value)) {
198
- return;
199
- }
200
- return getMultiselectValueToShow(selectedOptionRef);
201
- });
202
- const allSelected = computed(() => {
203
- if (!Array.isArray(selectedOptionRef.value)) {
204
- return;
205
- }
206
- return selectedOptionRef.value.length === filteredOptions.value.length;
207
- });
208
- const isIndeterminate = computed(() => {
209
- if (!props.multi) {
210
- return false;
211
- }
212
- if (!Array.isArray(selectedOptionRef.value)) {
213
- return false;
214
- }
215
- return selectedOptionRef.value.length > 0 && selectedOptionRef.value.length < filteredOptions.value.length;
216
- });
217
- const queryChanged = (value) => {
218
- query.value = value;
219
- };
220
- const filteredOptions = computed(
221
- () => props.options.filter((option) => props.onSearch(option, query.value))
222
- );
223
- const hasSubtitle = computed(() => optionsIds.value[0]?.hasSubtitle);
224
- const isMulti = computed(() => api.mode === Mode.Multi);
225
- const {
226
- list: virtualOptions,
227
- containerProps,
228
- wrapperProps,
229
- scrollTo
230
- } = useVirtualList(filteredOptions, {
231
- itemHeight: () => hasSubtitle.value ? MULTILINE_LIST_HEIGHT : LIST_HEIGHT
232
- });
233
- watch(
234
- () => props.isOpen,
235
- (value) => {
236
- toggle(value);
237
- }
238
- );
239
- watch([selectedIndex], async () => {
240
- await nextTick();
241
- });
242
- watch(
243
- [open, activeIndex, selectedIndex],
244
- async ([openNewValue], [openOldValue]) => {
245
- if (!open.value) {
246
- return;
247
- }
248
- await nextTick();
249
- if (selectedIndex.value !== -1 && openNewValue !== openOldValue) {
250
- setTimeout(() => {
251
- scrollTo(selectedIndex.value);
252
- });
253
- }
254
- if (activeIndex.value) {
255
- setTimeout(() => {
256
- scrollTo(activeIndex.value);
257
- });
258
- }
259
- }
260
- );
261
- const toggleMenu = (value, withFocus = false) => {
262
- if (props.disabled) {
263
- return;
264
- }
265
- toggle(value);
266
- nextTick(() => {
267
- if (open.value) {
268
- emit("opened");
269
- }
270
- if (!open.value) {
271
- emit("closed");
272
- }
273
- if (listRef.value && withFocus) {
274
- listRef.value.focus();
275
- }
276
- });
277
- };
278
- watch(open, (isOpen2) => {
279
- if (isOpen2) {
280
- if (isMulti.value && Array.isArray(selectedOption.value)) {
281
- selectedOptionPrevious.value = toRaw(selectedOption.value).slice();
282
- }
283
- return;
284
- }
285
- focusButton();
286
- });
287
- const onSelectAll = () => {
288
- selectAll();
289
- selectedOption.value = selectedOptionRef.value;
290
- };
291
- const selectAll = () => {
292
- if (allSelected.value) {
293
- selectedOptionRef.value = [];
294
- return;
295
- }
296
- if (!Array.isArray(selectedOptionRef.value)) {
297
- return;
298
- }
299
- if (selectedOptionRef.value.length === filteredOptions.value.length) {
300
- selectedOptionRef.value = [];
301
- return;
302
- }
303
- selectedOptionRef.value = filteredOptions.value;
304
- };
305
- const onSelect = (option, index) => {
306
- option = toRaw(option);
307
- const isDisabled = optionsIds.value[index]?.disabled;
308
- if (isDisabled) {
309
- return;
310
- }
311
- selectedIndex.value = index;
312
- if (api.mode !== Mode.Multi) {
313
- if (!props.keepOpen) {
314
- toggleMenu(false);
315
- }
316
- api.goToOption(0 /* None */);
317
- selectedOption.value = option;
318
- queryChanged("");
319
- focusButton();
320
- if (api.type === Type.Search && inputRef.value) {
321
- inputRef.value.value = props.displayValue(option);
322
- }
323
- return;
324
- }
325
- if (!Array.isArray(selectedOptionRef.value)) {
326
- return;
327
- }
328
- inputRef.value?.focus();
329
- const rawSelectedOption = toRaw(selectedOptionRef.value);
330
- if (isObjectInArray(rawSelectedOption, option)) {
331
- selectedOptionRef.value = rawSelectedOption.filter(
332
- (item) => !objectsEqual(item, option)
333
- );
334
- return;
335
- } else {
336
- selectedOptionRef.value = [...rawSelectedOption, option];
337
- return;
338
- }
339
- };
340
- const canFocus = (index) => {
341
- return optionsIds.value[index]?.disabled;
342
- };
343
- const api = {
344
- activeIndex,
345
- options: optionsIds,
346
- selectedOption,
347
- labelRef,
348
- activeOption,
349
- listRef,
350
- clearable: props.clearable,
351
- type: slots.input ? Type.Search : Type.Dropdown,
352
- mode: props.multi ? Mode.Multi : Mode.Single,
353
- query,
354
- selectedValue,
355
- toggle: toggleMenu,
356
- disabled: props.disabled,
357
- open,
358
- mandatory: props.mandatory,
359
- size: props.size,
360
- placeholder: props.placeholder,
361
- select: onSelect,
362
- clearSelection: () => {
363
- queryChanged("");
364
- selectedOption.value = api.mode === Mode.Single ? null : [];
365
- if (inputRef.value) {
366
- inputRef.value.value = "";
367
- }
368
- },
369
- search: queryChanged,
370
- goToOption: async (focus) => {
371
- if (!open.value) {
372
- return;
373
- }
374
- let index = activeIndex.value + focus;
375
- const totalDisabled = optionsIds.value.filter(
376
- (item) => item.disabled
377
- ).length;
378
- const total = filteredOptions.value.length - totalDisabled;
379
- if (index > total) {
380
- index = total + 1;
381
- }
382
- while (true) {
383
- if (!optionsIds.value[index]?.disabled) {
384
- activeOption.value = filteredOptions.value[index];
385
- activeIndex.value = index;
386
- return;
387
- }
388
- if (focus === 1 /* Next */ || focus === 10 /* NextPage */) {
389
- index = index + 1 /* Next */;
390
- }
391
- if (focus === -1 /* Previous */ || focus === -10 /* PrevPage */) {
392
- index = index + -1 /* Previous */;
393
- }
394
- if (!canFocus(activeIndex.value)) {
395
- continue;
396
- }
397
- activeOption.value = filteredOptions.value[index];
398
- activeIndex.value = index;
399
- return;
400
- }
401
- },
402
- registerInput: (ref2) => {
403
- inputRef.value = ref2.value;
404
- },
405
- registerOption: (id, disabled, hasSubtitle2) => {
406
- optionsIds.value = [...optionsIds.value, { id, disabled, hasSubtitle: hasSubtitle2 }];
407
- },
408
- unRegisterOption(id) {
409
- optionsIds.value = optionsIds.value.filter((item) => item.id !== id);
410
- }
411
- };
412
- provide(DropdownContext, api);
413
- onClickOutside(
414
- listRef,
415
- () => {
416
- if (open.value) {
417
- onCancel();
418
- }
419
- },
420
- {
421
- ignore: [buttonRef, apply, cancel, inputRef, containerProps.ref]
422
- }
423
- );
424
- const resetInput = () => {
425
- if (!inputRef.value) {
426
- return;
427
- }
428
- inputRef.value.value = api.query.value = "";
429
- };
430
- onMounted(async () => {
431
- if (props.autoFocus) {
432
- await nextTick();
433
- setTimeout(() => {
434
- el.value.focus();
435
- });
436
- }
437
- api.goToOption(0);
438
- });
439
- const onApply = () => {
440
- selectedOption.value = selectedOptionRef.value;
441
- emit("apply", selectedOption.value);
442
- toggleMenu(false);
443
- resetInput();
444
- };
445
- const onCancel = () => {
446
- if (isMulti.value && Array.isArray(selectedOptionPrevious.value)) {
447
- selectedOption.value = toRaw(selectedOptionPrevious.value).slice();
448
- }
449
- toggleMenu(false);
450
- };
451
- const onButtonKeydown = (event) => {
452
- if (props.disableKeyboardEvents)
453
- return;
454
- switch (event.key) {
455
- case "Space":
456
- case "Enter":
457
- case "ArrowUp":
458
- case "ArrowDown": {
459
- toggleMenu(true);
460
- event.preventDefault();
461
- }
462
- }
463
- };
464
- const onKeydown = (event) => {
465
- if (props.disableKeyboardEvents)
466
- return;
467
- switch (event.key) {
468
- case "ArrowUp": {
469
- api.goToOption(-1 /* Previous */);
470
- event.preventDefault();
471
- event.stopPropagation();
472
- break;
473
- }
474
- case "ArrowDown": {
475
- api.goToOption(1 /* Next */);
476
- event.preventDefault();
477
- event.stopPropagation();
478
- break;
479
- }
480
- case "Escape": {
481
- toggleMenu(false);
482
- event.preventDefault();
483
- break;
484
- }
485
- case "PageUp": {
486
- api.goToOption(10 /* NextPage */);
487
- event.preventDefault();
488
- break;
489
- }
490
- case "PageDown": {
491
- api.goToOption(-10 /* PrevPage */);
492
- event.preventDefault();
493
- break;
494
- }
495
- case "Enter": {
496
- if (!open.value) {
497
- toggleMenu(true);
498
- return;
499
- }
500
- onSelect(filteredOptions.value[activeIndex.value], activeIndex.value);
501
- if (api.mode === Mode.Single && !props.keepOpen) {
502
- toggleMenu(false);
503
- }
504
- event.preventDefault();
505
- break;
506
- }
507
- }
508
- };
509
- expose({
510
- selectItem: onSelect,
511
- scrollTo
512
- });
513
- return (_ctx, _cache) => {
514
- return openBlock(), createElementBlock("div", {
515
- ref_key: "el",
516
- ref: el,
517
- class: normalizeClass(["dropdown", { "dropdown--disabled": __props.disabled }]),
518
- tabindex: __props.disabled ? -1 : 0,
519
- onKeydown
520
- }, [
521
- renderSlot(_ctx.$slots, "label", {}, void 0, true),
522
- createVNode(unref(Dropdown$1), {
523
- theme: __props.theme,
524
- "popper-class": [
525
- __props.popperClass,
526
- __props.autoSize ? "v-popper--theme-is-dropdown--auto-size" : null
527
- ],
528
- placement: __props.placement,
529
- skidding: __props.isOnTop ? 0 : __props.skidding,
530
- distance: __props.isOnTop ? -unref(location) : __props.distance,
531
- flip: __props.flip,
532
- triggers: [],
533
- shown: !!unref(open),
534
- "auto-hide": false,
535
- container: __props.container,
536
- "auto-size": __props.autoSize
537
- }, {
538
- popper: withCtx(() => [
539
- createVNode(Transition, null, {
540
- default: withCtx(() => [
541
- createElementVNode("div", {
542
- ref_key: "listRef",
543
- ref: listRef
544
- }, [
545
- __props.inlineSearch || __props.title ? (openBlock(), createElementBlock("div", _hoisted_5, [
546
- __props.title ? (openBlock(), createElementBlock("div", _hoisted_6, [
547
- createVNode(unref(Text), { strong: "" }, {
548
- default: withCtx(() => [
549
- createTextVNode(toDisplayString(__props.title), 1)
550
- ]),
551
- _: 1
552
- })
553
- ])) : createCommentVNode("", true),
554
- __props.inlineSearch ? (openBlock(), createBlock(unref(Search), {
555
- key: 1,
556
- modelValue: query.value,
557
- "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => query.value = $event),
558
- placeholder: __props.searchPlaceholder,
559
- class: "dropdown-title__search",
560
- variant: "transparent",
561
- size: "md",
562
- onKeydown
563
- }, null, 8, ["modelValue", "placeholder"])) : createCommentVNode("", true)
564
- ])) : createCommentVNode("", true),
565
- unref(open) ? (openBlock(), createElementBlock("div", {
566
- key: 1,
567
- class: "dropdown",
568
- onKeydown
569
- }, [
570
- renderSlot(_ctx.$slots, "input-list", { open: unref(open) }, void 0, true),
571
- createElementVNode("div", mergeProps(unref(containerProps), {
572
- class: ["list-container", { "list-container--multi": __props.multi }]
573
- }), [
574
- createElementVNode("ul", mergeProps(unref(wrapperProps), {
575
- role: "listbox",
576
- class: ["list", { "list--multi": __props.multi }]
577
- }), [
578
- !unref(filteredOptions).length && !__props.loading ? (openBlock(), createElementBlock("li", _hoisted_7, [
579
- createVNode(unref(Text), {
580
- size: "sm",
581
- class: "no-result"
582
- }, {
583
- default: withCtx(() => [
584
- createTextVNode(toDisplayString(__props.noResultsText), 1)
585
- ]),
586
- _: 1
587
- })
588
- ])) : createCommentVNode("", true),
589
- __props.loading ? (openBlock(), createElementBlock("li", _hoisted_8, [
590
- createVNode(unref(Icon), {
591
- "font-size": "md",
592
- class: "loader-icon"
593
- }, {
594
- default: withCtx(() => [
595
- _hoisted_9
596
- ]),
597
- _: 1
598
- }),
599
- createVNode(unref(Text), null, {
600
- default: withCtx(() => [
601
- createTextVNode("Loading...")
602
- ]),
603
- _: 1
604
- })
605
- ])) : createCommentVNode("", true),
606
- __props.showSelectAll ? (openBlock(), createElementBlock("li", _hoisted_10, [
607
- createVNode(Option, {
608
- "aria-selected": unref(allSelected),
609
- "aria-disabled": !!__props.disabled,
610
- "selected-prop": unref(allSelected),
611
- "is-indeterminate": unref(isIndeterminate),
612
- "select-all-option": "",
613
- onClick: _cache[3] || (_cache[3] = withModifiers(($event) => onSelectAll(), ["stop"]))
614
- }, {
615
- default: withCtx(() => [
616
- createTextVNode("Select all ")
617
- ]),
618
- _: 1
619
- }, 8, ["aria-selected", "aria-disabled", "selected-prop", "is-indeterminate"])
620
- ])) : createCommentVNode("", true),
621
- unref(virtualOptions).length && !__props.loading ? (openBlock(true), createElementBlock(Fragment, { key: 3 }, renderList(unref(virtualOptions), ({ data, index }) => {
622
- return openBlock(), createElementBlock("li", {
623
- key: index,
624
- "aria-selected": isSelected(toRaw(unref(selectedOption)), data),
625
- "aria-disabled": !!__props.disabled,
626
- onClick: withModifiers(() => onSelect(data, index), ["stop"])
627
- }, [
628
- renderSlot(_ctx.$slots, "default", {
629
- option: data,
630
- selected: isSelected(toRaw(unref(selectedOption)), data),
631
- active: toRaw(unref(activeIndex)) === index
632
- }, void 0, true)
633
- ], 8, _hoisted_11);
634
- }), 128)) : createCommentVNode("", true)
635
- ], 16)
636
- ], 16),
637
- __props.multi ? (openBlock(), createElementBlock("div", _hoisted_12, [
638
- createVNode(unref(Button), {
639
- ref_key: "cancel",
640
- ref: cancel,
641
- size: "sm",
642
- variant: "border",
643
- theme: "third",
644
- onClick: onCancel
645
- }, {
646
- default: withCtx(() => [
647
- createTextVNode(" Cancel ")
648
- ]),
649
- _: 1
650
- }, 512),
651
- createVNode(unref(Button), {
652
- ref_key: "apply",
653
- ref: apply,
654
- "data-testid": "mutli-apply",
655
- size: "sm",
656
- class: "apply-button",
657
- onClick: onApply
658
- }, {
659
- default: withCtx(() => [
660
- createTextVNode("Apply ")
661
- ]),
662
- _: 1
663
- }, 512)
664
- ])) : createCommentVNode("", true)
665
- ], 32)) : createCommentVNode("", true)
666
- ], 512)
667
- ]),
668
- _: 3
669
- })
670
- ]),
671
- default: withCtx(() => [
672
- createElementVNode("div", {
673
- class: normalizeClass(["button__container", {
674
- "button__container--open": !!unref(open),
675
- [`button__container--${__props.size}`]: true,
676
- "button__container--disabled": __props.disabled
677
- }])
678
- }, [
679
- _ctx.$slots.input ? (openBlock(), createElementBlock("div", {
680
- key: 0,
681
- ref_key: "buttonRef",
682
- ref: buttonRef,
683
- onClick: _cache[0] || (_cache[0] = ($event) => toggleMenu()),
684
- onKeydown: onButtonKeydown
685
- }, [
686
- renderSlot(_ctx.$slots, "input", {
687
- open: unref(open),
688
- value: unref(displayedValue),
689
- disabled: __props.disabled
690
- }, void 0, true)
691
- ], 544)) : createCommentVNode("", true),
692
- !_ctx.$slots.input ? (openBlock(), createElementBlock("button", {
693
- key: 1,
694
- ref_key: "buttonRef",
695
- ref: buttonRef,
696
- disabled: __props.disabled,
697
- "aria-haspopup": true,
698
- "aria-expanded": !!unref(open),
699
- "aria-labelledby": labelRef.value?.id,
700
- "aria-disabled": __props.disabled,
701
- class: normalizeClass([{
702
- "button--open": !!unref(open),
703
- [`button--${__props.size}`]: true,
704
- "button--disabled": __props.disabled
705
- }, "button"]),
706
- onKeydown: onButtonKeydown,
707
- onClick: _cache[1] || (_cache[1] = ($event) => toggleMenu())
708
- }, [
709
- _ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_3, [
710
- renderSlot(_ctx.$slots, "image", {}, void 0, true)
711
- ])) : createCommentVNode("", true),
712
- createVNode(unref(Text), {
713
- size: "sm",
714
- "is-truncated": ""
715
- }, {
716
- default: withCtx(() => [
717
- createTextVNode(toDisplayString(unref(displayedValue)), 1)
718
- ]),
719
- _: 1
720
- }),
721
- createElementVNode("div", _hoisted_4, [
722
- createVNode(unref(Icon), {
723
- name: "angle-down",
724
- "font-size": "sm"
725
- })
726
- ])
727
- ], 42, _hoisted_2)) : createCommentVNode("", true)
728
- ], 2)
729
- ]),
730
- _: 3
731
- }, 8, ["theme", "popper-class", "placement", "skidding", "distance", "flip", "shown", "container", "auto-size"]),
732
- !__props.error && __props.helperText ? (openBlock(), createBlock(unref(Text), {
733
- key: 0,
734
- size: "caption",
735
- class: "helper-text"
736
- }, {
737
- default: withCtx(() => [
738
- createTextVNode(toDisplayString(__props.helperText), 1)
739
- ]),
740
- _: 1
741
- })) : createCommentVNode("", true),
742
- __props.error ? (openBlock(), createBlock(unref(Text), {
743
- key: 1,
744
- size: "caption",
745
- class: "helper-text helper-text--error"
746
- }, {
747
- default: withCtx(() => [
748
- createTextVNode(toDisplayString(__props.error), 1)
749
- ]),
750
- _: 1
751
- })) : createCommentVNode("", true)
752
- ], 42, _hoisted_1);
753
- };
754
- }
755
- });
756
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-49790baa"]]);
757
-
758
- export { Dropdown as default };