@farris/ui-vue 1.7.0-beta.2 → 1.7.1-beta.0

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 (34) hide show
  1. package/components/button-group/index.esm.js +62 -62
  2. package/components/button-group/index.umd.cjs +1 -1
  3. package/components/combo-list/index.esm.js +96 -92
  4. package/components/combo-list/index.umd.cjs +1 -1
  5. package/components/data-view/index.esm.js +823 -823
  6. package/components/data-view/index.umd.cjs +1 -1
  7. package/components/expression-editor/index.esm.js +7 -3
  8. package/components/expression-editor/index.umd.cjs +4 -4
  9. package/components/filter-condition-editor/index.esm.js +434 -430
  10. package/components/filter-condition-editor/index.umd.cjs +5 -5
  11. package/components/order/index.esm.js +7 -3
  12. package/components/order/index.umd.cjs +1 -1
  13. package/components/pagination/index.esm.js +70 -70
  14. package/components/pagination/index.umd.cjs +2 -2
  15. package/components/response-layout-editor/index.esm.js +8 -0
  16. package/components/response-layout-editor/index.umd.cjs +1 -1
  17. package/components/schema-selector/index.esm.js +460 -460
  18. package/components/schema-selector/index.umd.cjs +1 -1
  19. package/components/sort-condition-editor/index.esm.js +571 -567
  20. package/components/sort-condition-editor/index.umd.cjs +5 -5
  21. package/components/switch/index.esm.js +19 -15
  22. package/components/switch/index.umd.cjs +2 -2
  23. package/designer/checkbox-group/index.esm.js +48 -44
  24. package/designer/checkbox-group/index.umd.cjs +1 -1
  25. package/designer/data-grid/index.esm.js +14 -14
  26. package/designer/data-grid/index.umd.cjs +2 -2
  27. package/designer/data-view/index.esm.js +4 -3
  28. package/designer/data-view/index.umd.cjs +2 -2
  29. package/designer/farris-designer.all.esm.js +3 -3
  30. package/designer/farris-designer.all.umd.cjs +1 -1
  31. package/farris.all.esm.js +34 -24
  32. package/farris.all.umd.cjs +25 -25
  33. package/package.json +1 -1
  34. package/types/components.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  var Ia = Object.defineProperty;
