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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +28 -29
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +521 -517
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +163 -157
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +10 -10
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1122 -1121
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +190 -190
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +2693 -2693
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +1604 -1601
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.esm.js +1082 -1079
  34. package/components/designer-canvas/index.umd.cjs +1 -1
  35. package/components/discussion-editor/index.esm.js +973 -1040
  36. package/components/discussion-editor/index.umd.cjs +6 -6
  37. package/components/dropdown/index.esm.js +335 -330
  38. package/components/dropdown/index.umd.cjs +2 -2
  39. package/components/dynamic-form/index.esm.js +8 -8
  40. package/components/dynamic-form/index.umd.cjs +1 -1
  41. package/components/dynamic-resolver/index.esm.js +6 -6
  42. package/components/dynamic-resolver/index.umd.cjs +1 -1
  43. package/components/dynamic-view/index.esm.js +344 -344
  44. package/components/dynamic-view/index.umd.cjs +1 -1
  45. package/components/events-editor/index.esm.js +8 -8
  46. package/components/events-editor/index.umd.cjs +3 -3
  47. package/components/expression-editor/index.esm.js +1470 -1460
  48. package/components/expression-editor/index.umd.cjs +3 -3
  49. package/components/fieldset/index.esm.js +55 -55
  50. package/components/fieldset/index.umd.cjs +1 -1
  51. package/components/filter-bar/index.esm.js +853 -843
  52. package/components/filter-bar/index.umd.cjs +1 -1
  53. package/components/filter-condition-editor/index.esm.js +922 -911
  54. package/components/filter-condition-editor/index.umd.cjs +3 -3
  55. package/components/flow-canvas/index.esm.js +12 -12
  56. package/components/flow-canvas/index.umd.cjs +1 -1
  57. package/components/html-template/index.esm.js +164 -164
  58. package/components/html-template/index.umd.cjs +1 -1
  59. package/components/image-cropper/index.esm.js +198 -198
  60. package/components/image-cropper/index.umd.cjs +1 -1
  61. package/components/json-editor/index.esm.js +64 -64
  62. package/components/json-editor/index.umd.cjs +1 -1
  63. package/components/language-textbox/index.esm.js +140 -140
  64. package/components/language-textbox/index.umd.cjs +1 -1
  65. package/components/layout/index.esm.js +111 -111
  66. package/components/layout/index.umd.cjs +1 -1
  67. package/components/list-nav/index.esm.js +90 -90
  68. package/components/list-nav/index.umd.cjs +1 -1
  69. package/components/list-view/index.esm.js +104 -108
  70. package/components/list-view/index.umd.cjs +3 -3
  71. package/components/locale/index.esm.js +833 -901
  72. package/components/locale/index.umd.cjs +6 -6
  73. package/components/lookup/index.esm.js +1352 -1351
  74. package/components/lookup/index.umd.cjs +1 -1
  75. package/components/mapping-editor/index.esm.js +1311 -1307
  76. package/components/mapping-editor/index.umd.cjs +1 -1
  77. package/components/menu-lookup/index.esm.js +1059 -1127
  78. package/components/menu-lookup/index.umd.cjs +6 -6
  79. package/components/message-box/index.esm.js +7 -7
  80. package/components/message-box/index.umd.cjs +1 -1
  81. package/components/modal/index.esm.js +9 -9
  82. package/components/modal/index.umd.cjs +1 -1
  83. package/components/nav/index.esm.js +106 -106
  84. package/components/nav/index.umd.cjs +1 -1
  85. package/components/number-range/index.esm.js +326 -326
  86. package/components/number-range/index.umd.cjs +1 -1
  87. package/components/number-spinner/index.esm.js +168 -167
  88. package/components/number-spinner/index.umd.cjs +1 -1
  89. package/components/order/index.esm.js +739 -737
  90. package/components/order/index.umd.cjs +4 -4
  91. package/components/page-footer/index.esm.js +94 -94
  92. package/components/page-footer/index.umd.cjs +1 -1
  93. package/components/page-header/index.esm.js +942 -939
  94. package/components/page-header/index.umd.cjs +1 -1
  95. package/components/pagination/index.esm.js +82 -82
  96. package/components/pagination/index.umd.cjs +1 -1
  97. package/components/popover/index.esm.js +1 -1
  98. package/components/popover/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +113 -113
  100. package/components/progress/index.umd.cjs +2 -2
  101. package/components/property-editor/index.esm.js +151 -150
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +565 -565
  104. package/components/property-panel/index.umd.cjs +2 -2
  105. package/components/query-solution/index.esm.js +4142 -4190
  106. package/components/query-solution/index.umd.cjs +6 -6
  107. package/components/radio-button/index.esm.js +182 -182
  108. package/components/radio-button/index.umd.cjs +1 -1
  109. package/components/rate/index.esm.js +106 -106
  110. package/components/rate/index.umd.cjs +1 -1
  111. package/components/response-layout/index.esm.js +409 -409
  112. package/components/response-layout/index.umd.cjs +1 -1
  113. package/components/response-layout-editor/index.esm.js +1488 -1478
  114. package/components/response-layout-editor/index.umd.cjs +1 -1
  115. package/components/response-toolbar/index.esm.js +779 -776
  116. package/components/response-toolbar/index.umd.cjs +1 -1
  117. package/components/schema-selector/index.esm.js +1765 -1762
  118. package/components/schema-selector/index.umd.cjs +5 -5
  119. package/components/search-box/index.esm.js +114 -114
  120. package/components/search-box/index.umd.cjs +1 -1
  121. package/components/section/index.esm.js +1184 -1181
  122. package/components/section/index.umd.cjs +1 -1
  123. package/components/smoke-detector/index.esm.js +163 -163
  124. package/components/smoke-detector/index.umd.cjs +1 -1
  125. package/components/sort-condition-editor/index.esm.js +927 -916
  126. package/components/sort-condition-editor/index.umd.cjs +3 -3
  127. package/components/splitter/index.esm.js +3 -3
  128. package/components/splitter/index.umd.cjs +1 -1
  129. package/components/step/index.esm.js +133 -133
  130. package/components/step/index.umd.cjs +1 -1
  131. package/components/switch/index.esm.js +76 -72
  132. package/components/switch/index.umd.cjs +1 -1
  133. package/components/tabs/index.esm.js +1527 -1524
  134. package/components/tabs/index.umd.cjs +2 -2
  135. package/components/tags/index.esm.js +93 -93
  136. package/components/tags/index.umd.cjs +1 -1
  137. package/components/text/index.esm.js +138 -138
  138. package/components/text/index.umd.cjs +1 -1
  139. package/components/textarea/index.esm.js +361 -361
  140. package/components/textarea/index.umd.cjs +2 -2
  141. package/components/tooltip/index.esm.js +173 -171
  142. package/components/tooltip/index.umd.cjs +1 -1
  143. package/components/transfer/index.esm.js +130 -134
  144. package/components/transfer/index.umd.cjs +4 -4
  145. package/components/tree-grid/index.esm.js +25 -25
  146. package/components/tree-grid/index.umd.cjs +1 -1
  147. package/components/tree-view/index.esm.js +1746 -1743
  148. package/components/tree-view/index.umd.cjs +1 -1
  149. package/components/uploader/index.esm.js +170 -170
  150. package/components/uploader/index.umd.cjs +2 -2
  151. package/components/verify-detail/index.esm.js +196 -196
  152. package/components/verify-detail/index.umd.cjs +1 -1
  153. package/components/video/index.esm.js +8 -8
  154. package/components/video/index.umd.cjs +1 -1
  155. package/components/weather/index.esm.js +9 -9
  156. package/components/weather/index.umd.cjs +2 -2
  157. package/farris.all.esm.js +16987 -17002
  158. package/farris.all.umd.cjs +27 -27
  159. package/package.json +1 -1
  160. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  161. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
  162. package/components/time-picker/index.css +0 -1
  163. package/components/time-picker/index.esm.js +0 -9793
  164. package/components/time-picker/index.umd.cjs +0 -1
  165. package/components/time-picker/package.json +0 -8
  166. package/components/time-picker/style.js +0 -6
  167. package/designer/button-edit/index.css +0 -1
  168. package/designer/button-edit/index.esm.js +0 -4856
  169. package/designer/button-edit/index.umd.cjs +0 -1
  170. package/designer/checkbox/index.esm.js +0 -250
  171. package/designer/checkbox/index.umd.cjs +0 -1
  172. package/designer/checkbox-group/index.esm.js +0 -377
  173. package/designer/checkbox-group/index.umd.cjs +0 -1
  174. package/designer/data-grid/index.css +0 -1
  175. package/designer/data-grid/index.esm.js +0 -15413
  176. package/designer/data-grid/index.umd.cjs +0 -23
  177. package/designer/data-view/index.esm.js +0 -854
  178. package/designer/data-view/index.umd.cjs +0 -38
  179. package/designer/drawer/index.css +0 -1
  180. package/designer/drawer/index.esm.js +0 -525
  181. package/designer/drawer/index.umd.cjs +0 -1
  182. package/designer/farris-designer.all.esm.js +0 -22320
  183. package/designer/farris-designer.all.umd.cjs +0 -34
  184. package/designer/index.css +0 -1
  185. package/designer/input-group/index.esm.js +0 -1098
  186. package/designer/input-group/index.umd.cjs +0 -1
  187. package/designer/list-view/index.css +0 -1
  188. package/designer/list-view/index.esm.js +0 -4675
  189. package/designer/list-view/index.umd.cjs +0 -40
  190. package/designer/radio-group/index.css +0 -1
  191. package/designer/radio-group/index.esm.js +0 -6980
  192. package/designer/radio-group/index.umd.cjs +0 -1
  193. package/designer/tree-grid/index.esm.js +0 -1099
  194. package/designer/tree-grid/index.umd.cjs +0 -1
