virtua 0.52.5 → 0.52.7

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/lib/vue/index.cjs CHANGED
@@ -11,11 +11,11 @@ var t, o = [], {min: r, max: n, abs: s, floor: l} = Math, i = (e, t, o) => r(o,
11
11
  return [ new Promise(t => {
12
12
  e = t;
13
13
  }), e ];
14
- }, p = e => e.ownerDocument, m = e => e.defaultView, g = () => (null == t && (t = /iP(hone|od|ad)/.test(navigator.userAgent) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 0),
15
- t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S: u, v: f, I: d}, p = 0) => {
16
- let m = !!d, _ = !!p, $ = 1, h = 0, S = 0, w = 0, y = 0, b = 0, z = 0, x = 0, v = 0, I = null, k = [ 0, _ ? n(p - 1, 0) : -1 ], O = 0, T = !1;
17
- const R = /* @__PURE__ */ new Set, A = () => w - S, M = () => A() + b + y, N = e => o(e) - b, C = e => {
18
- e && (g() && 0 !== x || I && 1 === v ? b += e : y += e);
14
+ }, p = e => e.ownerDocument, m = e => e.defaultView, _ = () => (null == t && (t = /iP(hone|od|ad)/.test(navigator.userAgent) || "MacIntel" === navigator.platform && navigator.maxTouchPoints > 0),
15
+ t), g = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S: u, v: f, I: d}, p = 0) => {
16
+ let m = !!d, g = !!p, $ = 1, h = 0, w = 0, S = 0, y = 0, b = 0, z = 0, x = 0, v = 0, I = null, k = [ 0, g ? n(p - 1, 0) : -1 ], O = 0, T = !1;
17
+ const R = /* @__PURE__ */ new Set, M = () => S - w, N = () => M() + b + y, A = e => o(e) - b, C = e => {
18
+ e && (_() && 0 !== x || I && 1 === v ? b += e : y += e);
19
19
  };
20
20
  return {
21
21
  k: () => {
@@ -23,24 +23,24 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
23
23
  },
24
24
  O: () => $,
25
25
  l: (t = 200) => {
26
- if (!T || _) return k;
26
+ if (!T || g) return k;
27
27
  let o, s;
28
28
  if (z) [o, s] = k; else {
29
- let l = n(0, M()), i = l + h;
29
+ let l = n(0, N()), i = l + h;
30
30
  m || (t = n(0, t), 1 !== x && (l -= t), 2 !== x && (i += t)), [o, s] = k = e(n(0, l), n(0, i)),
31
31
  I && (o = r(o, I[0]), s = n(s, I[1]));
32
32
  }
33
33
  return [ n(o, 0), r(s, u() - 1) ];
34
34
  },
35
- T: e => t(e - S),
35
+ T: e => t(e - w),
36
36
  R: c,
37
- u: N,
37
+ u: A,
38
38
  p: l,
39
- A: u,
40
- M: () => w,
41
- N: () => 0 !== x,
39
+ M: u,
40
+ N: () => S,
41
+ A: () => 0 !== x,
42
42
  o: () => h,
43
- C: () => S,
43
+ C: () => w,
44
44
  t: a,
45
45
  j: () => (z = y, y = 0, [ z, 2 === v ]),
46
46
  q: (e, t) => {
@@ -54,12 +54,12 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
54
54
  switch (o) {
55
55
  case 1:
56
56
  {
57
- if (r === w && 0 === v) break;
57
+ if (r === S && 0 === v) break;
58
58
  const e = z;
59
59
  z = 0;
60
- const t = r - w, o = s(t);
61
- e && o < s(e) + 1 || 0 !== v || (x = t < 0 ? 2 : 1), _ && (_ = !1), w = r, p = 4;
62
- const n = A();
60
+ const t = r - S, o = s(t);
61
+ e && o < s(e) + 1 || 0 !== v || (x = t < 0 ? 2 : 1), g && (g = !1), S = r, p = 4;
62
+ const n = M();
63
63
  n >= -h && n <= a() && (p += 1, u = o > h);
64
64
  break;
65
65
  }
@@ -75,7 +75,7 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
75
75
  C(e.reduce((e, [t, o]) => {
76
76
  let r;
77
77
  if (2 === v) r = !0; else if (I && 1 === v) r = t < I[0]; else {
78
- const e = A(), o = N(t), n = l(t);
78
+ const e = M(), o = A(t), n = l(t);
79
79
  r = 1 !== x && 0 === v ? o + n <= e : o < e && o + n < e + h;
80
80
  }
81
81
  return r && (e += o - l(t)), e;
@@ -84,7 +84,7 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
84
84
  const e = l(t), r = i(t, o);
85
85
  m && (O += r ? o : o - e);
86
86
  }
87
- m && h && O > h && (C(d(t(M()))), m = !1), p = 3, u = !0;
87
+ m && h && O > h && (C(d(t(N()))), m = !1), p = 3, u = !0;
88
88
  break;
89
89
  }
90
90
 
@@ -97,7 +97,7 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
97
97
  break;
98
98
 
99
99
  case 6:
100
- S = r;
100
+ w = r;
101
101
  break;
102
102
 
103
103
  case 7:
@@ -116,7 +116,11 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
116
116
  }));
117
117
  }
118
118
  };