2
2
  var Na = (e, t, n) => t in e ? Ia(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ke = (e, t, n) => Na(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as N, defineComponent as ne, createVNode as v, Teleport as En, createApp as an, onUnmounted as St, Fragment as ot, watch as Q, nextTick as Ue, onBeforeMount as Ra, onMounted as ve, Transition as Dn, shallowRef as La, render as Qt, h as Va, cloneVNode as $a, mergeProps as mt, reactive as Ge, createTextVNode as ie, inject as Ce, withDirectives as Pn, vShow as Aa, onUpdated as on, onBeforeUnmount as jn, provide as In, vModelText as za } from "vue";
4
+ import { ref as C, computed as N, defineComponent as ne, createVNode as v, Teleport as En, createApp as an, onUnmounted as St, Fragment as ot, watch as Q, nextTick as Ge, onBeforeMount as Ra, onMounted as ve, Transition as Dn, shallowRef as La, render as Qt, h as Va, cloneVNode as $a, mergeProps as mt, reactive as Ue, createTextVNode as ie, inject as Ce, withDirectives as Pn, vShow as Aa, onUpdated as on, onBeforeUnmount as jn, provide as In, vModelText as za } from "vue";
5
5
  import { cloneDeep as Ve, isPlainObject as bn, isUndefined as Ne, debounce as Nn } from "lodash-es";
6
6
  import { resolveAppearance as Rn, createPropsResolver as ln, getSchemaByTypeForDesigner as Ha } from "../dynamic-resolver/index.esm.js";
7
7
  import { useI18n as Ft } from "vue-i18n";
8
- import { getMaxZIndex as Wa, useThirdComponent as Ln, getCustomClass as Pt, withInstall as Nt, FormSchemaEntityField$Type as Cn, FormSchemaEntityFieldTypeName as wn, useGuid as qa, FormSchemaEntityFieldType$Type as Ga, getCustomStyle as Ua } from "../common/index.esm.js";
8
+ import { getMaxZIndex as Wa, useThirdComponent as Ln, getCustomClass as Pt, withInstall as Nt, FormSchemaEntityField$Type as Cn, FormSchemaEntityFieldTypeName as wn, useGuid as qa, FormSchemaEntityFieldType$Type as Ua, getCustomStyle as Ga } from "../common/index.esm.js";
9
9
  import { LocaleService as rn } from "../locale/index.esm.js";
10
10
  import "../accordion/index.esm.js";
11
11
  import "../avatar/index.esm.js";
@@ -131,7 +131,7 @@ function zn(e, t) {
131
131
  const f = a(r);
132
132
  return Object.keys(f).reduce((d, b) => (Object.prototype.hasOwnProperty.call(m, b) && (d[b] && bn(d[b]) && bn(m[b] || !m[b]) ? Object.assign(d[b], m[b] || {}) : d[b] = m[b]), d), f), f;
133
133
  }
134
- function u(m, r) {
134
+ function s(m, r) {
135
135
  return Object.keys(m).filter((d) => m[d] != null).reduce((d, b) => {
136
136
  if (r.has(b)) {
137
137
  const p = r.get(b);
@@ -146,9 +146,9 @@ function zn(e, t) {
146
146
  return d;
147
147
  }, {});
148
148
  }
149
- function s(m, r, f = /* @__PURE__ */ new Map()) {
149
+ function u(m, r, f = /* @__PURE__ */ new Map()) {
150
150
  const d = i(m, r);
151
- return u(d, f);
151
+ return s(d, f);
152
152
  }
153
153
  function c(m) {
154
154
  var f;
@@ -169,7 +169,7 @@ function zn(e, t) {
169
169
  function g(m) {
170
170
  n = m;
171
171
  }
172
- return { getSchemaByType: l, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: s, mappingSchemaToProps: u, setDesignerContext: g };
172
+ return { getSchemaByType: l, resolveSchemaWithDefaultValue: c, resolveSchemaToProps: u, mappingSchemaToProps: s, setDesignerContext: g };
173
173
  }
174
174
  const Hn = {}, Wn = {}, { getSchemaByType: zd, resolveSchemaWithDefaultValue: Ao, resolveSchemaToProps: zo, mappingSchemaToProps: Ho, setDesignerContext: Hd } = zn(Hn, Wn);
175
175
  function Wo(e = {}) {
@@ -217,23 +217,23 @@ function Wo(e = {}) {
217
217
  }
218
218
  return !1;
219
219
  }
220
- function u(c, g) {
220
+ function s(c, g) {
221
221
  return l(c).reduce((f, d) => f && i(d, g), !0);
222
222
  }
223
- function s(c, g) {
224
- const m = Object.keys(c), r = m.includes("allOf"), f = m.includes("anyOf"), d = r || f, w = (d ? c[d ? r ? "allOf" : "anyOf" : "allOf"] : [c]).map((B) => u(B, g));
223
+ function u(c, g) {
224
+ const m = Object.keys(c), r = m.includes("allOf"), f = m.includes("anyOf"), d = r || f, w = (d ? c[d ? r ? "allOf" : "anyOf" : "allOf"] : [c]).map((B) => s(B, g));
225
225
  return r ? !w.includes(!1) : w.includes(!0);
226
226
  }
227
- return { parseValueSchema: s };
227
+ return { parseValueSchema: u };
228
228
  }
229
229
  const qo = {
230
230
  convertTo: (e, t, n, a) => {
231
231
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
232
232
  },
233
233
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
234
- }, Go = {
235
- convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
236
234
  }, Uo = {
235
+ convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
236
+ }, Go = {
237
237
  convertTo: (e, t, n, a) => {
238
238
  e.editor && (e.editor[t] = n);
239
239
  },
@@ -531,8 +531,8 @@ const qo = {
531
531
  function qn(e, t, n) {
532
532
  const a = /* @__PURE__ */ new Map([
533
533
  ["/converter/appearance.converter", qo],
534
- ["/converter/buttons.converter", Go],
535
- ["/converter/property-editor.converter", Uo],
534
+ ["/converter/buttons.converter", Uo],
535
+ ["/converter/property-editor.converter", Go],
536
536
  ["/converter/items-count.converter", ol],
537
537
  ["/converter/type.converter", _o],
538
538
  ["/converter/change-editor.converter", Yo],
@@ -580,10 +580,10 @@ function qn(e, t, n) {
580
580
  function i(d, b) {
581
581
  return () => l.parseValueSchema(d, b);
582
582
  }
583
- function u(d, b, p) {
583
+ function s(d, b, p) {
584
584
  return d.includes("visible") && b.visible !== void 0 ? typeof b.visible == "boolean" ? () => !!b.visible : b.visible === void 0 ? !0 : i(b.visible, p) : () => !0;
585
585
  }
586
- function s(d, b, p) {
586
+ function u(d, b, p) {
587
587
  return d.includes("readonly") && b.readonly !== void 0 ? typeof b.readonly == "boolean" ? () => !!b.readonly : i(b.readonly, p) : () => !1;
588
588
  }
589
589
  function c(d, b) {
@@ -592,11 +592,11 @@ function qn(e, t, n) {
592
592
  }
593
593
  function g(d, b, p, w, k, B = "", S = "") {
594
594
  return Object.keys(d).map((y) => {
595
- const x = C(1), M = y, D = d[y], P = Object.keys(D), T = D.title, O = D.type, F = o.get(O) || { type: "input-group", enableClear: !1 }, E = D.editor ? Object.assign({}, F, D.editor) : Object.assign({}, F), L = u(P, D, b), A = s(P, D, b);
595
+ const x = C(1), M = y, D = d[y], P = Object.keys(D), T = D.title, O = D.type, F = o.get(O) || { type: "input-group", enableClear: !1 }, E = D.editor ? Object.assign({}, F, D.editor) : Object.assign({}, F), L = s(P, D, b), A = u(P, D, b);
596
596
  E.readonly = E.readonly === void 0 ? A() : E.readonly;
597
597
  const H = D.type === "cascade" ? g(D.properties, b, p, w, k, B, S) : [], R = !0;
598
598
  let j = c(D, S);
599
- const U = N({
599
+ const G = N({
600
600
  get() {
601
601
  if (x.value) {
602
602
  if (["class", "style"].find((de) => de === M) && !j && (j = a.get("/converter/appearance.converter") || null), j && j.convertFrom)
@@ -609,7 +609,7 @@ function qn(e, t, n) {
609
609
  set(le) {
610
610
  x.value += 1, j && j.convertTo ? (j.convertTo(w, y, le, k, B), j.convertTo(p, y, le, k, B)) : (w[y] = le, p[y] = le);
611
611
  }
612
- }), { refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: he } = D, X = { propertyID: M, propertyName: T, propertyType: O, propertyValue: U, editor: E, visible: L, readonly: A, cascadeConfig: H, hideCascadeTitle: R, refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: he };
612
+ }), { refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: he } = D, X = { propertyID: M, propertyName: T, propertyType: O, propertyValue: G, editor: E, visible: L, readonly: A, cascadeConfig: H, hideCascadeTitle: R, refreshPanelAfterChanged: W, description: ee, isExpand: ce, parentPropertyID: he };
613
613
  return b[M] = X, X;
614
614
  });
615
615
  }
@@ -655,16 +655,16 @@ function qn(e, t, n) {
655
655
  propertyConverterMap: a
656
656
  };
657
657
  }
658
- const Gn = {}, Un = {};
659
- qn(Gn, Un, Ao);
660
- const _n = {}, Yn = {}, { getSchemaByType: Wd, resolveSchemaWithDefaultValue: fl, resolveSchemaToProps: qd, mappingSchemaToProps: Gd, setDesignerContext: Ud } = zn(_n, Yn), Xn = {}, Jn = {};
658
+ const Un = {}, Gn = {};
659
+ qn(Un, Gn, Ao);
660
+ const _n = {}, Yn = {}, { getSchemaByType: Wd, resolveSchemaWithDefaultValue: fl, resolveSchemaToProps: qd, mappingSchemaToProps: Ud, setDesignerContext: Gd } = zn(_n, Yn), Xn = {}, Jn = {};
661
661
  qn(Xn, Jn, fl);
662
- function Pe(e, t, n = /* @__PURE__ */ new Map(), a = (i, u, s, c) => u, o = {}, l = (i) => i) {
663
- return Hn[t.title] = t, Wn[t.title] = a, Gn[t.title] = o, Un[t.title] = l, _n[t.title] = t, Yn[t.title] = a, Xn[t.title] = o, Jn[t.title] = l, (i = {}, u = !0) => {
664
- if (!u)
662
+ function Pe(e, t, n = /* @__PURE__ */ new Map(), a = (i, s, u, c) => s, o = {}, l = (i) => i) {
663
+ return Hn[t.title] = t, Wn[t.title] = a, Un[t.title] = o, Gn[t.title] = l, _n[t.title] = t, Yn[t.title] = a, Xn[t.title] = o, Jn[t.title] = l, (i = {}, s = !0) => {
664
+ if (!s)
665
665
  return Ho(i, n);
666
- const s = zo(i, t, n), c = Object.keys(e).reduce((g, m) => (g[m] = e[m].default, g), {});
667
- return Object.assign(c, s);
666
+ const u = zo(i, t, n), c = Object.keys(e).reduce((g, m) => (g[m] = e[m].default, g), {});
667
+ return Object.assign(c, u);
668
668
  };
669
669
  }
670
670
  function Rt(e, t) {
@@ -910,17 +910,17 @@ const pl = "https://json-schema.org/draft/2020-12/schema", ml = "https://farris-
910
910
  backgroundColor: e.backgroundColor || "",
911
911
  pointerEvents: "auto"
912
912
  }));
913
- function l(u) {
914
- t.emit("click"), u.preventDefault(), u.stopPropagation();
913
+ function l(s) {
914
+ t.emit("click"), s.preventDefault(), s.stopPropagation();
915
915
  }
916
916
  N(() => {
917
- const u = a.value;
918
- if (u) {
919
- const s = u.getBoundingClientRect(), {
917
+ const s = a.value;
918
+ if (s) {
919
+ const u = s.getBoundingClientRect(), {
920
920
  left: c,
921
921
  top: g,
922
922
  height: m
923
- } = s;
923
+ } = u;
924
924
  return {
925
925
  left: c,
926
926
  top: g + m
@@ -937,14 +937,14 @@ const pl = "https://json-schema.org/draft/2020-12/schema", ml = "https://farris-
937
937
  to: "body"
938
938
  }, {
939
939
  default: () => {
940
- var u, s;
940
+ var s, u;
941
941
  return [v("div", {
942
942
  class: "overlay-container",
943
943
  onClick: (c) => l(c),
944
944
  style: o.value
945
945
  }, [v("div", {
946
946
  style: i.value
947
- }, [(s = (u = t.slots).default) == null ? void 0 : s.call(u)])])];
947
+ }, [(u = (s = t.slots).default) == null ? void 0 : u.call(s)])])];
948
948
  }
949
949
  });
950
950
  }
@@ -1288,19 +1288,19 @@ class nt {
1288
1288
  }
1289
1289
  }
1290
1290
  function zl(e, t) {
1291
- const n = C(), a = C(), o = C(), l = C(), i = C(), u = C(), s = C(), c = C(), g = C(), m = C(), r = C(), f = C(e.resizeable), d = C(), b = C(e.draggable), p = C(!1);
1291
+ const n = C(), a = C(), o = C(), l = C(), i = C(), s = C(), u = C(), c = C(), g = C(), m = C(), r = C(), f = C(e.resizeable), d = C(), b = C(e.draggable), p = C(!1);
1292
1292
  function w() {
1293
1293
  const R = a.value || document.body, j = window.getComputedStyle(R);
1294
1294
  if (!j || !n.value)
1295
1295
  return;
1296
- const U = re.getTransformInfo(n.value), W = {};
1297
- s.value && (W.deltaL = n.value.offsetLeft - s.value.x, W.deltaT = n.value.offsetTop - s.value.y);
1296
+ const G = re.getTransformInfo(n.value), W = {};
1297
+ u.value && (W.deltaL = n.value.offsetLeft - u.value.x, W.deltaT = n.value.offsetTop - u.value.y);
1298
1298
  const ee = j.getPropertyValue("position");
1299
- W.width = R.clientWidth, W.height = R.clientHeight, W.pr = parseInt(j.getPropertyValue("padding-right"), 10), W.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), W.position = j.getPropertyValue("position"), ee === "static" && (R.style.position = "relative"), W.translateX = U.x, W.translateY = U.y, m.value = W;
1299
+ W.width = R.clientWidth, W.height = R.clientHeight, W.pr = parseInt(j.getPropertyValue("padding-right"), 10), W.pb = parseInt(j.getPropertyValue("padding-bottom"), 10), W.position = j.getPropertyValue("position"), ee === "static" && (R.style.position = "relative"), W.translateX = G.x, W.translateY = G.y, m.value = W;
1300
1300
  }
1301
1301
  function k(R) {
1302
1302
  if (n.value) {
1303
- l.value = nt.getCurrent(n.value), i.value = re.getCurrent(n.value), u.value = l.value ? nt.copy(l.value) : null, s.value = i.value ? re.copy(i.value) : null, w();
1303
+ l.value = nt.getCurrent(n.value), i.value = re.getCurrent(n.value), s.value = l.value ? nt.copy(l.value) : null, u.value = i.value ? re.copy(i.value) : null, w();
1304
1304
  const j = R.target.getAttribute("type") || "";
1305
1305
  c.value = {
1306
1306
  n: !!j.match(/n/),
@@ -1311,22 +1311,22 @@ function zl(e, t) {
1311
1311
  }
1312
1312
  }
1313
1313
  function B() {
1314
- var R, j, U, W;
1314
+ var R, j, G, W;
1315
1315
  if (n.value) {
1316
1316
  const ee = n.value;
1317
- c.value && ((c.value.n || c.value.s) && ((R = u.value) != null && R.height) && (ee.style.height = u.value.height + "px"), (c.value.w || c.value.e) && ((j = u.value) != null && j.width) && (ee.style.width = u.value.width + "px"), s.value && ((U = s.value) != null && U.x && (ee.style.left = s.value.x + "px"), (W = s.value) != null && W.y && (ee.style.top = s.value.y + "px")));
1317
+ c.value && ((c.value.n || c.value.s) && ((R = s.value) != null && R.height) && (ee.style.height = s.value.height + "px"), (c.value.w || c.value.e) && ((j = s.value) != null && j.width) && (ee.style.width = s.value.width + "px"), u.value && ((G = u.value) != null && G.x && (ee.style.left = u.value.x + "px"), (W = u.value) != null && W.y && (ee.style.top = u.value.y + "px")));
1318
1318
  }
1319
1319
  }
1320
1320
  function S() {
1321
1321
  const R = e.minHeight ? e.minHeight : 1, j = e.minWidth ? e.minWidth : 1;
1322
- u.value && s.value && c.value && l.value && (u.value.height < R && (u.value.height = R, c.value.n && i.value && (s.value.y = i.value.y + (l.value.height - R))), u.value.width < j && (u.value.width = j, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - j))), e.maxHeight && u.value.height > e.maxHeight && (u.value.height = e.maxHeight, i.value && c.value.n && (s.value.y = i.value.y + (l.value.height - e.maxHeight))), e.maxWidth && u.value.width > e.maxWidth && (u.value.width = e.maxWidth, c.value.w && i.value && (s.value.x = i.value.x + (l.value.width - e.maxWidth))));
1322
+ s.value && u.value && c.value && l.value && (s.value.height < R && (s.value.height = R, c.value.n && i.value && (u.value.y = i.value.y + (l.value.height - R))), s.value.width < j && (s.value.width = j, c.value.w && i.value && (u.value.x = i.value.x + (l.value.width - j))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, i.value && c.value.n && (u.value.y = i.value.y + (l.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, c.value.w && i.value && (u.value.x = i.value.x + (l.value.width - e.maxWidth))));
1323
1323
  }
1324
1324
  function h() {
1325
1325
  if (a.value) {
1326
1326
  const R = m.value;
1327
- if (s.value && u.value && c.value && l.value) {
1328
- const j = R.width - R.pr - R.deltaL - R.translateX - s.value.x, U = R.height - R.pb - R.deltaT - R.translateY - s.value.y;
1329
- c.value.n && s.value.y + R.translateY < 0 && i.value && (s.value.y = -R.translateY, u.value.height = l.value.height + i.value.y + R.translateY), c.value.w && s.value.x + R.translateX < 0 && i.value && (s.value.x = -R.translateX, u.value.width = l.value.width + i.value.x + R.translateX), u.value.width > j && (u.value.width = j), u.value.height > U && (u.value.height = U);
1327
+ if (u.value && s.value && c.value && l.value) {
1328
+ const j = R.width - R.pr - R.deltaL - R.translateX - u.value.x, G = R.height - R.pb - R.deltaT - R.translateY - u.value.y;
1329
+ c.value.n && u.value.y + R.translateY < 0 && i.value && (u.value.y = -R.translateY, s.value.height = l.value.height + i.value.y + R.translateY), c.value.w && u.value.x + R.translateX < 0 && i.value && (u.value.x = -R.translateX, s.value.width = l.value.width + i.value.x + R.translateX), s.value.width > j && (s.value.width = j), s.value.height > G && (s.value.height = G);
1330
1330
  }
1331
1331
  }
1332
1332
  }
@@ -1334,8 +1334,8 @@ function zl(e, t) {
1334
1334
  if (!o.value || !l.value || !i.value || !c.value)
1335
1335
  return;
1336
1336
  R.subtract(o.value);
1337
- const j = R.x, U = R.y;
1338
- c.value.n ? (s.value.y = i.value.y + U, u.value.height = l.value.height - U) : c.value.s && (u.value.height = l.value.height + U), c.value.e ? u.value.width = l.value.width + j : c.value.w && (u.value.width = l.value.width - j, s.value.x = i.value.x + j), h(), S(), B();
1337
+ const j = R.x, G = R.y;
1338
+ c.value.n ? (u.value.y = i.value.y + G, s.value.height = l.value.height - G) : c.value.s && (s.value.height = l.value.height + G), c.value.e ? s.value.width = l.value.width + j : c.value.w && (s.value.width = l.value.width - j, u.value.x = i.value.x + j), h(), S(), B();
1339
1339
  }
1340
1340
  function x(R) {
1341
1341
  if (!g.value)
@@ -1348,7 +1348,7 @@ function zl(e, t) {
1348
1348
  const {
1349
1349
  width: R,
1350
1350
  height: j,
1351
- x: U,
1351
+ x: G,
1352
1352
  y: W
1353
1353
  } = n.value.getBoundingClientRect(), ee = re.getTransformInfo(n.value);
1354
1354
  return {
@@ -1357,7 +1357,7 @@ function zl(e, t) {
1357
1357
  height: j
1358
1358
  },
1359
1359
  position: {
1360
- x: U - ee.x,
1360
+ x: G - ee.x,
1361
1361
  y: W - ee.y
1362
1362
  }
1363
1363
  };
@@ -1369,7 +1369,7 @@ function zl(e, t) {
1369
1369
  const j = M();
1370
1370
  r.value = j;
1371
1371
  }
1372
- o.value = void 0, l.value = null, i.value = null, u.value = null, s.value = null, c.value = null, g.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", D);
1372
+ o.value = void 0, l.value = null, i.value = null, s.value = null, u.value = null, c.value = null, g.value = null, document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", D);
1373
1373
  }
1374
1374
  function P() {
1375
1375
  document.addEventListener("mousemove", x), document.addEventListener("mouseup", D);
@@ -1414,9 +1414,9 @@ function zl(e, t) {
1414
1414
  }
1415
1415
  function F(R = !0) {
1416
1416
  document.body.click();
1417
- const j = a.value || document.body, U = nt.getCurrent(j), W = n.value;
1418
- R && W && (d.value = M(), d.value.transform = W.style.transform), U && W && (u.value = U, u.value.height -= 14, u.value.width -= 14, W.style.height = u.value.height + "px", W.style.width = u.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", r.value = {
1419
- size: u.value,
1417
+ const j = a.value || document.body, G = nt.getCurrent(j), W = n.value;
1418
+ R && W && (d.value = M(), d.value.transform = W.style.transform), G && W && (s.value = G, s.value.height -= 14, s.value.width -= 14, W.style.height = s.value.height + "px", W.style.width = s.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", r.value = {
1419
+ size: s.value,
1420
1420
  position: {
1421
1421
  x: 0,
1422
1422
  y: 0
@@ -1426,17 +1426,17 @@ function zl(e, t) {
1426
1426
  function E() {
1427
1427
  var R, j;
1428
1428
  if (document.body.click(), d.value) {
1429
- const U = {
1429
+ const G = {
1430
1430
  width: d.value.size.width || 0,
1431
1431
  height: d.value.size.height || 0
1432
1432
  }, W = {
1433
- x: (window.innerWidth - U.width) / 2,
1434
- y: (window.innerHeight - U.height) / 2
1433
+ x: (window.innerWidth - G.width) / 2,
1434
+ y: (window.innerHeight - G.height) / 2
1435
1435
  };
1436
- (R = u.value) == null || R.set(U), (j = s.value) == null || j.set(W);
1436
+ (R = s.value) == null || R.set(G), (j = u.value) == null || j.set(W);
1437
1437
  const ee = n.value;
1438
- ee.style.height = U.height + "px", ee.style.width = U.width + "px", ee.style.left = `${W.x}px`, ee.style.top = `${W.y}px`, ee.style.transform = "", r.value = {
1439
- size: U,
1438
+ ee.style.height = G.height + "px", ee.style.width = G.width + "px", ee.style.left = `${W.x}px`, ee.style.top = `${W.y}px`, ee.style.transform = "", r.value = {
1439
+ size: G,
1440
1440
  position: W
1441
1441
  }, b.value = e.draggable, p.value = !1;
1442
1442
  }
@@ -1447,9 +1447,9 @@ function zl(e, t) {
1447
1447
  if (R) {
1448
1448
  const {
1449
1449
  width: j,
1450
- height: U
1450
+ height: G
1451
1451
  } = R;
1452
- n.value.style.left = `${(window.innerWidth - j) / 2}px`, n.value.style.top = `${(window.innerHeight - U) / 2}px`, n.value.style.transform = "";
1452
+ n.value.style.left = `${(window.innerWidth - j) / 2}px`, n.value.style.top = `${(window.innerHeight - G) / 2}px`, n.value.style.transform = "";
1453
1453
  }
1454
1454
  }
1455
1455
  }
@@ -1475,7 +1475,7 @@ function zl(e, t) {
1475
1475
  };
1476
1476
  }
1477
1477
  function Hl(e, t, n) {
1478
- const a = C(), o = C(e.draggable), l = C(e.lockAxis), i = C(), u = C(), s = C(!1), c = C(new re(0, 0)), g = C(new re(0, 0)), m = C(new re(0, 0)), r = C(new re(0, 0));
1478
+ const a = C(), o = C(e.draggable), l = C(e.lockAxis), i = C(), s = C(), u = C(!1), c = C(new re(0, 0)), g = C(new re(0, 0)), m = C(new re(0, 0)), r = C(new re(0, 0));
1479
1479
  Q(() => n.value, (x) => {
1480
1480
  i.value.style.cursor = x ? "move" : "default";
1481
1481
  });
@@ -1497,9 +1497,9 @@ function Hl(e, t, n) {
1497
1497
  a.value && (a.value.style.transform = D), r.value.x = x, r.value.y = M;
1498
1498
  }
1499
1499
  function b() {
1500
- if (!u.value || !a.value)
1500
+ if (!s.value || !a.value)
1501
1501
  return null;
1502
- const x = u.value.getBoundingClientRect(), M = a.value.getBoundingClientRect(), D = {
1502
+ const x = s.value.getBoundingClientRect(), M = a.value.getBoundingClientRect(), D = {
1503
1503
  top: x.top < M.top,
1504
1504
  right: x.right > M.right,
1505
1505
  bottom: x.bottom > M.bottom,
@@ -1511,14 +1511,14 @@ function Hl(e, t, n) {
1511
1511
  x && (c.value && x.subtract(c.value), m.value.set(x), d(), b());
1512
1512
  }
1513
1513
  function w(x) {
1514
- s.value && o.value && (x.stopPropagation(), x.preventDefault(), p(re.fromEvent(x, i.value)));
1514
+ u.value && o.value && (x.stopPropagation(), x.preventDefault(), p(re.fromEvent(x, i.value)));
1515
1515
  }
1516
1516
  function k() {
1517
1517
  var x;
1518
- s.value && (s.value = !1, g.value.add(m.value), m.value.reset(), (x = a.value) == null || x.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k));
1518
+ u.value && (u.value = !1, g.value.add(m.value), m.value.reset(), (x = a.value) == null || x.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k));
1519
1519
  }
1520
1520
  function B() {
1521
- !s.value && i.value && (s.value = !0, i.value.classList.add("ng-dragging"), document.addEventListener("mousemove", w), document.addEventListener("mouseup", k));
1521
+ !u.value && i.value && (u.value = !0, i.value.classList.add("ng-dragging"), document.addEventListener("mousemove", w), document.addEventListener("mouseup", k));
1522
1522
  }
1523
1523
  function S() {
1524
1524
  if (a.value) {
@@ -1546,7 +1546,7 @@ function Hl(e, t, n) {
1546
1546
  P && (i.value = P);
1547
1547
  }
1548
1548
  }
1549
- a.value = M, u.value = D, i.value ? (i.value.classList.add("ng-draggable"), i.value.addEventListener("mousedown", h)) : o.value = !1;
1549
+ a.value = M, s.value = D, i.value ? (i.value.classList.add("ng-draggable"), i.value.addEventListener("mousedown", h)) : o.value = !1;
1550
1550
  }
1551
1551
  }
1552
1552
  return {
@@ -1587,7 +1587,7 @@ const at = /* @__PURE__ */ ne({
1587
1587
  props: Zn,
1588
1588
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
1589
1589
  setup(e, t) {
1590
- const n = C(e.width || 300), a = C(e.height || 200), o = C(e.modelValue), l = C(""), i = C(e.class), u = C(e.fitContent), s = C(e.showHeader), c = C(""), g = C(e.showCloseButton), m = C(e.showMaxButton), r = C(!1), f = C(e.dialogType), d = C(e.src), b = C(""), p = C(e.showButtons), w = C(e.title), k = C(e.containment || null), B = C(), {
1590
+ const n = C(e.width || 300), a = C(e.height || 200), o = C(e.modelValue), l = C(""), i = C(e.class), s = C(e.fitContent), u = C(e.showHeader), c = C(""), g = C(e.showCloseButton), m = C(e.showMaxButton), r = C(!1), f = C(e.dialogType), d = C(e.src), b = C(""), p = C(e.showButtons), w = C(e.title), k = C(e.containment || null), B = C(), {
1591
1591
  t: S
1592
1592
  } = Ft();
1593
1593
  w.value === "错误提示" && (w.value = S("messageBox.errorTitle"));
@@ -1624,7 +1624,7 @@ const at = /* @__PURE__ */ ne({
1624
1624
  boundingElement: H,
1625
1625
  resizedEventParam: R,
1626
1626
  allowDrag: j,
1627
- unWindowResizeHandle: U,
1627
+ unWindowResizeHandle: G,
1628
1628
  moveToCenter: W
1629
1629
  } = zl(e), {
1630
1630
  registerDraggle: ee
@@ -1639,11 +1639,11 @@ const at = /* @__PURE__ */ ne({
1639
1639
  Q(() => e.title, ($, Z) => {
1640
1640
  $ !== Z && (w.value = $);
1641
1641
  }), Q(() => e.modelValue, ($, Z) => {
1642
- $ !== Z && (o.value = $, o.value && e.draggable && Ue(() => {
1642
+ $ !== Z && (o.value = $, o.value && e.draggable && Ge(() => {
1643
1643
  O.value && !k.value && (k.value = O.value.parentElement, H.value = k.value, ee(T.value, O.value, H.value), W());
1644
1644
  }), $ || (k.value && (k.value = null), he())), o.value ? h.value = ce() : (F.value = !1, j.value = e.draggable);
1645
1645
  }), Q(() => e.showHeader, ($, Z) => {
1646
- $ !== Z && (s.value = $);
1646
+ $ !== Z && (u.value = $);
1647
1647
  }), Q(() => e.showButtons, ($, Z) => {
1648
1648
  $ !== Z && (p.value = $);
1649
1649
  }), Q(() => R.value, ($, Z) => {
@@ -1661,7 +1661,7 @@ const at = /* @__PURE__ */ ne({
1661
1661
  "farris-modal": !0,
1662
1662
  fade: !0
1663
1663
  };
1664
- $["f-modal-fitContent"] = !!u.value, $.show = !!X.value;
1664
+ $["f-modal-fitContent"] = !!s.value, $.show = !!X.value;
1665
1665
  const Z = (ue = e.maskClass) == null ? void 0 : ue.split(" ");
1666
1666
  return Z == null || Z.reduce((fe, Ie) => (fe[Ie] = !0, fe), $), $;
1667
1667
  }), de = N(() => {
@@ -1676,7 +1676,7 @@ const at = /* @__PURE__ */ ne({
1676
1676
  top: `${(window.innerHeight - a.value) / 2}px`,
1677
1677
  left: `${(window.innerWidth - n.value) / 2}px`,
1678
1678
  width: `${n.value}px`,
1679
- height: u.value ? "auto" : `${a.value}px`
1679
+ height: s.value ? "auto" : `${a.value}px`
1680
1680
  };
1681
1681
  return e.mask || ($.pointerEvents = "auto"), $;
1682
1682
  }), _ = () => Wa() || 1040, oe = N(() => {
@@ -1687,10 +1687,10 @@ const at = /* @__PURE__ */ ne({
1687
1687
  return e.mask || ($.pointerEvents = "none", $.backgroundColor = "transparent"), h.value && ($.backgroundColor = "transparent"), $;
1688
1688
  }), Xe = N(() => ({
1689
1689
  "modal-content": !0,
1690
- "modal-content-has-header": s.value
1690
+ "modal-content-has-header": u.value
1691
1691
  })), $e = N(() => {
1692
1692
  const $ = {
1693
- display: s.value ? "" : "none"
1693
+ display: u.value ? "" : "none"
1694
1694
  };
1695
1695
  return $["pointer-events"] = j.value ? "auto" : "none", $;
1696
1696
  }), Oe = N(() => ({
@@ -1732,7 +1732,7 @@ const at = /* @__PURE__ */ ne({
1732
1732
  }), ve(() => {
1733
1733
  O.value && !k.value && (k.value = O.value.parentElement, H.value = k.value, ee(T.value, O.value, H.value)), X.value && document.body.classList.add("modal-open"), ze = Wl(e, t), Be = ql(e, t);
1734
1734
  }), St(() => {
1735
- U && U(), ze && ze.remove(), Be && Be.remove();
1735
+ G && G(), ze && ze.remove(), Be && Be.remove();
1736
1736
  }), t.expose({
1737
1737
  modalElementRef: O,
1738
1738
  updateModalOptions: Ae,
@@ -1813,7 +1813,7 @@ const at = /* @__PURE__ */ ne({
1813
1813
  ref: O
1814
1814
  }, [v("div", {
1815
1815
  class: Xe.value
1816
- }, [s.value && Qe(), v("div", {
1816
+ }, [u.value && Qe(), v("div", {
1817
1817
  class: it.value
1818
1818
  }, [(Z = ($ = t.slots).default) == null ? void 0 : Z.call($), f.value === "iframe" && v("iframe", {
1819
1819
  title: l.value,
@@ -1821,7 +1821,7 @@ const at = /* @__PURE__ */ ne({
1821
1821
  width: "100%",
1822
1822
  frameborder: "0",
1823
1823
  src: d.value
1824
- }, null)]), je()]), !u.value && O.value && !F.value && E(O.value)]);
1824
+ }, null)]), je()]), !s.value && O.value && !F.value && E(O.value)]);
1825
1825
  }
1826
1826
  function ut($) {
1827
1827
  return $ || "body";
@@ -1849,7 +1849,7 @@ function ea(e) {
1849
1849
  if (e.render && typeof e.render == "function")
1850
1850
  return e.render;
1851
1851
  }
1852
- function Gl(e) {
1852
+ function Ul(e) {
1853
1853
  const t = document.createElement("div");
1854
1854
  t.style.display = "contents";
1855
1855
  const n = an({
@@ -1857,7 +1857,7 @@ function Gl(e) {
1857
1857
  St(() => {
1858
1858
  document.body.removeChild(t);
1859
1859
  });
1860
- const l = C(), i = C(e.class || ""), u = C(!!e.showButtons), s = C(!!e.showHeader), c = C(e.showCloseButton == null ? !0 : e.showCloseButton), g = C(!0), m = C(e.title || ""), r = e.acceptCallback || (() => {
1860
+ const l = C(), i = C(e.class || ""), s = C(!!e.showButtons), u = C(!!e.showHeader), c = C(e.showCloseButton == null ? !0 : e.showCloseButton), g = C(!0), m = C(e.title || ""), r = e.acceptCallback || (() => {
1861
1861
  }), f = e.rejectCallback || (() => {
1862
1862
  }), d = e.closedCallback || ((B) => {
1863
1863
  }), b = e.resizeHandle || ((B) => {
@@ -1877,8 +1877,8 @@ function Gl(e) {
1877
1877
  width: e.width,
1878
1878
  height: e.height,
1879
1879
  buttons: e.buttons,
1880
- "show-header": s.value,
1881
- "show-buttons": u.value,
1880
+ "show-header": u.value,
1881
+ "show-buttons": s.value,
1882
1882
  "show-close-button": c.value,
1883
1883
  "show-max-button": !1,
1884
1884
  onAccept: r,
@@ -1926,7 +1926,7 @@ class ta {
1926
1926
  showButtons: !0,
1927
1927
  showHeader: !0
1928
1928
  }, t);
1929
- return Gl(n);
1929
+ return Ul(n);
1930
1930
  }
1931
1931
  close(t) {
1932
1932
  var n, a;
@@ -1941,8 +1941,8 @@ class ta {
1941
1941
  showHeader: !0
1942
1942
  }, t)), o = C(!0), l = a.value.acceptCallback || (() => {
1943
1943
  }), i = a.value.rejectCallback || (() => {
1944
- }), u = a.value.closedCallback || ((h, y) => {
1945
- }), s = a.value.resizeHandle || ((h) => {
1944
+ }), s = a.value.closedCallback || ((h, y) => {
1945
+ }), u = a.value.resizeHandle || ((h) => {
1946
1946
  }), c = t.stopMoveHandle || ((h) => {
1947
1947
  });
1948
1948
  let g;
@@ -1950,9 +1950,9 @@ class ta {
1950
1950
  var x;
1951
1951
  o.value = !1;
1952
1952
  const y = (x = h == null ? void 0 : h.target) == null ? void 0 : x.classList.contains("modal_close");
1953
- u(h, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
1953
+ s(h, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
1954
1954
  }, f = (h) => {
1955
- r(h), g && Ue(() => {
1955
+ r(h), g && Ge(() => {
1956
1956
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Qt(null, n), g = null, this.modalRef.value = null, this.modalRefs) {
1957
1957
  const y = Object.keys(this.modalRefs).map((x) => Number(x));
1958
1958
  y.length > 0 ? this.activeModalIndex.value = Math.max(...y) : this.activeModalIndex.value = 0;
@@ -1975,7 +1975,7 @@ class ta {
1975
1975
  onAccept: l,
1976
1976
  onCancel: i,
1977
1977
  onClosed: f,
1978
- onResize: s,
1978
+ onResize: u,
1979
1979
  onEsc: d,
1980
1980
  onStopMove: c
1981
1981
  }), {
@@ -2004,7 +2004,7 @@ class ta {
2004
2004
  }
2005
2005
  const sn = /* @__PURE__ */ new Map([
2006
2006
  ["appearance", Rt]
2007
- ]), Ul = /* @__PURE__ */ new Map([]), _l = "https://json-schema.org/draft/2020-12/schema", Yl = "https://farris-design.gitee.io/form-group.schema.json", Xl = "form-group", Jl = "A Farris Input Component", Ql = "object", Zl = {
2007
+ ]), Gl = /* @__PURE__ */ new Map([]), _l = "https://json-schema.org/draft/2020-12/schema", Yl = "https://farris-design.gitee.io/form-group.schema.json", Xl = "form-group", Jl = "A Farris Input Component", Ql = "object", Zl = {
2008
2008
  id: {
2009
2009
  description: "The unique identifier for a form group",
2010
2010
  type: "string"
@@ -2226,7 +2226,7 @@ var ti = { exports: {} };
2226
2226
  if (!a[c]) {
2227
2227
  var m = typeof Bt == "function" && Bt;
2228
2228
  if (!g && m) return m(c, !0);
2229
- if (u) return u(c, !0);
2229
+ if (s) return s(c, !0);
2230
2230
  var r = new Error("Cannot find module '" + c + "'");
2231
2231
  throw r.code = "MODULE_NOT_FOUND", r;
2232
2232
  }
@@ -2238,23 +2238,23 @@ var ti = { exports: {} };
2238
2238
  }
2239
2239
  return o[c].exports;
2240
2240
  }
2241
- for (var u = typeof Bt == "function" && Bt, s = 0; s < l.length; s++) i(l[s]);
2241
+ for (var s = typeof Bt == "function" && Bt, u = 0; u < l.length; u++) i(l[u]);
2242
2242
  return i;
2243
2243
  }
2244
2244
  return n;
2245
2245
  }())({
2246
2246
  1: [function(n, a, o) {
2247
- var l = {}, i = "(?:^|\\s)", u = "(?:\\s|$)";
2248
- function s(m) {
2247
+ var l = {}, i = "(?:^|\\s)", s = "(?:\\s|$)";
2248
+ function u(m) {
2249
2249
  var r = l[m];
2250
- return r ? r.lastIndex = 0 : l[m] = r = new RegExp(i + m + u, "g"), r;
2250
+ return r ? r.lastIndex = 0 : l[m] = r = new RegExp(i + m + s, "g"), r;
2251
2251
  }
2252
2252
  function c(m, r) {
2253
2253
  var f = m.className;
2254
- f.length ? s(r).test(f) || (m.className += " " + r) : m.className = r;
2254
+ f.length ? u(r).test(f) || (m.className += " " + r) : m.className = r;
2255
2255
  }
2256
2256
  function g(m, r) {
2257
- m.className = m.className.replace(s(r), " ").trim();
2257
+ m.className = m.className.replace(u(r), " ").trim();
2258
2258
  }
2259
2259
  a.exports = {
2260
2260
  add: c,
@@ -2263,11 +2263,11 @@ var ti = { exports: {} };
2263
2263
  }, {}],
2264
2264
  2: [function(n, a, o) {
2265
2265
  (function(l) {
2266
- var i = n("contra/emitter"), u = n("crossvent"), s = n("./classes"), c = document, g = c.documentElement;
2266
+ var i = n("contra/emitter"), s = n("crossvent"), u = n("./classes"), c = document, g = c.documentElement;
2267
2267
  function m(T, O) {
2268
2268
  var F = arguments.length;
2269
2269
  F === 1 && Array.isArray(T) === !1 && (O = T, T = []);
2270
- var E, L, A, H, R, j, U, W, ee, ce = null, he, X, le = !1, de = 0, ae, _ = O || {};
2270
+ var E, L, A, H, R, j, G, W, ee, ce = null, he, X, le = !1, de = 0, ae, _ = O || {};
2271
2271
  _.moves === void 0 && (_.moves = k), _.accepts === void 0 && (_.accepts = k), _.invalid === void 0 && (_.invalid = vt), _.containers === void 0 && (_.containers = T || []), _.isContainer === void 0 && (_.isContainer = w), _.copy === void 0 && (_.copy = !1), _.copySortSource === void 0 && (_.copySortSource = !1), _.revertOnSpill === void 0 && (_.revertOnSpill = !1), _.removeOnSpill === void 0 && (_.removeOnSpill = !1), _.direction === void 0 && (_.direction = "vertical"), _.ignoreInputTextSelection === void 0 && (_.ignoreInputTextSelection = !0), _.mirrorContainer === void 0 && (_.mirrorContainer = c.body);
2272
2272
  var oe = i({
2273
2273
  containers: _.containers,
@@ -2293,7 +2293,7 @@ var ti = { exports: {} };
2293
2293
  }
2294
2294
  function it(I) {
2295
2295
  var z = I ? "remove" : "add";
2296
- u[z](g, "selectstart", rt), u[z](g, "click", rt);
2296
+ s[z](g, "selectstart", rt), s[z](g, "click", rt);
2297
2297
  }
2298
2298
  function Je() {
2299
2299
  $e(!0), We({});
@@ -2322,7 +2322,7 @@ var ti = { exports: {} };
2322
2322
  return;
2323
2323
  }
2324
2324
  var K = he;
2325
- Oe(!0), it(), Qe(), He(K), s.add(W || A, "gu-transit"), Wt(), Ht(), de = 0, Ie(I);
2325
+ Oe(!0), it(), Qe(), He(K), u.add(W || A, "gu-transit"), Wt(), Ht(), de = 0, Ie(I);
2326
2326
  }
2327
2327
  }
2328
2328
  }
@@ -2350,7 +2350,7 @@ var ti = { exports: {} };
2350
2350
  z && He(z);
2351
2351
  }
2352
2352
  function He(I) {
2353
- Jt(I.item, I.source) && (W = I.item.cloneNode(!0), oe.emit("cloned", W, I.item, "copy")), L = I.source, A = I.item, j = U = M(I.item), oe.dragging = !0, oe.emit("drag", A, L);
2353
+ Jt(I.item, I.source) && (W = I.item.cloneNode(!0), oe.emit("cloned", W, I.item, "copy")), L = I.source, A = I.item, j = G = M(I.item), oe.dragging = !0, oe.emit("drag", A, L);
2354
2354
  }
2355
2355
  function vt() {
2356
2356
  return !1;
@@ -2372,7 +2372,7 @@ var ti = { exports: {} };
2372
2372
  }
2373
2373
  function st(I, z) {
2374
2374
  var q = h(I);
2375
- W && _.copySortSource && z === L && q.removeChild(A), ue(z) ? oe.emit("cancel", I, L) : oe.emit("drop", I, z, L, U), Z();
2375
+ W && _.copySortSource && z === L && q.removeChild(A), ue(z) ? oe.emit("cancel", I, L) : oe.emit("drop", I, z, L, G), Z();
2376
2376
  }
2377
2377
  function ut() {
2378
2378
  if (oe.dragging) {
@@ -2383,16 +2383,16 @@ var ti = { exports: {} };
2383
2383
  function $(I) {
2384
2384
  if (oe.dragging) {
2385
2385
  var z = arguments.length > 0 ? I : _.revertOnSpill, q = W || A, Y = h(q), K = ue(Y);
2386
- K === !1 && z && (W ? Y && Y.removeChild(W) : L.insertBefore(q, j)), K || z ? oe.emit("cancel", q, L, L) : oe.emit("drop", q, Y, L, U), Z();
2386
+ K === !1 && z && (W ? Y && Y.removeChild(W) : L.insertBefore(q, j)), K || z ? oe.emit("cancel", q, L, L) : oe.emit("drop", q, Y, L, G), Z();
2387
2387
  }
2388
2388
  }
2389
2389
  function Z() {
2390
2390
  var I = W || A;
2391
- je(), qt(), Gt(), I && s.rm(I, "gu-transit"), ee && clearTimeout(ee), oe.dragging = !1, ce && oe.emit("out", I, ce, L), oe.emit("dragend", I, de), L = A = W = j = U = ee = ce = null;
2391
+ je(), qt(), Ut(), I && u.rm(I, "gu-transit"), ee && clearTimeout(ee), oe.dragging = !1, ce && oe.emit("out", I, ce, L), oe.emit("dragend", I, de), L = A = W = j = G = ee = ce = null;
2392
2392
  }
2393
2393
  function ue(I, z) {
2394
2394
  var q;
2395
- return z !== void 0 ? q = z : E ? q = U : q = M(W || A), I === L && q === j;
2395
+ return z !== void 0 ? q = z : E ? q = G : q = M(W || A), I === L && q === j;
2396
2396
  }
2397
2397
  function fe(I, z, q) {
2398
2398
  for (var Y = I; Y && !K(); )
@@ -2440,28 +2440,28 @@ var ti = { exports: {} };
2440
2440
  }
2441
2441
  }
2442
2442
  function $t(I, z, q) {
2443
- (I === z || I === M(z)) && (U = M(z)), (I === null && q || I !== z && I !== M(z)) && (U = I);
2443
+ (I === z || I === M(z)) && (G = M(z)), (I === null && q || I !== z && I !== M(z)) && (G = I);
2444
2444
  }
2445
2445
  function At(I) {
2446
- s.rm(I, "gu-hide");
2446
+ u.rm(I, "gu-hide");
2447
2447
  }
2448
2448
  function zt(I) {
2449
- oe.dragging && s.add(I, "gu-hide");
2449
+ oe.dragging && u.add(I, "gu-hide");
2450
2450
  }
2451
2451
  function Ht() {
2452
- E || (E = document.createElement("div"), E.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;", E.innerHTML = _.getMirrorText && _.getMirrorText(A) || "控件", s.add(E, "gu-mirror"), _.mirrorContainer.appendChild(E), d(g, "add", "mousemove", Ie), s.add(_.mirrorContainer, "gu-unselectable"), oe.emit("cloned", E, A, "mirror"));
2452
+ E || (E = document.createElement("div"), E.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;", E.innerHTML = _.getMirrorText && _.getMirrorText(A) || "控件", u.add(E, "gu-mirror"), _.mirrorContainer.appendChild(E), d(g, "add", "mousemove", Ie), u.add(_.mirrorContainer, "gu-unselectable"), oe.emit("cloned", E, A, "mirror"));
2453
2453
  }
2454
2454
  function Wt() {
2455
- if (X = document.createElement("div"), s.add(X, "gu-insertion"), A) {
2455
+ if (X = document.createElement("div"), u.add(X, "gu-insertion"), A) {
2456
2456
  var I = A.getBoundingClientRect();
2457
2457
  X.style.left = I.left + "px", X.style.top = I.top + "px";
2458
2458
  }
2459
2459
  le = !1, _.mirrorContainer.appendChild(X);
2460
2460
  }
2461
2461
  function qt() {
2462
- E && (s.rm(_.mirrorContainer, "gu-unselectable"), d(g, "remove", "mousemove", Ie), h(E).removeChild(E), E = null);
2462
+ E && (u.rm(_.mirrorContainer, "gu-unselectable"), d(g, "remove", "mousemove", Ie), h(E).removeChild(E), E = null);
2463
2463
  }
2464
- function Gt() {
2464
+ function Ut() {
2465
2465
  X && (h(X).removeChild(X), X = null);
2466
2466
  }
2467
2467
  function Tt(I, z) {
@@ -2483,13 +2483,13 @@ var ti = { exports: {} };
2483
2483
  if (/flex$/.test(Te)) {
2484
2484
  var we = te.getPropertyValue("flex-direction") || "row";
2485
2485
  if (we === "row" || we === "row-reverse")
2486
- return !Ut(z);
2486
+ return !Gt(z);
2487
2487
  }
2488
2488
  return !1;
2489
2489
  }
2490
2490
  return !0;
2491
2491
  }
2492
- function Ut(I) {
2492
+ function Gt(I) {
2493
2493
  if (!I.children || !I.children.length)
2494
2494
  return !1;
2495
2495
  for (const z of Array.from(I.children)) {
@@ -2518,7 +2518,7 @@ var ti = { exports: {} };
2518
2518
  z === A && A && (X.style.display = "none");
2519
2519
  }
2520
2520
  function Yt(I) {
2521
- U = null;
2521
+ G = null;
2522
2522
  var z = I.lastElementChild;
2523
2523
  if (z) {
2524
2524
  var q = z.getBoundingClientRect();
@@ -2599,7 +2599,7 @@ var ti = { exports: {} };
2599
2599
  mousedown: "MSPointerDown",
2600
2600
  mousemove: "MSPointerMove"
2601
2601
  };
2602
- l.navigator.pointerEnabled ? u[O](T, A[F], E) : l.navigator.msPointerEnabled ? u[O](T, H[F], E) : (u[O](T, L[F], E), u[O](T, F, E));
2602
+ l.navigator.pointerEnabled ? s[O](T, A[F], E) : l.navigator.msPointerEnabled ? s[O](T, H[F], E) : (s[O](T, L[F], E), s[O](T, F, E));
2603
2603
  }
2604
2604
  function b(T) {
2605
2605
  if (T.touches !== void 0)
@@ -2664,27 +2664,27 @@ var ti = { exports: {} };
2664
2664
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
2665
2665
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
2666
2666
  3: [function(n, a, o) {
2667
- a.exports = function(i, u) {
2668
- return Array.prototype.slice.call(i, u);
2667
+ a.exports = function(i, s) {
2668
+ return Array.prototype.slice.call(i, s);
2669
2669
  };
2670
2670
  }, {}],
2671
2671
  4: [function(n, a, o) {
2672
2672
  var l = n("ticky");
2673
- a.exports = function(u, s, c) {
2674
- u && l(function() {
2675
- u.apply(c || null, s || []);
2673
+ a.exports = function(s, u, c) {
2674
+ s && l(function() {
2675
+ s.apply(c || null, u || []);
2676
2676
  });
2677
2677
  };
2678
2678
  }, { ticky: 10 }],
2679
2679
  5: [function(n, a, o) {
2680
2680
  var l = n("atoa"), i = n("./debounce");
2681
- a.exports = function(s, c) {
2681
+ a.exports = function(u, c) {
2682
2682
  var g = c || {}, m = {};
2683
- return s === void 0 && (s = {}), s.on = function(r, f) {
2684
- return m[r] ? m[r].push(f) : m[r] = [f], s;
2685
- }, s.once = function(r, f) {
2686
- return f._once = !0, s.on(r, f), s;
2687
- }, s.off = function(r, f) {
2683
+ return u === void 0 && (u = {}), u.on = function(r, f) {
2684
+ return m[r] ? m[r].push(f) : m[r] = [f], u;
2685
+ }, u.once = function(r, f) {
2686
+ return f._once = !0, u.on(r, f), u;
2687
+ }, u.off = function(r, f) {
2688
2688
  var d = arguments.length;
2689
2689
  if (d === 1)
2690
2690
  delete m[r];
@@ -2693,29 +2693,29 @@ var ti = { exports: {} };
2693
2693
  else {
2694
2694
  var b = m[r];
2695
2695
  if (!b)
2696
- return s;
2696
+ return u;
2697
2697
  b.splice(b.indexOf(f), 1);
2698
2698
  }
2699
- return s;
2700
- }, s.emit = function() {
2699
+ return u;
2700
+ }, u.emit = function() {
2701
2701
  var r = l(arguments);
2702
- return s.emitterSnapshot(r.shift()).apply(this, r);
2703
- }, s.emitterSnapshot = function(r) {
2702
+ return u.emitterSnapshot(r.shift()).apply(this, r);
2703
+ }, u.emitterSnapshot = function(r) {
2704
2704
  var f = (m[r] || []).slice(0);
2705
2705
  return function() {
2706
- var d = l(arguments), b = this || s;
2706
+ var d = l(arguments), b = this || u;
2707
2707
  if (r === "error" && g.throws !== !1 && !f.length)
2708
2708
  throw d.length === 1 ? d[0] : d;
2709
2709
  return f.forEach(function(w) {
2710
- g.async ? i(w, d, b) : w.apply(b, d), w._once && s.off(r, w);
2711
- }), s;
2710
+ g.async ? i(w, d, b) : w.apply(b, d), w._once && u.off(r, w);
2711
+ }), u;
2712
2712
  };
2713
- }, s;
2713
+ }, u;
2714
2714
  };
2715
2715
  }, { "./debounce": 4, atoa: 3 }],
2716
2716
  6: [function(n, a, o) {
2717
2717
  (function(l) {
2718
- var i = n("custom-event"), u = n("./eventmap"), s = l.document, c = r, g = d, m = [];
2718
+ var i = n("custom-event"), s = n("./eventmap"), u = l.document, c = r, g = d, m = [];
2719
2719
  l.addEventListener || (c = f, g = b), a.exports = {
2720
2720
  add: c,
2721
2721
  remove: g,
@@ -2736,11 +2736,11 @@ var ti = { exports: {} };
2736
2736
  return h.detachEvent("on" + y, M);
2737
2737
  }
2738
2738
  function p(h, y, x) {
2739
- var M = u.indexOf(y) === -1 ? P() : D();
2739
+ var M = s.indexOf(y) === -1 ? P() : D();
2740
2740
  h.dispatchEvent ? h.dispatchEvent(M) : h.fireEvent("on" + y, M);
2741
2741
  function D() {
2742
2742
  var T;
2743
- return s.createEvent ? (T = s.createEvent("Event"), T.initEvent(y, !0, !0)) : s.createEventObject && (T = s.createEventObject()), T;
2743
+ return u.createEvent ? (T = u.createEvent("Event"), T.initEvent(y, !0, !0)) : u.createEventObject && (T = u.createEventObject()), T;
2744
2744
  }
2745
2745
  function P() {
2746
2746
  return new i(y, { detail: x });
@@ -2782,24 +2782,24 @@ var ti = { exports: {} };
2782
2782
  }, { "./eventmap": 7, "custom-event": 8 }],
2783
2783
  7: [function(n, a, o) {
2784
2784
  (function(l) {
2785
- var i = [], u = "", s = /^on/;
2786
- for (u in l)
2787
- s.test(u) && i.push(u.slice(2));
2785
+ var i = [], s = "", u = /^on/;
2786
+ for (s in l)
2787
+ u.test(s) && i.push(s.slice(2));
2788
2788
  a.exports = i;
2789
2789
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
2790
2790
  }, {}],
2791
2791
  8: [function(n, a, o) {
2792
2792
  (function(l) {
2793
2793
  var i = l.CustomEvent;
2794
- function u() {
2794
+ function s() {
2795
2795
  try {
2796
- var s = new i("cat", { detail: { foo: "bar" } });
2797
- return s.type === "cat" && s.detail.foo === "bar";
2796
+ var u = new i("cat", { detail: { foo: "bar" } });
2797
+ return u.type === "cat" && u.detail.foo === "bar";
2798
2798
  } catch {
2799
2799
  }
2800
2800
  return !1;
2801
2801
  }
2802
- a.exports = u() ? i : (
2802
+ a.exports = s() ? i : (
2803
2803
  // IE >= 9
2804
2804
  typeof document < "u" && typeof document.createEvent == "function" ? function(c, g) {
2805
2805
  var m = document.createEvent("CustomEvent");
@@ -2815,8 +2815,8 @@ var ti = { exports: {} };
2815
2815
  }).call(this, typeof qe < "u" ? qe : typeof self < "u" ? self : typeof window < "u" ? window : {});
2816
2816
  }, {}],
2817
2817
  9: [function(n, a, o) {
2818
- var l = a.exports = {}, i, u;
2819
- function s() {
2818
+ var l = a.exports = {}, i, s;
2819
+ function u() {
2820
2820
  throw new Error("setTimeout has not been defined");
2821
2821
  }
2822
2822
  function c() {
@@ -2824,20 +2824,20 @@ var ti = { exports: {} };
2824
2824
  }
2825
2825
  (function() {
2826
2826
  try {
2827
- typeof setTimeout == "function" ? i = setTimeout : i = s;
2827
+ typeof setTimeout == "function" ? i = setTimeout : i = u;
2828
2828
  } catch {
2829
- i = s;
2829
+ i = u;
2830
2830
  }
2831
2831
  try {
2832
- typeof clearTimeout == "function" ? u = clearTimeout : u = c;
2832
+ typeof clearTimeout == "function" ? s = clearTimeout : s = c;
2833
2833
  } catch {
2834
- u = c;
2834
+ s = c;
2835
2835
  }
2836
2836
  })();
2837
2837
  function g(S) {
2838
2838
  if (i === setTimeout)
2839
2839
  return setTimeout(S, 0);
2840
- if ((i === s || !i) && setTimeout)
2840
+ if ((i === u || !i) && setTimeout)
2841
2841
  return i = setTimeout, setTimeout(S, 0);
2842
2842
  try {
2843
2843
  return i(S, 0);
@@ -2850,17 +2850,17 @@ var ti = { exports: {} };
2850
2850
  }
2851
2851
  }
2852
2852
  function m(S) {
2853
- if (u === clearTimeout)
2853
+ if (s === clearTimeout)
2854
2854
  return clearTimeout(S);
2855
- if ((u === c || !u) && clearTimeout)
2856
- return u = clearTimeout, clearTimeout(S);
2855
+ if ((s === c || !s) && clearTimeout)
2856
+ return s = clearTimeout, clearTimeout(S);
2857
2857
  try {
2858
- return u(S);
2858
+ return s(S);
2859
2859
  } catch {
2860
2860
  try {
2861
- return u.call(null, S);
2861
+ return s.call(null, S);
2862
2862
  } catch {
2863
- return u.call(this, S);
2863
+ return s.call(this, S);
2864
2864
  }
2865
2865
  }
2866
2866
  }
@@ -2909,21 +2909,21 @@ var ti = { exports: {} };
2909
2909
  }, {}],
2910
2910
  10: [function(n, a, o) {
2911
2911
  (function(l) {
2912
- var i = typeof l == "function", u;
2913
- i ? u = function(s) {
2914
- l(s);
2915
- } : u = function(s) {
2916
- setTimeout(s, 0);
2917
- }, a.exports = u;
2912
+ var i = typeof l == "function", s;
2913
+ i ? s = function(u) {
2914
+ l(u);
2915
+ } : s = function(u) {
2916
+ setTimeout(u, 0);
2917
+ }, a.exports = s;
2918
2918
  }).call(this, n("timers").setImmediate);
2919
2919
  }, { timers: 11 }],
2920
2920
  11: [function(n, a, o) {
2921
2921
  (function(l, i) {
2922
- var u = n("process/browser.js").nextTick, s = Function.prototype.apply, c = Array.prototype.slice, g = {}, m = 0;
2922
+ var s = n("process/browser.js").nextTick, u = Function.prototype.apply, c = Array.prototype.slice, g = {}, m = 0;
2923
2923
  o.setTimeout = function() {
2924
- return new r(s.call(setTimeout, window, arguments), clearTimeout);
2924
+ return new r(u.call(setTimeout, window, arguments), clearTimeout);
2925
2925
  }, o.setInterval = function() {
2926
- return new r(s.call(setInterval, window, arguments), clearInterval);
2926
+ return new r(u.call(setInterval, window, arguments), clearInterval);
2927
2927
  }, o.clearTimeout = o.clearInterval = function(f) {
2928
2928
  f.close();
2929
2929
  };
@@ -2945,7 +2945,7 @@ var ti = { exports: {} };
2945
2945
  }, d));
2946
2946
  }, o.setImmediate = typeof l == "function" ? l : function(f) {
2947
2947
  var d = m++, b = arguments.length < 2 ? !1 : c.call(arguments, 1);
2948
- return g[d] = !0, u(function() {
2948
+ return g[d] = !0, s(function() {
2949
2949
  g[d] && (b ? f.apply(null, b) : f.call(null), o.clearImmediate(d));
2950
2950
  }), d;
2951
2951
  }, o.clearImmediate = typeof i == "function" ? i : function(f) {
@@ -2981,13 +2981,13 @@ const ni = {
2981
2981
  const {
2982
2982
  locale: n,
2983
2983
  t: a
2984
- } = Ft(), o = C(e.animate), l = "fadeOut", i = N(() => e.options), u = C(!1), s = N(() => i.value.title && i.value.message), c = N(() => !i.value.title && i.value.message), g = N(() => {
2984
+ } = Ft(), o = C(e.animate), l = "fadeOut", i = N(() => e.options), s = C(!1), u = N(() => i.value.title && i.value.message), c = N(() => !i.value.title && i.value.message), g = N(() => {
2985
2985
  const S = {
2986
- animated: u.value,
2986
+ animated: s.value,
2987
2987
  toast: !0,
2988
- "toast--only-content": !s.value
2988
+ "toast--only-content": !u.value
2989
2989
  };
2990
- return S[e.animate] = !1, S[l] = u.value, S["toasty-type-" + i.value.type] = !0, i.value.theme && (S[i.value.theme] = !0), S;
2990
+ return S[e.animate] = !1, S[l] = s.value, S["toasty-type-" + i.value.type] = !0, i.value.theme && (S[i.value.theme] = !0), S;
2991
2991
  }), m = N(() => {
2992
2992
  const y = `f-icon-${i.value && i.value.type ? i.value.type.replace("toasty-type-", "") : "default"}`, x = {
2993
2993
  "f-icon": !0
@@ -2998,7 +2998,7 @@ const ni = {
2998
2998
  overflowWrap: "break-word"
2999
2999
  } : {});
3000
3000
  function p(S) {
3001
- S.stopPropagation(), S.preventDefault(), u.value = !1, setTimeout(() => {
3001
+ S.stopPropagation(), S.preventDefault(), s.value = !1, setTimeout(() => {
3002
3002
  t.emit("close", i.value);
3003
3003
  }, 200);
3004
3004
  }
@@ -3030,13 +3030,13 @@ const ni = {
3030
3030
  class: "f-icon modal_close"
3031
3031
  }, null)]), r.value && v("section", {
3032
3032
  class: "modal-tips"
3033
- }, [!s.value && v("div", {
3033
+ }, [!u.value && v("div", {
3034
3034
  class: "float-left modal-tips-iconwrap"
3035
3035
  }, [v("span", {
3036
3036
  class: m.value
3037
3037
  }, null)]), v("div", {
3038
3038
  class: "modal-tips-content"
3039
- }, [s.value && v(ot, null, [v("h5", {
3039
+ }, [u.value && v(ot, null, [v("h5", {
3040
3040
  class: "toast-title modal-tips-title",
3041
3041
  innerHTML: i.value.title
3042
3042
  }, null), v("p", {
@@ -3069,25 +3069,25 @@ const ni = {
3069
3069
  right: 12,
3070
3070
  top: 20,
3071
3071
  bottom: 12
3072
- }, o = C(), l = C(e.options), i = C(e.showCloseButton), u = N(() => e.position || "bottom-right"), s = N(() => e.timeout != null ? e.timeout : 3e3), c = N(() => {
3072
+ }, o = C(), l = C(e.options), i = C(e.showCloseButton), s = N(() => e.position || "bottom-right"), u = N(() => e.timeout != null ? e.timeout : 3e3), c = N(() => {
3073
3073
  const r = e.bottom ? e.bottom : a.bottom, f = e.top ? e.top : a.top, d = {
3074
3074
  transition: "all 0.2s ease",
3075
- left: u.value.indexOf("left") > -1 ? `${e.left ? e.left : a.left}px` : "",
3076
- right: u.value.indexOf("right") > -1 ? `${e.right ? e.right : a.right}px` : "",
3077
- top: u.value.indexOf("top") > -1 ? `${f}px` : "",
3078
- bottom: u.value.indexOf("bottom") > -1 ? `${r}px` : ""
3075
+ left: s.value.indexOf("left") > -1 ? `${e.left ? e.left : a.left}px` : "",
3076
+ right: s.value.indexOf("right") > -1 ? `${e.right ? e.right : a.right}px` : "",
3077
+ top: s.value.indexOf("top") > -1 ? `${f}px` : "",
3078
+ bottom: s.value.indexOf("bottom") > -1 ? `${r}px` : ""
3079
3079
  };
3080
- return u.value.indexOf("center") > -1 && (d.left = "50%", d.marginLeft = "calc(-24rem / 2)", u.value === "center-center" && (d.top = "50%", d.transform = "translate(-50%, -50%)")), d;
3080
+ return s.value.indexOf("center") > -1 && (d.left = "50%", d.marginLeft = "calc(-24rem / 2)", s.value === "center-center" && (d.top = "50%", d.transform = "translate(-50%, -50%)")), d;
3081
3081
  });
3082
3082
  function g(r) {
3083
3083
  t.emit("close");
3084
3084
  }
3085
- s.value && setTimeout(() => {
3085
+ u.value && setTimeout(() => {
3086
3086
  g();
3087
- }, s.value), t.expose({
3087
+ }, u.value), t.expose({
3088
3088
  closeToast: g,
3089
3089
  container: o,
3090
- notifyPosition: u
3090
+ notifyPosition: s
3091
3091
  });
3092
3092
  function m(r, f) {
3093
3093
  g();
@@ -3107,7 +3107,7 @@ const ni = {
3107
3107
  class oi {
3108
3108
  constructor() {
3109
3109
  ke(this, "notifyRefs", []);
3110
- ke(this, "globalConfig", Ge({}));
3110
+ ke(this, "globalConfig", Ue({}));
3111
3111
  }
3112
3112
  escapeAllHtml(t) {
3113
3113
  if (typeof t != "string" || !t)
@@ -3128,10 +3128,10 @@ class oi {
3128
3128
  const i = an({
3129
3129
  setup() {
3130
3130
  var c;
3131
- const u = C();
3132
- function s() {
3133
- u.value.container.style.transform = "scale(0)", setTimeout(() => {
3134
- n.updateNotifyPositionForClose(o, u), i.unmount();
3131
+ const s = C();
3132
+ function u() {
3133
+ s.value.container.style.transform = "scale(0)", setTimeout(() => {
3134
+ n.updateNotifyPositionForClose(o, s), i.unmount();
3135
3135
  }, 220);
3136
3136
  }
3137
3137
  if (o.position.indexOf("top") > -1) {
@@ -3144,16 +3144,16 @@ class oi {
3144
3144
  return o.safeHtml && ((c = o.options) != null && c.message) && (o.options.message = n.escapeAllHtml(o.options.message)), St(() => {
3145
3145
  document.body.removeChild(l);
3146
3146
  }), ve(() => {
3147
- n.updateNotifyPositionForCreate(o, u);
3147
+ n.updateNotifyPositionForCreate(o, s);
3148
3148
  }), () => v(Dn, {
3149
3149
  mode: "out-in",
3150
3150
  name: "fade",
3151
3151
  appear: !0
3152
3152
  }, {
3153
3153
  default: () => [v(Et, mt({
3154
- ref: u
3154
+ ref: s
3155
3155
  }, o, {
3156
- onClose: s
3156
+ onClose: u
3157
3157
  }), null)]
3158
3158
  });
3159
3159
  }
@@ -3187,8 +3187,8 @@ class oi {
3187
3187
  return this.createNotifyInstance(t);
3188
3188
  }
3189
3189
  buildNotifyProps(t, n) {
3190
- let a = "", o = "", l, i, u;
3191
- typeof n == "string" ? a = n : n && (a = n.message || "", o = n.title || "", i = n.position || null, u = n.showCloseButton != null ? n.showCloseButton : null, l = n.timeout != null ? n.timeout : null);
3190
+ let a = "", o = "", l, i, s;
3191
+ typeof n == "string" ? a = n : n && (a = n.message || "", o = n.title || "", i = n.position || null, s = n.showCloseButton != null ? n.showCloseButton : null, l = n.timeout != null ? n.timeout : null);
3192
3192
  const c = {
3193
3193
  options: {
3194
3194
  type: t,
@@ -3196,7 +3196,7 @@ class oi {
3196
3196
  title: o
3197
3197
  }
3198
3198
  };
3199
- return i != null && (c.position = i), u != null && (c.showCloseButton = u), l != null && (c.timeout = l), c;
3199
+ return i != null && (c.position = i), s != null && (c.showCloseButton = s), l != null && (c.timeout = l), c;
3200
3200
  }
3201
3201
  info(t) {
3202
3202
  const n = this.buildNotifyProps("info", t);
@@ -3379,7 +3379,7 @@ const li = {
3379
3379
  }
3380
3380
  }
3381
3381
  };
3382
- function ii(e, t, n, a, o, l, i, u, s, c, g, m, r, f, d, b, p) {
3382
+ function ii(e, t, n, a, o, l, i, s, u, c, g, m, r, f, d, b, p) {
3383
3383
  const {
3384
3384
  calculateCellPositionInRow: w
3385
3385
  } = l, {
@@ -3392,7 +3392,7 @@ function ii(e, t, n, a, o, l, i, u, s, c, g, m, r, f, d, b, p) {
3392
3392
  rightFixedGridDataStyle: x
3393
3393
  } = f, {
3394
3394
  renderDataRow: M
3395
- } = Za(e, t, k, p, u, s, c, g, m, r, f, d, b), D = [M];
3395
+ } = Za(e, t, k, p, s, u, c, g, m, r, f, d, b), D = [M];
3396
3396
  function P(L, A) {
3397
3397
  const H = w(L);
3398
3398
  return p.value.filter((R) => R.visible !== !1).map((R, j) => D[R.type](R, H, A, j));
@@ -3439,13 +3439,13 @@ const ri = /* @__PURE__ */ ne({
3439
3439
  setup(e, t) {
3440
3440
  var vn, hn;
3441
3441
  const a = ((vn = e.rowOption) == null ? void 0 : vn.height) || 28, o = C(20), l = C(e.columns), i = Ka(e), {
3442
- idField: u
3443
- } = i, s = C(), c = C(), g = C(), m = C(), r = C(), f = C([]), d = C(!1), b = C(((hn = e.rowOption) == null ? void 0 : hn.wrapContent) || !1), p = eo(e, i), w = to(e, t), k = no(e), {
3442
+ idField: s
3443
+ } = i, u = C(), c = C(), g = C(), m = C(), r = C(), f = C([]), d = C(!1), b = C(((hn = e.rowOption) == null ? void 0 : hn.wrapContent) || !1), p = eo(e, i), w = to(e, t), k = no(e), {
3444
3444
  collapseField: B
3445
3445
  } = k, {
3446
3446
  showLoading: S,
3447
3447
  renderLoading: h
3448
- } = ao(e, s), y = oo(e, /* @__PURE__ */ new Map(), w, k, i), {
3448
+ } = ao(e, u), y = oo(e, /* @__PURE__ */ new Map(), w, k, i), {
3449
3449
  dataView: x
3450
3450
  } = y, M = lo(e, y, i, f, t), {
3451
3451
  showSelection: D,
@@ -3460,7 +3460,7 @@ const ri = /* @__PURE__ */ ne({
3460
3460
  R(l);
3461
3461
  const {
3462
3462
  applyColumnSetting: j,
3463
- removeColumnSetting: U
3463
+ removeColumnSetting: G
3464
3464
  } = co(e);
3465
3465
  e.showSetting && j(l);
3466
3466
  const W = fo(e, t), ee = po(e), {
@@ -3483,13 +3483,13 @@ const ri = /* @__PURE__ */ ne({
3483
3483
  } = se, Qe = Fo(e, he, c, Be, le), {
3484
3484
  calculateColumnsSize: je
3485
3485
  } = Qe, We = xo(), st = To(c, r, y, We, se), ut = Oo(e, t, W, y, le, p, se), $ = N(() => {
3486
- const G = {
3486
+ const U = {
3487
3487
  "fv-grid": !0,
3488
3488
  "fv-grid-bordered": e.showBorder,
3489
3489
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
3490
3490
  "fv-datagrid-strip": e.showStripe
3491
3491
  };
3492
- return Pt(G, e.customClass);
3492
+ return Pt(U, e.customClass);
3493
3493
  }), Z = N(() => ({
3494
3494
  "fv-grid-content": !0,
3495
3495
  "fv-grid-content-hover": d.value,
@@ -3510,76 +3510,76 @@ const ri = /* @__PURE__ */ ne({
3510
3510
  renderVerticalScrollbar: Wt
3511
3511
  } = Po(e, c, se);
3512
3512
  function qt() {
3513
- var G, J, me;
3514
- if (c.value && c.value.clientHeight > 0 && ((G = c.value) == null ? void 0 : G.clientWidth) > 0) {
3513
+ var U, J, me;
3514
+ if (c.value && c.value.clientHeight > 0 && ((U = c.value) == null ? void 0 : U.clientWidth) > 0) {
3515
3515
  const be = Math.ceil(c.value.clientHeight / a);
3516
3516
  be > o.value && (o.value = be, vt()), ze.value = ((J = g.value) == null ? void 0 : J.clientHeight) || 0, Ae.value = ((me = c.value) == null ? void 0 : me.clientWidth) || 0, je();
3517
3517
  }
3518
3518
  }
3519
3519
  ve(() => {
3520
- c.value && (o.value = Math.max(Math.ceil(c.value.clientHeight / a), o.value), f.value = Oe(0, F.value + 0 - 1), Qa(c.value, qt), je(), Ue(() => {
3520
+ c.value && (o.value = Math.max(Math.ceil(c.value.clientHeight / a), o.value), f.value = Oe(0, F.value + 0 - 1), Qa(c.value, qt), je(), Ge(() => {
3521
3521
  c.value && (Ae.value = c.value.clientWidth), g.value && (Be.value = g.value.clientWidth, ze.value = g.value.clientHeight);
3522
3522
  })), S.value && h();
3523
3523
  }), St(() => {
3524
3524
  }), Q(Be, () => {
3525
3525
  c.value && je();
3526
3526
  });
3527
- function Gt(G) {
3528
- y.collapseTo(G), y.reOrderVisibleIndex(), He();
3527
+ function Ut(U) {
3528
+ y.collapseTo(U), y.reOrderVisibleIndex(), He();
3529
3529
  }
3530
- function Tt(G) {
3531
- y.expandTo(G), y.reOrderVisibleIndex(), He();
3530
+ function Tt(U) {
3531
+ y.expandTo(U), y.reOrderVisibleIndex(), He();
3532
3532
  }
3533
3533
  function ht() {
3534
- const G = M.getSelectionRow();
3535
- return G ? G.dataIndex - 1 : -1;
3534
+ const U = M.getSelectionRow();
3535
+ return U ? U.dataIndex - 1 : -1;
3536
3536
  }
3537
- function Ut() {
3538
- const G = ht();
3539
- y.insertNewDataItem(G), f.value = Oe(0, F.value + 0 - 1);
3537
+ function Gt() {
3538
+ const U = ht();
3539
+ y.insertNewDataItem(U), f.value = Oe(0, F.value + 0 - 1);
3540
3540
  }
3541
3541
  function _t() {
3542
- const G = ht();
3543
- y.insertNewChildDataItem(G), f.value = Oe(0, F.value + 0 - 1);
3542
+ const U = ht();
3543
+ y.insertNewChildDataItem(U), f.value = Oe(0, F.value + 0 - 1);
3544
3544
  }
3545
- function Yt(G, J) {
3546
- const me = f.value.find((xe) => xe.raw[u.value] === J), be = me ? me.dataIndex - 1 : -1;
3547
- y.insertNewChildDataItems(G, be);
3545
+ function Yt(U, J) {
3546
+ const me = f.value.find((xe) => xe.raw[s.value] === J), be = me ? me.dataIndex - 1 : -1;
3547
+ y.insertNewChildDataItems(U, be);
3548
3548
  }
3549
3549
  function Xt() {
3550
- const G = ht(), J = T.getNextSelectableHierarchyItemId(G);
3551
- y.removeHierarchyDataItem(G), f.value = Oe(0, F.value + 0 - 1), J && M.selectItemById(J);
3550
+ const U = ht(), J = T.getNextSelectableHierarchyItemId(U);
3551
+ y.removeHierarchyDataItem(U), f.value = Oe(0, F.value + 0 - 1), J && M.selectItemById(J);
3552
3552
  }
3553
- function Ot(G) {
3554
- ae.onEditingRow(G);
3553
+ function Ot(U) {
3554
+ ae.onEditingRow(U);
3555
3555
  }
3556
- function Jt(G) {
3557
- ae.acceptEditingRow(G);
3556
+ function Jt(U) {
3557
+ ae.acceptEditingRow(U);
3558
3558
  }
3559
- function I(G) {
3560
- ae.cancelEditingRow(G);
3559
+ function I(U) {
3560
+ ae.cancelEditingRow(U);
3561
3561
  }
3562
- function z(G) {
3563
- G && (l.value = G, R(l), X(l.value), ce(y, ee), je());
3562
+ function z(U) {
3563
+ U && (l.value = U, R(l), X(l.value), ce(y, ee), je());
3564
3564
  }
3565
- Q(() => e.columns, (G) => {
3566
- z(G);
3565
+ Q(() => e.columns, (U) => {
3566
+ z(U);
3567
3567
  });
3568
- function q(G, J) {
3569
- G && (y.load(G), y.reOrderVisibleIndex(), J != null && J.keepScrollPosition ? se.scrollTo(se.offsetY.value) : He());
3568
+ function q(U, J) {
3569
+ U && (y.load(U), y.reOrderVisibleIndex(), J != null && J.keepScrollPosition ? se.scrollTo(se.offsetY.value) : He());
3570
3570
  }
3571
- function Y(G) {
3572
- M.selectItemById(G);
3571
+ function Y(U) {
3572
+ M.selectItemById(U);
3573
3573
  }
3574
- function K(G) {
3575
- const J = f.value.find((me) => me.raw[i.idField.value] === G);
3574
+ function K(U) {
3575
+ const J = f.value.find((me) => me.raw[i.idField.value] === U);
3576
3576
  J && de.clickRowItem(J);
3577
3577
  }
3578
- function te(G) {
3579
- de.activeRowById(G);
3578
+ function te(U) {
3579
+ de.activeRowById(U);
3580
3580
  }
3581
- function Te(G) {
3582
- M.selectItemByIds(G);
3581
+ function Te(U) {
3582
+ M.selectItemByIds(U);
3583
3583
  }
3584
3584
  function we() {
3585
3585
  return M.getSelectedItems();
@@ -3593,14 +3593,14 @@ const ri = /* @__PURE__ */ ne({
3593
3593
  function Ee() {
3594
3594
  return M.getSelectionRow();
3595
3595
  }
3596
- function Fe(G) {
3597
- M.unSelectItemByIds(G);
3596
+ function Fe(U) {
3597
+ M.unSelectItemByIds(U);
3598
3598
  }
3599
3599
  function ge() {
3600
3600
  return M.currentSelectedDataId.value;
3601
3601
  }
3602
- function gt(G, J, me) {
3603
- const be = x.value.find((xe) => xe[u.value] === G);
3602
+ function gt(U, J, me) {
3603
+ const be = x.value.find((xe) => xe[s.value] === U);
3604
3604
  if (be) {
3605
3605
  if (Object.keys(be).forEach((ye) => {
3606
3606
  Object.prototype.hasOwnProperty.call(J, ye) && (be[ye] = J[ye]);
@@ -3613,7 +3613,7 @@ const ri = /* @__PURE__ */ ne({
3613
3613
  } = me;
3614
3614
  ye && !Ne(J[ye]) && (be.__fv_collapse__ = J[ye]), Ke && !Ne(J[Ke]) && (be.__fv_checked__ = J[Ke]), Ze && !Ne(J[Ze]) && (be.__fv_disabled__ = J[Ze]), et && !Ne(J[et]) && (be.__fv_visible__ = J[et]);
3615
3615
  }
3616
- const xe = f.value.find((ye) => ye.raw[u.value] === G), gn = f.value.findIndex((ye) => ye.raw[u.value] === G);
3616
+ const xe = f.value.find((ye) => ye.raw[s.value] === U), gn = f.value.findIndex((ye) => ye.raw[s.value] === U);
3617
3617
  if (xe) {
3618
3618
  if (xe.raw = be, Object.keys(xe.data).forEach((ye) => {
3619
3619
  xe.data[ye].updateData(be);
@@ -3630,24 +3630,24 @@ const ri = /* @__PURE__ */ ne({
3630
3630
  }
3631
3631
  }
3632
3632
  }
3633
- function bt(G) {
3634
- return Object.prototype.hasOwnProperty.call(G, "raw") ? y.hasRealChildren(G.raw) : y.hasRealChildren(G);
3633
+ function bt(U) {
3634
+ return Object.prototype.hasOwnProperty.call(U, "raw") ? y.hasRealChildren(U.raw) : y.hasRealChildren(U);
3635
3635
  }
3636
- function Ct(G) {
3637
- const J = y.dataView.value.find((me) => me[u.value] === G);
3636
+ function Ct(U) {
3637
+ const J = y.dataView.value.find((me) => me[s.value] === U);
3638
3638
  return J ? J[B.value] : "";
3639
3639
  }
3640
3640
  function xa() {
3641
3641
  return B.value;
3642
3642
  }
3643
- Q(() => e.showSetting, (G, J) => {
3644
- G !== J && (G ? j(l) : U(l), z(l.value));
3643
+ Q(() => e.showSetting, (U, J) => {
3644
+ U !== J && (U ? j(l) : G(l), z(l.value));
3645
3645
  });
3646
- function Ta(G) {
3647
- return f.value.filter((J) => G.includes(J.raw[e.idField]));
3646
+ function Ta(U) {
3647
+ return f.value.filter((J) => U.includes(J.raw[e.idField]));
3648
3648
  }
3649
- function Oa(G) {
3650
- const J = i.idField.value, me = f.value.find((be) => be.raw[J] === G);
3649
+ function Oa(U) {
3650
+ const J = i.idField.value, me = f.value.find((be) => be.raw[J] === U);
3651
3651
  me && de.changeRow(me);
3652
3652
  }
3653
3653
  function Ba() {
@@ -3655,10 +3655,10 @@ const ri = /* @__PURE__ */ ne({
3655
3655
  }
3656
3656
  t.expose({
3657
3657
  activeRowById: te,
3658
- addNewDataItem: Ut,
3658
+ addNewDataItem: Gt,
3659
3659
  addNewChildDataItem: _t,
3660
3660
  addChildrenToNode: Yt,
3661
- collapseTo: Gt,
3661
+ collapseTo: Ut,
3662
3662
  expandTo: Tt,
3663
3663
  removeDataItem: Xt,
3664
3664
  editDataItem: Ot,
@@ -3683,8 +3683,8 @@ const ri = /* @__PURE__ */ ne({
3683
3683
  updateDerivedData: Ba
3684
3684
  });
3685
3685
  const Ma = N(() => {
3686
- const G = {};
3687
- return se.shouldShowHorizontalScrollbar.value && (G.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (G.paddingRight = "10px"), G;
3686
+ const U = {};
3687
+ return se.shouldShowHorizontalScrollbar.value && (U.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (U.paddingRight = "10px"), U;
3688
3688
  }), Ea = N(() => ({
3689
3689
  ...A.value,
3690
3690
  borderRadius: "5px"
@@ -3702,7 +3702,7 @@ const ri = /* @__PURE__ */ ne({
3702
3702
  renderDataGridSummary: ja
3703
3703
  } = No(e, y, W);
3704
3704
  return () => v("div", {
3705
- ref: s,
3705
+ ref: u,
3706
3706
  class: $.value,
3707
3707
  style: Ea.value,
3708
3708
  onWheel: yt
@@ -3861,12 +3861,12 @@ const ci = "https://json-schema.org/draft/2020-12/schema", di = "https://farris-
3861
3861
  props: cn,
3862
3862
  emits: ["click"],
3863
3863
  setup(e, t) {
3864
- const n = C(e.direction), a = C(e.fill), o = C(e.height), l = C(e.steps), i = C(e.activeIndex), u = N(() => ({
3864
+ const n = C(e.direction), a = C(e.fill), o = C(e.height), l = C(e.steps), i = C(e.activeIndex), s = N(() => ({
3865
3865
  "f-progress-step-list": n.value === "horizontal",
3866
3866
  "f-progress-step-list-block": n.value === "vertical",
3867
3867
  "f-progress-step-horizontal-fill": n.value === "horizontal" && a.value,
3868
3868
  "f-progress-step-vertical-fill": n.value === "vertical" && a.value
3869
- })), s = N(() => ({
3869
+ })), u = N(() => ({
3870
3870
  height: n.value === "vertical" ? `${o.value}px` : ""
3871
3871
  }));
3872
3872
  function c(S, h) {
@@ -3960,8 +3960,8 @@ const ci = "https://json-schema.org/draft/2020-12/schema", di = "https://farris-
3960
3960
  }), () => v("div", {
3961
3961
  class: "f-progress-step"
3962
3962
  }, [v("ul", {
3963
- class: u.value,
3964
- style: s.value
3963
+ class: s.value,
3964
+ style: u.value
3965
3965
  }, [B()])]);
3966
3966
  }
3967
3967
  });
@@ -3969,10 +3969,10 @@ function dn(e, t, n) {
3969
3969
  var T;
3970
3970
  const a = n && n.getStyles && n.getStyles() || "", o = n && n.getDesignerClass && n.getDesignerClass() || "", l = C();
3971
3971
  let i;
3972
- function u() {
3972
+ function s() {
3973
3973
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanMoveComponent ? n.checkCanMoveComponent() : !0;
3974
3974
  }
3975
- function s() {
3975
+ function u() {
3976
3976
  return !1;
3977
3977
  }
3978
3978
  function c() {
@@ -4067,8 +4067,8 @@ function dn(e, t, n) {
4067
4067
  if (n != null && n.getComponentTitle)
4068
4068
  F = n.getComponentTitle();
4069
4069
  else {
4070
- const { text: A, title: H, label: R, mainTitle: j, name: U, type: W } = t.schema;
4071
- F = A || H || R || j || U || ((L = V[W]) == null ? void 0 : L.name);
4070
+ const { text: A, title: H, label: R, mainTitle: j, name: G, type: W } = t.schema;
4071
+ F = A || H || R || j || G || ((L = V[W]) == null ? void 0 : L.name);
4072
4072
  }
4073
4073
  F && i.getControlBasicInfoMap().set(t.schema.id, {
4074
4074
  componentTitle: F,
@@ -4080,12 +4080,12 @@ function dn(e, t, n) {
4080
4080
  const { changeObject: F } = O, { propertyID: E, propertyValue: L } = F;
4081
4081
  if (["text", "title", "label", "name", "mainTitle"].includes((A = O == null ? void 0 : O.changeObject) == null ? void 0 : A.propertyID) && E && L && (M(), i)) {
4082
4082
  const H = i.getControlBasicInfoMap(), R = H.keys().toArray().filter((j) => {
4083
- var U, W;
4084
- return ((U = H.get(j)) == null ? void 0 : U.reliedComponentId) === ((W = t == null ? void 0 : t.schema) == null ? void 0 : W.id);
4083
+ var G, W;
4084
+ return ((G = H.get(j)) == null ? void 0 : G.reliedComponentId) === ((W = t == null ? void 0 : t.schema) == null ? void 0 : W.id);
4085
4085
  });
4086
4086
  R != null && R.length && R.forEach((j) => {
4087
- const U = H.get(j).parentPathName.split(" > ");
4088
- U[0] = L, H.get(j).parentPathName = U.join(" > ");
4087
+ const G = H.get(j).parentPathName.split(" > ");
4088
+ G[0] = L, H.get(j).parentPathName = G.join(" > ");
4089
4089
  });
4090
4090
  }
4091
4091
  }
@@ -4094,8 +4094,8 @@ function dn(e, t, n) {
4094
4094
  return n.onPropertyChanged(O);
4095
4095
  }
4096
4096
  return l.value = {
4097
- canMove: u(),
4098
- canSelectParent: s(),
4097
+ canMove: s(),
4098
+ canSelectParent: u(),
4099
4099
  canDelete: c(),
4100
4100
  canNested: !g(),
4101
4101
  contents: t == null ? void 0 : t.schema.contents,
@@ -4127,7 +4127,7 @@ const Si = /* @__PURE__ */ ne({
4127
4127
  props: cn,
4128
4128
  emits: [],
4129
4129
  setup(e, t) {
4130
- const n = C(e.direction), a = C(e.fill), o = C(e.height), l = C(e.steps), i = C(0), u = C(e.clickable), s = C(0), c = C(), g = Ce("design-item-context"), m = dn(c, g);
4130
+ const n = C(e.direction), a = C(e.fill), o = C(e.height), l = C(e.steps), i = C(0), s = C(e.clickable), u = C(0), c = C(), g = Ce("design-item-context"), m = dn(c, g);
4131
4131
  ve(() => {
4132
4132
  c.value.componentInstance = m;
4133
4133
  }), t.expose(m.value);
@@ -4143,7 +4143,7 @@ const Si = /* @__PURE__ */ ne({
4143
4143
  const T = {
4144
4144
  step: !0,
4145
4145
  active: P === i.value,
4146
- clickable: u.value,
4146
+ clickable: s.value,
4147
4147
  "click-disable": D.disable,
4148
4148
  current: P === i.value
4149
4149
  };
@@ -4172,7 +4172,7 @@ const Si = /* @__PURE__ */ ne({
4172
4172
  const T = [];
4173
4173
  return D.icon ? T.push(v("span", {
4174
4174
  class: w(D, !1)
4175
- }, null)) : P >= i.value || P === s.value ? T.push(v("span", {
4175
+ }, null)) : P >= i.value || P === u.value ? T.push(v("span", {
4176
4176
  class: "step-icon"
4177
4177
  }, [P + 1])) : T.push(v("span", {
4178
4178
  class: w(D, !0)
@@ -4293,9 +4293,9 @@ class xi {
4293
4293
  contents: o
4294
4294
  }), n.contents = [a];
4295
4295
  const { selectedFields: l } = t;
4296
- l == null || l.forEach((u) => {
4297
- if (u.$type === Cn.SimpleField) {
4298
- const s = Ve(u), c = this.resolveControlClassByFormColumns(t), g = this.controlCreatorUtils.setFormFieldProperty(s, "", c);
4296
+ l == null || l.forEach((s) => {
4297
+ if (s.$type === Cn.SimpleField) {
4298
+ const u = Ve(s), c = this.resolveControlClassByFormColumns(t), g = this.controlCreatorUtils.setFormFieldProperty(u, "", c);
4299
4299
  g && o.push(g);
4300
4300
  }
4301
4301
  });
@@ -4363,12 +4363,12 @@ class xi {
4363
4363
  }
4364
4364
  }
4365
4365
  function Ti(e, t, n, a) {
4366
- var l, i, u, s, c, g;
4366
+ var l, i, s, u, c, g;
4367
4367
  const o = n.parentComponentInstance;
4368
4368
  if (o && a) {
4369
4369
  const m = (l = o.schema) == null ? void 0 : l.type, f = {
4370
4370
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
4371
- componentName: ((i = n.bindingSourceContext) == null ? void 0 : i.entityTitle) || ((s = (u = n.bindingSourceContext) == null ? void 0 : u.bindingEntity) == null ? void 0 : s.name) || "标题",
4371
+ componentName: ((i = n.bindingSourceContext) == null ? void 0 : i.entityTitle) || ((u = (s = n.bindingSourceContext) == null ? void 0 : s.bindingEntity) == null ? void 0 : u.name) || "标题",
4372
4372
  componentType: "form",
4373
4373
  formColumns: m === "splitter-pane" ? 1 : 4,
4374
4374
  parentContainerId: o.schema.id,
@@ -4497,17 +4497,17 @@ const $i = "https://json-schema.org/draft/2020-12/schema", Ai = "https://farris-
4497
4497
  description: "",
4498
4498
  type: "object"
4499
4499
  }
4500
- }, Gi = [
4500
+ }, Ui = [
4501
4501
  "id",
4502
4502
  "type"
4503
- ], Ui = {
4503
+ ], Gi = {
4504
4504
  $schema: $i,
4505
4505
  $id: Ai,
4506
4506
  title: zi,
4507
4507
  description: Hi,
4508
4508
  type: Wi,
4509
4509
  properties: qi,
4510
- required: Gi
4510
+ required: Ui
4511
4511
  }, _i = {
4512
4512
  initialState: {
4513
4513
  type: Object,
@@ -4519,7 +4519,7 @@ const $i = "https://json-schema.org/draft/2020-12/schema", Ai = "https://farris-
4519
4519
  }
4520
4520
  }
4521
4521
  };
4522
- ln(_i, Ui, Ul, Oi);
4522
+ ln(_i, Gi, Gl, Oi);
4523
4523
  const Yi = {
4524
4524
  width: { Type: Number, default: 400 },
4525
4525
  type: { Type: String, default: "info" },
@@ -4573,14 +4573,14 @@ function Zi() {
4573
4573
  return { onCopy: e };
4574
4574
  }
4575
4575
  function Ki(e, t, n, a) {
4576
- const o = C(14), l = C(140), i = C(""), u = C(a.value.length), s = N(() => a.value), c = N(() => ({
4576
+ const o = C(14), l = C(140), i = C(""), s = C(a.value.length), u = N(() => a.value), c = N(() => ({
4577
4577
  "font-size": `${o.value}px`,
4578
4578
  height: "100%"
4579
4579
  }));
4580
4580
  function g(m) {
4581
4581
  if (m.currentTarget) {
4582
4582
  const r = m.currentTarget.value || "";
4583
- u.value = r.length;
4583
+ s.value = r.length;
4584
4584
  }
4585
4585
  }
4586
4586
  return () => v(ot, null, [v("textarea", {
@@ -4591,16 +4591,16 @@ function Ki(e, t, n, a) {
4591
4591
  rows: "4",
4592
4592
  maxlength: l.value,
4593
4593
  onInput: (m) => g(m)
4594
- }, [s.value]), v("span", {
4594
+ }, [u.value]), v("span", {
4595
4595
  class: "textarea-wordcount",
4596
4596
  title: i.value,
4597
4597
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
4598
- }, [u.value + " / " + l.value])]);
4598
+ }, [s.value + " / " + l.value])]);
4599
4599
  }
4600
4600
  function er(e, t, n, a) {
4601
4601
  const o = Ki(e, t, n, a), l = /* @__PURE__ */ new Map([["text-area", o]]);
4602
- function i(u) {
4603
- return l.get(u) || null;
4602
+ function i(s) {
4603
+ return l.get(s) || null;
4604
4604
  }
4605
4605
  return { getEditorRender: i };
4606
4606
  }
@@ -4664,18 +4664,18 @@ function ar(e, t) {
4664
4664
  const o = N(() => !!e.value && !!e.value.date), l = N(() => {
4665
4665
  const f = e.value && e.value.date || "";
4666
4666
  return `${t.exception.happend} : ${f}`;
4667
- }), i = N(() => !!e.value && !!e.value.detail), u = N(() => e.value ? n(e.value.detail) > 160 : !1), s = C(!1), c = N(() => s.value ? t.exception.collapse : t.exception.expand), g = N(() => {
4667
+ }), i = N(() => !!e.value && !!e.value.detail), s = N(() => e.value ? n(e.value.detail) > 160 : !1), u = C(!1), c = N(() => u.value ? t.exception.collapse : t.exception.expand), g = N(() => {
4668
4668
  const f = t.exception.detail + " : " + (e.value && e.value.detail) || "";
4669
- return s.value ? f : a(f, 160);
4669
+ return u.value ? f : a(f, 160);
4670
4670
  }), m = N(() => ({
4671
4671
  position: "absolute",
4672
4672
  right: 0,
4673
- bottom: s.value ? 0 : "2px",
4673
+ bottom: u.value ? 0 : "2px",
4674
4674
  color: "#2A87FF",
4675
4675
  cursor: "pointer"
4676
4676
  }));
4677
4677
  function r() {
4678
- s.value = !s.value;
4678
+ u.value = !u.value;
4679
4679
  }
4680
4680
  return () => v("div", {
4681
4681
  class: "toast-msg-detail"
@@ -4685,7 +4685,7 @@ function ar(e, t) {
4685
4685
  class: "exception_error_msg"
4686
4686
  }, [v("div", {
4687
4687
  innerHTML: g.value
4688
- }, null), u.value && v("span", {
4688
+ }, null), s.value && v("span", {
4689
4689
  style: m.value,
4690
4690
  onClick: r
4691
4691
  }, [c.value])])])]);
@@ -4702,9 +4702,9 @@ function lr(e, t, n, a, o) {
4702
4702
  "f-icon": !0
4703
4703
  }, p = `f-icon-${d}`;
4704
4704
  return b[p] = !0, b;
4705
- }), u = N(() => n.value || l.value && l.value.message), s = N(() => a.value), c = N(() => !!a.value), g = N(() => !!l.value);
4705
+ }), s = N(() => n.value || l.value && l.value.message), u = N(() => a.value), c = N(() => !!a.value), g = N(() => !!l.value);
4706
4706
  function m() {
4707
- return g.value ? ar(l, o) : c.value ? or(s) : () => null;
4707
+ return g.value ? ar(l, o) : c.value ? or(u) : () => null;
4708
4708
  }
4709
4709
  const r = m(), f = N(() => o.locale === "en" ? {
4710
4710
  wordBreak: "keep-all",
@@ -4718,7 +4718,7 @@ function lr(e, t, n, a, o) {
4718
4718
  class: "modal-tips-content"
4719
4719
  }, [v("p", {
4720
4720
  class: "toast-msg-title",
4721
- innerHTML: u.value,
4721
+ innerHTML: s.value,
4722
4722
  style: f.value
4723
4723
  }, null), r()])]);
4724
4724
  }
@@ -4727,11 +4727,11 @@ function ir(e, t, n, a) {
4727
4727
  onCopy: o
4728
4728
  } = t, {
4729
4729
  toShowFeedback: l
4730
- } = n, i = C(a.exception.copySuccess || "复制成功"), u = C(a.exception.copy || "复制详细信息"), s = C(e.exceptionInfo || {
4730
+ } = n, i = C(a.exception.copySuccess || "复制成功"), s = C(a.exception.copy || "复制详细信息"), u = C(e.exceptionInfo || {
4731
4731
  date: "",
4732
4732
  message: "",
4733
4733
  detail: ""
4734
- }), c = N(() => s.value && s.value.detail || "");
4734
+ }), c = N(() => u.value && u.value.detail || "");
4735
4735
  function g(m) {
4736
4736
  o(c.value).catch((r) => {
4737
4737
  i.value = a.exception.copyFailed || "复制失败";
@@ -4746,11 +4746,11 @@ function ir(e, t, n, a) {
4746
4746
  }, [v("span", {
4747
4747
  onClick: g,
4748
4748
  style: "cursor: pointer;"
4749
- }, [u.value])]);
4749
+ }, [s.value])]);
4750
4750
  }
4751
4751
  function rr(e, t, n, a, o) {
4752
- const l = C(e.type), i = C(e.buttons), u = C(e.exceptionInfo), s = C(o.ok || e.okButtonText), c = C(o.cancel || e.cancelButtonText), g = C(e.showCancelButton), m = C(e.showOkButton), r = N(() => !!(i.value && i.value.length)), f = N(() => u.value && u.value.message && u.value.detail), d = N(() => !(i.value && i.value.length) && (m.value || g.value)), b = ir(e, n, a, o);
4753
- s.value === "关闭" ? s.value = o.close : s.value === "知道了" && (s.value = o.exception.roger);
4752
+ const l = C(e.type), i = C(e.buttons), s = C(e.exceptionInfo), u = C(o.ok || e.okButtonText), c = C(o.cancel || e.cancelButtonText), g = C(e.showCancelButton), m = C(e.showOkButton), r = N(() => !!(i.value && i.value.length)), f = N(() => s.value && s.value.message && s.value.detail), d = N(() => !(i.value && i.value.length) && (m.value || g.value)), b = ir(e, n, a, o);
4753
+ u.value === "关闭" ? u.value = o.close : u.value === "知道了" && (u.value = o.exception.roger);
4754
4754
  function p(k) {
4755
4755
  l.value === "question" && t.emit("reject"), t.emit("close");
4756
4756
  }
@@ -4767,7 +4767,7 @@ function rr(e, t, n, a, o) {
4767
4767
  type: "button",
4768
4768
  class: "btn btn-primary btn-lg",
4769
4769
  onClick: w
4770
- }, [s.value]), r.value && i.value.length && i.value.map((k) => v("button", {
4770
+ }, [u.value]), r.value && i.value.length && i.value.map((k) => v("button", {
4771
4771
  type: "button",
4772
4772
  onClick: k.handle,
4773
4773
  class: k.class
@@ -4813,12 +4813,12 @@ const Dt = /* @__PURE__ */ ne({
4813
4813
  "flex-row": !0
4814
4814
  }, k = `messager-type-${a.value}`;
4815
4815
  return w[k] = !0, w;
4816
- }), u = N(() => {
4816
+ }), s = N(() => {
4817
4817
  const w = {
4818
4818
  cursor: "default"
4819
4819
  };
4820
4820
  return a.value === "prompt" ? w.padding = "0.5rem 0.5rem 1rem 1.5rem" : a.value === "error" && (w.padding = "0.5rem 1.5rem 1rem 1.5rem"), w;
4821
- }), s = Zi(), c = er(e, a, o, l), g = tr(), {
4821
+ }), u = Zi(), c = er(e, a, o, l), g = tr(), {
4822
4822
  feedbackStyle: m,
4823
4823
  feedbackMessage: r
4824
4824
  } = g;
@@ -4836,7 +4836,7 @@ const Dt = /* @__PURE__ */ ne({
4836
4836
  return lr(e, a, o, l, n);
4837
4837
  }
4838
4838
  }
4839
- const b = d(), p = rr(e, t, s, g, n);
4839
+ const b = d(), p = rr(e, t, u, g, n);
4840
4840
  return () => v("div", {
4841
4841
  class: "farris-messager"
4842
4842
  }, [!e.exceptionInfo && v("div", {
@@ -4844,21 +4844,21 @@ const Dt = /* @__PURE__ */ ne({
4844
4844
  class: "messager-draggable"
4845
4845
  }, null), v("section", {
4846
4846
  class: i.value,
4847
- style: u.value
4847
+ style: s.value
4848
4848
  }, [b()]), p(), f()]);
4849
4849
  }
4850
4850
  }), De = class De {
4851
4851
  static show(t) {
4852
- const n = Ge({
4852
+ const n = Ue({
4853
4853
  ...t
4854
4854
  }), a = !1, o = n.type === "error" || n.type === "prompt", l = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", i = n.acceptCallback || (() => {
4855
- }), u = n.rejectCallback || (() => {
4855
+ }), s = n.rejectCallback || (() => {
4856
4856
  });
4857
- let s = null, c = new ta(De.app);
4857
+ let u = null, c = new ta(De.app);
4858
4858
  const g = () => {
4859
- s && (s == null || s.destroy(), c = null);
4859
+ u && (u == null || u.destroy(), c = null);
4860
4860
  };
4861
- return s = c == null ? void 0 : c.open({
4861
+ return u = c == null ? void 0 : c.open({
4862
4862
  class: "modal-message modal-message-type-info",
4863
4863
  title: l,
4864
4864
  showButtons: a,
@@ -4870,13 +4870,13 @@ const Dt = /* @__PURE__ */ ne({
4870
4870
  dragHandle: ".messager-draggable",
4871
4871
  render: () => v(Dt, mt(n, {
4872
4872
  onAccept: i,
4873
- onReject: u,
4873
+ onReject: s,
4874
4874
  onClose: g
4875
4875
  }), null)
4876
4876
  }), c == null ? void 0 : c.getCurrentModal();
4877
4877
  }
4878
4878
  static info(t, n) {
4879
- const a = Ge({
4879
+ const a = Ue({
4880
4880
  type: "info",
4881
4881
  title: t,
4882
4882
  detail: n,
@@ -4886,7 +4886,7 @@ const Dt = /* @__PURE__ */ ne({
4886
4886
  De.show(a);
4887
4887
  }
4888
4888
  static warning(t, n) {
4889
- const a = Ge({
4889
+ const a = Ue({
4890
4890
  type: "warning",
4891
4891
  title: t,
4892
4892
  detail: n,
@@ -4896,7 +4896,7 @@ const Dt = /* @__PURE__ */ ne({
4896
4896
  De.show(a);
4897
4897
  }
4898
4898
  static success(t, n) {
4899
- const a = Ge({
4899
+ const a = Ue({
4900
4900
  type: "success",
4901
4901
  title: t,
4902
4902
  detail: n,
@@ -4906,7 +4906,7 @@ const Dt = /* @__PURE__ */ ne({
4906
4906
  De.show(a);
4907
4907
  }
4908
4908
  static error(t, n, a) {
4909
- const o = Ge({
4909
+ const o = Ue({
4910
4910
  width: 500,
4911
4911
  type: "error",
4912
4912
  okButtonText: "关闭",
@@ -4920,7 +4920,7 @@ const Dt = /* @__PURE__ */ ne({
4920
4920
  De.show(o);
4921
4921
  }
4922
4922
  static prompt(t, n) {
4923
- const a = Ge({
4923
+ const a = Ue({
4924
4924
  type: "prompt",
4925
4925
  title: t,
4926
4926
  detail: n,
@@ -4930,7 +4930,7 @@ const Dt = /* @__PURE__ */ ne({
4930
4930
  De.show(a);
4931
4931
  }
4932
4932
  static question(t, n, a, o) {
4933
- const l = Ge({
4933
+ const l = Ue({
4934
4934
  type: "question",
4935
4935
  title: t,
4936
4936
  detail: n,
@@ -4971,12 +4971,12 @@ function la(e, t) {
4971
4971
  return { judgeCanOpen: n };
4972
4972
  }
4973
4973
  function ur(e, t, n, a, o) {
4974
- const l = C(e.buttonBehavior), i = C(e.popupOnInput), u = N(() => ({
4974
+ const l = C(e.buttonBehavior), i = C(e.popupOnInput), s = N(() => ({
4975
4975
  "input-group-append": !0,
4976
4976
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
4977
- })), { judgeCanOpen: s } = la(e, o), c = N(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = Ce(oa, null), m = C();
4977
+ })), { judgeCanOpen: u } = la(e, o), c = N(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), g = Ce(oa, null), m = C();
4978
4978
  async function r(b) {
4979
- if (await s() && c.value) {
4979
+ if (await u() && c.value) {
4980
4980
  const p = !!t.slots.default;
4981
4981
  if (l.value === "Modal") {
4982
4982
  const w = e.modalOptions, k = g == null ? void 0 : g.open({
@@ -5000,7 +5000,7 @@ function ur(e, t, n, a, o) {
5000
5000
  t.emit("mouseLeaveIcon", b);
5001
5001
  }
5002
5002
  return {
5003
- buttonGroupClass: u,
5003
+ buttonGroupClass: s,
5004
5004
  onClickButton: r,
5005
5005
  onMouseEnterButton: f,
5006
5006
  onMouseLeaveButton: d,
@@ -5008,7 +5008,7 @@ function ur(e, t, n, a, o) {
5008
5008
  };
5009
5009
  }
5010
5010
  function cr(e, t, n, a, o, l) {
5011
- const i = C(!1), u = N(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: s, hasClearClass: c } = l;
5011
+ const i = C(!1), s = N(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u, hasClearClass: c } = l;
5012
5012
  function g(d) {
5013
5013
  i.value = d, c.value = d;
5014
5014
  }
@@ -5017,10 +5017,10 @@ function cr(e, t, n, a, o, l) {
5017
5017
  });
5018
5018
  function m(d) {
5019
5019
  const b = !e.readonly && !e.disable && e.editable, p = !e.editable;
5020
- d.stopPropagation(), (b || p) && (s(""), o.value = "", g(!i.value), t.emit("clear"));
5020
+ d.stopPropagation(), (b || p) && (u(""), o.value = "", g(!i.value), t.emit("clear"));
5021
5021
  }
5022
5022
  function r(d) {
5023
- if (u.value) {
5023
+ if (s.value) {
5024
5024
  if (!n.value) {
5025
5025
  g(!1);
5026
5026
  return;
@@ -5029,10 +5029,10 @@ function cr(e, t, n, a, o, l) {
5029
5029
  }
5030
5030
  }
5031
5031
  function f(d) {
5032
- u.value && g(!1);
5032
+ s.value && g(!1);
5033
5033
  }
5034
5034
  return {
5035
- enableClearButton: u,
5035
+ enableClearButton: s,
5036
5036
  showClearButton: i,
5037
5037
  onClearValue: m,
5038
5038
  onMouseEnterTextBox: r,
@@ -5040,7 +5040,7 @@ function cr(e, t, n, a, o, l) {
5040
5040
  };
5041
5041
  }
5042
5042
  function dr(e, t, n, a, o) {
5043
- const l = N(() => e.popupOnInput), i = N(() => e.popupOnFocus), { shouldPopupContent: u, closeAllPopover: s } = o, c = C(!1), g = N(() => e.enableTitle ? n.value : ""), m = N(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), r = N(() => e.readonly || !e.editable), f = C(!1), d = N(() => !e.disable && f.value), b = N(() => ({
5043
+ const l = N(() => e.popupOnInput), i = N(() => e.popupOnFocus), { shouldPopupContent: s, closeAllPopover: u } = o, c = C(!1), g = N(() => e.enableTitle ? n.value : ""), m = N(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), r = N(() => e.readonly || !e.editable), f = C(!1), d = N(() => !e.disable && f.value), b = N(() => ({
5044
5044
  "text-left": e.textAlign === "left",
5045
5045
  "text-center": e.textAlign === "center",
5046
5046
  "text-right": e.textAlign === "right",
@@ -5058,7 +5058,7 @@ function dr(e, t, n, a, o) {
5058
5058
  n.value = T, O && (t.emit("change", T), t.emit("update:modelValue", T));
5059
5059
  }
5060
5060
  function k(T) {
5061
- u.value = !1, w(T, !0);
5061
+ s.value = !1, w(T, !0);
5062
5062
  }
5063
5063
  Q(
5064
5064
  () => e.modelValue,
@@ -5070,15 +5070,15 @@ function dr(e, t, n, a, o) {
5070
5070
  f.value = !1, t.emit("blur", T), T.stopPropagation();
5071
5071
  }
5072
5072
  function S(T) {
5073
- t.emit("click", T), s(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
5073
+ t.emit("click", T), u(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && o.togglePopup();
5074
5074
  }
5075
5075
  function h(T) {
5076
- !e.disable && !e.readonly && (f.value = !0, r.value || (t.emit("focus", T), i.value && !u.value && o.popup()));
5076
+ !e.disable && !e.readonly && (f.value = !0, r.value || (t.emit("focus", T), i.value && !s.value && o.popup()));
5077
5077
  }
5078
5078
  function y(T) {
5079
5079
  t.emit("input", T);
5080
5080
  const O = T.target.value;
5081
- a.value = O, n.value !== O && w(O, e.updateOn === "change"), l.value && !u.value && o.popup();
5081
+ a.value = O, n.value !== O && w(O, e.updateOn === "change"), l.value && !s.value && o.popup();
5082
5082
  }
5083
5083
  function x(T) {
5084
5084
  T.target.tagName !== "INPUT" && T.preventDefault(), T.stopPropagation();
@@ -5119,7 +5119,7 @@ function fr(e, t, n, a) {
5119
5119
  Q(() => o.value, (f, d) => {
5120
5120
  window[tt] = window[tt] || /* @__PURE__ */ new WeakMap(), f ? window[tt].set(n.value, f) : window[tt].delete(n.value);
5121
5121
  });
5122
- function u() {
5122
+ function s() {
5123
5123
  if (window[tt]) {
5124
5124
  const f = window[tt];
5125
5125
  document.querySelectorAll(".f-button-edit,.v-popover").forEach((d) => {
@@ -5128,7 +5128,7 @@ function fr(e, t, n, a) {
5128
5128
  });
5129
5129
  }
5130
5130
  }
5131
- function s() {
5131
+ function u() {
5132
5132
  const f = o.value;
5133
5133
  f && f.show(n.value);
5134
5134
  }
@@ -5136,33 +5136,33 @@ function fr(e, t, n, a) {
5136
5136
  if (!!t.slots.default) {
5137
5137
  if (!f && !l.value && !await i())
5138
5138
  return;
5139
- l.value = !l.value, await Ue(), s();
5139
+ l.value = !l.value, await Ge(), u();
5140
5140
  }
5141
5141
  }
5142
5142
  async function g(f = !1) {
5143
5143
  if (!!t.slots.default) {
5144
5144
  if (!f && !await i())
5145
5145
  return;
5146
- l.value = !0, await Ue(), s();
5146
+ l.value = !0, await Ge(), u();
5147
5147
  }
5148
5148
  }
5149
5149
  function m() {
5150
5150
  l.value = !1;
5151
5151
  }
5152
5152
  function r() {
5153
- l.value = !0, Ue(() => {
5154
- s();
5153
+ l.value = !0, Ge(() => {
5154
+ u();
5155
5155
  });
5156
5156
  }
5157
- return { hidePopup: m, showPopup: r, popup: g, shouldPopupContent: l, togglePopup: c, popoverRef: o, closeAllPopover: u };
5157
+ return { hidePopup: m, showPopup: r, popup: g, shouldPopupContent: l, togglePopup: c, popoverRef: o, closeAllPopover: s };
5158
5158
  }
5159
5159
  function pr(e, t, n) {
5160
5160
  const a = C(), {
5161
5161
  isTextBoxReadonly: o,
5162
5162
  textBoxClass: l,
5163
5163
  textBoxPlaceholder: i,
5164
- textBoxTitle: u,
5165
- onBlurTextBox: s,
5164
+ textBoxTitle: s,
5165
+ onBlurTextBox: u,
5166
5166
  onClickTextBox: c,
5167
5167
  onFocusTextBox: g,
5168
5168
  onInput: m,
@@ -5203,10 +5203,10 @@ function pr(e, t, n) {
5203
5203
  placeholder: i.value,
5204
5204
  readonly: o.value,
5205
5205
  tabindex: e.tabIndex,
5206
- title: u.value,
5206
+ title: s.value,
5207
5207
  type: e.inputType,
5208
5208
  value: t.value,
5209
- onBlur: s,
5209
+ onBlur: u,
5210
5210
  onChange: b,
5211
5211
  onClick: c,
5212
5212
  onFocus: g,
@@ -5222,8 +5222,8 @@ function mr(e, t, n) {
5222
5222
  const a = C(e.separator), o = N(() => e.readonly || e.disable), {
5223
5223
  changeTextBoxValue: l,
5224
5224
  onFocusTextBox: i,
5225
- onBlurTextBox: u,
5226
- onClickTextBox: s,
5225
+ onBlurTextBox: s,
5226
+ onClickTextBox: u,
5227
5227
  textBoxPlaceholder: c
5228
5228
  } = n, g = N(() => t.value ? t.value.split(a.value).map((d) => ({
5229
5229
  name: d,
@@ -5240,12 +5240,12 @@ function mr(e, t, n) {
5240
5240
  r.value = !d && !b;
5241
5241
  });
5242
5242
  function f(d) {
5243
- s(d);
5243
+ u(d);
5244
5244
  }
5245
5245
  return () => v(Ya, {
5246
5246
  tabindex: e.tabIndex,
5247
5247
  onFocus: i,
5248
- onBlur: u,
5248
+ onBlur: s,
5249
5249
  id: `${e.id}-tag-editor`,
5250
5250
  class: "form-control",
5251
5251
  placeholder: c.value,
@@ -5262,9 +5262,9 @@ function yr(e, t, n, a) {
5262
5262
  buttonGroupClass: o,
5263
5263
  onClickButton: l,
5264
5264
  onMouseEnterButton: i,
5265
- onMouseLeaveButton: u
5265
+ onMouseLeaveButton: s
5266
5266
  } = n, {
5267
- enableClearButton: s,
5267
+ enableClearButton: u,
5268
5268
  showClearButton: c,
5269
5269
  onClearValue: g
5270
5270
  } = a, m = C(), r = Nn((d) => {
@@ -5276,7 +5276,7 @@ function yr(e, t, n, a) {
5276
5276
  renderButtonGroup: () => v("div", {
5277
5277
  id: e.id ? `${e.id}-button-group` : void 0,
5278
5278
  class: o.value
5279
- }, [s.value && Pn(v("span", {
5279
+ }, [u.value && Pn(v("span", {
5280
5280
  class: "input-group-text input-group-clear",
5281
5281
  onClick: g,
5282
5282
  onMousedown: f
@@ -5286,14 +5286,14 @@ function yr(e, t, n, a) {
5286
5286
  class: "input-group-text input-group-append-button",
5287
5287
  onClick: r,
5288
5288
  onMouseenter: i,
5289
- onMouseleave: u
5289
+ onMouseleave: s
5290
5290
  }, [t.slots.buttonContent()]) : e.buttonContent ? v("span", {
5291
5291
  class: "input-group-text input-group-append-button",
5292
5292
  innerHTML: e.buttonContent,
5293
5293
  ref: m,
5294
5294
  onClick: (d) => r(d),
5295
5295
  onMouseenter: i,
5296
- onMouseleave: u
5296
+ onMouseleave: s
5297
5297
  }, null) : null]),
5298
5298
  buttonHandleElement: m
5299
5299
  };
@@ -5322,8 +5322,8 @@ function vr(e, t, n) {
5322
5322
  limitContentBySpace: e.limitContentBySpace
5323
5323
  }, {
5324
5324
  default: () => {
5325
- var u, s;
5326
- return [(s = (u = t.slots).default) == null ? void 0 : s.call(u)];
5325
+ var s, u;
5326
+ return [(u = (s = t.slots).default) == null ? void 0 : u.call(s)];
5327
5327
  }
5328
5328
  });
5329
5329
  }
@@ -5334,8 +5334,8 @@ const Lt = /* @__PURE__ */ ne({
5334
5334
  setup(e, t) {
5335
5335
  const n = C(), a = C(e.customClass), o = C(e.modelValue), l = fr(e, t, n, o), {
5336
5336
  shouldPopupContent: i,
5337
- hidePopup: u,
5338
- showPopup: s,
5337
+ hidePopup: s,
5338
+ showPopup: u,
5339
5339
  togglePopup: c
5340
5340
  } = l, g = ur(e, t, n, l, o), m = C(""), r = dr(e, t, o, m, l), {
5341
5341
  hasFocusedTextBox: f,
@@ -5387,8 +5387,8 @@ const Lt = /* @__PURE__ */ ne({
5387
5387
  displayText: m,
5388
5388
  commitValue: d,
5389
5389
  elementRef: n,
5390
- hidePopup: u,
5391
- showPopup: s,
5390
+ hidePopup: s,
5391
+ showPopup: u,
5392
5392
  popoverRef: l.popoverRef,
5393
5393
  shouldPopupContent: i,
5394
5394
  togglePopup: c,
@@ -5885,6 +5885,10 @@ const ra = {
5885
5885
  description: "清空事件",
5886
5886
  type: "string",
5887
5887
  default: ""
5888
+ },
5889
+ "onUpdate:modelValue": {
5890
+ description: "",
5891
+ type: "object"
5888
5892
  }
5889
5893
  }, Dr = [
5890
5894
  "type"
@@ -6112,7 +6116,7 @@ const pn = {
6112
6116
  props: Vr,
6113
6117
  emits: ["selectionChange"],
6114
6118
  setup(e, t) {
6115
- const n = C(), a = C(e.dataSource), o = C([]), l = C(e.separator), i = C(e.width), u = C(e.maxHeight), s = C(String(e.selectedValues).split(l.value)), c = N(() => e.multiSelect), g = N(() => ({
6119
+ const n = C(), a = C(e.dataSource), o = C([]), l = C(e.separator), i = C(e.width), s = C(e.maxHeight), u = C(String(e.selectedValues).split(l.value)), c = N(() => e.multiSelect), g = N(() => ({
6116
6120
  enableSelectRow: !0,
6117
6121
  multiSelect: e.multiSelect,
6118
6122
  multiSelectMode: "OnCheckAndClick",
@@ -6125,13 +6129,13 @@ const pn = {
6125
6129
  }), N(() => e.enableSearch ? "SearchBar" : "ContentHeader");
6126
6130
  const m = N(() => {
6127
6131
  const p = {};
6128
- return i.value !== void 0 && (p.width = `${i.value}px`), u.value !== void 0 && u.value > 0 && (p.maxHeight = `${u.value}px`), p;
6132
+ return i.value !== void 0 && (p.width = `${i.value}px`), s.value !== void 0 && s.value > 0 && (p.maxHeight = `${s.value}px`), p;
6129
6133
  });
6130
6134
  function r(p) {
6131
6135
  n.value.search(p);
6132
6136
  }
6133
6137
  function f(p) {
6134
- o.value = p.map((w) => Object.assign({}, w)), s.value = p.map((w) => w[e.idField]), t.emit("selectionChange", o.value);
6138
+ o.value = p.map((w) => Object.assign({}, w)), u.value = p.map((w) => w[e.idField]), t.emit("selectionChange", o.value);
6135
6139
  }
6136
6140
  function d(p) {
6137
6141
  if (e.enableHighlightSearch)
@@ -6143,7 +6147,7 @@ const pn = {
6143
6147
  typeof k == "function" ? w = a.value.filter((B) => k(p, B)) : w = a.value.filter((B) => B[e.valueField].indexOf(p) > -1 || B[e.textField].indexOf(p) > -1), n.value.updateDataSource(w);
6144
6148
  }
6145
6149
  Q([() => e.selectedValues], ([p]) => {
6146
- e.multiSelect ? s.value = p.split(l.value) : s.value = [p];
6150
+ e.multiSelect ? u.value = p.split(l.value) : u.value = [p];
6147
6151
  });
6148
6152
  function b(p) {
6149
6153
  n.value.activeRowById(p);
@@ -6151,7 +6155,7 @@ const pn = {
6151
6155
  return ve(() => {
6152
6156
  var p, w;
6153
6157
  if (!e.multiSelect) {
6154
- const k = (p = s.value) == null ? void 0 : p[0];
6158
+ const k = (p = u.value) == null ? void 0 : p[0];
6155
6159
  let B = k;
6156
6160
  if (!Ne(k)) {
6157
6161
  const S = typeof k, h = typeof ((w = a.value[0]) == null ? void 0 : w[e.valueField || e.idField]);
@@ -6178,7 +6182,7 @@ const pn = {
6178
6182
  multiSelect: e.multiSelect,
6179
6183
  selection: g.value,
6180
6184
  enableHighlightSearch: e.enableHighlightSearch,
6181
- selectionValues: s.value,
6185
+ selectionValues: u.value,
6182
6186
  onSelectionUpdate: f,
6183
6187
  onAfterSearch: d
6184
6188
  }, null)]);
@@ -6193,11 +6197,11 @@ function Ar(e) {
6193
6197
  return B - S;
6194
6198
  });
6195
6199
  }
6196
- function u(r) {
6200
+ function s(r) {
6197
6201
  const f = i(r).map((d) => d[e.textField]).join(e.separator);
6198
6202
  n.value = l.value ? f || r : f;
6199
6203
  }
6200
- function s(r) {
6204
+ function u(r) {
6201
6205
  if (e.multiSelect) {
6202
6206
  const f = r.split(e.separator).map((b) => [b, !0]), d = new Map(f);
6203
6207
  return o.value.filter((b) => d.has(b[e.textField]));
@@ -6209,7 +6213,7 @@ function Ar(e) {
6209
6213
  return f[e.idField] = r, f[e.textField] = r, [f];
6210
6214
  }
6211
6215
  function g(r) {
6212
- let f = s(r);
6216
+ let f = u(r);
6213
6217
  const d = f && f.length > 0;
6214
6218
  return l.value && !d && (f = c(r)), f;
6215
6219
  }
@@ -6242,8 +6246,8 @@ function Ar(e) {
6242
6246
  f && (n.value = f[e.textField]);
6243
6247
  }
6244
6248
  }), Q(() => e.modelValue, (r) => {
6245
- a.value = r, u(r);
6246
- }), u(e.modelValue), { dataSource: o, displayText: n, editable: l, modelValue: a, getItemsByDisplayText: s, getItemsByValue: i, getSelectedItemsByDisplayText: g };
6249
+ a.value = r, s(r);
6250
+ }), s(e.modelValue), { dataSource: o, displayText: n, editable: l, modelValue: a, getItemsByDisplayText: u, getItemsByValue: i, getSelectedItemsByDisplayText: g };
6247
6251
  }
6248
6252
  const lt = /* @__PURE__ */ ne({
6249
6253
  name: "FComboList",
@@ -6252,7 +6256,7 @@ const lt = /* @__PURE__ */ ne({
6252
6256
  setup(e, t) {
6253
6257
  const {
6254
6258
  t: n
6255
- } = Ft(), a = C(), o = C(), l = C(e.disabled || e.readonly), i = C(e.enableClear), u = C(e.enableSearch), s = C(e.readonly), {
6259
+ } = Ft(), a = C(), o = C(), l = C(e.disabled || e.readonly), i = C(e.enableClear), s = C(e.enableSearch), u = C(e.readonly), {
6256
6260
  dataSource: c,
6257
6261
  displayText: g,
6258
6262
  editable: m,
@@ -6276,7 +6280,7 @@ const lt = /* @__PURE__ */ ne({
6276
6280
  S(H);
6277
6281
  }
6278
6282
  function y() {
6279
- s.value || g.value;
6283
+ u.value || g.value;
6280
6284
  }
6281
6285
  function x(H) {
6282
6286
  var R;
@@ -6288,8 +6292,8 @@ const lt = /* @__PURE__ */ ne({
6288
6292
  }
6289
6293
  function D(H) {
6290
6294
  if (e.multiSelect) {
6291
- const R = b(r.value), U = R.map((W) => W[e.idField || e.valueField]).join(e.separator);
6292
- r.value !== U && (r.value = U, t.emit("update:modelValue", r.value), t.emit("change", R, r.value));
6295
+ const R = b(r.value), G = R.map((W) => W[e.idField || e.valueField]).join(e.separator);
6296
+ r.value !== G && (r.value = G, t.emit("update:modelValue", r.value), t.emit("change", R, r.value));
6293
6297
  }
6294
6298
  }
6295
6299
  function P() {
@@ -6323,13 +6327,13 @@ const lt = /* @__PURE__ */ ne({
6323
6327
  instance: L
6324
6328
  })).then((j) => typeof (j == null ? void 0 : j.canOpen) == "boolean" ? j == null ? void 0 : j.canOpen : !0);
6325
6329
  }
6326
- return Q([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([H, R, j, U, W]) => {
6327
- l.value = H, m.value = R, i.value = j, u.value = U, s.value = W;
6330
+ return Q([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([H, R, j, G, W]) => {
6331
+ l.value = H, m.value = R, i.value = j, s.value = G, u.value = W;
6328
6332
  }), () => v($n, {
6329
6333
  ref: o,
6330
6334
  id: e.id,
6331
6335
  disable: l.value,
6332
- readonly: s.value,
6336
+ readonly: u.value,
6333
6337
  forcePlaceholder: e.forcePlaceholder,
6334
6338
  editable: m.value,
6335
6339
  buttonContent: p.value,
@@ -6366,7 +6370,7 @@ const lt = /* @__PURE__ */ ne({
6366
6370
  selectedValues: r.value,
6367
6371
  separator: e.separator,
6368
6372
  multiSelect: e.multiSelect,
6369
- enableSearch: u.value,
6373
+ enableSearch: s.value,
6370
6374
  maxHeight: e.maxHeight,
6371
6375
  enableHighlightSearch: e.enableHighlightSearch,
6372
6376
  width: e.fitEditor ? k.value : void 0,
@@ -6387,7 +6391,7 @@ class zr extends Ro {
6387
6391
  super(t, n);
6388
6392
  }
6389
6393
  getCommonEditorProperties(t) {
6390
- var n, a, o, l, i;
6394
+ var n, a, o, l, i, s;
6391
6395
  return {
6392
6396
  viewType: {
6393
6397
  visible: !!((n = t.editor) != null && n.multiSelect),
@@ -6421,10 +6425,10 @@ class zr extends Ro {
6421
6425
  title: "允许编辑",
6422
6426
  type: "boolean",
6423
6427
  refreshPanelAfterChanged: !0,
6424
- readonly: !!((l = t.editor) != null && l.multiSelect)
6428
+ readonly: !!((l = t.editor) != null && l.multiSelect) && (((i = t.editor) == null ? void 0 : i.viewType) === "tag" || !t.editor.viewType)
6425
6429
  },
6426
6430
  enableHighlightSearch: {
6427
- visible: !!((i = t.editor) != null && i.editable),
6431
+ visible: !!((s = t.editor) != null && s.editable),
6428
6432
  description: "编辑状态下启用高亮搜索",
6429
6433
  title: "启用高亮搜索",
6430
6434
  type: "boolean"
@@ -6436,8 +6440,8 @@ class zr extends Ro {
6436
6440
  const n = this;
6437
6441
  let a = "";
6438
6442
  if (((l = t == null ? void 0 : t.binding) == null ? void 0 : l.type) === "Form") {
6439
- const u = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
6440
- (i = u == null ? void 0 : u.schemaField) != null && i.type && (a = u.schemaField.type.$type);
6443
+ const s = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
6444
+ (i = s == null ? void 0 : s.schemaField) != null && i.type && (a = s.schemaField.type.$type);
6441
6445
  }
6442
6446
  return n.getComponentConfig(t, { type: "combo-list" }, {
6443
6447
  // enableSearch: {
@@ -6531,31 +6535,31 @@ class zr extends Ro {
6531
6535
  }
6532
6536
  },
6533
6537
  ...this.getCommonEditorProperties(t)
6534
- }, (u, s) => {
6535
- if (!u || !s.editor)
6538
+ }, (s, u) => {
6539
+ if (!s || !u.editor)
6536
6540
  return;
6537
6541
  const c = this;
6538
- switch (u.propertyID) {
6542
+ switch (s.propertyID) {
6539
6543
  case "dataSourceType": {
6540
- u.propertyValue === "static" ? (s.editor.valueField = "value", s.editor.textField = "name", s.editor.remote = null) : u.propertyValue === "dynamic" && (s.editor.remote = { method: "GET" }, s.editor.valueField = "value", s.editor.textField = "name");
6544
+ s.propertyValue === "static" ? (u.editor.valueField = "value", u.editor.textField = "name", u.editor.remote = null) : s.propertyValue === "dynamic" && (u.editor.remote = { method: "GET" }, u.editor.valueField = "value", u.editor.textField = "name");
6541
6545
  break;
6542
6546
  }
6543
6547
  case "data": {
6544
- !c.checkEnumDataReadonly(s) && s.formatter && (s.formatter.data = [...u.propertyValue]);
6548
+ !c.checkEnumDataReadonly(u) && u.formatter && (u.formatter.data = [...s.propertyValue]);
6545
6549
  break;
6546
6550
  }
6547
6551
  case "viewType":
6548
- u.propertyValue === "tag" && (s.editor.editable = !1);
6552
+ s.propertyValue === "tag" && (u.editor.editable = !1);
6549
6553
  }
6550
6554
  });
6551
6555
  }
6552
6556
  getGridFieldEdtiorProperties(t, n) {
6553
- var i, u, s, c, g, m;
6557
+ var i, s, u, c, g, m;
6554
6558
  const a = this;
6555
6559
  let o = "";
6556
6560
  if (((i = t == null ? void 0 : t.binding) == null ? void 0 : i.type) === "Form") {
6557
6561
  const r = this.schemaService.getFieldByIDAndVMID(t.binding.field, this.viewModelId);
6558
- (u = r == null ? void 0 : r.schemaField) != null && u.type && (o = r.schemaField.type.$type);
6562
+ (s = r == null ? void 0 : r.schemaField) != null && s.type && (o = r.schemaField.type.$type);
6559
6563
  }
6560
6564
  return a.getComponentConfig(t, { type: "combo-list" }, {
6561
6565
  // editable: {
@@ -6586,7 +6590,7 @@ class zr extends Ro {
6586
6590
  description: "",
6587
6591
  title: "数据",
6588
6592
  type: "array",
6589
- visible: !((s = t.editor) != null && s.dataSourceType) || ((c = t.editor) == null ? void 0 : c.dataSourceType) === "static",
6593
+ visible: !((u = t.editor) != null && u.dataSourceType) || ((c = t.editor) == null ? void 0 : c.dataSourceType) === "static",
6590
6594
  ...a.getItemCollectionEditor(t, (g = t.editor) == null ? void 0 : g.valueField, (m = t.editor) == null ? void 0 : m.textField),
6591
6595
  // 这个属性,标记当属性变更得时候触发重新更新属性
6592
6596
  refreshPanelAfterChanged: !0
@@ -6659,7 +6663,7 @@ class zr extends Ro {
6659
6663
  var l;
6660
6664
  super.changeBindingField(t, n);
6661
6665
  const o = a;
6662
- t.editor && ((l = o == null ? void 0 : o.type) == null ? void 0 : l.$type) === Ga.EnumType && (t.editor.data = o.type.enumValues || []);
6666
+ t.editor && ((l = o == null ? void 0 : o.type) == null ? void 0 : l.$type) === Ua.EnumType && (t.editor.data = o.type.enumValues || []);
6663
6667
  }
6664
6668
  /**
6665
6669
  * 组装输入类控件的交互面板:包含标签超链、绑定字段值变化前后事件等。
@@ -6685,11 +6689,11 @@ class zr extends Ro {
6685
6689
  }
6686
6690
  ];
6687
6691
  a && (i = i.concat(a)), this.appendFieldValueChangeEvents(t, i);
6688
- const u = l.eventsEditorUtils.formProperties(t, l.viewModelId, i);
6692
+ const s = l.eventsEditorUtils.formProperties(t, l.viewModelId, i);
6689
6693
  return {
6690
6694
  title: "事件",
6691
6695
  hideTitle: !0,
6692
- properties: l.createBaseEventProperty(u),
6696
+ properties: l.createBaseEventProperty(s),
6693
6697
  tabId: "commands",
6694
6698
  tabName: "交互",
6695
6699
  setPropertyRelates(g, m) {
@@ -6792,7 +6796,7 @@ const qr = {
6792
6796
  function ca(e, t, n) {
6793
6797
  return t;
6794
6798
  }
6795
- const Gr = "https://json-schema.org/draft/2020-12/schema", Ur = "https://farris-design.gitee.io/layout.schema.json", _r = "layout", Yr = "A Farris Container Component", Xr = "object", Jr = {
6799
+ const Ur = "https://json-schema.org/draft/2020-12/schema", Gr = "https://farris-design.gitee.io/layout.schema.json", _r = "layout", Yr = "A Farris Container Component", Xr = "object", Jr = {
6796
6800
  id: {
6797
6801
  description: "The unique identifier for layout component",
6798
6802
  type: "string"
@@ -6840,8 +6844,8 @@ const Gr = "https://json-schema.org/draft/2020-12/schema", Ur = "https://farris-
6840
6844
  "type",
6841
6845
  "contents"
6842
6846
  ], Zr = {
6843
- $schema: Gr,
6844
- $id: Ur,
6847
+ $schema: Ur,
6848
+ $id: Gr,
6845
6849
  title: _r,
6846
6850
  description: Yr,
6847
6851
  type: Xr,
@@ -6892,11 +6896,11 @@ const Gr = "https://json-schema.org/draft/2020-12/schema", Ur = "https://farris-
6892
6896
  customClass: { type: String, defaut: "" }
6893
6897
  }, da = Pe(mn, Zr, ua, ca, as);
6894
6898
  function fa(e) {
6895
- const t = C(-1), n = C(-1), a = C(0), o = C(0), l = C(!1), i = C(!1), u = N(() => ({
6899
+ const t = C(-1), n = C(-1), a = C(0), o = C(0), l = C(!1), i = C(!1), s = N(() => ({
6896
6900
  display: l.value ? "block" : "none",
6897
6901
  left: `${a.value}px`,
6898
6902
  cursor: "e-resize"
6899
- })), s = N(() => ({
6903
+ })), u = N(() => ({
6900
6904
  display: i.value ? "block" : "none",
6901
6905
  top: `${o.value}px`,
6902
6906
  cursor: "n-resize"
@@ -6958,8 +6962,8 @@ function fa(e) {
6958
6962
  }
6959
6963
  }
6960
6964
  return {
6961
- horizontalResizeHandleStyle: u,
6962
- verticalResizeHandleStyle: s,
6965
+ horizontalResizeHandleStyle: s,
6966
+ verticalResizeHandleStyle: u,
6963
6967
  resizeOverlayStyle: c,
6964
6968
  showHorizontalResizeHandle: l,
6965
6969
  showVerticalResizeHandle: i,
@@ -6986,12 +6990,12 @@ const _e = /* @__PURE__ */ ne({
6986
6990
  In("layout", {
6987
6991
  useResizeHandleComposition: a
6988
6992
  });
6989
- const u = N(() => Pt({
6993
+ const s = N(() => Pt({
6990
6994
  "f-layout": !0
6991
- }, e == null ? void 0 : e.customClass)), s = N(() => Ua({}, e == null ? void 0 : e.customStyle));
6995
+ }, e == null ? void 0 : e.customClass)), u = N(() => Ga({}, e == null ? void 0 : e.customStyle));
6992
6996
  return () => v("div", {
6993
- class: u.value,
6994
- style: s.value,
6997
+ class: s.value,
6998
+ style: u.value,
6995
6999
  ref: n
6996
7000
  }, [t.slots.default && t.slots.default(), v("div", {
6997
7001
  class: "f-layout-resize-overlay",
@@ -7203,8 +7207,8 @@ function ma(e, t, n, a, o) {
7203
7207
  const {
7204
7208
  horizontalResizeBarPosition: l,
7205
7209
  horizontalResizeHandleOffset: i,
7206
- showHorizontalResizeHandle: u,
7207
- showVerticalResizeHandle: s,
7210
+ showHorizontalResizeHandle: s,
7211
+ showVerticalResizeHandle: u,
7208
7212
  verticalResizeBarPosition: c,
7209
7213
  verticalResizeHandleOffset: g,
7210
7214
  draggingHorizontalResizeHandle: m,
@@ -7228,10 +7232,10 @@ function ma(e, t, n, a, o) {
7228
7232
  const T = f(b, a.value);
7229
7233
  T != null && (P = T > P ? P : T), t.value = P;
7230
7234
  }
7231
- i.value = 0, g.value = 0, l.value = -1, c.value = -1, u.value = !1, s.value = !1, document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", B), document.body.style.userSelect = "", b = "", p = null, w = null;
7235
+ i.value = 0, g.value = 0, l.value = -1, c.value = -1, s.value = !1, u.value = !1, document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", B), document.body.style.userSelect = "", b = "", p = null, w = null;
7232
7236
  }
7233
7237
  function S(y, x, M) {
7234
- if (b = x, p = M, u.value = !0, w = y.composedPath().find((P) => (P.className || "").split(" ")[0] === "f-layout"), w) {
7238
+ if (b = x, p = M, s.value = !0, w = y.composedPath().find((P) => (P.className || "").split(" ")[0] === "f-layout"), w) {
7235
7239
  const { left: P } = w.getBoundingClientRect(), T = y.clientX - P;
7236
7240
  i.value = T, l.value = T;
7237
7241
  const O = d(b, n.value) || 0;
@@ -7239,7 +7243,7 @@ function ma(e, t, n, a, o) {
7239
7243
  }
7240
7244
  }
7241
7245
  function h(y, x, M) {
7242
- if (b = x, p = M, s.value = !0, w = y.composedPath().find((P) => (P.className || "").split(" ")[0] === "f-layout"), w) {
7246
+ if (b = x, p = M, u.value = !0, w = y.composedPath().find((P) => (P.className || "").split(" ")[0] === "f-layout"), w) {
7243
7247
  const { top: P } = w.getBoundingClientRect();
7244
7248
  g.value = y.clientY - P, c.value = y.clientY - P;
7245
7249
  const T = f(b, a.value) || 0;
@@ -7253,13 +7257,13 @@ const Re = /* @__PURE__ */ ne({
7253
7257
  props: yn,
7254
7258
  emits: [],
7255
7259
  setup(e, t) {
7256
- const n = C(e.minHeight <= 0 ? 100 : e.minHeight), a = C(e.minWidth <= 0 ? 100 : e.minWidth), o = C(e.width <= 0 ? 100 : e.width), l = C(e.height <= 0 ? 100 : e.height), i = C(Math.max(n.value, l.value)), u = C(Math.max(a.value, o.value)), s = C(), c = C(e.position), g = C(e.resizable);
7260
+ const n = C(e.minHeight <= 0 ? 100 : e.minHeight), a = C(e.minWidth <= 0 ? 100 : e.minWidth), o = C(e.width <= 0 ? 100 : e.width), l = C(e.height <= 0 ? 100 : e.height), i = C(Math.max(n.value, l.value)), s = C(Math.max(a.value, o.value)), u = C(), c = C(e.position), g = C(e.resizable);
7257
7261
  Q(() => e.resizable, (h) => {
7258
7262
  g.value = h;
7259
7263
  });
7260
7264
  const m = Ce("layout"), {
7261
7265
  useResizeHandleComposition: r
7262
- } = m, f = ma(u, i, a, n, r), {
7266
+ } = m, f = ma(s, i, a, n, r), {
7263
7267
  onClickHorizontalResizeBar: d,
7264
7268
  onClickVerticalResizeBar: b
7265
7269
  } = f, p = N(() => ({
@@ -7270,7 +7274,7 @@ const Re = /* @__PURE__ */ ne({
7270
7274
  "f-layout-resize-bar-w": c.value === "right"
7271
7275
  })), w = N(() => c.value !== "center" && g.value);
7272
7276
  function k(h, y) {
7273
- (y === "left" || y === "right") && d(h, y, s.value), (y === "top" || y === "bottom") && b(h, y, s.value);
7277
+ (y === "left" || y === "right") && d(h, y, u.value), (y === "top" || y === "bottom") && b(h, y, u.value);
7274
7278
  }
7275
7279
  const B = N(() => {
7276
7280
  const h = {
@@ -7281,10 +7285,10 @@ const Re = /* @__PURE__ */ ne({
7281
7285
  return e.customClass && String(e.customClass).split(" ").reduce((y, x) => (y[x] = !0, y), h), h;
7282
7286
  }), S = N(() => {
7283
7287
  const h = {};
7284
- return (u.value && c.value === "left" || c.value === "right") && (h.width = `${u.value}px`), (i.value && c.value === "bottom" || c.value === "top") && (h.height = `${i.value}px`), e.visible || (h.display = "none"), h;
7288
+ return (s.value && c.value === "left" || c.value === "right") && (h.width = `${s.value}px`), (i.value && c.value === "bottom" || c.value === "top") && (h.height = `${i.value}px`), e.visible || (h.display = "none"), h;
7285
7289
  });
7286
7290
  return () => v("div", {
7287
- ref: s,
7291
+ ref: u,
7288
7292
  class: B.value,
7289
7293
  style: S.value,
7290
7294
  "data-position": c.value
@@ -7309,8 +7313,8 @@ const gs = /* @__PURE__ */ ne({
7309
7313
  const n = C(), a = Ce("design-item-context"), o = hs(a.schema, (g = a.parent) == null ? void 0 : g.schema), l = dn(n, a, o);
7310
7314
  l.value.canNested = !1;
7311
7315
  const i = fa(n), {
7312
- horizontalResizeHandleStyle: u,
7313
- verticalResizeHandleStyle: s,
7316
+ horizontalResizeHandleStyle: s,
7317
+ verticalResizeHandleStyle: u,
7314
7318
  resizeOverlayStyle: c
7315
7319
  } = i;
7316
7320
  return In("layout", {
@@ -7325,10 +7329,10 @@ const gs = /* @__PURE__ */ ne({
7325
7329
  style: c.value
7326
7330
  }, null), v("div", {
7327
7331
  class: "f-layout-horizontal-resize-proxy",
7328
- style: u.value
7332
+ style: s.value
7329
7333
  }, null), v("div", {
7330
7334
  class: "f-layout-vertical-resize-proxy",
7331
- style: s.value
7335
+ style: u.value
7332
7336
  }, null)]);
7333
7337
  }
7334
7338
  });
@@ -7354,9 +7358,9 @@ const Cs = /* @__PURE__ */ ne({
7354
7358
  i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, ve(() => {
7355
7359
  a.value.componentInstance = i;
7356
7360
  }), t.expose(i.value);
7357
- const u = C(Math.max(e.minHeight, e.height)), s = C(Math.max(e.minWidth, e.width)), c = C(e.minHeight), g = C(e.minWidth), m = C(e.position), r = Ce("layout"), {
7361
+ const s = C(Math.max(e.minHeight, e.height)), u = C(Math.max(e.minWidth, e.width)), c = C(e.minHeight), g = C(e.minWidth), m = C(e.position), r = Ce("layout"), {
7358
7362
  useResizeHandleComposition: f
7359
- } = r, d = ma(s, u, g, c, f), {
7363
+ } = r, d = ma(u, s, g, c, f), {
7360
7364
  onClickHorizontalResizeBar: b,
7361
7365
  onClickVerticalResizeBar: p
7362
7366
  } = d, w = N(() => ({
@@ -7380,7 +7384,7 @@ const Cs = /* @__PURE__ */ ne({
7380
7384
  const h = {
7381
7385
  flex: "1"
7382
7386
  };
7383
- return (s.value && m.value === "left" || m.value === "right") && (h.width = `${s.value}px`), (u.value && m.value === "bottom" || m.value === "top") && (h.height = `${u.value}px`), h;
7387
+ return (u.value && m.value === "left" || m.value === "right") && (h.width = `${u.value}px`), (s.value && m.value === "bottom" || m.value === "top") && (h.height = `${s.value}px`), h;
7384
7388
  });
7385
7389
  return () => v("div", {
7386
7390
  ref: n,
@@ -9578,10 +9582,10 @@ function js(e, t) {
9578
9582
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(e)))) {
9579
9583
  var n = [], a = !0, o = !1, l = void 0;
9580
9584
  try {
9581
- for (var i = e[Symbol.iterator](), u; !(a = (u = i.next()).done) && (n.push(u.value), !(t && n.length === t)); a = !0)
9585
+ for (var i = e[Symbol.iterator](), s; !(a = (s = i.next()).done) && (n.push(s.value), !(t && n.length === t)); a = !0)
9582
9586
  ;
9583
- } catch (s) {
9584
- o = !0, l = s;
9587
+ } catch (u) {
9588
+ o = !0, l = u;
9585
9589
  } finally {
9586
9590
  try {
9587
9591
  !a && i.return != null && i.return();
@@ -9652,9 +9656,9 @@ function wt(e) {
9652
9656
  for (var n = this, a = arguments.length, o = new Array(a), l = 0; l < a; l++)
9653
9657
  o[l] = arguments[l];
9654
9658
  return o.length >= e.length ? e.apply(this, o) : function() {
9655
- for (var i = arguments.length, u = new Array(i), s = 0; s < i; s++)
9656
- u[s] = arguments[s];
9657
- return t.apply(n, [].concat(o, u));
9659
+ for (var i = arguments.length, s = new Array(i), u = 0; u < i; u++)
9660
+ s[u] = arguments[u];
9661
+ return t.apply(n, [].concat(o, s));
9658
9662
  };
9659
9663
  };
9660
9664
  }
@@ -9689,7 +9693,7 @@ function Ws(e) {
9689
9693
  function qs(e, t) {
9690
9694
  throw new Error(e[t] || e.default);
9691
9695
  }
9692
- var Gs = {
9696
+ var Us = {
9693
9697
  initialIsRequired: "initial state is required",
9694
9698
  initialType: "initial state should be an object",
9695
9699
  initialContent: "initial state shouldn't be an empty object",
@@ -9699,28 +9703,28 @@ var Gs = {
9699
9703
  changeType: "provided value of changes should be an object",
9700
9704
  changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
9701
9705
  default: "an unknown error accured in `state-local` package"
9702
- }, Ye = wt(qs)(Gs), Mt = {
9706
+ }, Ye = wt(qs)(Us), Mt = {
9703
9707
  changes: As,
9704
9708
  selector: zs,
9705
9709
  handler: Hs,
9706
9710
  initial: Ws
9707
9711
  };
9708
- function Us(e) {
9712
+ function Gs(e) {
9709
9713
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9710
9714
  Mt.initial(e), Mt.handler(t);
9711
9715
  var n = {
9712
9716
  current: e
9713
9717
  }, a = wt(Xs)(n, t), o = wt(Ys)(n), l = wt(Mt.changes)(e), i = wt(_s)(n);
9714
- function u() {
9718
+ function s() {
9715
9719
  var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(g) {
9716
9720
  return g;
9717
9721
  };
9718
9722
  return Mt.selector(c), c(n.current);
9719
9723
  }
9720
- function s(c) {
9724
+ function u(c) {
9721
9725
  Ls(a, o, l, i)(c);
9722
9726
  }
9723
- return [u, s];
9727
+ return [s, u];
9724
9728
  }
9725
9729
  function _s(e, t) {
9726
9730
  return kt(t) ? t(e.current) : t;
@@ -9735,7 +9739,7 @@ function Xs(e, t, n) {
9735
9739
  }), n;
9736
9740
  }
9737
9741
  var Js = {
9738
- create: Us
9742
+ create: Gs
9739
9743
  }, Qs = {
9740
9744
  paths: {
9741
9745
  vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
@@ -9746,9 +9750,9 @@ function Zs(e) {
9746
9750
  for (var n = this, a = arguments.length, o = new Array(a), l = 0; l < a; l++)
9747
9751
  o[l] = arguments[l];
9748
9752
  return o.length >= e.length ? e.apply(this, o) : function() {
9749
- for (var i = arguments.length, u = new Array(i), s = 0; s < i; s++)
9750
- u[s] = arguments[s];
9751
- return t.apply(n, [].concat(o, u));
9753
+ for (var i = arguments.length, s = new Array(i), u = 0; u < i; u++)
9754
+ s[u] = arguments[u];
9755
+ return t.apply(n, [].concat(o, s));
9752
9756
  };
9753
9757
  };
9754
9758
  }
@@ -9935,7 +9939,7 @@ const mu = /* @__PURE__ */ ne({
9935
9939
  async function i() {
9936
9940
  return fetch(e.configPath).then((d) => d.json());
9937
9941
  }
9938
- async function u() {
9942
+ async function s() {
9939
9943
  if (n.value && !o) {
9940
9944
  const d = await i(), {
9941
9945
  vsPath: b
@@ -9980,13 +9984,13 @@ const mu = /* @__PURE__ */ ne({
9980
9984
  Q(() => e.modelValue, (d) => {
9981
9985
  l.value = d, o == null || o.setValue(d);
9982
9986
  });
9983
- const s = C(), c = new ResizeObserver((d) => {
9987
+ const u = C(), c = new ResizeObserver((d) => {
9984
9988
  o == null || o.layout();
9985
9989
  const {
9986
9990
  width: b,
9987
9991
  height: p
9988
9992
  } = d[0].contentRect;
9989
- s.value = {
9993
+ u.value = {
9990
9994
  width: `${b - 1}px`,
9991
9995
  height: `${p}px`
9992
9996
  };
@@ -10004,7 +10008,7 @@ const mu = /* @__PURE__ */ ne({
10004
10008
  }]);
10005
10009
  }
10006
10010
  ve(() => {
10007
- u(), n.value && c.observe(n.value.parentElement);
10011
+ s(), n.value && c.observe(n.value.parentElement);
10008
10012
  }), jn(() => {
10009
10013
  o && o.dispose(), c && n.value && (c.unobserve(n.value), c.disconnect());
10010
10014
  });
@@ -10021,7 +10025,7 @@ const mu = /* @__PURE__ */ ne({
10021
10025
  setContent: r
10022
10026
  }), () => v("div", {
10023
10027
  class: "expression-code-editor",
10024
- style: s.value,
10028
+ style: u.value,
10025
10029
  ref: n
10026
10030
  }, null);
10027
10031
  }
@@ -10056,13 +10060,13 @@ const mu = /* @__PURE__ */ ne({
10056
10060
  });
10057
10061
  const i = {
10058
10062
  customRowStatus: e.customRowStatus
10059
- }, u = N(() => [{
10063
+ }, s = N(() => [{
10060
10064
  field: e.textField,
10061
10065
  title: "",
10062
10066
  dataType: "string",
10063
10067
  formatter: e.formatter
10064
10068
  }]);
10065
- function s({
10069
+ function u({
10066
10070
  $event: m,
10067
10071
  node: r
10068
10072
  }) {
@@ -10080,10 +10084,10 @@ const mu = /* @__PURE__ */ ne({
10080
10084
  function g({
10081
10085
  row: m
10082
10086
  }) {
10083
- Ue(c);
10087
+ Ge(c);
10084
10088
  }
10085
10089
  return ve(() => {
10086
- Ue(c);
10090
+ Ge(c);
10087
10091
  }), () => v("div", {
10088
10092
  class: "h-100 f-utils-fill",
10089
10093
  style: "overflow:auto",
@@ -10096,13 +10100,13 @@ const mu = /* @__PURE__ */ ne({
10096
10100
  },
10097
10101
  data: n.value,
10098
10102
  idField: e.idField,
10099
- columns: u.value,
10103
+ columns: s.value,
10100
10104
  rowOption: i,
10101
10105
  columnOption: {
10102
10106
  fitColumns: !0,
10103
10107
  fitMode: "percentage"
10104
10108
  },
10105
- onDblclickNode: s,
10109
+ onDblclickNode: u,
10106
10110
  style: o.value,
10107
10111
  autoHeight: !0,
10108
10112
  onExpandNode: g
@@ -10116,7 +10120,7 @@ const mu = /* @__PURE__ */ ne({
10116
10120
  const n = C("dataEntity"), a = C(e.dataSource), {
10117
10121
  entities: o,
10118
10122
  variables: l
10119
- } = a.value, i = C(""), u = C((o == null ? void 0 : o.fields) || []), s = (F, E) => {
10123
+ } = a.value, i = C(""), s = C((o == null ? void 0 : o.fields) || []), u = (F, E) => {
10120
10124
  F.stopPropagation(), t.emit("fieldClick", {
10121
10125
  $event: F,
10122
10126
  item: E.raw
@@ -10133,7 +10137,7 @@ const mu = /* @__PURE__ */ ne({
10133
10137
  title: "插入属性名称",
10134
10138
  class: "btn btn-link d-none",
10135
10139
  style: "width:24px;height:24px",
10136
- onClick: (A) => s(A, E),
10140
+ onClick: (A) => u(A, E),
10137
10141
  onDblclick: (A) => A.stopPropagation()
10138
10142
  }, [v("span", {
10139
10143
  class: "f-icon f-icon-new-edit",
@@ -10186,7 +10190,7 @@ const mu = /* @__PURE__ */ ne({
10186
10190
  }
10187
10191
  function h() {
10188
10192
  return v(hu, {
10189
- data: u.value,
10193
+ data: s.value,
10190
10194
  formatter: c,
10191
10195
  onDblclickNode: S
10192
10196
  }, null);
@@ -10246,10 +10250,10 @@ const mu = /* @__PURE__ */ ne({
10246
10250
  }
10247
10251
  function P() {
10248
10252
  const F = D((o == null ? void 0 : o.fields) || [], i.value);
10249
- u.value = F;
10253
+ s.value = F;
10250
10254
  }
10251
10255
  function T() {
10252
- u.value = (o == null ? void 0 : o.fields) || [];
10256
+ s.value = (o == null ? void 0 : o.fields) || [];
10253
10257
  }
10254
10258
  function O(F) {
10255
10259
  F.key === "Enter" && P();
@@ -10305,7 +10309,7 @@ const mu = /* @__PURE__ */ ne({
10305
10309
  props: bu,
10306
10310
  emits: ["insertFunction", "search"],
10307
10311
  setup(e, t) {
10308
- const n = C(), a = C(""), o = C(), l = C({}), i = C(""), u = "没有与搜索条件匹配的项", s = C(e.functionItems), c = N(() => (h) => e.singleExpand ? {
10312
+ const n = C(), a = C(""), o = C(), l = C({}), i = C(""), s = "没有与搜索条件匹配的项", u = C(e.functionItems), c = N(() => (h) => e.singleExpand ? {
10309
10313
  "functions-type d-flex flex-column": !0,
10310
10314
  open: a.value === h,
10311
10315
  closed: a.value !== h
@@ -10325,9 +10329,9 @@ const mu = /* @__PURE__ */ ne({
10325
10329
  "functions-item pl-2": !0,
10326
10330
  selected: ((y = o.value) == null ? void 0 : y.key) === h.key
10327
10331
  };
10328
- }), r = C(Object.keys(s.value));
10332
+ }), r = C(Object.keys(u.value));
10329
10333
  Q(() => e.functionItems, (h) => {
10330
- s.value = h, r.value = Object.keys(s.value), i.value && (l.value = r.value.reduce((y, x) => (y[x] = !0, y), {}));
10334
+ u.value = h, r.value = Object.keys(u.value), i.value && (l.value = r.value.reduce((y, x) => (y[x] = !0, y), {}));
10331
10335
  });
10332
10336
  function f(h) {
10333
10337
  h || (h = a.value);
@@ -10384,9 +10388,9 @@ const mu = /* @__PURE__ */ ne({
10384
10388
  }
10385
10389
  }, [v("span", {
10386
10390
  class: g.value(h)
10387
- }, null), s.value[h].name]), v("ul", {
10391
+ }, null), u.value[h].name]), v("ul", {
10388
10392
  class: "pl-3 mr-2"
10389
- }, [s.value[h].items.map((y) => {
10393
+ }, [u.value[h].items.map((y) => {
10390
10394
  if (y.visible !== !1)
10391
10395
  return v("li", {
10392
10396
  class: m.value(y),
@@ -10395,7 +10399,7 @@ const mu = /* @__PURE__ */ ne({
10395
10399
  }, [h === "advanced" ? y.key : y.name]);
10396
10400
  })])])) : v("li", {
10397
10401
  class: "empty-message"
10398
- }, [u]);
10402
+ }, [s]);
10399
10403
  }
10400
10404
  return ve(() => {
10401
10405
  a.value = r.value[0], l.value = r.value.reduce((h, y) => (h[y] = a.value === y, h), {});
@@ -10455,39 +10459,39 @@ function wu(e) {
10455
10459
  }
10456
10460
  async function n() {
10457
10461
  if (window.esprima == null) {
10458
- const i = await t(), { path: u } = i;
10459
- return new Promise((s, c) => {
10462
+ const i = await t(), { path: s } = i;
10463
+ return new Promise((u, c) => {
10460
10464
  const g = document.createElement("script");
10461
- g.type = "text/javascript", g.src = u + "?v=" + Date.now(), g.onload = s, g.onerror = c, document.head.appendChild(g);
10465
+ g.type = "text/javascript", g.src = s + "?v=" + Date.now(), g.onload = u, g.onerror = c, document.head.appendChild(g);
10462
10466
  });
10463
10467
  }
10464
10468
  }
10465
10469
  function a(i) {
10466
- const u = [], s = window.esprima.tokenize(i);
10467
- for (let r = 0; r < s.length; r++)
10468
- u.push(s[r].value);
10470
+ const s = [], u = window.esprima.tokenize(i);
10471
+ for (let r = 0; r < u.length; r++)
10472
+ s.push(u[r].value);
10469
10473
  const c = [];
10470
- for (let r = 0; r < u.length; r++) {
10471
- const f = i.indexOf(u[r]);
10472
- f !== -1 ? c.push(i.substring(0, f)) : c.push(""), i = i.slice(f + u[r].length), r === u.length - 1 && c.push(i);
10474
+ for (let r = 0; r < s.length; r++) {
10475
+ const f = i.indexOf(s[r]);
10476
+ f !== -1 ? c.push(i.substring(0, f)) : c.push(""), i = i.slice(f + s[r].length), r === s.length - 1 && c.push(i);
10473
10477
  }
10474
- const g = [], m = u.length;
10478
+ const g = [], m = s.length;
10475
10479
  for (let r = 0; r < m; r++)
10476
- c[r] !== "" && g.push(c[r]), u[r] !== "" && g.push(u[r]), r === m - 1 && c[r + 1] !== "" && g.push(c[r + 1]);
10480
+ c[r] !== "" && g.push(c[r]), s[r] !== "" && g.push(s[r]), r === m - 1 && c[r + 1] !== "" && g.push(c[r + 1]);
10477
10481
  return g;
10478
10482
  }
10479
- function o(i, u = "key2name") {
10480
- const s = /* @__PURE__ */ new Map();
10483
+ function o(i, s = "key2name") {
10484
+ const u = /* @__PURE__ */ new Map();
10481
10485
  if (!i)
10482
- return s;
10486
+ return u;
10483
10487
  let g = Object.values(i).map((m) => m.items).flat();
10484
10488
  for (; g.length > 0; ) {
10485
10489
  const m = g.filter((r) => r.name === g[0].name);
10486
10490
  m.length > 1 ? g.filter((r) => r.name === g[0].name).forEach((r) => {
10487
- u === "key2name" ? s.set(r.key, r.key + "_" + r.name) : u === "name2key" && s.set(r.key + "_" + r.name, r.key);
10488
- }) : u === "key2name" ? s.set(m[0].key, m[0].name) : u === "name2key" && s.set(m[0].name, m[0].key), g = g.filter((r) => r.name !== g[0].name);
10491
+ s === "key2name" ? u.set(r.key, r.key + "_" + r.name) : s === "name2key" && u.set(r.key + "_" + r.name, r.key);
10492
+ }) : s === "key2name" ? u.set(m[0].key, m[0].name) : s === "name2key" && u.set(m[0].name, m[0].key), g = g.filter((r) => r.name !== g[0].name);
10489
10493
  }
10490
- return s;
10494
+ return u;
10491
10495
  }
10492
10496
  n();
10493
10497
  async function l(i) {
@@ -10502,7 +10506,7 @@ function wu(e) {
10502
10506
  }
10503
10507
  function ku(e, t, n) {
10504
10508
  const a = C(e.disabledFunctions), { getTokens: o, getVariableMaps: l, runWithEsprima: i } = wu(e);
10505
- function u() {
10509
+ function s() {
10506
10510
  const p = Ve(t);
10507
10511
  if (a.value) {
10508
10512
  let w = Object.keys(p);
@@ -10515,7 +10519,7 @@ function ku(e, t, n) {
10515
10519
  }
10516
10520
  return p;
10517
10521
  }
10518
- function s(p) {
10522
+ function u(p) {
10519
10523
  const w = t.analytical.items.find((k) => k.key === "GetContextParameter");
10520
10524
  if (w)
10521
10525
  return w.name + '("' + p.name + '")';
@@ -10611,30 +10615,30 @@ function ku(e, t, n) {
10611
10615
  return await i(() => d(p));
10612
10616
  }
10613
10617
  return {
10614
- resetFunctionItems: u,
10618
+ resetFunctionItems: s,
10615
10619
  getFieldExpression: m,
10616
10620
  getFunctionExpression: g,
10617
- getContextVariableExpression: s,
10621
+ getContextVariableExpression: u,
10618
10622
  getExpressionCodeValue: r,
10619
10623
  getExpressionTextValue: b
10620
10624
  };
10621
10625
  }
10622
10626
  function Su(e, t) {
10623
- const n = C([]), a = Ve(t.value), o = Object.values(a).map((u) => u.items).flat();
10624
- function l(u) {
10625
- const s = Ve(a);
10626
- return Object.keys(s).forEach((c) => {
10627
- const g = s[c].items.filter((m) => u.includes(m.key));
10628
- g.length > 0 ? s[c].items = g : delete s[c];
10629
- }), s;
10630
- }
10631
- function i(u) {
10632
- if (!u) {
10627
+ const n = C([]), a = Ve(t.value), o = Object.values(a).map((s) => s.items).flat();
10628
+ function l(s) {
10629
+ const u = Ve(a);
10630
+ return Object.keys(u).forEach((c) => {
10631
+ const g = u[c].items.filter((m) => s.includes(m.key));
10632
+ g.length > 0 ? u[c].items = g : delete u[c];
10633
+ }), u;
10634
+ }
10635
+ function i(s) {
10636
+ if (!s) {
10633
10637
  t.value = a;
10634
10638
  return;
10635
10639
  }
10636
- const s = o.filter((c) => c.name.toLowerCase().includes(u.toLowerCase())).map((c) => c.key);
10637
- t.value = l(s);
10640
+ const u = o.filter((c) => c.name.toLowerCase().includes(s.toLowerCase())).map((c) => c.key);
10641
+ t.value = l(u);
10638
10642
  }
10639
10643
  return {
10640
10644
  searchResultList: n,
@@ -10648,7 +10652,7 @@ const Fu = /* @__PURE__ */ ne({
10648
10652
  emits: [],
10649
10653
  setup(e, t) {
10650
10654
  var T;
10651
- const n = C(), a = C(e.validateMessage), o = C(e.messageType), l = C(e.modelValue), i = C(), u = [{
10655
+ const n = C(), a = C(e.validateMessage), o = C(e.messageType), l = C(e.modelValue), i = C(), s = [{
10652
10656
  label: "提示",
10653
10657
  value: "info"
10654
10658
  }, {
@@ -10658,7 +10662,7 @@ const Fu = /* @__PURE__ */ ne({
10658
10662
  label: "错误",
10659
10663
  value: "error"
10660
10664
  }], {
10661
- getFunctionExpression: s,
10665
+ getFunctionExpression: u,
10662
10666
  getContextVariableExpression: c,
10663
10667
  resetFunctionItems: g,
10664
10668
  getFieldExpression: m,
@@ -10672,7 +10676,7 @@ const Fu = /* @__PURE__ */ ne({
10672
10676
  item: F
10673
10677
  }) {
10674
10678
  var L;
10675
- const E = s(F);
10679
+ const E = u(F);
10676
10680
  (L = i.value) == null || L.insertText(E);
10677
10681
  }
10678
10682
  function w({
@@ -10778,7 +10782,7 @@ const Fu = /* @__PURE__ */ ne({
10778
10782
  class: "d-flex align-items-center py-1"
10779
10783
  }, [v("b", null, [ie("提示信息:")]), e.showMessageType && v(lt, {
10780
10784
  style: "width: 75px",
10781
- data: u,
10785
+ data: s,
10782
10786
  modelValue: o.value,
10783
10787
  "onUpdate:modelValue": (O) => o.value = O,
10784
10788
  textField: "label",
@@ -11020,13 +11024,13 @@ const ju = /* @__PURE__ */ ne({
11020
11024
  name: "f-expression-textbox",
11021
11025
  props: ba,
11022
11026
  setup(e, t) {
11023
- const n = Ce(un), a = Ce("FLoadingService"), o = '<i class="f-icon f-icon-lookup"></i>', l = C(e.modelValue), i = C(e.entities), u = C(e.variables), s = C(), c = C(e.validateMessage || ""), g = C("info");
11027
+ const n = Ce(un), a = Ce("FLoadingService"), o = '<i class="f-icon f-icon-lookup"></i>', l = C(e.modelValue), i = C(e.entities), s = C(e.variables), u = C(), c = C(e.validateMessage || ""), g = C("info");
11024
11028
  async function m() {
11025
11029
  const {
11026
11030
  value: b,
11027
11031
  message: p,
11028
11032
  messageType: w
11029
- } = s.value.getExpressionValue();
11033
+ } = u.value.getExpressionValue();
11030
11034
  if (c.value = p, g.value = w, e.beforeSubmit && typeof e.beforeSubmit == "function") {
11031
11035
  const k = await e.beforeSubmit({
11032
11036
  notifyService: n,
@@ -11073,7 +11077,7 @@ const ju = /* @__PURE__ */ ne({
11073
11077
  class: "btn btn-secondary mr-2",
11074
11078
  handle: (b) => {
11075
11079
  var p;
11076
- return (p = s.value) == null || p.resetExpression(), !1;
11080
+ return (p = u.value) == null || p.resetExpression(), !1;
11077
11081
  }
11078
11082
  }, {
11079
11083
  name: "cancel",
@@ -11095,7 +11099,7 @@ const ju = /* @__PURE__ */ ne({
11095
11099
  notifyService: n
11096
11100
  });
11097
11101
  if (b)
11098
- return i.value = b.entities || {}, u.value = b.variables || {}, c.value = b.message || "", g.value = b.messageType || "info", a == null || a.clearAll(), !0;
11102
+ return i.value = b.entities || {}, s.value = b.variables || {}, c.value = b.message || "", g.value = b.messageType || "info", a == null || a.clearAll(), !0;
11099
11103
  } catch {
11100
11104
  return n == null || n.error({
11101
11105
  message: "获取数据失败!"
@@ -11134,7 +11138,7 @@ const ju = /* @__PURE__ */ ne({
11134
11138
  default: () => [v("div", {
11135
11139
  class: "h-100 d-flex flex-column"
11136
11140
  }, [v(Fu, {
11137
- ref: s,
11141
+ ref: u,
11138
11142
  validateMessage: c.value,
11139
11143
  showMessageType: e.showMessageType,
11140
11144
  messageType: g.value,
@@ -11143,7 +11147,7 @@ const ju = /* @__PURE__ */ ne({
11143
11147
  esprimaPath: e.esprimaPath,
11144
11148
  showMessage: e.showMessage,
11145
11149
  entities: i.value,
11146
- variables: u.value,
11150
+ variables: s.value,
11147
11151
  disabledFunctions: e.disabledFunctions,
11148
11152
  showDataPanel: e.showDataPanel,
11149
11153
  singleExpand: e.singleExpand,
@@ -11186,13 +11190,13 @@ function wa(e) {
11186
11190
  { label: " ", value: 0 },
11187
11191
  { label: "并且", value: 1 },
11188
11192
  { label: "或者", value: 2 }
11189
- ], l = [{ label: "值", value: e != null && e.singleValue ? Le.Value : Le.Variable }], i = { label: "表达式", value: Le.Expression }, u = e != null && e.enableExpression ? [...l, i] : l;
11193
+ ], l = [{ label: "值", value: e != null && e.singleValue ? Le.Value : Le.Variable }], i = { label: "表达式", value: Le.Expression }, s = e != null && e.enableExpression ? [...l, i] : l;
11190
11194
  return {
11191
11195
  leftBracketItems: t,
11192
11196
  righttBracketItems: n,
11193
11197
  compareOperators: a,
11194
11198
  relationItems: o,
11195
- valueTypes: u,
11199
+ valueTypes: s,
11196
11200
  sortTypes: [
11197
11201
  { label: "升序", value: "asc" },
11198
11202
  { label: "降序", value: "desc" }
@@ -11535,7 +11539,7 @@ const ka = {
11535
11539
  minPanelWidth: { type: Number, default: 160 },
11536
11540
  /** 查询字段集合 */
11537
11541
  searchFields: { type: Array, default: ["name"] }
11538
- }, Gu = Pe(ka, Wu, Nu, qu), Uu = {
11542
+ }, Uu = Pe(ka, Wu, Nu, qu), Gu = {
11539
11543
  data: { type: Array, default: [] },
11540
11544
  enableSearch: { type: Boolean, default: !1 },
11541
11545
  idField: { type: String, default: "id" },
@@ -11556,14 +11560,14 @@ const ka = {
11556
11560
  } }
11557
11561
  }, _u = /* @__PURE__ */ ne({
11558
11562
  name: "FComboTreeContainer",
11559
- props: Uu,
11563
+ props: Gu,
11560
11564
  emits: ["selectionChange", "selectItem", "unSelectItem"],
11561
11565
  setup(e, t) {
11562
- const n = C(e.data), a = C([]), o = C(e.separator), l = C(e.width), i = C(e.height), u = C(e.maxHeight), s = C(String(e.selectedValues).split(o.value)), c = C(), g = {
11566
+ const n = C(e.data), a = C([]), o = C(e.separator), l = C(e.width), i = C(e.height), s = C(e.maxHeight), u = C(String(e.selectedValues).split(o.value)), c = C(), g = {
11563
11567
  customRowStatus: e.customRowStatus
11564
11568
  };
11565
11569
  Q(() => e.selectedValues, (p) => {
11566
- s.value = String(p).split(o.value);
11570
+ u.value = String(p).split(o.value);
11567
11571
  }), Q(() => e.data, (p) => {
11568
11572
  var w;
11569
11573
  n.value = p, (w = c.value) == null || w.updateDataSource(p);
@@ -11583,15 +11587,15 @@ const ka = {
11583
11587
  formatter: e.formatter
11584
11588
  }]), d = N(() => {
11585
11589
  const p = {};
11586
- return l.value !== void 0 && (p.width = `${l.value}px`), i.value !== void 0 && (p.height = `${i.value}px`), u.value !== void 0 && u.value > 0 && (p.maxHeight = `${u.value}px`, p.overflow = "auto"), n.value.length === 0 && (p.height = "200px"), p.position = "relative", p;
11590
+ return l.value !== void 0 && (p.width = `${l.value}px`), i.value !== void 0 && (p.height = `${i.value}px`), s.value !== void 0 && s.value > 0 && (p.maxHeight = `${s.value}px`, p.overflow = "auto"), n.value.length === 0 && (p.height = "200px"), p.position = "relative", p;
11587
11591
  });
11588
11592
  function b(p = []) {
11589
- p && p.length > 0 ? (a.value = [...p], s.value = a.value.map((w) => w[e.idField])) : (a.value = [], s.value = []), t.emit("selectionChange", a.value);
11593
+ p && p.length > 0 ? (a.value = [...p], u.value = a.value.map((w) => w[e.idField])) : (a.value = [], u.value = []), t.emit("selectionChange", a.value);
11590
11594
  }
11591
11595
  return ve(() => {
11592
11596
  r && r.getData(e.editorParams).then((p) => {
11593
11597
  n.value = p;
11594
- }), s.value && c.value.activeRowById(s.value[0]);
11598
+ }), u.value && c.value.activeRowById(u.value[0]);
11595
11599
  }), t.expose({
11596
11600
  treeInstance: c
11597
11601
  }), () => v("div", {
@@ -11613,7 +11617,7 @@ const ka = {
11613
11617
  data: n.value,
11614
11618
  idField: e.idField,
11615
11619
  columns: f.value,
11616
- "selection-values": s.value,
11620
+ "selection-values": u.value,
11617
11621
  onSelectionUpdate: b,
11618
11622
  columnOption: {
11619
11623
  fitColumns: !0,
@@ -11644,11 +11648,11 @@ function Yu(e) {
11644
11648
  return k - B;
11645
11649
  });
11646
11650
  }
11647
- function u(m) {
11651
+ function s(m) {
11648
11652
  const r = i(m), f = e.displayFormatter ? e.displayFormatter(r) : r.map((d) => d[e.textField]).join(e.separator);
11649
11653
  t.value = o.value ? f || m : f;
11650
11654
  }
11651
- function s(m) {
11655
+ function u(m) {
11652
11656
  const r = m.split(e.separator).map((b) => [b, !0]), f = new Map(r);
11653
11657
  let d = [];
11654
11658
  return a.value[0].data ? l(a.value, d) : d = a.value, d = d.map((b) => b.data ? b.data : b), d.filter((b) => f.has(b[e.textField]) || f.has(b[e.valueField]));
@@ -11658,7 +11662,7 @@ function Yu(e) {
11658
11662
  return r[e.idField] = m, r[e.textField] = m, [r];
11659
11663
  }
11660
11664
  function g(m) {
11661
- let r = s(m);
11665
+ let r = u(m);
11662
11666
  const f = r && r.length > 0;
11663
11667
  return o.value && !f && (r = c(m)), r;
11664
11668
  }
@@ -11670,15 +11674,15 @@ function Yu(e) {
11670
11674
  r && (t.value = r[e.textField]);
11671
11675
  }
11672
11676
  }), Q(() => e.modelValue, (m, r) => {
11673
- m !== r && (n.value = m, u(m));
11674
- }), u(e.modelValue), { dataSource: a, displayText: t, editable: o, modelValue: n, getItemsByDisplayText: s, getItemsByValue: i, getSelectedItemsByDisplayText: g, flatTreeNodes: l };
11677
+ m !== r && (n.value = m, s(m));
11678
+ }), s(e.modelValue), { dataSource: a, displayText: t, editable: o, modelValue: n, getItemsByDisplayText: u, getItemsByValue: i, getSelectedItemsByDisplayText: g, flatTreeNodes: l };
11675
11679
  }
11676
11680
  function Xu(e, t) {
11677
- const { comboEditorRef: n, dataSource: a, searchFields: o, originalValue: l, showPopover: i, flatTreeNodes: u } = e;
11678
- function s(d, b) {
11681
+ const { comboEditorRef: n, dataSource: a, searchFields: o, originalValue: l, showPopover: i, flatTreeNodes: s } = e;
11682
+ function u(d, b) {
11679
11683
  d.forEach((p) => {
11680
11684
  const w = b.find((k) => k.id === p.id);
11681
- p.selectable = w.selectable != null ? !!w.selectable : !0, p.children && s(p.children, b);
11685
+ p.selectable = w.selectable != null ? !!w.selectable : !0, p.children && u(p.children, b);
11682
11686
  });
11683
11687
  }
11684
11688
  function c(d, b) {
@@ -11709,7 +11713,7 @@ function Xu(e, t) {
11709
11713
  const b = a.value.map((w) => c(w, d)).filter((w) => w !== null);
11710
11714
  if (b.length) {
11711
11715
  const w = [];
11712
- u(a.value, w), s(b, w);
11716
+ s(a.value, w), u(b, w);
11713
11717
  }
11714
11718
  l.value = Ve(b);
11715
11719
  }
@@ -11733,7 +11737,7 @@ const It = /* @__PURE__ */ ne({
11733
11737
  props: ka,
11734
11738
  emits: ["clear", "update:modelValue", "change", "search"],
11735
11739
  setup(e, t) {
11736
- const n = C(), a = C(e.disabled), o = C(e.enableClear), l = C(e.enableSearch), i = C(e.readonly), u = C(e.searchFields || [e.textField]), s = C(), c = C(), g = {}, {
11740
+ const n = C(), a = C(e.disabled), o = C(e.enableClear), l = C(e.enableSearch), i = C(e.readonly), s = C(e.searchFields || [e.textField]), u = C(), c = C(), g = {}, {
11737
11741
  dataSource: m,
11738
11742
  displayText: r,
11739
11743
  editable: f,
@@ -11752,8 +11756,8 @@ const It = /* @__PURE__ */ ne({
11752
11756
  } = Xu({
11753
11757
  comboEditorRef: n,
11754
11758
  dataSource: m,
11755
- searchFields: u,
11756
- originalValue: s,
11759
+ searchFields: s,
11760
+ originalValue: u,
11757
11761
  showPopover: k,
11758
11762
  flatTreeNodes: p
11759
11763
  }, e.idField);
@@ -11784,7 +11788,7 @@ const It = /* @__PURE__ */ ne({
11784
11788
  a.value = O, f.value = F, o.value = E, l.value = L, i.value = A;
11785
11789
  });
11786
11790
  const T = () => {
11787
- if (s.value = Ve(m.value), w.value && d.value) {
11791
+ if (u.value = Ve(m.value), w.value && d.value) {
11788
11792
  const O = [];
11789
11793
  p(m.value, O), d.value.split(e.separator).reduce((F, E) => (F[E] = O.find((L) => L.id === E), F), g);
11790
11794
  }
@@ -11823,7 +11827,7 @@ const It = /* @__PURE__ */ ne({
11823
11827
  valueField: e.valueField,
11824
11828
  textField: e.textField,
11825
11829
  titleField: e.titleField,
11826
- data: s.value,
11830
+ data: u.value,
11827
11831
  selectedValues: d.value,
11828
11832
  onSelectionChange: x,
11829
11833
  formatter: e.formatter,
@@ -11839,7 +11843,7 @@ const It = /* @__PURE__ */ ne({
11839
11843
  }
11840
11844
  });
11841
11845
  It.register = (e, t, n, a) => {
11842
- e["combo-tree"] = It, t["combo-tree"] = Gu;
11846
+ e["combo-tree"] = It, t["combo-tree"] = Uu;
11843
11847
  };
11844
11848
  Nt(It);
11845
11849
  function Sa(e) {
@@ -11871,11 +11875,11 @@ function Fa(e, t, n) {
11871
11875
  a.value = r;
11872
11876
  });
11873
11877
  const i = N(() => n.value.querySelector(`tr[index="${a.value}"]`));
11874
- function u() {
11878
+ function s() {
11875
11879
  const r = i.value;
11876
11880
  r && (r.scrollIntoView ? r.scrollIntoView({ block: "center", behavior: "smooth" }) : r.scrollIntoViewIfNeeded && r.scrollIntoViewIfNeeded(!1));
11877
11881
  }
11878
- const s = N(() => (r) => ({
11882
+ const u = N(() => (r) => ({
11879
11883
  "fv-grid-row-selected": r === a.value
11880
11884
  }));
11881
11885
  function c(r, f) {
@@ -11888,8 +11892,8 @@ function Fa(e, t, n) {
11888
11892
  t.emit("rowClick", { item: r, index: f });
11889
11893
  }
11890
11894
  return {
11891
- itemIntoView: u,
11892
- activeRowCls: s,
11895
+ itemIntoView: s,
11896
+ activeRowCls: u,
11893
11897
  fields: l,
11894
11898
  activeIndex: a,
11895
11899
  selectedRowRef: i,
@@ -11912,8 +11916,8 @@ const Ju = /* @__PURE__ */ ne({
11912
11916
  relationItems: l,
11913
11917
  righttBracketItems: i
11914
11918
  } = wa(e), {
11915
- renderFieldsComboTree: u
11916
- } = Sa(e), s = C(), {
11919
+ renderFieldsComboTree: s
11920
+ } = Sa(e), u = C(), {
11917
11921
  conditions: c,
11918
11922
  fields: g,
11919
11923
  onInsert: m,
@@ -11921,7 +11925,7 @@ const Ju = /* @__PURE__ */ ne({
11921
11925
  onRowClick: f,
11922
11926
  activeRowCls: d,
11923
11927
  itemIntoView: b
11924
- } = Fa(e, t, s), p = C(e.expressionOptions || {});
11928
+ } = Fa(e, t, u), p = C(e.expressionOptions || {});
11925
11929
  function w(B) {
11926
11930
  var S, h;
11927
11931
  switch (B.expresstype) {
@@ -11989,7 +11993,7 @@ const Ju = /* @__PURE__ */ ne({
11989
11993
  }, [v("b", null, [ie("右括号")])]), v("th", {
11990
11994
  style: "width: 60px"
11991
11995
  }, [v("b", null, [ie("关系")])])])]), v("tbody", {
11992
- ref: s
11996
+ ref: u
11993
11997
  }, [c.value.map((B, S) => v("tr", {
11994
11998
  index: S,
11995
11999
  class: d.value(S),
@@ -12016,7 +12020,7 @@ const Ju = /* @__PURE__ */ ne({
12016
12020
  class: "px-1"
12017
12021
  }, [k(B, a, "lbracket")]), v("td", {
12018
12022
  class: "px-1"
12019
- }, [u(B, g.value, "filterField")]), v("td", {
12023
+ }, [s(B, g.value, "filterField")]), v("td", {
12020
12024
  class: "px-1"
12021
12025
  }, [k(B, n, "compare")]), v("td", {
12022
12026
  class: "px-1"
@@ -12049,10 +12053,10 @@ const Ju = /* @__PURE__ */ ne({
12049
12053
  function i() {
12050
12054
  t.emit("moveTop");
12051
12055
  }
12052
- function u() {
12056
+ function s() {
12053
12057
  t.emit("movePrev");
12054
12058
  }
12055
- function s() {
12059
+ function u() {
12056
12060
  t.emit("moveNext");
12057
12061
  }
12058
12062
  function c() {
@@ -12086,7 +12090,7 @@ const Ju = /* @__PURE__ */ ne({
12086
12090
  style: a
12087
12091
  }, null), ie("置顶")]), v("button", {
12088
12092
  type: "button",
12089
- onClick: u,
12093
+ onClick: s,
12090
12094
  disabled: !e.canMove.value("up"),
12091
12095
  class: "btn btn-default f-btn-ml"
12092
12096
  }, [v("span", {
@@ -12094,7 +12098,7 @@ const Ju = /* @__PURE__ */ ne({
12094
12098
  style: a
12095
12099
  }, null), ie("上移")]), v("button", {
12096
12100
  type: "button",
12097
- onClick: s,
12101
+ onClick: u,
12098
12102
  disabled: !e.canMove.value("down"),
12099
12103
  class: "btn btn-default f-btn-ml"
12100
12104
  }, [v("span", {
@@ -12122,8 +12126,8 @@ const Ju = /* @__PURE__ */ ne({
12122
12126
  } = Sa(e), o = C(), {
12123
12127
  conditions: l,
12124
12128
  fields: i,
12125
- onInsert: u,
12126
- onRemove: s,
12129
+ onInsert: s,
12130
+ onRemove: u,
12127
12131
  onRowClick: c,
12128
12132
  activeRowCls: g,
12129
12133
  itemIntoView: m
@@ -12156,14 +12160,14 @@ const Ju = /* @__PURE__ */ ne({
12156
12160
  class: "px-1"
12157
12161
  }, [v("button", {
12158
12162
  title: "插入",
12159
- onClick: (d) => u(f, d),
12163
+ onClick: (d) => s(f, d),
12160
12164
  type: "button",
12161
12165
  class: "btn btn-link p-1 mr-0"
12162
12166
  }, [v("span", {
12163
12167
  class: "f-icon f-icon-plus"
12164
12168
  }, null)]), v("button", {
12165
12169
  title: "移除",
12166
- onClick: (d) => s(f, d),
12170
+ onClick: (d) => u(f, d),
12167
12171
  type: "button",
12168
12172
  class: "btn btn-link p-1 m-0"
12169
12173
  }, [v("span", {
@@ -12193,7 +12197,7 @@ function Ku(e, t) {
12193
12197
  function o() {
12194
12198
  t.value.length > 0 ? n.value = 0 : n.value = -1;
12195
12199
  }
12196
- const l = N(() => e.displayText ? e.displayText : typeof e.modelValue == "string" ? e.modelValue : ""), i = e.editorType !== "sort" ? "filterField" : "sortField", u = e.editorType !== "sort" ? {
12200
+ const l = N(() => e.displayText ? e.displayText : typeof e.modelValue == "string" ? e.modelValue : ""), i = e.editorType !== "sort" ? "filterField" : "sortField", s = e.editorType !== "sort" ? {
12197
12201
  filterField: "",
12198
12202
  value: "",
12199
12203
  lbracket: "",
@@ -12204,7 +12208,7 @@ function Ku(e, t) {
12204
12208
  } : {
12205
12209
  sortField: "",
12206
12210
  sortType: "asc"
12207
- }, s = N(() => t.value.length > 0), c = N(() => (y = "down") => t.value.length > 1 ? y === "up" ? n.value > 0 : n.value < t.value.length - 1 : !1);
12211
+ }, u = N(() => t.value.length > 0), c = N(() => (y = "down") => t.value.length > 1 ? y === "up" ? n.value > 0 : n.value < t.value.length - 1 : !1);
12208
12212
  function g() {
12209
12213
  if (e.editorType === "filter")
12210
12214
  for (let y = 0; y < t.value.length - 1; y++) {
@@ -12213,13 +12217,13 @@ function Ku(e, t) {
12213
12217
  }
12214
12218
  }
12215
12219
  function m() {
12216
- const y = Object.assign({}, u);
12220
+ const y = Object.assign({}, s);
12217
12221
  t.value = [...t.value, y];
12218
12222
  const x = t.value.length - 1;
12219
12223
  n.value = x, g();
12220
12224
  }
12221
12225
  function r({ index: y }) {
12222
- const x = Object.assign({}, u);
12226
+ const x = Object.assign({}, s);
12223
12227
  e.insertType === "above" ? y === 0 ? t.value.unshift(x) : t.value.splice(y, 0, x) : t.value.splice(y + 1, 0, x), t.value = [...t.value], g();
12224
12228
  }
12225
12229
  function f({ index: y }) {
@@ -12285,7 +12289,7 @@ function Ku(e, t) {
12285
12289
  return {
12286
12290
  displayText: l,
12287
12291
  activeRowIndex: n,
12288
- canClear: s,
12292
+ canClear: u,
12289
12293
  canMove: c,
12290
12294
  onAddFilter: m,
12291
12295
  onRemove: f,
@@ -12309,7 +12313,7 @@ const ec = /* @__PURE__ */ ne({
12309
12313
  a && (a.globalConfig = {
12310
12314
  position: "top-center"
12311
12315
  });
12312
- const l = C(e.expressionOptions || {}), i = C(e.formContextData || {}), u = C(e.fields || []), s = '<i class="f-icon f-icon-lookup"></i>', c = C([]), g = C([]), {
12316
+ const l = C(e.expressionOptions || {}), i = C(e.formContextData || {}), s = C(e.fields || []), u = '<i class="f-icon f-icon-lookup"></i>', c = C([]), g = C([]), {
12313
12317
  displayText: m,
12314
12318
  onAddFilter: r,
12315
12319
  onClear: f,
@@ -12329,7 +12333,7 @@ const ec = /* @__PURE__ */ ne({
12329
12333
  function T() {
12330
12334
  return e.editorType === "sort" ? v(Zu, {
12331
12335
  conditions: c.value,
12332
- fields: u.value,
12336
+ fields: s.value,
12333
12337
  activeIndex: S.value,
12334
12338
  onInsert: (j) => k(j),
12335
12339
  onRemove: (j) => B(j),
@@ -12340,7 +12344,7 @@ const ec = /* @__PURE__ */ ne({
12340
12344
  expressionOptions: l.value,
12341
12345
  enableExpression: e.enableExpression,
12342
12346
  conditions: c.value,
12343
- fields: u.value,
12347
+ fields: s.value,
12344
12348
  idField: e.idField,
12345
12349
  activeIndex: S.value,
12346
12350
  onInsert: (j) => k(j),
@@ -12388,8 +12392,8 @@ const ec = /* @__PURE__ */ ne({
12388
12392
  class: "btn btn-primary",
12389
12393
  disabled: F,
12390
12394
  handle: async (j) => {
12391
- const U = M();
12392
- return O.value ? !0 : typeof U == "object" && U !== null && U && U.message ? (a.warning(U.message), !1) : await E();
12395
+ const G = M();
12396
+ return O.value ? !0 : typeof G == "object" && G !== null && G && G.message ? (a.warning(G.message), !1) : await E();
12393
12397
  }
12394
12398
  }]
12395
12399
  };
@@ -12403,14 +12407,14 @@ const ec = /* @__PURE__ */ ne({
12403
12407
  });
12404
12408
  if (j) {
12405
12409
  const {
12406
- fieldList: U,
12410
+ fieldList: G,
12407
12411
  conditionList: W,
12408
12412
  entities: ee,
12409
12413
  variables: ce,
12410
12414
  formContextData: he,
12411
12415
  isServerSide: X
12412
12416
  } = j;
12413
- return u.value = U || [], c.value = W || [], g.value = JSON.parse(JSON.stringify(c.value)), l.value = {
12417
+ return s.value = G || [], c.value = W || [], g.value = JSON.parse(JSON.stringify(c.value)), l.value = {
12414
12418
  entities: ee,
12415
12419
  variables: ce,
12416
12420
  isServerSide: X
@@ -12438,7 +12442,7 @@ const ec = /* @__PURE__ */ ne({
12438
12442
  readonly: e.readonly,
12439
12443
  inputType: "text",
12440
12444
  enableClear: e.enableClear,
12441
- buttonContent: s,
12445
+ buttonContent: u,
12442
12446
  buttonBehavior: "Modal",
12443
12447
  modalOptions: L,
12444
12448
  beforeOpen: A,