@farris/ui-vue 1.6.5-beta.5 → 1.6.5-beta.6

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 (168) hide show
  1. package/components/accordion/package.json +1 -1
  2. package/components/avatar/index.esm.js +1 -1
  3. package/components/avatar/index.umd.cjs +1 -1
  4. package/components/avatar/package.json +1 -1
  5. package/components/binding-selector/package.json +1 -1
  6. package/components/border-editor/package.json +1 -1
  7. package/components/button/package.json +1 -1
  8. package/components/button-edit/index.esm.js +170 -170
  9. package/components/button-edit/index.umd.cjs +1 -1
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/package.json +1 -1
  15. package/components/checkbox/package.json +1 -1
  16. package/components/checkbox-group/package.json +1 -1
  17. package/components/code-editor/package.json +1 -1
  18. package/components/collection-property-editor/package.json +1 -1
  19. package/components/color-picker/package.json +1 -1
  20. package/components/combo-list/package.json +1 -1
  21. package/components/combo-tree/package.json +1 -1
  22. package/components/common/package.json +1 -1
  23. package/components/component/index.esm.js +201 -201
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/component/package.json +1 -1
  26. package/components/condition/index.esm.js +1 -1
  27. package/components/condition/index.umd.cjs +1 -1
  28. package/components/condition/package.json +1 -1
  29. package/components/content-container/index.esm.js +1 -1
  30. package/components/content-container/index.umd.cjs +1 -1
  31. package/components/content-container/package.json +1 -1
  32. package/components/data-grid/package.json +1 -1
  33. package/components/data-view/package.json +1 -1
  34. package/components/date-picker/package.json +1 -1
  35. package/components/designer-canvas/index.esm.js +255 -255
  36. package/components/designer-canvas/index.umd.cjs +1 -1
  37. package/components/designer-canvas/package.json +1 -1
  38. package/components/designer-outline/package.json +1 -1
  39. package/components/designer-toolbox/package.json +1 -1
  40. package/components/discussion-editor/package.json +1 -1
  41. package/components/discussion-list/package.json +1 -1
  42. package/components/drawer/package.json +1 -1
  43. package/components/dropdown/package.json +1 -1
  44. package/components/dynamic-form/index.esm.js +1 -1
  45. package/components/dynamic-form/index.umd.cjs +1 -1
  46. package/components/dynamic-form/package.json +1 -1
  47. package/components/dynamic-resolver/package.json +1 -1
  48. package/components/dynamic-view/package.json +1 -1
  49. package/components/enum-editor/package.json +1 -1
  50. package/components/event-parameter/package.json +1 -1
  51. package/components/events-editor/index.esm.js +1 -1
  52. package/components/events-editor/index.umd.cjs +1 -1
  53. package/components/events-editor/package.json +1 -1
  54. package/components/expression-editor/index.esm.js +1 -1
  55. package/components/expression-editor/index.umd.cjs +3 -3
  56. package/components/expression-editor/package.json +1 -1
  57. package/components/external-container/package.json +1 -1
  58. package/components/field-selector/package.json +1 -1
  59. package/components/fieldset/package.json +1 -1
  60. package/components/filter-bar/index.esm.js +1 -1
  61. package/components/filter-bar/index.umd.cjs +1 -1
  62. package/components/filter-bar/package.json +1 -1
  63. package/components/filter-condition-editor/index.esm.js +1 -1
  64. package/components/filter-condition-editor/index.umd.cjs +1 -1
  65. package/components/filter-condition-editor/package.json +1 -1
  66. package/components/flow-canvas/index.esm.js +1 -1
  67. package/components/flow-canvas/index.umd.cjs +1 -1
  68. package/components/flow-canvas/package.json +1 -1
  69. package/components/html-template/package.json +1 -1
  70. package/components/image-cropper/package.json +1 -1
  71. package/components/input-group/package.json +1 -1
  72. package/components/json-editor/package.json +1 -1
  73. package/components/language-textbox/package.json +1 -1
  74. package/components/layout/package.json +1 -1
  75. package/components/list-nav/package.json +1 -1
  76. package/components/list-view/package.json +1 -1
  77. package/components/loading/package.json +1 -1
  78. package/components/locale/package.json +1 -1
  79. package/components/lookup/package.json +1 -1
  80. package/components/mapping-editor/index.esm.js +1 -1
  81. package/components/mapping-editor/index.umd.cjs +1 -1
  82. package/components/mapping-editor/package.json +1 -1
  83. package/components/menu-lookup/package.json +1 -1
  84. package/components/message-box/index.esm.js +1 -1
  85. package/components/message-box/index.umd.cjs +1 -1
  86. package/components/message-box/package.json +1 -1
  87. package/components/modal/index.esm.js +1 -1
  88. package/components/modal/index.umd.cjs +1 -1
  89. package/components/modal/package.json +1 -1
  90. package/components/nav/package.json +1 -1
  91. package/components/notify/package.json +1 -1
  92. package/components/number-range/index.esm.js +1 -1
  93. package/components/number-range/index.umd.cjs +1 -1
  94. package/components/number-range/package.json +1 -1
  95. package/components/number-spinner/index.esm.js +1 -1
  96. package/components/number-spinner/index.umd.cjs +1 -1
  97. package/components/number-spinner/package.json +1 -1
  98. package/components/order/package.json +1 -1
  99. package/components/page-footer/package.json +1 -1
  100. package/components/page-header/package.json +1 -1
  101. package/components/pagination/package.json +1 -1
  102. package/components/popover/package.json +1 -1
  103. package/components/progress/package.json +1 -1
  104. package/components/property-editor/package.json +1 -1
  105. package/components/property-panel/index.esm.js +82 -82
  106. package/components/property-panel/index.umd.cjs +1 -1
  107. package/components/property-panel/package.json +1 -1
  108. package/components/query-solution/index.esm.js +1 -1
  109. package/components/query-solution/index.umd.cjs +4 -4
  110. package/components/query-solution/package.json +1 -1
  111. package/components/radio/package.json +1 -1
  112. package/components/radio-button/package.json +1 -1
  113. package/components/radio-group/package.json +1 -1
  114. package/components/rate/package.json +1 -1
  115. package/components/response-layout/index.esm.js +199 -199
  116. package/components/response-layout/index.umd.cjs +1 -1
  117. package/components/response-layout/package.json +1 -1
  118. package/components/response-layout-editor/index.esm.js +1 -1
  119. package/components/response-layout-editor/index.umd.cjs +1 -1
  120. package/components/response-layout-editor/package.json +1 -1
  121. package/components/response-toolbar/package.json +1 -1
  122. package/components/schema-selector/index.esm.js +1 -1
  123. package/components/schema-selector/index.umd.cjs +1 -1
  124. package/components/schema-selector/package.json +1 -1
  125. package/components/search-box/package.json +1 -1
  126. package/components/section/index.esm.js +1 -1
  127. package/components/section/index.umd.cjs +1 -1
  128. package/components/section/package.json +1 -1
  129. package/components/smoke-detector/package.json +1 -1
  130. package/components/sort-condition-editor/index.esm.js +1 -1
  131. package/components/sort-condition-editor/index.umd.cjs +1 -1
  132. package/components/sort-condition-editor/package.json +1 -1
  133. package/components/spacing-editor/package.json +1 -1
  134. package/components/splitter/package.json +1 -1
  135. package/components/step/package.json +1 -1
  136. package/components/switch/package.json +1 -1
  137. package/components/tabs/index.esm.js +1 -1
  138. package/components/tabs/index.umd.cjs +1 -1
  139. package/components/tabs/package.json +1 -1
  140. package/components/tags/package.json +1 -1
  141. package/components/text/package.json +1 -1
  142. package/components/textarea/index.esm.js +166 -166
  143. package/components/textarea/index.umd.cjs +2 -2
  144. package/components/textarea/package.json +1 -1
  145. package/components/time-picker/index.esm.js +1 -1
  146. package/components/time-picker/index.umd.cjs +1 -1
  147. package/components/time-picker/package.json +1 -1
  148. package/components/tooltip/package.json +1 -1
  149. package/components/transfer/package.json +1 -1
  150. package/components/tree-grid/package.json +1 -1
  151. package/components/tree-view/package.json +1 -1
  152. package/components/uploader/package.json +1 -1
  153. package/components/verify-detail/package.json +1 -1
  154. package/components/video/index.esm.js +1 -1
  155. package/components/video/index.umd.cjs +1 -1
  156. package/components/video/package.json +1 -1
  157. package/components/weather/package.json +1 -1
  158. package/designer/button-edit/index.esm.js +167 -167
  159. package/designer/button-edit/index.umd.cjs +1 -1
  160. package/designer/data-grid/index.esm.js +1 -1
  161. package/designer/data-grid/index.umd.cjs +1 -1
  162. package/designer/farris-designer.all.esm.js +1 -1
  163. package/designer/farris-designer.all.umd.cjs +1 -1
  164. package/designer/radio-group/index.esm.js +1 -1
  165. package/designer/radio-group/index.umd.cjs +1 -1
  166. package/farris.all.esm.js +1 -1
  167. package/farris.all.umd.cjs +1 -1
  168. package/package.json +1 -1
