@farris/ui-vue 1.6.5-beta.1 → 1.6.5-beta.2

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 (133) hide show
  1. package/components/accordion/index.esm.js +190 -187
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +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 +745 -753
  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/package.json +1 -1
  24. package/components/condition/package.json +1 -1
  25. package/components/content-container/package.json +1 -1
  26. package/components/data-grid/package.json +1 -1
  27. package/components/data-view/package.json +1 -1
  28. package/components/date-picker/package.json +1 -1
  29. package/components/designer-canvas/package.json +1 -1
  30. package/components/designer-outline/package.json +1 -1
  31. package/components/designer-toolbox/package.json +1 -1
  32. package/components/discussion-editor/package.json +1 -1
  33. package/components/discussion-list/package.json +1 -1
  34. package/components/drawer/package.json +1 -1
  35. package/components/dropdown/package.json +1 -1
  36. package/components/dynamic-form/package.json +1 -1
  37. package/components/dynamic-resolver/package.json +1 -1
  38. package/components/dynamic-view/package.json +1 -1
  39. package/components/enum-editor/package.json +1 -1
  40. package/components/event-parameter/package.json +1 -1
  41. package/components/events-editor/package.json +1 -1
  42. package/components/expression-editor/index.esm.js +1279 -1287
  43. package/components/expression-editor/index.umd.cjs +2 -2
  44. package/components/expression-editor/package.json +1 -1
  45. package/components/external-container/package.json +1 -1
  46. package/components/field-selector/package.json +1 -1
  47. package/components/fieldset/package.json +1 -1
  48. package/components/filter-bar/index.esm.js +703 -711
  49. package/components/filter-bar/index.umd.cjs +1 -1
  50. package/components/filter-bar/package.json +1 -1
  51. package/components/filter-condition-editor/index.esm.js +1140 -1148
  52. package/components/filter-condition-editor/index.umd.cjs +2 -2
  53. package/components/filter-condition-editor/package.json +1 -1
  54. package/components/flow-canvas/package.json +1 -1
  55. package/components/html-template/package.json +1 -1
  56. package/components/image-cropper/package.json +1 -1
  57. package/components/input-group/package.json +1 -1
  58. package/components/json-editor/package.json +1 -1
  59. package/components/language-textbox/package.json +1 -1
  60. package/components/layout/package.json +1 -1
  61. package/components/list-nav/package.json +1 -1
  62. package/components/list-view/package.json +1 -1
  63. package/components/loading/package.json +1 -1
  64. package/components/locale/package.json +1 -1
  65. package/components/lookup/package.json +1 -1
  66. package/components/mapping-editor/index.esm.js +967 -975
  67. package/components/mapping-editor/index.umd.cjs +1 -1
  68. package/components/mapping-editor/package.json +1 -1
  69. package/components/menu-lookup/package.json +1 -1
  70. package/components/message-box/package.json +1 -1
  71. package/components/modal/package.json +1 -1
  72. package/components/nav/package.json +1 -1
  73. package/components/notify/package.json +1 -1
  74. package/components/number-range/package.json +1 -1
  75. package/components/number-spinner/package.json +1 -1
  76. package/components/order/package.json +1 -1
  77. package/components/page-footer/package.json +1 -1
  78. package/components/page-header/package.json +1 -1
  79. package/components/pagination/package.json +1 -1
  80. package/components/popover/package.json +1 -1
  81. package/components/progress/package.json +1 -1
  82. package/components/property-editor/package.json +1 -1
  83. package/components/property-panel/package.json +1 -1
  84. package/components/query-solution/index.esm.js +1193 -1201
  85. package/components/query-solution/index.umd.cjs +4 -4
  86. package/components/query-solution/package.json +1 -1
  87. package/components/radio/package.json +1 -1
  88. package/components/radio-button/package.json +1 -1
  89. package/components/radio-group/package.json +1 -1
  90. package/components/rate/package.json +1 -1
  91. package/components/response-layout/package.json +1 -1
  92. package/components/response-layout-editor/package.json +1 -1
  93. package/components/response-toolbar/package.json +1 -1
  94. package/components/schema-selector/index.esm.js +1095 -1103
  95. package/components/schema-selector/index.umd.cjs +6 -6
  96. package/components/schema-selector/package.json +1 -1
  97. package/components/search-box/package.json +1 -1
  98. package/components/section/package.json +1 -1
  99. package/components/smoke-detector/package.json +1 -1
  100. package/components/sort-condition-editor/index.esm.js +1185 -1193
  101. package/components/sort-condition-editor/index.umd.cjs +2 -2
  102. package/components/sort-condition-editor/package.json +1 -1
  103. package/components/spacing-editor/package.json +1 -1
  104. package/components/splitter/package.json +1 -1
  105. package/components/step/package.json +1 -1
  106. package/components/switch/package.json +1 -1
  107. package/components/tabs/package.json +1 -1
  108. package/components/tags/package.json +1 -1
  109. package/components/text/package.json +1 -1
  110. package/components/textarea/package.json +1 -1
  111. package/components/time-picker/index.esm.js +895 -903
  112. package/components/time-picker/index.umd.cjs +1 -1
  113. package/components/time-picker/package.json +1 -1
  114. package/components/tooltip/package.json +1 -1
  115. package/components/transfer/package.json +1 -1
  116. package/components/tree-grid/package.json +1 -1
  117. package/components/tree-view/package.json +1 -1
  118. package/components/uploader/package.json +1 -1
  119. package/components/verify-detail/package.json +1 -1
  120. package/components/video/package.json +1 -1
  121. package/components/weather/package.json +1 -1
  122. package/designer/data-grid/index.esm.js +1447 -1455
  123. package/designer/data-grid/index.umd.cjs +4 -4
  124. package/designer/farris-designer.all.esm.js +1789 -1797
  125. package/designer/farris-designer.all.umd.cjs +9 -9
  126. package/designer/radio-group/index.esm.js +1032 -1040
  127. package/designer/radio-group/index.umd.cjs +1 -1
  128. package/farris.all.esm.js +2242 -2246
  129. package/farris.all.umd.cjs +15 -15
  130. package/package.json +1 -1
  131. package/types/components.d.ts +4 -3
  132. package/types/message-box/index.d.ts +6 -6
  133. package/types/message-box/src/message-box.component.d.ts +3 -3
@@ -1,7 +1,7 @@
1
1
  var Tn = Object.defineProperty;
2
2
  var Sn = (e, t, n) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var he = (e, t, n) => Sn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { defineComponent as Ye, ref as h, computed as O, createVNode as C, Teleport as Wt, createApp as Pt, onUnmounted as st, Fragment as Xe, watch as me, nextTick as Ke, onBeforeMount as Bn, onMounted as et, Transition as qt, shallowRef as kn, render as It, h as Fn, cloneVNode as Mn, mergeProps as vt, reactive as He, createTextVNode as Gt, inject as En, withDirectives as In, vShow as On, onUpdated as Rn, onBeforeUnmount as Pn } from "vue";
4
+ import { defineComponent as Ye, ref as b, computed as R, createVNode as C, Teleport as Wt, createApp as Pt, onUnmounted as st, Fragment as Xe, watch as me, nextTick as Ke, onBeforeMount as Bn, onMounted as et, Transition as qt, shallowRef as kn, render as It, h as Fn, cloneVNode as Mn, mergeProps as vt, reactive as He, createTextVNode as Gt, inject as En, withDirectives as In, vShow as On, onUpdated as Rn, onBeforeUnmount as Pn } from "vue";
5
5
  import { resolveAppearance as Dn, createPropsResolver as Ut } from "../dynamic-resolver/index.esm.js";
6
6
  import { useI18n as Dt } from "vue-i18n";
7
7
  import { LocaleService as gt } from "../locale/index.esm.js";
@@ -82,8 +82,8 @@ 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 Hn, withInstall as Xt, FormSchemaEntityField$Type as At, FormSchemaEntityFieldTypeName as Vt, useGuid as Ln } from "../common/index.esm.js";
86
- import { useResizeObserver as $n } from "@vueuse/core";
85
+ import { getCustomClass as Hn, withInstall as Xt, FormSchemaEntityField$Type as At, FormSchemaEntityFieldTypeName as Vt, useGuid as $n } from "../common/index.esm.js";
86
+ import { useResizeObserver as Ln } from "@vueuse/core";
87
87
  import { getHierarchyRow as zn, useIdentify as An, useGroupData as Vn, useFilter as _n, useHierarchy as Wn, useLoading as qn, useDataView as Gn, useSelection as Un, useSelectHierarchyItem as Xn, usePagination as Yn, useDataViewContainerStyle as Jn, useCommandColumn as Qn, useSettingColumn as Zn, useColumn as Kn, useSort as eo, useGroupColumn as to, useRow as no, useEdit as oo, useVisualDataBound as ao, useVisualDataCell as io, useVisualDataRow as ro, useVisualData as lo, useCellPosition as so, useSidebar as uo, useVirtualScroll as co, useFitColumn as fo, useFilterHistory as po, useColumnFilter as mo, useDragColumn as vo, getColumnHeader as go, getSidebar as yo, getDisableMask as ho, getHorizontalScrollbar as bo, getVerticalScrollbar as Co, getEmpty as wo, getPagination as xo, getSummary as To } from "../data-view/index.esm.js";
88
88
  import "../property-panel/index.esm.js";
89
89
  import "../notify/index.esm.js";
