@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 Mn = Object.defineProperty;
2
2
  var Fn = (n, e, t) => e in n ? Mn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var X = (n, e, t) => Fn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { ref as b, computed as A, defineComponent as _e, watch as xe, onMounted as Ze, createVNode as M, withDirectives as Bn, vModelText as kn, nextTick as at, Fragment as rt, reactive as Le, createApp as Yt, onUnmounted as wt, Transition as Jt, mergeProps as Dt, createTextVNode as In, onBeforeMount as Pn, Teleport as Vn, shallowRef as On, render as Nt, h as Nn, cloneVNode as $n, inject as Wt } from "vue";
4
+ import { ref as w, computed as A, defineComponent as _e, watch as xe, onMounted as Ze, createVNode as M, withDirectives as Bn, vModelText as kn, nextTick as at, Fragment as rt, reactive as Le, createApp as Yt, onUnmounted as wt, Transition as Jt, mergeProps as Dt, createTextVNode as In, onBeforeMount as Pn, Teleport as Vn, shallowRef as On, render as Nt, h as Nn, cloneVNode as $n, inject as Wt } from "vue";
5
5
  import { cloneDeep as vt, isPlainObject as _t, isUndefined as $e } from "lodash-es";
6
6
  import { useCommonUtils as Dn, useTextBox as Ln, useClear as jn, getCustomClass as Rn, withInstall as Qt, FormSchemaEntityField$Type as ht, FormSchemaEntityFieldTypeName as Gt, getMaxZIndex as Hn, FormSchemaEntityFieldType$Type as An } from "../common/index.esm.js";
7
7
  import { getSchemaByTypeForDesigner as zn, createPropsResolver as Zt, resolveAppearance as Un } from "../dynamic-resolver/index.esm.js";
