@farris/ui-vue 1.6.5-beta.8 → 1.6.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 (121) hide show
  1. package/components/avatar/index.esm.js +334 -334
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +4 -4
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/combo-list/index.esm.js +136 -133
  6. package/components/combo-list/index.umd.cjs +1 -1
  7. package/components/component/index.esm.js +300 -300
  8. package/components/component/index.umd.cjs +1 -1
  9. package/components/condition/index.esm.js +4 -4
  10. package/components/condition/index.umd.cjs +1 -1
  11. package/components/content-container/index.esm.js +295 -295
  12. package/components/content-container/index.umd.cjs +1 -1
  13. package/components/data-grid/index.esm.js +99 -99
  14. package/components/data-grid/index.umd.cjs +1 -1
  15. package/components/data-view/index.esm.js +3416 -3350
  16. package/components/data-view/index.umd.cjs +1 -1
  17. package/components/designer-canvas/index.esm.js +4 -4
  18. package/components/designer-canvas/index.umd.cjs +1 -1
  19. package/components/dynamic-form/index.esm.js +170 -170
  20. package/components/dynamic-form/index.umd.cjs +1 -1
  21. package/components/events-editor/index.esm.js +637 -637
  22. package/components/events-editor/index.umd.cjs +3 -3
  23. package/components/expression-editor/index.esm.js +699 -696
  24. package/components/expression-editor/index.umd.cjs +4 -4
  25. package/components/filter-bar/index.esm.js +446 -446
  26. package/components/filter-bar/index.umd.cjs +1 -1
  27. package/components/filter-condition-editor/index.esm.js +377 -374
  28. package/components/filter-condition-editor/index.umd.cjs +2 -2
  29. package/components/flow-canvas/index.esm.js +204 -204
  30. package/components/flow-canvas/index.umd.cjs +1 -1
  31. package/components/list-view/index.esm.js +42 -40
  32. package/components/list-view/index.umd.cjs +2 -2
  33. package/components/mapping-editor/index.esm.js +427 -427
  34. package/components/mapping-editor/index.umd.cjs +1 -1
  35. package/components/message-box/index.esm.js +212 -212
  36. package/components/message-box/index.umd.cjs +1 -1
  37. package/components/modal/index.esm.js +276 -276
  38. package/components/modal/index.umd.cjs +1 -1
  39. package/components/number-range/index.esm.js +160 -160
  40. package/components/number-range/index.umd.cjs +1 -1
  41. package/components/number-spinner/index.esm.js +314 -314
  42. package/components/number-spinner/index.umd.cjs +1 -1
  43. package/components/order/index.esm.js +468 -463
  44. package/components/order/index.umd.cjs +2 -2
  45. package/components/popover/index.esm.js +58 -56
  46. package/components/popover/index.umd.cjs +1 -1
  47. package/components/property-panel/index.esm.js +215 -215
  48. package/components/property-panel/index.umd.cjs +2 -2
  49. package/components/query-solution/index.esm.js +4 -4
  50. package/components/query-solution/index.umd.cjs +1 -1
  51. package/components/response-layout/index.esm.js +282 -282
  52. package/components/response-layout/index.umd.cjs +1 -1
  53. package/components/response-layout-editor/index.esm.js +944 -941
  54. package/components/response-layout-editor/index.umd.cjs +1 -1
  55. package/components/schema-selector/index.esm.js +498 -492
  56. package/components/schema-selector/index.umd.cjs +6 -6
  57. package/components/search-box/index.esm.js +76 -72
  58. package/components/search-box/index.umd.cjs +1 -1
  59. package/components/section/index.esm.js +211 -211
  60. package/components/section/index.umd.cjs +1 -1
  61. package/components/sort-condition-editor/index.esm.js +377 -374
  62. package/components/sort-condition-editor/index.umd.cjs +2 -2
  63. package/components/switch/index.esm.js +78 -77
  64. package/components/switch/index.umd.cjs +1 -1
  65. package/components/tabs/index.esm.js +579 -579
  66. package/components/tabs/index.umd.cjs +2 -2
  67. package/components/textarea/index.esm.js +362 -362
  68. package/components/textarea/index.umd.cjs +2 -2
  69. package/components/time-picker/index.css +1 -0
  70. package/components/time-picker/index.esm.js +9799 -0
  71. package/components/time-picker/index.umd.cjs +1 -0
  72. package/components/time-picker/package.json +8 -0
  73. package/components/time-picker/style.js +6 -0
  74. package/components/transfer/index.esm.js +81 -79
  75. package/components/transfer/index.umd.cjs +2 -2
  76. package/components/tree-grid/index.esm.js +100 -100
  77. package/components/tree-grid/index.umd.cjs +1 -1
  78. package/components/tree-view/index.esm.js +2361 -2279
  79. package/components/tree-view/index.umd.cjs +1 -1
  80. package/components/video/index.esm.js +219 -219
  81. package/components/video/index.umd.cjs +1 -1
  82. package/designer/button-edit/index.css +1 -0
  83. package/designer/button-edit/index.esm.js +4856 -0
  84. package/designer/button-edit/index.umd.cjs +1 -0
  85. package/designer/checkbox/index.esm.js +254 -0
  86. package/designer/checkbox/index.umd.cjs +1 -0
  87. package/designer/checkbox-group/index.esm.js +382 -0
  88. package/designer/checkbox-group/index.umd.cjs +1 -0
  89. package/designer/data-grid/index.css +1 -0
  90. package/designer/data-grid/index.esm.js +15439 -0
  91. package/designer/data-grid/index.umd.cjs +23 -0
  92. package/designer/data-view/index.esm.js +854 -0
  93. package/designer/data-view/index.umd.cjs +38 -0
  94. package/designer/drawer/index.css +1 -0
  95. package/designer/drawer/index.esm.js +525 -0
  96. package/designer/drawer/index.umd.cjs +1 -0
  97. package/designer/farris-designer.all.esm.js +22330 -0
  98. package/designer/farris-designer.all.umd.cjs +34 -0
  99. package/designer/index.css +1 -0
  100. package/designer/input-group/index.esm.js +1098 -0
  101. package/designer/input-group/index.umd.cjs +1 -0
  102. package/designer/list-view/index.css +1 -0
  103. package/designer/list-view/index.esm.js +4689 -0
  104. package/designer/list-view/index.umd.cjs +40 -0
  105. package/designer/radio-group/index.css +1 -0
  106. package/designer/radio-group/index.esm.js +6985 -0
  107. package/designer/radio-group/index.umd.cjs +1 -0
  108. package/designer/tree-grid/index.esm.js +1099 -0
  109. package/designer/tree-grid/index.umd.cjs +1 -0
  110. package/farris.all.esm.js +9619 -9535
  111. package/farris.all.umd.cjs +24 -24
  112. package/locales/data-grid/ui/en.json +2 -2
  113. package/locales/designer/en.json +7 -6
  114. package/locales/designer/zh-CHS.json +2 -1
  115. package/locales/designer/zh-CHT.json +2 -1
  116. package/locales/ui/en.json +7 -6
  117. package/locales/ui/zh-CHS.json +2 -1
  118. package/locales/ui/zh-CHT.json +2 -1
  119. package/package.json +1 -1
  120. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  121. package/types/data-view/composition/types.d.ts +10 -4