119
- }, h = (e, t, o, r = 0, n = t - 1) => {
119
+ }, h = (e, t, o) => {
120
+ const r = o ? "unshift" : "push";
121
+ for (let o = 0; o < t; o++) e[r](-1);
122
+ return e;
123
+ }, w = (e, t, o, r = 0, n = t - 1) => {
120
124
  let s = r;
121
125
  for (;r <= n; ) {
122
126
  const t = l((r + n) / 2);
@@ -124,12 +128,8 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
124
128
  }
125
129
  return i(s, 0, t - 1);
126
130
  }, S = (e, t, o) => {
127
- const r = o ? "unshift" : "push";
128
- for (let o = 0; o < t; o++) e[r](-1);
129
- return e;
130
- }, w = (e, t, o) => {
131
131
  let s = o && o[1] || t || 40, l = -1, i = 0;
132
- const a = o && o[0], u = a ? S(a.slice(0, r(e, a.length)), n(0, e - a.length)) : S([], e), f = S([], e + 1), d = e => {
132
+ const a = o && o[0], u = a ? h(a.slice(0, r(e, a.length)), n(0, e - a.length)) : h([], e), f = h([], e + 1), d = e => {
133
133
  const t = u[e];
134
134
  return -1 === t ? s : t;
135
135
  }, p = t => {
@@ -143,10 +143,10 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
143
143
  return {
144
144
  l: (t, o) => {
145
145
  let n, s;
146
- return i = r(i, e - 1), p(i) <= t ? (s = h(p, e, o, i), n = h(p, e, t, i, s)) : (n = h(p, e, t, void 0, i),
147
- s = h(p, e, o, n)), i = n, [ n, s ];
146
+ return i = r(i, e - 1), p(i) <= t ? (s = w(p, e, o, i), n = w(p, e, t, i, s)) : (n = w(p, e, t, void 0, i),
147
+ s = w(p, e, o, n)), i = n, [ n, s ];
148
148
  },
149
- i: t => h(p, e, t),
149
+ i: t => w(p, e, t),
150
150
  u: p,
151
151
  p: d,
152
152
  m: (e, t) => {
@@ -158,7 +158,7 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
158
158
  S: () => e,
159
159
  v: (t, o) => {
160
160
  const n = t - e;
161
- return l = o ? -1 : r(t - 1, l), e = t, n > 0 ? (S(f, n), S(u, n, o), s * n) : (f.splice(n),
161
+ return l = o ? -1 : r(t - 1, l), e = t, n > 0 ? (h(f, n), h(u, n, o), s * n) : (f.splice(n),
162
162
  (o ? u.splice(0, -n) : u.splice(n)).reduce((e, t) => e - (-1 === t ? s : t), 0));
163
163
  },
164
164
  I: t ? void 0 : e => {
@@ -173,83 +173,95 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
173
173
  B: () => [ u.slice(), s ]
174
174
  };
175
175
  }, y = e => "number" == typeof e ? e : e.length, b = (e, t) => "number" == typeof e ? t : e[t], z = (e, t, o = 0) => {
176
- let s = 0, c = 0;
177
- const a = (e = 0, t = 0) => {
178
- s = e, c = t;
179
- }, u = e => r(s, e), f = e => n(e - c, u(e)), d = (e, t, r, s, l) => {
180
- const i = t(u(r)), c = t(r) - t(f(r)), a = s + (i ? i - o : 0);
181
- return e(a, n(a, l - (c ? c - o : 0)));
182
- };
183
- if ("number" == typeof t) {
184
- let r = y(e), n = t;
185
- const s = e => n + o ? i(l(e / (n + o)), 0, r - 1) : 0, c = e => e * (n + o), p = (e, t) => [ s(e), s(t) ];
186
- return {
187
- l: (e, t) => d(p, c, r, e, t),
188
- i: s,
189
- u: c,
190
- p: () => n,
191
- m: () => !1,
192
- h: () => !1,
193
- t: () => r ? r * (n + o) - o : 0,
194
- S: () => r,
195
- v: e => (r = e, 0),
196
- L: () => !1,
197
- H: a,
198
- W: () => u(r),
199
- V: () => f(r),
200
- D: (e, t, o) => {
201
- if ("number" != typeof t || t === n) return;
202
- const r = s(o) * (t - n);
203
- return n = t, r;
176
+ let s = y(e);
177
+ const a = "number" == typeof t, u = "auto" === t;
178
+ let f = (a ? t : 40) + o, d = -1, p = 0, m = 0, _ = null;
179
+ const g = [], $ = [], S = [], b = e => u || !!S[e], z = () => {
180
+ g.length || h(g, s);
181
+ }, x = e => {
182
+ const t = g[e];
183
+ return -1 === t ? f : t;
184
+ }, v = e => {
185
+ if (!s) return 0;
186
+ if (!g.length) return e * f;
187
+ if (d >= e) return $[e];
188
+ d < 0 && ($[0] = 0, d = 0);
189
+ let t = d, o = $[t];
190
+ for (;t < e; ) o += x(t), $[++t] = o;
191
+ return d = e, o;
192
+ }, I = (e, t) => {
193
+ g[e] = t, d = r(e, d);
194
+ }, k = e => g.length ? w(v, s, e) : f ? i(l(e / f), 0, s - 1) : 0, O = () => r(p, s), T = () => n(s - m, O());
195
+ return {
196
+ l: (e, t) => {
197
+ const r = v(O()), l = v(s) - v(T()), i = e + (r ? r - o : 0);
198
+ return [ k(i), k(n(i, t - (l ? l - o : 0))) ];
199
+ },
200
+ i: k,
201
+ u: v,
202
+ p: e => (g.length ? x(e) : f) - o,
203
+ m: (e, t) => {
204
+ if (!b(e)) return !1;
205
+ z();
206
+ const r = -1 === g[e];
207
+ return I(e, t + o), r;
208
+ },
209
+ h: (e, t) => (g.length ? g[e] : -1) === t + o,
210
+ t: () => s ? v(s) - o : 0,
211
+ S: () => s,
212
+ v: e => {
213
+ const t = e - s;
214
+ return d = r(e - 1, d), s = e, g.length && (t > 0 ? h(g, t) : g.splice(t)), 0;
215
+ },
216
+ I: u ? e => {
217
+ let t = 0;
218
+ const o = [];
219
+ g.forEach((r, n) => {
220
+ -1 !== r && (r && o.push(r), n < e && t++);
221
+ }), d = -1, c(o);
222
+ const r = o.length, s = r / 2 | 0, l = r % 2 == 0 ? (o[s - 1] + o[s]) / 2 : o[s], i = f;
223
+ return ((f = l) - i) * n(e - t, 0);
224
+ } : void 0,
225
+ H: b,
226
+ L: (e = 0, t = 0) => {
227
+ p = e, m = t;
228
+ },
229
+ W: O,
230
+ V: T,
231
+ D: (e, t) => "number" == typeof t ? a ? t : null : a || u || "auto" === t ? null : e.map(e => null != e ? e[t] : null),
232
+ F: (e, t) => {
233
+ if (null == e) return;
234
+ if ("number" == typeof e) {
235
+ const r = e + o;
236
+ if (r === f) return;
237
+ const n = k(t) * (r - f);
238
+ return f = r, n;
204
239
  }
205
- };
206
- }
207
- const p = "auto" === t;
208
- let m, g = t;
209
- const _ = y(e), $ = [], h = w(_, void 0, [ [], 40 + o ]), S = e => p || !!$[e], b = {
210
- l: (e, t) => d(h.l, h.u, h.S(), e, t),
211
- i: h.i,
212
- u: h.u,
213
- p: e => h.p(e) - o,
214
- m: (e, t) => S(e) && h.m(e, t + o),
215
- h: (e, t) => h.h(e, t + o),
216
- t: () => h.S() ? h.t() - o : 0,
217
- S: h.S,
218
- v: h.v,
219
- I: p ? h.I : void 0,
220
- L: S,
221
- H: a,
222
- W: () => u(h.S()),
223
- V: () => f(h.S()),
224
- D: (e, t, r, n) => {
225
- if (p) return;
226
- const s = "number" == typeof t || "auto" === t ? g : t, l = h.S();
227
- if (!n && e === m && s === g && l === $.length) return;
228
- m = e, g = s, $.length = l;
229
- const i = h.i(r), c = h.u(i);
230
- let a;
231
- for (let t = 0; t < l; t++) {
232
- const r = e[t], n = null !== r && "object" == typeof r ? r[s] : null, l = "number" != typeof n;
233
- if (!l || !$[t]) {
234
- $[t] = l;
235
- const e = l ? -1 : n + o;
236
- h.h(t, e) || (h.m(t, e), a = !0);
240
+ if (e === _ && s === S.length) return;
241
+ _ = e, S.length = s, z();
242
+ const r = k(t), n = v(r);
243
+ let l;
244
+ for (let t = 0; t < s; t++) {
245
+ const r = e[t], n = "number" != typeof r;
246
+ if (!n || !S[t]) {
247
+ S[t] = n;
248
+ const e = n ? -1 : r + o;
249
+ g[t] !== e && (I(t, e), l = !0);
237
250
  }
238
251
  }
239
- return a ? h.u(i) - c : void 0;
252
+ return l ? v(r) - n : void 0;
240
253
  }
241
254
  };
242
- return b.D(e, t, 0), b;
243
- }, x = (e, t, o, r, n, s, l) => {
244
- const i = y(o);
245
- t.H(n, s), i !== e.A() && e.P(5, [ i ]);
246
- const c = t.D(o, r, e.M() - e.u(0), l);
247
- null != c && e.P(9, c);
248
- }, v = /*#__PURE__*/ new WeakMap, I = (e, t, o, s, l, i) => e < o || n(e, s) < r(t, l + 1) || i < t, k = (e, t, o) => {
255
+ }, x = (e, t, o, r, n, s) => {
256
+ const l = y(o);
257
+ t.L(n, s), l !== e.M() && e.P(5, [ l ]);
258
+ const i = t.F(r, e.N() - e.u(0));
259
+ null != i && e.P(9, i);
260
+ }, v = /*#__PURE__*/ new WeakMap, I = (e, t, o) => {
249
261
  const r = [];
250
262
  for (const n of e) n >= t && n < o && r.push(n);
251
263
  return c(r);
252
- }, O = (e, t, o) => {
264
+ }, k = (e, t, o) => {
253
265
  if (t >= o) return -1;
254
266
  let r = 0, n = e.length;
255
267
  for (;r < n; ) {
@@ -257,37 +269,37 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
257
269
  e[o] <= t ? r = o + 1 : n = o;
258
270
  }
259
271
  return r - 1;
260
- }, T = (e, t, o, r, n) => {
272
+ }, O = (e, t, o, r, n) => {
261
273
  const s = t.length;
262
274
  for (;o < s && t[o] < r; o++) {
263
275
  const r = t[o];
264
276
  r > n && (e.push(r), n = r);
265
277
  }
266
278
  return o;
267
- }, R = (e, t, o, r, n, s) => {
279
+ }, T = (e, t, o, r, n, s) => {
268
280
  const l = [];
269
281
  for (let e = 0; e < o; e++) l.push(e);
270
- const i = T(l, e, 0, r, o - 1);
282
+ const i = O(l, e, 0, r, o - 1);
271
283
  for (let e = r; e <= n; e++) l.push(e);
272
- T(l, e, i, s, n);
284
+ O(l, e, i, s, n);
273
285
  for (let e = s; e < t; e++) l.push(e);
274
286
  return l;
275
- }, A = (e, t) => r(e.rowIndex + (e.rowSpan || 1), t), M = (e, t) => r(e.colIndex + (e.colSpan || 1), t), N = (e, t, o, n, s, l) => {
287
+ }, R = (e, t) => r(e.rowIndex + (e.rowSpan || 1), t), M = (e, t) => r(e.colIndex + (e.colSpan || 1), t), N = (e, t, o, n, s, l) => {
276
288
  const i = t.length, c = n.length;
277
289
  let a = "[l0]", u = 0, f = 0, d = 0;
278
290
  for (;u < l; ) {
279
291
  for (;d < c && n[d] <= u; ) d++;
280
292
  const p = f < i ? t[f] : l;
281
- let m, g;
293
+ let m, _;
282
294
  if (p === u) {
283
295
  m = u + 1;
284
296
  const t = o[f];
285
- g = null == t ? e.p(u) + "px" : t ? s : "minmax(" + e.p(u) + "px,auto)", f++;
286
- } else m = r(p, d < c ? n[d] : l), g = "minmax(" + (e.u(m - 1) + e.p(m - 1) - e.u(u)) + "px,auto)";
287
- a += " " + g + " [l" + m + "]", u = m;
297
+ _ = null == t ? e.p(u) + "px" : t ? s : "minmax(" + e.p(u) + "px,auto)", f++;
298
+ } else m = r(p, d < c ? n[d] : l), _ = "minmax(" + (e.u(m - 1) + e.p(m - 1) - e.u(u)) + "px,auto)";
299
+ a += " " + _ + " [l" + m + "]", u = m;
288
300
  }
289
301
  return a;
290
- }, C = (e, t, o, r, n) => {
302
+ }, A = (e, t, o, r, n) => {
291
303
  const s = {
292
304
  display: "grid",
293
305
  gridTemplateRows: "subgrid",
@@ -296,41 +308,41 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
296
308
  gridRow: "l" + e + "/l" + t
297
309
  };
298
310
  return null != o && (s.position = "sticky", s[r] = o + "px", s.zIndex = n), s;
299
- }, E = e => {
311
+ }, C = e => {
300
312
  let t;
301
313
  return {
302
- F(o) {
314
+ X(o) {
303
315
  (t || (t = new (m(p(o)).ResizeObserver)(e))).observe(o);
304
316
  },
305
- X(e) {
317
+ Y(e) {
306
318
  t.unobserve(e);
307
319
  },
308
- Y() {
320
+ J() {
309
321
  t && t.disconnect();
310
322
  }
311
323
  };
312
- }, j = (e, t, o, r, n, s, l) => {
313
- let i, c, d = 0, p = !1, m = !1, _ = !1, $ = !1;
314
- const h = Date.now, S = r ? "scrollLeft" : "scrollTop", w = r ? "left" : "top", y = e => n ? -e : e, b = () => y(o[S]), z = (e, t) => {
324
+ }, E = (e, t, o, r, n, s, l) => {
325
+ let i, c, d = 0, p = !1, m = !1, g = !1, $ = !1;
326
+ const h = Date.now, w = r ? "scrollLeft" : "scrollTop", S = r ? "left" : "top", y = e => n ? -e : e, b = () => y(o[w]), z = (e, t) => {
315
327
  o.scrollTo({
316
- [w]: y(e),
328
+ [S]: y(e),
317
329
  behavior: t ? "smooth" : "instant"
318
330
  });
319
331
  }, x = () => {
320
332
  if (p || m) return p = !1, void v();
321
- _ = !1, e.P(2);
333
+ g = !1, e.P(2);
322
334
  }, v = () => {
323
335
  u(c), c = a(x, 150);
324
336
  }, I = () => {
325
- d = h(), _ && ($ = !0), l && e.P(6, l()), e.P(1, b()), v();
337
+ d = h(), g && ($ = !0), l && e.P(6, l()), e.P(1, b()), v();
326
338
  }, k = t => {
327
- if (p || !e.N() || t.ctrlKey) return;
339
+ if (p || !e.A() || t.ctrlKey) return;
328
340
  const o = h() - d;
329
341
  150 > o && 50 < o && (r ? t.deltaX : t.deltaY) && (p = !0);
330
342
  }, O = () => {
331
- m = !0, _ = $ = !1;
343
+ m = !0, g = $ = !1;
332
344
  }, T = () => {
333
- m = !1, g() && (_ = !0);
345
+ m = !1, _() && (g = !0);
334
346
  };
335
347
  return t.addEventListener("scroll", I), t.addEventListener("wheel", k, {
336
348
  passive: !0
@@ -339,21 +351,21 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
339
351
  }), t.addEventListener("touchend", T, {
340
352
  passive: !0
341
353
  }), {
342
- Y: () => {
354
+ J: () => {
343
355
  t.removeEventListener("scroll", I), t.removeEventListener("wheel", k), t.removeEventListener("touchstart", O),
344
356
  t.removeEventListener("touchend", T), u(c);
345
357
  },
346
- J: () => {
358
+ U: () => {
347
359
  const [t, r] = e.j();
348
360
  if (!t) return;
349
361
  $ && s && s(), $ = !1;
350
- const n = e.M() + t;
362
+ const n = e.N() + t;
351
363
  n <= 0 || n >= e.C() + e.t() - e.o() ? z(n) : o.scrollBy({
352
- [w]: y(t),
364
+ [S]: y(t),
353
365
  behavior: "instant"
354
366
  }), r && (i && i(), e.o() > e.t() && e.P(1, b()));
355
367
  },
356
- U: (t, o) => {
368
+ G: (t, o) => {
357
369
  let r, n, s;
358
370
  i && i();
359
371
  const l = i = () => {
@@ -378,26 +390,26 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
378
390
  o ? (e.P(8, t()), f(d)) : d();
379
391
  }
380
392
  };
381
- }, q = (e, t) => {
382
- e.G(() => t);
383
- }, P = (e, t, o, {align: r, smooth: n, offset: s = 0} = {}) => {
384
- if (o = i(o, 0, t.A() - 1), "nearest" === r) {
385
- const e = t.u(o), n = t.M();
393
+ }, j = (e, t) => {
394
+ e.K(() => t);
395
+ }, q = (e, t, o, {align: r, smooth: n, offset: s = 0} = {}) => {
396
+ if (o = i(o, 0, t.M() - 1), "nearest" === r) {
397
+ const e = t.u(o), n = t.N();
386
398
  if (e < n) r = "start"; else {
387
399
  if (!(e + t.p(o) > n + t.o())) return;
388
400
  r = "end";
389
401
  }
390
402
  }
391
- e.G(() => s + e.K() + t.u(o) + ("end" === r ? t.p(o) - t.o() : "center" === r ? (t.p(o) - t.o()) / 2 : 0), n);
392
- }, B = (e, t, o, s, l, c, a) => {
393
- const u = t.A(), f = o.W(), d = o.V();
403
+ e.K(() => s + e.Z() + t.u(o) + ("end" === r ? t.p(o) - t.o() : "center" === r ? (t.p(o) - t.o()) / 2 : 0), n);
404
+ }, P = (e, t, o, s, l, c, a) => {
405
+ const u = t.M(), f = o.W(), d = o.V();
394
406
  l = i(l, 0, u - 1);
395
- const p = k(s, f, d), m = O(p, l, d), g = m < 0 ? -1 : p[m], _ = () => o.u(f) + (g < 0 || g === l ? 0 : o.u(g + 1) - o.u(g)), $ = () => o.u(u) - o.u(d);
407
+ const p = I(s, f, d), m = k(p, l, d), _ = m < 0 ? -1 : p[m], g = () => o.u(f) + (_ < 0 || _ === l ? 0 : o.u(_ + 1) - o.u(_)), $ = () => o.u(u) - o.u(d);
396
408
  if ("nearest" === c) {
397
409
  if (l < f || l >= d) return;
398
- const e = _(), o = t.M() + e, s = t.o() - e - $(), i = t.p(l);
410
+ const e = g(), o = t.N() + e, s = t.o() - e - $(), i = t.p(l);
399
411
  let a = t.u(l);
400
- if (g === l) {
412
+ if (_ === l) {
401
413
  const e = (m + 1 < p.length ? p[m + 1] : d) - 1;
402
414
  a = n(a, r(o, t.u(e) + t.p(e) - i));
403
415
  }
@@ -406,22 +418,22 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
406
418
  c = "end";
407
419
  }
408
420
  }
409
- e.G(a, () => {
410
- const e = _(), o = t.p(l) - (t.o() - e - $());
421
+ e.K(a, () => {
422
+ const e = g(), o = t.p(l) - (t.o() - e - $());
411
423
  return t.u(l) - e + ("end" === c ? o : "center" === c ? o / 2 : 0);
412
424
  });
413
- }, L = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
414
- const o = (0, e.ref)(), r = (0, e.computed)(() => t.Z.value && t.ee.u(t.te)), n = (0,
415
- e.computed)(() => t.Z.value && t.ee.R(t.te)), s = (0, e.computed)(() => t.oe({
416
- item: t.re,
417
- index: t.te
425
+ }, B = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
426
+ const o = (0, e.ref)(), r = (0, e.computed)(() => t.ee.value && t.te.u(t.oe)), n = (0,
427
+ e.computed)(() => t.ee.value && t.te.R(t.oe)), s = (0, e.computed)(() => t.re({
428
+ item: t.ne,
429
+ index: t.oe
418
430
  }));
419
- return (0, e.watch)(() => o.value && t.te, (e, r, n) => {
420
- n(t.ne(o.value, t.te));
431
+ return (0, e.watch)(() => o.value && t.oe, (e, r, n) => {
432
+ n(t.se(o.value, t.oe));
421
433
  }, {
422
434
  flush: "post"
423
435
  }), () => {
424
- const {se: l, le: i, ie: c, te: a, re: u} = t, f = n.value, {style: d, ...p} = t.ce?.({
436
+ const {le: l, ie: i, ce: c, oe: a, ne: u} = t, f = n.value, {style: d, ...p} = t.ae?.({
425
437
  item: u,
426
438
  index: a
427
439
  }) || {}, m = {
@@ -442,16 +454,16 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
442
454
  };
443
455
  }, {
444
456
  props: {
445
- Z: null,
446
457
  ee: null,
447
- oe: null,
458
+ te: null,
448
459
  re: null,
449
460
  ne: null,
450
- te: null,
451
461
  se: null,
462
+ oe: null,
452
463
  le: null,
453
464
  ie: null,
454
- ce: null
465
+ ce: null,
466
+ ae: null
455
467
  }
456
468
  }), H = (e, t) => {
457
469
  if (1 === e.length) {
@@ -459,7 +471,7 @@ t), _ = e => n(e.t(), e.o()), $ = ({l: e, i: t, u: o, p: l, m: i, h: c, t: a, S:
459
471
  if (null != t) return t;
460
472
  }
461
473
  return "_" + t;
462
- }, W = (e, t) => e[0] === t[0] && e[1] === t[1], V = /* @__PURE__ */ /* @__PURE__ */ (0,
474
+ }, L = (e, t) => e[0] === t[0] && e[1] === t[1], W = /* @__PURE__ */ /* @__PURE__ */ (0,
463
475
  e.defineComponent)({
464
476
  props: {
465
477
  data: {
@@ -491,9 +503,9 @@ e.defineComponent)({
491
503
  emits: [ "scroll", "scrollEnd" ],
492
504
  setup(t, {emit: o, expose: r, slots: n}) {
493
505
  let s = !!t.ssrCount;
494
- const l = t.horizontal, i = (0, e.ref)(), u = w(t.data.length, t.itemSize, t.cache), f = $(u, t.ssrCount), p = ((e, t) => {
506
+ const l = t.horizontal, i = (0, e.ref)(), u = S(t.data.length, t.itemSize, t.cache), f = $(u, t.ssrCount), p = ((e, t) => {
495
507
  let o, r, n = d();
496
- const s = /* @__PURE__ */ new WeakMap, l = E(r => {
508
+ const s = /* @__PURE__ */ new WeakMap, l = C(r => {
497
509
  const n = [];
498
510
  for (const {target: l, contentRect: {width: i, height: c}} of r) if (l === o) (i || c) && e.P(4, t ? i : c); else if (l.offsetParent) {
499
511
  const e = s.get(l);
@@ -502,8 +514,8 @@ e.defineComponent)({
502
514
  n.length && e.P(3, n);
503
515
  });
504
516
  return {
505
- ae(s, i = s.parentElement) {
506
- l.F(o = i), r = j(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
517
+ ue(s, i = s.parentElement) {
518
+ l.X(o = i), r = E(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
507
519
  const e = t ? "overflowX" : "overflowY", o = i.style, r = o[e];
508
520
  o[e] = "hidden", a(() => {
509
521
  o[e] = r;
@@ -511,36 +523,36 @@ e.defineComponent)({
511
523
  }), n[1](!0);
512
524
  },
513
525
  k() {
514
- l.Y(), r && r.Y(), n[1](!1), n = d();
526
+ l.J(), r && r.J(), n[1](!1), n = d();
515
527
  },
516
- ue: (e, t) => (s.set(e, t), l.F(e), () => {
517
- s.delete(e), l.X(e);
528
+ fe: (e, t) => (s.set(e, t), l.X(e), () => {
529
+ s.delete(e), l.Y(e);
518
530
  }),
519
- async G(e, t) {
520
- await n[0] && r.U(e, t);
531
+ async K(e, t) {
532
+ await n[0] && r.G(e, t);
521
533
  },
522
- fe() {
523
- r && r.J();
534
+ de() {
535
+ r && r.U();
524
536
  },
525
- K: e.C
537
+ Z: e.C
526
538
  };
527
539
  })(f, l), m = (0, e.ref)(f.O());
528
540
  f.q(1, () => {
529
541
  m.value = f.O();
530
542
  }), f.q(4, () => {
531
- o("scroll", f.M());
543
+ o("scroll", f.N());
532
544
  }), f.q(8, () => {
533
545
  o("scrollEnd");
534
546
  });
535
- const g = (0, e.computed)(e => {
547
+ const _ = (0, e.computed)(e => {
536
548
  m.value;
537
549
  const o = f.l(t.bufferSize);
538
- return e && W(e, o) ? e : o;
539
- }), h = (0, e.computed)(() => m.value && f.N()), S = (0, e.computed)(() => m.value && f.t());
550
+ return e && L(e, o) ? e : o;
551
+ }), h = (0, e.computed)(() => m.value && f.A()), w = (0, e.computed)(() => m.value && f.t());
540
552
  return (0, e.onMounted)(() => {
541
553
  s = !1;
542
554
  const o = i.value, r = requestAnimationFrame(() => {
543
- p.ae(o, t.scrollRef);
555
+ p.ue(o, t.scrollRef);
544
556
  });
545
557
  (0, e.onUnmounted)(() => {
546
558
  cancelAnimationFrame(r);
@@ -554,7 +566,7 @@ e.defineComponent)({
554
566
  }, {
555
567
  immediate: !0
556
568
  }), (0, e.watch)([ m ], () => {
557
- p.fe();
569
+ p.de();
558
570
  }, {
559
571
  flush: "post"
560
572
  }), r({
@@ -562,10 +574,10 @@ e.defineComponent)({
562
574
  return u.B();
563
575
  },
564
576
  get scrollOffset() {
565
- return f.M();
577
+ return f.N();
566
578
  },
567
579
  get scrollSize() {
568
- return _(f);
580
+ return g(f);
569
581
  },
570
582
  get viewportSize() {
571
583
  return f.o();
@@ -573,38 +585,38 @@ e.defineComponent)({
573
585
  findItemIndex: f.T,
574
586
  getItemOffset: f.u,
575
587
  getItemSize: f.p,
576
- scrollToIndex: (e, t) => P(p, f, e, t),
577
- scrollTo: e => q(p, e),
588
+ scrollToIndex: (e, t) => q(p, f, e, t),
589
+ scrollTo: e => j(p, e),
578
590
  scrollBy: e => ((e, t, o) => {
579
- q(e, o + t.M());
591
+ j(e, o + t.N());
580
592
  })(p, f, e)
581
593
  }), () => {
582
- const o = t.as, r = t.item, a = S.value, u = [], d = o => {
594
+ const o = t.as, r = t.item, a = w.value, u = [], d = o => {
583
595
  const i = n.default({
584
596
  item: t.data[o],
585
597
  index: o
586
598
  });
587
- return (0, e.createVNode)(L, {
599
+ return (0, e.createVNode)(B, {
588
600
  key: H(i, o),
589
- Z: m,
590
- ee: f,
591
- ne: p.ue,
592
- te: o,
593
- oe: n.default,
594
- re: t.data[o],
595
- se: l,
596
- le: s,
597
- ie: r,
598
- ce: t.itemProps
599
- }, null, 8, [ "Z", "ee", "ne", "te", "oe", "re", "se", "le", "ie", "ce" ]);
601
+ ee: m,
602
+ te: f,
603
+ se: p.fe,
604
+ oe: o,
605
+ re: n.default,
606
+ ne: t.data[o],
607
+ le: l,
608
+ ie: s,
609
+ ce: r,
610
+ ae: t.itemProps
611
+ }, null, 8, [ "ee", "te", "se", "oe", "re", "ne", "le", "ie", "ce", "ae" ]);
600
612
  };
601
613
  if (t.keepMounted) {
602
614
  const e = t.data.length, o = new Set(t.keepMounted);
603
- for (let [e, t] = g.value; e <= t; e++) o.add(e);
615
+ for (let [e, t] = _.value; e <= t; e++) o.add(e);
604
616
  c([ ...o ]).forEach(t => {
605
617
  t < e && u.push(d(t));
606
618
  });
607
- } else for (let [e, t] = g.value; e <= t; e++) u.push(d(e));
619
+ } else for (let [e, t] = _.value; e <= t; e++) u.push(d(e));
608
620
  return (0, e.createVNode)(o, {
609
621
  ref: i,
610
622
  style: {
@@ -616,15 +628,15 @@ e.defineComponent)({
616
628
  height: l ? "100%" : a + "px",
617
629
  pointerEvents: h.value ? "none" : void 0
618
630
  }
619
- }, "function" == typeof (_ = u) || "[object Object]" === Object.prototype.toString.call(_) && !(0,
620
- e.isVNode)(_) ? u : {
631
+ }, "function" == typeof (g = u) || "[object Object]" === Object.prototype.toString.call(g) && !(0,
632
+ e.isVNode)(g) ? u : {
621
633
  default: () => [ u ],
622
634
  _: 2
623
635
  }, 8, [ "style" ]);
624
- var _;
636
+ var g;
625
637
  };
626
638
  }
627
- }), D = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
639
+ }), V = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
628
640
  props: {
629
641
  data: {
630
642
  type: Array,
@@ -674,7 +686,7 @@ e.defineComponent)({
674
686
  width: "100%",
675
687
  height: "100%"
676
688
  }
677
- }, [ (0, e.createVNode)(V, {
689
+ }, [ (0, e.createVNode)(W, {
678
690
  ref: c,
679
691
  data: t.data,
680
692
  bufferSize: t.bufferSize,
@@ -695,7 +707,7 @@ e.defineComponent)({
695
707
  var o;
696
708
  };
697
709
  }
698
- }), F = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
710
+ }), D = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
699
711
  props: {
700
712
  data: {
701
713
  type: Array,
@@ -719,9 +731,9 @@ e.defineComponent)({
719
731
  emits: [ "scroll", "scrollEnd" ],
720
732
  setup(t, {emit: o, slots: r, expose: n}) {
721
733
  let s = !!t.ssrCount;
722
- const l = t.horizontal, i = (0, e.ref)(), c = w(t.data.length, t.itemSize, t.cache), a = $(c, t.ssrCount), u = ((e, t) => {
734
+ const l = t.horizontal, i = (0, e.ref)(), c = S(t.data.length, t.itemSize, t.cache), a = $(c, t.ssrCount), u = ((e, t) => {
723
735
  let o, r, n, s, l, i = d();
724
- const c = /* @__PURE__ */ new WeakMap, a = E(r => {
736
+ const c = /* @__PURE__ */ new WeakMap, a = C(r => {
725
737
  const n = [];
726
738
  for (const {target: e, contentRect: {width: s, height: i}} of r) if (e === o) l && l(); else if (e.offsetParent) {
727
739
  const o = c.get(e);
@@ -730,30 +742,30 @@ e.defineComponent)({
730
742
  n.length && e.P(3, n);
731
743
  });
732
744
  return {
733
- ae(c) {
734
- const u = p(c), f = m(u), d = o = u.scrollingElement, g = t && "rtl" === getComputedStyle(d).direction, _ = (e, t, o, r, n = 0) => {
735
- const s = r ? "offsetLeft" : "offsetTop", l = n + (g ? t.clientWidth - e[s] - e.offsetWidth : e[s]), i = e.offsetParent;
736
- return e !== o && i ? _(i, t, o, r, l) : l;
737
- }, $ = s = () => _(c, d, u.body, t), h = l = () => {
745
+ ue(c) {
746
+ const u = p(c), f = m(u), d = o = u.scrollingElement, _ = t && "rtl" === getComputedStyle(d).direction, g = (e, t, o, r, n = 0) => {
747
+ const s = r ? "offsetLeft" : "offsetTop", l = n + (_ ? t.clientWidth - e[s] - e.offsetWidth : e[s]), i = e.offsetParent;
748
+ return e !== o && i ? g(i, t, o, r, l) : l;
749
+ }, $ = s = () => g(c, d, u.body, t), h = l = () => {
738
750
  e.P(4, d[t ? "clientWidth" : "clientHeight"]);
739
751
  };
740
- f.addEventListener("resize", h), a.F(d), n = () => {
752
+ f.addEventListener("resize", h), a.X(d), n = () => {
741
753
  f.removeEventListener("resize", h);
742
- }, r = j(e, f, d, t, g, null, $), i[1](!0);
754
+ }, r = E(e, f, d, t, _, null, $), i[1](!0);
743
755
  },
744
756
  k() {
745
- n && n(), a.Y(), r && r.Y(), i[1](!1), i = d();
757
+ n && n(), a.J(), r && r.J(), i[1](!1), i = d();
746
758
  },
747
- ue: (e, t) => (c.set(e, t), a.F(e), () => {
748
- c.delete(e), a.X(e);
759
+ fe: (e, t) => (c.set(e, t), a.X(e), () => {
760
+ c.delete(e), a.Y(e);
749
761
  }),
750
- async G(e, t) {
751
- await i[0] && r.U(e, t);
762
+ async K(e, t) {
763
+ await i[0] && r.G(e, t);
752
764
  },
753
- fe() {
754
- r && r.J();
765
+ de() {
766
+ r && r.U();
755
767
  },
756
- K: () => s()
768
+ Z: () => s()
757
769
  };
758
770
  })(a, l), f = (0, e.ref)(a.O());
759
771
  a.q(1, () => {
@@ -763,21 +775,21 @@ e.defineComponent)({
763
775
  }), a.q(8, () => {
764
776
  o("scrollEnd");
765
777
  });
766
- const g = (0, e.computed)(e => {
778
+ const _ = (0, e.computed)(e => {
767
779
  f.value;
768
780
  const o = a.l(t.bufferSize);
769
- return e && W(e, o) ? e : o;
770
- }), _ = (0, e.computed)(() => f.value && a.N()), h = (0, e.computed)(() => f.value && a.t());
781
+ return e && L(e, o) ? e : o;
782
+ }), g = (0, e.computed)(() => f.value && a.A()), h = (0, e.computed)(() => f.value && a.t());
771
783
  return (0, e.onMounted)(() => {
772
784
  s = !1;
773
785
  const e = i.value;
774
- e && u.ae(e);
786
+ e && u.ue(e);
775
787
  }), (0, e.onUnmounted)(() => {
776
788
  a.k(), u.k();
777
789
  }), (0, e.watch)(() => t.data.length, e => {
778
790
  a.P(5, [ e, t.shift ]);
779
791
  }), (0, e.watch)([ f ], () => {
780
- u.fe();
792
+ u.de();
781
793
  }, {
782
794
  flush: "post"
783
795
  }), n({
@@ -785,7 +797,7 @@ e.defineComponent)({
785
797
  return c.B();
786
798
  },
787
799
  get scrollOffset() {
788
- return a.M();
800
+ return a.N();
789
801
  },
790
802
  get viewportSize() {
791
803
  return a.o();
@@ -793,26 +805,26 @@ e.defineComponent)({
793
805
  findItemIndex: a.T,
794
806
  getItemOffset: a.u,
795
807
  getItemSize: a.p,
796
- scrollToIndex: (e, t) => P(u, a, e, t)
808
+ scrollToIndex: (e, t) => q(u, a, e, t)
797
809
  }), () => {
798
810
  const o = t.as, n = t.item, c = h.value, d = [];
799
- for (let [o, i] = g.value; o <= i; o++) {
811
+ for (let [o, i] = _.value; o <= i; o++) {
800
812
  const i = r.default({
801
813
  item: t.data[o],
802
814
  index: o
803
815
  });
804
- d.push((0, e.createVNode)(L, {
816
+ d.push((0, e.createVNode)(B, {
805
817
  key: H(i, o),
806
- Z: f,
807
- ee: a,
808
- ne: u.ue,
809
- te: o,
810
- oe: r.default,
811
- re: t.data[o],
812
- se: l,
813
- le: s,
814
- ie: n
815
- }, null, 8, [ "Z", "ee", "ne", "te", "oe", "re", "se", "le", "ie" ]));
818
+ ee: f,
819
+ te: a,
820
+ se: u.fe,
821
+ oe: o,
822
+ re: r.default,
823
+ ne: t.data[o],
824
+ le: l,
825
+ ie: s,
826
+ ce: n
827
+ }, null, 8, [ "ee", "te", "se", "oe", "re", "ne", "le", "ie", "ce" ]));
816
828
  }
817
829
  return (0, e.createVNode)(o, {
818
830
  ref: i,
@@ -823,7 +835,7 @@ e.defineComponent)({
823
835
  position: "relative",
824
836
  width: l ? c + "px" : "100%",
825
837
  height: l ? "100%" : c + "px",
826
- pointerEvents: _.value ? "none" : void 0
838
+ pointerEvents: g.value ? "none" : void 0
827
839
  }
828
840
  }, "function" == typeof (p = d) || "[object Object]" === Object.prototype.toString.call(p) && !(0,
829
841
  e.isVNode)(p) ? d : {
@@ -833,14 +845,14 @@ e.defineComponent)({
833
845
  var p;
834
846
  };
835
847
  }
836
- }), X = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
848
+ }), F = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => {
837
849
  const o = (0, e.ref)();
838
- return (0, e.watch)([ o, () => t.pe.de, () => t.pe.me ], ([e, o, r], n, s) => {
839
- !e || null == o && null == r || s(t.ne(e, o, r));
850
+ return (0, e.watch)([ o, () => t.me.pe, () => t.me._e ], ([e, o, r], n, s) => {
851
+ !e || null == o && null == r || s(t.se(e, o, r));
840
852
  }, {
841
853
  flush: "post"
842
854
  }), () => {
843
- const {ge: r, _e: n, $e: s, he: l, Se: i, we: c} = t.pe;
855
+ const {ge: r, $e: n, he: s, we: l, Se: i, ye: c} = t.me;
844
856
  return (0, e.createVNode)("div", {
845
857
  ref: o,
846
858
  role: l,
@@ -849,69 +861,69 @@ e.defineComponent)({
849
861
  "aria-colspan": s,
850
862
  "aria-sort": i,
851
863
  style: c
852
- }, [ t.oe({
853
- row: t.ye,
854
- col: t.be,
864
+ }, [ t.re({
865
+ row: t.be,
866
+ col: t.ze,
855
867
  cell: {
856
- rowIndex: t.ze,
868
+ rowIndex: t.xe,
857
869
  colIndex: r
858
870
  }
859
871
  }) ], 12, [ "role", "aria-colindex", "aria-rowspan", "aria-colspan", "aria-sort" ]);
860
872
  };
861
873
  }, {
862
874
  props: {
863
- pe: null,
864
- oe: null,
865
- ye: null,
875
+ me: null,
876
+ re: null,
866
877
  be: null,
867
878
  ze: null,
868
- ne: null
879
+ xe: null,
880
+ se: null
869
881
  }
870
- }), Y = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
871
- const {xe: o, ve: r, we: n} = t.pe;
882
+ }), X = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
883
+ const {ve: o, Ie: r, ye: n} = t.me;
872
884
  return (0, e.createVNode)("div", {
873
885
  role: "row",
874
886
  "aria-rowindex": o + 1,
875
887
  style: n
876
- }, [ r.map(r => (0, e.createVNode)(X, {
888
+ }, [ r.map(r => (0, e.createVNode)(F, {
877
889
  key: r.ge,
878
- pe: r,
879
- oe: t.oe,
880
- ye: t.ye,
881
- be: b(t.Ie, r.ge),
882
- ze: o,
883
- ne: t.ne
884
- }, null, 8, [ "pe", "oe", "ye", "be", "ze", "ne" ])) ], 12, [ "aria-rowindex" ]);
890
+ me: r,
891
+ re: t.re,
892
+ be: t.be,
893
+ ze: b(t.ke, r.ge),
894
+ xe: o,
895
+ se: t.se
896
+ }, null, 8, [ "me", "re", "be", "ze", "xe", "se" ])) ], 12, [ "aria-rowindex" ]);
885
897
  }, {
886
898
  props: {
887
- pe: null,
888
- oe: null,
889
- ye: null,
890
- Ie: null,
891
- ne: null
899
+ me: null,
900
+ re: null,
901
+ be: null,
902
+ ke: null,
903
+ se: null
892
904
  }
893
- }), J = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
894
- const {ke: o, we: r} = t.pe;
905
+ }), Y = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)(t => () => {
906
+ const {Oe: o, ye: r} = t.me;
895
907
  return (0, e.createVNode)("div", {
896
908
  role: "rowgroup",
897
909
  style: r
898
- }, [ o.map(o => (0, e.createVNode)(Y, {
899
- key: o.xe,
900
- pe: o,
901
- oe: t.oe,
902
- ye: b(t.Oe, o.xe),
903
- Ie: t.Ie,
904
- ne: t.ne
905
- }, null, 8, [ "pe", "oe", "ye", "Ie", "ne" ])) ], 4);
910
+ }, [ o.map(o => (0, e.createVNode)(X, {
911
+ key: o.ve,
912
+ me: o,
913
+ re: t.re,
914
+ be: b(t.Te, o.ve),
915
+ ke: t.ke,
916
+ se: t.se
917
+ }, null, 8, [ "me", "re", "be", "ke", "se" ])) ], 4);
906
918
  }, {
907
919
  props: {
908
- pe: null,
909
- oe: null,
910
- Oe: null,
911
- Ie: null,
912
- ne: null
920
+ me: null,
921
+ re: null,
922
+ Te: null,
923
+ ke: null,
924
+ se: null
913
925
  }
914
- }), U = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
926
+ }), J = /* @__PURE__ */ /* @__PURE__ */ (0, e.defineComponent)({
915
927
  props: {
916
928
  rows: {
917
929
  type: [ Number, Array ],
@@ -945,9 +957,21 @@ e.defineComponent)({
945
957
  },
946
958
  emits: [ "verticalScroll", "horizontalScroll", "scrollEnd" ],
947
959
  setup(t, {emit: s, expose: l, slots: u}) {
948
- const f = (0, e.ref)(), p = z(t.rows, t.rowHeight, t.gap), m = z(t.cols, t.colWidth, t.gap), g = $(p), h = $(m), S = ((e, t) => {
960
+ const f = (0, e.ref)(), p = z(t.rows, t.rowHeight, t.gap), m = z(t.cols, t.colWidth, t.gap), _ = (0,
961
+ e.computed)(() => p.D(t.rows, t.rowHeight)), h = (0, e.computed)(() => m.D(t.cols, t.colWidth)), w = (0,
962
+ e.computed)(() => ((e = o) => {
963
+ const t = /* @__PURE__ */ new Map;
964
+ for (const o of e) {
965
+ const e = o.rowIndex + (o.rowSpan || 1);
966
+ for (let r = o.rowIndex; r < e; r++) {
967
+ const e = t.get(r);
968
+ e ? e.push(o) : t.set(r, [ o ]);
969
+ }
970
+ }
971
+ return t;
972
+ })(t.spans)), S = $(p), y = $(m), O = ((e, t) => {
949
973
  let o, r, n, s = d();
950
- const l = /* @__PURE__ */ new WeakMap, i = /* @__PURE__ */ new WeakMap, c = E(r => {
974
+ const l = /* @__PURE__ */ new WeakMap, i = /* @__PURE__ */ new WeakMap, c = C(r => {
951
975
  const n = [], s = [];
952
976
  for (const {target: c, contentRect: {width: a, height: u}} of r) if (c === o) (a || u) && (e.P(4, u),
953
977
  t.P(4, a)); else if (c.offsetParent) {
@@ -957,13 +981,13 @@ e.defineComponent)({
957
981
  n.length && e.P(3, n), s.length && t.P(3, s);
958
982
  });
959
983
  return {
960
- async G(e, t) {
961
- await s[0] && (e ? n : r).U(t);
984
+ async K(e, t) {
985
+ await s[0] && (e ? n : r).G(t);
962
986
  },
963
- ae(l) {
987
+ ue(l) {
964
988
  const i = o = l.parentElement;
965
- c.F(i);
966
- const u = (e, t) => j(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
989
+ c.X(i);
990
+ const u = (e, t) => E(e, i, i, t, t && "rtl" === getComputedStyle(i).direction, () => {
967
991
  const e = t ? "overflowX" : "overflowY", o = i.style, r = o[e];
968
992
  o[e] = "hidden", a(() => {
969
993
  o[e] = r;
@@ -972,193 +996,196 @@ e.defineComponent)({
972
996
  r = u(e, !1), n = u(t, !0), s[1](!0);
973
997
  },
974
998
  k() {
975
- c.Y(), r && r.Y(), n && n.Y(), s[1](!1), s = d();
999
+ c.J(), r && r.J(), n && n.J(), s[1](!1), s = d();
976
1000
  },
977
- ue: (e, t, o) => (null != t && l.set(e, t), null != o && i.set(e, o), c.F(e), () => {
978
- l.delete(e), i.delete(e), c.X(e);
1001
+ fe: (e, t, o) => (null != t && l.set(e, t), null != o && i.set(e, o), c.X(e), () => {
1002
+ l.delete(e), i.delete(e), c.Y(e);
979
1003
  }),
980
- fe() {
981
- r && r.J(), n && n.J();
1004
+ de() {
1005
+ r && r.U(), n && n.U();
982
1006
  }
983
1007
  };
984
- })(g, h), w = (0, e.ref)(g.O() + h.O()), y = () => {
985
- w.value = g.O() + h.O();
1008
+ })(S, y), j = (0, e.ref)(S.O() + y.O()), q = () => {
1009
+ j.value = S.O() + y.O();
986
1010
  };
987
- g.q(1, y), h.q(1, y);
988
- let T = !1;
989
- g.q(4, () => {
990
- T = !0, s("verticalScroll", g.M());
991
- }), h.q(4, () => {
992
- T = !0, s("horizontalScroll", h.M());
1011
+ S.q(1, q), y.q(1, q);
1012
+ let B = !1;
1013
+ S.q(4, () => {
1014
+ B = !0, s("verticalScroll", S.N());
1015
+ }), y.q(4, () => {
1016
+ B = !0, s("horizontalScroll", y.N());
993
1017
  });
994
- const q = () => {
995
- !T || g.N() || h.N() || (T = !1, s("scrollEnd"));
1018
+ const H = () => {
1019
+ !B || S.A() || y.A() || (B = !1, s("scrollEnd"));
996
1020
  };
997
- g.q(8, q), h.q(8, q), (0, e.watchEffect)(() => {
998
- x(g, p, t.rows, t.rowHeight, t.headerRows, t.footerRows, !0);
1021
+ S.q(8, H), y.q(8, H), (0, e.watchEffect)(() => {
1022
+ x(S, p, t.rows, _.value, t.headerRows, t.footerRows);
999
1023
  }), (0, e.watchEffect)(() => {
1000
- x(h, m, t.cols, t.colWidth, t.headerCols, t.footerCols, !0);
1024
+ x(y, m, t.cols, h.value, t.headerCols, t.footerCols);
1001
1025
  });
1002
- const P = (0, e.computed)(() => w.value && g.A()), L = (0, e.computed)(() => w.value && h.A()), H = (0,
1003
- e.computed)(() => (w.value, ((e, t, s, l, a = o, u = o, f = o, d) => {
1004
- const p = e.S(), m = t.S(), g = e.W(), _ = e.V(), $ = t.W(), h = t.V(), S = i(s[0], g, _), w = r(s[1], _ - 1), y = i(l[0], $, h), b = r(l[1], h - 1), z = k(a, g, _), x = n($ - 1, 0), T = [], E = [], j = [];
1005
- for (const e of f) e.rowIndex < p && e.colIndex < m && j.push(e);
1006
- const q = j.length, P = z.length, B = O(z, S, _), L = B < 0 ? -1 : z[B];
1007
- L >= 0 && T.push(L);
1008
- for (const e of u) {
1009
- const t = e.rowIndex, o = e.colIndex, r = A(e, p), n = M(e, m);
1010
- if (t < p && o < m && (r - t > 1 || n - o > 1)) {
1011
- let s = (I(t, r, g, S, w, _) || L >= t && L < r) && I(o, n, $, y, b, h);
1012
- for (let e = 0; !s && e < q; e++) {
1013
- const {rowIndex: l, colIndex: i} = j[e];
1014
- s = l >= t && l < r && i >= o && i < n;
1026
+ const L = (0, e.computed)(() => j.value && S.M()), W = (0, e.computed)(() => j.value && y.M()), V = (0,
1027
+ e.computed)(() => (j.value, ((e, t, [s, l], [a, u], f, d = o, p = o, m) => {
1028
+ const _ = e.S(), g = t.S(), $ = e.W(), h = e.V(), w = t.W(), S = t.V();
1029
+ s = i(s, $, h), l = r(l, h - 1), a = i(a, w, S), u = r(u, S - 1);
1030
+ const y = I(d, $, h), b = n(w - 1, 0), z = [], x = [], O = [];
1031
+ for (const e of p) e.rowIndex < _ && e.colIndex < g && (O.push(e), z.push(e.rowIndex));
1032
+ const C = O.length, E = k(y, s, h), j = E < 0 ? -1 : y[E];
1033
+ j >= 0 && z.push(j);
1034
+ const q = T(c(z), _, $, s, l, h);
1035
+ for (let e = 0; e < q.length; e++) for (const t of f.get(q[e]) || o) {
1036
+ const {rowIndex: o, colIndex: i} = t, c = R(t, _), f = M(t, g);
1037
+ if ((e < 1 || q[e - 1] < o) && i < g && (c - o > 1 || f - i > 1)) {
1038
+ let e = (o < $ || n(o, s) < r(c, l + 1) || h < c || j >= o && j < c) && (i < w || n(i, a) < r(f, u + 1) || S < f);
1039
+ for (let t = 0; !e && t < C; t++) {
1040
+ const r = O[t];
1041
+ e = r.rowIndex >= o && r.rowIndex < c && r.colIndex >= i && r.colIndex < f;
1015
1042
  }
1016
- s && j.push(e);
1043
+ e && O.push(t);
1017
1044
  }
1018
1045
  }
1019
- for (const {rowIndex: e, colIndex: t} of j) {
1020
- const o = O(z, e, _);
1021
- T.push(e), o >= 0 && T.push(z[o]), E.push(t);
1046
+ for (const {rowIndex: e, colIndex: t} of O) {
1047
+ const o = k(y, e, h);
1048
+ z.push(e), o >= 0 && z.push(y[o]), x.push(t);
1022
1049
  }
1023
- c(T), c(E);
1024
- const H = R(T, p, g, S, w, _), W = R(E, m, $, y, b, h), V = H.length, D = W.length, F = /* @__PURE__ */ new Map, X = [], Y = [];
1025
- for (const e of j) {
1026
- const t = A(e, p), o = M(e, m);
1027
- X.push(t), Y.push(o);
1028
- const r = W.indexOf(e.colIndex);
1029
- for (let n = H.indexOf(e.rowIndex); n < V && H[n] < t; n++) {
1030
- const t = H[n] * m;
1031
- for (let n = r; n < D && W[n] < o; n++) F.set(t + W[n], e);
1050
+ c(z), c(x);
1051
+ const P = T(z, _, $, s, l, h), B = T(x, g, w, a, u, S), H = P.length, L = B.length, W = /* @__PURE__ */ new Map, V = [], D = [];
1052
+ for (const e of O) {
1053
+ const t = R(e, _), o = M(e, g);
1054
+ V.push(t), D.push(o);
1055
+ const r = B.indexOf(e.colIndex);
1056
+ for (let n = P.indexOf(e.rowIndex); n < H && P[n] < t; n++) {
1057
+ const t = P[n] * g;
1058
+ for (let n = r; n < L && B[n] < o; n++) W.set(t + B[n], e);
1032
1059
  }
1033
1060
  }
1034
- const J = [];
1035
- for (const e of W) J.push(!t.L(e) && null);
1036
- const U = [], G = e.u(g), K = [];
1037
- let Q = K;
1038
- const Z = v.get(e), ee = /* @__PURE__ */ new Map;
1039
- for (const o of H) {
1040
- const r = o < g, s = o >= _, l = O(z, o, _), i = r ? 0 : s ? _ : l < 0 ? -1 : z[l];
1041
- if (o === i) {
1042
- const e = r ? g : s ? p : l + 1 < P ? z[l + 1] : _;
1043
- X.push(e);
1061
+ const F = [];
1062
+ for (const e of B) F.push(!t.H(e) && null);
1063
+ const X = [], Y = e.u($), J = [];
1064
+ let U = J;
1065
+ const G = v.get(e), K = /* @__PURE__ */ new Map;
1066
+ for (const o of P) {
1067
+ const r = o < $, i = o >= h, c = k(y, o, h), f = r ? 0 : i ? h : c < 0 ? -1 : y[c];
1068
+ if (o === f) {
1069
+ const e = r ? $ : i ? _ : c + 1 < y.length ? y[c + 1] : h;
1070
+ V.push(e);
1044
1071
  const t = [];
1045
- K.push({
1046
- Te: r ? -1 : s ? -2 : -3 - i,
1047
- ke: t,
1048
- we: C(i, e, r || s ? 0 : null, s ? "bottom" : "top", 4)
1049
- }), Q = t;
1050
- } else i < 0 && (Q = K);
1051
- const c = l >= 0 && o === i, a = r || s || o === L || o >= S && o <= w, u = c ? G : null, f = o * m, v = Z && Z.get(o), I = v && v.ve, k = [];
1052
- let T = 0, R = !e.L(o) && null, N = o + 1, E = !1;
1053
- for (let e = 0; e < D; e++) {
1054
- const s = W[e], l = s < $, i = s >= h, u = l || i || s >= y && s <= b, g = F.get(f + s);
1055
- if (g ? g.rowIndex === o && g.colIndex === s : a && u) {
1056
- const a = g ? A(g, p) : o + 1, u = g ? M(g, m) : s + 1, f = a - o, _ = u - s, $ = f > 1, h = _ > 1, S = $ || h;
1057
- let w, y;
1058
- N = n(N, a);
1059
- const b = l ? t.u(s) : null, z = i ? t.t() - t.u(u - 1) - t.p(u - 1) : null;
1060
- !1 !== R || $ || (w = o, R = !0), !1 !== J[e] || h || (y = s, J[e] = !0);
1061
- const v = r ? "columnheader" : s === x && (l || c) ? "rowheader" : "cell", O = S ? f : void 0, C = S ? _ : void 0, j = "cell" !== v && d && d.rowIndex === o && d.colIndex === s ? d.order : void 0;
1072
+ J.push({
1073
+ Re: r ? -1 : i ? -2 : -3 - f,
1074
+ Oe: t,
1075
+ ye: A(f, e, r || i ? 0 : null, i ? "bottom" : "top", 4)
1076
+ }), U = t;
1077
+ } else f < 0 && (U = J);
1078
+ const d = c >= 0 && o === f, p = r || i || o === j || o >= s && o <= l, z = d ? Y : null, x = o * g, v = G && G.get(o), I = v && v.Ie, O = [];
1079
+ let T = 0, N = !e.H(o) && null, C = o + 1, E = !1;
1080
+ for (let e = 0; e < L; e++) {
1081
+ const s = B[e], l = s < w, i = s >= S, c = l || i || s >= a && s <= u, f = W.get(x + s);
1082
+ if (f ? f.rowIndex === o && f.colIndex === s : p && c) {
1083
+ const c = f ? R(f, _) : o + 1, a = f ? M(f, g) : s + 1, u = c - o, p = a - s, $ = u > 1, h = p > 1, w = $ || h;
1084
+ let S, y;
1085
+ C = n(C, c);
1086
+ const z = l ? t.u(s) : null, x = i ? t.u(g) - t.u(a) : null;
1087
+ !1 !== N || $ || (S = o, N = !0), !1 !== F[e] || h || (y = s, F[e] = !0);
1088
+ const v = r ? "columnheader" : s === b && (l || d) ? "rowheader" : "cell", k = w ? u : void 0, A = w ? p : void 0, j = "cell" !== v && m && m.rowIndex === o && m.colIndex === s ? m.order : void 0;
1062
1089
  let q;
1063
1090
  if (I) {
1064
1091
  const e = I.length;
1065
1092
  for (;T < e && I[T].ge < s; ) T++;
1066
1093
  T < e && I[T].ge === s && (q = I[T]);
1067
1094
  }
1068
- if (!q || q._e !== O || q.$e !== C || q.Re !== b || q.Ae !== z || q.de !== w || q.me !== y || q.he !== v || q.Se !== j) {
1095
+ if (!q || q.$e !== k || q.he !== A || q.Me !== z || q.Ne !== x || q.pe !== S || q._e !== y || q.we !== v || q.Se !== j) {
1069
1096
  let e = "1/l" + s;
1070
- S && (e += "/l" + a + "/l" + u);
1097
+ w && (e += "/l" + c + "/l" + a);
1071
1098
  const t = {
1072
1099
  contain: "layout style",
1073
1100
  display: "grid",
1074
1101
  gridArea: e
1075
1102
  };
1076
1103
  $ && (t.height = "0px", t.minHeight = "100%", t.zIndex = 1), h && (t.width = "0px",
1077
- t.minWidth = "100%"), (l || i) && (t[l ? "insetInlineStart" : "insetInlineEnd"] = (l ? b : z) + "px",
1104
+ t.minWidth = "100%"), (l || i) && (t[l ? "insetInlineStart" : "insetInlineEnd"] = (l ? z : x) + "px",
1078
1105
  t.position = "sticky", t.zIndex = 2), q = {
1079
1106
  ge: s,
1080
- _e: O,
1081
- $e: C,
1082
- de: w,
1083
- me: y,
1084
- he: v,
1107
+ $e: k,
1108
+ he: A,
1109
+ pe: S,
1110
+ _e: y,
1111
+ we: v,
1085
1112
  Se: j,
1086
- we: t,
1087
- Re: b,
1088
- Ae: z
1113
+ ye: t,
1114
+ Me: z,
1115
+ Ne: x
1089
1116
  }, E = !0;
1090
1117
  }
1091
- k.push(q);
1118
+ O.push(q);
1092
1119
  }
1093
1120
  }
1094
- if (U.push(R), k.length) {
1095
- const e = v && !E && v.ve.length === k.length && v.Me === u ? v : {
1096
- xe: o,
1097
- ve: k,
1098
- we: C(o, N, u, "top", 3),
1099
- Me: u
1121
+ if (X.push(N), O.length) {
1122
+ const e = v && !E && v.Ie.length === O.length && v.Ae === z ? v : {
1123
+ ve: o,
1124
+ Ie: O,
1125
+ ye: A(o, C, z, "top", 3),
1126
+ Ae: z
1100
1127
  };
1101
- ee.set(o, e), Q.push(e);
1128
+ K.set(o, e), U.push(e);
1102
1129
  }
1103
1130
  }
1104
- return v.set(e, ee), {
1105
- Ne: N(e, H, U, c(X), "max-content", p),
1106
- Ce: N(t, W, J, c(Y), "minmax(max-content,auto)", m),
1107
- Ee: K
1131
+ return v.set(e, K), {
1132
+ Ce: N(e, P, X, c(V), "max-content", _),
1133
+ Ee: N(t, B, F, c(D), "minmax(max-content,auto)", g),
1134
+ je: J
1108
1135
  };
1109
- })(p, m, g.l(t.bufferSize), h.l(t.bufferSize), t.sectionRows, t.spans, t.keepMounted, t.ariaSort))), W = (0,
1110
- e.computed)(() => w.value && (g.N() || h.N()));
1136
+ })(p, m, S.l(t.bufferSize), y.l(t.bufferSize), w.value, t.sectionRows, t.keepMounted, t.ariaSort))), D = (0,
1137
+ e.computed)(() => j.value && (S.A() || y.A()));
1111
1138
  return (0, e.onMounted)(() => {
1112
- S.ae(f.value);
1139
+ O.ue(f.value);
1113
1140
  }), (0, e.onUnmounted)(() => {
1114
- g.k(), h.k(), S.k();
1115
- }), (0, e.watch)([ w ], () => {
1116
- S.fe();
1141
+ S.k(), y.k(), O.k();
1142
+ }), (0, e.watch)([ j ], () => {
1143
+ O.de();
1117
1144
  }, {
1118
1145
  flush: "post"
1119
1146
  }), l({
1120
1147
  get verticalScrollOffset() {
1121
- return g.M();
1148
+ return S.N();
1122
1149
  },
1123
1150
  get horizontalScrollOffset() {
1124
- return h.M();
1151
+ return y.N();
1125
1152
  },
1126
1153
  get scrollHeight() {
1127
- return _(g);
1154
+ return g(S);
1128
1155
  },
1129
1156
  get scrollWidth() {
1130
- return _(h);
1157
+ return g(y);
1131
1158
  },
1132
1159
  get viewportHeight() {
1133
- return g.o();
1160
+ return S.o();
1134
1161
  },
1135
1162
  get viewportWidth() {
1136
- return h.o();
1163
+ return y.o();
1137
1164
  },
1138
- findRowIndex: g.T,
1139
- findColIndex: h.T,
1140
- getRowOffset: g.u,
1141
- getColOffset: h.u,
1142
- getRowSize: g.p,
1143
- getColSize: h.p,
1165
+ findRowIndex: S.T,
1166
+ findColIndex: y.T,
1167
+ getRowOffset: S.u,
1168
+ getColOffset: y.u,
1169
+ getRowSize: S.p,
1170
+ getColSize: y.p,
1144
1171
  scrollToIndex: e => ((e, t, r, n, s, l = o, {rowIndex: i, colIndex: c, rowAlign: a, colAlign: u}) => {
1145
- null != i && B(e, t, n, l, i, a, !1), null != c && B(e, r, s, o, c, u, !0);
1146
- })(S, g, h, p, m, t.sectionRows, e),
1172
+ null != i && P(e, t, n, l, i, a, !1), null != c && P(e, r, s, o, c, u, !0);
1173
+ })(O, S, y, p, m, t.sectionRows, e),
1147
1174
  scrollTo: ({vertical: e, horizontal: t}) => ((e, t, o) => {
1148
- null != t && e.G(!1, () => t), null != o && e.G(!0, () => o);
1149
- })(S, e, t),
1175
+ null != t && e.K(!1, () => t), null != o && e.K(!0, () => o);
1176
+ })(O, e, t),
1150
1177
  scrollBy: ({vertical: e, horizontal: t}) => ((e, t, o, r, n) => {
1151
1178
  if (null != r) {
1152
- const o = r + t.M();
1153
- e.G(!1, () => o);
1179
+ const o = r + t.N();
1180
+ e.K(!1, () => o);
1154
1181
  }
1155
1182
  if (null != n) {
1156
- const t = n + o.M();
1157
- e.G(!0, () => t);
1183
+ const t = n + o.N();
1184
+ e.K(!0, () => t);
1158
1185
  }
1159
- })(S, g, h, e, t)
1186
+ })(O, S, y, e, t)
1160
1187
  }), () => {
1161
- const {Ne: o, Ce: r, Ee: n} = H.value, s = g.u(0), l = h.u(0), i = {
1188
+ const {Ce: o, Ee: r, je: n} = V.value, s = S.u(0), l = y.u(0), i = {
1162
1189
  contain: "size style",
1163
1190
  overflowAnchor: "none",
1164
1191
  flex: "none",
@@ -1168,13 +1195,13 @@ e.defineComponent)({
1168
1195
  gap: t.gap + "px",
1169
1196
  marginTop: s + "px",
1170
1197
  marginInlineStart: l + "px",
1171
- height: _(g) - s + "px",
1172
- pointerEvents: W.value ? "none" : void 0
1198
+ height: g(S) - s + "px",
1199
+ pointerEvents: D.value ? "none" : void 0
1173
1200
  };
1174
1201
  return (0, e.createVNode)("div", {
1175
1202
  role: "table",
1176
- "aria-rowcount": P.value,
1177
- "aria-colcount": L.value,
1203
+ "aria-rowcount": L.value,
1204
+ "aria-colcount": W.value,
1178
1205
  style: {
1179
1206
  overflow: "auto",
1180
1207
  contain: "strict",
@@ -1184,24 +1211,24 @@ e.defineComponent)({
1184
1211
  }, [ (0, e.createVNode)("div", {
1185
1212
  ref: f,
1186
1213
  style: i
1187
- }, [ n.map(o => "ke" in o ? (0, e.createVNode)(J, {
1188
- key: o.Te,
1189
- pe: o,
1190
- oe: u.default,
1191
- Oe: t.rows,
1192
- Ie: t.cols,
1193
- ne: S.ue
1194
- }, null, 8, [ "pe", "oe", "Oe", "Ie", "ne" ]) : (0, e.createVNode)(Y, {
1195
- key: o.xe,
1196
- pe: o,
1197
- oe: u.default,
1198
- ye: b(t.rows, o.xe),
1199
- Ie: t.cols,
1200
- ne: S.ue
1201
- }, null, 8, [ "pe", "oe", "ye", "Ie", "ne" ])) ], 4) ], 8, [ "aria-rowcount", "aria-colcount" ]);
1214
+ }, [ n.map(o => "Oe" in o ? (0, e.createVNode)(Y, {
1215
+ key: o.Re,
1216
+ me: o,
1217
+ re: u.default,
1218
+ Te: t.rows,
1219
+ ke: t.cols,
1220
+ se: O.fe
1221
+ }, null, 8, [ "me", "re", "Te", "ke", "se" ]) : (0, e.createVNode)(X, {
1222
+ key: o.ve,
1223
+ me: o,
1224
+ re: u.default,
1225
+ be: b(t.rows, o.ve),
1226
+ ke: t.cols,
1227
+ se: O.fe
1228
+ }, null, 8, [ "me", "re", "be", "ke", "se" ])) ], 4) ], 8, [ "aria-rowcount", "aria-colcount" ]);
1202
1229
  };
1203
1230
  }
1204
1231
  });
1205
1232
 
1206
- exports.VGrid = U, exports.VList = D, exports.Virtualizer = V, exports.WindowVirtualizer = F;
1233
+ exports.VGrid = J, exports.VList = V, exports.Virtualizer = W, exports.WindowVirtualizer = D;
1207
1234
  //# sourceMappingURL=index.cjs.map