@ironsource/shared-ui 2.1.11-test.9 → 2.1.11-test.91

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 (170) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_604dfc6f_lang.css +1 -0
  2. package/Chart.vue_vue_type_style_index_0_scoped_277fde76_lang.css +1 -0
  3. package/ChartHeader.vue_vue_type_style_index_0_scoped_b8213498_lang.css +1 -0
  4. package/ChartLegend.vue_vue_type_style_index_0_scoped_a1c626cd_lang.css +1 -0
  5. package/ChartTooltip.vue_vue_type_style_index_0_scoped_6744325c_lang.css +1 -0
  6. package/CheckboxV4.vue_vue_type_style_index_0_scoped_af4ae3c3_lang.css +1 -0
  7. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_e43ac1c9_lang.css +1 -0
  8. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2c6a03f9_lang.css +1 -0
  9. package/DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css +1 -0
  10. package/DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css +1 -0
  11. package/DialogV4.vue_vue_type_style_index_0_scoped_37da643b_lang.css +1 -0
  12. package/DropdownV4.vue_vue_type_style_index_0_scoped_75002075_lang.css +1 -0
  13. package/EditableV4.vue_vue_type_style_index_0_scoped_1bbe222a_lang.css +1 -0
  14. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_18728498_lang.css +1 -0
  15. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_383011d3_lang.css +1 -0
  16. package/FormCard.vue_vue_type_style_index_0_scoped_86feae7b_lang.css +1 -0
  17. package/IconFlag.vue_vue_type_style_index_0_scoped_be9dc7bb_lang.css +1 -0
  18. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  19. package/PopoverV4.vue_vue_type_style_index_0_scoped_66694b4e_lang.css +1 -0
  20. package/README.md +4 -15
  21. package/SnackbarV4.vue_vue_type_style_index_0_scoped_89fe8aa1_lang.css +1 -0
  22. package/SortableItem.vue_vue_type_style_index_0_scoped_2ca7b24c_lang.css +1 -0
  23. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_f2ced2f4_lang.css +1 -0
  24. package/SortableList.vue_vue_type_style_index_0_scoped_8f267f88_lang.css +1 -0
  25. package/TextField.vue_vue_type_style_index_0_scoped_fce3948c_lang.css +1 -0
  26. package/ThemeWrapper.vue_vue_type_style_index_1_lang.css +1 -1
  27. package/TooltipV4.vue_vue_type_style_index_0_scoped_66eab856_lang.css +1 -0
  28. package/TooltipV4.vue_vue_type_style_index_1_lang.css +1 -1
  29. package/TreeDropdown.vue_vue_type_style_index_0_scoped_b883d1fa_lang.css +1 -0
  30. package/Typography.vue_vue_type_style_index_0_scoped_5714d43e_lang.css +1 -0
  31. package/components/autocomplete/Autocomplete.vue2.js +1 -1
  32. package/components/chart/Chart.vue.d.ts +16 -3
  33. package/components/chart/Chart.vue.js +5 -5
  34. package/components/chart/Chart.vue2.js +127 -110
  35. package/components/chart/ChartHeader.vue.d.ts +13 -6
  36. package/components/chart/ChartHeader.vue.js +2 -2
  37. package/components/chart/ChartHeader.vue2.js +32 -29
  38. package/components/chart/ChartLegend.vue.d.ts +5 -0
  39. package/components/chart/ChartLegend.vue.js +3 -3
  40. package/components/chart/ChartLegend.vue2.js +99 -49
  41. package/components/chart/ChartTooltip.vue.d.ts +4 -5
  42. package/components/chart/ChartTooltip.vue.js +2 -2
  43. package/components/chart/ChartTooltip.vue2.js +64 -43
  44. package/components/chart/SettingsHeader.vue2.js +1 -1
  45. package/components/chart/index.d.ts +55 -16
  46. package/components/chart/mockData.d.ts +15 -2
  47. package/components/chart/types.d.ts +15 -1
  48. package/components/chart/utils/utils.js +5 -5
  49. package/components/checkbox/v4/CheckboxV4.vue.js +3 -3
  50. package/components/checkbox/v4/CheckboxV4.vue2.js +2 -2
  51. package/components/datePicker/v4/DatePickerV4.vue2.js +1 -1
  52. package/components/dateRange/v4/DateRangeV4.vue2.js +1 -1
  53. package/components/dialog/v4/DialogV4.vue.d.ts +15 -0
  54. package/components/dialog/v4/DialogV4.vue.js +3 -3
  55. package/components/dialog/v4/DialogV4.vue2.js +80 -73
  56. package/components/dialog/v4/index.d.ts +58 -1
  57. package/components/dropdown/common/Dropdown.common.js +180 -169
  58. package/components/dropdown/v3/index.d.ts +12 -12
  59. package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +15 -0
  60. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +2 -2
  61. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +42 -20
  62. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  63. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  64. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +59 -40
  65. package/components/dropdown/v4/{ConditionalDroprown.vue.d.ts → ConditionalDropdown.vue.d.ts} +58 -0
  66. package/components/dropdown/v4/ConditionalDropdown.vue.js +7 -0
  67. package/components/dropdown/v4/ConditionalDropdown.vue2.js +234 -0
  68. package/components/dropdown/v4/DropdownV4.vue.d.ts +18 -5
  69. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  70. package/components/dropdown/v4/DropdownV4.vue2.js +52 -50
  71. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  72. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  73. package/components/dropdown/v4/TreeDropdown.vue.js +2 -2
  74. package/components/dropdown/v4/TreeDropdown.vue2.js +87 -87
  75. package/components/dropdown/v4/index.d.ts +203 -35
  76. package/components/dropdown/v4/index.js +3 -3
  77. package/components/emptyState/v4/EmptyStateV4.vue.js +3 -3
  78. package/components/emptyState/v4/EmptyStateV4.vue2.js +1 -1
  79. package/components/filtersPanel/v4/FiltersPanelV4.vue.js +2 -2
  80. package/components/filtersPanel/v4/FiltersPanelV4.vue2.js +8 -9
  81. package/components/forms/FormCard.vue.js +3 -3
  82. package/components/forms/FormCard.vue2.js +1 -1
  83. package/components/icon/v4/IconFlag.vue.js +3 -3
  84. package/components/icon/v4/IconFlag.vue2.js +1 -1
  85. package/components/icon/v4/consts.d.ts +1 -1
  86. package/components/icon/v4/consts.js +1 -1
  87. package/components/input/v4/TextField.vue.js +3 -3
  88. package/components/input/v4/TextField.vue2.js +185 -165
  89. package/components/multibar/MultiBarMenu.vue2.js +1 -1
  90. package/components/popover/v4/PopoverV4.vue.d.ts +11 -1
  91. package/components/popover/v4/PopoverV4.vue.js +2 -2
  92. package/components/popover/v4/PopoverV4.vue2.js +40 -26
  93. package/components/popover/v4/index.d.ts +46 -8
  94. package/components/snackbar/v4/SnackbarV4.vue.d.ts +7 -116
  95. package/components/snackbar/v4/SnackbarV4.vue.js +5 -5
  96. package/components/snackbar/v4/SnackbarV4.vue2.js +62 -60
  97. package/components/sortableList/SortableItem.vue.d.ts +5 -0
  98. package/components/sortableList/SortableItem.vue.js +2 -2
  99. package/components/sortableList/SortableItem.vue2.js +86 -70
  100. package/components/sortableList/SortableItemLabel.vue.js +3 -3
  101. package/components/sortableList/SortableItemLabel.vue2.js +20 -23
  102. package/components/sortableList/SortableList.vue.d.ts +17 -1
  103. package/components/sortableList/SortableList.vue.js +4 -4
  104. package/components/sortableList/SortableList.vue2.js +113 -94
  105. package/components/sortableList/index.d.ts +63 -5
  106. package/components/table/common/Table.common.d.ts +1 -1
  107. package/components/table/common/Table.common.js +82 -74
  108. package/components/table/common/Table.types.d.ts +1 -1
  109. package/components/table/common/consts.d.ts +4 -0
  110. package/components/table/common/consts.js +7 -0
  111. package/components/table/v3/Table.vue.d.ts +1 -1
  112. package/components/table/v3/index.d.ts +5 -5
  113. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  114. package/components/table/v4/DataGrid.vue.js +2 -2
  115. package/components/table/v4/DataGrid.vue2.js +164 -155
  116. package/components/table/v4/DataGridMenu.vue.js +5 -5
  117. package/components/table/v4/DataGridMenu.vue2.js +2 -2
  118. package/components/table/v4/MultipleDataGrid.vue.d.ts +1 -1
  119. package/components/table/v4/index.d.ts +84 -46
  120. package/components/table-cells/common/Editable.common.js +29 -23
  121. package/components/table-cells/common/EditableContext.d.ts +1 -0
  122. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  123. package/components/table-cells/v4/EditableV4.vue.js +3 -3
  124. package/components/table-cells/v4/EditableV4.vue2.js +11 -10
  125. package/components/table-cells/v4/index.d.ts +20 -1
  126. package/components/tooltip/v4/TooltipV4.vue.d.ts +10 -0
  127. package/components/tooltip/v4/TooltipV4.vue.js +3 -3
  128. package/components/tooltip/v4/TooltipV4.vue2.js +24 -21
  129. package/components/tooltip/v4/index.d.ts +39 -1
  130. package/components/typography/v4/Typography.vue.js +3 -3
  131. package/components/typography/v4/Typography.vue2.js +24 -18
  132. package/design-foundation.stories/icons/iconsData.d.ts +1 -1
  133. package/index.d.ts +1093 -204
  134. package/index.js +1 -1
  135. package/mocks/words.d.ts +1 -1
  136. package/package.json +3 -3
  137. package/style/v4/grid.css +1 -1
  138. package/style/v4/grid.css.map +1 -1
  139. package/style/v4/spacings.scss +1 -0
  140. package/testids/index.d.ts +2 -0
  141. package/testids/index.js +13 -13
  142. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  143. package/Chart.vue_vue_type_style_index_0_scoped_ea1e5c3e_lang.css +0 -1
  144. package/ChartHeader.vue_vue_type_style_index_0_scoped_4c37736e_lang.css +0 -1
  145. package/ChartLegend.vue_vue_type_style_index_0_scoped_c0f71a49_lang.css +0 -1
  146. package/ChartTooltip.vue_vue_type_style_index_0_scoped_ec636f18_lang.css +0 -1
  147. package/CheckboxV4.vue_vue_type_style_index_0_scoped_8e5b619a_lang.css +0 -1
  148. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +0 -1
  149. package/ConditionalDroprown.vue_vue_type_style_index_0_scoped_546e19a9_lang.css +0 -1
  150. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  151. package/DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css +0 -1
  152. package/DialogV4.vue_vue_type_style_index_0_scoped_09c488cf_lang.css +0 -1
  153. package/DropdownV4.vue_vue_type_style_index_0_scoped_f88a132e_lang.css +0 -1
  154. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +0 -1
  155. package/EmptyStateV4.vue_vue_type_style_index_0_scoped_24001caa_lang.css +0 -1
  156. package/FiltersPanelV4.vue_vue_type_style_index_0_scoped_39061862_lang.css +0 -1
  157. package/FormCard.vue_vue_type_style_index_0_scoped_c7965a69_lang.css +0 -1
  158. package/IconFlag.vue_vue_type_style_index_0_scoped_7b09cc85_lang.css +0 -1
  159. package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +0 -1
  160. package/PopoverV4.vue_vue_type_style_index_0_scoped_43b5cba4_lang.css +0 -1
  161. package/SnackbarV4.vue_vue_type_style_index_0_scoped_49c5ccea_lang.css +0 -1
  162. package/SortableItem.vue_vue_type_style_index_0_scoped_9dd4d372_lang.css +0 -1
  163. package/SortableItemLabel.vue_vue_type_style_index_0_scoped_1386ae20_lang.css +0 -1
  164. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +0 -1
  165. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +0 -1
  166. package/TooltipV4.vue_vue_type_style_index_0_scoped_fcdb9d02_lang.css +0 -1
  167. package/TreeDropdown.vue_vue_type_style_index_0_scoped_bdfb0aef_lang.css +0 -1
  168. package/Typography.vue_vue_type_style_index_0_scoped_992962bc_lang.css +0 -1
  169. package/components/dropdown/v4/ConditionalDroprown.vue.js +0 -7
  170. package/components/dropdown/v4/ConditionalDroprown.vue2.js +0 -157