@@ -4,7 +4,7 @@ var he = (e, t, n) => Rn(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { getCustomClass as Dt, withInstall as Jt, FormSchemaEntityField$Type as Gt, FormSchemaEntityFieldTypeName as Ut } from "../../components/common/index.esm.js";
5
5
  import { resolveAppearance as Qt, createPropsResolver as It, getSchemaByTypeForDesigner as jn } from "../../components/dynamic-resolver/index.esm.js";
6
6
  import Dn, { buttonEditProps as Pn } from "../../components/button-edit/index.esm.js";
7
- import { defineComponent as Oe, ref as g, computed as z, createVNode as w, Teleport as Zt, createApp as $t, onUnmounted as ut, Fragment as st, watch as Ce, nextTick as Ze, onBeforeMount as Nn, onMounted as et, Transition as Kt, shallowRef as In, render as jt, h as $n, cloneVNode as Hn, mergeProps as ht, reactive as He, createTextVNode as Ln, inject as Ht } from "vue";
7
+ import { defineComponent as Me, ref as g, computed as z, createVNode as w, Teleport as Zt, createApp as $t, onUnmounted as ut, Fragment as st, watch as Ce, nextTick as Ze, onBeforeMount as Nn, onMounted as et, Transition as Kt, shallowRef as In, render as jt, h as $n, cloneVNode as Hn, mergeProps as ht, reactive as He, createTextVNode as Ln, inject as Ht } from "vue";
8
8
  import { useI18n as Lt } from "vue-i18n";
9
9
  import { LocaleService as gt } from "../../components/locale/index.esm.js";
10
10
  import { cloneDeep as Pt, isPlainObject as Xt, isUndefined as Ie } from "lodash-es";
@@ -211,7 +211,7 @@ const ko = {
211
211
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
212
212
  host: { type: Object },
213
213
  backgroundColor: { type: String, default: "" }
214
- }, Mo = /* @__PURE__ */ Oe({
214
+ }, Oo = /* @__PURE__ */ Me({
215
215
  name: "FOverlay",
216
216
  props: Fo,
217
217
  emits: ["click"],
@@ -259,7 +259,7 @@ const ko = {
259
259
  });
260
260
  }
261
261
  });
