@vtable-guild/vtable-guild 2.7.1 → 2.8.1
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/css/presets/antdv.css +36 -0
- package/css/presets/element-plus.css +38 -0
- package/css/style.css +436 -0
- package/css/tailwind3-utilities.css +337 -0
- package/css/tailwind3.css +99 -0
- package/css/tailwind4.css +99 -0
- package/css/transitions.css +25 -0
- package/dist/core/src/components/VirtualList/VirtualList.d.ts +6 -3
- package/dist/core/src/components/VirtualList/VirtualList.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/VirtualList.mjs +187 -180
- package/dist/core/src/components/VirtualList/VirtualScrollBar.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useChildren.d.ts +2 -2
- package/dist/core/src/components/VirtualList/hooks/useChildren.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useChildren.mjs +12 -12
- package/dist/core/src/components/VirtualList/hooks/useGetSize.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useGetSize.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useGetSize.mjs +1 -1
- package/dist/core/src/components/VirtualList/hooks/useHeights.d.ts +2 -2
- package/dist/core/src/components/VirtualList/hooks/useHeights.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useHeights.mjs +36 -36
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.mjs +11 -11
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.test.d.ts +2 -0
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.test.d.ts.map +1 -0
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.mjs +30 -30
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/utils/types.d.ts +18 -0
- package/dist/core/src/utils/types.d.ts.map +1 -1
- package/dist/css/presets/antdv.css +36 -0
- package/dist/css/presets/element-plus.css +38 -0
- package/dist/css/style.css +436 -0
- package/dist/css/tailwind3-utilities.css +337 -0
- package/dist/css/tailwind3.css +99 -0
- package/dist/css/tailwind4.css +99 -0
- package/dist/css/transitions.css +25 -0
- package/dist/index.d.ts +0 -26
- package/dist/index.full.mjs +5116 -3769
- package/dist/index.mjs +85 -75
- package/dist/table/src/components/ColGroup.d.ts.map +1 -1
- package/dist/table/src/components/ColGroup.mjs +10 -10
- package/dist/table/src/components/ColumnWidthRow.d.ts +4 -0
- package/dist/table/src/components/ColumnWidthRow.d.ts.map +1 -0
- package/dist/table/src/components/ColumnWidthRow.mjs +23 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts +57 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts.map +1 -0
- package/dist/table/src/components/PaginationSizeSelect.mjs +138 -0
- package/dist/table/src/components/SelectionDropdown.d.ts +9 -0
- package/dist/table/src/components/SelectionDropdown.d.ts.map +1 -1
- package/dist/table/src/components/SelectionDropdown.mjs +32 -26
- package/dist/table/src/components/Table.d.ts +13 -2
- package/dist/table/src/components/Table.d.ts.map +1 -1
- package/dist/table/src/components/Table.mjs +496 -403
- package/dist/table/src/components/TableCell.d.ts.map +1 -1
- package/dist/table/src/components/TableCell.mjs +80 -74
- package/dist/table/src/components/TableHeaderCell.d.ts.map +1 -1
- package/dist/table/src/components/TableHeaderCell.mjs +85 -83
- package/dist/table/src/components/TablePagination.d.ts +74 -0
- package/dist/table/src/components/TablePagination.d.ts.map +1 -0
- package/dist/table/src/components/TablePagination.mjs +350 -0
- package/dist/table/src/components/TablePagination.test.d.ts +2 -0
- package/dist/table/src/components/TablePagination.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
- package/dist/table/src/components/VTable.vue.mjs +34 -26
- package/dist/table/src/components/VTableMinWidth.test.d.ts +2 -0
- package/dist/table/src/components/VTableMinWidth.test.d.ts.map +1 -0
- package/dist/table/src/components/VTableSummary.d.ts +15 -75
- package/dist/table/src/components/VTableSummary.d.ts.map +1 -1
- package/dist/table/src/components/VTableSummary.mjs +7 -7
- package/dist/table/src/components/VTableSummaryCell.d.ts.map +1 -1
- package/dist/table/src/components/VTableSummaryCell.mjs +26 -24
- package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
- package/dist/table/src/components/VirtualTableBody.mjs +107 -95
- package/dist/table/src/composables/useColumnLayout.d.ts +28 -0
- package/dist/table/src/composables/useColumnLayout.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnLayout.mjs +259 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts +2 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnMetrics.d.ts +5 -3
- package/dist/table/src/composables/useColumnMetrics.d.ts.map +1 -1
- package/dist/table/src/composables/useColumnMetrics.mjs +64 -55
- package/dist/table/src/composables/useExpand.d.ts +2 -0
- package/dist/table/src/composables/useExpand.d.ts.map +1 -1
- package/dist/table/src/composables/useExpand.mjs +42 -20
- package/dist/table/src/composables/usePagination.d.ts +15 -0
- package/dist/table/src/composables/usePagination.d.ts.map +1 -0
- package/dist/table/src/composables/usePagination.mjs +65 -0
- package/dist/table/src/composables/usePagination.test.d.ts +2 -0
- package/dist/table/src/composables/usePagination.test.d.ts.map +1 -0
- package/dist/table/src/composables/useResize.d.ts +1 -0
- package/dist/table/src/composables/useResize.d.ts.map +1 -1
- package/dist/table/src/composables/useResize.mjs +67 -39
- package/dist/table/src/composables/useScroll.d.ts +3 -0
- package/dist/table/src/composables/useScroll.d.ts.map +1 -1
- package/dist/table/src/composables/useScroll.mjs +43 -41
- package/dist/table/src/composables/useSelection.d.ts +2 -1
- package/dist/table/src/composables/useSelection.d.ts.map +1 -1
- package/dist/table/src/composables/useSelection.mjs +204 -155
- package/dist/table/src/composables/useTreeData.d.ts +4 -0
- package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
- package/dist/table/src/composables/useTreeData.mjs +48 -43
- package/dist/table/src/context.d.ts +6 -1
- package/dist/table/src/context.d.ts.map +1 -1
- package/dist/table/src/index.d.ts +10 -87
- package/dist/table/src/index.d.ts.map +1 -1
- package/dist/table/src/index.mjs +12 -12
- package/dist/table/src/types/column.d.ts +8 -2
- package/dist/table/src/types/column.d.ts.map +1 -1
- package/dist/table/src/types/index.d.ts +1 -0
- package/dist/table/src/types/index.d.ts.map +1 -1
- package/dist/table/src/types/pagination.d.ts +66 -0
- package/dist/table/src/types/pagination.d.ts.map +1 -0
- package/dist/table/src/types/pagination.typecheck.d.ts +25 -0
- package/dist/table/src/types/pagination.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/table.d.ts +8 -1
- package/dist/table/src/types/table.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.d.ts +55 -7
- package/dist/table/src/utils/columnWidth.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.mjs +91 -21
- package/dist/table/src/utils/paginationLayout.d.ts +13 -0
- package/dist/table/src/utils/paginationLayout.d.ts.map +1 -0
- package/dist/table/src/utils/paginationLayout.mjs +55 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts +2 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/utils/popupPosition.d.ts +4 -1
- package/dist/table/src/utils/popupPosition.d.ts.map +1 -1
- package/dist/table/src/utils/popupPosition.mjs +34 -15
- package/dist/theme/src/augment.d.ts +2 -0
- package/dist/theme/src/augment.d.ts.map +1 -1
- package/dist/theme/src/compat/antdv-pagination.d.ts +4 -0
- package/dist/theme/src/compat/antdv-pagination.d.ts.map +1 -0
- package/dist/theme/src/compat/antdv-pagination.mjs +29 -0
- package/dist/theme/src/index.d.ts +5 -0
- package/dist/theme/src/index.d.ts.map +1 -1
- package/dist/theme/src/pagination.d.ts +153 -0
- package/dist/theme/src/pagination.d.ts.map +1 -0
- package/dist/theme/src/pagination.mjs +144 -0
- package/dist/theme/src/presets/antdv/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/antdv/table-locale.mjs +2 -2
- package/dist/theme/src/presets/antdv/table.d.ts +3 -0
- package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table.mjs +3 -0
- package/dist/theme/src/presets/element-plus/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -2
- package/dist/theme/src/presets/element-plus/table.d.ts +3 -0
- package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
- package/dist/theme/src/presets/element-plus/table.mjs +3 -0
- package/dist/theme/src/presets/index.d.ts.map +1 -1
- package/dist/theme/src/presets/index.mjs +60 -57
- package/dist/theme/src/presets/types.d.ts +1 -0
- package/dist/theme/src/presets/types.d.ts.map +1 -1
- package/dist/vtable-guild/src/augment.d.ts +15 -0
- package/dist/vtable-guild/src/augment.d.ts.map +1 -0
- package/dist/vtable-guild/src/index.d.ts +1 -0
- package/dist/vtable-guild/src/index.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useGetSize as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { getSpinSize as
|
|
11
|
-
import { PrefixSums as
|
|
12
|
-
import { defineComponent as
|
|
13
|
-
const
|
|
1
|
+
import Be from "./Filler.mjs";
|
|
2
|
+
import Ce from "./hooks/useChildren.mjs";
|
|
3
|
+
import Te from "./hooks/useFrameWheel.mjs";
|
|
4
|
+
import { useGetSize as we } from "./hooks/useGetSize.mjs";
|
|
5
|
+
import Ie from "./hooks/useHeights.mjs";
|
|
6
|
+
import Ve from "./hooks/useMobileTouchMove.mjs";
|
|
7
|
+
import Ae from "./hooks/useScrollDrag.mjs";
|
|
8
|
+
import We from "./hooks/useScrollTo.mjs";
|
|
9
|
+
import re from "./VirtualScrollBar.mjs";
|
|
10
|
+
import { getSpinSize as ce } from "./utils/scrollbarUtil.mjs";
|
|
11
|
+
import { PrefixSums as ke } from "./utils/PrefixSums.mjs";
|
|
12
|
+
import { defineComponent as Fe, computed as H, watch as x, shallowRef as q, ref as u, unref as De, toRaw as Ke, onBeforeUnmount as Oe, createVNode as P } from "vue";
|
|
13
|
+
const se = [], Pe = {
|
|
14
14
|
overflowY: "auto",
|
|
15
15
|
overflowAnchor: "none"
|
|
16
16
|
};
|
|
17
|
-
function
|
|
17
|
+
function je(t) {
|
|
18
18
|
const m = {};
|
|
19
19
|
for (const h of Object.keys(t))
|
|
20
20
|
h.startsWith("on") || (m[h] = t[h]);
|
|
21
21
|
return m;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
let
|
|
25
|
-
|
|
26
|
-
let
|
|
27
|
-
return
|
|
23
|
+
function Le(t, m, h, $) {
|
|
24
|
+
let z = t.findIndex(h);
|
|
25
|
+
z >= m && (z = 0);
|
|
26
|
+
let M = t.findIndex(h + $ + 1);
|
|
27
|
+
return M >= m && (M = m - 1), M = Math.min(M + 1, m - 1), {
|
|
28
28
|
scrollHeight: t.total,
|
|
29
|
-
start:
|
|
30
|
-
end:
|
|
31
|
-
offset: t.offsetOf(
|
|
29
|
+
start: z,
|
|
30
|
+
end: M,
|
|
31
|
+
offset: t.offsetOf(z)
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
const
|
|
34
|
+
const pe = /* @__PURE__ */ Fe({
|
|
35
35
|
name: "VirtualList",
|
|
36
36
|
props: {
|
|
37
37
|
prefixCls: {
|
|
38
38
|
type: String,
|
|
39
39
|
default: "vtg-virtual-list"
|
|
40
40
|
},
|
|
41
|
+
holderClass: String,
|
|
41
42
|
data: {
|
|
42
43
|
type: Array
|
|
43
44
|
},
|
|
@@ -82,276 +83,282 @@ const Qe = /* @__PURE__ */ We({
|
|
|
82
83
|
setup(t, {
|
|
83
84
|
expose: m,
|
|
84
85
|
attrs: h,
|
|
85
|
-
slots:
|
|
86
|
+
slots: $
|
|
86
87
|
}) {
|
|
87
|
-
const
|
|
88
|
-
let
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
const z = H(() => t.itemHeight);
|
|
89
|
+
let M = t.itemKey;
|
|
90
|
+
x(() => t.itemKey, (e) => {
|
|
91
|
+
M = e;
|
|
91
92
|
});
|
|
92
|
-
const
|
|
93
|
-
const
|
|
94
|
-
return typeof
|
|
95
|
-
}, [
|
|
96
|
-
|
|
97
|
-
|
|
93
|
+
const I = (e, l) => {
|
|
94
|
+
const a = M;
|
|
95
|
+
return typeof a == "function" ? a(e, l) : e?.[a];
|
|
96
|
+
}, [ve, G, B, fe] = Ie(I, void 0, void 0, () => t.disableHeightMeasure), c = q(t?.data || se);
|
|
97
|
+
x(() => t.data, () => {
|
|
98
|
+
c.value = t?.data || se;
|
|
98
99
|
});
|
|
99
|
-
const
|
|
100
|
-
const e =
|
|
101
|
-
return
|
|
102
|
-
}),
|
|
103
|
-
function
|
|
100
|
+
const W = H(() => !!(t.virtual !== !1 && t.height && t.itemHeight)), s = H(() => {
|
|
101
|
+
const e = c.value;
|
|
102
|
+
return W.value && e && (t.itemHeight * e.length > t.height || !!t.scrollWidth);
|
|
103
|
+
}), b = u(), J = u(), Q = u(), j = u(!1), Z = q(), p = q(), r = u(0), n = u(0), E = u(!1), ee = u(0), te = u(0), d = u(t.scrollWidth || 0), o = u(0), v = u(0), S = u(0), C = u(void 0);
|
|
104
|
+
function le(e) {
|
|
105
|
+
const l = o.value - t.height;
|
|
106
|
+
return Math.max(0, Math.min(e, l || 0));
|
|
107
|
+
}
|
|
108
|
+
function T(e) {
|
|
104
109
|
let l;
|
|
105
|
-
typeof e == "function" ? l = e(
|
|
106
|
-
const a =
|
|
107
|
-
|
|
110
|
+
typeof e == "function" ? l = e(r.value) : l = e;
|
|
111
|
+
const a = le(l);
|
|
112
|
+
b.value && (b.value.scrollTop = a), r.value = a;
|
|
108
113
|
}
|
|
109
|
-
const
|
|
110
|
-
|
|
111
|
-
if (!
|
|
112
|
-
|
|
114
|
+
const V = new ke();
|
|
115
|
+
x([s, W, r, c, fe, () => t.height, () => t.itemHeight], ([, , , e, l, , a], i) => {
|
|
116
|
+
if (!i)
|
|
117
|
+
V.markAllDirty();
|
|
113
118
|
else {
|
|
114
|
-
const [, , ,
|
|
115
|
-
e !==
|
|
119
|
+
const [, , , y, U, , O] = i;
|
|
120
|
+
e !== y || a !== O ? V.markAllDirty() : l !== U && V.markDirtyFrom(v.value);
|
|
116
121
|
}
|
|
117
|
-
if (!
|
|
118
|
-
o.value = 0,
|
|
122
|
+
if (!W.value) {
|
|
123
|
+
o.value = 0, v.value = 0, S.value = c.value.length - 1, C.value = void 0;
|
|
119
124
|
return;
|
|
120
125
|
}
|
|
121
|
-
if (!
|
|
122
|
-
o.value =
|
|
126
|
+
if (!s.value) {
|
|
127
|
+
o.value = J.value?.offsetHeight || 0, v.value = 0, S.value = c.value.length - 1, C.value = void 0;
|
|
123
128
|
return;
|
|
124
129
|
}
|
|
125
130
|
const {
|
|
126
|
-
itemHeight:
|
|
127
|
-
height:
|
|
128
|
-
} = t,
|
|
129
|
-
if (!
|
|
130
|
-
o.value = 0,
|
|
131
|
+
itemHeight: R,
|
|
132
|
+
height: L
|
|
133
|
+
} = t, K = c.value.length;
|
|
134
|
+
if (!K) {
|
|
135
|
+
o.value = 0, v.value = 0, S.value = -1, C.value = 0;
|
|
131
136
|
return;
|
|
132
137
|
}
|
|
133
|
-
if (
|
|
134
|
-
const
|
|
135
|
-
let
|
|
136
|
-
|
|
138
|
+
if (De(B.id) === 0) {
|
|
139
|
+
const y = R, U = L, O = Math.max(0, Math.floor(r.value / y)), ze = O * y;
|
|
140
|
+
let _ = O + Math.ceil(U / y);
|
|
141
|
+
_ = Math.min(_ + 1, K - 1), o.value = K * y, v.value = O, S.value = _, C.value = ze;
|
|
137
142
|
return;
|
|
138
143
|
}
|
|
139
|
-
const
|
|
140
|
-
|
|
141
|
-
const
|
|
142
|
-
o.value =
|
|
144
|
+
const Re = Ke(c.value);
|
|
145
|
+
V.sync(K, (y) => B.get(I(Re[y], y)), R);
|
|
146
|
+
const N = Le(V, K, r.value, L);
|
|
147
|
+
o.value = N.scrollHeight, v.value = N.start, S.value = N.end, C.value = N.offset;
|
|
143
148
|
}, {
|
|
144
149
|
immediate: !0
|
|
145
|
-
}),
|
|
146
|
-
const e =
|
|
150
|
+
}), x(o, () => {
|
|
151
|
+
const e = B.getRecord();
|
|
147
152
|
if (e.size === 1) {
|
|
148
|
-
const l = Array.from(e.keys())[0], a = e.get(l),
|
|
149
|
-
if (
|
|
150
|
-
const
|
|
151
|
-
|
|
153
|
+
const l = Array.from(e.keys())[0], a = e.get(l), i = c.value[v.value];
|
|
154
|
+
if (i && a === void 0 && I(i, v.value) === l) {
|
|
155
|
+
const R = B.get(l) - t.itemHeight;
|
|
156
|
+
T((L) => L + R);
|
|
152
157
|
}
|
|
153
158
|
}
|
|
154
|
-
if (
|
|
159
|
+
if (W.value && t.height) {
|
|
155
160
|
const l = Math.max(0, o.value - t.height);
|
|
156
|
-
|
|
161
|
+
r.value > l && T(l);
|
|
157
162
|
}
|
|
158
|
-
|
|
163
|
+
B.resetRecord();
|
|
159
164
|
});
|
|
160
165
|
const g = u({
|
|
161
166
|
width: 0,
|
|
162
167
|
height: t.height || 0
|
|
163
168
|
});
|
|
164
169
|
let w = null, k = null;
|
|
165
|
-
const
|
|
170
|
+
const he = (e) => {
|
|
166
171
|
k !== e && (w && k && w.unobserve(k), k = e, e && (w || (w = new ResizeObserver((l) => {
|
|
167
172
|
const a = l[0];
|
|
168
173
|
if (a) {
|
|
169
|
-
const
|
|
174
|
+
const i = a.target;
|
|
170
175
|
g.value = {
|
|
171
|
-
width:
|
|
172
|
-
height:
|
|
173
|
-
}, d.value = t.scrollWidth ??
|
|
176
|
+
width: i.offsetWidth,
|
|
177
|
+
height: i.offsetHeight
|
|
178
|
+
}, d.value = t.scrollWidth ?? i.offsetWidth;
|
|
174
179
|
}
|
|
175
180
|
})), w.observe(e)));
|
|
176
181
|
};
|
|
177
182
|
Oe(() => {
|
|
178
183
|
w?.disconnect(), w = null, k = null;
|
|
179
184
|
});
|
|
180
|
-
const
|
|
181
|
-
x:
|
|
182
|
-
y:
|
|
183
|
-
}),
|
|
185
|
+
const f = H(() => t.direction === "rtl"), X = () => ({
|
|
186
|
+
x: f.value ? -n.value : n.value,
|
|
187
|
+
y: r.value
|
|
188
|
+
}), Y = u(X()), F = (e, l = !1) => {
|
|
184
189
|
if (t.onVirtualScroll) {
|
|
185
190
|
const a = {
|
|
186
|
-
|
|
191
|
+
...X(),
|
|
187
192
|
...e
|
|
188
193
|
};
|
|
189
|
-
(l ||
|
|
194
|
+
(l || Y.value.x !== a.x || Y.value.y !== a.y) && (t.onVirtualScroll(a), Y.value = a);
|
|
190
195
|
}
|
|
191
|
-
},
|
|
192
|
-
|
|
193
|
-
|
|
196
|
+
}, A = H(() => Math.max(0, (d.value || 0) - g.value.width)), de = H(() => r.value === 0), ge = H(() => r.value + t.height >= o.value), me = H(() => n.value === 0), Se = H(() => n.value >= A.value), D = (e) => Math.max(0, Math.min(e, A.value));
|
|
197
|
+
x(A, () => {
|
|
198
|
+
n.value = D(n.value), F(void 0, !0);
|
|
194
199
|
}, {
|
|
195
200
|
flush: "post"
|
|
196
201
|
});
|
|
197
|
-
const
|
|
198
|
-
|
|
199
|
-
}, [
|
|
202
|
+
const ae = () => {
|
|
203
|
+
Z.value?.delayHidden(), p.value?.delayHidden();
|
|
204
|
+
}, [ye] = Te(s, de, ge, me, Se, A.value > 0, (e, l) => {
|
|
200
205
|
if (l) {
|
|
201
|
-
const a =
|
|
202
|
-
|
|
203
|
-
x:
|
|
206
|
+
const a = D(f.value ? n.value - e : n.value + e);
|
|
207
|
+
n.value = a, F({
|
|
208
|
+
x: f.value ? -a : a
|
|
204
209
|
});
|
|
205
210
|
} else
|
|
206
|
-
|
|
211
|
+
T((a) => a + e);
|
|
207
212
|
});
|
|
208
|
-
|
|
213
|
+
Ve(s, b, (e, l, a) => {
|
|
209
214
|
if (e) {
|
|
210
|
-
const
|
|
211
|
-
return
|
|
212
|
-
x:
|
|
213
|
-
}), !0;
|
|
214
|
-
} else
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
215
|
+
const i = D(f.value ? n.value - l : n.value + l), R = i !== n.value;
|
|
216
|
+
return n.value = i, F({
|
|
217
|
+
x: f.value ? -i : i
|
|
218
|
+
}), a ? R : !0;
|
|
219
|
+
} else {
|
|
220
|
+
const i = le(r.value + l) !== r.value;
|
|
221
|
+
return T((R) => R + l), a ? i : !0;
|
|
222
|
+
}
|
|
223
|
+
}), Ae(s, b, (e) => {
|
|
224
|
+
T((l) => l + e);
|
|
218
225
|
});
|
|
219
|
-
const
|
|
220
|
-
l ? (
|
|
221
|
-
x:
|
|
222
|
-
})) :
|
|
223
|
-
},
|
|
224
|
-
|
|
225
|
-
},
|
|
226
|
-
|
|
226
|
+
const ie = (e, l) => {
|
|
227
|
+
l ? (n.value = e, F({
|
|
228
|
+
x: f.value ? -e : e
|
|
229
|
+
})) : T(e);
|
|
230
|
+
}, ne = () => {
|
|
231
|
+
E.value = !0;
|
|
232
|
+
}, oe = () => {
|
|
233
|
+
E.value = !1;
|
|
227
234
|
};
|
|
228
|
-
|
|
229
|
-
|
|
235
|
+
x([() => t.height, o, s, () => g.value.height], () => {
|
|
236
|
+
s.value && t.height && o.value && (ee.value = ce(g.value.height, o.value));
|
|
230
237
|
}, {
|
|
231
238
|
immediate: !0
|
|
232
|
-
}),
|
|
233
|
-
|
|
239
|
+
}), x([() => g.value.width, d], () => {
|
|
240
|
+
s.value && d.value && (te.value = ce(g.value.width, d.value));
|
|
234
241
|
}, {
|
|
235
242
|
immediate: !0
|
|
236
|
-
}),
|
|
237
|
-
d.value = e ?? g.value.width,
|
|
243
|
+
}), x(() => t.scrollWidth, (e) => {
|
|
244
|
+
d.value = e ?? g.value.width, n.value = D(n.value);
|
|
238
245
|
}, {
|
|
239
246
|
immediate: !0
|
|
240
247
|
});
|
|
241
|
-
function
|
|
248
|
+
function He(e) {
|
|
242
249
|
const l = e.currentTarget.scrollTop;
|
|
243
|
-
!
|
|
250
|
+
!W.value || !s.value ? r.value = l : l !== r.value && T(l), t.onScroll?.(e), F();
|
|
244
251
|
}
|
|
245
|
-
const [
|
|
246
|
-
const l =
|
|
247
|
-
|
|
248
|
-
},
|
|
252
|
+
const [ue, xe] = We(b, c, B, z, I, () => G(!0), (e) => {
|
|
253
|
+
const l = xe(), a = Math.max(o.value, l) - t.height, i = Math.max(0, Math.min(e, a || 0));
|
|
254
|
+
b.value && (b.value.scrollTop = i), r.value = i;
|
|
255
|
+
}, ae, () => t.disableHeightMeasure);
|
|
249
256
|
m({
|
|
250
|
-
nativeElement:
|
|
251
|
-
getScrollInfo:
|
|
252
|
-
getHorizontalRange: () =>
|
|
257
|
+
nativeElement: Q,
|
|
258
|
+
getScrollInfo: X,
|
|
259
|
+
getHorizontalRange: () => A.value,
|
|
253
260
|
scrollTo: (e) => {
|
|
254
261
|
function l(a) {
|
|
255
262
|
return a && typeof a == "object" && ("left" in a || "top" in a);
|
|
256
263
|
}
|
|
257
|
-
l(e) ? (e.left !== void 0 && (
|
|
264
|
+
l(e) ? (e.left !== void 0 && (n.value = D(e.left)), ue(e.top)) : ue(e);
|
|
258
265
|
}
|
|
259
|
-
}),
|
|
266
|
+
}), x([v, S, c], () => {
|
|
260
267
|
if (t.onVisibleChange) {
|
|
261
|
-
const e =
|
|
262
|
-
t.onVisibleChange(e,
|
|
268
|
+
const e = c.value.slice(v.value, S.value + 1);
|
|
269
|
+
t.onVisibleChange(e, c.value);
|
|
263
270
|
}
|
|
264
271
|
}, {
|
|
265
272
|
flush: "post"
|
|
266
273
|
});
|
|
267
|
-
const
|
|
274
|
+
const Me = we(c, I, B, z), be = Ce(c, v, S, d, n, ve, (e, l, a) => $.default?.({
|
|
268
275
|
item: e,
|
|
269
276
|
index: l,
|
|
270
277
|
...a
|
|
271
278
|
}), {
|
|
272
|
-
getKey:
|
|
279
|
+
getKey: I
|
|
273
280
|
});
|
|
274
281
|
return () => {
|
|
275
282
|
const e = {};
|
|
276
|
-
t.height && (e[t.fullHeight ? "height" : "maxHeight"] = `${t.height}px`, Object.assign(e,
|
|
283
|
+
t.height && (e[t.fullHeight ? "height" : "maxHeight"] = `${t.height}px`, Object.assign(e, Pe), s.value && (e.overflowY = "hidden", A.value > 0 && (e.overflowX = "hidden"), E.value && (e.pointerEvents = "none")));
|
|
277
284
|
const l = t.extraRender?.({
|
|
278
|
-
start:
|
|
285
|
+
start: v.value,
|
|
279
286
|
end: S.value,
|
|
280
|
-
virtual:
|
|
281
|
-
offsetX:
|
|
282
|
-
offsetY:
|
|
283
|
-
rtl:
|
|
284
|
-
getSize:
|
|
287
|
+
virtual: s.value,
|
|
288
|
+
offsetX: n.value,
|
|
289
|
+
offsetY: C.value || 0,
|
|
290
|
+
rtl: f.value,
|
|
291
|
+
getSize: Me
|
|
285
292
|
}), a = t.component;
|
|
286
|
-
return
|
|
287
|
-
ref:
|
|
288
|
-
...
|
|
293
|
+
return P("div", {
|
|
294
|
+
ref: Q,
|
|
295
|
+
...je(h),
|
|
289
296
|
style: {
|
|
290
297
|
position: "relative",
|
|
291
298
|
...h.style
|
|
292
299
|
},
|
|
293
|
-
dir:
|
|
300
|
+
dir: f.value ? "rtl" : void 0,
|
|
294
301
|
class: [t.prefixCls, {
|
|
295
|
-
[`${t.prefixCls}-rtl`]:
|
|
302
|
+
[`${t.prefixCls}-rtl`]: f.value
|
|
296
303
|
}, h.class],
|
|
297
304
|
onMouseenter: () => {
|
|
298
|
-
|
|
305
|
+
j.value = !0;
|
|
299
306
|
},
|
|
300
307
|
onMouseleave: () => {
|
|
301
|
-
|
|
308
|
+
j.value = !1;
|
|
302
309
|
}
|
|
303
|
-
}, [
|
|
304
|
-
class: `${t.prefixCls}-holder`,
|
|
310
|
+
}, [P(a, {
|
|
311
|
+
class: [`${t.prefixCls}-holder`, t.holderClass],
|
|
305
312
|
style: e,
|
|
306
|
-
ref: (
|
|
307
|
-
|
|
313
|
+
ref: (i) => {
|
|
314
|
+
b.value = i?.$el ?? i, he(i?.$el ?? i);
|
|
308
315
|
},
|
|
309
|
-
onScroll:
|
|
310
|
-
onWheel:
|
|
311
|
-
onMouseenter:
|
|
316
|
+
onScroll: He,
|
|
317
|
+
onWheel: ye,
|
|
318
|
+
onMouseenter: ae
|
|
312
319
|
}, {
|
|
313
|
-
default: () => [
|
|
320
|
+
default: () => [P(Be, {
|
|
314
321
|
prefixCls: t.prefixCls,
|
|
315
322
|
height: o.value,
|
|
316
|
-
offsetX:
|
|
317
|
-
offsetY:
|
|
323
|
+
offsetX: n.value,
|
|
324
|
+
offsetY: C.value,
|
|
318
325
|
scrollWidth: d.value,
|
|
319
|
-
onInnerResize:
|
|
320
|
-
ref:
|
|
326
|
+
onInnerResize: G,
|
|
327
|
+
ref: J,
|
|
321
328
|
innerProps: t.innerProps,
|
|
322
|
-
rtl:
|
|
329
|
+
rtl: f.value,
|
|
323
330
|
extra: l
|
|
324
331
|
}, {
|
|
325
|
-
default: () => [
|
|
332
|
+
default: () => [be.value]
|
|
326
333
|
})]
|
|
327
|
-
}),
|
|
328
|
-
ref:
|
|
334
|
+
}), s.value && o.value > (t.height || 0) && P(re, {
|
|
335
|
+
ref: Z,
|
|
329
336
|
prefixCls: t.prefixCls,
|
|
330
|
-
scrollOffset:
|
|
337
|
+
scrollOffset: r.value,
|
|
331
338
|
scrollRange: o.value,
|
|
332
|
-
rtl:
|
|
333
|
-
onScroll:
|
|
334
|
-
onStartMove:
|
|
335
|
-
onStopMove:
|
|
336
|
-
spinSize:
|
|
339
|
+
rtl: f.value,
|
|
340
|
+
onScroll: ie,
|
|
341
|
+
onStartMove: ne,
|
|
342
|
+
onStopMove: oe,
|
|
343
|
+
spinSize: ee.value,
|
|
337
344
|
containerSize: g.value.height,
|
|
338
|
-
active:
|
|
345
|
+
active: j.value,
|
|
339
346
|
showScrollBar: t.showScrollBar,
|
|
340
347
|
style: t.styles?.verticalScrollBar,
|
|
341
348
|
thumbStyle: t.styles?.verticalScrollBarThumb
|
|
342
|
-
}),
|
|
343
|
-
ref:
|
|
349
|
+
}), s.value && d.value > g.value.width && P(re, {
|
|
350
|
+
ref: p,
|
|
344
351
|
prefixCls: t.prefixCls,
|
|
345
|
-
scrollOffset:
|
|
352
|
+
scrollOffset: n.value,
|
|
346
353
|
scrollRange: d.value,
|
|
347
|
-
rtl:
|
|
348
|
-
onScroll:
|
|
349
|
-
onStartMove:
|
|
350
|
-
onStopMove:
|
|
351
|
-
spinSize:
|
|
354
|
+
rtl: f.value,
|
|
355
|
+
onScroll: ie,
|
|
356
|
+
onStartMove: ne,
|
|
357
|
+
onStopMove: oe,
|
|
358
|
+
spinSize: te.value,
|
|
352
359
|
containerSize: g.value.width,
|
|
353
360
|
horizontal: !0,
|
|
354
|
-
active:
|
|
361
|
+
active: j.value,
|
|
355
362
|
showScrollBar: t.showScrollBar,
|
|
356
363
|
style: t.styles?.horizontalScrollBar,
|
|
357
364
|
thumbStyle: t.styles?.horizontalScrollBarThumb
|
|
@@ -360,5 +367,5 @@ const Qe = /* @__PURE__ */ We({
|
|
|
360
367
|
}
|
|
361
368
|
});
|
|
362
369
|
export {
|
|
363
|
-
|
|
370
|
+
pe as default
|
|
364
371
|
};
|
|
@@ -120,9 +120,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
120
120
|
default: undefined;
|
|
121
121
|
};
|
|
122
122
|
}>> & Readonly<{}>, {
|
|
123
|
+
active: boolean;
|
|
123
124
|
style: CSSProperties;
|
|
124
125
|
horizontal: boolean;
|
|
125
|
-
active: boolean;
|
|
126
126
|
thumbStyle: CSSProperties;
|
|
127
127
|
showScrollBar: boolean | "optional" | "hover";
|
|
128
128
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CSSProperties, Ref, VNode } from 'vue';
|
|
2
2
|
import { Key } from '../interface';
|
|
3
|
-
export default function useChildren(list: Ref<any[]>, startIndex: Ref<number>, endIndex: Ref<number>, scrollWidth: Ref<number>, offsetX: Ref<number>, setNodeRef: (item: any, ele: HTMLElement | null) => void, renderFunc: (item: any, index: number, props: {
|
|
3
|
+
export default function useChildren(list: Ref<any[]>, startIndex: Ref<number>, endIndex: Ref<number>, scrollWidth: Ref<number>, offsetX: Ref<number>, setNodeRef: (item: any, ele: HTMLElement | null, index?: number) => void, renderFunc: (item: any, index: number, props: {
|
|
4
4
|
style: CSSProperties;
|
|
5
5
|
offsetX: number;
|
|
6
6
|
}) => VNode[] | undefined, { getKey }: {
|
|
7
|
-
getKey: (item: any) => Key;
|
|
7
|
+
getKey: (item: any, index?: number) => Key;
|
|
8
8
|
}): import('vue').ComputedRef<VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
10
|
}>[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useChildren.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useChildren.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AASvC,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,IAAI,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EAChB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,EACvB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EACrB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"useChildren.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useChildren.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AACpD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AASvC,MAAM,CAAC,OAAO,UAAU,WAAW,CACjC,IAAI,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EAChB,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,EACvB,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,EACrB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC,EAGpB,UAAU,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,WAAW,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,EACxE,UAAU,EAAE,CACV,IAAI,EAAE,GAAG,EACT,KAAK,EAAE,MAAM,EACb,KAAK,EAAE;IAAE,KAAK,EAAE,aAAa,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,KAC7C,KAAK,EAAE,GAAG,SAAS,EACxB,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,GAAG,CAAA;CAAE;;MAyB3D"}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { computed as
|
|
3
|
-
function
|
|
1
|
+
import v from "../Item.mjs";
|
|
2
|
+
import { computed as m, createVNode as b, isVNode as y } from "vue";
|
|
3
|
+
function j(e) {
|
|
4
4
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !y(e);
|
|
5
5
|
}
|
|
6
|
-
function N(e,
|
|
7
|
-
return
|
|
8
|
-
const o =
|
|
6
|
+
function N(e, n, r, l, c, a, f, { getKey: i }) {
|
|
7
|
+
return m(() => e.value.slice(n.value, r.value + 1).map((t, p) => {
|
|
8
|
+
const o = n.value + p, u = f(t, o, {
|
|
9
9
|
style: { width: `${l.value}px` },
|
|
10
|
-
offsetX:
|
|
11
|
-
}),
|
|
12
|
-
return
|
|
13
|
-
|
|
14
|
-
{ key:
|
|
10
|
+
offsetX: c.value
|
|
11
|
+
}), s = i(t, o);
|
|
12
|
+
return b(
|
|
13
|
+
v,
|
|
14
|
+
{ key: s, setRef: (d) => a(t, d, o) },
|
|
15
15
|
// `renderFunc` 返回的已经是 VNode[],这里**不能再包一层数组**。
|
|
16
16
|
// 包成 [[VNode]] 之后 Vue 的 normalizeSlotValue 会把内层数组转成 Fragment,
|
|
17
17
|
// Item 的 cloneVNode(child, { ref }) 于是把 ref 挂到 Fragment 上——
|
|
@@ -19,7 +19,7 @@ function N(e, u, r, l, n, c, a, { getKey: f }) {
|
|
|
19
19
|
// useHeights.getElement() 拿到 Text 就返回 null,行高**永远测不到**:
|
|
20
20
|
// heights.id 恒为 0,可视区计算一直走估算分支,scrollHeight 恒等于
|
|
21
21
|
// 行数 × itemHeight。行实际比估算高时,末尾几行落在可滚动范围之外。
|
|
22
|
-
|
|
22
|
+
j(u) ? u : { default: () => u ?? [] }
|
|
23
23
|
);
|
|
24
24
|
}));
|
|
25
25
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import { default as CacheMap } from '../utils/CacheMap';
|
|
3
3
|
import { GetSize, Key } from '../interface';
|
|
4
|
-
export declare function useGetSize(mergedData: Ref<any[]>, getKey: (item: any) => Key, heights: CacheMap, itemHeight: ComputedRef<number | undefined>): GetSize;
|
|
4
|
+
export declare function useGetSize(mergedData: Ref<any[]>, getKey: (item: any, index?: number) => Key, heights: CacheMap, itemHeight: ComputedRef<number | undefined>): GetSize;
|
|
5
5
|
//# sourceMappingURL=useGetSize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGetSize.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useGetSize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAEhD,wBAAgB,UAAU,CACxB,UAAU,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EACtB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"useGetSize.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useGetSize.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC3C,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAA;AAC7C,OAAO,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAEhD,wBAAgB,UAAU,CACxB,UAAU,EAAE,GAAG,CAAC,GAAG,EAAE,CAAC,EACtB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,GAAG,EAC1C,OAAO,EAAE,QAAQ,EACjB,UAAU,EAAE,WAAW,CAAC,MAAM,GAAG,SAAS,CAAC,GAC1C,OAAO,CAqCT"}
|
|
@@ -8,7 +8,7 @@ function k(c, a, v, d) {
|
|
|
8
8
|
if (n === void 0 || i === void 0) {
|
|
9
9
|
const r = c.value.length;
|
|
10
10
|
for (let e = t.length; e < r; e += 1) {
|
|
11
|
-
const s = c.value[e], l = a(s);
|
|
11
|
+
const s = c.value[e], l = a(s, e);
|
|
12
12
|
o.set(l, e);
|
|
13
13
|
const p = v.get(l) ?? d.value ?? 0;
|
|
14
14
|
if (t[e] = (t[e - 1] || 0) + p, l === u && (n = e), l === f && (i = e), n !== void 0 && i !== void 0) break;
|
|
@@ -7,8 +7,8 @@ import { ref } from 'vue';
|
|
|
7
7
|
* 于是 `heights.id` 恒为 0,VirtualList 的可视区计算永远走 O(1) 的估算分支,
|
|
8
8
|
* 不再每次滚动重建整表前缀和。代价是行高必须真的等于声明值(调用方负责校验)。
|
|
9
9
|
*/
|
|
10
|
-
export default function useHeights(getKey: (item: any) => Key, onItemAdd?: (item: any) => void, onItemRemove?: (item: any) => void, disabled?: () => boolean): [
|
|
11
|
-
setInstanceRef: (item: any, instance: HTMLElement | null) => void,
|
|
10
|
+
export default function useHeights(getKey: (item: any, index?: number) => Key, onItemAdd?: (item: any) => void, onItemRemove?: (item: any) => void, disabled?: () => boolean): [
|
|
11
|
+
setInstanceRef: (item: any, instance: HTMLElement | null, index?: number) => void,
|
|
12
12
|
collectHeight: (sync?: boolean) => void,
|
|
13
13
|
heights: CacheMap,
|
|
14
14
|
updatedMark: ReturnType<typeof ref<number>>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useHeights.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useHeights.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,mBAAmB,CAAA;AACxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAwB,GAAG,EAAE,MAAM,KAAK,CAAA;AA+B/C;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"useHeights.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/components/VirtualList/hooks/useHeights.ts"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,mBAAmB,CAAA;AACxC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAwB,GAAG,EAAE,MAAM,KAAK,CAAA;AA+B/C;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,GAAG,EAC1C,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,EAC/B,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,KAAK,IAAI,EAClC,QAAQ,CAAC,EAAE,MAAM,OAAO,GACvB;IACD,cAAc,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,WAAW,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI;IACjF,aAAa,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,IAAI;IACvC,OAAO,EAAE,QAAQ;IACjB,WAAW,EAAE,UAAU,CAAC,OAAO,GAAG,CAAC,MAAM,CAAC,CAAC;CAC5C,CAoGA"}
|