@farris/ui-vue 1.6.5-beta.4 → 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 (170) 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
  169. package/types/locale/index.d.ts +1 -1
  170. package/types/step/index.d.ts +1 -0
@@ -1,11 +1,11 @@
1
1
  var Mn = Object.defineProperty;
2
2
  var On = (e, t, n) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var ye = (e, t, n) => On(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as Oe, ref as b, computed as N, createVNode as w, Teleport as Ut, createApp as Nt, onUnmounted as ut, Fragment as Ye, watch as fe, nextTick as et, onBeforeMount as En, onMounted as Je, Transition as Xt, shallowRef as Rn, render as Rt, h as Pn, cloneVNode as jn, mergeProps as ht, reactive as Le, createTextVNode as Yt, inject as Jt, withDirectives as Dn, vShow as Nn, onUpdated as In, onBeforeUnmount as Hn } from "vue";
4
+ import { defineComponent as Oe, ref as b, computed as N, createVNode as w, Teleport as Ut, createApp as Nt, onUnmounted as ut, Fragment as Ye, watch as fe, nextTick as et, onBeforeMount as En, onMounted as Je, Transition as Xt, shallowRef as Rn, render as Rt, h as jn, cloneVNode as Pn, mergeProps as ht, reactive as Le, createTextVNode as Yt, inject as Jt, withDirectives as Dn, vShow as Nn, onUpdated as In, onBeforeUnmount as Hn } from "vue";
5
5
  import { resolveAppearance as Ln, createPropsResolver as Qt, getSchemaByTypeForDesigner as $n } from "../dynamic-resolver/index.esm.js";
6
6
  import { useI18n as It } from "vue-i18n";
7
7
  import { LocaleService as gt } from "../locale/index.esm.js";
8
- import { cloneDeep as Pt, isPlainObject as _t, isUndefined as Ie, debounce as zn } from "lodash-es";
8
+ import { cloneDeep as jt, isPlainObject as _t, isUndefined as Ie, debounce as zn } from "lodash-es";
9
9
  import "../accordion/index.esm.js";
10
10
  import "../avatar/index.esm.js";
11
11
  import "../../designer/button-edit/index.esm.js";
@@ -82,7 +82,7 @@ import "../modal/index.esm.js";
82
82
  import "../external-container/index.esm.js";
83
83
  import "../language-textbox/index.esm.js";
84
84
  import "../designer-canvas/index.esm.js";
85
- import { getCustomClass as jt, withInstall as Zt, FormSchemaEntityField$Type as Wt, FormSchemaEntityFieldTypeName as qt, useGuid as Vn } from "../common/index.esm.js";
85
+ import { getCustomClass as Pt, withInstall as Zt, FormSchemaEntityField$Type as Wt, FormSchemaEntityFieldTypeName as qt, useGuid as Vn } from "../common/index.esm.js";
86
86
  import { useResizeObserver as _n } from "@vueuse/core";
87
87
  import { getHierarchyRow as Wn, useIdentify as qn, useGroupData as Gn, useFilter as Un, useHierarchy as Xn, useLoading as Yn, useDataView as Jn, useSelection as Qn, useSelectHierarchyItem as Zn, usePagination as Kn, useDataViewContainerStyle as eo, useCommandColumn as to, useSettingColumn as no, useColumn as oo, useSort as ao, useGroupColumn as ro, useRow as lo, useEdit as io, useVisualDataBound as so, useVisualDataCell as uo, useVisualDataRow as co, useVisualData as fo, useCellPosition as po, useSidebar as mo, useVirtualScroll as vo, useFitColumn as ho, useFilterHistory as go, useColumnFilter as yo, useDragColumn as bo, getColumnHeader as wo, getSidebar as Co, getDisableMask as xo, getHorizontalScrollbar as So, getVerticalScrollbar as To, getEmpty as Bo, getPagination as ko, getSummary as Fo } from "../data-view/index.esm.js";
88
88
  import "../property-panel/index.esm.js";
@@ -259,13 +259,13 @@ const Oo = {
259
259
  });
260
260
  }
261
261
  });