@@ -1,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 S, computed as H, defineComponent as Ee, createVNode as F, 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,42 +523,42 @@ 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 = S(1), P = b, $ = d[b], X = Object.keys($), E = $.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: M, description: z, isExpand: K, parentPropertyID: te } = $, J = { propertyID: P, propertyName: E, propertyType: N, propertyValue: R, editor: h, visible: y, readonly: k, cascadeConfig: _, hideCascadeTitle: I, refreshPanelAfterChanged: M, 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], E = 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);
561
+ const N = (X == null ? void 0 : X.properties) || {}, j = f(N, P, O, x, C, B);
562
562
  return { categoryId: d, categoryName: E, properties: j };
563
563
  }
564
564
  return { categoryId: d, categoryName: "", properties: [] };
@@ -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, E = $ == 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: E, 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) => {
@@ -770,7 +770,7 @@ const si = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-
770
770
  });
771
771
  function yn(n, e, t) {
772
772
  var E;
773
- const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", a = M();
773
+ const o = t && t.getStyles && t.getStyles() || "", i = t && t.getDesignerClass && t.getDesignerClass() || "", a = S();
774
774
  let r;
775
775
  function u() {
776
776
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
@@ -789,7 +789,7 @@ function yn(n, e, t) {
789
789
  return null;
790
790
  if (N.value.schema && N.value.schema.type === "component")
791
791
  return N.value;
792
- const j = M(N == null ? void 0 : N.value.parent), h = l(j);
792
+ const j = S(N == null ? void 0 : N.value.parent), h = l(j);
793
793
  return h || null;
794
794
  }
795
795
  function m(N = e) {
@@ -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: M } = e.schema;
874
+ j = k || _ || I || T || R || ((y = D[M]) == 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, M;
887
+ return ((R = _.get(T)) == null ? void 0 : R.reliedComponentId) === ((M = e == null ? void 0 : e.schema) == null ? void 0 : M.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 = {
@@ -916,16 +916,16 @@ function yn(n, e, t) {
916
916
  onAcceptMovedChildElement: g,
917
917
  onChildElementMovedOut: B,
918
918
  addNewChildComponentSchema: C,
919
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || M(!1),
920
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || M(!1),
919
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || S(!1),
920
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || S(!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
  }
928
- const gn = M(0), xi = M(0);
928
+ const gn = S(0), xi = S(0);
929
929
  function bn() {
930
930
  xi.value++;
931
931
  }
@@ -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;
@@ -1573,7 +1573,7 @@ const Ei = /* @__PURE__ */ Ee({
1573
1573
  props: At,
1574
1574
  emits: [],
1575
1575
  setup(n, e) {
1576
- const t = M(), o = st("design-item-context"), i = st("designer-host-service"), a = Fi(o, i), r = yn(t, o, a);
1576
+ const t = S(), o = st("design-item-context"), i = st("designer-host-service"), a = Fi(o, i), r = yn(t, o, a);
1577
1577
  et(() => {
1578
1578
  t.value.componentInstance = r;
1579
1579
  }), e.expose(r.value);
@@ -1594,7 +1594,7 @@ const Ei = /* @__PURE__ */ Ee({
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
  }
@@ -1651,7 +1651,7 @@ var Bi = { exports: {} };
1651
1651
  function l(E, N) {
1652
1652
  var j = arguments.length;
1653
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 || {};
1654
+ var h, y, k, _, I, T, R, M, z, K = null, te, J, ie = !1, re = 0, ee, q = N || {};
1655
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);
1656
1656
  var se = r({
1657
1657
  containers: q.containers,
@@ -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(M || 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) && (M = w.item.cloneNode(!0), se.emit("cloned", M, 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 = M || 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 = M || k, W = X("clientX", w) || 0, Y = X("clientY", w) || 0, oe = g(h, W, Y), ae = de(oe, W, Y);
1754
+ ae && (M && q.copySortSource || !M || 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
+ M && 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 = M || k, U = x(w);
1764
+ U && U.removeChild(w), se.emit(M ? "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 = M || k, Y = x(W), oe = ue(Y);
1770
+ oe === !1 && U && (M ? Y && Y.removeChild(M) : 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 = M || 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 = M = 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(M || 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 = M || 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 && M && !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 && !M)
1810
1810
  ge = T, ae = y;
1811
1811
  else {
1812
- S && ye && ye.removeChild(Y), S && J && (J.style.display = "none");
1812
+ M && ye && ye.removeChild(Y), M && 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,25 +1928,25 @@ 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
  }
@@ -2017,12 +2017,12 @@ var Bi = { exports: {} };
2017
2017
  return E.parentNode === s ? null : E.parentNode;
2018
2018
  }
2019
2019
  function b(E) {
2020
- return E.tagName === "INPUT" || E.tagName === "TEXTAREA" || E.tagName === "SELECT" || P(E);
2021
- }
2022
- function P(E) {
2023
- return !E || E.contentEditable === "false" ? !1 : E.contentEditable === "true" ? !0 : P(x(E));
2020
+ return E.tagName === "INPUT" || E.tagName === "TEXTAREA" || E.tagName === "SELECT" || O(E);
2024
2021
  }
2025
2022
  function O(E) {
2023
+ return !E || E.contentEditable === "false" ? !1 : E.contentEditable === "true" ? !0 : O(x(E));
2024
+ }
2025
+ function P(E) {
2026
2026
  return E.nextElementSibling || N();
2027
2027
  function N() {
2028
2028
  var j = E;
@@ -2032,11 +2032,11 @@ var Bi = { exports: {} };
2032
2032
  return j;
2033
2033
  }
2034
2034
  }
2035
- function R(E) {
2035
+ function $(E) {
2036
2036
  return E.targetTouches && E.targetTouches.length ? E.targetTouches[0] : E.changedTouches && E.changedTouches.length ? E.changedTouches[0] : E;
2037
2037
  }
2038
2038
  function X(E, N) {
2039
- var j = R(N), h = {
2039
+ var j = $(N), h = {
2040
2040
  pageX: "clientX",
2041
2041
  // IE8
2042
2042
  pageY: "clientY"
@@ -2045,7 +2045,7 @@ var Bi = { exports: {} };
2045
2045
  return E in h && !(E in j) && h[E] in j && (E = h[E]), j[E];
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() {
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
2126
  var E;
2127
2127
  return c.createEvent ? (E = c.createEvent("Event"), E.initEvent(b, !0, !0)) : c.createEventObject && (E = c.createEventObject()), E;
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 = S(n.animate), a = "fadeOut", r = H(() => n.options), u = S(!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"
@@ -2453,7 +2453,7 @@ const ki = {
2453
2453
  right: 12,
2454
2454
  top: 20,
2455
2455
  bottom: 12
2456
- }, i = M(), a = M(n.options), r = M(n.showCloseButton), u = H(() => n.position || "bottom-right"), c = H(() => n.timeout != null ? n.timeout : 3e3), s = H(() => {
2456
+ }, i = S(), a = S(n.options), r = S(n.showCloseButton), u = H(() => n.position || "bottom-right"), c = H(() => n.timeout != null ? n.timeout : 3e3), s = H(() => {
2457
2457
  const m = n.bottom ? n.bottom : o.bottom, p = n.top ? n.top : o.top, d = {
2458
2458
  transition: "all 0.2s ease",
2459
2459
  left: u.value.indexOf("left") > -1 ? `${n.left ? n.left : o.left}px` : "",
@@ -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)
@@ -2512,7 +2512,7 @@ class Pi {
2512
2512
  const r = nn({
2513
2513
  setup() {
2514
2514
  var s;
2515
- const u = M();
2515
+ const u = S();
2516
2516
  function c() {
2517
2517
  u.value.container.style.transform = "scale(0)", setTimeout(() => {
2518
2518
  t.updateNotifyPositionForClose(i, u), r.unmount();
@@ -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,13 +2773,13 @@ 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
2784
  function E() {
2785
2785
  return F("div", {
@@ -2805,7 +2805,7 @@ function Di(n, e, t, o, i, a, r, u, c, s, f, l, m, p, d, v, g) {
2805
2805
  class: "fv-grid-content-right-fixed"
2806
2806
  }, [F("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() {
@@ -2822,19 +2822,19 @@ const Vi = /* @__PURE__ */ Ee({
2822
2822
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged", "selectionUpdate"],
2823
2823
  setup(n, e) {
2824
2824
  var _t, Gt;
2825
- const o = ((_t = n.rowOption) == null ? void 0 : _t.height) || 28, i = M(20), a = M(n.columns), r = Jn(n), {
2825
+ const o = ((_t = n.rowOption) == null ? void 0 : _t.height) || 28, i = S(20), a = S(n.columns), r = Jn(n), {
2826
2826
  idField: u
2827
- } = r, c = M(), s = M(), f = M(), l = M(), m = M(), p = M([]), d = M(!1), v = M(((Gt = n.rowOption) == null ? void 0 : Gt.wrapContent) || !1), g = Qn(n, r), C = Zn(n, e), B = Kn(n), {
2827
+ } = r, c = S(), s = S(), f = S(), l = S(), m = S(), p = S([]), d = S(!1), v = S(((Gt = n.rowOption) == null ? void 0 : Gt.wrapContent) || !1), g = Qn(n, r), C = Zn(n, e), B = Kn(n), {
2828
2828
  collapseField: A
2829
2829
  } = B, {
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, E = 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 M = lo(n, e), z = co(n), {
2851
2851
  applyColumnSorter: K,
2852
2852
  columnContext: te,
2853
2853
  updateColumnRenderContext: J
2854
- } = S;
2854
+ } = M;
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, M, 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, M, b, ee, B, re, P, E, 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, M, 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() {
@@ -2932,12 +2932,12 @@ const Vi = /* @__PURE__ */ Ee({
2932
2932
  }
2933
2933
  function kt() {
2934
2934
  const G = ot(), Z = E.getNextSelectableHierarchyItemId(G);
2935
- b.removeHierarchyDataItem(G), p.value = Te(0, j.value + 0 - 1), Z && O.selectItemById(Z);
2935
+ b.removeHierarchyDataItem(G), p.value = Te(0, j.value + 0 - 1), Z && P.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
+ P.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
+ P.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
+ P.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,26 +3069,26 @@ 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);
3087
+ } = Oo(n, b, M);
3088
3088
  return () => F("div", {
3089
3089
  ref: c,
3090
3090
  class: V.value,
3091
- style: On.value,
3091
+ style: Pn.value,
3092
3092
  onWheel: tt
3093
3093
  }, [s.value && Ct.value && de(), F("div", {
3094
3094
  ref: s,
@@ -3096,18 +3096,18 @@ const Vi = /* @__PURE__ */ Ee({
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 && F("div", {
3100
+ class: On.value
3101
+ }, [$.value && F("div", {
3102
3102
  class: Nn.value
3103
3103
  }, [F("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), M = I.getComponentById(n.componentInstance.value.belongedComponentId), z = I.getViewModelById(M.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), M = y.value.parent;
3930
+ if (M && ct.fieldset && ((z = M.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 M = I.getDgViewModel(k);
3948
+ M.addField(R), _.fieldSchema && M.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 M = y.states.find((z) => z.id === T);
3961
+ M && (k.states = k.states ? k.states : [], k.states.findIndex((z) => z.id === M.id) < 0 && (k.states.push(M), _.push(M.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((M) => {
3969
+ if (M === "binding")
3970
3970
  return;
3971
- const z = h[S];
3971
+ const z = h[M];
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((M) => {
3994
+ M.newId && (M.id = M.newId, delete M.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 = (M, z) => {
4006
+ M && (Object.keys(M).forEach((K) => {
4007
+ const te = M[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
+ }), M.editor && T(M.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((M) => {
4014
+ I.includes(M) || (R.states = R.states.filter((z) => z.id !== M));
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 M = (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
+ M.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), M.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), M = y.getViewModelById(R.viewModel);
4063
+ if (I !== M.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, M.id);
4068
4068
  break;
4069
4069
  }
4070
4070
  case _e.Variable: {
4071
- p(_, T, S, te);
4071
+ p(_, T, M, 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, M, te), d(_.editor, T, M, te), B(_, T, M), 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,21 +4114,21 @@ 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, M;
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, (M = K.editor) == null ? void 0 : M.type), K;
4132
4132
  }
4133
4133
  return y;
4134
4134
  }
@@ -4142,7 +4142,7 @@ function en(n, e) {
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,
@@ -4152,10 +4152,10 @@ function en(n, e) {
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);
@@ -4359,7 +4359,7 @@ function za() {
4359
4359
  return { onCopy: n };
4360
4360
  }
4361
4361
  function Ua(n, e, t, o) {
4362
- const i = M(14), a = M(140), r = M(""), u = M(o.value.length), c = H(() => o.value), s = H(() => ({
4362
+ const i = S(14), a = S(140), r = S(""), u = S(o.value.length), c = H(() => o.value), s = H(() => ({
4363
4363
  "font-size": `${i.value}px`,
4364
4364
  height: "100%"
4365
4365
  }));
@@ -4391,7 +4391,7 @@ function qa(n, e, t, o) {
4391
4391
  return { getEditorRender: r };
4392
4392
  }
4393
4393
  function Wa() {
4394
- const n = M(!1), e = M("复制成功");
4394
+ const n = S(!1), e = S("复制成功");
4395
4395
  return {
4396
4396
  feedbackStyle: H(() => {
4397
4397
  const o = {
@@ -4450,7 +4450,7 @@ function Ga(n, e) {
4450
4450
  const i = H(() => !!n.value && !!n.value.date), a = H(() => {
4451
4451
  const p = n.value && n.value.date || "";
4452
4452
  return `${e.exception.happend} : ${p}`;
4453
- }), r = H(() => !!n.value && !!n.value.detail), u = H(() => n.value ? t(n.value.detail) > 160 : !1), c = M(!1), s = H(() => c.value ? e.exception.collapse : e.exception.expand), f = H(() => {
4453
+ }), r = H(() => !!n.value && !!n.value.detail), u = H(() => n.value ? t(n.value.detail) > 160 : !1), c = S(!1), s = H(() => c.value ? e.exception.collapse : e.exception.expand), f = H(() => {
4454
4454
  const p = e.exception.detail + " : " + (n.value && n.value.detail) || "";
4455
4455
  return c.value ? p : o(p, 160);
4456
4456
  }), l = H(() => ({
@@ -4483,7 +4483,7 @@ function Xa(n) {
4483
4483
  }, null);
4484
4484
  }
4485
4485
  function Ha(n, e, t, o, i) {
4486
- const a = M(n.exceptionInfo), r = H(() => {
4486
+ const a = S(n.exceptionInfo), r = H(() => {
4487
4487
  const d = e.value === "question" ? "warning" : e.value, v = {
4488
4488
  "f-icon": !0
4489
4489
  }, g = `f-icon-${d}`;
@@ -4513,7 +4513,7 @@ function Ya(n, e, t, o) {
4513
4513
  onCopy: i
4514
4514
  } = e, {
4515
4515
  toShowFeedback: a
4516
- } = t, r = M(o.exception.copySuccess || "复制成功"), u = M(o.exception.copy || "复制详细信息"), c = M(n.exceptionInfo || {
4516
+ } = t, r = S(o.exception.copySuccess || "复制成功"), u = S(o.exception.copy || "复制详细信息"), c = S(n.exceptionInfo || {
4517
4517
  date: "",
4518
4518
  message: "",
4519
4519
  detail: ""
@@ -4535,7 +4535,7 @@ function Ya(n, e, t, o) {
4535
4535
  }, [u.value])]);
4536
4536
  }
4537
4537
  function Ja(n, e, t, o, i) {
4538
- const a = M(n.type), r = M(n.buttons), u = M(n.exceptionInfo), c = M(i.ok || n.okButtonText), s = M(i.cancel || n.cancelButtonText), f = M(n.showCancelButton), l = M(n.showOkButton), m = H(() => !!(r.value && r.value.length)), p = H(() => u.value && u.value.message && u.value.detail), d = H(() => !(r.value && r.value.length) && (l.value || f.value)), v = Ya(n, t, o, i);
4538
+ const a = S(n.type), r = S(n.buttons), u = S(n.exceptionInfo), c = S(i.ok || n.okButtonText), s = S(i.cancel || n.cancelButtonText), f = S(n.showCancelButton), l = S(n.showOkButton), m = H(() => !!(r.value && r.value.length)), p = H(() => u.value && u.value.message && u.value.detail), d = H(() => !(r.value && r.value.length) && (l.value || f.value)), v = Ya(n, t, o, i);
4539
4539
  c.value === "关闭" ? c.value = i.close : c.value === "知道了" && (c.value = i.exception.roger);
4540
4540
  function g(B) {
4541
4541
  a.value === "question" && e.emit("reject"), e.emit("close");
@@ -4562,7 +4562,7 @@ function Ja(n, e, t, o, i) {
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,10 +4589,10 @@ 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
- const t = Qa(n), o = M(n.type), i = M(n.title), a = M(n.detail), r = H(() => {
4595
+ const t = Qa(n), o = S(n.type), i = S(n.title), a = S(n.detail), r = H(() => {
4596
4596
  const C = {
4597
4597
  "modal-tips": !0,
4598
4598
  "d-flex": !0,
@@ -4936,15 +4936,15 @@ class Ge {
4936
4936
  }
4937
4937
  }
4938
4938
  function pr(n, e) {
4939
- const t = M(), o = M(), i = M(), a = M(), r = M(), u = M(), c = M(), s = M(), f = M(), l = M(), m = M(), p = M(n.resizeable), d = M(), v = M(n.draggable), g = M(!1);
4939
+ const t = S(), o = S(), i = S(), a = S(), r = S(), u = S(), c = S(), s = S(), f = S(), l = S(), m = S(), p = S(n.resizeable), d = S(), v = S(n.draggable), g = S(!1);
4940
4940
  function C() {
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), M = {};
4945
+ c.value && (M.deltaL = t.value.offsetLeft - c.value.x, M.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
+ M.width = I.clientWidth, M.height = I.clientHeight, M.pr = parseInt(T.getPropertyValue("padding-right"), 10), M.pb = parseInt(T.getPropertyValue("padding-bottom"), 10), M.position = T.getPropertyValue("position"), z === "static" && (I.style.position = "relative"), M.translateX = R.x, M.translateY = R.y, l.value = M;
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, M;
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"), (M = c.value) != null && M.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: M
5001
5001
  } = t.value.getBoundingClientRect(), z = le.getTransformInfo(t.value);
5002
5002
  return {
5003
5003
  size: {
@@ -5005,22 +5005,22 @@ 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: M - 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
5025
  function E(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());
@@ -5062,8 +5062,8 @@ function pr(n, e) {
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), M = t.value;
5066
+ I && M && (d.value = P(), d.value.transform = M.style.transform), R && M && (u.value = R, u.value.height -= 14, u.value.width -= 14, M.style.height = u.value.height + "px", M.style.width = u.value.width + "px", M.style.left = "7px", M.style.top = "7px", M.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
+ }, M = {
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(M);
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 = `${M.x}px`, z.style.top = `${M.y}px`, z.style.transform = "", m.value = {
5087
+ size: R,
5088
+ position: M
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
  }
@@ -5123,78 +5123,78 @@ function pr(n, e) {
5123
5123
  };
5124
5124
  }
5125
5125
  function fr(n, e, t) {
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";
5126
+ const o = S(), i = S(n.draggable), a = S(n.lockAxis), r = S(), u = S(), c = S(!1), s = S(new le(0, 0)), f = S(new le(0, 0)), l = S(new le(0, 0)), m = S(new le(0, 0));
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
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;
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 = ((E = s.value) == null ? void 0 : E.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 {
@@ -5213,7 +5213,7 @@ function Tn(n, e) {
5213
5213
  }
5214
5214
  }
5215
5215
  function mr(n, e) {
5216
- const t = M(n.enableEsc);
5216
+ const t = S(n.enableEsc);
5217
5217
  let o = null;
5218
5218
  return t.value ? (o = Tn("Escape", (i) => {
5219
5219
  e.emit("esc", { event: i.event, type: "esc" });
@@ -5222,7 +5222,7 @@ function mr(n, e) {
5222
5222
  }) : null;
5223
5223
  }
5224
5224
  function vr(n, e) {
5225
- const t = M(n.enableEnter);
5225
+ const t = S(n.enableEnter);
5226
5226
  let o = null;
5227
5227
  return t.value ? (o = Tn("Enter", (i) => {
5228
5228
  e.emit("enter", { event: i.event, type: "enter" });
@@ -5235,11 +5235,11 @@ const Xe = /* @__PURE__ */ Ee({
5235
5235
  props: wn,
5236
5236
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
5237
5237
  setup(n, e) {
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(), {
5238
+ const t = S(n.width || 300), o = S(n.height || 200), i = S(n.modelValue), a = S(""), r = S(n.class), u = S(n.fitContent), c = S(n.showHeader), s = S(""), f = S(n.showCloseButton), l = S(n.showMaxButton), m = S(!1), p = S(n.dialogType), d = S(n.src), v = S(""), g = S(n.showButtons), C = S(n.title), B = S(n.containment || null), A = S(), {
5239
5239
  t: L
5240
- } = $t();
5240
+ } = Rt();
5241
5241
  C.value === "错误提示" && (C.value = L("messageBox.errorTitle"));
5242
- const x = M(!1);
5242
+ const x = S(!1);
5243
5243
  function b(V, ne) {
5244
5244
  const ue = ne ? "accept" : "cancel";
5245
5245
  Promise.resolve().then(() => {
@@ -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 = S(n.buttons && n.buttons.length ? n.buttons : O), $ = H(() => !!s.value), X = H(() => !!g.value && !!P.value), E = S(), N = S(), j = S(!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: M
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(E.value, N.value, _.value), M());
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,19 +5371,19 @@ 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
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);
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
@@ -5411,8 +5411,8 @@ const Xe = /* @__PURE__ */ Ee({
5411
5411
  return F("div", {
5412
5412
  class: "modal-footer",
5413
5413
  style: Je.value
5414
- }, [O.value && O.value.map((V) => {
5415
- const ne = M(V.disabled);
5414
+ }, [P.value && P.value.map((V) => {
5415
+ const ne = S(V.disabled);
5416
5416
  return F("button", {
5417
5417
  name: V.name,
5418
5418
  type: "button",
@@ -5430,10 +5430,10 @@ const Xe = /* @__PURE__ */ Ee({
5430
5430
  return F("div", {
5431
5431
  ref: E,
5432
5432
  class: "modal-header",
5433
- style: Oe.value
5433
+ style: Pe.value
5434
5434
  }, [e.slots.headerTemplate ? e.slots.headerTemplate() : F("div", {
5435
5435
  class: "modal-title"
5436
- }, [R.value && F("span", {
5436
+ }, [$.value && F("span", {
5437
5437
  class: s.value,
5438
5438
  style: "margin-right: 8px"
5439
5439
  }, null), F("span", {
@@ -5474,7 +5474,7 @@ const Xe = /* @__PURE__ */ Ee({
5474
5474
  function Ze(V) {
5475
5475
  return V || "body";
5476
5476
  }
5477
- return () => F($n, {
5477
+ return () => F(Rn, {
5478
5478
  to: Ze(n.host)
5479
5479
  }, {
5480
5480
  default: () => [J.value && F(on, {
@@ -5505,7 +5505,7 @@ function hr(n) {
5505
5505
  gt(() => {
5506
5506
  document.body.removeChild(e);
5507
5507
  });
5508
- const a = M(), r = M(n.class || ""), u = M(!!n.showButtons), c = M(!!n.showHeader), s = M(n.showCloseButton == null ? !0 : n.showCloseButton), f = M(!0), l = M(n.title || ""), m = n.acceptCallback || (() => {
5508
+ const a = S(), r = S(n.class || ""), u = S(!!n.showButtons), c = S(!!n.showHeader), s = S(n.showCloseButton == null ? !0 : n.showCloseButton), f = S(!0), l = S(n.title || ""), m = n.acceptCallback || (() => {
5509
5509
  }), p = n.rejectCallback || (() => {
5510
5510
  }), d = n.closedCallback || ((A) => {
5511
5511
  }), v = n.resizeHandle || ((A) => {
@@ -5545,10 +5545,10 @@ function hr(n) {
5545
5545
  class In {
5546
5546
  constructor(e) {
5547
5547
  Q(this, "appContext", null);
5548
- Q(this, "modalRef", M());
5549
- Q(this, "activeModalIndex", M(0));
5548
+ Q(this, "modalRef", S());
5549
+ Q(this, "activeModalIndex", S(0));
5550
5550
  Q(this, "modalRefs", {});
5551
- Q(this, "isUseEscCloseModal", M(!1));
5551
+ Q(this, "isUseEscCloseModal", S(!1));
5552
5552
  Q(this, "activeModalInstance", H(() => this.modalRefs[this.activeModalIndex.value]));
5553
5553
  this.app = e, this.appContext = e ? e._context : null;
5554
5554
  }
@@ -5587,7 +5587,7 @@ class In {
5587
5587
  title: "",
5588
5588
  showButtons: !0,
5589
5589
  showHeader: !0
5590
- }, e)), i = M(!0), a = o.value.acceptCallback || (() => {
5590
+ }, e)), i = S(!0), a = o.value.acceptCallback || (() => {
5591
5591
  }), r = o.value.rejectCallback || (() => {
5592
5592
  }), u = o.value.closedCallback || ((x, b) => {
5593
5593
  }), c = o.value.resizeHandle || ((x) => {
@@ -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;
@@ -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
  };
@@ -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);
@@ -5843,7 +5843,7 @@ const Cr = /* @__PURE__ */ Ee({
5843
5843
  props: zt,
5844
5844
  emits: [],
5845
5845
  setup(n, e) {
5846
- const t = M(), o = st("design-item-context"), i = st("designer-host-service"), a = br(o, i), r = yn(t, o, a);
5846
+ const t = S(), 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
5849
  }), e.expose(r.value), () => F("div", {
@@ -5853,7 +5853,7 @@ const Cr = /* @__PURE__ */ Ee({
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",
@@ -5892,7 +5892,7 @@ function kr(n, e) {
5892
5892
  "3:6:3",
5893
5893
  "3:3:6",
5894
5894
  "3:3:3:3"
5895
- ], i = M([]), a = M(""), r = M(n.layout || []), u = M(!0);
5895
+ ], i = S([]), a = S(""), r = S(n.layout || []), u = S(!0);
5896
5896
  function c() {
5897
5897
  o.forEach((p) => {
5898
5898
  i.value.push(p.split(":").map((d) => `col-${d}`));
@@ -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 {
@@ -6013,12 +6013,12 @@ const Or = /* @__PURE__ */ Ee({
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
  };