@farris/ui-vue 1.6.0-beta.6 → 1.6.0-beta.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.
Files changed (98) hide show
  1. package/components/avatar/index.esm.js +2 -1
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +2 -1
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/component/index.esm.js +2 -1
  6. package/components/component/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +2 -1
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/content-container/index.esm.js +2 -1
  10. package/components/content-container/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +1 -1
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +2591 -2570
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/designer-canvas/index.esm.js +2 -1
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +63 -62
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/events-editor/index.esm.js +2 -1
  20. package/components/events-editor/index.umd.cjs +1 -1
  21. package/components/expression-editor/index.esm.js +2 -1
  22. package/components/expression-editor/index.umd.cjs +1 -1
  23. package/components/filter-bar/index.esm.js +2 -1
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/filter-condition-editor/index.esm.js +2 -1
  26. package/components/filter-condition-editor/index.umd.cjs +1 -1
  27. package/components/flow-canvas/index.esm.js +2 -1
  28. package/components/flow-canvas/index.umd.cjs +1 -1
  29. package/components/mapping-editor/index.esm.js +107 -106
  30. package/components/mapping-editor/index.umd.cjs +1 -1
  31. package/components/message-box/index.esm.js +2 -1
  32. package/components/message-box/index.umd.cjs +1 -1
  33. package/components/modal/index.esm.js +2 -1
  34. package/components/modal/index.umd.cjs +1 -1
  35. package/components/number-range/index.esm.js +2 -1
  36. package/components/number-range/index.umd.cjs +1 -1
  37. package/components/number-spinner/index.esm.js +2 -1
  38. package/components/number-spinner/index.umd.cjs +1 -1
  39. package/components/pagination/index.esm.js +276 -282
  40. package/components/pagination/index.umd.cjs +1 -1
  41. package/components/property-panel/index.esm.js +103 -102
  42. package/components/property-panel/index.umd.cjs +2 -2
  43. package/components/query-solution/index.esm.js +2 -1
  44. package/components/query-solution/index.umd.cjs +1 -1
  45. package/components/response-layout-editor/index.esm.js +2 -1
  46. package/components/response-layout-editor/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +203 -208
  48. package/components/schema-selector/index.umd.cjs +2 -2
  49. package/components/section/index.esm.js +2 -1
  50. package/components/section/index.umd.cjs +1 -1
  51. package/components/sort-condition-editor/index.esm.js +2 -1
  52. package/components/sort-condition-editor/index.umd.cjs +1 -1
  53. package/components/tabs/index.esm.js +2 -1
  54. package/components/tabs/index.umd.cjs +1 -1
  55. package/components/textarea/index.esm.js +2 -1
  56. package/components/textarea/index.umd.cjs +1 -1
  57. package/components/time-picker/index.esm.js +103 -102
  58. package/components/time-picker/index.umd.cjs +1 -1
  59. package/components/tree-grid/index.esm.js +2 -1
  60. package/components/tree-grid/index.umd.cjs +1 -1
  61. package/components/tree-view/index.esm.js +2 -1
  62. package/components/tree-view/index.umd.cjs +1 -1
  63. package/components/video/index.esm.js +2 -1
  64. package/components/video/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +4590 -4575
  66. package/farris.all.umd.cjs +18 -18
  67. package/package.json +1 -1
  68. package/types/data-view/composition/types.d.ts +2 -0
  69. package/components/list-view/index.css +0 -1
  70. package/components/list-view/index.esm.js +0 -11592
  71. package/components/list-view/index.umd.cjs +0 -20
  72. package/components/list-view/package.json +0 -8
  73. package/components/list-view/style.js +0 -2
  74. package/components/response-layout/index.css +0 -1
  75. package/components/response-layout/index.esm.js +0 -11550
  76. package/components/response-layout/index.umd.cjs +0 -1
  77. package/components/response-layout/package.json +0 -8
  78. package/designer/button-edit/index.css +0 -1
  79. package/designer/button-edit/index.esm.js +0 -11121
  80. package/designer/button-edit/index.umd.cjs +0 -1
  81. package/designer/checkbox/index.esm.js +0 -250
  82. package/designer/checkbox/index.umd.cjs +0 -1
  83. package/designer/checkbox-group/index.esm.js +0 -377
  84. package/designer/checkbox-group/index.umd.cjs +0 -1
  85. package/designer/data-grid/index.css +0 -1
  86. package/designer/data-grid/index.esm.js +0 -17850
  87. package/designer/data-grid/index.umd.cjs +0 -23
  88. package/designer/drawer/index.css +0 -1
  89. package/designer/drawer/index.esm.js +0 -2228
  90. package/designer/drawer/index.umd.cjs +0 -6
  91. package/designer/farris-designer.all.esm.js +0 -26348
  92. package/designer/farris-designer.all.umd.cjs +0 -32
  93. package/designer/index.css +0 -1
  94. package/designer/input-group/index.esm.js +0 -1035
  95. package/designer/input-group/index.umd.cjs +0 -1
  96. package/designer/radio-group/index.css +0 -1
  97. package/designer/radio-group/index.esm.js +0 -12471
  98. package/designer/radio-group/index.umd.cjs +0 -1
@@ -423,13 +423,13 @@ function Bn(e, t, n) {
423
423
  if (v.value) {
424
424
  if (["class", "style"].find((q) => q === k) && !z && (z = o.get("/converter/appearance.converter") || null), z && z.convertFrom)
425
425
  return z.convertFrom(y, _, b, h);
426
- const me = y[_];
427
- return Object.prototype.hasOwnProperty.call(x, "defaultValue") && (me === void 0 || typeof me == "string" && me === "") ? x.type === "boolean" ? x.defaultValue : x.defaultValue || "" : me;
426
+ const pe = y[_];
427
+ return Object.prototype.hasOwnProperty.call(x, "defaultValue") && (pe === void 0 || typeof pe == "string" && pe === "") ? x.type === "boolean" ? x.defaultValue : x.defaultValue || "" : pe;
428
428
  }
429
429
  return null;
430
430
  },
