@farris/ui-vue 1.6.5-beta.7 → 1.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,8 +1,8 @@
1
1
  var xn = Object.defineProperty;
2
2
  var Sn = (n, e, t) => e in n ? xn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var K = (n, e, t) => Sn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { ref as b, computed as H, defineComponent as We, createVNode as k, watch as ke, Fragment as it, reactive as Ve, createApp as Gt, onUnmounted as mt, onMounted as rt, Transition as Yt, mergeProps as It, nextTick as Nt, createTextVNode as Tn, onBeforeMount as En, Teleport as Mn, shallowRef as kn, render as Bt, h as Bn, cloneVNode as Fn, inject as At } from "vue";
5
- import { isPlainObject as Ht, cloneDeep as ft, isUndefined as Re } from "lodash-es";
4
+ import { ref as w, computed as H, defineComponent as We, createVNode as B, watch as Be, Fragment as it, reactive as Ve, createApp as Gt, onUnmounted as mt, onMounted as rt, Transition as Yt, mergeProps as It, nextTick as Nt, createTextVNode as Tn, onBeforeMount as En, Teleport as Mn, shallowRef as Bn, render as kt, h as kn, cloneVNode as Fn, inject as At } from "vue";
5
+ import { cloneDeep as ft, isPlainObject as Ht, isUndefined as Re } from "lodash-es";
6
6
  import { useI18n as Pt } from "vue-i18n";
7
7
  import { LocaleService as vt } from "../locale/index.esm.js";
8
8
  import { getCustomClass as Xt, withInstall as On, FormSchemaEntityField$Type as Ut, FormSchemaEntityFieldTypeName as _t, getMaxZIndex as In } from "../common/index.esm.js";
@@ -164,7 +164,7 @@ function Jt(n, e) {
164
164
  }
165
165
  return { getSchemaByType: r, resolveSchemaWithDefaultValue: l, resolveSchemaToProps: s, mappingSchemaToProps: c, setDesignerContext: f };
166
166
  }
