@ironsource/shared-ui 2.1.8-rc.4 → 2.1.8-rc.6
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.
- package/ChipV4.vue_vue_type_style_index_0_scoped_a4d3a12e_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_2f666594_lang.css +1 -0
- package/IconButtonV4.vue_vue_type_style_index_0_scoped_06e26be2_lang.css +1 -0
- package/components/button/v4/IconButtonV4.vue.js +2 -2
- package/components/button/v4/IconButtonV4.vue2.js +1 -1
- package/components/chip/v4/ChipV4.vue.d.ts +19 -13
- package/components/chip/v4/ChipV4.vue.js +3 -3
- package/components/chip/v4/ChipV4.vue2.js +15 -13
- package/components/chip/v4/index.d.ts +138 -30
- package/components/table/v4/DataGrid.vue.d.ts +4 -0
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +140 -131
- package/components/table/v4/MultipleDataGrid.vue.d.ts +2 -2
- package/components/table/v4/index.d.ts +6 -2
- package/index.d.ts +287 -64
- package/index.js +105 -109
- package/package.json +1 -5
- package/ChipV4.vue_vue_type_style_index_0_scoped_12c0f396_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_0_scoped_f7dd256b_lang.css +0 -1
- package/CssBaseline.vue_vue_type_style_index_1_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_46d53424_lang.css +0 -1
- package/IconButtonV4.vue_vue_type_style_index_0_scoped_4eefa06b_lang.css +0 -1
- package/components/cssBaseline/CssBaseline.vue.d.ts +0 -9
- package/components/cssBaseline/CssBaseline.vue.js +0 -10
- package/components/cssBaseline/CssBaseline.vue2.js +0 -0
- package/components/cssBaseline/index.d.ts +0 -49
- package/components/cssBaseline/index.js +0 -6
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_2f666594_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 p, createBlock as z, mergeProps as re } from "vue";
|
|
2
|
+
import A 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
5
|
import K from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
6
6
|
import { TableTestIdModifiers as S } from "../../../testids/index.js";
|
|
7
|
-
import { tableCommon as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { useVModel as
|
|
13
|
-
const
|
|
7
|
+
import { tableCommon as ye } from "../common/Table.common.js";
|
|
8
|
+
import fe from "./SortIcon.vue.js";
|
|
9
|
+
import Se from "./HelpIcon.vue.js";
|
|
10
|
+
import ke from "./ExpandRowToggle.vue.js";
|
|
11
|
+
import me from "../../search/v4/SearchV4.vue.js";
|
|
12
|
+
import { useVModel as ge } from "@vueuse/core";
|
|
13
|
+
const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["data-testid"], Ce = ["data-testid"], xe = { class: "search-wrapper" }, Te = ["data-testid"], we = ["data-testid"], Ee = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "checkbox-cell"
|
|
16
|
-
},
|
|
16
|
+
}, Be = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "expand-toggle-cell"
|
|
19
|
-
},
|
|
19
|
+
}, Ie = ["onClick"], pe = { class: "table-head-container" }, Ae = ["data-testid"], Ve = ["onMouseenter", "onClick"], Le = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "checkbox-cell"
|
|
22
22
|
}, Me = {
|
|
@@ -25,10 +25,13 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
25
25
|
}, Pe = {
|
|
26
26
|
key: 2,
|
|
27
27
|
class: "expanded-row"
|
|
28
|
-
}, He = {
|
|
28
|
+
}, He = {
|
|
29
|
+
key: 3,
|
|
30
|
+
class: "floating-row"
|
|
31
|
+
}, Ne = { key: 1 }, Fe = {
|
|
29
32
|
key: 0,
|
|
30
33
|
class: "table-footer"
|
|
31
|
-
},
|
|
34
|
+
}, Xe = /* @__PURE__ */ de({
|
|
32
35
|
__name: "DataGrid",
|
|
33
36
|
props: {
|
|
34
37
|
title: { default: "" },
|
|
@@ -62,25 +65,25 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
62
65
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
63
66
|
setup(s, { expose: m, emit: y }) {
|
|
64
67
|
const i = s;
|
|
65
|
-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
68
|
+
oe((a) => ({
|
|
69
|
+
"416084ad": s.zIndexBase,
|
|
70
|
+
"90cd7d3e": t(X),
|
|
71
|
+
"03caffcc": t(P),
|
|
72
|
+
"64d76d22": t(J)
|
|
70
73
|
}));
|
|
71
|
-
const b =
|
|
72
|
-
list:
|
|
74
|
+
const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
|
|
75
|
+
list: M,
|
|
73
76
|
containerProps: G,
|
|
74
77
|
wrapperProps: Y,
|
|
75
|
-
activeRow:
|
|
76
|
-
gridColumnTemplate:
|
|
78
|
+
activeRow: $,
|
|
79
|
+
gridColumnTemplate: P,
|
|
77
80
|
toggleSortOrder: Q,
|
|
78
|
-
columnsStickyPositions:
|
|
81
|
+
columnsStickyPositions: H,
|
|
79
82
|
hasSearchSlot: W,
|
|
80
83
|
containerStyle: j,
|
|
81
84
|
onScroll: N,
|
|
82
85
|
savingRows: F,
|
|
83
|
-
hasExpandSlot:
|
|
86
|
+
hasExpandSlot: R,
|
|
84
87
|
toggleExpandRow: q,
|
|
85
88
|
cssRowHeight: J,
|
|
86
89
|
cssExpandGridCol: X,
|
|
@@ -88,47 +91,47 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
88
91
|
hasCheckboxes: O,
|
|
89
92
|
activeMenuRow: Z,
|
|
90
93
|
scrollTo: _
|
|
91
|
-
} =
|
|
92
|
-
const a = i.rows.map((
|
|
93
|
-
return !!a.length && a.every((
|
|
94
|
-
}),
|
|
95
|
-
|
|
94
|
+
} = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0), L = v(() => {
|
|
95
|
+
const a = i.rows.map((o, e) => i.getRowId(o, e));
|
|
96
|
+
return !!a.length && a.every((o) => C(o));
|
|
97
|
+
}), C = (a) => i.selection.findIndex((o) => i.selectedMatcher(a, o)) !== -1, te = (a) => {
|
|
98
|
+
C(a) ? (x(
|
|
96
99
|
i.selection.filter(
|
|
97
|
-
(
|
|
100
|
+
(o) => !i.selectedMatcher(a, o)
|
|
98
101
|
)
|
|
99
|
-
), y("selectRow", !1)) : (
|
|
102
|
+
), y("selectRow", !1)) : (x([...i.selection, a]), y("selectRow", !0));
|
|
100
103
|
}, se = () => {
|
|
101
|
-
if (
|
|
102
|
-
|
|
104
|
+
if (L.value)
|
|
105
|
+
x([]), y("selectAll", !1);
|
|
103
106
|
else {
|
|
104
|
-
const a = i.rows.map((
|
|
105
|
-
|
|
107
|
+
const a = i.rows.map((o, e) => i.getRowId(o, e)).filter((o) => !C(o));
|
|
108
|
+
x([...i.selection, ...a]), y("selectAll", !0);
|
|
106
109
|
}
|
|
107
|
-
},
|
|
110
|
+
}, x = (a) => {
|
|
108
111
|
y("update:selection", a);
|
|
109
|
-
}, ae = v(
|
|
112
|
+
}, ae = (a) => !i.isLoading && $.value === a, le = v(
|
|
110
113
|
() => i.emptyStateVariant ?? (g.value ? "no-results" : "no-data")
|
|
111
|
-
),
|
|
114
|
+
), ie = v(
|
|
112
115
|
() => i.emptyStateSubtitle ? i.emptyStateSubtitle : g.value ? "Search again with different filters" : void 0
|
|
113
116
|
);
|
|
114
117
|
return m({
|
|
115
118
|
scrollTo: _
|
|
116
|
-
}), (a,
|
|
119
|
+
}), (a, o) => (l(), d("div", {
|
|
117
120
|
class: "table-container",
|
|
118
121
|
"data-testid": `${s.testId}-${t(S).CONTAINER}`,
|
|
119
|
-
onMouseleave:
|
|
122
|
+
onMouseleave: o[3] || (o[3] = (e) => $.value = null)
|
|
120
123
|
}, [
|
|
121
124
|
u("table", {
|
|
122
125
|
ref: t(G).ref,
|
|
123
|
-
style:
|
|
126
|
+
style: T(t(j)),
|
|
124
127
|
class: f({
|
|
125
128
|
hasFooter: t(D)
|
|
126
129
|
}),
|
|
127
130
|
"data-testid": `${s.testId}-${t(S).TABLE}`,
|
|
128
|
-
onScrollPassive:
|
|
131
|
+
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
129
132
|
(...e) => t(N) && t(N)(...e))
|
|
130
133
|
}, [
|
|
131
|
-
s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(),
|
|
134
|
+
s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), d("div", {
|
|
132
135
|
key: 0,
|
|
133
136
|
class: f(["table-header", { isStickyHeader: s.isStickyHeader }]),
|
|
134
137
|
"data-testid": `${s.testId}-${t(S).HEADER}`
|
|
@@ -137,40 +140,40 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
137
140
|
class: "table-title",
|
|
138
141
|
"data-testid": `${s.testId}-${t(S).TITLE}`
|
|
139
142
|
}, [
|
|
140
|
-
|
|
141
|
-
h(t(
|
|
142
|
-
default:
|
|
143
|
-
|
|
143
|
+
c(a.$slots, "title", {}, () => [
|
|
144
|
+
h(t(A), { variant: "h3" }, {
|
|
145
|
+
default: w(() => [
|
|
146
|
+
E(B(s.title), 1)
|
|
144
147
|
]),
|
|
145
148
|
_: 1
|
|
146
149
|
})
|
|
147
|
-
]
|
|
148
|
-
], 8,
|
|
150
|
+
])
|
|
151
|
+
], 8, Re),
|
|
149
152
|
u("div", {
|
|
150
153
|
class: "table-header-right",
|
|
151
154
|
"data-testid": `${s.testId}-${t(S).HEADER_RIGHT}`
|
|
152
155
|
}, [
|
|
153
|
-
s.showSearch ?
|
|
154
|
-
u("div",
|
|
155
|
-
h(t(
|
|
156
|
+
s.showSearch ? c(a.$slots, "search", { key: 0 }, () => [
|
|
157
|
+
u("div", xe, [
|
|
158
|
+
h(t(me), {
|
|
156
159
|
modelValue: t(g),
|
|
157
|
-
"onUpdate:modelValue":
|
|
160
|
+
"onUpdate:modelValue": o[0] || (o[0] = (e) => ce(g) ? g.value = e : null),
|
|
158
161
|
placeholder: s.searchPlaceholder,
|
|
159
162
|
"auto-focus": s.searchAutoFocus,
|
|
160
163
|
"test-id": s.testId,
|
|
161
|
-
onOnClear:
|
|
164
|
+
onOnClear: o[1] || (o[1] = (e) => y("onClearSearch"))
|
|
162
165
|
}, null, 8, ["modelValue", "placeholder", "auto-focus", "test-id"])
|
|
163
166
|
])
|
|
164
|
-
]
|
|
165
|
-
], 8,
|
|
166
|
-
t(b)["table-header-actions"] ? (l(),
|
|
167
|
+
]) : r("", !0)
|
|
168
|
+
], 8, Ce),
|
|
169
|
+
t(b)["table-header-actions"] ? (l(), d("div", {
|
|
167
170
|
key: 0,
|
|
168
171
|
class: "table-header-actions",
|
|
169
172
|
"data-testid": `${s.testId}-${t(S).ACTIONS}`
|
|
170
173
|
}, [
|
|
171
|
-
|
|
172
|
-
], 8,
|
|
173
|
-
], 10,
|
|
174
|
+
c(a.$slots, "table-header-actions")
|
|
175
|
+
], 8, Te)) : r("", !0)
|
|
176
|
+
], 10, $e)) : r("", !0),
|
|
174
177
|
u("thead", {
|
|
175
178
|
class: f({ sticky: s.isSticky, isStickyHeader: s.isStickyHeader })
|
|
176
179
|
}, [
|
|
@@ -178,38 +181,38 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
178
181
|
class: "sections",
|
|
179
182
|
"data-testid": `${s.testId}-${t(S).SECTIONS}`
|
|
180
183
|
}, [
|
|
181
|
-
(l(!0),
|
|
184
|
+
(l(!0), d(I, null, p(s.sections, (e) => (l(), d("div", {
|
|
182
185
|
key: e.id,
|
|
183
186
|
class: f(["section-container", { sticky: e.isSticky }])
|
|
184
187
|
}, [
|
|
185
|
-
|
|
188
|
+
c(a.$slots, `section-${e.id}`, {}, () => [
|
|
186
189
|
u("div", {
|
|
187
|
-
style:
|
|
190
|
+
style: T({ width: e.width + "px" }),
|
|
188
191
|
class: f({ section: !0 })
|
|
189
192
|
}, [
|
|
190
|
-
h(t(
|
|
191
|
-
default:
|
|
192
|
-
|
|
193
|
+
h(t(A), { variant: "body2" }, {
|
|
194
|
+
default: w(() => [
|
|
195
|
+
E(B(e.title), 1)
|
|
193
196
|
]),
|
|
194
197
|
_: 2
|
|
195
198
|
}, 1024)
|
|
196
199
|
], 4)
|
|
197
|
-
]
|
|
200
|
+
])
|
|
198
201
|
], 2))), 128))
|
|
199
|
-
], 8,
|
|
202
|
+
], 8, we),
|
|
200
203
|
u("tr", null, [
|
|
201
|
-
t(O) ? (l(),
|
|
202
|
-
|
|
204
|
+
t(O) ? (l(), d("th", Ee, [
|
|
205
|
+
c(a.$slots, "select-all-checkbox", {}, () => [
|
|
203
206
|
h(t(K), {
|
|
204
207
|
disabled: s.isLoading,
|
|
205
|
-
"is-checked": t(
|
|
206
|
-
"is-indeterminate": !t(
|
|
208
|
+
"is-checked": t(L),
|
|
209
|
+
"is-indeterminate": !t(L) && t(ee) > 0,
|
|
207
210
|
"onUpdate:isChecked": se
|
|
208
211
|
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
209
|
-
]
|
|
210
|
-
])) :
|
|
211
|
-
t(
|
|
212
|
-
(l(!0),
|
|
212
|
+
])
|
|
213
|
+
])) : r("", !0),
|
|
214
|
+
t(R) ? (l(), d("th", Be)) : r("", !0),
|
|
215
|
+
(l(!0), d(I, null, p(s.columns, (e) => (l(), d("th", {
|
|
213
216
|
key: e.id,
|
|
214
217
|
class: f({
|
|
215
218
|
sticky: e.isSticky,
|
|
@@ -219,62 +222,62 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
219
222
|
isSortable: e.isSortable,
|
|
220
223
|
[`column-${e.id}`]: !0
|
|
221
224
|
}),
|
|
222
|
-
style:
|
|
225
|
+
style: T(e.isSticky ? t(H)[e.id] : null),
|
|
223
226
|
onClick: (k) => e.isSortable ? t(Q)(e) : null
|
|
224
227
|
}, [
|
|
225
|
-
u("div",
|
|
226
|
-
|
|
227
|
-
h(t(
|
|
228
|
-
default:
|
|
229
|
-
|
|
228
|
+
u("div", pe, [
|
|
229
|
+
c(a.$slots, `header-${e.id}`, { column: e }, () => [
|
|
230
|
+
h(t(A), { variant: "tableLabel" }, {
|
|
231
|
+
default: w(() => [
|
|
232
|
+
E(B(e.title), 1)
|
|
230
233
|
]),
|
|
231
234
|
_: 2
|
|
232
235
|
}, 1024)
|
|
233
|
-
]
|
|
234
|
-
e.helpText ? (l(), z(
|
|
236
|
+
]),
|
|
237
|
+
e.helpText ? (l(), z(Se, {
|
|
235
238
|
key: 0,
|
|
236
239
|
"hover-help-text": e.helpText,
|
|
237
240
|
"hover-help-text-placement": e.helpTextPlacement
|
|
238
|
-
}, null, 8, ["hover-help-text", "hover-help-text-placement"])) :
|
|
239
|
-
e.isSortable && e.id === s.sort?.sortBy ? (l(), z(
|
|
241
|
+
}, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
|
|
242
|
+
e.isSortable && e.id === s.sort?.sortBy ? (l(), z(fe, {
|
|
240
243
|
key: 1,
|
|
241
244
|
"sort-order": s.sort.sortOrder
|
|
242
|
-
}, null, 8, ["sort-order"])) :
|
|
245
|
+
}, null, 8, ["sort-order"])) : r("", !0)
|
|
243
246
|
])
|
|
244
|
-
], 14,
|
|
247
|
+
], 14, Ie))), 128))
|
|
245
248
|
])
|
|
246
249
|
], 2),
|
|
247
250
|
u("tbody", null, [
|
|
248
|
-
t(
|
|
251
|
+
t(M).length > 0 ? (l(), d("div", re({
|
|
249
252
|
key: 0,
|
|
250
253
|
class: "table-body-wrapper",
|
|
251
254
|
"data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
|
|
252
255
|
}, t(Y)), [
|
|
253
|
-
(l(!0),
|
|
256
|
+
(l(!0), d(I, null, p(t(M), (e) => (l(), d("tr", {
|
|
254
257
|
key: e.index,
|
|
255
258
|
class: f(["table-row", {
|
|
256
259
|
loading: s.isLoading || s.isLoading && !e.data || t(F).includes(e.index),
|
|
257
|
-
active: t(
|
|
260
|
+
active: t($) === e.index,
|
|
258
261
|
activeMenu: t(Z) === e.index,
|
|
259
|
-
expanded: t(
|
|
262
|
+
expanded: t(R) && t(V)(e.index),
|
|
260
263
|
[U(e.index)]: !0
|
|
261
264
|
}]),
|
|
262
|
-
onMouseenter: (k) =>
|
|
265
|
+
onMouseenter: (k) => $.value = e.index,
|
|
263
266
|
onClick: (k) => y("clickRow", e.index)
|
|
264
267
|
}, [
|
|
265
|
-
t(O) ? (l(),
|
|
268
|
+
t(O) ? (l(), d("td", Le, [
|
|
266
269
|
h(t(K), {
|
|
267
|
-
"is-checked":
|
|
270
|
+
"is-checked": C(s.getRowId(e.data, e.index)),
|
|
268
271
|
"onUpdate:isChecked": (k) => te(s.getRowId(e.data, e.index))
|
|
269
272
|
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
270
|
-
])) :
|
|
271
|
-
t(
|
|
272
|
-
h(
|
|
273
|
+
])) : r("", !0),
|
|
274
|
+
t(R) ? (l(), d("td", Me, [
|
|
275
|
+
h(ke, {
|
|
273
276
|
expanded: t(V)(e.index),
|
|
274
277
|
onClick: (k) => t(q)(e.index, k)
|
|
275
278
|
}, null, 8, ["expanded", "onClick"])
|
|
276
|
-
])) :
|
|
277
|
-
(l(!0),
|
|
279
|
+
])) : r("", !0),
|
|
280
|
+
(l(!0), d(I, null, p(s.columns, (k, n) => (l(), d("td", {
|
|
278
281
|
key: n,
|
|
279
282
|
class: f({
|
|
280
283
|
sticky: s.columns[n].isSticky,
|
|
@@ -283,58 +286,64 @@ const ge = ["data-testid"], ve = ["data-testid"], be = ["data-testid"], $e = ["d
|
|
|
283
286
|
isTextRight: s.columns[n].isTextRight,
|
|
284
287
|
[`column-${s.columns[n].id}`]: !0
|
|
285
288
|
}),
|
|
286
|
-
style:
|
|
287
|
-
s.columns[n].isSticky ? t(
|
|
289
|
+
style: T(
|
|
290
|
+
s.columns[n].isSticky ? t(H)[s.columns[n].id] : null
|
|
288
291
|
)
|
|
289
292
|
}, [
|
|
290
|
-
!s.isLoading || s.isLoading && e.data[n] ? (l(),
|
|
293
|
+
!s.isLoading || s.isLoading && e.data[n] ? (l(), d("div", {
|
|
291
294
|
key: 0,
|
|
292
295
|
class: f(["table-cell", { last: n === e.data.length - 1 }])
|
|
293
296
|
}, [
|
|
294
|
-
|
|
297
|
+
c(a.$slots, `cell-${s.columns[n].id}`, {
|
|
295
298
|
cell: e.data[n],
|
|
296
299
|
isLoading: t(F).includes(e.index),
|
|
297
300
|
cellIndex: n,
|
|
298
301
|
row: e,
|
|
299
302
|
rowIndex: e.index
|
|
300
303
|
}, () => [
|
|
301
|
-
h(t(
|
|
302
|
-
default:
|
|
303
|
-
|
|
304
|
+
h(t(A), { variant: "body1" }, {
|
|
305
|
+
default: w(() => [
|
|
306
|
+
E(B(e.data[n]), 1)
|
|
304
307
|
]),
|
|
305
308
|
_: 2
|
|
306
309
|
}, 1024)
|
|
307
|
-
]
|
|
308
|
-
], 2)) :
|
|
309
|
-
h(t(
|
|
310
|
-
]
|
|
310
|
+
])
|
|
311
|
+
], 2)) : c(a.$slots, "loader", { key: 1 }, () => [
|
|
312
|
+
h(t(ue), { round: "" })
|
|
313
|
+
])
|
|
311
314
|
], 6))), 128)),
|
|
312
|
-
t(
|
|
313
|
-
|
|
315
|
+
t(R) && t(V)(e.index) ? (l(), d("div", Pe, [
|
|
316
|
+
c(a.$slots, "expanded", {
|
|
317
|
+
row: e,
|
|
318
|
+
gridColumnTemplate: t(P)
|
|
319
|
+
})
|
|
320
|
+
])) : r("", !0),
|
|
321
|
+
ae(e.index) ? (l(), d("div", He, [
|
|
322
|
+
c(a.$slots, "floating-row", {
|
|
314
323
|
row: e,
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
])) :
|
|
318
|
-
], 42,
|
|
319
|
-
], 16,
|
|
320
|
-
|
|
321
|
-
h(t(
|
|
324
|
+
rowIndex: e.index
|
|
325
|
+
})
|
|
326
|
+
])) : r("", !0)
|
|
327
|
+
], 42, Ve))), 128))
|
|
328
|
+
], 16, Ae)) : (l(), d("div", Ne, [
|
|
329
|
+
c(a.$slots, "empty-state", {}, () => [
|
|
330
|
+
h(t(he), {
|
|
322
331
|
class: "empty-state",
|
|
323
332
|
title: s.emptyStateTitle,
|
|
324
|
-
subtitle: t(
|
|
325
|
-
variant: t(
|
|
333
|
+
subtitle: t(ie),
|
|
334
|
+
variant: t(le),
|
|
326
335
|
"test-id": `${s.testId}-${t(S).EMPTY_STATE}`
|
|
327
336
|
}, null, 8, ["title", "subtitle", "variant", "test-id"])
|
|
328
|
-
]
|
|
337
|
+
])
|
|
329
338
|
]))
|
|
330
339
|
])
|
|
331
|
-
], 46,
|
|
332
|
-
t(D) ? (l(),
|
|
333
|
-
|
|
334
|
-
])) :
|
|
335
|
-
], 40,
|
|
340
|
+
], 46, be),
|
|
341
|
+
t(D) ? (l(), d("div", Fe, [
|
|
342
|
+
c(a.$slots, "footer")
|
|
343
|
+
])) : r("", !0)
|
|
344
|
+
], 40, ve));
|
|
336
345
|
}
|
|
337
346
|
});
|
|
338
347
|
export {
|
|
339
|
-
|
|
348
|
+
Xe as default
|
|
340
349
|
};
|
|
@@ -120,8 +120,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
120
120
|
search?(_: {}): any;
|
|
121
121
|
"table-header-actions"?(_: {}): any;
|
|
122
122
|
"floating-row"?(_: {
|
|
123
|
-
row:
|
|
124
|
-
rowIndex:
|
|
123
|
+
row: import("@vueuse/core").UseVirtualListItem<import("@is-ssp/table/common/Table.types").Row>;
|
|
124
|
+
rowIndex: number;
|
|
125
125
|
}): any;
|
|
126
126
|
"empty-state"?(_: {}): any;
|
|
127
127
|
}>;
|
|
@@ -684,6 +684,10 @@ declare const DataGridTypes: () => (({
|
|
|
684
684
|
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
685
685
|
gridColumnTemplate: any;
|
|
686
686
|
}): any;
|
|
687
|
+
"floating-row"?(_: {
|
|
688
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
689
|
+
rowIndex: number;
|
|
690
|
+
}): any;
|
|
687
691
|
"empty-state"?(_: {}): any;
|
|
688
692
|
footer?(_: {}): any;
|
|
689
693
|
};
|
|
@@ -1225,8 +1229,8 @@ declare const DataGridTypes: () => (({
|
|
|
1225
1229
|
search?(_: {}): any;
|
|
1226
1230
|
"table-header-actions"?(_: {}): any;
|
|
1227
1231
|
"floating-row"?(_: {
|
|
1228
|
-
row:
|
|
1229
|
-
rowIndex:
|
|
1232
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
1233
|
+
rowIndex: number;
|
|
1230
1234
|
}): any;
|
|
1231
1235
|
"empty-state"?(_: {}): any;
|
|
1232
1236
|
};
|