@ironsource/shared-ui 2.1.7-test.4 → 2.1.7-test.5

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.
Files changed (58) hide show
  1. package/DataGrid.vue_vue_type_style_index_0_scoped_5273976b_lang.css +1 -0
  2. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_ef699ec5_lang.css +1 -0
  3. package/EditableV4.vue_vue_type_style_index_0_scoped_e0c047b4_lang.css +1 -0
  4. package/IconV4.vue_vue_type_style_index_0_scoped_1eea7671_lang.css +1 -0
  5. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_82ba0e12_lang.css +1 -0
  6. package/SortableList.vue_vue_type_style_index_0_scoped_e9cd63b8_lang.css +1 -0
  7. package/TabsV4.vue_vue_type_style_index_0_scoped_f9433b11_lang.css +1 -0
  8. package/TextField.vue_vue_type_style_index_0_scoped_4d9bf5b2_lang.css +1 -0
  9. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_66bd448a_lang.css +1 -0
  10. package/components/ThemeWrapper/ThemeWrapper.vue.js +2 -2
  11. package/components/ThemeWrapper/ThemeWrapper.vue2.js +5 -5
  12. package/components/appHeader/AppHeader.vue.d.ts +1 -1
  13. package/components/appHeader/index.d.ts +9 -9
  14. package/components/icon/v4/IconV4.vue.d.ts +0 -5
  15. package/components/icon/v4/IconV4.vue.js +4 -4
  16. package/components/icon/v4/IconV4.vue2.js +26 -29
  17. package/components/icon/v4/index.d.ts +1 -20
  18. package/components/input/v4/TextField.vue.js +3 -3
  19. package/components/input/v4/TextField.vue2.js +1 -1
  20. package/components/sortableList/SortableList.vue.d.ts +25 -0
  21. package/components/sortableList/SortableList.vue.js +4 -4
  22. package/components/sortableList/SortableList.vue2.js +129 -89
  23. package/components/sortableList/index.d.ts +88 -2
  24. package/components/table/common/Table.common.js +71 -68
  25. package/components/table/v3/Table.vue.d.ts +2 -2
  26. package/components/table/v3/index.d.ts +39 -39
  27. package/components/table/v4/DataGrid.vue.d.ts +12 -2
  28. package/components/table/v4/DataGrid.vue.js +4 -4
  29. package/components/table/v4/DataGrid.vue2.js +103 -100
  30. package/components/table/v4/DataGridRowsCounter.vue.js +2 -2
  31. package/components/table/v4/DataGridRowsCounter.vue2.js +14 -13
  32. package/components/table/v4/MultipleDataGrid.vue.d.ts +16 -3
  33. package/components/table/v4/MultipleDataGrid.vue.js +5 -5
  34. package/components/table/v4/MultipleDataGrid.vue2.js +112 -69
  35. package/components/table/v4/index.d.ts +126 -75
  36. package/components/table/v4/storyUtils.d.ts +4 -0
  37. package/components/table-cells/common/Editable.common.js +37 -26
  38. package/components/table-cells/common/EditableContext.d.ts +1 -0
  39. package/components/table-cells/v4/EditableV4.vue.d.ts +5 -0
  40. package/components/table-cells/v4/EditableV4.vue.js +5 -5
  41. package/components/table-cells/v4/EditableV4.vue2.js +18 -17
  42. package/components/table-cells/v4/index.d.ts +20 -1
  43. package/components/tabs/v4/TabsV4.vue.js +4 -4
  44. package/components/tabs/v4/TabsV4.vue2.js +37 -40
  45. package/design-foundation.stories/icons/iconsData.d.ts +2 -6
  46. package/index.d.ts +566 -292
  47. package/package.json +1 -1
  48. package/utils/formatNumbers.d.ts +4 -0
  49. package/utils/formatNumbers.js +11 -0
  50. package/DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css +0 -1
  51. package/DataGridRowsCounter.vue_vue_type_style_index_0_scoped_0ce71f73_lang.css +0 -1
  52. package/EditableV4.vue_vue_type_style_index_0_scoped_31bfb722_lang.css +0 -1
  53. package/IconV4.vue_vue_type_style_index_0_scoped_dc433d48_lang.css +0 -1
  54. package/MultipleDataGrid.vue_vue_type_style_index_0_scoped_1bdca43d_lang.css +0 -1
  55. package/SortableList.vue_vue_type_style_index_0_scoped_21842d59_lang.css +0 -1
  56. package/TabsV4.vue_vue_type_style_index_0_scoped_bab40cfe_lang.css +0 -1
  57. package/TextField.vue_vue_type_style_index_0_scoped_eb472aa3_lang.css +0 -1
  58. package/ThemeWrapper.vue_vue_type_style_index_0_scoped_b62ee695_lang.css +0 -1
