@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,7 +1,7 @@
1
1
  var ba = Object.defineProperty;
2
2
  var Ca = (e, t, n) => t in e ? ba(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var pe = (e, t, n) => Ca(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as h, computed as D, watch as ee, nextTick as he, reactive as Qe, createVNode as u, withDirectives as At, resolveDirective as wa, onMounted as Ce, vModelText as Ln, Fragment as Ie, defineComponent as ve, shallowRef as yt, provide as mt, inject as ye, onUnmounted as Ye, isVNode as un, createApp as Nt, Transition as Vn, mergeProps as St, createTextVNode as Se, onBeforeMount as Sa, Teleport as An, render as an, h as xa, cloneVNode as Ta, onBeforeUnmount as Nn, withModifiers as Hn, resolveComponent as Ia, watchEffect as ka, vShow as Ba, onUpdated as Fa } from "vue";
4
+ import { ref as h, computed as E, watch as ee, nextTick as he, reactive as Qe, createVNode as u, withDirectives as At, resolveDirective as wa, onMounted as Ce, vModelText as Ln, Fragment as Ie, defineComponent as ve, shallowRef as yt, provide as mt, inject as ye, onUnmounted as Ye, isVNode as un, createApp as Nt, Transition as Vn, mergeProps as St, createTextVNode as Se, onBeforeMount as Sa, Teleport as An, render as an, h as xa, cloneVNode as Ta, onBeforeUnmount as Nn, withModifiers as Hn, resolveComponent as Ia, watchEffect as ka, vShow as Ba, onUpdated as Fa } from "vue";
5
5
  import { cloneDeep as tt, isPlainObject as Bn, isUndefined as Ke, debounce as Pa } from "lodash-es";
6
6
  import { getCustomClass as De, withInstall as zn, FormSchemaEntityField$Type as Fn, FormSchemaEntityFieldTypeName as Pn, useThirdComponent as qn, getMaxZIndex as Ma, getCustomStyle as Mn, useGuid as Ea } from "../common/index.esm.js";
7
7
  import Oa from "../capsule/index.esm.js";
@@ -108,7 +108,7 @@ const di = {
108
108
  function co(e, t) {
109
109
  let n;
110
110
  function o(f) {
111
- const { properties: v, title: p, ignore: m } = f, g = m && Array.isArray(m), S = Object.keys(v).reduce((F, x) => ((!g || !m.find((O) => O === x)) && (F[x] = v[x].type === "object" && v[x].properties ? o(v[x]) : tt(v[x].default)), F), {});
111
+ const { properties: v, title: p, ignore: m } = f, g = m && Array.isArray(m), S = Object.keys(v).reduce((F, x) => ((!g || !m.find((D) => D === x)) && (F[x] = v[x].type === "object" && v[x].properties ? o(v[x]) : tt(v[x].default)), F), {});
112
112
  if (p && (!g || !m.find((F) => F === "id"))) {
113
113
  const F = p.toLowerCase().replace(/-/g, "_");
114
114
  S.id = `${F}_${Math.random().toString().slice(2, 6)}`;
@@ -232,7 +232,7 @@ function vi(e = {}) {
232
232
  return i(r).reduce((p, m) => p && l(m, d), !0);
233
233
  }
234
234
  function c(r, d) {
235
- const f = Object.keys(r), v = f.includes("allOf"), p = f.includes("anyOf"), m = v || p, F = (m ? r[m ? v ? "allOf" : "anyOf" : "allOf"] : [r]).map((O) => s(O, d));
235
+ const f = Object.keys(r), v = f.includes("allOf"), p = f.includes("anyOf"), m = v || p, F = (m ? r[m ? v ? "allOf" : "anyOf" : "allOf"] : [r]).map((D) => s(D, d));
236
236
  return v ? !F.includes(!1) : F.includes(!0);
237
237
  }
238
238
  return { parseValueSchema: c };
@@ -601,26 +601,26 @@ function mo(e, t, n) {
601
601
  const S = m.$converter || g;
602
602
  return typeof S == "string" && S && o.has(S) ? o.get(S) || null : S || null;
603
603
  }
604
- function d(m, g, S, F, x, O = "", C = "") {
604
+ function d(m, g, S, F, x, D = "", C = "") {
605
605
  return Object.keys(m).map((I) => {
606
- const P = h(1), y = I, w = m[I], b = Object.keys(w), T = w.title, k = w.type, M = a.get(k) || { type: "input-group", enableClear: !1 }, E = w.editor ? Object.assign({}, M, w.editor) : Object.assign({}, M), j = s(b, w, g), R = c(b, w, g);
607
- E.readonly = E.readonly === void 0 ? R() : E.readonly;
608
- const V = w.type === "cascade" ? d(w.properties, g, S, F, x, O, C) : [], $ = !0;
606
+ const P = h(1), y = I, w = m[I], b = Object.keys(w), T = w.title, k = w.type, M = a.get(k) || { type: "input-group", enableClear: !1 }, O = w.editor ? Object.assign({}, M, w.editor) : Object.assign({}, M), j = s(b, w, g), R = c(b, w, g);
607
+ O.readonly = O.readonly === void 0 ? R() : O.readonly;
608
+ const V = w.type === "cascade" ? d(w.properties, g, S, F, x, D, C) : [], $ = !0;
609
609
  let A = r(w, C);
610
- const z = D({
610
+ const z = E({
611
611
  get() {
612
612
  if (P.value) {
613
613
  if (["class", "style"].find((be) => be === y) && !A && (A = o.get("/converter/appearance.converter") || null), A && A.convertFrom)
614
- return A.convertFrom(S, I, x, O);
614
+ return A.convertFrom(S, I, x, D);
615
615
  const fe = S[I];
616
616
  return Object.prototype.hasOwnProperty.call(w, "defaultValue") && (fe === void 0 || typeof fe == "string" && fe === "") ? w.type === "boolean" ? w.defaultValue : w.defaultValue || "" : fe;
617
617
  }
618
618
  return null;
619
619
  },
620
620
  set(fe) {
621
- P.value += 1, A && A.convertTo ? (A.convertTo(F, I, fe, x, O), A.convertTo(S, I, fe, x, O)) : (F[I] = fe, S[I] = fe);
621
+ P.value += 1, A && A.convertTo ? (A.convertTo(F, I, fe, x, D), A.convertTo(S, I, fe, x, D)) : (F[I] = fe, S[I] = fe);
622
622
  }
623
- }), { refreshPanelAfterChanged: H, description: K, isExpand: oe, parentPropertyID: ie } = w, Q = { propertyID: y, propertyName: T, propertyType: k, propertyValue: z, editor: E, visible: j, readonly: R, cascadeConfig: V, hideCascadeTitle: $, refreshPanelAfterChanged: H, description: K, isExpand: oe, parentPropertyID: ie };
623
+ }), { refreshPanelAfterChanged: H, description: K, isExpand: oe, parentPropertyID: ie } = w, Q = { propertyID: y, propertyName: T, propertyType: k, propertyValue: z, editor: O, visible: j, readonly: R, cascadeConfig: V, hideCascadeTitle: $, refreshPanelAfterChanged: H, description: K, isExpand: oe, parentPropertyID: ie };
624
624
  return g[y] = Q, Q;
625
625
  });
626
626
  }
@@ -632,11 +632,11 @@ function mo(e, t, n) {
632
632
  }) : [];
633
633
  }
634
634
  function v(m, g, S, F, x = "") {
635
- const O = g.$ref.schema, C = g.$ref.converter, B = S[O], I = B.type, P = n(B), y = {}, w = e[I];
635
+ const D = g.$ref.schema, C = g.$ref.converter, B = S[D], I = B.type, P = n(B), y = {}, w = e[I];
636
636
  if (w && w.categories) {
637
637
  const b = w.categories[m], T = b == null ? void 0 : b.title;
638
- C && Object.keys(b.properties).forEach((E) => {
639
- b.properties[E].$converter = C;
638
+ C && Object.keys(b.properties).forEach((O) => {
639
+ b.properties[O].$converter = C;
640
640
  });
641
641
  const k = (b == null ? void 0 : b.properties) || {}, M = d(k, y, P, B, F, x);
642
642
  return { categoryId: m, categoryName: T, properties: M };
@@ -644,8 +644,8 @@ function mo(e, t, n) {
644
644
  return { categoryId: m, categoryName: "", properties: [] };
645
645
  }
646
646
  function p(m, g, S, F, x) {
647
- const O = m.type, C = n(m), B = {};
648
- let I = x || e[O];
647
+ const D = m.type, C = n(m), B = {};
648
+ let I = x || e[D];
649
649
  if (I && Object.keys(I).length === 0 && S && S.getPropConfig && (I = S.getPropConfig(F)), I && I.categories) {
650
650
  const P = [];
651
651
  return Object.keys(I.categories).map((y) => {
@@ -654,8 +654,8 @@ function mo(e, t, n) {
654
654
  P.push(v(y, w, m, g, F));
655
655
  return;
656
656
  }
657
- const b = w == null ? void 0 : w.title, T = w == null ? void 0 : w.tabId, k = w == null ? void 0 : w.tabName, M = w == null ? void 0 : w.hide, E = w == null ? void 0 : w.hideTitle, j = d(w.properties || {}, B, C, m, g, F, w.$converter), { setPropertyRelates: R } = w, V = w == null ? void 0 : w.parentPropertyID;
658
- P.push({ categoryId: y, categoryName: b, tabId: T, tabName: k, hide: M, properties: j, hideTitle: E, setPropertyRelates: R, parentPropertyID: V });
657
+ const b = w == null ? void 0 : w.title, T = w == null ? void 0 : w.tabId, k = w == null ? void 0 : w.tabName, M = w == null ? void 0 : w.hide, O = w == null ? void 0 : w.hideTitle, j = d(w.properties || {}, B, C, m, g, F, w.$converter), { setPropertyRelates: R } = w, V = w == null ? void 0 : w.parentPropertyID;
658
+ P.push({ categoryId: y, categoryName: b, tabId: T, tabName: k, hide: M, properties: j, hideTitle: O, setPropertyRelates: R, parentPropertyID: V });
659
659
  }), P;
660
660
  }
661
661
  return [];
@@ -1130,7 +1130,7 @@ const pn = {
1130
1130
  function El(e, t, n) {
1131
1131
  const o = h([]), a = h(e.activeId || "");
1132
1132
  let i = "";
1133
- const l = h(!0), s = h([]), c = h(!0), r = h(0), d = D(() => {
1133
+ const l = h(!0), s = h([]), c = h(!0), r = h(0), d = E(() => {
1134
1134
  const y = o.value.find((b) => b.props.id === a.value);
1135
1135
  return (y == null ? void 0 : y.props.toolbarPosition) === "inHead";
1136
1136
  });
@@ -1200,12 +1200,12 @@ function El(e, t, n) {
1200
1200
  r.value++, w && (l.value = !0);
1201
1201
  });
1202
1202
  }
1203
- let O;
1203
+ let D;
1204
1204
  function C(y) {
1205
- O = y;
1205
+ D = y;
1206
1206
  }
1207
1207
  function B(y) {
1208
- a.value !== y && (i = a.value, v(y), O && O());
1208
+ a.value !== y && (i = a.value, v(y), D && D());
1209
1209
  }
1210
1210
  function I(y) {
1211
1211
  o.value.findIndex((b) => b.props.id === y.props.id) === -1 && o.value.push(y), r.value++;
@@ -1239,21 +1239,21 @@ function Ol(e, t, n, o, a) {
1239
1239
  activeId: i,
1240
1240
  removeTab: l,
1241
1241
  selectTab: s
1242
- } = a, c = D(() => {
1242
+ } = a, c = E(() => {
1243
1243
  const x = {
1244
1244
  "st-tab-text": !0,
1245
1245
  "text-truncate": e.tabType === "pill" && !e.autoTitleWidth,
1246
1246
  "farris-title-auto": e.autoTitleWidth
1247
1247
  };
1248
1248
  return De(x, t.customTitleClass);
1249
- }), r = D(() => ({
1249
+ }), r = E(() => ({
1250
1250
  "nav-item": !0,
1251
1251
  "d-none": t.show !== void 0 ? !t.show : !1,
1252
1252
  "f-state-active": t.id === i.value,
1253
1253
  "f-state-disabled": t.disabled
1254
- })), d = D(() => ({
1254
+ })), d = E(() => ({
1255
1255
  width: `${t.tabWidth}px`
1256
- })), f = D(() => ({
1256
+ })), f = E(() => ({
1257
1257
  "nav-link": !0,
1258
1258
  "tabs-text-truncate": !0,
1259
1259
  active: t.id === i.value,
@@ -1309,14 +1309,14 @@ function Dl(e, t, n, o, a) {
1309
1309
  shouldShowNavigationButtons: i
1310
1310
  } = n, {
1311
1311
  tabPages: l
1312
- } = a, s = D(() => ({
1312
+ } = a, s = E(() => ({
1313
1313
  spacer: !0,
1314
1314
  "f-utils-fill": !0,
1315
1315
  "spacer-sides-dropdown": i.value
1316
- })), c = D(() => ({
1316
+ })), c = E(() => ({
1317
1317
  width: "100%",
1318
1318
  "justify-content": e.justifyContent
1319
- })), r = D(() => ({
1319
+ })), r = E(() => ({
1320
1320
  nav: !0,
1321
1321
  "farris-nav-tabs": !0,
1322
1322
  "flex-nowrap": !0,
@@ -1340,16 +1340,16 @@ function Io(e, t, n, o, a) {
1340
1340
  activeId: s,
1341
1341
  tabPages: c,
1342
1342
  selectTab: r
1343
- } = a, d = h(s.value), f = D(() => c.value.map((g) => ({
1343
+ } = a, d = h(s.value), f = E(() => c.value.map((g) => ({
1344
1344
  name: g.props.title,
1345
1345
  value: g.props.id,
1346
1346
  show: g.props.show,
1347
1347
  disabled: g.props.disabled
1348
- }))), v = D(() => ({
1348
+ }))), v = E(() => ({
1349
1349
  spacer: !0,
1350
1350
  "f-utils-fill": !0,
1351
1351
  "spacer-sides-dropdown": l.value
1352
- })), p = D(() => ({
1352
+ })), p = E(() => ({
1353
1353
  width: "100%",
1354
1354
  display: "flex",
1355
1355
  "justify-content": e.justifyContent
@@ -1388,11 +1388,11 @@ function Rl(e, t, n, o) {
1388
1388
  searchTabText: f
1389
1389
  } = t, v = 600;
1390
1390
  let p = null;
1391
- const m = D(() => {
1391
+ const m = E(() => {
1392
1392
  var T, k;
1393
1393
  let b = [];
1394
1394
  return e.searchBoxVisible ? b = (T = c.value) == null ? void 0 : T.filter((M) => M.props.title.includes(f.value)) : b = (k = c.value) == null ? void 0 : k.slice(), b;
1395
- }), g = D(() => ({
1395
+ }), g = E(() => ({
1396
1396
  "dropdown-menu": !0,
1397
1397
  "tabs-pt28": e.searchBoxVisible,
1398
1398
  // 未看到样式定义
@@ -1408,8 +1408,8 @@ function Rl(e, t, n, o) {
1408
1408
  if (b)
1409
1409
  i.value.style.width = null;
1410
1410
  else {
1411
- const T = S.value.querySelector(".farris-tabs-header"), k = S.value.clientHeight - T.clientHeight - 20, E = T.querySelector(".farris-tabs-title").clientWidth - 20;
1412
- i.value.style.maxWidth = E + "px", i.value.style.maxHeight = k + "px", he(() => {
1411
+ const T = S.value.querySelector(".farris-tabs-header"), k = S.value.clientHeight - T.clientHeight - 20, O = T.querySelector(".farris-tabs-title").clientWidth - 20;
1412
+ i.value.style.maxWidth = O + "px", i.value.style.maxHeight = k + "px", he(() => {
1413
1413
  const {
1414
1414
  width: j
1415
1415
  } = i.value.getClientRects()[0];
@@ -1427,7 +1427,7 @@ function Rl(e, t, n, o) {
1427
1427
  "d-none": b.props.show !== !0
1428
1428
  };
1429
1429
  }
1430
- function O(b) {
1430
+ function D(b) {
1431
1431
  b.preventDefault(), b.stopPropagation();
1432
1432
  }
1433
1433
  function C() {
@@ -1463,7 +1463,7 @@ function Rl(e, t, n, o) {
1463
1463
  onMouseenter: () => C(),
1464
1464
  onMouseleave: () => B()
1465
1465
  }, [e.searchBoxVisible && u("div", {
1466
- onClick: (b) => O(b),
1466
+ onClick: (b) => D(b),
1467
1467
  class: "pb-1 tabs-li-absolute"
1468
1468
  }, [At(u("input", {
1469
1469
  type: "text",
@@ -1511,31 +1511,31 @@ function jl(e, t, n, o) {
1511
1511
  };
1512
1512
  }
1513
1513
  function ko(e, t, n, o) {
1514
- const a = h(!1), { selectTab: i, tabPages: l, needUpdateNavigationLayout: s, activeId: c } = o, r = 4, d = D(() => ({
1514
+ const a = h(!1), { selectTab: i, tabPages: l, needUpdateNavigationLayout: s, activeId: c } = o, r = 4, d = E(() => ({
1515
1515
  btn: !0,
1516
1516
  "sc-nav-btn": !0,
1517
1517
  "px-1": !0,
1518
1518
  "sc-nav-lr": !0,
1519
1519
  "d-none": !a.value
1520
- })), f = D(() => ({
1520
+ })), f = E(() => ({
1521
1521
  "btn-group": !0,
1522
1522
  "sc-nav-btn": !0,
1523
1523
  dropdown: !0,
1524
1524
  "d-none": !a.value
1525
- })), v = D(() => ({
1525
+ })), v = E(() => ({
1526
1526
  btn: !0,
1527
1527
  "sc-nav-rg": !0,
1528
1528
  "d-none": !a.value
1529
1529
  }));
1530
- function p(x, O) {
1530
+ function p(x, D) {
1531
1531
  if (!t.value)
1532
1532
  return;
1533
1533
  const C = t.value.scrollLeft, B = t.value.scrollWidth - t.value.offsetWidth;
1534
- if (O > 0) {
1534
+ if (D > 0) {
1535
1535
  if (t.value.scrollLeft >= B)
1536
1536
  return;
1537
1537
  t.value.scrollLeft = C + e.scrollStep + x;
1538
- } else if (O < 0) {
1538
+ } else if (D < 0) {
1539
1539
  if (t.value.scrollLeft <= 0)
1540
1540
  return;
1541
1541
  t.value.scrollLeft = C - e.scrollStep - x;
@@ -1545,7 +1545,7 @@ function ko(e, t, n, o) {
1545
1545
  if (!a.value || !t.value)
1546
1546
  return;
1547
1547
  x < 0 && (x = l.value.findIndex((P) => P.props.id === c.value));
1548
- const O = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", C = t.value.querySelectorAll(O), { parentElement: B } = t.value, I = C[x];
1548
+ const D = e.tabType === "pills" ? ".f-capsule-item" : ".nav-item", C = t.value.querySelectorAll(D), { parentElement: B } = t.value, I = C[x];
1549
1549
  if (I && B) {
1550
1550
  const P = B.getBoundingClientRect().left, y = B.getBoundingClientRect().right, w = I.getBoundingClientRect().left, b = I.getBoundingClientRect().right;
1551
1551
  w < P ? p(P - w, -1) : y < b && p(b - y, 1), e.tabType === "one-page" && n.scrollTo(x);
@@ -1555,8 +1555,8 @@ function ko(e, t, n, o) {
1555
1555
  var C;
1556
1556
  if (!t.value)
1557
1557
  return;
1558
- const x = t.value, O = (C = t.value) == null ? void 0 : C.parentElement;
1559
- a.value = O && x && O.offsetWidth < x.scrollWidth - r, a.value && he(() => {
1558
+ const x = t.value, D = (C = t.value) == null ? void 0 : C.parentElement;
1559
+ a.value = D && x && D.offsetWidth < x.scrollWidth - r, a.value && he(() => {
1560
1560
  m();
1561
1561
  });
1562
1562
  }
@@ -1582,7 +1582,7 @@ function ko(e, t, n, o) {
1582
1582
  };
1583
1583
  }
1584
1584
  function Bo(e, t) {
1585
- const { tabPages: n } = t, o = h(""), a = h(!0), i = D(() => e.searchBoxVisible), l = D(() => i.value ? n.value.filter((c) => c.props.title.includes(o.value)) : n.value.slice());
1585
+ const { tabPages: n } = t, o = h(""), a = h(!0), i = E(() => e.searchBoxVisible), l = E(() => i.value ? n.value.filter((c) => c.props.title.includes(o.value)) : n.value.slice());
1586
1586
  return ee(a, (s) => {
1587
1587
  s || (o.value = "");
1588
1588
  }), {
@@ -1627,7 +1627,7 @@ const dt = /* @__PURE__ */ ve({
1627
1627
  checkActiveIdAndSelect: S,
1628
1628
  toggleShowTab: F,
1629
1629
  hasInHeadClass: x,
1630
- toolbarVisible: O
1630
+ toolbarVisible: D
1631
1631
  } = r, C = Fo(e, s, r), B = ko(e, l, C, r), {
1632
1632
  previousButtonClass: I,
1633
1633
  nextButtonClass: P,
@@ -1637,12 +1637,12 @@ const dt = /* @__PURE__ */ ve({
1637
1637
  scrollToSelectedTab: T
1638
1638
  } = B;
1639
1639
  r.setScrollToSelectedTabFunction(T);
1640
- const k = Bo(e, r), M = Dl(e, l, B, C, r), E = M, j = Io(e, l, B, C, r), R = /* @__PURE__ */ new Map([["default", M], ["one-page", E], ["pills", j]]);
1641
- D(() => {
1640
+ const k = Bo(e, r), M = Dl(e, l, B, C, r), O = M, j = Io(e, l, B, C, r), R = /* @__PURE__ */ new Map([["default", M], ["one-page", O], ["pills", j]]);
1641
+ E(() => {
1642
1642
  const ne = v.value.find((le) => le.props.id === d.value);
1643
1643
  return ne == null ? void 0 : ne.slots;
1644
1644
  });
1645
- const V = D(() => e.fill);
1645
+ const V = E(() => e.fill);
1646
1646
  mt("tabs", {
1647
1647
  activeId: d,
1648
1648
  addTab: p,
@@ -1651,21 +1651,21 @@ const dt = /* @__PURE__ */ ve({
1651
1651
  tabType: o,
1652
1652
  shouldFillParentContaner: V,
1653
1653
  toggleShowTab: F,
1654
- toolbarVisible: O
1654
+ toolbarVisible: D
1655
1655
  });
1656
1656
  let $ = !1;
1657
- const A = D(() => ({
1657
+ const A = E(() => ({
1658
1658
  "farris-tabs-header": !0,
1659
1659
  "farris-tabs-inHead": x.value,
1660
1660
  "farris-tabs-inContent": !x.value,
1661
1661
  "farris-tabs-nav-fill": e.tabType === "fill",
1662
1662
  "farris-tabs-nav-pills": e.tabType === "pills"
1663
- })), z = D(() => {
1663
+ })), z = E(() => {
1664
1664
  const ne = {
1665
1665
  width: x.value && e.titleWidth ? `${e.titleWidth}%` : ""
1666
1666
  };
1667
1667
  return ne.width && (ne.flex = "unset"), ne;
1668
- }), H = D(() => {
1668
+ }), H = E(() => {
1669
1669
  const ne = {
1670
1670
  "farris-tabs": !0,
1671
1671
  "f-tabs-content-fill": V.value,
@@ -1732,13 +1732,13 @@ const dt = /* @__PURE__ */ ve({
1732
1732
  return g.value.length ? u("div", {
1733
1733
  class: {
1734
1734
  "farris-tabs-toolbar": !0,
1735
- "d-none": !O.value
1735
+ "d-none": !D.value
1736
1736
  }
1737
1737
  }, [u(_n, {
1738
1738
  class: "f-utils-fill",
1739
1739
  alignment: x.value ? "right" : "left",
1740
1740
  items: g.value,
1741
- visible: O.value,
1741
+ visible: D.value,
1742
1742
  onClick: Z
1743
1743
  }, null)]) : null;
1744
1744
  }
@@ -1759,7 +1759,7 @@ const dt = /* @__PURE__ */ ve({
1759
1759
  class: "farris-tabs-header-post"
1760
1760
  }, [(Me = (ue = t.slots).headerSuffix) == null ? void 0 : Me.call(ue)])]);
1761
1761
  }
1762
- const W = D(() => ({
1762
+ const W = E(() => ({
1763
1763
  "farris-tabs-content": !0,
1764
1764
  "f-utils-fill-flex-column": V.value
1765
1765
  }));
@@ -1915,7 +1915,7 @@ const jt = /* @__PURE__ */ ve({
1915
1915
  (!p || p === -1) && (n == null || n.addTab(a));
1916
1916
  }), Ye(() => {
1917
1917
  });
1918
- const l = D(() => (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value)), s = D(() => ({
1918
+ const l = E(() => (e == null ? void 0 : e.id) === (n == null ? void 0 : n.activeId.value)), s = E(() => ({
1919
1919
  display: l.value ? "" : "none"
1920
1920
  }));
1921
1921
  ee(() => e, (p) => {
@@ -1941,7 +1941,7 @@ const jt = /* @__PURE__ */ ve({
1941
1941
  default: () => [p]
1942
1942
  });
1943
1943
  }
1944
- const r = D(() => {
1944
+ const r = E(() => {
1945
1945
  var m;
1946
1946
  return {
1947
1947
  "farris-tab-page": !0,
@@ -1969,20 +1969,20 @@ function Gl(e, t, n, o, a, i) {
1969
1969
  selectDesignTab: r,
1970
1970
  addTabPageToolbar: d,
1971
1971
  resetPositionForSelectedElement: f
1972
- } = a, v = D(() => ({
1972
+ } = a, v = E(() => ({
1973
1973
  "st-tab-text": !0,
1974
1974
  "farris-title-auto": e.autoTitleWidth
1975
- })), p = D(() => {
1975
+ })), p = E(() => {
1976
1976
  const k = {
1977
1977
  "farris-component": !0,
1978
1978
  "nav-item": !0,
1979
1979
  "f-state-active": t.id === l.value
1980
1980
  };
1981
1981
  return k[`${t.id}-design-item`] = !0, k;
1982
- }), m = D(() => {
1982
+ }), m = E(() => {
1983
1983
  const k = {};
1984
1984
  return t.tabWidth && t.tabWidth > 0 && (k.width = `${t.tabWidth}px`), k;
1985
- }), g = D(() => ({
1985
+ }), g = E(() => ({
1986
1986
  "nav-link": !0,
1987
1987
  "tabs-text-truncate": !0,
1988
1988
  active: t.id === l.value
@@ -2002,7 +2002,7 @@ function Gl(e, t, n, o, a, i) {
2002
2002
  class: "f-icon f-icon-close"
2003
2003
  }, null)]) : "";
2004
2004
  }
2005
- function O() {
2005
+ function D() {
2006
2006
  return F.value ? t.titleHtml + `<span class="st-drop-close" style="opacity:0.6">
2007
2007
  <i class="f-icon f-icon-close"></i>
2008
2008
  </span>` : t.titleHtml;
@@ -2069,7 +2069,7 @@ function Gl(e, t, n, o, a, i) {
2069
2069
  class: g.value,
2070
2070
  onClick: C,
2071
2071
  id: `${t.id}-design-item`,
2072
- innerHTML: O()
2072
+ innerHTML: D()
2073
2073
  }, null) : u("a", {
2074
2074
  class: g.value,
2075
2075
  onClick: C,
@@ -2088,13 +2088,13 @@ function Xl(e, t, n, o, a, i, l) {
2088
2088
  tabPages: s,
2089
2089
  selectTab: c,
2090
2090
  emitSelectionChange: r
2091
- } = a, d = D(() => ({
2091
+ } = a, d = E(() => ({
2092
2092
  spacer: !0,
2093
2093
  "f-utils-fill": !0
2094
- })), f = D(() => ({
2094
+ })), f = E(() => ({
2095
2095
  width: "100%",
2096
2096
  "justify-content": e.justifyContent
2097
- })), v = D(() => ({
2097
+ })), v = E(() => ({
2098
2098
  nav: !0,
2099
2099
  "farris-nav-tabs": !0,
2100
2100
  "flex-nowrap": !0,
@@ -2102,7 +2102,7 @@ function Xl(e, t, n, o, a, i, l) {
2102
2102
  "nav-pills": e.tabType === "pills",
2103
2103
  "flex-row": e.position === "top" || e.position === "bottom",
2104
2104
  "flex-column": e.position === "left" || e.position === "right"
2105
- })), p = D(() => ({
2105
+ })), p = E(() => ({
2106
2106
  overflow: "auto"
2107
2107
  })), m = function(g) {
2108
2108
  var F;
@@ -2155,18 +2155,18 @@ function Bt(e, t, n) {
2155
2155
  return null;
2156
2156
  if (k.value.schema && k.value.schema.type === "component")
2157
2157
  return k.value;
2158
- const M = h(k == null ? void 0 : k.value.parent), E = f(M);
2159
- return E || null;
2158
+ const M = h(k == null ? void 0 : k.value.parent), O = f(M);
2159
+ return O || null;
2160
2160
  }
2161
2161
  function v(k = t) {
2162
2162
  var R;
2163
2163
  if (n != null && n.getDraggableDesignItemElement)
2164
2164
  return n.getDraggableDesignItemElement(k);
2165
- const { componentInstance: M, designerItemElementRef: E } = k;
2165
+ const { componentInstance: M, designerItemElementRef: O } = k;
2166
2166
  if (!M || !M.value)
2167
2167
  return null;
2168
2168
  const { getCustomButtons: j } = M.value;
2169
- return M.value.canMove || j && ((R = j()) != null && R.length) ? E : v(k.parent);
2169
+ return M.value.canMove || j && ((R = j()) != null && R.length) ? O : v(k.parent);
2170
2170
  }
2171
2171
  function p(k) {
2172
2172
  return !!n && n.canAccepts(k);
@@ -2177,43 +2177,43 @@ function Bt(e, t, n) {
2177
2177
  function g() {
2178
2178
  }
2179
2179
  function S(k, M) {
2180
- var E;
2181
- !k || !M || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(k, M), (E = t == null ? void 0 : t.setupContext) == null || E.emit("dragEnd"));
2180
+ var O;
2181
+ !k || !M || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(k, M), (O = t == null ? void 0 : t.setupContext) == null || O.emit("dragEnd"));
2182
2182
  }
2183
2183
  function F(k, M) {
2184
- const { componentType: E } = k;
2185
- let j = Wn(E, k, M);
2184
+ const { componentType: O } = k;
2185
+ let j = Wn(O, k, M);
2186
2186
  n && n.onResolveNewComponentSchema && (j = n.onResolveNewComponentSchema(k, j));
2187
- const R = E.toLowerCase().replace(/-/g, "_");
2188
- return j && !j.id && j.type === E && (j.id = `${R}_${Math.random().toString().slice(2, 6)}`), j;
2187
+ const R = O.toLowerCase().replace(/-/g, "_");
2188
+ return j && !j.id && j.type === O && (j.id = `${R}_${Math.random().toString().slice(2, 6)}`), j;
2189
2189
  }
2190
2190
  function x(k) {
2191
2191
  k && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(k);
2192
2192
  }
2193
- function O(...k) {
2193
+ function D(...k) {
2194
2194
  if (n && n.getPropsConfig)
2195
2195
  return n.getPropsConfig(...k);
2196
2196
  }
2197
2197
  function C(k) {
2198
2198
  if (!k)
2199
2199
  return;
2200
- const M = t == null ? void 0 : t.schema, { formSchemaUtils: E } = k;
2201
- if (M && E.getExpressions().length) {
2202
- const j = E.getExpressions().findIndex((R) => R.target === M.id);
2203
- j > -1 && E.getExpressions().splice(j, 1);
2200
+ const M = t == null ? void 0 : t.schema, { formSchemaUtils: O } = k;
2201
+ if (M && O.getExpressions().length) {
2202
+ const j = O.getExpressions().findIndex((R) => R.target === M.id);
2203
+ j > -1 && O.getExpressions().splice(j, 1);
2204
2204
  }
2205
2205
  }
2206
2206
  function B(k) {
2207
2207
  if (!k || !(t != null && t.schema))
2208
2208
  return;
2209
- const M = t.schema, { formSchemaUtils: E } = k;
2210
- E.removeCommunicationInComponent(M);
2209
+ const M = t.schema, { formSchemaUtils: O } = k;
2210
+ O.removeCommunicationInComponent(M);
2211
2211
  }
2212
2212
  function I(k) {
2213
2213
  n && n.onRemoveComponent && n.onRemoveComponent(), C(k), B(k), t != null && t.schema.contents && t.schema.contents.map((M) => {
2214
- let E = M.id;
2215
- M.type === "component-ref" && (E = M.component);
2216
- const j = e.value.querySelectorAll(`#${E}-design-item`);
2214
+ let O = M.id;
2215
+ M.type === "component-ref" && (O = M.component);
2216
+ const j = e.value.querySelectorAll(`#${O}-design-item`);
2217
2217
  j != null && j.length && Array.from(j).map((R) => {
2218
2218
  var V;
2219
2219
  (V = R == null ? void 0 : R.componentInstance) != null && V.value.onRemoveComponent && R.componentInstance.value.onRemoveComponent(k);
@@ -2225,8 +2225,8 @@ function Bt(e, t, n) {
2225
2225
  return n.getCustomButtons();
2226
2226
  }
2227
2227
  function y(k) {
2228
- var E, j;
2229
- if (!((E = t == null ? void 0 : t.schema) != null && E.id))
2228
+ var O, j;
2229
+ if (!((O = t == null ? void 0 : t.schema) != null && O.id))
2230
2230
  return;
2231
2231
  if (!l && k && (l = k.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
2232
2232
  n.setComponentBasicInfoMap();
@@ -2246,8 +2246,8 @@ function Bt(e, t, n) {
2246
2246
  }
2247
2247
  function w(k) {
2248
2248
  var R;
2249
- const { changeObject: M } = k, { propertyID: E, propertyValue: j } = M;
2250
- if (["text", "title", "label", "name", "mainTitle"].includes((R = k == null ? void 0 : k.changeObject) == null ? void 0 : R.propertyID) && E && j && (y(), l)) {
2249
+ const { changeObject: M } = k, { propertyID: O, propertyValue: j } = M;
2250
+ if (["text", "title", "label", "name", "mainTitle"].includes((R = k == null ? void 0 : k.changeObject) == null ? void 0 : R.propertyID) && O && j && (y(), l)) {
2251
2251
  const V = l.getControlBasicInfoMap(), $ = V.keys().toArray().filter((A) => {
2252
2252
  var z, H;
2253
2253
  return ((z = V.get(A)) == null ? void 0 : z.reliedComponentId) === ((H = t == null ? void 0 : t.schema) == null ? void 0 : H.id);
@@ -2277,7 +2277,7 @@ function Bt(e, t, n) {
2277
2277
  getBelongedComponentInstance: f,
2278
2278
  getDraggableDesignItemElement: v,
2279
2279
  getDraggingDisplayText: m,
2280
- getPropConfig: O,
2280
+ getPropConfig: D,
2281
2281
  getDragScopeElement: g,
2282
2282
  onAcceptMovedChildElement: S,
2283
2283
  onChildElementMovedOut: x,
@@ -2410,7 +2410,7 @@ var Oo = { exports: {} };
2410
2410
  function f(T, k) {
2411
2411
  var M = arguments.length;
2412
2412
  M === 1 && Array.isArray(T) === !1 && (k = T, T = []);
2413
- var E, j, R, V, $, A, z, H, K, oe = null, ie, Q, fe = !1, be = 0, re, Z = k || {};
2413
+ var O, j, R, V, $, A, z, H, K, oe = null, ie, Q, fe = !1, be = 0, re, Z = k || {};
2414
2414
  Z.moves === void 0 && (Z.moves = x), Z.accepts === void 0 && (Z.accepts = x), Z.invalid === void 0 && (Z.invalid = $e), Z.containers === void 0 && (Z.containers = T || []), Z.isContainer === void 0 && (Z.isContainer = F), Z.copy === void 0 && (Z.copy = !1), Z.copySortSource === void 0 && (Z.copySortSource = !1), Z.revertOnSpill === void 0 && (Z.revertOnSpill = !1), Z.removeOnSpill === void 0 && (Z.removeOnSpill = !1), Z.direction === void 0 && (Z.direction = "vertical"), Z.ignoreInputTextSelection === void 0 && (Z.ignoreInputTextSelection = !0), Z.mirrorContainer === void 0 && (Z.mirrorContainer = r.body);
2415
2415
  var de = l({
2416
2416
  containers: Z.containers,
@@ -2470,7 +2470,7 @@ var Oo = { exports: {} };
2470
2470
  }
2471
2471
  }
2472
2472
  function we(N) {
2473
- if (!(de.dragging && E) && !L(N)) {
2473
+ if (!(de.dragging && O) && !L(N)) {
2474
2474
  for (var G = N; B(N) && L(B(N)) === !1; )
2475
2475
  if (Z.invalid(N, G) || (N = B(N), !N))
2476
2476
  return;
@@ -2509,7 +2509,7 @@ var Oo = { exports: {} };
2509
2509
  }
2510
2510
  function _e(N) {
2511
2511
  if (Le(), !!de.dragging) {
2512
- var G = H || R, Y = b("clientX", N) || 0, te = b("clientY", N) || 0, me = S(E, Y, te), ge = ke(me, Y, te);
2512
+ var G = H || R, Y = b("clientX", N) || 0, te = b("clientY", N) || 0, me = S(O, Y, te), ge = ke(me, Y, te);
2513
2513
  ge && (H && Z.copySortSource || !H || ge !== j) ? vt(G, ge) : Z.removeOnSpill ? gt() : U();
2514
2514
  }
2515
2515
  }
@@ -2535,7 +2535,7 @@ var Oo = { exports: {} };
2535
2535
  }
2536
2536
  function Te(N, G) {
2537
2537
  var Y;
2538
- return G !== void 0 ? Y = G : E ? Y = z : Y = y(H || R), N === j && Y === A;
2538
+ return G !== void 0 ? Y = G : O ? Y = z : Y = y(H || R), N === j && Y === A;
2539
2539
  }
2540
2540
  function ke(N, G, Y) {
2541
2541
  for (var te = N; te && !me(); )
@@ -2550,12 +2550,12 @@ var Oo = { exports: {} };
2550
2550
  }
2551
2551
  }
2552
2552
  function Je(N) {
2553
- if (!E)
2553
+ if (!O)
2554
2554
  return;
2555
2555
  N.preventDefault();
2556
2556
  var G = b("clientX", N) || 0, Y = b("clientY", N) || 0;
2557
- E.style.left = G - 2 + "px", E.style.top = Y - 2 + "px";
2558
- var te = H || R, me = S(E, G, Y), ge = ke(me, G, Y), We = ge !== null && ge !== oe;
2557
+ O.style.left = G - 2 + "px", O.style.top = Y - 2 + "px";
2558
+ var te = H || R, me = S(O, G, Y), ge = ke(me, G, Y), We = ge !== null && ge !== oe;
2559
2559
  (We || ge === null) && (ze(), oe = ge, Ge()), nn(me, Y);
2560
2560
  var Ve = B(te);
2561
2561
  if (ge === j && H && !Z.copySortSource) {
@@ -2592,7 +2592,7 @@ var Oo = { exports: {} };
2592
2592
  de.dragging && c.add(N, "gu-hide");
2593
2593
  }
2594
2594
  function Yt() {
2595
- 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 = Z.getMirrorText && Z.getMirrorText(R) || "控件", c.add(E, "gu-mirror"), Z.mirrorContainer.appendChild(E), m(d, "add", "mousemove", Je), c.add(Z.mirrorContainer, "gu-unselectable"), de.emit("cloned", E, R, "mirror"));
2595
+ O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = Z.getMirrorText && Z.getMirrorText(R) || "控件", c.add(O, "gu-mirror"), Z.mirrorContainer.appendChild(O), m(d, "add", "mousemove", Je), c.add(Z.mirrorContainer, "gu-unselectable"), de.emit("cloned", O, R, "mirror"));
2596
2596
  }
2597
2597
  function Zt() {
2598
2598
  if (Q = document.createElement("div"), c.add(Q, "gu-insertion"), R) {
@@ -2602,7 +2602,7 @@ var Oo = { exports: {} };
2602
2602
  fe = !1, Z.mirrorContainer.appendChild(Q);
2603
2603
  }
2604
2604
  function Jt() {
2605
- E && (c.rm(Z.mirrorContainer, "gu-unselectable"), m(d, "remove", "mousemove", Je), B(E).removeChild(E), E = null);
2605
+ O && (c.rm(Z.mirrorContainer, "gu-unselectable"), m(d, "remove", "mousemove", Je), B(O).removeChild(O), O = null);
2606
2606
  }
2607
2607
  function Qt() {
2608
2608
  Q && (B(Q).removeChild(Q), Q = null);
@@ -2699,7 +2699,7 @@ var Oo = { exports: {} };
2699
2699
  var Ge = te - Be.top, ze = Y - Be.left, Ee = Be.bottom - te, Tt = Be.right - Y, It = Math.min(ze, Tt, Ge, Ee), kt;
2700
2700
  return fe ? kt = Tt < ze : kt = Ee === It || Tt === It || ze === It, Ue(kt);
2701
2701
  }
2702
- return Ue(me ? Y > Be.left + O(Be) / 2 : te > Be.top + C(Be) / 2);
2702
+ return Ue(me ? Y > Be.left + D(Be) / 2 : te > Be.top + C(Be) / 2);
2703
2703
  }
2704
2704
  function Ue(Be) {
2705
2705
  return Be ? y(G) : G;
@@ -2712,23 +2712,23 @@ var Oo = { exports: {} };
2712
2712
  function v(T) {
2713
2713
  const k = Array.from(window.scrollContainerList);
2714
2714
  if (k.length === 1) {
2715
- const E = Array.from(window.scrollContainerList)[0];
2716
- return document.getElementById(E);
2715
+ const O = Array.from(window.scrollContainerList)[0];
2716
+ return document.getElementById(O);
2717
2717
  }
2718
2718
  const M = p(k);
2719
- for (const E of M)
2720
- if (E.contains(T))
2721
- return E;
2719
+ for (const O of M)
2720
+ if (O.contains(T))
2721
+ return O;
2722
2722
  return null;
2723
2723
  }
2724
2724
  function p(T) {
2725
2725
  const k = [];
2726
2726
  return T.forEach((M) => {
2727
- const E = document.getElementById(M);
2728
- E && k.push(E);
2729
- }), k.sort((M, E) => M.contains(E) ? 1 : E.contains(M) ? -1 : 0), k;
2727
+ const O = document.getElementById(M);
2728
+ O && k.push(O);
2729
+ }), k.sort((M, O) => M.contains(O) ? 1 : O.contains(M) ? -1 : 0), k;
2730
2730
  }
2731
- function m(T, k, M, E) {
2731
+ function m(T, k, M, O) {
2732
2732
  var j = {
2733
2733
  mouseup: "touchend",
2734
2734
  mousedown: "touchstart",
@@ -2742,7 +2742,7 @@ var Oo = { exports: {} };
2742
2742
  mousedown: "MSPointerDown",
2743
2743
  mousemove: "MSPointerMove"
2744
2744
  };
2745
- i.navigator.pointerEnabled ? s[k](T, R[M], E) : i.navigator.msPointerEnabled ? s[k](T, V[M], E) : (s[k](T, j[M], E), s[k](T, M, E));
2745
+ i.navigator.pointerEnabled ? s[k](T, R[M], O) : i.navigator.msPointerEnabled ? s[k](T, V[M], O) : (s[k](T, j[M], O), s[k](T, M, O));
2746
2746
  }
2747
2747
  function g(T) {
2748
2748
  if (T.touches !== void 0)
@@ -2757,8 +2757,8 @@ var Oo = { exports: {} };
2757
2757
  }
2758
2758
  function S(T, k, M) {
2759
2759
  T = T || {};
2760
- var E = T.className || "", j;
2761
- return T.className += " gu-hide", j = r.elementFromPoint(k, M), T.className = E, j;
2760
+ var O = T.className || "", j;
2761
+ return T.className += " gu-hide", j = r.elementFromPoint(k, M), T.className = O, j;
2762
2762
  }
2763
2763
  function F() {
2764
2764
  return !1;
@@ -2766,7 +2766,7 @@ var Oo = { exports: {} };
2766
2766
  function x() {
2767
2767
  return !0;
2768
2768
  }
2769
- function O(T) {
2769
+ function D(T) {
2770
2770
  return T.width || T.right - T.left;
2771
2771
  }
2772
2772
  function C(T) {
@@ -2795,13 +2795,13 @@ var Oo = { exports: {} };
2795
2795
  return T.targetTouches && T.targetTouches.length ? T.targetTouches[0] : T.changedTouches && T.changedTouches.length ? T.changedTouches[0] : T;
2796
2796
  }
2797
2797
  function b(T, k) {
2798
- var M = w(k), E = {
2798
+ var M = w(k), O = {
2799
2799
  pageX: "clientX",
2800
2800
  // IE8
2801
2801
  pageY: "clientY"
2802
2802
  // IE8
2803
2803
  };
2804
- return T in E && !(T in M) && E[T] in M && (T = E[T]), M[T];
2804
+ return T in O && !(T in M) && O[T] in M && (T = O[T]), M[T];
2805
2805
  }
2806
2806
  o.exports = f;
2807
2807
  }).call(this, typeof et < "u" ? et : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2874,7 +2874,7 @@ var Oo = { exports: {} };
2874
2874
  return B.removeEventListener(I, P, y);
2875
2875
  }
2876
2876
  function g(B, I, P) {
2877
- var y = O(B, I, P);
2877
+ var y = D(B, I, P);
2878
2878
  if (y)
2879
2879
  return B.detachEvent("on" + I, y);
2880
2880
  }
@@ -2900,7 +2900,7 @@ var Oo = { exports: {} };
2900
2900
  };
2901
2901
  }
2902
2902
  function x(B, I, P) {
2903
- var y = O(B, I, P) || F(B, I, P);
2903
+ var y = D(B, I, P) || F(B, I, P);
2904
2904
  return f.push({
2905
2905
  wrapper: y,
2906
2906
  element: B,
@@ -2908,7 +2908,7 @@ var Oo = { exports: {} };
2908
2908
  fn: P
2909
2909
  }), y;
2910
2910
  }
2911
- function O(B, I, P) {
2911
+ function D(B, I, P) {
2912
2912
  var y = C(B, I, P);
2913
2913
  if (y) {
2914
2914
  var w = f[y].wrapper;
@@ -3036,9 +3036,9 @@ var Oo = { exports: {} };
3036
3036
  x.prototype.run = function() {
3037
3037
  this.fun.apply(null, this.array);
3038
3038
  }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {};
3039
- function O() {
3039
+ function D() {
3040
3040
  }
3041
- i.on = O, i.addListener = O, i.once = O, i.off = O, i.removeListener = O, i.removeAllListeners = O, i.emit = O, i.prependListener = O, i.prependOnceListener = O, i.listeners = function(C) {
3041
+ i.on = D, i.addListener = D, i.once = D, i.off = D, i.removeListener = D, i.removeAllListeners = D, i.emit = D, i.prependListener = D, i.prependOnceListener = D, i.listeners = function(C) {
3042
3042
  return [];
3043
3043
  }, i.binding = function(C) {
3044
3044
  throw new Error("process.binding is not supported");
@@ -3125,19 +3125,19 @@ const $t = /* @__PURE__ */ Ql(Kl), es = {
3125
3125
  const {
3126
3126
  locale: n,
3127
3127
  t: o
3128
- } = Ze(), a = h(e.animate), i = "fadeOut", l = D(() => e.options), s = h(!1), c = D(() => l.value.title && l.value.message), r = D(() => !l.value.title && l.value.message), d = D(() => {
3128
+ } = Ze(), a = h(e.animate), i = "fadeOut", l = E(() => e.options), s = h(!1), c = E(() => l.value.title && l.value.message), r = E(() => !l.value.title && l.value.message), d = E(() => {
3129
3129
  const C = {
3130
3130
  animated: s.value,
3131
3131
  toast: !0,
3132
3132
  "toast--only-content": !c.value
3133
3133
  };
3134
3134
  return C[e.animate] = !1, C[i] = s.value, C["toasty-type-" + l.value.type] = !0, l.value.theme && (C[l.value.theme] = !0), C;
3135
- }), f = D(() => {
3135
+ }), f = E(() => {
3136
3136
  const I = `f-icon-${l.value && l.value.type ? l.value.type.replace("toasty-type-", "") : "default"}`, P = {
3137
3137
  "f-icon": !0
3138
3138
  };
3139
3139
  return P[I] = !0, P;
3140
- }), v = D(() => l.value.title || l.value.message), p = D(() => e.showCloseButton), m = D(() => !!l.value.buttons || !!t.slots.default), g = D(() => n.value === "en" ? {
3140
+ }), v = E(() => l.value.title || l.value.message), p = E(() => e.showCloseButton), m = E(() => !!l.value.buttons || !!t.slots.default), g = E(() => n.value === "en" ? {
3141
3141
  wordBreak: "keep-all",
3142
3142
  overflowWrap: "break-word"
3143
3143
  } : {});
@@ -3154,7 +3154,7 @@ const $t = /* @__PURE__ */ Ql(Kl), es = {
3154
3154
  ee(a, () => {
3155
3155
  a.value;
3156
3156
  });
3157
- const O = () => {
3157
+ const D = () => {
3158
3158
  var C;
3159
3159
  return u(Ie, null, [u("div", {
3160
3160
  class: "after-toast-msg text-right"
@@ -3187,7 +3187,7 @@ const $t = /* @__PURE__ */ Ql(Kl), es = {
3187
3187
  class: "toast-msg",
3188
3188
  innerHTML: l.value.message,
3189
3189
  style: g.value
3190
- }, null), m.value && O()]), r.value && (l.value.buttons ? u("div", {
3190
+ }, null), m.value && D()]), r.value && (l.value.buttons ? u("div", {
3191
3191
  class: "toast-title-btns-wrapper d-flex"
3192
3192
  }, [u("h5", {
3193
3193
  class: "toast-title modal-tips-title only-toast-msg",
@@ -3195,7 +3195,7 @@ const $t = /* @__PURE__ */ Ql(Kl), es = {
3195
3195
  innerHTML: l.value.message
3196
3196
  }, null), u("div", {
3197
3197
  class: "after-toast-title text-right ml-auto"
3198
- }, [O()])]) : u("h5", {
3198
+ }, [D()])]) : u("h5", {
3199
3199
  class: "toast-title modal-tips-title only-toast-msg",
3200
3200
  style: g.value,
3201
3201
  innerHTML: l.value.message
@@ -3206,14 +3206,14 @@ const $t = /* @__PURE__ */ Ql(Kl), es = {
3206
3206
  props: es,
3207
3207
  emits: ["close", "empty"],
3208
3208
  setup(e, t) {
3209
- const n = D(() => ({
3209
+ const n = E(() => ({
3210
3210
  "farris-notify": !0
3211
3211
  })), o = {
3212
3212
  left: 12,
3213
3213
  right: 12,
3214
3214
  top: 20,
3215
3215
  bottom: 12
3216
- }, a = h(), i = h(e.options), l = h(e.showCloseButton), s = D(() => e.position || "bottom-right"), c = D(() => e.timeout != null ? e.timeout : 3e3), r = D(() => {
3216
+ }, a = h(), i = h(e.options), l = h(e.showCloseButton), s = E(() => e.position || "bottom-right"), c = E(() => e.timeout != null ? e.timeout : 3e3), r = E(() => {
3217
3217
  const v = e.bottom ? e.bottom : o.bottom, p = e.top ? e.top : o.top, m = {
3218
3218
  transition: "all 0.2s ease",
3219
3219
  left: s.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -3528,7 +3528,7 @@ function os(e, t, n, o, a, i, l, s, c, r, d, f, v, p, m, g, S) {
3528
3528
  calculateCellPositionInRow: F
3529
3529
  } = i, {
3530
3530
  columnContext: x,
3531
- hasLeftFixedColumn: O,
3531
+ hasLeftFixedColumn: D,
3532
3532
  hasRightFixedColumn: C
3533
3533
  } = l, {
3534
3534
  gridDataStyle: B,
@@ -3568,12 +3568,12 @@ function os(e, t, n, o, a, i, l, s, c, r, d, f, v, p, m, g, S) {
3568
3568
  style: P.value
3569
3569
  }, [b(x.value.rightColumns.filter((j) => j.visible), "right")])]);
3570
3570
  }
3571
- function E() {
3571
+ function O() {
3572
3572
  const j = [];
3573
- return O.value && j.push(T()), j.push(k()), C.value && j.push(M()), j;
3573
+ return D.value && j.push(T()), j.push(k()), C.value && j.push(M()), j;
3574
3574
  }
3575
3575
  return {
3576
- renderDataArea: E
3576
+ renderDataArea: O
3577
3577
  };
3578
3578
  }
3579
3579
  const as = /* @__PURE__ */ ve({
@@ -3585,7 +3585,7 @@ const as = /* @__PURE__ */ ve({
3585
3585
  const o = ((Tn = e.rowOption) == null ? void 0 : Tn.height) || 28, a = h(20), i = h(e.columns), l = Un(e), {
3586
3586
  idField: s
3587
3587
  } = l, c = h(), r = h(), d = h(), f = h(), v = h(), p = h([]), m = h(!1), g = h(((In = e.rowOption) == null ? void 0 : In.wrapContent) || !1), S = Gn(e, l), F = Xn(e, t), x = Yn(e), {
3588
- collapseField: O
3588
+ collapseField: D
3589
3589
  } = x, {
3590
3590
  showLoading: C,
3591
3591
  renderLoading: B
@@ -3594,9 +3594,9 @@ const as = /* @__PURE__ */ ve({
3594
3594
  } = I, y = Jn(e, I, l, p, t), {
3595
3595
  showSelection: w,
3596
3596
  selectedValues: b
3597
- } = y, T = Va(e, p, I, l, y, t), k = D(() => e.disabled), M = D(() => e.virtualized ? Math.min(I.dataView.value.length, a.value) : I.dataView.value.length), E = Qn(e, I), {
3597
+ } = y, T = Va(e, p, I, l, y, t), k = E(() => e.disabled), M = E(() => e.virtualized ? Math.min(I.dataView.value.length, a.value) : I.dataView.value.length), O = Qn(e, I), {
3598
3598
  shouldRenderPagination: j
3599
- } = E, {
3599
+ } = O, {
3600
3600
  containerStyleObject: R
3601
3601
  } = Aa(e), V = Na(e), {
3602
3602
  applyCommands: $
@@ -3626,7 +3626,7 @@ const as = /* @__PURE__ */ ve({
3626
3626
  updateVisibleRowsOnLatestVisibleScope: $e
3627
3627
  } = ue, Ne = Wa(e, ie, r, je, fe), {
3628
3628
  calculateColumnsSize: Le
3629
- } = Ne, _e = Ua(), vt = Ga(r, v, I, _e, ue), gt = Xa(e, t, H, I, fe, S, ue), U = D(() => {
3629
+ } = Ne, _e = Ua(), vt = Ga(r, v, I, _e, ue), gt = Xa(e, t, H, I, fe, S, ue), U = E(() => {
3630
3630
  const J = {
3631
3631
  "fv-grid": !0,
3632
3632
  "fv-grid-bordered": e.showBorder,
@@ -3634,7 +3634,7 @@ const as = /* @__PURE__ */ ve({
3634
3634
  "fv-datagrid-strip": e.showStripe
3635
3635
  };
3636
3636
  return De(J, e.customClass);
3637
- }), se = D(() => ({
3637
+ }), se = E(() => ({
3638
3638
  "fv-grid-content": !0,
3639
3639
  "fv-grid-content-hover": m.value,
3640
3640
  "fv-grid-wrap-content": g.value
@@ -3731,7 +3731,7 @@ const as = /* @__PURE__ */ ve({
3731
3731
  function He() {
3732
3732
  y.clearSelection();
3733
3733
  }
3734
- const Ue = D(() => !p.value || !p.value.length), {
3734
+ const Ue = E(() => !p.value || !p.value.length), {
3735
3735
  renderEmpty: Be
3736
3736
  } = ei(e, t);
3737
3737
  function Ge() {
@@ -3779,10 +3779,10 @@ const as = /* @__PURE__ */ ve({
3779
3779
  }
3780
3780
  function kt(J) {
3781
3781
  const ae = I.dataView.value.find((Fe) => Fe[s.value] === J);
3782
- return ae ? ae[O.value] : "";
3782
+ return ae ? ae[D.value] : "";
3783
3783
  }
3784
3784
  function ua() {
3785
- return O.value;
3785
+ return D.value;
3786
3786
  }
3787
3787
  ee(() => e.showSetting, (J, ae) => {
3788
3788
  J !== ae && (J ? A(i) : z(i), G(i.value));
@@ -3826,20 +3826,20 @@ const as = /* @__PURE__ */ ve({
3826
3826
  selectRowById: fa,
3827
3827
  updateDerivedData: pa
3828
3828
  });
3829
- const ma = D(() => {
3829
+ const ma = E(() => {
3830
3830
  const J = {};
3831
3831
  return ue.shouldShowHorizontalScrollbar.value && (J.paddingBottom = "10px"), ue.shouldShowVirticalScrollbar.value && (J.paddingRight = "10px"), J;
3832
- }), va = D(() => ({
3832
+ }), va = E(() => ({
3833
3833
  ...R.value,
3834
3834
  borderRadius: "5px"
3835
3835
  }));
3836
- ro(e, t, I, ue, E, y);
3837
- const ga = D(() => ({
3836
+ ro(e, t, I, ue, O, y);
3837
+ const ga = E(() => ({
3838
3838
  "d-flex": !0,
3839
3839
  "justify-content-between": j.value && w.value,
3840
3840
  "justify-content-end": j.value && !w.value,
3841
3841
  "position-relative": !0
3842
- })), ha = D(() => ({
3842
+ })), ha = E(() => ({
3843
3843
  "d-flex": !0,
3844
3844
  "align-items-center": !0
3845
3845
  })), {
@@ -4005,12 +4005,12 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4005
4005
  props: hn,
4006
4006
  emits: ["click"],
4007
4007
  setup(e, t) {
4008
- const n = h(e.direction), o = h(e.fill), a = h(e.height), i = h(e.steps), l = h(e.activeIndex), s = D(() => ({
4008
+ const n = h(e.direction), o = h(e.fill), a = h(e.height), i = h(e.steps), l = h(e.activeIndex), s = E(() => ({
4009
4009
  "f-progress-step-list": n.value === "horizontal",
4010
4010
  "f-progress-step-list-block": n.value === "vertical",
4011
4011
  "f-progress-step-horizontal-fill": n.value === "horizontal" && o.value,
4012
4012
  "f-progress-step-vertical-fill": n.value === "vertical" && o.value
4013
- })), c = D(() => ({
4013
+ })), c = E(() => ({
4014
4014
  height: n.value === "vertical" ? `${a.value}px` : ""
4015
4015
  }));
4016
4016
  function r(C, B) {
@@ -4081,11 +4081,11 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4081
4081
  function F(C, B) {
4082
4082
  return B !== i.value.length - 1;
4083
4083
  }
4084
- const x = D(() => ({
4084
+ const x = E(() => ({
4085
4085
  triangle: !0,
4086
4086
  "": n.value === "vertical"
4087
4087
  }));
4088
- function O() {
4088
+ function D() {
4089
4089
  return i.value.map((C, B) => u("li", {
4090
4090
  class: r(C, B),
4091
4091
  onClick: (I) => d(C, B)
@@ -4100,13 +4100,13 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4100
4100
  }, null)])])]));
4101
4101
  }
4102
4102
  return ee(() => e.activeIndex, () => {
4103
- e.activeIndex > -1 && e.activeIndex <= i.value.length && (l.value = e.activeIndex, O());
4103
+ e.activeIndex > -1 && e.activeIndex <= i.value.length && (l.value = e.activeIndex, D());
4104
4104
  }), () => u("div", {
4105
4105
  class: "f-progress-step"
4106
4106
  }, [u("ul", {
4107
4107
  class: s.value,
4108
4108
  style: c.value
4109
- }, [O()])]);
4109
+ }, [D()])]);
4110
4110
  }
4111
4111
  }), Cs = /* @__PURE__ */ ve({
4112
4112
  name: "FStepDesign",
@@ -4117,12 +4117,12 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4117
4117
  Ce(() => {
4118
4118
  r.value.componentInstance = f;
4119
4119
  }), t.expose(f.value);
4120
- const v = D(() => ({
4120
+ const v = E(() => ({
4121
4121
  "f-progress-step-list": n.value === "horizontal",
4122
4122
  "f-progress-step-list-block": n.value === "vertical",
4123
4123
  "f-progress-step-horizontal-fill": n.value === "horizontal" && o.value,
4124
4124
  "f-progress-step-vertical-fill": n.value === "vertical" && o.value
4125
- })), p = D(() => ({
4125
+ })), p = E(() => ({
4126
4126
  height: n.value === "vertical" ? `${a.value}px` : ""
4127
4127
  }));
4128
4128
  function m(w, b) {
@@ -4164,7 +4164,7 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4164
4164
  class: F(w, !0)
4165
4165
  }, null)), T;
4166
4166
  }
4167
- function O(w, b) {
4167
+ function D(w, b) {
4168
4168
  return {
4169
4169
  "step-name": !0,
4170
4170
  "step-name-success": b < l.value
@@ -4174,7 +4174,7 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4174
4174
  return u("div", {
4175
4175
  class: "f-progress-step-title"
4176
4176
  }, [u("p", {
4177
- class: O(w, b)
4177
+ class: D(w, b)
4178
4178
  }, [w.title])]);
4179
4179
  }
4180
4180
  function B(w, b) {
@@ -4186,7 +4186,7 @@ const ss = "https://json-schema.org/draft/2020-12/schema", rs = "https://farris-
4186
4186
  function I(w, b) {
4187
4187
  return b !== i.value.length - 1;
4188
4188
  }
4189
- const P = D(() => ({
4189
+ const P = E(() => ({
4190
4190
  triangle: !0,
4191
4191
  "": n.value === "vertical"
4192
4192
  }));
@@ -5457,7 +5457,7 @@ function rr() {
5457
5457
  return { onCopy: e };
5458
5458
  }
5459
5459
  function cr(e, t, n, o) {
5460
- const a = h(14), i = h(140), l = h(""), s = h(o.value.length), c = D(() => o.value), r = D(() => ({
5460
+ const a = h(14), i = h(140), l = h(""), s = h(o.value.length), c = E(() => o.value), r = E(() => ({
5461
5461
  "font-size": `${a.value}px`,
5462
5462
  height: "100%"
5463
5463
  }));
@@ -5491,7 +5491,7 @@ function ur(e, t, n, o) {
5491
5491
  function dr() {
5492
5492
  const e = h(!1), t = h("复制成功");
5493
5493
  return {
5494
- feedbackStyle: D(() => {
5494
+ feedbackStyle: E(() => {
5495
5495
  const o = {
5496
5496
  position: "absolute",
5497
5497
  left: "50%",
@@ -5536,8 +5536,8 @@ function pr(e, t) {
5536
5536
  const g = p.length;
5537
5537
  let S = "", F = 0;
5538
5538
  for (let x = 0; x < g; x++) {
5539
- const O = p.charAt(x);
5540
- if (F++, encodeURI(O).length > 4 && F++, S = S.concat(O), F >= m)
5539
+ const D = p.charAt(x);
5540
+ if (F++, encodeURI(D).length > 4 && F++, S = S.concat(D), F >= m)
5541
5541
  return S = S.concat("..."), S;
5542
5542
  }
5543
5543
  if (F < m)
@@ -5545,13 +5545,13 @@ function pr(e, t) {
5545
5545
  }
5546
5546
  return "";
5547
5547
  }
5548
- const a = D(() => !!e.value && !!e.value.date), i = D(() => {
5548
+ const a = E(() => !!e.value && !!e.value.date), i = E(() => {
5549
5549
  const p = e.value && e.value.date || "";
5550
5550
  return `${t.exception.happend} : ${p}`;
5551
- }), l = D(() => !!e.value && !!e.value.detail), s = D(() => e.value ? n(e.value.detail) > 160 : !1), c = h(!1), r = D(() => c.value ? t.exception.collapse : t.exception.expand), d = D(() => {
5551
+ }), l = E(() => !!e.value && !!e.value.detail), s = E(() => e.value ? n(e.value.detail) > 160 : !1), c = h(!1), r = E(() => c.value ? t.exception.collapse : t.exception.expand), d = E(() => {
5552
5552
  const p = t.exception.detail + " : " + (e.value && e.value.detail) || "";
5553
5553
  return c.value ? p : o(p, 160);
5554
- }), f = D(() => ({
5554
+ }), f = E(() => ({
5555
5555
  position: "absolute",
5556
5556
  right: 0,
5557
5557
  bottom: c.value ? 0 : "2px",
@@ -5581,16 +5581,16 @@ function mr(e) {
5581
5581
  }, null);
5582
5582
  }
5583
5583
  function vr(e, t, n, o, a) {
5584
- const i = h(e.exceptionInfo), l = D(() => {
5584
+ const i = h(e.exceptionInfo), l = E(() => {
5585
5585
  const m = t.value === "question" ? "warning" : t.value, g = {
5586
5586
  "f-icon": !0
5587
5587
  }, S = `f-icon-${m}`;
5588
5588
  return g[S] = !0, g;
5589
- }), s = D(() => n.value || i.value && i.value.message), c = D(() => o.value), r = D(() => !!o.value), d = D(() => !!i.value);
5589
+ }), s = E(() => n.value || i.value && i.value.message), c = E(() => o.value), r = E(() => !!o.value), d = E(() => !!i.value);
5590
5590
  function f() {
5591
5591
  return d.value ? pr(i, a) : r.value ? mr(c) : () => null;
5592
5592
  }
5593
- const v = f(), p = D(() => a.locale === "en" ? {
5593
+ const v = f(), p = E(() => a.locale === "en" ? {
5594
5594
  wordBreak: "keep-all",
5595
5595
  overflowWrap: "break-word"
5596
5596
  } : {});
@@ -5615,7 +5615,7 @@ function gr(e, t, n, o) {
5615
5615
  date: "",
5616
5616
  message: "",
5617
5617
  detail: ""
5618
- }), r = D(() => c.value && c.value.detail || "");
5618
+ }), r = E(() => c.value && c.value.detail || "");
5619
5619
  function d(f) {
5620
5620
  a(r.value).catch((v) => {
5621
5621
  l.value = o.exception.copyFailed || "复制失败";
@@ -5633,7 +5633,7 @@ function gr(e, t, n, o) {
5633
5633
  }, [s.value])]);
5634
5634
  }
5635
5635
  function hr(e, t, n, o, a) {
5636
- const i = h(e.type), l = h(e.buttons), s = h(e.exceptionInfo), c = h(a.ok || e.okButtonText), r = h(a.cancel || e.cancelButtonText), d = h(e.showCancelButton), f = h(e.showOkButton), v = D(() => !!(l.value && l.value.length)), p = D(() => s.value && s.value.message && s.value.detail), m = D(() => !(l.value && l.value.length) && (f.value || d.value)), g = gr(e, n, o, a);
5636
+ const i = h(e.type), l = h(e.buttons), s = h(e.exceptionInfo), c = h(a.ok || e.okButtonText), r = h(a.cancel || e.cancelButtonText), d = h(e.showCancelButton), f = h(e.showOkButton), v = E(() => !!(l.value && l.value.length)), p = E(() => s.value && s.value.message && s.value.detail), m = E(() => !(l.value && l.value.length) && (f.value || d.value)), g = gr(e, n, o, a);
5637
5637
  c.value === "关闭" ? c.value = a.close : c.value === "知道了" && (c.value = a.exception.roger);
5638
5638
  function S(x) {
5639
5639
  i.value === "question" && t.emit("reject"), t.emit("close");
@@ -5690,14 +5690,14 @@ const Dt = /* @__PURE__ */ ve({
5690
5690
  props: ar,
5691
5691
  emits: ["accept", "reject", "close"],
5692
5692
  setup(e, t) {
5693
- const n = yr(e), o = h(e.type), a = h(e.title), i = h(e.detail), l = D(() => {
5693
+ const n = yr(e), o = h(e.type), a = h(e.title), i = h(e.detail), l = E(() => {
5694
5694
  const F = {
5695
5695
  "modal-tips": !0,
5696
5696
  "d-flex": !0,
5697
5697
  "flex-row": !0
5698
5698
  }, x = `messager-type-${o.value}`;
5699
5699
  return F[x] = !0, F;
5700
- }), s = D(() => {
5700
+ }), s = E(() => {
5701
5701
  const F = {
5702
5702
  cursor: "default"
5703
5703
  };
@@ -6056,7 +6056,7 @@ function Dr(e, t) {
6056
6056
  };
6057
6057
  }
6058
6058
  }
6059
- function O() {
6059
+ function D() {
6060
6060
  var $, A, z, H;
6061
6061
  if (n.value) {
6062
6062
  const K = n.value;
@@ -6081,7 +6081,7 @@ function Dr(e, t) {
6081
6081
  return;
6082
6082
  $.subtract(a.value);
6083
6083
  const A = $.x, z = $.y;
6084
- r.value.n ? (c.value.y = l.value.y + z, s.value.height = i.value.height - z) : r.value.s && (s.value.height = i.value.height + z), r.value.e ? s.value.width = i.value.width + A : r.value.w && (s.value.width = i.value.width - A, c.value.x = l.value.x + A), B(), C(), O();
6084
+ r.value.n ? (c.value.y = l.value.y + z, s.value.height = i.value.height - z) : r.value.s && (s.value.height = i.value.height + z), r.value.e ? s.value.width = i.value.width + A : r.value.w && (s.value.width = i.value.width - A, c.value.x = l.value.x + A), B(), C(), D();
6085
6085
  }
6086
6086
  function P($) {
6087
6087
  if (!d.value)
@@ -6169,7 +6169,7 @@ function Dr(e, t) {
6169
6169
  }
6170
6170
  }, g.value = !1, S.value = !0);
6171
6171
  }
6172
- function E() {
6172
+ function O() {
6173
6173
  var $, A;
6174
6174
  if (document.body.click(), m.value) {
6175
6175
  const z = {
@@ -6213,7 +6213,7 @@ function Dr(e, t) {
6213
6213
  boundingElement: o,
6214
6214
  resizedEventParam: v,
6215
6215
  maximize: M,
6216
- restore: E,
6216
+ restore: O,
6217
6217
  allowDrag: g,
6218
6218
  isMaximized: S,
6219
6219
  unWindowResizeHandle: V,
@@ -6263,7 +6263,7 @@ function Rr(e, t, n) {
6263
6263
  var P;
6264
6264
  c.value && (c.value = !1, d.value.add(f.value), f.value.reset(), (P = o.value) == null || P.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", x));
6265
6265
  }
6266
- function O() {
6266
+ function D() {
6267
6267
  !c.value && l.value && (c.value = !0, l.value.classList.add("ng-dragging"), document.addEventListener("mousemove", F), document.addEventListener("mouseup", x));
6268
6268
  }
6269
6269
  function C() {
@@ -6278,7 +6278,7 @@ function Rr(e, t, n) {
6278
6278
  if (!n.value || P instanceof MouseEvent && P.button === 2)
6279
6279
  return;
6280
6280
  const y = P.target || P.srcElement;
6281
- l.value !== void 0 && y && !p(y, l.value) || a.value !== !1 && (document.body.click(), P.stopPropagation(), P.preventDefault(), r.value = xe.fromEvent(P, o.value), C(), O());
6281
+ l.value !== void 0 && y && !p(y, l.value) || a.value !== !1 && (document.body.click(), P.stopPropagation(), P.preventDefault(), r.value = xe.fromEvent(P, o.value), C(), D());
6282
6282
  }
6283
6283
  function I(P, y, w) {
6284
6284
  if (a.value && y) {
@@ -6333,7 +6333,7 @@ const ft = /* @__PURE__ */ ve({
6333
6333
  props: Vo,
6334
6334
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
6335
6335
  setup(e, t) {
6336
- const n = h(e.width || 300), o = h(e.height || 200), a = h(e.modelValue), i = h(""), l = h(e.class), s = h(e.fitContent), c = h(e.showHeader), r = h(""), d = h(e.showCloseButton), f = h(e.showMaxButton), v = h(!1), p = h(e.dialogType), m = h(e.src), g = h(""), S = h(e.showButtons), F = h(e.title), x = h(e.containment || null), O = h(), {
6336
+ const n = h(e.width || 300), o = h(e.height || 200), a = h(e.modelValue), i = h(""), l = h(e.class), s = h(e.fitContent), c = h(e.showHeader), r = h(""), d = h(e.showCloseButton), f = h(e.showMaxButton), v = h(!1), p = h(e.dialogType), m = h(e.src), g = h(""), S = h(e.showButtons), F = h(e.title), x = h(e.containment || null), D = h(), {
6337
6337
  t: C
6338
6338
  } = Ze();
6339
6339
  F.value === "错误提示" && (F.value = C("messageBox.errorTitle"));
@@ -6363,8 +6363,8 @@ const ft = /* @__PURE__ */ ve({
6363
6363
  handle: (U) => {
6364
6364
  I(U, !0);
6365
6365
  }
6366
- }], y = h(e.buttons && e.buttons.length ? e.buttons : P), w = D(() => !!r.value), b = D(() => !!S.value && !!y.value), T = h(), k = h(), M = h(!1), {
6367
- renderResizeBar: E,
6366
+ }], y = h(e.buttons && e.buttons.length ? e.buttons : P), w = E(() => !!r.value), b = E(() => !!S.value && !!y.value), T = h(), k = h(), M = h(!1), {
6367
+ renderResizeBar: O,
6368
6368
  maximize: j,
6369
6369
  restore: R,
6370
6370
  boundingElement: V,
@@ -6380,7 +6380,7 @@ const ft = /* @__PURE__ */ ve({
6380
6380
  }
6381
6381
  function ie() {
6382
6382
  const U = document.querySelectorAll(".farris-modal").length;
6383
- (!U || U - 1 <= 0) && document.body.classList.remove("modal-open"), O.value && O.value.classList.remove("show");
6383
+ (!U || U - 1 <= 0) && document.body.classList.remove("modal-open"), D.value && D.value.classList.remove("show");
6384
6384
  }
6385
6385
  ee(() => e.title, (U, se) => {
6386
6386
  U !== se && (F.value = U);
@@ -6400,7 +6400,7 @@ const ft = /* @__PURE__ */ ve({
6400
6400
  isMaximized: M.value
6401
6401
  });
6402
6402
  });
6403
- const Q = D(() => (a.value && document.body.classList.add("modal-open"), a.value)), fe = D(() => {
6403
+ const Q = E(() => (a.value && document.body.classList.add("modal-open"), a.value)), fe = E(() => {
6404
6404
  var Te;
6405
6405
  const U = {
6406
6406
  modal: !0,
@@ -6410,13 +6410,13 @@ const ft = /* @__PURE__ */ ve({
6410
6410
  U["f-modal-fitContent"] = !!s.value, U.show = !!Q.value;
6411
6411
  const se = (Te = e.maskClass) == null ? void 0 : Te.split(" ");
6412
6412
  return se == null || se.reduce((ke, Je) => (ke[Je] = !0, ke), U), U;
6413
- }), be = D(() => {
6413
+ }), be = E(() => {
6414
6414
  var Te;
6415
6415
  const U = {
6416
6416
  "modal-dialog": !0
6417
6417
  }, se = (Te = l.value) == null ? void 0 : Te.split(" ");
6418
6418
  return se == null || se.reduce((ke, Je) => (ke[Je] = !0, ke), U), U;
6419
- }), re = D(() => {
6419
+ }), re = E(() => {
6420
6420
  const U = {
6421
6421
  position: "absolute",
6422
6422
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -6425,25 +6425,25 @@ const ft = /* @__PURE__ */ ve({
6425
6425
  height: s.value ? "auto" : `${o.value}px`
6426
6426
  };
6427
6427
  return e.mask || (U.pointerEvents = "auto"), U;
6428
- }), Z = () => Ma() || 1040, de = D(() => {
6428
+ }), Z = () => Ma() || 1040, de = E(() => {
6429
6429
  const U = {
6430
6430
  display: "block",
6431
6431
  zIndex: Z()
6432
6432
  };
6433
6433
  return e.mask || (U.pointerEvents = "none", U.backgroundColor = "transparent"), B.value && (U.backgroundColor = "transparent"), U;
6434
- }), L = D(() => ({
6434
+ }), L = E(() => ({
6435
6435
  "modal-content": !0,
6436
6436
  "modal-content-has-header": c.value
6437
- })), q = D(() => {
6437
+ })), q = E(() => {
6438
6438
  const U = {
6439
6439
  display: c.value ? "" : "none"
6440
6440
  };
6441
6441
  return U["pointer-events"] = A.value ? "auto" : "none", U;
6442
- }), W = D(() => ({
6442
+ }), W = E(() => ({
6443
6443
  "f-icon": !0,
6444
6444
  modal_maximize: !0,
6445
6445
  modalrevert: M.value
6446
- })), X = D(() => ({
6446
+ })), X = E(() => ({
6447
6447
  "modal-body": !0,
6448
6448
  "f-utils-flex-column": p.value === "iframe",
6449
6449
  "f-utils-fill": !0
@@ -6453,7 +6453,7 @@ const ft = /* @__PURE__ */ ve({
6453
6453
  height: `${e.footerHeight || 60}px`
6454
6454
  };
6455
6455
  }
6456
- const le = D(() => {
6456
+ const le = E(() => {
6457
6457
  const U = {
6458
6458
  textAlgin: g.value
6459
6459
  }, se = ne();
@@ -6545,7 +6545,7 @@ const ft = /* @__PURE__ */ ve({
6545
6545
  }
6546
6546
  function _e(U) {
6547
6547
  if (U.stopPropagation(), e.allowClickMaskToClose) {
6548
- if (U.target !== O.value)
6548
+ if (U.target !== D.value)
6549
6549
  return;
6550
6550
  I(U, !1);
6551
6551
  }
@@ -6567,7 +6567,7 @@ const ft = /* @__PURE__ */ ve({
6567
6567
  width: "100%",
6568
6568
  frameborder: "0",
6569
6569
  src: m.value
6570
- }, null)]), Le()]), !s.value && k.value && !M.value && E(k.value)]);
6570
+ }, null)]), Le()]), !s.value && k.value && !M.value && O(k.value)]);
6571
6571
  }
6572
6572
  function gt(U) {
6573
6573
  return U || "body";
@@ -6580,7 +6580,7 @@ const ft = /* @__PURE__ */ ve({
6580
6580
  appear: !0
6581
6581
  }, {
6582
6582
  default: () => [u("div", {
6583
- ref: O,
6583
+ ref: D,
6584
6584
  class: fe.value,
6585
6585
  style: de.value,
6586
6586
  onClick: _e
@@ -6605,11 +6605,11 @@ function Lr(e) {
6605
6605
  });
6606
6606
  const i = h(), l = h(e.class || ""), s = h(!!e.showButtons), c = h(!!e.showHeader), r = h(e.showCloseButton == null ? !0 : e.showCloseButton), d = h(!0), f = h(e.title || ""), v = e.acceptCallback || (() => {
6607
6607
  }), p = e.rejectCallback || (() => {
6608
- }), m = e.closedCallback || ((O) => {
6609
- }), g = e.resizeHandle || ((O) => {
6610
- }), S = e.stopMoveHandle || ((O) => {
6611
- }), F = No(e), x = (O) => {
6612
- d.value = !1, n.unmount(), m(O);
6608
+ }), m = e.closedCallback || ((D) => {
6609
+ }), g = e.resizeHandle || ((D) => {
6610
+ }), S = e.stopMoveHandle || ((D) => {
6611
+ }), F = No(e), x = (D) => {
6612
+ d.value = !1, n.unmount(), m(D);
6613
6613
  };
6614
6614
  return Ce(() => {
6615
6615
  }), a.expose({
@@ -6618,7 +6618,7 @@ function Lr(e) {
6618
6618
  ref: i,
6619
6619
  class: l.value,
6620
6620
  modelValue: d.value,
6621
- "onUpdate:modelValue": (O) => d.value = O,
6621
+ "onUpdate:modelValue": (D) => d.value = D,
6622
6622
  title: f.value,
6623
6623
  width: e.width,
6624
6624
  height: e.height,
@@ -6647,7 +6647,7 @@ class Ho {
6647
6647
  pe(this, "activeModalIndex", h(0));
6648
6648
  pe(this, "modalRefs", {});
6649
6649
  pe(this, "isUseEscCloseModal", h(!1));
6650
- pe(this, "activeModalInstance", D(() => this.modalRefs[this.activeModalIndex.value]));
6650
+ pe(this, "activeModalInstance", E(() => this.modalRefs[this.activeModalIndex.value]));
6651
6651
  this.app = t, this.appContext = t ? t._context : null;
6652
6652
  }
6653
6653
  getCurrentModal() {
@@ -6897,12 +6897,12 @@ function Ar(e, t, n) {
6897
6897
  return k || null;
6898
6898
  }
6899
6899
  function v(b = t) {
6900
- var E;
6900
+ var O;
6901
6901
  const { componentInstance: T, designerItemElementRef: k } = b;
6902
6902
  if (!T || !T.value)
6903
6903
  return null;
6904
6904
  const { getCustomButtons: M } = T.value;
6905
- return T.value.canMove || T.value.canAdd || T.value.canDelete || M && ((E = M()) != null && E.length) ? k : v(b.parent);
6905
+ return T.value.canMove || T.value.canAdd || T.value.canDelete || M && ((O = M()) != null && O.length) ? k : v(b.parent);
6906
6906
  }
6907
6907
  function p() {
6908
6908
  }
@@ -6919,10 +6919,10 @@ function Ar(e, t, n) {
6919
6919
  function x(b) {
6920
6920
  const { componentType: T } = b, k = ye("designer-host-service");
6921
6921
  let M = Wn(T, b, k);
6922
- const E = T.toLowerCase().replace(/-/g, "_");
6923
- return M && !M.id && M.type === T && (M.id = `${E}_${Math.random().toString().slice(2, 6)}`), M;
6922
+ const O = T.toLowerCase().replace(/-/g, "_");
6923
+ return M && !M.id && M.type === T && (M.id = `${O}_${Math.random().toString().slice(2, 6)}`), M;
6924
6924
  }
6925
- function O(b) {
6925
+ function D(b) {
6926
6926
  }
6927
6927
  function C(...b) {
6928
6928
  return [];
@@ -6935,8 +6935,8 @@ function Ar(e, t, n) {
6935
6935
  return;
6936
6936
  let T = "";
6937
6937
  {
6938
- const { text: M, title: E, label: j, mainTitle: R, name: V, type: $ } = t.schema;
6939
- T = M || E || j || R || V || ((k = _[$]) == null ? void 0 : k.name);
6938
+ const { text: M, title: O, label: j, mainTitle: R, name: V, type: $ } = t.schema;
6939
+ T = M || O || j || R || V || ((k = _[$]) == null ? void 0 : k.name);
6940
6940
  }
6941
6941
  T && (!i && b && (i = b.formSchemaUtils), i.getControlBasicInfoMap().set(t.schema.id, {
6942
6942
  componentTitle: T,
@@ -6944,9 +6944,9 @@ function Ar(e, t, n) {
6944
6944
  }));
6945
6945
  }
6946
6946
  function P(b) {
6947
- var E;
6947
+ var O;
6948
6948
  const { changeObject: T } = b, { propertyID: k, propertyValue: M } = T;
6949
- ["text", "title", "label", "name", "mainTitle"].includes((E = b == null ? void 0 : b.changeObject) == null ? void 0 : E.propertyID) && k && M && I();
6949
+ ["text", "title", "label", "name", "mainTitle"].includes((O = b == null ? void 0 : b.changeObject) == null ? void 0 : O.propertyID) && k && M && I();
6950
6950
  }
6951
6951
  function y(b) {
6952
6952
  P(b);
@@ -6969,7 +6969,7 @@ function Ar(e, t, n) {
6969
6969
  getPropConfig: C,
6970
6970
  getDragScopeElement: S,
6971
6971
  onAcceptMovedChildElement: F,
6972
- onChildElementMovedOut: O,
6972
+ onChildElementMovedOut: D,
6973
6973
  addNewChildComponentSchema: x,
6974
6974
  onRemoveComponent: B,
6975
6975
  triggerBelongedComponentToMoveWhenMoved: h(!1),
@@ -6992,7 +6992,7 @@ const qo = /* @__PURE__ */ ve({
6992
6992
  setupContext: t
6993
6993
  };
6994
6994
  mt("design-item-context", g);
6995
- const S = ye("designer-host-service"), F = ye("external-container-id"), x = D(() => {
6995
+ const S = ye("designer-host-service"), F = ye("external-container-id"), x = E(() => {
6996
6996
  var $;
6997
6997
  const R = (($ = p.value) == null ? void 0 : $.getCustomButtons) && p.value.getCustomButtons();
6998
6998
  return {
@@ -7004,7 +7004,7 @@ const qo = /* @__PURE__ */ ve({
7004
7004
  "can-move": n.value,
7005
7005
  "d-none": f.value && f.value.classList.contains("d-none")
7006
7006
  };
7007
- }), O = D(() => {
7007
+ }), D = E(() => {
7008
7008
  const R = {};
7009
7009
  return d.value && d.value.split(";").reduce((V, $) => {
7010
7010
  const [A, z] = $.split(":");
@@ -7103,14 +7103,14 @@ const qo = /* @__PURE__ */ ve({
7103
7103
  var R, V;
7104
7104
  (V = (R = r.value) == null ? void 0 : R.contents) != null && V.length && f.value && f.value.addEventListener("scroll", k);
7105
7105
  }
7106
- function E() {
7106
+ function O() {
7107
7107
  const R = f.value, V = h(R.children[1]);
7108
7108
  return Ar(V, g).value;
7109
7109
  }
7110
7110
  Ce(() => {
7111
7111
  if (f.value) {
7112
7112
  const R = f.value.querySelector(`[data-dragref='${r.value.id}-container']`);
7113
- p.value = R && R.componentInstance ? R.componentInstance.value : E(), v && R && v.attachComponents(R, r.value), i.value = p.value.canNested !== void 0 ? p.value.canNested : i.value, o.value = p.value.canAdd !== void 0 ? p.value.canAdd : o.value, a.value = p.value.canDelete !== void 0 ? p.value.canDelete : a.value, n.value = p.value.canMove !== void 0 ? p.value.canMove : n.value, d.value = p.value.styles || "", f.value && (f.value.componentInstance = p, f.value.designItemContext = g), p.value.setComponentBasicInfoMap(S);
7113
+ p.value = R && R.componentInstance ? R.componentInstance.value : O(), v && R && v.attachComponents(R, r.value), i.value = p.value.canNested !== void 0 ? p.value.canNested : i.value, o.value = p.value.canAdd !== void 0 ? p.value.canAdd : o.value, a.value = p.value.canDelete !== void 0 ? p.value.canDelete : a.value, n.value = p.value.canMove !== void 0 ? p.value.canMove : n.value, d.value = p.value.styles || "", f.value && (f.value.componentInstance = p, f.value.designItemContext = g), p.value.setComponentBasicInfoMap(S);
7114
7114
  }
7115
7115
  M(), at.value++;
7116
7116
  }), Nn(() => {
@@ -7134,7 +7134,7 @@ const qo = /* @__PURE__ */ ve({
7134
7134
  id: `${e.id}-design-item`,
7135
7135
  ref: f,
7136
7136
  class: x.value,
7137
- style: O.value,
7137
+ style: D.value,
7138
7138
  onClick: j
7139
7139
  }, [b(r.value), t.slots.default && t.slots.default()]);
7140
7140
  }
@@ -7389,8 +7389,8 @@ function zr(e, t) {
7389
7389
  const F = (S == null ? void 0 : S.id) || (S == null ? void 0 : S.getAttribute("pageid")) || "";
7390
7390
  if (F === `${n.id}-design-item`)
7391
7391
  return new Hr(g, t).getPropertyConfig(n);
7392
- const x = new Nr(g, t), O = (C = n.contents) == null ? void 0 : C.find((B) => F === `${B.id}-design-item`);
7393
- return x.getPropertyConfig(O || n);
7392
+ const x = new Nr(g, t), D = (C = n.contents) == null ? void 0 : C.find((B) => F === `${B.id}-design-item`);
7393
+ return x.getPropertyConfig(D || n);
7394
7394
  }
7395
7395
  function v() {
7396
7396
  e.designerItemElementRef.value && he(() => {
@@ -7413,8 +7413,8 @@ function zr(e, t) {
7413
7413
  parentPathName: F
7414
7414
  });
7415
7415
  const x = e.designerItemElementRef.value.querySelector(".farris-tabs-content");
7416
- (g = e.schema.contents) == null || g.forEach((O) => {
7417
- const C = x == null ? void 0 : x.querySelector(`#${O.id}-design-item`);
7416
+ (g = e.schema.contents) == null || g.forEach((D) => {
7417
+ const C = x == null ? void 0 : x.querySelector(`#${D.id}-design-item`);
7418
7418
  C && C.componentInstance && C.componentInstance.value.setComponentBasicInfoMap();
7419
7419
  });
7420
7420
  }
@@ -7430,7 +7430,7 @@ function zr(e, t) {
7430
7430
  };
7431
7431
  }
7432
7432
  function qr(e, t, n, o, a, i) {
7433
- const l = h([]), s = h(e.activeId || ""), c = h(!0), r = h(), d = h([]), f = h(!0), v = h(0), p = D(() => {
7433
+ const l = h([]), s = h(e.activeId || ""), c = h(!0), r = h(), d = h([]), f = h(!0), v = h(0), p = E(() => {
7434
7434
  const L = l.value.find((W) => W.props.id === s.value);
7435
7435
  return (L == null ? void 0 : L.props.toolbarPosition) === "inHead";
7436
7436
  });
@@ -7463,13 +7463,13 @@ function qr(e, t, n, o, a, i) {
7463
7463
  nextId: L
7464
7464
  });
7465
7465
  }
7466
- function O(L) {
7466
+ function D(L) {
7467
7467
  let q = -1;
7468
7468
  !s.value && (q = L.value.findIndex((W) => s.value === W.props.id), q > -1) || (S(L, !1), x(s.value));
7469
7469
  }
7470
7470
  function C(L) {
7471
7471
  let q = !1;
7472
- q = !l.value.find((X) => X.props.id === L), q ? (s.value = "", O(l)) : (s.value = L, x(s.value));
7472
+ q = !l.value.find((X) => X.props.id === L), q ? (s.value = "", D(l)) : (s.value = L, x(s.value));
7473
7473
  }
7474
7474
  function B(L, q) {
7475
7475
  L.classList.contains(q) || L.classList.add(q);
@@ -7515,7 +7515,7 @@ function qr(e, t, n, o, a, i) {
7515
7515
  function M(L) {
7516
7516
  x(L);
7517
7517
  }
7518
- function E(L) {
7518
+ function O(L) {
7519
7519
  l.value.findIndex((W) => W.props.id === L.props.id) === -1 && l.value.push(L), v.value++;
7520
7520
  }
7521
7521
  function j(L) {
@@ -7628,7 +7628,7 @@ function qr(e, t, n, o, a, i) {
7628
7628
  }
7629
7629
  return {
7630
7630
  activeId: s,
7631
- addTab: E,
7631
+ addTab: O,
7632
7632
  changeTitleStyle: y,
7633
7633
  removeTab: T,
7634
7634
  selectTab: M,
@@ -7750,8 +7750,8 @@ function Wr(e, t, n) {
7750
7750
  if (g.type)
7751
7751
  S = g.type + "-item";
7752
7752
  else {
7753
- const O = (x = e.parent) == null ? void 0 : x.schema.type;
7754
- S = O === "tabs" ? "tab-toolbar-item" : O === "section" ? "section-toolbar-item" : "response-toolbar-item";
7753
+ const D = (x = e.parent) == null ? void 0 : x.schema.type;
7754
+ S = D === "tabs" ? "tab-toolbar-item" : D === "section" ? "section-toolbar-item" : "response-toolbar-item";
7755
7755
  }
7756
7756
  const F = po(S);
7757
7757
  F.id = `toolbar_item_${Math.random().toString().slice(2, 6)}`, g.buttons.push(F), n.updateToolbarItems(), n.changeSelectedId("");
@@ -7824,11 +7824,11 @@ function Gr(e, t, n) {
7824
7824
  function l(x) {
7825
7825
  i = x;
7826
7826
  }
7827
- function s(x, O = null) {
7827
+ function s(x, D = null) {
7828
7828
  const C = t.value.find((B) => B.id === x.id);
7829
7829
  if (C.isDP)
7830
- if (document.body.click(), typeof O == "boolean")
7831
- C.expanded = O;
7830
+ if (document.body.click(), typeof D == "boolean")
7831
+ C.expanded = D;
7832
7832
  else {
7833
7833
  const B = x.expanded;
7834
7834
  C.expanded = !B;
@@ -7837,27 +7837,27 @@ function Gr(e, t, n) {
7837
7837
  a.toggleDropdownMenu = s;
7838
7838
  function c(x) {
7839
7839
  var C;
7840
- const O = {
7840
+ const D = {
7841
7841
  "dropdown-menu": !0
7842
7842
  };
7843
7843
  if (x.class) {
7844
7844
  const B = (C = x.menuClass) == null ? void 0 : C.split(" ");
7845
- B && B.length && B.reduce((I, P) => (I[P] = !0, I), O);
7845
+ B && B.length && B.reduce((I, P) => (I[P] = !0, I), D);
7846
7846
  }
7847
- return O;
7847
+ return D;
7848
7848
  }
7849
7849
  function r(x) {
7850
7850
  var B;
7851
- const O = {
7851
+ const D = {
7852
7852
  disabled: x.disabled === !1,
7853
7853
  "dropdown-submenu": !0,
7854
7854
  "f-rt-dropdown": !0,
7855
7855
  "text-truncate": !0
7856
7856
  }, C = (B = x.dropdownClass) == null ? void 0 : B.split(" ");
7857
- return C && C.length && C.reduce((I, P) => (I[P] = !0, I), O), O;
7857
+ return C && C.length && C.reduce((I, P) => (I[P] = !0, I), D), D;
7858
7858
  }
7859
7859
  function d(x) {
7860
- const O = {
7860
+ const D = {
7861
7861
  disabled: !1,
7862
7862
  "dropdown-item": !0,
7863
7863
  "f-rt-btn": !0,
@@ -7865,24 +7865,24 @@ function Gr(e, t, n) {
7865
7865
  "farris-component": !0,
7866
7866
  "text-truncate": !0
7867
7867
  }, C = (x.class || "").split(" ");
7868
- return C && C.length && C.reduce((B, I) => (B[I] = !0, B), O), O;
7868
+ return C && C.length && C.reduce((B, I) => (B[I] = !0, B), D), D;
7869
7869
  }
7870
7870
  let f;
7871
7871
  const v = /* @__PURE__ */ new Map();
7872
- function p(x, O, C) {
7872
+ function p(x, D, C) {
7873
7873
  x.stopPropagation();
7874
7874
  const B = C ? C.id : "__top_item__";
7875
- if (O.children && O.children.length && (O.expanded = !O.expanded, O.expanded)) {
7876
- if (v.has(B) && v.get(B) !== O) {
7875
+ if (D.children && D.children.length && (D.expanded = !D.expanded, D.expanded)) {
7876
+ if (v.has(B) && v.get(B) !== D) {
7877
7877
  const I = v.get(B);
7878
7878
  I && (I.expanded = !1, v.delete(B));
7879
7879
  }
7880
- v.set(B, O);
7880
+ v.set(B, D);
7881
7881
  }
7882
7882
  }
7883
7883
  function m(x) {
7884
- var O;
7885
- return (O = x.children) == null ? void 0 : O.map((C, B) => C.children && C.children.length ? u("li", {
7884
+ var D;
7885
+ return (D = x.children) == null ? void 0 : D.map((C, B) => C.children && C.children.length ? u("li", {
7886
7886
  class: r(C),
7887
7887
  id: C.id
7888
7888
  }, [u("span", {
@@ -7893,7 +7893,7 @@ function Gr(e, t, n) {
7893
7893
  style: "display: inline-block;float: right;line-height: 1.25rem;"
7894
7894
  }, null)]), f(C, C)]) : o(C, B, !0));
7895
7895
  }
7896
- function g(x, O, C, B) {
7896
+ function g(x, D, C, B) {
7897
7897
  const {
7898
7898
  height: y,
7899
7899
  left: w,
@@ -7903,8 +7903,8 @@ function Gr(e, t, n) {
7903
7903
  height: k
7904
7904
  } = C.getBoundingClientRect(), {
7905
7905
  marginTop: M,
7906
- marginBottom: E
7907
- } = getComputedStyle(C), j = Math.ceil(parseFloat(M)) + Math.ceil(parseFloat(E)), R = b + y, V = O == null ? void 0 : O.getBoundingClientRect();
7906
+ marginBottom: O
7907
+ } = getComputedStyle(C), j = Math.ceil(parseFloat(M)) + Math.ceil(parseFloat(O)), R = b + y, V = D == null ? void 0 : D.getBoundingClientRect();
7908
7908
  function $() {
7909
7909
  let K = 0, oe = "left";
7910
7910
  const ie = V ? V.right : window.innerWidth, Q = V ? V.left : 0;
@@ -7915,7 +7915,7 @@ function Gr(e, t, n) {
7915
7915
  }
7916
7916
  let A = 0, z = "bottom";
7917
7917
  if (x === "tabs" || x === "section")
7918
- A = O.getBoundingClientRect().bottom - R - j - 10;
7918
+ A = D.getBoundingClientRect().bottom - R - j - 10;
7919
7919
  else {
7920
7920
  const K = V ? V.bottom : window.innerHeight;
7921
7921
  A = x === "page-header" ? K - R : b, A = A - j - 10, z = x === "page-header" ? "bottom" : "top";
@@ -7929,10 +7929,10 @@ function Gr(e, t, n) {
7929
7929
  }
7930
7930
  function S(x) {
7931
7931
  var P, y, w;
7932
- const O = "300px", C = {
7932
+ const D = "300px", C = {
7933
7933
  display: x.expanded === !0 ? "block" : "none",
7934
7934
  position: "absolute",
7935
- maxWidth: O,
7935
+ maxWidth: D,
7936
7936
  minWidth: "120px"
7937
7937
  };
7938
7938
  if (!(i != null && i.value))
@@ -7942,7 +7942,7 @@ function Gr(e, t, n) {
7942
7942
  const b = B ? B.querySelector("#" + x.id + "_menu") : null;
7943
7943
  if (!b || x.expanded !== !0)
7944
7944
  return C;
7945
- b.style.visibility = "hidden", b.style.display = "block", b.style.maxHeight = "auto", b.style.maxWidth = O;
7945
+ b.style.visibility = "hidden", b.style.display = "block", b.style.maxHeight = "auto", b.style.maxWidth = D;
7946
7946
  let T;
7947
7947
  switch (a.toolbarPosition) {
7948
7948
  case "tabs":
@@ -7956,7 +7956,7 @@ function Gr(e, t, n) {
7956
7956
  }
7957
7957
  const k = g(a.toolbarPosition, T, b, I), {
7958
7958
  position: M,
7959
- maxHeight: E,
7959
+ maxHeight: O,
7960
7960
  maxWidth: j
7961
7961
  } = k;
7962
7962
  b.style.visibility = "visible";
@@ -7966,14 +7966,14 @@ function Gr(e, t, n) {
7966
7966
  bottom: M.indexOf("bottom") > -1 ? "unset" : "100%",
7967
7967
  top: M.indexOf("bottom") > -1 ? "!00%" : "unset",
7968
7968
  maxWidth: j ? j + "px" : "300px",
7969
- maxHeight: E ? E + "px" : "auto",
7970
- overflowY: E ? "auto" : "unset"
7969
+ maxHeight: O ? O + "px" : "auto",
7970
+ overflowY: O ? "auto" : "unset"
7971
7971
  };
7972
7972
  Object.assign(C, R);
7973
7973
  }
7974
7974
  return C;
7975
7975
  }
7976
- a.changeMenuPosition = S, f = function(x, O) {
7976
+ a.changeMenuPosition = S, f = function(x, D) {
7977
7977
  return u("ul", {
7978
7978
  class: c(x),
7979
7979
  style: S(x),
@@ -7981,10 +7981,10 @@ function Gr(e, t, n) {
7981
7981
  }, [m(x)]);
7982
7982
  };
7983
7983
  function F(x = "") {
7984
- x && v.has(x) ? v.forEach((O, C) => {
7985
- C !== x && (O.expanded = !1, v.delete(C));
7986
- }) : (v.forEach((O) => {
7987
- O.expanded = !1;
7984
+ x && v.has(x) ? v.forEach((D, C) => {
7985
+ C !== x && (D.expanded = !1, v.delete(C));
7986
+ }) : (v.forEach((D) => {
7987
+ D.expanded = !1;
7988
7988
  }), v.clear());
7989
7989
  }
7990
7990
  return {
@@ -8233,16 +8233,16 @@ function Jr(e, t, n) {
8233
8233
  function c(k, M = "") {
8234
8234
  setTimeout(() => {
8235
8235
  var V, $;
8236
- const E = (V = e.parent) == null ? void 0 : V.designerItemElementRef.value;
8236
+ const O = (V = e.parent) == null ? void 0 : V.designerItemElementRef.value;
8237
8237
  let j;
8238
- M && (j = E == null ? void 0 : E.querySelector("#" + M));
8239
- const R = ($ = j || E) == null ? void 0 : $.querySelector("#" + k);
8238
+ M && (j = O == null ? void 0 : O.querySelector("#" + M));
8239
+ const R = ($ = j || O) == null ? void 0 : $.querySelector("#" + k);
8240
8240
  R == null || R.click();
8241
8241
  }, 0);
8242
8242
  }
8243
8243
  function r(k, M) {
8244
8244
  M.disabled && M.disabled.expressionId && (M.disabled.expressionId = `${M.id}_disabled`), M.visible && M.visible.expressionId && (M.visible.expressionId = `${M.id}_visible`);
8245
- const E = t.formSchemaUtils.getExpressions(), j = E.find((V) => V.target === k.id);
8245
+ const O = t.formSchemaUtils.getExpressions(), j = O.find((V) => V.target === k.id);
8246
8246
  if (!j || !j.rules || !j.rules.length)
8247
8247
  return;
8248
8248
  const R = {
@@ -8255,7 +8255,7 @@ function Jr(e, t, n) {
8255
8255
  id: `${M.id}_${V.type}`
8256
8256
  });
8257
8257
  R.rules.push($);
8258
- }), E.push(R);
8258
+ }), O.push(R);
8259
8259
  }
8260
8260
  function d() {
8261
8261
  var j;
@@ -8267,8 +8267,8 @@ function Jr(e, t, n) {
8267
8267
  }
8268
8268
  );
8269
8269
  (j = t == null ? void 0 : t.designerContext) != null && j.appendIdentifyForNewControl && t.designerContext.appendIdentifyForNewControl(M);
8270
- let E = [];
8271
- return M.children && M.children.length && (E = M.children.map((R) => {
8270
+ let O = [];
8271
+ return M.children && M.children.length && (O = M.children.map((R) => {
8272
8272
  var $;
8273
8273
  const V = tt(R);
8274
8274
  return Object.assign(
@@ -8278,15 +8278,15 @@ function Jr(e, t, n) {
8278
8278
  onClick: null
8279
8279
  }
8280
8280
  ), ($ = t == null ? void 0 : t.designerContext) != null && $.appendIdentifyForNewControl && t.designerContext.appendIdentifyForNewControl(V), r(R, V), V;
8281
- }), M.children = E), r(k, M), M;
8281
+ }), M.children = O), r(k, M), M;
8282
8282
  }
8283
8283
  function f() {
8284
- const k = e.schema.type || "response-toolbar-item", M = fn(k), E = k.toLowerCase().replace("-", "_");
8285
- return M && !M.id && M.type === k && (M.id = `${E}_${Math.random().toString().slice(2, 6)}`, M.text = "按钮"), M;
8284
+ const k = e.schema.type || "response-toolbar-item", M = fn(k), O = k.toLowerCase().replace("-", "_");
8285
+ return M && !M.id && M.type === k && (M.id = `${O}_${Math.random().toString().slice(2, 6)}`, M.text = "按钮"), M;
8286
8286
  }
8287
8287
  function v(k) {
8288
- const M = s(), E = M == null ? void 0 : M.findIndex((R) => R.id === k), j = E === -1 ? null : M[E];
8289
- return { index: E, toolbarItem: j };
8288
+ const M = s(), O = M == null ? void 0 : M.findIndex((R) => R.id === k), j = O === -1 ? null : M[O];
8289
+ return { index: O, toolbarItem: j };
8290
8290
  }
8291
8291
  function p() {
8292
8292
  const k = e.schema.id, M = s();
@@ -8296,12 +8296,12 @@ function Jr(e, t, n) {
8296
8296
  const M = t.formSchemaUtils.getExpressions();
8297
8297
  if (!M || !M.length)
8298
8298
  return;
8299
- const E = (j) => {
8299
+ const O = (j) => {
8300
8300
  const R = M && M.findIndex((V) => V.target === j.id);
8301
8301
  R > -1 && M.splice(R, 1);
8302
8302
  };
8303
- E(k), k.children && k.children.length && k.children.forEach((j) => {
8304
- E(j);
8303
+ O(k), k.children && k.children.length && k.children.forEach((j) => {
8304
+ O(j);
8305
8305
  });
8306
8306
  }
8307
8307
  function g(k) {
@@ -8316,44 +8316,44 @@ function Jr(e, t, n) {
8316
8316
  var j, R, V;
8317
8317
  if ((j = t == null ? void 0 : t.designerContext) != null && j.checkCanDeleteControl && !t.designerContext.checkCanDeleteControl(e.schema))
8318
8318
  return;
8319
- const k = s(), { parentIndex: M, itemIndex: E } = On(e.schema.id, k);
8320
- M === -1 || E === -1 || (m(e.schema), S(e.schema), k[M].children.splice(E, 1), n.updateToolbarItems(), (R = e.setupContext) == null || R.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), at.value++);
8319
+ const k = s(), { parentIndex: M, itemIndex: O } = On(e.schema.id, k);
8320
+ M === -1 || O === -1 || (m(e.schema), S(e.schema), k[M].children.splice(O, 1), n.updateToolbarItems(), (R = e.setupContext) == null || R.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), at.value++);
8321
8321
  }
8322
8322
  function x() {
8323
8323
  var j, R, V;
8324
8324
  if ((j = t == null ? void 0 : t.designerContext) != null && j.checkCanDeleteControl && !t.designerContext.checkCanDeleteControl(e.schema))
8325
8325
  return;
8326
- const k = e.schema.id, M = s(), E = M == null ? void 0 : M.findIndex(($) => $.id === k);
8327
- E !== -1 && (m(M[E]), S(M[E]), M == null || M.splice(E, 1), n.updateToolbarItems(), (R = e.setupContext) == null || R.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), at.value++);
8326
+ const k = e.schema.id, M = s(), O = M == null ? void 0 : M.findIndex(($) => $.id === k);
8327
+ O !== -1 && (m(M[O]), S(M[O]), M == null || M.splice(O, 1), n.updateToolbarItems(), (R = e.setupContext) == null || R.emit("removeComponent"), (V = e.setupContext) == null || V.emit("selectionChange"), at.value++);
8328
8328
  }
8329
- function O(k = "Append") {
8329
+ function D(k = "Append") {
8330
8330
  var $;
8331
- const M = s(), { parentIndex: E, itemIndex: j } = On(e.schema.id, M);
8332
- if (E === -1 || j === -1)
8331
+ const M = s(), { parentIndex: O, itemIndex: j } = On(e.schema.id, M);
8332
+ if (O === -1 || j === -1)
8333
8333
  return;
8334
8334
  const R = f(), V = k === "Copy" ? d() : Object.assign({}, R);
8335
- M[E].children.splice(j + 1, 0, V), n.updateToolbarItems(), g(V.id), ($ = e.setupContext) == null || $.emit("addComponent");
8335
+ M[O].children.splice(j + 1, 0, V), n.updateToolbarItems(), g(V.id), ($ = e.setupContext) == null || $.emit("addComponent");
8336
8336
  }
8337
8337
  function C(k, M) {
8338
- const { index: E } = v(M);
8339
- if (E === -1)
8340
- return { index: E, schema: null };
8338
+ const { index: O } = v(M);
8339
+ if (O === -1)
8340
+ return { index: O, schema: null };
8341
8341
  const j = f(), R = k === "Copy" ? d() : Object.assign({}, j);
8342
- return { index: E, schema: R };
8342
+ return { index: O, schema: R };
8343
8343
  }
8344
8344
  function B() {
8345
8345
  var j;
8346
- const k = e.schema.id, { index: M, schema: E } = C("Copy", k);
8347
- E && (s().splice(M + 1, 0, E), n.updateToolbarItems(), c(E.id), (j = e.setupContext) == null || j.emit("addComponent"));
8346
+ const k = e.schema.id, { index: M, schema: O } = C("Copy", k);
8347
+ O && (s().splice(M + 1, 0, O), n.updateToolbarItems(), c(O.id), (j = e.setupContext) == null || j.emit("addComponent"));
8348
8348
  }
8349
8349
  function I() {
8350
8350
  var j;
8351
- const k = e.schema.id, { index: M, schema: E } = C("Append", k);
8352
- if (E && e.parent) {
8351
+ const k = e.schema.id, { index: M, schema: O } = C("Append", k);
8352
+ if (O && e.parent) {
8353
8353
  const V = s()[M].children || [];
8354
- V.push(E);
8354
+ V.push(O);
8355
8355
  const $ = s();
8356
- $[M].children = V, n.updateToolbarItems(), g(E.id), (j = e.setupContext) == null || j.emit("addComponent");
8356
+ $[M].children = V, n.updateToolbarItems(), g(O.id), (j = e.setupContext) == null || j.emit("addComponent");
8357
8357
  }
8358
8358
  }
8359
8359
  function P(k) {
@@ -8385,10 +8385,10 @@ function Jr(e, t, n) {
8385
8385
  icon: "f-icon-yxs_copy",
8386
8386
  onClick: (M) => {
8387
8387
  y(M);
8388
- const { activeElement: E } = document, j = E ? E.tagName.toLowerCase() : "";
8389
- j && j === "input" || j === "textarea" ? (E == null || E.blur(), he(() => {
8390
- p() ? O("Copy") : B();
8391
- })) : p() ? O("Copy") : B();
8388
+ const { activeElement: O } = document, j = O ? O.tagName.toLowerCase() : "";
8389
+ j && j === "input" || j === "textarea" ? (O == null || O.blur(), he(() => {
8390
+ p() ? D("Copy") : B();
8391
+ })) : p() ? D("Copy") : B();
8392
8392
  }
8393
8393
  }];
8394
8394
  return k.push(p() ? {
@@ -8397,7 +8397,7 @@ function Jr(e, t, n) {
8397
8397
  text: "新增同级",
8398
8398
  icon: "f-icon-plus-circle",
8399
8399
  onClick: (M) => {
8400
- y(M), O();
8400
+ y(M), D();
8401
8401
  }
8402
8402
  } : {
8403
8403
  id: "appendChildButton",
@@ -8414,7 +8414,7 @@ function Jr(e, t, n) {
8414
8414
  m(k);
8415
8415
  }
8416
8416
  function T() {
8417
- var k, M, E, j;
8417
+ var k, M, O, j;
8418
8418
  if (e && t) {
8419
8419
  const { formSchemaUtils: R } = t, { schema: V } = e;
8420
8420
  switch (V.type) {
@@ -8429,7 +8429,7 @@ function Jr(e, t, n) {
8429
8429
  case "section-toolbar-item": {
8430
8430
  let $;
8431
8431
  const A = (k = e.parent) == null ? void 0 : k.parent;
8432
- (A == null ? void 0 : A.schema.type) === "tabs" || (A == null ? void 0 : A.schema.type) === "section" ? $ = (M = A.componentInstance) == null ? void 0 : M.value : $ = (j = (E = A == null ? void 0 : A.parent) == null ? void 0 : E.componentInstance) == null ? void 0 : j.value, $ != null && $.setComponentBasicInfoMap && $.setComponentBasicInfoMap();
8432
+ (A == null ? void 0 : A.schema.type) === "tabs" || (A == null ? void 0 : A.schema.type) === "section" ? $ = (M = A.componentInstance) == null ? void 0 : M.value : $ = (j = (O = A == null ? void 0 : A.parent) == null ? void 0 : O.componentInstance) == null ? void 0 : j.value, $ != null && $.setComponentBasicInfoMap && $.setComponentBasicInfoMap();
8433
8433
  }
8434
8434
  }
8435
8435
  }
@@ -8463,7 +8463,7 @@ const Qr = /* @__PURE__ */ ve({
8463
8463
  function f() {
8464
8464
  return !!(e.icon && e.icon.trim());
8465
8465
  }
8466
- const v = D(() => {
8466
+ const v = E(() => {
8467
8467
  const C = {
8468
8468
  btn: !0,
8469
8469
  "f-rt-btn": !0,
@@ -8476,7 +8476,7 @@ const Qr = /* @__PURE__ */ ve({
8476
8476
  // 'f-rt-toggle':props.isDP&&!props.split
8477
8477
  };
8478
8478
  return De(C, e.class);
8479
- }), p = D(() => e.split ? {
8479
+ }), p = E(() => e.split ? {
8480
8480
  display: "flex",
8481
8481
  "align-items": "center"
8482
8482
  } : {
@@ -8486,7 +8486,7 @@ const Qr = /* @__PURE__ */ ve({
8486
8486
  "padding-right": "0.1rem",
8487
8487
  "border-top-right-radius": "6px",
8488
8488
  "border-bottom-right-radius": "6px"
8489
- }), m = D(() => {
8489
+ }), m = E(() => {
8490
8490
  const C = {
8491
8491
  btn: !0,
8492
8492
  "dropdown-toggle": !0,
@@ -8495,7 +8495,7 @@ const Qr = /* @__PURE__ */ ve({
8495
8495
  "no-drag": !0
8496
8496
  };
8497
8497
  return De(C, e.class);
8498
- }), g = D(() => {
8498
+ }), g = E(() => {
8499
8499
  let C = {
8500
8500
  btn: !e.isDPItem,
8501
8501
  // 不是下拉按钮,不是下拉项
@@ -8550,7 +8550,7 @@ const Qr = /* @__PURE__ */ ve({
8550
8550
  onClick: (C) => S("dropdown", C)
8551
8551
  }, null), s.renderDropdownMenu(e.item, e.item)])]);
8552
8552
  }
8553
- function O() {
8553
+ function D() {
8554
8554
  return u("li", {
8555
8555
  ref: a,
8556
8556
  "data-dragref": `${l.schema.id}-container`,
@@ -8560,7 +8560,7 @@ const Qr = /* @__PURE__ */ ve({
8560
8560
  class: o.iconClass(e)
8561
8561
  }, null), e.text]);
8562
8562
  }
8563
- return () => e.isDP ? x() : e.isDPItem ? O() : u("div", {
8563
+ return () => e.isDP ? x() : e.isDPItem ? D() : u("div", {
8564
8564
  ref: a,
8565
8565
  "data-dragref": `${l.schema.id}-container`,
8566
8566
  class: "farris-component position-relative",
@@ -8693,13 +8693,13 @@ const Wo = /* @__PURE__ */ ve({
8693
8693
  }, v = Wr(d, r, f), p = ii(i, d, v), m = ye("toolbar-item-handler"), {
8694
8694
  initDragula: g,
8695
8695
  dragulaInstance: S
8696
- } = Ur(d), F = _o(), x = Kr(e, a, d, f), O = Gr(F, n, x), {
8696
+ } = Ur(d), F = _o(), x = Kr(e, a, d, f), D = Gr(F, n, x), {
8697
8697
  renderToolbarItemDesigner: C
8698
8698
  } = x, {
8699
8699
  clearAllDropDownMenu: B,
8700
8700
  renderDropdownMenu: I,
8701
8701
  setResponseToolbarRef: P
8702
- } = O;
8702
+ } = D;
8703
8703
  mt("toolbar-item-action", f), f.renderDropdownMenu = I, P(i), m && (m.changeSelectedId = function(z) {
8704
8704
  l.value = z;
8705
8705
  });
@@ -8750,7 +8750,7 @@ const Wo = /* @__PURE__ */ ve({
8750
8750
  Q.querySelector(".dropdown-toggle-split") ? Q.querySelector(".f-rt-btn").style.maxWidth = K - 38 + "px" : Q.style.maxWidth = K - 12 + "px";
8751
8751
  });
8752
8752
  }
8753
- const E = new ResizeObserver((z) => {
8753
+ const O = new ResizeObserver((z) => {
8754
8754
  var H;
8755
8755
  if (z.length) {
8756
8756
  const oe = z[0].contentRect.width;
@@ -8775,11 +8775,11 @@ const Wo = /* @__PURE__ */ ve({
8775
8775
  }
8776
8776
  });
8777
8777
  Ce(() => {
8778
- E.observe(i.value), s = i.value.clientWidth, i.value.componentInstance = p, g(a.value, o.value, T);
8778
+ O.observe(i.value), s = i.value.clientWidth, i.value.componentInstance = p, g(a.value, o.value, T);
8779
8779
  }), Ye(() => {
8780
- E.disconnect(), S && S.destroy && S.destroy();
8780
+ O.disconnect(), S && S.destroy && S.destroy();
8781
8781
  }), t.expose(p.value);
8782
- const j = D(() => {
8782
+ const j = E(() => {
8783
8783
  const z = {
8784
8784
  "f-toolbar": !0,
8785
8785
  "f-response-toolbar": !0,
@@ -8788,7 +8788,7 @@ const Wo = /* @__PURE__ */ ve({
8788
8788
  "f-response-toolbar-lg": e.buttonSize === "lg"
8789
8789
  };
8790
8790
  return De(z, e.customClass);
8791
- }), R = D(() => ({
8791
+ }), R = E(() => ({
8792
8792
  "text-left": e.alignment === "left",
8793
8793
  "text-right": e.alignment === "right",
8794
8794
  "justify-content-end": e.alignment === "right",
@@ -8962,7 +8962,7 @@ const nc = /* @__PURE__ */ ve({
8962
8962
  updateTab: S,
8963
8963
  toolbarItems: F,
8964
8964
  setTabsRef: x,
8965
- checkActiveIdAndSelect: O,
8965
+ checkActiveIdAndSelect: D,
8966
8966
  listenTabNavElementScroll: C,
8967
8967
  toolbarSchema: B,
8968
8968
  toggleShowTab: I,
@@ -8974,8 +8974,8 @@ const nc = /* @__PURE__ */ ve({
8974
8974
  updateNavigationLayout: T
8975
8975
  } = b, k = Bo(e, f), {
8976
8976
  hideDropDown: M
8977
- } = k, E = Xl(e, c, b, w, f, l), j = E, R = Io(e, c, b, w, f), V = /* @__PURE__ */ new Map([["default", E], ["one-page", j], ["pills", R]]);
8978
- D(() => {
8977
+ } = k, O = Xl(e, c, b, w, f, l), j = O, R = Io(e, c, b, w, f), V = /* @__PURE__ */ new Map([["default", O], ["one-page", j], ["pills", R]]);
8978
+ E(() => {
8979
8979
  const L = m.value.find((q) => q.props.id === v.value);
8980
8980
  return L == null ? void 0 : L.slots;
8981
8981
  });
@@ -8998,18 +8998,18 @@ const nc = /* @__PURE__ */ ve({
8998
8998
  toggleShowTab: I,
8999
8999
  toolbarVisible: A
9000
9000
  }), mt("toolbar-item-handler", d);
9001
- const z = D(() => e.fill), H = D(() => ({
9001
+ const z = E(() => e.fill), H = E(() => ({
9002
9002
  "farris-tabs-header": !0,
9003
9003
  "farris-tabs-inHead": P.value,
9004
9004
  "farris-tabs-inContent": !P.value,
9005
9005
  "farris-tabs-nav-fill": e.tabType === "fill",
9006
9006
  "farris-tabs-nav-pills": e.tabType === "pills"
9007
- })), K = D(() => {
9007
+ })), K = E(() => {
9008
9008
  const L = {
9009
9009
  width: P.value && e.titleWidth ? `${e.titleWidth}%` : ""
9010
9010
  };
9011
9011
  return L.width && (L.flex = "unset"), L;
9012
- }), oe = D(() => ({
9012
+ }), oe = E(() => ({
9013
9013
  "farris-tabs": !0,
9014
9014
  "flex-column": e.position === "top",
9015
9015
  "flex-column-reverse": e.position === "bottom",
@@ -9022,7 +9022,7 @@ const nc = /* @__PURE__ */ ve({
9022
9022
  dragulaInstance: Q
9023
9023
  } = tc(a, m);
9024
9024
  Ce(() => {
9025
- m.value.length && O(e.activeId || m.value[0].props.id), he(() => {
9025
+ m.value.length && D(e.activeId || m.value[0].props.id), he(() => {
9026
9026
  T();
9027
9027
  }), p(c), window.addEventListener("click", (L) => {
9028
9028
  var q;
@@ -9050,7 +9050,7 @@ const nc = /* @__PURE__ */ ve({
9050
9050
  class: "farris-tabs-header-post"
9051
9051
  }, [(X = (W = t.slots).headerSuffix) == null ? void 0 : X.call(W)])]);
9052
9052
  }
9053
- const Z = D(() => ({
9053
+ const Z = E(() => ({
9054
9054
  "farris-tabs-content": !0,
9055
9055
  "f-utils-fill-flex-column": z.value
9056
9056
  }));
@@ -9486,7 +9486,7 @@ function Tc(e, t, n) {
9486
9486
  return { onClickMaxMinIcon: s };
9487
9487
  }
9488
9488
  function Xo(e, t) {
9489
- const n = h(e.buttons), o = D(() => e.buttonPosition === "inHead" ? "right" : "left"), a = D(() => "f-section-toolbar col-6" + (e.buttonPosition === "inHead" ? " f-toolbar f-section-header--toolbar" : " f-section-content--toolbar") + (e.buttonsClass ? " " + e.buttonsClass : "")), i = D(() => e.buttons && e.buttons.length > 0 && e.buttonPosition === "inHead");
9489
+ const n = h(e.buttons), o = E(() => e.buttonPosition === "inHead" ? "right" : "left"), a = E(() => "f-section-toolbar col-6" + (e.buttonPosition === "inHead" ? " f-toolbar f-section-header--toolbar" : " f-section-content--toolbar") + (e.buttonsClass ? " " + e.buttonsClass : "")), i = E(() => e.buttons && e.buttons.length > 0 && e.buttonPosition === "inHead");
9490
9490
  function l(r, d) {
9491
9491
  t.emit("click", r, d);
9492
9492
  }
@@ -9513,9 +9513,9 @@ function Ic(e, t, n, o, a, i) {
9513
9513
  const l = {
9514
9514
  collapseLabel: Ct.getRealPropertyValue(e.collapseLabel, "收起", "section.collapseLabel"),
9515
9515
  expandLabel: Ct.getRealPropertyValue(e.expandLabel, "展开", "section.expandLabel")
9516
- }, s = D(() => e.buttonPosition), c = Xo(e, t), {
9516
+ }, s = E(() => e.buttonPosition), c = Xo(e, t), {
9517
9517
  onClickMaxMinIcon: r
9518
- } = Tc(o, a, i), d = D(() => e.enableMaximize), f = D(() => e.enableAccordion !== ""), v = D(() => {
9518
+ } = Tc(o, a, i), d = E(() => e.enableMaximize), f = E(() => e.enableAccordion !== ""), v = E(() => {
9519
9519
  const C = {
9520
9520
  "f-section-header": !0
9521
9521
  };
@@ -9525,12 +9525,12 @@ function Ic(e, t, n, o, a, i) {
9525
9525
  C.stopPropagation(), e.enableAccordion !== "" && (n.value = !n.value);
9526
9526
  }
9527
9527
  function m() {
9528
- const C = D(() => ({
9528
+ const C = E(() => ({
9529
9529
  btn: !0,
9530
9530
  "f-btn-collapse-expand": !0,
9531
9531
  "f-btn-mx": !0,
9532
9532
  "f-state-expand": n.value
9533
- })), B = D(() => ({
9533
+ })), B = E(() => ({
9534
9534
  "f-icon": !0,
9535
9535
  "f-icon-maximize": !i.value,
9536
9536
  "f-icon-minimize": i.value
@@ -9553,7 +9553,7 @@ function Ic(e, t, n, o, a, i) {
9553
9553
  }, [e.mainTitle]), e.subTitle && u("span", null, [e.subTitle])]);
9554
9554
  }
9555
9555
  function S() {
9556
- const C = D(() => {
9556
+ const C = E(() => {
9557
9557
  const B = {
9558
9558
  "f-content": !0
9559
9559
  };
@@ -9573,21 +9573,21 @@ function Ic(e, t, n, o, a, i) {
9573
9573
  class: v.value
9574
9574
  }, [F(), S(), s.value === "inHead" && c(), (d.value || f.value) && m()]);
9575
9575
  }
9576
- function O() {
9576
+ function D() {
9577
9577
  return t.slots.header ? u("div", {
9578
9578
  class: v.value
9579
9579
  }, [t.slots.header()]) : e.headerRenderFunction ? u("div", {
9580
9580
  class: v.value
9581
9581
  }, [e.headerRenderFunction()]) : x();
9582
9582
  }
9583
- return () => e.showHeader && O();
9583
+ return () => e.showHeader && D();
9584
9584
  }
9585
9585
  const kc = /* @__PURE__ */ ve({
9586
9586
  name: "FSection",
9587
9587
  props: wn,
9588
9588
  emits: ["click"],
9589
9589
  setup(e, t) {
9590
- const n = h(), o = h(), a = h(e.customClass), i = D(() => e.enableAccordion), l = h(e.expandStatus), s = D(() => e.buttonPosition), c = h(!1), r = Ic(e, t, l, n, o, c), d = Xo(e, t), f = D(() => {
9590
+ const n = h(), o = h(), a = h(e.customClass), i = E(() => e.enableAccordion), l = h(e.expandStatus), s = E(() => e.buttonPosition), c = h(!1), r = Ic(e, t, l, n, o, c), d = Xo(e, t), f = E(() => {
9591
9591
  const S = {
9592
9592
  "f-section": !0,
9593
9593
  "f-section-accordion": i.value === "default",
@@ -9597,9 +9597,9 @@ const kc = /* @__PURE__ */ ve({
9597
9597
  "f-section-maximize": c.value
9598
9598
  };
9599
9599
  return De(S, a.value);
9600
- }), v = D(() => De({
9600
+ }), v = E(() => De({
9601
9601
  "f-section-content": !0
9602
- }, e.contentClass)), p = D(() => De({
9602
+ }, e.contentClass)), p = E(() => De({
9603
9603
  "f-section-extend": !0
9604
9604
  }, e.extendClass));
9605
9605
  function m() {
@@ -9677,11 +9677,11 @@ const Pc = /* @__PURE__ */ ve({
9677
9677
  }, d = h((s == null ? void 0 : s.tabType.value) || "default");
9678
9678
  Ce(() => {
9679
9679
  n.value.componentInstance = l;
9680
- const x = s.tabPages.value.findIndex((O) => O.props.id === e.id);
9680
+ const x = s.tabPages.value.findIndex((D) => D.props.id === e.id);
9681
9681
  !x || x === -1 ? s == null || s.addTab(r) : x > -1 && (c.value = !1, console.warn(`已经存在id为${e.id}的页签啦`));
9682
9682
  }), Ye(() => {
9683
9683
  });
9684
- const f = D(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), v = D(() => ({
9684
+ const f = E(() => (e == null ? void 0 : e.id) === (s == null ? void 0 : s.activeId.value)), v = E(() => ({
9685
9685
  display: f.value ? "" : "none"
9686
9686
  }));
9687
9687
  ee(() => e, (x) => {
@@ -9694,8 +9694,8 @@ const Pc = /* @__PURE__ */ ve({
9694
9694
  deep: !0
9695
9695
  });
9696
9696
  function p() {
9697
- var O, C;
9698
- const x = (C = (O = t.slots).default) == null ? void 0 : C.call(O);
9697
+ var D, C;
9698
+ const x = (C = (D = t.slots).default) == null ? void 0 : C.call(D);
9699
9699
  return u(kc, {
9700
9700
  "main-title": e.title,
9701
9701
  class: "farris-tab-page"
@@ -9703,14 +9703,14 @@ const Pc = /* @__PURE__ */ ve({
9703
9703
  default: () => [x]
9704
9704
  });
9705
9705
  }
9706
- const m = D(() => ({
9706
+ const m = E(() => ({
9707
9707
  "farris-tab-page": !0,
9708
9708
  "drag-container": !0,
9709
9709
  "f-tab-active": f.value
9710
9710
  }));
9711
9711
  function g() {
9712
- var O, C;
9713
- const x = (C = (O = t.slots).default) == null ? void 0 : C.call(O);
9712
+ var D, C;
9713
+ const x = (C = (D = t.slots).default) == null ? void 0 : C.call(D);
9714
9714
  return u("div", {
9715
9715
  ref: n,
9716
9716
  class: m.value,
@@ -10014,7 +10014,7 @@ const Jc = "search-box", Qc = "A Farris Component", Kc = "object", eu = {
10014
10014
  setup(e, t) {
10015
10015
  const n = h(e.data), o = h(), {
10016
10016
  slots: a
10017
- } = t, i = D(() => ({
10017
+ } = t, i = E(() => ({
10018
10018
  "search-box-container": !0,
10019
10019
  "f-utils-overflow-xhya": !0,
10020
10020
  "position-relative": !0
@@ -10029,7 +10029,7 @@ const Jc = "search-box", Qc = "A Farris Component", Kc = "object", eu = {
10029
10029
  function c(d) {
10030
10030
  return a.default ? u(Ie, null, [a.default(d)]) : u("span", null, [d.item[e.textField]]);
10031
10031
  }
10032
- const r = D(() => {
10032
+ const r = E(() => {
10033
10033
  const d = {};
10034
10034
  return d.padding = "8px", e.maxHeight !== void 0 && e.maxHeight > 0 && (d.maxHeight = `${e.maxHeight}px`), d;
10035
10035
  });
@@ -10067,7 +10067,7 @@ const Jc = "search-box", Qc = "A Farris Component", Kc = "object", eu = {
10067
10067
  emits: ["update:modelValue", "change", "selectedValue", "clickButton"],
10068
10068
  setup(e, t) {
10069
10069
  h(e.data);
10070
- const n = h(), o = h(), a = h(e.placeholder), i = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', l = D(() => e.loading ? i : e.buttonContent);
10070
+ const n = h(), o = h(), a = h(e.placeholder), i = '<i class="f-icon f-icon-clockwise f-icon-spin"></i>', l = E(() => e.loading ? i : e.buttonContent);
10071
10071
  h(e.editable);
10072
10072
  const s = h(e.modelValue);
10073
10073
  ee(s, (p) => {
@@ -10288,7 +10288,7 @@ function au(e, t) {
10288
10288
  return { search: a };
10289
10289
  }
10290
10290
  function Rn(e, t, n, o, a, i, l, s, c, r) {
10291
- const d = h(e.size), f = h(e.textField), v = h(e.titleField), p = h(e.disableField), m = D(() => {
10291
+ const d = h(e.size), f = h(e.textField), v = h(e.titleField), p = h(e.disableField), m = E(() => {
10292
10292
  var w, b;
10293
10293
  return ((w = e.selection) == null ? void 0 : w.multiSelect) && ((b = e.selection) == null ? void 0 : b.showCheckbox);
10294
10294
  }), {
@@ -10297,11 +10297,11 @@ function Rn(e, t, n, o, a, i, l, s, c, r) {
10297
10297
  onMouseoutItem: F
10298
10298
  } = i, {
10299
10299
  getKey: x,
10300
- listViewItemClass: O,
10300
+ listViewItemClass: D,
10301
10301
  listViewItemStyle: C,
10302
10302
  onCheckItem: B,
10303
10303
  onClickItem: I
10304
- } = l, P = D(() => {
10304
+ } = l, P = E(() => {
10305
10305
  const w = {
10306
10306
  "text-overflow": "ellipsis",
10307
10307
  overflow: "hidden",
@@ -10314,7 +10314,7 @@ function Rn(e, t, n, o, a, i, l, s, c, r) {
10314
10314
  });
10315
10315
  function y(w, b, T) {
10316
10316
  return w.checked = s.findIndexInSelectedItems(w) > -1, u("li", {
10317
- class: O(w, b),
10317
+ class: D(w, b),
10318
10318
  id: x(w, b),
10319
10319
  key: x(w, b),
10320
10320
  style: C(w, b),
@@ -10355,7 +10355,7 @@ function iu(e, t, n, o, a, i, l, s, c, r) {
10355
10355
  getKey: S,
10356
10356
  listViewItemClass: F,
10357
10357
  listViewItemStyle: x,
10358
- onCheckItem: O,
10358
+ onCheckItem: D,
10359
10359
  onClickItem: C
10360
10360
  } = l;
10361
10361
  function B(P, y, w) {
@@ -10390,7 +10390,7 @@ function iu(e, t, n, o, a, i, l, s, c, r) {
10390
10390
  disabled: P[f.value] || !P.checked,
10391
10391
  checked: P.checked,
10392
10392
  "onUpdate:checked": (b) => P.checked = b,
10393
- onChange: (b) => O(P, y, !b.checked)
10393
+ onChange: (b) => D(P, y, !b.checked)
10394
10394
  }, null)]), u("div", {
10395
10395
  class: "f-list-content"
10396
10396
  }, [B(P, y, w)])]);
@@ -10408,7 +10408,7 @@ function lu(e, t, n, o, a, i, l, s, c, r) {
10408
10408
  getKey: S,
10409
10409
  listViewItemClass: F,
10410
10410
  onCheckItem: x,
10411
- onClickItem: O
10411
+ onClickItem: D
10412
10412
  } = l, {
10413
10413
  dragstart: C,
10414
10414
  dragenter: B,
@@ -10416,7 +10416,7 @@ function lu(e, t, n, o, a, i, l, s, c, r) {
10416
10416
  dragend: P
10417
10417
  } = o, {
10418
10418
  removeItem: y
10419
- } = c, w = D(() => ({
10419
+ } = c, w = E(() => ({
10420
10420
  margin: d.value ? "10px 0" : "10px 0px 10px 14px"
10421
10421
  }));
10422
10422
  function b(j, R = "") {
@@ -10433,12 +10433,12 @@ function lu(e, t, n, o, a, i, l, s, c, r) {
10433
10433
  return t.slots.itemContent ? t.slots.itemContent : T;
10434
10434
  }
10435
10435
  const M = k();
10436
- function E(j, R, V) {
10436
+ function O(j, R, V) {
10437
10437
  return u("li", {
10438
10438
  class: F(j, R),
10439
10439
  id: S(j, R),
10440
10440
  key: S(j, R),
10441
- onClick: ($) => O(j, R, $),
10441
+ onClick: ($) => D(j, R, $),
10442
10442
  onMouseenter: ($) => p($, j, R),
10443
10443
  onMouseover: ($) => m($, j, R),
10444
10444
  onMouseout: ($) => g($, j, R),
@@ -10473,7 +10473,7 @@ function lu(e, t, n, o, a, i, l, s, c, r) {
10473
10473
  }, null)])])]);
10474
10474
  }
10475
10475
  return {
10476
- renderItem: E
10476
+ renderItem: O
10477
10477
  };
10478
10478
  }
10479
10479
  function su(e, t, n, o, a, i, l, s, c, r) {
@@ -10486,11 +10486,11 @@ function su(e, t, n, o, a, i, l, s, c, r) {
10486
10486
  function p(F, x) {
10487
10487
  x.collapse = !x.collapse, n.value = v(x.collapse ? "collapse" : "expand", x, n.value);
10488
10488
  }
10489
- function m(F, x, O) {
10489
+ function m(F, x, D) {
10490
10490
  return t.slots.group ? u(Ie, null, [t.slots.content && t.slots.group({
10491
10491
  item: F.raw,
10492
10492
  index: x,
10493
- selectedItem: O
10493
+ selectedItem: D
10494
10494
  })]) : u("div", {
10495
10495
  class: "f-navlookup-recentHeader",
10496
10496
  onClick: (C) => p(C, F)
@@ -10502,8 +10502,8 @@ function su(e, t, n, o, a, i, l, s, c, r) {
10502
10502
  class: "f-navlookup-recommandLabel"
10503
10503
  }, [F.raw[d.value[F.layer]]])]);
10504
10504
  }
10505
- function g(F, x, O) {
10506
- return F.layer > -1 && m(F, x, O);
10505
+ function g(F, x, D) {
10506
+ return F.layer > -1 && m(F, x, D);
10507
10507
  }
10508
10508
  return {
10509
10509
  renderItem: g
@@ -10524,17 +10524,17 @@ function ru(e, t, n, o) {
10524
10524
  function cu(e, t, n, o, a, i, l, s, c, r) {
10525
10525
  const {
10526
10526
  t: d
10527
- } = Ze(), f = h(e.view), v = h(e.view === "CardView"), p = h({}), m = h(d("listView.emptyMessage")), g = ru(e, t, o, c), S = D(() => ({
10527
+ } = Ze(), f = h(e.view), v = h(e.view === "CardView"), p = h({}), m = h(d("listView.emptyMessage")), g = ru(e, t, o, c), S = E(() => ({
10528
10528
  "f-list-view-group": !0,
10529
10529
  "f-list-view-group-multiselect": e.multiSelect,
10530
10530
  "d-flex": v.value,
10531
10531
  "flex-wrap": v.value
10532
- })), F = D(() => !!n.value && n.value.length > 0), x = D(() => n.value.length === 0);
10533
- D(() => x.value && !t.slots.empty);
10534
- function O() {
10532
+ })), F = E(() => !!n.value && n.value.length > 0), x = E(() => n.value.length === 0);
10533
+ E(() => x.value && !t.slots.empty);
10534
+ function D() {
10535
10535
  return f.value === "SingleView" ? Rn : f.value === "DraggableView" ? lu : (f.value === "ContentView" || f.value === "CardView") && (e.contentTemplate || t.slots.content) ? iu : Rn;
10536
10536
  }
10537
- const C = O(), {
10537
+ const C = D(), {
10538
10538
  renderItem: B
10539
10539
  } = C(e, t, n, r, a, i, c, l, g, s), {
10540
10540
  renderItem: I
@@ -10571,14 +10571,14 @@ function uu(e, t, n) {
10571
10571
  };
10572
10572
  }
10573
10573
  function jn(e, t, n) {
10574
- const o = h(e.headerClass), a = h(e.placeholder), i = h(""), l = D(() => !i.value), s = D(() => !!i.value);
10574
+ const o = h(e.headerClass), a = h(e.placeholder), i = h(""), l = E(() => !i.value), s = E(() => !!i.value);
10575
10575
  function c(v) {
10576
10576
  i.value = "";
10577
10577
  }
10578
10578
  ee(i, (v) => {
10579
10579
  e.enableHighlightSearch && n.search(v), t.emit("afterSearch", v);
10580
10580
  });
10581
- const r = D(() => {
10581
+ const r = E(() => {
10582
10582
  const v = {
10583
10583
  "form-group": !0,
10584
10584
  "farris-form-group": !0
@@ -10696,7 +10696,7 @@ function fu(e, t, n, o) {
10696
10696
  });
10697
10697
  }
10698
10698
  }
10699
- function O(I, P) {
10699
+ function D(I, P) {
10700
10700
  if (I.preventDefault(), l.value !== P) {
10701
10701
  const y = i.value[l.value], w = i.value;
10702
10702
  w.splice(l.value, 1), w.splice(P, 0, y), l.value = P, S(I.pageX, I.pageY);
@@ -10712,7 +10712,7 @@ function fu(e, t, n, o) {
10712
10712
  }
10713
10713
  return {
10714
10714
  dragstart: x,
10715
- dragenter: O,
10715
+ dragenter: D,
10716
10716
  dragover: C,
10717
10717
  dragend: B,
10718
10718
  isDragging: s
@@ -10721,67 +10721,67 @@ function fu(e, t, n, o) {
10721
10721
  function pu(e, t, n, o, a, i) {
10722
10722
  const l = h(e.idField), s = h(e.disableField), c = h(e.draggable);
10723
10723
  h(e.itemClass);
10724
- const r = h(e.selection.multiSelect ?? !1), d = h(e.selection.multiSelectMode), { isDragging: f } = o, { activeIndex: v, focusedItemId: p, hoverIndex: m } = a, { clearSelection: g, getSelectedItems: S, toggleSelectItem: F, currentSelectedDataId: x } = i, O = h(S()), C = (E) => O.value.length === 0 ? !1 : O.value.some((j) => {
10724
+ const r = h(e.selection.multiSelect ?? !1), d = h(e.selection.multiSelectMode), { isDragging: f } = o, { activeIndex: v, focusedItemId: p, hoverIndex: m } = a, { clearSelection: g, getSelectedItems: S, toggleSelectItem: F, currentSelectedDataId: x } = i, D = h(S()), C = (O) => D.value.length === 0 ? !1 : D.value.some((j) => {
10725
10725
  let R = "";
10726
- return j.data ? R = j.data[l.value] : R = j[l.value], R === E;
10726
+ return j.data ? R = j.data[l.value] : R = j[l.value], R === O;
10727
10727
  });
10728
10728
  function B() {
10729
- O.value = S();
10729
+ D.value = S();
10730
10730
  }
10731
- function I(E, j) {
10732
- return E.raw[l.value] != null ? E.raw[l.value] : "";
10731
+ function I(O, j) {
10732
+ return O.raw[l.value] != null ? O.raw[l.value] : "";
10733
10733
  }
10734
- function P(E, j) {
10734
+ function P(O, j) {
10735
10735
  const R = {
10736
10736
  "f-list-view-group-item": !0,
10737
10737
  "f-list-view-draggable-item": c.value,
10738
- "f-un-click": !E.checked,
10739
- "f-un-select": !!E.raw[s.value],
10738
+ "f-un-click": !O.checked,
10739
+ "f-un-select": !!O.raw[s.value],
10740
10740
  "f-listview-active": (
10741
10741
  // 多选
10742
- r.value && C(I(E)) || // 单选
10743
- !r.value && E.raw[l.value] === x.value
10742
+ r.value && C(I(O)) || // 单选
10743
+ !r.value && O.raw[l.value] === x.value
10744
10744
  ),
10745
10745
  "f-listview-hover": !f.value && j === m.value,
10746
- moving: !!E.moving
10746
+ moving: !!O.moving
10747
10747
  };
10748
10748
  if (typeof e.itemClass == "string")
10749
10749
  return De(R, e.itemClass);
10750
10750
  if (typeof e.itemClass == "function") {
10751
- const V = e.itemClass(E);
10751
+ const V = e.itemClass(O);
10752
10752
  return De(R, V);
10753
10753
  }
10754
10754
  return R;
10755
10755
  }
10756
- function y(E, j) {
10756
+ function y(O, j) {
10757
10757
  const R = (
10758
10758
  // 多选
10759
- r.value && C(I(E)) || // 单选
10760
- !r.value && E.raw[l.value] === x.value
10759
+ r.value && C(I(O)) || // 单选
10760
+ !r.value && O.raw[l.value] === x.value
10761
10761
  ), V = {};
10762
10762
  if (R && (V.backgroundColor = "#dae9ff"), typeof e.itemStyle == "string")
10763
10763
  return Mn(V, e.itemStyle);
10764
10764
  if (typeof e.itemStyle == "function") {
10765
- const $ = e.itemStyle(E);
10765
+ const $ = e.itemStyle(O);
10766
10766
  return Mn(V, $);
10767
10767
  }
10768
10768
  return V;
10769
10769
  }
10770
- const w = D(() => !r.value);
10771
- function b(E, j, R) {
10772
- E.checked = R, !E.raw[s.value] && (w.value && (p.value = E.raw[l.value]), F(E));
10770
+ const w = E(() => !r.value);
10771
+ function b(O, j, R) {
10772
+ O.checked = R, !O.raw[s.value] && (w.value && (p.value = O.raw[l.value]), F(O));
10773
10773
  }
10774
- const T = D(() => r.value && d.value === "OnCheckClearByClick"), k = D(() => !r.value || r.value && (d.value === "OnCheckAndClick" || d.value === "OnClick"));
10775
- function M(E, j, R) {
10776
- if (E.raw[s.value]) {
10774
+ const T = E(() => r.value && d.value === "OnCheckClearByClick"), k = E(() => !r.value || r.value && (d.value === "OnCheckAndClick" || d.value === "OnClick"));
10775
+ function M(O, j, R) {
10776
+ if (O.raw[s.value]) {
10777
10777
  R == null || R.preventDefault(), R == null || R.stopPropagation();
10778
10778
  return;
10779
10779
  }
10780
- p.value = E.raw[l.value], v.value = j, T.value && g(), k.value && (F(E), B()), t.emit("clickItem", { data: O.value, index: j, dataItem: E.raw }), t.emit("activeChange", O.value);
10780
+ p.value = O.raw[l.value], v.value = j, T.value && g(), k.value && (F(O), B()), t.emit("clickItem", { data: D.value, index: j, dataItem: O.raw }), t.emit("activeChange", D.value);
10781
10781
  }
10782
10782
  return {
10783
10783
  getKey: I,
10784
- selectedItems: O,
10784
+ selectedItems: D,
10785
10785
  listViewItemClass: P,
10786
10786
  listViewItemStyle: y,
10787
10787
  updateSelectedItems: B,
@@ -10794,22 +10794,22 @@ const ot = /* @__PURE__ */ ve({
10794
10794
  props: Jo,
10795
10795
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectItem", "unSelectItem", "selectionChange", "removeItem", "change", "activeChange", "pageIndexChanged", "pageSizeChanged", "changed", "selectionUpdate"],
10796
10796
  setup(e, t) {
10797
- const n = h(), o = h(!0), a = h(!1), i = h([]), l = 0, s = h(e.columns), c = Xn(e, t), r = Un(e), d = Yn(e), f = Gn(e, r), v = Zn(e, /* @__PURE__ */ new Map(), c, d, r), p = Jn(e, v, r, i, t), m = au(e, n), g = Qn(e, v), S = D(() => v.dataView.value.length), F = eo(e, t, p, r), x = to(e, t, r, F, i), O = no(e), C = oo(e, {}, O), B = ao(e, v, x, d, r, O, C), I = ni(e, r, C, B), P = oi(e, r, C, B), y = io(e, s, v, S, l, B, I, P), {
10797
+ const n = h(), o = h(!0), a = h(!1), i = h([]), l = 0, s = h(e.columns), c = Xn(e, t), r = Un(e), d = Yn(e), f = Gn(e, r), v = Zn(e, /* @__PURE__ */ new Map(), c, d, r), p = Jn(e, v, r, i, t), m = au(e, n), g = Qn(e, v), S = E(() => v.dataView.value.length), F = eo(e, t, p, r), x = to(e, t, r, F, i), D = no(e), C = oo(e, {}, D), B = ao(e, v, x, d, r, D, C), I = ni(e, r, C, B), P = oi(e, r, C, B), y = io(e, s, v, S, l, B, I, P), {
10798
10798
  getVisualData: w
10799
10799
  } = y;
10800
10800
  i.value = w(0, S.value + l - 1);
10801
- const b = D(() => {
10801
+ const b = E(() => {
10802
10802
  const ce = {
10803
10803
  "f-list-view": !0,
10804
10804
  "f-list-view-multiple": e.multiSelect
10805
10805
  };
10806
10806
  return e.size !== "default" && (ce[`${e.size}-item`] = !0), De(ce, e.customClass);
10807
- }), T = D(() => !!t.slots.footer || o.value);
10807
+ }), T = E(() => !!t.slots.footer || o.value);
10808
10808
  function k() {
10809
10809
  return e.header === "SearchBar" ? jn : e.header === "ContentHeader" ? uu : jn;
10810
10810
  }
10811
10811
  const M = k(), {
10812
- renderHeader: E
10812
+ renderHeader: O
10813
10813
  } = M(e, t, m), j = du(), R = fu(e, t, v, j), V = pu(e, t, i, R, j, p), {
10814
10814
  renderListArea: $
10815
10815
  } = cu(e, t, i, v, f, j, p, y, V, R);
@@ -10886,7 +10886,7 @@ const ot = /* @__PURE__ */ ve({
10886
10886
  return () => u("div", {
10887
10887
  class: b.value,
10888
10888
  onClick: L
10889
- }, [E(), u("div", {
10889
+ }, [O(), u("div", {
10890
10890
  ref: n,
10891
10891
  class: "f-list-view-content",
10892
10892
  onMouseover: () => {
@@ -10939,7 +10939,7 @@ const ot = /* @__PURE__ */ ve({
10939
10939
  desc: "导游5",
10940
10940
  amount: 84.13,
10941
10941
  avatar: "./assets/avatar5.png"
10942
- }], o = D(() => e.data.length > 0 ? e.data : n);
10942
+ }], o = E(() => e.data.length > 0 ? e.data : n);
10943
10943
  return () => {
10944
10944
  var a;
10945
10945
  return u(Ie, null, [(a = o.value) == null ? void 0 : a.map((i) => u("div", {
@@ -11222,7 +11222,7 @@ const xn = {
11222
11222
  function Ko(e, t, n, o) {
11223
11223
  const {
11224
11224
  t: a
11225
- } = Ze(), i = h(a("pagination.goto.prefix")), l = h(""), s = h(e.value);
11225
+ } = Ze(), i = E(() => a("pagination.goto.prefix")), l = h(""), s = h(e.value);
11226
11226
  ee(s, (f, v) => {
11227
11227
  f >= 1 && f <= t.value ? e.value = f : s.value = v;
11228
11228
  }), ee(e, (f) => {
@@ -11269,7 +11269,7 @@ function Ko(e, t, n, o) {
11269
11269
  };
11270
11270
  }
11271
11271
  function ea(e, t, n, o, a) {
11272
- const i = D(() => ({
11272
+ const i = E(() => ({
11273
11273
  "page-item": !0,
11274
11274
  disabled: t.value
11275
11275
  }));
@@ -11329,7 +11329,7 @@ function ea(e, t, n, o, a) {
11329
11329
  function ta(e, t) {
11330
11330
  const {
11331
11331
  t: n
11332
- } = Ze(), o = h(n("pagination.totalInfo.firstText")), a = h(n("pagination.totalInfo.lastText")), i = D(() => ({
11332
+ } = Ze(), o = E(() => n("pagination.totalInfo.firstText")), a = E(() => n("pagination.totalInfo.lastText")), i = E(() => ({
11333
11333
  "pagination-message": !0,
11334
11334
  "text-truncate": !0,
11335
11335
  "d-flex": !0,
@@ -11356,13 +11356,13 @@ function ta(e, t) {
11356
11356
  function na(e, t, n, o, a) {
11357
11357
  const {
11358
11358
  t: i
11359
- } = Ze(), l = h(!1), s = h(i("pagination.show")), c = h(i("pagination.totalInfo.lastText")), r = D(() => ({
11359
+ } = Ze(), l = h(!1), s = E(() => i("pagination.show")), c = E(() => i("pagination.totalInfo.lastText")), r = E(() => ({
11360
11360
  dropup: !0,
11361
11361
  "dropdown-right": !0,
11362
11362
  "pg-pagelist": !0,
11363
11363
  "pagelist-disabled": o.value === 0,
11364
11364
  show: l.value
11365
- })), d = D(() => ({
11365
+ })), d = E(() => ({
11366
11366
  "dropdown-menu": !0,
11367
11367
  show: l.value
11368
11368
  })), f = (F) => ({
@@ -11376,13 +11376,13 @@ function na(e, t, n, o, a) {
11376
11376
  function p(F) {
11377
11377
  l.value = !1;
11378
11378
  }
11379
- function m(F, x, O) {
11379
+ function m(F, x, D) {
11380
11380
  const B = F * x - x + 1;
11381
- return Math.ceil(B / O);
11381
+ return Math.ceil(B / D);
11382
11382
  }
11383
11383
  function g(F, x) {
11384
- const O = e.value;
11385
- e.value = m(e.value, t.value, x), O !== e.value && a.emit("update:currentPage", e.value), t.value = x, l.value = !1, a.emit("update:pageSize", t.value), a.emit("changed", {
11384
+ const D = e.value;
11385
+ e.value = m(e.value, t.value, x), D !== e.value && a.emit("update:currentPage", e.value), t.value = x, l.value = !1, a.emit("update:pageSize", t.value), a.emit("changed", {
11386
11386
  pageIndex: e.value,
11387
11387
  pageSize: t.value
11388
11388
  }), a.emit("pageSizeChanged", {
@@ -11460,7 +11460,7 @@ function oa(e, t, n, o, a) {
11460
11460
  };
11461
11461
  }
11462
11462
  function aa(e, t, n, o, a) {
11463
- const i = D(() => ({
11463
+ const i = E(() => ({
11464
11464
  "page-item": !0,
11465
11465
  disabled: t.value
11466
11466
  }));
@@ -11527,8 +11527,8 @@ function ia(e) {
11527
11527
  const c = [], r = Math.ceil(l / i), d = Math.ceil(s / 2), f = a <= d, v = r - d < a, p = !f && !v, m = s < r;
11528
11528
  let g = 1;
11529
11529
  for (; g <= r && g <= s; ) {
11530
- const S = n(g, a, s, r), F = g === 2 && (p || v), x = g === s - 1 && (p || f), O = m && (F || x) ? "..." : "" + S;
11531
- c.push({ label: O, value: S }), g++;
11530
+ const S = n(g, a, s, r), F = g === 2 && (p || v), x = g === s - 1 && (p || f), D = m && (F || x) ? "..." : "" + S;
11531
+ c.push({ label: D, value: S }), g++;
11532
11532
  }
11533
11533
  t.value = c;
11534
11534
  }
@@ -11551,7 +11551,7 @@ const wt = /* @__PURE__ */ ve({
11551
11551
  background: "rgba(250,250,252,.6)",
11552
11552
  width: "100%",
11553
11553
  height: "100%"
11554
- }, p = D(() => !c.value || s.value === 1), m = D(() => e.pageList), g = D(() => Math.ceil(c.value / l.value)), S = D(() => !c.value || s.value === g.value), F = D(() => e.showGoButton), x = D(() => !!c.value && s.value > 1), O = D(() => !(i.value && r.value.length <= 1)), C = D(() => e.showPageInfo), B = D(() => e.showPageList), I = D(() => e.showPageNumbers), P = D(() => !0), {
11554
+ }, p = E(() => !c.value || s.value === 1), m = E(() => e.pageList), g = E(() => Math.ceil(c.value / l.value)), S = E(() => !c.value || s.value === g.value), F = E(() => e.showGoButton), x = E(() => !!c.value && s.value > 1), D = E(() => !(i.value && r.value.length <= 1)), C = E(() => e.showPageInfo), B = E(() => e.showPageList), I = E(() => e.showPageNumbers), P = E(() => !0), {
11555
11555
  renderFirstPage: y,
11556
11556
  renderPreviousPage: w
11557
11557
  } = aa(s, p, x, l, t), {
@@ -11562,7 +11562,7 @@ const wt = /* @__PURE__ */ ve({
11562
11562
  } = ta(a, c), {
11563
11563
  renderPageList: M
11564
11564
  } = na(s, l, m, c, t), {
11565
- renderPageNumbers: E
11565
+ renderPageNumbers: O
11566
11566
  } = oa(e, s, r, l, t), {
11567
11567
  renderGotoButton: j
11568
11568
  } = Ko(s, g, l, t);
@@ -11578,7 +11578,7 @@ const wt = /* @__PURE__ */ ve({
11578
11578
  const H = m.value.includes(l.value);
11579
11579
  l.value = H ? l.value : m.value[0], H || t.emit("update:pageSize", l.value);
11580
11580
  })();
11581
- const V = D(() => ({
11581
+ const V = E(() => ({
11582
11582
  "d-flex": !0,
11583
11583
  "flex-wrap": !0,
11584
11584
  "justify-content-end": !0,
@@ -11588,12 +11588,12 @@ const wt = /* @__PURE__ */ ve({
11588
11588
  responsive: n.value,
11589
11589
  "pager-viewmode-default": o.value === "default",
11590
11590
  "pager-viewmode-simple": o.value === "simple"
11591
- })), $ = D(() => ({
11591
+ })), $ = E(() => ({
11592
11592
  position: "relative",
11593
11593
  "justify-content": a.value === "center" ? "center" : "start"
11594
11594
  }));
11595
11595
  function A() {
11596
- return u(Ie, null, [C.value && k(), B.value && M(), P.value && y(), P.value && w(), I.value && E(), P.value && T(), P.value && b(), F.value && j()]);
11596
+ return u(Ie, null, [C.value && k(), B.value && M(), P.value && y(), P.value && w(), I.value && O(), P.value && T(), P.value && b(), F.value && j()]);
11597
11597
  }
11598
11598
  function z() {
11599
11599
  return u(Ie, null, [u("li", {
@@ -11615,7 +11615,7 @@ const wt = /* @__PURE__ */ ve({
11615
11615
  style: f
11616
11616
  }, [e.disabled && u("div", {
11617
11617
  style: v
11618
- }, null), O.value && u("ul", {
11618
+ }, null), D.value && u("ul", {
11619
11619
  role: "navigation",
11620
11620
  class: V.value,
11621
11621
  style: $.value
@@ -11633,16 +11633,16 @@ const wt = /* @__PURE__ */ ve({
11633
11633
  const {
11634
11634
  pages: v,
11635
11635
  updatePages: p
11636
- } = ia(), m = D(() => s.value === 1), g = D(() => [20, 50, 100]), S = D(() => Math.ceil(c.value / l.value)), F = D(() => s.value === S.value), x = D(() => !0), O = D(() => s.value > 1), C = D(() => !(i.value && v.value.length <= 1)), B = D(() => !0), I = D(() => !0), P = D(() => !0), y = D(() => !0), {
11636
+ } = ia(), m = E(() => s.value === 1), g = E(() => [20, 50, 100]), S = E(() => Math.ceil(c.value / l.value)), F = E(() => s.value === S.value), x = E(() => !0), D = E(() => s.value > 1), C = E(() => !(i.value && v.value.length <= 1)), B = E(() => !0), I = E(() => !0), P = E(() => !0), y = E(() => !0), {
11637
11637
  renderFirstPage: w,
11638
11638
  renderPreviousPage: b
11639
- } = aa(s, m, O, l, t), {
11639
+ } = aa(s, m, D, l, t), {
11640
11640
  renderLastPage: T,
11641
11641
  renderNextPage: k
11642
11642
  } = ea(s, F, S, l, t), {
11643
11643
  renderPageInfo: M
11644
11644
  } = ta(a, c), {
11645
- renderPageList: E
11645
+ renderPageList: O
11646
11646
  } = na(s, l, g, c, t), {
11647
11647
  renderPageNumbers: j
11648
11648
  } = oa(e, s, v, l, t), {
@@ -11655,18 +11655,18 @@ const wt = /* @__PURE__ */ ve({
11655
11655
  }), ee(l, () => {
11656
11656
  t.emit("pageSizeChanged", l.value);
11657
11657
  });
11658
- const V = D(() => ({
11658
+ const V = E(() => ({
11659
11659
  "ngx-pagination": !0,
11660
11660
  pagination: !0,
11661
11661
  responsive: n.value,
11662
11662
  "pager-viewmode-default": o.value === "default",
11663
11663
  "pager-viewmode-simple": o.value === "simple"
11664
- })), $ = D(() => ({
11664
+ })), $ = E(() => ({
11665
11665
  position: "relative",
11666
11666
  "justify-content": a.value === "center" ? "center" : "start"
11667
11667
  }));
11668
11668
  function A() {
11669
- return u(Ie, null, [B.value && M(), I.value && E(), y.value && w(), y.value && b(), P.value && j(), y.value && k(), y.value && T(), x.value && R()]);
11669
+ return u(Ie, null, [B.value && M(), I.value && O(), y.value && w(), y.value && b(), P.value && j(), y.value && k(), y.value && T(), x.value && R()]);
11670
11670
  }
11671
11671
  function z() {
11672
11672
  return u(Ie, null, [u("li", {
@@ -11795,11 +11795,11 @@ const Wt = {
11795
11795
  Ce(() => {
11796
11796
  x();
11797
11797
  });
11798
- function O() {
11798
+ function D() {
11799
11799
  i.value.clearSelection(), i.value.updateSelectionByIds([]);
11800
11800
  }
11801
11801
  return t.expose({
11802
- clearSelection: O
11802
+ clearSelection: D
11803
11803
  }), () => u(ot, {
11804
11804
  ref: i,
11805
11805
  data: a.value,
@@ -11912,7 +11912,7 @@ const Wt = {
11912
11912
  Ce(() => {
11913
11913
  x(), a != null && a.length && f.value.activeRowById(a[0].code);
11914
11914
  });
11915
- function O(y) {
11915
+ function D(y) {
11916
11916
  var w;
11917
11917
  ((w = i.value) == null ? void 0 : w.id) !== y[0].id && (i.value = y[0], F(), d.value = null);
11918
11918
  }
@@ -11948,7 +11948,7 @@ const Wt = {
11948
11948
  }, [u(ot, {
11949
11949
  ref: f,
11950
11950
  data: a,
11951
- onSelectionUpdate: O,
11951
+ onSelectionUpdate: D,
11952
11952
  selectionValues: v.value
11953
11953
  }, {
11954
11954
  content: m
@@ -12137,11 +12137,11 @@ const ju = {
12137
12137
  setup(e, t) {
12138
12138
  const n = Lu, o = h(e.showMessage), a = h(e.isActive), i = h(e.message), l = h(e.width), s = h(e.type), c = h(null), r = h(null), d = h(!1);
12139
12139
  let f = "", v;
12140
- const p = D(() => s.value && s.value in [0, 1, 2] ? s.value : 0);
12140
+ const p = E(() => s.value && s.value in [0, 1, 2] ? s.value : 0);
12141
12141
  Ce(() => {
12142
12142
  g();
12143
12143
  });
12144
- const m = D(() => {
12144
+ const m = E(() => {
12145
12145
  const I = {
12146
12146
  visibility: d.value ? "visible" : "hidden",
12147
12147
  transform: "translate(-50%,-50%)"
@@ -12150,7 +12150,7 @@ const ju = {
12150
12150
  });
12151
12151
  function g() {
12152
12152
  a.value && !v && (v = setTimeout(() => {
12153
- v = null, O(), d.value = !0;
12153
+ v = null, D(), d.value = !0;
12154
12154
  }, e.delay)), a.value || v && (clearTimeout(v), v = null);
12155
12155
  }
12156
12156
  function S(I) {
@@ -12166,7 +12166,7 @@ const ju = {
12166
12166
  callback: I
12167
12167
  });
12168
12168
  }
12169
- function O() {
12169
+ function D() {
12170
12170
  const I = C();
12171
12171
  c.value && c.value.style && (c.value.style.zIndex = (I + 1).toString()), r.value && r.value.style && (r.value.style.zIndex = (I + 1).toString());
12172
12172
  }
@@ -12364,7 +12364,7 @@ const Vt = /* @__PURE__ */ ve({
12364
12364
  headerSuffix: F
12365
12365
  });
12366
12366
  }
12367
- function O() {
12367
+ function D() {
12368
12368
  const y = s.getSchemaData, w = s.getNavigationData;
12369
12369
  return u(Ou, {
12370
12370
  ref: r,
@@ -12390,7 +12390,7 @@ const Vt = /* @__PURE__ */ ve({
12390
12390
  t.emit("submit");
12391
12391
  }
12392
12392
  }
12393
- const P = (/* @__PURE__ */ new Map([["Tabs", x], ["NavList", O]])).get(n.value);
12393
+ const P = (/* @__PURE__ */ new Map([["Tabs", x], ["NavList", D]])).get(n.value);
12394
12394
  return () => u("div", {
12395
12395
  class: "f-schema-selector h-100 d-flex flex-column"
12396
12396
  }, [P && P(), e.showFooter ? u("div", {
@@ -12534,14 +12534,14 @@ const Vt = /* @__PURE__ */ ve({
12534
12534
  props: zu,
12535
12535
  emits: ["click"],
12536
12536
  setup(e, t) {
12537
- const n = h(e.popupContentPosition), o = h(e.host), a = D(() => ({
12537
+ const n = h(e.popupContentPosition), o = h(e.host), a = E(() => ({
12538
12538
  backgroundColor: e.backgroundColor || "",
12539
12539
  pointerEvents: "auto"
12540
12540
  }));
12541
12541
  function i(s) {
12542
12542
  t.emit("click"), s.preventDefault(), s.stopPropagation();
12543
12543
  }
12544
- D(() => {
12544
+ E(() => {
12545
12545
  const s = o.value;
12546
12546
  if (s) {
12547
12547
  const c = s.getBoundingClientRect(), {
@@ -12556,7 +12556,7 @@ const Vt = /* @__PURE__ */ ve({
12556
12556
  }
12557
12557
  return n.value;
12558
12558
  });
12559
- const l = D(() => ({
12559
+ const l = E(() => ({
12560
12560
  // position: 'relative',
12561
12561
  // left: `${position.value.left}px`,
12562
12562
  // top: `${position.value.top}px`
@@ -12628,10 +12628,10 @@ function ra(e, t) {
12628
12628
  return { judgeCanOpen: n };
12629
12629
  }
12630
12630
  function Gu(e, t, n, o, a) {
12631
- const i = h(e.buttonBehavior), l = h(e.popupOnInput), s = D(() => ({
12631
+ const i = h(e.buttonBehavior), l = h(e.popupOnInput), s = E(() => ({
12632
12632
  "input-group-append": !0,
12633
12633
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
12634
- })), { judgeCanOpen: c } = ra(e, a), r = D(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ye(zo, null), f = h();
12634
+ })), { judgeCanOpen: c } = ra(e, a), r = E(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = ye(zo, null), f = h();
12635
12635
  async function v(g) {
12636
12636
  if (await c() && r.value) {
12637
12637
  const S = !!t.slots.default;
@@ -12665,7 +12665,7 @@ function Gu(e, t, n, o, a) {
12665
12665
  };
12666
12666
  }
12667
12667
  function Xu(e, t, n, o, a, i) {
12668
- const l = h(!1), s = D(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: c, hasClearClass: r } = i;
12668
+ const l = h(!1), s = E(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: c, hasClearClass: r } = i;
12669
12669
  function d(m) {
12670
12670
  l.value = m, r.value = m;
12671
12671
  }
@@ -12697,13 +12697,13 @@ function Xu(e, t, n, o, a, i) {
12697
12697
  };
12698
12698
  }
12699
12699
  function Yu(e, t, n, o, a) {
12700
- const i = D(() => e.popupOnInput), l = D(() => e.popupOnFocus), { shouldPopupContent: s, closeAllPopover: c } = a, r = h(!1), d = D(() => e.enableTitle ? n.value : ""), f = D(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = D(() => e.readonly || !e.editable), p = h(!1), m = D(() => !e.disable && p.value), g = D(() => ({
12700
+ const i = E(() => e.popupOnInput), l = E(() => e.popupOnFocus), { shouldPopupContent: s, closeAllPopover: c } = a, r = h(!1), d = E(() => e.enableTitle ? n.value : ""), f = E(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = E(() => e.readonly || !e.editable), p = h(!1), m = E(() => !e.disable && p.value), g = E(() => ({
12701
12701
  "text-left": e.textAlign === "left",
12702
12702
  "text-center": e.textAlign === "center",
12703
12703
  "text-right": e.textAlign === "right",
12704
12704
  "form-control": !0,
12705
12705
  "f-utils-fill": !0
12706
- })), S = D(() => ({
12706
+ })), S = E(() => ({
12707
12707
  "input-group": !0,
12708
12708
  "f-state-disabled": e.disable,
12709
12709
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -12723,7 +12723,7 @@ function Yu(e, t, n, o, a) {
12723
12723
  n.value = T;
12724
12724
  }
12725
12725
  );
12726
- function O(T) {
12726
+ function D(T) {
12727
12727
  p.value = !1, t.emit("blur", T), T.stopPropagation();
12728
12728
  }
12729
12729
  function C(T) {
@@ -12760,7 +12760,7 @@ function Yu(e, t, n, o, a) {
12760
12760
  hasClearClass: r,
12761
12761
  changeTextBoxValue: F,
12762
12762
  commitValue: x,
12763
- onBlurTextBox: O,
12763
+ onBlurTextBox: D,
12764
12764
  onClickTextBox: C,
12765
12765
  onFocusTextBox: B,
12766
12766
  onInput: I,
@@ -12829,7 +12829,7 @@ function Ju(e, t, n) {
12829
12829
  onTextBoxValueChange: g
12830
12830
  } = n, S = h(e.id), {
12831
12831
  uuid: F
12832
- } = Ea(), x = D(() => ({
12832
+ } = Ea(), x = E(() => ({
12833
12833
  // 'border-top-right-radius': '6px',
12834
12834
  // 'border-bottom-right-radius': '6px'
12835
12835
  }));
@@ -12839,13 +12839,13 @@ function Ju(e, t, n) {
12839
12839
  preventScroll: !0
12840
12840
  })), S.value || (S.value = "button-edit_" + F(8)), S.value = S.value + "-textbox";
12841
12841
  });
12842
- const O = h(!1), C = (P) => {
12843
- P.preventDefault(), O.value = !0;
12842
+ const D = h(!1), C = (P) => {
12843
+ P.preventDefault(), D.value = !0;
12844
12844
  }, B = (P) => {
12845
- P.preventDefault(), O.value = !1, f(P);
12845
+ P.preventDefault(), D.value = !1, f(P);
12846
12846
  };
12847
12847
  function I(P) {
12848
- O.value || f(P);
12848
+ D.value || f(P);
12849
12849
  }
12850
12850
  return () => u("input", {
12851
12851
  id: e.id ? e.id + "-textbox" : void 0,
@@ -12876,13 +12876,13 @@ function Ju(e, t, n) {
12876
12876
  }, null);
12877
12877
  }
12878
12878
  function Qu(e, t, n) {
12879
- const o = h(e.separator), a = D(() => e.readonly || e.disable), {
12879
+ const o = h(e.separator), a = E(() => e.readonly || e.disable), {
12880
12880
  changeTextBoxValue: i,
12881
12881
  onFocusTextBox: l,
12882
12882
  onBlurTextBox: s,
12883
12883
  onClickTextBox: c,
12884
12884
  textBoxPlaceholder: r
12885
- } = n, d = D(() => t.value ? t.value.split(o.value).map((m) => ({
12885
+ } = n, d = E(() => t.value ? t.value.split(o.value).map((m) => ({
12886
12886
  name: m,
12887
12887
  selectable: !0
12888
12888
  })) : []);
@@ -13001,16 +13001,16 @@ const td = /* @__PURE__ */ ve({
13001
13001
  } = v, S = Xu(e, t, a, p, f, v), {
13002
13002
  onMouseEnterTextBox: F,
13003
13003
  onMouseLeaveTextBox: x
13004
- } = S, O = h(!1), C = D(() => {
13004
+ } = S, D = h(!1), C = E(() => {
13005
13005
  const R = {
13006
13006
  "f-button-edit": !0,
13007
13007
  "f-cmp-inputgroup": !0,
13008
13008
  "f-button-edit-nowrap": !e.wrapText
13009
13009
  };
13010
13010
  return o.value && o.value.split(" ").reduce((V, $) => (V[$] = !0, V), R), R;
13011
- }), B = D(() => ({
13011
+ }), B = E(() => ({
13012
13012
  overflow: e.wrapText ? "hidden" : ""
13013
- })), I = D(() => ({
13013
+ })), I = E(() => ({
13014
13014
  // paddingLeft: '3px',
13015
13015
  // backgroundColor: '#fff'
13016
13016
  }));
@@ -13040,7 +13040,7 @@ const td = /* @__PURE__ */ ve({
13040
13040
  const {
13041
13041
  renderButtonGroup: T,
13042
13042
  buttonHandleElement: k
13043
- } = Ku(e, t, d, S), M = ed(e, t, i), E = h(l.value), j = {
13043
+ } = Ku(e, t, d, S), M = ed(e, t, i), O = h(l.value), j = {
13044
13044
  displayText: f,
13045
13045
  commitValue: m,
13046
13046
  elementRef: n,
@@ -13061,7 +13061,7 @@ const td = /* @__PURE__ */ ve({
13061
13061
  return (R = n.value) == null ? void 0 : R.querySelector("input");
13062
13062
  },
13063
13063
  forceClosePopup: () => {
13064
- E.value = !1, O.value = !0, l.value = !1;
13064
+ O.value = !1, D.value = !0, l.value = !1;
13065
13065
  }
13066
13066
  };
13067
13067
  return Ce(() => {
@@ -13072,20 +13072,20 @@ const td = /* @__PURE__ */ ve({
13072
13072
  var R;
13073
13073
  window.onresize = null, (R = window[ct]) == null || R.delete(n.value);
13074
13074
  }), t.expose(j), ee(() => l.value, async (R, V) => {
13075
- if (O.value) {
13076
- E.value = R, O.value = !1;
13075
+ if (D.value) {
13076
+ O.value = R, D.value = !1;
13077
13077
  return;
13078
13078
  }
13079
13079
  if (!R && e.beforeClosePopup && typeof e.beforeClosePopup == "function") {
13080
13080
  try {
13081
13081
  const $ = await e.beforeClosePopup();
13082
- E.value = !$, (!$ || e.readonly) && (l.value = !0);
13082
+ O.value = !$, (!$ || e.readonly) && (l.value = !0);
13083
13083
  } catch ($) {
13084
- console.error("Error in beforeClosePopup:", $), E.value = V, l.value = V;
13084
+ console.error("Error in beforeClosePopup:", $), O.value = V, l.value = V;
13085
13085
  }
13086
13086
  return;
13087
13087
  }
13088
- E.value = R;
13088
+ O.value = R;
13089
13089
  }), () => {
13090
13090
  var R, V;
13091
13091
  return u(Ie, null, [u("div", St(t.attrs, {
@@ -13099,7 +13099,7 @@ const td = /* @__PURE__ */ ve({
13099
13099
  style: I.value,
13100
13100
  onMouseenter: F,
13101
13101
  onMouseleave: x
13102
- }, [(V = (R = t.slots).precontent) == null ? void 0 : V.call(R), b(), T()])]), E.value && M()]);
13102
+ }, [(V = (R = t.slots).precontent) == null ? void 0 : V.call(R), b(), T()])]), O.value && M()]);
13103
13103
  };
13104
13104
  }
13105
13105
  }), nd = "https://json-schema.org/draft/2020-12/schema", od = "https://farris-design.gitee.io/schema-editor.schema.json", ad = "schema-editor", id = "A Farris Input Component", ld = "object", sd = {