@ironsource/shared-ui 2.0.0-rc.5 → 2.0.0-rc.7

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 (447) hide show
  1. package/AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css +1 -0
  2. package/ButtonV4.vue_vue_type_style_index_0_scoped_3fd2281b_lang.css +1 -0
  3. package/Checkbox.vue_vue_type_style_index_0_scoped_58dedb90_lang.css +1 -0
  4. package/CheckboxV4.vue_vue_type_style_index_0_scoped_ee3e6d82_lang.css +1 -0
  5. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_14dcdae5_lang.css +1 -0
  6. package/DataGrid.vue_vue_type_style_index_0_scoped_7a670808_lang.css +1 -0
  7. package/DataGridMenu.vue_vue_type_style_index_0_scoped_99f1dcca_lang.css +1 -0
  8. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_c218ef1f_lang.css +1 -0
  9. package/Dialog.vue_vue_type_style_index_0_scoped_eeac406b_lang.css +1 -0
  10. package/DialogV4.vue_vue_type_style_index_0_scoped_c0c12287_lang.css +1 -0
  11. package/Dropdown.vue_vue_type_style_index_0_scoped_e8324d12_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_571b7c2f_lang.css +1 -0
  13. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  14. package/Editable.vue_vue_type_style_index_0_scoped_2561e913_lang.css +1 -0
  15. package/EditableV4.vue_vue_type_style_index_0_scoped_df325b51_lang.css +1 -0
  16. package/EmptyState.vue_vue_type_style_index_0_scoped_d3aecf34_lang.css +1 -0
  17. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_18855436_lang.css +1 -0
  18. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_b8373c2d_lang.css +1 -0
  19. package/ExpandRowToggle.vue_vue_type_style_index_0_scoped_b053baa6_lang.css +1 -0
  20. package/FieldHelpText.vue_vue_type_style_index_0_scoped_c551c20f_lang.css +1 -0
  21. package/FieldLabel.vue_vue_type_style_index_0_scoped_526af548_lang.css +1 -0
  22. package/FilterDropdown.vue_vue_type_style_index_0_scoped_1320b13b_lang.css +1 -0
  23. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_51006ea0_lang.css +1 -0
  24. package/FiltersPanel.vue_vue_type_style_index_0_scoped_9d2f3413_lang.css +1 -0
  25. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +1 -0
  26. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +1 -0
  27. package/IconButtonV4.vue_vue_type_style_index_0_scoped_2ca54aa8_lang.css +1 -0
  28. package/IconV4.vue_vue_type_style_index_0_scoped_a78f8a3e_lang.css +1 -0
  29. package/IncludeExclude.vue_vue_type_style_index_0_scoped_2a01a791_lang.css +1 -0
  30. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_f738b223_lang.css +1 -0
  31. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_85bff8f4_lang.css +1 -0
  32. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_91bc7787_lang.css +1 -0
  33. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_a91fcaa5_lang.css +1 -0
  34. package/Input.vue_vue_type_style_index_0_scoped_7092804b_lang.css +1 -0
  35. package/Label.vue_vue_type_style_index_0_scoped_48e00c04_lang.css +1 -0
  36. package/MultiBar.vue_vue_type_style_index_0_scoped_f5061530_lang.css +1 -0
  37. package/MultiBarMenu.vue_vue_type_style_index_0_scoped_ae2bbc6c_lang.css +1 -0
  38. package/Option.vue_vue_type_style_index_0_scoped_3d6ce2fc_lang.css +1 -0
  39. package/OptionV4.vue_vue_type_style_index_0_scoped_92add735_lang.css +1 -0
  40. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +1 -0
  41. package/RadioButtonV4.vue_vue_type_style_index_0_scoped_14be812e_lang.css +1 -0
  42. package/RadioGroup.vue_vue_type_style_index_0_scoped_3071ef24_lang.css +1 -0
  43. package/RadioGroupV4.vue_vue_type_style_index_0_scoped_f8e8cbab_lang.css +1 -0
  44. package/ScrollButton.vue_vue_type_style_index_0_scoped_35ed2cfe_lang.css +1 -0
  45. package/SearchInput.vue_vue_type_style_index_0_scoped_b256f8ef_lang.css +1 -0
  46. package/SearchV4.vue_vue_type_style_index_0_scoped_215f0f29_lang.css +1 -0
  47. package/Snackbar.vue_vue_type_style_index_0_scoped_cec4f8e5_lang.css +1 -0
  48. package/SnackbarV4.vue_vue_type_style_index_0_scoped_48311746_lang.css +1 -0
  49. package/SortIcon.vue_vue_type_style_index_0_scoped_2bda5d4a_lang.css +1 -0
  50. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_cb20f507_lang.css +1 -0
  51. package/Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css +1 -0
  52. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css +1 -0
  53. package/Tabs.vue_vue_type_style_index_0_scoped_06c58d5a_lang.css +1 -0
  54. package/TabsV4.vue_vue_type_style_index_0_scoped_bab86b0a_lang.css +1 -0
  55. package/TextField.vue_vue_type_style_index_0_scoped_d4dc4582_lang.css +1 -0
  56. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_13b5aebd_lang.css +1 -0
  57. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7792f772_lang.css +1 -0
  58. package/Toggle.vue_vue_type_style_index_0_scoped_1cf7973e_lang.css +1 -0
  59. package/Tooltip.vue_vue_type_style_index_0_lang.css +1 -1
  60. package/TooltipV4.vue_vue_type_style_index_0_lang.css +1 -0
  61. package/components/appTrigger/AppTrigger.vue.js +2 -2
  62. package/components/appTrigger/AppTrigger.vue2.js +3 -3
  63. package/components/autocompleteDropdown/AutocompleteDropdown.vue2.js +3 -3
  64. package/components/button/common/ButtonSuper.vue.d.ts +6 -6
  65. package/components/button/v3/Button.vue.d.ts +6 -6
  66. package/components/button/v3/ScrollButton.vue.js +3 -3
  67. package/components/button/v3/ScrollButton.vue2.js +3 -3
  68. package/components/button/v4/ButtonV4.vue.d.ts +11 -6
  69. package/components/button/v4/ButtonV4.vue.js +3 -3
  70. package/components/button/v4/ButtonV4.vue2.js +13 -10
  71. package/components/button/v4/IconButtonV4.vue.d.ts +66 -0
  72. package/components/button/v4/IconButtonV4.vue.js +7 -0
  73. package/components/button/v4/IconButtonV4.vue2.js +35 -0
  74. package/components/button/v4/index.d.ts +224 -18
  75. package/components/button/v4/index.js +6 -4
  76. package/components/checkbox/common/Checkbox.common.d.ts +11 -0
  77. package/components/checkbox/common/Checkbox.common.js +32 -0
  78. package/components/checkbox/v3/Checkbox.vue.js +7 -0
  79. package/components/checkbox/v3/Checkbox.vue2.js +99 -0
  80. package/components/checkbox/{icons → v3/icons}/checked.vue.js +1 -1
  81. package/components/checkbox/{icons → v3/icons}/indeterminate.vue.js +1 -1
  82. package/components/checkbox/{icons → v3/icons}/unchecked.vue.js +1 -1
  83. package/components/checkbox/v4/CheckboxV4.vue.d.ts +53 -0
  84. package/components/checkbox/v4/CheckboxV4.vue.js +7 -0
  85. package/components/checkbox/v4/CheckboxV4.vue2.js +107 -0
  86. package/components/checkbox/v4/icons/CheckedDisabledState.vue.js +38 -0
  87. package/components/checkbox/v4/icons/CheckedState.vue.js +38 -0
  88. package/components/checkbox/v4/icons/IndeterminateDisabledState.vue.js +40 -0
  89. package/components/checkbox/v4/icons/IndeterminateState.vue.d.ts +2 -0
  90. package/components/checkbox/v4/icons/IndeterminateState.vue.js +40 -0
  91. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.d.ts +2 -0
  92. package/components/checkbox/v4/icons/UncheckedDisabledState.vue.js +31 -0
  93. package/components/checkbox/v4/icons/UncheckedState.vue.d.ts +2 -0
  94. package/components/checkbox/v4/icons/UncheckedState.vue.js +31 -0
  95. package/components/checkbox/v4/index.d.ts +152 -0
  96. package/components/checkbox/v4/index.js +6 -0
  97. package/components/dialog/common/Dialog.common.d.ts +10 -0
  98. package/components/dialog/common/Dialog.common.js +57 -0
  99. package/components/dialog/{Dialog.vue.d.ts → v3/Dialog.vue.d.ts} +1 -1
  100. package/components/dialog/v3/Dialog.vue.js +7 -0
  101. package/components/dialog/v3/Dialog.vue2.js +137 -0
  102. package/components/dialog/{index.d.ts → v3/index.d.ts} +8 -8
  103. package/components/dialog/v3/index.js +8 -0
  104. package/components/dialog/v4/DialogV4.vue.d.ts +109 -0
  105. package/components/dialog/v4/DialogV4.vue.js +7 -0
  106. package/components/dialog/v4/DialogV4.vue2.js +119 -0
  107. package/components/dialog/v4/index.d.ts +345 -0
  108. package/components/dialog/{index.js → v4/index.js} +1 -1
  109. package/components/dropdown/common/Dropdown.common.js +15 -15
  110. package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
  111. package/components/dropdown/v3/Dropdown.vue.js +2 -2
  112. package/components/dropdown/v3/Dropdown.vue2.js +3 -3
  113. package/components/dropdown/v3/Label.vue.js +7 -0
  114. package/components/dropdown/{common → v3}/Label.vue2.js +2 -2
  115. package/components/dropdown/v3/Option.vue.js +7 -0
  116. package/components/dropdown/{common → v3}/Option.vue2.js +3 -3
  117. package/components/dropdown/{common → v3}/SearchInput.vue.js +2 -2
  118. package/components/dropdown/{common → v3}/SearchInput.vue2.js +2 -2
  119. package/components/dropdown/v3/index.d.ts +43 -43
  120. package/components/dropdown/v3/index.js +3 -3
  121. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +66 -0
  122. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +7 -0
  123. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +73 -0
  124. package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +3 -3
  125. package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +36 -35
  126. package/components/dropdown/v4/Dropdown.types.d.ts +3 -0
  127. package/components/dropdown/v4/Dropdown.types.js +8 -0
  128. package/components/dropdown/v4/DropdownV4.vue.d.ts +8 -20
  129. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  130. package/components/dropdown/v4/DropdownV4.vue2.js +222 -186
  131. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +29 -0
  132. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +7 -0
  133. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +19 -0
  134. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  135. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  136. package/components/dropdown/v4/index.d.ts +190 -115
  137. package/components/dropdown/v4/index.js +14 -4
  138. package/components/emptyState/v3/EmptyState.vue.d.ts +93 -0
  139. package/components/emptyState/v3/EmptyState.vue.js +7 -0
  140. package/components/emptyState/{EmptyState.vue2.js → v3/EmptyState.vue2.js} +7 -7
  141. package/components/emptyState/v3/EmptyStateIcon.vue.d.ts +2 -0
  142. package/components/emptyState/{EmptyStateIcon.vue.js → v3/EmptyStateIcon.vue.js} +8 -8
  143. package/components/emptyState/v3/index.d.ts +288 -0
  144. package/components/emptyState/v4/EmptyStateV4.types.d.ts +2 -0
  145. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +56 -0
  146. package/components/emptyState/v4/EmptyStateV4.vue.js +7 -0
  147. package/components/emptyState/v4/EmptyStateV4.vue2.js +66 -0
  148. package/components/emptyState/v4/icons/IconError.vue.d.ts +2 -0
  149. package/components/emptyState/v4/icons/IconError.vue.js +16 -0
  150. package/components/emptyState/v4/icons/IconFiles.vue.d.ts +2 -0
  151. package/components/emptyState/v4/icons/IconFiles.vue.js +16 -0
  152. package/components/emptyState/v4/icons/IconNoAccess.vue.d.ts +2 -0
  153. package/components/emptyState/v4/icons/IconNoAccess.vue.js +16 -0
  154. package/components/emptyState/v4/icons/IconNoData.vue.d.ts +2 -0
  155. package/components/emptyState/v4/icons/IconNoData.vue.js +16 -0
  156. package/components/emptyState/v4/icons/IconNoResults.vue.d.ts +2 -0
  157. package/components/emptyState/v4/icons/IconNoResults.vue.js +16 -0
  158. package/components/emptyState/v4/icons/IconSettings.vue.d.ts +2 -0
  159. package/components/emptyState/v4/icons/IconSettings.vue.js +16 -0
  160. package/components/emptyState/v4/index.d.ts +145 -0
  161. package/components/emptyState/v4/index.js +6 -0
  162. package/components/filterDropdown/FilterDropdown.vue.d.ts +1 -1
  163. package/components/filterDropdown/FilterDropdown.vue.js +2 -2
  164. package/components/filterDropdown/FilterDropdown.vue2.js +4 -4
  165. package/components/filterDropdown/index.d.ts +2 -2
  166. package/components/filtersPanel/v3/FilterSearchInput.vue.d.ts +2 -0
  167. package/components/filtersPanel/v3/FilterSearchInput.vue.js +7 -0
  168. package/components/filtersPanel/{FilterSearchInput.vue2.js → v3/FilterSearchInput.vue2.js} +6 -6
  169. package/components/filtersPanel/v3/FiltersPanel.vue.js +7 -0
  170. package/components/filtersPanel/{FiltersPanel.vue2.js → v3/FiltersPanel.vue2.js} +1 -1
  171. package/components/filtersPanel/v4/FiltersPanelV4.vue.d.ts +44 -0
  172. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +7 -0
  173. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +23 -0
  174. package/components/filtersPanel/v4/index.d.ts +101 -0
  175. package/components/filtersPanel/v4/index.js +6 -0
  176. package/components/filtersPanel/v4/storyConsts.d.ts +20 -0
  177. package/components/icon/icons/FiltersSearch.vue.d.ts +2 -0
  178. package/components/icon/v3/icons/index.d.ts +3 -0
  179. package/components/icon/v3/icons/index.js +3 -0
  180. package/components/icon/v3/index.d.ts +3 -0
  181. package/components/icon/v4/Icon.types.d.ts +2 -0
  182. package/components/icon/v4/IconV4.vue.d.ts +3 -3
  183. package/components/icon/v4/IconV4.vue.js +4 -4
  184. package/components/icon/v4/IconV4.vue2.js +27 -24
  185. package/components/icon/v4/index.d.ts +7 -7
  186. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  187. package/components/includeExclude/IncludeExclude.vue.js +3 -3
  188. package/components/includeExclude/IncludeExclude.vue2.js +3 -3
  189. package/components/includeExclude/IncludeExcludeAppTrigger.vue.js +3 -3
  190. package/components/includeExclude/IncludeExcludeAppTrigger.vue2.js +3 -3
  191. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  192. package/components/includeExclude/IncludeExcludeDragDrop.vue.js +4 -4
  193. package/components/includeExclude/IncludeExcludeDragDrop.vue2.js +3 -3
  194. package/components/includeExclude/IncludeExcludeOption.vue.js +2 -2
  195. package/components/includeExclude/IncludeExcludeOption.vue2.js +4 -4
  196. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.js +3 -3
  197. package/components/includeExclude/IncludeExcludeOptionDraggable.vue2.js +3 -3
  198. package/components/includeExclude/index.d.ts +40 -40
  199. package/components/input/common/Input.common.d.ts +1 -1
  200. package/components/input/common/Input.common.js +2 -2
  201. package/components/input/v3/Input.vue.js +2 -2
  202. package/components/input/v3/Input.vue2.js +3 -3
  203. package/components/input/v4/TextField.vue.d.ts +8 -3
  204. package/components/input/v4/TextField.vue.js +3 -3
  205. package/components/input/v4/TextField.vue2.js +81 -74
  206. package/components/input/v4/index.d.ts +27 -8
  207. package/components/menu/Menu.vue.d.ts +1 -1
  208. package/components/menu/index.d.ts +20 -20
  209. package/components/multibar/MultiBar.types.d.ts +6 -0
  210. package/components/multibar/MultiBar.vue.d.ts +65 -0
  211. package/components/multibar/MultiBar.vue.js +7 -0
  212. package/components/multibar/MultiBar.vue2.js +96 -0
  213. package/components/multibar/MultiBarMenu.vue.d.ts +34 -0
  214. package/components/multibar/MultiBarMenu.vue.js +7 -0
  215. package/components/multibar/MultiBarMenu.vue2.js +50 -0
  216. package/components/multibar/index.d.ts +77 -0
  217. package/components/multibar/index.js +6 -0
  218. package/components/popover/index.d.ts +16 -16
  219. package/components/radioButton/common/radioGroup.common.d.ts +3 -0
  220. package/components/radioButton/common/radioGroup.common.js +26 -0
  221. package/components/radioButton/v3/RadioButton.vue.js +7 -0
  222. package/components/radioButton/v3/RadioButton.vue2.js +79 -0
  223. package/components/radioButton/v3/RadioGroup.vue.js +7 -0
  224. package/components/radioButton/v3/RadioGroup.vue2.js +29 -0
  225. package/components/radioButton/v4/RadioButtonV4.vue.d.ts +59 -0
  226. package/components/radioButton/v4/RadioButtonV4.vue.js +7 -0
  227. package/components/radioButton/v4/RadioButtonV4.vue2.js +67 -0
  228. package/components/radioButton/v4/RadioGroupV4.vue.d.ts +61 -0
  229. package/components/radioButton/v4/RadioGroupV4.vue.js +7 -0
  230. package/components/radioButton/v4/RadioGroupV4.vue2.js +29 -0
  231. package/components/radioButton/v4/index.d.ts +334 -0
  232. package/components/radioButton/v4/index.js +8 -0
  233. package/components/search/v4/SearchV4.vue.js +2 -2
  234. package/components/search/v4/SearchV4.vue2.js +29 -32
  235. package/components/shared/FieldHelpText.vue.js +3 -3
  236. package/components/shared/FieldHelpText.vue2.js +21 -25
  237. package/components/shared/FieldLabel.vue.d.ts +1 -1
  238. package/components/shared/FieldLabel.vue.js +3 -3
  239. package/components/shared/FieldLabel.vue2.js +31 -35
  240. package/components/snackbar/common/notify.d.ts +3 -0
  241. package/components/snackbar/common/notify.js +82 -0
  242. package/components/snackbar/common/snackbar.common.d.ts +11 -0
  243. package/components/snackbar/common/snackbar.common.js +51 -0
  244. package/components/snackbar/v3/Snackbar.vue.js +7 -0
  245. package/components/snackbar/v3/Snackbar.vue2.js +129 -0
  246. package/components/snackbar/v3/index.d.ts +3 -0
  247. package/components/snackbar/v3/index.js +10 -0
  248. package/components/snackbar/v4/SnackbarV4.vue.d.ts +186 -0
  249. package/components/snackbar/v4/SnackbarV4.vue.js +7 -0
  250. package/components/snackbar/v4/SnackbarV4.vue2.js +137 -0
  251. package/components/snackbar/v4/index.d.ts +4 -0
  252. package/components/snackbar/v4/index.js +11 -0
  253. package/components/table/common/Table.common.d.ts +35 -0
  254. package/components/table/common/Table.common.js +114 -0
  255. package/components/table/{Table.types.d.ts → common/Table.types.d.ts} +7 -0
  256. package/components/table/v3/SortOrderIcon.vue.d.ts +2 -0
  257. package/components/table/v3/SortOrderIcon.vue.js +21 -0
  258. package/components/table/{Table.vue.d.ts → v3/Table.vue.d.ts} +2 -3
  259. package/components/table/v3/Table.vue.js +7 -0
  260. package/components/table/v3/Table.vue2.js +248 -0
  261. package/components/table/v3/TableHeaderSorter.vue.js +7 -0
  262. package/components/table/{TableHeaderSorter.vue2.js → v3/TableHeaderSorter.vue2.js} +1 -1
  263. package/components/table/{index.d.ts → v3/index.d.ts} +49 -49
  264. package/components/table/v3/index.js +10 -0
  265. package/components/table/v4/DataGrid.vue.d.ts +182 -0
  266. package/components/table/v4/DataGrid.vue.js +7 -0
  267. package/components/table/v4/DataGrid.vue2.js +295 -0
  268. package/components/table/v4/DataGridMenu.vue.d.ts +34 -0
  269. package/components/table/v4/DataGridMenu.vue.js +7 -0
  270. package/components/table/v4/DataGridMenu.vue2.js +50 -0
  271. package/components/table/v4/ExpandRowToggle.vue.d.ts +33 -0
  272. package/components/table/v4/ExpandRowToggle.vue.js +7 -0
  273. package/components/table/v4/ExpandRowToggle.vue2.js +24 -0
  274. package/components/table/v4/SortIcon.vue.d.ts +15 -0
  275. package/components/table/v4/SortIcon.vue.js +7 -0
  276. package/components/table/v4/SortIcon.vue2.js +24 -0
  277. package/components/table/v4/index.d.ts +601 -0
  278. package/components/table/v4/index.js +8 -0
  279. package/components/table/v4/storyUtils.d.ts +4 -0
  280. package/components/table-cells/common/Editable.common.d.ts +5 -0
  281. package/components/table-cells/common/Editable.common.js +39 -0
  282. package/components/table-cells/v3/Editable.vue.js +7 -0
  283. package/components/table-cells/v3/Editable.vue2.js +43 -0
  284. package/components/table-cells/{index.d.ts → v3/index.d.ts} +2 -2
  285. package/components/table-cells/{index.js → v3/index.js} +2 -2
  286. package/components/table-cells/v4/EditableV4.vue.d.ts +51 -0
  287. package/components/table-cells/v4/EditableV4.vue.js +7 -0
  288. package/components/table-cells/v4/EditableV4.vue2.js +45 -0
  289. package/components/table-cells/v4/index.d.ts +146 -0
  290. package/components/table-cells/v4/index.js +6 -0
  291. package/components/tabs/common/Tabs.types.d.ts +6 -0
  292. package/components/tabs/common/tabsCommon.d.ts +16 -0
  293. package/components/tabs/common/tabsCommon.js +43 -0
  294. package/components/tabs/{Tabs.vue.d.ts → v3/Tabs.vue.d.ts} +1 -6
  295. package/components/tabs/v3/Tabs.vue.js +7 -0
  296. package/components/tabs/v3/Tabs.vue2.js +85 -0
  297. package/components/tabs/{index.d.ts → v3/index.d.ts} +8 -48
  298. package/components/tabs/v4/TabsV4.vue.d.ts +56 -0
  299. package/components/tabs/v4/TabsV4.vue.js +7 -0
  300. package/components/tabs/v4/TabsV4.vue2.js +75 -0
  301. package/components/tabs/v4/index.d.ts +148 -0
  302. package/components/tabs/v4/index.js +6 -0
  303. package/components/toggle/v3/Toggle.vue.js +7 -0
  304. package/components/toggle/{Toggle.vue2.js → v3/Toggle.vue2.js} +17 -17
  305. package/components/toggle/v4/ToggleV4.vue.d.ts +98 -0
  306. package/components/tooltip/common/Tooltip.common.d.ts +3 -0
  307. package/components/tooltip/common/Tooltip.common.js +27 -0
  308. package/components/tooltip/v3/TextWithTitleContent.vue.js +7 -0
  309. package/components/tooltip/{TextWithTitleContent.vue2.js → v3/TextWithTitleContent.vue2.js} +4 -4
  310. package/components/tooltip/v3/Tooltip.vue.js +5 -0
  311. package/components/tooltip/v3/Tooltip.vue2.js +87 -0
  312. package/components/tooltip/{index.js → v3/index.js} +2 -2
  313. package/components/tooltip/v4/TextWithTitleContent.vue.d.ts +33 -0
  314. package/components/tooltip/v4/TextWithTitleContent.vue.js +7 -0
  315. package/components/tooltip/v4/TextWithTitleContent.vue2.js +36 -0
  316. package/components/tooltip/v4/TooltipV4.vue.d.ts +85 -0
  317. package/components/tooltip/v4/TooltipV4.vue.js +67 -0
  318. package/components/tooltip/v4/TooltipV4.vue2.js +0 -0
  319. package/components/tooltip/v4/TooltipV4.vue3.js +4 -0
  320. package/components/tooltip/v4/index.d.ts +249 -0
  321. package/components/tooltip/v4/index.js +6 -0
  322. package/index.d.ts +6197 -412
  323. package/index.js +155 -165
  324. package/package.json +94 -33
  325. package/testids/index.d.ts +19 -3
  326. package/testids/index.js +21 -20
  327. package/utils/storybook-utils.d.ts +1 -0
  328. package/utils/string.d.ts +2 -0
  329. package/utils/string.js +5 -0
  330. package/AppTrigger.vue_vue_type_style_index_0_scoped_512ac1ab_lang.css +0 -1
  331. package/ButtonV4.vue_vue_type_style_index_0_scoped_43578f8c_lang.css +0 -1
  332. package/Checkbox.vue_vue_type_style_index_0_scoped_518c02d0_lang.css +0 -1
  333. package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_4cbcfcce_lang.css +0 -1
  334. package/Dialog.vue_vue_type_style_index_0_scoped_40b833a0_lang.css +0 -1
  335. package/Dropdown.vue_vue_type_style_index_0_scoped_0114904e_lang.css +0 -1
  336. package/DropdownV4.vue_vue_type_style_index_0_scoped_34bd23a1_lang.css +0 -1
  337. package/Editable.vue_vue_type_style_index_0_scoped_3b865286_lang.css +0 -1
  338. package/EmptyState.vue_vue_type_style_index_0_scoped_f082a371_lang.css +0 -1
  339. package/EmptyStateIcon.vue_vue_type_style_index_0_scoped_f4915249_lang.css +0 -1
  340. package/FieldHelpText.vue_vue_type_style_index_0_scoped_d5507827_lang.css +0 -1
  341. package/FieldLabel.vue_vue_type_style_index_0_scoped_90f19704_lang.css +0 -1
  342. package/FilterDropdown.vue_vue_type_style_index_0_scoped_b25c5605_lang.css +0 -1
  343. package/FilterSearchInput.vue_vue_type_style_index_0_scoped_9198bf4e_lang.css +0 -1
  344. package/FiltersPanel.vue_vue_type_style_index_0_scoped_2996b384_lang.css +0 -1
  345. package/IconV4.vue_vue_type_style_index_0_scoped_f23078a4_lang.css +0 -1
  346. package/IncludeExclude.vue_vue_type_style_index_0_scoped_802d4031_lang.css +0 -1
  347. package/IncludeExcludeAppTrigger.vue_vue_type_style_index_0_scoped_1621ad67_lang.css +0 -1
  348. package/IncludeExcludeDragDrop.vue_vue_type_style_index_0_scoped_daccb4bb_lang.css +0 -1
  349. package/IncludeExcludeOption.vue_vue_type_style_index_0_scoped_18847008_lang.css +0 -1
  350. package/IncludeExcludeOptionDraggable.vue_vue_type_style_index_0_scoped_df79f184_lang.css +0 -1
  351. package/Input.vue_vue_type_style_index_0_scoped_79f436f9_lang.css +0 -1
  352. package/Label.vue_vue_type_style_index_0_scoped_5faaafce_lang.css +0 -1
  353. package/Option.vue_vue_type_style_index_0_scoped_2432f13f_lang.css +0 -1
  354. package/OptionV4.vue_vue_type_style_index_0_scoped_b879fe79_lang.css +0 -1
  355. package/RadioButton.vue_vue_type_style_index_0_scoped_f5d3359c_lang.css +0 -1
  356. package/RadioGroup.vue_vue_type_style_index_0_scoped_50bc6963_lang.css +0 -1
  357. package/ScrollButton.vue_vue_type_style_index_0_scoped_90bacbbc_lang.css +0 -1
  358. package/SearchInput.vue_vue_type_style_index_0_scoped_0b1ea2f6_lang.css +0 -1
  359. package/SearchV4.vue_vue_type_style_index_0_scoped_63f11472_lang.css +0 -1
  360. package/Snackbar.vue_vue_type_style_index_0_scoped_d14230ca_lang.css +0 -1
  361. package/SortOrderIcon.vue_vue_type_style_index_0_scoped_eaa4d6ee_lang.css +0 -1
  362. package/Table.vue_vue_type_style_index_0_scoped_096d493a_lang.css +0 -1
  363. package/TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css +0 -1
  364. package/Tabs.vue_vue_type_style_index_0_scoped_e92a7c21_lang.css +0 -1
  365. package/TextField.vue_vue_type_style_index_0_scoped_7aa32734_lang.css +0 -1
  366. package/TextWithTitleContent.vue_vue_type_style_index_0_scoped_7da6e1ca_lang.css +0 -1
  367. package/Toggle.vue_vue_type_style_index_0_scoped_d97166d1_lang.css +0 -1
  368. package/components/checkbox/Checkbox.vue.js +0 -7
  369. package/components/checkbox/Checkbox.vue2.js +0 -97
  370. package/components/dialog/Dialog.vue.js +0 -7
  371. package/components/dialog/Dialog.vue2.js +0 -178
  372. package/components/dropdown/common/Label.vue.js +0 -7
  373. package/components/dropdown/common/Option.vue.js +0 -7
  374. package/components/emptyState/EmptyState.vue.d.ts +0 -93
  375. package/components/emptyState/EmptyState.vue.js +0 -7
  376. package/components/emptyState/index.d.ts +0 -288
  377. package/components/filtersPanel/FilterSearchInput.vue.js +0 -7
  378. package/components/filtersPanel/FiltersPanel.vue.js +0 -7
  379. package/components/radioButton/RadioButton.vue.js +0 -7
  380. package/components/radioButton/RadioButton.vue2.js +0 -82
  381. package/components/radioButton/RadioGroup.vue.js +0 -7
  382. package/components/radioButton/RadioGroup.vue2.js +0 -44
  383. package/components/snackbar/Snackbar.vue.js +0 -7
  384. package/components/snackbar/Snackbar.vue2.js +0 -150
  385. package/components/snackbar/index.d.ts +0 -3
  386. package/components/snackbar/index.js +0 -6
  387. package/components/snackbar/notify.js +0 -84
  388. package/components/table/SortOrderIcon.vue.js +0 -21
  389. package/components/table/Table.vue.js +0 -7
  390. package/components/table/Table.vue2.js +0 -298
  391. package/components/table/TableHeaderSorter.vue.js +0 -7
  392. package/components/table/index.js +0 -8
  393. package/components/table-cells/Editable.vue.js +0 -7
  394. package/components/table-cells/Editable.vue2.js +0 -66
  395. package/components/tabs/Tabs.vue.js +0 -7
  396. package/components/tabs/Tabs.vue2.js +0 -96
  397. package/components/toggle/Toggle.vue.js +0 -7
  398. package/components/tooltip/TextWithTitleContent.vue.js +0 -7
  399. package/components/tooltip/Tooltip.vue.js +0 -84
  400. package/components/tooltip/Tooltip.vue2.js +0 -5
  401. /package/components/checkbox/{Checkbox.vue.d.ts → v3/Checkbox.vue.d.ts} +0 -0
  402. /package/components/checkbox/{icons → v3/icons}/checked.vue.d.ts +0 -0
  403. /package/components/checkbox/{icons → v3/icons}/indeterminate.vue.d.ts +0 -0
  404. /package/components/checkbox/{icons → v3/icons}/unchecked.vue.d.ts +0 -0
  405. /package/components/checkbox/{index.d.ts → v3/index.d.ts} +0 -0
  406. /package/components/checkbox/{index.js → v3/index.js} +0 -0
  407. /package/components/{emptyState/EmptyStateIcon.vue.d.ts → checkbox/v4/icons/CheckedDisabledState.vue.d.ts} +0 -0
  408. /package/components/{filtersPanel/FilterSearchInput.vue.d.ts → checkbox/v4/icons/CheckedState.vue.d.ts} +0 -0
  409. /package/components/{table/SortOrderIcon.vue.d.ts → checkbox/v4/icons/IndeterminateDisabledState.vue.d.ts} +0 -0
  410. /package/components/dialog/{Reason.d.ts → common/Reason.d.ts} +0 -0
  411. /package/components/dialog/{Reason.js → common/Reason.js} +0 -0
  412. /package/components/dropdown/{common → v3}/Label.vue.d.ts +0 -0
  413. /package/components/dropdown/{common → v3}/Option.vue.d.ts +0 -0
  414. /package/components/dropdown/{common → v3}/SearchInput.vue.d.ts +0 -0
  415. /package/components/emptyState/{EmptyStateIcon.vue2.js → v3/EmptyStateIcon.vue2.js} +0 -0
  416. /package/components/emptyState/{index.js → v3/index.js} +0 -0
  417. /package/components/filtersPanel/{Filter.d.ts → v3/Filter.d.ts} +0 -0
  418. /package/components/filtersPanel/{index.d.ts → v3/index.d.ts} +0 -0
  419. /package/components/filtersPanel/{index.js → v3/index.js} +0 -0
  420. /package/components/filtersPanel/{useHiddenFilter.d.ts → v3/useHiddenFilter.d.ts} +0 -0
  421. /package/components/filtersPanel/{useHiddenFilter.js → v3/useHiddenFilter.js} +0 -0
  422. /package/components/radioButton/{useRadio.d.ts → common/useRadio.d.ts} +0 -0
  423. /package/components/radioButton/{useRadio.js → common/useRadio.js} +0 -0
  424. /package/components/radioButton/{RadioButton.vue.d.ts → v3/RadioButton.vue.d.ts} +0 -0
  425. /package/components/radioButton/{RadioGroup.vue.d.ts → v3/RadioGroup.vue.d.ts} +0 -0
  426. /package/components/radioButton/{index.d.ts → v3/index.d.ts} +0 -0
  427. /package/components/radioButton/{index.js → v3/index.js} +0 -0
  428. /package/components/snackbar/{notify.d.ts → common/notify_old.d.ts} +0 -0
  429. /package/components/snackbar/{snackbar.types.d.ts → common/snackbar.types.d.ts} +0 -0
  430. /package/components/snackbar/{snackbar.types.js → common/snackbar.types.js} +0 -0
  431. /package/components/snackbar/{Snackbar.vue.d.ts → v3/Snackbar.vue.d.ts} +0 -0
  432. /package/components/table/{TableContext.d.ts → common/TableContext.d.ts} +0 -0
  433. /package/components/table/{TableContext.js → common/TableContext.js} +0 -0
  434. /package/components/table/{SortOrderIcon.vue2.js → v3/SortOrderIcon.vue2.js} +0 -0
  435. /package/components/table/{TableHeaderSorter.vue.d.ts → v3/TableHeaderSorter.vue.d.ts} +0 -0
  436. /package/components/table/{codeTemplate.d.ts → v3/codeTemplate.d.ts} +0 -0
  437. /package/components/table-cells/{EditableContext.d.ts → common/EditableContext.d.ts} +0 -0
  438. /package/components/table-cells/{EditableContext.js → common/EditableContext.js} +0 -0
  439. /package/components/table-cells/{Editable.vue.d.ts → v3/Editable.vue.d.ts} +0 -0
  440. /package/components/tabs/{index.js → v3/index.js} +0 -0
  441. /package/components/toggle/{Toggle.vue.d.ts → v3/Toggle.vue.d.ts} +0 -0
  442. /package/components/toggle/{index.d.ts → v3/index.d.ts} +0 -0
  443. /package/components/toggle/{index.js → v3/index.js} +0 -0
  444. /package/components/tooltip/{Tooltip.types.d.ts → common/Tooltip.types.d.ts} +0 -0
  445. /package/components/tooltip/{TextWithTitleContent.vue.d.ts → v3/TextWithTitleContent.vue.d.ts} +0 -0
  446. /package/components/tooltip/{Tooltip.vue.d.ts → v3/Tooltip.vue.d.ts} +0 -0
  447. /package/components/tooltip/{index.d.ts → v3/index.d.ts} +0 -0