@@ -90,17 +90,17 @@ import "../notify/index.esm.js";
90
90
  function Kt(n, e) {
91
91
  let t;
92
92
  function o(s) {
93
- const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(m).reduce((T, B) => ((!v || !f.find((z) => z === B)) && (T[B] = m[B].type === "object" && m[B].properties ? o(m[B]) : vt(m[B].default)), T), {});
94
- if (d && (!v || !f.find((T) => T === "id"))) {
95
- const T = d.toLowerCase().replace(/-/g, "_");
96
- y.id = `${T}_${Math.random().toString().slice(2, 6)}`;
93
+ const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(m).reduce((S, B) => ((!v || !f.find((z) => z === B)) && (S[B] = m[B].type === "object" && m[B].properties ? o(m[B]) : vt(m[B].default)), S), {});
94
+ if (d && (!v || !f.find((S) => S === "id"))) {
95
+ const S = d.toLowerCase().replace(/-/g, "_");
96
+ y.id = `${S}_${Math.random().toString().slice(2, 6)}`;
97
97
  }
98
98
  return y;
99
99
  }
100
100
  function i(s) {
101
101
  const { properties: m, title: d, required: f } = s;
102
102
  if (f && Array.isArray(f)) {
103
- const v = f.reduce((y, T) => (y[T] = m[T].type === "object" && m[T].properties ? o(m[T]) : vt(m[T].default), y), {});
103
+ const v = f.reduce((y, S) => (y[S] = m[S].type === "object" && m[S].properties ? o(m[S]) : vt(m[S].default), y), {});
104
104
  if (d && f.find((y) => y === "id")) {
105
105
  const y = d.toLowerCase().replace(/-/g, "_");
106
106
  v.id = `${y}_${Math.random().toString().slice(2, 6)}`;
@@ -131,8 +131,8 @@ function Kt(n, e) {
131
131
  if (typeof y == "string")
132
132
  f[y] = s[v];
133
133
  else {
134
- const T = y(v, s[v], s);
135
- Object.assign(f, T);
134
+ const S = y(v, s[v], s);
135
+ Object.assign(f, S);
136
136
  }
137
137
  } else
138
138
  f[v] = s[v];
@@ -152,7 +152,7 @@ function Kt(n, e) {
152
152
  return s;
153
153
  const v = a(s, f), y = ((d = s.editor) == null ? void 0 : d.type) || "";
154
154
  if (y) {
155
- const T = n[y], B = a(s.editor, T);
155
+ const S = n[y], B = a(s.editor, S);
156
156
  v.editor = B;
157
157
  }
158
158
  return v;
@@ -214,8 +214,8 @@ function Vo(n = {}) {
214
214
  return r(c).reduce((d, f) => d && a(f, p), !0);
215
215
  }
216
216
  function l(c, p) {
217
- const s = Object.keys(c), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, T = (f ? c[f ? m ? "allOf" : "anyOf" : "allOf"] : [c]).map((z) => u(z, p));
218
- return m ? !T.includes(!1) : T.includes(!0);
217
+ const s = Object.keys(c), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, S = (f ? c[f ? m ? "allOf" : "anyOf" : "allOf"] : [c]).map((z) => u(z, p));
218
+ return m ? !S.includes(!1) : S.includes(!0);
219
219
  }
220
220
  return { parseValueSchema: l };
221
221
  }
@@ -521,16 +521,16 @@ function nn(n, e, t) {
521
521
  const y = f.$converter || v;
522
522
  return typeof y == "string" && y && o.has(y) ? o.get(y) || null : y || null;
523
523
  }
524
- function p(f, v, y, T, B, z = "", L = "") {
524
+ function p(f, v, y, S, B, z = "", L = "") {
525
525
  return Object.keys(f).map((g) => {
526
- const F = b(1), x = g, P = f[g], q = Object.keys(P), C = P.title, E = P.type, N = i.get(E) || { type: "input-group", enableClear: !1 }, V = P.editor ? Object.assign({}, N, P.editor) : Object.assign({}, N), S = u(q, P, v), U = l(q, P, v);
526
+ const F = w(1), T = g, P = f[g], q = Object.keys(P), b = P.title, E = P.type, N = i.get(E) || { type: "input-group", enableClear: !1 }, V = P.editor ? Object.assign({}, N, P.editor) : Object.assign({}, N), x = u(q, P, v), U = l(q, P, v);
527
527
  V.readonly = V.readonly === void 0 ? U() : V.readonly;
528
- const Z = P.type === "cascade" ? p(P.properties, v, y, T, B, z, L) : [], O = !0;
528
+ const Z = P.type === "cascade" ? p(P.properties, v, y, S, B, z, L) : [], O = !0;
529
529
  let I = c(P, L);
530
530
  const G = A({
531
531
  get() {
532
532
  if (F.value) {
533
- if (["class", "style"].find((se) => se === x) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
533
+ if (["class", "style"].find((se) => se === T) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
534
534
  return I.convertFrom(y, g, B, z);
535
535
  const ie = y[g];
536
536
  return Object.prototype.hasOwnProperty.call(P, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? P.type === "boolean" ? P.defaultValue : P.defaultValue || "" : ie;
@@ -538,44 +538,44 @@ function nn(n, e, t) {
538
538
  return null;
539
539
  },
540
540
  set(ie) {
541
- F.value += 1, I && I.convertTo ? (I.convertTo(T, g, ie, B, z), I.convertTo(y, g, ie, B, z)) : (T[g] = ie, y[g] = ie);
541
+ F.value += 1, I && I.convertTo ? (I.convertTo(S, g, ie, B, z), I.convertTo(y, g, ie, B, z)) : (S[g] = ie, y[g] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he } = P, J = { propertyID: x, propertyName: C, propertyType: E, propertyValue: G, editor: V, visible: S, readonly: U, cascadeConfig: Z, hideCascadeTitle: O, refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he };
544
- return v[x] = J, J;
543
+ }), { refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he } = P, J = { propertyID: T, propertyName: b, propertyType: E, propertyValue: G, editor: V, visible: x, readonly: U, cascadeConfig: Z, hideCascadeTitle: O, refreshPanelAfterChanged: R, description: te, isExpand: ve, parentPropertyID: he };
544
+ return v[T] = J, J;
545
545
  });
546
546
  }
547
547
  function s(f, v, y = {}) {
548
- const T = {}, B = n[f];
548
+ const S = {}, B = n[f];
549
549
  return B && B.categories ? Object.keys(B.categories).map((L) => {
550
- const w = B.categories[L], g = w == null ? void 0 : w.title, F = p(w.properties || {}, T, {}, y, v);
550
+ const C = B.categories[L], g = C == null ? void 0 : C.title, F = p(C.properties || {}, S, {}, y, v);
551
551
  return { categoryId: L, categoryName: g, properties: F };
552
552
  }) : [];
553
553
  }
554
- function m(f, v, y, T, B = "") {
555
- const z = v.$ref.schema, L = v.$ref.converter, w = y[z], g = w.type, F = t(w), x = {}, P = n[g];
554
+ function m(f, v, y, S, B = "") {
555
+ const z = v.$ref.schema, L = v.$ref.converter, C = y[z], g = C.type, F = t(C), T = {}, P = n[g];
556
556
  if (P && P.categories) {
557
- const q = P.categories[f], C = q == null ? void 0 : q.title;
557
+ const q = P.categories[f], b = q == null ? void 0 : q.title;
558
558
  L && Object.keys(q.properties).forEach((V) => {
559
559
  q.properties[V].$converter = L;
560
560
  });
561
- const E = (q == null ? void 0 : q.properties) || {}, N = p(E, x, F, w, T, B);
562
- return { categoryId: f, categoryName: C, properties: N };
561
+ const E = (q == null ? void 0 : q.properties) || {}, N = p(E, T, F, C, S, B);
562
+ return { categoryId: f, categoryName: b, properties: N };
563
563
  }
564
564
  return { categoryId: f, categoryName: "", properties: [] };
565
565
  }
566
- function d(f, v, y, T, B) {
567
- const z = f.type, L = t(f), w = {};
566
+ function d(f, v, y, S, B) {
567
+ const z = f.type, L = t(f), C = {};
568
568
  let g = B || n[z];
569
- if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(T)), g && g.categories) {
569
+ if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(S)), g && g.categories) {
570
570
  const F = [];
571
- return Object.keys(g.categories).map((x) => {
572
- const P = g.categories[x];
571
+ return Object.keys(g.categories).map((T) => {
572
+ const P = g.categories[T];
573
573
  if (P.$ref) {
574
- F.push(m(x, P, f, v, T));
574
+ F.push(m(T, P, f, v, S));
575
575
  return;
576
576
  }
577
- const q = P == null ? void 0 : P.title, C = P == null ? void 0 : P.tabId, E = P == null ? void 0 : P.tabName, N = P == null ? void 0 : P.hide, V = P == null ? void 0 : P.hideTitle, S = p(P.properties || {}, w, L, f, v, T, P.$converter), { setPropertyRelates: U } = P, Z = P == null ? void 0 : P.parentPropertyID;
578
- F.push({ categoryId: x, categoryName: q, tabId: C, tabName: E, hide: N, properties: S, hideTitle: V, setPropertyRelates: U, parentPropertyID: Z });
577
+ const q = P == null ? void 0 : P.title, b = P == null ? void 0 : P.tabId, E = P == null ? void 0 : P.tabName, N = P == null ? void 0 : P.hide, V = P == null ? void 0 : P.hideTitle, x = p(P.properties || {}, C, L, f, v, S, P.$converter), { setPropertyRelates: U } = P, Z = P == null ? void 0 : P.parentPropertyID;
578
+ F.push({ categoryId: T, categoryName: q, tabId: b, tabName: E, hide: N, properties: x, hideTitle: V, setPropertyRelates: U, parentPropertyID: Z });
579
579
  }), F;
580
580
  }
581
581
  return [];
@@ -785,10 +785,10 @@ const Rt = {
785
785
  var V;
786
786
  const {
787
787
  isUndefined: t
788
- } = Dn(), o = b(), i = b(null), r = A(() => n.modelValue), a = A(() => {
788
+ } = Dn(), o = w(), i = w(null), r = A(() => n.modelValue), a = A(() => {
789
789
  if (!(n.allowUnlimtedWhenEmpty && n.maxLength === 0 || t(n.maxLength)))
790
790
  return typeof n.maxLength == "number" && !isNaN(n.maxLength) ? n.maxLength : n.modelValue ? n.modelValue.length : 0;
791
- }), u = b(((V = n.modelValue) == null ? void 0 : V.slice(0, a.value)) || ""), l = Ln(n, e, u, r, o), {
791
+ }), u = w(((V = n.modelValue) == null ? void 0 : V.slice(0, a.value)) || ""), l = Ln(n, e, u, r, o), {
792
792
  inputGroupClass: c,
793
793
  onBlur: p,
794
794
  onFocus: s,
@@ -797,29 +797,29 @@ const Rt = {
797
797
  onTextBoxValueChange: f,
798
798
  hasFocused: v
799
799
  } = l, y = jn(n, e, l), {
800
- onMouseEnter: T,
800
+ onMouseEnter: S,
801
801
  onMouseLeave: B,
802
802
  clearButtonClass: z,
803
803
  shouldShowClearButton: L,
804
- clearButtonStyle: w
805
- } = y, g = (S) => {
804
+ clearButtonStyle: C
805
+ } = y, g = (x) => {
806
806
  var U, Z, O;
807
- S.stopPropagation(), e.emit("update:modelValue", (U = S.target) == null ? void 0 : U.value), e.emit("valueChange", (Z = S.target) == null ? void 0 : Z.value), e.emit("change", (O = S.target) == null ? void 0 : O.value);
808
- }, F = (S) => {
809
- S.stopPropagation(), i.value.value = "", e.emit("update:modelValue", ""), e.emit("valueChange", ""), e.emit("change", "");
810
- }, x = (S) => {
807
+ x.stopPropagation(), e.emit("update:modelValue", (U = x.target) == null ? void 0 : U.value), e.emit("valueChange", (Z = x.target) == null ? void 0 : Z.value), e.emit("change", (O = x.target) == null ? void 0 : O.value);
808
+ }, F = (x) => {
809
+ x.stopPropagation(), i.value.value = "", e.emit("update:modelValue", ""), e.emit("valueChange", ""), e.emit("change", "");
810
+ }, T = (x) => {
811
811
  if (n.readonly || !v)
812
812
  return;
813
813
  const {
814
814
  altKey: U,
815
815
  key: Z
816
- } = S;
816
+ } = x;
817
817
  if (Z === "Enter" && !U && n.lineBreak === "alt enter") {
818
- S.preventDefault();
818
+ x.preventDefault();
819
819
  return;
820
820
  }
821
821
  if (U && Z === "Enter" && n.lineBreak === "alt enter") {
822
- S.stopPropagation(), S.preventDefault();
822
+ x.stopPropagation(), x.preventDefault();
823
823
  const {
824
824
  selectionStart: O,
825
825
  selectionEnd: I
@@ -835,14 +835,14 @@ const Rt = {
835
835
  "form-control": !0,
836
836
  "h-100": n.autoHeight
837
837
  })), q = A(() => {
838
- const S = {};
839
- return n.resizable || (S.resize = "none"), n.rows > 2 ? {
838
+ const x = {};
839
+ return n.resizable || (x.resize = "none"), n.rows > 2 ? {
840
840
  height: "auto",
841
- ...S
842
- } : S;
843
- }), C = A(() => n.disabled || n.readonly ? "" : n.placeholder);
844
- xe(() => n.modelValue, (S, U) => {
845
- S !== U && (u.value = S);
841
+ ...x
842
+ } : x;
843
+ }), b = A(() => n.disabled || n.readonly ? "" : n.placeholder);
844
+ xe(() => n.modelValue, (x, U) => {
845
+ x !== U && (u.value = x);
846
846
  });
847
847
  const E = () => i.value;
848
848
  e.expose({
@@ -850,8 +850,8 @@ const Rt = {
850
850
  getTextareaElement: E
851
851
  });
852
852
  function N() {
853
- var S, U;
854
- n.selectOnCreated && ((S = i.value) == null || S.select()), n.focusOnCreated && ((U = i.value) == null || U.focus({
853
+ var x, U;
854
+ n.selectOnCreated && ((x = i.value) == null || x.select()), n.focusOnCreated && ((U = i.value) == null || U.focus({
855
855
  preventScroll: !0
856
856
  }));
857
857
  }
@@ -860,27 +860,27 @@ const Rt = {
860
860
  }), () => M("div", {
861
861
  ref: o,
862
862
  class: c.value,
863
- onMouseenter: T,
863
+ onMouseenter: S,
864
864
  onMouseleave: B,
865
865
  style: "position:relative"
866
866
  }, [Bn(M("textarea", {
867
867
  ref: i,
868
868
  class: P.value,
869
869
  id: n.id,
870
- "onUpdate:modelValue": (S) => u.value = S,
870
+ "onUpdate:modelValue": (x) => u.value = x,
871
871
  minlength: n.minLength,
872
872
  maxlength: a.value,
873
873
  tabindex: n.tabIndex,
874
874
  disabled: n.disabled,
875
875
  readonly: n.readonly,
876
876
  autocomplete: n.autocomplete,
877
- placeholder: C.value,
877
+ placeholder: b.value,
878
878
  autofocus: n.autofocus,
879
879
  rows: n.rows,
880
880
  onInput: g,
881
881
  onFocus: s,
882
882
  onChange: f,
883
- onKeydown: x,
883
+ onKeydown: T,
884
884
  onBlur: p,
885
885
  onMousedown: m,
886
886
  onMouseup: d,
@@ -888,16 +888,16 @@ const Rt = {
888
888
  }, null), [[kn, u.value]]), L.value && M("span", {
889
889
  id: "clearIcon",
890
890
  class: z.value,
891
- style: w.value,
892
- onClick: (S) => F(S)
891
+ style: C.value,
892
+ onClick: (x) => F(x)
893
893
  }, [M("i", {
894
894
  class: "f-icon modal_close"
895
895
  }, null)])]);
896
896
  }
897
897
  });
898
898
  function pi(n, e, t) {
899
- var C;
900
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = b();
899
+ var b;
900
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = w();
901
901
  let a;
902
902
  function u() {
903
903
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -916,7 +916,7 @@ function pi(n, e, t) {
916
916
  return null;
917
917
  if (E.value.schema && E.value.schema.type === "component")
918
918
  return E.value;
919
- const N = b(E == null ? void 0 : E.value.parent), V = s(N);
919
+ const N = w(E == null ? void 0 : E.value.parent), V = s(N);
920
920
  return V || null;
921
921
  }
922
922
  function m(E = e) {
@@ -926,8 +926,8 @@ function pi(n, e, t) {
926
926
  const { componentInstance: N, designerItemElementRef: V } = E;
927
927
  if (!N || !N.value)
928
928
  return null;
929
- const { getCustomButtons: S } = N.value;
930
- return N.value.canMove || S && ((U = S()) != null && U.length) ? V : m(E.parent);
929
+ const { getCustomButtons: x } = N.value;
930
+ return N.value.canMove || x && ((U = x()) != null && U.length) ? V : m(E.parent);
931
931
  }
932
932
  function d(E) {
933
933
  return !!t && t.canAccepts(E);
@@ -941,12 +941,12 @@ function pi(n, e, t) {
941
941
  var V;
942
942
  !E || !N || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(E, N), (V = e == null ? void 0 : e.setupContext) == null || V.emit("dragEnd"));
943
943
  }
944
- function T(E, N) {
944
+ function S(E, N) {
945
945
  const { componentType: V } = E;
946
- let S = zn(V, E, N);
947
- t && t.onResolveNewComponentSchema && (S = t.onResolveNewComponentSchema(E, S));
946
+ let x = zn(V, E, N);
947
+ t && t.onResolveNewComponentSchema && (x = t.onResolveNewComponentSchema(E, x));
948
948
  const U = V.toLowerCase().replace(/-/g, "_");
949
- return S && !S.id && S.type === V && (S.id = `${U}_${Math.random().toString().slice(2, 6)}`), S;
949
+ return x && !x.id && x.type === V && (x.id = `${U}_${Math.random().toString().slice(2, 6)}`), x;
950
950
  }
951
951
  function B(E) {
952
952
  E && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(E);
@@ -960,22 +960,22 @@ function pi(n, e, t) {
960
960
  return;
961
961
  const N = e == null ? void 0 : e.schema, { formSchemaUtils: V } = E;
962
962
  if (N && V.getExpressions().length) {
963
- const S = V.getExpressions().findIndex((U) => U.target === N.id);
964
- S > -1 && V.getExpressions().splice(S, 1);
963
+ const x = V.getExpressions().findIndex((U) => U.target === N.id);
964
+ x > -1 && V.getExpressions().splice(x, 1);
965
965
  }
966
966
  }
967
- function w(E) {
967
+ function C(E) {
968
968
  if (!E || !(e != null && e.schema))
969
969
  return;
970
970
  const N = e.schema, { formSchemaUtils: V } = E;
971
971
  V.removeCommunicationInComponent(N);
972
972
  }
973
973
  function g(E) {
974
- t && t.onRemoveComponent && t.onRemoveComponent(), L(E), w(E), e != null && e.schema.contents && e.schema.contents.map((N) => {
974
+ t && t.onRemoveComponent && t.onRemoveComponent(), L(E), C(E), e != null && e.schema.contents && e.schema.contents.map((N) => {
975
975
  let V = N.id;
976
976
  N.type === "component-ref" && (V = N.component);
977
- const S = n.value.querySelectorAll(`#${V}-design-item`);
978
- S != null && S.length && Array.from(S).map((U) => {
977
+ const x = n.value.querySelectorAll(`#${V}-design-item`);
978
+ x != null && x.length && Array.from(x).map((U) => {
979
979
  var Z;
980
980
  (Z = U == null ? void 0 : U.componentInstance) != null && Z.value.onRemoveComponent && U.componentInstance.value.onRemoveComponent(E);
981
981
  });
@@ -985,8 +985,8 @@ function pi(n, e, t) {
985
985
  if (t && t.getCustomButtons)
986
986
  return t.getCustomButtons();
987
987
  }
988
- function x(E) {
989
- var V, S;
988
+ function T(E) {
989
+ var V, x;
990
990
  if (!((V = e == null ? void 0 : e.schema) != null && V.id))
991
991
  return;
992
992
  if (!a && E && (a = E.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
@@ -998,7 +998,7 @@ function pi(n, e, t) {
998
998
  N = t.getComponentTitle();
999
999
  else {
1000
1000
  const { text: U, title: Z, label: O, mainTitle: I, name: G, type: R } = e.schema;
1001
- N = U || Z || O || I || G || ((S = D[R]) == null ? void 0 : S.name);
1001
+ N = U || Z || O || I || G || ((x = D[R]) == null ? void 0 : x.name);
1002
1002
  }
1003
1003
  N && a.getControlBasicInfoMap().set(e.schema.id, {
1004
1004
  componentTitle: N,
@@ -1007,15 +1007,15 @@ function pi(n, e, t) {
1007
1007
  }
1008
1008
  function P(E) {
1009
1009
  var U;
1010
- const { changeObject: N } = E, { propertyID: V, propertyValue: S } = N;
1011
- if (["text", "title", "label", "name", "mainTitle"].includes((U = E == null ? void 0 : E.changeObject) == null ? void 0 : U.propertyID) && V && S && (x(), a)) {
1010
+ const { changeObject: N } = E, { propertyID: V, propertyValue: x } = N;
1011
+ if (["text", "title", "label", "name", "mainTitle"].includes((U = E == null ? void 0 : E.changeObject) == null ? void 0 : U.propertyID) && V && x && (T(), a)) {
1012
1012
  const Z = a.getControlBasicInfoMap(), O = Z.keys().toArray().filter((I) => {
1013
1013
  var G, R;
1014
1014
  return ((G = Z.get(I)) == null ? void 0 : G.reliedComponentId) === ((R = e == null ? void 0 : e.schema) == null ? void 0 : R.id);
1015
1015
  });
1016
1016
  O != null && O.length && O.forEach((I) => {
1017
1017
  const G = Z.get(I).parentPathName.split(" > ");
1018
- G[0] = S, Z.get(I).parentPathName = G.join(" > ");
1018
+ G[0] = x, Z.get(I).parentPathName = G.join(" > ");
1019
1019
  });
1020
1020
  }
1021
1021
  }
@@ -1030,7 +1030,7 @@ function pi(n, e, t) {
1030
1030
  canNested: !p(),
1031
1031
  contents: e == null ? void 0 : e.schema.contents,
1032
1032
  elementRef: n,
1033
- parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
1033
+ parent: (b = e == null ? void 0 : e.parent) == null ? void 0 : b.componentInstance,
1034
1034
  schema: e == null ? void 0 : e.schema,
1035
1035
  styles: o,
1036
1036
  designerClass: i,
@@ -1042,21 +1042,21 @@ function pi(n, e, t) {
1042
1042
  getDragScopeElement: v,
1043
1043
  onAcceptMovedChildElement: y,
1044
1044
  onChildElementMovedOut: B,
1045
- addNewChildComponentSchema: T,
1046
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || b(!1),
1047
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || b(!1),
1045
+ addNewChildComponentSchema: S,
1046
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || w(!1),
1047
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || w(!1),
1048
1048
  onRemoveComponent: g,
1049
1049
  getCustomButtons: F,
1050
1050
  onPropertyChanged: q,
1051
- setComponentBasicInfoMap: x,
1051
+ setComponentBasicInfoMap: T,
1052
1052
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1053
1053
  }, r;
1054
1054
  }
1055
- const mi = b(0);
1055
+ const mi = w(0);
1056
1056
  function vi() {
1057
1057
  mi.value++;
1058
1058
  }
1059
- const dt = b(0);
1059
+ const dt = w(0);
1060
1060
  function hi(n) {
1061
1061
  const { formSchemaUtils: e, formStateMachineUtils: t } = n;
1062
1062
  function o(l, c = "") {
@@ -1769,8 +1769,8 @@ function bi(n) {
1769
1769
  s.isSupportedClass = !1;
1770
1770
  return;
1771
1771
  }
1772
- let f = d.find((B) => /^col-([1-9]|10|11|12)$/.test(B)), v = d.find((B) => /^col-md-([1-9]|10|11|12)$/.test(B)), y = d.find((B) => /^col-xl-([1-9]|10|11|12)$/.test(B)), T = d.find((B) => /^col-el-([1-9]|10|11|12)$/.test(B));
1773
- f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), y = y || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(y.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), T = T || "col-el-" + s.columnInLG, s.columnInEL = parseInt(T.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1772
+ let f = d.find((B) => /^col-([1-9]|10|11|12)$/.test(B)), v = d.find((B) => /^col-md-([1-9]|10|11|12)$/.test(B)), y = d.find((B) => /^col-xl-([1-9]|10|11|12)$/.test(B)), S = d.find((B) => /^col-el-([1-9]|10|11|12)$/.test(B));
1773
+ f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), y = y || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(y.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), S = S || "col-el-" + s.columnInLG, s.columnInEL = parseInt(S.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1774
1774
  }
1775
1775
  function a(p, s, m, d = !1) {
1776
1776
  let f = !1;
@@ -1780,8 +1780,8 @@ function bi(n) {
1780
1780
  return;
1781
1781
  }
1782
1782
  f && (m += 1, f = !1);
1783
- const y = v.appearance && v.appearance.class, T = new yi();
1784
- y ? r(y, T) : T.isSupportedClass = !1, T.label = v.label || v.id, T.id = v.id, T.group = m, d && (T.fieldSetId = p.id), t === v.id && (e = m), o.set(v.id, v), s.push(T);
1783
+ const y = v.appearance && v.appearance.class, S = new yi();
1784
+ y ? r(y, S) : S.isSupportedClass = !1, S.label = v.label || v.id, S.id = v.id, S.group = m, d && (S.fieldSetId = p.id), t === v.id && (e = m), o.set(v.id, v), s.push(S);
1785
1785
  });
1786
1786
  }
1787
1787
  function u(p) {
@@ -1816,13 +1816,13 @@ function bi(n) {
1816
1816
  const f = [];
1817
1817
  return p.forEach((v) => {
1818
1818
  var B;
1819
- const y = o.get(v.id), T = y.appearance && y.appearance.class;
1820
- if (T) {
1821
- const L = T.split(" ").filter((q) => !q.startsWith("col-")), w = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, F = "col-xl-" + v.columnInLG, x = "col-el-" + v.columnInEL, P = [w, g, F, x].concat(L);
1819
+ const y = o.get(v.id), S = y.appearance && y.appearance.class;
1820
+ if (S) {
1821
+ const L = S.split(" ").filter((q) => !q.startsWith("col-")), C = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, F = "col-xl-" + v.columnInLG, T = "col-el-" + v.columnInEL, P = [C, g, F, T].concat(L);
1822
1822
  y.appearance.class = P.join(" ");
1823
1823
  }
1824
1824
  if (v.fieldSetId) {
1825
- const z = d.contents.find((w) => w.id === v.fieldSetId), L = f.find((w) => w.id === v.fieldSetId);
1825
+ const z = d.contents.find((C) => C.id === v.fieldSetId), L = f.find((C) => C.id === v.fieldSetId);
1826
1826
  L ? (B = L.contents) == null || B.push(y) : (f.push(z), z.contents = [y]);
1827
1827
  } else
1828
1828
  f.push(y);
@@ -1889,11 +1889,11 @@ var wi = { exports: {} };
1889
1889
  2: [function(t, o, i) {
1890
1890
  (function(r) {
1891
1891
  var a = t("contra/emitter"), u = t("crossvent"), l = t("./classes"), c = document, p = c.documentElement;
1892
- function s(C, E) {
1892
+ function s(b, E) {
1893
1893
  var N = arguments.length;
1894
- N === 1 && Array.isArray(C) === !1 && (E = C, C = []);
1895
- var V, S, U, Z, O, I, G, R, te, ve = null, he, J, ie = !1, se = 0, ne, W = E || {};
1896
- W.moves === void 0 && (W.moves = B), W.accepts === void 0 && (W.accepts = B), W.invalid === void 0 && (W.invalid = et), W.containers === void 0 && (W.containers = C || []), W.isContainer === void 0 && (W.isContainer = T), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = c.body);
1894
+ N === 1 && Array.isArray(b) === !1 && (E = b, b = []);
1895
+ var V, x, U, Z, O, I, G, R, te, ve = null, he, J, ie = !1, se = 0, ne, W = E || {};
1896
+ W.moves === void 0 && (W.moves = B), W.accepts === void 0 && (W.accepts = B), W.invalid === void 0 && (W.invalid = et), W.containers === void 0 && (W.containers = b || []), W.isContainer === void 0 && (W.isContainer = S), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = c.body);
1897
1897
  var oe = a({
1898
1898
  containers: W.containers,
1899
1899
  start: Te,
@@ -1953,12 +1953,12 @@ var wi = { exports: {} };
1953
1953
  }
1954
1954
  function Pe(h) {
1955
1955
  if (!(oe.dragging && V) && !je(h)) {
1956
- for (var $ = h; w(h) && je(w(h)) === !1; )
1957
- if (W.invalid(h, $) || (h = w(h), !h))
1956
+ for (var $ = h; C(h) && je(C(h)) === !1; )
1957
+ if (W.invalid(h, $) || (h = C(h), !h))
1958
1958
  return;
1959
- var j = w(h);
1959
+ var j = C(h);
1960
1960
  if (j && !W.invalid(h, $)) {
1961
- var _ = W.moves(h, j, $, x(h));
1961
+ var _ = W.moves(h, j, $, T(h));
1962
1962
  if (_)
1963
1963
  return {
1964
1964
  item: h,
@@ -1975,7 +1975,7 @@ var wi = { exports: {} };
1975
1975
  $ && Oe($);
1976
1976
  }
1977
1977
  function Oe(h) {
1978
- Ot(h.item, h.source) && (R = h.item.cloneNode(!0), oe.emit("cloned", R, h.item, "copy")), S = h.source, U = h.item, I = G = x(h.item), oe.dragging = !0, oe.emit("drag", U, S);
1978
+ Ot(h.item, h.source) && (R = h.item.cloneNode(!0), oe.emit("cloned", R, h.item, "copy")), x = h.source, U = h.item, I = G = T(h.item), oe.dragging = !0, oe.emit("drag", U, x);
1979
1979
  }
1980
1980
  function et() {
1981
1981
  return !1;
@@ -1983,7 +1983,7 @@ var wi = { exports: {} };
1983
1983
  function He() {
1984
1984
  if (oe.dragging) {
1985
1985
  var h = R || U;
1986
- Ye(h, w(h));
1986
+ Ye(h, C(h));
1987
1987
  }
1988
1988
  }
1989
1989
  function Be() {
@@ -1992,43 +1992,43 @@ var wi = { exports: {} };
1992
1992
  function Ne(h) {
1993
1993
  if (Be(), !!oe.dragging) {
1994
1994
  var $ = R || U, j = q("clientX", h) || 0, _ = q("clientY", h) || 0, K = y(V, j, _), ee = ce(K, j, _);
1995
- ee && (R && W.copySortSource || !R || ee !== S) ? Ye($, ee) : W.removeOnSpill ? Je() : k();
1995
+ ee && (R && W.copySortSource || !R || ee !== x) ? Ye($, ee) : W.removeOnSpill ? Je() : k();
1996
1996
  }
1997
1997
  }
1998
1998
  function Ye(h, $) {
1999
- var j = w(h);
2000
- R && W.copySortSource && $ === S && j.removeChild(U), le($) ? oe.emit("cancel", h, S) : oe.emit("drop", h, $, S, G), Q();
1999
+ var j = C(h);
2000
+ R && W.copySortSource && $ === x && j.removeChild(U), le($) ? oe.emit("cancel", h, x) : oe.emit("drop", h, $, x, G), Q();
2001
2001
  }
2002
2002
  function Je() {
2003
2003
  if (oe.dragging) {
2004
- var h = R || U, $ = w(h);
2005
- $ && $.removeChild(h), oe.emit(R ? "cancel" : "remove", h, $, S), Q();
2004
+ var h = R || U, $ = C(h);
2005
+ $ && $.removeChild(h), oe.emit(R ? "cancel" : "remove", h, $, x), Q();
2006
2006
  }
2007
2007
  }
2008
2008
  function k(h) {
2009
2009
  if (oe.dragging) {
2010
- var $ = arguments.length > 0 ? h : W.revertOnSpill, j = R || U, _ = w(j), K = le(_);
2011
- K === !1 && $ && (R ? _ && _.removeChild(R) : S.insertBefore(j, I)), K || $ ? oe.emit("cancel", j, S, S) : oe.emit("drop", j, _, S, G), Q();
2010
+ var $ = arguments.length > 0 ? h : W.revertOnSpill, j = R || U, _ = C(j), K = le(_);
2011
+ K === !1 && $ && (R ? _ && _.removeChild(R) : x.insertBefore(j, I)), K || $ ? oe.emit("cancel", j, x, x) : oe.emit("drop", j, _, x, G), Q();
2012
2012
  }
2013
2013
  }
2014
2014
  function Q() {
2015
2015
  var h = R || U;
2016
- Be(), Ft(), Bt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, S), oe.emit("dragend", h, se), S = U = R = I = G = te = ve = null;
2016
+ Be(), Ft(), Bt(), h && l.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, x), oe.emit("dragend", h, se), x = U = R = I = G = te = ve = null;
2017
2017
  }
2018
2018
  function le(h, $) {
2019
2019
  var j;
2020
- return $ !== void 0 ? j = $ : V ? j = G : j = x(R || U), h === S && j === I;
2020
+ return $ !== void 0 ? j = $ : V ? j = G : j = T(R || U), h === x && j === I;
2021
2021
  }
2022
2022
  function ce(h, $, j) {
2023
2023
  for (var _ = h; _ && !K(); )
2024
- _ = w(_);
2024
+ _ = C(_);
2025
2025
  return _;
2026
2026
  function K() {
2027
2027
  var ee = je(_);
2028
2028
  if (ee === !1)
2029
2029
  return !1;
2030
2030
  var Ce = st(_, h), ge = ct(_, Ce, $, j), ye = le(_, ge);
2031
- return ye ? !0 : W.accepts(U, _, S, ge);
2031
+ return ye ? !0 : W.accepts(U, _, x, ge);
2032
2032
  }
2033
2033
  }
2034
2034
  function ke(h) {
@@ -2039,8 +2039,8 @@ var wi = { exports: {} };
2039
2039
  V.style.left = $ - 2 + "px", V.style.top = j - 2 + "px";
2040
2040
  var _ = R || U, K = y(V, $, j), ee = ce(K, $, j), Ce = ee !== null && ee !== ve;
2041
2041
  (Ce || ee === null) && (be(), ve = ee, Me()), Vt(K, j);
2042
- var ge = w(_);
2043
- if (ee === S && R && !W.copySortSource) {
2042
+ var ge = C(_);
2043
+ if (ee === x && R && !W.copySortSource) {
2044
2044
  ge && ge.removeChild(_);
2045
2045
  return;
2046
2046
  }
@@ -2048,14 +2048,14 @@ var wi = { exports: {} };
2048
2048
  if (ie = tt(Ee, ee), Ee !== null)
2049
2049
  ye = ct(ee, Ee, $, j);
2050
2050
  else if (W.revertOnSpill === !0 && !R)
2051
- ye = I, ee = S;
2051
+ ye = I, ee = x;
2052
2052
  else {
2053
2053
  R && ge && ge.removeChild(_), R && J && (J.style.display = "none");
2054
2054
  return;
2055
2055
  }
2056
2056
  J.style.display = "block", xt(ye, _, Ce), ye ? It(Ee, ye) : Pt(ee);
2057
2057
  function ue(pe) {
2058
- oe.emit(pe, _, ve, S);
2058
+ oe.emit(pe, _, ve, x);
2059
2059
  }
2060
2060
  function Me() {
2061
2061
  Ce && ue("over");
@@ -2065,7 +2065,7 @@ var wi = { exports: {} };
2065
2065
  }
2066
2066
  }
2067
2067
  function xt(h, $, j) {
2068
- (h === $ || h === x($)) && (G = x($)), (h === null && j || h !== $ && h !== x($)) && (G = h);
2068
+ (h === $ || h === T($)) && (G = T($)), (h === null && j || h !== $ && h !== T($)) && (G = h);
2069
2069
  }
2070
2070
  function St(h) {
2071
2071
  l.rm(h, "gu-hide");
@@ -2084,14 +2084,14 @@ var wi = { exports: {} };
2084
2084
  ie = !1, W.mirrorContainer.appendChild(J);
2085
2085
  }
2086
2086
  function Ft() {
2087
- V && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", ke), w(V).removeChild(V), V = null);
2087
+ V && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", ke), C(V).removeChild(V), V = null);
2088
2088
  }
2089
2089
  function Bt() {
2090
- J && (w(J).removeChild(J), J = null);
2090
+ J && (C(J).removeChild(J), J = null);
2091
2091
  }
2092
2092
  function st(h, $) {
2093
- for (var j = $; j !== h && w(j) !== h; )
2094
- j = w(j);
2093
+ for (var j = $; j !== h && C(j) !== h; )
2094
+ j = C(j);
2095
2095
  return j === p ? null : j;
2096
2096
  }
2097
2097
  function tt(h, $) {
@@ -2184,14 +2184,14 @@ var wi = { exports: {} };
2184
2184
  return Ee(K ? j > ue.left + z(ue) / 2 : _ > ue.top + L(ue) / 2);
2185
2185
  }
2186
2186
  function Ee(ue) {
2187
- return ue ? x($) : $;
2187
+ return ue ? T($) : $;
2188
2188
  }
2189
2189
  }
2190
2190
  function Ot(h, $) {
2191
2191
  return typeof W.copy == "boolean" ? W.copy : W.copy(h, $);
2192
2192
  }
2193
2193
  }
2194
- function m(C) {
2194
+ function m(b) {
2195
2195
  const E = Array.from(window.scrollContainerList);
2196
2196
  if (E.length === 1) {
2197
2197
  const V = Array.from(window.scrollContainerList)[0];
@@ -2199,19 +2199,19 @@ var wi = { exports: {} };
2199
2199
  }
2200
2200
  const N = d(E);
2201
2201
  for (const V of N)
2202
- if (V.contains(C))
2202
+ if (V.contains(b))
2203
2203
  return V;
2204
2204
  return null;
2205
2205
  }
2206
- function d(C) {
2206
+ function d(b) {
2207
2207
  const E = [];
2208
- return C.forEach((N) => {
2208
+ return b.forEach((N) => {
2209
2209
  const V = document.getElementById(N);
2210
2210
  V && E.push(V);
2211
2211
  }), E.sort((N, V) => N.contains(V) ? 1 : V.contains(N) ? -1 : 0), E;
2212
2212
  }
2213
- function f(C, E, N, V) {
2214
- var S = {
2213
+ function f(b, E, N, V) {
2214
+ var x = {
2215
2215
  mouseup: "touchend",
2216
2216
  mousedown: "touchstart",
2217
2217
  mousemove: "touchmove"
@@ -2224,66 +2224,66 @@ var wi = { exports: {} };
2224
2224
  mousedown: "MSPointerDown",
2225
2225
  mousemove: "MSPointerMove"
2226
2226
  };
2227
- r.navigator.pointerEnabled ? u[E](C, U[N], V) : r.navigator.msPointerEnabled ? u[E](C, Z[N], V) : (u[E](C, S[N], V), u[E](C, N, V));
2227
+ r.navigator.pointerEnabled ? u[E](b, U[N], V) : r.navigator.msPointerEnabled ? u[E](b, Z[N], V) : (u[E](b, x[N], V), u[E](b, N, V));
2228
2228
  }
2229
- function v(C) {
2230
- if (C.touches !== void 0)
2231
- return C.touches.length;
2232
- if (C.which !== void 0 && C.which !== 0)
2233
- return C.which;
2234
- if (C.buttons !== void 0)
2235
- return C.buttons;
2236
- var E = C.button;
2229
+ function v(b) {
2230
+ if (b.touches !== void 0)
2231
+ return b.touches.length;
2232
+ if (b.which !== void 0 && b.which !== 0)
2233
+ return b.which;
2234
+ if (b.buttons !== void 0)
2235
+ return b.buttons;
2236
+ var E = b.button;
2237
2237
  if (E !== void 0)
2238
2238
  return E & 1 ? 1 : E & 2 ? 3 : E & 4 ? 2 : 0;
2239
2239
  }
2240
- function y(C, E, N) {
2241
- C = C || {};
2242
- var V = C.className || "", S;
2243
- return C.className += " gu-hide", S = c.elementFromPoint(E, N), C.className = V, S;
2240
+ function y(b, E, N) {
2241
+ b = b || {};
2242
+ var V = b.className || "", x;
2243
+ return b.className += " gu-hide", x = c.elementFromPoint(E, N), b.className = V, x;
2244
2244
  }
2245
- function T() {
2245
+ function S() {
2246
2246
  return !1;
2247
2247
  }
2248
2248
  function B() {
2249
2249
  return !0;
2250
2250
  }
2251
- function z(C) {
2252
- return C.width || C.right - C.left;
2251
+ function z(b) {
2252
+ return b.width || b.right - b.left;
2253
2253
  }
2254
- function L(C) {
2255
- return C.height || C.bottom - C.top;
2254
+ function L(b) {
2255
+ return b.height || b.bottom - b.top;
2256
2256
  }
2257
- function w(C) {
2258
- return C.parentNode === c ? null : C.parentNode;
2257
+ function C(b) {
2258
+ return b.parentNode === c ? null : b.parentNode;
2259
2259
  }
2260
- function g(C) {
2261
- return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || F(C);
2260
+ function g(b) {
2261
+ return b.tagName === "INPUT" || b.tagName === "TEXTAREA" || b.tagName === "SELECT" || F(b);
2262
2262
  }
2263
- function F(C) {
2264
- return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : F(w(C));
2263
+ function F(b) {
2264
+ return !b || b.contentEditable === "false" ? !1 : b.contentEditable === "true" ? !0 : F(C(b));
2265
2265
  }
2266
- function x(C) {
2267
- return C.nextElementSibling || E();
2266
+ function T(b) {
2267
+ return b.nextElementSibling || E();
2268
2268
  function E() {
2269
- var N = C;
2269
+ var N = b;
2270
2270
  do
2271
2271
  N = N.nextSibling;
2272
2272
  while (N && N.nodeType !== 1);
2273
2273
  return N;
2274
2274
  }
2275
2275
  }
2276
- function P(C) {
2277
- return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
2276
+ function P(b) {
2277
+ return b.targetTouches && b.targetTouches.length ? b.targetTouches[0] : b.changedTouches && b.changedTouches.length ? b.changedTouches[0] : b;
2278
2278
  }
2279
- function q(C, E) {
2279
+ function q(b, E) {
2280
2280
  var N = P(E), V = {
2281
2281
  pageX: "clientX",
2282
2282
  // IE8
2283
2283
  pageY: "clientY"
2284
2284
  // IE8
2285
2285
  };
2286
- return C in V && !(C in N) && V[C] in N && (C = V[C]), N[C];
2286
+ return b in V && !(b in N) && V[b] in N && (b = V[b]), N[b];
2287
2287
  }
2288
2288
  o.exports = s;
2289
2289
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2331,8 +2331,8 @@ var wi = { exports: {} };
2331
2331
  var f = r(arguments), v = this || l;
2332
2332
  if (m === "error" && p.throws !== !1 && !d.length)
2333
2333
  throw f.length === 1 ? f[0] : f;
2334
- return d.forEach(function(T) {
2335
- p.async ? a(T, f, v) : T.apply(v, f), T._once && l.off(m, T);
2334
+ return d.forEach(function(S) {
2335
+ p.async ? a(S, f, v) : S.apply(v, f), S._once && l.off(m, S);
2336
2336
  }), l;
2337
2337
  };
2338
2338
  }, l;
@@ -2346,62 +2346,62 @@ var wi = { exports: {} };
2346
2346
  remove: p,
2347
2347
  fabricate: y
2348
2348
  };
2349
- function m(w, g, F, x) {
2350
- return w.addEventListener(g, F, x);
2349
+ function m(C, g, F, T) {
2350
+ return C.addEventListener(g, F, T);
2351
2351
  }
2352
- function d(w, g, F) {
2353
- return w.attachEvent("on" + g, B(w, g, F));
2352
+ function d(C, g, F) {
2353
+ return C.attachEvent("on" + g, B(C, g, F));
2354
2354
  }
2355
- function f(w, g, F, x) {
2356
- return w.removeEventListener(g, F, x);
2355
+ function f(C, g, F, T) {
2356
+ return C.removeEventListener(g, F, T);
2357
2357
  }
2358
- function v(w, g, F) {
2359
- var x = z(w, g, F);
2360
- if (x)
2361
- return w.detachEvent("on" + g, x);
2358
+ function v(C, g, F) {
2359
+ var T = z(C, g, F);
2360
+ if (T)
2361
+ return C.detachEvent("on" + g, T);
2362
2362
  }
2363
- function y(w, g, F) {
2364
- var x = u.indexOf(g) === -1 ? q() : P();
2365
- w.dispatchEvent ? w.dispatchEvent(x) : w.fireEvent("on" + g, x);
2363
+ function y(C, g, F) {
2364
+ var T = u.indexOf(g) === -1 ? q() : P();
2365
+ C.dispatchEvent ? C.dispatchEvent(T) : C.fireEvent("on" + g, T);
2366
2366
  function P() {
2367
- var C;
2368
- return l.createEvent ? (C = l.createEvent("Event"), C.initEvent(g, !0, !0)) : l.createEventObject && (C = l.createEventObject()), C;
2367
+ var b;
2368
+ return l.createEvent ? (b = l.createEvent("Event"), b.initEvent(g, !0, !0)) : l.createEventObject && (b = l.createEventObject()), b;
2369
2369
  }
2370
2370
  function q() {
2371
2371
  return new a(g, { detail: F });
2372
2372
  }
2373
2373
  }
2374
- function T(w, g, F) {
2374
+ function S(C, g, F) {
2375
2375
  return function(P) {
2376
2376
  var q = P || r.event;
2377
2377
  q.target = q.target || q.srcElement, q.preventDefault = q.preventDefault || function() {
2378
2378
  q.returnValue = !1;
2379
2379
  }, q.stopPropagation = q.stopPropagation || function() {
2380
2380
  q.cancelBubble = !0;
2381
- }, q.which = q.which || q.keyCode, F.call(w, q);
2381
+ }, q.which = q.which || q.keyCode, F.call(C, q);
2382
2382
  };
2383
2383
  }
2384
- function B(w, g, F) {
2385
- var x = z(w, g, F) || T(w, g, F);
2384
+ function B(C, g, F) {
2385
+ var T = z(C, g, F) || S(C, g, F);
2386
2386
  return s.push({
2387
- wrapper: x,
2388
- element: w,
2387
+ wrapper: T,
2388
+ element: C,
2389
2389
  type: g,
2390
2390
  fn: F
2391
- }), x;
2391
+ }), T;
2392
2392
  }
2393
- function z(w, g, F) {
2394
- var x = L(w, g, F);
2395
- if (x) {
2396
- var P = s[x].wrapper;
2397
- return s.splice(x, 1), P;
2393
+ function z(C, g, F) {
2394
+ var T = L(C, g, F);
2395
+ if (T) {
2396
+ var P = s[T].wrapper;
2397
+ return s.splice(T, 1), P;
2398
2398
  }
2399
2399
  }
2400
- function L(w, g, F) {
2401
- var x, P;
2402
- for (x = 0; x < s.length; x++)
2403
- if (P = s[x], P.element === w && P.type === g && P.fn === F)
2404
- return x;
2400
+ function L(C, g, F) {
2401
+ var T, P;
2402
+ for (T = 0; T < s.length; T++)
2403
+ if (P = s[T], P.element === C && P.type === g && P.fn === F)
2404
+ return T;
2405
2405
  }
2406
2406
  }).call(this, typeof De < "u" ? De : typeof self < "u" ? self : typeof window < "u" ? window : {});
2407
2407
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2491,29 +2491,29 @@ var wi = { exports: {} };
2491
2491
  }
2492
2492
  var m = [], d = !1, f, v = -1;
2493
2493
  function y() {
2494
- !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && T());
2494
+ !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && S());
2495
2495
  }
2496
- function T() {
2496
+ function S() {
2497
2497
  if (!d) {
2498
2498
  var L = p(y);
2499
2499
  d = !0;
2500
- for (var w = m.length; w; ) {
2501
- for (f = m, m = []; ++v < w; )
2500
+ for (var C = m.length; C; ) {
2501
+ for (f = m, m = []; ++v < C; )
2502
2502
  f && f[v].run();
2503
- v = -1, w = m.length;
2503
+ v = -1, C = m.length;
2504
2504
  }
2505
2505
  f = null, d = !1, s(L);
2506
2506
  }
2507
2507
  }
2508
2508
  r.nextTick = function(L) {
2509
- var w = new Array(arguments.length - 1);
2509
+ var C = new Array(arguments.length - 1);
2510
2510
  if (arguments.length > 1)
2511
2511
  for (var g = 1; g < arguments.length; g++)
2512
- w[g - 1] = arguments[g];
2513
- m.push(new B(L, w)), m.length === 1 && !d && p(T);
2512
+ C[g - 1] = arguments[g];
2513
+ m.push(new B(L, C)), m.length === 1 && !d && p(S);
2514
2514
  };
2515
- function B(L, w) {
2516
- this.fun = L, this.array = w;
2515
+ function B(L, C) {
2516
+ this.fun = L, this.array = C;
2517
2517
  }
2518
2518
  B.prototype.run = function() {
2519
2519
  this.fun.apply(null, this.array);
@@ -2606,7 +2606,7 @@ const Ci = {
2606
2606
  const {
2607
2607
  locale: t,
2608
2608
  t: o
2609
- } = Lt(), i = b(n.animate), r = "fadeOut", a = A(() => n.options), u = b(!1), l = A(() => a.value.title && a.value.message), c = A(() => !a.value.title && a.value.message), p = A(() => {
2609
+ } = Lt(), i = w(n.animate), r = "fadeOut", a = A(() => n.options), u = w(!1), l = A(() => a.value.title && a.value.message), c = A(() => !a.value.title && a.value.message), p = A(() => {
2610
2610
  const L = {
2611
2611
  animated: u.value,
2612
2612
  toast: !0,
@@ -2627,7 +2627,7 @@ const Ci = {
2627
2627
  e.emit("close", a.value);
2628
2628
  }, 200);
2629
2629
  }
2630
- function T(L, w) {
2630
+ function S(L, C) {
2631
2631
  }
2632
2632
  function B(L) {
2633
2633
  return `f-preten-link ${L.customClass ? L.customClass : ""}`;
@@ -2639,10 +2639,10 @@ const Ci = {
2639
2639
  var L;
2640
2640
  return M(rt, null, [M("div", {
2641
2641
  class: "after-toast-msg text-right"
2642
- }, [!e.slots.default && ((L = a.value.buttons) == null ? void 0 : L.map((w) => M("span", {
2643
- class: B(w),
2642
+ }, [!e.slots.default && ((L = a.value.buttons) == null ? void 0 : L.map((C) => M("span", {
2643
+ class: B(C),
2644
2644
  onClick: (g) => void 0
2645
- }, [w.text]))), e.slots.default && e.slots.default()])]);
2645
+ }, [C.text]))), e.slots.default && e.slots.default()])]);
2646
2646
  };
2647
2647
  return () => M("div", {
2648
2648
  class: p.value,
@@ -2694,7 +2694,7 @@ const Ci = {
2694
2694
  right: 12,
2695
2695
  top: 20,
2696
2696
  bottom: 12
2697
- }, i = b(), r = b(n.options), a = b(n.showCloseButton), u = A(() => n.position || "bottom-right"), l = A(() => n.timeout != null ? n.timeout : 3e3), c = A(() => {
2697
+ }, i = w(), r = w(n.options), a = w(n.showCloseButton), u = A(() => n.position || "bottom-right"), l = A(() => n.timeout != null ? n.timeout : 3e3), c = A(() => {
2698
2698
  const m = n.bottom ? n.bottom : o.bottom, d = n.top ? n.top : o.top, f = {
2699
2699
  transition: "all 0.2s ease",
2700
2700
  left: u.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -2753,7 +2753,7 @@ class Si {
2753
2753
  const a = Yt({
2754
2754
  setup() {
2755
2755
  var c;
2756
- const u = b();
2756
+ const u = w();
2757
2757
  function l() {
2758
2758
  u.value.container.style.transform = "scale(0)", setTimeout(() => {
2759
2759
  t.updateNotifyPositionForClose(i, u), a.unmount();
@@ -3006,30 +3006,30 @@ const Ei = {
3006
3006
  };
3007
3007
  function Mi(n, e, t, o, i, r, a, u, l, c, p, s, m, d, f, v, y) {
3008
3008
  const {
3009
- calculateCellPositionInRow: T
3009
+ calculateCellPositionInRow: S
3010
3010
  } = r, {
3011
3011
  columnContext: B,
3012
3012
  hasLeftFixedColumn: z,
3013
3013
  hasRightFixedColumn: L
3014
3014
  } = a, {
3015
- gridDataStyle: w,
3015
+ gridDataStyle: C,
3016
3016
  leftFixedGridDataStyle: g,
3017
3017
  rightFixedGridDataStyle: F
3018
3018
  } = d, {
3019
- renderDataRow: x
3020
- } = Wn(n, e, B, y, u, l, c, p, s, m, d, f, v), P = [x];
3021
- function q(S, U) {
3022
- const Z = T(S);
3019
+ renderDataRow: T
3020
+ } = Wn(n, e, B, y, u, l, c, p, s, m, d, f, v), P = [T];
3021
+ function q(x, U) {
3022
+ const Z = S(x);
3023
3023
  return y.value.filter((O) => O.visible !== !1).map((O, I) => P[O.type](O, Z, U, I));
3024
3024
  }
3025
- function C() {
3025
+ function b() {
3026
3026
  return M("div", {
3027
3027
  ref: o,
3028
3028
  class: "fv-grid-content-left-fixed"
3029
3029
  }, [M("div", {
3030
3030
  class: "fv-grid-data",
3031
3031
  style: g.value
3032
- }, [q(B.value.leftColumns.filter((S) => S.visible), "left")])]);
3032
+ }, [q(B.value.leftColumns.filter((x) => x.visible), "left")])]);
3033
3033
  }
3034
3034
  function E() {
3035
3035
  return M("div", {
@@ -3037,8 +3037,8 @@ function Mi(n, e, t, o, i, r, a, u, l, c, p, s, m, d, f, v, y) {
3037
3037
  class: "fv-grid-content-primary"
3038
3038
  }, [M("div", {
3039
3039
  class: "fv-grid-data",
3040
- style: w.value
3041
- }, [q(B.value.primaryColumns.filter((S) => S.visible), "primary")])]);
3040
+ style: C.value
3041
+ }, [q(B.value.primaryColumns.filter((x) => x.visible), "primary")])]);
3042
3042
  }
3043
3043
  function N() {
3044
3044
  return M("div", {
@@ -3047,11 +3047,11 @@ function Mi(n, e, t, o, i, r, a, u, l, c, p, s, m, d, f, v, y) {
3047
3047
  }, [M("div", {
3048
3048
  class: "fv-grid-data",
3049
3049
  style: F.value
3050
- }, [q(B.value.rightColumns.filter((S) => S.visible), "right")])]);
3050
+ }, [q(B.value.rightColumns.filter((x) => x.visible), "right")])]);
3051
3051
  }
3052
3052
  function V() {
3053
- const S = [];
3054
- return z.value && S.push(C()), S.push(E()), L.value && S.push(N()), S;
3053
+ const x = [];
3054
+ return z.value && x.push(b()), x.push(E()), L.value && x.push(N()), x;
3055
3055
  }
3056
3056
  return {
3057
3057
  renderDataArea: V
@@ -3063,20 +3063,20 @@ const Fi = /* @__PURE__ */ _e({
3063
3063
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
3064
3064
  setup(n, e) {
3065
3065
  var zt, Ut;
3066
- const o = ((zt = n.rowOption) == null ? void 0 : zt.height) || 28, i = b(20), r = b(n.columns), a = _n(n), {
3066
+ const o = ((zt = n.rowOption) == null ? void 0 : zt.height) || 28, i = w(20), r = w(n.columns), a = _n(n), {
3067
3067
  idField: u
3068
- } = a, l = b(), c = b(), p = b(), s = b(), m = b(), d = b([]), f = b(!1), v = b(((Ut = n.rowOption) == null ? void 0 : Ut.wrapContent) || !1), y = Gn(n, a), T = Xn(n, e), B = Yn(n), {
3068
+ } = a, l = w(), c = w(), p = w(), s = w(), m = w(), d = w([]), f = w(!1), v = w(((Ut = n.rowOption) == null ? void 0 : Ut.wrapContent) || !1), y = Gn(n, a), S = Xn(n, e), B = Yn(n), {
3069
3069
  collapseField: z
3070
3070
  } = B, {
3071
3071
  showLoading: L,
3072
- renderLoading: w
3073
- } = Jn(n, l), g = Qn(n, /* @__PURE__ */ new Map(), T, B, a), {
3072
+ renderLoading: C
3073
+ } = Jn(n, l), g = Qn(n, /* @__PURE__ */ new Map(), S, B, a), {
3074
3074
  dataView: F
3075
- } = g, x = Zn(n, g, a, d, e), {
3075
+ } = g, T = Zn(n, g, a, d, e), {
3076
3076
  showSelection: P,
3077
3077
  selectedValues: q
3078
- } = x, C = Kn(n, d, g, a, x, e), E = A(() => n.disabled), N = A(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), V = eo(n, g), {
3079
- shouldRenderPagination: S
3078
+ } = T, b = Kn(n, d, g, a, T, e), E = A(() => n.disabled), N = A(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), V = eo(n, g), {
3079
+ shouldRenderPagination: x
3080
3080
  } = V, {
3081
3081
  containerStyleObject: U
3082
3082
  } = to(n), Z = no(n), {
@@ -3094,9 +3094,9 @@ const Fi = /* @__PURE__ */ _e({
3094
3094
  updateColumnRenderContext: J
3095
3095
  } = R;
3096
3096
  ve(g, te);
3097
- const ie = ao(n, he), se = lo(n, e, x, a), ne = so(n, e, a, se, d), W = co(n), oe = uo(n, ne, W), je = fo(n, g, ne, B, a, W, oe), Ie = po(n, r, g, N, 0, je), {
3097
+ const ie = ao(n, he), se = lo(n, e, T, a), ne = so(n, e, a, se, d), W = co(n), oe = uo(n, ne, W), je = fo(n, g, ne, B, a, W, oe), Ie = po(n, r, g, N, 0, je), {
3098
3098
  getVisualData: Se
3099
- } = Ie, Ge = mo(n, he), Re = vo(n, x), {
3099
+ } = Ie, Ge = mo(n, he), Re = vo(n, T), {
3100
3100
  sidebarWidth: Xe
3101
3101
  } = Re, ae = ho(n, g, d, he, Ie, N, 0, Xe), {
3102
3102
  onWheel: Ke,
@@ -3121,13 +3121,13 @@ const Fi = /* @__PURE__ */ _e({
3121
3121
  "fv-grid-wrap-content": v.value
3122
3122
  })), {
3123
3123
  renderDataArea: le
3124
- } = Mi(n, e, p, s, m, Ge, R, g, ne, B, se, x, C, ae, Ie, W, d), {
3124
+ } = Mi(n, e, p, s, m, Ge, R, g, ne, B, se, T, b, ae, Ie, W, d), {
3125
3125
  renderGridHeader: ce,
3126
3126
  renderGridColumnResizeOverlay: ke,
3127
3127
  shouldShowHeader: xt
3128
- } = Co(n, e, c, s, m, R, g, Je, Ye, T, Ne, He, ie, x, Re, te, ae, Te, d), {
3128
+ } = Co(n, e, c, s, m, R, g, Je, Ye, S, Ne, He, ie, T, Re, te, ae, Te, d), {
3129
3129
  renderDataGridSidebar: St
3130
- } = xo(n, se, x, Re, ae), {
3130
+ } = xo(n, se, T, Re, ae), {
3131
3131
  renderDisableMask: Tt
3132
3132
  } = So(), {
3133
3133
  renderHorizontalScrollbar: Et
@@ -3144,7 +3144,7 @@ const Fi = /* @__PURE__ */ _e({
3144
3144
  Ze(() => {
3145
3145
  c.value && (i.value = Math.max(Math.ceil(c.value.clientHeight / o), i.value), d.value = Se(0, N.value + 0 - 1), qn(c.value, Ft), Be(), at(() => {
3146
3146
  c.value && (Pe.value = c.value.clientWidth), p.value && (Te.value = p.value.clientWidth, Ve.value = p.value.clientHeight);
3147
- })), L.value && w();
3147
+ })), L.value && C();
3148
3148
  }), wt(() => {
3149
3149
  }), xe(Te, () => {
3150
3150
  c.value && Be();
@@ -3156,7 +3156,7 @@ const Fi = /* @__PURE__ */ _e({
3156
3156
  g.expandTo(H), g.reOrderVisibleIndex(), Oe();
3157
3157
  }
3158
3158
  function tt() {
3159
- const H = x.getSelectionRow();
3159
+ const H = T.getSelectionRow();
3160
3160
  return H ? H.dataIndex - 1 : -1;
3161
3161
  }
3162
3162
  function kt() {
@@ -3172,8 +3172,8 @@ const Fi = /* @__PURE__ */ _e({
3172
3172
  g.insertNewChildDataItems(H, me);
3173
3173
  }
3174
3174
  function Vt() {
3175
- const H = tt(), Y = C.getNextSelectableHierarchyItemId(H);
3176
- g.removeHierarchyDataItem(H), d.value = Se(0, N.value + 0 - 1), Y && x.selectItemById(Y);
3175
+ const H = tt(), Y = b.getNextSelectableHierarchyItemId(H);
3176
+ g.removeHierarchyDataItem(H), d.value = Se(0, N.value + 0 - 1), Y && b.selectItemById(Y);
3177
3177
  }
3178
3178
  function ct(H) {
3179
3179
  ne.onEditingRow(H);
@@ -3194,7 +3194,7 @@ const Fi = /* @__PURE__ */ _e({
3194
3194
  H && (g.load(H), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Oe());
3195
3195
  }
3196
3196
  function _(H) {
3197
- x.selectItemById(H);
3197
+ b.selectItemById(H);
3198
3198
  }
3199
3199
  function K(H) {
3200
3200
  const Y = d.value.find((de) => de.raw[a.idField.value] === H);
@@ -3204,25 +3204,25 @@ const Fi = /* @__PURE__ */ _e({
3204
3204
  se.activeRowById(H);
3205
3205
  }
3206
3206
  function Ce(H) {
3207
- x.selectItemByIds(H);
3207
+ b.selectItemByIds(H);
3208
3208
  }
3209
3209
  function ge() {
3210
- return x.getSelectedItems();
3210
+ return T.getSelectedItems();
3211
3211
  }
3212
3212
  function ye() {
3213
- x.clearSelection();
3213
+ T.clearSelection();
3214
3214
  }
3215
3215
  const Ee = A(() => !d.value || !d.value.length), {
3216
3216
  renderEmpty: ue
3217
3217
  } = Mo(n, e);
3218
3218
  function Me() {
3219
- return x.getSelectionRow();
3219
+ return T.getSelectionRow();
3220
3220
  }
3221
3221
  function be(H) {
3222
- x.unSelectItemByIds(H);
3222
+ b.unSelectItemByIds(H);
3223
3223
  }
3224
3224
  function pe() {
3225
- return x.currentSelectedDataId.value;
3225
+ return T.currentSelectedDataId.value;
3226
3226
  }
3227
3227
  function nt(H, Y, de) {
3228
3228
  const me = F.value.find((we) => we[u.value] === H);
@@ -3276,7 +3276,7 @@ const Fi = /* @__PURE__ */ _e({
3276
3276
  de && se.changeRow(de);
3277
3277
  }
3278
3278
  function wn() {
3279
- x.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(d.value);
3279
+ T.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(d.value);
3280
3280
  }
3281
3281
  e.expose({
3282
3282
  activeRowById: ee,
@@ -3314,11 +3314,11 @@ const Fi = /* @__PURE__ */ _e({
3314
3314
  ...U.value,
3315
3315
  borderRadius: "5px"
3316
3316
  }));
3317
- Fo(n, e, g, ae, V, x);
3317
+ Fo(n, e, g, ae, V, T);
3318
3318
  const Sn = A(() => ({
3319
3319
  "d-flex": !0,
3320
- "justify-content-between": S.value && P.value,
3321
- "justify-content-end": S.value && !P.value,
3320
+ "justify-content-between": x.value && P.value,
3321
+ "justify-content-end": x.value && !P.value,
3322
3322
  "position-relative": !0
3323
3323
  })), Tn = A(() => ({
3324
3324
  "d-flex": !0,
@@ -3917,7 +3917,7 @@ function Mr() {
3917
3917
  return { onCopy: n };
3918
3918
  }
3919
3919
  function Fr(n, e, t, o) {
3920
- const i = b(14), r = b(140), a = b(""), u = b(o.value.length), l = A(() => o.value), c = A(() => ({
3920
+ const i = w(14), r = w(140), a = w(""), u = w(o.value.length), l = A(() => o.value), c = A(() => ({
3921
3921
  "font-size": `${i.value}px`,
3922
3922
  height: "100%"
3923
3923
  }));
@@ -3949,7 +3949,7 @@ function Br(n, e, t, o) {
3949
3949
  return { getEditorRender: a };
3950
3950
  }
3951
3951
  function kr() {
3952
- const n = b(!1), e = b("复制成功");
3952
+ const n = w(!1), e = w("复制成功");
3953
3953
  return {
3954
3954
  feedbackStyle: A(() => {
3955
3955
  const o = {
@@ -3994,13 +3994,13 @@ function Pr(n, e) {
3994
3994
  if (d !== "" && d !== void 0 && d !== null) {
3995
3995
  d = "" + d;
3996
3996
  const v = d.length;
3997
- let y = "", T = 0;
3997
+ let y = "", S = 0;
3998
3998
  for (let B = 0; B < v; B++) {
3999
3999
  const z = d.charAt(B);
4000
- if (T++, encodeURI(z).length > 4 && T++, y = y.concat(z), T >= f)
4000
+ if (S++, encodeURI(z).length > 4 && S++, y = y.concat(z), S >= f)
4001
4001
  return y = y.concat("..."), y;
4002
4002
  }
4003
- if (T < f)
4003
+ if (S < f)
4004
4004
  return d;
4005
4005
  }
4006
4006
  return "";
@@ -4008,7 +4008,7 @@ function Pr(n, e) {
4008
4008
  const i = A(() => !!n.value && !!n.value.date), r = A(() => {
4009
4009
  const d = n.value && n.value.date || "";
4010
4010
  return `${e.exception.happend} : ${d}`;
4011
- }), a = A(() => !!n.value && !!n.value.detail), u = A(() => n.value ? t(n.value.detail) > 160 : !1), l = b(!1), c = A(() => l.value ? e.exception.collapse : e.exception.expand), p = A(() => {
4011
+ }), a = A(() => !!n.value && !!n.value.detail), u = A(() => n.value ? t(n.value.detail) > 160 : !1), l = w(!1), c = A(() => l.value ? e.exception.collapse : e.exception.expand), p = A(() => {
4012
4012
  const d = e.exception.detail + " : " + (n.value && n.value.detail) || "";
4013
4013
  return l.value ? d : o(d, 160);
4014
4014
  }), s = A(() => ({
@@ -4041,7 +4041,7 @@ function Vr(n) {
4041
4041
  }, null);
4042
4042
  }
4043
4043
  function Or(n, e, t, o, i) {
4044
- const r = b(n.exceptionInfo), a = A(() => {
4044
+ const r = w(n.exceptionInfo), a = A(() => {
4045
4045
  const f = e.value === "question" ? "warning" : e.value, v = {
4046
4046
  "f-icon": !0
4047
4047
  }, y = `f-icon-${f}`;
@@ -4071,7 +4071,7 @@ function Nr(n, e, t, o) {
4071
4071
  onCopy: i
4072
4072
  } = e, {
4073
4073
  toShowFeedback: r
4074
- } = t, a = b(o.exception.copySuccess || "复制成功"), u = b(o.exception.copy || "复制详细信息"), l = b(n.exceptionInfo || {
4074
+ } = t, a = w(o.exception.copySuccess || "复制成功"), u = w(o.exception.copy || "复制详细信息"), l = w(n.exceptionInfo || {
4075
4075
  date: "",
4076
4076
  message: "",
4077
4077
  detail: ""
@@ -4093,12 +4093,12 @@ function Nr(n, e, t, o) {
4093
4093
  }, [u.value])]);
4094
4094
  }
4095
4095
  function $r(n, e, t, o, i) {
4096
- const r = b(n.type), a = b(n.buttons), u = b(n.exceptionInfo), l = b(i.ok || n.okButtonText), c = b(i.cancel || n.cancelButtonText), p = b(n.showCancelButton), s = b(n.showOkButton), m = A(() => !!(a.value && a.value.length)), d = A(() => u.value && u.value.message && u.value.detail), f = A(() => !(a.value && a.value.length) && (s.value || p.value)), v = Nr(n, t, o, i);
4096
+ const r = w(n.type), a = w(n.buttons), u = w(n.exceptionInfo), l = w(i.ok || n.okButtonText), c = w(i.cancel || n.cancelButtonText), p = w(n.showCancelButton), s = w(n.showOkButton), m = A(() => !!(a.value && a.value.length)), d = A(() => !!(u.value && u.value.detail)), f = A(() => !(a.value && a.value.length) && (s.value || p.value)), v = Nr(n, t, o, i);
4097
4097
  l.value === "关闭" ? l.value = i.close : l.value === "知道了" && (l.value = i.exception.roger);
4098
4098
  function y(B) {
4099
4099
  r.value === "question" && e.emit("reject"), e.emit("close");
4100
4100
  }
4101
- function T(B) {
4101
+ function S(B) {
4102
4102
  r.value === "question" && e.emit("accept"), e.emit("close");
4103
4103
  }
4104
4104
  return () => M("div", {
@@ -4110,7 +4110,7 @@ function $r(n, e, t, o, i) {
4110
4110
  }, [c.value]), f.value && s.value && M("button", {
4111
4111
  type: "button",
4112
4112
  class: "btn btn-primary btn-lg",
4113
- onClick: T
4113
+ onClick: S
4114
4114
  }, [l.value]), m.value && a.value.length && a.value.map((B) => M("button", {
4115
4115
  type: "button",
4116
4116
  onClick: B.handle,
@@ -4150,18 +4150,18 @@ const mt = /* @__PURE__ */ _e({
4150
4150
  props: xr,
4151
4151
  emits: ["accept", "reject", "close"],
4152
4152
  setup(n, e) {
4153
- const t = Dr(n), o = b(n.type), i = b(n.title), r = b(n.detail), a = A(() => {
4154
- const T = {
4153
+ const t = Dr(n), o = w(n.type), i = w(n.title), r = w(n.detail), a = A(() => {
4154
+ const S = {
4155
4155
  "modal-tips": !0,
4156
4156
  "d-flex": !0,
4157
4157
  "flex-row": !0
4158
4158
  }, B = `messager-type-${o.value}`;
4159
- return T[B] = !0, T;
4159
+ return S[B] = !0, S;
4160
4160
  }), u = A(() => {
4161
- const T = {
4161
+ const S = {
4162
4162
  cursor: "default"
4163
4163
  };
4164
- return o.value === "prompt" ? T.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (T.padding = "0.5rem 1.5rem 1rem 1.5rem"), T;
4164
+ return o.value === "prompt" ? S.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (S.padding = "0.5rem 1.5rem 1rem 1.5rem"), S;
4165
4165
  }), l = Mr(), c = Br(n, o, i, r), p = kr(), {
4166
4166
  feedbackStyle: s,
4167
4167
  feedbackMessage: m
@@ -4494,8 +4494,8 @@ class qe {
4494
4494
  }
4495
4495
  }
4496
4496
  function Qr(n, e) {
4497
- const t = b(), o = b(), i = b(), r = b(), a = b(), u = b(), l = b(), c = b(), p = b(), s = b(), m = b(), d = b(n.resizeable), f = b(), v = b(n.draggable), y = b(!1);
4498
- function T() {
4497
+ const t = w(), o = w(), i = w(), r = w(), a = w(), u = w(), l = w(), c = w(), p = w(), s = w(), m = w(), d = w(n.resizeable), f = w(), v = w(n.draggable), y = w(!1);
4498
+ function S() {
4499
4499
  const O = o.value || document.body, I = window.getComputedStyle(O);
4500
4500
  if (!I || !t.value)
4501
4501
  return;
@@ -4506,7 +4506,7 @@ function Qr(n, e) {
4506
4506
  }
4507
4507
  function B(O) {
4508
4508
  if (t.value) {
4509
- r.value = qe.getCurrent(t.value), a.value = re.getCurrent(t.value), u.value = r.value ? qe.copy(r.value) : null, l.value = a.value ? re.copy(a.value) : null, T();
4509
+ r.value = qe.getCurrent(t.value), a.value = re.getCurrent(t.value), u.value = r.value ? qe.copy(r.value) : null, l.value = a.value ? re.copy(a.value) : null, S();
4510
4510
  const I = O.target.getAttribute("type") || "";
4511
4511
  c.value = {
4512
4512
  n: !!I.match(/n/),
@@ -4527,7 +4527,7 @@ function Qr(n, e) {
4527
4527
  const O = n.minHeight ? n.minHeight : 1, I = n.minWidth ? n.minWidth : 1;
4528
4528
  u.value && l.value && c.value && r.value && (u.value.height < O && (u.value.height = O, c.value.n && a.value && (l.value.y = a.value.y + (r.value.height - O))), u.value.width < I && (u.value.width = I, c.value.w && a.value && (l.value.x = a.value.x + (r.value.width - I))), n.maxHeight && u.value.height > n.maxHeight && (u.value.height = n.maxHeight, a.value && c.value.n && (l.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && u.value.width > n.maxWidth && (u.value.width = n.maxWidth, c.value.w && a.value && (l.value.x = a.value.x + (r.value.width - n.maxWidth))));
4529
4529
  }
4530
- function w() {
4530
+ function C() {
4531
4531
  if (o.value) {
4532
4532
  const O = s.value;
4533
4533
  if (l.value && u.value && c.value && r.value) {
@@ -4541,7 +4541,7 @@ function Qr(n, e) {
4541
4541
  return;
4542
4542
  O.subtract(i.value);
4543
4543
  const I = O.x, G = O.y;
4544
- c.value.n ? (l.value.y = a.value.y + G, u.value.height = r.value.height - G) : c.value.s && (u.value.height = r.value.height + G), c.value.e ? u.value.width = r.value.width + I : c.value.w && (u.value.width = r.value.width - I, l.value.x = a.value.x + I), w(), L(), z();
4544
+ c.value.n ? (l.value.y = a.value.y + G, u.value.height = r.value.height - G) : c.value.s && (u.value.height = r.value.height + G), c.value.e ? u.value.width = r.value.width + I : c.value.w && (u.value.width = r.value.width - I, l.value.x = a.value.x + I), C(), L(), z();
4545
4545
  }
4546
4546
  function F(O) {
4547
4547
  if (!p.value)
@@ -4549,7 +4549,7 @@ function Qr(n, e) {
4549
4549
  const I = re.fromEvent(O);
4550
4550
  I && g(I);
4551
4551
  }
4552
- function x() {
4552
+ function T() {
4553
4553
  if (t.value) {
4554
4554
  const {
4555
4555
  width: O,
@@ -4572,7 +4572,7 @@ function Qr(n, e) {
4572
4572
  }
4573
4573
  function P(O) {
4574
4574
  if (t.value) {
4575
- const I = x();
4575
+ const I = T();
4576
4576
  m.value = I;
4577
4577
  }
4578
4578
  i.value = void 0, r.value = null, a.value = null, u.value = null, l.value = null, c.value = null, p.value = null, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", P);
@@ -4580,48 +4580,48 @@ function Qr(n, e) {
4580
4580
  function q() {
4581
4581
  document.addEventListener("mousemove", F), document.addEventListener("mouseup", P);
4582
4582
  }
4583
- function C(O) {
4583
+ function b(O) {
4584
4584
  O instanceof MouseEvent && O.button === 2 || v.value && (document.body.click(), O.stopPropagation(), O.preventDefault(), i.value = re.fromEvent(O), p.value = O.target, B(O), q());
4585
4585
  }
4586
4586
  function E(O) {
4587
4587
  return t.value = O, d.value && M(rt, null, [M("div", {
4588
4588
  class: "fv-resizable-handle fv-resizable-n",
4589
4589
  type: "n",
4590
- onMousedown: (I) => C(I)
4590
+ onMousedown: (I) => b(I)
4591
4591
  }, null), M("div", {
4592
4592
  class: "fv-resizable-handle fv-resizable-e",
4593
4593
  type: "e",
4594
- onMousedown: (I) => C(I)
4594
+ onMousedown: (I) => b(I)
4595
4595
  }, null), M("div", {
4596
4596
  class: "fv-resizable-handle fv-resizable-s",
4597
4597
  type: "s",
4598
- onMousedown: (I) => C(I)
4598
+ onMousedown: (I) => b(I)
4599
4599
  }, null), M("div", {
4600
4600
  class: "fv-resizable-handle fv-resizable-w",
4601
4601
  type: "w",
4602
- onMousedown: (I) => C(I)
4602
+ onMousedown: (I) => b(I)
4603
4603
  }, null), M("div", {
4604
4604
  class: "fv-resizable-handle fv-resizable-ne",
4605
4605
  type: "ne",
4606
- onMousedown: (I) => C(I)
4606
+ onMousedown: (I) => b(I)
4607
4607
  }, null), M("div", {
4608
4608
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4609
4609
  type: "se",
4610
- onMousedown: (I) => C(I)
4610
+ onMousedown: (I) => b(I)
4611
4611
  }, null), M("div", {
4612
4612
  class: "fv-resizable-handle fv-resizable-sw",
4613
4613
  type: "sw",
4614
- onMousedown: (I) => C(I)
4614
+ onMousedown: (I) => b(I)
4615
4615
  }, null), M("div", {
4616
4616
  class: "fv-resizable-handle fv-resizable-nw",
4617
4617
  type: "nw",
4618
- onMousedown: (I) => C(I)
4618
+ onMousedown: (I) => b(I)
4619
4619
  }, null)]);
4620
4620
  }
4621
4621
  function N(O = !0) {
4622
4622
  document.body.click();
4623
4623
  const I = o.value || document.body, G = qe.getCurrent(I), R = t.value;
4624
- O && R && (f.value = x(), f.value.transform = R.style.transform), G && R && (u.value = G, u.value.height -= 14, u.value.width -= 14, R.style.height = u.value.height + "px", R.style.width = u.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", m.value = {
4624
+ O && R && (f.value = T(), f.value.transform = R.style.transform), G && R && (u.value = G, u.value.height -= 14, u.value.width -= 14, R.style.height = u.value.height + "px", R.style.width = u.value.width + "px", R.style.left = "7px", R.style.top = "7px", R.style.transform = "", m.value = {
4625
4625
  size: u.value,
4626
4626
  position: {
4627
4627
  x: 0,
@@ -4647,7 +4647,7 @@ function Qr(n, e) {
4647
4647
  }, v.value = n.draggable, y.value = !1;
4648
4648
  }
4649
4649
  }
4650
- function S() {
4650
+ function x() {
4651
4651
  if (t.value) {
4652
4652
  const O = qe.getCurrent(t.value);
4653
4653
  if (O) {
@@ -4661,7 +4661,7 @@ function Qr(n, e) {
4661
4661
  }
4662
4662
  function U() {
4663
4663
  const O = () => {
4664
- y.value ? N(!1) : S(), document.body.click();
4664
+ y.value ? N(!1) : x(), document.body.click();
4665
4665
  };
4666
4666
  return window.addEventListener("resize", O), () => {
4667
4667
  window.removeEventListener("resize", O);
@@ -4677,54 +4677,54 @@ function Qr(n, e) {
4677
4677
  allowDrag: v,
4678
4678
  isMaximized: y,
4679
4679
  unWindowResizeHandle: Z,
4680
- moveToCenter: S
4680
+ moveToCenter: x
4681
4681
  };
4682
4682
  }
4683
4683
  function Zr(n, e, t) {
4684
- const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), u = b(), l = b(!1), c = b(new re(0, 0)), p = b(new re(0, 0)), s = b(new re(0, 0)), m = b(new re(0, 0));
4684
+ const o = w(), i = w(n.draggable), r = w(n.lockAxis), a = w(), u = w(), l = w(!1), c = w(new re(0, 0)), p = w(new re(0, 0)), s = w(new re(0, 0)), m = w(new re(0, 0));
4685
4685
  xe(() => t.value, (F) => {
4686
4686
  a.value.style.cursor = F ? "move" : "default";
4687
4687
  });
4688
- function d(F, x) {
4689
- if (x.tagName === "BUTTON")
4688
+ function d(F, T) {
4689
+ if (T.tagName === "BUTTON")
4690
4690
  return !1;
4691
- if (x === F)
4691
+ if (T === F)
4692
4692
  return !0;
4693
- for (const P in x.children)
4694
- if (Object.prototype.hasOwnProperty.call(x.children, P) && d(F, x.children[P]))
4693
+ for (const P in T.children)
4694
+ if (Object.prototype.hasOwnProperty.call(T.children, P) && d(F, T.children[P]))
4695
4695
  return !0;
4696
4696
  return !1;
4697
4697
  }
4698
4698
  function f() {
4699
- var q, C;
4700
- let F = s.value.x + p.value.x, x = s.value.y + p.value.y;
4701
- r.value === "x" ? (F = ((q = c.value) == null ? void 0 : q.x) || 0, s.value.x = 0) : r.value === "y" && (x = ((C = c.value) == null ? void 0 : C.y) || 0, s.value.y = 0);
4702
- const P = `translate3d(${Math.round(F)}px, ${Math.round(x)}px, 0px)`;
4703
- o.value && (o.value.style.transform = P), m.value.x = F, m.value.y = x;
4699
+ var q, b;
4700
+ let F = s.value.x + p.value.x, T = s.value.y + p.value.y;
4701
+ r.value === "x" ? (F = ((q = c.value) == null ? void 0 : q.x) || 0, s.value.x = 0) : r.value === "y" && (T = ((b = c.value) == null ? void 0 : b.y) || 0, s.value.y = 0);
4702
+ const P = `translate3d(${Math.round(F)}px, ${Math.round(T)}px, 0px)`;
4703
+ o.value && (o.value.style.transform = P), m.value.x = F, m.value.y = T;
4704
4704
  }
4705
4705
  function v() {
4706
4706
  if (!u.value || !o.value)
4707
4707
  return null;
4708
- const F = u.value.getBoundingClientRect(), x = o.value.getBoundingClientRect(), P = {
4709
- top: F.top < x.top,
4710
- right: F.right > x.right,
4711
- bottom: F.bottom > x.bottom,
4712
- left: F.left < x.left
4708
+ const F = u.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), P = {
4709
+ top: F.top < T.top,
4710
+ right: F.right > T.right,
4711
+ bottom: F.bottom > T.bottom,
4712
+ left: F.left < T.left
4713
4713
  };
4714
- return P.top || (s.value.y -= x.top - F.top), P.bottom || (s.value.y -= x.bottom - F.bottom), P.right || (s.value.x -= x.right - F.right), P.left || (s.value.x -= x.left - F.left), f(), P;
4714
+ return P.top || (s.value.y -= T.top - F.top), P.bottom || (s.value.y -= T.bottom - F.bottom), P.right || (s.value.x -= T.right - F.right), P.left || (s.value.x -= T.left - F.left), f(), P;
4715
4715
  }
4716
4716
  function y(F) {
4717
4717
  F && (c.value && F.subtract(c.value), s.value.set(F), f(), v());
4718
4718
  }
4719
- function T(F) {
4719
+ function S(F) {
4720
4720
  l.value && i.value && (F.stopPropagation(), F.preventDefault(), y(re.fromEvent(F, a.value)));
4721
4721
  }
4722
4722
  function B() {
4723
4723
  var F;
4724
- l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (F = o.value) == null || F.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", B));
4724
+ l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (F = o.value) == null || F.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", B));
4725
4725
  }
4726
4726
  function z() {
4727
- !l.value && a.value && (l.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", T), document.addEventListener("mouseup", B));
4727
+ !l.value && a.value && (l.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", B));
4728
4728
  }
4729
4729
  function L() {
4730
4730
  if (o.value) {
@@ -4734,25 +4734,25 @@ function Zr(n, e, t) {
4734
4734
  }
4735
4735
  p.value.reset();
4736
4736
  }
4737
- function w(F) {
4737
+ function C(F) {
4738
4738
  if (!t.value || F instanceof MouseEvent && F.button === 2)
4739
4739
  return;
4740
- const x = F.target || F.srcElement;
4741
- a.value !== void 0 && x && !d(x, a.value) || i.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), c.value = re.fromEvent(F, o.value), L(), z());
4740
+ const T = F.target || F.srcElement;
4741
+ a.value !== void 0 && T && !d(T, a.value) || i.value !== !1 && (document.body.click(), F.stopPropagation(), F.preventDefault(), c.value = re.fromEvent(F, o.value), L(), z());
4742
4742
  }
4743
- function g(F, x, P) {
4744
- if (i.value && x) {
4743
+ function g(F, T, P) {
4744
+ if (i.value && T) {
4745
4745
  if (F)
4746
4746
  a.value = F;
4747
4747
  else if (n.dragHandle) {
4748
4748
  if (n.dragHandle instanceof HTMLElement)
4749
4749
  a.value = n.dragHandle;
4750
4750
  else if (typeof n.dragHandle == "string") {
4751
- const q = x.querySelector(n.dragHandle);
4751
+ const q = T.querySelector(n.dragHandle);
4752
4752
  q && (a.value = q);
4753
4753
  }
4754
4754
  }
4755
- o.value = x, u.value = P, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", w)) : i.value = !1;
4755
+ o.value = T, u.value = P, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4756
4756
  }
4757
4757
  }
4758
4758
  return {
@@ -4771,7 +4771,7 @@ function mn(n, e) {
4771
4771
  }
4772
4772
  }
4773
4773
  function Kr(n, e) {
4774
- const t = b(n.enableEsc);
4774
+ const t = w(n.enableEsc);
4775
4775
  let o = null;
4776
4776
  return t.value ? (o = mn("Escape", (i) => {
4777
4777
  e.emit("esc", { event: i.event, type: "esc" });
@@ -4780,7 +4780,7 @@ function Kr(n, e) {
4780
4780
  }) : null;
4781
4781
  }
4782
4782
  function ea(n, e) {
4783
- const t = b(n.enableEnter);
4783
+ const t = w(n.enableEnter);
4784
4784
  let o = null;
4785
4785
  return t.value ? (o = mn("Enter", (i) => {
4786
4786
  e.emit("enter", { event: i.event, type: "enter" });
@@ -4793,11 +4793,11 @@ const We = /* @__PURE__ */ _e({
4793
4793
  props: pn,
4794
4794
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4795
4795
  setup(n, e) {
4796
- const t = b(n.width || 300), o = b(n.height || 200), i = b(n.modelValue), r = b(""), a = b(n.class), u = b(n.fitContent), l = b(n.showHeader), c = b(""), p = b(n.showCloseButton), s = b(n.showMaxButton), m = b(!1), d = b(n.dialogType), f = b(n.src), v = b(""), y = b(n.showButtons), T = b(n.title), B = b(n.containment || null), z = b(), {
4796
+ const t = w(n.width || 300), o = w(n.height || 200), i = w(n.modelValue), r = w(""), a = w(n.class), u = w(n.fitContent), l = w(n.showHeader), c = w(""), p = w(n.showCloseButton), s = w(n.showMaxButton), m = w(!1), d = w(n.dialogType), f = w(n.src), v = w(""), y = w(n.showButtons), S = w(n.title), B = w(n.containment || null), z = w(), {
4797
4797
  t: L
4798
4798
  } = Lt();
4799
- T.value === "错误提示" && (T.value = L("messageBox.errorTitle"));
4800
- const w = b(!1);
4799
+ S.value === "错误提示" && (S.value = L("messageBox.errorTitle"));
4800
+ const C = w(!1);
4801
4801
  function g(k, Q) {
4802
4802
  const le = Q ? "accept" : "cancel";
4803
4803
  Promise.resolve().then(() => {
@@ -4823,9 +4823,9 @@ const We = /* @__PURE__ */ _e({
4823
4823
  handle: (k) => {
4824
4824
  g(k, !0);
4825
4825
  }
4826
- }], x = b(n.buttons && n.buttons.length ? n.buttons : F), P = A(() => !!c.value), q = A(() => !!y.value && !!x.value), C = b(), E = b(), N = b(!1), {
4826
+ }], T = w(n.buttons && n.buttons.length ? n.buttons : F), P = A(() => !!c.value), q = A(() => !!y.value && !!T.value), b = w(), E = w(), N = w(!1), {
4827
4827
  renderResizeBar: V,
4828
- maximize: S,
4828
+ maximize: x,
4829
4829
  restore: U,
4830
4830
  boundingElement: Z,
4831
4831
  resizedEventParam: O,
@@ -4843,11 +4843,11 @@ const We = /* @__PURE__ */ _e({
4843
4843
  (!k || k - 1 <= 0) && document.body.classList.remove("modal-open"), z.value && z.value.classList.remove("show");
4844
4844
  }
4845
4845
  xe(() => n.title, (k, Q) => {
4846
- k !== Q && (T.value = k);
4846
+ k !== Q && (S.value = k);
4847
4847
  }), xe(() => n.modelValue, (k, Q) => {
4848
4848
  k !== Q && (i.value = k, i.value && n.draggable && at(() => {
4849
- E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(C.value, E.value, Z.value), R());
4850
- }), k || (B.value && (B.value = null), he())), i.value ? w.value = ve() : (N.value = !1, I.value = n.draggable);
4849
+ E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(b.value, E.value, Z.value), R());
4850
+ }), k || (B.value && (B.value = null), he())), i.value ? C.value = ve() : (N.value = !1, I.value = n.draggable);
4851
4851
  }), xe(() => n.showHeader, (k, Q) => {
4852
4852
  k !== Q && (l.value = k);
4853
4853
  }), xe(() => n.showButtons, (k, Q) => {
@@ -4890,7 +4890,7 @@ const We = /* @__PURE__ */ _e({
4890
4890
  display: "block",
4891
4891
  zIndex: W()
4892
4892
  };
4893
- return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), w.value && (k.backgroundColor = "transparent"), k;
4893
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), C.value && (k.backgroundColor = "transparent"), k;
4894
4894
  }), je = A(() => ({
4895
4895
  "modal-content": !0,
4896
4896
  "modal-content-has-header": l.value
@@ -4924,19 +4924,19 @@ const We = /* @__PURE__ */ _e({
4924
4924
  N.value = !1, U();
4925
4925
  return;
4926
4926
  }
4927
- S(), N.value = !0;
4927
+ x(), N.value = !0;
4928
4928
  }
4929
4929
  async function Ke(k, Q) {
4930
4930
  k.handle && await k.handle(Q, k) && e.emit("closed", Q);
4931
4931
  }
4932
4932
  function Pe(k) {
4933
- k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (x.value = k.buttons), k.title && (T.value = k.title);
4933
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (T.value = k.buttons), k.title && (S.value = k.title);
4934
4934
  }
4935
4935
  let Ve = null, Te = null;
4936
4936
  Pn(() => {
4937
- w.value = ve();
4937
+ C.value = ve();
4938
4938
  }), Ze(() => {
4939
- E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(C.value, E.value, Z.value)), J.value && document.body.classList.add("modal-open"), Ve = Kr(n, e), Te = ea(n, e);
4939
+ E.value && !B.value && (B.value = E.value.parentElement, Z.value = B.value, te(b.value, E.value, Z.value)), J.value && document.body.classList.add("modal-open"), Ve = Kr(n, e), Te = ea(n, e);
4940
4940
  }), wt(() => {
4941
4941
  G && G(), Ve && Ve.remove(), Te && Te.remove();
4942
4942
  }), e.expose({
@@ -4969,8 +4969,8 @@ const We = /* @__PURE__ */ _e({
4969
4969
  return M("div", {
4970
4970
  class: "modal-footer",
4971
4971
  style: Xe.value
4972
- }, [x.value && x.value.map((k) => {
4973
- const Q = b(k.disabled);
4972
+ }, [T.value && T.value.map((k) => {
4973
+ const Q = w(k.disabled);
4974
4974
  return M("button", {
4975
4975
  name: k.name,
4976
4976
  type: "button",
@@ -4986,7 +4986,7 @@ const We = /* @__PURE__ */ _e({
4986
4986
  }
4987
4987
  function He() {
4988
4988
  return M("div", {
4989
- ref: C,
4989
+ ref: b,
4990
4990
  class: "modal-header",
4991
4991
  style: Ie.value
4992
4992
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : M("div", {
@@ -4996,7 +4996,7 @@ const We = /* @__PURE__ */ _e({
4996
4996
  style: "margin-right: 8px"
4997
4997
  }, null), M("span", {
4998
4998
  class: "modal-title-label"
4999
- }, [T.value])]), M("div", {
4999
+ }, [S.value])]), M("div", {
5000
5000
  class: "actions"
5001
5001
  }, [Oe()])]);
5002
5002
  }
@@ -5063,12 +5063,12 @@ function ta(n) {
5063
5063
  wt(() => {
5064
5064
  document.body.removeChild(e);
5065
5065
  });
5066
- const r = b(), a = b(n.class || ""), u = b(!!n.showButtons), l = b(!!n.showHeader), c = b(n.showCloseButton == null ? !0 : n.showCloseButton), p = b(!0), s = b(n.title || ""), m = n.acceptCallback || (() => {
5066
+ const r = w(), a = w(n.class || ""), u = w(!!n.showButtons), l = w(!!n.showHeader), c = w(n.showCloseButton == null ? !0 : n.showCloseButton), p = w(!0), s = w(n.title || ""), m = n.acceptCallback || (() => {
5067
5067
  }), d = n.rejectCallback || (() => {
5068
5068
  }), f = n.closedCallback || ((z) => {
5069
5069
  }), v = n.resizeHandle || ((z) => {
5070
5070
  }), y = n.stopMoveHandle || ((z) => {
5071
- }), T = vn(n), B = (z) => {
5071
+ }), S = vn(n), B = (z) => {
5072
5072
  p.value = !1, t.unmount(), f(z);
5073
5073
  };
5074
5074
  return Ze(() => {
@@ -5094,7 +5094,7 @@ function ta(n) {
5094
5094
  onResize: v,
5095
5095
  onStopMove: y
5096
5096
  }, {
5097
- default: () => [T && T(t)]
5097
+ default: () => [S && S(t)]
5098
5098
  });
5099
5099
  }
5100
5100
  });
@@ -5103,10 +5103,10 @@ function ta(n) {
5103
5103
  class hn {
5104
5104
  constructor(e) {
5105
5105
  X(this, "appContext", null);
5106
- X(this, "modalRef", b());
5107
- X(this, "activeModalIndex", b(0));
5106
+ X(this, "modalRef", w());
5107
+ X(this, "activeModalIndex", w(0));
5108
5108
  X(this, "modalRefs", {});
5109
- X(this, "isUseEscCloseModal", b(!1));
5109
+ X(this, "isUseEscCloseModal", w(!1));
5110
5110
  X(this, "activeModalInstance", A(() => this.modalRefs[this.activeModalIndex.value]));
5111
5111
  this.app = e, this.appContext = e ? e._context : null;
5112
5112
  }
@@ -5145,38 +5145,38 @@ class hn {
5145
5145
  title: "",
5146
5146
  showButtons: !0,
5147
5147
  showHeader: !0
5148
- }, e)), i = b(!0), r = o.value.acceptCallback || (() => {
5148
+ }, e)), i = w(!0), r = o.value.acceptCallback || (() => {
5149
5149
  }), a = o.value.rejectCallback || (() => {
5150
- }), u = o.value.closedCallback || ((w, g) => {
5151
- }), l = o.value.resizeHandle || ((w) => {
5152
- }), c = e.stopMoveHandle || ((w) => {
5150
+ }), u = o.value.closedCallback || ((C, g) => {
5151
+ }), l = o.value.resizeHandle || ((C) => {
5152
+ }), c = e.stopMoveHandle || ((C) => {
5153
5153
  });
5154
5154
  let p;
5155
- const s = vn(o.value), m = (w) => {
5155
+ const s = vn(o.value), m = (C) => {
5156
5156
  var F;
5157
5157
  i.value = !1;
5158
- const g = (F = w == null ? void 0 : w.target) == null ? void 0 : F.classList.contains("modal_close");
5159
- u(w, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5160
- }, d = (w) => {
5161
- m(w), p && at(() => {
5158
+ const g = (F = C == null ? void 0 : C.target) == null ? void 0 : F.classList.contains("modal_close");
5159
+ u(C, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
5160
+ }, d = (C) => {
5161
+ m(C), p && at(() => {
5162
5162
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Nt(null, t), p = null, this.modalRef.value = null, this.modalRefs) {
5163
5163
  const g = Object.keys(this.modalRefs).map((F) => Number(F));
5164
5164
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
5165
5165
  }
5166
5166
  this.isUseEscCloseModal.value = !1;
5167
5167
  });
5168
- }, f = (w) => {
5168
+ }, f = (C) => {
5169
5169
  var g;
5170
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(w == null ? void 0 : w.event));
5170
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(C == null ? void 0 : C.event));
5171
5171
  }, {
5172
5172
  width: v,
5173
5173
  height: y
5174
- } = o.value, T = this.adaptToWindow(v || 500, y || 320);
5175
- Object.assign(o.value, T);
5174
+ } = o.value, S = this.adaptToWindow(v || 500, y || 320);
5175
+ Object.assign(o.value, S);
5176
5176
  const B = () => M(We, Dt({
5177
5177
  ref: this.modalRef,
5178
5178
  modelValue: i.value,
5179
- "onUpdate:modelValue": (w) => i.value = w
5179
+ "onUpdate:modelValue": (C) => i.value = C
5180
5180
  }, o.value, {
5181
5181
  onAccept: r,
5182
5182
  onCancel: a,
@@ -5187,17 +5187,17 @@ class hn {
5187
5187
  }), {
5188
5188
  default: () => [s && s(this.app)]
5189
5189
  });
5190
- return p = ((w) => {
5191
- const g = Nn(B, w);
5190
+ return p = ((C) => {
5191
+ const g = Nn(B, C);
5192
5192
  return g.appContext = this.appContext, Nt(g, t), g;
5193
5193
  })({
5194
5194
  ...o.value
5195
5195
  // 'onUpdate:modelValue': onUpdateModelValue,
5196
5196
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5197
- update: (w) => {
5197
+ update: (C) => {
5198
5198
  o.value = {
5199
5199
  ...o.value,
5200
- ...w
5200
+ ...C
5201
5201
  }, p && Nt($n(p, {
5202
5202
  ...o
5203
5203
  }), t);
@@ -5831,7 +5831,7 @@ const aa = /* @__PURE__ */ _e({
5831
5831
  props: fi,
5832
5832
  emits: [""],
5833
5833
  setup(n, e) {
5834
- const t = b(), o = Wt("designer-host-service"), i = Wt("design-item-context"), r = ra(i, o), a = pi(t, i, r), u = A(() => n.maxLength ? n.maxLength : n.modelValue.length), l = A(() => ({
5834
+ const t = w(), o = Wt("designer-host-service"), i = Wt("design-item-context"), r = ra(i, o), a = pi(t, i, r), u = A(() => n.maxLength ? n.maxLength : n.modelValue.length), l = A(() => ({
5835
5835
  position: "relative"
5836
5836
  })), c = A(() => ({
5837
5837
  "box-shadow": "0 0 0 1px #dcdfe6 inset",