@ironsource/shared-ui 2.1.12-rc.3 → 2.1.12-rc.30

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 (237) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_adb49e50_lang.css +1 -0
  2. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_0198fee8_lang.css +1 -0
  3. package/ButtonV4.vue_vue_type_style_index_0_scoped_852be7ec_lang.css +1 -0
  4. package/Chart.vue_vue_type_style_index_0_scoped_fa533a3d_lang.css +1 -0
  5. package/ChartHeader.vue_vue_type_style_index_0_scoped_af520313_lang.css +1 -0
  6. package/ChartHeaderTrend.vue_vue_type_style_index_0_scoped_db8a902c_lang.css +1 -0
  7. package/ChartLegend.vue_vue_type_style_index_0_scoped_6103d8bd_lang.css +1 -0
  8. package/ChartPlane.vue_vue_type_style_index_0_scoped_4f67d41d_lang.css +1 -0
  9. package/ChartTooltip.vue_vue_type_style_index_0_scoped_3315b68f_lang.css +1 -0
  10. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_38354f10_lang.css +1 -0
  11. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_f5204c04_lang.css +1 -0
  12. package/DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_lang.css +1 -0
  13. package/DateRangeV4.vue_vue_type_style_index_0_scoped_a849128a_lang.css +1 -0
  14. package/DialogV4.vue_vue_type_style_index_0_scoped_eb226e31_lang.css +1 -0
  15. package/DropdownV4.vue_vue_type_style_index_0_scoped_55dd36a7_lang.css +1 -0
  16. package/FieldLabel.vue_vue_type_style_index_0_scoped_921d4087_lang.css +1 -0
  17. package/FormRow.vue_vue_type_style_index_0_scoped_2d5a3057_lang.css +1 -0
  18. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_99e51ecc_lang.css +1 -0
  19. package/Link.vue_vue_type_style_index_0_scoped_ad98fe7b_lang.css +1 -0
  20. package/OptionV4.vue_vue_type_style_index_0_scoped_0287cebf_lang.css +1 -0
  21. package/SettingsHeader.vue_vue_type_style_index_0_scoped_01f78cd7_lang.css +1 -0
  22. package/SubHeader.vue_vue_type_style_index_0_scoped_e6008b6c_lang.css +1 -0
  23. package/SwitchV4.vue_vue_type_style_index_0_scoped_cd6621a7_lang.css +1 -0
  24. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_2076b5ab_lang.css +1 -0
  25. package/Tooltip.vue_vue_type_style_index_0_scoped_20630944_lang.css +1 -0
  26. package/TooltipHeader.vue_vue_type_style_index_0_scoped_3b15c693_lang.css +1 -0
  27. package/TooltipV4.vue_vue_type_style_index_0_scoped_bcb40ed4_lang.css +1 -0
  28. package/TreeDropdown.vue_vue_type_style_index_0_scoped_4ba9e4bd_lang.css +1 -0
  29. package/components/appIcon/index.d.ts +3 -3
  30. package/components/banner/Banner.vue.d.ts +3 -3
  31. package/components/banner/index.d.ts +7 -7
  32. package/components/button/common/consts.d.ts +1 -0
  33. package/components/button/v3/Button.vue.d.ts +3 -3
  34. package/components/button/v3/ButtonBase.vue.d.ts +3 -3
  35. package/components/button/v3/IconButton.vue.d.ts +3 -3
  36. package/components/button/v3/index.d.ts +14 -14
  37. package/components/button/v4/ButtonV4.vue.d.ts +5 -3
  38. package/components/button/v4/ButtonV4.vue.js +4 -4
  39. package/components/button/v4/ButtonV4.vue2.js +28 -27
  40. package/components/button/v4/ToggleButtonGroupAB.vue.js +3 -3
  41. package/components/button/v4/ToggleButtonGroupAB.vue2.js +40 -44
  42. package/components/chart/Chart.vue.d.ts +158 -37
  43. package/components/chart/Chart.vue.js +2 -2
  44. package/components/chart/Chart.vue2.js +150 -297
  45. package/components/chart/ChartHeader.vue.d.ts +50 -11
  46. package/components/chart/ChartHeader.vue.js +3 -3
  47. package/components/chart/ChartHeader.vue2.js +73 -54
  48. package/components/chart/ChartHeaderTrend.vue.d.ts +48 -0
  49. package/components/chart/ChartHeaderTrend.vue.js +7 -0
  50. package/components/chart/ChartHeaderTrend.vue2.js +96 -0
  51. package/components/chart/ChartLegend.vue.d.ts +24 -0
  52. package/components/chart/ChartLegend.vue.js +3 -3
  53. package/components/chart/ChartLegend.vue2.js +82 -63
  54. package/components/chart/ChartPlane.vue.d.ts +226 -0
  55. package/components/chart/ChartPlane.vue.js +7 -0
  56. package/components/chart/ChartPlane.vue2.js +370 -0
  57. package/components/chart/ChartStoryArgs.d.ts +184 -0
  58. package/components/chart/ChartTooltip.vue.d.ts +22 -2
  59. package/components/chart/ChartTooltip.vue.js +2 -2
  60. package/components/chart/ChartTooltip.vue2.js +50 -55
  61. package/components/chart/LegendSorting.vue.d.ts +37 -0
  62. package/components/chart/LegendSorting.vue.js +45 -0
  63. package/components/chart/LegendSorting.vue2.js +4 -0
  64. package/components/chart/SettingsHeader.vue.d.ts +1 -0
  65. package/components/chart/SettingsHeader.vue.js +3 -3
  66. package/components/chart/SettingsHeader.vue2.js +17 -16
  67. package/components/chart/SubHeader.vue.d.ts +52 -0
  68. package/components/chart/SubHeader.vue.js +7 -0
  69. package/components/chart/SubHeader.vue2.js +61 -0
  70. package/components/chart/TooltipHeader.vue.d.ts +50 -0
  71. package/components/chart/TooltipHeader.vue.js +7 -0
  72. package/components/chart/TooltipHeader.vue2.js +69 -0
  73. package/components/chart/colorPalette.d.ts +5 -0
  74. package/components/chart/colorPalette.js +68 -0
  75. package/components/chart/composables/useChartHeight.d.ts +5 -0
  76. package/components/chart/composables/useChartHeight.js +24 -0
  77. package/components/chart/composables/useColorsMap.d.ts +12 -0
  78. package/components/chart/composables/useColorsMap.js +48 -0
  79. package/components/chart/composables/useTooltipPosition.d.ts +1 -1
  80. package/components/chart/composables/useTooltipPosition.js +11 -15
  81. package/components/chart/consts.d.ts +29 -7
  82. package/components/chart/consts.js +41 -21
  83. package/components/chart/index.d.ts +554 -119
  84. package/components/chart/mockData.d.ts +44 -5
  85. package/components/chart/types.d.ts +38 -6
  86. package/components/chart/types.js +5 -2
  87. package/components/chart/utils/formatNumber.d.ts +0 -1
  88. package/components/chart/utils/highlightUtils.d.ts +3 -0
  89. package/components/chart/utils/highlightUtils.js +18 -0
  90. package/components/chart/utils/utils.d.ts +3 -3
  91. package/components/chart/utils/utils.js +19 -10
  92. package/components/checkbox/v3/Checkbox.vue.d.ts +3 -3
  93. package/components/checkbox/v3/index.d.ts +7 -7
  94. package/components/dateRange/common/DateRange.common.js +81 -75
  95. package/components/dateRange/common/DateServices.common.d.ts +7 -1
  96. package/components/dateRange/common/DateServices.common.js +88 -92
  97. package/components/dateRange/common/consts.common.d.ts +5 -0
  98. package/components/dateRange/common/consts.common.js +9 -3
  99. package/components/dateRange/v3/DateRange.vue.d.ts +3 -3
  100. package/components/dateRange/v3/DateRangePicker.vue.d.ts +3 -3
  101. package/components/dateRange/v3/index.d.ts +7 -7
  102. package/components/dateRange/v4/DateRangePickerV4.vue.d.ts +3 -3
  103. package/components/dateRange/v4/DateRangeV4.vue.d.ts +3 -3
  104. package/components/dateRange/v4/DateRangeV4.vue.js +2 -2
  105. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  106. package/components/dateRange/v4/index.d.ts +7 -7
  107. package/components/dialog/v4/DialogV4.vue.d.ts +4 -3
  108. package/components/dialog/v4/DialogV4.vue.js +4 -4
  109. package/components/dialog/v4/DialogV4.vue2.js +1 -1
  110. package/components/dialog/v4/index.d.ts +7 -7
  111. package/components/dropdown/common/Dropdown.common.d.ts +1 -0
  112. package/components/dropdown/common/Dropdown.common.js +172 -160
  113. package/components/dropdown/v3/Dropdown.vue.d.ts +1 -1
  114. package/components/dropdown/v3/index.d.ts +20 -20
  115. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +1 -0
  116. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  117. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +16 -13
  118. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue.js +2 -2
  119. package/components/dropdown/v4/ButtonFilterDropdownTrigger.vue2.js +1 -1
  120. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
  121. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  122. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +64 -54
  123. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +22 -9
  124. package/components/dropdown/v4/ConditionalDropdown.vue.js +4 -4
  125. package/components/dropdown/v4/ConditionalDropdown.vue2.js +151 -129
  126. package/components/dropdown/v4/DropdownV4.vue.d.ts +34 -1
  127. package/components/dropdown/v4/DropdownV4.vue.js +2 -2
  128. package/components/dropdown/v4/DropdownV4.vue2.js +241 -189
  129. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.d.ts +11 -0
  130. package/components/dropdown/v4/IconButtonDropdownTrigger.vue.js +4 -4
  131. package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +12 -10
  132. package/components/dropdown/v4/OptionV4.vue.d.ts +18 -5
  133. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  134. package/components/dropdown/v4/OptionV4.vue2.js +140 -108
  135. package/components/dropdown/v4/TreeDropdown.vue.d.ts +1 -1
  136. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  137. package/components/dropdown/v4/TreeDropdown.vue2.js +68 -73
  138. package/components/dropdown/v4/dropdownStoryArgs.d.ts +8 -0
  139. package/components/dropdown/v4/index.d.ts +682 -162
  140. package/components/emptyState/v4/EmptyStateV4.vue.d.ts +3 -3
  141. package/components/emptyState/v4/index.d.ts +7 -7
  142. package/components/forms/FormRow.vue.d.ts +9 -2
  143. package/components/forms/FormRow.vue.js +3 -3
  144. package/components/forms/FormRow.vue2.js +25 -14
  145. package/components/forms/index.d.ts +25 -5
  146. package/components/includeExclude/IncludeExclude.vue.d.ts +1 -1
  147. package/components/includeExclude/IncludeExcludeDragDrop.vue.d.ts +1 -1
  148. package/components/includeExclude/index.d.ts +40 -40
  149. package/components/link/Link.vue.d.ts +70 -0
  150. package/components/link/Link.vue.js +7 -0
  151. package/components/link/Link.vue2.js +43 -0
  152. package/components/link/index.d.ts +201 -0
  153. package/components/link/index.js +6 -0
  154. package/components/search/v3/index.d.ts +3 -3
  155. package/components/shared/FieldLabel.vue.d.ts +19 -7
  156. package/components/shared/FieldLabel.vue.js +3 -3
  157. package/components/shared/FieldLabel.vue2.js +50 -37
  158. package/components/switch/v4/SwitchV4.vue.d.ts +16 -0
  159. package/components/switch/v4/SwitchV4.vue.js +3 -3
  160. package/components/switch/v4/SwitchV4.vue2.js +39 -24
  161. package/components/switch/v4/index.d.ts +29 -0
  162. package/components/table/common/Table.common.d.ts +0 -1
  163. package/components/table/common/Table.common.js +38 -39
  164. package/components/table/common/Table.types.d.ts +2 -0
  165. package/components/table/common/consts.d.ts +1 -0
  166. package/components/table/common/consts.js +2 -1
  167. package/components/table/v4/DataGrid.vue.d.ts +15 -4
  168. package/components/table/v4/DataGrid.vue.js +4 -4
  169. package/components/table/v4/DataGrid.vue2.js +288 -230
  170. package/components/table/v4/MultipleDataGrid.vue.d.ts +3 -3
  171. package/components/table/v4/index.d.ts +50 -15
  172. package/components/table/v4/storyUtils.d.ts +2 -0
  173. package/components/tabs/v3/Tabs.vue.d.ts +3 -3
  174. package/components/tabs/v3/index.d.ts +7 -7
  175. package/components/tooltip/common/Tooltip.types.d.ts +1 -0
  176. package/components/tooltip/v3/Tooltip.vue.d.ts +4 -4
  177. package/components/tooltip/v3/Tooltip.vue.js +2 -2
  178. package/components/tooltip/v3/Tooltip.vue2.js +1 -1
  179. package/components/tooltip/v3/index.d.ts +7 -7
  180. package/components/tooltip/v4/TooltipV4.vue.d.ts +4 -4
  181. package/components/tooltip/v4/TooltipV4.vue.js +2 -2
  182. package/components/tooltip/v4/TooltipV4.vue2.js +1 -1
  183. package/components/tooltip/v4/index.d.ts +7 -7
  184. package/components/typography/Text.vue.d.ts +3 -3
  185. package/components/typography/index.d.ts +7 -7
  186. package/composables/useDateService.d.ts +7 -0
  187. package/composables/useDateService.js +10 -0
  188. package/composables/useFormValidation.d.ts +1 -0
  189. package/composables/useFormValidation.js +32 -27
  190. package/composables/useFullPageHeight.d.ts +10 -0
  191. package/composables/useFullPageHeight.js +15 -0
  192. package/consts/common.d.ts +1 -0
  193. package/consts/common.js +4 -0
  194. package/consts/regex.d.ts +1 -0
  195. package/consts/regex.js +2 -1
  196. package/index.d.ts +1601 -425
  197. package/index.js +148 -136
  198. package/mocks/apps.d.ts +1 -0
  199. package/mocks/optionsWithIcons.d.ts +2 -0
  200. package/package.json +9 -1
  201. package/testids/index.d.ts +4 -0
  202. package/testids/index.js +31 -30
  203. package/utils/formatNumbers.d.ts +1 -1
  204. package/utils/formatNumbers.js +19 -6
  205. package/utils/index.js +7 -0
  206. package/utils/text.d.ts +3 -0
  207. package/utils/text.js +24 -5
  208. package/utils/totals.d.ts +5 -0
  209. package/utils/totals.js +9 -0
  210. package/utils/utils.d.ts +1 -0
  211. package/utils/utils.js +4 -0
  212. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +0 -1
  213. package/ButtonFilterDropdownTrigger.vue_vue_type_style_index_0_scoped_ea1c4589_lang.css +0 -1
  214. package/ButtonV4.vue_vue_type_style_index_0_scoped_bdfce3aa_lang.css +0 -1
  215. package/Chart.vue_vue_type_style_index_0_scoped_a641383a_lang.css +0 -1
  216. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +0 -1
  217. package/ChartLegend.vue_vue_type_style_index_0_scoped_4fe1c7d1_lang.css +0 -1
  218. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +0 -1
  219. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +0 -1
  220. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3a2aeea3_lang.css +0 -1
  221. package/DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css +0 -1
  222. package/DateRangeV4.vue_vue_type_style_index_0_scoped_8a2714eb_lang.css +0 -1
  223. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +0 -1
  224. package/DropdownV4.vue_vue_type_style_index_0_scoped_d154c5da_lang.css +0 -1
  225. package/FieldLabel.vue_vue_type_style_index_0_scoped_96ee1c98_lang.css +0 -1
  226. package/FormRow.vue_vue_type_style_index_0_scoped_fc3897fd_lang.css +0 -1
  227. package/IconButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_59fb505a_lang.css +0 -1
  228. package/OptionV4.vue_vue_type_style_index_0_scoped_1e8837dc_lang.css +0 -1
  229. package/SettingsHeader.vue_vue_type_style_index_0_scoped_9b6cd9d9_lang.css +0 -1
  230. package/SwitchV4.vue_vue_type_style_index_0_scoped_c2e356f5_lang.css +0 -1
  231. package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_c81a7d3e_lang.css +0 -1
  232. package/Tooltip.vue_vue_type_style_index_0_scoped_9020a179_lang.css +0 -1
  233. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +0 -1
  234. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +0 -1
  235. package/components/chart/composables/useChartValues.d.ts +0 -12
  236. package/components/chart/composables/useChartValues.js +0 -32
  237. package/components/chart/utils/formatNumber.js +0 -11