@@ -1,5 +1,4 @@
1
- import type { Column, Section, Sort } from './Table.types';
2
- type Row = unknown[];
1
+ import type { Column, Row, Section, Sort } from '../common/Table.types';
3
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
3
  title: string;
5
4
  columns: Column[];
@@ -85,8 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
85
84
  }, {
86
85
  testId: string;
87
86
  isLoading: boolean;
88
- sections: Section[];
89
87
  isSticky: boolean;
88
+ sections: Section[];
90
89
  isStickyHeader: boolean;
91
90
  emptyStateTitle: string;
92
91
  emptyStateSubtitle: string;
@@ -0,0 +1,7 @@
1
+ import o from "./Table.vue2.js";
2
+ /* empty css *//* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css"; //*');
4
+ const r = /* @__PURE__ */ e(o, [["__scopeId", "data-v-6b769df2"]]);
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,248 @@
1
+ import "../../../Table.vue_vue_type_style_index_0_scoped_6b769df2_lang.css"; import { defineComponent as F, useCssVars as Y, unref as t, openBlock as s, createElementBlock as a, createElementVNode as o, normalizeStyle as y, normalizeClass as n, renderSlot as r, createVNode as c, withCtx as m, createTextVNode as g, toDisplayString as k, createCommentVNode as R, Fragment as $, renderList as v, createBlock as x, mergeProps as G, withDirectives as W, vShow as j } from "vue";
2
+ import "../../typography/Heading.vue.js";
3
+ import T from "../../typography/Text.vue.js";
4
+ import "../../button/v3/Button.vue.js";
5
+ import "../../button/v3/IconButton.vue.js";
6
+ import q from "../../button/v3/ScrollButton.vue.js";
7
+ import J from "../../skeleton/Skeleton.vue.js";
8
+ import K from "../../emptyState/v3/EmptyState.vue.js";
9
+ import Q from "./TableHeaderSorter.vue.js";
10
+ import { TableTestIdModifiers as u } from "../../../testids/index.js";
11
+ import { tableCommon as U } from "../common/Table.common.js";
12
+ const X = ["data-testid"], Z = ["data-testid"], p = ["data-testid"], _ = ["data-testid"], tt = ["data-testid"], et = ["data-testid"], it = ["data-testid"], st = ["onClick"], at = { class: "table-head-container" }, lt = ["data-testid"], ot = ["onMouseenter"], dt = { key: 1 }, nt = { key: 1 }, vt = /* @__PURE__ */ F({
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
+ isStickyHeader: { type: Boolean, default: !1 },
22
+ isLoading: { type: Boolean, default: !1 },
23
+ emptyStateTitle: { default: "No results found" },
24
+ emptyStateSubtitle: { default: "Try again with different filters" },
25
+ isInfiniteScroll: { type: Boolean, default: !1 },
26
+ infiniteScrollThreshold: { default: 100 },
27
+ rowHeight: { type: [Number, Function], default: 48 },
28
+ loadingRowCount: { default: 3 },
29
+ defaultScrollPosition: { default: null },
30
+ testId: { default: "" }
31
+ },
32
+ emits: ["update:sort", "onScroll", "saveRow", "loadMore"],
33
+ setup(i, { emit: A }) {
34
+ const H = i;
35
+ Y((l) => ({
36
+ "1ef755a4": t(N)
37
+ }));
38
+ const {
39
+ list: b,
40
+ containerProps: I,
41
+ wrapperProps: L,
42
+ activeRow: S,
43
+ gridColumnTemplate: N,
44
+ floatingActionRef: P,
45
+ scrollToTop: w,
46
+ toggleSortOrder: z,
47
+ columnsStickyPositions: B,
48
+ hasSearchSlot: M,
49
+ showBackToTopButton: O,
50
+ containerStyle: D,
51
+ onScroll: E,
52
+ savingRows: C,
53
+ floatingActionPosition: V
54
+ } = U(H, A);
55
+ return (l, h) => (s(), a("div", {
56
+ class: "table-container",
57
+ "data-testid": `${i.testId}-${t(u).CONTAINER}`,
58
+ onMouseleave: h[1] || (h[1] = (e) => S.value = null)
59
+ }, [
60
+ o("table", {
61
+ ref: t(I).ref,
62
+ style: y(t(D)),
63
+ "data-testid": `${i.testId}-${t(u).TABLE}`,
64
+ onScrollPassive: h[0] || (h[0] = //@ts-ignore
65
+ (...e) => t(E) && t(E)(...e))
66
+ }, [
67
+ i.title || l.$slots.search ? (s(), a("div", {
68
+ key: 0,
69
+ class: n(["table-header", { isStickyHeader: i.isStickyHeader }]),
70
+ "data-testid": `${i.testId}-${t(u).HEADER}`
71
+ }, [
72
+ o("div", {
73
+ class: n(["table-title", t(M) ? "border-search" : ""]),
74
+ "data-testid": `${i.testId}-${t(u).TITLE}`
75
+ }, [
76
+ r(l.$slots, "title", {}, () => [
77
+ c(t(T), {
78
+ size: "md",
79
+ strong: ""
80
+ }, {
81
+ default: m(() => [
82
+ g(k(i.title), 1)
83
+ ]),
84
+ _: 1
85
+ })
86
+ ], !0)
87
+ ], 10, _),
88
+ o("div", {
89
+ class: "table-header-right",
90
+ "data-testid": `${i.testId}-${t(u).HEADER_RIGHT}`
91
+ }, [
92
+ r(l.$slots, "search", {}, void 0, !0)
93
+ ], 8, tt),
94
+ o("div", {
95
+ class: "table-header-actions",
96
+ "data-testid": `${i.testId}-${t(u).ACTIONS}`
97
+ }, [
98
+ r(l.$slots, "table-header-actions", {}, void 0, !0)
99
+ ], 8, et)
100
+ ], 10, p)) : R("", !0),
101
+ o("thead", {
102
+ class: n({ sticky: i.isSticky, isStickyHeader: i.isStickyHeader })
103
+ }, [
104
+ o("div", {
105
+ class: "sections",
106
+ "data-testid": `${i.testId}-${t(u).SECTIONS}`
107
+ }, [
108
+ (s(!0), a($, null, v(i.sections, (e) => (s(), a("div", {
109
+ key: e.id,
110
+ class: n(["section-container", { sticky: e.isSticky }])
111
+ }, [
112
+ r(l.$slots, `section-${e.id}`, {}, () => [
113
+ o("div", {
114
+ style: y({ width: e.width + "px" }),
115
+ class: n({ section: !0 })
116
+ }, [
117
+ c(t(T), { size: "xs" }, {
118
+ default: m(() => [
119
+ g(k(e.title), 1)
120
+ ]),
121
+ _: 2
122
+ }, 1024)
123
+ ], 4)
124
+ ], !0)
125
+ ], 2))), 128))
126
+ ], 8, it),
127
+ o("tr", null, [
128
+ (s(!0), a($, null, v(i.columns, (e) => (s(), a("th", {
129
+ key: e.id,
130
+ class: n({
131
+ sticky: e.isSticky,
132
+ bordered: e.isBordered,
133
+ isTextRight: e.isTextRight,
134
+ isSortable: e.isSortable
135
+ }),
136
+ style: y(e.isSticky ? t(B)[e.id] : null),
137
+ onClick: (f) => t(z)(e)
138
+ }, [
139
+ o("div", at, [
140
+ r(l.$slots, `header-${e.id}`, { column: e }, () => [
141
+ c(t(T), {
142
+ size: "sm",
143
+ strong: "",
144
+ "is-truncated": !1
145
+ }, {
146
+ default: m(() => [
147
+ g(k(e.title), 1)
148
+ ]),
149
+ _: 2
150
+ }, 1024)
151
+ ], !0),
152
+ e.id === i.sort.sortBy ? (s(), x(Q, {
153
+ key: 0,
154
+ class: "table-head-sorter",
155
+ "sort-order": i.sort.sortOrder
156
+ }, null, 8, ["sort-order"])) : R("", !0)
157
+ ])
158
+ ], 14, st))), 128))
159
+ ])
160
+ ], 2),
161
+ o("tbody", null, [
162
+ t(b).length > 0 ? (s(), a("div", G({
163
+ key: 0,
164
+ class: "table-body-wrapper",
165
+ "data-testid": `${i.testId}-${t(u).BODY_WRAPPER}`
166
+ }, t(L)), [
167
+ (s(!0), a($, null, v(t(b), (e) => (s(), a("tr", {
168
+ key: e.index,
169
+ class: n(["table-row", {
170
+ loading: i.isLoading || i.isLoading && !e.data || t(C).includes(e.index),
171
+ active: t(S) === e.index
172
+ }]),
173
+ onMouseenter: (f) => S.value = e.index
174
+ }, [
175
+ W(o("div", {
176
+ ref_for: !0,
177
+ ref_key: "floatingActionRef",
178
+ ref: P,
179
+ style: y({ left: t(V) + "px" }),
180
+ class: "floating-actions"
181
+ }, [
182
+ r(l.$slots, "floating-actions", { row: e }, void 0, !0)
183
+ ], 4), [
184
+ [
185
+ j,
186
+ l.$slots["floating-actions"] && t(S) === e.index && !i.isLoading
187
+ ]
188
+ ]),
189
+ (s(!0), a($, null, v(e.data, (f, d) => (s(), a("td", {
190
+ key: d,
191
+ class: n({
192
+ sticky: i.columns[d].isSticky,
193
+ bordered: i.columns[d].isBordered,
194
+ isTextRight: i.columns[d].isTextRight
195
+ }),
196
+ style: y(
197
+ i.columns[d].isSticky ? t(B)[i.columns[d].id] : null
198
+ )
199
+ }, [
200
+ !i.isLoading || i.isLoading && f ? (s(), a("div", {
201
+ key: 0,
202
+ class: n({
203
+ last: d === e.data.length - 1,
204
+ "table-cell": !0,
205
+ floating: l.$slots["floating-actions"]
206
+ })
207
+ }, [
208
+ r(l.$slots, `cell-${i.columns[d].id}`, {
209
+ cell: f,
210
+ isLoading: t(C).includes(e.index),
211
+ cellIndex: d,
212
+ row: e,
213
+ rowIndex: e.index
214
+ }, () => [
215
+ c(t(T), { size: "sm" }, {
216
+ default: m(() => [
217
+ g(k(f), 1)
218
+ ]),
219
+ _: 2
220
+ }, 1024)
221
+ ], !0)
222
+ ], 2)) : r(l.$slots, "loader", { key: 1 }, () => [
223
+ c(t(J), { round: "" })
224
+ ], !0)
225
+ ], 6))), 128))
226
+ ], 42, ot))), 128))
227
+ ], 16, lt)) : (s(), a("div", dt, [
228
+ r(l.$slots, "empty-state", {}, () => [
229
+ c(t(K), {
230
+ title: i.emptyStateTitle,
231
+ subtitle: i.emptyStateSubtitle,
232
+ "test-id": `${i.testId}-${t(u).EMPTY_STATE}`
233
+ }, null, 8, ["title", "subtitle", "test-id"])
234
+ ], !0)
235
+ ]))
236
+ ]),
237
+ t(b).length > 0 ? (s(), a("tfoot", nt)) : R("", !0)
238
+ ], 44, Z),
239
+ c(t(q), {
240
+ show: t(O),
241
+ onScrolled: t(w)
242
+ }, null, 8, ["show", "onScrolled"])
243
+ ], 40, X));
244
+ }
245
+ });
246
+ export {
247
+ vt as default
248
+ };
@@ -0,0 +1,7 @@
1
+ import e from "./TableHeaderSorter.vue2.js";
2
+ /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css"; //*');
4
+ const t = /* @__PURE__ */ o(e, [["__scopeId", "data-v-745a44a2"]]);
5
+ export {
6
+ t as default
7
+ };
@@ -1,4 +1,4 @@
1
- import "../../TableHeaderSorter.vue_vue_type_style_index_0_scoped_350aa9f0_lang.css"; import { defineComponent as o, openBlock as a, createElementBlock as l, createVNode as r, normalizeClass as t } from "vue";
1
+ import "../../../TableHeaderSorter.vue_vue_type_style_index_0_scoped_745a44a2_lang.css"; import { defineComponent as o, openBlock as a, createElementBlock as l, createVNode as r, normalizeClass as t } from "vue";
2
2
  import s from "./SortOrderIcon.vue.js";