@@ -1,37 +1,32 @@
1
- import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css"; import { defineComponent as de, useCssVars as oe, unref as t, useSlots as ne, computed as v, openBlock as l, createElementBlock as d, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as E, toDisplayString as B, isRef as ce, createCommentVNode as r, Fragment as I, renderList as A, createBlock as K, mergeProps as re } from "vue";
2
- import V from "../../typography/v4/Typography.vue.js";
3
- import ue from "../../skeleton/v4/SkeletonV4.vue.js";
4
- import he from "../../emptyState/v4/EmptyStateV4.vue.js";
5
- import z from "../../checkbox/v4/CheckboxV4.vue.js";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_26488faf_lang.css"; import { defineComponent as ne, useCssVars as ce, unref as t, useSlots as re, computed as g, openBlock as i, createElementBlock as o, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as B, toDisplayString as E, isRef as ue, createCommentVNode as r, Fragment as I, renderList as p, mergeProps as V, createBlock as z } from "vue";
2
+ import A from "../../typography/v4/Typography.vue.js";
3
+ import he from "../../skeleton/v4/SkeletonV4.vue.js";
4
+ import ye from "../../emptyState/v4/EmptyStateV4.vue.js";
5
+ import G from "../../checkbox/v4/CheckboxV4.vue.js";
6
6
  import { TableTestIdModifiers as S } from "../../../testids/index.js";
