@farris/ui-vue 1.6.0-beta.6 → 1.6.0-beta.8

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 (81) 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 +2964 -2937
  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/list-view/index.esm.js +103 -102
  30. package/components/list-view/index.umd.cjs +2 -2
  31. package/components/mapping-editor/index.esm.js +107 -106
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/message-box/index.esm.js +2 -1
  34. package/components/message-box/index.umd.cjs +1 -1
  35. package/components/modal/index.esm.js +2 -1
  36. package/components/modal/index.umd.cjs +1 -1
  37. package/components/number-range/index.esm.js +2 -1
  38. package/components/number-range/index.umd.cjs +1 -1
  39. package/components/number-spinner/index.esm.js +2 -1
  40. package/components/number-spinner/index.umd.cjs +1 -1
  41. package/components/pagination/index.esm.js +276 -282
  42. package/components/pagination/index.umd.cjs +1 -1
  43. package/components/property-panel/index.esm.js +103 -102
  44. package/components/property-panel/index.umd.cjs +2 -2
  45. package/components/query-solution/index.esm.js +2 -1
  46. package/components/query-solution/index.umd.cjs +1 -1
  47. package/components/response-layout/index.esm.js +63 -62
  48. package/components/response-layout/index.umd.cjs +1 -1
  49. package/components/response-layout-editor/index.esm.js +2 -1
  50. package/components/response-layout-editor/index.umd.cjs +1 -1
  51. package/components/schema-selector/index.esm.js +203 -208
  52. package/components/schema-selector/index.umd.cjs +2 -2
  53. package/components/section/index.esm.js +2 -1
  54. package/components/section/index.umd.cjs +1 -1
  55. package/components/sort-condition-editor/index.esm.js +2 -1
  56. package/components/sort-condition-editor/index.umd.cjs +1 -1
  57. package/components/tabs/index.esm.js +2 -1
  58. package/components/tabs/index.umd.cjs +1 -1
  59. package/components/textarea/index.esm.js +2 -1
  60. package/components/textarea/index.umd.cjs +1 -1
  61. package/components/time-picker/index.esm.js +103 -102
  62. package/components/time-picker/index.umd.cjs +1 -1
  63. package/components/tree-grid/index.esm.js +2 -1
  64. package/components/tree-grid/index.umd.cjs +1 -1
  65. package/components/tree-view/index.esm.js +2 -1
  66. package/components/tree-view/index.umd.cjs +1 -1
  67. package/components/video/index.esm.js +2 -1
  68. package/components/video/index.umd.cjs +1 -1
  69. package/designer/button-edit/index.esm.js +2 -1
  70. package/designer/button-edit/index.umd.cjs +1 -1
  71. package/designer/data-grid/index.esm.js +2 -1
  72. package/designer/data-grid/index.umd.cjs +1 -1
  73. package/designer/farris-designer.all.esm.js +4 -9
  74. package/designer/farris-designer.all.umd.cjs +2 -2
  75. package/designer/radio-group/index.esm.js +2 -1
  76. package/designer/radio-group/index.umd.cjs +1 -1
  77. package/farris.all.esm.js +6668 -6647
  78. package/farris.all.umd.cjs +19 -19
  79. package/package.json +1 -1
  80. package/types/data-view/composition/types.d.ts +2 -0
  81. package/types/chs.d.ts +0 -494
@@ -472,13 +472,13 @@ function Xn(e, t, n) {
472
472
  if (v.value) {
473
473
  if (["class", "style"].find((A) => A === T) && !z && (z = o.get("/converter/appearance.converter") || null), z && z.convertFrom)
474
474
  return z.convertFrom(C, g, w, h);
475
- const pe = C[g];
476
- return Object.prototype.hasOwnProperty.call(b, "defaultValue") && (pe === void 0 || typeof pe == "string" && pe === "") ? b.type === "boolean" ? b.defaultValue : b.defaultValue || "" : pe;
475
+ const fe = C[g];
476
+ return Object.prototype.hasOwnProperty.call(b, "defaultValue") && (fe === void 0 || typeof fe == "string" && fe === "") ? b.type === "boolean" ? b.defaultValue : b.defaultValue || "" : fe;
477
477
  }
478
478
  return null;
479
479
  },
480
- set(pe) {
481
- v.value += 1, z && z.convertTo ? (z.convertTo(y, g, pe, w, h), z.convertTo(C, g, pe, w, h)) : (y[g] = pe, C[g] = pe);
480
+ set(fe) {
481
+ v.value += 1, z && z.convertTo ? (z.convertTo(y, g, fe, w, h), z.convertTo(C, g, fe, w, h)) : (y[g] = fe, C[g] = fe);
482
482
  }
483
483
  }), { refreshPanelAfterChanged: N, description: j, isExpand: W, parentPropertyID: Z } = b, J = { propertyID: T, propertyName: S, propertyType: V, propertyValue: H, editor: M, visible: I, readonly: $, cascadeConfig: Y, hideCascadeTitle: D, refreshPanelAfterChanged: N, description: j, isExpand: W, parentPropertyID: Z };
484
484
  return _[T] = J, J;
@@ -1296,14 +1296,14 @@ const $t = /* @__PURE__ */ qe({
1296
1296
  activeRowById: J,
1297
1297
  getCurrentRowId: Z
1298
1298
  });
