@ironsource/shared-ui 2.1.11-test.41 → 2.1.11-test.45

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