@ironsource/shared-ui 2.1.12-test.98 → 2.1.12

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 (248) hide show
  1. package/Chart.vue_vue_type_style_index_0_scoped_060d02be_lang.css +1 -0
  2. package/ChartHeader.vue_vue_type_style_index_0_scoped_d90c583e_lang.css +1 -0
  3. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_ca558859_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_9c4df598_lang.css +1 -0
  5. package/ChartPlane.vue_vue_type_style_index_0_scoped_a685cf5e_lang.css +1 -0
  6. package/ChartTooltip.vue_vue_type_style_index_0_scoped_9623dbbd_lang.css +1 -0
  7. package/ColumnConfigurator.vue_vue_type_style_index_0_scoped_702ad52e_lang.css +1 -0
  8. package/ColumnPicker.vue_vue_type_style_index_0_scoped_ea8c7024_lang.css +1 -0
  9. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_8cc86a27_lang.css +1 -0
  10. package/DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css +1 -0
  11. package/DataGridContainer.vue_vue_type_style_index_0_scoped_9a30b10c_lang.css +1 -0
  12. package/DataGridHeader.vue_vue_type_style_index_0_scoped_0e826456_lang.css +1 -0
  13. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_e38c881a_lang.css +1 -0
  14. package/DialogFooter.vue_vue_type_style_index_0_scoped_8b7f64fe_lang.css +1 -0
  15. package/DialogHeader.vue_vue_type_style_index_0_scoped_9a814ec3_lang.css +1 -0
  16. package/DialogV4.vue_vue_type_style_index_0_scoped_cc99f1e3_lang.css +1 -0
  17. package/DropdownV4.vue_vue_type_style_index_0_scoped_a594c97e_lang.css +1 -0
  18. package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
  19. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_76757f22_lang.css +1 -0
  20. package/Link.vue_vue_type_style_index_0_scoped_1a766750_lang.css +1 -0
  21. package/LoaderBars.vue_vue_type_style_index_0_scoped_d976ec65_lang.css +1 -0
  22. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_3caa1d7b_lang.css +1 -0
  23. package/OptionChip.vue_vue_type_style_index_0_scoped_538e4a21_lang.css +1 -0
  24. package/OptionV4.vue_vue_type_style_index_0_scoped_752a357d_lang.css +1 -0
  25. package/RadioButton.vue_vue_type_style_index_0_scoped_dac25b9f_lang.css +1 -0
  26. package/RemoveButton.vue_vue_type_style_index_0_scoped_ca7fc11d_lang.css +1 -0
  27. package/SectionDropdown.vue_vue_type_style_index_0_scoped_cfad60a8_lang.css +1 -0
  28. package/SectionHeaderText.vue_vue_type_style_index_0_scoped_0b8d3d79_lang.css +1 -0
  29. package/{SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css → SettingsHeader.vue_vue_type_style_index_0_scoped_a869d327_lang.css} +1 -1
  30. package/ShowMoreLink.vue_vue_type_style_index_0_scoped_9fc3bc1b_lang.css +1 -0
  31. package/SortableItem.vue_vue_type_style_index_0_scoped_c72be7ed_lang.css +1 -0
  32. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_a534c7af_lang.css +1 -0
  33. package/SortableList.vue_vue_type_style_index_0_scoped_9aec4e9b_lang.css +1 -0
  34. package/SortableSelectableList.vue_vue_type_style_index_0_scoped_40b0a4de_lang.css +1 -0
  35. package/TagsField.vue_vue_type_style_index_0_scoped_9760426b_lang.css +1 -0
  36. package/TagsFieldChip.vue_vue_type_style_index_0_scoped_d186b7ef_lang.css +1 -0
  37. package/TextField.vue_vue_type_style_index_0_scoped_3b7a3661_lang.css +1 -0
  38. package/TooltipHeader.vue_vue_type_style_index_0_scoped_da3532aa_lang.css +1 -0
  39. package/TooltipV4.vue_vue_type_style_index_0_scoped_8a451e54_lang.css +1 -0
  40. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  41. package/TreeDropdown.vue_vue_type_style_index_0_scoped_63dc057e_lang.css +1 -0
  42. package/components/chart/Chart.vue.d.ts +21 -1
  43. package/components/chart/Chart.vue.js +3 -3
  44. package/components/chart/Chart.vue2.js +130 -114
  45. package/components/chart/ChartHeader.vue.d.ts +5 -0
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +49 -44
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +5 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +2 -2
  50. package/components/chart/ChartHeaderTrend.vue2.js +43 -39
  51. package/components/chart/ChartLegend.vue.d.ts +5 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +76 -71
  54. package/components/chart/ChartPlane.vue.d.ts +15 -0
  55. package/components/chart/ChartPlane.vue.js +5 -5
  56. package/components/chart/ChartPlane.vue2.js +173 -156
  57. package/components/chart/ChartStoryArgs.d.ts +17 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +5 -0
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +39 -35
  61. package/components/chart/LegendSorting.vue.d.ts +5 -0
  62. package/components/chart/LegendSorting.vue.js +16 -14
  63. package/components/chart/SettingsHeader.vue.d.ts +19 -3
  64. package/components/chart/SettingsHeader.vue.js +3 -3
  65. package/components/chart/SettingsHeader.vue2.js +36 -29
  66. package/components/chart/TooltipHeader.vue.js +3 -3
  67. package/components/chart/TooltipHeader.vue2.js +26 -26
  68. package/components/chart/colorPalette.d.ts +2 -1
  69. package/components/chart/colorPalette.js +47 -33
  70. package/components/chart/composables/useColorsMap.d.ts +3 -1
  71. package/components/chart/composables/useColorsMap.js +32 -30
  72. package/components/chart/consts.d.ts +5 -1
  73. package/components/chart/consts.js +30 -26
  74. package/components/chart/index.d.ts +77 -1
  75. package/components/chart/mockData.d.ts +15 -0
  76. package/components/chart/types.d.ts +3 -1
  77. package/components/chart/types.js +5 -5
  78. package/components/chart/utils/utils.d.ts +1 -1
  79. package/components/chart/utils/utils.js +20 -14
  80. package/components/columnConfigurator/ColumnConfigurator.types.d.ts +12 -0
  81. package/components/columnConfigurator/ColumnConfigurator.vue.d.ts +61 -0
  82. package/components/columnConfigurator/ColumnConfigurator.vue.js +7 -0
  83. package/components/columnConfigurator/ColumnConfigurator.vue2.js +113 -0
  84. package/components/columnConfigurator/SectionDropdown.vue.d.ts +39 -0
  85. package/components/columnConfigurator/SectionDropdown.vue.js +7 -0
  86. package/components/columnConfigurator/SectionDropdown.vue2.js +57 -0
  87. package/components/columnConfigurator/SectionHeaderText.vue.d.ts +34 -0
  88. package/components/columnConfigurator/SectionHeaderText.vue.js +7 -0
  89. package/components/columnConfigurator/SectionHeaderText.vue2.js +22 -0
  90. package/components/columnConfigurator/ShowMoreLink.vue.d.ts +33 -0
  91. package/components/columnConfigurator/ShowMoreLink.vue.js +7 -0
  92. package/components/columnConfigurator/ShowMoreLink.vue2.js +41 -0
  93. package/components/columnConfigurator/consts.d.ts +1 -0
  94. package/components/columnConfigurator/consts.js +4 -0
  95. package/components/columnConfigurator/index.d.ts +73 -0
  96. package/components/columnConfigurator/index.js +6 -0
  97. package/components/columnConfigurator/mockData.d.ts +30 -0
  98. package/components/columnConfigurator/utils.d.ts +2 -0
  99. package/components/columnConfigurator/utils.js +18 -0
  100. package/components/columnPicker/ColumnPicker.vue.d.ts +119 -0
  101. package/components/columnPicker/ColumnPicker.vue.js +7 -0
  102. package/components/columnPicker/ColumnPicker.vue2.js +322 -0
  103. package/components/columnPicker/OptionChip.vue.d.ts +53 -0
  104. package/components/columnPicker/OptionChip.vue.js +7 -0
  105. package/components/columnPicker/OptionChip.vue2.js +46 -0
  106. package/components/columnPicker/RemoveButton.vue.d.ts +38 -0
  107. package/components/columnPicker/RemoveButton.vue.js +7 -0
  108. package/components/columnPicker/RemoveButton.vue2.js +35 -0
  109. package/components/columnPicker/index.d.ts +388 -0
  110. package/components/columnPicker/index.js +6 -0
  111. package/components/columnPicker/mockData.d.ts +8 -0
  112. package/components/dateRange/common/DateRange.common.js +60 -60
  113. package/components/dialog/v3/Dialog.vue.d.ts +3 -3
  114. package/components/dialog/v3/index.d.ts +46 -46
  115. package/components/dialog/v4/DialogFooter.vue.d.ts +78 -0
  116. package/components/dialog/v4/DialogFooter.vue.js +7 -0
  117. package/components/dialog/v4/DialogFooter.vue2.js +60 -0
  118. package/components/dialog/v4/DialogHeader.vue.d.ts +60 -0
  119. package/components/dialog/v4/DialogHeader.vue.js +7 -0
  120. package/components/dialog/v4/DialogHeader.vue2.js +58 -0
  121. package/components/dialog/v4/DialogV4.vue.d.ts +9 -9
  122. package/components/dialog/v4/DialogV4.vue.js +3 -3
  123. package/components/dialog/v4/DialogV4.vue2.js +65 -107
  124. package/components/dialog/v4/index.d.ts +157 -157
  125. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  126. package/components/dropdown/v3/index.d.ts +20 -20
  127. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  128. package/components/dropdown/v4/ConditionalDropdown.vue2.js +194 -187
  129. package/components/dropdown/v4/DropdownV4.vue.d.ts +7 -0
  130. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  131. package/components/dropdown/v4/DropdownV4.vue2.js +118 -107
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +5 -0
  133. package/components/dropdown/v4/OptionV4.vue.js +3 -3
  134. package/components/dropdown/v4/OptionV4.vue2.js +83 -70
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +10 -0
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +155 -151
  138. package/components/dropdown/v4/index.d.ts +81 -3
  139. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +5 -0
  140. package/components/emptyState/v4/EmptyStateV4.vue.js +2 -2
  141. package/components/emptyState/v4/EmptyStateV4.vue2.js +37 -34
  142. package/components/emptyState/v4/index.d.ts +20 -1
  143. package/components/includeExclude/IncludeExcludeChipFilter.vue.d.ts +1 -1
  144. package/components/includeExclude/IncludeExcludeOption.vue.d.ts +1 -1
  145. package/components/includeExclude/IncludeExcludeOptionDraggable.vue.d.ts +1 -1
  146. package/components/includeExclude/index.d.ts +70 -70
  147. package/components/input/v4/TextField.vue.d.ts +12 -0
  148. package/components/input/v4/TextField.vue.js +3 -3
  149. package/components/input/v4/TextField.vue2.js +129 -105
  150. package/components/input/v4/index.d.ts +46 -2
  151. package/components/link/Link.vue.d.ts +95 -0
  152. package/components/link/Link.vue.js +7 -0
  153. package/components/link/Link.vue2.js +65 -0
  154. package/components/link/index.d.ts +296 -0
  155. package/components/link/index.js +6 -0
  156. package/components/radioButton/v3/RadioButton.vue.d.ts +5 -0
  157. package/components/radioButton/v3/RadioButton.vue.js +3 -3
  158. package/components/radioButton/v3/RadioButton.vue2.js +42 -39
  159. package/components/radioButton/v3/index.d.ts +20 -1
  160. package/components/sortableList/LoaderBars.vue.d.ts +34 -0
  161. package/components/sortableList/LoaderBars.vue.js +7 -0
  162. package/components/sortableList/LoaderBars.vue2.js +25 -0
  163. package/components/sortableList/SortableItem.vue.d.ts +17 -2
  164. package/components/sortableList/SortableItem.vue.js +5 -5
  165. package/components/sortableList/SortableItem.vue2.js +86 -70
  166. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  167. package/components/sortableList/SortableItemLabel.vue2.js +26 -23
  168. package/components/sortableList/SortableList.types.d.ts +1 -0
  169. package/components/sortableList/SortableList.vue.d.ts +12 -2
  170. package/components/sortableList/SortableList.vue.js +5 -5
  171. package/components/sortableList/SortableList.vue2.js +111 -113
  172. package/components/sortableList/SortableSelectableList.vue.d.ts +107 -0
  173. package/components/sortableList/SortableSelectableList.vue.js +7 -0
  174. package/components/sortableList/SortableSelectableList.vue2.js +128 -0
  175. package/components/sortableList/composables/useDraggableHelpers.d.ts +5 -0
  176. package/components/sortableList/composables/useDraggableHelpers.js +20 -0
  177. package/components/sortableList/composables/useHoverEffect.js +1 -1
  178. package/components/sortableList/consts.d.ts +2 -0
  179. package/components/sortableList/consts.js +4 -2
  180. package/components/sortableList/index.d.ts +77 -39
  181. package/components/table/common/consts.d.ts +2 -0
  182. package/components/table/common/consts.js +6 -4
  183. package/components/table/v4/DataGrid.vue.d.ts +12 -7
  184. package/components/table/v4/DataGrid.vue.js +4 -4
  185. package/components/table/v4/DataGrid.vue2.js +273 -268
  186. package/components/table/v4/DataGridContainer.vue.d.ts +10 -0
  187. package/components/table/v4/DataGridContainer.vue.js +7 -0
  188. package/components/table/v4/DataGridContainer.vue2.js +19 -0
  189. package/components/table/v4/DataGridHeader.vue.d.ts +85 -0
  190. package/components/table/v4/DataGridHeader.vue.js +7 -0
  191. package/components/table/v4/DataGridHeader.vue2.js +84 -0
  192. package/components/table/v4/DataGridRowsCounter.vue.js +3 -3
  193. package/components/table/v4/DataGridRowsCounter.vue2.js +12 -12
  194. package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -7
  195. package/components/table/v4/MultipleDataGrid.vue.js +2 -2
  196. package/components/table/v4/MultipleDataGrid.vue2.js +92 -90
  197. package/components/table/v4/index.d.ts +646 -332
  198. package/components/table/v4/index.js +11 -5
  199. package/components/table/v4/storyUtils.d.ts +25 -0
  200. package/components/tagsField/TagsField.types.d.ts +4 -0
  201. package/components/tagsField/TagsField.vue.d.ts +65 -0
  202. package/components/tagsField/TagsField.vue.js +7 -0
  203. package/components/tagsField/TagsField.vue2.js +90 -0
  204. package/components/tagsField/TagsFieldChip.vue.d.ts +45 -0
  205. package/components/tagsField/TagsFieldChip.vue.js +7 -0
  206. package/components/tagsField/TagsFieldChip.vue2.js +81 -0
  207. package/components/tagsField/consts.d.ts +1 -0
  208. package/components/tagsField/consts.js +4 -0
  209. package/components/tagsField/index.d.ts +75 -0
  210. package/components/tagsField/index.js +6 -0
  211. package/components/tooltip/v4/TooltipV4.vue.d.ts +5 -0
  212. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  213. package/components/tooltip/v4/TooltipV4.vue2.js +18 -17
  214. package/components/tooltip/v4/index.d.ts +20 -1
  215. package/index.d.ts +2675 -1649
  216. package/index.js +137 -121
  217. package/package.json +18 -1
  218. package/testids/index.d.ts +47 -1
  219. package/testids/index.js +40 -32
  220. package/utils/date.d.ts +1 -0
  221. package/utils/date.js +9 -0
  222. package/utils/formatNumbers.d.ts +1 -1
  223. package/utils/formatNumbers.js +38 -21
  224. package/utils/object.d.ts +2 -0
  225. package/utils/object.js +9 -5
  226. package/utils/search.js +1 -1
  227. package/Chart.vue_vue_type_style_index_0_scoped_e8f25a03_lang.css +0 -1
  228. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +0 -1
  229. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +0 -1
  230. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +0 -1
  231. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +0 -1
  232. package/ChartTooltip.vue_vue_type_style_index_0_scoped_e53c6287_lang.css +0 -1
  233. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +0 -1
  234. package/DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css +0 -1
  235. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +0 -1
  236. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +0 -1
  237. package/DropdownV4.vue_vue_type_style_index_0_scoped_934163c0_lang.css +0 -1
  238. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +0 -1
  239. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +0 -1
  240. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +0 -1
  241. package/RadioButton.vue_vue_type_style_index_0_scoped_3c6b715c_lang.css +0 -1
  242. package/SortableItem.vue_vue_type_style_index_0_scoped_48542664_lang.css +0 -1
  243. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +0 -1
  244. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +0 -1
  245. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +0 -1
  246. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +0 -1
  247. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +0 -1
  248. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +0 -1