1299
- function pe(A) {
1299
+ function fe(A) {
1300
1300
  e.multiSelect && (A.preventDefault(), A.stopPropagation());
1301
1301
  }
1302
1302
  return Me(() => e.selectionValues, (A, G) => {
1303
1303
  A !== G && W(A);
1304
1304
  }), () => E("div", {
1305
1305
  class: b.value,
1306
- onClick: pe
1306
+ onClick: fe
1307
1307
  }, [B(), E("div", {
1308
1308
  ref: n,
1309
1309
  class: "f-list-view-content",
@@ -1691,8 +1691,8 @@ function Ja(e, t, n, o, i, a, r, s, u, d, m, l, c) {
1691
1691
  function J(ne) {
1692
1692
  return ne.collapse && e.loadData ? e.loadData(ne) : Promise.resolve();
1693
1693
  }
1694
- function pe(ne) {
1695
- return (ne || []).some((me) => kn(me) ? !(me.type === Comment || me.type === gt && !pe(me.children)) : !0) ? ne : null;
1694
+ function fe(ne) {
1695
+ return (ne || []).some((me) => kn(me) ? !(me.type === Comment || me.type === gt && !fe(me.children)) : !0) ? ne : null;
1696
1696
  }
1697
1697
  function A(ne, me) {
1698
1698
  ne.stopPropagation(), J(me).then(() => {
@@ -1763,7 +1763,7 @@ function Ja(e, t, n, o, i, a, r, s, u, d, m, l, c) {
1763
1763
  return ne.getEditor(ne);
1764
1764
  }
1765
1765
  function oe(ne, me) {
1766
- return t.slots.cellTemplate && pe(t.slots.cellTemplate({
1766
+ return t.slots.cellTemplate && fe(t.slots.cellTemplate({
1767
1767
  cell: me,
1768
1768
  row: ne
1769
1769
  })) ? Ce(me, ne) : me.mode === We.editing ? U(me) : me.formatter ? ge(me, ne) : ke(me);
@@ -2316,7 +2316,7 @@ function nl(e, t, n, o) {
2316
2316
  }), L.value.splice(ge, 0, ...ke);
2317
2317
  }
2318
2318
  }
2319
- function pe(A, G) {
2319
+ function fe(A, G) {
2320
2320
  const L = A[r.value], Q = m.get(L), de = Array.from(Q.descendant.keys());
2321
2321
  de.unshift(L);
2322
2322
  const Te = m.get(Q.parentId);
@@ -2338,7 +2338,7 @@ function nl(e, t, n, o) {
2338
2338
  isVisibleInTree: B,
2339
2339
  shouldStratifyData: a,
2340
2340
  toggleChildrenVisibiltyByCollapseStatus: Y,
2341
- trimmedOriginalData: pe
2341
+ trimmedOriginalData: fe
2342
2342
  };
2343
2343
  }
2344
2344
  const ol = {
@@ -2637,21 +2637,21 @@ function vo(e, t, n, o, i) {
2637
2637
  return (X == null ? void 0 : X.groupFields) || [];
2638
2638
  });
2639
2639
  let Z = /* @__PURE__ */ new Map();
2640
- const J = F(D.value.length), pe = F(e.pagination);
2640
+ const J = F(D.value.length), fe = F(e.pagination);
2641
2641
  function A() {
2642
- return pe.value && pe.value.enable && pe.value.size > 0 ? pe.value.size : D.value.length;
2642
+ return fe.value && fe.value.enable && fe.value.size > 0 ? fe.value.size : D.value.length;
2643
2643
  }
2644
- const G = F(1), L = P(() => pe.value && pe.value.enable && pe.value.mode !== "server"), Q = P(() => pe.value && pe.value.enable && pe.value.mode === "server"), de = new mo();
2644
+ const G = F(1), L = P(() => fe.value && fe.value.enable && fe.value.mode !== "server"), Q = P(() => fe.value && fe.value.enable && fe.value.mode === "server"), de = new mo();
2645
2645
  function Te(X, R) {
2646
2646
  const q = Math.ceil(X.length / R);
2647
2647
  let te = 0;
2648
- const fe = [], Se = [], xe = [];
2648
+ const pe = [], Se = [], xe = [];
2649
2649
  for (; te < q; ) {
2650
2650
  const Fe = X.slice(te * R, (te + 1) * R), Be = p(_.value, Fe, t);
2651
- Se[te] = Be.filter((Oe) => Oe.__fv_data_grid_group_row__).length, fe.push(...Be), te++;
2651
+ Se[te] = Be.filter((Oe) => Oe.__fv_data_grid_group_row__).length, pe.push(...Be), te++;
2652
2652
  }
2653
2653
  return Se.reduce((Fe, Be, Oe) => (Fe = Fe + Be, xe.push(Fe), Fe), 0), {
2654
- groupData: fe,
2654
+ groupData: pe,
2655
2655
  groupRowSizeList: Se,
2656
2656
  accumulateGroupRowSize: xe
2657
2657
  };
@@ -2660,19 +2660,19 @@ function vo(e, t, n, o, i) {
2660
2660
  var Be;
2661
2661
  D.value = y.value, L.value && (J.value = D.value.length), C.value && !L.value && (D.value = p(_.value, y.value, t)), Z = W.value.reduce((Oe, De) => (Oe.set(De, 0), Oe), Z);
2662
2662
  const X = 0, R = A(), q = (G.value - 1) * R;
2663
- let fe = q > D.value.length - 1 || Q.value ? X : q, Se = Q.value ? D.value.length : Math.min(fe + R, D.value.length);
2663
+ let pe = q > D.value.length - 1 || Q.value ? X : q, Se = Q.value ? D.value.length : Math.min(pe + R, D.value.length);
2664
2664
  if (C.value && L.value) {
2665
2665
  const { accumulateGroupRowSize: Oe, groupData: De, groupRowSizeList: Ie } = Te(y.value, R);
2666
2666
  D.value = De;
2667
2667
  const He = Ie[G.value - 1];
2668
- fe += G.value - 2 < 0 ? 0 : Oe[G.value - 2], Se = fe + R + He;
2668
+ pe += G.value - 2 < 0 ? 0 : Oe[G.value - 2], Se = pe + R + He;
2669
2669
  }
2670
2670
  let xe = 0;
2671
2671
  const Fe = [];
2672
2672
  if (D.value.length) {
2673
2673
  $(D.value);
2674
2674
  const Oe = I.value !== e.idField;
2675
- for (let De = fe; De < Se; De++) {
2675
+ for (let De = pe; De < Se; De++) {
2676
2676
  const Ie = D.value[De];
2677
2677
  Ie.__fv_data_grid_group_row__ ? (xe = 0, Ie.__fv_data_index__ = "") : Ie.__fv_data_grid_group_summary__ ? Ie.__fv_data_index__ = "" : (xe++, Ie.__fv_data_index__ = xe + (G.value - 1) * R), Ie.__fv_index__ = De, Ie.__fv_visible_index__ = De, e.rowOption && e.rowOption.disabledField && (Ie.__fv_disabled__ = Ie[(Be = e.rowOption) == null ? void 0 : Be.disabledField]), Oe && (Ie[I.value] = De), W.value.forEach((He) => {
2678
2678
  const Je = Z.get(He) || 0;
@@ -2690,7 +2690,7 @@ function vo(e, t, n, o, i) {
2690
2690
  ke.value.forEach((X, R) => (X.__fv_visible_index__ = R, X));
2691
2691
  }
2692
2692
  function oe(X, R, q = !1) {
2693
- const fe = (q ? Ce() : [...z.value]).filter((Fe) => n.apply(Fe)), Se = X && X.length ? fe.filter((Fe) => X.reduce((Be, Oe) => Be && Oe.filter(Fe), !0)) : fe, xe = R && R.length ? Se.sort((Fe, Be) => {
2693
+ const pe = (q ? Ce() : [...z.value]).filter((Fe) => n.apply(Fe)), Se = X && X.length ? pe.filter((Fe) => X.reduce((Be, Oe) => Be && Oe.filter(Fe), !0)) : pe, xe = R && R.length ? Se.sort((Fe, Be) => {
2694
2694
  const Oe = [...R], De = Oe.shift();
2695
2695
  let Ie = De.compare(Fe[De.field], Be[De.field]);
2696
2696
  for (; Ie === 0 && Oe.length !== 0; ) {
@@ -2728,7 +2728,7 @@ function vo(e, t, n, o, i) {
2728
2728
  function me(X, R) {
2729
2729
  const q = `group_of_${X}_${R}`;
2730
2730
  r.set(q, !0);
2731
- const te = (fe) => fe[X] !== R;
2731
+ const te = (pe) => pe[X] !== R;
2732
2732
  return u.set(`collapse_${X}_${R}`, {
2733
2733
  field: X,
2734
2734
  fieldName: X,
@@ -2773,7 +2773,7 @@ function vo(e, t, n, o, i) {
2773
2773
  y.value = q, Ve();
2774
2774
  }
2775
2775
  function ut(X, R, q) {
2776
- return (X && X.length ? ge.value.filter((fe, Se) => X.reduce((xe, Fe) => xe && Fe.filter(fe), !0)) : ge.value).slice(R, q);
2776
+ return (X && X.length ? ge.value.filter((pe, Se) => X.reduce((xe, Fe) => xe && Fe.filter(pe), !0)) : ge.value).slice(R, q);
2777
2777
  }
2778
2778
  function xt(X) {
2779
2779
  const R = A(), q = Math.ceil(J.value / R);
@@ -2819,10 +2819,10 @@ function vo(e, t, n, o, i) {
2819
2819
  return oe(X, Array.from(m.values()));
2820
2820
  }
2821
2821
  function Le(X) {
2822
- pe.value.size = X;
2822
+ fe.value.size = X;
2823
2823
  }
2824
2824
  function Xe(X) {
2825
- pe.value && (Le(X), Ve());
2825
+ fe.value && (Le(X), Ve());
2826
2826
  }
2827
2827
  function tt(X, R) {
2828
2828
  const q = y.value[Number(X) - 1];
@@ -2835,7 +2835,7 @@ function vo(e, t, n, o, i) {
2835
2835
  }
2836
2836
  function mt(X) {
2837
2837
  return X.map((q) => {
2838
- const te = z.value.findIndex((fe) => "" + fe[I.value] == "" + q);
2838
+ const te = z.value.findIndex((pe) => "" + pe[I.value] == "" + q);
2839
2839
  return te > -1 ? z.value[te] : null;
2840
2840
  }).filter((q) => q != null);
2841
2841
  }
@@ -2894,7 +2894,8 @@ function vo(e, t, n, o, i) {
2894
2894
  unFold: Pe,
2895
2895
  updateDataView: Ve,
2896
2896
  visibleDataItems: ke,
2897
- shouldGroupingData: C
2897
+ shouldGroupingData: C,
2898
+ pagination: fe
2898
2899
  };
2899
2900
  }
2900
2901
  const ho = {
@@ -4871,7 +4872,7 @@ var Xl = { exports: {} };
4871
4872
  function l(S, V) {
4872
4873
  var B = arguments.length;
4873
4874
  B === 1 && Array.isArray(S) === !1 && (V = S, S = []);
4874
- var M, I, $, Y, D, z, H, N, j, W = null, Z, J, pe = !1, A = 0, G, L = V || {};
4875
+ var M, I, $, Y, D, z, H, N, j, W = null, Z, J, fe = !1, A = 0, G, L = V || {};
4875
4876
  L.moves === void 0 && (L.moves = w), L.accepts === void 0 && (L.accepts = w), L.invalid === void 0 && (L.invalid = ne), L.containers === void 0 && (L.containers = S || []), L.isContainer === void 0 && (L.isContainer = y), L.copy === void 0 && (L.copy = !1), L.copySortSource === void 0 && (L.copySortSource = !1), L.revertOnSpill === void 0 && (L.revertOnSpill = !1), L.removeOnSpill === void 0 && (L.removeOnSpill = !1), L.direction === void 0 && (L.direction = "vertical"), L.ignoreInputTextSelection === void 0 && (L.ignoreInputTextSelection = !0), L.mirrorContainer === void 0 && (L.mirrorContainer = d.body);
4876
4877
  var Q = r({
4877
4878
  containers: L.containers,
@@ -4909,8 +4910,8 @@ var Xl = { exports: {} };
4909
4910
  Y = R.clientX, D = R.clientY;
4910
4911
  var q = _(R) !== 1 || R.metaKey || R.ctrlKey;
4911
4912
  if (!q) {
4912
- var te = R.target, fe = we(te);
4913
- fe && (Z = fe, Ce(), R.type === "mousedown" && (g(te) ? te.focus() : R.preventDefault()));
4913
+ var te = R.target, pe = we(te);
4914
+ pe && (Z = pe, Ce(), R.type === "mousedown" && (g(te) ? te.focus() : R.preventDefault()));
4914
4915
  }
4915
4916
  }
4916
4917
  function ce(R) {
@@ -4921,8 +4922,8 @@ var Xl = { exports: {} };
4921
4922
  }
4922
4923
  if (!(R.clientX !== void 0 && Math.abs(R.clientX - Y) <= (L.slideFactorX || 0) && R.clientY !== void 0 && Math.abs(R.clientY - D) <= (L.slideFactorY || 0))) {
4923
4924
  if (L.ignoreInputTextSelection) {
4924
- var q = O("clientX", R) || 0, te = O("clientY", R) || 0, fe = d.elementFromPoint(q, te);
4925
- if (g(fe))
4925
+ var q = O("clientX", R) || 0, te = O("clientY", R) || 0, pe = d.elementFromPoint(q, te);
4926
+ if (g(pe))
4926
4927
  return;
4927
4928
  }
4928
4929
  var Se = Z;
@@ -4937,8 +4938,8 @@ var Xl = { exports: {} };
4937
4938
  return;
4938
4939
  var te = x(R);
4939
4940
  if (te && !L.invalid(R, q)) {
4940
- var fe = L.moves(R, te, q, T(R));
4941
- if (fe)
4941
+ var pe = L.moves(R, te, q, T(R));
4942
+ if (pe)
4942
4943
  return {
4943
4944
  item: R,
4944
4945
  source: te
@@ -4970,7 +4971,7 @@ var Xl = { exports: {} };
4970
4971
  }
4971
4972
  function je(R) {
4972
4973
  if (Ne(), !!Q.dragging) {
4973
- var q = N || $, te = O("clientX", R) || 0, fe = O("clientY", R) || 0, Se = C(M, te, fe), xe = ot(Se, te, fe);
4974
+ var q = N || $, te = O("clientX", R) || 0, pe = O("clientY", R) || 0, Se = C(M, te, pe), xe = ot(Se, te, pe);
4974
4975
  xe && (N && L.copySortSource || !N || xe !== I) ? Re(q, xe) : L.removeOnSpill ? K() : be();
4975
4976
  }
4976
4977
  }
@@ -4986,8 +4987,8 @@ var Xl = { exports: {} };
4986
4987
  }
4987
4988
  function be(R) {
4988
4989
  if (Q.dragging) {
4989
- var q = arguments.length > 0 ? R : L.revertOnSpill, te = N || $, fe = x(te), Se = Ve(fe);
4990
- Se === !1 && q && (N ? fe && fe.removeChild(N) : I.insertBefore(te, z)), Se || q ? Q.emit("cancel", te, I, I) : Q.emit("drop", te, fe, I, H), Pe();
4990
+ var q = arguments.length > 0 ? R : L.revertOnSpill, te = N || $, pe = x(te), Se = Ve(pe);
4991
+ Se === !1 && q && (N ? pe && pe.removeChild(N) : I.insertBefore(te, z)), Se || q ? Q.emit("cancel", te, I, I) : Q.emit("drop", te, pe, I, H), Pe();
4991
4992
  }
4992
4993
  }
4993
4994
  function Pe() {
@@ -4999,15 +5000,15 @@ var Xl = { exports: {} };
4999
5000
  return q !== void 0 ? te = q : M ? te = H : te = T(N || $), R === I && te === z;
5000
5001
  }
5001
5002
  function ot(R, q, te) {
5002
- for (var fe = R; fe && !Se(); )
5003
- fe = x(fe);
5004
- return fe;
5003
+ for (var pe = R; pe && !Se(); )
5004
+ pe = x(pe);
5005
+ return pe;
5005
5006
  function Se() {
5006
- var xe = de(fe);
5007
+ var xe = de(pe);
5007
5008
  if (xe === !1)
5008
5009
  return !1;
5009
- var Fe = ye(fe, R), Be = rt(fe, Fe, q, te), Oe = Ve(fe, Be);
5010
- return Oe ? !0 : L.accepts($, fe, I, Be);
5010
+ var Fe = ye(pe, R), Be = rt(pe, Fe, q, te), Oe = Ve(pe, Be);
5011
+ return Oe ? !0 : L.accepts($, pe, I, Be);
5011
5012
  }
5012
5013
  }
5013
5014
  function ut(R) {
@@ -5016,25 +5017,25 @@ var Xl = { exports: {} };
5016
5017
  R.preventDefault();
5017
5018
  var q = O("clientX", R) || 0, te = O("clientY", R) || 0;
5018
5019
  M.style.left = q - 2 + "px", M.style.top = te - 2 + "px";
5019
- var fe = N || $, Se = C(M, q, te), xe = ot(Se, q, te), Fe = xe !== null && xe !== W;
5020
+ var pe = N || $, Se = C(M, q, te), xe = ot(Se, q, te), Fe = xe !== null && xe !== W;
5020
5021
  (Fe || xe === null) && (Je(), W = xe, He()), mt(Se, te);
5021
- var Be = x(fe);
5022
+ var Be = x(pe);
5022
5023
  if (xe === I && N && !L.copySortSource) {
5023
- Be && Be.removeChild(fe);
5024
+ Be && Be.removeChild(pe);
5024
5025
  return;
5025
5026
  }
5026
5027
  var Oe, De = ye(xe, Se);
5027
- if (pe = $e(De, xe), De !== null)
5028
+ if (fe = $e(De, xe), De !== null)
5028
5029
  Oe = rt(xe, De, q, te);
5029
5030
  else if (L.revertOnSpill === !0 && !N)
5030
5031
  Oe = z, xe = I;
5031
5032
  else {
5032
- N && Be && Be.removeChild(fe), N && J && (J.style.display = "none");
5033
+ N && Be && Be.removeChild(pe), N && J && (J.style.display = "none");
5033
5034
  return;
5034
5035
  }
5035
- J.style.display = "block", xt(Oe, fe, Fe), Oe ? Xe(De, Oe) : tt(xe);
5036
+ J.style.display = "block", xt(Oe, pe, Fe), Oe ? Xe(De, Oe) : tt(xe);
5036
5037
  function Ie(Ue) {
5037
- Q.emit(Ue, fe, W, I);
5038
+ Q.emit(Ue, pe, W, I);
5038
5039
  }
5039
5040
  function He() {
5040
5041
  Fe && Ie("over");
@@ -5060,7 +5061,7 @@ var Xl = { exports: {} };
5060
5061
  var R = $.getBoundingClientRect();
5061
5062
  J.style.left = R.left + "px", J.style.top = R.top + "px";
5062
5063
  }
5063
- pe = !1, L.mirrorContainer.appendChild(J);
5064
+ fe = !1, L.mirrorContainer.appendChild(J);
5064
5065
  }
5065
5066
  function ie() {
5066
5067
  M && (u.rm(L.mirrorContainer, "gu-unselectable"), p(m, "remove", "mousemove", ut), x(M).removeChild(M), M = null);
@@ -5075,11 +5076,11 @@ var Xl = { exports: {} };
5075
5076
  }
5076
5077
  function $e(R, q) {
5077
5078
  if (!q)
5078
- return pe;
5079
+ return fe;
5079
5080
  var te = R || q && q.lastElementChild;
5080
5081
  if (!te)
5081
5082
  return !0;
5082
- var fe = getComputedStyle(R), Se = /^inline/.test(fe.getPropertyValue("display")) || /^(left|right)$/.test(fe.getPropertyValue("float"));
5083
+ var pe = getComputedStyle(R), Se = /^inline/.test(pe.getPropertyValue("display")) || /^(left|right)$/.test(pe.getPropertyValue("float"));
5083
5084
  if (Se)
5084
5085
  return !0;
5085
5086
  if (q) {
@@ -5097,10 +5098,10 @@ var Xl = { exports: {} };
5097
5098
  if (!R.children || !R.children.length)
5098
5099
  return !1;
5099
5100
  for (const q of Array.from(R.children)) {
5100
- const fe = (q.className && q.className.split(" ") || []).filter((Se) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Se));
5101
- if (!fe.length)
5101
+ const pe = (q.className && q.className.split(" ") || []).filter((Se) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Se));
5102
+ if (!pe.length)
5102
5103
  return !1;
5103
- for (const Se of fe) {
5104
+ for (const Se of pe) {
5104
5105
  const xe = Se.slice(Se.lastIndexOf("-") + 1);
5105
5106
  if (parseInt(xe, 10) !== 12)
5106
5107
  return !1;
@@ -5110,14 +5111,14 @@ var Xl = { exports: {} };
5110
5111
  }
5111
5112
  function Xe(R, q) {
5112
5113
  const te = q.getBoundingClientRect();
5113
- if (J.style.left = te.left + "px", J.style.top = te.top + "px", pe) {
5114
+ if (J.style.left = te.left + "px", J.style.top = te.top + "px", fe) {
5114
5115
  if (J.style.height = te.height + "px", J.style.width = "4px", R) {
5115
- const fe = R.getBoundingClientRect();
5116
- fe.top !== te.top && (J.style.left = fe.right + "px", J.style.top = fe.top + "px", J.style.height = fe.height + "px");
5116
+ const pe = R.getBoundingClientRect();
5117
+ pe.top !== te.top && (J.style.left = pe.right + "px", J.style.top = pe.top + "px", J.style.height = pe.height + "px");
5117
5118
  }
5118
5119
  } else if (J.style.height = "4px", J.style.width = te.width + "px", G) {
5119
- const fe = G.getBoundingClientRect();
5120
- te.top < fe.top && (J.style.display = "none");
5120
+ const pe = G.getBoundingClientRect();
5121
+ te.top < pe.top && (J.style.display = "none");
5121
5122
  }
5122
5123
  q === $ && $ && (J.style.display = "none");
5123
5124
  }
@@ -5126,41 +5127,41 @@ var Xl = { exports: {} };
5126
5127
  var q = R.lastElementChild;
5127
5128
  if (q) {
5128
5129
  var te = q.getBoundingClientRect();
5129
- pe ? (J.style.left = te.right + "px", J.style.top = te.top + "px", J.style.height = te.height + "px", J.style.width = "4px") : (J.style.left = te.left + "px", J.style.top = te.bottom + "px", J.style.height = "4px", J.style.width = te.width + "px"), q === $ && $ && (J.style.display = "none");
5130
+ fe ? (J.style.left = te.right + "px", J.style.top = te.top + "px", J.style.height = te.height + "px", J.style.width = "4px") : (J.style.left = te.left + "px", J.style.top = te.bottom + "px", J.style.height = "4px", J.style.width = te.width + "px"), q === $ && $ && (J.style.display = "none");
5130
5131
  } else
5131
5132
  J.style.display = "none";
5132
5133
  }
5133
5134
  function mt(R, q) {
5134
5135
  if (!L.mirrorContainer.contains(R) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (G = c(R), !G || !G.contains(R)))
5135
5136
  return;
5136
- const te = document.querySelector(".dgComponentSelected"), fe = G.getBoundingClientRect();
5137
- if (q - 30 < fe.top && G.scrollTop > 0) {
5137
+ const te = document.querySelector(".dgComponentSelected"), pe = G.getBoundingClientRect();
5138
+ if (q - 30 < pe.top && G.scrollTop > 0) {
5138
5139
  let Se = G.scrollTop < 10 ? G.scrollTop : 10;
5139
5140
  G.scrollBy(0, -1 * Se), te && G.contains(te) && (A = A + -1 * Se);
5140
5141
  }
5141
- if (q + 30 > fe.bottom && G.scrollTop < G.scrollHeight - G.clientHeight) {
5142
+ if (q + 30 > pe.bottom && G.scrollTop < G.scrollHeight - G.clientHeight) {
5142
5143
  const Se = G.scrollHeight - G.clientHeight - G.scrollTop;
5143
5144
  let xe = Se < 10 ? Se : 10;
5144
5145
  G.scrollBy(0, xe), te && G.contains(te) && (A = A + xe);
5145
5146
  }
5146
5147
  }
5147
- function rt(R, q, te, fe) {
5148
+ function rt(R, q, te, pe) {
5148
5149
  var Se = L.direction === "horizontal", xe = L.direction === "mixed", Fe = q !== R ? Oe() : Be();
5149
5150
  return Fe;
5150
5151
  function Be() {
5151
5152
  var Ie = R.children.length, He, Je, Ue;
5152
5153
  for (He = 0; He < Ie; He++)
5153
- if (Je = R.children[He], Ue = Je.getBoundingClientRect(), Se && Ue.left + Ue.width / 2 > te || !xe && !Se && Ue.top + Ue.height / 2 > fe || xe && Ue.left + Ue.width > te && Ue.top + Ue.height > fe)
5154
+ if (Je = R.children[He], Ue = Je.getBoundingClientRect(), Se && Ue.left + Ue.width / 2 > te || !xe && !Se && Ue.top + Ue.height / 2 > pe || xe && Ue.left + Ue.width > te && Ue.top + Ue.height > pe)
5154
5155
  return Je;
5155
5156
  return null;
5156
5157
  }
5157
5158
  function Oe() {
5158
5159
  var Ie = q.getBoundingClientRect();
5159
5160
  if (xe) {
5160
- var He = fe - Ie.top, Je = te - Ie.left, Ue = Ie.bottom - fe, Bt = Ie.right - te, Nt = Math.min(Je, Bt, He, Ue), he;
5161
- return pe ? he = Bt < Je : he = Ue === Nt || Bt === Nt || Je === Nt, De(he);
5161
+ var He = pe - Ie.top, Je = te - Ie.left, Ue = Ie.bottom - pe, Bt = Ie.right - te, Nt = Math.min(Je, Bt, He, Ue), he;
5162
+ return fe ? he = Bt < Je : he = Ue === Nt || Bt === Nt || Je === Nt, De(he);
5162
5163
  }
5163
- return De(Se ? te > Ie.left + h(Ie) / 2 : fe > Ie.top + k(Ie) / 2);
5164
+ return De(Se ? te > Ie.left + h(Ie) / 2 : pe > Ie.top + k(Ie) / 2);
5164
5165
  }
5165
5166
  function De(Ie) {
5166
5167
  return Ie ? T(q) : q;
@@ -6592,11 +6593,11 @@ const Ut = /* @__PURE__ */ qe({
6592
6593
  updateColumnRenderContext: z
6593
6594
  } = I;
6594
6595
  Y(g, $);
6595
- const H = wr(e, D), N = Pn(e, t, T, r), j = jn(e, t, r, N, f), W = Ln(e), Z = Hn(e, j, W), J = An(e, g, j, w, r, W, Z), pe = Wn(e, a, g, S, 0, J), {
6596
+ const H = wr(e, D), N = Pn(e, t, T, r), j = jn(e, t, r, N, f), W = Ln(e), Z = Hn(e, j, W), J = An(e, g, j, w, r, W, Z), fe = Wn(e, a, g, S, 0, J), {
6596
6597
  getVisualData: A
6597
- } = pe, G = Sr(e, D), L = _r(e, T), {
6598
+ } = fe, G = Sr(e, D), L = _r(e, T), {
6598
6599
  sidebarWidth: Q
6599
- } = L, de = xr(e, g, f, D, pe, S, 0, Q), {
6600
+ } = L, de = xr(e, g, f, D, fe, S, 0, Q), {
6600
6601
  onWheel: Te,
6601
6602
  dataGridWidth: Ce,
6602
6603
  viewPortHeight: ge,
@@ -6616,7 +6617,7 @@ const Ut = /* @__PURE__ */ qe({
6616
6617
  "fv-grid-wrap-content": _.value
6617
6618
  })), {
6618
6619
  renderDataArea: Ne
6619
- } = fs(e, t, m, l, c, G, I, g, j, w, N, T, b, de, pe, W, f), {
6620
+ } = fs(e, t, m, l, c, G, I, g, j, w, N, T, b, de, fe, W, f), {
6620
6621
  renderGridHeader: je,
6621
6622
  renderGridColumnResizeOverlay: Re,
6622
6623
  shouldShowHeader: K
@@ -6707,7 +6708,7 @@ const Ut = /* @__PURE__ */ qe({
6707
6708
  function te() {
6708
6709
  T.clearSelection();
6709
6710
  }
6710
- const fe = P(() => !f.value || !f.value.length), {
6711
+ const pe = P(() => !f.value || !f.value.length), {
6711
6712
  renderEmpty: Se
6712
6713
  } = Nr(t);
6713
6714
  function xe() {
@@ -6804,7 +6805,7 @@ const Ut = /* @__PURE__ */ qe({
6804
6805
  onMouseover: () => p.value = !0,
6805
6806
  onMouseleave: () => p.value = !1,
6806
6807
  style: Je.value
6807
- }, [d.value && be(f), d.value && Ne(), d.value && fe.value && Se(), d.value && Ve(), d.value && ot()]), Re(), O.value && Pe()]);
6808
+ }, [d.value && be(f), d.value && Ne(), d.value && pe.value && Se(), d.value && Ve(), d.value && ot()]), Re(), O.value && Pe()]);
6808
6809
  }
6809
6810
  }), ps = {
6810
6811
  id: { type: String, default: "" },
@@ -6901,14 +6902,14 @@ const ln = /* @__PURE__ */ qe({
6901
6902
  }, H), H;
6902
6903
  });
6903
6904
  function g(H, N) {
6904
- var Z, J, pe;
6905
+ var Z, J, fe;
6905
6906
  if (H && (H.preventDefault(), H.stopPropagation()), (Z = w == null ? void 0 : w.designerContext) != null && Z.checkCanDeleteControl && !w.designerContext.checkCanDeleteControl(N))
6906
6907
  return;
6907
6908
  if (f.value.triggerBelongedComponentToDeleteWhenDeleted) {
6908
6909
  const A = f.value.getBelongedComponentInstance(f);
6909
6910
  if (A && A.parent) {
6910
6911
  const G = F(A == null ? void 0 : A.parent), L = G.value.contents.findIndex((Q) => Q.id === A.schema.id);
6911
- (pe = (J = G.value) == null ? void 0 : J.contents) == null || pe.splice(L, 1), Wt.value++;
6912
+ (fe = (J = G.value) == null ? void 0 : J.contents) == null || fe.splice(L, 1), Wt.value++;
6912
6913
  }
6913
6914
  return;
6914
6915
  }
@@ -6972,7 +6973,7 @@ const ln = /* @__PURE__ */ qe({
6972
6973
  let N;
6973
6974
  const j = H.type, W = Ul[j], Z = Yl[j], J = Z ? Z(H) : {};
6974
6975
  J.customClass = e.ignore ? J.customClass : "", J.componentId = s.value, J.id = H.id;
6975
- const pe = H.contents && H.contents.length === 0;
6976
+ const fe = H.contents && H.contents.length === 0;
6976
6977
  return H.contents && !!H.contents.length && W ? E(W, Mt({
6977
6978
  ref: f
6978
6979
  }, J), hs(N = H.contents.map((G) => E(ln, {
@@ -6984,7 +6985,7 @@ const ln = /* @__PURE__ */ qe({
6984
6985
  onDragEnd: V
6985
6986
  }, null))) ? N : {
6986
6987
  default: () => [N]
6987
- }) : W ? pe ? E(W, Mt({
6988
+ }) : W ? fe ? E(W, Mt({
6988
6989
  ref: f
6989
6990
  }, J), {
6990
6991
  default: () => [E(vs, null, null)]
@@ -7682,7 +7683,7 @@ const xs = /* @__PURE__ */ qe({
7682
7683
  m.value = N(0, x.value + o - 1);
7683
7684
  const Z = zu(e, h, m, S, H, x, o, W), {
7684
7685
  onWheel: J,
7685
- dataGridWidth: pe,
7686
+ dataGridWidth: fe,
7686
7687
  viewPortHeight: A,
7687
7688
  viewPortWidth: G,
7688
7689
  updateVisibleRowsOnLatestVisibleScope: L
@@ -7705,11 +7706,11 @@ const xs = /* @__PURE__ */ qe({
7705
7706
  function U() {
7706
7707
  var Ae, Ye;
7707
7708
  const _e = Math.ceil(u.value.clientHeight / i);
7708
- _e > a.value && (a.value = _e, L()), A.value = ((Ae = d.value) == null ? void 0 : Ae.clientHeight) || 0, pe.value = ((Ye = u.value) == null ? void 0 : Ye.clientWidth) || 0, de();
7709
+ _e > a.value && (a.value = _e, L()), A.value = ((Ae = d.value) == null ? void 0 : Ae.clientHeight) || 0, fe.value = ((Ye = u.value) == null ? void 0 : Ye.clientWidth) || 0, de();
7709
7710
  }
7710
7711
  St(() => {
7711
7712
  n.value.componentInstance = C, u.value && (a.value = Math.max(Math.ceil(u.value.clientHeight / i), a.value), m.value = N(0, x.value + o - 1), Gn(u.value, U), de(), Jt(() => {
7712
- u.value && (pe.value = u.value.clientWidth), d.value && (G.value = d.value.clientWidth, A.value = d.value.clientHeight);
7713
+ u.value && (fe.value = u.value.clientWidth), d.value && (G.value = d.value.clientWidth, A.value = d.value.clientHeight);
7713
7714
  }));
7714
7715
  });
7715
7716
  function oe(_e) {
@@ -8546,7 +8547,7 @@ const Vt = /* @__PURE__ */ qe({
8546
8547
  isMaximized: B.value
8547
8548
  });
8548
8549
  });
8549
- const J = P(() => (i.value && document.body.classList.add("modal-open"), i.value)), pe = P(() => {
8550
+ const J = P(() => (i.value && document.body.classList.add("modal-open"), i.value)), fe = P(() => {
8550
8551
  var Pe;
8551
8552
  const K = {
8552
8553
  modal: !0,
@@ -8726,7 +8727,7 @@ const Vt = /* @__PURE__ */ qe({
8726
8727
  }, {
8727
8728
  default: () => [E("div", {
8728
8729
  ref: h,
8729
- class: pe.value,
8730
+ class: fe.value,
8730
8731
  style: L.value,
8731
8732
  onClick: Ne
8732
8733
  }, [je()])]
@@ -10185,7 +10186,7 @@ function zu(e, t, n, o, i, a, r, s, u) {
10185
10186
  function J() {
10186
10187
  b.value && (k = z(Math.abs(w.value)), x = k + a.value - 1, (k < f.value || x > c.value - r / 2) && N());
10187
10188
  }
10188
- function pe(ie) {
10189
+ function fe(ie) {
10189
10190
  let ve = w.value + ie;
10190
10191
  ve > $ && (ve = $);
10191
10192
  const ye = B();
@@ -10212,7 +10213,7 @@ function zu(e, t, n, o, i, a, r, s, u) {
10212
10213
  Me([T, p], () => {
10213
10214
  A(0);
10214
10215
  }), Me(v, (ie, ve) => {
10215
- ie !== ve && ie >= d.value.length * y && pe(0);
10216
+ ie !== ve && ie >= d.value.length * y && fe(0);
10216
10217
  });
10217
10218
  function de(ie) {
10218
10219
  let { deltaX: ve } = ie, ye = -1 * ie.deltaY;
@@ -10223,7 +10224,7 @@ function zu(e, t, n, o, i, a, r, s, u) {
10223
10224
  return;
10224
10225
  ie.preventDefault(), ie.stopPropagation();
10225
10226
  const { deltaX: ve, deltaY: ye } = de(ie);
10226
- pe(ye), A(ve);
10227
+ fe(ye), A(ve);
10227
10228
  }
10228
10229
  const Ce = P(() => ({
10229
10230
  height: `${d.value.length * y}px`,
@@ -10281,7 +10282,7 @@ function zu(e, t, n, o, i, a, r, s, u) {
10281
10282
  const ve = K.value - ie.pageY, ye = B(), $e = ye - M.value;
10282
10283
  if (Math.abs(ve) <= $e) {
10283
10284
  const Le = ve / (v.value - M.value) * (ye - v.value);
10284
- pe(Le), K.value = ie.pageY;
10285
+ fe(Le), K.value = ie.pageY;
10285
10286
  }
10286
10287
  }
10287
10288
  }
@@ -10299,13 +10300,13 @@ function zu(e, t, n, o, i, a, r, s, u) {
10299
10300
  function yt(ie) {
10300
10301
  const ve = d.value.length * y - v.value;
10301
10302
  let ye = ie * y;
10302
- ye >= ve && (ye = ve), pe(-ye - w.value);
10303
+ ye >= ve && (ye = ve), fe(-ye - w.value);
10303
10304
  }
10304
10305
  function pt() {
10305
10306
  yt(d.value.length);
10306
10307
  }
10307
10308
  function Ft(ie) {
10308
- pe(ie - w.value);
10309
+ fe(ie - w.value);
10309
10310
  }
10310
10311
  return {
10311
10312
  dataGridWidth: g,
@@ -10618,17 +10619,17 @@ function Go(e, t, n, o, i, a, r) {
10618
10619
  checked: D,
10619
10620
  disabled: H,
10620
10621
  indeterminate: z,
10621
- setRef: (pe) => {
10622
- j.ref = pe;
10622
+ setRef: (fe) => {
10623
+ j.ref = fe;
10623
10624
  },
10624
10625
  visible: Y && N || Y && !e.hierarchy,
10625
10626
  status: ft.initial,
10626
- updateCell: (pe, A) => {
10627
- p(pe, v, j, A), t.updateSummary();
10627
+ updateCell: (fe, A) => {
10628
+ p(fe, v, j, A), t.updateSummary();
10628
10629
  },
10629
- updateCells: (pe, A) => {
10630
+ updateCells: (fe, A) => {
10630
10631
  A.forEach((G) => {
10631
- p(pe, v, j, G);
10632
+ p(fe, v, j, G);
10632
10633
  });
10633
10634
  }
10634
10635
  };
@@ -10815,10 +10816,10 @@ function qo(e, t, n, o, i) {
10815
10816
  selectOnCreated: e.selectOnEditingCell,
10816
10817
  editor: J,
10817
10818
  modelValue: N.editingData,
10818
- "onUpdate:modelValue": (pe) => N.editingData = pe,
10819
+ "onUpdate:modelValue": (fe) => N.editingData = fe,
10819
10820
  id: j.id,
10820
- onMousedown: (pe) => O(pe),
10821
- onMouseup: (pe) => S(pe)
10821
+ onMousedown: (fe) => O(fe),
10822
+ onMouseup: (fe) => S(fe)
10822
10823
  }, null)) : N.data;
10823
10824
  }
10824
10825
  function D() {
@@ -11081,7 +11082,7 @@ function Xo(e, t, n, o, i) {
11081
11082
  function J(U) {
11082
11083
  U.__fv_checked__ = !1, U.__fv_indeterminate__ = !0, p.value = p.value.filter((oe) => oe !== U[a.value]);
11083
11084
  }
11084
- function pe(U) {
11085
+ function fe(U) {
11085
11086
  const oe = U.raw;
11086
11087
  oe.__fv_checked__ = !1, oe.__fv_indeterminate__ = !0, p.value = p.value.filter((ce) => ce !== oe[a.value]), U.checked = !1, U.indeterminate = !0;
11087
11088
  }
@@ -11152,7 +11153,7 @@ function Xo(e, t, n, o, i) {
11152
11153
  findIndexInSelectedItems: Y,
11153
11154
  getSelectedItems: w,
11154
11155
  getSelectionRow: ke,
11155
- indeterminate: pe,
11156
+ indeterminate: fe,
11156
11157
  indeterminateDataItem: J,
11157
11158
  isSelectingHirarchyItem: v,
11158
11159
  multiSelectMode: l,