@ironsource/shared-ui 1.4.2-test.18 → 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 (847) 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 -120
  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 -155
  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 -386
  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/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  743. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  744. package/Input.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  745. package/Label.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  746. package/Menu.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  747. package/Menu.vue_vue_type_style_index_1_lang.css +0 -1
  748. package/MenuItem.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  749. package/Option.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  750. package/PasswordInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  751. package/PercentageInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  752. package/Popover.vue_vue_type_style_index_0_lang.css +0 -1
  753. package/RadioButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  754. package/RadioGroup.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  755. package/ScrollButton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  756. package/Search.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  757. package/SearchInput.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  758. package/Skeleton.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  759. package/Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  760. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  761. package/Switch.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  762. package/Table.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  763. package/Table.vue_vue_type_style_index_1_lang.css +0 -1
  764. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  765. package/Tabs.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  766. package/Text.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  767. package/TextArea.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  768. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  769. package/Toggle.vue_vue_type_style_index_0_scoped_true_lang.css +0 -1
  770. package/Tooltip.vue_vue_type_style_index_0_lang.css +0 -1
  771. package/_virtual/plugin-vue_export-helper.vue.js +0 -9
  772. package/components/appIcon/index.vue.js +0 -6
  773. package/components/appTrigger/index.vue.js +0 -6
  774. package/components/autocompleteDropdown/consts.vue.js +0 -4
  775. package/components/autocompleteDropdown/index.vue.js +0 -6
  776. package/components/autocompleteDropdown/useKeyboardNavigation.vue.js +0 -79
  777. package/components/banner/index.vue.js +0 -6
  778. package/components/button/ButtonBase.vue.js +0 -63
  779. package/components/button/consts.vue.js +0 -17
  780. package/components/button/index.vue.js +0 -10
  781. package/components/checkbox/index.vue.js +0 -6
  782. package/components/chip/index.vue.js +0 -6
  783. package/components/cssBaseline/index.vue.js +0 -6
  784. package/components/datePicker/index.vue.js +0 -6
  785. package/components/dateRange/DateServices.vue.js +0 -374
  786. package/components/dateRange/index.vue.js +0 -6
  787. package/components/dialog/Reason.vue.js +0 -9
  788. package/components/dialog/index.vue.js +0 -6
  789. package/components/dropdown/DropdownContext.vue.js +0 -29
  790. package/components/dropdown/index.vue.js +0 -12
  791. package/components/emptyState/index.vue.js +0 -6
  792. package/components/filterDropdown/index.vue.js +0 -8
  793. package/components/filtersPanel/FiltersPanel.vue.d.ts +0 -33
  794. package/components/filtersPanel/index.vue.js +0 -14
  795. package/components/filtersPanel/useHiddenFilter.vue.js +0 -33
  796. package/components/floatingToolbar/index.vue.js +0 -6
  797. package/components/icon/icons/Adjust.vue.d.ts +0 -2
  798. package/components/icon/icons/Adjust.vue.js +0 -52
  799. package/components/icon/icons/CopyToClipboardFilled.vue.d.ts +0 -2
  800. package/components/icon/icons/CopyToClipboardFilled.vue.js +0 -24
  801. package/components/icon/icons/Cube.vue.d.ts +0 -2
  802. package/components/icon/icons/Cube.vue.js +0 -27
  803. package/components/icon/icons/CubeBackground.vue.d.ts +0 -2
  804. package/components/icon/icons/CubeBackground.vue.js +0 -34
  805. package/components/icon/icons/Marketing.vue.d.ts +0 -2
  806. package/components/icon/icons/Marketing.vue.js +0 -30
  807. package/components/icon/icons/TableEdit.vue.d.ts +0 -2
  808. package/components/icon/icons/TableEdit.vue.js +0 -24
  809. package/components/icon/icons/WidgetsFlatSquares.vue.d.ts +0 -2
  810. package/components/icon/icons/WidgetsFlatSquares.vue.js +0 -58
  811. package/components/icon/index.vue.js +0 -8
  812. package/components/includeExclude/IncludeExcludeContext.vue.js +0 -19
  813. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +0 -43
  814. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +0 -126
  815. package/components/includeExclude/index.vue.js +0 -23
  816. package/components/input/index.vue.js +0 -12
  817. package/components/menu/index.vue.js +0 -6
  818. package/components/menuItem/index.vue.js +0 -6
  819. package/components/popover/index.vue.js +0 -6
  820. package/components/radioButton/index.vue.js +0 -8
  821. package/components/radioButton/useRadio.vue.js +0 -39
  822. package/components/search/index.vue.js +0 -6
  823. package/components/skeleton/index.vue.js +0 -6
  824. package/components/snackbar/index.vue.js +0 -5
  825. package/components/snackbar/notify.vue.js +0 -106
  826. package/components/snackbar/snackbar.types.vue.js +0 -6
  827. package/components/switch/index.vue.js +0 -6
  828. package/components/table/Pagination.vue.d.ts +0 -43
  829. package/components/table/TableContext.vue.js +0 -19
  830. package/components/table/index.vue.js +0 -8
  831. package/components/table-cells/EditableContext.vue.js +0 -10
  832. package/components/table-cells/index.vue.js +0 -8
  833. package/components/tabs/index.vue.js +0 -6
  834. package/components/textArea/index.vue.js +0 -6
  835. package/components/toggle/index.vue.js +0 -6
  836. package/components/tooltip/TextWithTitleContent.vue.js +0 -48
  837. package/components/tooltip/index.vue.js +0 -6
  838. package/components/typography/index.vue.js +0 -8
  839. package/composables/useId.vue.js +0 -15
  840. package/composables/useIsFocusVisible.vue.js +0 -34
  841. package/composables/useSearch.vue.js +0 -18
  842. package/composables/useToggle.vue.js +0 -27
  843. package/index.vue.js +0 -94
  844. package/utils/array.d.ts +0 -1
  845. package/utils/array.vue.js +0 -13
  846. package/utils/object.d.ts +0 -1
  847. package/utils/object.vue.js +0 -10
