@ironsource/shared-ui 2.1.10-rc.1 → 2.1.10-rc.2
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/DataGrid.vue_vue_type_style_index_0_scoped_9cab3826_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_60d4a465_lang.css +1 -0
- package/components/table/v4/DataGrid.vue.d.ts +3 -3
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +42 -42
- package/components/table/v4/MultipleDataGrid.vue.d.ts +8 -2
- package/components/table/v4/MultipleDataGrid.vue.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue2.js +54 -51
- package/components/table/v4/index.d.ts +28 -8
- package/index.d.ts +56 -16
- package/index.js +1 -1
- package/package.json +1 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.sticky[data-v-9cab3826]{position:sticky}.table-container[data-v-9cab3826]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-9cab3826]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-9cab3826]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-9cab3826]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-9cab3826]{width:13.75rem}.table-header.isStickyHeader[data-v-9cab3826]{z-index:calc(var(--1e7437b3) + 3);top:0}.table-head-container[data-v-9cab3826]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-9cab3826]{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-9cab3826]{display:inline-table}.table-header-actions[data-v-9cab3826]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-9cab3826]{position:relative}.table-row.loading[data-v-9cab3826]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-9cab3826]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-9cab3826]{border-bottom:none}.expanded-row[data-v-9cab3826]{grid-column:var(--734017e7);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-9cab3826]{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-9cab3826]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-9cab3826],table th[data-v-9cab3826]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-9cab3826]:first-of-type,table th[data-v-9cab3826]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-9cab3826]:last-of-type,table th[data-v-9cab3826]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-9cab3826],table th.expand-toggle-cell[data-v-9cab3826]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-9cab3826]{border-bottom:none;z-index:calc(var(--1e7437b3) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-9cab3826]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--6b65cd20)}table>thead>tr>th[data-v-9cab3826]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.bordered[data-v-9cab3826]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-9cab3826]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-9cab3826]{justify-content:flex-end}table>thead>tr>th.isSortable[data-v-9cab3826]{cursor:pointer}table>thead.sticky[data-v-9cab3826]{position:sticky;top:0;background:white}table>thead.isStickyHeader[data-v-9cab3826]{z-index:calc(var(--1e7437b3) + 2);top:calc(var(--spacing-800) - 1px)}table>tbody[data-v-9cab3826]{display:block}table>tbody>*>tr[data-v-9cab3826]{background-color:var(--background-default);min-height:var(--4bca76a8);height:auto;display:grid;align-items:center;grid-template-columns:var(--6b65cd20)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-9cab3826]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-9cab3826],table>tbody>*>tr.activeMenu>td[data-v-9cab3826]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-9cab3826]{background-color:var(--background-default);border:none;min-width:0;display:flex;min-height:var(--4bca76a8);height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-9cab3826]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-9cab3826]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-9cab3826]{justify-content:flex-end;text-align:right}.section-container[data-v-9cab3826]{left:0}.sections[data-v-9cab3826]{display:flex}.section[data-v-9cab3826]{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-9cab3826]{width:100%}.empty-state[data-v-9cab3826]{min-height:250px}.floating-row[data-v-9cab3826]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--1e7437b3) + 1)}.floating-row *[data-v-9cab3826-s]{pointer-events:auto}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.multi-table-container[data-v-60d4a465]{border-radius:var(--border-radius-md);border:1px solid var(--common-divider);display:flex;flex-direction:column;overflow-y:auto;width:100%}.multi-table-container .table-header-container[data-v-60d4a465]{align-items:center;background-color:var(--background-paper-elevation-0);display:flex;height:calc(var(--spacing-800) - 2px);justify-content:space-between;padding:var(--spacing-300);width:100%}.multi-table-container .table-header-container.sticky[data-v-60d4a465]{position:sticky;top:0;z-index:calc(var(--b840474a) + 3)}.multi-table-container[data-v-60d4a465] table{display:table;border:unset;border-radius:unset}.multi-table-container[data-v-60d4a465] thead{border-top:1px solid var(--common-divider)}.multi-table-container .tables-container[data-v-60d4a465] thead.sticky{top:62px}.multi-table-container .empty-state[data-v-60d4a465]{min-height:250px}.multi-table-container .table-header-right[data-v-60d4a465]{align-items:center;display:flex;height:100%}.multi-table-container .table-header-right .table-header-actions[data-v-60d4a465]{align-items:center;display:flex;margin-left:var(--spacing-100)}
|
|
@@ -6,7 +6,7 @@ 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) => string | number;
|
|
10
10
|
selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
|
|
11
11
|
isSticky?: boolean;
|
|
12
12
|
isStickyHeader?: boolean;
|
|
@@ -73,7 +73,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
73
|
sections?: Section[];
|
|
74
74
|
sort?: Sort;
|
|
75
75
|
selection?: unknown[];
|
|
76
|
-
getRowId?: (row: Row, index: number) =>
|
|
76
|
+
getRowId?: (row: Row, index: number) => string | number;
|
|
77
77
|
selectedMatcher?: (rowId: unknown, selected: unknown) => boolean;
|
|
78
78
|
isSticky?: boolean;
|
|
79
79
|
isStickyHeader?: boolean;
|
|
@@ -151,7 +151,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
151
151
|
infiniteScrollThreshold: number;
|
|
152
152
|
rowHeight: number | ((index: number) => number);
|
|
153
153
|
defaultScrollPosition: number;
|
|
154
|
-
getRowId: (row: Row, index: number) =>
|
|
154
|
+
getRowId: (row: Row, index: number) => string | number;
|
|
155
155
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
156
156
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
157
157
|
zIndexBase: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./DataGrid.vue2.js";
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../DataGrid.
|
|
4
|
-
const
|
|
2
|
+
/* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../DataGrid.vue_vue_type_style_index_0_scoped_9cab3826_lang.css"; //*');
|
|
4
|
+
const s = /* @__PURE__ */ _(o, [["__scopeId", "data-v-9cab3826"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "../../../DataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../DataGrid.vue_vue_type_style_index_0_scoped_9cab3826_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 I, isRef as ce, createCommentVNode as r, Fragment as B, renderList as A, createBlock as z, mergeProps as re } from "vue";
|
|
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
5
|
import K from "../../checkbox/v4/CheckboxV4.vue.js";
|
|
@@ -13,16 +13,16 @@ 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
|
+
}, Ie = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: "expand-toggle-cell"
|
|
19
|
-
},
|
|
19
|
+
}, Be = ["onClick"], Ae = { class: "table-head-container" }, Ve = ["data-testid"], Le = ["onMouseenter", "onClick"], Me = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "checkbox-cell"
|
|
22
|
-
},
|
|
22
|
+
}, Pe = {
|
|
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 = {
|
|
@@ -66,17 +66,17 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
66
66
|
setup(s, { expose: m, emit: y }) {
|
|
67
67
|
const i = s;
|
|
68
68
|
oe((a) => ({
|
|
69
|
-
"
|
|
70
|
-
|
|
71
|
-
"
|
|
72
|
-
"
|
|
69
|
+
"1e7437b3": s.zIndexBase,
|
|
70
|
+
"734017e7": t(X),
|
|
71
|
+
"6b65cd20": t(p),
|
|
72
|
+
"4bca76a8": t(J)
|
|
73
73
|
}));
|
|
74
74
|
const b = ne(), U = (a) => i.rowCustomClassKey && i.rows[a] ? i.rows[a][i.rowCustomClassKey] : "", {
|
|
75
|
-
list:
|
|
75
|
+
list: P,
|
|
76
76
|
containerProps: G,
|
|
77
77
|
wrapperProps: Y,
|
|
78
78
|
activeRow: $,
|
|
79
|
-
gridColumnTemplate:
|
|
79
|
+
gridColumnTemplate: p,
|
|
80
80
|
toggleSortOrder: Q,
|
|
81
81
|
columnsStickyPositions: H,
|
|
82
82
|
hasSearchSlot: W,
|
|
@@ -87,11 +87,11 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
87
87
|
toggleExpandRow: q,
|
|
88
88
|
cssRowHeight: J,
|
|
89
89
|
cssExpandGridCol: X,
|
|
90
|
-
isRowExpanded:
|
|
90
|
+
isRowExpanded: L,
|
|
91
91
|
hasCheckboxes: O,
|
|
92
92
|
activeMenuRow: Z,
|
|
93
93
|
scrollTo: _
|
|
94
|
-
} = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0),
|
|
94
|
+
} = ye(i, y), D = v(() => !!b.footer), g = ge(i, "search", y), ee = v(() => i.selection.length || 0), M = v(() => {
|
|
95
95
|
const a = i.rows.map((o, e) => i.getRowId(o, e));
|
|
96
96
|
return !!a.length && a.every((o) => C(o));
|
|
97
97
|
}), C = (a) => i.selection.findIndex((o) => i.selectedMatcher(a, o)) !== -1, te = (a) => {
|
|
@@ -101,7 +101,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
101
101
|
)
|
|
102
102
|
), y("selectRow", !1)) : (x([...i.selection, a]), y("selectRow", !0));
|
|
103
103
|
}, se = () => {
|
|
104
|
-
if (
|
|
104
|
+
if (M.value)
|
|
105
105
|
x([]), y("selectAll", !1);
|
|
106
106
|
else {
|
|
107
107
|
const a = i.rows.map((o, e) => i.getRowId(o, e)).filter((o) => !C(o));
|
|
@@ -141,9 +141,9 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
141
141
|
"data-testid": `${s.testId}-${t(S).TITLE}`
|
|
142
142
|
}, [
|
|
143
143
|
c(a.$slots, "title", {}, () => [
|
|
144
|
-
h(t(
|
|
144
|
+
h(t(V), { variant: "h3" }, {
|
|
145
145
|
default: w(() => [
|
|
146
|
-
E(
|
|
146
|
+
E(I(s.title), 1)
|
|
147
147
|
]),
|
|
148
148
|
_: 1
|
|
149
149
|
})
|
|
@@ -181,7 +181,7 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
181
181
|
class: "sections",
|
|
182
182
|
"data-testid": `${s.testId}-${t(S).SECTIONS}`
|
|
183
183
|
}, [
|
|
184
|
-
(l(!0), d(
|
|
184
|
+
(l(!0), d(B, null, A(s.sections, (e) => (l(), d("div", {
|
|
185
185
|
key: e.id,
|
|
186
186
|
class: f(["section-container", { sticky: e.isSticky }])
|
|
187
187
|
}, [
|
|
@@ -190,9 +190,9 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
190
190
|
style: T({ width: e.width + "px" }),
|
|
191
191
|
class: f({ section: !0 })
|
|
192
192
|
}, [
|
|
193
|
-
h(t(
|
|
193
|
+
h(t(V), { variant: "body2" }, {
|
|
194
194
|
default: w(() => [
|
|
195
|
-
E(
|
|
195
|
+
E(I(e.title), 1)
|
|
196
196
|
]),
|
|
197
197
|
_: 2
|
|
198
198
|
}, 1024)
|
|
@@ -205,14 +205,14 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
205
205
|
c(a.$slots, "select-all-checkbox", {}, () => [
|
|
206
206
|
h(t(K), {
|
|
207
207
|
disabled: s.isLoading,
|
|
208
|
-
"is-checked": t(
|
|
209
|
-
"is-indeterminate": !t(
|
|
208
|
+
"is-checked": t(M),
|
|
209
|
+
"is-indeterminate": !t(M) && t(ee) > 0,
|
|
210
210
|
"onUpdate:isChecked": se
|
|
211
211
|
}, null, 8, ["disabled", "is-checked", "is-indeterminate"])
|
|
212
212
|
])
|
|
213
213
|
])) : r("", !0),
|
|
214
|
-
t(R) ? (l(), d("th",
|
|
215
|
-
(l(!0), d(
|
|
214
|
+
t(R) ? (l(), d("th", Ie)) : r("", !0),
|
|
215
|
+
(l(!0), d(B, null, A(s.columns, (e) => (l(), d("th", {
|
|
216
216
|
key: e.id,
|
|
217
217
|
class: f({
|
|
218
218
|
sticky: e.isSticky,
|
|
@@ -225,11 +225,11 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
225
225
|
style: T(e.isSticky ? t(H)[e.id] : null),
|
|
226
226
|
onClick: (k) => e.isSortable ? t(Q)(e) : null
|
|
227
227
|
}, [
|
|
228
|
-
u("div",
|
|
228
|
+
u("div", Ae, [
|
|
229
229
|
c(a.$slots, `header-${e.id}`, { column: e }, () => [
|
|
230
|
-
h(t(
|
|
230
|
+
h(t(V), { variant: "tableLabel" }, {
|
|
231
231
|
default: w(() => [
|
|
232
|
-
E(
|
|
232
|
+
E(I(e.title), 1)
|
|
233
233
|
]),
|
|
234
234
|
_: 2
|
|
235
235
|
}, 1024)
|
|
@@ -244,40 +244,40 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
244
244
|
"sort-order": s.sort.sortOrder
|
|
245
245
|
}, null, 8, ["sort-order"])) : r("", !0)
|
|
246
246
|
])
|
|
247
|
-
], 14,
|
|
247
|
+
], 14, Be))), 128))
|
|
248
248
|
])
|
|
249
249
|
], 2),
|
|
250
250
|
u("tbody", null, [
|
|
251
|
-
t(
|
|
251
|
+
t(P).length > 0 ? (l(), d("div", re({
|
|
252
252
|
key: 0,
|
|
253
253
|
class: "table-body-wrapper",
|
|
254
254
|
"data-testid": `${s.testId}-${t(S).BODY_WRAPPER}`
|
|
255
255
|
}, t(Y)), [
|
|
256
|
-
(l(!0), d(
|
|
257
|
-
key: e.index,
|
|
256
|
+
(l(!0), d(B, null, A(t(P), (e) => (l(), d("tr", {
|
|
257
|
+
key: s.getRowId(e.data, e.index),
|
|
258
258
|
class: f(["table-row", {
|
|
259
259
|
loading: s.isLoading || s.isLoading && !e.data || t(F).includes(e.index),
|
|
260
260
|
active: t($) === e.index,
|
|
261
261
|
activeMenu: t(Z) === e.index,
|
|
262
|
-
expanded: t(R) && t(
|
|
262
|
+
expanded: t(R) && t(L)(e.index),
|
|
263
263
|
[U(e.index)]: !0
|
|
264
264
|
}]),
|
|
265
265
|
onMouseenter: (k) => $.value = e.index,
|
|
266
266
|
onClick: (k) => y("clickRow", e.index)
|
|
267
267
|
}, [
|
|
268
|
-
t(O) ? (l(), d("td",
|
|
268
|
+
t(O) ? (l(), d("td", Me, [
|
|
269
269
|
h(t(K), {
|
|
270
270
|
"is-checked": C(s.getRowId(e.data, e.index)),
|
|
271
271
|
"onUpdate:isChecked": (k) => te(s.getRowId(e.data, e.index))
|
|
272
272
|
}, null, 8, ["is-checked", "onUpdate:isChecked"])
|
|
273
273
|
])) : r("", !0),
|
|
274
|
-
t(R) ? (l(), d("td",
|
|
274
|
+
t(R) ? (l(), d("td", Pe, [
|
|
275
275
|
h(ke, {
|
|
276
|
-
expanded: t(
|
|
276
|
+
expanded: t(L)(e.index),
|
|
277
277
|
onClick: (k) => t(q)(e.index, k)
|
|
278
278
|
}, null, 8, ["expanded", "onClick"])
|
|
279
279
|
])) : r("", !0),
|
|
280
|
-
(l(!0), d(
|
|
280
|
+
(l(!0), d(B, null, A(s.columns, (k, n) => (l(), d("td", {
|
|
281
281
|
key: n,
|
|
282
282
|
class: f({
|
|
283
283
|
sticky: s.columns[n].isSticky,
|
|
@@ -301,9 +301,9 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
301
301
|
row: e,
|
|
302
302
|
rowIndex: e.index
|
|
303
303
|
}, () => [
|
|
304
|
-
h(t(
|
|
304
|
+
h(t(V), { variant: "body1" }, {
|
|
305
305
|
default: w(() => [
|
|
306
|
-
E(
|
|
306
|
+
E(I(e.data[n]), 1)
|
|
307
307
|
]),
|
|
308
308
|
_: 2
|
|
309
309
|
}, 1024)
|
|
@@ -312,10 +312,10 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
312
312
|
h(t(ue), { round: "" })
|
|
313
313
|
])
|
|
314
314
|
], 6))), 128)),
|
|
315
|
-
t(R) && t(
|
|
315
|
+
t(R) && t(L)(e.index) ? (l(), d("div", pe, [
|
|
316
316
|
c(a.$slots, "expanded", {
|
|
317
317
|
row: e,
|
|
318
|
-
gridColumnTemplate: t(
|
|
318
|
+
gridColumnTemplate: t(p)
|
|
319
319
|
})
|
|
320
320
|
])) : r("", !0),
|
|
321
321
|
ae(e.index) ? (l(), d("div", He, [
|
|
@@ -324,8 +324,8 @@ const ve = ["data-testid"], be = ["data-testid"], $e = ["data-testid"], Re = ["d
|
|
|
324
324
|
rowIndex: e.index
|
|
325
325
|
})
|
|
326
326
|
])) : r("", !0)
|
|
327
|
-
], 42,
|
|
328
|
-
], 16,
|
|
327
|
+
], 42, Le))), 128))
|
|
328
|
+
], 16, Ve)) : (l(), d("div", Ne, [
|
|
329
329
|
c(a.$slots, "empty-state", {}, () => [
|
|
330
330
|
h(t(he), {
|
|
331
331
|
class: "empty-state",
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Column } from '@/components/table/v4';
|
|
2
|
-
import { SaveRowEvent, TableSettings } from '@is-ssp/table/common/Table.types';
|
|
2
|
+
import { Row, SaveRowEvent, TableSettings } from '@is-ssp/table/common/Table.types';
|
|
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) => string | number;
|
|
6
7
|
isSticky?: boolean;
|
|
7
8
|
isLoading?: boolean;
|
|
8
9
|
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
@@ -22,6 +23,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
23
|
}>, {
|
|
23
24
|
tablesSettings: () => any[];
|
|
24
25
|
loadingAndEmptyStatesColumns: () => any[];
|
|
26
|
+
getRowId: (row: any, index: any) => any;
|
|
25
27
|
isSticky: boolean;
|
|
26
28
|
isLoading: boolean;
|
|
27
29
|
emptyStateVariant: any;
|
|
@@ -49,6 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
49
51
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
50
52
|
tablesSettings: TableSettings[];
|
|
51
53
|
loadingAndEmptyStatesColumns: Column[];
|
|
54
|
+
getRowId?: (row: Row, index: number) => string | number;
|
|
52
55
|
isSticky?: boolean;
|
|
53
56
|
isLoading?: boolean;
|
|
54
57
|
emptyStateVariant?: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
@@ -68,6 +71,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
68
71
|
}>, {
|
|
69
72
|
tablesSettings: () => any[];
|
|
70
73
|
loadingAndEmptyStatesColumns: () => any[];
|
|
74
|
+
getRowId: (row: any, index: any) => any;
|
|
71
75
|
isSticky: boolean;
|
|
72
76
|
isLoading: boolean;
|
|
73
77
|
emptyStateVariant: any;
|
|
@@ -103,6 +107,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
103
107
|
emptyStateTitle: string;
|
|
104
108
|
isSticky: boolean;
|
|
105
109
|
emptyStateSubtitle: string;
|
|
110
|
+
getRowId: (row: Row, index: number) => string | number;
|
|
106
111
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
107
112
|
zIndexBase: number;
|
|
108
113
|
totalCount: number;
|
|
@@ -126,8 +131,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
126
131
|
search?(_: {}): any;
|
|
127
132
|
"table-header-actions"?(_: {}): any;
|
|
128
133
|
"floating-row"?(_: {
|
|
129
|
-
row: import("@vueuse/core").UseVirtualListItem<
|
|
134
|
+
row: import("@vueuse/core").UseVirtualListItem<Row>;
|
|
130
135
|
rowIndex: number;
|
|
136
|
+
tableIndex: number;
|
|
131
137
|
}): any;
|
|
132
138
|
"empty-state"?(_: {}): any;
|
|
133
139
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
/* empty css */import
|
|
3
|
-
// import "../../../MultipleDataGrid.
|
|
4
|
-
const
|
|
1
|
+
import o from "./MultipleDataGrid.vue2.js";
|
|
2
|
+
/* empty css */import t from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
3
|
+
// import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_60d4a465_lang.css"; //*');
|
|
4
|
+
const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-60d4a465"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
p as default
|
|
7
7
|
};
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_60d4a465_lang.css"; import { defineComponent as D, useCssVars as H, useSlots as O, computed as G, openBlock as n, createElementBlock as c, createElementVNode as v, normalizeClass as M, unref as l, renderSlot as d, createBlock as C, createCommentVNode as y, createVNode as P, isRef as $, Fragment as F, renderList as g, createSlots as b, withCtx as m } from "vue";
|
|
2
2
|
import I from "./DataGrid.vue.js";
|
|
3
3
|
import "./DataGridMenu.vue.js";
|
|
4
|
-
import
|
|
4
|
+
import U from "./DataGridRowsCounter.vue.js";
|
|
5
5
|
import "./MultipleDataGrid.vue.js";
|
|
6
6
|
import Q from "../../search/v4/SearchV4.vue.js";
|
|
7
7
|
import { useVModel as j } from "@vueuse/core";
|
|
8
|
-
import { TableTestIdModifiers as
|
|
9
|
-
const
|
|
8
|
+
import { TableTestIdModifiers as h } from "../../../testids/index.js";
|
|
9
|
+
const q = ["data-testid"], J = ["data-testid"], K = ["data-testid"], W = ["data-testid"], X = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "tables-container"
|
|
12
|
-
},
|
|
12
|
+
}, lt = /* @__PURE__ */ D({
|
|
13
13
|
__name: "MultipleDataGrid",
|
|
14
14
|
props: {
|
|
15
15
|
tablesSettings: { default: () => [] },
|
|
16
16
|
loadingAndEmptyStatesColumns: { default: () => [] },
|
|
17
|
+
getRowId: { type: Function, default: (t, i) => i },
|
|
17
18
|
isSticky: { type: Boolean, default: !0 },
|
|
18
19
|
isLoading: { type: Boolean, default: !1 },
|
|
19
20
|
emptyStateVariant: { default: null },
|
|
@@ -32,30 +33,30 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
32
33
|
testId: { default: "" }
|
|
33
34
|
},
|
|
34
35
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow", "saveRow"],
|
|
35
|
-
setup(t, { emit:
|
|
36
|
-
const
|
|
36
|
+
setup(t, { emit: i }) {
|
|
37
|
+
const w = t;
|
|
37
38
|
H((e) => ({
|
|
38
|
-
|
|
39
|
+
b840474a: t.zIndexBase
|
|
39
40
|
}));
|
|
40
41
|
const R = O(), T = G(
|
|
41
|
-
() =>
|
|
42
|
-
),
|
|
43
|
-
|
|
44
|
-
}, E = () =>
|
|
45
|
-
return (e,
|
|
42
|
+
() => w.isLoading || !w.tablesSettings.flatMap((e) => e.rows).length
|
|
43
|
+
), r = j(w, "search", i), f = (e) => `header-${e.id}`, k = (e) => `cell-${e.id}`, x = (e) => {
|
|
44
|
+
i("onScroll", e.target.scrollTop);
|
|
45
|
+
}, E = () => i("onClearSearch"), V = (e, s) => i("clickRow", e, s), B = ({ value: e, rowIndex: s, cellIndex: a, confirm: u }, o) => i("saveRow", { value: e, tableIndex: o, rowIndex: s, cellIndex: a, confirm: u });
|
|
46
|
+
return (e, s) => (n(), c("div", {
|
|
46
47
|
class: "multi-table-container",
|
|
47
48
|
onScrollPassive: x
|
|
48
49
|
}, [
|
|
49
50
|
v("div", {
|
|
50
51
|
class: M(["table-header-container", { sticky: t.isSticky }]),
|
|
51
|
-
"data-testid": `${t.testId}-${
|
|
52
|
+
"data-testid": `${t.testId}-${l(h).HEADER}`
|
|
52
53
|
}, [
|
|
53
54
|
v("div", {
|
|
54
55
|
class: "rows-counter-container",
|
|
55
|
-
"data-testid": `${t.testId}-${
|
|
56
|
+
"data-testid": `${t.testId}-${l(h).TITLE}`
|
|
56
57
|
}, [
|
|
57
58
|
d(e.$slots, "title", {}, () => [
|
|
58
|
-
t.isLoading ? y("", !0) : (n(), C(
|
|
59
|
+
t.isLoading ? y("", !0) : (n(), C(l(U), {
|
|
59
60
|
key: 0,
|
|
60
61
|
count: t.count,
|
|
61
62
|
"total-count": t.totalCount,
|
|
@@ -65,33 +66,33 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
65
66
|
"test-id": t.testId
|
|
66
67
|
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
|
|
67
68
|
], !0)
|
|
68
|
-
], 8,
|
|
69
|
+
], 8, J),
|
|
69
70
|
v("div", {
|
|
70
71
|
class: "table-header-right",
|
|
71
|
-
"data-testid": `${t.testId}-${
|
|
72
|
+
"data-testid": `${t.testId}-${l(h).HEADER_RIGHT}`
|
|
72
73
|
}, [
|
|
73
74
|
t.showSearch ? d(e.$slots, "search", { key: 0 }, () => [
|
|
74
|
-
P(
|
|
75
|
-
modelValue:
|
|
76
|
-
"onUpdate:modelValue":
|
|
75
|
+
P(l(Q), {
|
|
76
|
+
modelValue: l(r),
|
|
77
|
+
"onUpdate:modelValue": s[0] || (s[0] = (a) => $(r) ? r.value = a : null),
|
|
77
78
|
placeholder: t.searchPlaceholder,
|
|
78
79
|
"test-id": t.testId,
|
|
79
80
|
onOnClear: E
|
|
80
81
|
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
81
82
|
], !0) : y("", !0),
|
|
82
|
-
|
|
83
|
+
l(R)["table-header-actions"] ? (n(), c("div", {
|
|
83
84
|
key: 1,
|
|
84
85
|
class: "table-header-actions",
|
|
85
|
-
"data-testid": `${t.testId}-${
|
|
86
|
+
"data-testid": `${t.testId}-${l(h).ACTIONS}`
|
|
86
87
|
}, [
|
|
87
88
|
d(e.$slots, "table-header-actions", {}, void 0, !0)
|
|
88
|
-
], 8,
|
|
89
|
-
], 8,
|
|
90
|
-
], 10,
|
|
91
|
-
|
|
89
|
+
], 8, W)) : y("", !0)
|
|
90
|
+
], 8, K)
|
|
91
|
+
], 10, q),
|
|
92
|
+
l(T) ? (n(), C(l(I), {
|
|
92
93
|
key: 1,
|
|
93
|
-
search:
|
|
94
|
-
"onUpdate:search":
|
|
94
|
+
search: l(r),
|
|
95
|
+
"onUpdate:search": s[1] || (s[1] = (a) => $(r) ? r.value = a : null),
|
|
95
96
|
rows: [],
|
|
96
97
|
columns: t.loadingAndEmptyStatesColumns,
|
|
97
98
|
"is-loading": t.isLoading,
|
|
@@ -101,23 +102,23 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
101
102
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
102
103
|
"test-id": t.testId
|
|
103
104
|
}, b({
|
|
104
|
-
"empty-state":
|
|
105
|
+
"empty-state": m(() => [
|
|
105
106
|
d(e.$slots, "empty-state", {}, void 0, !0)
|
|
106
107
|
]),
|
|
107
108
|
_: 2
|
|
108
109
|
}, [
|
|
109
|
-
|
|
110
|
-
name:
|
|
111
|
-
fn:
|
|
112
|
-
d(e.$slots, `${
|
|
110
|
+
g(t.loadingAndEmptyStatesColumns, (a) => ({
|
|
111
|
+
name: f(a),
|
|
112
|
+
fn: m(() => [
|
|
113
|
+
d(e.$slots, `${f(a)}`, { column: a }, void 0, !0)
|
|
113
114
|
])
|
|
114
115
|
}))
|
|
115
|
-
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (n(),
|
|
116
|
-
(n(!0),
|
|
116
|
+
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (n(), c("div", X, [
|
|
117
|
+
(n(!0), c(F, null, g(t.tablesSettings, (a, u) => (n(), c("div", {
|
|
117
118
|
key: a.testId,
|
|
118
119
|
class: "table-wrapper"
|
|
119
120
|
}, [
|
|
120
|
-
a.rows.length ? (n(), C(
|
|
121
|
+
a.rows.length ? (n(), C(l(I), {
|
|
121
122
|
key: 0,
|
|
122
123
|
sections: a.sections,
|
|
123
124
|
columns: a.columns,
|
|
@@ -125,35 +126,37 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
125
126
|
"row-height": a.rowHeight,
|
|
126
127
|
"is-sticky": t.isSticky,
|
|
127
128
|
"z-index-base": t.zIndexBase,
|
|
129
|
+
"get-row-id": t.getRowId,
|
|
128
130
|
"test-id": a.testId,
|
|
129
|
-
onClickRow: (o) => V(o,
|
|
130
|
-
onSaveRow: (o) => B(o,
|
|
131
|
+
onClickRow: (o) => V(o, u),
|
|
132
|
+
onSaveRow: (o) => B(o, u)
|
|
131
133
|
}, b({
|
|
132
|
-
"floating-row":
|
|
134
|
+
"floating-row": m(({ row: o, rowIndex: S }) => [
|
|
133
135
|
d(e.$slots, "floating-row", {
|
|
134
136
|
row: o,
|
|
135
|
-
rowIndex:
|
|
137
|
+
rowIndex: S,
|
|
138
|
+
tableIndex: u
|
|
136
139
|
}, void 0, !0)
|
|
137
140
|
]),
|
|
138
141
|
_: 2
|
|
139
142
|
}, [
|
|
140
|
-
|
|
141
|
-
name:
|
|
142
|
-
fn:
|
|
143
|
-
d(e.$slots, `${
|
|
143
|
+
g(a.columns, (o) => ({
|
|
144
|
+
name: f(o),
|
|
145
|
+
fn: m(() => [
|
|
146
|
+
d(e.$slots, `${f(o)}`, { column: o }, void 0, !0)
|
|
144
147
|
])
|
|
145
148
|
})),
|
|
146
|
-
|
|
149
|
+
g(a.columns, (o) => ({
|
|
147
150
|
name: k(o),
|
|
148
|
-
fn:
|
|
149
|
-
cell:
|
|
151
|
+
fn: m(({
|
|
152
|
+
cell: S,
|
|
150
153
|
rowIndex: L,
|
|
151
154
|
isLoading: N,
|
|
152
155
|
cellIndex: z,
|
|
153
156
|
row: A
|
|
154
157
|
}) => [
|
|
155
158
|
d(e.$slots, `${k(o)}`, {
|
|
156
|
-
cell:
|
|
159
|
+
cell: S,
|
|
157
160
|
isLoading: N,
|
|
158
161
|
cellIndex: z,
|
|
159
162
|
row: A,
|
|
@@ -161,12 +164,12 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
161
164
|
}, void 0, !0)
|
|
162
165
|
])
|
|
163
166
|
}))
|
|
164
|
-
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "test-id", "onClickRow", "onSaveRow"])) : y("", !0)
|
|
167
|
+
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "get-row-id", "test-id", "onClickRow", "onSaveRow"])) : y("", !0)
|
|
165
168
|
]))), 128))
|
|
166
169
|
]))
|
|
167
170
|
], 32));
|
|
168
171
|
}
|
|
169
172
|
});
|
|
170
173
|
export {
|
|
171
|
-
|
|
174
|
+
lt as default
|
|
172
175
|
};
|
|
@@ -26,7 +26,7 @@ declare const DataGridTypes: () => (({
|
|
|
26
26
|
infiniteScrollThreshold: number;
|
|
27
27
|
rowHeight: number | ((index: number) => number);
|
|
28
28
|
defaultScrollPosition: number;
|
|
29
|
-
getRowId: (row: import("../common/Table.types").Row, index: number) =>
|
|
29
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
30
30
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
31
31
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
32
32
|
zIndexBase: number;
|
|
@@ -118,7 +118,7 @@ declare const DataGridTypes: () => (({
|
|
|
118
118
|
default: any;
|
|
119
119
|
};
|
|
120
120
|
getRowId: {
|
|
121
|
-
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) =>
|
|
121
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
122
122
|
default: (row: any, index: any) => any;
|
|
123
123
|
};
|
|
124
124
|
selectedMatcher: {
|
|
@@ -252,7 +252,7 @@ declare const DataGridTypes: () => (({
|
|
|
252
252
|
default: any;
|
|
253
253
|
};
|
|
254
254
|
getRowId: {
|
|
255
|
-
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) =>
|
|
255
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
256
256
|
default: (row: any, index: any) => any;
|
|
257
257
|
};
|
|
258
258
|
selectedMatcher: {
|
|
@@ -319,7 +319,7 @@ declare const DataGridTypes: () => (({
|
|
|
319
319
|
infiniteScrollThreshold: number;
|
|
320
320
|
rowHeight: number | ((index: number) => number);
|
|
321
321
|
defaultScrollPosition: number;
|
|
322
|
-
getRowId: (row: import("../common/Table.types").Row, index: number) =>
|
|
322
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
323
323
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
324
324
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
325
325
|
zIndexBase: number;
|
|
@@ -431,7 +431,7 @@ declare const DataGridTypes: () => (({
|
|
|
431
431
|
default: any;
|
|
432
432
|
};
|
|
433
433
|
getRowId: {
|
|
434
|
-
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) =>
|
|
434
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
435
435
|
default: (row: any, index: any) => any;
|
|
436
436
|
};
|
|
437
437
|
selectedMatcher: {
|
|
@@ -557,7 +557,7 @@ declare const DataGridTypes: () => (({
|
|
|
557
557
|
default: any;
|
|
558
558
|
};
|
|
559
559
|
getRowId: {
|
|
560
|
-
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) =>
|
|
560
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
561
561
|
default: (row: any, index: any) => any;
|
|
562
562
|
};
|
|
563
563
|
selectedMatcher: {
|
|
@@ -624,7 +624,7 @@ declare const DataGridTypes: () => (({
|
|
|
624
624
|
infiniteScrollThreshold: number;
|
|
625
625
|
rowHeight: number | ((index: number) => number);
|
|
626
626
|
defaultScrollPosition: number;
|
|
627
|
-
getRowId: (row: import("../common/Table.types").Row, index: number) =>
|
|
627
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
628
628
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
629
629
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
630
630
|
zIndexBase: number;
|
|
@@ -764,6 +764,7 @@ declare const DataGridTypes: () => (({
|
|
|
764
764
|
emptyStateTitle: string;
|
|
765
765
|
isSticky: boolean;
|
|
766
766
|
emptyStateSubtitle: string;
|
|
767
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
767
768
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
768
769
|
zIndexBase: number;
|
|
769
770
|
totalCount: number;
|
|
@@ -813,6 +814,10 @@ declare const DataGridTypes: () => (({
|
|
|
813
814
|
type: import("vue").PropType<string>;
|
|
814
815
|
default: string;
|
|
815
816
|
};
|
|
817
|
+
getRowId: {
|
|
818
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
819
|
+
default: (row: any, index: any) => any;
|
|
820
|
+
};
|
|
816
821
|
emptyStateVariant: {
|
|
817
822
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
818
823
|
default: any;
|
|
@@ -855,7 +860,7 @@ declare const DataGridTypes: () => (({
|
|
|
855
860
|
}) => any;
|
|
856
861
|
onOnClearSearch?: () => any;
|
|
857
862
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
858
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
863
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "getRowId" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
859
864
|
$attrs: {
|
|
860
865
|
[x: string]: unknown;
|
|
861
866
|
};
|
|
@@ -912,6 +917,10 @@ declare const DataGridTypes: () => (({
|
|
|
912
917
|
type: import("vue").PropType<string>;
|
|
913
918
|
default: string;
|
|
914
919
|
};
|
|
920
|
+
getRowId: {
|
|
921
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
922
|
+
default: (row: any, index: any) => any;
|
|
923
|
+
};
|
|
915
924
|
emptyStateVariant: {
|
|
916
925
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
917
926
|
default: any;
|
|
@@ -973,6 +982,7 @@ declare const DataGridTypes: () => (({
|
|
|
973
982
|
emptyStateTitle: string;
|
|
974
983
|
isSticky: boolean;
|
|
975
984
|
emptyStateSubtitle: string;
|
|
985
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
976
986
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
977
987
|
zIndexBase: number;
|
|
978
988
|
totalCount: number;
|
|
@@ -1042,6 +1052,10 @@ declare const DataGridTypes: () => (({
|
|
|
1042
1052
|
type: import("vue").PropType<string>;
|
|
1043
1053
|
default: string;
|
|
1044
1054
|
};
|
|
1055
|
+
getRowId: {
|
|
1056
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
1057
|
+
default: (row: any, index: any) => any;
|
|
1058
|
+
};
|
|
1045
1059
|
emptyStateVariant: {
|
|
1046
1060
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1047
1061
|
default: any;
|
|
@@ -1129,6 +1143,10 @@ declare const DataGridTypes: () => (({
|
|
|
1129
1143
|
type: import("vue").PropType<string>;
|
|
1130
1144
|
default: string;
|
|
1131
1145
|
};
|
|
1146
|
+
getRowId: {
|
|
1147
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
1148
|
+
default: (row: any, index: any) => any;
|
|
1149
|
+
};
|
|
1132
1150
|
emptyStateVariant: {
|
|
1133
1151
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1134
1152
|
default: any;
|
|
@@ -1190,6 +1208,7 @@ declare const DataGridTypes: () => (({
|
|
|
1190
1208
|
emptyStateTitle: string;
|
|
1191
1209
|
isSticky: boolean;
|
|
1192
1210
|
emptyStateSubtitle: string;
|
|
1211
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1193
1212
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
1194
1213
|
zIndexBase: number;
|
|
1195
1214
|
totalCount: number;
|
|
@@ -1216,6 +1235,7 @@ declare const DataGridTypes: () => (({
|
|
|
1216
1235
|
"floating-row"?(_: {
|
|
1217
1236
|
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
1218
1237
|
rowIndex: number;
|
|
1238
|
+
tableIndex: number;
|
|
1219
1239
|
}): any;
|
|
1220
1240
|
"empty-state"?(_: {}): any;
|
|
1221
1241
|
};
|
package/index.d.ts
CHANGED
|
@@ -5499,7 +5499,7 @@ declare const _default: {
|
|
|
5499
5499
|
infiniteScrollThreshold: number;
|
|
5500
5500
|
rowHeight: number | ((index: number) => number);
|
|
5501
5501
|
defaultScrollPosition: number;
|
|
5502
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
5502
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
5503
5503
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
5504
5504
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
5505
5505
|
zIndexBase: number;
|
|
@@ -5591,7 +5591,7 @@ declare const _default: {
|
|
|
5591
5591
|
default: any;
|
|
5592
5592
|
};
|
|
5593
5593
|
getRowId: {
|
|
5594
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
5594
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
5595
5595
|
default: (row: any, index: any) => any;
|
|
5596
5596
|
};
|
|
5597
5597
|
selectedMatcher: {
|
|
@@ -5725,7 +5725,7 @@ declare const _default: {
|
|
|
5725
5725
|
default: any;
|
|
5726
5726
|
};
|
|
5727
5727
|
getRowId: {
|
|
5728
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
5728
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
5729
5729
|
default: (row: any, index: any) => any;
|
|
5730
5730
|
};
|
|
5731
5731
|
selectedMatcher: {
|
|
@@ -5792,7 +5792,7 @@ declare const _default: {
|
|
|
5792
5792
|
infiniteScrollThreshold: number;
|
|
5793
5793
|
rowHeight: number | ((index: number) => number);
|
|
5794
5794
|
defaultScrollPosition: number;
|
|
5795
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
5795
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
5796
5796
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
5797
5797
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
5798
5798
|
zIndexBase: number;
|
|
@@ -5904,7 +5904,7 @@ declare const _default: {
|
|
|
5904
5904
|
default: any;
|
|
5905
5905
|
};
|
|
5906
5906
|
getRowId: {
|
|
5907
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
5907
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
5908
5908
|
default: (row: any, index: any) => any;
|
|
5909
5909
|
};
|
|
5910
5910
|
selectedMatcher: {
|
|
@@ -6030,7 +6030,7 @@ declare const _default: {
|
|
|
6030
6030
|
default: any;
|
|
6031
6031
|
};
|
|
6032
6032
|
getRowId: {
|
|
6033
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6033
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
6034
6034
|
default: (row: any, index: any) => any;
|
|
6035
6035
|
};
|
|
6036
6036
|
selectedMatcher: {
|
|
@@ -6097,7 +6097,7 @@ declare const _default: {
|
|
|
6097
6097
|
infiniteScrollThreshold: number;
|
|
6098
6098
|
rowHeight: number | ((index: number) => number);
|
|
6099
6099
|
defaultScrollPosition: number;
|
|
6100
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6100
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6101
6101
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6102
6102
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
6103
6103
|
zIndexBase: number;
|
|
@@ -6249,7 +6249,7 @@ declare const _default: {
|
|
|
6249
6249
|
infiniteScrollThreshold: number;
|
|
6250
6250
|
rowHeight: number | ((index: number) => number);
|
|
6251
6251
|
defaultScrollPosition: number;
|
|
6252
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6252
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6253
6253
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6254
6254
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
6255
6255
|
zIndexBase: number;
|
|
@@ -6341,7 +6341,7 @@ declare const _default: {
|
|
|
6341
6341
|
default: any;
|
|
6342
6342
|
};
|
|
6343
6343
|
getRowId: {
|
|
6344
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6344
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
6345
6345
|
default: (row: any, index: any) => any;
|
|
6346
6346
|
};
|
|
6347
6347
|
selectedMatcher: {
|
|
@@ -6475,7 +6475,7 @@ declare const _default: {
|
|
|
6475
6475
|
default: any;
|
|
6476
6476
|
};
|
|
6477
6477
|
getRowId: {
|
|
6478
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6478
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
6479
6479
|
default: (row: any, index: any) => any;
|
|
6480
6480
|
};
|
|
6481
6481
|
selectedMatcher: {
|
|
@@ -6542,7 +6542,7 @@ declare const _default: {
|
|
|
6542
6542
|
infiniteScrollThreshold: number;
|
|
6543
6543
|
rowHeight: number | ((index: number) => number);
|
|
6544
6544
|
defaultScrollPosition: number;
|
|
6545
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6545
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6546
6546
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6547
6547
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
6548
6548
|
zIndexBase: number;
|
|
@@ -6654,7 +6654,7 @@ declare const _default: {
|
|
|
6654
6654
|
default: any;
|
|
6655
6655
|
};
|
|
6656
6656
|
getRowId: {
|
|
6657
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6657
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
6658
6658
|
default: (row: any, index: any) => any;
|
|
6659
6659
|
};
|
|
6660
6660
|
selectedMatcher: {
|
|
@@ -6780,7 +6780,7 @@ declare const _default: {
|
|
|
6780
6780
|
default: any;
|
|
6781
6781
|
};
|
|
6782
6782
|
getRowId: {
|
|
6783
|
-
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6783
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
6784
6784
|
default: (row: any, index: any) => any;
|
|
6785
6785
|
};
|
|
6786
6786
|
selectedMatcher: {
|
|
@@ -6847,7 +6847,7 @@ declare const _default: {
|
|
|
6847
6847
|
infiniteScrollThreshold: number;
|
|
6848
6848
|
rowHeight: number | ((index: number) => number);
|
|
6849
6849
|
defaultScrollPosition: number;
|
|
6850
|
-
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) =>
|
|
6850
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6851
6851
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
6852
6852
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
6853
6853
|
zIndexBase: number;
|
|
@@ -6987,6 +6987,7 @@ declare const _default: {
|
|
|
6987
6987
|
emptyStateTitle: string;
|
|
6988
6988
|
isSticky: boolean;
|
|
6989
6989
|
emptyStateSubtitle: string;
|
|
6990
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
6990
6991
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
6991
6992
|
zIndexBase: number;
|
|
6992
6993
|
totalCount: number;
|
|
@@ -7036,6 +7037,10 @@ declare const _default: {
|
|
|
7036
7037
|
type: import("vue").PropType<string>;
|
|
7037
7038
|
default: string;
|
|
7038
7039
|
};
|
|
7040
|
+
getRowId: {
|
|
7041
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7042
|
+
default: (row: any, index: any) => any;
|
|
7043
|
+
};
|
|
7039
7044
|
emptyStateVariant: {
|
|
7040
7045
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7041
7046
|
default: any;
|
|
@@ -7078,7 +7083,7 @@ declare const _default: {
|
|
|
7078
7083
|
}) => any;
|
|
7079
7084
|
onOnClearSearch?: () => any;
|
|
7080
7085
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
7081
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
7086
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "getRowId" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
7082
7087
|
$attrs: {
|
|
7083
7088
|
[x: string]: unknown;
|
|
7084
7089
|
};
|
|
@@ -7135,6 +7140,10 @@ declare const _default: {
|
|
|
7135
7140
|
type: import("vue").PropType<string>;
|
|
7136
7141
|
default: string;
|
|
7137
7142
|
};
|
|
7143
|
+
getRowId: {
|
|
7144
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7145
|
+
default: (row: any, index: any) => any;
|
|
7146
|
+
};
|
|
7138
7147
|
emptyStateVariant: {
|
|
7139
7148
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7140
7149
|
default: any;
|
|
@@ -7196,6 +7205,7 @@ declare const _default: {
|
|
|
7196
7205
|
emptyStateTitle: string;
|
|
7197
7206
|
isSticky: boolean;
|
|
7198
7207
|
emptyStateSubtitle: string;
|
|
7208
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7199
7209
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
7200
7210
|
zIndexBase: number;
|
|
7201
7211
|
totalCount: number;
|
|
@@ -7265,6 +7275,10 @@ declare const _default: {
|
|
|
7265
7275
|
type: import("vue").PropType<string>;
|
|
7266
7276
|
default: string;
|
|
7267
7277
|
};
|
|
7278
|
+
getRowId: {
|
|
7279
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7280
|
+
default: (row: any, index: any) => any;
|
|
7281
|
+
};
|
|
7268
7282
|
emptyStateVariant: {
|
|
7269
7283
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7270
7284
|
default: any;
|
|
@@ -7352,6 +7366,10 @@ declare const _default: {
|
|
|
7352
7366
|
type: import("vue").PropType<string>;
|
|
7353
7367
|
default: string;
|
|
7354
7368
|
};
|
|
7369
|
+
getRowId: {
|
|
7370
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7371
|
+
default: (row: any, index: any) => any;
|
|
7372
|
+
};
|
|
7355
7373
|
emptyStateVariant: {
|
|
7356
7374
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7357
7375
|
default: any;
|
|
@@ -7413,6 +7431,7 @@ declare const _default: {
|
|
|
7413
7431
|
emptyStateTitle: string;
|
|
7414
7432
|
isSticky: boolean;
|
|
7415
7433
|
emptyStateSubtitle: string;
|
|
7434
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7416
7435
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
7417
7436
|
zIndexBase: number;
|
|
7418
7437
|
totalCount: number;
|
|
@@ -7439,6 +7458,7 @@ declare const _default: {
|
|
|
7439
7458
|
"floating-row"?(_: {
|
|
7440
7459
|
row: import("@vueuse/core").UseVirtualListItem<import("./components/table/common/Table.types").Row>;
|
|
7441
7460
|
rowIndex: number;
|
|
7461
|
+
tableIndex: number;
|
|
7442
7462
|
}): any;
|
|
7443
7463
|
"empty-state"?(_: {}): any;
|
|
7444
7464
|
};
|
|
@@ -7458,6 +7478,7 @@ declare const _default: {
|
|
|
7458
7478
|
emptyStateTitle: string;
|
|
7459
7479
|
isSticky: boolean;
|
|
7460
7480
|
emptyStateSubtitle: string;
|
|
7481
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7461
7482
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
7462
7483
|
zIndexBase: number;
|
|
7463
7484
|
totalCount: number;
|
|
@@ -7507,6 +7528,10 @@ declare const _default: {
|
|
|
7507
7528
|
type: import("vue").PropType<string>;
|
|
7508
7529
|
default: string;
|
|
7509
7530
|
};
|
|
7531
|
+
getRowId: {
|
|
7532
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7533
|
+
default: (row: any, index: any) => any;
|
|
7534
|
+
};
|
|
7510
7535
|
emptyStateVariant: {
|
|
7511
7536
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7512
7537
|
default: any;
|
|
@@ -7549,7 +7574,7 @@ declare const _default: {
|
|
|
7549
7574
|
}) => any;
|
|
7550
7575
|
onOnClearSearch?: () => any;
|
|
7551
7576
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
7552
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
7577
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "getRowId" | "emptyStateVariant" | "zIndexBase" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
7553
7578
|
$attrs: {
|
|
7554
7579
|
[x: string]: unknown;
|
|
7555
7580
|
};
|
|
@@ -7606,6 +7631,10 @@ declare const _default: {
|
|
|
7606
7631
|
type: import("vue").PropType<string>;
|
|
7607
7632
|
default: string;
|
|
7608
7633
|
};
|
|
7634
|
+
getRowId: {
|
|
7635
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7636
|
+
default: (row: any, index: any) => any;
|
|
7637
|
+
};
|
|
7609
7638
|
emptyStateVariant: {
|
|
7610
7639
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7611
7640
|
default: any;
|
|
@@ -7667,6 +7696,7 @@ declare const _default: {
|
|
|
7667
7696
|
emptyStateTitle: string;
|
|
7668
7697
|
isSticky: boolean;
|
|
7669
7698
|
emptyStateSubtitle: string;
|
|
7699
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7670
7700
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
7671
7701
|
zIndexBase: number;
|
|
7672
7702
|
totalCount: number;
|
|
@@ -7736,6 +7766,10 @@ declare const _default: {
|
|
|
7736
7766
|
type: import("vue").PropType<string>;
|
|
7737
7767
|
default: string;
|
|
7738
7768
|
};
|
|
7769
|
+
getRowId: {
|
|
7770
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7771
|
+
default: (row: any, index: any) => any;
|
|
7772
|
+
};
|
|
7739
7773
|
emptyStateVariant: {
|
|
7740
7774
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7741
7775
|
default: any;
|
|
@@ -7823,6 +7857,10 @@ declare const _default: {
|
|
|
7823
7857
|
type: import("vue").PropType<string>;
|
|
7824
7858
|
default: string;
|
|
7825
7859
|
};
|
|
7860
|
+
getRowId: {
|
|
7861
|
+
type: import("vue").PropType<(row: import("./components/table/common/Table.types").Row, index: number) => string | number>;
|
|
7862
|
+
default: (row: any, index: any) => any;
|
|
7863
|
+
};
|
|
7826
7864
|
emptyStateVariant: {
|
|
7827
7865
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
7828
7866
|
default: any;
|
|
@@ -7884,6 +7922,7 @@ declare const _default: {
|
|
|
7884
7922
|
emptyStateTitle: string;
|
|
7885
7923
|
isSticky: boolean;
|
|
7886
7924
|
emptyStateSubtitle: string;
|
|
7925
|
+
getRowId: (row: import("./components/table/common/Table.types").Row, index: number) => string | number;
|
|
7887
7926
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
7888
7927
|
zIndexBase: number;
|
|
7889
7928
|
totalCount: number;
|
|
@@ -7910,6 +7949,7 @@ declare const _default: {
|
|
|
7910
7949
|
"floating-row"?(_: {
|
|
7911
7950
|
row: import("@vueuse/core").UseVirtualListItem<import("./components/table/common/Table.types").Row>;
|
|
7912
7951
|
rowIndex: number;
|
|
7952
|
+
tableIndex: number;
|
|
7913
7953
|
}): any;
|
|
7914
7954
|
"empty-state"?(_: {}): any;
|
|
7915
7955
|
};
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './
|
|
1
|
+
import './AppTrigger.vue_vue_type_style_index_0_scoped_121aac8b_lang.css';
|
|
2
2
|
import { AppTriggerTypes as ro } from "./components/appTrigger/index.js";
|
|
3
3
|
import { AutocompleteDropdownTypes as mo } from "./components/autocompleteDropdown/index.js";
|
|
4
4
|
import { MenuItemTypes as po } from "./components/menuItem/index.js";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.sticky[data-v-d27e1304]{position:sticky}.table-container[data-v-d27e1304]{width:100%;position:relative;display:flex;flex-direction:column}.table-header[data-v-d27e1304]{display:flex;align-items:center;height:calc(var(--spacing-800) - 1px);border-bottom:1px solid var(--common-divider);background-color:var(--background-paper-elevation-0);position:sticky;left:0;padding:var(--spacing-300)}.table-header .table-title[data-v-d27e1304]{display:flex;flex:1;align-items:center;justify-content:flex-start;height:100%;color:var(--text-primary)}.table-header .table-header-right[data-v-d27e1304]{display:flex;align-items:center;height:100%}.table-header .search-wrapper[data-v-d27e1304]{width:13.75rem}.table-header.isStickyHeader[data-v-d27e1304]{z-index:calc(var(--189e28e1) + 3);top:0}.table-head-container[data-v-d27e1304]{display:flex;align-items:center;white-space:nowrap;color:var(--text-primary)}.table-footer[data-v-d27e1304]{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-d27e1304]{display:inline-table}.table-header-actions[data-v-d27e1304]{margin-left:var(--spacing-100);display:flex;align-items:center}.table-row[data-v-d27e1304]{position:relative}.table-row.loading[data-v-d27e1304]{opacity:.7}.table-row:not(.expanded):last-child>td[data-v-d27e1304]{border-bottom:none}.table-row.expanded:last-child>.expanded-row[data-v-d27e1304]{border-bottom:none}.expanded-row[data-v-d27e1304]{grid-column:var(--ac6022d6);border-bottom:1px solid var(--common-divider);background-color:var(--background-default)}table[data-v-d27e1304]{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-d27e1304]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:none}table td[data-v-d27e1304],table th[data-v-d27e1304]{line-height:normal;padding:0 var(--spacing-200)}table td[data-v-d27e1304]:first-of-type,table th[data-v-d27e1304]:first-of-type{padding-left:var(--spacing-300)}table td[data-v-d27e1304]:last-of-type,table th[data-v-d27e1304]:last-of-type{padding-right:var(--spacing-300)}table td.expand-toggle-cell[data-v-d27e1304],table th.expand-toggle-cell[data-v-d27e1304]{padding-left:var(--spacing-150);padding-right:var(--spacing-75)}table>thead[data-v-d27e1304]{border-bottom:none;z-index:calc(var(--189e28e1) + 1);display:inline-table;min-width:100%}table>thead>tr[data-v-d27e1304]{color:var(--text-primary);border-bottom:1px solid var(--common-divider);height:var(--spacing-500);display:grid;grid-template-columns:var(--3d5ab04e)}table>thead>tr>th[data-v-d27e1304]{background:var(--background-paper-elevation-0);width:100%;display:flex;align-items:center;cursor:default}table>thead>tr>th.bordered[data-v-d27e1304]{border-right:1px solid var(--common-divider)}table>thead>tr>th.bordered.isStickyRight[data-v-d27e1304]{border-right:none;border-left:1px solid var(--common-divider)}table>thead>tr>th.isTextRight[data-v-d27e1304]{justify-content:flex-end}table>thead>tr>th.isSortable[data-v-d27e1304]{cursor:pointer}table>thead.sticky[data-v-d27e1304]{position:sticky;top:0;background:white}table>thead.isStickyHeader[data-v-d27e1304]{z-index:calc(var(--189e28e1) + 2);top:calc(var(--spacing-800) - 1px)}table>tbody[data-v-d27e1304]{display:block}table>tbody>*>tr[data-v-d27e1304]{background-color:var(--background-default);min-height:var(--633cd456);height:auto;display:grid;align-items:center;grid-template-columns:var(--3d5ab04e)}table>tbody>*>tr:nth-of-type(2n)>td[data-v-d27e1304]{background-color:var(--background-default)}table>tbody>*>tr:hover:not(.loading)>td[data-v-d27e1304],table>tbody>*>tr.activeMenu>td[data-v-d27e1304]{background-color:var(--background-paper-elevation-1)}table>tbody td[data-v-d27e1304]{background-color:var(--background-default);border:none;min-width:0;display:flex;min-height:var(--633cd456);height:auto;width:100%;place-items:center;border-bottom:1px solid var(--common-divider);justify-content:start}table>tbody td.bordered[data-v-d27e1304]{border-right:1px solid var(--common-divider)}table>tbody td.bordered.isStickyRight[data-v-d27e1304]{border-right:none;border-left:1px solid var(--common-divider)}table>tbody td.isTextRight[data-v-d27e1304]{justify-content:flex-end;text-align:right}.section-container[data-v-d27e1304]{left:0}.sections[data-v-d27e1304]{display:flex}.section[data-v-d27e1304]{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-d27e1304]{width:100%}.empty-state[data-v-d27e1304]{min-height:250px}.floating-row[data-v-d27e1304]{display:flex;inset:0;pointer-events:none;position:absolute;z-index:calc(var(--189e28e1) + 1)}.floating-row *[data-v-d27e1304-s]{pointer-events:auto}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.multi-table-container[data-v-cfedf78b]{border-radius:var(--border-radius-md);border:1px solid var(--common-divider);display:flex;flex-direction:column;overflow-y:auto;width:100%}.multi-table-container .table-header-container[data-v-cfedf78b]{align-items:center;background-color:var(--background-paper-elevation-0);display:flex;height:calc(var(--spacing-800) - 2px);justify-content:space-between;padding:var(--spacing-300);width:100%}.multi-table-container .table-header-container.sticky[data-v-cfedf78b]{position:sticky;top:0;z-index:calc(var(--6083f45c) + 3)}.multi-table-container[data-v-cfedf78b] table{display:table;border:unset;border-radius:unset}.multi-table-container[data-v-cfedf78b] thead{border-top:1px solid var(--common-divider)}.multi-table-container .tables-container[data-v-cfedf78b] thead.sticky{top:62px}.multi-table-container .empty-state[data-v-cfedf78b]{min-height:250px}.multi-table-container .table-header-right[data-v-cfedf78b]{align-items:center;display:flex;height:100%}.multi-table-container .table-header-right .table-header-actions[data-v-cfedf78b]{align-items:center;display:flex;margin-left:var(--spacing-100)}
|