@@ -92,17 +92,17 @@ import "bignumber.js";
92
92
  function hn(n, e) {
93
93
  let t;
94
94
  function o(d) {
95
- const { properties: m, title: v, ignore: f } = d, p = f && Array.isArray(f), y = Object.keys(m).reduce((C, V) => ((!p || !f.find((N) => N === V)) && (C[V] = m[V].type === "object" && m[V].properties ? o(m[V]) : Re(m[V].default)), C), {});
96
- if (v && (!p || !f.find((C) => C === "id"))) {
97
- const C = v.toLowerCase().replace(/-/g, "_");
98
- y.id = `${C}_${Math.random().toString().slice(2, 6)}`;
95
+ const { properties: m, title: v, ignore: f } = d, p = f && Array.isArray(f), y = Object.keys(m).reduce((S, V) => ((!p || !f.find((N) => N === V)) && (S[V] = m[V].type === "object" && m[V].properties ? o(m[V]) : Re(m[V].default)), S), {});
96
+ if (v && (!p || !f.find((S) => S === "id"))) {
97
+ const S = v.toLowerCase().replace(/-/g, "_");
98
+ y.id = `${S}_${Math.random().toString().slice(2, 6)}`;
99
99
  }
100
100
  return y;
101
101
  }
102
102
  function i(d) {
103
103
  const { properties: m, title: v, required: f } = d;
104
104
  if (f && Array.isArray(f)) {
105
- const p = f.reduce((y, C) => (y[C] = m[C].type === "object" && m[C].properties ? o(m[C]) : Re(m[C].default), y), {});
105
+ const p = f.reduce((y, S) => (y[S] = m[S].type === "object" && m[S].properties ? o(m[S]) : Re(m[S].default), y), {});
106
106
  if (v && f.find((y) => y === "id")) {
107
107
  const y = v.toLowerCase().replace(/-/g, "_");
108
108
  p.id = `${y}_${Math.random().toString().slice(2, 6)}`;
@@ -133,8 +133,8 @@ function hn(n, e) {
133
133
  if (typeof y == "string")
134
134
  f[y] = d[p];
135
135
  else {
136
- const C = y(p, d[p], d);
137
- Object.assign(f, C);
136
+ const S = y(p, d[p], d);
137
+ Object.assign(f, S);
138
138
  }
139
139
  } else
140
140
  f[p] = d[p];
@@ -154,7 +154,7 @@ function hn(n, e) {
154
154
  return d;
155
155
  const p = r(d, f), y = ((v = d.editor) == null ? void 0 : v.type) || "";
156
156
  if (y) {
157
- const C = n[y], V = r(d.editor, C);
157
+ const S = n[y], V = r(d.editor, S);
158
158
  p.editor = V;
159
159
  }
160
160
  return p;
@@ -216,8 +216,8 @@ function fr(n = {}) {
216
216
  return a(s).reduce((v, f) => v && r(f, u), !0);
217
217
  }
218
218
  function l(s, u) {
219
- const d = Object.keys(s), m = d.includes("allOf"), v = d.includes("anyOf"), f = m || v, C = (f ? s[f ? m ? "allOf" : "anyOf" : "allOf"] : [s]).map((N) => c(N, u));
220
- return m ? !C.includes(!1) : C.includes(!0);
219
+ const d = Object.keys(s), m = d.includes("allOf"), v = d.includes("anyOf"), f = m || v, S = (f ? s[f ? m ? "allOf" : "anyOf" : "allOf"] : [s]).map((N) => c(N, u));
220
+ return m ? !S.includes(!1) : S.includes(!0);
221
221
  }
222
222
  return { parseValueSchema: l };
223
223
  }
@@ -523,11 +523,11 @@ function yn(n, e, t) {
523
523
  const y = f.$converter || p;
524
524
  return typeof y == "string" && y && o.has(y) ? o.get(y) || null : y || null;
525
525
  }
526
- function u(f, p, y, C, V, N = "", M = "") {
526
+ function u(f, p, y, S, V, N = "", M = "") {
527
527
  return Object.keys(f).map((w) => {
528
- const P = T(1), h = w, x = f[w], E = Object.keys(x), S = x.title, F = x.type, I = i.get(F) || { type: "input-group", enableClear: !1 }, B = x.editor ? Object.assign({}, I, x.editor) : Object.assign({}, I), O = c(E, x, p), H = l(E, x, p);
528
+ const P = T(1), h = w, x = f[w], E = Object.keys(x), C = x.title, F = x.type, I = i.get(F) || { type: "input-group", enableClear: !1 }, B = x.editor ? Object.assign({}, I, x.editor) : Object.assign({}, I), O = c(E, x, p), H = l(E, x, p);
529
529
  B.readonly = B.readonly === void 0 ? H() : B.readonly;
530
- const Q = x.type === "cascade" ? u(x.properties, p, y, C, V, N, M) : [], j = !0;
530
+ const Q = x.type === "cascade" ? u(x.properties, p, y, S, V, N, M) : [], j = !0;
531
531
  let D = s(x, M);
532
532
  const X = W({
533
533
  get() {
@@ -540,44 +540,44 @@ function yn(n, e, t) {
540
540
  return null;
541
541
  },
542
542
  set(ue) {
543
- P.value += 1, D && D.convertTo ? (D.convertTo(C, w, ue, V, N), D.convertTo(y, w, ue, V, N)) : (C[w] = ue, y[w] = ue);
543
+ P.value += 1, D && D.convertTo ? (D.convertTo(S, w, ue, V, N), D.convertTo(y, w, ue, V, N)) : (S[w] = ue, y[w] = ue);
544
544
  }
545
- }), { refreshPanelAfterChanged: q, description: K, isExpand: ce, parentPropertyID: de } = x, ee = { propertyID: h, propertyName: S, propertyType: F, propertyValue: X, editor: B, visible: O, readonly: H, cascadeConfig: Q, hideCascadeTitle: j, refreshPanelAfterChanged: q, description: K, isExpand: ce, parentPropertyID: de };
545
+ }), { refreshPanelAfterChanged: q, description: K, isExpand: ce, parentPropertyID: de } = x, ee = { propertyID: h, propertyName: C, propertyType: F, propertyValue: X, editor: B, visible: O, readonly: H, cascadeConfig: Q, hideCascadeTitle: j, refreshPanelAfterChanged: q, description: K, isExpand: ce, parentPropertyID: de };
546
546
  return p[h] = ee, ee;
547
547
  });
548
548
  }
549
549
  function d(f, p, y = {}) {
550
- const C = {}, V = n[f];
550
+ const S = {}, V = n[f];
551
551
  return V && V.categories ? Object.keys(V.categories).map((M) => {
552
- const b = V.categories[M], w = b == null ? void 0 : b.title, P = u(b.properties || {}, C, {}, y, p);
552
+ const b = V.categories[M], w = b == null ? void 0 : b.title, P = u(b.properties || {}, S, {}, y, p);
553
553
  return { categoryId: M, categoryName: w, properties: P };
554
554
  }) : [];
555
555
  }
556
- function m(f, p, y, C, V = "") {
556
+ function m(f, p, y, S, V = "") {
557
557
  const N = p.$ref.schema, M = p.$ref.converter, b = y[N], w = b.type, P = t(b), h = {}, x = n[w];
558
558
  if (x && x.categories) {
559
- const E = x.categories[f], S = E == null ? void 0 : E.title;
559
+ const E = x.categories[f], C = E == null ? void 0 : E.title;
560
560
  M && Object.keys(E.properties).forEach((B) => {
561
561
  E.properties[B].$converter = M;
562
562
  });
563
- const F = (E == null ? void 0 : E.properties) || {}, I = u(F, h, P, b, C, V);
564
- return { categoryId: f, categoryName: S, properties: I };
563
+ const F = (E == null ? void 0 : E.properties) || {}, I = u(F, h, P, b, S, V);
564
+ return { categoryId: f, categoryName: C, properties: I };
565
565
  }
566
566
  return { categoryId: f, categoryName: "", properties: [] };
567
567
  }
568
- function v(f, p, y, C, V) {
568
+ function v(f, p, y, S, V) {
569
569
  const N = f.type, M = t(f), b = {};
570
570
  let w = V || n[N];
571
- if (w && Object.keys(w).length === 0 && y && y.getPropConfig && (w = y.getPropConfig(C)), w && w.categories) {
571
+ if (w && Object.keys(w).length === 0 && y && y.getPropConfig && (w = y.getPropConfig(S)), w && w.categories) {
572
572
  const P = [];
573
573
  return Object.keys(w.categories).map((h) => {
574
574
  const x = w.categories[h];
575
575
  if (x.$ref) {
576
- P.push(m(h, x, f, p, C));
576
+ P.push(m(h, x, f, p, S));
577
577
  return;
578
578
  }
579
- const E = x == null ? void 0 : x.title, S = x == null ? void 0 : x.tabId, F = x == null ? void 0 : x.tabName, I = x == null ? void 0 : x.hide, B = x == null ? void 0 : x.hideTitle, O = u(x.properties || {}, b, M, f, p, C, x.$converter), { setPropertyRelates: H } = x, Q = x == null ? void 0 : x.parentPropertyID;
580
- P.push({ categoryId: h, categoryName: E, tabId: S, tabName: F, hide: I, properties: O, hideTitle: B, setPropertyRelates: H, parentPropertyID: Q });
579
+ const E = x == null ? void 0 : x.title, C = x == null ? void 0 : x.tabId, F = x == null ? void 0 : x.tabName, I = x == null ? void 0 : x.hide, B = x == null ? void 0 : x.hideTitle, O = u(x.properties || {}, b, M, f, p, S, x.$converter), { setPropertyRelates: H } = x, Q = x == null ? void 0 : x.parentPropertyID;
580
+ P.push({ categoryId: h, categoryName: E, tabId: C, tabName: F, hide: I, properties: O, hideTitle: B, setPropertyRelates: H, parentPropertyID: Q });
581
581
  }), P;
582
582
  }
583
583
  return [];
@@ -805,25 +805,25 @@ const $t = /* @__PURE__ */ Me({
805
805
  width: n.width,
806
806
  height: n.height,
807
807
  poster: n.poster,
808
- onAbort: (C) => o(C),
809
- onPlay: (C) => i(C),
810
- onPause: (C) => a(C),
811
- onEnded: (C) => r(C),
812
- onDurationchange: (C) => c(C),
813
- onError: (C) => l(C),
814
- onLoadeddata: (C) => s(C),
815
- onLoadedmetadata: (C) => u(C),
816
- onLoadstart: (C) => d(C),
817
- onPlaying: (C) => m(C),
818
- onProgress: (C) => v(C),
819
- onTimeupdate: (C) => f(C),
820
- onVolumechange: (C) => p(C),
821
- onCanplay: (C) => y(C)
808
+ onAbort: (S) => o(S),
809
+ onPlay: (S) => i(S),
810
+ onPause: (S) => a(S),
811
+ onEnded: (S) => r(S),
812
+ onDurationchange: (S) => c(S),
813
+ onError: (S) => l(S),
814
+ onLoadeddata: (S) => s(S),
815
+ onLoadedmetadata: (S) => u(S),
816
+ onLoadstart: (S) => d(S),
817
+ onPlaying: (S) => m(S),
818
+ onProgress: (S) => v(S),
819
+ onTimeupdate: (S) => f(S),
820
+ onVolumechange: (S) => p(S),
821
+ onCanplay: (S) => y(S)
822
822
  }, [se("Your browser does not support the video tag.")]);
823
823
  }
824
824
  });
825
825
  function Qr(n, e, t) {
826
- var S;
826
+ var C;
827
827
  const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", a = T();
828
828
  let r;
829
829
  function c() {
@@ -868,7 +868,7 @@ function Qr(n, e, t) {
868
868
  var B;
869
869
  !F || !I || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(F, I), (B = e == null ? void 0 : e.setupContext) == null || B.emit("dragEnd"));
870
870
  }
871
- function C(F, I) {
871
+ function S(F, I) {
872
872
  const { componentType: B } = F;
873
873
  let O = Zn(B, F, I);
874
874
  t && t.onResolveNewComponentSchema && (O = t.onResolveNewComponentSchema(F, O));
@@ -957,7 +957,7 @@ function Qr(n, e, t) {
957
957
  canNested: !u(),
958
958
  contents: e == null ? void 0 : e.schema.contents,
959
959
  elementRef: n,
960
- parent: (S = e == null ? void 0 : e.parent) == null ? void 0 : S.componentInstance,
960
+ parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
961
961
  schema: e == null ? void 0 : e.schema,
962
962
  styles: o,
963
963
  designerClass: i,
@@ -969,7 +969,7 @@ function Qr(n, e, t) {
969
969
  getDragScopeElement: p,
970
970
  onAcceptMovedChildElement: y,
971
971
  onChildElementMovedOut: V,
972
- addNewChildComponentSchema: C,
972
+ addNewChildComponentSchema: S,
973
973
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || T(!1),
974
974
  triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || T(!1),
975
975
  onRemoveComponent: w,
@@ -1066,8 +1066,8 @@ class Zr {
1066
1066
  return !i;
1067
1067
  }
1068
1068
  getComponentContext(e) {
1069
- var p, y, C, V;
1070
- const t = e.schema, o = t.appearance && t.appearance.class || "", i = o.split(" ") || [], a = t.contents || [], r = a.length ? a[0] : null, c = r && r.appearance ? r.appearance.class : "", l = c ? c.split(" ") : [], s = (p = r == null ? void 0 : r.contents) != null && p.length ? r == null ? void 0 : r.contents[0] : null, u = s && s.appearance ? s.appearance.class : "", d = u ? u.split(" ") : [], m = t.type === "component" ? (C = (y = e.parent) == null ? void 0 : y.parent) == null ? void 0 : C.schema : (V = e.parent) == null ? void 0 : V.schema, v = m && m.appearance && m.appearance.class || "", f = v ? v.split(" ") : [];
1069
+ var p, y, S, V;
1070
+ const t = e.schema, o = t.appearance && t.appearance.class || "", i = o.split(" ") || [], a = t.contents || [], r = a.length ? a[0] : null, c = r && r.appearance ? r.appearance.class : "", l = c ? c.split(" ") : [], s = (p = r == null ? void 0 : r.contents) != null && p.length ? r == null ? void 0 : r.contents[0] : null, u = s && s.appearance ? s.appearance.class : "", d = u ? u.split(" ") : [], m = t.type === "component" ? (S = (y = e.parent) == null ? void 0 : y.parent) == null ? void 0 : S.schema : (V = e.parent) == null ? void 0 : V.schema, v = m && m.appearance && m.appearance.class || "", f = v ? v.split(" ") : [];
1071
1071
  return {
1072
1072
  componentClass: o,
1073
1073
  componentClassList: i,
@@ -1800,7 +1800,7 @@ const ia = {
1800
1800
  e.emit("close", r.value);
1801
1801
  }, 200);
1802
1802
  }
1803
- function C(M, b) {
1803
+ function S(M, b) {
1804
1804
  }
1805
1805
  function V(M) {
1806
1806
  return `f-preten-link ${M.customClass ? M.customClass : ""}`;
@@ -2188,7 +2188,7 @@ const sa = {
2188
2188
  };
2189
2189
  function ca(n, e, t, o, i, a, r, c, l, s, u, d, m, v, f, p, y) {
2190
2190
  const {
2191
- calculateCellPositionInRow: C
2191
+ calculateCellPositionInRow: S
2192
2192
  } = a, {
2193
2193
  columnContext: V,
2194
2194
  hasLeftFixedColumn: N,
@@ -2201,10 +2201,10 @@ function ca(n, e, t, o, i, a, r, c, l, s, u, d, m, v, f, p, y) {
2201
2201
  renderDataRow: h
2202
2202
  } = oo(n, e, V, y, c, l, s, u, d, m, v, f, p), x = [h];
2203
2203
  function E(O, H) {
2204
- const Q = C(O);
2204
+ const Q = S(O);
2205
2205
  return y.value.filter((j) => j.visible !== !1).map((j, D) => x[j.type](j, Q, H, D));
2206
2206
  }
2207
- function S() {
2207
+ function C() {
2208
2208
  return g("div", {
2209
2209
  ref: o,
2210
2210
  class: "fv-grid-content-left-fixed"
@@ -2233,7 +2233,7 @@ function ca(n, e, t, o, i, a, r, c, l, s, u, d, m, v, f, p, y) {
2233
2233
  }
2234
2234
  function B() {
2235
2235
  const O = [];
2236
- return N.value && O.push(S()), O.push(F()), M.value && O.push(I()), O;
2236
+ return N.value && O.push(C()), O.push(F()), M.value && O.push(I()), O;
2237
2237
  }
2238
2238
  return {
2239
2239
  renderDataArea: B
@@ -2247,17 +2247,17 @@ const zt = /* @__PURE__ */ Me({
2247
2247
  var Zt, Kt;
2248
2248
  const o = ((Zt = n.rowOption) == null ? void 0 : Zt.height) || 28, i = T(20), a = T(n.columns), r = io(n), {
2249
2249
  idField: c
2250
- } = r, l = T(), s = T(), u = T(), d = T(), m = T(), v = T([]), f = T(!1), p = T(((Kt = n.rowOption) == null ? void 0 : Kt.wrapContent) || !1), y = ro(n, r), C = ao(n, e), V = lo(n), {
2250
+ } = r, l = T(), s = T(), u = T(), d = T(), m = T(), v = T([]), f = T(!1), p = T(((Kt = n.rowOption) == null ? void 0 : Kt.wrapContent) || !1), y = ro(n, r), S = ao(n, e), V = lo(n), {
2251
2251
  collapseField: N
2252
2252
  } = V, {
2253
2253
  showLoading: M,
2254
2254
  renderLoading: b
2255
- } = so(n, l), w = co(n, /* @__PURE__ */ new Map(), C, V, r), {
2255
+ } = so(n, l), w = co(n, /* @__PURE__ */ new Map(), S, V, r), {
2256
2256
  dataView: P
2257
2257
  } = w, h = uo(n, w, r, v, e), {
2258
2258
  showSelection: x,
2259
2259
  selectedValues: E
2260
- } = h, S = fo(n, v, w, r, h, e), F = W(() => n.disabled), I = W(() => n.virtualized ? Math.min(w.dataView.value.length, i.value) : w.dataView.value.length), B = po(n, w), {
2260
+ } = h, C = fo(n, v, w, r, h, e), F = W(() => n.disabled), I = W(() => n.virtualized ? Math.min(w.dataView.value.length, i.value) : w.dataView.value.length), B = po(n, w), {
2261
2261
  shouldRenderPagination: O
2262
2262
  } = B, {
2263
2263
  containerStyleObject: H
@@ -2303,11 +2303,11 @@ const zt = /* @__PURE__ */ Me({
2303
2303
  "fv-grid-wrap-content": p.value
2304
2304
  })), {
2305
2305
  renderDataArea: me
2306
- } = ca(n, e, u, d, m, et, q, w, ae, V, ve, h, S, pe, Le, J, v), {
2306
+ } = ca(n, e, u, d, m, et, q, w, ae, V, ve, h, C, pe, Le, J, v), {
2307
2307
  renderGridHeader: he,
2308
2308
  renderGridColumnResizeOverlay: De,
2309
2309
  shouldShowHeader: xt
2310
- } = Oo(n, e, s, d, m, q, w, ot, nt, C, ze, Ye, ue, h, We, K, pe, Ie, v), {
2310
+ } = Oo(n, e, s, d, m, q, w, ot, nt, S, ze, Ye, ue, h, We, K, pe, Ie, v), {
2311
2311
  renderDataGridSidebar: Et
2312
2312
  } = No(n, ve, h, We, pe), {
2313
2313
  renderDisableMask: Mt
@@ -2354,8 +2354,8 @@ const zt = /* @__PURE__ */ Me({
2354
2354
  w.insertNewChildDataItems(Y, Se);
2355
2355
  }
2356
2356
  function Dt() {
2357
- const Y = ut(), te = S.getNextSelectableHierarchyItemId(Y);
2358
- w.removeHierarchyDataItem(Y), v.value = ke(0, I.value + 0 - 1), te && h.selectItemById(te);
2357
+ const Y = ut(), te = C.getNextSelectableHierarchyItemId(Y);
2358
+ w.removeHierarchyDataItem(Y), v.value = ke(0, I.value + 0 - 1), te && C.selectItemById(te);
2359
2359
  }
2360
2360
  function gt(Y) {
2361
2361
  ae.onEditingRow(Y);
@@ -2376,7 +2376,7 @@ const zt = /* @__PURE__ */ Me({
2376
2376
  Y && (w.load(Y), w.reOrderVisibleIndex(), te != null && te.keepScrollPosition ? pe.scrollTo(pe.offsetY.value) : Ue());
2377
2377
  }
2378
2378
  function Z(Y) {
2379
- h.selectItemById(Y);
2379
+ C.selectItemById(Y);
2380
2380
  }
2381
2381
  function ie(Y) {
2382
2382
  const te = v.value.find((ye) => ye.raw[r.idField.value] === Y);
@@ -2386,7 +2386,7 @@ const zt = /* @__PURE__ */ Me({
2386
2386
  ve.activeRowById(Y);
2387
2387
  }
2388
2388
  function Be(Y) {
2389
- h.selectItemByIds(Y);
2389
+ C.selectItemByIds(Y);
2390
2390
  }
2391
2391
  function Te() {
2392
2392
  return h.getSelectedItems();
@@ -2401,7 +2401,7 @@ const zt = /* @__PURE__ */ Me({
2401
2401
  return h.getSelectionRow();
2402
2402
  }
2403
2403
  function xe(Y) {
2404
- h.unSelectItemByIds(Y);
2404
+ C.unSelectItemByIds(Y);
2405
2405
  }
2406
2406
  function Ce() {
2407
2407
  return h.currentSelectedDataId.value;
@@ -2541,10 +2541,10 @@ function Mn(n) {
2541
2541
  }, c = T(!1), l = T(n.componentType);
2542
2542
  function s(p) {
2543
2543
  const y = [];
2544
- return p.forEach((C) => {
2544
+ return p.forEach((S) => {
2545
2545
  let V = [];
2546
- C.type && C.type.fields && C.type.fields.length > 0 && (V = s(C.type.fields));
2547
- const N = Re(C), M = C.multiLanguage ? "多语言" : C.type.displayName, b = V.length ? !1 : !t.has(C.id);
2546
+ S.type && S.type.fields && S.type.fields.length > 0 && (V = s(S.type.fields));
2547
+ const N = Re(S), M = S.multiLanguage ? "多语言" : S.type.displayName, b = V.length ? !1 : !t.has(S.id);
2548
2548
  b && (c.value = !0), y.push({
2549
2549
  data: Object.assign({ displayedTypeName: M, selectable: b }, N),
2550
2550
  children: V
@@ -2567,11 +2567,11 @@ function Mn(n) {
2567
2567
  return;
2568
2568
  let y = u(l.value);
2569
2569
  ["frame", "table", "form"].includes(y) && (y = "form");
2570
- const { formSchemaUtils: C, schemaService: V } = e;
2571
- C.getFormSchema().module.viewmodels.forEach((N) => {
2570
+ const { formSchemaUtils: S, schemaService: V } = e;
2571
+ S.getFormSchema().module.viewmodels.forEach((N) => {
2572
2572
  if (!N.fields || N.fields.length === 0)
2573
2573
  return;
2574
- let b = C.getComponentByViewModelId(N.id).componentType;
2574
+ let b = S.getComponentByViewModelId(N.id).componentType;
2575
2575
  ["frame", "table", "form"].includes(b) && (b = "form");
2576
2576
  const w = V.getTableInfoByViewModelId(N.id);
2577
2577
  b !== y || !w || w.id !== p.id || N.fields.forEach((P) => {
@@ -2616,21 +2616,21 @@ function ua(n) {
2616
2616
  var M;
2617
2617
  if (!f)
2618
2618
  return;
2619
- const y = Re(f), C = p ? `${p}/${y.label}` : "/";
2620
- t.set(y.label, C.replace("//", "/"));
2619
+ const y = Re(f), S = p ? `${p}/${y.label}` : "/";
2620
+ t.set(y.label, S.replace("//", "/"));
2621
2621
  const V = s(y), N = {
2622
2622
  data: Object.assign({ selectable: V }, y),
2623
2623
  children: []
2624
2624
  };
2625
2625
  if (y.type.entities && y.type.entities.length) {
2626
- const b = y.type.entities.map((w) => u(w, C));
2626
+ const b = y.type.entities.map((w) => u(w, S));
2627
2627
  N.children = N.children.concat(b);
2628
2628
  }
2629
2629
  return n.bindingEntityId === f.id && (r.value = f), ((M = r.value) == null ? void 0 : M.id) === f.id && !p && (c.value = !0), N;
2630
2630
  }
2631
2631
  function d() {
2632
- var C;
2633
- const { formSchemaUtils: f } = e, p = (C = f.getFormSchema().module.entity[0]) == null ? void 0 : C.entities[0];
2632
+ var S;
2633
+ const { formSchemaUtils: f } = e, p = (S = f.getFormSchema().module.entity[0]) == null ? void 0 : S.entities[0];
2634
2634
  t.clear();
2635
2635
  const y = u(p);
2636
2636
  i.value = [y];
@@ -2874,7 +2874,7 @@ const Ea = /* @__PURE__ */ Me({
2874
2874
  "f-progress-step-line-success": b === r.value
2875
2875
  };
2876
2876
  }
2877
- function C(M, b) {
2877
+ function S(M, b) {
2878
2878
  return b !== a.value.length - 1;
2879
2879
  }
2880
2880
  const V = W(() => ({
@@ -2889,7 +2889,7 @@ const Ea = /* @__PURE__ */ Me({
2889
2889
  class: d(M, b)
2890
2890
  }, [g("div", {
2891
2891
  class: "f-progress-step-content"
2892
- }, [v(M, b), p(M, b)]), C(M, b) && g("div", {
2892
+ }, [v(M, b), p(M, b)]), S(M, b) && g("div", {
2893
2893
  class: y(M, b)
2894
2894
  }, [g("span", {
2895
2895
  class: V.value
@@ -3432,7 +3432,7 @@ const Za = {
3432
3432
  resolveEditorProps: f,
3433
3433
  resolveEditorType: p,
3434
3434
  getChangeFunctionName: y,
3435
- getClearFunctionName: C
3435
+ getClearFunctionName: S
3436
3436
  } = Qa(), V = W(() => ({
3437
3437
  "form-group": !0,
3438
3438
  "farris-form-group": !0,
@@ -3450,8 +3450,8 @@ const Za = {
3450
3450
  e.emit("update:modelValue", "");
3451
3451
  }
3452
3452
  const b = W(() => {
3453
- const h = i.value.type || "input-group", x = p(h), E = f(h, i.value), S = y(h), F = C(i.value.type);
3454
- return F && (E[F] = M), E[S] = N, (E.id == null || E.id === "") && (E.id = t.value), h === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (E.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (E.onEndValueChange = i.value.onEndValueChange)) : h === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (E["onUpdate:idValue"] = i.value["onUpdate:idValue"], E.id = t.value) : h === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? E.onSelectionChange = i.value.onSelectionChange : h === "property-editor" && (E.onBeforeOpenVariables = i.value.onBeforeOpenVariables), () => g(x, St({
3453
+ const h = i.value.type || "input-group", x = p(h), E = f(h, i.value), C = y(h), F = S(i.value.type);
3454
+ return F && (E[F] = M), E[C] = N, (E.id == null || E.id === "") && (E.id = t.value), h === "number-range" && i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" ? (i.value.onBeginValueChange && typeof i.value.onBeginValueChange == "function" && (E.onBeginValueChange = i.value.onBeginValueChange), i.value.onEndValueChange && typeof i.value.onEndValueChange == "function" && (E.onEndValueChange = i.value.onEndValueChange)) : h === "lookup" && i.value["onUpdate:idValue"] && typeof i.value["onUpdate:idValue"] == "function" ? (E["onUpdate:idValue"] = i.value["onUpdate:idValue"], E.id = t.value) : h === "collection-property-editor" && i.value.onSelectionChange && typeof i.value.onSelectionChange == "function" ? E.onSelectionChange = i.value.onSelectionChange : h === "property-editor" && (E.onBeforeOpenVariables = i.value.onBeforeOpenVariables), () => g(x, St({
3455
3455
  ref: d
3456
3456
  }, E, {
3457
3457
  modelValue: r.value,
@@ -3464,9 +3464,9 @@ const Za = {
3464
3464
  errors: m.value
3465
3465
  }, null);
3466
3466
  }
3467
- return we([() => n.id, () => n.customClass, () => n.editor, () => n.label, () => n.modelValue, () => n.readonly, () => n.required, () => n.showLabel, () => n.visible, () => n.errors], ([h, x, E, S, F, I, B, O, H, Q]) => {
3467
+ return we([() => n.id, () => n.customClass, () => n.editor, () => n.label, () => n.modelValue, () => n.readonly, () => n.required, () => n.showLabel, () => n.visible, () => n.errors], ([h, x, E, C, F, I, B, O, H, Q]) => {
3468
3468
  var j;
3469
- t.value = h, o.value = x, i.value = E, a.value = S, r.value = F, c.value = I, l.value = ((j = i.value) == null ? void 0 : j.required) || B, s.value = O, u.value = H, m.value = Q;
3469
+ t.value = h, o.value = x, i.value = E, a.value = C, r.value = F, c.value = I, l.value = ((j = i.value) == null ? void 0 : j.required) || B, s.value = O, u.value = H, m.value = Q;
3470
3470
  }), e.expose({
3471
3471
  editorRef: d
3472
3472
  }), () => u.value && g("div", {
@@ -3631,11 +3631,11 @@ var el = { exports: {} };
3631
3631
  2: [function(t, o, i) {
3632
3632
  (function(a) {
3633
3633
  var r = t("contra/emitter"), c = t("crossvent"), l = t("./classes"), s = document, u = s.documentElement;
3634
- function d(S, F) {
3634
+ function d(C, F) {
3635
3635
  var I = arguments.length;
3636
- I === 1 && Array.isArray(S) === !1 && (F = S, S = []);
3636
+ I === 1 && Array.isArray(C) === !1 && (F = C, C = []);
3637
3637
  var B, O, H, Q, j, D, X, q, K, ce = null, de, ee, ue = !1, ve = 0, ae, J = F || {};
3638
- J.moves === void 0 && (J.moves = V), J.accepts === void 0 && (J.accepts = V), J.invalid === void 0 && (J.invalid = ct), J.containers === void 0 && (J.containers = S || []), J.isContainer === void 0 && (J.isContainer = C), J.copy === void 0 && (J.copy = !1), J.copySortSource === void 0 && (J.copySortSource = !1), J.revertOnSpill === void 0 && (J.revertOnSpill = !1), J.removeOnSpill === void 0 && (J.removeOnSpill = !1), J.direction === void 0 && (J.direction = "vertical"), J.ignoreInputTextSelection === void 0 && (J.ignoreInputTextSelection = !0), J.mirrorContainer === void 0 && (J.mirrorContainer = s.body);
3638
+ J.moves === void 0 && (J.moves = V), J.accepts === void 0 && (J.accepts = V), J.invalid === void 0 && (J.invalid = ct), J.containers === void 0 && (J.containers = C || []), J.isContainer === void 0 && (J.isContainer = S), J.copy === void 0 && (J.copy = !1), J.copySortSource === void 0 && (J.copySortSource = !1), J.revertOnSpill === void 0 && (J.revertOnSpill = !1), J.removeOnSpill === void 0 && (J.removeOnSpill = !1), J.direction === void 0 && (J.direction = "vertical"), J.ignoreInputTextSelection === void 0 && (J.ignoreInputTextSelection = !0), J.mirrorContainer === void 0 && (J.mirrorContainer = s.body);
3639
3639
  var le = r({
3640
3640
  containers: J.containers,
3641
3641
  start: Ie,
@@ -3933,7 +3933,7 @@ var el = { exports: {} };
3933
3933
  return typeof J.copy == "boolean" ? J.copy : J.copy(k, $);
3934
3934
  }
3935
3935
  }
3936
- function m(S) {
3936
+ function m(C) {
3937
3937
  const F = Array.from(window.scrollContainerList);
3938
3938
  if (F.length === 1) {
3939
3939
  const B = Array.from(window.scrollContainerList)[0];
@@ -3941,18 +3941,18 @@ var el = { exports: {} };
3941
3941
  }
3942
3942
  const I = v(F);
3943
3943
  for (const B of I)
3944
- if (B.contains(S))
3944
+ if (B.contains(C))
3945
3945
  return B;
3946
3946
  return null;
3947
3947
  }
3948
- function v(S) {
3948
+ function v(C) {
3949
3949
  const F = [];
3950
- return S.forEach((I) => {
3950
+ return C.forEach((I) => {
3951
3951
  const B = document.getElementById(I);
3952
3952
  B && F.push(B);
3953
3953
  }), F.sort((I, B) => I.contains(B) ? 1 : B.contains(I) ? -1 : 0), F;
3954
3954
  }
3955
- function f(S, F, I, B) {
3955
+ function f(C, F, I, B) {
3956
3956
  var O = {
3957
3957
  mouseup: "touchend",
3958
3958
  mousedown: "touchstart",
@@ -3966,66 +3966,66 @@ var el = { exports: {} };
3966
3966
  mousedown: "MSPointerDown",
3967
3967
  mousemove: "MSPointerMove"
3968
3968
  };
3969
- a.navigator.pointerEnabled ? c[F](S, H[I], B) : a.navigator.msPointerEnabled ? c[F](S, Q[I], B) : (c[F](S, O[I], B), c[F](S, I, B));
3969
+ a.navigator.pointerEnabled ? c[F](C, H[I], B) : a.navigator.msPointerEnabled ? c[F](C, Q[I], B) : (c[F](C, O[I], B), c[F](C, I, B));
3970
3970
  }
3971
- function p(S) {
3972
- if (S.touches !== void 0)
3973
- return S.touches.length;
3974
- if (S.which !== void 0 && S.which !== 0)
3975
- return S.which;
3976
- if (S.buttons !== void 0)
3977
- return S.buttons;
3978
- var F = S.button;
3971
+ function p(C) {
3972
+ if (C.touches !== void 0)
3973
+ return C.touches.length;
3974
+ if (C.which !== void 0 && C.which !== 0)
3975
+ return C.which;
3976
+ if (C.buttons !== void 0)
3977
+ return C.buttons;
3978
+ var F = C.button;
3979
3979
  if (F !== void 0)
3980
3980
  return F & 1 ? 1 : F & 2 ? 3 : F & 4 ? 2 : 0;
3981
3981
  }
3982
- function y(S, F, I) {
3983
- S = S || {};
3984
- var B = S.className || "", O;
3985
- return S.className += " gu-hide", O = s.elementFromPoint(F, I), S.className = B, O;
3982
+ function y(C, F, I) {
3983
+ C = C || {};
3984
+ var B = C.className || "", O;
3985
+ return C.className += " gu-hide", O = s.elementFromPoint(F, I), C.className = B, O;
3986
3986
  }
3987
- function C() {
3987
+ function S() {
3988
3988
  return !1;
3989
3989
  }
3990
3990
  function V() {
3991
3991
  return !0;
3992
3992
  }
3993
- function N(S) {
3994
- return S.width || S.right - S.left;
3993
+ function N(C) {
3994
+ return C.width || C.right - C.left;
3995
3995
  }
3996
- function M(S) {
3997
- return S.height || S.bottom - S.top;
3996
+ function M(C) {
3997
+ return C.height || C.bottom - C.top;
3998
3998
  }
3999
- function b(S) {
4000
- return S.parentNode === s ? null : S.parentNode;
3999
+ function b(C) {
4000
+ return C.parentNode === s ? null : C.parentNode;
4001
4001
  }
4002
- function w(S) {
4003
- return S.tagName === "INPUT" || S.tagName === "TEXTAREA" || S.tagName === "SELECT" || P(S);
4002
+ function w(C) {
4003
+ return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || P(C);
4004
4004
  }
4005
- function P(S) {
4006
- return !S || S.contentEditable === "false" ? !1 : S.contentEditable === "true" ? !0 : P(b(S));
4005
+ function P(C) {
4006
+ return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : P(b(C));
4007
4007
  }
4008
- function h(S) {
4009
- return S.nextElementSibling || F();
4008
+ function h(C) {
4009
+ return C.nextElementSibling || F();
4010
4010
  function F() {
4011
- var I = S;
4011
+ var I = C;
4012
4012
  do
4013
4013
  I = I.nextSibling;
4014
4014
  while (I && I.nodeType !== 1);
4015
4015
  return I;
4016
4016
  }
4017
4017
  }
4018
- function x(S) {
4019
- return S.targetTouches && S.targetTouches.length ? S.targetTouches[0] : S.changedTouches && S.changedTouches.length ? S.changedTouches[0] : S;
4018
+ function x(C) {
4019
+ return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
4020
4020
  }
4021
- function E(S, F) {
4021
+ function E(C, F) {
4022
4022
  var I = x(F), B = {
4023
4023
  pageX: "clientX",
4024
4024
  // IE8
4025
4025
  pageY: "clientY"
4026
4026
  // IE8
4027
4027
  };
4028
- return S in B && !(S in I) && B[S] in I && (S = B[S]), I[S];
4028
+ return C in B && !(C in I) && B[C] in I && (C = B[C]), I[C];
4029
4029
  }
4030
4030
  o.exports = d;
4031
4031
  }).call(this, typeof Ge < "u" ? Ge : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -4073,8 +4073,8 @@ var el = { exports: {} };
4073
4073
  var f = a(arguments), p = this || l;
4074
4074
  if (m === "error" && u.throws !== !1 && !v.length)
4075
4075
  throw f.length === 1 ? f[0] : f;
4076
- return v.forEach(function(C) {
4077
- u.async ? r(C, f, p) : C.apply(p, f), C._once && l.off(m, C);
4076
+ return v.forEach(function(S) {
4077
+ u.async ? r(S, f, p) : S.apply(p, f), S._once && l.off(m, S);
4078
4078
  }), l;
4079
4079
  };
4080
4080
  }, l;
@@ -4106,14 +4106,14 @@ var el = { exports: {} };
4106
4106
  var h = c.indexOf(w) === -1 ? E() : x();
4107
4107
  b.dispatchEvent ? b.dispatchEvent(h) : b.fireEvent("on" + w, h);
4108
4108
  function x() {
4109
- var S;
4110
- return l.createEvent ? (S = l.createEvent("Event"), S.initEvent(w, !0, !0)) : l.createEventObject && (S = l.createEventObject()), S;
4109
+ var C;
4110
+ return l.createEvent ? (C = l.createEvent("Event"), C.initEvent(w, !0, !0)) : l.createEventObject && (C = l.createEventObject()), C;
4111
4111
  }
4112
4112
  function E() {
4113
4113
  return new r(w, { detail: P });
4114
4114
  }
4115
4115
  }
4116
- function C(b, w, P) {
4116
+ function S(b, w, P) {
4117
4117
  return function(x) {
4118
4118
  var E = x || a.event;
4119
4119
  E.target = E.target || E.srcElement, E.preventDefault = E.preventDefault || function() {
@@ -4124,7 +4124,7 @@ var el = { exports: {} };
4124
4124
  };
4125
4125
  }
4126
4126
  function V(b, w, P) {
4127
- var h = N(b, w, P) || C(b, w, P);
4127
+ var h = N(b, w, P) || S(b, w, P);
4128
4128
  return d.push({
4129
4129
  wrapper: h,
4130
4130
  element: b,
@@ -4233,9 +4233,9 @@ var el = { exports: {} };
4233
4233
  }
4234
4234
  var m = [], v = !1, f, p = -1;
4235
4235
  function y() {
4236
- !v || !f || (v = !1, f.length ? m = f.concat(m) : p = -1, m.length && C());
4236
+ !v || !f || (v = !1, f.length ? m = f.concat(m) : p = -1, m.length && S());
4237
4237
  }
4238
- function C() {
4238
+ function S() {
4239
4239
  if (!v) {
4240
4240
  var M = u(y);
4241
4241
  v = !0;
@@ -4252,7 +4252,7 @@ var el = { exports: {} };
4252
4252
  if (arguments.length > 1)
4253
4253
  for (var w = 1; w < arguments.length; w++)
4254
4254
  b[w - 1] = arguments[w];
4255
- m.push(new V(M, b)), m.length === 1 && !v && u(C);
4255
+ m.push(new V(M, b)), m.length === 1 && !v && u(S);
4256
4256
  };
4257
4257
  function V(M, b) {
4258
4258
  this.fun = M, this.array = b;
@@ -4627,7 +4627,7 @@ class Ze {
4627
4627
  }
4628
4628
  function vl(n, e) {
4629
4629
  const t = T(), o = T(), i = T(), a = T(), r = T(), c = T(), l = T(), s = T(), u = T(), d = T(), m = T(), v = T(n.resizeable), f = T(), p = T(n.draggable), y = T(!1);
4630
- function C() {
4630
+ function S() {
4631
4631
  const j = o.value || document.body, D = window.getComputedStyle(j);
4632
4632
  if (!D || !t.value)
4633
4633
  return;
@@ -4638,7 +4638,7 @@ function vl(n, e) {
4638
4638
  }
4639
4639
  function V(j) {
4640
4640
  if (t.value) {
4641
- a.value = Ze.getCurrent(t.value), r.value = fe.getCurrent(t.value), c.value = a.value ? Ze.copy(a.value) : null, l.value = r.value ? fe.copy(r.value) : null, C();
4641
+ a.value = Ze.getCurrent(t.value), r.value = fe.getCurrent(t.value), c.value = a.value ? Ze.copy(a.value) : null, l.value = r.value ? fe.copy(r.value) : null, S();
4642
4642
  const D = j.target.getAttribute("type") || "";
4643
4643
  s.value = {
4644
4644
  n: !!D.match(/n/),
@@ -4712,42 +4712,42 @@ function vl(n, e) {
4712
4712
  function E() {
4713
4713
  document.addEventListener("mousemove", P), document.addEventListener("mouseup", x);
4714
4714
  }
4715
- function S(j) {
4715
+ function C(j) {
4716
4716
  j instanceof MouseEvent && j.button === 2 || p.value && (document.body.click(), j.stopPropagation(), j.preventDefault(), i.value = fe.fromEvent(j), u.value = j.target, V(j), E());
4717
4717
  }
4718
4718
  function F(j) {
4719
4719
  return t.value = j, v.value && g(je, null, [g("div", {
4720
4720
  class: "fv-resizable-handle fv-resizable-n",
4721
4721
  type: "n",
4722
- onMousedown: (D) => S(D)
4722
+ onMousedown: (D) => C(D)
4723
4723
  }, null), g("div", {
4724
4724
  class: "fv-resizable-handle fv-resizable-e",
4725
4725
  type: "e",
4726
- onMousedown: (D) => S(D)
4726
+ onMousedown: (D) => C(D)
4727
4727
  }, null), g("div", {
4728
4728
  class: "fv-resizable-handle fv-resizable-s",
4729
4729
  type: "s",
4730
- onMousedown: (D) => S(D)
4730
+ onMousedown: (D) => C(D)
4731
4731
  }, null), g("div", {
4732
4732
  class: "fv-resizable-handle fv-resizable-w",
4733
4733
  type: "w",
4734
- onMousedown: (D) => S(D)
4734
+ onMousedown: (D) => C(D)
4735
4735
  }, null), g("div", {
4736
4736
  class: "fv-resizable-handle fv-resizable-ne",
4737
4737
  type: "ne",
4738
- onMousedown: (D) => S(D)
4738
+ onMousedown: (D) => C(D)
4739
4739
  }, null), g("div", {
4740
4740
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4741
4741
  type: "se",
4742
- onMousedown: (D) => S(D)
4742
+ onMousedown: (D) => C(D)
4743
4743
  }, null), g("div", {
4744
4744
  class: "fv-resizable-handle fv-resizable-sw",
4745
4745
  type: "sw",
4746
- onMousedown: (D) => S(D)
4746
+ onMousedown: (D) => C(D)
4747
4747
  }, null), g("div", {
4748
4748
  class: "fv-resizable-handle fv-resizable-nw",
4749
4749
  type: "nw",
4750
- onMousedown: (D) => S(D)
4750
+ onMousedown: (D) => C(D)
4751
4751
  }, null)]);
4752
4752
  }
4753
4753
  function I(j = !0) {
@@ -4828,9 +4828,9 @@ function hl(n, e, t) {
4828
4828
  return !1;
4829
4829
  }
4830
4830
  function f() {
4831
- var E, S;
4831
+ var E, C;
4832
4832
  let P = d.value.x + u.value.x, h = d.value.y + u.value.y;
4833
- a.value === "x" ? (P = ((E = s.value) == null ? void 0 : E.x) || 0, d.value.x = 0) : a.value === "y" && (h = ((S = s.value) == null ? void 0 : S.y) || 0, d.value.y = 0);
4833
+ a.value === "x" ? (P = ((E = s.value) == null ? void 0 : E.x) || 0, d.value.x = 0) : a.value === "y" && (h = ((C = s.value) == null ? void 0 : C.y) || 0, d.value.y = 0);
4834
4834
  const x = `translate3d(${Math.round(P)}px, ${Math.round(h)}px, 0px)`;
4835
4835
  o.value && (o.value.style.transform = x), m.value.x = P, m.value.y = h;
4836
4836
  }
@@ -4848,15 +4848,15 @@ function hl(n, e, t) {
4848
4848
  function y(P) {
4849
4849
  P && (s.value && P.subtract(s.value), d.value.set(P), f(), p());
4850
4850
  }
4851
- function C(P) {
4851
+ function S(P) {
4852
4852
  l.value && i.value && (P.stopPropagation(), P.preventDefault(), y(fe.fromEvent(P, r.value)));
4853
4853
  }
4854
4854
  function V() {
4855
4855
  var P;
4856
- l.value && (l.value = !1, u.value.add(d.value), d.value.reset(), (P = o.value) == null || P.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", V));
4856
+ l.value && (l.value = !1, u.value.add(d.value), d.value.reset(), (P = o.value) == null || P.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", V));
4857
4857
  }
4858
4858
  function N() {
4859
- !l.value && r.value && (l.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", C), document.addEventListener("mouseup", V));
4859
+ !l.value && r.value && (l.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", V));
4860
4860
  }
4861
4861
  function M() {
4862
4862
  if (o.value) {
@@ -4925,10 +4925,10 @@ const Ke = /* @__PURE__ */ Me({
4925
4925
  props: Vn,
4926
4926
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4927
4927
  setup(n, e) {
4928
- const t = T(n.width || 300), o = T(n.height || 200), i = T(n.modelValue), a = T(""), r = T(n.class), c = T(n.fitContent), l = T(n.showHeader), s = T(""), u = T(n.showCloseButton), d = T(n.showMaxButton), m = T(!1), v = T(n.dialogType), f = T(n.src), p = T(""), y = T(n.showButtons), C = T(n.title), V = T(n.containment || null), N = T(), {
4928
+ const t = T(n.width || 300), o = T(n.height || 200), i = T(n.modelValue), a = T(""), r = T(n.class), c = T(n.fitContent), l = T(n.showHeader), s = T(""), u = T(n.showCloseButton), d = T(n.showMaxButton), m = T(!1), v = T(n.dialogType), f = T(n.src), p = T(""), y = T(n.showButtons), S = T(n.title), V = T(n.containment || null), N = T(), {
4929
4929
  t: M
4930
4930
  } = Ht();
4931
- C.value === "错误提示" && (C.value = M("messageBox.errorTitle"));
4931
+ S.value === "错误提示" && (S.value = M("messageBox.errorTitle"));
4932
4932
  const b = T(!1);
4933
4933
  function w(R, ne) {
4934
4934
  const me = ne ? "accept" : "cancel";
@@ -4955,7 +4955,7 @@ const Ke = /* @__PURE__ */ Me({
4955
4955
  handle: (R) => {
4956
4956
  w(R, !0);
4957
4957
  }
4958
- }], h = T(n.buttons && n.buttons.length ? n.buttons : P), x = W(() => !!s.value), E = W(() => !!y.value && !!h.value), S = T(), F = T(), I = T(!1), {
4958
+ }], h = T(n.buttons && n.buttons.length ? n.buttons : P), x = W(() => !!s.value), E = W(() => !!y.value && !!h.value), C = T(), F = T(), I = T(!1), {
4959
4959
  renderResizeBar: B,
4960
4960
  maximize: O,
4961
4961
  restore: H,
@@ -4975,10 +4975,10 @@ const Ke = /* @__PURE__ */ Me({
4975
4975
  (!R || R - 1 <= 0) && document.body.classList.remove("modal-open"), N.value && N.value.classList.remove("show");
4976
4976
  }
4977
4977
  we(() => n.title, (R, ne) => {
4978
- R !== ne && (C.value = R);
4978
+ R !== ne && (S.value = R);
4979
4979
  }), we(() => n.modelValue, (R, ne) => {
4980
4980
  R !== ne && (i.value = R, i.value && n.draggable && Tt(() => {
4981
- F.value && !V.value && (V.value = F.value.parentElement, Q.value = V.value, K(S.value, F.value, Q.value), q());
4981
+ F.value && !V.value && (V.value = F.value.parentElement, Q.value = V.value, K(C.value, F.value, Q.value), q());
4982
4982
  }), R || (V.value && (V.value = null), de())), i.value ? b.value = ce() : (I.value = !1, D.value = n.draggable);
4983
4983
  }), we(() => n.showHeader, (R, ne) => {
4984
4984
  R !== ne && (l.value = R);
@@ -5062,13 +5062,13 @@ const Ke = /* @__PURE__ */ Me({
5062
5062
  R.handle && await R.handle(ne, R) && e.emit("closed", ne);
5063
5063
  }
5064
5064
  function $e(R) {
5065
- R.width && (t.value = R.width), R.height && (o.value = R.height), R.buttons && (h.value = R.buttons), R.title && (C.value = R.title);
5065
+ R.width && (t.value = R.width), R.height && (o.value = R.height), R.buttons && (h.value = R.buttons), R.title && (S.value = R.title);
5066
5066
  }
5067
5067
  let Ae = null, Ie = null;
5068
5068
  Gt(() => {
5069
5069
  b.value = ce();
5070
5070
  }), lt(() => {
5071
- F.value && !V.value && (V.value = F.value.parentElement, Q.value = V.value, K(S.value, F.value, Q.value)), ee.value && document.body.classList.add("modal-open"), Ae = gl(n, e), Ie = yl(n, e);
5071
+ F.value && !V.value && (V.value = F.value.parentElement, Q.value = V.value, K(C.value, F.value, Q.value)), ee.value && document.body.classList.add("modal-open"), Ae = gl(n, e), Ie = yl(n, e);
5072
5072
  }), at(() => {
5073
5073
  X && X(), Ae && Ae.remove(), Ie && Ie.remove();
5074
5074
  }), e.expose({
@@ -5118,7 +5118,7 @@ const Ke = /* @__PURE__ */ Me({
5118
5118
  }
5119
5119
  function Ye() {
5120
5120
  return g("div", {
5121
- ref: S,
5121
+ ref: C,
5122
5122
  class: "modal-header",
5123
5123
  style: Le.value
5124
5124
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : g("div", {
@@ -5128,7 +5128,7 @@ const Ke = /* @__PURE__ */ Me({
5128
5128
  style: "margin-right: 8px"
5129
5129
  }, null), g("span", {
5130
5130
  class: "modal-title-label"
5131
- }, [C.value])]), g("div", {
5131
+ }, [S.value])]), g("div", {
5132
5132
  class: "actions"
5133
5133
  }, [Ue()])]);
5134
5134
  }
@@ -5200,7 +5200,7 @@ function bl(n) {
5200
5200
  }), f = n.closedCallback || ((N) => {
5201
5201
  }), p = n.resizeHandle || ((N) => {
5202
5202
  }), y = n.stopMoveHandle || ((N) => {
5203
- }), C = On(n), V = (N) => {
5203
+ }), S = On(n), V = (N) => {
5204
5204
  u.value = !1, t.unmount(), f(N);
5205
5205
  };
5206
5206
  return lt(() => {
@@ -5226,7 +5226,7 @@ function bl(n) {
5226
5226
  onResize: p,
5227
5227
  onStopMove: y
5228
5228
  }, {
5229
- default: () => [C && C(t)]
5229
+ default: () => [S && S(t)]
5230
5230
  });
5231
5231
  }
5232
5232
  });
@@ -5303,8 +5303,8 @@ class Nn {
5303
5303
  }, {
5304
5304
  width: p,
5305
5305
  height: y
5306
- } = o.value, C = this.adaptToWindow(p || 500, y || 320);
5307
- Object.assign(o.value, C);
5306
+ } = o.value, S = this.adaptToWindow(p || 500, y || 320);
5307
+ Object.assign(o.value, S);
5308
5308
  const V = () => g(Ke, St({
5309
5309
  ref: this.modalRef,
5310
5310
  modelValue: i.value,
@@ -5537,13 +5537,13 @@ function Al(n, e) {
5537
5537
  if (v !== "" && v !== void 0 && v !== null) {
5538
5538
  v = "" + v;
5539
5539
  const p = v.length;
5540
- let y = "", C = 0;
5540
+ let y = "", S = 0;
5541
5541
  for (let V = 0; V < p; V++) {
5542
5542
  const N = v.charAt(V);
5543
- if (C++, encodeURI(N).length > 4 && C++, y = y.concat(N), C >= f)
5543
+ if (S++, encodeURI(N).length > 4 && S++, y = y.concat(N), S >= f)
5544
5544
  return y = y.concat("..."), y;
5545
5545
  }
5546
- if (C < f)
5546
+ if (S < f)
5547
5547
  return v;
5548
5548
  }
5549
5549
  return "";
@@ -5641,7 +5641,7 @@ function Gl(n, e, t, o, i) {
5641
5641
  function y(V) {
5642
5642
  a.value === "question" && e.emit("reject"), e.emit("close");
5643
5643
  }
5644
- function C(V) {
5644
+ function S(V) {
5645
5645
  a.value === "question" && e.emit("accept"), e.emit("close");
5646
5646
  }
5647
5647
  return () => g("div", {
@@ -5653,7 +5653,7 @@ function Gl(n, e, t, o, i) {
5653
5653
  }, [s.value]), f.value && d.value && g("button", {
5654
5654
  type: "button",
5655
5655
  class: "btn btn-primary btn-lg",
5656
- onClick: C
5656
+ onClick: S
5657
5657
  }, [l.value]), m.value && r.value.length && r.value.map((V) => g("button", {
5658
5658
  type: "button",
5659
5659
  onClick: V.handle,
@@ -5694,17 +5694,17 @@ const wt = /* @__PURE__ */ Me({
5694
5694
  emits: ["accept", "reject", "close"],
5695
5695
  setup(n, e) {
5696
5696
  const t = Hl(n), o = T(n.type), i = T(n.title), a = T(n.detail), r = W(() => {
5697
- const C = {
5697
+ const S = {
5698
5698
  "modal-tips": !0,
5699
5699
  "d-flex": !0,
5700
5700
  "flex-row": !0
5701
5701
  }, V = `messager-type-${o.value}`;
5702
- return C[V] = !0, C;
5702
+ return S[V] = !0, S;
5703
5703
  }), c = W(() => {
5704
- const C = {
5704
+ const S = {
5705
5705
  cursor: "default"
5706
5706
  };
5707
- return o.value === "prompt" ? C.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (C.padding = "0.5rem 1.5rem 1rem 1.5rem"), C;
5707
+ return o.value === "prompt" ? S.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (S.padding = "0.5rem 1.5rem 1rem 1.5rem"), S;
5708
5708
  }), l = Dl(), s = jl(n, o, i, a), u = Ll(), {
5709
5709
  feedbackStyle: d,
5710
5710
  feedbackMessage: m
@@ -5854,7 +5854,7 @@ const _l = /* @__PURE__ */ Me({
5854
5854
  fieldDataSource: f,
5855
5855
  fieldTreeGridRef: p,
5856
5856
  fieldTreeRowOption: y,
5857
- fieldSelectionOption: C,
5857
+ fieldSelectionOption: S,
5858
5858
  checkAndGetSelectedFields: V,
5859
5859
  currentComponentType: N
5860
5860
  } = d, M = new Xt();
@@ -5876,7 +5876,7 @@ const _l = /* @__PURE__ */ Me({
5876
5876
  }, {
5877
5877
  id: "selectFields",
5878
5878
  title: "选择显示字段"
5879
- }]), x = T(0), E = T(""), S = W(() => (K) => ({
5879
+ }]), x = T(0), E = T(""), C = W(() => (K) => ({
5880
5880
  "f-utils-fill": !0,
5881
5881
  border: K !== "selectComponentType",
5882
5882
  "mx-3": !0,
@@ -5939,7 +5939,7 @@ const _l = /* @__PURE__ */ Me({
5939
5939
  fitColumns: !0
5940
5940
  },
5941
5941
  "row-option": y,
5942
- selection: C
5942
+ selection: S
5943
5943
  }, null);
5944
5944
  }
5945
5945
  function Q() {
@@ -6035,13 +6035,13 @@ const _l = /* @__PURE__ */ Me({
6035
6035
  activeIndex: x,
6036
6036
  style: "align-self:center"
6037
6037
  }, null) : "", g("div", {
6038
- class: S.value("selectEntity"),
6038
+ class: C.value("selectEntity"),
6039
6039
  style: "border-radius:10px;"
6040
6040
  }, [O()]), g("div", {
6041
- class: S.value("selectComponentType"),
6041
+ class: C.value("selectComponentType"),
6042
6042
  style: "border-radius:10px;"
6043
6043
  }, [Q()]), g("div", {
6044
- class: S.value("selectFields"),
6044
+ class: C.value("selectFields"),
6045
6045
  style: "border-radius:10px;"
6046
6046
  }, [H()]), g("div", {
6047
6047
  class: "modal-footer"
@@ -6064,9 +6064,9 @@ const _l = /* @__PURE__ */ Me({
6064
6064
  function Wl(n, e) {
6065
6065
  let t;
6066
6066
  function o(l) {
6067
- var f, p, y, C, V, N;
6067
+ var f, p, y, S, V, N;
6068
6068
  const s = (p = (f = n.parent) == null ? void 0 : f.parent) == null ? void 0 : p.componentInstance;
6069
- if (!((V = (C = (y = s == null ? void 0 : s.value) == null ? void 0 : y.schema) == null ? void 0 : C.contents) != null && V.length))
6069
+ if (!((V = (S = (y = s == null ? void 0 : s.value) == null ? void 0 : y.schema) == null ? void 0 : S.contents) != null && V.length))
6070
6070
  return;
6071
6071
  const u = {
6072
6072
  componentType: "response-form",
@@ -6400,8 +6400,8 @@ const Jl = /* @__PURE__ */ Me({
6400
6400
  name: y
6401
6401
  } = r.getTableInfoByViewModelId(p);
6402
6402
  t.value = y;
6403
- const C = new Xl(n.designerHostService, n.componentId);
6404
- i.value = C.buildFieldTreeData();
6403
+ const S = new Xl(n.designerHostService, n.componentId);
6404
+ i.value = S.buildFieldTreeData();
6405
6405
  });
6406
6406
  function d() {
6407
6407
  e.emit("cancel");
@@ -6424,14 +6424,14 @@ const Jl = /* @__PURE__ */ Me({
6424
6424
  });
6425
6425
  }
6426
6426
  function v(p, y) {
6427
- const C = y.raw;
6428
- return g(je, null, [C.isRemoved ? g("span", {
6427
+ const S = y.raw;
6428
+ return g(je, null, [S.isRemoved ? g("span", {
6429
6429
  title: "绑定字段不存在,请在视图模型中手动移除。"
6430
- }, [se("绑定字段不存在。 ")]) : "", C.isBindVariable ? g("span", null, [se("变量:"), C.code, se(" ")]) : "", C.isNoBinding ? g("span", null, [se("控件没有绑定信息 ")]) : "", !C.isRemoved && !C.isBindVariable && !C.isComplexField ? g("span", null, [C.bindingField, se(" ")]) : ""]);
6430
+ }, [se("绑定字段不存在。 ")]) : "", S.isBindVariable ? g("span", null, [se("变量:"), S.code, se(" ")]) : "", S.isNoBinding ? g("span", null, [se("控件没有绑定信息 ")]) : "", !S.isRemoved && !S.isBindVariable && !S.isComplexField ? g("span", null, [S.bindingField, se(" ")]) : ""]);
6431
6431
  }
6432
6432
  function f(p) {
6433
- var C;
6434
- const y = (C = p.raw) == null ? void 0 : C.control;
6433
+ var S;
6434
+ const y = (S = p.raw) == null ? void 0 : S.control;
6435
6435
  return g(je, null, [y.label ? g("span", null, [y.label, se(" ")]) : g("span", null, [y.id, se(" ")])]);
6436
6436
  }
6437
6437
  return () => g("div", {
@@ -6563,7 +6563,7 @@ function es(n, e) {
6563
6563
  const x = n.componentInstance.value.schema;
6564
6564
  let E = {};
6565
6565
  x.contents && x.contents.length > 0 && (E = x.contents.find((O) => O.type === it.section.type) || {});
6566
- const S = Object.assign({}, E, {
6566
+ const C = Object.assign({}, E, {
6567
6567
  id: h + "-section",
6568
6568
  mainTitle: o.value,
6569
6569
  appearance: E.appearance ? Re(E.appearance) : {
@@ -6577,30 +6577,30 @@ function es(n, e) {
6577
6577
  class: "f-form-layout farris-form farris-form-controls-inline"
6578
6578
  },
6579
6579
  contents: i.value
6580
- }), S.contents = [I], [S];
6580
+ }), C.contents = [I], [C];
6581
6581
  }
6582
6582
  function u(h) {
6583
6583
  var E;
6584
6584
  if (!((E = h.states) != null && E.length))
6585
6585
  return [];
6586
6586
  const x = [];
6587
- return h.states.forEach((S) => {
6587
+ return h.states.forEach((C) => {
6588
6588
  i.value.forEach((F) => {
6589
6589
  function I(B) {
6590
6590
  Object.keys(B).forEach((O) => {
6591
6591
  const H = B[O];
6592
- if (H && H.type === "Variable" && H.field === S.id) {
6593
- let Q = x.find((j) => j.id === S.id);
6594
- Q || (Q = Object.assign({}, S, {
6592
+ if (H && H.type === "Variable" && H.field === C.id) {
6593
+ let Q = x.find((j) => j.id === C.id);
6594
+ Q || (Q = Object.assign({}, C, {
6595
6595
  newId: fn().guid()
6596
- }), x.push(Q), r.value.push(S.id)), B[O].field = Q.newId;
6596
+ }), x.push(Q), r.value.push(C.id)), B[O].field = Q.newId;
6597
6597
  }
6598
6598
  });
6599
6599
  }
6600
6600
  I(F), F.editor && I(F.editor);
6601
6601
  });
6602
- }), x.map((S) => {
6603
- S.id = S.newId, delete S.newId;
6602
+ }), x.map((C) => {
6603
+ C.id = C.newId, delete C.newId;
6604
6604
  }), x;
6605
6605
  }
6606
6606
  function d(h, x) {
@@ -6612,7 +6612,7 @@ function es(n, e) {
6612
6612
  groupName: null
6613
6613
  }));
6614
6614
  });
6615
- const S = u(x);
6615
+ const C = u(x);
6616
6616
  return {
6617
6617
  id: h + "-viewmodel",
6618
6618
  code: h + "-viewmodel",
@@ -6621,7 +6621,7 @@ function es(n, e) {
6621
6621
  parent: x.parent,
6622
6622
  fields: E,
6623
6623
  commands: [],
6624
- states: S,
6624
+ states: C,
6625
6625
  enableValidation: x.enableValidation
6626
6626
  };
6627
6627
  }
@@ -6646,9 +6646,9 @@ function es(n, e) {
6646
6646
  const h = n.componentInstance.value.schema, {
6647
6647
  schemaService: x,
6648
6648
  formSchemaUtils: E
6649
- } = e, S = E.getViewModelIdByComponentId(c), F = E.getViewModelById(S), {
6649
+ } = e, C = E.getViewModelIdByComponentId(c), F = E.getViewModelById(C), {
6650
6650
  code: I
6651
- } = x.getTableInfoByViewModelId(S), B = I + "-" + Math.random().toString(36).slice(2, 6), O = Lt("component-ref");
6651
+ } = x.getTableInfoByViewModelId(C), B = I + "-" + Math.random().toString(36).slice(2, 6), O = Lt("component-ref");
6652
6652
  Object.assign(O, {
6653
6653
  id: B + "-component-ref",
6654
6654
  component: B + "-component"
@@ -6668,10 +6668,10 @@ function es(n, e) {
6668
6668
  return;
6669
6669
  const {
6670
6670
  formSchemaUtils: h
6671
- } = e, x = n.componentInstance.value.schema, E = i.value.map((F) => F.id), S = h.selectNode(x, (F) => F.type === it["response-form"].type);
6672
- S.contents.forEach((F) => {
6671
+ } = e, x = n.componentInstance.value.schema, E = i.value.map((F) => F.id), C = h.selectNode(x, (F) => F.type === it["response-form"].type);
6672
+ C.contents.forEach((F) => {
6673
6673
  F.type === it.fieldset.type && (F.contents = F.contents.filter((I) => !E.includes(I.id)));
6674
- }), S.contents = S.contents.filter((F) => !(E.includes(F.id) || F.type === it.fieldset.type && F.contents && F.contents.length === 0));
6674
+ }), C.contents = C.contents.filter((F) => !(E.includes(F.id) || F.type === it.fieldset.type && F.contents && F.contents.length === 0));
6675
6675
  }
6676
6676
  function p() {
6677
6677
  if (!e)
@@ -6679,14 +6679,14 @@ function es(n, e) {
6679
6679
  const {
6680
6680
  formSchemaUtils: h
6681
6681
  } = e, x = h.getViewModelIdByComponentId(c), E = h.getViewModelById(x);
6682
- E && E.fields && (E.fields = E.fields.filter((S) => !a.value.includes(S.id)));
6682
+ E && E.fields && (E.fields = E.fields.filter((C) => !a.value.includes(C.id)));
6683
6683
  }
6684
6684
  function y(h) {
6685
6685
  if (!e)
6686
6686
  return;
6687
6687
  const {
6688
6688
  formSchemaUtils: x
6689
- } = e, E = fn().guid(), S = Object.assign({}, h, {
6689
+ } = e, E = fn().guid(), C = Object.assign({}, h, {
6690
6690
  id: E,
6691
6691
  code: h.code + E.slice(0, 4),
6692
6692
  name: h.name + E.slice(0, 4)
@@ -6694,21 +6694,21 @@ function es(n, e) {
6694
6694
  return I && I.refedHandlers.push({
6695
6695
  host: E,
6696
6696
  handler: h.handlerName
6697
- }), S;
6697
+ }), C;
6698
6698
  }
6699
- function C(h) {
6699
+ function S(h) {
6700
6700
  if (!e)
6701
6701
  return;
6702
6702
  const {
6703
6703
  formSchemaUtils: x
6704
- } = e, E = x.getViewModelIdByComponentId(c), S = x.getViewModelById(E), F = {};
6704
+ } = e, E = x.getViewModelIdByComponentId(c), C = x.getViewModelById(E), F = {};
6705
6705
  i.value.forEach((B) => {
6706
6706
  var Q;
6707
6707
  const O = B.type === "form-group" && B.editor ? B.editor.type : B.type, H = (Q = _t[O]) == null ? void 0 : Q.events;
6708
6708
  H && Object.keys(B).forEach((j) => {
6709
6709
  const D = Object.keys(H).find((X) => X === j);
6710
6710
  if (D && B[D]) {
6711
- const X = S.commands.find((q) => q.code === B[D]);
6711
+ const X = C.commands.find((q) => q.code === B[D]);
6712
6712
  if (X) {
6713
6713
  let q = F[X.code];
6714
6714
  q || (q = y(X), F[X.code] = q, h.commands.push(q)), B[D] = q.code;
@@ -6720,7 +6720,7 @@ function es(n, e) {
6720
6720
  h.fields.forEach((B) => {
6721
6721
  I.forEach((O) => {
6722
6722
  if (B[O]) {
6723
- const H = S.commands.find((Q) => Q.code === B[O]);
6723
+ const H = C.commands.find((Q) => Q.code === B[O]);
6724
6724
  if (F[H.code])
6725
6725
  B[O] = F[H.code].code;
6726
6726
  else {
@@ -6733,32 +6733,32 @@ function es(n, e) {
6733
6733
  }
6734
6734
  function V(h, x, E) {
6735
6735
  if (h && (x(h, E), h.contents))
6736
- for (const S of h.contents)
6737
- V(S, x, E);
6736
+ for (const C of h.contents)
6737
+ V(C, x, E);
6738
6738
  }
6739
6739
  function N() {
6740
6740
  if (!r.value.length)
6741
6741
  return;
6742
- const h = e == null ? void 0 : e.formSchemaUtils, x = h.getComponentById(c), E = [], S = (B, O) => {
6742
+ const h = e == null ? void 0 : e.formSchemaUtils, x = h.getComponentById(c), E = [], C = (B, O) => {
6743
6743
  B && (Object.keys(B).forEach((H) => {
6744
6744
  const Q = B[H];
6745
6745
  Q && typeof Q == "object" && Q.type === Uo.Variable && r.value.includes(Q.field) && !O.includes(Q.field) && O.push(Q.field);
6746
- }), B.editor && S(B.editor, O));
6746
+ }), B.editor && C(B.editor, O));
6747
6747
  };
6748
- V(x, S, E);
6748
+ V(x, C, E);
6749
6749
  const F = h.getViewModelIdByComponentId(c), I = h.getViewModelById(F);
6750
6750
  r.value.forEach((B) => {
6751
6751
  E.includes(B) || (I.states = I.states.filter((O) => O.id !== B));
6752
6752
  });
6753
6753
  }
6754
6754
  function M(h) {
6755
- var S, F;
6755
+ var C, F;
6756
6756
  const {
6757
6757
  selections: x
6758
6758
  } = h;
6759
6759
  o.value = h.componentTitle, l(x);
6760
6760
  const E = v();
6761
- f(), p(), C(E), N(), (S = t == null ? void 0 : t.modalRef) != null && S.value.close && ((F = t == null ? void 0 : t.modalRef) == null || F.value.close()), En.value++, Tt(() => {
6761
+ f(), p(), S(E), N(), (C = t == null ? void 0 : t.modalRef) != null && C.value.close && ((F = t == null ? void 0 : t.modalRef) == null || F.value.close()), En.value++, Tt(() => {
6762
6762
  xn();
6763
6763
  });
6764
6764
  }
@@ -6822,12 +6822,12 @@ function ts(n, e) {
6822
6822
  return;
6823
6823
  const b = (P = n.componentInstance) == null ? void 0 : P.value.parent.schema;
6824
6824
  if ((h = b == null ? void 0 : b.toolbar) != null && h.buttons && b.toolbar.buttons.length) {
6825
- b.toolbar.buttons.forEach((S) => {
6826
- const F = S.onClick, I = F && F.split(".");
6825
+ b.toolbar.buttons.forEach((C) => {
6826
+ const F = C.onClick, I = F && F.split(".");
6827
6827
  if (!I || I.length < 3)
6828
6828
  return;
6829
- I[I.length - 2] === M && (S.needRemove = !0);
6830
- }), b.toolbar.buttons = b.toolbar.buttons.filter((S) => !S.needRemove);
6829
+ I[I.length - 2] === M && (C.needRemove = !0);
6830
+ }), b.toolbar.buttons = b.toolbar.buttons.filter((C) => !C.needRemove);
6831
6831
  const E = (x = n.componentInstance) == null ? void 0 : x.value.parent;
6832
6832
  E.parent && E.parent.updateToolbarItems && E.parent.updateToolbarItems();
6833
6833
  }
@@ -6891,17 +6891,17 @@ function ts(n, e) {
6891
6891
  return "组件";
6892
6892
  }
6893
6893
  }
6894
- function C() {
6894
+ function S() {
6895
6895
  var V, N, M;
6896
6896
  if (n && e) {
6897
6897
  const { formSchemaUtils: b } = e;
6898
6898
  let w = "", P = "";
6899
6899
  const h = b.getRootViewModelId(), x = b.getComponentByViewModelId(h), E = b.selectNode(x, (F) => F.contents && F.contents.find((I) => I.component === n.schema.id));
6900
6900
  (E == null ? void 0 : E.type) === ((V = L["tab-page"]) == null ? void 0 : V.type) && ((N = E == null ? void 0 : E.contents) != null && N.length) && (w = E.title || ""), (E == null ? void 0 : E.type) === ((M = L.section) == null ? void 0 : M.type) && (E == null ? void 0 : E.showHeader) !== !1 && (w = E.mainTitle || ""), w = w ? `${w} > ` : "", P = w ? E.id : "";
6901
- const S = y();
6901
+ const C = y();
6902
6902
  b.getControlBasicInfoMap().set(n.schema.id, {
6903
- componentTitle: S,
6904
- parentPathName: `${w}${S}`,
6903
+ componentTitle: C,
6904
+ parentPathName: `${w}${C}`,
6905
6905
  reliedComponentId: P
6906
6906
  });
6907
6907
  }
@@ -6915,7 +6915,7 @@ function ts(n, e) {
6915
6915
  getPropsConfig: u,
6916
6916
  onRemoveComponent: f,
6917
6917
  getCustomButtons: p,
6918
- setComponentBasicInfoMap: C
6918
+ setComponentBasicInfoMap: S
6919
6919
  };
6920
6920
  }
6921
6921
  function ns(n, e) {