@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,346 +1,6 @@
1
- import { defineComponent, useCssVars, unref, ref, provide, computed, useSlots, onMounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, createCommentVNode, Fragment, renderList, createBlock, mergeProps, withDirectives, vShow } from 'vue';
2
- /* empty css */import _export_sfc from '../../_virtual/plugin-vue_export-helper.vue.js';
3
- import Text from '../typography/Text.vue.js';
4
- /* empty css *//* empty css *//* empty css *//* empty css */import ScrollButton from '../button/ScrollButton.vue.js';
5
- import Skeleton from '../skeleton/Skeleton.vue.js';
6
- import EmptyState from '../emptyState/EmptyState.vue.js';
7
- import TableHeaderSorter from './TableHeaderSorter.vue.js';
8
- import { useVirtualList, useInfiniteScroll } from '@vueuse/core';
9
- import { TableContext } from './TableContext.vue.js';
10
- /* empty css *//* empty css */
11
- import "../../Table.vue_vue_type_style_index_0_scoped_true_lang.css";
12
- const _hoisted_1 = { class: "table-title" };
13
- const _hoisted_2 = { class: "table-header-actions" };
14
- const _hoisted_3 = { class: "sections" };
15
- const _hoisted_4 = ["onClick"];
16
- const _hoisted_5 = { class: "table-head-container" };
17
- const _hoisted_6 = ["onMouseenter"];
18
- const _hoisted_7 = { key: 1 };
19
- const _hoisted_8 = { key: 1 };
20
- const _sfc_main = /* @__PURE__ */ defineComponent({
21
- __name: "Table",
22
- props: {
23
- title: null,
24
- columns: null,
25
- rows: null,
26
- sections: { default: null },
27
- sort: null,
28
- isSticky: { type: Boolean, default: true },
29
- isStickyHeader: { type: Boolean, default: false },
30
- isLoading: { type: Boolean, default: false },
31
- emptyStateTitle: { default: "No results found" },
32
- emptyStateSubtitle: { default: "Try again with different filters" },
33
- isInfiniteScroll: { type: Boolean, default: false },
34
- infiniteScrollThreshold: { default: 100 },
35
- rowHeight: { type: [Number, Function], default: 48 },
36
- loadingRowCount: { default: 3 },
37
- defaultScrollPosition: { default: null }
38
- },
39
- emits: ["update:sort", "onScroll", "saveRow", "loadMore"],
40
- setup(__props, { emit }) {
41
- const props = __props;
42
- useCssVars((_ctx) => ({
43
- "7b0d5a02": unref(gridColumnTemplate)
44
- }));
45
- const savingRows = ref([]);
46
- provide(TableContext, {
47
- onClose({ rowIndex, cellIndex, value } = {}) {
48
- if (value) {
49
- savingRows.value = [...savingRows.value, rowIndex];
50
- emit("saveRow", {
51
- rowIndex,
52
- cellIndex,
53
- value,
54
- confirm: () => {
55
- savingRows.value = savingRows.value.filter((row) => row !== rowIndex);
56
- }
57
- });
58
- }
59
- }
60
- });
61
- const gridColumnTemplate = computed(() => {
62
- return props.columns.reduce((acc, column) => {
63
- if (column === props.columns[props.columns.length - 1] && column.width) {
64
- return `${acc} minmax(${column.width}px, 1fr)`;
65
- }
66
- const columnTemplate = column.width ? `${column.width}px` : `${column.colSpan || 1}fr`;
67
- return `${acc} ${columnTemplate}`;
68
- }, "");
69
- });
70
- const activeRow = ref(null);
71
- const loadingRows = computed(() => {
72
- return Array(props.loadingRowCount).fill(
73
- Array(props.columns.length).fill("")
74
- );
75
- });
76
- const rows = computed(() => {
77
- return props.isLoading ? [...props.rows, ...loadingRows.value] : props.rows;
78
- });
79
- const { list, containerProps, wrapperProps } = useVirtualList(rows, {
80
- itemHeight: props.rowHeight
81
- });
82
- const floatingActionRef = ref(null);
83
- const floatingActionPosition = ref(0);
84
- const slots = useSlots();
85
- const hasSearchSlot = computed(() => !!slots.search);
86
- const onScroll = (event) => {
87
- containerProps.onScroll();
88
- floatingActionPosition.value = event.target.scrollLeft + event.target.getBoundingClientRect().width;
89
- emit("onScroll", event.target.scrollTop);
90
- };
91
- onMounted(() => {
92
- floatingActionPosition.value = containerProps.ref.value?.getBoundingClientRect().width;
93
- if (props.defaultScrollPosition) {
94
- setTimeout(() => {
95
- containerProps.ref.value.scrollTo({
96
- top: props.defaultScrollPosition,
97
- behavior: "smooth"
98
- });
99
- }, 300);
100
- }
101
- });
102
- const showBackToTopButton = computed(() => {
103
- const [firstListItem] = list.value;
104
- return firstListItem && firstListItem.index > 0;
105
- });
106
- const containerStyle = computed(() => containerProps.style);
107
- const columnsStickyPositions = computed(() => {
108
- return props.columns.reduce((acc, column) => {
109
- if (column.isSticky) {
110
- acc[column.id] = getColumnStickyPosition(column);
111
- }
112
- return acc;
113
- }, {});
114
- });
115
- useInfiniteScroll(
116
- containerProps.ref,
117
- () => {
118
- if (!props.isInfiniteScroll)
119
- return;
120
- emit("loadMore");
121
- },
122
- { distance: props.infiniteScrollThreshold }
123
- );
124
- function scrollToTop() {
125
- containerProps.ref.value.scrollTo({
126
- top: 0,
127
- behavior: "smooth"
128
- });
129
- }
130
- function toggleSortOrder(column) {
131
- const toggledColumn = props.sort.sortBy === column.id;
132
- const isColumnSortable = column.isSortable || column.isSortable === void 0;
133
- if (!isColumnSortable)
134
- return;
135
- let sortOrder = props.sort.sortOrder;
136
- let sortBy = props.sort.sortBy;
137
- if (toggledColumn) {
138
- sortOrder = props.sort.sortOrder === "asc" ? "desc" : "asc";
139
- } else {
140
- sortBy = column.id;
141
- }
142
- emit("update:sort", { sortBy, sortOrder });
143
- }
144
- function getColumnStickyPosition(column) {
145
- const { isSticky, width } = column;
146
- if (!isSticky || !width)
147
- return null;
148
- const columnIndex = props.columns.findIndex((c) => c.id === column.id);
149
- const left = props.columns.reduce((acc, col, index) => {
150
- if (index < columnIndex)
151
- return acc + col.width;
152
- return acc;
153
- }, 0);
154
- return {
155
- left: `${left}px`,
156
- zIndex: 1
157
- };
158
- }
159
- return (_ctx, _cache) => {
160
- return openBlock(), createElementBlock("div", {
161
- class: "table-container",
162
- onMouseleave: _cache[0] || (_cache[0] = ($event) => activeRow.value = null)
163
- }, [
164
- createElementVNode("table", {
165
- ref: unref(containerProps).ref,
166
- style: normalizeStyle(unref(containerStyle)),
167
- onScrollPassive: onScroll
168
- }, [
169
- __props.title || _ctx.$slots["search"] ? (openBlock(), createElementBlock("div", {
170
- key: 0,
171
- class: normalizeClass(["table-header", { isStickyHeader: __props.isStickyHeader }])
172
- }, [
173
- createElementVNode("div", _hoisted_1, [
174
- renderSlot(_ctx.$slots, "title", {}, () => [
175
- createVNode(unref(Text), {
176
- size: "md",
177
- strong: ""
178
- }, {
179
- default: withCtx(() => [
180
- createTextVNode(toDisplayString(__props.title), 1)
181
- ]),
182
- _: 1
183
- })
184
- ], true)
185
- ]),
186
- createElementVNode("div", {
187
- class: normalizeClass(["table-header-right", unref(hasSearchSlot) ? "border-search" : ""])
188
- }, [
189
- renderSlot(_ctx.$slots, "search", {}, void 0, true)
190
- ], 2),
191
- createElementVNode("div", _hoisted_2, [
192
- renderSlot(_ctx.$slots, "table-header-actions", {}, void 0, true)
193
- ])
194
- ], 2)) : createCommentVNode("", true),
195
- createElementVNode("thead", {
196
- class: normalizeClass({ sticky: __props.isSticky, isStickyHeader: __props.isStickyHeader })
197
- }, [
198
- createElementVNode("div", _hoisted_3, [
199
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.sections, (section) => {
200
- return openBlock(), createElementBlock("div", {
201
- key: section.id,
202
- class: normalizeClass(["section-container", { sticky: section.isSticky }])
203
- }, [
204
- renderSlot(_ctx.$slots, `section-${section.id}`, {}, () => [
205
- createElementVNode("div", {
206
- style: normalizeStyle({ width: section.width + "px" }),
207
- class: normalizeClass({ section: true })
208
- }, [
209
- createVNode(unref(Text), { size: "xs" }, {
210
- default: withCtx(() => [
211
- createTextVNode(toDisplayString(section.title), 1)
212
- ]),
213
- _: 2
214
- }, 1024)
215
- ], 4)
216
- ], true)
217
- ], 2);
218
- }), 128))
219
- ]),
220
- createElementVNode("tr", null, [
221
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.columns, (column) => {
222
- return openBlock(), createElementBlock("th", {
223
- key: column.id,
224
- class: normalizeClass({
225
- sticky: column.isSticky,
226
- bordered: column.isBordered,
227
- isTextRight: column.isTextRight,
228
- isSortable: column.isSortable
229
- }),
230
- style: normalizeStyle(column.isSticky ? unref(columnsStickyPositions)[column.id] : null),
231
- onClick: ($event) => toggleSortOrder(column)
232
- }, [
233
- createElementVNode("div", _hoisted_5, [
234
- renderSlot(_ctx.$slots, `header-${column.id}`, { column }, () => [
235
- createVNode(unref(Text), {
236
- size: "sm",
237
- strong: "",
238
- "is-truncated": false
239
- }, {
240
- default: withCtx(() => [
241
- createTextVNode(toDisplayString(column.title), 1)
242
- ]),
243
- _: 2
244
- }, 1024)
245
- ], true),
246
- column.id === __props.sort.sortBy ? (openBlock(), createBlock(TableHeaderSorter, {
247
- key: 0,
248
- class: "table-head-sorter",
249
- "sort-order": __props.sort.sortOrder
250
- }, null, 8, ["sort-order"])) : createCommentVNode("", true)
251
- ])
252
- ], 14, _hoisted_4);
253
- }), 128))
254
- ])
255
- ], 2),
256
- createElementVNode("tbody", null, [
257
- unref(list).length > 0 ? (openBlock(), createElementBlock("div", mergeProps({
258
- key: 0,
259
- class: "table-body-wrapper"
260
- }, unref(wrapperProps)), [
261
- (openBlock(true), createElementBlock(Fragment, null, renderList(unref(list), (row) => {
262
- return openBlock(), createElementBlock("tr", {
263
- key: row.index,
264
- class: normalizeClass(["table-row", {
265
- loading: __props.isLoading || __props.isLoading && !row.data || savingRows.value.includes(row.index),
266
- active: activeRow.value === row.index
267
- }]),
268
- onMouseenter: ($event) => activeRow.value = row.index
269
- }, [
270
- withDirectives(createElementVNode("div", {
271
- ref_for: true,
272
- ref_key: "floatingActionRef",
273
- ref: floatingActionRef,
274
- style: normalizeStyle({ left: floatingActionPosition.value + "px" }),
275
- class: "floating-actions"
276
- }, [
277
- renderSlot(_ctx.$slots, "floating-actions", { row }, void 0, true)
278
- ], 4), [
279
- [
280
- vShow,
281
- _ctx.$slots["floating-actions"] && activeRow.value === row.index && !__props.isLoading
282
- ]
283
- ]),
284
- (openBlock(true), createElementBlock(Fragment, null, renderList(row.data, (cell, cellIndex) => {
285
- return openBlock(), createElementBlock("td", {
286
- key: cellIndex,
287
- class: normalizeClass({
288
- sticky: __props.columns[cellIndex].isSticky,
289
- bordered: __props.columns[cellIndex].isBordered,
290
- isTextRight: __props.columns[cellIndex].isTextRight
291
- }),
292
- style: normalizeStyle(
293
- __props.columns[cellIndex].isSticky ? unref(columnsStickyPositions)[__props.columns[cellIndex].id] : null
294
- )
295
- }, [
296
- !__props.isLoading || __props.isLoading && !!cell ? (openBlock(), createElementBlock("div", {
297
- key: 0,
298
- class: normalizeClass({
299
- last: cellIndex === row.data.length - 1,
300
- "table-cell": true,
301
- floating: _ctx.$slots["floating-actions"]
302
- })
303
- }, [
304
- renderSlot(_ctx.$slots, `cell-${__props.columns[cellIndex].id}`, {
305
- cell,
306
- isLoading: savingRows.value.includes(row.index),
307
- cellIndex,
308
- row,
309
- rowIndex: row.index
310
- }, () => [
311
- createVNode(unref(Text), { size: "sm" }, {
312
- default: withCtx(() => [
313
- createTextVNode(toDisplayString(cell), 1)
314
- ]),
315
- _: 2
316
- }, 1024)
317
- ], true)
318
- ], 2)) : renderSlot(_ctx.$slots, "loader", { key: 1 }, () => [
319
- createVNode(unref(Skeleton), { round: "" })
320
- ], true)
321
- ], 6);
322
- }), 128))
323
- ], 42, _hoisted_6);
324
- }), 128))
325
- ], 16)) : (openBlock(), createElementBlock("div", _hoisted_7, [
326
- renderSlot(_ctx.$slots, "empty-state", {}, () => [
327
- createVNode(unref(EmptyState), {
328
- title: __props.emptyStateTitle,
329
- subtitle: __props.emptyStateSubtitle
330
- }, null, 8, ["title", "subtitle"])
331
- ], true)
332
- ]))
333
- ]),
334
- unref(list).length > 0 ? (openBlock(), createElementBlock("tfoot", _hoisted_8)) : createCommentVNode("", true)
335
- ], 36),
336
- createVNode(unref(ScrollButton), {
337
- show: unref(showBackToTopButton),
338
- onScrolled: scrollToTop
339
- }, null, 8, ["show"])
340
- ], 32);
341
- };
342
- }
343
- });
344
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7b2b8bf4"]]);
345
-
346
- export { Table as default };
1
+ import o from "./Table.vue2.js";
2
+ /* empty css *//* empty css */import t from "../../_virtual/_plugin-vue_export-helper.js";
3
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-365ff6b7"]]);
4
+ export {
5
+ a as default
6
+ };
@@ -0,0 +1,261 @@
1
+ import { defineComponent as K, useCssVars as Q, unref as s, ref as $, provide as U, computed as g, onMounted as W, openBlock as r, createElementBlock as n, createElementVNode as u, normalizeStyle as v, renderSlot as c, createVNode as f, withCtx as w, createTextVNode as C, toDisplayString as B, createCommentVNode as P, normalizeClass as y, Fragment as T, renderList as p, createBlock as X, mergeProps as Y, withDirectives as Z, vShow as I } from "vue";
2
+ /* empty css */import L from "../typography/Text.vue.js";
3
+ /* empty css *//* empty css *//* empty css *//* empty css */import _ from "../button/ScrollButton.vue.js";
4
+ import tt from "../skeleton/Skeleton.vue.js";
5
+ import et from "../emptyState/EmptyState.vue.js";
6
+ import ot from "./TableHeaderSorter.vue.js";
7
+ import { useVirtualList as st, useInfiniteScroll as it } from "@vueuse/core";
8
+ import { TableContext as lt } from "./TableContext.js";
9
+ const rt = {
10
+ key: 0,
11
+ class: "table-header"
12
+ }, nt = { class: "table-title" }, at = { class: "table-header-right" }, dt = { class: "table-header-actions" }, ut = { class: "sections" }, ct = ["onClick"], ft = { class: "table-head-container" }, yt = ["onMouseenter"], mt = { key: 1 }, ht = { key: 1 }, zt = /* @__PURE__ */ K({
13
+ __name: "Table",
14
+ props: {
15
+ title: null,
16
+ columns: null,
17
+ rows: null,
18
+ sections: { default: null },
19
+ sort: null,
20
+ isSticky: { type: Boolean, default: !0 },
21
+ isLoading: { type: Boolean, default: !1 },
22
+ emptyStateTitle: { default: "No results found" },
23
+ emptyStateSubtitle: { default: "Try again with different filters" },
24
+ isInfiniteScroll: { type: Boolean, default: !1 },
25
+ infiniteScrollThreshold: { default: 100 },
26
+ rowHeight: { type: [Number, Function], default: 48 },
27
+ loadingRowCount: { default: 3 }
28
+ },
29
+ emits: ["update:sort", "saveRow", "loadMore"],
30
+ setup(o, { emit: R }) {
31
+ const i = o;
32
+ Q((e) => ({
33
+ "287203b6": s(N)
34
+ }));
35
+ const m = $([]);
36
+ U(lt, {
37
+ onClose({ rowIndex: e, cellIndex: l, value: t } = {}) {
38
+ t && (m.value = [...m.value, e], R("saveRow", {
39
+ rowIndex: e,
40
+ cellIndex: l,
41
+ value: t,
42
+ confirm: () => {
43
+ m.value = m.value.filter((a) => a !== e);
44
+ }
45
+ }));
46
+ }
47
+ });
48
+ const N = g(() => i.columns.reduce((e, l) => {
49
+ const t = l.width ? `${l.width}px` : `${l.colSpan || 1}fr`;
50
+ return `${e} ${t}`;
51
+ }, "")), S = $(null), V = g(() => Array(i.loadingRowCount).fill(
52
+ Array(i.columns.length).fill("")
53
+ )), A = g(() => i.isLoading ? [...i.rows, ...V.value] : i.rows), { list: k, containerProps: h, wrapperProps: O } = st(A, {
54
+ itemHeight: i.rowHeight
55
+ }), H = $(null), z = $(0), x = (e) => {
56
+ h.onScroll(), z.value = e.target.scrollLeft + e.target.getBoundingClientRect().width;
57
+ };
58
+ W(() => {
59
+ z.value = h.ref.value?.getBoundingClientRect().width;
60
+ });
61
+ const E = g(() => {
62
+ const [e] = k.value;
63
+ return e && e.index > 0;
64
+ }), D = g(() => h.style), M = g(() => i.columns.reduce((e, l) => (l.isSticky && (e[l.id] = q(l)), e), {}));
65
+ it(
66
+ h.ref,
67
+ () => {
68
+ i.isInfiniteScroll && R("loadMore");
69
+ },
70
+ { distance: i.infiniteScrollThreshold }
71
+ );
72
+ function F() {
73
+ h.ref.value.scrollTo({
74
+ top: 0,
75
+ behavior: "smooth"
76
+ });
77
+ }
78
+ function j(e) {
79
+ const l = i.sort.sortBy === e.id;
80
+ if (!(e.isSortable || e.isSortable === void 0))
81
+ return;
82
+ let a = i.sort.sortOrder, d = i.sort.sortBy;
83
+ l ? a = i.sort.sortOrder === "asc" ? "desc" : "asc" : d = e.id, R("update:sort", { sortBy: d, sortOrder: a });
84
+ }
85
+ function q(e) {
86
+ const { isSticky: l, width: t } = e;
87
+ if (!l || !t)
88
+ return null;
89
+ const a = i.columns.findIndex((b) => b.id === e.id);
90
+ return {
91
+ left: `${i.columns.reduce((b, G, J) => J < a ? b + G.width : b, 0)}px`,
92
+ zIndex: 1
93
+ };
94
+ }
95
+ return (e, l) => (r(), n("div", {
96
+ class: "table-container",
97
+ onMouseleave: l[0] || (l[0] = (t) => S.value = null)
98
+ }, [
99
+ u("table", {
100
+ ref: s(h).ref,
101
+ style: v(s(D)),
102
+ onScrollPassive: x
103
+ }, [
104
+ o.title || e.$slots.search ? (r(), n("div", rt, [
105
+ u("div", nt, [
106
+ c(e.$slots, "title", {}, () => [
107
+ f(s(L), {
108
+ size: "md",
109
+ strong: ""
110
+ }, {
111
+ default: w(() => [
112
+ C(B(o.title), 1)
113
+ ]),
114
+ _: 1
115
+ })
116
+ ], !0)
117
+ ]),
118
+ u("div", at, [
119
+ c(e.$slots, "search", {}, void 0, !0)
120
+ ]),
121
+ u("div", dt, [
122
+ c(e.$slots, "table-header-actions", {}, void 0, !0)
123
+ ])
124
+ ])) : P("", !0),
125
+ u("thead", {
126
+ class: y({ sticky: o.isSticky })
127
+ }, [
128
+ u("div", ut, [
129
+ (r(!0), n(T, null, p(o.sections, (t) => (r(), n("div", {
130
+ key: t.id,
131
+ class: y(["section-container", { sticky: t.isSticky }])
132
+ }, [
133
+ c(e.$slots, `section-${t.id}`, {}, () => [
134
+ u("div", {
135
+ style: v({ width: t.width + "px" }),
136
+ class: y({ section: !0 })
137
+ }, [
138
+ f(s(L), { size: "xs" }, {
139
+ default: w(() => [
140
+ C(B(t.title), 1)
141
+ ]),
142
+ _: 2
143
+ }, 1024)
144
+ ], 4)
145
+ ], !0)
146
+ ], 2))), 128))
147
+ ]),
148
+ u("tr", null, [
149
+ (r(!0), n(T, null, p(o.columns, (t) => (r(), n("th", {
150
+ key: t.id,
151
+ class: y({ sticky: t.isSticky, bordered: t.isBordered }),
152
+ style: v(t.isSticky ? s(M)[t.id] : null),
153
+ onClick: (a) => j(t)
154
+ }, [
155
+ u("div", ft, [
156
+ c(e.$slots, `header-${t.id}`, { column: t }, () => [
157
+ f(s(L), {
158
+ size: "sm",
159
+ strong: "",
160
+ "is-truncated": !1
161
+ }, {
162
+ default: w(() => [
163
+ C(B(t.title), 1)
164
+ ]),
165
+ _: 2
166
+ }, 1024)
167
+ ], !0),
168
+ t.id === o.sort.sortBy ? (r(), X(ot, {
169
+ key: 0,
170
+ class: "table-head-sorter",
171
+ "sort-order": o.sort.sortOrder
172
+ }, null, 8, ["sort-order"])) : P("", !0)
173
+ ])
174
+ ], 14, ct))), 128))
175
+ ])
176
+ ], 2),
177
+ u("tbody", null, [
178
+ s(k).length > 0 ? (r(), n("div", Y({
179
+ key: 0,
180
+ class: "table-body-wrapper"
181
+ }, s(O)), [
182
+ (r(!0), n(T, null, p(s(k), (t) => (r(), n("tr", {
183
+ key: t.index,
184
+ class: y(["table-row", {
185
+ loading: o.isLoading || o.isLoading && !t.data || m.value.includes(t.index),
186
+ active: S.value === t.index
187
+ }]),
188
+ onMouseenter: (a) => S.value = t.index
189
+ }, [
190
+ Z(u("div", {
191
+ ref_for: !0,
192
+ ref_key: "floatingActionRef",
193
+ ref: H,
194
+ style: v({ left: z.value + "px" }),
195
+ class: "floating-actions"
196
+ }, [
197
+ c(e.$slots, "floating-actions", { row: t }, void 0, !0)
198
+ ], 4), [
199
+ [
200
+ I,
201
+ e.$slots["floating-actions"] && S.value === t.index && !o.isLoading
202
+ ]
203
+ ]),
204
+ (r(!0), n(T, null, p(t.data, (a, d) => (r(), n("td", {
205
+ key: d,
206
+ class: y({
207
+ sticky: o.columns[d].isSticky,
208
+ bordered: o.columns[d].isBordered
209
+ }),
210
+ style: v(
211
+ o.columns[d].isSticky ? s(M)[o.columns[d].id] : null
212
+ )
213
+ }, [
214
+ !o.isLoading || o.isLoading && a ? (r(), n("div", {
215
+ key: 0,
216
+ class: y({
217
+ last: d === t.data.length - 1,
218
+ "table-cell": !0,
219
+ floating: e.$slots["floating-actions"]
220
+ })
221
+ }, [
222
+ c(e.$slots, `cell-${o.columns[d].id}`, {
223
+ cell: a,
224
+ isLoading: m.value.includes(t.index),
225
+ cellIndex: d,
226
+ row: t,
227
+ rowIndex: t.index
228
+ }, () => [
229
+ f(s(L), { size: "sm" }, {
230
+ default: w(() => [
231
+ C(B(a), 1)
232
+ ]),
233
+ _: 2
234
+ }, 1024)
235
+ ], !0)
236
+ ], 2)) : c(e.$slots, "loader", { key: 1 }, () => [
237
+ f(s(tt), { round: "" })
238
+ ], !0)
239
+ ], 6))), 128))
240
+ ], 42, yt))), 128))
241
+ ], 16)) : (r(), n("div", mt, [
242
+ c(e.$slots, "empty-state", {}, () => [
243
+ f(s(et), {
244
+ title: o.emptyStateTitle,
245
+ subtitle: o.emptyStateSubtitle
246
+ }, null, 8, ["title", "subtitle"])
247
+ ], !0)
248
+ ]))
249
+ ]),
250
+ s(k).length > 0 ? (r(), n("tfoot", ht)) : P("", !0)
251
+ ], 36),
252
+ f(s(_), {
253
+ show: s(E),
254
+ onScrolled: F
255
+ }, null, 8, ["show"])
256
+ ], 32));
257
+ }
258
+ });
259
+ export {
260
+ zt as default
261
+ };
@@ -0,0 +1,18 @@
1
+ import { inject as o } from "vue";
2
+ const n = Symbol(
3
+ "TableContext"
4
+ );
5
+ function c(e) {
6
+ const t = o(n, {});
7
+ if (t === null) {
8
+ const r = new Error(
9
+ `<${e} /> is missing a parent <Table /> component.`
10
+ );
11
+ throw Error.captureStackTrace && Error.captureStackTrace(r, c), r;
12
+ }
13
+ return t;
14
+ }
15
+ export {
16
+ n as TableContext,
17
+ c as useTableContext
18
+ };
@@ -1,15 +1,12 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- sortOrder: 'asc' | 'desc';
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- sortOrder: 'asc' | 'desc';
5
- }>>>, {}>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ sortOrder: {
3
+ type: import("vue").PropType<"desc" | "asc">;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ sortOrder: {
8
+ type: import("vue").PropType<"desc" | "asc">;
13
9
  required: true;
14
10
  };
15
- };
11
+ }>>, {}>;
12
+ export default _default;