431
- set(me) {
432
- v.value += 1, z && z.convertTo ? (z.convertTo(g, _, me, b, h), z.convertTo(y, _, me, b, h)) : (g[_] = me, y[_] = me);
431
+ set(pe) {
432
+ v.value += 1, z && z.convertTo ? (z.convertTo(g, _, pe, b, h), z.convertTo(y, _, pe, b, h)) : (g[_] = pe, y[_] = pe);
433
433
  }
434
434
  }), { refreshPanelAfterChanged: B, description: D, isExpand: W, parentPropertyID: Z } = x, Q = { propertyID: k, propertyName: w, propertyType: O, propertyValue: j, editor: M, visible: V, readonly: H, cascadeConfig: ee, hideCascadeTitle: L, refreshPanelAfterChanged: B, description: D, isExpand: W, parentPropertyID: Z };
435
435
  return C[k] = Q, Q;
@@ -1274,7 +1274,7 @@ const wa = {
1274
1274
  function Q(ve, he, $ = !0) {
1275
1275
  (!f.value || he) && (f.value = he || e.schema), s.value = en(f.value, h, S, _, ve), I.filterPropertyEntity && (s.value = I.filterPropertyEntity(s.value, f.value)), Z(), r.value && D(y.value), $ && k.value++;
1276
1276
  }
1277
- function me(ve, he) {
1277
+ function pe(ve, he) {
1278
1278
  S = ve, _ = he;
1279
1279
  }
1280
1280
  function q() {
@@ -1428,7 +1428,7 @@ const wa = {
1428
1428
  }
1429
1429
  return t.expose({
1430
1430
  updatePropertyConfig: Q,
1431
- updateDesignerItem: me,
1431
+ updateDesignerItem: pe,
1432
1432
  reloadPropertyPanel: xe,
1433
1433
  refreshPanel: Fe
1434
1434
  }), () => T(Ct, null, [T("div", {
@@ -2333,7 +2333,7 @@ var Na = { exports: {} };
2333
2333
  function l(w, O) {
2334
2334
  var P = arguments.length;
2335
2335
  P === 1 && Array.isArray(w) === !1 && (O = w, w = []);
2336
- var M, V, H, ee, L, z, j, B, D, W = null, Z, Q, me = !1, q = 0, G, R = O || {};
2336
+ var M, V, H, ee, L, z, j, B, D, W = null, Z, Q, pe = !1, q = 0, G, R = O || {};
2337
2337
  R.moves === void 0 && (R.moves = b), R.accepts === void 0 && (R.accepts = b), R.invalid === void 0 && (R.invalid = $), R.containers === void 0 && (R.containers = w || []), R.isContainer === void 0 && (R.isContainer = g), R.copy === void 0 && (R.copy = !1), R.copySortSource === void 0 && (R.copySortSource = !1), R.revertOnSpill === void 0 && (R.revertOnSpill = !1), R.removeOnSpill === void 0 && (R.removeOnSpill = !1), R.direction === void 0 && (R.direction = "vertical"), R.ignoreInputTextSelection === void 0 && (R.ignoreInputTextSelection = !0), R.mirrorContainer === void 0 && (R.mirrorContainer = f.body);
2338
2338
  var K = i({
2339
2339
  containers: R.containers,
@@ -2371,8 +2371,8 @@ var Na = { exports: {} };
2371
2371
  ee = N.clientX, L = N.clientY;
2372
2372
  var U = C(N) !== 1 || N.metaKey || N.ctrlKey;
2373
2373
  if (!U) {
2374
- var oe = N.target, pe = xe(oe);
2375
- pe && (Z = pe, Se(), N.type === "mousedown" && (_(oe) ? oe.focus() : N.preventDefault()));
2374
+ var oe = N.target, me = xe(oe);
2375
+ me && (Z = me, Se(), N.type === "mousedown" && (_(oe) ? oe.focus() : N.preventDefault()));
2376
2376
  }
2377
2377
  }
2378
2378
  function ue(N) {
@@ -2383,8 +2383,8 @@ var Na = { exports: {} };
2383
2383
  }
2384
2384
  if (!(N.clientX !== void 0 && Math.abs(N.clientX - ee) <= (R.slideFactorX || 0) && N.clientY !== void 0 && Math.abs(N.clientY - L) <= (R.slideFactorY || 0))) {
2385
2385
  if (R.ignoreInputTextSelection) {
2386
- var U = I("clientX", N) || 0, oe = I("clientY", N) || 0, pe = f.elementFromPoint(U, oe);
2387
- if (_(pe))
2386
+ var U = I("clientX", N) || 0, oe = I("clientY", N) || 0, me = f.elementFromPoint(U, oe);
2387
+ if (_(me))
2388
2388
  return;
2389
2389
  }
2390
2390
  var Ee = Z;
@@ -2399,8 +2399,8 @@ var Na = { exports: {} };
2399
2399
  return;
2400
2400
  var oe = S(N);
2401
2401
  if (oe && !R.invalid(N, U)) {
2402
- var pe = R.moves(N, oe, U, k(N));
2403
- if (pe)
2402
+ var me = R.moves(N, oe, U, k(N));
2403
+ if (me)
2404
2404
  return {
2405
2405
  item: N,
2406
2406
  source: oe
@@ -2432,7 +2432,7 @@ var Na = { exports: {} };
2432
2432
  }
2433
2433
  function je(N) {
2434
2434
  if (_e(), !!K.dragging) {
2435
- var U = B || H, oe = I("clientX", N) || 0, pe = I("clientY", N) || 0, Ee = y(M, oe, pe), ke = ot(Ee, oe, pe);
2435
+ var U = B || H, oe = I("clientX", N) || 0, me = I("clientY", N) || 0, Ee = y(M, oe, me), ke = ot(Ee, oe, me);
2436
2436
  ke && (B && R.copySortSource || !B || ke !== V) ? Oe(U, ke) : R.removeOnSpill ? te() : we();
2437
2437
  }
2438
2438
  }
@@ -2448,8 +2448,8 @@ var Na = { exports: {} };
2448
2448
  }
2449
2449
  function we(N) {
2450
2450
  if (K.dragging) {
2451
- var U = arguments.length > 0 ? N : R.revertOnSpill, oe = B || H, pe = S(oe), Ee = Re(pe);
2452
- Ee === !1 && U && (B ? pe && pe.removeChild(B) : V.insertBefore(oe, z)), Ee || U ? K.emit("cancel", oe, V, V) : K.emit("drop", oe, pe, V, j), $e();
2451
+ var U = arguments.length > 0 ? N : R.revertOnSpill, oe = B || H, me = S(oe), Ee = Re(me);
2452
+ Ee === !1 && U && (B ? me && me.removeChild(B) : V.insertBefore(oe, z)), Ee || U ? K.emit("cancel", oe, V, V) : K.emit("drop", oe, me, V, j), $e();
2453
2453
  }
2454
2454
  }
2455
2455
  function $e() {
@@ -2461,15 +2461,15 @@ var Na = { exports: {} };
2461
2461
  return U !== void 0 ? oe = U : M ? oe = j : oe = k(B || H), N === V && oe === z;
2462
2462
  }
2463
2463
  function ot(N, U, oe) {
2464
- for (var pe = N; pe && !Ee(); )
2465
- pe = S(pe);
2466
- return pe;
2464
+ for (var me = N; me && !Ee(); )
2465
+ me = S(me);
2466
+ return me;
2467
2467
  function Ee() {
2468
- var ke = de(pe);
2468
+ var ke = de(me);
2469
2469
  if (ke === !1)
2470
2470
  return !1;
2471
- var Ie = Ce(pe, N), Le = rt(pe, Ie, U, oe), Ne = Re(pe, Le);
2472
- return Ne ? !0 : R.accepts(H, pe, V, Le);
2471
+ var Ie = Ce(me, N), Le = rt(me, Ie, U, oe), Ne = Re(me, Le);
2472
+ return Ne ? !0 : R.accepts(H, me, V, Le);
2473
2473
  }
2474
2474
  }
2475
2475
  function lt(N) {
@@ -2478,25 +2478,25 @@ var Na = { exports: {} };
2478
2478
  N.preventDefault();
2479
2479
  var U = I("clientX", N) || 0, oe = I("clientY", N) || 0;
2480
2480
  M.style.left = U - 2 + "px", M.style.top = oe - 2 + "px";
2481
- var pe = B || H, Ee = y(M, U, oe), ke = ot(Ee, U, oe), Ie = ke !== null && ke !== W;
2481
+ var me = B || H, Ee = y(M, U, oe), ke = ot(Ee, U, oe), Ie = ke !== null && ke !== W;
2482
2482
  (Ie || ke === null) && (Xe(), W = ke, He()), mt(Ee, oe);
2483
- var Le = S(pe);
2483
+ var Le = S(me);
2484
2484
  if (ke === V && B && !R.copySortSource) {
2485
- Le && Le.removeChild(pe);
2485
+ Le && Le.removeChild(me);
2486
2486
  return;
2487
2487
  }
2488
2488
  var Ne, De = Ce(ke, Ee);
2489
- if (me = We(De, ke), De !== null)
2489
+ if (pe = We(De, ke), De !== null)
2490
2490
  Ne = rt(ke, De, U, oe);
2491
2491
  else if (R.revertOnSpill === !0 && !B)
2492
2492
  Ne = z, ke = V;
2493
2493
  else {
2494
- B && Le && Le.removeChild(pe), B && Q && (Q.style.display = "none");
2494
+ B && Le && Le.removeChild(me), B && Q && (Q.style.display = "none");
2495
2495
  return;
2496
2496
  }
2497
- Q.style.display = "block", _t(Ne, pe, Ie), Ne ? Ye(De, Ne) : tt(ke);
2497
+ Q.style.display = "block", _t(Ne, me, Ie), Ne ? Ye(De, Ne) : tt(ke);
2498
2498
  function Be(qe) {
2499
- K.emit(qe, pe, W, V);
2499
+ K.emit(qe, me, W, V);
2500
2500
  }
2501
2501
  function He() {
2502
2502
  Ie && Be("over");
@@ -2522,7 +2522,7 @@ var Na = { exports: {} };
2522
2522
  var N = H.getBoundingClientRect();
2523
2523
  Q.style.left = N.left + "px", Q.style.top = N.top + "px";
2524
2524
  }
2525
- me = !1, R.mirrorContainer.appendChild(Q);
2525
+ pe = !1, R.mirrorContainer.appendChild(Q);
2526
2526
  }
2527
2527
  function ae() {
2528
2528
  M && (s.rm(R.mirrorContainer, "gu-unselectable"), d(m, "remove", "mousemove", lt), S(M).removeChild(M), M = null);
@@ -2537,11 +2537,11 @@ var Na = { exports: {} };
2537
2537
  }
2538
2538
  function We(N, U) {
2539
2539
  if (!U)
2540
- return me;
2540
+ return pe;
2541
2541
  var oe = N || U && U.lastElementChild;
2542
2542
  if (!oe)
2543
2543
  return !0;
2544
- var pe = getComputedStyle(N), Ee = /^inline/.test(pe.getPropertyValue("display")) || /^(left|right)$/.test(pe.getPropertyValue("float"));
2544
+ var me = getComputedStyle(N), Ee = /^inline/.test(me.getPropertyValue("display")) || /^(left|right)$/.test(me.getPropertyValue("float"));
2545
2545
  if (Ee)
2546
2546
  return !0;
2547
2547
  if (U) {
@@ -2559,10 +2559,10 @@ var Na = { exports: {} };
2559
2559
  if (!N.children || !N.children.length)
2560
2560
  return !1;
2561
2561
  for (const U of Array.from(N.children)) {
2562
- const pe = (U.className && U.className.split(" ") || []).filter((Ee) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Ee));
2563
- if (!pe.length)
2562
+ const me = (U.className && U.className.split(" ") || []).filter((Ee) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Ee));
2563
+ if (!me.length)
2564
2564
  return !1;
2565
- for (const Ee of pe) {
2565
+ for (const Ee of me) {
2566
2566
  const ke = Ee.slice(Ee.lastIndexOf("-") + 1);
2567
2567
  if (parseInt(ke, 10) !== 12)
2568
2568
  return !1;
@@ -2572,14 +2572,14 @@ var Na = { exports: {} };
2572
2572
  }
2573
2573
  function Ye(N, U) {
2574
2574
  const oe = U.getBoundingClientRect();
2575
- if (Q.style.left = oe.left + "px", Q.style.top = oe.top + "px", me) {
2575
+ if (Q.style.left = oe.left + "px", Q.style.top = oe.top + "px", pe) {
2576
2576
  if (Q.style.height = oe.height + "px", Q.style.width = "4px", N) {
2577
- const pe = N.getBoundingClientRect();
2578
- pe.top !== oe.top && (Q.style.left = pe.right + "px", Q.style.top = pe.top + "px", Q.style.height = pe.height + "px");
2577
+ const me = N.getBoundingClientRect();
2578
+ me.top !== oe.top && (Q.style.left = me.right + "px", Q.style.top = me.top + "px", Q.style.height = me.height + "px");
2579
2579
  }
2580
2580
  } else if (Q.style.height = "4px", Q.style.width = oe.width + "px", G) {
2581
- const pe = G.getBoundingClientRect();
2582
- oe.top < pe.top && (Q.style.display = "none");
2581
+ const me = G.getBoundingClientRect();
2582
+ oe.top < me.top && (Q.style.display = "none");
2583
2583
  }
2584
2584
  U === H && H && (Q.style.display = "none");
2585
2585
  }
@@ -2588,41 +2588,41 @@ var Na = { exports: {} };
2588
2588
  var U = N.lastElementChild;
2589
2589
  if (U) {
2590
2590
  var oe = U.getBoundingClientRect();
2591
- me ? (Q.style.left = oe.right + "px", Q.style.top = oe.top + "px", Q.style.height = oe.height + "px", Q.style.width = "4px") : (Q.style.left = oe.left + "px", Q.style.top = oe.bottom + "px", Q.style.height = "4px", Q.style.width = oe.width + "px"), U === H && H && (Q.style.display = "none");
2591
+ pe ? (Q.style.left = oe.right + "px", Q.style.top = oe.top + "px", Q.style.height = oe.height + "px", Q.style.width = "4px") : (Q.style.left = oe.left + "px", Q.style.top = oe.bottom + "px", Q.style.height = "4px", Q.style.width = oe.width + "px"), U === H && H && (Q.style.display = "none");
2592
2592
  } else
2593
2593
  Q.style.display = "none";
2594
2594
  }
2595
2595
  function mt(N, U) {
2596
2596
  if (!R.mirrorContainer.contains(N) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (G = p(N), !G || !G.contains(N)))
2597
2597
  return;
2598
- const oe = document.querySelector(".dgComponentSelected"), pe = G.getBoundingClientRect();
2599
- if (U - 30 < pe.top && G.scrollTop > 0) {
2598
+ const oe = document.querySelector(".dgComponentSelected"), me = G.getBoundingClientRect();
2599
+ if (U - 30 < me.top && G.scrollTop > 0) {
2600
2600
  let Ee = G.scrollTop < 10 ? G.scrollTop : 10;
2601
2601
  G.scrollBy(0, -1 * Ee), oe && G.contains(oe) && (q = q + -1 * Ee);
2602
2602
  }
2603
- if (U + 30 > pe.bottom && G.scrollTop < G.scrollHeight - G.clientHeight) {
2603
+ if (U + 30 > me.bottom && G.scrollTop < G.scrollHeight - G.clientHeight) {
2604
2604
  const Ee = G.scrollHeight - G.clientHeight - G.scrollTop;
2605
2605
  let ke = Ee < 10 ? Ee : 10;
2606
2606
  G.scrollBy(0, ke), oe && G.contains(oe) && (q = q + ke);
2607
2607
  }
2608
2608
  }
2609
- function rt(N, U, oe, pe) {
2609
+ function rt(N, U, oe, me) {
2610
2610
  var Ee = R.direction === "horizontal", ke = R.direction === "mixed", Ie = U !== N ? Ne() : Le();
2611
2611
  return Ie;
2612
2612
  function Le() {
2613
2613
  var Be = N.children.length, He, Xe, qe;
2614
2614
  for (He = 0; He < Be; He++)
2615
- if (Xe = N.children[He], qe = Xe.getBoundingClientRect(), Ee && qe.left + qe.width / 2 > oe || !ke && !Ee && qe.top + qe.height / 2 > pe || ke && qe.left + qe.width > oe && qe.top + qe.height > pe)
2615
+ if (Xe = N.children[He], qe = Xe.getBoundingClientRect(), Ee && qe.left + qe.width / 2 > oe || !ke && !Ee && qe.top + qe.height / 2 > me || ke && qe.left + qe.width > oe && qe.top + qe.height > me)
2616
2616
  return Xe;
2617
2617
  return null;
2618
2618
  }
2619
2619
  function Ne() {
2620
2620
  var Be = U.getBoundingClientRect();
2621
2621
  if (ke) {
2622
- var He = pe - Be.top, Xe = oe - Be.left, qe = Be.bottom - pe, Vt = Be.right - oe, Bt = Math.min(Xe, Vt, He, qe), ye;
2623
- return me ? ye = Vt < Xe : ye = qe === Bt || Vt === Bt || Xe === Bt, De(ye);
2622
+ var He = me - Be.top, Xe = oe - Be.left, qe = Be.bottom - me, Vt = Be.right - oe, Bt = Math.min(Xe, Vt, He, qe), ye;
2623
+ return pe ? ye = Vt < Xe : ye = qe === Bt || Vt === Bt || Xe === Bt, De(ye);
2624
2624
  }
2625
- return De(Ee ? oe > Be.left + h(Be) / 2 : pe > Be.top + E(Be) / 2);
2625
+ return De(Ee ? oe > Be.left + h(Be) / 2 : me > Be.top + E(Be) / 2);
2626
2626
  }
2627
2627
  function De(Be) {
2628
2628
  return Be ? k(U) : U;
@@ -4462,8 +4462,8 @@ function al(e, t, n, o, r, a, i, u, s, f, m, l, p) {
4462
4462
  function Q($) {
4463
4463
  return $.collapse && e.loadData ? e.loadData($) : Promise.resolve();
4464
4464
  }
4465
- function me($) {
4466
- return ($ || []).some((ne) => kn(ne) ? !(ne.type === Comment || ne.type === Ct && !me(ne.children)) : !0) ? $ : null;
4465
+ function pe($) {
4466
+ return ($ || []).some((ne) => kn(ne) ? !(ne.type === Comment || ne.type === Ct && !pe(ne.children)) : !0) ? $ : null;
4467
4467
  }
4468
4468
  function q($, ne) {
4469
4469
  $.stopPropagation(), Q(ne).then(() => {
@@ -4534,7 +4534,7 @@ function al(e, t, n, o, r, a, i, u, s, f, m, l, p) {
4534
4534
  return $.getEditor($);
4535
4535
  }
4536
4536
  function re($, ne) {
4537
- return t.slots.cellTemplate && me(t.slots.cellTemplate({
4537
+ return t.slots.cellTemplate && pe(t.slots.cellTemplate({
4538
4538
  cell: ne,
4539
4539
  row: $
4540
4540
  })) ? Se(ne, $) : ne.mode === et.editing ? Y(ne) : ne.formatter ? be(ne, $) : Me(ne);
@@ -5087,7 +5087,7 @@ function pl(e, t, n, o) {
5087
5087
  }), R.value.splice(be, 0, ...Me);
5088
5088
  }
5089
5089
  }
5090
- function me(q, G) {
5090
+ function pe(q, G) {
5091
5091
  const R = q[i.value], K = m.get(R), de = Array.from(K.descendant.keys());
5092
5092
  de.unshift(R);
5093
5093
  const Te = m.get(K.parentId);
@@ -5109,7 +5109,7 @@ function pl(e, t, n, o) {
5109
5109
  isVisibleInTree: P,
5110
5110
  shouldStratifyData: a,
5111
5111
  toggleChildrenVisibiltyByCollapseStatus: ee,
5112
- trimmedOriginalData: me
5112
+ trimmedOriginalData: pe
5113
5113
  };
5114
5114
  }
5115
5115
  function ml(e, t, n, o, r) {
@@ -5136,21 +5136,21 @@ function ml(e, t, n, o, r) {
5136
5136
  return (J == null ? void 0 : J.groupFields) || [];
5137
5137
  });
5138
5138
  let Z = /* @__PURE__ */ new Map();
5139
- const Q = F(L.value.length), me = F(e.pagination);
5139
+ const Q = F(L.value.length), pe = F(e.pagination);
5140
5140
  function q() {
5141
- return me.value && me.value.enable && me.value.size > 0 ? me.value.size : L.value.length;
5141
+ return pe.value && pe.value.enable && pe.value.size > 0 ? pe.value.size : L.value.length;
5142
5142
  }
5143
- const G = F(1), R = A(() => me.value && me.value.enable && me.value.mode !== "server"), K = A(() => me.value && me.value.enable && me.value.mode === "server"), de = new Xn();
5143
+ const G = F(1), R = A(() => pe.value && pe.value.enable && pe.value.mode !== "server"), K = A(() => pe.value && pe.value.enable && pe.value.mode === "server"), de = new Xn();
5144
5144
  function Te(J, N) {
5145
5145
  const U = Math.ceil(J.length / N);
5146
5146
  let oe = 0;
5147
- const pe = [], Ee = [], ke = [];
5147
+ const me = [], Ee = [], ke = [];
5148
5148
  for (; oe < U; ) {
5149
5149
  const Ie = J.slice(oe * N, (oe + 1) * N), Le = d(C.value, Ie, t);
5150
- Ee[oe] = Le.filter((Ne) => Ne.__fv_data_grid_group_row__).length, pe.push(...Le), oe++;
5150
+ Ee[oe] = Le.filter((Ne) => Ne.__fv_data_grid_group_row__).length, me.push(...Le), oe++;
5151
5151
  }
5152
5152
  return Ee.reduce((Ie, Le, Ne) => (Ie = Ie + Le, ke.push(Ie), Ie), 0), {
5153
- groupData: pe,
5153
+ groupData: me,
5154
5154
  groupRowSizeList: Ee,
5155
5155
  accumulateGroupRowSize: ke
5156
5156
  };
@@ -5159,19 +5159,19 @@ function ml(e, t, n, o, r) {
5159
5159
  var Le;
5160
5160
  L.value = g.value, R.value && (Q.value = L.value.length), y.value && !R.value && (L.value = d(C.value, g.value, t)), Z = W.value.reduce((Ne, De) => (Ne.set(De, 0), Ne), Z);
5161
5161
  const J = 0, N = q(), U = (G.value - 1) * N;
5162
- let pe = U > L.value.length - 1 || K.value ? J : U, Ee = K.value ? L.value.length : Math.min(pe + N, L.value.length);
5162
+ let me = U > L.value.length - 1 || K.value ? J : U, Ee = K.value ? L.value.length : Math.min(me + N, L.value.length);
5163
5163
  if (y.value && R.value) {
5164
5164
  const { accumulateGroupRowSize: Ne, groupData: De, groupRowSizeList: Be } = Te(g.value, N);
5165
5165
  L.value = De;
5166
5166
  const He = Be[G.value - 1];
5167
- pe += G.value - 2 < 0 ? 0 : Ne[G.value - 2], Ee = pe + N + He;
5167
+ me += G.value - 2 < 0 ? 0 : Ne[G.value - 2], Ee = me + N + He;
5168
5168
  }
5169
5169
  let ke = 0;
5170
5170
  const Ie = [];
5171
5171
  if (L.value.length) {
5172
5172
  H(L.value);
5173
5173
  const Ne = V.value !== e.idField;
5174
- for (let De = pe; De < Ee; De++) {
5174
+ for (let De = me; De < Ee; De++) {
5175
5175
  const Be = L.value[De];
5176
5176
  Be.__fv_data_grid_group_row__ ? (ke = 0, Be.__fv_data_index__ = "") : Be.__fv_data_grid_group_summary__ ? Be.__fv_data_index__ = "" : (ke++, Be.__fv_data_index__ = ke + (G.value - 1) * N), Be.__fv_index__ = De, Be.__fv_visible_index__ = De, e.rowOption && e.rowOption.disabledField && (Be.__fv_disabled__ = Be[(Le = e.rowOption) == null ? void 0 : Le.disabledField]), Ne && (Be[V.value] = De), W.value.forEach((He) => {
5177
5177
  const Xe = Z.get(He) || 0;
@@ -5189,7 +5189,7 @@ function ml(e, t, n, o, r) {
5189
5189
  Me.value.forEach((J, N) => (J.__fv_visible_index__ = N, J));
5190
5190
  }
5191
5191
  function re(J, N, U = !1) {
5192
- const pe = (U ? Se() : [...z.value]).filter((Ie) => n.apply(Ie)), Ee = J && J.length ? pe.filter((Ie) => J.reduce((Le, Ne) => Le && Ne.filter(Ie), !0)) : pe, ke = N && N.length ? Ee.sort((Ie, Le) => {
5192
+ const me = (U ? Se() : [...z.value]).filter((Ie) => n.apply(Ie)), Ee = J && J.length ? me.filter((Ie) => J.reduce((Le, Ne) => Le && Ne.filter(Ie), !0)) : me, ke = N && N.length ? Ee.sort((Ie, Le) => {
5193
5193
  const Ne = [...N], De = Ne.shift();
5194
5194
  let Be = De.compare(Ie[De.field], Le[De.field]);
5195
5195
  for (; Be === 0 && Ne.length !== 0; ) {
@@ -5227,7 +5227,7 @@ function ml(e, t, n, o, r) {
5227
5227
  function ne(J, N) {
5228
5228
  const U = `group_of_${J}_${N}`;
5229
5229
  i.set(U, !0);
5230
- const oe = (pe) => pe[J] !== N;
5230
+ const oe = (me) => me[J] !== N;
5231
5231
  return s.set(`collapse_${J}_${N}`, {
5232
5232
  field: J,
5233
5233
  fieldName: J,
@@ -5272,7 +5272,7 @@ function ml(e, t, n, o, r) {
5272
5272
  g.value = U, Re();
5273
5273
  }
5274
5274
  function lt(J, N, U) {
5275
- return (J && J.length ? be.value.filter((pe, Ee) => J.reduce((ke, Ie) => ke && Ie.filter(pe), !0)) : be.value).slice(N, U);
5275
+ return (J && J.length ? be.value.filter((me, Ee) => J.reduce((ke, Ie) => ke && Ie.filter(me), !0)) : be.value).slice(N, U);
5276
5276
  }
5277
5277
  function _t(J) {
5278
5278
  const N = q(), U = Math.ceil(Q.value / N);
@@ -5318,10 +5318,10 @@ function ml(e, t, n, o, r) {
5318
5318
  return re(J, Array.from(m.values()));
5319
5319
  }
5320
5320
  function Ae(J) {
5321
- me.value.size = J;
5321
+ pe.value.size = J;
5322
5322
  }
5323
5323
  function Ye(J) {
5324
- me.value && (Ae(J), Re());
5324
+ pe.value && (Ae(J), Re());
5325
5325
  }
5326
5326
  function tt(J, N) {
5327
5327
  const U = g.value[Number(J) - 1];
@@ -5334,7 +5334,7 @@ function ml(e, t, n, o, r) {
5334
5334
  }
5335
5335
  function mt(J) {
5336
5336
  return J.map((U) => {
5337
- const oe = z.value.findIndex((pe) => "" + pe[V.value] == "" + U);
5337
+ const oe = z.value.findIndex((me) => "" + me[V.value] == "" + U);
5338
5338
  return oe > -1 ? z.value[oe] : null;
5339
5339
  }).filter((U) => U != null);
5340
5340
  }
@@ -5393,7 +5393,8 @@ function ml(e, t, n, o, r) {
5393
5393
  unFold: $e,
5394
5394
  updateDataView: Re,
5395
5395
  visibleDataItems: Me,
5396
- shouldGroupingData: y
5396
+ shouldGroupingData: y,
5397
+ pagination: pe
5397
5398
  };
5398
5399
  }
5399
5400
  const to = {
@@ -7426,7 +7427,7 @@ const Ot = /* @__PURE__ */ Ue({
7426
7427
  isMaximized: P.value
7427
7428
  });
7428
7429
  });
7429
- const Q = A(() => (r.value && document.body.classList.add("modal-open"), r.value)), me = A(() => {
7430
+ const Q = A(() => (r.value && document.body.classList.add("modal-open"), r.value)), pe = A(() => {
7430
7431
  var $e;
7431
7432
  const te = {
7432
7433
  modal: !0,
@@ -7606,7 +7607,7 @@ const Ot = /* @__PURE__ */ Ue({
7606
7607
  }, {
7607
7608
  default: () => [T("div", {
7608
7609
  ref: h,
7609
- class: me.value,
7610
+ class: pe.value,
7610
7611
  style: R.value,
7611
7612
  onClick: _e
7612
7613
  }, [je()])]
@@ -8681,7 +8682,7 @@ function js(e, t, n, o, r, a, i, u, s) {
8681
8682
  function Q() {
8682
8683
  x.value && (E = z(Math.abs(b.value)), S = E + a.value - 1, (E < c.value || S > p.value - i / 2) && B());
8683
8684
  }
8684
- function me(ae) {
8685
+ function pe(ae) {
8685
8686
  let ge = b.value + ae;
8686
8687
  ge > H && (ge = H);
8687
8688
  const Ce = P();
@@ -8708,7 +8709,7 @@ function js(e, t, n, o, r, a, i, u, s) {
8708
8709
  Pe([k, d], () => {
8709
8710
  q(0);
8710
8711
  }), Pe(v, (ae, ge) => {
8711
- ae !== ge && ae >= f.value.length * g && me(0);
8712
+ ae !== ge && ae >= f.value.length * g && pe(0);
8712
8713
  });
8713
8714
  function de(ae) {
8714
8715
  let { deltaX: ge } = ae, Ce = -1 * ae.deltaY;
@@ -8719,7 +8720,7 @@ function js(e, t, n, o, r, a, i, u, s) {
8719
8720
  return;
8720
8721
  ae.preventDefault(), ae.stopPropagation();
8721
8722
  const { deltaX: ge, deltaY: Ce } = de(ae);
8722
- me(Ce), q(ge);
8723
+ pe(Ce), q(ge);
8723
8724
  }
8724
8725
  const Se = A(() => ({
8725
8726
  height: `${f.value.length * g}px`,
@@ -8777,7 +8778,7 @@ function js(e, t, n, o, r, a, i, u, s) {
8777
8778
  const ge = te.value - ae.pageY, Ce = P(), We = Ce - M.value;
8778
8779
  if (Math.abs(ge) <= We) {
8779
8780
  const Ae = ge / (v.value - M.value) * (Ce - v.value);
8780
- me(Ae), te.value = ae.pageY;
8781
+ pe(Ae), te.value = ae.pageY;
8781
8782
  }
8782
8783
  }
8783
8784
  }
@@ -8795,13 +8796,13 @@ function js(e, t, n, o, r, a, i, u, s) {
8795
8796
  function ht(ae) {
8796
8797
  const ge = f.value.length * g - v.value;
8797
8798
  let Ce = ae * g;
8798
- Ce >= ge && (Ce = ge), me(-Ce - b.value);
8799
+ Ce >= ge && (Ce = ge), pe(-Ce - b.value);
8799
8800
  }
8800
8801
  function pt() {
8801
8802
  ht(f.value.length);
8802
8803
  }
8803
8804
  function xt(ae) {
8804
- me(ae - b.value);
8805
+ pe(ae - b.value);
8805
8806
  }
8806
8807
  return {
8807
8808
  dataGridWidth: _,
@@ -9087,17 +9088,17 @@ function Js(e, t, n, o, r, a, i) {
9087
9088
  checked: L,
9088
9089
  disabled: j,
9089
9090
  indeterminate: z,
9090
- setRef: (me) => {
9091
- D.ref = me;
9091
+ setRef: (pe) => {
9092
+ D.ref = pe;
9092
9093
  },
9093
9094
  visible: ee && B || ee && !e.hierarchy,
9094
9095
  status: dt.initial,
9095
- updateCell: (me, q) => {
9096
- d(me, v, D, q), t.updateSummary();
9096
+ updateCell: (pe, q) => {
9097
+ d(pe, v, D, q), t.updateSummary();
9097
9098
  },
9098
- updateCells: (me, q) => {
9099
+ updateCells: (pe, q) => {
9099
9100
  q.forEach((G) => {
9100
- d(me, v, D, G);
9101
+ d(pe, v, D, G);
9101
9102
  });
9102
9103
  }
9103
9104
  };
@@ -9248,10 +9249,10 @@ function Qs(e, t, n, o, r) {
9248
9249
  selectOnCreated: e.selectOnEditingCell,
9249
9250
  editor: Q,
9250
9251
  modelValue: B.editingData,
9251
- "onUpdate:modelValue": (me) => B.editingData = me,
9252
+ "onUpdate:modelValue": (pe) => B.editingData = pe,
9252
9253
  id: D.id,
9253
- onMousedown: (me) => I(me),
9254
- onMouseup: (me) => w(me)
9254
+ onMousedown: (pe) => I(pe),
9255
+ onMouseup: (pe) => w(pe)
9255
9256
  }, null)) : B.data;
9256
9257
  }
9257
9258
  function L() {
@@ -9514,7 +9515,7 @@ function eu(e, t, n, o, r) {
9514
9515
  function Q(Y) {
9515
9516
  Y.__fv_checked__ = !1, Y.__fv_indeterminate__ = !0, d.value = d.value.filter((re) => re !== Y[a.value]);
9516
9517
  }
9517
- function me(Y) {
9518
+ function pe(Y) {
9518
9519
  const re = Y.raw;
9519
9520
  re.__fv_checked__ = !1, re.__fv_indeterminate__ = !0, d.value = d.value.filter((ue) => ue !== re[a.value]), Y.checked = !1, Y.indeterminate = !0;
9520
9521
  }
@@ -9585,7 +9586,7 @@ function eu(e, t, n, o, r) {
9585
9586
  findIndexInSelectedItems: ee,
9586
9587
  getSelectedItems: b,
9587
9588
  getSelectionRow: Me,
9588
- indeterminate: me,
9589
+ indeterminate: pe,
9589
9590
  indeterminateDataItem: Q,
9590
9591
  isSelectingHirarchyItem: v,
9591
9592
  multiSelectMode: l,
@@ -9772,11 +9773,11 @@ const Xt = /* @__PURE__ */ Ue({
9772
9773
  updateColumnRenderContext: z
9773
9774
  } = V;
9774
9775
  ee(_, H);
9775
- const j = fi(e, L), B = pi(e, t, k, i), D = mi(e, t, i, B, c), W = vi(e), Z = hi(e, D, W), Q = gi(e, _, D, b, i, W, Z), me = yi(e, a, _, w, 0, Q), {
9776
+ const j = fi(e, L), B = pi(e, t, k, i), D = mi(e, t, i, B, c), W = vi(e), Z = hi(e, D, W), Q = gi(e, _, D, b, i, W, Z), pe = yi(e, a, _, w, 0, Q), {
9776
9777
  getVisualData: q
9777
- } = me, G = bi(e, L), R = Ci(e, k), {
9778
+ } = pe, G = bi(e, L), R = Ci(e, k), {
9778
9779
  sidebarWidth: K
9779
- } = R, de = wi(e, _, c, L, me, w, 0, K), {
9780
+ } = R, de = wi(e, _, c, L, pe, w, 0, K), {
9780
9781
  onWheel: Te,
9781
9782
  dataGridWidth: Se,
9782
9783
  viewPortHeight: be,
@@ -9796,7 +9797,7 @@ const Xt = /* @__PURE__ */ Ue({
9796
9797
  "fv-grid-wrap-content": C.value
9797
9798
  })), {
9798
9799
  renderDataArea: _e
9799
- } = lu(e, t, m, l, p, G, V, _, D, b, B, k, x, de, me, W, c), {
9800
+ } = lu(e, t, m, l, p, G, V, _, D, b, B, k, x, de, pe, W, c), {
9800
9801
  renderGridHeader: je,
9801
9802
  renderGridColumnResizeOverlay: Oe,
9802
9803
  shouldShowHeader: te
@@ -9887,7 +9888,7 @@ const Xt = /* @__PURE__ */ Ue({
9887
9888
  function oe() {
9888
9889
  k.clearSelection();
9889
9890
  }
9890
- const pe = A(() => !c.value || !c.value.length), {
9891
+ const me = A(() => !c.value || !c.value.length), {
9891
9892
  renderEmpty: Ee
9892
9893
  } = Oi(t);
9893
9894
  function ke() {
@@ -9984,7 +9985,7 @@ const Xt = /* @__PURE__ */ Ue({
9984
9985
  onMouseover: () => d.value = !0,
9985
9986
  onMouseleave: () => d.value = !1,
9986
9987
  style: Xe.value
9987
- }, [f.value && we(c), f.value && _e(), f.value && pe.value && Ee(), f.value && Re(), f.value && ot()]), Oe(), I.value && $e()]);
9988
+ }, [f.value && we(c), f.value && _e(), f.value && me.value && Ee(), f.value && Re(), f.value && ot()]), Oe(), I.value && $e()]);
9988
9989
  }
9989
9990
  }), su = {
9990
9991
  id: { type: String, default: "" },
@@ -10081,14 +10082,14 @@ const an = /* @__PURE__ */ Ue({
10081
10082
  }, j), j;
10082
10083
  });
10083
10084
  function _(j, B) {
10084
- var Z, Q, me;
10085
+ var Z, Q, pe;
10085
10086
  if (j && (j.preventDefault(), j.stopPropagation()), (Z = b == null ? void 0 : b.designerContext) != null && Z.checkCanDeleteControl && !b.designerContext.checkCanDeleteControl(B))
10086
10087
  return;
10087
10088
  if (c.value.triggerBelongedComponentToDeleteWhenDeleted) {
10088
10089
  const q = c.value.getBelongedComponentInstance(c);
10089
10090
  if (q && q.parent) {
10090
10091
  const G = F(q == null ? void 0 : q.parent), R = G.value.contents.findIndex((K) => K.id === q.schema.id);
10091
- (me = (Q = G.value) == null ? void 0 : Q.contents) == null || me.splice(R, 1), Mt.value++;
10092
+ (pe = (Q = G.value) == null ? void 0 : Q.contents) == null || pe.splice(R, 1), Mt.value++;
10092
10093
  }
10093
10094
  return;
10094
10095
  }
@@ -10152,7 +10153,7 @@ const an = /* @__PURE__ */ Ue({
10152
10153
  let B;
10153
10154
  const D = j.type, W = Bl[D], Z = Pl[D], Q = Z ? Z(j) : {};
10154
10155
  Q.customClass = e.ignore ? Q.customClass : "", Q.componentId = u.value, Q.id = j.id;
10155
- const me = j.contents && j.contents.length === 0;
10156
+ const pe = j.contents && j.contents.length === 0;
10156
10157
  return j.contents && !!j.contents.length && W ? T(W, It({
10157
10158
  ref: c
10158
10159
  }, Q), du(B = j.contents.map((G) => T(an, {
@@ -10164,7 +10165,7 @@ const an = /* @__PURE__ */ Ue({
10164
10165
  onDragEnd: O
10165
10166
  }, null))) ? B : {
10166
10167
  default: () => [B]
10167
- }) : W ? me ? T(W, It({
10168
+ }) : W ? pe ? T(W, It({
10168
10169
  ref: c
10169
10170
  }, Q), {
10170
10171
  default: () => [T(cu, null, null)]
@@ -10862,7 +10863,7 @@ const bu = /* @__PURE__ */ Ue({
10862
10863
  m.value = B(0, S.value + o - 1);
10863
10864
  const Z = js(e, h, m, w, j, S, o, W), {
10864
10865
  onWheel: Q,
10865
- dataGridWidth: me,
10866
+ dataGridWidth: pe,
10866
10867
  viewPortHeight: q,
10867
10868
  viewPortWidth: G,
10868
10869
  updateVisibleRowsOnLatestVisibleScope: R
@@ -10885,11 +10886,11 @@ const bu = /* @__PURE__ */ Ue({
10885
10886
  function Y() {
10886
10887
  var ve, he;
10887
10888
  const Fe = Math.ceil(s.value.clientHeight / r);
10888
- Fe > a.value && (a.value = Fe, R()), q.value = ((ve = f.value) == null ? void 0 : ve.clientHeight) || 0, me.value = ((he = s.value) == null ? void 0 : he.clientWidth) || 0, de();
10889
+ Fe > a.value && (a.value = Fe, R()), q.value = ((ve = f.value) == null ? void 0 : ve.clientHeight) || 0, pe.value = ((he = s.value) == null ? void 0 : he.clientWidth) || 0, de();
10889
10890
  }
10890
10891
  wt(() => {
10891
10892
  n.value.componentInstance = y, s.value && (a.value = Math.max(Math.ceil(s.value.clientHeight / r), a.value), m.value = B(0, S.value + o - 1), On(s.value, Y), de(), Nt(() => {
10892
- s.value && (me.value = s.value.clientWidth), f.value && (G.value = f.value.clientWidth, q.value = f.value.clientHeight);
10893
+ s.value && (pe.value = s.value.clientWidth), f.value && (G.value = f.value.clientWidth, q.value = f.value.clientHeight);
10893
10894
  }));
10894
10895
  });
10895
10896
  function re(Fe) {