@@ -1,33 +1,38 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_b21a79b1_lang.css"; import { defineComponent as he, useCssVars as ye, unref as t, useSlots as fe, computed as g, openBlock as i, createElementBlock as d, createElementVNode as f, normalizeStyle as v, normalizeClass as u, renderSlot as c, createVNode as h, withCtx as $, createTextVNode as R, toDisplayString as P, createCommentVNode as n, isRef as Se, Fragment as T, renderList as x, mergeProps as L, createBlock as D } from "vue";
2
- import p from "../../typography/v4/Typography.vue.js";
3
- import ke from "../../skeleton/v4/SkeletonV4.vue.js";
4
- import ge from "../../emptyState/v4/EmptyStateV4.vue.js";
5
- import Y from "../../checkbox/v4/CheckboxV4.vue.js";
6
- import me from "../../tooltip/v4/TooltipV4.vue.js";
7
- import { TableTestIdModifiers as S } from "../../../testids/index.js";
8
- import { tableCommon as ve } from "../common/Table.common.js";
9
- import be from "./SortIcon.vue.js";
10
- import $e from "./HelpIcon.vue.js";
11
- import Ce from "./ExpandRowToggle.vue.js";
12
- import Re from "../../search/v4/SearchV4.vue.js";
13
- import { useVModel as Te } from "@vueuse/core";
14
- import { DEFAULT_ROW_HEIGHT as xe, CHECKBOX_COLUMN_ID as pe } from "../common/consts.js";
15
- const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["data-testid"], Ie = ["data-testid"], Ve = ["data-testid"], Ae = { class: "search-wrapper" }, Pe = ["data-testid"], Le = ["data-testid"], Me = {
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_cd41c5ca_lang.css"; import { defineComponent as ke, useCssVars as me, unref as t, useSlots as be, computed as u, openBlock as i, createElementBlock as d, createElementVNode as b, normalizeStyle as S, normalizeClass as y, createBlock as I, isRef as pe, createSlots as ve, withCtx as g, renderSlot as r, createCommentVNode as c, Fragment as x, renderList as C, createVNode as k, createTextVNode as P, toDisplayString as O, mergeProps as L } from "vue";
2
+ import V from "../../typography/v4/Typography.vue.js";
3
+ import xe from "../../skeleton/v4/SkeletonV4.vue.js";
4
+ import Ce from "../../emptyState/v4/EmptyStateV4.vue.js";
5
+ import Q from "../../checkbox/v4/CheckboxV4.vue.js";
6
+ import Re from "../../tooltip/v4/TooltipV4.vue.js";
7
+ import "./DataGrid.vue.js";
8
+ import "./DataGridMenu.vue.js";
9
+ import "./DataGridRowsCounter.vue.js";
10
+ import $e from "./DataGridHeader.vue.js";
11
+ import "./DataGridContainer.vue.js";
12
+ import "./MultipleDataGrid.vue.js";
13
+ import { TableTestIdModifiers as R } from "../../../testids/index.js";
14
+ import { tableCommon as Te } from "../common/Table.common.js";
15
+ import He from "./SortIcon.vue.js";
16
+ import we from "./HelpIcon.vue.js";
17
+ import Ee from "./ExpandRowToggle.vue.js";
18
+ import { DEFAULT_ROW_HEIGHT as Be, CHECKBOX_COLUMN_ID as Ae, DATA_GRID_HEADER_HEIGHT as X, HEADER_ROW_HEIGHT as j } from "../common/consts.js";
19
+ import { useElementSize as Ie } from "@vueuse/core";
20
+ const Pe = ["data-testid"], Le = ["data-testid"], Ve = ["data-testid"], Me = {
16
21
  key: 1,
17
22
  class: "expand-toggle-cell"
18
- }, Fe = ["onClick"], Ne = { class: "table-head-container" }, Oe = {
23
+ }, De = ["onClick"], Fe = { class: "table-head-container" }, Ne = {
19
24
  key: 0,
20
25
  class: "totals-row"
21
- }, De = ["data-testid"], Ke = ["onMouseenter", "onClick"], Ue = {
26
+ }, Oe = ["data-testid"], ze = ["onMouseenter", "onClick"], Ge = {
22
27
  key: 2,
23
28
  class: "expanded-row"
24
- }, ze = {
29
+ }, Ke = {
25
30
  key: 3,
26
31
  class: "floating-row"
27
- }, Ge = { key: 1 }, We = {
32
+ }, Ue = {
28
33
  key: 0,
29
34
  class: "table-footer"
30
- }, dt = /* @__PURE__ */ he({
35
+ }, ct = /* @__PURE__ */ ke({
31
36
  __name: "DataGrid",
32
37
  props: {
33
38
  title: { default: "" },
@@ -36,9 +41,9 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
36
41
  sections: { default: null },
37
42
  sort: { default: null },
38
43
  selection: { default: null },
39
- getRowId: { type: Function, default: (s, m) => m },
40
- getRowKey: { type: Function, default: (s, m) => m },
41
- selectedMatcher: { type: Function, default: (s, m) => s === m },
44
+ getRowId: { type: Function, default: (l, m) => m },
45
+ getRowKey: { type: Function, default: (l, m) => m },
46
+ selectedMatcher: { type: Function, default: (l, m) => l === m },
42
47
  isSticky: { type: Boolean, default: !0 },
43
48
  isStickyHeader: { type: Boolean, default: !1 },
44
49
  isLoading: { type: Boolean, default: !1 },
@@ -48,11 +53,12 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
48
53
  isInfiniteScroll: { type: Boolean, default: !1 },
49
54
  showTotalsRow: { type: Boolean },
50
55
  infiniteScrollThreshold: { default: 100 },
51
- rowHeight: { type: [Number, Function], default: xe },
56
+ rowHeight: { type: [Number, Function], default: Be },
52
57
  loadingRowCount: { default: 3 },
53
58
  defaultScrollPosition: { default: null },
54
59
  helpTooltipVariant: { default: "icon" },
55
60
  testId: { default: "" },
61
+ useAvailableHeight: { type: Boolean, default: !1 },
56
62
  search: { default: null },
57
63
  showSearch: { type: Boolean, default: !1 },
58
64
  searchPlaceholder: { default: "Search" },
@@ -64,207 +70,201 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
64
70
  isSelectionBordered: { type: Boolean, default: !1 }
65
71
  },
66
72
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
67
- setup(s, { expose: m, emit: k }) {
68
- const a = s;
69
- ye((l) => ({
70
- fa2ac520: s.zIndexBase,
71
- "0a907be4": t(ee),
72
- "702d25dd": t(K)
73
+ setup(l, { expose: m, emit: f }) {
74
+ const a = l;
75
+ me((s) => ({
76
+ "423d7fe6": l.zIndexBase,
77
+ "38b7f4c1": t(le),
78
+ "9b4c490c": t(G),
79
+ "243617e8": t(fe)
73
80
  }));
74
- const b = fe(), Q = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
75
- list: w,
76
- containerProps: X,
77
- wrapperProps: j,
78
- activeRow: E,
79
- gridColumnTemplate: K,
80
- toggleSortOrder: q,
81
+ const p = be(), q = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
82
+ list: $,
83
+ containerProps: z,
84
+ wrapperProps: J,
85
+ activeRow: T,
86
+ gridColumnTemplate: G,
87
+ toggleSortOrder: Z,
81
88
  columnsStickyPositions: H,
82
- hasSearchSlot: J,
83
- containerStyle: Z,
84
- onScroll: U,
85
- savingRows: z,
86
- hasExpandSlot: B,
87
- toggleExpandRow: _,
88
- cssExpandGridCol: ee,
89
+ hasSearchSlot: _,
90
+ containerStyle: ee,
91
+ onScroll: K,
92
+ savingRows: U,
93
+ hasExpandSlot: w,
94
+ toggleExpandRow: te,
95
+ cssExpandGridCol: le,
89
96
  isRowExpanded: M,
90
- hasCheckboxes: F,
91
- activeMenuRow: te,
92
- scrollTo: se
93
- } = ve(a, k), G = g(() => !!b.footer), le = g(
94
- () => a.title || b.title || J.value || b["table-header-actions"] || b["table-header-pre-search"]
95
- ), C = Te(a, "search", k), ae = g(() => a.selection.length || 0), N = g(() => {
96
- const l = a.rows.map((o, e) => a.getRowId(o, e));
97
- return !!l.length && l.every((o) => I(o));
98
- }), I = (l) => a.selection.findIndex((o) => a.selectedMatcher(l, o)) !== -1, ie = (l) => {
99
- I(l) ? (V(
97
+ hasCheckboxes: D,
98
+ activeMenuRow: se,
99
+ scrollTo: ae
100
+ } = Te(a, f), W = u(() => !!p.footer), ie = u(
101
+ () => a.title || p.title || _.value || p["table-header-actions"] || p["table-header-pre-search"]
102
+ ), v = u({
103
+ get: () => a.search,
104
+ set: (s) => f("update:search", s)
105
+ }), oe = u(() => a.selection.length || 0), F = u(() => {
106
+ const s = a.rows.map((o, e) => a.getRowId(o, e));
107
+ return !!s.length && s.every((o) => E(o));
108
+ }), E = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, de = (s) => {
109
+ E(s) ? (B(
100
110
  a.selection.filter(
101
- (o) => !a.selectedMatcher(l, o)
111
+ (o) => !a.selectedMatcher(s, o)
102
112
  )
103
- ), k("selectRow", !1)) : (V([...a.selection, l]), k("selectRow", !0));
104
- }, de = () => {
105
- if (N.value)
106
- V([]), k("selectAll", !1);
113
+ ), f("selectRow", !1)) : (B([...a.selection, s]), f("selectRow", !0));
114
+ }, ne = () => {
115
+ if (F.value)
116
+ B([]), f("selectAll", !1);
107
117
  else {
108
- const l = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !I(o));
109
- V([...a.selection, ...l]), k("selectAll", !0);
118
+ const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !E(o));
119
+ B([...a.selection, ...s]), f("selectAll", !0);
110
120
  }
111
- }, V = (l) => {
112
- k("update:selection", l);
113
- }, oe = (l) => !a.isLoading && E.value === l, ne = g(
114
- () => a.emptyStateVariant ?? (C.value ? "no-results" : "no-data")
115
- ), re = g(
116
- () => a.emptyStateSubtitle ? a.emptyStateSubtitle : C.value ? "Search again with different filters" : void 0
117
- ), O = g(() => ({
121
+ }, B = (s) => {
122
+ f("update:selection", s);
123
+ }, re = (s) => !a.isLoading && T.value === s, ce = u(
124
+ () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
125
+ ), ue = u(
126
+ () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
127
+ ), N = u(() => ({
118
128
  class: {
119
129
  sticky: a.isSelectionSticky,
120
130
  bordered: a.isSelectionBordered
121
131
  },
122
- style: a.isSelectionSticky ? H.value[pe] : null
123
- })), ce = (l) => ({
124
- sticky: l.isSticky,
125
- isStickyRight: l.isStickyRight,
126
- bordered: l.isBordered,
127
- isTextRight: l.isTextRight
128
- }), W = g(
129
- () => a.columns.map((l) => ce(l))
130
- ), ue = (l) => ({
131
- minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(l) : a.rowHeight) + "px"
132
- }), A = g(() => w.value.reduce((l, o) => (l[o.index] = ue(o.index), l), {}));
132
+ style: a.isSelectionSticky ? H.value[Ae] : null
133
+ })), he = (s) => ({
134
+ sticky: s.isSticky,
135
+ isStickyRight: s.isStickyRight,
136
+ bordered: s.isBordered,
137
+ isTextRight: s.isTextRight
138
+ }), Y = u(
139
+ () => a.columns.map((s) => he(s))
140
+ ), ye = (s) => ({
141
+ minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
142
+ }), A = u(() => $.value.reduce((s, o) => (s[o.index] = ye(o.index), s), {})), fe = u(() => `${X}px`), { height: Se } = Ie(z.ref), ge = u(
143
+ () => Se.value - j - X
144
+ );
133
145
  return m({
134
- scrollTo: se
135
- }), (l, o) => (i(), d("div", {
146
+ scrollTo: ae
147
+ }), (s, o) => (i(), d("div", {
136
148
  class: "table-container",
137
- "data-testid": `${s.testId}-${t(S).CONTAINER}`,
138
- onMouseleave: o[3] || (o[3] = (e) => E.value = null)
149
+ "data-testid": `${l.testId}-${t(R).CONTAINER}`,
150
+ onMouseleave: o[3] || (o[3] = (e) => T.value = null)
139
151
  }, [
140
- f("table", {
141
- ref: t(X).ref,
142
- style: v(t(Z)),
143
- class: u({
144
- hasFooter: t(G)
152
+ b("table", {
153
+ ref: t(z).ref,
154
+ style: S(t(ee)),
155
+ class: y({
156
+ hasFooter: t(W)
145
157
  }),
146
- "data-testid": `${s.testId}-${t(S).TABLE}`,
158
+ "data-testid": `${l.testId}-${t(R).TABLE}`,
147
159
  onScrollPassive: o[2] || (o[2] = //@ts-ignore
148
- (...e) => t(U) && t(U)(...e))
160
+ (...e) => t(K) && t(K)(...e))
149
161
  }, [
150
- t(le) ? (i(), d("div", {
162
+ t(ie) ? (i(), I(t($e), {
151
163
  key: 0,
152
- class: u(["table-header", { isStickyHeader: s.isStickyHeader }]),
153
- "data-testid": `${s.testId}-${t(S).HEADER}`
164
+ search: t(v),
165
+ "onUpdate:search": o[0] || (o[0] = (e) => pe(v) ? v.value = e : null),
166
+ title: l.title,
167
+ "is-sticky": l.isStickyHeader,
168
+ "show-search": l.showSearch,
169
+ "search-placeholder": l.searchPlaceholder,
170
+ "search-auto-focus": l.searchAutoFocus,
171
+ "z-index-base": l.zIndexBase,
172
+ "test-id": l.testId,
173
+ onOnClearSearch: o[1] || (o[1] = (e) => f("onClearSearch"))
174
+ }, ve({
175
+ title: g(() => [
176
+ r(s.$slots, "title")
177
+ ]),
178
+ search: g(() => [
179
+ r(s.$slots, "search")
180
+ ]),
181
+ _: 2
154
182
  }, [
155
- f("div", {
156
- class: "table-title",
157
- "data-testid": `${s.testId}-${t(S).TITLE}`
158
- }, [
159
- c(l.$slots, "title", {}, () => [
160
- h(t(p), { variant: "h3" }, {
161
- default: $(() => [
162
- R(P(s.title), 1)
163
- ]),
164
- _: 1
165
- })
166
- ])
167
- ], 8, Be),
168
- t(b)["table-header-pre-search"] ? (i(), d("div", {
169
- key: 0,
170
- class: "table-header-pre-search-content",
171
- "data-testid": `${s.testId}-${t(S).PRE_SEARCH_HEADER}`
172
- }, [
173
- c(l.$slots, "table-header-pre-search")
174
- ], 8, Ie)) : n("", !0),
175
- f("div", {
176
- class: "table-header-right",
177
- "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
178
- }, [
179
- s.showSearch ? c(l.$slots, "search", { key: 0 }, () => [
180
- f("div", Ae, [
181
- h(t(Re), {
182
- modelValue: t(C),
183
- "onUpdate:modelValue": o[0] || (o[0] = (e) => Se(C) ? C.value = e : null),
184
- placeholder: s.searchPlaceholder,
185
- "auto-focus": s.searchAutoFocus,
186
- "test-id": s.testId,
187
- onOnClear: o[1] || (o[1] = (e) => k("onClearSearch"))
188
- }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
189
- ])
190
- ]) : n("", !0)
191
- ], 8, Ve),
192
- t(b)["table-header-actions"] ? (i(), d("div", {
193
- key: 1,
194
- class: "table-header-actions",
195
- "data-testid": `${s.testId}-${t(S).ACTIONS}`
196
- }, [
197
- c(l.$slots, "table-header-actions")
198
- ], 8, Pe)) : n("", !0)
199
- ], 10, He)) : n("", !0),
200
- f("thead", {
201
- class: u({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
183
+ t(p)["table-header-pre-search"] ? {
184
+ name: "table-header-pre-search",
185
+ fn: g(() => [
186
+ r(s.$slots, "table-header-pre-search")
187
+ ]),
188
+ key: "0"
189
+ } : void 0,
190
+ t(p)["table-header-actions"] ? {
191
+ name: "table-header-actions",
192
+ fn: g(() => [
193
+ r(s.$slots, "table-header-actions")
194
+ ]),
195
+ key: "1"
196
+ } : void 0
197
+ ]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
198
+ b("thead", {
199
+ class: y({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
202
200
  }, [
203
- f("div", {
201
+ b("div", {
204
202
  class: "sections",
205
- "data-testid": `${s.testId}-${t(S).SECTIONS}`
203
+ "data-testid": `${l.testId}-${t(R).SECTIONS}`
206
204
  }, [
207
- (i(!0), d(T, null, x(s.sections, (e) => (i(), d("div", {
205
+ (i(!0), d(x, null, C(l.sections, (e) => (i(), d("div", {
208
206
  key: e.id,
209
- class: u(["section-container", { sticky: e.isSticky }])
207
+ class: y(["section-container", { sticky: e.isSticky }])
210
208
  }, [
211
- c(l.$slots, `section-${e.id}`, {}, () => [
212
- f("div", {
213
- style: v({ width: e.width + "px" }),
214
- class: u({ section: !0 })
209
+ r(s.$slots, `section-${e.id}`, {}, () => [
210
+ b("div", {
211
+ style: S({ width: e.width + "px" }),
212
+ class: y({ section: !0 })
215
213
  }, [
216
- h(t(p), { variant: "body2" }, {
217
- default: $(() => [
218
- R(P(e.title), 1)
214
+ k(t(V), { variant: "body2" }, {
215
+ default: g(() => [
216
+ P(O(e.title), 1)
219
217
  ]),
220
218
  _: 2
221
219
  }, 1024)
222
220
  ], 4)
223
221
  ])
224
222
  ], 2))), 128))
225
- ], 8, Le),
226
- f("tr", null, [
227
- t(F) ? (i(), d("th", L({
223
+ ], 8, Ve),
224
+ b("tr", {
225
+ style: S({ height: `${t(j)}px` })
226
+ }, [
227
+ t(D) ? (i(), d("th", L({
228
228
  key: 0,
229
229
  class: "checkbox-cell"
230
- }, t(O)), [
231
- c(l.$slots, "select-all-checkbox", {}, () => [
232
- h(t(Y), {
233
- disabled: s.isLoading,
234
- "is-checked": t(N),
235
- "is-indeterminate": !t(N) && t(ae) > 0,
236
- "onUpdate:isChecked": de
230
+ }, t(N)), [
231
+ r(s.$slots, "select-all-checkbox", {}, () => [
232
+ k(t(Q), {
233
+ disabled: l.isLoading,
234
+ "is-checked": t(F),
235
+ "is-indeterminate": !t(F) && t(oe) > 0,
236
+ "onUpdate:isChecked": ne
237
237
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
238
238
  ])
239
- ], 16)) : n("", !0),
240
- t(B) ? (i(), d("th", Me)) : n("", !0),
241
- (i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("th", {
239
+ ], 16)) : c("", !0),
240
+ t(w) ? (i(), d("th", Me)) : c("", !0),
241
+ (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("th", {
242
242
  key: e.id,
243
- class: u({
244
- ...t(W)[y],
243
+ class: y({
244
+ ...t(Y)[h],
245
245
  isSortable: e.isSortable,
246
246
  [`column-${e.id}`]: !0
247
247
  }),
248
- style: v(e.isSticky ? t(H)[e.id] : null),
249
- onClick: (r) => e.isSortable ? t(q)(e) : null
248
+ style: S(e.isSticky ? t(H)[e.id] : null),
249
+ onClick: (n) => e.isSortable ? t(Z)(e) : null
250
250
  }, [
251
- f("div", Ne, [
252
- c(l.$slots, `header-${e.id}`, { column: e }, () => [
253
- h(t(me), {
251
+ b("div", Fe, [
252
+ r(s.$slots, `header-${e.id}`, { column: e }, () => [
253
+ k(t(Re), {
254
254
  text: e.helpText,
255
- disabled: !e.helpText || s.helpTooltipVariant === "icon",
255
+ disabled: !e.helpText || l.helpTooltipVariant === "icon",
256
256
  placement: e.helpTextPlacement || "top",
257
257
  "test-id": `help-tooltip-underlined-${e.id}`
258
258
  }, {
259
- default: $(() => [
260
- h(t(p), {
259
+ default: g(() => [
260
+ k(t(V), {
261
261
  variant: "tableLabel",
262
- class: u({
263
- underlined: e.helpText && s.helpTooltipVariant === "underline"
262
+ class: y({
263
+ underlined: e.helpText && l.helpTooltipVariant === "underline"
264
264
  })
265
265
  }, {
266
- default: $(() => [
267
- R(P(e.title), 1)
266
+ default: g(() => [
267
+ P(O(e.title), 1)
268
268
  ]),
269
269
  _: 2
270
270
  }, 1032, ["class"])
@@ -272,156 +272,161 @@ const we = ["data-testid"], Ee = ["data-testid"], He = ["data-testid"], Be = ["d
272
272
  _: 2
273
273
  }, 1032, ["text", "disabled", "placement", "test-id"])
274
274
  ]),
275
- e.helpText && s.helpTooltipVariant === "icon" ? (i(), D($e, {
275
+ e.helpText && l.helpTooltipVariant === "icon" ? (i(), I(we, {
276
276
  key: 0,
277
277
  "hover-help-text": e.helpText,
278
278
  "hover-help-text-placement": e.helpTextPlacement,
279
279
  "test-id": `help-tooltip-${e.id}`
280
- }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : n("", !0),
281
- c(l.$slots, `after-header-${e.id}`, { column: e }),
282
- e.isSortable && e.id === s.sort?.sortBy ? (i(), D(be, {
280
+ }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
281
+ r(s.$slots, `after-header-${e.id}`, { column: e }),
282
+ e.isSortable && e.id === l.sort?.sortBy ? (i(), I(He, {
283
283
  key: 1,
284
- "sort-order": s.sort.sortOrder
285
- }, null, 8, ["sort-order"])) : n("", !0)
284
+ "sort-order": l.sort.sortOrder
285
+ }, null, 8, ["sort-order"])) : c("", !0)
286
286
  ])
287
- ], 14, Fe))), 128))
288
- ]),
289
- s.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
290
- t(F) ? (i(), d("td", L({
287
+ ], 14, De))), 128))
288
+ ], 4),
289
+ l.showTotalsRow && t($).length > 0 ? (i(), d("tr", Ne, [
290
+ t(D) ? (i(), d("td", L({
291
291
  key: 0,
292
292
  class: "bg"
293
- }, t(O)), null, 16)) : n("", !0),
294
- (i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("td", {
293
+ }, t(N)), null, 16)) : c("", !0),
294
+ (i(!0), d(x, null, C(l.columns, (e, h) => (i(), d("td", {
295
295
  key: e.id,
296
- class: u({
297
- ...t(W)[y],
296
+ class: y({
297
+ ...t(Y)[h],
298
298
  [`total-${e.id}`]: !0
299
299
  }),
300
- style: v(e.isSticky ? t(H)[e.id] : null)
300
+ style: S(e.isSticky ? t(H)[e.id] : null)
301
301
  }, [
302
- c(l.$slots, `total-${e.id}`, { column: e }, () => [
303
- y === 0 ? (i(), D(t(p), {
302
+ r(s.$slots, `total-${e.id}`, { column: e }, () => [
303
+ h === 0 ? (i(), I(t(V), {
304
304
  key: 0,
305
305
  variant: "h6"
306
306
  }, {
307
- default: $(() => [
308
- R("Totals")
307
+ default: g(() => [
308
+ P("Totals")
309
309
  ]),
310
310
  _: 1
311
- })) : n("", !0)
311
+ })) : c("", !0)
312
312
  ])
313
313
  ], 6))), 128))
314
- ])) : n("", !0)
314
+ ])) : c("", !0)
315
315
  ], 2),
316
- f("tbody", null, [
317
- t(w).length > 0 ? (i(), d("div", L({
316
+ b("tbody", null, [
317
+ t($).length > 0 ? (i(), d("div", L({
318
318
  key: 0,
319
319
  class: "table-body-wrapper",
320
- "data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
321
- }, t(j)), [
322
- (i(!0), d(T, null, x(t(w), (e) => (i(), d("tr", {
323
- key: s.getRowKey(e.data, e.index),
324
- class: u(["table-row", {
325
- loading: s.isLoading || s.isLoading && !e.data || t(z).includes(e.index),
326
- active: t(E) === e.index,
327
- activeMenu: t(te) === e.index,
328
- expanded: t(B) && t(M)(e.index),
329
- [Q(e.index)]: !0
320
+ "data-testid": `${l.testId}-${t(R).BODY_WRAPPER}`
321
+ }, t(J)), [
322
+ (i(!0), d(x, null, C(t($), (e) => (i(), d("tr", {
323
+ key: l.getRowKey(e.data, e.index),
324
+ class: y(["table-row", {
325
+ loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
326
+ active: t(T) === e.index,
327
+ activeMenu: t(se) === e.index,
328
+ expanded: t(w) && t(M)(e.index),
329
+ [q(e.index)]: !0
330
330
  }]),
331
- style: v(t(A)[e.index]),
332
- onMouseenter: (y) => E.value = e.index,
333
- onClick: (y) => k("clickRow", e.index)
331
+ style: S(t(A)[e.index]),
332
+ onMouseenter: (h) => T.value = e.index,
333
+ onClick: (h) => f("clickRow", e.index)
334
334
  }, [
335
- t(F) ? (i(), d("td", L({
335
+ t(D) ? (i(), d("td", L({
336
336
  key: 0,
337
337
  class: "checkbox-cell"
338
- }, t(O), {
338
+ }, t(N), {
339
339
  style: t(A)[e.index]
340
340
  }), [
341
- h(t(Y), {
342
- "is-checked": I(s.getRowId(e.data, e.index)),
343
- "onUpdate:isChecked": (y) => ie(s.getRowId(e.data, e.index))
341
+ k(t(Q), {
342
+ "is-checked": E(l.getRowId(e.data, e.index)),
343
+ "onUpdate:isChecked": (h) => de(l.getRowId(e.data, e.index))
344
344
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
345
- ], 16)) : n("", !0),
346
- t(B) ? (i(), d("td", {
345
+ ], 16)) : c("", !0),
346
+ t(w) ? (i(), d("td", {
347
347
  key: 1,
348
348
  class: "expand-toggle-cell",
349
- style: v(t(A)[e.index])
349
+ style: S(t(A)[e.index])
350
350
  }, [
351
- h(Ce, {
351
+ k(Ee, {
352
352
  expanded: t(M)(e.index),
353
- onClick: (y) => t(_)(e.index, y)
353
+ onClick: (h) => t(te)(e.index, h)
354
354
  }, null, 8, ["expanded", "onClick"])
355
- ], 4)) : n("", !0),
356
- (i(!0), d(T, null, x(s.columns, (y, r) => (i(), d("td", {
357
- key: r,
358
- class: u({
359
- sticky: s.columns[r].isSticky,
360
- isStickyRight: s.columns[r].isStickyRight,
361
- bordered: s.columns[r].isBordered,
362
- isTextRight: s.columns[r].isTextRight,
363
- [`column-${s.columns[r].id}`]: !0
355
+ ], 4)) : c("", !0),
356
+ (i(!0), d(x, null, C(l.columns, (h, n) => (i(), d("td", {
357
+ key: n,
358
+ class: y({
359
+ sticky: l.columns[n].isSticky,
360
+ isStickyRight: l.columns[n].isStickyRight,
361
+ bordered: l.columns[n].isBordered,
362
+ isTextRight: l.columns[n].isTextRight,
363
+ [`column-${l.columns[n].id}`]: !0
364
364
  }),
365
- style: v([
366
- s.columns[r].isSticky ? t(H)[s.columns[r].id] : null,
365
+ style: S([
366
+ l.columns[n].isSticky ? t(H)[l.columns[n].id] : null,
367
367
  t(A)[e.index]
368
368
  ])
369
369
  }, [
370
- !s.isLoading || s.isLoading && e.data[r] ? (i(), d("div", {
370
+ !l.isLoading || l.isLoading && e.data[n] ? (i(), d("div", {
371
371
  key: 0,
372
- class: u(["table-cell", { last: r === e.data.length - 1 }])
372
+ class: y(["table-cell", { last: n === e.data.length - 1 }])
373
373
  }, [
374
- c(l.$slots, `cell-${s.columns[r].id}`, {
375
- cell: e.data[r],
376
- isLoading: t(z).includes(e.index),
377
- cellIndex: r,
374
+ r(s.$slots, `cell-${l.columns[n].id}`, {
375
+ cell: e.data[n],
376
+ isLoading: t(U).includes(e.index),
377
+ cellIndex: n,
378
378
  row: e,
379
379
  rowIndex: e.index
380
380
  }, () => [
381
- h(t(p), { variant: "body1" }, {
382
- default: $(() => [
383
- R(P(e.data[r]), 1)
381
+ k(t(V), { variant: "body1" }, {
382
+ default: g(() => [
383
+ P(O(e.data[n]), 1)
384
384
  ]),
385
385
  _: 2
386
386
  }, 1024)
387
387
  ])
388
- ], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
389
- h(t(ke), { round: "" })
388
+ ], 2)) : r(s.$slots, "loader", { key: 1 }, () => [
389
+ k(t(xe), { round: "" })
390
390
  ])
391
391
  ], 6))), 128)),
392
- t(B) && t(M)(e.index) ? (i(), d("div", Ue, [
393
- c(l.$slots, "expanded", {
392
+ t(w) && t(M)(e.index) ? (i(), d("div", Ge, [
393
+ r(s.$slots, "expanded", {
394
394
  row: e,
395
- gridColumnTemplate: t(K)
395
+ gridColumnTemplate: t(G)
396
396
  })
397
- ])) : n("", !0),
398
- oe(e.index) ? (i(), d("div", ze, [
399
- c(l.$slots, "floating-row", {
397
+ ])) : c("", !0),
398
+ re(e.index) ? (i(), d("div", Ke, [
399
+ r(s.$slots, "floating-row", {
400
400
  row: e,
401
401
  rowIndex: e.index
402
402
  })
403
- ])) : n("", !0)
404
- ], 46, Ke))), 128))
405
- ], 16, De)) : (i(), d("div", Ge, [
406
- c(l.$slots, "empty-state", {}, () => [
407
- h(t(ge), {
403
+ ])) : c("", !0)
404
+ ], 46, ze))), 128))
405
+ ], 16, Oe)) : (i(), d("div", {
406
+ key: 1,
407
+ style: S(
408
+ l.useAvailableHeight ? { height: `${t(ge)}px` } : {}
409
+ )
410
+ }, [
411
+ r(s.$slots, "empty-state", {}, () => [
412
+ k(t(Ce), {
408
413
  class: "empty-state",
409
- title: s.emptyStateTitle,
410
- subtitle: t(re),
411
- variant: t(ne),
414
+ title: l.emptyStateTitle,
415
+ subtitle: t(ue),
416
+ variant: t(ce),
412
417
  "icon-name": "file-search",
413
- "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
418
+ "test-id": `${l.testId}-${t(R).EMPTY_STATE}`
414
419
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
415
420
  ])
416
- ]))
421
+ ], 4))
417
422
  ])
418
- ], 46, Ee),
419
- t(G) ? (i(), d("div", We, [
420
- c(l.$slots, "footer")
421
- ])) : n("", !0)
422
- ], 40, we));
423
+ ], 46, Le),
424
+ t(W) ? (i(), d("div", Ue, [
425
+ r(s.$slots, "footer")
426
+ ])) : c("", !0)
427
+ ], 40, Pe));
423
428
  }
424
429
  });
425
430
  export {
426
- dt as default
431
+ ct as default
427
432
  };