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

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 (194) 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 +28 -29
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +521 -517
  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 +163 -157
  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 +10 -10
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1122 -1121
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +190 -190
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +2693 -2693
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +1604 -1601
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.esm.js +1082 -1079
  34. package/components/designer-canvas/index.umd.cjs +1 -1
  35. package/components/discussion-editor/index.esm.js +973 -1040
  36. package/components/discussion-editor/index.umd.cjs +6 -6
  37. package/components/dropdown/index.esm.js +335 -330
  38. package/components/dropdown/index.umd.cjs +2 -2
  39. package/components/dynamic-form/index.esm.js +8 -8
  40. package/components/dynamic-form/index.umd.cjs +1 -1
  41. package/components/dynamic-resolver/index.esm.js +6 -6
  42. package/components/dynamic-resolver/index.umd.cjs +1 -1
  43. package/components/dynamic-view/index.esm.js +344 -344
  44. package/components/dynamic-view/index.umd.cjs +1 -1
  45. package/components/events-editor/index.esm.js +8 -8
  46. package/components/events-editor/index.umd.cjs +3 -3
  47. package/components/expression-editor/index.esm.js +1470 -1460
  48. package/components/expression-editor/index.umd.cjs +3 -3
  49. package/components/fieldset/index.esm.js +55 -55
  50. package/components/fieldset/index.umd.cjs +1 -1
  51. package/components/filter-bar/index.esm.js +853 -843
  52. package/components/filter-bar/index.umd.cjs +1 -1
  53. package/components/filter-condition-editor/index.esm.js +922 -911
  54. package/components/filter-condition-editor/index.umd.cjs +3 -3
  55. package/components/flow-canvas/index.esm.js +12 -12
  56. package/components/flow-canvas/index.umd.cjs +1 -1
  57. package/components/html-template/index.esm.js +164 -164
  58. package/components/html-template/index.umd.cjs +1 -1
  59. package/components/image-cropper/index.esm.js +198 -198
  60. package/components/image-cropper/index.umd.cjs +1 -1
  61. package/components/json-editor/index.esm.js +64 -64
  62. package/components/json-editor/index.umd.cjs +1 -1
  63. package/components/language-textbox/index.esm.js +140 -140
  64. package/components/language-textbox/index.umd.cjs +1 -1
  65. package/components/layout/index.esm.js +111 -111
  66. package/components/layout/index.umd.cjs +1 -1
  67. package/components/list-nav/index.esm.js +90 -90
  68. package/components/list-nav/index.umd.cjs +1 -1
  69. package/components/list-view/index.esm.js +104 -108
  70. package/components/list-view/index.umd.cjs +3 -3
  71. package/components/locale/index.esm.js +833 -901
  72. package/components/locale/index.umd.cjs +6 -6
  73. package/components/lookup/index.esm.js +1352 -1351
  74. package/components/lookup/index.umd.cjs +1 -1
  75. package/components/mapping-editor/index.esm.js +1311 -1307
  76. package/components/mapping-editor/index.umd.cjs +1 -1
  77. package/components/menu-lookup/index.esm.js +1059 -1127
  78. package/components/menu-lookup/index.umd.cjs +6 -6
  79. package/components/message-box/index.esm.js +7 -7
  80. package/components/message-box/index.umd.cjs +1 -1
  81. package/components/modal/index.esm.js +9 -9
  82. package/components/modal/index.umd.cjs +1 -1
  83. package/components/nav/index.esm.js +106 -106
  84. package/components/nav/index.umd.cjs +1 -1
  85. package/components/number-range/index.esm.js +326 -326
  86. package/components/number-range/index.umd.cjs +1 -1
  87. package/components/number-spinner/index.esm.js +168 -167
  88. package/components/number-spinner/index.umd.cjs +1 -1
  89. package/components/order/index.esm.js +739 -737
  90. package/components/order/index.umd.cjs +4 -4
  91. package/components/page-footer/index.esm.js +94 -94
  92. package/components/page-footer/index.umd.cjs +1 -1
  93. package/components/page-header/index.esm.js +942 -939
  94. package/components/page-header/index.umd.cjs +1 -1
  95. package/components/pagination/index.esm.js +82 -82
  96. package/components/pagination/index.umd.cjs +1 -1
  97. package/components/popover/index.esm.js +1 -1
  98. package/components/popover/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +113 -113
  100. package/components/progress/index.umd.cjs +2 -2
  101. package/components/property-editor/index.esm.js +151 -150
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +565 -565
  104. package/components/property-panel/index.umd.cjs +2 -2
  105. package/components/query-solution/index.esm.js +4142 -4190
  106. package/components/query-solution/index.umd.cjs +6 -6
  107. package/components/radio-button/index.esm.js +182 -182
  108. package/components/radio-button/index.umd.cjs +1 -1
  109. package/components/rate/index.esm.js +106 -106
  110. package/components/rate/index.umd.cjs +1 -1
  111. package/components/response-layout/index.esm.js +409 -409
  112. package/components/response-layout/index.umd.cjs +1 -1
  113. package/components/response-layout-editor/index.esm.js +1488 -1478
  114. package/components/response-layout-editor/index.umd.cjs +1 -1
  115. package/components/response-toolbar/index.esm.js +779 -776
  116. package/components/response-toolbar/index.umd.cjs +1 -1
  117. package/components/schema-selector/index.esm.js +1765 -1762
  118. package/components/schema-selector/index.umd.cjs +5 -5
  119. package/components/search-box/index.esm.js +114 -114
  120. package/components/search-box/index.umd.cjs +1 -1
  121. package/components/section/index.esm.js +1184 -1181
  122. package/components/section/index.umd.cjs +1 -1
  123. package/components/smoke-detector/index.esm.js +163 -163
  124. package/components/smoke-detector/index.umd.cjs +1 -1
  125. package/components/sort-condition-editor/index.esm.js +927 -916
  126. package/components/sort-condition-editor/index.umd.cjs +3 -3
  127. package/components/splitter/index.esm.js +3 -3
  128. package/components/splitter/index.umd.cjs +1 -1
  129. package/components/step/index.esm.js +133 -133
  130. package/components/step/index.umd.cjs +1 -1
  131. package/components/switch/index.esm.js +76 -72
  132. package/components/switch/index.umd.cjs +1 -1
  133. package/components/tabs/index.esm.js +1527 -1524
  134. package/components/tabs/index.umd.cjs +2 -2
  135. package/components/tags/index.esm.js +93 -93
  136. package/components/tags/index.umd.cjs +1 -1
  137. package/components/text/index.esm.js +138 -138
  138. package/components/text/index.umd.cjs +1 -1
  139. package/components/textarea/index.esm.js +361 -361
  140. package/components/textarea/index.umd.cjs +2 -2
  141. package/components/tooltip/index.esm.js +173 -171
  142. package/components/tooltip/index.umd.cjs +1 -1
  143. package/components/transfer/index.esm.js +130 -134
  144. package/components/transfer/index.umd.cjs +4 -4
  145. package/components/tree-grid/index.esm.js +25 -25
  146. package/components/tree-grid/index.umd.cjs +1 -1
  147. package/components/tree-view/index.esm.js +1746 -1743
  148. package/components/tree-view/index.umd.cjs +1 -1
  149. package/components/uploader/index.esm.js +170 -170
  150. package/components/uploader/index.umd.cjs +2 -2
  151. package/components/verify-detail/index.esm.js +196 -196
  152. package/components/verify-detail/index.umd.cjs +1 -1
  153. package/components/video/index.esm.js +8 -8
  154. package/components/video/index.umd.cjs +1 -1
  155. package/components/weather/index.esm.js +9 -9
  156. package/components/weather/index.umd.cjs +2 -2
  157. package/farris.all.esm.js +16987 -17002
  158. package/farris.all.umd.cjs +27 -27
  159. package/package.json +1 -1
  160. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  161. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
  162. package/components/time-picker/index.css +0 -1
  163. package/components/time-picker/index.esm.js +0 -9793
  164. package/components/time-picker/index.umd.cjs +0 -1
  165. package/components/time-picker/package.json +0 -8
  166. package/components/time-picker/style.js +0 -6
  167. package/designer/button-edit/index.css +0 -1
  168. package/designer/button-edit/index.esm.js +0 -4856
  169. package/designer/button-edit/index.umd.cjs +0 -1
  170. package/designer/checkbox/index.esm.js +0 -250
  171. package/designer/checkbox/index.umd.cjs +0 -1
  172. package/designer/checkbox-group/index.esm.js +0 -377
  173. package/designer/checkbox-group/index.umd.cjs +0 -1
  174. package/designer/data-grid/index.css +0 -1
  175. package/designer/data-grid/index.esm.js +0 -15413
  176. package/designer/data-grid/index.umd.cjs +0 -23
  177. package/designer/data-view/index.esm.js +0 -854
  178. package/designer/data-view/index.umd.cjs +0 -38
  179. package/designer/drawer/index.css +0 -1
  180. package/designer/drawer/index.esm.js +0 -525
  181. package/designer/drawer/index.umd.cjs +0 -1
  182. package/designer/farris-designer.all.esm.js +0 -22320
  183. package/designer/farris-designer.all.umd.cjs +0 -34
  184. package/designer/index.css +0 -1
  185. package/designer/input-group/index.esm.js +0 -1098
  186. package/designer/input-group/index.umd.cjs +0 -1
  187. package/designer/list-view/index.css +0 -1
  188. package/designer/list-view/index.esm.js +0 -4675
  189. package/designer/list-view/index.umd.cjs +0 -40
  190. package/designer/radio-group/index.css +0 -1
  191. package/designer/radio-group/index.esm.js +0 -6980
  192. package/designer/radio-group/index.umd.cjs +0 -1
  193. package/designer/tree-grid/index.esm.js +0 -1099
  194. package/designer/tree-grid/index.umd.cjs +0 -1
