@farris/ui-vue 1.5.0-beta.0 → 1.5.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/components/avatar/index.esm.js +897 -901
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/combo-list/index.esm.js +483 -487
  4. package/components/combo-list/index.umd.cjs +1 -1
  5. package/components/component/index.esm.js +482 -486
  6. package/components/component/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +543 -547
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/content-container/index.esm.js +619 -623
  10. package/components/content-container/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +439 -440
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +423 -425
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/designer-canvas/index.esm.js +529 -533
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +723 -727
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/events-editor/index.esm.js +504 -508
  20. package/components/events-editor/index.umd.cjs +1 -1
  21. package/components/expression-editor/index.esm.js +679 -683
  22. package/components/expression-editor/index.umd.cjs +4 -4
  23. package/components/filter-bar/index.esm.js +503 -507
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/filter-condition-editor/index.esm.js +557 -561
  26. package/components/filter-condition-editor/index.umd.cjs +4 -4
  27. package/components/flow-canvas/index.esm.js +327 -331
  28. package/components/flow-canvas/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +502 -506
  30. package/components/list-view/index.umd.cjs +2 -2
  31. package/components/mapping-editor/index.esm.js +347 -348
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/number-range/index.esm.js +479 -483
  34. package/components/number-range/index.umd.cjs +1 -1
  35. package/components/number-spinner/index.esm.js +1037 -1041
  36. package/components/number-spinner/index.umd.cjs +1 -1
  37. package/components/order/index.esm.js +1238 -1242
  38. package/components/order/index.umd.cjs +2 -2
  39. package/components/pagination/index.esm.js +94 -91
  40. package/components/pagination/index.umd.cjs +1 -1
  41. package/components/property-panel/index.esm.js +534 -538
  42. package/components/property-panel/index.umd.cjs +2 -2
  43. package/components/query-solution/index.esm.js +785 -789
  44. package/components/query-solution/index.umd.cjs +5 -5
  45. package/components/response-layout/index.esm.js +710 -714
  46. package/components/response-layout/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +701 -702
  48. package/components/schema-selector/index.umd.cjs +3 -3
  49. package/components/section/index.esm.js +502 -506
  50. package/components/section/index.umd.cjs +1 -1
  51. package/components/sort-condition-editor/index.esm.js +556 -560
  52. package/components/sort-condition-editor/index.umd.cjs +4 -4
  53. package/components/textarea/index.esm.js +480 -484
  54. package/components/textarea/index.umd.cjs +2 -2
  55. package/components/time-picker/index.esm.js +594 -598
  56. package/components/time-picker/index.umd.cjs +1 -1
  57. package/components/tooltip/index.esm.js +189 -179
  58. package/components/tooltip/index.umd.cjs +1 -1
  59. package/components/tree-grid/index.esm.js +463 -467
  60. package/components/tree-grid/index.umd.cjs +1 -1
  61. package/components/tree-view/index.esm.js +629 -633
  62. package/components/tree-view/index.umd.cjs +1 -1
  63. package/components/video/index.esm.js +632 -636
  64. package/components/video/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +2583 -2569
  66. package/farris.all.umd.cjs +11 -11
  67. package/index.css +1 -1
  68. package/package.json +1 -1
@@ -1,9 +1,10 @@
1
1
  var xr = Object.defineProperty;
2
2
  var _r = (n, t, e) => t in n ? xr(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var H = (n, t, e) => _r(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { useGuid as Sr, resolveField as mt, FormSchemaEntityFieldTypeName as Nn, getCustomClass as mn, withInstall as Un, useCommonUtils as Tr, useDateFormat as kr, useNumberFormat as Fr, setFieldValue as gn } from "../common/index.esm.js";
5
- import { ref as S, watch as Ie, createVNode as E, createTextVNode as Ht, computed as q, defineComponent as dt, Fragment as Gt, reactive as Et, createApp as Xn, onUnmounted as en, onMounted as Lt, Transition as Qn, mergeProps as Wt, onBeforeUnmount as Kn, withDirectives as Er, resolveDirective as Or, nextTick as tn, inject as $t, provide as Mr, triggerRef as Ir, isVNode as Jn, onBeforeMount as Dr, Teleport as Br, shallowRef as Pr, render as pn, h as Nr, cloneVNode as Vr, Comment as Rr } from "vue";
4
+ import { useGuid as Sr, resolveField as mt, FormSchemaEntityFieldTypeName as Nn, getCustomClass as mn, withInstall as Yn, useCommonUtils as Tr, useDateFormat as kr, useNumberFormat as Fr, setFieldValue as gn } from "../common/index.esm.js";
5
+ import { ref as S, watch as Ie, createVNode as E, createTextVNode as Ht, computed as z, defineComponent as dt, Fragment as Gt, reactive as Et, createApp as Un, onUnmounted as en, onMounted as Lt, Transition as Xn, mergeProps as Wt, onBeforeUnmount as Qn, withDirectives as Er, resolveDirective as Or, nextTick as tn, inject as $t, provide as Mr, triggerRef as Ir, isVNode as Kn, onBeforeMount as Dr, Teleport as Br, shallowRef as Pr, render as pn, h as Nr, cloneVNode as Vr, Comment as Rr } from "vue";
6
6
  import { useResizeObserver as _n } from "@vueuse/core";
7
+ import Jn from "../tooltip/index.esm.js";
7
8
  import "../modal/index.esm.js";
8
9
  import Hr from "../transfer/index.esm.js";
9
10
  import Wr from "../tabs/index.esm.js";
@@ -11,8 +12,7 @@ import Lr from "../order/index.esm.js";
11
12
  import "../condition/index.esm.js";
12
13
  import { FCheckbox as jr } from "../checkbox/index.esm.js";
13
14
  import $r from "../filter-bar/index.esm.js";
14
- import Vn from "../tooltip/index.esm.js";
15
- import { isUndefined as gt, cloneDeep as Dt, isPlainObject as Rn, throttle as Ar } from "lodash-es";
15
+ import { isUndefined as gt, cloneDeep as Dt, isPlainObject as Vn, throttle as Ar } from "lodash-es";
16
16
  import Gr from "../pagination/index.esm.js";
17
17
  import zr from "../button/index.esm.js";
18
18
  import qr from "../search-box/index.esm.js";
@@ -27,8 +27,8 @@ import ea from "../../designer/button-edit/index.esm.js";
27
27
  import ta from "../button-group/index.esm.js";
28
28
  import na from "../calendar/index.esm.js";
29
29
  import oa from "../capsule/index.esm.js";
30
- import Hn from "../../designer/checkbox/index.esm.js";
31
- import Wn from "../../designer/checkbox-group/index.esm.js";
30
+ import Rn from "../../designer/checkbox/index.esm.js";
31
+ import Hn from "../../designer/checkbox-group/index.esm.js";
32
32
  import yn from "../combo-list/index.esm.js";
33
33
  import ra from "../combo-tree/index.esm.js";
34
34
  import aa from "../component/index.esm.js";
@@ -571,110 +571,106 @@ function wi(n, t, e, o, r, a, i, l, s, u, c, d, f) {
571
571
  } = vi(n, o, i), {
572
572
  treeNodeIconsClass: B
573
573
  } = gi(n, _, C);
574
- function Q(G, te) {
575
- const ye = G.raw[C.value];
574
+ function Q(q, te) {
575
+ const ye = q.raw[C.value];
576
576
  return {
577
- "fv-tree-node-toggle": ye && G.collapse,
578
- "fv-tree-node-toggle-minus": ye && !G.collapse
577
+ "fv-tree-node-toggle": ye && q.collapse,
578
+ "fv-tree-node-toggle-minus": ye && !q.collapse
579
579
  };
580
580
  }
581
- function $(G, te) {
582
- G.stopPropagation(), P(te);
581
+ function $(q, te) {
582
+ q.stopPropagation(), P(te);
583
583
  }
584
- function W(G) {
585
- G.stopPropagation();
584
+ function W(q) {
585
+ q.stopPropagation();
586
586
  }
587
- function U(G, te) {
587
+ function U(q, te) {
588
588
  return E("div", {
589
- class: Q(G),
590
- onClick: (ye) => $(ye, G),
589
+ class: Q(q),
590
+ onClick: (ye) => $(ye, q),
591
591
  onDblclick: W
592
592
  }, null);
593
593
  }
594
- function J(G, te) {
594
+ function J(q, te) {
595
595
  return v.value && E("div", {
596
596
  id: "treeNodeIcons",
597
- class: B(G, te)
597
+ class: B(q, te)
598
598
  }, null);
599
599
  }
600
- function oe(G) {
601
- b.value ? (G.checked ? T(G) : k(G), V(G)) : m(G);
600
+ function oe(q) {
601
+ b.value ? (q.checked ? T(q) : k(q), V(q)) : m(q);
602
602
  }
603
- function Z(G, te) {
603
+ function Z(q, te) {
604
604
  return F.value && E(jr, {
605
- id: "checkbox_for_" + O(G, te.index),
606
- indeterminate: G.indeterminate,
607
- disabled: G.disabled,
608
- checked: G.checked,
609
- "onUpdate:checked": (ye) => G.checked = ye,
610
- onChange: () => oe(G)
605
+ id: "checkbox_for_" + O(q, te.index),
606
+ indeterminate: q.indeterminate,
607
+ disabled: q.disabled,
608
+ checked: q.checked,
609
+ "onUpdate:checked": (ye) => q.checked = ye,
610
+ onChange: () => oe(q)
611
611
  }, null);
612
612
  }
613
- function me(G, te) {
613
+ function he(q, te) {
614
614
  return E("span", {
615
- title: te.data,
616
615
  style: "user-select:none"
617
616
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
618
617
  cell: te,
619
- row: G
620
- }) : te.mode === it.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, G) : te.data != null ? te.data.toString() : te.data]);
618
+ row: q
619
+ }) : te.mode === it.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, q) : te.showTips ? E(Jn, null, {
620
+ default: () => te.data,
621
+ contentTemplate: () => te.data
622
+ }) : te.data]);
621
623
  }
622
- function be(G, te) {
624
+ function be(q, te) {
623
625
  return E("div", {
624
626
  class: K(te)
625
- }, [te.showTips ? E(Vn, null, {
626
- default: () => me(G, te),
627
- contentTemplate: () => me(G, te)
628
- }) : me(G, te)]);
627
+ }, [he(q, te)]);
629
628
  }
630
- function Se(G, te, ye) {
631
- const Fe = R(G);
629
+ function Se(q, te, ye) {
630
+ const Fe = R(q);
632
631
  return E("div", {
633
632
  ref: te.setRef,
634
- key: O(G, te.index),
633
+ key: O(q, te.index),
635
634
  class: "fv-grid-hierarchy-cell",
636
635
  style: I(te, ye)
637
636
  }, [E("div", {
638
637
  class: N(te),
639
638
  style: Fe
640
- }, [U(G), J(G, te), Z(G, te), be(G, te)])]);
639
+ }, [U(q), J(q, te), Z(q, te), be(q, te)])]);
641
640
  }
642
- function Ne(G, te, ye) {
641
+ function Ne(q, te, ye) {
643
642
  return E("div", {
644
643
  ref: te.setRef,
645
- key: O(G, te.index),
644
+ key: O(q, te.index),
646
645
  class: h(te),
647
646
  style: I(te, ye),
648
- onClick: (Fe) => p(Fe, te, G, te.column)
647
+ onClick: (Fe) => p(Fe, te, q, te.column)
649
648
  }, [E("div", {
650
649
  class: N(te)
651
650
  }, [E("div", {
652
651
  class: K(te)
653
- }, [te.showTips ? E(Vn, null, {
654
- default: () => me(G, te),
655
- contentTemplate: () => me(G, te)
656
- }) : me(G, te)])])]);
652
+ }, [he(q, te)])])]);
657
653
  }
