@ironsource/shared-ui 2.1.11-rc.24 → 2.1.11-rc.26

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 (39) hide show
  1. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_f9a13e27_lang.css +1 -0
  2. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_039dd922_lang.css +1 -0
  3. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_2aee12ad_lang.css +1 -0
  4. package/DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_lang.css +1 -0
  5. package/DropdownV4.vue_vue_type_style_index_0_scoped_6466948d_lang.css +1 -0
  6. package/OptionV4.vue_vue_type_style_index_0_scoped_2c2947b3_lang.css +1 -0
  7. package/components/dropdown/common/Dropdown.common.js +141 -135
  8. package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
  9. package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +6 -6
  10. package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +10 -0
  11. package/components/dropdown/v4/ChipDropdownTrigger.vue.js +3 -3
  12. package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +36 -32
  13. package/components/dropdown/v4/ConditionalDropdown.vue.d.ts +10 -0
  14. package/components/dropdown/v4/ConditionalDropdown.vue.js +3 -3
  15. package/components/dropdown/v4/ConditionalDropdown.vue2.js +100 -77
  16. package/components/dropdown/v4/DropdownV4.vue.d.ts +11 -0
  17. package/components/dropdown/v4/DropdownV4.vue.js +3 -3
  18. package/components/dropdown/v4/DropdownV4.vue2.js +27 -25
  19. package/components/dropdown/v4/OptionV4.vue.js +2 -2
  20. package/components/dropdown/v4/OptionV4.vue2.js +2 -2
  21. package/components/dropdown/v4/index.d.ts +81 -2
  22. package/components/table/common/Table.common.js +61 -61
  23. package/components/table/common/Table.types.d.ts +1 -1
  24. package/components/table/v3/Table.vue.d.ts +1 -1
  25. package/components/table/v3/index.d.ts +5 -5
  26. package/components/table/v4/DataGrid.vue.d.ts +6 -1
  27. package/components/table/v4/DataGrid.vue.js +4 -4
  28. package/components/table/v4/DataGrid.vue2.js +124 -117
  29. package/components/table/v4/index.d.ts +25 -6
  30. package/index.d.ts +222 -26
  31. package/index.js +1 -1
  32. package/mocks/words.d.ts +1 -1
  33. package/package.json +1 -1
  34. package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +0 -1
  35. package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_ba28c717_lang.css +0 -1
  36. package/ConditionalDropdown.vue_vue_type_style_index_0_scoped_3d7ef976_lang.css +0 -1
  37. package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +0 -1
  38. package/DropdownV4.vue_vue_type_style_index_0_scoped_b1bde483_lang.css +0 -1
  39. package/OptionV4.vue_vue_type_style_index_0_scoped_df830bf5_lang.css +0 -1
@@ -81,10 +81,10 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
81
81
  default: any;
82
82
  };
83
83
  }>> & {
84
+ onLoadMore?: () => any;
84
85
  onOnScroll?: (event: Event) => any;
85
86
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
86
87
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
87
- onLoadMore?: () => any;
88
88
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition">;
89
89
  $attrs: {
90
90
  [x: string]: unknown;
@@ -97,7 +97,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
97
97
  }>;
98
98
  $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
99
99
  $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
100
- $emit: ((event: "onScroll", event: Event) => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void) & ((event: "loadMore") => void);
100
+ $emit: ((event: "onScroll", event: Event) => void) & ((event: "loadMore") => void) & ((event: "update:sort", newSort: import("../common/Table.types").Sort) => void) & ((event: "saveRow", args_0: import("../common/Table.types").SaveRowEvent) => void);
101
101
  $el: any;
102
102
  $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
103
103
  sort: {
@@ -165,10 +165,10 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
165
165
  default: any;
166
166
  };
167
167
  }>> & {
168
+ onLoadMore?: () => any;
168
169
  onOnScroll?: (event: Event) => any;
169
170
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
170
171
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
171
- onLoadMore?: () => any;
172
172
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
173
173
  "update:sort": (newSort: import("../common/Table.types").Sort) => void;
174
174
  onScroll: (event: Event) => void;
@@ -273,10 +273,10 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
273
273
  default: any;
274
274
  };
275
275
  }>> & {
276
+ onLoadMore?: () => any;
276
277
  onOnScroll?: (event: Event) => any;
277
278
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
278
279
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
279
- onLoadMore?: () => any;
280
280
  } & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
