@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
@@ -2,7 +2,7 @@ var kn = Object.defineProperty;
2
2
  var In = (n, e, t) => e in n ? kn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var X = (n, e, t) => In(n, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { getCustomClass as Nn, withInstall as Zt, FormSchemaEntityField$Type as gt, FormSchemaEntityFieldTypeName as Lt, getMaxZIndex as Pn, FormSchemaEntityFieldType$Type as Vn } from "../common/index.esm.js";
5
- import { ref as C, computed as $, createVNode as E, onMounted as Ge, nextTick as et, defineComponent as Xe, watch as Se, Fragment as lt, reactive as $e, createApp as Jt, onUnmounted as Ct, Transition as Qt, mergeProps as Dt, createTextVNode as On, onBeforeMount as jn, Teleport as Rn, shallowRef as Ln, render as Rt, h as $n, cloneVNode as Dn, inject as Gt } from "vue";
5
+ import { ref as S, computed as $, createVNode as E, onMounted as Ge, nextTick as et, defineComponent as Xe, watch as Se, Fragment as lt, reactive as $e, createApp as Jt, onUnmounted as Ct, Transition as Qt, mergeProps as Dt, createTextVNode as On, onBeforeMount as jn, Teleport as Rn, shallowRef as Ln, render as Rt, h as $n, cloneVNode as Dn, inject as Gt } from "vue";
6
6
  import { cloneDeep as ht, isPlainObject as Xt, isUndefined as Re } from "lodash-es";
7
7
  import Ce from "bignumber.js";
8
8
  import { useI18n as St } from "vue-i18n";
@@ -523,60 +523,60 @@ function on(n, e, t) {
523
523
  return typeof g == "string" && g && o.has(g) ? o.get(g) || null : g || null;
524
524
  }
525
525
  function p(m, v, g, M, B, U = "", O = "") {
526
- return Object.keys(m).map((w) => {
527
- const h = C(1), b = w, T = m[w], A = Object.keys(T), x = T.title, F = T.type, P = i.get(F) || { type: "input-group", enableClear: !1 }, I = T.editor ? Object.assign({}, P, T.editor) : Object.assign({}, P), L = c(A, T, v), _ = u(A, T, v);
526
+ return Object.keys(m).map((b) => {
527
+ const h = S(1), w = b, T = m[b], A = Object.keys(T), C = T.title, F = T.type, P = i.get(F) || { type: "input-group", enableClear: !1 }, I = T.editor ? Object.assign({}, P, T.editor) : Object.assign({}, P), L = c(A, T, v), _ = u(A, T, v);
528
528
  I.readonly = I.readonly === void 0 ? _() : I.readonly;
529
529
  const Q = T.type === "cascade" ? p(T.properties, v, g, M, B, U, O) : [], V = !0;
530
530
  let N = s(T, O);
531
531
  const G = $({
532
532
  get() {
533
533
  if (h.value) {
534
- if (["class", "style"].find((ue) => ue === b) && !N && (N = o.get("/converter/appearance.converter") || null), N && N.convertFrom)
535
- return N.convertFrom(g, w, B, U);
536
- const ie = g[w];
534
+ if (["class", "style"].find((ue) => ue === w) && !N && (N = o.get("/converter/appearance.converter") || null), N && N.convertFrom)
535
+ return N.convertFrom(g, b, B, U);
536
+ const ie = g[b];
537
537
  return Object.prototype.hasOwnProperty.call(T, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? T.type === "boolean" ? T.defaultValue : T.defaultValue || "" : ie;
538
538
  }
539
539
  return null;
540
540
  },
541
541
  set(ie) {
542
- h.value += 1, N && N.convertTo ? (N.convertTo(M, w, ie, B, U), N.convertTo(g, w, ie, B, U)) : (M[w] = ie, g[w] = ie);
542
+ h.value += 1, N && N.convertTo ? (N.convertTo(M, b, ie, B, U), N.convertTo(g, b, ie, B, U)) : (M[b] = ie, g[b] = ie);
543
543
  }
544
- }), { refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae } = T, Y = { propertyID: b, propertyName: x, propertyType: F, propertyValue: G, editor: I, visible: L, readonly: _, cascadeConfig: Q, hideCascadeTitle: V, refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae };
545
- return v[b] = Y, Y;
544
+ }), { refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae } = T, Y = { propertyID: w, propertyName: C, propertyType: F, propertyValue: G, editor: I, visible: L, readonly: _, cascadeConfig: Q, hideCascadeTitle: V, refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae };
545
+ return v[w] = Y, Y;
546
546
  });
547
547
  }
548
548
  function l(m, v, g = {}) {
549
549
  const M = {}, B = n[m];
550
550
  return B && B.categories ? Object.keys(B.categories).map((O) => {
551
- const S = B.categories[O], w = S == null ? void 0 : S.title, h = p(S.properties || {}, M, {}, g, v);
552
- return { categoryId: O, categoryName: w, properties: h };
551
+ const x = B.categories[O], b = x == null ? void 0 : x.title, h = p(x.properties || {}, M, {}, g, v);
552
+ return { categoryId: O, categoryName: b, properties: h };
553
553
  }) : [];
554
554
  }
555
555
  function f(m, v, g, M, B = "") {
556
- const U = v.$ref.schema, O = v.$ref.converter, S = g[U], w = S.type, h = t(S), b = {}, T = n[w];
556
+ const U = v.$ref.schema, O = v.$ref.converter, x = g[U], b = x.type, h = t(x), w = {}, T = n[b];
557
557
  if (T && T.categories) {
558
- const A = T.categories[m], x = A == null ? void 0 : A.title;
558
+ const A = T.categories[m], C = A == null ? void 0 : A.title;
559
559
  O && Object.keys(A.properties).forEach((I) => {
560
560
  A.properties[I].$converter = O;
561
561
  });
562
- const F = (A == null ? void 0 : A.properties) || {}, P = p(F, b, h, S, M, B);
563
- return { categoryId: m, categoryName: x, properties: P };
562
+ const F = (A == null ? void 0 : A.properties) || {}, P = p(F, w, h, x, M, B);
563
+ return { categoryId: m, categoryName: C, properties: P };
564
564
  }
565
565
  return { categoryId: m, categoryName: "", properties: [] };
566
566
  }
567
567
  function d(m, v, g, M, B) {
568
- const U = m.type, O = t(m), S = {};
569
- let w = B || n[U];
570
- if (w && Object.keys(w).length === 0 && g && g.getPropConfig && (w = g.getPropConfig(M)), w && w.categories) {
568
+ const U = m.type, O = t(m), x = {};
569
+ let b = B || n[U];
570
+ if (b && Object.keys(b).length === 0 && g && g.getPropConfig && (b = g.getPropConfig(M)), b && b.categories) {
571
571
  const h = [];
572
- return Object.keys(w.categories).map((b) => {
573
- const T = w.categories[b];
572
+ return Object.keys(b.categories).map((w) => {
573
+ const T = b.categories[w];
574
574
  if (T.$ref) {
575
- h.push(f(b, T, m, v, M));
575
+ h.push(f(w, T, m, v, M));
576
576
  return;
577
577
  }
578
- const A = T == null ? void 0 : T.title, x = T == null ? void 0 : T.tabId, F = T == null ? void 0 : T.tabName, P = T == null ? void 0 : T.hide, I = T == null ? void 0 : T.hideTitle, L = p(T.properties || {}, S, O, m, v, M, T.$converter), { setPropertyRelates: _ } = T, Q = T == null ? void 0 : T.parentPropertyID;
579
- h.push({ categoryId: b, categoryName: A, tabId: x, tabName: F, hide: P, properties: L, hideTitle: I, setPropertyRelates: _, parentPropertyID: Q });
578
+ const A = T == null ? void 0 : T.title, C = T == null ? void 0 : T.tabId, F = T == null ? void 0 : T.tabName, P = T == null ? void 0 : T.hide, I = T == null ? void 0 : T.hideTitle, L = p(T.properties || {}, x, O, m, v, M, T.$converter), { setPropertyRelates: _ } = T, Q = T == null ? void 0 : T.parentPropertyID;
579
+ h.push({ categoryId: w, categoryName: A, tabId: C, tabName: F, hide: P, properties: L, hideTitle: I, setPropertyRelates: _, parentPropertyID: Q });
580
580
  }), h;
581
581
  }
582
582
  return [];
@@ -896,8 +896,8 @@ function di(n, e, t, o) {
896
896
  return;
897
897
  const M = g === "up" ? s : p, B = g === "up" ? "plus" : "minus";
898
898
  if (M()) {
899
- const O = new Ce(c.value || 0)[B](Number(n.step)), S = O.toFixed();
900
- r.value = i(S), u(a(O));
899
+ const O = new Ce(c.value || 0)[B](Number(n.step)), x = O.toFixed();
900
+ r.value = i(x), u(a(O));
901
901
  }
902
902
  }
903
903
  function f() {
@@ -936,7 +936,7 @@ function fn(n, e, t) {
936
936
  return { cleanFormat: a, format: u };
937
937
  }
938
938
  function pn(n, e) {
939
- const t = C(""), o = C(n.modelValue), i = $(() => Number(n.precision) || 0), r = C(n.bigNumber);
939
+ const t = S(""), o = S(n.modelValue), i = $(() => Number(n.precision) || 0), r = S(n.bigNumber);
940
940
  r.value = !1;
941
941
  function a(l) {
942
942
  return l.toFixed(i.value);
@@ -972,40 +972,40 @@ function pn(n, e) {
972
972
  return { displayValue: t, getRealValue: s, modelValue: o, isEmpty: c, onNumberValueChanged: p, precision: i, getValidNumberObject: u };
973
973
  }
974
974
  function fi(n, e, t, o, i) {
975
- const { cleanFormat: r, format: a } = t, { displayValue: c, getRealValue: u, modelValue: s, isEmpty: p, onNumberValueChanged: l } = o, { downward: f, upward: d } = i, m = C(!1), v = $(() => c.value);
975
+ const { cleanFormat: r, format: a } = t, { displayValue: c, getRealValue: u, modelValue: s, isEmpty: p, onNumberValueChanged: l } = o, { downward: f, upward: d } = i, m = S(!1), v = $(() => c.value);
976
976
  function g(h) {
977
977
  var A;
978
978
  if (h.stopPropagation(), m.value = !1, n.readonly || n.disabled)
979
979
  return;
980
- const b = (A = h.target) == null ? void 0 : A.value, T = r(b);
980
+ const w = (A = h.target) == null ? void 0 : A.value, T = r(w);
981
981
  c.value = a(u(T, n.needValid), n.needValid), n.updateOn === "blur" && l(u(T, n.needValid)), e.emit("blur", { event: h, formatted: c.value, value: s.value });
982
982
  }
983
983
  function M(h) {
984
984
  h.stopPropagation(), m.value = !0, !(n.readonly || n.disabled) && (c.value = p(s.value) || !n.showZero && "" + s.value == "0" ? "" : String(s.value), e.emit("focus", { event: h, formatted: c.value, value: s.value }));
985
985
  }
986
986
  function B(h) {
987
- var x;
987
+ var C;
988
988
  h.stopPropagation();
989
- let b = (x = h.target) == null ? void 0 : x.value;
990
- n.nullable || (b = b || 0);
991
- const T = r(b), A = u(T, n.needValid);
989
+ let w = (C = h.target) == null ? void 0 : C.value;
990
+ n.nullable || (w = w || 0);
991
+ const T = r(w), A = u(T, n.needValid);
992
992
  n.updateOn === "change" && (c.value = T, l(A)), e.emit("input", A);
993
993
  }
994
994
  function U(h) {
995
- const b = h;
996
- return b.value.substring((b == null ? void 0 : b.selectionStart) || 0, (b == null ? void 0 : b.selectionEnd) || 0);
995
+ const w = h;
996
+ return w.value.substring((w == null ? void 0 : w.selectionStart) || 0, (w == null ? void 0 : w.selectionEnd) || 0);
997
997
  }
998
998
  function O(h) {
999
- const { key: b, keyCode: T, target: A, ctrlKey: x, metaKey: F, shiftKey: P } = h;
999
+ const { key: w, keyCode: T, target: A, ctrlKey: C, metaKey: F, shiftKey: P } = h;
1000
1000
  if (!A)
1001
1001
  return;
1002
1002
  const I = A, L = I.value, _ = Number(n.precision), Q = /* @__PURE__ */ new Set([".", "-", "%"]), V = U(A);
1003
- if (Q.has(b) && L.includes(b) && !V.includes(b) || n.precision === 0 && [110, 190].includes(T)) {
1003
+ if (Q.has(w) && L.includes(w) && !V.includes(w) || n.precision === 0 && [110, 190].includes(T)) {
1004
1004
  h.preventDefault();
1005
1005
  return;
1006
1006
  }
1007
1007
  const G = /* @__PURE__ */ new Set([46, 8, 9, 27, 13, 110, 190, 173]), H = /* @__PURE__ */ new Set([65, 67, 86, 88]), ee = /* @__PURE__ */ new Set([...Array.from({ length: 5 }, (ae, Y) => 35 + Y), 189, 109]);
1008
- if (G.has(T) || H.has(T) && (x || F) || ee.has(T))
1008
+ if (G.has(T) || H.has(T) && (C || F) || ee.has(T))
1009
1009
  return;
1010
1010
  if (!(!P && (T >= 48 && T <= 57 || T >= 96 && T <= 105))) {
1011
1011
  h.preventDefault();
@@ -1017,17 +1017,17 @@ function fi(n, e, t, o, i) {
1017
1017
  return h.preventDefault(), !1;
1018
1018
  }
1019
1019
  }
1020
- const S = (h) => {
1020
+ const x = (h) => {
1021
1021
  var A;
1022
- let b = (A = h.target) == null ? void 0 : A.value;
1023
- n.nullable || (b = b || 0);
1024
- const T = r(b);
1022
+ let w = (A = h.target) == null ? void 0 : A.value;
1023
+ n.nullable || (w = w || 0);
1024
+ const T = r(w);
1025
1025
  s.value = u(T);
1026
1026
  };
1027
- function w(h) {
1028
- return n.keyboard && h.key === "ArrowDown" && (h.preventDefault(), S(h), f(), h.stopPropagation()), n.keyboard && h.key === "ArrowUp" && (h.preventDefault(), S(h), d(), h.stopPropagation()), O(h);
1027
+ function b(h) {
1028
+ return n.keyboard && h.key === "ArrowDown" && (h.preventDefault(), x(h), f(), h.stopPropagation()), n.keyboard && h.key === "ArrowUp" && (h.preventDefault(), x(h), d(), h.stopPropagation()), O(h);
1029
1029
  }
1030
- return { textBoxValue: v, onBlurTextBox: g, onFocusTextBox: M, onInput: B, onKeyDown: w, isFocus: m };
1030
+ return { textBoxValue: v, onBlurTextBox: g, onFocusTextBox: M, onInput: B, onKeyDown: b, isFocus: m };
1031
1031
  }
1032
1032
  function pi(n, e, t) {
1033
1033
  const {
@@ -1082,7 +1082,7 @@ function mi(n) {
1082
1082
  return { placeholder: o, range: i };
1083
1083
  }
1084
1084
  function vi(n, e, t) {
1085
- const o = mi(n), i = C(), {
1085
+ const o = mi(n), i = S(), {
1086
1086
  onBlurTextBox: r,
1087
1087
  onFocusTextBox: a,
1088
1088
  onInput: c,
@@ -1193,8 +1193,8 @@ function gi() {
1193
1193
  }, null)])]);
1194
1194
  }
1195
1195
  function hi(n, e, t) {
1196
- var x;
1197
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = C();
1196
+ var C;
1197
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = S();
1198
1198
  let a;
1199
1199
  function c() {
1200
1200
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -1213,7 +1213,7 @@ function hi(n, e, t) {
1213
1213
  return null;
1214
1214
  if (F.value.schema && F.value.schema.type === "component")
1215
1215
  return F.value;
1216
- const P = C(F == null ? void 0 : F.value.parent), I = l(P);
1216
+ const P = S(F == null ? void 0 : F.value.parent), I = l(P);
1217
1217
  return I || null;
1218
1218
  }
1219
1219
  function f(F = e) {
@@ -1261,14 +1261,14 @@ function hi(n, e, t) {
1261
1261
  L > -1 && I.getExpressions().splice(L, 1);
1262
1262
  }
1263
1263
  }
1264
- function S(F) {
1264
+ function x(F) {
1265
1265
  if (!F || !(e != null && e.schema))
1266
1266
  return;
1267
1267
  const P = e.schema, { formSchemaUtils: I } = F;
1268
1268
  I.removeCommunicationInComponent(P);
1269
1269
  }
1270
- function w(F) {
1271
- t && t.onRemoveComponent && t.onRemoveComponent(), O(F), S(F), e != null && e.schema.contents && e.schema.contents.map((P) => {
1270
+ function b(F) {
1271
+ t && t.onRemoveComponent && t.onRemoveComponent(), O(F), x(F), e != null && e.schema.contents && e.schema.contents.map((P) => {
1272
1272
  let I = P.id;
1273
1273
  P.type === "component-ref" && (I = P.component);
1274
1274
  const L = n.value.querySelectorAll(`#${I}-design-item`);
@@ -1282,7 +1282,7 @@ function hi(n, e, t) {
1282
1282
  if (t && t.getCustomButtons)
1283
1283
  return t.getCustomButtons();
1284
1284
  }
1285
- function b(F) {
1285
+ function w(F) {
1286
1286
  var I, L;
1287
1287
  if (!((I = e == null ? void 0 : e.schema) != null && I.id))
1288
1288
  return;
@@ -1305,7 +1305,7 @@ function hi(n, e, t) {
1305
1305
  function T(F) {
1306
1306
  var _;
1307
1307
  const { changeObject: P } = F, { propertyID: I, propertyValue: L } = P;
1308
- if (["text", "title", "label", "name", "mainTitle"].includes((_ = F == null ? void 0 : F.changeObject) == null ? void 0 : _.propertyID) && I && L && (b(), a)) {
1308
+ if (["text", "title", "label", "name", "mainTitle"].includes((_ = F == null ? void 0 : F.changeObject) == null ? void 0 : _.propertyID) && I && L && (w(), a)) {
1309
1309
  const Q = a.getControlBasicInfoMap(), V = Q.keys().toArray().filter((N) => {
1310
1310
  var G, H;
1311
1311
  return ((G = Q.get(N)) == null ? void 0 : G.reliedComponentId) === ((H = e == null ? void 0 : e.schema) == null ? void 0 : H.id);
@@ -1327,7 +1327,7 @@ function hi(n, e, t) {
1327
1327
  canNested: !p(),
1328
1328
  contents: e == null ? void 0 : e.schema.contents,
1329
1329
  elementRef: n,
1330
- parent: (x = e == null ? void 0 : e.parent) == null ? void 0 : x.componentInstance,
1330
+ parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
1331
1331
  schema: e == null ? void 0 : e.schema,
1332
1332
  styles: o,
1333
1333
  designerClass: i,
@@ -1340,20 +1340,20 @@ function hi(n, e, t) {
1340
1340
  onAcceptMovedChildElement: g,
1341
1341
  onChildElementMovedOut: B,
1342
1342
  addNewChildComponentSchema: M,
1343
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || C(!1),
1344
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || C(!1),
1345
- onRemoveComponent: w,
1343
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || S(!1),
1344
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || S(!1),
1345
+ onRemoveComponent: b,
1346
1346
  getCustomButtons: h,
1347
1347
  onPropertyChanged: A,
1348
- setComponentBasicInfoMap: b,
1348
+ setComponentBasicInfoMap: w,
1349
1349
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1350
1350
  }, r;
1351
1351
  }
1352
- const yi = C(0);
1352
+ const yi = S(0);
1353
1353
  function bi() {
1354
1354
  yi.value++;
1355
1355
  }
1356
- const ft = C(0);
1356
+ const ft = S(0);
1357
1357
  function wi(n) {
1358
1358
  const { formSchemaUtils: e, formStateMachineUtils: t } = n;
1359
1359
  function o(u, s = "") {
@@ -2115,11 +2115,11 @@ function xi(n) {
2115
2115
  var B;
2116
2116
  const g = o.get(v.id), M = g.appearance && g.appearance.class;
2117
2117
  if (M) {
2118
- const O = M.split(" ").filter((A) => !A.startsWith("col-")), S = "col-" + v.columnInSM, w = "col-md-" + v.columnInMD, h = "col-xl-" + v.columnInLG, b = "col-el-" + v.columnInEL, T = [S, w, h, b].concat(O);
2118
+ const O = M.split(" ").filter((A) => !A.startsWith("col-")), x = "col-" + v.columnInSM, b = "col-md-" + v.columnInMD, h = "col-xl-" + v.columnInLG, w = "col-el-" + v.columnInEL, T = [x, b, h, w].concat(O);
2119
2119
  g.appearance.class = T.join(" ");
2120
2120
  }
2121
2121
  if (v.fieldSetId) {
2122
- const U = d.contents.find((S) => S.id === v.fieldSetId), O = m.find((S) => S.id === v.fieldSetId);
2122
+ const U = d.contents.find((x) => x.id === v.fieldSetId), O = m.find((x) => x.id === v.fieldSetId);
2123
2123
  O ? (B = O.contents) == null || B.push(g) : (m.push(U), U.contents = [g]);
2124
2124
  } else
2125
2125
  m.push(g);
@@ -2186,11 +2186,11 @@ var Ti = { exports: {} };
2186
2186
  2: [function(t, o, i) {
2187
2187
  (function(r) {
2188
2188
  var a = t("contra/emitter"), c = t("crossvent"), u = t("./classes"), s = document, p = s.documentElement;
2189
- function l(x, F) {
2189
+ function l(C, F) {
2190
2190
  var P = arguments.length;
2191
- P === 1 && Array.isArray(x) === !1 && (F = x, x = []);
2191
+ P === 1 && Array.isArray(C) === !1 && (F = C, C = []);
2192
2192
  var I, L, _, Q, V, N, G, H, ee, me = null, ae, Y, ie = !1, ue = 0, ne, q = F || {};
2193
- q.moves === void 0 && (q.moves = B), q.accepts === void 0 && (q.accepts = B), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = x || []), q.isContainer === void 0 && (q.isContainer = M), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = s.body);
2193
+ q.moves === void 0 && (q.moves = B), q.accepts === void 0 && (q.accepts = B), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = C || []), q.isContainer === void 0 && (q.isContainer = M), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = s.body);
2194
2194
  var oe = a({
2195
2195
  containers: q.containers,
2196
2196
  start: Ee,
@@ -2228,7 +2228,7 @@ var Ti = { exports: {} };
2228
2228
  var j = v(y) !== 1 || y.metaKey || y.ctrlKey;
2229
2229
  if (!j) {
2230
2230
  var D = y.target, W = Pe(D);
2231
- W && (ae = W, Te(), y.type === "mousedown" && (w(D) ? D.focus() : y.preventDefault()));
2231
+ W && (ae = W, Te(), y.type === "mousedown" && (b(D) ? D.focus() : y.preventDefault()));
2232
2232
  }
2233
2233
  }
2234
2234
  function tt(y) {
@@ -2240,7 +2240,7 @@ var Ti = { exports: {} };
2240
2240
  if (!(y.clientX !== void 0 && Math.abs(y.clientX - Q) <= (q.slideFactorX || 0) && y.clientY !== void 0 && Math.abs(y.clientY - V) <= (q.slideFactorY || 0))) {
2241
2241
  if (q.ignoreInputTextSelection) {
2242
2242
  var j = A("clientX", y) || 0, D = A("clientY", y) || 0, W = s.elementFromPoint(j, D);
2243
- if (w(W))
2243
+ if (b(W))
2244
2244
  return;
2245
2245
  }
2246
2246
  var K = ae;
@@ -2250,12 +2250,12 @@ var Ti = { exports: {} };
2250
2250
  }
2251
2251
  function Pe(y) {
2252
2252
  if (!(oe.dragging && I) && !De(y)) {
2253
- for (var j = y; S(y) && De(S(y)) === !1; )
2254
- if (q.invalid(y, j) || (y = S(y), !y))
2253
+ for (var j = y; x(y) && De(x(y)) === !1; )
2254
+ if (q.invalid(y, j) || (y = x(y), !y))
2255
2255
  return;
2256
- var D = S(y);
2256
+ var D = x(y);
2257
2257
  if (D && !q.invalid(y, j)) {
2258
- var W = q.moves(y, D, j, b(y));
2258
+ var W = q.moves(y, D, j, w(y));
2259
2259
  if (W)
2260
2260
  return {
2261
2261
  item: y,
@@ -2272,7 +2272,7 @@ var Ti = { exports: {} };
2272
2272
  j && Oe(j);
2273
2273
  }
2274
2274
  function Oe(y) {
2275
- jt(y.item, y.source) && (H = y.item.cloneNode(!0), oe.emit("cloned", H, y.item, "copy")), L = y.source, _ = y.item, N = G = b(y.item), oe.dragging = !0, oe.emit("drag", _, L);
2275
+ jt(y.item, y.source) && (H = y.item.cloneNode(!0), oe.emit("cloned", H, y.item, "copy")), L = y.source, _ = y.item, N = G = w(y.item), oe.dragging = !0, oe.emit("drag", _, L);
2276
2276
  }
2277
2277
  function nt() {
2278
2278
  return !1;
@@ -2280,7 +2280,7 @@ var Ti = { exports: {} };
2280
2280
  function He() {
2281
2281
  if (oe.dragging) {
2282
2282
  var y = H || _;
2283
- Je(y, S(y));
2283
+ Je(y, x(y));
2284
2284
  }
2285
2285
  }
2286
2286
  function ke() {
@@ -2293,18 +2293,18 @@ var Ti = { exports: {} };
2293
2293
  }
2294
2294
  }
2295
2295
  function Je(y, j) {
2296
- var D = S(y);
2296
+ var D = x(y);
2297
2297
  H && q.copySortSource && j === L && D.removeChild(_), se(j) ? oe.emit("cancel", y, L) : oe.emit("drop", y, j, L, G), J();
2298
2298
  }
2299
2299
  function Qe() {
2300
2300
  if (oe.dragging) {
2301
- var y = H || _, j = S(y);
2301
+ var y = H || _, j = x(y);
2302
2302
  j && j.removeChild(y), oe.emit(H ? "cancel" : "remove", y, j, L), J();
2303
2303
  }
2304
2304
  }
2305
2305
  function k(y) {
2306
2306
  if (oe.dragging) {
2307
- var j = arguments.length > 0 ? y : q.revertOnSpill, D = H || _, W = S(D), K = se(W);
2307
+ var j = arguments.length > 0 ? y : q.revertOnSpill, D = H || _, W = x(D), K = se(W);
2308
2308
  K === !1 && j && (H ? W && W.removeChild(H) : L.insertBefore(D, N)), K || j ? oe.emit("cancel", D, L, L) : oe.emit("drop", D, W, L, G), J();
2309
2309
  }
2310
2310
  }
@@ -2314,11 +2314,11 @@ var Ti = { exports: {} };
2314
2314
  }
2315
2315
  function se(y, j) {
2316
2316
  var D;
2317
- return j !== void 0 ? D = j : I ? D = G : D = b(H || _), y === L && D === N;
2317
+ return j !== void 0 ? D = j : I ? D = G : D = w(H || _), y === L && D === N;
2318
2318
  }
2319
2319
  function ce(y, j, D) {
2320
2320
  for (var W = y; W && !K(); )
2321
- W = S(W);
2321
+ W = x(W);
2322
2322
  return W;
2323
2323
  function K() {
2324
2324
  var te = De(W);
@@ -2336,7 +2336,7 @@ var Ti = { exports: {} };
2336
2336
  I.style.left = j - 2 + "px", I.style.top = D - 2 + "px";
2337
2337
  var W = H || _, K = g(I, j, D), te = ce(K, j, D), xe = te !== null && te !== me;
2338
2338
  (xe || te === null) && (be(), me = te, Fe()), Ot(K, D);
2339
- var he = S(W);
2339
+ var he = x(W);
2340
2340
  if (te === L && H && !q.copySortSource) {
2341
2341
  he && he.removeChild(W);
2342
2342
  return;
@@ -2362,7 +2362,7 @@ var Ti = { exports: {} };
2362
2362
  }
2363
2363
  }
2364
2364
  function Tt(y, j, D) {
2365
- (y === j || y === b(j)) && (G = b(j)), (y === null && D || y !== j && y !== b(j)) && (G = y);
2365
+ (y === j || y === w(j)) && (G = w(j)), (y === null && D || y !== j && y !== w(j)) && (G = y);
2366
2366
  }
2367
2367
  function Et(y) {
2368
2368
  u.rm(y, "gu-hide");
@@ -2381,14 +2381,14 @@ var Ti = { exports: {} };
2381
2381
  ie = !1, q.mirrorContainer.appendChild(Y);
2382
2382
  }
2383
2383
  function kt() {
2384
- I && (u.rm(q.mirrorContainer, "gu-unselectable"), m(p, "remove", "mousemove", Ie), S(I).removeChild(I), I = null);
2384
+ I && (u.rm(q.mirrorContainer, "gu-unselectable"), m(p, "remove", "mousemove", Ie), x(I).removeChild(I), I = null);
2385
2385
  }
2386
2386
  function It() {
2387
- Y && (S(Y).removeChild(Y), Y = null);
2387
+ Y && (x(Y).removeChild(Y), Y = null);
2388
2388
  }
2389
2389
  function ut(y, j) {
2390
- for (var D = j; D !== y && S(D) !== y; )
2391
- D = S(D);
2390
+ for (var D = j; D !== y && x(D) !== y; )
2391
+ D = x(D);
2392
2392
  return D === p ? null : D;
2393
2393
  }
2394
2394
  function ot(y, j) {
@@ -2481,14 +2481,14 @@ var Ti = { exports: {} };
2481
2481
  return Me(K ? D > de.left + U(de) / 2 : W > de.top + O(de) / 2);
2482
2482
  }
2483
2483
  function Me(de) {
2484
- return de ? b(j) : j;
2484
+ return de ? w(j) : j;
2485
2485
  }
2486
2486
  }
2487
2487
  function jt(y, j) {
2488
2488
  return typeof q.copy == "boolean" ? q.copy : q.copy(y, j);
2489
2489
  }
2490
2490
  }
2491
- function f(x) {
2491
+ function f(C) {
2492
2492
  const F = Array.from(window.scrollContainerList);
2493
2493
  if (F.length === 1) {
2494
2494
  const I = Array.from(window.scrollContainerList)[0];
@@ -2496,18 +2496,18 @@ var Ti = { exports: {} };
2496
2496
  }
2497
2497
  const P = d(F);
2498
2498
  for (const I of P)
2499
- if (I.contains(x))
2499
+ if (I.contains(C))
2500
2500
  return I;
2501
2501
  return null;
2502
2502
  }
2503
- function d(x) {
2503
+ function d(C) {
2504
2504
  const F = [];
2505
- return x.forEach((P) => {
2505
+ return C.forEach((P) => {
2506
2506
  const I = document.getElementById(P);
2507
2507
  I && F.push(I);
2508
2508
  }), F.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), F;
2509
2509
  }
2510
- function m(x, F, P, I) {
2510
+ function m(C, F, P, I) {
2511
2511
  var L = {
2512
2512
  mouseup: "touchend",
2513
2513
  mousedown: "touchstart",
@@ -2521,23 +2521,23 @@ var Ti = { exports: {} };
2521
2521
  mousedown: "MSPointerDown",
2522
2522
  mousemove: "MSPointerMove"
2523
2523
  };
2524
- r.navigator.pointerEnabled ? c[F](x, _[P], I) : r.navigator.msPointerEnabled ? c[F](x, Q[P], I) : (c[F](x, L[P], I), c[F](x, P, I));
2524
+ r.navigator.pointerEnabled ? c[F](C, _[P], I) : r.navigator.msPointerEnabled ? c[F](C, Q[P], I) : (c[F](C, L[P], I), c[F](C, P, I));
2525
2525
  }
2526
- function v(x) {
2527
- if (x.touches !== void 0)
2528
- return x.touches.length;
2529
- if (x.which !== void 0 && x.which !== 0)
2530
- return x.which;
2531
- if (x.buttons !== void 0)
2532
- return x.buttons;
2533
- var F = x.button;
2526
+ function v(C) {
2527
+ if (C.touches !== void 0)
2528
+ return C.touches.length;
2529
+ if (C.which !== void 0 && C.which !== 0)
2530
+ return C.which;
2531
+ if (C.buttons !== void 0)
2532
+ return C.buttons;
2533
+ var F = C.button;
2534
2534
  if (F !== void 0)
2535
2535
  return F & 1 ? 1 : F & 2 ? 3 : F & 4 ? 2 : 0;
2536
2536
  }
2537
- function g(x, F, P) {
2538
- x = x || {};
2539
- var I = x.className || "", L;
2540
- return x.className += " gu-hide", L = s.elementFromPoint(F, P), x.className = I, L;
2537
+ function g(C, F, P) {
2538
+ C = C || {};
2539
+ var I = C.className || "", L;
2540
+ return C.className += " gu-hide", L = s.elementFromPoint(F, P), C.className = I, L;
2541
2541
  }
2542
2542
  function M() {
2543
2543
  return !1;
@@ -2545,42 +2545,42 @@ var Ti = { exports: {} };
2545
2545
  function B() {
2546
2546
  return !0;
2547
2547
  }
2548
- function U(x) {
2549
- return x.width || x.right - x.left;
2548
+ function U(C) {
2549
+ return C.width || C.right - C.left;
2550
2550
  }
2551
- function O(x) {
2552
- return x.height || x.bottom - x.top;
2551
+ function O(C) {
2552
+ return C.height || C.bottom - C.top;
2553
2553
  }
2554
- function S(x) {
2555
- return x.parentNode === s ? null : x.parentNode;
2554
+ function x(C) {
2555
+ return C.parentNode === s ? null : C.parentNode;
2556
2556
  }
2557
- function w(x) {
2558
- return x.tagName === "INPUT" || x.tagName === "TEXTAREA" || x.tagName === "SELECT" || h(x);
2557
+ function b(C) {
2558
+ return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || h(C);
2559
2559
  }
2560
- function h(x) {
2561
- return !x || x.contentEditable === "false" ? !1 : x.contentEditable === "true" ? !0 : h(S(x));
2560
+ function h(C) {
2561
+ return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : h(x(C));
2562
2562
  }
2563
- function b(x) {
2564
- return x.nextElementSibling || F();
2563
+ function w(C) {
2564
+ return C.nextElementSibling || F();
2565
2565
  function F() {
2566
- var P = x;
2566
+ var P = C;
2567
2567
  do
2568
2568
  P = P.nextSibling;
2569
2569
  while (P && P.nodeType !== 1);
2570
2570
  return P;
2571
2571
  }
2572
2572
  }
2573
- function T(x) {
2574
- return x.targetTouches && x.targetTouches.length ? x.targetTouches[0] : x.changedTouches && x.changedTouches.length ? x.changedTouches[0] : x;
2573
+ function T(C) {
2574
+ return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
2575
2575
  }
2576
- function A(x, F) {
2576
+ function A(C, F) {
2577
2577
  var P = T(F), I = {
2578
2578
  pageX: "clientX",
2579
2579
  // IE8
2580
2580
  pageY: "clientY"
2581
2581
  // IE8
2582
2582
  };
2583
- return x in I && !(x in P) && I[x] in P && (x = I[x]), P[x];
2583
+ return C in I && !(C in P) && I[C] in P && (C = I[C]), P[C];
2584
2584
  }
2585
2585
  o.exports = l;
2586
2586
  }).call(this, typeof Le < "u" ? Le : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2643,62 +2643,62 @@ var Ti = { exports: {} };
2643
2643
  remove: p,
2644
2644
  fabricate: g
2645
2645
  };
2646
- function f(S, w, h, b) {
2647
- return S.addEventListener(w, h, b);
2646
+ function f(x, b, h, w) {
2647
+ return x.addEventListener(b, h, w);
2648
2648
  }
2649
- function d(S, w, h) {
2650
- return S.attachEvent("on" + w, B(S, w, h));
2649
+ function d(x, b, h) {
2650
+ return x.attachEvent("on" + b, B(x, b, h));
2651
2651
  }
2652
- function m(S, w, h, b) {
2653
- return S.removeEventListener(w, h, b);
2652
+ function m(x, b, h, w) {
2653
+ return x.removeEventListener(b, h, w);
2654
2654
  }
2655
- function v(S, w, h) {
2656
- var b = U(S, w, h);
2657
- if (b)
2658
- return S.detachEvent("on" + w, b);
2655
+ function v(x, b, h) {
2656
+ var w = U(x, b, h);
2657
+ if (w)
2658
+ return x.detachEvent("on" + b, w);
2659
2659
  }
2660
- function g(S, w, h) {
2661
- var b = c.indexOf(w) === -1 ? A() : T();
2662
- S.dispatchEvent ? S.dispatchEvent(b) : S.fireEvent("on" + w, b);
2660
+ function g(x, b, h) {
2661
+ var w = c.indexOf(b) === -1 ? A() : T();
2662
+ x.dispatchEvent ? x.dispatchEvent(w) : x.fireEvent("on" + b, w);
2663
2663
  function T() {
2664
- var x;
2665
- return u.createEvent ? (x = u.createEvent("Event"), x.initEvent(w, !0, !0)) : u.createEventObject && (x = u.createEventObject()), x;
2664
+ var C;
2665
+ return u.createEvent ? (C = u.createEvent("Event"), C.initEvent(b, !0, !0)) : u.createEventObject && (C = u.createEventObject()), C;
2666
2666
  }
2667
2667
  function A() {
2668
- return new a(w, { detail: h });
2668
+ return new a(b, { detail: h });
2669
2669
  }
2670
2670
  }
2671
- function M(S, w, h) {
2671
+ function M(x, b, h) {
2672
2672
  return function(T) {
2673
2673
  var A = T || r.event;
2674
2674
  A.target = A.target || A.srcElement, A.preventDefault = A.preventDefault || function() {
2675
2675
  A.returnValue = !1;
2676
2676
  }, A.stopPropagation = A.stopPropagation || function() {
2677
2677
  A.cancelBubble = !0;
2678
- }, A.which = A.which || A.keyCode, h.call(S, A);
2678
+ }, A.which = A.which || A.keyCode, h.call(x, A);
2679
2679
  };
2680
2680
  }
2681
- function B(S, w, h) {
2682
- var b = U(S, w, h) || M(S, w, h);
2681
+ function B(x, b, h) {
2682
+ var w = U(x, b, h) || M(x, b, h);
2683
2683
  return l.push({
2684
- wrapper: b,
2685
- element: S,
2686
- type: w,
2684
+ wrapper: w,
2685
+ element: x,
2686
+ type: b,
2687
2687
  fn: h
2688
- }), b;
2688
+ }), w;
2689
2689
  }
2690
- function U(S, w, h) {
2691
- var b = O(S, w, h);
2692
- if (b) {
2693
- var T = l[b].wrapper;
2694
- return l.splice(b, 1), T;
2690
+ function U(x, b, h) {
2691
+ var w = O(x, b, h);
2692
+ if (w) {
2693
+ var T = l[w].wrapper;
2694
+ return l.splice(w, 1), T;
2695
2695
  }
2696
2696
  }
2697
- function O(S, w, h) {
2698
- var b, T;
2699
- for (b = 0; b < l.length; b++)
2700
- if (T = l[b], T.element === S && T.type === w && T.fn === h)
2701
- return b;
2697
+ function O(x, b, h) {
2698
+ var w, T;
2699
+ for (w = 0; w < l.length; w++)
2700
+ if (T = l[w], T.element === x && T.type === b && T.fn === h)
2701
+ return w;
2702
2702
  }
2703
2703
  }).call(this, typeof Le < "u" ? Le : typeof self < "u" ? self : typeof window < "u" ? window : {});
2704
2704
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2794,23 +2794,23 @@ var Ti = { exports: {} };
2794
2794
  if (!d) {
2795
2795
  var O = p(g);
2796
2796
  d = !0;
2797
- for (var S = f.length; S; ) {
2798
- for (m = f, f = []; ++v < S; )
2797
+ for (var x = f.length; x; ) {
2798
+ for (m = f, f = []; ++v < x; )
2799
2799
  m && m[v].run();
2800
- v = -1, S = f.length;
2800
+ v = -1, x = f.length;
2801
2801
  }
2802
2802
  m = null, d = !1, l(O);
2803
2803
  }
2804
2804
  }
2805
2805
  r.nextTick = function(O) {
2806
- var S = new Array(arguments.length - 1);
2806
+ var x = new Array(arguments.length - 1);
2807
2807
  if (arguments.length > 1)
2808
- for (var w = 1; w < arguments.length; w++)
2809
- S[w - 1] = arguments[w];
2810
- f.push(new B(O, S)), f.length === 1 && !d && p(M);
2808
+ for (var b = 1; b < arguments.length; b++)
2809
+ x[b - 1] = arguments[b];
2810
+ f.push(new B(O, x)), f.length === 1 && !d && p(M);
2811
2811
  };
2812
- function B(O, S) {
2813
- this.fun = O, this.array = S;
2812
+ function B(O, x) {
2813
+ this.fun = O, this.array = x;
2814
2814
  }
2815
2815
  B.prototype.run = function() {
2816
2816
  this.fun.apply(null, this.array);
@@ -2903,7 +2903,7 @@ const Ei = {
2903
2903
  const {
2904
2904
  locale: t,
2905
2905
  t: o
2906
- } = St(), i = C(n.animate), r = "fadeOut", a = $(() => n.options), c = C(!1), u = $(() => a.value.title && a.value.message), s = $(() => !a.value.title && a.value.message), p = $(() => {
2906
+ } = St(), i = S(n.animate), r = "fadeOut", a = $(() => n.options), c = S(!1), u = $(() => a.value.title && a.value.message), s = $(() => !a.value.title && a.value.message), p = $(() => {
2907
2907
  const O = {
2908
2908
  animated: c.value,
2909
2909
  toast: !0,
@@ -2911,10 +2911,10 @@ const Ei = {
2911
2911
  };
2912
2912
  return O[n.animate] = !1, O[r] = c.value, O["toasty-type-" + a.value.type] = !0, a.value.theme && (O[a.value.theme] = !0), O;
2913
2913
  }), l = $(() => {
2914
- const w = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, h = {
2914
+ const b = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, h = {
2915
2915
  "f-icon": !0
2916
2916
  };
2917
- return h[w] = !0, h;
2917
+ return h[b] = !0, h;
2918
2918
  }), f = $(() => a.value.title || a.value.message), d = $(() => n.showCloseButton), m = $(() => !!a.value.buttons || !!e.slots.default), v = $(() => t.value === "en" ? {
2919
2919
  wordBreak: "keep-all",
2920
2920
  overflowWrap: "break-word"
@@ -2924,7 +2924,7 @@ const Ei = {
2924
2924
  e.emit("close", a.value);
2925
2925
  }, 200);
2926
2926
  }
2927
- function M(O, S) {
2927
+ function M(O, x) {
2928
2928
  }
2929
2929
  function B(O) {
2930
2930
  return `f-preten-link ${O.customClass ? O.customClass : ""}`;
@@ -2936,10 +2936,10 @@ const Ei = {
2936
2936
  var O;
2937
2937
  return E(lt, null, [E("div", {
2938
2938
  class: "after-toast-msg text-right"
2939
- }, [!e.slots.default && ((O = a.value.buttons) == null ? void 0 : O.map((S) => E("span", {
2940
- class: B(S),
2941
- onClick: (w) => void 0
2942
- }, [S.text]))), e.slots.default && e.slots.default()])]);
2939
+ }, [!e.slots.default && ((O = a.value.buttons) == null ? void 0 : O.map((x) => E("span", {
2940
+ class: B(x),
2941
+ onClick: (b) => void 0
2942
+ }, [x.text]))), e.slots.default && e.slots.default()])]);
2943
2943
  };
2944
2944
  return () => E("div", {
2945
2945
  class: p.value,
@@ -2991,7 +2991,7 @@ const Ei = {
2991
2991
  right: 12,
2992
2992
  top: 20,
2993
2993
  bottom: 12
2994
- }, i = C(), r = C(n.options), a = C(n.showCloseButton), c = $(() => n.position || "bottom-right"), u = $(() => n.timeout != null ? n.timeout : 3e3), s = $(() => {
2994
+ }, i = S(), r = S(n.options), a = S(n.showCloseButton), c = $(() => n.position || "bottom-right"), u = $(() => n.timeout != null ? n.timeout : 3e3), s = $(() => {
2995
2995
  const f = n.bottom ? n.bottom : o.bottom, d = n.top ? n.top : o.top, m = {
2996
2996
  transition: "all 0.2s ease",
2997
2997
  left: c.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -3050,7 +3050,7 @@ class Fi {
3050
3050
  const a = Jt({
3051
3051
  setup() {
3052
3052
  var s;
3053
- const c = C();
3053
+ const c = S();
3054
3054
  function u() {
3055
3055
  c.value.container.style.transform = "scale(0)", setTimeout(() => {
3056
3056
  t.updateNotifyPositionForClose(i, c), a.unmount();
@@ -3309,23 +3309,23 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3309
3309
  hasLeftFixedColumn: U,
3310
3310
  hasRightFixedColumn: O
3311
3311
  } = a, {
3312
- gridDataStyle: S,
3313
- leftFixedGridDataStyle: w,
3312
+ gridDataStyle: x,
3313
+ leftFixedGridDataStyle: b,
3314
3314
  rightFixedGridDataStyle: h
3315
3315
  } = d, {
3316
- renderDataRow: b
3317
- } = Un(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [b];
3316
+ renderDataRow: w
3317
+ } = Un(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [w];
3318
3318
  function A(L, _) {
3319
3319
  const Q = M(L);
3320
3320
  return g.value.filter((V) => V.visible !== !1).map((V, N) => T[V.type](V, Q, _, N));
3321
3321
  }
3322
- function x() {
3322
+ function C() {
3323
3323
  return E("div", {
3324
3324
  ref: o,
3325
3325
  class: "fv-grid-content-left-fixed"
3326
3326
  }, [E("div", {
3327
3327
  class: "fv-grid-data",
3328
- style: w.value
3328
+ style: b.value
3329
3329
  }, [A(B.value.leftColumns.filter((L) => L.visible), "left")])]);
3330
3330
  }
3331
3331
  function F() {
@@ -3334,7 +3334,7 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3334
3334
  class: "fv-grid-content-primary"
3335
3335
  }, [E("div", {
3336
3336
  class: "fv-grid-data",
3337
- style: S.value
3337
+ style: x.value
3338
3338
  }, [A(B.value.primaryColumns.filter((L) => L.visible), "primary")])]);
3339
3339
  }
3340
3340
  function P() {
@@ -3348,7 +3348,7 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3348
3348
  }
3349
3349
  function I() {
3350
3350
  const L = [];
3351
- return U.value && L.push(x()), L.push(F()), O.value && L.push(P()), L;
3351
+ return U.value && L.push(C()), L.push(F()), O.value && L.push(P()), L;
3352
3352
  }
3353
3353
  return {
3354
3354
  renderDataArea: I
@@ -3360,19 +3360,19 @@ const Ni = /* @__PURE__ */ Xe({
3360
3360
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
3361
3361
  setup(n, e) {
3362
3362
  var qt, _t;
3363
- const o = ((qt = n.rowOption) == null ? void 0 : qt.height) || 28, i = C(20), r = C(n.columns), a = qn(n), {
3363
+ const o = ((qt = n.rowOption) == null ? void 0 : qt.height) || 28, i = S(20), r = S(n.columns), a = qn(n), {
3364
3364
  idField: c
3365
- } = a, u = C(), s = C(), p = C(), l = C(), f = C(), d = C([]), m = C(!1), v = C(((_t = n.rowOption) == null ? void 0 : _t.wrapContent) || !1), g = _n(n, a), M = Wn(n, e), B = Gn(n), {
3365
+ } = a, u = S(), s = S(), p = S(), l = S(), f = S(), d = S([]), m = S(!1), v = S(((_t = n.rowOption) == null ? void 0 : _t.wrapContent) || !1), g = _n(n, a), M = Wn(n, e), B = Gn(n), {
3366
3366
  collapseField: U
3367
3367
  } = B, {
3368
3368
  showLoading: O,
3369
- renderLoading: S
3370
- } = Xn(n, u), w = Yn(n, /* @__PURE__ */ new Map(), M, B, a), {
3369
+ renderLoading: x
3370
+ } = Xn(n, u), b = Yn(n, /* @__PURE__ */ new Map(), M, B, a), {
3371
3371
  dataView: h
3372
- } = w, b = Zn(n, w, a, d, e), {
3372
+ } = b, w = Zn(n, b, a, d, e), {
3373
3373
  showSelection: T,
3374
3374
  selectedValues: A
3375
- } = b, x = Jn(n, d, w, a, b, e), F = $(() => n.disabled), P = $(() => n.virtualized ? Math.min(w.dataView.value.length, i.value) : w.dataView.value.length), I = Qn(n, w), {
3375
+ } = w, C = Jn(n, d, b, a, w, e), F = $(() => n.disabled), P = $(() => n.virtualized ? Math.min(b.dataView.value.length, i.value) : b.dataView.value.length), I = Qn(n, b), {
3376
3376
  shouldRenderPagination: L
3377
3377
  } = I, {
3378
3378
  containerStyleObject: _
@@ -3390,12 +3390,12 @@ const Ni = /* @__PURE__ */ Xe({
3390
3390
  columnContext: ae,
3391
3391
  updateColumnRenderContext: Y
3392
3392
  } = H;
3393
- me(w, ee);
3394
- const ie = io(n, ae), ue = ro(n, e, b, a), ne = ao(n, e, a, ue, d), q = lo(n), oe = so(n, ne, q), De = uo(n, w, ne, B, a, q, oe), Ne = co(n, r, w, P, 0, De), {
3393
+ me(b, ee);
3394
+ const ie = io(n, ae), ue = ro(n, e, w, a), ne = ao(n, e, a, ue, d), q = lo(n), oe = so(n, ne, q), De = uo(n, b, ne, B, a, q, oe), Ne = co(n, r, b, P, 0, De), {
3395
3395
  getVisualData: Te
3396
- } = Ne, Ye = fo(n, ae), Ae = po(n, b), {
3396
+ } = Ne, Ye = fo(n, ae), Ae = po(n, w), {
3397
3397
  sidebarWidth: Ze
3398
- } = Ae, le = mo(n, w, d, ae, Ne, P, 0, Ze), {
3398
+ } = Ae, le = mo(n, b, d, ae, Ne, P, 0, Ze), {
3399
3399
  onWheel: tt,
3400
3400
  dataGridWidth: Pe,
3401
3401
  viewPortHeight: Ve,
@@ -3404,7 +3404,7 @@ const Ni = /* @__PURE__ */ Xe({
3404
3404
  updateVisibleRowsOnLatestVisibleScope: nt
3405
3405
  } = le, He = vo(n, ae, s, Ee, ie), {
3406
3406
  calculateColumnsSize: ke
3407
- } = He, je = go(), Je = ho(s, f, w, je, le), Qe = yo(n, e, H, w, ie, g, le), k = $(() => {
3407
+ } = He, je = go(), Je = ho(s, f, b, je, le), Qe = yo(n, e, H, b, ie, g, le), k = $(() => {
3408
3408
  const z = {
3409
3409
  "fv-grid": !0,
3410
3410
  "fv-grid-bordered": n.showBorder,
@@ -3418,13 +3418,13 @@ const Ni = /* @__PURE__ */ Xe({
3418
3418
  "fv-grid-wrap-content": v.value
3419
3419
  })), {
3420
3420
  renderDataArea: se
3421
- } = Ii(n, e, p, l, f, Ye, H, w, ne, B, ue, b, x, le, Ne, q, d), {
3421
+ } = Ii(n, e, p, l, f, Ye, H, b, ne, B, ue, w, C, le, Ne, q, d), {
3422
3422
  renderGridHeader: ce,
3423
3423
  renderGridColumnResizeOverlay: Ie,
3424
3424
  shouldShowHeader: Tt
3425
- } = bo(n, e, s, l, f, H, w, Qe, Je, M, je, He, ie, b, Ae, ee, le, Ee, d), {
3425
+ } = bo(n, e, s, l, f, H, b, Qe, Je, M, je, He, ie, w, Ae, ee, le, Ee, d), {
3426
3426
  renderDataGridSidebar: Et
3427
- } = wo(n, ue, b, Ae, le), {
3427
+ } = wo(n, ue, w, Ae, le), {
3428
3428
  renderDisableMask: Mt
3429
3429
  } = Co(), {
3430
3430
  renderHorizontalScrollbar: Ft
@@ -3441,36 +3441,36 @@ const Ni = /* @__PURE__ */ Xe({
3441
3441
  Ge(() => {
3442
3442
  s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), d.value = Te(0, P.value + 0 - 1), zn(s.value, kt), ke(), et(() => {
3443
3443
  s.value && (Pe.value = s.value.clientWidth), p.value && (Ee.value = p.value.clientWidth, Ve.value = p.value.clientHeight);
3444
- })), O.value && S();
3444
+ })), O.value && x();
3445
3445
  }), Ct(() => {
3446
3446
  }), Se(Ee, () => {
3447
3447
  s.value && ke();
3448
3448
  });
3449
3449
  function It(z) {
3450
- w.collapseTo(z), w.reOrderVisibleIndex(), Oe();
3450
+ b.collapseTo(z), b.reOrderVisibleIndex(), Oe();
3451
3451
  }
3452
3452
  function ut(z) {
3453
- w.expandTo(z), w.reOrderVisibleIndex(), Oe();
3453
+ b.expandTo(z), b.reOrderVisibleIndex(), Oe();
3454
3454
  }
3455
3455
  function ot() {
3456
- const z = b.getSelectionRow();
3456
+ const z = w.getSelectionRow();
3457
3457
  return z ? z.dataIndex - 1 : -1;
3458
3458
  }
3459
3459
  function Nt() {
3460
3460
  const z = ot();
3461
- w.insertNewDataItem(z), d.value = Te(0, P.value + 0 - 1);
3461
+ b.insertNewDataItem(z), d.value = Te(0, P.value + 0 - 1);
3462
3462
  }
3463
3463
  function Pt() {
3464
3464
  const z = ot();
3465
- w.insertNewChildDataItem(z), d.value = Te(0, P.value + 0 - 1);
3465
+ b.insertNewChildDataItem(z), d.value = Te(0, P.value + 0 - 1);
3466
3466
  }
3467
3467
  function Vt(z, Z) {
3468
3468
  const fe = d.value.find((we) => we.raw[c.value] === Z), ge = fe ? fe.dataIndex - 1 : -1;
3469
- w.insertNewChildDataItems(z, ge);
3469
+ b.insertNewChildDataItems(z, ge);
3470
3470
  }
3471
3471
  function Ot() {
3472
- const z = ot(), Z = x.getNextSelectableHierarchyItemId(z);
3473
- w.removeHierarchyDataItem(z), d.value = Te(0, P.value + 0 - 1), Z && b.selectItemById(Z);
3472
+ const z = ot(), Z = C.getNextSelectableHierarchyItemId(z);
3473
+ b.removeHierarchyDataItem(z), d.value = Te(0, P.value + 0 - 1), Z && C.selectItemById(Z);
3474
3474
  }
3475
3475
  function ct(z) {
3476
3476
  ne.onEditingRow(z);
@@ -3482,16 +3482,16 @@ const Ni = /* @__PURE__ */ Xe({
3482
3482
  ne.cancelEditingRow(z);
3483
3483
  }
3484
3484
  function j(z) {
3485
- z && (r.value = z, V(r), Y(r.value), me(w, ee), ke());
3485
+ z && (r.value = z, V(r), Y(r.value), me(b, ee), ke());
3486
3486
  }
3487
3487
  Se(() => n.columns, (z) => {
3488
3488
  j(z);
3489
3489
  });
3490
3490
  function D(z, Z) {
3491
- z && (w.load(z), w.reOrderVisibleIndex(), Z != null && Z.keepScrollPosition ? le.scrollTo(le.offsetY.value) : Oe());
3491
+ z && (b.load(z), b.reOrderVisibleIndex(), Z != null && Z.keepScrollPosition ? le.scrollTo(le.offsetY.value) : Oe());
3492
3492
  }
3493
3493
  function W(z) {
3494
- b.selectItemById(z);
3494
+ C.selectItemById(z);
3495
3495
  }
3496
3496
  function K(z) {
3497
3497
  const Z = d.value.find((fe) => fe.raw[a.idField.value] === z);
@@ -3501,25 +3501,25 @@ const Ni = /* @__PURE__ */ Xe({
3501
3501
  ue.activeRowById(z);
3502
3502
  }
3503
3503
  function xe(z) {
3504
- b.selectItemByIds(z);
3504
+ C.selectItemByIds(z);
3505
3505
  }
3506
3506
  function he() {
3507
- return b.getSelectedItems();
3507
+ return w.getSelectedItems();
3508
3508
  }
3509
3509
  function ye() {
3510
- b.clearSelection();
3510
+ w.clearSelection();
3511
3511
  }
3512
3512
  const Me = $(() => !d.value || !d.value.length), {
3513
3513
  renderEmpty: de
3514
3514
  } = To(n, e);
3515
3515
  function Fe() {
3516
- return b.getSelectionRow();
3516
+ return w.getSelectionRow();
3517
3517
  }
3518
3518
  function be(z) {
3519
- b.unSelectItemByIds(z);
3519
+ C.unSelectItemByIds(z);
3520
3520
  }
3521
3521
  function ve() {
3522
- return b.currentSelectedDataId.value;
3522
+ return w.currentSelectedDataId.value;
3523
3523
  }
3524
3524
  function it(z, Z, fe) {
3525
3525
  const ge = h.value.find((we) => we[c.value] === z);
@@ -3548,15 +3548,15 @@ const Ni = /* @__PURE__ */ Xe({
3548
3548
  } = fe;
3549
3549
  pe && !Re(Z[pe]) && (we.collapse = Z[pe]), Ue && !Re(Z[Ue]) && (we.checked = Z[Ue]), ze && !Re(Z[ze]) && (we.disabled = Z[ze]), qe && !Re(Z[qe]) && (we.visible = Z[qe]);
3550
3550
  }
3551
- d.value = [...d.value.slice(0, Wt), we, ...d.value.slice(Wt + 1)], w.updateSummary();
3551
+ d.value = [...d.value.slice(0, Wt), we, ...d.value.slice(Wt + 1)], b.updateSummary();
3552
3552
  }
3553
3553
  }
3554
3554
  }
3555
3555
  function rt(z) {
3556
- return Object.prototype.hasOwnProperty.call(z, "raw") ? w.hasRealChildren(z.raw) : w.hasRealChildren(z);
3556
+ return Object.prototype.hasOwnProperty.call(z, "raw") ? b.hasRealChildren(z.raw) : b.hasRealChildren(z);
3557
3557
  }
3558
3558
  function at(z) {
3559
- const Z = w.dataView.value.find((fe) => fe[c.value] === z);
3559
+ const Z = b.dataView.value.find((fe) => fe[c.value] === z);
3560
3560
  return Z ? Z[U.value] : "";
3561
3561
  }
3562
3562
  function wn() {
@@ -3573,7 +3573,7 @@ const Ni = /* @__PURE__ */ Xe({
3573
3573
  fe && ue.changeRow(fe);
3574
3574
  }
3575
3575
  function xn() {
3576
- b.keepSelectingOnPaging.value || ye(), w.updateVisibleDataSummary(d.value);
3576
+ w.keepSelectingOnPaging.value || ye(), b.updateVisibleDataSummary(d.value);
3577
3577
  }
3578
3578
  e.expose({
3579
3579
  activeRowById: te,
@@ -3611,7 +3611,7 @@ const Ni = /* @__PURE__ */ Xe({
3611
3611
  ..._.value,
3612
3612
  borderRadius: "5px"
3613
3613
  }));
3614
- Eo(n, e, w, le, I, b);
3614
+ Eo(n, e, b, le, I, w);
3615
3615
  const Mn = $(() => ({
3616
3616
  "d-flex": !0,
3617
3617
  "justify-content-between": L.value && T.value,
@@ -3622,7 +3622,7 @@ const Ni = /* @__PURE__ */ Xe({
3622
3622
  "align-items-center": !0
3623
3623
  })), {
3624
3624
  renderDataGridSummary: Bn
3625
- } = Mo(n, w, H);
3625
+ } = Mo(n, b, H);
3626
3626
  return () => E("div", {
3627
3627
  ref: u,
3628
3628
  class: k.value,
@@ -4214,7 +4214,7 @@ function Ir() {
4214
4214
  return { onCopy: n };
4215
4215
  }
4216
4216
  function Nr(n, e, t, o) {
4217
- const i = C(14), r = C(140), a = C(""), c = C(o.value.length), u = $(() => o.value), s = $(() => ({
4217
+ const i = S(14), r = S(140), a = S(""), c = S(o.value.length), u = $(() => o.value), s = $(() => ({
4218
4218
  "font-size": `${i.value}px`,
4219
4219
  height: "100%"
4220
4220
  }));
@@ -4246,7 +4246,7 @@ function Pr(n, e, t, o) {
4246
4246
  return { getEditorRender: a };
4247
4247
  }
4248
4248
  function Vr() {
4249
- const n = C(!1), e = C("复制成功");
4249
+ const n = S(!1), e = S("复制成功");
4250
4250
  return {
4251
4251
  feedbackStyle: $(() => {
4252
4252
  const o = {
@@ -4305,7 +4305,7 @@ function jr(n, e) {
4305
4305
  const i = $(() => !!n.value && !!n.value.date), r = $(() => {
4306
4306
  const d = n.value && n.value.date || "";
4307
4307
  return `${e.exception.happend} : ${d}`;
4308
- }), a = $(() => !!n.value && !!n.value.detail), c = $(() => n.value ? t(n.value.detail) > 160 : !1), u = C(!1), s = $(() => u.value ? e.exception.collapse : e.exception.expand), p = $(() => {
4308
+ }), a = $(() => !!n.value && !!n.value.detail), c = $(() => n.value ? t(n.value.detail) > 160 : !1), u = S(!1), s = $(() => u.value ? e.exception.collapse : e.exception.expand), p = $(() => {
4309
4309
  const d = e.exception.detail + " : " + (n.value && n.value.detail) || "";
4310
4310
  return u.value ? d : o(d, 160);
4311
4311
  }), l = $(() => ({
@@ -4338,7 +4338,7 @@ function Rr(n) {
4338
4338
  }, null);
4339
4339
  }
4340
4340
  function Lr(n, e, t, o, i) {
4341
- const r = C(n.exceptionInfo), a = $(() => {
4341
+ const r = S(n.exceptionInfo), a = $(() => {
4342
4342
  const m = e.value === "question" ? "warning" : e.value, v = {
4343
4343
  "f-icon": !0
4344
4344
  }, g = `f-icon-${m}`;
@@ -4368,7 +4368,7 @@ function $r(n, e, t, o) {
4368
4368
  onCopy: i
4369
4369
  } = e, {
4370
4370
  toShowFeedback: r
4371
- } = t, a = C(o.exception.copySuccess || "复制成功"), c = C(o.exception.copy || "复制详细信息"), u = C(n.exceptionInfo || {
4371
+ } = t, a = S(o.exception.copySuccess || "复制成功"), c = S(o.exception.copy || "复制详细信息"), u = S(n.exceptionInfo || {
4372
4372
  date: "",
4373
4373
  message: "",
4374
4374
  detail: ""
@@ -4390,7 +4390,7 @@ function $r(n, e, t, o) {
4390
4390
  }, [c.value])]);
4391
4391
  }
4392
4392
  function Dr(n, e, t, o, i) {
4393
- const r = C(n.type), a = C(n.buttons), c = C(n.exceptionInfo), u = C(i.ok || n.okButtonText), s = C(i.cancel || n.cancelButtonText), p = C(n.showCancelButton), l = C(n.showOkButton), f = $(() => !!(a.value && a.value.length)), d = $(() => c.value && c.value.message && c.value.detail), m = $(() => !(a.value && a.value.length) && (l.value || p.value)), v = $r(n, t, o, i);
4393
+ const r = S(n.type), a = S(n.buttons), c = S(n.exceptionInfo), u = S(i.ok || n.okButtonText), s = S(i.cancel || n.cancelButtonText), p = S(n.showCancelButton), l = S(n.showOkButton), f = $(() => !!(a.value && a.value.length)), d = $(() => c.value && c.value.message && c.value.detail), m = $(() => !(a.value && a.value.length) && (l.value || p.value)), v = $r(n, t, o, i);
4394
4394
  u.value === "关闭" ? u.value = i.close : u.value === "知道了" && (u.value = i.exception.roger);
4395
4395
  function g(B) {
4396
4396
  r.value === "question" && e.emit("reject"), e.emit("close");
@@ -4447,7 +4447,7 @@ const vt = /* @__PURE__ */ Xe({
4447
4447
  props: Mr,
4448
4448
  emits: ["accept", "reject", "close"],
4449
4449
  setup(n, e) {
4450
- const t = Ar(n), o = C(n.type), i = C(n.title), r = C(n.detail), a = $(() => {
4450
+ const t = Ar(n), o = S(n.type), i = S(n.title), r = S(n.detail), a = $(() => {
4451
4451
  const M = {
4452
4452
  "modal-tips": !0,
4453
4453
  "d-flex": !0,
@@ -4791,7 +4791,7 @@ class _e {
4791
4791
  }
4792
4792
  }
4793
4793
  function ta(n, e) {
4794
- const t = C(), o = C(), i = C(), r = C(), a = C(), c = C(), u = C(), s = C(), p = C(), l = C(), f = C(), d = C(n.resizeable), m = C(), v = C(n.draggable), g = C(!1);
4794
+ const t = S(), o = S(), i = S(), r = S(), a = S(), c = S(), u = S(), s = S(), p = S(), l = S(), f = S(), d = S(n.resizeable), m = S(), v = S(n.draggable), g = S(!1);
4795
4795
  function M() {
4796
4796
  const V = o.value || document.body, N = window.getComputedStyle(V);
4797
4797
  if (!N || !t.value)
@@ -4824,7 +4824,7 @@ function ta(n, e) {
4824
4824
  const V = n.minHeight ? n.minHeight : 1, N = n.minWidth ? n.minWidth : 1;
4825
4825
  c.value && u.value && s.value && r.value && (c.value.height < V && (c.value.height = V, s.value.n && a.value && (u.value.y = a.value.y + (r.value.height - V))), c.value.width < N && (c.value.width = N, s.value.w && a.value && (u.value.x = a.value.x + (r.value.width - N))), n.maxHeight && c.value.height > n.maxHeight && (c.value.height = n.maxHeight, a.value && s.value.n && (u.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && c.value.width > n.maxWidth && (c.value.width = n.maxWidth, s.value.w && a.value && (u.value.x = a.value.x + (r.value.width - n.maxWidth))));
4826
4826
  }
4827
- function S() {
4827
+ function x() {
4828
4828
  if (o.value) {
4829
4829
  const V = l.value;
4830
4830
  if (u.value && c.value && s.value && r.value) {
@@ -4833,20 +4833,20 @@ function ta(n, e) {
4833
4833
  }
4834
4834
  }
4835
4835
  }
4836
- function w(V) {
4836
+ function b(V) {
4837
4837
  if (!i.value || !r.value || !a.value || !s.value)
4838
4838
  return;
4839
4839
  V.subtract(i.value);
4840
4840
  const N = V.x, G = V.y;
4841
- s.value.n ? (u.value.y = a.value.y + G, c.value.height = r.value.height - G) : s.value.s && (c.value.height = r.value.height + G), s.value.e ? c.value.width = r.value.width + N : s.value.w && (c.value.width = r.value.width - N, u.value.x = a.value.x + N), S(), O(), U();
4841
+ s.value.n ? (u.value.y = a.value.y + G, c.value.height = r.value.height - G) : s.value.s && (c.value.height = r.value.height + G), s.value.e ? c.value.width = r.value.width + N : s.value.w && (c.value.width = r.value.width - N, u.value.x = a.value.x + N), x(), O(), U();
4842
4842
  }
4843
4843
  function h(V) {
4844
4844
  if (!p.value)
4845
4845
  return;
4846
4846
  const N = re.fromEvent(V);
4847
- N && w(N);
4847
+ N && b(N);
4848
4848
  }
4849
- function b() {
4849
+ function w() {
4850
4850
  if (t.value) {
4851
4851
  const {
4852
4852
  width: V,
@@ -4869,7 +4869,7 @@ function ta(n, e) {
4869
4869
  }
4870
4870
  function T(V) {
4871
4871
  if (t.value) {
4872
- const N = b();
4872
+ const N = w();
4873
4873
  f.value = N;
4874
4874
  }
4875
4875
  i.value = void 0, r.value = null, a.value = null, c.value = null, u.value = null, s.value = null, p.value = null, document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T);
@@ -4877,48 +4877,48 @@ function ta(n, e) {
4877
4877
  function A() {
4878
4878
  document.addEventListener("mousemove", h), document.addEventListener("mouseup", T);
4879
4879
  }
4880
- function x(V) {
4880
+ function C(V) {
4881
4881
  V instanceof MouseEvent && V.button === 2 || v.value && (document.body.click(), V.stopPropagation(), V.preventDefault(), i.value = re.fromEvent(V), p.value = V.target, B(V), A());
4882
4882
  }
4883
4883
  function F(V) {
4884
4884
  return t.value = V, d.value && E(lt, null, [E("div", {
4885
4885
  class: "fv-resizable-handle fv-resizable-n",
4886
4886
  type: "n",
4887
- onMousedown: (N) => x(N)
4887
+ onMousedown: (N) => C(N)
4888
4888
  }, null), E("div", {
4889
4889
  class: "fv-resizable-handle fv-resizable-e",
4890
4890
  type: "e",
4891
- onMousedown: (N) => x(N)
4891
+ onMousedown: (N) => C(N)
4892
4892
  }, null), E("div", {
4893
4893
  class: "fv-resizable-handle fv-resizable-s",
4894
4894
  type: "s",
4895
- onMousedown: (N) => x(N)
4895
+ onMousedown: (N) => C(N)
4896
4896
  }, null), E("div", {
4897
4897
  class: "fv-resizable-handle fv-resizable-w",
4898
4898
  type: "w",
4899
- onMousedown: (N) => x(N)
4899
+ onMousedown: (N) => C(N)
4900
4900
  }, null), E("div", {
4901
4901
  class: "fv-resizable-handle fv-resizable-ne",
4902
4902
  type: "ne",
4903
- onMousedown: (N) => x(N)
4903
+ onMousedown: (N) => C(N)
4904
4904
  }, null), E("div", {
4905
4905
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4906
4906
  type: "se",
4907
- onMousedown: (N) => x(N)
4907
+ onMousedown: (N) => C(N)
4908
4908
  }, null), E("div", {
4909
4909
  class: "fv-resizable-handle fv-resizable-sw",
4910
4910
  type: "sw",
4911
- onMousedown: (N) => x(N)
4911
+ onMousedown: (N) => C(N)
4912
4912
  }, null), E("div", {
4913
4913
  class: "fv-resizable-handle fv-resizable-nw",
4914
4914
  type: "nw",
4915
- onMousedown: (N) => x(N)
4915
+ onMousedown: (N) => C(N)
4916
4916
  }, null)]);
4917
4917
  }
4918
4918
  function P(V = !0) {
4919
4919
  document.body.click();
4920
4920
  const N = o.value || document.body, G = _e.getCurrent(N), H = t.value;
4921
- V && H && (m.value = b(), m.value.transform = H.style.transform), G && H && (c.value = G, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", f.value = {
4921
+ V && H && (m.value = w(), m.value.transform = H.style.transform), G && H && (c.value = G, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", f.value = {
4922
4922
  size: c.value,
4923
4923
  position: {
4924
4924
  x: 0,
@@ -4978,37 +4978,37 @@ function ta(n, e) {
4978
4978
  };
4979
4979
  }
4980
4980
  function na(n, e, t) {
4981
- const o = C(), i = C(n.draggable), r = C(n.lockAxis), a = C(), c = C(), u = C(!1), s = C(new re(0, 0)), p = C(new re(0, 0)), l = C(new re(0, 0)), f = C(new re(0, 0));
4981
+ const o = S(), i = S(n.draggable), r = S(n.lockAxis), a = S(), c = S(), u = S(!1), s = S(new re(0, 0)), p = S(new re(0, 0)), l = S(new re(0, 0)), f = S(new re(0, 0));
4982
4982
  Se(() => t.value, (h) => {
4983
4983
  a.value.style.cursor = h ? "move" : "default";
4984
4984
  });
4985
- function d(h, b) {
4986
- if (b.tagName === "BUTTON")
4985
+ function d(h, w) {
4986
+ if (w.tagName === "BUTTON")
4987
4987
  return !1;
4988
- if (b === h)
4988
+ if (w === h)
4989
4989
  return !0;
4990
- for (const T in b.children)
4991
- if (Object.prototype.hasOwnProperty.call(b.children, T) && d(h, b.children[T]))
4990
+ for (const T in w.children)
4991
+ if (Object.prototype.hasOwnProperty.call(w.children, T) && d(h, w.children[T]))
4992
4992
  return !0;
4993
4993
  return !1;
4994
4994
  }
4995
4995
  function m() {
4996
- var A, x;
4997
- let h = l.value.x + p.value.x, b = l.value.y + p.value.y;
4998
- r.value === "x" ? (h = ((A = s.value) == null ? void 0 : A.x) || 0, l.value.x = 0) : r.value === "y" && (b = ((x = s.value) == null ? void 0 : x.y) || 0, l.value.y = 0);
4999
- const T = `translate3d(${Math.round(h)}px, ${Math.round(b)}px, 0px)`;
5000
- o.value && (o.value.style.transform = T), f.value.x = h, f.value.y = b;
4996
+ var A, C;
4997
+ let h = l.value.x + p.value.x, w = l.value.y + p.value.y;
4998
+ r.value === "x" ? (h = ((A = s.value) == null ? void 0 : A.x) || 0, l.value.x = 0) : r.value === "y" && (w = ((C = s.value) == null ? void 0 : C.y) || 0, l.value.y = 0);
4999
+ const T = `translate3d(${Math.round(h)}px, ${Math.round(w)}px, 0px)`;
5000
+ o.value && (o.value.style.transform = T), f.value.x = h, f.value.y = w;
5001
5001
  }
5002
5002
  function v() {
5003
5003
  if (!c.value || !o.value)
5004
5004
  return null;
5005
- const h = c.value.getBoundingClientRect(), b = o.value.getBoundingClientRect(), T = {
5006
- top: h.top < b.top,
5007
- right: h.right > b.right,
5008
- bottom: h.bottom > b.bottom,
5009
- left: h.left < b.left
5005
+ const h = c.value.getBoundingClientRect(), w = o.value.getBoundingClientRect(), T = {
5006
+ top: h.top < w.top,
5007
+ right: h.right > w.right,
5008
+ bottom: h.bottom > w.bottom,
5009
+ left: h.left < w.left
5010
5010
  };
5011
- return T.top || (l.value.y -= b.top - h.top), T.bottom || (l.value.y -= b.bottom - h.bottom), T.right || (l.value.x -= b.right - h.right), T.left || (l.value.x -= b.left - h.left), m(), T;
5011
+ return T.top || (l.value.y -= w.top - h.top), T.bottom || (l.value.y -= w.bottom - h.bottom), T.right || (l.value.x -= w.right - h.right), T.left || (l.value.x -= w.left - h.left), m(), T;
5012
5012
  }
5013
5013
  function g(h) {
5014
5014
  h && (s.value && h.subtract(s.value), l.value.set(h), m(), v());
@@ -5031,29 +5031,29 @@ function na(n, e, t) {
5031
5031
  }
5032
5032
  p.value.reset();
5033
5033
  }
5034
- function S(h) {
5034
+ function x(h) {
5035
5035
  if (!t.value || h instanceof MouseEvent && h.button === 2)
5036
5036
  return;
5037
- const b = h.target || h.srcElement;
5038
- a.value !== void 0 && b && !d(b, a.value) || i.value !== !1 && (document.body.click(), h.stopPropagation(), h.preventDefault(), s.value = re.fromEvent(h, o.value), O(), U());
5037
+ const w = h.target || h.srcElement;
5038
+ a.value !== void 0 && w && !d(w, a.value) || i.value !== !1 && (document.body.click(), h.stopPropagation(), h.preventDefault(), s.value = re.fromEvent(h, o.value), O(), U());
5039
5039
  }
5040
- function w(h, b, T) {
5041
- if (i.value && b) {
5040
+ function b(h, w, T) {
5041
+ if (i.value && w) {
5042
5042
  if (h)
5043
5043
  a.value = h;
5044
5044
  else if (n.dragHandle) {
5045
5045
  if (n.dragHandle instanceof HTMLElement)
5046
5046
  a.value = n.dragHandle;
5047
5047
  else if (typeof n.dragHandle == "string") {
5048
- const A = b.querySelector(n.dragHandle);
5048
+ const A = w.querySelector(n.dragHandle);
5049
5049
  A && (a.value = A);
5050
5050
  }
5051
5051
  }
5052
- o.value = b, c.value = T, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", S)) : i.value = !1;
5052
+ o.value = w, c.value = T, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", x)) : i.value = !1;
5053
5053
  }
5054
5054
  }
5055
5055
  return {
5056
- registerDraggle: w,
5056
+ registerDraggle: b,
5057
5057
  resetTranslate: O
5058
5058
  };
5059
5059
  }
@@ -5068,7 +5068,7 @@ function hn(n, e) {
5068
5068
  }
5069
5069
  }
5070
5070
  function oa(n, e) {
5071
- const t = C(n.enableEsc);
5071
+ const t = S(n.enableEsc);
5072
5072
  let o = null;
5073
5073
  return t.value ? (o = hn("Escape", (i) => {
5074
5074
  e.emit("esc", { event: i.event, type: "esc" });
@@ -5077,7 +5077,7 @@ function oa(n, e) {
5077
5077
  }) : null;
5078
5078
  }
5079
5079
  function ia(n, e) {
5080
- const t = C(n.enableEnter);
5080
+ const t = S(n.enableEnter);
5081
5081
  let o = null;
5082
5082
  return t.value ? (o = hn("Enter", (i) => {
5083
5083
  e.emit("enter", { event: i.event, type: "enter" });
@@ -5090,12 +5090,12 @@ const We = /* @__PURE__ */ Xe({
5090
5090
  props: gn,
5091
5091
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
5092
5092
  setup(n, e) {
5093
- const t = C(n.width || 300), o = C(n.height || 200), i = C(n.modelValue), r = C(""), a = C(n.class), c = C(n.fitContent), u = C(n.showHeader), s = C(""), p = C(n.showCloseButton), l = C(n.showMaxButton), f = C(!1), d = C(n.dialogType), m = C(n.src), v = C(""), g = C(n.showButtons), M = C(n.title), B = C(n.containment || null), U = C(), {
5093
+ const t = S(n.width || 300), o = S(n.height || 200), i = S(n.modelValue), r = S(""), a = S(n.class), c = S(n.fitContent), u = S(n.showHeader), s = S(""), p = S(n.showCloseButton), l = S(n.showMaxButton), f = S(!1), d = S(n.dialogType), m = S(n.src), v = S(""), g = S(n.showButtons), M = S(n.title), B = S(n.containment || null), U = S(), {
5094
5094
  t: O
5095
5095
  } = St();
5096
5096
  M.value === "错误提示" && (M.value = O("messageBox.errorTitle"));
5097
- const S = C(!1);
5098
- function w(k, J) {
5097
+ const x = S(!1);
5098
+ function b(k, J) {
5099
5099
  const se = J ? "accept" : "cancel";
5100
5100
  Promise.resolve().then(() => {
5101
5101
  var ce;
@@ -5111,16 +5111,16 @@ const We = /* @__PURE__ */ Xe({
5111
5111
  text: O("messageBox.cancel") || "取消",
5112
5112
  class: "btn btn-secondary",
5113
5113
  handle: (k) => {
5114
- w(k, !1);
5114
+ b(k, !1);
5115
5115
  }
5116
5116
  }, {
5117
5117
  name: "accept",
5118
5118
  text: O("messageBox.ok") || "确定",
5119
5119
  class: "btn btn-primary",
5120
5120
  handle: (k) => {
5121
- w(k, !0);
5121
+ b(k, !0);
5122
5122
  }
5123
- }], b = C(n.buttons && n.buttons.length ? n.buttons : h), T = $(() => !!s.value), A = $(() => !!g.value && !!b.value), x = C(), F = C(), P = C(!1), {
5123
+ }], w = S(n.buttons && n.buttons.length ? n.buttons : h), T = $(() => !!s.value), A = $(() => !!g.value && !!w.value), C = S(), F = S(), P = S(!1), {
5124
5124
  renderResizeBar: I,
5125
5125
  maximize: L,
5126
5126
  restore: _,
@@ -5143,8 +5143,8 @@ const We = /* @__PURE__ */ Xe({
5143
5143
  k !== J && (M.value = k);
5144
5144
  }), Se(() => n.modelValue, (k, J) => {
5145
5145
  k !== J && (i.value = k, i.value && n.draggable && et(() => {
5146
- F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(x.value, F.value, Q.value), H());
5147
- }), k || (B.value && (B.value = null), ae())), i.value ? S.value = me() : (P.value = !1, N.value = n.draggable);
5146
+ F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(C.value, F.value, Q.value), H());
5147
+ }), k || (B.value && (B.value = null), ae())), i.value ? x.value = me() : (P.value = !1, N.value = n.draggable);
5148
5148
  }), Se(() => n.showHeader, (k, J) => {
5149
5149
  k !== J && (u.value = k);
5150
5150
  }), Se(() => n.showButtons, (k, J) => {
@@ -5187,7 +5187,7 @@ const We = /* @__PURE__ */ Xe({
5187
5187
  display: "block",
5188
5188
  zIndex: q()
5189
5189
  };
5190
- return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), S.value && (k.backgroundColor = "transparent"), k;
5190
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), x.value && (k.backgroundColor = "transparent"), k;
5191
5191
  }), De = $(() => ({
5192
5192
  "modal-content": !0,
5193
5193
  "modal-content-has-header": u.value
@@ -5227,19 +5227,19 @@ const We = /* @__PURE__ */ Xe({
5227
5227
  k.handle && await k.handle(J, k) && e.emit("closed", J);
5228
5228
  }
5229
5229
  function Pe(k) {
5230
- k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (b.value = k.buttons), k.title && (M.value = k.title);
5230
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (w.value = k.buttons), k.title && (M.value = k.title);
5231
5231
  }
5232
5232
  let Ve = null, Ee = null;
5233
5233
  jn(() => {
5234
- S.value = me();
5234
+ x.value = me();
5235
5235
  }), Ge(() => {
5236
- F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(x.value, F.value, Q.value)), Y.value && document.body.classList.add("modal-open"), Ve = oa(n, e), Ee = ia(n, e);
5236
+ F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(C.value, F.value, Q.value)), Y.value && document.body.classList.add("modal-open"), Ve = oa(n, e), Ee = ia(n, e);
5237
5237
  }), Ct(() => {
5238
5238
  G && G(), Ve && Ve.remove(), Ee && Ee.remove();
5239
5239
  }), e.expose({
5240
5240
  modalElementRef: F,
5241
5241
  updateModalOptions: Pe,
5242
- close: w,
5242
+ close: b,
5243
5243
  maxDialog: le,
5244
5244
  isMaximized: P
5245
5245
  });
@@ -5256,7 +5256,7 @@ const We = /* @__PURE__ */ Xe({
5256
5256
  class: Te.value
5257
5257
  }, null)]), p.value && E("li", {
5258
5258
  class: "f-btn-icon f-bare",
5259
- onClick: (k) => w(k, !1),
5259
+ onClick: (k) => b(k, !1),
5260
5260
  style: "pointer-events: auto;"
5261
5261
  }, [E("span", {
5262
5262
  class: "f-icon modal_close"
@@ -5266,8 +5266,8 @@ const We = /* @__PURE__ */ Xe({
5266
5266
  return E("div", {
5267
5267
  class: "modal-footer",
5268
5268
  style: Ze.value
5269
- }, [b.value && b.value.map((k) => {
5270
- const J = C(k.disabled);
5269
+ }, [w.value && w.value.map((k) => {
5270
+ const J = S(k.disabled);
5271
5271
  return E("button", {
5272
5272
  name: k.name,
5273
5273
  type: "button",
@@ -5283,7 +5283,7 @@ const We = /* @__PURE__ */ Xe({
5283
5283
  }
5284
5284
  function He() {
5285
5285
  return E("div", {
5286
- ref: x,
5286
+ ref: C,
5287
5287
  class: "modal-header",
5288
5288
  style: Ne.value
5289
5289
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : E("div", {
@@ -5304,7 +5304,7 @@ const We = /* @__PURE__ */ Xe({
5304
5304
  if (k.stopPropagation(), n.allowClickMaskToClose) {
5305
5305
  if (k.target !== U.value)
5306
5306
  return;
5307
- w(k, !1);
5307
+ b(k, !1);
5308
5308
  }
5309
5309
  }
5310
5310
  function Je() {
@@ -5360,7 +5360,7 @@ function ra(n) {
5360
5360
  Ct(() => {
5361
5361
  document.body.removeChild(e);
5362
5362
  });
5363
- const r = C(), a = C(n.class || ""), c = C(!!n.showButtons), u = C(!!n.showHeader), s = C(n.showCloseButton == null ? !0 : n.showCloseButton), p = C(!0), l = C(n.title || ""), f = n.acceptCallback || (() => {
5363
+ const r = S(), a = S(n.class || ""), c = S(!!n.showButtons), u = S(!!n.showHeader), s = S(n.showCloseButton == null ? !0 : n.showCloseButton), p = S(!0), l = S(n.title || ""), f = n.acceptCallback || (() => {
5364
5364
  }), d = n.rejectCallback || (() => {
5365
5365
  }), m = n.closedCallback || ((U) => {
5366
5366
  }), v = n.resizeHandle || ((U) => {
@@ -5400,10 +5400,10 @@ function ra(n) {
5400
5400
  class bn {
5401
5401
  constructor(e) {
5402
5402
  X(this, "appContext", null);
5403
- X(this, "modalRef", C());
5404
- X(this, "activeModalIndex", C(0));
5403
+ X(this, "modalRef", S());
5404
+ X(this, "activeModalIndex", S(0));
5405
5405
  X(this, "modalRefs", {});
5406
- X(this, "isUseEscCloseModal", C(!1));
5406
+ X(this, "isUseEscCloseModal", S(!1));
5407
5407
  X(this, "activeModalInstance", $(() => this.modalRefs[this.activeModalIndex.value]));
5408
5408
  this.app = e, this.appContext = e ? e._context : null;
5409
5409
  }
@@ -5442,29 +5442,29 @@ class bn {
5442
5442
  title: "",
5443
5443
  showButtons: !0,
5444
5444
  showHeader: !0
5445
- }, e)), i = C(!0), r = o.value.acceptCallback || (() => {
5445
+ }, e)), i = S(!0), r = o.value.acceptCallback || (() => {
5446
5446
  }), a = o.value.rejectCallback || (() => {
5447
- }), c = o.value.closedCallback || ((S, w) => {
5448
- }), u = o.value.resizeHandle || ((S) => {
5449
- }), s = e.stopMoveHandle || ((S) => {
5447
+ }), c = o.value.closedCallback || ((x, b) => {
5448
+ }), u = o.value.resizeHandle || ((x) => {
5449
+ }), s = e.stopMoveHandle || ((x) => {
5450
5450
  });
5451
5451
  let p;
5452
- const l = yn(o.value), f = (S) => {
5452
+ const l = yn(o.value), f = (x) => {
5453
5453
  var h;
5454
5454
  i.value = !1;
5455
- const w = (h = S == null ? void 0 : S.target) == null ? void 0 : h.classList.contains("modal_close");
5456
- c(S, this.isUseEscCloseModal.value ? "esc" : w ? "icon" : "button");
5457
- }, d = (S) => {
5458
- f(S), p && et(() => {
5455
+ const b = (h = x == null ? void 0 : x.target) == null ? void 0 : h.classList.contains("modal_close");
5456
+ c(x, this.isUseEscCloseModal.value ? "esc" : b ? "icon" : "button");
5457
+ }, d = (x) => {
5458
+ f(x), p && et(() => {
5459
5459
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Rt(null, t), p = null, this.modalRef.value = null, this.modalRefs) {
5460
- const w = Object.keys(this.modalRefs).map((h) => Number(h));
5461
- w.length > 0 ? this.activeModalIndex.value = Math.max(...w) : this.activeModalIndex.value = 0;
5460
+ const b = Object.keys(this.modalRefs).map((h) => Number(h));
5461
+ b.length > 0 ? this.activeModalIndex.value = Math.max(...b) : this.activeModalIndex.value = 0;
5462
5462
  }
5463
5463
  this.isUseEscCloseModal.value = !1;
5464
5464
  });
5465
- }, m = (S) => {
5466
- var w;
5467
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((w = this.activeModalInstance.value) == null || w.close(S == null ? void 0 : S.event));
5465
+ }, m = (x) => {
5466
+ var b;
5467
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((b = this.activeModalInstance.value) == null || b.close(x == null ? void 0 : x.event));
5468
5468
  }, {
5469
5469
  width: v,
5470
5470
  height: g
@@ -5473,7 +5473,7 @@ class bn {
5473
5473
  const B = () => E(We, Dt({
5474
5474
  ref: this.modalRef,
5475
5475
  modelValue: i.value,
5476
- "onUpdate:modelValue": (S) => i.value = S
5476
+ "onUpdate:modelValue": (x) => i.value = x
5477
5477
  }, o.value, {
5478
5478
  onAccept: r,
5479
5479
  onCancel: a,
@@ -5484,17 +5484,17 @@ class bn {
5484
5484
  }), {
5485
5485
  default: () => [l && l(this.app)]
5486
5486
  });
5487
- return p = ((S) => {
5488
- const w = $n(B, S);
5489
- return w.appContext = this.appContext, Rt(w, t), w;
5487
+ return p = ((x) => {
5488
+ const b = $n(B, x);
5489
+ return b.appContext = this.appContext, Rt(b, t), b;
5490
5490
  })({
5491
5491
  ...o.value
5492
5492
  // 'onUpdate:modelValue': onUpdateModelValue,
5493
5493
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5494
- update: (S) => {
5494
+ update: (x) => {
5495
5495
  o.value = {
5496
5496
  ...o.value,
5497
- ...S
5497
+ ...x
5498
5498
  }, p && Rt(Dn(p, {
5499
5499
  ...o
5500
5500
  }), t);
@@ -6192,11 +6192,11 @@ const ca = /* @__PURE__ */ Xe({
6192
6192
  setup(n, e) {
6193
6193
  const t = pn(n, e);
6194
6194
  fn(n, e, t);
6195
- const o = gi(), i = C(), r = Gt("designer-host-service"), a = Gt("design-item-context"), c = ua(a, r), u = hi(i, a, c);
6195
+ const o = gi(), i = S(), r = Gt("designer-host-service"), a = Gt("design-item-context"), c = ua(a, r), u = hi(i, a, c);
6196
6196
  Ge(() => {
6197
6197
  i.value.componentInstance = u;
6198
6198
  }), e.expose(u.value);
6199
- const s = C();
6199
+ const s = S();
6200
6200
  return () => E("div", {
6201
6201
  ref: i,
6202
6202
  class: "input-group flex-row f-cmp-number-spinner"