@ironsource/shared-ui 2.1.9-test.0 → 2.1.9-test.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/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_76c74f58_lang.css +1 -0
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_49bd7193_lang.css +1 -0
- package/DataGrid.vue_vue_type_style_index_0_scoped_0cd8af73_lang.css +1 -0
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_9fa84b26_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_0_scoped_cf64ca64_lang.css +1 -0
- package/DropdownV4.vue_vue_type_style_index_1_lang.css +1 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css +1 -0
- package/OptionV4.vue_vue_type_style_index_0_scoped_058de532_lang.css +1 -0
- package/PopoverV4.vue_vue_type_style_index_0_scoped_74bbce13_lang.css +1 -0
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_05c7bca2_lang.css +1 -0
- package/ToggleButtonGroupAB.vue_vue_type_style_index_0_scoped_9d9e51c0_lang.css +1 -0
- package/components/alert/Alert.vue2.js +3 -2
- package/components/autocomplete/Autocomplete.vue.d.ts +1 -1
- package/components/autocomplete/index.d.ts +20 -20
- package/components/button/v4/ToggleButtonGroupAB.vue.d.ts +65 -0
- package/components/button/v4/ToggleButtonGroupAB.vue.js +7 -0
- package/components/button/v4/ToggleButtonGroupAB.vue2.js +95 -0
- package/components/button/v4/index.d.ts +170 -1
- package/components/button/v4/index.js +10 -3
- package/components/dateRange/v4/CalendarMonthV4.vue2.js +9 -8
- package/components/dateRange/v4/DateRangeV4.vue2.js +21 -20
- package/components/dialog/v3/Dialog.vue.d.ts +1 -1
- package/components/dialog/v3/index.d.ts +5 -5
- package/components/dialog/v4/DialogV4.vue.d.ts +1 -1
- package/components/dialog/v4/DialogV4.vue2.js +6 -5
- package/components/dialog/v4/index.d.ts +5 -5
- package/components/dropdown/common/Dropdown.common.d.ts +1 -0
- package/components/dropdown/common/Dropdown.common.js +165 -158
- package/components/dropdown/v3/Dropdown.vue.d.ts +2 -2
- package/components/dropdown/v3/index.d.ts +51 -51
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.d.ts +17 -11
- package/components/dropdown/v4/ButtonDropdownTrigger.vue.js +3 -3
- package/components/dropdown/v4/ButtonDropdownTrigger.vue2.js +17 -9
- package/components/dropdown/v4/ChipDropdownTrigger.vue.d.ts +5 -0
- package/components/dropdown/v4/ChipDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/ChipDropdownTrigger.vue2.js +23 -22
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.d.ts +11 -0
- package/components/dropdown/v4/DefaultDropdownTrigger.vue.js +2 -2
- package/components/dropdown/v4/DefaultDropdownTrigger.vue2.js +59 -45
- package/components/dropdown/v4/DropdownV4.vue.d.ts +19 -7
- package/components/dropdown/v4/DropdownV4.vue.js +4 -4
- package/components/dropdown/v4/DropdownV4.vue2.js +165 -158
- package/components/dropdown/v4/IconButtonDropdownTrigger.vue2.js +4 -3
- package/components/dropdown/v4/OptionV4.vue.d.ts +6 -0
- package/components/dropdown/v4/OptionV4.vue.js +3 -3
- package/components/dropdown/v4/OptionV4.vue2.js +83 -70
- package/components/dropdown/v4/index.d.ts +196 -88
- package/components/emptyState/v4/EmptyStateV4.vue2.js +13 -12
- package/components/forms/FormCard.vue2.js +13 -12
- package/components/includeExclude/index.d.ts +56 -56
- package/components/input/v3/Input.vue.d.ts +1 -1
- package/components/input/v3/index.d.ts +32 -32
- package/components/input/v4/TextField.vue.d.ts +1 -1
- package/components/input/v4/index.d.ts +20 -20
- package/components/menu/Menu.vue.d.ts +1 -1
- package/components/menu/index.d.ts +20 -20
- package/components/multibar/MultiBar.vue.d.ts +1 -1
- package/components/multibar/MultiBar.vue2.js +3 -2
- package/components/multibar/index.d.ts +9 -9
- package/components/popover/v3/Popover.vue.d.ts +1 -1
- package/components/popover/v3/index.d.ts +20 -20
- package/components/popover/v4/PopoverV4.vue.d.ts +7 -3
- package/components/popover/v4/PopoverV4.vue.js +3 -3
- package/components/popover/v4/PopoverV4.vue2.js +23 -20
- package/components/popover/v4/index.d.ts +36 -24
- package/components/radioButton/v3/RadioButton.vue.d.ts +1 -1
- package/components/radioButton/v3/RadioGroup.vue.d.ts +1 -1
- package/components/radioButton/v3/index.d.ts +6 -6
- package/components/radioButton/v4/RadioButtonV4.vue.d.ts +6 -1
- package/components/radioButton/v4/RadioButtonV4.vue.js +2 -2
- package/components/radioButton/v4/RadioButtonV4.vue2.js +59 -46
- package/components/radioButton/v4/RadioGroupV4.vue.d.ts +1 -1
- package/components/radioButton/v4/index.d.ts +26 -7
- package/components/snackbar/v4/SnackbarV4.vue2.js +7 -6
- package/components/sortableList/SortableItem.vue.d.ts +1 -1
- package/components/switch/v3/index.d.ts +16 -16
- package/components/switch/v4/SwitchV4.vue2.js +6 -5
- package/components/switch/v4/index.d.ts +8 -8
- package/components/table/v4/DataGrid.vue.d.ts +5 -0
- package/components/table/v4/DataGrid.vue.js +4 -4
- package/components/table/v4/DataGrid.vue2.js +45 -44
- package/components/table/v4/ExpandRowToggle.vue2.js +6 -5
- package/components/table/v4/MultipleDataGrid.vue.d.ts +23 -2
- package/components/table/v4/MultipleDataGrid.vue.js +5 -5
- package/components/table/v4/MultipleDataGrid.vue2.js +82 -73
- package/components/table/v4/index.d.ts +98 -2
- package/components/textArea/v4/TextAreaV4.vue.d.ts +1 -1
- package/components/textArea/v4/index.d.ts +9 -9
- package/components/toggle/v3/index.d.ts +8 -8
- package/components/toggle/v4/index.d.ts +16 -16
- package/consts/configs.d.ts +1 -0
- package/consts/configs.js +4 -0
- package/index.d.ts +1614 -661
- package/index.js +1 -1
- package/mocks/options.d.ts +4 -0
- package/package.json +2 -2
- package/testids/index.d.ts +8 -1
- package/testids/index.js +14 -13
- package/utils/testIds.d.ts +1 -1
- package/utils/testIds.js +6 -6
- package/ButtonDropdownTrigger.vue_vue_type_style_index_0_scoped_23e22560_lang.css +0 -1
- package/ChipDropdownTrigger.vue_vue_type_style_index_0_scoped_a8fdae89_lang.css +0 -1
- package/DataGrid.vue_vue_type_style_index_0_scoped_d27e1304_lang.css +0 -1
- package/DefaultDropdownTrigger.vue_vue_type_style_index_0_scoped_fd7a490e_lang.css +0 -1
- package/DropdownV4.vue_vue_type_style_index_0_scoped_119e4bc3_lang.css +0 -1
- package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_cfedf78b_lang.css +0 -1
- package/OptionV4.vue_vue_type_style_index_0_scoped_77509f61_lang.css +0 -1
- package/PopoverV4.vue_vue_type_style_index_0_scoped_c54cd089_lang.css +0 -1
- package/RadioButtonV4.vue_vue_type_style_index_0_scoped_cb3a12c6_lang.css +0 -1
|
@@ -1,19 +1,21 @@
|
|
|
1
|
-
import "../../../MultipleDataGrid.
|
|
2
|
-
import
|
|
1
|
+
import "../../../MultipleDataGrid.vue_vue_type_style_index_0_scoped_020a9896_lang.css"; import { defineComponent as A, useCssVars as K, useSlots as H, computed as O, openBlock as d, createElementBlock as c, createElementVNode as k, normalizeClass as G, unref as s, renderSlot as i, createBlock as C, createCommentVNode as m, createVNode as M, isRef as R, Fragment as F, renderList as f, createSlots as $, withCtx as y } from "vue";
|
|
2
|
+
import b from "./DataGrid.vue.js";
|
|
3
3
|
import "./DataGridMenu.vue.js";
|
|
4
|
-
import
|
|
4
|
+
import P from "./DataGridRowsCounter.vue.js";
|
|
5
5
|
import "./MultipleDataGrid.vue.js";
|
|
6
|
-
import
|
|
7
|
-
import { useVModel as
|
|
8
|
-
import { TableTestIdModifiers as
|
|
9
|
-
const
|
|
6
|
+
import U from "../../search/v4/SearchV4.vue.js";
|
|
7
|
+
import { useVModel as Q } from "@vueuse/core";
|
|
8
|
+
import { TableTestIdModifiers as g } from "../../../testids/index.js";
|
|
9
|
+
const j = ["data-testid"], q = ["data-testid"], J = ["data-testid"], W = ["data-testid"], X = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "tables-container"
|
|
12
|
-
}, st = /* @__PURE__ */
|
|
12
|
+
}, st = /* @__PURE__ */ A({
|
|
13
13
|
__name: "MultipleDataGrid",
|
|
14
14
|
props: {
|
|
15
15
|
tablesSettings: { default: () => [] },
|
|
16
16
|
loadingAndEmptyStatesColumns: { default: () => [] },
|
|
17
|
+
getRowId: { type: Function, default: (t, l) => l },
|
|
18
|
+
getRowKey: { type: Function, default: (t, l) => l },
|
|
17
19
|
isSticky: { type: Boolean, default: !0 },
|
|
18
20
|
isLoading: { type: Boolean, default: !1 },
|
|
19
21
|
emptyStateVariant: { default: null },
|
|
@@ -29,33 +31,35 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
29
31
|
displayingText: { default: "Displaying" },
|
|
30
32
|
outOfText: { default: "out of" },
|
|
31
33
|
totalText: { default: "total rows" },
|
|
34
|
+
rowCustomClassKey: { default: "" },
|
|
35
|
+
rowDataKey: { default: "" },
|
|
32
36
|
testId: { default: "" }
|
|
33
37
|
},
|
|
34
38
|
emits: ["update:search", "onScroll", "onClearSearch", "clickRow", "saveRow"],
|
|
35
|
-
setup(t, { emit:
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
+
setup(t, { emit: l }) {
|
|
40
|
+
const h = t;
|
|
41
|
+
K((e) => ({
|
|
42
|
+
"81d1b864": t.zIndexBase
|
|
39
43
|
}));
|
|
40
|
-
const
|
|
41
|
-
() =>
|
|
42
|
-
),
|
|
43
|
-
|
|
44
|
-
}, E = () =>
|
|
45
|
-
return (e,
|
|
44
|
+
const I = H(), T = O(
|
|
45
|
+
() => h.isLoading || !h.tablesSettings.flatMap((e) => e.rows).length
|
|
46
|
+
), r = Q(h, "search", l), w = (e) => `header-${e.id}`, v = (e) => `cell-${e.id}`, x = (e) => {
|
|
47
|
+
l("onScroll", e.target.scrollTop);
|
|
48
|
+
}, E = () => l("onClearSearch"), V = (e, n) => l("clickRow", e, n), B = ({ value: e, rowIndex: n, cellIndex: a, confirm: u }, o) => l("saveRow", { value: e, tableIndex: o, rowIndex: n, cellIndex: a, confirm: u });
|
|
49
|
+
return (e, n) => (d(), c("div", {
|
|
46
50
|
class: "multi-table-container",
|
|
47
51
|
onScrollPassive: x
|
|
48
52
|
}, [
|
|
49
|
-
|
|
50
|
-
class:
|
|
51
|
-
"data-testid": `${t.testId}-${s(
|
|
53
|
+
k("div", {
|
|
54
|
+
class: G(["table-header-container", { sticky: t.isSticky }]),
|
|
55
|
+
"data-testid": `${t.testId}-${s(g).HEADER}`
|
|
52
56
|
}, [
|
|
53
|
-
|
|
57
|
+
k("div", {
|
|
54
58
|
class: "rows-counter-container",
|
|
55
|
-
"data-testid": `${t.testId}-${s(
|
|
59
|
+
"data-testid": `${t.testId}-${s(g).TITLE}`
|
|
56
60
|
}, [
|
|
57
|
-
|
|
58
|
-
t.isLoading ?
|
|
61
|
+
i(e.$slots, "title", {}, () => [
|
|
62
|
+
t.isLoading ? m("", !0) : (d(), C(s(P), {
|
|
59
63
|
key: 0,
|
|
60
64
|
count: t.count,
|
|
61
65
|
"total-count": t.totalCount,
|
|
@@ -66,32 +70,32 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
66
70
|
}, null, 8, ["count", "total-count", "total-text", "displaying-text", "out-of-text", "test-id"]))
|
|
67
71
|
], !0)
|
|
68
72
|
], 8, q),
|
|
69
|
-
|
|
73
|
+
k("div", {
|
|
70
74
|
class: "table-header-right",
|
|
71
|
-
"data-testid": `${t.testId}-${s(
|
|
75
|
+
"data-testid": `${t.testId}-${s(g).HEADER_RIGHT}`
|
|
72
76
|
}, [
|
|
73
|
-
t.showSearch ?
|
|
74
|
-
|
|
75
|
-
modelValue: s(
|
|
76
|
-
"onUpdate:modelValue":
|
|
77
|
+
t.showSearch ? i(e.$slots, "search", { key: 0 }, () => [
|
|
78
|
+
M(s(U), {
|
|
79
|
+
modelValue: s(r),
|
|
80
|
+
"onUpdate:modelValue": n[0] || (n[0] = (a) => R(r) ? r.value = a : null),
|
|
77
81
|
placeholder: t.searchPlaceholder,
|
|
78
82
|
"test-id": t.testId,
|
|
79
83
|
onOnClear: E
|
|
80
84
|
}, null, 8, ["modelValue", "placeholder", "test-id"])
|
|
81
|
-
], !0) :
|
|
82
|
-
s(
|
|
85
|
+
], !0) : m("", !0),
|
|
86
|
+
s(I)["table-header-actions"] ? (d(), c("div", {
|
|
83
87
|
key: 1,
|
|
84
88
|
class: "table-header-actions",
|
|
85
|
-
"data-testid": `${t.testId}-${s(
|
|
89
|
+
"data-testid": `${t.testId}-${s(g).ACTIONS}`
|
|
86
90
|
}, [
|
|
87
|
-
|
|
88
|
-
], 8,
|
|
91
|
+
i(e.$slots, "table-header-actions", {}, void 0, !0)
|
|
92
|
+
], 8, W)) : m("", !0)
|
|
89
93
|
], 8, J)
|
|
90
|
-
], 10,
|
|
91
|
-
s(T) ? (
|
|
94
|
+
], 10, j),
|
|
95
|
+
s(T) ? (d(), C(s(b), {
|
|
92
96
|
key: 1,
|
|
93
|
-
search: s(
|
|
94
|
-
"onUpdate:search":
|
|
97
|
+
search: s(r),
|
|
98
|
+
"onUpdate:search": n[1] || (n[1] = (a) => R(r) ? r.value = a : null),
|
|
95
99
|
rows: [],
|
|
96
100
|
columns: t.loadingAndEmptyStatesColumns,
|
|
97
101
|
"is-loading": t.isLoading,
|
|
@@ -100,24 +104,24 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
100
104
|
"empty-state-title": t.emptyStateTitle,
|
|
101
105
|
"empty-state-subtitle": t.emptyStateSubtitle,
|
|
102
106
|
"test-id": t.testId
|
|
103
|
-
},
|
|
104
|
-
"empty-state":
|
|
105
|
-
|
|
107
|
+
}, $({
|
|
108
|
+
"empty-state": y(() => [
|
|
109
|
+
i(e.$slots, "empty-state", {}, void 0, !0)
|
|
106
110
|
]),
|
|
107
111
|
_: 2
|
|
108
112
|
}, [
|
|
109
|
-
|
|
110
|
-
name:
|
|
111
|
-
fn:
|
|
112
|
-
|
|
113
|
+
f(t.loadingAndEmptyStatesColumns, (a) => ({
|
|
114
|
+
name: w(a),
|
|
115
|
+
fn: y(() => [
|
|
116
|
+
i(e.$slots, `${w(a)}`, { column: a }, void 0, !0)
|
|
113
117
|
])
|
|
114
118
|
}))
|
|
115
|
-
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (
|
|
116
|
-
(
|
|
119
|
+
]), 1032, ["search", "columns", "is-loading", "loading-row-count", "empty-state-variant", "empty-state-title", "empty-state-subtitle", "test-id"])) : (d(), c("div", X, [
|
|
120
|
+
(d(!0), c(F, null, f(t.tablesSettings, (a, u) => (d(), c("div", {
|
|
117
121
|
key: a.testId,
|
|
118
122
|
class: "table-wrapper"
|
|
119
123
|
}, [
|
|
120
|
-
a.rows.length ? (
|
|
124
|
+
a.rows.length ? (d(), C(s(b), {
|
|
121
125
|
key: 0,
|
|
122
126
|
sections: a.sections,
|
|
123
127
|
columns: a.columns,
|
|
@@ -125,43 +129,48 @@ const p = ["data-testid"], q = ["data-testid"], J = ["data-testid"], K = ["data-
|
|
|
125
129
|
"row-height": a.rowHeight,
|
|
126
130
|
"is-sticky": t.isSticky,
|
|
127
131
|
"z-index-base": t.zIndexBase,
|
|
132
|
+
"get-row-id": t.getRowId,
|
|
133
|
+
"get-row-key": t.getRowKey,
|
|
134
|
+
"row-custom-class-key": t.rowCustomClassKey,
|
|
135
|
+
"row-data-key": t.rowDataKey,
|
|
128
136
|
"test-id": a.testId,
|
|
129
|
-
onClickRow: (o) => V(o,
|
|
130
|
-
onSaveRow: (o) => B(o,
|
|
131
|
-
},
|
|
132
|
-
"floating-row":
|
|
133
|
-
|
|
137
|
+
onClickRow: (o) => V(o, u),
|
|
138
|
+
onSaveRow: (o) => B(o, u)
|
|
139
|
+
}, $({
|
|
140
|
+
"floating-row": y(({ row: o, rowIndex: S }) => [
|
|
141
|
+
i(e.$slots, "floating-row", {
|
|
134
142
|
row: o,
|
|
135
|
-
rowIndex:
|
|
143
|
+
rowIndex: S,
|
|
144
|
+
tableIndex: u
|
|
136
145
|
}, void 0, !0)
|
|
137
146
|
]),
|
|
138
147
|
_: 2
|
|
139
148
|
}, [
|
|
140
|
-
|
|
141
|
-
name:
|
|
142
|
-
fn:
|
|
143
|
-
|
|
149
|
+
f(a.columns, (o) => ({
|
|
150
|
+
name: w(o),
|
|
151
|
+
fn: y(() => [
|
|
152
|
+
i(e.$slots, `${w(o)}`, { column: o }, void 0, !0)
|
|
144
153
|
])
|
|
145
154
|
})),
|
|
146
|
-
|
|
147
|
-
name:
|
|
148
|
-
fn:
|
|
149
|
-
cell:
|
|
155
|
+
f(a.columns, (o) => ({
|
|
156
|
+
name: v(o),
|
|
157
|
+
fn: y(({
|
|
158
|
+
cell: S,
|
|
150
159
|
rowIndex: L,
|
|
151
|
-
isLoading:
|
|
152
|
-
cellIndex:
|
|
153
|
-
row:
|
|
160
|
+
isLoading: D,
|
|
161
|
+
cellIndex: N,
|
|
162
|
+
row: z
|
|
154
163
|
}) => [
|
|
155
|
-
|
|
156
|
-
cell:
|
|
157
|
-
isLoading:
|
|
158
|
-
cellIndex:
|
|
159
|
-
row:
|
|
164
|
+
i(e.$slots, `${v(o)}`, {
|
|
165
|
+
cell: S,
|
|
166
|
+
isLoading: D,
|
|
167
|
+
cellIndex: N,
|
|
168
|
+
row: z,
|
|
160
169
|
rowIndex: L
|
|
161
170
|
}, void 0, !0)
|
|
162
171
|
])
|
|
163
172
|
}))
|
|
164
|
-
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "test-id", "onClickRow", "onSaveRow"])) :
|
|
173
|
+
]), 1032, ["sections", "columns", "rows", "row-height", "is-sticky", "z-index-base", "get-row-id", "get-row-key", "row-custom-class-key", "row-data-key", "test-id", "onClickRow", "onSaveRow"])) : m("", !0)
|
|
165
174
|
]))), 128))
|
|
166
175
|
]))
|
|
167
176
|
], 32));
|
|
@@ -27,6 +27,7 @@ declare const DataGridTypes: () => (({
|
|
|
27
27
|
rowHeight: number | ((index: number) => number);
|
|
28
28
|
defaultScrollPosition: number;
|
|
29
29
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
30
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
30
31
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
31
32
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
32
33
|
zIndexBase: number;
|
|
@@ -121,6 +122,10 @@ declare const DataGridTypes: () => (({
|
|
|
121
122
|
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
122
123
|
default: (row: any, index: any) => any;
|
|
123
124
|
};
|
|
125
|
+
getRowKey: {
|
|
126
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
127
|
+
default: (row: any, index: any) => any;
|
|
128
|
+
};
|
|
124
129
|
selectedMatcher: {
|
|
125
130
|
type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
|
|
126
131
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
@@ -152,7 +157,7 @@ declare const DataGridTypes: () => (({
|
|
|
152
157
|
"onUpdate:selection"?: (selection: unknown[]) => any;
|
|
153
158
|
onSelectRow?: (value: boolean) => any;
|
|
154
159
|
onClickRow?: (rowIndex: number) => any;
|
|
155
|
-
} & 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" | "rowCustomClassKey" | "rowDataKey">;
|
|
160
|
+
} & 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" | "getRowKey" | "selectedMatcher" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey">;
|
|
156
161
|
$attrs: {
|
|
157
162
|
[x: string]: unknown;
|
|
158
163
|
};
|
|
@@ -255,6 +260,10 @@ declare const DataGridTypes: () => (({
|
|
|
255
260
|
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
256
261
|
default: (row: any, index: any) => any;
|
|
257
262
|
};
|
|
263
|
+
getRowKey: {
|
|
264
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
265
|
+
default: (row: any, index: any) => any;
|
|
266
|
+
};
|
|
258
267
|
selectedMatcher: {
|
|
259
268
|
type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
|
|
260
269
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
@@ -320,6 +329,7 @@ declare const DataGridTypes: () => (({
|
|
|
320
329
|
rowHeight: number | ((index: number) => number);
|
|
321
330
|
defaultScrollPosition: number;
|
|
322
331
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
332
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
323
333
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
324
334
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
325
335
|
zIndexBase: number;
|
|
@@ -434,6 +444,10 @@ declare const DataGridTypes: () => (({
|
|
|
434
444
|
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
435
445
|
default: (row: any, index: any) => any;
|
|
436
446
|
};
|
|
447
|
+
getRowKey: {
|
|
448
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
449
|
+
default: (row: any, index: any) => any;
|
|
450
|
+
};
|
|
437
451
|
selectedMatcher: {
|
|
438
452
|
type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
|
|
439
453
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
@@ -560,6 +574,10 @@ declare const DataGridTypes: () => (({
|
|
|
560
574
|
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
561
575
|
default: (row: any, index: any) => any;
|
|
562
576
|
};
|
|
577
|
+
getRowKey: {
|
|
578
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
579
|
+
default: (row: any, index: any) => any;
|
|
580
|
+
};
|
|
563
581
|
selectedMatcher: {
|
|
564
582
|
type: import("vue").PropType<(rowId: unknown, selected: unknown) => boolean>;
|
|
565
583
|
default: (rowId: any, selectedItem: any) => boolean;
|
|
@@ -625,6 +643,7 @@ declare const DataGridTypes: () => (({
|
|
|
625
643
|
rowHeight: number | ((index: number) => number);
|
|
626
644
|
defaultScrollPosition: number;
|
|
627
645
|
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
646
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
628
647
|
selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
|
|
629
648
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
630
649
|
zIndexBase: number;
|
|
@@ -764,8 +783,12 @@ declare const DataGridTypes: () => (({
|
|
|
764
783
|
emptyStateTitle: string;
|
|
765
784
|
isSticky: boolean;
|
|
766
785
|
emptyStateSubtitle: string;
|
|
786
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
787
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
767
788
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
768
789
|
zIndexBase: number;
|
|
790
|
+
rowCustomClassKey: string;
|
|
791
|
+
rowDataKey: string;
|
|
769
792
|
totalCount: number;
|
|
770
793
|
displayingText: string;
|
|
771
794
|
outOfText: string;
|
|
@@ -813,6 +836,14 @@ declare const DataGridTypes: () => (({
|
|
|
813
836
|
type: import("vue").PropType<string>;
|
|
814
837
|
default: string;
|
|
815
838
|
};
|
|
839
|
+
getRowId: {
|
|
840
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
841
|
+
default: (row: any, index: any) => any;
|
|
842
|
+
};
|
|
843
|
+
getRowKey: {
|
|
844
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
845
|
+
default: (row: any, index: any) => any;
|
|
846
|
+
};
|
|
816
847
|
emptyStateVariant: {
|
|
817
848
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
818
849
|
default: any;
|
|
@@ -821,6 +852,14 @@ declare const DataGridTypes: () => (({
|
|
|
821
852
|
type: import("vue").PropType<number>;
|
|
822
853
|
default: number;
|
|
823
854
|
};
|
|
855
|
+
rowCustomClassKey: {
|
|
856
|
+
type: import("vue").PropType<string>;
|
|
857
|
+
default: string;
|
|
858
|
+
};
|
|
859
|
+
rowDataKey: {
|
|
860
|
+
type: import("vue").PropType<string>;
|
|
861
|
+
default: string;
|
|
862
|
+
};
|
|
824
863
|
totalCount: {
|
|
825
864
|
type: import("vue").PropType<number>;
|
|
826
865
|
default: number;
|
|
@@ -855,7 +894,7 @@ declare const DataGridTypes: () => (({
|
|
|
855
894
|
}) => any;
|
|
856
895
|
onOnClearSearch?: () => any;
|
|
857
896
|
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">;
|
|
897
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "testId" | "isLoading" | "searchPlaceholder" | "count" | "showSearch" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "emptyStateSubtitle" | "getRowId" | "getRowKey" | "emptyStateVariant" | "zIndexBase" | "rowCustomClassKey" | "rowDataKey" | "totalCount" | "displayingText" | "outOfText" | "totalText" | "tablesSettings" | "loadingAndEmptyStatesColumns">;
|
|
859
898
|
$attrs: {
|
|
860
899
|
[x: string]: unknown;
|
|
861
900
|
};
|
|
@@ -912,6 +951,14 @@ declare const DataGridTypes: () => (({
|
|
|
912
951
|
type: import("vue").PropType<string>;
|
|
913
952
|
default: string;
|
|
914
953
|
};
|
|
954
|
+
getRowId: {
|
|
955
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
956
|
+
default: (row: any, index: any) => any;
|
|
957
|
+
};
|
|
958
|
+
getRowKey: {
|
|
959
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
960
|
+
default: (row: any, index: any) => any;
|
|
961
|
+
};
|
|
915
962
|
emptyStateVariant: {
|
|
916
963
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
917
964
|
default: any;
|
|
@@ -920,6 +967,14 @@ declare const DataGridTypes: () => (({
|
|
|
920
967
|
type: import("vue").PropType<number>;
|
|
921
968
|
default: number;
|
|
922
969
|
};
|
|
970
|
+
rowCustomClassKey: {
|
|
971
|
+
type: import("vue").PropType<string>;
|
|
972
|
+
default: string;
|
|
973
|
+
};
|
|
974
|
+
rowDataKey: {
|
|
975
|
+
type: import("vue").PropType<string>;
|
|
976
|
+
default: string;
|
|
977
|
+
};
|
|
923
978
|
totalCount: {
|
|
924
979
|
type: import("vue").PropType<number>;
|
|
925
980
|
default: number;
|
|
@@ -973,8 +1028,12 @@ declare const DataGridTypes: () => (({
|
|
|
973
1028
|
emptyStateTitle: string;
|
|
974
1029
|
isSticky: boolean;
|
|
975
1030
|
emptyStateSubtitle: string;
|
|
1031
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1032
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
976
1033
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
977
1034
|
zIndexBase: number;
|
|
1035
|
+
rowCustomClassKey: string;
|
|
1036
|
+
rowDataKey: string;
|
|
978
1037
|
totalCount: number;
|
|
979
1038
|
displayingText: string;
|
|
980
1039
|
outOfText: string;
|
|
@@ -1042,6 +1101,14 @@ declare const DataGridTypes: () => (({
|
|
|
1042
1101
|
type: import("vue").PropType<string>;
|
|
1043
1102
|
default: string;
|
|
1044
1103
|
};
|
|
1104
|
+
getRowId: {
|
|
1105
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
1106
|
+
default: (row: any, index: any) => any;
|
|
1107
|
+
};
|
|
1108
|
+
getRowKey: {
|
|
1109
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
1110
|
+
default: (row: any, index: any) => any;
|
|
1111
|
+
};
|
|
1045
1112
|
emptyStateVariant: {
|
|
1046
1113
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1047
1114
|
default: any;
|
|
@@ -1050,6 +1117,14 @@ declare const DataGridTypes: () => (({
|
|
|
1050
1117
|
type: import("vue").PropType<number>;
|
|
1051
1118
|
default: number;
|
|
1052
1119
|
};
|
|
1120
|
+
rowCustomClassKey: {
|
|
1121
|
+
type: import("vue").PropType<string>;
|
|
1122
|
+
default: string;
|
|
1123
|
+
};
|
|
1124
|
+
rowDataKey: {
|
|
1125
|
+
type: import("vue").PropType<string>;
|
|
1126
|
+
default: string;
|
|
1127
|
+
};
|
|
1053
1128
|
totalCount: {
|
|
1054
1129
|
type: import("vue").PropType<number>;
|
|
1055
1130
|
default: number;
|
|
@@ -1129,6 +1204,14 @@ declare const DataGridTypes: () => (({
|
|
|
1129
1204
|
type: import("vue").PropType<string>;
|
|
1130
1205
|
default: string;
|
|
1131
1206
|
};
|
|
1207
|
+
getRowId: {
|
|
1208
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => unknown>;
|
|
1209
|
+
default: (row: any, index: any) => any;
|
|
1210
|
+
};
|
|
1211
|
+
getRowKey: {
|
|
1212
|
+
type: import("vue").PropType<(row: import("../common/Table.types").Row, index: number) => string | number>;
|
|
1213
|
+
default: (row: any, index: any) => any;
|
|
1214
|
+
};
|
|
1132
1215
|
emptyStateVariant: {
|
|
1133
1216
|
type: import("vue").PropType<"error" | "no-access" | "no-results" | "no-data" | "files" | "settings">;
|
|
1134
1217
|
default: any;
|
|
@@ -1137,6 +1220,14 @@ declare const DataGridTypes: () => (({
|
|
|
1137
1220
|
type: import("vue").PropType<number>;
|
|
1138
1221
|
default: number;
|
|
1139
1222
|
};
|
|
1223
|
+
rowCustomClassKey: {
|
|
1224
|
+
type: import("vue").PropType<string>;
|
|
1225
|
+
default: string;
|
|
1226
|
+
};
|
|
1227
|
+
rowDataKey: {
|
|
1228
|
+
type: import("vue").PropType<string>;
|
|
1229
|
+
default: string;
|
|
1230
|
+
};
|
|
1140
1231
|
totalCount: {
|
|
1141
1232
|
type: import("vue").PropType<number>;
|
|
1142
1233
|
default: number;
|
|
@@ -1190,8 +1281,12 @@ declare const DataGridTypes: () => (({
|
|
|
1190
1281
|
emptyStateTitle: string;
|
|
1191
1282
|
isSticky: boolean;
|
|
1192
1283
|
emptyStateSubtitle: string;
|
|
1284
|
+
getRowId: (row: import("../common/Table.types").Row, index: number) => unknown;
|
|
1285
|
+
getRowKey: (row: import("../common/Table.types").Row, index: number) => string | number;
|
|
1193
1286
|
emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
|
|
1194
1287
|
zIndexBase: number;
|
|
1288
|
+
rowCustomClassKey: string;
|
|
1289
|
+
rowDataKey: string;
|
|
1195
1290
|
totalCount: number;
|
|
1196
1291
|
displayingText: string;
|
|
1197
1292
|
outOfText: string;
|
|
@@ -1216,6 +1311,7 @@ declare const DataGridTypes: () => (({
|
|
|
1216
1311
|
"floating-row"?(_: {
|
|
1217
1312
|
row: import("@vueuse/core").UseVirtualListItem<import("../common/Table.types").Row>;
|
|
1218
1313
|
rowIndex: number;
|
|
1314
|
+
tableIndex: number;
|
|
1219
1315
|
}): any;
|
|
1220
1316
|
"empty-state"?(_: {}): any;
|
|
1221
1317
|
};
|
|
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
75
75
|
height: string;
|
|
76
76
|
resize: 'none' | 'vertical' | 'horizontal' | 'both';
|
|
77
77
|
mandatory: boolean;
|
|
78
|
+
modelValue: string;
|
|
78
79
|
hoverHelpText: string;
|
|
79
80
|
hoverHelpTextPlacement: TooltipPositions;
|
|
80
81
|
maxLength: number;
|
|
81
|
-
modelValue: string;
|
|
82
82
|
placeholder: string;
|
|
83
83
|
maxLengthCounterPosition: MaxLengthCounterPositions;
|
|
84
84
|
feedbackText: string;
|
|
@@ -23,6 +23,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
23
23
|
type: import("vue").PropType<boolean>;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
+
modelValue: {
|
|
27
|
+
type: import("vue").PropType<string>;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
26
30
|
hoverHelpText: {
|
|
27
31
|
type: import("vue").PropType<string>;
|
|
28
32
|
default: string;
|
|
@@ -35,10 +39,6 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
35
39
|
type: import("vue").PropType<number>;
|
|
36
40
|
default: any;
|
|
37
41
|
};
|
|
38
|
-
modelValue: {
|
|
39
|
-
type: import("vue").PropType<string>;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
42
|
placeholder: {
|
|
43
43
|
type: import("vue").PropType<string>;
|
|
44
44
|
default: string;
|
|
@@ -86,6 +86,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
86
86
|
type: import("vue").PropType<boolean>;
|
|
87
87
|
default: boolean;
|
|
88
88
|
};
|
|
89
|
+
modelValue: {
|
|
90
|
+
type: import("vue").PropType<string>;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
89
93
|
hoverHelpText: {
|
|
90
94
|
type: import("vue").PropType<string>;
|
|
91
95
|
default: string;
|
|
@@ -98,10 +102,6 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
98
102
|
type: import("vue").PropType<number>;
|
|
99
103
|
default: any;
|
|
100
104
|
};
|
|
101
|
-
modelValue: {
|
|
102
|
-
type: import("vue").PropType<string>;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
105
|
placeholder: {
|
|
106
106
|
type: import("vue").PropType<string>;
|
|
107
107
|
default: string;
|
|
@@ -131,10 +131,10 @@ declare const TextAreaTypes: () => import("vue").DefineComponent<{
|
|
|
131
131
|
height: string;
|
|
132
132
|
resize: "both" | "none" | "horizontal" | "vertical";
|
|
133
133
|
mandatory: boolean;
|
|
134
|
+
modelValue: string;
|
|
134
135
|
hoverHelpText: string;
|
|
135
136
|
hoverHelpTextPlacement: "top" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
136
137
|
maxLength: number;
|
|
137
|
-
modelValue: string;
|
|
138
138
|
placeholder: string;
|
|
139
139
|
maxLengthCounterPosition: "inside" | "outside";
|
|
140
140
|
feedbackText: string;
|
|
@@ -7,14 +7,14 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
7
7
|
type: import("vue").PropType<string>;
|
|
8
8
|
default: string;
|
|
9
9
|
};
|
|
10
|
-
isLoading: {
|
|
11
|
-
type: import("vue").PropType<boolean>;
|
|
12
|
-
default: boolean;
|
|
13
|
-
};
|
|
14
10
|
modelValue: {
|
|
15
11
|
type: import("vue").PropType<boolean>;
|
|
16
12
|
required: true;
|
|
17
13
|
};
|
|
14
|
+
isLoading: {
|
|
15
|
+
type: import("vue").PropType<boolean>;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
18
|
helperText: {
|
|
19
19
|
type: import("vue").PropType<string>;
|
|
20
20
|
default: any;
|
|
@@ -46,14 +46,14 @@ declare const ToggleTypes: () => import("vue").DefineComponent<{
|
|
|
46
46
|
type: import("vue").PropType<string>;
|
|
47
47
|
default: string;
|
|
48
48
|
};
|
|
49
|
-
isLoading: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
49
|
modelValue: {
|
|
54
50
|
type: import("vue").PropType<boolean>;
|
|
55
51
|
required: true;
|
|
56
52
|
};
|
|
53
|
+
isLoading: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
57
|
helperText: {
|
|
58
58
|
type: import("vue").PropType<string>;
|
|
59
59
|
default: any;
|