@@ -1,70 +1,137 @@
1
1
  import { VNode } from 'vue';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- customClass: string;
4
- dangerouslyUseHTMLString: boolean;
5
- duration?: number;
6
- icon: string;
7
- id: string;
8
- message: string | VNode;
9
- offset: number;
10
- onClick: () => void;
11
- onClose: () => void;
12
- type?: 'success' | 'error' | 'info';
13
- position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
14
- showClose?: boolean;
15
- title?: string;
16
- zIndex?: number;
17
- }>, {
18
- type: any;
19
- zIndex: number;
20
- duration: number;
21
- showClose: boolean;
22
- title: string;
23
- position: string;
24
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "destroy"[], "destroy", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
25
- customClass: string;
26
- dangerouslyUseHTMLString: boolean;
27
- duration?: number;
28
- icon: string;
29
- id: string;
30
- message: string | VNode;
31
- offset: number;
32
- onClick: () => void;
33
- onClose: () => void;
34
- type?: 'success' | 'error' | 'info';
35
- position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
36
- showClose?: boolean;
37
- title?: string;
38
- zIndex?: number;
39
- }>, {
40
- type: any;
41
- zIndex: number;
42
- duration: number;
43
- showClose: boolean;
44
- title: string;
45
- position: string;
46
- }>>> & {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ type: {
4
+ type: import("vue").PropType<"error" | "info" | "success">;
5
+ default: any;
6
+ };
7
+ title: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ onClick: {
12
+ type: import("vue").PropType<() => void>;
13
+ required: true;
14
+ };
15
+ id: {
16
+ type: import("vue").PropType<string>;
17
+ required: true;
18
+ };
19
+ offset: {
20
+ type: import("vue").PropType<number>;
21
+ required: true;
22
+ };
23
+ icon: {
24
+ type: import("vue").PropType<string>;
25
+ required: true;
26
+ };
27
+ position: {
28
+ type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
29
+ default: string;
30
+ };
31
+ zIndex: {
32
+ type: import("vue").PropType<number>;
33
+ default: number;
34
+ };
35
+ onClose: {
36
+ type: import("vue").PropType<() => void>;
37
+ required: true;
38
+ };
39
+ customClass: {
40
+ type: import("vue").PropType<string>;
41
+ required: true;
42
+ };
43
+ dangerouslyUseHTMLString: {
44
+ type: import("vue").PropType<boolean>;
45
+ required: true;
46
+ };
47
+ duration: {
48
+ type: import("vue").PropType<number>;
49
+ default: number;
50
+ };
51
+ message: {
52
+ type: import("vue").PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>>;
55
+ required: true;
56
+ };
57
+ showClose: {
58
+ type: import("vue").PropType<boolean>;
59
+ default: boolean;
60
+ };
61
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "destroy"[], "destroy", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
+ type: {
63
+ type: import("vue").PropType<"error" | "info" | "success">;
64
+ default: any;
65
+ };
66
+ title: {
67
+ type: import("vue").PropType<string>;
68
+ default: string;
69
+ };
70
+ onClick: {
71
+ type: import("vue").PropType<() => void>;
72
+ required: true;
73
+ };
74
+ id: {
75
+ type: import("vue").PropType<string>;
76
+ required: true;
77
+ };
78
+ offset: {
79
+ type: import("vue").PropType<number>;
80
+ required: true;
81
+ };
82
+ icon: {
83
+ type: import("vue").PropType<string>;
84
+ required: true;
85
+ };
86
+ position: {
87
+ type: import("vue").PropType<"bottom-right" | "bottom-left" | "top-right" | "top-left">;
88
+ default: string;
89
+ };
90
+ zIndex: {
91
+ type: import("vue").PropType<number>;
92
+ default: number;
93
+ };
94
+ onClose: {
95
+ type: import("vue").PropType<() => void>;
96
+ required: true;
97
+ };
98
+ customClass: {
99
+ type: import("vue").PropType<string>;
100
+ required: true;
101
+ };
102
+ dangerouslyUseHTMLString: {
103
+ type: import("vue").PropType<boolean>;
104
+ required: true;
105
+ };
106
+ duration: {
107
+ type: import("vue").PropType<number>;
108
+ default: number;
109
+ };
110
+ message: {
111
+ type: import("vue").PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
112
+ [key: string]: any;
113
+ }>>;
114
+ required: true;
115
+ };
116
+ showClose: {
117
+ type: import("vue").PropType<boolean>;
118
+ default: boolean;
119
+ };
120
+ }>> & {
47
121
  onDestroy?: (...args: any[]) => any;
48
122
  }, {
123
+ type: "error" | "info" | "success";
49
124
  title: string;
50
- type: 'success' | 'error' | 'info';
51
- position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
125
+ position: "bottom-right" | "bottom-left" | "top-right" | "top-left";
52
126
  zIndex: number;
53
127
  duration: number;
54
128
  showClose: boolean;
129
+ }>, {
130
+ default?(_: {}): any;
55
131
  }>;