658
- function Re(G, te) {
659
- return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === G.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === G.field;
654
+ function Re(q, te) {
655
+ return te === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === q.field || te === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === q.field;
660
656
  }
661
- function z(G, te) {
657
+ function G(q, te) {
662
658
  t.emit("dblclickNode", {
663
- $event: G,
659
+ $event: q,
664
660
  node: te.raw
665
661
  });
666
662
  }
667
- function se(G, te, ye = "primary", Fe) {
663
+ function se(q, te, ye = "primary", Fe) {
668
664
  return E("div", {
669
- ref: G.setRef,
670
- key: Y(G),
671
- class: x(G, Fe),
672
- style: A(G),
673
- onMouseover: (De) => w(De, G),
674
- onMouseout: (De) => g(De, G),
675
- onClick: (De) => y(De, G),
676
- onDblclick: (De) => z(De, G)
677
- }, [Object.values(G.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Re(De, ye) ? Se(G, De, te) : Ne(G, De, te))]);
665
+ ref: q.setRef,
666
+ key: Y(q),
667
+ class: x(q, Fe),
668
+ style: A(q),
669
+ onMouseover: (De) => w(De, q),
670
+ onMouseout: (De) => g(De, q),
671
+ onClick: (De) => y(De, q),
672
+ onDblclick: (De) => G(De, q)
673
+ }, [Object.values(q.data).filter((De) => te[De.field] && De.rowSpan === 1).map((De) => Re(De, ye) ? Se(q, De, te) : Ne(q, De, te))]);
678
674
  }
679
675
  return {
680
676
  renderDataRow: se
@@ -741,7 +737,7 @@ function xi() {
741
737
  };
742
738
  }
743
739
  function _i(n) {
744
- const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), a = q(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = q(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
740
+ const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), a = z(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), i = z(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
745
741
  return Ie([
746
742
  () => n.height,
747
743
  () => n.width,
@@ -749,7 +745,7 @@ function _i(n) {
749
745
  () => n.minWidth
750
746
  ], ([s, u, c, d]) => {
751
747
  t.value = Number(c), e.value = Number(d), o.value = Number(s), r.value = Number(u);
752
- }), { containerStyleObject: q(() => ({
748
+ }), { containerStyleObject: z(() => ({
753
749
  height: a.value > 0 ? `${a.value}px` : n.fit ? "100%" : "",
754
750
  width: i.value > 0 ? `${i.value}px` : n.fit ? "100%" : "",
755
751
  flex: "1 1 0"
@@ -888,16 +884,16 @@ function Ti(n, t) {
888
884
  function ki(n, t) {
889
885
  var w;
890
886
  Sr();
891
- const { idField: e } = t, o = S(n.summary), r = S(n.group), a = S(((w = n.group) == null ? void 0 : w.groupFields) || []), i = q(() => {
887
+ const { idField: e } = t, o = S(n.summary), r = S(n.group), a = S(((w = n.group) == null ? void 0 : w.groupFields) || []), i = z(() => {
892
888
  var g;
893
889
  return (g = n.group) == null ? void 0 : g.enable;
894
- }), l = q(() => {
890
+ }), l = z(() => {
895
891
  var g;
896
892
  return (g = n.group) == null ? void 0 : g.showGroupPanel;
897
- }), s = q(() => {
893
+ }), s = z(() => {
898
894
  const g = o.value;
899
895
  return (g == null ? void 0 : g.groupFields) || [];
900
- }), u = q(() => {
896
+ }), u = z(() => {
901
897
  const g = r.value;
902
898
  return g && g.showSummary;
903
899
  }), c = S(0), d = /* @__PURE__ */ new Map();
@@ -985,8 +981,8 @@ function Fi(n, t, e, o) {
985
981
  d.clear(), $.reduce((U, J) => {
986
982
  const oe = J[u.value] !== void 0 ? J[u.value] : "";
987
983
  if (oe && W.has(oe)) {
988
- const me = W.get(oe), be = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
989
- J.__fv_layer__ = be + 1, J.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
984
+ const he = W.get(oe), be = isNaN(Number(he.__fv_layer__)) ? 1 : Number(he.__fv_layer__);
985
+ J.__fv_layer__ = be + 1, J.__fv_parent_index__ = he.__fv_index__, he.__fv_hasChildren__ = !0;
990
986
  } else
991
987
  J.__fv_layer__ = 1;
992
988
  const Z = U.has(oe) ? U.get(oe) : [];
@@ -1034,8 +1030,8 @@ function Fi(n, t, e, o) {
1034
1030
  }
1035
1031
  function b($, W, U) {
1036
1032
  Array.from(W.keys()).forEach((J) => {
1037
- W.get(J).reduce((Z, me) => {
1038
- const be = me[i.value], Se = $.get(me[i.value]), Ne = $.get(J), Re = U.get(J);
1033
+ W.get(J).reduce((Z, he) => {
1034
+ const be = he[i.value], Se = $.get(he[i.value]), Ne = $.get(J), Re = U.get(J);
1039
1035
  return Ne && Re && (Ne.children.set(be, Se), Ne.children.set(be, Se), Se.parentId = J, Se.parentIndex = Ne.index, Se.parents.set(J, Ne)), Z;
1040
1036
  }, $);
1041
1037
  });
@@ -1099,7 +1095,7 @@ function Fi(n, t, e, o) {
1099
1095
  }
1100
1096
  function Y($, W, U = 0) {
1101
1097
  $.forEach((J) => {
1102
- const oe = F(J), Z = J.__fv_layer__ <= U, me = W === "ToCollapse" ? J.__fv_layer__ <= U : !(J.__fv_layer__ <= U), be = Z ? me : J[l.value];
1098
+ const oe = F(J), Z = J.__fv_layer__ <= U, he = W === "ToCollapse" ? J.__fv_layer__ <= U : !(J.__fv_layer__ <= U), be = Z ? he : J[l.value];
1103
1099
  J[l.value] = oe || be;
1104
1100
  });
1105
1101
  for (const [J, oe] of d.entries())
@@ -1114,8 +1110,8 @@ function Fi(n, t, e, o) {
1114
1110
  }
1115
1111
  function j($) {
1116
1112
  $.forEach((W, U) => {
1117
- var me;
1118
- const J = W[i.value], oe = d.has(J) ? (me = d.get(J)) == null ? void 0 : me.map((be) => be.__fv_index__) : [], Z = g(J, U);
1113
+ var he;
1114
+ const J = W[i.value], oe = d.has(J) ? (he = d.get(J)) == null ? void 0 : he.map((be) => be.__fv_index__) : [], Z = g(J, U);
1119
1115
  W.__fv_graph_node__ = Z, W.__fv_children_index__ = oe, W.__fv_descendant_index__ = [...oe], W.__fv_parents__ = /* @__PURE__ */ new Map(), F(W) && (W[l.value] = !0);
1120
1116
  });
1121
1117
  }
@@ -1128,18 +1124,18 @@ function Fi(n, t, e, o) {
1128
1124
  function R($, W, U) {
1129
1125
  const oe = U.value[$][i.value], Z = c.get(oe);
1130
1126
  if (Z) {
1131
- const me = c.get(Z.parentId);
1127
+ const he = c.get(Z.parentId);
1132
1128
  let be = U.value.length - 1;
1133
- if (me) {
1134
- const Se = Array.from(me.children.keys()).indexOf(Z.id);
1135
- if (Se === me.children.size - 1) {
1136
- const Re = Array.from(me.descendant.values())[me.descendant.size - 1];
1129
+ if (he) {
1130
+ const Se = Array.from(he.children.keys()).indexOf(Z.id);
1131
+ if (Se === he.children.size - 1) {
1132
+ const Re = Array.from(he.descendant.values())[he.descendant.size - 1];
1137
1133
  be = U.value.findIndex((se) => se[i.value] === Re.id) + 1;
1138
1134
  } else {
1139
- const Re = Array.from(me.children.values())[Se + 1];
1135
+ const Re = Array.from(he.children.values())[Se + 1];
1140
1136
  be = U.value.findIndex((se) => se[i.value] === Re.id);
1141
1137
  }
1142
- W[s.value] = !1, W[u.value] = me.id, U.value.splice(be, 0, W);
1138
+ W[s.value] = !1, W[u.value] = he.id, U.value.splice(be, 0, W);
1143
1139
  }
1144
1140
  }
1145
1141
  }
@@ -1196,18 +1192,18 @@ const Ei = {
1196
1192
  props: Oi,
1197
1193
  emits: ["close", "click"],
1198
1194
  setup: (n, t) => {
1199
- const e = S(n.animate), o = "fadeOut", r = q(() => n.options), a = S(!1), i = q(() => {
1195
+ const e = S(n.animate), o = "fadeOut", r = z(() => n.options), a = S(!1), i = z(() => {
1200
1196
  const y = {
1201
1197
  animated: a.value,
1202
1198
  toast: !0
1203
1199
  };
1204
1200
  return y[n.animate] = !1, y[o] = a.value, y[r.value.type] = !0, r.value.theme && (y[r.value.theme] = !0), y;
1205
- }), l = q(() => {
1201
+ }), l = z(() => {
1206
1202
  const g = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, b = {
1207
1203
  "f-icon": !0
1208
1204
  };
1209
1205
  return b[g] = !0, b;
1210
- }), s = q(() => r.value.title || r.value.message), u = q(() => r.value.title && r.value.message), c = q(() => !r.value.title && r.value.message), d = q(() => n.showCloseButton), f = q(() => !!r.value.buttons || !!t.slots.default);
1206
+ }), s = z(() => r.value.title || r.value.message), u = z(() => r.value.title && r.value.message), c = z(() => !r.value.title && r.value.message), d = z(() => n.showCloseButton), f = z(() => !!r.value.buttons || !!t.slots.default);
1211
1207
  function p(y) {
1212
1208
  y.stopPropagation(), y.preventDefault(), a.value = !1, setTimeout(() => {
1213
1209
  t.emit("close", r.value);
@@ -1270,14 +1266,14 @@ const Ei = {
1270
1266
  props: Ei,
1271
1267
  emits: ["close", "empty"],
1272
1268
  setup(n, t) {
1273
- const e = q(() => ({
1269
+ const e = z(() => ({
1274
1270
  "farris-notify": !0
1275
1271
  })), o = {
1276
1272
  left: 12,
1277
1273
  right: 12,
1278
1274
  top: 20,
1279
1275
  bottom: 12
1280
- }, r = S(), a = S(n.options), i = S(n.showCloseButton), l = q(() => n.position || "bottom-right"), s = q(() => n.timeout != null ? n.timeout : 3e3), u = q(() => {
1276
+ }, r = S(), a = S(n.options), i = S(n.showCloseButton), l = z(() => n.position || "bottom-right"), s = z(() => n.timeout != null ? n.timeout : 3e3), u = z(() => {
1281
1277
  const f = n.bottom ? n.bottom : o.bottom, p = n.top ? n.top : o.top, h = {
1282
1278
  transition: "all 0.2s ease",
1283
1279
  left: l.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -1333,7 +1329,7 @@ class Io {
1333
1329
  ...t
1334
1330
  }), a = document.createElement("div");
1335
1331
  a.style.display = "contents";
1336
- const i = Xn({
1332
+ const i = Un({
1337
1333
  setup() {
1338
1334
  var u;
1339
1335
  const l = S();
@@ -1353,7 +1349,7 @@ class Io {
1353
1349
  document.body.removeChild(a);
1354
1350
  }), Lt(() => {
1355
1351
  e.updateNotifyPositionForCreate(r, l);
1356
- }), () => E(Qn, {
1352
+ }), () => E(Xn, {
1357
1353
  mode: "out-in",
1358
1354
  name: "fade",
1359
1355
  appear: !0
@@ -1459,7 +1455,7 @@ function Ii(n, t, e, o, r) {
1459
1455
  const X = j(n.data);
1460
1456
  x.value = X, Y.value = X, A.value = X;
1461
1457
  }
1462
- const K = S(n.summary), R = q(() => {
1458
+ const K = S(n.summary), R = z(() => {
1463
1459
  const X = K.value;
1464
1460
  return (X == null ? void 0 : X.groupFields) || [];
1465
1461
  });
@@ -1468,8 +1464,8 @@ function Ii(n, t, e, o, r) {
1468
1464
  function W() {
1469
1465
  return $.value && $.value.enable && $.value.size > 0 ? $.value.size : Y.value.length;
1470
1466
  }
1471
- const U = S(1), J = q(() => $.value && $.value.enable && $.value.mode !== "server"), oe = q(() => $.value && $.value.enable && $.value.mode === "server"), Z = new Io();
1472
- function me(X, ve) {
1467
+ const U = S(1), J = z(() => $.value && $.value.enable && $.value.mode !== "server"), oe = z(() => $.value && $.value.enable && $.value.mode === "server"), Z = new Io();
1468
+ function he(X, ve) {
1473
1469
  const Te = Math.ceil(X.length / ve);
1474
1470
  let Be = 0;
1475
1471
  const L = [], ee = [], re = [];
@@ -1489,7 +1485,7 @@ function Ii(n, t, e, o, r) {
1489
1485
  const X = 0, ve = W(), Te = (U.value - 1) * ve;
1490
1486
  let L = Te > Y.value.length - 1 || oe.value ? X : Te, ee = oe.value ? Y.value.length : Math.min(L + ve, Y.value.length);
1491
1487
  if (D.value && J.value) {
1492
- const { accumulateGroupRowSize: xe, groupData: We, groupRowSizeList: Me } = me(x.value, ve);
1488
+ const { accumulateGroupRowSize: xe, groupData: We, groupRowSizeList: Me } = he(x.value, ve);
1493
1489
  Y.value = We;
1494
1490
  const Le = Me[U.value - 1];
1495
1491
  L += U.value - 2 < 0 ? 0 : xe[U.value - 2], ee = L + ve + Le;
@@ -1509,11 +1505,11 @@ function Ii(n, t, e, o, r) {
1509
1505
  }
1510
1506
  return C.value && b(ne), A.value = [...ne], ne;
1511
1507
  }
1512
- const Se = S(be()), Ne = q(() => (P.value, Se.value.filter((X) => C.value ? X.__fv_visible__ !== !1 && _(X) : X.__fv_visible__ !== !1)));
1508
+ const Se = S(be()), Ne = z(() => (P.value, Se.value.filter((X) => C.value ? X.__fv_visible__ !== !1 && _(X) : X.__fv_visible__ !== !1)));
1513
1509
  function Re() {
1514
1510
  Ne.value.forEach((X, ve) => (X.__fv_visible_index__ = ve, X));
1515
1511
  }
1516
- function z(X, ve, Te = !1) {
1512
+ function G(X, ve, Te = !1) {
1517
1513
  const L = (Te ? be() : [...A.value]).filter((ne) => e.apply(ne)), ee = X && X.length ? L.filter((ne) => X.reduce((_e, xe) => _e && xe.filter(ne), !0)) : L, re = ve && ve.length ? ee.sort((ne, _e) => {
1518
1514
  const xe = [...ve], We = xe.shift();
1519
1515
  let Me = We.compare(ne[We.field], _e[We.field]);
@@ -1532,22 +1528,22 @@ function Ii(n, t, e, o, r) {
1532
1528
  }), Se.value;
1533
1529
  }
1534
1530
  function se(X) {
1535
- return u.clear(), d.value = X, d.value.reduce((ve, Te) => (ve.set(Te.field, Te), ve), u), z([], d.value);
1531
+ return u.clear(), d.value = X, d.value.reduce((ve, Te) => (ve.set(Te.field, Te), ve), u), G([], d.value);
1536
1532
  }
1537
- function G(X, ve) {
1538
- return u.set(X, ve), d.value = Array.from(u.values()), z([], d.value);
1533
+ function q(X, ve) {
1534
+ return u.set(X, ve), d.value = Array.from(u.values()), G([], d.value);
1539
1535
  }
1540
1536
  function te(X) {
1541
- return u.delete(X), d.value = Array.from(u.values()), z([], d.value);
1537
+ return u.delete(X), d.value = Array.from(u.values()), G([], d.value);
1542
1538
  }
1543
1539
  function ye(X, ve) {
1544
- return i.set(X, ve), c.value = Array.from(i.values()), z([], Array.from(u.values()));
1540
+ return i.set(X, ve), c.value = Array.from(i.values()), G([], Array.from(u.values()));
1545
1541
  }
1546
1542
  function Fe(X) {
1547
- return i.delete(X), c.value = Array.from(i.values()), z([], Array.from(u.values()), !0);
1543
+ return i.delete(X), c.value = Array.from(i.values()), G([], Array.from(u.values()), !0);
1548
1544
  }
1549
1545
  function De() {
1550
- return i.clear(), c.value = [], z([], Array.from(u.values()), !0);
1546
+ return i.clear(), c.value = [], G([], Array.from(u.values()), !0);
1551
1547
  }
1552
1548
  function Ke(X, ve) {
1553
1549
  const Te = `group_of_${X}_${ve}`;
@@ -1559,7 +1555,7 @@ function Ii(n, t, e, o, r) {
1559
1555
  fieldType: "string",
1560
1556
  filterValue: ve,
1561
1557
  filter: Be
1562
- }), z(Array.from(l.values()), Array.from(u.values()));
1558
+ }), G(Array.from(l.values()), Array.from(u.values()));
1563
1559
  }
1564
1560
  function rt(X) {
1565
1561
  w(Se.value, X);
@@ -1569,7 +1565,7 @@ function Ii(n, t, e, o, r) {
1569
1565
  }
1570
1566
  function M(X, ve) {
1571
1567
  const Te = `group_of_${X}_${ve}`;
1572
- return a.set(Te, !1), l.delete(`collapse_${X}_${ve}`), z(Array.from(l.values()), Array.from(u.values()), !0);
1568
+ return a.set(Te, !1), l.delete(`collapse_${X}_${ve}`), G(Array.from(l.values()), Array.from(u.values()), !0);
1573
1569
  }
1574
1570
  function ie(X) {
1575
1571
  const ve = X.raw[V.value], Te = (Be) => !Be.__fv_parents__.has(ve);
@@ -1579,18 +1575,18 @@ function Ii(n, t, e, o, r) {
1579
1575
  fieldType: "string",
1580
1576
  filterValue: String(ve),
1581
1577
  filter: Te
1582
- }), z(Array.from(s.values()), Array.from(u.values())), b(Se.value);
1578
+ }), G(Array.from(s.values()), Array.from(u.values())), b(Se.value);
1583
1579
  }
1584
1580
  function we(X) {
1585
1581
  const ve = X[V.value];
1586
1582
  s.delete(`fold_${ve}`);
1587
1583
  }
1588
1584
  function ce(X) {
1589
- we(X.raw), z(Array.from(s.values()), Array.from(u.values()), !0), b(Se.value);
1585
+ we(X.raw), G(Array.from(s.values()), Array.from(u.values()), !0), b(Se.value);
1590
1586
  }
1591
1587
  function Ee() {
1592
1588
  const X = be();
1593
- Se.value = X, n.hierarchy && (z(Array.from(s.values()), Array.from(u.values())), b(Se.value));
1589
+ Se.value = X, n.hierarchy && (G(Array.from(s.values()), Array.from(u.values())), b(Se.value));
1594
1590
  }
1595
1591
  function Je(X) {
1596
1592
  const Te = n.hierarchy && X && X.length && X[0].children ? j(X) : X;
@@ -1634,13 +1630,13 @@ function Ii(n, t, e, o, r) {
1634
1630
  }
1635
1631
  function ae() {
1636
1632
  const X = l.size > 0 ? Array.from(l.values()) : [];
1637
- return z(X, Array.from(u.values()));
1633
+ return G(X, Array.from(u.values()));
1638
1634
  }
1639
- function pe(X) {
1635
+ function me(X) {
1640
1636
  $.value.size = X;
1641
1637
  }
1642
1638
  function Ce(X) {
1643
- $.value && (pe(X), Ee());
1639
+ $.value && (me(X), Ee());
1644
1640
  }
1645
1641
  function He(X, ve) {
1646
1642
  const Te = x.value[Number(X) - 1];
@@ -1660,8 +1656,8 @@ function Ii(n, t, e, o, r) {
1660
1656
  return {
1661
1657
  addFilter: ye,
1662
1658
  addNewDataItem: pt,
1663
- addSorter: G,
1664
- updatePageSize: pe,
1659
+ addSorter: q,
1660
+ updatePageSize: me,
1665
1661
  changePageSizeTo: Ce,
1666
1662
  collapse: Ke,
1667
1663
  collapseTo: rt,
@@ -1801,7 +1797,7 @@ function Ro(n) {
1801
1797
  const i = zt(a);
1802
1798
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
1803
1799
  }
1804
- function Ln(n) {
1800
+ function Wn(n) {
1805
1801
  const t = Qe(n);
1806
1802
  return t.setHours(0, 0, 0, 0), t;
1807
1803
  }
@@ -1820,7 +1816,7 @@ function sn(n) {
1820
1816
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
1821
1817
  }
1822
1818
  function Ri(n, t) {
1823
- const e = Ln(n), o = Ln(t), r = +e - sn(e), a = +o - sn(o);
1819
+ const e = Wn(n), o = Wn(t), r = +e - sn(e), a = +o - sn(o);
1824
1820
  return Math.round((r - a) / Di);
1825
1821
  }
1826
1822
  function Hi(n) {
@@ -2364,7 +2360,7 @@ const Ot = {
2364
2360
  afternoon: "afternoon",
2365
2361
  evening: "evening",
2366
2362
  night: "night"
2367
- }, jn = {
2363
+ }, Ln = {
2368
2364
  // Era
2369
2365
  G: function(n, t, e) {
2370
2366
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -2790,7 +2786,7 @@ const Ot = {
2790
2786
  return "Z";
2791
2787
  switch (t) {
2792
2788
  case "X":
2793
- return An(o);
2789
+ return $n(o);
2794
2790
  case "XXXX":
2795
2791
  case "XX":
2796
2792
  return Vt(o);
@@ -2805,7 +2801,7 @@ const Ot = {
2805
2801
  const o = n.getTimezoneOffset();
2806
2802
  switch (t) {
2807
2803
  case "x":
2808
- return An(o);
2804
+ return $n(o);
2809
2805
  case "xxxx":
2810
2806
  case "xx":
2811
2807
  return Vt(o);
@@ -2822,7 +2818,7 @@ const Ot = {
2822
2818
  case "O":
2823
2819
  case "OO":
2824
2820
  case "OOO":
2825
- return "GMT" + $n(o, ":");
2821
+ return "GMT" + jn(o, ":");
2826
2822
  case "OOOO":
2827
2823
  default:
2828
2824
  return "GMT" + Vt(o, ":");
@@ -2835,7 +2831,7 @@ const Ot = {
2835
2831
  case "z":
2836
2832
  case "zz":
2837
2833
  case "zzz":
2838
- return "GMT" + $n(o, ":");
2834
+ return "GMT" + jn(o, ":");
2839
2835
  case "zzzz":
2840
2836
  default:
2841
2837
  return "GMT" + Vt(o, ":");
@@ -2852,18 +2848,18 @@ const Ot = {
2852
2848
  return Ve(o, t.length);
2853
2849
  }
2854
2850
  };
2855
- function $n(n, t = "") {
2851
+ function jn(n, t = "") {
2856
2852
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
2857
2853
  return a === 0 ? e + String(r) : e + String(r) + t + Ve(a, 2);
2858
2854
  }
2859
- function An(n, t) {
2855
+ function $n(n, t) {
2860
2856
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ve(Math.abs(n) / 60, 2) : Vt(n, t);
2861
2857
  }
2862
2858
  function Vt(n, t = "") {
2863
2859
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Ve(Math.trunc(o / 60), 2), a = Ve(o % 60, 2);
2864
2860
  return e + r + t + a;
2865
2861
  }
2866
- const Gn = (n, t) => {
2862
+ const An = (n, t) => {
2867
2863
  switch (n) {
2868
2864
  case "P":
2869
2865
  return t.date({ width: "short" });
@@ -2890,7 +2886,7 @@ const Gn = (n, t) => {
2890
2886
  }, xs = (n, t) => {
2891
2887
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
2892
2888
  if (!r)
2893
- return Gn(n, t);
2889
+ return An(n, t);
2894
2890
  let a;
2895
2891
  switch (o) {
2896
2892
  case "P":
@@ -2907,7 +2903,7 @@ const Gn = (n, t) => {
2907
2903
  a = t.dateTime({ width: "full" });
2908
2904
  break;
2909
2905
  }
2910
- return a.replace("{{date}}", Gn(o, t)).replace("{{time}}", jo(r, t));
2906
+ return a.replace("{{date}}", An(o, t)).replace("{{time}}", jo(r, t));
2911
2907
  }, wn = {
2912
2908
  p: jo,
2913
2909
  P: xs
@@ -2945,7 +2941,7 @@ function Go(n, t, e) {
2945
2941
  const D = h[0];
2946
2942
  if (D === "'")
2947
2943
  return { isToken: !1, value: Ds(h) };
2948
- if (jn[D])
2944
+ if (Ln[D])
2949
2945
  return { isToken: !0, value: h };
2950
2946
  if (D.match(Is))
2951
2947
  throw new RangeError(
@@ -2963,7 +2959,7 @@ function Go(n, t, e) {
2963
2959
  if (!h.isToken) return h.value;
2964
2960
  const D = h.value;
2965
2961
  (Ao(D) || $o(D)) && Cn(D, t, String(n));
2966
- const x = jn[D[0]];
2962
+ const x = Ln[D[0]];
2967
2963
  return x(l, D, r.localize, u);
2968
2964
  }).join("");
2969
2965
  }
@@ -4949,7 +4945,7 @@ function Ml(n, t, e) {
4949
4945
  let f = "col-12";
4950
4946
  return c > 250 * 6 ? f = "col-2" : c > 250 * 4 ? f = "col-3" : c > 250 * 3 ? f = "col-4" : c > 250 * 2 && (f = "col-6"), f;
4951
4947
  }
4952
- const u = q(() => s(a.value));
4948
+ const u = z(() => s(a.value));
4953
4949
  return Ie([e], ([c]) => {
4954
4950
  r.value = c, l();
4955
4951
  }), {
@@ -4957,7 +4953,7 @@ function Ml(n, t, e) {
4957
4953
  resizeObserver: o
4958
4954
  };
4959
4955
  }
4960
- const zn = /* @__PURE__ */ dt({
4956
+ const Gn = /* @__PURE__ */ dt({
4961
4957
  name: "FConditionFields",
4962
4958
  props: Do,
4963
4959
  emits: ["valueChange", "blur", "focus", "click", "input"],
@@ -4972,19 +4968,19 @@ const zn = /* @__PURE__ */ dt({
4972
4968
  conditionClass: c,
4973
4969
  resizeObserver: d
4974
4970
  } = u;
4975
- s(!0), i(r.value), Kn(() => {
4971
+ s(!0), i(r.value), Qn(() => {
4976
4972
  var x;
4977
4973
  (x = d.value) == null || x.unobserve(e.value);
4978
4974
  }), Ie(() => n.conditions, () => {
4979
4975
  r.value = n.conditions, i(r.value);
4980
4976
  });
4981
- const f = q(() => ({
4977
+ const f = z(() => ({
4982
4978
  // row: true,
4983
4979
  "f-utils-flex-row-wrap": !0,
4984
4980
  "farris-form": !0,
4985
4981
  "condition-div": !0,
4986
4982
  "farris-form-controls-inline": n.isControlInline
4987
- })), p = q(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
4983
+ })), p = z(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
4988
4984
  function h(x, y, w, g) {
4989
4985
  x.value.editorType === "combo-list" && g.newValue ? x.value.valueList = g.newValue.map((b) => ({
4990
4986
  name: b.name,
@@ -5061,7 +5057,7 @@ function ur(n, t = {}, e) {
5061
5057
  }
5062
5058
  function Dl(n, t) {
5063
5059
  const e = Fn(t);
5064
- return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Rn(o[r]) && Rn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
5060
+ return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Vn(o[r]) && Vn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
5065
5061
  }
5066
5062
  function cr(n, t) {
5067
5063
  return Object.keys(n).filter((o) => n[o] != null).reduce((o, r) => {
@@ -5136,7 +5132,7 @@ function Pl(n = {}) {
5136
5132
  }
5137
5133
  return { parseValueSchema: s };
5138
5134
  }
5139
- const he = {
5135
+ const pe = {
5140
5136
  button: { type: "button", name: "按钮" },
5141
5137
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
5142
5138
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -6040,7 +6036,7 @@ class vu {
6040
6036
  valueField: "value",
6041
6037
  idField: "value",
6042
6038
  editable: !1,
6043
- data: [{ value: t.type, name: he[t.type].name }]
6039
+ data: [{ value: t.type, name: pe[t.type].name }]
6044
6040
  }
6045
6041
  }
6046
6042
  }
@@ -6260,7 +6256,7 @@ const gu = {
6260
6256
  }), Ie([() => n.valid, () => n.inValidTip], ([s, u]) => {
6261
6257
  r.value = s, a.value = u;
6262
6258
  });
6263
- const i = q(() => r.value ? o.value : a.value), l = q(() => r.value ? "" : "color:red");
6259
+ const i = z(() => r.value ? o.value : a.value), l = z(() => r.value ? "" : "color:red");
6264
6260
  return () => o.value && E("label", {
6265
6261
  class: "col-form-label",
6266
6262
  title: i.value,
@@ -6276,9 +6272,9 @@ const gu = {
6276
6272
  }, [o.value])]);
6277
6273
  }
6278
6274
  }), le = {}, ue = {}, de = {}, fe = {};
6279
- let qn = !1;
6275
+ let zn = !1;
6280
6276
  function bu() {
6281
- qn || (qn = !0, Zr.register(le, ue, de, fe), Jr.register(le, ue, de, fe), ea.register(le, ue, de, fe), ta.register(le, ue, de, fe), na.register(le, ue, de, fe), oa.register(le, ue, de, fe), Hn.register(le, ue, de, fe), Wn.register(le, ue, de, fe), Hn.register(le, ue, de, fe), Wn.register(le, ue, de, fe), yn.register(le, ue, de, fe), ra.register(le, ue, de, fe), aa.register(le, ue, de, fe), sa.register(le, ue, de, fe), ia.register(le, ue, de, fe), la.register(le, ue, de, fe), ua.register(le, ue, de, fe), ca.register(le, ue, de, fe), Ur.register(le, ue, de, fe), da.register(le, ue, de, fe), ti.register(le, ue, de, fe), $r.register(le, ue, de, fe), fa.register(le, ue, de, fe), Ua.register(le, ue, de, fe), pa.register(le, ue, de, fe), ha.register(le, ue, de, fe), va.register(le, ue, de, fe), ya.register(le, ue, de, fe), ga.register(le, ue, de, fe), ba.register(le, ue, de, fe), wa.register(le, ue, de, fe), Ca.register(le, ue, de, fe), xa.register(le, ue, de, fe), _a.register(le, ue, de, fe), Lr.register(le, ue, de, fe), Sa.register(le, ue, de, fe), Ta.register(le, ue, de, fe), Gr.register(le, ue, de, fe), ka.register(le, ue, de, fe), Fa.register(le, ue, de, fe), Ea.register(le, ue, de, fe), Oa.register(le, ue, de, fe), Ia.register(le, ue, de, fe), Da.register(le, ue, de, fe), Ma.register(le, ue, de, fe), za.register(le, ue, de), qr.register(le, ue, de, fe), Ba.register(le, ue, de, fe), Pa.register(le, ue, de, fe), Na.register(le, ue, de, fe), Va.register(le, ue, de, fe), Ra.register(le, ue, de, fe), Qa.register(le, ue, de, fe), Wr.register(le, ue, de, fe), Yr.register(le, ue, de, fe), Ha.register(le, ue, de, fe), Wa.register(le, ue, de, fe), Hr.register(le, ue, de, fe), La.register(le, ue, de, fe), $a.register(le, ue, de, fe), ja.register(le, ue, de, fe), Aa.register(le, ue, de, fe), Ga.register(le, ue, de, fe), qa.register(le, ue, de, fe), ma.register(le, ue, de, fe), Ya.register(le, ue, de, fe), Xa.register(le, ue, de, fe), Ka.register(le, ue, de, fe), Ja.register(le, ue, de, fe), Za.register(le, ue, de, fe), ei.register(le, ue, de, fe), ni.register(le, ue, de, fe), oi.register(le, ue, de, fe));
6277
+ zn || (zn = !0, Zr.register(le, ue, de, fe), Jr.register(le, ue, de, fe), ea.register(le, ue, de, fe), ta.register(le, ue, de, fe), na.register(le, ue, de, fe), oa.register(le, ue, de, fe), Rn.register(le, ue, de, fe), Hn.register(le, ue, de, fe), Rn.register(le, ue, de, fe), Hn.register(le, ue, de, fe), yn.register(le, ue, de, fe), ra.register(le, ue, de, fe), aa.register(le, ue, de, fe), sa.register(le, ue, de, fe), ia.register(le, ue, de, fe), la.register(le, ue, de, fe), ua.register(le, ue, de, fe), ca.register(le, ue, de, fe), Ur.register(le, ue, de, fe), da.register(le, ue, de, fe), ti.register(le, ue, de, fe), $r.register(le, ue, de, fe), fa.register(le, ue, de, fe), Ua.register(le, ue, de, fe), pa.register(le, ue, de, fe), ha.register(le, ue, de, fe), va.register(le, ue, de, fe), ya.register(le, ue, de, fe), ga.register(le, ue, de, fe), ba.register(le, ue, de, fe), wa.register(le, ue, de, fe), Ca.register(le, ue, de, fe), xa.register(le, ue, de, fe), _a.register(le, ue, de, fe), Lr.register(le, ue, de, fe), Sa.register(le, ue, de, fe), Ta.register(le, ue, de, fe), Gr.register(le, ue, de, fe), ka.register(le, ue, de, fe), Fa.register(le, ue, de, fe), Ea.register(le, ue, de, fe), Oa.register(le, ue, de, fe), Ia.register(le, ue, de, fe), Da.register(le, ue, de, fe), Ma.register(le, ue, de, fe), za.register(le, ue, de), qr.register(le, ue, de, fe), Ba.register(le, ue, de, fe), Pa.register(le, ue, de, fe), Na.register(le, ue, de, fe), Va.register(le, ue, de, fe), Ra.register(le, ue, de, fe), Qa.register(le, ue, de, fe), Wr.register(le, ue, de, fe), Yr.register(le, ue, de, fe), Ha.register(le, ue, de, fe), Wa.register(le, ue, de, fe), Hr.register(le, ue, de, fe), La.register(le, ue, de, fe), $a.register(le, ue, de, fe), ja.register(le, ue, de, fe), Aa.register(le, ue, de, fe), Ga.register(le, ue, de, fe), qa.register(le, ue, de, fe), ma.register(le, ue, de, fe), Ya.register(le, ue, de, fe), Xa.register(le, ue, de, fe), Ka.register(le, ue, de, fe), Ja.register(le, ue, de, fe), Za.register(le, ue, de, fe), ei.register(le, ue, de, fe), ni.register(le, ue, de, fe), oi.register(le, ue, de, fe));
6282
6278
  }
6283
6279
  function wu() {
6284
6280
  bu();
@@ -6407,7 +6403,7 @@ const Cu = {
6407
6403
  Ie(() => n.errors, (a) => {
6408
6404
  e.value = a;
6409
6405
  });
6410
- const o = S(!0), r = q(() => {
6406
+ const o = S(!0), r = z(() => {
6411
6407
  if (e.value) {
6412
6408
  const a = Object.keys(e.value).map((i) => {
6413
6409
  var l;
@@ -6439,7 +6435,7 @@ const Cu = {
6439
6435
  resolveEditorType: h,
6440
6436
  getChangeFunctionName: D,
6441
6437
  getClearFunctionName: x
6442
- } = wu(), y = q(() => ({
6438
+ } = wu(), y = z(() => ({
6443
6439
  "form-group": !0,
6444
6440
  "farris-form-group": !0,
6445
6441
  "common-group": !0,
@@ -6455,7 +6451,7 @@ const Cu = {
6455
6451
  function g() {
6456
6452
  t.emit("update:modelValue", "");
6457
6453
  }
6458
- const b = q(() => {
6454
+ const b = z(() => {
6459
6455
  const m = r.value.type || "input-group", _ = h(m), C = p(m, r.value), F = D(m), v = x(r.value.type);
6460
6456
  return v && (C[v] = g), C[F] = w, (C.id == null || C.id === "") && (C.id = e.value), m === "number-range" && r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" ? (r.value.onBeginValueChange && typeof r.value.onBeginValueChange == "function" && (C.onBeginValueChange = r.value.onBeginValueChange), r.value.onEndValueChange && typeof r.value.onEndValueChange == "function" && (C.onEndValueChange = r.value.onEndValueChange)) : m === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? C["onUpdate:idValue"] = r.value["onUpdate:idValue"] : m === "property-editor" && (C.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => E(_, Wt({
6461
6457
  ref: d
@@ -6499,7 +6495,7 @@ const Cu = {
6499
6495
  static getEditorTypesByMDataType(t, e = "") {
6500
6496
  let o = At.fieldControlTypeMapping[t];
6501
6497
  if (e === "data-grid-column" && (o != null && o.length)) {
6502
- const r = [he["check-group"].type, he["radio-group"].type];
6498
+ const r = [pe["check-group"].type, pe["radio-group"].type];
6503
6499
  o = o.filter((a) => !r.includes(a.key));
6504
6500
  }
6505
6501
  return o;
@@ -6522,7 +6518,7 @@ const Cu = {
6522
6518
  static mappingDomPropAndSchemaProp(t, e) {
6523
6519
  var a;
6524
6520
  const o = (a = t.editor) == null ? void 0 : a.type, r = [];
6525
- return (t.type === he["data-grid-column"].type || t.type === he["tree-grid-column"].type) && e && e.categoryId && e.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === he["input-group"].type || o === he.textarea.type || o === he["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === he["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === he["data-grid-column"].type || t.type === he["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === he["combo-list"].type || o === he["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === he["data-grid-column"].type || t.type === he["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === he["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === he["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === he.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === he["data-grid-column"].type || t.type === he["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
6521
+ return (t.type === pe["data-grid-column"].type || t.type === pe["tree-grid-column"].type) && e && e.categoryId && e.categoryId.indexOf("gridFieldEditor") < 0 && r.push({ domField: "title", schemaField: "name" }), r.push({ domField: "label", schemaField: "name" }), r.push({ domField: "editor.required", schemaField: "require" }), r.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === pe["input-group"].type || o === pe.textarea.type || o === pe["number-spinner"].type) && r.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === pe["number-spinner"].type && r.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === pe["data-grid-column"].type || t.type === pe["tree-grid-column"].type) && r.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === pe["combo-list"].type || o === pe["radio-group"].type) && r.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === pe["data-grid-column"].type || t.type === pe["tree-grid-column"].type) && r.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === pe["date-picker"].type && (r.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), r.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === pe["number-spinner"].type && (r.push({ domField: "editor.max", schemaField: "editor.maxValue" }), r.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === pe.lookup.type && (r.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), r.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), r.push({ domField: "editor.textField", schemaField: "editor.textField" }), r.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), r.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), r.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), r.push({ domField: "path", schemaField: "bindingPath" }), r.push({ domField: "binding.path", schemaField: "bindingField" }), r.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === pe["data-grid-column"].type || t.type === pe["tree-grid-column"].type) && r.push({ domField: "field", schemaField: "bindingPath" }), r;
6526
6522
  }
6527
6523
  };
6528
6524
  /**
@@ -6530,52 +6526,52 @@ const Cu = {
6530
6526
  */
6531
6527
  H(At, "fieldControlTypeMapping", {
6532
6528
  String: [
6533
- { key: he["input-group"].type, value: he["input-group"].name },
6534
- { key: he.lookup.type, value: he.lookup.name },
6535
- { key: he["date-picker"].type, value: he["date-picker"].name },
6536
- { key: he["check-group"].type, value: he["check-group"].name },
6537
- { key: he["radio-group"].type, value: he["radio-group"].name },
6538
- { key: he["combo-list"].type, value: he["combo-list"].name },
6539
- { key: he.textarea.type, value: he.textarea.name },
6540
- { key: he["time-picker"].type, value: he["time-picker"].name }
6529
+ { key: pe["input-group"].type, value: pe["input-group"].name },
6530
+ { key: pe.lookup.type, value: pe.lookup.name },
6531
+ { key: pe["date-picker"].type, value: pe["date-picker"].name },
6532
+ { key: pe["check-group"].type, value: pe["check-group"].name },
6533
+ { key: pe["radio-group"].type, value: pe["radio-group"].name },
6534
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
6535
+ { key: pe.textarea.type, value: pe.textarea.name },
6536
+ { key: pe["time-picker"].type, value: pe["time-picker"].name }
6541
6537
  ],
6542
6538
  Text: [
6543
- { key: he.textarea.type, value: he.textarea.name },
6544
- { key: he.lookup.type, value: he.lookup.name }
6539
+ { key: pe.textarea.type, value: pe.textarea.name },
6540
+ { key: pe.lookup.type, value: pe.lookup.name }
6545
6541
  ],
6546
6542
  Decimal: [
6547
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
6543
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
6548
6544
  ],
6549
6545
  Integer: [
6550
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
6546
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
6551
6547
  ],
6552
6548
  Number: [
6553
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
6549
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
6554
6550
  ],
6555
6551
  BigNumber: [
6556
- { key: he["number-spinner"].type, value: he["number-spinner"].name }
6552
+ { key: pe["number-spinner"].type, value: pe["number-spinner"].name }
6557
6553
  ],
6558
6554
  Date: [
6559
- { key: he["date-picker"].type, value: he["date-picker"].name }
6555
+ { key: pe["date-picker"].type, value: pe["date-picker"].name }
6560
6556
  ],
6561
6557
  DateTime: [
6562
- { key: he["date-picker"].type, value: he["date-picker"].name }
6558
+ { key: pe["date-picker"].type, value: pe["date-picker"].name }
6563
6559
  ],
6564
6560
  Boolean: [
6565
- { key: he.switch.type, value: he.switch.name },
6566
- { key: he["check-box"].type, value: he["check-box"].name }
6561
+ { key: pe.switch.type, value: pe.switch.name },
6562
+ { key: pe["check-box"].type, value: pe["check-box"].name }
6567
6563
  ],
6568
6564
  Enum: [
6569
- { key: he["combo-list"].type, value: he["combo-list"].name },
6570
- { key: he["radio-group"].type, value: he["radio-group"].name }
6565
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
6566
+ { key: pe["radio-group"].type, value: pe["radio-group"].name }
6571
6567
  ],
6572
6568
  Object: [
6573
- { key: he.lookup.type, value: he.lookup.name },
6574
- { key: he["combo-list"].type, value: he["combo-list"].name },
6575
- { key: he["radio-group"].type, value: he["radio-group"].name }
6569
+ { key: pe.lookup.type, value: pe.lookup.name },
6570
+ { key: pe["combo-list"].type, value: pe["combo-list"].name },
6571
+ { key: pe["radio-group"].type, value: pe["radio-group"].name }
6576
6572
  ]
6577
6573
  });
6578
- let Yn = At;
6574
+ let qn = At;
6579
6575
  var Mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6580
6576
  function nn(n) {
6581
6577
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -6635,23 +6631,23 @@ var ku = { exports: {} };
6635
6631
  V === 1 && Array.isArray(v) === !1 && (P = v, v = []);
6636
6632
  var O, I, Y, A, N, j, K, R, B, Q = null, $, W, U = !1, J = 0, oe, Z = P || {};
6637
6633
  Z.moves === void 0 && (Z.moves = w), Z.accepts === void 0 && (Z.accepts = w), Z.invalid === void 0 && (Z.invalid = rt), Z.containers === void 0 && (Z.containers = v || []), Z.isContainer === void 0 && (Z.isContainer = y), Z.copy === void 0 && (Z.copy = !1), Z.copySortSource === void 0 && (Z.copySortSource = !1), Z.revertOnSpill === void 0 && (Z.revertOnSpill = !1), Z.removeOnSpill === void 0 && (Z.removeOnSpill = !1), Z.direction === void 0 && (Z.direction = "vertical"), Z.ignoreInputTextSelection === void 0 && (Z.ignoreInputTextSelection = !0), Z.mirrorContainer === void 0 && (Z.mirrorContainer = u.body);
6638
- var me = i({
6634
+ var he = i({
6639
6635
  containers: Z.containers,
6640
6636
  start: De,
6641
6637
  end: at,
6642
6638
  cancel: Ee,
6643
6639
  remove: ce,
6644
- destroy: z,
6640
+ destroy: G,
6645
6641
  canMove: Fe,
6646
6642
  dragging: !1
6647
6643
  });
6648
- return Z.removeOnSpill === !0 && me.on("over", yt).on("out", ht), Se(), me;
6644
+ return Z.removeOnSpill === !0 && he.on("over", yt).on("out", ht), Se(), he;
6649
6645
  function be(L) {
6650
- return me.containers.indexOf(L) !== -1 || Z.isContainer(L);
6646
+ return he.containers.indexOf(L) !== -1 || Z.isContainer(L);
6651
6647
  }
6652
6648
  function Se(L) {
6653
6649
  var ee = L ? "remove" : "add";
6654
- h(c, ee, "mousedown", G), h(c, ee, "mouseup", ie);
6650
+ h(c, ee, "mousedown", q), h(c, ee, "mouseup", ie);
6655
6651
  }
6656
6652
  function Ne(L) {
6657
6653
  var ee = L ? "remove" : "add";
@@ -6661,13 +6657,13 @@ var ku = { exports: {} };
6661
6657
  var ee = L ? "remove" : "add";
6662
6658
  l[ee](c, "selectstart", se), l[ee](c, "click", se);
6663
6659
  }
6664
- function z() {
6660
+ function G() {
6665
6661
  Se(!0), ie({});
6666
6662
  }
6667
6663
  function se(L) {
6668
6664
  $ && L.preventDefault();
6669
6665
  }
6670
- function G(L) {
6666
+ function q(L) {
6671
6667
  A = L.clientX, N = L.clientY;
6672
6668
  var ee = D(L) !== 1 || L.metaKey || L.ctrlKey;
6673
6669
  if (!ee) {
@@ -6693,7 +6689,7 @@ var ku = { exports: {} };
6693
6689
  }
6694
6690
  }
6695
6691
  function ye(L) {
6696
- if (!(me.dragging && O) && !be(L)) {
6692
+ if (!(he.dragging && O) && !be(L)) {
6697
6693
  for (var ee = L; T(L) && be(T(L)) === !1; )
6698
6694
  if (Z.invalid(L, ee) || (L = T(L), !L))
6699
6695
  return;
@@ -6716,13 +6712,13 @@ var ku = { exports: {} };
6716
6712
  ee && Ke(ee);
6717
6713
  }
6718
6714
  function Ke(L) {
6719
- Be(L.item, L.source) && (R = L.item.cloneNode(!0), me.emit("cloned", R, L.item, "copy")), I = L.source, Y = L.item, j = K = _(L.item), me.dragging = !0, me.emit("drag", Y, I);
6715
+ Be(L.item, L.source) && (R = L.item.cloneNode(!0), he.emit("cloned", R, L.item, "copy")), I = L.source, Y = L.item, j = K = _(L.item), he.dragging = !0, he.emit("drag", Y, I);
6720
6716
  }
6721
6717
  function rt() {
6722
6718
  return !1;
6723
6719
  }
6724
6720
  function at() {
6725
- if (me.dragging) {
6721
+ if (he.dragging) {
6726
6722
  var L = R || Y;
6727
6723
  we(L, T(L));
6728
6724
  }
@@ -6731,30 +6727,30 @@ var ku = { exports: {} };
6731
6727
  $ = !1, Ne(!0), Re(!0);
6732
6728
  }
6733
6729
  function ie(L) {
6734
- if (M(), !!me.dragging) {
6730
+ if (M(), !!he.dragging) {
6735
6731
  var ee = R || Y, re = F("clientX", L) || 0, ne = F("clientY", L) || 0, _e = x(O, re, ne), xe = ut(_e, re, ne);
6736
6732
  xe && (R && Z.copySortSource || !R || xe !== I) ? we(ee, xe) : Z.removeOnSpill ? ce() : Ee();
6737
6733
  }
6738
6734
  }
6739
6735
  function we(L, ee) {
6740
6736
  var re = T(L);
6741
- R && Z.copySortSource && ee === I && re.removeChild(Y), lt(ee) ? me.emit("cancel", L, I) : me.emit("drop", L, ee, I, K), Je();
6737
+ R && Z.copySortSource && ee === I && re.removeChild(Y), lt(ee) ? he.emit("cancel", L, I) : he.emit("drop", L, ee, I, K), Je();
6742
6738
  }
6743
6739
  function ce() {
6744
- if (me.dragging) {
6740
+ if (he.dragging) {
6745
6741
  var L = R || Y, ee = T(L);
6746
- ee && ee.removeChild(L), me.emit(R ? "cancel" : "remove", L, ee, I), Je();
6742
+ ee && ee.removeChild(L), he.emit(R ? "cancel" : "remove", L, ee, I), Je();
6747
6743
  }
6748
6744
  }
6749
6745
  function Ee(L) {
6750
- if (me.dragging) {
6746
+ if (he.dragging) {
6751
6747
  var ee = arguments.length > 0 ? L : Z.revertOnSpill, re = R || Y, ne = T(re), _e = lt(ne);
6752
- _e === !1 && ee && (R ? ne && ne.removeChild(R) : I.insertBefore(re, j)), _e || ee ? me.emit("cancel", re, I, I) : me.emit("drop", re, ne, I, K), Je();
6748
+ _e === !1 && ee && (R ? ne && ne.removeChild(R) : I.insertBefore(re, j)), _e || ee ? he.emit("cancel", re, I, I) : he.emit("drop", re, ne, I, K), Je();
6753
6749
  }
6754
6750
  }
6755
6751
  function Je() {
6756
6752
  var L = R || Y;
6757
- M(), ae(), pe(), L && s.rm(L, "gu-transit"), B && clearTimeout(B), me.dragging = !1, Q && me.emit("out", L, Q, I), me.emit("dragend", L, J), I = Y = R = j = K = B = Q = null;
6753
+ M(), ae(), me(), L && s.rm(L, "gu-transit"), B && clearTimeout(B), he.dragging = !1, Q && he.emit("out", L, Q, I), he.emit("dragend", L, J), I = Y = R = j = K = B = Q = null;
6758
6754
  }
6759
6755
  function lt(L, ee) {
6760
6756
  var re;
@@ -6796,7 +6792,7 @@ var ku = { exports: {} };
6796
6792
  }
6797
6793
  W.style.display = "block", _t(Le, ne, We), Le ? tt(ct, Le) : X(xe);
6798
6794
  function Ye(ke) {
6799
- me.emit(ke, ne, Q, I);
6795
+ he.emit(ke, ne, Q, I);
6800
6796
  }
6801
6797
  function ft() {
6802
6798
  We && Ye("over");
@@ -6812,10 +6808,10 @@ var ku = { exports: {} };
6812
6808
  s.rm(L, "gu-hide");
6813
6809
  }
6814
6810
  function ht(L) {
6815
- me.dragging && s.add(L, "gu-hide");
6811
+ he.dragging && s.add(L, "gu-hide");
6816
6812
  }
6817
6813
  function St() {
6818
- O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = Z.getMirrorText && Z.getMirrorText(Y) || "控件", s.add(O, "gu-mirror"), Z.mirrorContainer.appendChild(O), h(c, "add", "mousemove", pt), s.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", O, Y, "mirror"));
6814
+ O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = Z.getMirrorText && Z.getMirrorText(Y) || "控件", s.add(O, "gu-mirror"), Z.mirrorContainer.appendChild(O), h(c, "add", "mousemove", pt), s.add(Z.mirrorContainer, "gu-unselectable"), he.emit("cloned", O, Y, "mirror"));
6819
6815
  }
6820
6816
  function bt() {
6821
6817
  if (W = document.createElement("div"), s.add(W, "gu-insertion"), Y) {
@@ -6827,7 +6823,7 @@ var ku = { exports: {} };
6827
6823
  function ae() {
6828
6824
  O && (s.rm(Z.mirrorContainer, "gu-unselectable"), h(c, "remove", "mousemove", pt), T(O).removeChild(O), O = null);
6829
6825
  }
6830
- function pe() {
6826
+ function me() {
6831
6827
  W && (T(W).removeChild(W), W = null);
6832
6828
  }
6833
6829
  function Ce(L, ee) {
@@ -8338,7 +8334,7 @@ const dn = /* @__PURE__ */ dt({
8338
8334
  renderLoading: T
8339
8335
  } = oo(n, s), k = ro(n, /* @__PURE__ */ new Map(), y, w, i), {
8340
8336
  dataView: m
8341
- } = k, _ = ao(n, k, i, p, t), C = ri(n, p, k, i, _, t), F = q(() => n.disabled), v = q(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
8337
+ } = k, _ = ao(n, k, i, p, t), C = ri(n, p, k, i, _, t), F = z(() => n.disabled), v = z(() => n.virtualized ? Math.min(k.dataView.value.length, r.value) : k.dataView.value.length), {
8342
8338
  containerStyleObject: P
8343
8339
  } = io(n), V = so(n), {
8344
8340
  applyCommands: O
@@ -8353,22 +8349,22 @@ const dn = /* @__PURE__ */ dt({
8353
8349
  const K = co(n, N), R = fo(n, t, _, i), B = mo(n, t, i, R, p), Q = po(n), $ = ho(n, B, Q), W = vo(n, k, B, w, i, Q, $), U = go(n, a, k, v, 0, W), {
8354
8350
  getVisualData: J
8355
8351
  } = U, oe = yo(n, N), Z = bo(n, _), {
8356
- sidebarWidth: me
8357
- } = Z, be = wo(n, k, p, N, U, v, 0, me), {
8352
+ sidebarWidth: he
8353
+ } = Z, be = wo(n, k, p, N, U, v, 0, he), {
8358
8354
  onWheel: Se,
8359
8355
  dataGridWidth: Ne,
8360
8356
  viewPortHeight: Re,
8361
- viewPortWidth: z,
8357
+ viewPortWidth: G,
8362
8358
  resetScroll: se,
8363
- updateVisibleRowsOnLatestVisibleScope: G
8364
- } = be, te = Co(n, N, u, z, K), {
8359
+ updateVisibleRowsOnLatestVisibleScope: q
8360
+ } = be, te = Co(n, N, u, G, K), {
8365
8361
  calculateColumnsSize: ye
8366
- } = te, Fe = xo(), De = _o(u, f, k, Fe, be), Ke = So(n, t, I, k, K, x, be), rt = q(() => ({
8362
+ } = te, Fe = xo(), De = _o(u, f, k, Fe, be), Ke = So(n, t, I, k, K, x, be), rt = z(() => ({
8367
8363
  "fv-grid": !0,
8368
8364
  "fv-grid-bordered": n.showBorder,
8369
8365
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
8370
8366
  "fv-datagrid-strip": n.showStripe
8371
- })), at = q(() => ({
8367
+ })), at = z(() => ({
8372
8368
  "fv-grid-content": !0,
8373
8369
  "fv-grid-content-hover": h.value,
8374
8370
  "fv-grid-wrap-content": D.value
@@ -8378,7 +8374,7 @@ const dn = /* @__PURE__ */ dt({
8378
8374
  renderGridHeader: ie,
8379
8375
  renderGridColumnResizeOverlay: we,
8380
8376
  shouldShowHeader: ce
8381
- } = To(n, t, u, d, f, I, k, Ke, De, y, Fe, te, K, _, Z, Y, be, z, p), {
8377
+ } = To(n, t, u, d, f, I, k, Ke, De, y, Fe, te, K, _, Z, Y, be, G, p), {
8382
8378
  renderDataGridSidebar: Ee
8383
8379
  } = ko(n, R, _, Z, be), {
8384
8380
  renderDisableMask: Je
@@ -8391,15 +8387,15 @@ const dn = /* @__PURE__ */ dt({
8391
8387
  var ge, ke, nt;
8392
8388
  if (u.value && u.value.clientHeight > 0 && ((ge = u.value) == null ? void 0 : ge.clientWidth) > 0) {
8393
8389
  const Ze = Math.ceil(u.value.clientHeight / o);
8394
- Ze > r.value && (r.value = Ze, G()), Re.value = ((ke = c.value) == null ? void 0 : ke.clientHeight) || 0, Ne.value = ((nt = u.value) == null ? void 0 : nt.clientWidth) || 0, ye();
8390
+ Ze > r.value && (r.value = Ze, q()), Re.value = ((ke = c.value) == null ? void 0 : ke.clientHeight) || 0, Ne.value = ((nt = u.value) == null ? void 0 : nt.clientWidth) || 0, ye();
8395
8391
  }
8396
8392
  }
8397
8393
  Lt(() => {
8398
8394
  u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), p.value = J(0, v.value + 0 - 1), _n(u.value, pt), ye(), tn(() => {
8399
- u.value && (Ne.value = u.value.clientWidth), c.value && (z.value = c.value.clientWidth, Re.value = c.value.clientHeight);
8395
+ u.value && (Ne.value = u.value.clientWidth), c.value && (G.value = c.value.clientWidth, Re.value = c.value.clientHeight);
8400
8396
  })), b.value && T();
8401
8397
  }), en(() => {
8402
- }), Ie(z, () => {
8398
+ }), Ie(G, () => {
8403
8399
  u.value && ye();
8404
8400
  });
8405
8401
  function _t(ge) {
@@ -8424,7 +8420,7 @@ const dn = /* @__PURE__ */ dt({
8424
8420
  const ge = ht(), ke = C.getNextSelectableHierarchyItemId(ge);
8425
8421
  k.removeHierarchyDataItem(ge), p.value = J(0, v.value + 0 - 1), ke && _.selectItemById(ke);
8426
8422
  }
8427
- function pe(ge) {
8423
+ function me(ge) {
8428
8424
  B.onEditingRow(ge);
8429
8425
  }
8430
8426
  function Ce(ge) {
@@ -8458,7 +8454,7 @@ const dn = /* @__PURE__ */ dt({
8458
8454
  function ee() {
8459
8455
  _.clearSelection();
8460
8456
  }
8461
- const re = q(() => !p.value || !p.value.length), {
8457
+ const re = z(() => !p.value || !p.value.length), {
8462
8458
  renderEmpty: ne
8463
8459
  } = Mo(t);
8464
8460
  function _e() {
@@ -8515,7 +8511,7 @@ const dn = /* @__PURE__ */ dt({
8515
8511
  collapseTo: _t,
8516
8512
  expandTo: yt,
8517
8513
  removeDataItem: ae,
8518
- editDataItem: pe,
8514
+ editDataItem: me,
8519
8515
  acceptDataItem: Ce,
8520
8516
  cancelDataItem: He,
8521
8517
  updateColumns: Ge,
@@ -8567,11 +8563,11 @@ const dn = /* @__PURE__ */ dt({
8567
8563
  props: zu,
8568
8564
  emits: [],
8569
8565
  setup(n) {
8570
- const t = q(() => ({
8566
+ const t = z(() => ({
8571
8567
  "drag-and-drop-alert": !0,
8572
8568
  "no-drag": !0,
8573
8569
  "w-100": !0
8574
- })), e = q(() => ({
8570
+ })), e = z(() => ({
8575
8571
  height: "60px",
8576
8572
  display: "flex",
8577
8573
  "justify-content": "center",
@@ -8594,7 +8590,7 @@ const dn = /* @__PURE__ */ dt({
8594
8590
  }
8595
8591
  });
8596
8592
  function Yu(n) {
8597
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Jn(n);
8593
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !Kn(n);
8598
8594
  }
8599
8595
  const xn = /* @__PURE__ */ dt({
8600
8596
  name: "FDesignerItem",
@@ -8609,7 +8605,7 @@ const xn = /* @__PURE__ */ dt({
8609
8605
  setupContext: t
8610
8606
  };
8611
8607
  Mr("design-item-context", D);
8612
- const x = $t("useFormSchema"), y = $t("designer-host-service"), w = q(() => {
8608
+ const x = $t("useFormSchema"), y = $t("designer-host-service"), w = z(() => {
8613
8609
  var K;
8614
8610
  const A = n.modelValue.appearance && n.modelValue.appearance.class || "", N = ((K = p.value) == null ? void 0 : K.getCustomButtons) && p.value.getCustomButtons();
8615
8611
  let j = {
@@ -8624,7 +8620,7 @@ const xn = /* @__PURE__ */ dt({
8624
8620
  dgComponentFocused: d.value && d.value.classList.contains("dgComponentFocused")
8625
8621
  };
8626
8622
  return j[`farris-component-${i.value.type}`] = !0, j = mn(j, A), j = mn(j, u.value), j = mn(j, c.value), j;
8627
- }), g = q(() => {
8623
+ }), g = z(() => {
8628
8624
  const A = {}, N = n.modelValue.appearance && n.modelValue.appearance.style || "";
8629
8625
  return N && N.split(";").reduce((j, K) => {
8630
8626
  const [R, B] = K.split(":");
@@ -8768,7 +8764,7 @@ const xn = /* @__PURE__ */ dt({
8768
8764
  f && A && f.attachComponents(A, i.value), a.value = p.value.canNested !== void 0 ? p.value.canNested : a.value, r.value = p.value.canDelete !== void 0 ? p.value.canDelete : r.value, o.value = p.value.canMove !== void 0 ? p.value.canMove : o.value, s.value = p.value.styles || "", u.value = p.value.designerClass || "", d.value && (d.value.componentInstance = p, d.value.designItemContext = D), p.value.belongedComponentId = l.value;
8769
8765
  }
8770
8766
  I(), rn.value++;
8771
- }), Kn(() => {
8767
+ }), Qn(() => {
8772
8768
  d.value && d.value.removeEventListener("scroll", O);
8773
8769
  });
8774
8770
  function Y(A) {
@@ -8810,10 +8806,10 @@ function Uu(n, t, e, o, r = "data-grid-column") {
8810
8806
  };
8811
8807
  return a.value.headerDepth > 1 && (V["line-height"] = `${F.depth * f}px`), p.set(v + 1, P + (F.actualWidth || d)), V;
8812
8808
  }
8813
- const D = q(() => ({
8809
+ const D = z(() => ({
8814
8810
  "fv-grid-header": !0,
8815
8811
  "fv-grid-header-group-columns": a.value.headerDepth > 1
8816
- })), x = q(() => ({
8812
+ })), x = z(() => ({
8817
8813
  height: `${a.value.headerDepth * f}px`
8818
8814
  })), y = function(F) {
8819
8815
  return t.showSetting && !!F.showSetting;
@@ -9103,21 +9099,21 @@ function Qu(n, t) {
9103
9099
  };
9104
9100
  }
9105
9101
  function Ku(n, t, e, o, r) {
9106
- const { getGridHeaderCells: a } = r, i = 120, l = 50, s = q(() => {
9102
+ const { getGridHeaderCells: a } = r, i = 120, l = 50, s = z(() => {
9107
9103
  var m;
9108
9104
  return ((m = n.rowNumber) == null ? void 0 : m.enable) || !1;
9109
- }), u = q(() => {
9105
+ }), u = z(() => {
9110
9106
  var m, _;
9111
9107
  return ((m = n.selection) == null ? void 0 : m.multiSelect) || ((_ = n.selection) == null ? void 0 : _.showCheckbox) || !1;
9112
- }), c = q(
9108
+ }), c = z(
9113
9109
  () => {
9114
9110
  var m;
9115
9111
  return 0 + (s.value ? ((m = n.rowNumber) == null ? void 0 : m.width) || 32 : 0) + (u.value ? l : 0);
9116
9112
  }
9117
- ), d = q(() => {
9113
+ ), d = z(() => {
9118
9114
  var m;
9119
9115
  return (m = n.columnOption) == null ? void 0 : m.fitColumns;
9120
- }), f = q(() => {
9116
+ }), f = z(() => {
9121
9117
  var m;
9122
9118
  return d.value && ((m = n.columnOption) == null ? void 0 : m.fitMode) || "none";
9123
9119
  });
@@ -9269,7 +9265,7 @@ function Zu(n) {
9269
9265
  summaryColumns: []
9270
9266
  };
9271
9267
  }
9272
- const a = S(n.summary), i = q(() => {
9268
+ const a = S(n.summary), i = z(() => {
9273
9269
  const g = a.value;
9274
9270
  return (g == null ? void 0 : g.groupFields) || [];
9275
9271
  });
@@ -9288,7 +9284,7 @@ function Zu(n) {
9288
9284
  return i.value && i.value.reduce((T, k) => (T.set(k, !0), T), b), g.reduce((T, k) => (k.filter = k.filter || Ju, k.fixed === "left" ? (o.value.leftColumns.push(k), o.value.leftColumnsMap.set(k.field, k), o.value.leftColumnsWidth += k.actualWidth) : k.fixed === "right" ? (o.value.rightColumns.push(k), o.value.rightColumnsMap.set(k.field, k), o.value.rightColumnsWidth += k.actualWidth) : (o.value.primaryColumns.push(k), o.value.primaryColumnsMap.set(k.field, k), o.value.primaryColumnsWidth += k.actualWidth), b.has(k.field) && o.value.summaryColumns.push(k), T), o), l(), o;
9289
9285
  }
9290
9286
  s(n.columns);
9291
- const u = q(() => o.value.leftColumns.length > 0), c = q(() => o.value.rightColumns.length > 0);
9287
+ const u = z(() => o.value.leftColumns.length > 0), c = z(() => o.value.rightColumns.length > 0);
9292
9288
  function d(g, b) {
9293
9289
  return b.sortable && b.sort && b.sort !== "none" && g.push(b), g;
9294
9290
  }
@@ -9375,7 +9371,7 @@ const tc = /* @__PURE__ */ dt({
9375
9371
  var te, ye;
9376
9372
  const e = S(), o = 0, r = ((te = n.rowOption) == null ? void 0 : te.height) || 28, a = S(20), i = S(n.columns), l = bd(n), s = S(), u = S(), c = S([]), d = S(!1), f = S(((ye = n.rowOption) == null ? void 0 : ye.wrapContent) || !1), p = $t("designer-host-service"), h = $t("design-item-context"), D = Qu(h, p), x = su(e, h, D);
9377
9373
  x.value.designerClass = "f-utils-fill-flex-column";
9378
- const y = id(), w = sd(n), g = Ii(n, /* @__PURE__ */ new Map(), y, w, l), b = Cd(n, g, l, c, t), T = q(() => g.dataView.value.length), {
9374
+ const y = id(), w = sd(n), g = Ii(n, /* @__PURE__ */ new Map(), y, w, l), b = Cd(n, g, l, c, t), T = z(() => g.dataView.value.length), {
9379
9375
  containerStyleObject: k
9380
9376
  } = _i(n), m = Si(n), {
9381
9377
  applyCommands: _
@@ -9397,21 +9393,21 @@ const tc = /* @__PURE__ */ dt({
9397
9393
  viewPortHeight: J,
9398
9394
  viewPortWidth: oe,
9399
9395
  updateVisibleRowsOnLatestVisibleScope: Z
9400
- } = $, me = Ku(n, v, s, oe, O), {
9396
+ } = $, he = Ku(n, v, s, oe, O), {
9401
9397
  calculateColumnsSize: be
9402
- } = me, Se = q(() => ({
9398
+ } = he, Se = z(() => ({
9403
9399
  "drag-container": !0,
9404
9400
  "fv-grid": !0,
9405
9401
  "fv-grid-bordered": n.showBorder,
9406
9402
  "fv-datagrid-strip": n.showStripe
9407
- })), Ne = q(() => ({
9403
+ })), Ne = z(() => ({
9408
9404
  "fv-grid-content": !0,
9409
9405
  "fv-grid-content-hover": d.value,
9410
9406
  "fv-grid-wrap-content": f.value
9411
9407
  })), {
9412
9408
  renderGridHeader: Re
9413
9409
  } = Uu(h, n, C, $, "tree-grid-column"), {
9414
- renderHorizontalScrollbar: z
9410
+ renderHorizontalScrollbar: G
9415
9411
  } = Ci(n, s, $);
9416
9412
  function se() {
9417
9413
  var De, Ke;
@@ -9423,11 +9419,11 @@ const tc = /* @__PURE__ */ dt({
9423
9419
  s.value && (U.value = s.value.clientWidth), u.value && (oe.value = u.value.clientWidth, J.value = u.value.clientHeight);
9424
9420
  }));
9425
9421
  });
9426
- function G(Fe) {
9422
+ function q(Fe) {
9427
9423
  Fe && (i.value = Fe, _(i), P(i.value), F(g, V), be());
9428
9424
  }
9429
9425
  return Ie(() => n.columns, (Fe) => {
9430
- G(Fe);
9426
+ q(Fe);
9431
9427
  }), Ie(oe, () => {
9432
9428
  s.value && be();
9433
9429
  }), t.expose(x.value), () => E("div", {
@@ -9445,7 +9441,7 @@ const tc = /* @__PURE__ */ dt({
9445
9441
  onMouseleave: () => {
9446
9442
  d.value = !1;
9447
9443
  }
9448
- }, [z()])]);
9444
+ }, [G()])]);
9449
9445
  }
9450
9446
  });
9451
9447
  dn.register = (n, t, e, o) => {
@@ -9454,7 +9450,7 @@ dn.register = (n, t, e, o) => {
9454
9450
  dn.registerDesigner = (n, t, e) => {
9455
9451
  n["tree-grid"] = tc, t["tree-grid"] = ju;
9456
9452
  };
9457
- Un(dn);
9453
+ Yn(dn);
9458
9454
  const nc = /* @__PURE__ */ new Map([
9459
9455
  ["appearance", En]
9460
9456
  ]);
@@ -10078,7 +10074,7 @@ const Jt = /* @__PURE__ */ dt({
10078
10074
  handle: (M) => {
10079
10075
  T(M, !0);
10080
10076
  }
10081
- }], m = S(n.buttons && n.buttons.length ? n.buttons : k), _ = q(() => !!u.value), C = q(() => !!x.value && !!m.value), F = S(), v = S(), P = S(!1), {
10077
+ }], m = S(n.buttons && n.buttons.length ? n.buttons : k), _ = z(() => !!u.value), C = z(() => !!x.value && !!m.value), F = S(), v = S(), P = S(!1), {
10082
10078
  renderResizeBar: V,
10083
10079
  maximize: O,
10084
10080
  restore: I,
@@ -10114,7 +10110,7 @@ const Jt = /* @__PURE__ */ dt({
10114
10110
  isMaximized: P.value
10115
10111
  });
10116
10112
  });
10117
- const Q = q(() => (r.value && document.body.classList.add("modal-open"), r.value)), $ = q(() => {
10113
+ const Q = z(() => (r.value && document.body.classList.add("modal-open"), r.value)), $ = z(() => {
10118
10114
  var we;
10119
10115
  const M = {
10120
10116
  modal: !0,
@@ -10124,13 +10120,13 @@ const Jt = /* @__PURE__ */ dt({
10124
10120
  M["f-modal-fitContent"] = !!l.value, M.show = !!Q.value;
10125
10121
  const ie = (we = n.maskClass) == null ? void 0 : we.split(" ");
10126
10122
  return ie == null || ie.reduce((ce, Ee) => (ce[Ee] = !0, ce), M), M;
10127
- }), W = q(() => {
10123
+ }), W = z(() => {
10128
10124
  var we;
10129
10125
  const M = {
10130
10126
  "modal-dialog": !0
10131
10127
  }, ie = (we = i.value) == null ? void 0 : we.split(" ");
10132
10128
  return ie == null || ie.reduce((ce, Ee) => (ce[Ee] = !0, ce), M), M;
10133
- }), U = q(() => {
10129
+ }), U = z(() => {
10134
10130
  const M = {
10135
10131
  position: "absolute",
10136
10132
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -10139,24 +10135,24 @@ const Jt = /* @__PURE__ */ dt({
10139
10135
  height: l.value ? "auto" : `${o.value}px`
10140
10136
  };
10141
10137
  return n.mask || (M.pointerEvents = "auto"), M;
10142
- }), J = q(() => {
10138
+ }), J = z(() => {
10143
10139
  const M = {
10144
10140
  display: "block"
10145
10141
  };
10146
10142
  return n.mask || (M.pointerEvents = "none", M.backgroundColor = "transparent"), b.value && (M.backgroundColor = "transparent"), M;
10147
- }), oe = q(() => ({
10143
+ }), oe = z(() => ({
10148
10144
  "modal-content": !0,
10149
10145
  "modal-content-has-header": s.value
10150
- })), Z = q(() => {
10146
+ })), Z = z(() => {
10151
10147
  const M = {
10152
10148
  display: s.value ? "" : "none"
10153
10149
  };
10154
10150
  return M["pointer-events"] = N.value ? "auto" : "none", M;
10155
- }), me = q(() => ({
10151
+ }), he = z(() => ({
10156
10152
  "f-icon": !0,
10157
10153
  modal_maximize: !0,
10158
10154
  modalrevert: P.value
10159
- })), be = q(() => ({
10155
+ })), be = z(() => ({
10160
10156
  "modal-body": !0,
10161
10157
  "f-utils-flex-column": p.value === "iframe",
10162
10158
  "f-utils-fill": !0
@@ -10166,7 +10162,7 @@ const Jt = /* @__PURE__ */ dt({
10166
10162
  height: `${n.footerHeight || 60}px`
10167
10163
  };
10168
10164
  }
10169
- const Ne = q(() => {
10165
+ const Ne = z(() => {
10170
10166
  const M = {
10171
10167
  textAlgin: D.value
10172
10168
  }, ie = Se();
@@ -10179,19 +10175,19 @@ const Jt = /* @__PURE__ */ dt({
10179
10175
  }
10180
10176
  O(), P.value = !0;
10181
10177
  }
10182
- async function z(M, ie) {
10178
+ async function G(M, ie) {
10183
10179
  M.handle && await M.handle(ie, M) && t.emit("closed", ie);
10184
10180
  }
10185
10181
  function se(M) {
10186
10182
  M.width && (e.value = M.width), M.height && (o.value = M.height), M.buttons && (m.value = M.buttons), M.title && (y.value = M.title);
10187
10183
  }
10188
- let G = null, te = null;
10184
+ let q = null, te = null;
10189
10185
  Dr(() => {
10190
10186
  b.value = R();
10191
10187
  }), Lt(() => {
10192
- v.value && !w.value && (w.value = v.value.parentElement, Y.value = w.value, K(F.value, v.value, Y.value)), Q.value && document.body.classList.add("modal-open"), G = Cc(n, t), te = xc(n, t);
10188
+ v.value && !w.value && (w.value = v.value.parentElement, Y.value = w.value, K(F.value, v.value, Y.value)), Q.value && document.body.classList.add("modal-open"), q = Cc(n, t), te = xc(n, t);
10193
10189
  }), en(() => {
10194
- j && j(), G && G.remove(), te && te.remove();
10190
+ j && j(), q && q.remove(), te && te.remove();
10195
10191
  }), t.expose({
10196
10192
  modalElementRef: v,
10197
10193
  updateModalOptions: se,
@@ -10209,7 +10205,7 @@ const Jt = /* @__PURE__ */ dt({
10209
10205
  class: "f-btn-icon f-bare",
10210
10206
  style: "pointer-events: auto;"
10211
10207
  }, [E("span", {
10212
- class: me.value
10208
+ class: he.value
10213
10209
  }, null)]), c.value && E("li", {
10214
10210
  class: "f-btn-icon f-bare",
10215
10211
  onClick: (M) => T(M, !1),
@@ -10230,7 +10226,7 @@ const Jt = /* @__PURE__ */ dt({
10230
10226
  disabled: ie.value,
10231
10227
  class: M.class + (M.iconClass ? " btn-icontext" : ""),
10232
10228
  onClick: (we) => {
10233
- z(M, we);
10229
+ G(M, we);
10234
10230
  }
10235
10231
  }, [!!M.iconClass && E("i", {
10236
10232
  class: M.iconClass
@@ -10285,7 +10281,7 @@ const Jt = /* @__PURE__ */ dt({
10285
10281
  return () => E(Br, {
10286
10282
  to: "body"
10287
10283
  }, {
10288
- default: () => [Q.value && E(Qn, {
10284
+ default: () => [Q.value && E(Xn, {
10289
10285
  name: "fade",
10290
10286
  appear: !0
10291
10287
  }, {
@@ -10308,7 +10304,7 @@ function br(n) {
10308
10304
  function _c(n) {
10309
10305
  const t = document.createElement("div");
10310
10306
  t.style.display = "contents";
10311
- const e = Xn({
10307
+ const e = Un({
10312
10308
  setup(o, r) {
10313
10309
  en(() => {
10314
10310
  document.body.removeChild(t);
@@ -10357,7 +10353,7 @@ class wr {
10357
10353
  H(this, "activeModalIndex", S(0));
10358
10354
  H(this, "modalRefs", {});
10359
10355
  H(this, "isUseEscCloseModal", S(!1));
10360
- H(this, "activeModalInstance", q(() => this.modalRefs[this.activeModalIndex.value]));
10356
+ H(this, "activeModalInstance", z(() => this.modalRefs[this.activeModalIndex.value]));
10361
10357
  this.app = t, this.appContext = t ? t._context : null;
10362
10358
  }
10363
10359
  getCurrentModal() {
@@ -10573,7 +10569,7 @@ function Wc() {
10573
10569
  return { onCopy: n };
10574
10570
  }
10575
10571
  function Lc(n, t, e, o) {
10576
- const r = S(14), a = S(140), i = S(""), l = S(o.value.length), s = q(() => o.value), u = q(() => ({
10572
+ const r = S(14), a = S(140), i = S(""), l = S(o.value.length), s = z(() => o.value), u = z(() => ({
10577
10573
  "font-size": `${r.value}px`,
10578
10574
  height: "100%"
10579
10575
  }));
@@ -10607,7 +10603,7 @@ function jc(n, t, e, o) {
10607
10603
  function $c() {
10608
10604
  const n = S(!1), t = S("复制成功");
10609
10605
  return {
10610
- feedbackStyle: q(() => {
10606
+ feedbackStyle: z(() => {
10611
10607
  const o = {
10612
10608
  position: "absolute",
10613
10609
  left: "50%",
@@ -10635,7 +10631,7 @@ function Ac(n, t) {
10635
10631
  return () => e && e();
10636
10632
  }
10637
10633
  function Gc(n) {
10638
- const t = q(() => !!n.value && !!n.value.date), e = q(() => `发生时间 : ${n.value && n.value.date || ""}`), o = q(() => !!n.value && !!n.value.detail), r = q(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
10634
+ const t = z(() => !!n.value && !!n.value.date), e = z(() => `发生时间 : ${n.value && n.value.date || ""}`), o = z(() => !!n.value && !!n.value.detail), r = z(() => "详细信息 : " + (n.value && n.value.detail || "")), a = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
10639
10635
  return () => E("div", {
10640
10636
  class: "toast-msg-detail"
10641
10637
  }, [t.value && E("div", null, [e.value]), o.value && /* <div id="exception_error_msg" class="exception_error_msg" ref="exceptionMessageRef" style={exceptionMessageStyle.value}>
@@ -10667,12 +10663,12 @@ function zc(n) {
10667
10663
  }, null);
10668
10664
  }
10669
10665
  function qc(n, t, e, o) {
10670
- const r = S(n.exceptionInfo), a = q(() => {
10666
+ const r = S(n.exceptionInfo), a = z(() => {
10671
10667
  const f = {
10672
10668
  "f-icon": !0
10673
10669
  }, p = `f-icon-${t.value}`;
10674
10670
  return f[p] = !0, f;
10675
- }), i = q(() => e.value || r.value && r.value.message), l = q(() => o.value), s = q(() => !!o.value), u = q(() => !!r.value);
10671
+ }), i = z(() => e.value || r.value && r.value.message), l = z(() => o.value), s = z(() => !!o.value), u = z(() => !!r.value);
10676
10672
  function c() {
10677
10673
  return u.value ? Gc(r) : s.value ? zc(l) : () => null;
10678
10674
  }
@@ -10697,7 +10693,7 @@ function Yc(n, t, e) {
10697
10693
  date: "",
10698
10694
  message: "",
10699
10695
  detail: ""
10700
- }), s = q(() => l.value && l.value.detail || "");
10696
+ }), s = z(() => l.value && l.value.detail || "");
10701
10697
  function u(c) {
10702
10698
  o(s.value).catch((d) => {
10703
10699
  a.value = "复制失败";
@@ -10715,7 +10711,7 @@ function Yc(n, t, e) {
10715
10711
  }, [i.value])]);
10716
10712
  }
10717
10713
  function Uc(n, t, e, o) {
10718
- const r = S(n.type), a = S(n.buttons), i = S(n.exceptionInfo), l = S(n.okButtonText), s = S(n.cancelButtonText), u = S(!0), c = S(!0), d = q(() => !!(a.value && a.value.length)), f = q(() => i.value && i.value.date && i.value.message && i.value.detail), p = q(() => !(a.value && a.value.length) && (l.value || s.value)), h = q(() => c.value && l.value), D = q(() => u.value && s.value), x = Yc(n, e, o);
10714
+ const r = S(n.type), a = S(n.buttons), i = S(n.exceptionInfo), l = S(n.okButtonText), s = S(n.cancelButtonText), u = S(!0), c = S(!0), d = z(() => !!(a.value && a.value.length)), f = z(() => i.value && i.value.date && i.value.message && i.value.detail), p = z(() => !(a.value && a.value.length) && (l.value || s.value)), h = z(() => c.value && l.value), D = z(() => u.value && s.value), x = Yc(n, e, o);
10719
10715
  function y(g) {
10720
10716
  r.value === "question" && t.emit("reject"), t.emit("close");
10721
10717
  }
@@ -10745,14 +10741,14 @@ const an = /* @__PURE__ */ dt({
10745
10741
  props: Nc,
10746
10742
  emits: ["accept", "reject", "close"],
10747
10743
  setup(n, t) {
10748
- const e = S(n.type), o = S(n.title), r = S(n.detail), a = q(() => {
10744
+ const e = S(n.type), o = S(n.title), r = S(n.detail), a = z(() => {
10749
10745
  const x = {
10750
10746
  "modal-tips": !0,
10751
10747
  "d-flex": !0,
10752
10748
  "flex-row": !0
10753
10749
  }, y = `messager-type-${e.value}`;
10754
10750
  return x[y] = !0, x;
10755
- }), i = q(() => {
10751
+ }), i = z(() => {
10756
10752
  const x = {};
10757
10753
  return e.value === "prompt" ? x.padding = "0.5rem 0.5rem 1rem 1.5rem" : e.value === "error" && (x.padding = "0.5rem 1.5rem 1rem 1.5rem"), x;
10758
10754
  }), l = Wc(), s = jc(n, e, o, r), u = $c(), {
@@ -11135,7 +11131,7 @@ function Jc(n, t, e) {
11135
11131
  const g = a.get(y.conditionId);
11136
11132
  u(g).forEach((T) => c(T));
11137
11133
  }
11138
- const f = q(() => o.value.size === 0 && r.value.size === 1), p = function(y) {
11134
+ const f = z(() => o.value.size === 0 && r.value.size === 1), p = function(y) {
11139
11135
  r.value.delete(y.groupId), y.items.forEach((g) => s(g)), y.children.forEach((g) => !f.value && p(g));
11140
11136
  const w = i.get(y.groupId);
11141
11137
  w && r.value.has(w.groupId) && p(w);
@@ -11327,7 +11323,7 @@ const vn = /* @__PURE__ */ dt({
11327
11323
  }
11328
11324
  });
11329
11325
  vn.install = (n) => {
11330
- n.component(zn.name, zn).component(vn.name, vn);
11326
+ n.component(Gn.name, Gn).component(vn.name, vn);
11331
11327
  };
11332
11328
  const Zc = [
11333
11329
  "equal",
@@ -11562,21 +11558,21 @@ function id() {
11562
11558
  }
11563
11559
  function sd(n) {
11564
11560
  S(n.selection.showCheckbox || !1);
11565
- const t = q(() => {
11561
+ const t = z(() => {
11566
11562
  var i;
11567
11563
  return ((i = n.hierarchy) == null ? void 0 : i.collapseField) || "__fv_collapse__";
11568
- }), e = q(() => {
11564
+ }), e = z(() => {
11569
11565
  var i;
11570
11566
  return ((i = n.hierarchy) == null ? void 0 : i.hasChildrenField) || "__fv_hasChildren__";
11571
- }), o = q(() => {
11567
+ }), o = z(() => {
11572
11568
  var i;
11573
11569
  return ((i = n.hierarchy) == null ? void 0 : i.parentIdField) || "parent";
11574
- }), r = q(() => n.hierarchy && n.selection.showCheckbox), a = q(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
11570
+ }), r = z(() => n.hierarchy && n.selection.showCheckbox), a = z(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
11575
11571
  return { collapseField: t, hasChildrenField: e, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: a };
11576
11572
  }
11577
11573
  function ld(n, t, e, o, r, a, i, l, s) {
11578
11574
  var bt;
11579
- const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: f, minVisibleRowIndex: p } = r, h = q(() => o.value.primaryColumnsWidth), D = q(() => o.value.leftColumnsWidth), x = q(() => o.value.rightColumnsWidth), y = ((bt = n.rowOption) == null ? void 0 : bt.height) || 28, w = S(0), g = S(0);
11575
+ const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: f, minVisibleRowIndex: p } = r, h = z(() => o.value.primaryColumnsWidth), D = z(() => o.value.leftColumnsWidth), x = z(() => o.value.rightColumnsWidth), y = ((bt = n.rowOption) == null ? void 0 : bt.height) || 28, w = S(0), g = S(0);
11580
11576
  let b = 0, T = a.value - 1;
11581
11577
  const k = S(0), m = S(0), _ = S(0), C = S(n.virtualized), F = 24, v = 1.5;
11582
11578
  let P = null;
@@ -11584,69 +11580,69 @@ function ld(n, t, e, o, r, a, i, l, s) {
11584
11580
  const ae = c.value;
11585
11581
  if (ae.length <= 0)
11586
11582
  return 0;
11587
- const pe = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
11588
- return pe.__fv_data_position__ > ae.length * y ? ae.length * y : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * y;
11583
+ const me = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
11584
+ return me.__fv_data_position__ > ae.length * y ? ae.length * y : (me.__fv_data_position__ || 0) + (me.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * y;
11589
11585
  }
11590
- const O = q(() => {
11586
+ const O = z(() => {
11591
11587
  const ae = V();
11592
11588
  c.value;
11593
- let pe = m.value / Math.max(ae, m.value), Ce = Math.floor(pe * m.value);
11589
+ let me = m.value / Math.max(ae, m.value), Ce = Math.floor(me * m.value);
11594
11590
  for (; m.value > 0 && Ce < F; )
11595
- pe *= v, Ce = Math.floor(pe * m.value);
11591
+ me *= v, Ce = Math.floor(me * m.value);
11596
11592
  return Ce;
11597
- }), I = q(() => Math.floor(_.value / Math.max(h.value, _.value) * k.value)), Y = 0, A = 0, N = q(() => k.value - (D.value + h.value + x.value + l.value));
11593
+ }), I = z(() => Math.floor(_.value / Math.max(h.value, _.value) * k.value)), Y = 0, A = 0, N = z(() => k.value - (D.value + h.value + x.value + l.value));
11598
11594
  function j(ae) {
11599
11595
  const Ce = Math.floor(ae / y) + 1, He = c.value;
11600
11596
  return He.length > Ce ? He[Ce].__fv_visible_index__ - 1 : 0;
11601
11597
  }
11602
- function K(ae, pe, Ce) {
11603
- let He = ae, Ge = pe;
11604
- const tt = pe - ae + 1;
11598
+ function K(ae, me, Ce) {
11599
+ let He = ae, Ge = me;
11600
+ const tt = me - ae + 1;
11605
11601
  if (tt < i + a.value + i) {
11606
- const X = i + a.value + i - tt, ve = pe + X <= Ce, Te = 0 + X <= ae;
11602
+ const X = i + a.value + i - tt, ve = me + X <= Ce, Te = 0 + X <= ae;
11607
11603
  if (ve)
11608
11604
  Ge += X, T = Ge;
11609
11605
  else if (Te)
11610
11606
  He -= X, b = He;
11611
11607
  else {
11612
- const Be = Ce - pe, L = X - Be;
11613
- Ge = Math.min(pe + Be, Ce), He = Math.max(ae - L, 0);
11608
+ const Be = Ce - me, L = X - Be;
11609
+ Ge = Math.min(me + Be, Ce), He = Math.max(ae - L, 0);
11614
11610
  }
11615
11611
  }
11616
11612
  return { actualStart: He, actualEnd: Ge };
11617
11613
  }
11618
11614
  function R(ae) {
11619
11615
  var Be, L;
11620
- const pe = c.value;
11621
- if (!pe.length) {
11616
+ const me = c.value;
11617
+ if (!me.length) {
11622
11618
  e.value = [];
11623
11619
  return;
11624
11620
  }
11625
- const Ce = (Be = n.pagination) != null && Be.enable ? 0 : Math.max(b - i, 0), He = pe[pe.length - 1].__fv_visible_index__, Ge = (L = n.pagination) != null && L.enable ? pe.length - 1 : Math.min(T + i, He), { actualStart: tt, actualEnd: X } = K(Ce, Ge, He), ve = pe[tt - 1], Te = d(tt, X, ve, ae);
11621
+ const Ce = (Be = n.pagination) != null && Be.enable ? 0 : Math.max(b - i, 0), He = me[me.length - 1].__fv_visible_index__, Ge = (L = n.pagination) != null && L.enable ? me.length - 1 : Math.min(T + i, He), { actualStart: tt, actualEnd: X } = K(Ce, Ge, He), ve = me[tt - 1], Te = d(tt, X, ve, ae);
11626
11622
  Te.length && (e.value = [...Te]);
11627
11623
  }
11628
- const B = q(() => V() > m.value), Q = q(() => Math.floor(h.value) > _.value);
11629
- function $(ae, pe) {
11624
+ const B = z(() => V() > m.value), Q = z(() => Math.floor(h.value) > _.value);
11625
+ function $(ae, me) {
11630
11626
  let Ce = ae;
11631
11627
  const He = Ce > Y, Ge = B.value;
11632
- Ge && Ce < m.value - pe && (Ce = m.value - pe), (!Ge || He) && (Ce = Y), w.value !== Ce && (w.value = Ce);
11628
+ Ge && Ce < m.value - me && (Ce = m.value - me), (!Ge || He) && (Ce = Y), w.value !== Ce && (w.value = Ce);
11633
11629
  }
11634
11630
  function W() {
11635
11631
  C.value && (b = j(Math.abs(w.value)), T = b + a.value - 1, (b < p.value || T > f.value - i / 2) && R());
11636
11632
  }
11637
11633
  function U(ae) {
11638
- let pe = w.value + ae;
11639
- pe > Y && (pe = Y);
11634
+ let me = w.value + ae;
11635
+ me > Y && (me = Y);
11640
11636
  const Ce = V();
11641
- $(pe, Ce), W();
11637
+ $(me, Ce), W();
11642
11638
  }
11643
11639
  function J(ae) {
11644
11640
  if (!Q.value) {
11645
11641
  g.value = 0;
11646
11642
  return;
11647
11643
  }
11648
- let pe = g.value + ae;
11649
- pe > A && (pe = A), pe < N.value && (pe = N.value), g.value !== pe && (g.value = pe);
11644
+ let me = g.value + ae;
11645
+ me > A && (me = A), me < N.value && (me = N.value), g.value !== me && (g.value = me);
11650
11646
  }
11651
11647
  function oe() {
11652
11648
  Math.abs(g.value) + _.value > h.value && (g.value = Math.min(_.value - h.value, 0));
@@ -11654,80 +11650,80 @@ function ld(n, t, e, o, r, a, i, l, s) {
11654
11650
  function Z() {
11655
11651
  w.value = 0, b = 0, T = a.value - 1, R();
11656
11652
  }
11657
- function me() {
11653
+ function he() {
11658
11654
  const ae = V();
11659
11655
  $(w.value, ae);
11660
11656
  }
11661
11657
  Ie([_, h], () => {
11662
11658
  J(0);
11663
- }), Ie(m, (ae, pe) => {
11664
- ae !== pe && ae >= u.value.length * y && U(0);
11659
+ }), Ie(m, (ae, me) => {
11660
+ ae !== me && ae >= u.value.length * y && U(0);
11665
11661
  });
11666
11662
  function be(ae) {
11667
- let { deltaX: pe } = ae, Ce = -1 * ae.deltaY;
11668
- return typeof pe > "u" && (pe = -1 * ae.wheelDeltaX / 6), typeof Ce > "u" && (Ce = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (pe *= 10, Ce *= 10), ae.shiftKey ? { deltaY: -Ce, deltaX: -pe } : { deltaX: pe, deltaY: Ce };
11663
+ let { deltaX: me } = ae, Ce = -1 * ae.deltaY;
11664
+ return typeof me > "u" && (me = -1 * ae.wheelDeltaX / 6), typeof Ce > "u" && (Ce = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (me *= 10, Ce *= 10), ae.shiftKey ? { deltaY: -Ce, deltaX: -me } : { deltaX: me, deltaY: Ce };
11669
11665
  }
11670
11666
  function Se(ae) {
11671
11667
  if (n.disabled || !B.value || ae.target.tagName === "TEXTAREA")
11672
11668
  return;
11673
11669
  ae.preventDefault(), ae.stopPropagation();
11674
- const { deltaX: pe, deltaY: Ce } = be(ae);
11675
- U(Ce), J(pe);
11670
+ const { deltaX: me, deltaY: Ce } = be(ae);
11671
+ U(Ce), J(me);
11676
11672
  }
11677
- const Ne = q(() => ({
11673
+ const Ne = z(() => ({
11678
11674
  height: `${u.value.length * y}px`,
11679
11675
  width: `${D.value}px`,
11680
11676
  transform: `translateY(${w.value}px)`
11681
- })), Re = q(() => ({
11677
+ })), Re = z(() => ({
11682
11678
  transform: `translateY(${w.value}px)`
11683
- })), z = q(() => ({
11679
+ })), G = z(() => ({
11684
11680
  height: `${(n.autoHeight ? c.value : u.value).length * y}px`,
11685
11681
  width: `${h.value}px`,
11686
11682
  transform: `translate(${g.value}px, ${w.value}px)`
11687
- })), se = q(() => ({
11683
+ })), se = z(() => ({
11688
11684
  transform: `translate(${g.value}px, ${w.value}px)`
11689
- })), G = q(() => ({
11685
+ })), q = z(() => ({
11690
11686
  height: `${u.value.length * y}px`,
11691
11687
  width: `${x.value}px`,
11692
11688
  transform: `translateY(${w.value}px)`
11693
- })), te = q(() => ({
11689
+ })), te = z(() => ({
11694
11690
  transform: `translateY(${w.value}px)`
11695
- })), ye = q(() => ({
11691
+ })), ye = z(() => ({
11696
11692
  height: `${u.value.length * y}px`,
11697
11693
  width: `${l.value}px`,
11698
11694
  transform: `translateY(${w.value}px)`
11699
- })), Fe = q(() => ({
11695
+ })), Fe = z(() => ({
11700
11696
  width: `${D.value}px`
11701
- })), De = q(() => ({
11697
+ })), De = z(() => ({
11702
11698
  transform: `translateX(${g.value}px)`
11703
- })), Ke = q(() => ({
11699
+ })), Ke = z(() => ({
11704
11700
  width: `${x.value}px`
11705
- })), rt = q(() => {
11701
+ })), rt = z(() => {
11706
11702
  const ae = V();
11707
11703
  return $(w.value, ae), w.value / (m.value - ae) * (m.value - O.value);
11708
- }), at = q(() => ({
11704
+ }), at = z(() => ({
11709
11705
  width: "8px",
11710
11706
  height: `${O.value}px`,
11711
11707
  top: `${rt.value}px`
11712
- })), M = q(() => g.value / N.value * (k.value - I.value)), ie = q(() => ({
11708
+ })), M = z(() => g.value / N.value * (k.value - I.value)), ie = z(() => ({
11713
11709
  height: "8px",
11714
11710
  width: `${I.value}px`,
11715
11711
  left: `${M.value}px`
11716
11712
  })), we = S(!1), ce = S(-1), Ee = S(-1), Je = S();
11717
11713
  function lt(ae) {
11718
11714
  if (we.value && Ee.value !== -1) {
11719
- const pe = Ee.value - ae.pageX, Ce = k.value - I.value;
11720
- if (Math.abs(pe) <= Ce) {
11721
- const He = pe / (_.value - I.value) * (h.value - _.value);
11715
+ const me = Ee.value - ae.pageX, Ce = k.value - I.value;
11716
+ if (Math.abs(me) <= Ce) {
11717
+ const He = me / (_.value - I.value) * (h.value - _.value);
11722
11718
  J(He), Ee.value = ae.pageX;
11723
11719
  }
11724
11720
  }
11725
11721
  }
11726
11722
  function ut(ae) {
11727
11723
  if (we.value && ce.value !== -1) {
11728
- const pe = ce.value - ae.pageY, Ce = V(), He = Ce - O.value;
11729
- if (Math.abs(pe) <= He) {
11730
- const Ge = pe / (m.value - O.value) * (Ce - m.value);
11724
+ const me = ce.value - ae.pageY, Ce = V(), He = Ce - O.value;
11725
+ if (Math.abs(me) <= He) {
11726
+ const Ge = me / (m.value - O.value) * (Ce - m.value);
11731
11727
  U(Ge), ce.value = ae.pageY;
11732
11728
  }
11733
11729
  }
@@ -11735,16 +11731,16 @@ function ld(n, t, e, o, r, a, i, l, s) {
11735
11731
  function pt(ae) {
11736
11732
  we.value = !1, ce.value = -1, Ee.value = -1, document.removeEventListener("mouseup", pt), P && (document.removeEventListener("mousemove", P), P = null), document.body.style.userSelect = "", Je.value && (Je.value.style.opacity = null);
11737
11733
  }
11738
- function _t(ae, pe, Ce) {
11734
+ function _t(ae, me, Ce) {
11739
11735
  var tt;
11740
11736
  we.value = !0;
11741
11737
  const He = (tt = ae.target) == null ? void 0 : tt.parentElement;
11742
- He && (He.style.opacity = "1", Je.value = He), P || (P = Ar(Ce === "horizontal" ? lt : ut, 50)), Ce === "vertical" && (ce.value = ae.pageY), Ce === "horizontal" && (Ee.value = ae.pageX), pe.value && (pe.value, document.addEventListener("mousemove", P), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
11738
+ He && (He.style.opacity = "1", Je.value = He), P || (P = Ar(Ce === "horizontal" ? lt : ut, 50)), Ce === "vertical" && (ce.value = ae.pageY), Ce === "horizontal" && (Ee.value = ae.pageX), me.value && (me.value, document.addEventListener("mousemove", P), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
11743
11739
  }
11744
11740
  function yt(ae) {
11745
- const pe = u.value.length * y - m.value;
11741
+ const me = u.value.length * y - m.value;
11746
11742
  let Ce = ae * y;
11747
- Ce >= pe && (Ce = pe), U(-Ce - w.value);
11743
+ Ce >= me && (Ce = me), U(-Ce - w.value);
11748
11744
  }
11749
11745
  function ht() {
11750
11746
  yt(u.value.length);
@@ -11755,7 +11751,7 @@ function ld(n, t, e, o, r, a, i, l, s) {
11755
11751
  return {
11756
11752
  dataGridWidth: k,
11757
11753
  fitHorizontalScroll: oe,
11758
- gridDataStyle: z,
11754
+ gridDataStyle: G,
11759
11755
  gridHeaderColumnsStyle: De,
11760
11756
  gridMergedDataStyle: se,
11761
11757
  gridSideStyle: ye,
@@ -11769,12 +11765,12 @@ function ld(n, t, e, o, r, a, i, l, s) {
11769
11765
  onWheel: Se,
11770
11766
  reCalculateVisualDataRows: R,
11771
11767
  resetScroll: Z,
11772
- rightFixedGridDataStyle: G,
11768
+ rightFixedGridDataStyle: q,
11773
11769
  rightFixedGridHeaderColumnsStyle: Ke,
11774
11770
  rightFixedGridMergedDataStyle: te,
11775
11771
  shouldShowHorizontalScrollbar: Q,
11776
11772
  shouldShowVirticalScrollbar: B,
11777
- updateVirticalScroll: me,
11773
+ updateVirticalScroll: he,
11778
11774
  updateVisibleRowsOnLatestVisibleScope: W,
11779
11775
  verticalScrollThumbStyle: at,
11780
11776
  viewPortWidth: _,
@@ -12339,161 +12335,161 @@ function wd(n, t, e, o) {
12339
12335
  };
12340
12336
  }
12341
12337
  function Cd(n, t, e, o, r) {
12342
- const { idField: a } = e, { dataView: i, getSelectionItems: l } = t, s = S(""), u = q(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), f = S(n.selection.showCheckbox), p = S(n.selection.showSelectAll), h = S(n.selectionValues || []), D = S(!!h.value.length && o.value.length === h.value.length), x = S(!!h.value.length && o.value.length !== h.value.length);
12343
- Ie(() => n.selection.showSelectAll, (z, se) => {
12344
- z !== se && (p.value = z);
12338
+ const { idField: a } = e, { dataView: i, getSelectionItems: l } = t, s = S(""), u = z(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), f = S(n.selection.showCheckbox), p = S(n.selection.showSelectAll), h = S(n.selectionValues || []), D = S(!!h.value.length && o.value.length === h.value.length), x = S(!!h.value.length && o.value.length !== h.value.length);
12339
+ Ie(() => n.selection.showSelectAll, (G, se) => {
12340
+ G !== se && (p.value = G);
12345
12341
  });
12346
12342
  function y() {
12347
- const z = i.value.every((G) => h.value.includes(G[a.value])), se = i.value.every((G) => !h.value.includes(G[a.value]));
12348
- z && (D.value = !0, x.value = !1), se && (D.value = !1, x.value = !1), !z && !se && (D.value = !1, x.value = !0);
12343
+ const G = i.value.every((q) => h.value.includes(q[a.value])), se = i.value.every((q) => !h.value.includes(q[a.value]));
12344
+ G && (D.value = !0, x.value = !1), se && (D.value = !1, x.value = !1), !G && !se && (D.value = !1, x.value = !0);
12349
12345
  }
12350
12346
  function w() {
12351
12347
  return l(h.value);
12352
12348
  }
12353
12349
  function g() {
12354
- const z = o.value.reduce((G, te) => (G.set(te.raw[a.value], te), G), /* @__PURE__ */ new Map());
12355
- return h.value.map((G) => z.get(G)).filter((G) => !!G);
12350
+ const G = o.value.reduce((q, te) => (q.set(te.raw[a.value], te), q), /* @__PURE__ */ new Map());
12351
+ return h.value.map((q) => G.get(q)).filter((q) => !!q);
12356
12352
  }
12357
- function b(z) {
12358
- var G;
12359
- const se = z.raw.__fv_children_index__;
12353
+ function b(G) {
12354
+ var q;
12355
+ const se = G.raw.__fv_children_index__;
12360
12356
  if (se && se.length) {
12361
12357
  const te = se.map((ye) => i.value[ye]);
12362
- (G = h.value) != null && G.length && te.some((Fe) => !h.value.includes(Fe[a.value])) && (z.indeterminate = !0, z.raw.__fv_indeterminate__ = !0);
12358
+ (q = h.value) != null && q.length && te.some((Fe) => !h.value.includes(Fe[a.value])) && (G.indeterminate = !0, G.raw.__fv_indeterminate__ = !0);
12363
12359
  }
12364
12360
  }
12365
- const T = q(() => u.value && c.value), k = q(
12361
+ const T = z(() => u.value && c.value), k = z(
12366
12362
  () => u.value && !c.value && !f.value
12367
- ), m = q(() => !!n.hierarchy), _ = q(() => {
12368
- const z = f.value && d.value === "DependOnCheck";
12369
- return T.value && z;
12370
- }), C = q(() => T.value && !f.value), F = q(() => T.value && f.value && d.value === "OnCheckAndClick");
12371
- q(() => F.value);
12363
+ ), m = z(() => !!n.hierarchy), _ = z(() => {
12364
+ const G = f.value && d.value === "DependOnCheck";
12365
+ return T.value && G;
12366
+ }), C = z(() => T.value && !f.value), F = z(() => T.value && f.value && d.value === "OnCheckAndClick");
12367
+ z(() => F.value);
12372
12368
  function v() {
12373
- const z = l(h.value);
12374
- r.emit("selectionChange", z);
12369
+ const G = l(h.value);
12370
+ r.emit("selectionChange", G);
12375
12371
  }
12376
- function P(z) {
12377
- r.emit("unSelectItem", z);
12372
+ function P(G) {
12373
+ r.emit("unSelectItem", G);
12378
12374
  }
12379
12375
  function V() {
12380
- const z = o.value.filter((G) => G.indeterminate).map((G) => G.raw[a.value]);
12381
- o.value.forEach((G) => {
12382
- G.checked = !1, G.indeterminate = !1, G.raw.__fv_checked__ = !1, G.raw.__fv_indeterminate__ = !1;
12383
- }), g().forEach((G) => {
12384
- G.checked = !0, G.raw.__fv_checked__ = !0;
12385
- }), z.forEach((G) => {
12386
- const te = o.value.find((ye) => ye.raw[a.value] === G);
12376
+ const G = o.value.filter((q) => q.indeterminate).map((q) => q.raw[a.value]);
12377
+ o.value.forEach((q) => {
12378
+ q.checked = !1, q.indeterminate = !1, q.raw.__fv_checked__ = !1, q.raw.__fv_indeterminate__ = !1;
12379
+ }), g().forEach((q) => {
12380
+ q.checked = !0, q.raw.__fv_checked__ = !0;
12381
+ }), G.forEach((q) => {
12382
+ const te = o.value.find((ye) => ye.raw[a.value] === q);
12387
12383
  b(te);
12388
12384
  });
12389
12385
  }
12390
12386
  Ie(() => o.value, () => {
12391
12387
  V();
12392
- }), Ie(() => n.selectionValues, (z) => {
12393
- h.value = z, V();
12394
- }, { immediate: !0 }), Ie(() => n.selection, (z) => {
12395
- c.value = !!z.multiSelect, d.value = z.multiSelectMode || "DependOnCheck", f.value = !!z.showCheckbox;
12388
+ }), Ie(() => n.selectionValues, (G) => {
12389
+ h.value = G, V();
12390
+ }, { immediate: !0 }), Ie(() => n.selection, (G) => {
12391
+ c.value = !!G.multiSelect, d.value = G.multiSelectMode || "DependOnCheck", f.value = !!G.showCheckbox;
12396
12392
  });
12397
- const O = q(() => !c.value);
12398
- function I(z) {
12399
- return z.raw[a.value];
12393
+ const O = z(() => !c.value);
12394
+ function I(G) {
12395
+ return G.raw[a.value];
12400
12396
  }
12401
- function Y(z) {
12402
- return h.value.findIndex((G) => G === I(z));
12397
+ function Y(G) {
12398
+ return h.value.findIndex((q) => q === I(G));
12403
12399
  }
12404
12400
  function A() {
12405
- g().forEach((G) => {
12406
- G.checked = !1;
12407
- }), l(h.value).forEach((G) => {
12408
- G.__fv_checked__ = !1;
12401
+ g().forEach((q) => {
12402
+ q.checked = !1;
12403
+ }), l(h.value).forEach((q) => {
12404
+ q.__fv_checked__ = !1;
12409
12405
  }), h.value = [], s.value = "", y();
12410
12406
  }
12411
- function N(z) {
12412
- const se = z;
12407
+ function N(G) {
12408
+ const se = G;
12413
12409
  se.__fv_checked__ = !0, se.__fv_indeterminate__ = !1;
12414
- const G = new Set(h.value);
12415
- G.add(se[a.value]), h.value = Array.from(G.values());
12410
+ const q = new Set(h.value);
12411
+ q.add(se[a.value]), h.value = Array.from(q.values());
12416
12412
  }
12417
- function j(z) {
12418
- const se = z;
12419
- se.__fv_checked__ = !1, se.__fv_indeterminate__ = !1, h.value = h.value.filter((G) => G !== se[a.value]);
12413
+ function j(G) {
12414
+ const se = G;
12415
+ se.__fv_checked__ = !1, se.__fv_indeterminate__ = !1, h.value = h.value.filter((q) => q !== se[a.value]);
12420
12416
  }
12421
- function K(z) {
12422
- const se = z.raw;
12417
+ function K(G) {
12418
+ const se = G.raw;
12423
12419
  se.__fv_checked__ = !0, se.__fv_indeterminate__ = !1;
12424
- const G = new Set(h.value);
12425
- G.add(se[a.value]), h.value = Array.from(G.values()), z.checked = !0, z.indeterminate = !1;
12420
+ const q = new Set(h.value);
12421
+ q.add(se[a.value]), h.value = Array.from(q.values()), G.checked = !0, G.indeterminate = !1;
12426
12422
  }
12427
- function R(z) {
12428
- const se = z.raw;
12429
- se.__fv_checked__ = !1, se.__fv_indeterminate__ = !1, h.value = h.value.filter((G) => G !== se[a.value]), z.checked = !1, z.indeterminate = !1;
12423
+ function R(G) {
12424
+ const se = G.raw;
12425
+ se.__fv_checked__ = !1, se.__fv_indeterminate__ = !1, h.value = h.value.filter((q) => q !== se[a.value]), G.checked = !1, G.indeterminate = !1;
12430
12426
  }
12431
- function B(z) {
12432
- K(z), s.value = z.raw[a.value];
12427
+ function B(G) {
12428
+ K(G), s.value = G.raw[a.value];
12433
12429
  }
12434
- function Q(z) {
12435
- R(z), s.value = "";
12430
+ function Q(G) {
12431
+ R(G), s.value = "";
12436
12432
  }
12437
- function $(z) {
12438
- z.__fv_checked__ = !1, z.__fv_indeterminate__ = !0, h.value = h.value.filter((se) => se !== z[a.value]);
12433
+ function $(G) {
12434
+ G.__fv_checked__ = !1, G.__fv_indeterminate__ = !0, h.value = h.value.filter((se) => se !== G[a.value]);
12439
12435
  }
12440
- function W(z) {
12441
- const se = z.raw;
12442
- se.__fv_checked__ = !1, se.__fv_indeterminate__ = !0, h.value = h.value.filter((G) => G !== se[a.value]), z.checked = !1, z.indeterminate = !0;
12436
+ function W(G) {
12437
+ const se = G.raw;
12438
+ se.__fv_checked__ = !1, se.__fv_indeterminate__ = !0, h.value = h.value.filter((q) => q !== se[a.value]), G.checked = !1, G.indeterminate = !0;
12443
12439
  }
12444
- function U(z) {
12445
- O.value && A(), z.checked ? R(z) : K(z), v();
12440
+ function U(G) {
12441
+ O.value && A(), G.checked ? R(G) : K(G), v();
12446
12442
  }
12447
- function J(z, se = !0) {
12448
- const G = z.checked;
12449
- O.value && A(), se ? z.checked ? Q(z) : B(z) : G ? Q(z) : B(z), v(), z.checked || P(z);
12443
+ function J(G, se = !0) {
12444
+ const q = G.checked;
12445
+ O.value && A(), se ? G.checked ? Q(G) : B(G) : q ? Q(G) : B(G), v(), G.checked || P(G);
12450
12446
  }
12451
- function oe(z) {
12452
- z.raw[a.value] !== s.value && (A(), B(z), v());
12447
+ function oe(G) {
12448
+ G.raw[a.value] !== s.value && (A(), B(G), v());
12453
12449
  }
12454
- function Z(z) {
12455
- const se = o.value.find((G) => G.raw[a.value] === z);
12450
+ function Z(G) {
12451
+ const se = o.value.find((q) => q.raw[a.value] === G);
12456
12452
  se && oe(se);
12457
12453
  }
12458
- function me(z) {
12459
- const se = o.value.filter((ye) => z.includes(ye.raw[a.value])), G = se.map((ye) => ye.raw[a.value]), te = i.value.filter((ye) => {
12454
+ function he(G) {
12455
+ const se = o.value.filter((ye) => G.includes(ye.raw[a.value])), q = se.map((ye) => ye.raw[a.value]), te = i.value.filter((ye) => {
12460
12456
  const Fe = ye[a.value];
12461
- return !G.includes(Fe) && z.includes(Fe);
12457
+ return !q.includes(Fe) && G.includes(Fe);
12462
12458
  });
12463
- (se.length || te.length) && (A(), k.value && (s.value = z[0])), se.forEach((ye) => {
12459
+ (se.length || te.length) && (A(), k.value && (s.value = G[0])), se.forEach((ye) => {
12464
12460
  B(ye);
12465
12461
  }), te.forEach((ye) => {
12466
12462
  N(ye);
12467
12463
  }), v();
12468
12464
  }
12469
- function be(z) {
12470
- for (const se of z) {
12465
+ function be(G) {
12466
+ for (const se of G) {
12471
12467
  if (!h.value.includes(se))
12472
12468
  continue;
12473
- const G = o.value.find((te) => te.raw[a.value] === se);
12474
- if (G)
12475
- Q(G);
12469
+ const q = o.value.find((te) => te.raw[a.value] === se);
12470
+ if (q)
12471
+ Q(q);
12476
12472
  else {
12477
12473
  const te = i.value.find((ye) => ye[a.value] === se);
12478
12474
  te && j(te);
12479
12475
  }
12480
12476
  }
12481
12477
  h.value = h.value.filter(
12482
- (se) => !z.includes(se)
12478
+ (se) => !G.includes(se)
12483
12479
  );
12484
12480
  }
12485
12481
  function Se() {
12486
- o.value.forEach((z) => {
12487
- K(z);
12482
+ o.value.forEach((G) => {
12483
+ K(G);
12488
12484
  }), v();
12489
12485
  }
12490
12486
  function Ne() {
12491
- o.value.forEach((z) => {
12492
- R(z);
12487
+ o.value.forEach((G) => {
12488
+ R(G);
12493
12489
  }), v();
12494
12490
  }
12495
12491
  function Re() {
12496
- return o.value.find((z) => z.raw[a.value] === s.value);
12492
+ return o.value.find((G) => G.raw[a.value] === s.value);
12497
12493
  }
12498
12494
  return {
12499
12495
  clearSelection: A,
@@ -12516,7 +12512,7 @@ function Cd(n, t, e, o, r) {
12516
12512
  selectDataItem: N,
12517
12513
  selectItem: oe,
12518
12514
  selectItemById: Z,
12519
- selectItemByIds: me,
12515
+ selectItemByIds: he,
12520
12516
  showCheckBox: f,
12521
12517
  showSelectAll: p,
12522
12518
  toggleSelectItem: J,
@@ -12533,10 +12529,10 @@ function Cd(n, t, e, o, r) {
12533
12529
  }
12534
12530
  function xd(n, t) {
12535
12531
  var x, y;
12536
- const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = S(((x = n.rowNumber) == null ? void 0 : x.enable) ?? !1), l = q(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), s = S(i.value ? ((y = n.rowNumber) == null ? void 0 : y.width) ?? 32 : 0), u = S(l.value ? o : 0), c = q(() => {
12532
+ const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: a } = t, i = S(((x = n.rowNumber) == null ? void 0 : x.enable) ?? !1), l = z(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), s = S(i.value ? ((y = n.rowNumber) == null ? void 0 : y.width) ?? 32 : 0), u = S(l.value ? o : 0), c = z(() => {
12537
12533
  var w;
12538
12534
  return i.value ? ((w = n.rowNumber) == null ? void 0 : w.heading) ?? "序号" : "";
12539
- }), d = q(() => (l.value && !n.hierarchy ? Number(u.value) : 0) + (i.value ? Number(s.value) : 0));
12535
+ }), d = z(() => (l.value && !n.hierarchy ? Number(u.value) : 0) + (i.value ? Number(s.value) : 0));
12540
12536
  Ie(() => n.rowNumber, (w) => {
12541
12537
  w && w.enable !== void 0 && (i.value = w.enable), w && w.width !== void 0 && (s.value = w.width);
12542
12538
  });
@@ -12547,7 +12543,7 @@ function xd(n, t) {
12547
12543
  height: `${w.height || ""}px`
12548
12544
  };
12549
12545
  }
12550
- const p = q(() => ({
12546
+ const p = z(() => ({
12551
12547
  width: `${d.value}px`
12552
12548
  }));
12553
12549
  function h(w) {
@@ -12649,7 +12645,7 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12649
12645
  } = l, {
12650
12646
  navigateOnKeyUp: R,
12651
12647
  navigateOnKeyDown: B
12652
- } = c, Q = (M) => (M || []).some((ie) => Jn(ie) ? !(ie.type === Rr || ie.type === Gt && !Q(ie.children)) : !0) ? M : null, $ = (M) => {
12648
+ } = c, Q = (M) => (M || []).some((ie) => Kn(ie) ? !(ie.type === Rr || ie.type === Gt && !Q(ie.children)) : !0) ? M : null, $ = (M) => {
12653
12649
  var ie, we, ce;
12654
12650
  return ((we = (ie = M.column) == null ? void 0 : ie.editor) == null ? void 0 : we.type) === "switch" || ((ce = M.column) == null ? void 0 : ce.dataType) === "boolean" ? {
12655
12651
  display: "flex",
@@ -12663,7 +12659,7 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12663
12659
  leftFixedGridDataStyle: J,
12664
12660
  leftFixedGridMergedDataStyle: oe,
12665
12661
  rightFixedGridDataStyle: Z,
12666
- rightFixedGridMergedDataStyle: me
12662
+ rightFixedGridMergedDataStyle: he
12667
12663
  } = p;
12668
12664
  function be(M, ie) {
12669
12665
  ie.collapse = !ie.collapse, h.value = A(ie.collapse ? "collapse" : "expand", ie, h.value);
@@ -12718,7 +12714,7 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12718
12714
  }
12719
12715
  return we;
12720
12716
  }
12721
- function z(M, ie, we) {
12717
+ function G(M, ie, we) {
12722
12718
  return M.layer > -1 && E("div", {
12723
12719
  ref: M.setRef,
12724
12720
  key: w(M),
@@ -12733,9 +12729,12 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12733
12729
  style: $(M)
12734
12730
  }, [M.getEditor(M)]) : E("div", {
12735
12731
  class: C(M)
12736
- }, [M.formatter ? M.formatter(M, ie) : M.data != null ? M.data.toString() : M.data]);
12732
+ }, [M.formatter ? M.formatter(M, ie) : M.showTips ? E(Jn, null, {
12733
+ default: () => M.data,
12734
+ contentTemplate: () => M.data
12735
+ }) : M.data]);
12737
12736
  }
12738
- function G(M, ie, we) {
12737
+ function q(M, ie, we) {
12739
12738
  return E("div", {
12740
12739
  ref: M.setRef,
12741
12740
  key: w(M),
@@ -12767,7 +12766,7 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12767
12766
  }) : se(ce, M)])]);
12768
12767
  })]);
12769
12768
  }
12770
- const te = [G, Ne, z];
12769
+ const te = [q, Ne, G];
12771
12770
  function ye(M, ie) {
12772
12771
  const we = D(M);
12773
12772
  return h.value.map((ce, Ee) => te[ce.type](ce, we, Ee));
@@ -12813,7 +12812,7 @@ function Od(n, t, e, o, r, a, i, l, s, u, c, d, f, p, h) {
12813
12812
  style: Z.value
12814
12813
  }, [ye(N.value.rightColumns.filter((M) => M.visible))]), E("div", {
12815
12814
  class: "fv-grid-merge-date",
12816
- style: me.value
12815
+ style: he.value
12817
12816
  }, [Fe(N.value.rightColumns.filter((M) => M.visible))])]);
12818
12817
  }
12819
12818
  function at() {
@@ -12838,8 +12837,8 @@ const Md = /* @__PURE__ */ dt({
12838
12837
  } = T, m = ao(n, b, i, f, t), {
12839
12838
  showSelectAll: _,
12840
12839
  updateSelectAllStatus: C
12841
- } = m, F = q(() => n.disabled), v = q(() => n.virtualized ? Math.min(b.dataView.value.length, r.value) : b.dataView.value.length);
12842
- q(() => n.loadingConfig.message);
12840
+ } = m, F = z(() => n.disabled), v = z(() => n.virtualized ? Math.min(b.dataView.value.length, r.value) : b.dataView.value.length);
12841
+ z(() => n.loadingConfig.message);
12843
12842
  const {
12844
12843
  containerStyleObject: P
12845
12844
  } = io(n), V = so(n), {
@@ -12854,24 +12853,24 @@ const Md = /* @__PURE__ */ dt({
12854
12853
  A(b, Y);
12855
12854
  const K = co(n, N), R = fo(n, t, m, i), B = mo(n, t, i, R, f), Q = po(n), $ = ho(n, B, Q), W = vo(n, b, B, y, i, Q, $), U = ii(n, i, $, W), J = si(n, i, $, W), oe = go(n, a, b, v, 0, W, U, J), {
12856
12855
  getVisualData: Z
12857
- } = oe, me = li(N), be = yo(n, N), Se = bo(n, m), {
12856
+ } = oe, he = li(N), be = yo(n, N), Se = bo(n, m), {
12858
12857
  sidebarWidth: Ne,
12859
12858
  showSidebarCheckBox: Re
12860
- } = Se, z = wo(n, b, f, N, oe, v, 0, Ne, B), {
12859
+ } = Se, G = wo(n, b, f, N, oe, v, 0, Ne, B), {
12861
12860
  onWheel: se,
12862
- dataGridWidth: G,
12861
+ dataGridWidth: q,
12863
12862
  viewPortHeight: te,
12864
12863
  viewPortWidth: ye,
12865
12864
  resetScroll: Fe,
12866
12865
  updateVisibleRowsOnLatestVisibleScope: De
12867
- } = z, Ke = Co(n, N, s, ye, K), {
12866
+ } = G, Ke = Co(n, N, s, ye, K), {
12868
12867
  calculateColumnsSize: rt
12869
- } = Ke, at = xo(), M = _o(s, d, b, at, z), ie = So(n, t, I, b, K, D, z), we = q(() => ({
12868
+ } = Ke, at = xo(), M = _o(s, d, b, at, G), ie = So(n, t, I, b, K, D, G), we = z(() => ({
12870
12869
  "fv-grid": !0,
12871
12870
  "fv-grid-bordered": n.showBorder,
12872
12871
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
12873
12872
  "fv-datagrid-strip": n.showStripe
12874
- })), ce = q(() => ({
12873
+ })), ce = z(() => ({
12875
12874
  "fv-grid-content": !0,
12876
12875
  "fv-grid-content-hover": p.value,
12877
12876
  "fv-grid-wrap-content": h.value
@@ -12879,31 +12878,31 @@ const Md = /* @__PURE__ */ dt({
12879
12878
  renderGridHeader: Ee,
12880
12879
  renderGridColumnResizeOverlay: Je,
12881
12880
  shouldShowHeader: lt
12882
- } = To(n, t, s, c, d, I, b, ie, M, x, at, Ke, K, m, Se, Y, z, ye, f), {
12881
+ } = To(n, t, s, c, d, I, b, ie, M, x, at, Ke, K, m, Se, Y, G, ye, f), {
12883
12882
  renderDataGridPagination: ut
12884
- } = ui(n, t, b, z, T), {
12883
+ } = ui(n, t, b, G, T), {
12885
12884
  renderDataGridSidebar: pt
12886
- } = ko(n, R, m, Se, z), {
12885
+ } = ko(n, R, m, Se, G), {
12887
12886
  renderDisableMask: _t
12888
12887
  } = Fo(), {
12889
12888
  renderDataGridSummery: yt
12890
12889
  } = ci(n, b, I), {
12891
12890
  renderHorizontalScrollbar: ht
12892
- } = Eo(n, s, z), {
12891
+ } = Eo(n, s, G), {
12893
12892
  renderVerticalScrollbar: St
12894
- } = Oo(n, s, z), {
12893
+ } = Oo(n, s, G), {
12895
12894
  renderFilterPanel: bt
12896
- } = di(n, I, b, x, z), {
12895
+ } = di(n, I, b, x, G), {
12897
12896
  renderGroupPanel: ae
12898
- } = fi(n, b, ie, D, z);
12899
- function pe() {
12897
+ } = fi(n, b, ie, D, G);
12898
+ function me() {
12900
12899
  var et, Pt;
12901
12900
  const Oe = Math.ceil(s.value.clientHeight / o);
12902
- Oe > r.value && (r.value = Oe, De()), te.value = ((et = u.value) == null ? void 0 : et.clientHeight) || 0, G.value = ((Pt = s.value) == null ? void 0 : Pt.clientWidth) || 0, rt();
12901
+ Oe > r.value && (r.value = Oe, De()), te.value = ((et = u.value) == null ? void 0 : et.clientHeight) || 0, q.value = ((Pt = s.value) == null ? void 0 : Pt.clientWidth) || 0, rt();
12903
12902
  }
12904
12903
  Lt(() => {
12905
- s.value && (r.value = Math.max(Math.ceil(s.value.clientHeight / o), r.value), f.value = Z(0, v.value + 0 - 1), _n(s.value, pe), rt(), tn(() => {
12906
- s.value && (G.value = s.value.clientWidth), u.value && (ye.value = u.value.clientWidth, te.value = u.value.clientHeight);
12904
+ s.value && (r.value = Math.max(Math.ceil(s.value.clientHeight / o), r.value), f.value = Z(0, v.value + 0 - 1), _n(s.value, me), rt(), tn(() => {
12905
+ s.value && (q.value = s.value.clientWidth), u.value && (ye.value = u.value.clientWidth, te.value = u.value.clientHeight);
12907
12906
  })), w.value && g();
12908
12907
  }), en(() => {
12909
12908
  }), Ie(ye, () => {
@@ -12941,7 +12940,7 @@ const Md = /* @__PURE__ */ dt({
12941
12940
  Oe && (a.value = Oe, Be(a.value), O(a), j(a.value), A(b, Y), rt());
12942
12941
  }
12943
12942
  function ee(Oe, et) {
12944
- Oe && (b.load(Oe), f.value = Z(0, v.value + 0 - 1), et != null && et.keepScrollTop ? z.scrollTo(z.offsetY.value) : Fe(), Re.value && _.value && C()), B.clear();
12943
+ Oe && (b.load(Oe), f.value = Z(0, v.value + 0 - 1), et != null && et.keepScrollTop ? G.scrollTo(G.offsetY.value) : Fe(), Re.value && _.value && C()), B.clear();
12945
12944
  }
12946
12945
  function re(Oe) {
12947
12946
  T.updatePagination(Oe);
@@ -12991,10 +12990,10 @@ const Md = /* @__PURE__ */ dt({
12991
12990
  return m.currentSelectedDataId.value;
12992
12991
  }
12993
12992
  function Ze() {
12994
- z.scrollToBottom();
12993
+ G.scrollToBottom();
12995
12994
  }
12996
12995
  function ot(Oe) {
12997
- z.scrollToRowByIndex(Oe);
12996
+ G.scrollToRowByIndex(Oe);
12998
12997
  }
12999
12998
  const Ut = {
13000
12999
  activeRowById: xe,
@@ -13025,7 +13024,7 @@ const Md = /* @__PURE__ */ dt({
13025
13024
  t.expose(Ut);
13026
13025
  const Ue = mi(n, t, Ut, I, B, f), {
13027
13026
  renderDataArea: Tt
13028
- } = Od(n, t, u, c, d, me, be, I, B, D, Ue, R, oe, z, f), kt = q(() => !f.value || !f.value.length), {
13027
+ } = Od(n, t, u, c, d, he, be, I, B, D, Ue, R, oe, G, f), kt = z(() => !f.value || !f.value.length), {
13029
13028
  renderEmpty: Ft
13030
13029
  } = Mo(t);
13031
13030
  return () => E("div", {
@@ -13040,7 +13039,7 @@ const Md = /* @__PURE__ */ dt({
13040
13039
  onMouseleave: () => p.value = !1
13041
13040
  }, [s.value && pt(f), s.value && Tt(), s.value && kt.value && Ft(), s.value && ht(), s.value && St()]), s.value && yt(), k.value && ut(), Je(), F.value && _t()]);
13042
13041
  }
13043
- }), _m = Un(Md);
13042
+ }), _m = Yn(Md);
13044
13043
  export {
13045
13044
  Md as FDataGrid,
13046
13045
  bm as columnOptions,