@farris/ui-vue 1.3.3 → 1.3.5

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 (73) hide show
  1. package/components/binding-selector/index.esm.js +15 -15
  2. package/components/binding-selector/index.umd.cjs +1 -1
  3. package/components/condition/index.esm.js +108 -107
  4. package/components/condition/index.umd.cjs +1 -1
  5. package/components/data-grid/index.esm.js +4532 -4268
  6. package/components/data-grid/index.umd.cjs +1 -1
  7. package/components/data-view/index.esm.js +2709 -2690
  8. package/components/data-view/index.umd.cjs +1 -1
  9. package/components/designer-canvas/index.esm.js +4795 -4375
  10. package/components/designer-canvas/index.umd.cjs +1 -1
  11. package/components/dynamic-form/index.esm.js +601 -593
  12. package/components/dynamic-form/index.umd.cjs +1 -1
  13. package/components/event-parameter/index.css +1 -0
  14. package/components/event-parameter/index.esm.js +2685 -165
  15. package/components/event-parameter/index.umd.cjs +1 -1
  16. package/components/events-editor/index.css +1 -1
  17. package/components/events-editor/index.esm.js +594 -575
  18. package/components/events-editor/index.umd.cjs +1 -1
  19. package/components/external-container/index.esm.js +772 -772
  20. package/components/external-container/index.umd.cjs +1 -1
  21. package/components/field-selector/index.esm.js +2921 -2902
  22. package/components/field-selector/index.umd.cjs +1 -1
  23. package/components/filter-bar/index.css +1 -1
  24. package/components/filter-bar/index.esm.js +4137 -4050
  25. package/components/filter-bar/index.umd.cjs +1 -1
  26. package/components/flow-canvas/index.esm.js +4569 -4149
  27. package/components/flow-canvas/index.umd.cjs +1 -1
  28. package/components/list-view/index.esm.js +936 -936
  29. package/components/list-view/index.umd.cjs +1 -1
  30. package/components/lookup/index.esm.js +5226 -4962
  31. package/components/lookup/index.umd.cjs +1 -1
  32. package/components/mapping-editor/index.esm.js +4648 -4384
  33. package/components/mapping-editor/index.umd.cjs +1 -1
  34. package/components/property-panel/index.css +1 -1
  35. package/components/query-solution/index.css +1 -1
  36. package/components/query-solution/index.esm.js +6128 -5879
  37. package/components/query-solution/index.umd.cjs +6 -6
  38. package/components/radio-group/index.esm.js +6 -6
  39. package/components/radio-group/index.umd.cjs +1 -1
  40. package/components/schema-selector/index.esm.js +975 -973
  41. package/components/schema-selector/index.umd.cjs +2 -2
  42. package/components/section/index.esm.js +2107 -417
  43. package/components/section/index.umd.cjs +1 -1
  44. package/components/tabs/index.esm.js +577 -575
  45. package/components/tabs/index.umd.cjs +1 -1
  46. package/components/textarea/index.esm.js +84 -79
  47. package/components/textarea/index.umd.cjs +1 -1
  48. package/components/tree-grid/index.esm.js +3307 -3288
  49. package/components/tree-grid/index.umd.cjs +1 -1
  50. package/components/tree-view/index.esm.js +1537 -1533
  51. package/components/tree-view/index.umd.cjs +1 -1
  52. package/farris.all.esm.js +24890 -24173
  53. package/farris.all.umd.cjs +13 -13
  54. package/index.css +1 -1
  55. package/package.json +1 -1
  56. package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
  57. package/types/data-grid/src/components/data/data-grid-area.component.d.ts +8 -0
  58. package/types/data-grid/src/components/data/data-grid-area.props.d.ts +3 -0
  59. package/types/data-view/composition/types.d.ts +1 -0
  60. package/types/dynamic-form/src/designer/form-group-use-designer-rules.d.ts +1 -2
  61. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +14 -3
  62. package/types/entity-binding-selector/composition/use-field-tree.d.ts +28 -0
  63. package/types/event-parameter/src/composition/use-general-editor.d.ts +26 -0
  64. package/types/event-parameter/src/event-parameter.props.d.ts +4 -4
  65. package/types/events-editor/src/composition/types.d.ts +1 -1
  66. package/types/query-solution/src/composition/types.d.ts +55 -0
  67. package/types/query-solution/src/composition/use-condition.d.ts +19 -0
  68. package/types/query-solution/src/designer/query-solution-config/composition/types.d.ts +3 -2
  69. package/types/query-solution/src/designer/query-solution-config/converter/query-solution-config-property.converter.d.ts +4 -0
  70. package/types/section/index.d.ts +15 -0
  71. package/types/section/src/designer/section-header.design.component.d.ts +4 -0
  72. package/types/section/src/designer/section-toolbar-item.props.d.ts +19 -0
  73. package/types/section/src/designer/section-toolbar.design.component.d.ts +3 -0
@@ -212,7 +212,7 @@ class jn {
212
212
  this.displayText = e.dispalyText, this.value = e.value;
213
213
  }
214
214
  isEmpty() {
215
- return !this.displayText;
215
+ return !this.displayText && !this.value;
216
216
  }
217
217
  }
218
218
  class Ln {
@@ -251,7 +251,7 @@ class Ln {
251
251
  throw new Error("Method not implemented.");
252
252
  }
253
253
  isEmpty() {
254
- return !this.displayText;
254
+ return !this.displayText && !this.value.length;
255
255
  }
256
256
  }