281
281
  __isFragment?: never;
282
282
  __isTeleport?: never;
@@ -347,10 +347,10 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
347
347
  default: any;
348
348
  };
349
349
  }>> & {
350
+ onLoadMore?: () => any;
350
351
  onOnScroll?: (event: Event) => any;
351
352
  "onUpdate:sort"?: (newSort: import("../common/Table.types").Sort) => any;
352
353
  onSaveRow?: (args_0: import("../common/Table.types").SaveRowEvent) => any;
353
- onLoadMore?: () => any;
354
354
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
355
355
  "update:sort": (newSort: import("../common/Table.types").Sort) => void;
356
356
  onScroll: (event: Event) => void;
@@ -11,6 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
11
11
  selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
12
12
  isSticky?: boolean;
13
13
  isStickyHeader?: boolean;
14
+ isSelectionSticky?: boolean;
14
15
  isLoading?: boolean;
15
16
  emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
16
17
  emptyStateTitle?: string;
@@ -33,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
34
  sort: any;
34
35
  isSticky: boolean;
35
36
  isStickyHeader: boolean;
37
+ isSelectionSticky: boolean;
36
38
  sections: any;
37
39
  isLoading: boolean;
38
40
  emptyStateVariant: any;
@@ -80,6 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
80
82
  selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
81
83
  isSticky?: boolean;
82
84
  isStickyHeader?: boolean;
85
+ isSelectionSticky?: boolean;
83
86
  isLoading?: boolean;
84
87
  emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
85
88
  emptyStateTitle?: string;
@@ -102,6 +105,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
102
105
  sort: any;
103
106
  isSticky: boolean;
104
107
  isStickyHeader: boolean;
108
+ isSelectionSticky: boolean;
105
109
  sections: any;
106
110
  isLoading: boolean;
107
111
  emptyStateVariant: any;
@@ -126,11 +130,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
126
130
  rowDataKey: string;
127
131
  }>>> & {
128
132
  onSelectAll?: (value: boolean) => any;
133
+ onLoadMore?: () => any;
129
134
  "onUpdate:search"?: (query: string) => any;
130
135
  onOnScroll?: (event: Event) => any;
131
136
  "onUpdate:sort"?: (newSort: Sort) => any;
132
137
  onSaveRow?: (args_0: SaveRowEvent) => any;
133
- onLoadMore?: () => any;
134
138
  onOnClearSearch?: () => any;
135
139
  "onUpdate:selection"?: (selection: unknown[]) => any;
136
140
  onSelectRow?: (value: boolean) => any;
@@ -158,6 +162,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
158
162
  getRowId: (row: Row, index: number) => unknown;
159
163
  getRowKey: (row: Row, index: number) => string | number;
160
164
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
165
+ isSelectionSticky: boolean;
161
166
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
162
167
  zIndexBase: number;
163
168
  rowCustomClassKey: string;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
- /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css"; //*');
4
- const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-0cd8af73"]]);
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-e7591db4"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };
@@ -1,4 +1,4 @@
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";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_e7591db4_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
2
  import V from "../../typography/v4/Typography.vue.js";
3
3
  import ue from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import he from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -11,27 +11,21 @@ import ke from "./ExpandRowToggle.vue.js";
11
11
  import me from "../../search/v4/SearchV4.vue.js";
12
12
  import { useVModel as ge } from "@vueuse/core";
13
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 = {
17
14
  key: 1,
18
15
  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 = {
16
+ }, Be = ["onClick"], Ie = { class: "table-head-container" }, Ae = ["data-testid"], Ve = ["onMouseenter", "onClick"], Le = {
23
17
  key: 1,
24
18
  class: "expand-toggle-cell"
25
- }, Pe = {
19
+ }, Me = {
26
20
  key: 2,
27
21
  class: "expanded-row"
28
- }, He = {
22
+ }, Pe = {
29
23
  key: 3,
30
24
  class: "floating-row"
31
- }, Fe = { key: 1 }, Ne = {
25
+ }, He = { key: 1 }, Fe = {
32
26
  key: 0,
33
27
  class: "table-footer"
34
- }, Xe = /* @__PURE__ */ de({
28
+ }, qe = /* @__PURE__ */ de({
35
29
  __name: "DataGrid",
36
30
  props: {
37
31
  title: { default: "" },
@@ -45,6 +39,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
45
39
  selectedMatcher: { type: Function, default: (s, k) => s === k },
46
40
  isSticky: { type: Boolean, default: !0 },
47
41
  isStickyHeader: { type: Boolean, default: !1 },
42
+ isSelectionSticky: { type: Boolean, default: !1 },
48
43
  isLoading: { type: Boolean, default: !1 },
49
44
  emptyStateVariant: { default: null },
50
45
  emptyStateTitle: { default: "No data to display" },
@@ -64,85 +59,85 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
64
59
  rowDataKey: { default: "" }
65
60
  },
66
61
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
67
- setup(s, { expose: k, emit: y }) {
62
+ setup(s, { expose: k, emit: f }) {
68
63
  const i = s;
69
- oe((a) => ({
70
- "158e1032": s.zIndexBase,
71
- db8e3dca: t(X),
72
- a15dcd58: t(P),
73
- f7400c48: t(J)
64
+ oe((l) => ({
65
+ "636ded5a": s.zIndexBase,
66
+ b8e29764: t(X),
67
+ "7b022872": t(H),
68
+ "392d5e8f": t(J)
74
69
  }));
75
- const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
76
- list: M,
70
+ const b = ne(), U = (l) => i.rowCustomClassKey && i.rows[l] ? i.rows[l][i.rowCustomClassKey] : "", {
71
+ list: P,
77
72
  containerProps: G,
78
73
  wrapperProps: Y,
79
74
  activeRow: $,
80
- gridColumnTemplate: P,
75
+ gridColumnTemplate: H,
81
76
  toggleSortOrder: Q,
82
- columnsStickyPositions: H,
77
+ columnsStickyPositions: F,
83
78
  hasSearchSlot: W,
84
79
  containerStyle: j,
85
- onScroll: F,
86
- savingRows: N,
80
+ onScroll: N,
81
+ savingRows: p,
87
82
  hasExpandSlot: R,
88
83
  toggleExpandRow: q,
89
84
  cssRowHeight: J,
90
85
  cssExpandGridCol: X,
91
- isRowExpanded: p,
86
+ isRowExpanded: L,
92
87
  hasCheckboxes: O,
93
88
  activeMenuRow: Z,
94
89
  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(
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(
100
95
  i.selection.filter(
101
- (o) => !i.selectedMatcher(a, o)
96
+ (o) => !i.selectedMatcher(l, o)
102
97
  )
103
- ), y("selectRow", !1)) : (x([...i.selection, a]), y("selectRow", !0));
98
+ ), f("selectRow", !1)) : (x([...i.selection, l]), f("selectRow", !0));
104
99
  }, se = () => {
105
- if (L.value)
106
- x([]), y("selectAll", !1);
100
+ if (M.value)
101
+ x([]), f("selectAll", !1);
107
102
  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);
103
+ const l = i.rows.map((o, e) => i.getRowId(o, e)).filter((o) => !C(o));
104
+ x([...i.selection, ...l]), f("selectAll", !0);
110
105
  }
111
- }, x = (a) => {
112
- y("update:selection", a);
113
- }, ae = (a) => !i.isLoading && $.value === a, le = v(
106
+ }, x = (l) => {
107
+ f("update:selection", l);
108
+ }, le = (l) => !i.isLoading && $.value === l, ae = v(
114
109
  () => i.emptyStateVariant ?? (g.value ? "no-results" : "no-data")
115
110
  ), ie = v(
116
111
  () => i.emptyStateSubtitle ? i.emptyStateSubtitle : g.value ? "Search again with different filters" : void 0
117
112
  );
118
113
  return k({
119
114
  scrollTo: _
120
- }), (a, o) => (l(), d("div", {
115
+ }), (l, o) => (a(), d("div", {
121
116
  class: "table-container",
122
117
  "data-testid": `${s.testId}-${t(S).CONTAINER}`,
123
118
  onMouseleave: o[3] || (o[3] = (e) => $.value = null)
124
119
  }, [
125
- u("table", {
120
+ h("table", {
126
121
  ref: t(G).ref,
127
122
  style: T(t(j)),
128
- class: f({
123
+ class: u({
129
124
  hasFooter: t(D)
130
125
  }),
131
126
  "data-testid": `${s.testId}-${t(S).TABLE}`,
132
127
  onScrollPassive: o[2] || (o[2] = //@ts-ignore
133
- (...e) => t(F) && t(F)(...e))
128
+ (...e) => t(N) && t(N)(...e))
134
129
  }, [
135
- s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), d("div", {
130
+ s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (a(), d("div", {
136
131
  key: 0,
137
- class: f(["table-header", { isStickyHeader: s.isStickyHeader }]),
132
+ class: u(["table-header", { isStickyHeader: s.isStickyHeader }]),
138
133
  "data-testid": `${s.testId}-${t(S).HEADER}`
139
134
  }, [
140
- u("div", {
135
+ h("div", {
141
136
  class: "table-title",
142
137
  "data-testid": `${s.testId}-${t(S).TITLE}`
143
138
  }, [
144
- c(a.$slots, "title", {}, () => [
145
- h(t(V), { variant: "h3" }, {
139
+ c(l.$slots, "title", {}, () => [
140
+ y(t(V), { variant: "h3" }, {
146
141
  default: w(() => [
147
142
  E(B(s.title), 1)
148
143
  ]),
@@ -150,48 +145,48 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
150
145
  })
151
146
  ])
152
147
  ], 8, Re),
153
- u("div", {
148
+ h("div", {
154
149
  class: "table-header-right",
155
150
  "data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
156
151
  }, [
157
- s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
158
- u("div", xe, [
159
- h(t(me), {
152
+ s.showSearch ? c(l.$slots, "search", { key: 0 }, () => [
153
+ h("div", xe, [
154
+ y(t(me), {
160
155
  modelValue: t(g),
161
156
  "onUpdate:modelValue": o[0] || (o[0] = (e) => ce(g) ? g.value = e : null),
162
157
  placeholder: s.searchPlaceholder,
163
158
  "auto-focus": s.searchAutoFocus,
164
159
  "test-id": s.testId,
165
- onOnClear: o[1] || (o[1] = (e) => y("onClearSearch"))
160
+ onOnClear: o[1] || (o[1] = (e) => f("onClearSearch"))
166
161
  }, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
167
162
  ])
168
163
  ]) : r("", !0)
169
164
  ], 8, Ce),
170
- t(b)["table-header-actions"] ? (l(), d("div", {
165
+ t(b)["table-header-actions"] ? (a(), d("div", {
171
166
  key: 0,
172
167
  class: "table-header-actions",
173
168
  "data-testid": `${s.testId}-${t(S).ACTIONS}`
174
169
  }, [
175
- c(a.$slots, "table-header-actions")
170
+ c(l.$slots, "table-header-actions")
176
171
  ], 8, Te)) : r("", !0)
177
172
  ], 10, $e)) : r("", !0),
178
- u("thead", {
179
- class: f({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
173
+ h("thead", {
174
+ class: u({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
180
175
  }, [
181
- u("div", {
176
+ h("div", {
182
177
  class: "sections",
183
178
  "data-testid": `${s.testId}-${t(S).SECTIONS}`
184
179
  }, [
185
- (l(!0), d(I, null, A(s.sections, (e) => (l(), d("div", {
180
+ (a(!0), d(I, null, A(s.sections, (e) => (a(), d("div", {
186
181
  key: e.id,
187
- class: f(["section-container", { sticky: e.isSticky }])
182
+ class: u(["section-container", { sticky: e.isSticky }])
188
183
  }, [
189
- c(a.$slots, `section-${e.id}`, {}, () => [
190
- u("div", {
184
+ c(l.$slots, `section-${e.id}`, {}, () => [
185
+ h("div", {
191
186
  style: T({ width: e.width + "px" }),
192
- class: f({ section: !0 })
187
+ class: u({ section: !0 })
193
188
  }, [
194
- h(t(V), { variant: "body2" }, {
189
+ y(t(V), { variant: "body2" }, {
195
190
  default: w(() => [
196
191
  E(B(e.title), 1)
197
192
  ]),
@@ -201,21 +196,27 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
201
196
  ])
202
197
  ], 2))), 128))
203
198
  ], 8, we),
204
- u("tr", null, [
205
- t(O) ? (l(), d("th", Ee, [
206
- c(a.$slots, "select-all-checkbox", {}, () => [
207
- h(t(z), {
199
+ h("tr", null, [
200
+ t(O) ? (a(), d("th", {
201
+ key: 0,
202
+ class: u([
203
+ "checkbox-cell",
204
+ { "checkbox-cell-sticky": s.isSelectionSticky }
205
+ ])
206
+ }, [
207
+ c(l.$slots, "select-all-checkbox", {}, () => [
208
+ y(t(z), {
208
209
  disabled: s.isLoading,
209
- "is-checked": t(L),
210
- "is-indeterminate": !t(L) && t(ee) > 0,
210
+ "is-checked": t(M),
211
+ "is-indeterminate": !t(M) && t(ee) > 0,
211
212
  "onUpdate:isChecked": se
212
213
  }, null, 8, ["disabled", "is-checked", "is-indeterminate"])
213
214
  ])
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", {
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", {
217
218
  key: e.id,
218
- class: f({
219
+ class: u({
219
220
  sticky: e.isSticky,
220
221
  isStickyRight: e.isStickyRight,
221
222
  bordered: e.isBordered,
@@ -223,64 +224,70 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
223
224
  isSortable: e.isSortable,
224
225
  [`column-${e.id}`]: !0
225
226
  }),
226
- style: T(e.isSticky ? t(H)[e.id] : null),
227
+ style: T(e.isSticky ? t(F)[e.id] : null),
227
228
  onClick: (m) => e.isSortable ? t(Q)(e) : null
228
229
  }, [
229
- u("div", Ae, [
230
- c(a.$slots, `header-${e.id}`, { column: e }, () => [
231
- h(t(V), { variant: "tableLabel" }, {
230
+ h("div", Ie, [
231
+ c(l.$slots, `header-${e.id}`, { column: e }, () => [
232
+ y(t(V), { variant: "tableLabel" }, {
232
233
  default: w(() => [
233
234
  E(B(e.title), 1)
234
235
  ]),
235
236
  _: 2
236
237
  }, 1024)
237
238
  ]),
238
- e.helpText ? (l(), K(Se, {
239
+ e.helpText ? (a(), K(Se, {
239
240
  key: 0,
240
241
  "hover-help-text": e.helpText,
241
242
  "hover-help-text-placement": e.helpTextPlacement
242
243
  }, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
243
- e.isSortable && e.id === s.sort?.sortBy ? (l(), K(fe, {
244
+ e.isSortable && e.id === s.sort?.sortBy ? (a(), K(fe, {
244
245
  key: 1,
245
246
  "sort-order": s.sort.sortOrder
246
247
  }, null, 8, ["sort-order"])) : r("", !0)
247
248
  ])
248
- ], 14, Ie))), 128))
249
+ ], 14, Be))), 128))
249
250
  ])
250
251
  ], 2),
251
- u("tbody", null, [
252
- t(M).length > 0 ? (l(), d("div", re({
252
+ h("tbody", null, [
253
+ t(P).length > 0 ? (a(), d("div", re({
253
254
  key: 0,
254
255
  class: "table-body-wrapper",
255
256
  "data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
256
257
  }, t(Y)), [
257
- (l(!0), d(I, null, A(t(M), (e) => (l(), d("tr", {
258
+ (a(!0), d(I, null, A(t(P), (e) => (a(), d("tr", {
258
259
  key: s.getRowKey(e.data, e.index),
259
- class: f(["table-row", {
260
- loading: s.isLoading || s.isLoading && !e.data || t(N).includes(e.index),
260
+ class: u(["table-row", {
261
+ loading: s.isLoading || s.isLoading && !e.data || t(p).includes(e.index),
261
262
  active: t($) === e.index,
262
263
  activeMenu: t(Z) === e.index,
263
- expanded: t(R) && t(p)(e.index),
264
+ expanded: t(R) && t(L)(e.index),
264
265
  [U(e.index)]: !0
265
266
  }]),
266
267
  onMouseenter: (m) => $.value = e.index,
267
- onClick: (m) => y("clickRow", e.index)
268
+ onClick: (m) => f("clickRow", e.index)
268
269
  }, [
269
- t(O) ? (l(), d("td", Le, [
270
- h(t(z), {
270
+ t(O) ? (a(), d("td", {
271
+ key: 0,
272
+ class: u([
273
+ "checkbox-cell",
274
+ { "checkbox-cell-sticky": s.isSelectionSticky }
275
+ ])
276
+ }, [
277
+ y(t(z), {
271
278
  "is-checked": C(s.getRowId(e.data, e.index)),
272
279
  "onUpdate:isChecked": (m) => te(s.getRowId(e.data, e.index))
273
280
  }, 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),
281
+ ], 2)) : r("", !0),
282
+ t(R) ? (a(), d("td", Le, [
283
+ y(ke, {
284
+ expanded: t(L)(e.index),
278
285
  onClick: (m) => t(q)(e.index, m)
279
286
  }, null, 8, ["expanded", "onClick"])
280
287
  ])) : r("", !0),
281
- (l(!0), d(I, null, A(s.columns, (m, n) => (l(), d("td", {
288
+ (a(!0), d(I, null, A(s.columns, (m, n) => (a(), d("td", {
282
289
  key: n,
283
- class: f({
290
+ class: u({
284
291
  sticky: s.columns[n].isSticky,
285
292
  isStickyRight: s.columns[n].isStickyRight,
286
293
  bordered: s.columns[n].isBordered,
@@ -288,63 +295,63 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
288
295
  [`column-${s.columns[n].id}`]: !0
289
296
  }),
290
297
  style: T(
291
- s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
298
+ s.columns[n].isSticky ? t(F)[s.columns[n].id] : null
292
299
  )
293
300
  }, [
294
- !s.isLoading || s.isLoading && e.data[n] ? (l(), d("div", {
301
+ !s.isLoading || s.isLoading && e.data[n] ? (a(), d("div", {
295
302
  key: 0,
296
- class: f(["table-cell", { last: n === e.data.length - 1 }])
303
+ class: u(["table-cell", { last: n === e.data.length - 1 }])
297
304
  }, [
298
- c(a.$slots, `cell-${s.columns[n].id}`, {
305
+ c(l.$slots, `cell-${s.columns[n].id}`, {
299
306
  cell: e.data[n],
300
- isLoading: t(N).includes(e.index),
307
+ isLoading: t(p).includes(e.index),
301
308
  cellIndex: n,
302
309
  row: e,
303
310
  rowIndex: e.index
304
311
  }, () => [
305
- h(t(V), { variant: "body1" }, {
312
+ y(t(V), { variant: "body1" }, {
306
313
  default: w(() => [
307
314
  E(B(e.data[n]), 1)
308
315
  ]),
309
316
  _: 2
310
317
  }, 1024)
311
318
  ])
312
- ], 2)) : c(a.$slots, "loader", { key: 1 }, () => [
313
- h(t(ue), { round: "" })
319
+ ], 2)) : c(l.$slots, "loader", { key: 1 }, () => [
320
+ y(t(ue), { round: "" })
314
321
  ])
315
322
  ], 6))), 128)),
316
- t(R) && t(p)(e.index) ? (l(), d("div", Pe, [
317
- c(a.$slots, "expanded", {
323
+ t(R) && t(L)(e.index) ? (a(), d("div", Me, [
324
+ c(l.$slots, "expanded", {
318
325
  row: e,
319
- gridColumnTemplate: t(P)
326
+ gridColumnTemplate: t(H)
320
327
  })
321
328
  ])) : r("", !0),
322
- ae(e.index) ? (l(), d("div", He, [
323
- c(a.$slots, "floating-row", {
329
+ le(e.index) ? (a(), d("div", Pe, [
330
+ c(l.$slots, "floating-row", {
324
331
  row: e,
325
332
  rowIndex: e.index
326
333
  })
327
334
  ])) : r("", !0)
328
- ], 42, pe))), 128))
329
- ], 16, Ve)) : (l(), d("div", Fe, [
330
- c(a.$slots, "empty-state", {}, () => [
331
- h(t(he), {
335
+ ], 42, Ve))), 128))
336
+ ], 16, Ae)) : (a(), d("div", He, [
337
+ c(l.$slots, "empty-state", {}, () => [
338
+ y(t(he), {
332
339
  class: "empty-state",
333
340
  title: s.emptyStateTitle,
334
341
  subtitle: t(ie),
335
- variant: t(le),
342
+ variant: t(ae),
336
343
  "test-id": `${s.testId}-${t(S).EMPTY_STATE}`
337
344
  }, null, 8, ["title", "subtitle", "variant", "test-id"])
338
345
  ])
339
346
  ]))
340
347
  ])
341
348
  ], 46, be),
342
- t(D) ? (l(), d("div", Ne, [
343
- c(a.$slots, "footer")
349
+ t(D) ? (a(), d("div", Fe, [
350
+ c(l.$slots, "footer")
344
351
  ])) : r("", !0)
345
352
  ], 40, ve));
346
353
  }
347
354
  });
348
355
  export {
349
- Xe as default
356
+ qe as default
350
357
  };