@farris/ui-vue 1.6.5-beta.8 → 1.6.6

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 (137) hide show
  1. package/components/avatar/index.esm.js +335 -335
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/button-edit/index.esm.js +6 -6
  4. package/components/button-edit/index.umd.cjs +1 -1
  5. package/components/combo-list/index.esm.js +139 -134
  6. package/components/combo-list/index.umd.cjs +1 -1
  7. package/components/common/index.esm.js +1 -1
  8. package/components/common/index.umd.cjs +1 -1
  9. package/components/component/index.esm.js +300 -300
  10. package/components/component/index.umd.cjs +1 -1
  11. package/components/condition/index.esm.js +7 -6
  12. package/components/condition/index.umd.cjs +1 -1
  13. package/components/content-container/index.esm.js +295 -295
  14. package/components/content-container/index.umd.cjs +1 -1
  15. package/components/data-grid/index.esm.js +99 -99
  16. package/components/data-grid/index.umd.cjs +1 -1
  17. package/components/data-view/index.esm.js +3407 -3338
  18. package/components/data-view/index.umd.cjs +1 -1
  19. package/components/date-picker/index.esm.js +833 -832
  20. package/components/date-picker/index.umd.cjs +1 -1
  21. package/components/designer-canvas/index.esm.js +5 -5
  22. package/components/designer-canvas/index.umd.cjs +1 -1
  23. package/components/dynamic-form/index.esm.js +173 -172
  24. package/components/dynamic-form/index.umd.cjs +1 -1
  25. package/components/events-editor/index.esm.js +637 -637
  26. package/components/events-editor/index.umd.cjs +3 -3
  27. package/components/expression-editor/index.esm.js +737 -732
  28. package/components/expression-editor/index.umd.cjs +4 -4
  29. package/components/filter-bar/index.esm.js +728 -706
  30. package/components/filter-bar/index.umd.cjs +1 -1
  31. package/components/filter-condition-editor/index.esm.js +670 -665
  32. package/components/filter-condition-editor/index.umd.cjs +2 -2
  33. package/components/flow-canvas/index.esm.js +205 -205
  34. package/components/flow-canvas/index.umd.cjs +1 -1
  35. package/components/language-textbox/index.esm.js +77 -76
  36. package/components/language-textbox/index.umd.cjs +1 -1
  37. package/components/list-nav/index.esm.js +4 -2
  38. package/components/list-nav/index.umd.cjs +1 -1
  39. package/components/list-view/index.esm.js +42 -40
  40. package/components/list-view/index.umd.cjs +2 -2
  41. package/components/lookup/index.esm.js +118 -118
  42. package/components/lookup/index.umd.cjs +1 -1
  43. package/components/mapping-editor/index.esm.js +482 -483
  44. package/components/mapping-editor/index.umd.cjs +1 -1
  45. package/components/message-box/index.esm.js +424 -424
  46. package/components/message-box/index.umd.cjs +1 -1
  47. package/components/modal/index.esm.js +276 -276
  48. package/components/modal/index.umd.cjs +1 -1
  49. package/components/number-range/index.esm.js +161 -161
  50. package/components/number-range/index.umd.cjs +1 -1
  51. package/components/number-spinner/index.esm.js +322 -316
  52. package/components/number-spinner/index.umd.cjs +1 -1
  53. package/components/order/index.esm.js +541 -534
  54. package/components/order/index.umd.cjs +2 -2
  55. package/components/page-header/index.esm.js +1 -1
  56. package/components/page-header/index.umd.cjs +1 -1
  57. package/components/popover/index.esm.js +58 -56
  58. package/components/popover/index.umd.cjs +1 -1
  59. package/components/property-panel/index.esm.js +216 -216
  60. package/components/property-panel/index.umd.cjs +2 -2
  61. package/components/query-solution/index.esm.js +489 -467
  62. package/components/query-solution/index.umd.cjs +3 -3
  63. package/components/radio-group/index.esm.js +30 -30
  64. package/components/radio-group/index.umd.cjs +1 -1
  65. package/components/response-layout/index.esm.js +282 -282
  66. package/components/response-layout/index.umd.cjs +1 -1
  67. package/components/response-layout-editor/index.esm.js +875 -873
  68. package/components/response-layout-editor/index.umd.cjs +1 -1
  69. package/components/response-toolbar/index.esm.js +1 -1
  70. package/components/response-toolbar/index.umd.cjs +1 -1
  71. package/components/schema-selector/index.esm.js +504 -496
  72. package/components/schema-selector/index.umd.cjs +6 -6
  73. package/components/search-box/index.esm.js +76 -72
  74. package/components/search-box/index.umd.cjs +1 -1
  75. package/components/section/index.esm.js +212 -212
  76. package/components/section/index.umd.cjs +1 -1
  77. package/components/sort-condition-editor/index.esm.js +382 -377
  78. package/components/sort-condition-editor/index.umd.cjs +2 -2
  79. package/components/tabs/index.esm.js +584 -582
  80. package/components/tabs/index.umd.cjs +2 -2
  81. package/components/textarea/index.esm.js +362 -362
  82. package/components/textarea/index.umd.cjs +2 -2
  83. package/components/time-picker/index.css +1 -0
  84. package/components/time-picker/index.esm.js +9799 -0
  85. package/components/time-picker/index.umd.cjs +1 -0
  86. package/components/time-picker/package.json +8 -0
  87. package/components/time-picker/style.js +6 -0
  88. package/components/transfer/index.esm.js +81 -79
  89. package/components/transfer/index.umd.cjs +2 -2
  90. package/components/tree-grid/index.esm.js +100 -100
  91. package/components/tree-grid/index.umd.cjs +1 -1
  92. package/components/tree-view/index.esm.js +2361 -2279
  93. package/components/tree-view/index.umd.cjs +1 -1
  94. package/components/video/index.esm.js +220 -220
  95. package/components/video/index.umd.cjs +1 -1
  96. package/designer/button-edit/index.css +1 -0
  97. package/designer/button-edit/index.esm.js +4856 -0
  98. package/designer/button-edit/index.umd.cjs +1 -0
  99. package/designer/checkbox/index.esm.js +254 -0
  100. package/designer/checkbox/index.umd.cjs +1 -0
  101. package/designer/checkbox-group/index.esm.js +381 -0
  102. package/designer/checkbox-group/index.umd.cjs +1 -0
  103. package/designer/data-grid/index.css +1 -0
  104. package/designer/data-grid/index.esm.js +15445 -0
  105. package/designer/data-grid/index.umd.cjs +23 -0
  106. package/designer/data-view/index.esm.js +854 -0
  107. package/designer/data-view/index.umd.cjs +38 -0
  108. package/designer/drawer/index.css +1 -0
  109. package/designer/drawer/index.esm.js +525 -0
  110. package/designer/drawer/index.umd.cjs +1 -0
  111. package/designer/farris-designer.all.esm.js +22331 -0
  112. package/designer/farris-designer.all.umd.cjs +34 -0
  113. package/designer/index.css +1 -0
  114. package/designer/input-group/index.esm.js +1099 -0
  115. package/designer/input-group/index.umd.cjs +1 -0
  116. package/designer/list-view/index.css +1 -0
  117. package/designer/list-view/index.esm.js +4685 -0
  118. package/designer/list-view/index.umd.cjs +40 -0
  119. package/designer/radio-group/index.css +1 -0
  120. package/designer/radio-group/index.esm.js +6989 -0
  121. package/designer/radio-group/index.umd.cjs +1 -0
  122. package/designer/tree-grid/index.esm.js +1099 -0
  123. package/designer/tree-grid/index.umd.cjs +1 -0
  124. package/farris.all.esm.js +13299 -13177
  125. package/farris.all.umd.cjs +25 -25
  126. package/locales/data-grid/ui/en.json +4 -3
  127. package/locales/data-grid/ui/zh-CHS.json +2 -1
  128. package/locales/data-grid/ui/zh-CHT.json +2 -1
  129. package/locales/designer/en.json +9 -7
  130. package/locales/designer/zh-CHS.json +4 -2
  131. package/locales/designer/zh-CHT.json +4 -2
  132. package/locales/ui/en.json +9 -7
  133. package/locales/ui/zh-CHS.json +4 -2
  134. package/locales/ui/zh-CHT.json +4 -2
  135. package/package.json +1 -1
  136. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  137. package/types/data-view/composition/types.d.ts +10 -4
@@ -1,7 +1,7 @@
1
1
  var xn = Object.defineProperty;
2
2
  var Sn = (n, e, t) => e in n ? xn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var K = (n, e, t) => Sn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { ref as b, computed as H, defineComponent as We, createVNode as B, watch as Be, Fragment as it, reactive as Ve, createApp as Gt, onUnmounted as mt, onMounted as rt, Transition as Yt, mergeProps as It, nextTick as Nt, createTextVNode as Tn, onBeforeMount as En, Teleport as Mn, shallowRef as Bn, render as kt, h as kn, cloneVNode as Fn, inject as At } from "vue";
4
+ import { ref as w, computed as H, defineComponent as We, createVNode as B, watch as Be, Fragment as it, reactive as Ve, createApp as Gt, onUnmounted as mt, onMounted as rt, Transition as Yt, mergeProps as It, nextTick as Nt, createTextVNode as Tn, onBeforeMount as En, Teleport as Mn, shallowRef as Bn, render as kt, h as kn, cloneVNode as Fn, inject as At } from "vue";
5
5
  import { cloneDeep as ft, isPlainObject as Ht, isUndefined as Re } from "lodash-es";
6
6
  import { useI18n as Pt } from "vue-i18n";
7
7
  import { LocaleService as vt } from "../locale/index.esm.js";
@@ -523,14 +523,14 @@ function en(n, e, t) {
523
523
  }