@@ -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 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 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
  }
@@ -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);
@@ -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,7 +935,7 @@ function pn(n, e, t) {
935
935
  }
936
936
  return { cleanFormat: a, format: u };
937
937
  }
938
- function mn(n, e) {
938
+ function pn(n, e) {
939
939
  const t = C(""), o = C(n.modelValue), i = $(() => Number(n.precision) || 0), r = C(n.bigNumber);
940
940
  r.value = !1;
941
941
  function a(l) {
@@ -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
  });
@@ -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;
@@ -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";
@@ -3313,7 +3314,7 @@ function Ii(n, e, t, o, i, r, a, c, u, s, p, l, f, d, m, v, g) {
3313
3314
  rightFixedGridDataStyle: h
3314
3315
  } = d, {
3315
3316
  renderDataRow: b
3316
- } = qn(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [b];
3317
+ } = Un(n, e, B, g, c, u, s, p, l, f, d, m, v), T = [b];
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));
@@ -3359,58 +3360,58 @@ 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 = C(20), r = C(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 = 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 = _n(n, a), M = Wn(n, e), B = Gn(n), {
3365
3366
  collapseField: U
3366
3367
  } = B, {
3367
3368
  showLoading: O,
3368
3369
  renderLoading: S
3369
- } = Yn(n, u), w = Zn(n, /* @__PURE__ */ new Map(), M, B, a), {
3370
+ } = Xn(n, u), w = Yn(n, /* @__PURE__ */ new Map(), M, B, a), {
3370
3371
  dataView: h
3371
- } = w, b = Jn(n, w, a, d, e), {
3372
+ } = w, b = Zn(n, w, 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
+ } = b, x = Jn(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 = Qn(n, w), {
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
3393
  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), {
3394
+ const ie = io(n, ae), ue = ro(n, e, b, a), ne = ao(n, e, a, ue, d), q = lo(n), oe = so(n, ne, q), De = uo(n, w, ne, B, a, q, oe), Ne = co(n, r, w, 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, b), {
3396
3397
  sidebarWidth: Ze
3397
- } = Ae, le = vo(n, w, d, ae, Ne, P, 0, Ze), {
3398
+ } = Ae, le = mo(n, w, 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, w, je, le), Qe = yo(n, e, H, w, 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,
@@ -3421,15 +3422,15 @@ const Ni = /* @__PURE__ */ Xe({
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, w, Qe, Je, M, je, He, ie, b, Ae, ee, le, Ee, d), {
3425
3426
  renderDataGridSidebar: Et
3426
- } = Co(n, ue, b, Ae, le), {
3427
+ } = wo(n, ue, b, 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,7 +3439,7 @@ 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
3444
  })), O.value && S();
3444
3445
  }), Ct(() => {
@@ -3510,7 +3511,7 @@ const Ni = /* @__PURE__ */ Xe({
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
3516
  return b.getSelectionRow();
3516
3517
  }
@@ -3558,20 +3559,20 @@ const Ni = /* @__PURE__ */ Xe({
3558
3559
  const Z = w.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
+ function xn() {
3575
3576
  b.keepSelectingOnPaging.value || ye(), w.updateVisibleDataSummary(d.value);
3576
3577
  }
3577
3578
  e.expose({
@@ -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, w, le, I, b);
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, w, 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
  );
@@ -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;
@@ -5056,7 +5057,7 @@ function na(n, e, t) {
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 });
@@ -5069,7 +5070,7 @@ function yn(n, e) {
5069
5070
  function oa(n, e) {
5070
5071
  const t = C(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
@@ -5078,7 +5079,7 @@ function oa(n, e) {
5078
5079
  function ia(n, e) {
5079
5080
  const t = C(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,7 +5087,7 @@ 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
5093
  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(), {
@@ -5181,7 +5182,7 @@ 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()
@@ -5229,7 +5230,7 @@ const We = /* @__PURE__ */ Xe({
5229
5230
  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
5231
  }
5231
5232
  let Ve = null, Ee = null;
5232
- Rn(() => {
5233
+ jn(() => {
5233
5234
  S.value = me();
5234
5235
  }), Ge(() => {
5235
5236
  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);
@@ -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")
@@ -5364,7 +5365,7 @@ function ra(n) {
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,7 +5397,7 @@ 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
5403
  X(this, "modalRef", C());
@@ -5437,7 +5438,7 @@ 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
@@ -5448,7 +5449,7 @@ class wn {
5448
5449
  }), s = e.stopMoveHandle || ((S) => {
5449
5450
  });
5450
5451
  let p;
5451
- const l = bn(o.value), f = (S) => {
5452
+ const l = yn(o.value), f = (S) => {
5452
5453
  var h;
5453
5454
  i.value = !1;
5454
5455
  const w = (h = S == null ? void 0 : S.target) == null ? void 0 : h.classList.contains("modal_close");
@@ -5484,7 +5485,7 @@ class wn {
5484
5485
  default: () => [l && l(this.app)]
5485
5486
  });
5486
5487
  return p = ((S) => {
5487
- const w = Dn(B, S);
5488
+ const w = $n(B, S);
5488
5489
  return w.appContext = this.appContext, Rt(w, t), w;
5489
5490
  })({
5490
5491
  ...o.value
@@ -5494,7 +5495,7 @@ class wn {
5494
5495
  o.value = {
5495
5496
  ...o.value,
5496
5497
  ...S
5497
- }, p && Rt(An(p, {
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 = C(), 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 = C();
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
  };