e-virt-table 1.1.4 → 1.1.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.
package/dist/index.es.js CHANGED
@@ -149,7 +149,7 @@ function Le(a) {
149
149
  t.push.apply(t, a[e] || []);
150
150
  }), t;
151
151
  }
152
- var Nt = /* @__PURE__ */ function(a) {
152
+ var kt = /* @__PURE__ */ function(a) {
153
153
  ve(t, a);
154
154
  function t(e, i) {
155
155
  var s;
@@ -161,7 +161,7 @@ function Ae(a, t, e, i, s) {
161
161
  if (t.first) {
162
162
  var r = new Promise(function(x, g) {
163
163
  var p = function(y) {
164
- return i(y), y.length ? g(new Nt(y, bt(y))) : x(s);
164
+ return i(y), y.length ? g(new kt(y, bt(y))) : x(s);
165
165
  }, u = Le(a);
166
166
  Xt(u, e, p);
167
167
  });
@@ -172,7 +172,7 @@ function Ae(a, t, e, i, s) {
172
172
  var o = t.firstFields === !0 ? Object.keys(a) : t.firstFields || [], n = Object.keys(a), h = n.length, c = 0, d = [], f = new Promise(function(x, g) {
173
173
  var p = function(w) {
174
174
  if (d.push.apply(d, w), c++, c === h)
175
- return i(d), d.length ? g(new Nt(d, bt(d))) : x(s);
175
+ return i(d), d.length ? g(new kt(d, bt(d))) : x(s);
176
176
  };
177
177
  n.length || (i(d), x(s)), n.forEach(function(u) {
178
178
  var w = a[u];
@@ -194,7 +194,7 @@ function Me(a, t) {
194
194
  }
195
195
  return e;
196
196
  }
197
- function Bt(a, t) {
197
+ function Nt(a, t) {
198
198
  return function(e) {
199
199
  var i;
200
200
  return a.fullFields ? i = Me(t, a.fullFields) : i = t[e.field || a.fullField], Te(e) ? (e.field = e.field || a.fullField, e.fieldValue = i, e) : {
@@ -204,7 +204,7 @@ function Bt(a, t) {
204
204
  };
205
205
  };
206
206
  }
207
- function kt(a, t) {
207
+ function Bt(a, t) {
208
208
  if (t) {
209
209
  for (var e in t)
210
210
  if (t.hasOwnProperty(e)) {
@@ -304,9 +304,9 @@ var Ut = function(t, e, i, s, r, o) {
304
304
  if (x ? f = "number" : g ? f = "string" : p && (f = "array"), !f)
305
305
  return !1;
306
306
  p && (d = e.length), g && (d = e.replace(c, "_").length), o ? d !== t.len && s.push(D(r.messages[f].len, t.fullField, t.len)) : n && !h && d < t.min ? s.push(D(r.messages[f].min, t.fullField, t.min)) : h && !n && d > t.max ? s.push(D(r.messages[f].max, t.fullField, t.max)) : n && h && (d < t.min || d > t.max) && s.push(D(r.messages[f].range, t.fullField, t.min, t.max));
307
- }, j = "enum", Ne = function(t, e, i, s, r) {
307
+ }, j = "enum", ke = function(t, e, i, s, r) {
308
308
  t[j] = Array.isArray(t[j]) ? t[j] : [], t[j].indexOf(e) === -1 && s.push(D(r.messages[j], t.fullField, t[j].join(", ")));
309
- }, Be = function(t, e, i, s, r) {
309
+ }, Ne = function(t, e, i, s, r) {
310
310
  if (t.pattern) {
311
311
  if (t.pattern instanceof RegExp)
312
312
  t.pattern.lastIndex = 0, t.pattern.test(e) || s.push(D(r.messages.pattern.mismatch, t.fullField, e, t.pattern));
@@ -320,9 +320,9 @@ var Ut = function(t, e, i, s, r, o) {
320
320
  whitespace: He,
321
321
  type: Fe,
322
322
  range: Xe,
323
- enum: Ne,
324
- pattern: Be
325
- }, ke = function(t, e, i, s, r) {
323
+ enum: ke,
324
+ pattern: Ne
325
+ }, Be = function(t, e, i, s, r) {
326
326
  var o = [], n = t.required || !t.required && s.hasOwnProperty(t.field);
327
327
  if (n) {
328
328
  if (H(e, "string") && !t.required)
@@ -441,7 +441,7 @@ var Ut = function(t, e, i, s, r, o) {
441
441
  }
442
442
  i(o);
443
443
  }, it = {
444
- string: ke,
444
+ string: Be,
445
445
  method: Ke,
446
446
  number: Ye,
447
447
  boolean: Ve,
@@ -528,7 +528,7 @@ var Rt = vt(), nt = /* @__PURE__ */ function() {
528
528
  s.rules[r] = Array.isArray(o) ? o : [o];
529
529
  });
530
530
  }, t.messages = function(i) {
531
- return i && (this._messages = kt(vt(), i)), this._messages;
531
+ return i && (this._messages = Bt(vt(), i)), this._messages;
532
532
  }, t.validate = function(i, s, r) {
533
533
  var o = this;
534
534
  s === void 0 && (s = {}), r === void 0 && (r = function() {
@@ -551,7 +551,7 @@ var Rt = vt(), nt = /* @__PURE__ */ function() {
551
551
  }
552
552
  if (h.messages) {
553
553
  var f = this.messages();
554
- f === Rt && (f = vt()), kt(f, h.messages), h.messages = f;
554
+ f === Rt && (f = vt()), Bt(f, h.messages), h.messages = f;
555
555
  } else
556
556
  h.messages = this.messages();
557
557
  var x = {}, g = h.keys || Object.keys(this.rules);
@@ -583,14 +583,14 @@ var Rt = vt(), nt = /* @__PURE__ */ function() {
583
583
  R === void 0 && (R = []);
584
584
  var O = Array.isArray(R) ? R : [R];
585
585
  !h.suppressWarning && O.length && a.warning("async-validator:", O), O.length && y.message !== void 0 && (O = [].concat(y.message));
586
- var L = O.map(Bt(y, n));
586
+ var L = O.map(Nt(y, n));
587
587
  if (h.first && L.length)
588
588
  return p[y.field] = 1, w(L);
589
589
  if (!C)
590
590
  w(L);
591
591
  else {
592
592
  if (y.required && !u.value)
593
- return y.message !== void 0 ? L = [].concat(y.message).map(Bt(y, n)) : h.error && (L = [h.error(y, D(h.messages.required, y.field))]), w(L);
593
+ return y.message !== void 0 ? L = [].concat(y.message).map(Nt(y, n)) : h.error && (L = [h.error(y, D(h.messages.required, y.field))]), w(L);
594
594
  var _ = {};
595
595
  y.defaultField && Object.keys(u.value).map(function(S) {
596
596
  _[S] = y.defaultField;
@@ -1378,6 +1378,12 @@ class ni {
1378
1378
  l(this, "validationErrorMap", /* @__PURE__ */ new Map());
1379
1379
  l(this, "itemRowKeyMap", /* @__PURE__ */ new WeakMap());
1380
1380
  l(this, "bufferData", []);
1381
+ l(this, "bufferCheckState", {
1382
+ buffer: !1,
1383
+ check: !1,
1384
+ indeterminate: !1,
1385
+ selectable: !0
1386
+ });
1381
1387
  l(this, "sumHeight", 0);
1382
1388
  l(this, "filterMethod");
1383
1389
  l(this, "positions", []);
@@ -1838,7 +1844,7 @@ class ni {
1838
1844
  return;
1839
1845
  i.check = !i.check, this.setRowSelectionByCheckboxKey(t, i.check), this.ctx.emit("toggleRowSelection", e);
1840
1846
  const s = this.getSelectionRows();
1841
- this.ctx.emit("selectionChange", s), this.ctx.emit("draw");
1847
+ this.ctx.emit("selectionChange", s), this.bufferCheckState.buffer = !1, this.ctx.emit("draw");
1842
1848
  }
1843
1849
  /**
1844
1850
  * 根据rowKey 设置选中状态
@@ -1850,7 +1856,7 @@ class ni {
1850
1856
  return;
1851
1857
  s.check = e, this.setRowSelectionByCheckboxKey(t, s.check);
1852
1858
  const r = this.getSelectionRows();
1853
- this.ctx.emit("setRowSelection", r), i && this.ctx.emit("draw");
1859
+ this.ctx.emit("setRowSelection", r), i && (this.bufferCheckState.buffer = !1, this.ctx.emit("draw"));
1854
1860
  }
1855
1861
  getSelectionRows() {
1856
1862
  let t = [];
@@ -1890,7 +1896,7 @@ class ni {
1890
1896
  })), s && this.setRowSelection(i, !0, !1);
1891
1897
  });
1892
1898
  const t = this.getSelectionRows();
1893
- this.ctx.emit("toggleAllSelection", t), this.ctx.emit("selectionChange", t), this.ctx.emit("draw");
1899
+ this.ctx.emit("toggleAllSelection", t), this.ctx.emit("selectionChange", t), this.bufferCheckState.buffer = !1, this.ctx.emit("draw");
1894
1900
  }
1895
1901
  /**
1896
1902
  * 清除选中
@@ -1903,30 +1909,38 @@ class ni {
1903
1909
  this.setRowSelection(s, !1, !1);
1904
1910
  });
1905
1911
  const e = this.getSelectionRows();
1906
- this.ctx.emit("clearSelection"), this.ctx.emit("selectionChange", e), this.ctx.emit("draw");
1912
+ this.ctx.emit("clearSelection"), this.ctx.emit("selectionChange", e), this.bufferCheckState.buffer = !1, this.ctx.emit("draw");
1907
1913
  }
1908
1914
  /**
1909
1915
  * 获取选中状态,表头用
1910
1916
  * @param rowKey
1911
1917
  */
1912
1918
  getCheckedState() {
1913
- const t = this.rowKeyMap.size;
1914
- let e = 0, i = 0;
1915
- const s = this.selectionMap.size, r = Array.from(this.selectionMap.values()).some((d) => d.check);
1916
- this.rowKeyMap.forEach((d, f) => {
1917
- var g;
1918
- (g = this.selectionMap.get(f)) != null && g.check && (e += 1);
1919
- let x = d.selectable;
1920
- typeof x == "function" && (x = x({
1921
- row: d.item,
1922
- rowIndex: d.rowIndex
1923
- })), x && (i += 1);
1919
+ const { buffer: t, ...e } = this.bufferCheckState;
1920
+ if (t)
1921
+ return e;
1922
+ const i = this.rowKeyMap.size;
1923
+ let s = 0, r = 0;
1924
+ const o = this.selectionMap.size, n = Array.from(this.selectionMap.values()).some((x) => x.check);
1925
+ this.rowKeyMap.forEach((x, g) => {
1926
+ var u;
1927
+ (u = this.selectionMap.get(g)) != null && u.check && (s += 1);
1928
+ let p = x.selectable;
1929
+ typeof p == "function" && (p = p({
1930
+ row: x.item,
1931
+ rowIndex: x.rowIndex
1932
+ })), p && (r += 1);
1924
1933
  });
1925
- const o = s > t && e === 0 && r, n = i && i > e && e > 0 || o;
1926
- return {
1927
- check: i && i === e,
1928
- indeterminate: n,
1929
- selectable: i !== 0
1934
+ const h = o > i && s === 0 && n, c = r && r > s && s > 0 || h, d = r !== 0, f = !!r && r === s;
1935
+ return this.bufferCheckState = {
1936
+ buffer: !0,
1937
+ check: f,
1938
+ indeterminate: c,
1939
+ selectable: d
1940
+ }, {
1941
+ check: f,
1942
+ indeterminate: c,
1943
+ selectable: d
1930
1944
  };
1931
1945
  }
1932
1946
  /**
@@ -2138,8 +2152,8 @@ class ni {
2138
2152
  }, "");
2139
2153
  for (let v = e - 1; v >= 0; v--) {
2140
2154
  const A = this.rowIndexRowKeyMap.get(v) || "", S = h.reduce((M, T) => {
2141
- const B = this.getItemValue(A, T) ?? "";
2142
- return `${M}${B}`;
2155
+ const N = this.getItemValue(A, T) ?? "";
2156
+ return `${M}${N}`;
2143
2157
  }, "");
2144
2158
  if (_ === S)
2145
2159
  w = v;
@@ -2148,8 +2162,8 @@ class ni {
2148
2162
  }
2149
2163
  for (let v = e; v <= this.ctx.maxRowIndex; v++) {
2150
2164
  const A = this.rowIndexRowKeyMap.get(v) || "", S = h.reduce((M, T) => {
2151
- const B = this.getItemValue(A, T) ?? "";
2152
- return `${M}${B}`;
2165
+ const N = this.getItemValue(A, T) ?? "";
2166
+ return `${M}${N}`;
2153
2167
  }, "");
2154
2168
  if (_ === S)
2155
2169
  y = v;
@@ -2253,7 +2267,7 @@ class ni {
2253
2267
  // 获取虚拟单元格
2254
2268
  getVirtualBodyCell(t, e) {
2255
2269
  const i = this.getColumnByColIndex(e), s = this.getRowForRowIndex(t);
2256
- return !i || !s ? void 0 : new Tt(this.ctx, t, e, 0, 0, 0, 0, i, s, "body");
2270
+ return !i || !s ? void 0 : new Tt(this.ctx, t, e, 0, 0, 0, 0, i, s.item, "body");
2257
2271
  }
2258
2272
  getVirtualBodyCellByKey(t, e) {
2259
2273
  const i = this.getRowIndexForRowKey(t), s = this.getColIndexForKey(e);
@@ -5051,14 +5065,14 @@ const Si = (a) => ({
5051
5065
  }, g = Ht(s), p = Mt(g), u = await o.getDimensions(c), w = g === "y", y = w ? "top" : "left", C = w ? "bottom" : "right", m = w ? "clientHeight" : "clientWidth", E = r.reference[p] + r.reference[g] - x[g] - r.floating[p], b = x[g] - r.reference[g], R = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
5052
5066
  let O = R ? R[m] : 0;
5053
5067
  (!O || !await (o.isElement == null ? void 0 : o.isElement(R))) && (O = n.floating[m] || r.floating[p]);
5054
- const L = E / 2 - b / 2, _ = O / 2 - u[p] / 2 - 1, v = rt(f[y], _), A = rt(f[C], _), S = v, M = O - u[p] - A, T = O / 2 - u[p] / 2 + L, B = It(S, T, M), Y = !h.arrow && lt(s) != null && T !== B && r.reference[p] / 2 - (T < S ? v : A) - u[p] / 2 < 0, k = Y ? T < S ? T - S : T - M : 0;
5068
+ const L = E / 2 - b / 2, _ = O / 2 - u[p] / 2 - 1, v = rt(f[y], _), A = rt(f[C], _), S = v, M = O - u[p] - A, T = O / 2 - u[p] / 2 + L, N = It(S, T, M), Y = !h.arrow && lt(s) != null && T !== N && r.reference[p] / 2 - (T < S ? v : A) - u[p] / 2 < 0, B = Y ? T < S ? T - S : T - M : 0;
5055
5069
  return {
5056
- [g]: x[g] + k,
5070
+ [g]: x[g] + B,
5057
5071
  data: {
5058
- [g]: B,
5059
- centerOffset: T - B - k,
5072
+ [g]: N,
5073
+ centerOffset: T - N - B,
5060
5074
  ...Y && {
5061
- alignmentOffset: k
5075
+ alignmentOffset: B
5062
5076
  }
5063
5077
  },
5064
5078
  reset: Y
@@ -5101,23 +5115,23 @@ const Si = (a) => ({
5101
5115
  overflows: _
5102
5116
  }], !_.every((T) => T <= 0)) {
5103
5117
  var A, S;
5104
- const T = (((A = r.flip) == null ? void 0 : A.index) || 0) + 1, B = O[T];
5105
- if (B)
5118
+ const T = (((A = r.flip) == null ? void 0 : A.index) || 0) + 1, N = O[T];
5119
+ if (N)
5106
5120
  return {
5107
5121
  data: {
5108
5122
  index: T,
5109
5123
  overflows: v
5110
5124
  },
5111
5125
  reset: {
5112
- placement: B
5126
+ placement: N
5113
5127
  }
5114
5128
  };
5115
- let Y = (S = v.filter((k) => k.overflows[0] <= 0).sort((k, W) => k.overflows[1] - W.overflows[1])[0]) == null ? void 0 : S.placement;
5129
+ let Y = (S = v.filter((B) => B.overflows[0] <= 0).sort((B, W) => B.overflows[1] - W.overflows[1])[0]) == null ? void 0 : S.placement;
5116
5130
  if (!Y)
5117
5131
  switch (g) {
5118
5132
  case "bestFit": {
5119
5133
  var M;
5120
- const k = (M = v.filter((W) => {
5134
+ const B = (M = v.filter((W) => {
5121
5135
  if (R) {
5122
5136
  const P = J(W.placement);
5123
5137
  return P === C || // Create a bias to the `y` side axis due to horizontal
@@ -5126,7 +5140,7 @@ const Si = (a) => ({
5126
5140
  }
5127
5141
  return !0;
5128
5142
  }).map((W) => [W.placement, W.overflows.filter((P) => P > 0).reduce((P, Ee) => P + Ee, 0)]).sort((W, P) => W[1] - P[1])[0]) == null ? void 0 : M[0];
5129
- k && (Y = k);
5143
+ B && (Y = B);
5130
5144
  break;
5131
5145
  }
5132
5146
  case "initialPlacement":
@@ -5282,7 +5296,7 @@ function ht(a) {
5282
5296
  overflowX: e,
5283
5297
  overflowY: i,
5284
5298
  display: s
5285
- } = N(a);
5299
+ } = k(a);
5286
5300
  return /auto|scroll|overlay|hidden|clip/.test(t + i + e) && !["inline", "contents"].includes(s);
5287
5301
  }
5288
5302
  function Hi(a) {
@@ -5298,7 +5312,7 @@ function wt(a) {
5298
5312
  });
5299
5313
  }
5300
5314
  function Dt(a) {
5301
- const t = Ft(), e = X(a) ? N(a) : a;
5315
+ const t = Ft(), e = X(a) ? k(a) : a;
5302
5316
  return e.transform !== "none" || e.perspective !== "none" || (e.containerType ? e.containerType !== "normal" : !1) || !t && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !t && (e.filter ? e.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (e.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (e.contain || "").includes(i));
5303
5317
  }
5304
5318
  function Di(a) {
@@ -5318,7 +5332,7 @@ function Ft() {
5318
5332
  function Q(a) {
5319
5333
  return ["html", "body", "#document"].includes(tt(a));
5320
5334
  }
5321
- function N(a) {
5335
+ function k(a) {
5322
5336
  return F(a).getComputedStyle(a);
5323
5337
  }
5324
5338
  function pt(a) {
@@ -5360,7 +5374,7 @@ function Lt(a) {
5360
5374
  return a.parent && Object.getPrototypeOf(a.parent) ? a.frameElement : null;
5361
5375
  }
5362
5376
  function de(a) {
5363
- const t = N(a);
5377
+ const t = k(a);
5364
5378
  let e = parseFloat(t.width) || 0, i = parseFloat(t.height) || 0;
5365
5379
  const s = K(a), r = s ? a.offsetWidth : e, o = s ? a.offsetHeight : i, n = ft(e) !== r || ft(i) !== o;
5366
5380
  return n && (e = r, i = o), {
@@ -5409,7 +5423,7 @@ function ot(a, t, e, i) {
5409
5423
  const x = F(r), g = i && X(i) ? F(i) : i;
5410
5424
  let p = x, u = Lt(p);
5411
5425
  for (; u && i && g !== p; ) {
5412
- const w = Z(u), y = u.getBoundingClientRect(), C = N(u), m = y.left + (u.clientLeft + parseFloat(C.paddingLeft)) * w.x, E = y.top + (u.clientTop + parseFloat(C.paddingTop)) * w.y;
5426
+ const w = Z(u), y = u.getBoundingClientRect(), C = k(u), m = y.left + (u.clientLeft + parseFloat(C.paddingLeft)) * w.x, E = y.top + (u.clientTop + parseFloat(C.paddingTop)) * w.y;
5413
5427
  h *= w.x, c *= w.y, d *= w.x, f *= w.y, h += m, c += E, p = F(u), u = Lt(p);
5414
5428
  }
5415
5429
  }
@@ -5420,7 +5434,7 @@ function ot(a, t, e, i) {
5420
5434
  y: c
5421
5435
  });
5422
5436
  }
5423
- function Ni(a) {
5437
+ function ki(a) {
5424
5438
  let {
5425
5439
  elements: t,
5426
5440
  rect: e,
@@ -5446,18 +5460,18 @@ function Ni(a) {
5446
5460
  y: e.y * c.y - h.scrollTop * c.y + d.y
5447
5461
  };
5448
5462
  }
5449
- function Bi(a) {
5463
+ function Ni(a) {
5450
5464
  return Array.from(a.getClientRects());
5451
5465
  }
5452
5466
  function At(a, t) {
5453
5467
  const e = pt(a).scrollLeft;
5454
5468
  return t ? t.left + e : ot(V(a)).left + e;
5455
5469
  }
5456
- function ki(a) {
5470
+ function Bi(a) {
5457
5471
  const t = V(a), e = pt(a), i = a.ownerDocument.body, s = U(t.scrollWidth, t.clientWidth, i.scrollWidth, i.clientWidth), r = U(t.scrollHeight, t.clientHeight, i.scrollHeight, i.clientHeight);
5458
5472
  let o = -e.scrollLeft + At(a);
5459
5473
  const n = -e.scrollTop;
5460
- return N(i).direction === "rtl" && (o += U(t.clientWidth, i.clientWidth) - s), {
5474
+ return k(i).direction === "rtl" && (o += U(t.clientWidth, i.clientWidth) - s), {
5461
5475
  width: s,
5462
5476
  height: r,
5463
5477
  x: o,
@@ -5493,7 +5507,7 @@ function Gt(a, t, e) {
5493
5507
  if (t === "viewport")
5494
5508
  i = Ki(a, e);
5495
5509
  else if (t === "document")
5496
- i = ki(V(a));
5510
+ i = Bi(V(a));
5497
5511
  else if (X(t))
5498
5512
  i = Yi(t, e);
5499
5513
  else {
@@ -5508,17 +5522,17 @@ function Gt(a, t, e) {
5508
5522
  }
5509
5523
  function ue(a, t) {
5510
5524
  const e = $(a);
5511
- return e === t || !X(e) || Q(e) ? !1 : N(e).position === "fixed" || ue(e, t);
5525
+ return e === t || !X(e) || Q(e) ? !1 : k(e).position === "fixed" || ue(e, t);
5512
5526
  }
5513
5527
  function Vi(a, t) {
5514
5528
  const e = t.get(a);
5515
5529
  if (e)
5516
5530
  return e;
5517
5531
  let i = St(a, [], !1).filter((n) => X(n) && tt(n) !== "body"), s = null;
5518
- const r = N(a).position === "fixed";
5532
+ const r = k(a).position === "fixed";
5519
5533
  let o = r ? $(a) : a;
5520
5534
  for (; X(o) && !Q(o); ) {
5521
- const n = N(o), h = Dt(o);
5535
+ const n = k(o), h = Dt(o);
5522
5536
  !h && n.position === "fixed" && (s = null), (r ? !h && !s : !h && n.position === "static" && !!s && ["absolute", "fixed"].includes(s.position) || ht(o) && !h && ue(a, o)) ? i = i.filter((d) => d !== o) : s = n, o = $(o);
5523
5537
  }
5524
5538
  return t.set(a, i), i;
@@ -5578,10 +5592,10 @@ function zi(a, t, e) {
5578
5592
  };
5579
5593
  }
5580
5594
  function mt(a) {
5581
- return N(a).position === "static";
5595
+ return k(a).position === "static";
5582
5596
  }
5583
5597
  function qt(a, t) {
5584
- if (!K(a) || N(a).position === "fixed")
5598
+ if (!K(a) || k(a).position === "fixed")
5585
5599
  return null;
5586
5600
  if (t)
5587
5601
  return t(a);
@@ -5619,15 +5633,15 @@ const $i = async function(a) {
5619
5633
  };
5620
5634
  };
5621
5635
  function Gi(a) {
5622
- return N(a).direction === "rtl";
5636
+ return k(a).direction === "rtl";
5623
5637
  }
5624
5638
  const qi = {
5625
- convertOffsetParentRelativeRectToViewportRelativeRect: Ni,
5639
+ convertOffsetParentRelativeRectToViewportRelativeRect: ki,
5626
5640
  getDocumentElement: V,
5627
5641
  getClippingRect: Wi,
5628
5642
  getOffsetParent: ge,
5629
5643
  getElementRects: $i,
5630
- getClientRects: Bi,
5644
+ getClientRects: Ni,
5631
5645
  getDimensions: Pi,
5632
5646
  getScale: Z,
5633
5647
  isElement: X,