@ironsource/shared-ui 2.1.7-rc.9 → 2.1.7-test.10
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_706b324e_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_98819e5a_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_00ccab6b_lang.css +1 -0
- package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
- package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +1 -0
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +1 -0
- package/README.md +1 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
- package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
- package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_dbd80d49_lang.css +1 -0
- package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
- package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
- package/components/appHeader/AppHeader.vue.d.ts +1 -1
- package/components/appHeader/index.d.ts +9 -9
- package/components/dropdown/common/Dropdown.common.js +89 -89
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +1 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +32 -29
- package/components/dropdown/v4/DropdownV4.vue.d.ts +29 -0
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +186 -158
- package/components/dropdown/v4/OptionV4.vue.d.ts +26 -2
- package/components/dropdown/v4/OptionV4.vue.js +2 -2
- package/components/dropdown/v4/OptionV4.vue2.js +94 -71
- package/components/dropdown/v4/TreeDropdown.vue.d.ts +21 -16
- package/components/dropdown/v4/TreeDropdown.vue.js +3 -3
- package/components/dropdown/v4/TreeDropdown.vue2.js +170 -74
- package/components/dropdown/v4/index.d.ts +451 -82
- package/components/icon/v4/IconV4.vue.d.ts +5 -0
- package/components/icon/v4/IconV4.vue.js +4 -4
- package/components/icon/v4/IconV4.vue2.js +29 -26
- package/components/icon/v4/index.d.ts +20 -1
- package/components/input/v4/TextField.vue.js +3 -3
- package/components/input/v4/TextField.vue2.js +1 -1
- package/components/sortableList/SortableList.vue.d.ts +25 -0
- package/components/sortableList/SortableList.vue.js +4 -4
- package/components/sortableList/SortableList.vue2.js +129 -89
- package/components/sortableList/index.d.ts +88 -2
- package/components/table/v3/Table.vue.d.ts +2 -2
- package/components/table/v3/index.d.ts +39 -39
- package/components/table/v4/DataGrid.vue.d.ts +6 -2
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +131 -122
- package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
- package/components/table/v4/MultipleDataGrid.vue.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue2.js +112 -69
- package/components/table/v4/index.d.ts +92 -75
- package/components/table-cells/common/Editable.common.js +37 -26
- package/components/table-cells/common/EditableContext.d.ts +1 -0
- package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
- package/components/table-cells/v4/EditableV4.vue.js +5 -5
- package/components/table-cells/v4/EditableV4.vue2.js +18 -17
- package/components/table-cells/v4/index.d.ts +20 -1
- package/components/tabs/v4/TabsV4.vue.js +4 -4
- package/components/tabs/v4/TabsV4.vue2.js +37 -40
- package/design-foundation.stories/icons/iconsData.d.ts +6 -2
- package/index.d.ts +1694 -674
- package/mocks/options.d.ts +12 -0
- package/package.json +1 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_0345d6b1_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_938772ee_lang.css +0 -1
- package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
- package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_b6a06f00_lang.css +0 -1
- package/SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css +0 -1
- package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
- package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +0 -1
- package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
- package/TreeDropdown.vue_vue_type_style_index_0_scoped_142eab98_lang.css +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css"; import { defineComponent as A, useCssVars as D, useSlots as H, computed as O, openBlock as s, createElementBlock as r, createElementVNode as w, normalizeClass as G, unref as o, renderSlot as n, createBlock as C, createCommentVNode as f, createVNode as M, isRef as $, Fragment as P, renderList as y, createSlots as b, withCtx as u } from "vue";
|
|
2
|
+
import v 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
|
-
import
|
|
7
|
-
import { useVModel as
|
|
8
|
-
import { TableTestIdModifiers as
|
|
9
|
-
const p = ["data-testid"],
|
|
6
|
+
import F from "../../search/v4/SearchV4.vue.js";
|
|
7
|
+
import { useVModel as Q } from "@vueuse/core";
|
|
8
|
+
import { TableTestIdModifiers as h } from "../../../testids/index.js";
|
|
9
|
+
const j = ["data-testid"], p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "tables-container"
|
|
12
|
-
},
|
|
12
|
+
}, ot = /* @__PURE__ */ A({
|
|
13
13
|
__name: "MultipleDataGrid",
|
|
14
14
|
props: {
|
|
15
15
|
tablesSettings: { default: () => [] },
|
|
@@ -32,63 +32,92 @@ const p = ["data-testid"], H = ["data-testid"], F = {
|
|
|
32
32
|
testId: { default: "" }
|
|
33
33
|
},
|
|
34
34
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow"],
|
|
35
|
-
setup(t, { emit:
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
"
|
|
35
|
+
setup(t, { emit: c }) {
|
|
36
|
+
const g = t;
|
|
37
|
+
D((e) => ({
|
|
38
|
+
"5d3fa26e": t.zIndexBase
|
|
39
39
|
}));
|
|
40
|
-
const
|
|
41
|
-
() =>
|
|
42
|
-
),
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
return (e,
|
|
40
|
+
const I = H(), T = O(
|
|
41
|
+
() => g.isLoading || !g.tablesSettings.flatMap((e) => e.rows).length
|
|
42
|
+
), d = Q(g, "search", c), m = (e) => `header-${e.id}`, k = (e) => `cell-${e.id}`, x = (e) => {
|
|
43
|
+
c("onScroll", e.target.scrollTop);
|
|
44
|
+
}, R = () => c("onClearSearch"), E = (e, i) => c("clickRow", e, i);
|
|
45
|
+
return (e, i) => (s(), r("div", {
|
|
46
46
|
class: "multi-table-container",
|
|
47
|
-
onScrollPassive:
|
|
47
|
+
onScrollPassive: x
|
|
48
48
|
}, [
|
|
49
|
-
|
|
50
|
-
class:
|
|
51
|
-
"data-testid": `${t.testId}-${o(
|
|
49
|
+
w("div", {
|
|
50
|
+
class: G(["table-header-container", { sticky: t.isSticky }]),
|
|
51
|
+
"data-testid": `${t.testId}-${o(h).HEADER}`
|
|
52
52
|
}, [
|
|
53
|
-
|
|
53
|
+
w("div", {
|
|
54
54
|
class: "rows-counter-container",
|
|
55
|
-
"data-testid": `${t.testId}-${o(
|
|
55
|
+
"data-testid": `${t.testId}-${o(h).TITLE}`
|
|
56
56
|
}, [
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
57
|
+
n(e.$slots, "title", {}, () => [
|
|
58
|
+
t.isLoading ? f("", !0) : (s(), C(o(U), {
|
|
59
|
+
key: 0,
|
|
60
|
+
count: t.count,
|
|
61
|
+
"total-count": t.totalCount,
|
|
62
|
+
"total-text": t.totalText,
|
|
63
|
+
"displaying-text": t.displayingText,
|
|
64
|
+
"out-of-text": t.outOfText,
|
|
65
|
+
"test-id": t.testId
|
|
66
|
+
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
|
|
67
|
+
], !0)
|
|
68
|
+
], 8, p),
|
|
69
|
+
w("div", {
|
|
70
|
+
class: "table-header-right",
|
|
71
|
+
"data-testid": `${t.testId}-${o(h).HEADER_RIGHT}`
|
|
72
|
+
}, [
|
|
73
|
+
t.showSearch ? n(e.$slots, "search", { key: 0 }, () => [
|
|
74
|
+
M(o(F), {
|
|
75
|
+
modelValue: o(d),
|
|
76
|
+
"onUpdate:modelValue": i[0] || (i[0] = (a) => $(d) ? d.value = a : null),
|
|
77
|
+
placeholder: t.searchPlaceholder,
|
|
78
|
+
"test-id": t.testId,
|
|
79
|
+
onOnClear: R
|
|
80
|
+
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
81
|
+
], !0) : f("", !0),
|
|
82
|
+
o(I)["table-header-actions"] ? (s(), r("div", {
|
|
83
|
+
key: 1,
|
|
84
|
+
class: "table-header-actions",
|
|
85
|
+
"data-testid": `${t.testId}-${o(h).ACTIONS}`
|
|
86
|
+
}, [
|
|
87
|
+
n(e.$slots, "table-header-actions", {}, void 0, !0)
|
|
88
|
+
], 8, J)) : f("", !0)
|
|
89
|
+
], 8, q)
|
|
90
|
+
], 10, j),
|
|
91
|
+
o(T) ? (s(), C(o(v), {
|
|
77
92
|
key: 1,
|
|
78
|
-
|
|
79
|
-
|
|
93
|
+
search: o(d),
|
|
94
|
+
"onUpdate:search": i[1] || (i[1] = (a) => $(d) ? d.value = a : null),
|
|
80
95
|
rows: [],
|
|
81
|
-
|
|
96
|
+
columns: t.loadingAndEmptyStatesColumns,
|
|
97
|
+
"is-loading": t.isLoading,
|
|
98
|
+
"loading-row-count": t.loadingRowCount,
|
|
82
99
|
"empty-state-variant": t.emptyStateVariant,
|
|
83
100
|
"empty-state-title": t.emptyStateTitle,
|
|
84
101
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
85
|
-
"
|
|
86
|
-
},
|
|
87
|
-
|
|
102
|
+
"test-id": t.testId
|
|
103
|
+
}, b({
|
|
104
|
+
"empty-state": u(() => [
|
|
105
|
+
n(e.$slots, "empty-state", {}, void 0, !0)
|
|
106
|
+
]),
|
|
107
|
+
_: 2
|
|
108
|
+
}, [
|
|
109
|
+
y(t.loadingAndEmptyStatesColumns, (a) => ({
|
|
110
|
+
name: m(a),
|
|
111
|
+
fn: u(() => [
|
|
112
|
+
n(e.$slots, `${m(a)}`, { column: a }, void 0, !0)
|
|
113
|
+
])
|
|
114
|
+
}))
|
|
115
|
+
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (s(), r("div", K, [
|
|
116
|
+
(s(!0), r(P, null, y(t.tablesSettings, (a, V) => (s(), r("div", {
|
|
88
117
|
key: a.testId,
|
|
89
118
|
class: "table-wrapper"
|
|
90
119
|
}, [
|
|
91
|
-
a.rows.length ? (
|
|
120
|
+
a.rows.length ? (s(), C(o(v), {
|
|
92
121
|
key: 0,
|
|
93
122
|
sections: a.sections,
|
|
94
123
|
columns: a.columns,
|
|
@@ -97,32 +126,46 @@ const p = ["data-testid"], H = ["data-testid"], F = {
|
|
|
97
126
|
"is-sticky": t.isSticky,
|
|
98
127
|
"z-index-base": t.zIndexBase,
|
|
99
128
|
"test-id": a.testId,
|
|
100
|
-
onClickRow: (
|
|
101
|
-
},
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
129
|
+
onClickRow: (l) => E(l, V)
|
|
130
|
+
}, b({
|
|
131
|
+
"floating-row": u(({ row: l, rowIndex: S }) => [
|
|
132
|
+
n(e.$slots, "floating-row", {
|
|
133
|
+
row: l,
|
|
134
|
+
rowIndex: S
|
|
135
|
+
}, void 0, !0)
|
|
136
|
+
]),
|
|
137
|
+
_: 2
|
|
138
|
+
}, [
|
|
139
|
+
y(a.columns, (l) => ({
|
|
140
|
+
name: m(l),
|
|
141
|
+
fn: u(() => [
|
|
142
|
+
n(e.$slots, `${m(l)}`, { column: l }, void 0, !0)
|
|
143
|
+
])
|
|
144
|
+
})),
|
|
145
|
+
y(a.columns, (l) => ({
|
|
146
|
+
name: k(l),
|
|
147
|
+
fn: u(({
|
|
148
|
+
cell: S,
|
|
149
|
+
rowIndex: B,
|
|
150
|
+
isLoading: L,
|
|
151
|
+
cellIndex: N,
|
|
152
|
+
row: z
|
|
110
153
|
}) => [
|
|
111
|
-
|
|
112
|
-
cell:
|
|
113
|
-
isLoading:
|
|
114
|
-
cellIndex:
|
|
115
|
-
row:
|
|
116
|
-
rowIndex:
|
|
154
|
+
n(e.$slots, `${k(l)}`, {
|
|
155
|
+
cell: S,
|
|
156
|
+
isLoading: L,
|
|
157
|
+
cellIndex: N,
|
|
158
|
+
row: z,
|
|
159
|
+
rowIndex: B
|
|
117
160
|
}, void 0, !0)
|
|
118
161
|
])
|
|
119
162
|
}))
|
|
120
|
-
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "test-id", "onClickRow"])) :
|
|
163
|
+
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "test-id", "onClickRow"])) : f("", !0)
|
|
121
164
|
]))), 128))
|
|
122
165
|
]))
|
|
123
166
|
], 32));
|
|
124
167
|
}
|
|
125
168
|
});
|
|
126
169
|
export {
|
|
127
|
-
|
|
170
|
+
ot as default
|
|
128
171
|
};
|
|
@@ -16,15 +16,15 @@ declare const DataGridTypes: () => (({
|
|
|
16
16
|
searchPlaceholder: string;
|
|
17
17
|
selection: unknown[];
|
|
18
18
|
showSearch: boolean;
|
|
19
|
+
loadingRowCount: number;
|
|
20
|
+
emptyStateTitle: string;
|
|
19
21
|
isSticky: boolean;
|
|
20
22
|
sections: import("../common/Table.types").Section[];
|
|
21
23
|
isStickyHeader: boolean;
|
|
22
|
-
emptyStateTitle: string;
|
|
23
24
|
emptyStateSubtitle: string;
|
|
24
25
|
isInfiniteScroll: boolean;
|
|
25
26
|
infiniteScrollThreshold: number;
|
|
26
27
|
rowHeight: number | ((index: number) => number);
|
|
27
|
-
loadingRowCount: number;
|
|
28
28
|
defaultScrollPosition: number;
|
|
29
29
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
30
30
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
@@ -71,6 +71,14 @@ declare const DataGridTypes: () => (({
|
|
|
71
71
|
type: import("vue").PropType<boolean>;
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
|
+
loadingRowCount: {
|
|
75
|
+
type: import("vue").PropType<number>;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
emptyStateTitle: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
default: string;
|
|
81
|
+
};
|
|
74
82
|
isSticky: {
|
|
75
83
|
type: import("vue").PropType<boolean>;
|
|
76
84
|
default: boolean;
|
|
@@ -87,10 +95,6 @@ declare const DataGridTypes: () => (({
|
|
|
87
95
|
type: import("vue").PropType<boolean>;
|
|
88
96
|
default: boolean;
|
|
89
97
|
};
|
|
90
|
-
emptyStateTitle: {
|
|
91
|
-
type: import("vue").PropType<string>;
|
|
92
|
-
default: string;
|
|
93
|
-
};
|
|
94
98
|
emptyStateSubtitle: {
|
|
95
99
|
type: import("vue").PropType<string>;
|
|
96
100
|
default: string;
|
|
@@ -107,10 +111,6 @@ declare const DataGridTypes: () => (({
|
|
|
107
111
|
type: import("vue").PropType<number | ((index: number) => number)>;
|
|
108
112
|
default: number;
|
|
109
113
|
};
|
|
110
|
-
loadingRowCount: {
|
|
111
|
-
type: import("vue").PropType<number>;
|
|
112
|
-
default: number;
|
|
113
|
-
};
|
|
114
114
|
defaultScrollPosition: {
|
|
115
115
|
type: import("vue").PropType<number>;
|
|
116
116
|
default: any;
|
|
@@ -147,7 +147,7 @@ declare const DataGridTypes: () => (({
|
|
|
147
147
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
148
148
|
onSelectRow?: (value: boolean) => any;
|
|
149
149
|
onClickRow?: (rowIndex: number) => any;
|
|
150
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "
|
|
150
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "sort" | "title" | "search" | "testId" | "isLoading" | "searchAutoFocus" | "searchPlaceholder" | "selection" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition" | "getRowId" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase">;
|
|
151
151
|
$attrs: {
|
|
152
152
|
[x: string]: unknown;
|
|
153
153
|
};
|
|
@@ -207,6 +207,14 @@ declare const DataGridTypes: () => (({
|
|
|
207
207
|
type: import("vue").PropType<boolean>;
|
|
208
208
|
default: boolean;
|
|
209
209
|
};
|
|
210
|
+
loadingRowCount: {
|
|
211
|
+
type: import("vue").PropType<number>;
|
|
212
|
+
default: number;
|
|
213
|
+
};
|
|
214
|
+
emptyStateTitle: {
|
|
215
|
+
type: import("vue").PropType<string>;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
210
218
|
isSticky: {
|
|
211
219
|
type: import("vue").PropType<boolean>;
|
|
212
220
|
default: boolean;
|
|
@@ -223,10 +231,6 @@ declare const DataGridTypes: () => (({
|
|
|
223
231
|
type: import("vue").PropType<boolean>;
|
|
224
232
|
default: boolean;
|
|
225
233
|
};
|
|
226
|
-
emptyStateTitle: {
|
|
227
|
-
type: import("vue").PropType<string>;
|
|
228
|
-
default: string;
|
|
229
|
-
};
|
|
230
234
|
emptyStateSubtitle: {
|
|
231
235
|
type: import("vue").PropType<string>;
|
|
232
236
|
default: string;
|
|
@@ -243,10 +247,6 @@ declare const DataGridTypes: () => (({
|
|
|
243
247
|
type: import("vue").PropType<number | ((index: number) => number)>;
|
|
244
248
|
default: number;
|
|
245
249
|
};
|
|
246
|
-
loadingRowCount: {
|
|
247
|
-
type: import("vue").PropType<number>;
|
|
248
|
-
default: number;
|
|
249
|
-
};
|
|
250
250
|
defaultScrollPosition: {
|
|
251
251
|
type: import("vue").PropType<number>;
|
|
252
252
|
default: any;
|
|
@@ -311,15 +311,15 @@ declare const DataGridTypes: () => (({
|
|
|
311
311
|
searchPlaceholder: string;
|
|
312
312
|
selection: unknown[];
|
|
313
313
|
showSearch: boolean;
|
|
314
|
+
loadingRowCount: number;
|
|
315
|
+
emptyStateTitle: string;
|
|
314
316
|
isSticky: boolean;
|
|
315
317
|
sections: import("../common/Table.types").Section[];
|
|
316
318
|
isStickyHeader: boolean;
|
|
317
|
-
emptyStateTitle: string;
|
|
318
319
|
emptyStateSubtitle: string;
|
|
319
320
|
isInfiniteScroll: boolean;
|
|
320
321
|
infiniteScrollThreshold: number;
|
|
321
322
|
rowHeight: number | ((index: number) => number);
|
|
322
|
-
loadingRowCount: number;
|
|
323
323
|
defaultScrollPosition: number;
|
|
324
324
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
325
325
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
@@ -386,6 +386,14 @@ declare const DataGridTypes: () => (({
|
|
|
386
386
|
type: import("vue").PropType<boolean>;
|
|
387
387
|
default: boolean;
|
|
388
388
|
};
|
|
389
|
+
loadingRowCount: {
|
|
390
|
+
type: import("vue").PropType<number>;
|
|
391
|
+
default: number;
|
|
392
|
+
};
|
|
393
|
+
emptyStateTitle: {
|
|
394
|
+
type: import("vue").PropType<string>;
|
|
395
|
+
default: string;
|
|
396
|
+
};
|
|
389
397
|
isSticky: {
|
|
390
398
|
type: import("vue").PropType<boolean>;
|
|
391
399
|
default: boolean;
|
|
@@ -402,10 +410,6 @@ declare const DataGridTypes: () => (({
|
|
|
402
410
|
type: import("vue").PropType<boolean>;
|
|
403
411
|
default: boolean;
|
|
404
412
|
};
|
|
405
|
-
emptyStateTitle: {
|
|
406
|
-
type: import("vue").PropType<string>;
|
|
407
|
-
default: string;
|
|
408
|
-
};
|
|
409
413
|
emptyStateSubtitle: {
|
|
410
414
|
type: import("vue").PropType<string>;
|
|
411
415
|
default: string;
|
|
@@ -422,10 +426,6 @@ declare const DataGridTypes: () => (({
|
|
|
422
426
|
type: import("vue").PropType<number | ((index: number) => number)>;
|
|
423
427
|
default: number;
|
|
424
428
|
};
|
|
425
|
-
loadingRowCount: {
|
|
426
|
-
type: import("vue").PropType<number>;
|
|
427
|
-
default: number;
|
|
428
|
-
};
|
|
429
429
|
defaultScrollPosition: {
|
|
430
430
|
type: import("vue").PropType<number>;
|
|
431
431
|
default: any;
|
|
@@ -509,6 +509,14 @@ declare const DataGridTypes: () => (({
|
|
|
509
509
|
type: import("vue").PropType<boolean>;
|
|
510
510
|
default: boolean;
|
|
511
511
|
};
|
|
512
|
+
loadingRowCount: {
|
|
513
|
+
type: import("vue").PropType<number>;
|
|
514
|
+
default: number;
|
|
515
|
+
};
|
|
516
|
+
emptyStateTitle: {
|
|
517
|
+
type: import("vue").PropType<string>;
|
|
518
|
+
default: string;
|
|
519
|
+
};
|
|
512
520
|
isSticky: {
|
|
513
521
|
type: import("vue").PropType<boolean>;
|
|
514
522
|
default: boolean;
|
|
@@ -525,10 +533,6 @@ declare const DataGridTypes: () => (({
|
|
|
525
533
|
type: import("vue").PropType<boolean>;
|
|
526
534
|
default: boolean;
|
|
527
535
|
};
|
|
528
|
-
emptyStateTitle: {
|
|
529
|
-
type: import("vue").PropType<string>;
|
|
530
|
-
default: string;
|
|
531
|
-
};
|
|
532
536
|
emptyStateSubtitle: {
|
|
533
537
|
type: import("vue").PropType<string>;
|
|
534
538
|
default: string;
|
|
@@ -545,10 +549,6 @@ declare const DataGridTypes: () => (({
|
|
|
545
549
|
type: import("vue").PropType<number | ((index: number) => number)>;
|
|
546
550
|
default: number;
|
|
547
551
|
};
|
|
548
|
-
loadingRowCount: {
|
|
549
|
-
type: import("vue").PropType<number>;
|
|
550
|
-
default: number;
|
|
551
|
-
};
|
|
552
552
|
defaultScrollPosition: {
|
|
553
553
|
type: import("vue").PropType<number>;
|
|
554
554
|
default: any;
|
|
@@ -613,15 +613,15 @@ declare const DataGridTypes: () => (({
|
|
|
613
613
|
searchPlaceholder: string;
|
|
614
614
|
selection: unknown[];
|
|
615
615
|
showSearch: boolean;
|
|
616
|
+
loadingRowCount: number;
|
|
617
|
+
emptyStateTitle: string;
|
|
616
618
|
isSticky: boolean;
|
|
617
619
|
sections: import("../common/Table.types").Section[];
|
|
618
620
|
isStickyHeader: boolean;
|
|
619
|
-
emptyStateTitle: string;
|
|
620
621
|
emptyStateSubtitle: string;
|
|
621
622
|
isInfiniteScroll: boolean;
|
|
622
623
|
infiniteScrollThreshold: number;
|
|
623
624
|
rowHeight: number | ((index: number) => number);
|
|
624
|
-
loadingRowCount: number;
|
|
625
625
|
defaultScrollPosition: number;
|
|
626
626
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
627
627
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
@@ -646,6 +646,10 @@ declare const DataGridTypes: () => (({
|
|
|
646
646
|
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
647
647
|
gridColumnTemplate: any;
|
|
648
648
|
}): any;
|
|
649
|
+
"floating-row"?(_: {
|
|
650
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
651
|
+
rowIndex: number;
|
|
652
|
+
}): any;
|
|
649
653
|
"empty-state"?(_: {}): any;
|
|
650
654
|
footer?(_: {}): any;
|
|
651
655
|
};
|
|
@@ -753,10 +757,10 @@ declare const DataGridTypes: () => (({
|
|
|
753
757
|
searchPlaceholder: string;
|
|
754
758
|
count: number;
|
|
755
759
|
showSearch: boolean;
|
|
756
|
-
|
|
760
|
+
loadingRowCount: number;
|
|
757
761
|
emptyStateTitle: string;
|
|
762
|
+
isSticky: boolean;
|
|
758
763
|
emptyStateSubtitle: string;
|
|
759
|
-
loadingRowCount: number;
|
|
760
764
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
761
765
|
zIndexBase: number;
|
|
762
766
|
totalCount: number;
|
|
@@ -790,22 +794,22 @@ declare const DataGridTypes: () => (({
|
|
|
790
794
|
type: import("vue").PropType<boolean>;
|
|
791
795
|
default: boolean;
|
|
792
796
|
};
|
|
793
|
-
|
|
794
|
-
type: import("vue").PropType<
|
|
795
|
-
default:
|
|
797
|
+
loadingRowCount: {
|
|
798
|
+
type: import("vue").PropType<number>;
|
|
799
|
+
default: number;
|
|
796
800
|
};
|
|
797
801
|
emptyStateTitle: {
|
|
798
802
|
type: import("vue").PropType<string>;
|
|
799
803
|
default: string;
|
|
800
804
|
};
|
|
805
|
+
isSticky: {
|
|
806
|
+
type: import("vue").PropType<boolean>;
|
|
807
|
+
default: boolean;
|
|
808
|
+
};
|
|
801
809
|
emptyStateSubtitle: {
|
|
802
810
|
type: import("vue").PropType<string>;
|
|
803
811
|
default: string;
|
|
804
812
|
};
|
|
805
|
-
loadingRowCount: {
|
|
806
|
-
type: import("vue").PropType<number>;
|
|
807
|
-
default: number;
|
|
808
|
-
};
|
|
809
813
|
emptyStateVariant: {
|
|
810
814
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
811
815
|
default: any;
|
|
@@ -845,7 +849,7 @@ declare const DataGridTypes: () => (({
|
|
|
845
849
|
onOnScroll?: (scrollTop: number) => any;
|
|
846
850
|
onOnClearSearch?: () => any;
|
|
847
851
|
onClickRow?: (rowIndex: number, tableIndex: number) => any;
|
|
848
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "
|
|
852
|
+
} & 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">;
|
|
849
853
|
$attrs: {
|
|
850
854
|
[x: string]: unknown;
|
|
851
855
|
};
|
|
@@ -884,22 +888,22 @@ declare const DataGridTypes: () => (({
|
|
|
884
888
|
type: import("vue").PropType<boolean>;
|
|
885
889
|
default: boolean;
|
|
886
890
|
};
|
|
887
|
-
|
|
888
|
-
type: import("vue").PropType<
|
|
889
|
-
default:
|
|
891
|
+
loadingRowCount: {
|
|
892
|
+
type: import("vue").PropType<number>;
|
|
893
|
+
default: number;
|
|
890
894
|
};
|
|
891
895
|
emptyStateTitle: {
|
|
892
896
|
type: import("vue").PropType<string>;
|
|
893
897
|
default: string;
|
|
894
898
|
};
|
|
899
|
+
isSticky: {
|
|
900
|
+
type: import("vue").PropType<boolean>;
|
|
901
|
+
default: boolean;
|
|
902
|
+
};
|
|
895
903
|
emptyStateSubtitle: {
|
|
896
904
|
type: import("vue").PropType<string>;
|
|
897
905
|
default: string;
|
|
898
906
|
};
|
|
899
|
-
loadingRowCount: {
|
|
900
|
-
type: import("vue").PropType<number>;
|
|
901
|
-
default: number;
|
|
902
|
-
};
|
|
903
907
|
emptyStateVariant: {
|
|
904
908
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
905
909
|
default: any;
|
|
@@ -951,10 +955,10 @@ declare const DataGridTypes: () => (({
|
|
|
951
955
|
searchPlaceholder: string;
|
|
952
956
|
count: number;
|
|
953
957
|
showSearch: boolean;
|
|
954
|
-
|
|
958
|
+
loadingRowCount: number;
|
|
955
959
|
emptyStateTitle: string;
|
|
960
|
+
isSticky: boolean;
|
|
956
961
|
emptyStateSubtitle: string;
|
|
957
|
-
loadingRowCount: number;
|
|
958
962
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
959
963
|
zIndexBase: number;
|
|
960
964
|
totalCount: number;
|
|
@@ -1008,22 +1012,22 @@ declare const DataGridTypes: () => (({
|
|
|
1008
1012
|
type: import("vue").PropType<boolean>;
|
|
1009
1013
|
default: boolean;
|
|
1010
1014
|
};
|
|
1011
|
-
|
|
1012
|
-
type: import("vue").PropType<
|
|
1013
|
-
default:
|
|
1015
|
+
loadingRowCount: {
|
|
1016
|
+
type: import("vue").PropType<number>;
|
|
1017
|
+
default: number;
|
|
1014
1018
|
};
|
|
1015
1019
|
emptyStateTitle: {
|
|
1016
1020
|
type: import("vue").PropType<string>;
|
|
1017
1021
|
default: string;
|
|
1018
1022
|
};
|
|
1023
|
+
isSticky: {
|
|
1024
|
+
type: import("vue").PropType<boolean>;
|
|
1025
|
+
default: boolean;
|
|
1026
|
+
};
|
|
1019
1027
|
emptyStateSubtitle: {
|
|
1020
1028
|
type: import("vue").PropType<string>;
|
|
1021
1029
|
default: string;
|
|
1022
1030
|
};
|
|
1023
|
-
loadingRowCount: {
|
|
1024
|
-
type: import("vue").PropType<number>;
|
|
1025
|
-
default: number;
|
|
1026
|
-
};
|
|
1027
1031
|
emptyStateVariant: {
|
|
1028
1032
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1029
1033
|
default: any;
|
|
@@ -1092,22 +1096,22 @@ declare const DataGridTypes: () => (({
|
|
|
1092
1096
|
type: import("vue").PropType<boolean>;
|
|
1093
1097
|
default: boolean;
|
|
1094
1098
|
};
|
|
1095
|
-
|
|
1096
|
-
type: import("vue").PropType<
|
|
1097
|
-
default:
|
|
1099
|
+
loadingRowCount: {
|
|
1100
|
+
type: import("vue").PropType<number>;
|
|
1101
|
+
default: number;
|
|
1098
1102
|
};
|
|
1099
1103
|
emptyStateTitle: {
|
|
1100
1104
|
type: import("vue").PropType<string>;
|
|
1101
1105
|
default: string;
|
|
1102
1106
|
};
|
|
1107
|
+
isSticky: {
|
|
1108
|
+
type: import("vue").PropType<boolean>;
|
|
1109
|
+
default: boolean;
|
|
1110
|
+
};
|
|
1103
1111
|
emptyStateSubtitle: {
|
|
1104
1112
|
type: import("vue").PropType<string>;
|
|
1105
1113
|
default: string;
|
|
1106
1114
|
};
|
|
1107
|
-
loadingRowCount: {
|
|
1108
|
-
type: import("vue").PropType<number>;
|
|
1109
|
-
default: number;
|
|
1110
|
-
};
|
|
1111
1115
|
emptyStateVariant: {
|
|
1112
1116
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1113
1117
|
default: any;
|
|
@@ -1159,10 +1163,10 @@ declare const DataGridTypes: () => (({
|
|
|
1159
1163
|
searchPlaceholder: string;
|
|
1160
1164
|
count: number;
|
|
1161
1165
|
showSearch: boolean;
|
|
1162
|
-
|
|
1166
|
+
loadingRowCount: number;
|
|
1163
1167
|
emptyStateTitle: string;
|
|
1168
|
+
isSticky: boolean;
|
|
1164
1169
|
emptyStateSubtitle: string;
|
|
1165
|
-
loadingRowCount: number;
|
|
1166
1170
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
1167
1171
|
zIndexBase: number;
|
|
1168
1172
|
totalCount: number;
|
|
@@ -1173,12 +1177,25 @@ declare const DataGridTypes: () => (({
|
|
|
1173
1177
|
loadingAndEmptyStatesColumns: import("../common/Table.types").Column[];
|
|
1174
1178
|
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
1175
1179
|
$slots: Partial<Record<string, (_: {
|
|
1180
|
+
column: import("../common/Table.types").Column;
|
|
1181
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
1176
1182
|
cell: any;
|
|
1177
1183
|
isLoading: any;
|
|
1178
1184
|
cellIndex: any;
|
|
1179
1185
|
row: any;
|
|
1180
1186
|
rowIndex: any;
|
|
1181
|
-
}) => any
|
|
1187
|
+
}) => any>> & Partial<Record<string, (_: {
|
|
1188
|
+
column: import("../common/Table.types").Column;
|
|
1189
|
+
}) => any>> & {
|
|
1190
|
+
title?(_: {}): any;
|
|
1191
|
+
search?(_: {}): any;
|
|
1192
|
+
"table-header-actions"?(_: {}): any;
|
|
1193
|
+
"floating-row"?(_: {
|
|
1194
|
+
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
1195
|
+
rowIndex: number;
|
|
1196
|
+
}): any;
|
|
1197
|
+
"empty-state"?(_: {}): any;
|
|
1198
|
+
};
|
|
1182
1199
|
})))[];
|
|
1183
1200
|
export type { Column, Sort, MenuItem, TableSettings, } from '../common/Table.types';
|
|
1184
1201
|
export { DataGrid, DataGridMenu, DataGridRowsCounter, DataGridTypes, MultipleDataGrid, };
|