@ironsource/shared-ui 2.1.12-test.55 → 2.1.12-test.56

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.
@@ -0,0 +1 @@
1
+ .sticky[data-v-606e8cfd]{position:sticky}.table-container[data-v-606e8cfd]{width:100%;position:relative;display:flex;flex-direction:column}.table-head-container[data-v-606e8cfd]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-606e8cfd]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-606e8cfd]{display:inline-table}.table-row[data-v-606e8cfd]{position:relative}.table-row.loading[data-v-606e8cfd]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-606e8cfd]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-606e8cfd]{border-bottom:none}.expanded-row[data-v-606e8cfd]{grid-column:var(--7ac44e36);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-606e8cfd]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-606e8cfd]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-606e8cfd],table th[data-v-606e8cfd]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-606e8cfd]:first-of-type,table th[data-v-606e8cfd]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-606e8cfd]:last-of-type,table th[data-v-606e8cfd]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-606e8cfd],table th.expand-toggle-cell[data-v-606e8cfd]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-606e8cfd]{border-bottom:none;z-index:calc(var(--9903e19e) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-606e8cfd]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);display:grid;grid-template-columns:var(--5a57469e)}table>thead>tr>th[data-v-606e8cfd]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-606e8cfd]{cursor:pointer}table>thead>tr>td[data-v-606e8cfd]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-606e8cfd],table>thead>tr>td.bordered[data-v-606e8cfd]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-606e8cfd],table>thead>tr>td.bordered.isStickyRight[data-v-606e8cfd]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-606e8cfd],table>thead>tr>td.isTextRight[data-v-606e8cfd]{justify-content:flex-end}table>thead.sticky[data-v-606e8cfd]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-606e8cfd]{z-index:calc(var(--9903e19e) + 2);top:var(--7af56be8)}table .totals-row[data-v-606e8cfd]{height:40px}table .totals-row[data-v-606e8cfd]:hover{background:var(--background-paper-elevation-1)}table .totals-row>td.sticky[data-v-606e8cfd]{background-color:var(--background-default)}table>tbody[data-v-606e8cfd]{display:block}table>tbody>*>tr[data-v-606e8cfd]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--5a57469e)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-606e8cfd]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-606e8cfd],table>tbody>*>tr.activeMenu>td[data-v-606e8cfd]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-606e8cfd]{background-color:var(--background-default);border:none;min-width:0;display:flex;height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-606e8cfd]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-606e8cfd]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-606e8cfd]{justify-content:flex-end;text-align:right}.underlined[data-v-606e8cfd]{border-bottom:.0625rem dashed var(--default-outlined-border)}.underlined[data-v-606e8cfd]:hover{cursor:pointer}.section-container[data-v-606e8cfd]{left:0}.sections[data-v-606e8cfd]{display:flex}.section[data-v-606e8cfd]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-606e8cfd]{width:100%}.empty-state[data-v-606e8cfd]{min-height:250px}.floating-row[data-v-606e8cfd]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--9903e19e) + 1)}.floating-row *[data-v-606e8cfd-s]{pointer-events:auto}.bg[data-v-606e8cfd]{background:var(--background-default)}.useAvailableHeight[data-v-606e8cfd]{height:100%}
@@ -23,6 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
23
23
  defaultScrollPosition?: number;
24
24
  helpTooltipVariant?: "icon" | "underline";
25
25
  testId?: string;
26
+ useAvailableHeight?: boolean;
26
27
  search?: string;
27
28
  showSearch?: boolean;
28
29
  searchPlaceholder?: string;
@@ -49,6 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
50
  defaultScrollPosition: any;
50
51
  helpTooltipVariant: string;
51
52
  testId: string;
53
+ useAvailableHeight: boolean;
52
54
  selection: any;
53
55
  getRowId: (row: any, index: any) => any;
54
56
  getRowKey: (row: any, index: any) => any;
@@ -99,6 +101,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
101
  defaultScrollPosition?: number;
100
102
  helpTooltipVariant?: "icon" | "underline";
101
103
  testId?: string;
104
+ useAvailableHeight?: boolean;
102
105
  search?: string;
103
106
  showSearch?: boolean;
104
107
  searchPlaceholder?: string;
@@ -125,6 +128,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
125
128
  defaultScrollPosition: any;
126
129
  helpTooltipVariant: string;
127
130
  testId: string;
131
+ useAvailableHeight: boolean;
128
132
  selection: any;
129
133
  getRowId: (row: any, index: any) => any;
130
134
  getRowKey: (row: any, index: any) => any;
@@ -176,6 +180,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
176
180
  rowCustomClassKey: string;
177
181
  rowDataKey: string;
178
182
  helpTooltipVariant: "icon" | "underline";
183
+ useAvailableHeight: boolean;
179
184
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
180
185
  isSelectionSticky: boolean;
181
186
  isSelectionBordered: boolean;
@@ -1,7 +1,7 @@
1
- import e from "./DataGrid.vue2.js";
2
- /* empty css */import o from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_e6cece52_lang.css"; //*');
4
- const s = /* @__PURE__ */ o(e, [["__scopeId", "data-v-e6cece52"]]);
1
+ import o from "./DataGrid.vue2.js";
2
+ /* empty css */import e from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_606e8cfd_lang.css"; //*');
4
+ const a = /* @__PURE__ */ e(o, [["__scopeId", "data-v-606e8cfd"]]);
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_e6cece52_lang.css"; import { defineComponent as me, useCssVars as pe, unref as t, useSlots as be, computed as u, openBlock as i, createBlock as C, createSlots as Q, withCtx as h, createElementVNode as m, mergeProps as $, normalizeStyle as k, normalizeClass as f, isRef as ve, renderSlot as n, createCommentVNode as c, createElementBlock as d, Fragment as x, renderList as R, createVNode as g, createTextVNode as L, toDisplayString as O } from "vue";
1
+ import "../../../DataGrid.vue_vue_type_style_index_0_scoped_606e8cfd_lang.css"; import { defineComponent as me, useCssVars as be, unref as t, useSlots as ve, computed as u, openBlock as i, createBlock as C, normalizeClass as h, createSlots as Q, withCtx as y, createElementVNode as m, mergeProps as $, normalizeStyle as g, isRef as pe, renderSlot as n, createCommentVNode as c, createElementBlock as d, Fragment as x, renderList as R, createVNode as k, createTextVNode as L, toDisplayString as O } from "vue";
2
2
  import V from "../../typography/v4/Typography.vue.js";