56
132
  export default _default;
57
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
58
- type __VLS_TypePropsToRuntimeProps<T> = {
59
- [K in keyof T]-?: {} extends Pick<T, K> ? {
60
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
61
- } : {
62
- type: import('vue').PropType<T[K]>;
63
- required: true;
133
+ type __VLS_WithTemplateSlots<T, S> = T & {
134
+ new (): {
135
+ $slots: S;
64
136
  };
65
137
  };
66
- type __VLS_WithDefaults<P, D> = {
67
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
68
- default: D[K];
69
- } : P[K];
70
- };
@@ -1,181 +1,6 @@
1
- import { defineComponent, ref, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, unref, normalizeStyle, createElementBlock, createVNode, resolveDynamicComponent, createCommentVNode, toDisplayString, renderSlot, createTextVNode, vShow, withModifiers } from 'vue';
2
- import { useEventListener, useTimeoutFn } from '@vueuse/core';
3
- import Icon from '../icon/Icon.vue.js';
4
- import Close from '../icon/icons/Close.vue.js';
5
- import Check from '../icon/icons/Check.vue.js';
6
- import IconButton from '../button/IconButton.vue.js';
7
- import Text from '../typography/Text.vue.js';
8
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
9
-
10
- import "../../Snackbar.vue_vue_type_style_index_0_scoped_true_lang.css";
11
- const _hoisted_1 = ["id"];
12
- const _hoisted_2 = { class: "container" };
13
- const _hoisted_3 = { class: "texts" };
14
- const _hoisted_4 = ["innerHTML"];
15
- const _sfc_main = /* @__PURE__ */ defineComponent({
16
- __name: "Snackbar",
17
- props: {
18
- customClass: null,
19
- dangerouslyUseHTMLString: { type: Boolean },
20
- duration: { default: 3e3 },
21
- icon: null,
22
- id: null,
23
- message: null,
24
- offset: null,
25
- onClick: null,
26
- onClose: null,
27
- type: { default: null },
28
- position: { default: "top-right" },
29
- showClose: { type: Boolean, default: true },
30
- title: { default: "" },
31
- zIndex: { default: 0 }
32
- },
33
- emits: ["destroy"],
34
- setup(__props) {
35
- const props = __props;
36
- const TypeComponentsMap = {
37
- success: Check,
38
- error: Close
39
- };
40
- const visible = ref(false);
41
- let timer = void 0;
42
- const typeClass = computed(() => {
43
- const type = props.type;
44
- return type && TypeComponentsMap[props.type] ? type : "";
45
- });
46
- const iconComponent = computed(() => {
47
- return TypeComponentsMap[props.type] || props.icon || "";
48
- });
49
- const horizontalClass = computed(
50
- () => props.position.endsWith("right") ? "right" : "left"
51
- );
52
- const verticalProperty = computed(
53
- () => props.position.startsWith("top") ? "top" : "bottom"
54
- );
55
- const positionStyle = computed(() => {
56
- return {
57
- [verticalProperty.value]: `${props.offset}px`,
58
- zIndex: props.zIndex
59
- };
60
- });
61
- function startTimer() {
62
- if (props.duration > 0) {
63
- ({ stop: timer } = useTimeoutFn(() => {
64
- if (visible.value)
65
- close();
66
- }, props.duration));
67
- }
68
- }
69
- function clearTimer() {
70
- timer?.();
71
- }
72
- function close() {
73
- visible.value = false;
74
- }
75
- function onKeydown({ code }) {
76
- if (code === "Delete" || code === "Backspace") {
77
- clearTimer();
78
- } else if (code === "Escape") {
79
- if (visible.value) {
80
- close();
81
- }
82
- } else {
83
- startTimer();
84
- }
85
- }
86
- onMounted(() => {
87
- startTimer();
88
- visible.value = true;
89
- });
90
- useEventListener(document, "keydown", onKeydown);
91
- return (_ctx, _cache) => {
92
- return openBlock(), createBlock(Transition, {
93
- name: "snackbar",
94
- onBeforeLeave: __props.onClose,
95
- onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy"))
96
- }, {
97
- default: withCtx(() => [
98
- withDirectives(createElementVNode("div", {
99
- id: __props.id,
100
- class: normalizeClass(["snackbar", [__props.customClass, unref(horizontalClass)]]),
101
- style: normalizeStyle(unref(positionStyle)),
102
- role: "alert",
103
- onMouseenter: clearTimer,
104
- onMouseleave: startTimer,
105
- onClick: _cache[0] || (_cache[0] = (...args) => __props.onClick && __props.onClick(...args))
106
- }, [
107
- unref(iconComponent) ? (openBlock(), createElementBlock("div", {
108
- key: 0,
109
- class: normalizeClass(["start-icon-container", [unref(typeClass)]])
110
- }, [
111
- createVNode(unref(Icon), {
112
- "font-size": unref(typeClass) ? "sm" : "lg"
113
- }, {
114
- default: withCtx(() => [
115
- (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))
116
- ]),
117
- _: 1
118
- }, 8, ["font-size"])
119
- ], 2)) : createCommentVNode("", true),
120
- createElementVNode("div", _hoisted_2, [
121
- createElementVNode("div", _hoisted_3, [
122
- __props.title ? (openBlock(), createBlock(Text, {
123
- key: 0,
124
- size: "md",
125
- strong: "",
126
- class: "title",
127
- textContent: toDisplayString(__props.title)
128
- }, null, 8, ["textContent"])) : createCommentVNode("", true),
129
- withDirectives(createElementVNode("div", {
130
- class: "message",
131
- style: normalizeStyle(!!__props.title ? void 0 : { margin: 0 })
132
- }, [
133
- renderSlot(_ctx.$slots, "default", {}, () => [
134
- !__props.dangerouslyUseHTMLString ? (openBlock(), createBlock(Text, {
135
- key: 0,
136
- size: "sm"
137
- }, {
138
- default: withCtx(() => [
139
- createTextVNode(toDisplayString(__props.message), 1)
140
- ]),
141
- _: 1
142
- })) : (openBlock(), createElementBlock("div", {
143
- key: 1,
144
- innerHTML: __props.message
145
- }, null, 8, _hoisted_4))
146
- ], true)
147
- ], 4), [
148
- [vShow, __props.message]
149
- ])
150
- ]),
151
- __props.showClose ? (openBlock(), createBlock(IconButton, {
152
- key: 0,
153
- theme: "third",
154
- size: "sm",
155
- class: "snackbar-close-button",
156
- variant: "colorized",
157
- onClick: withModifiers(close, ["stop"])
158
- }, {
159
- default: withCtx(() => [
160
- createVNode(unref(Icon), null, {
161
- default: withCtx(() => [
162
- createVNode(Close)
163
- ]),
164
- _: 1
165
- })
166
- ]),
167
- _: 1
168
- }, 8, ["onClick"])) : createCommentVNode("", true)
169
- ])
170
- ], 46, _hoisted_1), [
171
- [vShow, visible.value]
172
- ])
173
- ]),
174
- _: 3
175
- }, 8, ["onBeforeLeave"]);
176
- };
177
- }
178
- });
179
- var SnackbarConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-764ab56b"]]);
180
-
181
- export { SnackbarConstructor as default };
1
+ import o from "./Snackbar.vue2.js";
2
+ /* empty css */import r from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const d = /* @__PURE__ */ r(o, [["__scopeId", "data-v-e5d8edd0"]]);
4
+ export {
5
+ d as default
6
+ };
@@ -0,0 +1,149 @@
1
+ import { defineComponent as N, ref as V, computed as i, onMounted as $, openBlock as s, createBlock as a, Transition as U, withCtx as r, withDirectives as z, createElementVNode as c, normalizeClass as T, unref as n, normalizeStyle as x, createElementBlock as B, createVNode as f, resolveDynamicComponent as W, createCommentVNode as y, toDisplayString as M, renderSlot as A, createTextVNode as F, vShow as w, withModifiers as K } from "vue";
2
+ import { useEventListener as P, useTimeoutFn as j } from "@vueuse/core";
3
+ import L from "../icon/Icon.vue.js";
4
+ import S from "../icon/icons/Close.vue.js";
5
+ import q from "../icon/icons/Check.vue.js";
6
+ import G from "../button/IconButton.vue.js";
7
+ import b from "../typography/Text.vue.js";
8
+ const J = ["id"], O = { class: "container" }, Q = { class: "texts" }, R = ["innerHTML"], ne = /* @__PURE__ */ N({
9
+ __name: "Snackbar",
10
+ props: {
11
+ customClass: null,
12
+ dangerouslyUseHTMLString: { type: Boolean },
13
+ duration: { default: 3e3 },
14
+ icon: null,
15
+ id: null,
16
+ message: null,
17
+ offset: null,
18
+ onClick: null,
19
+ onClose: null,
20
+ type: { default: null },
21
+ position: { default: "top-right" },
22
+ showClose: { type: Boolean, default: !0 },
23
+ title: { default: "" },
24
+ zIndex: { default: 0 }
25
+ },
26
+ emits: ["destroy"],
27
+ setup(e) {
28
+ const t = e, v = {
29
+ success: q,
30
+ error: S
31
+ }, l = V(!1);
32
+ let C;
33
+ const k = i(() => {
34
+ const o = t.type;
35
+ return o && v[t.type] ? o : "";
36
+ }), p = i(() => v[t.type] || t.icon || ""), I = i(
37
+ () => t.position.endsWith("right") ? "right" : "left"
38
+ ), D = i(
39
+ () => t.position.startsWith("top") ? "top" : "bottom"
40
+ ), E = i(() => ({
41
+ [D.value]: `${t.offset}px`,
42
+ zIndex: t.zIndex
43
+ }));
44
+ function d() {
45
+ t.duration > 0 && ({ stop: C } = j(() => {
46
+ l.value && m();
47
+ }, t.duration));
48
+ }
49
+ function g() {
50
+ C?.();
51
+ }
52
+ function m() {
53
+ l.value = !1;
54
+ }
55
+ function H({ code: o }) {
56
+ o === "Delete" || o === "Backspace" ? g() : o === "Escape" ? l.value && m() : d();
57
+ }
58
+ return $(() => {
59
+ d(), l.value = !0;
60
+ }), P(document, "keydown", H), (o, u) => (s(), a(U, {
61
+ name: "snackbar",
62
+ onBeforeLeave: e.onClose,
63
+ onAfterLeave: u[1] || (u[1] = (h) => o.$emit("destroy"))
64
+ }, {
65
+ default: r(() => [
66
+ z(c("div", {
67
+ id: e.id,
68
+ class: T(["snackbar", [e.customClass, n(I)]]),
69
+ style: x(n(E)),
70
+ role: "alert",
71
+ onMouseenter: g,
72
+ onMouseleave: d,
73
+ onClick: u[0] || (u[0] = //@ts-ignore
74
+ (...h) => e.onClick && e.onClick(...h))
75
+ }, [
76
+ n(p) ? (s(), B("div", {
77
+ key: 0,
78
+ class: T(["start-icon-container", [n(k)]])
79
+ }, [
80
+ f(n(L), {
81
+ "font-size": n(k) ? "sm" : "lg"
82
+ }, {
83
+ default: r(() => [
84
+ (s(), a(W(n(p))))
85
+ ]),
86
+ _: 1
87
+ }, 8, ["font-size"])
88
+ ], 2)) : y("", !0),
89
+ c("div", O, [
90
+ c("div", Q, [
91
+ e.title ? (s(), a(b, {
92
+ key: 0,
93
+ size: "md",
94
+ strong: "",
95
+ class: "title",
96
+ textContent: M(e.title)
97
+ }, null, 8, ["textContent"])) : y("", !0),
98
+ z(c("div", {
99
+ class: "message",
100
+ style: x(e.title ? void 0 : { margin: 0 })
101
+ }, [
102
+ A(o.$slots, "default", {}, () => [
103
+ e.dangerouslyUseHTMLString ? (s(), B("div", {
104
+ key: 1,
105
+ innerHTML: e.message
106
+ }, null, 8, R)) : (s(), a(b, {
107
+ key: 0,
108
+ size: "sm"
109
+ }, {
110
+ default: r(() => [
111
+ F(M(e.message), 1)
112
+ ]),
113
+ _: 1
114
+ }))
115
+ ], !0)
116
+ ], 4), [
117
+ [w, e.message]
118
+ ])
119
+ ]),
120
+ e.showClose ? (s(), a(G, {
121
+ key: 0,
122
+ theme: "third",
123
+ size: "sm",
124
+ class: "snackbar-close-button",
125
+ variant: "colorized",
126
+ onClick: K(m, ["stop"])
127
+ }, {
128
+ default: r(() => [
129
+ f(n(L), null, {
130
+ default: r(() => [
131
+ f(S)
132
+ ]),
133
+ _: 1
134
+ })
135
+ ]),
136
+ _: 1
137
+ }, 8, ["onClick"])) : y("", !0)
138
+ ])
139
+ ], 46, J), [
140
+ [w, l.value]
141
+ ])
142
+ ]),
143
+ _: 3
144
+ }, 8, ["onBeforeLeave"]));
145
+ }
146
+ });
147
+ export {
148
+ ne as default
149
+ };
@@ -0,0 +1,6 @@
1
+ import o from "./notify.js";
2
+ const a = o;
3
+ export {
4
+ a as Snackbar,
5
+ a as default
6
+ };
@@ -0,0 +1,84 @@
1
+ import { isVNode as x, createVNode as y, render as v } from "vue";
2
+ import b from "./Snackbar.vue.js";
3
+ import { snackbarTypes as I } from "./snackbar.types.js";
4
+ const p = {
5
+ "top-left": [],
6
+ "top-right": [],
7
+ "bottom-left": [],
8
+ "bottom-right": []
9
+ }, g = 16;
10
+ let C = 1;
11
+ const N = 2e3, a = function(e = {}, t = null) {
12
+ (typeof e == "string" || x(e)) && (e = { message: e });
13
+ const o = e.position || "top-right";
14
+ let n = e.zIndex || N, s = p[o].reduce(
15
+ (m, { vm: h }) => m + (h.el?.offsetHeight || 0) + g,
16
+ e.offset || 0
17
+ );
18
+ s += g;
19
+ const i = () => n++, d = `notification_${C++}`, u = e.onClose, l = {
20
+ ...e,
21
+ zIndex: i(),
22
+ offset: s,
23
+ id: d,
24
+ onClose: () => {
25
+ A(d, o, u);
26
+ }
27
+ }, c = document.body, f = document.createElement("div"), r = y(
28
+ b,
29
+ l,
30
+ x(l.message) ? {
31
+ default: () => l.message
32
+ } : null
33
+ );
34
+ return r.appContext = t ?? a._context, r.props.onDestroy = () => {
35
+ v(null, f);
36
+ }, v(r, f), p[o].push({ vm: r }), c.appendChild(f?.firstElementChild), {
37
+ // instead of calling the onClose function directly, setting this value so that we can have the full lifecycle
38
+ // for out component, so that all closing steps will not be skipped.
39
+ close: () => {
40
+ const m = r.component?.proxy;
41
+ m && (m.visible = !1);
42
+ }
43
+ };
44
+ };
45
+ function A(e, t, o) {
46
+ const n = p[t], s = n.findIndex(
47
+ ({ vm: c }) => c.component?.props.id === e
48
+ );
49
+ if (s === -1)
50
+ return;
51
+ const { vm: i } = n[s];
52
+ if (!i)
53
+ return;
54
+ o?.(i);
55
+ const d = i.el?.offsetHeight, u = t.split("-")[0];
56
+ n.splice(s, 1);
57
+ const l = n.length;
58
+ for (let c = s; c < l; c++) {
59
+ const { el: f, component: r } = n[c].vm;
60
+ r.props.offset = Number.parseInt(f.style[u], 10) - d - g;
61
+ }
62
+ }
63
+ I.forEach((e) => {
64
+ a[e] = (t = {}) => ((typeof t == "string" || x(t)) && (t = {
65
+ message: t
66
+ }), a({
67
+ ...t,
68
+ type: e
69
+ }));
70
+ });
71
+ function E() {
72
+ for (const e of Object.values(p))
73
+ e.forEach(({ vm: t }) => {
74
+ const o = t.component?.proxy;
75
+ o && (o.visible = !1);
76
+ });
77
+ }
78
+ a.closeAll = E;
79
+ a._context = null;
80
+ export {
81
+ A as close,
82
+ E as closeAll,
83
+ a as default
84
+ };
@@ -0,0 +1,7 @@
1
+ const s = {
2
+ destroy: () => !0
3
+ }, r = ["success", "info", "error"];
4
+ export {
5
+ s as snackbarEmits,
6
+ r as snackbarTypes
7
+ };