@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
@@ -4,13 +4,13 @@ var X = (t, e, n) => $n(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { radioCheckboxCommonProps as jn, getCustomClass as Ln, withInstall as tn, FormSchemaEntityField$Type as yt, FormSchemaEntityFieldTypeName as Qt, getMaxZIndex as An, FormSchemaEntityFieldType$Type as nn, useGuid as zt } from "../../components/common/index.esm.js";
5
5
  import { getSchemaByTypeForDesigner as Hn, createPropsResolver as St, resolveAppearance as zn } from "../../components/dynamic-resolver/index.esm.js";
6
6
  import qn, { radioGroupProps as Un } from "../../components/radio-group/index.esm.js";
7
- import { computed as R, ref as y, defineComponent as Be, watch as se, createVNode as b, Fragment as Qe, reactive as Le, createApp as qt, onUnmounted as ct, onMounted as Pe, Transition as on, mergeProps as Tt, nextTick as Ye, createTextVNode as Ae, onBeforeMount as Wn, Teleport as an, shallowRef as Gn, render as Lt, h as _n, cloneVNode as Xn, inject as bt, withDirectives as At, vShow as Yn, onUpdated as Jn, onBeforeUnmount as Qn, vModelText as Zt } from "vue";
7
+ import { computed as R, ref as b, defineComponent as Me, watch as se, createVNode as C, Fragment as Qe, reactive as Le, createApp as qt, onUnmounted as ct, onMounted as Pe, Transition as on, mergeProps as Tt, nextTick as Ye, createTextVNode as Ae, onBeforeMount as Wn, Teleport as an, shallowRef as Gn, render as Lt, h as _n, cloneVNode as Xn, inject as bt, withDirectives as At, vShow as Yn, onUpdated as Jn, onBeforeUnmount as Qn, vModelText as Zt } from "vue";
8
8
  import { cloneDeep as ut, isUndefined as $e, isPlainObject as Kt, debounce as Zn } from "lodash-es";
9
9
  import { DgControl as en } from "../../components/designer-canvas/index.esm.js";
10
10
  import { useI18n as Ut } from "vue-i18n";
11
11
  import { LocaleService as Et } from "../../components/locale/index.esm.js";
12
12
  import { useResizeObserver as Kn } from "@vueuse/core";
13
- import { getHierarchyRow as eo, useIdentify as to, useGroupData as no, useFilter as oo, useHierarchy as io, useLoading as ao, useDataView as ro, useSelection as lo, useSelectHierarchyItem as so, usePagination as uo, useDataViewContainerStyle as co, useCommandColumn as fo, useSettingColumn as po, useColumn as mo, useSort as vo, useGroupColumn as go, useRow as ho, useEdit as yo, useVisualDataBound as bo, useVisualDataCell as Co, useVisualDataRow as wo, useVisualData as xo, useCellPosition as So, useSidebar as To, useVirtualScroll as Eo, useFitColumn as Fo, useFilterHistory as Mo, useColumnFilter as Bo, useDragColumn as ko, getColumnHeader as Io, getSidebar as Po, getDisableMask as Oo, getHorizontalScrollbar as Vo, getVerticalScrollbar as No, getEmpty as Ro, getPagination as Do, getSummary as $o } from "../../components/data-view/index.esm.js";
13
+ import { getHierarchyRow as eo, useIdentify as to, useGroupData as no, useFilter as oo, useHierarchy as io, useLoading as ao, useDataView as ro, useSelection as lo, useSelectHierarchyItem as so, usePagination as uo, useDataViewContainerStyle as co, useCommandColumn as fo, useSettingColumn as po, useColumn as mo, useSort as vo, useGroupColumn as go, useRow as ho, useEdit as yo, useVisualDataBound as bo, useVisualDataCell as Co, useVisualDataRow as wo, useVisualData as xo, useCellPosition as So, useSidebar as To, useVirtualScroll as Eo, useFitColumn as Fo, useFilterHistory as Bo, useColumnFilter as Mo, useDragColumn as ko, getColumnHeader as Io, getSidebar as Po, getDisableMask as Oo, getHorizontalScrollbar as Vo, getVerticalScrollbar as No, getEmpty as Ro, getPagination as Do, getSummary as $o } from "../../components/data-view/index.esm.js";
14
14
  import "../../components/property-panel/index.esm.js";
15
15
  import "../../components/accordion/index.esm.js";
16
16
  import "../../components/avatar/index.esm.js";
@@ -208,8 +208,8 @@ const j = {
208
208
  "language-textbox": { type: "language-textbox", name: "多语输入框" }
209
209
  };
210
210
  function Uo(t, e, n) {
211
- var h;
212
- const o = n && n.getStyles && n.getStyles() || "", i = n && n.getDesignerClass && n.getDesignerClass() || "", a = y();
211
+ var g;
212
+ const o = n && n.getStyles && n.getStyles() || "", i = n && n.getDesignerClass && n.getDesignerClass() || "", a = b();
213
213
  let r;
214
214
  function c() {
215
215
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : n && n.checkCanMoveComponent ? n.checkCanMoveComponent() : !0;
@@ -228,18 +228,18 @@ function Uo(t, e, n) {
228
228
  return null;
229
229
  if (S.value.schema && S.value.schema.type === "component")
230
230
  return S.value;
231
- const I = y(S == null ? void 0 : S.value.parent), O = s(I);
232
- return O || null;
231
+ const I = b(S == null ? void 0 : S.value.parent), k = s(I);
232
+ return k || null;
233
233
  }
234
234
  function m(S = e) {
235
- var H;
235
+ var L;
236
236
  if (n != null && n.getDraggableDesignItemElement)
237
237
  return n.getDraggableDesignItemElement(S);
238
- const { componentInstance: I, designerItemElementRef: O } = S;
238
+ const { componentInstance: I, designerItemElementRef: k } = S;
239
239
  if (!I || !I.value)
240
240
  return null;
241
- const { getCustomButtons: B } = I.value;
242
- return I.value.canMove || B && ((H = B()) != null && H.length) ? O : m(S.parent);
241
+ const { getCustomButtons: D } = I.value;
242
+ return I.value.canMove || D && ((L = D()) != null && L.length) ? k : m(S.parent);
243
243
  }
244
244
  function d(S) {
245
245
  return !!n && n.canAccepts(S);
@@ -249,47 +249,47 @@ function Uo(t, e, n) {
249
249
  }
250
250
  function v() {
251
251
  }
252
- function C(S, I) {
253
- var O;
254
- !S || !I || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(S, I), (O = e == null ? void 0 : e.setupContext) == null || O.emit("dragEnd"));
252
+ function y(S, I) {
253
+ var k;
254
+ !S || !I || (n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(S, I), (k = e == null ? void 0 : e.setupContext) == null || k.emit("dragEnd"));
255
255
  }
256
- function F(S, I) {
257
- const { componentType: O } = S;
258
- let B = Hn(O, S, I);
259
- n && n.onResolveNewComponentSchema && (B = n.onResolveNewComponentSchema(S, B));
260
- const H = O.toLowerCase().replace(/-/g, "_");
261
- return B && !B.id && B.type === O && (B.id = `${H}_${Math.random().toString().slice(2, 6)}`), B;
256
+ function E(S, I) {
257
+ const { componentType: k } = S;
258
+ let D = Hn(k, S, I);
259
+ n && n.onResolveNewComponentSchema && (D = n.onResolveNewComponentSchema(S, D));
260
+ const L = k.toLowerCase().replace(/-/g, "_");
261
+ return D && !D.id && D.type === k && (D.id = `${L}_${Math.random().toString().slice(2, 6)}`), D;
262
262
  }
263
- function M(S) {
263
+ function B(S) {
264
264
  S && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(S);
265
265
  }
266
- function L(...S) {
266
+ function A(...S) {
267
267
  if (n && n.getPropsConfig)
268
268
  return n.getPropsConfig(...S);
269
269
  }
270
270
  function N(S) {
271
271
  if (!S)
272
272
  return;
273
- const I = e == null ? void 0 : e.schema, { formSchemaUtils: O } = S;
274
- if (I && O.getExpressions().length) {
275
- const B = O.getExpressions().findIndex((H) => H.target === I.id);
276
- B > -1 && O.getExpressions().splice(B, 1);
273
+ const I = e == null ? void 0 : e.schema, { formSchemaUtils: k } = S;
274
+ if (I && k.getExpressions().length) {
275
+ const D = k.getExpressions().findIndex((L) => L.target === I.id);
276
+ D > -1 && k.getExpressions().splice(D, 1);
277
277
  }
278
278
  }
279
279
  function T(S) {
280
280
  if (!S || !(e != null && e.schema))
281
281
  return;
282
- const I = e.schema, { formSchemaUtils: O } = S;
283
- O.removeCommunicationInComponent(I);
282
+ const I = e.schema, { formSchemaUtils: k } = S;
283
+ k.removeCommunicationInComponent(I);
284
284
  }
285
- function g(S) {
285
+ function h(S) {
286
286
  n && n.onRemoveComponent && n.onRemoveComponent(), N(S), T(S), e != null && e.schema.contents && e.schema.contents.map((I) => {
287
- let O = I.id;
288
- I.type === "component-ref" && (O = I.component);
289
- const B = t.value.querySelectorAll(`#${O}-design-item`);
290
- B != null && B.length && Array.from(B).map((H) => {
291
- var Q;
292
- (Q = H == null ? void 0 : H.componentInstance) != null && Q.value.onRemoveComponent && H.componentInstance.value.onRemoveComponent(S);
287
+ let k = I.id;
288
+ I.type === "component-ref" && (k = I.component);
289
+ const D = t.value.querySelectorAll(`#${k}-design-item`);
290
+ D != null && D.length && Array.from(D).map((L) => {
291
+ var J;
292
+ (J = L == null ? void 0 : L.componentInstance) != null && J.value.onRemoveComponent && L.componentInstance.value.onRemoveComponent(S);
293
293
  });
294
294
  });
295
295
  }
@@ -297,9 +297,9 @@ function Uo(t, e, n) {
297
297
  if (n && n.getCustomButtons)
298
298
  return n.getCustomButtons();
299
299
  }
300
- function E(S) {
301
- var O, B;
302
- if (!((O = e == null ? void 0 : e.schema) != null && O.id))
300
+ function F(S) {
301
+ var k, D;
302
+ if (!((k = e == null ? void 0 : e.schema) != null && k.id))
303
303
  return;
304
304
  if (!r && S && (r = S.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
305
305
  n.setComponentBasicInfoMap();
@@ -309,30 +309,30 @@ function Uo(t, e, n) {
309
309
  if (n != null && n.getComponentTitle)
310
310
  I = n.getComponentTitle();
311
311
  else {
312
- const { text: H, title: Q, label: D, mainTitle: V, name: _, type: q } = e.schema;
313
- I = H || Q || D || V || _ || ((B = j[q]) == null ? void 0 : B.name);
312
+ const { text: L, title: J, label: O, mainTitle: V, name: _, type: q } = e.schema;
313
+ I = L || J || O || V || _ || ((D = j[q]) == null ? void 0 : D.name);
314
314
  }
315
315
  I && r.getControlBasicInfoMap().set(e.schema.id, {
316
316
  componentTitle: I,
317
317
  parentPathName: I
318
318
  });
319
319
  }
320
- function k(S) {
321
- var H;
322
- const { changeObject: I } = S, { propertyID: O, propertyValue: B } = I;
323
- if (["text", "title", "label", "name", "mainTitle"].includes((H = S == null ? void 0 : S.changeObject) == null ? void 0 : H.propertyID) && O && B && (E(), r)) {
324
- const Q = r.getControlBasicInfoMap(), D = Q.keys().toArray().filter((V) => {
320
+ function M(S) {
321
+ var L;
322
+ const { changeObject: I } = S, { propertyID: k, propertyValue: D } = I;
323
+ if (["text", "title", "label", "name", "mainTitle"].includes((L = S == null ? void 0 : S.changeObject) == null ? void 0 : L.propertyID) && k && D && (F(), r)) {
324
+ const J = r.getControlBasicInfoMap(), O = J.keys().toArray().filter((V) => {
325
325
  var _, q;
326
- return ((_ = Q.get(V)) == null ? void 0 : _.reliedComponentId) === ((q = e == null ? void 0 : e.schema) == null ? void 0 : q.id);
326
+ return ((_ = J.get(V)) == null ? void 0 : _.reliedComponentId) === ((q = e == null ? void 0 : e.schema) == null ? void 0 : q.id);
327
327
  });
328
- D != null && D.length && D.forEach((V) => {
329
- const _ = Q.get(V).parentPathName.split(" > ");
330
- _[0] = B, Q.get(V).parentPathName = _.join(" > ");
328
+ O != null && O.length && O.forEach((V) => {
329
+ const _ = J.get(V).parentPathName.split(" > ");
330
+ _[0] = D, J.get(V).parentPathName = _.join(" > ");
331
331
  });
332
332
  }
333
333
  }
334
334
  function z(S) {
335
- if (k(S), n && n.onPropertyChanged)
335
+ if (M(S), n && n.onPropertyChanged)
336
336
  return n.onPropertyChanged(S);
337
337
  }
338
338
  return a.value = {
@@ -342,7 +342,7 @@ function Uo(t, e, n) {
342
342
  canNested: !p(),
343
343
  contents: e == null ? void 0 : e.schema.contents,
344
344
  elementRef: t,
345
- parent: (h = e == null ? void 0 : e.parent) == null ? void 0 : h.componentInstance,
345
+ parent: (g = e == null ? void 0 : e.parent) == null ? void 0 : g.componentInstance,
346
346
  schema: e == null ? void 0 : e.schema,
347
347
  styles: o,
348
348
  designerClass: i,
@@ -350,25 +350,25 @@ function Uo(t, e, n) {
350
350
  getBelongedComponentInstance: s,
351
351
  getDraggableDesignItemElement: m,
352
352
  getDraggingDisplayText: f,
353
- getPropConfig: L,
353
+ getPropConfig: A,
354
354
  getDragScopeElement: v,
355
- onAcceptMovedChildElement: C,
356
- onChildElementMovedOut: M,
357
- addNewChildComponentSchema: F,
358
- triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || y(!1),
359
- triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || y(!1),
360
- onRemoveComponent: g,
355
+ onAcceptMovedChildElement: y,
356
+ onChildElementMovedOut: B,
357
+ addNewChildComponentSchema: E,
358
+ triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || b(!1),
359
+ triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || b(!1),
360
+ onRemoveComponent: h,
361
361
  getCustomButtons: w,
362
362
  onPropertyChanged: z,
363
- setComponentBasicInfoMap: E,
363
+ setComponentBasicInfoMap: F,
364
364
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
365
365
  }, a;
366
366
  }
367
- const Wo = y(0);
367
+ const Wo = b(0);
368
368
  function Go() {
369
369
  Wo.value++;
370
370
  }
371
- const mt = y(0);
371
+ const mt = b(0);
372
372
  function _o(t) {
373
373
  const { formSchemaUtils: e, formStateMachineUtils: n } = t;
374
374
  function o(l, u = "") {
@@ -906,14 +906,14 @@ class Xo {
906
906
  const { expressionId: a, expressionInfo: r } = n, { targetId: c, targetType: l, expressionType: u, value: p, message: s } = r, m = this.formSchemaUtils.getModule();
907
907
  m.expressions = m.expressions || [];
908
908
  const { expressions: d } = m;
909
- let f = d.find((C) => C.target === c);
909
+ let f = d.find((y) => y.target === c);
910
910
  f || (f = { target: c, rules: [], targetType: l }, d.push(f));
911
- const v = f.rules.find((C) => C.type === u);
911
+ const v = f.rules.find((y) => y.type === u);
912
912
  if (v)
913
913
  v.value = p, v.message = s;
914
914
  else {
915
- const C = { id: a, type: u, value: p, message: s };
916
- f.rules.push(C);
915
+ const y = { id: a, type: u, value: p, message: s };
916
+ f.rules.push(y);
917
917
  }
918
918
  delete n.expressionInfo;
919
919
  }
@@ -1076,13 +1076,13 @@ function Jo(t) {
1076
1076
  const o = /* @__PURE__ */ new Map();
1077
1077
  let i = [];
1078
1078
  function a(p, s) {
1079
- const d = p.split(" ").filter((M) => M.startsWith("col-"));
1079
+ const d = p.split(" ").filter((B) => B.startsWith("col-"));
1080
1080
  if (d.length === 0) {
1081
1081
  s.isSupportedClass = !1;
1082
1082
  return;
1083
1083
  }
1084
- let f = d.find((M) => /^col-([1-9]|10|11|12)$/.test(M)), v = d.find((M) => /^col-md-([1-9]|10|11|12)$/.test(M)), C = d.find((M) => /^col-xl-([1-9]|10|11|12)$/.test(M)), F = d.find((M) => /^col-el-([1-9]|10|11|12)$/.test(M));
1085
- f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), C = C || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(C.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), F = F || "col-el-" + s.columnInLG, s.columnInEL = parseInt(F.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1084
+ let f = d.find((B) => /^col-([1-9]|10|11|12)$/.test(B)), v = d.find((B) => /^col-md-([1-9]|10|11|12)$/.test(B)), y = d.find((B) => /^col-xl-([1-9]|10|11|12)$/.test(B)), E = d.find((B) => /^col-el-([1-9]|10|11|12)$/.test(B));
1085
+ f = f || "col-12", s.columnInSM = parseInt(f.replace("col-", ""), 10), s.displayWidthInSM = s.columnInSM / 12, s.displayWidthInSM !== 1 && (s.isSupportedClass = !1), v = v || "col-md-" + s.columnInSM, s.columnInMD = parseInt(v.replace("col-md-", ""), 10), s.displayWidthInMD = s.columnInMD / 6, [1, 2].includes(s.displayWidthInMD) || (s.isSupportedClass = !1), y = y || "col-xl-" + s.columnInMD, s.columnInLG = parseInt(y.replace("col-xl-", ""), 10), s.displayWidthInLG = s.columnInLG / 3, [1, 2, 3, 4].includes(s.displayWidthInLG) || (s.isSupportedClass = !1), E = E || "col-el-" + s.columnInLG, s.columnInEL = parseInt(E.replace("col-el-", ""), 10), s.displayWidthInEL = s.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(s.displayWidthInEL) || (s.isSupportedClass = !1);
1086
1086
  }
1087
1087
  function r(p, s, m, d = !1) {
1088
1088
  let f = !1;
@@ -1092,8 +1092,8 @@ function Jo(t) {
1092
1092
  return;
1093
1093
  }
1094
1094
  f && (m += 1, f = !1);
1095
- const C = v.appearance && v.appearance.class, F = new Yo();
1096
- C ? a(C, F) : F.isSupportedClass = !1, F.label = v.label || v.id, F.id = v.id, F.group = m, d && (F.fieldSetId = p.id), n === v.id && (e = m), o.set(v.id, v), s.push(F);
1095
+ const y = v.appearance && v.appearance.class, E = new Yo();
1096
+ y ? a(y, E) : E.isSupportedClass = !1, E.label = v.label || v.id, E.id = v.id, E.group = m, d && (E.fieldSetId = p.id), n === v.id && (e = m), o.set(v.id, v), s.push(E);
1097
1097
  });
1098
1098
  }
1099
1099
  function c(p) {
@@ -1111,11 +1111,11 @@ function Jo(t) {
1111
1111
  n = p.id, i = [], o.clear();
1112
1112
  const v = f.contents[0].type === en.fieldset.type ? 0 : 1;
1113
1113
  r(f, i, v);
1114
- const C = i.find((M) => !M.isSupportedClass);
1114
+ const y = i.find((B) => !B.isSupportedClass);
1115
1115
  return {
1116
1116
  defaultState: {
1117
1117
  defaultGroupNumber: e || 1,
1118
- model: C ? "customize" : "standard"
1118
+ model: y ? "customize" : "standard"
1119
1119
  },
1120
1120
  importData: i
1121
1121
  };
@@ -1127,17 +1127,17 @@ function Jo(t) {
1127
1127
  return "";
1128
1128
  const f = [];
1129
1129
  return p.forEach((v) => {
1130
- var M;
1131
- const C = o.get(v.id), F = C.appearance && C.appearance.class;
1132
- if (F) {
1133
- const N = F.split(" ").filter((z) => !z.startsWith("col-")), T = "col-" + v.columnInSM, g = "col-md-" + v.columnInMD, w = "col-xl-" + v.columnInLG, E = "col-el-" + v.columnInEL, k = [T, g, w, E].concat(N);
1134
- C.appearance.class = k.join(" ");
1130
+ var B;
1131
+ const y = o.get(v.id), E = y.appearance && y.appearance.class;
1132
+ if (E) {
1133
+ const N = E.split(" ").filter((z) => !z.startsWith("col-")), T = "col-" + v.columnInSM, h = "col-md-" + v.columnInMD, w = "col-xl-" + v.columnInLG, F = "col-el-" + v.columnInEL, M = [T, h, w, F].concat(N);
1134
+ y.appearance.class = M.join(" ");
1135
1135
  }
1136
1136
  if (v.fieldSetId) {
1137
- const L = d.contents.find((T) => T.id === v.fieldSetId), N = f.find((T) => T.id === v.fieldSetId);
1138
- N ? (M = N.contents) == null || M.push(C) : (f.push(L), L.contents = [C]);
1137
+ const A = d.contents.find((T) => T.id === v.fieldSetId), N = f.find((T) => T.id === v.fieldSetId);
1138
+ N ? (B = N.contents) == null || B.push(y) : (f.push(A), A.contents = [y]);
1139
1139
  } else
1140
- f.push(C);
1140
+ f.push(y);
1141
1141
  }), d.contents = f, d.id;
1142
1142
  }
1143
1143
  return {
@@ -1201,11 +1201,11 @@ var Qo = { exports: {} };
1201
1201
  2: [function(n, o, i) {
1202
1202
  (function(a) {
1203
1203
  var r = n("contra/emitter"), c = n("crossvent"), l = n("./classes"), u = document, p = u.documentElement;
1204
- function s(h, S) {
1204
+ function s(g, S) {
1205
1205
  var I = arguments.length;
1206
- I === 1 && Array.isArray(h) === !1 && (S = h, h = []);
1207
- var O, B, H, Q, D, V, _, q, te, ge = null, he, J, ie = !1, ue = 0, ne, W = S || {};
1208
- W.moves === void 0 && (W.moves = M), W.accepts === void 0 && (W.accepts = M), W.invalid === void 0 && (W.invalid = it), W.containers === void 0 && (W.containers = h || []), W.isContainer === void 0 && (W.isContainer = F), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = u.body);
1206
+ I === 1 && Array.isArray(g) === !1 && (S = g, g = []);
1207
+ var k, D, L, J, O, V, _, q, te, ge = null, he, Q, ie = !1, ue = 0, ne, W = S || {};
1208
+ W.moves === void 0 && (W.moves = B), W.accepts === void 0 && (W.accepts = B), W.invalid === void 0 && (W.invalid = it), W.containers === void 0 && (W.containers = g || []), W.isContainer === void 0 && (W.isContainer = E), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = u.body);
1209
1209
  var oe = r({
1210
1210
  containers: W.containers,
1211
1211
  start: Te,
@@ -1216,7 +1216,7 @@ var Qo = { exports: {} };
1216
1216
  canMove: Ne,
1217
1217
  dragging: !1
1218
1218
  });
1219
- return W.removeOnSpill === !0 && oe.on("over", Bt).on("out", kt), Oe(), oe;
1219
+ return W.removeOnSpill === !0 && oe.on("over", Mt).on("out", kt), Oe(), oe;
1220
1220
  function He(x) {
1221
1221
  return oe.containers.indexOf(x) !== -1 || W.isContainer(x);
1222
1222
  }
@@ -1239,11 +1239,11 @@ var Qo = { exports: {} };
1239
1239
  he && x.preventDefault();
1240
1240
  }
1241
1241
  function re(x) {
1242
- Q = x.clientX, D = x.clientY;
1242
+ J = x.clientX, O = x.clientY;
1243
1243
  var $ = v(x) !== 1 || x.metaKey || x.ctrlKey;
1244
1244
  if (!$) {
1245
- var A = x.target, G = Ve(A);
1246
- G && (he = G, Se(), x.type === "mousedown" && (g(A) ? A.focus() : x.preventDefault()));
1245
+ var H = x.target, G = Ve(H);
1246
+ G && (he = G, Se(), x.type === "mousedown" && (h(H) ? H.focus() : x.preventDefault()));
1247
1247
  }
1248
1248
  }
1249
1249
  function ot(x) {
@@ -1252,29 +1252,29 @@ var Qo = { exports: {} };
1252
1252
  De({});
1253
1253
  return;
1254
1254
  }
1255
- if (!(x.clientX !== void 0 && Math.abs(x.clientX - Q) <= (W.slideFactorX || 0) && x.clientY !== void 0 && Math.abs(x.clientY - D) <= (W.slideFactorY || 0))) {
1255
+ if (!(x.clientX !== void 0 && Math.abs(x.clientX - J) <= (W.slideFactorX || 0) && x.clientY !== void 0 && Math.abs(x.clientY - O) <= (W.slideFactorY || 0))) {
1256
1256
  if (W.ignoreInputTextSelection) {
1257
- var $ = z("clientX", x) || 0, A = z("clientY", x) || 0, G = u.elementFromPoint($, A);
1258
- if (g(G))
1257
+ var $ = z("clientX", x) || 0, H = z("clientY", x) || 0, G = u.elementFromPoint($, H);
1258
+ if (h(G))
1259
1259
  return;
1260
1260
  }
1261
1261
  var K = he;
1262
- Se(!0), Ze(), qe(), Re(K), l.add(q || H, "gu-transit"), Pt(), It(), ue = 0, Ie(x);
1262
+ Se(!0), Ze(), qe(), Re(K), l.add(q || L, "gu-transit"), Pt(), It(), ue = 0, Ie(x);
1263
1263
  }
1264
1264
  }
1265
1265
  }
1266
1266
  function Ve(x) {
1267
- if (!(oe.dragging && O) && !He(x)) {
1267
+ if (!(oe.dragging && k) && !He(x)) {
1268
1268
  for (var $ = x; T(x) && He(T(x)) === !1; )
1269
1269
  if (W.invalid(x, $) || (x = T(x), !x))
1270
1270
  return;
1271
- var A = T(x);
1272
- if (A && !W.invalid(x, $)) {
1273
- var G = W.moves(x, A, $, E(x));
1271
+ var H = T(x);
1272
+ if (H && !W.invalid(x, $)) {
1273
+ var G = W.moves(x, H, $, F(x));
1274
1274
  if (G)
1275
1275
  return {
1276
1276
  item: x,
1277
- source: A
1277
+ source: H
1278
1278
  };
1279
1279
  }
1280
1280
  }
@@ -1287,14 +1287,14 @@ var Qo = { exports: {} };
1287
1287
  $ && Re($);
1288
1288
  }
1289
1289
  function Re(x) {
1290
- jt(x.item, x.source) && (q = x.item.cloneNode(!0), oe.emit("cloned", q, x.item, "copy")), B = x.source, H = x.item, V = _ = E(x.item), oe.dragging = !0, oe.emit("drag", H, B);
1290
+ jt(x.item, x.source) && (q = x.item.cloneNode(!0), oe.emit("cloned", q, x.item, "copy")), D = x.source, L = x.item, V = _ = F(x.item), oe.dragging = !0, oe.emit("drag", L, D);
1291
1291
  }
1292
1292
  function it() {
1293
1293
  return !1;
1294
1294
  }
1295
1295
  function qe() {
1296
1296
  if (oe.dragging) {
1297
- var x = q || H;
1297
+ var x = q || L;
1298
1298
  et(x, T(x));
1299
1299
  }
1300
1300
  }
@@ -1303,35 +1303,35 @@ var Qo = { exports: {} };
1303
1303
  }
1304
1304
  function De(x) {
1305
1305
  if (ke(), !!oe.dragging) {
1306
- var $ = q || H, A = z("clientX", x) || 0, G = z("clientY", x) || 0, K = C(O, A, G), ee = ce(K, A, G);
1307
- ee && (q && W.copySortSource || !q || ee !== B) ? et($, ee) : W.removeOnSpill ? tt() : P();
1306
+ var $ = q || L, H = z("clientX", x) || 0, G = z("clientY", x) || 0, K = y(k, H, G), ee = ce(K, H, G);
1307
+ ee && (q && W.copySortSource || !q || ee !== D) ? et($, ee) : W.removeOnSpill ? tt() : P();
1308
1308
  }
1309
1309
  }
1310
1310
  function et(x, $) {
1311
- var A = T(x);
1312
- q && W.copySortSource && $ === B && A.removeChild(H), le($) ? oe.emit("cancel", x, B) : oe.emit("drop", x, $, B, _), Z();
1311
+ var H = T(x);
1312
+ q && W.copySortSource && $ === D && H.removeChild(L), le($) ? oe.emit("cancel", x, D) : oe.emit("drop", x, $, D, _), Z();
1313
1313
  }
1314
1314
  function tt() {
1315
1315
  if (oe.dragging) {
1316
- var x = q || H, $ = T(x);
1317
- $ && $.removeChild(x), oe.emit(q ? "cancel" : "remove", x, $, B), Z();
1316
+ var x = q || L, $ = T(x);
1317
+ $ && $.removeChild(x), oe.emit(q ? "cancel" : "remove", x, $, D), Z();
1318
1318
  }
1319
1319
  }
1320
1320
  function P(x) {
1321
1321
  if (oe.dragging) {
1322
- var $ = arguments.length > 0 ? x : W.revertOnSpill, A = q || H, G = T(A), K = le(G);
1323
- K === !1 && $ && (q ? G && G.removeChild(q) : B.insertBefore(A, V)), K || $ ? oe.emit("cancel", A, B, B) : oe.emit("drop", A, G, B, _), Z();
1322
+ var $ = arguments.length > 0 ? x : W.revertOnSpill, H = q || L, G = T(H), K = le(G);
1323
+ K === !1 && $ && (q ? G && G.removeChild(q) : D.insertBefore(H, V)), K || $ ? oe.emit("cancel", H, D, D) : oe.emit("drop", H, G, D, _), Z();
1324
1324
  }
1325
1325
  }
1326
1326
  function Z() {
1327
- var x = q || H;
1328
- ke(), Ot(), Vt(), x && l.rm(x, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ge && oe.emit("out", x, ge, B), oe.emit("dragend", x, ue), B = H = q = V = _ = te = ge = null;
1327
+ var x = q || L;
1328
+ ke(), Ot(), Vt(), x && l.rm(x, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, ge && oe.emit("out", x, ge, D), oe.emit("dragend", x, ue), D = L = q = V = _ = te = ge = null;
1329
1329
  }
1330
1330
  function le(x, $) {
1331
- var A;
1332
- return $ !== void 0 ? A = $ : O ? A = _ : A = E(q || H), x === B && A === V;
1331
+ var H;
1332
+ return $ !== void 0 ? H = $ : k ? H = _ : H = F(q || L), x === D && H === V;
1333
1333
  }
1334
- function ce(x, $, A) {
1334
+ function ce(x, $, H) {
1335
1335
  for (var G = x; G && !K(); )
1336
1336
  G = T(G);
1337
1337
  return G;
@@ -1339,35 +1339,35 @@ var Qo = { exports: {} };
1339
1339
  var ee = He(G);
1340
1340
  if (ee === !1)
1341
1341
  return !1;
1342
- var xe = dt(G, x), ye = ft(G, xe, $, A), be = le(G, ye);
1343
- return be ? !0 : W.accepts(H, G, B, ye);
1342
+ var xe = dt(G, x), ye = ft(G, xe, $, H), be = le(G, ye);
1343
+ return be ? !0 : W.accepts(L, G, D, ye);
1344
1344
  }
1345
1345
  }
1346
1346
  function Ie(x) {
1347
- if (!O)
1347
+ if (!k)
1348
1348
  return;
1349
1349
  x.preventDefault();
1350
- var $ = z("clientX", x) || 0, A = z("clientY", x) || 0;
1351
- O.style.left = $ - 2 + "px", O.style.top = A - 2 + "px";
1352
- var G = q || H, K = C(O, $, A), ee = ce(K, $, A), xe = ee !== null && ee !== ge;
1353
- (xe || ee === null) && (Ce(), ge = ee, Fe()), $t(K, A);
1350
+ var $ = z("clientX", x) || 0, H = z("clientY", x) || 0;
1351
+ k.style.left = $ - 2 + "px", k.style.top = H - 2 + "px";
1352
+ var G = q || L, K = y(k, $, H), ee = ce(K, $, H), xe = ee !== null && ee !== ge;
1353
+ (xe || ee === null) && (Ce(), ge = ee, Fe()), $t(K, H);
1354
1354
  var ye = T(G);
1355
- if (ee === B && q && !W.copySortSource) {
1355
+ if (ee === D && q && !W.copySortSource) {
1356
1356
  ye && ye.removeChild(G);
1357
1357
  return;
1358
1358
  }
1359
1359
  var be, Ee = dt(ee, K);
1360
1360
  if (ie = at(Ee, ee), Ee !== null)
1361
- be = ft(ee, Ee, $, A);
1361
+ be = ft(ee, Ee, $, H);
1362
1362
  else if (W.revertOnSpill === !0 && !q)
1363
- be = V, ee = B;
1363
+ be = V, ee = D;
1364
1364
  else {
1365
- q && ye && ye.removeChild(G), q && J && (J.style.display = "none");
1365
+ q && ye && ye.removeChild(G), q && Q && (Q.style.display = "none");
1366
1366
  return;
1367
1367
  }
1368
- J.style.display = "block", Mt(be, G, xe), be ? Rt(Ee, be) : Dt(ee);
1368
+ Q.style.display = "block", Bt(be, G, xe), be ? Rt(Ee, be) : Dt(ee);
1369
1369
  function de(me) {
1370
- oe.emit(me, G, ge, B);
1370
+ oe.emit(me, G, ge, D);
1371
1371
  }
1372
1372
  function Fe() {
1373
1373
  xe && de("over");
@@ -1376,41 +1376,41 @@ var Qo = { exports: {} };
1376
1376
  ge && de("out");
1377
1377
  }
1378
1378
  }
1379
- function Mt(x, $, A) {
1380
- (x === $ || x === E($)) && (_ = E($)), (x === null && A || x !== $ && x !== E($)) && (_ = x);
1379
+ function Bt(x, $, H) {
1380
+ (x === $ || x === F($)) && (_ = F($)), (x === null && H || x !== $ && x !== F($)) && (_ = x);
1381
1381
  }
1382
- function Bt(x) {
1382
+ function Mt(x) {
1383
1383
  l.rm(x, "gu-hide");
1384
1384
  }
1385
1385
  function kt(x) {
1386
1386
  oe.dragging && l.add(x, "gu-hide");
1387
1387
  }
1388
1388
  function It() {
1389
- O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = W.getMirrorText && W.getMirrorText(H) || "控件", l.add(O, "gu-mirror"), W.mirrorContainer.appendChild(O), f(p, "add", "mousemove", Ie), l.add(W.mirrorContainer, "gu-unselectable"), oe.emit("cloned", O, H, "mirror"));
1389
+ k || (k = document.createElement("div"), k.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", k.innerHTML = W.getMirrorText && W.getMirrorText(L) || "控件", l.add(k, "gu-mirror"), W.mirrorContainer.appendChild(k), f(p, "add", "mousemove", Ie), l.add(W.mirrorContainer, "gu-unselectable"), oe.emit("cloned", k, L, "mirror"));
1390
1390
  }
1391
1391
  function Pt() {
1392
- if (J = document.createElement("div"), l.add(J, "gu-insertion"), H) {
1393
- var x = H.getBoundingClientRect();
1394
- J.style.left = x.left + "px", J.style.top = x.top + "px";
1392
+ if (Q = document.createElement("div"), l.add(Q, "gu-insertion"), L) {
1393
+ var x = L.getBoundingClientRect();
1394
+ Q.style.left = x.left + "px", Q.style.top = x.top + "px";
1395
1395
  }
1396
- ie = !1, W.mirrorContainer.appendChild(J);
1396
+ ie = !1, W.mirrorContainer.appendChild(Q);
1397
1397
  }
1398
1398
  function Ot() {
1399
- O && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", Ie), T(O).removeChild(O), O = null);
1399
+ k && (l.rm(W.mirrorContainer, "gu-unselectable"), f(p, "remove", "mousemove", Ie), T(k).removeChild(k), k = null);
1400
1400
  }
1401
1401
  function Vt() {
1402
- J && (T(J).removeChild(J), J = null);
1402
+ Q && (T(Q).removeChild(Q), Q = null);
1403
1403
  }
1404
1404
  function dt(x, $) {
1405
- for (var A = $; A !== x && T(A) !== x; )
1406
- A = T(A);
1407
- return A === p ? null : A;
1405
+ for (var H = $; H !== x && T(H) !== x; )
1406
+ H = T(H);
1407
+ return H === p ? null : H;
1408
1408
  }
1409
1409
  function at(x, $) {
1410
1410
  if (!$)
1411
1411
  return ie;
1412
- var A = x || $ && $.lastElementChild;
1413
- if (!A)
1412
+ var H = x || $ && $.lastElementChild;
1413
+ if (!H)
1414
1414
  return !0;
1415
1415
  var G = getComputedStyle(x), K = /^inline/.test(G.getPropertyValue("display")) || /^(left|right)$/.test(G.getPropertyValue("float"));
1416
1416
  if (K)
@@ -1442,160 +1442,160 @@ var Qo = { exports: {} };
1442
1442
  return !0;
1443
1443
  }
1444
1444
  function Rt(x, $) {
1445
- const A = $.getBoundingClientRect();
1446
- if (J.style.left = A.left + "px", J.style.top = A.top + "px", ie) {
1447
- if (J.style.height = A.height + "px", J.style.width = "4px", x) {
1445
+ const H = $.getBoundingClientRect();
1446
+ if (Q.style.left = H.left + "px", Q.style.top = H.top + "px", ie) {
1447
+ if (Q.style.height = H.height + "px", Q.style.width = "4px", x) {
1448
1448
  const G = x.getBoundingClientRect();
1449
- G.top !== A.top && (J.style.left = G.right + "px", J.style.top = G.top + "px", J.style.height = G.height + "px");
1449
+ G.top !== H.top && (Q.style.left = G.right + "px", Q.style.top = G.top + "px", Q.style.height = G.height + "px");
1450
1450
  }
1451
- } else if (J.style.height = "4px", J.style.width = A.width + "px", ne) {
1451
+ } else if (Q.style.height = "4px", Q.style.width = H.width + "px", ne) {
1452
1452
  const G = ne.getBoundingClientRect();
1453
- A.top < G.top && (J.style.display = "none");
1453
+ H.top < G.top && (Q.style.display = "none");
1454
1454
  }
1455
- $ === H && H && (J.style.display = "none");
1455
+ $ === L && L && (Q.style.display = "none");
1456
1456
  }
1457
1457
  function Dt(x) {
1458
1458
  _ = null;
1459
1459
  var $ = x.lastElementChild;
1460
1460
  if ($) {
1461
- var A = $.getBoundingClientRect();
1462
- ie ? (J.style.left = A.right + "px", J.style.top = A.top + "px", J.style.height = A.height + "px", J.style.width = "4px") : (J.style.left = A.left + "px", J.style.top = A.bottom + "px", J.style.height = "4px", J.style.width = A.width + "px"), $ === H && H && (J.style.display = "none");
1461
+ var H = $.getBoundingClientRect();
1462
+ ie ? (Q.style.left = H.right + "px", Q.style.top = H.top + "px", Q.style.height = H.height + "px", Q.style.width = "4px") : (Q.style.left = H.left + "px", Q.style.top = H.bottom + "px", Q.style.height = "4px", Q.style.width = H.width + "px"), $ === L && L && (Q.style.display = "none");
1463
1463
  } else
1464
- J.style.display = "none";
1464
+ Q.style.display = "none";
1465
1465
  }
1466
1466
  function $t(x, $) {
1467
1467
  if (!W.mirrorContainer.contains(x) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ne = m(x), !ne || !ne.contains(x)))
1468
1468
  return;
1469
- const A = document.querySelector(".dgComponentSelected"), G = ne.getBoundingClientRect();
1469
+ const H = document.querySelector(".dgComponentSelected"), G = ne.getBoundingClientRect();
1470
1470
  if ($ - 30 < G.top && ne.scrollTop > 0) {
1471
1471
  let K = ne.scrollTop < 10 ? ne.scrollTop : 10;
1472
- ne.scrollBy(0, -1 * K), A && ne.contains(A) && (ue = ue + -1 * K);
1472
+ ne.scrollBy(0, -1 * K), H && ne.contains(H) && (ue = ue + -1 * K);
1473
1473
  }
1474
1474
  if ($ + 30 > G.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
1475
1475
  const K = ne.scrollHeight - ne.clientHeight - ne.scrollTop;
1476
1476
  let ee = K < 10 ? K : 10;
1477
- ne.scrollBy(0, ee), A && ne.contains(A) && (ue = ue + ee);
1477
+ ne.scrollBy(0, ee), H && ne.contains(H) && (ue = ue + ee);
1478
1478
  }
1479
1479
  }
1480
- function ft(x, $, A, G) {
1480
+ function ft(x, $, H, G) {
1481
1481
  var K = W.direction === "horizontal", ee = W.direction === "mixed", xe = $ !== x ? be() : ye();
1482
1482
  return xe;
1483
1483
  function ye() {
1484
1484
  var de = x.children.length, Fe, Ce, me;
1485
1485
  for (Fe = 0; Fe < de; Fe++)
1486
- if (Ce = x.children[Fe], me = Ce.getBoundingClientRect(), K && me.left + me.width / 2 > A || !ee && !K && me.top + me.height / 2 > G || ee && me.left + me.width > A && me.top + me.height > G)
1486
+ if (Ce = x.children[Fe], me = Ce.getBoundingClientRect(), K && me.left + me.width / 2 > H || !ee && !K && me.top + me.height / 2 > G || ee && me.left + me.width > H && me.top + me.height > G)
1487
1487
  return Ce;
1488
1488
  return null;
1489
1489
  }
1490
1490
  function be() {
1491
1491
  var de = $.getBoundingClientRect();
1492
1492
  if (ee) {
1493
- var Fe = G - de.top, Ce = A - de.left, me = de.bottom - G, rt = de.right - A, lt = Math.min(Ce, rt, Fe, me), st;
1493
+ var Fe = G - de.top, Ce = H - de.left, me = de.bottom - G, rt = de.right - H, lt = Math.min(Ce, rt, Fe, me), st;
1494
1494
  return ie ? st = rt < Ce : st = me === lt || rt === lt || Ce === lt, Ee(st);
1495
1495
  }
1496
- return Ee(K ? A > de.left + L(de) / 2 : G > de.top + N(de) / 2);
1496
+ return Ee(K ? H > de.left + A(de) / 2 : G > de.top + N(de) / 2);
1497
1497
  }
1498
1498
  function Ee(de) {
1499
- return de ? E($) : $;
1499
+ return de ? F($) : $;
1500
1500
  }
1501
1501
  }
1502
1502
  function jt(x, $) {
1503
1503
  return typeof W.copy == "boolean" ? W.copy : W.copy(x, $);
1504
1504
  }
1505
1505
  }
1506
- function m(h) {
1506
+ function m(g) {
1507
1507
  const S = Array.from(window.scrollContainerList);
1508
1508
  if (S.length === 1) {
1509
- const O = Array.from(window.scrollContainerList)[0];
1510
- return document.getElementById(O);
1509
+ const k = Array.from(window.scrollContainerList)[0];
1510
+ return document.getElementById(k);
1511
1511
  }
1512
1512
  const I = d(S);
1513
- for (const O of I)
1514
- if (O.contains(h))
1515
- return O;
1513
+ for (const k of I)
1514
+ if (k.contains(g))
1515
+ return k;
1516
1516
  return null;
1517
1517
  }
1518
- function d(h) {
1518
+ function d(g) {
1519
1519
  const S = [];
1520
- return h.forEach((I) => {
1521
- const O = document.getElementById(I);
1522
- O && S.push(O);
1523
- }), S.sort((I, O) => I.contains(O) ? 1 : O.contains(I) ? -1 : 0), S;
1520
+ return g.forEach((I) => {
1521
+ const k = document.getElementById(I);
1522
+ k && S.push(k);
1523
+ }), S.sort((I, k) => I.contains(k) ? 1 : k.contains(I) ? -1 : 0), S;
1524
1524
  }
1525
- function f(h, S, I, O) {
1526
- var B = {
1525
+ function f(g, S, I, k) {
1526
+ var D = {
1527
1527
  mouseup: "touchend",
1528
1528
  mousedown: "touchstart",
1529
1529
  mousemove: "touchmove"
1530
- }, H = {
1530
+ }, L = {
1531
1531
  mouseup: "pointerup",
1532
1532
  mousedown: "pointerdown",
1533
1533
  mousemove: "pointermove"
1534
- }, Q = {
1534
+ }, J = {
1535
1535
  mouseup: "MSPointerUp",
1536
1536
  mousedown: "MSPointerDown",
1537
1537
  mousemove: "MSPointerMove"
1538
1538
  };
1539
- a.navigator.pointerEnabled ? c[S](h, H[I], O) : a.navigator.msPointerEnabled ? c[S](h, Q[I], O) : (c[S](h, B[I], O), c[S](h, I, O));
1539
+ a.navigator.pointerEnabled ? c[S](g, L[I], k) : a.navigator.msPointerEnabled ? c[S](g, J[I], k) : (c[S](g, D[I], k), c[S](g, I, k));
1540
1540
  }
1541
- function v(h) {
1542
- if (h.touches !== void 0)
1543
- return h.touches.length;
1544
- if (h.which !== void 0 && h.which !== 0)
1545
- return h.which;
1546
- if (h.buttons !== void 0)
1547
- return h.buttons;
1548
- var S = h.button;
1541
+ function v(g) {
1542
+ if (g.touches !== void 0)
1543
+ return g.touches.length;
1544
+ if (g.which !== void 0 && g.which !== 0)
1545
+ return g.which;
1546
+ if (g.buttons !== void 0)
1547
+ return g.buttons;
1548
+ var S = g.button;
1549
1549
  if (S !== void 0)
1550
1550
  return S & 1 ? 1 : S & 2 ? 3 : S & 4 ? 2 : 0;
1551
1551
  }
1552
- function C(h, S, I) {
1553
- h = h || {};
1554
- var O = h.className || "", B;
1555
- return h.className += " gu-hide", B = u.elementFromPoint(S, I), h.className = O, B;
1552
+ function y(g, S, I) {
1553
+ g = g || {};
1554
+ var k = g.className || "", D;
1555
+ return g.className += " gu-hide", D = u.elementFromPoint(S, I), g.className = k, D;
1556
1556
  }
1557
- function F() {
1557
+ function E() {
1558
1558
  return !1;
1559
1559
  }
1560
- function M() {
1560
+ function B() {
1561
1561
  return !0;
1562
1562
  }
1563
- function L(h) {
1564
- return h.width || h.right - h.left;
1563
+ function A(g) {
1564
+ return g.width || g.right - g.left;
1565
1565
  }
1566
- function N(h) {
1567
- return h.height || h.bottom - h.top;
1566
+ function N(g) {
1567
+ return g.height || g.bottom - g.top;
1568
1568
  }
1569
- function T(h) {
1570
- return h.parentNode === u ? null : h.parentNode;
1569
+ function T(g) {
1570
+ return g.parentNode === u ? null : g.parentNode;
1571
1571
  }
1572
- function g(h) {
1573
- return h.tagName === "INPUT" || h.tagName === "TEXTAREA" || h.tagName === "SELECT" || w(h);
1572
+ function h(g) {
1573
+ return g.tagName === "INPUT" || g.tagName === "TEXTAREA" || g.tagName === "SELECT" || w(g);
1574
1574
  }
1575
- function w(h) {
1576
- return !h || h.contentEditable === "false" ? !1 : h.contentEditable === "true" ? !0 : w(T(h));
1575
+ function w(g) {
1576
+ return !g || g.contentEditable === "false" ? !1 : g.contentEditable === "true" ? !0 : w(T(g));
1577
1577
  }
1578
- function E(h) {
1579
- return h.nextElementSibling || S();
1578
+ function F(g) {
1579
+ return g.nextElementSibling || S();
1580
1580
  function S() {
1581
- var I = h;
1581
+ var I = g;
1582
1582
  do
1583
1583
  I = I.nextSibling;
1584
1584
  while (I && I.nodeType !== 1);
1585
1585
  return I;
1586
1586
  }
1587
1587
  }
1588
- function k(h) {
1589
- return h.targetTouches && h.targetTouches.length ? h.targetTouches[0] : h.changedTouches && h.changedTouches.length ? h.changedTouches[0] : h;
1588
+ function M(g) {
1589
+ return g.targetTouches && g.targetTouches.length ? g.targetTouches[0] : g.changedTouches && g.changedTouches.length ? g.changedTouches[0] : g;
1590
1590
  }
1591
- function z(h, S) {
1592
- var I = k(S), O = {
1591
+ function z(g, S) {
1592
+ var I = M(S), k = {
1593
1593
  pageX: "clientX",
1594
1594
  // IE8
1595
1595
  pageY: "clientY"
1596
1596
  // IE8
1597
1597
  };
1598
- return h in O && !(h in I) && O[h] in I && (h = O[h]), I[h];
1598
+ return g in k && !(g in I) && k[g] in I && (g = k[g]), I[g];
1599
1599
  }
1600
1600
  o.exports = s;
1601
1601
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -1643,8 +1643,8 @@ var Qo = { exports: {} };
1643
1643
  var f = a(arguments), v = this || l;
1644
1644
  if (m === "error" && p.throws !== !1 && !d.length)
1645
1645
  throw f.length === 1 ? f[0] : f;
1646
- return d.forEach(function(F) {
1647
- p.async ? r(F, f, v) : F.apply(v, f), F._once && l.off(m, F);
1646
+ return d.forEach(function(E) {
1647
+ p.async ? r(E, f, v) : E.apply(v, f), E._once && l.off(m, E);
1648
1648
  }), l;
1649
1649
  };
1650
1650
  }, l;
@@ -1656,36 +1656,36 @@ var Qo = { exports: {} };
1656
1656
  a.addEventListener || (u = d, p = v), o.exports = {
1657
1657
  add: u,
1658
1658
  remove: p,
1659
- fabricate: C
1659
+ fabricate: y
1660
1660
  };
1661
- function m(T, g, w, E) {
1662
- return T.addEventListener(g, w, E);
1661
+ function m(T, h, w, F) {
1662
+ return T.addEventListener(h, w, F);
1663
1663
  }
1664
- function d(T, g, w) {
1665
- return T.attachEvent("on" + g, M(T, g, w));
1664
+ function d(T, h, w) {
1665
+ return T.attachEvent("on" + h, B(T, h, w));
1666
1666
  }
1667
- function f(T, g, w, E) {
1668
- return T.removeEventListener(g, w, E);
1667
+ function f(T, h, w, F) {
1668
+ return T.removeEventListener(h, w, F);
1669
1669
  }
1670
- function v(T, g, w) {
1671
- var E = L(T, g, w);
1672
- if (E)
1673
- return T.detachEvent("on" + g, E);
1670
+ function v(T, h, w) {
1671
+ var F = A(T, h, w);
1672
+ if (F)
1673
+ return T.detachEvent("on" + h, F);
1674
1674
  }
1675
- function C(T, g, w) {
1676
- var E = c.indexOf(g) === -1 ? z() : k();
1677
- T.dispatchEvent ? T.dispatchEvent(E) : T.fireEvent("on" + g, E);
1678
- function k() {
1679
- var h;
1680
- return l.createEvent ? (h = l.createEvent("Event"), h.initEvent(g, !0, !0)) : l.createEventObject && (h = l.createEventObject()), h;
1675
+ function y(T, h, w) {
1676
+ var F = c.indexOf(h) === -1 ? z() : M();
1677
+ T.dispatchEvent ? T.dispatchEvent(F) : T.fireEvent("on" + h, F);
1678
+ function M() {
1679
+ var g;
1680
+ return l.createEvent ? (g = l.createEvent("Event"), g.initEvent(h, !0, !0)) : l.createEventObject && (g = l.createEventObject()), g;
1681
1681
  }
1682
1682
  function z() {
1683
- return new r(g, { detail: w });
1683
+ return new r(h, { detail: w });
1684
1684
  }
1685
1685
  }
1686
- function F(T, g, w) {
1687
- return function(k) {
1688
- var z = k || a.event;
1686
+ function E(T, h, w) {
1687
+ return function(M) {
1688
+ var z = M || a.event;
1689
1689
  z.target = z.target || z.srcElement, z.preventDefault = z.preventDefault || function() {
1690
1690
  z.returnValue = !1;
1691
1691
  }, z.stopPropagation = z.stopPropagation || function() {
@@ -1693,27 +1693,27 @@ var Qo = { exports: {} };
1693
1693
  }, z.which = z.which || z.keyCode, w.call(T, z);
1694
1694
  };
1695
1695
  }
1696
- function M(T, g, w) {
1697
- var E = L(T, g, w) || F(T, g, w);
1696
+ function B(T, h, w) {
1697
+ var F = A(T, h, w) || E(T, h, w);
1698
1698
  return s.push({
1699
- wrapper: E,
1699
+ wrapper: F,
1700
1700
  element: T,
1701
- type: g,
1701
+ type: h,
1702
1702
  fn: w
1703
- }), E;
1703
+ }), F;
1704
1704
  }
1705
- function L(T, g, w) {
1706
- var E = N(T, g, w);
1707
- if (E) {
1708
- var k = s[E].wrapper;
1709
- return s.splice(E, 1), k;
1705
+ function A(T, h, w) {
1706
+ var F = N(T, h, w);
1707
+ if (F) {
1708
+ var M = s[F].wrapper;
1709
+ return s.splice(F, 1), M;
1710
1710
  }
1711
1711
  }
1712
- function N(T, g, w) {
1713
- var E, k;
1714
- for (E = 0; E < s.length; E++)
1715
- if (k = s[E], k.element === T && k.type === g && k.fn === w)
1716
- return E;
1712
+ function N(T, h, w) {
1713
+ var F, M;
1714
+ for (F = 0; F < s.length; F++)
1715
+ if (M = s[F], M.element === T && M.type === h && M.fn === w)
1716
+ return F;
1717
1717
  }
1718
1718
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
1719
1719
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -1802,12 +1802,12 @@ var Qo = { exports: {} };
1802
1802
  }
1803
1803
  }
1804
1804
  var m = [], d = !1, f, v = -1;
1805
- function C() {
1806
- !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && F());
1805
+ function y() {
1806
+ !d || !f || (d = !1, f.length ? m = f.concat(m) : v = -1, m.length && E());
1807
1807
  }
1808
- function F() {
1808
+ function E() {
1809
1809
  if (!d) {
1810
- var N = p(C);
1810
+ var N = p(y);
1811
1811
  d = !0;
1812
1812
  for (var T = m.length; T; ) {
1813
1813
  for (f = m, m = []; ++v < T; )
@@ -1820,19 +1820,19 @@ var Qo = { exports: {} };
1820
1820
  a.nextTick = function(N) {
1821
1821
  var T = new Array(arguments.length - 1);
1822
1822
  if (arguments.length > 1)
1823
- for (var g = 1; g < arguments.length; g++)
1824
- T[g - 1] = arguments[g];
1825
- m.push(new M(N, T)), m.length === 1 && !d && p(F);
1823
+ for (var h = 1; h < arguments.length; h++)
1824
+ T[h - 1] = arguments[h];
1825
+ m.push(new B(N, T)), m.length === 1 && !d && p(E);
1826
1826
  };
1827
- function M(N, T) {
1827
+ function B(N, T) {
1828
1828
  this.fun = N, this.array = T;
1829
1829
  }
1830
- M.prototype.run = function() {
1830
+ B.prototype.run = function() {
1831
1831
  this.fun.apply(null, this.array);
1832
1832
  }, a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.version = "", a.versions = {};
1833
- function L() {
1833
+ function A() {
1834
1834
  }
1835
- a.on = L, a.addListener = L, a.once = L, a.off = L, a.removeListener = L, a.removeAllListeners = L, a.emit = L, a.prependListener = L, a.prependOnceListener = L, a.listeners = function(N) {
1835
+ a.on = A, a.addListener = A, a.once = A, a.off = A, a.removeListener = A, a.removeAllListeners = A, a.emit = A, a.prependListener = A, a.prependOnceListener = A, a.listeners = function(N) {
1836
1836
  return [];
1837
1837
  }, a.binding = function(N) {
1838
1838
  throw new Error("process.binding is not supported");
@@ -1910,7 +1910,7 @@ const Zo = {
1910
1910
  showCloseButton: { type: Boolean, default: !0 },
1911
1911
  animate: { type: String, default: "fadeIn" },
1912
1912
  options: { type: Object }
1913
- }, Ht = /* @__PURE__ */ Be({
1913
+ }, Ht = /* @__PURE__ */ Me({
1914
1914
  name: "Toast",
1915
1915
  props: Ko,
1916
1916
  emits: ["close", "click"],
@@ -1918,7 +1918,7 @@ const Zo = {
1918
1918
  const {
1919
1919
  locale: n,
1920
1920
  t: o
1921
- } = Ut(), i = y(t.animate), a = "fadeOut", r = R(() => t.options), c = y(!1), l = R(() => r.value.title && r.value.message), u = R(() => !r.value.title && r.value.message), p = R(() => {
1921
+ } = Ut(), i = b(t.animate), a = "fadeOut", r = R(() => t.options), c = b(!1), l = R(() => r.value.title && r.value.message), u = R(() => !r.value.title && r.value.message), p = R(() => {
1922
1922
  const N = {
1923
1923
  animated: c.value,
1924
1924
  toast: !0,
@@ -1926,75 +1926,75 @@ const Zo = {
1926
1926
  };
1927
1927
  return N[t.animate] = !1, N[a] = c.value, N["toasty-type-" + r.value.type] = !0, r.value.theme && (N[r.value.theme] = !0), N;
1928
1928
  }), s = R(() => {
1929
- const g = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, w = {
1929
+ const h = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, w = {
1930
1930
  "f-icon": !0
1931
1931
  };
1932
- return w[g] = !0, w;
1932
+ return w[h] = !0, w;
1933
1933
  }), m = R(() => r.value.title || r.value.message), d = R(() => t.showCloseButton), f = R(() => !!r.value.buttons || !!e.slots.default), v = R(() => n.value === "en" ? {
1934
1934
  wordBreak: "keep-all",
1935
1935
  overflowWrap: "break-word"
1936
1936
  } : {});
1937
- function C(N) {
1937
+ function y(N) {
1938
1938
  N.stopPropagation(), N.preventDefault(), c.value = !1, setTimeout(() => {
1939
1939
  e.emit("close", r.value);
1940
1940
  }, 200);
1941
1941
  }
1942
- function F(N, T) {
1942
+ function E(N, T) {
1943
1943
  }
1944
- function M(N) {
1944
+ function B(N) {
1945
1945
  return `f-preten-link ${N.customClass ? N.customClass : ""}`;
1946
1946
  }
1947
1947
  se(i, () => {
1948
1948
  i.value;
1949
1949
  });
1950
- const L = () => {
1950
+ const A = () => {
1951
1951
  var N;
1952
- return b(Qe, null, [b("div", {
1952
+ return C(Qe, null, [C("div", {
1953
1953
  class: "after-toast-msg text-right"
1954
- }, [!e.slots.default && ((N = r.value.buttons) == null ? void 0 : N.map((T) => b("span", {
1955
- class: M(T),
1956
- onClick: (g) => void 0
1954
+ }, [!e.slots.default && ((N = r.value.buttons) == null ? void 0 : N.map((T) => C("span", {
1955
+ class: B(T),
1956
+ onClick: (h) => void 0
1957
1957
  }, [T.text]))), e.slots.default && e.slots.default()])]);
1958
1958
  };
1959
- return () => b("div", {
1959
+ return () => C("div", {
1960
1960
  class: p.value,
1961
1961
  style: "min-height:44px"
1962
- }, [d.value && b("button", {
1962
+ }, [d.value && C("button", {
1963
1963
  title: o("messageBox.close"),
1964
1964
  class: "toast-close f-btn-icon f-bare",
1965
- onClick: C
1966
- }, [b("span", {
1965
+ onClick: y
1966
+ }, [C("span", {
1967
1967
  class: "f-icon modal_close"
1968
- }, null)]), m.value && b("section", {
1968
+ }, null)]), m.value && C("section", {
1969
1969
  class: "modal-tips"
1970
- }, [!l.value && b("div", {
1970
+ }, [!l.value && C("div", {
1971
1971
  class: "float-left modal-tips-iconwrap"
1972
- }, [b("span", {
1972
+ }, [C("span", {
1973
1973
  class: s.value
1974
- }, null)]), b("div", {
1974
+ }, null)]), C("div", {
1975
1975
  class: "modal-tips-content"
1976
- }, [l.value && b(Qe, null, [b("h5", {
1976
+ }, [l.value && C(Qe, null, [C("h5", {
1977
1977
  class: "toast-title modal-tips-title",
1978
1978
  innerHTML: r.value.title
1979
- }, null), b("p", {
1979
+ }, null), C("p", {
1980
1980
  class: "toast-msg",
1981
1981
  innerHTML: r.value.message,
1982
1982
  style: v.value
1983
- }, null), f.value && L()]), u.value && (r.value.buttons ? b("div", {
1983
+ }, null), f.value && A()]), u.value && (r.value.buttons ? C("div", {
1984
1984
  class: "toast-title-btns-wrapper d-flex"
1985
- }, [b("h5", {
1985
+ }, [C("h5", {
1986
1986
  class: "toast-title modal-tips-title only-toast-msg",
1987
1987
  style: v.value,
1988
1988
  innerHTML: r.value.message
1989
- }, null), b("div", {
1989
+ }, null), C("div", {
1990
1990
  class: "after-toast-title text-right ml-auto"
1991
- }, [L()])]) : b("h5", {
1991
+ }, [A()])]) : C("h5", {
1992
1992
  class: "toast-title modal-tips-title only-toast-msg",
1993
1993
  style: v.value,
1994
1994
  innerHTML: r.value.message
1995
1995
  }, null))])])]);
1996
1996
  }
1997
- }), gt = /* @__PURE__ */ Be({
1997
+ }), gt = /* @__PURE__ */ Me({
1998
1998
  name: "Notify",
1999
1999
  props: Zo,
2000
2000
  emits: ["close", "empty"],
@@ -2006,7 +2006,7 @@ const Zo = {
2006
2006
  right: 12,
2007
2007
  top: 20,
2008
2008
  bottom: 12
2009
- }, i = y(), a = y(t.options), r = y(t.showCloseButton), c = R(() => t.position || "bottom-right"), l = R(() => t.timeout != null ? t.timeout : 3e3), u = R(() => {
2009
+ }, i = b(), a = b(t.options), r = b(t.showCloseButton), c = R(() => t.position || "bottom-right"), l = R(() => t.timeout != null ? t.timeout : 3e3), u = R(() => {
2010
2010
  const m = t.bottom ? t.bottom : o.bottom, d = t.top ? t.top : o.top, f = {
2011
2011
  transition: "all 0.2s ease",
2012
2012
  left: c.value.indexOf("left") > -1 ? `${t.left ? t.left : o.left}px` : "",
@@ -2029,11 +2029,11 @@ const Zo = {
2029
2029
  function s(m, d) {
2030
2030
  p();
2031
2031
  }
2032
- return () => b("div", {
2032
+ return () => C("div", {
2033
2033
  class: n.value,
2034
2034
  style: u.value,
2035
2035
  ref: i
2036
- }, [b(Ht, {
2036
+ }, [C(Ht, {
2037
2037
  options: a.value,
2038
2038
  showCloseButton: r.value,
2039
2039
  animate: t.animate,
@@ -2065,7 +2065,7 @@ class ei {
2065
2065
  const r = qt({
2066
2066
  setup() {
2067
2067
  var u;
2068
- const c = y();
2068
+ const c = b();
2069
2069
  function l() {
2070
2070
  c.value.container.style.transform = "scale(0)", setTimeout(() => {
2071
2071
  n.updateNotifyPositionForClose(i, c), r.unmount();
@@ -2082,12 +2082,12 @@ class ei {
2082
2082
  document.body.removeChild(a);
2083
2083
  }), Pe(() => {
2084
2084
  n.updateNotifyPositionForCreate(i, c);
2085
- }), () => b(on, {
2085
+ }), () => C(on, {
2086
2086
  mode: "out-in",
2087
2087
  name: "fade",
2088
2088
  appear: !0
2089
2089
  }, {
2090
- default: () => [b(gt, Tt({
2090
+ default: () => [C(gt, Tt({
2091
2091
  ref: c
2092
2092
  }, i, {
2093
2093
  onClose: l
@@ -2316,85 +2316,85 @@ const ti = {
2316
2316
  }
2317
2317
  }
2318
2318
  };
2319
- function ni(t, e, n, o, i, a, r, c, l, u, p, s, m, d, f, v, C) {
2319
+ function ni(t, e, n, o, i, a, r, c, l, u, p, s, m, d, f, v, y) {
2320
2320
  const {
2321
- calculateCellPositionInRow: F
2321
+ calculateCellPositionInRow: E
2322
2322
  } = a, {
2323
- columnContext: M,
2324
- hasLeftFixedColumn: L,
2323
+ columnContext: B,
2324
+ hasLeftFixedColumn: A,
2325
2325
  hasRightFixedColumn: N
2326
2326
  } = r, {
2327
2327
  gridDataStyle: T,
2328
- leftFixedGridDataStyle: g,
2328
+ leftFixedGridDataStyle: h,
2329
2329
  rightFixedGridDataStyle: w
2330
2330
  } = d, {
2331
- renderDataRow: E
2332
- } = eo(t, e, M, C, c, l, u, p, s, m, d, f, v), k = [E];
2333
- function z(B, H) {
2334
- const Q = F(B);
2335
- return C.value.filter((D) => D.visible !== !1).map((D, V) => k[D.type](D, Q, H, V));
2336
- }
2337
- function h() {
2338
- return b("div", {
2331
+ renderDataRow: F
2332
+ } = eo(t, e, B, y, c, l, u, p, s, m, d, f, v), M = [F];
2333
+ function z(D, L) {
2334
+ const J = E(D);
2335
+ return y.value.filter((O) => O.visible !== !1).map((O, V) => M[O.type](O, J, L, V));
2336
+ }
2337
+ function g() {
2338
+ return C("div", {
2339
2339
  ref: o,
2340
2340
  class: "fv-grid-content-left-fixed"
2341
- }, [b("div", {
2341
+ }, [C("div", {
2342
2342
  class: "fv-grid-data",
2343
- style: g.value
2344
- }, [z(M.value.leftColumns.filter((B) => B.visible), "left")])]);
2343
+ style: h.value
2344
+ }, [z(B.value.leftColumns.filter((D) => D.visible), "left")])]);
2345
2345
  }
2346
2346
  function S() {
2347
- return b("div", {
2347
+ return C("div", {
2348
2348
  ref: n,
2349
2349
  class: "fv-grid-content-primary"
2350
- }, [b("div", {
2350
+ }, [C("div", {
2351
2351
  class: "fv-grid-data",
2352
2352
  style: T.value
2353
- }, [z(M.value.primaryColumns.filter((B) => B.visible), "primary")])]);
2353
+ }, [z(B.value.primaryColumns.filter((D) => D.visible), "primary")])]);
2354
2354
  }
2355
2355
  function I() {
2356
- return b("div", {
2356
+ return C("div", {
2357
2357
  ref: i,
2358
2358
  class: "fv-grid-content-right-fixed"
2359
- }, [b("div", {
2359
+ }, [C("div", {
2360
2360
  class: "fv-grid-data",
2361
2361
  style: w.value
2362
- }, [z(M.value.rightColumns.filter((B) => B.visible), "right")])]);
2362
+ }, [z(B.value.rightColumns.filter((D) => D.visible), "right")])]);
2363
2363
  }
2364
- function O() {
2365
- const B = [];
2366
- return L.value && B.push(h()), B.push(S()), N.value && B.push(I()), B;
2364
+ function k() {
2365
+ const D = [];
2366
+ return A.value && D.push(g()), D.push(S()), N.value && D.push(I()), D;
2367
2367
  }
2368
2368
  return {
2369
- renderDataArea: O
2369
+ renderDataArea: k
2370
2370
  };
2371
2371
  }
2372
- const oi = /* @__PURE__ */ Be({
2372
+ const oi = /* @__PURE__ */ Me({
2373
2373
  name: "FTreeGrid",
2374
2374
  props: ti,
2375
2375
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
2376
2376
  setup(t, e) {
2377
2377
  var Xt, Yt;
2378
- const o = ((Xt = t.rowOption) == null ? void 0 : Xt.height) || 28, i = y(20), a = y(t.columns), r = to(t), {
2378
+ const o = ((Xt = t.rowOption) == null ? void 0 : Xt.height) || 28, i = b(20), a = b(t.columns), r = to(t), {
2379
2379
  idField: c
2380
- } = r, l = y(), u = y(), p = y(), s = y(), m = y(), d = y([]), f = y(!1), v = y(((Yt = t.rowOption) == null ? void 0 : Yt.wrapContent) || !1), C = no(t, r), F = oo(t, e), M = io(t), {
2381
- collapseField: L
2382
- } = M, {
2380
+ } = r, l = b(), u = b(), p = b(), s = b(), m = b(), d = b([]), f = b(!1), v = b(((Yt = t.rowOption) == null ? void 0 : Yt.wrapContent) || !1), y = no(t, r), E = oo(t, e), B = io(t), {
2381
+ collapseField: A
2382
+ } = B, {
2383
2383
  showLoading: N,
2384
2384
  renderLoading: T
2385
- } = ao(t, l), g = ro(t, /* @__PURE__ */ new Map(), F, M, r), {
2385
+ } = ao(t, l), h = ro(t, /* @__PURE__ */ new Map(), E, B, r), {
2386
2386
  dataView: w
2387
- } = g, E = lo(t, g, r, d, e), {
2388
- showSelection: k,
2387
+ } = h, F = lo(t, h, r, d, e), {
2388
+ showSelection: M,
2389
2389
  selectedValues: z
2390
- } = E, h = so(t, d, g, r, E, e), S = R(() => t.disabled), I = R(() => t.virtualized ? Math.min(g.dataView.value.length, i.value) : g.dataView.value.length), O = uo(t, g), {
2391
- shouldRenderPagination: B
2392
- } = O, {
2393
- containerStyleObject: H
2394
- } = co(t), Q = fo(t), {
2395
- applyCommands: D
2396
- } = Q;
2397
- D(a);
2390
+ } = F, g = so(t, d, h, r, F, e), S = R(() => t.disabled), I = R(() => t.virtualized ? Math.min(h.dataView.value.length, i.value) : h.dataView.value.length), k = uo(t, h), {
2391
+ shouldRenderPagination: D
2392
+ } = k, {
2393
+ containerStyleObject: L
2394
+ } = co(t), J = fo(t), {
2395
+ applyCommands: O
2396
+ } = J;
2397
+ O(a);
2398
2398
  const {
2399
2399
  applyColumnSetting: V,
2400
2400
  removeColumnSetting: _
@@ -2403,14 +2403,14 @@ const oi = /* @__PURE__ */ Be({
2403
2403
  const q = mo(t, e), te = vo(t), {
2404
2404
  applyColumnSorter: ge,
2405
2405
  columnContext: he,
2406
- updateColumnRenderContext: J
2406
+ updateColumnRenderContext: Q
2407
2407
  } = q;
2408
- ge(g, te);
2409
- const ie = go(t, he), ue = ho(t, e, E, r), ne = yo(t, e, r, ue, d), W = bo(t), oe = Co(t, ne, W), He = wo(t, g, ne, M, r, W, oe), Oe = xo(t, a, g, I, 0, He), {
2408
+ ge(h, te);
2409
+ const ie = go(t, he), ue = ho(t, e, F, r), ne = yo(t, e, r, ue, d), W = bo(t), oe = Co(t, ne, W), He = wo(t, h, ne, B, r, W, oe), Oe = xo(t, a, h, I, 0, He), {
2410
2410
  getVisualData: Se
2411
- } = Oe, Ze = So(t, he), ze = To(t, E), {
2411
+ } = Oe, Ze = So(t, he), ze = To(t, F), {
2412
2412
  sidebarWidth: Ke
2413
- } = ze, re = Eo(t, g, d, he, Oe, I, 0, Ke), {
2413
+ } = ze, re = Eo(t, h, d, he, Oe, I, 0, Ke), {
2414
2414
  onWheel: ot,
2415
2415
  dataGridWidth: Ve,
2416
2416
  viewPortHeight: Ne,
@@ -2419,7 +2419,7 @@ const oi = /* @__PURE__ */ Be({
2419
2419
  updateVisibleRowsOnLatestVisibleScope: it
2420
2420
  } = re, qe = Fo(t, he, u, Te, ie), {
2421
2421
  calculateColumnsSize: ke
2422
- } = qe, De = Mo(), et = Bo(u, m, g, De, re), tt = ko(t, e, q, g, ie, C, re), P = R(() => {
2422
+ } = qe, De = Bo(), et = Mo(u, m, h, De, re), tt = ko(t, e, q, h, ie, y, re), P = R(() => {
2423
2423
  const U = {
2424
2424
  "fv-grid": !0,
2425
2425
  "fv-grid-bordered": t.showBorder,
@@ -2433,13 +2433,13 @@ const oi = /* @__PURE__ */ Be({
2433
2433
  "fv-grid-wrap-content": v.value
2434
2434
  })), {
2435
2435
  renderDataArea: le
2436
- } = ni(t, e, p, s, m, Ze, q, g, ne, M, ue, E, h, re, Oe, W, d), {
2436
+ } = ni(t, e, p, s, m, Ze, q, h, ne, B, ue, F, g, re, Oe, W, d), {
2437
2437
  renderGridHeader: ce,
2438
2438
  renderGridColumnResizeOverlay: Ie,
2439
- shouldShowHeader: Mt
2440
- } = Io(t, e, u, s, m, q, g, tt, et, F, De, qe, ie, E, ze, te, re, Te, d), {
2441
- renderDataGridSidebar: Bt
2442
- } = Po(t, ue, E, ze, re), {
2439
+ shouldShowHeader: Bt
2440
+ } = Io(t, e, u, s, m, q, h, tt, et, E, De, qe, ie, F, ze, te, re, Te, d), {
2441
+ renderDataGridSidebar: Mt
2442
+ } = Po(t, ue, F, ze, re), {
2443
2443
  renderDisableMask: kt
2444
2444
  } = Oo(), {
2445
2445
  renderHorizontalScrollbar: It
@@ -2462,30 +2462,30 @@ const oi = /* @__PURE__ */ Be({
2462
2462
  u.value && ke();
2463
2463
  });
2464
2464
  function Vt(U) {
2465
- g.collapseTo(U), g.reOrderVisibleIndex(), Re();
2465
+ h.collapseTo(U), h.reOrderVisibleIndex(), Re();
2466
2466
  }
2467
2467
  function dt(U) {
2468
- g.expandTo(U), g.reOrderVisibleIndex(), Re();
2468
+ h.expandTo(U), h.reOrderVisibleIndex(), Re();
2469
2469
  }
2470
2470
  function at() {
2471
- const U = E.getSelectionRow();
2471
+ const U = F.getSelectionRow();
2472
2472
  return U ? U.dataIndex - 1 : -1;
2473
2473
  }
2474
2474
  function Nt() {
2475
2475
  const U = at();
2476
- g.insertNewDataItem(U), d.value = Se(0, I.value + 0 - 1);
2476
+ h.insertNewDataItem(U), d.value = Se(0, I.value + 0 - 1);
2477
2477
  }
2478
2478
  function Rt() {
2479
2479
  const U = at();
2480
- g.insertNewChildDataItem(U), d.value = Se(0, I.value + 0 - 1);
2480
+ h.insertNewChildDataItem(U), d.value = Se(0, I.value + 0 - 1);
2481
2481
  }
2482
2482
  function Dt(U, Y) {
2483
2483
  const fe = d.value.find((we) => we.raw[c.value] === Y), ve = fe ? fe.dataIndex - 1 : -1;
2484
- g.insertNewChildDataItems(U, ve);
2484
+ h.insertNewChildDataItems(U, ve);
2485
2485
  }
2486
2486
  function $t() {
2487
- const U = at(), Y = h.getNextSelectableHierarchyItemId(U);
2488
- g.removeHierarchyDataItem(U), d.value = Se(0, I.value + 0 - 1), Y && E.selectItemById(Y);
2487
+ const U = at(), Y = g.getNextSelectableHierarchyItemId(U);
2488
+ h.removeHierarchyDataItem(U), d.value = Se(0, I.value + 0 - 1), Y && g.selectItemById(Y);
2489
2489
  }
2490
2490
  function ft(U) {
2491
2491
  ne.onEditingRow(U);
@@ -2497,16 +2497,16 @@ const oi = /* @__PURE__ */ Be({
2497
2497
  ne.cancelEditingRow(U);
2498
2498
  }
2499
2499
  function $(U) {
2500
- U && (a.value = U, D(a), J(a.value), ge(g, te), ke());
2500
+ U && (a.value = U, O(a), Q(a.value), ge(h, te), ke());
2501
2501
  }
2502
2502
  se(() => t.columns, (U) => {
2503
2503
  $(U);
2504
2504
  });
2505
- function A(U, Y) {
2506
- U && (g.load(U), g.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? re.scrollTo(re.offsetY.value) : Re());
2505
+ function H(U, Y) {
2506
+ U && (h.load(U), h.reOrderVisibleIndex(), Y != null && Y.keepScrollPosition ? re.scrollTo(re.offsetY.value) : Re());
2507
2507
  }
2508
2508
  function G(U) {
2509
- E.selectItemById(U);
2509
+ g.selectItemById(U);
2510
2510
  }
2511
2511
  function K(U) {
2512
2512
  const Y = d.value.find((fe) => fe.raw[r.idField.value] === U);
@@ -2516,25 +2516,25 @@ const oi = /* @__PURE__ */ Be({
2516
2516
  ue.activeRowById(U);
2517
2517
  }
2518
2518
  function xe(U) {
2519
- E.selectItemByIds(U);
2519
+ g.selectItemByIds(U);
2520
2520
  }
2521
2521
  function ye() {
2522
- return E.getSelectedItems();
2522
+ return F.getSelectedItems();
2523
2523
  }
2524
2524
  function be() {
2525
- E.clearSelection();
2525
+ F.clearSelection();
2526
2526
  }
2527
2527
  const Ee = R(() => !d.value || !d.value.length), {
2528
2528
  renderEmpty: de
2529
2529
  } = Ro(t, e);
2530
2530
  function Fe() {
2531
- return E.getSelectionRow();
2531
+ return F.getSelectionRow();
2532
2532
  }
2533
2533
  function Ce(U) {
2534
- E.unSelectItemByIds(U);
2534
+ g.unSelectItemByIds(U);
2535
2535
  }
2536
2536
  function me() {
2537
- return E.currentSelectedDataId.value;
2537
+ return F.currentSelectedDataId.value;
2538
2538
  }
2539
2539
  function rt(U, Y, fe) {
2540
2540
  const ve = w.value.find((we) => we[c.value] === U);
@@ -2563,24 +2563,24 @@ const oi = /* @__PURE__ */ Be({
2563
2563
  } = fe;
2564
2564
  pe && !$e(Y[pe]) && (we.collapse = Y[pe]), We && !$e(Y[We]) && (we.checked = Y[We]), Ue && !$e(Y[Ue]) && (we.disabled = Y[Ue]), Ge && !$e(Y[Ge]) && (we.visible = Y[Ge]);
2565
2565
  }
2566
- d.value = [...d.value.slice(0, Jt), we, ...d.value.slice(Jt + 1)], g.updateSummary();
2566
+ d.value = [...d.value.slice(0, Jt), we, ...d.value.slice(Jt + 1)], h.updateSummary();
2567
2567
  }
2568
2568
  }
2569
2569
  }
2570
2570
  function lt(U) {
2571
- return Object.prototype.hasOwnProperty.call(U, "raw") ? g.hasRealChildren(U.raw) : g.hasRealChildren(U);
2571
+ return Object.prototype.hasOwnProperty.call(U, "raw") ? h.hasRealChildren(U.raw) : h.hasRealChildren(U);
2572
2572
  }
2573
2573
  function st(U) {
2574
- const Y = g.dataView.value.find((fe) => fe[c.value] === U);
2575
- return Y ? Y[L.value] : "";
2574
+ const Y = h.dataView.value.find((fe) => fe[c.value] === U);
2575
+ return Y ? Y[A.value] : "";
2576
2576
  }
2577
- function Mn() {
2578
- return L.value;
2577
+ function Bn() {
2578
+ return A.value;
2579
2579
  }
2580
2580
  se(() => t.showSetting, (U, Y) => {
2581
2581
  U !== Y && (U ? V(a) : _(a), $(a.value));
2582
2582
  });
2583
- function Bn(U) {
2583
+ function Mn(U) {
2584
2584
  return d.value.filter((Y) => U.includes(Y.raw[t.idField]));
2585
2585
  }
2586
2586
  function kn(U) {
@@ -2588,7 +2588,7 @@ const oi = /* @__PURE__ */ Be({
2588
2588
  fe && ue.changeRow(fe);
2589
2589
  }
2590
2590
  function In() {
2591
- E.keepSelectingOnPaging.value || be(), g.updateVisibleDataSummary(d.value);
2591
+ F.keepSelectingOnPaging.value || be(), h.updateVisibleDataSummary(d.value);
2592
2592
  }
2593
2593
  e.expose({
2594
2594
  activeRowById: ee,
@@ -2602,7 +2602,7 @@ const oi = /* @__PURE__ */ Be({
2602
2602
  acceptDataItem: jt,
2603
2603
  cancelDataItem: x,
2604
2604
  updateColumns: $,
2605
- updateDataSource: A,
2605
+ updateDataSource: H,
2606
2606
  selectItemById: G,
2607
2607
  selectItemByIds: xe,
2608
2608
  getSelectedItems: ye,
@@ -2613,9 +2613,9 @@ const oi = /* @__PURE__ */ Be({
2613
2613
  getCurrentRowId: me,
2614
2614
  reassignRowData: rt,
2615
2615
  hasChildren: lt,
2616
- getCollapseField: Mn,
2616
+ getCollapseField: Bn,
2617
2617
  getCollapseStatusById: st,
2618
- getVisibleDataByIds: Bn,
2618
+ getVisibleDataByIds: Mn,
2619
2619
  selectRowById: kn,
2620
2620
  updateDerivedData: In
2621
2621
  });
@@ -2623,57 +2623,57 @@ const oi = /* @__PURE__ */ Be({
2623
2623
  const U = {};
2624
2624
  return re.shouldShowHorizontalScrollbar.value && (U.paddingBottom = "10px"), re.shouldShowVirticalScrollbar.value && (U.paddingRight = "10px"), U;
2625
2625
  }), On = R(() => ({
2626
- ...H.value,
2626
+ ...L.value,
2627
2627
  borderRadius: "5px"
2628
- })), {
2629
- renderDataGridPagination: Xr
2630
- } = Do(t, e, g, re, O, E), Vn = R(() => ({
2628
+ }));
2629
+ Do(t, e, h, re, k, F);
2630
+ const Vn = R(() => ({
2631
2631
  "d-flex": !0,
2632
- "justify-content-between": B.value && k.value,
2633
- "justify-content-end": B.value && !k.value,
2632
+ "justify-content-between": D.value && M.value,
2633
+ "justify-content-end": D.value && !M.value,
2634
2634
  "position-relative": !0
2635
2635
  })), Nn = R(() => ({
2636
2636
  "d-flex": !0,
2637
2637
  "align-items-center": !0
2638
2638
  })), {
2639
2639
  renderDataGridSummary: Rn
2640
- } = $o(t, g, q);
2641
- return () => b("div", {
2640
+ } = $o(t, h, q);
2641
+ return () => C("div", {
2642
2642
  ref: l,
2643
2643
  class: P.value,
2644
2644
  style: On.value,
2645
2645
  onWheel: ot
2646
- }, [u.value && Mt.value && ce(), b("div", {
2646
+ }, [u.value && Bt.value && ce(), C("div", {
2647
2647
  ref: u,
2648
2648
  class: Z.value,
2649
2649
  onMouseover: () => f.value = !0,
2650
2650
  onMouseleave: () => f.value = !1,
2651
2651
  style: Pn.value
2652
- }, [u.value && Bt(d), u.value && le(), u.value && Ee.value && de(), u.value && It(), u.value && Pt()]), u.value && Rn(), k.value && b("div", {
2652
+ }, [u.value && Mt(d), u.value && le(), u.value && Ee.value && de(), u.value && It(), u.value && Pt()]), u.value && Rn(), M.value && C("div", {
2653
2653
  class: Vn.value
2654
- }, [k.value && b("div", {
2654
+ }, [M.value && C("div", {
2655
2655
  class: Nn.value
2656
- }, [b("div", null, ["已选:" + z.value.length, Ae(" 条")])])]), Ie(), S.value && kt()]);
2656
+ }, [C("div", null, ["已选:" + z.value.length, Ae(" 条")])])]), Ie(), S.value && kt()]);
2657
2657
  }
2658
2658
  });
2659
2659
  tn(oi);
2660
2660
  function sn(t, e) {
2661
2661
  let n;
2662
2662
  function o(s) {
2663
- const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), C = Object.keys(m).reduce((F, M) => ((!v || !f.find((L) => L === M)) && (F[M] = m[M].type === "object" && m[M].properties ? o(m[M]) : ut(m[M].default)), F), {});
2664
- if (d && (!v || !f.find((F) => F === "id"))) {
2665
- const F = d.toLowerCase().replace(/-/g, "_");
2666
- C.id = `${F}_${Math.random().toString().slice(2, 6)}`;
2663
+ const { properties: m, title: d, ignore: f } = s, v = f && Array.isArray(f), y = Object.keys(m).reduce((E, B) => ((!v || !f.find((A) => A === B)) && (E[B] = m[B].type === "object" && m[B].properties ? o(m[B]) : ut(m[B].default)), E), {});
2664
+ if (d && (!v || !f.find((E) => E === "id"))) {
2665
+ const E = d.toLowerCase().replace(/-/g, "_");
2666
+ y.id = `${E}_${Math.random().toString().slice(2, 6)}`;
2667
2667
  }
2668
- return C;
2668
+ return y;
2669
2669
  }
2670
2670
  function i(s) {
2671
2671
  const { properties: m, title: d, required: f } = s;
2672
2672
  if (f && Array.isArray(f)) {
2673
- const v = f.reduce((C, F) => (C[F] = m[F].type === "object" && m[F].properties ? o(m[F]) : ut(m[F].default), C), {});
2674
- if (d && f.find((C) => C === "id")) {
2675
- const C = d.toLowerCase().replace(/-/g, "_");
2676
- v.id = `${C}_${Math.random().toString().slice(2, 6)}`;
2673
+ const v = f.reduce((y, E) => (y[E] = m[E].type === "object" && m[E].properties ? o(m[E]) : ut(m[E].default), y), {});
2674
+ if (d && f.find((y) => y === "id")) {
2675
+ const y = d.toLowerCase().replace(/-/g, "_");
2676
+ v.id = `${y}_${Math.random().toString().slice(2, 6)}`;
2677
2677
  }
2678
2678
  return v;
2679
2679
  }
@@ -2685,8 +2685,8 @@ function sn(t, e) {
2685
2685
  const f = t[s];
2686
2686
  if (f) {
2687
2687
  let v = i(f);
2688
- const C = e[s];
2689
- return v = C ? C({ getSchemaByType: a }, v, m, d) : v, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(v), v;
2688
+ const y = e[s];
2689
+ return v = y ? y({ getSchemaByType: a }, v, m, d) : v, n != null && n.appendIdentifyForNewControl && n.appendIdentifyForNewControl(v), v;
2690
2690
  }
2691
2691
  return null;
2692
2692
  }
@@ -2697,12 +2697,12 @@ function sn(t, e) {
2697
2697
  function c(s, m) {
2698
2698
  return Object.keys(s).filter((f) => s[f] != null).reduce((f, v) => {
2699
2699
  if (m.has(v)) {
2700
- const C = m.get(v);
2701
- if (typeof C == "string")
2702
- f[C] = s[v];
2700
+ const y = m.get(v);
2701
+ if (typeof y == "string")
2702
+ f[y] = s[v];
2703
2703
  else {
2704
- const F = C(v, s[v], s);
2705
- Object.assign(f, F);
2704
+ const E = y(v, s[v], s);
2705
+ Object.assign(f, E);
2706
2706
  }
2707
2707
  } else
2708
2708
  f[v] = s[v];
@@ -2720,10 +2720,10 @@ function sn(t, e) {
2720
2720
  const f = t[m];
2721
2721
  if (!f)
2722
2722
  return s;
2723
- const v = r(s, f), C = ((d = s.editor) == null ? void 0 : d.type) || "";
2724
- if (C) {
2725
- const F = t[C], M = r(s.editor, F);
2726
- v.editor = M;
2723
+ const v = r(s, f), y = ((d = s.editor) == null ? void 0 : d.type) || "";
2724
+ if (y) {
2725
+ const E = t[y], B = r(s.editor, E);
2726
+ v.editor = B;
2727
2727
  }
2728
2728
  return v;
2729
2729
  }
@@ -2734,7 +2734,7 @@ function sn(t, e) {
2734
2734
  }
2735
2735
  return { getSchemaByType: a, resolveSchemaWithDefaultValue: u, resolveSchemaToProps: l, mappingSchemaToProps: c, setDesignerContext: p };
2736
2736
  }
2737
- const un = {}, cn = {}, { resolveSchemaWithDefaultValue: ii, resolveSchemaToProps: ai, mappingSchemaToProps: ri } = sn(un, cn);
2737
+ const un = {}, cn = {}, { getSchemaByType: Is, resolveSchemaWithDefaultValue: ii, resolveSchemaToProps: ai, mappingSchemaToProps: ri, setDesignerContext: Ps } = sn(un, cn);
2738
2738
  function li(t = {}) {
2739
2739
  function e(u, p, s, m) {
2740
2740
  if (typeof s == "number")
@@ -2784,8 +2784,8 @@ function li(t = {}) {
2784
2784
  return a(u).reduce((d, f) => d && r(f, p), !0);
2785
2785
  }
2786
2786
  function l(u, p) {
2787
- const s = Object.keys(u), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, F = (f ? u[f ? m ? "allOf" : "anyOf" : "allOf"] : [u]).map((L) => c(L, p));
2788
- return m ? !F.includes(!1) : F.includes(!0);
2787
+ const s = Object.keys(u), m = s.includes("allOf"), d = s.includes("anyOf"), f = m || d, E = (f ? u[f ? m ? "allOf" : "anyOf" : "allOf"] : [u]).map((A) => c(A, p));
2788
+ return m ? !E.includes(!1) : E.includes(!0);
2789
2789
  }
2790
2790
  return { parseValueSchema: l };
2791
2791
  }
@@ -2958,7 +2958,7 @@ const si = {
2958
2958
  if (e === "multiSort")
2959
2959
  return !!((i = t.sort) != null && i.multiSort);
2960
2960
  }
2961
- }, Mi = {
2961
+ }, Bi = {
2962
2962
  convertTo: (t, e, n, o) => {
2963
2963
  t.filter || (t.filter = {}), t.filter[e] = n;
2964
2964
  },
@@ -2967,7 +2967,7 @@ const si = {
2967
2967
  if (e === "mode")
2968
2968
  return ((o = t.filter) == null ? void 0 : o.mode) || "client";
2969
2969
  }
2970
- }, Bi = {
2970
+ }, Mi = {
2971
2971
  convertTo: (t, e, n, o) => {
2972
2972
  t.rowOption ? t.rowOption[e] = n : t.rowOption = {
2973
2973
  [e]: n
@@ -3004,8 +3004,8 @@ function dn(t, e, n) {
3004
3004
  ["/converter/size.converter", Ti],
3005
3005
  ["/converter/change-formatter-enum.converter", Ei],
3006
3006
  ["/converter/grid-sort.converter", Fi],
3007
- ["/converter/grid-filter.converter", Mi],
3008
- ["/converter/row-option.converter", Bi]
3007
+ ["/converter/grid-filter.converter", Bi],
3008
+ ["/converter/row-option.converter", Mi]
3009
3009
  ]), i = /* @__PURE__ */ new Map([
3010
3010
  ["string", { type: "input-group", enableClear: !1 }],
3011
3011
  ["boolean", {
@@ -3034,71 +3034,71 @@ function dn(t, e, n) {
3034
3034
  function r(f, v) {
3035
3035
  return () => a.parseValueSchema(f, v);
3036
3036
  }
3037
- function c(f, v, C) {
3038
- return f.includes("visible") && v.visible !== void 0 ? typeof v.visible == "boolean" ? () => !!v.visible : v.visible === void 0 ? !0 : r(v.visible, C) : () => !0;
3037
+ function c(f, v, y) {
3038
+ return f.includes("visible") && v.visible !== void 0 ? typeof v.visible == "boolean" ? () => !!v.visible : v.visible === void 0 ? !0 : r(v.visible, y) : () => !0;
3039
3039
  }
3040
- function l(f, v, C) {
3041
- return f.includes("readonly") && v.readonly !== void 0 ? typeof v.readonly == "boolean" ? () => !!v.readonly : r(v.readonly, C) : () => !1;
3040
+ function l(f, v, y) {
3041
+ return f.includes("readonly") && v.readonly !== void 0 ? typeof v.readonly == "boolean" ? () => !!v.readonly : r(v.readonly, y) : () => !1;
3042
3042
  }
3043
3043
  function u(f, v) {
3044
- const C = f.$converter || v;
3045
- return typeof C == "string" && C && o.has(C) ? o.get(C) || null : C || null;
3046
- }
3047
- function p(f, v, C, F, M, L = "", N = "") {
3048
- return Object.keys(f).map((g) => {
3049
- const w = y(1), E = g, k = f[g], z = Object.keys(k), h = k.title, S = k.type, I = i.get(S) || { type: "input-group", enableClear: !1 }, O = k.editor ? Object.assign({}, I, k.editor) : Object.assign({}, I), B = c(z, k, v), H = l(z, k, v);
3050
- O.readonly = O.readonly === void 0 ? H() : O.readonly;
3051
- const Q = k.type === "cascade" ? p(k.properties, v, C, F, M, L, N) : [], D = !0;
3052
- let V = u(k, N);
3044
+ const y = f.$converter || v;
3045
+ return typeof y == "string" && y && o.has(y) ? o.get(y) || null : y || null;
3046
+ }
3047
+ function p(f, v, y, E, B, A = "", N = "") {
3048
+ return Object.keys(f).map((h) => {
3049
+ const w = b(1), F = h, M = f[h], z = Object.keys(M), g = M.title, S = M.type, I = i.get(S) || { type: "input-group", enableClear: !1 }, k = M.editor ? Object.assign({}, I, M.editor) : Object.assign({}, I), D = c(z, M, v), L = l(z, M, v);
3050
+ k.readonly = k.readonly === void 0 ? L() : k.readonly;
3051
+ const J = M.type === "cascade" ? p(M.properties, v, y, E, B, A, N) : [], O = !0;
3052
+ let V = u(M, N);
3053
3053
  const _ = R({
3054
3054
  get() {
3055
3055
  if (w.value) {
3056
- if (["class", "style"].find((ue) => ue === E) && !V && (V = o.get("/converter/appearance.converter") || null), V && V.convertFrom)
3057
- return V.convertFrom(C, g, M, L);
3058
- const ie = C[g];
3059
- return Object.prototype.hasOwnProperty.call(k, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? k.type === "boolean" ? k.defaultValue : k.defaultValue || "" : ie;
3056
+ if (["class", "style"].find((ue) => ue === F) && !V && (V = o.get("/converter/appearance.converter") || null), V && V.convertFrom)
3057
+ return V.convertFrom(y, h, B, A);
3058
+ const ie = y[h];
3059
+ return Object.prototype.hasOwnProperty.call(M, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? M.type === "boolean" ? M.defaultValue : M.defaultValue || "" : ie;
3060
3060
  }
3061
3061
  return null;
3062
3062
  },
3063
3063
  set(ie) {
3064
- w.value += 1, V && V.convertTo ? (V.convertTo(F, g, ie, M, L), V.convertTo(C, g, ie, M, L)) : (F[g] = ie, C[g] = ie);
3064
+ w.value += 1, V && V.convertTo ? (V.convertTo(E, h, ie, B, A), V.convertTo(y, h, ie, B, A)) : (E[h] = ie, y[h] = ie);
3065
3065
  }
3066
- }), { refreshPanelAfterChanged: q, description: te, isExpand: ge, parentPropertyID: he } = k, J = { propertyID: E, propertyName: h, propertyType: S, propertyValue: _, editor: O, visible: B, readonly: H, cascadeConfig: Q, hideCascadeTitle: D, refreshPanelAfterChanged: q, description: te, isExpand: ge, parentPropertyID: he };
3067
- return v[E] = J, J;
3066
+ }), { refreshPanelAfterChanged: q, description: te, isExpand: ge, parentPropertyID: he } = M, Q = { propertyID: F, propertyName: g, propertyType: S, propertyValue: _, editor: k, visible: D, readonly: L, cascadeConfig: J, hideCascadeTitle: O, refreshPanelAfterChanged: q, description: te, isExpand: ge, parentPropertyID: he };
3067
+ return v[F] = Q, Q;
3068
3068
  });
3069
3069
  }
3070
- function s(f, v, C = {}) {
3071
- const F = {}, M = t[f];
3072
- return M && M.categories ? Object.keys(M.categories).map((N) => {
3073
- const T = M.categories[N], g = T == null ? void 0 : T.title, w = p(T.properties || {}, F, {}, C, v);
3074
- return { categoryId: N, categoryName: g, properties: w };
3070
+ function s(f, v, y = {}) {
3071
+ const E = {}, B = t[f];
3072
+ return B && B.categories ? Object.keys(B.categories).map((N) => {
3073
+ const T = B.categories[N], h = T == null ? void 0 : T.title, w = p(T.properties || {}, E, {}, y, v);
3074
+ return { categoryId: N, categoryName: h, properties: w };
3075
3075
  }) : [];
3076
3076
  }
3077
- function m(f, v, C, F, M = "") {
3078
- const L = v.$ref.schema, N = v.$ref.converter, T = C[L], g = T.type, w = n(T), E = {}, k = t[g];
3079
- if (k && k.categories) {
3080
- const z = k.categories[f], h = z == null ? void 0 : z.title;
3081
- N && Object.keys(z.properties).forEach((O) => {
3082
- z.properties[O].$converter = N;
3077
+ function m(f, v, y, E, B = "") {
3078
+ const A = v.$ref.schema, N = v.$ref.converter, T = y[A], h = T.type, w = n(T), F = {}, M = t[h];
3079
+ if (M && M.categories) {
3080
+ const z = M.categories[f], g = z == null ? void 0 : z.title;
3081
+ N && Object.keys(z.properties).forEach((k) => {
3082
+ z.properties[k].$converter = N;
3083
3083
  });
3084
- const S = (z == null ? void 0 : z.properties) || {}, I = p(S, E, w, T, F, M);
3085
- return { categoryId: f, categoryName: h, properties: I };
3084
+ const S = (z == null ? void 0 : z.properties) || {}, I = p(S, F, w, T, E, B);
3085
+ return { categoryId: f, categoryName: g, properties: I };
3086
3086
  }
3087
3087
  return { categoryId: f, categoryName: "", properties: [] };
3088
3088
  }
3089
- function d(f, v, C, F, M) {
3090
- const L = f.type, N = n(f), T = {};
3091
- let g = M || t[L];
3092
- if (g && Object.keys(g).length === 0 && C && C.getPropConfig && (g = C.getPropConfig(F)), g && g.categories) {
3089
+ function d(f, v, y, E, B) {
3090
+ const A = f.type, N = n(f), T = {};
3091
+ let h = B || t[A];
3092
+ if (h && Object.keys(h).length === 0 && y && y.getPropConfig && (h = y.getPropConfig(E)), h && h.categories) {
3093
3093
  const w = [];
3094
- return Object.keys(g.categories).map((E) => {
3095
- const k = g.categories[E];
3096
- if (k.$ref) {
3097
- w.push(m(E, k, f, v, F));
3094
+ return Object.keys(h.categories).map((F) => {
3095
+ const M = h.categories[F];
3096
+ if (M.$ref) {
3097
+ w.push(m(F, M, f, v, E));
3098
3098
  return;
3099
3099
  }
3100
- const z = k == null ? void 0 : k.title, h = k == null ? void 0 : k.tabId, S = k == null ? void 0 : k.tabName, I = k == null ? void 0 : k.hide, O = k == null ? void 0 : k.hideTitle, B = p(k.properties || {}, T, N, f, v, F, k.$converter), { setPropertyRelates: H } = k, Q = k == null ? void 0 : k.parentPropertyID;
3101
- w.push({ categoryId: E, categoryName: z, tabId: h, tabName: S, hide: I, properties: B, hideTitle: O, setPropertyRelates: H, parentPropertyID: Q });
3100
+ const z = M == null ? void 0 : M.title, g = M == null ? void 0 : M.tabId, S = M == null ? void 0 : M.tabName, I = M == null ? void 0 : M.hide, k = M == null ? void 0 : M.hideTitle, D = p(M.properties || {}, T, N, f, v, E, M.$converter), { setPropertyRelates: L } = M, J = M == null ? void 0 : M.parentPropertyID;
3101
+ w.push({ categoryId: F, categoryName: z, tabId: g, tabName: S, hide: I, properties: D, hideTitle: k, setPropertyRelates: L, parentPropertyID: J });
3102
3102
  }), w;
3103
3103
  }
3104
3104
  return [];
@@ -3111,7 +3111,7 @@ function dn(t, e, n) {
3111
3111
  }
3112
3112
  const fn = {}, pn = {};
3113
3113
  dn(fn, pn, ii);
3114
- const mn = {}, vn = {}, { resolveSchemaWithDefaultValue: ki } = sn(mn, vn), gn = {}, hn = {};
3114
+ const mn = {}, vn = {}, { getSchemaByType: Os, resolveSchemaWithDefaultValue: ki, resolveSchemaToProps: Vs, mappingSchemaToProps: Ns, setDesignerContext: Rs } = sn(mn, vn), gn = {}, hn = {};
3115
3115
  dn(gn, hn, ki);
3116
3116
  function Ft(t, e, n = /* @__PURE__ */ new Map(), o = (r, c, l, u) => c, i = {}, a = (r) => r) {
3117
3117
  return un[e.title] = e, cn[e.title] = o, fn[e.title] = i, pn[e.title] = a, mn[e.title] = e, vn[e.title] = o, gn[e.title] = i, hn[e.title] = a, (r = {}, c = !0) => {
@@ -3678,7 +3678,7 @@ async function Fa(t) {
3678
3678
  if (!i)
3679
3679
  throw _t();
3680
3680
  }
3681
- async function Ma(t) {
3681
+ async function Ba(t) {
3682
3682
  try {
3683
3683
  await Ea(t);
3684
3684
  } catch (e) {
@@ -3689,14 +3689,14 @@ async function Ma(t) {
3689
3689
  }
3690
3690
  }
3691
3691
  }
3692
- function Ba() {
3692
+ function Ma() {
3693
3693
  async function t(e) {
3694
- await Ma(e);
3694
+ await Ba(e);
3695
3695
  }
3696
3696
  return { onCopy: t };
3697
3697
  }
3698
3698
  function ka(t, e, n, o) {
3699
- const i = y(14), a = y(140), r = y(""), c = y(o.value.length), l = R(() => o.value), u = R(() => ({
3699
+ const i = b(14), a = b(140), r = b(""), c = b(o.value.length), l = R(() => o.value), u = R(() => ({
3700
3700
  "font-size": `${i.value}px`,
3701
3701
  height: "100%"
3702
3702
  }));
@@ -3706,7 +3706,7 @@ function ka(t, e, n, o) {
3706
3706
  c.value = m.length;
3707
3707
  }
3708
3708
  }
3709
- return () => b(Qe, null, [b("textarea", {
3709
+ return () => C(Qe, null, [C("textarea", {
3710
3710
  title: "promptMessage",
3711
3711
  name: "promptMessage",
3712
3712
  class: "form-control",
@@ -3714,7 +3714,7 @@ function ka(t, e, n, o) {
3714
3714
  rows: "4",
3715
3715
  maxlength: a.value,
3716
3716
  onInput: (s) => p(s)
3717
- }, [l.value]), b("span", {
3717
+ }, [l.value]), C("span", {
3718
3718
  class: "textarea-wordcount",
3719
3719
  title: r.value,
3720
3720
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -3728,7 +3728,7 @@ function Ia(t, e, n, o) {
3728
3728
  return { getEditorRender: r };
3729
3729
  }
3730
3730
  function Pa() {
3731
- const t = y(!1), e = y("复制成功");
3731
+ const t = b(!1), e = b("复制成功");
3732
3732
  return {
3733
3733
  feedbackStyle: R(() => {
3734
3734
  const o = {
@@ -3764,8 +3764,8 @@ function Va(t, e) {
3764
3764
  return 0;
3765
3765
  let f = 0;
3766
3766
  for (let v = 0; v < d.length; v++) {
3767
- const C = d.charCodeAt(v);
3768
- C >= 0 && C <= 128 ? f++ : f = f + 2;
3767
+ const y = d.charCodeAt(v);
3768
+ y >= 0 && y <= 128 ? f++ : f = f + 2;
3769
3769
  }
3770
3770
  return f;
3771
3771
  }
@@ -3773,13 +3773,13 @@ function Va(t, e) {
3773
3773
  if (d !== "" && d !== void 0 && d !== null) {
3774
3774
  d = "" + d;
3775
3775
  const v = d.length;
3776
- let C = "", F = 0;
3777
- for (let M = 0; M < v; M++) {
3778
- const L = d.charAt(M);
3779
- if (F++, encodeURI(L).length > 4 && F++, C = C.concat(L), F >= f)
3780
- return C = C.concat("..."), C;
3776
+ let y = "", E = 0;
3777
+ for (let B = 0; B < v; B++) {
3778
+ const A = d.charAt(B);
3779
+ if (E++, encodeURI(A).length > 4 && E++, y = y.concat(A), E >= f)
3780
+ return y = y.concat("..."), y;
3781
3781
  }
3782
- if (F < f)
3782
+ if (E < f)
3783
3783
  return d;
3784
3784
  }
3785
3785
  return "";
@@ -3787,7 +3787,7 @@ function Va(t, e) {
3787
3787
  const i = R(() => !!t.value && !!t.value.date), a = R(() => {
3788
3788
  const d = t.value && t.value.date || "";
3789
3789
  return `${e.exception.happend} : ${d}`;
3790
- }), r = R(() => !!t.value && !!t.value.detail), c = R(() => t.value ? n(t.value.detail) > 160 : !1), l = y(!1), u = R(() => l.value ? e.exception.collapse : e.exception.expand), p = R(() => {
3790
+ }), r = R(() => !!t.value && !!t.value.detail), c = R(() => t.value ? n(t.value.detail) > 160 : !1), l = b(!1), u = R(() => l.value ? e.exception.collapse : e.exception.expand), p = R(() => {
3791
3791
  const d = e.exception.detail + " : " + (t.value && t.value.detail) || "";
3792
3792
  return l.value ? d : o(d, 160);
3793
3793
  }), s = R(() => ({
@@ -3800,31 +3800,31 @@ function Va(t, e) {
3800
3800
  function m() {
3801
3801
  l.value = !l.value;
3802
3802
  }
3803
- return () => b("div", {
3803
+ return () => C("div", {
3804
3804
  class: "toast-msg-detail"
3805
- }, [i.value && b("div", null, [a.value]), r.value && b("div", {
3805
+ }, [i.value && C("div", null, [a.value]), r.value && C("div", {
3806
3806
  class: "exception_wrap"
3807
- }, [b("div", {
3807
+ }, [C("div", {
3808
3808
  class: "exception_error_msg"
3809
- }, [b("div", {
3809
+ }, [C("div", {
3810
3810
  innerHTML: p.value
3811
- }, null), c.value && b("span", {
3811
+ }, null), c.value && C("span", {
3812
3812
  style: s.value,
3813
3813
  onClick: m
3814
3814
  }, [u.value])])])]);
3815
3815
  }
3816
3816
  function Na(t) {
3817
- return () => b("p", {
3817
+ return () => C("p", {
3818
3818
  class: "toast-msg-detail",
3819
3819
  innerHTML: t.value
3820
3820
  }, null);
3821
3821
  }
3822
3822
  function Ra(t, e, n, o, i) {
3823
- const a = y(t.exceptionInfo), r = R(() => {
3823
+ const a = b(t.exceptionInfo), r = R(() => {
3824
3824
  const f = e.value === "question" ? "warning" : e.value, v = {
3825
3825
  "f-icon": !0
3826
- }, C = `f-icon-${f}`;
3827
- return v[C] = !0, v;
3826
+ }, y = `f-icon-${f}`;
3827
+ return v[y] = !0, v;
3828
3828
  }), c = R(() => n.value || a.value && a.value.message), l = R(() => o.value), u = R(() => !!o.value), p = R(() => !!a.value);
3829
3829
  function s() {
3830
3830
  return p.value ? Va(a, i) : u.value ? Na(l) : () => null;
@@ -3833,13 +3833,13 @@ function Ra(t, e, n, o, i) {
3833
3833
  wordBreak: "keep-all",
3834
3834
  overflowWrap: "break-word"
3835
3835
  } : {});
3836
- return () => b(Qe, null, [b("div", {
3836
+ return () => C(Qe, null, [C("div", {
3837
3837
  class: "float-left modal-tips-iconwrap"
3838
- }, [b("span", {
3838
+ }, [C("span", {
3839
3839
  class: r.value
3840
- }, null)]), b("div", {
3840
+ }, null)]), C("div", {
3841
3841
  class: "modal-tips-content"
3842
- }, [b("p", {
3842
+ }, [C("p", {
3843
3843
  class: "toast-msg-title",
3844
3844
  innerHTML: c.value,
3845
3845
  style: d.value
@@ -3850,7 +3850,7 @@ function Da(t, e, n, o) {
3850
3850
  onCopy: i
3851
3851
  } = e, {
3852
3852
  toShowFeedback: a
3853
- } = n, r = y(o.exception.copySuccess || "复制成功"), c = y(o.exception.copy || "复制详细信息"), l = y(t.exceptionInfo || {
3853
+ } = n, r = b(o.exception.copySuccess || "复制成功"), c = b(o.exception.copy || "复制详细信息"), l = b(t.exceptionInfo || {
3854
3854
  date: "",
3855
3855
  message: "",
3856
3856
  detail: ""
@@ -3864,39 +3864,39 @@ function Da(t, e, n, o) {
3864
3864
  }, 700);
3865
3865
  });
3866
3866
  }
3867
- return () => b("span", {
3867
+ return () => C("span", {
3868
3868
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
3869
- }, [b("span", {
3869
+ }, [C("span", {
3870
3870
  onClick: p,
3871
3871
  style: "cursor: pointer;"
3872
3872
  }, [c.value])]);
3873
3873
  }
3874
3874
  function $a(t, e, n, o, i) {
3875
- const a = y(t.type), r = y(t.buttons), c = y(t.exceptionInfo), l = y(i.ok || t.okButtonText), u = y(i.cancel || t.cancelButtonText), p = y(t.showCancelButton), s = y(t.showOkButton), m = R(() => !!(r.value && r.value.length)), d = R(() => c.value && c.value.message && c.value.detail), f = R(() => !(r.value && r.value.length) && (s.value || p.value)), v = Da(t, n, o, i);
3875
+ const a = b(t.type), r = b(t.buttons), c = b(t.exceptionInfo), l = b(i.ok || t.okButtonText), u = b(i.cancel || t.cancelButtonText), p = b(t.showCancelButton), s = b(t.showOkButton), m = R(() => !!(r.value && r.value.length)), d = R(() => c.value && c.value.message && c.value.detail), f = R(() => !(r.value && r.value.length) && (s.value || p.value)), v = Da(t, n, o, i);
3876
3876
  l.value === "关闭" ? l.value = i.close : l.value === "知道了" && (l.value = i.exception.roger);
3877
- function C(M) {
3877
+ function y(B) {
3878
3878
  a.value === "question" && e.emit("reject"), e.emit("close");
3879
3879
  }
3880
- function F(M) {
3880
+ function E(B) {
3881
3881
  a.value === "question" && e.emit("accept"), e.emit("close");
3882
3882
  }
3883
- return () => b("div", {
3883
+ return () => C("div", {
3884
3884
  class: "modal-footer"
3885
- }, [d.value && v(), f.value && p.value && b("button", {
3885
+ }, [d.value && v(), f.value && p.value && C("button", {
3886
3886
  type: "button",
3887
3887
  class: "btn btn-secondary btn-lg",
3888
- onClick: C
3889
- }, [u.value]), f.value && s.value && b("button", {
3888
+ onClick: y
3889
+ }, [u.value]), f.value && s.value && C("button", {
3890
3890
  type: "button",
3891
3891
  class: "btn btn-primary btn-lg",
3892
- onClick: F
3893
- }, [l.value]), m.value && r.value.length && r.value.map((M) => b("button", {
3892
+ onClick: E
3893
+ }, [l.value]), m.value && r.value.length && r.value.map((B) => C("button", {
3894
3894
  type: "button",
3895
- onClick: M.handle,
3896
- class: M.class
3897
- }, [M.iconClass && b("span", {
3898
- class: M.iconClass
3899
- }, null), M.text]))]);
3895
+ onClick: B.handle,
3896
+ class: B.class
3897
+ }, [B.iconClass && C("span", {
3898
+ class: B.iconClass
3899
+ }, null), B.text]))]);
3900
3900
  }
3901
3901
  function ja(t) {
3902
3902
  const { t: e, locale: n } = Ut();
@@ -3924,30 +3924,30 @@ function ja(t) {
3924
3924
  locale: n.value
3925
3925
  };
3926
3926
  }
3927
- const ht = /* @__PURE__ */ Be({
3927
+ const ht = /* @__PURE__ */ Me({
3928
3928
  name: "FMessageBox",
3929
3929
  props: Ta,
3930
3930
  emits: ["accept", "reject", "close"],
3931
3931
  setup(t, e) {
3932
- const n = ja(t), o = y(t.type), i = y(t.title), a = y(t.detail), r = R(() => {
3933
- const F = {
3932
+ const n = ja(t), o = b(t.type), i = b(t.title), a = b(t.detail), r = R(() => {
3933
+ const E = {
3934
3934
  "modal-tips": !0,
3935
3935
  "d-flex": !0,
3936
3936
  "flex-row": !0
3937
- }, M = `messager-type-${o.value}`;
3938
- return F[M] = !0, F;
3937
+ }, B = `messager-type-${o.value}`;
3938
+ return E[B] = !0, E;
3939
3939
  }), c = R(() => {
3940
- const F = {
3940
+ const E = {
3941
3941
  cursor: "default"
3942
3942
  };
3943
- return o.value === "prompt" ? F.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (F.padding = "0.5rem 1.5rem 1rem 1.5rem"), F;
3944
- }), l = Ba(), u = Ia(t, o, i, a), p = Pa(), {
3943
+ return o.value === "prompt" ? E.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (E.padding = "0.5rem 1.5rem 1rem 1.5rem"), E;
3944
+ }), l = Ma(), u = Ia(t, o, i, a), p = Pa(), {
3945
3945
  feedbackStyle: s,
3946
3946
  feedbackMessage: m
3947
3947
  } = p;
3948
3948
  m.value = n.exception.copySuccess;
3949
3949
  function d() {
3950
- return b("div", {
3950
+ return C("div", {
3951
3951
  style: s.value
3952
3952
  }, [m.value]);
3953
3953
  }
@@ -3959,16 +3959,16 @@ const ht = /* @__PURE__ */ Be({
3959
3959
  return Ra(t, o, i, a, n);
3960
3960
  }
3961
3961
  }
3962
- const v = f(), C = $a(t, e, l, p, n);
3963
- return () => b("div", {
3962
+ const v = f(), y = $a(t, e, l, p, n);
3963
+ return () => C("div", {
3964
3964
  class: "farris-messager"
3965
- }, [!t.exceptionInfo && b("div", {
3965
+ }, [!t.exceptionInfo && C("div", {
3966
3966
  style: "height: 30px;width: 100%;position: absolute;",
3967
3967
  class: "messager-draggable"
3968
- }, null), b("section", {
3968
+ }, null), C("section", {
3969
3969
  class: r.value,
3970
3970
  style: c.value
3971
- }, [v()]), C(), d()]);
3971
+ }, [v()]), y(), d()]);
3972
3972
  }
3973
3973
  }), La = "https://json-schema.org/draft/2020-12/schema", Aa = "https://farris-design.gitee.io/modal.schema.json", Ha = "modal", za = "弹窗组件", qa = "object", Ua = {
3974
3974
  id: {
@@ -4273,20 +4273,20 @@ class Xe {
4273
4273
  }
4274
4274
  }
4275
4275
  function Ka(t, e) {
4276
- const n = y(), o = y(), i = y(), a = y(), r = y(), c = y(), l = y(), u = y(), p = y(), s = y(), m = y(), d = y(t.resizeable), f = y(), v = y(t.draggable), C = y(!1);
4277
- function F() {
4278
- const D = o.value || document.body, V = window.getComputedStyle(D);
4276
+ const n = b(), o = b(), i = b(), a = b(), r = b(), c = b(), l = b(), u = b(), p = b(), s = b(), m = b(), d = b(t.resizeable), f = b(), v = b(t.draggable), y = b(!1);
4277
+ function E() {
4278
+ const O = o.value || document.body, V = window.getComputedStyle(O);
4279
4279
  if (!V || !n.value)
4280
4280
  return;
4281
4281
  const _ = ae.getTransformInfo(n.value), q = {};
4282
4282
  l.value && (q.deltaL = n.value.offsetLeft - l.value.x, q.deltaT = n.value.offsetTop - l.value.y);
4283
4283
  const te = V.getPropertyValue("position");
4284
- q.width = D.clientWidth, q.height = D.clientHeight, q.pr = parseInt(V.getPropertyValue("padding-right"), 10), q.pb = parseInt(V.getPropertyValue("padding-bottom"), 10), q.position = V.getPropertyValue("position"), te === "static" && (D.style.position = "relative"), q.translateX = _.x, q.translateY = _.y, s.value = q;
4284
+ q.width = O.clientWidth, q.height = O.clientHeight, q.pr = parseInt(V.getPropertyValue("padding-right"), 10), q.pb = parseInt(V.getPropertyValue("padding-bottom"), 10), q.position = V.getPropertyValue("position"), te === "static" && (O.style.position = "relative"), q.translateX = _.x, q.translateY = _.y, s.value = q;
4285
4285
  }
4286
- function M(D) {
4286
+ function B(O) {
4287
4287
  if (n.value) {
4288
- a.value = Xe.getCurrent(n.value), r.value = ae.getCurrent(n.value), c.value = a.value ? Xe.copy(a.value) : null, l.value = r.value ? ae.copy(r.value) : null, F();
4289
- const V = D.target.getAttribute("type") || "";
4288
+ a.value = Xe.getCurrent(n.value), r.value = ae.getCurrent(n.value), c.value = a.value ? Xe.copy(a.value) : null, l.value = r.value ? ae.copy(r.value) : null, E();
4289
+ const V = O.target.getAttribute("type") || "";
4290
4290
  u.value = {
4291
4291
  n: !!V.match(/n/),
4292
4292
  s: !!V.match(/s/),
@@ -4295,50 +4295,50 @@ function Ka(t, e) {
4295
4295
  };
4296
4296
  }
4297
4297
  }
4298
- function L() {
4299
- var D, V, _, q;
4298
+ function A() {
4299
+ var O, V, _, q;
4300
4300
  if (n.value) {
4301
4301
  const te = n.value;
4302
- u.value && ((u.value.n || u.value.s) && ((D = c.value) != null && D.height) && (te.style.height = c.value.height + "px"), (u.value.w || u.value.e) && ((V = c.value) != null && V.width) && (te.style.width = c.value.width + "px"), l.value && ((_ = l.value) != null && _.x && (te.style.left = l.value.x + "px"), (q = l.value) != null && q.y && (te.style.top = l.value.y + "px")));
4302
+ u.value && ((u.value.n || u.value.s) && ((O = c.value) != null && O.height) && (te.style.height = c.value.height + "px"), (u.value.w || u.value.e) && ((V = c.value) != null && V.width) && (te.style.width = c.value.width + "px"), l.value && ((_ = l.value) != null && _.x && (te.style.left = l.value.x + "px"), (q = l.value) != null && q.y && (te.style.top = l.value.y + "px")));
4303
4303
  }
4304
4304
  }
4305
4305
  function N() {
4306
- const D = t.minHeight ? t.minHeight : 1, V = t.minWidth ? t.minWidth : 1;
4307
- c.value && l.value && u.value && a.value && (c.value.height < D && (c.value.height = D, u.value.n && r.value && (l.value.y = r.value.y + (a.value.height - D))), c.value.width < V && (c.value.width = V, u.value.w && r.value && (l.value.x = r.value.x + (a.value.width - V))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, r.value && u.value.n && (l.value.y = r.value.y + (a.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, u.value.w && r.value && (l.value.x = r.value.x + (a.value.width - t.maxWidth))));
4306
+ const O = t.minHeight ? t.minHeight : 1, V = t.minWidth ? t.minWidth : 1;
4307
+ c.value && l.value && u.value && a.value && (c.value.height < O && (c.value.height = O, u.value.n && r.value && (l.value.y = r.value.y + (a.value.height - O))), c.value.width < V && (c.value.width = V, u.value.w && r.value && (l.value.x = r.value.x + (a.value.width - V))), t.maxHeight && c.value.height > t.maxHeight && (c.value.height = t.maxHeight, r.value && u.value.n && (l.value.y = r.value.y + (a.value.height - t.maxHeight))), t.maxWidth && c.value.width > t.maxWidth && (c.value.width = t.maxWidth, u.value.w && r.value && (l.value.x = r.value.x + (a.value.width - t.maxWidth))));
4308
4308
  }
4309
4309
  function T() {
4310
4310
  if (o.value) {
4311
- const D = s.value;
4311
+ const O = s.value;
4312
4312
  if (l.value && c.value && u.value && a.value) {
4313
- const V = D.width - D.pr - D.deltaL - D.translateX - l.value.x, _ = D.height - D.pb - D.deltaT - D.translateY - l.value.y;
4314
- u.value.n && l.value.y + D.translateY < 0 && r.value && (l.value.y = -D.translateY, c.value.height = a.value.height + r.value.y + D.translateY), u.value.w && l.value.x + D.translateX < 0 && r.value && (l.value.x = -D.translateX, c.value.width = a.value.width + r.value.x + D.translateX), c.value.width > V && (c.value.width = V), c.value.height > _ && (c.value.height = _);
4313
+ const V = O.width - O.pr - O.deltaL - O.translateX - l.value.x, _ = O.height - O.pb - O.deltaT - O.translateY - l.value.y;
4314
+ u.value.n && l.value.y + O.translateY < 0 && r.value && (l.value.y = -O.translateY, c.value.height = a.value.height + r.value.y + O.translateY), u.value.w && l.value.x + O.translateX < 0 && r.value && (l.value.x = -O.translateX, c.value.width = a.value.width + r.value.x + O.translateX), c.value.width > V && (c.value.width = V), c.value.height > _ && (c.value.height = _);
4315
4315
  }
4316
4316
  }
4317
4317
  }
4318
- function g(D) {
4318
+ function h(O) {
4319
4319
  if (!i.value || !a.value || !r.value || !u.value)
4320
4320
  return;
4321
- D.subtract(i.value);
4322
- const V = D.x, _ = D.y;
4323
- u.value.n ? (l.value.y = r.value.y + _, c.value.height = a.value.height - _) : u.value.s && (c.value.height = a.value.height + _), u.value.e ? c.value.width = a.value.width + V : u.value.w && (c.value.width = a.value.width - V, l.value.x = r.value.x + V), T(), N(), L();
4321
+ O.subtract(i.value);
4322
+ const V = O.x, _ = O.y;
4323
+ u.value.n ? (l.value.y = r.value.y + _, c.value.height = a.value.height - _) : u.value.s && (c.value.height = a.value.height + _), u.value.e ? c.value.width = a.value.width + V : u.value.w && (c.value.width = a.value.width - V, l.value.x = r.value.x + V), T(), N(), A();
4324
4324
  }
4325
- function w(D) {
4325
+ function w(O) {
4326
4326
  if (!p.value)
4327
4327
  return;
4328
- const V = ae.fromEvent(D);
4329
- V && g(V);
4328
+ const V = ae.fromEvent(O);
4329
+ V && h(V);
4330
4330
  }
4331
- function E() {
4331
+ function F() {
4332
4332
  if (n.value) {
4333
4333
  const {
4334
- width: D,
4334
+ width: O,
4335
4335
  height: V,
4336
4336
  x: _,
4337
4337
  y: q
4338
4338
  } = n.value.getBoundingClientRect(), te = ae.getTransformInfo(n.value);
4339
4339
  return {
4340
4340
  size: {
4341
- width: D,
4341
+ width: O,
4342
4342
  height: V
4343
4343
  },
4344
4344
  position: {
@@ -4349,67 +4349,67 @@ function Ka(t, e) {
4349
4349
  }
4350
4350
  return null;
4351
4351
  }
4352
- function k(D) {
4352
+ function M(O) {
4353
4353
  if (n.value) {
4354
- const V = E();
4354
+ const V = F();
4355
4355
  m.value = V;
4356
4356
  }
4357
- i.value = void 0, a.value = null, r.value = null, c.value = null, l.value = null, u.value = null, p.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", k);
4357
+ i.value = void 0, a.value = null, r.value = null, c.value = null, l.value = null, u.value = null, p.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", M);
4358
4358
  }
4359
4359
  function z() {
4360
- document.addEventListener("mousemove", w), document.addEventListener("mouseup", k);
4360
+ document.addEventListener("mousemove", w), document.addEventListener("mouseup", M);
4361
4361
  }
4362
- function h(D) {
4363
- D instanceof MouseEvent && D.button === 2 || v.value && (document.body.click(), D.stopPropagation(), D.preventDefault(), i.value = ae.fromEvent(D), p.value = D.target, M(D), z());
4362
+ function g(O) {
4363
+ O instanceof MouseEvent && O.button === 2 || v.value && (document.body.click(), O.stopPropagation(), O.preventDefault(), i.value = ae.fromEvent(O), p.value = O.target, B(O), z());
4364
4364
  }
4365
- function S(D) {
4366
- return n.value = D, d.value && b(Qe, null, [b("div", {
4365
+ function S(O) {
4366
+ return n.value = O, d.value && C(Qe, null, [C("div", {
4367
4367
  class: "fv-resizable-handle fv-resizable-n",
4368
4368
  type: "n",
4369
- onMousedown: (V) => h(V)
4370
- }, null), b("div", {
4369
+ onMousedown: (V) => g(V)
4370
+ }, null), C("div", {
4371
4371
  class: "fv-resizable-handle fv-resizable-e",
4372
4372
  type: "e",
4373
- onMousedown: (V) => h(V)
4374
- }, null), b("div", {
4373
+ onMousedown: (V) => g(V)
4374
+ }, null), C("div", {
4375
4375
  class: "fv-resizable-handle fv-resizable-s",
4376
4376
  type: "s",
4377
- onMousedown: (V) => h(V)
4378
- }, null), b("div", {
4377
+ onMousedown: (V) => g(V)
4378
+ }, null), C("div", {
4379
4379
  class: "fv-resizable-handle fv-resizable-w",
4380
4380
  type: "w",
4381
- onMousedown: (V) => h(V)
4382
- }, null), b("div", {
4381
+ onMousedown: (V) => g(V)
4382
+ }, null), C("div", {
4383
4383
  class: "fv-resizable-handle fv-resizable-ne",
4384
4384
  type: "ne",
4385
- onMousedown: (V) => h(V)
4386
- }, null), b("div", {
4385
+ onMousedown: (V) => g(V)
4386
+ }, null), C("div", {
4387
4387
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4388
4388
  type: "se",
4389
- onMousedown: (V) => h(V)
4390
- }, null), b("div", {
4389
+ onMousedown: (V) => g(V)
4390
+ }, null), C("div", {
4391
4391
  class: "fv-resizable-handle fv-resizable-sw",
4392
4392
  type: "sw",
4393
- onMousedown: (V) => h(V)
4394
- }, null), b("div", {
4393
+ onMousedown: (V) => g(V)
4394
+ }, null), C("div", {
4395
4395
  class: "fv-resizable-handle fv-resizable-nw",
4396
4396
  type: "nw",
4397
- onMousedown: (V) => h(V)
4397
+ onMousedown: (V) => g(V)
4398
4398
  }, null)]);
4399
4399
  }
4400
- function I(D = !0) {
4400
+ function I(O = !0) {
4401
4401
  document.body.click();
4402
4402
  const V = o.value || document.body, _ = Xe.getCurrent(V), q = n.value;
4403
- D && q && (f.value = E(), f.value.transform = q.style.transform), _ && q && (c.value = _, c.value.height -= 14, c.value.width -= 14, q.style.height = c.value.height + "px", q.style.width = c.value.width + "px", q.style.left = "7px", q.style.top = "7px", q.style.transform = "", m.value = {
4403
+ O && q && (f.value = F(), f.value.transform = q.style.transform), _ && q && (c.value = _, c.value.height -= 14, c.value.width -= 14, q.style.height = c.value.height + "px", q.style.width = c.value.width + "px", q.style.left = "7px", q.style.top = "7px", q.style.transform = "", m.value = {
4404
4404
  size: c.value,
4405
4405
  position: {
4406
4406
  x: 0,
4407
4407
  y: 0
4408
4408
  }
4409
- }, v.value = !1, C.value = !0);
4409
+ }, v.value = !1, y.value = !0);
4410
4410
  }
4411
- function O() {
4412
- var D, V;
4411
+ function k() {
4412
+ var O, V;
4413
4413
  if (document.body.click(), f.value) {
4414
4414
  const _ = {
4415
4415
  width: f.value.size.width || 0,
@@ -4418,92 +4418,92 @@ function Ka(t, e) {
4418
4418
  x: (window.innerWidth - _.width) / 2,
4419
4419
  y: (window.innerHeight - _.height) / 2
4420
4420
  };
4421
- (D = c.value) == null || D.set(_), (V = l.value) == null || V.set(q);
4421
+ (O = c.value) == null || O.set(_), (V = l.value) == null || V.set(q);
4422
4422
  const te = n.value;
4423
4423
  te.style.height = _.height + "px", te.style.width = _.width + "px", te.style.left = `${q.x}px`, te.style.top = `${q.y}px`, te.style.transform = "", m.value = {
4424
4424
  size: _,
4425
4425
  position: q
4426
- }, v.value = t.draggable, C.value = !1;
4426
+ }, v.value = t.draggable, y.value = !1;
4427
4427
  }
4428
4428
  }
4429
- function B() {
4429
+ function D() {
4430
4430
  if (n.value) {
4431
- const D = Xe.getCurrent(n.value);
4432
- if (D) {
4431
+ const O = Xe.getCurrent(n.value);
4432
+ if (O) {
4433
4433
  const {
4434
4434
  width: V,
4435
4435
  height: _
4436
- } = D;
4436
+ } = O;
4437
4437
  n.value.style.left = `${(window.innerWidth - V) / 2}px`, n.value.style.top = `${(window.innerHeight - _) / 2}px`, n.value.style.transform = "";
4438
4438
  }
4439
4439
  }
4440
4440
  }
4441
- function H() {
4442
- const D = () => {
4443
- C.value ? I(!1) : B(), document.body.click();
4441
+ function L() {
4442
+ const O = () => {
4443
+ y.value ? I(!1) : D(), document.body.click();
4444
4444
  };
4445
- return window.addEventListener("resize", D), () => {
4446
- window.removeEventListener("resize", D);
4445
+ return window.addEventListener("resize", O), () => {
4446
+ window.removeEventListener("resize", O);
4447
4447
  };
4448
4448
  }
4449
- const Q = H();
4449
+ const J = L();
4450
4450
  return {
4451
4451
  renderResizeBar: S,
4452
4452
  boundingElement: o,
4453
4453
  resizedEventParam: m,
4454
4454
  maximize: I,
4455
- restore: O,
4455
+ restore: k,
4456
4456
  allowDrag: v,
4457
- isMaximized: C,
4458
- unWindowResizeHandle: Q,
4459
- moveToCenter: B
4457
+ isMaximized: y,
4458
+ unWindowResizeHandle: J,
4459
+ moveToCenter: D
4460
4460
  };
4461
4461
  }
4462
4462
  function er(t, e, n) {
4463
- const o = y(), i = y(t.draggable), a = y(t.lockAxis), r = y(), c = y(), l = y(!1), u = y(new ae(0, 0)), p = y(new ae(0, 0)), s = y(new ae(0, 0)), m = y(new ae(0, 0));
4463
+ const o = b(), i = b(t.draggable), a = b(t.lockAxis), r = b(), c = b(), l = b(!1), u = b(new ae(0, 0)), p = b(new ae(0, 0)), s = b(new ae(0, 0)), m = b(new ae(0, 0));
4464
4464
  se(() => n.value, (w) => {
4465
4465
  r.value.style.cursor = w ? "move" : "default";
4466
4466
  });
4467
- function d(w, E) {
4468
- if (E.tagName === "BUTTON")
4467
+ function d(w, F) {
4468
+ if (F.tagName === "BUTTON")
4469
4469
  return !1;
4470
- if (E === w)
4470
+ if (F === w)
4471
4471
  return !0;
4472
- for (const k in E.children)
4473
- if (Object.prototype.hasOwnProperty.call(E.children, k) && d(w, E.children[k]))
4472
+ for (const M in F.children)
4473
+ if (Object.prototype.hasOwnProperty.call(F.children, M) && d(w, F.children[M]))
4474
4474
  return !0;
4475
4475
  return !1;
4476
4476
  }
4477
4477
  function f() {
4478
- var z, h;
4479
- let w = s.value.x + p.value.x, E = s.value.y + p.value.y;
4480
- a.value === "x" ? (w = ((z = u.value) == null ? void 0 : z.x) || 0, s.value.x = 0) : a.value === "y" && (E = ((h = u.value) == null ? void 0 : h.y) || 0, s.value.y = 0);
4481
- const k = `translate3d(${Math.round(w)}px, ${Math.round(E)}px, 0px)`;
4482
- o.value && (o.value.style.transform = k), m.value.x = w, m.value.y = E;
4478
+ var z, g;
4479
+ let w = s.value.x + p.value.x, F = s.value.y + p.value.y;
4480
+ a.value === "x" ? (w = ((z = u.value) == null ? void 0 : z.x) || 0, s.value.x = 0) : a.value === "y" && (F = ((g = u.value) == null ? void 0 : g.y) || 0, s.value.y = 0);
4481
+ const M = `translate3d(${Math.round(w)}px, ${Math.round(F)}px, 0px)`;
4482
+ o.value && (o.value.style.transform = M), m.value.x = w, m.value.y = F;
4483
4483
  }
4484
4484
  function v() {
4485
4485
  if (!c.value || !o.value)
4486
4486
  return null;
4487
- const w = c.value.getBoundingClientRect(), E = o.value.getBoundingClientRect(), k = {
4488
- top: w.top < E.top,
4489
- right: w.right > E.right,
4490
- bottom: w.bottom > E.bottom,
4491
- left: w.left < E.left
4487
+ const w = c.value.getBoundingClientRect(), F = o.value.getBoundingClientRect(), M = {
4488
+ top: w.top < F.top,
4489
+ right: w.right > F.right,
4490
+ bottom: w.bottom > F.bottom,
4491
+ left: w.left < F.left
4492
4492
  };
4493
- return k.top || (s.value.y -= E.top - w.top), k.bottom || (s.value.y -= E.bottom - w.bottom), k.right || (s.value.x -= E.right - w.right), k.left || (s.value.x -= E.left - w.left), f(), k;
4493
+ return M.top || (s.value.y -= F.top - w.top), M.bottom || (s.value.y -= F.bottom - w.bottom), M.right || (s.value.x -= F.right - w.right), M.left || (s.value.x -= F.left - w.left), f(), M;
4494
4494
  }
4495
- function C(w) {
4495
+ function y(w) {
4496
4496
  w && (u.value && w.subtract(u.value), s.value.set(w), f(), v());
4497
4497
  }
4498
- function F(w) {
4499
- l.value && i.value && (w.stopPropagation(), w.preventDefault(), C(ae.fromEvent(w, r.value)));
4498
+ function E(w) {
4499
+ l.value && i.value && (w.stopPropagation(), w.preventDefault(), y(ae.fromEvent(w, r.value)));
4500
4500
  }
4501
- function M() {
4501
+ function B() {
4502
4502
  var w;
4503
- l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (w = o.value) == null || w.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", M));
4503
+ l.value && (l.value = !1, p.value.add(s.value), s.value.reset(), (w = o.value) == null || w.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", E), document.removeEventListener("mouseup", B));
4504
4504
  }
4505
- function L() {
4506
- !l.value && r.value && (l.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", F), document.addEventListener("mouseup", M));
4505
+ function A() {
4506
+ !l.value && r.value && (l.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", E), document.addEventListener("mouseup", B));
4507
4507
  }
4508
4508
  function N() {
4509
4509
  if (o.value) {
@@ -4516,26 +4516,26 @@ function er(t, e, n) {
4516
4516
  function T(w) {
4517
4517
  if (!n.value || w instanceof MouseEvent && w.button === 2)
4518
4518
  return;
4519
- const E = w.target || w.srcElement;
4520
- r.value !== void 0 && E && !d(E, r.value) || i.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), u.value = ae.fromEvent(w, o.value), N(), L());
4519
+ const F = w.target || w.srcElement;
4520
+ r.value !== void 0 && F && !d(F, r.value) || i.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), u.value = ae.fromEvent(w, o.value), N(), A());
4521
4521
  }
4522
- function g(w, E, k) {
4523
- if (i.value && E) {
4522
+ function h(w, F, M) {
4523
+ if (i.value && F) {
4524
4524
  if (w)
4525
4525
  r.value = w;
4526
4526
  else if (t.dragHandle) {
4527
4527
  if (t.dragHandle instanceof HTMLElement)
4528
4528
  r.value = t.dragHandle;
4529
4529
  else if (typeof t.dragHandle == "string") {
4530
- const z = E.querySelector(t.dragHandle);
4530
+ const z = F.querySelector(t.dragHandle);
4531
4531
  z && (r.value = z);
4532
4532
  }
4533
4533
  }
4534
- o.value = E, c.value = k, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", T)) : i.value = !1;
4534
+ o.value = F, c.value = M, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", T)) : i.value = !1;
4535
4535
  }
4536
4536
  }
4537
4537
  return {
4538
- registerDraggle: g,
4538
+ registerDraggle: h,
4539
4539
  resetTranslate: N
4540
4540
  };
4541
4541
  }
@@ -4550,7 +4550,7 @@ function Cn(t, e) {
4550
4550
  }
4551
4551
  }
4552
4552
  function tr(t, e) {
4553
- const n = y(t.enableEsc);
4553
+ const n = b(t.enableEsc);
4554
4554
  let o = null;
4555
4555
  return n.value ? (o = Cn("Escape", (i) => {
4556
4556
  e.emit("esc", { event: i.event, type: "esc" });
@@ -4559,7 +4559,7 @@ function tr(t, e) {
4559
4559
  }) : null;
4560
4560
  }
4561
4561
  function nr(t, e) {
4562
- const n = y(t.enableEnter);
4562
+ const n = b(t.enableEnter);
4563
4563
  let o = null;
4564
4564
  return n.value ? (o = Cn("Enter", (i) => {
4565
4565
  e.emit("enter", { event: i.event, type: "enter" });
@@ -4567,17 +4567,17 @@ function nr(t, e) {
4567
4567
  remove: o
4568
4568
  }) : null;
4569
4569
  }
4570
- const Je = /* @__PURE__ */ Be({
4570
+ const Je = /* @__PURE__ */ Me({
4571
4571
  name: "FModal",
4572
4572
  props: bn,
4573
4573
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
4574
4574
  setup(t, e) {
4575
- const n = y(t.width || 300), o = y(t.height || 200), i = y(t.modelValue), a = y(""), r = y(t.class), c = y(t.fitContent), l = y(t.showHeader), u = y(""), p = y(t.showCloseButton), s = y(t.showMaxButton), m = y(!1), d = y(t.dialogType), f = y(t.src), v = y(""), C = y(t.showButtons), F = y(t.title), M = y(t.containment || null), L = y(), {
4575
+ const n = b(t.width || 300), o = b(t.height || 200), i = b(t.modelValue), a = b(""), r = b(t.class), c = b(t.fitContent), l = b(t.showHeader), u = b(""), p = b(t.showCloseButton), s = b(t.showMaxButton), m = b(!1), d = b(t.dialogType), f = b(t.src), v = b(""), y = b(t.showButtons), E = b(t.title), B = b(t.containment || null), A = b(), {
4576
4576
  t: N
4577
4577
  } = Ut();
4578
- F.value === "错误提示" && (F.value = N("messageBox.errorTitle"));
4579
- const T = y(!1);
4580
- function g(P, Z) {
4578
+ E.value === "错误提示" && (E.value = N("messageBox.errorTitle"));
4579
+ const T = b(!1);
4580
+ function h(P, Z) {
4581
4581
  const le = Z ? "accept" : "cancel";
4582
4582
  Promise.resolve().then(() => {
4583
4583
  var ce;
@@ -4593,21 +4593,21 @@ const Je = /* @__PURE__ */ Be({
4593
4593
  text: N("messageBox.cancel") || "取消",
4594
4594
  class: "btn btn-secondary",
4595
4595
  handle: (P) => {
4596
- g(P, !1);
4596
+ h(P, !1);
4597
4597
  }
4598
4598
  }, {
4599
4599
  name: "accept",
4600
4600
  text: N("messageBox.ok") || "确定",
4601
4601
  class: "btn btn-primary",
4602
4602
  handle: (P) => {
4603
- g(P, !0);
4603
+ h(P, !0);
4604
4604
  }
4605
- }], E = y(t.buttons && t.buttons.length ? t.buttons : w), k = R(() => !!u.value), z = R(() => !!C.value && !!E.value), h = y(), S = y(), I = y(!1), {
4606
- renderResizeBar: O,
4607
- maximize: B,
4608
- restore: H,
4609
- boundingElement: Q,
4610
- resizedEventParam: D,
4605
+ }], F = b(t.buttons && t.buttons.length ? t.buttons : w), M = R(() => !!u.value), z = R(() => !!y.value && !!F.value), g = b(), S = b(), I = b(!1), {
4606
+ renderResizeBar: k,
4607
+ maximize: D,
4608
+ restore: L,
4609
+ boundingElement: J,
4610
+ resizedEventParam: O,
4611
4611
  allowDrag: V,
4612
4612
  unWindowResizeHandle: _,
4613
4613
  moveToCenter: q
@@ -4619,19 +4619,19 @@ const Je = /* @__PURE__ */ Be({
4619
4619
  }
4620
4620
  function he() {
4621
4621
  const P = document.querySelectorAll(".farris-modal").length;
4622
- (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), L.value && L.value.classList.remove("show");
4622
+ (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), A.value && A.value.classList.remove("show");
4623
4623
  }
4624
4624
  se(() => t.title, (P, Z) => {
4625
- P !== Z && (F.value = P);
4625
+ P !== Z && (E.value = P);
4626
4626
  }), se(() => t.modelValue, (P, Z) => {
4627
4627
  P !== Z && (i.value = P, i.value && t.draggable && Ye(() => {
4628
- S.value && !M.value && (M.value = S.value.parentElement, Q.value = M.value, te(h.value, S.value, Q.value), q());
4629
- }), P || (M.value && (M.value = null), he())), i.value ? T.value = ge() : (I.value = !1, V.value = t.draggable);
4628
+ S.value && !B.value && (B.value = S.value.parentElement, J.value = B.value, te(g.value, S.value, J.value), q());
4629
+ }), P || (B.value && (B.value = null), he())), i.value ? T.value = ge() : (I.value = !1, V.value = t.draggable);
4630
4630
  }), se(() => t.showHeader, (P, Z) => {
4631
4631
  P !== Z && (l.value = P);
4632
4632
  }), se(() => t.showButtons, (P, Z) => {
4633
- P !== Z && (C.value = P);
4634
- }), se(() => D.value, (P, Z) => {
4633
+ P !== Z && (y.value = P);
4634
+ }), se(() => O.value, (P, Z) => {
4635
4635
  const le = P || {}, ce = Z || {};
4636
4636
  JSON.stringify(le) !== JSON.stringify(ce) && e.emit("resize", {
4637
4637
  newSize: P,
@@ -4639,14 +4639,14 @@ const Je = /* @__PURE__ */ Be({
4639
4639
  isMaximized: I.value
4640
4640
  });
4641
4641
  });
4642
- const J = R(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = R(() => {
4642
+ const Q = R(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = R(() => {
4643
4643
  var le;
4644
4644
  const P = {
4645
4645
  modal: !0,
4646
4646
  "farris-modal": !0,
4647
4647
  fade: !0
4648
4648
  };
4649
- P["f-modal-fitContent"] = !!c.value, P.show = !!J.value;
4649
+ P["f-modal-fitContent"] = !!c.value, P.show = !!Q.value;
4650
4650
  const Z = (le = t.maskClass) == null ? void 0 : le.split(" ");
4651
4651
  return Z == null || Z.reduce((ce, Ie) => (ce[Ie] = !0, ce), P), P;
4652
4652
  }), ue = R(() => {
@@ -4700,57 +4700,57 @@ const Je = /* @__PURE__ */ Be({
4700
4700
  });
4701
4701
  function re(P) {
4702
4702
  if (P == null || P.stopPropagation(), I.value) {
4703
- I.value = !1, H();
4703
+ I.value = !1, L();
4704
4704
  return;
4705
4705
  }
4706
- B(), I.value = !0;
4706
+ D(), I.value = !0;
4707
4707
  }
4708
4708
  async function ot(P, Z) {
4709
4709
  P.handle && await P.handle(Z, P) && e.emit("closed", Z);
4710
4710
  }
4711
4711
  function Ve(P) {
4712
- P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (E.value = P.buttons), P.title && (F.value = P.title);
4712
+ P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (F.value = P.buttons), P.title && (E.value = P.title);
4713
4713
  }
4714
4714
  let Ne = null, Te = null;
4715
4715
  Wn(() => {
4716
4716
  T.value = ge();
4717
4717
  }), Pe(() => {
4718
- S.value && !M.value && (M.value = S.value.parentElement, Q.value = M.value, te(h.value, S.value, Q.value)), J.value && document.body.classList.add("modal-open"), Ne = tr(t, e), Te = nr(t, e);
4718
+ S.value && !B.value && (B.value = S.value.parentElement, J.value = B.value, te(g.value, S.value, J.value)), Q.value && document.body.classList.add("modal-open"), Ne = tr(t, e), Te = nr(t, e);
4719
4719
  }), ct(() => {
4720
4720
  _ && _(), Ne && Ne.remove(), Te && Te.remove();
4721
4721
  }), e.expose({
4722
4722
  modalElementRef: S,
4723
4723
  updateModalOptions: Ve,
4724
- close: g,
4724
+ close: h,
4725
4725
  maxDialog: re,
4726
4726
  isMaximized: I
4727
4727
  });
4728
4728
  function Re() {
4729
- return b("ul", null, [m.value && b("li", {
4729
+ return C("ul", null, [m.value && C("li", {
4730
4730
  class: "f-btn-icon f-bare"
4731
- }, [b("span", {
4731
+ }, [C("span", {
4732
4732
  class: "f-icon modal_minimize"
4733
- }, null)]), s.value && b("li", {
4733
+ }, null)]), s.value && C("li", {
4734
4734
  onClick: re,
4735
4735
  class: "f-btn-icon f-bare",
4736
4736
  style: "pointer-events: auto;"
4737
- }, [b("span", {
4737
+ }, [C("span", {
4738
4738
  class: Se.value
4739
- }, null)]), p.value && b("li", {
4739
+ }, null)]), p.value && C("li", {
4740
4740
  class: "f-btn-icon f-bare",
4741
- onClick: (P) => g(P, !1),
4741
+ onClick: (P) => h(P, !1),
4742
4742
  style: "pointer-events: auto;"
4743
- }, [b("span", {
4743
+ }, [C("span", {
4744
4744
  class: "f-icon modal_close"
4745
4745
  }, null)])]);
4746
4746
  }
4747
4747
  function it() {
4748
- return b("div", {
4748
+ return C("div", {
4749
4749
  class: "modal-footer",
4750
4750
  style: Ke.value
4751
- }, [E.value && E.value.map((P) => {
4752
- const Z = y(P.disabled);
4753
- return b("button", {
4751
+ }, [F.value && F.value.map((P) => {
4752
+ const Z = b(P.disabled);
4753
+ return C("button", {
4754
4754
  name: P.name,
4755
4755
  type: "button",
4756
4756
  disabled: Z.value,
@@ -4758,24 +4758,24 @@ const Je = /* @__PURE__ */ Be({
4758
4758
  onClick: (le) => {
4759
4759
  ot(P, le);
4760
4760
  }
4761
- }, [!!P.iconClass && b("i", {
4761
+ }, [!!P.iconClass && C("i", {
4762
4762
  class: P.iconClass
4763
4763
  }, null), P.text]);
4764
4764
  })]);
4765
4765
  }
4766
4766
  function qe() {
4767
- return b("div", {
4768
- ref: h,
4767
+ return C("div", {
4768
+ ref: g,
4769
4769
  class: "modal-header",
4770
4770
  style: Oe.value
4771
- }, [e.slots.headerTemplate ? e.slots.headerTemplate() : b("div", {
4771
+ }, [e.slots.headerTemplate ? e.slots.headerTemplate() : C("div", {
4772
4772
  class: "modal-title"
4773
- }, [k.value && b("span", {
4773
+ }, [M.value && C("span", {
4774
4774
  class: u.value,
4775
4775
  style: "margin-right: 8px"
4776
- }, null), b("span", {
4776
+ }, null), C("span", {
4777
4777
  class: "modal-title-label"
4778
- }, [F.value])]), b("div", {
4778
+ }, [E.value])]), C("div", {
4779
4779
  class: "actions"
4780
4780
  }, [Re()])]);
4781
4781
  }
@@ -4784,42 +4784,42 @@ const Je = /* @__PURE__ */ Be({
4784
4784
  }
4785
4785
  function De(P) {
4786
4786
  if (P.stopPropagation(), t.allowClickMaskToClose) {
4787
- if (P.target !== L.value)
4787
+ if (P.target !== A.value)
4788
4788
  return;
4789
- g(P, !1);
4789
+ h(P, !1);
4790
4790
  }
4791
4791
  }
4792
4792
  function et() {
4793
4793
  var P, Z;
4794
- return b("div", {
4794
+ return C("div", {
4795
4795
  id: a.value,
4796
4796
  class: ue.value,
4797
4797
  style: ne.value,
4798
4798
  ref: S
4799
- }, [b("div", {
4799
+ }, [C("div", {
4800
4800
  class: He.value
4801
- }, [l.value && qe(), b("div", {
4801
+ }, [l.value && qe(), C("div", {
4802
4802
  class: Ze.value
4803
- }, [(Z = (P = e.slots).default) == null ? void 0 : Z.call(P), d.value === "iframe" && b("iframe", {
4803
+ }, [(Z = (P = e.slots).default) == null ? void 0 : Z.call(P), d.value === "iframe" && C("iframe", {
4804
4804
  title: a.value,
4805
4805
  class: "f-utils-fill",
4806
4806
  width: "100%",
4807
4807
  frameborder: "0",
4808
4808
  src: f.value
4809
- }, null)]), ke()]), !c.value && S.value && !I.value && O(S.value)]);
4809
+ }, null)]), ke()]), !c.value && S.value && !I.value && k(S.value)]);
4810
4810
  }
4811
4811
  function tt(P) {
4812
4812
  return P || "body";
4813
4813
  }
4814
- return () => b(an, {
4814
+ return () => C(an, {
4815
4815
  to: tt(t.host)
4816
4816
  }, {
4817
- default: () => [J.value && b(on, {
4817
+ default: () => [Q.value && C(on, {
4818
4818
  name: "fade",
4819
4819
  appear: !0
4820
4820
  }, {
4821
- default: () => [b("div", {
4822
- ref: L,
4821
+ default: () => [C("div", {
4822
+ ref: A,
4823
4823
  class: ie.value,
4824
4824
  style: oe.value,
4825
4825
  onClick: De
@@ -4842,22 +4842,22 @@ function or(t) {
4842
4842
  ct(() => {
4843
4843
  document.body.removeChild(e);
4844
4844
  });
4845
- const a = y(), r = y(t.class || ""), c = y(!!t.showButtons), l = y(!!t.showHeader), u = y(t.showCloseButton == null ? !0 : t.showCloseButton), p = y(!0), s = y(t.title || ""), m = t.acceptCallback || (() => {
4845
+ const a = b(), r = b(t.class || ""), c = b(!!t.showButtons), l = b(!!t.showHeader), u = b(t.showCloseButton == null ? !0 : t.showCloseButton), p = b(!0), s = b(t.title || ""), m = t.acceptCallback || (() => {
4846
4846
  }), d = t.rejectCallback || (() => {
4847
- }), f = t.closedCallback || ((L) => {
4848
- }), v = t.resizeHandle || ((L) => {
4849
- }), C = t.stopMoveHandle || ((L) => {
4850
- }), F = wn(t), M = (L) => {
4851
- p.value = !1, n.unmount(), f(L);
4847
+ }), f = t.closedCallback || ((A) => {
4848
+ }), v = t.resizeHandle || ((A) => {
4849
+ }), y = t.stopMoveHandle || ((A) => {
4850
+ }), E = wn(t), B = (A) => {
4851
+ p.value = !1, n.unmount(), f(A);
4852
4852
  };
4853
4853
  return Pe(() => {
4854
4854
  }), i.expose({
4855
4855
  modalRef: a
4856
- }), () => b(Je, {
4856
+ }), () => C(Je, {
4857
4857
  ref: a,
4858
4858
  class: r.value,
4859
4859
  modelValue: p.value,
4860
- "onUpdate:modelValue": (L) => p.value = L,
4860
+ "onUpdate:modelValue": (A) => p.value = A,
4861
4861
  title: s.value,
4862
4862
  width: t.width,
4863
4863
  height: t.height,
@@ -4869,11 +4869,11 @@ function or(t) {
4869
4869
  onAccept: m,
4870
4870
  onCancel: d,
4871
4871
  fitContent: t.fitContent == null ? !0 : t.fitContent,
4872
- onClosed: M,
4872
+ onClosed: B,
4873
4873
  onResize: v,
4874
- onStopMove: C
4874
+ onStopMove: y
4875
4875
  }, {
4876
- default: () => [F && F(n)]
4876
+ default: () => [E && E(n)]
4877
4877
  });
4878
4878
  }
4879
4879
  });
@@ -4882,10 +4882,10 @@ function or(t) {
4882
4882
  class xn {
4883
4883
  constructor(e) {
4884
4884
  X(this, "appContext", null);
4885
- X(this, "modalRef", y());
4886
- X(this, "activeModalIndex", y(0));
4885
+ X(this, "modalRef", b());
4886
+ X(this, "activeModalIndex", b(0));
4887
4887
  X(this, "modalRefs", {});
4888
- X(this, "isUseEscCloseModal", y(!1));
4888
+ X(this, "isUseEscCloseModal", b(!1));
4889
4889
  X(this, "activeModalInstance", R(() => this.modalRefs[this.activeModalIndex.value]));
4890
4890
  this.app = e, this.appContext = e ? e._context : null;
4891
4891
  }
@@ -4924,9 +4924,9 @@ class xn {
4924
4924
  title: "",
4925
4925
  showButtons: !0,
4926
4926
  showHeader: !0
4927
- }, e)), i = y(!0), a = o.value.acceptCallback || (() => {
4927
+ }, e)), i = b(!0), a = o.value.acceptCallback || (() => {
4928
4928
  }), r = o.value.rejectCallback || (() => {
4929
- }), c = o.value.closedCallback || ((T, g) => {
4929
+ }), c = o.value.closedCallback || ((T, h) => {
4930
4930
  }), l = o.value.resizeHandle || ((T) => {
4931
4931
  }), u = e.stopMoveHandle || ((T) => {
4932
4932
  });
@@ -4934,25 +4934,25 @@ class xn {
4934
4934
  const s = wn(o.value), m = (T) => {
4935
4935
  var w;
4936
4936
  i.value = !1;
4937
- const g = (w = T == null ? void 0 : T.target) == null ? void 0 : w.classList.contains("modal_close");
4938
- c(T, this.isUseEscCloseModal.value ? "esc" : g ? "icon" : "button");
4937
+ const h = (w = T == null ? void 0 : T.target) == null ? void 0 : w.classList.contains("modal_close");
4938
+ c(T, this.isUseEscCloseModal.value ? "esc" : h ? "icon" : "button");
4939
4939
  }, d = (T) => {
4940
4940
  m(T), p && Ye(() => {
4941
4941
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Lt(null, n), p = null, this.modalRef.value = null, this.modalRefs) {
4942
- const g = Object.keys(this.modalRefs).map((w) => Number(w));
4943
- g.length > 0 ? this.activeModalIndex.value = Math.max(...g) : this.activeModalIndex.value = 0;
4942
+ const h = Object.keys(this.modalRefs).map((w) => Number(w));
4943
+ h.length > 0 ? this.activeModalIndex.value = Math.max(...h) : this.activeModalIndex.value = 0;
4944
4944
  }
4945
4945
  this.isUseEscCloseModal.value = !1;
4946
4946
  });
4947
4947
  }, f = (T) => {
4948
- var g;
4949
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((g = this.activeModalInstance.value) == null || g.close(T == null ? void 0 : T.event));
4948
+ var h;
4949
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((h = this.activeModalInstance.value) == null || h.close(T == null ? void 0 : T.event));
4950
4950
  }, {
4951
4951
  width: v,
4952
- height: C
4953
- } = o.value, F = this.adaptToWindow(v || 500, C || 320);
4954
- Object.assign(o.value, F);
4955
- const M = () => b(Je, Tt({
4952
+ height: y
4953
+ } = o.value, E = this.adaptToWindow(v || 500, y || 320);
4954
+ Object.assign(o.value, E);
4955
+ const B = () => C(Je, Tt({
4956
4956
  ref: this.modalRef,
4957
4957
  modelValue: i.value,
4958
4958
  "onUpdate:modelValue": (T) => i.value = T
@@ -4967,8 +4967,8 @@ class xn {
4967
4967
  default: () => [s && s(this.app)]
4968
4968
  });
4969
4969
  return p = ((T) => {
4970
- const g = _n(M, T);
4971
- return g.appContext = this.appContext, Lt(g, n), g;
4970
+ const h = _n(B, T);
4971
+ return h.appContext = this.appContext, Lt(h, n), h;
4972
4972
  })({
4973
4973
  ...o.value
4974
4974
  // 'onUpdate:modelValue': onUpdateModelValue,
@@ -4996,14 +4996,14 @@ Je.install = (t) => {
4996
4996
  Je.register = (t, e, n, o) => {
4997
4997
  t.modal = Je, e.modal = Qa, o.modal = { callbackResolver: Za };
4998
4998
  };
4999
- const Me = class Me {
4999
+ const Be = class Be {
5000
5000
  static show(e) {
5001
5001
  const n = Le({
5002
5002
  ...e
5003
5003
  }), o = !1, i = n.type === "error" || n.type === "prompt", a = n.type === "error" ? "错误提示" : n.type === "prompt" && n.title || "", r = n.acceptCallback || (() => {
5004
5004
  }), c = n.rejectCallback || (() => {
5005
5005
  });
5006
- let l = null, u = new xn(Me.app);
5006
+ let l = null, u = new xn(Be.app);
5007
5007
  const p = () => {
5008
5008
  l && (l == null || l.destroy(), u = null);
5009
5009
  };
@@ -5017,7 +5017,7 @@ const Me = class Me {
5017
5017
  showMaxButton: !1,
5018
5018
  draggable: !0,
5019
5019
  dragHandle: ".messager-draggable",
5020
- render: () => b(ht, Tt(n, {
5020
+ render: () => C(ht, Tt(n, {
5021
5021
  onAccept: r,
5022
5022
  onReject: c,
5023
5023
  onClose: p
@@ -5032,7 +5032,7 @@ const Me = class Me {
5032
5032
  okButtonText: "知道了",
5033
5033
  showCancelButton: !1
5034
5034
  });
5035
- Me.show(o);
5035
+ Be.show(o);
5036
5036
  }
5037
5037
  static warning(e, n) {
5038
5038
  const o = Le({
@@ -5042,7 +5042,7 @@ const Me = class Me {
5042
5042
  okButtonText: "知道了",
5043
5043
  showCancelButton: !1
5044
5044
  });
5045
- Me.show(o);
5045
+ Be.show(o);
5046
5046
  }
5047
5047
  static success(e, n) {
5048
5048
  const o = Le({
@@ -5052,7 +5052,7 @@ const Me = class Me {
5052
5052
  okButtonText: "关闭",
5053
5053
  showCancelButton: !1
5054
5054
  });
5055
- Me.show(o);
5055
+ Be.show(o);
5056
5056
  }
5057
5057
  static error(e, n, o) {
5058
5058
  const i = Le({
@@ -5066,7 +5066,7 @@ const Me = class Me {
5066
5066
  detail: n
5067
5067
  }
5068
5068
  });
5069
- Me.show(i);
5069
+ Be.show(i);
5070
5070
  }
5071
5071
  static prompt(e, n) {
5072
5072
  const o = Le({
@@ -5076,7 +5076,7 @@ const Me = class Me {
5076
5076
  okButtonText: "确定",
5077
5077
  cancelButtonText: "取消"
5078
5078
  });
5079
- Me.show(o);
5079
+ Be.show(o);
5080
5080
  }
5081
5081
  static question(e, n, o, i) {
5082
5082
  const a = Le({
@@ -5088,11 +5088,11 @@ const Me = class Me {
5088
5088
  acceptCallback: o,
5089
5089
  rejectCallback: i
5090
5090
  });
5091
- Me.show(a);
5091
+ Be.show(a);
5092
5092
  }
5093
5093
  };
5094
- X(Me, "app", null);
5095
- let wt = Me;
5094
+ X(Be, "app", null);
5095
+ let wt = Be;
5096
5096
  ht.install = (t) => {
5097
5097
  t.component(ht.name, ht), wt.app = t, t.provide("FMessageBoxService", wt);
5098
5098
  };
@@ -5630,55 +5630,56 @@ function rr(t, e) {
5630
5630
  }
5631
5631
  return { getPropsConfig: o };
5632
5632
  }
5633
- const xt = /* @__PURE__ */ Be({
5633
+ const xt = /* @__PURE__ */ Me({
5634
5634
  name: "FRadioGroupDesign",
5635
5635
  props: zo,
5636
5636
  emits: ["changeValue", "update:modelValue"],
5637
5637
  setup(t, e) {
5638
- const n = y(t.modelValue), {
5638
+ const n = b(t.modelValue), {
5639
5639
  enumData: o,
5640
- getValue: i,
5641
- getText: a
5642
- } = qo(t, e, n), r = R(() => ({
5640
+ onClickRadio: i,
5641
+ getValue: a,
5642
+ getText: r
5643
+ } = qo(t, e, n), c = R(() => ({
5643
5644
  "farris-checkradio-hor": t.direction === "horizontal"
5644
- })), c = y(), l = bt("designer-host-service"), u = bt("design-item-context"), p = rr(u, l), s = Uo(c, u, p);
5645
+ })), l = b(), u = bt("designer-host-service"), p = bt("design-item-context"), s = rr(p, u), m = Uo(l, p, s);
5645
5646
  Pe(() => {
5646
- c.value.componentInstance = s;
5647
+ l.value.componentInstance = m;
5647
5648
  });
5648
- const m = R(() => {
5649
+ const d = R(() => {
5649
5650
  if (!o.value || o.value.length === 0) {
5650
- const d = [];
5651
+ const f = [];
5651
5652
  return [{
5652
5653
  value: "example1",
5653
5654
  name: "示例一"
5654
5655
  }, {
5655
5656
  value: "example2",
5656
5657
  name: "示例二"
5657
- }].map((f) => {
5658
- const v = {};
5659
- v[t.valueField] = f.value, v[t.textField] = f.name, d.push(v);
5660
- }), d;
5658
+ }].map((v) => {
5659
+ const y = {};
5660
+ y[t.valueField] = v.value, y[t.textField] = v.name, f.push(y);
5661
+ }), f;
5661
5662
  }
5662
5663
  return o.value;
5663
5664
  });
5664
- return e.expose(s.value), () => b("div", {
5665
- class: ["farris-input-wrap", r.value],
5666
- ref: c
5667
- }, [m.value.map((d, f) => {
5668
- const v = "radio_" + t.name + f;
5669
- return b("div", {
5665
+ return e.expose(m.value), () => C("div", {
5666
+ class: ["farris-input-wrap", c.value],
5667
+ ref: l
5668
+ }, [d.value.map((f, v) => {
5669
+ const y = "radio_" + t.name + v;
5670
+ return C("div", {
5670
5671
  class: "custom-control custom-radio"
5671
- }, [b("input", {
5672
+ }, [C("input", {
5672
5673
  type: "radio",
5673
5674
  class: "custom-control-input",
5674
5675
  name: t.name,
5675
- id: v,
5676
- value: i(d),
5676
+ id: y,
5677
+ value: a(f),
5677
5678
  disabled: !0
5678
- }, null), b("label", {
5679
+ }, null), C("label", {
5679
5680
  class: "custom-control-label",
5680
- for: v
5681
- }, [a(d)])]);
5681
+ for: y
5682
+ }, [r(f)])]);
5682
5683
  })]);
5683
5684
  }
5684
5685
  }), lr = {
@@ -5809,12 +5810,12 @@ const xt = /* @__PURE__ */ Be({
5809
5810
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
5810
5811
  host: { type: Object },
5811
5812
  backgroundColor: { type: String, default: "" }
5812
- }, ur = /* @__PURE__ */ Be({
5813
+ }, ur = /* @__PURE__ */ Me({
5813
5814
  name: "FOverlay",
5814
5815
  props: sr,
5815
5816
  emits: ["click"],
5816
5817
  setup(t, e) {
5817
- const n = y(t.popupContentPosition), o = y(t.host), i = R(() => ({
5818
+ const n = b(t.popupContentPosition), o = b(t.host), i = R(() => ({
5818
5819
  backgroundColor: t.backgroundColor || "",
5819
5820
  pointerEvents: "auto"
5820
5821
  }));
@@ -5841,16 +5842,16 @@ const xt = /* @__PURE__ */ Be({
5841
5842
  // left: `${position.value.left}px`,
5842
5843
  // top: `${position.value.top}px`
5843
5844
  }));
5844
- return () => b(an, {
5845
+ return () => C(an, {
5845
5846
  to: "body"
5846
5847
  }, {
5847
5848
  default: () => {
5848
5849
  var c, l;
5849
- return [b("div", {
5850
+ return [C("div", {
5850
5851
  class: "overlay-container",
5851
5852
  onClick: (u) => a(u),
5852
5853
  style: i.value
5853
- }, [b("div", {
5854
+ }, [C("div", {
5854
5855
  style: r.value
5855
5856
  }, [(l = (c = e.slots).default) == null ? void 0 : l.call(c)])])];
5856
5857
  }
@@ -5877,7 +5878,7 @@ function dr(t) {
5877
5878
  document.body.removeChild(e);
5878
5879
  });
5879
5880
  const a = cr(t);
5880
- return () => b(ur, {
5881
+ return () => C(ur, {
5881
5882
  "popup-content-position": t.popupPosition,
5882
5883
  host: t.host,
5883
5884
  onClick: i,
@@ -5908,26 +5909,26 @@ function Tn(t, e) {
5908
5909
  return { judgeCanOpen: n };
5909
5910
  }
5910
5911
  function pr(t, e, n, o, i) {
5911
- const a = y(t.buttonBehavior), r = y(t.popupOnInput), c = R(() => ({
5912
+ const a = b(t.buttonBehavior), r = b(t.popupOnInput), c = R(() => ({
5912
5913
  "input-group-append": !0,
5913
5914
  "append-force-show": t.showButtonWhenDisabled && (t.readonly || t.disable)
5914
- })), { judgeCanOpen: l } = Tn(t, i), u = R(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), p = bt(Sn, null), s = y();
5915
+ })), { judgeCanOpen: l } = Tn(t, i), u = R(() => t.showButtonWhenDisabled || (!t.editable || !t.readonly) && !t.disable), p = bt(Sn, null), s = b();
5915
5916
  async function m(v) {
5916
5917
  if (await l() && u.value) {
5917
- const C = !!e.slots.default;
5918
+ const y = !!e.slots.default;
5918
5919
  if (a.value === "Modal") {
5919
- const F = t.modalOptions, M = p == null ? void 0 : p.open({
5920
- ...F,
5920
+ const E = t.modalOptions, B = p == null ? void 0 : p.open({
5921
+ ...E,
5921
5922
  render: () => e.slots.default && e.slots.default()
5922
5923
  });
5923
- s.value = M == null ? void 0 : M.modalRef;
5924
+ s.value = B == null ? void 0 : B.modalRef;
5924
5925
  }
5925
5926
  a.value === "Overlay" && fr.show({
5926
5927
  // host: buttonEditRef.value,
5927
5928
  host: document.body,
5928
5929
  backgroundColor: "rgba(0,0,0,.15)",
5929
5930
  render: () => e.slots.default && e.slots.default()
5930
- }), C && a.value === "Popup" && o.togglePopup(!0), C && r.value && o.hidePopup(), e.emit("clickButton", { origin: v, value: t.modelValue });
5931
+ }), y && a.value === "Popup" && o.togglePopup(!0), y && r.value && o.hidePopup(), e.emit("clickButton", { origin: v, value: t.modelValue });
5931
5932
  }
5932
5933
  }
5933
5934
  function d(v) {
@@ -5945,7 +5946,7 @@ function pr(t, e, n, o, i) {
5945
5946
  };
5946
5947
  }
5947
5948
  function mr(t, e, n, o, i, a) {
5948
- const r = y(!1), c = R(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: l, hasClearClass: u } = a;
5949
+ const r = b(!1), c = R(() => t.enableClear && !t.readonly && !t.disable), { changeTextBoxValue: l, hasClearClass: u } = a;
5949
5950
  function p(f) {
5950
5951
  r.value = f, u.value = f;
5951
5952
  }
@@ -5953,8 +5954,8 @@ function mr(t, e, n, o, i, a) {
5953
5954
  p(!!i.value);
5954
5955
  });
5955
5956
  function s(f) {
5956
- const v = !t.readonly && !t.disable && t.editable, C = !t.editable;
5957
- f.stopPropagation(), (v || C) && (l(""), i.value = "", p(!r.value), e.emit("clear"));
5957
+ const v = !t.readonly && !t.disable && t.editable, y = !t.editable;
5958
+ f.stopPropagation(), (v || y) && (l(""), i.value = "", p(!r.value), e.emit("clear"));
5958
5959
  }
5959
5960
  function m(f) {
5960
5961
  if (c.value) {
@@ -5977,13 +5978,13 @@ function mr(t, e, n, o, i, a) {
5977
5978
  };
5978
5979
  }
5979
5980
  function vr(t, e, n, o, i) {
5980
- const a = R(() => t.popupOnInput), r = R(() => t.popupOnFocus), { shouldPopupContent: c, closeAllPopover: l } = i, u = y(!1), p = R(() => t.enableTitle ? n.value : ""), s = R(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), m = R(() => t.readonly || !t.editable), d = y(!1), f = R(() => !t.disable && d.value), v = R(() => ({
5981
+ const a = R(() => t.popupOnInput), r = R(() => t.popupOnFocus), { shouldPopupContent: c, closeAllPopover: l } = i, u = b(!1), p = R(() => t.enableTitle ? n.value : ""), s = R(() => (t.disable || t.readonly) && !t.forcePlaceholder ? "" : t.placeholder), m = R(() => t.readonly || !t.editable), d = b(!1), f = R(() => !t.disable && d.value), v = R(() => ({
5981
5982
  "text-left": t.textAlign === "left",
5982
5983
  "text-center": t.textAlign === "center",
5983
5984
  "text-right": t.textAlign === "right",
5984
5985
  "form-control": !0,
5985
5986
  "f-utils-fill": !0
5986
- })), C = R(() => ({
5987
+ })), y = R(() => ({
5987
5988
  "input-group": !0,
5988
5989
  "f-state-disabled": t.disable,
5989
5990
  "f-state-editable": t.editable && !t.disable && !t.readonly,
@@ -5991,44 +5992,44 @@ function vr(t, e, n, o, i) {
5991
5992
  "f-state-focus": f.value,
5992
5993
  "input-group--has-clear": t.enableClear && u.value
5993
5994
  }));
5994
- function F(h, S = !0) {
5995
- n.value = h, S && (e.emit("change", h), e.emit("update:modelValue", h));
5995
+ function E(g, S = !0) {
5996
+ n.value = g, S && (e.emit("change", g), e.emit("update:modelValue", g));
5996
5997
  }
5997
- function M(h) {
5998
- c.value = !1, F(h, !0);
5998
+ function B(g) {
5999
+ c.value = !1, E(g, !0);
5999
6000
  }
6000
6001
  se(
6001
6002
  () => t.modelValue,
6002
- (h) => {
6003
- n.value = h;
6003
+ (g) => {
6004
+ n.value = g;
6004
6005
  }
6005
6006
  );
6006
- function L(h) {
6007
- d.value = !1, e.emit("blur", h), h.stopPropagation();
6007
+ function A(g) {
6008
+ d.value = !1, e.emit("blur", g), g.stopPropagation();
6008
6009
  }
6009
- function N(h) {
6010
- e.emit("click", h), l(), e.slots.default && !t.disable && !t.readonly && t.popupOnClick && i.togglePopup();
6010
+ function N(g) {
6011
+ e.emit("click", g), l(), e.slots.default && !t.disable && !t.readonly && t.popupOnClick && i.togglePopup();
6011
6012
  }
6012
- function T(h) {
6013
- !t.disable && !t.readonly && (d.value = !0, m.value || (e.emit("focus", h), r.value && !c.value && i.popup()));
6013
+ function T(g) {
6014
+ !t.disable && !t.readonly && (d.value = !0, m.value || (e.emit("focus", g), r.value && !c.value && i.popup()));
6014
6015
  }
6015
- function g(h) {
6016
- e.emit("input", h);
6017
- const S = h.target.value;
6018
- o.value = S, n.value !== S && F(S, t.updateOn === "change"), a.value && !c.value && i.popup();
6016
+ function h(g) {
6017
+ e.emit("input", g);
6018
+ const S = g.target.value;
6019
+ o.value = S, n.value !== S && E(S, t.updateOn === "change"), a.value && !c.value && i.popup();
6019
6020
  }
6020
- function w(h) {
6021
- h.target.tagName !== "INPUT" && h.preventDefault(), h.stopPropagation();
6021
+ function w(g) {
6022
+ g.target.tagName !== "INPUT" && g.preventDefault(), g.stopPropagation();
6022
6023
  }
6023
- function E(h) {
6024
- e.emit("keydown", h);
6024
+ function F(g) {
6025
+ e.emit("keydown", g);
6025
6026
  }
6026
- function k(h) {
6027
- h.key === "Enter" && (a.value || r.value) && i.hidePopup(), e.emit("keyup", h);
6027
+ function M(g) {
6028
+ g.key === "Enter" && (a.value || r.value) && i.hidePopup(), e.emit("keyup", g);
6028
6029
  }
6029
- function z(h) {
6030
- const S = h.target.value;
6031
- h.stopPropagation(), F(S);
6030
+ function z(g) {
6031
+ const S = g.target.value;
6032
+ g.stopPropagation(), E(S);
6032
6033
  }
6033
6034
  return {
6034
6035
  hasFocusedTextBox: f,
@@ -6036,23 +6037,23 @@ function vr(t, e, n, o, i) {
6036
6037
  textBoxClass: v,
6037
6038
  textBoxPlaceholder: s,
6038
6039
  textBoxTitle: p,
6039
- inputGroupClass: C,
6040
+ inputGroupClass: y,
6040
6041
  hasClearClass: u,
6041
- changeTextBoxValue: F,
6042
- commitValue: M,
6043
- onBlurTextBox: L,
6042
+ changeTextBoxValue: E,
6043
+ commitValue: B,
6044
+ onBlurTextBox: A,
6044
6045
  onClickTextBox: N,
6045
6046
  onFocusTextBox: T,
6046
- onInput: g,
6047
- onKeyDownTextBox: E,
6048
- onKeyUpTextBox: k,
6047
+ onInput: h,
6048
+ onKeyDownTextBox: F,
6049
+ onKeyUpTextBox: M,
6049
6050
  onMouseDownTextBox: w,
6050
6051
  onTextBoxValueChange: z
6051
6052
  };
6052
6053
  }
6053
6054
  const _e = "FarrisVue_PopoverInstancesKey";
6054
6055
  function gr(t, e, n, o) {
6055
- const i = y(), a = y(!1), { judgeCanOpen: r } = Tn(t, o);
6056
+ const i = b(), a = b(!1), { judgeCanOpen: r } = Tn(t, o);
6056
6057
  se(() => i.value, (d, f) => {
6057
6058
  window[_e] = window[_e] || /* @__PURE__ */ new WeakMap(), d ? window[_e].set(n.value, d) : window[_e].delete(n.value);
6058
6059
  });
@@ -6094,7 +6095,7 @@ function gr(t, e, n, o) {
6094
6095
  return { hidePopup: s, showPopup: m, popup: p, shouldPopupContent: a, togglePopup: u, popoverRef: i, closeAllPopover: c };
6095
6096
  }
6096
6097
  function hr(t, e, n) {
6097
- const o = y(), {
6098
+ const o = b(), {
6098
6099
  isTextBoxReadonly: i,
6099
6100
  textBoxClass: a,
6100
6101
  textBoxPlaceholder: r,
@@ -6107,33 +6108,33 @@ function hr(t, e, n) {
6107
6108
  onKeyUpTextBox: d,
6108
6109
  onMouseDownTextBox: f,
6109
6110
  onTextBoxValueChange: v
6110
- } = n, C = y(t.id), {
6111
- uuid: F
6112
- } = zt(), M = R(() => ({
6111
+ } = n, y = b(t.id), {
6112
+ uuid: E
6113
+ } = zt(), B = R(() => ({
6113
6114
  "border-top-right-radius": "6px",
6114
6115
  "border-bottom-right-radius": "6px"
6115
6116
  }));
6116
6117
  Pe(() => {
6117
- var w, E;
6118
- t.selectOnCreated && ((w = o.value) == null || w.select()), t.focusOnCreated && ((E = o.value) == null || E.focus({
6118
+ var w, F;
6119
+ t.selectOnCreated && ((w = o.value) == null || w.select()), t.focusOnCreated && ((F = o.value) == null || F.focus({
6119
6120
  preventScroll: !0
6120
- })), C.value || (C.value = "button-edit_" + F(8)), C.value = C.value + "-textbox";
6121
+ })), y.value || (y.value = "button-edit_" + E(8)), y.value = y.value + "-textbox";
6121
6122
  });
6122
- const L = y(!1), N = (w) => {
6123
- w.preventDefault(), L.value = !0;
6123
+ const A = b(!1), N = (w) => {
6124
+ w.preventDefault(), A.value = !0;
6124
6125
  }, T = (w) => {
6125
- w.preventDefault(), L.value = !1, s(w);
6126
+ w.preventDefault(), A.value = !1, s(w);
6126
6127
  };
6127
- function g(w) {
6128
- L.value || s(w);
6128
+ function h(w) {
6129
+ A.value || s(w);
6129
6130
  }
6130
- return () => b("input", {
6131
+ return () => C("input", {
6131
6132
  id: t.id ? t.id + "-textbox" : void 0,
6132
6133
  ref: o,
6133
6134
  name: "input-group-value",
6134
6135
  autocomplete: t.autoComplete ? "on" : "off",
6135
6136
  class: a.value,
6136
- style: M.value,
6137
+ style: B.value,
6137
6138
  disabled: t.disable,
6138
6139
  maxlength: t.maxLength,
6139
6140
  minlength: t.minLength,
@@ -6147,7 +6148,7 @@ function hr(t, e, n) {
6147
6148
  onChange: v,
6148
6149
  onClick: u,
6149
6150
  onFocus: p,
6150
- onInput: g,
6151
+ onInput: h,
6151
6152
  onKeydown: m,
6152
6153
  onKeyup: d,
6153
6154
  onMousedown: f,
@@ -6156,7 +6157,7 @@ function hr(t, e, n) {
6156
6157
  }, null);
6157
6158
  }
6158
6159
  function yr(t, e, n) {
6159
- const o = y(t.separator), i = R(() => t.readonly || t.disable), {
6160
+ const o = b(t.separator), i = R(() => t.readonly || t.disable), {
6160
6161
  changeTextBoxValue: a,
6161
6162
  onFocusTextBox: r,
6162
6163
  onBlurTextBox: c,
@@ -6172,14 +6173,14 @@ function yr(t, e, n) {
6172
6173
  se(() => t.separator, (f) => {
6173
6174
  o.value = f;
6174
6175
  });
6175
- const m = y(!t.disable && !t.readonly);
6176
- se([() => t.disable, () => t.readonly], ([f, v], [C, F]) => {
6176
+ const m = b(!t.disable && !t.readonly);
6177
+ se([() => t.disable, () => t.readonly], ([f, v], [y, E]) => {
6177
6178
  m.value = !f && !v;
6178
6179
  });
6179
6180
  function d(f) {
6180
6181
  l(f);
6181
6182
  }
6182
- return () => b(jo, {
6183
+ return () => C(jo, {
6183
6184
  tabindex: t.tabIndex,
6184
6185
  onFocus: r,
6185
6186
  onBlur: c,
@@ -6204,27 +6205,27 @@ function br(t, e, n, o) {
6204
6205
  enableClearButton: l,
6205
6206
  showClearButton: u,
6206
6207
  onClearValue: p
6207
- } = o, s = y(), m = Zn((f) => {
6208
+ } = o, s = b(), m = Zn((f) => {
6208
6209
  a(f);
6209
6210
  }, t.buttonBehavior === "Modal" ? 0 : 200), d = () => {
6210
6211
  e.emit("beforeClearValue");
6211
6212
  };
6212
6213
  return {
6213
- renderButtonGroup: () => b("div", {
6214
+ renderButtonGroup: () => C("div", {
6214
6215
  id: t.id ? `${t.id}-button-group` : void 0,
6215
6216
  class: i.value
6216
- }, [l.value && At(b("span", {
6217
+ }, [l.value && At(C("span", {
6217
6218
  class: "input-group-text input-group-clear",
6218
6219
  onClick: p,
6219
6220
  onMousedown: d
6220
- }, [b("i", {
6221
+ }, [C("i", {
6221
6222
  class: "f-icon modal_close"
6222
- }, null)]), [[Yn, u.value]]), e.slots.buttonContent ? b("span", {
6223
+ }, null)]), [[Yn, u.value]]), e.slots.buttonContent ? C("span", {
6223
6224
  class: "input-group-text input-group-append-button",
6224
6225
  onClick: m,
6225
6226
  onMouseenter: r,
6226
6227
  onMouseleave: c
6227
- }, [e.slots.buttonContent()]) : t.buttonContent ? b("span", {
6228
+ }, [e.slots.buttonContent()]) : t.buttonContent ? C("span", {
6228
6229
  class: "input-group-text input-group-append-button",
6229
6230
  innerHTML: t.buttonContent,
6230
6231
  ref: s,
@@ -6236,13 +6237,13 @@ function br(t, e, n, o) {
6236
6237
  };
6237
6238
  }
6238
6239
  function Cr(t, e, n) {
6239
- const o = y(t.popupMinWidth), {
6240
+ const o = b(t.popupMinWidth), {
6240
6241
  hidePopup: i,
6241
6242
  popoverRef: a
6242
6243
  } = n, r = () => {
6243
6244
  e.emit("shown");
6244
6245
  };
6245
- return () => b(Ao, {
6246
+ return () => C(Ao, {
6246
6247
  id: `${t.id}-popover`,
6247
6248
  ref: a,
6248
6249
  placement: t.placement,
@@ -6264,63 +6265,63 @@ function Cr(t, e, n) {
6264
6265
  }
6265
6266
  });
6266
6267
  }
6267
- const wr = /* @__PURE__ */ Be({
6268
+ const wr = /* @__PURE__ */ Me({
6268
6269
  name: "FButtonEdit",
6269
6270
  props: lr,
6270
6271
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue"],
6271
6272
  setup(t, e) {
6272
- const n = y(), o = y(t.customClass), i = y(t.modelValue), a = gr(t, e, n, i), {
6273
+ const n = b(), o = b(t.customClass), i = b(t.modelValue), a = gr(t, e, n, i), {
6273
6274
  shouldPopupContent: r,
6274
6275
  hidePopup: c,
6275
6276
  showPopup: l,
6276
6277
  togglePopup: u
6277
- } = a, p = pr(t, e, n, a, i), s = y(""), m = vr(t, e, i, s, a), {
6278
+ } = a, p = pr(t, e, n, a, i), s = b(""), m = vr(t, e, i, s, a), {
6278
6279
  hasFocusedTextBox: d,
6279
6280
  commitValue: f,
6280
6281
  inputGroupClass: v
6281
- } = m, C = mr(t, e, i, d, s, m), {
6282
- onMouseEnterTextBox: F,
6283
- onMouseLeaveTextBox: M
6284
- } = C, L = R(() => {
6285
- const B = {
6282
+ } = m, y = mr(t, e, i, d, s, m), {
6283
+ onMouseEnterTextBox: E,
6284
+ onMouseLeaveTextBox: B
6285
+ } = y, A = b(!1), N = R(() => {
6286
+ const L = {
6286
6287
  "f-button-edit": !0,
6287
6288
  "f-cmp-inputgroup": !0,
6288
6289
  "f-button-edit-nowrap": !t.wrapText
6289
6290
  };
6290
- return o.value && o.value.split(" ").reduce((H, Q) => (H[Q] = !0, H), B), B;
6291
- }), N = R(() => ({
6291
+ return o.value && o.value.split(" ").reduce((J, O) => (J[O] = !0, J), L), L;
6292
+ }), T = R(() => ({
6292
6293
  overflow: t.wrapText ? "hidden" : ""
6293
- })), T = R(() => ({
6294
+ })), h = R(() => ({
6294
6295
  paddingLeft: "3px",
6295
6296
  backgroundColor: "#fff"
6296
6297
  }));
6297
- function g() {
6298
+ function w() {
6298
6299
  if (!t.multiSelect || t.inputType !== "tag" || !n.value)
6299
6300
  return 0;
6300
- let B = 0;
6301
- const H = Array.from(n.value.querySelectorAll(".farris-tag-item"));
6302
- return H && H.length && (B = H.map((Q) => Q.offsetTop).filter((Q) => Q > 20).length), B;
6301
+ let L = 0;
6302
+ const J = Array.from(n.value.querySelectorAll(".farris-tag-item"));
6303
+ return J && J.length && (L = J.map((O) => O.offsetTop).filter((O) => O > 20).length), L;
6303
6304
  }
6304
- const w = y(g());
6305
+ const F = b(w());
6305
6306
  Jn(() => {
6306
- w.value = g();
6307
+ F.value = w();
6307
6308
  });
6308
- function E() {
6309
- return t.multiSelect && t.inputType === "tag" ? () => b(Qe, null, [yr(t, i, m)(), !!w.value && b("div", {
6309
+ function M() {
6310
+ return t.multiSelect && t.inputType === "tag" ? () => C(Qe, null, [yr(t, i, m)(), !!F.value && C("div", {
6310
6311
  class: "d-flex flex-row mr-2 more-tags",
6311
6312
  "more-tags": !0
6312
- }, [b("span", {
6313
+ }, [C("span", {
6313
6314
  class: "multi--more-text"
6314
- }, [Ae("+"), w.value])])]) : hr(t, i, m);
6315
+ }, [Ae("+"), F.value])])]) : hr(t, i, m);
6315
6316
  }
6316
- let k = E();
6317
+ let z = M();
6317
6318
  se([() => t.multiSelect, () => t.inputType], () => {
6318
- k = E();
6319
+ z = M();
6319
6320
  });
6320
6321
  const {
6321
- renderButtonGroup: z,
6322
- buttonHandleElement: h
6323
- } = br(t, e, p, C), S = Cr(t, e, a), I = y(r.value), O = {
6322
+ renderButtonGroup: g,
6323
+ buttonHandleElement: S
6324
+ } = br(t, e, p, y), I = Cr(t, e, a), k = b(r.value), D = {
6324
6325
  displayText: s,
6325
6326
  commitValue: f,
6326
6327
  elementRef: n,
@@ -6330,52 +6331,56 @@ const wr = /* @__PURE__ */ Be({
6330
6331
  shouldPopupContent: r,
6331
6332
  togglePopup: u,
6332
6333
  openDialog: () => {
6333
- h.value && t.buttonBehavior === "Modal" && h.value.click();
6334
+ S.value && t.buttonBehavior === "Modal" && S.value.click();
6334
6335
  },
6335
6336
  getModal: () => {
6336
- var B;
6337
- return t.buttonBehavior === "Modal" ? (B = p.modalRef.value) == null ? void 0 : B.value : null;
6337
+ var L;
6338
+ return t.buttonBehavior === "Modal" ? (L = p.modalRef.value) == null ? void 0 : L.value : null;
6338
6339
  },
6339
6340
  getTextbox: () => {
6340
- var B;
6341
- return (B = n.value) == null ? void 0 : B.querySelector("input");
6341
+ var L;
6342
+ return (L = n.value) == null ? void 0 : L.querySelector("input");
6342
6343
  },
6343
6344
  forceClosePopup: () => {
6344
- I.value = !1;
6345
+ k.value = !1, A.value = !0, r.value = !1;
6345
6346
  }
6346
6347
  };
6347
6348
  return Pe(() => {
6348
- n.value.componentInstance = O, window.onresize = () => {
6349
+ n.value.componentInstance = D, window.onresize = () => {
6349
6350
  document.body.click();
6350
6351
  };
6351
6352
  }), Qn(() => {
6352
- var B;
6353
- window.onresize = null, (B = window[_e]) == null || B.delete(n.value);
6354
- }), e.expose(O), se(() => r.value, async (B, H) => {
6355
- if (!B && t.beforeClosePopup && typeof t.beforeClosePopup == "function") {
6353
+ var L;
6354
+ window.onresize = null, (L = window[_e]) == null || L.delete(n.value);
6355
+ }), e.expose(D), se(() => r.value, async (L, J) => {
6356
+ if (A.value) {
6357
+ k.value = L, A.value = !1;
6358
+ return;
6359
+ }
6360
+ if (!L && t.beforeClosePopup && typeof t.beforeClosePopup == "function") {
6356
6361
  try {
6357
- const Q = await t.beforeClosePopup();
6358
- I.value = !Q, r.value = !Q && !t.readonly;
6359
- } catch (Q) {
6360
- console.error("Error in beforeClosePopup:", Q), I.value = H, r.value = H;
6362
+ const O = await t.beforeClosePopup();
6363
+ k.value = !O, (!O || t.readonly) && (r.value = !0);
6364
+ } catch (O) {
6365
+ console.error("Error in beforeClosePopup:", O), k.value = J, r.value = J;
6361
6366
  }
6362
6367
  return;
6363
6368
  }
6364
- I.value = B;
6369
+ k.value = L;
6365
6370
  }), () => {
6366
- var B, H;
6367
- return b(Qe, null, [b("div", Tt(e.attrs, {
6371
+ var L, J;
6372
+ return C(Qe, null, [C("div", Tt(e.attrs, {
6368
6373
  ref: n,
6369
- class: L.value,
6374
+ class: N.value,
6370
6375
  id: t.id ? t.id : void 0,
6371
- style: N.value
6372
- }), [b("div", {
6376
+ style: T.value
6377
+ }), [C("div", {
6373
6378
  id: t.id ? `${t.id}-input-group` : void 0,
6374
6379
  class: v.value,
6375
- style: T.value,
6376
- onMouseenter: F,
6377
- onMouseleave: M
6378
- }, [(H = (B = e.slots).precontent) == null ? void 0 : H.call(B), k(), z()])]), I.value && S()]);
6380
+ style: h.value,
6381
+ onMouseenter: E,
6382
+ onMouseleave: B
6383
+ }, [(J = (L = e.slots).precontent) == null ? void 0 : J.call(L), z(), g()])]), k.value && I()]);
6379
6384
  };
6380
6385
  }
6381
6386
  });
@@ -6387,7 +6392,7 @@ function Sr(t, e, n) {
6387
6392
  }
6388
6393
  const Tr = /* @__PURE__ */ new Map([
6389
6394
  ["appearance", Wt]
6390
- ]), Er = /* @__PURE__ */ new Map([]), Fr = "https://json-schema.org/draft/2020-12/schema", Mr = "https://farris-design.gitee.io/radio-group.schema.json", Br = "item-collection-editor", kr = "A Farris Input Component", Ir = "object", Pr = {
6395
+ ]), Er = /* @__PURE__ */ new Map([]), Fr = "https://json-schema.org/draft/2020-12/schema", Br = "https://farris-design.gitee.io/radio-group.schema.json", Mr = "item-collection-editor", kr = "A Farris Input Component", Ir = "object", Pr = {
6391
6396
  id: {
6392
6397
  description: "The unique identifier for a item-collection-editor",
6393
6398
  type: "string"
@@ -6476,8 +6481,8 @@ const Tr = /* @__PURE__ */ new Map([
6476
6481
  "type"
6477
6482
  ], Vr = [], Nr = {
6478
6483
  $schema: Fr,
6479
- $id: Mr,
6480
- title: Br,
6484
+ $id: Br,
6485
+ title: Mr,
6481
6486
  description: kr,
6482
6487
  type: Ir,
6483
6488
  properties: Pr,
@@ -6573,7 +6578,7 @@ const Tr = /* @__PURE__ */ new Map([
6573
6578
  * 是否进入只读状态
6574
6579
  */
6575
6580
  readonly: { type: Boolean, default: !1 }
6576
- }, $r = /* @__PURE__ */ Be({
6581
+ }, $r = /* @__PURE__ */ Me({
6577
6582
  name: "FItemCollectionEditorInner",
6578
6583
  props: Dr,
6579
6584
  emits: ["change"],
@@ -6581,61 +6586,61 @@ const Tr = /* @__PURE__ */ new Map([
6581
6586
  let n = "";
6582
6587
  const {
6583
6588
  guid: o
6584
- } = zt(), i = new Lo(), a = y(t.valueField), r = y(t.nameField), c = {
6589
+ } = zt(), i = new Lo(), a = b(t.valueField), r = b(t.nameField), c = {
6585
6590
  editMode: "cell"
6586
6591
  }, l = {
6587
6592
  fitColumns: !0
6588
- }, u = y(), p = t.columns;
6593
+ }, u = b(), p = t.columns;
6589
6594
  let s = t.datas;
6590
6595
  function m() {
6591
- const g = {};
6596
+ const h = {};
6592
6597
  return p.forEach((w) => {
6593
- w.editor && (w.editor.type === "checkbox" || w.editor.type === "switch") ? g[w.field] = !1 : g[w.field] = "";
6594
- }), g;
6598
+ w.editor && (w.editor.type === "checkbox" || w.editor.type === "switch") ? h[w.field] = !1 : h[w.field] = "";
6599
+ }), h;
6595
6600
  }
6596
6601
  function d() {
6597
6602
  if (t.dynamicMappingKeys) {
6598
- const g = "请先填写XXX", w = a.value.trim() ? r.value.trim() ? "" : "枚举名称字段" : "枚举值字段";
6603
+ const h = "请先填写XXX", w = a.value.trim() ? r.value.trim() ? "" : "枚举名称字段" : "枚举值字段";
6599
6604
  return i.warning({
6600
6605
  position: "top-center",
6601
- message: g.replace("XXX", w)
6606
+ message: h.replace("XXX", w)
6602
6607
  }), !1;
6603
6608
  }
6604
6609
  return !0;
6605
6610
  }
6606
- function f(g) {
6611
+ function f(h) {
6607
6612
  const w = "不允许重复。";
6608
6613
  if (!d())
6609
6614
  return !1;
6610
- if (!g || g.length === 0)
6615
+ if (!h || h.length === 0)
6611
6616
  return t.canEmpty ? !0 : (i.warning({
6612
6617
  position: "top-center",
6613
6618
  message: "请添加值"
6614
6619
  }), !1);
6615
- const E = t.requiredFields || [], k = "不允许为空";
6616
- for (const h of g)
6617
- for (const S of Object.keys(h)) {
6618
- const I = p.find((O) => O.field === S);
6620
+ const F = t.requiredFields || [], M = "不允许为空";
6621
+ for (const g of h)
6622
+ for (const S of Object.keys(g)) {
6623
+ const I = p.find((k) => k.field === S);
6619
6624
  if (I && I.editor && (I.editor.type === "checkbox" || I.editor.type === "switch")) {
6620
- if (E.includes(S) && (h[S] === null || h[S] === void 0))
6625
+ if (F.includes(S) && (g[S] === null || g[S] === void 0))
6621
6626
  return i.warning({
6622
6627
  position: "top-center",
6623
- message: I.title + k
6628
+ message: I.title + M
6624
6629
  }), !1;
6625
- } else if (E.includes(S) && (h[S] === void 0 || h[S] === "" || h[S] === null))
6630
+ } else if (F.includes(S) && (g[S] === void 0 || g[S] === "" || g[S] === null))
6626
6631
  return i.warning({
6627
6632
  position: "top-center",
6628
- message: I.title + k
6633
+ message: I.title + M
6629
6634
  }), !1;
6630
6635
  }
6631
6636
  const z = t.uniqueFields || [];
6632
- for (const h of z) {
6633
- const S = g.map((B) => B[h]), I = new Set(S), O = Array.from(I);
6634
- if (S.length !== O.length) {
6635
- const B = p.find((H) => H.field === h);
6637
+ for (const g of z) {
6638
+ const S = h.map((D) => D[g]), I = new Set(S), k = Array.from(I);
6639
+ if (S.length !== k.length) {
6640
+ const D = p.find((L) => L.field === g);
6636
6641
  return i.warning({
6637
6642
  position: "top-center",
6638
- message: B.title + w
6643
+ message: D.title + w
6639
6644
  }), !1;
6640
6645
  }
6641
6646
  }
@@ -6644,16 +6649,16 @@ const Tr = /* @__PURE__ */ new Map([
6644
6649
  function v() {
6645
6650
  if (t.readonly || !d())
6646
6651
  return;
6647
- const g = m(), w = o();
6652
+ const h = m(), w = o();
6648
6653
  s.push({
6649
6654
  hId: w,
6650
- ...g
6655
+ ...h
6651
6656
  }), u.value.updateDataSource(s), u.value.selectRowById(w);
6652
6657
  }
6653
- function C() {
6658
+ function y() {
6654
6659
  s && s.length > 0 && u.value.selectRowById(s[0].hId);
6655
6660
  }
6656
- function F() {
6661
+ function E() {
6657
6662
  if (!n) {
6658
6663
  i.warning({
6659
6664
  position: "top-center",
@@ -6661,65 +6666,65 @@ const Tr = /* @__PURE__ */ new Map([
6661
6666
  });
6662
6667
  return;
6663
6668
  }
6664
- s = [...s.filter((w) => w.hId !== n)], u.value.updateDataSource(s), C();
6669
+ s = [...s.filter((w) => w.hId !== n)], u.value.updateDataSource(s), y();
6665
6670
  }
6666
- function M(g) {
6667
- if (!g || g.length === 0)
6668
- return g;
6671
+ function B(h) {
6672
+ if (!h || h.length === 0)
6673
+ return h;
6669
6674
  const w = [];
6670
- return g.forEach((E) => {
6675
+ return h.forEach((F) => {
6671
6676
  const {
6672
- value: k,
6677
+ value: M,
6673
6678
  name: z,
6674
- ...h
6675
- } = E, S = Object.assign({}, h);
6676
- S[a.value.trim()] = k, S[r.value.trim()] = z, w.push(S);
6679
+ ...g
6680
+ } = F, S = Object.assign({}, g);
6681
+ S[a.value.trim()] = M, S[r.value.trim()] = z, w.push(S);
6677
6682
  }), w;
6678
6683
  }
6679
- function L() {
6684
+ function A() {
6680
6685
  u.value.endEditCell();
6681
- const g = [];
6686
+ const h = [];
6682
6687
  return s.forEach((w) => {
6683
6688
  const {
6684
- hId: E,
6685
- ...k
6689
+ hId: F,
6690
+ ...M
6686
6691
  } = w, z = {};
6687
- for (const h in k)
6688
- h.startsWith("_") || (z[h] = k[h]);
6689
- g.push(z);
6690
- }), g;
6692
+ for (const g in M)
6693
+ g.startsWith("_") || (z[g] = M[g]);
6694
+ h.push(z);
6695
+ }), h;
6691
6696
  }
6692
6697
  function N() {
6693
- let g = L();
6694
- return f(g) ? (t.dynamicMappingKeys ? (g = M(g), e.emit("change", g, void 0, {
6698
+ let h = A();
6699
+ return f(h) ? (t.dynamicMappingKeys ? (h = B(h), e.emit("change", h, void 0, {
6695
6700
  valueField: a.value.trim(),
6696
6701
  nameField: r.value.trim()
6697
- })) : e.emit("change", g, void 0, null), !0) : !1;
6702
+ })) : e.emit("change", h, void 0, null), !0) : !1;
6698
6703
  }
6699
6704
  e.expose({
6700
6705
  clickConfirm: N,
6701
- getItems: L
6706
+ getItems: A
6702
6707
  }), Pe(() => {
6703
- C();
6708
+ y();
6704
6709
  });
6705
- function T(g) {
6710
+ function T(h) {
6706
6711
  var w;
6707
- n = (w = g[0]) == null ? void 0 : w.hId;
6712
+ n = (w = h[0]) == null ? void 0 : w.hId;
6708
6713
  }
6709
- return () => b("div", {
6714
+ return () => C("div", {
6710
6715
  class: "f-utils-fill-flex-column"
6711
- }, [!t.readonly && b("div", {
6716
+ }, [!t.readonly && C("div", {
6712
6717
  class: "mb-1 py-1 ml-1"
6713
- }, [b("button", {
6718
+ }, [C("button", {
6714
6719
  class: "btn f-rt-btn f-btn-ml btn-primary",
6715
6720
  onClick: () => v()
6716
- }, [Ae("新增")]), b("button", {
6721
+ }, [Ae("新增")]), C("button", {
6717
6722
  class: "btn f-rt-btn f-btn-ml btn-secondary",
6718
- onClick: () => F()
6719
- }, [Ae("删除")])]), b("div", {
6723
+ onClick: () => E()
6724
+ }, [Ae("删除")])]), C("div", {
6720
6725
  class: "f-utils-fill border",
6721
6726
  style: "margin:0 8px;border-radius:12px;"
6722
- }, [b(Ho, {
6727
+ }, [C(Ho, {
6723
6728
  ref: u,
6724
6729
  showBorder: !0,
6725
6730
  idField: "hId",
@@ -6732,7 +6737,7 @@ const Tr = /* @__PURE__ */ new Map([
6732
6737
  onSelectionChange: T
6733
6738
  }, null)])]);
6734
6739
  }
6735
- }), jr = /* @__PURE__ */ Be({
6740
+ }), jr = /* @__PURE__ */ Me({
6736
6741
  name: "FItemCollectionEditor",
6737
6742
  props: En,
6738
6743
  components: {},
@@ -6740,17 +6745,17 @@ const Tr = /* @__PURE__ */ new Map([
6740
6745
  setup(t, e) {
6741
6746
  const n = bt(ln), {
6742
6747
  guid: o
6743
- } = zt(), i = y(`共 ${(t.modelValue || []).length} 项`), a = y(t.valueField), r = y(t.nameField), c = y();
6748
+ } = zt(), i = b(`共 ${(t.modelValue || []).length} 项`), a = b(t.valueField), r = b(t.nameField), c = b();
6744
6749
  function l() {
6745
6750
  let d = [];
6746
6751
  return t.dynamicMappingKeys ? (d = [], a.value = a.value.trim(), r.value = r.value.trim(), (t.modelValue || []).forEach((f) => {
6747
6752
  if (a.value && r.value) {
6748
6753
  const {
6749
6754
  [a.value]: v,
6750
- [r.value]: C,
6751
- ...F
6752
- } = f, M = F || {};
6753
- M.value = v, M.name = C, M.hId = o(), d.push(M);
6755
+ [r.value]: y,
6756
+ ...E
6757
+ } = f, B = E || {};
6758
+ B.value = v, B.name = y, B.hId = o(), d.push(B);
6754
6759
  }
6755
6760
  })) : (d = ut(t.modelValue || []), d.forEach((f) => {
6756
6761
  f.hId = o();
@@ -6807,7 +6812,7 @@ const Tr = /* @__PURE__ */ new Map([
6807
6812
  return se(() => t.modelValue, (d) => {
6808
6813
  i.value = `共 ${(t.modelValue || []).length} 项`;
6809
6814
  }), Pe(() => {
6810
- }), () => b(wr, {
6815
+ }), () => C(wr, {
6811
6816
  "button-behavior": "Modal",
6812
6817
  "modal-options": s,
6813
6818
  modelValue: i.value,
@@ -6815,45 +6820,45 @@ const Tr = /* @__PURE__ */ new Map([
6815
6820
  editable: !1,
6816
6821
  beforeOpen: p
6817
6822
  }, {
6818
- default: () => [b("div", {
6823
+ default: () => [C("div", {
6819
6824
  class: "f-utils-absolute-all f-utils-flex-column"
6820
- }, [t.dynamicMappingKeys && b("div", {
6825
+ }, [t.dynamicMappingKeys && C("div", {
6821
6826
  class: "farris-form-controls-inline p-2 f-form-layout farris-form f-form-lable-auto"
6822
- }, [b("div", {
6827
+ }, [C("div", {
6823
6828
  class: "farris-group-wrap mr-3"
6824
- }, [b("div", {
6829
+ }, [C("div", {
6825
6830
  class: "form-group farris-form-group"
6826
- }, [b("label", {
6831
+ }, [C("label", {
6827
6832
  class: "col-form-label"
6828
- }, [b("span", {
6833
+ }, [C("span", {
6829
6834
  class: "farris-label-info text-danger"
6830
- }, [Ae("*")]), b("span", {
6835
+ }, [Ae("*")]), C("span", {
6831
6836
  class: "farris-label-text"
6832
- }, [Ae("枚举值字段")])]), b("div", {
6837
+ }, [Ae("枚举值字段")])]), C("div", {
6833
6838
  class: "farris-input-wrap"
6834
- }, [At(b("input", {
6839
+ }, [At(C("input", {
6835
6840
  type: "input",
6836
6841
  class: "form-control",
6837
6842
  "onUpdate:modelValue": (d) => a.value = d,
6838
6843
  readonly: t.readonly
6839
- }, null), [[Zt, a.value]])])])]), b("div", {
6844
+ }, null), [[Zt, a.value]])])])]), C("div", {
6840
6845
  class: "farris-group-wrap"
6841
- }, [b("div", {
6846
+ }, [C("div", {
6842
6847
  class: "form-group farris-form-group"
6843
- }, [b("label", {
6848
+ }, [C("label", {
6844
6849
  class: "col-form-label"
6845
- }, [b("span", {
6850
+ }, [C("span", {
6846
6851
  class: "farris-label-info text-danger"
6847
- }, [Ae("*")]), b("span", {
6852
+ }, [Ae("*")]), C("span", {
6848
6853
  class: "farris-label-text"
6849
- }, [Ae("枚举名称字段")])]), b("div", {
6854
+ }, [Ae("枚举名称字段")])]), C("div", {
6850
6855
  class: "farris-input-wrap"
6851
- }, [At(b("input", {
6856
+ }, [At(C("input", {
6852
6857
  type: "input",
6853
6858
  class: "form-control",
6854
6859
  "onUpdate:modelValue": (d) => r.value = d,
6855
6860
  readonly: t.readonly
6856
- }, null), [[Zt, r.value]])])])])]), b($r, {
6861
+ }, null), [[Zt, r.value]])])])])]), C($r, {
6857
6862
  ref: c,
6858
6863
  valueField: a.value,
6859
6864
  nameField: r.value,
@@ -6972,9 +6977,9 @@ xt.register = (t, e, n, o) => {
6972
6977
  xt.registerDesigner = (t, e, n) => {
6973
6978
  t["radio-group"] = xt, e["radio-group"] = Fn;
6974
6979
  };
6975
- const Ps = tn(xt);
6980
+ const Ds = tn(xt);
6976
6981
  export {
6977
6982
  xt as FRadioGroupDesign,
6978
- Ps as default,
6983
+ Ds as default,
6979
6984
  Fn as propsResolver
6980
6985
  };