7
- import { tableCommon as ye } from "../common/Table.common.js";
8
- import fe from "./SortIcon.vue.js";
9
- import Se from "./HelpIcon.vue.js";
10
- import ke from "./ExpandRowToggle.vue.js";
11
- import me from "../../search/v4/SearchV4.vue.js";
12
- import { useVModel as ge } from "@vueuse/core";
13
- const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], Ce = ["data-testid"], xe = { class: "search-wrapper" }, Te = ["data-testid"], we = ["data-testid"], Ee = {
14
- key: 0,
15
- class: "checkbox-cell"
16
- }, Be = {
7
+ import { tableCommon as fe } from "../common/Table.common.js";
8
+ import Se from "./SortIcon.vue.js";
9
+ import ke from "./HelpIcon.vue.js";
10
+ import me from "./ExpandRowToggle.vue.js";
11
+ import ge from "../../search/v4/SearchV4.vue.js";
12
+ import { useVModel as ve } from "@vueuse/core";
13
+ import { CHECKBOX_COLUMN_ID as be } from "../common/consts.js";
14
+ const Ce = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], xe = ["data-testid"], Te = ["data-testid"], we = { class: "search-wrapper" }, Be = ["data-testid"], Ee = ["data-testid"], Ie = {
17
15
  key: 1,
18
16
  class: "expand-toggle-cell"
19
- }, Ie = ["onClick"], Ae = { class: "table-head-container" }, Ve = ["data-testid"], pe = ["onMouseenter", "onClick"], Le = {
20
- key: 0,
21
- class: "checkbox-cell"
22
- }, Me = {
17
+ }, pe = ["onClick"], Ae = { class: "table-head-container" }, Le = ["data-testid"], Me = ["onMouseenter", "onClick"], Pe = {
23
18
  key: 1,
24
19
  class: "expand-toggle-cell"
25
- }, Pe = {
20
+ }, Ve = {
26
21
  key: 2,
27
22
  class: "expanded-row"
28
23
  }, He = {
29
24
  key: 3,
30
25
  class: "floating-row"
31
- }, Fe = { key: 1 }, Ne = {
26
+ }, Ne = { key: 1 }, Fe = {
32
27
  key: 0,
33
28
  class: "table-footer"
34
- }, Xe = /* @__PURE__ */ de({
29
+ }, Ze = /* @__PURE__ */ ne({
35
30
  __name: "DataGrid",
36
31
  props: {
37
32
  title: { default: "" },
@@ -61,78 +56,86 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
61
56
  searchAutoFocus: { type: Boolean, default: !1 },
62
57
  zIndexBase: { default: 100 },
63
58
  rowCustomClassKey: { default: "" },
64
- rowDataKey: { default: "" }
59
+ rowDataKey: { default: "" },
60
+ isSelectionSticky: { type: Boolean, default: !1 },
61
+ isSelectionBordered: { type: Boolean, default: !1 }
65
62
  },
66
63
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
67
64
  setup(s, { expose: k, emit: y }) {
68
- const i = s;
69
- oe((a) => ({
70
- "158e1032": s.zIndexBase,
71
- db8e3dca: t(X),
72
- a15dcd58: t(P),
73
- f7400c48: t(J)
65
+ const a = s;
66
+ ce((l) => ({
67
+ "7552e08c": s.zIndexBase,
68
+ "7f4c0eae": t(_),
69
+ b761a3b2: t(N),
70
+ "79122e22": t(Z)
74
71
  }));
75
- const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
76
- list: M,
77
- containerProps: G,
78
- wrapperProps: Y,
79
- activeRow: $,
80
- gridColumnTemplate: P,
81
- toggleSortOrder: Q,
82
- columnsStickyPositions: H,
83
- hasSearchSlot: W,
84
- containerStyle: j,
72
+ const b = re(), Y = (l) => a.rowCustomClassKey && a.rows[l] ? a.rows[l][a.rowCustomClassKey] : "", {
73
+ list: H,
74
+ containerProps: Q,
75
+ wrapperProps: W,
76
+ activeRow: C,
77
+ gridColumnTemplate: N,
78
+ toggleSortOrder: X,
79
+ columnsStickyPositions: L,
80
+ hasSearchSlot: j,
81
+ containerStyle: q,
85
82
  onScroll: F,
86
- savingRows: N,
87
- hasExpandSlot: R,
88
- toggleExpandRow: q,
89
- cssRowHeight: J,
90
- cssExpandGridCol: X,
91
- isRowExpanded: p,
92
- hasCheckboxes: O,
93
- activeMenuRow: Z,
94
- scrollTo: _
95
- } = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0), L = v(() => {
96
- const a = i.rows.map((o, e) => i.getRowId(o, e));
97
- return !!a.length && a.every((o) => C(o));
98
- }), C = (a) => i.selection.findIndex((o) => i.selectedMatcher(a, o)) !== -1, te = (a) => {
99
- C(a) ? (x(
100
- i.selection.filter(
101
- (o) => !i.selectedMatcher(a, o)
83
+ savingRows: O,
84
+ hasExpandSlot: $,
85
+ toggleExpandRow: J,
86
+ cssRowHeight: Z,
87
+ cssExpandGridCol: _,
88
+ isRowExpanded: M,
89
+ hasCheckboxes: D,
90
+ activeMenuRow: ee,
91
+ scrollTo: te
92
+ } = fe(a, y), K = g(() => !!b.footer), v = ve(a, "search", y), se = g(() => a.selection.length || 0), P = g(() => {
93
+ const l = a.rows.map((d, e) => a.getRowId(d, e));
94
+ return !!l.length && l.every((d) => R(d));
95
+ }), R = (l) => a.selection.findIndex((d) => a.selectedMatcher(l, d)) !== -1, le = (l) => {
96
+ R(l) ? (x(
97
+ a.selection.filter(
98
+ (d) => !a.selectedMatcher(l, d)
102
99
  )
103
- ), y("selectRow", !1)) : (x([...i.selection, a]), y("selectRow", !0));
104
- }, se = () => {
105
- if (L.value)
100
+ ), y("selectRow", !1)) : (x([...a.selection, l]), y("selectRow", !0));
101
+ }, ae = () => {
102
+ if (P.value)
106
103
  x([]), y("selectAll", !1);
107
104
  else {
108
- const a = i.rows.map((o, e) => i.getRowId(o, e)).filter((o) => !C(o));
109
- x([...i.selection, ...a]), y("selectAll", !0);
105
+ const l = a.rows.map((d, e) => a.getRowId(d, e)).filter((d) => !R(d));
106
+ x([...a.selection, ...l]), y("selectAll", !0);
110
107
  }
111
- }, x = (a) => {
112
- y("update:selection", a);
113
- }, ae = (a) => !i.isLoading && $.value === a, le = v(
114
- () => i.emptyStateVariant ?? (g.value ? "no-results" : "no-data")
115
- ), ie = v(
116
- () => i.emptyStateSubtitle ? i.emptyStateSubtitle : g.value ? "Search again with different filters" : void 0
117
- );
108
+ }, x = (l) => {
109
+ y("update:selection", l);
110
+ }, ie = (l) => !a.isLoading && C.value === l, oe = g(
111
+ () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
112
+ ), de = g(
113
+ () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
114
+ ), U = g(() => ({
115
+ class: {
116
+ sticky: a.isSelectionSticky,
117
+ bordered: a.isSelectionBordered
118
+ },
119
+ style: a.isSelectionSticky ? L.value[be] : null
120
+ }));
118
121
  return k({
119
- scrollTo: _
120
- }), (a, o) => (l(), d("div", {
122
+ scrollTo: te
123
+ }), (l, d) => (i(), o("div", {
121
124
  class: "table-container",
122
125
  "data-testid": `${s.testId}-${t(S).CONTAINER}`,
123
- onMouseleave: o[3] || (o[3] = (e) => $.value = null)
126
+ onMouseleave: d[3] || (d[3] = (e) => C.value = null)
124
127
  }, [
125
128
  u("table", {
126
- ref: t(G).ref,
127
- style: T(t(j)),
129
+ ref: t(Q).ref,
130
+ style: T(t(q)),
128
131
  class: f({
129
- hasFooter: t(D)
132
+ hasFooter: t(K)
130
133
  }),
131
134
  "data-testid": `${s.testId}-${t(S).TABLE}`,
132
- onScrollPassive: o[2] || (o[2] = //@ts-ignore
135
+ onScrollPassive: d[2] || (d[2] = //@ts-ignore
133
136
  (...e) => t(F) && t(F)(...e))
134
137
  }, [
135
- s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), d("div", {
138
+ s.title || t(b).title || t(j) || t(b)["table-header-actions"] ? (i(), o("div", {
136
139
  key: 0,
137
140
  class: f(["table-header", { isStickyHeader: s.isStickyHeader }]),
138
141
  "data-testid": `${s.testId}-${t(S).HEADER}`
@@ -141,40 +144,40 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
141
144
  class: "table-title",
142
145
  "data-testid": `${s.testId}-${t(S).TITLE}`
143
146
  }, [
144
- c(a.$slots, "title", {}, () => [
145
- h(t(V), { variant: "h3" }, {
147
+ c(l.$slots, "title", {}, () => [
148
+ h(t(A), { variant: "h3" }, {
146
149
  default: w(() => [
147
- E(B(s.title), 1)
150
+ B(E(s.title), 1)
148
151
  ]),
149
152
  _: 1
150
153
  })
151
154
  ])
152
- ], 8, Re),
155
+ ], 8, xe),
153
156
  u("div", {
154
157
  class: "table-header-right",
155
158
  "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
156
159
  }, [
157
- s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
158
- u("div", xe, [
159
- h(t(me), {
160
- modelValue: t(g),
161
- "onUpdate:modelValue": o[0] || (o[0] = (e) => ce(g) ? g.value = e : null),
160
+ s.showSearch ? c(l.$slots, "search", { key: 0 }, () => [
161
+ u("div", we, [
162
+ h(t(ge), {
163
+ modelValue: t(v),
164
+ "onUpdate:modelValue": d[0] || (d[0] = (e) => ue(v) ? v.value = e : null),
162
165
  placeholder: s.searchPlaceholder,
163
166
  "auto-focus": s.searchAutoFocus,
164
167
  "test-id": s.testId,
165
- onOnClear: o[1] || (o[1] = (e) => y("onClearSearch"))
168
+ onOnClear: d[1] || (d[1] = (e) => y("onClearSearch"))
166
169
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
167
170
  ])
168
171
  ]) : r("", !0)
169
- ], 8, Ce),
170
- t(b)["table-header-actions"] ? (l(), d("div", {
172
+ ], 8, Te),
173
+ t(b)["table-header-actions"] ? (i(), o("div", {
171
174
  key: 0,
172
175
  class: "table-header-actions",
173
176
  "data-testid": `${s.testId}-${t(S).ACTIONS}`
174
177
  }, [
175
- c(a.$slots, "table-header-actions")
176
- ], 8, Te)) : r("", !0)
177
- ], 10, $e)) : r("", !0),
178
+ c(l.$slots, "table-header-actions")
179
+ ], 8, Be)) : r("", !0)
180
+ ], 10, Re)) : r("", !0),
178
181
  u("thead", {
179
182
  class: f({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
180
183
  }, [
@@ -182,38 +185,41 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
182
185
  class: "sections",
183
186
  "data-testid": `${s.testId}-${t(S).SECTIONS}`
184
187
  }, [
185
- (l(!0), d(I, null, A(s.sections, (e) => (l(), d("div", {
188
+ (i(!0), o(I, null, p(s.sections, (e) => (i(), o("div", {
186
189
  key: e.id,
187
190
  class: f(["section-container", { sticky: e.isSticky }])
188
191
  }, [
189
- c(a.$slots, `section-${e.id}`, {}, () => [
192
+ c(l.$slots, `section-${e.id}`, {}, () => [
190
193
  u("div", {
191
194
  style: T({ width: e.width + "px" }),
192
195
  class: f({ section: !0 })
193
196
  }, [
194
- h(t(V), { variant: "body2" }, {
197
+ h(t(A), { variant: "body2" }, {
195
198
  default: w(() => [
196
- E(B(e.title), 1)
199
+ B(E(e.title), 1)
197
200
  ]),
198
201
  _: 2
199
202
  }, 1024)
200
203
  ], 4)
201
204
  ])
202
205
  ], 2))), 128))
203
- ], 8, we),
206
+ ], 8, Ee),
204
207
  u("tr", null, [
205
- t(O) ? (l(), d("th", Ee, [
206
- c(a.$slots, "select-all-checkbox", {}, () => [
207
- h(t(z), {
208
+ t(D) ? (i(), o("th", V({
209
+ key: 0,
210
+ class: "checkbox-cell"
211
+ }, t(U)), [
212
+ c(l.$slots, "select-all-checkbox", {}, () => [
213
+ h(t(G), {
208
214
  disabled: s.isLoading,
209
- "is-checked": t(L),
210
- "is-indeterminate": !t(L) && t(ee) > 0,
211
- "onUpdate:isChecked": se
215
+ "is-checked": t(P),
216
+ "is-indeterminate": !t(P) && t(se) > 0,
217
+ "onUpdate:isChecked": ae
212
218
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
213
219
  ])
214
- ])) : r("", !0),
215
- t(R) ? (l(), d("th", Be)) : r("", !0),
216
- (l(!0), d(I, null, A(s.columns, (e) => (l(), d("th", {
220
+ ], 16)) : r("", !0),
221
+ t($) ? (i(), o("th", Ie)) : r("", !0),
222
+ (i(!0), o(I, null, p(s.columns, (e) => (i(), o("th", {
217
223
  key: e.id,
218
224
  class: f({
219
225
  sticky: e.isSticky,
@@ -223,62 +229,65 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
223
229
  isSortable: e.isSortable,
224
230
  [`column-${e.id}`]: !0
225
231
  }),
226
- style: T(e.isSticky ? t(H)[e.id] : null),
227
- onClick: (m) => e.isSortable ? t(Q)(e) : null
232
+ style: T(e.isSticky ? t(L)[e.id] : null),
233
+ onClick: (m) => e.isSortable ? t(X)(e) : null
228
234
  }, [
229
235
  u("div", Ae, [
230
- c(a.$slots, `header-${e.id}`, { column: e }, () => [
231
- h(t(V), { variant: "tableLabel" }, {
236
+ c(l.$slots, `header-${e.id}`, { column: e }, () => [
237
+ h(t(A), { variant: "tableLabel" }, {
232
238
  default: w(() => [
233
- E(B(e.title), 1)
239
+ B(E(e.title), 1)
234
240
  ]),
235
241
  _: 2
236
242
  }, 1024)
237
243
  ]),
238
- e.helpText ? (l(), K(Se, {
244
+ e.helpText ? (i(), z(ke, {
239
245
  key: 0,
240
246
  "hover-help-text": e.helpText,
241
247
  "hover-help-text-placement": e.helpTextPlacement
242
248
  }, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
243
- e.isSortable && e.id === s.sort?.sortBy ? (l(), K(fe, {
249
+ e.isSortable && e.id === s.sort?.sortBy ? (i(), z(Se, {
244
250
  key: 1,
245
251
  "sort-order": s.sort.sortOrder
246
252
  }, null, 8, ["sort-order"])) : r("", !0)
247
253
  ])
248
- ], 14, Ie))), 128))
254
+ ], 14, pe))), 128))
249
255
  ])
250
256
  ], 2),
251
257
  u("tbody", null, [
252
- t(M).length > 0 ? (l(), d("div", re({
258
+ t(H).length > 0 ? (i(), o("div", V({
253
259
  key: 0,
254
260
  class: "table-body-wrapper",
255
261
  "data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
256
- }, t(Y)), [
257
- (l(!0), d(I, null, A(t(M), (e) => (l(), d("tr", {
262
+ }, t(W)), [
263
+ (i(!0), o(I, null, p(t(H), (e) => (i(), o("tr", {
258
264
  key: s.getRowKey(e.data, e.index),
259
265
  class: f(["table-row", {
260
- loading: s.isLoading || s.isLoading && !e.data || t(N).includes(e.index),
261
- active: t($) === e.index,
262
- activeMenu: t(Z) === e.index,
263
- expanded: t(R) && t(p)(e.index),
264
- [U(e.index)]: !0
266
+ loading: s.isLoading || s.isLoading && !e.data || t(O).includes(e.index),
267
+ active: t(C) === e.index,
268
+ activeMenu: t(ee) === e.index,
269
+ expanded: t($) && t(M)(e.index),
270
+ [Y(e.index)]: !0
265
271
  }]),
266
- onMouseenter: (m) => $.value = e.index,
272
+ onMouseenter: (m) => C.value = e.index,
267
273
  onClick: (m) => y("clickRow", e.index)
268
274
  }, [
269
- t(O) ? (l(), d("td", Le, [
270
- h(t(z), {
271
- "is-checked": C(s.getRowId(e.data, e.index)),
272
- "onUpdate:isChecked": (m) => te(s.getRowId(e.data, e.index))
275
+ t(D) ? (i(), o("td", V({
276
+ key: 0,
277
+ class: "checkbox-cell"
278
+ }, t(U)), [
279
+ h(t(G), {
280
+ "is-checked": R(s.getRowId(e.data, e.index)),
281
+ "onUpdate:isChecked": (m) => le(s.getRowId(e.data, e.index))
273
282
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
274
- ])) : r("", !0),
275
- t(R) ? (l(), d("td", Me, [
276
- h(ke, {
277
- expanded: t(p)(e.index),
278
- onClick: (m) => t(q)(e.index, m)
283
+ ], 16)) : r("", !0),
284
+ t($) ? (i(), o("td", Pe, [
285
+ h(me, {
286
+ expanded: t(M)(e.index),
287
+ onClick: (m) => t(J)(e.index, m)
279
288
  }, null, 8, ["expanded", "onClick"])
280
289
  ])) : r("", !0),
281
- (l(!0), d(I, null, A(s.columns, (m, n) => (l(), d("td", {
290
+ (i(!0), o(I, null, p(s.columns, (m, n) => (i(), o("td", {
282
291
  key: n,
283
292
  class: f({
284
293
  sticky: s.columns[n].isSticky,
@@ -288,63 +297,63 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
288
297
  [`column-${s.columns[n].id}`]: !0
289
298
  }),
290
299
  style: T(
291
- s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
300
+ s.columns[n].isSticky ? t(L)[s.columns[n].id] : null
292
301
  )
293
302
  }, [
294
- !s.isLoading || s.isLoading && e.data[n] ? (l(), d("div", {
303
+ !s.isLoading || s.isLoading && e.data[n] ? (i(), o("div", {
295
304
  key: 0,
296
305
  class: f(["table-cell", { last: n === e.data.length - 1 }])
297
306
  }, [
298
- c(a.$slots, `cell-${s.columns[n].id}`, {
307
+ c(l.$slots, `cell-${s.columns[n].id}`, {
299
308
  cell: e.data[n],
300
- isLoading: t(N).includes(e.index),
309
+ isLoading: t(O).includes(e.index),
301
310
  cellIndex: n,
302
311
  row: e,
303
312
  rowIndex: e.index
304
313
  }, () => [
305
- h(t(V), { variant: "body1" }, {
314
+ h(t(A), { variant: "body1" }, {
306
315
  default: w(() => [
307
- E(B(e.data[n]), 1)
316
+ B(E(e.data[n]), 1)
308
317
  ]),
309
318
  _: 2
310
319
  }, 1024)
311
320
  ])
312
- ], 2)) : c(a.$slots, "loader", { key: 1 }, () => [
313
- h(t(ue), { round: "" })
321
+ ], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
322
+ h(t(he), { round: "" })
314
323
  ])
315
324
  ], 6))), 128)),
316
- t(R) && t(p)(e.index) ? (l(), d("div", Pe, [
317
- c(a.$slots, "expanded", {
325
+ t($) && t(M)(e.index) ? (i(), o("div", Ve, [
326
+ c(l.$slots, "expanded", {
318
327
  row: e,
319
- gridColumnTemplate: t(P)
328
+ gridColumnTemplate: t(N)
320
329
  })
321
330
  ])) : r("", !0),
322
- ae(e.index) ? (l(), d("div", He, [
323
- c(a.$slots, "floating-row", {
331
+ ie(e.index) ? (i(), o("div", He, [
332
+ c(l.$slots, "floating-row", {
324
333
  row: e,
325
334
  rowIndex: e.index
326
335
  })
327
336
  ])) : r("", !0)
328
- ], 42, pe))), 128))
329
- ], 16, Ve)) : (l(), d("div", Fe, [
330
- c(a.$slots, "empty-state", {}, () => [
331
- h(t(he), {
337
+ ], 42, Me))), 128))
338
+ ], 16, Le)) : (i(), o("div", Ne, [
339
+ c(l.$slots, "empty-state", {}, () => [
340
+ h(t(ye), {
332
341
  class: "empty-state",
333
342
  title: s.emptyStateTitle,
334
- subtitle: t(ie),
335
- variant: t(le),
343
+ subtitle: t(de),
344
+ variant: t(oe),
336
345
  "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
337
346
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
338
347
  ])
339
348
  ]))
340
349
  ])
341
- ], 46, be),
342
- t(D) ? (l(), d("div", Ne, [
343
- c(a.$slots, "footer")
350
+ ], 46, $e),
351
+ t(K) ? (i(), o("div", Fe, [
352
+ c(l.$slots, "footer")
344
353
  ])) : r("", !0)
345
- ], 40, ve));
354
+ ], 40, Ce));
346
355
  }
347
356
  });
348
357
  export {
349
- Xe as default
358
+ Ze as default
350
359
  };
@@ -1,7 +1,7 @@
1
- import e from "./DataGridMenu.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-a6e4672f"]]);
1
+ import o from "./DataGridMenu.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css"; //*');
4
+ const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-ddfaf207"]]);
5
5
  export {
6
- s as default
6
+ d as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_a6e4672f_lang.css"; import { defineComponent as u, onBeforeUnmount as f, openBlock as x, createBlock as w, unref as o, withCtx as r, createVNode as c, createSlots as I, createTextVNode as v, toDisplayString as M } from "vue";
1
+ import "../../../DataGridMenu.vue_vue_type_style_index_0_scoped_ddfaf207_lang.css"; import { defineComponent as u, onBeforeUnmount as f, openBlock as x, createBlock as w, unref as o, withCtx as r, createVNode as c, createSlots as I, createTextVNode as v, toDisplayString as M } from "vue";
2
2
  import g from "../../dropdown/v4/DropdownV4.vue.js";
3
3
  import "../../dropdown/v4/DefaultDropdownTrigger.vue.js";
4
4
  import "../../dropdown/v4/IconButtonDropdownTrigger.vue.js";
@@ -8,7 +8,7 @@ import "../../dropdown/v4/ButtonDropdownTrigger.vue.js";
8
8
  import "../../dropdown/v4/ButtonFilterDropdownTrigger.vue.js";
9
9
  import "../../dropdown/v4/TreeDropdown.vue.js";
10
10
  import C from "../../dropdown/v4/OptionV4.vue.js";
11
- import "../../dropdown/v4/ConditionalDroprown.vue.js";
11
+ import "../../dropdown/v4/ConditionalDropdown.vue.js";
12
12
  import k from "../../icon/v4/IconV4.vue.js";
13
13
  import "../../icon/v4/IconFlag.vue.js";
14
14
  import { useTableContext as y } from "../common/TableContext.js";
@@ -118,11 +118,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
118
118
  loadingRowCount: number;
119
119
  emptyStateTitle: string;
120
120
  isSticky: boolean;
121
+ zIndexBase: number;
121
122
  emptyStateSubtitle: string;
122
123
  getRowId: (row: Row, index: number) => unknown;
123
124
  getRowKey: (row: Row, index: number) => string | number;
124
125
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
125
- zIndexBase: number;
126
126
  rowCustomClassKey: string;
127
127
  rowDataKey: string;
128
128
  totalCount: number;