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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (192) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +360 -361
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +524 -520
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +190 -181
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +309 -309
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1125 -1124
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +472 -472
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-grid/index.esm.js +99 -99
  30. package/components/data-grid/index.umd.cjs +1 -1
  31. package/components/data-view/index.esm.js +3387 -3321
  32. package/components/data-view/index.umd.cjs +1 -1
  33. package/components/date-picker/index.esm.js +1604 -1601
  34. package/components/date-picker/index.umd.cjs +1 -1
  35. package/components/designer-canvas/index.esm.js +1082 -1079
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/discussion-editor/index.esm.js +973 -1040
  38. package/components/discussion-editor/index.umd.cjs +6 -6
  39. package/components/dropdown/index.esm.js +335 -330
  40. package/components/dropdown/index.umd.cjs +2 -2
  41. package/components/dynamic-form/index.esm.js +177 -177
  42. package/components/dynamic-form/index.umd.cjs +1 -1
  43. package/components/dynamic-resolver/index.esm.js +6 -6
  44. package/components/dynamic-resolver/index.umd.cjs +1 -1
  45. package/components/dynamic-view/index.esm.js +344 -344
  46. package/components/dynamic-view/index.umd.cjs +1 -1
  47. package/components/events-editor/index.esm.js +644 -644
  48. package/components/events-editor/index.umd.cjs +3 -3
  49. package/components/expression-editor/index.esm.js +1773 -1760
  50. package/components/expression-editor/index.umd.cjs +4 -4
  51. package/components/fieldset/index.esm.js +55 -55
  52. package/components/fieldset/index.umd.cjs +1 -1
  53. package/components/filter-bar/index.esm.js +879 -869
  54. package/components/filter-bar/index.umd.cjs +1 -1
  55. package/components/filter-condition-editor/index.esm.js +1091 -1077
  56. package/components/filter-condition-editor/index.umd.cjs +3 -3
  57. package/components/flow-canvas/index.esm.js +215 -215
  58. package/components/flow-canvas/index.umd.cjs +1 -1
  59. package/components/html-template/index.esm.js +164 -164
  60. package/components/html-template/index.umd.cjs +1 -1
  61. package/components/image-cropper/index.esm.js +198 -198
  62. package/components/image-cropper/index.umd.cjs +1 -1
  63. package/components/json-editor/index.esm.js +64 -64
  64. package/components/json-editor/index.umd.cjs +1 -1
  65. package/components/language-textbox/index.esm.js +140 -140
  66. package/components/language-textbox/index.umd.cjs +1 -1
  67. package/components/layout/index.esm.js +111 -111
  68. package/components/layout/index.umd.cjs +1 -1
  69. package/components/list-nav/index.esm.js +90 -90
  70. package/components/list-nav/index.umd.cjs +1 -1
  71. package/components/list-view/index.esm.js +139 -141
  72. package/components/list-view/index.umd.cjs +3 -3
  73. package/components/locale/index.esm.js +833 -901
  74. package/components/locale/index.umd.cjs +6 -6
  75. package/components/lookup/index.esm.js +1352 -1351
  76. package/components/lookup/index.umd.cjs +1 -1
  77. package/components/mapping-editor/index.esm.js +1387 -1383
  78. package/components/mapping-editor/index.umd.cjs +1 -1
  79. package/components/menu-lookup/index.esm.js +1059 -1127
  80. package/components/menu-lookup/index.umd.cjs +6 -6
  81. package/components/message-box/index.esm.js +217 -217
  82. package/components/message-box/index.umd.cjs +1 -1
  83. package/components/modal/index.esm.js +283 -283
  84. package/components/modal/index.umd.cjs +1 -1
  85. package/components/nav/index.esm.js +106 -106
  86. package/components/nav/index.umd.cjs +1 -1
  87. package/components/number-range/index.esm.js +194 -194
  88. package/components/number-range/index.umd.cjs +1 -1
  89. package/components/number-spinner/index.esm.js +463 -462
  90. package/components/number-spinner/index.umd.cjs +1 -1
  91. package/components/order/index.esm.js +883 -876
  92. package/components/order/index.umd.cjs +4 -4
  93. package/components/page-footer/index.esm.js +94 -94
  94. package/components/page-footer/index.umd.cjs +1 -1
  95. package/components/page-header/index.esm.js +942 -939
  96. package/components/page-header/index.umd.cjs +1 -1
  97. package/components/pagination/index.esm.js +82 -82
  98. package/components/pagination/index.umd.cjs +1 -1
  99. package/components/popover/index.esm.js +59 -57
  100. package/components/popover/index.umd.cjs +1 -1
  101. package/components/progress/index.esm.js +113 -113
  102. package/components/progress/index.umd.cjs +2 -2
  103. package/components/property-editor/index.esm.js +151 -150
  104. package/components/property-editor/index.umd.cjs +1 -1
  105. package/components/property-panel/index.esm.js +739 -739
  106. package/components/property-panel/index.umd.cjs +2 -2
  107. package/components/query-solution/index.esm.js +4142 -4190
  108. package/components/query-solution/index.umd.cjs +6 -6
  109. package/components/radio-button/index.esm.js +182 -182
  110. package/components/radio-button/index.umd.cjs +1 -1
  111. package/components/rate/index.esm.js +106 -106
  112. package/components/rate/index.umd.cjs +1 -1
  113. package/components/response-layout/index.esm.js +535 -535
  114. package/components/response-layout/index.umd.cjs +1 -1
  115. package/components/response-layout-editor/index.esm.js +1456 -1443
  116. package/components/response-layout-editor/index.umd.cjs +1 -1
  117. package/components/response-toolbar/index.esm.js +779 -776
  118. package/components/response-toolbar/index.umd.cjs +1 -1
  119. package/components/schema-selector/index.esm.js +1875 -1866
  120. package/components/schema-selector/index.umd.cjs +7 -7
  121. package/components/search-box/index.esm.js +151 -147
  122. package/components/search-box/index.umd.cjs +1 -1
  123. package/components/section/index.esm.js +1236 -1233
  124. package/components/section/index.umd.cjs +1 -1
  125. package/components/smoke-detector/index.esm.js +163 -163
  126. package/components/smoke-detector/index.umd.cjs +1 -1
  127. package/components/sort-condition-editor/index.esm.js +1097 -1083
  128. package/components/sort-condition-editor/index.umd.cjs +3 -3
  129. package/components/splitter/index.esm.js +3 -3
  130. package/components/splitter/index.umd.cjs +1 -1
  131. package/components/step/index.esm.js +133 -133
  132. package/components/step/index.umd.cjs +1 -1
  133. package/components/switch/index.esm.js +103 -98
  134. package/components/switch/index.umd.cjs +1 -1
  135. package/components/tabs/index.esm.js +1596 -1593
  136. package/components/tabs/index.umd.cjs +2 -2
  137. package/components/tags/index.esm.js +93 -93
  138. package/components/tags/index.umd.cjs +1 -1
  139. package/components/text/index.esm.js +138 -138
  140. package/components/text/index.umd.cjs +1 -1
  141. package/components/textarea/index.esm.js +684 -684
  142. package/components/textarea/index.umd.cjs +2 -2
  143. package/components/time-picker/index.esm.js +935 -929
  144. package/components/time-picker/index.umd.cjs +1 -1
  145. package/components/tooltip/index.esm.js +173 -171
  146. package/components/tooltip/index.umd.cjs +1 -1
  147. package/components/transfer/index.esm.js +190 -192
  148. package/components/transfer/index.umd.cjs +4 -4
  149. package/components/tree-grid/index.esm.js +124 -124
  150. package/components/tree-grid/index.umd.cjs +1 -1
  151. package/components/tree-view/index.esm.js +2363 -2278
  152. package/components/tree-view/index.umd.cjs +1 -1
  153. package/components/uploader/index.esm.js +170 -170
  154. package/components/uploader/index.umd.cjs +2 -2
  155. package/components/verify-detail/index.esm.js +196 -196
  156. package/components/verify-detail/index.umd.cjs +1 -1
  157. package/components/video/index.esm.js +227 -227
  158. package/components/video/index.umd.cjs +1 -1
  159. package/components/weather/index.esm.js +9 -9
  160. package/components/weather/index.umd.cjs +2 -2
  161. package/designer/button-edit/index.esm.js +353 -353
  162. package/designer/button-edit/index.umd.cjs +1 -1
  163. package/designer/checkbox/index.esm.js +7 -3
  164. package/designer/checkbox/index.umd.cjs +1 -1
  165. package/designer/checkbox-group/index.esm.js +38 -33
  166. package/designer/checkbox-group/index.umd.cjs +1 -1
  167. package/designer/data-grid/index.esm.js +3562 -3536
  168. package/designer/data-grid/index.umd.cjs +6 -6
  169. package/designer/data-view/index.esm.js +3 -3
  170. package/designer/data-view/index.umd.cjs +3 -3
  171. package/designer/farris-designer.all.esm.js +4203 -4193
  172. package/designer/farris-designer.all.umd.cjs +9 -9
  173. package/designer/input-group/index.esm.js +97 -97
  174. package/designer/input-group/index.umd.cjs +1 -1
  175. package/designer/list-view/index.esm.js +1868 -1854
  176. package/designer/list-view/index.umd.cjs +8 -8
  177. package/designer/radio-group/index.esm.js +954 -949
  178. package/designer/radio-group/index.umd.cjs +1 -1
  179. package/farris.all.esm.js +16195 -16126
  180. package/farris.all.umd.cjs +30 -30
  181. package/locales/data-grid/ui/en.json +2 -2
  182. package/locales/designer/en.json +7 -6
  183. package/locales/designer/zh-CHS.json +2 -1
  184. package/locales/designer/zh-CHT.json +2 -1
  185. package/locales/ui/en.json +7 -6
  186. package/locales/ui/zh-CHS.json +2 -1
  187. package/locales/ui/zh-CHT.json +2 -1
  188. package/package.json +1 -1
  189. package/types/combo-list/src/property-config/combo-list.property-config.d.ts +0 -6
  190. package/types/data-view/composition/types.d.ts +10 -4
  191. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  192. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
@@ -1,16 +1,16 @@
1
- var In = Object.defineProperty;
2
- var Nn = (n, e, t) => e in n ? In(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
- var X = (n, e, t) => Nn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { getCustomClass as Pn, withInstall as Zt, FormSchemaEntityField$Type as gt, FormSchemaEntityFieldTypeName as Lt, getMaxZIndex as Vn, FormSchemaEntityFieldType$Type as On } from "../common/index.esm.js";
5
- import { ref as C, computed as $, createVNode as E, onMounted as Ge, nextTick as et, defineComponent as Xe, watch as Se, Fragment as lt, reactive as $e, createApp as Jt, onUnmounted as Ct, Transition as Qt, mergeProps as Dt, createTextVNode as jn, onBeforeMount as Rn, Teleport as Ln, shallowRef as $n, render as Rt, h as Dn, cloneVNode as An, inject as Gt } from "vue";
6
- import { isPlainObject as Xt, cloneDeep as ht, isUndefined as Re } from "lodash-es";
1
+ var kn = Object.defineProperty;
2
+ var In = (n, e, t) => e in n ? kn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
+ var X = (n, e, t) => In(n, typeof e != "symbol" ? e + "" : e, t);
4
+ import { getCustomClass as Nn, withInstall as Zt, FormSchemaEntityField$Type as gt, FormSchemaEntityFieldTypeName as Lt, getMaxZIndex as Pn, FormSchemaEntityFieldType$Type as Vn } from "../common/index.esm.js";
5
+ import { ref as S, computed as $, createVNode as E, onMounted as Ge, nextTick as et, defineComponent as Xe, watch as Se, Fragment as lt, reactive as $e, createApp as Jt, onUnmounted as Ct, Transition as Qt, mergeProps as Dt, createTextVNode as On, onBeforeMount as jn, Teleport as Rn, shallowRef as Ln, render as Rt, h as $n, cloneVNode as Dn, inject as Gt } from "vue";
6
+ import { cloneDeep as ht, isPlainObject as Xt, isUndefined as Re } from "lodash-es";
7
7
  import Ce from "bignumber.js";
8
8
  import { useI18n as St } from "vue-i18n";
9
- import { getSchemaByTypeForDesigner as Hn, createPropsResolver as Kt, resolveAppearance as zn } from "../dynamic-resolver/index.esm.js";
9
+ import { getSchemaByTypeForDesigner as An, createPropsResolver as Kt, resolveAppearance as Hn } from "../dynamic-resolver/index.esm.js";
10
10
  import { DgControl as Yt } from "../designer-canvas/index.esm.js";
11
11
  import { LocaleService as xt } from "../locale/index.esm.js";
12
- import { useResizeObserver as Un } from "@vueuse/core";
13
- import { getHierarchyRow as qn, useIdentify as _n, useGroupData as Wn, useFilter as Gn, useHierarchy as Xn, useLoading as Yn, useDataView as Zn, useSelection as Jn, useSelectHierarchyItem as Qn, usePagination as Kn, useDataViewContainerStyle as eo, useCommandColumn as to, useSettingColumn as no, useColumn as oo, useSort as io, useGroupColumn as ro, useRow as ao, useEdit as lo, useVisualDataBound as so, useVisualDataCell as uo, useVisualDataRow as co, useVisualData as fo, useCellPosition as po, useSidebar as mo, useVirtualScroll as vo, useFitColumn as go, useFilterHistory as ho, useColumnFilter as yo, useDragColumn as bo, getColumnHeader as wo, getSidebar as Co, getDisableMask as So, getHorizontalScrollbar as xo, getVerticalScrollbar as To, getEmpty as Eo, getPagination as Mo, getSummary as Fo } from "../data-view/index.esm.js";
12
+ import { useResizeObserver as zn } from "@vueuse/core";
13
+ import { getHierarchyRow as Un, useIdentify as qn, useGroupData as _n, useFilter as Wn, useHierarchy as Gn, useLoading as Xn, useDataView as Yn, useSelection as Zn, useSelectHierarchyItem as Jn, usePagination as Qn, useDataViewContainerStyle as Kn, useCommandColumn as eo, useSettingColumn as to, useColumn as no, useSort as oo, useGroupColumn as io, useRow as ro, useEdit as ao, useVisualDataBound as lo, useVisualDataCell as so, useVisualDataRow as uo, useVisualData as co, useCellPosition as fo, useSidebar as po, useVirtualScroll as mo, useFitColumn as vo, useFilterHistory as go, useColumnFilter as ho, useDragColumn as yo, getColumnHeader as bo, getSidebar as wo, getDisableMask as Co, getHorizontalScrollbar as So, getVerticalScrollbar as xo, getEmpty as To, getPagination as Eo, getSummary as Mo } from "../data-view/index.esm.js";
14
14
  import "../property-panel/index.esm.js";
15
15
  import "../accordion/index.esm.js";
16
16
  import "../avatar/index.esm.js";
@@ -165,8 +165,8 @@ function en(n, e) {
165
165
  }
166
166
  return { getSchemaByType: r, resolveSchemaWithDefaultValue: s, resolveSchemaToProps: u, mappingSchemaToProps: c, setDesignerContext: p };
167
167
  }