167
- const Zt = {}, Kt = {}, { resolveSchemaWithDefaultValue: bo, resolveSchemaToProps: wo, mappingSchemaToProps: Co } = Jt(Zt, Kt);
167
+ const Zt = {}, Kt = {}, { getSchemaByType: Fs, resolveSchemaWithDefaultValue: bo, resolveSchemaToProps: wo, mappingSchemaToProps: Co, setDesignerContext: Os } = Jt(Zt, Kt);
168
168
  function xo(n = {}) {
169
169
  function e(l, f, u, m) {
170
170
  if (typeof u == "number")
@@ -284,12 +284,12 @@ const So = {
284
284
  const o = n.editor && n.editor[e] ? n.editor[e] : n[e];
285
285
  return ((i = E[o]) == null ? void 0 : i.name) || o;
286
286
  }
287
- }, ko = {
287
+ }, Bo = {
288
288
  convertTo: (n, e, t, o) => {
289
289
  n[e] = n[e];
290
290
  },
291
291
  convertFrom: (n, e, t) => n.editor ? t.getRealEditorType(n.editor.type) : ""
292
- }, Bo = {
292
+ }, ko = {
293
293
  convertTo: (n, e, t, o) => {
294
294
  (n.type === "data-grid-column" || n.type === "tree-grid-column") && (n.formatter ? n.formatter[e] = t : n.formatter = {
295
295
  [e]: t
@@ -467,8 +467,8 @@ function en(n, e, t) {
467
467
  ["/converter/property-editor.converter", Eo],
468
468
  ["/converter/items-count.converter", Vo],
469
469
  ["/converter/type.converter", Mo],
470
- ["/converter/change-editor.converter", ko],
471
- ["/converter/change-formatter.converter", Bo],
470
+ ["/converter/change-editor.converter", Bo],
471
+ ["/converter/change-formatter.converter", ko],
472
472
  ["/converter/column-command.converter", Fo],
473
473
  ["/converter/column-option.converter", Oo],
474
474
  ["/converter/summary.converter", Io],
@@ -523,14 +523,14 @@ function en(n, e, t) {
523
523
  }
524
524
  function f(d, v, y, x, F, A = "", j = "") {
525
525
  return Object.keys(d).map((g) => {
526
- const M = b(1), S = g, N = d[g], _ = Object.keys(N), C = N.title, T = N.type, P = i.get(T) || { type: "input-group", enableClear: !1 }, I = N.editor ? Object.assign({}, P, N.editor) : Object.assign({}, P), V = c(_, N, v), W = s(_, N, v);
526
+ const M = w(1), T = g, N = d[g], _ = Object.keys(N), b = N.title, S = N.type, P = i.get(S) || { type: "input-group", enableClear: !1 }, I = N.editor ? Object.assign({}, P, N.editor) : Object.assign({}, P), V = c(_, N, v), W = s(_, N, v);
527
527
  I.readonly = I.readonly === void 0 ? W() : I.readonly;
528
528
  const ee = N.type === "cascade" ? f(N.properties, v, y, x, F, A, j) : [], D = !0;
529
529
  let O = l(N, j);
530
530
  const G = H({
531
531
  get() {
532
532
  if (M.value) {
533
- if (["class", "style"].find((le) => le === S) && !O && (O = o.get("/converter/appearance.converter") || null), O && O.convertFrom)
533
+ if (["class", "style"].find((le) => le === T) && !O && (O = o.get("/converter/appearance.converter") || null), O && O.convertFrom)
534
534
  return O.convertFrom(y, g, F, A);
535
535
  const ie = y[g];
536
536
  return Object.prototype.hasOwnProperty.call(N, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? N.type === "boolean" ? N.defaultValue : N.defaultValue || "" : ie;
@@ -540,42 +540,42 @@ function en(n, e, t) {
540
540
  set(ie) {
541
541
  M.value += 1, O && O.convertTo ? (O.convertTo(x, g, ie, F, A), O.convertTo(y, g, ie, F, A)) : (x[g] = ie, y[g] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he } = N, X = { propertyID: S, propertyName: C, propertyType: T, propertyValue: G, editor: I, visible: V, readonly: W, cascadeConfig: ee, hideCascadeTitle: D, refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he };
544
- return v[S] = X, X;
543
+ }), { refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he } = N, X = { propertyID: T, propertyName: b, propertyType: S, propertyValue: G, editor: I, visible: V, readonly: W, cascadeConfig: ee, hideCascadeTitle: D, refreshPanelAfterChanged: L, description: te, isExpand: ve, parentPropertyID: he };
544
+ return v[T] = X, X;
545
545
  });
546
546
  }
547
547
  function u(d, v, y = {}) {
548
548
  const x = {}, F = n[d];
549
549
  return F && F.categories ? Object.keys(F.categories).map((j) => {
550
- const w = F.categories[j], g = w == null ? void 0 : w.title, M = f(w.properties || {}, x, {}, y, v);
550
+ const C = F.categories[j], g = C == null ? void 0 : C.title, M = f(C.properties || {}, x, {}, y, v);
551
551
  return { categoryId: j, categoryName: g, properties: M };
552
552
  }) : [];
553
553
  }
554
554
  function m(d, v, y, x, F = "") {
555
- const A = v.$ref.schema, j = v.$ref.converter, w = y[A], g = w.type, M = t(w), S = {}, N = n[g];
555
+ const A = v.$ref.schema, j = v.$ref.converter, C = y[A], g = C.type, M = t(C), T = {}, N = n[g];
556
556
  if (N && N.categories) {
557
- const _ = N.categories[d], C = _ == null ? void 0 : _.title;
557
+ const _ = N.categories[d], b = _ == null ? void 0 : _.title;
558
558
  j && Object.keys(_.properties).forEach((I) => {
559
559
  _.properties[I].$converter = j;
560
560
  });
561
- const T = (_ == null ? void 0 : _.properties) || {}, P = f(T, S, M, w, x, F);
562
- return { categoryId: d, categoryName: C, properties: P };
561
+ const S = (_ == null ? void 0 : _.properties) || {}, P = f(S, T, M, C, x, F);
562
+ return { categoryId: d, categoryName: b, properties: P };
563
563
  }
564
564
  return { categoryId: d, categoryName: "", properties: [] };
565
565
  }
566
566
  function p(d, v, y, x, F) {
567
- const A = d.type, j = t(d), w = {};
567
+ const A = d.type, j = t(d), C = {};
568
568
  let g = F || n[A];
569
569
  if (g && Object.keys(g).length === 0 && y && y.getPropConfig && (g = y.getPropConfig(x)), g && g.categories) {
570
570
  const M = [];
571
- return Object.keys(g.categories).map((S) => {
572
- const N = g.categories[S];
571
+ return Object.keys(g.categories).map((T) => {
572
+ const N = g.categories[T];
573
573
  if (N.$ref) {
574
- M.push(m(S, N, d, v, x));
574
+ M.push(m(T, N, d, v, x));
575
575
  return;
576
576
  }
577
- const _ = N == null ? void 0 : N.title, C = N == null ? void 0 : N.tabId, T = N == null ? void 0 : N.tabName, P = N == null ? void 0 : N.hide, I = N == null ? void 0 : N.hideTitle, V = f(N.properties || {}, w, j, d, v, x, N.$converter), { setPropertyRelates: W } = N, ee = N == null ? void 0 : N.parentPropertyID;
578
- M.push({ categoryId: S, categoryName: _, tabId: C, tabName: T, hide: P, properties: V, hideTitle: I, setPropertyRelates: W, parentPropertyID: ee });
577
+ const _ = N == null ? void 0 : N.title, b = N == null ? void 0 : N.tabId, S = N == null ? void 0 : N.tabName, P = N == null ? void 0 : N.hide, I = N == null ? void 0 : N.hideTitle, V = f(N.properties || {}, C, j, d, v, x, N.$converter), { setPropertyRelates: W } = N, ee = N == null ? void 0 : N.parentPropertyID;
578
+ M.push({ categoryId: T, categoryName: _, tabId: b, tabName: S, hide: P, properties: V, hideTitle: I, setPropertyRelates: W, parentPropertyID: ee });
579
579
  }), M;
580
580
  }
581
581
  return [];
@@ -588,7 +588,7 @@ function en(n, e, t) {
588
588
  }
589
589
  const tn = {}, nn = {};
590
590
  en(tn, nn, bo);
591
- const on = {}, rn = {}, { resolveSchemaWithDefaultValue: _o } = Jt(on, rn), an = {}, sn = {};
591
+ const on = {}, rn = {}, { getSchemaByType: Is, resolveSchemaWithDefaultValue: _o, resolveSchemaToProps: Ns, mappingSchemaToProps: Ps, setDesignerContext: Ds } = Jt(on, rn), an = {}, sn = {};
592
592
  en(an, sn, _o);
593
593
  function at(n, e, t = /* @__PURE__ */ new Map(), o = (a, c, s, l) => c, i = {}, r = (a) => a) {
594
594
  return Zt[e.title] = e, Kt[e.title] = o, tn[e.title] = i, nn[e.title] = r, on[e.title] = e, rn[e.title] = o, an[e.title] = i, sn[e.title] = r, (a = {}, c = !0) => {
@@ -675,7 +675,7 @@ const Rt = {
675
675
  props: Rt,
676
676
  emits: [],
677
677
  setup(n, e) {
678
- return () => n.visible && k("div", {
678
+ return () => n.visible && B("div", {
679
679
  class: n.customClass,
680
680
  style: n.customStyle
681
681
  }, [e.slots.default && e.slots.default()]);
@@ -802,7 +802,7 @@ class ni {
802
802
  };
803
803
  }
804
804
  }
805
- const oi = b(0);
805
+ const oi = w(0);
806
806
  var je = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
807
807
  function ct(n) {
808
808
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -857,16 +857,16 @@ var ii = { exports: {} };
857
857
  2: [function(t, o, i) {
858
858
  (function(r) {
859
859
  var a = t("contra/emitter"), c = t("crossvent"), s = t("./classes"), l = document, f = l.documentElement;
860
- function u(C, T) {
860
+ function u(b, S) {
861
861
  var P = arguments.length;
862
- P === 1 && Array.isArray(C) === !1 && (T = C, C = []);
863
- var I, V, W, ee, D, O, G, L, te, ve = null, he, X, ie = !1, le = 0, ne, U = T || {};
864
- U.moves === void 0 && (U.moves = F), U.accepts === void 0 && (U.accepts = F), U.invalid === void 0 && (U.invalid = Ke), U.containers === void 0 && (U.containers = C || []), U.isContainer === void 0 && (U.isContainer = x), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = l.body);
862
+ P === 1 && Array.isArray(b) === !1 && (S = b, b = []);
863
+ var I, V, W, ee, D, O, G, L, te, ve = null, he, X, ie = !1, le = 0, ne, U = S || {};
864
+ U.moves === void 0 && (U.moves = F), U.accepts === void 0 && (U.accepts = F), U.invalid === void 0 && (U.invalid = Ke), U.containers === void 0 && (U.containers = b || []), U.isContainer === void 0 && (U.isContainer = x), U.copy === void 0 && (U.copy = !1), U.copySortSource === void 0 && (U.copySortSource = !1), U.revertOnSpill === void 0 && (U.revertOnSpill = !1), U.removeOnSpill === void 0 && (U.removeOnSpill = !1), U.direction === void 0 && (U.direction = "vertical"), U.ignoreInputTextSelection === void 0 && (U.ignoreInputTextSelection = !0), U.mirrorContainer === void 0 && (U.mirrorContainer = l.body);
865
865
  var oe = a({
866
866
  containers: U.containers,
867
867
  start: Se,
868
868
  end: ze,
869
- cancel: B,
869
+ cancel: k,
870
870
  remove: Qe,
871
871
  destroy: Le,
872
872
  canMove: Ne,
@@ -921,12 +921,12 @@ var ii = { exports: {} };
921
921
  }
922
922
  function Ie(h) {
923
923
  if (!(oe.dragging && I) && !$e(h)) {
924
- for (var R = h; w(h) && $e(w(h)) === !1; )
925
- if (U.invalid(h, R) || (h = w(h), !h))
924
+ for (var R = h; C(h) && $e(C(h)) === !1; )
925
+ if (U.invalid(h, R) || (h = C(h), !h))
926
926
  return;
927
- var $ = w(h);
927
+ var $ = C(h);
928
928
  if ($ && !U.invalid(h, R)) {
929
- var q = U.moves(h, $, R, S(h));
929
+ var q = U.moves(h, $, R, T(h));
930
930
  if (q)
931
931
  return {
932
932
  item: h,
@@ -943,7 +943,7 @@ var ii = { exports: {} };
943
943
  R && Pe(R);
944
944
  }
945
945
  function Pe(h) {
946
- kt(h.item, h.source) && (L = h.item.cloneNode(!0), oe.emit("cloned", L, h.item, "copy")), V = h.source, W = h.item, O = G = S(h.item), oe.dragging = !0, oe.emit("drag", W, V);
946
+ Bt(h.item, h.source) && (L = h.item.cloneNode(!0), oe.emit("cloned", L, h.item, "copy")), V = h.source, W = h.item, O = G = T(h.item), oe.dragging = !0, oe.emit("drag", W, V);
947
947
  }
948
948
  function Ke() {
949
949
  return !1;
@@ -951,45 +951,45 @@ var ii = { exports: {} };
951
951
  function ze() {
952
952
  if (oe.dragging) {
953
953
  var h = L || W;
954
- Xe(h, w(h));
954
+ Xe(h, C(h));
955
955
  }
956
956
  }
957
- function Be() {
957
+ function ke() {
958
958
  he = !1, xe(!0), Ge(!0);
959
959
  }
960
960
  function De(h) {
961
- if (Be(), !!oe.dragging) {
961
+ if (ke(), !!oe.dragging) {
962
962
  var R = L || W, $ = _("clientX", h) || 0, q = _("clientY", h) || 0, J = y(I, $, q), Z = ce(J, $, q);
963
- Z && (L && U.copySortSource || !L || Z !== V) ? Xe(R, Z) : U.removeOnSpill ? Qe() : B();
963
+ Z && (L && U.copySortSource || !L || Z !== V) ? Xe(R, Z) : U.removeOnSpill ? Qe() : k();
964
964
  }
965
965
  }
966
966
  function Xe(h, R) {
967
- var $ = w(h);
967
+ var $ = C(h);
968
968
  L && U.copySortSource && R === V && $.removeChild(W), se(R) ? oe.emit("cancel", h, V) : oe.emit("drop", h, R, V, G), Q();
969
969
  }
970
970
  function Qe() {
971
971
  if (oe.dragging) {
972
- var h = L || W, R = w(h);
972
+ var h = L || W, R = C(h);
973
973
  R && R.removeChild(h), oe.emit(L ? "cancel" : "remove", h, R, V), Q();
974
974
  }
975
975
  }
976
- function B(h) {
976
+ function k(h) {
977
977
  if (oe.dragging) {
978
- var R = arguments.length > 0 ? h : U.revertOnSpill, $ = L || W, q = w($), J = se(q);
978
+ var R = arguments.length > 0 ? h : U.revertOnSpill, $ = L || W, q = C($), J = se(q);
979
979
  J === !1 && R && (L ? q && q.removeChild(L) : V.insertBefore($, O)), J || R ? oe.emit("cancel", $, V, V) : oe.emit("drop", $, q, V, G), Q();
980
980
  }
981
981
  }
982
982
  function Q() {
983
983
  var h = L || W;
984
- Be(), Ct(), xt(), h && s.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, V), oe.emit("dragend", h, le), V = W = L = O = G = te = ve = null;
984
+ ke(), Ct(), xt(), h && s.rm(h, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ve && oe.emit("out", h, ve, V), oe.emit("dragend", h, le), V = W = L = O = G = te = ve = null;
985
985
  }
986
986
  function se(h, R) {
987
987
  var $;
988
- return R !== void 0 ? $ = R : I ? $ = G : $ = S(L || W), h === V && $ === O;
988
+ return R !== void 0 ? $ = R : I ? $ = G : $ = T(L || W), h === V && $ === O;
989
989
  }
990
990
  function ce(h, R, $) {
991
991
  for (var q = h; q && !J(); )
992
- q = w(q);
992
+ q = C(q);
993
993
  return q;
994
994
  function J() {
995
995
  var Z = $e(q);
@@ -1007,7 +1007,7 @@ var ii = { exports: {} };
1007
1007
  I.style.left = R - 2 + "px", I.style.top = $ - 2 + "px";
1008
1008
  var q = L || W, J = y(I, R, $), Z = ce(J, R, $), Ce = Z !== null && Z !== ve;
1009
1009
  (Ce || Z === null) && (be(), ve = Z, Ee()), Mt(J, $);
1010
- var ge = w(q);
1010
+ var ge = C(q);
1011
1011
  if (Z === V && L && !U.copySortSource) {
1012
1012
  ge && ge.removeChild(q);
1013
1013
  return;
@@ -1033,7 +1033,7 @@ var ii = { exports: {} };
1033
1033
  }
1034
1034
  }
1035
1035
  function ht(h, R, $) {
1036
- (h === R || h === S(R)) && (G = S(R)), (h === null && $ || h !== R && h !== S(R)) && (G = h);
1036
+ (h === R || h === T(R)) && (G = T(R)), (h === null && $ || h !== R && h !== T(R)) && (G = h);
1037
1037
  }
1038
1038
  function gt(h) {
1039
1039
  s.rm(h, "gu-hide");
@@ -1052,14 +1052,14 @@ var ii = { exports: {} };
1052
1052
  ie = !1, U.mirrorContainer.appendChild(X);
1053
1053
  }
1054
1054
  function Ct() {
1055
- I && (s.rm(U.mirrorContainer, "gu-unselectable"), d(f, "remove", "mousemove", Fe), w(I).removeChild(I), I = null);
1055
+ I && (s.rm(U.mirrorContainer, "gu-unselectable"), d(f, "remove", "mousemove", Fe), C(I).removeChild(I), I = null);
1056
1056
  }
1057
1057
  function xt() {
1058
- X && (w(X).removeChild(X), X = null);
1058
+ X && (C(X).removeChild(X), X = null);
1059
1059
  }
1060
1060
  function st(h, R) {
1061
- for (var $ = R; $ !== h && w($) !== h; )
1062
- $ = w($);
1061
+ for (var $ = R; $ !== h && C($) !== h; )
1062
+ $ = C($);
1063
1063
  return $ === f ? null : $;
1064
1064
  }
1065
1065
  function et(h, R) {
@@ -1152,33 +1152,33 @@ var ii = { exports: {} };
1152
1152
  return Te(J ? $ > ue.left + A(ue) / 2 : q > ue.top + j(ue) / 2);
1153
1153
  }
1154
1154
  function Te(ue) {
1155
- return ue ? S(R) : R;
1155
+ return ue ? T(R) : R;
1156
1156
  }
1157
1157
  }
1158
- function kt(h, R) {
1158
+ function Bt(h, R) {
1159
1159
  return typeof U.copy == "boolean" ? U.copy : U.copy(h, R);
1160
1160
  }
1161
1161
  }
1162
- function m(C) {
1163
- const T = Array.from(window.scrollContainerList);
1164
- if (T.length === 1) {
1162
+ function m(b) {
1163
+ const S = Array.from(window.scrollContainerList);
1164
+ if (S.length === 1) {
1165
1165
  const I = Array.from(window.scrollContainerList)[0];
1166
1166
  return document.getElementById(I);
1167
1167
  }
1168
- const P = p(T);
1168
+ const P = p(S);
1169
1169
  for (const I of P)
1170
- if (I.contains(C))
1170
+ if (I.contains(b))
1171
1171
  return I;
1172
1172
  return null;
1173
1173
  }
1174
- function p(C) {
1175
- const T = [];
1176
- return C.forEach((P) => {
1174
+ function p(b) {
1175
+ const S = [];
1176
+ return b.forEach((P) => {
1177
1177
  const I = document.getElementById(P);
1178
- I && T.push(I);
1179
- }), T.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), T;
1178
+ I && S.push(I);
1179
+ }), S.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), S;
1180
1180
  }
1181
- function d(C, T, P, I) {
1181
+ function d(b, S, P, I) {
1182
1182
  var V = {
1183
1183
  mouseup: "touchend",
1184
1184
  mousedown: "touchstart",
@@ -1192,23 +1192,23 @@ var ii = { exports: {} };
1192
1192
  mousedown: "MSPointerDown",
1193
1193
  mousemove: "MSPointerMove"
1194
1194
  };
1195
- r.navigator.pointerEnabled ? c[T](C, W[P], I) : r.navigator.msPointerEnabled ? c[T](C, ee[P], I) : (c[T](C, V[P], I), c[T](C, P, I));
1195
+ r.navigator.pointerEnabled ? c[S](b, W[P], I) : r.navigator.msPointerEnabled ? c[S](b, ee[P], I) : (c[S](b, V[P], I), c[S](b, P, I));
1196
1196
  }
1197
- function v(C) {
1198
- if (C.touches !== void 0)
1199
- return C.touches.length;
1200
- if (C.which !== void 0 && C.which !== 0)
1201
- return C.which;
1202
- if (C.buttons !== void 0)
1203
- return C.buttons;
1204
- var T = C.button;
1205
- if (T !== void 0)
1206
- return T & 1 ? 1 : T & 2 ? 3 : T & 4 ? 2 : 0;
1197
+ function v(b) {
1198
+ if (b.touches !== void 0)
1199
+ return b.touches.length;
1200
+ if (b.which !== void 0 && b.which !== 0)
1201
+ return b.which;
1202
+ if (b.buttons !== void 0)
1203
+ return b.buttons;
1204
+ var S = b.button;
1205
+ if (S !== void 0)
1206
+ return S & 1 ? 1 : S & 2 ? 3 : S & 4 ? 2 : 0;
1207
1207
  }
1208
- function y(C, T, P) {
1209
- C = C || {};
1210
- var I = C.className || "", V;
1211
- return C.className += " gu-hide", V = l.elementFromPoint(T, P), C.className = I, V;
1208
+ function y(b, S, P) {
1209
+ b = b || {};
1210
+ var I = b.className || "", V;
1211
+ return b.className += " gu-hide", V = l.elementFromPoint(S, P), b.className = I, V;
1212
1212
  }
1213
1213
  function x() {
1214
1214
  return !1;
@@ -1216,42 +1216,42 @@ var ii = { exports: {} };
1216
1216
  function F() {
1217
1217
  return !0;
1218
1218
  }
1219
- function A(C) {
1220
- return C.width || C.right - C.left;
1219
+ function A(b) {
1220
+ return b.width || b.right - b.left;
1221
1221
  }
1222
- function j(C) {
1223
- return C.height || C.bottom - C.top;
1222
+ function j(b) {
1223
+ return b.height || b.bottom - b.top;
1224
1224
  }
1225
- function w(C) {
1226
- return C.parentNode === l ? null : C.parentNode;
1225
+ function C(b) {
1226
+ return b.parentNode === l ? null : b.parentNode;
1227
1227
  }
1228
- function g(C) {
1229
- return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || M(C);
1228
+ function g(b) {
1229
+ return b.tagName === "INPUT" || b.tagName === "TEXTAREA" || b.tagName === "SELECT" || M(b);
1230
1230
  }
1231
- function M(C) {
1232
- return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : M(w(C));
1231
+ function M(b) {
1232
+ return !b || b.contentEditable === "false" ? !1 : b.contentEditable === "true" ? !0 : M(C(b));
1233
1233
  }
1234
- function S(C) {
1235
- return C.nextElementSibling || T();
1236
- function T() {
1237
- var P = C;
1234
+ function T(b) {
1235
+ return b.nextElementSibling || S();
1236
+ function S() {
1237
+ var P = b;
1238
1238
  do
1239
1239
  P = P.nextSibling;
1240
1240
  while (P && P.nodeType !== 1);
1241
1241
  return P;
1242
1242
  }
1243
1243
  }
1244
- function N(C) {
1245
- return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
1244
+ function N(b) {
1245
+ return b.targetTouches && b.targetTouches.length ? b.targetTouches[0] : b.changedTouches && b.changedTouches.length ? b.changedTouches[0] : b;
1246
1246
  }
1247
- function _(C, T) {
1248
- var P = N(T), I = {
1247
+ function _(b, S) {
1248
+ var P = N(S), I = {
1249
1249
  pageX: "clientX",
1250
1250
  // IE8
1251
1251
  pageY: "clientY"
1252
1252
  // IE8
1253
1253
  };
1254
- return C in I && !(C in P) && I[C] in P && (C = I[C]), P[C];
1254
+ return b in I && !(b in P) && I[b] in P && (b = I[b]), P[b];
1255
1255
  }
1256
1256
  o.exports = u;
1257
1257
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -1314,62 +1314,62 @@ var ii = { exports: {} };
1314
1314
  remove: f,
1315
1315
  fabricate: y
1316
1316
  };
1317
- function m(w, g, M, S) {
1318
- return w.addEventListener(g, M, S);
1317
+ function m(C, g, M, T) {
1318
+ return C.addEventListener(g, M, T);
1319
1319
  }
1320
- function p(w, g, M) {
1321
- return w.attachEvent("on" + g, F(w, g, M));
1320
+ function p(C, g, M) {
1321
+ return C.attachEvent("on" + g, F(C, g, M));
1322
1322
  }
1323
- function d(w, g, M, S) {
1324
- return w.removeEventListener(g, M, S);
1323
+ function d(C, g, M, T) {
1324
+ return C.removeEventListener(g, M, T);
1325
1325
  }
1326
- function v(w, g, M) {
1327
- var S = A(w, g, M);
1328
- if (S)
1329
- return w.detachEvent("on" + g, S);
1326
+ function v(C, g, M) {
1327
+ var T = A(C, g, M);
1328
+ if (T)
1329
+ return C.detachEvent("on" + g, T);
1330
1330
  }
1331
- function y(w, g, M) {
1332
- var S = c.indexOf(g) === -1 ? _() : N();
1333
- w.dispatchEvent ? w.dispatchEvent(S) : w.fireEvent("on" + g, S);
1331
+ function y(C, g, M) {
1332
+ var T = c.indexOf(g) === -1 ? _() : N();
1333
+ C.dispatchEvent ? C.dispatchEvent(T) : C.fireEvent("on" + g, T);
1334
1334
  function N() {
1335
- var C;
1336
- return s.createEvent ? (C = s.createEvent("Event"), C.initEvent(g, !0, !0)) : s.createEventObject && (C = s.createEventObject()), C;
1335
+ var b;
1336
+ return s.createEvent ? (b = s.createEvent("Event"), b.initEvent(g, !0, !0)) : s.createEventObject && (b = s.createEventObject()), b;
1337
1337
  }
1338
1338
  function _() {
1339
1339
  return new a(g, { detail: M });
1340
1340
  }
1341
1341
  }
1342
- function x(w, g, M) {
1342
+ function x(C, g, M) {
1343
1343
  return function(N) {
1344
1344
  var _ = N || r.event;
1345
1345
  _.target = _.target || _.srcElement, _.preventDefault = _.preventDefault || function() {
1346
1346
  _.returnValue = !1;
1347
1347
  }, _.stopPropagation = _.stopPropagation || function() {
1348
1348
  _.cancelBubble = !0;
1349
- }, _.which = _.which || _.keyCode, M.call(w, _);
1349
+ }, _.which = _.which || _.keyCode, M.call(C, _);
1350
1350
  };
1351
1351
  }
1352
- function F(w, g, M) {
1353
- var S = A(w, g, M) || x(w, g, M);
1352
+ function F(C, g, M) {
1353
+ var T = A(C, g, M) || x(C, g, M);
1354
1354
  return u.push({
1355
- wrapper: S,
1356
- element: w,
1355
+ wrapper: T,
1356
+ element: C,
1357
1357
  type: g,
1358
1358
  fn: M
1359
- }), S;
1359
+ }), T;
1360
1360
  }
1361
- function A(w, g, M) {
1362
- var S = j(w, g, M);
1363
- if (S) {
1364
- var N = u[S].wrapper;
1365
- return u.splice(S, 1), N;
1361
+ function A(C, g, M) {
1362
+ var T = j(C, g, M);
1363
+ if (T) {
1364
+ var N = u[T].wrapper;
1365
+ return u.splice(T, 1), N;
1366
1366
  }
1367
1367
  }
1368
- function j(w, g, M) {
1369
- var S, N;
1370
- for (S = 0; S < u.length; S++)
1371
- if (N = u[S], N.element === w && N.type === g && N.fn === M)
1372
- return S;
1368
+ function j(C, g, M) {
1369
+ var T, N;
1370
+ for (T = 0; T < u.length; T++)
1371
+ if (N = u[T], N.element === C && N.type === g && N.fn === M)
1372
+ return T;
1373
1373
  }
1374
1374
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
1375
1375
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -1465,23 +1465,23 @@ var ii = { exports: {} };
1465
1465
  if (!p) {
1466
1466
  var j = f(y);
1467
1467
  p = !0;
1468
- for (var w = m.length; w; ) {
1469
- for (d = m, m = []; ++v < w; )
1468
+ for (var C = m.length; C; ) {
1469
+ for (d = m, m = []; ++v < C; )
1470
1470
  d && d[v].run();
1471
- v = -1, w = m.length;
1471
+ v = -1, C = m.length;
1472
1472
  }
1473
1473
  d = null, p = !1, u(j);
1474
1474
  }
1475
1475
  }
1476
1476
  r.nextTick = function(j) {
1477
- var w = new Array(arguments.length - 1);
1477
+ var C = new Array(arguments.length - 1);
1478
1478
  if (arguments.length > 1)
1479
1479
  for (var g = 1; g < arguments.length; g++)
1480
- w[g - 1] = arguments[g];
1481
- m.push(new F(j, w)), m.length === 1 && !p && f(x);
1480
+ C[g - 1] = arguments[g];
1481
+ m.push(new F(j, C)), m.length === 1 && !p && f(x);
1482
1482
  };
1483
- function F(j, w) {
1484
- this.fun = j, this.array = w;
1483
+ function F(j, C) {
1484
+ this.fun = j, this.array = C;
1485
1485
  }
1486
1486
  F.prototype.run = function() {
1487
1487
  this.fun.apply(null, this.array);
@@ -1574,7 +1574,7 @@ const ri = {
1574
1574
  const {
1575
1575
  locale: t,
1576
1576
  t: o
1577
- } = Pt(), i = b(n.animate), r = "fadeOut", a = H(() => n.options), c = b(!1), s = H(() => a.value.title && a.value.message), l = H(() => !a.value.title && a.value.message), f = H(() => {
1577
+ } = Pt(), i = w(n.animate), r = "fadeOut", a = H(() => n.options), c = w(!1), s = H(() => a.value.title && a.value.message), l = H(() => !a.value.title && a.value.message), f = H(() => {
1578
1578
  const j = {
1579
1579
  animated: c.value,
1580
1580
  toast: !0,
@@ -1595,56 +1595,56 @@ const ri = {
1595
1595
  e.emit("close", a.value);
1596
1596
  }, 200);
1597
1597
  }
1598
- function x(j, w) {
1598
+ function x(j, C) {
1599
1599
  }
1600
1600
  function F(j) {
1601
1601
  return `f-preten-link ${j.customClass ? j.customClass : ""}`;
1602
1602
  }
1603
- ke(i, () => {
1603
+ Be(i, () => {
1604
1604
  i.value;
1605
1605
  });
1606
1606
  const A = () => {
1607
1607
  var j;
1608
- return k(it, null, [k("div", {
1608
+ return B(it, null, [B("div", {
1609
1609
  class: "after-toast-msg text-right"
1610
- }, [!e.slots.default && ((j = a.value.buttons) == null ? void 0 : j.map((w) => k("span", {
1611
- class: F(w),
1610
+ }, [!e.slots.default && ((j = a.value.buttons) == null ? void 0 : j.map((C) => B("span", {
1611
+ class: F(C),
1612
1612
  onClick: (g) => void 0
1613
- }, [w.text]))), e.slots.default && e.slots.default()])]);
1613
+ }, [C.text]))), e.slots.default && e.slots.default()])]);
1614
1614
  };
1615
- return () => k("div", {
1615
+ return () => B("div", {
1616
1616
  class: f.value,
1617
1617
  style: "min-height:44px"
1618
- }, [p.value && k("button", {
1618
+ }, [p.value && B("button", {
1619
1619
  title: o("messageBox.close"),
1620
1620
  class: "toast-close f-btn-icon f-bare",
1621
1621
  onClick: y
1622
- }, [k("span", {
1622
+ }, [B("span", {
1623
1623
  class: "f-icon modal_close"
1624
- }, null)]), m.value && k("section", {
1624
+ }, null)]), m.value && B("section", {
1625
1625
  class: "modal-tips"
1626
- }, [!s.value && k("div", {
1626
+ }, [!s.value && B("div", {
1627
1627
  class: "float-left modal-tips-iconwrap"
1628
- }, [k("span", {
1628
+ }, [B("span", {
1629
1629
  class: u.value
1630
- }, null)]), k("div", {
1630
+ }, null)]), B("div", {
1631
1631
  class: "modal-tips-content"
1632
- }, [s.value && k(it, null, [k("h5", {
1632
+ }, [s.value && B(it, null, [B("h5", {
1633
1633
  class: "toast-title modal-tips-title",
1634
1634
  innerHTML: a.value.title
1635
- }, null), k("p", {
1635
+ }, null), B("p", {
1636
1636
  class: "toast-msg",
1637
1637
  innerHTML: a.value.message,
1638
1638
  style: v.value
1639
- }, null), d.value && A()]), l.value && (a.value.buttons ? k("div", {
1639
+ }, null), d.value && A()]), l.value && (a.value.buttons ? B("div", {
1640
1640
  class: "toast-title-btns-wrapper d-flex"
1641
- }, [k("h5", {
1641
+ }, [B("h5", {
1642
1642
  class: "toast-title modal-tips-title only-toast-msg",
1643
1643
  style: v.value,
1644
1644
  innerHTML: a.value.message
1645
- }, null), k("div", {
1645
+ }, null), B("div", {
1646
1646
  class: "after-toast-title text-right ml-auto"
1647
- }, [A()])]) : k("h5", {
1647
+ }, [A()])]) : B("h5", {
1648
1648
  class: "toast-title modal-tips-title only-toast-msg",
1649
1649
  style: v.value,
1650
1650
  innerHTML: a.value.message
@@ -1662,7 +1662,7 @@ const ri = {
1662
1662
  right: 12,
1663
1663
  top: 20,
1664
1664
  bottom: 12
1665
- }, i = b(), r = b(n.options), a = b(n.showCloseButton), c = H(() => n.position || "bottom-right"), s = H(() => n.timeout != null ? n.timeout : 3e3), l = H(() => {
1665
+ }, i = w(), r = w(n.options), a = w(n.showCloseButton), c = H(() => n.position || "bottom-right"), s = H(() => n.timeout != null ? n.timeout : 3e3), l = H(() => {
1666
1666
  const m = n.bottom ? n.bottom : o.bottom, p = n.top ? n.top : o.top, d = {
1667
1667
  transition: "all 0.2s ease",
1668
1668
  left: c.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -1685,11 +1685,11 @@ const ri = {
1685
1685
  function u(m, p) {
1686
1686
  f();
1687
1687
  }
1688
- return () => k("div", {
1688
+ return () => B("div", {
1689
1689
  class: t.value,
1690
1690
  style: l.value,
1691
1691
  ref: i
1692
- }, [k(Ot, {
1692
+ }, [B(Ot, {
1693
1693
  options: r.value,
1694
1694
  showCloseButton: a.value,
1695
1695
  animate: n.animate,
@@ -1721,7 +1721,7 @@ class si {
1721
1721
  const a = Gt({
1722
1722
  setup() {
1723
1723
  var l;
1724
- const c = b();
1724
+ const c = w();
1725
1725
  function s() {
1726
1726
  c.value.container.style.transform = "scale(0)", setTimeout(() => {
1727
1727
  t.updateNotifyPositionForClose(i, c), a.unmount();
@@ -1738,12 +1738,12 @@ class si {
1738
1738
  document.body.removeChild(r);
1739
1739
  }), rt(() => {
1740
1740
  t.updateNotifyPositionForCreate(i, c);
1741
- }), () => k(Yt, {
1741
+ }), () => B(Yt, {
1742
1742
  mode: "out-in",
1743
1743
  name: "fade",
1744
1744
  appear: !0
1745
1745
  }, {
1746
- default: () => [k(ut, It({
1746
+ default: () => [B(ut, It({
1747
1747
  ref: c
1748
1748
  }, i, {
1749
1749
  onClose: s
@@ -1980,46 +1980,46 @@ function ui(n, e, t, o, i, r, a, c, s, l, f, u, m, p, d, v, y) {
1980
1980
  hasLeftFixedColumn: A,
1981
1981
  hasRightFixedColumn: j
1982
1982
  } = a, {
1983
- gridDataStyle: w,
1983
+ gridDataStyle: C,
1984
1984
  leftFixedGridDataStyle: g,
1985
1985
  rightFixedGridDataStyle: M
1986
1986
  } = p, {
1987
- renderDataRow: S
1988
- } = Pn(n, e, F, y, c, s, l, f, u, m, p, d, v), N = [S];
1987
+ renderDataRow: T
1988
+ } = Pn(n, e, F, y, c, s, l, f, u, m, p, d, v), N = [T];
1989
1989
  function _(V, W) {
1990
1990
  const ee = x(V);
1991
1991
  return y.value.filter((D) => D.visible !== !1).map((D, O) => N[D.type](D, ee, W, O));
1992
1992
  }
1993
- function C() {
1994
- return k("div", {
1993
+ function b() {
1994
+ return B("div", {
1995
1995
  ref: o,
1996
1996
  class: "fv-grid-content-left-fixed"
1997
- }, [k("div", {
1997
+ }, [B("div", {
1998
1998
  class: "fv-grid-data",
1999
1999
  style: g.value
2000
2000
  }, [_(F.value.leftColumns.filter((V) => V.visible), "left")])]);
2001
2001
  }
2002
- function T() {
2003
- return k("div", {
2002
+ function S() {
2003
+ return B("div", {
2004
2004
  ref: t,
2005
2005
  class: "fv-grid-content-primary"
2006
- }, [k("div", {
2006
+ }, [B("div", {
2007
2007
  class: "fv-grid-data",
2008
- style: w.value
2008
+ style: C.value
2009
2009
  }, [_(F.value.primaryColumns.filter((V) => V.visible), "primary")])]);
2010
2010
  }
2011
2011
  function P() {
2012
- return k("div", {
2012
+ return B("div", {
2013
2013
  ref: i,
2014
2014
  class: "fv-grid-content-right-fixed"
2015
- }, [k("div", {
2015
+ }, [B("div", {
2016
2016
  class: "fv-grid-data",
2017
2017
  style: M.value
2018
2018
  }, [_(F.value.rightColumns.filter((V) => V.visible), "right")])]);
2019
2019
  }
2020
2020
  function I() {
2021
2021
  const V = [];
2022
- return A.value && V.push(C()), V.push(T()), j.value && V.push(P()), V;
2022
+ return A.value && V.push(b()), V.push(S()), j.value && V.push(P()), V;
2023
2023
  }
2024
2024
  return {
2025
2025
  renderDataArea: I
@@ -2031,19 +2031,19 @@ const di = /* @__PURE__ */ We({
2031
2031
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
2032
2032
  setup(n, e) {
2033
2033
  var $t, Lt;
2034
- const o = (($t = n.rowOption) == null ? void 0 : $t.height) || 28, i = b(20), r = b(n.columns), a = Dn(n), {
2034
+ const o = (($t = n.rowOption) == null ? void 0 : $t.height) || 28, i = w(20), r = w(n.columns), a = Dn(n), {
2035
2035
  idField: c
2036
- } = a, s = b(), l = b(), f = b(), u = b(), m = b(), p = b([]), d = b(!1), v = b(((Lt = n.rowOption) == null ? void 0 : Lt.wrapContent) || !1), y = Rn(n, a), x = jn(n, e), F = Vn(n), {
2036
+ } = a, s = w(), l = w(), f = w(), u = w(), m = w(), p = w([]), d = w(!1), v = w(((Lt = n.rowOption) == null ? void 0 : Lt.wrapContent) || !1), y = Rn(n, a), x = jn(n, e), F = Vn(n), {
2037
2037
  collapseField: A
2038
2038
  } = F, {
2039
2039
  showLoading: j,
2040
- renderLoading: w
2040
+ renderLoading: C
2041
2041
  } = $n(n, s), g = Ln(n, /* @__PURE__ */ new Map(), x, F, a), {
2042
2042
  dataView: M
2043
- } = g, S = zn(n, g, a, p, e), {
2043
+ } = g, T = zn(n, g, a, p, e), {
2044
2044
  showSelection: N,
2045
2045
  selectedValues: _
2046
- } = S, C = An(n, p, g, a, S, e), T = H(() => n.disabled), P = H(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), I = Hn(n, g), {
2046
+ } = T, b = An(n, p, g, a, T, e), S = H(() => n.disabled), P = H(() => n.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), I = Hn(n, g), {
2047
2047
  shouldRenderPagination: V
2048
2048
  } = I, {
2049
2049
  containerStyleObject: W
@@ -2062,9 +2062,9 @@ const di = /* @__PURE__ */ We({
2062
2062
  updateColumnRenderContext: X
2063
2063
  } = L;
2064
2064
  ve(g, te);
2065
- const ie = Yn(n, he), le = Xn(n, e, S, a), ne = Qn(n, e, a, le, p), U = Jn(n), oe = Zn(n, ne, U), $e = Kn(n, g, ne, F, a, U, oe), Oe = eo(n, r, g, P, 0, $e), {
2065
+ const ie = Yn(n, he), le = Xn(n, e, T, a), ne = Qn(n, e, a, le, p), U = Jn(n), oe = Zn(n, ne, U), $e = Kn(n, g, ne, F, a, U, oe), Oe = eo(n, r, g, P, 0, $e), {
2066
2066
  getVisualData: xe
2067
- } = Oe, Ge = to(n, he), Le = no(n, S), {
2067
+ } = Oe, Ge = to(n, he), Le = no(n, T), {
2068
2068
  sidebarWidth: Ye
2069
2069
  } = Le, ae = oo(n, g, p, he, Oe, P, 0, Ye), {
2070
2070
  onWheel: Ze,
@@ -2074,8 +2074,8 @@ const di = /* @__PURE__ */ We({
2074
2074
  resetScroll: Pe,
2075
2075
  updateVisibleRowsOnLatestVisibleScope: Ke
2076
2076
  } = ae, ze = io(n, he, l, Se, ie), {
2077
- calculateColumnsSize: Be
2078
- } = ze, De = ro(), Xe = ao(l, m, g, De, ae), Qe = so(n, e, L, g, ie, y, ae), B = H(() => {
2077
+ calculateColumnsSize: ke
2078
+ } = ze, De = ro(), Xe = ao(l, m, g, De, ae), Qe = so(n, e, L, g, ie, y, ae), k = H(() => {
2079
2079
  const z = {
2080
2080
  "fv-grid": !0,
2081
2081
  "fv-grid-bordered": n.showBorder,
@@ -2089,13 +2089,13 @@ const di = /* @__PURE__ */ We({
2089
2089
  "fv-grid-wrap-content": v.value
2090
2090
  })), {
2091
2091
  renderDataArea: se
2092
- } = ui(n, e, f, u, m, Ge, L, g, ne, F, le, S, C, ae, Oe, U, p), {
2092
+ } = ui(n, e, f, u, m, Ge, L, g, ne, F, le, T, b, ae, Oe, U, p), {
2093
2093
  renderGridHeader: ce,
2094
2094
  renderGridColumnResizeOverlay: Fe,
2095
2095
  shouldShowHeader: ht
2096
- } = lo(n, e, l, u, m, L, g, Qe, Xe, x, De, ze, ie, S, Le, te, ae, Se, p), {
2096
+ } = lo(n, e, l, u, m, L, g, Qe, Xe, x, De, ze, ie, T, Le, te, ae, Se, p), {
2097
2097
  renderDataGridSidebar: gt
2098
- } = co(n, le, S, Le, ae), {
2098
+ } = co(n, le, T, Le, ae), {
2099
2099
  renderDisableMask: yt
2100
2100
  } = uo(), {
2101
2101
  renderHorizontalScrollbar: bt
@@ -2106,16 +2106,16 @@ const di = /* @__PURE__ */ We({
2106
2106
  var z, Y, de;
2107
2107
  if (l.value && l.value.clientHeight > 0 && ((z = l.value) == null ? void 0 : z.clientWidth) > 0) {
2108
2108
  const me = Math.ceil(l.value.clientHeight / o);
2109
- me > i.value && (i.value = me, Ke()), Ne.value = ((Y = f.value) == null ? void 0 : Y.clientHeight) || 0, Ie.value = ((de = l.value) == null ? void 0 : de.clientWidth) || 0, Be();
2109
+ me > i.value && (i.value = me, Ke()), Ne.value = ((Y = f.value) == null ? void 0 : Y.clientHeight) || 0, Ie.value = ((de = l.value) == null ? void 0 : de.clientWidth) || 0, ke();
2110
2110
  }
2111
2111
  }
2112
2112
  rt(() => {
2113
- l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / o), i.value), p.value = xe(0, P.value + 0 - 1), Nn(l.value, Ct), Be(), Nt(() => {
2113
+ l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / o), i.value), p.value = xe(0, P.value + 0 - 1), Nn(l.value, Ct), ke(), Nt(() => {
2114
2114
  l.value && (Ie.value = l.value.clientWidth), f.value && (Se.value = f.value.clientWidth, Ne.value = f.value.clientHeight);
2115
- })), j.value && w();
2115
+ })), j.value && C();
2116
2116
  }), mt(() => {
2117
- }), ke(Se, () => {
2118
- l.value && Be();
2117
+ }), Be(Se, () => {
2118
+ l.value && ke();
2119
2119
  });
2120
2120
  function xt(z) {
2121
2121
  g.collapseTo(z), g.reOrderVisibleIndex(), Pe();
@@ -2124,7 +2124,7 @@ const di = /* @__PURE__ */ We({
2124
2124
  g.expandTo(z), g.reOrderVisibleIndex(), Pe();
2125
2125
  }
2126
2126
  function et() {
2127
- const z = S.getSelectionRow();
2127
+ const z = T.getSelectionRow();
2128
2128
  return z ? z.dataIndex - 1 : -1;
2129
2129
  }
2130
2130
  function St() {
@@ -2140,29 +2140,29 @@ const di = /* @__PURE__ */ We({
2140
2140
  g.insertNewChildDataItems(z, me);
2141
2141
  }
2142
2142
  function Mt() {
2143
- const z = et(), Y = C.getNextSelectableHierarchyItemId(z);
2144
- g.removeHierarchyDataItem(z), p.value = xe(0, P.value + 0 - 1), Y && S.selectItemById(Y);
2143
+ const z = et(), Y = b.getNextSelectableHierarchyItemId(z);
2144
+ g.removeHierarchyDataItem(z), p.value = xe(0, P.value + 0 - 1), Y && b.selectItemById(Y);
2145
2145
  }
2146
2146
  function lt(z) {
2147
2147
  ne.onEditingRow(z);
2148
2148
  }
2149
- function kt(z) {
2149
+ function Bt(z) {
2150
2150
  ne.acceptEditingRow(z);
2151
2151
  }
2152
2152
  function h(z) {
2153
2153
  ne.cancelEditingRow(z);
2154
2154
  }
2155
2155
  function R(z) {
2156
- z && (r.value = z, D(r), X(r.value), ve(g, te), Be());
2156
+ z && (r.value = z, D(r), X(r.value), ve(g, te), ke());
2157
2157
  }
2158
- ke(() => n.columns, (z) => {
2158
+ Be(() => n.columns, (z) => {
2159
2159
  R(z);
2160
2160
  });
2161
2161
  function $(z, Y) {
2162
2162
  z && (g.load(z), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Pe());
2163
2163
  }
2164
2164
  function q(z) {
2165
- S.selectItemById(z);
2165
+ b.selectItemById(z);
2166
2166
  }
2167
2167
  function J(z) {
2168
2168
  const Y = p.value.find((de) => de.raw[a.idField.value] === z);
@@ -2172,25 +2172,25 @@ const di = /* @__PURE__ */ We({
2172
2172
  le.activeRowById(z);
2173
2173
  }
2174
2174
  function Ce(z) {
2175
- S.selectItemByIds(z);
2175
+ b.selectItemByIds(z);
2176
2176
  }
2177
2177
  function ge() {
2178
- return S.getSelectedItems();
2178
+ return T.getSelectedItems();
2179
2179
  }
2180
2180
  function ye() {
2181
- S.clearSelection();
2181
+ T.clearSelection();
2182
2182
  }
2183
2183
  const Te = H(() => !p.value || !p.value.length), {
2184
2184
  renderEmpty: ue
2185
2185
  } = mo(n, e);
2186
2186
  function Ee() {
2187
- return S.getSelectionRow();
2187
+ return T.getSelectionRow();
2188
2188
  }
2189
2189
  function be(z) {
2190
- S.unSelectItemByIds(z);
2190
+ b.unSelectItemByIds(z);
2191
2191
  }
2192
2192
  function pe() {
2193
- return S.currentSelectedDataId.value;
2193
+ return T.currentSelectedDataId.value;
2194
2194
  }
2195
2195
  function tt(z, Y, de) {
2196
2196
  const me = M.value.find((we) => we[c.value] === z);
@@ -2233,7 +2233,7 @@ const di = /* @__PURE__ */ We({
2233
2233
  function pn() {
2234
2234
  return A.value;
2235
2235
  }
2236
- ke(() => n.showSetting, (z, Y) => {
2236
+ Be(() => n.showSetting, (z, Y) => {
2237
2237
  z !== Y && (z ? O(r) : G(r), R(r.value));
2238
2238
  });
2239
2239
  function mn(z) {
@@ -2244,7 +2244,7 @@ const di = /* @__PURE__ */ We({
2244
2244
  de && le.changeRow(de);
2245
2245
  }
2246
2246
  function hn() {
2247
- S.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(p.value);
2247
+ T.keepSelectingOnPaging.value || ye(), g.updateVisibleDataSummary(p.value);
2248
2248
  }
2249
2249
  e.expose({
2250
2250
  activeRowById: Z,
@@ -2255,7 +2255,7 @@ const di = /* @__PURE__ */ We({
2255
2255
  expandTo: st,
2256
2256
  removeDataItem: Mt,
2257
2257
  editDataItem: lt,
2258
- acceptDataItem: kt,
2258
+ acceptDataItem: Bt,
2259
2259
  cancelDataItem: h,
2260
2260
  updateColumns: R,
2261
2261
  updateDataSource: $,
@@ -2281,9 +2281,9 @@ const di = /* @__PURE__ */ We({
2281
2281
  }), yn = H(() => ({
2282
2282
  ...W.value,
2283
2283
  borderRadius: "5px"
2284
- })), {
2285
- renderDataGridPagination: Qr
2286
- } = vo(n, e, g, ae, I, S), bn = H(() => ({
2284
+ }));
2285
+ vo(n, e, g, ae, I, T);
2286
+ const bn = H(() => ({
2287
2287
  "d-flex": !0,
2288
2288
  "justify-content-between": V.value && N.value,
2289
2289
  "justify-content-end": V.value && !N.value,
@@ -2294,22 +2294,22 @@ const di = /* @__PURE__ */ We({
2294
2294
  })), {
2295
2295
  renderDataGridSummary: Cn
2296
2296
  } = ho(n, g, L);
2297
- return () => k("div", {
2297
+ return () => B("div", {
2298
2298
  ref: s,
2299
- class: B.value,
2299
+ class: k.value,
2300
2300
  style: yn.value,
2301
2301
  onWheel: Ze
2302
- }, [l.value && ht.value && ce(), k("div", {
2302
+ }, [l.value && ht.value && ce(), B("div", {
2303
2303
  ref: l,
2304
2304
  class: Q.value,
2305
2305
  onMouseover: () => d.value = !0,
2306
2306
  onMouseleave: () => d.value = !1,
2307
2307
  style: gn.value
2308
- }, [l.value && gt(p), l.value && se(), l.value && Te.value && ue(), l.value && bt(), l.value && wt()]), l.value && Cn(), N.value && k("div", {
2308
+ }, [l.value && gt(p), l.value && se(), l.value && Te.value && ue(), l.value && bt(), l.value && wt()]), l.value && Cn(), N.value && B("div", {
2309
2309
  class: bn.value
2310
- }, [N.value && k("div", {
2310
+ }, [N.value && B("div", {
2311
2311
  class: wn.value
2312
- }, [k("div", null, ["已选:" + _.value.length, Tn(" 条")])])]), Fe(), T.value && yt()]);
2312
+ }, [B("div", null, ["已选:" + _.value.length, Tn(" 条")])])]), Fe(), S.value && yt()]);
2313
2313
  }
2314
2314
  });
2315
2315
  On(di);
@@ -2419,7 +2419,7 @@ const mi = "https://json-schema.org/draft/2020-12/schema", vi = "https://farris-
2419
2419
  description: Si,
2420
2420
  type: Ti,
2421
2421
  categories: Ei
2422
- }, ki = {
2422
+ }, Bi = {
2423
2423
  /** 步骤条方向 */
2424
2424
  direction: { type: String, default: "horizontal" },
2425
2425
  /** 是否平铺 */
@@ -2450,10 +2450,10 @@ const mi = "https://json-schema.org/draft/2020-12/schema", vi = "https://farris-
2450
2450
  onClick: { type: Function, default: () => {
2451
2451
  } }
2452
2452
  };
2453
- at(ki, Ci, fi, pi, Mi);
2454
- function Bi(n, e, t) {
2455
- var C;
2456
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = b();
2453
+ at(Bi, Ci, fi, pi, Mi);
2454
+ function ki(n, e, t) {
2455
+ var b;
2456
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = w();
2457
2457
  let a;
2458
2458
  function c() {
2459
2459
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -2467,73 +2467,73 @@ function Bi(n, e, t) {
2467
2467
  function f() {
2468
2468
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !0 : t && t.hideNestedPaddingInDesginerView ? t.hideNestedPaddingInDesginerView() : !1;
2469
2469
  }
2470
- function u(T) {
2471
- if (!T || !T.value)
2470
+ function u(S) {
2471
+ if (!S || !S.value)
2472
2472
  return null;
2473
- if (T.value.schema && T.value.schema.type === "component")
2474
- return T.value;
2475
- const P = b(T == null ? void 0 : T.value.parent), I = u(P);
2473
+ if (S.value.schema && S.value.schema.type === "component")
2474
+ return S.value;
2475
+ const P = w(S == null ? void 0 : S.value.parent), I = u(P);
2476
2476
  return I || null;
2477
2477
  }
2478
- function m(T = e) {
2478
+ function m(S = e) {
2479
2479
  var W;
2480
2480
  if (t != null && t.getDraggableDesignItemElement)
2481
- return t.getDraggableDesignItemElement(T);
2482
- const { componentInstance: P, designerItemElementRef: I } = T;
2481
+ return t.getDraggableDesignItemElement(S);
2482
+ const { componentInstance: P, designerItemElementRef: I } = S;
2483
2483
  if (!P || !P.value)
2484
2484
  return null;
2485
2485
  const { getCustomButtons: V } = P.value;
2486
- return P.value.canMove || V && ((W = V()) != null && W.length) ? I : m(T.parent);
2486
+ return P.value.canMove || V && ((W = V()) != null && W.length) ? I : m(S.parent);
2487
2487
  }
2488
- function p(T) {
2489
- return !!t && t.canAccepts(T);
2488
+ function p(S) {
2489
+ return !!t && t.canAccepts(S);
2490
2490
  }
2491
2491
  function d() {
2492
2492
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
2493
2493
  }
2494
2494
  function v() {
2495
2495
  }
2496
- function y(T, P) {
2496
+ function y(S, P) {
2497
2497
  var I;
2498
- !T || !P || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(T, P), (I = e == null ? void 0 : e.setupContext) == null || I.emit("dragEnd"));
2498
+ !S || !P || (t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(S, P), (I = e == null ? void 0 : e.setupContext) == null || I.emit("dragEnd"));
2499
2499
  }
2500
- function x(T, P) {
2501
- const { componentType: I } = T;
2502
- let V = go(I, T, P);
2503
- t && t.onResolveNewComponentSchema && (V = t.onResolveNewComponentSchema(T, V));
2500
+ function x(S, P) {
2501
+ const { componentType: I } = S;
2502
+ let V = go(I, S, P);
2503
+ t && t.onResolveNewComponentSchema && (V = t.onResolveNewComponentSchema(S, V));
2504
2504
  const W = I.toLowerCase().replace(/-/g, "_");
2505
2505
  return V && !V.id && V.type === I && (V.id = `${W}_${Math.random().toString().slice(2, 6)}`), V;
2506
2506
  }
2507
- function F(T) {
2508
- T && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(T);
2507
+ function F(S) {
2508
+ S && t != null && t.onChildElementMovedOut && t.onChildElementMovedOut(S);
2509
2509
  }
2510
- function A(...T) {
2510
+ function A(...S) {
2511
2511
  if (t && t.getPropsConfig)
2512
- return t.getPropsConfig(...T);
2512
+ return t.getPropsConfig(...S);
2513
2513
  }
2514
- function j(T) {
2515
- if (!T)
2514
+ function j(S) {
2515
+ if (!S)
2516
2516
  return;
2517
- const P = e == null ? void 0 : e.schema, { formSchemaUtils: I } = T;
2517
+ const P = e == null ? void 0 : e.schema, { formSchemaUtils: I } = S;
2518
2518
  if (P && I.getExpressions().length) {
2519
2519
  const V = I.getExpressions().findIndex((W) => W.target === P.id);
2520
2520
  V > -1 && I.getExpressions().splice(V, 1);
2521
2521
  }
2522
2522
  }
2523
- function w(T) {
2524
- if (!T || !(e != null && e.schema))
2523
+ function C(S) {
2524
+ if (!S || !(e != null && e.schema))
2525
2525
  return;
2526
- const P = e.schema, { formSchemaUtils: I } = T;
2526
+ const P = e.schema, { formSchemaUtils: I } = S;
2527
2527
  I.removeCommunicationInComponent(P);
2528
2528
  }
2529
- function g(T) {
2530
- t && t.onRemoveComponent && t.onRemoveComponent(), j(T), w(T), e != null && e.schema.contents && e.schema.contents.map((P) => {
2529
+ function g(S) {
2530
+ t && t.onRemoveComponent && t.onRemoveComponent(), j(S), C(S), e != null && e.schema.contents && e.schema.contents.map((P) => {
2531
2531
  let I = P.id;
2532
2532
  P.type === "component-ref" && (I = P.component);
2533
2533
  const V = n.value.querySelectorAll(`#${I}-design-item`);
2534
2534
  V != null && V.length && Array.from(V).map((W) => {
2535
2535
  var ee;
2536
- (ee = W == null ? void 0 : W.componentInstance) != null && ee.value.onRemoveComponent && W.componentInstance.value.onRemoveComponent(T);
2536
+ (ee = W == null ? void 0 : W.componentInstance) != null && ee.value.onRemoveComponent && W.componentInstance.value.onRemoveComponent(S);
2537
2537
  });
2538
2538
  });
2539
2539
  }
@@ -2541,11 +2541,11 @@ function Bi(n, e, t) {
2541
2541
  if (t && t.getCustomButtons)
2542
2542
  return t.getCustomButtons();
2543
2543
  }
2544
- function S(T) {
2544
+ function T(S) {
2545
2545
  var I, V;
2546
2546
  if (!((I = e == null ? void 0 : e.schema) != null && I.id))
2547
2547
  return;
2548
- if (!a && T && (a = T.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
2548
+ if (!a && S && (a = S.formSchemaUtils), t != null && t.setComponentBasicInfoMap) {
2549
2549
  t.setComponentBasicInfoMap();
2550
2550
  return;
2551
2551
  }
@@ -2561,10 +2561,10 @@ function Bi(n, e, t) {
2561
2561
  parentPathName: P
2562
2562
  });
2563
2563
  }
2564
- function N(T) {
2564
+ function N(S) {
2565
2565
  var W;
2566
- const { changeObject: P } = T, { propertyID: I, propertyValue: V } = P;
2567
- if (["text", "title", "label", "name", "mainTitle"].includes((W = T == null ? void 0 : T.changeObject) == null ? void 0 : W.propertyID) && I && V && (S(), a)) {
2566
+ const { changeObject: P } = S, { propertyID: I, propertyValue: V } = P;
2567
+ if (["text", "title", "label", "name", "mainTitle"].includes((W = S == null ? void 0 : S.changeObject) == null ? void 0 : W.propertyID) && I && V && (T(), a)) {
2568
2568
  const ee = a.getControlBasicInfoMap(), D = ee.keys().toArray().filter((O) => {
2569
2569
  var G, L;
2570
2570
  return ((G = ee.get(O)) == null ? void 0 : G.reliedComponentId) === ((L = e == null ? void 0 : e.schema) == null ? void 0 : L.id);
@@ -2575,9 +2575,9 @@ function Bi(n, e, t) {
2575
2575
  });
2576
2576
  }
2577
2577
  }
2578
- function _(T) {
2579
- if (N(T), t && t.onPropertyChanged)
2580
- return t.onPropertyChanged(T);
2578
+ function _(S) {
2579
+ if (N(S), t && t.onPropertyChanged)
2580
+ return t.onPropertyChanged(S);
2581
2581
  }
2582
2582
  return r.value = {
2583
2583
  canMove: c(),
@@ -2586,7 +2586,7 @@ function Bi(n, e, t) {
2586
2586
  canNested: !f(),
2587
2587
  contents: e == null ? void 0 : e.schema.contents,
2588
2588
  elementRef: n,
2589
- parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
2589
+ parent: (b = e == null ? void 0 : e.parent) == null ? void 0 : b.componentInstance,
2590
2590
  schema: e == null ? void 0 : e.schema,
2591
2591
  styles: o,
2592
2592
  designerClass: i,
@@ -2599,12 +2599,12 @@ function Bi(n, e, t) {
2599
2599
  onAcceptMovedChildElement: y,
2600
2600
  onChildElementMovedOut: F,
2601
2601
  addNewChildComponentSchema: x,
2602
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || b(!1),
2603
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || b(!1),
2602
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || w(!1),
2603
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || w(!1),
2604
2604
  onRemoveComponent: g,
2605
2605
  getCustomButtons: M,
2606
2606
  onPropertyChanged: _,
2607
- setComponentBasicInfoMap: S,
2607
+ setComponentBasicInfoMap: T,
2608
2608
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
2609
2609
  }, r;
2610
2610
  }
@@ -2931,7 +2931,7 @@ at(
2931
2931
  jt,
2932
2932
  void 0
2933
2933
  );
2934
- const Ji = b(0);
2934
+ const Ji = w(0);
2935
2935
  function Zi() {
2936
2936
  Ji.value++;
2937
2937
  }
@@ -3717,7 +3717,7 @@ function hr() {
3717
3717
  return { onCopy: n };
3718
3718
  }
3719
3719
  function gr(n, e, t, o) {
3720
- const i = b(14), r = b(140), a = b(""), c = b(o.value.length), s = H(() => o.value), l = H(() => ({
3720
+ const i = w(14), r = w(140), a = w(""), c = w(o.value.length), s = H(() => o.value), l = H(() => ({
3721
3721
  "font-size": `${i.value}px`,
3722
3722
  height: "100%"
3723
3723
  }));
@@ -3727,7 +3727,7 @@ function gr(n, e, t, o) {
3727
3727
  c.value = m.length;
3728
3728
  }
3729
3729
  }
3730
- return () => k(it, null, [k("textarea", {
3730
+ return () => B(it, null, [B("textarea", {
3731
3731
  title: "promptMessage",
3732
3732
  name: "promptMessage",
3733
3733
  class: "form-control",
@@ -3735,7 +3735,7 @@ function gr(n, e, t, o) {
3735
3735
  rows: "4",
3736
3736
  maxlength: r.value,
3737
3737
  onInput: (u) => f(u)
3738
- }, [s.value]), k("span", {
3738
+ }, [s.value]), B("span", {
3739
3739
  class: "textarea-wordcount",
3740
3740
  title: a.value,
3741
3741
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -3749,7 +3749,7 @@ function yr(n, e, t, o) {
3749
3749
  return { getEditorRender: a };
3750
3750
  }
3751
3751
  function br() {
3752
- const n = b(!1), e = b("复制成功");
3752
+ const n = w(!1), e = w("复制成功");
3753
3753
  return {
3754
3754
  feedbackStyle: H(() => {
3755
3755
  const o = {
@@ -3808,7 +3808,7 @@ function Cr(n, e) {
3808
3808
  const i = H(() => !!n.value && !!n.value.date), r = H(() => {
3809
3809
  const p = n.value && n.value.date || "";
3810
3810
  return `${e.exception.happend} : ${p}`;
3811
- }), a = H(() => !!n.value && !!n.value.detail), c = H(() => n.value ? t(n.value.detail) > 160 : !1), s = b(!1), l = H(() => s.value ? e.exception.collapse : e.exception.expand), f = H(() => {
3811
+ }), a = H(() => !!n.value && !!n.value.detail), c = H(() => n.value ? t(n.value.detail) > 160 : !1), s = w(!1), l = H(() => s.value ? e.exception.collapse : e.exception.expand), f = H(() => {
3812
3812
  const p = e.exception.detail + " : " + (n.value && n.value.detail) || "";
3813
3813
  return s.value ? p : o(p, 160);
3814
3814
  }), u = H(() => ({
@@ -3821,27 +3821,27 @@ function Cr(n, e) {
3821
3821
  function m() {
3822
3822
  s.value = !s.value;
3823
3823
  }
3824
- return () => k("div", {
3824
+ return () => B("div", {
3825
3825
  class: "toast-msg-detail"
3826
- }, [i.value && k("div", null, [r.value]), a.value && k("div", {
3826
+ }, [i.value && B("div", null, [r.value]), a.value && B("div", {
3827
3827
  class: "exception_wrap"
3828
- }, [k("div", {
3828
+ }, [B("div", {
3829
3829
  class: "exception_error_msg"
3830
- }, [k("div", {
3830
+ }, [B("div", {
3831
3831
  innerHTML: f.value
3832
- }, null), c.value && k("span", {
3832
+ }, null), c.value && B("span", {
3833
3833
  style: u.value,
3834
3834
  onClick: m
3835
3835
  }, [l.value])])])]);
3836
3836
  }
3837
3837
  function xr(n) {
3838
- return () => k("p", {
3838
+ return () => B("p", {
3839
3839
  class: "toast-msg-detail",
3840
3840
  innerHTML: n.value
3841
3841
  }, null);
3842
3842
  }
3843
3843
  function Sr(n, e, t, o, i) {
3844
- const r = b(n.exceptionInfo), a = H(() => {
3844
+ const r = w(n.exceptionInfo), a = H(() => {
3845
3845
  const d = e.value === "question" ? "warning" : e.value, v = {
3846
3846
  "f-icon": !0
3847
3847
  }, y = `f-icon-${d}`;
@@ -3854,13 +3854,13 @@ function Sr(n, e, t, o, i) {
3854
3854
  wordBreak: "keep-all",
3855
3855
  overflowWrap: "break-word"
3856
3856
  } : {});
3857
- return () => k(it, null, [k("div", {
3857
+ return () => B(it, null, [B("div", {
3858
3858
  class: "float-left modal-tips-iconwrap"
3859
- }, [k("span", {
3859
+ }, [B("span", {
3860
3860
  class: a.value
3861
- }, null)]), k("div", {
3861
+ }, null)]), B("div", {
3862
3862
  class: "modal-tips-content"
3863
- }, [k("p", {
3863
+ }, [B("p", {
3864
3864
  class: "toast-msg-title",
3865
3865
  innerHTML: c.value,
3866
3866
  style: p.value
@@ -3871,7 +3871,7 @@ function Tr(n, e, t, o) {
3871
3871
  onCopy: i
3872
3872
  } = e, {
3873
3873
  toShowFeedback: r
3874
- } = t, a = b(o.exception.copySuccess || "复制成功"), c = b(o.exception.copy || "复制详细信息"), s = b(n.exceptionInfo || {
3874
+ } = t, a = w(o.exception.copySuccess || "复制成功"), c = w(o.exception.copy || "复制详细信息"), s = w(n.exceptionInfo || {
3875
3875
  date: "",
3876
3876
  message: "",
3877
3877
  detail: ""
@@ -3885,15 +3885,15 @@ function Tr(n, e, t, o) {
3885
3885
  }, 700);
3886
3886
  });
3887
3887
  }
3888
- return () => k("span", {
3888
+ return () => B("span", {
3889
3889
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
3890
- }, [k("span", {
3890
+ }, [B("span", {
3891
3891
  onClick: f,
3892
3892
  style: "cursor: pointer;"
3893
3893
  }, [c.value])]);
3894
3894
  }
3895
3895
  function Er(n, e, t, o, i) {
3896
- const r = b(n.type), a = b(n.buttons), c = b(n.exceptionInfo), s = b(i.ok || n.okButtonText), l = b(i.cancel || n.cancelButtonText), f = b(n.showCancelButton), u = b(n.showOkButton), m = H(() => !!(a.value && a.value.length)), p = H(() => c.value && c.value.message && c.value.detail), d = H(() => !(a.value && a.value.length) && (u.value || f.value)), v = Tr(n, t, o, i);
3896
+ const r = w(n.type), a = w(n.buttons), c = w(n.exceptionInfo), s = w(i.ok || n.okButtonText), l = w(i.cancel || n.cancelButtonText), f = w(n.showCancelButton), u = w(n.showOkButton), m = H(() => !!(a.value && a.value.length)), p = H(() => c.value && c.value.message && c.value.detail), d = H(() => !(a.value && a.value.length) && (u.value || f.value)), v = Tr(n, t, o, i);
3897
3897
  s.value === "关闭" ? s.value = i.close : s.value === "知道了" && (s.value = i.exception.roger);
3898
3898
  function y(F) {
3899
3899
  r.value === "question" && e.emit("reject"), e.emit("close");
@@ -3901,21 +3901,21 @@ function Er(n, e, t, o, i) {
3901
3901
  function x(F) {
3902
3902
  r.value === "question" && e.emit("accept"), e.emit("close");
3903
3903
  }
3904
- return () => k("div", {
3904
+ return () => B("div", {
3905
3905
  class: "modal-footer"
3906
- }, [p.value && v(), d.value && f.value && k("button", {
3906
+ }, [p.value && v(), d.value && f.value && B("button", {
3907
3907
  type: "button",
3908
3908
  class: "btn btn-secondary btn-lg",
3909
3909
  onClick: y
3910
- }, [l.value]), d.value && u.value && k("button", {
3910
+ }, [l.value]), d.value && u.value && B("button", {
3911
3911
  type: "button",
3912
3912
  class: "btn btn-primary btn-lg",
3913
3913
  onClick: x
3914
- }, [s.value]), m.value && a.value.length && a.value.map((F) => k("button", {
3914
+ }, [s.value]), m.value && a.value.length && a.value.map((F) => B("button", {
3915
3915
  type: "button",
3916
3916
  onClick: F.handle,
3917
3917
  class: F.class
3918
- }, [F.iconClass && k("span", {
3918
+ }, [F.iconClass && B("span", {
3919
3919
  class: F.iconClass
3920
3920
  }, null), F.text]))]);
3921
3921
  }
@@ -3950,7 +3950,7 @@ const dt = /* @__PURE__ */ We({
3950
3950
  props: fr,
3951
3951
  emits: ["accept", "reject", "close"],
3952
3952
  setup(n, e) {
3953
- const t = Mr(n), o = b(n.type), i = b(n.title), r = b(n.detail), a = H(() => {
3953
+ const t = Mr(n), o = w(n.type), i = w(n.title), r = w(n.detail), a = H(() => {
3954
3954
  const x = {
3955
3955
  "modal-tips": !0,
3956
3956
  "d-flex": !0,
@@ -3968,7 +3968,7 @@ const dt = /* @__PURE__ */ We({
3968
3968
  } = f;
3969
3969
  m.value = t.exception.copySuccess;
3970
3970
  function p() {
3971
- return k("div", {
3971
+ return B("div", {
3972
3972
  style: u.value
3973
3973
  }, [m.value]);
3974
3974
  }
@@ -3981,17 +3981,17 @@ const dt = /* @__PURE__ */ We({
3981
3981
  }
3982
3982
  }
3983
3983
  const v = d(), y = Er(n, e, s, f, t);
3984
- return () => k("div", {
3984
+ return () => B("div", {
3985
3985
  class: "farris-messager"
3986
- }, [!n.exceptionInfo && k("div", {
3986
+ }, [!n.exceptionInfo && B("div", {
3987
3987
  style: "height: 30px;width: 100%;position: absolute;",
3988
3988
  class: "messager-draggable"
3989
- }, null), k("section", {
3989
+ }, null), B("section", {
3990
3990
  class: a.value,
3991
3991
  style: c.value
3992
3992
  }, [v()]), y(), p()]);
3993
3993
  }
3994
- }), kr = "https://json-schema.org/draft/2020-12/schema", Br = "https://farris-design.gitee.io/modal.schema.json", Fr = "modal", Or = "弹窗组件", Ir = "object", Nr = {
3994
+ }), Br = "https://json-schema.org/draft/2020-12/schema", kr = "https://farris-design.gitee.io/modal.schema.json", Fr = "modal", Or = "弹窗组件", Ir = "object", Nr = {
3995
3995
  id: {
3996
3996
  description: "组件唯一标识",
3997
3997
  type: "string"
@@ -4106,8 +4106,8 @@ const dt = /* @__PURE__ */ We({
4106
4106
  onCancel: "取消事件",
4107
4107
  beforeClose: "关闭前回调"
4108
4108
  }, Rr = {
4109
- $schema: kr,
4110
- $id: Br,
4109
+ $schema: Br,
4110
+ $id: kr,
4111
4111
  title: Fr,
4112
4112
  description: Or,
4113
4113
  type: Ir,
@@ -4294,7 +4294,7 @@ class _e {
4294
4294
  }
4295
4295
  }
4296
4296
  function Ar(n, e) {
4297
- const t = b(), o = b(), i = b(), r = b(), a = b(), c = b(), s = b(), l = b(), f = b(), u = b(), m = b(), p = b(n.resizeable), d = b(), v = b(n.draggable), y = b(!1);
4297
+ const t = w(), o = w(), i = w(), r = w(), a = w(), c = w(), s = w(), l = w(), f = w(), u = w(), m = w(), p = w(n.resizeable), d = w(), v = w(n.draggable), y = w(!1);
4298
4298
  function x() {
4299
4299
  const D = o.value || document.body, O = window.getComputedStyle(D);
4300
4300
  if (!O || !t.value)
@@ -4327,7 +4327,7 @@ function Ar(n, e) {
4327
4327
  const D = n.minHeight ? n.minHeight : 1, O = n.minWidth ? n.minWidth : 1;
4328
4328
  c.value && s.value && l.value && r.value && (c.value.height < D && (c.value.height = D, l.value.n && a.value && (s.value.y = a.value.y + (r.value.height - D))), c.value.width < O && (c.value.width = O, l.value.w && a.value && (s.value.x = a.value.x + (r.value.width - O))), n.maxHeight && c.value.height > n.maxHeight && (c.value.height = n.maxHeight, a.value && l.value.n && (s.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && c.value.width > n.maxWidth && (c.value.width = n.maxWidth, l.value.w && a.value && (s.value.x = a.value.x + (r.value.width - n.maxWidth))));
4329
4329
  }
4330
- function w() {
4330
+ function C() {
4331
4331
  if (o.value) {
4332
4332
  const D = u.value;
4333
4333
  if (s.value && c.value && l.value && r.value) {
@@ -4341,7 +4341,7 @@ function Ar(n, e) {
4341
4341
  return;
4342
4342
  D.subtract(i.value);
4343
4343
  const O = D.x, G = D.y;
4344
- l.value.n ? (s.value.y = a.value.y + G, c.value.height = r.value.height - G) : l.value.s && (c.value.height = r.value.height + G), l.value.e ? c.value.width = r.value.width + O : l.value.w && (c.value.width = r.value.width - O, s.value.x = a.value.x + O), w(), j(), A();
4344
+ l.value.n ? (s.value.y = a.value.y + G, c.value.height = r.value.height - G) : l.value.s && (c.value.height = r.value.height + G), l.value.e ? c.value.width = r.value.width + O : l.value.w && (c.value.width = r.value.width - O, s.value.x = a.value.x + O), C(), j(), A();
4345
4345
  }
4346
4346
  function M(D) {
4347
4347
  if (!f.value)
@@ -4349,7 +4349,7 @@ function Ar(n, e) {
4349
4349
  const O = re.fromEvent(D);
4350
4350
  O && g(O);
4351
4351
  }
4352
- function S() {
4352
+ function T() {
4353
4353
  if (t.value) {
4354
4354
  const {
4355
4355
  width: D,
@@ -4372,7 +4372,7 @@ function Ar(n, e) {
4372
4372
  }
4373
4373
  function N(D) {
4374
4374
  if (t.value) {
4375
- const O = S();
4375
+ const O = T();
4376
4376
  m.value = O;
4377
4377
  }
4378
4378
  i.value = void 0, r.value = null, a.value = null, c.value = null, s.value = null, l.value = null, f.value = null, document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", N);
@@ -4380,48 +4380,48 @@ function Ar(n, e) {
4380
4380
  function _() {
4381
4381
  document.addEventListener("mousemove", M), document.addEventListener("mouseup", N);
4382
4382
  }
4383
- function C(D) {
4383
+ function b(D) {
4384
4384
  D instanceof MouseEvent && D.button === 2 || v.value && (document.body.click(), D.stopPropagation(), D.preventDefault(), i.value = re.fromEvent(D), f.value = D.target, F(D), _());
4385
4385
  }
4386
- function T(D) {
4387
- return t.value = D, p.value && k(it, null, [k("div", {
4386
+ function S(D) {
4387
+ return t.value = D, p.value && B(it, null, [B("div", {
4388
4388
  class: "fv-resizable-handle fv-resizable-n",
4389
4389
  type: "n",
4390
- onMousedown: (O) => C(O)
4391
- }, null), k("div", {
4390
+ onMousedown: (O) => b(O)
4391
+ }, null), B("div", {
4392
4392
  class: "fv-resizable-handle fv-resizable-e",
4393
4393
  type: "e",
4394
- onMousedown: (O) => C(O)
4395
- }, null), k("div", {
4394
+ onMousedown: (O) => b(O)
4395
+ }, null), B("div", {
4396
4396
  class: "fv-resizable-handle fv-resizable-s",
4397
4397
  type: "s",
4398
- onMousedown: (O) => C(O)
4399
- }, null), k("div", {
4398
+ onMousedown: (O) => b(O)
4399
+ }, null), B("div", {
4400
4400
  class: "fv-resizable-handle fv-resizable-w",
4401
4401
  type: "w",
4402
- onMousedown: (O) => C(O)
4403
- }, null), k("div", {
4402
+ onMousedown: (O) => b(O)
4403
+ }, null), B("div", {
4404
4404
  class: "fv-resizable-handle fv-resizable-ne",
4405
4405
  type: "ne",
4406
- onMousedown: (O) => C(O)
4407
- }, null), k("div", {
4406
+ onMousedown: (O) => b(O)
4407
+ }, null), B("div", {
4408
4408
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4409
4409
  type: "se",
4410
- onMousedown: (O) => C(O)
4411
- }, null), k("div", {
4410
+ onMousedown: (O) => b(O)
4411
+ }, null), B("div", {
4412
4412
  class: "fv-resizable-handle fv-resizable-sw",
4413
4413
  type: "sw",
4414
- onMousedown: (O) => C(O)
4415
- }, null), k("div", {
4414
+ onMousedown: (O) => b(O)
4415
+ }, null), B("div", {
4416
4416
  class: "fv-resizable-handle fv-resizable-nw",
4417
4417
  type: "nw",
4418
- onMousedown: (O) => C(O)
4418
+ onMousedown: (O) => b(O)
4419
4419
  }, null)]);
4420
4420
  }
4421
4421
  function P(D = !0) {
4422
4422
  document.body.click();
4423
4423
  const O = o.value || document.body, G = _e.getCurrent(O), L = t.value;
4424
- D && L && (d.value = S(), d.value.transform = L.style.transform), G && L && (c.value = G, c.value.height -= 14, c.value.width -= 14, L.style.height = c.value.height + "px", L.style.width = c.value.width + "px", L.style.left = "7px", L.style.top = "7px", L.style.transform = "", m.value = {
4424
+ D && L && (d.value = T(), d.value.transform = L.style.transform), G && L && (c.value = G, c.value.height -= 14, c.value.width -= 14, L.style.height = c.value.height + "px", L.style.width = c.value.width + "px", L.style.left = "7px", L.style.top = "7px", L.style.transform = "", m.value = {
4425
4425
  size: c.value,
4426
4426
  position: {
4427
4427
  x: 0,
@@ -4469,7 +4469,7 @@ function Ar(n, e) {
4469
4469
  }
4470
4470
  const ee = W();
4471
4471
  return {
4472
- renderResizeBar: T,
4472
+ renderResizeBar: S,
4473
4473
  boundingElement: o,
4474
4474
  resizedEventParam: m,
4475
4475
  maximize: P,
@@ -4481,37 +4481,37 @@ function Ar(n, e) {
4481
4481
  };
4482
4482
  }
4483
4483
  function Hr(n, e, t) {
4484
- const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), c = b(), s = b(!1), l = b(new re(0, 0)), f = b(new re(0, 0)), u = b(new re(0, 0)), m = b(new re(0, 0));
4485
- ke(() => t.value, (M) => {
4484
+ const o = w(), i = w(n.draggable), r = w(n.lockAxis), a = w(), c = w(), s = w(!1), l = w(new re(0, 0)), f = w(new re(0, 0)), u = w(new re(0, 0)), m = w(new re(0, 0));
4485
+ Be(() => t.value, (M) => {
4486
4486
  a.value.style.cursor = M ? "move" : "default";
4487
4487
  });
4488
- function p(M, S) {
4489
- if (S.tagName === "BUTTON")
4488
+ function p(M, T) {
4489
+ if (T.tagName === "BUTTON")
4490
4490
  return !1;
4491
- if (S === M)
4491
+ if (T === M)
4492
4492
  return !0;
4493
- for (const N in S.children)
4494
- if (Object.prototype.hasOwnProperty.call(S.children, N) && p(M, S.children[N]))
4493
+ for (const N in T.children)
4494
+ if (Object.prototype.hasOwnProperty.call(T.children, N) && p(M, T.children[N]))
4495
4495
  return !0;
4496
4496
  return !1;
4497
4497
  }
4498
4498
  function d() {
4499
- var _, C;
4500
- let M = u.value.x + f.value.x, S = u.value.y + f.value.y;
4501
- r.value === "x" ? (M = ((_ = l.value) == null ? void 0 : _.x) || 0, u.value.x = 0) : r.value === "y" && (S = ((C = l.value) == null ? void 0 : C.y) || 0, u.value.y = 0);
4502
- const N = `translate3d(${Math.round(M)}px, ${Math.round(S)}px, 0px)`;
4503
- o.value && (o.value.style.transform = N), m.value.x = M, m.value.y = S;
4499
+ var _, b;
4500
+ let M = u.value.x + f.value.x, T = u.value.y + f.value.y;
4501
+ r.value === "x" ? (M = ((_ = l.value) == null ? void 0 : _.x) || 0, u.value.x = 0) : r.value === "y" && (T = ((b = l.value) == null ? void 0 : b.y) || 0, u.value.y = 0);
4502
+ const N = `translate3d(${Math.round(M)}px, ${Math.round(T)}px, 0px)`;
4503
+ o.value && (o.value.style.transform = N), m.value.x = M, m.value.y = T;
4504
4504
  }
4505
4505
  function v() {
4506
4506
  if (!c.value || !o.value)
4507
4507
  return null;
4508
- const M = c.value.getBoundingClientRect(), S = o.value.getBoundingClientRect(), N = {
4509
- top: M.top < S.top,
4510
- right: M.right > S.right,
4511
- bottom: M.bottom > S.bottom,
4512
- left: M.left < S.left
4508
+ const M = c.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), N = {
4509
+ top: M.top < T.top,
4510
+ right: M.right > T.right,
4511
+ bottom: M.bottom > T.bottom,
4512
+ left: M.left < T.left
4513
4513
  };
4514
- return N.top || (u.value.y -= S.top - M.top), N.bottom || (u.value.y -= S.bottom - M.bottom), N.right || (u.value.x -= S.right - M.right), N.left || (u.value.x -= S.left - M.left), d(), N;
4514
+ return N.top || (u.value.y -= T.top - M.top), N.bottom || (u.value.y -= T.bottom - M.bottom), N.right || (u.value.x -= T.right - M.right), N.left || (u.value.x -= T.left - M.left), d(), N;
4515
4515
  }
4516
4516
  function y(M) {
4517
4517
  M && (l.value && M.subtract(l.value), u.value.set(M), d(), v());
@@ -4534,25 +4534,25 @@ function Hr(n, e, t) {
4534
4534
  }
4535
4535
  f.value.reset();
4536
4536
  }
4537
- function w(M) {
4537
+ function C(M) {
4538
4538
  if (!t.value || M instanceof MouseEvent && M.button === 2)
4539
4539
  return;
4540
- const S = M.target || M.srcElement;
4541
- a.value !== void 0 && S && !p(S, a.value) || i.value !== !1 && (document.body.click(), M.stopPropagation(), M.preventDefault(), l.value = re.fromEvent(M, o.value), j(), A());
4540
+ const T = M.target || M.srcElement;
4541
+ a.value !== void 0 && T && !p(T, a.value) || i.value !== !1 && (document.body.click(), M.stopPropagation(), M.preventDefault(), l.value = re.fromEvent(M, o.value), j(), A());
4542
4542
  }
4543
- function g(M, S, N) {
4544
- if (i.value && S) {
4543
+ function g(M, T, N) {
4544
+ if (i.value && T) {
4545
4545
  if (M)
4546
4546
  a.value = M;
4547
4547
  else if (n.dragHandle) {
4548
4548
  if (n.dragHandle instanceof HTMLElement)
4549
4549
  a.value = n.dragHandle;
4550
4550
  else if (typeof n.dragHandle == "string") {
4551
- const _ = S.querySelector(n.dragHandle);
4551
+ const _ = T.querySelector(n.dragHandle);
4552
4552
  _ && (a.value = _);
4553
4553
  }
4554
4554
  }
4555
- o.value = S, c.value = N, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", w)) : i.value = !1;
4555
+ o.value = T, c.value = N, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4556
4556
  }
4557
4557
  }
4558
4558
  return {
@@ -4571,7 +4571,7 @@ function un(n, e) {
4571
4571
  }
4572
4572
  }
4573
4573
  function Ur(n, e) {
4574
- const t = b(n.enableEsc);
4574
+ const t = w(n.enableEsc);
4575
4575
  let o = null;
4576
4576
  return t.value ? (o = un("Escape", (i) => {
4577
4577
  e.emit("esc", { event: i.event, type: "esc" });
@@ -4580,7 +4580,7 @@ function Ur(n, e) {
4580
4580
  }) : null;
4581
4581
  }
4582
4582
  function _r(n, e) {
4583
- const t = b(n.enableEnter);
4583
+ const t = w(n.enableEnter);
4584
4584
  let o = null;
4585
4585
  return t.value ? (o = un("Enter", (i) => {
4586
4586
  e.emit("enter", { event: i.event, type: "enter" });
@@ -4593,12 +4593,12 @@ const qe = /* @__PURE__ */ We({
4593
4593
  props: cn,
4594
4594
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4595
4595
  setup(n, e) {
4596
- const t = b(n.width || 300), o = b(n.height || 200), i = b(n.modelValue), r = b(""), a = b(n.class), c = b(n.fitContent), s = b(n.showHeader), l = b(""), f = b(n.showCloseButton), u = b(n.showMaxButton), m = b(!1), p = b(n.dialogType), d = b(n.src), v = b(""), y = b(n.showButtons), x = b(n.title), F = b(n.containment || null), A = b(), {
4596
+ const t = w(n.width || 300), o = w(n.height || 200), i = w(n.modelValue), r = w(""), a = w(n.class), c = w(n.fitContent), s = w(n.showHeader), l = w(""), f = w(n.showCloseButton), u = w(n.showMaxButton), m = w(!1), p = w(n.dialogType), d = w(n.src), v = w(""), y = w(n.showButtons), x = w(n.title), F = w(n.containment || null), A = w(), {
4597
4597
  t: j
4598
4598
  } = Pt();
4599
4599
  x.value === "错误提示" && (x.value = j("messageBox.errorTitle"));
4600
- const w = b(!1);
4601
- function g(B, Q) {
4600
+ const C = w(!1);
4601
+ function g(k, Q) {
4602
4602
  const se = Q ? "accept" : "cancel";
4603
4603
  Promise.resolve().then(() => {
4604
4604
  var ce;
@@ -4606,24 +4606,24 @@ const qe = /* @__PURE__ */ We({
4606
4606
  closeType: se
4607
4607
  });
4608
4608
  }).then((ce) => {
4609
- ce && (i.value = !1, e.emit("update:modelValue", !1), Q != null && e.emit(Q ? "accept" : "cancel"), e.emit("closed", B));
4609
+ ce && (i.value = !1, e.emit("update:modelValue", !1), Q != null && e.emit(Q ? "accept" : "cancel"), e.emit("closed", k));
4610
4610
  });
4611
4611
  }
4612
4612
  const M = [{
4613
4613
  name: "cancel",
4614
4614
  text: j("messageBox.cancel") || "取消",
4615
4615
  class: "btn btn-secondary",
4616
- handle: (B) => {
4617
- g(B, !1);
4616
+ handle: (k) => {
4617
+ g(k, !1);
4618
4618
  }
4619
4619
  }, {
4620
4620
  name: "accept",
4621
4621
  text: j("messageBox.ok") || "确定",
4622
4622
  class: "btn btn-primary",
4623
- handle: (B) => {
4624
- g(B, !0);
4623
+ handle: (k) => {
4624
+ g(k, !0);
4625
4625
  }
4626
- }], S = b(n.buttons && n.buttons.length ? n.buttons : M), N = H(() => !!l.value), _ = H(() => !!y.value && !!S.value), C = b(), T = b(), P = b(!1), {
4626
+ }], T = w(n.buttons && n.buttons.length ? n.buttons : M), N = H(() => !!l.value), _ = H(() => !!y.value && !!T.value), b = w(), S = w(), P = w(!1), {
4627
4627
  renderResizeBar: I,
4628
4628
  maximize: V,
4629
4629
  restore: W,
@@ -4639,66 +4639,66 @@ const qe = /* @__PURE__ */ We({
4639
4639
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
4640
4640
  }
4641
4641
  function he() {
4642
- const B = document.querySelectorAll(".farris-modal").length;
4643
- (!B || B - 1 <= 0) && document.body.classList.remove("modal-open"), A.value && A.value.classList.remove("show");
4642
+ const k = document.querySelectorAll(".farris-modal").length;
4643
+ (!k || k - 1 <= 0) && document.body.classList.remove("modal-open"), A.value && A.value.classList.remove("show");
4644
4644
  }
4645
- ke(() => n.title, (B, Q) => {
4646
- B !== Q && (x.value = B);
4647
- }), ke(() => n.modelValue, (B, Q) => {
4648
- B !== Q && (i.value = B, i.value && n.draggable && Nt(() => {
4649
- T.value && !F.value && (F.value = T.value.parentElement, ee.value = F.value, te(C.value, T.value, ee.value), L());
4650
- }), B || (F.value && (F.value = null), he())), i.value ? w.value = ve() : (P.value = !1, O.value = n.draggable);
4651
- }), ke(() => n.showHeader, (B, Q) => {
4652
- B !== Q && (s.value = B);
4653
- }), ke(() => n.showButtons, (B, Q) => {
4654
- B !== Q && (y.value = B);
4655
- }), ke(() => D.value, (B, Q) => {
4656
- const se = B || {}, ce = Q || {};
4645
+ Be(() => n.title, (k, Q) => {
4646
+ k !== Q && (x.value = k);
4647
+ }), Be(() => n.modelValue, (k, Q) => {
4648
+ k !== Q && (i.value = k, i.value && n.draggable && Nt(() => {
4649
+ S.value && !F.value && (F.value = S.value.parentElement, ee.value = F.value, te(b.value, S.value, ee.value), L());
4650
+ }), k || (F.value && (F.value = null), he())), i.value ? C.value = ve() : (P.value = !1, O.value = n.draggable);
4651
+ }), Be(() => n.showHeader, (k, Q) => {
4652
+ k !== Q && (s.value = k);
4653
+ }), Be(() => n.showButtons, (k, Q) => {
4654
+ k !== Q && (y.value = k);
4655
+ }), Be(() => D.value, (k, Q) => {
4656
+ const se = k || {}, ce = Q || {};
4657
4657
  JSON.stringify(se) !== JSON.stringify(ce) && e.emit("resize", {
4658
- newSize: B,
4658
+ newSize: k,
4659
4659
  oldSize: Q,
4660
4660
  isMaximized: P.value
4661
4661
  });
4662
4662
  });
4663
4663
  const X = H(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = H(() => {
4664
4664
  var se;
4665
- const B = {
4665
+ const k = {
4666
4666
  modal: !0,
4667
4667
  "farris-modal": !0,
4668
4668
  fade: !0
4669
4669
  };
4670
- B["f-modal-fitContent"] = !!c.value, B.show = !!X.value;
4670
+ k["f-modal-fitContent"] = !!c.value, k.show = !!X.value;
4671
4671
  const Q = (se = n.maskClass) == null ? void 0 : se.split(" ");
4672
- return Q == null || Q.reduce((ce, Fe) => (ce[Fe] = !0, ce), B), B;
4672
+ return Q == null || Q.reduce((ce, Fe) => (ce[Fe] = !0, ce), k), k;
4673
4673
  }), le = H(() => {
4674
4674
  var se;
4675
- const B = {
4675
+ const k = {
4676
4676
  "modal-dialog": !0
4677
4677
  }, Q = (se = a.value) == null ? void 0 : se.split(" ");
4678
- return Q == null || Q.reduce((ce, Fe) => (ce[Fe] = !0, ce), B), B;
4678
+ return Q == null || Q.reduce((ce, Fe) => (ce[Fe] = !0, ce), k), k;
4679
4679
  }), ne = H(() => {
4680
- const B = {
4680
+ const k = {
4681
4681
  position: "absolute",
4682
4682
  top: `${(window.innerHeight - o.value) / 2}px`,
4683
4683
  left: `${(window.innerWidth - t.value) / 2}px`,
4684
4684
  width: `${t.value}px`,
4685
4685
  height: c.value ? "auto" : `${o.value}px`
4686
4686
  };
4687
- return n.mask || (B.pointerEvents = "auto"), B;
4687
+ return n.mask || (k.pointerEvents = "auto"), k;
4688
4688
  }), U = () => In() || 1040, oe = H(() => {
4689
- const B = {
4689
+ const k = {
4690
4690
  display: "block",
4691
4691
  zIndex: U()
4692
4692
  };
4693
- return n.mask || (B.pointerEvents = "none", B.backgroundColor = "transparent"), w.value && (B.backgroundColor = "transparent"), B;
4693
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), C.value && (k.backgroundColor = "transparent"), k;
4694
4694
  }), $e = H(() => ({
4695
4695
  "modal-content": !0,
4696
4696
  "modal-content-has-header": s.value
4697
4697
  })), Oe = H(() => {
4698
- const B = {
4698
+ const k = {
4699
4699
  display: s.value ? "" : "none"
4700
4700
  };
4701
- return B["pointer-events"] = O.value ? "auto" : "none", B;
4701
+ return k["pointer-events"] = O.value ? "auto" : "none", k;
4702
4702
  }), xe = H(() => ({
4703
4703
  "f-icon": !0,
4704
4704
  modal_maximize: !0,
@@ -4714,132 +4714,132 @@ const qe = /* @__PURE__ */ We({
4714
4714
  };
4715
4715
  }
4716
4716
  const Ye = H(() => {
4717
- const B = {
4717
+ const k = {
4718
4718
  textAlgin: v.value
4719
4719
  }, Q = Le();
4720
- return Object.assign(B, Q);
4720
+ return Object.assign(k, Q);
4721
4721
  });
4722
- function ae(B) {
4723
- if (B == null || B.stopPropagation(), P.value) {
4722
+ function ae(k) {
4723
+ if (k == null || k.stopPropagation(), P.value) {
4724
4724
  P.value = !1, W();
4725
4725
  return;
4726
4726
  }
4727
4727
  V(), P.value = !0;
4728
4728
  }
4729
- async function Ze(B, Q) {
4730
- B.handle && await B.handle(Q, B) && e.emit("closed", Q);
4729
+ async function Ze(k, Q) {
4730
+ k.handle && await k.handle(Q, k) && e.emit("closed", Q);
4731
4731
  }
4732
- function Ie(B) {
4733
- B.width && (t.value = B.width), B.height && (o.value = B.height), B.buttons && (S.value = B.buttons), B.title && (x.value = B.title);
4732
+ function Ie(k) {
4733
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (T.value = k.buttons), k.title && (x.value = k.title);
4734
4734
  }
4735
4735
  let Ne = null, Se = null;
4736
4736
  En(() => {
4737
- w.value = ve();
4737
+ C.value = ve();
4738
4738
  }), rt(() => {
4739
- T.value && !F.value && (F.value = T.value.parentElement, ee.value = F.value, te(C.value, T.value, ee.value)), X.value && document.body.classList.add("modal-open"), Ne = Ur(n, e), Se = _r(n, e);
4739
+ S.value && !F.value && (F.value = S.value.parentElement, ee.value = F.value, te(b.value, S.value, ee.value)), X.value && document.body.classList.add("modal-open"), Ne = Ur(n, e), Se = _r(n, e);
4740
4740
  }), mt(() => {
4741
4741
  G && G(), Ne && Ne.remove(), Se && Se.remove();
4742
4742
  }), e.expose({
4743
- modalElementRef: T,
4743
+ modalElementRef: S,
4744
4744
  updateModalOptions: Ie,
4745
4745
  close: g,
4746
4746
  maxDialog: ae,
4747
4747
  isMaximized: P
4748
4748
  });
4749
4749
  function Pe() {
4750
- return k("ul", null, [m.value && k("li", {
4750
+ return B("ul", null, [m.value && B("li", {
4751
4751
  class: "f-btn-icon f-bare"
4752
- }, [k("span", {
4752
+ }, [B("span", {
4753
4753
  class: "f-icon modal_minimize"
4754
- }, null)]), u.value && k("li", {
4754
+ }, null)]), u.value && B("li", {
4755
4755
  onClick: ae,
4756
4756
  class: "f-btn-icon f-bare",
4757
4757
  style: "pointer-events: auto;"
4758
- }, [k("span", {
4758
+ }, [B("span", {
4759
4759
  class: xe.value
4760
- }, null)]), f.value && k("li", {
4760
+ }, null)]), f.value && B("li", {
4761
4761
  class: "f-btn-icon f-bare",
4762
- onClick: (B) => g(B, !1),
4762
+ onClick: (k) => g(k, !1),
4763
4763
  style: "pointer-events: auto;"
4764
- }, [k("span", {
4764
+ }, [B("span", {
4765
4765
  class: "f-icon modal_close"
4766
4766
  }, null)])]);
4767
4767
  }
4768
4768
  function Ke() {
4769
- return k("div", {
4769
+ return B("div", {
4770
4770
  class: "modal-footer",
4771
4771
  style: Ye.value
4772
- }, [S.value && S.value.map((B) => {
4773
- const Q = b(B.disabled);
4774
- return k("button", {
4775
- name: B.name,
4772
+ }, [T.value && T.value.map((k) => {
4773
+ const Q = w(k.disabled);
4774
+ return B("button", {
4775
+ name: k.name,
4776
4776
  type: "button",
4777
4777
  disabled: Q.value,
4778
- class: B.class + (B.iconClass ? " btn-icontext" : ""),
4778
+ class: k.class + (k.iconClass ? " btn-icontext" : ""),
4779
4779
  onClick: (se) => {
4780
- Ze(B, se);
4780
+ Ze(k, se);
4781
4781
  }
4782
- }, [!!B.iconClass && k("i", {
4783
- class: B.iconClass
4784
- }, null), B.text]);
4782
+ }, [!!k.iconClass && B("i", {
4783
+ class: k.iconClass
4784
+ }, null), k.text]);
4785
4785
  })]);
4786
4786
  }
4787
4787
  function ze() {
4788
- return k("div", {
4789
- ref: C,
4788
+ return B("div", {
4789
+ ref: b,
4790
4790
  class: "modal-header",
4791
4791
  style: Oe.value
4792
- }, [e.slots.headerTemplate ? e.slots.headerTemplate() : k("div", {
4792
+ }, [e.slots.headerTemplate ? e.slots.headerTemplate() : B("div", {
4793
4793
  class: "modal-title"
4794
- }, [N.value && k("span", {
4794
+ }, [N.value && B("span", {
4795
4795
  class: l.value,
4796
4796
  style: "margin-right: 8px"
4797
- }, null), k("span", {
4797
+ }, null), B("span", {
4798
4798
  class: "modal-title-label"
4799
- }, [x.value])]), k("div", {
4799
+ }, [x.value])]), B("div", {
4800
4800
  class: "actions"
4801
4801
  }, [Pe()])]);
4802
4802
  }
4803
- function Be() {
4803
+ function ke() {
4804
4804
  return e.slots.footerTemplate ? e.slots.footerTemplate() : _.value && Ke();
4805
4805
  }
4806
- function De(B) {
4807
- if (B.stopPropagation(), n.allowClickMaskToClose) {
4808
- if (B.target !== A.value)
4806
+ function De(k) {
4807
+ if (k.stopPropagation(), n.allowClickMaskToClose) {
4808
+ if (k.target !== A.value)
4809
4809
  return;
4810
- g(B, !1);
4810
+ g(k, !1);
4811
4811
  }
4812
4812
  }
4813
4813
  function Xe() {
4814
- var B, Q;
4815
- return k("div", {
4814
+ var k, Q;
4815
+ return B("div", {
4816
4816
  id: r.value,
4817
4817
  class: le.value,
4818
4818
  style: ne.value,
4819
- ref: T
4820
- }, [k("div", {
4819
+ ref: S
4820
+ }, [B("div", {
4821
4821
  class: $e.value
4822
- }, [s.value && ze(), k("div", {
4822
+ }, [s.value && ze(), B("div", {
4823
4823
  class: Ge.value
4824
- }, [(Q = (B = e.slots).default) == null ? void 0 : Q.call(B), p.value === "iframe" && k("iframe", {
4824
+ }, [(Q = (k = e.slots).default) == null ? void 0 : Q.call(k), p.value === "iframe" && B("iframe", {
4825
4825
  title: r.value,
4826
4826
  class: "f-utils-fill",
4827
4827
  width: "100%",
4828
4828
  frameborder: "0",
4829
4829
  src: d.value
4830
- }, null)]), Be()]), !c.value && T.value && !P.value && I(T.value)]);
4830
+ }, null)]), ke()]), !c.value && S.value && !P.value && I(S.value)]);
4831
4831
  }
4832
- function Qe(B) {
4833
- return B || "body";
4832
+ function Qe(k) {
4833
+ return k || "body";
4834
4834
  }
4835
- return () => k(Mn, {
4835
+ return () => B(Mn, {
4836
4836
  to: Qe(n.host)
4837
4837
  }, {
4838
- default: () => [X.value && k(Yt, {
4838
+ default: () => [X.value && B(Yt, {
4839
4839
  name: "fade",
4840
4840
  appear: !0
4841
4841
  }, {
4842
- default: () => [k("div", {
4842
+ default: () => [B("div", {
4843
4843
  ref: A,
4844
4844
  class: ie.value,
4845
4845
  style: oe.value,
@@ -4863,7 +4863,7 @@ function qr(n) {
4863
4863
  mt(() => {
4864
4864
  document.body.removeChild(e);
4865
4865
  });
4866
- const r = b(), a = b(n.class || ""), c = b(!!n.showButtons), s = b(!!n.showHeader), l = b(n.showCloseButton == null ? !0 : n.showCloseButton), f = b(!0), u = b(n.title || ""), m = n.acceptCallback || (() => {
4866
+ const r = w(), a = w(n.class || ""), c = w(!!n.showButtons), s = w(!!n.showHeader), l = w(n.showCloseButton == null ? !0 : n.showCloseButton), f = w(!0), u = w(n.title || ""), m = n.acceptCallback || (() => {
4867
4867
  }), p = n.rejectCallback || (() => {
4868
4868
  }), d = n.closedCallback || ((A) => {
4869
4869
  }), v = n.resizeHandle || ((A) => {
@@ -4874,7 +4874,7 @@ function qr(n) {
4874
4874
  return rt(() => {
4875
4875
  }), i.expose({
4876
4876
  modalRef: r
4877
- }), () => k(qe, {
4877
+ }), () => B(qe, {
4878
4878
  ref: r,
4879
4879
  class: a.value,
4880
4880
  modelValue: f.value,
@@ -4903,10 +4903,10 @@ function qr(n) {
4903
4903
  class fn {
4904
4904
  constructor(e) {
4905
4905
  K(this, "appContext", null);
4906
- K(this, "modalRef", b());
4907
- K(this, "activeModalIndex", b(0));
4906
+ K(this, "modalRef", w());
4907
+ K(this, "activeModalIndex", w(0));
4908
4908
  K(this, "modalRefs", {});
4909
- K(this, "isUseEscCloseModal", b(!1));
4909
+ K(this, "isUseEscCloseModal", w(!1));
4910
4910
  K(this, "activeModalInstance", H(() => this.modalRefs[this.activeModalIndex.value]));
4911
4911
  this.app = e, this.appContext = e ? e._context : null;
4912
4912
  }
@@ -4941,42 +4941,42 @@ class fn {
4941
4941
  open(e) {
4942
4942
  const t = document.createDocumentFragment();
4943
4943
  e.showMaxButton && e.fitContent && (e.showMaxButton = !1);
4944
- const o = kn(Object.assign({
4944
+ const o = Bn(Object.assign({
4945
4945
  title: "",
4946
4946
  showButtons: !0,
4947
4947
  showHeader: !0
4948
- }, e)), i = b(!0), r = o.value.acceptCallback || (() => {
4948
+ }, e)), i = w(!0), r = o.value.acceptCallback || (() => {
4949
4949
  }), a = o.value.rejectCallback || (() => {
4950
- }), c = o.value.closedCallback || ((w, g) => {
4951
- }), s = o.value.resizeHandle || ((w) => {
4952
- }), l = e.stopMoveHandle || ((w) => {
4950
+ }), c = o.value.closedCallback || ((C, g) => {
4951
+ }), s = o.value.resizeHandle || ((C) => {
4952
+ }), l = e.stopMoveHandle || ((C) => {
4953
4953
  });
4954
4954
  let f;
4955
- const u = dn(o.value), m = (w) => {
4955
+ const u = dn(o.value), m = (C) => {
4956
4956
  var M;
4957
4957
  i.value = !1;
4958
- const g = (M = w == null ? void 0 : w.target) == null ? void 0 : M.classList.contains("modal_close");
4959
- c(w, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
4960
- }, p = (w) => {
4961
- m(w), f && Nt(() => {
4962
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Bt(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
4958
+ const g = (M = C == null ? void 0 : C.target) == null ? void 0 : M.classList.contains("modal_close");
4959
+ c(C, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
4960
+ }, p = (C) => {
4961
+ m(C), f && Nt(() => {
4962
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], kt(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
4963
4963
  const g = Object.keys(this.modalRefs).map((M) => Number(M));
4964
4964
  g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
4965
4965
  }
4966
4966
  this.isUseEscCloseModal.value = !1;
4967
4967
  });
4968
- }, d = (w) => {
4968
+ }, d = (C) => {
4969
4969
  var g;
4970
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(w == null ? void 0 : w.event));
4970
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(C == null ? void 0 : C.event));
4971
4971
  }, {
4972
4972
  width: v,
4973
4973
  height: y
4974
4974
  } = o.value, x = this.adaptToWindow(v || 500, y || 320);
4975
4975
  Object.assign(o.value, x);
4976
- const F = () => k(qe, It({
4976
+ const F = () => B(qe, It({
4977
4977
  ref: this.modalRef,
4978
4978
  modelValue: i.value,
4979
- "onUpdate:modelValue": (w) => i.value = w
4979
+ "onUpdate:modelValue": (C) => i.value = C
4980
4980
  }, o.value, {
4981
4981
  onAccept: r,
4982
4982
  onCancel: a,
@@ -4987,18 +4987,18 @@ class fn {
4987
4987
  }), {
4988
4988
  default: () => [u && u(this.app)]
4989
4989
  });
4990
- return f = ((w) => {
4991
- const g = Bn(F, w);
4992
- return g.appContext = this.appContext, Bt(g, t), g;
4990
+ return f = ((C) => {
4991
+ const g = kn(F, C);
4992
+ return g.appContext = this.appContext, kt(g, t), g;
4993
4993
  })({
4994
4994
  ...o.value
4995
4995
  // 'onUpdate:modelValue': onUpdateModelValue,
4996
4996
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
4997
- update: (w) => {
4997
+ update: (C) => {
4998
4998
  o.value = {
4999
4999
  ...o.value,
5000
- ...w
5001
- }, f && Bt(Fn(f, {
5000
+ ...C
5001
+ }, f && kt(Fn(f, {
5002
5002
  ...o
5003
5003
  }), t);
5004
5004
  },
@@ -5038,7 +5038,7 @@ const Me = class Me {
5038
5038
  showMaxButton: !1,
5039
5039
  draggable: !0,
5040
5040
  dragHandle: ".messager-draggable",
5041
- render: () => k(dt, It(t, {
5041
+ render: () => B(dt, It(t, {
5042
5042
  onAccept: a,
5043
5043
  onReject: c,
5044
5044
  onClose: f
@@ -5156,8 +5156,8 @@ function Yr(n, e) {
5156
5156
  var F;
5157
5157
  const v = (F = t.appearance) == null ? void 0 : F.class, { sourceType: y } = d;
5158
5158
  return v && v.includes("f-page-is-managelist") ? y === "control" ? !(t.contents && t.contents.find((j) => {
5159
- var w, g;
5160
- return j.type === E.section.type && ((g = (w = j.appearance) == null ? void 0 : w.class) == null ? void 0 : g.includes("f-section-scheme"));
5159
+ var C, g;
5160
+ return j.type === E.section.type && ((g = (C = j.appearance) == null ? void 0 : C.class) == null ? void 0 : g.includes("f-section-scheme"));
5161
5161
  })) && r() && !a() : y === "move" : !1;
5162
5162
  }
5163
5163
  function s(d) {
@@ -5201,19 +5201,19 @@ const Xr = /* @__PURE__ */ We({
5201
5201
  props: Rt,
5202
5202
  emits: [],
5203
5203
  setup(n, e) {
5204
- const t = b(), o = At("designer-host-service"), i = At("design-item-context"), r = Yr(i, o), a = Bi(t, i, r), c = H(() => Xt({
5204
+ const t = w(), o = At("designer-host-service"), i = At("design-item-context"), r = Yr(i, o), a = ki(t, i, r), c = H(() => Xt({
5205
5205
  "drag-container": !0
5206
5206
  }, n == null ? void 0 : n.customClass));
5207
5207
  return rt(() => {
5208
5208
  t.value.componentInstance = a;
5209
- }), e.expose(a.value), () => k("div", {
5209
+ }), e.expose(a.value), () => B("div", {
5210
5210
  ref: t,
5211
5211
  class: c.value,
5212
5212
  style: n.customStyle,
5213
5213
  "data-dragref": `${i.schema.id}-container`
5214
5214
  }, [e.slots.default && e.slots.default()]);
5215
5215
  }
5216
- }), Os = {
5216
+ }), Rs = {
5217
5217
  install(n) {
5218
5218
  n.component(Ft.name, Ft);
5219
5219
  },
@@ -5228,6 +5228,6 @@ export {
5228
5228
  Ft as ContentContainer,
5229
5229
  Xr as ContentContainerDesign,
5230
5230
  Rt as contentContainerProps,
5231
- Os as default,
5231
+ Rs as default,
5232
5232
  qt as propsResolver
5233
5233
  };