@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,14 +1,14 @@
1
1
  var Dn = Object.defineProperty;
2
2
  var Vn = (n, e, t) => e in n ? Dn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var Q = (n, e, t) => Vn(n, typeof e != "symbol" ? e + "" : e, t);
4
- import { ref as M, computed as H, defineComponent as Ee, createVNode as F, inject as st, onMounted as et, watch as Fe, Fragment as lt, reactive as $e, createApp as nn, onUnmounted as gt, Transition as on, mergeProps as Vt, nextTick as Rt, createTextVNode as ft, onBeforeMount as Rn, Teleport as $n, shallowRef as jn, render as Pt, h as An, cloneVNode as zn } from "vue";
5
- import { isPlainObject as Ht, cloneDeep as ht, isUndefined as Ve } from "lodash-es";
4
+ import { ref as M, computed as H, defineComponent as Ee, createVNode as E, inject as st, onMounted as et, watch as Fe, Fragment as lt, reactive as Re, createApp as nn, onUnmounted as gt, Transition as on, mergeProps as Vt, nextTick as $t, createTextVNode as ft, onBeforeMount as $n, Teleport as Rn, shallowRef as jn, render as Ot, h as An, cloneVNode as zn } from "vue";
5
+ import { cloneDeep as ht, isPlainObject as Ht, isUndefined as Ve } from "lodash-es";
6
6
  import { getSchemaByTypeForDesigner as Un, schemaMap as qn, createPropsResolver as an, resolveAppearance as Wn } from "../dynamic-resolver/index.esm.js";
7
- import { useI18n as $t } from "vue-i18n";
7
+ import { useI18n as Rt } from "vue-i18n";
8
8
  import { LocaleService as bt } from "../locale/index.esm.js";
9
9
  import { getCustomClass as _n, withInstall as Gn, FormSchemaEntityField$Type as Yt, FormSchemaEntityFieldTypeName as Jt, useGuid as Qt, getMaxZIndex as Xn } from "../common/index.esm.js";
10
10
  import { useResizeObserver as Hn } from "@vueuse/core";
11
- import { getHierarchyRow as Yn, useIdentify as Jn, useGroupData as Qn, useFilter as Zn, useHierarchy as Kn, useLoading as eo, useDataView as to, useSelection as no, useSelectHierarchyItem as oo, usePagination as io, useDataViewContainerStyle as ao, useCommandColumn as ro, useSettingColumn as so, useColumn as lo, useSort as co, useGroupColumn as uo, useRow as po, useEdit as fo, useVisualDataBound as mo, useVisualDataCell as vo, useVisualDataRow as ho, useVisualData as yo, useCellPosition as go, useSidebar as bo, useVirtualScroll as Co, useFitColumn as wo, useFilterHistory as To, useColumnFilter as xo, useDragColumn as Io, getColumnHeader as Mo, getSidebar as So, getDisableMask as Fo, getHorizontalScrollbar as Eo, getVerticalScrollbar as Bo, getEmpty as ko, getPagination as Oo, getSummary as Po } from "../data-view/index.esm.js";
11
+ import { getHierarchyRow as Yn, useIdentify as Jn, useGroupData as Qn, useFilter as Zn, useHierarchy as Kn, useLoading as eo, useDataView as to, useSelection as no, useSelectHierarchyItem as oo, usePagination as io, useDataViewContainerStyle as ao, useCommandColumn as ro, useSettingColumn as so, useColumn as lo, useSort as co, useGroupColumn as uo, useRow as po, useEdit as fo, useVisualDataBound as mo, useVisualDataCell as vo, useVisualDataRow as ho, useVisualData as yo, useCellPosition as go, useSidebar as bo, useVirtualScroll as Co, useFitColumn as wo, useFilterHistory as To, useColumnFilter as xo, useDragColumn as Io, getColumnHeader as So, getSidebar as Mo, getDisableMask as Fo, getHorizontalScrollbar as Eo, getVerticalScrollbar as Bo, getEmpty as ko, getPagination as Po, getSummary as Oo } from "../data-view/index.esm.js";
12
12
  import { DgControl as ct } from "../designer-canvas/index.esm.js";
13
13
  import { FormBindingType as _e } from "../property-panel/index.esm.js";
14
14
  import "../accordion/index.esm.js";
@@ -164,8 +164,8 @@ function rn(n, e) {
164
164
  }
165
165
  return { getSchemaByType: a, resolveSchemaWithDefaultValue: s, resolveSchemaToProps: c, mappingSchemaToProps: u, setDesignerContext: f };
166
166
  }