@@ -1,120 +1,123 @@
1
- import { useSlots as K, ref as c, provide as N, computed as s, onMounted as V, nextTick as j } from "vue";
1
+ import { useSlots as G, ref as c, provide as N, computed as s, onMounted as V, nextTick as j } from "vue";
2
2
  import { useVirtualList as q, useInfiniteScroll as F } from "@vueuse/core";
3
3
  import { TableContext as J } from "./TableContext.js";
4
- const Q = 46, U = 46, tt = (o, a) => {
5
- const m = K(), u = c([]);
4
+ const Q = 46, U = 46, tt = (e, u) => {
5
+ const S = G(), a = c([]);
6
6
  N(J, {
7
- onClose({ rowIndex: t, cellIndex: e, value: n } = {}) {
8
- n && (u.value = [...u.value, t], a("saveRow", {
7
+ onClose({ rowIndex: t, cellIndex: o, value: n } = {}) {
8
+ n && (a.value = [...a.value, t], u("saveRow", {
9
9
  rowIndex: t,
10
- cellIndex: e,
10
+ cellIndex: o,
11
11
  value: n,
12
12
  confirm: () => {
13
- u.value = u.value.filter(
14
- (l) => l !== t
13
+ a.value = a.value.filter(
14
+ (i) => i !== t
15
15
  );
16
16
  }
17
17
  }));
18
18
  },
19
19
  setActiveMenuRow(t) {
20
- C.value = t;
20
+ x.value = t;
21
21
  }
22
22
  });
23
- const x = s(() => !!o.selection), T = s(() => {
24
- const t = (x.value ? `${U}px ` : "") + (g.value ? `${Q}px ` : "");
25
- return o.columns.reduce((e, n) => {
26
- const l = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
27
- return `${e} ${l}`;
23
+ const y = s(() => !!e.selection), C = s(() => {
24
+ const t = (y.value ? `${U}px ` : "") + (g.value ? `${Q}px ` : "");
25
+ return e.columns.reduce((o, n) => {
26
+ const i = n.width ? `${n.width}px` : `${n.colSpan || 1}fr`;
27
+ return `${o} ${i}`;
28
28
  }, t);
29
- }), g = s(() => !!m.expanded), y = c(null), C = c(null), H = s(() => Array(o.loadingRowCount).fill(
30
- Array(o.columns.length).fill("")
31
- )), $ = s(() => o.isLoading ? [...o.rows, ...H.value] : o.rows), { list: R, containerProps: i, wrapperProps: b, scrollTo: k } = q(
32
- $,
29
+ }), g = s(() => !!S.expanded), A = c(null), x = c(null), R = s(() => Array(e.loadingRowCount).fill(
30
+ Array(e.columns.length).fill("")
31
+ )), H = s(() => e.rows.length && Array.isArray(e.rows[0]) ? e.isLoading ? [...e.rows, ...R.value] : e.rows : e.isLoading ? [
32
+ ...e.rows.map((o) => o[e.rowDataKey]),
33
+ ...R.value
34
+ ] : e.rows.map((o) => o[e.rowDataKey])), { list: T, containerProps: l, wrapperProps: $, scrollTo: b } = q(
35
+ H,
33
36
  {
34
- itemHeight: g.value ? (t) => w[t] ?? o.rowHeight : o.rowHeight
37
+ itemHeight: g.value ? (t) => w[t] ?? e.rowHeight : e.rowHeight
35
38
  }
36
- ), B = c(null), h = c(0), I = s(() => !!m.search), O = (t) => {
37
- i.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, a("onScroll", t.target.scrollTop);
39
+ ), k = c(null), h = c(0), B = s(() => !!S.search), I = (t) => {
40
+ l.onScroll(), h.value = t.target.scrollLeft + t.target.getBoundingClientRect().width, u("onScroll", t.target.scrollTop);
38
41
  };
39
42
  V(() => {
40
- h.value = i.ref.value?.getBoundingClientRect().width, o.defaultScrollPosition && setTimeout(() => {
41
- i.ref.value?.scrollTo({
42
- top: o.defaultScrollPosition,
43
+ h.value = l.ref.value?.getBoundingClientRect().width, e.defaultScrollPosition && setTimeout(() => {
44
+ l.ref.value?.scrollTo({
45
+ top: e.defaultScrollPosition,
43
46
  behavior: "smooth"
44
47
  });
45
48
  }, 300);
46
49
  });
47
- const P = s(() => {
48
- const [t] = R.value;
50
+ const O = s(() => {
51
+ const [t] = T.value;
49
52
  return t && t.index > 0;
50
- }), A = s(() => i.style), E = s(() => o.columns.reduce((t, e) => (e.isSticky && (t[e.id] = _(e)), t), {}));
53
+ }), P = s(() => l.style), L = s(() => e.columns.reduce((t, o) => (o.isSticky && (t[o.id] = M(o)), t), {}));
51
54
  F(
52
- i.ref,
55
+ l.ref,
53
56
  () => {
54
- o.isInfiniteScroll && a("loadMore");
57
+ e.isInfiniteScroll && u("loadMore");
55
58
  },
56
- { distance: o.infiniteScrollThreshold }
59
+ { distance: e.infiniteScrollThreshold }
57
60
  );
58
- function L() {
59
- i.ref.value?.scrollTo({
61
+ function E() {
62
+ l.ref.value?.scrollTo({
60
63
  top: 0,
61
64
  behavior: "smooth"
62
65
  });
63
66
  }
64
- function M(t) {
65
- if (!o.sort)
67
+ function D(t) {
68
+ if (!e.sort)
66
69
  return;
67
- const e = o.sort.sortBy === t.id;
70
+ const o = e.sort.sortBy === t.id;
68
71
  if (!(t.isSortable || t.isSortable === void 0))
69
72
  return;
70
- let l = o.sort.sortOrder, f = o.sort.sortBy;
71
- e ? l = o.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, a("update:sort", { sortBy: f, sortOrder: l });
73
+ let i = e.sort.sortOrder, f = e.sort.sortBy;
74
+ o ? i = e.sort.sortOrder === "asc" ? "desc" : "asc" : f = t.id, u("update:sort", { sortBy: f, sortOrder: i });
72
75
  }
73
- function _(t) {
74
- const { isSticky: e, width: n } = t;
75
- if (!e || !n)
76
+ function M(t) {
77
+ const { isSticky: o, width: n } = t;
78
+ if (!o || !n)
76
79
  return null;
77
- const l = o.columns.findIndex((r) => r.id === t.id), f = o.columns.reduce((r, v, S) => S < l ? r + v.width : r, 0), G = o.columns.reduce((r, v, S) => S > l ? r + v.width : r, 0);
80
+ const i = e.columns.findIndex((r) => r.id === t.id), f = e.columns.reduce((r, v, m) => m < i ? r + v.width : r, 0), z = e.columns.reduce((r, v, m) => m > i ? r + v.width : r, 0);
78
81
  return {
79
- ...t.isStickyRight ? { right: `${G}px` } : { left: `${f}px` },
82
+ ...t.isStickyRight ? { right: `${z}px` } : { left: `${f}px` },
80
83
  zIndex: 1
81
84
  };
82
85
  }
83
- const d = c([]), w = {}, D = (t) => d.value.includes(t), W = async (t, e) => {
86
+ const d = c([]), w = {}, _ = (t) => d.value.includes(t), K = async (t, o) => {
84
87
  const n = d.value.indexOf(t);
85
88
  if (n === -1) {
86
89
  d.value.push(t);
87
- const l = e.target.closest("tr");
88
- await j(), l && (w[t] = l.offsetHeight);
90
+ const i = o.target.closest("tr");
91
+ await j(), i && (w[t] = i.offsetHeight);
89
92
  } else
90
93
  d.value.splice(n, 1), delete w[t];
91
- }, X = s(() => `${o.rowHeight}px`), z = s(
92
- () => `1 / span ${o.columns.length + 1}`
94
+ }, W = s(() => `${e.rowHeight}px`), X = s(
95
+ () => `1 / span ${e.columns.length + 1}`
93
96
  );
94
97
  return {
95
- list: R,
96
- containerProps: i,
97
- wrapperProps: b,
98
- activeRow: y,
99
- gridColumnTemplate: T,
100
- floatingActionRef: B,
101
- scrollToTop: L,
102
- toggleSortOrder: M,
103
- columnsStickyPositions: E,
104
- hasSearchSlot: I,
105
- showBackToTopButton: P,
106
- containerStyle: A,
107
- onScroll: O,
108
- scrollTo: k,
109
- savingRows: u,
98
+ list: T,
99
+ containerProps: l,
100
+ wrapperProps: $,
101
+ activeRow: A,
102
+ gridColumnTemplate: C,
103
+ floatingActionRef: k,
104
+ scrollToTop: E,
105
+ toggleSortOrder: D,
106
+ columnsStickyPositions: L,
107
+ hasSearchSlot: B,
108
+ showBackToTopButton: O,
109
+ containerStyle: P,
110
+ onScroll: I,
111
+ scrollTo: b,
112
+ savingRows: a,
110
113
  floatingActionPosition: h,
111
114
  hasExpandSlot: g,
112
- hasCheckboxes: x,
113
- toggleExpandRow: W,
114
- isRowExpanded: D,
115
- cssRowHeight: X,
116
- cssExpandGridCol: z,
117
- activeMenuRow: C
115
+ hasCheckboxes: y,
116
+ toggleExpandRow: K,
117
+ isRowExpanded: _,
118
+ cssRowHeight: W,
119
+ cssExpandGridCol: X,
120
+ activeMenuRow: x
118
121
  };
119
122
  };
120
123
  export {
@@ -84,15 +84,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
84
84
  }, {
85
85
  testId: string;
86
86
  isLoading: boolean;
87
+ loadingRowCount: number;
88
+ emptyStateTitle: string;
87
89
  isSticky: boolean;
88
90
  sections: Section[];
89
91
  isStickyHeader: boolean;
90
- emptyStateTitle: string;
91
92
  emptyStateSubtitle: string;
92
93
  isInfiniteScroll: boolean;
93
94
  infiniteScrollThreshold: number;
94
95
  rowHeight: number | ((index: number) => number);
95
- loadingRowCount: number;
96
96
  defaultScrollPosition: number;
97
97
  }>, Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
98
98
  column: Column;
@@ -5,15 +5,15 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
5
5
  $props: Partial<{
6
6
  testId: string;
7
7
  isLoading: boolean;
8
+ loadingRowCount: number;
9
+ emptyStateTitle: string;
8
10
  isSticky: boolean;
9
11
  sections: import("../common/Table.types").Section[];
10
12
  isStickyHeader: boolean;
11
- emptyStateTitle: string;
12
13
  emptyStateSubtitle: string;
13
14
  isInfiniteScroll: boolean;
14
15
  infiniteScrollThreshold: number;
15
16
  rowHeight: number | ((index: number) => number);
16
- loadingRowCount: number;
17
17
  defaultScrollPosition: number;
18
18
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
19
19
  sort: {
@@ -36,6 +36,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
36
36
  type: import("vue").PropType<boolean>;
37
37
  default: boolean;
38
38
  };
39
+ loadingRowCount: {
40
+ type: import("vue").PropType<number>;
41
+ default: number;
42
+ };
43
+ emptyStateTitle: {
44
+ type: import("vue").PropType<string>;
45
+ default: string;
46
+ };
39
47
  isSticky: {
40
48
  type: import("vue").PropType<boolean>;
41
49
  default: boolean;
@@ -52,10 +60,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
52
60
  type: import("vue").PropType<boolean>;
53
61
  default: boolean;
54
62
  };
55
- emptyStateTitle: {
56
- type: import("vue").PropType<string>;
57
- default: string;
58
- };
59
63
  emptyStateSubtitle: {
60
64
  type: import("vue").PropType<string>;
61
65
  default: string;
@@ -72,10 +76,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
72
76
  type: import("vue").PropType<number | ((index: number) => number)>;
73
77
  default: number;
74
78
  };
75
- loadingRowCount: {
76
- type: import("vue").PropType<number>;
77
- default: number;
78
- };
79
79
  defaultScrollPosition: {
80
80
  type: import("vue").PropType<number>;
81
81
  default: any;
@@ -90,7 +90,7 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
90
90
  cellIndex: number;
91
91
  }) => any;
92
92
  onLoadMore?: () => any;
93
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateTitle" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "loadingRowCount" | "defaultScrollPosition">;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "testId" | "isLoading" | "loadingRowCount" | "emptyStateTitle" | "isSticky" | "sections" | "isStickyHeader" | "emptyStateSubtitle" | "isInfiniteScroll" | "infiniteScrollThreshold" | "rowHeight" | "defaultScrollPosition">;
94
94
  $attrs: {
95
95
  [x: string]: unknown;
96
96
  };
@@ -130,6 +130,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
130
130
  type: import("vue").PropType<boolean>;
131
131
  default: boolean;
132
132
  };
133
+ loadingRowCount: {
134
+ type: import("vue").PropType<number>;
135
+ default: number;
136
+ };
137
+ emptyStateTitle: {
138
+ type: import("vue").PropType<string>;
139
+ default: string;
140
+ };
133
141
  isSticky: {
134
142
  type: import("vue").PropType<boolean>;
135
143
  default: boolean;
@@ -146,10 +154,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
146
154
  type: import("vue").PropType<boolean>;
147
155
  default: boolean;
148
156
  };
149
- emptyStateTitle: {
150
- type: import("vue").PropType<string>;
151
- default: string;
152
- };
153
157
  emptyStateSubtitle: {
154
158
  type: import("vue").PropType<string>;
155
159
  default: string;
@@ -166,10 +170,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
166
170
  type: import("vue").PropType<number | ((index: number) => number)>;
167
171
  default: number;
168
172
  };
169
- loadingRowCount: {
170
- type: import("vue").PropType<number>;
171
- default: number;
172
- };
173
173
  defaultScrollPosition: {
174
174
  type: import("vue").PropType<number>;
175
175
  default: any;
@@ -197,15 +197,15 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
197
197
  }, string, {
198
198
  testId: string;
199
199
  isLoading: boolean;
200
+ loadingRowCount: number;
201
+ emptyStateTitle: string;
200
202
  isSticky: boolean;
201
203
  sections: import("../common/Table.types").Section[];
202
204
  isStickyHeader: boolean;
203
- emptyStateTitle: string;
204
205
  emptyStateSubtitle: string;
205
206
  isInfiniteScroll: boolean;
206
207
  infiniteScrollThreshold: number;
207
208
  rowHeight: number | ((index: number) => number);
208
- loadingRowCount: number;
209
209
  defaultScrollPosition: number;
210
210
  }, {}, string> & {
211
211
  beforeCreate?: (() => void) | (() => void)[];
@@ -248,6 +248,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
248
248
  type: import("vue").PropType<boolean>;
249
249
  default: boolean;
250
250
  };
251
+ loadingRowCount: {
252
+ type: import("vue").PropType<number>;
253
+ default: number;
254
+ };
255
+ emptyStateTitle: {
256
+ type: import("vue").PropType<string>;
257
+ default: string;
258
+ };
251
259
  isSticky: {
252
260
  type: import("vue").PropType<boolean>;
253
261
  default: boolean;
@@ -264,10 +272,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
264
272
  type: import("vue").PropType<boolean>;
265
273
  default: boolean;
266
274
  };
267
- emptyStateTitle: {
268
- type: import("vue").PropType<string>;
269
- default: string;
270
- };
271
275
  emptyStateSubtitle: {
272
276
  type: import("vue").PropType<string>;
273
277
  default: string;
@@ -284,10 +288,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
284
288
  type: import("vue").PropType<number | ((index: number) => number)>;
285
289
  default: number;
286
290
  };
287
- loadingRowCount: {
288
- type: import("vue").PropType<number>;
289
- default: number;
290
- };
291
291
  defaultScrollPosition: {
292
292
  type: import("vue").PropType<number>;
293
293
  default: any;
@@ -327,6 +327,14 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
327
327
  type: import("vue").PropType<boolean>;
328
328
  default: boolean;
329
329
  };
330
+ loadingRowCount: {
331
+ type: import("vue").PropType<number>;
332
+ default: number;
333
+ };
334
+ emptyStateTitle: {
335
+ type: import("vue").PropType<string>;
336
+ default: string;
337
+ };
330
338
  isSticky: {
331
339
  type: import("vue").PropType<boolean>;
332
340
  default: boolean;
@@ -343,10 +351,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
343
351
  type: import("vue").PropType<boolean>;
344
352
  default: boolean;
345
353
  };
346
- emptyStateTitle: {
347
- type: import("vue").PropType<string>;
348
- default: string;
349
- };
350
354
  emptyStateSubtitle: {
351
355
  type: import("vue").PropType<string>;
352
356
  default: string;
@@ -363,10 +367,6 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
363
367
  type: import("vue").PropType<number | ((index: number) => number)>;
364
368
  default: number;
365
369
  };
366
- loadingRowCount: {
367
- type: import("vue").PropType<number>;
368
- default: number;
369
- };
370
370
  defaultScrollPosition: {
371
371
  type: import("vue").PropType<number>;
372
372
  default: any;
@@ -394,15 +394,15 @@ declare const TableTypes: () => (import("vue").InjectionKey<import("../common/Ta
394
394
  }, string, {
395
395
  testId: string;
396
396
  isLoading: boolean;
397
+ loadingRowCount: number;
398
+ emptyStateTitle: string;
397
399
  isSticky: boolean;
398
400
  sections: import("../common/Table.types").Section[];
399
401
  isStickyHeader: boolean;
400
- emptyStateTitle: string;
401
402
  emptyStateSubtitle: string;
402
403
  isInfiniteScroll: boolean;
403
404
  infiniteScrollThreshold: number;
404
405
  rowHeight: number | ((index: number) => number);
405
- loadingRowCount: number;
406
406
  defaultScrollPosition: number;
407
407
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
408
408
  $slots: Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
@@ -25,6 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  searchPlaceholder?: string;
26
26
  searchAutoFocus?: boolean;
27
27
  zIndexBase?: number;
28
+ rowCustomClassKey?: string;
29
+ rowDataKey?: string;
28
30
  }>, {
29
31
  title: string;
30
32
  sort: any;
@@ -49,6 +51,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
49
51
  searchPlaceholder: string;
50
52
  searchAutoFocus: boolean;
51
53
  zIndexBase: number;
54
+ rowCustomClassKey: string;
55
+ rowDataKey: string;
52
56
  }>, {
53
57
  scrollTo: (index: number) => void;
54
58
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -93,6 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
93
97
  searchPlaceholder?: string;
94
98
  searchAutoFocus?: boolean;
95
99
  zIndexBase?: number;
100
+ rowCustomClassKey?: string;
101
+ rowDataKey?: string;
96
102
  }>, {
97
103
  title: string;
98
104
  sort: any;
@@ -117,6 +123,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
117
123
  searchPlaceholder: string;
118
124
  searchAutoFocus: boolean;
119
125
  zIndexBase: number;
126
+ rowCustomClassKey: string;
127
+ rowDataKey: string;
120
128
  }>>> & {
121
129
  onSelectAll?: (value: boolean) => any;
122
130
  "onUpdate:search"?: (query: string) => any;
@@ -143,20 +151,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
143
151
  searchPlaceholder: string;
144
152
  selection: unknown[];
145
153
  showSearch: boolean;
154
+ loadingRowCount: number;
155
+ emptyStateTitle: string;
146
156
  isSticky: boolean;
147
157
  sections: Section[];
148
158
  isStickyHeader: boolean;
149
- emptyStateTitle: string;
150
159
  emptyStateSubtitle: string;
151
160
  isInfiniteScroll: boolean;
152
161
  infiniteScrollThreshold: number;
153
162
  rowHeight: number | ((index: number) => number);
154
- loadingRowCount: number;
155
163
  defaultScrollPosition: number;
156
164
  getRowId: (row: Row, index: number) => unknown;
157
165
  selectedMatcher: (rowId: unknown, selected: unknown) => boolean;
158
166
  emptyStateVariant: "error" | "no-access" | "no-results" | "no-data" | "files" | "settings";
159
167
  zIndexBase: number;
168
+ rowCustomClassKey: string;
169
+ rowDataKey: string;
160
170
  }>, Partial<Record<`section-${string}`, (_: {}) => any>> & Partial<Record<`header-${string}`, (_: {
161
171
  column: Column;
162
172
  }) => any>> & Partial<Record<`cell-${string}`, (_: {
@@ -1,7 +1,7 @@
1
1
  import o from "./DataGrid.vue2.js";
2
- /* empty css */import a from "../../../_virtual/_plugin-vue_export-helper.js";
3
- // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_63aaf3be_lang.css"; //*');
4
- const s = /* @__PURE__ */ a(o, [["__scopeId", "data-v-63aaf3be"]]);
2
+ /* empty css */import _ from "../../../_virtual/_plugin-vue_export-helper.js";
3
+ // import "../../../DataGrid.vue_vue_type_style_index_0_scoped_5273976b_lang.css"; //*');
4
+ const a = /* @__PURE__ */ _(o, [["__scopeId", "data-v-5273976b"]]);
5
5
  export {
6
- s as default
6
+ a as default
7
7
  };