3
3
  const c = { class: "table-head-sorter-container" }, u = /* @__PURE__ */ o({
4
4
  __name: "TableHeaderSorter",
@@ -1,12 +1,12 @@
1
- declare const TableTypes: () => (import("vue").InjectionKey<import("./TableContext").TableContextProps> | ({
1
+ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/TableContext").TableContextProps> | ({
2
2
  new (...args: any[]): {
3
3
  $: import("vue").ComponentInternalInstance;
4
4
  $data: {};
5
5
  $props: Partial<{
6
6
  testId: string;
7
7
  isLoading: boolean;
8
- sections: import("./Table.types").Section[];
9
8
  isSticky: boolean;
9
+ sections: import("../common/Table.types").Section[];
10
10
  isStickyHeader: boolean;
11
11
  emptyStateTitle: string;
12
12
  emptyStateSubtitle: string;
@@ -17,7 +17,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
17
17
  defaultScrollPosition: number;
18
18
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
19
  sort: {
20
- type: import("vue").PropType<import("./Table.types").Sort>;
20
+ type: import("vue").PropType<import("../common/Table.types").Sort>;
21
21
  required: true;
22
22
  };
23
23
  title: {
@@ -33,21 +33,21 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
33
33
  default: boolean;
34
34
  };
35
35
  columns: {
36
- type: import("vue").PropType<import("./Table.types").Column[]>;
36
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
37
37
  required: true;
38
38
  };
39
+ isSticky: {
40
+ type: import("vue").PropType<boolean>;
41
+ default: boolean;
42
+ };
39
43
  rows: {
40
- type: import("vue").PropType<unknown[][]>;
44
+ type: import("vue").PropType<import("../common/Table.types").Row[]>;
41
45
  required: true;
42
46
  };
43
47
  sections: {
44
- type: import("vue").PropType<import("./Table.types").Section[]>;
48
+ type: import("vue").PropType<import("../common/Table.types").Section[]>;
45
49
  default: any;
46
50
  };
47
- isSticky: {
48
- type: import("vue").PropType<boolean>;
49
- default: boolean;
50
- };
51
51
  isStickyHeader: {
52
52
  type: import("vue").PropType<boolean>;
53
53
  default: boolean;
@@ -82,7 +82,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
82
82
  };
83
83
  }>> & {
84
84
  onOnScroll?: (event: Event) => any;
85
- "onUpdate:sort"?: (newSort: import("./Table.types").Sort) => any;
85
+ "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
86
86
  onSaveRow?: (args_0: {
87
87
  value: unknown;
88
88
  confirm: () => void;
@@ -90,7 +90,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
90
90
  cellIndex: number;
91
91
  }) => any;
92
92
  onLoadMore?: () => any;
93
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "sections" | "isSticky" | "isStickyHeader" | "emptyStateTitle" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "loadingRowCount" | "defaultScrollPosition">;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateTitle" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "loadingRowCount" | "defaultScrollPosition">;
94
94
  $attrs: {
95
95
  [x: string]: unknown;
96
96
  };
@@ -102,7 +102,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
102
102
  }>;
103
103
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
104
104
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
105
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "update:sort", newSort: import("./Table.types").Sort) => void) & ((event: "saveRow", args_0: {
105
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: {
106
106
  value: unknown;
107
107
  confirm: () => void;
108
108
  rowIndex: number;
@@ -111,7 +111,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
111
111
  $el: any;
112
112
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
113
113
  sort: {
114
- type: import("vue").PropType<import("./Table.types").Sort>;
114
+ type: import("vue").PropType<import("../common/Table.types").Sort>;
115
115
  required: true;
116
116
  };
117
117
  title: {
@@ -127,21 +127,21 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
127
127
  default: boolean;
128
128
  };
129
129
  columns: {
130
- type: import("vue").PropType<import("./Table.types").Column[]>;
130
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
131
131
  required: true;
132
132
  };
133
+ isSticky: {
134
+ type: import("vue").PropType<boolean>;
135
+ default: boolean;
136
+ };
133
137
  rows: {
134
- type: import("vue").PropType<unknown[][]>;
138
+ type: import("vue").PropType<import("../common/Table.types").Row[]>;
135
139
  required: true;
136
140
  };
137
141
  sections: {
138
- type: import("vue").PropType<import("./Table.types").Section[]>;
142
+ type: import("vue").PropType<import("../common/Table.types").Section[]>;
139
143
  default: any;
140
144
  };
141
- isSticky: {
142
- type: import("vue").PropType<boolean>;
143
- default: boolean;
144
- };
145
145
  isStickyHeader: {
146
146
  type: import("vue").PropType<boolean>;
147
147
  default: boolean;
@@ -176,7 +176,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
176
176
  };
177
177
  }>> & {
178
178
  onOnScroll?: (event: Event) => any;
179
- "onUpdate:sort"?: (newSort: import("./Table.types").Sort) => any;
179
+ "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
180
180
  onSaveRow?: (args_0: {
181
181
  value: unknown;
182
182
  confirm: () => void;
@@ -185,7 +185,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
185
185
  }) => any;
186
186
  onLoadMore?: () => any;
187
187
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
188
- "update:sort": (newSort: import("./Table.types").Sort) => void;
188
+ "update:sort": (newSort: import("../common/Table.types").Sort) => void;
189
189
  onScroll: (event: Event) => void;
190
190
  saveRow: (args_0: {
191
191
  value: unknown;
@@ -197,8 +197,8 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
197
197
  }, string, {
198
198
  testId: string;
199
199
  isLoading: boolean;
200
- sections: import("./Table.types").Section[];
201
200
  isSticky: boolean;
201
+ sections: import("../common/Table.types").Section[];
202
202
  isStickyHeader: boolean;
203
203
  emptyStateTitle: string;
204
204
  emptyStateSubtitle: string;
@@ -229,7 +229,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
229
229
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean>): import("vue").WatchStopHandle;
230
230
  } & Readonly<import("vue").ExtractPropTypes<{
231
231
  sort: {
232
- type: import("vue").PropType<import("./Table.types").Sort>;
232
+ type: import("vue").PropType<import("../common/Table.types").Sort>;
233
233
  required: true;
234
234
  };
235
235
  title: {
@@ -245,21 +245,21 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
245
245
  default: boolean;
246
246
  };
247
247
  columns: {
248
- type: import("vue").PropType<import("./Table.types").Column[]>;
248
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
249
249
  required: true;
250
250
  };
251
+ isSticky: {
252
+ type: import("vue").PropType<boolean>;
253
+ default: boolean;
254
+ };
251
255
  rows: {
252
- type: import("vue").PropType<unknown[][]>;
256
+ type: import("vue").PropType<import("../common/Table.types").Row[]>;
253
257
  required: true;
254
258
  };
255
259
  sections: {
256
- type: import("vue").PropType<import("./Table.types").Section[]>;
260
+ type: import("vue").PropType<import("../common/Table.types").Section[]>;
257
261
  default: any;
258
262
  };
259
- isSticky: {
260
- type: import("vue").PropType<boolean>;
261
- default: boolean;
262
- };
263
263
  isStickyHeader: {
264
264
  type: import("vue").PropType<boolean>;
265
265
  default: boolean;
@@ -294,7 +294,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
294
294
  };
295
295
  }>> & {
296
296
  onOnScroll?: (event: Event) => any;
297
- "onUpdate:sort"?: (newSort: import("./Table.types").Sort) => any;
297
+ "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
298
298
  onSaveRow?: (args_0: {
299
299
  value: unknown;
300
300
  confirm: () => void;
@@ -308,7 +308,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
308
308
  __isSuspense?: never;
309
309
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
310
310
  sort: {
311
- type: import("vue").PropType<import("./Table.types").Sort>;
311
+ type: import("vue").PropType<import("../common/Table.types").Sort>;
312
312
  required: true;
313
313
  };
314
314
  title: {
@@ -324,21 +324,21 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
324
324
  default: boolean;
325
325
  };
326
326
  columns: {
327
- type: import("vue").PropType<import("./Table.types").Column[]>;
327
+ type: import("vue").PropType<import("../common/Table.types").Column[]>;
328
328
  required: true;
329
329
  };
330
+ isSticky: {
331
+ type: import("vue").PropType<boolean>;
332
+ default: boolean;
333
+ };
330
334
  rows: {
331
- type: import("vue").PropType<unknown[][]>;
335
+ type: import("vue").PropType<import("../common/Table.types").Row[]>;
332
336
  required: true;
333
337
  };
334
338
  sections: {
335
- type: import("vue").PropType<import("./Table.types").Section[]>;
339
+ type: import("vue").PropType<import("../common/Table.types").Section[]>;
336
340
  default: any;
337
341
  };
338
- isSticky: {
339
- type: import("vue").PropType<boolean>;
340
- default: boolean;
341
- };
342
342
  isStickyHeader: {
343
343
  type: import("vue").PropType<boolean>;
344
344
  default: boolean;
@@ -373,7 +373,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
373
373
  };
374
374
  }>> & {
375
375
  onOnScroll?: (event: Event) => any;
376
- "onUpdate:sort"?: (newSort: import("./Table.types").Sort) => any;
376
+ "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
377
377
  onSaveRow?: (args_0: {
378
378
  value: unknown;
379
379
  confirm: () => void;
@@ -382,7 +382,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
382
382
  }) => any;
383
383
  onLoadMore?: () => any;
384
384
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
385
- "update:sort": (newSort: import("./Table.types").Sort) => void;
385
+ "update:sort": (newSort: import("../common/Table.types").Sort) => void;
386
386
  onScroll: (event: Event) => void;
387
387
  saveRow: (args_0: {
388
388
  value: unknown;
@@ -394,8 +394,8 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
394
394
  }, string, {
395
395
  testId: string;
396
396
  isLoading: boolean;
397
- sections: import("./Table.types").Section[];
398
397
  isSticky: boolean;
398
+ sections: import("../common/Table.types").Section[];
399
399
  isStickyHeader: boolean;
400
400
  emptyStateTitle: string;
401
401
  emptyStateSubtitle: string;
@@ -406,25 +406,25 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("./TableConte
406
406
  defaultScrollPosition: number;
407
407
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
408
408
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
409
- column: import("./Table.types").Column;
409
+ column: import("../common/Table.types").Column;
410
410
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
411
411
  cell: unknown;
412
412
  isLoading: boolean;
413
413
  cellIndex: number;
414
- row: import("@vueuse/core").UseVirtualListItem<unknown[]>;
414
+ row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
415
415
  rowIndex: number;
416
416
  }) => any>> & {
417
417
  title?(_: {}): any;
418
418
  search?(_: {}): any;
419
419
  "table-header-actions"?(_: {}): any;
420
420
  "floating-actions"?(_: {
421
- row: import("@vueuse/core").UseVirtualListItem<unknown[]>;
421
+ row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
422
422
  }): any;
423
423
  loader?(_: {}): any;
424
424
  "empty-state"?(_: {}): any;
425
425
  };
426
426
  })))[];
427
427
  export { default as Table } from './Table.vue';
428
- export { TableContext } from './TableContext';
429
- export type { Column, Sort } from './Table.types';
428
+ export { TableContext, useTableContext } from '../common/TableContext';
429
+ export type { Column, Sort } from '../common/Table.types';
430
430
  export { TableTypes };
@@ -0,0 +1,10 @@
1
+ import e from "./Table.vue.js";
2
+ import { TableContext as o } from "../common/TableContext.js";
3
+ import { useTableContext as a } from "../common/TableContext.js";
4
+ const m = () => [e, o];
5
+ export {
6
+ e as Table,
7
+ o as TableContext,
8
+ m as TableTypes,
9
+ a as useTableContext
10
+ };