262
- function Oo(e) {
262
+ function Mo(e) {
263
263
  if (e.content && e.content.render)
264
264
  return e.content.render;
265
265
  if (e.render && typeof e.render == "function")
@@ -278,8 +278,8 @@ function Eo(e) {
278
278
  ut(() => {
279
279
  document.body.removeChild(t);
280
280
  });
281
- const i = Oo(e);
282
- return () => w(Mo, {
281
+ const i = Mo(e);
282
+ return () => w(Oo, {
283
283
  "popup-content-position": e.popupPosition,
284
284
  host: e.host,
285
285
  onClick: r,
@@ -599,7 +599,7 @@ class Ge {
599
599
  }
600
600
  function Go(e, t) {
601
601
  const n = g(), o = g(), r = g(), i = g(), a = g(), u = g(), d = g(), l = g(), m = g(), c = g(), p = g(), s = g(e.resizeable), f = g(), v = g(e.draggable), B = g(!1);
602
- function O() {
602
+ function M() {
603
603
  const N = o.value || document.body, R = window.getComputedStyle(N);
604
604
  if (!R || !n.value)
605
605
  return;
@@ -610,7 +610,7 @@ function Go(e, t) {
610
610
  }
611
611
  function j(N) {
612
612
  if (n.value) {
613
- i.value = Ge.getCurrent(n.value), a.value = re.getCurrent(n.value), u.value = i.value ? Ge.copy(i.value) : null, d.value = a.value ? re.copy(a.value) : null, O();
613
+ i.value = Ge.getCurrent(n.value), a.value = re.getCurrent(n.value), u.value = i.value ? Ge.copy(i.value) : null, d.value = a.value ? re.copy(a.value) : null, M();
614
614
  const R = N.target.getAttribute("type") || "";
615
615
  l.value = {
616
616
  n: !!R.match(/n/),
@@ -820,15 +820,15 @@ function Uo(e, t, n) {
820
820
  function B(k) {
821
821
  k && (l.value && k.subtract(l.value), c.value.set(k), f(), v());
822
822
  }
823
- function O(k) {
823
+ function M(k) {
824
824
  d.value && r.value && (k.stopPropagation(), k.preventDefault(), B(re.fromEvent(k, a.value)));
825
825
  }
826
826
  function j() {
827
827
  var k;
828
- d.value && (d.value = !1, m.value.add(c.value), c.value.reset(), (k = o.value) == null || k.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", O), document.removeEventListener("mouseup", j));
828
+ d.value && (d.value = !1, m.value.add(c.value), c.value.reset(), (k = o.value) == null || k.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", M), document.removeEventListener("mouseup", j));
829
829
  }
830
830
  function _() {
831
- !d.value && a.value && (d.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", O), document.addEventListener("mouseup", j));
831
+ !d.value && a.value && (d.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", M), document.addEventListener("mouseup", j));
832
832
  }
833
833
  function T() {
834
834
  if (o.value) {
@@ -892,17 +892,17 @@ function Yo(e, t) {
892
892
  remove: o
893
893
  }) : null;
894
894
  }
895
- const Ue = /* @__PURE__ */ Oe({
895
+ const Ue = /* @__PURE__ */ Me({
896
896
  name: "FModal",
897
897
  props: en,
898
898
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
899
899
  setup(e, t) {
900
- const n = g(e.width || 300), o = g(e.height || 200), r = g(e.modelValue), i = g(""), a = g(e.class), u = g(e.fitContent), d = g(e.showHeader), l = g(""), m = g(e.showCloseButton), c = g(e.showMaxButton), p = g(!1), s = g(e.dialogType), f = g(e.src), v = g(""), B = g(e.showButtons), O = g(e.title), j = g(e.containment || null), _ = g(), {
900
+ const n = g(e.width || 300), o = g(e.height || 200), r = g(e.modelValue), i = g(""), a = g(e.class), u = g(e.fitContent), d = g(e.showHeader), l = g(""), m = g(e.showCloseButton), c = g(e.showMaxButton), p = g(!1), s = g(e.dialogType), f = g(e.src), v = g(""), B = g(e.showButtons), M = g(e.title), j = g(e.containment || null), _ = g(), {
901
901
  t: T
902
902
  } = Lt();
903
- O.value === "错误提示" && (O.value = T("messageBox.errorTitle"));
903
+ M.value === "错误提示" && (M.value = T("messageBox.errorTitle"));
904
904
  const y = g(!1);
905
- function h(M, J) {
905
+ function h(O, J) {
906
906
  const ae = J ? "accept" : "cancel";
907
907
  Promise.resolve().then(() => {
908
908
  var ie;
@@ -910,22 +910,22 @@ const Ue = /* @__PURE__ */ Oe({
910
910
  closeType: ae
911
911
  });
912
912
  }).then((ie) => {
913
- ie && (r.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", M));
913
+ ie && (r.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", O));
914
914
  });
915
915
  }
916
916
  const k = [{
917
917
  name: "cancel",
918
918
  text: T("messageBox.cancel") || "取消",
919
919
  class: "btn btn-secondary",
920
- handle: (M) => {
921
- h(M, !1);
920
+ handle: (O) => {
921
+ h(O, !1);
922
922
  }
923
923
  }, {
924
924
  name: "accept",
925
925
  text: T("messageBox.ok") || "确定",
926
926
  class: "btn btn-primary",
927
- handle: (M) => {
928
- h(M, !0);
927
+ handle: (O) => {
928
+ h(O, !0);
929
929
  }
930
930
  }], x = g(e.buttons && e.buttons.length ? e.buttons : k), S = z(() => !!l.value), E = z(() => !!B.value && !!x.value), C = g(), F = g(), D = g(!1), {
931
931
  renderResizeBar: P,
@@ -943,65 +943,65 @@ const Ue = /* @__PURE__ */ Oe({
943
943
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
944
944
  }
945
945
  function ve() {
946
- const M = document.querySelectorAll(".farris-modal").length;
947
- (!M || M - 1 <= 0) && document.body.classList.remove("modal-open"), _.value && _.value.classList.remove("show");
946
+ const O = document.querySelectorAll(".farris-modal").length;
947
+ (!O || O - 1 <= 0) && document.body.classList.remove("modal-open"), _.value && _.value.classList.remove("show");
948
948
  }
949
- Ce(() => e.title, (M, J) => {
950
- M !== J && (O.value = M);
951
- }), Ce(() => e.modelValue, (M, J) => {
952
- M !== J && (r.value = M, r.value && e.draggable && Ze(() => {
949
+ Ce(() => e.title, (O, J) => {
950
+ O !== J && (M.value = O);
951
+ }), Ce(() => e.modelValue, (O, J) => {
952
+ O !== J && (r.value = O, r.value && e.draggable && Ze(() => {
953
953
  F.value && !j.value && (j.value = F.value.parentElement, K.value = j.value, ee(C.value, F.value, K.value), A());
954
- }), M || (j.value && (j.value = null), ve())), r.value ? y.value = me() : (D.value = !1, R.value = e.draggable);
955
- }), Ce(() => e.showHeader, (M, J) => {
956
- M !== J && (d.value = M);
957
- }), Ce(() => e.showButtons, (M, J) => {
958
- M !== J && (B.value = M);
959
- }), Ce(() => N.value, (M, J) => {
960
- const ae = M || {}, ie = J || {};
954
+ }), O || (j.value && (j.value = null), ve())), r.value ? y.value = me() : (D.value = !1, R.value = e.draggable);
955
+ }), Ce(() => e.showHeader, (O, J) => {
956
+ O !== J && (d.value = O);
957
+ }), Ce(() => e.showButtons, (O, J) => {
958
+ O !== J && (B.value = O);
959
+ }), Ce(() => N.value, (O, J) => {
960
+ const ae = O || {}, ie = J || {};
961
961
  JSON.stringify(ae) !== JSON.stringify(ie) && t.emit("resize", {
962
- newSize: M,
962
+ newSize: O,
963
963
  oldSize: J,
964
964
  isMaximized: D.value
965
965
  });
966
966
  });
967
967
  const Y = z(() => (r.value && document.body.classList.add("modal-open"), r.value)), oe = z(() => {
968
968
  var ae;
969
- const M = {
969
+ const O = {
970
970
  modal: !0,
971
971
  "farris-modal": !0,
972
972
  fade: !0
973
973
  };
974
- M["f-modal-fitContent"] = !!u.value, M.show = !!Y.value;
974
+ O["f-modal-fitContent"] = !!u.value, O.show = !!Y.value;
975
975
  const J = (ae = e.maskClass) == null ? void 0 : ae.split(" ");
976
- return J == null || J.reduce((ie, Ne) => (ie[Ne] = !0, ie), M), M;
976
+ return J == null || J.reduce((ie, Ne) => (ie[Ne] = !0, ie), O), O;
977
977
  }), le = z(() => {
978
978
  var ae;
979
- const M = {
979
+ const O = {
980
980
  "modal-dialog": !0
981
981
  }, J = (ae = a.value) == null ? void 0 : ae.split(" ");
982
- return J == null || J.reduce((ie, Ne) => (ie[Ne] = !0, ie), M), M;
982
+ return J == null || J.reduce((ie, Ne) => (ie[Ne] = !0, ie), O), O;
983
983
  }), te = z(() => {
984
- const M = {
984
+ const O = {
985
985
  position: "absolute",
986
986
  top: `${(window.innerHeight - o.value) / 2}px`,
987
987
  left: `${(window.innerWidth - n.value) / 2}px`,
988
988
  width: `${n.value}px`,
989
989
  height: u.value ? "auto" : `${o.value}px`
990
990
  };
991
- return e.mask || (M.pointerEvents = "auto"), M;
991
+ return e.mask || (O.pointerEvents = "auto"), O;
992
992
  }), q = z(() => {
993
- const M = {
993
+ const O = {
994
994
  display: "block"
995
995
  };
996
- return e.mask || (M.pointerEvents = "none", M.backgroundColor = "transparent"), y.value && (M.backgroundColor = "transparent"), M;
996
+ return e.mask || (O.pointerEvents = "none", O.backgroundColor = "transparent"), y.value && (O.backgroundColor = "transparent"), O;
997
997
  }), ne = z(() => ({
998
998
  "modal-content": !0,
999
999
  "modal-content-has-header": d.value
1000
1000
  })), Le = z(() => {
1001
- const M = {
1001
+ const O = {
1002
1002
  display: d.value ? "" : "none"
1003
1003
  };
1004
- return M["pointer-events"] = R.value ? "auto" : "none", M;
1004
+ return O["pointer-events"] = R.value ? "auto" : "none", O;
1005
1005
  }), Ee = z(() => ({
1006
1006
  "f-icon": !0,
1007
1007
  modal_maximize: !0,
@@ -1017,23 +1017,23 @@ const Ue = /* @__PURE__ */ Oe({
1017
1017
  };
1018
1018
  }
1019
1019
  const ze = z(() => {
1020
- const M = {
1020
+ const O = {
1021
1021
  textAlgin: v.value
1022
1022
  }, J = Xe();
1023
- return Object.assign(M, J);
1023
+ return Object.assign(O, J);
1024
1024
  });
1025
- function Ae(M) {
1026
- if (M == null || M.stopPropagation(), D.value) {
1025
+ function Ae(O) {
1026
+ if (O == null || O.stopPropagation(), D.value) {
1027
1027
  D.value = !1, G();
1028
1028
  return;
1029
1029
  }
1030
1030
  H(), D.value = !0;
1031
1031
  }
1032
- async function se(M, J) {
1033
- M.handle && await M.handle(J, M) && t.emit("closed", J);
1032
+ async function se(O, J) {
1033
+ O.handle && await O.handle(J, O) && t.emit("closed", J);
1034
1034
  }
1035
- function tt(M) {
1036
- M.width && (n.value = M.width), M.height && (o.value = M.height), M.buttons && (x.value = M.buttons), M.title && (O.value = M.title);
1035
+ function tt(O) {
1036
+ O.width && (n.value = O.width), O.height && (o.value = O.height), O.buttons && (x.value = O.buttons), O.title && (M.value = O.title);
1037
1037
  }
1038
1038
  let xe = null, Re = null;
1039
1039
  Nn(() => {
@@ -1062,7 +1062,7 @@ const Ue = /* @__PURE__ */ Oe({
1062
1062
  class: Ee.value
1063
1063
  }, null)]), m.value && w("li", {
1064
1064
  class: "f-btn-icon f-bare",
1065
- onClick: (M) => h(M, !1),
1065
+ onClick: (O) => h(O, !1),
1066
1066
  style: "pointer-events: auto;"
1067
1067
  }, [w("span", {
1068
1068
  class: "f-icon modal_close"
@@ -1072,19 +1072,19 @@ const Ue = /* @__PURE__ */ Oe({
1072
1072
  return w("div", {
1073
1073
  class: "modal-footer",
1074
1074
  style: ze.value
1075
- }, [x.value && x.value.map((M) => {
1076
- const J = g(M.disabled);
1075
+ }, [x.value && x.value.map((O) => {
1076
+ const J = g(O.disabled);
1077
1077
  return w("button", {
1078
- name: M.name,
1078
+ name: O.name,
1079
1079
  type: "button",
1080
1080
  disabled: J.value,
1081
- class: M.class + (M.iconClass ? " btn-icontext" : ""),
1081
+ class: O.class + (O.iconClass ? " btn-icontext" : ""),
1082
1082
  onClick: (ae) => {
1083
- se(M, ae);
1083
+ se(O, ae);
1084
1084
  }
1085
- }, [!!M.iconClass && w("i", {
1086
- class: M.iconClass
1087
- }, null), M.text]);
1085
+ }, [!!O.iconClass && w("i", {
1086
+ class: O.iconClass
1087
+ }, null), O.text]);
1088
1088
  })]);
1089
1089
  }
1090
1090
  function nt() {
@@ -1099,22 +1099,22 @@ const Ue = /* @__PURE__ */ Oe({
1099
1099
  style: "margin-right: 8px"
1100
1100
  }, null), w("span", {
1101
1101
  class: "modal-title-label"
1102
- }, [O.value])]), w("div", {
1102
+ }, [M.value])]), w("div", {
1103
1103
  class: "actions"
1104
1104
  }, [je()])]);
1105
1105
  }
1106
1106
  function Ve() {
1107
1107
  return t.slots.footerTemplate ? t.slots.footerTemplate() : E.value && De();
1108
1108
  }
1109
- function Me(M) {
1110
- if (M.stopPropagation(), e.allowClickMaskToClose) {
1111
- if (M.target !== _.value)
1109
+ function Oe(O) {
1110
+ if (O.stopPropagation(), e.allowClickMaskToClose) {
1111
+ if (O.target !== _.value)
1112
1112
  return;
1113
- h(M, !1);
1113
+ h(O, !1);
1114
1114
  }
1115
1115
  }
1116
1116
  function Pe() {
1117
- var M, J;
1117
+ var O, J;
1118
1118
  return w("div", {
1119
1119
  id: i.value,
1120
1120
  class: le.value,
@@ -1124,7 +1124,7 @@ const Ue = /* @__PURE__ */ Oe({
1124
1124
  class: ne.value
1125
1125
  }, [d.value && nt(), w("div", {
1126
1126
  class: Te.value
1127
- }, [(J = (M = t.slots).default) == null ? void 0 : J.call(M), s.value === "iframe" && w("iframe", {
1127
+ }, [(J = (O = t.slots).default) == null ? void 0 : J.call(O), s.value === "iframe" && w("iframe", {
1128
1128
  title: i.value,
1129
1129
  class: "f-utils-fill",
1130
1130
  width: "100%",
@@ -1132,8 +1132,8 @@ const Ue = /* @__PURE__ */ Oe({
1132
1132
  src: f.value
1133
1133
  }, null)]), Ve()]), !u.value && F.value && !D.value && P(F.value)]);
1134
1134
  }
1135
- function Ye(M) {
1136
- return M || "body";
1135
+ function Ye(O) {
1136
+ return O || "body";
1137
1137
  }
1138
1138
  return () => w(Zt, {
1139
1139
  to: Ye(e.host)
@@ -1146,7 +1146,7 @@ const Ue = /* @__PURE__ */ Oe({
1146
1146
  ref: _,
1147
1147
  class: oe.value,
1148
1148
  style: q.value,
1149
- onClick: Me
1149
+ onClick: Oe
1150
1150
  }, [Pe()])]
1151
1151
  })]
1152
1152
  });
@@ -1171,7 +1171,7 @@ function Jo(e) {
1171
1171
  }), f = e.closedCallback || ((_) => {
1172
1172
  }), v = e.resizeHandle || ((_) => {
1173
1173
  }), B = e.stopMoveHandle || ((_) => {
1174
- }), O = nn(e), j = (_) => {
1174
+ }), M = nn(e), j = (_) => {
1175
1175
  m.value = !1, n.unmount(), f(_);
1176
1176
  };
1177
1177
  return et(() => {
@@ -1197,7 +1197,7 @@ function Jo(e) {
1197
1197
  onResize: v,
1198
1198
  onStopMove: B
1199
1199
  }, {
1200
- default: () => [O && O(n)]
1200
+ default: () => [M && M(n)]
1201
1201
  });
1202
1202
  }
1203
1203
  });
@@ -1274,8 +1274,8 @@ class on {
1274
1274
  }, {
1275
1275
  width: v,
1276
1276
  height: B
1277
- } = o.value, O = this.adaptToWindow(v || 500, B || 320);
1278
- Object.assign(o.value, O);
1277
+ } = o.value, M = this.adaptToWindow(v || 500, B || 320);
1278
+ Object.assign(o.value, M);
1279
1279
  const j = () => w(Ue, ht({
1280
1280
  ref: this.modalRef,
1281
1281
  modelValue: r.value,
@@ -1360,8 +1360,8 @@ function Qo(e = {}) {
1360
1360
  return i(l).reduce((s, f) => s && a(f, m), !0);
1361
1361
  }
1362
1362
  function d(l, m) {
1363
- const c = Object.keys(l), p = c.includes("allOf"), s = c.includes("anyOf"), f = p || s, O = (f ? l[f ? p ? "allOf" : "anyOf" : "allOf"] : [l]).map((_) => u(_, m));
1364
- return p ? !O.includes(!1) : O.includes(!0);
1363
+ const c = Object.keys(l), p = c.includes("allOf"), s = c.includes("anyOf"), f = p || s, M = (f ? l[f ? p ? "allOf" : "anyOf" : "allOf"] : [l]).map((_) => u(_, m));
1364
+ return p ? !M.includes(!1) : M.includes(!0);
1365
1365
  }
1366
1366
  return { parseValueSchema: d };
1367
1367
  }
@@ -1664,11 +1664,11 @@ function rn(e, t, n) {
1664
1664
  const B = f.$converter || v;
1665
1665
  return typeof B == "string" && B && o.has(B) ? o.get(B) || null : B || null;
1666
1666
  }
1667
- function m(f, v, B, O, j, _ = "", T = "") {
1667
+ function m(f, v, B, M, j, _ = "", T = "") {
1668
1668
  return Object.keys(f).map((h) => {
1669
1669
  const k = g(1), x = h, S = f[h], E = Object.keys(S), C = S.title, F = S.type, D = r.get(F) || { type: "input-group", enableClear: !1 }, P = S.editor ? Object.assign({}, D, S.editor) : Object.assign({}, D), H = u(E, S, v), G = d(E, S, v);
1670
1670
  P.readonly = P.readonly === void 0 ? G() : P.readonly;
1671
- const K = S.type === "cascade" ? m(S.properties, v, B, O, j, _, T) : [], N = !0;
1671
+ const K = S.type === "cascade" ? m(S.properties, v, B, M, j, _, T) : [], N = !0;
1672
1672
  let R = l(S, T);
1673
1673
  const U = z({
1674
1674
  get() {
@@ -1681,43 +1681,43 @@ function rn(e, t, n) {
1681
1681
  return null;
1682
1682
  },
1683
1683
  set(oe) {
1684
- k.value += 1, R && R.convertTo ? (R.convertTo(O, h, oe, j, _), R.convertTo(B, h, oe, j, _)) : (O[h] = oe, B[h] = oe);
1684
+ k.value += 1, R && R.convertTo ? (R.convertTo(M, h, oe, j, _), R.convertTo(B, h, oe, j, _)) : (M[h] = oe, B[h] = oe);
1685
1685
  }
1686
1686
  }), { refreshPanelAfterChanged: A, description: ee, isExpand: me, parentPropertyID: ve } = S, Y = { propertyID: x, propertyName: C, propertyType: F, propertyValue: U, editor: P, visible: H, readonly: G, cascadeConfig: K, hideCascadeTitle: N, refreshPanelAfterChanged: A, description: ee, isExpand: me, parentPropertyID: ve };
1687
1687
  return v[x] = Y, Y;
1688
1688
  });
1689
1689
  }
1690
1690
  function c(f, v, B = {}) {
1691
- const O = {}, j = e[f];
1691
+ const M = {}, j = e[f];
1692
1692
  return j && j.categories ? Object.keys(j.categories).map((T) => {
1693
- const y = j.categories[T], h = y == null ? void 0 : y.title, k = m(y.properties || {}, O, {}, B, v);
1693
+ const y = j.categories[T], h = y == null ? void 0 : y.title, k = m(y.properties || {}, M, {}, B, v);
1694
1694
  return { categoryId: T, categoryName: h, properties: k };
1695
1695
  }) : [];
1696
1696
  }
1697
- function p(f, v, B, O, j = "") {
1697
+ function p(f, v, B, M, j = "") {
1698
1698
  const _ = v.$ref.schema, T = v.$ref.converter, y = B[_], h = y.type, k = n(y), x = {}, S = e[h];
1699
1699
  if (S && S.categories) {
1700
1700
  const E = S.categories[f], C = E == null ? void 0 : E.title;
1701
1701
  T && Object.keys(E.properties).forEach((P) => {
1702
1702
  E.properties[P].$converter = T;
1703
1703
  });
1704
- const F = (E == null ? void 0 : E.properties) || {}, D = m(F, x, k, y, O, j);
1704
+ const F = (E == null ? void 0 : E.properties) || {}, D = m(F, x, k, y, M, j);
1705
1705
  return { categoryId: f, categoryName: C, properties: D };
1706
1706
  }
1707
1707
  return { categoryId: f, categoryName: "", properties: [] };
1708
1708
  }
1709
- function s(f, v, B, O, j) {
1709
+ function s(f, v, B, M, j) {
1710
1710
  const _ = f.type, T = n(f), y = {};
1711
1711
  let h = j || e[_];
1712
- if (h && Object.keys(h).length === 0 && B && B.getPropConfig && (h = B.getPropConfig(O)), h && h.categories) {
1712
+ if (h && Object.keys(h).length === 0 && B && B.getPropConfig && (h = B.getPropConfig(M)), h && h.categories) {
1713
1713
  const k = [];
1714
1714
  return Object.keys(h.categories).map((x) => {
1715
1715
  const S = h.categories[x];
1716
1716
  if (S.$ref) {
1717
- k.push(p(x, S, f, v, O));
1717
+ k.push(p(x, S, f, v, M));
1718
1718
  return;
1719
1719
  }
1720
- const E = S == null ? void 0 : S.title, C = S == null ? void 0 : S.tabId, F = S == null ? void 0 : S.tabName, D = S == null ? void 0 : S.hide, P = S == null ? void 0 : S.hideTitle, H = m(S.properties || {}, y, T, f, v, O, S.$converter), { setPropertyRelates: G } = S, K = S == null ? void 0 : S.parentPropertyID;
1720
+ const E = S == null ? void 0 : S.title, C = S == null ? void 0 : S.tabId, F = S == null ? void 0 : S.tabName, D = S == null ? void 0 : S.hide, P = S == null ? void 0 : S.hideTitle, H = m(S.properties || {}, y, T, f, v, M, S.$converter), { setPropertyRelates: G } = S, K = S == null ? void 0 : S.parentPropertyID;
1721
1721
  k.push({ categoryId: x, categoryName: E, tabId: C, tabName: F, hide: D, properties: H, hideTitle: P, setPropertyRelates: G, parentPropertyID: K });
1722
1722
  }), k;
1723
1723
  }
@@ -1732,17 +1732,17 @@ function rn(e, t, n) {
1732
1732
  function an(e, t) {
1733
1733
  let n;
1734
1734
  function o(c) {
1735
- const { properties: p, title: s, ignore: f } = c, v = f && Array.isArray(f), B = Object.keys(p).reduce((O, j) => ((!v || !f.find((_) => _ === j)) && (O[j] = p[j].type === "object" && p[j].properties ? o(p[j]) : Pt(p[j].default)), O), {});
1736
- if (s && (!v || !f.find((O) => O === "id"))) {
1737
- const O = s.toLowerCase().replace(/-/g, "_");
1738
- B.id = `${O}_${Math.random().toString().slice(2, 6)}`;
1735
+ const { properties: p, title: s, ignore: f } = c, v = f && Array.isArray(f), B = Object.keys(p).reduce((M, j) => ((!v || !f.find((_) => _ === j)) && (M[j] = p[j].type === "object" && p[j].properties ? o(p[j]) : Pt(p[j].default)), M), {});
1736
+ if (s && (!v || !f.find((M) => M === "id"))) {
1737
+ const M = s.toLowerCase().replace(/-/g, "_");
1738
+ B.id = `${M}_${Math.random().toString().slice(2, 6)}`;
1739
1739
  }
1740
1740
  return B;
1741
1741
  }
1742
1742
  function r(c) {
1743
1743
  const { properties: p, title: s, required: f } = c;
1744
1744
  if (f && Array.isArray(f)) {
1745
- const v = f.reduce((B, O) => (B[O] = p[O].type === "object" && p[O].properties ? o(p[O]) : Pt(p[O].default), B), {});
1745
+ const v = f.reduce((B, M) => (B[M] = p[M].type === "object" && p[M].properties ? o(p[M]) : Pt(p[M].default), B), {});
1746
1746
  if (s && f.find((B) => B === "id")) {
1747
1747
  const B = s.toLowerCase().replace(/-/g, "_");
1748
1748
  v.id = `${B}_${Math.random().toString().slice(2, 6)}`;
@@ -1773,8 +1773,8 @@ function an(e, t) {
1773
1773
  if (typeof B == "string")
1774
1774
  f[B] = c[v];
1775
1775
  else {
1776
- const O = B(v, c[v], c);
1777
- Object.assign(f, O);
1776
+ const M = B(v, c[v], c);
1777
+ Object.assign(f, M);
1778
1778
  }
1779
1779
  } else
1780
1780
  f[v] = c[v];
@@ -1794,7 +1794,7 @@ function an(e, t) {
1794
1794
  return c;
1795
1795
  const v = a(c, f), B = ((s = c.editor) == null ? void 0 : s.type) || "";
1796
1796
  if (B) {
1797
- const O = e[B], j = a(c.editor, O);
1797
+ const M = e[B], j = a(c.editor, M);
1798
1798
  v.editor = j;
1799
1799
  }
1800
1800
  return v;
@@ -1823,7 +1823,7 @@ function vn(e, t) {
1823
1823
  }
1824
1824
  const zt = /* @__PURE__ */ new Map([
1825
1825
  ["appearance", vn]
1826
- ]), Tr = /* @__PURE__ */ new Map([]), xr = "https://json-schema.org/draft/2020-12/schema", Br = "https://farris-design.gitee.io/form-group.schema.json", kr = "form-group", Fr = "A Farris Input Component", Mr = "object", Or = {
1826
+ ]), Tr = /* @__PURE__ */ new Map([]), xr = "https://json-schema.org/draft/2020-12/schema", Br = "https://farris-design.gitee.io/form-group.schema.json", kr = "form-group", Fr = "A Farris Input Component", Or = "object", Mr = {
1827
1827
  id: {
1828
1828
  description: "The unique identifier for a form group",
1829
1829
  type: "string"
@@ -1904,8 +1904,8 @@ const zt = /* @__PURE__ */ new Map([
1904
1904
  $id: Br,
1905
1905
  title: kr,
1906
1906
  description: Fr,
1907
- type: Mr,
1908
- properties: Or,
1907
+ type: Or,
1908
+ properties: Mr,
1909
1909
  required: Er
1910
1910
  }, Rr = {
1911
1911
  id: { type: String, default: "" },
@@ -1915,7 +1915,7 @@ const zt = /* @__PURE__ */ new Map([
1915
1915
  editor: { type: Object, default: {} },
1916
1916
  label: { type: String, default: "" },
1917
1917
  /** value is uncertain because type is uncertain, default value should not be set */
1918
- modelValue: { type: [String, Boolean, Array, Number] },
1918
+ modelValue: { type: Object },
1919
1919
  // readonly: { type: Boolean, default: false },
1920
1920
  visible: { type: Boolean, default: !0 },
1921
1921
  required: { type: Boolean, default: !1 },
@@ -2084,13 +2084,13 @@ var jr = { exports: {} };
2084
2084
  var D = arguments.length;
2085
2085
  D === 1 && Array.isArray(C) === !1 && (F = C, C = []);
2086
2086
  var P, H, G, K, N, R, U, A, ee, me = null, ve, Y, oe = !1, le = 0, te, q = F || {};
2087
- q.moves === void 0 && (q.moves = j), q.accepts === void 0 && (q.accepts = j), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = C || []), q.isContainer === void 0 && (q.isContainer = O), 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 = l.body);
2087
+ q.moves === void 0 && (q.moves = j), q.accepts === void 0 && (q.accepts = j), q.invalid === void 0 && (q.invalid = nt), q.containers === void 0 && (q.containers = C || []), q.isContainer === void 0 && (q.isContainer = M), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = l.body);
2088
2088
  var ne = a({
2089
2089
  containers: q.containers,
2090
2090
  start: je,
2091
2091
  end: Ve,
2092
2092
  cancel: J,
2093
- remove: M,
2093
+ remove: O,
2094
2094
  destroy: ze,
2095
2095
  canMove: Re,
2096
2096
  dragging: !1
@@ -2177,20 +2177,20 @@ var jr = { exports: {} };
2177
2177
  Ye(b, y(b));
2178
2178
  }
2179
2179
  }
2180
- function Me() {
2180
+ function Oe() {
2181
2181
  ve = !1, Te(!0), Xe(!0);
2182
2182
  }
2183
2183
  function Pe(b) {
2184
- if (Me(), !!ne.dragging) {
2184
+ if (Oe(), !!ne.dragging) {
2185
2185
  var I = A || G, L = E("clientX", b) || 0, W = E("clientY", b) || 0, Q = B(P, L, W), Z = Ne(Q, L, W);
2186
- Z && (A && q.copySortSource || !A || Z !== H) ? Ye(I, Z) : q.removeOnSpill ? M() : J();
2186
+ Z && (A && q.copySortSource || !A || Z !== H) ? Ye(I, Z) : q.removeOnSpill ? O() : J();
2187
2187
  }
2188
2188
  }
2189
2189
  function Ye(b, I) {
2190
2190
  var L = y(b);
2191
2191
  A && q.copySortSource && I === H && L.removeChild(G), ie(I) ? ne.emit("cancel", b, H) : ne.emit("drop", b, I, H, U), ae();
2192
2192
  }
2193
- function M() {
2193
+ function O() {
2194
2194
  if (ne.dragging) {
2195
2195
  var b = A || G, I = y(b);
2196
2196
  I && I.removeChild(b), ne.emit(A ? "cancel" : "remove", b, I, H), ae();
@@ -2204,7 +2204,7 @@ var jr = { exports: {} };
2204
2204
  }
2205
2205
  function ae() {
2206
2206
  var b = A || G;
2207
- Me(), Bt(), kt(), b && d.rm(b, "gu-transit"), ee && clearTimeout(ee), ne.dragging = !1, me && ne.emit("out", b, me, H), ne.emit("dragend", b, le), H = G = A = R = U = ee = me = null;
2207
+ Oe(), Bt(), kt(), b && d.rm(b, "gu-transit"), ee && clearTimeout(ee), ne.dragging = !1, me && ne.emit("out", b, me, H), ne.emit("dragend", b, le), H = G = A = R = U = ee = me = null;
2208
2208
  }
2209
2209
  function ie(b, I) {
2210
2210
  var L;
@@ -2244,7 +2244,7 @@ var jr = { exports: {} };
2244
2244
  A && ye && ye.removeChild(W), A && Y && (Y.style.display = "none");
2245
2245
  return;
2246
2246
  }
2247
- Y.style.display = "block", wt(ge, W, Se), ge ? Mt(Be, ge) : Ot(Z);
2247
+ Y.style.display = "block", wt(ge, W, Se), ge ? Ot(Be, ge) : Mt(Z);
2248
2248
  function ue(fe) {
2249
2249
  ne.emit(fe, W, me, H);
2250
2250
  }
@@ -2320,7 +2320,7 @@ var jr = { exports: {} };
2320
2320
  }
2321
2321
  return !0;
2322
2322
  }
2323
- function Mt(b, I) {
2323
+ function Ot(b, I) {
2324
2324
  const L = I.getBoundingClientRect();
2325
2325
  if (Y.style.left = L.left + "px", Y.style.top = L.top + "px", oe) {
2326
2326
  if (Y.style.height = L.height + "px", Y.style.width = "4px", b) {
@@ -2333,7 +2333,7 @@ var jr = { exports: {} };
2333
2333
  }
2334
2334
  I === G && G && (Y.style.display = "none");
2335
2335
  }
2336
- function Ot(b) {
2336
+ function Mt(b) {
2337
2337
  U = null;
2338
2338
  var I = b.lastElementChild;
2339
2339
  if (I) {
@@ -2433,7 +2433,7 @@ var jr = { exports: {} };
2433
2433
  var P = C.className || "", H;
2434
2434
  return C.className += " gu-hide", H = l.elementFromPoint(F, D), C.className = P, H;
2435
2435
  }
2436
- function O() {
2436
+ function M() {
2437
2437
  return !1;
2438
2438
  }
2439
2439
  function j() {
@@ -2522,8 +2522,8 @@ var jr = { exports: {} };
2522
2522
  var f = i(arguments), v = this || d;
2523
2523
  if (p === "error" && m.throws !== !1 && !s.length)
2524
2524
  throw f.length === 1 ? f[0] : f;
2525
- return s.forEach(function(O) {
2526
- m.async ? a(O, f, v) : O.apply(v, f), O._once && d.off(p, O);
2525
+ return s.forEach(function(M) {
2526
+ m.async ? a(M, f, v) : M.apply(v, f), M._once && d.off(p, M);
2527
2527
  }), d;
2528
2528
  };
2529
2529
  }, d;
@@ -2562,7 +2562,7 @@ var jr = { exports: {} };
2562
2562
  return new a(h, { detail: k });
2563
2563
  }
2564
2564
  }
2565
- function O(y, h, k) {
2565
+ function M(y, h, k) {
2566
2566
  return function(S) {
2567
2567
  var E = S || i.event;
2568
2568
  E.target = E.target || E.srcElement, E.preventDefault = E.preventDefault || function() {
@@ -2573,7 +2573,7 @@ var jr = { exports: {} };
2573
2573
  };
2574
2574
  }
2575
2575
  function j(y, h, k) {
2576
- var x = _(y, h, k) || O(y, h, k);
2576
+ var x = _(y, h, k) || M(y, h, k);
2577
2577
  return c.push({
2578
2578
  wrapper: x,
2579
2579
  element: y,
@@ -2682,9 +2682,9 @@ var jr = { exports: {} };
2682
2682
  }
2683
2683
  var p = [], s = !1, f, v = -1;
2684
2684
  function B() {
2685
- !s || !f || (s = !1, f.length ? p = f.concat(p) : v = -1, p.length && O());
2685
+ !s || !f || (s = !1, f.length ? p = f.concat(p) : v = -1, p.length && M());
2686
2686
  }
2687
- function O() {
2687
+ function M() {
2688
2688
  if (!s) {
2689
2689
  var T = m(B);
2690
2690
  s = !0;
@@ -2701,7 +2701,7 @@ var jr = { exports: {} };
2701
2701
  if (arguments.length > 1)
2702
2702
  for (var h = 1; h < arguments.length; h++)
2703
2703
  y[h - 1] = arguments[h];
2704
- p.push(new j(T, y)), p.length === 1 && !s && m(O);
2704
+ p.push(new j(T, y)), p.length === 1 && !s && m(M);
2705
2705
  };
2706
2706
  function j(T, y) {
2707
2707
  this.fun = T, this.array = y;
@@ -2789,7 +2789,7 @@ const Dr = {
2789
2789
  showCloseButton: { type: Boolean, default: !0 },
2790
2790
  animate: { type: String, default: "fadeIn" },
2791
2791
  options: { type: Object }
2792
- }, Nt = /* @__PURE__ */ Oe({
2792
+ }, Nt = /* @__PURE__ */ Me({
2793
2793
  name: "Toast",
2794
2794
  props: Pr,
2795
2795
  emits: ["close", "click"],
@@ -2818,7 +2818,7 @@ const Dr = {
2818
2818
  t.emit("close", a.value);
2819
2819
  }, 200);
2820
2820
  }
2821
- function O(T, y) {
2821
+ function M(T, y) {
2822
2822
  }
2823
2823
  function j(T) {
2824
2824
  return `f-preten-link ${T.customClass ? T.customClass : ""}`;
@@ -2873,7 +2873,7 @@ const Dr = {
2873
2873
  innerHTML: a.value.message
2874
2874
  }, null))])])]);
2875
2875
  }
2876
- }), pt = /* @__PURE__ */ Oe({
2876
+ }), pt = /* @__PURE__ */ Me({
2877
2877
  name: "Notify",
2878
2878
  props: Dr,
2879
2879
  emits: ["close", "empty"],
@@ -3197,7 +3197,7 @@ const $r = {
3197
3197
  };
3198
3198
  function Hr(e, t, n, o, r, i, a, u, d, l, m, c, p, s, f, v, B) {
3199
3199
  const {
3200
- calculateCellPositionInRow: O
3200
+ calculateCellPositionInRow: M
3201
3201
  } = i, {
3202
3202
  columnContext: j,
3203
3203
  hasLeftFixedColumn: _,
@@ -3210,7 +3210,7 @@ function Hr(e, t, n, o, r, i, a, u, d, l, m, c, p, s, f, v, B) {
3210
3210
  renderDataRow: x
3211
3211
  } = Vn(e, t, j, B, u, d, l, m, c, p, s, f, v), S = [x];
3212
3212
  function E(H, G) {
3213
- const K = O(H);
3213
+ const K = M(H);
3214
3214
  return B.value.filter((N) => N.visible !== !1).map((N, R) => S[N.type](N, K, G, R));
3215
3215
  }
3216
3216
  function C() {
@@ -3248,7 +3248,7 @@ function Hr(e, t, n, o, r, i, a, u, d, l, m, c, p, s, f, v, B) {
3248
3248
  renderDataArea: P
3249
3249
  };
3250
3250
  }
3251
- const Lr = /* @__PURE__ */ Oe({
3251
+ const Lr = /* @__PURE__ */ Me({
3252
3252
  name: "FTreeGrid",
3253
3253
  props: $r,
3254
3254
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged"],
@@ -3256,12 +3256,12 @@ const Lr = /* @__PURE__ */ Oe({
3256
3256
  var _t, qt;
3257
3257
  const o = ((_t = e.rowOption) == null ? void 0 : _t.height) || 28, r = g(20), i = g(e.columns), a = _n(e), {
3258
3258
  idField: u
3259
- } = a, d = g(), l = g(), m = g(), c = g(), p = g(), s = g([]), f = g(!1), v = g(((qt = e.rowOption) == null ? void 0 : qt.wrapContent) || !1), B = qn(e, a), O = Wn(e, t), j = Gn(e), {
3259
+ } = a, d = g(), l = g(), m = g(), c = g(), p = g(), s = g([]), f = g(!1), v = g(((qt = e.rowOption) == null ? void 0 : qt.wrapContent) || !1), B = qn(e, a), M = Wn(e, t), j = Gn(e), {
3260
3260
  collapseField: _
3261
3261
  } = j, {
3262
3262
  showLoading: T,
3263
3263
  renderLoading: y
3264
- } = Un(e, d), h = Xn(e, /* @__PURE__ */ new Map(), O, j, a), {
3264
+ } = Un(e, d), h = Xn(e, /* @__PURE__ */ new Map(), M, j, a), {
3265
3265
  dataView: k
3266
3266
  } = h, x = Yn(e, h, a, s, t), {
3267
3267
  showSelection: S,
@@ -3297,8 +3297,8 @@ const Lr = /* @__PURE__ */ Oe({
3297
3297
  resetScroll: De,
3298
3298
  updateVisibleRowsOnLatestVisibleScope: nt
3299
3299
  } = se, Ve = mo(e, ve, l, je, oe), {
3300
- calculateColumnsSize: Me
3301
- } = Ve, Pe = vo(), Ye = yo(l, p, h, Pe, se), M = ho(e, t, A, h, oe, B, se), J = z(() => {
3300
+ calculateColumnsSize: Oe
3301
+ } = Ve, Pe = vo(), Ye = yo(l, p, h, Pe, se), O = ho(e, t, A, h, oe, B, se), J = z(() => {
3302
3302
  const V = {
3303
3303
  "fv-grid": !0,
3304
3304
  "fv-grid-bordered": e.showBorder,
@@ -3316,7 +3316,7 @@ const Lr = /* @__PURE__ */ Oe({
3316
3316
  renderGridHeader: Ne,
3317
3317
  renderGridColumnResizeOverlay: ot,
3318
3318
  shouldShowHeader: wt
3319
- } = go(e, t, l, c, p, A, h, M, Ye, O, Pe, Ve, oe, x, ze, ee, se, je, s), {
3319
+ } = go(e, t, l, c, p, A, h, O, Ye, M, Pe, Ve, oe, x, ze, ee, se, je, s), {
3320
3320
  renderDataGridSidebar: Ct
3321
3321
  } = bo(e, le, x, ze, se), {
3322
3322
  renderDisableMask: St
@@ -3329,16 +3329,16 @@ const Lr = /* @__PURE__ */ Oe({
3329
3329
  var V, X, ce;
3330
3330
  if (l.value && l.value.clientHeight > 0 && ((V = l.value) == null ? void 0 : V.clientWidth) > 0) {
3331
3331
  const pe = Math.ceil(l.value.clientHeight / o);
3332
- pe > r.value && (r.value = pe, nt()), Re.value = ((X = m.value) == null ? void 0 : X.clientHeight) || 0, xe.value = ((ce = l.value) == null ? void 0 : ce.clientWidth) || 0, Me();
3332
+ pe > r.value && (r.value = pe, nt()), Re.value = ((X = m.value) == null ? void 0 : X.clientHeight) || 0, xe.value = ((ce = l.value) == null ? void 0 : ce.clientWidth) || 0, Oe();
3333
3333
  }
3334
3334
  }
3335
3335
  et(() => {
3336
- l.value && (r.value = Math.max(Math.ceil(l.value.clientHeight / o), r.value), s.value = Te(0, D.value + 0 - 1), An(l.value, Bt), Me(), Ze(() => {
3336
+ l.value && (r.value = Math.max(Math.ceil(l.value.clientHeight / o), r.value), s.value = Te(0, D.value + 0 - 1), An(l.value, Bt), Oe(), Ze(() => {
3337
3337
  l.value && (xe.value = l.value.clientWidth), m.value && (je.value = m.value.clientWidth, Re.value = m.value.clientHeight);
3338
3338
  })), T.value && y();
3339
3339
  }), ut(() => {
3340
3340
  }), Ce(je, () => {
3341
- l.value && Me();
3341
+ l.value && Oe();
3342
3342
  });
3343
3343
  function kt(V) {
3344
3344
  h.collapseTo(V), h.reOrderVisibleIndex(), De();
@@ -3354,11 +3354,11 @@ const Lr = /* @__PURE__ */ Oe({
3354
3354
  const V = rt();
3355
3355
  h.insertNewDataItem(V), s.value = Te(0, D.value + 0 - 1);
3356
3356
  }
3357
- function Mt() {
3357
+ function Ot() {
3358
3358
  const V = rt();
3359
3359
  h.insertNewChildDataItem(V), s.value = Te(0, D.value + 0 - 1);
3360
3360
  }
3361
- function Ot(V, X) {
3361
+ function Mt(V, X) {
3362
3362
  const ce = s.value.find((we) => we.raw[u.value] === X), pe = ce ? ce.dataIndex - 1 : -1;
3363
3363
  h.insertNewChildDataItems(V, pe);
3364
3364
  }
@@ -3376,7 +3376,7 @@ const Lr = /* @__PURE__ */ Oe({
3376
3376
  te.cancelEditingRow(V);
3377
3377
  }
3378
3378
  function I(V) {
3379
- V && (i.value = V, N(i), Y(i.value), me(h, ee), Me());
3379
+ V && (i.value = V, N(i), Y(i.value), me(h, ee), Oe());
3380
3380
  }
3381
3381
  Ce(() => e.columns, (V) => {
3382
3382
  I(V);
@@ -3472,8 +3472,8 @@ const Lr = /* @__PURE__ */ Oe({
3472
3472
  t.expose({
3473
3473
  activeRowById: Z,
3474
3474
  addNewDataItem: Ft,
3475
- addNewChildDataItem: Mt,
3476
- addChildrenToNode: Ot,
3475
+ addNewChildDataItem: Ot,
3476
+ addChildrenToNode: Mt,
3477
3477
  collapseTo: kt,
3478
3478
  expandTo: ct,
3479
3479
  removeDataItem: Et,
@@ -3511,11 +3511,11 @@ const Lr = /* @__PURE__ */ Oe({
3511
3511
  "justify-content-between": H.value && S.value,
3512
3512
  "justify-content-end": H.value && !S.value,
3513
3513
  "position-relative": !0
3514
- })), Mn = z(() => ({
3514
+ })), On = z(() => ({
3515
3515
  "d-flex": !0,
3516
3516
  "align-items-center": !0
3517
3517
  })), {
3518
- renderDataGridSummary: On
3518
+ renderDataGridSummary: Mn
3519
3519
  } = Bo(e, h, A);
3520
3520
  return () => w("div", {
3521
3521
  ref: d,
@@ -3528,10 +3528,10 @@ const Lr = /* @__PURE__ */ Oe({
3528
3528
  onMouseover: () => f.value = !0,
3529
3529
  onMouseleave: () => f.value = !1,
3530
3530
  style: Bn.value
3531
- }, [l.value && Ct(s), l.value && ie(), l.value && Be.value && ue(), l.value && Tt(), l.value && xt()]), l.value && On(), S.value && w("div", {
3531
+ }, [l.value && Ct(s), l.value && ie(), l.value && Be.value && ue(), l.value && Tt(), l.value && xt()]), l.value && Mn(), S.value && w("div", {
3532
3532
  class: Fn.value
3533
3533
  }, [S.value && w("div", {
3534
- class: Mn.value
3534
+ class: On.value
3535
3535
  }, [w("div", null, ["已选:" + E.value.length, Ln(" 条")])])]), ot(), F.value && St()]);
3536
3536
  }
3537
3537
  });
@@ -3672,7 +3672,7 @@ const Vr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-
3672
3672
  /** 步骤条点击后事件 */
3673
3673
  onClick: { type: Function, default: () => {
3674
3674
  } }
3675
- }, hn = bt(At, Yr, zr, Ar, ea), Ke = /* @__PURE__ */ Oe({
3675
+ }, hn = bt(At, Yr, zr, Ar, ea), Ke = /* @__PURE__ */ Me({
3676
3676
  name: "FStep",
3677
3677
  props: At,
3678
3678
  emits: ["click"],
@@ -3750,7 +3750,7 @@ const Vr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-
3750
3750
  "f-progress-step-line-success": y === a.value
3751
3751
  };
3752
3752
  }
3753
- function O(T, y) {
3753
+ function M(T, y) {
3754
3754
  return y !== i.value.length - 1;
3755
3755
  }
3756
3756
  const j = z(() => ({
@@ -3765,7 +3765,7 @@ const Vr = "https://json-schema.org/draft/2020-12/schema", _r = "https://farris-
3765
3765
  class: c(T, y)
3766
3766
  }, [w("div", {
3767
3767
  class: "f-progress-step-content"
3768
- }, [s(T, y), v(T, y)]), O(T, y) && w("div", {
3768
+ }, [s(T, y), v(T, y)]), M(T, y) && w("div", {
3769
3769
  class: B(T, y)
3770
3770
  }, [w("span", {
3771
3771
  class: j.value
@@ -3825,7 +3825,7 @@ function ta(e, t, n) {
3825
3825
  var P;
3826
3826
  !F || !D || (P = t == null ? void 0 : t.setupContext) == null || P.emit("dragEnd");
3827
3827
  }
3828
- function O(F, D) {
3828
+ function M(F, D) {
3829
3829
  const { componentType: P } = F;
3830
3830
  let H = jn(P, F, D);
3831
3831
  const G = P.toLowerCase().replace(/-/g, "_");
@@ -3914,7 +3914,7 @@ function ta(e, t, n) {
3914
3914
  getDragScopeElement: v,
3915
3915
  onAcceptMovedChildElement: B,
3916
3916
  onChildElementMovedOut: j,
3917
- addNewChildComponentSchema: O,
3917
+ addNewChildComponentSchema: M,
3918
3918
  triggerBelongedComponentToMoveWhenMoved: g(!1),
3919
3919
  triggerBelongedComponentToDeleteWhenDeleted: g(!1),
3920
3920
  onRemoveComponent: h,
@@ -3924,7 +3924,7 @@ function ta(e, t, n) {
3924
3924
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
3925
3925
  }, i;
3926
3926
  }
3927
- const na = /* @__PURE__ */ Oe({
3927
+ const na = /* @__PURE__ */ Me({
3928
3928
  name: "FStepDesign",
3929
3929
  props: At,
3930
3930
  emits: [],
@@ -3961,7 +3961,7 @@ const na = /* @__PURE__ */ Oe({
3961
3961
  };
3962
3962
  return E < a.value && (C["step-finish"] = !0), S.status && (C["step-" + S.status] = !0), C;
3963
3963
  }
3964
- function O(S, E) {
3964
+ function M(S, E) {
3965
3965
  const C = {
3966
3966
  "step-icon": !0,
3967
3967
  "step-success": E,
@@ -3973,11 +3973,11 @@ const na = /* @__PURE__ */ Oe({
3973
3973
  function j(S, E) {
3974
3974
  const C = [];
3975
3975
  return S.icon ? C.push(w("span", {
3976
- class: O(S, !1)
3976
+ class: M(S, !1)
3977
3977
  }, null)) : E >= a.value || E === d.value ? C.push(w("span", {
3978
3978
  class: "step-icon"
3979
3979
  }, [E + 1])) : C.push(w("span", {
3980
- class: O(S, !0)
3980
+ class: M(S, !0)
3981
3981
  }, null)), C;
3982
3982
  }
3983
3983
  function _(S, E) {
@@ -4327,7 +4327,7 @@ async function Fa(e) {
4327
4327
  throw Vt();
4328
4328
  return navigator.clipboard.writeText(e);
4329
4329
  }
4330
- async function Ma(e) {
4330
+ async function Oa(e) {
4331
4331
  const t = document.createElement("span");
4332
4332
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
4333
4333
  const n = window.getSelection(), o = window.document.createRange();
@@ -4341,12 +4341,12 @@ async function Ma(e) {
4341
4341
  if (!r)
4342
4342
  throw Vt();
4343
4343
  }
4344
- async function Oa(e) {
4344
+ async function Ma(e) {
4345
4345
  try {
4346
4346
  await Fa(e);
4347
4347
  } catch (t) {
4348
4348
  try {
4349
- await Ma(e);
4349
+ await Oa(e);
4350
4350
  } catch (n) {
4351
4351
  throw n || t || Vt();
4352
4352
  }
@@ -4354,7 +4354,7 @@ async function Oa(e) {
4354
4354
  }
4355
4355
  function Ea() {
4356
4356
  async function e(t) {
4357
- await Oa(t);
4357
+ await Ma(t);
4358
4358
  }
4359
4359
  return { onCopy: e };
4360
4360
  }
@@ -4436,13 +4436,13 @@ function Na(e, t) {
4436
4436
  if (s !== "" && s !== void 0 && s !== null) {
4437
4437
  s = "" + s;
4438
4438
  const v = s.length;
4439
- let B = "", O = 0;
4439
+ let B = "", M = 0;
4440
4440
  for (let j = 0; j < v; j++) {
4441
4441
  const _ = s.charAt(j);
4442
- if (O++, encodeURI(_).length > 4 && O++, B = B.concat(_), O >= f)
4442
+ if (M++, encodeURI(_).length > 4 && M++, B = B.concat(_), M >= f)
4443
4443
  return B = B.concat("..."), B;
4444
4444
  }
4445
- if (O < f)
4445
+ if (M < f)
4446
4446
  return s;
4447
4447
  }
4448
4448
  return "";
@@ -4540,7 +4540,7 @@ function La(e, t, n, o, r) {
4540
4540
  function B(j) {
4541
4541
  i.value === "question" && t.emit("reject"), t.emit("close");
4542
4542
  }
4543
- function O(j) {
4543
+ function M(j) {
4544
4544
  i.value === "question" && t.emit("accept"), t.emit("close");
4545
4545
  }
4546
4546
  return () => w("div", {
@@ -4552,7 +4552,7 @@ function La(e, t, n, o, r) {
4552
4552
  }, [l.value]), f.value && c.value && w("button", {
4553
4553
  type: "button",
4554
4554
  class: "btn btn-primary btn-lg",
4555
- onClick: O
4555
+ onClick: M
4556
4556
  }, [d.value]), p.value && a.value.length && a.value.map((j) => w("button", {
4557
4557
  type: "button",
4558
4558
  onClick: j.handle,
@@ -4587,23 +4587,23 @@ function za(e) {
4587
4587
  locale: n.value
4588
4588
  };
4589
4589
  }
4590
- const mt = /* @__PURE__ */ Oe({
4590
+ const mt = /* @__PURE__ */ Me({
4591
4591
  name: "FMessageBox",
4592
4592
  props: ka,
4593
4593
  emits: ["accept", "reject", "close"],
4594
4594
  setup(e, t) {
4595
4595
  const n = za(e), o = g(e.type), r = g(e.title), i = g(e.detail), a = z(() => {
4596
- const O = {
4596
+ const M = {
4597
4597
  "modal-tips": !0,
4598
4598
  "d-flex": !0,
4599
4599
  "flex-row": !0
4600
4600
  }, j = `messager-type-${o.value}`;
4601
- return O[j] = !0, O;
4601
+ return M[j] = !0, M;
4602
4602
  }), u = z(() => {
4603
- const O = {
4603
+ const M = {
4604
4604
  cursor: "default"
4605
4605
  };
4606
- return o.value === "prompt" ? O.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (O.padding = "0.5rem 1.5rem 1rem 1.5rem"), O;
4606
+ return o.value === "prompt" ? M.padding = "0.5rem 0.5rem 1rem 1.5rem" : o.value === "error" && (M.padding = "0.5rem 1.5rem 1rem 1.5rem"), M;
4607
4607
  }), d = Ea(), l = ja(e, o, r, i), m = Da(), {
4608
4608
  feedbackStyle: c,
4609
4609
  feedbackMessage: p
@@ -4765,8 +4765,8 @@ function Aa(e, t, n, o, r) {
4765
4765
  if (await d() && l.value) {
4766
4766
  const B = !!t.slots.default;
4767
4767
  if (i.value === "Modal") {
4768
- const O = e.modalOptions, j = m == null ? void 0 : m.open({
4769
- ...O,
4768
+ const M = e.modalOptions, j = m == null ? void 0 : m.open({
4769
+ ...M,
4770
4770
  render: () => t.slots.default && t.slots.default()
4771
4771
  });
4772
4772
  c.value = j == null ? void 0 : j.modalRef;
@@ -4854,7 +4854,7 @@ function _a(e, t, n) {
4854
4854
  buttonHandleElement: r
4855
4855
  };
4856
4856
  }
4857
- const yt = /* @__PURE__ */ Oe({
4857
+ const yt = /* @__PURE__ */ Me({
4858
4858
  name: "FButtonEdit",
4859
4859
  props: ko,
4860
4860
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],