@@ -1,32 +1,33 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_6b54ac22_lang.css"; import { defineComponent as ce, useCssVars as re, unref as t, useSlots as ue, computed as m, openBlock as i, createElementBlock as o, createElementVNode as u, normalizeStyle as T, normalizeClass as S, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as E, toDisplayString as B, createCommentVNode as r, isRef as he, Fragment as p, renderList as I, mergeProps as M, createBlock as z } from "vue";
2
- import A from "../../typography/v4/Typography.vue.js";
3
- import ye from "../../skeleton/v4/SkeletonV4.vue.js";
4
- import fe from "../../emptyState/v4/EmptyStateV4.vue.js";
5
- import G from "../../checkbox/v4/CheckboxV4.vue.js";
6
- import { TableTestIdModifiers as y } from "../../../testids/index.js";
7
- import { tableCommon as Se } from "../common/Table.common.js";
8
- import ke from "./SortIcon.vue.js";
9
- import me from "./HelpIcon.vue.js";
10
- import ge from "./ExpandRowToggle.vue.js";
11
- import ve from "../../search/v4/SearchV4.vue.js";
12
- import { useVModel as be } from "@vueuse/core";
13
- import { CHECKBOX_COLUMN_ID as $e } from "../common/consts.js";
14
- const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["data-testid"], we = ["data-testid"], Ee = ["data-testid"], Be = { class: "search-wrapper" }, pe = ["data-testid"], Ie = ["data-testid"], Ae = {
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_8e8df067_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 = {
15
16
  key: 1,
16
17
  class: "expand-toggle-cell"
17
- }, He = ["onClick"], Pe = { class: "table-head-container" }, Le = ["data-testid"], Me = ["onMouseenter", "onClick"], Ve = {
18
- key: 1,
19
- class: "expand-toggle-cell"
20
- }, Ne = {
18
+ }, Fe = ["onClick"], Ne = { class: "table-head-container" }, Oe = {
19
+ key: 0,
20
+ class: "totals-row"
21
+ }, De = ["data-testid"], Ke = ["onMouseenter", "onClick"], Ue = {
21
22
  key: 2,
22
23
  class: "expanded-row"
23
- }, Fe = {
24
+ }, ze = {
24
25
  key: 3,
25
26
  class: "floating-row"
26
- }, Oe = { key: 1 }, De = {
27
+ }, Ge = { key: 1 }, We = {
27
28
  key: 0,
28
29
  class: "table-footer"
29
- }, et = /* @__PURE__ */ ce({
30
+ }, dt = /* @__PURE__ */ he({
30
31
  __name: "DataGrid",
31
32
  props: {
32
33
  title: { default: "" },
@@ -35,9 +36,9 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
35
36
  sections: { default: null },
36
37
  sort: { default: null },
37
38
  selection: { default: null },
38
- getRowId: { type: Function, default: (s, k) => k },
39
- getRowKey: { type: Function, default: (s, k) => k },
40
- selectedMatcher: { type: Function, default: (s, k) => s === k },
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 },
41
42
  isSticky: { type: Boolean, default: !0 },
42
43
  isStickyHeader: { type: Boolean, default: !1 },
43
44
  isLoading: { type: Boolean, default: !1 },
@@ -45,10 +46,12 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
45
46
  emptyStateTitle: { default: "No data to display" },
46
47
  emptyStateSubtitle: { default: "" },
47
48
  isInfiniteScroll: { type: Boolean, default: !1 },
49
+ showTotalsRow: { type: Boolean },
48
50
  infiniteScrollThreshold: { default: 100 },
49
- rowHeight: { type: [Number, Function], default: 48 },
51
+ rowHeight: { type: [Number, Function], default: xe },
50
52
  loadingRowCount: { default: 3 },
51
53
  defaultScrollPosition: { default: null },
54
+ helpTooltipVariant: { default: "icon" },
52
55
  testId: { default: "" },
53
56
  search: { default: null },
54
57
  showSearch: { type: Boolean, default: !1 },
@@ -61,309 +64,364 @@ const Re = ["data-testid"], Ce = ["data-testid"], xe = ["data-testid"], Te = ["d
61
64
  isSelectionBordered: { type: Boolean, default: !1 }
62
65
  },
63
66
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
64
- setup(s, { expose: k, emit: f }) {
65
- const l = s;
66
- re((a) => ({
67
- "3041fee8": s.zIndexBase,
68
- "8ac5cc00": t(_),
69
- "4f8aacf9": t(N),
70
- "65a66d41": t(Z)
67
+ setup(s, { expose: m, emit: k }) {
68
+ const a = s;
69
+ ye((l) => ({
70
+ "655ac77a": s.zIndexBase,
71
+ "97765f12": t(ee),
72
+ "7e1ea1b0": t(K)
71
73
  }));
72
- const g = ue(), Y = (a) => l.rowCustomClassKey && l.rows[a] ? l.rows[a][l.rowCustomClassKey] : "", {
73
- list: V,
74
- containerProps: Q,
75
- wrapperProps: W,
76
- activeRow: $,
77
- gridColumnTemplate: N,
78
- toggleSortOrder: X,
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,
79
81
  columnsStickyPositions: H,
80
- hasSearchSlot: j,
81
- containerStyle: q,
82
- onScroll: F,
83
- savingRows: O,
84
- hasExpandSlot: R,
85
- toggleExpandRow: J,
86
- cssRowHeight: Z,
87
- cssExpandGridCol: _,
88
- isRowExpanded: P,
89
- hasCheckboxes: D,
90
- activeMenuRow: ee,
91
- scrollTo: te
92
- } = Se(l, f), K = m(() => !!g.footer), se = m(
93
- () => l.title || g.title || j || g["table-header-actions"] || g["table-header-pre-search"]
94
- ), b = be(l, "search", f), ae = m(() => l.selection.length || 0), L = m(() => {
95
- const a = l.rows.map((d, e) => l.getRowId(d, e));
96
- return !!a.length && a.every((d) => C(d));
97
- }), C = (a) => l.selection.findIndex((d) => l.selectedMatcher(a, d)) !== -1, le = (a) => {
98
- C(a) ? (x(
99
- l.selection.filter(
100
- (d) => !l.selectedMatcher(a, d)
82
+ hasSearchSlot: J,
83
+ containerStyle: Z,
84
+ onScroll: U,
85
+ savingRows: z,
86
+ hasExpandSlot: B,
87
+ toggleExpandRow: _,
88
+ cssExpandGridCol: ee,
89
+ 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(
100
+ a.selection.filter(
101
+ (o) => !a.selectedMatcher(l, o)
101
102
  )
102
- ), f("selectRow", !1)) : (x([...l.selection, a]), f("selectRow", !0));
103
- }, ie = () => {
104
- if (L.value)
105
- x([]), f("selectAll", !1);
103
+ ), k("selectRow", !1)) : (V([...a.selection, l]), k("selectRow", !0));
104
+ }, de = () => {
105
+ if (N.value)
106
+ V([]), k("selectAll", !1);
106
107
  else {
107
- const a = l.rows.map((d, e) => l.getRowId(d, e)).filter((d) => !C(d));
108
- x([...l.selection, ...a]), f("selectAll", !0);
108
+ const l = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !I(o));
109
+ V([...a.selection, ...l]), k("selectAll", !0);
109
110
  }
110
- }, x = (a) => {
111
- f("update:selection", a);
112
- }, oe = (a) => !l.isLoading && $.value === a, de = m(
113
- () => l.emptyStateVariant ?? (b.value ? "no-results" : "no-data")
114
- ), ne = m(
115
- () => l.emptyStateSubtitle ? l.emptyStateSubtitle : b.value ? "Search again with different filters" : void 0
116
- ), U = m(() => ({
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(() => ({
117
118
  class: {
118
- sticky: l.isSelectionSticky,
119
- bordered: l.isSelectionBordered
119
+ sticky: a.isSelectionSticky,
120
+ bordered: a.isSelectionBordered
120
121
  },
121
- style: l.isSelectionSticky ? H.value[$e] : null
122
- }));
123
- return k({
124
- scrollTo: te
125
- }), (a, d) => (i(), o("div", {
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), {}));
133
+ return m({
134
+ scrollTo: se
135
+ }), (l, o) => (i(), d("div", {
126
136
  class: "table-container",
127
- "data-testid": `${s.testId}-${t(y).CONTAINER}`,
128
- onMouseleave: d[3] || (d[3] = (e) => $.value = null)
137
+ "data-testid": `${s.testId}-${t(S).CONTAINER}`,
138
+ onMouseleave: o[3] || (o[3] = (e) => E.value = null)
129
139
  }, [
130
- u("table", {
131
- ref: t(Q).ref,
132
- style: T(t(q)),
133
- class: S({
134
- hasFooter: t(K)
140
+ f("table", {
141
+ ref: t(X).ref,
142
+ style: v(t(Z)),
143
+ class: u({
144
+ hasFooter: t(G)
135
145
  }),
136
- "data-testid": `${s.testId}-${t(y).TABLE}`,
137
- onScrollPassive: d[2] || (d[2] = //@ts-ignore
138
- (...e) => t(F) && t(F)(...e))
146
+ "data-testid": `${s.testId}-${t(S).TABLE}`,
147
+ onScrollPassive: o[2] || (o[2] = //@ts-ignore
148
+ (...e) => t(U) && t(U)(...e))
139
149
  }, [
140
- t(se) ? (i(), o("div", {
150
+ t(le) ? (i(), d("div", {
141
151
  key: 0,
142
- class: S(["table-header", { isStickyHeader: s.isStickyHeader }]),
143
- "data-testid": `${s.testId}-${t(y).HEADER}`
152
+ class: u(["table-header", { isStickyHeader: s.isStickyHeader }]),
153
+ "data-testid": `${s.testId}-${t(S).HEADER}`
144
154
  }, [
145
- u("div", {
155
+ f("div", {
146
156
  class: "table-title",
147
- "data-testid": `${s.testId}-${t(y).TITLE}`
157
+ "data-testid": `${s.testId}-${t(S).TITLE}`
148
158
  }, [
149
- c(a.$slots, "title", {}, () => [
150
- h(t(A), { variant: "h3" }, {
151
- default: w(() => [
152
- E(B(s.title), 1)
159
+ c(l.$slots, "title", {}, () => [
160
+ h(t(p), { variant: "h3" }, {
161
+ default: $(() => [
162
+ R(P(s.title), 1)
153
163
  ]),
154
164
  _: 1
155
165
  })
156
166
  ])
157
- ], 8, Te),
158
- t(g)["table-header-pre-search"] ? (i(), o("div", {
167
+ ], 8, Be),
168
+ t(b)["table-header-pre-search"] ? (i(), d("div", {
159
169
  key: 0,
160
170
  class: "table-header-pre-search-content",
161
- "data-testid": `${s.testId}-${t(y).PRE_SEARCH_HEADER}`
171
+ "data-testid": `${s.testId}-${t(S).PRE_SEARCH_HEADER}`
162
172
  }, [
163
- c(a.$slots, "table-header-pre-search")
164
- ], 8, we)) : r("", !0),
165
- u("div", {
173
+ c(l.$slots, "table-header-pre-search")
174
+ ], 8, Ie)) : n("", !0),
175
+ f("div", {
166
176
  class: "table-header-right",
167
- "data-testid": `${s.testId}-${t(y).HEADER_RIGHT}`
177
+ "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
168
178
  }, [
169
- s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
170
- u("div", Be, [
171
- h(t(ve), {
172
- modelValue: t(b),
173
- "onUpdate:modelValue": d[0] || (d[0] = (e) => he(b) ? b.value = e : null),
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),
174
184
  placeholder: s.searchPlaceholder,
175
185
  "auto-focus": s.searchAutoFocus,
176
186
  "test-id": s.testId,
177
- onOnClear: d[1] || (d[1] = (e) => f("onClearSearch"))
187
+ onOnClear: o[1] || (o[1] = (e) => k("onClearSearch"))
178
188
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
179
189
  ])
180
- ]) : r("", !0)
181
- ], 8, Ee),
182
- t(g)["table-header-actions"] ? (i(), o("div", {
190
+ ]) : n("", !0)
191
+ ], 8, Ve),
192
+ t(b)["table-header-actions"] ? (i(), d("div", {
183
193
  key: 1,
184
194
  class: "table-header-actions",
185
- "data-testid": `${s.testId}-${t(y).ACTIONS}`
195
+ "data-testid": `${s.testId}-${t(S).ACTIONS}`
186
196
  }, [
187
- c(a.$slots, "table-header-actions")
188
- ], 8, pe)) : r("", !0)
189
- ], 10, xe)) : r("", !0),
190
- u("thead", {
191
- class: S({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
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 })
192
202
  }, [
193
- u("div", {
203
+ f("div", {
194
204
  class: "sections",
195
- "data-testid": `${s.testId}-${t(y).SECTIONS}`
205
+ "data-testid": `${s.testId}-${t(S).SECTIONS}`
196
206
  }, [
197
- (i(!0), o(p, null, I(s.sections, (e) => (i(), o("div", {
207
+ (i(!0), d(T, null, x(s.sections, (e) => (i(), d("div", {
198
208
  key: e.id,
199
- class: S(["section-container", { sticky: e.isSticky }])
209
+ class: u(["section-container", { sticky: e.isSticky }])
200
210
  }, [
201
- c(a.$slots, `section-${e.id}`, {}, () => [
202
- u("div", {
203
- style: T({ width: e.width + "px" }),
204
- class: S({ section: !0 })
211
+ c(l.$slots, `section-${e.id}`, {}, () => [
212
+ f("div", {
213
+ style: v({ width: e.width + "px" }),
214
+ class: u({ section: !0 })
205
215
  }, [
206
- h(t(A), { variant: "body2" }, {
207
- default: w(() => [
208
- E(B(e.title), 1)
216
+ h(t(p), { variant: "body2" }, {
217
+ default: $(() => [
218
+ R(P(e.title), 1)
209
219
  ]),
210
220
  _: 2
211
221
  }, 1024)
212
222
  ], 4)
213
223
  ])
214
224
  ], 2))), 128))
215
- ], 8, Ie),
216
- u("tr", null, [
217
- t(D) ? (i(), o("th", M({
225
+ ], 8, Le),
226
+ f("tr", null, [
227
+ t(F) ? (i(), d("th", L({
218
228
  key: 0,
219
229
  class: "checkbox-cell"
220
- }, t(U)), [
221
- c(a.$slots, "select-all-checkbox", {}, () => [
222
- h(t(G), {
230
+ }, t(O)), [
231
+ c(l.$slots, "select-all-checkbox", {}, () => [
232
+ h(t(Y), {
223
233
  disabled: s.isLoading,
224
- "is-checked": t(L),
225
- "is-indeterminate": !t(L) && t(ae) > 0,
226
- "onUpdate:isChecked": ie
234
+ "is-checked": t(N),
235
+ "is-indeterminate": !t(N) && t(ae) > 0,
236
+ "onUpdate:isChecked": de
227
237
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
228
238
  ])
229
- ], 16)) : r("", !0),
230
- t(R) ? (i(), o("th", Ae)) : r("", !0),
231
- (i(!0), o(p, null, I(s.columns, (e) => (i(), o("th", {
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", {
232
242
  key: e.id,
233
- class: S({
234
- sticky: e.isSticky,
235
- isStickyRight: e.isStickyRight,
236
- bordered: e.isBordered,
237
- isTextRight: e.isTextRight,
243
+ class: u({
244
+ ...t(W)[y],
238
245
  isSortable: e.isSortable,
239
246
  [`column-${e.id}`]: !0
240
247
  }),
241
- style: T(e.isSticky ? t(H)[e.id] : null),
242
- onClick: (v) => e.isSortable ? t(X)(e) : null
248
+ style: v(e.isSticky ? t(H)[e.id] : null),
249
+ onClick: (r) => e.isSortable ? t(q)(e) : null
243
250
  }, [
244
- u("div", Pe, [
245
- c(a.$slots, `header-${e.id}`, { column: e }, () => [
246
- h(t(A), { variant: "tableLabel" }, {
247
- default: w(() => [
248
- E(B(e.title), 1)
251
+ f("div", Ne, [
252
+ c(l.$slots, `header-${e.id}`, { column: e }, () => [
253
+ h(t(me), {
254
+ text: e.helpText,
255
+ disabled: !e.helpText || s.helpTooltipVariant === "icon",
256
+ placement: e.helpTextPlacement || "top",
257
+ "test-id": `help-tooltip-underlined-${e.id}`
258
+ }, {
259
+ default: $(() => [
260
+ h(t(p), {
261
+ variant: "tableLabel",
262
+ class: u({
263
+ underlined: e.helpText && s.helpTooltipVariant === "underline"
264
+ })
265
+ }, {
266
+ default: $(() => [
267
+ R(P(e.title), 1)
268
+ ]),
269
+ _: 2
270
+ }, 1032, ["class"])
249
271
  ]),
250
272
  _: 2
251
- }, 1024)
273
+ }, 1032, ["text", "disabled", "placement", "test-id"])
252
274
  ]),
253
- e.helpText ? (i(), z(me, {
275
+ e.helpText && s.helpTooltipVariant === "icon" ? (i(), D($e, {
254
276
  key: 0,
255
277
  "hover-help-text": e.helpText,
256
- "hover-help-text-placement": e.helpTextPlacement
257
- }, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
258
- e.isSortable && e.id === s.sort?.sortBy ? (i(), z(ke, {
278
+ "hover-help-text-placement": e.helpTextPlacement,
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, {
259
283
  key: 1,
260
284
  "sort-order": s.sort.sortOrder
261
- }, null, 8, ["sort-order"])) : r("", !0)
285
+ }, null, 8, ["sort-order"])) : n("", !0)
262
286
  ])
263
- ], 14, He))), 128))
264
- ])
287
+ ], 14, Fe))), 128))
288
+ ]),
289
+ s.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
290
+ t(F) ? (i(), d("td", L({
291
+ key: 0,
292
+ class: "bg"
293
+ }, t(O)), null, 16)) : n("", !0),
294
+ (i(!0), d(T, null, x(s.columns, (e, y) => (i(), d("td", {
295
+ key: e.id,
296
+ class: u({
297
+ ...t(W)[y],
298
+ [`total-${e.id}`]: !0
299
+ }),
300
+ style: v(e.isSticky ? t(H)[e.id] : null)
301
+ }, [
302
+ c(l.$slots, `total-${e.id}`, { column: e }, () => [
303
+ y === 0 ? (i(), D(t(p), {
304
+ key: 0,
305
+ variant: "h6"
306
+ }, {
307
+ default: $(() => [
308
+ R("Totals")
309
+ ]),
310
+ _: 1
311
+ })) : n("", !0)
312
+ ])
313
+ ], 6))), 128))
314
+ ])) : n("", !0)
265
315
  ], 2),
266
- u("tbody", null, [
267
- t(V).length > 0 ? (i(), o("div", M({
316
+ f("tbody", null, [
317
+ t(w).length > 0 ? (i(), d("div", L({
268
318
  key: 0,
269
319
  class: "table-body-wrapper",
270
- "data-testid": `${s.testId}-${t(y).BODY_WRAPPER}`
271
- }, t(W)), [
272
- (i(!0), o(p, null, I(t(V), (e) => (i(), o("tr", {
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", {
273
323
  key: s.getRowKey(e.data, e.index),
274
- class: S(["table-row", {
275
- loading: s.isLoading || s.isLoading && !e.data || t(O).includes(e.index),
276
- active: t($) === e.index,
277
- activeMenu: t(ee) === e.index,
278
- expanded: t(R) && t(P)(e.index),
279
- [Y(e.index)]: !0
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
280
330
  }]),
281
- onMouseenter: (v) => $.value = e.index,
282
- onClick: (v) => f("clickRow", e.index)
331
+ style: v(t(A)[e.index]),
332
+ onMouseenter: (y) => E.value = e.index,
333
+ onClick: (y) => k("clickRow", e.index)
283
334
  }, [
284
- t(D) ? (i(), o("td", M({
335
+ t(F) ? (i(), d("td", L({
285
336
  key: 0,
286
337
  class: "checkbox-cell"
287
- }, t(U)), [
288
- h(t(G), {
289
- "is-checked": C(s.getRowId(e.data, e.index)),
290
- "onUpdate:isChecked": (v) => le(s.getRowId(e.data, e.index))
338
+ }, t(O), {
339
+ style: t(A)[e.index]
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))
291
344
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
292
- ], 16)) : r("", !0),
293
- t(R) ? (i(), o("td", Ve, [
294
- h(ge, {
295
- expanded: t(P)(e.index),
296
- onClick: (v) => t(J)(e.index, v)
345
+ ], 16)) : n("", !0),
346
+ t(B) ? (i(), d("td", {
347
+ key: 1,
348
+ class: "expand-toggle-cell",
349
+ style: v(t(A)[e.index])
350
+ }, [
351
+ h(Ce, {
352
+ expanded: t(M)(e.index),
353
+ onClick: (y) => t(_)(e.index, y)
297
354
  }, null, 8, ["expanded", "onClick"])
298
- ])) : r("", !0),
299
- (i(!0), o(p, null, I(s.columns, (v, n) => (i(), o("td", {
300
- key: n,
301
- class: S({
302
- sticky: s.columns[n].isSticky,
303
- isStickyRight: s.columns[n].isStickyRight,
304
- bordered: s.columns[n].isBordered,
305
- isTextRight: s.columns[n].isTextRight,
306
- [`column-${s.columns[n].id}`]: !0
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
307
364
  }),
308
- style: T(
309
- s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
310
- )
365
+ style: v([
366
+ s.columns[r].isSticky ? t(H)[s.columns[r].id] : null,
367
+ t(A)[e.index]
368
+ ])
311
369
  }, [
312
- !s.isLoading || s.isLoading && e.data[n] ? (i(), o("div", {
370
+ !s.isLoading || s.isLoading && e.data[r] ? (i(), d("div", {
313
371
  key: 0,
314
- class: S(["table-cell", { last: n === e.data.length - 1 }])
372
+ class: u(["table-cell", { last: r === e.data.length - 1 }])
315
373
  }, [
316
- c(a.$slots, `cell-${s.columns[n].id}`, {
317
- cell: e.data[n],
318
- isLoading: t(O).includes(e.index),
319
- cellIndex: n,
374
+ c(l.$slots, `cell-${s.columns[r].id}`, {
375
+ cell: e.data[r],
376
+ isLoading: t(z).includes(e.index),
377
+ cellIndex: r,
320
378
  row: e,
321
379
  rowIndex: e.index
322
380
  }, () => [
323
- h(t(A), { variant: "body1" }, {
324
- default: w(() => [
325
- E(B(e.data[n]), 1)
381
+ h(t(p), { variant: "body1" }, {
382
+ default: $(() => [
383
+ R(P(e.data[r]), 1)
326
384
  ]),
327
385
  _: 2
328
386
  }, 1024)
329
387
  ])
330
- ], 2)) : c(a.$slots, "loader", { key: 1 }, () => [
331
- h(t(ye), { round: "" })
388
+ ], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
389
+ h(t(ke), { round: "" })
332
390
  ])
333
391
  ], 6))), 128)),
334
- t(R) && t(P)(e.index) ? (i(), o("div", Ne, [
335
- c(a.$slots, "expanded", {
392
+ t(B) && t(M)(e.index) ? (i(), d("div", Ue, [
393
+ c(l.$slots, "expanded", {
336
394
  row: e,
337
- gridColumnTemplate: t(N)
395
+ gridColumnTemplate: t(K)
338
396
  })
339
- ])) : r("", !0),
340
- oe(e.index) ? (i(), o("div", Fe, [
341
- c(a.$slots, "floating-row", {
397
+ ])) : n("", !0),
398
+ oe(e.index) ? (i(), d("div", ze, [
399
+ c(l.$slots, "floating-row", {
342
400
  row: e,
343
401
  rowIndex: e.index
344
402
  })
345
- ])) : r("", !0)
346
- ], 42, Me))), 128))
347
- ], 16, Le)) : (i(), o("div", Oe, [
348
- c(a.$slots, "empty-state", {}, () => [
349
- h(t(fe), {
403
+ ])) : n("", !0)
404
+ ], 46, Ke))), 128))
405
+ ], 16, De)) : (i(), d("div", Ge, [
406
+ c(l.$slots, "empty-state", {}, () => [
407
+ h(t(ge), {
350
408
  class: "empty-state",
351
409
  title: s.emptyStateTitle,
352
- subtitle: t(ne),
353
- variant: t(de),
410
+ subtitle: t(re),
411
+ variant: t(ne),
354
412
  "icon-name": "file-search",
355
- "test-id": `${s.testId}-${t(y).EMPTY_STATE}`
413
+ "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
356
414
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
357
415
  ])
358
416
  ]))
359
417
  ])
360
- ], 46, Ce),
361
- t(K) ? (i(), o("div", De, [
362
- c(a.$slots, "footer")
363
- ])) : r("", !0)
364
- ], 40, Re));
418
+ ], 46, Ee),
419
+ t(G) ? (i(), d("div", We, [
420
+ c(l.$slots, "footer")
421
+ ])) : n("", !0)
422
+ ], 40, we));
365
423
  }
366
424
  });
367
425
  export {
368
- et as default
426
+ dt as default
369
427
  };