257
257
  class Nn {
@@ -372,7 +372,7 @@ class Hn {
372
372
  this.value = isNaN(parseFloat(e)) ? null : e;
373
373
  }
374
374
  isEmpty() {
375
- return this.value == null;
375
+ return this.value == null || isNaN(this.value);
376
376
  }
377
377
  }
378
378
  class Dn {
@@ -537,7 +537,7 @@ const ke = /* @__PURE__ */ ee({
537
537
  "f-utils-flex-row-wrap": !0,
538
538
  "farris-form": !0,
539
539
  "farris-form-controls-inline": a.value
540
- })), j = R(() => m.value);
540
+ })), O = R(() => m.value);
541
541
  function H(h, b) {
542
542
  e.emit("valueChange", h, b);
543
543
  }
@@ -545,7 +545,7 @@ const ke = /* @__PURE__ */ ee({
545
545
  return r.value.map((h) => {
546
546
  var b;
547
547
  return c(ht, {
548
- customClass: j.value,
548
+ customClass: O.value,
549
549
  label: h.fieldName,
550
550
  editor: (b = d.get(h.fieldCode)) == null ? void 0 : b.editor,
551
551
  modelValue: h.value.value,
@@ -599,13 +599,13 @@ function Yn(t = {}) {
599
599
  if (typeof m == "number")
600
600
  return v[s].length === m;
601
601
  if (typeof m == "object") {
602
- const k = Object.keys(m)[0], j = m[k];
602
+ const k = Object.keys(m)[0], O = m[k];
603
603
  if (k === "not")
604
- return Number(v[s].length) !== Number(j);
604
+ return Number(v[s].length) !== Number(O);
605
605
  if (k === "moreThan")
606
- return Number(v[s].length) >= Number(j);
606
+ return Number(v[s].length) >= Number(O);
607
607
  if (k === "lessThan")
608
- return Number(v[s].length) <= Number(j);
608
+ return Number(v[s].length) <= Number(O);
609
609
  }
610
610
  return !1;
611
611
  }
@@ -622,8 +622,8 @@ function Yn(t = {}) {
622
622
  return typeof p == "number" ? [{ target: m, operator: "length", param: null, value: Number(p) }] : typeof p == "boolean" ? [{ target: m, operator: "getProperty", param: s, value: !!p }] : typeof p == "object" ? Object.keys(p).map((v) => {
623
623
  if (v === "length")
624
624
  return { target: m, operator: "length", param: null, value: p[v] };
625
- const k = v, j = p[v];
626
- return { target: m, operator: "getProperty", param: k, value: j };
625
+ const k = v, O = p[v];
626
+ return { target: m, operator: "getProperty", param: k, value: O };
627
627
  }) : [];
628
628
  }
629
629
  function r(s) {
@@ -640,10 +640,10 @@ function Yn(t = {}) {
640
640
  return !1;
641
641
  }
642
642
  function i(s, p) {
643
- return r(s).reduce((k, j) => k && l(j, p), !0);
643
+ return r(s).reduce((k, O) => k && l(O, p), !0);
644
644
  }
645
645
  function d(s, p) {
646
- const m = Object.keys(s), v = m.includes("allOf"), k = m.includes("anyOf"), j = v || k, h = (j ? s[j ? v ? "allOf" : "anyOf" : "allOf"] : [s]).map((I) => i(I, p));
646
+ const m = Object.keys(s), v = m.includes("allOf"), k = m.includes("anyOf"), O = v || k, h = (O ? s[O ? v ? "allOf" : "anyOf" : "allOf"] : [s]).map((I) => i(I, p));
647
647
  return v ? !h.includes(!1) : h.includes(!0);
648
648
  }
649
649
  return { parseValueSchema: d };
@@ -826,18 +826,19 @@ class Kn {
826
826
  }
827
827
  }
828
828
  function eo(t, e, n, o) {
829
- var r, l, i, d;
829
+ var r, l, i, d, s;
830
830
  const a = n.parentComponentInstance;
831
831
  if (a && o) {
832
- const s = (r = a.schema) == null ? void 0 : r.type, m = {
832
+ const p = (r = a.schema) == null ? void 0 : r.type, v = {
833
833
  componentId: `form-${Math.random().toString(36).slice(2, 6)}`,
834
834
  componentName: ((i = (l = n.bindingSourceContext) == null ? void 0 : l.bindingEntity) == null ? void 0 : i.name) || "标题",
835
835
  componentType: "form",
836
- formColumns: s === "splitter-pane" ? 1 : 4,
836
+ formColumns: p === "splitter-pane" ? 1 : 4,
837
837
  parentContainerId: a.schema.id,
838
- bindTo: ((d = n.bindingSourceContext) == null ? void 0 : d.bindTo) || "/"
838
+ bindTo: ((d = n.bindingSourceContext) == null ? void 0 : d.bindTo) || "/",
839
+ selectedFields: (s = n.bindingSourceContext) == null ? void 0 : s.bindingEntityFields
839
840
  };
840
- return new Kn(t, o).createComponent(m);
841
+ return new Kn(t, o).createComponent(v);
841
842
  } else
842
843
  return e;
843
844
  }
@@ -1318,7 +1319,7 @@ function jo(t, e, n) {
1318
1319
  function k() {
1319
1320
  t.selectOnCreated, t.focusOnCreated;
1320
1321
  }
1321
- async function j(H) {
1322
+ async function O(H) {
1322
1323
  r(H), await ve, k();
1323
1324
  }
1324
1325
  return oe(async () => {
@@ -1334,7 +1335,7 @@ function jo(t, e, n) {
1334
1335
  placeholder: s.value,
1335
1336
  onBlur: a,
1336
1337
  onChange: v,
1337
- onFocus: j,
1338
+ onFocus: O,
1338
1339
  onInput: l,
1339
1340
  onKeydown: i
1340
1341
  }, null);
@@ -1391,13 +1392,13 @@ function No(t, e) {
1391
1392
  isFocus: v
1392
1393
  } = r, k = R(() => !t.disabled && !t.readonly);
1393
1394
  return oe(() => {
1394
- const j = s(t.modelValue);
1395
- i.value = m(j);
1396
- }), J(() => [t.value], ([j]) => {
1397
- const H = s(j);
1395
+ const O = s(t.modelValue);
1396
+ i.value = m(O);
1397
+ }), J(() => [t.value], ([O]) => {
1398
+ const H = s(O);
1398
1399
  d.value = H, i.value = m(H);
1399
- }), J(() => [t.modelValue], ([j]) => {
1400
- j !== d.value && (d.value = j, !v.value && (i.value = m(s(j))));
1400
+ }), J(() => [t.modelValue], ([O]) => {
1401
+ O !== d.value && (d.value = O, !v.value && (i.value = m(s(O))));
1401
1402
  }), J(() => [t.precision, t.useThousands, t.prefix, t.suffix, t.showZero], () => {
1402
1403
  i.value = m(d.value);
1403
1404
  }), () => c("div", {
@@ -1411,7 +1412,7 @@ function Po(t, e, n, o) {
1411
1412
  disabled: m,
1412
1413
  displayText: v,
1413
1414
  inputType: k,
1414
- onBlur: j,
1415
+ onBlur: O,
1415
1416
  onFocus: H,
1416
1417
  onInput: $,
1417
1418
  onClick: h,
@@ -1440,7 +1441,7 @@ function Po(t, e, n, o) {
1440
1441
  title: l.value && !i.value ? f.value : "",
1441
1442
  type: k.value,
1442
1443
  value: v == null ? void 0 : v.value,
1443
- onBlur: j,
1444
+ onBlur: O,
1444
1445
  onClick: h,
1445
1446
  onChange: U,
1446
1447
  onFocus: H,
@@ -1476,7 +1477,7 @@ function $o(t, e, n, o, a) {
1476
1477
  onClearValue: v,
1477
1478
  shouldShowClearButton: k
1478
1479
  } = o;
1479
- function j() {
1480
+ function O() {
1480
1481
  return c("span", {
1481
1482
  id: "clearIcon",
1482
1483
  class: p.value,
@@ -1516,7 +1517,7 @@ function $o(t, e, n, o, a) {
1516
1517
  const X = U();
1517
1518
  return () => c("div", {
1518
1519
  class: r.value
1519
- }, [k.value && j(), X && X()]);
1520
+ }, [k.value && O(), X && X()]);
1520
1521
  }
1521
1522
  const Ho = /* @__PURE__ */ ee({
1522
1523
  name: "FInputGroup",
@@ -1532,7 +1533,7 @@ const Ho = /* @__PURE__ */ ee({
1532
1533
  } = d, p = yt(t, e, a), {
1533
1534
  onMouseEnter: m,
1534
1535
  onMouseLeave: v
1535
- } = p, k = Oo(t, e, l, d), j = No(t, e), H = Po(t, e, k, a), $ = $o(t, e, d, p, k), h = zo(t, e), b = R(() => t.type === "number");
1536
+ } = p, k = Oo(t, e, l, d), O = No(t, e), H = Po(t, e, k, a), $ = $o(t, e, d, p, k), h = zo(t, e), b = R(() => t.type === "number");
1536
1537
  J(() => [t.value], ([G]) => {
1537
1538
  n.value = G, o.value = G;
1538
1539
  }), J(() => [t.modelValue], ([G]) => {
@@ -1546,7 +1547,7 @@ const Ho = /* @__PURE__ */ ee({
1546
1547
  style: i.value,
1547
1548
  onMouseenter: m,
1548
1549
  onMouseleave: v
1549
- }, [b.value ? j() : c(se, null, [h(), H(), s.value && $()])])]);
1550
+ }, [b.value ? O() : c(se, null, [h(), H(), s.value && $()])])]);
1550
1551
  return () => I();
1551
1552
  }
1552
1553
  }), F = {}, S = {}, M = {}, E = {};
@@ -1647,7 +1648,7 @@ const Go = /* @__PURE__ */ ee({
1647
1648
  const m = u(), {
1648
1649
  resolveEditorProps: v,
1649
1650
  resolveEditorType: k,
1650
- getChangeFunctionName: j,
1651
+ getChangeFunctionName: O,
1651
1652
  getClearFunctionName: H
1652
1653
  } = Ao(), $ = R(() => ({
1653
1654
  "form-group": !0,
@@ -1662,7 +1663,7 @@ const Go = /* @__PURE__ */ ee({
1662
1663
  e.emit("update:modelValue", "");
1663
1664
  }
1664
1665
  const I = R(() => {
1665
- const G = a.value.type || "input-group", U = k(G), X = v(G, a.value), x = j(G), D = H(a.value.type);
1666
+ const G = a.value.type || "input-group", U = k(G), X = v(G, a.value), x = O(G), D = H(a.value.type);
1666
1667
  return D && (X[D] = b), X[x] = h, (X.id == null || X.id === "") && (X.id = n.value), () => c(U, ye({
1667
1668
  ref: m
1668
1669
  }, X, {
@@ -1670,8 +1671,8 @@ const Go = /* @__PURE__ */ ee({
1670
1671
  "onUpdate:modelValue": (f) => l.value = f
1671
1672
  }), e.slots);
1672
1673
  });
1673
- return J([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible], ([G, U, X, x, D, f, C, w, O]) => {
1674
- n.value = G, o.value = U, a.value = X, r.value = x, l.value = D, i.value = f, d.value = C, s.value = w, p.value = O;
1674
+ return J([() => t.id, () => t.customClass, () => t.editor, () => t.label, () => t.modelValue, () => t.readonly, () => t.required, () => t.showLabel, () => t.visible], ([G, U, X, x, D, f, C, w, j]) => {
1675
+ n.value = G, o.value = U, a.value = X, r.value = x, l.value = D, i.value = f, d.value = C, s.value = w, p.value = j;
1675
1676
  }), e.expose({
1676
1677
  editorRef: m
1677
1678
  }), () => p.value && c("div", {
@@ -1959,7 +1960,7 @@ function ua(t) {
1959
1960
  function k($, h) {
1960
1961
  s.value = !s.value, e.value = s.value ? 20 : 3;
1961
1962
  }
1962
- function j($) {
1963
+ function O($) {
1963
1964
  return k();
1964
1965
  }
1965
1966
  function H($) {
@@ -1976,7 +1977,7 @@ function ua(t) {
1976
1977
  }, null)]), d.value && c("span", {
1977
1978
  style: v.value
1978
1979
  }, [s.value && c("span", {
1979
- onClick: j,
1980
+ onClick: O,
1980
1981
  style: "cursor: pointer;"
1981
1982
  }, [m.value]), !s.value && c("span", {
1982
1983
  onClick: H,
@@ -2038,7 +2039,7 @@ function pa(t, e, n) {
2038
2039
  }, [l.value])]);
2039
2040
  }
2040
2041
  function ma(t, e, n, o) {
2041
- const a = u(t.type), r = u([]), l = u(t.exceptionInfo), i = u(t.okButtonText), d = u(t.cancelButtonText), s = u(!0), p = u(!0), m = R(() => !!(r.value && r.value.length)), v = R(() => l.value && l.value.date && l.value.message && l.value.detail), k = R(() => !(r.value && r.value.length) && (i.value || d.value)), j = R(() => p.value && i.value), H = R(() => s.value && d.value), $ = pa(t, n, o);
2042
+ const a = u(t.type), r = u([]), l = u(t.exceptionInfo), i = u(t.okButtonText), d = u(t.cancelButtonText), s = u(!0), p = u(!0), m = R(() => !!(r.value && r.value.length)), v = R(() => l.value && l.value.date && l.value.message && l.value.detail), k = R(() => !(r.value && r.value.length) && (i.value || d.value)), O = R(() => p.value && i.value), H = R(() => s.value && d.value), $ = pa(t, n, o);
2042
2043
  function h(I) {
2043
2044
  a.value === "question" && e.emit("reject"), e.emit("close");
2044
2045
  }
@@ -2051,7 +2052,7 @@ function ma(t, e, n, o) {
2051
2052
  type: "button",
2052
2053
  class: "btn btn-secondary btn-lg",
2053
2054
  onClick: h
2054
- }, [d.value]), k.value && j.value && c("button", {
2055
+ }, [d.value]), k.value && O.value && c("button", {
2055
2056
  type: "button",
2056
2057
  class: "btn btn-primary btn-lg",
2057
2058
  onClick: b
@@ -2095,13 +2096,13 @@ const ue = /* @__PURE__ */ ee({
2095
2096
  return da(t, n, o, a);
2096
2097
  }
2097
2098
  }
2098
- const j = k(), H = ma(t, e, i, s);
2099
+ const O = k(), H = ma(t, e, i, s);
2099
2100
  return () => c("div", {
2100
2101
  class: "farris-messager"
2101
2102
  }, [c("section", {
2102
2103
  class: r.value,
2103
2104
  style: l.value
2104
- }, [j()]), H(), v()]);
2105
+ }, [O()]), H(), v()]);
2105
2106
  }
2106
2107
  }), fa = {
2107
2108
  /**
@@ -2248,7 +2249,7 @@ class K {
2248
2249
  }
2249
2250
  }
2250
2251
  function va(t, e) {
2251
- const n = u(), o = u(), a = u(), r = u(), l = u(), i = u(), d = u(), s = u(), p = u(), m = u(), v = u(), k = u(), j = u(t.draggable), H = u(!1);
2252
+ const n = u(), o = u(), a = u(), r = u(), l = u(), i = u(), d = u(), s = u(), p = u(), m = u(), v = u(), k = u(), O = u(t.draggable), H = u(!1);
2252
2253
  function $() {
2253
2254
  const y = o.value || document.body, g = window.getComputedStyle(y);
2254
2255
  if (!g || !n.value)
@@ -2335,7 +2336,7 @@ function va(t, e) {
2335
2336
  document.addEventListener("mousemove", X), document.addEventListener("mouseup", D);
2336
2337
  }
2337
2338
  function C(y) {
2338
- y instanceof MouseEvent && y.button === 2 || j.value && (y.stopPropagation(), y.preventDefault(), a.value = Q.fromEvent(y), p.value = y.target, h(y), f());
2339
+ y instanceof MouseEvent && y.button === 2 || O.value && (y.stopPropagation(), y.preventDefault(), a.value = Q.fromEvent(y), p.value = y.target, h(y), f());
2339
2340
  }
2340
2341
  function w(y) {
2341
2342
  return n.value = y, c(se, null, [c("div", {
@@ -2372,7 +2373,7 @@ function va(t, e) {
2372
2373
  onMousedown: (g) => C(g)
2373
2374
  }, null)]);
2374
2375
  }
2375
- function O(y = !0) {
2376
+ function j(y = !0) {
2376
2377
  const g = o.value || document.body, V = K.getCurrent(g), A = n.value;
2377
2378
  y && (k.value = x(), k.value.transform = A.style.transform), V && A && (i.value = V, A.style.height = i.value.height - 14 + "px", A.style.width = i.value.width - 14 + "px", A.style.left = "7px", A.style.top = "7px", A.style.transform = "", v.value = {
2378
2379
  size: i.value,
@@ -2380,7 +2381,7 @@ function va(t, e) {
2380
2381
  x: 0,
2381
2382
  y: 0
2382
2383
  }
2383
- }, j.value = !1, H.value = !0);
2384
+ }, O.value = !1, H.value = !0);
2384
2385
  }
2385
2386
  function L() {
2386
2387
  var y, g;
@@ -2397,7 +2398,7 @@ function va(t, e) {
2397
2398
  q.style.height = V.height + "px", q.style.width = V.width + "px", q.style.left = `${A.x}px`, q.style.top = `${A.y}px`, q.style.transform = "", v.value = {
2398
2399
  size: V,
2399
2400
  position: A
2400
- }, j.value = t.draggable, H.value = !1;
2401
+ }, O.value = t.draggable, H.value = !1;
2401
2402
  }
2402
2403
  }
2403
2404
  function N() {
@@ -2414,7 +2415,7 @@ function va(t, e) {
2414
2415
  }
2415
2416
  function P() {
2416
2417
  const y = () => {
2417
- H.value ? O(!1) : N();
2418
+ H.value ? j(!1) : N();
2418
2419
  };
2419
2420
  return window.addEventListener("resize", y), () => {
2420
2421
  window.removeEventListener("resize", y);
@@ -2425,9 +2426,9 @@ function va(t, e) {
2425
2426
  renderResizeBar: w,
2426
2427
  boundingElement: o,
2427
2428
  resizedEventParam: v,
2428
- maximize: O,
2429
+ maximize: j,
2429
2430
  restore: L,
2430
- allowDrag: j,
2431
+ allowDrag: O,
2431
2432
  isMaximized: H,
2432
2433
  unWindowResizeHandle: Y
2433
2434
  };
@@ -2447,7 +2448,7 @@ function ha(t, e, n) {
2447
2448
  return !0;
2448
2449
  return !1;
2449
2450
  }
2450
- function j() {
2451
+ function O() {
2451
2452
  var C, w;
2452
2453
  let x = m.value.x + p.value.x, D = m.value.y + p.value.y;
2453
2454
  r.value === "x" ? (x = ((C = s.value) == null ? void 0 : C.x) || 0, m.value.x = 0) : r.value === "y" && (D = ((w = s.value) == null ? void 0 : w.y) || 0, m.value.y = 0);
@@ -2463,10 +2464,10 @@ function ha(t, e, n) {
2463
2464
  bottom: x.bottom > D.bottom,
2464
2465
  left: x.left < D.left
2465
2466
  };
2466
- return f.top || (m.value.y -= D.top - x.top), f.bottom || (m.value.y -= D.bottom - x.bottom), f.right || (m.value.x -= D.right - x.right), f.left || (m.value.x -= D.left - x.left), j(), f;
2467
+ return f.top || (m.value.y -= D.top - x.top), f.bottom || (m.value.y -= D.bottom - x.bottom), f.right || (m.value.x -= D.right - x.right), f.left || (m.value.x -= D.left - x.left), O(), f;
2467
2468
  }
2468
2469
  function $(x) {
2469
- x && (s.value && x.subtract(s.value), m.value.set(x), j(), H());
2470
+ x && (s.value && x.subtract(s.value), m.value.set(x), O(), H());
2470
2471
  }
2471
2472
  function h(x) {
2472
2473
  d.value && a.value && (x.stopPropagation(), x.preventDefault(), $(Q.fromEvent(x, l.value)));
@@ -2545,7 +2546,7 @@ const ze = /* @__PURE__ */ ee({
2545
2546
  props: fa,
2546
2547
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
2547
2548
  setup(t, e) {
2548
- const n = u(t.width || 300), o = u(t.height || 200), a = u(t.modelValue), r = u(""), l = u(t.class), i = u(t.fitContent), d = u(t.showHeader), s = u(""), p = u(t.showCloseButton), m = u(t.showMaxButton), v = u(!1), k = u(""), j = u(""), H = u(""), $ = u(t.showButtons), h = u(t.title), b = u(t.reiszeable), I = u(t.containment || null), G = u();
2549
+ const n = u(t.width || 300), o = u(t.height || 200), a = u(t.modelValue), r = u(""), l = u(t.class), i = u(t.fitContent), d = u(t.showHeader), s = u(""), p = u(t.showCloseButton), m = u(t.showMaxButton), v = u(!1), k = u(""), O = u(""), H = u(""), $ = u(t.showButtons), h = u(t.title), b = u(t.reiszeable), I = u(t.containment || null), G = u();
2549
2550
  function U(T, W) {
2550
2551
  a.value = !1, e.emit("update:modelValue", !1), W != null && e.emit(W ? "accept" : "cancel"), e.emit("closed", T);
2551
2552
  }
@@ -2563,7 +2564,7 @@ const ze = /* @__PURE__ */ ee({
2563
2564
  handle: (T) => {
2564
2565
  U(T, !0);
2565
2566
  }
2566
- }], x = u(t.buttons && t.buttons.length ? t.buttons : X), D = R(() => !!s.value), f = R(() => !!$.value && !!x.value), C = u(), w = u(), O = u(!1), {
2567
+ }], x = u(t.buttons && t.buttons.length ? t.buttons : X), D = R(() => !!s.value), f = R(() => !!$.value && !!x.value), C = u(), w = u(), j = u(!1), {
2567
2568
  renderResizeBar: L,
2568
2569
  maximize: N,
2569
2570
  restore: P,
@@ -2623,7 +2624,7 @@ const ze = /* @__PURE__ */ ee({
2623
2624
  }), Xe = R(() => ({
2624
2625
  "f-icon": !0,
2625
2626
  modal_maximize: !0,
2626
- modalrevert: O.value
2627
+ modalrevert: j.value
2627
2628
  })), Ye = R(() => ({
2628
2629
  "modal-body": !0,
2629
2630
  "f-utils-flex-column": k.value === "iframe"
@@ -2638,11 +2639,11 @@ const ze = /* @__PURE__ */ ee({
2638
2639
  return Object.assign(T, W);
2639
2640
  });
2640
2641
  function we(T) {
2641
- if (T.stopPropagation(), O.value) {
2642
- O.value = !1, P();
2642
+ if (T.stopPropagation(), j.value) {
2643
+ j.value = !1, P();
2643
2644
  return;
2644
2645
  }
2645
- N(), O.value = !0;
2646
+ N(), j.value = !0;
2646
2647
  }
2647
2648
  async function Ze(T, W) {
2648
2649
  T.handle && await T.handle(W, T) && e.emit("closed", W);
@@ -2742,7 +2743,7 @@ const ze = /* @__PURE__ */ ee({
2742
2743
  class: "f-utils-fill",
2743
2744
  width: "100%",
2744
2745
  frameborder: "0",
2745
- src: j.value
2746
+ src: O.value
2746
2747
  }, null)]), f.value && et()]), !i.value && b.value && w.value && L(w.value)])])];
2747
2748
  }
2748
2749
  })]
@@ -2765,10 +2766,10 @@ function ba(t) {
2765
2766
  });
2766
2767
  const r = u(), l = u(t.class || ""), i = u(!!t.showButtons), d = u(!!t.showHeader), s = u(t.showCloseButton == null ? !0 : t.showCloseButton), p = u(!0), m = u(t.title || ""), v = t.acceptCallback || (() => {
2767
2768
  }), k = t.rejectCallback || (() => {
2768
- }), j = t.closedCallback || ((b) => {
2769
+ }), O = t.closedCallback || ((b) => {
2769
2770
  }), H = t.resizeHandle || ((b) => {
2770
2771
  }), $ = $e(t), h = (b) => {
2771
- p.value = !1, n.unmount(), j(b);
2772
+ p.value = !1, n.unmount(), O(b);
2772
2773
  };
2773
2774
  return oe(() => {
2774
2775
  }), a.expose({
@@ -2848,7 +2849,7 @@ class Ca {
2848
2849
  }, k = (h) => {
2849
2850
  var b;
2850
2851
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((b = this.activeModalInstance.value) == null || b.close(h == null ? void 0 : h.event));
2851
- }, j = () => c(ze, ye({
2852
+ }, O = () => c(ze, ye({
2852
2853
  ref: this.modalRef,
2853
2854
  modelValue: a.value,
2854
2855
  "onUpdate:modelValue": (h) => a.value = h
@@ -2862,7 +2863,7 @@ class Ca {
2862
2863
  default: () => [p && p(this.app)]
2863
2864
  });
2864
2865
  return s = ((h) => {
2865
- const b = mt(j, h);
2866
+ const b = mt(O, h);
2866
2867
  return b.appContext = this.appContext, me(b, n), b;
2867
2868
  })({
2868
2869
  ...o.value
@@ -3075,47 +3076,47 @@ function Ba() {
3075
3076
  function i(f) {
3076
3077
  const C = /* @__PURE__ */ new Map();
3077
3078
  let w = 0;
3078
- return f.forEach((O, L) => {
3079
+ return f.forEach((j, L) => {
3079
3080
  var N, P;
3080
- if (w += ((N = O.lBracket) == null ? void 0 : N.length) || 0, C.set(L, w), w -= ((P = O.rBracket) == null ? void 0 : P.length) || 0, w < 0)
3081
+ if (w += ((N = j.lBracket) == null ? void 0 : N.length) || 0, C.set(L, w), w -= ((P = j.rBracket) == null ? void 0 : P.length) || 0, w < 0)
3081
3082
  throw new Error("The right bracket is out of range.");
3082
3083
  }), C;
3083
3084
  }
3084
- function d(f, C, w, O, L) {
3085
+ function d(f, C, w, j, L) {
3085
3086
  for (let N = 0; N < C; N++) {
3086
3087
  const P = f + (N + 1), Y = r(L, P);
3087
- w.children.push(Y), n.set(Y.groupId, w), w = w.children[w.children.length - 1], O.push(w);
3088
+ w.children.push(Y), n.set(Y.groupId, w), w = w.children[w.children.length - 1], j.push(w);
3088
3089
  }
3089
3090
  return w;
3090
3091
  }
3091
- function s(f, C, w, O, L) {
3092
+ function s(f, C, w, j, L) {
3092
3093
  for (let y = C; y <= 0; y++)
3093
- O.pop();
3094
- const N = O[O.length - 1];
3094
+ j.pop();
3095
+ const N = j[j.length - 1];
3095
3096
  if (!N)
3096
3097
  throw new Error("The group path is out of range");
3097
3098
  const P = f + C, Y = r(L, P);
3098
- return N.children.push(Y), n.set(Y.groupId, N), w = N.children[N.children.length - 1], O.push(w), w;
3099
+ return N.children.push(Y), n.set(Y.groupId, N), w = N.children[N.children.length - 1], j.push(w), w;
3099
3100
  }
3100
- function p(f, C, w, O) {
3101
+ function p(f, C, w, j) {
3101
3102
  w.pop();
3102
- const L = w[w.length - 1], N = r(O, f);
3103
+ const L = w[w.length - 1], N = r(j, f);
3103
3104
  return L.children.push(N), n.set(N.groupId, L), C = L.children[L.children.length - 1], w.push(C), C;
3104
3105
  }
3105
- function m(f, C, w, O, L, N) {
3106
+ function m(f, C, w, j, L, N) {
3106
3107
  let P = f[f.length - 1];
3107
3108
  if (!P)
3108
3109
  throw new Error("The group path is out of range");
3109
- const Y = C.get(O) || 0, y = C.get(w) || 0;
3110
- if (w < 0 || w === O)
3110
+ const Y = C.get(j) || 0, y = C.get(w) || 0;
3111
+ if (w < 0 || w === j)
3111
3112
  return f[f.length - 1];
3112
3113
  const g = Y - y, V = L && L.relation !== void 0 ? L.relation : 1;
3113
3114
  return P = g > 0 ? d(y, g, P, f, V) : P, P = g < 0 ? s(y, g, P, f, V) : P, P = g === 0 && y > 0 && Y > 0 && L && N && !!L.rBracket && !!N.lBracket ? p(y, P, f, V) : P, P;
3114
3115
  }
3115
3116
  function v(f) {
3116
- const w = { relation: f.length && f[0].relation !== void 0 ? f[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, O = [w], L = i(f);
3117
+ const w = { relation: f.length && f[0].relation !== void 0 ? f[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, j = [w], L = i(f);
3117
3118
  return f.forEach((N, P) => {
3118
- const Y = P - 1, y = f[Y], g = m(O, L, Y, P, y, N);
3119
+ const Y = P - 1, y = f[Y], g = m(j, L, Y, P, y, N);
3119
3120
  g.items.push(N), e.set(N.conditionId, g);
3120
3121
  }), t.value = w, w;
3121
3122
  }
@@ -3123,16 +3124,16 @@ function Ba() {
3123
3124
  const f = a();
3124
3125
  e.set(f.conditionId, t.value), t.value.items.push(f);
3125
3126
  }
3126
- function j(f) {
3127
+ function O(f) {
3127
3128
  if (!f)
3128
3129
  return;
3129
3130
  const C = e.get(f.conditionId);
3130
3131
  if (C) {
3131
- const w = C.items.findIndex((L) => L.conditionId === f.conditionId) + 1, O = a();
3132
- e.set(O.conditionId, C), C.items.splice(w, 0, O), l();
3132
+ const w = C.items.findIndex((L) => L.conditionId === f.conditionId) + 1, j = a();
3133
+ e.set(j.conditionId, C), C.items.splice(w, 0, j), l();
3133
3134
  }
3134
3135
  }
3135
- function H(f, C, w, O) {
3136
+ function H(f, C, w, j) {
3136
3137
  f.reduce((L, N) => {
3137
3138
  const P = N.conditionId !== void 0, Y = N.groupId !== void 0;
3138
3139
  if (P) {
@@ -3141,35 +3142,35 @@ function Ba() {
3141
3142
  }
3142
3143
  if (Y) {
3143
3144
  const y = N;
3144
- O.push(y), L.groups.set(y.groupId, y);
3145
+ j.push(y), L.groups.set(y.groupId, y);
3145
3146
  }
3146
3147
  return L;
3147
3148
  }, C);
3148
3149
  }
3149
- function $(f, C, w, O, L) {
3150
- f && (f.items = C.length ? f.items.filter((N) => !w.has(N.conditionId)) : f.items, f.children = O.length ? f.children.filter((N) => !L.has(N.groupId)) : f.children);
3150
+ function $(f, C, w, j, L) {
3151
+ f && (f.items = C.length ? f.items.filter((N) => !w.has(N.conditionId)) : f.items, f.children = j.length ? f.children.filter((N) => !L.has(N.groupId)) : f.children);
3151
3152
  }
3152
3153
  function h(f, C, w) {
3153
- C.forEach((O) => {
3154
- f.items.push(O), e.set(O.conditionId, f);
3155
- }), w.forEach((O) => {
3156
- f.children.push(O), n.set(O.groupId, f);
3154
+ C.forEach((j) => {
3155
+ f.items.push(j), e.set(j.conditionId, f);
3156
+ }), w.forEach((j) => {
3157
+ f.children.push(j), n.set(j.groupId, f);
3157
3158
  });
3158
3159
  }
3159
3160
  function b(f) {
3160
- const C = f[0], w = C.conditionId !== void 0 ? e.get(C.conditionId) : n.get(C.groupId), O = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, L = [], N = [];
3161
+ const C = f[0], w = C.conditionId !== void 0 ? e.get(C.conditionId) : n.get(C.groupId), j = { items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Map() }, L = [], N = [];
3161
3162
  if (w) {
3162
- H(f, O, L, N), $(w, L, O.items, N, O.groups);
3163
+ H(f, j, L, N), $(w, L, j.items, N, j.groups);
3163
3164
  const P = r(w.relation, w.level + 1);
3164
3165
  h(P, L, N), w.children.push(P), n.set(P.groupId, w), l();
3165
3166
  }
3166
3167
  }
3167
3168
  function I(f) {
3168
- const C = [...f.items], w = [...f.children], O = n.get(f.groupId);
3169
- O && (O.children = O.children.filter((L) => L.groupId !== f.groupId), n.delete(f.groupId), C.forEach((L) => {
3170
- O.items.push(L), e.set(L.conditionId, O);
3169
+ const C = [...f.items], w = [...f.children], j = n.get(f.groupId);
3170
+ j && (j.children = j.children.filter((L) => L.groupId !== f.groupId), n.delete(f.groupId), C.forEach((L) => {
3171
+ j.items.push(L), e.set(L.conditionId, j);
3171
3172
  }), w.forEach((L) => {
3172
- O.children.push(L), n.set(L.groupId, O);
3173
+ j.children.push(L), n.set(L.groupId, j);
3173
3174
  }), l());
3174
3175
  }
3175
3176
  function G(f) {
@@ -3178,14 +3179,14 @@ function Ba() {
3178
3179
  let U;
3179
3180
  function X(f) {
3180
3181
  const { relation: C } = f;
3181
- return (f.children && f.children.length ? f.children.map((O, L, N) => {
3182
- const P = U(O);
3182
+ return (f.children && f.children.length ? f.children.map((j, L, N) => {
3183
+ const P = U(j);
3183
3184
  return P[0].lBracket = (P[0].lBracket || "") + "(", P[P.length - 1].rBracket = (P[P.length - 1].rBracket || "") + ")", P[P.length - 1].relation = L < N.length - 1 ? C : 0, P;
3184
3185
  }) : []).flat();
3185
3186
  }
3186
3187
  U = (f = t.value) => {
3187
- const { relation: C } = f, w = f.items.map((L, N, P) => (L.lBracket = N === 0 ? "(" : "", L.rBracket = N === P.length - 1 ? ")" : "", L.relation = N < P.length - 1 ? C || 1 : 0, L)), O = X(f);
3188
- return [...w, ...O];
3188
+ const { relation: C } = f, w = f.items.map((L, N, P) => (L.lBracket = N === 0 ? "(" : "", L.rBracket = N === P.length - 1 ? ")" : "", L.relation = N < P.length - 1 ? C || 1 : 0, L)), j = X(f);
3189
+ return [...w, ...j];
3189
3190
  };
3190
3191
  function x(f) {
3191
3192
  const C = f || t.value;
@@ -3207,7 +3208,7 @@ function Ba() {
3207
3208
  getConditions: U,
3208
3209
  group: b,
3209
3210
  groupParentMap: n,
3210
- insertConditionTo: j,
3211
+ insertConditionTo: O,
3211
3212
  loadConditionGroup: v,
3212
3213
  refresh: l,
3213
3214
  removeCondition: D,
@@ -3246,7 +3247,7 @@ function Fa(t, e, n) {
3246
3247
  I && a.value.has(I.groupId) && k(I);
3247
3248
  }
3248
3249
  };
3249
- function j(h) {
3250
+ function O(h) {
3250
3251
  const { conditionId: b } = h;
3251
3252
  o.value.size === 0 && (i = r.get(b)), o.value.has(b) ? d(h) : m(h);
3252
3253
  }
@@ -3257,7 +3258,7 @@ function Fa(t, e, n) {
3257
3258
  function $() {
3258
3259
  o.value.clear(), a.value.clear();
3259
3260
  }
3260
- return { clear: $, getSelectedGroupItem: H, selectedItems: o, toggleSelect: j };
3261
+ return { clear: $, getSelectedGroupItem: H, selectedItems: o, toggleSelect: O };
3261
3262
  }
3262
3263
  const fe = /* @__PURE__ */ ee({
3263
3264
  name: "FConditionList",
@@ -3274,7 +3275,7 @@ const fe = /* @__PURE__ */ ee({
3274
3275
  changeGroupRelation: m,
3275
3276
  getConditions: v,
3276
3277
  group: k,
3277
- insertConditionTo: j,
3278
+ insertConditionTo: O,
3278
3279
  loadConditionGroup: H,
3279
3280
  refresh: $,
3280
3281
  removeCondition: h,
@@ -3304,7 +3305,7 @@ const fe = /* @__PURE__ */ ee({
3304
3305
  e.expose({
3305
3306
  getConditions: v
3306
3307
  });
3307
- function O(g, V) {
3308
+ function j(g, V) {
3308
3309
  e.emit("valueChange", g, V);
3309
3310
  }
3310
3311
  function L(g) {
@@ -3341,13 +3342,13 @@ const fe = /* @__PURE__ */ ee({
3341
3342
  modelValue: V.value.value,
3342
3343
  "onUpdate:modelValue": (q) => V.value.value = q,
3343
3344
  onChange: (q) => {
3344
- O(q, V);
3345
+ j(q, V);
3345
3346
  }
3346
3347
  }, null)]), c("div", {
3347
3348
  class: "condition-list-item-extend"
3348
3349
  }, [c("span", {
3349
3350
  class: "f-icon f-icon-plus-sm mr-2",
3350
- onClick: () => j(V)
3351
+ onClick: () => O(V)
3351
3352
  }, null), c("span", {
3352
3353
  class: "f-icon f-icon-minus-sm",
3353
3354
  onClick: () => h(V)