3
3
  import Ce from "../../skeleton/v4/SkeletonV4.vue.js";
4
4
  import $e from "../../emptyState/v4/EmptyStateV4.vue.js";
@@ -11,8 +11,8 @@ import Re from "./DataGridHeader.vue.js";
11
11
  import "./MultipleDataGrid.vue.js";
12
12
  import Te from "./DataGridContainer.vue.js";
13
13
  import { TableTestIdModifiers as T } from "../../../testids/index.js";
14
- import { tableCommon as we } from "../common/Table.common.js";
15
- import He from "./SortIcon.vue.js";
14
+ import { tableCommon as He } from "../common/Table.common.js";
15
+ import we from "./SortIcon.vue.js";
16
16
  import Ee from "./HelpIcon.vue.js";
17
17
  import Be from "./ExpandRowToggle.vue.js";
18
18
  import { DEFAULT_ROW_HEIGHT as Ae, CHECKBOX_COLUMN_ID as Ie, DATA_GRID_HEADER_HEIGHT as j, HEADER_ROW_HEIGHT as q } from "../common/consts.js";
@@ -41,9 +41,9 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
41
41
  sections: { default: null },
42
42
  sort: { default: null },
43
43
  selection: { default: null },
44
- getRowId: { type: Function, default: (l, p) => p },
45
- getRowKey: { type: Function, default: (l, p) => p },
46
- selectedMatcher: { type: Function, default: (l, p) => l === p },
44
+ getRowId: { type: Function, default: (l, b) => b },
45
+ getRowKey: { type: Function, default: (l, b) => b },
46
+ selectedMatcher: { type: Function, default: (l, b) => l === b },
47
47
  isSticky: { type: Boolean, default: !0 },
48
48
  isStickyHeader: { type: Boolean, default: !1 },
49
49
  isLoading: { type: Boolean, default: !1 },
@@ -58,6 +58,7 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
58
58
  defaultScrollPosition: { default: null },
59
59
  helpTooltipVariant: { default: "icon" },
60
60
  testId: { default: "" },
61
+ useAvailableHeight: { type: Boolean, default: !1 },
61
62
  search: { default: null },
62
63
  showSearch: { type: Boolean, default: !1 },
63
64
  searchPlaceholder: { default: "Search" },
@@ -69,19 +70,19 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
69
70
  isSelectionBordered: { type: Boolean, default: !1 }
70
71
  },
71
72
  emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
