@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 Fn = Object.defineProperty;
2
2
  var Mn = (n, t, e) => t in n ? Fn(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var G = (n, t, e) => Mn(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { ref as b, computed as N, defineComponent as Ge, createVNode as w, watch as Ie, Fragment as it, reactive as He, createApp as _t, onUnmounted as bt, onMounted as rt, Transition as Xt, mergeProps as Ht, nextTick as Ct, createTextVNode as Bn, onBeforeMount as kn, Teleport as Pn, shallowRef as Rn, render as Ot, h as Vn, cloneVNode as On, inject as Ut } from "vue";
5
- import { isPlainObject as Wt, cloneDeep as mt, isUndefined as Oe } from "lodash-es";
4
+ import { ref as b, computed as N, defineComponent as Ge, createVNode as x, watch as Ie, Fragment as it, reactive as He, createApp as _t, onUnmounted as bt, onMounted as rt, Transition as Xt, mergeProps as Ht, nextTick as Ct, createTextVNode as Bn, onBeforeMount as kn, Teleport as Pn, shallowRef as Rn, render as Ot, h as Vn, cloneVNode as On, inject as Ut } from "vue";
5
+ import { cloneDeep as mt, isPlainObject as Wt, isUndefined as Oe } from "lodash-es";
6
6
  import { resolveAppearance as Yt, createPropsResolver as Zt } from "../dynamic-resolver/index.esm.js";
7
7
  import { useI18n as wt } from "vue-i18n";
8
8
  import { DgControl as Gt, useDesignerComponent as Nn } from "../designer-canvas/index.esm.js";
@@ -90,17 +90,17 @@ import "../notify/index.esm.js";
90
90
  function Kt(n, t) {
91
91
  let e;
92
92
  function o(l) {
93
- const { properties: m, title: d, ignore: f } = l, v = f && Array.isArray(f), y = Object.keys(m).reduce((A, I) => ((!v || !f.find((j) => j === I)) && (A[I] = m[I].type === "object" && m[I].properties ? o(m[I]) : mt(m[I].default)), A), {});
94
- if (d && (!v || !f.find((A) => A === "id"))) {
95
- const A = d.toLowerCase().replace(/-/g, "_");
96
- y.id = `${A}_${Math.random().toString().slice(2, 6)}`;
93
+ const { properties: m, title: d, ignore: f } = l, v = f && Array.isArray(f), y = Object.keys(m).reduce((S, I) => ((!v || !f.find((j) => j === I)) && (S[I] = m[I].type === "object" && m[I].properties ? o(m[I]) : mt(m[I].default)), S), {});
94
+ if (d && (!v || !f.find((S) => S === "id"))) {
95
+ const S = d.toLowerCase().replace(/-/g, "_");
96
+ y.id = `${S}_${Math.random().toString().slice(2, 6)}`;
97
97
  }
98
98
  return y;
99
99
  }
100
100
  function i(l) {
101
101
  const { properties: m, title: d, required: f } = l;
102
102
  if (f && Array.isArray(f)) {
103
- const v = f.reduce((y, A) => (y[A] = m[A].type === "object" && m[A].properties ? o(m[A]) : mt(m[A].default), y), {});
103
+ const v = f.reduce((y, S) => (y[S] = m[S].type === "object" && m[S].properties ? o(m[S]) : mt(m[S].default), y), {});
104
104
  if (d && f.find((y) => y === "id")) {
105
105
  const y = d.toLowerCase().replace(/-/g, "_");
106
106
  v.id = `${y}_${Math.random().toString().slice(2, 6)}`;
@@ -131,8 +131,8 @@ function Kt(n, t) {
131
131
  if (typeof y == "string")
132
132
  f[y] = l[v];
133
133
  else {
134
- const A = y(v, l[v], l);
135
- Object.assign(f, A);
134
+ const S = y(v, l[v], l);
135
+ Object.assign(f, S);
136
136
  }
137
137
  } else
138
138
  f[v] = l[v];
@@ -152,7 +152,7 @@ function Kt(n, t) {
152
152
  return l;
153
153
  const v = a(l, f), y = ((d = l.editor) == null ? void 0 : d.type) || "";
154
154
  if (y) {
155
- const A = n[y], I = a(l.editor, A);
155
+ const S = n[y], I = a(l.editor, S);
156
156
  v.editor = I;
157
157
  }
158
158
  return v;
@@ -164,7 +164,7 @@ function Kt(n, t) {
164
164
  }
165
165
  return { getSchemaByType: r, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: s, mappingSchemaToProps: c, setDesignerContext: p };
166
166
  }
167
- const en = {}, tn = {}, { resolveSchemaWithDefaultValue: To, resolveSchemaToProps: Eo, mappingSchemaToProps: Io } = Kt(en, tn);
167
+ const en = {}, tn = {}, { getSchemaByType: Vs, resolveSchemaWithDefaultValue: To, resolveSchemaToProps: Eo, mappingSchemaToProps: Io, setDesignerContext: Os } = Kt(en, tn);
168
168
  function Fo(n = {}) {
169
169
  function t(u, p, l, m) {
170
170
  if (typeof l == "number")
@@ -214,8 +214,8 @@ function Fo(n = {}) {
214
214
  return r(u).reduce((d, f) => d && a(f, p), !0);
215
215
  }
216
216
  function s(u, p) {
217
- const l = Object.keys(u), m = l.includes("allOf"), d = l.includes("anyOf"), f = m || d, A = (f ? u[f ? m ? "allOf" : "anyOf" : "allOf"] : [u]).map((j) => c(j, p));
218
- return m ? !A.includes(!1) : A.includes(!0);
217
+ const l = Object.keys(u), m = l.includes("allOf"), d = l.includes("anyOf"), f = m || d, S = (f ? u[f ? m ? "allOf" : "anyOf" : "allOf"] : [u]).map((j) => c(j, p));
218
+ return m ? !S.includes(!1) : S.includes(!0);
219
219
  }
220
220
  return { parseValueSchema: s };
221
221
  }
@@ -521,16 +521,16 @@ function nn(n, t, e) {
521
521
  const y = f.$converter || v;
522
522
  return typeof y == "string" && y && o.has(y) ? o.get(y) || null : y || null;
523
523
  }
524
- function p(f, v, y, A, I, j = "", P = "") {
524
+ function p(f, v, y, S, I, j = "", P = "") {
525
525
  return Object.keys(f).map((h) => {
526
- const T = b(1), S = h, F = f[h], $ = Object.keys(F), x = F.title, U = F.type, q = i.get(U) || { type: "input-group", enableClear: !1 }, L = F.editor ? Object.assign({}, q, F.editor) : Object.assign({}, q), W = c($, F, v), Z = s($, F, v);
526
+ const A = b(1), T = h, F = f[h], $ = Object.keys(F), w = F.title, U = F.type, q = i.get(U) || { type: "input-group", enableClear: !1 }, L = F.editor ? Object.assign({}, q, F.editor) : Object.assign({}, q), W = c($, F, v), Z = s($, F, v);
527
527
  L.readonly = L.readonly === void 0 ? Z() : L.readonly;
528
- const ie = F.type === "cascade" ? p(F.properties, v, y, A, I, j, P) : [], R = !0;
528
+ const ie = F.type === "cascade" ? p(F.properties, v, y, S, I, j, P) : [], R = !0;
529
529
  let B = u(F, P);
530
530
  const _ = N({
531
531
  get() {
532
- if (T.value) {
533
- if (["class", "style"].find((le) => le === S) && !B && (B = o.get("/converter/appearance.converter") || null), B && B.convertFrom)
532
+ if (A.value) {
533
+ if (["class", "style"].find((le) => le === T) && !B && (B = o.get("/converter/appearance.converter") || null), B && B.convertFrom)
534
534
  return B.convertFrom(y, h, I, j);
535
535
  const oe = y[h];
536
536
  return Object.prototype.hasOwnProperty.call(F, "defaultValue") && (oe === void 0 || typeof oe == "string" && oe === "") ? F.type === "boolean" ? F.defaultValue : F.defaultValue || "" : oe;
@@ -538,45 +538,45 @@ function nn(n, t, e) {
538
538
  return null;
539
539
  },
540
540
  set(oe) {
541
- T.value += 1, B && B.convertTo ? (B.convertTo(A, h, oe, I, j), B.convertTo(y, h, oe, I, j)) : (A[h] = oe, y[h] = oe);
541
+ A.value += 1, B && B.convertTo ? (B.convertTo(S, h, oe, I, j), B.convertTo(y, h, oe, I, j)) : (S[h] = oe, y[h] = oe);
542
542
  }
543
- }), { refreshPanelAfterChanged: H, description: ee, isExpand: ve, parentPropertyID: ge } = F, X = { propertyID: S, propertyName: x, propertyType: U, propertyValue: _, editor: L, visible: W, readonly: Z, cascadeConfig: ie, hideCascadeTitle: R, refreshPanelAfterChanged: H, description: ee, isExpand: ve, parentPropertyID: ge };
544
- return v[S] = X, X;
543
+ }), { refreshPanelAfterChanged: H, description: ee, isExpand: ve, parentPropertyID: ge } = F, X = { propertyID: T, propertyName: w, propertyType: U, propertyValue: _, editor: L, visible: W, readonly: Z, cascadeConfig: ie, hideCascadeTitle: R, refreshPanelAfterChanged: H, description: ee, isExpand: ve, parentPropertyID: ge };
544
+ return v[T] = X, X;
545
545
  });
546
546
  }
547
547
  function l(f, v, y = {}) {
548
- const A = {}, I = n[f];
548
+ const S = {}, I = n[f];
549
549
  return I && I.categories ? Object.keys(I.categories).map((P) => {
550
- const C = I.categories[P], h = C == null ? void 0 : C.title, T = p(C.properties || {}, A, {}, y, v);
551
- return { categoryId: P, categoryName: h, properties: T };
550
+ const C = I.categories[P], h = C == null ? void 0 : C.title, A = p(C.properties || {}, S, {}, y, v);
551
+ return { categoryId: P, categoryName: h, properties: A };
552
552
  }) : [];
553
553
  }
554
- function m(f, v, y, A, I = "") {
555
- const j = v.$ref.schema, P = v.$ref.converter, C = y[j], h = C.type, T = e(C), S = {}, F = n[h];
554
+ function m(f, v, y, S, I = "") {
555
+ const j = v.$ref.schema, P = v.$ref.converter, C = y[j], h = C.type, A = e(C), T = {}, F = n[h];
556
556
  if (F && F.categories) {
557
- const $ = F.categories[f], x = $ == null ? void 0 : $.title;
557
+ const $ = F.categories[f], w = $ == null ? void 0 : $.title;
558
558
  P && Object.keys($.properties).forEach((L) => {
559
559
  $.properties[L].$converter = P;
560
560
  });
561
- const U = ($ == null ? void 0 : $.properties) || {}, q = p(U, S, T, C, A, I);
562
- return { categoryId: f, categoryName: x, properties: q };
561
+ const U = ($ == null ? void 0 : $.properties) || {}, q = p(U, T, A, C, S, I);
562
+ return { categoryId: f, categoryName: w, properties: q };
563
563
  }
564
564
  return { categoryId: f, categoryName: "", properties: [] };
565
565
  }
566
- function d(f, v, y, A, I) {
566
+ function d(f, v, y, S, I) {
567
567
  const j = f.type, P = e(f), C = {};
568
568
  let h = I || n[j];
569
- if (h && Object.keys(h).length === 0 && y && y.getPropConfig && (h = y.getPropConfig(A)), h && h.categories) {
570
- const T = [];
571
- return Object.keys(h.categories).map((S) => {
572
- const F = h.categories[S];
569
+ if (h && Object.keys(h).length === 0 && y && y.getPropConfig && (h = y.getPropConfig(S)), h && h.categories) {
570
+ const A = [];
571
+ return Object.keys(h.categories).map((T) => {
572
+ const F = h.categories[T];
573
573
  if (F.$ref) {
574
- T.push(m(S, F, f, v, A));
574
+ A.push(m(T, F, f, v, S));
575
575
  return;
576
576
  }
577
- const $ = F == null ? void 0 : F.title, x = F == null ? void 0 : F.tabId, U = F == null ? void 0 : F.tabName, q = F == null ? void 0 : F.hide, L = F == null ? void 0 : F.hideTitle, W = p(F.properties || {}, C, P, f, v, A, F.$converter), { setPropertyRelates: Z } = F, ie = F == null ? void 0 : F.parentPropertyID;
578
- T.push({ categoryId: S, categoryName: $, tabId: x, tabName: U, hide: q, properties: W, hideTitle: L, setPropertyRelates: Z, parentPropertyID: ie });
579
- }), T;
577
+ const $ = F == null ? void 0 : F.title, w = F == null ? void 0 : F.tabId, U = F == null ? void 0 : F.tabName, q = F == null ? void 0 : F.hide, L = F == null ? void 0 : F.hideTitle, W = p(F.properties || {}, C, P, f, v, S, F.$converter), { setPropertyRelates: Z } = F, ie = F == null ? void 0 : F.parentPropertyID;
578
+ A.push({ categoryId: T, categoryName: $, tabId: w, tabName: U, hide: q, properties: W, hideTitle: L, setPropertyRelates: Z, parentPropertyID: ie });
579
+ }), A;
580
580
  }
581
581
  return [];
582
582
  }
@@ -588,7 +588,7 @@ function nn(n, t, e) {
588
588
  }
589
589
  const on = {}, rn = {};
590
590
  nn(on, rn, To);
591
- const an = {}, sn = {}, { resolveSchemaWithDefaultValue: Yo } = Kt(an, sn), ln = {}, un = {};
591
+ const an = {}, sn = {}, { getSchemaByType: Ns, resolveSchemaWithDefaultValue: Yo, resolveSchemaToProps: Hs, mappingSchemaToProps: js, setDesignerContext: Ls } = Kt(an, sn), ln = {}, un = {};
592
592
  nn(ln, un, Yo);
593
593
  function at(n, t, e = /* @__PURE__ */ new Map(), o = (a, c, s, u) => c, i = {}, r = (a) => a) {
594
594
  return en[t.title] = t, tn[t.title] = o, on[t.title] = i, rn[t.title] = r, an[t.title] = t, sn[t.title] = o, ln[t.title] = i, un[t.title] = r, (a = {}, c = !0) => {
@@ -729,7 +729,7 @@ function dn(n, t, e, o) {
729
729
  return d.indexOf("data:image/") > -1;
730
730
  }
731
731
  function s(d) {
732
- return "data:image/jpeg;base64," + d;
732
+ return d ? "data:image/jpeg;base64," + d : "";
733
733
  }
734
734
  const u = N(() => {
735
735
  var f;
@@ -751,47 +751,46 @@ const gt = /* @__PURE__ */ Ge({
751
751
  props: jt,
752
752
  emits: ["change", "update:modelValue"],
753
753
  setup(n, t) {
754
- const {
755
- t: e
756
- } = wt(), o = N(() => ({
754
+ wt();
755
+ const e = N(() => ({
757
756
  "f-avatar": !0,
758
757
  "f-avatar-readonly": n.readonly,
759
758
  "f-avatar-circle": n.shape === "circle",
760
759
  "f-avatar-square": n.shape === "square"
761
- })), i = b(n.modelValue), r = N(() => ({
760
+ })), o = b(n.modelValue), i = N(() => ({
762
761
  width: n.avatarWidth + "px",
763
762
  height: n.avatarHeight + "px"
764
- })), a = !1;
765
- function c() {
763
+ })), r = !1;
764
+ function a() {
766
765
  return "";
767
766
  }
768
- function s() {
767
+ function c() {
769
768
  }
770
- const u = b(null), {
771
- acceptTypes: p,
772
- imageSource: l,
773
- onClickImage: m
774
- } = dn(n, t, u, i);
775
- return () => w("div", {
776
- class: o.value,
777
- style: r.value,
778
- onClick: m
779
- }, [a, w("img", {
769
+ const s = b(null), {
770
+ acceptTypes: u,
771
+ imageSource: p,
772
+ onClickImage: l
773
+ } = dn(n, t, s, o);
774
+ return () => x("div", {
775
+ class: e.value,
776
+ style: i.value,
777
+ onClick: l
778
+ }, [r, x("img", {
780
779
  title: n.title,
781
780
  class: "f-avatar-image",
782
- src: l.value,
783
- onError: c
784
- }, null), !n.readonly && w("div", {
781
+ src: p.value,
782
+ onError: a
783
+ }, null), !n.readonly && x("div", {
785
784
  class: "f-avatar-icon"
786
- }, [w("span", {
785
+ }, [x("span", {
787
786
  class: "f-icon f-icon-camera"
788
- }, null)]), w("input", {
787
+ }, null)]), x("input", {
789
788
  ref: "file",
790
789
  name: "file-input",
791
790
  type: "file",
792
791
  class: "f-avatar-upload",
793
- accept: p.value,
794
- onChange: s,
792
+ accept: u.value,
793
+ onChange: c,
795
794
  style: "display: none;"
796
795
  }, null)]);
797
796
  }
@@ -1512,8 +1511,8 @@ function pi(n) {
1512
1511
  l.isSupportedClass = !1;
1513
1512
  return;
1514
1513
  }
1515
- let f = d.find((I) => /^col-([1-9]|10|11|12)$/.test(I)), v = d.find((I) => /^col-md-([1-9]|10|11|12)$/.test(I)), y = d.find((I) => /^col-xl-([1-9]|10|11|12)$/.test(I)), A = d.find((I) => /^col-el-([1-9]|10|11|12)$/.test(I));
1516
- f = f || "col-12", l.columnInSM = parseInt(f.replace("col-", ""), 10), l.displayWidthInSM = l.columnInSM / 12, l.displayWidthInSM !== 1 && (l.isSupportedClass = !1), v = v || "col-md-" + l.columnInSM, l.columnInMD = parseInt(v.replace("col-md-", ""), 10), l.displayWidthInMD = l.columnInMD / 6, [1, 2].includes(l.displayWidthInMD) || (l.isSupportedClass = !1), y = y || "col-xl-" + l.columnInMD, l.columnInLG = parseInt(y.replace("col-xl-", ""), 10), l.displayWidthInLG = l.columnInLG / 3, [1, 2, 3, 4].includes(l.displayWidthInLG) || (l.isSupportedClass = !1), A = A || "col-el-" + l.columnInLG, l.columnInEL = parseInt(A.replace("col-el-", ""), 10), l.displayWidthInEL = l.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(l.displayWidthInEL) || (l.isSupportedClass = !1);
1514
+ let f = d.find((I) => /^col-([1-9]|10|11|12)$/.test(I)), v = d.find((I) => /^col-md-([1-9]|10|11|12)$/.test(I)), y = d.find((I) => /^col-xl-([1-9]|10|11|12)$/.test(I)), S = d.find((I) => /^col-el-([1-9]|10|11|12)$/.test(I));
1515
+ f = f || "col-12", l.columnInSM = parseInt(f.replace("col-", ""), 10), l.displayWidthInSM = l.columnInSM / 12, l.displayWidthInSM !== 1 && (l.isSupportedClass = !1), v = v || "col-md-" + l.columnInSM, l.columnInMD = parseInt(v.replace("col-md-", ""), 10), l.displayWidthInMD = l.columnInMD / 6, [1, 2].includes(l.displayWidthInMD) || (l.isSupportedClass = !1), y = y || "col-xl-" + l.columnInMD, l.columnInLG = parseInt(y.replace("col-xl-", ""), 10), l.displayWidthInLG = l.columnInLG / 3, [1, 2, 3, 4].includes(l.displayWidthInLG) || (l.isSupportedClass = !1), S = S || "col-el-" + l.columnInLG, l.columnInEL = parseInt(S.replace("col-el-", ""), 10), l.displayWidthInEL = l.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(l.displayWidthInEL) || (l.isSupportedClass = !1);
1517
1516
  }
1518
1517
  function a(p, l, m, d = !1) {
1519
1518
  let f = !1;
@@ -1523,8 +1522,8 @@ function pi(n) {
1523
1522
  return;
1524
1523
  }
1525
1524
  f && (m += 1, f = !1);
1526
- const y = v.appearance && v.appearance.class, A = new fi();
1527
- y ? r(y, A) : A.isSupportedClass = !1, A.label = v.label || v.id, A.id = v.id, A.group = m, d && (A.fieldSetId = p.id), e === v.id && (t = m), o.set(v.id, v), l.push(A);
1525
+ const y = v.appearance && v.appearance.class, S = new fi();
1526
+ y ? r(y, S) : S.isSupportedClass = !1, S.label = v.label || v.id, S.id = v.id, S.group = m, d && (S.fieldSetId = p.id), e === v.id && (t = m), o.set(v.id, v), l.push(S);
1528
1527
  });
1529
1528
  }
1530
1529
  function c(p) {
@@ -1559,9 +1558,9 @@ function pi(n) {
1559
1558
  const f = [];
1560
1559
  return p.forEach((v) => {
1561
1560
  var I;
1562
- const y = o.get(v.id), A = y.appearance && y.appearance.class;
1563
- if (A) {
1564
- const P = A.split(" ").filter(($) => !$.startsWith("col-")), C = "col-" + v.columnInSM, h = "col-md-" + v.columnInMD, T = "col-xl-" + v.columnInLG, S = "col-el-" + v.columnInEL, F = [C, h, T, S].concat(P);
1561
+ const y = o.get(v.id), S = y.appearance && y.appearance.class;
1562
+ if (S) {
1563
+ const P = S.split(" ").filter(($) => !$.startsWith("col-")), C = "col-" + v.columnInSM, h = "col-md-" + v.columnInMD, A = "col-xl-" + v.columnInLG, T = "col-el-" + v.columnInEL, F = [C, h, A, T].concat(P);
1565
1564
  y.appearance.class = F.join(" ");
1566
1565
  }
1567
1566
  if (v.fieldSetId) {
@@ -1632,11 +1631,11 @@ var mi = { exports: {} };
1632
1631
  2: [function(e, o, i) {
1633
1632
  (function(r) {
1634
1633
  var a = e("contra/emitter"), c = e("crossvent"), s = e("./classes"), u = document, p = u.documentElement;
1635
- function l(x, U) {
1634
+ function l(w, U) {
1636
1635
  var q = arguments.length;
1637
- q === 1 && Array.isArray(x) === !1 && (U = x, x = []);
1636
+ q === 1 && Array.isArray(w) === !1 && (U = w, w = []);
1638
1637
  var L, W, Z, ie, R, B, _, H, ee, ve = null, ge, X, oe = !1, le = 0, te, D = U || {};
1639
- D.moves === void 0 && (D.moves = I), D.accepts === void 0 && (D.accepts = I), D.invalid === void 0 && (D.invalid = Ke), D.containers === void 0 && (D.containers = x || []), D.isContainer === void 0 && (D.isContainer = A), D.copy === void 0 && (D.copy = !1), D.copySortSource === void 0 && (D.copySortSource = !1), D.revertOnSpill === void 0 && (D.revertOnSpill = !1), D.removeOnSpill === void 0 && (D.removeOnSpill = !1), D.direction === void 0 && (D.direction = "vertical"), D.ignoreInputTextSelection === void 0 && (D.ignoreInputTextSelection = !0), D.mirrorContainer === void 0 && (D.mirrorContainer = u.body);
1638
+ D.moves === void 0 && (D.moves = I), D.accepts === void 0 && (D.accepts = I), D.invalid === void 0 && (D.invalid = Ke), D.containers === void 0 && (D.containers = w || []), D.isContainer === void 0 && (D.isContainer = S), D.copy === void 0 && (D.copy = !1), D.copySortSource === void 0 && (D.copySortSource = !1), D.revertOnSpill === void 0 && (D.revertOnSpill = !1), D.removeOnSpill === void 0 && (D.removeOnSpill = !1), D.direction === void 0 && (D.direction = "vertical"), D.ignoreInputTextSelection === void 0 && (D.ignoreInputTextSelection = !0), D.mirrorContainer === void 0 && (D.mirrorContainer = u.body);
1640
1639
  var ne = a({
1641
1640
  containers: D.containers,
1642
1641
  start: Se,
@@ -1701,7 +1700,7 @@ var mi = { exports: {} };
1701
1700
  return;
1702
1701
  var V = C(g);
1703
1702
  if (V && !D.invalid(g, M)) {
1704
- var z = D.moves(g, V, M, S(g));
1703
+ var z = D.moves(g, V, M, T(g));
1705
1704
  if (z)
1706
1705
  return {
1707
1706
  item: g,
@@ -1718,7 +1717,7 @@ var mi = { exports: {} };
1718
1717
  M && Re(M);
1719
1718
  }
1720
1719
  function Re(g) {
1721
- Vt(g.item, g.source) && (H = g.item.cloneNode(!0), ne.emit("cloned", H, g.item, "copy")), W = g.source, Z = g.item, B = _ = S(g.item), ne.dragging = !0, ne.emit("drag", Z, W);
1720
+ Vt(g.item, g.source) && (H = g.item.cloneNode(!0), ne.emit("cloned", H, g.item, "copy")), W = g.source, Z = g.item, B = _ = T(g.item), ne.dragging = !0, ne.emit("drag", Z, W);
1722
1721
  }
1723
1722
  function Ke() {
1724
1723
  return !1;
@@ -1760,7 +1759,7 @@ var mi = { exports: {} };
1760
1759
  }
1761
1760
  function se(g, M) {
1762
1761
  var V;
1763
- return M !== void 0 ? V = M : L ? V = _ : V = S(H || Z), g === W && V === B;
1762
+ return M !== void 0 ? V = M : L ? V = _ : V = T(H || Z), g === W && V === B;
1764
1763
  }
1765
1764
  function ue(g, M, V) {
1766
1765
  for (var z = g; z && !J(); )
@@ -1808,7 +1807,7 @@ var mi = { exports: {} };
1808
1807
  }
1809
1808
  }
1810
1809
  function St(g, M, V) {
1811
- (g === M || g === S(M)) && (_ = S(M)), (g === null && V || g !== M && g !== S(M)) && (_ = g);
1810
+ (g === M || g === T(M)) && (_ = T(M)), (g === null && V || g !== M && g !== T(M)) && (_ = g);
1812
1811
  }
1813
1812
  function At(g) {
1814
1813
  s.rm(g, "gu-hide");
@@ -1927,14 +1926,14 @@ var mi = { exports: {} };
1927
1926
  return Ae(J ? V > ce.left + j(ce) / 2 : z > ce.top + P(ce) / 2);
1928
1927
  }
1929
1928
  function Ae(ce) {
1930
- return ce ? S(M) : M;
1929
+ return ce ? T(M) : M;
1931
1930
  }
1932
1931
  }
1933
1932
  function Vt(g, M) {
1934
1933
  return typeof D.copy == "boolean" ? D.copy : D.copy(g, M);
1935
1934
  }
1936
1935
  }
1937
- function m(x) {
1936
+ function m(w) {
1938
1937
  const U = Array.from(window.scrollContainerList);
1939
1938
  if (U.length === 1) {
1940
1939
  const L = Array.from(window.scrollContainerList)[0];
@@ -1942,18 +1941,18 @@ var mi = { exports: {} };
1942
1941
  }
1943
1942
  const q = d(U);
1944
1943
  for (const L of q)
1945
- if (L.contains(x))
1944
+ if (L.contains(w))
1946
1945
  return L;
1947
1946
  return null;
1948
1947
  }
1949
- function d(x) {
1948
+ function d(w) {
1950
1949
  const U = [];
1951
- return x.forEach((q) => {
1950
+ return w.forEach((q) => {
1952
1951
  const L = document.getElementById(q);
1953
1952
  L && U.push(L);
1954
1953
  }), U.sort((q, L) => q.contains(L) ? 1 : L.contains(q) ? -1 : 0), U;
1955
1954
  }
1956
- function f(x, U, q, L) {
1955
+ function f(w, U, q, L) {
1957
1956
  var W = {
1958
1957
  mouseup: "touchend",
1959
1958
  mousedown: "touchstart",
@@ -1967,66 +1966,66 @@ var mi = { exports: {} };
1967
1966
  mousedown: "MSPointerDown",
1968
1967
  mousemove: "MSPointerMove"
1969
1968
  };
1970
- r.navigator.pointerEnabled ? c[U](x, Z[q], L) : r.navigator.msPointerEnabled ? c[U](x, ie[q], L) : (c[U](x, W[q], L), c[U](x, q, L));
1969
+ r.navigator.pointerEnabled ? c[U](w, Z[q], L) : r.navigator.msPointerEnabled ? c[U](w, ie[q], L) : (c[U](w, W[q], L), c[U](w, q, L));
1971
1970
  }
1972
- function v(x) {
1973
- if (x.touches !== void 0)
1974
- return x.touches.length;
1975
- if (x.which !== void 0 && x.which !== 0)
1976
- return x.which;
1977
- if (x.buttons !== void 0)
1978
- return x.buttons;
1979
- var U = x.button;
1971
+ function v(w) {
1972
+ if (w.touches !== void 0)
1973
+ return w.touches.length;
1974
+ if (w.which !== void 0 && w.which !== 0)
1975
+ return w.which;
1976
+ if (w.buttons !== void 0)
1977
+ return w.buttons;
1978
+ var U = w.button;
1980
1979
  if (U !== void 0)
1981
1980
  return U & 1 ? 1 : U & 2 ? 3 : U & 4 ? 2 : 0;
1982
1981
  }
1983
- function y(x, U, q) {
1984
- x = x || {};
1985
- var L = x.className || "", W;
1986
- return x.className += " gu-hide", W = u.elementFromPoint(U, q), x.className = L, W;
1982
+ function y(w, U, q) {
1983
+ w = w || {};
1984
+ var L = w.className || "", W;
1985
+ return w.className += " gu-hide", W = u.elementFromPoint(U, q), w.className = L, W;
1987
1986
  }
1988
- function A() {
1987
+ function S() {
1989
1988
  return !1;
1990
1989
  }
1991
1990
  function I() {
1992
1991
  return !0;
1993
1992
  }
1994
- function j(x) {
1995
- return x.width || x.right - x.left;
1993
+ function j(w) {
1994
+ return w.width || w.right - w.left;
1996
1995
  }
1997
- function P(x) {
1998
- return x.height || x.bottom - x.top;
1996
+ function P(w) {
1997
+ return w.height || w.bottom - w.top;
1999
1998
  }
2000
- function C(x) {
2001
- return x.parentNode === u ? null : x.parentNode;
1999
+ function C(w) {
2000
+ return w.parentNode === u ? null : w.parentNode;
2002
2001
  }
2003
- function h(x) {
2004
- return x.tagName === "INPUT" || x.tagName === "TEXTAREA" || x.tagName === "SELECT" || T(x);
2002
+ function h(w) {
2003
+ return w.tagName === "INPUT" || w.tagName === "TEXTAREA" || w.tagName === "SELECT" || A(w);
2005
2004
  }
2006
- function T(x) {
2007
- return !x || x.contentEditable === "false" ? !1 : x.contentEditable === "true" ? !0 : T(C(x));
2005
+ function A(w) {
2006
+ return !w || w.contentEditable === "false" ? !1 : w.contentEditable === "true" ? !0 : A(C(w));
2008
2007
  }
2009
- function S(x) {
2010
- return x.nextElementSibling || U();
2008
+ function T(w) {
2009
+ return w.nextElementSibling || U();
2011
2010
  function U() {
2012
- var q = x;
2011
+ var q = w;
2013
2012
  do
2014
2013
  q = q.nextSibling;
2015
2014
  while (q && q.nodeType !== 1);
2016
2015
  return q;
2017
2016
  }
2018
2017
  }
2019
- function F(x) {
2020
- return x.targetTouches && x.targetTouches.length ? x.targetTouches[0] : x.changedTouches && x.changedTouches.length ? x.changedTouches[0] : x;
2018
+ function F(w) {
2019
+ return w.targetTouches && w.targetTouches.length ? w.targetTouches[0] : w.changedTouches && w.changedTouches.length ? w.changedTouches[0] : w;
2021
2020
  }
2022
- function $(x, U) {
2021
+ function $(w, U) {
2023
2022
  var q = F(U), L = {
2024
2023
  pageX: "clientX",
2025
2024
  // IE8
2026
2025
  pageY: "clientY"
2027
2026
  // IE8
2028
2027
  };
2029
- return x in L && !(x in q) && L[x] in q && (x = L[x]), q[x];
2028
+ return w in L && !(w in q) && L[w] in q && (w = L[w]), q[w];
2030
2029
  }
2031
2030
  o.exports = l;
2032
2031
  }).call(this, typeof Ne < "u" ? Ne : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2074,8 +2073,8 @@ var mi = { exports: {} };
2074
2073
  var f = r(arguments), v = this || s;
2075
2074
  if (m === "error" && p.throws !== !1 && !d.length)
2076
2075
  throw f.length === 1 ? f[0] : f;
2077
- return d.forEach(function(A) {
2078
- p.async ? a(A, f, v) : A.apply(v, f), A._once && s.off(m, A);
2076
+ return d.forEach(function(S) {
2077
+ p.async ? a(S, f, v) : S.apply(v, f), S._once && s.off(m, S);
2079
2078
  }), s;
2080
2079
  };
2081
2080
  }, s;
@@ -2089,62 +2088,62 @@ var mi = { exports: {} };
2089
2088
  remove: p,
2090
2089
  fabricate: y
2091
2090
  };
2092
- function m(C, h, T, S) {
2093
- return C.addEventListener(h, T, S);
2091
+ function m(C, h, A, T) {
2092
+ return C.addEventListener(h, A, T);
2094
2093
  }
2095
- function d(C, h, T) {
2096
- return C.attachEvent("on" + h, I(C, h, T));
2094
+ function d(C, h, A) {
2095
+ return C.attachEvent("on" + h, I(C, h, A));
2097
2096
  }
2098
- function f(C, h, T, S) {
2099
- return C.removeEventListener(h, T, S);
2097
+ function f(C, h, A, T) {
2098
+ return C.removeEventListener(h, A, T);
2100
2099
  }
2101
- function v(C, h, T) {
2102
- var S = j(C, h, T);
2103
- if (S)
2104
- return C.detachEvent("on" + h, S);
2100
+ function v(C, h, A) {
2101
+ var T = j(C, h, A);
2102
+ if (T)
2103
+ return C.detachEvent("on" + h, T);
2105
2104
  }
2106
- function y(C, h, T) {
2107
- var S = c.indexOf(h) === -1 ? $() : F();
2108
- C.dispatchEvent ? C.dispatchEvent(S) : C.fireEvent("on" + h, S);
2105
+ function y(C, h, A) {
2106
+ var T = c.indexOf(h) === -1 ? $() : F();
2107
+ C.dispatchEvent ? C.dispatchEvent(T) : C.fireEvent("on" + h, T);
2109
2108
  function F() {
2110
- var x;
2111
- return s.createEvent ? (x = s.createEvent("Event"), x.initEvent(h, !0, !0)) : s.createEventObject && (x = s.createEventObject()), x;
2109
+ var w;
2110
+ return s.createEvent ? (w = s.createEvent("Event"), w.initEvent(h, !0, !0)) : s.createEventObject && (w = s.createEventObject()), w;
2112
2111
  }
2113
2112
  function $() {
2114
- return new a(h, { detail: T });
2113
+ return new a(h, { detail: A });
2115
2114
  }
2116
2115
  }
2117
- function A(C, h, T) {
2116
+ function S(C, h, A) {
2118
2117
  return function(F) {
2119
2118
  var $ = F || r.event;
2120
2119
  $.target = $.target || $.srcElement, $.preventDefault = $.preventDefault || function() {
2121
2120
  $.returnValue = !1;
2122
2121
  }, $.stopPropagation = $.stopPropagation || function() {
2123
2122
  $.cancelBubble = !0;
2124
- }, $.which = $.which || $.keyCode, T.call(C, $);
2123
+ }, $.which = $.which || $.keyCode, A.call(C, $);
2125
2124
  };
2126
2125
  }
2127
- function I(C, h, T) {
2128
- var S = j(C, h, T) || A(C, h, T);
2126
+ function I(C, h, A) {
2127
+ var T = j(C, h, A) || S(C, h, A);
2129
2128
  return l.push({
2130
- wrapper: S,
2129
+ wrapper: T,
2131
2130
  element: C,
2132
2131
  type: h,
2133
- fn: T
2134
- }), S;
2132
+ fn: A
2133
+ }), T;
2135
2134
  }
2136
- function j(C, h, T) {
2137
- var S = P(C, h, T);
2138
- if (S) {
2139
- var F = l[S].wrapper;
2140
- return l.splice(S, 1), F;
2135
+ function j(C, h, A) {
2136
+ var T = P(C, h, A);
2137
+ if (T) {
2138
+ var F = l[T].wrapper;
2139
+ return l.splice(T, 1), F;
2141
2140
  }
2142
2141
  }
2143
- function P(C, h, T) {
2144
- var S, F;
2145
- for (S = 0; S < l.length; S++)
2146
- if (F = l[S], F.element === C && F.type === h && F.fn === T)
2147
- return S;
2142
+ function P(C, h, A) {
2143
+ var T, F;
2144
+ for (T = 0; T < l.length; T++)
2145
+ if (F = l[T], F.element === C && F.type === h && F.fn === A)
2146
+ return T;
2148
2147
  }
2149
2148
  }).call(this, typeof Ne < "u" ? Ne : typeof self < "u" ? self : typeof window < "u" ? window : {});
2150
2149
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2234,9 +2233,9 @@ var mi = { exports: {} };
2234
2233
  }
2235
2234
  var m = [], d = !1, f, v = -1;
2236
2235
  function y() {
2237
- !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && A());
2236
+ !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && S());
2238
2237
  }
2239
- function A() {
2238
+ function S() {
2240
2239
  if (!d) {
2241
2240
  var P = p(y);
2242
2241
  d = !0;
@@ -2253,7 +2252,7 @@ var mi = { exports: {} };
2253
2252
  if (arguments.length > 1)
2254
2253
  for (var h = 1; h < arguments.length; h++)
2255
2254
  C[h - 1] = arguments[h];
2256
- m.push(new I(P, C)), m.length === 1 && !d && p(A);
2255
+ m.push(new I(P, C)), m.length === 1 && !d && p(S);
2257
2256
  };
2258
2257
  function I(P, C) {
2259
2258
  this.fun = P, this.array = C;
@@ -2357,10 +2356,10 @@ const vi = {
2357
2356
  };
2358
2357
  return P[n.animate] = !1, P[r] = c.value, P["toasty-type-" + a.value.type] = !0, a.value.theme && (P[a.value.theme] = !0), P;
2359
2358
  }), l = N(() => {
2360
- const h = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, T = {
2359
+ const h = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, A = {
2361
2360
  "f-icon": !0
2362
2361
  };
2363
- return T[h] = !0, T;
2362
+ return A[h] = !0, A;
2364
2363
  }), m = N(() => a.value.title || a.value.message), d = N(() => n.showCloseButton), f = N(() => !!a.value.buttons || !!t.slots.default), v = N(() => e.value === "en" ? {
2365
2364
  wordBreak: "keep-all",
2366
2365
  overflowWrap: "break-word"
@@ -2370,7 +2369,7 @@ const vi = {
2370
2369
  t.emit("close", a.value);
2371
2370
  }, 200);
2372
2371
  }
2373
- function A(P, C) {
2372
+ function S(P, C) {
2374
2373
  }
2375
2374
  function I(P) {
2376
2375
  return `f-preten-link ${P.customClass ? P.customClass : ""}`;
@@ -2380,46 +2379,46 @@ const vi = {
2380
2379
  });
2381
2380
  const j = () => {
2382
2381
  var P;
2383
- return w(it, null, [w("div", {
2382
+ return x(it, null, [x("div", {
2384
2383
  class: "after-toast-msg text-right"
2385
- }, [!t.slots.default && ((P = a.value.buttons) == null ? void 0 : P.map((C) => w("span", {
2384
+ }, [!t.slots.default && ((P = a.value.buttons) == null ? void 0 : P.map((C) => x("span", {
2386
2385
  class: I(C),
2387
2386
  onClick: (h) => void 0
2388
2387
  }, [C.text]))), t.slots.default && t.slots.default()])]);
2389
2388
  };
2390
- return () => w("div", {
2389
+ return () => x("div", {
2391
2390
  class: p.value,
2392
2391
  style: "min-height:44px"
2393
- }, [d.value && w("button", {
2392
+ }, [d.value && x("button", {
2394
2393
  title: o("messageBox.close"),
2395
2394
  class: "toast-close f-btn-icon f-bare",
2396
2395
  onClick: y
2397
- }, [w("span", {
2396
+ }, [x("span", {
2398
2397
  class: "f-icon modal_close"
2399
- }, null)]), m.value && w("section", {
2398
+ }, null)]), m.value && x("section", {
2400
2399
  class: "modal-tips"
2401
- }, [!s.value && w("div", {
2400
+ }, [!s.value && x("div", {
2402
2401
  class: "float-left modal-tips-iconwrap"
2403
- }, [w("span", {
2402
+ }, [x("span", {
2404
2403
  class: l.value
2405
- }, null)]), w("div", {
2404
+ }, null)]), x("div", {
2406
2405
  class: "modal-tips-content"
2407
- }, [s.value && w(it, null, [w("h5", {
2406
+ }, [s.value && x(it, null, [x("h5", {
2408
2407
  class: "toast-title modal-tips-title",
2409
2408
  innerHTML: a.value.title
2410
- }, null), w("p", {
2409
+ }, null), x("p", {
2411
2410
  class: "toast-msg",
2412
2411
  innerHTML: a.value.message,
2413
2412
  style: v.value
2414
- }, null), f.value && j()]), u.value && (a.value.buttons ? w("div", {
2413
+ }, null), f.value && j()]), u.value && (a.value.buttons ? x("div", {
2415
2414
  class: "toast-title-btns-wrapper d-flex"
2416
- }, [w("h5", {
2415
+ }, [x("h5", {
2417
2416
  class: "toast-title modal-tips-title only-toast-msg",
2418
2417
  style: v.value,
2419
2418
  innerHTML: a.value.message
2420
- }, null), w("div", {
2419
+ }, null), x("div", {
2421
2420
  class: "after-toast-title text-right ml-auto"
2422
- }, [j()])]) : w("h5", {
2421
+ }, [j()])]) : x("h5", {
2423
2422
  class: "toast-title modal-tips-title only-toast-msg",
2424
2423
  style: v.value,
2425
2424
  innerHTML: a.value.message
@@ -2460,11 +2459,11 @@ const vi = {
2460
2459
  function l(m, d) {
2461
2460
  p();
2462
2461
  }
2463
- return () => w("div", {
2462
+ return () => x("div", {
2464
2463
  class: e.value,
2465
2464
  style: u.value,
2466
2465
  ref: i
2467
- }, [w(Nt, {
2466
+ }, [x(Nt, {
2468
2467
  options: r.value,
2469
2468
  showCloseButton: a.value,
2470
2469
  animate: n.animate,
@@ -2513,12 +2512,12 @@ class hi {
2513
2512
  document.body.removeChild(r);
2514
2513
  }), rt(() => {
2515
2514
  e.updateNotifyPositionForCreate(i, c);
2516
- }), () => w(Xt, {
2515
+ }), () => x(Xt, {
2517
2516
  mode: "out-in",
2518
2517
  name: "fade",
2519
2518
  appear: !0
2520
2519
  }, {
2521
- default: () => [w(ft, Ht({
2520
+ default: () => [x(ft, Ht({
2522
2521
  ref: c
2523
2522
  }, i, {
2524
2523
  onClose: s
@@ -2749,7 +2748,7 @@ const bi = {
2749
2748
  };
2750
2749
  function Ci(n, t, e, o, i, r, a, c, s, u, p, l, m, d, f, v, y) {
2751
2750
  const {
2752
- calculateCellPositionInRow: A
2751
+ calculateCellPositionInRow: S
2753
2752
  } = r, {
2754
2753
  columnContext: I,
2755
2754
  hasLeftFixedColumn: j,
@@ -2757,44 +2756,44 @@ function Ci(n, t, e, o, i, r, a, c, s, u, p, l, m, d, f, v, y) {
2757
2756
  } = a, {
2758
2757
  gridDataStyle: C,
2759
2758
  leftFixedGridDataStyle: h,
2760
- rightFixedGridDataStyle: T
2759
+ rightFixedGridDataStyle: A
2761
2760
  } = d, {
2762
- renderDataRow: S
2763
- } = $n(n, t, I, y, c, s, u, p, l, m, d, f, v), F = [S];
2761
+ renderDataRow: T
2762
+ } = $n(n, t, I, y, c, s, u, p, l, m, d, f, v), F = [T];
2764
2763
  function $(W, Z) {
2765
- const ie = A(W);
2764
+ const ie = S(W);
2766
2765
  return y.value.filter((R) => R.visible !== !1).map((R, B) => F[R.type](R, ie, Z, B));
2767
2766
  }
2768
- function x() {
2769
- return w("div", {
2767
+ function w() {
2768
+ return x("div", {
2770
2769
  ref: o,
2771
2770
  class: "fv-grid-content-left-fixed"
2772
- }, [w("div", {
2771
+ }, [x("div", {
2773
2772
  class: "fv-grid-data",
2774
2773
  style: h.value
2775
2774
  }, [$(I.value.leftColumns.filter((W) => W.visible), "left")])]);
2776
2775
  }
2777
2776
  function U() {
2778
- return w("div", {
2777
+ return x("div", {
2779
2778
  ref: e,
2780
2779
  class: "fv-grid-content-primary"
2781
- }, [w("div", {
2780
+ }, [x("div", {
2782
2781
  class: "fv-grid-data",
2783
2782
  style: C.value
2784
2783
  }, [$(I.value.primaryColumns.filter((W) => W.visible), "primary")])]);
2785
2784
  }
2786
2785
  function q() {
2787
- return w("div", {
2786
+ return x("div", {
2788
2787
  ref: i,
2789
2788
  class: "fv-grid-content-right-fixed"
2790
- }, [w("div", {
2789
+ }, [x("div", {
2791
2790
  class: "fv-grid-data",
2792
- style: T.value
2791
+ style: A.value
2793
2792
  }, [$(I.value.rightColumns.filter((W) => W.visible), "right")])]);
2794
2793
  }
2795
2794
  function L() {
2796
2795
  const W = [];
2797
- return j.value && W.push(x()), W.push(U()), P.value && W.push(q()), W;
2796
+ return j.value && W.push(w()), W.push(U()), P.value && W.push(q()), W;
2798
2797
  }
2799
2798
  return {
2800
2799
  renderDataArea: L
@@ -2808,17 +2807,17 @@ const wi = /* @__PURE__ */ Ge({
2808
2807
  var $t, zt;
2809
2808
  const o = (($t = n.rowOption) == null ? void 0 : $t.height) || 28, i = b(20), r = b(n.columns), a = zn(n), {
2810
2809
  idField: c
2811
- } = a, s = b(), u = b(), p = b(), l = b(), m = b(), d = b([]), f = b(!1), v = b(((zt = n.rowOption) == null ? void 0 : zt.wrapContent) || !1), y = qn(n, a), A = Un(n, t), I = Wn(n), {
2810
+ } = a, s = b(), u = b(), p = b(), l = b(), m = b(), d = b([]), f = b(!1), v = b(((zt = n.rowOption) == null ? void 0 : zt.wrapContent) || !1), y = qn(n, a), S = Un(n, t), I = Wn(n), {
2812
2811
  collapseField: j
2813
2812
  } = I, {
2814
2813
  showLoading: P,
2815
2814
  renderLoading: C
2816
- } = Gn(n, s), h = Qn(n, /* @__PURE__ */ new Map(), A, I, a), {
2817
- dataView: T
2818
- } = h, S = _n(n, h, a, d, t), {
2815
+ } = Gn(n, s), h = Qn(n, /* @__PURE__ */ new Map(), S, I, a), {
2816
+ dataView: A
2817
+ } = h, T = _n(n, h, a, d, t), {
2819
2818
  showSelection: F,
2820
2819
  selectedValues: $
2821
- } = S, x = Xn(n, d, h, a, S, t), U = N(() => n.disabled), q = N(() => n.virtualized ? Math.min(h.dataView.value.length, i.value) : h.dataView.value.length), L = Yn(n, h), {
2820
+ } = T, w = Xn(n, d, h, a, T, t), U = N(() => n.disabled), q = N(() => n.virtualized ? Math.min(h.dataView.value.length, i.value) : h.dataView.value.length), L = Yn(n, h), {
2822
2821
  shouldRenderPagination: W
2823
2822
  } = L, {
2824
2823
  containerStyleObject: Z
@@ -2837,9 +2836,9 @@ const wi = /* @__PURE__ */ Ge({
2837
2836
  updateColumnRenderContext: X
2838
2837
  } = H;
2839
2838
  ve(h, ee);
2840
- const oe = no(n, ge), le = oo(n, t, S, a), te = io(n, t, a, le, d), D = ro(n), ne = ao(n, te, D), je = so(n, h, te, I, a, D, ne), Be = lo(n, r, h, q, 0, je), {
2839
+ const oe = no(n, ge), le = oo(n, t, T, a), te = io(n, t, a, le, d), D = ro(n), ne = ao(n, te, D), je = so(n, h, te, I, a, D, ne), Be = lo(n, r, h, q, 0, je), {
2841
2840
  getVisualData: xe
2842
- } = Be, Qe = uo(n, ge), Le = co(n, S), {
2841
+ } = Be, Qe = uo(n, ge), Le = co(n, T), {
2843
2842
  sidebarWidth: _e
2844
2843
  } = Le, ae = fo(n, h, d, ge, Be, q, 0, _e), {
2845
2844
  onWheel: Je,
@@ -2864,13 +2863,13 @@ const wi = /* @__PURE__ */ Ge({
2864
2863
  "fv-grid-wrap-content": v.value
2865
2864
  })), {
2866
2865
  renderDataArea: se
2867
- } = Ci(n, t, p, l, m, Qe, H, h, te, I, le, S, x, ae, Be, D, d), {
2866
+ } = Ci(n, t, p, l, m, Qe, H, h, te, I, le, T, w, ae, Be, D, d), {
2868
2867
  renderGridHeader: ue,
2869
2868
  renderGridColumnResizeOverlay: Me,
2870
2869
  shouldShowHeader: St
2871
- } = ho(n, t, u, l, m, H, h, Ye, Xe, A, Ve, De, oe, S, Le, ee, ae, Se, d), {
2870
+ } = ho(n, t, u, l, m, H, h, Ye, Xe, S, Ve, De, oe, T, Le, ee, ae, Se, d), {
2872
2871
  renderDataGridSidebar: At
2873
- } = yo(n, le, S, Le, ae), {
2872
+ } = yo(n, le, T, Le, ae), {
2874
2873
  renderDisableMask: Tt
2875
2874
  } = bo(), {
2876
2875
  renderHorizontalScrollbar: Et
@@ -2899,7 +2898,7 @@ const wi = /* @__PURE__ */ Ge({
2899
2898
  h.expandTo(O), h.reOrderVisibleIndex(), Re();
2900
2899
  }
2901
2900
  function et() {
2902
- const O = S.getSelectionRow();
2901
+ const O = T.getSelectionRow();
2903
2902
  return O ? O.dataIndex - 1 : -1;
2904
2903
  }
2905
2904
  function Bt() {
@@ -2915,8 +2914,8 @@ const wi = /* @__PURE__ */ Ge({
2915
2914
  h.insertNewChildDataItems(O, me);
2916
2915
  }
2917
2916
  function Rt() {
2918
- const O = et(), Q = x.getNextSelectableHierarchyItemId(O);
2919
- h.removeHierarchyDataItem(O), d.value = xe(0, q.value + 0 - 1), Q && S.selectItemById(Q);
2917
+ const O = et(), Q = w.getNextSelectableHierarchyItemId(O);
2918
+ h.removeHierarchyDataItem(O), d.value = xe(0, q.value + 0 - 1), Q && w.selectItemById(Q);
2920
2919
  }
2921
2920
  function lt(O) {
2922
2921
  te.onEditingRow(O);
@@ -2937,7 +2936,7 @@ const wi = /* @__PURE__ */ Ge({
2937
2936
  O && (h.load(O), h.reOrderVisibleIndex(), Q != null && Q.keepScrollPosition ? ae.scrollTo(ae.offsetY.value) : Re());
2938
2937
  }
2939
2938
  function z(O) {
2940
- S.selectItemById(O);
2939
+ w.selectItemById(O);
2941
2940
  }
2942
2941
  function J(O) {
2943
2942
  const Q = d.value.find((de) => de.raw[a.idField.value] === O);
@@ -2947,28 +2946,28 @@ const wi = /* @__PURE__ */ Ge({
2947
2946
  le.activeRowById(O);
2948
2947
  }
2949
2948
  function we(O) {
2950
- S.selectItemByIds(O);
2949
+ w.selectItemByIds(O);
2951
2950
  }
2952
2951
  function he() {
2953
- return S.getSelectedItems();
2952
+ return T.getSelectedItems();
2954
2953
  }
2955
2954
  function ye() {
2956
- S.clearSelection();
2955
+ T.clearSelection();
2957
2956
  }
2958
2957
  const Ae = N(() => !d.value || !d.value.length), {
2959
2958
  renderEmpty: ce
2960
2959
  } = xo(n, t);
2961
2960
  function Te() {
2962
- return S.getSelectionRow();
2961
+ return T.getSelectionRow();
2963
2962
  }
2964
2963
  function be(O) {
2965
- S.unSelectItemByIds(O);
2964
+ w.unSelectItemByIds(O);
2966
2965
  }
2967
2966
  function pe() {
2968
- return S.currentSelectedDataId.value;
2967
+ return T.currentSelectedDataId.value;
2969
2968
  }
2970
2969
  function tt(O, Q, de) {
2971
- const me = T.value.find((Ce) => Ce[c.value] === O);
2970
+ const me = A.value.find((Ce) => Ce[c.value] === O);
2972
2971
  if (me) {
2973
2972
  if (Object.keys(me).forEach((fe) => {
2974
2973
  Object.prototype.hasOwnProperty.call(Q, fe) && (me[fe] = Q[fe]);
@@ -3019,7 +3018,7 @@ const wi = /* @__PURE__ */ Ge({
3019
3018
  de && le.changeRow(de);
3020
3019
  }
3021
3020
  function xn() {
3022
- S.keepSelectingOnPaging.value || ye(), h.updateVisibleDataSummary(d.value);
3021
+ T.keepSelectingOnPaging.value || ye(), h.updateVisibleDataSummary(d.value);
3023
3022
  }
3024
3023
  t.expose({
3025
3024
  activeRowById: K,
@@ -3056,9 +3055,9 @@ const wi = /* @__PURE__ */ Ge({
3056
3055
  }), An = N(() => ({
3057
3056
  ...Z.value,
3058
3057
  borderRadius: "5px"
3059
- })), {
3060
- renderDataGridPagination: ta
3061
- } = So(n, t, h, ae, L, S), Tn = N(() => ({
3058
+ }));
3059
+ So(n, t, h, ae, L, T);
3060
+ const Tn = N(() => ({
3062
3061
  "d-flex": !0,
3063
3062
  "justify-content-between": W.value && F.value,
3064
3063
  "justify-content-end": W.value && !F.value,
@@ -3069,22 +3068,22 @@ const wi = /* @__PURE__ */ Ge({
3069
3068
  })), {
3070
3069
  renderDataGridSummary: In
3071
3070
  } = Ao(n, h, H);
3072
- return () => w("div", {
3071
+ return () => x("div", {
3073
3072
  ref: s,
3074
3073
  class: E.value,
3075
3074
  style: An.value,
3076
3075
  onWheel: Je
3077
- }, [u.value && St.value && ue(), w("div", {
3076
+ }, [u.value && St.value && ue(), x("div", {
3078
3077
  ref: u,
3079
3078
  class: Y.value,
3080
3079
  onMouseover: () => f.value = !0,
3081
3080
  onMouseleave: () => f.value = !1,
3082
3081
  style: Sn.value
3083
- }, [u.value && At(d), u.value && se(), u.value && Ae.value && ce(), u.value && Et(), u.value && It()]), u.value && In(), F.value && w("div", {
3082
+ }, [u.value && At(d), u.value && se(), u.value && Ae.value && ce(), u.value && Et(), u.value && It()]), u.value && In(), F.value && x("div", {
3084
3083
  class: Tn.value
3085
- }, [F.value && w("div", {
3084
+ }, [F.value && x("div", {
3086
3085
  class: En.value
3087
- }, [w("div", null, ["已选:" + $.value.length, Bn(" 条")])])]), Me(), U.value && Tt()]);
3086
+ }, [x("div", null, ["已选:" + $.value.length, Bn(" 条")])])]), Me(), U.value && Tt()]);
3088
3087
  }
3089
3088
  });
3090
3089
  Jt(wi);
@@ -3673,7 +3672,7 @@ function wr(n, t, e, o) {
3673
3672
  c.value = m.length;
3674
3673
  }
3675
3674
  }
3676
- return () => w(it, null, [w("textarea", {
3675
+ return () => x(it, null, [x("textarea", {
3677
3676
  title: "promptMessage",
3678
3677
  name: "promptMessage",
3679
3678
  class: "form-control",
@@ -3681,7 +3680,7 @@ function wr(n, t, e, o) {
3681
3680
  rows: "4",
3682
3681
  maxlength: r.value,
3683
3682
  onInput: (l) => p(l)
3684
- }, [s.value]), w("span", {
3683
+ }, [s.value]), x("span", {
3685
3684
  class: "textarea-wordcount",
3686
3685
  title: a.value,
3687
3686
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -3740,13 +3739,13 @@ function Tr(n, t) {
3740
3739
  if (d !== "" && d !== void 0 && d !== null) {
3741
3740
  d = "" + d;
3742
3741
  const v = d.length;
3743
- let y = "", A = 0;
3742
+ let y = "", S = 0;
3744
3743
  for (let I = 0; I < v; I++) {
3745
3744
  const j = d.charAt(I);
3746
- if (A++, encodeURI(j).length > 4 && A++, y = y.concat(j), A >= f)
3745
+ if (S++, encodeURI(j).length > 4 && S++, y = y.concat(j), S >= f)
3747
3746
  return y = y.concat("..."), y;
3748
3747
  }
3749
- if (A < f)
3748
+ if (S < f)
3750
3749
  return d;
3751
3750
  }
3752
3751
  return "";
@@ -3767,21 +3766,21 @@ function Tr(n, t) {
3767
3766
  function m() {
3768
3767
  s.value = !s.value;
3769
3768
  }
3770
- return () => w("div", {
3769
+ return () => x("div", {
3771
3770
  class: "toast-msg-detail"
3772
- }, [i.value && w("div", null, [r.value]), a.value && w("div", {
3771
+ }, [i.value && x("div", null, [r.value]), a.value && x("div", {
3773
3772
  class: "exception_wrap"
3774
- }, [w("div", {
3773
+ }, [x("div", {
3775
3774
  class: "exception_error_msg"
3776
- }, [w("div", {
3775
+ }, [x("div", {
3777
3776
  innerHTML: p.value
3778
- }, null), c.value && w("span", {
3777
+ }, null), c.value && x("span", {
3779
3778
  style: l.value,
3780
3779
  onClick: m
3781
3780
  }, [u.value])])])]);
3782
3781
  }
3783
3782
  function Er(n) {
3784
- return () => w("p", {
3783
+ return () => x("p", {
3785
3784
  class: "toast-msg-detail",
3786
3785
  innerHTML: n.value
3787
3786
  }, null);
@@ -3800,13 +3799,13 @@ function Ir(n, t, e, o, i) {
3800
3799
  wordBreak: "keep-all",
3801
3800
  overflowWrap: "break-word"
3802
3801
  } : {});
3803
- return () => w(it, null, [w("div", {
3802
+ return () => x(it, null, [x("div", {
3804
3803
  class: "float-left modal-tips-iconwrap"
3805
- }, [w("span", {
3804
+ }, [x("span", {
3806
3805
  class: a.value
3807
- }, null)]), w("div", {
3806
+ }, null)]), x("div", {
3808
3807
  class: "modal-tips-content"
3809
- }, [w("p", {
3808
+ }, [x("p", {
3810
3809
  class: "toast-msg-title",
3811
3810
  innerHTML: c.value,
3812
3811
  style: d.value
@@ -3831,9 +3830,9 @@ function Fr(n, t, e, o) {
3831
3830
  }, 700);
3832
3831
  });
3833
3832
  }
3834
- return () => w("span", {
3833
+ return () => x("span", {
3835
3834
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
3836
- }, [w("span", {
3835
+ }, [x("span", {
3837
3836
  onClick: p,
3838
3837
  style: "cursor: pointer;"
3839
3838
  }, [c.value])]);
@@ -3844,24 +3843,24 @@ function Mr(n, t, e, o, i) {
3844
3843
  function y(I) {
3845
3844
  r.value === "question" && t.emit("reject"), t.emit("close");
3846
3845
  }
3847
- function A(I) {
3846
+ function S(I) {
3848
3847
  r.value === "question" && t.emit("accept"), t.emit("close");
3849
3848
  }
3850
- return () => w("div", {
3849
+ return () => x("div", {
3851
3850
  class: "modal-footer"
3852
- }, [d.value && v(), f.value && p.value && w("button", {
3851
+ }, [d.value && v(), f.value && p.value && x("button", {
3853
3852
  type: "button",
3854
3853
  class: "btn btn-secondary btn-lg",
3855
3854
  onClick: y
3856
- }, [u.value]), f.value && l.value && w("button", {
3855
+ }, [u.value]), f.value && l.value && x("button", {
3857
3856
  type: "button",
3858
3857
  class: "btn btn-primary btn-lg",
3859
- onClick: A
3860
- }, [s.value]), m.value && a.value.length && a.value.map((I) => w("button", {
3858
+ onClick: S
3859
+ }, [s.value]), m.value && a.value.length && a.value.map((I) => x("button", {
3861
3860
  type: "button",
3862
3861
  onClick: I.handle,
3863
3862
  class: I.class
3864
- }, [I.iconClass && w("span", {
3863
+ }, [I.iconClass && x("span", {
3865
3864
  class: I.iconClass
3866
3865
  }, null), I.text]))]);
3867
3866
  }
@@ -3897,24 +3896,24 @@ const pt = /* @__PURE__ */ Ge({
3897
3896
  emits: ["accept", "reject", "close"],
3898
3897
  setup(n, t) {
3899
3898
  const e = Br(n), o = b(n.type), i = b(n.title), r = b(n.detail), a = N(() => {
3900
- const A = {
3899
+ const S = {
3901
3900
  "modal-tips": !0,
3902
3901
  "d-flex": !0,
3903
3902
  "flex-row": !0
3904
3903
  }, I = `messager-type-${o.value}`;
3905
- return A[I] = !0, A;
3904
+ return S[I] = !0, S;
3906
3905
  }), c = N(() => {
3907
- const A = {
3906
+ const S = {
3908
3907
  cursor: "default"
3909
3908
  };
3910
- return o.value === "prompt" ? A.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (A.padding = "0.5rem 1.5rem 1rem 1.5rem"), A;
3909
+ return o.value === "prompt" ? S.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (S.padding = "0.5rem 1.5rem 1rem 1.5rem"), S;
3911
3910
  }), s = Cr(), u = xr(n, o, i, r), p = Sr(), {
3912
3911
  feedbackStyle: l,
3913
3912
  feedbackMessage: m
3914
3913
  } = p;
3915
3914
  m.value = e.exception.copySuccess;
3916
3915
  function d() {
3917
- return w("div", {
3916
+ return x("div", {
3918
3917
  style: l.value
3919
3918
  }, [m.value]);
3920
3919
  }
@@ -3927,12 +3926,12 @@ const pt = /* @__PURE__ */ Ge({
3927
3926
  }
3928
3927
  }
3929
3928
  const v = f(), y = Mr(n, t, s, p, e);
3930
- return () => w("div", {
3929
+ return () => x("div", {
3931
3930
  class: "farris-messager"
3932
- }, [!n.exceptionInfo && w("div", {
3931
+ }, [!n.exceptionInfo && x("div", {
3933
3932
  style: "height: 30px;width: 100%;position: absolute;",
3934
3933
  class: "messager-draggable"
3935
- }, null), w("section", {
3934
+ }, null), x("section", {
3936
3935
  class: a.value,
3937
3936
  style: c.value
3938
3937
  }, [v()]), y(), d()]);
@@ -4241,7 +4240,7 @@ class Ue {
4241
4240
  }
4242
4241
  function Wr(n, t) {
4243
4242
  const e = b(), o = b(), i = b(), r = b(), a = b(), c = b(), s = b(), u = b(), p = b(), l = b(), m = b(), d = b(n.resizeable), f = b(), v = b(n.draggable), y = b(!1);
4244
- function A() {
4243
+ function S() {
4245
4244
  const R = o.value || document.body, B = window.getComputedStyle(R);
4246
4245
  if (!B || !e.value)
4247
4246
  return;
@@ -4252,7 +4251,7 @@ function Wr(n, t) {
4252
4251
  }
4253
4252
  function I(R) {
4254
4253
  if (e.value) {
4255
- r.value = Ue.getCurrent(e.value), a.value = re.getCurrent(e.value), c.value = r.value ? Ue.copy(r.value) : null, s.value = a.value ? re.copy(a.value) : null, A();
4254
+ r.value = Ue.getCurrent(e.value), a.value = re.getCurrent(e.value), c.value = r.value ? Ue.copy(r.value) : null, s.value = a.value ? re.copy(a.value) : null, S();
4256
4255
  const B = R.target.getAttribute("type") || "";
4257
4256
  u.value = {
4258
4257
  n: !!B.match(/n/),
@@ -4289,13 +4288,13 @@ function Wr(n, t) {
4289
4288
  const B = R.x, _ = R.y;
4290
4289
  u.value.n ? (s.value.y = a.value.y + _, c.value.height = r.value.height - _) : u.value.s && (c.value.height = r.value.height + _), u.value.e ? c.value.width = r.value.width + B : u.value.w && (c.value.width = r.value.width - B, s.value.x = a.value.x + B), C(), P(), j();
4291
4290
  }
4292
- function T(R) {
4291
+ function A(R) {
4293
4292
  if (!p.value)
4294
4293
  return;
4295
4294
  const B = re.fromEvent(R);
4296
4295
  B && h(B);
4297
4296
  }
4298
- function S() {
4297
+ function T() {
4299
4298
  if (e.value) {
4300
4299
  const {
4301
4300
  width: R,
@@ -4318,56 +4317,56 @@ function Wr(n, t) {
4318
4317
  }
4319
4318
  function F(R) {
4320
4319
  if (e.value) {
4321
- const B = S();
4320
+ const B = T();
4322
4321
  m.value = B;
4323
4322
  }
4324
- i.value = void 0, r.value = null, a.value = null, c.value = null, s.value = null, u.value = null, p.value = null, document.removeEventListener("mousemove", T), document.removeEventListener("mouseup", F);
4323
+ i.value = void 0, r.value = null, a.value = null, c.value = null, s.value = null, u.value = null, p.value = null, document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", F);
4325
4324
  }
4326
4325
  function $() {
4327
- document.addEventListener("mousemove", T), document.addEventListener("mouseup", F);
4326
+ document.addEventListener("mousemove", A), document.addEventListener("mouseup", F);
4328
4327
  }
4329
- function x(R) {
4328
+ function w(R) {
4330
4329
  R instanceof MouseEvent && R.button === 2 || v.value && (document.body.click(), R.stopPropagation(), R.preventDefault(), i.value = re.fromEvent(R), p.value = R.target, I(R), $());
4331
4330
  }
4332
4331
  function U(R) {
4333
- return e.value = R, d.value && w(it, null, [w("div", {
4332
+ return e.value = R, d.value && x(it, null, [x("div", {
4334
4333
  class: "fv-resizable-handle fv-resizable-n",
4335
4334
  type: "n",
4336
- onMousedown: (B) => x(B)
4337
- }, null), w("div", {
4335
+ onMousedown: (B) => w(B)
4336
+ }, null), x("div", {
4338
4337
  class: "fv-resizable-handle fv-resizable-e",
4339
4338
  type: "e",
4340
- onMousedown: (B) => x(B)
4341
- }, null), w("div", {
4339
+ onMousedown: (B) => w(B)
4340
+ }, null), x("div", {
4342
4341
  class: "fv-resizable-handle fv-resizable-s",
4343
4342
  type: "s",
4344
- onMousedown: (B) => x(B)
4345
- }, null), w("div", {
4343
+ onMousedown: (B) => w(B)
4344
+ }, null), x("div", {
4346
4345
  class: "fv-resizable-handle fv-resizable-w",
4347
4346
  type: "w",
4348
- onMousedown: (B) => x(B)
4349
- }, null), w("div", {
4347
+ onMousedown: (B) => w(B)
4348
+ }, null), x("div", {
4350
4349
  class: "fv-resizable-handle fv-resizable-ne",
4351
4350
  type: "ne",
4352
- onMousedown: (B) => x(B)
4353
- }, null), w("div", {
4351
+ onMousedown: (B) => w(B)
4352
+ }, null), x("div", {
4354
4353
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4355
4354
  type: "se",
4356
- onMousedown: (B) => x(B)
4357
- }, null), w("div", {
4355
+ onMousedown: (B) => w(B)
4356
+ }, null), x("div", {
4358
4357
  class: "fv-resizable-handle fv-resizable-sw",
4359
4358
  type: "sw",
4360
- onMousedown: (B) => x(B)
4361
- }, null), w("div", {
4359
+ onMousedown: (B) => w(B)
4360
+ }, null), x("div", {
4362
4361
  class: "fv-resizable-handle fv-resizable-nw",
4363
4362
  type: "nw",
4364
- onMousedown: (B) => x(B)
4363
+ onMousedown: (B) => w(B)
4365
4364
  }, null)]);
4366
4365
  }
4367
4366
  function q(R = !0) {
4368
4367
  document.body.click();
4369
4368
  const B = o.value || document.body, _ = Ue.getCurrent(B), H = e.value;
4370
- R && H && (f.value = S(), f.value.transform = H.style.transform), _ && H && (c.value = _, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", m.value = {
4369
+ R && H && (f.value = T(), f.value.transform = H.style.transform), _ && H && (c.value = _, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", m.value = {
4371
4370
  size: c.value,
4372
4371
  position: {
4373
4372
  x: 0,
@@ -4428,77 +4427,77 @@ function Wr(n, t) {
4428
4427
  }
4429
4428
  function Gr(n, t, e) {
4430
4429
  const o = b(), i = b(n.draggable), r = b(n.lockAxis), a = b(), c = b(), s = b(!1), u = b(new re(0, 0)), p = b(new re(0, 0)), l = b(new re(0, 0)), m = b(new re(0, 0));
4431
- Ie(() => e.value, (T) => {
4432
- a.value.style.cursor = T ? "move" : "default";
4430
+ Ie(() => e.value, (A) => {
4431
+ a.value.style.cursor = A ? "move" : "default";
4433
4432
  });
4434
- function d(T, S) {
4435
- if (S.tagName === "BUTTON")
4433
+ function d(A, T) {
4434
+ if (T.tagName === "BUTTON")
4436
4435
  return !1;
4437
- if (S === T)
4436
+ if (T === A)
4438
4437
  return !0;
4439
- for (const F in S.children)
4440
- if (Object.prototype.hasOwnProperty.call(S.children, F) && d(T, S.children[F]))
4438
+ for (const F in T.children)
4439
+ if (Object.prototype.hasOwnProperty.call(T.children, F) && d(A, T.children[F]))
4441
4440
  return !0;
4442
4441
  return !1;
4443
4442
  }
4444
4443
  function f() {
4445
- var $, x;
4446
- let T = l.value.x + p.value.x, S = l.value.y + p.value.y;
4447
- r.value === "x" ? (T = (($ = u.value) == null ? void 0 : $.x) || 0, l.value.x = 0) : r.value === "y" && (S = ((x = u.value) == null ? void 0 : x.y) || 0, l.value.y = 0);
4448
- const F = `translate3d(${Math.round(T)}px, ${Math.round(S)}px, 0px)`;
4449
- o.value && (o.value.style.transform = F), m.value.x = T, m.value.y = S;
4444
+ var $, w;
4445
+ let A = l.value.x + p.value.x, T = l.value.y + p.value.y;
4446
+ r.value === "x" ? (A = (($ = u.value) == null ? void 0 : $.x) || 0, l.value.x = 0) : r.value === "y" && (T = ((w = u.value) == null ? void 0 : w.y) || 0, l.value.y = 0);
4447
+ const F = `translate3d(${Math.round(A)}px, ${Math.round(T)}px, 0px)`;
4448
+ o.value && (o.value.style.transform = F), m.value.x = A, m.value.y = T;
4450
4449
  }
4451
4450
  function v() {
4452
4451
  if (!c.value || !o.value)
4453
4452
  return null;
4454
- const T = c.value.getBoundingClientRect(), S = o.value.getBoundingClientRect(), F = {
4455
- top: T.top < S.top,
4456
- right: T.right > S.right,
4457
- bottom: T.bottom > S.bottom,
4458
- left: T.left < S.left
4453
+ const A = c.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), F = {
4454
+ top: A.top < T.top,
4455
+ right: A.right > T.right,
4456
+ bottom: A.bottom > T.bottom,
4457
+ left: A.left < T.left
4459
4458
  };
4460
- return F.top || (l.value.y -= S.top - T.top), F.bottom || (l.value.y -= S.bottom - T.bottom), F.right || (l.value.x -= S.right - T.right), F.left || (l.value.x -= S.left - T.left), f(), F;
4459
+ return F.top || (l.value.y -= T.top - A.top), F.bottom || (l.value.y -= T.bottom - A.bottom), F.right || (l.value.x -= T.right - A.right), F.left || (l.value.x -= T.left - A.left), f(), F;
4461
4460
  }
4462
- function y(T) {
4463
- T && (u.value && T.subtract(u.value), l.value.set(T), f(), v());
4461
+ function y(A) {
4462
+ A && (u.value && A.subtract(u.value), l.value.set(A), f(), v());
4464
4463
  }
4465
- function A(T) {
4466
- s.value && i.value && (T.stopPropagation(), T.preventDefault(), y(re.fromEvent(T, a.value)));
4464
+ function S(A) {
4465
+ s.value && i.value && (A.stopPropagation(), A.preventDefault(), y(re.fromEvent(A, a.value)));
4467
4466
  }
4468
4467
  function I() {
4469
- var T;
4470
- s.value && (s.value = !1, p.value.add(l.value), l.value.reset(), (T = o.value) == null || T.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", A), document.removeEventListener("mouseup", I));
4468
+ var A;
4469
+ s.value && (s.value = !1, p.value.add(l.value), l.value.reset(), (A = o.value) == null || A.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", I));
4471
4470
  }
4472
4471
  function j() {
4473
- !s.value && a.value && (s.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", A), document.addEventListener("mouseup", I));
4472
+ !s.value && a.value && (s.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", I));
4474
4473
  }
4475
4474
  function P() {
4476
4475
  if (o.value) {
4477
- const T = re.getTransformInfo(o.value);
4478
- p.value.set(T);
4476
+ const A = re.getTransformInfo(o.value);
4477
+ p.value.set(A);
4479
4478
  return;
4480
4479
  }
4481
4480
  p.value.reset();
4482
4481
  }
4483
- function C(T) {
4484
- if (!e.value || T instanceof MouseEvent && T.button === 2)
4482
+ function C(A) {
4483
+ if (!e.value || A instanceof MouseEvent && A.button === 2)
4485
4484
  return;
4486
- const S = T.target || T.srcElement;
4487
- a.value !== void 0 && S && !d(S, a.value) || i.value !== !1 && (document.body.click(), T.stopPropagation(), T.preventDefault(), u.value = re.fromEvent(T, o.value), P(), j());
4485
+ const T = A.target || A.srcElement;
4486
+ a.value !== void 0 && T && !d(T, a.value) || i.value !== !1 && (document.body.click(), A.stopPropagation(), A.preventDefault(), u.value = re.fromEvent(A, o.value), P(), j());
4488
4487
  }
4489
- function h(T, S, F) {
4490
- if (i.value && S) {
4491
- if (T)
4492
- a.value = T;
4488
+ function h(A, T, F) {
4489
+ if (i.value && T) {
4490
+ if (A)
4491
+ a.value = A;
4493
4492
  else if (n.dragHandle) {
4494
4493
  if (n.dragHandle instanceof HTMLElement)
4495
4494
  a.value = n.dragHandle;
4496
4495
  else if (typeof n.dragHandle == "string") {
4497
- const $ = S.querySelector(n.dragHandle);
4496
+ const $ = T.querySelector(n.dragHandle);
4498
4497
  $ && (a.value = $);
4499
4498
  }
4500
4499
  }
4501
- o.value = S, c.value = F, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4500
+ o.value = T, c.value = F, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4502
4501
  }
4503
4502
  }
4504
4503
  return {
@@ -4539,10 +4538,10 @@ const We = /* @__PURE__ */ Ge({
4539
4538
  props: vn,
4540
4539
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4541
4540
  setup(n, t) {
4542
- const e = 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), u = b(""), p = b(n.showCloseButton), l = b(n.showMaxButton), m = b(!1), d = b(n.dialogType), f = b(n.src), v = b(""), y = b(n.showButtons), A = b(n.title), I = b(n.containment || null), j = b(), {
4541
+ const e = 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), u = b(""), p = b(n.showCloseButton), l = b(n.showMaxButton), m = b(!1), d = b(n.dialogType), f = b(n.src), v = b(""), y = b(n.showButtons), S = b(n.title), I = b(n.containment || null), j = b(), {
4543
4542
  t: P
4544
4543
  } = wt();
4545
- A.value === "错误提示" && (A.value = P("messageBox.errorTitle"));
4544
+ S.value === "错误提示" && (S.value = P("messageBox.errorTitle"));
4546
4545
  const C = b(!1);
4547
4546
  function h(E, Y) {
4548
4547
  const se = Y ? "accept" : "cancel";
@@ -4555,7 +4554,7 @@ const We = /* @__PURE__ */ Ge({
4555
4554
  ue && (i.value = !1, t.emit("update:modelValue", !1), Y != null && t.emit(Y ? "accept" : "cancel"), t.emit("closed", E));
4556
4555
  });
4557
4556
  }
4558
- const T = [{
4557
+ const A = [{
4559
4558
  name: "cancel",
4560
4559
  text: P("messageBox.cancel") || "取消",
4561
4560
  class: "btn btn-secondary",
@@ -4569,7 +4568,7 @@ const We = /* @__PURE__ */ Ge({
4569
4568
  handle: (E) => {
4570
4569
  h(E, !0);
4571
4570
  }
4572
- }], S = b(n.buttons && n.buttons.length ? n.buttons : T), F = N(() => !!u.value), $ = N(() => !!y.value && !!S.value), x = b(), U = b(), q = b(!1), {
4571
+ }], T = b(n.buttons && n.buttons.length ? n.buttons : A), F = N(() => !!u.value), $ = N(() => !!y.value && !!T.value), w = b(), U = b(), q = b(!1), {
4573
4572
  renderResizeBar: L,
4574
4573
  maximize: W,
4575
4574
  restore: Z,
@@ -4589,10 +4588,10 @@ const We = /* @__PURE__ */ Ge({
4589
4588
  (!E || E - 1 <= 0) && document.body.classList.remove("modal-open"), j.value && j.value.classList.remove("show");
4590
4589
  }
4591
4590
  Ie(() => n.title, (E, Y) => {
4592
- E !== Y && (A.value = E);
4591
+ E !== Y && (S.value = E);
4593
4592
  }), Ie(() => n.modelValue, (E, Y) => {
4594
4593
  E !== Y && (i.value = E, i.value && n.draggable && Ct(() => {
4595
- U.value && !I.value && (I.value = U.value.parentElement, ie.value = I.value, ee(x.value, U.value, ie.value), H());
4594
+ U.value && !I.value && (I.value = U.value.parentElement, ie.value = I.value, ee(w.value, U.value, ie.value), H());
4596
4595
  }), E || (I.value && (I.value = null), ge())), i.value ? C.value = ve() : (q.value = !1, B.value = n.draggable);
4597
4596
  }), Ie(() => n.showHeader, (E, Y) => {
4598
4597
  E !== Y && (s.value = E);
@@ -4676,13 +4675,13 @@ const We = /* @__PURE__ */ Ge({
4676
4675
  E.handle && await E.handle(Y, E) && t.emit("closed", Y);
4677
4676
  }
4678
4677
  function ke(E) {
4679
- E.width && (e.value = E.width), E.height && (o.value = E.height), E.buttons && (S.value = E.buttons), E.title && (A.value = E.title);
4678
+ E.width && (e.value = E.width), E.height && (o.value = E.height), E.buttons && (T.value = E.buttons), E.title && (S.value = E.title);
4680
4679
  }
4681
4680
  let Pe = null, Se = null;
4682
4681
  kn(() => {
4683
4682
  C.value = ve();
4684
4683
  }), rt(() => {
4685
- U.value && !I.value && (I.value = U.value.parentElement, ie.value = I.value, ee(x.value, U.value, ie.value)), X.value && document.body.classList.add("modal-open"), Pe = Qr(n, t), Se = _r(n, t);
4684
+ U.value && !I.value && (I.value = U.value.parentElement, ie.value = I.value, ee(w.value, U.value, ie.value)), X.value && document.body.classList.add("modal-open"), Pe = Qr(n, t), Se = _r(n, t);
4686
4685
  }), bt(() => {
4687
4686
  _ && _(), Pe && Pe.remove(), Se && Se.remove();
4688
4687
  }), t.expose({
@@ -4693,31 +4692,31 @@ const We = /* @__PURE__ */ Ge({
4693
4692
  isMaximized: q
4694
4693
  });
4695
4694
  function Re() {
4696
- return w("ul", null, [m.value && w("li", {
4695
+ return x("ul", null, [m.value && x("li", {
4697
4696
  class: "f-btn-icon f-bare"
4698
- }, [w("span", {
4697
+ }, [x("span", {
4699
4698
  class: "f-icon modal_minimize"
4700
- }, null)]), l.value && w("li", {
4699
+ }, null)]), l.value && x("li", {
4701
4700
  onClick: ae,
4702
4701
  class: "f-btn-icon f-bare",
4703
4702
  style: "pointer-events: auto;"
4704
- }, [w("span", {
4703
+ }, [x("span", {
4705
4704
  class: xe.value
4706
- }, null)]), p.value && w("li", {
4705
+ }, null)]), p.value && x("li", {
4707
4706
  class: "f-btn-icon f-bare",
4708
4707
  onClick: (E) => h(E, !1),
4709
4708
  style: "pointer-events: auto;"
4710
- }, [w("span", {
4709
+ }, [x("span", {
4711
4710
  class: "f-icon modal_close"
4712
4711
  }, null)])]);
4713
4712
  }
4714
4713
  function Ke() {
4715
- return w("div", {
4714
+ return x("div", {
4716
4715
  class: "modal-footer",
4717
4716
  style: _e.value
4718
- }, [S.value && S.value.map((E) => {
4717
+ }, [T.value && T.value.map((E) => {
4719
4718
  const Y = b(E.disabled);
4720
- return w("button", {
4719
+ return x("button", {
4721
4720
  name: E.name,
4722
4721
  type: "button",
4723
4722
  disabled: Y.value,
@@ -4725,24 +4724,24 @@ const We = /* @__PURE__ */ Ge({
4725
4724
  onClick: (se) => {
4726
4725
  Je(E, se);
4727
4726
  }
4728
- }, [!!E.iconClass && w("i", {
4727
+ }, [!!E.iconClass && x("i", {
4729
4728
  class: E.iconClass
4730
4729
  }, null), E.text]);
4731
4730
  })]);
4732
4731
  }
4733
4732
  function De() {
4734
- return w("div", {
4735
- ref: x,
4733
+ return x("div", {
4734
+ ref: w,
4736
4735
  class: "modal-header",
4737
4736
  style: Be.value
4738
- }, [t.slots.headerTemplate ? t.slots.headerTemplate() : w("div", {
4737
+ }, [t.slots.headerTemplate ? t.slots.headerTemplate() : x("div", {
4739
4738
  class: "modal-title"
4740
- }, [F.value && w("span", {
4739
+ }, [F.value && x("span", {
4741
4740
  class: u.value,
4742
4741
  style: "margin-right: 8px"
4743
- }, null), w("span", {
4742
+ }, null), x("span", {
4744
4743
  class: "modal-title-label"
4745
- }, [A.value])]), w("div", {
4744
+ }, [S.value])]), x("div", {
4746
4745
  class: "actions"
4747
4746
  }, [Re()])]);
4748
4747
  }
@@ -4758,16 +4757,16 @@ const We = /* @__PURE__ */ Ge({
4758
4757
  }
4759
4758
  function Xe() {
4760
4759
  var E, Y;
4761
- return w("div", {
4760
+ return x("div", {
4762
4761
  id: r.value,
4763
4762
  class: le.value,
4764
4763
  style: te.value,
4765
4764
  ref: U
4766
- }, [w("div", {
4765
+ }, [x("div", {
4767
4766
  class: je.value
4768
- }, [s.value && De(), w("div", {
4767
+ }, [s.value && De(), x("div", {
4769
4768
  class: Qe.value
4770
- }, [(Y = (E = t.slots).default) == null ? void 0 : Y.call(E), d.value === "iframe" && w("iframe", {
4769
+ }, [(Y = (E = t.slots).default) == null ? void 0 : Y.call(E), d.value === "iframe" && x("iframe", {
4771
4770
  title: r.value,
4772
4771
  class: "f-utils-fill",
4773
4772
  width: "100%",
@@ -4778,14 +4777,14 @@ const We = /* @__PURE__ */ Ge({
4778
4777
  function Ye(E) {
4779
4778
  return E || "body";
4780
4779
  }
4781
- return () => w(Pn, {
4780
+ return () => x(Pn, {
4782
4781
  to: Ye(n.host)
4783
4782
  }, {
4784
- default: () => [X.value && w(Xt, {
4783
+ default: () => [X.value && x(Xt, {
4785
4784
  name: "fade",
4786
4785
  appear: !0
4787
4786
  }, {
4788
- default: () => [w("div", {
4787
+ default: () => [x("div", {
4789
4788
  ref: j,
4790
4789
  class: oe.value,
4791
4790
  style: ne.value,
@@ -4814,13 +4813,13 @@ function Xr(n) {
4814
4813
  }), f = n.closedCallback || ((j) => {
4815
4814
  }), v = n.resizeHandle || ((j) => {
4816
4815
  }), y = n.stopMoveHandle || ((j) => {
4817
- }), A = hn(n), I = (j) => {
4816
+ }), S = hn(n), I = (j) => {
4818
4817
  p.value = !1, e.unmount(), f(j);
4819
4818
  };
4820
4819
  return rt(() => {
4821
4820
  }), i.expose({
4822
4821
  modalRef: r
4823
- }), () => w(We, {
4822
+ }), () => x(We, {
4824
4823
  ref: r,
4825
4824
  class: a.value,
4826
4825
  modelValue: p.value,
@@ -4840,7 +4839,7 @@ function Xr(n) {
4840
4839
  onResize: v,
4841
4840
  onStopMove: y
4842
4841
  }, {
4843
- default: () => [A && A(e)]
4842
+ default: () => [S && S(e)]
4844
4843
  });
4845
4844
  }
4846
4845
  });
@@ -4899,14 +4898,14 @@ class yn {
4899
4898
  });
4900
4899
  let p;
4901
4900
  const l = hn(o.value), m = (C) => {
4902
- var T;
4901
+ var A;
4903
4902
  i.value = !1;
4904
- const h = (T = C == null ? void 0 : C.target) == null ? void 0 : T.classList.contains("modal_close");
4903
+ const h = (A = C == null ? void 0 : C.target) == null ? void 0 : A.classList.contains("modal_close");
4905
4904
  c(C, this.isUseEscCloseModal.value ? "esc" : h ? "icon" : "button");
4906
4905
  }, d = (C) => {
4907
4906
  m(C), p && Ct(() => {
4908
4907
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Ot(null, e), p = null, this.modalRef.value = null, this.modalRefs) {
4909
- const h = Object.keys(this.modalRefs).map((T) => Number(T));
4908
+ const h = Object.keys(this.modalRefs).map((A) => Number(A));
4910
4909
  h.length > 0 ? this.activeModalIndex.value = Math.max(...h) : this.activeModalIndex.value = 0;
4911
4910
  }
4912
4911
  this.isUseEscCloseModal.value = !1;
@@ -4917,9 +4916,9 @@ class yn {
4917
4916
  }, {
4918
4917
  width: v,
4919
4918
  height: y
4920
- } = o.value, A = this.adaptToWindow(v || 500, y || 320);
4921
- Object.assign(o.value, A);
4922
- const I = () => w(We, Ht({
4919
+ } = o.value, S = this.adaptToWindow(v || 500, y || 320);
4920
+ Object.assign(o.value, S);
4921
+ const I = () => x(We, Ht({
4923
4922
  ref: this.modalRef,
4924
4923
  modelValue: i.value,
4925
4924
  "onUpdate:modelValue": (C) => i.value = C
@@ -4984,7 +4983,7 @@ const Ee = class Ee {
4984
4983
  showMaxButton: !1,
4985
4984
  draggable: !0,
4986
4985
  dragHandle: ".messager-draggable",
4987
- render: () => w(pt, Ht(e, {
4986
+ render: () => x(pt, Ht(e, {
4988
4987
  onAccept: a,
4989
4988
  onReject: c,
4990
4989
  onClose: p
@@ -5574,21 +5573,21 @@ const ea = /* @__PURE__ */ Ge({
5574
5573
  imageSource: v,
5575
5574
  onClickImage: y
5576
5575
  } = dn(n, t, d, s);
5577
- return () => w("div", {
5576
+ return () => x("div", {
5578
5577
  ref: e,
5579
5578
  class: c.value,
5580
5579
  style: u.value,
5581
5580
  onClick: y
5582
- }, [p, w("img", {
5581
+ }, [p, x("img", {
5583
5582
  title: n.title,
5584
5583
  class: "f-avatar-image",
5585
5584
  src: v.value,
5586
5585
  onError: l
5587
- }, null), !n.readonly && w("div", {
5586
+ }, null), !n.readonly && x("div", {
5588
5587
  class: "f-avatar-icon"
5589
- }, [w("span", {
5588
+ }, [x("span", {
5590
5589
  class: "f-icon f-icon-camera"
5591
- }, null)]), w("input", {
5590
+ }, null)]), x("input", {
5592
5591
  ref: "file",
5593
5592
  name: "file-input",
5594
5593
  type: "file",
@@ -5605,10 +5604,10 @@ gt.register = (n, t, e, o) => {
5605
5604
  gt.registerDesigner = (n, t, e) => {
5606
5605
  n.avatar = ea, t.avatar = cn;
5607
5606
  };
5608
- const Os = Jt(gt);
5607
+ const Ds = Jt(gt);
5609
5608
  export {
5610
5609
  gt as FAvatar,
5611
5610
  jt as avatarProps,
5612
- Os as default,
5611
+ Ds as default,
5613
5612
  cn as propsResolver
5614
5613
  };