262
- function Po(e) {
262
+ function jo(e) {
263
263
  if (e.content && e.content.render)
264
264
  return e.content.render;
265
265
  if (e.render && typeof e.render == "function")
266
266
  return e.render;
267
267
  }
268
- function jo(e) {
268
+ function Po(e) {
269
269
  const t = document.createElement("div");
270
270
  t.style.display = "contents";
271
271
  let n;
@@ -278,7 +278,7 @@ function jo(e) {
278
278
  ut(() => {
279
279
  document.body.removeChild(t);
280
280
  });
281
- const l = Po(e);
281
+ const l = jo(e);
282
282
  return () => w(Ro, {
283
283
  "popup-content-position": e.popupPosition,
284
284
  host: e.host,
@@ -292,7 +292,7 @@ function jo(e) {
292
292
  }
293
293
  class Do {
294
294
  static show(t) {
295
- return jo(t);
295
+ return Po(t);
296
296
  }
297
297
  }
298
298
  const No = "https://json-schema.org/draft/2020-12/schema", Io = "https://farris-design.gitee.io/modal.schema.json", Ho = "modal", Lo = "弹窗组件", $o = "object", zo = {
@@ -681,11 +681,11 @@ function Yo(e, t) {
681
681
  }
682
682
  a.value = void 0, l.value = null, r.value = null, s.value = null, f.value = null, i.value = null, m.value = null, document.removeEventListener("mousemove", F), document.removeEventListener("mouseup", x);
683
683
  }
684
- function j() {
684
+ function P() {
685
685
  document.addEventListener("mousemove", F), document.addEventListener("mouseup", x);
686
686
  }
687
687
  function v(I) {
688
- I instanceof MouseEvent && I.button === 2 || g.value && (document.body.click(), I.stopPropagation(), I.preventDefault(), a.value = ae.fromEvent(I), m.value = I.target, R(I), j());
688
+ I instanceof MouseEvent && I.button === 2 || g.value && (document.body.click(), I.stopPropagation(), I.preventDefault(), a.value = ae.fromEvent(I), m.value = I.target, R(I), P());
689
689
  }
690
690
  function B(I) {
691
691
  return n.value = I, d.value && w(Ye, null, [w("div", {
@@ -800,9 +800,9 @@ function Jo(e, t, n) {
800
800
  return !1;
801
801
  }
802
802
  function u() {
803
- var j, v;
803
+ var P, v;
804
804
  let F = c.value.x + m.value.x, k = c.value.y + m.value.y;
805
- l.value === "x" ? (F = ((j = i.value) == null ? void 0 : j.x) || 0, c.value.x = 0) : l.value === "y" && (k = ((v = i.value) == null ? void 0 : v.y) || 0, c.value.y = 0);
805
+ l.value === "x" ? (F = ((P = i.value) == null ? void 0 : P.x) || 0, c.value.x = 0) : l.value === "y" && (k = ((v = i.value) == null ? void 0 : v.y) || 0, c.value.y = 0);
806
806
  const x = `translate3d(${Math.round(F)}px, ${Math.round(k)}px, 0px)`;
807
807
  o.value && (o.value.style.transform = x), p.value.x = F, p.value.y = k;
808
808
  }
@@ -852,8 +852,8 @@ function Jo(e, t, n) {
852
852
  if (e.dragHandle instanceof HTMLElement)
853
853
  r.value = e.dragHandle;
854
854
  else if (typeof e.dragHandle == "string") {
855
- const j = k.querySelector(e.dragHandle);
856
- j && (r.value = j);
855
+ const P = k.querySelector(e.dragHandle);
856
+ P && (r.value = P);
857
857
  }
858
858
  }
859
859
  o.value = k, s.value = x, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", y)) : a.value = !1;
@@ -902,7 +902,7 @@ const Xe = /* @__PURE__ */ Oe({
902
902
  } = It();
903
903
  O.value === "错误提示" && (O.value = T("messageBox.errorTitle"));
904
904
  const y = b(!1);
905
- function h(P, J) {
905
+ function h(j, J) {
906
906
  const re = J ? "accept" : "cancel";
907
907
  Promise.resolve().then(() => {
908
908
  var le;
@@ -910,24 +910,24 @@ const Xe = /* @__PURE__ */ Oe({
910
910
  closeType: re
911
911
  });
912
912
  }).then((le) => {
913
- le && (a.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", P));
913
+ le && (a.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", j));
914
914
  });
915
915
  }
916
916
  const F = [{
917
917
  name: "cancel",
918
918
  text: T("messageBox.cancel") || "取消",
919
919
  class: "btn btn-secondary",
920
- handle: (P) => {
921
- h(P, !1);
920
+ handle: (j) => {
921
+ h(j, !1);
922
922
  }
923
923
  }, {
924
924
  name: "accept",
925
925
  text: T("messageBox.ok") || "确定",
926
926
  class: "btn btn-primary",
927
- handle: (P) => {
928
- h(P, !0);
927
+ handle: (j) => {
928
+ h(j, !0);
929
929
  }
930
- }], k = b(e.buttons && e.buttons.length ? e.buttons : F), x = N(() => !!i.value), j = N(() => !!S.value && !!k.value), v = b(), B = b(), M = b(!1), {
930
+ }], k = b(e.buttons && e.buttons.length ? e.buttons : F), x = N(() => !!i.value), P = N(() => !!S.value && !!k.value), v = b(), B = b(), M = b(!1), {
931
931
  renderResizeBar: E,
932
932
  maximize: L,
933
933
  restore: G,
@@ -943,65 +943,65 @@ const Xe = /* @__PURE__ */ Oe({
943
943
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
944
944
  }
945
945
  function he() {
946
- const P = document.querySelectorAll(".farris-modal").length;
947
- (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), A.value && A.value.classList.remove("show");
946
+ const j = document.querySelectorAll(".farris-modal").length;
947
+ (!j || j - 1 <= 0) && document.body.classList.remove("modal-open"), A.value && A.value.classList.remove("show");
948
948
  }
949
- fe(() => e.title, (P, J) => {
950
- P !== J && (O.value = P);
951
- }), fe(() => e.modelValue, (P, J) => {
952
- P !== J && (a.value = P, a.value && e.draggable && et(() => {
949
+ fe(() => e.title, (j, J) => {
950
+ j !== J && (O.value = j);
951
+ }), fe(() => e.modelValue, (j, J) => {
952
+ j !== J && (a.value = j, a.value && e.draggable && et(() => {
953
953
  B.value && !R.value && (R.value = B.value.parentElement, K.value = R.value, ee(v.value, B.value, K.value), V());
954
- }), P || (R.value && (R.value = null), he())), a.value ? y.value = ve() : (M.value = !1, D.value = e.draggable);
955
- }), fe(() => e.showHeader, (P, J) => {
956
- P !== J && (f.value = P);
957
- }), fe(() => e.showButtons, (P, J) => {
958
- P !== J && (S.value = P);
959
- }), fe(() => I.value, (P, J) => {
960
- const re = P || {}, le = J || {};
954
+ }), j || (R.value && (R.value = null), he())), a.value ? y.value = ve() : (M.value = !1, D.value = e.draggable);
955
+ }), fe(() => e.showHeader, (j, J) => {
956
+ j !== J && (f.value = j);
957
+ }), fe(() => e.showButtons, (j, J) => {
958
+ j !== J && (S.value = j);
959
+ }), fe(() => I.value, (j, J) => {
960
+ const re = j || {}, le = J || {};
961
961
  JSON.stringify(re) !== JSON.stringify(le) && t.emit("resize", {
962
- newSize: P,
962
+ newSize: j,
963
963
  oldSize: J,
964
964
  isMaximized: M.value
965
965
  });
966
966
  });
967
967
  const Y = N(() => (a.value && document.body.classList.add("modal-open"), a.value)), oe = N(() => {
968
968
  var re;
969
- const P = {
969
+ const j = {
970
970
  modal: !0,
971
971
  "farris-modal": !0,
972
972
  fade: !0
973
973
  };
974
- P["f-modal-fitContent"] = !!s.value, P.show = !!Y.value;
974
+ j["f-modal-fitContent"] = !!s.value, j.show = !!Y.value;
975
975
  const J = (re = e.maskClass) == null ? void 0 : re.split(" ");
976
- return J == null || J.reduce((le, Ne) => (le[Ne] = !0, le), P), P;
976
+ return J == null || J.reduce((le, Ne) => (le[Ne] = !0, le), j), j;
977
977
  }), ie = N(() => {
978
978
  var re;
979
- const P = {
979
+ const j = {
980
980
  "modal-dialog": !0
981
981
  }, J = (re = r.value) == null ? void 0 : re.split(" ");
982
- return J == null || J.reduce((le, Ne) => (le[Ne] = !0, le), P), P;
982
+ return J == null || J.reduce((le, Ne) => (le[Ne] = !0, le), j), j;
983
983
  }), te = N(() => {
984
- const P = {
984
+ const j = {
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: s.value ? "auto" : `${o.value}px`
990
990
  };
991
- return e.mask || (P.pointerEvents = "auto"), P;
991
+ return e.mask || (j.pointerEvents = "auto"), j;
992
992
  }), W = N(() => {
993
- const P = {
993
+ const j = {
994
994
  display: "block"
995
995
  };
996
- return e.mask || (P.pointerEvents = "none", P.backgroundColor = "transparent"), y.value && (P.backgroundColor = "transparent"), P;
996
+ return e.mask || (j.pointerEvents = "none", j.backgroundColor = "transparent"), y.value && (j.backgroundColor = "transparent"), j;
997
997
  }), ne = N(() => ({
998
998
  "modal-content": !0,
999
999
  "modal-content-has-header": f.value
1000
1000
  })), $e = N(() => {
1001
- const P = {
1001
+ const j = {
1002
1002
  display: f.value ? "" : "none"
1003
1003
  };
1004
- return P["pointer-events"] = D.value ? "auto" : "none", P;
1004
+ return j["pointer-events"] = D.value ? "auto" : "none", j;
1005
1005
  }), Ee = N(() => ({
1006
1006
  "f-icon": !0,
1007
1007
  modal_maximize: !0,
@@ -1017,23 +1017,23 @@ const Xe = /* @__PURE__ */ Oe({
1017
1017
  };
1018
1018
  }
1019
1019
  const ze = N(() => {
1020
- const P = {
1020
+ const j = {
1021
1021
  textAlgin: g.value
1022
1022
  }, J = Qe();
1023
- return Object.assign(P, J);
1023
+ return Object.assign(j, J);
1024
1024
  });
1025
- function Ae(P) {
1026
- if (P == null || P.stopPropagation(), M.value) {
1025
+ function Ae(j) {
1026
+ if (j == null || j.stopPropagation(), M.value) {
1027
1027
  M.value = !1, G();
1028
1028
  return;
1029
1029
  }
1030
1030
  L(), M.value = !0;
1031
1031
  }
1032
- async function se(P, J) {
1033
- P.handle && await P.handle(J, P) && t.emit("closed", J);
1032
+ async function se(j, J) {
1033
+ j.handle && await j.handle(J, j) && t.emit("closed", J);
1034
1034
  }
1035
- function nt(P) {
1036
- P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (k.value = P.buttons), P.title && (O.value = P.title);
1035
+ function nt(j) {
1036
+ j.width && (n.value = j.width), j.height && (o.value = j.height), j.buttons && (k.value = j.buttons), j.title && (O.value = j.title);
1037
1037
  }
1038
1038
  let Te = null, Re = null;
1039
1039
  En(() => {
@@ -1049,7 +1049,7 @@ const Xe = /* @__PURE__ */ Oe({
1049
1049
  maxDialog: Ae,
1050
1050
  isMaximized: M
1051
1051
  });
1052
- function Pe() {
1052
+ function je() {
1053
1053
  return w("ul", null, [p.value && w("li", {
1054
1054
  class: "f-btn-icon f-bare"
1055
1055
  }, [w("span", {
@@ -1062,29 +1062,29 @@ const Xe = /* @__PURE__ */ Oe({
1062
1062
  class: Ee.value
1063
1063
  }, null)]), m.value && w("li", {
1064
1064
  class: "f-btn-icon f-bare",
1065
- onClick: (P) => h(P, !1),
1065
+ onClick: (j) => h(j, !1),
1066
1066
  style: "pointer-events: auto;"
1067
1067
  }, [w("span", {
1068
1068
  class: "f-icon modal_close"
1069
1069
  }, null)])]);
1070
1070
  }
1071
- function je() {
1071
+ function Pe() {
1072
1072
  return w("div", {
1073
1073
  class: "modal-footer",
1074
1074
  style: ze.value
1075
- }, [k.value && k.value.map((P) => {
1076
- const J = b(P.disabled);
1075
+ }, [k.value && k.value.map((j) => {
1076
+ const J = b(j.disabled);
1077
1077
  return w("button", {
1078
- name: P.name,
1078
+ name: j.name,
1079
1079
  type: "button",
1080
1080
  disabled: J.value,
1081
- class: P.class + (P.iconClass ? " btn-icontext" : ""),
1081
+ class: j.class + (j.iconClass ? " btn-icontext" : ""),
1082
1082
  onClick: (re) => {
1083
- se(P, re);
1083
+ se(j, re);
1084
1084
  }
1085
- }, [!!P.iconClass && w("i", {
1086
- class: P.iconClass
1087
- }, null), P.text]);
1085
+ }, [!!j.iconClass && w("i", {
1086
+ class: j.iconClass
1087
+ }, null), j.text]);
1088
1088
  })]);
1089
1089
  }
1090
1090
  function ot() {
@@ -1101,20 +1101,20 @@ const Xe = /* @__PURE__ */ Oe({
1101
1101
  class: "modal-title-label"
1102
1102
  }, [O.value])]), w("div", {
1103
1103
  class: "actions"
1104
- }, [Pe()])]);
1104
+ }, [je()])]);
1105
1105
  }
1106
1106
  function Ve() {
1107
- return t.slots.footerTemplate ? t.slots.footerTemplate() : j.value && je();
1107
+ return t.slots.footerTemplate ? t.slots.footerTemplate() : P.value && Pe();
1108
1108
  }
1109
- function Me(P) {
1110
- if (P.stopPropagation(), e.allowClickMaskToClose) {
1111
- if (P.target !== A.value)
1109
+ function Me(j) {
1110
+ if (j.stopPropagation(), e.allowClickMaskToClose) {
1111
+ if (j.target !== A.value)
1112
1112
  return;
1113
- h(P, !1);
1113
+ h(j, !1);
1114
1114
  }
1115
1115
  }
1116
1116
  function De() {
1117
- var P, J;
1117
+ var j, J;
1118
1118
  return w("div", {
1119
1119
  id: l.value,
1120
1120
  class: ie.value,
@@ -1124,7 +1124,7 @@ const Xe = /* @__PURE__ */ Oe({
1124
1124
  class: ne.value
1125
1125
  }, [f.value && ot(), w("div", {
1126
1126
  class: Se.value
1127
- }, [(J = (P = t.slots).default) == null ? void 0 : J.call(P), d.value === "iframe" && w("iframe", {
1127
+ }, [(J = (j = t.slots).default) == null ? void 0 : J.call(j), d.value === "iframe" && w("iframe", {
1128
1128
  title: l.value,
1129
1129
  class: "f-utils-fill",
1130
1130
  width: "100%",
@@ -1132,8 +1132,8 @@ const Xe = /* @__PURE__ */ Oe({
1132
1132
  src: u.value
1133
1133
  }, null)]), Ve()]), !s.value && B.value && !M.value && E(B.value)]);
1134
1134
  }
1135
- function Ze(P) {
1136
- return P || "body";
1135
+ function Ze(j) {
1136
+ return j || "body";
1137
1137
  }
1138
1138
  return () => w(Ut, {
1139
1139
  to: Ze(e.host)
@@ -1291,7 +1291,7 @@ class nn {
1291
1291
  default: () => [c && c(this.app)]
1292
1292
  });
1293
1293
  return m = ((y) => {
1294
- const h = Pn(R, y);
1294
+ const h = jn(R, y);
1295
1295
  return h.appContext = this.appContext, Rt(h, n), h;
1296
1296
  })({
1297
1297
  ...o.value
@@ -1301,7 +1301,7 @@ class nn {
1301
1301
  o.value = {
1302
1302
  ...o.value,
1303
1303
  ...y
1304
- }, m && Rt(jn(m, {
1304
+ }, m && Rt(Pn(m, {
1305
1305
  ...o
1306
1306
  }), n);
1307
1307
  },
@@ -1666,7 +1666,7 @@ function on(e, t, n) {
1666
1666
  }
1667
1667
  function m(u, g, S, O, R, A = "", T = "") {
1668
1668
  return Object.keys(u).map((h) => {
1669
- const F = b(1), k = h, x = u[h], j = Object.keys(x), v = x.title, B = x.type, M = a.get(B) || { type: "input-group", enableClear: !1 }, E = x.editor ? Object.assign({}, M, x.editor) : Object.assign({}, M), L = s(j, x, g), G = f(j, x, g);
1669
+ const F = b(1), k = h, x = u[h], P = Object.keys(x), v = x.title, B = x.type, M = a.get(B) || { type: "input-group", enableClear: !1 }, E = x.editor ? Object.assign({}, M, x.editor) : Object.assign({}, M), L = s(P, x, g), G = f(P, x, g);
1670
1670
  E.readonly = E.readonly === void 0 ? G() : E.readonly;
1671
1671
  const K = x.type === "cascade" ? m(x.properties, g, S, O, R, A, T) : [], I = !0;
1672
1672
  let D = i(x, T);
@@ -1697,11 +1697,11 @@ function on(e, t, n) {
1697
1697
  function p(u, g, S, O, R = "") {
1698
1698
  const A = g.$ref.schema, T = g.$ref.converter, y = S[A], h = y.type, F = n(y), k = {}, x = e[h];
1699
1699
  if (x && x.categories) {
1700
- const j = x.categories[u], v = j == null ? void 0 : j.title;
1701
- T && Object.keys(j.properties).forEach((E) => {
1702
- j.properties[E].$converter = T;
1700
+ const P = x.categories[u], v = P == null ? void 0 : P.title;
1701
+ T && Object.keys(P.properties).forEach((E) => {
1702
+ P.properties[E].$converter = T;
1703
1703
  });
1704
- const B = (j == null ? void 0 : j.properties) || {}, M = m(B, k, F, y, O, R);
1704
+ const B = (P == null ? void 0 : P.properties) || {}, M = m(B, k, F, y, O, R);
1705
1705
  return { categoryId: u, categoryName: v, properties: M };
1706
1706
  }
1707
1707
  return { categoryId: u, categoryName: "", properties: [] };
@@ -1717,8 +1717,8 @@ function on(e, t, n) {
1717
1717
  F.push(p(k, x, u, g, O));
1718
1718
  return;
1719
1719
  }
1720
- const j = x == null ? void 0 : x.title, v = x == null ? void 0 : x.tabId, B = x == null ? void 0 : x.tabName, M = x == null ? void 0 : x.hide, E = x == null ? void 0 : x.hideTitle, L = m(x.properties || {}, y, T, u, g, O, x.$converter), { setPropertyRelates: G } = x, K = x == null ? void 0 : x.parentPropertyID;
1721
- F.push({ categoryId: k, categoryName: j, tabId: v, tabName: B, hide: M, properties: L, hideTitle: E, setPropertyRelates: G, parentPropertyID: K });
1720
+ const P = x == null ? void 0 : x.title, v = x == null ? void 0 : x.tabId, B = x == null ? void 0 : x.tabName, M = x == null ? void 0 : x.hide, E = x == null ? void 0 : x.hideTitle, L = m(x.properties || {}, y, T, u, g, O, x.$converter), { setPropertyRelates: G } = x, K = x == null ? void 0 : x.parentPropertyID;
1721
+ F.push({ categoryId: k, categoryName: P, tabId: v, tabName: B, hide: M, properties: L, hideTitle: E, setPropertyRelates: G, parentPropertyID: K });
1722
1722
  }), F;
1723
1723
  }
1724
1724
  return [];
@@ -1732,7 +1732,7 @@ function on(e, t, n) {
1732
1732
  function an(e, t) {
1733
1733
  let n;
1734
1734
  function o(c) {
1735
- const { properties: p, title: d, ignore: u } = c, g = u && Array.isArray(u), S = Object.keys(p).reduce((O, R) => ((!g || !u.find((A) => A === R)) && (O[R] = p[R].type === "object" && p[R].properties ? o(p[R]) : Pt(p[R].default)), O), {});
1735
+ const { properties: p, title: d, ignore: u } = c, g = u && Array.isArray(u), S = Object.keys(p).reduce((O, R) => ((!g || !u.find((A) => A === R)) && (O[R] = p[R].type === "object" && p[R].properties ? o(p[R]) : jt(p[R].default)), O), {});
1736
1736
  if (d && (!g || !u.find((O) => O === "id"))) {
1737
1737
  const O = d.toLowerCase().replace(/-/g, "_");
1738
1738
  S.id = `${O}_${Math.random().toString().slice(2, 6)}`;
@@ -1742,7 +1742,7 @@ function an(e, t) {
1742
1742
  function a(c) {
1743
1743
  const { properties: p, title: d, required: u } = c;
1744
1744
  if (u && Array.isArray(u)) {
1745
- const g = u.reduce((S, O) => (S[O] = p[O].type === "object" && p[O].properties ? o(p[O]) : Pt(p[O].default), S), {});
1745
+ const g = u.reduce((S, O) => (S[O] = p[O].type === "object" && p[O].properties ? o(p[O]) : jt(p[O].default), S), {});
1746
1746
  if (d && u.find((S) => S === "id")) {
1747
1747
  const S = d.toLowerCase().replace(/-/g, "_");
1748
1748
  g.id = `${S}_${Math.random().toString().slice(2, 6)}`;
@@ -1806,7 +1806,7 @@ function an(e, t) {
1806
1806
  }
1807
1807
  return { getSchemaByType: l, resolveSchemaWithDefaultValue: i, resolveSchemaToProps: f, mappingSchemaToProps: s, setDesignerContext: m };
1808
1808
  }
1809
- const rn = {}, ln = {}, { getSchemaByType: ji, resolveSchemaWithDefaultValue: xa, resolveSchemaToProps: Di, mappingSchemaToProps: Ni, setDesignerContext: Ii } = an(rn, ln), sn = {}, un = {};
1809
+ const rn = {}, ln = {}, { getSchemaByType: Pi, resolveSchemaWithDefaultValue: xa, resolveSchemaToProps: Di, mappingSchemaToProps: Ni, setDesignerContext: Ii } = an(rn, ln), sn = {}, un = {};
1810
1810
  on(sn, un, xa);
1811
1811
  const cn = {}, dn = {}, { getSchemaByType: Hi, resolveSchemaWithDefaultValue: Sa, resolveSchemaToProps: Ta, mappingSchemaToProps: Ba, setDesignerContext: Li } = an(cn, dn), fn = {}, pn = {};
1812
1812
  on(fn, pn, Sa);
@@ -1823,7 +1823,7 @@ function mn(e, t) {
1823
1823
  }
1824
1824
  const Ht = /* @__PURE__ */ new Map([
1825
1825
  ["appearance", mn]
1826
- ]), ka = /* @__PURE__ */ new Map([]), Fa = "https://json-schema.org/draft/2020-12/schema", Ma = "https://farris-design.gitee.io/form-group.schema.json", Oa = "form-group", Ea = "A Farris Input Component", Ra = "object", Pa = {
1826
+ ]), ka = /* @__PURE__ */ new Map([]), Fa = "https://json-schema.org/draft/2020-12/schema", Ma = "https://farris-design.gitee.io/form-group.schema.json", Oa = "form-group", Ea = "A Farris Input Component", Ra = "object", ja = {
1827
1827
  id: {
1828
1828
  description: "The unique identifier for a form group",
1829
1829
  type: "string"
@@ -1895,7 +1895,7 @@ const Ht = /* @__PURE__ */ new Map([
1895
1895
  type: "string",
1896
1896
  default: "visible"
1897
1897
  }
1898
- }, ja = [
1898
+ }, Pa = [
1899
1899
  "id",
1900
1900
  "type",
1901
1901
  "editor"
@@ -1905,8 +1905,8 @@ const Ht = /* @__PURE__ */ new Map([
1905
1905
  title: Oa,
1906
1906
  description: Ea,
1907
1907
  type: Ra,
1908
- properties: Pa,
1909
- required: ja
1908
+ properties: ja,
1909
+ required: Pa
1910
1910
  }, Da = {
1911
1911
  id: { type: String, default: "" },
1912
1912
  customClass: { type: String, default: "" },
@@ -1915,7 +1915,7 @@ const Ht = /* @__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 },
@@ -2087,10 +2087,10 @@ var Na = { exports: {} };
2087
2087
  W.moves === void 0 && (W.moves = R), W.accepts === void 0 && (W.accepts = R), W.invalid === void 0 && (W.invalid = ot), W.containers === void 0 && (W.containers = v || []), W.isContainer === void 0 && (W.isContainer = O), W.copy === void 0 && (W.copy = !1), W.copySortSource === void 0 && (W.copySortSource = !1), W.revertOnSpill === void 0 && (W.revertOnSpill = !1), W.removeOnSpill === void 0 && (W.removeOnSpill = !1), W.direction === void 0 && (W.direction = "vertical"), W.ignoreInputTextSelection === void 0 && (W.ignoreInputTextSelection = !0), W.mirrorContainer === void 0 && (W.mirrorContainer = i.body);
2088
2088
  var ne = r({
2089
2089
  containers: W.containers,
2090
- start: Pe,
2090
+ start: je,
2091
2091
  end: Ve,
2092
2092
  cancel: J,
2093
- remove: P,
2093
+ remove: j,
2094
2094
  destroy: ze,
2095
2095
  canMove: Re,
2096
2096
  dragging: !1
@@ -2133,12 +2133,12 @@ var Na = { exports: {} };
2133
2133
  }
2134
2134
  if (!(C.clientX !== void 0 && Math.abs(C.clientX - K) <= (W.slideFactorX || 0) && C.clientY !== void 0 && Math.abs(C.clientY - I) <= (W.slideFactorY || 0))) {
2135
2135
  if (W.ignoreInputTextSelection) {
2136
- var H = j("clientX", C) || 0, z = j("clientY", C) || 0, q = i.elementFromPoint(H, z);
2136
+ var H = P("clientX", C) || 0, z = P("clientY", C) || 0, q = i.elementFromPoint(H, z);
2137
2137
  if (h(q))
2138
2138
  return;
2139
2139
  }
2140
2140
  var Q = he;
2141
- Se(!0), Qe(), Ve(), je(Q), f.add(V || G, "gu-transit"), St(), xt(), ie = 0, at(C);
2141
+ Se(!0), Qe(), Ve(), Pe(Q), f.add(V || G, "gu-transit"), St(), xt(), ie = 0, at(C);
2142
2142
  }
2143
2143
  }
2144
2144
  }
@@ -2161,11 +2161,11 @@ var Na = { exports: {} };
2161
2161
  function Re(C) {
2162
2162
  return !!Te(C);
2163
2163
  }
2164
- function Pe(C) {
2164
+ function je(C) {
2165
2165
  var H = Te(C);
2166
- H && je(H);
2166
+ H && Pe(H);
2167
2167
  }
2168
- function je(C) {
2168
+ function Pe(C) {
2169
2169
  Et(C.item, C.source) && (V = C.item.cloneNode(!0), ne.emit("cloned", V, C.item, "copy")), L = C.source, G = C.item, D = U = k(C.item), ne.dragging = !0, ne.emit("drag", G, L);
2170
2170
  }
2171
2171
  function ot() {
@@ -2182,15 +2182,15 @@ var Na = { exports: {} };
2182
2182
  }
2183
2183
  function De(C) {
2184
2184
  if (Me(), !!ne.dragging) {
2185
- var H = V || G, z = j("clientX", C) || 0, q = j("clientY", C) || 0, Q = S(E, z, q), Z = Ne(Q, z, q);
2186
- Z && (V && W.copySortSource || !V || Z !== L) ? Ze(H, Z) : W.removeOnSpill ? P() : J();
2185
+ var H = V || G, z = P("clientX", C) || 0, q = P("clientY", C) || 0, Q = S(E, z, q), Z = Ne(Q, z, q);
2186
+ Z && (V && W.copySortSource || !V || Z !== L) ? Ze(H, Z) : W.removeOnSpill ? j() : J();
2187
2187
  }
2188
2188
  }
2189
2189
  function Ze(C, H) {
2190
2190
  var z = y(C);
2191
2191
  V && W.copySortSource && H === L && z.removeChild(G), le(H) ? ne.emit("cancel", C, L) : ne.emit("drop", C, H, L, U), re();
2192
2192
  }
2193
- function P() {
2193
+ function j() {
2194
2194
  if (ne.dragging) {
2195
2195
  var C = V || G, H = y(C);
2196
2196
  H && H.removeChild(C), ne.emit(V ? "cancel" : "remove", C, H, L), re();
@@ -2226,7 +2226,7 @@ var Na = { exports: {} };
2226
2226
  if (!E)
2227
2227
  return;
2228
2228
  C.preventDefault();
2229
- var H = j("clientX", C) || 0, z = j("clientY", C) || 0;
2229
+ var H = P("clientX", C) || 0, z = P("clientY", C) || 0;
2230
2230
  E.style.left = H - 2 + "px", E.style.top = z - 2 + "px";
2231
2231
  var q = V || G, Q = S(E, H, z), Z = Ne(Q, H, z), xe = Z !== null && Z !== ve;
2232
2232
  (xe || Z === null) && (we(), ve = Z, ke()), Ot(Q, z);
@@ -2467,7 +2467,7 @@ var Na = { exports: {} };
2467
2467
  function x(v) {
2468
2468
  return v.targetTouches && v.targetTouches.length ? v.targetTouches[0] : v.changedTouches && v.changedTouches.length ? v.changedTouches[0] : v;
2469
2469
  }
2470
- function j(v, B) {
2470
+ function P(v, B) {
2471
2471
  var M = x(B), E = {
2472
2472
  pageX: "clientX",
2473
2473
  // IE8
@@ -2552,24 +2552,24 @@ var Na = { exports: {} };
2552
2552
  return y.detachEvent("on" + h, k);
2553
2553
  }
2554
2554
  function S(y, h, F) {
2555
- var k = s.indexOf(h) === -1 ? j() : x();
2555
+ var k = s.indexOf(h) === -1 ? P() : x();
2556
2556
  y.dispatchEvent ? y.dispatchEvent(k) : y.fireEvent("on" + h, k);
2557
2557
  function x() {
2558
2558
  var v;
2559
2559
  return f.createEvent ? (v = f.createEvent("Event"), v.initEvent(h, !0, !0)) : f.createEventObject && (v = f.createEventObject()), v;
2560
2560
  }
2561
- function j() {
2561
+ function P() {
2562
2562
  return new r(h, { detail: F });
2563
2563
  }
2564
2564
  }
2565
2565
  function O(y, h, F) {
2566
2566
  return function(x) {
2567
- var j = x || l.event;
2568
- j.target = j.target || j.srcElement, j.preventDefault = j.preventDefault || function() {
2569
- j.returnValue = !1;
2570
- }, j.stopPropagation = j.stopPropagation || function() {
2571
- j.cancelBubble = !0;
2572
- }, j.which = j.which || j.keyCode, F.call(y, j);
2567
+ var P = x || l.event;
2568
+ P.target = P.target || P.srcElement, P.preventDefault = P.preventDefault || function() {
2569
+ P.returnValue = !1;
2570
+ }, P.stopPropagation = P.stopPropagation || function() {
2571
+ P.cancelBubble = !0;
2572
+ }, P.which = P.which || P.keyCode, F.call(y, P);
2573
2573
  };
2574
2574
  }
2575
2575
  function R(y, h, F) {
@@ -3209,7 +3209,7 @@ function Aa(e, t, n, o, a, l, r, s, f, i, m, c, p, d, u, g, S) {
3209
3209
  } = d, {
3210
3210
  renderDataRow: k
3211
3211
  } = Wn(e, t, R, S, s, f, i, m, c, p, d, u, g), x = [k];
3212
- function j(L, G) {
3212
+ function P(L, G) {
3213
3213
  const K = O(L);
3214
3214
  return S.value.filter((I) => I.visible !== !1).map((I, D) => x[I.type](I, K, G, D));
3215
3215
  }
@@ -3220,7 +3220,7 @@ function Aa(e, t, n, o, a, l, r, s, f, i, m, c, p, d, u, g, S) {
3220
3220
  }, [w("div", {
3221
3221
  class: "fv-grid-data",
3222
3222
  style: h.value
3223
- }, [j(R.value.leftColumns.filter((L) => L.visible), "left")])]);
3223
+ }, [P(R.value.leftColumns.filter((L) => L.visible), "left")])]);
3224
3224
  }
3225
3225
  function B() {
3226
3226
  return w("div", {
@@ -3229,7 +3229,7 @@ function Aa(e, t, n, o, a, l, r, s, f, i, m, c, p, d, u, g, S) {
3229
3229
  }, [w("div", {
3230
3230
  class: "fv-grid-data",
3231
3231
  style: y.value
3232
- }, [j(R.value.primaryColumns.filter((L) => L.visible), "primary")])]);
3232
+ }, [P(R.value.primaryColumns.filter((L) => L.visible), "primary")])]);
3233
3233
  }
3234
3234
  function M() {
3235
3235
  return w("div", {
@@ -3238,7 +3238,7 @@ function Aa(e, t, n, o, a, l, r, s, f, i, m, c, p, d, u, g, S) {
3238
3238
  }, [w("div", {
3239
3239
  class: "fv-grid-data",
3240
3240
  style: F.value
3241
- }, [j(R.value.rightColumns.filter((L) => L.visible), "right")])]);
3241
+ }, [P(R.value.rightColumns.filter((L) => L.visible), "right")])]);
3242
3242
  }
3243
3243
  function E() {
3244
3244
  const L = [];
@@ -3265,7 +3265,7 @@ const Va = /* @__PURE__ */ Oe({
3265
3265
  dataView: F
3266
3266
  } = h, k = Qn(e, h, r, d, t), {
3267
3267
  showSelection: x,
3268
- selectedValues: j
3268
+ selectedValues: P
3269
3269
  } = k, v = Zn(e, d, h, r, k, t), B = N(() => e.disabled), M = N(() => e.virtualized ? Math.min(h.dataView.value.length, a.value) : h.dataView.value.length), E = Kn(e, h), {
3270
3270
  shouldRenderPagination: L
3271
3271
  } = E, {
@@ -3293,19 +3293,19 @@ const Va = /* @__PURE__ */ Oe({
3293
3293
  onWheel: nt,
3294
3294
  dataGridWidth: Te,
3295
3295
  viewPortHeight: Re,
3296
- viewPortWidth: Pe,
3297
- resetScroll: je,
3296
+ viewPortWidth: je,
3297
+ resetScroll: Pe,
3298
3298
  updateVisibleRowsOnLatestVisibleScope: ot
3299
- } = se, Ve = ho(e, he, i, Pe, oe), {
3299
+ } = se, Ve = ho(e, he, i, je, oe), {
3300
3300
  calculateColumnsSize: Me
3301
- } = Ve, De = go(), Ze = yo(i, p, h, De, se), P = bo(e, t, V, h, oe, S, se), J = N(() => {
3301
+ } = Ve, De = go(), Ze = yo(i, p, h, De, se), j = bo(e, t, V, h, oe, S, se), J = N(() => {
3302
3302
  const _ = {
3303
3303
  "fv-grid": !0,
3304
3304
  "fv-grid-bordered": e.showBorder,
3305
3305
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
3306
3306
  "fv-datagrid-strip": e.showStripe
3307
3307
  };
3308
- return jt(_, e.customClass);
3308
+ return Pt(_, e.customClass);
3309
3309
  }), re = N(() => ({
3310
3310
  "fv-grid-content": !0,
3311
3311
  "fv-grid-content-hover": u.value,
@@ -3316,7 +3316,7 @@ const Va = /* @__PURE__ */ Oe({
3316
3316
  renderGridHeader: Ne,
3317
3317
  renderGridColumnResizeOverlay: at,
3318
3318
  shouldShowHeader: bt
3319
- } = wo(e, t, i, c, p, V, h, P, Ze, O, De, Ve, oe, k, ze, ee, se, Pe, d), {
3319
+ } = wo(e, t, i, c, p, V, h, j, Ze, O, De, Ve, oe, k, ze, ee, se, je, d), {
3320
3320
  renderDataGridSidebar: wt
3321
3321
  } = Co(e, ie, k, ze, se), {
3322
3322
  renderDisableMask: Ct
@@ -3334,17 +3334,17 @@ const Va = /* @__PURE__ */ Oe({
3334
3334
  }
3335
3335
  Je(() => {
3336
3336
  i.value && (a.value = Math.max(Math.ceil(i.value.clientHeight / o), a.value), d.value = Se(0, M.value + 0 - 1), _n(i.value, Tt), Me(), et(() => {
3337
- i.value && (Te.value = i.value.clientWidth), m.value && (Pe.value = m.value.clientWidth, Re.value = m.value.clientHeight);
3337
+ i.value && (Te.value = i.value.clientWidth), m.value && (je.value = m.value.clientWidth, Re.value = m.value.clientHeight);
3338
3338
  })), T.value && y();
3339
3339
  }), ut(() => {
3340
- }), fe(Pe, () => {
3340
+ }), fe(je, () => {
3341
3341
  i.value && Me();
3342
3342
  });
3343
3343
  function Bt(_) {
3344
- h.collapseTo(_), h.reOrderVisibleIndex(), je();
3344
+ h.collapseTo(_), h.reOrderVisibleIndex(), Pe();
3345
3345
  }
3346
3346
  function ct(_) {
3347
- h.expandTo(_), h.reOrderVisibleIndex(), je();
3347
+ h.expandTo(_), h.reOrderVisibleIndex(), Pe();
3348
3348
  }
3349
3349
  function rt() {
3350
3350
  const _ = k.getSelectionRow();
@@ -3382,7 +3382,7 @@ const Va = /* @__PURE__ */ Oe({
3382
3382
  H(_);
3383
3383
  });
3384
3384
  function z(_, X) {
3385
- _ && (h.load(_), h.reOrderVisibleIndex(), X != null && X.keepScrollPosition ? se.scrollTo(se.offsetY.value) : je());
3385
+ _ && (h.load(_), h.reOrderVisibleIndex(), X != null && X.keepScrollPosition ? se.scrollTo(se.offsetY.value) : Pe());
3386
3386
  }
3387
3387
  function q(_) {
3388
3388
  k.selectItemById(_);
@@ -3532,7 +3532,7 @@ const Va = /* @__PURE__ */ Oe({
3532
3532
  class: Bn.value
3533
3533
  }, [x.value && w("div", {
3534
3534
  class: kn.value
3535
- }, [w("div", null, ["已选:" + j.value.length, Yt(" 条")])])]), at(), B.value && Ct()]);
3535
+ }, [w("div", null, ["已选:" + P.value.length, Yt(" 条")])])]), at(), B.value && Ct()]);
3536
3536
  }
3537
3537
  });
3538
3538
  Zt(Va);
@@ -3693,7 +3693,7 @@ const qa = "https://json-schema.org/draft/2020-12/schema", Ga = "https://farris-
3693
3693
  current: y === r.value,
3694
3694
  finish: y < r.value
3695
3695
  };
3696
- return T.status && (h[T.status] = !0), jt(h, T.class || "");
3696
+ return T.status && (h[T.status] = !0), Pt(h, T.class || "");
3697
3697
  }
3698
3698
  function m(T, y) {
3699
3699
  if (!e.clickable)
@@ -3714,7 +3714,7 @@ const qa = "https://json-schema.org/draft/2020-12/schema", Ga = "https://farris-
3714
3714
  return T.status && (h["step-" + T.status] = !0), h;
3715
3715
  }
3716
3716
  function p(T, y) {
3717
- return jt({
3717
+ return Pt({
3718
3718
  "step-icon": !0,
3719
3719
  "step-success": y,
3720
3720
  "f-icon": y,
@@ -3892,7 +3892,7 @@ function ar(e, t, n) {
3892
3892
  });
3893
3893
  }
3894
3894
  }
3895
- function j(B) {
3895
+ function P(B) {
3896
3896
  x(B);
3897
3897
  }
3898
3898
  return l.value = {
@@ -3919,7 +3919,7 @@ function ar(e, t, n) {
3919
3919
  triggerBelongedComponentToDeleteWhenDeleted: b(!1),
3920
3920
  onRemoveComponent: h,
3921
3921
  getCustomButtons: F,
3922
- onPropertyChanged: j,
3922
+ onPropertyChanged: P,
3923
3923
  setComponentBasicInfoMap: k,
3924
3924
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
3925
3925
  }, l;
@@ -3941,81 +3941,81 @@ const rr = /* @__PURE__ */ Oe({
3941
3941
  })), d = N(() => ({
3942
3942
  height: n.value === "vertical" ? `${a.value}px` : ""
3943
3943
  }));
3944
- function u(x, j) {
3944
+ function u(x, P) {
3945
3945
  const v = {
3946
3946
  step: !0,
3947
- active: j === r.value,
3947
+ active: P === r.value,
3948
3948
  clickable: s.value,
3949
3949
  "click-disable": x.disable,
3950
- current: j === r.value
3950
+ current: P === r.value
3951
3951
  };
3952
- return j < r.value && (v.finish = !0), x.status && (v[x.status] = !0), x.hasOwnProperty("class") && x.class.split(" ").reduce((B, M) => (B[M] = !0, B), v), v;
3952
+ return P < r.value && (v.finish = !0), x.status && (v[x.status] = !0), x.hasOwnProperty("class") && x.class.split(" ").reduce((B, M) => (B[M] = !0, B), v), v;
3953
3953
  }
3954
- function g(x, j) {
3954
+ function g(x, P) {
3955
3955
  }
3956
- function S(x, j) {
3956
+ function S(x, P) {
3957
3957
  const v = {
3958
3958
  "f-progressstep-row": !0,
3959
- "step-active": j === r.value,
3960
- "step-current": j === r.value
3959
+ "step-active": P === r.value,
3960
+ "step-current": P === r.value
3961
3961
  };
3962
- return j < r.value && (v["step-finish"] = !0), x.status && (v["step-" + x.status] = !0), v;
3962
+ return P < r.value && (v["step-finish"] = !0), x.status && (v["step-" + x.status] = !0), v;
3963
3963
  }
3964
- function O(x, j) {
3964
+ function O(x, P) {
3965
3965
  const v = {
3966
3966
  "step-icon": !0,
3967
- "step-success": j,
3968
- "k-icon": j,
3969
- "k-i-check": j
3967
+ "step-success": P,
3968
+ "k-icon": P,
3969
+ "k-i-check": P
3970
3970
  };
3971
3971
  return x.hasOwnProperty("icon") && x.class.split(" ").reduce((B, M) => (B[M] = !0, B), v), v;
3972
3972
  }
3973
- function R(x, j) {
3973
+ function R(x, P) {
3974
3974
  const v = [];
3975
3975
  return x.icon ? v.push(w("span", {
3976
3976
  class: O(x, !1)
3977
- }, null)) : j >= r.value || j === f.value ? v.push(w("span", {
3977
+ }, null)) : P >= r.value || P === f.value ? v.push(w("span", {
3978
3978
  class: "step-icon"
3979
- }, [j + 1])) : v.push(w("span", {
3979
+ }, [P + 1])) : v.push(w("span", {
3980
3980
  class: O(x, !0)
3981
3981
  }, null)), v;
3982
3982
  }
3983
- function A(x, j) {
3983
+ function A(x, P) {
3984
3984
  return {
3985
3985
  "step-name": !0,
3986
- "step-name-success": j < r.value
3986
+ "step-name-success": P < r.value
3987
3987
  };
3988
3988
  }
3989
- function T(x, j) {
3989
+ function T(x, P) {
3990
3990
  return w("div", {
3991
3991
  class: "f-progress-step-title"
3992
3992
  }, [w("p", {
3993
- class: A(x, j)
3993
+ class: A(x, P)
3994
3994
  }, [x.title])]);
3995
3995
  }
3996
- function y(x, j) {
3996
+ function y(x, P) {
3997
3997
  return {
3998
3998
  "f-progress-step-line": !0,
3999
- "f-progress-step-line-success": j === r.value
3999
+ "f-progress-step-line-success": P === r.value
4000
4000
  };
4001
4001
  }
4002
- function h(x, j) {
4003
- return j !== l.value.length - 1;
4002
+ function h(x, P) {
4003
+ return P !== l.value.length - 1;
4004
4004
  }
4005
4005
  const F = N(() => ({
4006
4006
  triangle: !0,
4007
4007
  "": n.value === "vertical"
4008
4008
  }));
4009
4009
  function k() {
4010
- return l.value.map((x, j) => w("li", {
4011
- class: u(x, j),
4010
+ return l.value.map((x, P) => w("li", {
4011
+ class: u(x, P),
4012
4012
  onClick: (v) => void 0
4013
4013
  }, [w("div", {
4014
- class: S(x, j)
4014
+ class: S(x, P)
4015
4015
  }, [w("div", {
4016
4016
  class: "f-progress-step-content"
4017
- }, [R(x, j), T(x, j)]), h(x, j) && w("div", {
4018
- class: y(x, j)
4017
+ }, [R(x, P), T(x, P)]), h(x, P) && w("div", {
4018
+ class: y(x, P)
4019
4019
  }, [w("span", {
4020
4020
  class: F.value
4021
4021
  }, null)])])]));
@@ -4097,7 +4097,7 @@ class ir {
4097
4097
  const { selectedFields: l } = t;
4098
4098
  l == null || l.forEach((s) => {
4099
4099
  if (s.$type === Wt.SimpleField) {
4100
- const f = Pt(s), i = this.resolveControlClassByFormColumns(t), m = this.controlCreatorUtils.setFormFieldProperty(f, "", i);
4100
+ const f = jt(s), i = this.resolveControlClassByFormColumns(t), m = this.controlCreatorUtils.setFormFieldProperty(f, "", i);
4101
4101
  m && a.push(m);
4102
4102
  }
4103
4103
  });
@@ -4341,7 +4341,7 @@ async function Rr(e) {
4341
4341
  if (!a)
4342
4342
  throw $t();
4343
4343
  }
4344
- async function Pr(e) {
4344
+ async function jr(e) {
4345
4345
  try {
4346
4346
  await Er(e);
4347
4347
  } catch (t) {
@@ -4352,9 +4352,9 @@ async function Pr(e) {
4352
4352
  }
4353
4353
  }
4354
4354
  }
4355
- function jr() {
4355
+ function Pr() {
4356
4356
  async function e(t) {
4357
- await Pr(t);
4357
+ await jr(t);
4358
4358
  }
4359
4359
  return { onCopy: e };
4360
4360
  }
@@ -4604,7 +4604,7 @@ const mt = /* @__PURE__ */ Oe({
4604
4604
  cursor: "default"
4605
4605
  };
4606
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;
4607
- }), f = jr(), i = Nr(e, o, a, l), m = Ir(), {
4607
+ }), f = Pr(), i = Nr(e, o, a, l), m = Ir(), {
4608
4608
  feedbackStyle: c,
4609
4609
  feedbackMessage: p
4610
4610
  } = m;
@@ -4875,7 +4875,7 @@ function Gr(e, t, n, o, a) {
4875
4875
  function x(v) {
4876
4876
  v.key === "Enter" && (l.value || r.value) && a.hidePopup(), t.emit("keyup", v);
4877
4877
  }
4878
- function j(v) {
4878
+ function P(v) {
4879
4879
  const B = v.target.value;
4880
4880
  v.stopPropagation(), O(B);
4881
4881
  }
@@ -4896,7 +4896,7 @@ function Gr(e, t, n, o, a) {
4896
4896
  onKeyDownTextBox: k,
4897
4897
  onKeyUpTextBox: x,
4898
4898
  onMouseDownTextBox: F,
4899
- onTextBoxValueChange: j
4899
+ onTextBoxValueChange: P
4900
4900
  };
4901
4901
  }
4902
4902
  const Ge = "FarrisVue_PopoverInstancesKey";
@@ -5157,7 +5157,7 @@ const Zr = /* @__PURE__ */ Oe({
5157
5157
  });
5158
5158
  const {
5159
5159
  renderButtonGroup: x,
5160
- buttonHandleElement: j
5160
+ buttonHandleElement: P
5161
5161
  } = Jr(e, t, m, S), v = Qr(e, t, l), B = {
5162
5162
  displayText: c,
5163
5163
  commitValue: u,
@@ -5168,7 +5168,7 @@ const Zr = /* @__PURE__ */ Oe({
5168
5168
  shouldPopupContent: r,
5169
5169
  togglePopup: i,
5170
5170
  openDialog: () => {
5171
- j.value && e.buttonBehavior === "Modal" && j.value.click();
5171
+ P.value && e.buttonBehavior === "Modal" && P.value.click();
5172
5172
  },
5173
5173
  getModal: () => {
5174
5174
  var M;