@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,19 +1,19 @@
1
- var Qo = Object.defineProperty;
2
- var Ko = (n, t, e) => t in n ? Qo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var L = (n, t, e) => Ko(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { defineComponent as Qe, ref as S, onUnmounted as qt, createVNode as E, createTextVNode as Oe, computed as q, watch as Fe, Fragment as kt, reactive as wt, createApp as Qn, onMounted as It, Transition as Kn, mergeProps as Lt, onBeforeUnmount as Jn, withDirectives as Zn, resolveDirective as Jo, inject as Et, provide as Zo, triggerRef as er, isVNode as tr, nextTick as en, onBeforeMount as Sn, Teleport as nr, shallowRef as or, render as dn, h as rr, cloneVNode as ir, vModelText as ar } from "vue";
5
- import { isPlainObject as Bn, cloneDeep as at, isUndefined as dt, throttle as sr } from "lodash-es";
6
- import { useResizeObserver as eo } from "@vueuse/core";
7
- import { useIdentify as lr, useGroupData as ur, useFilter as cr, useHierarchy as dr, useLoading as fr, useDataView as pr, useSelection as mr, useSelectHierarchyItem as hr, useDataViewContainerStyle as vr, useCommandColumn as gr, useColumn as yr, useSort as br, useGroupColumn as wr, useRow as Cr, useEdit as xr, useVisualDataBound as _r, useVisualDataCell as Sr, useVisualDataRow as Tr, useVisualData as Fr, useCellPosition as Er, useSidebar as kr, useVirtualScroll as Mr, useFitColumn as Ir, useFilterHistory as Or, useColumnFilter as Dr, useDragColumn as Vr, getColumnHeader as Pr, getSidebar as Br, getDisableMask as Nr, getHorizontalScrollbar as Rr, getVerticalScrollbar as Lr, getEmpty as jr } from "../data-view/index.esm.js";
1
+ var Xo = Object.defineProperty;
2
+ var Qo = (n, t, e) => t in n ? Xo(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var L = (n, t, e) => Qo(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { defineComponent as Qe, ref as S, onUnmounted as qt, createVNode as E, createTextVNode as Oe, computed as G, watch as Fe, Fragment as kt, reactive as wt, createApp as Xn, onMounted as It, Transition as Qn, mergeProps as Lt, onBeforeUnmount as Kn, withDirectives as Jn, resolveDirective as Ko, inject as Et, provide as Jo, triggerRef as Zo, isVNode as er, nextTick as en, onBeforeMount as Sn, Teleport as tr, shallowRef as nr, render as dn, h as or, cloneVNode as rr, vModelText as ir } from "vue";
5
+ import { isPlainObject as Bn, cloneDeep as at, isUndefined as dt, throttle as ar } from "lodash-es";
6
+ import { useResizeObserver as Zn } from "@vueuse/core";
7
+ import { useIdentify as sr, useGroupData as lr, useFilter as ur, useHierarchy as cr, useLoading as dr, useDataView as fr, useSelection as pr, useSelectHierarchyItem as mr, useDataViewContainerStyle as hr, useCommandColumn as vr, useColumn as gr, useSort as yr, useGroupColumn as br, useRow as wr, useEdit as Cr, useVisualDataBound as xr, useVisualDataCell as _r, useVisualDataRow as Sr, useVisualData as Tr, useCellPosition as Fr, useSidebar as Er, useVirtualScroll as kr, useFitColumn as Mr, useFilterHistory as Ir, useColumnFilter as Or, useDragColumn as Dr, getColumnHeader as Vr, getSidebar as Pr, getDisableMask as Br, getHorizontalScrollbar as Nr, getVerticalScrollbar as Rr, getEmpty as Lr } from "../data-view/index.esm.js";
8
8
  import "../modal/index.esm.js";
9
- import $r from "../transfer/index.esm.js";
10
- import Wr from "../tabs/index.esm.js";
11
- import Hr from "../order/index.esm.js";
9
+ import jr from "../transfer/index.esm.js";
10
+ import $r from "../tabs/index.esm.js";
11
+ import Wr from "../order/index.esm.js";
12
12
  import "../condition/index.esm.js";
13
- import { FCheckbox as Ar } from "../checkbox/index.esm.js";
14
- import { useGuid as Gr, resolveField as it, FormSchemaEntityFieldTypeName as Nn, getCustomClass as fn, useCommonUtils as qr, useDateFormat as zr, useNumberFormat as Yr, setFieldValue as vn, withInstall as Ur } from "../common/index.esm.js";
15
- import Xr from "../filter-bar/index.esm.js";
16
- import Rn from "../tooltip/index.esm.js";
13
+ import { FCheckbox as Hr } from "../checkbox/index.esm.js";
14
+ import { useGuid as Ar, resolveField as it, FormSchemaEntityFieldTypeName as Nn, getCustomClass as fn, useCommonUtils as Gr, useDateFormat as qr, useNumberFormat as zr, setFieldValue as vn, withInstall as Yr } from "../common/index.esm.js";
15
+ import Ur from "../filter-bar/index.esm.js";
16
+ import Xr from "../tooltip/index.esm.js";
17
17
  import Qr from "../pagination/index.esm.js";
18
18
  import Kr from "../button/index.esm.js";
19
19
  import Jr from "../search-box/index.esm.js";
@@ -28,8 +28,8 @@ import si from "../../designer/button-edit/index.esm.js";
28
28
  import li from "../button-group/index.esm.js";
29
29
  import ui from "../calendar/index.esm.js";
30
30
  import ci from "../capsule/index.esm.js";
31
- import Ln from "../../designer/checkbox/index.esm.js";
32
- import jn from "../../designer/checkbox-group/index.esm.js";
31
+ import Rn from "../../designer/checkbox/index.esm.js";
32
+ import Ln from "../../designer/checkbox-group/index.esm.js";
33
33
  import gn from "../combo-list/index.esm.js";
34
34
  import di from "../combo-tree/index.esm.js";
35
35
  import fi from "../component/index.esm.js";
@@ -73,7 +73,7 @@ import Xi from "../verify-detail/index.esm.js";
73
73
  import Qi from "../video/index.esm.js";
74
74
  import Ki from "../textarea/index.esm.js";
75
75
  import Ji from "../schema-selector/index.esm.js";
76
- import to from "../tree-grid/index.esm.js";
76
+ import eo from "../tree-grid/index.esm.js";
77
77
  import Zi from "../event-parameter/index.esm.js";
78
78
  import ea from "../filter-condition-editor/index.esm.js";
79
79
  import ta from "../fieldset/index.esm.js";
@@ -88,7 +88,7 @@ import ua from "../html-template/index.esm.js";
88
88
  import "../external-container/index.esm.js";
89
89
  import { FNotifyService as ca } from "../notify/index.esm.js";
90
90
  import "bignumber.js";
91
- const Tn = {}, no = {};
91
+ const Tn = {}, to = {};
92
92
  function Fn(n) {
93
93
  const { properties: t, title: e, ignore: o } = n, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, s) => ((!r || !o.find((l) => l === s)) && (a[s] = t[s].type === "object" && t[s].properties ? Fn(t[s]) : at(t[s].default)), a), {});
94
94
  if (e && (!r || !o.find((a) => a === "id"))) {
@@ -115,7 +115,7 @@ function Xt(n, t = {}, e) {
115
115
  const o = Tn[n];
116
116
  if (o) {
117
117
  let r = da(o);
118
- const i = no[n];
118
+ const i = to[n];
119
119
  return r = i ? i({ getSchemaByType: Xt }, r, t, e) : r, r;
120
120
  }
121
121
  return null;
@@ -124,7 +124,7 @@ function fa(n, t) {
124
124
  const e = Fn(t);
125
125
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Bn(o[r]) && Bn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
126
126
  }
127
- function oo(n, t) {
127
+ function no(n, t) {
128
128
  return Object.keys(n).filter((o) => n[o] != null).reduce((o, r) => {
129
129
  if (t.has(r)) {
130
130
  const i = t.get(r);
@@ -141,7 +141,7 @@ function oo(n, t) {
141
141
  }
142
142
  function pa(n, t, e = /* @__PURE__ */ new Map()) {
143
143
  const o = fa(n, t);
144
- return oo(o, e);
144
+ return no(o, e);
145
145
  }
146
146
  function ma(n = {}) {
147
147
  function t(u, c, d, h) {
@@ -245,9 +245,9 @@ const de = {
245
245
  }, ha = {}, va = {};
246
246
  ma();
247
247
  function jt(n, t, e = /* @__PURE__ */ new Map(), o = (a, s, l, u) => s, r = {}, i = (a) => a) {
248
- return Tn[t.title] = t, no[t.title] = o, ha[t.title] = r, va[t.title] = i, (a = {}, s = !0) => {
248
+ return Tn[t.title] = t, to[t.title] = o, ha[t.title] = r, va[t.title] = i, (a = {}, s = !0) => {
249
249
  if (!s)
250
- return oo(a, e);
250
+ return no(a, e);
251
251
  const l = pa(a, t, e), u = Object.keys(n).reduce((c, d) => (c[d] = n[d].default, c), {});
252
252
  return Object.assign(u, l);
253
253
  };
@@ -390,7 +390,7 @@ const Ia = "verify-detail", Oa = "A Farris Component", Da = "object", Va = {
390
390
  type: [String, Number],
391
391
  default: 168
392
392
  }
393
- }, $n = jt(En, Ea, ka, Ma, Pa);
393
+ }, jn = jt(En, Ea, ka, Ma, Pa);
394
394
  function Ba(n, t) {
395
395
  function e(g) {
396
396
  g.stopPropagation(), t.emit("abort");
@@ -500,7 +500,7 @@ const pn = /* @__PURE__ */ Qe({
500
500
  }, [Oe("Your browser does not support the video tag.")]);
501
501
  }
502
502
  });
503
- function ro(n, t, e) {
503
+ function oo(n, t, e) {
504
504
  var f;
505
505
  const o = e && e.getStyles && e.getStyles() || "", r = e && e.getDesignerClass && e.getDesignerClass() || "", i = S();
506
506
  function a() {
@@ -707,7 +707,7 @@ class Na {
707
707
  }
708
708
  }
709
709
  const Ra = S(0);
710
- function io() {
710
+ function ro() {
711
711
  Ra.value++;
712
712
  }
713
713
  const Qt = S(0);
@@ -746,7 +746,7 @@ function $a(n) {
746
746
  return o;
747
747
  }
748
748
  }
749
- function ao(n) {
749
+ function io(n) {
750
750
  if (!n)
751
751
  return;
752
752
  const t = n.getBoundingClientRect();
@@ -767,7 +767,7 @@ function Wa(n) {
767
767
  if (!n)
768
768
  return;
769
769
  let t;
770
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && ao(t);
770
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && io(t);
771
771
  }
772
772
  function Ha(n) {
773
773
  const { formSchemaUtils: t, formStateMachineUtils: e } = n;
@@ -1058,7 +1058,7 @@ class Aa {
1058
1058
  };
1059
1059
  }
1060
1060
  }
1061
- class so {
1061
+ class ao {
1062
1062
  constructor(t, e) {
1063
1063
  L(this, "componentId");
1064
1064
  L(this, "viewModelId");
@@ -1250,7 +1250,7 @@ class so {
1250
1250
  if (!o)
1251
1251
  return;
1252
1252
  const r = o.contents.findIndex((a) => a.id === t), i = at(o.contents[r]);
1253
- o.contents.splice(r, 1), o.contents.splice(r, 0, i), io();
1253
+ o.contents.splice(r, 1), o.contents.splice(r, 0, i), ro();
1254
1254
  }
1255
1255
  /**
1256
1256
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -1313,7 +1313,7 @@ class so {
1313
1313
  return ["response-toolbar-item", "tab-toolbar-item", "section-toolbar-item"].indexOf(t.type) > -1 ? "Button" : t.binding && t.binding.field ? "Field" : "Container";
1314
1314
  }
1315
1315
  }
1316
- class Ga extends so {
1316
+ class Ga extends ao {
1317
1317
  constructor(t, e) {
1318
1318
  super(t, e);
1319
1319
  }
@@ -1423,18 +1423,18 @@ const qa = {
1423
1423
  props: za,
1424
1424
  emits: ["close", "click"],
1425
1425
  setup: (n, t) => {
1426
- const e = S(n.animate), o = "fadeOut", r = q(() => n.options), i = S(!1), a = q(() => {
1426
+ const e = S(n.animate), o = "fadeOut", r = G(() => n.options), i = S(!1), a = G(() => {
1427
1427
  const m = {
1428
1428
  animated: i.value,
1429
1429
  toast: !0
1430
1430
  };
1431
1431
  return m[n.animate] = !1, m[o] = i.value, m[r.value.type] = !0, r.value.theme && (m[r.value.theme] = !0), m;
1432
- }), s = q(() => {
1432
+ }), s = G(() => {
1433
1433
  const w = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, F = {
1434
1434
  "f-icon": !0
1435
1435
  };
1436
1436
  return F[w] = !0, F;
1437
- }), l = 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), h = q(() => !!r.value.buttons || !!t.slots.default);
1437
+ }), l = G(() => r.value.title || r.value.message), u = G(() => r.value.title && r.value.message), c = G(() => !r.value.title && r.value.message), d = G(() => n.showCloseButton), h = G(() => !!r.value.buttons || !!t.slots.default);
1438
1438
  function b(m) {
1439
1439
  m.stopPropagation(), m.preventDefault(), i.value = !1, setTimeout(() => {
1440
1440
  t.emit("close", r.value);
@@ -1497,14 +1497,14 @@ const qa = {
1497
1497
  props: qa,
1498
1498
  emits: ["close", "empty"],
1499
1499
  setup(n, t) {
1500
- const e = q(() => ({
1500
+ const e = G(() => ({
1501
1501
  "farris-notify": !0
1502
1502
  })), o = {
1503
1503
  left: 12,
1504
1504
  right: 12,
1505
1505
  top: 20,
1506
1506
  bottom: 12
1507
- }, r = S(), i = S(n.options), a = S(n.showCloseButton), s = q(() => n.position || "bottom-right"), l = q(() => n.timeout != null ? n.timeout : 3e3), u = q(() => {
1507
+ }, r = S(), i = S(n.options), a = S(n.showCloseButton), s = G(() => n.position || "bottom-right"), l = G(() => n.timeout != null ? n.timeout : 3e3), u = G(() => {
1508
1508
  const h = n.bottom ? n.bottom : o.bottom, b = n.top ? n.top : o.top, p = {
1509
1509
  transition: "all 0.2s ease",
1510
1510
  left: s.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -1560,7 +1560,7 @@ class tn {
1560
1560
  ...t
1561
1561
  }), i = document.createElement("div");
1562
1562
  i.style.display = "contents";
1563
- const a = Qn({
1563
+ const a = Xn({
1564
1564
  setup() {
1565
1565
  var u;
1566
1566
  const s = S();
@@ -1580,7 +1580,7 @@ class tn {
1580
1580
  document.body.removeChild(i);
1581
1581
  }), It(() => {
1582
1582
  e.updateNotifyPositionForCreate(r, s);
1583
- }), () => E(Kn, {
1583
+ }), () => E(Qn, {
1584
1584
  mode: "out-in",
1585
1585
  name: "fade",
1586
1586
  appear: !0
@@ -1672,7 +1672,7 @@ const Ua = {
1672
1672
  bindingEntityId: { type: String, default: "" },
1673
1673
  /** 绑定步骤 */
1674
1674
  steps: { type: Array, default: ["selectEntity", "selectFields"] }
1675
- }, lo = /* @__PURE__ */ new Map([
1675
+ }, so = /* @__PURE__ */ new Map([
1676
1676
  ["appearance", cn],
1677
1677
  ["column", "columnOption"]
1678
1678
  ]);
@@ -1695,7 +1695,7 @@ function Ka(n, t, e) {
1695
1695
  const o = n.getSchemaByType("content-container");
1696
1696
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
1697
1697
  }
1698
- function uo(n, t, e) {
1698
+ function lo(n, t, e) {
1699
1699
  const r = e.parentComponentInstance.schema.type, i = r === "section" || r === "tab-page";
1700
1700
  t.appearance = { class: "f-component-grid" };
1701
1701
  const s = (i ? Ka : Qa)(n, t, e);
@@ -2481,7 +2481,7 @@ const Ja = "https://json-schema.org/draft/2020-12/schema", Za = "https://farris-
2481
2481
  ], is = {
2482
2482
  onSelectionChange: "行切换事件",
2483
2483
  onClickRow: "行点击事件"
2484
- }, co = {
2484
+ }, uo = {
2485
2485
  $schema: Ja,
2486
2486
  $id: Za,
2487
2487
  title: es,
@@ -2619,7 +2619,7 @@ const Ja = "https://json-schema.org/draft/2020-12/schema", Za = "https://farris-
2619
2619
  width: { type: Number, default: -1 },
2620
2620
  /** 启用虚拟渲染 */
2621
2621
  virtualized: { type: Boolean, default: !1 }
2622
- }, as = jt(kn, co, lo, uo), ss = ya(), ls = ga(), fo = Object.assign({}, kn, { componentId: { type: String, default: "" } }), us = jt(fo, co, lo, uo), cs = ba();
2622
+ }, as = jt(kn, uo, so, lo), ss = ya(), ls = ga(), co = Object.assign({}, kn, { componentId: { type: String, default: "" } }), us = jt(co, uo, so, lo), cs = ba();
2623
2623
  var ot = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(ot || {}), vt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(vt || {}), Kt = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(Kt || {}), nt = /* @__PURE__ */ ((n) => (n[n.none = 0] = "none", n[n.filterable = 1] = "filterable", n[n.sortable = 2] = "sortable", n[n.filtered = 4] = "filtered", n[n.sorted = 8] = "sorted", n[n.ascending = 16] = "ascending", n[n.descending = 32] = "descending", n))(nt || {});
2624
2624
  function ds(n, t) {
2625
2625
  var b;
@@ -2825,110 +2825,106 @@ function vs(n, t, e, o, r, i, a, s, l, u, c, d, h) {
2825
2825
  } = fs(n, o, a), {
2826
2826
  treeNodeIconsClass: P
2827
2827
  } = ps(n, y, C);
2828
- function Y(G, te) {
2829
- const be = G.raw[C.value];
2828
+ function Y(q, oe) {
2829
+ const be = q.raw[C.value];
2830
2830
  return {
2831
- "fv-tree-node-toggle": be && G.collapse,
2832
- "fv-tree-node-toggle-minus": be && !G.collapse
2831
+ "fv-tree-node-toggle": be && q.collapse,
2832
+ "fv-tree-node-toggle-minus": be && !q.collapse
2833
2833
  };
2834
2834
  }
2835
- function A(G, te) {
2836
- G.stopPropagation(), O(te);
2835
+ function A(q, oe) {
2836
+ q.stopPropagation(), O(oe);
2837
2837
  }
2838
- function j(G) {
2839
- G.stopPropagation();
2838
+ function j(q) {
2839
+ q.stopPropagation();
2840
2840
  }
2841
- function z(G, te) {
2841
+ function z(q, oe) {
2842
2842
  return E("div", {
2843
- class: Y(G),
2844
- onClick: (be) => A(be, G),
2843
+ class: Y(q),
2844
+ onClick: (be) => A(be, q),
2845
2845
  onDblclick: j
2846
2846
  }, null);
2847
2847
  }
2848
- function K(G, te) {
2848
+ function K(q, oe) {
2849
2849
  return v.value && E("div", {
2850
2850
  id: "treeNodeIcons",
2851
- class: P(G, te)
2851
+ class: P(q, oe)
2852
2852
  }, null);
2853
2853
  }
2854
- function ie(G) {
2855
- F.value ? (G.checked ? k(G) : _(G), V(G)) : f(G);
2856
- }
2857
- function Z(G, te) {
2858
- return T.value && E(Ar, {
2859
- id: "checkbox_for_" + M(G, te.index),
2860
- indeterminate: G.indeterminate,
2861
- disabled: G.disabled,
2862
- checked: G.checked,
2863
- "onUpdate:checked": (be) => G.checked = be,
2864
- onChange: () => ie(G)
2854
+ function ie(q) {
2855
+ F.value ? (q.checked ? k(q) : _(q), V(q)) : f(q);
2856
+ }
2857
+ function Z(q, oe) {
2858
+ return T.value && E(Hr, {
2859
+ id: "checkbox_for_" + M(q, oe.index),
2860
+ indeterminate: q.indeterminate,
2861
+ disabled: q.disabled,
2862
+ checked: q.checked,
2863
+ "onUpdate:checked": (be) => q.checked = be,
2864
+ onChange: () => ie(q)
2865
2865
  }, null);
2866
2866
  }
2867
- function fe(G, te) {
2867
+ function me(q, oe) {
2868
2868
  return E("span", {
2869
- title: te.data,
2870
2869
  style: "user-select:none"
2871
2870
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
2872
- cell: te,
2873
- row: G
2874
- }) : te.mode === ot.editing ? te.getEditor(te) : te.formatter ? te.formatter(te, G) : te.data != null ? te.data.toString() : te.data]);
2875
- }
2876
- function ve(G, te) {
2871
+ cell: oe,
2872
+ row: q
2873
+ }) : oe.mode === ot.editing ? oe.getEditor(oe) : oe.formatter ? oe.formatter(oe, q) : oe.showTips ? E(Xr, null, {
2874
+ default: () => oe.data,
2875
+ contentTemplate: () => oe.data
2876
+ }) : oe.data]);
2877
+ }
2878
+ function ve(q, oe) {
2877
2879
  return E("div", {
2878
- class: Q(te)
2879
- }, [te.showTips ? E(Rn, null, {
2880
- default: () => fe(G, te),
2881
- contentTemplate: () => fe(G, te)
2882
- }) : fe(G, te)]);
2883
- }
2884
- function _e(G, te, be) {
2885
- const Ee = B(G);
2880
+ class: Q(oe)
2881
+ }, [me(q, oe)]);
2882
+ }
2883
+ function _e(q, oe, be) {
2884
+ const Ee = B(q);
2886
2885
  return E("div", {
2887
- ref: te.setRef,
2888
- key: M(G, te.index),
2886
+ ref: oe.setRef,
2887
+ key: M(q, oe.index),
2889
2888
  class: "fv-grid-hierarchy-cell",
2890
- style: D(te, be)
2889
+ style: D(oe, be)
2891
2890
  }, [E("div", {
2892
- class: N(te),
2891
+ class: N(oe),
2893
2892
  style: Ee
2894
- }, [z(G), K(G, te), Z(G, te), ve(G, te)])]);
2893
+ }, [z(q), K(q, oe), Z(q, oe), ve(q, oe)])]);
2895
2894
  }
2896
- function Pe(G, te, be) {
2895
+ function Pe(q, oe, be) {
2897
2896
  return E("div", {
2898
- ref: te.setRef,
2899
- key: M(G, te.index),
2900
- class: p(te),
2901
- style: D(te, be),
2902
- onClick: (Ee) => b(Ee, te, G, te.column)
2897
+ ref: oe.setRef,
2898
+ key: M(q, oe.index),
2899
+ class: p(oe),
2900
+ style: D(oe, be),
2901
+ onClick: (Ee) => b(Ee, oe, q, oe.column)
2903
2902
  }, [E("div", {
2904
- class: N(te)
2903
+ class: N(oe)
2905
2904
  }, [E("div", {
2906
- class: Q(te)
2907
- }, [te.showTips ? E(Rn, null, {
2908
- default: () => fe(G, te),
2909
- contentTemplate: () => fe(G, te)
2910
- }) : fe(G, te)])])]);
2905
+ class: Q(oe)
2906
+ }, [me(q, oe)])])]);
2911
2907
  }
2912
- function Le(G, te) {
2913
- 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;
2908
+ function Le(q, oe) {
2909
+ return oe === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === q.field || oe === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === q.field;
2914
2910
  }
2915
- function U(G, te) {
2911
+ function U(q, oe) {
2916
2912
  t.emit("dblclickNode", {
2917
- $event: G,
2918
- node: te.raw
2913
+ $event: q,
2914
+ node: oe.raw
2919
2915
  });
2920
2916
  }
2921
- function ce(G, te, be = "primary", Ee) {
2917
+ function ce(q, oe, be = "primary", Ee) {
2922
2918
  return E("div", {
2923
- ref: G.setRef,
2924
- key: H(G),
2925
- class: g(G, Ee),
2926
- style: R(G),
2927
- onMouseover: (Ve) => x(Ve, G),
2928
- onMouseout: (Ve) => w(Ve, G),
2929
- onClick: (Ve) => m(Ve, G),
2930
- onDblclick: (Ve) => U(Ve, G)
2931
- }, [Object.values(G.data).filter((Ve) => te[Ve.field] && Ve.rowSpan === 1).map((Ve) => Le(Ve, be) ? _e(G, Ve, te) : Pe(G, Ve, te))]);
2919
+ ref: q.setRef,
2920
+ key: H(q),
2921
+ class: g(q, Ee),
2922
+ style: R(q),
2923
+ onMouseover: (Ve) => x(Ve, q),
2924
+ onMouseout: (Ve) => w(Ve, q),
2925
+ onClick: (Ve) => m(Ve, q),
2926
+ onDblclick: (Ve) => U(Ve, q)
2927
+ }, [Object.values(q.data).filter((Ve) => oe[Ve.field] && Ve.rowSpan === 1).map((Ve) => Le(Ve, be) ? _e(q, Ve, oe) : Pe(q, Ve, oe))]);
2932
2928
  }
2933
2929
  return {
2934
2930
  renderDataRow: ce
@@ -2995,7 +2991,7 @@ function ys() {
2995
2991
  };
2996
2992
  }
2997
2993
  function bs(n) {
2998
- const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), i = q(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = q(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
2994
+ const t = S(n.minHeight), e = S(n.minWidth), o = S(n.height), r = S(n.width), i = G(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = G(() => r.value <= 0 ? 0 : Math.max(r.value, e.value));
2999
2995
  return Fe([
3000
2996
  () => n.height,
3001
2997
  () => n.width,
@@ -3003,7 +2999,7 @@ function bs(n) {
3003
2999
  () => n.minWidth
3004
3000
  ], ([l, u, c, d]) => {
3005
3001
  t.value = Number(c), e.value = Number(d), o.value = Number(l), r.value = Number(u);
3006
- }), { containerStyleObject: q(() => ({
3002
+ }), { containerStyleObject: G(() => ({
3007
3003
  height: i.value > 0 ? `${i.value}px` : n.fit ? "100%" : "",
3008
3004
  width: a.value > 0 ? `${a.value}px` : n.fit ? "100%" : "",
3009
3005
  flex: "1 1 0"
@@ -3141,17 +3137,17 @@ function Cs(n, t) {
3141
3137
  }
3142
3138
  function xs(n, t) {
3143
3139
  var x;
3144
- Gr();
3145
- const { idField: e } = t, o = S(n.summary), r = S(n.group), i = S(((x = n.group) == null ? void 0 : x.groupFields) || []), a = q(() => {
3140
+ Ar();
3141
+ const { idField: e } = t, o = S(n.summary), r = S(n.group), i = S(((x = n.group) == null ? void 0 : x.groupFields) || []), a = G(() => {
3146
3142
  var w;
3147
3143
  return (w = n.group) == null ? void 0 : w.enable;
3148
- }), s = q(() => {
3144
+ }), s = G(() => {
3149
3145
  var w;
3150
3146
  return (w = n.group) == null ? void 0 : w.showGroupPanel;
3151
- }), l = q(() => {
3147
+ }), l = G(() => {
3152
3148
  const w = o.value;
3153
3149
  return (w == null ? void 0 : w.groupFields) || [];
3154
- }), u = q(() => {
3150
+ }), u = G(() => {
3155
3151
  const w = r.value;
3156
3152
  return w && w.showSummary;
3157
3153
  }), c = S(0), d = /* @__PURE__ */ new Map();
@@ -3239,8 +3235,8 @@ function _s(n, t, e, o) {
3239
3235
  d.clear(), A.reduce((z, K) => {
3240
3236
  const ie = K[u.value] !== void 0 ? K[u.value] : "";
3241
3237
  if (ie && j.has(ie)) {
3242
- const fe = j.get(ie), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
3243
- K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
3238
+ const me = j.get(ie), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
3239
+ K.__fv_layer__ = ve + 1, K.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
3244
3240
  } else
3245
3241
  K.__fv_layer__ = 1;
3246
3242
  const Z = z.has(ie) ? z.get(ie) : [];
@@ -3288,8 +3284,8 @@ function _s(n, t, e, o) {
3288
3284
  }
3289
3285
  function F(A, j, z) {
3290
3286
  Array.from(j.keys()).forEach((K) => {
3291
- j.get(K).reduce((Z, fe) => {
3292
- const ve = fe[a.value], _e = A.get(fe[a.value]), Pe = A.get(K), Le = z.get(K);
3287
+ j.get(K).reduce((Z, me) => {
3288
+ const ve = me[a.value], _e = A.get(me[a.value]), Pe = A.get(K), Le = z.get(K);
3293
3289
  return Pe && Le && (Pe.children.set(ve, _e), Pe.children.set(ve, _e), _e.parentId = K, _e.parentIndex = Pe.index, _e.parents.set(K, Pe)), Z;
3294
3290
  }, A);
3295
3291
  });
@@ -3353,7 +3349,7 @@ function _s(n, t, e, o) {
3353
3349
  }
3354
3350
  function H(A, j, z = 0) {
3355
3351
  A.forEach((K) => {
3356
- const ie = T(K), Z = K.__fv_layer__ <= z, fe = j === "ToCollapse" ? K.__fv_layer__ <= z : !(K.__fv_layer__ <= z), ve = Z ? fe : K[s.value];
3352
+ const ie = T(K), Z = K.__fv_layer__ <= z, me = j === "ToCollapse" ? K.__fv_layer__ <= z : !(K.__fv_layer__ <= z), ve = Z ? me : K[s.value];
3357
3353
  K[s.value] = ie || ve;
3358
3354
  });
3359
3355
  for (const [K, ie] of d.entries())
@@ -3368,8 +3364,8 @@ function _s(n, t, e, o) {
3368
3364
  }
3369
3365
  function $(A) {
3370
3366
  A.forEach((j, z) => {
3371
- var fe;
3372
- const K = j[a.value], ie = d.has(K) ? (fe = d.get(K)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], Z = w(K, z);
3367
+ var me;
3368
+ const K = j[a.value], ie = d.has(K) ? (me = d.get(K)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], Z = w(K, z);
3373
3369
  j.__fv_graph_node__ = Z, j.__fv_children_index__ = ie, j.__fv_descendant_index__ = [...ie], j.__fv_parents__ = /* @__PURE__ */ new Map(), T(j) && (j[s.value] = !0);
3374
3370
  });
3375
3371
  }
@@ -3382,18 +3378,18 @@ function _s(n, t, e, o) {
3382
3378
  function B(A, j, z) {
3383
3379
  const ie = z.value[A][a.value], Z = c.get(ie);
3384
3380
  if (Z) {
3385
- const fe = c.get(Z.parentId);
3381
+ const me = c.get(Z.parentId);
3386
3382
  let ve = z.value.length - 1;
3387
- if (fe) {
3388
- const _e = Array.from(fe.children.keys()).indexOf(Z.id);
3389
- if (_e === fe.children.size - 1) {
3390
- const Le = Array.from(fe.descendant.values())[fe.descendant.size - 1];
3383
+ if (me) {
3384
+ const _e = Array.from(me.children.keys()).indexOf(Z.id);
3385
+ if (_e === me.children.size - 1) {
3386
+ const Le = Array.from(me.descendant.values())[me.descendant.size - 1];
3391
3387
  ve = z.value.findIndex((ce) => ce[a.value] === Le.id) + 1;
3392
3388
  } else {
3393
- const Le = Array.from(fe.children.values())[_e + 1];
3389
+ const Le = Array.from(me.children.values())[_e + 1];
3394
3390
  ve = z.value.findIndex((ce) => ce[a.value] === Le.id);
3395
3391
  }
3396
- j[l.value] = !1, j[u.value] = fe.id, z.value.splice(ve, 0, j);
3392
+ j[l.value] = !1, j[u.value] = me.id, z.value.splice(ve, 0, j);
3397
3393
  }
3398
3394
  }
3399
3395
  }
@@ -3450,7 +3446,7 @@ function Ss(n, t, e, o, r) {
3450
3446
  const X = $(n.data);
3451
3447
  g.value = X, H.value = X, R.value = X;
3452
3448
  }
3453
- const Q = S(n.summary), B = q(() => {
3449
+ const Q = S(n.summary), B = G(() => {
3454
3450
  const X = Q.value;
3455
3451
  return (X == null ? void 0 : X.groupFields) || [];
3456
3452
  });
@@ -3459,80 +3455,80 @@ function Ss(n, t, e, o, r) {
3459
3455
  function j() {
3460
3456
  return A.value && A.value.enable && A.value.size > 0 ? A.value.size : H.value.length;
3461
3457
  }
3462
- const z = S(1), K = q(() => A.value && A.value.enable && A.value.mode !== "server"), ie = q(() => A.value && A.value.enable && A.value.mode === "server"), Z = new tn();
3463
- function fe(X, me) {
3464
- const Ce = Math.ceil(X.length / me);
3458
+ const z = S(1), K = G(() => A.value && A.value.enable && A.value.mode !== "server"), ie = G(() => A.value && A.value.enable && A.value.mode === "server"), Z = new tn();
3459
+ function me(X, pe) {
3460
+ const Ce = Math.ceil(X.length / pe);
3465
3461
  let Me = 0;
3466
- const W = [], ee = [], oe = [];
3462
+ const W = [], ee = [], ne = [];
3467
3463
  for (; Me < Ce; ) {
3468
- const ne = X.slice(Me * me, (Me + 1) * me), we = b(p.value, ne, t);
3464
+ const te = X.slice(Me * pe, (Me + 1) * pe), we = b(p.value, te, t);
3469
3465
  ee[Me] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, W.push(...we), Me++;
3470
3466
  }
3471
- return ee.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
3467
+ return ee.reduce((te, we, ye) => (te = te + we, ne.push(te), te), 0), {
3472
3468
  groupData: W,
3473
3469
  groupRowSizeList: ee,
3474
- accumulateGroupRowSize: oe
3470
+ accumulateGroupRowSize: ne
3475
3471
  };
3476
3472
  }
3477
3473
  function ve() {
3478
3474
  var we;
3479
3475
  H.value = g.value, K.value && (Y.value = H.value.length), I.value && !K.value && (H.value = b(p.value, g.value, t)), P = B.value.reduce((ye, Ne) => (ye.set(Ne, 0), ye), P);
3480
- const X = 0, me = j(), Ce = (z.value - 1) * me;
3481
- let W = Ce > H.value.length - 1 || ie.value ? X : Ce, ee = ie.value ? H.value.length : Math.min(W + me, H.value.length);
3476
+ const X = 0, pe = j(), Ce = (z.value - 1) * pe;
3477
+ let W = Ce > H.value.length - 1 || ie.value ? X : Ce, ee = ie.value ? H.value.length : Math.min(W + pe, H.value.length);
3482
3478
  if (I.value && K.value) {
3483
- const { accumulateGroupRowSize: ye, groupData: Ne, groupRowSizeList: Te } = fe(g.value, me);
3479
+ const { accumulateGroupRowSize: ye, groupData: Ne, groupRowSizeList: Te } = me(g.value, pe);
3484
3480
  H.value = Ne;
3485
3481
  const je = Te[z.value - 1];
3486
- W += z.value - 2 < 0 ? 0 : ye[z.value - 2], ee = W + me + je;
3482
+ W += z.value - 2 < 0 ? 0 : ye[z.value - 2], ee = W + pe + je;
3487
3483
  }
3488
- let oe = 0;
3489
- const ne = [];
3484
+ let ne = 0;
3485
+ const te = [];
3490
3486
  if (H.value.length) {
3491
3487
  M(H.value);
3492
3488
  const ye = V.value !== n.idField;
3493
3489
  for (let Ne = W; Ne < ee; Ne++) {
3494
3490
  const Te = H.value[Ne];
3495
- Te.__fv_data_grid_group_row__ ? (oe = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (oe++, Te.__fv_data_index__ = oe + (z.value - 1) * me), Te.__fv_index__ = Ne, Te.__fv_visible_index__ = Ne, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[V.value] = Ne), B.value.forEach((je) => {
3491
+ Te.__fv_data_grid_group_row__ ? (ne = 0, Te.__fv_data_index__ = "") : Te.__fv_data_grid_group_summary__ ? Te.__fv_data_index__ = "" : (ne++, Te.__fv_data_index__ = ne + (z.value - 1) * pe), Te.__fv_index__ = Ne, Te.__fv_visible_index__ = Ne, n.rowOption && n.rowOption.disabledField && (Te.__fv_disabled__ = Te[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Te[V.value] = Ne), B.value.forEach((je) => {
3496
3492
  const st = P.get(je) || 0;
3497
3493
  P.set(je, st + Te[je]);
3498
- }), ne.push(Te);
3494
+ }), te.push(Te);
3499
3495
  }
3500
3496
  }
3501
- return C.value && F(ne), R.value = [...ne], ne;
3497
+ return C.value && F(te), R.value = [...te], te;
3502
3498
  }
3503
- const _e = S(ve()), Pe = q(() => (O.value, _e.value.filter((X) => C.value ? X.__fv_visible__ !== !1 && y(X) : X.__fv_visible__ !== !1)));
3499
+ const _e = S(ve()), Pe = G(() => (O.value, _e.value.filter((X) => C.value ? X.__fv_visible__ !== !1 && y(X) : X.__fv_visible__ !== !1)));
3504
3500
  function Le() {
3505
- Pe.value.forEach((X, me) => (X.__fv_visible_index__ = me, X));
3501
+ Pe.value.forEach((X, pe) => (X.__fv_visible_index__ = pe, X));
3506
3502
  }
3507
- function U(X, me, Ce = !1) {
3508
- const W = (Ce ? ve() : [...R.value]).filter((ne) => e.apply(ne)), ee = X && X.length ? W.filter((ne) => X.reduce((we, ye) => we && ye.filter(ne), !0)) : W, oe = me && me.length ? ee.sort((ne, we) => {
3509
- const ye = [...me], Ne = ye.shift();
3510
- let Te = Ne.compare(ne[Ne.field], we[Ne.field]);
3503
+ function U(X, pe, Ce = !1) {
3504
+ const W = (Ce ? ve() : [...R.value]).filter((te) => e.apply(te)), ee = X && X.length ? W.filter((te) => X.reduce((we, ye) => we && ye.filter(te), !0)) : W, ne = pe && pe.length ? ee.sort((te, we) => {
3505
+ const ye = [...pe], Ne = ye.shift();
3506
+ let Te = Ne.compare(te[Ne.field], we[Ne.field]);
3511
3507
  for (; Te === 0 && ye.length !== 0; ) {
3512
3508
  const je = ye.shift();
3513
- je && (Te = je.compare(ne[je.field], we[je.field]));
3509
+ je && (Te = je.compare(te[je.field], we[je.field]));
3514
3510
  }
3515
3511
  return Te;
3516
3512
  }) : ee;
3517
- return _e.value = oe.map((ne, we) => {
3518
- if (ne.__fv_data_grid_group_row__) {
3519
- const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
3520
- ne.__fv_data_grid_group_collapse__ = !!i.get(ye);
3513
+ return _e.value = ne.map((te, we) => {
3514
+ if (te.__fv_data_grid_group_row__) {
3515
+ const ye = `group_of_${te.__fv_data_grid_group_field__}_${te.__fv_data_grid_group_value__}`;
3516
+ te.__fv_data_grid_group_collapse__ = !!i.get(ye);
3521
3517
  }
3522
- return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
3518
+ return te.__fv_index__ = we, te.__fv_visible_index__ = we, te;
3523
3519
  }), _e.value;
3524
3520
  }
3525
3521
  function ce(X) {
3526
- return u.clear(), d.value = X, d.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), u), U([], d.value);
3522
+ return u.clear(), d.value = X, d.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), u), U([], d.value);
3527
3523
  }
3528
- function G(X, me) {
3529
- return u.set(X, me), d.value = Array.from(u.values()), U([], d.value);
3524
+ function q(X, pe) {
3525
+ return u.set(X, pe), d.value = Array.from(u.values()), U([], d.value);
3530
3526
  }
3531
- function te(X) {
3527
+ function oe(X) {
3532
3528
  return u.delete(X), d.value = Array.from(u.values()), U([], d.value);
3533
3529
  }
3534
- function be(X, me) {
3535
- return a.set(X, me), c.value = Array.from(a.values()), U([], Array.from(u.values()));
3530
+ function be(X, pe) {
3531
+ return a.set(X, pe), c.value = Array.from(a.values()), U([], Array.from(u.values()));
3536
3532
  }
3537
3533
  function Ee(X) {
3538
3534
  return a.delete(X), c.value = Array.from(a.values()), U([], Array.from(u.values()), !0);
@@ -3540,15 +3536,15 @@ function Ss(n, t, e, o, r) {
3540
3536
  function Ve() {
3541
3537
  return a.clear(), c.value = [], U([], Array.from(u.values()), !0);
3542
3538
  }
3543
- function rt(X, me) {
3544
- const Ce = `group_of_${X}_${me}`;
3539
+ function rt(X, pe) {
3540
+ const Ce = `group_of_${X}_${pe}`;
3545
3541
  i.set(Ce, !0);
3546
- const Me = (W) => W[X] !== me;
3547
- return s.set(`collapse_${X}_${me}`, {
3542
+ const Me = (W) => W[X] !== pe;
3543
+ return s.set(`collapse_${X}_${pe}`, {
3548
3544
  field: X,
3549
3545
  fieldName: X,
3550
3546
  fieldType: "string",
3551
- filterValue: me,
3547
+ filterValue: pe,
3552
3548
  filter: Me
3553
3549
  }), U(Array.from(s.values()), Array.from(u.values()));
3554
3550
  }
@@ -3558,23 +3554,23 @@ function Ss(n, t, e, o, r) {
3558
3554
  function ft(X) {
3559
3555
  w(_e.value, X);
3560
3556
  }
3561
- function J(X, me) {
3562
- const Ce = `group_of_${X}_${me}`;
3563
- return i.set(Ce, !1), s.delete(`collapse_${X}_${me}`), U(Array.from(s.values()), Array.from(u.values()), !0);
3557
+ function J(X, pe) {
3558
+ const Ce = `group_of_${X}_${pe}`;
3559
+ return i.set(Ce, !1), s.delete(`collapse_${X}_${pe}`), U(Array.from(s.values()), Array.from(u.values()), !0);
3564
3560
  }
3565
3561
  function Se(X) {
3566
- const me = X.raw[V.value], Ce = (Me) => !Me.__fv_parents__.has(me);
3567
- l.set(`fold_${me}`, {
3562
+ const pe = X.raw[V.value], Ce = (Me) => !Me.__fv_parents__.has(pe);
3563
+ l.set(`fold_${pe}`, {
3568
3564
  field: "id",
3569
3565
  fieldName: "id",
3570
3566
  fieldType: "string",
3571
- filterValue: String(me),
3567
+ filterValue: String(pe),
3572
3568
  filter: Ce
3573
3569
  }), U(Array.from(l.values()), Array.from(u.values())), F(_e.value);
3574
3570
  }
3575
3571
  function De(X) {
3576
- const me = X[V.value];
3577
- l.delete(`fold_${me}`);
3572
+ const pe = X[V.value];
3573
+ l.delete(`fold_${pe}`);
3578
3574
  }
3579
3575
  function qe(X) {
3580
3576
  De(X.raw), U(Array.from(l.values()), Array.from(u.values()), !0), F(_e.value);
@@ -3587,11 +3583,11 @@ function Ss(n, t, e, o, r) {
3587
3583
  const Ce = n.hierarchy && X && X.length && X[0].children ? $(X) : X;
3588
3584
  g.value = Ce, Re();
3589
3585
  }
3590
- function yt(X, me, Ce) {
3591
- return (X && X.length ? _e.value.filter((W, ee) => X.reduce((oe, ne) => oe && ne.filter(W), !0)) : _e.value).slice(me, Ce);
3586
+ function yt(X, pe, Ce) {
3587
+ return (X && X.length ? _e.value.filter((W, ee) => X.reduce((ne, te) => ne && te.filter(W), !0)) : _e.value).slice(pe, Ce);
3592
3588
  }
3593
3589
  function Ct(X) {
3594
- const me = j(), Ce = Math.ceil(Y.value / me);
3590
+ const pe = j(), Ce = Math.ceil(Y.value / pe);
3595
3591
  0 <= X && X <= Ce && (z.value = X, Re());
3596
3592
  }
3597
3593
  function pt(X) {
@@ -3610,32 +3606,32 @@ function Ss(n, t, e, o, r) {
3610
3606
  De(Me), f(X, Ce, g), Re();
3611
3607
  }
3612
3608
  function bt(X) {
3613
- const me = X ? X - 1 : 0;
3614
- g.value.splice(me, 1), Re();
3609
+ const pe = X ? X - 1 : 0;
3610
+ g.value.splice(pe, 1), Re();
3615
3611
  }
3616
3612
  function Dt(X) {
3617
- const me = g.value.findIndex((Ce) => Ce[V.value] === X);
3618
- me !== -1 && (g.value.splice(me, 1), Re());
3613
+ const pe = g.value.findIndex((Ce) => Ce[V.value] === X);
3614
+ pe !== -1 && (g.value.splice(pe, 1), Re());
3619
3615
  }
3620
3616
  function _t(X) {
3621
- const me = X > -1 ? g.value[X] : null;
3622
- if (!(me && me.deletable !== !1))
3617
+ const pe = X > -1 ? g.value[X] : null;
3618
+ if (!(pe && pe.deletable !== !1))
3623
3619
  return !1;
3624
- g.value = v(me, g.value), Re();
3620
+ g.value = v(pe, g.value), Re();
3625
3621
  }
3626
3622
  function re() {
3627
3623
  const X = s.size > 0 ? Array.from(s.values()) : [];
3628
3624
  return U(X, Array.from(u.values()));
3629
3625
  }
3630
- function pe(X) {
3626
+ function fe(X) {
3631
3627
  A.value.size = X;
3632
3628
  }
3633
3629
  function ge(X) {
3634
- A.value && (pe(X), Re());
3630
+ A.value && (fe(X), Re());
3635
3631
  }
3636
- function Be(X, me) {
3632
+ function Be(X, pe) {
3637
3633
  const Ce = g.value[Number(X) - 1];
3638
- Ce.editable !== !1 ? (Ce.name = me, Re()) : Z.show({
3634
+ Ce.editable !== !1 ? (Ce.name = pe, Re()) : Z.show({
3639
3635
  showCloseButton: !1,
3640
3636
  timeout: 3e3,
3641
3637
  animate: "fadeIn",
@@ -3651,8 +3647,8 @@ function Ss(n, t, e, o, r) {
3651
3647
  return {
3652
3648
  addFilter: be,
3653
3649
  addNewDataItem: pt,
3654
- addSorter: G,
3655
- updatePageSize: pe,
3650
+ addSorter: q,
3651
+ updatePageSize: fe,
3656
3652
  changePageSizeTo: ge,
3657
3653
  collapse: rt,
3658
3654
  collapseTo: gt,
@@ -3678,7 +3674,7 @@ function Ss(n, t, e, o, r) {
3678
3674
  removeDataItemById: Dt,
3679
3675
  removeFilter: Ee,
3680
3676
  removeHierarchyDataItem: _t,
3681
- removeSorter: te,
3677
+ removeSorter: oe,
3682
3678
  reOrderVisibleIndex: Le,
3683
3679
  setSorters: ce,
3684
3680
  sorters: d,
@@ -3690,7 +3686,7 @@ function Ss(n, t, e, o, r) {
3690
3686
  visibleDataItems: Pe
3691
3687
  };
3692
3688
  }
3693
- const po = {
3689
+ const fo = {
3694
3690
  conditions: { type: Array, default: [] },
3695
3691
  fields: { type: Array, default: [] },
3696
3692
  key: { type: String, default: "" },
@@ -3699,7 +3695,7 @@ const po = {
3699
3695
  */
3700
3696
  isControlInline: { type: Boolean, default: !0 }
3701
3697
  };
3702
- class mo {
3698
+ class po {
3703
3699
  constructor(t = { value: [] }) {
3704
3700
  L(this, "editorType", "check-box");
3705
3701
  L(this, "value");
@@ -3723,7 +3719,7 @@ class mo {
3723
3719
  return this.value.length === 0;
3724
3720
  }
3725
3721
  }
3726
- class ho {
3722
+ class mo {
3727
3723
  constructor(t = { textValue: "", value: "", valueField: "" }) {
3728
3724
  L(this, "editorType", "combo-lookup");
3729
3725
  L(this, "textValue");
@@ -3767,11 +3763,11 @@ function Ue(n) {
3767
3763
  function We(n, t) {
3768
3764
  return n instanceof Date ? new n.constructor(t) : new Date(t);
3769
3765
  }
3770
- function vo(n, t) {
3766
+ function ho(n, t) {
3771
3767
  const e = Ue(n);
3772
3768
  return isNaN(t) ? We(n, NaN) : (t && e.setDate(e.getDate() + t), e);
3773
3769
  }
3774
- const go = 6048e5, Ts = 864e5, Fs = 6e4, Es = 36e5, ks = 1e3;
3770
+ const vo = 6048e5, Ts = 864e5, Fs = 6e4, Es = 36e5, ks = 1e3;
3775
3771
  let Ms = {};
3776
3772
  function zt() {
3777
3773
  return Ms;
@@ -3784,7 +3780,7 @@ function Mt(n, t) {
3784
3780
  function At(n) {
3785
3781
  return Mt(n, { weekStartsOn: 1 });
3786
3782
  }
3787
- function yo(n) {
3783
+ function go(n) {
3788
3784
  const t = Ue(n), e = t.getFullYear(), o = We(n, 0);
3789
3785
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
3790
3786
  const r = At(o), i = We(n, 0);
@@ -3792,7 +3788,7 @@ function yo(n) {
3792
3788
  const a = At(i);
3793
3789
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= a.getTime() ? e : e - 1;
3794
3790
  }
3795
- function Wn(n) {
3791
+ function $n(n) {
3796
3792
  const t = Ue(n);
3797
3793
  return t.setHours(0, 0, 0, 0), t;
3798
3794
  }
@@ -3811,11 +3807,11 @@ function an(n) {
3811
3807
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
3812
3808
  }
3813
3809
  function Is(n, t) {
3814
- const e = Wn(n), o = Wn(t), r = +e - an(e), i = +o - an(o);
3810
+ const e = $n(n), o = $n(t), r = +e - an(e), i = +o - an(o);
3815
3811
  return Math.round((r - i) / Ts);
3816
3812
  }
3817
3813
  function Os(n) {
3818
- const t = yo(n), e = We(n, 0);
3814
+ const t = go(n), e = We(n, 0);
3819
3815
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), At(e);
3820
3816
  }
3821
3817
  function Ds(n) {
@@ -4250,7 +4246,7 @@ const el = /^(\d+)(th|st|nd|rd)?/i, tl = /\d+/i, nl = {
4250
4246
  parsePatterns: dl,
4251
4247
  defaultParseWidth: "any"
4252
4248
  })
4253
- }, bo = {
4249
+ }, yo = {
4254
4250
  code: "en-US",
4255
4251
  formatDistance: Ns,
4256
4252
  formatLong: $s,
@@ -4266,9 +4262,9 @@ function pl(n) {
4266
4262
  const t = Ue(n);
4267
4263
  return Is(t, Ps(t)) + 1;
4268
4264
  }
4269
- function wo(n) {
4265
+ function bo(n) {
4270
4266
  const t = Ue(n), e = +At(t) - +Os(t);
4271
- return Math.round(e / go) + 1;
4267
+ return Math.round(e / vo) + 1;
4272
4268
  }
4273
4269
  function Mn(n, t) {
4274
4270
  var c, d, h, b;
@@ -4284,9 +4280,9 @@ function ml(n, t) {
4284
4280
  const e = zt(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((c = (u = e.locale) == null ? void 0 : u.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, r = Mn(n, t), i = We(n, 0);
4285
4281
  return i.setFullYear(r, 0, o), i.setHours(0, 0, 0, 0), Mt(i, t);
4286
4282
  }
4287
- function Co(n, t) {
4283
+ function wo(n, t) {
4288
4284
  const e = Ue(n), o = +Mt(e, t) - +ml(e, t);
4289
- return Math.round(o / go) + 1;
4285
+ return Math.round(o / vo) + 1;
4290
4286
  }
4291
4287
  function Ie(n, t) {
4292
4288
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -4355,7 +4351,7 @@ const St = {
4355
4351
  afternoon: "afternoon",
4356
4352
  evening: "evening",
4357
4353
  night: "night"
4358
- }, Hn = {
4354
+ }, Wn = {
4359
4355
  // Era
4360
4356
  G: function(n, t, e) {
4361
4357
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -4390,7 +4386,7 @@ const St = {
4390
4386
  },
4391
4387
  // ISO week-numbering year
4392
4388
  R: function(n, t) {
4393
- const e = yo(n);
4389
+ const e = go(n);
4394
4390
  return Ie(e, t.length);
4395
4391
  },
4396
4392
  // Extended year. This is a single number designating the year of this calendar system.
@@ -4513,12 +4509,12 @@ const St = {
4513
4509
  },
4514
4510
  // Local week of year
4515
4511
  w: function(n, t, e, o) {
4516
- const r = Co(n, o);
4512
+ const r = wo(n, o);
4517
4513
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Ie(r, t.length);
4518
4514
  },
4519
4515
  // ISO week of year
4520
4516
  I: function(n, t, e) {
4521
- const o = wo(n);
4517
+ const o = bo(n);
4522
4518
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Ie(o, t.length);
4523
4519
  },
4524
4520
  // Day of the month
@@ -4781,7 +4777,7 @@ const St = {
4781
4777
  return "Z";
4782
4778
  switch (t) {
4783
4779
  case "X":
4784
- return Gn(o);
4780
+ return An(o);
4785
4781
  case "XXXX":
4786
4782
  case "XX":
4787
4783
  return Nt(o);
@@ -4796,7 +4792,7 @@ const St = {
4796
4792
  const o = n.getTimezoneOffset();
4797
4793
  switch (t) {
4798
4794
  case "x":
4799
- return Gn(o);
4795
+ return An(o);
4800
4796
  case "xxxx":
4801
4797
  case "xx":
4802
4798
  return Nt(o);
@@ -4813,7 +4809,7 @@ const St = {
4813
4809
  case "O":
4814
4810
  case "OO":
4815
4811
  case "OOO":
4816
- return "GMT" + An(o, ":");
4812
+ return "GMT" + Hn(o, ":");
4817
4813
  case "OOOO":
4818
4814
  default:
4819
4815
  return "GMT" + Nt(o, ":");
@@ -4826,7 +4822,7 @@ const St = {
4826
4822
  case "z":
4827
4823
  case "zz":
4828
4824
  case "zzz":
4829
- return "GMT" + An(o, ":");
4825
+ return "GMT" + Hn(o, ":");
4830
4826
  case "zzzz":
4831
4827
  default:
4832
4828
  return "GMT" + Nt(o, ":");
@@ -4843,18 +4839,18 @@ const St = {
4843
4839
  return Ie(o, t.length);
4844
4840
  }
4845
4841
  };
4846
- function An(n, t = "") {
4842
+ function Hn(n, t = "") {
4847
4843
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), i = o % 60;
4848
4844
  return i === 0 ? e + String(r) : e + String(r) + t + Ie(i, 2);
4849
4845
  }
4850
- function Gn(n, t) {
4846
+ function An(n, t) {
4851
4847
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ie(Math.abs(n) / 60, 2) : Nt(n, t);
4852
4848
  }
4853
4849
  function Nt(n, t = "") {
4854
4850
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Ie(Math.trunc(o / 60), 2), i = Ie(o % 60, 2);
4855
4851
  return e + r + t + i;
4856
4852
  }
4857
- const qn = (n, t) => {
4853
+ const Gn = (n, t) => {
4858
4854
  switch (n) {
4859
4855
  case "P":
4860
4856
  return t.date({ width: "short" });
@@ -4866,7 +4862,7 @@ const qn = (n, t) => {
4866
4862
  default:
4867
4863
  return t.date({ width: "full" });
4868
4864
  }
4869
- }, xo = (n, t) => {
4865
+ }, Co = (n, t) => {
4870
4866
  switch (n) {
4871
4867
  case "p":
4872
4868
  return t.time({ width: "short" });
@@ -4881,7 +4877,7 @@ const qn = (n, t) => {
4881
4877
  }, hl = (n, t) => {
4882
4878
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
4883
4879
  if (!r)
4884
- return qn(n, t);
4880
+ return Gn(n, t);
4885
4881
  let i;
4886
4882
  switch (o) {
4887
4883
  case "P":
@@ -4898,15 +4894,15 @@ const qn = (n, t) => {
4898
4894
  i = t.dateTime({ width: "full" });
4899
4895
  break;
4900
4896
  }
4901
- return i.replace("{{date}}", qn(o, t)).replace("{{time}}", xo(r, t));
4897
+ return i.replace("{{date}}", Gn(o, t)).replace("{{time}}", Co(r, t));
4902
4898
  }, bn = {
4903
- p: xo,
4899
+ p: Co,
4904
4900
  P: hl
4905
4901
  }, vl = /^D+$/, gl = /^Y+$/, yl = ["D", "DD", "YY", "YYYY"];
4906
- function _o(n) {
4902
+ function xo(n) {
4907
4903
  return vl.test(n);
4908
4904
  }
4909
- function So(n) {
4905
+ function _o(n) {
4910
4906
  return gl.test(n);
4911
4907
  }
4912
4908
  function wn(n, t, e) {
@@ -4918,9 +4914,9 @@ function bl(n, t, e) {
4918
4914
  return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${o} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
4919
4915
  }
4920
4916
  const wl = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Cl = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, xl = /^'([^]*?)'?$/, _l = /''/g, Sl = /[a-zA-Z]/;
4921
- function To(n, t, e) {
4917
+ function So(n, t, e) {
4922
4918
  var c, d, h, b;
4923
- const o = zt(), r = o.locale ?? bo, i = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = o.weekStartsOn ?? ((b = (h = o.locale) == null ? void 0 : h.options) == null ? void 0 : b.weekStartsOn) ?? 0, s = Ue(n);
4919
+ const o = zt(), r = o.locale ?? yo, i = o.firstWeekContainsDate ?? ((d = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, a = o.weekStartsOn ?? ((b = (h = o.locale) == null ? void 0 : h.options) == null ? void 0 : b.weekStartsOn) ?? 0, s = Ue(n);
4924
4920
  if (!Vs(s))
4925
4921
  throw new RangeError("Invalid time value");
4926
4922
  let l = t.match(Cl).map((p) => {
@@ -4936,7 +4932,7 @@ function To(n, t, e) {
4936
4932
  const I = p[0];
4937
4933
  if (I === "'")
4938
4934
  return { isToken: !1, value: Tl(p) };
4939
- if (Hn[I])
4935
+ if (Wn[I])
4940
4936
  return { isToken: !0, value: p };
4941
4937
  if (I.match(Sl))
4942
4938
  throw new RangeError(
@@ -4953,8 +4949,8 @@ function To(n, t, e) {
4953
4949
  return l.map((p) => {
4954
4950
  if (!p.isToken) return p.value;
4955
4951
  const I = p.value;
4956
- (So(I) || _o(I)) && wn(I, t, String(n));
4957
- const g = Hn[I[0]];
4952
+ (_o(I) || xo(I)) && wn(I, t, String(n));
4953
+ const g = Wn[I[0]];
4958
4954
  return g(s, I, r.localize, u);
4959
4955
  }).join("");
4960
4956
  }
@@ -4983,7 +4979,7 @@ function kl(n, t) {
4983
4979
  ), e;
4984
4980
  }
4985
4981
  const Ml = 10;
4986
- class Fo {
4982
+ class To {
4987
4983
  constructor() {
4988
4984
  L(this, "subPriority", 0);
4989
4985
  }
@@ -4991,7 +4987,7 @@ class Fo {
4991
4987
  return !0;
4992
4988
  }
4993
4989
  }
4994
- class Il extends Fo {
4990
+ class Il extends To {
4995
4991
  constructor(t, e, o, r, i) {
4996
4992
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, i && (this.subPriority = i);
4997
4993
  }
@@ -5002,7 +4998,7 @@ class Il extends Fo {
5002
4998
  return this.setValue(t, e, this.value, o);
5003
4999
  }
5004
5000
  }
5005
- class Ol extends Fo {
5001
+ class Ol extends To {
5006
5002
  constructor() {
5007
5003
  super(...arguments);
5008
5004
  L(this, "priority", Ml);
@@ -5126,7 +5122,7 @@ function ht(n, t) {
5126
5122
  rest: t.slice(e[0].length)
5127
5123
  };
5128
5124
  }
5129
- function Eo(n) {
5125
+ function Fo(n) {
5130
5126
  return $e(Ae.anyDigitsSigned, n);
5131
5127
  }
5132
5128
  function He(n, t) {
@@ -5174,7 +5170,7 @@ function In(n) {
5174
5170
  return 0;
5175
5171
  }
5176
5172
  }
5177
- function ko(n, t) {
5173
+ function Eo(n, t) {
5178
5174
  const e = t > 0, o = e ? t : 1 - t;
5179
5175
  let r;
5180
5176
  if (o <= 50)
@@ -5185,7 +5181,7 @@ function ko(n, t) {
5185
5181
  }
5186
5182
  return e ? r : 1 - r;
5187
5183
  }
5188
- function Mo(n) {
5184
+ function ko(n) {
5189
5185
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
5190
5186
  }
5191
5187
  class Vl extends ke {
@@ -5219,7 +5215,7 @@ class Vl extends ke {
5219
5215
  set(e, o, r) {
5220
5216
  const i = e.getFullYear();
5221
5217
  if (r.isTwoDigitYear) {
5222
- const s = ko(
5218
+ const s = Eo(
5223
5219
  r.year,
5224
5220
  i
5225
5221
  );
@@ -5274,7 +5270,7 @@ class Pl extends ke {
5274
5270
  set(e, o, r, i) {
5275
5271
  const a = Mn(e, i);
5276
5272
  if (r.isTwoDigitYear) {
5277
- const l = ko(
5273
+ const l = Eo(
5278
5274
  r.year,
5279
5275
  a
5280
5276
  );
@@ -5580,7 +5576,7 @@ class $l extends ke {
5580
5576
  }
5581
5577
  }
5582
5578
  function Wl(n, t, e) {
5583
- const o = Ue(n), r = Co(o, e) - t;
5579
+ const o = Ue(n), r = wo(o, e) - t;
5584
5580
  return o.setDate(o.getDate() - r * 7), o;
5585
5581
  }
5586
5582
  class Hl extends ke {
@@ -5621,7 +5617,7 @@ class Hl extends ke {
5621
5617
  }
5622
5618
  }
5623
5619
  function Al(n, t) {
5624
- const e = Ue(n), o = wo(e) - t;
5620
+ const e = Ue(n), o = bo(e) - t;
5625
5621
  return e.setDate(e.getDate() - o * 7), e;
5626
5622
  }
5627
5623
  class Gl extends ke {
@@ -5707,7 +5703,7 @@ class Yl extends ke {
5707
5703
  }
5708
5704
  }
5709
5705
  validate(e, o) {
5710
- const r = e.getFullYear(), i = Mo(r), a = e.getMonth();
5706
+ const r = e.getFullYear(), i = ko(r), a = e.getMonth();
5711
5707
  return i ? o >= 1 && o <= zl[a] : o >= 1 && o <= ql[a];
5712
5708
  }
5713
5709
  set(e, o, r) {
@@ -5750,7 +5746,7 @@ class Ul extends ke {
5750
5746
  }
5751
5747
  validate(e, o) {
5752
5748
  const r = e.getFullYear();
5753
- return Mo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
5749
+ return ko(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
5754
5750
  }
5755
5751
  set(e, o, r) {
5756
5752
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -5759,7 +5755,7 @@ class Ul extends ke {
5759
5755
  function On(n, t, e) {
5760
5756
  var d, h, b, p;
5761
5757
  const o = zt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((h = (d = e == null ? void 0 : e.locale) == null ? void 0 : d.options) == null ? void 0 : h.weekStartsOn) ?? o.weekStartsOn ?? ((p = (b = o.locale) == null ? void 0 : b.options) == null ? void 0 : p.weekStartsOn) ?? 0, i = Ue(n), a = i.getDay(), l = (t % 7 + 7) % 7, u = 7 - r, c = t < 0 || t > 6 ? t - (a + u) % 7 : (l + u) % 7 - (a + u) % 7;
5762
- return vo(i, c);
5758
+ return ho(i, c);
5763
5759
  }
5764
5760
  class Xl extends ke {
5765
5761
  constructor() {
@@ -5930,7 +5926,7 @@ class Kl extends ke {
5930
5926
  }
5931
5927
  function Jl(n, t) {
5932
5928
  const e = Ue(n), o = El(e), r = t - o;
5933
- return vo(e, r);
5929
+ return ho(e, r);
5934
5930
  }
5935
5931
  class Zl extends ke {
5936
5932
  constructor() {
@@ -6380,7 +6376,7 @@ class fu extends ke {
6380
6376
  L(this, "incompatibleTokens", "*");
6381
6377
  }
6382
6378
  parse(e) {
6383
- return Eo(e);
6379
+ return Fo(e);
6384
6380
  }
6385
6381
  set(e, o, r) {
6386
6382
  return [We(e, r * 1e3), { timestampIsSet: !0 }];
@@ -6393,7 +6389,7 @@ class pu extends ke {
6393
6389
  L(this, "incompatibleTokens", "*");
6394
6390
  }
6395
6391
  parse(e) {
6396
- return Eo(e);
6392
+ return Fo(e);
6397
6393
  }
6398
6394
  set(e, o, r) {
6399
6395
  return [We(e, r), { timestampIsSet: !0 }];
@@ -6432,9 +6428,9 @@ const mu = {
6432
6428
  t: new fu(),
6433
6429
  T: new pu()
6434
6430
  }, hu = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, vu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, gu = /^'([^]*?)'?$/, yu = /''/g, bu = /\S/, wu = /[a-zA-Z]/;
6435
- function Io(n, t, e, o) {
6431
+ function Mo(n, t, e, o) {
6436
6432
  var I, g, m, x;
6437
- const r = Fl(), i = r.locale ?? bo, a = r.firstWeekContainsDate ?? ((g = (I = r.locale) == null ? void 0 : I.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((x = (m = r.locale) == null ? void 0 : m.options) == null ? void 0 : x.weekStartsOn) ?? 0;
6433
+ const r = Fl(), i = r.locale ?? yo, a = r.firstWeekContainsDate ?? ((g = (I = r.locale) == null ? void 0 : I.options) == null ? void 0 : g.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((x = (m = r.locale) == null ? void 0 : m.options) == null ? void 0 : x.weekStartsOn) ?? 0;
6438
6434
  if (t === "")
6439
6435
  return n === "" ? Ue(e) : We(e, NaN);
6440
6436
  const l = {
@@ -6450,7 +6446,7 @@ function Io(n, t, e, o) {
6450
6446
  return w;
6451
6447
  }).join("").match(hu), d = [];
6452
6448
  for (let w of c) {
6453
- So(w) && wn(w, t, n), _o(w) && wn(w, t, n);
6449
+ _o(w) && wn(w, t, n), xo(w) && wn(w, t, n);
6454
6450
  const F = w[0], k = mu[F];
6455
6451
  if (k) {
6456
6452
  const { incompatibleTokens: _ } = k;
@@ -6507,7 +6503,7 @@ function Io(n, t, e, o) {
6507
6503
  function Cu(n) {
6508
6504
  return n.match(gu)[1].replace(yu, "'");
6509
6505
  }
6510
- class Oo {
6506
+ class Io {
6511
6507
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
6512
6508
  L(this, "editorType", "date-picker");
6513
6509
  L(this, "value");
@@ -6524,8 +6520,8 @@ class Oo {
6524
6520
  }
6525
6521
  getDisplayText() {
6526
6522
  if (typeof this.value == "string" && this.value) {
6527
- const t = Io(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6528
- return To(t, this.displayFormat);
6523
+ const t = Mo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6524
+ return So(t, this.displayFormat);
6529
6525
  }
6530
6526
  return this.getValue();
6531
6527
  }
@@ -6560,7 +6556,7 @@ class ln {
6560
6556
  return !this.begin || !this.end;
6561
6557
  }
6562
6558
  }
6563
- class Do {
6559
+ class Oo {
6564
6560
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
6565
6561
  L(this, "editorType", "datetime-picker");
6566
6562
  L(this, "value");
@@ -6577,8 +6573,8 @@ class Do {
6577
6573
  }
6578
6574
  getDisplayText() {
6579
6575
  if (typeof this.value == "string" && this.value) {
6580
- const t = Io(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6581
- return To(t, this.displayFormat);
6576
+ const t = Mo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
6577
+ return So(t, this.displayFormat);
6582
6578
  }
6583
6579
  return this.getValue();
6584
6580
  }
@@ -6589,7 +6585,7 @@ class Do {
6589
6585
  return !this.value;
6590
6586
  }
6591
6587
  }
6592
- class Vo {
6588
+ class Do {
6593
6589
  constructor(t = { value: "", valueList: [] }) {
6594
6590
  L(this, "editorType", "combo-list");
6595
6591
  L(this, "value");
@@ -6674,7 +6670,7 @@ class xu {
6674
6670
  return !this.displayText && !this.value.length;
6675
6671
  }
6676
6672
  }
6677
- class Po {
6673
+ class Vo {
6678
6674
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
6679
6675
  L(this, "editorType", "lookup");
6680
6676
  L(this, "helpId");
@@ -6702,7 +6698,7 @@ class Po {
6702
6698
  return !this.mapFields.length;
6703
6699
  }
6704
6700
  }
6705
- class Bo {
6701
+ class Po {
6706
6702
  constructor(t = { value: "" }) {
6707
6703
  L(this, "editorType", "month-picker");
6708
6704
  L(this, "value");
@@ -6725,7 +6721,7 @@ class Bo {
6725
6721
  return !this.value;
6726
6722
  }
6727
6723
  }
6728
- class No {
6724
+ class Bo {
6729
6725
  constructor(t = { begin: "", end: "" }) {
6730
6726
  L(this, "editorType", "month-range");
6731
6727
  L(this, "begin");
@@ -6749,7 +6745,7 @@ class No {
6749
6745
  return !this.begin || !this.end;
6750
6746
  }
6751
6747
  }
6752
- class Ro {
6748
+ class No {
6753
6749
  constructor(t = { begin: null, end: null }) {
6754
6750
  L(this, "editorType", "number-range");
6755
6751
  L(this, "begin");
@@ -6776,7 +6772,7 @@ class Ro {
6776
6772
  return this.begin == null && this.end == null;
6777
6773
  }
6778
6774
  }
6779
- class Lo {
6775
+ class Ro {
6780
6776
  constructor(t = { value: "" }) {
6781
6777
  L(this, "editorType", "number-spinner");
6782
6778
  L(this, "value");
@@ -6800,7 +6796,7 @@ class Lo {
6800
6796
  return this.value == null || isNaN(this.value);
6801
6797
  }
6802
6798
  }
6803
- class jo {
6799
+ class Lo {
6804
6800
  constructor(t = { value: null, valueList: [] }) {
6805
6801
  L(this, "editorType", "radio-group");
6806
6802
  L(this, "value");
@@ -6848,45 +6844,45 @@ class un {
6848
6844
  return !this.value;
6849
6845
  }
6850
6846
  }
6851
- function $o() {
6847
+ function jo() {
6852
6848
  function n(t, e) {
6853
6849
  switch (t) {
6854
6850
  case "check-box":
6855
- return new mo(e);
6851
+ return new po(e);
6856
6852
  case "combo-list":
6857
- return new Vo(e);
6853
+ return new Do(e);
6858
6854
  case "combo-lookup":
6859
- return new ho(e);
6855
+ return new mo(e);
6860
6856
  case "input-group":
6861
6857
  return new xu(e);
6862
6858
  case "date-picker":
6863
- return new Oo(e);
6859
+ return new Io(e);
6864
6860
  case "date-range":
6865
6861
  return new ln(e);
6866
6862
  case "datetime-picker":
6867
- return new Do(e);
6863
+ return new Oo(e);
6868
6864
  case "datetime-range":
6869
6865
  return new ln(e);
6870
6866
  case "lookup":
6871
- return new Po(e);
6867
+ return new Vo(e);
6872
6868
  case "month-picker":
6873
- return new Bo(e);
6869
+ return new Po(e);
6874
6870
  case "month-range":
6875
- return new No(e);
6871
+ return new Bo(e);
6876
6872
  case "number-range":
6877
- return new Ro(e);
6873
+ return new No(e);
6878
6874
  case "number-spinner":
6879
- return new Lo(e);
6875
+ return new Ro(e);
6880
6876
  case "radio-group":
6881
- return new jo(e);
6877
+ return new Lo(e);
6882
6878
  default:
6883
6879
  return new un(e);
6884
6880
  }
6885
6881
  }
6886
6882
  return { createConditionValue: n };
6887
6883
  }
6888
- function Wo(n, t) {
6889
- const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = $o();
6884
+ function $o(n, t) {
6885
+ const e = S(n.fields), o = S([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = jo();
6890
6886
  function a(c) {
6891
6887
  switch (c.editor ? c.editor.type : "input-group") {
6892
6888
  case "date-range":
@@ -6940,7 +6936,7 @@ function _u(n, t, e) {
6940
6936
  let h = "col-12";
6941
6937
  return c > 250 * 6 ? h = "col-2" : c > 250 * 4 ? h = "col-3" : c > 250 * 3 ? h = "col-4" : c > 250 * 2 && (h = "col-6"), h;
6942
6938
  }
6943
- const u = q(() => l(i.value));
6939
+ const u = G(() => l(i.value));
6944
6940
  return Fe([e], ([c]) => {
6945
6941
  r.value = c, s();
6946
6942
  }), {
@@ -6948,14 +6944,14 @@ function _u(n, t, e) {
6948
6944
  resizeObserver: o
6949
6945
  };
6950
6946
  }
6951
- const zn = /* @__PURE__ */ Qe({
6947
+ const qn = /* @__PURE__ */ Qe({
6952
6948
  name: "FConditionFields",
6953
- props: po,
6949
+ props: fo,
6954
6950
  emits: ["valueChange", "blur", "focus", "click", "input"],
6955
6951
  setup(n, t) {
6956
6952
  const e = S(), o = S(n.key);
6957
6953
  S(n.isControlInline);
6958
- const r = S(n.conditions), i = Wo(n), {
6954
+ const r = S(n.conditions), i = $o(n), {
6959
6955
  initialConditionValue: a,
6960
6956
  fieldMap: s,
6961
6957
  loadFieldConfigs: l
@@ -6963,19 +6959,19 @@ const zn = /* @__PURE__ */ Qe({
6963
6959
  conditionClass: c,
6964
6960
  resizeObserver: d
6965
6961
  } = u;
6966
- l(!0), a(r.value), Jn(() => {
6962
+ l(!0), a(r.value), Kn(() => {
6967
6963
  var g;
6968
6964
  (g = d.value) == null || g.unobserve(e.value);
6969
6965
  }), Fe(() => n.conditions, () => {
6970
6966
  r.value = n.conditions, a(r.value);
6971
6967
  });
6972
- const h = q(() => ({
6968
+ const h = G(() => ({
6973
6969
  // row: true,
6974
6970
  "f-utils-flex-row-wrap": !0,
6975
6971
  "farris-form": !0,
6976
6972
  "condition-div": !0,
6977
6973
  "farris-form-controls-inline": n.isControlInline
6978
- })), b = q(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
6974
+ })), b = G(() => "col-12 col-md-6 col-xl-3 col-el-2 ");
6979
6975
  function p(g, m, x, w) {
6980
6976
  g.value.editorType === "combo-list" && w.newValue ? g.value.valueList = w.newValue.map((F) => ({
6981
6977
  name: F.name,
@@ -7012,11 +7008,11 @@ const zn = /* @__PURE__ */ Qe({
7012
7008
  }, null);
7013
7009
  });
7014
7010
  }
7015
- return () => Zn(E("div", {
7011
+ return () => Jn(E("div", {
7016
7012
  class: h.value,
7017
7013
  key: o.value,
7018
7014
  ref: e
7019
- }, [I()]), [[Jo("area-response")]]);
7015
+ }, [I()]), [[Ko("area-response")]]);
7020
7016
  }
7021
7017
  }), Dn = /* @__PURE__ */ new Map([
7022
7018
  ["appearance", cn]
@@ -7285,7 +7281,7 @@ const Lu = "https://json-schema.org/draft/2020-12/schema", ju = "https://farris-
7285
7281
  "id",
7286
7282
  "type",
7287
7283
  "editor"
7288
- ], Ho = {
7284
+ ], Wo = {
7289
7285
  $schema: Lu,
7290
7286
  $id: ju,
7291
7287
  title: $u,
@@ -7293,7 +7289,7 @@ const Lu = "https://json-schema.org/draft/2020-12/schema", ju = "https://farris-
7293
7289
  type: Hu,
7294
7290
  properties: Au,
7295
7291
  required: Gu
7296
- }, Ao = {
7292
+ }, Ho = {
7297
7293
  id: { type: String, default: "" },
7298
7294
  customClass: { type: String, default: "" },
7299
7295
  customStyle: { type: String, default: "" },
@@ -7311,8 +7307,8 @@ const Lu = "https://json-schema.org/draft/2020-12/schema", ju = "https://farris-
7311
7307
  errors: { type: Object, default: null }
7312
7308
  };
7313
7309
  jt(
7314
- Ao,
7315
7310
  Ho,
7311
+ Wo,
7316
7312
  Dn,
7317
7313
  void 0
7318
7314
  );
@@ -7337,7 +7333,7 @@ const qu = {
7337
7333
  }), Fe([() => n.valid, () => n.inValidTip], ([l, u]) => {
7338
7334
  r.value = l, i.value = u;
7339
7335
  });
7340
- const a = q(() => r.value ? o.value : i.value), s = q(() => r.value ? "" : "color:red");
7336
+ const a = G(() => r.value ? o.value : i.value), s = G(() => r.value ? "" : "color:red");
7341
7337
  return () => o.value && E("label", {
7342
7338
  class: "col-form-label",
7343
7339
  title: a.value,
@@ -7353,9 +7349,9 @@ const qu = {
7353
7349
  }, [o.value])]);
7354
7350
  }
7355
7351
  }), ae = {}, se = {}, le = {}, ue = {};
7356
- let Yn = !1;
7352
+ let zn = !1;
7357
7353
  function Yu() {
7358
- Yn || (Yn = !0, ai.register(ae, se, le, ue), ii.register(ae, se, le, ue), si.register(ae, se, le, ue), li.register(ae, se, le, ue), ui.register(ae, se, le, ue), ci.register(ae, se, le, ue), Ln.register(ae, se, le, ue), jn.register(ae, se, le, ue), Ln.register(ae, se, le, ue), jn.register(ae, se, le, ue), gn.register(ae, se, le, ue), di.register(ae, se, le, ue), fi.register(ae, se, le, ue), mi.register(ae, se, le, ue), pi.register(ae, se, le, ue), hi.register(ae, se, le, ue), vi.register(ae, se, le, ue), gi.register(ae, se, le, ue), ei.register(ae, se, le, ue), yi.register(ae, se, le, ue), sa.register(ae, se, le, ue), Xr.register(ae, se, le, ue), bi.register(ae, se, le, ue), ea.register(ae, se, le, ue), Ci.register(ae, se, le, ue), xi.register(ae, se, le, ue), _i.register(ae, se, le, ue), Ti.register(ae, se, le, ue), Si.register(ae, se, le, ue), Fi.register(ae, se, le, ue), Ei.register(ae, se, le, ue), ki.register(ae, se, le, ue), Mi.register(ae, se, le, ue), Ii.register(ae, se, le, ue), Hr.register(ae, se, le, ue), Oi.register(ae, se, le, ue), Di.register(ae, se, le, ue), Qr.register(ae, se, le, ue), Vi.register(ae, se, le, ue), Pi.register(ae, se, le, ue), Bi.register(ae, se, le, ue), Ni.register(ae, se, le, ue), Li.register(ae, se, le, ue), ji.register(ae, se, le, ue), Ri.register(ae, se, le, ue), Ji.register(ae, se, le), Jr.register(ae, se, le, ue), $i.register(ae, se, le, ue), Wi.register(ae, se, le, ue), Hi.register(ae, se, le, ue), Ai.register(ae, se, le, ue), Gi.register(ae, se, le, ue), na.register(ae, se, le, ue), Wr.register(ae, se, le, ue), Zr.register(ae, se, le, ue), qi.register(ae, se, le, ue), zi.register(ae, se, le, ue), $r.register(ae, se, le, ue), Yi.register(ae, se, le, ue), Xi.register(ae, se, le, ue), Ui.register(ae, se, le, ue), Qi.register(ae, se, le, ue), Ki.register(ae, se, le, ue), to.register(ae, se, le, ue), wi.register(ae, se, le, ue), Zi.register(ae, se, le, ue), ta.register(ae, se, le, ue), oa.register(ae, se, le, ue), ra.register(ae, se, le, ue), ia.register(ae, se, le, ue), aa.register(ae, se, le, ue), la.register(ae, se, le, ue), ua.register(ae, se, le, ue));
7354
+ zn || (zn = !0, ai.register(ae, se, le, ue), ii.register(ae, se, le, ue), si.register(ae, se, le, ue), li.register(ae, se, le, ue), ui.register(ae, se, le, ue), ci.register(ae, se, le, ue), Rn.register(ae, se, le, ue), Ln.register(ae, se, le, ue), Rn.register(ae, se, le, ue), Ln.register(ae, se, le, ue), gn.register(ae, se, le, ue), di.register(ae, se, le, ue), fi.register(ae, se, le, ue), mi.register(ae, se, le, ue), pi.register(ae, se, le, ue), hi.register(ae, se, le, ue), vi.register(ae, se, le, ue), gi.register(ae, se, le, ue), ei.register(ae, se, le, ue), yi.register(ae, se, le, ue), sa.register(ae, se, le, ue), Ur.register(ae, se, le, ue), bi.register(ae, se, le, ue), ea.register(ae, se, le, ue), Ci.register(ae, se, le, ue), xi.register(ae, se, le, ue), _i.register(ae, se, le, ue), Ti.register(ae, se, le, ue), Si.register(ae, se, le, ue), Fi.register(ae, se, le, ue), Ei.register(ae, se, le, ue), ki.register(ae, se, le, ue), Mi.register(ae, se, le, ue), Ii.register(ae, se, le, ue), Wr.register(ae, se, le, ue), Oi.register(ae, se, le, ue), Di.register(ae, se, le, ue), Qr.register(ae, se, le, ue), Vi.register(ae, se, le, ue), Pi.register(ae, se, le, ue), Bi.register(ae, se, le, ue), Ni.register(ae, se, le, ue), Li.register(ae, se, le, ue), ji.register(ae, se, le, ue), Ri.register(ae, se, le, ue), Ji.register(ae, se, le), Jr.register(ae, se, le, ue), $i.register(ae, se, le, ue), Wi.register(ae, se, le, ue), Hi.register(ae, se, le, ue), Ai.register(ae, se, le, ue), Gi.register(ae, se, le, ue), na.register(ae, se, le, ue), $r.register(ae, se, le, ue), Zr.register(ae, se, le, ue), qi.register(ae, se, le, ue), zi.register(ae, se, le, ue), jr.register(ae, se, le, ue), Yi.register(ae, se, le, ue), Xi.register(ae, se, le, ue), Ui.register(ae, se, le, ue), Qi.register(ae, se, le, ue), Ki.register(ae, se, le, ue), eo.register(ae, se, le, ue), wi.register(ae, se, le, ue), Zi.register(ae, se, le, ue), ta.register(ae, se, le, ue), oa.register(ae, se, le, ue), ra.register(ae, se, le, ue), ia.register(ae, se, le, ue), aa.register(ae, se, le, ue), la.register(ae, se, le, ue), ua.register(ae, se, le, ue));
7359
7355
  }
7360
7356
  function Uu() {
7361
7357
  Yu();
@@ -7484,7 +7480,7 @@ const Xu = {
7484
7480
  Fe(() => n.errors, (i) => {
7485
7481
  e.value = i;
7486
7482
  });
7487
- const o = S(!0), r = q(() => {
7483
+ const o = S(!0), r = G(() => {
7488
7484
  if (e.value) {
7489
7485
  const i = Object.keys(e.value).map((a) => {
7490
7486
  var s;
@@ -7505,7 +7501,7 @@ const Xu = {
7505
7501
  }
7506
7502
  }), Cn = /* @__PURE__ */ Qe({
7507
7503
  name: "FDynamicFormGroup",
7508
- props: Ao,
7504
+ props: Ho,
7509
7505
  emits: ["change", "update:modelValue"],
7510
7506
  setup(n, t) {
7511
7507
  var _;
@@ -7516,7 +7512,7 @@ const Xu = {
7516
7512
  resolveEditorType: p,
7517
7513
  getChangeFunctionName: I,
7518
7514
  getClearFunctionName: g
7519
- } = Uu(), m = q(() => ({
7515
+ } = Uu(), m = G(() => ({
7520
7516
  "form-group": !0,
7521
7517
  "farris-form-group": !0,
7522
7518
  "common-group": !0,
@@ -7532,7 +7528,7 @@ const Xu = {
7532
7528
  function w() {
7533
7529
  t.emit("update:modelValue", "");
7534
7530
  }
7535
- const F = q(() => {
7531
+ const F = G(() => {
7536
7532
  const f = r.value.type || "input-group", y = p(f), C = b(f, r.value), T = I(f), v = g(r.value.type);
7537
7533
  return v && (C[v] = w), C[T] = x, (C.id == null || C.id === "") && (C.id = e.value), f === "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)) : f === "lookup" && r.value["onUpdate:idValue"] && typeof r.value["onUpdate:idValue"] == "function" ? C["onUpdate:idValue"] = r.value["onUpdate:idValue"] : f === "property-editor" && (C.onBeforeOpenVariables = r.value.onBeforeOpenVariables), () => E(y, Lt({
7538
7534
  ref: d
@@ -7652,7 +7648,7 @@ L(Ht, "fieldControlTypeMapping", {
7652
7648
  { key: de["radio-group"].type, value: de["radio-group"].name }
7653
7649
  ]
7654
7650
  });
7655
- let Un = Ht;
7651
+ let Yn = Ht;
7656
7652
  var xn = /* @__PURE__ */ ((n) => (n.Form = "Form", n.Variable = "Variable", n))(xn || {}), Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7657
7653
  function nn(n) {
7658
7654
  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.');
@@ -7712,7 +7708,7 @@ var Zu = { exports: {} };
7712
7708
  V === 1 && Array.isArray(v) === !1 && (O = v, v = []);
7713
7709
  var M, D, H, R, N, $, Q, B, P, Y = null, A, j, z = !1, K = 0, ie, Z = O || {};
7714
7710
  Z.moves === void 0 && (Z.moves = x), Z.accepts === void 0 && (Z.accepts = x), Z.invalid === void 0 && (Z.invalid = gt), Z.containers === void 0 && (Z.containers = v || []), Z.isContainer === void 0 && (Z.isContainer = m), 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);
7715
- var fe = a({
7711
+ var me = a({
7716
7712
  containers: Z.containers,
7717
7713
  start: Ve,
7718
7714
  end: ft,
@@ -7722,17 +7718,17 @@ var Zu = { exports: {} };
7722
7718
  canMove: Ee,
7723
7719
  dragging: !1
7724
7720
  });
7725
- return Z.removeOnSpill === !0 && fe.on("over", xt).on("out", bt), _e(), fe;
7721
+ return Z.removeOnSpill === !0 && me.on("over", xt).on("out", bt), _e(), me;
7726
7722
  function ve(W) {
7727
- return fe.containers.indexOf(W) !== -1 || Z.isContainer(W);
7723
+ return me.containers.indexOf(W) !== -1 || Z.isContainer(W);
7728
7724
  }
7729
7725
  function _e(W) {
7730
7726
  var ee = W ? "remove" : "add";
7731
- p(c, ee, "mousedown", G), p(c, ee, "mouseup", Se);
7727
+ p(c, ee, "mousedown", q), p(c, ee, "mouseup", Se);
7732
7728
  }
7733
7729
  function Pe(W) {
7734
7730
  var ee = W ? "remove" : "add";
7735
- p(c, ee, "mousemove", te);
7731
+ p(c, ee, "mousemove", oe);
7736
7732
  }
7737
7733
  function Le(W) {
7738
7734
  var ee = W ? "remove" : "add";
@@ -7744,15 +7740,15 @@ var Zu = { exports: {} };
7744
7740
  function ce(W) {
7745
7741
  A && W.preventDefault();
7746
7742
  }
7747
- function G(W) {
7743
+ function q(W) {
7748
7744
  R = W.clientX, N = W.clientY;
7749
7745
  var ee = I(W) !== 1 || W.metaKey || W.ctrlKey;
7750
7746
  if (!ee) {
7751
- var oe = W.target, ne = be(oe);
7752
- ne && (A = ne, Pe(), W.type === "mousedown" && (_(oe) ? oe.focus() : W.preventDefault()));
7747
+ var ne = W.target, te = be(ne);
7748
+ te && (A = te, Pe(), W.type === "mousedown" && (_(ne) ? ne.focus() : W.preventDefault()));
7753
7749
  }
7754
7750
  }
7755
- function te(W) {
7751
+ function oe(W) {
7756
7752
  if (A) {
7757
7753
  if (I(W) === 0) {
7758
7754
  Se({});
@@ -7760,8 +7756,8 @@ var Zu = { exports: {} };
7760
7756
  }
7761
7757
  if (!(W.clientX !== void 0 && Math.abs(W.clientX - R) <= (Z.slideFactorX || 0) && W.clientY !== void 0 && Math.abs(W.clientY - N) <= (Z.slideFactorY || 0))) {
7762
7758
  if (Z.ignoreInputTextSelection) {
7763
- var ee = T("clientX", W) || 0, oe = T("clientY", W) || 0, ne = u.elementFromPoint(ee, oe);
7764
- if (_(ne))
7759
+ var ee = T("clientX", W) || 0, ne = T("clientY", W) || 0, te = u.elementFromPoint(ee, ne);
7760
+ if (_(te))
7765
7761
  return;
7766
7762
  }
7767
7763
  var we = A;
@@ -7770,17 +7766,17 @@ var Zu = { exports: {} };
7770
7766
  }
7771
7767
  }
7772
7768
  function be(W) {
7773
- if (!(fe.dragging && M) && !ve(W)) {
7769
+ if (!(me.dragging && M) && !ve(W)) {
7774
7770
  for (var ee = W; k(W) && ve(k(W)) === !1; )
7775
7771
  if (Z.invalid(W, ee) || (W = k(W), !W))
7776
7772
  return;
7777
- var oe = k(W);
7778
- if (oe && !Z.invalid(W, ee)) {
7779
- var ne = Z.moves(W, oe, ee, y(W));
7780
- if (ne)
7773
+ var ne = k(W);
7774
+ if (ne && !Z.invalid(W, ee)) {
7775
+ var te = Z.moves(W, ne, ee, y(W));
7776
+ if (te)
7781
7777
  return {
7782
7778
  item: W,
7783
- source: oe
7779
+ source: ne
7784
7780
  };
7785
7781
  }
7786
7782
  }
@@ -7793,13 +7789,13 @@ var Zu = { exports: {} };
7793
7789
  ee && rt(ee);
7794
7790
  }
7795
7791
  function rt(W) {
7796
- Me(W.item, W.source) && (B = W.item.cloneNode(!0), fe.emit("cloned", B, W.item, "copy")), D = W.source, H = W.item, $ = Q = y(W.item), fe.dragging = !0, fe.emit("drag", H, D);
7792
+ Me(W.item, W.source) && (B = W.item.cloneNode(!0), me.emit("cloned", B, W.item, "copy")), D = W.source, H = W.item, $ = Q = y(W.item), me.dragging = !0, me.emit("drag", H, D);
7797
7793
  }
7798
7794
  function gt() {
7799
7795
  return !1;
7800
7796
  }
7801
7797
  function ft() {
7802
- if (fe.dragging) {
7798
+ if (me.dragging) {
7803
7799
  var W = B || H;
7804
7800
  De(W, k(W));
7805
7801
  }
@@ -7808,72 +7804,72 @@ var Zu = { exports: {} };
7808
7804
  A = !1, Pe(!0), Le(!0);
7809
7805
  }
7810
7806
  function Se(W) {
7811
- if (J(), !!fe.dragging) {
7812
- var ee = B || H, oe = T("clientX", W) || 0, ne = T("clientY", W) || 0, we = g(M, oe, ne), ye = Ct(we, oe, ne);
7807
+ if (J(), !!me.dragging) {
7808
+ var ee = B || H, ne = T("clientX", W) || 0, te = T("clientY", W) || 0, we = g(M, ne, te), ye = Ct(we, ne, te);
7813
7809
  ye && (B && Z.copySortSource || !B || ye !== D) ? De(ee, ye) : Z.removeOnSpill ? qe() : Re();
7814
7810
  }
7815
7811
  }
7816
7812
  function De(W, ee) {
7817
- var oe = k(W);
7818
- B && Z.copySortSource && ee === D && oe.removeChild(H), yt(ee) ? fe.emit("cancel", W, D) : fe.emit("drop", W, ee, D, Q), lt();
7813
+ var ne = k(W);
7814
+ B && Z.copySortSource && ee === D && ne.removeChild(H), yt(ee) ? me.emit("cancel", W, D) : me.emit("drop", W, ee, D, Q), lt();
7819
7815
  }
7820
7816
  function qe() {
7821
- if (fe.dragging) {
7817
+ if (me.dragging) {
7822
7818
  var W = B || H, ee = k(W);
7823
- ee && ee.removeChild(W), fe.emit(B ? "cancel" : "remove", W, ee, D), lt();
7819
+ ee && ee.removeChild(W), me.emit(B ? "cancel" : "remove", W, ee, D), lt();
7824
7820
  }
7825
7821
  }
7826
7822
  function Re(W) {
7827
- if (fe.dragging) {
7828
- var ee = arguments.length > 0 ? W : Z.revertOnSpill, oe = B || H, ne = k(oe), we = yt(ne);
7829
- we === !1 && ee && (B ? ne && ne.removeChild(B) : D.insertBefore(oe, $)), we || ee ? fe.emit("cancel", oe, D, D) : fe.emit("drop", oe, ne, D, Q), lt();
7823
+ if (me.dragging) {
7824
+ var ee = arguments.length > 0 ? W : Z.revertOnSpill, ne = B || H, te = k(ne), we = yt(te);
7825
+ we === !1 && ee && (B ? te && te.removeChild(B) : D.insertBefore(ne, $)), we || ee ? me.emit("cancel", ne, D, D) : me.emit("drop", ne, te, D, Q), lt();
7830
7826
  }
7831
7827
  }
7832
7828
  function lt() {
7833
7829
  var W = B || H;
7834
- J(), re(), pe(), W && l.rm(W, "gu-transit"), P && clearTimeout(P), fe.dragging = !1, Y && fe.emit("out", W, Y, D), fe.emit("dragend", W, K), D = H = B = $ = Q = P = Y = null;
7830
+ J(), re(), fe(), W && l.rm(W, "gu-transit"), P && clearTimeout(P), me.dragging = !1, Y && me.emit("out", W, Y, D), me.emit("dragend", W, K), D = H = B = $ = Q = P = Y = null;
7835
7831
  }
7836
7832
  function yt(W, ee) {
7837
- var oe;
7838
- return ee !== void 0 ? oe = ee : M ? oe = Q : oe = y(B || H), W === D && oe === $;
7833
+ var ne;
7834
+ return ee !== void 0 ? ne = ee : M ? ne = Q : ne = y(B || H), W === D && ne === $;
7839
7835
  }
7840
- function Ct(W, ee, oe) {
7841
- for (var ne = W; ne && !we(); )
7842
- ne = k(ne);
7843
- return ne;
7836
+ function Ct(W, ee, ne) {
7837
+ for (var te = W; te && !we(); )
7838
+ te = k(te);
7839
+ return te;
7844
7840
  function we() {
7845
- var ye = ve(ne);
7841
+ var ye = ve(te);
7846
7842
  if (ye === !1)
7847
7843
  return !1;
7848
- var Ne = ge(ne, W), Te = Ce(ne, Ne, ee, oe), je = yt(ne, Te);
7849
- return je ? !0 : Z.accepts(H, ne, D, Te);
7844
+ var Ne = ge(te, W), Te = Ce(te, Ne, ee, ne), je = yt(te, Te);
7845
+ return je ? !0 : Z.accepts(H, te, D, Te);
7850
7846
  }
7851
7847
  }
7852
7848
  function pt(W) {
7853
7849
  if (!M)
7854
7850
  return;
7855
7851
  W.preventDefault();
7856
- var ee = T("clientX", W) || 0, oe = T("clientY", W) || 0;
7857
- M.style.left = ee - 2 + "px", M.style.top = oe - 2 + "px";
7858
- var ne = B || H, we = g(M, ee, oe), ye = Ct(we, ee, oe), Ne = ye !== null && ye !== Y;
7859
- (Ne || ye === null) && (he(), Y = ye, ut()), me(we, oe);
7860
- var Te = k(ne);
7852
+ var ee = T("clientX", W) || 0, ne = T("clientY", W) || 0;
7853
+ M.style.left = ee - 2 + "px", M.style.top = ne - 2 + "px";
7854
+ var te = B || H, we = g(M, ee, ne), ye = Ct(we, ee, ne), Ne = ye !== null && ye !== Y;
7855
+ (Ne || ye === null) && (he(), Y = ye, ut()), pe(we, ne);
7856
+ var Te = k(te);
7861
7857
  if (ye === D && B && !Z.copySortSource) {
7862
- Te && Te.removeChild(ne);
7858
+ Te && Te.removeChild(te);
7863
7859
  return;
7864
7860
  }
7865
7861
  var je, st = ge(ye, we);
7866
7862
  if (z = Be(st, ye), st !== null)
7867
- je = Ce(ye, st, ee, oe);
7863
+ je = Ce(ye, st, ee, ne);
7868
7864
  else if (Z.revertOnSpill === !0 && !B)
7869
7865
  je = $, ye = D;
7870
7866
  else {
7871
- B && Te && Te.removeChild(ne), B && j && (j.style.display = "none");
7867
+ B && Te && Te.removeChild(te), B && j && (j.style.display = "none");
7872
7868
  return;
7873
7869
  }
7874
- j.style.display = "block", Ot(je, ne, Ne), je ? Ze(st, je) : X(ye);
7870
+ j.style.display = "block", Ot(je, te, Ne), je ? Ze(st, je) : X(ye);
7875
7871
  function Xe(xe) {
7876
- fe.emit(xe, ne, Y, D);
7872
+ me.emit(xe, te, Y, D);
7877
7873
  }
7878
7874
  function ut() {
7879
7875
  Ne && Xe("over");
@@ -7882,17 +7878,17 @@ var Zu = { exports: {} };
7882
7878
  Y && Xe("out");
7883
7879
  }
7884
7880
  }
7885
- function Ot(W, ee, oe) {
7886
- (W === ee || W === y(ee)) && (Q = y(ee)), (W === null && oe || W !== ee && W !== y(ee)) && (Q = W);
7881
+ function Ot(W, ee, ne) {
7882
+ (W === ee || W === y(ee)) && (Q = y(ee)), (W === null && ne || W !== ee && W !== y(ee)) && (Q = W);
7887
7883
  }
7888
7884
  function xt(W) {
7889
7885
  l.rm(W, "gu-hide");
7890
7886
  }
7891
7887
  function bt(W) {
7892
- fe.dragging && l.add(W, "gu-hide");
7888
+ me.dragging && l.add(W, "gu-hide");
7893
7889
  }
7894
7890
  function Dt() {
7895
- M || (M = document.createElement("div"), M.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;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(H) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), p(c, "add", "mousemove", pt), l.add(Z.mirrorContainer, "gu-unselectable"), fe.emit("cloned", M, H, "mirror"));
7891
+ M || (M = document.createElement("div"), M.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;", M.innerHTML = Z.getMirrorText && Z.getMirrorText(H) || "控件", l.add(M, "gu-mirror"), Z.mirrorContainer.appendChild(M), p(c, "add", "mousemove", pt), l.add(Z.mirrorContainer, "gu-unselectable"), me.emit("cloned", M, H, "mirror"));
7896
7892
  }
7897
7893
  function _t() {
7898
7894
  if (j = document.createElement("div"), l.add(j, "gu-insertion"), H) {
@@ -7904,21 +7900,21 @@ var Zu = { exports: {} };
7904
7900
  function re() {
7905
7901
  M && (l.rm(Z.mirrorContainer, "gu-unselectable"), p(c, "remove", "mousemove", pt), k(M).removeChild(M), M = null);
7906
7902
  }
7907
- function pe() {
7903
+ function fe() {
7908
7904
  j && (k(j).removeChild(j), j = null);
7909
7905
  }
7910
7906
  function ge(W, ee) {
7911
- for (var oe = ee; oe !== W && k(oe) !== W; )
7912
- oe = k(oe);
7913
- return oe === c ? null : oe;
7907
+ for (var ne = ee; ne !== W && k(ne) !== W; )
7908
+ ne = k(ne);
7909
+ return ne === c ? null : ne;
7914
7910
  }
7915
7911
  function Be(W, ee) {
7916
7912
  if (!ee)
7917
7913
  return z;
7918
- var oe = W || ee && ee.lastElementChild;
7919
- if (!oe)
7914
+ var ne = W || ee && ee.lastElementChild;
7915
+ if (!ne)
7920
7916
  return !0;
7921
- var ne = getComputedStyle(W), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
7917
+ var te = getComputedStyle(W), we = /^inline/.test(te.getPropertyValue("display")) || /^(left|right)$/.test(te.getPropertyValue("float"));
7922
7918
  if (we)
7923
7919
  return !0;
7924
7920
  if (ee) {
@@ -7936,10 +7932,10 @@ var Zu = { exports: {} };
7936
7932
  if (!W.children || !W.children.length)
7937
7933
  return !1;
7938
7934
  for (const ee of Array.from(W.children)) {
7939
- const ne = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
7940
- if (!ne.length)
7935
+ const te = (ee.className && ee.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
7936
+ if (!te.length)
7941
7937
  return !1;
7942
- for (const we of ne) {
7938
+ for (const we of te) {
7943
7939
  const ye = we.slice(we.lastIndexOf("-") + 1);
7944
7940
  if (parseInt(ye, 10) !== 12)
7945
7941
  return !1;
@@ -7948,15 +7944,15 @@ var Zu = { exports: {} };
7948
7944
  return !0;
7949
7945
  }
7950
7946
  function Ze(W, ee) {
7951
- const oe = ee.getBoundingClientRect();
7952
- if (j.style.left = oe.left + "px", j.style.top = oe.top + "px", z) {
7953
- if (j.style.height = oe.height + "px", j.style.width = "4px", W) {
7954
- const ne = W.getBoundingClientRect();
7955
- ne.top !== oe.top && (j.style.left = ne.right + "px", j.style.top = ne.top + "px", j.style.height = ne.height + "px");
7947
+ const ne = ee.getBoundingClientRect();
7948
+ if (j.style.left = ne.left + "px", j.style.top = ne.top + "px", z) {
7949
+ if (j.style.height = ne.height + "px", j.style.width = "4px", W) {
7950
+ const te = W.getBoundingClientRect();
7951
+ te.top !== ne.top && (j.style.left = te.right + "px", j.style.top = te.top + "px", j.style.height = te.height + "px");
7956
7952
  }
7957
- } else if (j.style.height = "4px", j.style.width = oe.width + "px", ie) {
7958
- const ne = ie.getBoundingClientRect();
7959
- oe.top < ne.top && (j.style.display = "none");
7953
+ } else if (j.style.height = "4px", j.style.width = ne.width + "px", ie) {
7954
+ const te = ie.getBoundingClientRect();
7955
+ ne.top < te.top && (j.style.display = "none");
7960
7956
  }
7961
7957
  ee === H && H && (j.style.display = "none");
7962
7958
  }
@@ -7964,42 +7960,42 @@ var Zu = { exports: {} };
7964
7960
  Q = null;
7965
7961
  var ee = W.lastElementChild;
7966
7962
  if (ee) {
7967
- var oe = ee.getBoundingClientRect();
7968
- z ? (j.style.left = oe.right + "px", j.style.top = oe.top + "px", j.style.height = oe.height + "px", j.style.width = "4px") : (j.style.left = oe.left + "px", j.style.top = oe.bottom + "px", j.style.height = "4px", j.style.width = oe.width + "px"), ee === H && H && (j.style.display = "none");
7963
+ var ne = ee.getBoundingClientRect();
7964
+ z ? (j.style.left = ne.right + "px", j.style.top = ne.top + "px", j.style.height = ne.height + "px", j.style.width = "4px") : (j.style.left = ne.left + "px", j.style.top = ne.bottom + "px", j.style.height = "4px", j.style.width = ne.width + "px"), ee === H && H && (j.style.display = "none");
7969
7965
  } else
7970
7966
  j.style.display = "none";
7971
7967
  }
7972
- function me(W, ee) {
7968
+ function pe(W, ee) {
7973
7969
  if (!Z.mirrorContainer.contains(W) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ie = h(W), !ie || !ie.contains(W)))
7974
7970
  return;
7975
- const oe = document.querySelector(".dgComponentSelected"), ne = ie.getBoundingClientRect();
7976
- if (ee - 30 < ne.top && ie.scrollTop > 0) {
7971
+ const ne = document.querySelector(".dgComponentSelected"), te = ie.getBoundingClientRect();
7972
+ if (ee - 30 < te.top && ie.scrollTop > 0) {
7977
7973
  let we = ie.scrollTop < 10 ? ie.scrollTop : 10;
7978
- ie.scrollBy(0, -1 * we), oe && ie.contains(oe) && (K = K + -1 * we);
7974
+ ie.scrollBy(0, -1 * we), ne && ie.contains(ne) && (K = K + -1 * we);
7979
7975
  }
7980
- if (ee + 30 > ne.bottom && ie.scrollTop < ie.scrollHeight - ie.clientHeight) {
7976
+ if (ee + 30 > te.bottom && ie.scrollTop < ie.scrollHeight - ie.clientHeight) {
7981
7977
  const we = ie.scrollHeight - ie.clientHeight - ie.scrollTop;
7982
7978
  let ye = we < 10 ? we : 10;
7983
- ie.scrollBy(0, ye), oe && ie.contains(oe) && (K = K + ye);
7979
+ ie.scrollBy(0, ye), ne && ie.contains(ne) && (K = K + ye);
7984
7980
  }
7985
7981
  }
7986
- function Ce(W, ee, oe, ne) {
7982
+ function Ce(W, ee, ne, te) {
7987
7983
  var we = Z.direction === "horizontal", ye = Z.direction === "mixed", Ne = ee !== W ? je() : Te();
7988
7984
  return Ne;
7989
7985
  function Te() {
7990
7986
  var Xe = W.children.length, ut, he, xe;
7991
7987
  for (ut = 0; ut < Xe; ut++)
7992
- if (he = W.children[ut], xe = he.getBoundingClientRect(), we && xe.left + xe.width / 2 > oe || !ye && !we && xe.top + xe.height / 2 > ne || ye && xe.left + xe.width > oe && xe.top + xe.height > ne)
7988
+ if (he = W.children[ut], xe = he.getBoundingClientRect(), we && xe.left + xe.width / 2 > ne || !ye && !we && xe.top + xe.height / 2 > te || ye && xe.left + xe.width > ne && xe.top + xe.height > te)
7993
7989
  return he;
7994
7990
  return null;
7995
7991
  }
7996
7992
  function je() {
7997
7993
  var Xe = ee.getBoundingClientRect();
7998
7994
  if (ye) {
7999
- var ut = ne - Xe.top, he = oe - Xe.left, xe = Xe.bottom - ne, et = Xe.right - oe, Je = Math.min(he, et, ut, xe), tt;
7995
+ var ut = te - Xe.top, he = ne - Xe.left, xe = Xe.bottom - te, et = Xe.right - ne, Je = Math.min(he, et, ut, xe), tt;
8000
7996
  return z ? tt = et < he : tt = xe === Je || et === Je || he === Je, st(tt);
8001
7997
  }
8002
- return st(we ? oe > Xe.left + w(Xe) / 2 : ne > Xe.top + F(Xe) / 2);
7998
+ return st(we ? ne > Xe.left + w(Xe) / 2 : te > Xe.top + F(Xe) / 2);
8003
7999
  }
8004
8000
  function st(Xe) {
8005
8001
  return Xe ? y(ee) : ee;
@@ -8423,11 +8419,11 @@ const ec = {
8423
8419
  props: tc,
8424
8420
  emits: [],
8425
8421
  setup(n) {
8426
- const t = q(() => ({
8422
+ const t = G(() => ({
8427
8423
  "drag-and-drop-alert": !0,
8428
8424
  "no-drag": !0,
8429
8425
  "w-100": !0
8430
- })), e = q(() => ({
8426
+ })), e = G(() => ({
8431
8427
  height: "60px",
8432
8428
  display: "flex",
8433
8429
  "justify-content": "center",
@@ -8450,7 +8446,7 @@ const ec = {
8450
8446
  }
8451
8447
  });
8452
8448
  function oc(n) {
8453
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !tr(n);
8449
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !er(n);
8454
8450
  }
8455
8451
  const _n = /* @__PURE__ */ Qe({
8456
8452
  name: "FDesignerItem",
@@ -8464,8 +8460,8 @@ const _n = /* @__PURE__ */ Qe({
8464
8460
  parent: p,
8465
8461
  setupContext: t
8466
8462
  };
8467
- Zo("design-item-context", I);
8468
- const g = Et("useFormSchema"), m = Et("designer-host-service"), x = q(() => {
8463
+ Jo("design-item-context", I);
8464
+ const g = Et("useFormSchema"), m = Et("designer-host-service"), x = G(() => {
8469
8465
  var Q;
8470
8466
  const R = n.modelValue.appearance && n.modelValue.appearance.class || "", N = ((Q = b.value) == null ? void 0 : Q.getCustomButtons) && b.value.getCustomButtons();
8471
8467
  let $ = {
@@ -8480,7 +8476,7 @@ const _n = /* @__PURE__ */ Qe({
8480
8476
  dgComponentFocused: d.value && d.value.classList.contains("dgComponentFocused")
8481
8477
  };
8482
8478
  return $[`farris-component-${a.value.type}`] = !0, $ = fn($, R), $ = fn($, u.value), $ = fn($, c.value), $;
8483
- }), w = q(() => {
8479
+ }), w = G(() => {
8484
8480
  const R = {}, N = n.modelValue.appearance && n.modelValue.appearance.style || "";
8485
8481
  return N && N.split(";").reduce(($, Q) => {
8486
8482
  const [B, P] = Q.split(":");
@@ -8597,7 +8593,7 @@ const _n = /* @__PURE__ */ Qe({
8597
8593
  }
8598
8594
  }
8599
8595
  Fe(() => n.modelValue, (R) => {
8600
- a.value = R, e.value = `${R.id}-component`, er(d);
8596
+ a.value = R, e.value = `${R.id}-component`, Zo(d);
8601
8597
  }, {
8602
8598
  deep: !0
8603
8599
  });
@@ -8624,7 +8620,7 @@ const _n = /* @__PURE__ */ Qe({
8624
8620
  h && R && h.attachComponents(R, a.value), i.value = b.value.canNested !== void 0 ? b.value.canNested : i.value, r.value = b.value.canDelete !== void 0 ? b.value.canDelete : r.value, o.value = b.value.canMove !== void 0 ? b.value.canMove : o.value, l.value = b.value.styles || "", u.value = b.value.designerClass || "", d.value && (d.value.componentInstance = b, d.value.designItemContext = I), b.value.belongedComponentId = s.value;
8625
8621
  }
8626
8622
  D(), Qt.value++;
8627
- }), Jn(() => {
8623
+ }), Kn(() => {
8628
8624
  d.value && d.value.removeEventListener("scroll", M);
8629
8625
  });
8630
8626
  function H(R) {
@@ -8635,7 +8631,7 @@ const _n = /* @__PURE__ */ Qe({
8635
8631
  const Q = document.getElementsByClassName("dgComponentFocused");
8636
8632
  Q && Q.length === 1 && Q[0] === d.value || (Array.from(Q).forEach((P) => P.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((P) => P.classList.remove("dgComponentSelected")), $.classList.add("dgComponentFocused"), t.emit("selectionChange", a.value.type, a.value, s.value, b.value), b.value.getDraggableDesignItemElement && (N = b.value.getDraggableDesignItemElement(I), N && N.value && N.value.classList.add("dgComponentSelected")));
8637
8633
  }
8638
- ao(N == null ? void 0 : N.value);
8634
+ io(N == null ? void 0 : N.value);
8639
8635
  }
8640
8636
  return () => a.value.type === "component-ref" ? O(a.value) : E("div", {
8641
8637
  id: `${a.value.id}-design-item`,
@@ -9074,7 +9070,7 @@ function ac(n, t, e) {
9074
9070
  resetTranslate: F
9075
9071
  };
9076
9072
  }
9077
- function Go(n, t) {
9073
+ function Ao(n, t) {
9078
9074
  if (n) {
9079
9075
  const e = (o) => {
9080
9076
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -9087,7 +9083,7 @@ function Go(n, t) {
9087
9083
  function sc(n, t) {
9088
9084
  const e = S(n.enableEsc);
9089
9085
  let o = null;
9090
- return e.value ? (o = Go("Escape", (r) => {
9086
+ return e.value ? (o = Ao("Escape", (r) => {
9091
9087
  t.emit("esc", { event: r.event, type: "esc" });
9092
9088
  }), {
9093
9089
  remove: o
@@ -9096,7 +9092,7 @@ function sc(n, t) {
9096
9092
  function lc(n, t) {
9097
9093
  const e = S(n.enableEnter);
9098
9094
  let o = null;
9099
- return e.value ? (o = Go("Enter", (r) => {
9095
+ return e.value ? (o = Ao("Enter", (r) => {
9100
9096
  t.emit("enter", { event: r.event, type: "enter" });
9101
9097
  }), {
9102
9098
  remove: o
@@ -9130,7 +9126,7 @@ const Jt = /* @__PURE__ */ Qe({
9130
9126
  handle: (J) => {
9131
9127
  k(J, !0);
9132
9128
  }
9133
- }], f = S(n.buttons && n.buttons.length ? n.buttons : _), y = q(() => !!u.value), C = q(() => !!g.value && !!f.value), T = S(), v = S(), O = S(!1), {
9129
+ }], f = S(n.buttons && n.buttons.length ? n.buttons : _), y = G(() => !!u.value), C = G(() => !!g.value && !!f.value), T = S(), v = S(), O = S(!1), {
9134
9130
  renderResizeBar: V,
9135
9131
  maximize: M,
9136
9132
  restore: D,
@@ -9166,7 +9162,7 @@ const Jt = /* @__PURE__ */ Qe({
9166
9162
  isMaximized: O.value
9167
9163
  });
9168
9164
  });
9169
- const Y = q(() => (r.value && document.body.classList.add("modal-open"), r.value)), A = q(() => {
9165
+ const Y = G(() => (r.value && document.body.classList.add("modal-open"), r.value)), A = G(() => {
9170
9166
  var De;
9171
9167
  const J = {
9172
9168
  modal: !0,
@@ -9176,13 +9172,13 @@ const Jt = /* @__PURE__ */ Qe({
9176
9172
  J["f-modal-fitContent"] = !!s.value, J.show = !!Y.value;
9177
9173
  const Se = (De = n.maskClass) == null ? void 0 : De.split(" ");
9178
9174
  return Se == null || Se.reduce((qe, Re) => (qe[Re] = !0, qe), J), J;
9179
- }), j = q(() => {
9175
+ }), j = G(() => {
9180
9176
  var De;
9181
9177
  const J = {
9182
9178
  "modal-dialog": !0
9183
9179
  }, Se = (De = a.value) == null ? void 0 : De.split(" ");
9184
9180
  return Se == null || Se.reduce((qe, Re) => (qe[Re] = !0, qe), J), J;
9185
- }), z = q(() => {
9181
+ }), z = G(() => {
9186
9182
  const J = {
9187
9183
  position: "absolute",
9188
9184
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -9191,24 +9187,24 @@ const Jt = /* @__PURE__ */ Qe({
9191
9187
  height: s.value ? "auto" : `${o.value}px`
9192
9188
  };
9193
9189
  return n.mask || (J.pointerEvents = "auto"), J;
9194
- }), K = q(() => {
9190
+ }), K = G(() => {
9195
9191
  const J = {
9196
9192
  display: "block"
9197
9193
  };
9198
9194
  return n.mask || (J.pointerEvents = "none", J.backgroundColor = "transparent"), F.value && (J.backgroundColor = "transparent"), J;
9199
- }), ie = q(() => ({
9195
+ }), ie = G(() => ({
9200
9196
  "modal-content": !0,
9201
9197
  "modal-content-has-header": l.value
9202
- })), Z = q(() => {
9198
+ })), Z = G(() => {
9203
9199
  const J = {
9204
9200
  display: l.value ? "" : "none"
9205
9201
  };
9206
9202
  return J["pointer-events"] = N.value ? "auto" : "none", J;
9207
- }), fe = q(() => ({
9203
+ }), me = G(() => ({
9208
9204
  "f-icon": !0,
9209
9205
  modal_maximize: !0,
9210
9206
  modalrevert: O.value
9211
- })), ve = q(() => ({
9207
+ })), ve = G(() => ({
9212
9208
  "modal-body": !0,
9213
9209
  "f-utils-flex-column": b.value === "iframe",
9214
9210
  "f-utils-fill": !0
@@ -9218,7 +9214,7 @@ const Jt = /* @__PURE__ */ Qe({
9218
9214
  height: `${n.footerHeight || 60}px`
9219
9215
  };
9220
9216
  }
9221
- const Pe = q(() => {
9217
+ const Pe = G(() => {
9222
9218
  const J = {
9223
9219
  textAlgin: I.value
9224
9220
  }, Se = _e();
@@ -9237,13 +9233,13 @@ const Jt = /* @__PURE__ */ Qe({
9237
9233
  function ce(J) {
9238
9234
  J.width && (e.value = J.width), J.height && (o.value = J.height), J.buttons && (f.value = J.buttons), J.title && (m.value = J.title);
9239
9235
  }
9240
- let G = null, te = null;
9236
+ let q = null, oe = null;
9241
9237
  Sn(() => {
9242
9238
  F.value = B();
9243
9239
  }), It(() => {
9244
- v.value && !x.value && (x.value = v.value.parentElement, H.value = x.value, Q(T.value, v.value, H.value)), Y.value && document.body.classList.add("modal-open"), G = sc(n, t), te = lc(n, t);
9240
+ v.value && !x.value && (x.value = v.value.parentElement, H.value = x.value, Q(T.value, v.value, H.value)), Y.value && document.body.classList.add("modal-open"), q = sc(n, t), oe = lc(n, t);
9245
9241
  }), qt(() => {
9246
- $ && $(), G && G.remove(), te && te.remove();
9242
+ $ && $(), q && q.remove(), oe && oe.remove();
9247
9243
  }), t.expose({
9248
9244
  modalElementRef: v,
9249
9245
  updateModalOptions: ce,
@@ -9261,7 +9257,7 @@ const Jt = /* @__PURE__ */ Qe({
9261
9257
  class: "f-btn-icon f-bare",
9262
9258
  style: "pointer-events: auto;"
9263
9259
  }, [E("span", {
9264
- class: fe.value
9260
+ class: me.value
9265
9261
  }, null)]), c.value && E("li", {
9266
9262
  class: "f-btn-icon f-bare",
9267
9263
  onClick: (J) => k(J, !1),
@@ -9334,10 +9330,10 @@ const Jt = /* @__PURE__ */ Qe({
9334
9330
  src: p.value
9335
9331
  }, null)]), rt()]), !s.value && v.value && !O.value && V(v.value)]);
9336
9332
  }
9337
- return () => E(nr, {
9333
+ return () => E(tr, {
9338
9334
  to: "body"
9339
9335
  }, {
9340
- default: () => [Y.value && E(Kn, {
9336
+ default: () => [Y.value && E(Qn, {
9341
9337
  name: "fade",
9342
9338
  appear: !0
9343
9339
  }, {
@@ -9351,7 +9347,7 @@ const Jt = /* @__PURE__ */ Qe({
9351
9347
  });
9352
9348
  }
9353
9349
  });
9354
- function qo(n) {
9350
+ function Go(n) {
9355
9351
  if (n.content && n.content.render)
9356
9352
  return n.content.render;
9357
9353
  if (n.render && typeof n.render == "function")
@@ -9360,7 +9356,7 @@ function qo(n) {
9360
9356
  function uc(n) {
9361
9357
  const t = document.createElement("div");
9362
9358
  t.style.display = "contents";
9363
- const e = Qn({
9359
+ const e = Xn({
9364
9360
  setup(o, r) {
9365
9361
  qt(() => {
9366
9362
  document.body.removeChild(t);
@@ -9370,7 +9366,7 @@ function uc(n) {
9370
9366
  }), p = n.closedCallback || ((w) => {
9371
9367
  }), I = n.resizeHandle || ((w) => {
9372
9368
  }), g = n.stopMoveHandle || ((w) => {
9373
- }), m = qo(n), x = (w) => {
9369
+ }), m = Go(n), x = (w) => {
9374
9370
  c.value = !1, e.unmount(), p(w);
9375
9371
  };
9376
9372
  return It(() => {
@@ -9402,14 +9398,14 @@ function uc(n) {
9402
9398
  });
9403
9399
  return document.body.appendChild(t), e.mount(t), e;
9404
9400
  }
9405
- class zo {
9401
+ class qo {
9406
9402
  constructor(t) {
9407
9403
  L(this, "appContext", null);
9408
9404
  L(this, "modalRef", S());
9409
9405
  L(this, "activeModalIndex", S(0));
9410
9406
  L(this, "modalRefs", {});
9411
9407
  L(this, "isUseEscCloseModal", S(!1));
9412
- L(this, "activeModalInstance", q(() => this.modalRefs[this.activeModalIndex.value]));
9408
+ L(this, "activeModalInstance", G(() => this.modalRefs[this.activeModalIndex.value]));
9413
9409
  this.app = t, this.appContext = t ? t._context : null;
9414
9410
  }
9415
9411
  getCurrentModal() {
@@ -9443,7 +9439,7 @@ class zo {
9443
9439
  open(t) {
9444
9440
  const e = document.createDocumentFragment();
9445
9441
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
9446
- const o = or(Object.assign({
9442
+ const o = nr(Object.assign({
9447
9443
  title: "",
9448
9444
  showButtons: !0,
9449
9445
  showHeader: !0
@@ -9454,7 +9450,7 @@ class zo {
9454
9450
  }), u = t.stopMoveHandle || ((k) => {
9455
9451
  });
9456
9452
  let c;
9457
- const d = qo(o.value), h = (k) => {
9453
+ const d = Go(o.value), h = (k) => {
9458
9454
  var f;
9459
9455
  r.value = !1;
9460
9456
  const _ = (f = k == null ? void 0 : k.target) == null ? void 0 : f.classList.contains("modal_close");
@@ -9490,7 +9486,7 @@ class zo {
9490
9486
  default: () => [d && d(this.app)]
9491
9487
  });
9492
9488
  return c = ((k) => {
9493
- const _ = rr(x, k);
9489
+ const _ = or(x, k);
9494
9490
  return _.appContext = this.appContext, dn(_, e), _;
9495
9491
  })({
9496
9492
  ...o.value
@@ -9500,7 +9496,7 @@ class zo {
9500
9496
  o.value = {
9501
9497
  ...o.value,
9502
9498
  ...k
9503
- }, c && dn(ir(c, {
9499
+ }, c && dn(rr(c, {
9504
9500
  ...o
9505
9501
  }), e);
9506
9502
  },
@@ -9513,7 +9509,7 @@ class zo {
9513
9509
  const cc = Symbol("FModalService");
9514
9510
  Jt.install = (n) => {
9515
9511
  n.component(Jt.name, Jt);
9516
- const t = new zo(n);
9512
+ const t = new qo(n);
9517
9513
  n.provide(cc, t), n.provide("FModalService", t);
9518
9514
  };
9519
9515
  const dc = {
@@ -9533,7 +9529,7 @@ const dc = {
9533
9529
  };
9534
9530
  jt(
9535
9531
  dc,
9536
- Ho,
9532
+ Wo,
9537
9533
  Dn,
9538
9534
  void 0
9539
9535
  );
@@ -9625,7 +9621,7 @@ function Tc() {
9625
9621
  return { onCopy: n };
9626
9622
  }
9627
9623
  function Fc(n, t, e, o) {
9628
- const r = S(14), i = S(140), a = S(""), s = S(o.value.length), l = q(() => o.value), u = q(() => ({
9624
+ const r = S(14), i = S(140), a = S(""), s = S(o.value.length), l = G(() => o.value), u = G(() => ({
9629
9625
  "font-size": `${r.value}px`,
9630
9626
  height: "100%"
9631
9627
  }));
@@ -9659,7 +9655,7 @@ function Ec(n, t, e, o) {
9659
9655
  function kc() {
9660
9656
  const n = S(!1), t = S("复制成功");
9661
9657
  return {
9662
- feedbackStyle: q(() => {
9658
+ feedbackStyle: G(() => {
9663
9659
  const o = {
9664
9660
  position: "absolute",
9665
9661
  left: "50%",
@@ -9687,7 +9683,7 @@ function Mc(n, t) {
9687
9683
  return () => e && e();
9688
9684
  }
9689
9685
  function Ic(n) {
9690
- 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 || "")), i = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
9686
+ const t = G(() => !!n.value && !!n.value.date), e = G(() => `发生时间 : ${n.value && n.value.date || ""}`), o = G(() => !!n.value && !!n.value.detail), r = G(() => "详细信息 : " + (n.value && n.value.detail || "")), i = "exp_switch_" + (/* @__PURE__ */ new Date()).getTime();
9691
9687
  return () => E("div", {
9692
9688
  class: "toast-msg-detail"
9693
9689
  }, [t.value && E("div", null, [e.value]), o.value && /* <div id="exception_error_msg" class="exception_error_msg" ref="exceptionMessageRef" style={exceptionMessageStyle.value}>
@@ -9719,12 +9715,12 @@ function Oc(n) {
9719
9715
  }, null);
9720
9716
  }
9721
9717
  function Dc(n, t, e, o) {
9722
- const r = S(n.exceptionInfo), i = q(() => {
9718
+ const r = S(n.exceptionInfo), i = G(() => {
9723
9719
  const h = {
9724
9720
  "f-icon": !0
9725
9721
  }, b = `f-icon-${t.value}`;
9726
9722
  return h[b] = !0, h;
9727
- }), a = q(() => e.value || r.value && r.value.message), s = q(() => o.value), l = q(() => !!o.value), u = q(() => !!r.value);
9723
+ }), a = G(() => e.value || r.value && r.value.message), s = G(() => o.value), l = G(() => !!o.value), u = G(() => !!r.value);
9728
9724
  function c() {
9729
9725
  return u.value ? Ic(r) : l.value ? Oc(s) : () => null;
9730
9726
  }
@@ -9749,7 +9745,7 @@ function Vc(n, t, e) {
9749
9745
  date: "",
9750
9746
  message: "",
9751
9747
  detail: ""
9752
- }), l = q(() => s.value && s.value.detail || "");
9748
+ }), l = G(() => s.value && s.value.detail || "");
9753
9749
  function u(c) {
9754
9750
  o(l.value).catch((d) => {
9755
9751
  i.value = "复制失败";
@@ -9767,7 +9763,7 @@ function Vc(n, t, e) {
9767
9763
  }, [a.value])]);
9768
9764
  }
9769
9765
  function Pc(n, t, e, o) {
9770
- const r = S(n.type), i = S(n.buttons), a = S(n.exceptionInfo), s = S(n.okButtonText), l = S(n.cancelButtonText), u = S(!0), c = S(!0), d = q(() => !!(i.value && i.value.length)), h = q(() => a.value && a.value.date && a.value.message && a.value.detail), b = q(() => !(i.value && i.value.length) && (s.value || l.value)), p = q(() => c.value && s.value), I = q(() => u.value && l.value), g = Vc(n, e, o);
9766
+ const r = S(n.type), i = S(n.buttons), a = S(n.exceptionInfo), s = S(n.okButtonText), l = S(n.cancelButtonText), u = S(!0), c = S(!0), d = G(() => !!(i.value && i.value.length)), h = G(() => a.value && a.value.date && a.value.message && a.value.detail), b = G(() => !(i.value && i.value.length) && (s.value || l.value)), p = G(() => c.value && s.value), I = G(() => u.value && l.value), g = Vc(n, e, o);
9771
9767
  function m(w) {
9772
9768
  r.value === "question" && t.emit("reject"), t.emit("close");
9773
9769
  }
@@ -9797,14 +9793,14 @@ const rn = /* @__PURE__ */ Qe({
9797
9793
  props: Cc,
9798
9794
  emits: ["accept", "reject", "close"],
9799
9795
  setup(n, t) {
9800
- const e = S(n.type), o = S(n.title), r = S(n.detail), i = q(() => {
9796
+ const e = S(n.type), o = S(n.title), r = S(n.detail), i = G(() => {
9801
9797
  const g = {
9802
9798
  "modal-tips": !0,
9803
9799
  "d-flex": !0,
9804
9800
  "flex-row": !0
9805
9801
  }, m = `messager-type-${e.value}`;
9806
9802
  return g[m] = !0, g;
9807
- }), a = q(() => {
9803
+ }), a = G(() => {
9808
9804
  const g = {};
9809
9805
  return e.value === "prompt" ? g.padding = "0.5rem 0.5rem 1rem 1.5rem" : e.value === "error" && (g.padding = "0.5rem 1.5rem 1rem 1.5rem"), g;
9810
9806
  }), s = Tc(), l = Ec(n, e, o, r), u = kc(), {
@@ -9840,7 +9836,7 @@ class Ft {
9840
9836
  }), o = !1, r = e.type === "error" || e.type === "prompt", i = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", a = e.acceptCallback || (() => {
9841
9837
  }), s = e.rejectCallback || (() => {
9842
9838
  });
9843
- let l = null, u = new zo(l);
9839
+ let l = null, u = new qo(l);
9844
9840
  const c = () => {
9845
9841
  l && (l == null || l.destroy(), u = null);
9846
9842
  };
@@ -9999,7 +9995,7 @@ function Rc(n, t, e) {
9999
9995
  }
10000
9996
  return { getCompareOperators: r };
10001
9997
  }
10002
- function Yo() {
9998
+ function zo() {
10003
9999
  const n = S({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
10004
10000
  let o = 0;
10005
10001
  function r() {
@@ -10187,7 +10183,7 @@ function Lc(n, t, e) {
10187
10183
  const w = i.get(m.conditionId);
10188
10184
  u(w).forEach((k) => c(k));
10189
10185
  }
10190
- const h = q(() => o.value.size === 0 && r.value.size === 1), b = function(m) {
10186
+ const h = G(() => o.value.size === 0 && r.value.size === 1), b = function(m) {
10191
10187
  r.value.delete(m.groupId), m.items.forEach((w) => l(w)), m.children.forEach((w) => !h.value && b(w));
10192
10188
  const x = a.get(m.groupId);
10193
10189
  x && r.value.has(x.groupId) && b(x);
@@ -10214,15 +10210,15 @@ function Lc(n, t, e) {
10214
10210
  }
10215
10211
  const hn = /* @__PURE__ */ Qe({
10216
10212
  name: "FConditionList",
10217
- props: po,
10213
+ props: fo,
10218
10214
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
10219
10215
  setup(n, t) {
10220
- const e = S(n.key), o = S(n.conditions), r = Wo(n), {
10216
+ const e = S(n.key), o = S(n.conditions), r = $o(n), {
10221
10217
  convertToSingleControl: i,
10222
10218
  fields: a,
10223
10219
  fieldMap: s,
10224
10220
  loadFieldConfigs: l
10225
- } = r, u = Yo(), {
10221
+ } = r, u = zo(), {
10226
10222
  addCondition: c,
10227
10223
  changeGroupRelation: d,
10228
10224
  getConditions: h,
@@ -10235,7 +10231,7 @@ const hn = /* @__PURE__ */ Qe({
10235
10231
  unGroup: w
10236
10232
  } = u, {
10237
10233
  createConditionValue: F
10238
- } = $o(), k = Lc(n, t, u), {
10234
+ } = jo(), k = Lc(n, t, u), {
10239
10235
  selectedItems: _,
10240
10236
  toggleSelect: f
10241
10237
  } = k, {
@@ -10379,7 +10375,7 @@ const hn = /* @__PURE__ */ Qe({
10379
10375
  }
10380
10376
  });
10381
10377
  hn.install = (n) => {
10382
- n.component(zn.name, zn).component(hn.name, hn);
10378
+ n.component(qn.name, qn).component(hn.name, hn);
10383
10379
  };
10384
10380
  const jc = [
10385
10381
  "equal",
@@ -10513,37 +10509,37 @@ const jc = [
10513
10509
  ["text", $c]
10514
10510
  ]);
10515
10511
  function zc() {
10516
- const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Yo();
10512
+ const n = S([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = zo();
10517
10513
  function o(g, m) {
10518
10514
  switch (g) {
10519
10515
  case "check-box":
10520
- return new mo({ value: m });
10516
+ return new po({ value: m });
10521
10517
  case "combo-list":
10522
- return new Vo({ value: m });
10518
+ return new Do({ value: m });
10523
10519
  case "combo-lookup":
10524
- return new ho({ value: m });
10520
+ return new mo({ value: m });
10525
10521
  case "input-group":
10526
10522
  return new un({ value: m });
10527
10523
  case "date-picker":
10528
- return new Oo({ value: m });
10524
+ return new Io({ value: m });
10529
10525
  case "date-range":
10530
10526
  return new ln({ value: m });
10531
10527
  case "datetime-picker":
10532
- return new Do({ value: m });
10528
+ return new Oo({ value: m });
10533
10529
  case "datetime-range":
10534
10530
  return new ln({ value: m });
10535
10531
  case "lookup":
10536
- return new Po({ value: m });
10532
+ return new Vo({ value: m });
10537
10533
  case "month-picker":
10538
- return new Bo({ value: m });
10534
+ return new Po({ value: m });
10539
10535
  case "month-range":
10540
- return new No({ value: m });
10536
+ return new Bo({ value: m });
10541
10537
  case "number-range":
10542
- return new Ro({ value: m });
10538
+ return new No({ value: m });
10543
10539
  case "number-spinner":
10544
- return new Lo({ value: m });
10540
+ return new Ro({ value: m });
10545
10541
  case "radio-group":
10546
- return new jo({ value: m });
10542
+ return new Lo({ value: m });
10547
10543
  default:
10548
10544
  return new un({ value: m });
10549
10545
  }
@@ -10614,21 +10610,21 @@ function zc() {
10614
10610
  }
10615
10611
  function Yc(n) {
10616
10612
  S(n.selection.showCheckbox || !1);
10617
- const t = q(() => {
10613
+ const t = G(() => {
10618
10614
  var a;
10619
10615
  return ((a = n.hierarchy) == null ? void 0 : a.collapseField) || "__fv_collapse__";
10620
- }), e = q(() => {
10616
+ }), e = G(() => {
10621
10617
  var a;
10622
10618
  return ((a = n.hierarchy) == null ? void 0 : a.hasChildrenField) || "__fv_hasChildren__";
10623
- }), o = q(() => {
10619
+ }), o = G(() => {
10624
10620
  var a;
10625
10621
  return ((a = n.hierarchy) == null ? void 0 : a.parentIdField) || "parent";
10626
- }), r = q(() => n.hierarchy && n.selection.showCheckbox), i = q(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10622
+ }), r = G(() => n.hierarchy && n.selection.showCheckbox), i = G(() => (n.treeNodeIconsData.fold || n.iconField) && n.showTreeNodeIcons);
10627
10623
  return { collapseField: t, hasChildrenField: e, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: i };
10628
10624
  }
10629
10625
  function Uc(n, t, e, o, r, i, a, s, l) {
10630
10626
  var _t;
10631
- const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: h, minVisibleRowIndex: b } = r, p = q(() => o.value.primaryColumnsWidth), I = q(() => o.value.leftColumnsWidth), g = q(() => o.value.rightColumnsWidth), m = ((_t = n.rowOption) == null ? void 0 : _t.height) || 28, x = S(0), w = S(0);
10627
+ const { dataView: u, visibleDataItems: c } = t, { getVisualData: d, maxVisibleRowIndex: h, minVisibleRowIndex: b } = r, p = G(() => o.value.primaryColumnsWidth), I = G(() => o.value.leftColumnsWidth), g = G(() => o.value.rightColumnsWidth), m = ((_t = n.rowOption) == null ? void 0 : _t.height) || 28, x = S(0), w = S(0);
10632
10628
  let F = 0, k = i.value - 1;
10633
10629
  const _ = S(0), f = S(0), y = S(0), C = S(n.virtualized), T = 24, v = 1.5;
10634
10630
  let O = null;
@@ -10636,69 +10632,69 @@ function Uc(n, t, e, o, r, i, a, s, l) {
10636
10632
  const re = c.value;
10637
10633
  if (re.length <= 0)
10638
10634
  return 0;
10639
- const pe = h.value < re.length ? re[h.value] : re[re.length - 1];
10640
- return pe.__fv_data_position__ > re.length * m ? re.length * m : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(re.length - 1 - h.value, 0) * m;
10635
+ const fe = h.value < re.length ? re[h.value] : re[re.length - 1];
10636
+ return fe.__fv_data_position__ > re.length * m ? re.length * m : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(re.length - 1 - h.value, 0) * m;
10641
10637
  }
10642
- const M = q(() => {
10638
+ const M = G(() => {
10643
10639
  const re = V();
10644
10640
  c.value;
10645
- let pe = f.value / Math.max(re, f.value), ge = Math.floor(pe * f.value);
10641
+ let fe = f.value / Math.max(re, f.value), ge = Math.floor(fe * f.value);
10646
10642
  for (; f.value > 0 && ge < T; )
10647
- pe *= v, ge = Math.floor(pe * f.value);
10643
+ fe *= v, ge = Math.floor(fe * f.value);
10648
10644
  return ge;
10649
- }), D = q(() => Math.floor(y.value / Math.max(p.value, y.value) * _.value)), H = 0, R = 0, N = q(() => _.value - (I.value + p.value + g.value + s.value));
10645
+ }), D = G(() => Math.floor(y.value / Math.max(p.value, y.value) * _.value)), H = 0, R = 0, N = G(() => _.value - (I.value + p.value + g.value + s.value));
10650
10646
  function $(re) {
10651
10647
  const ge = Math.floor(re / m) + 1, Be = c.value;
10652
10648
  return Be.length > ge ? Be[ge].__fv_visible_index__ - 1 : 0;
10653
10649
  }
10654
- function Q(re, pe, ge) {
10655
- let Be = re, ze = pe;
10656
- const Ze = pe - re + 1;
10650
+ function Q(re, fe, ge) {
10651
+ let Be = re, ze = fe;
10652
+ const Ze = fe - re + 1;
10657
10653
  if (Ze < a + i.value + a) {
10658
- const X = a + i.value + a - Ze, me = pe + X <= ge, Ce = 0 + X <= re;
10659
- if (me)
10654
+ const X = a + i.value + a - Ze, pe = fe + X <= ge, Ce = 0 + X <= re;
10655
+ if (pe)
10660
10656
  ze += X, k = ze;
10661
10657
  else if (Ce)
10662
10658
  Be -= X, F = Be;
10663
10659
  else {
10664
- const Me = ge - pe, W = X - Me;
10665
- ze = Math.min(pe + Me, ge), Be = Math.max(re - W, 0);
10660
+ const Me = ge - fe, W = X - Me;
10661
+ ze = Math.min(fe + Me, ge), Be = Math.max(re - W, 0);
10666
10662
  }
10667
10663
  }
10668
10664
  return { actualStart: Be, actualEnd: ze };
10669
10665
  }
10670
10666
  function B(re) {
10671
10667
  var Me, W;
10672
- const pe = c.value;
10673
- if (!pe.length) {
10668
+ const fe = c.value;
10669
+ if (!fe.length) {
10674
10670
  e.value = [];
10675
10671
  return;
10676
10672
  }
10677
- const ge = (Me = n.pagination) != null && Me.enable ? 0 : Math.max(F - a, 0), Be = pe[pe.length - 1].__fv_visible_index__, ze = (W = n.pagination) != null && W.enable ? pe.length - 1 : Math.min(k + a, Be), { actualStart: Ze, actualEnd: X } = Q(ge, ze, Be), me = pe[Ze - 1], Ce = d(Ze, X, me, re);
10673
+ const ge = (Me = n.pagination) != null && Me.enable ? 0 : Math.max(F - a, 0), Be = fe[fe.length - 1].__fv_visible_index__, ze = (W = n.pagination) != null && W.enable ? fe.length - 1 : Math.min(k + a, Be), { actualStart: Ze, actualEnd: X } = Q(ge, ze, Be), pe = fe[Ze - 1], Ce = d(Ze, X, pe, re);
10678
10674
  Ce.length && (e.value = [...Ce]);
10679
10675
  }
10680
- const P = q(() => V() > f.value), Y = q(() => Math.floor(p.value) > y.value);
10681
- function A(re, pe) {
10676
+ const P = G(() => V() > f.value), Y = G(() => Math.floor(p.value) > y.value);
10677
+ function A(re, fe) {
10682
10678
  let ge = re;
10683
10679
  const Be = ge > H, ze = P.value;
10684
- ze && ge < f.value - pe && (ge = f.value - pe), (!ze || Be) && (ge = H), x.value !== ge && (x.value = ge);
10680
+ ze && ge < f.value - fe && (ge = f.value - fe), (!ze || Be) && (ge = H), x.value !== ge && (x.value = ge);
10685
10681
  }
10686
10682
  function j() {
10687
10683
  C.value && (F = $(Math.abs(x.value)), k = F + i.value - 1, (F < b.value || k > h.value - a / 2) && B());
10688
10684
  }
10689
10685
  function z(re) {
10690
- let pe = x.value + re;
10691
- pe > H && (pe = H);
10686
+ let fe = x.value + re;
10687
+ fe > H && (fe = H);
10692
10688
  const ge = V();
10693
- A(pe, ge), j();
10689
+ A(fe, ge), j();
10694
10690
  }
10695
10691
  function K(re) {
10696
10692
  if (!Y.value) {
10697
10693
  w.value = 0;
10698
10694
  return;
10699
10695
  }
10700
- let pe = w.value + re;
10701
- pe > R && (pe = R), pe < N.value && (pe = N.value), w.value !== pe && (w.value = pe);
10696
+ let fe = w.value + re;
10697
+ fe > R && (fe = R), fe < N.value && (fe = N.value), w.value !== fe && (w.value = fe);
10702
10698
  }
10703
10699
  function ie() {
10704
10700
  Math.abs(w.value) + y.value > p.value && (w.value = Math.min(y.value - p.value, 0));
@@ -10706,80 +10702,80 @@ function Uc(n, t, e, o, r, i, a, s, l) {
10706
10702
  function Z() {
10707
10703
  x.value = 0, F = 0, k = i.value - 1, B();
10708
10704
  }
10709
- function fe() {
10705
+ function me() {
10710
10706
  const re = V();
10711
10707
  A(x.value, re);
10712
10708
  }
10713
10709
  Fe([y, p], () => {
10714
10710
  K(0);
10715
- }), Fe(f, (re, pe) => {
10716
- re !== pe && re >= u.value.length * m && z(0);
10711
+ }), Fe(f, (re, fe) => {
10712
+ re !== fe && re >= u.value.length * m && z(0);
10717
10713
  });
10718
10714
  function ve(re) {
10719
- let { deltaX: pe } = re, ge = -1 * re.deltaY;
10720
- return typeof pe > "u" && (pe = -1 * re.wheelDeltaX / 6), typeof ge > "u" && (ge = re.wheelDeltaY / 6), re.deltaMode && re.deltaMode === 1 && (pe *= 10, ge *= 10), re.shiftKey ? { deltaY: -ge, deltaX: -pe } : { deltaX: pe, deltaY: ge };
10715
+ let { deltaX: fe } = re, ge = -1 * re.deltaY;
10716
+ return typeof fe > "u" && (fe = -1 * re.wheelDeltaX / 6), typeof ge > "u" && (ge = re.wheelDeltaY / 6), re.deltaMode && re.deltaMode === 1 && (fe *= 10, ge *= 10), re.shiftKey ? { deltaY: -ge, deltaX: -fe } : { deltaX: fe, deltaY: ge };
10721
10717
  }
10722
10718
  function _e(re) {
10723
10719
  if (n.disabled || !P.value || re.target.tagName === "TEXTAREA")
10724
10720
  return;
10725
10721
  re.preventDefault(), re.stopPropagation();
10726
- const { deltaX: pe, deltaY: ge } = ve(re);
10727
- z(ge), K(pe);
10722
+ const { deltaX: fe, deltaY: ge } = ve(re);
10723
+ z(ge), K(fe);
10728
10724
  }
10729
- const Pe = q(() => ({
10725
+ const Pe = G(() => ({
10730
10726
  height: `${u.value.length * m}px`,
10731
10727
  width: `${I.value}px`,
10732
10728
  transform: `translateY(${x.value}px)`
10733
- })), Le = q(() => ({
10729
+ })), Le = G(() => ({
10734
10730
  transform: `translateY(${x.value}px)`
10735
- })), U = q(() => ({
10731
+ })), U = G(() => ({
10736
10732
  height: `${(n.autoHeight ? c.value : u.value).length * m}px`,
10737
10733
  width: `${p.value}px`,
10738
10734
  transform: `translate(${w.value}px, ${x.value}px)`
10739
- })), ce = q(() => ({
10735
+ })), ce = G(() => ({
10740
10736
  transform: `translate(${w.value}px, ${x.value}px)`
10741
- })), G = q(() => ({
10737
+ })), q = G(() => ({
10742
10738
  height: `${u.value.length * m}px`,
10743
10739
  width: `${g.value}px`,
10744
10740
  transform: `translateY(${x.value}px)`
10745
- })), te = q(() => ({
10741
+ })), oe = G(() => ({
10746
10742
  transform: `translateY(${x.value}px)`
10747
- })), be = q(() => ({
10743
+ })), be = G(() => ({
10748
10744
  height: `${u.value.length * m}px`,
10749
10745
  width: `${s.value}px`,
10750
10746
  transform: `translateY(${x.value}px)`
10751
- })), Ee = q(() => ({
10747
+ })), Ee = G(() => ({
10752
10748
  width: `${I.value}px`
10753
- })), Ve = q(() => ({
10749
+ })), Ve = G(() => ({
10754
10750
  transform: `translateX(${w.value}px)`
10755
- })), rt = q(() => ({
10751
+ })), rt = G(() => ({
10756
10752
  width: `${g.value}px`
10757
- })), gt = q(() => {
10753
+ })), gt = G(() => {
10758
10754
  const re = V();
10759
10755
  return A(x.value, re), x.value / (f.value - re) * (f.value - M.value);
10760
- }), ft = q(() => ({
10756
+ }), ft = G(() => ({
10761
10757
  width: "8px",
10762
10758
  height: `${M.value}px`,
10763
10759
  top: `${gt.value}px`
10764
- })), J = q(() => w.value / N.value * (_.value - D.value)), Se = q(() => ({
10760
+ })), J = G(() => w.value / N.value * (_.value - D.value)), Se = G(() => ({
10765
10761
  height: "8px",
10766
10762
  width: `${D.value}px`,
10767
10763
  left: `${J.value}px`
10768
10764
  })), De = S(!1), qe = S(-1), Re = S(-1), lt = S();
10769
10765
  function yt(re) {
10770
10766
  if (De.value && Re.value !== -1) {
10771
- const pe = Re.value - re.pageX, ge = _.value - D.value;
10772
- if (Math.abs(pe) <= ge) {
10773
- const Be = pe / (y.value - D.value) * (p.value - y.value);
10767
+ const fe = Re.value - re.pageX, ge = _.value - D.value;
10768
+ if (Math.abs(fe) <= ge) {
10769
+ const Be = fe / (y.value - D.value) * (p.value - y.value);
10774
10770
  K(Be), Re.value = re.pageX;
10775
10771
  }
10776
10772
  }
10777
10773
  }
10778
10774
  function Ct(re) {
10779
10775
  if (De.value && qe.value !== -1) {
10780
- const pe = qe.value - re.pageY, ge = V(), Be = ge - M.value;
10781
- if (Math.abs(pe) <= Be) {
10782
- const ze = pe / (f.value - M.value) * (ge - f.value);
10776
+ const fe = qe.value - re.pageY, ge = V(), Be = ge - M.value;
10777
+ if (Math.abs(fe) <= Be) {
10778
+ const ze = fe / (f.value - M.value) * (ge - f.value);
10783
10779
  z(ze), qe.value = re.pageY;
10784
10780
  }
10785
10781
  }
@@ -10787,16 +10783,16 @@ function Uc(n, t, e, o, r, i, a, s, l) {
10787
10783
  function pt(re) {
10788
10784
  De.value = !1, qe.value = -1, Re.value = -1, document.removeEventListener("mouseup", pt), O && (document.removeEventListener("mousemove", O), O = null), document.body.style.userSelect = "", lt.value && (lt.value.style.opacity = null);
10789
10785
  }
10790
- function Ot(re, pe, ge) {
10786
+ function Ot(re, fe, ge) {
10791
10787
  var Ze;
10792
10788
  De.value = !0;
10793
10789
  const Be = (Ze = re.target) == null ? void 0 : Ze.parentElement;
10794
- Be && (Be.style.opacity = "1", lt.value = Be), O || (O = sr(ge === "horizontal" ? yt : Ct, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Re.value = re.pageX), pe.value && (pe.value, document.addEventListener("mousemove", O), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
10790
+ Be && (Be.style.opacity = "1", lt.value = Be), O || (O = ar(ge === "horizontal" ? yt : Ct, 50)), ge === "vertical" && (qe.value = re.pageY), ge === "horizontal" && (Re.value = re.pageX), fe.value && (fe.value, document.addEventListener("mousemove", O), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
10795
10791
  }
10796
10792
  function xt(re) {
10797
- const pe = u.value.length * m - f.value;
10793
+ const fe = u.value.length * m - f.value;
10798
10794
  let ge = re * m;
10799
- ge >= pe && (ge = pe), z(-ge - x.value);
10795
+ ge >= fe && (ge = fe), z(-ge - x.value);
10800
10796
  }
10801
10797
  function bt() {
10802
10798
  xt(u.value.length);
@@ -10821,12 +10817,12 @@ function Uc(n, t, e, o, r, i, a, s, l) {
10821
10817
  onWheel: _e,
10822
10818
  reCalculateVisualDataRows: B,
10823
10819
  resetScroll: Z,
10824
- rightFixedGridDataStyle: G,
10820
+ rightFixedGridDataStyle: q,
10825
10821
  rightFixedGridHeaderColumnsStyle: rt,
10826
- rightFixedGridMergedDataStyle: te,
10822
+ rightFixedGridMergedDataStyle: oe,
10827
10823
  shouldShowHorizontalScrollbar: Y,
10828
10824
  shouldShowVirticalScrollbar: P,
10829
- updateVirticalScroll: fe,
10825
+ updateVirticalScroll: me,
10830
10826
  updateVisibleRowsOnLatestVisibleScope: j,
10831
10827
  verticalScrollThumbStyle: ft,
10832
10828
  viewPortWidth: y,
@@ -10838,7 +10834,7 @@ function Uc(n, t, e, o, r, i, a, s, l) {
10838
10834
  }
10839
10835
  function Xc(n) {
10840
10836
  var i;
10841
- const { isUndefined: t } = qr(), e = ((i = n.rowOption) == null ? void 0 : i.height) || 28;
10837
+ const { isUndefined: t } = Gr(), e = ((i = n.rowOption) == null ? void 0 : i.height) || 28;
10842
10838
  function o(a, s) {
10843
10839
  const l = a.pre;
10844
10840
  if (l) {
@@ -10893,7 +10889,7 @@ function Kc() {
10893
10889
  function Jc() {
10894
10890
  const {
10895
10891
  formatTo: n
10896
- } = zr();
10892
+ } = qr();
10897
10893
  function t(o, r) {
10898
10894
  if (o) {
10899
10895
  let i = "yyyy-MM-dd";
@@ -10918,7 +10914,7 @@ function Jc() {
10918
10914
  function Zc() {
10919
10915
  const {
10920
10916
  formatTo: n
10921
- } = Yr();
10917
+ } = zr();
10922
10918
  function t(e, o) {
10923
10919
  const r = {
10924
10920
  precision: o.precision,
@@ -11391,36 +11387,36 @@ function ad(n, t, e, o) {
11391
11387
  };
11392
11388
  }
11393
11389
  function sd(n, t, e, o, r) {
11394
- const { idField: i } = e, { dataView: a, getSelectionItems: s } = t, l = S(""), u = q(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), h = S(n.selection.showCheckbox), b = S(n.selection.showSelectAll), p = S(n.selectionValues || []), I = S(!!p.value.length && o.value.length === p.value.length), g = S(!!p.value.length && o.value.length !== p.value.length);
11390
+ const { idField: i } = e, { dataView: a, getSelectionItems: s } = t, l = S(""), u = G(() => n.selection.enableSelectRow), c = S(n.selection.multiSelect ?? !1), d = S(n.selection.multiSelectMode || "DependOnCheck"), h = S(n.selection.showCheckbox), b = S(n.selection.showSelectAll), p = S(n.selectionValues || []), I = S(!!p.value.length && o.value.length === p.value.length), g = S(!!p.value.length && o.value.length !== p.value.length);
11395
11391
  Fe(() => n.selection.showSelectAll, (U, ce) => {
11396
11392
  U !== ce && (b.value = U);
11397
11393
  });
11398
11394
  function m() {
11399
- const U = a.value.every((G) => p.value.includes(G[i.value])), ce = a.value.every((G) => !p.value.includes(G[i.value]));
11395
+ const U = a.value.every((q) => p.value.includes(q[i.value])), ce = a.value.every((q) => !p.value.includes(q[i.value]));
11400
11396
  U && (I.value = !0, g.value = !1), ce && (I.value = !1, g.value = !1), !U && !ce && (I.value = !1, g.value = !0);
11401
11397
  }
11402
11398
  function x() {
11403
11399
  return s(p.value);
11404
11400
  }
11405
11401
  function w() {
11406
- const U = o.value.reduce((G, te) => (G.set(te.raw[i.value], te), G), /* @__PURE__ */ new Map());
11407
- return p.value.map((G) => U.get(G)).filter((G) => !!G);
11402
+ const U = o.value.reduce((q, oe) => (q.set(oe.raw[i.value], oe), q), /* @__PURE__ */ new Map());
11403
+ return p.value.map((q) => U.get(q)).filter((q) => !!q);
11408
11404
  }
11409
11405
  function F(U) {
11410
- var G;
11406
+ var q;
11411
11407
  const ce = U.raw.__fv_children_index__;
11412
11408
  if (ce && ce.length) {
11413
- const te = ce.map((be) => a.value[be]);
11414
- (G = p.value) != null && G.length && te.some((Ee) => !p.value.includes(Ee[i.value])) && (U.indeterminate = !0, U.raw.__fv_indeterminate__ = !0);
11409
+ const oe = ce.map((be) => a.value[be]);
11410
+ (q = p.value) != null && q.length && oe.some((Ee) => !p.value.includes(Ee[i.value])) && (U.indeterminate = !0, U.raw.__fv_indeterminate__ = !0);
11415
11411
  }
11416
11412
  }
11417
- const k = q(() => u.value && c.value), _ = q(
11413
+ const k = G(() => u.value && c.value), _ = G(
11418
11414
  () => u.value && !c.value && !h.value
11419
- ), f = q(() => !!n.hierarchy), y = q(() => {
11415
+ ), f = G(() => !!n.hierarchy), y = G(() => {
11420
11416
  const U = h.value && d.value === "DependOnCheck";
11421
11417
  return k.value && U;
11422
- }), C = q(() => k.value && !h.value), T = q(() => k.value && h.value && d.value === "OnCheckAndClick");
11423
- q(() => T.value);
11418
+ }), C = G(() => k.value && !h.value), T = G(() => k.value && h.value && d.value === "OnCheckAndClick");
11419
+ G(() => T.value);
11424
11420
  function v() {
11425
11421
  const U = s(p.value);
11426
11422
  r.emit("selectionChange", U);
@@ -11429,14 +11425,14 @@ function sd(n, t, e, o, r) {
11429
11425
  r.emit("unSelectItem", U);
11430
11426
  }
11431
11427
  function V() {
11432
- const U = o.value.filter((G) => G.indeterminate).map((G) => G.raw[i.value]);
11433
- o.value.forEach((G) => {
11434
- G.checked = !1, G.indeterminate = !1, G.raw.__fv_checked__ = !1, G.raw.__fv_indeterminate__ = !1;
11435
- }), w().forEach((G) => {
11436
- G.checked = !0, G.raw.__fv_checked__ = !0;
11437
- }), U.forEach((G) => {
11438
- const te = o.value.find((be) => be.raw[i.value] === G);
11439
- F(te);
11428
+ const U = o.value.filter((q) => q.indeterminate).map((q) => q.raw[i.value]);
11429
+ o.value.forEach((q) => {
11430
+ q.checked = !1, q.indeterminate = !1, q.raw.__fv_checked__ = !1, q.raw.__fv_indeterminate__ = !1;
11431
+ }), w().forEach((q) => {
11432
+ q.checked = !0, q.raw.__fv_checked__ = !0;
11433
+ }), U.forEach((q) => {
11434
+ const oe = o.value.find((be) => be.raw[i.value] === q);
11435
+ F(oe);
11440
11436
  });
11441
11437
  }
11442
11438
  Fe(() => o.value, () => {
@@ -11446,39 +11442,39 @@ function sd(n, t, e, o, r) {
11446
11442
  }, { immediate: !0 }), Fe(() => n.selection, (U) => {
11447
11443
  c.value = !!U.multiSelect, d.value = U.multiSelectMode || "DependOnCheck", h.value = !!U.showCheckbox;
11448
11444
  });
11449
- const M = q(() => !c.value);
11445
+ const M = G(() => !c.value);
11450
11446
  function D(U) {
11451
11447
  return U.raw[i.value];
11452
11448
  }
11453
11449
  function H(U) {
11454
- return p.value.findIndex((G) => G === D(U));
11450
+ return p.value.findIndex((q) => q === D(U));
11455
11451
  }
11456
11452
  function R() {
11457
- w().forEach((G) => {
11458
- G.checked = !1;
11459
- }), s(p.value).forEach((G) => {
11460
- G.__fv_checked__ = !1;
11453
+ w().forEach((q) => {
11454
+ q.checked = !1;
11455
+ }), s(p.value).forEach((q) => {
11456
+ q.__fv_checked__ = !1;
11461
11457
  }), p.value = [], l.value = "", m();
11462
11458
  }
11463
11459
  function N(U) {
11464
11460
  const ce = U;
11465
11461
  ce.__fv_checked__ = !0, ce.__fv_indeterminate__ = !1;
11466
- const G = new Set(p.value);
11467
- G.add(ce[i.value]), p.value = Array.from(G.values());
11462
+ const q = new Set(p.value);
11463
+ q.add(ce[i.value]), p.value = Array.from(q.values());
11468
11464
  }
11469
11465
  function $(U) {
11470
11466
  const ce = U;
11471
- ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !1, p.value = p.value.filter((G) => G !== ce[i.value]);
11467
+ ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !1, p.value = p.value.filter((q) => q !== ce[i.value]);
11472
11468
  }
11473
11469
  function Q(U) {
11474
11470
  const ce = U.raw;
11475
11471
  ce.__fv_checked__ = !0, ce.__fv_indeterminate__ = !1;
11476
- const G = new Set(p.value);
11477
- G.add(ce[i.value]), p.value = Array.from(G.values()), U.checked = !0, U.indeterminate = !1;
11472
+ const q = new Set(p.value);
11473
+ q.add(ce[i.value]), p.value = Array.from(q.values()), U.checked = !0, U.indeterminate = !1;
11478
11474
  }
11479
11475
  function B(U) {
11480
11476
  const ce = U.raw;
11481
- ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !1, p.value = p.value.filter((G) => G !== ce[i.value]), U.checked = !1, U.indeterminate = !1;
11477
+ ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !1, p.value = p.value.filter((q) => q !== ce[i.value]), U.checked = !1, U.indeterminate = !1;
11482
11478
  }
11483
11479
  function P(U) {
11484
11480
  Q(U), l.value = U.raw[i.value];
@@ -11491,30 +11487,30 @@ function sd(n, t, e, o, r) {
11491
11487
  }
11492
11488
  function j(U) {
11493
11489
  const ce = U.raw;
11494
- ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !0, p.value = p.value.filter((G) => G !== ce[i.value]), U.checked = !1, U.indeterminate = !0;
11490
+ ce.__fv_checked__ = !1, ce.__fv_indeterminate__ = !0, p.value = p.value.filter((q) => q !== ce[i.value]), U.checked = !1, U.indeterminate = !0;
11495
11491
  }
11496
11492
  function z(U) {
11497
11493
  M.value && R(), U.checked ? B(U) : Q(U), v();
11498
11494
  }
11499
11495
  function K(U, ce = !0) {
11500
- const G = U.checked;
11501
- M.value && R(), ce ? U.checked ? Y(U) : P(U) : G ? Y(U) : P(U), v(), U.checked || O(U);
11496
+ const q = U.checked;
11497
+ M.value && R(), ce ? U.checked ? Y(U) : P(U) : q ? Y(U) : P(U), v(), U.checked || O(U);
11502
11498
  }
11503
11499
  function ie(U) {
11504
11500
  U.raw[i.value] !== l.value && (R(), P(U), v());
11505
11501
  }
11506
11502
  function Z(U) {
11507
- const ce = o.value.find((G) => G.raw[i.value] === U);
11503
+ const ce = o.value.find((q) => q.raw[i.value] === U);
11508
11504
  ce && ie(ce);
11509
11505
  }
11510
- function fe(U) {
11511
- const ce = o.value.filter((be) => U.includes(be.raw[i.value])), G = ce.map((be) => be.raw[i.value]), te = a.value.filter((be) => {
11506
+ function me(U) {
11507
+ const ce = o.value.filter((be) => U.includes(be.raw[i.value])), q = ce.map((be) => be.raw[i.value]), oe = a.value.filter((be) => {
11512
11508
  const Ee = be[i.value];
11513
- return !G.includes(Ee) && U.includes(Ee);
11509
+ return !q.includes(Ee) && U.includes(Ee);
11514
11510
  });
11515
- (ce.length || te.length) && (R(), _.value && (l.value = U[0])), ce.forEach((be) => {
11511
+ (ce.length || oe.length) && (R(), _.value && (l.value = U[0])), ce.forEach((be) => {
11516
11512
  P(be);
11517
- }), te.forEach((be) => {
11513
+ }), oe.forEach((be) => {
11518
11514
  N(be);
11519
11515
  }), v();
11520
11516
  }
@@ -11522,12 +11518,12 @@ function sd(n, t, e, o, r) {
11522
11518
  for (const ce of U) {
11523
11519
  if (!p.value.includes(ce))
11524
11520
  continue;
11525
- const G = o.value.find((te) => te.raw[i.value] === ce);
11526
- if (G)
11527
- Y(G);
11521
+ const q = o.value.find((oe) => oe.raw[i.value] === ce);
11522
+ if (q)
11523
+ Y(q);
11528
11524
  else {
11529
- const te = a.value.find((be) => be[i.value] === ce);
11530
- te && $(te);
11525
+ const oe = a.value.find((be) => be[i.value] === ce);
11526
+ oe && $(oe);
11531
11527
  }
11532
11528
  }
11533
11529
  p.value = p.value.filter(
@@ -11568,7 +11564,7 @@ function sd(n, t, e, o, r) {
11568
11564
  selectDataItem: N,
11569
11565
  selectItem: ie,
11570
11566
  selectItemById: Z,
11571
- selectItemByIds: fe,
11567
+ selectItemByIds: me,
11572
11568
  showCheckBox: h,
11573
11569
  showSelectAll: b,
11574
11570
  toggleSelectItem: K,
@@ -11585,10 +11581,10 @@ function sd(n, t, e, o, r) {
11585
11581
  }
11586
11582
  function ld(n, t) {
11587
11583
  var g, m;
11588
- const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = S(((g = n.rowNumber) == null ? void 0 : g.enable) ?? !1), s = q(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = S(a.value ? ((m = n.rowNumber) == null ? void 0 : m.width) ?? 32 : 0), u = S(s.value ? o : 0), c = q(() => {
11584
+ const e = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = S(((g = n.rowNumber) == null ? void 0 : g.enable) ?? !1), s = G(() => n.hierarchy && r.value && n.selection.enableSelectRow && n.selection.multiSelect ? !1 : r.value), l = S(a.value ? ((m = n.rowNumber) == null ? void 0 : m.width) ?? 32 : 0), u = S(s.value ? o : 0), c = G(() => {
11589
11585
  var x;
11590
11586
  return a.value ? ((x = n.rowNumber) == null ? void 0 : x.heading) ?? "序号" : "";
11591
- }), d = q(() => (s.value && !n.hierarchy ? Number(u.value) : 0) + (a.value ? Number(l.value) : 0));
11587
+ }), d = G(() => (s.value && !n.hierarchy ? Number(u.value) : 0) + (a.value ? Number(l.value) : 0));
11592
11588
  Fe(() => n.rowNumber, (x) => {
11593
11589
  x && x.enable !== void 0 && (a.value = x.enable), x && x.width !== void 0 && (l.value = x.width);
11594
11590
  });
@@ -11599,7 +11595,7 @@ function ld(n, t) {
11599
11595
  height: `${x.height || ""}px`
11600
11596
  };
11601
11597
  }
11602
- const b = q(() => ({
11598
+ const b = G(() => ({
11603
11599
  width: `${d.value}px`
11604
11600
  }));
11605
11601
  function p(x) {
@@ -11727,46 +11723,46 @@ const Gt = /* @__PURE__ */ Qe({
11727
11723
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
11728
11724
  setup(n, t) {
11729
11725
  var Xe, ut;
11730
- const o = ((Xe = n.rowOption) == null ? void 0 : Xe.height) || 28, r = S(20), i = S(n.columns), a = lr(n), {
11726
+ const o = ((Xe = n.rowOption) == null ? void 0 : Xe.height) || 28, r = S(20), i = S(n.columns), a = sr(n), {
11731
11727
  idField: s
11732
- } = a, l = S(), u = S(), c = S(), d = S(), h = S(), b = S([]), p = S(!1), I = S(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), g = ur(n, a), m = cr(), x = dr(n), {
11728
+ } = a, l = S(), u = S(), c = S(), d = S(), h = S(), b = S([]), p = S(!1), I = S(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), g = lr(n, a), m = ur(), x = cr(n), {
11733
11729
  collapseField: w
11734
11730
  } = x, {
11735
11731
  showLoading: F,
11736
11732
  renderLoading: k
11737
- } = fr(n, l), _ = pr(n, /* @__PURE__ */ new Map(), m, x, a), {
11733
+ } = dr(n, l), _ = fr(n, /* @__PURE__ */ new Map(), m, x, a), {
11738
11734
  dataView: f
11739
- } = _, y = mr(n, _, a, b, t), C = hr(n, b, _, a, y, t), T = q(() => n.disabled), v = q(() => n.virtualized ? Math.min(_.dataView.value.length, r.value) : _.dataView.value.length), {
11735
+ } = _, y = pr(n, _, a, b, t), C = mr(n, b, _, a, y, t), T = G(() => n.disabled), v = G(() => n.virtualized ? Math.min(_.dataView.value.length, r.value) : _.dataView.value.length), {
11740
11736
  containerStyleObject: O
11741
- } = vr(n), V = gr(n), {
11737
+ } = hr(n), V = vr(n), {
11742
11738
  applyCommands: M
11743
11739
  } = V;
11744
11740
  M(i);
11745
- const D = yr(n), H = br(n), {
11741
+ const D = gr(n), H = yr(n), {
11746
11742
  applyColumnSorter: R,
11747
11743
  columnContext: N,
11748
11744
  updateColumnRenderContext: $
11749
11745
  } = D;
11750
11746
  R(_, H);
11751
- const Q = wr(n, N), B = Cr(n, t, y, a), P = xr(n, t, a, B, b), Y = _r(n), A = Sr(n, P, Y), j = Tr(n, _, P, x, a, Y, A), z = Fr(n, i, _, v, 0, j), {
11747
+ const Q = br(n, N), B = wr(n, t, y, a), P = Cr(n, t, a, B, b), Y = xr(n), A = _r(n, P, Y), j = Sr(n, _, P, x, a, Y, A), z = Tr(n, i, _, v, 0, j), {
11752
11748
  getVisualData: K
11753
- } = z, ie = Er(n, N), Z = kr(n, y), {
11754
- sidebarWidth: fe
11755
- } = Z, ve = Mr(n, _, b, N, z, v, 0, fe), {
11749
+ } = z, ie = Fr(n, N), Z = Er(n, y), {
11750
+ sidebarWidth: me
11751
+ } = Z, ve = kr(n, _, b, N, z, v, 0, me), {
11756
11752
  onWheel: _e,
11757
11753
  dataGridWidth: Pe,
11758
11754
  viewPortHeight: Le,
11759
11755
  viewPortWidth: U,
11760
11756
  resetScroll: ce,
11761
- updateVisibleRowsOnLatestVisibleScope: G
11762
- } = ve, te = Ir(n, N, u, U, Q), {
11757
+ updateVisibleRowsOnLatestVisibleScope: q
11758
+ } = ve, oe = Mr(n, N, u, U, Q), {
11763
11759
  calculateColumnsSize: be
11764
- } = te, Ee = Or(), Ve = Dr(u, h, _, Ee, ve), rt = Vr(n, t, D, _, Q, g, ve), gt = q(() => ({
11760
+ } = oe, Ee = Ir(), Ve = Or(u, h, _, Ee, ve), rt = Dr(n, t, D, _, Q, g, ve), gt = G(() => ({
11765
11761
  "fv-grid": !0,
11766
11762
  "fv-grid-bordered": n.showBorder,
11767
11763
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
11768
11764
  "fv-datagrid-strip": n.showStripe
11769
- })), ft = q(() => ({
11765
+ })), ft = G(() => ({
11770
11766
  "fv-grid-content": !0,
11771
11767
  "fv-grid-content-hover": p.value,
11772
11768
  "fv-grid-wrap-content": I.value
@@ -11776,24 +11772,24 @@ const Gt = /* @__PURE__ */ Qe({
11776
11772
  renderGridHeader: Se,
11777
11773
  renderGridColumnResizeOverlay: De,
11778
11774
  shouldShowHeader: qe
11779
- } = Pr(n, t, u, d, h, D, _, rt, Ve, m, Ee, te, Q, y, Z, H, ve, U, b), {
11775
+ } = Vr(n, t, u, d, h, D, _, rt, Ve, m, Ee, oe, Q, y, Z, H, ve, U, b), {
11780
11776
  renderDataGridSidebar: Re
11781
- } = Br(n, B, y, Z, ve), {
11777
+ } = Pr(n, B, y, Z, ve), {
11782
11778
  renderDisableMask: lt
11783
- } = Nr(), {
11779
+ } = Br(), {
11784
11780
  renderHorizontalScrollbar: yt
11785
- } = Rr(n, u, ve), {
11781
+ } = Nr(n, u, ve), {
11786
11782
  renderVerticalScrollbar: Ct
11787
- } = Lr(n, u, ve);
11783
+ } = Rr(n, u, ve);
11788
11784
  function pt() {
11789
11785
  var he, xe, et;
11790
11786
  if (u.value && u.value.clientHeight > 0 && ((he = u.value) == null ? void 0 : he.clientWidth) > 0) {
11791
11787
  const Je = Math.ceil(u.value.clientHeight / o);
11792
- Je > r.value && (r.value = Je, G()), Le.value = ((xe = c.value) == null ? void 0 : xe.clientHeight) || 0, Pe.value = ((et = u.value) == null ? void 0 : et.clientWidth) || 0, be();
11788
+ Je > r.value && (r.value = Je, q()), Le.value = ((xe = c.value) == null ? void 0 : xe.clientHeight) || 0, Pe.value = ((et = u.value) == null ? void 0 : et.clientWidth) || 0, be();
11793
11789
  }
11794
11790
  }
11795
11791
  It(() => {
11796
- u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), b.value = K(0, v.value + 0 - 1), eo(u.value, pt), be(), en(() => {
11792
+ u.value && (r.value = Math.max(Math.ceil(u.value.clientHeight / o), r.value), b.value = K(0, v.value + 0 - 1), Zn(u.value, pt), be(), en(() => {
11797
11793
  u.value && (Pe.value = u.value.clientWidth), c.value && (U.value = c.value.clientWidth, Le.value = c.value.clientHeight);
11798
11794
  })), F.value && k();
11799
11795
  }), qt(() => {
@@ -11822,7 +11818,7 @@ const Gt = /* @__PURE__ */ Qe({
11822
11818
  const he = bt(), xe = C.getNextSelectableHierarchyItemId(he);
11823
11819
  _.removeHierarchyDataItem(he), b.value = K(0, v.value + 0 - 1), xe && y.selectItemById(xe);
11824
11820
  }
11825
- function pe(he) {
11821
+ function fe(he) {
11826
11822
  P.onEditingRow(he);
11827
11823
  }
11828
11824
  function ge(he) {
@@ -11840,7 +11836,7 @@ const Gt = /* @__PURE__ */ Qe({
11840
11836
  function X(he) {
11841
11837
  y.selectItemById(he);
11842
11838
  }
11843
- function me(he) {
11839
+ function pe(he) {
11844
11840
  const xe = b.value.find((et) => et.raw[a.idField.value] === he);
11845
11841
  xe && B.clickRowItem(xe);
11846
11842
  }
@@ -11856,9 +11852,9 @@ const Gt = /* @__PURE__ */ Qe({
11856
11852
  function ee() {
11857
11853
  y.clearSelection();
11858
11854
  }
11859
- const oe = q(() => !b.value || !b.value.length), {
11860
- renderEmpty: ne
11861
- } = jr(t);
11855
+ const ne = G(() => !b.value || !b.value.length), {
11856
+ renderEmpty: te
11857
+ } = Lr(t);
11862
11858
  function we() {
11863
11859
  return y.getSelectionRow();
11864
11860
  }
@@ -11913,7 +11909,7 @@ const Gt = /* @__PURE__ */ Qe({
11913
11909
  collapseTo: Ot,
11914
11910
  expandTo: xt,
11915
11911
  removeDataItem: re,
11916
- editDataItem: pe,
11912
+ editDataItem: fe,
11917
11913
  acceptDataItem: ge,
11918
11914
  cancelDataItem: Be,
11919
11915
  updateColumns: ze,
@@ -11923,7 +11919,7 @@ const Gt = /* @__PURE__ */ Qe({
11923
11919
  getSelectedItems: W,
11924
11920
  clearSelection: ee,
11925
11921
  getSelectionRow: we,
11926
- clickRowItemById: me,
11922
+ clickRowItemById: pe,
11927
11923
  unSelectItemByIds: ye,
11928
11924
  getCurrentRowId: Ne,
11929
11925
  reassignRowData: Te,
@@ -11939,7 +11935,7 @@ const Gt = /* @__PURE__ */ Qe({
11939
11935
  class: ft.value,
11940
11936
  onMouseover: () => p.value = !0,
11941
11937
  onMouseleave: () => p.value = !1
11942
- }, [u.value && Re(b), u.value && J(), u.value && oe.value && ne(), u.value && yt(), u.value && Ct()]), De(), T.value && lt()]);
11938
+ }, [u.value && Re(b), u.value && J(), u.value && ne.value && te(), u.value && yt(), u.value && Ct()]), De(), T.value && lt()]);
11943
11939
  }
11944
11940
  });
11945
11941
  function vd(n, t, e, o, r = "data-grid-column") {
@@ -11962,10 +11958,10 @@ function vd(n, t, e, o, r = "data-grid-column") {
11962
11958
  };
11963
11959
  return i.value.headerDepth > 1 && (V["line-height"] = `${T.depth * h}px`), b.set(v + 1, O + (T.actualWidth || d)), V;
11964
11960
  }
11965
- const I = q(() => ({
11961
+ const I = G(() => ({
11966
11962
  "fv-grid-header": !0,
11967
11963
  "fv-grid-header-group-columns": i.value.headerDepth > 1
11968
- })), g = q(() => ({
11964
+ })), g = G(() => ({
11969
11965
  height: `${i.value.headerDepth * h}px`
11970
11966
  })), m = function(T) {
11971
11967
  return t.showSetting && !!T.showSetting;
@@ -12047,7 +12043,7 @@ function vd(n, t, e, o, r = "data-grid-column") {
12047
12043
  renderGridHeader: C
12048
12044
  };
12049
12045
  }
12050
- class gd extends so {
12046
+ class gd extends ao {
12051
12047
  constructor(t, e) {
12052
12048
  super(t, e);
12053
12049
  }
@@ -12255,21 +12251,21 @@ function yd(n, t) {
12255
12251
  };
12256
12252
  }
12257
12253
  function bd(n, t, e, o, r) {
12258
- const { getGridHeaderCells: i } = r, a = 120, s = 50, l = q(() => {
12254
+ const { getGridHeaderCells: i } = r, a = 120, s = 50, l = G(() => {
12259
12255
  var f;
12260
12256
  return ((f = n.rowNumber) == null ? void 0 : f.enable) || !1;
12261
- }), u = q(() => {
12257
+ }), u = G(() => {
12262
12258
  var f, y;
12263
12259
  return ((f = n.selection) == null ? void 0 : f.multiSelect) || ((y = n.selection) == null ? void 0 : y.showCheckbox) || !1;
12264
- }), c = q(
12260
+ }), c = G(
12265
12261
  () => {
12266
12262
  var f;
12267
12263
  return 0 + (l.value ? ((f = n.rowNumber) == null ? void 0 : f.width) || 32 : 0) + (u.value ? s : 0);
12268
12264
  }
12269
- ), d = q(() => {
12265
+ ), d = G(() => {
12270
12266
  var f;
12271
12267
  return (f = n.columnOption) == null ? void 0 : f.fitColumns;
12272
- }), h = q(() => {
12268
+ }), h = G(() => {
12273
12269
  var f;
12274
12270
  return d.value && ((f = n.columnOption) == null ? void 0 : f.fitMode) || "none";
12275
12271
  });
@@ -12421,7 +12417,7 @@ function Cd(n) {
12421
12417
  summaryColumns: []
12422
12418
  };
12423
12419
  }
12424
- const i = S(n.summary), a = q(() => {
12420
+ const i = S(n.summary), a = G(() => {
12425
12421
  const w = i.value;
12426
12422
  return (w == null ? void 0 : w.groupFields) || [];
12427
12423
  });
@@ -12440,7 +12436,7 @@ function Cd(n) {
12440
12436
  return a.value && a.value.reduce((k, _) => (k.set(_, !0), k), F), w.reduce((k, _) => (_.filter = _.filter || wd, _.fixed === "left" ? (o.value.leftColumns.push(_), o.value.leftColumnsMap.set(_.field, _), o.value.leftColumnsWidth += _.actualWidth) : _.fixed === "right" ? (o.value.rightColumns.push(_), o.value.rightColumnsMap.set(_.field, _), o.value.rightColumnsWidth += _.actualWidth) : (o.value.primaryColumns.push(_), o.value.primaryColumnsMap.set(_.field, _), o.value.primaryColumnsWidth += _.actualWidth), F.has(_.field) && o.value.summaryColumns.push(_), k), o), s(), o;
12441
12437
  }
12442
12438
  l(n.columns);
12443
- const u = q(() => o.value.leftColumns.length > 0), c = q(() => o.value.rightColumns.length > 0);
12439
+ const u = G(() => o.value.leftColumns.length > 0), c = G(() => o.value.rightColumns.length > 0);
12444
12440
  function d(w, F) {
12445
12441
  return F.sortable && F.sort && F.sort !== "none" && w.push(F), w;
12446
12442
  }
@@ -12521,13 +12517,13 @@ function xd(n, t, e, o, r, i, a, s) {
12521
12517
  }
12522
12518
  const _d = /* @__PURE__ */ Qe({
12523
12519
  name: "FTreeGridDesign",
12524
- props: fo,
12520
+ props: co,
12525
12521
  emits: [],
12526
12522
  setup(n, t) {
12527
- var te, be;
12528
- const e = S(), o = 0, r = ((te = n.rowOption) == null ? void 0 : te.height) || 28, i = S(20), a = S(n.columns), s = id(n), l = S(), u = S(), c = S([]), d = S(!1), h = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), b = Et("designer-host-service"), p = Et("design-item-context"), I = yd(p, b), g = ro(e, p, I);
12523
+ var oe, be;
12524
+ const e = S(), o = 0, r = ((oe = n.rowOption) == null ? void 0 : oe.height) || 28, i = S(20), a = S(n.columns), s = id(n), l = S(), u = S(), c = S([]), d = S(!1), h = S(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), b = Et("designer-host-service"), p = Et("design-item-context"), I = yd(p, b), g = oo(e, p, I);
12529
12525
  g.value.designerClass = "f-utils-fill-flex-column";
12530
- const m = zc(), x = Yc(n), w = Ss(n, /* @__PURE__ */ new Map(), m, x, s), F = sd(n, w, s, c, t), k = q(() => w.dataView.value.length), {
12526
+ const m = zc(), x = Yc(n), w = Ss(n, /* @__PURE__ */ new Map(), m, x, s), F = sd(n, w, s, c, t), k = G(() => w.dataView.value.length), {
12531
12527
  containerStyleObject: _
12532
12528
  } = bs(n), f = ws(n), {
12533
12529
  applyCommands: y
@@ -12549,14 +12545,14 @@ const _d = /* @__PURE__ */ Qe({
12549
12545
  viewPortHeight: K,
12550
12546
  viewPortWidth: ie,
12551
12547
  updateVisibleRowsOnLatestVisibleScope: Z
12552
- } = A, fe = bd(n, v, l, ie, M), {
12548
+ } = A, me = bd(n, v, l, ie, M), {
12553
12549
  calculateColumnsSize: ve
12554
- } = fe, _e = q(() => ({
12550
+ } = me, _e = G(() => ({
12555
12551
  "drag-container": !0,
12556
12552
  "fv-grid": !0,
12557
12553
  "fv-grid-bordered": n.showBorder,
12558
12554
  "fv-datagrid-strip": n.showStripe
12559
- })), Pe = q(() => ({
12555
+ })), Pe = G(() => ({
12560
12556
  "fv-grid-content": !0,
12561
12557
  "fv-grid-content-hover": d.value,
12562
12558
  "fv-grid-wrap-content": h.value
@@ -12571,15 +12567,15 @@ const _d = /* @__PURE__ */ Qe({
12571
12567
  Ee > i.value && (i.value = Ee, Z()), K.value = ((Ve = u.value) == null ? void 0 : Ve.clientHeight) || 0, z.value = ((rt = l.value) == null ? void 0 : rt.clientWidth) || 0, ve();
12572
12568
  }
12573
12569
  It(() => {
12574
- e.value.componentInstance = g, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / r), i.value), c.value = B(0, k.value + o - 1), eo(l.value, ce), ve(), en(() => {
12570
+ e.value.componentInstance = g, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / r), i.value), c.value = B(0, k.value + o - 1), Zn(l.value, ce), ve(), en(() => {
12575
12571
  l.value && (z.value = l.value.clientWidth), u.value && (ie.value = u.value.clientWidth, K.value = u.value.clientHeight);
12576
12572
  }));
12577
12573
  });
12578
- function G(Ee) {
12574
+ function q(Ee) {
12579
12575
  Ee && (a.value = Ee, y(a), O(a.value), T(w, V), ve());
12580
12576
  }
12581
12577
  return Fe(() => n.columns, (Ee) => {
12582
- G(Ee);
12578
+ q(Ee);
12583
12579
  }), Fe(ie, () => {
12584
12580
  l.value && ve();
12585
12581
  }), t.expose(g.value), () => E("div", {
@@ -12606,8 +12602,8 @@ Gt.register = (n, t, e, o) => {
12606
12602
  Gt.registerDesigner = (n, t, e) => {
12607
12603
  n["tree-grid"] = _d, t["tree-grid"] = us;
12608
12604
  };
12609
- Ur(Gt);
12610
- function Uo(n) {
12605
+ Yr(Gt);
12606
+ function Yo(n) {
12611
12607
  const { designerHostService: t } = n, e = /* @__PURE__ */ new Map(), o = S(), r = S(), i = S([
12612
12608
  { field: "name", title: "字段名称" },
12613
12609
  { field: "bindingField", title: "绑定字段" },
@@ -12692,7 +12688,7 @@ function Uo(n) {
12692
12688
  function Sd(n) {
12693
12689
  const { designerHostService: t } = n, e = /* @__PURE__ */ new Map(), o = S(), r = S(), i = S([{ field: "name", title: "实体名称" }]), a = S(), s = S(!1);
12694
12690
  function l(p) {
12695
- const I = Uo(n);
12691
+ const I = Yo(n);
12696
12692
  return I.resolveFieldDataSource(p), I.hasSelectableField.value ? (a.value = a.value || p, !0) : !1;
12697
12693
  }
12698
12694
  function u(p) {
@@ -12850,7 +12846,7 @@ const Ed = "https://json-schema.org/draft/2020-12/schema", kd = "https://farris-
12850
12846
  description: Nd,
12851
12847
  type: Rd,
12852
12848
  categories: Ld
12853
- }, Xo = {
12849
+ }, Uo = {
12854
12850
  /** 步骤条方向 */
12855
12851
  direction: { type: String, default: "horizontal" },
12856
12852
  /** 是否平铺 */
@@ -12881,18 +12877,18 @@ const Ed = "https://json-schema.org/draft/2020-12/schema", kd = "https://farris-
12881
12877
  onClick: { type: Function, default: () => {
12882
12878
  } }
12883
12879
  };
12884
- jt(Xo, Pd, Td, Fd, jd);
12880
+ jt(Uo, Pd, Td, Fd, jd);
12885
12881
  const $d = /* @__PURE__ */ Qe({
12886
12882
  name: "FStep",
12887
- props: Xo,
12883
+ props: Uo,
12888
12884
  emits: ["click"],
12889
12885
  setup(n, t) {
12890
- const e = S(n.direction), o = S(n.fill), r = S(n.height), i = S(n.steps), a = S(n.clickable), s = S(0), l = S(n.activeIndex), u = q(() => ({
12886
+ const e = S(n.direction), o = S(n.fill), r = S(n.height), i = S(n.steps), a = S(n.clickable), s = S(0), l = S(n.activeIndex), u = G(() => ({
12891
12887
  "f-progress-step-list": e.value === "horizontal",
12892
12888
  "f-progress-step-list-block": e.value === "vertical",
12893
12889
  "f-progress-step-horizontal-fill": e.value === "horizontal" && o.value,
12894
12890
  "f-progress-step-vertical-fill": e.value === "vertical" && o.value
12895
- })), c = q(() => ({
12891
+ })), c = G(() => ({
12896
12892
  height: e.value === "vertical" ? `${r.value}px` : ""
12897
12893
  }));
12898
12894
  function d(_, f) {
@@ -12958,7 +12954,7 @@ const $d = /* @__PURE__ */ Qe({
12958
12954
  function w(_, f) {
12959
12955
  return f !== i.value.length - 1;
12960
12956
  }
12961
- const F = q(() => ({
12957
+ const F = G(() => ({
12962
12958
  triangle: !0,
12963
12959
  "": e.value === "vertical"
12964
12960
  }));
@@ -12999,7 +12995,7 @@ const $d = /* @__PURE__ */ Qe({
12999
12995
  entityTreeRowOption: l,
13000
12996
  initialSelectedEntity: u,
13001
12997
  isMainEntityInitialSelected: c
13002
- } = e, d = Uo(n), {
12998
+ } = e, d = Yo(n), {
13003
12999
  fieldColumns: h,
13004
13000
  resolveFieldDataSource: b,
13005
13001
  fieldDataSource: p,
@@ -13027,7 +13023,7 @@ const $d = /* @__PURE__ */ Qe({
13027
13023
  }, {
13028
13024
  id: "selectFields",
13029
13025
  title: "选择显示字段"
13030
- }]), C = S(0), T = S(""), v = q(() => (P) => ({
13026
+ }]), C = S(0), T = S(""), v = G(() => (P) => ({
13031
13027
  "f-utils-fill": !0,
13032
13028
  border: P !== "selectComponentType",
13033
13029
  "mx-3": !0,
@@ -13607,11 +13603,11 @@ const qd = /* @__PURE__ */ Qe({
13607
13603
  class: "farris-label-text"
13608
13604
  }, [Oe(" 组件标题")])]), E("div", {
13609
13605
  class: "farris-input-wrap"
13610
- }, [Zn(E("input", {
13606
+ }, [Jn(E("input", {
13611
13607
  class: "form-control",
13612
13608
  type: "input",
13613
13609
  "onUpdate:modelValue": (p) => e.value = p
13614
- }, null), [[ar, e.value]])])])])])])]), E("div", {
13610
+ }, null), [[ir, e.value]])])])])])])]), E("div", {
13615
13611
  class: "f-section pl-4 f-utils-fill"
13616
13612
  }, [E("div", {
13617
13613
  class: "f-section-header"
@@ -13621,7 +13617,7 @@ const qd = /* @__PURE__ */ Qe({
13621
13617
  class: "f-title-text"
13622
13618
  }, [Oe(" 组件字段 ")])])]), E("div", {
13623
13619
  class: "f-section-content border f-utils-fill"
13624
- }, [E(to, {
13620
+ }, [E(eo, {
13625
13621
  key: 1,
13626
13622
  ref: o,
13627
13623
  fit: !0,
@@ -13654,7 +13650,7 @@ const qd = /* @__PURE__ */ Qe({
13654
13650
  }, [Oe("确定")])])]);
13655
13651
  }
13656
13652
  });
13657
- function Xn() {
13653
+ function Un() {
13658
13654
  function n() {
13659
13655
  const e = (o) => {
13660
13656
  const r = Math.random() * 16 | 0;
@@ -13738,7 +13734,7 @@ function Xd(n, t) {
13738
13734
  if (H && H.type === "Variable" && H.field === v.id) {
13739
13735
  let R = C.find((N) => N.id === v.id);
13740
13736
  R || (R = Object.assign({}, v, {
13741
- newId: Xn().guid()
13737
+ newId: Un().guid()
13742
13738
  }), C.push(R), a.value.push(v.id)), M[D].field = R.newId;
13743
13739
  }
13744
13740
  });
@@ -13832,7 +13828,7 @@ function Xd(n, t) {
13832
13828
  return;
13833
13829
  const {
13834
13830
  formSchemaUtils: C
13835
- } = t, T = Xn().guid(), v = Object.assign({}, y, {
13831
+ } = t, T = Un().guid(), v = Object.assign({}, y, {
13836
13832
  id: T,
13837
13833
  code: y.code + T.slice(0, 4),
13838
13834
  name: y.name + T.slice(0, 4)
@@ -13905,7 +13901,7 @@ function Xd(n, t) {
13905
13901
  o.value = y.componentTitle, l(C);
13906
13902
  const T = b();
13907
13903
  p(), I(), m(T), w(), (v = e == null ? void 0 : e.modalRef) != null && v.value.close && ((O = e == null ? void 0 : e.modalRef) == null || O.value.close()), Qt.value++, en(() => {
13908
- io();
13904
+ ro();
13909
13905
  });
13910
13906
  }
13911
13907
  function k() {
@@ -14044,7 +14040,7 @@ const Jd = /* @__PURE__ */ Qe({
14044
14040
  name: "FVideoDesign",
14045
14041
  props: En,
14046
14042
  setup(n, t) {
14047
- const e = S(), o = Et("design-item-context"), r = Et("designer-host-service"), i = Qd(o, r), a = ro(e, o, i), {
14043
+ const e = S(), o = Et("design-item-context"), r = Et("designer-host-service"), i = Qd(o, r), a = oo(e, o, i), {
14048
14044
  width: s,
14049
14045
  height: l,
14050
14046
  destory: u
@@ -14072,15 +14068,15 @@ const Jd = /* @__PURE__ */ Qe({
14072
14068
  n.component(pn.name, pn);
14073
14069
  },
14074
14070
  register(n, t, e, o) {
14075
- n.video = pn, t.video = $n;
14071
+ n.video = pn, t.video = jn;
14076
14072
  },
14077
14073
  registerDesigner(n, t, e) {
14078
- n.video = Jd, t.video = $n;
14074
+ n.video = Jd, t.video = jn;
14079
14075
  }
14080
14076
  };
14081
14077
  export {
14082
14078
  pn as FVideo,
14083
14079
  Pp as default,
14084
- $n as propsResolver,
14080
+ jn as propsResolver,
14085
14081
  En as videoProps
14086
14082
  };