72
- setup(l, { expose: p, emit: S }) {
73
- const a = l;
74
- pe((s) => ({
75
- d6fdbe1e: l.zIndexBase,
76
- e806cab6: t(le),
77
- "470c985e": t(z),
78
- "572d2bcc": t(ke)
73
+ setup(l, { expose: b, emit: S }) {
74
+ const s = l;
75
+ be((a) => ({
76
+ "9903e19e": l.zIndexBase,
77
+ "7ac44e36": t(le),
78
+ "5a57469e": t(z),
79
+ "7af56be8": t(Se)
79
80
  }));
80
- const b = be(), J = (s) => a.rowCustomClassKey && a.rows[s] ? a.rows[s][a.rowCustomClassKey] : "", {
81
- list: w,
81
+ const v = ve(), J = (a) => s.rowCustomClassKey && s.rows[a] ? s.rows[a][s.rowCustomClassKey] : "", {
82
+ list: H,
82
83
  containerProps: G,
83
84
  wrapperProps: Z,
84
- activeRow: H,
85
+ activeRow: w,
85
86
  gridColumnTemplate: z,
86
87
  toggleSortOrder: _,
87
88
  columnsStickyPositions: E,
@@ -90,69 +91,71 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
90
91
  onScroll: K,
91
92
  savingRows: U,
92
93
  hasExpandSlot: B,
93
- toggleExpandRow: se,
94
+ toggleExpandRow: ae,
94
95
  cssExpandGridCol: le,
95
96
  isRowExpanded: D,
96
97
  hasCheckboxes: M,
97
- activeMenuRow: ae,
98
+ activeMenuRow: se,
98
99
  scrollTo: ie
99
- } = we(a, S), W = u(() => !!b.footer), oe = u(
100
- () => a.title || b.title || ee.value || b["table-header-actions"] || b["table-header-pre-search"]
101
- ), v = u({
102
- get: () => a.search,
103
- set: (s) => S("update:search", s)
104
- }), de = u(() => a.selection.length || 0), F = u(() => {
105
- const s = a.rows.map((o, e) => a.getRowId(o, e));
106
- return !!s.length && s.every((o) => A(o));
107
- }), A = (s) => a.selection.findIndex((o) => a.selectedMatcher(s, o)) !== -1, ne = (s) => {
108
- A(s) ? (I(
109
- a.selection.filter(
110
- (o) => !a.selectedMatcher(s, o)
100
+ } = He(s, S), W = u(() => !!v.footer), oe = u(
101
+ () => s.title || v.title || ee.value || v["table-header-actions"] || v["table-header-pre-search"]
102
+ ), p = u({
103
+ get: () => s.search,
104
+ set: (a) => S("update:search", a)
105
+ }), de = u(() => s.selection.length || 0), F = u(() => {
106
+ const a = s.rows.map((o, e) => s.getRowId(o, e));
107
+ return !!a.length && a.every((o) => A(o));
108
+ }), A = (a) => s.selection.findIndex((o) => s.selectedMatcher(a, o)) !== -1, ne = (a) => {
109
+ A(a) ? (I(
110
+ s.selection.filter(
111
+ (o) => !s.selectedMatcher(a, o)
111
112
  )
112
- ), S("selectRow", !1)) : (I([...a.selection, s]), S("selectRow", !0));
113
+ ), S("selectRow", !1)) : (I([...s.selection, a]), S("selectRow", !0));
113
114
  }, re = () => {
114
115
  if (F.value)
115
116
  I([]), S("selectAll", !1);
116
117
  else {
117
- const s = a.rows.map((o, e) => a.getRowId(o, e)).filter((o) => !A(o));
118
- I([...a.selection, ...s]), S("selectAll", !0);
118
+ const a = s.rows.map((o, e) => s.getRowId(o, e)).filter((o) => !A(o));
119
+ I([...s.selection, ...a]), S("selectAll", !0);
119
120
  }
120
- }, I = (s) => {
121
- S("update:selection", s);
122
- }, ce = (s) => !a.isLoading && H.value === s, ue = u(
123
- () => a.emptyStateVariant ?? (v.value ? "no-results" : "no-data")
121
+ }, I = (a) => {
122
+ S("update:selection", a);
123
+ }, ce = (a) => !s.isLoading && w.value === a, ue = u(
124
+ () => s.emptyStateVariant ?? (p.value ? "no-results" : "no-data")
124
125
  ), he = u(
125
- () => a.emptyStateSubtitle ? a.emptyStateSubtitle : v.value ? "Search again with different filters" : void 0
126
+ () => s.emptyStateSubtitle ? s.emptyStateSubtitle : p.value ? "Search again with different filters" : void 0
126
127
  ), N = u(() => ({
127
128
  class: {
128
- sticky: a.isSelectionSticky,
129
- bordered: a.isSelectionBordered
129
+ sticky: s.isSelectionSticky,
130
+ bordered: s.isSelectionBordered
130
131
  },
131
- style: a.isSelectionSticky ? E.value[Ie] : null
132
- })), ye = (s) => ({
133
- sticky: s.isSticky,
134
- isStickyRight: s.isStickyRight,
135
- bordered: s.isBordered,
136
- isTextRight: s.isTextRight
132
+ style: s.isSelectionSticky ? E.value[Ie] : null
133
+ })), ye = (a) => ({
134
+ sticky: a.isSticky,
135
+ isStickyRight: a.isStickyRight,
136
+ bordered: a.isBordered,
137
+ isTextRight: a.isTextRight
137
138
  }), Y = u(
138
- () => a.columns.map((s) => ye(s))
139
- ), fe = (s) => ({
140
- minHeight: (typeof a.rowHeight == "function" ? a.rowHeight(s) : a.rowHeight) + "px"
141
- }), P = u(() => w.value.reduce((s, o) => (s[o.index] = fe(o.index), s), {})), { height: Se } = Pe(G.ref), ke = u(() => `${j}px`), ge = u(
142
- () => Se.value - q - j
139
+ () => s.columns.map((a) => ye(a))
140
+ ), fe = (a) => ({
141
+ minHeight: (typeof s.rowHeight == "function" ? s.rowHeight(a) : s.rowHeight) + "px"
142
+ }), P = u(() => H.value.reduce((a, o) => (a[o.index] = fe(o.index), a), {})), Se = u(() => `${j}px`), { height: ge } = Pe(G.ref), ke = u(
143
+ () => ge.value - q - j
143
144
  );
144
- return p({
145
+ return b({
145
146
  scrollTo: ie
146
- }), (s, o) => (i(), C(Te, null, Q({
147
- default: h(() => [
148
- m("div", $({ class: "table-container" }, s.$attrs, {
147
+ }), (a, o) => (i(), C(Te, {
148
+ class: h({ useAvailableHeight: l.useAvailableHeight })
149
+ }, Q({
150
+ default: y(() => [
151
+ m("div", $({ class: "table-container" }, a.$attrs, {
149
152
  "data-testid": `${l.testId}-${t(T).CONTAINER}`,
150
- onMouseleave: o[3] || (o[3] = (e) => H.value = null)
153
+ onMouseleave: o[3] || (o[3] = (e) => w.value = null)
151
154
  }), [
152
155
  m("table", {
153
156
  ref: t(G).ref,
154
- style: k(t(te)),
155
- class: f({
157
+ style: g(t(te)),
158
+ class: h({
156
159
  hasFooter: t(W)
157
160
  }),
158
161
  "data-testid": `${l.testId}-${t(T).TABLE}`,
@@ -161,8 +164,8 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
161
164
  }, [
162
165
  t(oe) ? (i(), C(t(Re), {
163
166
  key: 0,
164
- search: t(v),
165
- "onUpdate:search": o[0] || (o[0] = (e) => ve(v) ? v.value = e : null),
167
+ search: t(p),
168
+ "onUpdate:search": o[0] || (o[0] = (e) => pe(p) ? p.value = e : null),
166
169
  title: l.title,
167
170
  "is-sticky": l.isStickyHeader,
168
171
  "show-search": l.showSearch,
@@ -172,31 +175,31 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
172
175
  "test-id": l.testId,
173
176
  onOnClearSearch: o[1] || (o[1] = (e) => S("onClearSearch"))
174
177
  }, Q({
175
- title: h(() => [
176
- n(s.$slots, "title")
178
+ title: y(() => [
179
+ n(a.$slots, "title")
177
180
  ]),
178
- search: h(() => [
179
- n(s.$slots, "search")
181
+ search: y(() => [
182
+ n(a.$slots, "search")
180
183
  ]),
181
184
  _: 2
182
185
  }, [
183
- t(b)["table-header-pre-search"] ? {
186
+ t(v)["table-header-pre-search"] ? {
184
187
  name: "table-header-pre-search",
185
- fn: h(() => [
186
- n(s.$slots, "table-header-pre-search")
188
+ fn: y(() => [
189
+ n(a.$slots, "table-header-pre-search")
187
190
  ]),
188
191
  key: "0"
189
192
  } : void 0,
190
- t(b)["table-header-actions"] ? {
193
+ t(v)["table-header-actions"] ? {
191
194
  name: "table-header-actions",
192
- fn: h(() => [
193
- n(s.$slots, "table-header-actions")
195
+ fn: y(() => [
196
+ n(a.$slots, "table-header-actions")
194
197
  ]),
195
198
  key: "1"
196
199
  } : void 0
197
200
  ]), 1032, ["search", "title", "is-sticky", "show-search", "search-placeholder", "search-auto-focus", "z-index-base", "test-id"])) : c("", !0),
198
201
  m("thead", {
199
- class: f({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
202
+ class: h({ sticky: l.isSticky, isStickyHeader: l.isStickyHeader })
200
203
  }, [
201
204
  m("div", {
202
205
  class: "sections",
@@ -204,15 +207,15 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
204
207
  }, [
205
208
  (i(!0), d(x, null, R(l.sections, (e) => (i(), d("div", {
206
209
  key: e.id,
207
- class: f(["section-container", { sticky: e.isSticky }])
210
+ class: h(["section-container", { sticky: e.isSticky }])
208
211
  }, [
209
- n(s.$slots, `section-${e.id}`, {}, () => [
212
+ n(a.$slots, `section-${e.id}`, {}, () => [
210
213
  m("div", {
211
- style: k({ width: e.width + "px" }),
212
- class: f({ section: !0 })
214
+ style: g({ width: e.width + "px" }),
215
+ class: h({ section: !0 })
213
216
  }, [
214
- g(t(V), { variant: "body2" }, {
215
- default: h(() => [
217
+ k(t(V), { variant: "body2" }, {
218
+ default: y(() => [
216
219
  L(O(e.title), 1)
217
220
  ]),
218
221
  _: 2
@@ -222,14 +225,14 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
222
225
  ], 2))), 128))
223
226
  ], 8, De),
224
227
  m("tr", {
225
- style: k({ height: `${t(q)}px` })
228
+ style: g({ height: `${t(q)}px` })
226
229
  }, [
227
230
  t(M) ? (i(), d("th", $({
228
231
  key: 0,
229
232
  class: "checkbox-cell"
230
233
  }, t(N)), [
231
- n(s.$slots, "select-all-checkbox", {}, () => [
232
- g(t(X), {
234
+ n(a.$slots, "select-all-checkbox", {}, () => [
235
+ k(t(X), {
233
236
  disabled: l.isLoading,
234
237
  "is-checked": t(F),
235
238
  "is-indeterminate": !t(F) && t(de) > 0,
@@ -238,34 +241,34 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
238
241
  ])
239
242
  ], 16)) : c("", !0),
240
243
  t(B) ? (i(), d("th", Me)) : c("", !0),
241
- (i(!0), d(x, null, R(l.columns, (e, y) => (i(), d("th", {
244
+ (i(!0), d(x, null, R(l.columns, (e, f) => (i(), d("th", {
242
245
  key: e.id,
243
- class: f({
244
- ...t(Y)[y],
246
+ class: h({
247
+ ...t(Y)[f],
245
248
  isSortable: e.isSortable,
246
249
  [`column-${e.id}`]: !0
247
250
  }),
248
- style: k(
251
+ style: g(
249
252
  e.isSticky ? t(E)[e.id] : null
250
253
  ),
251
254
  onClick: (r) => e.isSortable ? t(_)(e) : null
252
255
  }, [
253
256
  m("div", Ne, [
254
- n(s.$slots, `header-${e.id}`, { column: e }, () => [
255
- g(t(xe), {
257
+ n(a.$slots, `header-${e.id}`, { column: e }, () => [
258
+ k(t(xe), {
256
259
  text: e.helpText,
257
260
  disabled: !e.helpText || l.helpTooltipVariant === "icon",
258
261
  placement: e.helpTextPlacement || "top",
259
262
  "test-id": `help-tooltip-underlined-${e.id}`
260
263
  }, {
261
- default: h(() => [
262
- g(t(V), {
264
+ default: y(() => [
265
+ k(t(V), {
263
266
  variant: "tableLabel",
264
- class: f({
267
+ class: h({
265
268
  underlined: e.helpText && l.helpTooltipVariant === "underline"
266
269
  })
267
270
  }, {
268
- default: h(() => [
271
+ default: y(() => [
269
272
  L(O(e.title), 1)
270
273
  ]),
271
274
  _: 2
@@ -280,35 +283,35 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
280
283
  "hover-help-text-placement": e.helpTextPlacement,
281
284
  "test-id": `help-tooltip-${e.id}`
282
285
  }, null, 8, ["hover-help-text", "hover-help-text-placement", "test-id"])) : c("", !0),
283
- n(s.$slots, `after-header-${e.id}`, { column: e }),
284
- e.isSortable && e.id === l.sort?.sortBy ? (i(), C(He, {
286
+ n(a.$slots, `after-header-${e.id}`, { column: e }),
287
+ e.isSortable && e.id === l.sort?.sortBy ? (i(), C(we, {
285
288
  key: 1,
286
289
  "sort-order": l.sort.sortOrder
287
290
  }, null, 8, ["sort-order"])) : c("", !0)
288
291
  ])
289
292
  ], 14, Fe))), 128))
290
293
  ], 4),
291
- l.showTotalsRow && t(w).length > 0 ? (i(), d("tr", Oe, [
294
+ l.showTotalsRow && t(H).length > 0 ? (i(), d("tr", Oe, [
292
295
  t(M) ? (i(), d("td", $({
293
296
  key: 0,
294
297
  class: "bg"
295
298
  }, t(N)), null, 16)) : c("", !0),
296
- (i(!0), d(x, null, R(l.columns, (e, y) => (i(), d("td", {
299
+ (i(!0), d(x, null, R(l.columns, (e, f) => (i(), d("td", {
297
300
  key: e.id,
298
- class: f({
299
- ...t(Y)[y],
301
+ class: h({
302
+ ...t(Y)[f],
300
303
  [`total-${e.id}`]: !0
301
304
  }),
302
- style: k(
305
+ style: g(
303
306
  e.isSticky ? t(E)[e.id] : null
304
307
  )
305
308
  }, [
306
- n(s.$slots, `total-${e.id}`, { column: e }, () => [
307
- y === 0 ? (i(), C(t(V), {
309
+ n(a.$slots, `total-${e.id}`, { column: e }, () => [
310
+ f === 0 ? (i(), C(t(V), {
308
311
  key: 0,
309
312
  variant: "h6"
310
313
  }, {
311
- default: h(() => [
314
+ default: y(() => [
312
315
  L("Totals")
313
316
  ]),
314
317
  _: 1
@@ -318,23 +321,23 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
318
321
  ])) : c("", !0)
319
322
  ], 2),
320
323
  m("tbody", null, [
321
- t(w).length > 0 ? (i(), d("div", $({
324
+ t(H).length > 0 ? (i(), d("div", $({
322
325
  key: 0,
323
326
  class: "table-body-wrapper",
324
327
  "data-testid": `${l.testId}-${t(T).BODY_WRAPPER}`
325
328
  }, t(Z)), [
326
- (i(!0), d(x, null, R(t(w), (e) => (i(), d("tr", {
329
+ (i(!0), d(x, null, R(t(H), (e) => (i(), d("tr", {
327
330
  key: l.getRowKey(e.data, e.index),
328
- class: f(["table-row", {
331
+ class: h(["table-row", {
329
332
  loading: l.isLoading || l.isLoading && !e.data || t(U).includes(e.index),
330
- active: t(H) === e.index,
331
- activeMenu: t(ae) === e.index,
333
+ active: t(w) === e.index,
334
+ activeMenu: t(se) === e.index,
332
335
  expanded: t(B) && t(D)(e.index),
333
336
  [J(e.index)]: !0
334
337
  }]),
335
- style: k(t(P)[e.index]),
336
- onMouseenter: (y) => H.value = e.index,
337
- onClick: (y) => S("clickRow", e.index)
338
+ style: g(t(P)[e.index]),
339
+ onMouseenter: (f) => w.value = e.index,
340
+ onClick: (f) => S("clickRow", e.index)
338
341
  }, [
339
342
  t(M) ? (i(), d("td", $({
340
343
  key: 0,
@@ -342,65 +345,65 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
342
345
  }, t(N), {
343
346
  style: t(P)[e.index]
344
347
  }), [
345
- g(t(X), {
348
+ k(t(X), {
346
349
  "is-checked": A(l.getRowId(e.data, e.index)),
347
- "onUpdate:isChecked": (y) => ne(l.getRowId(e.data, e.index))
350
+ "onUpdate:isChecked": (f) => ne(l.getRowId(e.data, e.index))
348
351
  }, null, 8, ["is-checked", "onUpdate:isChecked"])
349
352
  ], 16)) : c("", !0),
350
353
  t(B) ? (i(), d("td", {
351
354
  key: 1,
352
355
  class: "expand-toggle-cell",
353
- style: k(t(P)[e.index])
356
+ style: g(t(P)[e.index])
354
357
  }, [
355
- g(Be, {
358
+ k(Be, {
356
359
  expanded: t(D)(e.index),
357
- onClick: (y) => t(se)(e.index, y)
360
+ onClick: (f) => t(ae)(e.index, f)
358
361
  }, null, 8, ["expanded", "onClick"])
359
362
  ], 4)) : c("", !0),
360
- (i(!0), d(x, null, R(l.columns, (y, r) => (i(), d("td", {
363
+ (i(!0), d(x, null, R(l.columns, (f, r) => (i(), d("td", {
361
364
  key: r,
362
- class: f({
365
+ class: h({
363
366
  sticky: l.columns[r].isSticky,
364
367
  isStickyRight: l.columns[r].isStickyRight,
365
368
  bordered: l.columns[r].isBordered,
366
369
  isTextRight: l.columns[r].isTextRight,
367
370
  [`column-${l.columns[r].id}`]: !0
368
371
  }),
369
- style: k([
372
+ style: g([
370
373
  l.columns[r].isSticky ? t(E)[l.columns[r].id] : null,
371
374
  t(P)[e.index]
372
375
  ])
373
376
  }, [
374
377
  !l.isLoading || l.isLoading && e.data[r] ? (i(), d("div", {
375
378
  key: 0,
376
- class: f(["table-cell", { last: r === e.data.length - 1 }])
379
+ class: h(["table-cell", { last: r === e.data.length - 1 }])
377
380
  }, [
378
- n(s.$slots, `cell-${l.columns[r].id}`, {
381
+ n(a.$slots, `cell-${l.columns[r].id}`, {
379
382
  cell: e.data[r],
380
383
  isLoading: t(U).includes(e.index),
381
384
  cellIndex: r,
382
385
  row: e,
383
386
  rowIndex: e.index
384
387
  }, () => [
385
- g(t(V), { variant: "body1" }, {
386
- default: h(() => [
388
+ k(t(V), { variant: "body1" }, {
389
+ default: y(() => [
387
390
  L(O(e.data[r]), 1)
388
391
  ]),
389
392
  _: 2
390
393
  }, 1024)
391
394
  ])
392
- ], 2)) : n(s.$slots, "loader", { key: 1 }, () => [
393
- g(t(Ce), { round: "" })
395
+ ], 2)) : n(a.$slots, "loader", { key: 1 }, () => [
396
+ k(t(Ce), { round: "" })
394
397
  ])
395
398
  ], 6))), 128)),
396
399
  t(B) && t(D)(e.index) ? (i(), d("div", Ke, [
397
- n(s.$slots, "expanded", {
400
+ n(a.$slots, "expanded", {
398
401
  row: e,
399
402
  gridColumnTemplate: t(z)
400
403
  })
401
404
  ])) : c("", !0),
402
405
  ce(e.index) ? (i(), d("div", Ue, [
403
- n(s.$slots, "floating-row", {
406
+ n(a.$slots, "floating-row", {
404
407
  row: e,
405
408
  rowIndex: e.index
406
409
  })
@@ -408,11 +411,12 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
408
411
  ], 46, ze))), 128))
409
412
  ], 16, Ge)) : (i(), d("div", {
410
413
  key: 1,
411
- class: "empty-state-container",
412
- style: k({ height: `${t(ge)}px` })
414
+ style: g(
415
+ l.useAvailableHeight ? { height: `${t(ke)}px` } : {}
416
+ )
413
417
  }, [
414
- n(s.$slots, "empty-state", {}, () => [
415
- g(t($e), {
418
+ n(a.$slots, "empty-state", {}, () => [
419
+ k(t($e), {
416
420
  class: "empty-state",
417
421
  title: l.emptyStateTitle,
418
422
  subtitle: t(he),
@@ -425,20 +429,20 @@ const Le = ["data-testid"], Ve = ["data-testid"], De = ["data-testid"], Me = {
425
429
  ])
426
430
  ], 46, Ve),
427
431
  t(W) ? (i(), d("div", We, [
428
- n(s.$slots, "footer")
432
+ n(a.$slots, "footer")
429
433
  ])) : c("", !0)
430
434
  ], 16, Le)
431
435
  ]),
432
436
  _: 2
433
437
  }, [
434
- t(b)["side-panel"] ? {
438
+ t(v)["side-panel"] ? {
435
439
  name: "side-panel",
436
- fn: h(() => [
437
- n(s.$slots, "side-panel")
440
+ fn: y(() => [
441
+ n(a.$slots, "side-panel")
438
442
  ]),
439
443
  key: "0"
440
444
  } : void 0
441
- ]), 1024));
445
+ ]), 1032, ["class"]));
442
446
  }
443
447
  });
444
448
  export {
@@ -372,6 +372,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
372
372
  rowCustomClassKey: string;
373
373
  rowDataKey: string;
374
374
  helpTooltipVariant: "icon" | "underline";
375
+ useAvailableHeight: boolean;
375
376
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
376
377
  isSelectionSticky: boolean;
377
378
  isSelectionBordered: boolean;
@@ -488,6 +489,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
488
489
  type: import("vue").PropType<"icon" | "underline">;
489
490
  default: string;
490
491
  };
492
+ useAvailableHeight: {
493
+ type: import("vue").PropType<boolean>;
494
+ default: boolean;
495
+ };
491
496
  selectedMatcher: {
492
497
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
493
498
  default: (rowId: any, selectedItem: any) => boolean;
@@ -514,7 +519,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
514
519
  onOnClearSearch?: () => any;
515
520
  onClickRow?: (rowIndex: number) => any;
516
521
  onSelectRow?: (value: boolean) => any;
517
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
522
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "useAvailableHeight" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
518
523
  $attrs: {
519
524
  [x: string]: unknown;
520
525
  };
@@ -641,6 +646,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
641
646
  type: import("vue").PropType<"icon" | "underline">;
642
647
  default: string;
643
648
  };
649
+ useAvailableHeight: {
650
+ type: import("vue").PropType<boolean>;
651
+ default: boolean;
652
+ };
644
653
  selectedMatcher: {
645
654
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
646
655
  default: (rowId: any, selectedItem: any) => boolean;
@@ -707,6 +716,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
707
716
  rowCustomClassKey: string;
708
717
  rowDataKey: string;
709
718
  helpTooltipVariant: "icon" | "underline";
719
+ useAvailableHeight: boolean;
710
720
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
711
721
  isSelectionSticky: boolean;
712
722
  isSelectionBordered: boolean;
@@ -843,6 +853,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
843
853
  type: import("vue").PropType<"icon" | "underline">;
844
854
  default: string;
845
855
  };
856
+ useAvailableHeight: {
857
+ type: import("vue").PropType<boolean>;
858
+ default: boolean;
859
+ };
846
860
  selectedMatcher: {
847
861
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
848
862
  default: (rowId: any, selectedItem: any) => boolean;
@@ -988,6 +1002,10 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
988
1002
  type: import("vue").PropType<"icon" | "underline">;
989
1003
  default: string;
990
1004
  };
1005
+ useAvailableHeight: {
1006
+ type: import("vue").PropType<boolean>;
1007
+ default: boolean;
1008
+ };
991
1009
  selectedMatcher: {
992
1010
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
993
1011
  default: (rowId: any, selectedItem: any) => boolean;
@@ -1054,6 +1072,7 @@ declare const DataGridTypes: () => (import("vue").DefineComponent<{
1054
1072
  rowCustomClassKey: string;
1055
1073
  rowDataKey: string;
1056
1074
  helpTooltipVariant: "icon" | "underline";
1075
+ useAvailableHeight: boolean;
1057
1076
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
1058
1077
  isSelectionSticky: boolean;
1059
1078
  isSelectionBordered: boolean;
package/index.d.ts CHANGED
@@ -5908,6 +5908,7 @@ declare const _default: {
5908
5908
  rowCustomClassKey: string;
5909
5909
  rowDataKey: string;
5910
5910
  helpTooltipVariant: "icon" | "underline";
5911
+ useAvailableHeight: boolean;
5911
5912
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
5912
5913
  isSelectionSticky: boolean;
5913
5914
  isSelectionBordered: boolean;
@@ -6024,6 +6025,10 @@ declare const _default: {
6024
6025
  type: import("vue").PropType<"icon" | "underline">;
6025
6026
  default: string;
6026
6027
  };
6028
+ useAvailableHeight: {
6029
+ type: import("vue").PropType<boolean>;
6030
+ default: boolean;
6031
+ };
6027
6032
  selectedMatcher: {
6028
6033
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
6029
6034
  default: (rowId: any, selectedItem: any) => boolean;
@@ -6050,7 +6055,7 @@ declare const _default: {
6050
6055
  onOnClearSearch?: () => any;
6051
6056
  onClickRow?: (rowIndex: number) => any;
6052
6057
  onSelectRow?: (value: boolean) => any;
6053
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
6058
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "useAvailableHeight" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
6054
6059
  $attrs: {
6055
6060
  [x: string]: unknown;
6056
6061
  };
@@ -6177,6 +6182,10 @@ declare const _default: {
6177
6182
  type: import("vue").PropType<"icon" | "underline">;
6178
6183
  default: string;
6179
6184
  };
6185
+ useAvailableHeight: {
6186
+ type: import("vue").PropType<boolean>;
6187
+ default: boolean;
6188
+ };
6180
6189
  selectedMatcher: {
6181
6190
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
6182
6191
  default: (rowId: any, selectedItem: any) => boolean;
@@ -6243,6 +6252,7 @@ declare const _default: {
6243
6252
  rowCustomClassKey: string;
6244
6253
  rowDataKey: string;
6245
6254
  helpTooltipVariant: "icon" | "underline";
6255
+ useAvailableHeight: boolean;
6246
6256
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
6247
6257
  isSelectionSticky: boolean;
6248
6258
  isSelectionBordered: boolean;
@@ -6379,6 +6389,10 @@ declare const _default: {
6379
6389
  type: import("vue").PropType<"icon" | "underline">;
6380
6390
  default: string;
6381
6391
  };
6392
+ useAvailableHeight: {
6393
+ type: import("vue").PropType<boolean>;
6394
+ default: boolean;
6395
+ };
6382
6396
  selectedMatcher: {
6383
6397
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
6384
6398
  default: (rowId: any, selectedItem: any) => boolean;
@@ -6524,6 +6538,10 @@ declare const _default: {
6524
6538
  type: import("vue").PropType<"icon" | "underline">;
6525
6539
  default: string;
6526
6540
  };
6541
+ useAvailableHeight: {
6542
+ type: import("vue").PropType<boolean>;
6543
+ default: boolean;
6544
+ };
6527
6545
  selectedMatcher: {
6528
6546
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
6529
6547
  default: (rowId: any, selectedItem: any) => boolean;
@@ -6590,6 +6608,7 @@ declare const _default: {
6590
6608
  rowCustomClassKey: string;
6591
6609
  rowDataKey: string;
6592
6610
  helpTooltipVariant: "icon" | "underline";
6611
+ useAvailableHeight: boolean;
6593
6612
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
6594
6613
  isSelectionSticky: boolean;
6595
6614
  isSelectionBordered: boolean;
@@ -7090,6 +7109,7 @@ declare const _default: {
7090
7109
  rowCustomClassKey: string;
7091
7110
  rowDataKey: string;
7092
7111
  helpTooltipVariant: "icon" | "underline";
7112
+ useAvailableHeight: boolean;
7093
7113
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
7094
7114
  isSelectionSticky: boolean;
7095
7115
  isSelectionBordered: boolean;
@@ -7206,6 +7226,10 @@ declare const _default: {
7206
7226
  type: import("vue").PropType<"icon" | "underline">;
7207
7227
  default: string;
7208
7228
  };
7229
+ useAvailableHeight: {
7230
+ type: import("vue").PropType<boolean>;
7231
+ default: boolean;
7232
+ };
7209
7233
  selectedMatcher: {
7210
7234
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
7211
7235
  default: (rowId: any, selectedItem: any) => boolean;
@@ -7232,7 +7256,7 @@ declare const _default: {
7232
7256
  onOnClearSearch?: () => any;
7233
7257
  onClickRow?: (rowIndex: number) => any;
7234
7258
  onSelectRow?: (value: boolean) => any;
7235
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
7259
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "loadingRowCount" | "zIndexBase" | "showSearch" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "getRowKey" | "emptyStateVariant" | "rowCustomClassKey" | "rowDataKey" | "helpTooltipVariant" | "useAvailableHeight" | "selectedMatcher" | "isSelectionSticky" | "isSelectionBordered">;
7236
7260
  $attrs: {
7237
7261
  [x: string]: unknown;
7238
7262
  };
@@ -7359,6 +7383,10 @@ declare const _default: {
7359
7383
  type: import("vue").PropType<"icon" | "underline">;
7360
7384
  default: string;
7361
7385
  };
7386
+ useAvailableHeight: {
7387
+ type: import("vue").PropType<boolean>;
7388
+ default: boolean;
7389
+ };
7362
7390
  selectedMatcher: {
7363
7391
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
7364
7392
  default: (rowId: any, selectedItem: any) => boolean;
@@ -7425,6 +7453,7 @@ declare const _default: {
7425
7453
  rowCustomClassKey: string;
7426
7454
  rowDataKey: string;
7427
7455
  helpTooltipVariant: "icon" | "underline";
7456
+ useAvailableHeight: boolean;
7428
7457
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
7429
7458
  isSelectionSticky: boolean;
7430
7459
  isSelectionBordered: boolean;
@@ -7561,6 +7590,10 @@ declare const _default: {
7561
7590
  type: import("vue").PropType<"icon" | "underline">;
7562
7591
  default: string;
7563
7592
  };
7593
+ useAvailableHeight: {
7594
+ type: import("vue").PropType<boolean>;
7595
+ default: boolean;
7596
+ };
7564
7597
  selectedMatcher: {
7565
7598
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
7566
7599
  default: (rowId: any, selectedItem: any) => boolean;
@@ -7706,6 +7739,10 @@ declare const _default: {
7706
7739
  type: import("vue").PropType<"icon" | "underline">;
7707
7740
  default: string;
7708
7741
  };
7742
+ useAvailableHeight: {
7743
+ type: import("vue").PropType<boolean>;
7744
+ default: boolean;
7745
+ };
7709
7746
  selectedMatcher: {
7710
7747
  type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
7711
7748
  default: (rowId: any, selectedItem: any) => boolean;
@@ -7772,6 +7809,7 @@ declare const _default: {
7772
7809
  rowCustomClassKey: string;
7773
7810
  rowDataKey: string;
7774
7811
  helpTooltipVariant: "icon" | "underline";
7812
+ useAvailableHeight: boolean;
7775
7813
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
7776
7814
  isSelectionSticky: boolean;
7777
7815
  isSelectionBordered: boolean;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
1
+ import './IncludeExcludeAppHeader.vue_vue_type_style_index_0_scoped_947cb1fc_lang.css';
2
2
  import { AppTriggerTypes as eo } from "./components/appTrigger/index.js";
3
3
  import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
4
4
  import { MenuItemTypes as ao } from "./components/menuItem/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ironsource/shared-ui",
3
- "version": "2.1.12-test.55",
3
+ "version": "2.1.12-test.56",
4
4
  "engines": {
5
5
  "npm": ">=7.0.0",
6
6
  "node": ">=16.0.0"
@@ -1 +0,0 @@
1
- .sticky[data-v-e6cece52]{position:sticky}.table-container[data-v-e6cece52]{width:100%;position:relative;display:flex;flex-direction:column}.table-head-container[data-v-e6cece52]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-e6cece52]{color:var(--text-primary);background-color:var(--background-paper-elevation-0);padding:0 var(--spacing-300);display:flex;align-items:center;min-height:var(--spacing-600);border:1px solid var(--common-divider);border-radius:var(--border-radius-md);border-top-right-radius:0;border-top-left-radius:0}.table-body-wrapper[data-v-e6cece52]{display:inline-table}.table-row[data-v-e6cece52]{position:relative}.table-row.loading[data-v-e6cece52]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-e6cece52]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-e6cece52]{border-bottom:none}.expanded-row[data-v-e6cece52]{grid-column:var(--e806cab6);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-e6cece52]{position:relative;display:block;overflow:auto;background:var(--background-paper-elevation-0);border:1px solid var(--common-divider);color:var(--text-primary);text-align:left;table-layout:fixed;width:100%;max-height:100%;border-radius:var(--border-radius-md);border-collapse:collapse;border-spacing:0}table.hasFooter[data-v-e6cece52]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-e6cece52],table th[data-v-e6cece52]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-e6cece52]:first-of-type,table th[data-v-e6cece52]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-e6cece52]:last-of-type,table th[data-v-e6cece52]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-e6cece52],table th.expand-toggle-cell[data-v-e6cece52]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-e6cece52]{border-bottom:none;z-index:calc(var(--d6fdbe1e) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-e6cece52]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);display:grid;grid-template-columns:var(--470c985e)}table>thead>tr>th[data-v-e6cece52]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.isSortable[data-v-e6cece52]{cursor:pointer}table>thead>tr>td[data-v-e6cece52]{display:flex;align-items:center}table>thead>tr>th.bordered[data-v-e6cece52],table>thead>tr>td.bordered[data-v-e6cece52]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-e6cece52],table>thead>tr>td.bordered.isStickyRight[data-v-e6cece52]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-e6cece52],table>thead>tr>td.isTextRight[data-v-e6cece52]{justify-content:flex-end}table>thead.sticky[data-v-e6cece52]{position:sticky;top:0;background:var(--background-default)}table>thead.isStickyHeader[data-v-e6cece52]{z-index:calc(var(--d6fdbe1e) + 2);top:var(--572d2bcc)}table .totals-row[data-v-e6cece52]{height:40px}table .totals-row[data-v-e6cece52]:hover{background:var(--background-paper-elevation-1)}table .totals-row>td.sticky[data-v-e6cece52]{background-color:var(--background-default)}table>tbody[data-v-e6cece52]{display:block}table>tbody>*>tr[data-v-e6cece52]{background-color:var(--background-default);height:auto;display:grid;align-items:center;grid-template-columns:var(--470c985e)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-e6cece52]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-e6cece52],table>tbody>*>tr.activeMenu>td[data-v-e6cece52]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-e6cece52]{background-color:var(--background-default);border:none;min-width:0;display:flex;height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-e6cece52]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-e6cece52]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-e6cece52]{justify-content:flex-end;text-align:right}.underlined[data-v-e6cece52]{border-bottom:.0625rem dashed var(--default-outlined-border)}.underlined[data-v-e6cece52]:hover{cursor:pointer}.section-container[data-v-e6cece52]{left:0}.sections[data-v-e6cece52]{display:flex}.section[data-v-e6cece52]{padding:0 1.5rem;background:var(--background-default);left:0;height:32px;display:flex;align-items:flex-end;border-right:1px solid var(--common-divider)}.table-cell[data-v-e6cece52]{width:100%}.empty-state[data-v-e6cece52]{min-height:250px}.floating-row[data-v-e6cece52]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--d6fdbe1e) + 1)}.floating-row *[data-v-e6cece52-s]{pointer-events:auto}.bg[data-v-e6cece52]{background:var(--background-default)}