168
- const tn = {}, nn = {}, { resolveSchemaWithDefaultValue: Bo, resolveSchemaToProps: ko, mappingSchemaToProps: Io } = en(tn, nn);
169
- function No(n = {}) {
168
+ const tn = {}, nn = {}, { getSchemaByType: _l, resolveSchemaWithDefaultValue: Fo, resolveSchemaToProps: Bo, mappingSchemaToProps: ko, setDesignerContext: Wl } = en(tn, nn);
169
+ function Io(n = {}) {
170
170
  function e(s, p, l, f) {
171
171
  if (typeof l == "number")
172
172
  return f[s].length === l;
@@ -220,14 +220,14 @@ function No(n = {}) {
220
220
  }
221
221
  return { parseValueSchema: u };
222
222
  }
223
- const Po = {
223
+ const No = {
224
224
  convertTo: (n, e, t, o) => {
225
225
  n.appearance || (n.appearance = {}), n.appearance[e] = t;
226
226
  },
227
227
  convertFrom: (n, e, t) => n.appearance ? n.appearance[e] : n[e]
228
- }, Vo = {
228
+ }, Po = {
229
229
  convertFrom: (n, e, t) => n.buttons && n.buttons.length ? `共 ${n.buttons.length} 项` : "无"
230
- }, Oo = {
230
+ }, Vo = {
231
231
  convertTo: (n, e, t, o) => {
232
232
  n.editor && (n.editor[e] = t);
233
233
  },
@@ -279,18 +279,18 @@ const Po = {
279
279
  "list-view": { type: "list-view", name: "列表" },
280
280
  "filter-bar": { type: "filter-bar", name: "筛选条" },
281
281
  "language-textbox": { type: "language-textbox", name: "多语输入框" }
282
- }, jo = {
282
+ }, Oo = {
283
283
  convertFrom: (n, e, t) => {
284
284
  var i;
285
285
  const o = n.editor && n.editor[e] ? n.editor[e] : n[e];
286
286
  return ((i = R[o]) == null ? void 0 : i.name) || o;
287
287
  }
288
- }, Ro = {
288
+ }, jo = {
289
289
  convertTo: (n, e, t, o) => {
290
290
  n[e] = n[e];
291
291
  },
292
292
  convertFrom: (n, e, t) => n.editor ? t.getRealEditorType(n.editor.type) : ""
293
- }, Lo = {
293
+ }, Ro = {
294
294
  convertTo: (n, e, t, o) => {
295
295
  (n.type === "data-grid-column" || n.type === "tree-grid-column") && (n.formatter ? n.formatter[e] = t : n.formatter = {
296
296
  [e]: t
@@ -321,7 +321,7 @@ const Po = {
321
321
  }
322
322
  return "none";
323
323
  }
324
- }, $o = {
324
+ }, Lo = {
325
325
  convertTo: (n, e, t, o) => {
326
326
  n.command ? n.command[e] = t : n.command = {
327
327
  [e]: t
@@ -339,7 +339,7 @@ const Po = {
339
339
  ]));
340
340
  },
341
341
  convertFrom: (n, e, t) => n.command && e === "enable" ? n.command.enable : ""
342
- }, Do = {
342
+ }, $o = {
343
343
  convertTo: (n, e, t, o) => {
344
344
  n.column ? n.column[e] = t : n.column = {
345
345
  [e]: t
@@ -354,7 +354,7 @@ const Po = {
354
354
  }
355
355
  return "";
356
356
  }
357
- }, Ao = {
357
+ }, Do = {
358
358
  convertTo: (n, e, t, o) => {
359
359
  n.summary ? n.summary[e] = t : n.summary = {
360
360
  [e]: t
@@ -364,7 +364,7 @@ const Po = {
364
364
  });
365
365
  },
366
366
  convertFrom: (n, e, t) => n.summary && e === "enable" ? n.summary.enable : n.type === "data-grid-column" ? n.enableSummary === void 0 ? !1 : n.enableSummary : ""
367
- }, Ho = {
367
+ }, Ao = {
368
368
  convertTo: (n, e, t, o) => {
369
369
  n.group ? n.group[e] = t : n.group = {
370
370
  [e]: t
@@ -382,7 +382,7 @@ const Po = {
382
382
  return n.group.showSummary;
383
383
  }
384
384
  }
385
- }, zo = {
385
+ }, Ho = {
386
386
  convertFrom: (n, e) => n.binding ? n.binding.path : "",
387
387
  convertTo: (n, e, t) => {
388
388
  if (t && t.length > 0) {
@@ -390,17 +390,17 @@ const Po = {
390
390
  n.binding || (n.binding = {}), n.binding.type = "Form", n.binding.path = o.bindingField, n.binding.field = o.id, n.binding.fullPath = o.path, n.path = o.bindingPath;
391
391
  }
392
392
  }
393
- }, Uo = {
393
+ }, zo = {
394
394
  convertTo: (n, e, t, o) => {
395
395
  n.pagination || (n.pagination = {}), n.pagination[e] = t;
396
396
  },
397
397
  convertFrom: (n, e, t) => n.pagination ? n.pagination[e] : n[e]
398
- }, qo = {
398
+ }, Uo = {
399
399
  convertTo: (n, e, t, o) => {
400
400
  n.rowNumber || (n.rowNumber = {}), n.rowNumber[e] = t;
401
401
  },
402
402
  convertFrom: (n, e, t) => n.rowNumber ? n.rowNumber[e] : n[e]
403
- }, _o = {
403
+ }, qo = {
404
404
  convertTo: (n, e, t, o) => {
405
405
  n.selection || (n.selection = {}), n.selection[e] = t;
406
406
  },
@@ -408,24 +408,24 @@ const Po = {
408
408
  var o, i;
409
409
  return e === "showCheckbox" ? (o = n.selection) != null && o.multiSelect ? !0 : (i = n.selection) == null ? void 0 : i.showCheckbox : n.selection ? n.selection[e] : n[e];
410
410
  }
411
- }, Wo = {
411
+ }, _o = {
412
412
  convertFrom: (n, e, t) => n[e] && n[e].length ? `共 ${n[e].length} 项` : ""
413
- }, Go = {
413
+ }, Wo = {
414
414
  convertFrom: (n, e) => n[e] || "",
415
415
  convertTo: (n, e, t) => {
416
416
  n[e] = t;
417
417
  }
418
- }, Xo = {
418
+ }, Go = {
419
419
  convertTo: (n, e, t, o) => {
420
420
  n.size || (n.size = {}), n.size[e] = t;
421
421
  },
422
422
  convertFrom: (n, e, t) => n.size ? n.size[e] : n[e]
423
- }, Yo = {
423
+ }, Xo = {
424
424
  convertFrom: (n, e, t) => {
425
425
  var o, i;
426
426
  return (o = n.formatter) != null && o.data && e === "formatterEnumData" && !n.formatterEnumData ? (i = n.formatter) == null ? void 0 : i.data : n.formatterEnumData;
427
427
  }
428
- }, Zo = {
428
+ }, Yo = {
429
429
  convertTo: (n, e, t, o) => {
430
430
  n.sort || (n.sort = {}), n.sort[e] = t;
431
431
  },
@@ -436,7 +436,7 @@ const Po = {
436
436
  if (e === "multiSort")
437
437
  return !!((i = n.sort) != null && i.multiSort);
438
438
  }
439
- }, Jo = {
439
+ }, Zo = {
440
440
  convertTo: (n, e, t, o) => {
441
441
  n.filter || (n.filter = {}), n.filter[e] = t;
442
442
  },
@@ -445,7 +445,7 @@ const Po = {
445
445
  if (e === "mode")
446
446
  return ((o = n.filter) == null ? void 0 : o.mode) || "client";
447
447
  }
448
- }, Qo = {
448
+ }, Jo = {
449
449
  convertTo: (n, e, t, o) => {
450
450
  n.rowOption ? n.rowOption[e] = t : n.rowOption = {
451
451
  [e]: t
@@ -463,27 +463,27 @@ const Po = {
463
463
  };
464
464
  function on(n, e, t) {
465
465
  const o = /* @__PURE__ */ new Map([
466
- ["/converter/appearance.converter", Po],
467
- ["/converter/buttons.converter", Vo],
468
- ["/converter/property-editor.converter", Oo],
469
- ["/converter/items-count.converter", Wo],
470
- ["/converter/type.converter", jo],
471
- ["/converter/change-editor.converter", Ro],
472
- ["/converter/change-formatter.converter", Lo],
473
- ["/converter/column-command.converter", $o],
474
- ["/converter/column-option.converter", Do],
475
- ["/converter/summary.converter", Ao],
476
- ["/converter/group.converter", Ho],
477
- ["/converter/form-group-label.converter", Go],
478
- ["/converter/field-selector.converter", zo],
479
- ["/converter/pagination.converter", Uo],
480
- ["/converter/row-number.converter", qo],
481
- ["/converter/grid-selection.converter", _o],
482
- ["/converter/size.converter", Xo],
483
- ["/converter/change-formatter-enum.converter", Yo],
484
- ["/converter/grid-sort.converter", Zo],
485
- ["/converter/grid-filter.converter", Jo],
486
- ["/converter/row-option.converter", Qo]
466
+ ["/converter/appearance.converter", No],
467
+ ["/converter/buttons.converter", Po],
468
+ ["/converter/property-editor.converter", Vo],
469
+ ["/converter/items-count.converter", _o],
470
+ ["/converter/type.converter", Oo],
471
+ ["/converter/change-editor.converter", jo],
472
+ ["/converter/change-formatter.converter", Ro],
473
+ ["/converter/column-command.converter", Lo],
474
+ ["/converter/column-option.converter", $o],
475
+ ["/converter/summary.converter", Do],
476
+ ["/converter/group.converter", Ao],
477
+ ["/converter/form-group-label.converter", Wo],
478
+ ["/converter/field-selector.converter", Ho],
479
+ ["/converter/pagination.converter", zo],
480
+ ["/converter/row-number.converter", Uo],
481
+ ["/converter/grid-selection.converter", qo],
482
+ ["/converter/size.converter", Go],
483
+ ["/converter/change-formatter-enum.converter", Xo],
484
+ ["/converter/grid-sort.converter", Yo],
485
+ ["/converter/grid-filter.converter", Zo],
486
+ ["/converter/row-option.converter", Jo]
487
487
  ]), i = /* @__PURE__ */ new Map([
488
488
  ["string", { type: "input-group", enableClear: !1 }],
489
489
  ["boolean", {
@@ -508,7 +508,7 @@ function on(n, e, t) {
508
508
  ["array", { type: "button-edit" }],
509
509
  ["number", { type: "number-spinner", placeholder: "" }],
510
510
  ["events-editor", { type: "events-editor", hide: !0 }]
511
- ]), r = No();
511
+ ]), r = Io();
512
512
  function a(m, v) {
513
513
  return () => r.parseValueSchema(m, v);
514
514
  }
@@ -523,60 +523,60 @@ function on(n, e, t) {
523
523
  return typeof g == "string" && g && o.has(g) ? o.get(g) || null : g || null;
524
524
  }
525
525
  function p(m, v, g, M, B, U = "", O = "") {
526
- return Object.keys(m).map((w) => {
527
- const h = C(1), b = w, T = m[w], A = Object.keys(T), x = T.title, F = T.type, P = i.get(F) || { type: "input-group", enableClear: !1 }, I = T.editor ? Object.assign({}, P, T.editor) : Object.assign({}, P), L = c(A, T, v), _ = u(A, T, v);
526
+ return Object.keys(m).map((b) => {
527
+ const h = S(1), w = b, T = m[b], A = Object.keys(T), C = T.title, F = T.type, P = i.get(F) || { type: "input-group", enableClear: !1 }, I = T.editor ? Object.assign({}, P, T.editor) : Object.assign({}, P), L = c(A, T, v), _ = u(A, T, v);
528
528
  I.readonly = I.readonly === void 0 ? _() : I.readonly;
529
529
  const Q = T.type === "cascade" ? p(T.properties, v, g, M, B, U, O) : [], V = !0;
530
530
  let N = s(T, O);
531
531
  const G = $({
532
532
  get() {
533
533
  if (h.value) {
534
- if (["class", "style"].find((ue) => ue === b) && !N && (N = o.get("/converter/appearance.converter") || null), N && N.convertFrom)
535
- return N.convertFrom(g, w, B, U);
536
- const ie = g[w];
534
+ if (["class", "style"].find((ue) => ue === w) && !N && (N = o.get("/converter/appearance.converter") || null), N && N.convertFrom)
535
+ return N.convertFrom(g, b, B, U);
536
+ const ie = g[b];
537
537
  return Object.prototype.hasOwnProperty.call(T, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? T.type === "boolean" ? T.defaultValue : T.defaultValue || "" : ie;
538
538
  }
539
539
  return null;
540
540
  },
541
541
  set(ie) {
542
- h.value += 1, N && N.convertTo ? (N.convertTo(M, w, ie, B, U), N.convertTo(g, w, ie, B, U)) : (M[w] = ie, g[w] = ie);
542
+ h.value += 1, N && N.convertTo ? (N.convertTo(M, b, ie, B, U), N.convertTo(g, b, ie, B, U)) : (M[b] = ie, g[b] = ie);
543
543
  }
544
- }), { refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae } = T, Y = { propertyID: b, propertyName: x, propertyType: F, propertyValue: G, editor: I, visible: L, readonly: _, cascadeConfig: Q, hideCascadeTitle: V, refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae };
545
- return v[b] = Y, Y;
544
+ }), { refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae } = T, Y = { propertyID: w, propertyName: C, propertyType: F, propertyValue: G, editor: I, visible: L, readonly: _, cascadeConfig: Q, hideCascadeTitle: V, refreshPanelAfterChanged: H, description: ee, isExpand: me, parentPropertyID: ae };
545
+ return v[w] = Y, Y;
546
546
  });
547
547
  }
548
548
  function l(m, v, g = {}) {
549
549
  const M = {}, B = n[m];
550
550
  return B && B.categories ? Object.keys(B.categories).map((O) => {
551
- const S = B.categories[O], w = S == null ? void 0 : S.title, h = p(S.properties || {}, M, {}, g, v);
552
- return { categoryId: O, categoryName: w, properties: h };
551
+ const x = B.categories[O], b = x == null ? void 0 : x.title, h = p(x.properties || {}, M, {}, g, v);
552
+ return { categoryId: O, categoryName: b, properties: h };
553
553
  }) : [];
554
554
  }
555
555
  function f(m, v, g, M, B = "") {
556
- const U = v.$ref.schema, O = v.$ref.converter, S = g[U], w = S.type, h = t(S), b = {}, T = n[w];
556
+ const U = v.$ref.schema, O = v.$ref.converter, x = g[U], b = x.type, h = t(x), w = {}, T = n[b];
557
557
  if (T && T.categories) {
558
- const A = T.categories[m], x = A == null ? void 0 : A.title;
558
+ const A = T.categories[m], C = A == null ? void 0 : A.title;
559
559
  O && Object.keys(A.properties).forEach((I) => {
560
560
  A.properties[I].$converter = O;
561
561
  });
562
- const F = (A == null ? void 0 : A.properties) || {}, P = p(F, b, h, S, M, B);
563
- return { categoryId: m, categoryName: x, properties: P };
562
+ const F = (A == null ? void 0 : A.properties) || {}, P = p(F, w, h, x, M, B);
563
+ return { categoryId: m, categoryName: C, properties: P };
564
564
  }
565
565
  return { categoryId: m, categoryName: "", properties: [] };
566
566
  }
567
567
  function d(m, v, g, M, B) {
568
- const U = m.type, O = t(m), S = {};
569
- let w = B || n[U];
570
- if (w && Object.keys(w).length === 0 && g && g.getPropConfig && (w = g.getPropConfig(M)), w && w.categories) {
568
+ const U = m.type, O = t(m), x = {};
569
+ let b = B || n[U];
570
+ if (b && Object.keys(b).length === 0 && g && g.getPropConfig && (b = g.getPropConfig(M)), b && b.categories) {
571
571
  const h = [];
572
- return Object.keys(w.categories).map((b) => {
573
- const T = w.categories[b];
572
+ return Object.keys(b.categories).map((w) => {
573
+ const T = b.categories[w];
574
574
  if (T.$ref) {
575
- h.push(f(b, T, m, v, M));
575
+ h.push(f(w, T, m, v, M));
576
576
  return;
577
577
  }
578
- const A = T == null ? void 0 : T.title, x = T == null ? void 0 : T.tabId, F = T == null ? void 0 : T.tabName, P = T == null ? void 0 : T.hide, I = T == null ? void 0 : T.hideTitle, L = p(T.properties || {}, S, O, m, v, M, T.$converter), { setPropertyRelates: _ } = T, Q = T == null ? void 0 : T.parentPropertyID;
579
- h.push({ categoryId: b, categoryName: A, tabId: x, tabName: F, hide: P, properties: L, hideTitle: I, setPropertyRelates: _, parentPropertyID: Q });
578
+ const A = T == null ? void 0 : T.title, C = T == null ? void 0 : T.tabId, F = T == null ? void 0 : T.tabName, P = T == null ? void 0 : T.hide, I = T == null ? void 0 : T.hideTitle, L = p(T.properties || {}, x, O, m, v, M, T.$converter), { setPropertyRelates: _ } = T, Q = T == null ? void 0 : T.parentPropertyID;
579
+ h.push({ categoryId: w, categoryName: A, tabId: C, tabName: F, hide: P, properties: L, hideTitle: I, setPropertyRelates: _, parentPropertyID: Q });
580
580
  }), h;
581
581
  }
582
582
  return [];
@@ -588,23 +588,23 @@ function on(n, e, t) {
588
588
  };
589
589
  }
590
590
  const rn = {}, an = {};
591
- on(rn, an, Bo);
592
- const ln = {}, sn = {}, { resolveSchemaWithDefaultValue: Ko } = en(ln, sn), un = {}, cn = {};
593
- on(un, cn, Ko);
591
+ on(rn, an, Fo);
592
+ const ln = {}, sn = {}, { getSchemaByType: Gl, resolveSchemaWithDefaultValue: Qo, resolveSchemaToProps: Xl, mappingSchemaToProps: Yl, setDesignerContext: Zl } = en(ln, sn), un = {}, cn = {};
593
+ on(un, cn, Qo);
594
594
  function st(n, e, t = /* @__PURE__ */ new Map(), o = (a, c, u, s) => c, i = {}, r = (a) => a) {
595
595
  return tn[e.title] = e, nn[e.title] = o, rn[e.title] = i, an[e.title] = r, ln[e.title] = e, sn[e.title] = o, un[e.title] = i, cn[e.title] = r, (a = {}, c = !0) => {
596
596
  if (!c)
597
- return Io(a, t);
598
- const u = ko(a, e, t), s = Object.keys(n).reduce((p, l) => (p[l] = n[l].default, p), {});
597
+ return ko(a, t);
598
+ const u = Bo(a, e, t), s = Object.keys(n).reduce((p, l) => (p[l] = n[l].default, p), {});
599
599
  return Object.assign(s, u);
600
600
  };
601
601
  }
602
602
  function At(n, e) {
603
603
  return { customClass: e.class, customStyle: e.style };
604
604
  }
605
- const ei = /* @__PURE__ */ new Map([
605
+ const Ko = /* @__PURE__ */ new Map([
606
606
  ["appearance", At]
607
- ]), ti = "https://json-schema.org/draft/2020-12/schema", ni = "https://farris-design.gitee.io/number-spinner.schema.json", oi = "number-spinner", ii = "A Farris Input Component", ri = "object", ai = {
607
+ ]), ei = "https://json-schema.org/draft/2020-12/schema", ti = "https://farris-design.gitee.io/number-spinner.schema.json", ni = "number-spinner", oi = "A Farris Input Component", ii = "object", ri = {
608
608
  id: {
609
609
  description: "The unique identifier for a number spinner",
610
610
  type: "string"
@@ -740,24 +740,24 @@ const ei = /* @__PURE__ */ new Map([
740
740
  type: "boolean",
741
741
  default: !1
742
742
  }
743
- }, li = [
743
+ }, ai = [
744
744
  "type"
745
- ], si = [
745
+ ], li = [
746
746
  "id",
747
747
  "appearance",
748
748
  "binding",
749
749
  "visible"
750
- ], ui = {
751
- $schema: ti,
752
- $id: ni,
753
- title: oi,
754
- description: ii,
755
- type: ri,
756
- properties: ai,
757
- required: li,
758
- ignore: si
750
+ ], si = {
751
+ $schema: ei,
752
+ $id: ti,
753
+ title: ni,
754
+ description: oi,
755
+ type: ii,
756
+ properties: ri,
757
+ required: ai,
758
+ ignore: li
759
759
  };
760
- function ci(n, e, t) {
760
+ function ui(n, e, t) {
761
761
  return e;
762
762
  }
763
763
  const Ht = {
@@ -878,10 +878,10 @@ const Ht = {
878
878
  needValid: { type: Boolean, default: !1 },
879
879
  /** 更新方式 blur | change */
880
880
  updateOn: { type: String, default: "change" }
881
- }, di = Object.assign({}, Ht, {
881
+ }, ci = Object.assign({}, Ht, {
882
882
  readonly: {}
883
- }), dn = st(Ht, ui, ei, ci);
884
- function fn(n, e, t, o) {
883
+ }), dn = st(Ht, si, Ko, ui);
884
+ function di(n, e, t, o) {
885
885
  const { format: i } = t, { displayValue: r, getRealValue: a, modelValue: c, onNumberValueChanged: u } = o;
886
886
  function s() {
887
887
  const g = new Ce(c.value || 0);
@@ -896,8 +896,8 @@ function fn(n, e, t, o) {
896
896
  return;
897
897
  const M = g === "up" ? s : p, B = g === "up" ? "plus" : "minus";
898
898
  if (M()) {
899
- const O = new Ce(c.value || 0)[B](Number(n.step)), S = O.toFixed();
900
- r.value = i(S), u(a(O));
899
+ const O = new Ce(c.value || 0)[B](Number(n.step)), x = O.toFixed();
900
+ r.value = i(x), u(a(O));
901
901
  }
902
902
  }
903
903
  function f() {
@@ -914,7 +914,7 @@ function fn(n, e, t, o) {
914
914
  }
915
915
  return { canDownward: p, canUpward: s, downward: d, onClickDownButton: v, onClickUpButton: m, upward: f };
916
916
  }
917
- function pn(n, e, t) {
917
+ function fn(n, e, t) {
918
918
  const o = $(() => ({
919
919
  prefix: n.prefix,
920
920
  suffix: n.suffix,
@@ -935,8 +935,8 @@ function pn(n, e, t) {
935
935
  }
936
936
  return { cleanFormat: a, format: u };
937
937
  }
938
- function mn(n, e) {
939
- const t = C(""), o = C(n.modelValue), i = $(() => Number(n.precision) || 0), r = C(n.bigNumber);
938
+ function pn(n, e) {
939
+ const t = S(""), o = S(n.modelValue), i = $(() => Number(n.precision) || 0), r = S(n.bigNumber);
940
940
  r.value = !1;
941
941
  function a(l) {
942
942
  return l.toFixed(i.value);
@@ -972,40 +972,40 @@ function mn(n, e) {
972
972
  return { displayValue: t, getRealValue: s, modelValue: o, isEmpty: c, onNumberValueChanged: p, precision: i, getValidNumberObject: u };
973
973
  }
974
974
  function fi(n, e, t, o, i) {
975
- const { cleanFormat: r, format: a } = t, { displayValue: c, getRealValue: u, modelValue: s, isEmpty: p, onNumberValueChanged: l } = o, { downward: f, upward: d } = i, m = C(!1), v = $(() => c.value);
975
+ const { cleanFormat: r, format: a } = t, { displayValue: c, getRealValue: u, modelValue: s, isEmpty: p, onNumberValueChanged: l } = o, { downward: f, upward: d } = i, m = S(!1), v = $(() => c.value);
976
976
  function g(h) {
977
977
  var A;
978
978
  if (h.stopPropagation(), m.value = !1, n.readonly || n.disabled)
979
979
  return;
980
- const b = (A = h.target) == null ? void 0 : A.value, T = r(b);
980
+ const w = (A = h.target) == null ? void 0 : A.value, T = r(w);
981
981
  c.value = a(u(T, n.needValid), n.needValid), n.updateOn === "blur" && l(u(T, n.needValid)), e.emit("blur", { event: h, formatted: c.value, value: s.value });
982
982
  }
983
983
  function M(h) {
984
984
  h.stopPropagation(), m.value = !0, !(n.readonly || n.disabled) && (c.value = p(s.value) || !n.showZero && "" + s.value == "0" ? "" : String(s.value), e.emit("focus", { event: h, formatted: c.value, value: s.value }));
985
985
  }
986
986
  function B(h) {
987
- var x;
987
+ var C;
988
988
  h.stopPropagation();
989
- let b = (x = h.target) == null ? void 0 : x.value;
990
- n.nullable || (b = b || 0);
991
- const T = r(b), A = u(T, n.needValid);
989
+ let w = (C = h.target) == null ? void 0 : C.value;
990
+ n.nullable || (w = w || 0);
991
+ const T = r(w), A = u(T, n.needValid);
992
992
  n.updateOn === "change" && (c.value = T, l(A)), e.emit("input", A);
993
993
  }
994
994
  function U(h) {
995
- const b = h;
996
- return b.value.substring((b == null ? void 0 : b.selectionStart) || 0, (b == null ? void 0 : b.selectionEnd) || 0);
995
+ const w = h;
996
+ return w.value.substring((w == null ? void 0 : w.selectionStart) || 0, (w == null ? void 0 : w.selectionEnd) || 0);
997
997
  }
998
998
  function O(h) {
999
- const { key: b, keyCode: T, target: A, ctrlKey: x, metaKey: F, shiftKey: P } = h;
999
+ const { key: w, keyCode: T, target: A, ctrlKey: C, metaKey: F, shiftKey: P } = h;
1000
1000
  if (!A)
1001
1001
  return;
1002
1002
  const I = A, L = I.value, _ = Number(n.precision), Q = /* @__PURE__ */ new Set([".", "-", "%"]), V = U(A);
1003
- if (Q.has(b) && L.includes(b) && !V.includes(b) || n.precision === 0 && [110, 190].includes(T)) {
1003
+ if (Q.has(w) && L.includes(w) && !V.includes(w) || n.precision === 0 && [110, 190].includes(T)) {
1004
1004
  h.preventDefault();
1005
1005
  return;
1006
1006
  }
1007
1007
  const G = /* @__PURE__ */ new Set([46, 8, 9, 27, 13, 110, 190, 173]), H = /* @__PURE__ */ new Set([65, 67, 86, 88]), ee = /* @__PURE__ */ new Set([...Array.from({ length: 5 }, (ae, Y) => 35 + Y), 189, 109]);
1008
- if (G.has(T) || H.has(T) && (x || F) || ee.has(T))
1008
+ if (G.has(T) || H.has(T) && (C || F) || ee.has(T))
1009
1009
  return;
1010
1010
  if (!(!P && (T >= 48 && T <= 57 || T >= 96 && T <= 105))) {
1011
1011
  h.preventDefault();
@@ -1017,17 +1017,17 @@ function fi(n, e, t, o, i) {
1017
1017
  return h.preventDefault(), !1;
1018
1018
  }
1019
1019
  }
1020
- const S = (h) => {
1020
+ const x = (h) => {
1021
1021
  var A;
1022
- let b = (A = h.target) == null ? void 0 : A.value;
1023
- n.nullable || (b = b || 0);
1024
- const T = r(b);
1022
+ let w = (A = h.target) == null ? void 0 : A.value;
1023
+ n.nullable || (w = w || 0);
1024
+ const T = r(w);
1025
1025
  s.value = u(T);
1026
1026
  };
1027
- function w(h) {
1028
- return n.keyboard && h.key === "ArrowDown" && (h.preventDefault(), S(h), f(), h.stopPropagation()), n.keyboard && h.key === "ArrowUp" && (h.preventDefault(), S(h), d(), h.stopPropagation()), O(h);
1027
+ function b(h) {
1028
+ return n.keyboard && h.key === "ArrowDown" && (h.preventDefault(), x(h), f(), h.stopPropagation()), n.keyboard && h.key === "ArrowUp" && (h.preventDefault(), x(h), d(), h.stopPropagation()), O(h);
1029
1029
  }
1030
- return { textBoxValue: v, onBlurTextBox: g, onFocusTextBox: M, onInput: B, onKeyDown: w, isFocus: m };
1030
+ return { textBoxValue: v, onBlurTextBox: g, onFocusTextBox: M, onInput: B, onKeyDown: b, isFocus: m };
1031
1031
  }
1032
1032
  function pi(n, e, t) {
1033
1033
  const {
@@ -1082,7 +1082,7 @@ function mi(n) {
1082
1082
  return { placeholder: o, range: i };
1083
1083
  }
1084
1084
  function vi(n, e, t) {
1085
- const o = mi(n), i = C(), {
1085
+ const o = mi(n), i = S(), {
1086
1086
  onBlurTextBox: r,
1087
1087
  onFocusTextBox: a,
1088
1088
  onInput: c,
@@ -1129,7 +1129,7 @@ const yt = /* @__PURE__ */ Xe({
1129
1129
  props: Ht,
1130
1130
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
1131
1131
  setup(n, e) {
1132
- const t = mn(n, e), o = pn(n, e, t), i = fn(n, e, o, t), r = fi(n, e, o, t, i), a = pi(n, e, i), {
1132
+ const t = pn(n, e), o = fn(n, e, t), i = di(n, e, o, t), r = fi(n, e, o, t, i), a = pi(n, e, i), {
1133
1133
  displayValue: c,
1134
1134
  modelValue: u,
1135
1135
  getRealValue: s
@@ -1157,7 +1157,8 @@ const yt = /* @__PURE__ */ Xe({
1157
1157
  }), Se(() => [n.precision, n.useThousands, n.prefix, n.suffix, n.showZero], () => {
1158
1158
  c.value = l(u.value, !1);
1159
1159
  }), () => E("div", {
1160
- class: m.value
1160
+ class: m.value,
1161
+ id: n.id
1161
1162
  }, [p(), d.value && a()]);
1162
1163
  }
1163
1164
  });
@@ -1192,8 +1193,8 @@ function gi() {
1192
1193
  }, null)])]);
1193
1194
  }
1194
1195
  function hi(n, e, t) {
1195
- var x;
1196
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = C();
1196
+ var C;
1197
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", r = S();
1197
1198
  let a;
1198
1199
  function c() {
1199
1200
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -1212,7 +1213,7 @@ function hi(n, e, t) {
1212
1213
  return null;
1213
1214
  if (F.value.schema && F.value.schema.type === "component")
1214
1215
  return F.value;
1215
- const P = C(F == null ? void 0 : F.value.parent), I = l(P);
1216
+ const P = S(F == null ? void 0 : F.value.parent), I = l(P);
1216
1217
  return I || null;
1217
1218
  }
1218
1219
  function f(F = e) {
@@ -1239,7 +1240,7 @@ function hi(n, e, t) {
1239
1240
  }
1240
1241
  function M(F, P) {
1241
1242
  const { componentType: I } = F;
1242
- let L = Hn(I, F, P);
1243
+ let L = An(I, F, P);
1243
1244
  t && t.onResolveNewComponentSchema && (L = t.onResolveNewComponentSchema(F, L));
1244
1245
  const _ = I.toLowerCase().replace(/-/g, "_");
1245
1246
  return L && !L.id && L.type === I && (L.id = `${_}_${Math.random().toString().slice(2, 6)}`), L;
@@ -1260,14 +1261,14 @@ function hi(n, e, t) {
1260
1261
  L > -1 && I.getExpressions().splice(L, 1);
1261
1262
  }
1262
1263
  }
1263
- function S(F) {
1264
+ function x(F) {
1264
1265
  if (!F || !(e != null && e.schema))
1265
1266
  return;
1266
1267
  const P = e.schema, { formSchemaUtils: I } = F;
1267
1268
  I.removeCommunicationInComponent(P);
1268
1269
  }
1269
- function w(F) {
1270
- t && t.onRemoveComponent && t.onRemoveComponent(), O(F), S(F), e != null && e.schema.contents && e.schema.contents.map((P) => {
1270
+ function b(F) {
1271
+ t && t.onRemoveComponent && t.onRemoveComponent(), O(F), x(F), e != null && e.schema.contents && e.schema.contents.map((P) => {
1271
1272
  let I = P.id;
1272
1273
  P.type === "component-ref" && (I = P.component);
1273
1274
  const L = n.value.querySelectorAll(`#${I}-design-item`);
@@ -1281,7 +1282,7 @@ function hi(n, e, t) {
1281
1282
  if (t && t.getCustomButtons)
1282
1283
  return t.getCustomButtons();
1283
1284
  }
1284
- function b(F) {
1285
+ function w(F) {
1285
1286
  var I, L;
1286
1287
  if (!((I = e == null ? void 0 : e.schema) != null && I.id))
1287
1288
  return;
@@ -1304,7 +1305,7 @@ function hi(n, e, t) {
1304
1305
  function T(F) {
1305
1306
  var _;
1306
1307
  const { changeObject: P } = F, { propertyID: I, propertyValue: L } = P;
1307
- if (["text", "title", "label", "name", "mainTitle"].includes((_ = F == null ? void 0 : F.changeObject) == null ? void 0 : _.propertyID) && I && L && (b(), a)) {
1308
+ if (["text", "title", "label", "name", "mainTitle"].includes((_ = F == null ? void 0 : F.changeObject) == null ? void 0 : _.propertyID) && I && L && (w(), a)) {
1308
1309
  const Q = a.getControlBasicInfoMap(), V = Q.keys().toArray().filter((N) => {
1309
1310
  var G, H;
1310
1311
  return ((G = Q.get(N)) == null ? void 0 : G.reliedComponentId) === ((H = e == null ? void 0 : e.schema) == null ? void 0 : H.id);
@@ -1326,7 +1327,7 @@ function hi(n, e, t) {
1326
1327
  canNested: !p(),
1327
1328
  contents: e == null ? void 0 : e.schema.contents,
1328
1329
  elementRef: n,
1329
- parent: (x = e == null ? void 0 : e.parent) == null ? void 0 : x.componentInstance,
1330
+ parent: (C = e == null ? void 0 : e.parent) == null ? void 0 : C.componentInstance,
1330
1331
  schema: e == null ? void 0 : e.schema,
1331
1332
  styles: o,
1332
1333
  designerClass: i,
@@ -1339,20 +1340,20 @@ function hi(n, e, t) {
1339
1340
  onAcceptMovedChildElement: g,
1340
1341
  onChildElementMovedOut: B,
1341
1342
  addNewChildComponentSchema: M,
1342
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || C(!1),
1343
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || C(!1),
1344
- onRemoveComponent: w,
1343
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || S(!1),
1344
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || S(!1),
1345
+ onRemoveComponent: b,
1345
1346
  getCustomButtons: h,
1346
1347
  onPropertyChanged: A,
1347
- setComponentBasicInfoMap: b,
1348
+ setComponentBasicInfoMap: w,
1348
1349
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
1349
1350
  }, r;
1350
1351
  }
1351
- const yi = C(0);
1352
+ const yi = S(0);
1352
1353
  function bi() {
1353
1354
  yi.value++;
1354
1355
  }
1355
- const ft = C(0);
1356
+ const ft = S(0);
1356
1357
  function wi(n) {
1357
1358
  const { formSchemaUtils: e, formStateMachineUtils: t } = n;
1358
1359
  function o(u, s = "") {
@@ -1380,7 +1381,7 @@ function wi(n) {
1380
1381
  }
1381
1382
  return { getVariables: r, getControlName: a, getStateMachines: c };
1382
1383
  }
1383
- class vn {
1384
+ class mn {
1384
1385
  constructor(e) {
1385
1386
  X(this, "sessionVariables", [
1386
1387
  {
@@ -1915,7 +1916,7 @@ class Ci {
1915
1916
  !u || !u.rules || (u.rules = u.rules.filter((s) => s.type !== r));
1916
1917
  }
1917
1918
  getExpressionOptions(e, t, o) {
1918
- return new vn(this.formSchemaUtils).getExpressionOptions(e, t, o);
1919
+ return new mn(this.formSchemaUtils).getExpressionOptions(e, t, o);
1919
1920
  }
1920
1921
  getRealTargetType(e) {
1921
1922
  return ["response-toolbar-item", "tab-toolbar-item", "section-toolbar-item"].indexOf(e.type) > -1 ? "Button" : e.binding && e.binding.field ? "Field" : "Container";
@@ -2114,11 +2115,11 @@ function xi(n) {
2114
2115
  var B;
2115
2116
  const g = o.get(v.id), M = g.appearance && g.appearance.class;
2116
2117
  if (M) {
2117
- const O = M.split(" ").filter((A) => !A.startsWith("col-")), S = "col-" + v.columnInSM, w = "col-md-" + v.columnInMD, h = "col-xl-" + v.columnInLG, b = "col-el-" + v.columnInEL, T = [S, w, h, b].concat(O);
2118
+ const O = M.split(" ").filter((A) => !A.startsWith("col-")), x = "col-" + v.columnInSM, b = "col-md-" + v.columnInMD, h = "col-xl-" + v.columnInLG, w = "col-el-" + v.columnInEL, T = [x, b, h, w].concat(O);
2118
2119
  g.appearance.class = T.join(" ");
2119
2120
  }
2120
2121
  if (v.fieldSetId) {
2121
- const U = d.contents.find((S) => S.id === v.fieldSetId), O = m.find((S) => S.id === v.fieldSetId);
2122
+ const U = d.contents.find((x) => x.id === v.fieldSetId), O = m.find((x) => x.id === v.fieldSetId);
2122
2123
  O ? (B = O.contents) == null || B.push(g) : (m.push(U), U.contents = [g]);
2123
2124
  } else
2124
2125
  m.push(g);
@@ -2185,11 +2186,11 @@ var Ti = { exports: {} };
2185
2186
  2: [function(t, o, i) {
2186
2187
  (function(r) {
2187
2188
  var a = t("contra/emitter"), c = t("crossvent"), u = t("./classes"), s = document, p = s.documentElement;
2188
- function l(x, F) {
2189
+ function l(C, F) {
2189
2190
  var P = arguments.length;
2190
- P === 1 && Array.isArray(x) === !1 && (F = x, x = []);
2191
+ P === 1 && Array.isArray(C) === !1 && (F = C, C = []);
2191
2192
  var I, L, _, Q, V, N, G, H, ee, me = null, ae, Y, ie = !1, ue = 0, ne, q = F || {};
2192
- q.moves === void 0 && (q.moves = B), q.accepts === void 0 && (q.accepts = B), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = x || []), q.isContainer === void 0 && (q.isContainer = M), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = s.body);
2193
+ q.moves === void 0 && (q.moves = B), q.accepts === void 0 && (q.accepts = B), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = C || []), q.isContainer === void 0 && (q.isContainer = M), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = s.body);
2193
2194
  var oe = a({
2194
2195
  containers: q.containers,
2195
2196
  start: Ee,
@@ -2227,7 +2228,7 @@ var Ti = { exports: {} };
2227
2228
  var j = v(y) !== 1 || y.metaKey || y.ctrlKey;
2228
2229
  if (!j) {
2229
2230
  var D = y.target, W = Pe(D);
2230
- W && (ae = W, Te(), y.type === "mousedown" && (w(D) ? D.focus() : y.preventDefault()));
2231
+ W && (ae = W, Te(), y.type === "mousedown" && (b(D) ? D.focus() : y.preventDefault()));
2231
2232
  }
2232
2233
  }
2233
2234
  function tt(y) {
@@ -2239,7 +2240,7 @@ var Ti = { exports: {} };
2239
2240
  if (!(y.clientX !== void 0 && Math.abs(y.clientX - Q) <= (q.slideFactorX || 0) && y.clientY !== void 0 && Math.abs(y.clientY - V) <= (q.slideFactorY || 0))) {
2240
2241
  if (q.ignoreInputTextSelection) {
2241
2242
  var j = A("clientX", y) || 0, D = A("clientY", y) || 0, W = s.elementFromPoint(j, D);
2242
- if (w(W))
2243
+ if (b(W))
2243
2244
  return;
2244
2245
  }
2245
2246
  var K = ae;
@@ -2249,12 +2250,12 @@ var Ti = { exports: {} };
2249
2250
  }
2250
2251
  function Pe(y) {
2251
2252
  if (!(oe.dragging && I) && !De(y)) {
2252
- for (var j = y; S(y) && De(S(y)) === !1; )
2253
- if (q.invalid(y, j) || (y = S(y), !y))
2253
+ for (var j = y; x(y) && De(x(y)) === !1; )
2254
+ if (q.invalid(y, j) || (y = x(y), !y))
2254
2255
  return;
2255
- var D = S(y);
2256
+ var D = x(y);
2256
2257
  if (D && !q.invalid(y, j)) {
2257
- var W = q.moves(y, D, j, b(y));
2258
+ var W = q.moves(y, D, j, w(y));
2258
2259
  if (W)
2259
2260
  return {
2260
2261
  item: y,
@@ -2271,7 +2272,7 @@ var Ti = { exports: {} };
2271
2272
  j && Oe(j);
2272
2273
  }
2273
2274
  function Oe(y) {
2274
- jt(y.item, y.source) && (H = y.item.cloneNode(!0), oe.emit("cloned", H, y.item, "copy")), L = y.source, _ = y.item, N = G = b(y.item), oe.dragging = !0, oe.emit("drag", _, L);
2275
+ jt(y.item, y.source) && (H = y.item.cloneNode(!0), oe.emit("cloned", H, y.item, "copy")), L = y.source, _ = y.item, N = G = w(y.item), oe.dragging = !0, oe.emit("drag", _, L);
2275
2276
  }
2276
2277
  function nt() {
2277
2278
  return !1;
@@ -2279,7 +2280,7 @@ var Ti = { exports: {} };
2279
2280
  function He() {
2280
2281
  if (oe.dragging) {
2281
2282
  var y = H || _;
2282
- Je(y, S(y));
2283
+ Je(y, x(y));
2283
2284
  }
2284
2285
  }
2285
2286
  function ke() {
@@ -2292,18 +2293,18 @@ var Ti = { exports: {} };
2292
2293
  }
2293
2294
  }
2294
2295
  function Je(y, j) {
2295
- var D = S(y);
2296
+ var D = x(y);
2296
2297
  H && q.copySortSource && j === L && D.removeChild(_), se(j) ? oe.emit("cancel", y, L) : oe.emit("drop", y, j, L, G), J();
2297
2298
  }
2298
2299
  function Qe() {
2299
2300
  if (oe.dragging) {
2300
- var y = H || _, j = S(y);
2301
+ var y = H || _, j = x(y);
2301
2302
  j && j.removeChild(y), oe.emit(H ? "cancel" : "remove", y, j, L), J();
2302
2303
  }
2303
2304
  }
2304
2305
  function k(y) {
2305
2306
  if (oe.dragging) {
2306
- var j = arguments.length > 0 ? y : q.revertOnSpill, D = H || _, W = S(D), K = se(W);
2307
+ var j = arguments.length > 0 ? y : q.revertOnSpill, D = H || _, W = x(D), K = se(W);
2307
2308
  K === !1 && j && (H ? W && W.removeChild(H) : L.insertBefore(D, N)), K || j ? oe.emit("cancel", D, L, L) : oe.emit("drop", D, W, L, G), J();
2308
2309
  }
2309
2310
  }
@@ -2313,11 +2314,11 @@ var Ti = { exports: {} };
2313
2314
  }
2314
2315
  function se(y, j) {
2315
2316
  var D;
2316
- return j !== void 0 ? D = j : I ? D = G : D = b(H || _), y === L && D === N;
2317
+ return j !== void 0 ? D = j : I ? D = G : D = w(H || _), y === L && D === N;
2317
2318
  }
2318
2319
  function ce(y, j, D) {
2319
2320
  for (var W = y; W && !K(); )
2320
- W = S(W);
2321
+ W = x(W);
2321
2322
  return W;
2322
2323
  function K() {
2323
2324
  var te = De(W);
@@ -2335,7 +2336,7 @@ var Ti = { exports: {} };
2335
2336
  I.style.left = j - 2 + "px", I.style.top = D - 2 + "px";
2336
2337
  var W = H || _, K = g(I, j, D), te = ce(K, j, D), xe = te !== null && te !== me;
2337
2338
  (xe || te === null) && (be(), me = te, Fe()), Ot(K, D);
2338
- var he = S(W);
2339
+ var he = x(W);
2339
2340
  if (te === L && H && !q.copySortSource) {
2340
2341
  he && he.removeChild(W);
2341
2342
  return;
@@ -2361,7 +2362,7 @@ var Ti = { exports: {} };
2361
2362
  }
2362
2363
  }
2363
2364
  function Tt(y, j, D) {
2364
- (y === j || y === b(j)) && (G = b(j)), (y === null && D || y !== j && y !== b(j)) && (G = y);
2365
+ (y === j || y === w(j)) && (G = w(j)), (y === null && D || y !== j && y !== w(j)) && (G = y);
2365
2366
  }
2366
2367
  function Et(y) {
2367
2368
  u.rm(y, "gu-hide");
@@ -2380,14 +2381,14 @@ var Ti = { exports: {} };
2380
2381
  ie = !1, q.mirrorContainer.appendChild(Y);
2381
2382
  }
2382
2383
  function kt() {
2383
- I && (u.rm(q.mirrorContainer, "gu-unselectable"), m(p, "remove", "mousemove", Ie), S(I).removeChild(I), I = null);
2384
+ I && (u.rm(q.mirrorContainer, "gu-unselectable"), m(p, "remove", "mousemove", Ie), x(I).removeChild(I), I = null);
2384
2385
  }
2385
2386
  function It() {
2386
- Y && (S(Y).removeChild(Y), Y = null);
2387
+ Y && (x(Y).removeChild(Y), Y = null);
2387
2388
  }
2388
2389
  function ut(y, j) {
2389
- for (var D = j; D !== y && S(D) !== y; )
2390
- D = S(D);
2390
+ for (var D = j; D !== y && x(D) !== y; )
2391
+ D = x(D);
2391
2392
  return D === p ? null : D;
2392
2393
  }
2393
2394
  function ot(y, j) {
@@ -2480,14 +2481,14 @@ var Ti = { exports: {} };
2480
2481
  return Me(K ? D > de.left + U(de) / 2 : W > de.top + O(de) / 2);
2481
2482
  }
2482
2483
  function Me(de) {
2483
- return de ? b(j) : j;
2484
+ return de ? w(j) : j;
2484
2485
  }
2485
2486
  }
2486
2487
  function jt(y, j) {
2487
2488
  return typeof q.copy == "boolean" ? q.copy : q.copy(y, j);
2488
2489
  }
2489
2490
  }
2490
- function f(x) {
2491
+ function f(C) {
2491
2492
  const F = Array.from(window.scrollContainerList);
2492
2493
  if (F.length === 1) {
2493
2494
  const I = Array.from(window.scrollContainerList)[0];
@@ -2495,18 +2496,18 @@ var Ti = { exports: {} };
2495
2496
  }
2496
2497
  const P = d(F);
2497
2498
  for (const I of P)
2498
- if (I.contains(x))
2499
+ if (I.contains(C))
2499
2500
  return I;
2500
2501
  return null;
2501
2502
  }
2502
- function d(x) {
2503
+ function d(C) {
2503
2504
  const F = [];
2504
- return x.forEach((P) => {
2505
+ return C.forEach((P) => {
2505
2506
  const I = document.getElementById(P);
2506
2507
  I && F.push(I);
2507
2508
  }), F.sort((P, I) => P.contains(I) ? 1 : I.contains(P) ? -1 : 0), F;
2508
2509
  }
2509
- function m(x, F, P, I) {
2510
+ function m(C, F, P, I) {
2510
2511
  var L = {
2511
2512
  mouseup: "touchend",
2512
2513
  mousedown: "touchstart",
@@ -2520,23 +2521,23 @@ var Ti = { exports: {} };
2520
2521
  mousedown: "MSPointerDown",
2521
2522
  mousemove: "MSPointerMove"
2522
2523
  };
2523
- r.navigator.pointerEnabled ? c[F](x, _[P], I) : r.navigator.msPointerEnabled ? c[F](x, Q[P], I) : (c[F](x, L[P], I), c[F](x, P, I));
2524
+ r.navigator.pointerEnabled ? c[F](C, _[P], I) : r.navigator.msPointerEnabled ? c[F](C, Q[P], I) : (c[F](C, L[P], I), c[F](C, P, I));
2524
2525
  }
2525
- function v(x) {
2526
- if (x.touches !== void 0)
2527
- return x.touches.length;
2528
- if (x.which !== void 0 && x.which !== 0)
2529
- return x.which;
2530
- if (x.buttons !== void 0)
2531
- return x.buttons;
2532
- var F = x.button;
2526
+ function v(C) {
2527
+ if (C.touches !== void 0)
2528
+ return C.touches.length;
2529
+ if (C.which !== void 0 && C.which !== 0)
2530
+ return C.which;
2531
+ if (C.buttons !== void 0)
2532
+ return C.buttons;
2533
+ var F = C.button;
2533
2534
  if (F !== void 0)
2534
2535
  return F & 1 ? 1 : F & 2 ? 3 : F & 4 ? 2 : 0;
2535
2536
  }
2536
- function g(x, F, P) {
2537
- x = x || {};
2538
- var I = x.className || "", L;
2539
- return x.className += " gu-hide", L = s.elementFromPoint(F, P), x.className = I, L;
2537
+ function g(C, F, P) {
2538
+ C = C || {};
2539
+ var I = C.className || "", L;
2540
+ return C.className += " gu-hide", L = s.elementFromPoint(F, P), C.className = I, L;
2540
2541
  }
2541
2542
  function M() {
2542
2543
  return !1;
@@ -2544,42 +2545,42 @@ var Ti = { exports: {} };
2544
2545
  function B() {
2545
2546
  return !0;
2546
2547
  }
2547
- function U(x) {
2548
- return x.width || x.right - x.left;
2548
+ function U(C) {
2549
+ return C.width || C.right - C.left;
2549
2550
  }
2550
- function O(x) {
2551
- return x.height || x.bottom - x.top;
2551
+ function O(C) {
2552
+ return C.height || C.bottom - C.top;
2552
2553
  }
2553
- function S(x) {
2554
- return x.parentNode === s ? null : x.parentNode;
2554
+ function x(C) {
2555
+ return C.parentNode === s ? null : C.parentNode;
2555
2556
  }
2556
- function w(x) {
2557
- return x.tagName === "INPUT" || x.tagName === "TEXTAREA" || x.tagName === "SELECT" || h(x);
2557
+ function b(C) {
2558
+ return C.tagName === "INPUT" || C.tagName === "TEXTAREA" || C.tagName === "SELECT" || h(C);
2558
2559
  }
2559
- function h(x) {
2560
- return !x || x.contentEditable === "false" ? !1 : x.contentEditable === "true" ? !0 : h(S(x));
2560
+ function h(C) {
2561
+ return !C || C.contentEditable === "false" ? !1 : C.contentEditable === "true" ? !0 : h(x(C));
2561
2562
  }
2562
- function b(x) {
2563
- return x.nextElementSibling || F();
2563
+ function w(C) {
2564
+ return C.nextElementSibling || F();
2564
2565
  function F() {
2565
- var P = x;
2566
+ var P = C;
2566
2567
  do
2567
2568
  P = P.nextSibling;
2568
2569
  while (P && P.nodeType !== 1);
2569
2570
  return P;
2570
2571
  }
2571
2572
  }
2572
- function T(x) {
2573
- return x.targetTouches && x.targetTouches.length ? x.targetTouches[0] : x.changedTouches && x.changedTouches.length ? x.changedTouches[0] : x;
2573
+ function T(C) {
2574
+ return C.targetTouches && C.targetTouches.length ? C.targetTouches[0] : C.changedTouches && C.changedTouches.length ? C.changedTouches[0] : C;
2574
2575
  }
2575
- function A(x, F) {
2576
+ function A(C, F) {
2576
2577
  var P = T(F), I = {
2577
2578
  pageX: "clientX",
2578
2579
  // IE8
2579
2580
  pageY: "clientY"
2580
2581
  // IE8
2581
2582
  };
2582
- return x in I && !(x in P) && I[x] in P && (x = I[x]), P[x];
2583
+ return C in I && !(C in P) && I[C] in P && (C = I[C]), P[C];
2583
2584
  }
2584
2585
  o.exports = l;
2585
2586
  }).call(this, typeof Le < "u" ? Le : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2642,62 +2643,62 @@ var Ti = { exports: {} };
2642
2643
  remove: p,
2643
2644
  fabricate: g
2644
2645
  };
2645
- function f(S, w, h, b) {
2646
- return S.addEventListener(w, h, b);
2646
+ function f(x, b, h, w) {
2647
+ return x.addEventListener(b, h, w);
2647
2648
  }
2648
- function d(S, w, h) {
2649
- return S.attachEvent("on" + w, B(S, w, h));
2649
+ function d(x, b, h) {
2650
+ return x.attachEvent("on" + b, B(x, b, h));
2650
2651
  }
2651
- function m(S, w, h, b) {
2652
- return S.removeEventListener(w, h, b);
2652
+ function m(x, b, h, w) {
2653
+ return x.removeEventListener(b, h, w);
2653
2654
  }
2654
- function v(S, w, h) {
2655
- var b = U(S, w, h);
2656
- if (b)
2657
- return S.detachEvent("on" + w, b);
2655
+ function v(x, b, h) {
2656
+ var w = U(x, b, h);
2657
+ if (w)
2658
+ return x.detachEvent("on" + b, w);
2658
2659
  }
2659
- function g(S, w, h) {
2660
- var b = c.indexOf(w) === -1 ? A() : T();
2661
- S.dispatchEvent ? S.dispatchEvent(b) : S.fireEvent("on" + w, b);
2660
+ function g(x, b, h) {
2661
+ var w = c.indexOf(b) === -1 ? A() : T();
2662
+ x.dispatchEvent ? x.dispatchEvent(w) : x.fireEvent("on" + b, w);
2662
2663
  function T() {
2663
- var x;
2664
- return u.createEvent ? (x = u.createEvent("Event"), x.initEvent(w, !0, !0)) : u.createEventObject && (x = u.createEventObject()), x;
2664
+ var C;
2665
+ return u.createEvent ? (C = u.createEvent("Event"), C.initEvent(b, !0, !0)) : u.createEventObject && (C = u.createEventObject()), C;
2665
2666
  }
2666
2667
  function A() {
2667
- return new a(w, { detail: h });
2668
+ return new a(b, { detail: h });
2668
2669
  }
2669
2670
  }
2670
- function M(S, w, h) {
2671
+ function M(x, b, h) {
2671
2672
  return function(T) {
2672
2673
  var A = T || r.event;
2673
2674
  A.target = A.target || A.srcElement, A.preventDefault = A.preventDefault || function() {
2674
2675
  A.returnValue = !1;
2675
2676
  }, A.stopPropagation = A.stopPropagation || function() {
2676
2677
  A.cancelBubble = !0;
2677
- }, A.which = A.which || A.keyCode, h.call(S, A);
2678
+ }, A.which = A.which || A.keyCode, h.call(x, A);
2678
2679
  };
2679
2680
  }
2680
- function B(S, w, h) {
2681
- var b = U(S, w, h) || M(S, w, h);
2681
+ function B(x, b, h) {
2682
+ var w = U(x, b, h) || M(x, b, h);
2682
2683
  return l.push({
2683
- wrapper: b,
2684
- element: S,
2685
- type: w,
2684
+ wrapper: w,
2685
+ element: x,
2686
+ type: b,
2686
2687
  fn: h
2687
- }), b;
2688
+ }), w;
2688
2689
  }
2689
- function U(S, w, h) {
2690
- var b = O(S, w, h);
2691
- if (b) {
2692
- var T = l[b].wrapper;
2693
- return l.splice(b, 1), T;
2690
+ function U(x, b, h) {
2691
+ var w = O(x, b, h);
2692
+ if (w) {
2693
+ var T = l[w].wrapper;
2694
+ return l.splice(w, 1), T;
2694
2695
  }
2695
2696
  }
2696
- function O(S, w, h) {
2697
- var b, T;
2698
- for (b = 0; b < l.length; b++)
2699
- if (T = l[b], T.element === S && T.type === w && T.fn === h)
2700
- return b;
2697
+ function O(x, b, h) {
2698
+ var w, T;
2699
+ for (w = 0; w < l.length; w++)
2700
+ if (T = l[w], T.element === x && T.type === b && T.fn === h)
2701
+ return w;
2701
2702
  }
2702
2703
  }).call(this, typeof Le < "u" ? Le : typeof self < "u" ? self : typeof window < "u" ? window : {});
2703
2704
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2793,23 +2794,23 @@ var Ti = { exports: {} };
2793
2794
  if (!d) {
2794
2795
  var O = p(g);
2795
2796
  d = !0;
2796
- for (var S = f.length; S; ) {
2797
- for (m = f, f = []; ++v < S; )
2797
+ for (var x = f.length; x; ) {
2798
+ for (m = f, f = []; ++v < x; )
2798
2799
  m && m[v].run();
2799
- v = -1, S = f.length;
2800
+ v = -1, x = f.length;
2800
2801
  }
2801
2802
  m = null, d = !1, l(O);
2802
2803
  }
2803
2804
  }
2804
2805
  r.nextTick = function(O) {
2805
- var S = new Array(arguments.length - 1);
2806
+ var x = new Array(arguments.length - 1);
2806
2807
  if (arguments.length > 1)
2807
- for (var w = 1; w < arguments.length; w++)
2808
- S[w - 1] = arguments[w];
2809
- f.push(new B(O, S)), f.length === 1 && !d && p(M);
2808
+ for (var b = 1; b < arguments.length; b++)
2809
+ x[b - 1] = arguments[b];
2810
+ f.push(new B(O, x)), f.length === 1 && !d && p(M);
2810
2811
  };
2811
- function B(O, S) {
2812
- this.fun = O, this.array = S;
2812
+ function B(O, x) {
2813
+ this.fun = O, this.array = x;
2813
2814
  }
2814
2815
  B.prototype.run = function() {
2815
2816
  this.fun.apply(null, this.array);
@@ -2902,7 +2903,7 @@ const Ei = {
2902
2903
  const {
2903
2904
  locale: t,
2904
2905
  t: o
2905
- } = St(), i = C(n.animate), r = "fadeOut", a = $(() => n.options), c = C(!1), u = $(() => a.value.title && a.value.message), s = $(() => !a.value.title && a.value.message), p = $(() => {
2906
+ } = St(), i = S(n.animate), r = "fadeOut", a = $(() => n.options), c = S(!1), u = $(() => a.value.title && a.value.message), s = $(() => !a.value.title && a.value.message), p = $(() => {
2906
2907
  const O = {
2907
2908
  animated: c.value,
2908
2909
  toast: !0,
@@ -2910,10 +2911,10 @@ const Ei = {
2910
2911
  };
2911
2912
  return O[n.animate] = !1, O[r] = c.value, O["toasty-type-" + a.value.type] = !0, a.value.theme && (O[a.value.theme] = !0), O;
2912
2913
  }), l = $(() => {
2913
- const w = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, h = {
2914
+ const b = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, h = {
2914
2915
  "f-icon": !0
2915
2916
  };
2916
- return h[w] = !0, h;
2917
+ return h[b] = !0, h;
2917
2918
  }), f = $(() => a.value.title || a.value.message), d = $(() => n.showCloseButton), m = $(() => !!a.value.buttons || !!e.slots.default), v = $(() => t.value === "en" ? {
2918
2919
  wordBreak: "keep-all",
2919
2920
  overflowWrap: "break-word"
@@ -2923,7 +2924,7 @@ const Ei = {
2923
2924
  e.emit("close", a.value);
2924
2925
  }, 200);
2925
2926
  }
2926
- function M(O, S) {
2927
+ function M(O, x) {
2927
2928
  }
2928
2929
  function B(O) {
2929
2930
  return `f-preten-link ${O.customClass ? O.customClass : ""}`;
@@ -2935,10 +2936,10 @@ const Ei = {
2935
2936
  var O;
2936
2937
  return E(lt, null, [E("div", {
2937
2938
  class: "after-toast-msg text-right"
2938
- }, [!e.slots.default && ((O = a.value.buttons) == null ? void 0 : O.map((S) => E("span", {
2939
- class: B(S),
2940
- onClick: (w) => void 0
2941
- }, [S.text]))), e.slots.default && e.slots.default()])]);
2939
+ }, [!e.slots.default && ((O = a.value.buttons) == null ? void 0 : O.map((x) => E("span", {
2940
+ class: B(x),
2941
+ onClick: (b) => void 0
2942
+ }, [x.text]))), e.slots.default && e.slots.default()])]);
2942
2943
  };
2943
2944
  return () => E("div", {
2944
2945
  class: p.value,
@@ -2990,7 +2991,7 @@ const Ei = {
2990
2991
  right: 12,
2991
2992
  top: 20,
2992
2993
  bottom: 12
2993
- }, i = C(), r = C(n.options), a = C(n.showCloseButton), c = $(() => n.position || "bottom-right"), u = $(() => n.timeout != null ? n.timeout : 3e3), s = $(() => {
2994
+ }, i = S(), r = S(n.options), a = S(n.showCloseButton), c = $(() => n.position || "bottom-right"), u = $(() => n.timeout != null ? n.timeout : 3e3), s = $(() => {
2994
2995
  const f = n.bottom ? n.bottom : o.bottom, d = n.top ? n.top : o.top, m = {
2995
2996
  transition: "all 0.2s ease",
2996
2997
  left: c.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -3049,7 +3050,7 @@ class Fi {
3049
3050
  const a = Jt({
3050
3051
  setup() {
3051
3052
  var s;
3052
- const c = C();
3053
+ const c = S();
3053
3054
  function u() {
3054
3055
  c.value.container.style.transform = "scale(0)", setTimeout(() => {
3055
3056
  t.updateNotifyPositionForClose(i, c), a.unmount();
@@ -3308,23 +3309,23 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3308
3309
  hasLeftFixedColumn: U,
3309
3310
  hasRightFixedColumn: O
3310
3311
  } = a, {
3311
- gridDataStyle: S,
3312
- leftFixedGridDataStyle: w,
3312
+ gridDataStyle: x,
3313
+ leftFixedGridDataStyle: b,
3313
3314
  rightFixedGridDataStyle: h
3314
3315
  } = d, {
3315
- renderDataRow: b
3316
- } = qn(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [b];
3316
+ renderDataRow: w
3317
+ } = Un(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [w];
3317
3318
  function A(L, _) {
3318
3319
  const Q = M(L);
3319
3320
  return g.value.filter((V) => V.visible !== !1).map((V, N) => T[V.type](V, Q, _, N));
3320
3321
  }
3321
- function x() {
3322
+ function C() {
3322
3323
  return E("div", {
3323
3324
  ref: o,
3324
3325
  class: "fv-grid-content-left-fixed"
3325
3326
  }, [E("div", {
3326
3327
  class: "fv-grid-data",
3327
- style: w.value
3328
+ style: b.value
3328
3329
  }, [A(B.value.leftColumns.filter((L) => L.visible), "left")])]);
3329
3330
  }
3330
3331
  function F() {
@@ -3333,7 +3334,7 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3333
3334
  class: "fv-grid-content-primary"
3334
3335
  }, [E("div", {
3335
3336
  class: "fv-grid-data",
3336
- style: S.value
3337
+ style: x.value
3337
3338
  }, [A(B.value.primaryColumns.filter((L) => L.visible), "primary")])]);
3338
3339
  }
3339
3340
  function P() {
@@ -3347,7 +3348,7 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3347
3348
  }
3348
3349
  function I() {
3349
3350
  const L = [];
3350
- return U.value && L.push(x()), L.push(F()), O.value && L.push(P()), L;
3351
+ return U.value && L.push(C()), L.push(F()), O.value && L.push(P()), L;
3351
3352
  }
3352
3353
  return {
3353
3354
  renderDataArea: I
@@ -3359,77 +3360,77 @@ const Ni = /* @__PURE__ */ Xe({
3359
3360
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
3360
3361
  setup(n, e) {
3361
3362
  var qt, _t;
3362
- const o = ((qt = n.rowOption) == null ? void 0 : qt.height) || 28, i = C(20), r = C(n.columns), a = _n(n), {
3363
+ const o = ((qt = n.rowOption) == null ? void 0 : qt.height) || 28, i = S(20), r = S(n.columns), a = qn(n), {
3363
3364
  idField: c
3364
- } = a, u = C(), s = C(), p = C(), l = C(), f = C(), d = C([]), m = C(!1), v = C(((_t = n.rowOption) == null ? void 0 : _t.wrapContent) || !1), g = Wn(n, a), M = Gn(n, e), B = Xn(n), {
3365
+ } = a, u = S(), s = S(), p = S(), l = S(), f = S(), d = S([]), m = S(!1), v = S(((_t = n.rowOption) == null ? void 0 : _t.wrapContent) || !1), g = _n(n, a), M = Wn(n, e), B = Gn(n), {
3365
3366
  collapseField: U
3366
3367
  } = B, {
3367
3368
  showLoading: O,
3368
- renderLoading: S
3369
- } = Yn(n, u), w = Zn(n, /* @__PURE__ */ new Map(), M, B, a), {
3369
+ renderLoading: x
3370
+ } = Xn(n, u), b = Yn(n, /* @__PURE__ */ new Map(), M, B, a), {
3370
3371
  dataView: h
3371
- } = w, b = Jn(n, w, a, d, e), {
3372
+ } = b, w = Zn(n, b, a, d, e), {
3372
3373
  showSelection: T,
3373
3374
  selectedValues: A
3374
- } = b, x = Qn(n, d, w, a, b, e), F = $(() => n.disabled), P = $(() => n.virtualized ? Math.min(w.dataView.value.length, i.value) : w.dataView.value.length), I = Kn(n, w), {
3375
+ } = w, C = Jn(n, d, b, a, w, e), F = $(() => n.disabled), P = $(() => n.virtualized ? Math.min(b.dataView.value.length, i.value) : b.dataView.value.length), I = Qn(n, b), {
3375
3376
  shouldRenderPagination: L
3376
3377
  } = I, {
3377
3378
  containerStyleObject: _
3378
- } = eo(n), Q = to(n), {
3379
+ } = Kn(n), Q = eo(n), {
3379
3380
  applyCommands: V
3380
3381
  } = Q;
3381
3382
  V(r);
3382
3383
  const {
3383
3384
  applyColumnSetting: N,
3384
3385
  removeColumnSetting: G
3385
- } = no(n);
3386
+ } = to(n);
3386
3387
  n.showSetting && N(r);
3387
- const H = oo(n, e), ee = io(n), {
3388
+ const H = no(n, e), ee = oo(n), {
3388
3389
  applyColumnSorter: me,
3389
3390
  columnContext: ae,
3390
3391
  updateColumnRenderContext: Y
3391
3392
  } = H;
3392
- me(w, ee);
3393
- const ie = ro(n, ae), ue = ao(n, e, b, a), ne = lo(n, e, a, ue, d), q = so(n), oe = uo(n, ne, q), De = co(n, w, ne, B, a, q, oe), Ne = fo(n, r, w, P, 0, De), {
3393
+ me(b, ee);
3394
+ const ie = io(n, ae), ue = ro(n, e, w, a), ne = ao(n, e, a, ue, d), q = lo(n), oe = so(n, ne, q), De = uo(n, b, ne, B, a, q, oe), Ne = co(n, r, b, P, 0, De), {
3394
3395
  getVisualData: Te
3395
- } = Ne, Ye = po(n, ae), Ae = mo(n, b), {
3396
+ } = Ne, Ye = fo(n, ae), Ae = po(n, w), {
3396
3397
  sidebarWidth: Ze
3397
- } = Ae, le = vo(n, w, d, ae, Ne, P, 0, Ze), {
3398
+ } = Ae, le = mo(n, b, d, ae, Ne, P, 0, Ze), {
3398
3399
  onWheel: tt,
3399
3400
  dataGridWidth: Pe,
3400
3401
  viewPortHeight: Ve,
3401
3402
  viewPortWidth: Ee,
3402
3403
  resetScroll: Oe,
3403
3404
  updateVisibleRowsOnLatestVisibleScope: nt
3404
- } = le, He = go(n, ae, s, Ee, ie), {
3405
+ } = le, He = vo(n, ae, s, Ee, ie), {
3405
3406
  calculateColumnsSize: ke
3406
- } = He, je = ho(), Je = yo(s, f, w, je, le), Qe = bo(n, e, H, w, ie, g, le), k = $(() => {
3407
+ } = He, je = go(), Je = ho(s, f, b, je, le), Qe = yo(n, e, H, b, ie, g, le), k = $(() => {
3407
3408
  const z = {
3408
3409
  "fv-grid": !0,
3409
3410
  "fv-grid-bordered": n.showBorder,
3410
3411
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
3411
3412
  "fv-datagrid-strip": n.showStripe
3412
3413
  };
3413
- return Pn(z, n.customClass);
3414
+ return Nn(z, n.customClass);
3414
3415
  }), J = $(() => ({
3415
3416
  "fv-grid-content": !0,
3416
3417
  "fv-grid-content-hover": m.value,
3417
3418
  "fv-grid-wrap-content": v.value
3418
3419
  })), {
3419
3420
  renderDataArea: se
3420
- } = Ii(n, e, p, l, f, Ye, H, w, ne, B, ue, b, x, le, Ne, q, d), {
3421
+ } = Ii(n, e, p, l, f, Ye, H, b, ne, B, ue, w, C, le, Ne, q, d), {
3421
3422
  renderGridHeader: ce,
3422
3423
  renderGridColumnResizeOverlay: Ie,
3423
3424
  shouldShowHeader: Tt
3424
- } = wo(n, e, s, l, f, H, w, Qe, Je, M, je, He, ie, b, Ae, ee, le, Ee, d), {
3425
+ } = bo(n, e, s, l, f, H, b, Qe, Je, M, je, He, ie, w, Ae, ee, le, Ee, d), {
3425
3426
  renderDataGridSidebar: Et
3426
- } = Co(n, ue, b, Ae, le), {
3427
+ } = wo(n, ue, w, Ae, le), {
3427
3428
  renderDisableMask: Mt
3428
- } = So(), {
3429
+ } = Co(), {
3429
3430
  renderHorizontalScrollbar: Ft
3430
- } = xo(n, s, le), {
3431
+ } = So(n, s, le), {
3431
3432
  renderVerticalScrollbar: Bt
3432
- } = To(n, s, le);
3433
+ } = xo(n, s, le);
3433
3434
  function kt() {
3434
3435
  var z, Z, fe;
3435
3436
  if (s.value && s.value.clientHeight > 0 && ((z = s.value) == null ? void 0 : z.clientWidth) > 0) {
@@ -3438,38 +3439,38 @@ const Ni = /* @__PURE__ */ Xe({
3438
3439
  }
3439
3440
  }
3440
3441
  Ge(() => {
3441
- s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), d.value = Te(0, P.value + 0 - 1), Un(s.value, kt), ke(), et(() => {
3442
+ s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), d.value = Te(0, P.value + 0 - 1), zn(s.value, kt), ke(), et(() => {
3442
3443
  s.value && (Pe.value = s.value.clientWidth), p.value && (Ee.value = p.value.clientWidth, Ve.value = p.value.clientHeight);
3443
- })), O.value && S();
3444
+ })), O.value && x();
3444
3445
  }), Ct(() => {
3445
3446
  }), Se(Ee, () => {
3446
3447
  s.value && ke();
3447
3448
  });
3448
3449
  function It(z) {
3449
- w.collapseTo(z), w.reOrderVisibleIndex(), Oe();
3450
+ b.collapseTo(z), b.reOrderVisibleIndex(), Oe();
3450
3451
  }
3451
3452
  function ut(z) {
3452
- w.expandTo(z), w.reOrderVisibleIndex(), Oe();
3453
+ b.expandTo(z), b.reOrderVisibleIndex(), Oe();
3453
3454
  }
3454
3455
  function ot() {
3455
- const z = b.getSelectionRow();
3456
+ const z = w.getSelectionRow();
3456
3457
  return z ? z.dataIndex - 1 : -1;
3457
3458
  }
3458
3459
  function Nt() {
3459
3460
  const z = ot();
3460
- w.insertNewDataItem(z), d.value = Te(0, P.value + 0 - 1);
3461
+ b.insertNewDataItem(z), d.value = Te(0, P.value + 0 - 1);
3461
3462
  }
3462
3463
  function Pt() {
3463
3464
  const z = ot();
3464
- w.insertNewChildDataItem(z), d.value = Te(0, P.value + 0 - 1);
3465
+ b.insertNewChildDataItem(z), d.value = Te(0, P.value + 0 - 1);
3465
3466
  }
3466
3467
  function Vt(z, Z) {
3467
3468
  const fe = d.value.find((we) => we.raw[c.value] === Z), ge = fe ? fe.dataIndex - 1 : -1;
3468
- w.insertNewChildDataItems(z, ge);
3469
+ b.insertNewChildDataItems(z, ge);
3469
3470
  }
3470
3471
  function Ot() {
3471
- const z = ot(), Z = x.getNextSelectableHierarchyItemId(z);
3472
- w.removeHierarchyDataItem(z), d.value = Te(0, P.value + 0 - 1), Z && b.selectItemById(Z);
3472
+ const z = ot(), Z = C.getNextSelectableHierarchyItemId(z);
3473
+ b.removeHierarchyDataItem(z), d.value = Te(0, P.value + 0 - 1), Z && C.selectItemById(Z);
3473
3474
  }
3474
3475
  function ct(z) {
3475
3476
  ne.onEditingRow(z);
@@ -3481,16 +3482,16 @@ const Ni = /* @__PURE__ */ Xe({
3481
3482
  ne.cancelEditingRow(z);
3482
3483
  }
3483
3484
  function j(z) {
3484
- z && (r.value = z, V(r), Y(r.value), me(w, ee), ke());
3485
+ z && (r.value = z, V(r), Y(r.value), me(b, ee), ke());
3485
3486
  }
3486
3487
  Se(() => n.columns, (z) => {
3487
3488
  j(z);
3488
3489
  });
3489
3490
  function D(z, Z) {
3490
- z && (w.load(z), w.reOrderVisibleIndex(), Z != null && Z.keepScrollPosition ? le.scrollTo(le.offsetY.value) : Oe());
3491
+ z && (b.load(z), b.reOrderVisibleIndex(), Z != null && Z.keepScrollPosition ? le.scrollTo(le.offsetY.value) : Oe());
3491
3492
  }
3492
3493
  function W(z) {
3493
- b.selectItemById(z);
3494
+ C.selectItemById(z);
3494
3495
  }
3495
3496
  function K(z) {
3496
3497
  const Z = d.value.find((fe) => fe.raw[a.idField.value] === z);
@@ -3500,25 +3501,25 @@ const Ni = /* @__PURE__ */ Xe({
3500
3501
  ue.activeRowById(z);
3501
3502
  }
3502
3503
  function xe(z) {
3503
- b.selectItemByIds(z);
3504
+ C.selectItemByIds(z);
3504
3505
  }
3505
3506
  function he() {
3506
- return b.getSelectedItems();
3507
+ return w.getSelectedItems();
3507
3508
  }
3508
3509
  function ye() {
3509
- b.clearSelection();
3510
+ w.clearSelection();
3510
3511
  }
3511
3512
  const Me = $(() => !d.value || !d.value.length), {
3512
3513
  renderEmpty: de
3513
- } = Eo(n, e);
3514
+ } = To(n, e);
3514
3515
  function Fe() {
3515
- return b.getSelectionRow();
3516
+ return w.getSelectionRow();
3516
3517
  }
3517
3518
  function be(z) {
3518
- b.unSelectItemByIds(z);
3519
+ C.unSelectItemByIds(z);
3519
3520
  }
3520
3521
  function ve() {
3521
- return b.currentSelectedDataId.value;
3522
+ return w.currentSelectedDataId.value;
3522
3523
  }
3523
3524
  function it(z, Z, fe) {
3524
3525
  const ge = h.value.find((we) => we[c.value] === z);
@@ -3547,32 +3548,32 @@ const Ni = /* @__PURE__ */ Xe({
3547
3548
  } = fe;
3548
3549
  pe && !Re(Z[pe]) && (we.collapse = Z[pe]), Ue && !Re(Z[Ue]) && (we.checked = Z[Ue]), ze && !Re(Z[ze]) && (we.disabled = Z[ze]), qe && !Re(Z[qe]) && (we.visible = Z[qe]);
3549
3550
  }
3550
- d.value = [...d.value.slice(0, Wt), we, ...d.value.slice(Wt + 1)], w.updateSummary();
3551
+ d.value = [...d.value.slice(0, Wt), we, ...d.value.slice(Wt + 1)], b.updateSummary();
3551
3552
  }
3552
3553
  }
3553
3554
  }
3554
3555
  function rt(z) {
3555
- return Object.prototype.hasOwnProperty.call(z, "raw") ? w.hasRealChildren(z.raw) : w.hasRealChildren(z);
3556
+ return Object.prototype.hasOwnProperty.call(z, "raw") ? b.hasRealChildren(z.raw) : b.hasRealChildren(z);
3556
3557
  }
3557
3558
  function at(z) {
3558
- const Z = w.dataView.value.find((fe) => fe[c.value] === z);
3559
+ const Z = b.dataView.value.find((fe) => fe[c.value] === z);
3559
3560
  return Z ? Z[U.value] : "";
3560
3561
  }
3561
- function Cn() {
3562
+ function wn() {
3562
3563
  return U.value;
3563
3564
  }
3564
3565
  Se(() => n.showSetting, (z, Z) => {
3565
3566
  z !== Z && (z ? N(r) : G(r), j(r.value));
3566
3567
  });
3567
- function Sn(z) {
3568
+ function Cn(z) {
3568
3569
  return d.value.filter((Z) => z.includes(Z.raw[n.idField]));
3569
3570
  }
3570
- function xn(z) {
3571
+ function Sn(z) {
3571
3572
  const Z = a.idField.value, fe = d.value.find((ge) => ge.raw[Z] === z);
3572
3573
  fe && ue.changeRow(fe);
3573
3574
  }
3574
- function Tn() {
3575
- b.keepSelectingOnPaging.value || ye(), w.updateVisibleDataSummary(d.value);
3575
+ function xn() {
3576
+ w.keepSelectingOnPaging.value || ye(), b.updateVisibleDataSummary(d.value);
3576
3577
  }
3577
3578
  e.expose({
3578
3579
  activeRowById: te,
@@ -3597,47 +3598,47 @@ const Ni = /* @__PURE__ */ Xe({
3597
3598
  getCurrentRowId: ve,
3598
3599
  reassignRowData: it,
3599
3600
  hasChildren: rt,
3600
- getCollapseField: Cn,
3601
+ getCollapseField: wn,
3601
3602
  getCollapseStatusById: at,
3602
- getVisibleDataByIds: Sn,
3603
- selectRowById: xn,
3604
- updateDerivedData: Tn
3603
+ getVisibleDataByIds: Cn,
3604
+ selectRowById: Sn,
3605
+ updateDerivedData: xn
3605
3606
  });
3606
- const En = $(() => {
3607
+ const Tn = $(() => {
3607
3608
  const z = {};
3608
3609
  return le.shouldShowHorizontalScrollbar.value && (z.paddingBottom = "10px"), le.shouldShowVirticalScrollbar.value && (z.paddingRight = "10px"), z;
3609
- }), Mn = $(() => ({
3610
+ }), En = $(() => ({
3610
3611
  ..._.value,
3611
3612
  borderRadius: "5px"
3612
- })), {
3613
- renderDataGridPagination: da
3614
- } = Mo(n, e, w, le, I, b), Fn = $(() => ({
3613
+ }));
3614
+ Eo(n, e, b, le, I, w);
3615
+ const Mn = $(() => ({
3615
3616
  "d-flex": !0,
3616
3617
  "justify-content-between": L.value && T.value,
3617
3618
  "justify-content-end": L.value && !T.value,
3618
3619
  "position-relative": !0
3619
- })), Bn = $(() => ({
3620
+ })), Fn = $(() => ({
3620
3621
  "d-flex": !0,
3621
3622
  "align-items-center": !0
3622
3623
  })), {
3623
- renderDataGridSummary: kn
3624
- } = Fo(n, w, H);
3624
+ renderDataGridSummary: Bn
3625
+ } = Mo(n, b, H);
3625
3626
  return () => E("div", {
3626
3627
  ref: u,
3627
3628
  class: k.value,
3628
- style: Mn.value,
3629
+ style: En.value,
3629
3630
  onWheel: tt
3630
3631
  }, [s.value && Tt.value && ce(), E("div", {
3631
3632
  ref: s,
3632
3633
  class: J.value,
3633
3634
  onMouseover: () => m.value = !0,
3634
3635
  onMouseleave: () => m.value = !1,
3635
- style: En.value
3636
- }, [s.value && Et(d), s.value && se(), s.value && Me.value && de(), s.value && Ft(), s.value && Bt()]), s.value && kn(), T.value && E("div", {
3637
- class: Fn.value
3636
+ style: Tn.value
3637
+ }, [s.value && Et(d), s.value && se(), s.value && Me.value && de(), s.value && Ft(), s.value && Bt()]), s.value && Bn(), T.value && E("div", {
3638
+ class: Mn.value
3638
3639
  }, [T.value && E("div", {
3639
- class: Bn.value
3640
- }, [E("div", null, ["已选:" + A.value.length, jn(" 条")])])]), Ie(), F.value && Mt()]);
3640
+ class: Fn.value
3641
+ }, [E("div", null, ["已选:" + A.value.length, On(" 条")])])]), Ie(), F.value && Mt()]);
3641
3642
  }
3642
3643
  });
3643
3644
  Zt(Ni);
@@ -4067,7 +4068,7 @@ const sr = "https://json-schema.org/draft/2020-12/schema", ur = "https://farris-
4067
4068
  "id",
4068
4069
  "type",
4069
4070
  "editor"
4070
- ], gn = {
4071
+ ], vn = {
4071
4072
  $schema: sr,
4072
4073
  $id: ur,
4073
4074
  title: cr,
@@ -4098,7 +4099,7 @@ const sr = "https://json-schema.org/draft/2020-12/schema", ur = "https://farris-
4098
4099
  };
4099
4100
  st(
4100
4101
  vr,
4101
- gn,
4102
+ vn,
4102
4103
  zt,
4103
4104
  void 0
4104
4105
  );
@@ -4119,7 +4120,7 @@ const gr = {
4119
4120
  };
4120
4121
  st(
4121
4122
  gr,
4122
- gn,
4123
+ vn,
4123
4124
  zt,
4124
4125
  void 0
4125
4126
  );
@@ -4213,7 +4214,7 @@ function Ir() {
4213
4214
  return { onCopy: n };
4214
4215
  }
4215
4216
  function Nr(n, e, t, o) {
4216
- const i = C(14), r = C(140), a = C(""), c = C(o.value.length), u = $(() => o.value), s = $(() => ({
4217
+ const i = S(14), r = S(140), a = S(""), c = S(o.value.length), u = $(() => o.value), s = $(() => ({
4217
4218
  "font-size": `${i.value}px`,
4218
4219
  height: "100%"
4219
4220
  }));
@@ -4245,7 +4246,7 @@ function Pr(n, e, t, o) {
4245
4246
  return { getEditorRender: a };
4246
4247
  }
4247
4248
  function Vr() {
4248
- const n = C(!1), e = C("复制成功");
4249
+ const n = S(!1), e = S("复制成功");
4249
4250
  return {
4250
4251
  feedbackStyle: $(() => {
4251
4252
  const o = {
@@ -4304,7 +4305,7 @@ function jr(n, e) {
4304
4305
  const i = $(() => !!n.value && !!n.value.date), r = $(() => {
4305
4306
  const d = n.value && n.value.date || "";
4306
4307
  return `${e.exception.happend} : ${d}`;
4307
- }), a = $(() => !!n.value && !!n.value.detail), c = $(() => n.value ? t(n.value.detail) > 160 : !1), u = C(!1), s = $(() => u.value ? e.exception.collapse : e.exception.expand), p = $(() => {
4308
+ }), a = $(() => !!n.value && !!n.value.detail), c = $(() => n.value ? t(n.value.detail) > 160 : !1), u = S(!1), s = $(() => u.value ? e.exception.collapse : e.exception.expand), p = $(() => {
4308
4309
  const d = e.exception.detail + " : " + (n.value && n.value.detail) || "";
4309
4310
  return u.value ? d : o(d, 160);
4310
4311
  }), l = $(() => ({
@@ -4337,7 +4338,7 @@ function Rr(n) {
4337
4338
  }, null);
4338
4339
  }
4339
4340
  function Lr(n, e, t, o, i) {
4340
- const r = C(n.exceptionInfo), a = $(() => {
4341
+ const r = S(n.exceptionInfo), a = $(() => {
4341
4342
  const m = e.value === "question" ? "warning" : e.value, v = {
4342
4343
  "f-icon": !0
4343
4344
  }, g = `f-icon-${m}`;
@@ -4367,7 +4368,7 @@ function $r(n, e, t, o) {
4367
4368
  onCopy: i
4368
4369
  } = e, {
4369
4370
  toShowFeedback: r
4370
- } = t, a = C(o.exception.copySuccess || "复制成功"), c = C(o.exception.copy || "复制详细信息"), u = C(n.exceptionInfo || {
4371
+ } = t, a = S(o.exception.copySuccess || "复制成功"), c = S(o.exception.copy || "复制详细信息"), u = S(n.exceptionInfo || {
4371
4372
  date: "",
4372
4373
  message: "",
4373
4374
  detail: ""
@@ -4389,7 +4390,7 @@ function $r(n, e, t, o) {
4389
4390
  }, [c.value])]);
4390
4391
  }
4391
4392
  function Dr(n, e, t, o, i) {
4392
- const r = C(n.type), a = C(n.buttons), c = C(n.exceptionInfo), u = C(i.ok || n.okButtonText), s = C(i.cancel || n.cancelButtonText), p = C(n.showCancelButton), l = C(n.showOkButton), f = $(() => !!(a.value && a.value.length)), d = $(() => c.value && c.value.message && c.value.detail), m = $(() => !(a.value && a.value.length) && (l.value || p.value)), v = $r(n, t, o, i);
4393
+ const r = S(n.type), a = S(n.buttons), c = S(n.exceptionInfo), u = S(i.ok || n.okButtonText), s = S(i.cancel || n.cancelButtonText), p = S(n.showCancelButton), l = S(n.showOkButton), f = $(() => !!(a.value && a.value.length)), d = $(() => c.value && c.value.message && c.value.detail), m = $(() => !(a.value && a.value.length) && (l.value || p.value)), v = $r(n, t, o, i);
4393
4394
  u.value === "关闭" ? u.value = i.close : u.value === "知道了" && (u.value = i.exception.roger);
4394
4395
  function g(B) {
4395
4396
  r.value === "question" && e.emit("reject"), e.emit("close");
@@ -4446,7 +4447,7 @@ const vt = /* @__PURE__ */ Xe({
4446
4447
  props: Mr,
4447
4448
  emits: ["accept", "reject", "close"],
4448
4449
  setup(n, e) {
4449
- const t = Ar(n), o = C(n.type), i = C(n.title), r = C(n.detail), a = $(() => {
4450
+ const t = Ar(n), o = S(n.type), i = S(n.title), r = S(n.detail), a = $(() => {
4450
4451
  const M = {
4451
4452
  "modal-tips": !0,
4452
4453
  "d-flex": !0,
@@ -4611,7 +4612,7 @@ const vt = /* @__PURE__ */ Xe({
4611
4612
  required: Gr,
4612
4613
  events: Xr
4613
4614
  }, Zr = /* @__PURE__ */ new Map([
4614
- ["appearance", zn]
4615
+ ["appearance", Hn]
4615
4616
  ]);
4616
4617
  function Jr(n, e, t) {
4617
4618
  return e;
@@ -4625,7 +4626,7 @@ function Qr() {
4625
4626
  resolve: n
4626
4627
  };
4627
4628
  }
4628
- const hn = {
4629
+ const gn = {
4629
4630
  /**
4630
4631
  * 允许点击遮罩关闭对话框
4631
4632
  */
@@ -4705,7 +4706,7 @@ const hn = {
4705
4706
  src: { type: String, default: "" },
4706
4707
  footerHeight: { type: Number, default: 60 },
4707
4708
  host: { type: Object, default: "body" }
4708
- }, Kr = Kt(hn, Yr, Zr, Jr), ea = Qr();
4709
+ }, Kr = Kt(gn, Yr, Zr, Jr), ea = Qr();
4709
4710
  class re {
4710
4711
  constructor(e, t) {
4711
4712
  this.x = e, this.y = t;
@@ -4790,7 +4791,7 @@ class _e {
4790
4791
  }
4791
4792
  }
4792
4793
  function ta(n, e) {
4793
- const t = C(), o = C(), i = C(), r = C(), a = C(), c = C(), u = C(), s = C(), p = C(), l = C(), f = C(), d = C(n.resizeable), m = C(), v = C(n.draggable), g = C(!1);
4794
+ const t = S(), o = S(), i = S(), r = S(), a = S(), c = S(), u = S(), s = S(), p = S(), l = S(), f = S(), d = S(n.resizeable), m = S(), v = S(n.draggable), g = S(!1);
4794
4795
  function M() {
4795
4796
  const V = o.value || document.body, N = window.getComputedStyle(V);
4796
4797
  if (!N || !t.value)
@@ -4823,7 +4824,7 @@ function ta(n, e) {
4823
4824
  const V = n.minHeight ? n.minHeight : 1, N = n.minWidth ? n.minWidth : 1;
4824
4825
  c.value && u.value && s.value && r.value && (c.value.height < V && (c.value.height = V, s.value.n && a.value && (u.value.y = a.value.y + (r.value.height - V))), c.value.width < N && (c.value.width = N, s.value.w && a.value && (u.value.x = a.value.x + (r.value.width - N))), n.maxHeight && c.value.height > n.maxHeight && (c.value.height = n.maxHeight, a.value && s.value.n && (u.value.y = a.value.y + (r.value.height - n.maxHeight))), n.maxWidth && c.value.width > n.maxWidth && (c.value.width = n.maxWidth, s.value.w && a.value && (u.value.x = a.value.x + (r.value.width - n.maxWidth))));
4825
4826
  }
4826
- function S() {
4827
+ function x() {
4827
4828
  if (o.value) {
4828
4829
  const V = l.value;
4829
4830
  if (u.value && c.value && s.value && r.value) {
@@ -4832,20 +4833,20 @@ function ta(n, e) {
4832
4833
  }
4833
4834
  }
4834
4835
  }
4835
- function w(V) {
4836
+ function b(V) {
4836
4837
  if (!i.value || !r.value || !a.value || !s.value)
4837
4838
  return;
4838
4839
  V.subtract(i.value);
4839
4840
  const N = V.x, G = V.y;
4840
- s.value.n ? (u.value.y = a.value.y + G, c.value.height = r.value.height - G) : s.value.s && (c.value.height = r.value.height + G), s.value.e ? c.value.width = r.value.width + N : s.value.w && (c.value.width = r.value.width - N, u.value.x = a.value.x + N), S(), O(), U();
4841
+ s.value.n ? (u.value.y = a.value.y + G, c.value.height = r.value.height - G) : s.value.s && (c.value.height = r.value.height + G), s.value.e ? c.value.width = r.value.width + N : s.value.w && (c.value.width = r.value.width - N, u.value.x = a.value.x + N), x(), O(), U();
4841
4842
  }
4842
4843
  function h(V) {
4843
4844
  if (!p.value)
4844
4845
  return;
4845
4846
  const N = re.fromEvent(V);
4846
- N && w(N);
4847
+ N && b(N);
4847
4848
  }
4848
- function b() {
4849
+ function w() {
4849
4850
  if (t.value) {
4850
4851
  const {
4851
4852
  width: V,
@@ -4868,7 +4869,7 @@ function ta(n, e) {
4868
4869
  }
4869
4870
  function T(V) {
4870
4871
  if (t.value) {
4871
- const N = b();
4872
+ const N = w();
4872
4873
  f.value = N;
4873
4874
  }
4874
4875
  i.value = void 0, r.value = null, a.value = null, c.value = null, u.value = null, s.value = null, p.value = null, document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", T);
@@ -4876,48 +4877,48 @@ function ta(n, e) {
4876
4877
  function A() {
4877
4878
  document.addEventListener("mousemove", h), document.addEventListener("mouseup", T);
4878
4879
  }
4879
- function x(V) {
4880
+ function C(V) {
4880
4881
  V instanceof MouseEvent && V.button === 2 || v.value && (document.body.click(), V.stopPropagation(), V.preventDefault(), i.value = re.fromEvent(V), p.value = V.target, B(V), A());
4881
4882
  }
4882
4883
  function F(V) {
4883
4884
  return t.value = V, d.value && E(lt, null, [E("div", {
4884
4885
  class: "fv-resizable-handle fv-resizable-n",
4885
4886
  type: "n",
4886
- onMousedown: (N) => x(N)
4887
+ onMousedown: (N) => C(N)
4887
4888
  }, null), E("div", {
4888
4889
  class: "fv-resizable-handle fv-resizable-e",
4889
4890
  type: "e",
4890
- onMousedown: (N) => x(N)
4891
+ onMousedown: (N) => C(N)
4891
4892
  }, null), E("div", {
4892
4893
  class: "fv-resizable-handle fv-resizable-s",
4893
4894
  type: "s",
4894
- onMousedown: (N) => x(N)
4895
+ onMousedown: (N) => C(N)
4895
4896
  }, null), E("div", {
4896
4897
  class: "fv-resizable-handle fv-resizable-w",
4897
4898
  type: "w",
4898
- onMousedown: (N) => x(N)
4899
+ onMousedown: (N) => C(N)
4899
4900
  }, null), E("div", {
4900
4901
  class: "fv-resizable-handle fv-resizable-ne",
4901
4902
  type: "ne",
4902
- onMousedown: (N) => x(N)
4903
+ onMousedown: (N) => C(N)
4903
4904
  }, null), E("div", {
4904
4905
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4905
4906
  type: "se",
4906
- onMousedown: (N) => x(N)
4907
+ onMousedown: (N) => C(N)
4907
4908
  }, null), E("div", {
4908
4909
  class: "fv-resizable-handle fv-resizable-sw",
4909
4910
  type: "sw",
4910
- onMousedown: (N) => x(N)
4911
+ onMousedown: (N) => C(N)
4911
4912
  }, null), E("div", {
4912
4913
  class: "fv-resizable-handle fv-resizable-nw",
4913
4914
  type: "nw",
4914
- onMousedown: (N) => x(N)
4915
+ onMousedown: (N) => C(N)
4915
4916
  }, null)]);
4916
4917
  }
4917
4918
  function P(V = !0) {
4918
4919
  document.body.click();
4919
4920
  const N = o.value || document.body, G = _e.getCurrent(N), H = t.value;
4920
- V && H && (m.value = b(), m.value.transform = H.style.transform), G && H && (c.value = G, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", f.value = {
4921
+ V && H && (m.value = w(), m.value.transform = H.style.transform), G && H && (c.value = G, c.value.height -= 14, c.value.width -= 14, H.style.height = c.value.height + "px", H.style.width = c.value.width + "px", H.style.left = "7px", H.style.top = "7px", H.style.transform = "", f.value = {
4921
4922
  size: c.value,
4922
4923
  position: {
4923
4924
  x: 0,
@@ -4977,37 +4978,37 @@ function ta(n, e) {
4977
4978
  };
4978
4979
  }
4979
4980
  function na(n, e, t) {
4980
- const o = C(), i = C(n.draggable), r = C(n.lockAxis), a = C(), c = C(), u = C(!1), s = C(new re(0, 0)), p = C(new re(0, 0)), l = C(new re(0, 0)), f = C(new re(0, 0));
4981
+ const o = S(), i = S(n.draggable), r = S(n.lockAxis), a = S(), c = S(), u = S(!1), s = S(new re(0, 0)), p = S(new re(0, 0)), l = S(new re(0, 0)), f = S(new re(0, 0));
4981
4982
  Se(() => t.value, (h) => {
4982
4983
  a.value.style.cursor = h ? "move" : "default";
4983
4984
  });
4984
- function d(h, b) {
4985
- if (b.tagName === "BUTTON")
4985
+ function d(h, w) {
4986
+ if (w.tagName === "BUTTON")
4986
4987
  return !1;
4987
- if (b === h)
4988
+ if (w === h)
4988
4989
  return !0;
4989
- for (const T in b.children)
4990
- if (Object.prototype.hasOwnProperty.call(b.children, T) && d(h, b.children[T]))
4990
+ for (const T in w.children)
4991
+ if (Object.prototype.hasOwnProperty.call(w.children, T) && d(h, w.children[T]))
4991
4992
  return !0;
4992
4993
  return !1;
4993
4994
  }
4994
4995
  function m() {
4995
- var A, x;
4996
- let h = l.value.x + p.value.x, b = l.value.y + p.value.y;
4997
- r.value === "x" ? (h = ((A = s.value) == null ? void 0 : A.x) || 0, l.value.x = 0) : r.value === "y" && (b = ((x = s.value) == null ? void 0 : x.y) || 0, l.value.y = 0);
4998
- const T = `translate3d(${Math.round(h)}px, ${Math.round(b)}px, 0px)`;
4999
- o.value && (o.value.style.transform = T), f.value.x = h, f.value.y = b;
4996
+ var A, C;
4997
+ let h = l.value.x + p.value.x, w = l.value.y + p.value.y;
4998
+ r.value === "x" ? (h = ((A = s.value) == null ? void 0 : A.x) || 0, l.value.x = 0) : r.value === "y" && (w = ((C = s.value) == null ? void 0 : C.y) || 0, l.value.y = 0);
4999
+ const T = `translate3d(${Math.round(h)}px, ${Math.round(w)}px, 0px)`;
5000
+ o.value && (o.value.style.transform = T), f.value.x = h, f.value.y = w;
5000
5001
  }
5001
5002
  function v() {
5002
5003
  if (!c.value || !o.value)
5003
5004
  return null;
5004
- const h = c.value.getBoundingClientRect(), b = o.value.getBoundingClientRect(), T = {
5005
- top: h.top < b.top,
5006
- right: h.right > b.right,
5007
- bottom: h.bottom > b.bottom,
5008
- left: h.left < b.left
5005
+ const h = c.value.getBoundingClientRect(), w = o.value.getBoundingClientRect(), T = {
5006
+ top: h.top < w.top,
5007
+ right: h.right > w.right,
5008
+ bottom: h.bottom > w.bottom,
5009
+ left: h.left < w.left
5009
5010
  };
5010
- return T.top || (l.value.y -= b.top - h.top), T.bottom || (l.value.y -= b.bottom - h.bottom), T.right || (l.value.x -= b.right - h.right), T.left || (l.value.x -= b.left - h.left), m(), T;
5011
+ return T.top || (l.value.y -= w.top - h.top), T.bottom || (l.value.y -= w.bottom - h.bottom), T.right || (l.value.x -= w.right - h.right), T.left || (l.value.x -= w.left - h.left), m(), T;
5011
5012
  }
5012
5013
  function g(h) {
5013
5014
  h && (s.value && h.subtract(s.value), l.value.set(h), m(), v());
@@ -5030,33 +5031,33 @@ function na(n, e, t) {
5030
5031
  }
5031
5032
  p.value.reset();
5032
5033
  }
5033
- function S(h) {
5034
+ function x(h) {
5034
5035
  if (!t.value || h instanceof MouseEvent && h.button === 2)
5035
5036
  return;
5036
- const b = h.target || h.srcElement;
5037
- a.value !== void 0 && b && !d(b, a.value) || i.value !== !1 && (document.body.click(), h.stopPropagation(), h.preventDefault(), s.value = re.fromEvent(h, o.value), O(), U());
5037
+ const w = h.target || h.srcElement;
5038
+ a.value !== void 0 && w && !d(w, a.value) || i.value !== !1 && (document.body.click(), h.stopPropagation(), h.preventDefault(), s.value = re.fromEvent(h, o.value), O(), U());
5038
5039
  }
5039
- function w(h, b, T) {
5040
- if (i.value && b) {
5040
+ function b(h, w, T) {
5041
+ if (i.value && w) {
5041
5042
  if (h)
5042
5043
  a.value = h;
5043
5044
  else if (n.dragHandle) {
5044
5045
  if (n.dragHandle instanceof HTMLElement)
5045
5046
  a.value = n.dragHandle;
5046
5047
  else if (typeof n.dragHandle == "string") {
5047
- const A = b.querySelector(n.dragHandle);
5048
+ const A = w.querySelector(n.dragHandle);
5048
5049
  A && (a.value = A);
5049
5050
  }
5050
5051
  }
5051
- o.value = b, c.value = T, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", S)) : i.value = !1;
5052
+ o.value = w, c.value = T, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", x)) : i.value = !1;
5052
5053
  }
5053
5054
  }
5054
5055
  return {
5055
- registerDraggle: w,
5056
+ registerDraggle: b,
5056
5057
  resetTranslate: O
5057
5058
  };
5058
5059
  }
5059
- function yn(n, e) {
5060
+ function hn(n, e) {
5060
5061
  if (n) {
5061
5062
  const t = (o) => {
5062
5063
  o.key.toLowerCase() === n.toLowerCase() && e({ event: o, key: n });
@@ -5067,18 +5068,18 @@ function yn(n, e) {
5067
5068
  }
5068
5069
  }
5069
5070
  function oa(n, e) {
5070
- const t = C(n.enableEsc);
5071
+ const t = S(n.enableEsc);
5071
5072
  let o = null;
5072
- return t.value ? (o = yn("Escape", (i) => {
5073
+ return t.value ? (o = hn("Escape", (i) => {
5073
5074
  e.emit("esc", { event: i.event, type: "esc" });
5074
5075
  }), {
5075
5076
  remove: o
5076
5077
  }) : null;
5077
5078
  }
5078
5079
  function ia(n, e) {
5079
- const t = C(n.enableEnter);
5080
+ const t = S(n.enableEnter);
5080
5081
  let o = null;
5081
- return t.value ? (o = yn("Enter", (i) => {
5082
+ return t.value ? (o = hn("Enter", (i) => {
5082
5083
  e.emit("enter", { event: i.event, type: "enter" });
5083
5084
  }), {
5084
5085
  remove: o
@@ -5086,15 +5087,15 @@ function ia(n, e) {
5086
5087
  }
5087
5088
  const We = /* @__PURE__ */ Xe({
5088
5089
  name: "FModal",
5089
- props: hn,
5090
+ props: gn,
5090
5091
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
5091
5092
  setup(n, e) {
5092
- const t = C(n.width || 300), o = C(n.height || 200), i = C(n.modelValue), r = C(""), a = C(n.class), c = C(n.fitContent), u = C(n.showHeader), s = C(""), p = C(n.showCloseButton), l = C(n.showMaxButton), f = C(!1), d = C(n.dialogType), m = C(n.src), v = C(""), g = C(n.showButtons), M = C(n.title), B = C(n.containment || null), U = C(), {
5093
+ const t = S(n.width || 300), o = S(n.height || 200), i = S(n.modelValue), r = S(""), a = S(n.class), c = S(n.fitContent), u = S(n.showHeader), s = S(""), p = S(n.showCloseButton), l = S(n.showMaxButton), f = S(!1), d = S(n.dialogType), m = S(n.src), v = S(""), g = S(n.showButtons), M = S(n.title), B = S(n.containment || null), U = S(), {
5093
5094
  t: O
5094
5095
  } = St();
5095
5096
  M.value === "错误提示" && (M.value = O("messageBox.errorTitle"));
5096
- const S = C(!1);
5097
- function w(k, J) {
5097
+ const x = S(!1);
5098
+ function b(k, J) {
5098
5099
  const se = J ? "accept" : "cancel";
5099
5100
  Promise.resolve().then(() => {
5100
5101
  var ce;
@@ -5110,16 +5111,16 @@ const We = /* @__PURE__ */ Xe({
5110
5111
  text: O("messageBox.cancel") || "取消",
5111
5112
  class: "btn btn-secondary",
5112
5113
  handle: (k) => {
5113
- w(k, !1);
5114
+ b(k, !1);
5114
5115
  }
5115
5116
  }, {
5116
5117
  name: "accept",
5117
5118
  text: O("messageBox.ok") || "确定",
5118
5119
  class: "btn btn-primary",
5119
5120
  handle: (k) => {
5120
- w(k, !0);
5121
+ b(k, !0);
5121
5122
  }
5122
- }], b = C(n.buttons && n.buttons.length ? n.buttons : h), T = $(() => !!s.value), A = $(() => !!g.value && !!b.value), x = C(), F = C(), P = C(!1), {
5123
+ }], w = S(n.buttons && n.buttons.length ? n.buttons : h), T = $(() => !!s.value), A = $(() => !!g.value && !!w.value), C = S(), F = S(), P = S(!1), {
5123
5124
  renderResizeBar: I,
5124
5125
  maximize: L,
5125
5126
  restore: _,
@@ -5142,8 +5143,8 @@ const We = /* @__PURE__ */ Xe({
5142
5143
  k !== J && (M.value = k);
5143
5144
  }), Se(() => n.modelValue, (k, J) => {
5144
5145
  k !== J && (i.value = k, i.value && n.draggable && et(() => {
5145
- F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(x.value, F.value, Q.value), H());
5146
- }), k || (B.value && (B.value = null), ae())), i.value ? S.value = me() : (P.value = !1, N.value = n.draggable);
5146
+ F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(C.value, F.value, Q.value), H());
5147
+ }), k || (B.value && (B.value = null), ae())), i.value ? x.value = me() : (P.value = !1, N.value = n.draggable);
5147
5148
  }), Se(() => n.showHeader, (k, J) => {
5148
5149
  k !== J && (u.value = k);
5149
5150
  }), Se(() => n.showButtons, (k, J) => {
@@ -5181,12 +5182,12 @@ const We = /* @__PURE__ */ Xe({
5181
5182
  height: c.value ? "auto" : `${o.value}px`
5182
5183
  };
5183
5184
  return n.mask || (k.pointerEvents = "auto"), k;
5184
- }), q = () => Vn() || 1040, oe = $(() => {
5185
+ }), q = () => Pn() || 1040, oe = $(() => {
5185
5186
  const k = {
5186
5187
  display: "block",
5187
5188
  zIndex: q()
5188
5189
  };
5189
- return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), S.value && (k.backgroundColor = "transparent"), k;
5190
+ return n.mask || (k.pointerEvents = "none", k.backgroundColor = "transparent"), x.value && (k.backgroundColor = "transparent"), k;
5190
5191
  }), De = $(() => ({
5191
5192
  "modal-content": !0,
5192
5193
  "modal-content-has-header": u.value
@@ -5226,19 +5227,19 @@ const We = /* @__PURE__ */ Xe({
5226
5227
  k.handle && await k.handle(J, k) && e.emit("closed", J);
5227
5228
  }
5228
5229
  function Pe(k) {
5229
- k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (b.value = k.buttons), k.title && (M.value = k.title);
5230
+ k.width && (t.value = k.width), k.height && (o.value = k.height), k.buttons && (w.value = k.buttons), k.title && (M.value = k.title);
5230
5231
  }
5231
5232
  let Ve = null, Ee = null;
5232
- Rn(() => {
5233
- S.value = me();
5233
+ jn(() => {
5234
+ x.value = me();
5234
5235
  }), Ge(() => {
5235
- F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(x.value, F.value, Q.value)), Y.value && document.body.classList.add("modal-open"), Ve = oa(n, e), Ee = ia(n, e);
5236
+ F.value && !B.value && (B.value = F.value.parentElement, Q.value = B.value, ee(C.value, F.value, Q.value)), Y.value && document.body.classList.add("modal-open"), Ve = oa(n, e), Ee = ia(n, e);
5236
5237
  }), Ct(() => {
5237
5238
  G && G(), Ve && Ve.remove(), Ee && Ee.remove();
5238
5239
  }), e.expose({
5239
5240
  modalElementRef: F,
5240
5241
  updateModalOptions: Pe,
5241
- close: w,
5242
+ close: b,
5242
5243
  maxDialog: le,
5243
5244
  isMaximized: P
5244
5245
  });
@@ -5255,7 +5256,7 @@ const We = /* @__PURE__ */ Xe({
5255
5256
  class: Te.value
5256
5257
  }, null)]), p.value && E("li", {
5257
5258
  class: "f-btn-icon f-bare",
5258
- onClick: (k) => w(k, !1),
5259
+ onClick: (k) => b(k, !1),
5259
5260
  style: "pointer-events: auto;"
5260
5261
  }, [E("span", {
5261
5262
  class: "f-icon modal_close"
@@ -5265,8 +5266,8 @@ const We = /* @__PURE__ */ Xe({
5265
5266
  return E("div", {
5266
5267
  class: "modal-footer",
5267
5268
  style: Ze.value
5268
- }, [b.value && b.value.map((k) => {
5269
- const J = C(k.disabled);
5269
+ }, [w.value && w.value.map((k) => {
5270
+ const J = S(k.disabled);
5270
5271
  return E("button", {
5271
5272
  name: k.name,
5272
5273
  type: "button",
@@ -5282,7 +5283,7 @@ const We = /* @__PURE__ */ Xe({
5282
5283
  }
5283
5284
  function He() {
5284
5285
  return E("div", {
5285
- ref: x,
5286
+ ref: C,
5286
5287
  class: "modal-header",
5287
5288
  style: Ne.value
5288
5289
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : E("div", {
@@ -5303,7 +5304,7 @@ const We = /* @__PURE__ */ Xe({
5303
5304
  if (k.stopPropagation(), n.allowClickMaskToClose) {
5304
5305
  if (k.target !== U.value)
5305
5306
  return;
5306
- w(k, !1);
5307
+ b(k, !1);
5307
5308
  }
5308
5309
  }
5309
5310
  function Je() {
@@ -5328,7 +5329,7 @@ const We = /* @__PURE__ */ Xe({
5328
5329
  function Qe(k) {
5329
5330
  return k || "body";
5330
5331
  }
5331
- return () => E(Ln, {
5332
+ return () => E(Rn, {
5332
5333
  to: Qe(n.host)
5333
5334
  }, {
5334
5335
  default: () => [Y.value && E(Qt, {
@@ -5345,7 +5346,7 @@ const We = /* @__PURE__ */ Xe({
5345
5346
  });
5346
5347
  }
5347
5348
  });
5348
- function bn(n) {
5349
+ function yn(n) {
5349
5350
  if (n.content && n.content.render)
5350
5351
  return n.content.render;
5351
5352
  if (n.render && typeof n.render == "function")
@@ -5359,12 +5360,12 @@ function ra(n) {
5359
5360
  Ct(() => {
5360
5361
  document.body.removeChild(e);
5361
5362
  });
5362
- const r = C(), a = C(n.class || ""), c = C(!!n.showButtons), u = C(!!n.showHeader), s = C(n.showCloseButton == null ? !0 : n.showCloseButton), p = C(!0), l = C(n.title || ""), f = n.acceptCallback || (() => {
5363
+ const r = S(), a = S(n.class || ""), c = S(!!n.showButtons), u = S(!!n.showHeader), s = S(n.showCloseButton == null ? !0 : n.showCloseButton), p = S(!0), l = S(n.title || ""), f = n.acceptCallback || (() => {
5363
5364
  }), d = n.rejectCallback || (() => {
5364
5365
  }), m = n.closedCallback || ((U) => {
5365
5366
  }), v = n.resizeHandle || ((U) => {
5366
5367
  }), g = n.stopMoveHandle || ((U) => {
5367
- }), M = bn(n), B = (U) => {
5368
+ }), M = yn(n), B = (U) => {
5368
5369
  p.value = !1, t.unmount(), m(U);
5369
5370
  };
5370
5371
  return Ge(() => {
@@ -5396,13 +5397,13 @@ function ra(n) {
5396
5397
  });
5397
5398
  return document.body.appendChild(e), t.use(xt.i18n), t.mount(e), t;
5398
5399
  }
5399
- class wn {
5400
+ class bn {
5400
5401
  constructor(e) {
5401
5402
  X(this, "appContext", null);
5402
- X(this, "modalRef", C());
5403
- X(this, "activeModalIndex", C(0));
5403
+ X(this, "modalRef", S());
5404
+ X(this, "activeModalIndex", S(0));
5404
5405
  X(this, "modalRefs", {});
5405
- X(this, "isUseEscCloseModal", C(!1));
5406
+ X(this, "isUseEscCloseModal", S(!1));
5406
5407
  X(this, "activeModalInstance", $(() => this.modalRefs[this.activeModalIndex.value]));
5407
5408
  this.app = e, this.appContext = e ? e._context : null;
5408
5409
  }
@@ -5437,33 +5438,33 @@ class wn {
5437
5438
  open(e) {
5438
5439
  const t = document.createDocumentFragment();
5439
5440
  e.showMaxButton && e.fitContent && (e.showMaxButton = !1);
5440
- const o = $n(Object.assign({
5441
+ const o = Ln(Object.assign({
5441
5442
  title: "",
5442
5443
  showButtons: !0,
5443
5444
  showHeader: !0
5444
- }, e)), i = C(!0), r = o.value.acceptCallback || (() => {
5445
+ }, e)), i = S(!0), r = o.value.acceptCallback || (() => {
5445
5446
  }), a = o.value.rejectCallback || (() => {
5446
- }), c = o.value.closedCallback || ((S, w) => {
5447
- }), u = o.value.resizeHandle || ((S) => {
5448
- }), s = e.stopMoveHandle || ((S) => {
5447
+ }), c = o.value.closedCallback || ((x, b) => {
5448
+ }), u = o.value.resizeHandle || ((x) => {
5449
+ }), s = e.stopMoveHandle || ((x) => {
5449
5450
  });
5450
5451
  let p;
5451
- const l = bn(o.value), f = (S) => {
5452
+ const l = yn(o.value), f = (x) => {
5452
5453
  var h;
5453
5454
  i.value = !1;
5454
- const w = (h = S == null ? void 0 : S.target) == null ? void 0 : h.classList.contains("modal_close");
5455
- c(S, this.isUseEscCloseModal.value ? "esc" : w ? "icon" : "button");
5456
- }, d = (S) => {
5457
- f(S), p && et(() => {
5455
+ const b = (h = x == null ? void 0 : x.target) == null ? void 0 : h.classList.contains("modal_close");
5456
+ c(x, this.isUseEscCloseModal.value ? "esc" : b ? "icon" : "button");
5457
+ }, d = (x) => {
5458
+ f(x), p && et(() => {
5458
5459
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Rt(null, t), p = null, this.modalRef.value = null, this.modalRefs) {
5459
- const w = Object.keys(this.modalRefs).map((h) => Number(h));
5460
- w.length > 0 ? this.activeModalIndex.value = Math.max(...w) : this.activeModalIndex.value = 0;
5460
+ const b = Object.keys(this.modalRefs).map((h) => Number(h));
5461
+ b.length > 0 ? this.activeModalIndex.value = Math.max(...b) : this.activeModalIndex.value = 0;
5461
5462
  }
5462
5463
  this.isUseEscCloseModal.value = !1;
5463
5464
  });
5464
- }, m = (S) => {
5465
- var w;
5466
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((w = this.activeModalInstance.value) == null || w.close(S == null ? void 0 : S.event));
5465
+ }, m = (x) => {
5466
+ var b;
5467
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((b = this.activeModalInstance.value) == null || b.close(x == null ? void 0 : x.event));
5467
5468
  }, {
5468
5469
  width: v,
5469
5470
  height: g
@@ -5472,7 +5473,7 @@ class wn {
5472
5473
  const B = () => E(We, Dt({
5473
5474
  ref: this.modalRef,
5474
5475
  modelValue: i.value,
5475
- "onUpdate:modelValue": (S) => i.value = S
5476
+ "onUpdate:modelValue": (x) => i.value = x
5476
5477
  }, o.value, {
5477
5478
  onAccept: r,
5478
5479
  onCancel: a,
@@ -5483,18 +5484,18 @@ class wn {
5483
5484
  }), {
5484
5485
  default: () => [l && l(this.app)]
5485
5486
  });
5486
- return p = ((S) => {
5487
- const w = Dn(B, S);
5488
- return w.appContext = this.appContext, Rt(w, t), w;
5487
+ return p = ((x) => {
5488
+ const b = $n(B, x);
5489
+ return b.appContext = this.appContext, Rt(b, t), b;
5489
5490
  })({
5490
5491
  ...o.value
5491
5492
  // 'onUpdate:modelValue': onUpdateModelValue,
5492
5493
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5493
- update: (S) => {
5494
+ update: (x) => {
5494
5495
  o.value = {
5495
5496
  ...o.value,
5496
- ...S
5497
- }, p && Rt(An(p, {
5497
+ ...x
5498
+ }, p && Rt(Dn(p, {
5498
5499
  ...o
5499
5500
  }), t);
5500
5501
  },
@@ -5507,7 +5508,7 @@ class wn {
5507
5508
  const aa = Symbol("FModalService");
5508
5509
  We.install = (n) => {
5509
5510
  n.component(We.name, We);
5510
- const e = new wn(n);
5511
+ const e = new bn(n);
5511
5512
  n.provide(aa, e), n.provide("FModalService", e);
5512
5513
  };
5513
5514
  We.register = (n, e, t, o) => {
@@ -5520,7 +5521,7 @@ const Be = class Be {
5520
5521
  }), o = !1, i = t.type === "error" || t.type === "prompt", r = t.type === "error" ? "错误提示" : t.type === "prompt" && t.title || "", a = t.acceptCallback || (() => {
5521
5522
  }), c = t.rejectCallback || (() => {
5522
5523
  });
5523
- let u = null, s = new wn(Be.app);
5524
+ let u = null, s = new bn(Be.app);
5524
5525
  const p = () => {
5525
5526
  u && (u == null || u.destroy(), s = null);
5526
5527
  };
@@ -5962,7 +5963,7 @@ class la extends Ci {
5962
5963
  * @param propertyData 下拉框控件属性值
5963
5964
  */
5964
5965
  checkEnumDataReadonly(t) {
5965
- return !t.binding || t.binding.type !== "Form" ? !1 : !!(this.designViewModelField && this.designViewModelField.type && this.designViewModelField.type.$type === On.EnumType);
5966
+ return !t.binding || t.binding.type !== "Form" ? !1 : !!(this.designViewModelField && this.designViewModelField.type && this.designViewModelField.type.$type === Vn.EnumType);
5966
5967
  }
5967
5968
  /**
5968
5969
  * 将字段值变化前事件、变化后事件追加到交互面板
@@ -6019,7 +6020,7 @@ class la extends Ci {
6019
6020
  };
6020
6021
  }
6021
6022
  getExpressionConfig(t, o, i = ["compute", "dependency", "validate"], r) {
6022
- return new vn(this.formSchemaUtils).getExpressionConfig(
6023
+ return new mn(this.formSchemaUtils).getExpressionConfig(
6023
6024
  t,
6024
6025
  o,
6025
6026
  i,
@@ -6186,25 +6187,25 @@ function ua(n, e) {
6186
6187
  }
6187
6188
  const ca = /* @__PURE__ */ Xe({
6188
6189
  name: "FNumberSpinnerDesign",
6189
- props: di,
6190
+ props: ci,
6190
6191
  emits: ["update:modelValue", "valueChange", "change", "blur", "focus", "click", "input"],
6191
6192
  setup(n, e) {
6192
- const t = mn(n, e), o = pn(n, e, t);
6193
- fn(n, e, o, t);
6194
- const i = gi(), r = C(), a = Gt("designer-host-service"), c = Gt("design-item-context"), u = ua(c, a), s = hi(r, c, u);
6193
+ const t = pn(n, e);
6194
+ fn(n, e, t);
6195
+ const o = gi(), i = S(), r = Gt("designer-host-service"), a = Gt("design-item-context"), c = ua(a, r), u = hi(i, a, c);
6195
6196
  Ge(() => {
6196
- r.value.componentInstance = s;
6197
- }), e.expose(s.value);
6198
- const p = C();
6197
+ i.value.componentInstance = u;
6198
+ }), e.expose(u.value);
6199
+ const s = S();
6199
6200
  return () => E("div", {
6200
- ref: r,
6201
+ ref: i,
6201
6202
  class: "input-group flex-row f-cmp-number-spinner"
6202
6203
  }, [E("input", {
6203
- ref: p,
6204
+ ref: s,
6204
6205
  class: "form-control",
6205
6206
  readonly: !0,
6206
6207
  placeholder: n.placeholder
6207
- }, null), i()]);
6208
+ }, null), o()]);
6208
6209
  }
6209
6210
  });
6210
6211
  yt.register = (n, e, t, o) => {
@@ -6213,18 +6214,18 @@ yt.register = (n, e, t, o) => {
6213
6214
  yt.registerDesigner = (n, e, t) => {
6214
6215
  n["number-spinner"] = ca, e["number-spinner"] = dn;
6215
6216
  };
6216
- const Wl = Zt(yt);
6217
+ const Jl = Zt(yt);
6217
6218
  export {
6218
6219
  yt as FNumberSpinner,
6219
- Wl as default,
6220
+ Jl as default,
6220
6221
  vi as getNumberTextBoxRender,
6221
6222
  pi as getSpinnerRender,
6222
- di as numberSpinnerDesignProps,
6223
+ ci as numberSpinnerDesignProps,
6223
6224
  Ht as numberSpinnerProps,
6224
6225
  dn as propsResolver,
6225
- pn as useFormat,
6226
- mn as useNumber,
6226
+ fn as useFormat,
6227
+ pn as useNumber,
6227
6228
  mi as useNumberLocales,
6228
- fn as useSpinner,
6229
+ di as useSpinner,
6229
6230
  fi as useTextBox
6230
6231
  };