@ironsource/shared-ui 2.1.10-rc.2 → 2.1.10-rc.4
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/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_92101a6c_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_899679d0_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_f61be399_lang.css +1 -0
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +165 -158
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
- package/components/dropdown/v4/DropdownV4.vue.d.ts +12 -0
- package/components/dropdown/v4/DropdownV4.vue.js +3 -3
- package/components/dropdown/v4/DropdownV4.vue2.js +173 -167
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/index.d.ts +111 -3
- package/components/table/v4/DataGrid.vue.d.ts +8 -3
- package/components/table/v4/DataGrid.vue.js +2 -2
- package/components/table/v4/DataGrid.vue2.js +58 -57
- package/components/table/v4/MultipleDataGrid.vue.d.ts +18 -3
- package/components/table/v4/MultipleDataGrid.vue.js +2 -2
- package/components/table/v4/MultipleDataGrid.vue2.js +78 -72
- package/components/table/v4/index.d.ts +84 -8
- package/consts/configs.d.ts +1 -0
- package/consts/configs.js +4 -0
- package/index.d.ts +390 -22
- package/index.js +1 -1
- package/package.json +1 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_9cab3826_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_62a620ee_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_60d4a465_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
|
@@ -6,7 +6,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
sections?: Section[];
|
|
7
7
|
sort?: Sort;
|
|
8
8
|
selection?: unknown[];
|
|
9
|
-
getRowId?: (row: Row, index: number) =>
|
|
9
|
+
getRowId?: (row: Row, index: number) => unknown;
|
|
10
|
+
getRowKey?: (row: Row, index: number) => string | number;
|
|
10
11
|
selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
|
|
11
12
|
isSticky?: boolean;
|
|
12
13
|
isStickyHeader?: boolean;
|
|
@@ -45,6 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
45
46
|
testId: string;
|
|
46
47
|
selection: any;
|
|
47
48
|
getRowId: (row: any, index: any) => any;
|
|
49
|
+
getRowKey: (row: any, index: any) => any;
|
|
48
50
|
selectedMatcher: (rowId: any, selectedItem: any) => boolean;
|
|
49
51
|
search: any;
|
|
50
52
|
showSearch: boolean;
|
|
@@ -73,7 +75,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
75
|
sections?: Section[];
|
|
74
76
|
sort?: Sort;
|
|
75
77
|
selection?: unknown[];
|
|
76
|
-
getRowId?: (row: Row, index: number) =>
|
|
78
|
+
getRowId?: (row: Row, index: number) => unknown;
|
|
79
|
+
getRowKey?: (row: Row, index: number) => string | number;
|
|
77
80
|
selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
|
|
78
81
|
isSticky?: boolean;
|
|
79
82
|
isStickyHeader?: boolean;
|
|
@@ -112,6 +115,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
112
115
|
testId: string;
|
|
113
116
|
selection: any;
|
|
114
117
|
getRowId: (row: any, index: any) => any;
|
|
118
|
+
getRowKey: (row: any, index: any) => any;
|
|
115
119
|
selectedMatcher: (rowId: any, selectedItem: any) => boolean;
|
|
116
120
|
search: any;
|
|
117
121
|
showSearch: boolean;
|
|
@@ -151,7 +155,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
151
155
|
infiniteScrollThreshold: number;
|
|
152
156
|
rowHeight: number | ((index: number) => number);
|
|
153
157
|
defaultScrollPosition: number;
|
|
154
|
-
getRowId: (row: Row, index: number) =>
|
|
158
|
+
getRowId: (row: Row, index: number) => unknown;
|
|
159
|
+
getRowKey: (row: Row, index: number) => string | number;
|
|
155
160
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
156
161
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
157
162
|
zIndexBase: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
2
|
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_92101a6c_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-92101a6c"]]);
|
|
5
5
|
export {
|
|
6
6
|
s as default
|
|
7
7
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_92101a6c_lang.css"; import { defineComponent as de, useCssVars as oe, unref as t, useSlots as ne, computed as v, openBlock as l, createElementBlock as d, createElementVNode as u, normalizeStyle as T, normalizeClass as f, renderSlot as c, createVNode as h, withCtx as w, createTextVNode as E, toDisplayString as B, isRef as ce, createCommentVNode as r, Fragment as I, renderList as A, createBlock as K, mergeProps as re } from "vue";
|
|
2
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";
|
|
5
|
-
import
|
|
5
|
+
import z from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
6
6
|
import { TableTestIdModifiers as S } from "../../../testids/index.js";
|
|
7
7
|
import { tableCommon as ye } from "../common/Table.common.js";
|
|
8
8
|
import fe from "./SortIcon.vue.js";
|
|
@@ -13,22 +13,22 @@ 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
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"], Ae = { class: "table-head-container" }, Ve = ["data-testid"], pe = ["onMouseenter", "onClick"], Le = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "checkbox-cell"
|
|
22
|
-
},
|
|
22
|
+
}, Me = {
|
|
23
23
|
key: 1,
|
|
24
24
|
class: "expand-toggle-cell"
|
|
25
|
-
},
|
|
25
|
+
}, Pe = {
|
|
26
26
|
key: 2,
|
|
27
27
|
class: "expanded-row"
|
|
28
28
|
}, He = {
|
|
29
29
|
key: 3,
|
|
30
30
|
class: "floating-row"
|
|
31
|
-
},
|
|
31
|
+
}, Fe = { key: 1 }, Ne = {
|
|
32
32
|
key: 0,
|
|
33
33
|
class: "table-footer"
|
|
34
34
|
}, Xe = /* @__PURE__ */ de({
|
|
@@ -40,8 +40,9 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
40
40
|
sections: { default: null },
|
|
41
41
|
sort: { default: null },
|
|
42
42
|
selection: { default: null },
|
|
43
|
-
getRowId: { type: Function, default: (s,
|
|
44
|
-
|
|
43
|
+
getRowId: { type: Function, default: (s, k) => k },
|
|
44
|
+
getRowKey: { type: Function, default: (s, k) => k },
|
|
45
|
+
selectedMatcher: { type: Function, default: (s, k) => s === k },
|
|
45
46
|
isSticky: { type: Boolean, default: !0 },
|
|
46
47
|
isStickyHeader: { type: Boolean, default: !1 },
|
|
47
48
|
isLoading: { type: Boolean, default: !1 },
|
|
@@ -63,35 +64,35 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
63
64
|
rowDataKey: { default: "" }
|
|
64
65
|
},
|
|
65
66
|
emits: ["update:sort", "update:search", "update:selection", "onScroll", "onClearSearch", "saveRow", "loadMore", "selectAll", "selectRow", "clickRow"],
|
|
66
|
-
setup(s, { expose:
|
|
67
|
+
setup(s, { expose: k, emit: y }) {
|
|
67
68
|
const i = s;
|
|
68
69
|
oe((a) => ({
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
70
|
+
e0125058: s.zIndexBase,
|
|
71
|
+
"1c0f4970": t(X),
|
|
72
|
+
"1d1abc41": t(P),
|
|
73
|
+
67259289: t(J)
|
|
73
74
|
}));
|
|
74
75
|
const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
|
|
75
|
-
list:
|
|
76
|
+
list: M,
|
|
76
77
|
containerProps: G,
|
|
77
78
|
wrapperProps: Y,
|
|
78
79
|
activeRow: $,
|
|
79
|
-
gridColumnTemplate:
|
|
80
|
+
gridColumnTemplate: P,
|
|
80
81
|
toggleSortOrder: Q,
|
|
81
82
|
columnsStickyPositions: H,
|
|
82
83
|
hasSearchSlot: W,
|
|
83
84
|
containerStyle: j,
|
|
84
|
-
onScroll:
|
|
85
|
-
savingRows:
|
|
85
|
+
onScroll: F,
|
|
86
|
+
savingRows: N,
|
|
86
87
|
hasExpandSlot: R,
|
|
87
88
|
toggleExpandRow: q,
|
|
88
89
|
cssRowHeight: J,
|
|
89
90
|
cssExpandGridCol: X,
|
|
90
|
-
isRowExpanded:
|
|
91
|
+
isRowExpanded: p,
|
|
91
92
|
hasCheckboxes: O,
|
|
92
93
|
activeMenuRow: Z,
|
|
93
94
|
scrollTo: _
|
|
94
|
-
} = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0),
|
|
95
|
+
} = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0), L = v(() => {
|
|
95
96
|
const a = i.rows.map((o, e) => i.getRowId(o, e));
|
|
96
97
|
return !!a.length && a.every((o) => C(o));
|
|
97
98
|
}), C = (a) => i.selection.findIndex((o) => i.selectedMatcher(a, o)) !== -1, te = (a) => {
|
|
@@ -101,7 +102,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
101
102
|
)
|
|
102
103
|
), y("selectRow", !1)) : (x([...i.selection, a]), y("selectRow", !0));
|
|
103
104
|
}, se = () => {
|
|
104
|
-
if (
|
|
105
|
+
if (L.value)
|
|
105
106
|
x([]), y("selectAll", !1);
|
|
106
107
|
else {
|
|
107
108
|
const a = i.rows.map((o, e) => i.getRowId(o, e)).filter((o) => !C(o));
|
|
@@ -114,7 +115,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
114
115
|
), ie = v(
|
|
115
116
|
() => i.emptyStateSubtitle ? i.emptyStateSubtitle : g.value ? "Search again with different filters" : void 0
|
|
116
117
|
);
|
|
117
|
-
return
|
|
118
|
+
return k({
|
|
118
119
|
scrollTo: _
|
|
119
120
|
}), (a, o) => (l(), d("div", {
|
|
120
121
|
class: "table-container",
|
|
@@ -129,7 +130,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
129
130
|
}),
|
|
130
131
|
"data-testid": `${s.testId}-${t(S).TABLE}`,
|
|
131
132
|
onScrollPassive: o[2] || (o[2] = //@ts-ignore
|
|
132
|
-
(...e) => t(
|
|
133
|
+
(...e) => t(F) && t(F)(...e))
|
|
133
134
|
}, [
|
|
134
135
|
s.title || t(b).title || t(W) || t(b)["table-header-actions"] ? (l(), d("div", {
|
|
135
136
|
key: 0,
|
|
@@ -143,7 +144,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
143
144
|
c(a.$slots, "title", {}, () => [
|
|
144
145
|
h(t(V), { variant: "h3" }, {
|
|
145
146
|
default: w(() => [
|
|
146
|
-
E(
|
|
147
|
+
E(B(s.title), 1)
|
|
147
148
|
]),
|
|
148
149
|
_: 1
|
|
149
150
|
})
|
|
@@ -181,7 +182,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
181
182
|
class: "sections",
|
|
182
183
|
"data-testid": `${s.testId}-${t(S).SECTIONS}`
|
|
183
184
|
}, [
|
|
184
|
-
(l(!0), d(
|
|
185
|
+
(l(!0), d(I, null, A(s.sections, (e) => (l(), d("div", {
|
|
185
186
|
key: e.id,
|
|
186
187
|
class: f(["section-container", { sticky: e.isSticky }])
|
|
187
188
|
}, [
|
|
@@ -192,7 +193,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
192
193
|
}, [
|
|
193
194
|
h(t(V), { variant: "body2" }, {
|
|
194
195
|
default: w(() => [
|
|
195
|
-
E(
|
|
196
|
+
E(B(e.title), 1)
|
|
196
197
|
]),
|
|
197
198
|
_: 2
|
|
198
199
|
}, 1024)
|
|
@@ -203,16 +204,16 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
203
204
|
u("tr", null, [
|
|
204
205
|
t(O) ? (l(), d("th", Ee, [
|
|
205
206
|
c(a.$slots, "select-all-checkbox", {}, () => [
|
|
206
|
-
h(t(
|
|
207
|
+
h(t(z), {
|
|
207
208
|
disabled: s.isLoading,
|
|
208
|
-
"is-checked": t(
|
|
209
|
-
"is-indeterminate": !t(
|
|
209
|
+
"is-checked": t(L),
|
|
210
|
+
"is-indeterminate": !t(L) && t(ee) > 0,
|
|
210
211
|
"onUpdate:isChecked": se
|
|
211
212
|
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
212
213
|
])
|
|
213
214
|
])) : r("", !0),
|
|
214
|
-
t(R) ? (l(), d("th",
|
|
215
|
-
(l(!0), d(
|
|
215
|
+
t(R) ? (l(), d("th", Be)) : r("", !0),
|
|
216
|
+
(l(!0), d(I, null, A(s.columns, (e) => (l(), d("th", {
|
|
216
217
|
key: e.id,
|
|
217
218
|
class: f({
|
|
218
219
|
sticky: e.isSticky,
|
|
@@ -223,61 +224,61 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
223
224
|
[`column-${e.id}`]: !0
|
|
224
225
|
}),
|
|
225
226
|
style: T(e.isSticky ? t(H)[e.id] : null),
|
|
226
|
-
onClick: (
|
|
227
|
+
onClick: (m) => e.isSortable ? t(Q)(e) : null
|
|
227
228
|
}, [
|
|
228
229
|
u("div", Ae, [
|
|
229
230
|
c(a.$slots, `header-${e.id}`, { column: e }, () => [
|
|
230
231
|
h(t(V), { variant: "tableLabel" }, {
|
|
231
232
|
default: w(() => [
|
|
232
|
-
E(
|
|
233
|
+
E(B(e.title), 1)
|
|
233
234
|
]),
|
|
234
235
|
_: 2
|
|
235
236
|
}, 1024)
|
|
236
237
|
]),
|
|
237
|
-
e.helpText ? (l(),
|
|
238
|
+
e.helpText ? (l(), K(Se, {
|
|
238
239
|
key: 0,
|
|
239
240
|
"hover-help-text": e.helpText,
|
|
240
241
|
"hover-help-text-placement": e.helpTextPlacement
|
|
241
242
|
}, null, 8, ["hover-help-text", "hover-help-text-placement"])) : r("", !0),
|
|
242
|
-
e.isSortable && e.id === s.sort?.sortBy ? (l(),
|
|
243
|
+
e.isSortable && e.id === s.sort?.sortBy ? (l(), K(fe, {
|
|
243
244
|
key: 1,
|
|
244
245
|
"sort-order": s.sort.sortOrder
|
|
245
246
|
}, null, 8, ["sort-order"])) : r("", !0)
|
|
246
247
|
])
|
|
247
|
-
], 14,
|
|
248
|
+
], 14, Ie))), 128))
|
|
248
249
|
])
|
|
249
250
|
], 2),
|
|
250
251
|
u("tbody", null, [
|
|
251
|
-
t(
|
|
252
|
+
t(M).length > 0 ? (l(), d("div", re({
|
|
252
253
|
key: 0,
|
|
253
254
|
class: "table-body-wrapper",
|
|
254
255
|
"data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
|
|
255
256
|
}, t(Y)), [
|
|
256
|
-
(l(!0), d(
|
|
257
|
-
key: s.
|
|
257
|
+
(l(!0), d(I, null, A(t(M), (e) => (l(), d("tr", {
|
|
258
|
+
key: s.getRowKey(e.data, e.index),
|
|
258
259
|
class: f(["table-row", {
|
|
259
|
-
loading: s.isLoading || s.isLoading && !e.data || t(
|
|
260
|
+
loading: s.isLoading || s.isLoading && !e.data || t(N).includes(e.index),
|
|
260
261
|
active: t($) === e.index,
|
|
261
262
|
activeMenu: t(Z) === e.index,
|
|
262
|
-
expanded: t(R) && t(
|
|
263
|
+
expanded: t(R) && t(p)(e.index),
|
|
263
264
|
[U(e.index)]: !0
|
|
264
265
|
}]),
|
|
265
|
-
onMouseenter: (
|
|
266
|
-
onClick: (
|
|
266
|
+
onMouseenter: (m) => $.value = e.index,
|
|
267
|
+
onClick: (m) => y("clickRow", e.index)
|
|
267
268
|
}, [
|
|
268
|
-
t(O) ? (l(), d("td",
|
|
269
|
-
h(t(
|
|
269
|
+
t(O) ? (l(), d("td", Le, [
|
|
270
|
+
h(t(z), {
|
|
270
271
|
"is-checked": C(s.getRowId(e.data, e.index)),
|
|
271
|
-
"onUpdate:isChecked": (
|
|
272
|
+
"onUpdate:isChecked": (m) => te(s.getRowId(e.data, e.index))
|
|
272
273
|
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
273
274
|
])) : r("", !0),
|
|
274
|
-
t(R) ? (l(), d("td",
|
|
275
|
+
t(R) ? (l(), d("td", Me, [
|
|
275
276
|
h(ke, {
|
|
276
|
-
expanded: t(
|
|
277
|
-
onClick: (
|
|
277
|
+
expanded: t(p)(e.index),
|
|
278
|
+
onClick: (m) => t(q)(e.index, m)
|
|
278
279
|
}, null, 8, ["expanded", "onClick"])
|
|
279
280
|
])) : r("", !0),
|
|
280
|
-
(l(!0), d(
|
|
281
|
+
(l(!0), d(I, null, A(s.columns, (m, n) => (l(), d("td", {
|
|
281
282
|
key: n,
|
|
282
283
|
class: f({
|
|
283
284
|
sticky: s.columns[n].isSticky,
|
|
@@ -296,14 +297,14 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
296
297
|
}, [
|
|
297
298
|
c(a.$slots, `cell-${s.columns[n].id}`, {
|
|
298
299
|
cell: e.data[n],
|
|
299
|
-
isLoading: t(
|
|
300
|
+
isLoading: t(N).includes(e.index),
|
|
300
301
|
cellIndex: n,
|
|
301
302
|
row: e,
|
|
302
303
|
rowIndex: e.index
|
|
303
304
|
}, () => [
|
|
304
305
|
h(t(V), { variant: "body1" }, {
|
|
305
306
|
default: w(() => [
|
|
306
|
-
E(
|
|
307
|
+
E(B(e.data[n]), 1)
|
|
307
308
|
]),
|
|
308
309
|
_: 2
|
|
309
310
|
}, 1024)
|
|
@@ -312,10 +313,10 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
312
313
|
h(t(ue), { round: "" })
|
|
313
314
|
])
|
|
314
315
|
], 6))), 128)),
|
|
315
|
-
t(R) && t(
|
|
316
|
+
t(R) && t(p)(e.index) ? (l(), d("div", Pe, [
|
|
316
317
|
c(a.$slots, "expanded", {
|
|
317
318
|
row: e,
|
|
318
|
-
gridColumnTemplate: t(
|
|
319
|
+
gridColumnTemplate: t(P)
|
|
319
320
|
})
|
|
320
321
|
])) : r("", !0),
|
|
321
322
|
ae(e.index) ? (l(), d("div", He, [
|
|
@@ -324,8 +325,8 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
324
325
|
rowIndex: e.index
|
|
325
326
|
})
|
|
326
327
|
])) : r("", !0)
|
|
327
|
-
], 42,
|
|
328
|
-
], 16, Ve)) : (l(), d("div",
|
|
328
|
+
], 42, pe))), 128))
|
|
329
|
+
], 16, Ve)) : (l(), d("div", Fe, [
|
|
329
330
|
c(a.$slots, "empty-state", {}, () => [
|
|
330
331
|
h(t(he), {
|
|
331
332
|
class: "empty-state",
|
|
@@ -338,7 +339,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
338
339
|
]))
|
|
339
340
|
])
|
|
340
341
|
], 46, be),
|
|
341
|
-
t(D) ? (l(), d("div",
|
|
342
|
+
t(D) ? (l(), d("div", Ne, [
|
|
342
343
|
c(a.$slots, "footer")
|
|
343
344
|
])) : r("", !0)
|
|
344
345
|
], 40, ve));
|
|
@@ -3,7 +3,8 @@ import { Row, SaveRowEvent, TableSettings } from '@is-ssp/table/common/Table.typ
|
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
4
|
tablesSettings: TableSettings[];
|
|
5
5
|
loadingAndEmptyStatesColumns: Column[];
|
|
6
|
-
getRowId?: (row: Row, index: number) =>
|
|
6
|
+
getRowId?: (row: Row, index: number) => unknown;
|
|
7
|
+
getRowKey?: (row: Row, index: number) => string | number;
|
|
7
8
|
isSticky?: boolean;
|
|
8
9
|
isLoading?: boolean;
|
|
9
10
|
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
@@ -19,11 +20,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
20
|
displayingText?: string;
|
|
20
21
|
outOfText?: string;
|
|
21
22
|
totalText?: string;
|
|
23
|
+
rowCustomClassKey?: string;
|
|
24
|
+
rowDataKey?: string;
|
|
22
25
|
testId?: string;
|
|
23
26
|
}>, {
|
|
24
27
|
tablesSettings: () => any[];
|
|
25
28
|
loadingAndEmptyStatesColumns: () => any[];
|
|
26
29
|
getRowId: (row: any, index: any) => any;
|
|
30
|
+
getRowKey: (row: any, index: any) => any;
|
|
27
31
|
isSticky: boolean;
|
|
28
32
|
isLoading: boolean;
|
|
29
33
|
emptyStateVariant: any;
|
|
@@ -39,6 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
39
43
|
displayingText: string;
|
|
40
44
|
outOfText: string;
|
|
41
45
|
totalText: string;
|
|
46
|
+
rowCustomClassKey: string;
|
|
47
|
+
rowDataKey: string;
|
|
42
48
|
testId: string;
|
|
43
49
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
50
|
"update:search": (query: string) => void;
|
|
@@ -51,7 +57,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
51
57
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
52
58
|
tablesSettings: TableSettings[];
|
|
53
59
|
loadingAndEmptyStatesColumns: Column[];
|
|
54
|
-
getRowId?: (row: Row, index: number) =>
|
|
60
|
+
getRowId?: (row: Row, index: number) => unknown;
|
|
61
|
+
getRowKey?: (row: Row, index: number) => string | number;
|
|
55
62
|
isSticky?: boolean;
|
|
56
63
|
isLoading?: boolean;
|
|
57
64
|
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
@@ -67,11 +74,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
74
|
displayingText?: string;
|
|
68
75
|
outOfText?: string;
|
|
69
76
|
totalText?: string;
|
|
77
|
+
rowCustomClassKey?: string;
|
|
78
|
+
rowDataKey?: string;
|
|
70
79
|
testId?: string;
|
|
71
80
|
}>, {
|
|
72
81
|
tablesSettings: () => any[];
|
|
73
82
|
loadingAndEmptyStatesColumns: () => any[];
|
|
74
83
|
getRowId: (row: any, index: any) => any;
|
|
84
|
+
getRowKey: (row: any, index: any) => any;
|
|
75
85
|
isSticky: boolean;
|
|
76
86
|
isLoading: boolean;
|
|
77
87
|
emptyStateVariant: any;
|
|
@@ -87,6 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
87
97
|
displayingText: string;
|
|
88
98
|
outOfText: string;
|
|
89
99
|
totalText: string;
|
|
100
|
+
rowCustomClassKey: string;
|
|
101
|
+
rowDataKey: string;
|
|
90
102
|
testId: string;
|
|
91
103
|
}>>> & {
|
|
92
104
|
"onUpdate:search"?: (query: string) => any;
|
|
@@ -107,9 +119,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
107
119
|
emptyStateTitle: string;
|
|
108
120
|
isSticky: boolean;
|
|
109
121
|
emptyStateSubtitle: string;
|
|
110
|
-
getRowId: (row: Row, index: number) =>
|
|
122
|
+
getRowId: (row: Row, index: number) => unknown;
|
|
123
|
+
getRowKey: (row: Row, index: number) => string | number;
|
|
111
124
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
112
125
|
zIndexBase: number;
|
|
126
|
+
rowCustomClassKey: string;
|
|
127
|
+
rowDataKey: string;
|
|
113
128
|
totalCount: number;
|
|
114
129
|
displayingText: string;
|
|
115
130
|
outOfText: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./MultipleDataGrid.vue2.js";
|
|
2
2
|
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-020a9896"]]);
|
|
5
5
|
export {
|
|
6
6
|
p as default
|
|
7
7
|
};
|