167
- const sn = {}, ln = {}, { getSchemaByType: No, resolveSchemaWithDefaultValue: Lo, resolveSchemaToProps: Do, mappingSchemaToProps: Vo } = rn(sn, ln);
168
- function Ro(n = {}) {
167
+ const sn = {}, ln = {}, { getSchemaByType: No, resolveSchemaWithDefaultValue: Lo, resolveSchemaToProps: Do, mappingSchemaToProps: Vo, setDesignerContext: dl } = rn(sn, ln);
168
+ function $o(n = {}) {
169
169
  function e(s, f, l, m) {
170
170
  if (typeof l == "number")
171
171
  return m[s].length === l;
@@ -219,7 +219,7 @@ function Ro(n = {}) {
219
219
  }
220
220
  return { parseValueSchema: c };
221
221
  }
222
- const $o = {
222
+ const Ro = {
223
223
  convertTo: (n, e, t, o) => {
224
224
  n.appearance || (n.appearance = {}), n.appearance[e] = t;
225
225
  },
@@ -462,7 +462,7 @@ const $o = {
462
462
  };
463
463
  function cn(n, e, t) {
464
464
  const o = /* @__PURE__ */ new Map([
465
- ["/converter/appearance.converter", $o],
465
+ ["/converter/appearance.converter", Ro],
466
466
  ["/converter/buttons.converter", jo],
467
467
  ["/converter/property-editor.converter", Ao],
468
468
  ["/converter/items-count.converter", Zo],
@@ -507,7 +507,7 @@ function cn(n, e, t) {
507
507
  ["array", { type: "button-edit" }],
508
508
  ["number", { type: "number-spinner", placeholder: "" }],
509
509
  ["events-editor", { type: "events-editor", hide: !0 }]
510
- ]), a = Ro();
510
+ ]), a = $o();
511
511
  function r(d, v) {
512
512
  return () => a.parseValueSchema(d, v);
513
513
  }
@@ -523,43 +523,43 @@ function cn(n, e, t) {
523
523
  }
524
524
  function f(d, v, g, C, B, A = "", L = "") {
525
525
  return Object.keys(d).map((b) => {
526
- const P = M(1), O = b, R = d[b], X = Object.keys(R), E = R.title, N = R.type, j = i.get(N) || { type: "input-group", enableClear: !1 }, h = R.editor ? Object.assign({}, j, R.editor) : Object.assign({}, j), y = u(X, R, v), k = c(X, R, v);
526
+ const O = M(1), P = b, $ = d[b], X = Object.keys($), S = $.title, N = $.type, j = i.get(N) || { type: "input-group", enableClear: !1 }, h = $.editor ? Object.assign({}, j, $.editor) : Object.assign({}, j), y = u(X, $, v), k = c(X, $, v);
527
527
  h.readonly = h.readonly === void 0 ? k() : h.readonly;
528
- const _ = R.type === "cascade" ? f(R.properties, v, g, C, B, A, L) : [], I = !0;
529
- let T = s(R, L);
530
- const $ = H({
528
+ const _ = $.type === "cascade" ? f($.properties, v, g, C, B, A, L) : [], I = !0;
529
+ let T = s($, L);
530
+ const R = H({
531
531
  get() {
532
- if (P.value) {
533
- if (["class", "style"].find((re) => re === O) && !T && (T = o.get("/converter/appearance.converter") || null), T && T.convertFrom)
532
+ if (O.value) {
533
+ if (["class", "style"].find((re) => re === P) && !T && (T = o.get("/converter/appearance.converter") || null), T && T.convertFrom)
534
534
  return T.convertFrom(g, b, B, A);
535
535
  const ie = g[b];
536
- return Object.prototype.hasOwnProperty.call(R, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? R.type === "boolean" ? R.defaultValue : R.defaultValue || "" : ie;
536
+ return Object.prototype.hasOwnProperty.call($, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? $.type === "boolean" ? $.defaultValue : $.defaultValue || "" : ie;
537
537
  }
538
538
  return null;
539
539
  },
540
540
  set(ie) {
541
- P.value += 1, T && T.convertTo ? (T.convertTo(C, b, ie, B, A), T.convertTo(g, b, ie, B, A)) : (C[b] = ie, g[b] = ie);
541
+ O.value += 1, T && T.convertTo ? (T.convertTo(C, b, ie, B, A), T.convertTo(g, b, ie, B, A)) : (C[b] = ie, g[b] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: S, description: z, isExpand: K, parentPropertyID: te } = R, J = { propertyID: O, propertyName: E, propertyType: N, propertyValue: $, editor: h, visible: y, readonly: k, cascadeConfig: _, hideCascadeTitle: I, refreshPanelAfterChanged: S, description: z, isExpand: K, parentPropertyID: te };
544
- return v[O] = J, J;
543
+ }), { refreshPanelAfterChanged: F, description: z, isExpand: K, parentPropertyID: te } = $, J = { propertyID: P, propertyName: S, propertyType: N, propertyValue: R, editor: h, visible: y, readonly: k, cascadeConfig: _, hideCascadeTitle: I, refreshPanelAfterChanged: F, description: z, isExpand: K, parentPropertyID: te };
544
+ return v[P] = J, J;
545
545
  });
546
546
  }
547
547
  function l(d, v, g = {}) {
548
548
  const C = {}, B = n[d];
549
549
  return B && B.categories ? Object.keys(B.categories).map((L) => {
550
- const x = B.categories[L], b = x == null ? void 0 : x.title, P = f(x.properties || {}, C, {}, g, v);
551
- return { categoryId: L, categoryName: b, properties: P };
550
+ const x = B.categories[L], b = x == null ? void 0 : x.title, O = f(x.properties || {}, C, {}, g, v);
551
+ return { categoryId: L, categoryName: b, properties: O };
552
552
  }) : [];
553
553
  }
554
554
  function m(d, v, g, C, B = "") {
555
- const A = v.$ref.schema, L = v.$ref.converter, x = g[A], b = x.type, P = t(x), O = {}, R = n[b];
556
- if (R && R.categories) {
557
- const X = R.categories[d], E = X == null ? void 0 : X.title;
555
+ const A = v.$ref.schema, L = v.$ref.converter, x = g[A], b = x.type, O = t(x), P = {}, $ = n[b];
556
+ if ($ && $.categories) {
557
+ const X = $.categories[d], S = X == null ? void 0 : X.title;
558
558
  L && Object.keys(X.properties).forEach((h) => {
559
559
  X.properties[h].$converter = L;
560
560
  });
561
- const N = (X == null ? void 0 : X.properties) || {}, j = f(N, O, P, x, C, B);
562
- return { categoryId: d, categoryName: E, properties: j };
561
+ const N = (X == null ? void 0 : X.properties) || {}, j = f(N, P, O, x, C, B);
562
+ return { categoryId: d, categoryName: S, properties: j };
563
563
  }
564
564
  return { categoryId: d, categoryName: "", properties: [] };
565
565
  }
@@ -567,16 +567,16 @@ function cn(n, e, t) {
567
567
  const A = d.type, L = t(d), x = {};
568
568
  let b = B || n[A];
569
569
  if (b && Object.keys(b).length === 0 && g && g.getPropConfig && (b = g.getPropConfig(C)), b && b.categories) {
570
- const P = [];
571
- return Object.keys(b.categories).map((O) => {
572
- const R = b.categories[O];
573
- if (R.$ref) {
574
- P.push(m(O, R, d, v, C));
570
+ const O = [];
571
+ return Object.keys(b.categories).map((P) => {
572
+ const $ = b.categories[P];
573
+ if ($.$ref) {
574
+ O.push(m(P, $, d, v, C));
575
575
  return;
576
576
  }
577
- const X = R == null ? void 0 : R.title, E = R == null ? void 0 : R.tabId, N = R == null ? void 0 : R.tabName, j = R == null ? void 0 : R.hide, h = R == null ? void 0 : R.hideTitle, y = f(R.properties || {}, x, L, d, v, C, R.$converter), { setPropertyRelates: k } = R, _ = R == null ? void 0 : R.parentPropertyID;
578
- P.push({ categoryId: O, categoryName: X, tabId: E, tabName: N, hide: j, properties: y, hideTitle: h, setPropertyRelates: k, parentPropertyID: _ });
579
- }), P;
577
+ const X = $ == null ? void 0 : $.title, S = $ == null ? void 0 : $.tabId, N = $ == null ? void 0 : $.tabName, j = $ == null ? void 0 : $.hide, h = $ == null ? void 0 : $.hideTitle, y = f($.properties || {}, x, L, d, v, C, $.$converter), { setPropertyRelates: k } = $, _ = $ == null ? void 0 : $.parentPropertyID;
578
+ O.push({ categoryId: P, categoryName: X, tabId: S, tabName: N, hide: j, properties: y, hideTitle: h, setPropertyRelates: k, parentPropertyID: _ });
579
+ }), O;
580
580
  }
581
581
  return [];
582
582
  }
@@ -588,7 +588,7 @@ function cn(n, e, t) {
588
588
  }
589
589
  const un = {}, dn = {};
590
590
  cn(un, dn, Lo);
591
- const pn = {}, fn = {}, { resolveSchemaWithDefaultValue: ai } = rn(pn, fn), mn = {}, vn = {};
591
+ const pn = {}, fn = {}, { getSchemaByType: pl, resolveSchemaWithDefaultValue: ai, resolveSchemaToProps: fl, mappingSchemaToProps: ml, setDesignerContext: vl } = rn(pn, fn), mn = {}, vn = {};
592
592
  cn(mn, vn, ai);
593
593
  function He(n, e, t = /* @__PURE__ */ new Map(), o = (r, u, c, s) => u, i = {}, a = (r) => r) {
594
594
  return sn[e.title] = e, ln[e.title] = o, un[e.title] = i, dn[e.title] = a, pn[e.title] = e, fn[e.title] = o, mn[e.title] = i, vn[e.title] = a, (r = {}, u = !0) => {
@@ -691,7 +691,7 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
691
691
  };
692
692
  return t(i, n.customClass), i;
693
693
  });
694
- return () => F("div", {
694
+ return () => E("div", {
695
695
  class: o.value,
696
696
  style: n.customStyle
697
697
  }, [e.slots.default && e.slots.default()]);
@@ -762,14 +762,14 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
762
762
  props: zt,
763
763
  emits: [],
764
764
  setup(n, e) {
765
- return () => F("div", {
765
+ return () => E("div", {
766
766
  class: n.customClass,
767
767
  style: n.customStyle
768
768
  }, [e.slots.default && e.slots.default()]);
769
769
  }
770
770
  });
771
771
  function yn(n, e, t) {
772
- var E;
772
+ var S;
773
773
  const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", a = M();
774
774
  let r;
775
775
  function u() {
@@ -854,11 +854,11 @@ function yn(n, e, t) {
854
854
  });
855
855
  });
856
856
  }
857
- function P() {
857
+ function O() {
858
858
  if (t && t.getCustomButtons)
859
859
  return t.getCustomButtons();
860
860
  }
861
- function O(N) {
861
+ function P(N) {
862
862
  var h, y;
863
863
  if (!((h = e == null ? void 0 : e.schema) != null && h.id))
864
864
  return;
@@ -870,30 +870,30 @@ function yn(n, e, t) {
870
870
  if (t != null && t.getComponentTitle)
871
871
  j = t.getComponentTitle();
872
872
  else {
873
- const { text: k, title: _, label: I, mainTitle: T, name: $, type: S } = e.schema;
874
- j = k || _ || I || T || $ || ((y = D[S]) == null ? void 0 : y.name);
873
+ const { text: k, title: _, label: I, mainTitle: T, name: R, type: F } = e.schema;
874
+ j = k || _ || I || T || R || ((y = D[F]) == null ? void 0 : y.name);
875
875
  }
876
876
  j && r.getControlBasicInfoMap().set(e.schema.id, {
877
877
  componentTitle: j,
878
878
  parentPathName: j
879
879
  });
880
880
  }
881
- function R(N) {
881
+ function $(N) {
882
882
  var k;
883
883
  const { changeObject: j } = N, { propertyID: h, propertyValue: y } = j;
884
- if (["text", "title", "label", "name", "mainTitle"].includes((k = N == null ? void 0 : N.changeObject) == null ? void 0 : k.propertyID) && h && y && (O(), r)) {
884
+ if (["text", "title", "label", "name", "mainTitle"].includes((k = N == null ? void 0 : N.changeObject) == null ? void 0 : k.propertyID) && h && y && (P(), r)) {
885
885
  const _ = r.getControlBasicInfoMap(), I = _.keys().toArray().filter((T) => {
886
- var $, S;
887
- return (($ = _.get(T)) == null ? void 0 : $.reliedComponentId) === ((S = e == null ? void 0 : e.schema) == null ? void 0 : S.id);
886
+ var R, F;
887
+ return ((R = _.get(T)) == null ? void 0 : R.reliedComponentId) === ((F = e == null ? void 0 : e.schema) == null ? void 0 : F.id);
888
888
  });
889
889
  I != null && I.length && I.forEach((T) => {
890
- const $ = _.get(T).parentPathName.split(" > ");
891
- $[0] = y, _.get(T).parentPathName = $.join(" > ");
890
+ const R = _.get(T).parentPathName.split(" > ");
891
+ R[0] = y, _.get(T).parentPathName = R.join(" > ");
892
892
  });
893
893
  }
894
894
  }
895
895
  function X(N) {
896
- if (R(N), t && t.onPropertyChanged)
896
+ if ($(N), t && t.onPropertyChanged)
897
897
  return t.onPropertyChanged(N);
898
898
  }
899
899
  return a.value = {
@@ -903,7 +903,7 @@ function yn(n, e, t) {
903
903
  canNested: !f(),
904
904
  contents: e == null ? void 0 : e.schema.contents,
905
905
  elementRef: n,
906
- parent: (E = e == null ? void 0 : e.parent) == null ? void 0 : E.componentInstance,
906
+ parent: (S = e == null ? void 0 : e.parent) == null ? void 0 : S.componentInstance,
907
907
  schema: e == null ? void 0 : e.schema,
908
908
  styles: o,
909
909
  designerClass: i,
@@ -919,9 +919,9 @@ function yn(n, e, t) {
919
919
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || M(!1),
920
920
  triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || M(!1),
921
921
  onRemoveComponent: b,
922
- getCustomButtons: P,
922
+ getCustomButtons: O,
923
923
  onPropertyChanged: X,
924
- setComponentBasicInfoMap: O,
924
+ setComponentBasicInfoMap: P,
925
925
  updateContextSchema: e == null ? void 0 : e.updateContextSchema
926
926
  }, a;
927
927
  }
@@ -956,7 +956,7 @@ function Ii(n) {
956
956
  }
957
957
  return { getVariables: a, getControlName: r, getStateMachines: u };
958
958
  }
959
- class Mi {
959
+ class Si {
960
960
  constructor(e) {
961
961
  Q(this, "sessionVariables", [
962
962
  {
@@ -1491,7 +1491,7 @@ class Ut {
1491
1491
  !c || !c.rules || (c.rules = c.rules.filter((s) => s.type !== a));
1492
1492
  }
1493
1493
  getExpressionOptions(e, t, o) {
1494
- return new Mi(this.formSchemaUtils).getExpressionOptions(e, t, o);
1494
+ return new Si(this.formSchemaUtils).getExpressionOptions(e, t, o);
1495
1495
  }
1496
1496
  getRealTargetType(e) {
1497
1497
  return ["response-toolbar-item", "tab-toolbar-item", "section-toolbar-item"].indexOf(e.type) > -1 ? "Button" : e.binding && e.binding.field ? "Field" : "Container";
@@ -1510,7 +1510,7 @@ class Ut {
1510
1510
  }, t;
1511
1511
  }
1512
1512
  }
1513
- class Si extends Ut {
1513
+ class Mi extends Ut {
1514
1514
  constructor(e, t) {
1515
1515
  super(e, t);
1516
1516
  }
@@ -1544,7 +1544,7 @@ function Fi(n, e) {
1544
1544
  return !1;
1545
1545
  }
1546
1546
  function i(u) {
1547
- return new Si(u, e).getPropertyConfig(t);
1547
+ return new Mi(u, e).getPropertyConfig(t);
1548
1548
  }
1549
1549
  function a() {
1550
1550
  var s;
@@ -1587,14 +1587,14 @@ const Ei = /* @__PURE__ */ Ee({
1587
1587
  };
1588
1588
  return u(s, n.customClass), s;
1589
1589
  });
1590
- return () => F("div", {
1590
+ return () => E("div", {
1591
1591
  ref: t,
1592
1592
  class: c.value,
1593
1593
  style: "height:inherit;"
1594
1594
  }, [e.slots.default && e.slots.default()]);
1595
1595
  }
1596
1596
  });
1597
- var Re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1597
+ var $e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1598
1598
  function pt(n) {
1599
1599
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1600
1600
  }
@@ -1648,11 +1648,11 @@ var Bi = { exports: {} };
1648
1648
  2: [function(t, o, i) {
1649
1649
  (function(a) {
1650
1650
  var r = t("contra/emitter"), u = t("crossvent"), c = t("./classes"), s = document, f = s.documentElement;
1651
- function l(E, N) {
1651
+ function l(S, N) {
1652
1652
  var j = arguments.length;
1653
- j === 1 && Array.isArray(E) === !1 && (N = E, E = []);
1654
- var h, y, k, _, I, T, $, S, z, K = null, te, J, ie = !1, re = 0, ee, q = N || {};
1655
- 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 = E || []), q.isContainer === void 0 && (q.isContainer = C), 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);
1653
+ j === 1 && Array.isArray(S) === !1 && (N = S, S = []);
1654
+ var h, y, k, _, I, T, R, F, z, K = null, te, J, ie = !1, re = 0, ee, q = N || {};
1655
+ 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 = S || []), q.isContainer === void 0 && (q.isContainer = C), 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);
1656
1656
  var se = r({
1657
1657
  containers: q.containers,
1658
1658
  start: xe,
@@ -1663,11 +1663,11 @@ var Bi = { exports: {} };
1663
1663
  canMove: Ne,
1664
1664
  dragging: !1
1665
1665
  });
1666
- return q.removeOnSpill === !0 && se.on("over", wt).on("out", Tt), Oe(), se;
1666
+ return q.removeOnSpill === !0 && se.on("over", wt).on("out", Tt), Pe(), se;
1667
1667
  function je(w) {
1668
1668
  return se.containers.indexOf(w) !== -1 || q.isContainer(w);
1669
1669
  }
1670
- function Oe(w) {
1670
+ function Pe(w) {
1671
1671
  var U = w ? "remove" : "add";
1672
1672
  d(f, U, "mousedown", ce), d(f, U, "mouseup", De);
1673
1673
  }
@@ -1680,7 +1680,7 @@ var Bi = { exports: {} };
1680
1680
  u[U](f, "selectstart", Je), u[U](f, "click", Je);
1681
1681
  }
1682
1682
  function Ae() {
1683
- Oe(!0), De({});
1683
+ Pe(!0), De({});
1684
1684
  }
1685
1685
  function Je(w) {
1686
1686
  te && w.preventDefault();
@@ -1689,7 +1689,7 @@ var Bi = { exports: {} };
1689
1689
  _ = w.clientX, I = w.clientY;
1690
1690
  var U = v(w) !== 1 || w.metaKey || w.ctrlKey;
1691
1691
  if (!U) {
1692
- var W = w.target, Y = Pe(W);
1692
+ var W = w.target, Y = Oe(W);
1693
1693
  Y && (te = Y, Te(), w.type === "mousedown" && (b(W) ? W.focus() : w.preventDefault()));
1694
1694
  }
1695
1695
  }
@@ -1706,18 +1706,18 @@ var Bi = { exports: {} };
1706
1706
  return;
1707
1707
  }
1708
1708
  var oe = te;
1709
- Te(!0), Ye(), ze(), Le(oe), c.add(S || k, "gu-transit"), It(), xt(), re = 0, ke(w);
1709
+ Te(!0), Ye(), ze(), Le(oe), c.add(F || k, "gu-transit"), It(), xt(), re = 0, ke(w);
1710
1710
  }
1711
1711
  }
1712
1712
  }
1713
- function Pe(w) {
1713
+ function Oe(w) {
1714
1714
  if (!(se.dragging && h) && !je(w)) {
1715
1715
  for (var U = w; x(w) && je(x(w)) === !1; )
1716
1716
  if (q.invalid(w, U) || (w = x(w), !w))
1717
1717
  return;
1718
1718
  var W = x(w);
1719
1719
  if (W && !q.invalid(w, U)) {
1720
- var Y = q.moves(w, W, U, O(w));
1720
+ var Y = q.moves(w, W, U, P(w));
1721
1721
  if (Y)
1722
1722
  return {
1723
1723
  item: w,
@@ -1727,21 +1727,21 @@ var Bi = { exports: {} };
1727
1727
  }
1728
1728
  }
1729
1729
  function Ne(w) {
1730
- return !!Pe(w);
1730
+ return !!Oe(w);
1731
1731
  }
1732
1732
  function xe(w) {
1733
- var U = Pe(w);
1733
+ var U = Oe(w);
1734
1734
  U && Le(U);
1735
1735
  }
1736
1736
  function Le(w) {
1737
- Ot(w.item, w.source) && (S = w.item.cloneNode(!0), se.emit("cloned", S, w.item, "copy")), y = w.source, k = w.item, T = $ = O(w.item), se.dragging = !0, se.emit("drag", k, y);
1737
+ Pt(w.item, w.source) && (F = w.item.cloneNode(!0), se.emit("cloned", F, w.item, "copy")), y = w.source, k = w.item, T = R = P(w.item), se.dragging = !0, se.emit("drag", k, y);
1738
1738
  }
1739
1739
  function nt() {
1740
1740
  return !1;
1741
1741
  }
1742
1742
  function ze() {
1743
1743
  if (se.dragging) {
1744
- var w = S || k;
1744
+ var w = F || k;
1745
1745
  Qe(w, x(w));
1746
1746
  }
1747
1747
  }
@@ -1750,33 +1750,33 @@ var Bi = { exports: {} };
1750
1750
  }
1751
1751
  function De(w) {
1752
1752
  if (Be(), !!se.dragging) {
1753
- var U = S || k, W = X("clientX", w) || 0, Y = X("clientY", w) || 0, oe = g(h, W, Y), ae = de(oe, W, Y);
1754
- ae && (S && q.copySortSource || !S || ae !== y) ? Qe(U, ae) : q.removeOnSpill ? Ze() : V();
1753
+ var U = F || k, W = X("clientX", w) || 0, Y = X("clientY", w) || 0, oe = g(h, W, Y), ae = de(oe, W, Y);
1754
+ ae && (F && q.copySortSource || !F || ae !== y) ? Qe(U, ae) : q.removeOnSpill ? Ze() : V();
1755
1755
  }
1756
1756
  }
1757
1757
  function Qe(w, U) {
1758
1758
  var W = x(w);
1759
- S && q.copySortSource && U === y && W.removeChild(k), ue(U) ? se.emit("cancel", w, y) : se.emit("drop", w, U, y, $), ne();
1759
+ F && q.copySortSource && U === y && W.removeChild(k), ue(U) ? se.emit("cancel", w, y) : se.emit("drop", w, U, y, R), ne();
1760
1760
  }
1761
1761
  function Ze() {
1762
1762
  if (se.dragging) {
1763
- var w = S || k, U = x(w);
1764
- U && U.removeChild(w), se.emit(S ? "cancel" : "remove", w, U, y), ne();
1763
+ var w = F || k, U = x(w);
1764
+ U && U.removeChild(w), se.emit(F ? "cancel" : "remove", w, U, y), ne();
1765
1765
  }
1766
1766
  }
1767
1767
  function V(w) {
1768
1768
  if (se.dragging) {
1769
- var U = arguments.length > 0 ? w : q.revertOnSpill, W = S || k, Y = x(W), oe = ue(Y);
1770
- oe === !1 && U && (S ? Y && Y.removeChild(S) : y.insertBefore(W, T)), oe || U ? se.emit("cancel", W, y, y) : se.emit("drop", W, Y, y, $), ne();
1769
+ var U = arguments.length > 0 ? w : q.revertOnSpill, W = F || k, Y = x(W), oe = ue(Y);
1770
+ oe === !1 && U && (F ? Y && Y.removeChild(F) : y.insertBefore(W, T)), oe || U ? se.emit("cancel", W, y, y) : se.emit("drop", W, Y, y, R), ne();
1771
1771
  }
1772
1772
  }
1773
1773
  function ne() {
1774
- var w = S || k;
1775
- Be(), Mt(), St(), w && c.rm(w, "gu-transit"), z && clearTimeout(z), se.dragging = !1, K && se.emit("out", w, K, y), se.emit("dragend", w, re), y = k = S = T = $ = z = K = null;
1774
+ var w = F || k;
1775
+ Be(), St(), Mt(), w && c.rm(w, "gu-transit"), z && clearTimeout(z), se.dragging = !1, K && se.emit("out", w, K, y), se.emit("dragend", w, re), y = k = F = T = R = z = K = null;
1776
1776
  }
1777
1777
  function ue(w, U) {
1778
1778
  var W;
1779
- return U !== void 0 ? W = U : h ? W = $ : W = O(S || k), w === y && W === T;
1779
+ return U !== void 0 ? W = U : h ? W = R : W = P(F || k), w === y && W === T;
1780
1780
  }
1781
1781
  function de(w, U, W) {
1782
1782
  for (var Y = w; Y && !oe(); )
@@ -1796,27 +1796,27 @@ var Bi = { exports: {} };
1796
1796
  w.preventDefault();
1797
1797
  var U = X("clientX", w) || 0, W = X("clientY", w) || 0;
1798
1798
  h.style.left = U - 2 + "px", h.style.top = W - 2 + "px";
1799
- var Y = S || k, oe = g(h, U, W), ae = de(oe, U, W), we = ae !== null && ae !== K;
1800
- (we || ae === null) && (be(), K = ae, Me()), kt(oe, W);
1799
+ var Y = F || k, oe = g(h, U, W), ae = de(oe, U, W), we = ae !== null && ae !== K;
1800
+ (we || ae === null) && (be(), K = ae, Se()), kt(oe, W);
1801
1801
  var ye = x(Y);
1802
- if (ae === y && S && !q.copySortSource) {
1802
+ if (ae === y && F && !q.copySortSource) {
1803
1803
  ye && ye.removeChild(Y);
1804
1804
  return;
1805
1805
  }
1806
1806
  var ge, Ie = ut(ae, oe);
1807
1807
  if (ie = ot(Ie, ae), Ie !== null)
1808
1808
  ge = dt(ae, Ie, U, W);
1809
- else if (q.revertOnSpill === !0 && !S)
1809
+ else if (q.revertOnSpill === !0 && !F)
1810
1810
  ge = T, ae = y;
1811
1811
  else {
1812
- S && ye && ye.removeChild(Y), S && J && (J.style.display = "none");
1812
+ F && ye && ye.removeChild(Y), F && J && (J.style.display = "none");
1813
1813
  return;
1814
1814
  }
1815
1815
  J.style.display = "block", Ct(ge, Y, we), ge ? Et(Ie, ge) : Bt(ae);
1816
1816
  function pe(ve) {
1817
1817
  se.emit(ve, Y, K, y);
1818
1818
  }
1819
- function Me() {
1819
+ function Se() {
1820
1820
  we && pe("over");
1821
1821
  }
1822
1822
  function be() {
@@ -1824,7 +1824,7 @@ var Bi = { exports: {} };
1824
1824
  }
1825
1825
  }
1826
1826
  function Ct(w, U, W) {
1827
- (w === U || w === O(U)) && ($ = O(U)), (w === null && W || w !== U && w !== O(U)) && ($ = w);
1827
+ (w === U || w === P(U)) && (R = P(U)), (w === null && W || w !== U && w !== P(U)) && (R = w);
1828
1828
  }
1829
1829
  function wt(w) {
1830
1830
  c.rm(w, "gu-hide");
@@ -1842,10 +1842,10 @@ var Bi = { exports: {} };
1842
1842
  }
1843
1843
  ie = !1, q.mirrorContainer.appendChild(J);
1844
1844
  }
1845
- function Mt() {
1845
+ function St() {
1846
1846
  h && (c.rm(q.mirrorContainer, "gu-unselectable"), d(f, "remove", "mousemove", ke), x(h).removeChild(h), h = null);
1847
1847
  }
1848
- function St() {
1848
+ function Mt() {
1849
1849
  J && (x(J).removeChild(J), J = null);
1850
1850
  }
1851
1851
  function ut(w, U) {
@@ -1902,7 +1902,7 @@ var Bi = { exports: {} };
1902
1902
  U === k && k && (J.style.display = "none");
1903
1903
  }
1904
1904
  function Bt(w) {
1905
- $ = null;
1905
+ R = null;
1906
1906
  var U = w.lastElementChild;
1907
1907
  if (U) {
1908
1908
  var W = U.getBoundingClientRect();
@@ -1928,29 +1928,29 @@ var Bi = { exports: {} };
1928
1928
  var oe = q.direction === "horizontal", ae = q.direction === "mixed", we = U !== w ? ge() : ye();
1929
1929
  return we;
1930
1930
  function ye() {
1931
- var pe = w.children.length, Me, be, ve;
1932
- for (Me = 0; Me < pe; Me++)
1933
- if (be = w.children[Me], ve = be.getBoundingClientRect(), oe && ve.left + ve.width / 2 > W || !ae && !oe && ve.top + ve.height / 2 > Y || ae && ve.left + ve.width > W && ve.top + ve.height > Y)
1931
+ var pe = w.children.length, Se, be, ve;
1932
+ for (Se = 0; Se < pe; Se++)
1933
+ if (be = w.children[Se], ve = be.getBoundingClientRect(), oe && ve.left + ve.width / 2 > W || !ae && !oe && ve.top + ve.height / 2 > Y || ae && ve.left + ve.width > W && ve.top + ve.height > Y)
1934
1934
  return be;
1935
1935
  return null;
1936
1936
  }
1937
1937
  function ge() {
1938
1938
  var pe = U.getBoundingClientRect();
1939
1939
  if (ae) {
1940
- var Me = Y - pe.top, be = W - pe.left, ve = pe.bottom - Y, it = pe.right - W, at = Math.min(be, it, Me, ve), rt;
1940
+ var Se = Y - pe.top, be = W - pe.left, ve = pe.bottom - Y, it = pe.right - W, at = Math.min(be, it, Se, ve), rt;
1941
1941
  return ie ? rt = it < be : rt = ve === at || it === at || be === at, Ie(rt);
1942
1942
  }
1943
1943
  return Ie(oe ? W > pe.left + A(pe) / 2 : Y > pe.top + L(pe) / 2);
1944
1944
  }
1945
1945
  function Ie(pe) {
1946
- return pe ? O(U) : U;
1946
+ return pe ? P(U) : U;
1947
1947
  }
1948
1948
  }
1949
- function Ot(w, U) {
1949
+ function Pt(w, U) {
1950
1950
  return typeof q.copy == "boolean" ? q.copy : q.copy(w, U);
1951
1951
  }
1952
1952
  }
1953
- function m(E) {
1953
+ function m(S) {
1954
1954
  const N = Array.from(window.scrollContainerList);
1955
1955
  if (N.length === 1) {
1956
1956
  const h = Array.from(window.scrollContainerList)[0];
@@ -1958,18 +1958,18 @@ var Bi = { exports: {} };
1958
1958
  }
1959
1959
  const j = p(N);
1960
1960
  for (const h of j)
1961
- if (h.contains(E))
1961
+ if (h.contains(S))
1962
1962
  return h;
1963
1963
  return null;
1964
1964
  }
1965
- function p(E) {
1965
+ function p(S) {
1966
1966
  const N = [];
1967
- return E.forEach((j) => {
1967
+ return S.forEach((j) => {
1968
1968
  const h = document.getElementById(j);
1969
1969
  h && N.push(h);
1970
1970
  }), N.sort((j, h) => j.contains(h) ? 1 : h.contains(j) ? -1 : 0), N;
1971
1971
  }
1972
- function d(E, N, j, h) {
1972
+ function d(S, N, j, h) {
1973
1973
  var y = {
1974
1974
  mouseup: "touchend",
1975
1975
  mousedown: "touchstart",
@@ -1983,23 +1983,23 @@ var Bi = { exports: {} };
1983
1983
  mousedown: "MSPointerDown",
1984
1984
  mousemove: "MSPointerMove"
1985
1985
  };
1986
- a.navigator.pointerEnabled ? u[N](E, k[j], h) : a.navigator.msPointerEnabled ? u[N](E, _[j], h) : (u[N](E, y[j], h), u[N](E, j, h));
1986
+ a.navigator.pointerEnabled ? u[N](S, k[j], h) : a.navigator.msPointerEnabled ? u[N](S, _[j], h) : (u[N](S, y[j], h), u[N](S, j, h));
1987
1987
  }
1988
- function v(E) {
1989
- if (E.touches !== void 0)
1990
- return E.touches.length;
1991
- if (E.which !== void 0 && E.which !== 0)
1992
- return E.which;
1993
- if (E.buttons !== void 0)
1994
- return E.buttons;
1995
- var N = E.button;
1988
+ function v(S) {
1989
+ if (S.touches !== void 0)
1990
+ return S.touches.length;
1991
+ if (S.which !== void 0 && S.which !== 0)
1992
+ return S.which;
1993
+ if (S.buttons !== void 0)
1994
+ return S.buttons;
1995
+ var N = S.button;
1996
1996
  if (N !== void 0)
1997
1997
  return N & 1 ? 1 : N & 2 ? 3 : N & 4 ? 2 : 0;
1998
1998
  }
1999
- function g(E, N, j) {
2000
- E = E || {};
2001
- var h = E.className || "", y;
2002
- return E.className += " gu-hide", y = s.elementFromPoint(N, j), E.className = h, y;
1999
+ function g(S, N, j) {
2000
+ S = S || {};
2001
+ var h = S.className || "", y;
2002
+ return S.className += " gu-hide", y = s.elementFromPoint(N, j), S.className = h, y;
2003
2003
  }
2004
2004
  function C() {
2005
2005
  return !1;
@@ -2007,45 +2007,45 @@ var Bi = { exports: {} };
2007
2007
  function B() {
2008
2008
  return !0;
2009
2009
  }
2010
- function A(E) {
2011
- return E.width || E.right - E.left;
2010
+ function A(S) {
2011
+ return S.width || S.right - S.left;
2012
2012
  }
2013
- function L(E) {
2014
- return E.height || E.bottom - E.top;
2013
+ function L(S) {
2014
+ return S.height || S.bottom - S.top;
2015
2015
  }
2016
- function x(E) {
2017
- return E.parentNode === s ? null : E.parentNode;
2016
+ function x(S) {
2017
+ return S.parentNode === s ? null : S.parentNode;
2018
2018
  }
2019
- function b(E) {
2020
- return E.tagName === "INPUT" || E.tagName === "TEXTAREA" || E.tagName === "SELECT" || P(E);
2019
+ function b(S) {
2020
+ return S.tagName === "INPUT" || S.tagName === "TEXTAREA" || S.tagName === "SELECT" || O(S);
2021
2021
  }
2022
- function P(E) {
2023
- return !E || E.contentEditable === "false" ? !1 : E.contentEditable === "true" ? !0 : P(x(E));
2022
+ function O(S) {
2023
+ return !S || S.contentEditable === "false" ? !1 : S.contentEditable === "true" ? !0 : O(x(S));
2024
2024
  }
2025
- function O(E) {
2026
- return E.nextElementSibling || N();
2025
+ function P(S) {
2026
+ return S.nextElementSibling || N();
2027
2027
  function N() {
2028
- var j = E;
2028
+ var j = S;
2029
2029
  do
2030
2030
  j = j.nextSibling;
2031
2031
  while (j && j.nodeType !== 1);
2032
2032
  return j;
2033
2033
  }
2034
2034
  }
2035
- function R(E) {
2036
- return E.targetTouches && E.targetTouches.length ? E.targetTouches[0] : E.changedTouches && E.changedTouches.length ? E.changedTouches[0] : E;
2035
+ function $(S) {
2036
+ return S.targetTouches && S.targetTouches.length ? S.targetTouches[0] : S.changedTouches && S.changedTouches.length ? S.changedTouches[0] : S;
2037
2037
  }
2038
- function X(E, N) {
2039
- var j = R(N), h = {
2038
+ function X(S, N) {
2039
+ var j = $(N), h = {
2040
2040
  pageX: "clientX",
2041
2041
  // IE8
2042
2042
  pageY: "clientY"
2043
2043
  // IE8
2044
2044
  };
2045
- return E in h && !(E in j) && h[E] in j && (E = h[E]), j[E];
2045
+ return S in h && !(S in j) && h[S] in j && (S = h[S]), j[S];
2046
2046
  }
2047
2047
  o.exports = l;
2048
- }).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
2048
+ }).call(this, typeof $e < "u" ? $e : typeof self < "u" ? self : typeof window < "u" ? window : {});
2049
2049
  }, { "./classes": 1, "contra/emitter": 5, crossvent: 6 }],
2050
2050
  3: [function(t, o, i) {
2051
2051
  o.exports = function(r, u) {
@@ -2105,64 +2105,64 @@ var Bi = { exports: {} };
2105
2105
  remove: f,
2106
2106
  fabricate: g
2107
2107
  };
2108
- function m(x, b, P, O) {
2109
- return x.addEventListener(b, P, O);
2108
+ function m(x, b, O, P) {
2109
+ return x.addEventListener(b, O, P);
2110
2110
  }
2111
- function p(x, b, P) {
2112
- return x.attachEvent("on" + b, B(x, b, P));
2111
+ function p(x, b, O) {
2112
+ return x.attachEvent("on" + b, B(x, b, O));
2113
2113
  }
2114
- function d(x, b, P, O) {
2115
- return x.removeEventListener(b, P, O);
2114
+ function d(x, b, O, P) {
2115
+ return x.removeEventListener(b, O, P);
2116
2116
  }
2117
- function v(x, b, P) {
2118
- var O = A(x, b, P);
2119
- if (O)
2120
- return x.detachEvent("on" + b, O);
2117
+ function v(x, b, O) {
2118
+ var P = A(x, b, O);
2119
+ if (P)
2120
+ return x.detachEvent("on" + b, P);
2121
2121
  }
2122
- function g(x, b, P) {
2123
- var O = u.indexOf(b) === -1 ? X() : R();
2124
- x.dispatchEvent ? x.dispatchEvent(O) : x.fireEvent("on" + b, O);
2125
- function R() {
2126
- var E;
2127
- return c.createEvent ? (E = c.createEvent("Event"), E.initEvent(b, !0, !0)) : c.createEventObject && (E = c.createEventObject()), E;
2122
+ function g(x, b, O) {
2123
+ var P = u.indexOf(b) === -1 ? X() : $();
2124
+ x.dispatchEvent ? x.dispatchEvent(P) : x.fireEvent("on" + b, P);
2125
+ function $() {
2126
+ var S;
2127
+ return c.createEvent ? (S = c.createEvent("Event"), S.initEvent(b, !0, !0)) : c.createEventObject && (S = c.createEventObject()), S;
2128
2128
  }
2129
2129
  function X() {
2130
- return new r(b, { detail: P });
2130
+ return new r(b, { detail: O });
2131
2131
  }
2132
2132
  }
2133
- function C(x, b, P) {
2134
- return function(R) {
2135
- var X = R || a.event;
2133
+ function C(x, b, O) {
2134
+ return function($) {
2135
+ var X = $ || a.event;
2136
2136
  X.target = X.target || X.srcElement, X.preventDefault = X.preventDefault || function() {
2137
2137
  X.returnValue = !1;
2138
2138
  }, X.stopPropagation = X.stopPropagation || function() {
2139
2139
  X.cancelBubble = !0;
2140
- }, X.which = X.which || X.keyCode, P.call(x, X);
2140
+ }, X.which = X.which || X.keyCode, O.call(x, X);
2141
2141
  };
2142
2142
  }
2143
- function B(x, b, P) {
2144
- var O = A(x, b, P) || C(x, b, P);
2143
+ function B(x, b, O) {
2144
+ var P = A(x, b, O) || C(x, b, O);
2145
2145
  return l.push({
2146
- wrapper: O,
2146
+ wrapper: P,
2147
2147
  element: x,
2148
2148
  type: b,
2149
- fn: P
2150
- }), O;
2149
+ fn: O
2150
+ }), P;
2151
2151
  }
2152
- function A(x, b, P) {
2153
- var O = L(x, b, P);
2154
- if (O) {
2155
- var R = l[O].wrapper;
2156
- return l.splice(O, 1), R;
2152
+ function A(x, b, O) {
2153
+ var P = L(x, b, O);
2154
+ if (P) {
2155
+ var $ = l[P].wrapper;
2156
+ return l.splice(P, 1), $;
2157
2157
  }
2158
2158
  }
2159
- function L(x, b, P) {
2160
- var O, R;
2161
- for (O = 0; O < l.length; O++)
2162
- if (R = l[O], R.element === x && R.type === b && R.fn === P)
2163
- return O;
2159
+ function L(x, b, O) {
2160
+ var P, $;
2161
+ for (P = 0; P < l.length; P++)
2162
+ if ($ = l[P], $.element === x && $.type === b && $.fn === O)
2163
+ return P;
2164
2164
  }
2165
- }).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
2165
+ }).call(this, typeof $e < "u" ? $e : typeof self < "u" ? self : typeof window < "u" ? window : {});
2166
2166
  }, { "./eventmap": 7, "custom-event": 8 }],
2167
2167
  7: [function(t, o, i) {
2168
2168
  (function(a) {
@@ -2170,7 +2170,7 @@ var Bi = { exports: {} };
2170
2170
  for (u in a)
2171
2171
  c.test(u) && r.push(u.slice(2));
2172
2172
  o.exports = r;
2173
- }).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
2173
+ }).call(this, typeof $e < "u" ? $e : typeof self < "u" ? self : typeof window < "u" ? window : {});
2174
2174
  }, {}],
2175
2175
  8: [function(t, o, i) {
2176
2176
  (function(a) {
@@ -2196,7 +2196,7 @@ var Bi = { exports: {} };
2196
2196
  }
2197
2197
  )
2198
2198
  );
2199
- }).call(this, typeof Re < "u" ? Re : typeof self < "u" ? self : typeof window < "u" ? window : {});
2199
+ }).call(this, typeof $e < "u" ? $e : typeof self < "u" ? self : typeof window < "u" ? window : {});
2200
2200
  }, {}],
2201
2201
  9: [function(t, o, i) {
2202
2202
  var a = o.exports = {}, r, u;
@@ -2353,19 +2353,19 @@ const ki = {
2353
2353
  animate: { type: String, default: "fadeIn" },
2354
2354
  options: { type: Object },
2355
2355
  safeHtml: { type: Boolean, default: !0 }
2356
- }, Oi = {
2356
+ }, Pi = {
2357
2357
  showCloseButton: { type: Boolean, default: !0 },
2358
2358
  animate: { type: String, default: "fadeIn" },
2359
2359
  options: { type: Object }
2360
2360
  }, Dt = /* @__PURE__ */ Ee({
2361
2361
  name: "Toast",
2362
- props: Oi,
2362
+ props: Pi,
2363
2363
  emits: ["close", "click"],
2364
2364
  setup: (n, e) => {
2365
2365
  const {
2366
2366
  locale: t,
2367
2367
  t: o
2368
- } = $t(), i = M(n.animate), a = "fadeOut", r = H(() => n.options), u = M(!1), c = H(() => r.value.title && r.value.message), s = H(() => !r.value.title && r.value.message), f = H(() => {
2368
+ } = Rt(), i = M(n.animate), a = "fadeOut", r = H(() => n.options), u = M(!1), c = H(() => r.value.title && r.value.message), s = H(() => !r.value.title && r.value.message), f = H(() => {
2369
2369
  const L = {
2370
2370
  animated: u.value,
2371
2371
  toast: !0,
@@ -2373,10 +2373,10 @@ const ki = {
2373
2373
  };
2374
2374
  return L[n.animate] = !1, L[a] = u.value, L["toasty-type-" + r.value.type] = !0, r.value.theme && (L[r.value.theme] = !0), L;
2375
2375
  }), l = H(() => {
2376
- const b = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, P = {
2376
+ const b = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, O = {
2377
2377
  "f-icon": !0
2378
2378
  };
2379
- return P[b] = !0, P;
2379
+ return O[b] = !0, O;
2380
2380
  }), m = H(() => r.value.title || r.value.message), p = H(() => n.showCloseButton), d = H(() => !!r.value.buttons || !!e.slots.default), v = H(() => t.value === "en" ? {
2381
2381
  wordBreak: "keep-all",
2382
2382
  overflowWrap: "break-word"
@@ -2396,46 +2396,46 @@ const ki = {
2396
2396
  });
2397
2397
  const A = () => {
2398
2398
  var L;
2399
- return F(lt, null, [F("div", {
2399
+ return E(lt, null, [E("div", {
2400
2400
  class: "after-toast-msg text-right"
2401
- }, [!e.slots.default && ((L = r.value.buttons) == null ? void 0 : L.map((x) => F("span", {
2401
+ }, [!e.slots.default && ((L = r.value.buttons) == null ? void 0 : L.map((x) => E("span", {
2402
2402
  class: B(x),
2403
2403
  onClick: (b) => void 0
2404
2404
  }, [x.text]))), e.slots.default && e.slots.default()])]);
2405
2405
  };
2406
- return () => F("div", {
2406
+ return () => E("div", {
2407
2407
  class: f.value,
2408
2408
  style: "min-height:44px"
2409
- }, [p.value && F("button", {
2409
+ }, [p.value && E("button", {
2410
2410
  title: o("messageBox.close"),
2411
2411
  class: "toast-close f-btn-icon f-bare",
2412
2412
  onClick: g
2413
- }, [F("span", {
2413
+ }, [E("span", {
2414
2414
  class: "f-icon modal_close"
2415
- }, null)]), m.value && F("section", {
2415
+ }, null)]), m.value && E("section", {
2416
2416
  class: "modal-tips"
2417
- }, [!c.value && F("div", {
2417
+ }, [!c.value && E("div", {
2418
2418
  class: "float-left modal-tips-iconwrap"
2419
- }, [F("span", {
2419
+ }, [E("span", {
2420
2420
  class: l.value
2421
- }, null)]), F("div", {
2421
+ }, null)]), E("div", {
2422
2422
  class: "modal-tips-content"
2423
- }, [c.value && F(lt, null, [F("h5", {
2423
+ }, [c.value && E(lt, null, [E("h5", {
2424
2424
  class: "toast-title modal-tips-title",
2425
2425
  innerHTML: r.value.title
2426
- }, null), F("p", {
2426
+ }, null), E("p", {
2427
2427
  class: "toast-msg",
2428
2428
  innerHTML: r.value.message,
2429
2429
  style: v.value
2430
- }, null), d.value && A()]), s.value && (r.value.buttons ? F("div", {
2430
+ }, null), d.value && A()]), s.value && (r.value.buttons ? E("div", {
2431
2431
  class: "toast-title-btns-wrapper d-flex"
2432
- }, [F("h5", {
2432
+ }, [E("h5", {
2433
2433
  class: "toast-title modal-tips-title only-toast-msg",
2434
2434
  style: v.value,
2435
2435
  innerHTML: r.value.message
2436
- }, null), F("div", {
2436
+ }, null), E("div", {
2437
2437
  class: "after-toast-title text-right ml-auto"
2438
- }, [A()])]) : F("h5", {
2438
+ }, [A()])]) : E("h5", {
2439
2439
  class: "toast-title modal-tips-title only-toast-msg",
2440
2440
  style: v.value,
2441
2441
  innerHTML: r.value.message
@@ -2476,11 +2476,11 @@ const ki = {
2476
2476
  function l(m, p) {
2477
2477
  f();
2478
2478
  }
2479
- return () => F("div", {
2479
+ return () => E("div", {
2480
2480
  class: t.value,
2481
2481
  style: s.value,
2482
2482
  ref: i
2483
- }, [F(Dt, {
2483
+ }, [E(Dt, {
2484
2484
  options: a.value,
2485
2485
  showCloseButton: r.value,
2486
2486
  animate: n.animate,
@@ -2488,10 +2488,10 @@ const ki = {
2488
2488
  }, null)]);
2489
2489
  }
2490
2490
  });
2491
- class Pi {
2491
+ class Oi {
2492
2492
  constructor() {
2493
2493
  Q(this, "notifyRefs", []);
2494
- Q(this, "globalConfig", $e({}));
2494
+ Q(this, "globalConfig", Re({}));
2495
2495
  }
2496
2496
  escapeAllHtml(e) {
2497
2497
  if (typeof e != "string" || !e)
@@ -2529,12 +2529,12 @@ class Pi {
2529
2529
  document.body.removeChild(a);
2530
2530
  }), et(() => {
2531
2531
  t.updateNotifyPositionForCreate(i, u);
2532
- }), () => F(on, {
2532
+ }), () => E(on, {
2533
2533
  mode: "out-in",
2534
2534
  name: "fade",
2535
2535
  appear: !0
2536
2536
  }, {
2537
- default: () => [F(mt, Vt({
2537
+ default: () => [E(mt, Vt({
2538
2538
  ref: u
2539
2539
  }, i, {
2540
2540
  onClose: c
@@ -2610,7 +2610,7 @@ class Pi {
2610
2610
  const Ni = Symbol("NOTIFY_SERVICE_TOKEN");
2611
2611
  mt.install = (n) => {
2612
2612
  n.component(mt.name, mt), n.component(Dt.name, Dt);
2613
- const e = new Pi();
2613
+ const e = new Oi();
2614
2614
  n.provide(Ni, e), n.provide("FNotifyService", e);
2615
2615
  };
2616
2616
  `${bt.getLocaleValue("datagrid.loadingMessage")}`;
@@ -2773,44 +2773,44 @@ function Di(n, e, t, o, i, a, r, u, c, s, f, l, m, p, d, v, g) {
2773
2773
  } = r, {
2774
2774
  gridDataStyle: x,
2775
2775
  leftFixedGridDataStyle: b,
2776
- rightFixedGridDataStyle: P
2776
+ rightFixedGridDataStyle: O
2777
2777
  } = p, {
2778
- renderDataRow: O
2779
- } = Yn(n, e, B, g, u, c, s, f, l, m, p, d, v), R = [O];
2778
+ renderDataRow: P
2779
+ } = Yn(n, e, B, g, u, c, s, f, l, m, p, d, v), $ = [P];
2780
2780
  function X(y, k) {
2781
2781
  const _ = C(y);
2782
- return g.value.filter((I) => I.visible !== !1).map((I, T) => R[I.type](I, _, k, T));
2782
+ return g.value.filter((I) => I.visible !== !1).map((I, T) => $[I.type](I, _, k, T));
2783
2783
  }
2784
- function E() {
2785
- return F("div", {
2784
+ function S() {
2785
+ return E("div", {
2786
2786
  ref: o,
2787
2787
  class: "fv-grid-content-left-fixed"
2788
- }, [F("div", {
2788
+ }, [E("div", {
2789
2789
  class: "fv-grid-data",
2790
2790
  style: b.value
2791
2791
  }, [X(B.value.leftColumns.filter((y) => y.visible), "left")])]);
2792
2792
  }
2793
2793
  function N() {
2794
- return F("div", {
2794
+ return E("div", {
2795
2795
  ref: t,
2796
2796
  class: "fv-grid-content-primary"
2797
- }, [F("div", {
2797
+ }, [E("div", {
2798
2798
  class: "fv-grid-data",
2799
2799
  style: x.value
2800
2800
  }, [X(B.value.primaryColumns.filter((y) => y.visible), "primary")])]);
2801
2801
  }
2802
2802
  function j() {
2803
- return F("div", {
2803
+ return E("div", {
2804
2804
  ref: i,
2805
2805
  class: "fv-grid-content-right-fixed"
2806
- }, [F("div", {
2806
+ }, [E("div", {
2807
2807
  class: "fv-grid-data",
2808
- style: P.value
2808
+ style: O.value
2809
2809
  }, [X(B.value.rightColumns.filter((y) => y.visible), "right")])]);
2810
2810
  }
2811
2811
  function h() {
2812
2812
  const y = [];
2813
- return A.value && y.push(E()), y.push(N()), L.value && y.push(j()), y;
2813
+ return A.value && y.push(S()), y.push(N()), L.value && y.push(j()), y;
2814
2814
  }
2815
2815
  return {
2816
2816
  renderDataArea: h
@@ -2830,11 +2830,11 @@ const Vi = /* @__PURE__ */ Ee({
2830
2830
  showLoading: L,
2831
2831
  renderLoading: x
2832
2832
  } = eo(n, c), b = to(n, /* @__PURE__ */ new Map(), C, B, r), {
2833
- dataView: P
2834
- } = b, O = no(n, b, r, p, e), {
2835
- showSelection: R,
2833
+ dataView: O
2834
+ } = b, P = no(n, b, r, p, e), {
2835
+ showSelection: $,
2836
2836
  selectedValues: X
2837
- } = O, E = oo(n, p, b, r, O, e), N = H(() => n.disabled), j = H(() => n.virtualized ? Math.min(b.dataView.value.length, i.value) : b.dataView.value.length), h = io(n, b), {
2837
+ } = P, S = oo(n, p, b, r, P, e), N = H(() => n.disabled), j = H(() => n.virtualized ? Math.min(b.dataView.value.length, i.value) : b.dataView.value.length), h = io(n, b), {
2838
2838
  shouldRenderPagination: y
2839
2839
  } = h, {
2840
2840
  containerStyleObject: k
@@ -2844,29 +2844,29 @@ const Vi = /* @__PURE__ */ Ee({
2844
2844
  I(a);
2845
2845
  const {
2846
2846
  applyColumnSetting: T,
2847
- removeColumnSetting: $
2847
+ removeColumnSetting: R
2848
2848
  } = so(n);
2849
2849
  n.showSetting && T(a);
2850
- const S = lo(n, e), z = co(n), {
2850
+ const F = lo(n, e), z = co(n), {
2851
2851
  applyColumnSorter: K,
2852
2852
  columnContext: te,
2853
2853
  updateColumnRenderContext: J
2854
- } = S;
2854
+ } = F;
2855
2855
  K(b, z);
2856
- const ie = uo(n, te), re = po(n, e, O, r), ee = fo(n, e, r, re, p), q = mo(n), se = vo(n, ee, q), je = ho(n, b, ee, B, r, q, se), Oe = yo(n, a, b, j, 0, je), {
2856
+ const ie = uo(n, te), re = po(n, e, P, r), ee = fo(n, e, r, re, p), q = mo(n), se = vo(n, ee, q), je = ho(n, b, ee, B, r, q, se), Pe = yo(n, a, b, j, 0, je), {
2857
2857
  getVisualData: Te
2858
- } = Oe, Ye = go(n, te), Ae = bo(n, O), {
2858
+ } = Pe, Ye = go(n, te), Ae = bo(n, P), {
2859
2859
  sidebarWidth: Je
2860
- } = Ae, ce = Co(n, b, p, te, Oe, j, 0, Je), {
2860
+ } = Ae, ce = Co(n, b, p, te, Pe, j, 0, Je), {
2861
2861
  onWheel: tt,
2862
- dataGridWidth: Pe,
2862
+ dataGridWidth: Oe,
2863
2863
  viewPortHeight: Ne,
2864
2864
  viewPortWidth: xe,
2865
2865
  resetScroll: Le,
2866
2866
  updateVisibleRowsOnLatestVisibleScope: nt
2867
2867
  } = ce, ze = wo(n, te, s, xe, ie), {
2868
2868
  calculateColumnsSize: Be
2869
- } = ze, De = To(), Qe = xo(s, m, b, De, ce), Ze = Io(n, e, S, b, ie, g, ce), V = H(() => {
2869
+ } = ze, De = To(), Qe = xo(s, m, b, De, ce), Ze = Io(n, e, F, b, ie, g, ce), V = H(() => {
2870
2870
  const G = {
2871
2871
  "fv-grid": !0,
2872
2872
  "fv-grid-bordered": n.showBorder,
@@ -2880,42 +2880,42 @@ const Vi = /* @__PURE__ */ Ee({
2880
2880
  "fv-grid-wrap-content": v.value
2881
2881
  })), {
2882
2882
  renderDataArea: ue
2883
- } = Di(n, e, f, l, m, Ye, S, b, ee, B, re, O, E, ce, Oe, q, p), {
2883
+ } = Di(n, e, f, l, m, Ye, F, b, ee, B, re, P, S, ce, Pe, q, p), {
2884
2884
  renderGridHeader: de,
2885
2885
  renderGridColumnResizeOverlay: ke,
2886
2886
  shouldShowHeader: Ct
2887
- } = Mo(n, e, s, l, m, S, b, Ze, Qe, C, De, ze, ie, O, Ae, z, ce, xe, p), {
2887
+ } = So(n, e, s, l, m, F, b, Ze, Qe, C, De, ze, ie, P, Ae, z, ce, xe, p), {
2888
2888
  renderDataGridSidebar: wt
2889
- } = So(n, re, O, Ae, ce), {
2889
+ } = Mo(n, re, P, Ae, ce), {
2890
2890
  renderDisableMask: Tt
2891
2891
  } = Fo(), {
2892
2892
  renderHorizontalScrollbar: xt
2893
2893
  } = Eo(n, s, ce), {
2894
2894
  renderVerticalScrollbar: It
2895
2895
  } = Bo(n, s, ce);
2896
- function Mt() {
2896
+ function St() {
2897
2897
  var G, Z, fe;
2898
2898
  if (s.value && s.value.clientHeight > 0 && ((G = s.value) == null ? void 0 : G.clientWidth) > 0) {
2899
2899
  const he = Math.ceil(s.value.clientHeight / o);
2900
- he > i.value && (i.value = he, nt()), Ne.value = ((Z = f.value) == null ? void 0 : Z.clientHeight) || 0, Pe.value = ((fe = s.value) == null ? void 0 : fe.clientWidth) || 0, Be();
2900
+ he > i.value && (i.value = he, nt()), Ne.value = ((Z = f.value) == null ? void 0 : Z.clientHeight) || 0, Oe.value = ((fe = s.value) == null ? void 0 : fe.clientWidth) || 0, Be();
2901
2901
  }
2902
2902
  }
2903
2903
  et(() => {
2904
- s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), p.value = Te(0, j.value + 0 - 1), Hn(s.value, Mt), Be(), Rt(() => {
2905
- s.value && (Pe.value = s.value.clientWidth), f.value && (xe.value = f.value.clientWidth, Ne.value = f.value.clientHeight);
2904
+ s.value && (i.value = Math.max(Math.ceil(s.value.clientHeight / o), i.value), p.value = Te(0, j.value + 0 - 1), Hn(s.value, St), Be(), $t(() => {
2905
+ s.value && (Oe.value = s.value.clientWidth), f.value && (xe.value = f.value.clientWidth, Ne.value = f.value.clientHeight);
2906
2906
  })), L.value && x();
2907
2907
  }), gt(() => {
2908
2908
  }), Fe(xe, () => {
2909
2909
  s.value && Be();
2910
2910
  });
2911
- function St(G) {
2911
+ function Mt(G) {
2912
2912
  b.collapseTo(G), b.reOrderVisibleIndex(), Le();
2913
2913
  }
2914
2914
  function ut(G) {
2915
2915
  b.expandTo(G), b.reOrderVisibleIndex(), Le();
2916
2916
  }
2917
2917
  function ot() {
2918
- const G = O.getSelectionRow();
2918
+ const G = P.getSelectionRow();
2919
2919
  return G ? G.dataIndex - 1 : -1;
2920
2920
  }
2921
2921
  function Ft() {
@@ -2931,13 +2931,13 @@ const Vi = /* @__PURE__ */ Ee({
2931
2931
  b.insertNewChildDataItems(G, he);
2932
2932
  }
2933
2933
  function kt() {
2934
- const G = ot(), Z = E.getNextSelectableHierarchyItemId(G);
2935
- b.removeHierarchyDataItem(G), p.value = Te(0, j.value + 0 - 1), Z && O.selectItemById(Z);
2934
+ const G = ot(), Z = S.getNextSelectableHierarchyItemId(G);
2935
+ b.removeHierarchyDataItem(G), p.value = Te(0, j.value + 0 - 1), Z && S.selectItemById(Z);
2936
2936
  }
2937
2937
  function dt(G) {
2938
2938
  ee.onEditingRow(G);
2939
2939
  }
2940
- function Ot(G) {
2940
+ function Pt(G) {
2941
2941
  ee.acceptEditingRow(G);
2942
2942
  }
2943
2943
  function w(G) {
@@ -2953,7 +2953,7 @@ const Vi = /* @__PURE__ */ Ee({
2953
2953
  G && (b.load(G), b.reOrderVisibleIndex(), Z != null && Z.keepScrollPosition ? ce.scrollTo(ce.offsetY.value) : Le());
2954
2954
  }
2955
2955
  function Y(G) {
2956
- O.selectItemById(G);
2956
+ S.selectItemById(G);
2957
2957
  }
2958
2958
  function oe(G) {
2959
2959
  const Z = p.value.find((fe) => fe.raw[r.idField.value] === G);
@@ -2963,28 +2963,28 @@ const Vi = /* @__PURE__ */ Ee({
2963
2963
  re.activeRowById(G);
2964
2964
  }
2965
2965
  function we(G) {
2966
- O.selectItemByIds(G);
2966
+ S.selectItemByIds(G);
2967
2967
  }
2968
2968
  function ye() {
2969
- return O.getSelectedItems();
2969
+ return P.getSelectedItems();
2970
2970
  }
2971
2971
  function ge() {
2972
- O.clearSelection();
2972
+ P.clearSelection();
2973
2973
  }
2974
2974
  const Ie = H(() => !p.value || !p.value.length), {
2975
2975
  renderEmpty: pe
2976
2976
  } = ko(n, e);
2977
- function Me() {
2978
- return O.getSelectionRow();
2977
+ function Se() {
2978
+ return P.getSelectionRow();
2979
2979
  }
2980
2980
  function be(G) {
2981
- O.unSelectItemByIds(G);
2981
+ S.unSelectItemByIds(G);
2982
2982
  }
2983
2983
  function ve() {
2984
- return O.currentSelectedDataId.value;
2984
+ return P.currentSelectedDataId.value;
2985
2985
  }
2986
2986
  function it(G, Z, fe) {
2987
- const he = P.value.find((Ce) => Ce[u.value] === G);
2987
+ const he = O.value.find((Ce) => Ce[u.value] === G);
2988
2988
  if (he) {
2989
2989
  if (Object.keys(he).forEach((me) => {
2990
2990
  Object.prototype.hasOwnProperty.call(Z, me) && (he[me] = Z[me]);
@@ -3021,11 +3021,11 @@ const Vi = /* @__PURE__ */ Ee({
3021
3021
  const Z = b.dataView.value.find((fe) => fe[u.value] === G);
3022
3022
  return Z ? Z[A.value] : "";
3023
3023
  }
3024
- function Sn() {
3024
+ function Mn() {
3025
3025
  return A.value;
3026
3026
  }
3027
3027
  Fe(() => n.showSetting, (G, Z) => {
3028
- G !== Z && (G ? T(a) : $(a), U(a.value));
3028
+ G !== Z && (G ? T(a) : R(a), U(a.value));
3029
3029
  });
3030
3030
  function Fn(G) {
3031
3031
  return p.value.filter((Z) => G.includes(Z.raw[n.idField]));
@@ -3035,18 +3035,18 @@ const Vi = /* @__PURE__ */ Ee({
3035
3035
  fe && re.changeRow(fe);
3036
3036
  }
3037
3037
  function Bn() {
3038
- O.keepSelectingOnPaging.value || ge(), b.updateVisibleDataSummary(p.value);
3038
+ P.keepSelectingOnPaging.value || ge(), b.updateVisibleDataSummary(p.value);
3039
3039
  }
3040
3040
  e.expose({
3041
3041
  activeRowById: ae,
3042
3042
  addNewDataItem: Ft,
3043
3043
  addNewChildDataItem: Et,
3044
3044
  addChildrenToNode: Bt,
3045
- collapseTo: St,
3045
+ collapseTo: Mt,
3046
3046
  expandTo: ut,
3047
3047
  removeDataItem: kt,
3048
3048
  editDataItem: dt,
3049
- acceptDataItem: Ot,
3049
+ acceptDataItem: Pt,
3050
3050
  cancelDataItem: w,
3051
3051
  updateColumns: U,
3052
3052
  updateDataSource: W,
@@ -3054,13 +3054,13 @@ const Vi = /* @__PURE__ */ Ee({
3054
3054
  selectItemByIds: we,
3055
3055
  getSelectedItems: ye,
3056
3056
  clearSelection: ge,
3057
- getSelectionRow: Me,
3057
+ getSelectionRow: Se,
3058
3058
  clickRowItemById: oe,
3059
3059
  unSelectItemByIds: be,
3060
3060
  getCurrentRowId: ve,
3061
3061
  reassignRowData: it,
3062
3062
  hasChildren: at,
3063
- getCollapseField: Sn,
3063
+ getCollapseField: Mn,
3064
3064
  getCollapseStatusById: rt,
3065
3065
  getVisibleDataByIds: Fn,
3066
3066
  selectRowById: En,
@@ -3069,45 +3069,45 @@ const Vi = /* @__PURE__ */ Ee({
3069
3069
  const kn = H(() => {
3070
3070
  const G = {};
3071
3071
  return ce.shouldShowHorizontalScrollbar.value && (G.paddingBottom = "10px"), ce.shouldShowVirticalScrollbar.value && (G.paddingRight = "10px"), G;
3072
- }), On = H(() => ({
3072
+ }), Pn = H(() => ({
3073
3073
  ...k.value,
3074
3074
  borderRadius: "5px"
3075
- })), {
3076
- renderDataGridPagination: Pr
3077
- } = Oo(n, e, b, ce, h, O), Pn = H(() => ({
3075
+ }));
3076
+ Po(n, e, b, ce, h, P);
3077
+ const On = H(() => ({
3078
3078
  "d-flex": !0,
3079
- "justify-content-between": y.value && R.value,
3080
- "justify-content-end": y.value && !R.value,
3079
+ "justify-content-between": y.value && $.value,
3080
+ "justify-content-end": y.value && !$.value,
3081
3081
  "position-relative": !0
3082
3082
  })), Nn = H(() => ({
3083
3083
  "d-flex": !0,
3084
3084
  "align-items-center": !0
3085
3085
  })), {
3086
3086
  renderDataGridSummary: Ln
3087
- } = Po(n, b, S);
3088
- return () => F("div", {
3087
+ } = Oo(n, b, F);
3088
+ return () => E("div", {
3089
3089
  ref: c,
3090
3090
  class: V.value,
3091
- style: On.value,
3091
+ style: Pn.value,
3092
3092
  onWheel: tt
3093
- }, [s.value && Ct.value && de(), F("div", {
3093
+ }, [s.value && Ct.value && de(), E("div", {
3094
3094
  ref: s,
3095
3095
  class: ne.value,
3096
3096
  onMouseover: () => d.value = !0,
3097
3097
  onMouseleave: () => d.value = !1,
3098
3098
  style: kn.value
3099
- }, [s.value && wt(p), s.value && ue(), s.value && Ie.value && pe(), s.value && xt(), s.value && It()]), s.value && Ln(), R.value && F("div", {
3100
- class: Pn.value
3101
- }, [R.value && F("div", {
3099
+ }, [s.value && wt(p), s.value && ue(), s.value && Ie.value && pe(), s.value && xt(), s.value && It()]), s.value && Ln(), $.value && E("div", {
3100
+ class: On.value
3101
+ }, [$.value && E("div", {
3102
3102
  class: Nn.value
3103
- }, [F("div", null, ["已选:" + X.value.length, ft(" 条")])])]), ke(), N.value && Tt()]);
3103
+ }, [E("div", null, ["已选:" + X.value.length, ft(" 条")])])]), ke(), N.value && Tt()]);
3104
3104
  }
3105
3105
  });
3106
3106
  Gn(Vi);
3107
- const Ri = /* @__PURE__ */ new Map([
3107
+ const $i = /* @__PURE__ */ new Map([
3108
3108
  ["appearance", jt]
3109
3109
  ]);
3110
- function $i(n, e, t) {
3110
+ function Ri(n, e, t) {
3111
3111
  return e;
3112
3112
  }
3113
3113
  const ji = "https://json-schema.org/draft/2020-12/schema", Ai = "https://farris-design.gitee.io/step.schema.json", zi = "step", Ui = "A Farris Component", qi = "object", Wi = {
@@ -3241,7 +3241,7 @@ const ji = "https://json-schema.org/draft/2020-12/schema", Ai = "https://farris-
3241
3241
  onClick: { type: Function, default: () => {
3242
3242
  } }
3243
3243
  };
3244
- He(Zi, Gi, Ri, $i, Qi);
3244
+ He(Zi, Gi, $i, Ri, Qi);
3245
3245
  const qt = /* @__PURE__ */ new Map([
3246
3246
  ["appearance", jt]
3247
3247
  ]), Ki = /* @__PURE__ */ new Map([]), ea = "root-viewmodel";
@@ -3775,8 +3775,8 @@ function Ia(n) {
3775
3775
  var B;
3776
3776
  const g = o.get(v.id), C = g.appearance && g.appearance.class;
3777
3777
  if (C) {
3778
- const L = C.split(" ").filter((X) => !X.startsWith("col-")), x = "col-" + v.columnInSM, b = "col-md-" + v.columnInMD, P = "col-xl-" + v.columnInLG, O = "col-el-" + v.columnInEL, R = [x, b, P, O].concat(L);
3779
- g.appearance.class = R.join(" ");
3778
+ const L = C.split(" ").filter((X) => !X.startsWith("col-")), x = "col-" + v.columnInSM, b = "col-md-" + v.columnInMD, O = "col-xl-" + v.columnInLG, P = "col-el-" + v.columnInEL, $ = [x, b, O, P].concat(L);
3779
+ g.appearance.class = $.join(" ");
3780
3780
  }
3781
3781
  if (v.fieldSetId) {
3782
3782
  const A = p.contents.find((x) => x.id === v.fieldSetId), L = d.find((x) => x.id === v.fieldSetId);
@@ -3792,7 +3792,7 @@ function Ia(n) {
3792
3792
  getResonseFormLayoutConfig: r
3793
3793
  };
3794
3794
  }
3795
- function Ma(n, e) {
3795
+ function Sa(n, e) {
3796
3796
  function t(c, s = null) {
3797
3797
  if (s)
3798
3798
  return s;
@@ -3840,14 +3840,14 @@ function Ma(n, e) {
3840
3840
  }
3841
3841
  return { checkIsInFormComponent: o, assembleUnifiedLayoutContext: a, changeFormControlsByUnifiedLayoutConfig: u };
3842
3842
  }
3843
- class Sa extends Ut {
3843
+ class Ma extends Ut {
3844
3844
  constructor(e, t) {
3845
3845
  super(e, t);
3846
3846
  }
3847
3847
  getPropertyConfig(e, t) {
3848
3848
  const o = this;
3849
3849
  this.propertyConfig.categories.basic = this.getBasicPropConfig(e);
3850
- const { checkIsInFormComponent: i, assembleUnifiedLayoutContext: a, changeFormControlsByUnifiedLayoutConfig: r } = Ma(this.formSchemaUtils, this.componentId), u = this.getAppearanceConfig(e), c = i(this.componentId);
3850
+ const { checkIsInFormComponent: i, assembleUnifiedLayoutContext: a, changeFormControlsByUnifiedLayoutConfig: r } = Sa(this.formSchemaUtils, this.componentId), u = this.getAppearanceConfig(e), c = i(this.componentId);
3851
3851
  return u.properties.adaptForLanguage = {
3852
3852
  title: "控件布局响应国际化",
3853
3853
  description: "启用国际化后:简体中文、繁体中文环境下控件标签与输入框在一行展示,其他语言环境下控件标签与输入框上下排列。",
@@ -3896,8 +3896,8 @@ function en(n, e) {
3896
3896
  const { sourceElement: k } = h, { componentInstance: _ } = k, I = e == null ? void 0 : e.formSchemaUtils;
3897
3897
  if (!I)
3898
3898
  return !0;
3899
- const T = I.getComponentById(_.value.belongedComponentId), $ = I.getViewModelById(T.viewModel), S = I.getComponentById(n.componentInstance.value.belongedComponentId), z = I.getViewModelById(S.viewModel);
3900
- return y ? $ != null && $.id && (z != null && z.id) && $.id !== z.id ? $.bindTo === z.bindTo : !0 : ($ == null ? void 0 : $.id) === (z == null ? void 0 : z.id);
3899
+ const T = I.getComponentById(_.value.belongedComponentId), R = I.getViewModelById(T.viewModel), F = I.getComponentById(n.componentInstance.value.belongedComponentId), z = I.getViewModelById(F.viewModel);
3900
+ return y ? R != null && R.id && (z != null && z.id) && R.id !== z.id ? R.bindTo === z.bindTo : !0 : (R == null ? void 0 : R.id) === (z == null ? void 0 : z.id);
3901
3901
  }
3902
3902
  function c(h) {
3903
3903
  const { bindingTargetId: y } = h;
@@ -3926,12 +3926,12 @@ function en(n, e) {
3926
3926
  }
3927
3927
  function l(h) {
3928
3928
  var z;
3929
- const y = h.componentInstance, k = y.value.schema, _ = e == null ? void 0 : e.formSchemaUtils, I = e == null ? void 0 : e.designViewModelUtils, T = _.getViewModelIdByComponentId(y.value.belongedComponentId), $ = I.getDgViewModel(T), S = y.value.parent;
3930
- if (S && ct.fieldset && ((z = S.schema) == null ? void 0 : z.type) === ct.fieldset.type && $) {
3929
+ const y = h.componentInstance, k = y.value.schema, _ = e == null ? void 0 : e.formSchemaUtils, I = e == null ? void 0 : e.designViewModelUtils, T = _.getViewModelIdByComponentId(y.value.belongedComponentId), R = I.getDgViewModel(T), F = y.value.parent;
3930
+ if (F && ct.fieldset && ((z = F.schema) == null ? void 0 : z.type) === ct.fieldset.type && R) {
3931
3931
  const K = { groupId: null, groupName: null };
3932
3932
  switch (k.binding.type) {
3933
3933
  case _e.Form: {
3934
- $.changeField(k.binding.field, K);
3934
+ R.changeField(k.binding.field, K);
3935
3935
  break;
3936
3936
  }
3937
3937
  case _e.Variable: {
@@ -3942,14 +3942,14 @@ function en(n, e) {
3942
3942
  }
3943
3943
  }
3944
3944
  function m(h, y, k) {
3945
- const _ = y.fields.find((z) => z.id === h), I = e == null ? void 0 : e.designViewModelUtils, T = I.getDgViewModel(y.id), $ = T.fields.find((z) => z.id === h);
3945
+ const _ = y.fields.find((z) => z.id === h), I = e == null ? void 0 : e.designViewModelUtils, T = I.getDgViewModel(y.id), R = T.fields.find((z) => z.id === h);
3946
3946
  T.removeField([h]);
3947
- const S = I.getDgViewModel(k);
3948
- S.addField($), _.fieldSchema && S.changeField($.id, _.fieldSchema);
3947
+ const F = I.getDgViewModel(k);
3948
+ F.addField(R), _.fieldSchema && F.changeField(R.id, _.fieldSchema);
3949
3949
  }
3950
3950
  function p(h, y, k, _ = []) {
3951
- const I = y.id, T = h.binding.field, $ = y.fields.findIndex((z) => z.id === T);
3952
- if ($ > -1 && (k.fields.push(y.fields[$]), y.fields.splice($, 1)), I === "root-viewmodel" && k.id !== "root-viewmodel") {
3951
+ const I = y.id, T = h.binding.field, R = y.fields.findIndex((z) => z.id === T);
3952
+ if (R > -1 && (k.fields.push(y.fields[R]), y.fields.splice(R, 1)), I === "root-viewmodel" && k.id !== "root-viewmodel") {
3953
3953
  h.binding.path && !h.binding.path.includes("root-component.") && (h.binding.path = "root-component." + h.binding.path);
3954
3954
  return;
3955
3955
  }
@@ -3957,18 +3957,18 @@ function en(n, e) {
3957
3957
  h.binding.path = h.binding.path.replace("root-component.", "");
3958
3958
  return;
3959
3959
  }
3960
- const S = y.states.find((z) => z.id === T);
3961
- S && (k.states = k.states ? k.states : [], k.states.findIndex((z) => z.id === S.id) < 0 && (k.states.push(S), _.push(S.id)));
3960
+ const F = y.states.find((z) => z.id === T);
3961
+ F && (k.states = k.states ? k.states : [], k.states.findIndex((z) => z.id === F.id) < 0 && (k.states.push(F), _.push(F.id)));
3962
3962
  }
3963
3963
  function d(h, y, k, _ = []) {
3964
- var $;
3964
+ var R;
3965
3965
  if (!h)
3966
3966
  return;
3967
3967
  const I = y.id === "root-viewmodel" && k.id !== "root-viewmodel", T = k.id === "root-viewmodel" && y.id !== "root-viewmodel";
3968
- Object.keys(h).forEach((S) => {
3969
- if (S === "binding")
3968
+ Object.keys(h).forEach((F) => {
3969
+ if (F === "binding")
3970
3970
  return;
3971
- const z = h[S];
3971
+ const z = h[F];
3972
3972
  if (z && typeof z == "object" && z.type === _e.Variable && z.field) {
3973
3973
  if (I) {
3974
3974
  z.path && !z.path.includes("root-component.") && (z.path = "root-component." + z.path);
@@ -3990,8 +3990,8 @@ function en(n, e) {
3990
3990
  }
3991
3991
  }
3992
3992
  }
3993
- }), ($ = k.states) != null && $.length && k.states.map((S) => {
3994
- S.newId && (S.id = S.newId, delete S.newId);
3993
+ }), (R = k.states) != null && R.length && k.states.map((F) => {
3994
+ F.newId && (F.id = F.newId, delete F.newId);
3995
3995
  });
3996
3996
  }
3997
3997
  function v(h, y, k) {
@@ -4002,16 +4002,16 @@ function en(n, e) {
4002
4002
  function g(h = [], y) {
4003
4003
  if (!h.length)
4004
4004
  return;
4005
- const k = e == null ? void 0 : e.formSchemaUtils, _ = k.getComponentByViewModelId(y), I = [], T = (S, z) => {
4006
- S && (Object.keys(S).forEach((K) => {
4007
- const te = S[K];
4005
+ const k = e == null ? void 0 : e.formSchemaUtils, _ = k.getComponentByViewModelId(y), I = [], T = (F, z) => {
4006
+ F && (Object.keys(F).forEach((K) => {
4007
+ const te = F[K];
4008
4008
  te && typeof te == "object" && te.type === _e.Variable && h.includes(te.field) && !z.includes(te.field) && z.push(te.field);
4009
- }), S.editor && T(S.editor, z));
4009
+ }), F.editor && T(F.editor, z));
4010
4010
  };
4011
4011
  v(_, T, I);
4012
- const $ = k.getViewModelById(y);
4013
- h.forEach((S) => {
4014
- I.includes(S) || ($.states = $.states.filter((z) => z.id !== S));
4012
+ const R = k.getViewModelById(y);
4013
+ h.forEach((F) => {
4014
+ I.includes(F) || (R.states = R.states.filter((z) => z.id !== F));
4015
4015
  });
4016
4016
  }
4017
4017
  function C(h) {
@@ -4019,7 +4019,7 @@ function en(n, e) {
4019
4019
  id: y,
4020
4020
  code: h.code + y.slice(0, 4),
4021
4021
  name: h.name + y.slice(0, 4)
4022
- }), T = (e == null ? void 0 : e.formSchemaUtils).getCommands().find(($) => $.id === h.cmpId);
4022
+ }), T = (e == null ? void 0 : e.formSchemaUtils).getCommands().find((R) => R.id === h.cmpId);
4023
4023
  return T && T.refedHandlers.push({
4024
4024
  host: y,
4025
4025
  handler: h.handlerName
@@ -4040,7 +4040,7 @@ function en(n, e) {
4040
4040
  }
4041
4041
  }
4042
4042
  });
4043
- const S = (e == null ? void 0 : e.designViewModelUtils).getDgViewModel(k.id), z = ["valueChanging", "valueChanged"];
4043
+ const F = (e == null ? void 0 : e.designViewModelUtils).getDgViewModel(k.id), z = ["valueChanging", "valueChanged"];
4044
4044
  if (((te = h.binding) == null ? void 0 : te.type) === _e.Form) {
4045
4045
  const ie = (J = k.fields) == null ? void 0 : J.find((re) => re.id === h.binding.field);
4046
4046
  ie && z.forEach((re) => {
@@ -4049,30 +4049,30 @@ function en(n, e) {
4049
4049
  if (!ee)
4050
4050
  return;
4051
4051
  if (_[ee.code])
4052
- S.changeField(ie.id, { [re]: _[ee.code].code });
4052
+ F.changeField(ie.id, { [re]: _[ee.code].code });
4053
4053
  else {
4054
4054
  const q = C(ee);
4055
- _[ee.code] = q, k.commands.push(q), S.changeField(ie.id, { [re]: q.code });
4055
+ _[ee.code] = q, k.commands.push(q), F.changeField(ie.id, { [re]: q.code });
4056
4056
  }
4057
4057
  }
4058
4058
  });
4059
4059
  }
4060
4060
  }
4061
4061
  function A(h) {
4062
- const y = e == null ? void 0 : e.formSchemaUtils, k = h.componentInstance, _ = k.value.schema, I = y.getViewModelIdByComponentId(k.value.belongedComponentId), T = y.getViewModelById(I), $ = y.getComponentById(n.componentInstance.value.belongedComponentId), S = y.getViewModelById($.viewModel);
4063
- if (I !== S.id) {
4062
+ const y = e == null ? void 0 : e.formSchemaUtils, k = h.componentInstance, _ = k.value.schema, I = y.getViewModelIdByComponentId(k.value.belongedComponentId), T = y.getViewModelById(I), R = y.getComponentById(n.componentInstance.value.belongedComponentId), F = y.getViewModelById(R.viewModel);
4063
+ if (I !== F.id) {
4064
4064
  const z = _.binding.type, K = _.binding.field, te = [];
4065
4065
  switch (z) {
4066
4066
  case _e.Form: {
4067
- m(K, T, S.id);
4067
+ m(K, T, F.id);
4068
4068
  break;
4069
4069
  }
4070
4070
  case _e.Variable: {
4071
- p(_, T, S, te);
4071
+ p(_, T, F, te);
4072
4072
  break;
4073
4073
  }
4074
4074
  }
4075
- d(_, T, S, te), d(_.editor, T, S, te), B(_, T, S), I !== "root-viewmodel" && g(te, I);
4075
+ d(_, T, F, te), d(_.editor, T, F, te), B(_, T, F), I !== "root-viewmodel" && g(te, I);
4076
4076
  }
4077
4077
  }
4078
4078
  function L(h) {
@@ -4106,7 +4106,7 @@ function en(n, e) {
4106
4106
  }
4107
4107
  return y;
4108
4108
  }
4109
- function P(h) {
4109
+ function O(h) {
4110
4110
  const y = n.componentInstance.value.getBelongedComponentInstance(n.componentInstance);
4111
4111
  if (y && y.schema && y.schema.componentType) {
4112
4112
  const { formColumns: k } = y.schema;
@@ -4114,48 +4114,48 @@ function en(n, e) {
4114
4114
  _ = e == null ? void 0 : e.formSchemaUtils.getControlClassByFormUnifiedLayout(_, y.schema.id, n.schema), h.appearance || (h.appearance = {}), h.appearance.class = _;
4115
4115
  }
4116
4116
  }
4117
- function O(h, y, k, _) {
4117
+ function P(h, y, k, _) {
4118
4118
  const { bindingSourceContext: I, parentComponentInstance: T } = h;
4119
4119
  if (I != null && I.entityFieldNode && T) {
4120
- const $ = e == null ? void 0 : e.designViewModelUtils, z = (e == null ? void 0 : e.formSchemaUtils).getViewModelIdByComponentId(T.belongedComponentId), K = $.getDgViewModel(z);
4120
+ const R = e == null ? void 0 : e.designViewModelUtils, z = (e == null ? void 0 : e.formSchemaUtils).getViewModelIdByComponentId(T.belongedComponentId), K = R.getDgViewModel(z);
4121
4121
  K.removeField([I.entityFieldNode.id]), K.addField(I.designViewModelField), y && K.changeField(I.entityFieldNode.id, { editor: { $type: y }, groupId: k, groupName: _ });
4122
4122
  }
4123
4123
  }
4124
- function R(h, y) {
4125
- var T, $, S;
4124
+ function $(h, y) {
4125
+ var T, R, F;
4126
4126
  const k = t;
4127
4127
  if ((k.appearance && k.appearance.class || "").split(" ").includes("f-form-layout") && h.componentCategory === "input") {
4128
4128
  const { label: z } = h;
4129
4129
  let K;
4130
4130
  const te = e == null ? void 0 : e.controlCreatorUtils;
4131
- return (T = h.bindingSourceContext) != null && T.entityFieldNode ? K = te.setFormFieldProperty(($ = h.bindingSourceContext) == null ? void 0 : $.entityFieldNode, y == null ? void 0 : y.type) : (K = te.createFormGroupWithoutField(y == null ? void 0 : y.type), K.label = z), P(K), O(h, (S = K.editor) == null ? void 0 : S.type), K;
4131
+ return (T = h.bindingSourceContext) != null && T.entityFieldNode ? K = te.setFormFieldProperty((R = h.bindingSourceContext) == null ? void 0 : R.entityFieldNode, y == null ? void 0 : y.type) : (K = te.createFormGroupWithoutField(y == null ? void 0 : y.type), K.label = z), O(K), P(h, (F = K.editor) == null ? void 0 : F.type), K;
4132
4132
  }
4133
4133
  return y;
4134
4134
  }
4135
4135
  function X() {
4136
4136
  return i;
4137
4137
  }
4138
- function E() {
4138
+ function S() {
4139
4139
  return r;
4140
4140
  }
4141
4141
  function N() {
4142
4142
  return !1;
4143
4143
  }
4144
4144
  function j(h) {
4145
- return new Sa(h, e).getPropertyConfig(t, n.componentInstance.value);
4145
+ return new Ma(h, e).getPropertyConfig(t, n.componentInstance.value);
4146
4146
  }
4147
4147
  return {
4148
4148
  canAccepts: f,
4149
- checkCanDeleteComponent: E,
4149
+ checkCanDeleteComponent: S,
4150
4150
  checkCanMoveComponent: X,
4151
4151
  getStyles: x,
4152
4152
  getPropsConfig: j,
4153
4153
  hideNestedPaddingInDesginerView: N,
4154
4154
  onAcceptMovedChildElement: L,
4155
- onResolveNewComponentSchema: R,
4155
+ onResolveNewComponentSchema: $,
4156
4156
  moveInputBetweenComponent: A,
4157
- resolveFormGroupAppearance: P,
4158
- syncFieldToViewModel: O
4157
+ resolveFormGroupAppearance: O,
4158
+ syncFieldToViewModel: P
4159
4159
  };
4160
4160
  }
4161
4161
  const Ke = class Ke {
@@ -4269,7 +4269,7 @@ He(
4269
4269
  qt,
4270
4270
  void 0
4271
4271
  );
4272
- const Ea = "https://json-schema.org/draft/2020-12/schema", Ba = "https://farris-design.gitee.io/grid-field-editor.schema.json", ka = "response-form-layout-setting", Oa = "A Farris Data Grid Component", Pa = "object", Na = {
4272
+ const Ea = "https://json-schema.org/draft/2020-12/schema", Ba = "https://farris-design.gitee.io/grid-field-editor.schema.json", ka = "response-form-layout-setting", Pa = "A Farris Data Grid Component", Oa = "object", Na = {
4273
4273
  id: {
4274
4274
  description: "The unique identifier for a Input Group",
4275
4275
  type: "string"
@@ -4290,8 +4290,8 @@ const Ea = "https://json-schema.org/draft/2020-12/schema", Ba = "https://farris-
4290
4290
  $schema: Ea,
4291
4291
  $id: Ba,
4292
4292
  title: ka,
4293
- description: Oa,
4294
- type: Pa,
4293
+ description: Pa,
4294
+ type: Oa,
4295
4295
  properties: Na,
4296
4296
  required: La
4297
4297
  }, Va = {
@@ -4306,7 +4306,7 @@ const Ea = "https://json-schema.org/draft/2020-12/schema", Ba = "https://farris-
4306
4306
  }
4307
4307
  };
4308
4308
  an(Va, Da, Ki, oa);
4309
- const Ra = {
4309
+ const $a = {
4310
4310
  width: { Type: Number, default: 400 },
4311
4311
  type: { Type: String, default: "info" },
4312
4312
  title: { Type: String, default: "" },
@@ -4322,7 +4322,7 @@ const Ra = {
4322
4322
  function Wt() {
4323
4323
  return new DOMException("The request is not allowed", "NotAllowedError");
4324
4324
  }
4325
- async function $a(n) {
4325
+ async function Ra(n) {
4326
4326
  if (!navigator.clipboard)
4327
4327
  throw Wt();
4328
4328
  return navigator.clipboard.writeText(n);
@@ -4343,7 +4343,7 @@ async function ja(n) {
4343
4343
  }
4344
4344
  async function Aa(n) {
4345
4345
  try {
4346
- await $a(n);
4346
+ await Ra(n);
4347
4347
  } catch (e) {
4348
4348
  try {
4349
4349
  await ja(n);
@@ -4369,7 +4369,7 @@ function Ua(n, e, t, o) {
4369
4369
  u.value = m.length;
4370
4370
  }
4371
4371
  }
4372
- return () => F(lt, null, [F("textarea", {
4372
+ return () => E(lt, null, [E("textarea", {
4373
4373
  title: "promptMessage",
4374
4374
  name: "promptMessage",
4375
4375
  class: "form-control",
@@ -4377,7 +4377,7 @@ function Ua(n, e, t, o) {
4377
4377
  rows: "4",
4378
4378
  maxlength: a.value,
4379
4379
  onInput: (l) => f(l)
4380
- }, [c.value]), F("span", {
4380
+ }, [c.value]), E("span", {
4381
4381
  class: "textarea-wordcount",
4382
4382
  title: r.value,
4383
4383
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
@@ -4463,21 +4463,21 @@ function Ga(n, e) {
4463
4463
  function m() {
4464
4464
  c.value = !c.value;
4465
4465
  }
4466
- return () => F("div", {
4466
+ return () => E("div", {
4467
4467
  class: "toast-msg-detail"
4468
- }, [i.value && F("div", null, [a.value]), r.value && F("div", {
4468
+ }, [i.value && E("div", null, [a.value]), r.value && E("div", {
4469
4469
  class: "exception_wrap"
4470
- }, [F("div", {
4470
+ }, [E("div", {
4471
4471
  class: "exception_error_msg"
4472
- }, [F("div", {
4472
+ }, [E("div", {
4473
4473
  innerHTML: f.value
4474
- }, null), u.value && F("span", {
4474
+ }, null), u.value && E("span", {
4475
4475
  style: l.value,
4476
4476
  onClick: m
4477
4477
  }, [s.value])])])]);
4478
4478
  }
4479
4479
  function Xa(n) {
4480
- return () => F("p", {
4480
+ return () => E("p", {
4481
4481
  class: "toast-msg-detail",
4482
4482
  innerHTML: n.value
4483
4483
  }, null);
@@ -4496,13 +4496,13 @@ function Ha(n, e, t, o, i) {
4496
4496
  wordBreak: "keep-all",
4497
4497
  overflowWrap: "break-word"
4498
4498
  } : {});
4499
- return () => F(lt, null, [F("div", {
4499
+ return () => E(lt, null, [E("div", {
4500
4500
  class: "float-left modal-tips-iconwrap"
4501
- }, [F("span", {
4501
+ }, [E("span", {
4502
4502
  class: r.value
4503
- }, null)]), F("div", {
4503
+ }, null)]), E("div", {
4504
4504
  class: "modal-tips-content"
4505
- }, [F("p", {
4505
+ }, [E("p", {
4506
4506
  class: "toast-msg-title",
4507
4507
  innerHTML: u.value,
4508
4508
  style: p.value
@@ -4527,9 +4527,9 @@ function Ya(n, e, t, o) {
4527
4527
  }, 700);
4528
4528
  });
4529
4529
  }
4530
- return () => F("span", {
4530
+ return () => E("span", {
4531
4531
  style: "width: 100%;color: #2A87FF;padding-left: 37px;"
4532
- }, [F("span", {
4532
+ }, [E("span", {
4533
4533
  onClick: f,
4534
4534
  style: "cursor: pointer;"
4535
4535
  }, [u.value])]);
@@ -4543,26 +4543,26 @@ function Ja(n, e, t, o, i) {
4543
4543
  function C(B) {
4544
4544
  a.value === "question" && e.emit("accept"), e.emit("close");
4545
4545
  }
4546
- return () => F("div", {
4546
+ return () => E("div", {
4547
4547
  class: "modal-footer"
4548
- }, [p.value && v(), d.value && f.value && F("button", {
4548
+ }, [p.value && v(), d.value && f.value && E("button", {
4549
4549
  type: "button",
4550
4550
  class: "btn btn-secondary btn-lg",
4551
4551
  onClick: g
4552
- }, [s.value]), d.value && l.value && F("button", {
4552
+ }, [s.value]), d.value && l.value && E("button", {
4553
4553
  type: "button",
4554
4554
  class: "btn btn-primary btn-lg",
4555
4555
  onClick: C
4556
- }, [c.value]), m.value && r.value.length && r.value.map((B) => F("button", {
4556
+ }, [c.value]), m.value && r.value.length && r.value.map((B) => E("button", {
4557
4557
  type: "button",
4558
4558
  onClick: B.handle,
4559
4559
  class: B.class
4560
- }, [B.iconClass && F("span", {
4560
+ }, [B.iconClass && E("span", {
4561
4561
  class: B.iconClass
4562
4562
  }, null), B.text]))]);
4563
4563
  }
4564
4564
  function Qa(n) {
4565
- const { t: e, locale: t } = $t();
4565
+ const { t: e, locale: t } = Rt();
4566
4566
  function o(i, a, r) {
4567
4567
  return a === r ? e(i) : a;
4568
4568
  }
@@ -4589,7 +4589,7 @@ function Qa(n) {
4589
4589
  }
4590
4590
  const vt = /* @__PURE__ */ Ee({
4591
4591
  name: "FMessageBox",
4592
- props: Ra,
4592
+ props: $a,
4593
4593
  emits: ["accept", "reject", "close"],
4594
4594
  setup(n, e) {
4595
4595
  const t = Qa(n), o = M(n.type), i = M(n.title), a = M(n.detail), r = H(() => {
@@ -4610,7 +4610,7 @@ const vt = /* @__PURE__ */ Ee({
4610
4610
  } = f;
4611
4611
  m.value = t.exception.copySuccess;
4612
4612
  function p() {
4613
- return F("div", {
4613
+ return E("div", {
4614
4614
  style: l.value
4615
4615
  }, [m.value]);
4616
4616
  }
@@ -4623,12 +4623,12 @@ const vt = /* @__PURE__ */ Ee({
4623
4623
  }
4624
4624
  }
4625
4625
  const v = d(), g = Ja(n, e, c, f, t);
4626
- return () => F("div", {
4626
+ return () => E("div", {
4627
4627
  class: "farris-messager"
4628
- }, [!n.exceptionInfo && F("div", {
4628
+ }, [!n.exceptionInfo && E("div", {
4629
4629
  style: "height: 30px;width: 100%;position: absolute;",
4630
4630
  class: "messager-draggable"
4631
- }, null), F("section", {
4631
+ }, null), E("section", {
4632
4632
  class: r.value,
4633
4633
  style: u.value
4634
4634
  }, [v()]), g(), p()]);
@@ -4941,10 +4941,10 @@ function pr(n, e) {
4941
4941
  const I = o.value || document.body, T = window.getComputedStyle(I);
4942
4942
  if (!T || !t.value)
4943
4943
  return;
4944
- const $ = le.getTransformInfo(t.value), S = {};
4945
- c.value && (S.deltaL = t.value.offsetLeft - c.value.x, S.deltaT = t.value.offsetTop - c.value.y);
4944
+ const R = le.getTransformInfo(t.value), F = {};
4945
+ c.value && (F.deltaL = t.value.offsetLeft - c.value.x, F.deltaT = t.value.offsetTop - c.value.y);
4946
4946
  const z = T.getPropertyValue("position");
4947
- S.width = I.clientWidth, S.height = I.clientHeight, S.pr = parseInt(T.getPropertyValue("padding-right"), 10), S.pb = parseInt(T.getPropertyValue("padding-bottom"), 10), S.position = T.getPropertyValue("position"), z === "static" && (I.style.position = "relative"), S.translateX = $.x, S.translateY = $.y, l.value = S;
4947
+ F.width = I.clientWidth, F.height = I.clientHeight, F.pr = parseInt(T.getPropertyValue("padding-right"), 10), F.pb = parseInt(T.getPropertyValue("padding-bottom"), 10), F.position = T.getPropertyValue("position"), z === "static" && (I.style.position = "relative"), F.translateX = R.x, F.translateY = R.y, l.value = F;
4948
4948
  }
4949
4949
  function B(I) {
4950
4950
  if (t.value) {
@@ -4959,10 +4959,10 @@ function pr(n, e) {
4959
4959
  }
4960
4960
  }
4961
4961
  function A() {
4962
- var I, T, $, S;
4962
+ var I, T, R, F;
4963
4963
  if (t.value) {
4964
4964
  const z = t.value;
4965
- s.value && ((s.value.n || s.value.s) && ((I = u.value) != null && I.height) && (z.style.height = u.value.height + "px"), (s.value.w || s.value.e) && ((T = u.value) != null && T.width) && (z.style.width = u.value.width + "px"), c.value && (($ = c.value) != null && $.x && (z.style.left = c.value.x + "px"), (S = c.value) != null && S.y && (z.style.top = c.value.y + "px")));
4965
+ s.value && ((s.value.n || s.value.s) && ((I = u.value) != null && I.height) && (z.style.height = u.value.height + "px"), (s.value.w || s.value.e) && ((T = u.value) != null && T.width) && (z.style.width = u.value.width + "px"), c.value && ((R = c.value) != null && R.x && (z.style.left = c.value.x + "px"), (F = c.value) != null && F.y && (z.style.top = c.value.y + "px")));
4966
4966
  }
4967
4967
  }
4968
4968
  function L() {
@@ -4973,8 +4973,8 @@ function pr(n, e) {
4973
4973
  if (o.value) {
4974
4974
  const I = l.value;
4975
4975
  if (c.value && u.value && s.value && a.value) {
4976
- const T = I.width - I.pr - I.deltaL - I.translateX - c.value.x, $ = I.height - I.pb - I.deltaT - I.translateY - c.value.y;
4977
- s.value.n && c.value.y + I.translateY < 0 && r.value && (c.value.y = -I.translateY, u.value.height = a.value.height + r.value.y + I.translateY), s.value.w && c.value.x + I.translateX < 0 && r.value && (c.value.x = -I.translateX, u.value.width = a.value.width + r.value.x + I.translateX), u.value.width > T && (u.value.width = T), u.value.height > $ && (u.value.height = $);
4976
+ const T = I.width - I.pr - I.deltaL - I.translateX - c.value.x, R = I.height - I.pb - I.deltaT - I.translateY - c.value.y;
4977
+ s.value.n && c.value.y + I.translateY < 0 && r.value && (c.value.y = -I.translateY, u.value.height = a.value.height + r.value.y + I.translateY), s.value.w && c.value.x + I.translateX < 0 && r.value && (c.value.x = -I.translateX, u.value.width = a.value.width + r.value.x + I.translateX), u.value.width > T && (u.value.width = T), u.value.height > R && (u.value.height = R);
4978
4978
  }
4979
4979
  }
4980
4980
  }
@@ -4982,22 +4982,22 @@ function pr(n, e) {
4982
4982
  if (!i.value || !a.value || !r.value || !s.value)
4983
4983
  return;
4984
4984
  I.subtract(i.value);
4985
- const T = I.x, $ = I.y;
4986
- s.value.n ? (c.value.y = r.value.y + $, u.value.height = a.value.height - $) : s.value.s && (u.value.height = a.value.height + $), s.value.e ? u.value.width = a.value.width + T : s.value.w && (u.value.width = a.value.width - T, c.value.x = r.value.x + T), x(), L(), A();
4985
+ const T = I.x, R = I.y;
4986
+ s.value.n ? (c.value.y = r.value.y + R, u.value.height = a.value.height - R) : s.value.s && (u.value.height = a.value.height + R), s.value.e ? u.value.width = a.value.width + T : s.value.w && (u.value.width = a.value.width - T, c.value.x = r.value.x + T), x(), L(), A();
4987
4987
  }
4988
- function P(I) {
4988
+ function O(I) {
4989
4989
  if (!f.value)
4990
4990
  return;
4991
4991
  const T = le.fromEvent(I);
4992
4992
  T && b(T);
4993
4993
  }
4994
- function O() {
4994
+ function P() {
4995
4995
  if (t.value) {
4996
4996
  const {
4997
4997
  width: I,
4998
4998
  height: T,
4999
- x: $,
5000
- y: S
4999
+ x: R,
5000
+ y: F
5001
5001
  } = t.value.getBoundingClientRect(), z = le.getTransformInfo(t.value);
5002
5002
  return {
5003
5003
  size: {
@@ -5005,65 +5005,65 @@ function pr(n, e) {
5005
5005
  height: T
5006
5006
  },
5007
5007
  position: {
5008
- x: $ - z.x,
5009
- y: S - z.y
5008
+ x: R - z.x,
5009
+ y: F - z.y
5010
5010
  }
5011
5011
  };
5012
5012
  }
5013
5013
  return null;
5014
5014
  }
5015
- function R(I) {
5015
+ function $(I) {
5016
5016
  if (t.value) {
5017
- const T = O();
5017
+ const T = P();
5018
5018
  m.value = T;
5019
5019
  }
5020
- i.value = void 0, a.value = null, r.value = null, u.value = null, c.value = null, s.value = null, f.value = null, document.removeEventListener("mousemove", P), document.removeEventListener("mouseup", R);
5020
+ i.value = void 0, a.value = null, r.value = null, u.value = null, c.value = null, s.value = null, f.value = null, document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", $);
5021
5021
  }
5022
5022
  function X() {
5023
- document.addEventListener("mousemove", P), document.addEventListener("mouseup", R);
5023
+ document.addEventListener("mousemove", O), document.addEventListener("mouseup", $);
5024
5024
  }
5025
- function E(I) {
5025
+ function S(I) {
5026
5026
  I instanceof MouseEvent && I.button === 2 || v.value && (document.body.click(), I.stopPropagation(), I.preventDefault(), i.value = le.fromEvent(I), f.value = I.target, B(I), X());
5027
5027
  }
5028
5028
  function N(I) {
5029
- return t.value = I, p.value && F(lt, null, [F("div", {
5029
+ return t.value = I, p.value && E(lt, null, [E("div", {
5030
5030
  class: "fv-resizable-handle fv-resizable-n",
5031
5031
  type: "n",
5032
- onMousedown: (T) => E(T)
5033
- }, null), F("div", {
5032
+ onMousedown: (T) => S(T)
5033
+ }, null), E("div", {
5034
5034
  class: "fv-resizable-handle fv-resizable-e",
5035
5035
  type: "e",
5036
- onMousedown: (T) => E(T)
5037
- }, null), F("div", {
5036
+ onMousedown: (T) => S(T)
5037
+ }, null), E("div", {
5038
5038
  class: "fv-resizable-handle fv-resizable-s",
5039
5039
  type: "s",
5040
- onMousedown: (T) => E(T)
5041
- }, null), F("div", {
5040
+ onMousedown: (T) => S(T)
5041
+ }, null), E("div", {
5042
5042
  class: "fv-resizable-handle fv-resizable-w",
5043
5043
  type: "w",
5044
- onMousedown: (T) => E(T)
5045
- }, null), F("div", {
5044
+ onMousedown: (T) => S(T)
5045
+ }, null), E("div", {
5046
5046
  class: "fv-resizable-handle fv-resizable-ne",
5047
5047
  type: "ne",
5048
- onMousedown: (T) => E(T)
5049
- }, null), F("div", {
5048
+ onMousedown: (T) => S(T)
5049
+ }, null), E("div", {
5050
5050
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
5051
5051
  type: "se",
5052
- onMousedown: (T) => E(T)
5053
- }, null), F("div", {
5052
+ onMousedown: (T) => S(T)
5053
+ }, null), E("div", {
5054
5054
  class: "fv-resizable-handle fv-resizable-sw",
5055
5055
  type: "sw",
5056
- onMousedown: (T) => E(T)
5057
- }, null), F("div", {
5056
+ onMousedown: (T) => S(T)
5057
+ }, null), E("div", {
5058
5058
  class: "fv-resizable-handle fv-resizable-nw",
5059
5059
  type: "nw",
5060
- onMousedown: (T) => E(T)
5060
+ onMousedown: (T) => S(T)
5061
5061
  }, null)]);
5062
5062
  }
5063
5063
  function j(I = !0) {
5064
5064
  document.body.click();
5065
- const T = o.value || document.body, $ = Ge.getCurrent(T), S = t.value;
5066
- I && S && (d.value = O(), d.value.transform = S.style.transform), $ && S && (u.value = $, u.value.height -= 14, u.value.width -= 14, S.style.height = u.value.height + "px", S.style.width = u.value.width + "px", S.style.left = "7px", S.style.top = "7px", S.style.transform = "", m.value = {
5065
+ const T = o.value || document.body, R = Ge.getCurrent(T), F = t.value;
5066
+ I && F && (d.value = P(), d.value.transform = F.style.transform), R && F && (u.value = R, u.value.height -= 14, u.value.width -= 14, F.style.height = u.value.height + "px", F.style.width = u.value.width + "px", F.style.left = "7px", F.style.top = "7px", F.style.transform = "", m.value = {
5067
5067
  size: u.value,
5068
5068
  position: {
5069
5069
  x: 0,
@@ -5074,18 +5074,18 @@ function pr(n, e) {
5074
5074
  function h() {
5075
5075
  var I, T;
5076
5076
  if (document.body.click(), d.value) {
5077
- const $ = {
5077
+ const R = {
5078
5078
  width: d.value.size.width || 0,
5079
5079
  height: d.value.size.height || 0
5080
- }, S = {
5081
- x: (window.innerWidth - $.width) / 2,
5082
- y: (window.innerHeight - $.height) / 2
5080
+ }, F = {
5081
+ x: (window.innerWidth - R.width) / 2,
5082
+ y: (window.innerHeight - R.height) / 2
5083
5083
  };
5084
- (I = u.value) == null || I.set($), (T = c.value) == null || T.set(S);
5084
+ (I = u.value) == null || I.set(R), (T = c.value) == null || T.set(F);
5085
5085
  const z = t.value;
5086
- z.style.height = $.height + "px", z.style.width = $.width + "px", z.style.left = `${S.x}px`, z.style.top = `${S.y}px`, z.style.transform = "", m.value = {
5087
- size: $,
5088
- position: S
5086
+ z.style.height = R.height + "px", z.style.width = R.width + "px", z.style.left = `${F.x}px`, z.style.top = `${F.y}px`, z.style.transform = "", m.value = {
5087
+ size: R,
5088
+ position: F
5089
5089
  }, v.value = n.draggable, g.value = !1;
5090
5090
  }
5091
5091
  }
@@ -5095,9 +5095,9 @@ function pr(n, e) {
5095
5095
  if (I) {
5096
5096
  const {
5097
5097
  width: T,
5098
- height: $
5098
+ height: R
5099
5099
  } = I;
5100
- t.value.style.left = `${(window.innerWidth - T) / 2}px`, t.value.style.top = `${(window.innerHeight - $) / 2}px`, t.value.style.transform = "";
5100
+ t.value.style.left = `${(window.innerWidth - T) / 2}px`, t.value.style.top = `${(window.innerHeight - R) / 2}px`, t.value.style.transform = "";
5101
5101
  }
5102
5102
  }
5103
5103
  }
@@ -5124,77 +5124,77 @@ function pr(n, e) {
5124
5124
  }
5125
5125
  function fr(n, e, t) {
5126
5126
  const o = M(), i = M(n.draggable), a = M(n.lockAxis), r = M(), u = M(), c = M(!1), s = M(new le(0, 0)), f = M(new le(0, 0)), l = M(new le(0, 0)), m = M(new le(0, 0));
5127
- Fe(() => t.value, (P) => {
5128
- r.value.style.cursor = P ? "move" : "default";
5127
+ Fe(() => t.value, (O) => {
5128
+ r.value.style.cursor = O ? "move" : "default";
5129
5129
  });
5130
- function p(P, O) {
5131
- if (O.tagName === "BUTTON")
5130
+ function p(O, P) {
5131
+ if (P.tagName === "BUTTON")
5132
5132
  return !1;
5133
- if (O === P)
5133
+ if (P === O)
5134
5134
  return !0;
5135
- for (const R in O.children)
5136
- if (Object.prototype.hasOwnProperty.call(O.children, R) && p(P, O.children[R]))
5135
+ for (const $ in P.children)
5136
+ if (Object.prototype.hasOwnProperty.call(P.children, $) && p(O, P.children[$]))
5137
5137
  return !0;
5138
5138
  return !1;
5139
5139
  }
5140
5140
  function d() {
5141
- var X, E;
5142
- let P = l.value.x + f.value.x, O = l.value.y + f.value.y;
5143
- a.value === "x" ? (P = ((X = s.value) == null ? void 0 : X.x) || 0, l.value.x = 0) : a.value === "y" && (O = ((E = s.value) == null ? void 0 : E.y) || 0, l.value.y = 0);
5144
- const R = `translate3d(${Math.round(P)}px, ${Math.round(O)}px, 0px)`;
5145
- o.value && (o.value.style.transform = R), m.value.x = P, m.value.y = O;
5141
+ var X, S;
5142
+ let O = l.value.x + f.value.x, P = l.value.y + f.value.y;
5143
+ a.value === "x" ? (O = ((X = s.value) == null ? void 0 : X.x) || 0, l.value.x = 0) : a.value === "y" && (P = ((S = s.value) == null ? void 0 : S.y) || 0, l.value.y = 0);
5144
+ const $ = `translate3d(${Math.round(O)}px, ${Math.round(P)}px, 0px)`;
5145
+ o.value && (o.value.style.transform = $), m.value.x = O, m.value.y = P;
5146
5146
  }
5147
5147
  function v() {
5148
5148
  if (!u.value || !o.value)
5149
5149
  return null;
5150
- const P = u.value.getBoundingClientRect(), O = o.value.getBoundingClientRect(), R = {
5151
- top: P.top < O.top,
5152
- right: P.right > O.right,
5153
- bottom: P.bottom > O.bottom,
5154
- left: P.left < O.left
5150
+ const O = u.value.getBoundingClientRect(), P = o.value.getBoundingClientRect(), $ = {
5151
+ top: O.top < P.top,
5152
+ right: O.right > P.right,
5153
+ bottom: O.bottom > P.bottom,
5154
+ left: O.left < P.left
5155
5155
  };
5156
- return R.top || (l.value.y -= O.top - P.top), R.bottom || (l.value.y -= O.bottom - P.bottom), R.right || (l.value.x -= O.right - P.right), R.left || (l.value.x -= O.left - P.left), d(), R;
5156
+ return $.top || (l.value.y -= P.top - O.top), $.bottom || (l.value.y -= P.bottom - O.bottom), $.right || (l.value.x -= P.right - O.right), $.left || (l.value.x -= P.left - O.left), d(), $;
5157
5157
  }
5158
- function g(P) {
5159
- P && (s.value && P.subtract(s.value), l.value.set(P), d(), v());
5158
+ function g(O) {
5159
+ O && (s.value && O.subtract(s.value), l.value.set(O), d(), v());
5160
5160
  }
5161
- function C(P) {
5162
- c.value && i.value && (P.stopPropagation(), P.preventDefault(), g(le.fromEvent(P, r.value)));
5161
+ function C(O) {
5162
+ c.value && i.value && (O.stopPropagation(), O.preventDefault(), g(le.fromEvent(O, r.value)));
5163
5163
  }
5164
5164
  function B() {
5165
- var P;
5166
- c.value && (c.value = !1, f.value.add(l.value), l.value.reset(), (P = o.value) == null || P.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", B));
5165
+ var O;
5166
+ c.value && (c.value = !1, f.value.add(l.value), l.value.reset(), (O = o.value) == null || O.classList.remove("ng-dragging"), e.emit("stopMove"), document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", B));
5167
5167
  }
5168
5168
  function A() {
5169
5169
  !c.value && r.value && (c.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", C), document.addEventListener("mouseup", B));
5170
5170
  }
5171
5171
  function L() {
5172
5172
  if (o.value) {
5173
- const P = le.getTransformInfo(o.value);
5174
- f.value.set(P);
5173
+ const O = le.getTransformInfo(o.value);
5174
+ f.value.set(O);
5175
5175
  return;
5176
5176
  }
5177
5177
  f.value.reset();
5178
5178
  }
5179
- function x(P) {
5180
- if (!t.value || P instanceof MouseEvent && P.button === 2)
5179
+ function x(O) {
5180
+ if (!t.value || O instanceof MouseEvent && O.button === 2)
5181
5181
  return;
5182
- const O = P.target || P.srcElement;
5183
- r.value !== void 0 && O && !p(O, r.value) || i.value !== !1 && (document.body.click(), P.stopPropagation(), P.preventDefault(), s.value = le.fromEvent(P, o.value), L(), A());
5182
+ const P = O.target || O.srcElement;
5183
+ r.value !== void 0 && P && !p(P, r.value) || i.value !== !1 && (document.body.click(), O.stopPropagation(), O.preventDefault(), s.value = le.fromEvent(O, o.value), L(), A());
5184
5184
  }
5185
- function b(P, O, R) {
5186
- if (i.value && O) {
5187
- if (P)
5188
- r.value = P;
5185
+ function b(O, P, $) {
5186
+ if (i.value && P) {
5187
+ if (O)
5188
+ r.value = O;
5189
5189
  else if (n.dragHandle) {
5190
5190
  if (n.dragHandle instanceof HTMLElement)
5191
5191
  r.value = n.dragHandle;
5192
5192
  else if (typeof n.dragHandle == "string") {
5193
- const X = O.querySelector(n.dragHandle);
5193
+ const X = P.querySelector(n.dragHandle);
5194
5194
  X && (r.value = X);
5195
5195
  }
5196
5196
  }
5197
- o.value = O, u.value = R, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", x)) : i.value = !1;
5197
+ o.value = P, u.value = $, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", x)) : i.value = !1;
5198
5198
  }
5199
5199
  }
5200
5200
  return {
@@ -5237,7 +5237,7 @@ const Xe = /* @__PURE__ */ Ee({
5237
5237
  setup(n, e) {
5238
5238
  const t = M(n.width || 300), o = M(n.height || 200), i = M(n.modelValue), a = M(""), r = M(n.class), u = M(n.fitContent), c = M(n.showHeader), s = M(""), f = M(n.showCloseButton), l = M(n.showMaxButton), m = M(!1), p = M(n.dialogType), d = M(n.src), v = M(""), g = M(n.showButtons), C = M(n.title), B = M(n.containment || null), A = M(), {
5239
5239
  t: L
5240
- } = $t();
5240
+ } = Rt();
5241
5241
  C.value === "错误提示" && (C.value = L("messageBox.errorTitle"));
5242
5242
  const x = M(!1);
5243
5243
  function b(V, ne) {
@@ -5251,7 +5251,7 @@ const Xe = /* @__PURE__ */ Ee({
5251
5251
  de && (i.value = !1, e.emit("update:modelValue", !1), ne != null && e.emit(ne ? "accept" : "cancel"), e.emit("closed", V));
5252
5252
  });
5253
5253
  }
5254
- const P = [{
5254
+ const O = [{
5255
5255
  name: "cancel",
5256
5256
  text: L("messageBox.cancel") || "取消",
5257
5257
  class: "btn btn-secondary",
@@ -5265,15 +5265,15 @@ const Xe = /* @__PURE__ */ Ee({
5265
5265
  handle: (V) => {
5266
5266
  b(V, !0);
5267
5267
  }
5268
- }], O = M(n.buttons && n.buttons.length ? n.buttons : P), R = H(() => !!s.value), X = H(() => !!g.value && !!O.value), E = M(), N = M(), j = M(!1), {
5268
+ }], P = M(n.buttons && n.buttons.length ? n.buttons : O), $ = H(() => !!s.value), X = H(() => !!g.value && !!P.value), S = M(), N = M(), j = M(!1), {
5269
5269
  renderResizeBar: h,
5270
5270
  maximize: y,
5271
5271
  restore: k,
5272
5272
  boundingElement: _,
5273
5273
  resizedEventParam: I,
5274
5274
  allowDrag: T,
5275
- unWindowResizeHandle: $,
5276
- moveToCenter: S
5275
+ unWindowResizeHandle: R,
5276
+ moveToCenter: F
5277
5277
  } = pr(n), {
5278
5278
  registerDraggle: z
5279
5279
  } = fr(n, e, T);
@@ -5287,8 +5287,8 @@ const Xe = /* @__PURE__ */ Ee({
5287
5287
  Fe(() => n.title, (V, ne) => {
5288
5288
  V !== ne && (C.value = V);
5289
5289
  }), Fe(() => n.modelValue, (V, ne) => {
5290
- V !== ne && (i.value = V, i.value && n.draggable && Rt(() => {
5291
- N.value && !B.value && (B.value = N.value.parentElement, _.value = B.value, z(E.value, N.value, _.value), S());
5290
+ V !== ne && (i.value = V, i.value && n.draggable && $t(() => {
5291
+ N.value && !B.value && (B.value = N.value.parentElement, _.value = B.value, z(S.value, N.value, _.value), F());
5292
5292
  }), V || (B.value && (B.value = null), te())), i.value ? x.value = K() : (j.value = !1, T.value = n.draggable);
5293
5293
  }), Fe(() => n.showHeader, (V, ne) => {
5294
5294
  V !== ne && (c.value = V);
@@ -5336,7 +5336,7 @@ const Xe = /* @__PURE__ */ Ee({
5336
5336
  }), je = H(() => ({
5337
5337
  "modal-content": !0,
5338
5338
  "modal-content-has-header": c.value
5339
- })), Oe = H(() => {
5339
+ })), Pe = H(() => {
5340
5340
  const V = {
5341
5341
  display: c.value ? "" : "none"
5342
5342
  };
@@ -5371,49 +5371,49 @@ const Xe = /* @__PURE__ */ Ee({
5371
5371
  async function tt(V, ne) {
5372
5372
  V.handle && await V.handle(ne, V) && e.emit("closed", ne);
5373
5373
  }
5374
- function Pe(V) {
5375
- V.width && (t.value = V.width), V.height && (o.value = V.height), V.buttons && (O.value = V.buttons), V.title && (C.value = V.title);
5374
+ function Oe(V) {
5375
+ V.width && (t.value = V.width), V.height && (o.value = V.height), V.buttons && (P.value = V.buttons), V.title && (C.value = V.title);
5376
5376
  }
5377
5377
  let Ne = null, xe = null;
5378
- Rn(() => {
5378
+ $n(() => {
5379
5379
  x.value = K();
5380
5380
  }), et(() => {
5381
- N.value && !B.value && (B.value = N.value.parentElement, _.value = B.value, z(E.value, N.value, _.value)), J.value && document.body.classList.add("modal-open"), Ne = mr(n, e), xe = vr(n, e);
5381
+ N.value && !B.value && (B.value = N.value.parentElement, _.value = B.value, z(S.value, N.value, _.value)), J.value && document.body.classList.add("modal-open"), Ne = mr(n, e), xe = vr(n, e);
5382
5382
  }), gt(() => {
5383
- $ && $(), Ne && Ne.remove(), xe && xe.remove();
5383
+ R && R(), Ne && Ne.remove(), xe && xe.remove();
5384
5384
  }), e.expose({
5385
5385
  modalElementRef: N,
5386
- updateModalOptions: Pe,
5386
+ updateModalOptions: Oe,
5387
5387
  close: b,
5388
5388
  maxDialog: ce,
5389
5389
  isMaximized: j
5390
5390
  });
5391
5391
  function Le() {
5392
- return F("ul", null, [m.value && F("li", {
5392
+ return E("ul", null, [m.value && E("li", {
5393
5393
  class: "f-btn-icon f-bare"
5394
- }, [F("span", {
5394
+ }, [E("span", {
5395
5395
  class: "f-icon modal_minimize"
5396
- }, null)]), l.value && F("li", {
5396
+ }, null)]), l.value && E("li", {
5397
5397
  onClick: ce,
5398
5398
  class: "f-btn-icon f-bare",
5399
5399
  style: "pointer-events: auto;"
5400
- }, [F("span", {
5400
+ }, [E("span", {
5401
5401
  class: Te.value
5402
- }, null)]), f.value && F("li", {
5402
+ }, null)]), f.value && E("li", {
5403
5403
  class: "f-btn-icon f-bare",
5404
5404
  onClick: (V) => b(V, !1),
5405
5405
  style: "pointer-events: auto;"
5406
- }, [F("span", {
5406
+ }, [E("span", {
5407
5407
  class: "f-icon modal_close"
5408
5408
  }, null)])]);
5409
5409
  }
5410
5410
  function nt() {
5411
- return F("div", {
5411
+ return E("div", {
5412
5412
  class: "modal-footer",
5413
5413
  style: Je.value
5414
- }, [O.value && O.value.map((V) => {
5414
+ }, [P.value && P.value.map((V) => {
5415
5415
  const ne = M(V.disabled);
5416
- return F("button", {
5416
+ return E("button", {
5417
5417
  name: V.name,
5418
5418
  type: "button",
5419
5419
  disabled: ne.value,
@@ -5421,24 +5421,24 @@ const Xe = /* @__PURE__ */ Ee({
5421
5421
  onClick: (ue) => {
5422
5422
  tt(V, ue);
5423
5423
  }
5424
- }, [!!V.iconClass && F("i", {
5424
+ }, [!!V.iconClass && E("i", {
5425
5425
  class: V.iconClass
5426
5426
  }, null), V.text]);
5427
5427
  })]);
5428
5428
  }
5429
5429
  function ze() {
5430
- return F("div", {
5431
- ref: E,
5430
+ return E("div", {
5431
+ ref: S,
5432
5432
  class: "modal-header",
5433
- style: Oe.value
5434
- }, [e.slots.headerTemplate ? e.slots.headerTemplate() : F("div", {
5433
+ style: Pe.value
5434
+ }, [e.slots.headerTemplate ? e.slots.headerTemplate() : E("div", {
5435
5435
  class: "modal-title"
5436
- }, [R.value && F("span", {
5436
+ }, [$.value && E("span", {
5437
5437
  class: s.value,
5438
5438
  style: "margin-right: 8px"
5439
- }, null), F("span", {
5439
+ }, null), E("span", {
5440
5440
  class: "modal-title-label"
5441
- }, [C.value])]), F("div", {
5441
+ }, [C.value])]), E("div", {
5442
5442
  class: "actions"
5443
5443
  }, [Le()])]);
5444
5444
  }
@@ -5454,16 +5454,16 @@ const Xe = /* @__PURE__ */ Ee({
5454
5454
  }
5455
5455
  function Qe() {
5456
5456
  var V, ne;
5457
- return F("div", {
5457
+ return E("div", {
5458
5458
  id: a.value,
5459
5459
  class: re.value,
5460
5460
  style: ee.value,
5461
5461
  ref: N
5462
- }, [F("div", {
5462
+ }, [E("div", {
5463
5463
  class: je.value
5464
- }, [c.value && ze(), F("div", {
5464
+ }, [c.value && ze(), E("div", {
5465
5465
  class: Ye.value
5466
- }, [(ne = (V = e.slots).default) == null ? void 0 : ne.call(V), p.value === "iframe" && F("iframe", {
5466
+ }, [(ne = (V = e.slots).default) == null ? void 0 : ne.call(V), p.value === "iframe" && E("iframe", {
5467
5467
  title: a.value,
5468
5468
  class: "f-utils-fill",
5469
5469
  width: "100%",
@@ -5474,14 +5474,14 @@ const Xe = /* @__PURE__ */ Ee({
5474
5474
  function Ze(V) {
5475
5475
  return V || "body";
5476
5476
  }
5477
- return () => F($n, {
5477
+ return () => E(Rn, {
5478
5478
  to: Ze(n.host)
5479
5479
  }, {
5480
- default: () => [J.value && F(on, {
5480
+ default: () => [J.value && E(on, {
5481
5481
  name: "fade",
5482
5482
  appear: !0
5483
5483
  }, {
5484
- default: () => [F("div", {
5484
+ default: () => [E("div", {
5485
5485
  ref: A,
5486
5486
  class: ie.value,
5487
5487
  style: se.value,
@@ -5516,7 +5516,7 @@ function hr(n) {
5516
5516
  return et(() => {
5517
5517
  }), i.expose({
5518
5518
  modalRef: a
5519
- }), () => F(Xe, {
5519
+ }), () => E(Xe, {
5520
5520
  ref: a,
5521
5521
  class: r.value,
5522
5522
  modelValue: f.value,
@@ -5595,14 +5595,14 @@ class In {
5595
5595
  });
5596
5596
  let f;
5597
5597
  const l = xn(o.value), m = (x) => {
5598
- var P;
5598
+ var O;
5599
5599
  i.value = !1;
5600
- const b = (P = x == null ? void 0 : x.target) == null ? void 0 : P.classList.contains("modal_close");
5600
+ const b = (O = x == null ? void 0 : x.target) == null ? void 0 : O.classList.contains("modal_close");
5601
5601
  u(x, this.isUseEscCloseModal.value ? "esc" : b ? "icon" : "button");
5602
5602
  }, p = (x) => {
5603
- m(x), f && Rt(() => {
5604
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Pt(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
5605
- const b = Object.keys(this.modalRefs).map((P) => Number(P));
5603
+ m(x), f && $t(() => {
5604
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Ot(null, t), f = null, this.modalRef.value = null, this.modalRefs) {
5605
+ const b = Object.keys(this.modalRefs).map((O) => Number(O));
5606
5606
  b.length > 0 ? this.activeModalIndex.value = Math.max(...b) : this.activeModalIndex.value = 0;
5607
5607
  }
5608
5608
  this.isUseEscCloseModal.value = !1;
@@ -5615,7 +5615,7 @@ class In {
5615
5615
  height: g
5616
5616
  } = o.value, C = this.adaptToWindow(v || 500, g || 320);
5617
5617
  Object.assign(o.value, C);
5618
- const B = () => F(Xe, Vt({
5618
+ const B = () => E(Xe, Vt({
5619
5619
  ref: this.modalRef,
5620
5620
  modelValue: i.value,
5621
5621
  "onUpdate:modelValue": (x) => i.value = x
@@ -5631,7 +5631,7 @@ class In {
5631
5631
  });
5632
5632
  return f = ((x) => {
5633
5633
  const b = An(B, x);
5634
- return b.appContext = this.appContext, Pt(b, t), b;
5634
+ return b.appContext = this.appContext, Ot(b, t), b;
5635
5635
  })({
5636
5636
  ...o.value
5637
5637
  // 'onUpdate:modelValue': onUpdateModelValue,
@@ -5640,7 +5640,7 @@ class In {
5640
5640
  o.value = {
5641
5641
  ...o.value,
5642
5642
  ...x
5643
- }, f && Pt(zn(f, {
5643
+ }, f && Ot(zn(f, {
5644
5644
  ...o
5645
5645
  }), t);
5646
5646
  },
@@ -5659,14 +5659,14 @@ Xe.install = (n) => {
5659
5659
  Xe.register = (n, e, t, o) => {
5660
5660
  n.modal = Xe, e.modal = ur, o.modal = { callbackResolver: dr };
5661
5661
  };
5662
- const Se = class Se {
5662
+ const Me = class Me {
5663
5663
  static show(e) {
5664
- const t = $e({
5664
+ const t = Re({
5665
5665
  ...e
5666
5666
  }), o = !1, i = t.type === "error" || t.type === "prompt", a = t.type === "error" ? "错误提示" : t.type === "prompt" && t.title || "", r = t.acceptCallback || (() => {
5667
5667
  }), u = t.rejectCallback || (() => {
5668
5668
  });
5669
- let c = null, s = new In(Se.app);
5669
+ let c = null, s = new In(Me.app);
5670
5670
  const f = () => {
5671
5671
  c && (c == null || c.destroy(), s = null);
5672
5672
  };
@@ -5680,7 +5680,7 @@ const Se = class Se {
5680
5680
  showMaxButton: !1,
5681
5681
  draggable: !0,
5682
5682
  dragHandle: ".messager-draggable",
5683
- render: () => F(vt, Vt(t, {
5683
+ render: () => E(vt, Vt(t, {
5684
5684
  onAccept: r,
5685
5685
  onReject: u,
5686
5686
  onClose: f
@@ -5688,37 +5688,37 @@ const Se = class Se {
5688
5688
  }), s == null ? void 0 : s.getCurrentModal();
5689
5689
  }
5690
5690
  static info(e, t) {
5691
- const o = $e({
5691
+ const o = Re({
5692
5692
  type: "info",
5693
5693
  title: e,
5694
5694
  detail: t,
5695
5695
  okButtonText: "知道了",
5696
5696
  showCancelButton: !1
5697
5697
  });
5698
- Se.show(o);
5698
+ Me.show(o);
5699
5699
  }
5700
5700
  static warning(e, t) {
5701
- const o = $e({
5701
+ const o = Re({
5702
5702
  type: "warning",
5703
5703
  title: e,
5704
5704
  detail: t,
5705
5705
  okButtonText: "知道了",
5706
5706
  showCancelButton: !1
5707
5707
  });
5708
- Se.show(o);
5708
+ Me.show(o);
5709
5709
  }
5710
5710
  static success(e, t) {
5711
- const o = $e({
5711
+ const o = Re({
5712
5712
  type: "success",
5713
5713
  title: e,
5714
5714
  detail: t,
5715
5715
  okButtonText: "关闭",
5716
5716
  showCancelButton: !1
5717
5717
  });
5718
- Se.show(o);
5718
+ Me.show(o);
5719
5719
  }
5720
5720
  static error(e, t, o) {
5721
- const i = $e({
5721
+ const i = Re({
5722
5722
  width: 500,
5723
5723
  type: "error",
5724
5724
  okButtonText: "关闭",
@@ -5729,20 +5729,20 @@ const Se = class Se {
5729
5729
  detail: t
5730
5730
  }
5731
5731
  });
5732
- Se.show(i);
5732
+ Me.show(i);
5733
5733
  }
5734
5734
  static prompt(e, t) {
5735
- const o = $e({
5735
+ const o = Re({
5736
5736
  type: "prompt",
5737
5737
  title: e,
5738
5738
  detail: t,
5739
5739
  okButtonText: "确定",
5740
5740
  cancelButtonText: "取消"
5741
5741
  });
5742
- Se.show(o);
5742
+ Me.show(o);
5743
5743
  }
5744
5744
  static question(e, t, o, i) {
5745
- const a = $e({
5745
+ const a = Re({
5746
5746
  type: "question",
5747
5747
  title: e,
5748
5748
  detail: t,
@@ -5751,11 +5751,11 @@ const Se = class Se {
5751
5751
  acceptCallback: o,
5752
5752
  rejectCallback: i
5753
5753
  });
5754
- Se.show(a);
5754
+ Me.show(a);
5755
5755
  }
5756
5756
  };
5757
- Q(Se, "app", null);
5758
- let yt = Se;
5757
+ Q(Me, "app", null);
5758
+ let yt = Me;
5759
5759
  vt.install = (n) => {
5760
5760
  n.component(vt.name, vt), yt.app = n, n.provide("FMessageBoxService", yt);
5761
5761
  };
@@ -5770,9 +5770,9 @@ class gr extends Ut {
5770
5770
  function br(n, e) {
5771
5771
  const t = n.schema;
5772
5772
  function o(p) {
5773
- var P, O, R;
5774
- const { componentType: d, sourceType: v, bindingTargetId: g, sourceElement: C } = p, { schemaService: B, formSchemaUtils: A } = e, L = A.getViewModelIdByComponentId((O = (P = n.componentInstance) == null ? void 0 : P.value) == null ? void 0 : O.belongedComponentId), x = A.getViewModelById(L);
5775
- if ([D["response-layout"].type, D["query-solution"].type, D.fieldset.type].includes(d) || (R = t.contents) != null && R.length)
5773
+ var O, P, $;
5774
+ const { componentType: d, sourceType: v, bindingTargetId: g, sourceElement: C } = p, { schemaService: B, formSchemaUtils: A } = e, L = A.getViewModelIdByComponentId((P = (O = n.componentInstance) == null ? void 0 : O.value) == null ? void 0 : P.belongedComponentId), x = A.getViewModelById(L);
5775
+ if ([D["response-layout"].type, D["query-solution"].type, D.fieldset.type].includes(d) || ($ = t.contents) != null && $.length)
5776
5776
  return !1;
5777
5777
  if (v === "field") {
5778
5778
  const X = B.getFieldByIDAndVMID(g, L);
@@ -5780,9 +5780,9 @@ function br(n, e) {
5780
5780
  return !1;
5781
5781
  }
5782
5782
  if (C && C.componentInstance) {
5783
- const { componentInstance: X } = C, E = A.getViewModelIdByComponentId(X.value.belongedComponentId);
5784
- if (E !== L && d === "form-group")
5785
- return A.getViewModelById(E).bindTo === x.bindTo;
5783
+ const { componentInstance: X } = C, S = A.getViewModelIdByComponentId(X.value.belongedComponentId);
5784
+ if (S !== L && d === "form-group")
5785
+ return A.getViewModelById(S).bindTo === x.bindTo;
5786
5786
  }
5787
5787
  return !0;
5788
5788
  }
@@ -5846,14 +5846,14 @@ const Cr = /* @__PURE__ */ Ee({
5846
5846
  const t = M(), o = st("design-item-context"), i = st("designer-host-service"), a = br(o, i), r = yn(t, o, a);
5847
5847
  return et(() => {
5848
5848
  t.value.componentInstance = r;
5849
- }), e.expose(r.value), () => F("div", {
5849
+ }), e.expose(r.value), () => E("div", {
5850
5850
  ref: t,
5851
5851
  class: n.customClass,
5852
5852
  style: "padding-right:8px;display:inherit;flex:1;",
5853
5853
  "data-dragref": `${o.schema.id}-container`
5854
5854
  }, [e.slots.default && e.slots.default()]);
5855
5855
  }
5856
- }), wr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-design.gitee.io/response-layout-splitter.schema.json", xr = "response-layout-splitter", Ir = "A Splitter Editor for Response Layout", Mr = "object", Sr = {
5856
+ }), wr = "https://json-schema.org/draft/2020-12/schema", Tr = "https://farris-design.gitee.io/response-layout-splitter.schema.json", xr = "response-layout-splitter", Ir = "A Splitter Editor for Response Layout", Sr = "object", Mr = {
5857
5857
  id: {
5858
5858
  description: "The unique identifier for response layout splitter editor",
5859
5859
  type: "string"
@@ -5876,12 +5876,12 @@ const Cr = /* @__PURE__ */ Ee({
5876
5876
  $id: Tr,
5877
5877
  title: xr,
5878
5878
  description: Ir,
5879
- type: Mr,
5880
- properties: Sr,
5879
+ type: Sr,
5880
+ properties: Mr,
5881
5881
  required: Fr
5882
- }, Mn = {
5882
+ }, Sn = {
5883
5883
  layout: { type: Array }
5884
- }, Br = He(Mn, Er);
5884
+ }, Br = He(Sn, Er);
5885
5885
  function kr(n, e) {
5886
5886
  const t = st("FMessageBoxService"), o = [
5887
5887
  "12",
@@ -5956,9 +5956,9 @@ function kr(n, e) {
5956
5956
  onSelectColumnLayout: m
5957
5957
  };
5958
5958
  }
5959
- const Or = /* @__PURE__ */ Ee({
5959
+ const Pr = /* @__PURE__ */ Ee({
5960
5960
  name: "FResponseLayoutSplitter",
5961
- props: Mn,
5961
+ props: Sn,
5962
5962
  emits: ["change"],
5963
5963
  setup(n, e) {
5964
5964
  const {
@@ -5972,53 +5972,53 @@ const Or = /* @__PURE__ */ Ee({
5972
5972
  active: i.value === s
5973
5973
  }));
5974
5974
  function c() {
5975
- return F("ul", {
5975
+ return E("ul", {
5976
5976
  class: "columns-layout-list"
5977
- }, [t.map((s, f) => F("li", {
5977
+ }, [t.map((s, f) => E("li", {
5978
5978
  class: u.value(s),
5979
5979
  onClick: () => r(s)
5980
- }, [F("div", {
5980
+ }, [E("div", {
5981
5981
  class: "columns-layout-icon d-flex"
5982
- }, [o.value[f].map((l) => F("div", {
5982
+ }, [o.value[f].map((l) => E("div", {
5983
5983
  class: {
5984
5984
  "columns-layout-item": !0,
5985
5985
  [l]: !0
5986
5986
  }
5987
- }, [ft(" ")]))])])), a.value ? "" : F("li", {
5987
+ }, [ft(" ")]))])])), a.value ? "" : E("li", {
5988
5988
  class: "columns-layout-option active",
5989
5989
  title: "自定义布局"
5990
- }, [F("div", {
5990
+ }, [E("div", {
5991
5991
  class: "columns-layout-icon icon-custom"
5992
5992
  }, [ft(" ")])])]);
5993
5993
  }
5994
- return () => F("div", {
5994
+ return () => E("div", {
5995
5995
  class: "columns-layout"
5996
- }, [c(), a.value ? F("div", {
5996
+ }, [c(), a.value ? E("div", {
5997
5997
  class: "farris-group-wrap mt-2"
5998
- }, [F("div", {
5998
+ }, [E("div", {
5999
5999
  class: "form-group farris-form-group d-flex"
6000
- }, [F("label", {
6000
+ }, [E("label", {
6001
6001
  class: "col-form-label mb-0",
6002
6002
  style: "width: 89px;"
6003
- }, [F("div", {
6003
+ }, [E("div", {
6004
6004
  class: "wrap"
6005
- }, [F("span", {
6005
+ }, [E("span", {
6006
6006
  class: "farris-label-text"
6007
- }, [ft(" 布局比例 ")])])]), F("div", {
6007
+ }, [ft(" 布局比例 ")])])]), E("div", {
6008
6008
  class: "farris-input-wrap"
6009
- }, [F("input", {
6009
+ }, [E("input", {
6010
6010
  type: "input",
6011
6011
  class: "form-control form-control-sm",
6012
6012
  value: i.value,
6013
6013
  readonly: !0
6014
6014
  }, null)])])]) : ""]);
6015
6015
  }
6016
- }), pl = {
6016
+ }), hl = {
6017
6017
  install(n) {
6018
6018
  n.component(Nt.name, Nt).component(Lt.name, Lt);
6019
6019
  },
6020
6020
  register(n, e, t, o) {
6021
- n["response-layout"] = Nt, n["response-layout-item"] = Lt, e["response-layout"] = Zt, e["response-layout-item"] = Kt, n["response-layout-splitter"] = Or, e["response-layout-splitter"] = Br;
6021
+ n["response-layout"] = Nt, n["response-layout-item"] = Lt, e["response-layout"] = Zt, e["response-layout-item"] = Kt, n["response-layout-splitter"] = Pr, e["response-layout-splitter"] = Br;
6022
6022
  },
6023
6023
  registerDesigner(n, e, t) {
6024
6024
  n["response-layout"] = Ei, n["response-layout-item"] = Cr, e["response-layout"] = Zt, e["response-layout-item"] = Kt;
@@ -6027,8 +6027,8 @@ const Or = /* @__PURE__ */ Ee({
6027
6027
  export {
6028
6028
  Nt as FResponseLayout,
6029
6029
  Lt as FResponseLayoutItem,
6030
- Or as FResponseLayoutSplitter,
6031
- pl as default,
6030
+ Pr as FResponseLayoutSplitter,
6031
+ hl as default,
6032
6032
  At as responseLayoutProps,
6033
6033
  Zt as responseLayoutPropsResolver
6034
6034
  };