@@ -216,14 +216,14 @@ const Bo = {
216
216
  props: ko,
217
217
  emits: ["click"],
218
218
  setup(e, t) {
219
- const n = h(e.popupContentPosition), o = h(e.host), a = O(() => ({
219
+ const n = b(e.popupContentPosition), o = b(e.host), a = R(() => ({
220
220
  backgroundColor: e.backgroundColor || "",
221
221
  pointerEvents: "auto"
222
222
  }));
223
223
  function i(s) {
224
224
  t.emit("click"), s.preventDefault(), s.stopPropagation();
225
225
  }
226
- O(() => {
226
+ R(() => {
227
227
  const s = o.value;
228
228
  if (s) {
229
229
  const f = s.getBoundingClientRect(), {
@@ -238,7 +238,7 @@ const Bo = {
238
238
  }
239
239
  return n.value;
240
240
  });
241
- const r = O(() => ({
241
+ const r = R(() => ({
242
242
  // position: 'relative',
243
243
  // left: `${position.value.left}px`,
244
244
  // top: `${position.value.top}px`
@@ -405,11 +405,11 @@ const Oo = "https://json-schema.org/draft/2020-12/schema", Ro = "https://farris-
405
405
  }, Ho = [
406
406
  "id",
407
407
  "type"
408
- ], Lo = {
408
+ ], $o = {
409
409
  onAccept: "确定事件",
410
410
  onCancel: "取消事件",
411
411
  beforeClose: "关闭前回调"
412
- }, $o = {
412
+ }, Lo = {
413
413
  $schema: Oo,
414
414
  $id: Ro,
415
415
  title: Po,
@@ -417,7 +417,7 @@ const Oo = "https://json-schema.org/draft/2020-12/schema", Ro = "https://farris-
417
417
  type: No,
418
418
  properties: jo,
419
419
  required: Ho,
420
- events: Lo
420
+ events: $o
421
421
  }, zo = /* @__PURE__ */ new Map([
422
422
  ["appearance", Dn]
423
423
  ]);
@@ -513,7 +513,7 @@ const Yt = {
513
513
  src: { type: String, default: "" },
514
514
  footerHeight: { type: Number, default: 60 },
515
515
  host: { type: Object, default: "body" }
516
- }, _o = Ut(Yt, $o, zo, Ao), Wo = Vo();
516
+ }, _o = Ut(Yt, Lo, zo, Ao), Wo = Vo();
517
517
  class ae {
518
518
  constructor(t, n) {
519
519
  this.x = t, this.y = n;
@@ -598,20 +598,20 @@ class Ge {
598
598
  }
599
599
  }
600
600
  function qo(e, t) {
601
- const n = h(), o = h(), a = h(), i = h(), r = h(), s = h(), f = h(), l = h(), m = h(), d = h(), p = h(), c = h(e.resizeable), u = h(), v = h(e.draggable), x = h(!1);
601
+ const n = b(), o = b(), a = b(), i = b(), r = b(), s = b(), f = b(), l = b(), m = b(), d = b(), p = b(), c = b(e.resizeable), u = b(), v = b(e.draggable), x = b(!1);
602
602
  function k() {
603
- const N = o.value || document.body, I = window.getComputedStyle(N);
603
+ const D = o.value || document.body, I = window.getComputedStyle(D);
604
604
  if (!I || !n.value)
605
605
  return;
606
- const X = ae.getTransformInfo(n.value), $ = {};
607
- f.value && ($.deltaL = n.value.offsetLeft - f.value.x, $.deltaT = n.value.offsetTop - f.value.y);
606
+ const U = ae.getTransformInfo(n.value), A = {};
607
+ f.value && (A.deltaL = n.value.offsetLeft - f.value.x, A.deltaT = n.value.offsetTop - f.value.y);
608
608
  const K = I.getPropertyValue("position");
609
- $.width = N.clientWidth, $.height = N.clientHeight, $.pr = parseInt(I.getPropertyValue("padding-right"), 10), $.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), $.position = I.getPropertyValue("position"), K === "static" && (N.style.position = "relative"), $.translateX = X.x, $.translateY = X.y, d.value = $;
609
+ A.width = D.clientWidth, A.height = D.clientHeight, A.pr = parseInt(I.getPropertyValue("padding-right"), 10), A.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), A.position = I.getPropertyValue("position"), K === "static" && (D.style.position = "relative"), A.translateX = U.x, A.translateY = U.y, d.value = A;
610
610
  }
611
- function M(N) {
611
+ function F(D) {
612
612
  if (n.value) {
613
613
  i.value = Ge.getCurrent(n.value), r.value = ae.getCurrent(n.value), s.value = i.value ? Ge.copy(i.value) : null, f.value = r.value ? ae.copy(r.value) : null, k();
614
- const I = N.target.getAttribute("type") || "";
614
+ const I = D.target.getAttribute("type") || "";
615
615
  l.value = {
616
616
  n: !!I.match(/n/),
617
617
  s: !!I.match(/s/),
@@ -621,74 +621,74 @@ function qo(e, t) {
621
621
  }
622
622
  }
623
623
  function L() {
624
- var N, I, X, $;
624
+ var D, I, U, A;
625
625
  if (n.value) {
626
626
  const K = n.value;
627
- l.value && ((l.value.n || l.value.s) && ((N = s.value) != null && N.height) && (K.style.height = s.value.height + "px"), (l.value.w || l.value.e) && ((I = s.value) != null && I.width) && (K.style.width = s.value.width + "px"), f.value && ((X = f.value) != null && X.x && (K.style.left = f.value.x + "px"), ($ = f.value) != null && $.y && (K.style.top = f.value.y + "px")));
627
+ l.value && ((l.value.n || l.value.s) && ((D = s.value) != null && D.height) && (K.style.height = s.value.height + "px"), (l.value.w || l.value.e) && ((I = s.value) != null && I.width) && (K.style.width = s.value.width + "px"), f.value && ((U = f.value) != null && U.x && (K.style.left = f.value.x + "px"), (A = f.value) != null && A.y && (K.style.top = f.value.y + "px")));
628
628
  }
629
629
  }
630
630
  function P() {
631
- const N = e.minHeight ? e.minHeight : 1, I = e.minWidth ? e.minWidth : 1;
632
- s.value && f.value && l.value && i.value && (s.value.height < N && (s.value.height = N, l.value.n && r.value && (f.value.y = r.value.y + (i.value.height - N))), s.value.width < I && (s.value.width = I, l.value.w && r.value && (f.value.x = r.value.x + (i.value.width - I))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, r.value && l.value.n && (f.value.y = r.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, l.value.w && r.value && (f.value.x = r.value.x + (i.value.width - e.maxWidth))));
631
+ const D = e.minHeight ? e.minHeight : 1, I = e.minWidth ? e.minWidth : 1;
632
+ s.value && f.value && l.value && i.value && (s.value.height < D && (s.value.height = D, l.value.n && r.value && (f.value.y = r.value.y + (i.value.height - D))), s.value.width < I && (s.value.width = I, l.value.w && r.value && (f.value.x = r.value.x + (i.value.width - I))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, r.value && l.value.n && (f.value.y = r.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, l.value.w && r.value && (f.value.x = r.value.x + (i.value.width - e.maxWidth))));
633
633
  }
634
- function T() {
634
+ function w() {
635
635
  if (o.value) {
636
- const N = d.value;
636
+ const D = d.value;
637
637
  if (f.value && s.value && l.value && i.value) {
638
- const I = N.width - N.pr - N.deltaL - N.translateX - f.value.x, X = N.height - N.pb - N.deltaT - N.translateY - f.value.y;
639
- l.value.n && f.value.y + N.translateY < 0 && r.value && (f.value.y = -N.translateY, s.value.height = i.value.height + r.value.y + N.translateY), l.value.w && f.value.x + N.translateX < 0 && r.value && (f.value.x = -N.translateX, s.value.width = i.value.width + r.value.x + N.translateX), s.value.width > I && (s.value.width = I), s.value.height > X && (s.value.height = X);
638
+ const I = D.width - D.pr - D.deltaL - D.translateX - f.value.x, U = D.height - D.pb - D.deltaT - D.translateY - f.value.y;
639
+ l.value.n && f.value.y + D.translateY < 0 && r.value && (f.value.y = -D.translateY, s.value.height = i.value.height + r.value.y + D.translateY), l.value.w && f.value.x + D.translateX < 0 && r.value && (f.value.x = -D.translateX, s.value.width = i.value.width + r.value.x + D.translateX), s.value.width > I && (s.value.width = I), s.value.height > U && (s.value.height = U);
640
640
  }
641
641
  }
642
642
  }
643
- function b(N) {
643
+ function y(D) {
644
644
  if (!a.value || !i.value || !r.value || !l.value)
645
645
  return;
646
- N.subtract(a.value);
647
- const I = N.x, X = N.y;
648
- l.value.n ? (f.value.y = r.value.y + X, s.value.height = i.value.height - X) : l.value.s && (s.value.height = i.value.height + X), l.value.e ? s.value.width = i.value.width + I : l.value.w && (s.value.width = i.value.width - I, f.value.x = r.value.x + I), T(), P(), L();
646
+ D.subtract(a.value);
647
+ const I = D.x, U = D.y;
648
+ l.value.n ? (f.value.y = r.value.y + U, s.value.height = i.value.height - U) : l.value.s && (s.value.height = i.value.height + U), l.value.e ? s.value.width = i.value.width + I : l.value.w && (s.value.width = i.value.width - I, f.value.x = r.value.x + I), w(), P(), L();
649
649
  }
650
- function w(N) {
650
+ function S(D) {
651
651
  if (!m.value)
652
652
  return;
653
- const I = ae.fromEvent(N);
654
- I && b(I);
653
+ const I = ae.fromEvent(D);
654
+ I && y(I);
655
655
  }
656
- function S() {
656
+ function T() {
657
657
  if (n.value) {
658
658
  const {
659
- width: N,
659
+ width: D,
660
660
  height: I,
661
- x: X,
662
- y: $
661
+ x: U,
662
+ y: A
663
663
  } = n.value.getBoundingClientRect(), K = ae.getTransformInfo(n.value);
664
664
  return {
665
665
  size: {
666
- width: N,
666
+ width: D,
667
667
  height: I
668
668
  },
669
669
  position: {
670
- x: X - K.x,
671
- y: $ - K.y
670
+ x: U - K.x,
671
+ y: A - K.y
672
672
  }
673
673
  };
674
674
  }
675
675
  return null;
676
676
  }
677
- function F(N) {
677
+ function M(D) {
678
678
  if (n.value) {
679
- const I = S();
679
+ const I = T();
680
680
  p.value = I;
681
681
  }
682
- a.value = void 0, i.value = null, r.value = null, s.value = null, f.value = null, l.value = null, m.value = null, document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", F);
682
+ a.value = void 0, i.value = null, r.value = null, s.value = null, f.value = null, l.value = null, m.value = null, document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", M);
683
683
  }
684
684
  function _() {
685
- document.addEventListener("mousemove", w), document.addEventListener("mouseup", F);
685
+ document.addEventListener("mousemove", S), document.addEventListener("mouseup", M);
686
686
  }
687
- function g(N) {
688
- N instanceof MouseEvent && N.button === 2 || v.value && (document.body.click(), N.stopPropagation(), N.preventDefault(), a.value = ae.fromEvent(N), m.value = N.target, M(N), _());
687
+ function g(D) {
688
+ D instanceof MouseEvent && D.button === 2 || v.value && (document.body.click(), D.stopPropagation(), D.preventDefault(), a.value = ae.fromEvent(D), m.value = D.target, F(D), _());
689
689
  }
690
- function z(N) {
691
- return n.value = N, c.value && C(Xe, null, [C("div", {
690
+ function z(D) {
691
+ return n.value = D, c.value && C(Xe, null, [C("div", {
692
692
  class: "fv-resizable-handle fv-resizable-n",
693
693
  type: "n",
694
694
  onMousedown: (I) => g(I)
@@ -722,10 +722,10 @@ function qo(e, t) {
722
722
  onMousedown: (I) => g(I)
723
723
  }, null)]);
724
724
  }
725
- function W(N = !0) {
725
+ function j(D = !0) {
726
726
  document.body.click();
727
- const I = o.value || document.body, X = Ge.getCurrent(I), $ = n.value;
728
- N && $ && (u.value = S(), u.value.transform = $.style.transform), X && $ && (s.value = X, s.value.height -= 14, s.value.width -= 14, $.style.height = s.value.height + "px", $.style.width = s.value.width + "px", $.style.left = "7px", $.style.top = "7px", $.style.transform = "", p.value = {
727
+ const I = o.value || document.body, U = Ge.getCurrent(I), A = n.value;
728
+ D && A && (u.value = T(), u.value.transform = A.style.transform), U && A && (s.value = U, s.value.height -= 14, s.value.width -= 14, A.style.height = s.value.height + "px", A.style.width = s.value.width + "px", A.style.left = "7px", A.style.top = "7px", A.style.transform = "", p.value = {
729
729
  size: s.value,
730
730
  position: {
731
731
  x: 0,
@@ -733,134 +733,134 @@ function qo(e, t) {
733
733
  }
734
734
  }, v.value = !1, x.value = !0);
735
735
  }
736
- function D() {
737
- var N, I;
736
+ function H() {
737
+ var D, I;
738
738
  if (document.body.click(), u.value) {
739
- const X = {
739
+ const U = {
740
740
  width: u.value.size.width || 0,
741
741
  height: u.value.size.height || 0
742
- }, $ = {
743
- x: (window.innerWidth - X.width) / 2,
744
- y: (window.innerHeight - X.height) / 2
742
+ }, A = {
743
+ x: (window.innerWidth - U.width) / 2,
744
+ y: (window.innerHeight - U.height) / 2
745
745
  };
746
- (N = s.value) == null || N.set(X), (I = f.value) == null || I.set($);
746
+ (D = s.value) == null || D.set(U), (I = f.value) == null || I.set(A);
747
747
  const K = n.value;
748
- K.style.height = X.height + "px", K.style.width = X.width + "px", K.style.left = `${$.x}px`, K.style.top = `${$.y}px`, K.style.transform = "", p.value = {
749
- size: X,
750
- position: $
748
+ K.style.height = U.height + "px", K.style.width = U.width + "px", K.style.left = `${A.x}px`, K.style.top = `${A.y}px`, K.style.transform = "", p.value = {
749
+ size: U,
750
+ position: A
751
751
  }, v.value = e.draggable, x.value = !1;
752
752
  }
753
753
  }
754
- function A() {
754
+ function W() {
755
755
  if (n.value) {
756
- const N = Ge.getCurrent(n.value);
757
- if (N) {
756
+ const D = Ge.getCurrent(n.value);
757
+ if (D) {
758
758
  const {
759
759
  width: I,
760
- height: X
761
- } = N;
762
- n.value.style.left = `${(window.innerWidth - I) / 2}px`, n.value.style.top = `${(window.innerHeight - X) / 2}px`, n.value.style.transform = "";
760
+ height: U
761
+ } = D;
762
+ n.value.style.left = `${(window.innerWidth - I) / 2}px`, n.value.style.top = `${(window.innerHeight - U) / 2}px`, n.value.style.transform = "";
763
763
  }
764
764
  }
765
765
  }
766
- function U() {
767
- const N = () => {
768
- x.value ? W(!1) : A(), document.body.click();
766
+ function J() {
767
+ const D = () => {
768
+ x.value ? j(!1) : W(), document.body.click();
769
769
  };
770
- return window.addEventListener("resize", N), () => {
771
- window.removeEventListener("resize", N);
770
+ return window.addEventListener("resize", D), () => {
771
+ window.removeEventListener("resize", D);
772
772
  };
773
773
  }
774
- const oe = U();
774
+ const oe = J();
775
775
  return {
776
776
  renderResizeBar: z,
777
777
  boundingElement: o,
778
778
  resizedEventParam: p,
779
- maximize: W,
780
- restore: D,
779
+ maximize: j,
780
+ restore: H,
781
781
  allowDrag: v,
782
782
  isMaximized: x,
783
783
  unWindowResizeHandle: oe,
784
- moveToCenter: A
784
+ moveToCenter: W
785
785
  };
786
786
  }
787
787
  function Go(e, t, n) {
788
- const o = h(), a = h(e.draggable), i = h(e.lockAxis), r = h(), s = h(), f = h(!1), l = h(new ae(0, 0)), m = h(new ae(0, 0)), d = h(new ae(0, 0)), p = h(new ae(0, 0));
789
- me(() => n.value, (w) => {
790
- r.value.style.cursor = w ? "move" : "default";
788
+ const o = b(), a = b(e.draggable), i = b(e.lockAxis), r = b(), s = b(), f = b(!1), l = b(new ae(0, 0)), m = b(new ae(0, 0)), d = b(new ae(0, 0)), p = b(new ae(0, 0));
789
+ me(() => n.value, (S) => {
790
+ r.value.style.cursor = S ? "move" : "default";
791
791
  });
792
- function c(w, S) {
793
- if (S.tagName === "BUTTON")
792
+ function c(S, T) {
793
+ if (T.tagName === "BUTTON")
794
794
  return !1;
795
- if (S === w)
795
+ if (T === S)
796
796
  return !0;
797
- for (const F in S.children)
798
- if (Object.prototype.hasOwnProperty.call(S.children, F) && c(w, S.children[F]))
797
+ for (const M in T.children)
798
+ if (Object.prototype.hasOwnProperty.call(T.children, M) && c(S, T.children[M]))
799
799
  return !0;
800
800
  return !1;
801
801
  }
802
802
  function u() {
803
803
  var _, g;
804
- let w = d.value.x + m.value.x, S = d.value.y + m.value.y;
805
- i.value === "x" ? (w = ((_ = l.value) == null ? void 0 : _.x) || 0, d.value.x = 0) : i.value === "y" && (S = ((g = l.value) == null ? void 0 : g.y) || 0, d.value.y = 0);
806
- const F = `translate3d(${Math.round(w)}px, ${Math.round(S)}px, 0px)`;
807
- o.value && (o.value.style.transform = F), p.value.x = w, p.value.y = S;
804
+ let S = d.value.x + m.value.x, T = d.value.y + m.value.y;
805
+ i.value === "x" ? (S = ((_ = l.value) == null ? void 0 : _.x) || 0, d.value.x = 0) : i.value === "y" && (T = ((g = l.value) == null ? void 0 : g.y) || 0, d.value.y = 0);
806
+ const M = `translate3d(${Math.round(S)}px, ${Math.round(T)}px, 0px)`;
807
+ o.value && (o.value.style.transform = M), p.value.x = S, p.value.y = T;
808
808
  }
809
809
  function v() {
810
810
  if (!s.value || !o.value)
811
811
  return null;
812
- const w = s.value.getBoundingClientRect(), S = o.value.getBoundingClientRect(), F = {
813
- top: w.top < S.top,
814
- right: w.right > S.right,
815
- bottom: w.bottom > S.bottom,
816
- left: w.left < S.left
812
+ const S = s.value.getBoundingClientRect(), T = o.value.getBoundingClientRect(), M = {
813
+ top: S.top < T.top,
814
+ right: S.right > T.right,
815
+ bottom: S.bottom > T.bottom,
816
+ left: S.left < T.left
817
817
  };
818
- return F.top || (d.value.y -= S.top - w.top), F.bottom || (d.value.y -= S.bottom - w.bottom), F.right || (d.value.x -= S.right - w.right), F.left || (d.value.x -= S.left - w.left), u(), F;
818
+ return M.top || (d.value.y -= T.top - S.top), M.bottom || (d.value.y -= T.bottom - S.bottom), M.right || (d.value.x -= T.right - S.right), M.left || (d.value.x -= T.left - S.left), u(), M;
819
819
  }
820
- function x(w) {
821
- w && (l.value && w.subtract(l.value), d.value.set(w), u(), v());
820
+ function x(S) {
821
+ S && (l.value && S.subtract(l.value), d.value.set(S), u(), v());
822
822
  }
823
- function k(w) {
824
- f.value && a.value && (w.stopPropagation(), w.preventDefault(), x(ae.fromEvent(w, r.value)));
823
+ function k(S) {
824
+ f.value && a.value && (S.stopPropagation(), S.preventDefault(), x(ae.fromEvent(S, r.value)));
825
825
  }
826
- function M() {
827
- var w;
828
- f.value && (f.value = !1, m.value.add(d.value), d.value.reset(), (w = o.value) == null || w.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", M));
826
+ function F() {
827
+ var S;
828
+ f.value && (f.value = !1, m.value.add(d.value), d.value.reset(), (S = o.value) == null || S.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", k), document.removeEventListener("mouseup", F));
829
829
  }
830
830
  function L() {
831
- !f.value && r.value && (f.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", k), document.addEventListener("mouseup", M));
831
+ !f.value && r.value && (f.value = !0, r.value.classList.add("ng-dragging"), document.addEventListener("mousemove", k), document.addEventListener("mouseup", F));
832
832
  }
833
833
  function P() {
834
834
  if (o.value) {
835
- const w = ae.getTransformInfo(o.value);
836
- m.value.set(w);
835
+ const S = ae.getTransformInfo(o.value);
836
+ m.value.set(S);
837
837
  return;
838
838
  }
839
839
  m.value.reset();
840
840
  }
841
- function T(w) {
842
- if (!n.value || w instanceof MouseEvent && w.button === 2)
841
+ function w(S) {
842
+ if (!n.value || S instanceof MouseEvent && S.button === 2)
843
843
  return;
844
- const S = w.target || w.srcElement;
845
- r.value !== void 0 && S && !c(S, r.value) || a.value !== !1 && (document.body.click(), w.stopPropagation(), w.preventDefault(), l.value = ae.fromEvent(w, o.value), P(), L());
844
+ const T = S.target || S.srcElement;
845
+ r.value !== void 0 && T && !c(T, r.value) || a.value !== !1 && (document.body.click(), S.stopPropagation(), S.preventDefault(), l.value = ae.fromEvent(S, o.value), P(), L());
846
846
  }
847
- function b(w, S, F) {
848
- if (a.value && S) {
849
- if (w)
850
- r.value = w;
847
+ function y(S, T, M) {
848
+ if (a.value && T) {
849
+ if (S)
850
+ r.value = S;
851
851
  else if (e.dragHandle) {
852
852
  if (e.dragHandle instanceof HTMLElement)
853
853
  r.value = e.dragHandle;
854
854
  else if (typeof e.dragHandle == "string") {
855
- const _ = S.querySelector(e.dragHandle);
855
+ const _ = T.querySelector(e.dragHandle);
856
856
  _ && (r.value = _);
857
857
  }
858
858
  }
859
- o.value = S, s.value = F, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", T)) : a.value = !1;
859
+ o.value = T, s.value = M, r.value ? (r.value.classList.add("ng-draggable"), r.value.addEventListener("mousedown", w)) : a.value = !1;
860
860
  }
861
861
  }
862
862
  return {
863
- registerDraggle: b,
863
+ registerDraggle: y,
864
864
  resetTranslate: P
865
865
  };
866
866
  }
@@ -875,7 +875,7 @@ function Jt(e, t) {
875
875
  }
876
876
  }
877
877
  function Uo(e, t) {
878
- const n = h(e.enableEsc);
878
+ const n = b(e.enableEsc);
879
879
  let o = null;
880
880
  return n.value ? (o = Jt("Escape", (a) => {
881
881
  t.emit("esc", { event: a.event, type: "esc" });
@@ -884,7 +884,7 @@ function Uo(e, t) {
884
884
  }) : null;
885
885
  }
886
886
  function Xo(e, t) {
887
- const n = h(e.enableEnter);
887
+ const n = b(e.enableEnter);
888
888
  let o = null;
889
889
  return n.value ? (o = Jt("Enter", (a) => {
890
890
  t.emit("enter", { event: a.event, type: "enter" });
@@ -897,45 +897,45 @@ const Ue = /* @__PURE__ */ Ye({
897
897
  props: Yt,
898
898
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove"],
899
899
  setup(e, t) {
900
- const n = h(e.width || 300), o = h(e.height || 200), a = h(e.modelValue), i = h(""), r = h(e.class), s = h(e.fitContent), f = h(e.showHeader), l = h(""), m = h(e.showCloseButton), d = h(e.showMaxButton), p = h(!1), c = h(e.dialogType), u = h(e.src), v = h(""), x = h(e.showButtons), k = h(e.title), M = h(e.containment || null), L = h(), {
900
+ const n = b(e.width || 300), o = b(e.height || 200), a = b(e.modelValue), i = b(""), r = b(e.class), s = b(e.fitContent), f = b(e.showHeader), l = b(""), m = b(e.showCloseButton), d = b(e.showMaxButton), p = b(!1), c = b(e.dialogType), u = b(e.src), v = b(""), x = b(e.showButtons), k = b(e.title), F = b(e.containment || null), L = b(), {
901
901
  t: P
902
902
  } = Dt();
903
903
  k.value === "错误提示" && (k.value = P("messageBox.errorTitle"));
904
- const T = h(!1);
905
- function b(B, J) {
906
- const ie = J ? "accept" : "cancel";
904
+ const w = b(!1);
905
+ function y(B, Y) {
906
+ const ie = Y ? "accept" : "cancel";
907
907
  Promise.resolve().then(() => {
908
908
  var re;
909
909
  return (re = e.beforeClose) == null ? void 0 : re.call(e, {
910
910
  closeType: ie
911
911
  });
912
912
  }).then((re) => {
913
- re && (a.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", B));
913
+ re && (a.value = !1, t.emit("update:modelValue", !1), Y != null && t.emit(Y ? "accept" : "cancel"), t.emit("closed", B));
914
914
  });
915
915
  }
916
- const w = [{
916
+ const S = [{
917
917
  name: "cancel",
918
918
  text: P("messageBox.cancel") || "取消",
919
919
  class: "btn btn-secondary",
920
920
  handle: (B) => {
921
- b(B, !1);
921
+ y(B, !1);
922
922
  }
923
923
  }, {
924
924
  name: "accept",
925
925
  text: P("messageBox.ok") || "确定",
926
926
  class: "btn btn-primary",
927
927
  handle: (B) => {
928
- b(B, !0);
928
+ y(B, !0);
929
929
  }
930
- }], S = h(e.buttons && e.buttons.length ? e.buttons : w), F = O(() => !!l.value), _ = O(() => !!x.value && !!S.value), g = h(), z = h(), W = h(!1), {
931
- renderResizeBar: D,
932
- maximize: A,
933
- restore: U,
930
+ }], T = b(e.buttons && e.buttons.length ? e.buttons : S), M = R(() => !!l.value), _ = R(() => !!x.value && !!T.value), g = b(), z = b(), j = b(!1), {
931
+ renderResizeBar: H,
932
+ maximize: W,
933
+ restore: J,
934
934
  boundingElement: oe,
935
- resizedEventParam: N,
935
+ resizedEventParam: D,
936
936
  allowDrag: I,
937
- unWindowResizeHandle: X,
938
- moveToCenter: $
937
+ unWindowResizeHandle: U,
938
+ moveToCenter: A
939
939
  } = qo(e), {
940
940
  registerDraggle: K
941
941
  } = Go(e, t, I);
@@ -946,41 +946,41 @@ const Ue = /* @__PURE__ */ Ye({
946
946
  const B = document.querySelectorAll(".farris-modal").length;
947
947
  (!B || B - 1 <= 0) && document.body.classList.remove("modal-open"), L.value && L.value.classList.remove("show");
948
948
  }
949
- me(() => e.title, (B, J) => {
950
- B !== J && (k.value = B);
951
- }), me(() => e.modelValue, (B, J) => {
952
- B !== J && (a.value = B, a.value && e.draggable && Ke(() => {
953
- z.value && !M.value && (M.value = z.value.parentElement, oe.value = M.value, K(g.value, z.value, oe.value), $());
954
- }), B || (M.value && (M.value = null), ge())), a.value ? T.value = ve() : (W.value = !1, I.value = e.draggable);
955
- }), me(() => e.showHeader, (B, J) => {
956
- B !== J && (f.value = B);
957
- }), me(() => e.showButtons, (B, J) => {
958
- B !== J && (x.value = B);
959
- }), me(() => N.value, (B, J) => {
960
- const ie = B || {}, re = J || {};
949
+ me(() => e.title, (B, Y) => {
950
+ B !== Y && (k.value = B);
951
+ }), me(() => e.modelValue, (B, Y) => {
952
+ B !== Y && (a.value = B, a.value && e.draggable && Ke(() => {
953
+ z.value && !F.value && (F.value = z.value.parentElement, oe.value = F.value, K(g.value, z.value, oe.value), A());
954
+ }), B || (F.value && (F.value = null), ge())), a.value ? w.value = ve() : (j.value = !1, I.value = e.draggable);
955
+ }), me(() => e.showHeader, (B, Y) => {
956
+ B !== Y && (f.value = B);
957
+ }), me(() => e.showButtons, (B, Y) => {
958
+ B !== Y && (x.value = B);
959
+ }), me(() => D.value, (B, Y) => {
960
+ const ie = B || {}, re = Y || {};
961
961
  JSON.stringify(ie) !== JSON.stringify(re) && t.emit("resize", {
962
962
  newSize: B,
963
- oldSize: J,
964
- isMaximized: W.value
963
+ oldSize: Y,
964
+ isMaximized: j.value
965
965
  });
966
966
  });
967
- const Y = O(() => (a.value && document.body.classList.add("modal-open"), a.value)), ne = O(() => {
967
+ const X = R(() => (a.value && document.body.classList.add("modal-open"), a.value)), ne = R(() => {
968
968
  var ie;
969
969
  const B = {
970
970
  modal: !0,
971
971
  "farris-modal": !0,
972
972
  fade: !0
973
973
  };
974
- B["f-modal-fitContent"] = !!s.value, B.show = !!Y.value;
975
- const J = (ie = e.maskClass) == null ? void 0 : ie.split(" ");
976
- return J == null || J.reduce((re, De) => (re[De] = !0, re), B), B;
977
- }), le = O(() => {
974
+ B["f-modal-fitContent"] = !!s.value, B.show = !!X.value;
975
+ const Y = (ie = e.maskClass) == null ? void 0 : ie.split(" ");
976
+ return Y == null || Y.reduce((re, De) => (re[De] = !0, re), B), B;
977
+ }), le = R(() => {
978
978
  var ie;
979
979
  const B = {
980
980
  "modal-dialog": !0
981
- }, J = (ie = r.value) == null ? void 0 : ie.split(" ");
982
- return J == null || J.reduce((re, De) => (re[De] = !0, re), B), B;
983
- }), ee = O(() => {
981
+ }, Y = (ie = r.value) == null ? void 0 : ie.split(" ");
982
+ return Y == null || Y.reduce((re, De) => (re[De] = !0, re), B), B;
983
+ }), ee = R(() => {
984
984
  const B = {
985
985
  position: "absolute",
986
986
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -989,24 +989,24 @@ const Ue = /* @__PURE__ */ Ye({
989
989
  height: s.value ? "auto" : `${o.value}px`
990
990
  };
991
991
  return e.mask || (B.pointerEvents = "auto"), B;
992
- }), V = O(() => {
992
+ }), V = R(() => {
993
993
  const B = {
994
994
  display: "block"
995
995
  };
996
- return e.mask || (B.pointerEvents = "none", B.backgroundColor = "transparent"), T.value && (B.backgroundColor = "transparent"), B;
997
- }), te = O(() => ({
996
+ return e.mask || (B.pointerEvents = "none", B.backgroundColor = "transparent"), w.value && (B.backgroundColor = "transparent"), B;
997
+ }), te = R(() => ({
998
998
  "modal-content": !0,
999
999
  "modal-content-has-header": f.value
1000
- })), Le = O(() => {
1000
+ })), $e = R(() => {
1001
1001
  const B = {
1002
1002
  display: f.value ? "" : "none"
1003
1003
  };
1004
1004
  return B["pointer-events"] = I.value ? "auto" : "none", B;
1005
- }), Ee = O(() => ({
1005
+ }), Ee = R(() => ({
1006
1006
  "f-icon": !0,
1007
1007
  modal_maximize: !0,
1008
- modalrevert: W.value
1009
- })), Te = O(() => ({
1008
+ modalrevert: j.value
1009
+ })), Te = R(() => ({
1010
1010
  "modal-body": !0,
1011
1011
  "f-utils-flex-column": c.value === "iframe",
1012
1012
  "f-utils-fill": !0
@@ -1016,38 +1016,38 @@ const Ue = /* @__PURE__ */ Ye({
1016
1016
  height: `${e.footerHeight || 60}px`
1017
1017
  };
1018
1018
  }
1019
- const $e = O(() => {
1019
+ const Le = R(() => {
1020
1020
  const B = {
1021
1021
  textAlgin: v.value
1022
- }, J = Je();
1023
- return Object.assign(B, J);
1022
+ }, Y = Je();
1023
+ return Object.assign(B, Y);
1024
1024
  });
1025
1025
  function ze(B) {
1026
- if (B == null || B.stopPropagation(), W.value) {
1027
- W.value = !1, U();
1026
+ if (B == null || B.stopPropagation(), j.value) {
1027
+ j.value = !1, J();
1028
1028
  return;
1029
1029
  }
1030
- A(), W.value = !0;
1030
+ W(), j.value = !0;
1031
1031
  }
1032
- async function se(B, J) {
1033
- B.handle && await B.handle(J, B) && t.emit("closed", J);
1032
+ async function se(B, Y) {
1033
+ B.handle && await B.handle(Y, B) && t.emit("closed", Y);
1034
1034
  }
1035
1035
  function tt(B) {
1036
- B.width && (n.value = B.width), B.height && (o.value = B.height), B.buttons && (S.value = B.buttons), B.title && (k.value = B.title);
1036
+ B.width && (n.value = B.width), B.height && (o.value = B.height), B.buttons && (T.value = B.buttons), B.title && (k.value = B.title);
1037
1037
  }
1038
1038
  let Se = null, Ie = null;
1039
1039
  Bn(() => {
1040
- T.value = ve();
1040
+ w.value = ve();
1041
1041
  }), et(() => {
1042
- z.value && !M.value && (M.value = z.value.parentElement, oe.value = M.value, K(g.value, z.value, oe.value)), Y.value && document.body.classList.add("modal-open"), Se = Uo(e, t), Ie = Xo(e, t);
1042
+ z.value && !F.value && (F.value = z.value.parentElement, oe.value = F.value, K(g.value, z.value, oe.value)), X.value && document.body.classList.add("modal-open"), Se = Uo(e, t), Ie = Xo(e, t);
1043
1043
  }), st(() => {
1044
- X && X(), Se && Se.remove(), Ie && Ie.remove();
1044
+ U && U(), Se && Se.remove(), Ie && Ie.remove();
1045
1045
  }), t.expose({
1046
1046
  modalElementRef: z,
1047
1047
  updateModalOptions: tt,
1048
- close: b,
1048
+ close: y,
1049
1049
  maxDialog: ze,
1050
- isMaximized: W
1050
+ isMaximized: j
1051
1051
  });
1052
1052
  function Oe() {
1053
1053
  return C("ul", null, [p.value && C("li", {
@@ -1062,7 +1062,7 @@ const Ue = /* @__PURE__ */ Ye({
1062
1062
  class: Ee.value
1063
1063
  }, null)]), m.value && C("li", {
1064
1064
  class: "f-btn-icon f-bare",
1065
- onClick: (B) => b(B, !1),
1065
+ onClick: (B) => y(B, !1),
1066
1066
  style: "pointer-events: auto;"
1067
1067
  }, [C("span", {
1068
1068
  class: "f-icon modal_close"
@@ -1071,13 +1071,13 @@ const Ue = /* @__PURE__ */ Ye({
1071
1071
  function Re() {
1072
1072
  return C("div", {
1073
1073
  class: "modal-footer",
1074
- style: $e.value
1075
- }, [S.value && S.value.map((B) => {
1076
- const J = h(B.disabled);
1074
+ style: Le.value
1075
+ }, [T.value && T.value.map((B) => {
1076
+ const Y = b(B.disabled);
1077
1077
  return C("button", {
1078
1078
  name: B.name,
1079
1079
  type: "button",
1080
- disabled: J.value,
1080
+ disabled: Y.value,
1081
1081
  class: B.class + (B.iconClass ? " btn-icontext" : ""),
1082
1082
  onClick: (ie) => {
1083
1083
  se(B, ie);
@@ -1091,10 +1091,10 @@ const Ue = /* @__PURE__ */ Ye({
1091
1091
  return C("div", {
1092
1092
  ref: g,
1093
1093
  class: "modal-header",
1094
- style: Le.value
1094
+ style: $e.value
1095
1095
  }, [t.slots.headerTemplate ? t.slots.headerTemplate() : C("div", {
1096
1096
  class: "modal-title"
1097
- }, [F.value && C("span", {
1097
+ }, [M.value && C("span", {
1098
1098
  class: l.value,
1099
1099
  style: "margin-right: 8px"
1100
1100
  }, null), C("span", {
@@ -1110,11 +1110,11 @@ const Ue = /* @__PURE__ */ Ye({
1110
1110
  if (B.stopPropagation(), e.allowClickMaskToClose) {
1111
1111
  if (B.target !== L.value)
1112
1112
  return;
1113
- b(B, !1);
1113
+ y(B, !1);
1114
1114
  }
1115
1115
  }
1116
1116
  function Pe() {
1117
- var B, J;
1117
+ var B, Y;
1118
1118
  return C("div", {
1119
1119
  id: i.value,
1120
1120
  class: le.value,
@@ -1124,13 +1124,13 @@ const Ue = /* @__PURE__ */ Ye({
1124
1124
  class: te.value
1125
1125
  }, [f.value && nt(), C("div", {
1126
1126
  class: Te.value
1127
- }, [(J = (B = t.slots).default) == null ? void 0 : J.call(B), c.value === "iframe" && C("iframe", {
1127
+ }, [(Y = (B = t.slots).default) == null ? void 0 : Y.call(B), c.value === "iframe" && C("iframe", {
1128
1128
  title: i.value,
1129
1129
  class: "f-utils-fill",
1130
1130
  width: "100%",
1131
1131
  frameborder: "0",
1132
1132
  src: u.value
1133
- }, null)]), Ae()]), !s.value && z.value && !W.value && D(z.value)]);
1133
+ }, null)]), Ae()]), !s.value && z.value && !j.value && H(z.value)]);
1134
1134
  }
1135
1135
  function Qe(B) {
1136
1136
  return B || "body";
@@ -1138,7 +1138,7 @@ const Ue = /* @__PURE__ */ Ye({
1138
1138
  return () => C(Wt, {
1139
1139
  to: Qe(e.host)
1140
1140
  }, {
1141
- default: () => [Y.value && C(qt, {
1141
+ default: () => [X.value && C(qt, {
1142
1142
  name: "fade",
1143
1143
  appear: !0
1144
1144
  }, {
@@ -1166,12 +1166,12 @@ function Yo(e) {
1166
1166
  st(() => {
1167
1167
  document.body.removeChild(t);
1168
1168
  });
1169
- const i = h(), r = h(e.class || ""), s = h(!!e.showButtons), f = h(!!e.showHeader), l = h(e.showCloseButton == null ? !0 : e.showCloseButton), m = h(!0), d = h(e.title || ""), p = e.acceptCallback || (() => {
1169
+ const i = b(), r = b(e.class || ""), s = b(!!e.showButtons), f = b(!!e.showHeader), l = b(e.showCloseButton == null ? !0 : e.showCloseButton), m = b(!0), d = b(e.title || ""), p = e.acceptCallback || (() => {
1170
1170
  }), c = e.rejectCallback || (() => {
1171
1171
  }), u = e.closedCallback || ((L) => {
1172
1172
  }), v = e.resizeHandle || ((L) => {
1173
1173
  }), x = e.stopMoveHandle || ((L) => {
1174
- }), k = Qt(e), M = (L) => {
1174
+ }), k = Qt(e), F = (L) => {
1175
1175
  m.value = !1, n.unmount(), u(L);
1176
1176
  };
1177
1177
  return et(() => {
@@ -1193,7 +1193,7 @@ function Yo(e) {
1193
1193
  onAccept: p,
1194
1194
  onCancel: c,
1195
1195
  fitContent: e.fitContent == null ? !0 : e.fitContent,
1196
- onClosed: M,
1196
+ onClosed: F,
1197
1197
  onResize: v,
1198
1198
  onStopMove: x
1199
1199
  }, {
@@ -1206,11 +1206,11 @@ function Yo(e) {
1206
1206
  class Zt {
1207
1207
  constructor(t) {
1208
1208
  he(this, "appContext", null);
1209
- he(this, "modalRef", h());
1210
- he(this, "activeModalIndex", h(0));
1209
+ he(this, "modalRef", b());
1210
+ he(this, "activeModalIndex", b(0));
1211
1211
  he(this, "modalRefs", {});
1212
- he(this, "isUseEscCloseModal", h(!1));
1213
- he(this, "activeModalInstance", O(() => this.modalRefs[this.activeModalIndex.value]));
1212
+ he(this, "isUseEscCloseModal", b(!1));
1213
+ he(this, "activeModalInstance", R(() => this.modalRefs[this.activeModalIndex.value]));
1214
1214
  this.app = t, this.appContext = t ? t._context : null;
1215
1215
  }
1216
1216
  getCurrentModal() {
@@ -1248,38 +1248,38 @@ class Zt {
1248
1248
  title: "",
1249
1249
  showButtons: !0,
1250
1250
  showHeader: !0
1251
- }, t)), a = h(!0), i = o.value.acceptCallback || (() => {
1251
+ }, t)), a = b(!0), i = o.value.acceptCallback || (() => {
1252
1252
  }), r = o.value.rejectCallback || (() => {
1253
- }), s = o.value.closedCallback || ((T, b) => {
1254
- }), f = o.value.resizeHandle || ((T) => {
1255
- }), l = t.stopMoveHandle || ((T) => {
1253
+ }), s = o.value.closedCallback || ((w, y) => {
1254
+ }), f = o.value.resizeHandle || ((w) => {
1255
+ }), l = t.stopMoveHandle || ((w) => {
1256
1256
  });
1257
1257
  let m;
1258
- const d = Qt(o.value), p = (T) => {
1259
- var w;
1258
+ const d = Qt(o.value), p = (w) => {
1259
+ var S;
1260
1260
  a.value = !1;
1261
- const b = (w = T == null ? void 0 : T.target) == null ? void 0 : w.classList.contains("modal_close");
1262
- s(T, this.isUseEscCloseModal.value ? "esc" : b ? "icon" : "button");
1263
- }, c = (T) => {
1264
- p(T), m && Ke(() => {
1261
+ const y = (S = w == null ? void 0 : w.target) == null ? void 0 : S.classList.contains("modal_close");
1262
+ s(w, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
1263
+ }, c = (w) => {
1264
+ p(w), m && Ke(() => {
1265
1265
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], It(null, n), m = null, this.modalRef.value = null, this.modalRefs) {
1266
- const b = Object.keys(this.modalRefs).map((w) => Number(w));
1267
- b.length > 0 ? this.activeModalIndex.value = Math.max(...b) : this.activeModalIndex.value = 0;
1266
+ const y = Object.keys(this.modalRefs).map((S) => Number(S));
1267
+ y.length > 0 ? this.activeModalIndex.value = Math.max(...y) : this.activeModalIndex.value = 0;
1268
1268
  }
1269
1269
  this.isUseEscCloseModal.value = !1;
1270
1270
  });
1271
- }, u = (T) => {
1272
- var b;
1273
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((b = this.activeModalInstance.value) == null || b.close(T == null ? void 0 : T.event));
1271
+ }, u = (w) => {
1272
+ var y;
1273
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((y = this.activeModalInstance.value) == null || y.close(w == null ? void 0 : w.event));
1274
1274
  }, {
1275
1275
  width: v,
1276
1276
  height: x
1277
1277
  } = o.value, k = this.adaptToWindow(v || 500, x || 320);
1278
1278
  Object.assign(o.value, k);
1279
- const M = () => C(Ue, vt({
1279
+ const F = () => C(Ue, vt({
1280
1280
  ref: this.modalRef,
1281
1281
  modelValue: a.value,
1282
- "onUpdate:modelValue": (T) => a.value = T
1282
+ "onUpdate:modelValue": (w) => a.value = w
1283
1283
  }, o.value, {
1284
1284
  onAccept: i,
1285
1285
  onCancel: r,
@@ -1290,17 +1290,17 @@ class Zt {
1290
1290
  }), {
1291
1291
  default: () => [d && d(this.app)]
1292
1292
  });
1293
- return m = ((T) => {
1294
- const b = Fn(M, T);
1295
- return b.appContext = this.appContext, It(b, n), b;
1293
+ return m = ((w) => {
1294
+ const y = Fn(F, w);
1295
+ return y.appContext = this.appContext, It(y, n), y;
1296
1296
  })({
1297
1297
  ...o.value
1298
1298
  // 'onUpdate:modelValue': onUpdateModelValue,
1299
1299
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
1300
- update: (T) => {
1300
+ update: (w) => {
1301
1301
  o.value = {
1302
1302
  ...o.value,
1303
- ...T
1303
+ ...w
1304
1304
  }, m && It(Mn(m, {
1305
1305
  ...o
1306
1306
  }), n);
@@ -1377,7 +1377,7 @@ const Qo = {
1377
1377
  e.editor && (e.editor[t] = n);
1378
1378
  },
1379
1379
  convertFrom: (e, t, n) => e.editor && Object.prototype.hasOwnProperty.call(e.editor, t) ? e.editor[t] : e[t]
1380
- }, R = {
1380
+ }, O = {
1381
1381
  button: { type: "button", name: "按钮" },
1382
1382
  "response-toolbar": { type: "response-toolbar", name: "工具栏" },
1383
1383
  "response-toolbar-item": { type: "response-toolbar-item", name: "按钮" },
@@ -1428,7 +1428,7 @@ const Qo = {
1428
1428
  convertFrom: (e, t, n) => {
1429
1429
  var a;
1430
1430
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
1431
- return ((a = R[o]) == null ? void 0 : a.name) || o;
1431
+ return ((a = O[o]) == null ? void 0 : a.name) || o;
1432
1432
  }
1433
1433
  }, ta = {
1434
1434
  convertTo: (e, t, n, o) => {
@@ -1664,62 +1664,62 @@ function Kt(e, t, n) {
1664
1664
  const x = u.$converter || v;
1665
1665
  return typeof x == "string" && x && o.has(x) ? o.get(x) || null : x || null;
1666
1666
  }
1667
- function m(u, v, x, k, M, L = "", P = "") {
1668
- return Object.keys(u).map((b) => {
1669
- const w = h(1), S = b, F = u[b], _ = Object.keys(F), g = F.title, z = F.type, W = a.get(z) || { type: "input-group", enableClear: !1 }, D = F.editor ? Object.assign({}, W, F.editor) : Object.assign({}, W), A = s(_, F, v), U = f(_, F, v);
1670
- D.readonly = D.readonly === void 0 ? U() : D.readonly;
1671
- const oe = F.type === "cascade" ? m(F.properties, v, x, k, M, L, P) : [], N = !0;
1672
- let I = l(F, P);
1673
- const X = O({
1667
+ function m(u, v, x, k, F, L = "", P = "") {
1668
+ return Object.keys(u).map((y) => {
1669
+ const S = b(1), T = y, M = u[y], _ = Object.keys(M), g = M.title, z = M.type, j = a.get(z) || { type: "input-group", enableClear: !1 }, H = M.editor ? Object.assign({}, j, M.editor) : Object.assign({}, j), W = s(_, M, v), J = f(_, M, v);
1670
+ H.readonly = H.readonly === void 0 ? J() : H.readonly;
1671
+ const oe = M.type === "cascade" ? m(M.properties, v, x, k, F, L, P) : [], D = !0;
1672
+ let I = l(M, P);
1673
+ const U = R({
1674
1674
  get() {
1675
- if (w.value) {
1676
- if (["class", "style"].find((le) => le === S) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
1677
- return I.convertFrom(x, b, M, L);
1678
- const ne = x[b];
1679
- return Object.prototype.hasOwnProperty.call(F, "defaultValue") && (ne === void 0 || typeof ne == "string" && ne === "") ? F.type === "boolean" ? F.defaultValue : F.defaultValue || "" : ne;
1675
+ if (S.value) {
1676
+ if (["class", "style"].find((le) => le === T) && !I && (I = o.get("/converter/appearance.converter") || null), I && I.convertFrom)
1677
+ return I.convertFrom(x, y, F, L);
1678
+ const ne = x[y];
1679
+ return Object.prototype.hasOwnProperty.call(M, "defaultValue") && (ne === void 0 || typeof ne == "string" && ne === "") ? M.type === "boolean" ? M.defaultValue : M.defaultValue || "" : ne;
1680
1680
  }
1681
1681
  return null;
1682
1682
  },
1683
1683
  set(ne) {
1684
- w.value += 1, I && I.convertTo ? (I.convertTo(k, b, ne, M, L), I.convertTo(x, b, ne, M, L)) : (k[b] = ne, x[b] = ne);
1684
+ S.value += 1, I && I.convertTo ? (I.convertTo(k, y, ne, F, L), I.convertTo(x, y, ne, F, L)) : (k[y] = ne, x[y] = ne);
1685
1685
  }
1686
- }), { refreshPanelAfterChanged: $, description: K, isExpand: ve, parentPropertyID: ge } = F, Y = { propertyID: S, propertyName: g, propertyType: z, propertyValue: X, editor: D, visible: A, readonly: U, cascadeConfig: oe, hideCascadeTitle: N, refreshPanelAfterChanged: $, description: K, isExpand: ve, parentPropertyID: ge };
1687
- return v[S] = Y, Y;
1686
+ }), { refreshPanelAfterChanged: A, description: K, isExpand: ve, parentPropertyID: ge } = M, X = { propertyID: T, propertyName: g, propertyType: z, propertyValue: U, editor: H, visible: W, readonly: J, cascadeConfig: oe, hideCascadeTitle: D, refreshPanelAfterChanged: A, description: K, isExpand: ve, parentPropertyID: ge };
1687
+ return v[T] = X, X;
1688
1688
  });
1689
1689
  }
1690
1690
  function d(u, v, x = {}) {
1691
- const k = {}, M = e[u];
1692
- return M && M.categories ? Object.keys(M.categories).map((P) => {
1693
- const T = M.categories[P], b = T == null ? void 0 : T.title, w = m(T.properties || {}, k, {}, x, v);
1694
- return { categoryId: P, categoryName: b, properties: w };
1691
+ const k = {}, F = e[u];
1692
+ return F && F.categories ? Object.keys(F.categories).map((P) => {
1693
+ const w = F.categories[P], y = w == null ? void 0 : w.title, S = m(w.properties || {}, k, {}, x, v);
1694
+ return { categoryId: P, categoryName: y, properties: S };
1695
1695
  }) : [];
1696
1696
  }
1697
- function p(u, v, x, k, M = "") {
1698
- const L = v.$ref.schema, P = v.$ref.converter, T = x[L], b = T.type, w = n(T), S = {}, F = e[b];
1699
- if (F && F.categories) {
1700
- const _ = F.categories[u], g = _ == null ? void 0 : _.title;
1701
- P && Object.keys(_.properties).forEach((D) => {
1702
- _.properties[D].$converter = P;
1697
+ function p(u, v, x, k, F = "") {
1698
+ const L = v.$ref.schema, P = v.$ref.converter, w = x[L], y = w.type, S = n(w), T = {}, M = e[y];
1699
+ if (M && M.categories) {
1700
+ const _ = M.categories[u], g = _ == null ? void 0 : _.title;
1701
+ P && Object.keys(_.properties).forEach((H) => {
1702
+ _.properties[H].$converter = P;
1703
1703
  });
1704
- const z = (_ == null ? void 0 : _.properties) || {}, W = m(z, S, w, T, k, M);
1705
- return { categoryId: u, categoryName: g, properties: W };
1704
+ const z = (_ == null ? void 0 : _.properties) || {}, j = m(z, T, S, w, k, F);
1705
+ return { categoryId: u, categoryName: g, properties: j };
1706
1706
  }
1707
1707
  return { categoryId: u, categoryName: "", properties: [] };
1708
1708
  }
1709
- function c(u, v, x, k, M) {
1710
- const L = u.type, P = n(u), T = {};
1711
- let b = M || e[L];
1712
- if (b && Object.keys(b).length === 0 && x && x.getPropConfig && (b = x.getPropConfig(k)), b && b.categories) {
1713
- const w = [];
1714
- return Object.keys(b.categories).map((S) => {
1715
- const F = b.categories[S];
1716
- if (F.$ref) {
1717
- w.push(p(S, F, u, v, k));
1709
+ function c(u, v, x, k, F) {
1710
+ const L = u.type, P = n(u), w = {};
1711
+ let y = F || e[L];
1712
+ if (y && Object.keys(y).length === 0 && x && x.getPropConfig && (y = x.getPropConfig(k)), y && y.categories) {
1713
+ const S = [];
1714
+ return Object.keys(y.categories).map((T) => {
1715
+ const M = y.categories[T];
1716
+ if (M.$ref) {
1717
+ S.push(p(T, M, u, v, k));
1718
1718
  return;
1719
1719
  }
1720
- const _ = F == null ? void 0 : F.title, g = F == null ? void 0 : F.tabId, z = F == null ? void 0 : F.tabName, W = F == null ? void 0 : F.hide, D = F == null ? void 0 : F.hideTitle, A = m(F.properties || {}, T, P, u, v, k, F.$converter), { setPropertyRelates: U } = F, oe = F == null ? void 0 : F.parentPropertyID;
1721
- w.push({ categoryId: S, categoryName: _, tabId: g, tabName: z, hide: W, properties: A, hideTitle: D, setPropertyRelates: U, parentPropertyID: oe });
1722
- }), w;
1720
+ const _ = M == null ? void 0 : M.title, g = M == null ? void 0 : M.tabId, z = M == null ? void 0 : M.tabName, j = M == null ? void 0 : M.hide, H = M == null ? void 0 : M.hideTitle, W = m(M.properties || {}, w, P, u, v, k, M.$converter), { setPropertyRelates: J } = M, oe = M == null ? void 0 : M.parentPropertyID;
1721
+ S.push({ categoryId: T, categoryName: _, tabId: g, tabName: z, hide: j, properties: W, hideTitle: H, setPropertyRelates: J, parentPropertyID: oe });
1722
+ }), S;
1723
1723
  }
1724
1724
  return [];
1725
1725
  }
@@ -1732,7 +1732,7 @@ function Kt(e, t, n) {
1732
1732
  function en(e, t) {
1733
1733
  let n;
1734
1734
  function o(d) {
1735
- const { properties: p, title: c, ignore: u } = d, v = u && Array.isArray(u), x = Object.keys(p).reduce((k, M) => ((!v || !u.find((L) => L === M)) && (k[M] = p[M].type === "object" && p[M].properties ? o(p[M]) : Ot(p[M].default)), k), {});
1735
+ const { properties: p, title: c, ignore: u } = d, v = u && Array.isArray(u), x = Object.keys(p).reduce((k, F) => ((!v || !u.find((L) => L === F)) && (k[F] = p[F].type === "object" && p[F].properties ? o(p[F]) : Ot(p[F].default)), k), {});
1736
1736
  if (c && (!v || !u.find((k) => k === "id"))) {
1737
1737
  const k = c.toLowerCase().replace(/-/g, "_");
1738
1738
  x.id = `${k}_${Math.random().toString().slice(2, 6)}`;
@@ -1794,8 +1794,8 @@ function en(e, t) {
1794
1794
  return d;
1795
1795
  const v = r(d, u), x = ((c = d.editor) == null ? void 0 : c.type) || "";
1796
1796
  if (x) {
1797
- const k = e[x], M = r(d.editor, k);
1798
- v.editor = M;
1797
+ const k = e[x], F = r(d.editor, k);
1798
+ v.editor = F;
1799
1799
  }
1800
1800
  return v;
1801
1801
  }
@@ -1934,18 +1934,18 @@ yt(
1934
1934
  Nt,
1935
1935
  void 0
1936
1936
  );
1937
- h(0);
1938
- h(0);
1937
+ b(0);
1938
+ b(0);
1939
1939
  const Ze = class Ze {
1940
1940
  /**
1941
1941
  * 根据绑定字段类型获取可用的输入类控件
1942
1942
  */
1943
1943
  static getEditorTypesByMDataType(t, n = !1, o = "") {
1944
1944
  if (n)
1945
- return [{ key: R["language-textbox"].type, value: R["language-textbox"].name }];
1945
+ return [{ key: O["language-textbox"].type, value: O["language-textbox"].name }];
1946
1946
  let a = Ze.fieldControlTypeMapping[t];
1947
1947
  if (o === "data-grid-column" && (a != null && a.length)) {
1948
- const i = [R["check-group"].type, R["radio-group"].type];
1948
+ const i = [O["check-group"].type, O["radio-group"].type];
1949
1949
  a = a.filter((r) => !i.includes(r.key));
1950
1950
  }
1951
1951
  return a;
@@ -1968,7 +1968,7 @@ const Ze = class Ze {
1968
1968
  static mappingDomPropAndSchemaProp(t, n) {
1969
1969
  var i;
1970
1970
  const o = (i = t.editor) == null ? void 0 : i.type, a = [];
1971
- return (t.type === R["data-grid-column"].type || t.type === R["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && a.push({ domField: "title", schemaField: "name" }), a.push({ domField: "label", schemaField: "name" }), a.push({ domField: "editor.required", schemaField: "require" }), a.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === R["input-group"].type || o === R.textarea.type || o === R["number-spinner"].type) && a.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === R["number-spinner"].type && a.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === R["data-grid-column"].type || t.type === R["tree-grid-column"].type) && a.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === R["combo-list"].type || o === R["radio-group"].type) && a.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === R["data-grid-column"].type || t.type === R["tree-grid-column"].type) && a.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === R["date-picker"].type && (a.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), a.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === R["number-spinner"].type && (a.push({ domField: "editor.max", schemaField: "editor.maxValue" }), a.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === R.lookup.type && (a.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), a.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), a.push({ domField: "editor.textField", schemaField: "editor.textField" }), a.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), a.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), a.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), a.push({ domField: "path", schemaField: "bindingPath" }), a.push({ domField: "binding.path", schemaField: "bindingField" }), a.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === R["data-grid-column"].type || t.type === R["tree-grid-column"].type) && a.push({ domField: "field", schemaField: "bindingPath" }), a;
1971
+ return (t.type === O["data-grid-column"].type || t.type === O["tree-grid-column"].type) && n && n.categoryId && n.categoryId.indexOf("gridFieldEditor") < 0 && a.push({ domField: "title", schemaField: "name" }), a.push({ domField: "label", schemaField: "name" }), a.push({ domField: "editor.required", schemaField: "require" }), a.push({ domField: "editor.readonly", schemaField: "readonly" }), (o === O["input-group"].type || o === O.textarea.type || o === O["number-spinner"].type) && a.push({ domField: "editor.maxLength", schemaField: "type.length" }), o === O["number-spinner"].type && a.push({ domField: "editor.precision", schemaField: "type.precision" }), (t.type === O["data-grid-column"].type || t.type === O["tree-grid-column"].type) && a.push({ domField: "formatter.precision", schemaField: "type.precision" }), (o === O["combo-list"].type || o === O["radio-group"].type) && a.push({ domField: "editor.data", schemaField: "type.enumValues" }), (t.type === O["data-grid-column"].type || t.type === O["tree-grid-column"].type) && a.push({ domField: "formatter.data", schemaField: "type.enumValues" }), o === O["date-picker"].type && (a.push({ domField: "editor.displayFormat", schemaField: "editor.format" }), a.push({ domField: "editor.fieldType", schemaField: "type.name" })), o === O["number-spinner"].type && (a.push({ domField: "editor.max", schemaField: "editor.maxValue" }), a.push({ domField: "editor.min", schemaField: "editor.minValue" })), o === O.lookup.type && (a.push({ domField: "editor.dataSource", schemaField: "editor.dataSource" }), a.push({ domField: "editor.valueField", schemaField: "editor.valueField" }), a.push({ domField: "editor.textField", schemaField: "editor.textField" }), a.push({ domField: "editor.displayType", schemaField: "editor.displayType" }), a.push({ domField: "editor.mapFields", schemaField: "editor.mapFields" }), a.push({ domField: "editor.helpId", schemaField: "editor.helpId" })), a.push({ domField: "path", schemaField: "bindingPath" }), a.push({ domField: "binding.path", schemaField: "bindingField" }), a.push({ domField: "binding.fullPath", schemaField: "path" }), (t.type === O["data-grid-column"].type || t.type === O["tree-grid-column"].type) && a.push({ domField: "field", schemaField: "bindingPath" }), a;
1972
1972
  }
1973
1973
  };
1974
1974
  /**
@@ -1976,53 +1976,53 @@ const Ze = class Ze {
1976
1976
  */
1977
1977
  he(Ze, "fieldControlTypeMapping", {
1978
1978
  String: [
1979
- { key: R["input-group"].type, value: R["input-group"].name },
1980
- { key: R.lookup.type, value: R.lookup.name },
1981
- { key: R["date-picker"].type, value: R["date-picker"].name },
1982
- { key: R.switch.type, value: R.switch.name },
1983
- { key: R["check-box"].type, value: R["check-box"].name },
1984
- { key: R["check-group"].type, value: R["check-group"].name },
1985
- { key: R["radio-group"].type, value: R["radio-group"].name },
1986
- { key: R["combo-list"].type, value: R["combo-list"].name },
1987
- { key: R.textarea.type, value: R.textarea.name },
1988
- { key: R["time-picker"].type, value: R["time-picker"].name }
1979
+ { key: O["input-group"].type, value: O["input-group"].name },
1980
+ { key: O.lookup.type, value: O.lookup.name },
1981
+ { key: O["date-picker"].type, value: O["date-picker"].name },
1982
+ { key: O.switch.type, value: O.switch.name },
1983
+ { key: O["check-box"].type, value: O["check-box"].name },
1984
+ { key: O["check-group"].type, value: O["check-group"].name },
1985
+ { key: O["radio-group"].type, value: O["radio-group"].name },
1986
+ { key: O["combo-list"].type, value: O["combo-list"].name },
1987
+ { key: O.textarea.type, value: O.textarea.name },
1988
+ { key: O["time-picker"].type, value: O["time-picker"].name }
1989
1989
  ],
1990
1990
  Text: [
1991
- { key: R.textarea.type, value: R.textarea.name },
1992
- { key: R.lookup.type, value: R.lookup.name }
1991
+ { key: O.textarea.type, value: O.textarea.name },
1992
+ { key: O.lookup.type, value: O.lookup.name }
1993
1993
  ],
1994
1994
  Decimal: [
1995
- { key: R["number-spinner"].type, value: R["number-spinner"].name }
1995
+ { key: O["number-spinner"].type, value: O["number-spinner"].name }
1996
1996
  ],
1997
1997
  Integer: [
1998
- { key: R["number-spinner"].type, value: R["number-spinner"].name }
1998
+ { key: O["number-spinner"].type, value: O["number-spinner"].name }
1999
1999
  ],
2000
2000
  Number: [
2001
- { key: R["number-spinner"].type, value: R["number-spinner"].name },
2002
- { key: R.switch.type, value: R.switch.name },
2003
- { key: R["check-box"].type, value: R["check-box"].name }
2001
+ { key: O["number-spinner"].type, value: O["number-spinner"].name },
2002
+ { key: O.switch.type, value: O.switch.name },
2003
+ { key: O["check-box"].type, value: O["check-box"].name }
2004
2004
  ],
2005
2005
  BigNumber: [
2006
- { key: R["number-spinner"].type, value: R["number-spinner"].name }
2006
+ { key: O["number-spinner"].type, value: O["number-spinner"].name }
2007
2007
  ],
2008
2008
  Date: [
2009
- { key: R["date-picker"].type, value: R["date-picker"].name }
2009
+ { key: O["date-picker"].type, value: O["date-picker"].name }
2010
2010
  ],
2011
2011
  DateTime: [
2012
- { key: R["date-picker"].type, value: R["date-picker"].name }
2012
+ { key: O["date-picker"].type, value: O["date-picker"].name }
2013
2013
  ],
2014
2014
  Boolean: [
2015
- { key: R.switch.type, value: R.switch.name },
2016
- { key: R["check-box"].type, value: R["check-box"].name }
2015
+ { key: O.switch.type, value: O.switch.name },
2016
+ { key: O["check-box"].type, value: O["check-box"].name }
2017
2017
  ],
2018
2018
  Enum: [
2019
- { key: R["combo-list"].type, value: R["combo-list"].name },
2020
- { key: R["radio-group"].type, value: R["radio-group"].name }
2019
+ { key: O["combo-list"].type, value: O["combo-list"].name },
2020
+ { key: O["radio-group"].type, value: O["radio-group"].name }
2021
2021
  ],
2022
2022
  Object: [
2023
- { key: R.lookup.type, value: R.lookup.name },
2024
- { key: R["combo-list"].type, value: R["combo-list"].name },
2025
- { key: R["radio-group"].type, value: R["radio-group"].name }
2023
+ { key: O.lookup.type, value: O.lookup.name },
2024
+ { key: O["combo-list"].type, value: O["combo-list"].name },
2025
+ { key: O["radio-group"].type, value: O["radio-group"].name }
2026
2026
  ]
2027
2027
  });
2028
2028
  let _t = Ze;
@@ -2081,172 +2081,172 @@ var Oa = { exports: {} };
2081
2081
  (function(i) {
2082
2082
  var r = n("contra/emitter"), s = n("crossvent"), f = n("./classes"), l = document, m = l.documentElement;
2083
2083
  function d(g, z) {
2084
- var W = arguments.length;
2085
- W === 1 && Array.isArray(g) === !1 && (z = g, g = []);
2086
- var D, A, U, oe, N, I, X, $, K, ve = null, ge, Y, ne = !1, le = 0, ee, V = z || {};
2087
- V.moves === void 0 && (V.moves = M), V.accepts === void 0 && (V.accepts = M), V.invalid === void 0 && (V.invalid = nt), V.containers === void 0 && (V.containers = g || []), V.isContainer === void 0 && (V.isContainer = k), V.copy === void 0 && (V.copy = !1), V.copySortSource === void 0 && (V.copySortSource = !1), V.revertOnSpill === void 0 && (V.revertOnSpill = !1), V.removeOnSpill === void 0 && (V.removeOnSpill = !1), V.direction === void 0 && (V.direction = "vertical"), V.ignoreInputTextSelection === void 0 && (V.ignoreInputTextSelection = !0), V.mirrorContainer === void 0 && (V.mirrorContainer = l.body);
2084
+ var j = arguments.length;
2085
+ j === 1 && Array.isArray(g) === !1 && (z = g, g = []);
2086
+ var H, W, J, oe, D, I, U, A, K, ve = null, ge, X, ne = !1, le = 0, ee, V = z || {};
2087
+ V.moves === void 0 && (V.moves = F), V.accepts === void 0 && (V.accepts = F), V.invalid === void 0 && (V.invalid = nt), V.containers === void 0 && (V.containers = g || []), V.isContainer === void 0 && (V.isContainer = k), V.copy === void 0 && (V.copy = !1), V.copySortSource === void 0 && (V.copySortSource = !1), V.revertOnSpill === void 0 && (V.revertOnSpill = !1), V.removeOnSpill === void 0 && (V.removeOnSpill = !1), V.direction === void 0 && (V.direction = "vertical"), V.ignoreInputTextSelection === void 0 && (V.ignoreInputTextSelection = !0), V.mirrorContainer === void 0 && (V.mirrorContainer = l.body);
2088
2088
  var te = r({
2089
2089
  containers: V.containers,
2090
2090
  start: Oe,
2091
2091
  end: Ae,
2092
- cancel: J,
2092
+ cancel: Y,
2093
2093
  remove: B,
2094
- destroy: $e,
2094
+ destroy: Le,
2095
2095
  canMove: Ie,
2096
2096
  dragging: !1
2097
2097
  });
2098
2098
  return V.removeOnSpill === !0 && te.on("over", bt).on("out", Ct), Ee(), te;
2099
- function Le(y) {
2100
- return te.containers.indexOf(y) !== -1 || V.isContainer(y);
2099
+ function $e(h) {
2100
+ return te.containers.indexOf(h) !== -1 || V.isContainer(h);
2101
2101
  }
2102
- function Ee(y) {
2103
- var E = y ? "remove" : "add";
2102
+ function Ee(h) {
2103
+ var E = h ? "remove" : "add";
2104
2104
  u(m, E, "mousedown", se), u(m, E, "mouseup", Pe);
2105
2105
  }
2106
- function Te(y) {
2107
- var E = y ? "remove" : "add";
2106
+ function Te(h) {
2107
+ var E = h ? "remove" : "add";
2108
2108
  u(m, E, "mousemove", tt);
2109
2109
  }
2110
- function Je(y) {
2111
- var E = y ? "remove" : "add";
2110
+ function Je(h) {
2111
+ var E = h ? "remove" : "add";
2112
2112
  s[E](m, "selectstart", ze), s[E](m, "click", ze);
2113
2113
  }
2114
- function $e() {
2114
+ function Le() {
2115
2115
  Ee(!0), Pe({});
2116
2116
  }
2117
- function ze(y) {
2118
- ge && y.preventDefault();
2117
+ function ze(h) {
2118
+ ge && h.preventDefault();
2119
2119
  }
2120
- function se(y) {
2121
- oe = y.clientX, N = y.clientY;
2122
- var E = v(y) !== 1 || y.metaKey || y.ctrlKey;
2120
+ function se(h) {
2121
+ oe = h.clientX, D = h.clientY;
2122
+ var E = v(h) !== 1 || h.metaKey || h.ctrlKey;
2123
2123
  if (!E) {
2124
- var j = y.target, q = Se(j);
2125
- q && (ge = q, Te(), y.type === "mousedown" && (b(j) ? j.focus() : y.preventDefault()));
2124
+ var N = h.target, q = Se(N);
2125
+ q && (ge = q, Te(), h.type === "mousedown" && (y(N) ? N.focus() : h.preventDefault()));
2126
2126
  }
2127
2127
  }
2128
- function tt(y) {
2128
+ function tt(h) {
2129
2129
  if (ge) {
2130
- if (v(y) === 0) {
2130
+ if (v(h) === 0) {
2131
2131
  Pe({});
2132
2132
  return;
2133
2133
  }
2134
- if (!(y.clientX !== void 0 && Math.abs(y.clientX - oe) <= (V.slideFactorX || 0) && y.clientY !== void 0 && Math.abs(y.clientY - N) <= (V.slideFactorY || 0))) {
2134
+ if (!(h.clientX !== void 0 && Math.abs(h.clientX - oe) <= (V.slideFactorX || 0) && h.clientY !== void 0 && Math.abs(h.clientY - D) <= (V.slideFactorY || 0))) {
2135
2135
  if (V.ignoreInputTextSelection) {
2136
- var E = _("clientX", y) || 0, j = _("clientY", y) || 0, q = l.elementFromPoint(E, j);
2137
- if (b(q))
2136
+ var E = _("clientX", h) || 0, N = _("clientY", h) || 0, q = l.elementFromPoint(E, N);
2137
+ if (y(q))
2138
2138
  return;
2139
2139
  }
2140
2140
  var Q = ge;
2141
- Te(!0), Je(), Ae(), Re(Q), f.add($ || U, "gu-transit"), xt(), wt(), le = 0, ot(y);
2141
+ Te(!0), Je(), Ae(), Re(Q), f.add(A || J, "gu-transit"), xt(), wt(), le = 0, ot(h);
2142
2142
  }
2143
2143
  }
2144
2144
  }
2145
- function Se(y) {
2146
- if (!(te.dragging && D) && !Le(y)) {
2147
- for (var E = y; T(y) && Le(T(y)) === !1; )
2148
- if (V.invalid(y, E) || (y = T(y), !y))
2145
+ function Se(h) {
2146
+ if (!(te.dragging && H) && !$e(h)) {
2147
+ for (var E = h; w(h) && $e(w(h)) === !1; )
2148
+ if (V.invalid(h, E) || (h = w(h), !h))
2149
2149
  return;
2150
- var j = T(y);
2151
- if (j && !V.invalid(y, E)) {
2152
- var q = V.moves(y, j, E, S(y));
2150
+ var N = w(h);
2151
+ if (N && !V.invalid(h, E)) {
2152
+ var q = V.moves(h, N, E, T(h));
2153
2153
  if (q)
2154
2154
  return {
2155
- item: y,
2156
- source: j
2155
+ item: h,
2156
+ source: N
2157
2157
  };
2158
2158
  }
2159
2159
  }
2160
2160
  }
2161
- function Ie(y) {
2162
- return !!Se(y);
2161
+ function Ie(h) {
2162
+ return !!Se(h);
2163
2163
  }
2164
- function Oe(y) {
2165
- var E = Se(y);
2164
+ function Oe(h) {
2165
+ var E = Se(h);
2166
2166
  E && Re(E);
2167
2167
  }
2168
- function Re(y) {
2169
- Et(y.item, y.source) && ($ = y.item.cloneNode(!0), te.emit("cloned", $, y.item, "copy")), A = y.source, U = y.item, I = X = S(y.item), te.dragging = !0, te.emit("drag", U, A);
2168
+ function Re(h) {
2169
+ Et(h.item, h.source) && (A = h.item.cloneNode(!0), te.emit("cloned", A, h.item, "copy")), W = h.source, J = h.item, I = U = T(h.item), te.dragging = !0, te.emit("drag", J, W);
2170
2170
  }
2171
2171
  function nt() {
2172
2172
  return !1;
2173
2173
  }
2174
2174
  function Ae() {
2175
2175
  if (te.dragging) {
2176
- var y = $ || U;
2177
- Qe(y, T(y));
2176
+ var h = A || J;
2177
+ Qe(h, w(h));
2178
2178
  }
2179
2179
  }
2180
2180
  function Me() {
2181
2181
  ge = !1, Te(!0), Je(!0);
2182
2182
  }
2183
- function Pe(y) {
2183
+ function Pe(h) {
2184
2184
  if (Me(), !!te.dragging) {
2185
- var E = $ || U, j = _("clientX", y) || 0, q = _("clientY", y) || 0, Q = x(D, j, q), Z = De(Q, j, q);
2186
- Z && ($ && V.copySortSource || !$ || Z !== A) ? Qe(E, Z) : V.removeOnSpill ? B() : J();
2185
+ var E = A || J, N = _("clientX", h) || 0, q = _("clientY", h) || 0, Q = x(H, N, q), Z = De(Q, N, q);
2186
+ Z && (A && V.copySortSource || !A || Z !== W) ? Qe(E, Z) : V.removeOnSpill ? B() : Y();
2187
2187
  }
2188
2188
  }
2189
- function Qe(y, E) {
2190
- var j = T(y);
2191
- $ && V.copySortSource && E === A && j.removeChild(U), re(E) ? te.emit("cancel", y, A) : te.emit("drop", y, E, A, X), ie();
2189
+ function Qe(h, E) {
2190
+ var N = w(h);
2191
+ A && V.copySortSource && E === W && N.removeChild(J), re(E) ? te.emit("cancel", h, W) : te.emit("drop", h, E, W, U), ie();
2192
2192
  }
2193
2193
  function B() {
2194
2194
  if (te.dragging) {
2195
- var y = $ || U, E = T(y);
2196
- E && E.removeChild(y), te.emit($ ? "cancel" : "remove", y, E, A), ie();
2195
+ var h = A || J, E = w(h);
2196
+ E && E.removeChild(h), te.emit(A ? "cancel" : "remove", h, E, W), ie();
2197
2197
  }
2198
2198
  }
2199
- function J(y) {
2199
+ function Y(h) {
2200
2200
  if (te.dragging) {
2201
- var E = arguments.length > 0 ? y : V.revertOnSpill, j = $ || U, q = T(j), Q = re(q);
2202
- Q === !1 && E && ($ ? q && q.removeChild($) : A.insertBefore(j, I)), Q || E ? te.emit("cancel", j, A, A) : te.emit("drop", j, q, A, X), ie();
2201
+ var E = arguments.length > 0 ? h : V.revertOnSpill, N = A || J, q = w(N), Q = re(q);
2202
+ Q === !1 && E && (A ? q && q.removeChild(A) : W.insertBefore(N, I)), Q || E ? te.emit("cancel", N, W, W) : te.emit("drop", N, q, W, U), ie();
2203
2203
  }
2204
2204
  }
2205
2205
  function ie() {
2206
- var y = $ || U;
2207
- Me(), Tt(), St(), y && f.rm(y, "gu-transit"), K && clearTimeout(K), te.dragging = !1, ve && te.emit("out", y, ve, A), te.emit("dragend", y, le), A = U = $ = I = X = K = ve = null;
2206
+ var h = A || J;
2207
+ Me(), Tt(), St(), h && f.rm(h, "gu-transit"), K && clearTimeout(K), te.dragging = !1, ve && te.emit("out", h, ve, W), te.emit("dragend", h, le), W = J = A = I = U = K = ve = null;
2208
2208
  }
2209
- function re(y, E) {
2210
- var j;
2211
- return E !== void 0 ? j = E : D ? j = X : j = S($ || U), y === A && j === I;
2209
+ function re(h, E) {
2210
+ var N;
2211
+ return E !== void 0 ? N = E : H ? N = U : N = T(A || J), h === W && N === I;
2212
2212
  }
2213
- function De(y, E, j) {
2214
- for (var q = y; q && !Q(); )
2215
- q = T(q);
2213
+ function De(h, E, N) {
2214
+ for (var q = h; q && !Q(); )
2215
+ q = w(q);
2216
2216
  return q;
2217
2217
  function Q() {
2218
- var Z = Le(q);
2218
+ var Z = $e(q);
2219
2219
  if (Z === !1)
2220
2220
  return !1;
2221
- var xe = ut(q, y), ye = ct(q, xe, E, j), be = re(q, ye);
2222
- return be ? !0 : V.accepts(U, q, A, ye);
2221
+ var xe = ut(q, h), ye = ct(q, xe, E, N), be = re(q, ye);
2222
+ return be ? !0 : V.accepts(J, q, W, ye);
2223
2223
  }
2224
2224
  }
2225
- function ot(y) {
2226
- if (!D)
2225
+ function ot(h) {
2226
+ if (!H)
2227
2227
  return;
2228
- y.preventDefault();
2229
- var E = _("clientX", y) || 0, j = _("clientY", y) || 0;
2230
- D.style.left = E - 2 + "px", D.style.top = j - 2 + "px";
2231
- var q = $ || U, Q = x(D, E, j), Z = De(Q, E, j), xe = Z !== null && Z !== ve;
2232
- (xe || Z === null) && (Ce(), ve = Z, ke()), Mt(Q, j);
2233
- var ye = T(q);
2234
- if (Z === A && $ && !V.copySortSource) {
2228
+ h.preventDefault();
2229
+ var E = _("clientX", h) || 0, N = _("clientY", h) || 0;
2230
+ H.style.left = E - 2 + "px", H.style.top = N - 2 + "px";
2231
+ var q = A || J, Q = x(H, E, N), Z = De(Q, E, N), xe = Z !== null && Z !== ve;
2232
+ (xe || Z === null) && (Ce(), ve = Z, ke()), Mt(Q, N);
2233
+ var ye = w(q);
2234
+ if (Z === W && A && !V.copySortSource) {
2235
2235
  ye && ye.removeChild(q);
2236
2236
  return;
2237
2237
  }
2238
2238
  var be, Be = ut(Z, Q);
2239
2239
  if (ne = at(Be, Z), Be !== null)
2240
- be = ct(Z, Be, E, j);
2241
- else if (V.revertOnSpill === !0 && !$)
2242
- be = I, Z = A;
2240
+ be = ct(Z, Be, E, N);
2241
+ else if (V.revertOnSpill === !0 && !A)
2242
+ be = I, Z = W;
2243
2243
  else {
2244
- $ && ye && ye.removeChild(q), $ && Y && (Y.style.display = "none");
2244
+ A && ye && ye.removeChild(q), A && X && (X.style.display = "none");
2245
2245
  return;
2246
2246
  }
2247
- Y.style.display = "block", ht(be, q, xe), be ? kt(Be, be) : Ft(Z);
2247
+ X.style.display = "block", ht(be, q, xe), be ? kt(Be, be) : Ft(Z);
2248
2248
  function ue(fe) {
2249
- te.emit(fe, q, ve, A);
2249
+ te.emit(fe, q, ve, W);
2250
2250
  }
2251
2251
  function ke() {
2252
2252
  xe && ue("over");
@@ -2255,43 +2255,43 @@ var Oa = { exports: {} };
2255
2255
  ve && ue("out");
2256
2256
  }
2257
2257
  }
2258
- function ht(y, E, j) {
2259
- (y === E || y === S(E)) && (X = S(E)), (y === null && j || y !== E && y !== S(E)) && (X = y);
2258
+ function ht(h, E, N) {
2259
+ (h === E || h === T(E)) && (U = T(E)), (h === null && N || h !== E && h !== T(E)) && (U = h);
2260
2260
  }
2261
- function bt(y) {
2262
- f.rm(y, "gu-hide");
2261
+ function bt(h) {
2262
+ f.rm(h, "gu-hide");
2263
2263
  }
2264
- function Ct(y) {
2265
- te.dragging && f.add(y, "gu-hide");
2264
+ function Ct(h) {
2265
+ te.dragging && f.add(h, "gu-hide");
2266
2266
  }
2267
2267
  function wt() {
2268
- D || (D = document.createElement("div"), D.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", D.innerHTML = V.getMirrorText && V.getMirrorText(U) || "控件", f.add(D, "gu-mirror"), V.mirrorContainer.appendChild(D), u(m, "add", "mousemove", ot), f.add(V.mirrorContainer, "gu-unselectable"), te.emit("cloned", D, U, "mirror"));
2268
+ H || (H = document.createElement("div"), H.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", H.innerHTML = V.getMirrorText && V.getMirrorText(J) || "控件", f.add(H, "gu-mirror"), V.mirrorContainer.appendChild(H), u(m, "add", "mousemove", ot), f.add(V.mirrorContainer, "gu-unselectable"), te.emit("cloned", H, J, "mirror"));
2269
2269
  }
2270
2270
  function xt() {
2271
- if (Y = document.createElement("div"), f.add(Y, "gu-insertion"), U) {
2272
- var y = U.getBoundingClientRect();
2273
- Y.style.left = y.left + "px", Y.style.top = y.top + "px";
2271
+ if (X = document.createElement("div"), f.add(X, "gu-insertion"), J) {
2272
+ var h = J.getBoundingClientRect();
2273
+ X.style.left = h.left + "px", X.style.top = h.top + "px";
2274
2274
  }
2275
- ne = !1, V.mirrorContainer.appendChild(Y);
2275
+ ne = !1, V.mirrorContainer.appendChild(X);
2276
2276
  }
2277
2277
  function Tt() {
2278
- D && (f.rm(V.mirrorContainer, "gu-unselectable"), u(m, "remove", "mousemove", ot), T(D).removeChild(D), D = null);
2278
+ H && (f.rm(V.mirrorContainer, "gu-unselectable"), u(m, "remove", "mousemove", ot), w(H).removeChild(H), H = null);
2279
2279
  }
2280
2280
  function St() {
2281
- Y && (T(Y).removeChild(Y), Y = null);
2281
+ X && (w(X).removeChild(X), X = null);
2282
2282
  }
2283
- function ut(y, E) {
2284
- for (var j = E; j !== y && T(j) !== y; )
2285
- j = T(j);
2286
- return j === m ? null : j;
2283
+ function ut(h, E) {
2284
+ for (var N = E; N !== h && w(N) !== h; )
2285
+ N = w(N);
2286
+ return N === m ? null : N;
2287
2287
  }
2288
- function at(y, E) {
2288
+ function at(h, E) {
2289
2289
  if (!E)
2290
2290
  return ne;
2291
- var j = y || E && E.lastElementChild;
2292
- if (!j)
2291
+ var N = h || E && E.lastElementChild;
2292
+ if (!N)
2293
2293
  return !0;
2294
- var q = getComputedStyle(y), Q = /^inline/.test(q.getPropertyValue("display")) || /^(left|right)$/.test(q.getPropertyValue("float"));
2294
+ var q = getComputedStyle(h), Q = /^inline/.test(q.getPropertyValue("display")) || /^(left|right)$/.test(q.getPropertyValue("float"));
2295
2295
  if (Q)
2296
2296
  return !0;
2297
2297
  if (E) {
@@ -2305,10 +2305,10 @@ var Oa = { exports: {} };
2305
2305
  }
2306
2306
  return !0;
2307
2307
  }
2308
- function Bt(y) {
2309
- if (!y.children || !y.children.length)
2308
+ function Bt(h) {
2309
+ if (!h.children || !h.children.length)
2310
2310
  return !1;
2311
- for (const E of Array.from(y.children)) {
2311
+ for (const E of Array.from(h.children)) {
2312
2312
  const q = (E.className && E.className.split(" ") || []).filter((Q) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Q));
2313
2313
  if (!q.length)
2314
2314
  return !1;
@@ -2320,93 +2320,93 @@ var Oa = { exports: {} };
2320
2320
  }
2321
2321
  return !0;
2322
2322
  }
2323
- function kt(y, E) {
2324
- const j = E.getBoundingClientRect();
2325
- if (Y.style.left = j.left + "px", Y.style.top = j.top + "px", ne) {
2326
- if (Y.style.height = j.height + "px", Y.style.width = "4px", y) {
2327
- const q = y.getBoundingClientRect();
2328
- q.top !== j.top && (Y.style.left = q.right + "px", Y.style.top = q.top + "px", Y.style.height = q.height + "px");
2323
+ function kt(h, E) {
2324
+ const N = E.getBoundingClientRect();
2325
+ if (X.style.left = N.left + "px", X.style.top = N.top + "px", ne) {
2326
+ if (X.style.height = N.height + "px", X.style.width = "4px", h) {
2327
+ const q = h.getBoundingClientRect();
2328
+ q.top !== N.top && (X.style.left = q.right + "px", X.style.top = q.top + "px", X.style.height = q.height + "px");
2329
2329
  }
2330
- } else if (Y.style.height = "4px", Y.style.width = j.width + "px", ee) {
2330
+ } else if (X.style.height = "4px", X.style.width = N.width + "px", ee) {
2331
2331
  const q = ee.getBoundingClientRect();
2332
- j.top < q.top && (Y.style.display = "none");
2332
+ N.top < q.top && (X.style.display = "none");
2333
2333
  }
2334
- E === U && U && (Y.style.display = "none");
2334
+ E === J && J && (X.style.display = "none");
2335
2335
  }
2336
- function Ft(y) {
2337
- X = null;
2338
- var E = y.lastElementChild;
2336
+ function Ft(h) {
2337
+ U = null;
2338
+ var E = h.lastElementChild;
2339
2339
  if (E) {
2340
- var j = E.getBoundingClientRect();
2341
- ne ? (Y.style.left = j.right + "px", Y.style.top = j.top + "px", Y.style.height = j.height + "px", Y.style.width = "4px") : (Y.style.left = j.left + "px", Y.style.top = j.bottom + "px", Y.style.height = "4px", Y.style.width = j.width + "px"), E === U && U && (Y.style.display = "none");
2340
+ var N = E.getBoundingClientRect();
2341
+ ne ? (X.style.left = N.right + "px", X.style.top = N.top + "px", X.style.height = N.height + "px", X.style.width = "4px") : (X.style.left = N.left + "px", X.style.top = N.bottom + "px", X.style.height = "4px", X.style.width = N.width + "px"), E === J && J && (X.style.display = "none");
2342
2342
  } else
2343
- Y.style.display = "none";
2343
+ X.style.display = "none";
2344
2344
  }
2345
- function Mt(y, E) {
2346
- if (!V.mirrorContainer.contains(y) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ee = p(y), !ee || !ee.contains(y)))
2345
+ function Mt(h, E) {
2346
+ if (!V.mirrorContainer.contains(h) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ee = p(h), !ee || !ee.contains(h)))
2347
2347
  return;
2348
- const j = document.querySelector(".dgComponentSelected"), q = ee.getBoundingClientRect();
2348
+ const N = document.querySelector(".dgComponentSelected"), q = ee.getBoundingClientRect();
2349
2349
  if (E - 30 < q.top && ee.scrollTop > 0) {
2350
2350
  let Q = ee.scrollTop < 10 ? ee.scrollTop : 10;
2351
- ee.scrollBy(0, -1 * Q), j && ee.contains(j) && (le = le + -1 * Q);
2351
+ ee.scrollBy(0, -1 * Q), N && ee.contains(N) && (le = le + -1 * Q);
2352
2352
  }
2353
2353
  if (E + 30 > q.bottom && ee.scrollTop < ee.scrollHeight - ee.clientHeight) {
2354
2354
  const Q = ee.scrollHeight - ee.clientHeight - ee.scrollTop;
2355
2355
  let Z = Q < 10 ? Q : 10;
2356
- ee.scrollBy(0, Z), j && ee.contains(j) && (le = le + Z);
2356
+ ee.scrollBy(0, Z), N && ee.contains(N) && (le = le + Z);
2357
2357
  }
2358
2358
  }
2359
- function ct(y, E, j, q) {
2360
- var Q = V.direction === "horizontal", Z = V.direction === "mixed", xe = E !== y ? be() : ye();
2359
+ function ct(h, E, N, q) {
2360
+ var Q = V.direction === "horizontal", Z = V.direction === "mixed", xe = E !== h ? be() : ye();
2361
2361
  return xe;
2362
2362
  function ye() {
2363
- var ue = y.children.length, ke, Ce, fe;
2363
+ var ue = h.children.length, ke, Ce, fe;
2364
2364
  for (ke = 0; ke < ue; ke++)
2365
- if (Ce = y.children[ke], fe = Ce.getBoundingClientRect(), Q && fe.left + fe.width / 2 > j || !Z && !Q && fe.top + fe.height / 2 > q || Z && fe.left + fe.width > j && fe.top + fe.height > q)
2365
+ if (Ce = h.children[ke], fe = Ce.getBoundingClientRect(), Q && fe.left + fe.width / 2 > N || !Z && !Q && fe.top + fe.height / 2 > q || Z && fe.left + fe.width > N && fe.top + fe.height > q)
2366
2366
  return Ce;
2367
2367
  return null;
2368
2368
  }
2369
2369
  function be() {
2370
2370
  var ue = E.getBoundingClientRect();
2371
2371
  if (Z) {
2372
- var ke = q - ue.top, Ce = j - ue.left, fe = ue.bottom - q, it = ue.right - j, rt = Math.min(Ce, it, ke, fe), lt;
2372
+ var ke = q - ue.top, Ce = N - ue.left, fe = ue.bottom - q, it = ue.right - N, rt = Math.min(Ce, it, ke, fe), lt;
2373
2373
  return ne ? lt = it < Ce : lt = fe === rt || it === rt || Ce === rt, Be(lt);
2374
2374
  }
2375
- return Be(Q ? j > ue.left + L(ue) / 2 : q > ue.top + P(ue) / 2);
2375
+ return Be(Q ? N > ue.left + L(ue) / 2 : q > ue.top + P(ue) / 2);
2376
2376
  }
2377
2377
  function Be(ue) {
2378
- return ue ? S(E) : E;
2378
+ return ue ? T(E) : E;
2379
2379
  }
2380
2380
  }
2381
- function Et(y, E) {
2382
- return typeof V.copy == "boolean" ? V.copy : V.copy(y, E);
2381
+ function Et(h, E) {
2382
+ return typeof V.copy == "boolean" ? V.copy : V.copy(h, E);
2383
2383
  }
2384
2384
  }
2385
2385
  function p(g) {
2386
2386
  const z = Array.from(window.scrollContainerList);
2387
2387
  if (z.length === 1) {
2388
- const D = Array.from(window.scrollContainerList)[0];
2389
- return document.getElementById(D);
2388
+ const H = Array.from(window.scrollContainerList)[0];
2389
+ return document.getElementById(H);
2390
2390
  }
2391
- const W = c(z);
2392
- for (const D of W)
2393
- if (D.contains(g))
2394
- return D;
2391
+ const j = c(z);
2392
+ for (const H of j)
2393
+ if (H.contains(g))
2394
+ return H;
2395
2395
  return null;
2396
2396
  }
2397
2397
  function c(g) {
2398
2398
  const z = [];
2399
- return g.forEach((W) => {
2400
- const D = document.getElementById(W);
2401
- D && z.push(D);
2402
- }), z.sort((W, D) => W.contains(D) ? 1 : D.contains(W) ? -1 : 0), z;
2399
+ return g.forEach((j) => {
2400
+ const H = document.getElementById(j);
2401
+ H && z.push(H);
2402
+ }), z.sort((j, H) => j.contains(H) ? 1 : H.contains(j) ? -1 : 0), z;
2403
2403
  }
2404
- function u(g, z, W, D) {
2405
- var A = {
2404
+ function u(g, z, j, H) {
2405
+ var W = {
2406
2406
  mouseup: "touchend",
2407
2407
  mousedown: "touchstart",
2408
2408
  mousemove: "touchmove"
2409
- }, U = {
2409
+ }, J = {
2410
2410
  mouseup: "pointerup",
2411
2411
  mousedown: "pointerdown",
2412
2412
  mousemove: "pointermove"
@@ -2415,7 +2415,7 @@ var Oa = { exports: {} };
2415
2415
  mousedown: "MSPointerDown",
2416
2416
  mousemove: "MSPointerMove"
2417
2417
  };
2418
- i.navigator.pointerEnabled ? s[z](g, U[W], D) : i.navigator.msPointerEnabled ? s[z](g, oe[W], D) : (s[z](g, A[W], D), s[z](g, W, D));
2418
+ i.navigator.pointerEnabled ? s[z](g, J[j], H) : i.navigator.msPointerEnabled ? s[z](g, oe[j], H) : (s[z](g, W[j], H), s[z](g, j, H));
2419
2419
  }
2420
2420
  function v(g) {
2421
2421
  if (g.touches !== void 0)
@@ -2428,15 +2428,15 @@ var Oa = { exports: {} };
2428
2428
  if (z !== void 0)
2429
2429
  return z & 1 ? 1 : z & 2 ? 3 : z & 4 ? 2 : 0;
2430
2430
  }
2431
- function x(g, z, W) {
2431
+ function x(g, z, j) {
2432
2432
  g = g || {};
2433
- var D = g.className || "", A;
2434
- return g.className += " gu-hide", A = l.elementFromPoint(z, W), g.className = D, A;
2433
+ var H = g.className || "", W;
2434
+ return g.className += " gu-hide", W = l.elementFromPoint(z, j), g.className = H, W;
2435
2435
  }
2436
2436
  function k() {
2437
2437
  return !1;
2438
2438
  }
2439
- function M() {
2439
+ function F() {
2440
2440
  return !0;
2441
2441
  }
2442
2442
  function L(g) {
@@ -2445,36 +2445,36 @@ var Oa = { exports: {} };
2445
2445
  function P(g) {
2446
2446
  return g.height || g.bottom - g.top;
2447
2447
  }
2448
- function T(g) {
2448
+ function w(g) {
2449
2449
  return g.parentNode === l ? null : g.parentNode;
2450
2450
  }
2451
- function b(g) {
2452
- return g.tagName === "INPUT" || g.tagName === "TEXTAREA" || g.tagName === "SELECT" || w(g);
2453
- }
2454
- function w(g) {
2455
- return !g || g.contentEditable === "false" ? !1 : g.contentEditable === "true" ? !0 : w(T(g));
2451
+ function y(g) {
2452
+ return g.tagName === "INPUT" || g.tagName === "TEXTAREA" || g.tagName === "SELECT" || S(g);
2456
2453
  }
2457
2454
  function S(g) {
2455
+ return !g || g.contentEditable === "false" ? !1 : g.contentEditable === "true" ? !0 : S(w(g));
2456
+ }
2457
+ function T(g) {
2458
2458
  return g.nextElementSibling || z();
2459
2459
  function z() {
2460
- var W = g;
2460
+ var j = g;
2461
2461
  do
2462
- W = W.nextSibling;
2463
- while (W && W.nodeType !== 1);
2464
- return W;
2462
+ j = j.nextSibling;
2463
+ while (j && j.nodeType !== 1);
2464
+ return j;
2465
2465
  }
2466
2466
  }
2467
- function F(g) {
2467
+ function M(g) {
2468
2468
  return g.targetTouches && g.targetTouches.length ? g.targetTouches[0] : g.changedTouches && g.changedTouches.length ? g.changedTouches[0] : g;
2469
2469
  }
2470
2470
  function _(g, z) {
2471
- var W = F(z), D = {
2471
+ var j = M(z), H = {
2472
2472
  pageX: "clientX",
2473
2473
  // IE8
2474
2474
  pageY: "clientY"
2475
2475
  // IE8
2476
2476
  };
2477
- return g in D && !(g in W) && D[g] in W && (g = D[g]), W[g];
2477
+ return g in H && !(g in j) && H[g] in j && (g = H[g]), j[g];
2478
2478
  }
2479
2479
  o.exports = d;
2480
2480
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2537,62 +2537,62 @@ var Oa = { exports: {} };
2537
2537
  remove: m,
2538
2538
  fabricate: x
2539
2539
  };
2540
- function p(T, b, w, S) {
2541
- return T.addEventListener(b, w, S);
2540
+ function p(w, y, S, T) {
2541
+ return w.addEventListener(y, S, T);
2542
2542
  }
2543
- function c(T, b, w) {
2544
- return T.attachEvent("on" + b, M(T, b, w));
2543
+ function c(w, y, S) {
2544
+ return w.attachEvent("on" + y, F(w, y, S));
2545
2545
  }
2546
- function u(T, b, w, S) {
2547
- return T.removeEventListener(b, w, S);
2546
+ function u(w, y, S, T) {
2547
+ return w.removeEventListener(y, S, T);
2548
2548
  }
2549
- function v(T, b, w) {
2550
- var S = L(T, b, w);
2551
- if (S)
2552
- return T.detachEvent("on" + b, S);
2549
+ function v(w, y, S) {
2550
+ var T = L(w, y, S);
2551
+ if (T)
2552
+ return w.detachEvent("on" + y, T);
2553
2553
  }
2554
- function x(T, b, w) {
2555
- var S = s.indexOf(b) === -1 ? _() : F();
2556
- T.dispatchEvent ? T.dispatchEvent(S) : T.fireEvent("on" + b, S);
2557
- function F() {
2554
+ function x(w, y, S) {
2555
+ var T = s.indexOf(y) === -1 ? _() : M();
2556
+ w.dispatchEvent ? w.dispatchEvent(T) : w.fireEvent("on" + y, T);
2557
+ function M() {
2558
2558
  var g;
2559
- return f.createEvent ? (g = f.createEvent("Event"), g.initEvent(b, !0, !0)) : f.createEventObject && (g = f.createEventObject()), g;
2559
+ return f.createEvent ? (g = f.createEvent("Event"), g.initEvent(y, !0, !0)) : f.createEventObject && (g = f.createEventObject()), g;
2560
2560
  }
2561
2561
  function _() {
2562
- return new r(b, { detail: w });
2562
+ return new r(y, { detail: S });
2563
2563
  }
2564
2564
  }
2565
- function k(T, b, w) {
2566
- return function(F) {
2567
- var _ = F || i.event;
2565
+ function k(w, y, S) {
2566
+ return function(M) {
2567
+ var _ = M || i.event;
2568
2568
  _.target = _.target || _.srcElement, _.preventDefault = _.preventDefault || function() {
2569
2569
  _.returnValue = !1;
2570
2570
  }, _.stopPropagation = _.stopPropagation || function() {
2571
2571
  _.cancelBubble = !0;
2572
- }, _.which = _.which || _.keyCode, w.call(T, _);
2572
+ }, _.which = _.which || _.keyCode, S.call(w, _);
2573
2573
  };
2574
2574
  }
2575
- function M(T, b, w) {
2576
- var S = L(T, b, w) || k(T, b, w);
2575
+ function F(w, y, S) {
2576
+ var T = L(w, y, S) || k(w, y, S);
2577
2577
  return d.push({
2578
- wrapper: S,
2579
- element: T,
2580
- type: b,
2581
- fn: w
2582
- }), S;
2578
+ wrapper: T,
2579
+ element: w,
2580
+ type: y,
2581
+ fn: S
2582
+ }), T;
2583
2583
  }
2584
- function L(T, b, w) {
2585
- var S = P(T, b, w);
2586
- if (S) {
2587
- var F = d[S].wrapper;
2588
- return d.splice(S, 1), F;
2584
+ function L(w, y, S) {
2585
+ var T = P(w, y, S);
2586
+ if (T) {
2587
+ var M = d[T].wrapper;
2588
+ return d.splice(T, 1), M;
2589
2589
  }
2590
2590
  }
2591
- function P(T, b, w) {
2592
- var S, F;
2593
- for (S = 0; S < d.length; S++)
2594
- if (F = d[S], F.element === T && F.type === b && F.fn === w)
2595
- return S;
2591
+ function P(w, y, S) {
2592
+ var T, M;
2593
+ for (T = 0; T < d.length; T++)
2594
+ if (M = d[T], M.element === w && M.type === y && M.fn === S)
2595
+ return T;
2596
2596
  }
2597
2597
  }).call(this, typeof je < "u" ? je : typeof self < "u" ? self : typeof window < "u" ? window : {});
2598
2598
  }, { "./eventmap": 7, "custom-event": 8 }],
@@ -2688,25 +2688,25 @@ var Oa = { exports: {} };
2688
2688
  if (!c) {
2689
2689
  var P = m(x);
2690
2690
  c = !0;
2691
- for (var T = p.length; T; ) {
2692
- for (u = p, p = []; ++v < T; )
2691
+ for (var w = p.length; w; ) {
2692
+ for (u = p, p = []; ++v < w; )
2693
2693
  u && u[v].run();
2694
- v = -1, T = p.length;
2694
+ v = -1, w = p.length;
2695
2695
  }
2696
2696
  u = null, c = !1, d(P);
2697
2697
  }
2698
2698
  }
2699
2699
  i.nextTick = function(P) {
2700
- var T = new Array(arguments.length - 1);
2700
+ var w = new Array(arguments.length - 1);
2701
2701
  if (arguments.length > 1)
2702
- for (var b = 1; b < arguments.length; b++)
2703
- T[b - 1] = arguments[b];
2704
- p.push(new M(P, T)), p.length === 1 && !c && m(k);
2702
+ for (var y = 1; y < arguments.length; y++)
2703
+ w[y - 1] = arguments[y];
2704
+ p.push(new F(P, w)), p.length === 1 && !c && m(k);
2705
2705
  };
2706
- function M(P, T) {
2707
- this.fun = P, this.array = T;
2706
+ function F(P, w) {
2707
+ this.fun = P, this.array = w;
2708
2708
  }
2709
- M.prototype.run = function() {
2709
+ F.prototype.run = function() {
2710
2710
  this.fun.apply(null, this.array);
2711
2711
  }, i.title = "browser", i.browser = !0, i.env = {}, i.argv = [], i.version = "", i.versions = {};
2712
2712
  function L() {
@@ -2797,19 +2797,19 @@ const Ra = {
2797
2797
  const {
2798
2798
  locale: n,
2799
2799
  t: o
2800
- } = Dt(), a = h(e.animate), i = "fadeOut", r = O(() => e.options), s = h(!1), f = O(() => r.value.title && r.value.message), l = O(() => !r.value.title && r.value.message), m = O(() => {
2800
+ } = Dt(), a = b(e.animate), i = "fadeOut", r = R(() => e.options), s = b(!1), f = R(() => r.value.title && r.value.message), l = R(() => !r.value.title && r.value.message), m = R(() => {
2801
2801
  const P = {
2802
2802
  animated: s.value,
2803
2803
  toast: !0,
2804
2804
  "toast--only-content": l.value
2805
2805
  };
2806
2806
  return P[e.animate] = !1, P[i] = s.value, P["toasty-type-" + r.value.type] = !0, r.value.theme && (P[r.value.theme] = !0), P;
2807
- }), d = O(() => {
2808
- const b = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, w = {
2807
+ }), d = R(() => {
2808
+ const y = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, S = {
2809
2809
  "f-icon": !0
2810
2810
  };
2811
- return w[b] = !0, w;
2812
- }), p = O(() => r.value.title || r.value.message), c = O(() => e.showCloseButton), u = O(() => !!r.value.buttons || !!t.slots.default), v = O(() => n.value === "en" ? {
2811
+ return S[y] = !0, S;
2812
+ }), p = R(() => r.value.title || r.value.message), c = R(() => e.showCloseButton), u = R(() => !!r.value.buttons || !!t.slots.default), v = R(() => n.value === "en" ? {
2813
2813
  wordBreak: "keep-all",
2814
2814
  overflowWrap: "break-word"
2815
2815
  } : {});
@@ -2818,9 +2818,9 @@ const Ra = {
2818
2818
  t.emit("close", r.value);
2819
2819
  }, 200);
2820
2820
  }
2821
- function k(P, T) {
2821
+ function k(P, w) {
2822
2822
  }
2823
- function M(P) {
2823
+ function F(P) {
2824
2824
  return `f-preten-link ${P.customClass ? P.customClass : ""}`;
2825
2825
  }
2826
2826
  me(a, () => {
@@ -2830,10 +2830,10 @@ const Ra = {
2830
2830
  var P;
2831
2831
  return C(Xe, null, [C("div", {
2832
2832
  class: "after-toast-msg text-right"
2833
- }, [!t.slots.default && ((P = r.value.buttons) == null ? void 0 : P.map((T) => C("span", {
2834
- class: M(T),
2835
- onClick: (b) => void 0
2836
- }, [T.text]))), t.slots.default && t.slots.default()])]);
2833
+ }, [!t.slots.default && ((P = r.value.buttons) == null ? void 0 : P.map((w) => C("span", {
2834
+ class: F(w),
2835
+ onClick: (y) => void 0
2836
+ }, [w.text]))), t.slots.default && t.slots.default()])]);
2837
2837
  };
2838
2838
  return () => C("div", {
2839
2839
  class: m.value,
@@ -2878,14 +2878,14 @@ const Ra = {
2878
2878
  props: Ra,
2879
2879
  emits: ["close", "empty"],
2880
2880
  setup(e, t) {
2881
- const n = O(() => ({
2881
+ const n = R(() => ({
2882
2882
  "farris-notify": !0
2883
2883
  })), o = {
2884
2884
  left: 12,
2885
2885
  right: 12,
2886
2886
  top: 20,
2887
2887
  bottom: 12
2888
- }, a = h(), i = h(e.options), r = h(e.showCloseButton), s = O(() => e.position || "bottom-right"), f = O(() => e.timeout != null ? e.timeout : 3e3), l = O(() => {
2888
+ }, a = b(), i = b(e.options), r = b(e.showCloseButton), s = R(() => e.position || "bottom-right"), f = R(() => e.timeout != null ? e.timeout : 3e3), l = R(() => {
2889
2889
  const p = e.bottom ? e.bottom : o.bottom, c = e.top ? e.top : o.top, u = {
2890
2890
  transition: "all 0.2s ease",
2891
2891
  left: s.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -2944,7 +2944,7 @@ class Da {
2944
2944
  const r = Pt({
2945
2945
  setup() {
2946
2946
  var l;
2947
- const s = h();
2947
+ const s = b();
2948
2948
  function f() {
2949
2949
  s.value.container.style.transform = "scale(0)", setTimeout(() => {
2950
2950
  n.updateNotifyPositionForClose(a, s), r.unmount();
@@ -3199,19 +3199,19 @@ function Ha(e, t, n, o, a, i, r, s, f, l, m, d, p, c, u, v, x) {
3199
3199
  const {
3200
3200
  calculateCellPositionInRow: k
3201
3201
  } = i, {
3202
- columnContext: M,
3202
+ columnContext: F,
3203
3203
  hasLeftFixedColumn: L,
3204
3204
  hasRightFixedColumn: P
3205
3205
  } = r, {
3206
- gridDataStyle: T,
3207
- leftFixedGridDataStyle: b,
3208
- rightFixedGridDataStyle: w
3206
+ gridDataStyle: w,
3207
+ leftFixedGridDataStyle: y,
3208
+ rightFixedGridDataStyle: S
3209
3209
  } = c, {
3210
- renderDataRow: S
3211
- } = zn(e, t, M, x, s, f, l, m, d, p, c, u, v), F = [S];
3212
- function _(A, U) {
3213
- const oe = k(A);
3214
- return x.value.filter((N) => N.visible !== !1).map((N, I) => F[N.type](N, oe, U, I));
3210
+ renderDataRow: T
3211
+ } = zn(e, t, F, x, s, f, l, m, d, p, c, u, v), M = [T];
3212
+ function _(W, J) {
3213
+ const oe = k(W);
3214
+ return x.value.filter((D) => D.visible !== !1).map((D, I) => M[D.type](D, oe, J, I));
3215
3215
  }
3216
3216
  function g() {
3217
3217
  return C("div", {
@@ -3219,8 +3219,8 @@ function Ha(e, t, n, o, a, i, r, s, f, l, m, d, p, c, u, v, x) {
3219
3219
  class: "fv-grid-content-left-fixed"
3220
3220
  }, [C("div", {
3221
3221
  class: "fv-grid-data",
3222
- style: b.value
3223
- }, [_(M.value.leftColumns.filter((A) => A.visible), "left")])]);
3222
+ style: y.value
3223
+ }, [_(F.value.leftColumns.filter((W) => W.visible), "left")])]);
3224
3224
  }
3225
3225
  function z() {
3226
3226
  return C("div", {
@@ -3228,68 +3228,68 @@ function Ha(e, t, n, o, a, i, r, s, f, l, m, d, p, c, u, v, x) {
3228
3228
  class: "fv-grid-content-primary"
3229
3229
  }, [C("div", {
3230
3230
  class: "fv-grid-data",
3231
- style: T.value
3232
- }, [_(M.value.primaryColumns.filter((A) => A.visible), "primary")])]);
3231
+ style: w.value
3232
+ }, [_(F.value.primaryColumns.filter((W) => W.visible), "primary")])]);
3233
3233
  }
3234
- function W() {
3234
+ function j() {
3235
3235
  return C("div", {
3236
3236
  ref: a,
3237
3237
  class: "fv-grid-content-right-fixed"
3238
3238
  }, [C("div", {
3239
3239
  class: "fv-grid-data",
3240
- style: w.value
3241
- }, [_(M.value.rightColumns.filter((A) => A.visible), "right")])]);
3240
+ style: S.value
3241
+ }, [_(F.value.rightColumns.filter((W) => W.visible), "right")])]);
3242
3242
  }
3243
- function D() {
3244
- const A = [];
3245
- return L.value && A.push(g()), A.push(z()), P.value && A.push(W()), A;
3243
+ function H() {
3244
+ const W = [];
3245
+ return L.value && W.push(g()), W.push(z()), P.value && W.push(j()), W;
3246
3246
  }
3247
3247
  return {
3248
- renderDataArea: D
3248
+ renderDataArea: H
3249
3249
  };
3250
3250
  }
3251
- const La = /* @__PURE__ */ Ye({
3251
+ const $a = /* @__PURE__ */ Ye({
3252
3252
  name: "FTreeGrid",
3253
3253
  props: ja,
3254
3254
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode", "doubleClickRow", "unSelectItem", "selectItem", "filterChanged", "sortChanged"],
3255
3255
  setup(e, t) {
3256
- var Ht, Lt;
3257
- const o = ((Ht = e.rowOption) == null ? void 0 : Ht.height) || 28, a = h(20), i = h(e.columns), r = An(e), {
3256
+ var Ht, $t;
3257
+ const o = ((Ht = e.rowOption) == null ? void 0 : Ht.height) || 28, a = b(20), i = b(e.columns), r = An(e), {
3258
3258
  idField: s
3259
- } = r, f = h(), l = h(), m = h(), d = h(), p = h(), c = h([]), u = h(!1), v = h(((Lt = e.rowOption) == null ? void 0 : Lt.wrapContent) || !1), x = Vn(e, r), k = _n(e, t), M = Wn(e), {
3259
+ } = r, f = b(), l = b(), m = b(), d = b(), p = b(), c = b([]), u = b(!1), v = b((($t = e.rowOption) == null ? void 0 : $t.wrapContent) || !1), x = Vn(e, r), k = _n(e, t), F = Wn(e), {
3260
3260
  collapseField: L
3261
- } = M, {
3261
+ } = F, {
3262
3262
  showLoading: P,
3263
- renderLoading: T
3264
- } = qn(e, f), b = Gn(e, /* @__PURE__ */ new Map(), k, M, r), {
3265
- dataView: w
3266
- } = b, S = Un(e, b, r, c, t), {
3267
- showSelection: F,
3263
+ renderLoading: w
3264
+ } = qn(e, f), y = Gn(e, /* @__PURE__ */ new Map(), k, F, r), {
3265
+ dataView: S
3266
+ } = y, T = Un(e, y, r, c, t), {
3267
+ showSelection: M,
3268
3268
  selectedValues: _
3269
- } = S, g = Xn(e, c, b, r, S, t), z = O(() => e.disabled), W = O(() => e.virtualized ? Math.min(b.dataView.value.length, a.value) : b.dataView.value.length), D = Yn(e, b), {
3270
- shouldRenderPagination: A
3271
- } = D, {
3272
- containerStyleObject: U
3269
+ } = T, g = Xn(e, c, y, r, T, t), z = R(() => e.disabled), j = R(() => e.virtualized ? Math.min(y.dataView.value.length, a.value) : y.dataView.value.length), H = Yn(e, y), {
3270
+ shouldRenderPagination: W
3271
+ } = H, {
3272
+ containerStyleObject: J
3273
3273
  } = Jn(e), oe = Qn(e), {
3274
- applyCommands: N
3274
+ applyCommands: D
3275
3275
  } = oe;
3276
- N(i);
3276
+ D(i);
3277
3277
  const {
3278
3278
  applyColumnSetting: I,
3279
- removeColumnSetting: X
3279
+ removeColumnSetting: U
3280
3280
  } = Zn(e);
3281
3281
  e.showSetting && I(i);
3282
- const $ = Kn(e, t), K = eo(e), {
3282
+ const A = Kn(e, t), K = eo(e), {
3283
3283
  applyColumnSorter: ve,
3284
3284
  columnContext: ge,
3285
- updateColumnRenderContext: Y
3286
- } = $;
3287
- ve(b, K);
3288
- const ne = to(e, ge), le = no(e, t, S, r), ee = oo(e, t, r, le, c), V = ao(e), te = io(e, ee, V), Le = ro(e, b, ee, M, r, V, te), Ee = lo(e, i, b, W, 0, Le), {
3285
+ updateColumnRenderContext: X
3286
+ } = A;
3287
+ ve(y, K);
3288
+ const ne = to(e, ge), le = no(e, t, T, r), ee = oo(e, t, r, le, c), V = ao(e), te = io(e, ee, V), $e = ro(e, y, ee, F, r, V, te), Ee = lo(e, i, y, j, 0, $e), {
3289
3289
  getVisualData: Te
3290
- } = Ee, Je = so(e, ge), $e = uo(e, S), {
3290
+ } = Ee, Je = so(e, ge), Le = uo(e, T), {
3291
3291
  sidebarWidth: ze
3292
- } = $e, se = co(e, b, c, ge, Ee, W, 0, ze), {
3292
+ } = Le, se = co(e, y, c, ge, Ee, j, 0, ze), {
3293
3293
  onWheel: tt,
3294
3294
  dataGridWidth: Se,
3295
3295
  viewPortHeight: Ie,
@@ -3298,27 +3298,27 @@ const La = /* @__PURE__ */ Ye({
3298
3298
  updateVisibleRowsOnLatestVisibleScope: nt
3299
3299
  } = se, Ae = fo(e, ge, l, Oe, ne), {
3300
3300
  calculateColumnsSize: Me
3301
- } = Ae, Pe = po(), Qe = mo(l, p, b, Pe, se), B = vo(e, t, $, b, ne, x, se), J = O(() => {
3302
- const H = {
3301
+ } = Ae, Pe = po(), Qe = mo(l, p, y, Pe, se), B = vo(e, t, A, y, ne, x, se), Y = R(() => {
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 Hn(H, e.customClass);
3309
- }), ie = O(() => ({
3308
+ return Hn($, e.customClass);
3309
+ }), ie = R(() => ({
3310
3310
  "fv-grid-content": !0,
3311
3311
  "fv-grid-content-hover": u.value,
3312
3312
  "fv-grid-wrap-content": v.value
3313
3313
  })), {
3314
3314
  renderDataArea: re
3315
- } = Ha(e, t, m, d, p, Je, $, b, ee, M, le, S, g, se, Ee, V, c), {
3315
+ } = Ha(e, t, m, d, p, Je, A, y, ee, F, le, T, g, se, Ee, V, c), {
3316
3316
  renderGridHeader: De,
3317
3317
  renderGridColumnResizeOverlay: ot,
3318
3318
  shouldShowHeader: ht
3319
- } = go(e, t, l, d, p, $, b, B, Qe, k, Pe, Ae, ne, S, $e, K, se, Oe, c), {
3319
+ } = go(e, t, l, d, p, A, y, B, Qe, k, Pe, Ae, ne, T, Le, K, se, Oe, c), {
3320
3320
  renderDataGridSidebar: bt
3321
- } = yo(e, le, S, $e, se), {
3321
+ } = yo(e, le, T, Le, se), {
3322
3322
  renderDisableMask: Ct
3323
3323
  } = ho(), {
3324
3324
  renderHorizontalScrollbar: wt
@@ -3326,97 +3326,97 @@ const La = /* @__PURE__ */ Ye({
3326
3326
  renderVerticalScrollbar: xt
3327
3327
  } = Co(e, l, se);
3328
3328
  function Tt() {
3329
- var H, G, ce;
3330
- if (l.value && l.value.clientHeight > 0 && ((H = l.value) == null ? void 0 : H.clientWidth) > 0) {
3329
+ var $, G, ce;
3330
+ if (l.value && l.value.clientHeight > 0 && (($ = l.value) == null ? void 0 : $.clientWidth) > 0) {
3331
3331
  const pe = Math.ceil(l.value.clientHeight / o);
3332
3332
  pe > a.value && (a.value = pe, nt()), Ie.value = ((G = m.value) == null ? void 0 : G.clientHeight) || 0, Se.value = ((ce = l.value) == null ? void 0 : ce.clientWidth) || 0, Me();
3333
3333
  }
3334
3334
  }
3335
3335
  et(() => {
3336
- l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / o), a.value), c.value = Te(0, W.value + 0 - 1), $n(l.value, Tt), Me(), Ke(() => {
3336
+ l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / o), a.value), c.value = Te(0, j.value + 0 - 1), Ln(l.value, Tt), Me(), Ke(() => {
3337
3337
  l.value && (Se.value = l.value.clientWidth), m.value && (Oe.value = m.value.clientWidth, Ie.value = m.value.clientHeight);
3338
- })), P.value && T();
3338
+ })), P.value && w();
3339
3339
  }), st(() => {
3340
3340
  }), me(Oe, () => {
3341
3341
  l.value && Me();
3342
3342
  });
3343
- function St(H) {
3344
- b.collapseTo(H), b.reOrderVisibleIndex(), Re();
3343
+ function St($) {
3344
+ y.collapseTo($), y.reOrderVisibleIndex(), Re();
3345
3345
  }
3346
- function ut(H) {
3347
- b.expandTo(H), b.reOrderVisibleIndex(), Re();
3346
+ function ut($) {
3347
+ y.expandTo($), y.reOrderVisibleIndex(), Re();
3348
3348
  }
3349
3349
  function at() {
3350
- const H = S.getSelectionRow();
3351
- return H ? H.dataIndex - 1 : -1;
3350
+ const $ = T.getSelectionRow();
3351
+ return $ ? $.dataIndex - 1 : -1;
3352
3352
  }
3353
3353
  function Bt() {
3354
- const H = at();
3355
- b.insertNewDataItem(H), c.value = Te(0, W.value + 0 - 1);
3354
+ const $ = at();
3355
+ y.insertNewDataItem($), c.value = Te(0, j.value + 0 - 1);
3356
3356
  }
3357
3357
  function kt() {
3358
- const H = at();
3359
- b.insertNewChildDataItem(H), c.value = Te(0, W.value + 0 - 1);
3358
+ const $ = at();
3359
+ y.insertNewChildDataItem($), c.value = Te(0, j.value + 0 - 1);
3360
3360
  }
3361
- function Ft(H, G) {
3361
+ function Ft($, G) {
3362
3362
  const ce = c.value.find((we) => we.raw[s.value] === G), pe = ce ? ce.dataIndex - 1 : -1;
3363
- b.insertNewChildDataItems(H, pe);
3363
+ y.insertNewChildDataItems($, pe);
3364
3364
  }
3365
3365
  function Mt() {
3366
- const H = at(), G = g.getNextSelectableHierarchyItemId(H);
3367
- b.removeHierarchyDataItem(H), c.value = Te(0, W.value + 0 - 1), G && S.selectItemById(G);
3366
+ const $ = at(), G = g.getNextSelectableHierarchyItemId($);
3367
+ y.removeHierarchyDataItem($), c.value = Te(0, j.value + 0 - 1), G && T.selectItemById(G);
3368
3368
  }
3369
- function ct(H) {
3370
- ee.onEditingRow(H);
3369
+ function ct($) {
3370
+ ee.onEditingRow($);
3371
3371
  }
3372
- function Et(H) {
3373
- ee.acceptEditingRow(H);
3372
+ function Et($) {
3373
+ ee.acceptEditingRow($);
3374
3374
  }
3375
- function y(H) {
3376
- ee.cancelEditingRow(H);
3375
+ function h($) {
3376
+ ee.cancelEditingRow($);
3377
3377
  }
3378
- function E(H) {
3379
- H && (i.value = H, N(i), Y(i.value), ve(b, K), Me());
3378
+ function E($) {
3379
+ $ && (i.value = $, D(i), X(i.value), ve(y, K), Me());
3380
3380
  }
3381
- me(() => e.columns, (H) => {
3382
- E(H);
3381
+ me(() => e.columns, ($) => {
3382
+ E($);
3383
3383
  });
3384
- function j(H, G) {
3385
- H && (b.load(H), b.reOrderVisibleIndex(), G != null && G.keepScrollPosition ? se.scrollTo(se.offsetY.value) : Re());
3384
+ function N($, G) {
3385
+ $ && (y.load($), y.reOrderVisibleIndex(), G != null && G.keepScrollPosition ? se.scrollTo(se.offsetY.value) : Re());
3386
3386
  }
3387
- function q(H) {
3388
- S.selectItemById(H);
3387
+ function q($) {
3388
+ T.selectItemById($);
3389
3389
  }
3390
- function Q(H) {
3391
- const G = c.value.find((ce) => ce.raw[r.idField.value] === H);
3390
+ function Q($) {
3391
+ const G = c.value.find((ce) => ce.raw[r.idField.value] === $);
3392
3392
  G && le.clickRowItem(G);
3393
3393
  }
3394
- function Z(H) {
3395
- le.activeRowById(H);
3394
+ function Z($) {
3395
+ le.activeRowById($);
3396
3396
  }
3397
- function xe(H) {
3398
- S.selectItemByIds(H);
3397
+ function xe($) {
3398
+ T.selectItemByIds($);
3399
3399
  }
3400
3400
  function ye() {
3401
- return S.getSelectedItems();
3401
+ return T.getSelectedItems();
3402
3402
  }
3403
3403
  function be() {
3404
- S.clearSelection();
3404
+ T.clearSelection();
3405
3405
  }
3406
- const Be = O(() => !c.value || !c.value.length), {
3406
+ const Be = R(() => !c.value || !c.value.length), {
3407
3407
  renderEmpty: ue
3408
3408
  } = wo(e, t);
3409
3409
  function ke() {
3410
- return S.getSelectionRow();
3410
+ return T.getSelectionRow();
3411
3411
  }
3412
- function Ce(H) {
3413
- S.unSelectItemByIds(H);
3412
+ function Ce($) {
3413
+ T.unSelectItemByIds($);
3414
3414
  }
3415
3415
  function fe() {
3416
- return S.currentSelectedDataId.value;
3416
+ return T.currentSelectedDataId.value;
3417
3417
  }
3418
- function it(H, G, ce) {
3419
- const pe = w.value.find((we) => we[s.value] === H);
3418
+ function it($, G, ce) {
3419
+ const pe = S.value.find((we) => we[s.value] === $);
3420
3420
  if (pe) {
3421
3421
  if (Object.keys(pe).forEach((de) => {
3422
3422
  Object.prototype.hasOwnProperty.call(G, de) && (pe[de] = G[de]);
@@ -3429,7 +3429,7 @@ const La = /* @__PURE__ */ Ye({
3429
3429
  } = ce;
3430
3430
  de && !Ne(G[de]) && (pe.__fv_collapse__ = G[de]), _e && !Ne(G[_e]) && (pe.__fv_checked__ = G[_e]), Ve && !Ne(G[Ve]) && (pe.__fv_disabled__ = G[Ve]), We && !Ne(G[We]) && (pe.__fv_visible__ = G[We]);
3431
3431
  }
3432
- const we = c.value.find((de) => de.raw[s.value] === H), $t = c.value.findIndex((de) => de.raw[s.value] === H);
3432
+ const we = c.value.find((de) => de.raw[s.value] === $), Lt = c.value.findIndex((de) => de.raw[s.value] === $);
3433
3433
  if (we) {
3434
3434
  if (we.raw = pe, Object.keys(we.data).forEach((de) => {
3435
3435
  we.data[de].updateData(pe);
@@ -3442,32 +3442,32 @@ const La = /* @__PURE__ */ Ye({
3442
3442
  } = ce;
3443
3443
  de && !Ne(G[de]) && (we.collapse = G[de]), _e && !Ne(G[_e]) && (we.checked = G[_e]), Ve && !Ne(G[Ve]) && (we.disabled = G[Ve]), We && !Ne(G[We]) && (we.visible = G[We]);
3444
3444
  }
3445
- c.value = [...c.value.slice(0, $t), we, ...c.value.slice($t + 1)], b.updateSummary();
3445
+ c.value = [...c.value.slice(0, Lt), we, ...c.value.slice(Lt + 1)], y.updateSummary();
3446
3446
  }
3447
3447
  }
3448
3448
  }
3449
- function rt(H) {
3450
- return Object.prototype.hasOwnProperty.call(H, "raw") ? b.hasRealChildren(H.raw) : b.hasRealChildren(H);
3449
+ function rt($) {
3450
+ return Object.prototype.hasOwnProperty.call($, "raw") ? y.hasRealChildren($.raw) : y.hasRealChildren($);
3451
3451
  }
3452
- function lt(H) {
3453
- const G = b.dataView.value.find((ce) => ce[s.value] === H);
3452
+ function lt($) {
3453
+ const G = y.dataView.value.find((ce) => ce[s.value] === $);
3454
3454
  return G ? G[L.value] : "";
3455
3455
  }
3456
3456
  function mn() {
3457
3457
  return L.value;
3458
3458
  }
3459
- me(() => e.showSetting, (H, G) => {
3460
- H !== G && (H ? I(i) : X(i), E(i.value));
3459
+ me(() => e.showSetting, ($, G) => {
3460
+ $ !== G && ($ ? I(i) : U(i), E(i.value));
3461
3461
  });
3462
- function vn(H) {
3463
- return c.value.filter((G) => H.includes(G.raw[e.idField]));
3462
+ function vn($) {
3463
+ return c.value.filter((G) => $.includes(G.raw[e.idField]));
3464
3464
  }
3465
- function gn(H) {
3466
- const G = r.idField.value, ce = c.value.find((pe) => pe.raw[G] === H);
3465
+ function gn($) {
3466
+ const G = r.idField.value, ce = c.value.find((pe) => pe.raw[G] === $);
3467
3467
  ce && le.selectRow(ce);
3468
3468
  }
3469
3469
  function yn() {
3470
- S.keepSelectingOnPaging.value || be(), b.updateVisibleDataSummary(c.value);
3470
+ T.keepSelectingOnPaging.value || be(), y.updateVisibleDataSummary(c.value);
3471
3471
  }
3472
3472
  t.expose({
3473
3473
  activeRowById: Z,
@@ -3479,9 +3479,9 @@ const La = /* @__PURE__ */ Ye({
3479
3479
  removeDataItem: Mt,
3480
3480
  editDataItem: ct,
3481
3481
  acceptDataItem: Et,
3482
- cancelDataItem: y,
3482
+ cancelDataItem: h,
3483
3483
  updateColumns: E,
3484
- updateDataSource: j,
3484
+ updateDataSource: N,
3485
3485
  selectItemById: q,
3486
3486
  selectItemByIds: xe,
3487
3487
  getSelectedItems: ye,
@@ -3498,28 +3498,28 @@ const La = /* @__PURE__ */ Ye({
3498
3498
  selectRowById: gn,
3499
3499
  updateDerivedData: yn
3500
3500
  });
3501
- const hn = O(() => {
3502
- const H = {};
3503
- return se.shouldShowHorizontalScrollbar.value && (H.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && (H.paddingRight = "10px"), H;
3504
- }), bn = O(() => ({
3505
- ...U.value,
3501
+ const hn = R(() => {
3502
+ const $ = {};
3503
+ return se.shouldShowHorizontalScrollbar.value && ($.paddingBottom = "10px"), se.shouldShowVirticalScrollbar.value && ($.paddingRight = "10px"), $;
3504
+ }), bn = R(() => ({
3505
+ ...J.value,
3506
3506
  borderRadius: "5px"
3507
3507
  }));
3508
- xo(e, t, b, se, D, S);
3509
- const Cn = O(() => ({
3508
+ xo(e, t, y, se, H, T);
3509
+ const Cn = R(() => ({
3510
3510
  "d-flex": !0,
3511
- "justify-content-between": A.value && F.value,
3512
- "justify-content-end": A.value && !F.value,
3511
+ "justify-content-between": W.value && M.value,
3512
+ "justify-content-end": W.value && !M.value,
3513
3513
  "position-relative": !0
3514
- })), wn = O(() => ({
3514
+ })), wn = R(() => ({
3515
3515
  "d-flex": !0,
3516
3516
  "align-items-center": !0
3517
3517
  })), {
3518
3518
  renderDataGridSummary: xn
3519
- } = To(e, b, $);
3519
+ } = To(e, y, A);
3520
3520
  return () => C("div", {
3521
3521
  ref: f,
3522
- class: J.value,
3522
+ class: Y.value,
3523
3523
  style: bn.value,
3524
3524
  onWheel: tt
3525
3525
  }, [l.value && ht.value && De(), C("div", {
@@ -3528,15 +3528,15 @@ const La = /* @__PURE__ */ Ye({
3528
3528
  onMouseover: () => u.value = !0,
3529
3529
  onMouseleave: () => u.value = !1,
3530
3530
  style: hn.value
3531
- }, [l.value && bt(c), l.value && re(), l.value && Be.value && ue(), l.value && wt(), l.value && xt()]), l.value && xn(), F.value && C("div", {
3531
+ }, [l.value && bt(c), l.value && re(), l.value && Be.value && ue(), l.value && wt(), l.value && xt()]), l.value && xn(), M.value && C("div", {
3532
3532
  class: Cn.value
3533
- }, [F.value && C("div", {
3533
+ }, [M.value && C("div", {
3534
3534
  class: wn.value
3535
3535
  }, [C("div", null, ["已选:" + _.value.length, Gt(" 条")])])]), ot(), z.value && Ct()]);
3536
3536
  }
3537
3537
  });
3538
- Xt(La);
3539
- const $a = /* @__PURE__ */ new Map([
3538
+ Xt($a);
3539
+ const La = /* @__PURE__ */ new Map([
3540
3540
  ["appearance", cn]
3541
3541
  ]);
3542
3542
  function za(e, t, n) {
@@ -3673,7 +3673,7 @@ const Aa = "https://json-schema.org/draft/2020-12/schema", Va = "https://farris-
3673
3673
  onClick: { type: Function, default: () => {
3674
3674
  } }
3675
3675
  };
3676
- yt(ei, Xa, $a, za, Ka);
3676
+ yt(ei, Xa, La, za, Ka);
3677
3677
  const ti = "root-viewmodel";
3678
3678
  class ni {
3679
3679
  constructor(t, n) {
@@ -3995,7 +3995,7 @@ function Mi() {
3995
3995
  return { onCopy: e };
3996
3996
  }
3997
3997
  function Ei(e, t, n, o) {
3998
- const a = h(14), i = h(140), r = h(""), s = h(o.value.length), f = O(() => o.value), l = O(() => ({
3998
+ const a = b(14), i = b(140), r = b(""), s = b(o.value.length), f = R(() => o.value), l = R(() => ({
3999
3999
  "font-size": `${a.value}px`,
4000
4000
  height: "100%"
4001
4001
  }));
@@ -4027,9 +4027,9 @@ function Ii(e, t, n, o) {
4027
4027
  return { getEditorRender: r };
4028
4028
  }
4029
4029
  function Oi() {
4030
- const e = h(!1), t = h("复制成功");
4030
+ const e = b(!1), t = b("复制成功");
4031
4031
  return {
4032
- feedbackStyle: O(() => {
4032
+ feedbackStyle: R(() => {
4033
4033
  const o = {
4034
4034
  position: "absolute",
4035
4035
  left: "50%",
@@ -4073,8 +4073,8 @@ function Pi(e, t) {
4073
4073
  c = "" + c;
4074
4074
  const v = c.length;
4075
4075
  let x = "", k = 0;
4076
- for (let M = 0; M < v; M++) {
4077
- const L = c.charAt(M);
4076
+ for (let F = 0; F < v; F++) {
4077
+ const L = c.charAt(F);
4078
4078
  if (k++, encodeURI(L).length > 4 && k++, x = x.concat(L), k >= u)
4079
4079
  return x = x.concat("..."), x;
4080
4080
  }
@@ -4083,13 +4083,13 @@ function Pi(e, t) {
4083
4083
  }
4084
4084
  return "";
4085
4085
  }
4086
- const a = O(() => !!e.value && !!e.value.date), i = O(() => {
4086
+ const a = R(() => !!e.value && !!e.value.date), i = R(() => {
4087
4087
  const c = e.value && e.value.date || "";
4088
4088
  return `${t.exception.happend} : ${c}`;
4089
- }), r = O(() => !!e.value && !!e.value.detail), s = O(() => e.value ? n(e.value.detail) > 160 : !1), f = h(!1), l = O(() => f.value ? t.exception.collapse : t.exception.expand), m = O(() => {
4089
+ }), r = R(() => !!e.value && !!e.value.detail), s = R(() => e.value ? n(e.value.detail) > 160 : !1), f = b(!1), l = R(() => f.value ? t.exception.collapse : t.exception.expand), m = R(() => {
4090
4090
  const c = t.exception.detail + " : " + (e.value && e.value.detail) || "";
4091
4091
  return f.value ? c : o(c, 160);
4092
- }), d = O(() => ({
4092
+ }), d = R(() => ({
4093
4093
  position: "absolute",
4094
4094
  right: 0,
4095
4095
  bottom: f.value ? 0 : "2px",
@@ -4119,16 +4119,16 @@ function Di(e) {
4119
4119
  }, null);
4120
4120
  }
4121
4121
  function Ni(e, t, n, o, a) {
4122
- const i = h(e.exceptionInfo), r = O(() => {
4122
+ const i = b(e.exceptionInfo), r = R(() => {
4123
4123
  const u = t.value === "question" ? "warning" : t.value, v = {
4124
4124
  "f-icon": !0
4125
4125
  }, x = `f-icon-${u}`;
4126
4126
  return v[x] = !0, v;
4127
- }), s = O(() => n.value || i.value && i.value.message), f = O(() => o.value), l = O(() => !!o.value), m = O(() => !!i.value);
4127
+ }), s = R(() => n.value || i.value && i.value.message), f = R(() => o.value), l = R(() => !!o.value), m = R(() => !!i.value);
4128
4128
  function d() {
4129
4129
  return m.value ? Pi(i, a) : l.value ? Di(f) : () => null;
4130
4130
  }
4131
- const p = d(), c = O(() => a.locale === "en" ? {
4131
+ const p = d(), c = R(() => a.locale === "en" ? {
4132
4132
  wordBreak: "keep-all",
4133
4133
  overflowWrap: "break-word"
4134
4134
  } : {});
@@ -4149,11 +4149,11 @@ function ji(e, t, n, o) {
4149
4149
  onCopy: a
4150
4150
  } = t, {
4151
4151
  toShowFeedback: i
4152
- } = n, r = h(o.exception.copySuccess || "复制成功"), s = h(o.exception.copy || "复制详细信息"), f = h(e.exceptionInfo || {
4152
+ } = n, r = b(o.exception.copySuccess || "复制成功"), s = b(o.exception.copy || "复制详细信息"), f = b(e.exceptionInfo || {
4153
4153
  date: "",
4154
4154
  message: "",
4155
4155
  detail: ""
4156
- }), l = O(() => f.value && f.value.detail || "");
4156
+ }), l = R(() => f.value && f.value.detail || "");
4157
4157
  function m(d) {
4158
4158
  a(l.value).catch((p) => {
4159
4159
  r.value = o.exception.copyFailed || "复制失败";
@@ -4171,12 +4171,12 @@ function ji(e, t, n, o) {
4171
4171
  }, [s.value])]);
4172
4172
  }
4173
4173
  function Hi(e, t, n, o, a) {
4174
- const i = h(e.type), r = h(e.buttons), s = h(e.exceptionInfo), f = h(a.ok || e.okButtonText), l = h(a.cancel || e.cancelButtonText), m = h(e.showCancelButton), d = h(e.showOkButton), p = O(() => !!(r.value && r.value.length)), c = O(() => s.value && s.value.message && s.value.detail), u = O(() => !(r.value && r.value.length) && (d.value || m.value)), v = ji(e, n, o, a);
4174
+ const i = b(e.type), r = b(e.buttons), s = b(e.exceptionInfo), f = b(a.ok || e.okButtonText), l = b(a.cancel || e.cancelButtonText), m = b(e.showCancelButton), d = b(e.showOkButton), p = R(() => !!(r.value && r.value.length)), c = R(() => s.value && s.value.message && s.value.detail), u = R(() => !(r.value && r.value.length) && (d.value || m.value)), v = ji(e, n, o, a);
4175
4175
  f.value === "关闭" ? f.value = a.close : f.value === "知道了" && (f.value = a.exception.roger);
4176
- function x(M) {
4176
+ function x(F) {
4177
4177
  i.value === "question" && t.emit("reject"), t.emit("close");
4178
4178
  }
4179
- function k(M) {
4179
+ function k(F) {
4180
4180
  i.value === "question" && t.emit("accept"), t.emit("close");
4181
4181
  }
4182
4182
  return () => C("div", {
@@ -4189,15 +4189,15 @@ function Hi(e, t, n, o, a) {
4189
4189
  type: "button",
4190
4190
  class: "btn btn-primary btn-lg",
4191
4191
  onClick: k
4192
- }, [f.value]), p.value && r.value.length && r.value.map((M) => C("button", {
4192
+ }, [f.value]), p.value && r.value.length && r.value.map((F) => C("button", {
4193
4193
  type: "button",
4194
- onClick: M.handle,
4195
- class: M.class
4196
- }, [M.iconClass && C("span", {
4197
- class: M.iconClass
4198
- }, null), M.text]))]);
4194
+ onClick: F.handle,
4195
+ class: F.class
4196
+ }, [F.iconClass && C("span", {
4197
+ class: F.iconClass
4198
+ }, null), F.text]))]);
4199
4199
  }
4200
- function Li(e) {
4200
+ function $i(e) {
4201
4201
  const { t, locale: n } = Dt();
4202
4202
  function o(a, i, r) {
4203
4203
  return i === r ? t(a) : i;
@@ -4228,14 +4228,14 @@ const pt = /* @__PURE__ */ Ye({
4228
4228
  props: Si,
4229
4229
  emits: ["accept", "reject", "close"],
4230
4230
  setup(e, t) {
4231
- const n = Li(e), o = h(e.type), a = h(e.title), i = h(e.detail), r = O(() => {
4231
+ const n = $i(e), o = b(e.type), a = b(e.title), i = b(e.detail), r = R(() => {
4232
4232
  const k = {
4233
4233
  "modal-tips": !0,
4234
4234
  "d-flex": !0,
4235
4235
  "flex-row": !0
4236
- }, M = `messager-type-${o.value}`;
4237
- return k[M] = !0, k;
4238
- }), s = O(() => {
4236
+ }, F = `messager-type-${o.value}`;
4237
+ return k[F] = !0, k;
4238
+ }), s = R(() => {
4239
4239
  const k = {
4240
4240
  cursor: "default"
4241
4241
  };
@@ -4392,20 +4392,20 @@ function pn(e, t) {
4392
4392
  }
4393
4393
  return { judgeCanOpen: n };
4394
4394
  }
4395
- function $i(e, t, n, o, a) {
4396
- const i = h(e.buttonBehavior), r = h(e.popupOnInput), s = O(() => ({
4395
+ function Li(e, t, n, o, a) {
4396
+ const i = b(e.buttonBehavior), r = b(e.popupOnInput), s = R(() => ({
4397
4397
  "input-group-append": !0,
4398
4398
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
4399
- })), { judgeCanOpen: f } = pn(e, a), l = O(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = En(fn, null), d = h();
4399
+ })), { judgeCanOpen: f } = pn(e, a), l = R(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = En(fn, null), d = b();
4400
4400
  async function p(v) {
4401
4401
  if (await f() && l.value) {
4402
4402
  const x = !!t.slots.default;
4403
4403
  if (i.value === "Modal") {
4404
- const k = e.modalOptions, M = m == null ? void 0 : m.open({
4404
+ const k = e.modalOptions, F = m == null ? void 0 : m.open({
4405
4405
  ...k,
4406
4406
  render: () => t.slots.default && t.slots.default()
4407
4407
  });
4408
- d.value = M == null ? void 0 : M.modalRef;
4408
+ d.value = F == null ? void 0 : F.modalRef;
4409
4409
  }
4410
4410
  i.value === "Overlay" && Io.show({
4411
4411
  // host: buttonEditRef.value,
@@ -4430,7 +4430,7 @@ function $i(e, t, n, o, a) {
4430
4430
  };
4431
4431
  }
4432
4432
  function zi(e, t, n, o, a, i) {
4433
- const r = h(!1), s = O(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f, hasClearClass: l } = i;
4433
+ const r = b(!1), s = R(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: f, hasClearClass: l } = i;
4434
4434
  function m(u) {
4435
4435
  r.value = u, l.value = u;
4436
4436
  }
@@ -4462,13 +4462,13 @@ function zi(e, t, n, o, a, i) {
4462
4462
  };
4463
4463
  }
4464
4464
  function Ai(e, t, n, o, a) {
4465
- const i = O(() => e.popupOnInput), r = O(() => e.popupOnFocus), { shouldPopupContent: s, closeAllPopover: f } = a, l = h(!1), m = O(() => e.enableTitle ? n.value : ""), d = O(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = O(() => e.readonly || !e.editable), c = h(!1), u = O(() => !e.disable && c.value), v = O(() => ({
4465
+ const i = R(() => e.popupOnInput), r = R(() => e.popupOnFocus), { shouldPopupContent: s, closeAllPopover: f } = a, l = b(!1), m = R(() => e.enableTitle ? n.value : ""), d = R(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = R(() => e.readonly || !e.editable), c = b(!1), u = R(() => !e.disable && c.value), v = R(() => ({
4466
4466
  "text-left": e.textAlign === "left",
4467
4467
  "text-center": e.textAlign === "center",
4468
4468
  "text-right": e.textAlign === "right",
4469
4469
  "form-control": !0,
4470
4470
  "f-utils-fill": !0
4471
- })), x = O(() => ({
4471
+ })), x = R(() => ({
4472
4472
  "input-group": !0,
4473
4473
  "f-state-disabled": e.disable,
4474
4474
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -4479,7 +4479,7 @@ function Ai(e, t, n, o, a) {
4479
4479
  function k(g, z = !0) {
4480
4480
  n.value = g, z && (t.emit("change", g), t.emit("update:modelValue", g));
4481
4481
  }
4482
- function M(g) {
4482
+ function F(g) {
4483
4483
  s.value = !1, k(g, !0);
4484
4484
  }
4485
4485
  me(
@@ -4494,21 +4494,21 @@ function Ai(e, t, n, o, a) {
4494
4494
  function P(g) {
4495
4495
  t.emit("click", g), f(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && a.togglePopup();
4496
4496
  }
4497
- function T(g) {
4497
+ function w(g) {
4498
4498
  !e.disable && !e.readonly && (c.value = !0, p.value || (t.emit("focus", g), r.value && !s.value && a.popup()));
4499
4499
  }
4500
- function b(g) {
4500
+ function y(g) {
4501
4501
  t.emit("input", g);
4502
4502
  const z = g.target.value;
4503
4503
  o.value = z, n.value !== z && k(z, e.updateOn === "change"), i.value && !s.value && a.popup();
4504
4504
  }
4505
- function w(g) {
4505
+ function S(g) {
4506
4506
  g.target.tagName !== "INPUT" && g.preventDefault(), g.stopPropagation();
4507
4507
  }
4508
- function S(g) {
4508
+ function T(g) {
4509
4509
  t.emit("keydown", g);
4510
4510
  }
4511
- function F(g) {
4511
+ function M(g) {
4512
4512
  g.key === "Enter" && (i.value || r.value) && a.hidePopup(), t.emit("keyup", g);
4513
4513
  }
4514
4514
  function _(g) {
@@ -4524,20 +4524,20 @@ function Ai(e, t, n, o, a) {
4524
4524
  inputGroupClass: x,
4525
4525
  hasClearClass: l,
4526
4526
  changeTextBoxValue: k,
4527
- commitValue: M,
4527
+ commitValue: F,
4528
4528
  onBlurTextBox: L,
4529
4529
  onClickTextBox: P,
4530
- onFocusTextBox: T,
4531
- onInput: b,
4532
- onKeyDownTextBox: S,
4533
- onKeyUpTextBox: F,
4534
- onMouseDownTextBox: w,
4530
+ onFocusTextBox: w,
4531
+ onInput: y,
4532
+ onKeyDownTextBox: T,
4533
+ onKeyUpTextBox: M,
4534
+ onMouseDownTextBox: S,
4535
4535
  onTextBoxValueChange: _
4536
4536
  };
4537
4537
  }
4538
4538
  const qe = "FarrisVue_PopoverInstancesKey";
4539
4539
  function Vi(e, t, n, o) {
4540
- const a = h(), i = h(!1), { judgeCanOpen: r } = pn(e, o);
4540
+ const a = b(), i = b(!1), { judgeCanOpen: r } = pn(e, o);
4541
4541
  me(() => a.value, (c, u) => {
4542
4542
  window[qe] = window[qe] || /* @__PURE__ */ new WeakMap(), c ? window[qe].set(n.value, c) : window[qe].delete(n.value);
4543
4543
  });
@@ -4579,7 +4579,7 @@ function Vi(e, t, n, o) {
4579
4579
  return { hidePopup: d, showPopup: p, popup: m, shouldPopupContent: i, togglePopup: l, popoverRef: a, closeAllPopover: s };
4580
4580
  }
4581
4581
  function _i(e, t, n) {
4582
- const o = h(), {
4582
+ const o = b(), {
4583
4583
  isTextBoxReadonly: a,
4584
4584
  textBoxClass: i,
4585
4585
  textBoxPlaceholder: r,
@@ -4592,25 +4592,22 @@ function _i(e, t, n) {
4592
4592
  onKeyUpTextBox: c,
4593
4593
  onMouseDownTextBox: u,
4594
4594
  onTextBoxValueChange: v
4595
- } = n, x = h(e.id), {
4595
+ } = n, x = b(e.id), {
4596
4596
  uuid: k
4597
- } = Ln(), M = O(() => ({
4598
- "border-top-right-radius": "6px",
4599
- "border-bottom-right-radius": "6px"
4600
- }));
4597
+ } = $n();
4601
4598
  et(() => {
4602
- var w, S;
4603
- e.selectOnCreated && ((w = o.value) == null || w.select()), e.focusOnCreated && ((S = o.value) == null || S.focus({
4599
+ var y, S;
4600
+ e.selectOnCreated && ((y = o.value) == null || y.select()), e.focusOnCreated && ((S = o.value) == null || S.focus({
4604
4601
  preventScroll: !0
4605
4602
  })), x.value || (x.value = "button-edit_" + k(8)), x.value = x.value + "-textbox";
4606
4603
  });
4607
- const L = h(!1), P = (w) => {
4608
- w.preventDefault(), L.value = !0;
4609
- }, T = (w) => {
4610
- w.preventDefault(), L.value = !1, d(w);
4604
+ const F = b(!1), L = (y) => {
4605
+ y.preventDefault(), F.value = !0;
4606
+ }, P = (y) => {
4607
+ y.preventDefault(), F.value = !1, d(y);
4611
4608
  };
4612
- function b(w) {
4613
- L.value || d(w);
4609
+ function w(y) {
4610
+ F.value || d(y);
4614
4611
  }
4615
4612
  return () => C("input", {
4616
4613
  id: e.id ? e.id + "-textbox" : void 0,
@@ -4618,7 +4615,6 @@ function _i(e, t, n) {
4618
4615
  name: "input-group-value",
4619
4616
  autocomplete: e.autoComplete ? "on" : "off",
4620
4617
  class: i.value,
4621
- style: M.value,
4622
4618
  disabled: e.disable,
4623
4619
  maxlength: e.maxLength,
4624
4620
  minlength: e.minLength,
@@ -4632,22 +4628,22 @@ function _i(e, t, n) {
4632
4628
  onChange: v,
4633
4629
  onClick: l,
4634
4630
  onFocus: m,
4635
- onInput: b,
4631
+ onInput: w,
4636
4632
  onKeydown: p,
4637
4633
  onKeyup: c,
4638
4634
  onMousedown: u,
4639
- onCompositionend: T,
4640
- onCompositionstart: P
4635
+ onCompositionend: P,
4636
+ onCompositionstart: L
4641
4637
  }, null);
4642
4638
  }
4643
4639
  function Wi(e, t, n) {
4644
- const o = h(e.separator), a = O(() => e.readonly || e.disable), {
4640
+ const o = b(e.separator), a = R(() => e.readonly || e.disable), {
4645
4641
  changeTextBoxValue: i,
4646
4642
  onFocusTextBox: r,
4647
4643
  onBlurTextBox: s,
4648
4644
  onClickTextBox: f,
4649
4645
  textBoxPlaceholder: l
4650
- } = n, m = O(() => t.value ? t.value.split(o.value).map((u) => ({
4646
+ } = n, m = R(() => t.value ? t.value.split(o.value).map((u) => ({
4651
4647
  name: u,
4652
4648
  selectable: !0
4653
4649
  })) : []);
@@ -4657,7 +4653,7 @@ function Wi(e, t, n) {
4657
4653
  me(() => e.separator, (u) => {
4658
4654
  o.value = u;
4659
4655
  });
4660
- const p = h(!e.disable && !e.readonly);
4656
+ const p = b(!e.disable && !e.readonly);
4661
4657
  me([() => e.disable, () => e.readonly], ([u, v], [x, k]) => {
4662
4658
  p.value = !u && !v;
4663
4659
  });
@@ -4689,7 +4685,7 @@ function qi(e, t, n, o) {
4689
4685
  enableClearButton: f,
4690
4686
  showClearButton: l,
4691
4687
  onClearValue: m
4692
- } = o, d = h(), p = Nn((u) => {
4688
+ } = o, d = b(), p = Nn((u) => {
4693
4689
  i(u);
4694
4690
  }, e.buttonBehavior === "Modal" ? 0 : 200), c = () => {
4695
4691
  t.emit("beforeClearValue");
@@ -4721,7 +4717,7 @@ function qi(e, t, n, o) {
4721
4717
  };
4722
4718
  }
4723
4719
  function Gi(e, t, n) {
4724
- const o = h(e.popupMinWidth), {
4720
+ const o = b(e.popupMinWidth), {
4725
4721
  hidePopup: a,
4726
4722
  popoverRef: i
4727
4723
  } = n;
@@ -4750,58 +4746,55 @@ const Ui = /* @__PURE__ */ Ye({
4750
4746
  props: Bo,
4751
4747
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue"],
4752
4748
  setup(e, t) {
4753
- const n = h(), o = h(e.customClass), a = h(e.modelValue), i = Vi(e, t, n, a), {
4749
+ const n = b(), o = b(e.customClass), a = b(e.modelValue), i = Vi(e, t, n, a), {
4754
4750
  shouldPopupContent: r,
4755
4751
  hidePopup: s,
4756
4752
  showPopup: f,
4757
4753
  togglePopup: l
4758
- } = i, m = $i(e, t, n, i, a), d = h(""), p = Ai(e, t, a, d, i), {
4754
+ } = i, m = Li(e, t, n, i, a), d = b(""), p = Ai(e, t, a, d, i), {
4759
4755
  hasFocusedTextBox: c,
4760
4756
  commitValue: u,
4761
4757
  inputGroupClass: v
4762
4758
  } = p, x = zi(e, t, a, c, d, p), {
4763
4759
  onMouseEnterTextBox: k,
4764
- onMouseLeaveTextBox: M
4765
- } = x, L = O(() => {
4766
- const D = {
4760
+ onMouseLeaveTextBox: F
4761
+ } = x, L = R(() => {
4762
+ const j = {
4767
4763
  "f-button-edit": !0,
4768
4764
  "f-cmp-inputgroup": !0,
4769
4765
  "f-button-edit-nowrap": !e.wrapText
4770
4766
  };
4771
- return o.value && o.value.split(" ").reduce((A, U) => (A[U] = !0, A), D), D;
4772
- }), P = O(() => ({
4767
+ return o.value && o.value.split(" ").reduce((H, W) => (H[W] = !0, H), j), j;
4768
+ }), P = R(() => ({
4773
4769
  overflow: e.wrapText ? "hidden" : ""
4774
- })), T = O(() => ({
4775
- paddingLeft: "3px",
4776
- backgroundColor: "#fff"
4777
4770
  }));
4778
- function b() {
4771
+ function w() {
4779
4772
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
4780
4773
  return 0;
4781
- let D = 0;
4782
- const A = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4783
- return A && A.length && (D = A.map((U) => U.offsetTop).filter((U) => U > 20).length), D;
4774
+ let j = 0;
4775
+ const H = Array.from(n.value.querySelectorAll(".farris-tag-item"));
4776
+ return H && H.length && (j = H.map((W) => W.offsetTop).filter((W) => W > 20).length), j;
4784
4777
  }
4785
- const w = h(b());
4778
+ const y = b(w());
4786
4779
  Rn(() => {
4787
- w.value = b();
4780
+ y.value = w();
4788
4781
  });
4789
4782
  function S() {
4790
- return e.multiSelect && e.inputType === "tag" ? () => C(Xe, null, [Wi(e, a, p)(), !!w.value && C("div", {
4783
+ return e.multiSelect && e.inputType === "tag" ? () => C(Xe, null, [Wi(e, a, p)(), !!y.value && C("div", {
4791
4784
  class: "d-flex flex-row mr-2 more-tags",
4792
4785
  "more-tags": !0
4793
4786
  }, [C("span", {
4794
4787
  class: "multi--more-text"
4795
- }, [Gt("+"), w.value])])]) : _i(e, a, p);
4788
+ }, [Gt("+"), y.value])])]) : _i(e, a, p);
4796
4789
  }
4797
- let F = S();
4790
+ let T = S();
4798
4791
  me([() => e.multiSelect, () => e.inputType], () => {
4799
- F = S();
4792
+ T = S();
4800
4793
  });
4801
4794
  const {
4802
- renderButtonGroup: _,
4803
- buttonHandleElement: g
4804
- } = qi(e, t, m, x), z = Gi(e, t, i), W = {
4795
+ renderButtonGroup: M,
4796
+ buttonHandleElement: _
4797
+ } = qi(e, t, m, x), g = Gi(e, t, i), z = {
4805
4798
  displayText: d,
4806
4799
  commitValue: u,
4807
4800
  elementRef: n,
@@ -4811,22 +4804,22 @@ const Ui = /* @__PURE__ */ Ye({
4811
4804
  shouldPopupContent: r,
4812
4805
  togglePopup: l,
4813
4806
  openDialog: () => {
4814
- g.value && e.buttonBehavior === "Modal" && g.value.click();
4807
+ _.value && e.buttonBehavior === "Modal" && _.value.click();
4815
4808
  },
4816
4809
  getModal: () => {
4817
- var D;
4818
- return e.buttonBehavior === "Modal" ? (D = m.modalRef.value) == null ? void 0 : D.value : null;
4810
+ var j;
4811
+ return e.buttonBehavior === "Modal" ? (j = m.modalRef.value) == null ? void 0 : j.value : null;
4819
4812
  }
4820
4813
  };
4821
4814
  return et(() => {
4822
- n.value.componentInstance = W, window.onresize = () => {
4815
+ n.value.componentInstance = z, window.onresize = () => {
4823
4816
  document.body.click();
4824
4817
  };
4825
4818
  }), Pn(() => {
4826
- var D;
4827
- window.onresize = null, (D = window[qe]) == null || D.delete(n.value);
4828
- }), t.expose(W), () => {
4829
- var D, A;
4819
+ var j;
4820
+ window.onresize = null, (j = window[qe]) == null || j.delete(n.value);
4821
+ }), t.expose(z), () => {
4822
+ var j, H;
4830
4823
  return C(Xe, null, [C("div", vt(t.attrs, {
4831
4824
  ref: n,
4832
4825
  class: L.value,
@@ -4835,10 +4828,9 @@ const Ui = /* @__PURE__ */ Ye({
4835
4828
  }), [C("div", {
4836
4829
  id: e.id ? `${e.id}-input-group` : void 0,
4837
4830
  class: v.value,
4838
- style: T.value,
4839
4831
  onMouseenter: k,
4840
- onMouseleave: M
4841
- }, [(A = (D = t.slots).precontent) == null ? void 0 : A.call(D), F(), _()])]), r.value && z()]);
4832
+ onMouseleave: F
4833
+ }, [(H = (j = t.slots).precontent) == null ? void 0 : H.call(j), T(), M()])]), r.value && g()]);
4842
4834
  };
4843
4835
  }
4844
4836
  }), Dl = Xt(Ui);