524
524
  function f(d, v, y, x, F, A = "", j = "") {
525
525
  return Object.keys(d).map((g) => {
526
- const M = b(1), S = g, N = d[g], _ = Object.keys(N), C = N.title, T = N.type, P = i.get(T) || { type: "input-group", enableClear: !1 }, I = N.editor ? Object.assign({}, P, N.editor) : Object.assign({}, P), V = c(_, N, v), W = s(_, N, v);
526
+ const M = w(1), T = g, N = d[g], _ = Object.keys(N), b = N.title, S = N.type, P = i.get(S) || { type: "input-group", enableClear: !1 }, I = N.editor ? Object.assign({}, P, N.editor) : Object.assign({}, P), V = c(_, N, v), W = s(_, N, v);
527
527
  I.readonly = I.readonly === void 0 ? W() : I.readonly;
528
528
  const ee = N.type === "cascade" ? f(N.properties, v, y, x, F, A, j) : [], D = !0;
529
529
  let O = l(N, j);
530
530
  const G = H({
531
531
  get() {
532
532
  if (M.value) {
533
- if (["class", "style"].find((le) => le === S) && !O && (O = o.get("/converter/appearance.converter") || null), O && O.convertFrom)
533
+ if (["class", "style"].find((le) => le === T) && !O && (O = o.get("/converter/appearance.converter") || null), O && O.convertFrom)
534
534
  return O.convertFrom(y, g, F, A);
535
535
  const ie = y[g];
536
536
  return Object.prototype.hasOwnProperty.call(N, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? N.type === "boolean" ? N.defaultValue : N.defaultValue || "" : ie;
@@ -540,42 +540,42 @@ function en(n, e, t) {
540
540
  set(ie) {
541
541
  M.value += 1, O && O.convertTo ? (O.convertTo(x, g, ie, F, A), O.convertTo(y, g, ie, F, A)) : (x[g] = ie, y[g] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he } = N, X = { propertyID: S, propertyName: C, propertyType: T, propertyValue: G, editor: I, visible: V, readonly: W, cascadeConfig: ee, hideCascadeTitle: D, refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he };
544
- return v[S] = X, X;
543
+ }), { refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he } = N, X = { propertyID: T, propertyName: b, propertyType: S, propertyValue: G, editor: I, visible: V, readonly: W, cascadeConfig: ee, hideCascadeTitle: D, refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he };
544
+ return v[T] = X, X;
545
545
  });
546
546
  }
547
547
  function u(d, v, y = {}) {
548
548
  const x = {}, F = n[d];
549
549
  return F && F.categories ? Object.keys(F.categories).map((j) => {
550
- const w = F.categories[j], g = w == null ? void 0 : w.title, M = f(w.properties || {}, x, {}, y, v);
550
+ const C = F.categories[j], g = C == null ? void 0 : C.title, M = f(C.properties || {}, x, {}, y, v);
551
551
  return { categoryId: j, categoryName: g, properties: M };
552
552
  }) : [];
553
553
  }
554
554
  function m(d, v, y, x, F = "") {
555
- const A = v.$ref.schema, j = v.$ref.converter, w = y[A], g = w.type, M = t(w), S = {}, N = n[g];
555
+ const A = v.$ref.schema, j = v.$ref.converter, C = y[A], g = C.type, M = t(C), T = {}, N = n[g];
556
556
  if (N && N.categories) {
557
- const _ = N.categories[d], C = _ == null ? void 0 : _.title;
557
+ const _ = N.categories[d], b = _ == null ? void 0 : _.title;
558
558
  j && Object.keys(_.properties).forEach((I) => {
559
559
  _.properties[I].$converter = j;
560
560
  });
561
- const T = (_ == null ? void 0 : _.properties) || {}, P = f(T, S, M, w, x, F);
562
- return { categoryId: d, categoryName: C, properties: P };
561
+ const S = (_ == null ? void 0 : _.properties) || {}, P = f(S, T, M, C, x, F);
562
+ return { categoryId: d, categoryName: b, properties: P };
563
563
  }
564
564
  return { categoryId: d, categoryName: "", properties: [] };
565
565
  }
566
566
  function p(d, v, y, x, F) {
567
- const A = d.type, j = t(d), w = {};
567
+ const A = d.type, j = t(d), C = {};
568
568
  let g = F || n[A];
569
569
  if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(x)), g && g.categories) {
570
570
  const M = [];
571
- return Object.keys(g.categories).map((S) => {
572
- const N = g.categories[S];
571
+ return Object.keys(g.categories).map((T) => {
572
+ const N = g.categories[T];
573
573
  if (N.$ref) {
574
- M.push(m(S, N, d, v, x));
574
+ M.push(m(T, N, d, v, x));
575
575
  return;
576
576
  }
577
- const _ = N == null ? void 0 : N.title, C = N == null ? void 0 : N.tabId, T = N == null ? void 0 : N.tabName, P = N == null ? void 0 : N.hide, I = N == null ? void 0 : N.hideTitle, V = f(N.properties || {}, w, j, d, v, x, N.$converter), { setPropertyRelates: W } = N, ee = N == null ? void 0 : N.parentPropertyID;
578
- M.push({ categoryId: S, categoryName: _, tabId: C, tabName: T, hide: P, properties: V, hideTitle: I, setPropertyRelates: W, parentPropertyID: ee });
577
+ const _ = N == null ? void 0 : N.title, b = N == null ? void 0 : N.tabId, S = N == null ? void 0 : N.tabName, P = N == null ? void 0 : N.hide, I = N == null ? void 0 : N.hideTitle, V = f(N.properties || {}, C, j, d, v, x, N.$converter), { setPropertyRelates: W } = N, ee = N == null ? void 0 : N.parentPropertyID;
578
+ M.push({ categoryId: T, categoryName: _, tabId: b, tabName: S, hide: P, properties: V, hideTitle: I, setPropertyRelates: W, parentPropertyID: ee });
579
579
  }), M;
580
580
  }
581
581
  return [];
@@ -802,7 +802,7 @@ class ni {
802
802
  };
803
803
  }
804
804
  }
805
- const oi = b(0);
805
+ const oi = w(0);
806
806
  var je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
807
807
  function ct(n) {
808
808
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -857,11 +857,11 @@ var ii = { exports: {} };
857
857
  2: [function(t, o, i) {
858
858
  (function(r) {
859
859
  var a = t("contra/emitter"), c = t("crossvent"), s = t("./classes"), l = document, f = l.documentElement;
860
- function u(C, T) {
860
+ function u(b, S) {
861
861
  var P = arguments.length;
862
- P === 1 && Array.isArray(C) === !1 && (T = C, C = []);
863
- var I, V, W, ee, D, O, G, L, te, ve = null, he, X, ie = !1, le = 0, ne, U = T || {};
864
- U.moves === void 0 && (U.moves = F), U.accepts === void 0 && (U.accepts = F), U.invalid === void 0 && (U.invalid = Ke), U.containers === void 0 && (U.containers = C || []), U.isContainer === void 0 && (U.isContainer = x), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = l.body);
862
+ P === 1 && Array.isArray(b) === !1 && (S = b, b = []);
863
+ var I, V, W, ee, D, O, G, L, te, ve = null, he, X, ie = !1, le = 0, ne, U = S || {};
864
+ U.moves === void 0 && (U.moves = F), U.accepts === void 0 && (U.accepts = F), U.invalid === void 0 && (U.invalid = Ke), U.containers === void 0 && (U.containers = b || []), U.isContainer === void 0 && (U.isContainer = x), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = l.body);
865
865
  var oe = a({
866
866
  containers: U.containers,
867
867
  start: Se,
@@ -921,12 +921,12 @@ var ii = { exports: {} };
921
921
  }
922
922
  function Ie(h) {
923
923
  if (!(oe.dragging && I) && !$e(h)) {
924
- for (var R = h; w(h) && $e(w(h)) === !1; )
925
- if (U.invalid(h, R) || (h = w(h), !h))
924
+ for (var R = h; C(h) && $e(C(h)) === !1; )
925
+ if (U.invalid(h, R) || (h = C(h), !h))
926
926
  return;
927
- var $ = w(h);
927
+ var $ = C(h);
928
928
  if ($ && !U.invalid(h, R)) {
929
- var q = U.moves(h, $, R, S(h));
929
+ var q = U.moves(h, $, R, T(h));
930
930
  if (q)
931
931
  return {
932
932
  item: h,
@@ -943,7 +943,7 @@ var ii = { exports: {} };
943
943
  R && Pe(R);
944
944
  }
945
945
  function Pe(h) {
946
- Bt(h.item, h.source) && (L = h.item.cloneNode(!0), oe.emit("cloned", L, h.item, "copy")), V = h.source, W = h.item, O = G = S(h.item), oe.dragging = !0, oe.emit("drag", W, V);
946
+ Bt(h.item, h.source) && (L = h.item.cloneNode(!0), oe.emit("cloned", L, h.item, "copy")), V = h.source, W = h.item, O = G = T(h.item), oe.dragging = !0, oe.emit("drag", W, V);
947
947
  }
948
948
  function Ke() {
949
949
  return !1;
@@ -951,7 +951,7 @@ var ii = { exports: {} };
951
951
  function ze() {
952
952
  if (oe.dragging) {
953
953
  var h = L || W;
954
- Xe(h, w(h));
954
+ Xe(h, C(h));
955
955
  }
956
956
  }
957
957
  function ke() {
@@ -964,18 +964,18 @@ var ii = { exports: {} };
964
964
  }
965
965
  }
966
966
  function Xe(h, R) {
967
- var $ = w(h);
967
+ var $ = C(h);
968
968
  L && U.copySortSource && R === V && $.removeChild(W), se(R) ? oe.emit("cancel", h, V) : oe.emit("drop", h, R, V, G), Q();
969
969
  }
970
970
  function Qe() {
971
971
  if (oe.dragging) {
972
- var h = L || W, R = w(h);
972
+ var h = L || W, R = C(h);
973
973
  R && R.removeChild(h), oe.emit(L ? "cancel" : "remove", h, R, V), Q();
974
974
  }
975
975
  }
976
976
  function k(h) {
977
977
  if (oe.dragging) {
978
- var R = arguments.length > 0 ? h : U.revertOnSpill, $ = L || W, q = w($), J = se(q);
978
+ var R = arguments.length > 0 ? h : U.revertOnSpill, $ = L || W, q = C($), J = se(q);
979
979
  J === !1 && R && (L ? q && q.removeChild(L) : V.insertBefore($, O)), J || R ? oe.emit("cancel", $, V, V) : oe.emit("drop", $, q, V, G), Q();
980
980
  }
981
981
  }
@@ -985,11 +985,11 @@ var ii = { exports: {} };
985
985
  }
986
986
  function se(h, R) {
987
987
  var $;
988
- return R !== void 0 ? $ = R : I ? $ = G : $ = S(L || W), h === V && $ === O;
988
+ return R !== void 0 ? $ = R : I ? $ = G : $ = T(L || W), h === V && $ === O;
989
989
  }
990
990
  function ce(h, R, $) {
991
991
  for (var q = h; q && !J(); )
992
- q = w(q);
992
+ q = C(q);
993
993
  return q;
994
994
  function J() {
995
995
  var Z = $e(q);
@@ -1007,7 +1007,7 @@ var ii = { exports: {} };
1007
1007
  I.style.left = R - 2 + "px", I.style.top = $ - 2 + "px";
1008
1008
  var q = L || W, J = y(I, R, $), Z = ce(J, R, $), Ce = Z !== null && Z !== ve;
1009
1009
  (Ce || Z === null) && (be(), ve = Z, Ee()), Mt(J, $);
1010
- var ge = w(q);
1010
+ var ge = C(q);
1011
1011
  if (Z === V && L && !U.copySortSource) {
1012
1012
  ge && ge.removeChild(q);
1013
1013
  return;
@@ -1033,7 +1033,7 @@ var ii = { exports: {} };
1033
1033
  }
1034
1034
  }
1035
1035
  function ht(h, R, $) {
1036
- (h === R || h === S(R)) && (G = S(R)), (h === null && $ || h !== R && h !== S(R)) && (G = h);
1036
+ (h === R || h === T(R)) && (G = T(R)), (h === null && $ || h !== R && h !== T(R)) && (G = h);
1037
1037
  }
1038
1038
  function gt(h) {
1039
1039
  s.rm(h, "gu-hide");
@@ -1052,14 +1052,14 @@ var ii = { exports: {} };
1052
1052
  ie = !1, U.mirrorContainer.appendChild(X);
1053
1053
  }
1054
1054
  function Ct() {
1055
- I && (s.rm(U.mirrorContainer, "gu-unselectable"), d(f, "remove", "mousemove", Fe), w(I).removeChild(I), I = null);
1055
+ I && (s.rm(U.mirrorContainer, "gu-unselectable"), d(f, "remove", "mousemove", Fe), C(I).removeChild(I), I = null);
1056
1056
  }
1057
1057
  function xt() {
1058
- X && (w(X).removeChild(X), X = null);
1058
+ X && (C(X).removeChild(X), X = null);
1059
1059
  }
1060
1060
  function st(h, R) {
1061
- for (var $ = R; $ !== h && w($) !== h; )
1062
- $ = w($);
1061
+ for (var $ = R; $ !== h && C($) !== h; )
1062
+ $ = C($);
1063
1063
  return $ === f ? null : $;
1064
1064
  }
1065
1065
  function et(h, R) {
@@ -1152,33 +1152,33 @@ var ii = { exports: {} };
1152
1152
  return Te(J ? $ > ue.left + A(ue) / 2 : q > ue.top + j(ue) / 2);
1153
1153
  }
1154
1154
  function Te(ue) {
1155
- return ue ? S(R) : R;
1155
+ return ue ? T(R) : R;
1156
1156
  }
1157
1157
  }
1158
1158
  function Bt(h, R) {
1159
1159
  return typeof U.copy == "boolean" ? U.copy : U.copy(h, R);
1160
1160
  }
1161
1161
  }
1162
- function m(C) {
1163
- const T = Array.from(window.scrollContainerList);
1164
- if (T.length === 1) {
1162
+ function m(b) {
1163
+ const S = Array.from(window.scrollContainerList);
1164
+ if (S.length === 1) {
1165
1165
  const I = Array.from(window.scrollContainerList)[0];
1166
1166
  return document.getElementById(I);
1167
1167
  }
1168
- const P = p(T);
1168
+ const P = p(S);
1169
1169
  for (const I of P)
1170
- if (I.contains(C))
1170
+ if (I.contains(b))
1171
1171
  return I;
1172
1172
  return null;
1173
1173
  }
1174
- function p(C) {
1175
- const T = [];
1176
- return C.forEach((P) => {
1174
+ function p(b) {
1175
+ const S = [];
1176
+ return b.forEach((P) => {
1177
1177
  const I = document.getElementById(P);
1178
- I && T.push(I);
1179
- }), T.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), T;
1178
+ I && S.push(I);
1179
+ }), S.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), S;
1180
1180
  }
1181
- function d(C, T, P, I) {
1181
+ function d(b, S, P, I) {
1182
1182
  var V = {
1183
1183
  mouseup: "touchend",
1184
1184
  mousedown: "touchstart",
@@ -1192,23 +1192,23 @@ var ii = { exports: {} };
1192
1192
  mousedown: "MSPointerDown",
1193
1193
  mousemove: "MSPointerMove"
1194
1194
  };
1195
- r.navigator.pointerEnabled ? c[T](C, W[P], I) : r.navigator.msPointerEnabled ? c[T](C, ee[P], I) : (c[T](C, V[P], I), c[T](C, P, I));
1195
+ r.navigator.pointerEnabled ? c[S](b, W[P], I) : r.navigator.msPointerEnabled ? c[S](b, ee[P], I) : (c[S](b, V[P], I), c[S](b, P, I));
1196
1196
  }
1197
- function v(C) {
1198
- if (C.touches !== void 0)
1199
- return C.touches.length;
1200
- if (C.which !== void 0 && C.which !== 0)
1201
- return C.which;
1202
- if (C.buttons !== void 0)
1203
- return C.buttons;
1204
- var T = C.button;
1205
- if (T !== void 0)
1206
- return T & 1 ? 1 : T & 2 ? 3 : T & 4 ? 2 : 0;
1197
+ function v(b) {
1198
+ if (b.touches !== void 0)
1199
+ return b.touches.length;
1200
+ if (b.which !== void 0 && b.which !== 0)
1201
+ return b.which;
1202
+ if (b.buttons !== void 0)
1203
+ return b.buttons;
1204
+ var S = b.button;
1205
+ if (S !== void 0)
1206
+ return S & 1 ? 1 : S & 2 ? 3 : S & 4 ? 2 : 0;
1207
1207
  }
1208
- function y(C, T, P) {
1209
- C = C || {};
1210
- var I = C.className || "", V;
1211
- return C.className += " gu-hide", V = l.elementFromPoint(T, P), C.className = I, V;
1208
+ function y(b, S, P) {
1209
+ b = b || {};
1210
+ var I = b.className || "", V;
1211
+ return b.className += " gu-hide", V = l.elementFromPoint(S, P), b.className = I, V;
1212
1212
  }
1213
1213
  function x() {
1214
1214
  return !1;
@@ -1216,42 +1216,42 @@ var ii = { exports: {} };
1216
1216
  function F() {
1217
1217
  return !0;
1218
1218
  }
1219
- function A(C) {
1220
- return C.width || C.right - C.left;
1219
+ function A(b) {
1220
+ return b.width || b.right - b.left;
1221
1221
  }
1222
- function j(C) {
1223
- return C.height || C.bottom - C.top;
1222
+ function j(b) {
1223
+ return b.height || b.bottom - b.top;
1224
1224
  }
1225
- function w(C) {
1226
- return C.parentNode === l ? null : C.parentNode;
1225
+ function C(b) {
1226
+ return b.parentNode === l ? null : b.parentNode;
1227
1227
  }
1228
- function g(C) {
1229
- return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || M(C);
1228
+ function g(b) {
1229
+ return b.tagName === "INPUT" || b.tagName === "TEXTAREA" || b.tagName === "SELECT" || M(b);
1230
1230
  }
1231
- function M(C) {
1232
- return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : M(w(C));
1231
+ function M(b) {
1232
+ return !b || b.contentEditable === "false" ? !1 : b.contentEditable === "true" ? !0 : M(C(b));
1233
1233
  }
1234
- function S(C) {
1235
- return C.nextElementSibling || T();
1236
- function T() {
1237
- var P = C;
1234
+ function T(b) {
1235
+ return b.nextElementSibling || S();
1236
+ function S() {
1237
+ var P = b;
1238
1238
  do
1239
1239
  P = P.nextSibling;
1240
1240
  while (P && P.nodeType !== 1);
1241
1241
  return P;
1242
1242
  }
1243
1243
  }
1244
- function N(C) {
1245
- return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
1244
+ function N(b) {
1245
+ return b.targetTouches && b.targetTouches.length ? b.targetTouches[0] : b.changedTouches && b.changedTouches.length ? b.changedTouches[0] : b;
1246
1246
  }
1247
- function _(C, T) {
1248
- var P = N(T), I = {
1247
+ function _(b, S) {
1248
+ var P = N(S), I = {
1249
1249
  pageX: "clientX",
1250
1250
  // IE8
1251
1251
  pageY: "clientY"
1252
1252
  // IE8
1253
1253
  };
1254
- return C in I && !(C in P) && I[C] in P && (C = I[C]), P[C];
1254
+ return b in I && !(b in P) && I[b] in P && (b = I[b]), P[b];
1255
1255
  }
1256
1256
  o.exports = u;
1257
1257
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -1314,62 +1314,62 @@ var ii = { exports: {} };
1314
1314
  remove: f,
1315
1315
  fabricate: y
1316
1316
  };
1317
- function m(w, g, M, S) {
1318
- return w.addEventListener(g, M, S);
1317
+ function m(C, g, M, T) {
1318
+ return C.addEventListener(g, M, T);
1319
1319
  }
1320
- function p(w, g, M) {
1321
- return w.attachEvent("on" + g, F(w, g, M));
1320
+ function p(C, g, M) {
1321
+ return C.attachEvent("on" + g, F(C, g, M));
1322
1322
  }
1323
- function d(w, g, M, S) {
1324
- return w.removeEventListener(g, M, S);
1323
+ function d(C, g, M, T) {
1324
+ return C.removeEventListener(g, M, T);
1325
1325
  }
1326
- function v(w, g, M) {
1327
- var S = A(w, g, M);
1328
- if (S)
1329
- return w.detachEvent("on" + g, S);
1326
+ function v(C, g, M) {
1327
+ var T = A(C, g, M);
1328
+ if (T)
1329
+ return C.detachEvent("on" + g, T);
1330
1330
  }
1331
- function y(w, g, M) {
1332
- var S = c.indexOf(g) === -1 ? _() : N();
1333
- w.dispatchEvent ? w.dispatchEvent(S) : w.fireEvent("on" + g, S);
1331
+ function y(C, g, M) {
1332
+ var T = c.indexOf(g) === -1 ? _() : N();
1333
+ C.dispatchEvent ? C.dispatchEvent(T) : C.fireEvent("on" + g, T);
1334
1334
  function N() {
1335
- var C;
1336
- return s.createEvent ? (C = s.createEvent("Event"), C.initEvent(g, !0, !0)) : s.createEventObject && (C = s.createEventObject()), C;
1335
+ var b;
1336
+ return s.createEvent ? (b = s.createEvent("Event"), b.initEvent(g, !0, !0)) : s.createEventObject && (b = s.createEventObject()), b;
1337
1337
  }
1338
1338
  function _() {
1339
1339
  return new a(g, { detail: M });
1340
1340
  }
1341
1341
  }
1342
- function x(w, g, M) {
1342
+ function x(C, g, M) {
1343
1343
  return function(N) {
1344
1344
  var _ = N || r.event;
1345
1345
  _.target = _.target || _.srcElement, _.preventDefault = _.preventDefault || function() {
1346
1346
  _.returnValue = !1;
1347
1347
  }, _.stopPropagation = _.stopPropagation || function() {
1348
1348
  _.cancelBubble = !0;
1349
- }, _.which = _.which || _.keyCode, M.call(w, _);
1349
+ }, _.which = _.which || _.keyCode, M.call(C, _);
1350
1350
  };
1351
1351
  }
1352
- function F(w, g, M) {
1353
- var S = A(w, g, M) || x(w, g, M);
1352
+ function F(C, g, M) {
1353
+ var T = A(C, g, M) || x(C, g, M);
1354
1354
  return u.push({
1355
- wrapper: S,
1356
- element: w,
1355
+ wrapper: T,
1356
+ element: C,
1357
1357
  type: g,
1358
1358
  fn: M
1359
- }), S;
1359
+ }), T;
1360
1360
  }
1361
- function A(w, g, M) {
1362
- var S = j(w, g, M);
1363
- if (S) {
1364
- var N = u[S].wrapper;
1365
- return u.splice(S, 1), N;
1361
+ function A(C, g, M) {
1362
+ var T = j(C, g, M);
1363
+ if (T) {
1364
+ var N = u[T].wrapper;
1365
+ return u.splice(T, 1), N;
1366
1366
  }
1367
1367
  }
1368
- function j(w, g, M) {
1369
- var S, N;
1370
- for (S = 0; S < u.length; S++)
1371
- if (N = u[S], N.element === w && N.type === g && N.fn === M)
1372
- return S;
1368
+ function j(C, g, M) {
1369
+ var T, N;
1370
+ for (T = 0; T < u.length; T++)
1371
+ if (N = u[T], N.element === C && N.type === g && N.fn === M)
1372
+ return T;
1373
1373
  }
1374
1374
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
1375
1375
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -1465,23 +1465,23 @@ var ii = { exports: {} };
1465
1465
  if (!p) {
1466
1466
  var j = f(y);
1467
1467
  p = !0;
1468
- for (var w = m.length; w; ) {
1469
- for (d = m, m = []; ++v < w; )
1468
+ for (var C = m.length; C; ) {
1469
+ for (d = m, m = []; ++v < C; )
1470
1470
  d && d[v].run();
1471
- v = -1, w = m.length;
1471
+ v = -1, C = m.length;
1472
1472
  }
1473
1473
  d = null, p = !1, u(j);
1474
1474
  }
1475
1475
  }
1476
1476
  r.nextTick = function(j) {
1477
- var w = new Array(arguments.length - 1);
1477
+ var C = new Array(arguments.length - 1);
1478
1478
  if (arguments.length > 1)
1479
1479
  for (var g = 1; g < arguments.length; g++)
1480
- w[g - 1] = arguments[g];
1481
- m.push(new F(j, w)), m.length === 1 && !p && f(x);
1480
+ C[g - 1] = arguments[g];
1481
+ m.push(new F(j, C)), m.length === 1 && !p && f(x);
1482
1482
  };
1483
- function F(j, w) {
1484
- this.fun = j, this.array = w;
1483
+ function F(j, C) {
1484
+ this.fun = j, this.array = C;
1485
1485
  }
1486
1486
  F.prototype.run = function() {
1487
1487
  this.fun.apply(null, this.array);
@@ -1574,7 +1574,7 @@ const ri = {
1574
1574
  const {
1575
1575
  locale: t,
1576
1576
  t: o
1577
- } = Pt(), i = b(n.animate), r = "fadeOut", a = H(() => n.options), c = b(!1), s = H(() => a.value.title && a.value.message), l = H(() => !a.value.title && a.value.message), f = H(() => {
1577
+ } = Pt(), i = w(n.animate), r = "fadeOut", a = H(() => n.options), c = w(!1), s = H(() => a.value.title && a.value.message), l = H(() => !a.value.title && a.value.message), f = H(() => {
1578
1578
  const j = {
1579
1579
  animated: c.value,
1580
1580
  toast: !0,
@@ -1595,7 +1595,7 @@ const ri = {
1595
1595
  e.emit("close", a.value);
1596
1596
  }, 200);
1597
1597
  }
1598
- function x(j, w) {
1598
+ function x(j, C) {
1599
1599
  }
1600
1600
  function F(j) {
1601
1601
  return `f-preten-link ${j.customClass ? j.customClass : ""}`;
@@ -1607,10 +1607,10 @@ const ri = {
1607
1607
  var j;
1608
1608
  return B(it, null, [B("div", {
1609
1609
  class: "after-toast-msg text-right"
1610
- }, [!e.slots.default && ((j = a.value.buttons) == null ? void 0 : j.map((w) => B("span", {
1611
- class: F(w),
1610
+ }, [!e.slots.default && ((j = a.value.buttons) == null ? void 0 : j.map((C) => B("span", {
1611
+ class: F(C),
1612
1612
  onClick: (g) => void 0
1613
- }, [w.text]))), e.slots.default && e.slots.default()])]);
1613
+ }, [C.text]))), e.slots.default && e.slots.default()])]);
1614
1614
  };
1615
1615
  return () => B("div", {
1616
1616
  class: f.value,
@@ -1662,7 +1662,7 @@ const ri = {
1662
1662
  right: 12,
1663
1663
  top: 20,
1664
1664
  bottom: 12
1665
- }, i = b(), r = b(n.options), a = b(n.showCloseButton), c = H(() => n.position || "bottom-right"), s = H(() => n.timeout != null ? n.timeout : 3e3), l = H(() => {
1665
+ }, i = w(), r = w(n.options), a = w(n.showCloseButton), c = H(() => n.position || "bottom-right"), s = H(() => n.timeout != null ? n.timeout : 3e3), l = H(() => {
1666
1666
  const m = n.bottom ? n.bottom : o.bottom, p = n.top ? n.top : o.top, d = {
1667
1667
  transition: "all 0.2s ease",
1668
1668
  left: c.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -1721,7 +1721,7 @@ class si {
1721
1721
  const a = Gt({
1722
1722
  setup() {
1723
1723
  var l;
1724
- const c = b();
1724
+ const c = w();
1725
1725
  function s() {
1726
1726
  c.value.container.style.transform = "scale(0)", setTimeout(() => {
1727
1727
  t.updateNotifyPositionForClose(i, c), a.unmount();
@@ -1980,17 +1980,17 @@ function ui(n, e, t, o, i, r, a, c, s, l, f, u, m, p, d, v, y) {
1980
1980
  hasLeftFixedColumn: A,
1981
1981
  hasRightFixedColumn: j
1982
1982
  } = a, {
1983
- gridDataStyle: w,
1983
+ gridDataStyle: C,
1984
1984
  leftFixedGridDataStyle: g,
1985
1985
  rightFixedGridDataStyle: M
1986
1986
  } = p, {
1987
- renderDataRow: S
1988
- } = Pn(n, e, F, y, c, s, l, f, u, m, p, d, v), N = [S];
1987
+ renderDataRow: T
1988
+ } = Pn(n, e, F, y, c, s, l, f, u, m, p, d, v), N = [T];
1989
1989
  function _(V, W) {
1990
1990
  const ee = x(V);
1991
1991
  return y.value.filter((D) => D.visible !== !1).map((D, O) => N[D.type](D, ee, W, O));
1992
1992
  }
1993
- function C() {
1993
+ function b() {
1994
1994
  return B("div", {
1995
1995
  ref: o,
1996
1996
  class: "fv-grid-content-left-fixed"
@@ -1999,13 +1999,13 @@ function ui(n, e, t, o, i, r, a, c, s, l, f, u, m, p, d, v, y) {
1999
1999
  style: g.value
2000
2000
  }, [_(F.value.leftColumns.filter((V) => V.visible), "left")])]);
2001
2001
  }
2002
- function T() {
2002
+ function S() {
2003
2003
  return B("div", {
2004
2004
  ref: t,
2005
2005
  class: "fv-grid-content-primary"
2006
2006
  }, [B("div", {
2007
2007
  class: "fv-grid-data",
2008
- style: w.value
2008
+ style: C.value
2009
2009
  }, [_(F.value.primaryColumns.filter((V) => V.visible), "primary")])]);
2010
2010
  }
2011
2011
  function P() {
@@ -2019,7 +2019,7 @@ function ui(n, e, t, o, i, r, a, c, s, l, f, u, m, p, d, v, y) {
2019
2019
  }
2020
2020
  function I() {
2021
2021
  const V = [];
2022
- return A.value && V.push(C()), V.push(T()), j.value && V.push(P()), V;
2022
+ return A.value && V.push(b()), V.push(S()), j.value && V.push(P()), V;
2023
2023
  }
2024
2024
  return {
2025
2025
  renderDataArea: I
@@ -2031,19 +2031,19 @@ const di = /* @__PURE__ */ We({
2031
2031
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
2032
2032
  setup(n, e) {
2033
2033
  var $t, Lt;
2034
- const o = (($t = n.rowOption) == null ? void 0 : $t.height) || 28, i = b(20), r = b(n.columns), a = Dn(n), {
2034
+ const o = (($t = n.rowOption) == null ? void 0 : $t.height) || 28, i = w(20), r = w(n.columns), a = Dn(n), {
2035
2035
  idField: c
2036
- } = a, s = b(), l = b(), f = b(), u = b(), m = b(), p = b([]), d = b(!1), v = b(((Lt = n.rowOption) == null ? void 0 : Lt.wrapContent) || !1), y = Rn(n, a), x = jn(n, e), F = Vn(n), {
2036
+ } = a, s = w(), l = w(), f = w(), u = w(), m = w(), p = w([]), d = w(!1), v = w(((Lt = n.rowOption) == null ? void 0 : Lt.wrapContent) || !1), y = Rn(n, a), x = jn(n, e), F = Vn(n), {
2037
2037
  collapseField: A
2038
2038
  } = F, {
2039
2039
  showLoading: j,
2040
- renderLoading: w
2040
+ renderLoading: C
2041
2041
  } = $n(n, s), g = Ln(n, /* @__PURE__ */ new Map(), x, F, a), {
2042
2042
  dataView: M
2043
- } = g, S = zn(n, g, a, p, e), {
2043
+ } = g, T = zn(n, g, a, p, e), {
2044
2044
  showSelection: N,
2045
2045
  selectedValues: _
2046
- } = S, C = An(n, p, g, a, S, e), T = H(() => n.disabled), P = H(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), I = Hn(n, g), {
2046
+ } = T, b = An(n, p, g, a, T, e), S = H(() => n.disabled), P = H(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), I = Hn(n, g), {
2047
2047
  shouldRenderPagination: V
2048
2048
  } = I, {
2049
2049
  containerStyleObject: W
@@ -2062,9 +2062,9 @@ const di = /* @__PURE__ */ We({
2062
2062
  updateColumnRenderContext: X
2063
2063
  } = L;
2064
2064
  ve(g, te);
2065
- const ie = Yn(n, he), le = Xn(n, e, S, a), ne = Qn(n, e, a, le, p), U = Jn(n), oe = Zn(n, ne, U), $e = Kn(n, g, ne, F, a, U, oe), Oe = eo(n, r, g, P, 0, $e), {
2065
+ const ie = Yn(n, he), le = Xn(n, e, T, a), ne = Qn(n, e, a, le, p), U = Jn(n), oe = Zn(n, ne, U), $e = Kn(n, g, ne, F, a, U, oe), Oe = eo(n, r, g, P, 0, $e), {
2066
2066
  getVisualData: xe
2067
- } = Oe, Ge = to(n, he), Le = no(n, S), {
2067
+ } = Oe, Ge = to(n, he), Le = no(n, T), {
2068
2068
  sidebarWidth: Ye
2069
2069
  } = Le, ae = oo(n, g, p, he, Oe, P, 0, Ye), {
2070
2070
  onWheel: Ze,
@@ -2089,13 +2089,13 @@ const di = /* @__PURE__ */ We({
2089
2089
  "fv-grid-wrap-content": v.value
2090
2090
  })), {
2091
2091
  renderDataArea: se
2092
- } = ui(n, e, f, u, m, Ge, L, g, ne, F, le, S, C, ae, Oe, U, p), {
2092
+ } = ui(n, e, f, u, m, Ge, L, g, ne, F, le, T, b, ae, Oe, U, p), {
2093
2093
  renderGridHeader: ce,
2094
2094
  renderGridColumnResizeOverlay: Fe,
2095
2095
  shouldShowHeader: ht
2096
- } = lo(n, e, l, u, m, L, g, Qe, Xe, x, De, ze, ie, S, Le, te, ae, Se, p), {
2096
+ } = lo(n, e, l, u, m, L, g, Qe, Xe, x, De, ze, ie, T, Le, te, ae, Se, p), {
2097
2097
  renderDataGridSidebar: gt
2098
- } = co(n, le, S, Le, ae), {
2098
+ } = co(n, le, T, Le, ae), {
2099
2099
  renderDisableMask: yt
2100
2100
  } = uo(), {
2101
2101
  renderHorizontalScrollbar: bt
@@ -2112,7 +2112,7 @@ const di = /* @__PURE__ */ We({
2112
2112
  rt(() => {
2113
2113
  l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / o), i.value), p.value = xe(0, P.value + 0 - 1), Nn(l.value, Ct), ke(), Nt(() => {
2114
2114
  l.value && (Ie.value = l.value.clientWidth), f.value && (Se.value = f.value.clientWidth, Ne.value = f.value.clientHeight);
2115
- })), j.value && w();
2115
+ })), j.value && C();
2116
2116
  }), mt(() => {
2117
2117
  }), Be(Se, () => {
2118
2118
  l.value && ke();
@@ -2124,7 +2124,7 @@ const di = /* @__PURE__ */ We({
2124
2124
  g.expandTo(z), g.reOrderVisibleIndex(), Pe();
2125
2125
  }
2126
2126
  function et() {
2127
- const z = S.getSelectionRow();
2127
+ const z = T.getSelectionRow();
2128
2128
  return z ? z.dataIndex - 1 : -1;
2129
2129
  }
2130
2130
  function St() {
@@ -2140,8 +2140,8 @@ const di = /* @__PURE__ */ We({
2140
2140
  g.insertNewChildDataItems(z, me);
2141
2141
  }
2142
2142
  function Mt() {
2143
- const z = et(), Y = C.getNextSelectableHierarchyItemId(z);
2144
- g.removeHierarchyDataItem(z), p.value = xe(0, P.value + 0 - 1), Y && S.selectItemById(Y);
2143
+ const z = et(), Y = b.getNextSelectableHierarchyItemId(z);
2144
+ g.removeHierarchyDataItem(z), p.value = xe(0, P.value + 0 - 1), Y && b.selectItemById(Y);
2145
2145
  }
2146
2146
  function lt(z) {
2147
2147
  ne.onEditingRow(z);
@@ -2162,7 +2162,7 @@ const di = /* @__PURE__ */ We({
2162
2162
  z && (g.load(z), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Pe());
2163
2163
  }
2164
2164
  function q(z) {
2165
- S.selectItemById(z);
2165
+ b.selectItemById(z);
2166
2166
  }
2167
2167
  function J(z) {
2168
2168
  const Y = p.value.find((de) => de.raw[a.idField.value] === z);
@@ -2172,25 +2172,25 @@ const di = /* @__PURE__ */ We({
2172
2172
  le.activeRowById(z);
2173
2173
  }
2174
2174
  function Ce(z) {
2175
- S.selectItemByIds(z);
2175
+ b.selectItemByIds(z);
2176
2176
  }
2177
2177
  function ge() {
2178
- return S.getSelectedItems();
2178
+ return T.getSelectedItems();
2179
2179
  }
2180
2180
  function ye() {
2181
- S.clearSelection();
2181
+ T.clearSelection();
2182
2182
  }
2183
2183
  const Te = H(() => !p.value || !p.value.length), {
2184
2184
  renderEmpty: ue
2185
2185
  } = mo(n, e);
2186
2186
  function Ee() {
2187
- return S.getSelectionRow();
2187
+ return T.getSelectionRow();
2188
2188
  }
2189
2189
  function be(z) {
2190
- S.unSelectItemByIds(z);
2190
+ b.unSelectItemByIds(z);
2191
2191
  }
2192
2192
  function pe() {
2193
- return S.currentSelectedDataId.value;
2193
+ return T.currentSelectedDataId.value;
2194
2194
  }
2195
2195
  function tt(z, Y, de) {
2196
2196
  const me = M.value.find((we) => we[c.value] === z);
@@ -2244,7 +2244,7 @@ const di = /* @__PURE__ */ We({
2244
2244
  de && le.changeRow(de);
2245
2245
  }
2246
2246
  function hn() {
2247
- S.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(p.value);
2247
+ T.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(p.value);
2248
2248
  }
2249
2249
  e.expose({
2250
2250
  activeRowById: Z,
@@ -2282,7 +2282,7 @@ const di = /* @__PURE__ */ We({
2282
2282
  ...W.value,
2283
2283
  borderRadius: "5px"
2284
2284
  }));
2285
- vo(n, e, g, ae, I, S);
2285
+ vo(n, e, g, ae, I, T);
2286
2286
  const bn = H(() => ({
2287
2287
  "d-flex": !0,
2288
2288
  "justify-content-between": V.value && N.value,
@@ -2309,7 +2309,7 @@ const di = /* @__PURE__ */ We({
2309
2309
  class: bn.value
2310
2310
  }, [N.value && B("div", {
2311
2311
  class: wn.value
2312
- }, [B("div", null, ["已选:" + _.value.length, Tn(" 条")])])]), Fe(), T.value && yt()]);
2312
+ }, [B("div", null, ["已选:" + _.value.length, Tn(" 条")])])]), Fe(), S.value && yt()]);
2313
2313
  }
2314
2314
  });
2315
2315
  On(di);
@@ -2452,8 +2452,8 @@ const mi = "https://json-schema.org/draft/2020-12/schema", vi = "https://farris-
2452
2452
  };
2453
2453
  at(Bi, Ci, fi, pi, Mi);
2454
2454
  function ki(n, e, t) {
2455
- var C;
2456
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = b();
2455
+ var b;
2456
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = w();
2457
2457
  let a;
2458
2458
  function c() {
2459
2459
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -2467,73 +2467,73 @@ function ki(n, e, t) {
2467
2467
  function f() {
2468
2468
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
2469
2469
  }
2470
- function u(T) {
2471
- if (!T || !T.value)
2470
+ function u(S) {
2471
+ if (!S || !S.value)
2472
2472
  return null;
2473
- if (T.value.schema && T.value.schema.type === "component")
2474
- return T.value;
2475
- const P = b(T == null ? void 0 : T.value.parent), I = u(P);
2473
+ if (S.value.schema && S.value.schema.type === "component")
2474
+ return S.value;
2475
+ const P = w(S == null ? void 0 : S.value.parent), I = u(P);
2476
2476
  return I || null;
2477
2477
  }
2478
- function m(T = e) {
2478
+ function m(S = e) {
2479
2479
  var W;
2480
2480
  if (t != null && t.getDraggableDesignItemElement)
2481
- return t.getDraggableDesignItemElement(T);
2482
- const { componentInstance: P, designerItemElementRef: I } = T;
2481
+ return t.getDraggableDesignItemElement(S);
2482
+ const { componentInstance: P, designerItemElementRef: I } = S;
2483
2483
  if (!P || !P.value)
2484
2484
  return null;
2485
2485
  const { getCustomButtons: V } = P.value;
2486
- return P.value.canMove || V && ((W = V()) != null && W.length) ? I : m(T.parent);
2486
+ return P.value.canMove || V && ((W = V()) != null && W.length) ? I : m(S.parent);
2487
2487
  }
2488
- function p(T) {
2489
- return !!t && t.canAccepts(T);
2488
+ function p(S) {
2489
+ return !!t && t.canAccepts(S);
2490
2490
  }
2491
2491
  function d() {
2492
2492
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
2493
2493
  }
2494
2494
  function v() {
2495
2495
  }
2496
- function y(T, P) {
2496
+ function y(S, P) {
2497
2497
  var I;
2498
- !T || !P || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(T, P), (I = e == null ? void 0 : e.setupContext) == null || I.emit("dragEnd"));
2498
+ !S || !P || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(S, P), (I = e == null ? void 0 : e.setupContext) == null || I.emit("dragEnd"));
2499
2499
  }
2500
- function x(T, P) {
2501
- const { componentType: I } = T;
2502
- let V = go(I, T, P);
2503
- t && t.onResolveNewComponentSchema && (V = t.onResolveNewComponentSchema(T, V));
2500
+ function x(S, P) {
2501
+ const { componentType: I } = S;
2502
+ let V = go(I, S, P);
2503
+ t && t.onResolveNewComponentSchema && (V = t.onResolveNewComponentSchema(S, V));
2504
2504
  const W = I.toLowerCase().replace(/-/g, "_");
2505
2505
  return V && !V.id && V.type === I && (V.id = `${W}_${Math.random().toString().slice(2, 6)}`), V;
2506
2506
  }
2507
- function F(T) {
2508
- T && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(T);
2507
+ function F(S) {
2508
+ S && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(S);
2509
2509
  }
2510
- function A(...T) {
2510
+ function A(...S) {
2511
2511
  if (t && t.getPropsConfig)
2512
- return t.getPropsConfig(...T);
2512
+ return t.getPropsConfig(...S);
2513
2513
  }
2514
- function j(T) {
2515
- if (!T)
2514
+ function j(S) {
2515
+ if (!S)
2516
2516
  return;
2517
- const P = e == null ? void 0 : e.schema, { formSchemaUtils: I } = T;
2517
+ const P = e == null ? void 0 : e.schema, { formSchemaUtils: I } = S;
2518
2518
  if (P && I.getExpressions().length) {
2519
2519
  const V = I.getExpressions().findIndex((W) => W.target === P.id);
2520
2520
  V > -1 && I.getExpressions().splice(V, 1);
2521
2521
  }
2522
2522
  }
2523
- function w(T) {
2524
- if (!T || !(e != null && e.schema))
2523
+ function C(S) {
2524
+ if (!S || !(e != null && e.schema))
2525
2525
  return;
2526
- const P = e.schema, { formSchemaUtils: I } = T;
2526
+ const P = e.schema, { formSchemaUtils: I } = S;
2527
2527
  I.removeCommunicationInComponent(P);
2528
2528
  }
2529
- function g(T) {
2530
- t && t.onRemoveComponent && t.onRemoveComponent(), j(T), w(T), e != null && e.schema.contents && e.schema.contents.map((P) => {
2529
+ function g(S) {
2530
+ t && t.onRemoveComponent && t.onRemoveComponent(), j(S), C(S), e != null && e.schema.contents && e.schema.contents.map((P) => {
2531
2531
  let I = P.id;
2532
2532
  P.type === "component-ref" && (I = P.component);
2533
2533
  const V = n.value.querySelectorAll(`#${I}-design-item`);
2534
2534
  V != null && V.length && Array.from(V).map((W) => {
2535
2535
  var ee;
2536
- (ee = W == null ? void 0 : W.componentInstance) != null && ee.value.onRemoveComponent && W.componentInstance.value.onRemoveComponent(T);
2536
+ (ee = W == null ? void 0 : W.componentInstance) != null && ee.value.onRemoveComponent && W.componentInstance.value.onRemoveComponent(S);
2537
2537
  });
2538
2538
  });
2539
2539
  }
@@ -2541,11 +2541,11 @@ function ki(n, e, t) {
2541
2541
  if (t && t.getCustomButtons)
2542
2542
  return t.getCustomButtons();
2543
2543
  }
2544
- function S(T) {
2544
+ function T(S) {
2545
2545
  var I, V;
2546
2546
  if (!((I = e == null ? void 0 : e.schema) != null && I.id))
2547
2547
  return;
2548
- if (!a && T && (a = T.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
2548
+ if (!a && S && (a = S.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
2549
2549
  t.setComponentBasicInfoMap();
2550
2550
  return;
2551
2551
  }
@@ -2561,10 +2561,10 @@ function ki(n, e, t) {
2561
2561
  parentPathName: P
2562
2562
  });
2563
2563
  }
2564
- function N(T) {
2564
+ function N(S) {
2565
2565
  var W;
2566
- const { changeObject: P } = T, { propertyID: I, propertyValue: V } = P;
2567
- if (["text", "title", "label", "name", "mainTitle"].includes((W = T == null ? void 0 : T.changeObject) == null ? void 0 : W.propertyID) && I && V && (S(), a)) {
2566
+ const { changeObject: P } = S, { propertyID: I, propertyValue: V } = P;
2567
+ if (["text", "title", "label", "name", "mainTitle"].includes((W = S == null ? void 0 : S.changeObject) == null ? void 0 : W.propertyID) && I && V && (T(), a)) {
2568
2568
  const ee = a.getControlBasicInfoMap(), D = ee.keys().toArray().filter((O) => {
2569
2569
  var G, L;
2570
2570
  return ((G = ee.get(O)) == null ? void 0 : G.reliedComponentId) === ((L = e == null ? void 0 : e.schema) == null ? void 0 : L.id);
@@ -2575,9 +2575,9 @@ function ki(n, e, t) {
2575
2575
  });
2576
2576
  }
2577
2577
  }
2578
- function _(T) {
2579
- if (N(T), t && t.onPropertyChanged)
2580
- return t.onPropertyChanged(T);
2578
+ function _(S) {
2579
+ if (N(S), t && t.onPropertyChanged)
2580
+ return t.onPropertyChanged(S);
2581
2581
  }
2582
2582
  return r.value = {
2583
2583
  canMove: c(),
@@ -2586,7 +2586,7 @@ function ki(n, e, t) {
2586
2586
  canNested: !f(),
2587
2587
  contents: e == null ? void 0 : e.schema.contents,
2588
2588
  elementRef: n,
2589
- parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
2589
+ parent: (b = e == null ? void 0 : e.parent) == null ? void 0 : b.componentInstance,
2590
2590
  schema: e == null ? void 0 : e.schema,
2591
2591
  styles: o,
2592
2592
  designerClass: i,
@@ -2599,12 +2599,12 @@ function ki(n, e, t) {
2599
2599
  onAcceptMovedChildElement: y,
2600
2600
  onChildElementMovedOut: F,
2601
2601
  addNewChildComponentSchema: x,
2602
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || b(!1),
2603
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || b(!1),
2602
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || w(!1),
2603
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || w(!1),
2604
2604
  onRemoveComponent: g,
2605
2605
  getCustomButtons: M,
2606
2606
  onPropertyChanged: _,
2607
- setComponentBasicInfoMap: S,
2607
+ setComponentBasicInfoMap: T,
2608
2608
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
2609
2609
  }, r;
2610
2610
  }
@@ -2931,7 +2931,7 @@ at(
2931
2931
  jt,
2932
2932
  void 0
2933
2933
  );
2934
- const Ji = b(0);
2934
+ const Ji = w(0);
2935
2935
  function Zi() {
2936
2936
  Ji.value++;
2937
2937
  }
@@ -3717,7 +3717,7 @@ function hr() {
3717
3717
  return { onCopy: n };
3718
3718
  }
3719
3719
  function gr(n, e, t, o) {
3720
- const i = b(14), r = b(140), a = b(""), c = b(o.value.length), s = H(() => o.value), l = H(() => ({
3720
+ const i = w(14), r = w(140), a = w(""), c = w(o.value.length), s = H(() => o.value), l = H(() => ({
3721
3721
  "font-size": `${i.value}px`,
3722
3722
  height: "100%"
3723
3723
  }));
@@ -3749,7 +3749,7 @@ function yr(n, e, t, o) {
3749
3749
  return { getEditorRender: a };
3750
3750
  }
3751
3751
  function br() {
3752
- const n = b(!1), e = b("复制成功");
3752
+ const n = w(!1), e = w("复制成功");
3753
3753
  return {
3754
3754
  feedbackStyle: H(() => {
3755
3755
  const o = {
@@ -3808,7 +3808,7 @@ function Cr(n, e) {
3808
3808
  const i = H(() => !!n.value && !!n.value.date), r = H(() => {
3809
3809
  const p = n.value && n.value.date || "";
3810
3810
  return `${e.exception.happend} : ${p}`;
3811
- }), a = H(() => !!n.value && !!n.value.detail), c = H(() => n.value ? t(n.value.detail) > 160 : !1), s = b(!1), l = H(() => s.value ? e.exception.collapse : e.exception.expand), f = H(() => {
3811
+ }), a = H(() => !!n.value && !!n.value.detail), c = H(() => n.value ? t(n.value.detail) > 160 : !1), s = w(!1), l = H(() => s.value ? e.exception.collapse : e.exception.expand), f = H(() => {
3812
3812
  const p = e.exception.detail + " : " + (n.value && n.value.detail) || "";
3813
3813
  return s.value ? p : o(p, 160);
3814
3814
  }), u = H(() => ({
@@ -3841,7 +3841,7 @@ function xr(n) {
3841
3841
  }, null);
3842
3842
  }
3843
3843
  function Sr(n, e, t, o, i) {
3844
- const r = b(n.exceptionInfo), a = H(() => {
3844
+ const r = w(n.exceptionInfo), a = H(() => {
3845
3845
  const d = e.value === "question" ? "warning" : e.value, v = {
3846
3846
  "f-icon": !0
3847
3847
  }, y = `f-icon-${d}`;
@@ -3871,7 +3871,7 @@ function Tr(n, e, t, o) {
3871
3871
  onCopy: i
3872
3872
  } = e, {
3873
3873
  toShowFeedback: r
3874
- } = t, a = b(o.exception.copySuccess || "复制成功"), c = b(o.exception.copy || "复制详细信息"), s = b(n.exceptionInfo || {
3874
+ } = t, a = w(o.exception.copySuccess || "复制成功"), c = w(o.exception.copy || "复制详细信息"), s = w(n.exceptionInfo || {
3875
3875
  date: "",
3876
3876
  message: "",
3877
3877
  detail: ""
@@ -3893,7 +3893,7 @@ function Tr(n, e, t, o) {
3893
3893
  }, [c.value])]);
3894
3894
  }
3895
3895
  function Er(n, e, t, o, i) {
3896
- const r = b(n.type), a = b(n.buttons), c = b(n.exceptionInfo), s = b(i.ok || n.okButtonText), l = b(i.cancel || n.cancelButtonText), f = b(n.showCancelButton), u = b(n.showOkButton), m = H(() => !!(a.value && a.value.length)), p = H(() => c.value && c.value.message && c.value.detail), d = H(() => !(a.value && a.value.length) && (u.value || f.value)), v = Tr(n, t, o, i);
3896
+ const r = w(n.type), a = w(n.buttons), c = w(n.exceptionInfo), s = w(i.ok || n.okButtonText), l = w(i.cancel || n.cancelButtonText), f = w(n.showCancelButton), u = w(n.showOkButton), m = H(() => !!(a.value && a.value.length)), p = H(() => !!(c.value && c.value.detail)), d = H(() => !(a.value && a.value.length) && (u.value || f.value)), v = Tr(n, t, o, i);
3897
3897
  s.value === "关闭" ? s.value = i.close : s.value === "知道了" && (s.value = i.exception.roger);
3898
3898
  function y(F) {
3899
3899
  r.value === "question" && e.emit("reject"), e.emit("close");
@@ -3950,7 +3950,7 @@ const dt = /* @__PURE__ */ We({
3950
3950
  props: fr,
3951
3951
  emits: ["accept", "reject", "close"],
3952
3952
  setup(n, e) {
3953
- const t = Mr(n), o = b(n.type), i = b(n.title), r = b(n.detail), a = H(() => {
3953
+ const t = Mr(n), o = w(n.type), i = w(n.title), r = w(n.detail), a = H(() => {
3954
3954
  const x = {
3955
3955
  "modal-tips": !0,
3956
3956
  "d-flex": !0,
@@ -4294,7 +4294,7 @@ class _e {
4294
4294
  }
4295
4295
  }
4296
4296
  function Ar(n, e) {
4297
- const t = b(), o = b(), i = b(), r = b(), a = b(), c = b(), s = b(), l = b(), f = b(), u = b(), m = b(), p = b(n.resizeable), d = b(), v = b(n.draggable), y = b(!1);
4297
+ const t = w(), o = w(), i = w(), r = w(), a = w(), c = w(), s = w(), l = w(), f = w(), u = w(), m = w(), p = w(n.resizeable), d = w(), v = w(n.draggable), y = w(!1);
4298
4298
  function x() {
4299
4299
  const D = o.value || document.body, O = window.getComputedStyle(D);
4300
4300
  if (!O || !t.value)
@@ -4327,7 +4327,7 @@ function Ar(n, e) {
4327
4327
  const D = n.minHeight ? n.minHeight : 1, O = n.minWidth ? n.minWidth : 1;
4328
4328
  c.value && s.value && l.value && r.value && (c.value.height < D && (c.value.height = D, l.value.n && a.value && (s.value.y = a.value.y + (r.value.height - D))), c.value.width < O && (c.value.width = O, l.value.w && a.value && (s.value.x = a.value.x + (r.value.width - O))), n.maxHeight && c.value.height > n.maxHeight && (c.value.height = n.maxHeight, a.value && l.value.n && (s.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && c.value.width > n.maxWidth && (c.value.width = n.maxWidth, l.value.w && a.value && (s.value.x = a.value.x + (r.value.width - n.maxWidth))));
4329
4329
  }
4330
- function w() {
4330
+ function C() {
4331
4331
  if (o.value) {
4332
4332
  const D = u.value;
4333
4333
  if (s.value && c.value && l.value && r.value) {
@@ -4341,7 +4341,7 @@ function Ar(n, e) {
4341
4341
  return;
4342
4342
  D.subtract(i.value);
4343
4343
  const O = D.x, G = D.y;
4344
- l.value.n ? (s.value.y = a.value.y + G, c.value.height = r.value.height - G) : l.value.s && (c.value.height = r.value.height + G), l.value.e ? c.value.width = r.value.width + O : l.value.w && (c.value.width = r.value.width - O, s.value.x = a.value.x + O), w(), j(), A();
4344
+ l.value.n ? (s.value.y = a.value.y + G, c.value.height = r.value.height - G) : l.value.s && (c.value.height = r.value.height + G), l.value.e ? c.value.width = r.value.width + O : l.value.w && (c.value.width = r.value.width - O, s.value.x = a.value.x + O), C(), j(), A();
4345
4345
  }
4346
4346
  function M(D) {
4347
4347
  if (!f.value)
@@ -4349,7 +4349,7 @@ function Ar(n, e) {
4349
4349
  const O = re.fromEvent(D);
4350
4350
  O && g(O);
4351
4351
  }
4352
- function S() {
4352
+ function T() {
4353
4353
  if (t.value) {
4354
4354
  const {
4355
4355
  width: D,
@@ -4372,7 +4372,7 @@ function Ar(n, e) {
4372
4372
  }
4373
4373
  function N(D) {
4374
4374
  if (t.value) {
4375
- const O = S();
4375
+ const O = T();
4376
4376
  m.value = O;
4377
4377
  }
4378
4378
  i.value = void 0, r.value = null, a.value = null, c.value = null, s.value = null, l.value = null, f.value = null, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", N);
@@ -4380,48 +4380,48 @@ function Ar(n, e) {
4380
4380
  function _() {
4381
4381
  document.addEventListener("mousemove", M), document.addEventListener("mouseup", N);
4382
4382
  }
4383
- function C(D) {
4383
+ function b(D) {
4384
4384
  D instanceof MouseEvent && D.button === 2 || v.value && (document.body.click(), D.stopPropagation(), D.preventDefault(), i.value = re.fromEvent(D), f.value = D.target, F(D), _());
4385
4385
  }
4386
- function T(D) {
4386
+ function S(D) {
4387
4387
  return t.value = D, p.value && B(it, null, [B("div", {
4388
4388
  class: "fv-resizable-handle fv-resizable-n",
4389
4389
  type: "n",
4390
- onMousedown: (O) => C(O)
4390
+ onMousedown: (O) => b(O)
4391
4391
  }, null), B("div", {
4392
4392
  class: "fv-resizable-handle fv-resizable-e",
4393
4393
  type: "e",
4394
- onMousedown: (O) => C(O)
4394
+ onMousedown: (O) => b(O)
4395
4395
  }, null), B("div", {
4396
4396
  class: "fv-resizable-handle fv-resizable-s",
4397
4397
  type: "s",
4398
- onMousedown: (O) => C(O)
4398
+ onMousedown: (O) => b(O)
4399
4399
  }, null), B("div", {
4400
4400
  class: "fv-resizable-handle fv-resizable-w",
4401
4401
  type: "w",
4402
- onMousedown: (O) => C(O)
4402
+ onMousedown: (O) => b(O)
4403
4403
  }, null), B("div", {
4404
4404
  class: "fv-resizable-handle fv-resizable-ne",
4405
4405
  type: "ne",
4406
- onMousedown: (O) => C(O)
4406
+ onMousedown: (O) => b(O)
4407
4407
  }, null), B("div", {
4408
4408
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4409
4409
  type: "se",
4410
- onMousedown: (O) => C(O)
4410
+ onMousedown: (O) => b(O)
4411
4411
  }, null), B("div", {
4412
4412
  class: "fv-resizable-handle fv-resizable-sw",
4413
4413
  type: "sw",
4414
- onMousedown: (O) => C(O)
4414
+ onMousedown: (O) => b(O)
4415
4415
  }, null), B("div", {
4416
4416
  class: "fv-resizable-handle fv-resizable-nw",
4417
4417
  type: "nw",
4418
- onMousedown: (O) => C(O)
4418
+ onMousedown: (O) => b(O)
4419
4419
  }, null)]);
4420
4420
  }
4421
4421
  function P(D = !0) {
4422
4422
  document.body.click();
4423
4423
  const O = o.value || document.body, G = _e.getCurrent(O), L = t.value;
4424
- D && L && (d.value = S(), d.value.transform = L.style.transform), G && L && (c.value = G, c.value.height -= 14, c.value.width -= 14, L.style.height = c.value.height + "px", L.style.width = c.value.width + "px", L.style.left = "7px", L.style.top = "7px", L.style.transform = "", m.value = {
4424
+ D && L && (d.value = T(), d.value.transform = L.style.transform), G && L && (c.value = G, c.value.height -= 14, c.value.width -= 14, L.style.height = c.value.height + "px", L.style.width = c.value.width + "px", L.style.left = "7px", L.style.top = "7px", L.style.transform = "", m.value = {
4425
4425
  size: c.value,
4426
4426
  position: {
4427
4427
  x: 0,
@@ -4469,7 +4469,7 @@ function Ar(n, e) {
4469
4469
  }
4470
4470
  const ee = W();
4471
4471
  return {
4472
- renderResizeBar: T,
4472
+ renderResizeBar: S,
4473
4473
  boundingElement: o,
4474
4474
  resizedEventParam: m,
4475
4475
  maximize: P,
@@ -4481,37 +4481,37 @@ function Ar(n, e) {
4481
4481
  };
4482
4482
  }
4483
4483
  function Hr(n, e, t) {
4484
- const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), c = b(), s = b(!1), l = b(new re(0, 0)), f = b(new re(0, 0)), u = b(new re(0, 0)), m = b(new re(0, 0));
4484
+ const o = w(), i = w(n.draggable), r = w(n.lockAxis), a = w(), c = w(), s = w(!1), l = w(new re(0, 0)), f = w(new re(0, 0)), u = w(new re(0, 0)), m = w(new re(0, 0));
4485
4485
  Be(() => t.value, (M) => {
4486
4486
  a.value.style.cursor = M ? "move" : "default";
4487
4487
  });
4488
- function p(M, S) {
4489
- if (S.tagName === "BUTTON")
4488
+ function p(M, T) {
4489
+ if (T.tagName === "BUTTON")
4490
4490
  return !1;
4491
- if (S === M)
4491
+ if (T === M)
4492
4492
  return !0;
4493
- for (const N in S.children)
4494
- if (Object.prototype.hasOwnProperty.call(S.children, N) && p(M, S.children[N]))
4493
+ for (const N in T.children)
4494
+ if (Object.prototype.hasOwnProperty.call(T.children, N) && p(M, T.children[N]))
4495
4495
  return !0;
4496
4496
  return !1;
4497
4497
  }
4498
4498
  function d() {
4499
- var _, C;
4500
- let M = u.value.x + f.value.x, S = u.value.y + f.value.y;
4501
- r.value === "x" ? (M = ((_ = l.value) == null ? void 0 : _.x) || 0, u.value.x = 0) : r.value === "y" && (S = ((C = l.value) == null ? void 0 : C.y) || 0, u.value.y = 0);
4502
- const N = `translate3d(${Math.round(M)}px, ${Math.round(S)}px, 0px)`;
4503
- o.value && (o.value.style.transform = N), m.value.x = M, m.value.y = S;
4499
+ var _, b;
4500
+ let M = u.value.x + f.value.x, T = u.value.y + f.value.y;
4501
+ r.value === "x" ? (M = ((_ = l.value) == null ? void 0 : _.x) || 0, u.value.x = 0) : r.value === "y" && (T = ((b = l.value) == null ? void 0 : b.y) || 0, u.value.y = 0);
4502
+ const N = `translate3d(${Math.round(M)}px, ${Math.round(T)}px, 0px)`;
4503
+ o.value && (o.value.style.transform = N), m.value.x = M, m.value.y = T;
4504
4504
  }
4505
4505
  function v() {
4506
4506
  if (!c.value || !o.value)
4507
4507
  return null;
4508
- const M = c.value.getBoundingClientRect(), S = o.value.getBoundingClientRect(), N = {
4509
- top: M.top < S.top,
4510
- right: M.right > S.right,
4511
- bottom: M.bottom > S.bottom,
4512
- left: M.left < S.left
4508
+ const M = c.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), N = {
4509
+ top: M.top < T.top,
4510
+ right: M.right > T.right,
4511
+ bottom: M.bottom > T.bottom,
4512
+ left: M.left < T.left
4513
4513
  };
4514
- return N.top || (u.value.y -= S.top - M.top), N.bottom || (u.value.y -= S.bottom - M.bottom), N.right || (u.value.x -= S.right - M.right), N.left || (u.value.x -= S.left - M.left), d(), N;
4514
+ return N.top || (u.value.y -= T.top - M.top), N.bottom || (u.value.y -= T.bottom - M.bottom), N.right || (u.value.x -= T.right - M.right), N.left || (u.value.x -= T.left - M.left), d(), N;
4515
4515
  }
4516
4516
  function y(M) {
4517
4517
  M && (l.value && M.subtract(l.value), u.value.set(M), d(), v());
@@ -4534,25 +4534,25 @@ function Hr(n, e, t) {
4534
4534
  }
4535
4535
  f.value.reset();
4536
4536
  }
4537
- function w(M) {
4537
+ function C(M) {
4538
4538
  if (!t.value || M instanceof MouseEvent && M.button === 2)
4539
4539
  return;
4540
- const S = M.target || M.srcElement;
4541
- a.value !== void 0 && S && !p(S, a.value) || i.value !== !1 && (document.body.click(), M.stopPropagation(), M.preventDefault(), l.value = re.fromEvent(M, o.value), j(), A());
4540
+ const T = M.target || M.srcElement;
4541
+ a.value !== void 0 && T && !p(T, a.value) || i.value !== !1 && (document.body.click(), M.stopPropagation(), M.preventDefault(), l.value = re.fromEvent(M, o.value), j(), A());
4542
4542
  }
4543
- function g(M, S, N) {
4544
- if (i.value && S) {
4543
+ function g(M, T, N) {
4544
+ if (i.value && T) {
4545
4545
  if (M)
4546
4546
  a.value = M;
4547
4547
  else if (n.dragHandle) {
4548
4548
  if (n.dragHandle instanceof HTMLElement)
4549
4549
  a.value = n.dragHandle;
4550
4550
  else if (typeof n.dragHandle == "string") {
4551
- const _ = S.querySelector(n.dragHandle);
4551
+ const _ = T.querySelector(n.dragHandle);
4552
4552
  _ && (a.value = _);
4553
4553
  }
4554
4554
  }
4555
- o.value = S, c.value = N, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", w)) : i.value = !1;
4555
+ o.value = T, c.value = N, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4556
4556
  }
4557
4557
  }
4558
4558
  return {
@@ -4571,7 +4571,7 @@ function un(n, e) {
4571
4571
  }
4572
4572
  }
4573
4573
  function Ur(n, e) {
4574
- const t = b(n.enableEsc);
4574
+ const t = w(n.enableEsc);
4575
4575
  let o = null;
4576
4576
  return t.value ? (o = un("Escape", (i) => {
4577
4577
  e.emit("esc", { event: i.event, type: "esc" });
@@ -4580,7 +4580,7 @@ function Ur(n, e) {
4580
4580
  }) : null;
4581
4581
  }
4582
4582
  function _r(n, e) {
4583
- const t = b(n.enableEnter);
4583
+ const t = w(n.enableEnter);
4584
4584
  let o = null;
4585
4585
  return t.value ? (o = un("Enter", (i) => {
4586
4586
  e.emit("enter", { event: i.event, type: "enter" });
@@ -4593,11 +4593,11 @@ const qe = /* @__PURE__ */ We({
4593
4593
  props: cn,
4594
4594
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4595
4595
  setup(n, e) {
4596
- const t = b(n.width || 300), o = b(n.height || 200), i = b(n.modelValue), r = b(""), a = b(n.class), c = b(n.fitContent), s = b(n.showHeader), l = b(""), f = b(n.showCloseButton), u = b(n.showMaxButton), m = b(!1), p = b(n.dialogType), d = b(n.src), v = b(""), y = b(n.showButtons), x = b(n.title), F = b(n.containment || null), A = b(), {
4596
+ const t = w(n.width || 300), o = w(n.height || 200), i = w(n.modelValue), r = w(""), a = w(n.class), c = w(n.fitContent), s = w(n.showHeader), l = w(""), f = w(n.showCloseButton), u = w(n.showMaxButton), m = w(!1), p = w(n.dialogType), d = w(n.src), v = w(""), y = w(n.showButtons), x = w(n.title), F = w(n.containment || null), A = w(), {
4597
4597
  t: j
4598
4598
  } = Pt();
4599
4599
  x.value === "错误提示" && (x.value = j("messageBox.errorTitle"));
4600
- const w = b(!1);
4600
+ const C = w(!1);
4601
4601
  function g(k, Q) {
4602
4602
  const se = Q ? "accept" : "cancel";
4603
4603
  Promise.resolve().then(() => {
@@ -4623,7 +4623,7 @@ const qe = /* @__PURE__ */ We({
4623
4623
  handle: (k) => {
4624
4624
  g(k, !0);
4625
4625
  }
4626
- }], S = b(n.buttons && n.buttons.length ? n.buttons : M), N = H(() => !!l.value), _ = H(() => !!y.value && !!S.value), C = b(), T = b(), P = b(!1), {
4626
+ }], T = w(n.buttons && n.buttons.length ? n.buttons : M), N = H(() => !!l.value), _ = H(() => !!y.value && !!T.value), b = w(), S = w(), P = w(!1), {
4627
4627
  renderResizeBar: I,
4628
4628
  maximize: V,
4629
4629
  restore: W,
@@ -4646,8 +4646,8 @@ const qe = /* @__PURE__ */ We({
4646
4646
  k !== Q && (x.value = k);
4647
4647
  }), Be(() => n.modelValue, (k, Q) => {
4648
4648
  k !== Q && (i.value = k, i.value && n.draggable && Nt(() => {
4649
- T.value && !F.value && (F.value = T.value.parentElement, ee.value = F.value, te(C.value, T.value, ee.value), L());
4650
- }), k || (F.value && (F.value = null), he())), i.value ? w.value = ve() : (P.value = !1, O.value = n.draggable);
4649
+ S.value && !F.value && (F.value = S.value.parentElement, ee.value = F.value, te(b.value, S.value, ee.value), L());
4650
+ }), k || (F.value && (F.value = null), he())), i.value ? C.value = ve() : (P.value = !1, O.value = n.draggable);
4651
4651
  }), Be(() => n.showHeader, (k, Q) => {
4652
4652
  k !== Q && (s.value = k);
4653
4653
  }), Be(() => n.showButtons, (k, Q) => {
@@ -4690,7 +4690,7 @@ const qe = /* @__PURE__ */ We({
4690
4690
  display: "block",
4691
4691
  zIndex: U()
4692
4692
  };
4693
- return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), w.value && (k.backgroundColor = "transparent"), k;
4693
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), C.value && (k.backgroundColor = "transparent"), k;
4694
4694
  }), $e = H(() => ({
4695
4695
  "modal-content": !0,
4696
4696
  "modal-content-has-header": s.value
@@ -4730,17 +4730,17 @@ const qe = /* @__PURE__ */ We({
4730
4730
  k.handle && await k.handle(Q, k) && e.emit("closed", Q);
4731
4731
  }
4732
4732
  function Ie(k) {
4733
- k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (S.value = k.buttons), k.title && (x.value = k.title);
4733
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (T.value = k.buttons), k.title && (x.value = k.title);
4734
4734
  }
4735
4735
  let Ne = null, Se = null;
4736
4736
  En(() => {
4737
- w.value = ve();
4737
+ C.value = ve();
4738
4738
  }), rt(() => {
4739
- T.value && !F.value && (F.value = T.value.parentElement, ee.value = F.value, te(C.value, T.value, ee.value)), X.value && document.body.classList.add("modal-open"), Ne = Ur(n, e), Se = _r(n, e);
4739
+ S.value && !F.value && (F.value = S.value.parentElement, ee.value = F.value, te(b.value, S.value, ee.value)), X.value && document.body.classList.add("modal-open"), Ne = Ur(n, e), Se = _r(n, e);
4740
4740
  }), mt(() => {
4741
4741
  G && G(), Ne && Ne.remove(), Se && Se.remove();
4742
4742
  }), e.expose({
4743
- modalElementRef: T,
4743
+ modalElementRef: S,
4744
4744
  updateModalOptions: Ie,
4745
4745
  close: g,
4746
4746
  maxDialog: ae,
@@ -4769,8 +4769,8 @@ const qe = /* @__PURE__ */ We({
4769
4769
  return B("div", {
4770
4770
  class: "modal-footer",
4771
4771
  style: Ye.value
4772
- }, [S.value && S.value.map((k) => {
4773
- const Q = b(k.disabled);
4772
+ }, [T.value && T.value.map((k) => {
4773
+ const Q = w(k.disabled);
4774
4774
  return B("button", {
4775
4775
  name: k.name,
4776
4776
  type: "button",
@@ -4786,7 +4786,7 @@ const qe = /* @__PURE__ */ We({
4786
4786
  }
4787
4787
  function ze() {
4788
4788
  return B("div", {
4789
- ref: C,
4789
+ ref: b,
4790
4790
  class: "modal-header",
4791
4791
  style: Oe.value
4792
4792
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : B("div", {
@@ -4816,7 +4816,7 @@ const qe = /* @__PURE__ */ We({
4816
4816
  id: r.value,
4817
4817
  class: le.value,
4818
4818
  style: ne.value,
4819
- ref: T
4819
+ ref: S
4820
4820
  }, [B("div", {
4821
4821
  class: $e.value
4822
4822
  }, [s.value && ze(), B("div", {
@@ -4827,7 +4827,7 @@ const qe = /* @__PURE__ */ We({
4827
4827
  width: "100%",
4828
4828
  frameborder: "0",
4829
4829
  src: d.value
4830
- }, null)]), ke()]), !c.value && T.value && !P.value && I(T.value)]);
4830
+ }, null)]), ke()]), !c.value && S.value && !P.value && I(S.value)]);
4831
4831
  }
4832
4832
  function Qe(k) {
4833
4833
  return k || "body";
@@ -4863,7 +4863,7 @@ function qr(n) {
4863
4863
  mt(() => {
4864
4864
  document.body.removeChild(e);
4865
4865
  });
4866
- const r = b(), a = b(n.class || ""), c = b(!!n.showButtons), s = b(!!n.showHeader), l = b(n.showCloseButton == null ? !0 : n.showCloseButton), f = b(!0), u = b(n.title || ""), m = n.acceptCallback || (() => {
4866
+ const r = w(), a = w(n.class || ""), c = w(!!n.showButtons), s = w(!!n.showHeader), l = w(n.showCloseButton == null ? !0 : n.showCloseButton), f = w(!0), u = w(n.title || ""), m = n.acceptCallback || (() => {
4867
4867
  }), p = n.rejectCallback || (() => {
4868
4868
  }), d = n.closedCallback || ((A) => {
4869
4869
  }), v = n.resizeHandle || ((A) => {
@@ -4903,10 +4903,10 @@ function qr(n) {
4903
4903
  class fn {
4904
4904
  constructor(e) {
4905
4905
  K(this, "appContext", null);
4906
- K(this, "modalRef", b());
4907
- K(this, "activeModalIndex", b(0));
4906
+ K(this, "modalRef", w());
4907
+ K(this, "activeModalIndex", w(0));
4908
4908
  K(this, "modalRefs", {});
4909
- K(this, "isUseEscCloseModal", b(!1));
4909
+ K(this, "isUseEscCloseModal", w(!1));
4910
4910
  K(this, "activeModalInstance", H(() => this.modalRefs[this.activeModalIndex.value]));
4911
4911
  this.app = e, this.appContext = e ? e._context : null;
4912
4912
  }
@@ -4945,29 +4945,29 @@ class fn {
4945
4945
  title: "",
4946
4946
  showButtons: !0,
4947
4947
  showHeader: !0
4948
- }, e)), i = b(!0), r = o.value.acceptCallback || (() => {
4948
+ }, e)), i = w(!0), r = o.value.acceptCallback || (() => {
4949
4949
  }), a = o.value.rejectCallback || (() => {
4950
- }), c = o.value.closedCallback || ((w, g) => {
4951
- }), s = o.value.resizeHandle || ((w) => {
4952
- }), l = e.stopMoveHandle || ((w) => {
4950
+ }), c = o.value.closedCallback || ((C, g) => {
4951
+ }), s = o.value.resizeHandle || ((C) => {
4952
+ }), l = e.stopMoveHandle || ((C) => {
4953
4953
  });
4954
4954
  let f;
4955
- const u = dn(o.value), m = (w) => {
4955
+ const u = dn(o.value), m = (C) => {
4956
4956
  var M;
4957
4957
  i.value = !1;
4958
- const g = (M = w == null ? void 0 : w.target) == null ? void 0 : M.classList.contains("modal_close");
4959
- c(w, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
4960
- }, p = (w) => {
4961
- m(w), f && Nt(() => {
4958
+ const g = (M = C == null ? void 0 : C.target) == null ? void 0 : M.classList.contains("modal_close");
4959
+ c(C, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
4960
+ }, p = (C) => {
4961
+ m(C), f && Nt(() => {
4962
4962
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], kt(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
4963
4963
  const g = Object.keys(this.modalRefs).map((M) => Number(M));
4964
4964
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
4965
4965
  }
4966
4966
  this.isUseEscCloseModal.value = !1;
4967
4967
  });
4968
- }, d = (w) => {
4968
+ }, d = (C) => {
4969
4969
  var g;
4970
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(w == null ? void 0 : w.event));
4970
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(C == null ? void 0 : C.event));
4971
4971
  }, {
4972
4972
  width: v,
4973
4973
  height: y
@@ -4976,7 +4976,7 @@ class fn {
4976
4976
  const F = () => B(qe, It({
4977
4977
  ref: this.modalRef,
4978
4978
  modelValue: i.value,
4979
- "onUpdate:modelValue": (w) => i.value = w
4979
+ "onUpdate:modelValue": (C) => i.value = C
4980
4980
  }, o.value, {
4981
4981
  onAccept: r,
4982
4982
  onCancel: a,
@@ -4987,17 +4987,17 @@ class fn {
4987
4987
  }), {
4988
4988
  default: () => [u && u(this.app)]
4989
4989
  });
4990
- return f = ((w) => {
4991
- const g = kn(F, w);
4990
+ return f = ((C) => {
4991
+ const g = kn(F, C);
4992
4992
  return g.appContext = this.appContext, kt(g, t), g;
4993
4993
  })({
4994
4994
  ...o.value
4995
4995
  // 'onUpdate:modelValue': onUpdateModelValue,
4996
4996
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
4997
- update: (w) => {
4997
+ update: (C) => {
4998
4998
  o.value = {
4999
4999
  ...o.value,
5000
- ...w
5000
+ ...C
5001
5001
  }, f && kt(Fn(f, {
5002
5002
  ...o
5003
5003
  }), t);
@@ -5156,8 +5156,8 @@ function Yr(n, e) {
5156
5156
  var F;
5157
5157
  const v = (F = t.appearance) == null ? void 0 : F.class, { sourceType: y } = d;
5158
5158
  return v && v.includes("f-page-is-managelist") ? y === "control" ? !(t.contents && t.contents.find((j) => {
5159
- var w, g;
5160
- return j.type === E.section.type && ((g = (w = j.appearance) == null ? void 0 : w.class) == null ? void 0 : g.includes("f-section-scheme"));
5159
+ var C, g;
5160
+ return j.type === E.section.type && ((g = (C = j.appearance) == null ? void 0 : C.class) == null ? void 0 : g.includes("f-section-scheme"));
5161
5161
  })) && r() && !a() : y === "move" : !1;
5162
5162
  }
5163
5163
  function s(d) {
@@ -5201,7 +5201,7 @@ const Xr = /* @__PURE__ */ We({
5201
5201
  props: Rt,
5202
5202
  emits: [],
5203
5203
  setup(n, e) {
5204
- const t = b(), o = At("designer-host-service"), i = At("design-item-context"), r = Yr(i, o), a = ki(t, i, r), c = H(() => Xt({
5204
+ const t = w(), o = At("designer-host-service"), i = At("design-item-context"), r = Yr(i, o), a = ki(t, i, r), c = H(() => Xt({
5205
5205
  "drag-container": !0
5206
5206
  }, n == null ? void 0 : n.customClass));
5207
5207
  return rt(() => {