@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 Ln = Object.defineProperty;
2
2
  var An = (e, t, n) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _ = (e, t, n) => An(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as w, computed as E, createVNode as x, createTextVNode as Te, defineComponent as Fe, Fragment as Oe, watch as re, onMounted as Ue, reactive as De, createApp as zt, onUnmounted as ft, Transition as nn, mergeProps as kt, nextTick as Ze, onBeforeMount as Hn, Teleport as on, shallowRef as Dn, render as Ht, h as Un, cloneVNode as zn, inject as Dt, withDirectives as qn, vShow as Wn, onUpdated as _n, onBeforeUnmount as Gn } from "vue";
4
+ import { ref as w, computed as P, createVNode as x, createTextVNode as Te, defineComponent as Fe, Fragment as Oe, watch as re, onMounted as Ue, reactive as De, createApp as zt, onUnmounted as ft, Transition as nn, mergeProps as kt, nextTick as Ze, onBeforeMount as Hn, Teleport as on, shallowRef as Dn, render as Ht, h as Un, cloneVNode as zn, inject as Dt, withDirectives as qn, vShow as Wn, onUpdated as _n, onBeforeUnmount as Gn } from "vue";
5
5
  import { cloneDeep as me, isPlainObject as Zt, isUndefined as Ae, debounce as Xn } from "lodash-es";
6
6
  import { getSchemaByType as Kt, createPropsResolver as rn, resolveAppearance as Yn } from "../dynamic-resolver/index.esm.js";
7
7
  import { DgControl as wt, useDesignerComponent as Qn } from "../designer-canvas/index.esm.js";
@@ -523,60 +523,60 @@ function un(e, t, n) {
523
523
  }
524
524
  function m(d, v, h, S, I, O = "", g = "") {
525
525
  return Object.keys(d).map((y) => {
526
- const b = w(1), F = y, k = d[y], B = Object.keys(k), T = k.title, j = k.type, z = i.get(j) || { type: "input-group", enableClear: !1 }, V = k.editor ? Object.assign({}, z, k.editor) : Object.assign({}, z), D = f(B, k, v), G = s(B, k, v);
527
- V.readonly = V.readonly === void 0 ? G() : V.readonly;
526
+ const C = w(1), F = y, k = d[y], B = Object.keys(k), T = k.title, N = k.type, A = i.get(N) || { type: "input-group", enableClear: !1 }, j = k.editor ? Object.assign({}, A, k.editor) : Object.assign({}, A), z = f(B, k, v), X = s(B, k, v);
527
+ j.readonly = j.readonly === void 0 ? X() : j.readonly;
528
528
  const Z = k.type === "cascade" ? m(k.properties, v, h, S, I, O, g) : [], L = !0;
529
- let R = u(k, g);
530
- const Y = E({
529
+ let V = u(k, g);
530
+ const Y = P({
531
531
  get() {
532
- if (b.value) {
533
- if (["class", "style"].find((ue) => ue === F) && !R && (R = o.get("/converter/appearance.converter") || null), R && R.convertFrom)
534
- return R.convertFrom(h, y, I, O);
532
+ if (C.value) {
533
+ if (["class", "style"].find((ue) => ue === F) && !V && (V = o.get("/converter/appearance.converter") || null), V && V.convertFrom)
534
+ return V.convertFrom(h, y, I, O);
535
535
  const ie = h[y];
536
536
  return Object.prototype.hasOwnProperty.call(k, "defaultValue") && (ie === void 0 || typeof ie == "string" && ie === "") ? k.type === "boolean" ? k.defaultValue : k.defaultValue || "" : ie;
537
537
  }
538
538
  return null;
539
539
  },
540
540
  set(ie) {
541
- b.value += 1, R && R.convertTo ? (R.convertTo(S, y, ie, I, O), R.convertTo(h, y, ie, I, O)) : (S[y] = ie, h[y] = ie);
541
+ C.value += 1, V && V.convertTo ? (V.convertTo(S, y, ie, I, O), V.convertTo(h, y, ie, I, O)) : (S[y] = ie, h[y] = ie);
542
542
  }
543
- }), { refreshPanelAfterChanged: U, description: te, isExpand: he, parentPropertyID: ye } = k, Q = { propertyID: F, propertyName: T, propertyType: j, propertyValue: Y, editor: V, visible: D, readonly: G, cascadeConfig: Z, hideCascadeTitle: L, refreshPanelAfterChanged: U, description: te, isExpand: he, parentPropertyID: ye };
543
+ }), { refreshPanelAfterChanged: U, description: te, isExpand: he, parentPropertyID: ye } = k, Q = { propertyID: F, propertyName: T, propertyType: N, propertyValue: Y, editor: j, visible: z, readonly: X, cascadeConfig: Z, hideCascadeTitle: L, refreshPanelAfterChanged: U, description: te, isExpand: he, parentPropertyID: ye };
544
544
  return v[F] = Q, Q;
545
545
  });
546
546
  }
547
547
  function c(d, v, h = {}) {
548
548
  const S = {}, I = e[d];
549
549
  return I && I.categories ? Object.keys(I.categories).map((g) => {
550
- const C = I.categories[g], y = C == null ? void 0 : C.title, b = m(C.properties || {}, S, {}, h, v);
551
- return { categoryId: g, categoryName: y, properties: b };
550
+ const b = I.categories[g], y = b == null ? void 0 : b.title, C = m(b.properties || {}, S, {}, h, v);
551
+ return { categoryId: g, categoryName: y, properties: C };
552
552
  }) : [];
553
553
  }
554
554
  function p(d, v, h, S, I = "") {
555
- const O = v.$ref.schema, g = v.$ref.converter, C = h[O], y = C.type, b = n(C), F = {}, k = e[y];
555
+ const O = v.$ref.schema, g = v.$ref.converter, b = h[O], y = b.type, C = n(b), F = {}, k = e[y];
556
556
  if (k && k.categories) {
557
557
  const B = k.categories[d], T = B == null ? void 0 : B.title;
558
- g && Object.keys(B.properties).forEach((V) => {
559
- B.properties[V].$converter = g;
558
+ g && Object.keys(B.properties).forEach((j) => {
559
+ B.properties[j].$converter = g;
560
560
  });
561
- const j = (B == null ? void 0 : B.properties) || {}, z = m(j, F, b, C, S, I);
562
- return { categoryId: d, categoryName: T, properties: z };
561
+ const N = (B == null ? void 0 : B.properties) || {}, A = m(N, F, C, b, S, I);
562
+ return { categoryId: d, categoryName: T, properties: A };
563
563
  }
564
564
  return { categoryId: d, categoryName: "", properties: [] };
565
565
  }
566
566
  function l(d, v, h, S, I) {
567
- const O = d.type, g = n(d), C = {};
567
+ const O = d.type, g = n(d), b = {};
568
568
  let y = I || e[O];
569
569
  if (y && Object.keys(y).length === 0 && h && h.getPropConfig && (y = h.getPropConfig(S)), y && y.categories) {
570
- const b = [];
570
+ const C = [];
571
571
  return Object.keys(y.categories).map((F) => {
572
572
  const k = y.categories[F];
573
573
  if (k.$ref) {
574
- b.push(p(F, k, d, v, S));
574
+ C.push(p(F, k, d, v, S));
575
575
  return;
576
576
  }
577
- const B = k == null ? void 0 : k.title, T = k == null ? void 0 : k.tabId, j = k == null ? void 0 : k.tabName, z = k == null ? void 0 : k.hide, V = k == null ? void 0 : k.hideTitle, D = m(k.properties || {}, C, g, d, v, S, k.$converter), { setPropertyRelates: G } = k, Z = k == null ? void 0 : k.parentPropertyID;
578
- b.push({ categoryId: F, categoryName: B, tabId: T, tabName: j, hide: z, properties: D, hideTitle: V, setPropertyRelates: G, parentPropertyID: Z });
579
- }), b;
577
+ const B = k == null ? void 0 : k.title, T = k == null ? void 0 : k.tabId, N = k == null ? void 0 : k.tabName, A = k == null ? void 0 : k.hide, j = k == null ? void 0 : k.hideTitle, z = m(k.properties || {}, b, g, d, v, S, k.$converter), { setPropertyRelates: X } = k, Z = k == null ? void 0 : k.parentPropertyID;
578
+ C.push({ categoryId: F, categoryName: B, tabId: T, tabName: N, hide: A, properties: z, hideTitle: j, setPropertyRelates: X, parentPropertyID: Z });
579
+ }), C;
580
580
  }
581
581
  return [];
582
582
  }
@@ -812,7 +812,7 @@ function hn(e, t) {
812
812
  return !g.value.isEmpty() && !!g.value.getDisplayText();
813
813
  }
814
814
  function c(g) {
815
- const C = {
815
+ const b = {
816
816
  id: g.id,
817
817
  fieldCode: g.labelCode,
818
818
  fieldName: g.name,
@@ -820,25 +820,25 @@ function hn(e, t) {
820
820
  editor: g.editor,
821
821
  value: f(g.controlType || "text")
822
822
  };
823
- return g.controlType === "lookup" ? (C.value.valueField = g.editor.valueField, C.value.helpId = g.editor.helpId) : g.controlType === "date-picker" ? (C.value.displayFormat = g.editor.displayFormat || "yyyy-MM-dd", C.value.valueFormat = g.editor.valueFormat || "yyyy-MM-dd") : g.controlType === "datetime-picker" && (C.value.displayFormat = g.editor.displayFormat || "yyyy-MM-dd HH:mm:ss", C.value.valueFormat = g.editor.valueFormat || "yyyy-MM-dd HH:mm:ss"), C;
823
+ return g.controlType === "lookup" ? (b.value.valueField = g.editor.valueField, b.value.helpId = g.editor.helpId) : g.controlType === "date-picker" ? (b.value.displayFormat = g.editor.displayFormat || "yyyy-MM-dd", b.value.valueFormat = g.editor.valueFormat || "yyyy-MM-dd") : g.controlType === "datetime-picker" && (b.value.displayFormat = g.editor.displayFormat || "yyyy-MM-dd HH:mm:ss", b.value.valueFormat = g.editor.valueFormat || "yyyy-MM-dd HH:mm:ss"), b;
824
824
  }
825
825
  function p(g) {
826
- o.value = e.fields.map((C) => {
827
- const y = me(C);
828
- return y.editor.type || (y.editor.type = C.controlType), y.editor.type === "number-spinner" || y.editor.type === "number-range" ? (y.editor.showZero = !0, y.editor.nullable = !0) : y.editor.type === "combo-list" ? y.editor.enableClear = !0 : y.editor.type === "datetime-picker" && (y.editor.type = "date-picker", y.editor.showTime = !0), y;
829
- }), o.value.reduce((C, y) => C, a);
826
+ o.value = e.fields.map((b) => {
827
+ const y = me(b);
828
+ return y.editor.type || (y.editor.type = b.controlType), y.editor.type === "number-spinner" || y.editor.type === "number-range" ? (y.editor.showZero = !0, y.editor.nullable = !0) : y.editor.type === "combo-list" ? y.editor.enableClear = !0 : y.editor.type === "datetime-picker" && (y.editor.type = "date-picker", y.editor.showTime = !0), y;
829
+ }), o.value.reduce((b, y) => b, a);
830
830
  }
831
831
  function l(g) {
832
- i.value = o.value.map((C) => c(C));
832
+ i.value = o.value.map((b) => c(b));
833
833
  }
834
- function d(g, C) {
834
+ function d(g, b) {
835
835
  p(e.fields), l(e.data);
836
836
  }
837
837
  function v(g) {
838
- i.value = i.value.filter((C) => C.id !== g.id), n.value = n.value.filter((C) => C.fieldCode !== g.fieldCode), o.value = o.value.filter((C) => C.id !== g.id), t.emit("remove", g.fieldCode);
838
+ i.value = i.value.filter((b) => b.id !== g.id), n.value = n.value.filter((b) => b.fieldCode !== g.fieldCode), o.value = o.value.filter((b) => b.id !== g.id), t.emit("remove", g.fieldCode);
839
839
  }
840
840
  function h(g) {
841
- g.value.clear(), n.value = n.value.filter((C) => C.fieldCode !== g.fieldCode), t.emit("clear", g.fieldCode);
841
+ g.value.clear(), n.value = n.value.filter((b) => b.fieldCode !== g.fieldCode), t.emit("clear", g.fieldCode);
842
842
  }
843
843
  function S() {
844
844
  i.value.forEach((g) => g.value.clear());
@@ -851,9 +851,9 @@ function hn(e, t) {
851
851
  d(e.fields, e.data);
852
852
  function O() {
853
853
  var y;
854
- const g = (y = i.value) == null ? void 0 : y.filter((b) => {
854
+ const g = (y = i.value) == null ? void 0 : y.filter((C) => {
855
855
  var F;
856
- return !((F = b.value) != null && F.isEmpty());
856
+ return !((F = C.value) != null && F.isEmpty());
857
857
  });
858
858
  return u(g, o.value);
859
859
  }
@@ -928,7 +928,7 @@ function yn(e, t, n) {
928
928
  o.value = m.value.filter((I) => I.editor.isExtend);
929
929
  }
930
930
  p();
931
- const l = E(() => o.value && o.value.length > 0), d = E(() => a.value);
931
+ const l = P(() => o.value && o.value.length > 0), d = P(() => a.value);
932
932
  function v(I) {
933
933
  f.value = !0;
934
934
  }
@@ -1046,7 +1046,7 @@ const ji = {
1046
1046
  "f-filter-item-edit": n.value.id === i.value
1047
1047
  };
1048
1048
  };
1049
- E(() => !f.value && e.mode === "editable");
1049
+ P(() => !f.value && e.mode === "editable");
1050
1050
  function c(v) {
1051
1051
  e.mode === "display-only" ? r(n.value) : o(n.value);
1052
1052
  }
@@ -1156,7 +1156,7 @@ const it = /* @__PURE__ */ Fe({
1156
1156
  filterItems: l,
1157
1157
  loadFilterItems: d,
1158
1158
  handleQuery: v
1159
- } = s, h = E(() => ({
1159
+ } = s, h = P(() => ({
1160
1160
  display: p.value && p.value.length ? "" : "none"
1161
1161
  }));
1162
1162
  re([() => e.data, () => e.fields], ([k, B]) => {
@@ -1164,24 +1164,24 @@ const it = /* @__PURE__ */ Fe({
1164
1164
  }), Ue(() => {
1165
1165
  c();
1166
1166
  });
1167
- const S = E(() => o.value && n.value), I = E(() => ({
1167
+ const S = P(() => o.value && n.value), I = P(() => ({
1168
1168
  "f-filter-list": !0,
1169
1169
  "f-filter-list-extend": S.value
1170
1170
  // 'f-utils-overflow-hidden': true
1171
- })), O = E(() => ({
1171
+ })), O = P(() => ({
1172
1172
  '"extend-btn-arrow': !0,
1173
1173
  "f-icon": !0,
1174
1174
  "f-icon-arrow-chevron-up": o.value,
1175
1175
  "f-icon-arrow-chevron-down": !o.value
1176
- })), g = E(() => l.value.length > 0);
1177
- E(() => i.value && !o.value && r.value);
1178
- const C = yn(e, t, s);
1176
+ })), g = P(() => l.value.length > 0);
1177
+ P(() => i.value && !o.value && r.value);
1178
+ const b = yn(e, t, s);
1179
1179
  function y(k) {
1180
1180
  t.emit("change", k);
1181
1181
  const B = v();
1182
1182
  t.emit("conditionChange", B);
1183
1183
  }
1184
- function b() {
1184
+ function C() {
1185
1185
  return x("div", {
1186
1186
  class: I.value,
1187
1187
  ref: a
@@ -1189,7 +1189,7 @@ const it = /* @__PURE__ */ Fe({
1189
1189
  filterItem: k,
1190
1190
  useFilterItemsComposition: s,
1191
1191
  onConfirm: y
1192
- }, null)), o.value && C()]);
1192
+ }, null)), o.value && b()]);
1193
1193
  }
1194
1194
  function F() {
1195
1195
  o.value = !o.value, o.value ? m() : c();
@@ -1204,7 +1204,7 @@ const it = /* @__PURE__ */ Fe({
1204
1204
  ref: f
1205
1205
  }, [x("div", {
1206
1206
  class: "f-filter-list-wrapper d-flex w-100"
1207
- }, [g.value && b()]), !o.value && C()]), r.value && x("div", {
1207
+ }, [g.value && C()]), !o.value && b()]), r.value && x("div", {
1208
1208
  class: "f-filter-extend-btn"
1209
1209
  }, [x("button", {
1210
1210
  class: "btn btn-link",
@@ -1971,11 +1971,11 @@ function _i(e) {
1971
1971
  var I;
1972
1972
  const h = o.get(v.id), S = h.appearance && h.appearance.class;
1973
1973
  if (S) {
1974
- const g = S.split(" ").filter((B) => !B.startsWith("col-")), C = "col-" + v.columnInSM, y = "col-md-" + v.columnInMD, b = "col-xl-" + v.columnInLG, F = "col-el-" + v.columnInEL, k = [C, y, b, F].concat(g);
1974
+ const g = S.split(" ").filter((B) => !B.startsWith("col-")), b = "col-" + v.columnInSM, y = "col-md-" + v.columnInMD, C = "col-xl-" + v.columnInLG, F = "col-el-" + v.columnInEL, k = [b, y, C, F].concat(g);
1975
1975
  h.appearance.class = k.join(" ");
1976
1976
  }
1977
1977
  if (v.fieldSetId) {
1978
- const O = l.contents.find((C) => C.id === v.fieldSetId), g = d.find((C) => C.id === v.fieldSetId);
1978
+ const O = l.contents.find((b) => b.id === v.fieldSetId), g = d.find((b) => b.id === v.fieldSetId);
1979
1979
  g ? (I = g.contents) == null || I.push(h) : (d.push(O), O.contents = [h]);
1980
1980
  } else
1981
1981
  d.push(h);
@@ -2042,17 +2042,17 @@ var Gi = { exports: {} };
2042
2042
  2: [function(n, o, i) {
2043
2043
  (function(r) {
2044
2044
  var a = n("contra/emitter"), f = n("crossvent"), s = n("./classes"), u = document, m = u.documentElement;
2045
- function c(T, j) {
2046
- var z = arguments.length;
2047
- z === 1 && Array.isArray(T) === !1 && (j = T, T = []);
2048
- var V, D, G, Z, L, R, Y, U, te, he = null, ye, Q, ie = !1, ue = 0, ne, q = j || {};
2045
+ function c(T, N) {
2046
+ var A = arguments.length;
2047
+ A === 1 && Array.isArray(T) === !1 && (N = T, T = []);
2048
+ var j, z, X, Z, L, V, Y, U, te, he = null, ye, Q, ie = !1, ue = 0, ne, q = N || {};
2049
2049
  q.moves === void 0 && (q.moves = I), q.accepts === void 0 && (q.accepts = I), q.invalid === void 0 && (q.invalid = at), q.containers === void 0 && (q.containers = T || []), q.isContainer === void 0 && (q.isContainer = S), q.copy === void 0 && (q.copy = !1), q.copySortSource === void 0 && (q.copySortSource = !1), q.revertOnSpill === void 0 && (q.revertOnSpill = !1), q.removeOnSpill === void 0 && (q.removeOnSpill = !1), q.direction === void 0 && (q.direction = "vertical"), q.ignoreInputTextSelection === void 0 && (q.ignoreInputTextSelection = !0), q.mirrorContainer === void 0 && (q.mirrorContainer = u.body);
2050
2050
  var oe = a({
2051
2051
  containers: q.containers,
2052
2052
  start: Ne,
2053
2053
  end: _e,
2054
2054
  cancel: J,
2055
- remove: P,
2055
+ remove: E,
2056
2056
  destroy: qe,
2057
2057
  canMove: Re,
2058
2058
  dragging: !1
@@ -2062,16 +2062,16 @@ var Gi = { exports: {} };
2062
2062
  return oe.containers.indexOf(M) !== -1 || q.isContainer(M);
2063
2063
  }
2064
2064
  function Ve(M) {
2065
- var N = M ? "remove" : "add";
2066
- d(m, N, "mousedown", ce), d(m, N, "mouseup", je);
2065
+ var R = M ? "remove" : "add";
2066
+ d(m, R, "mousedown", ce), d(m, R, "mouseup", je);
2067
2067
  }
2068
2068
  function ke(M) {
2069
- var N = M ? "remove" : "add";
2070
- d(m, N, "mousemove", rt);
2069
+ var R = M ? "remove" : "add";
2070
+ d(m, R, "mousemove", rt);
2071
2071
  }
2072
2072
  function tt(M) {
2073
- var N = M ? "remove" : "add";
2074
- f[N](m, "selectstart", We), f[N](m, "click", We);
2073
+ var R = M ? "remove" : "add";
2074
+ f[R](m, "selectstart", We), f[R](m, "click", We);
2075
2075
  }
2076
2076
  function qe() {
2077
2077
  Ve(!0), je({});
@@ -2081,10 +2081,10 @@ var Gi = { exports: {} };
2081
2081
  }
2082
2082
  function ce(M) {
2083
2083
  Z = M.clientX, L = M.clientY;
2084
- var N = v(M) !== 1 || M.metaKey || M.ctrlKey;
2085
- if (!N) {
2086
- var A = M.target, W = Ie(A);
2087
- W && (ye = W, ke(), M.type === "mousedown" && (y(A) ? A.focus() : M.preventDefault()));
2084
+ var R = v(M) !== 1 || M.metaKey || M.ctrlKey;
2085
+ if (!R) {
2086
+ var H = M.target, W = Ie(H);
2087
+ W && (ye = W, ke(), M.type === "mousedown" && (y(H) ? H.focus() : M.preventDefault()));
2088
2088
  }
2089
2089
  }
2090
2090
  function rt(M) {
@@ -2095,27 +2095,27 @@ var Gi = { exports: {} };
2095
2095
  }
2096
2096
  if (!(M.clientX !== void 0 && Math.abs(M.clientX - Z) <= (q.slideFactorX || 0) && M.clientY !== void 0 && Math.abs(M.clientY - L) <= (q.slideFactorY || 0))) {
2097
2097
  if (q.ignoreInputTextSelection) {
2098
- var N = B("clientX", M) || 0, A = B("clientY", M) || 0, W = u.elementFromPoint(N, A);
2098
+ var R = B("clientX", M) || 0, H = B("clientY", M) || 0, W = u.elementFromPoint(R, H);
2099
2099
  if (y(W))
2100
2100
  return;
2101
2101
  }
2102
2102
  var K = ye;
2103
- ke(!0), tt(), _e(), $e(K), s.add(U || G, "gu-transit"), Ot(), Pt(), ue = 0, lt(M);
2103
+ ke(!0), tt(), _e(), $e(K), s.add(U || X, "gu-transit"), Ot(), Pt(), ue = 0, lt(M);
2104
2104
  }
2105
2105
  }
2106
2106
  }
2107
2107
  function Ie(M) {
2108
- if (!(oe.dragging && V) && !ze(M)) {
2109
- for (var N = M; C(M) && ze(C(M)) === !1; )
2110
- if (q.invalid(M, N) || (M = C(M), !M))
2108
+ if (!(oe.dragging && j) && !ze(M)) {
2109
+ for (var R = M; b(M) && ze(b(M)) === !1; )
2110
+ if (q.invalid(M, R) || (M = b(M), !M))
2111
2111
  return;
2112
- var A = C(M);
2113
- if (A && !q.invalid(M, N)) {
2114
- var W = q.moves(M, A, N, F(M));
2112
+ var H = b(M);
2113
+ if (H && !q.invalid(M, R)) {
2114
+ var W = q.moves(M, H, R, F(M));
2115
2115
  if (W)
2116
2116
  return {
2117
2117
  item: M,
2118
- source: A
2118
+ source: H
2119
2119
  };
2120
2120
  }
2121
2121
  }
@@ -2124,19 +2124,19 @@ var Gi = { exports: {} };
2124
2124
  return !!Ie(M);
2125
2125
  }
2126
2126
  function Ne(M) {
2127
- var N = Ie(M);
2128
- N && $e(N);
2127
+ var R = Ie(M);
2128
+ R && $e(R);
2129
2129
  }
2130
2130
  function $e(M) {
2131
- At(M.item, M.source) && (U = M.item.cloneNode(!0), oe.emit("cloned", U, M.item, "copy")), D = M.source, G = M.item, R = Y = F(M.item), oe.dragging = !0, oe.emit("drag", G, D);
2131
+ At(M.item, M.source) && (U = M.item.cloneNode(!0), oe.emit("cloned", U, M.item, "copy")), z = M.source, X = M.item, V = Y = F(M.item), oe.dragging = !0, oe.emit("drag", X, z);
2132
2132
  }
2133
2133
  function at() {
2134
2134
  return !1;
2135
2135
  }
2136
2136
  function _e() {
2137
2137
  if (oe.dragging) {
2138
- var M = U || G;
2139
- nt(M, C(M));
2138
+ var M = U || X;
2139
+ nt(M, b(M));
2140
2140
  }
2141
2141
  }
2142
2142
  function Pe() {
@@ -2144,71 +2144,71 @@ var Gi = { exports: {} };
2144
2144
  }
2145
2145
  function je(M) {
2146
2146
  if (Pe(), !!oe.dragging) {
2147
- var N = U || G, A = B("clientX", M) || 0, W = B("clientY", M) || 0, K = h(V, A, W), ee = Le(K, A, W);
2148
- ee && (U && q.copySortSource || !U || ee !== D) ? nt(N, ee) : q.removeOnSpill ? P() : J();
2147
+ var R = U || X, H = B("clientX", M) || 0, W = B("clientY", M) || 0, K = h(j, H, W), ee = Le(K, H, W);
2148
+ ee && (U && q.copySortSource || !U || ee !== z) ? nt(R, ee) : q.removeOnSpill ? E() : J();
2149
2149
  }
2150
2150
  }
2151
- function nt(M, N) {
2152
- var A = C(M);
2153
- U && q.copySortSource && N === D && A.removeChild(G), se(N) ? oe.emit("cancel", M, D) : oe.emit("drop", M, N, D, Y), le();
2151
+ function nt(M, R) {
2152
+ var H = b(M);
2153
+ U && q.copySortSource && R === z && H.removeChild(X), se(R) ? oe.emit("cancel", M, z) : oe.emit("drop", M, R, z, Y), le();
2154
2154
  }
2155
- function P() {
2155
+ function E() {
2156
2156
  if (oe.dragging) {
2157
- var M = U || G, N = C(M);
2158
- N && N.removeChild(M), oe.emit(U ? "cancel" : "remove", M, N, D), le();
2157
+ var M = U || X, R = b(M);
2158
+ R && R.removeChild(M), oe.emit(U ? "cancel" : "remove", M, R, z), le();
2159
2159
  }
2160
2160
  }
2161
2161
  function J(M) {
2162
2162
  if (oe.dragging) {
2163
- var N = arguments.length > 0 ? M : q.revertOnSpill, A = U || G, W = C(A), K = se(W);
2164
- K === !1 && N && (U ? W && W.removeChild(U) : D.insertBefore(A, R)), K || N ? oe.emit("cancel", A, D, D) : oe.emit("drop", A, W, D, Y), le();
2163
+ var R = arguments.length > 0 ? M : q.revertOnSpill, H = U || X, W = b(H), K = se(W);
2164
+ K === !1 && R && (U ? W && W.removeChild(U) : z.insertBefore(H, V)), K || R ? oe.emit("cancel", H, z, z) : oe.emit("drop", H, W, z, Y), le();
2165
2165
  }
2166
2166
  }
2167
2167
  function le() {
2168
- var M = U || G;
2169
- Pe(), Vt(), Rt(), M && s.rm(M, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, he && oe.emit("out", M, he, D), oe.emit("dragend", M, ue), D = G = U = R = Y = te = he = null;
2168
+ var M = U || X;
2169
+ Pe(), Vt(), Rt(), M && s.rm(M, "gu-transit"), te && clearTimeout(te), oe.dragging = !1, he && oe.emit("out", M, he, z), oe.emit("dragend", M, ue), z = X = U = V = Y = te = he = null;
2170
2170
  }
2171
- function se(M, N) {
2172
- var A;
2173
- return N !== void 0 ? A = N : V ? A = Y : A = F(U || G), M === D && A === R;
2171
+ function se(M, R) {
2172
+ var H;
2173
+ return R !== void 0 ? H = R : j ? H = Y : H = F(U || X), M === z && H === V;
2174
2174
  }
2175
- function Le(M, N, A) {
2175
+ function Le(M, R, H) {
2176
2176
  for (var W = M; W && !K(); )
2177
- W = C(W);
2177
+ W = b(W);
2178
2178
  return W;
2179
2179
  function K() {
2180
2180
  var ee = ze(W);
2181
2181
  if (ee === !1)
2182
2182
  return !1;
2183
- var Se = mt(W, M), be = vt(W, Se, N, A), Ce = se(W, be);
2184
- return Ce ? !0 : q.accepts(G, W, D, be);
2183
+ var Se = mt(W, M), be = vt(W, Se, R, H), Ce = se(W, be);
2184
+ return Ce ? !0 : q.accepts(X, W, z, be);
2185
2185
  }
2186
2186
  }
2187
2187
  function lt(M) {
2188
- if (!V)
2188
+ if (!j)
2189
2189
  return;
2190
2190
  M.preventDefault();
2191
- var N = B("clientX", M) || 0, A = B("clientY", M) || 0;
2192
- V.style.left = N - 2 + "px", V.style.top = A - 2 + "px";
2193
- var W = U || G, K = h(V, N, A), ee = Le(K, N, A), Se = ee !== null && ee !== he;
2194
- (Se || ee === null) && (we(), he = ee, Be()), Lt(K, A);
2195
- var be = C(W);
2196
- if (ee === D && U && !q.copySortSource) {
2191
+ var R = B("clientX", M) || 0, H = B("clientY", M) || 0;
2192
+ j.style.left = R - 2 + "px", j.style.top = H - 2 + "px";
2193
+ var W = U || X, K = h(j, R, H), ee = Le(K, R, H), Se = ee !== null && ee !== he;
2194
+ (Se || ee === null) && (we(), he = ee, Be()), Lt(K, H);
2195
+ var be = b(W);
2196
+ if (ee === z && U && !q.copySortSource) {
2197
2197
  be && be.removeChild(W);
2198
2198
  return;
2199
2199
  }
2200
2200
  var Ce, Me = mt(ee, K);
2201
2201
  if (ie = st(Me, ee), Me !== null)
2202
- Ce = vt(ee, Me, N, A);
2202
+ Ce = vt(ee, Me, R, H);
2203
2203
  else if (q.revertOnSpill === !0 && !U)
2204
- Ce = R, ee = D;
2204
+ Ce = V, ee = z;
2205
2205
  else {
2206
2206
  U && be && be.removeChild(W), U && Q && (Q.style.display = "none");
2207
2207
  return;
2208
2208
  }
2209
2209
  Q.style.display = "block", Mt(Ce, W, Se), Ce ? $t(Me, Ce) : jt(ee);
2210
2210
  function de(ve) {
2211
- oe.emit(ve, W, he, D);
2211
+ oe.emit(ve, W, he, z);
2212
2212
  }
2213
2213
  function Be() {
2214
2214
  Se && de("over");
@@ -2217,8 +2217,8 @@ var Gi = { exports: {} };
2217
2217
  he && de("out");
2218
2218
  }
2219
2219
  }
2220
- function Mt(M, N, A) {
2221
- (M === N || M === F(N)) && (Y = F(N)), (M === null && A || M !== N && M !== F(N)) && (Y = M);
2220
+ function Mt(M, R, H) {
2221
+ (M === R || M === F(R)) && (Y = F(R)), (M === null && H || M !== R && M !== F(R)) && (Y = M);
2222
2222
  }
2223
2223
  function Bt(M) {
2224
2224
  s.rm(M, "gu-hide");
@@ -2227,41 +2227,41 @@ var Gi = { exports: {} };
2227
2227
  oe.dragging && s.add(M, "gu-hide");
2228
2228
  }
2229
2229
  function Pt() {
2230
- V || (V = document.createElement("div"), V.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;", V.innerHTML = q.getMirrorText && q.getMirrorText(G) || "控件", s.add(V, "gu-mirror"), q.mirrorContainer.appendChild(V), d(m, "add", "mousemove", lt), s.add(q.mirrorContainer, "gu-unselectable"), oe.emit("cloned", V, G, "mirror"));
2230
+ j || (j = document.createElement("div"), j.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;", j.innerHTML = q.getMirrorText && q.getMirrorText(X) || "控件", s.add(j, "gu-mirror"), q.mirrorContainer.appendChild(j), d(m, "add", "mousemove", lt), s.add(q.mirrorContainer, "gu-unselectable"), oe.emit("cloned", j, X, "mirror"));
2231
2231
  }
2232
2232
  function Ot() {
2233
- if (Q = document.createElement("div"), s.add(Q, "gu-insertion"), G) {
2234
- var M = G.getBoundingClientRect();
2233
+ if (Q = document.createElement("div"), s.add(Q, "gu-insertion"), X) {
2234
+ var M = X.getBoundingClientRect();
2235
2235
  Q.style.left = M.left + "px", Q.style.top = M.top + "px";
2236
2236
  }
2237
2237
  ie = !1, q.mirrorContainer.appendChild(Q);
2238
2238
  }
2239
2239
  function Vt() {
2240
- V && (s.rm(q.mirrorContainer, "gu-unselectable"), d(m, "remove", "mousemove", lt), C(V).removeChild(V), V = null);
2240
+ j && (s.rm(q.mirrorContainer, "gu-unselectable"), d(m, "remove", "mousemove", lt), b(j).removeChild(j), j = null);
2241
2241
  }
2242
2242
  function Rt() {
2243
- Q && (C(Q).removeChild(Q), Q = null);
2243
+ Q && (b(Q).removeChild(Q), Q = null);
2244
2244
  }
2245
- function mt(M, N) {
2246
- for (var A = N; A !== M && C(A) !== M; )
2247
- A = C(A);
2248
- return A === m ? null : A;
2245
+ function mt(M, R) {
2246
+ for (var H = R; H !== M && b(H) !== M; )
2247
+ H = b(H);
2248
+ return H === m ? null : H;
2249
2249
  }
2250
- function st(M, N) {
2251
- if (!N)
2250
+ function st(M, R) {
2251
+ if (!R)
2252
2252
  return ie;
2253
- var A = M || N && N.lastElementChild;
2254
- if (!A)
2253
+ var H = M || R && R.lastElementChild;
2254
+ if (!H)
2255
2255
  return !0;
2256
2256
  var W = getComputedStyle(M), K = /^inline/.test(W.getPropertyValue("display")) || /^(left|right)$/.test(W.getPropertyValue("float"));
2257
2257
  if (K)
2258
2258
  return !0;
2259
- if (N) {
2260
- var ee = getComputedStyle(N), Se = ee.getPropertyValue("display");
2259
+ if (R) {
2260
+ var ee = getComputedStyle(R), Se = ee.getPropertyValue("display");
2261
2261
  if (/flex$/.test(Se)) {
2262
2262
  var be = ee.getPropertyValue("flex-direction") || "row";
2263
2263
  if (be === "row" || be === "row-reverse")
2264
- return !Nt(N);
2264
+ return !Nt(R);
2265
2265
  }
2266
2266
  return !1;
2267
2267
  }
@@ -2270,8 +2270,8 @@ var Gi = { exports: {} };
2270
2270
  function Nt(M) {
2271
2271
  if (!M.children || !M.children.length)
2272
2272
  return !1;
2273
- for (const N of Array.from(M.children)) {
2274
- const W = (N.className && N.className.split(" ") || []).filter((K) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(K));
2273
+ for (const R of Array.from(M.children)) {
2274
+ const W = (R.className && R.className.split(" ") || []).filter((K) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(K));
2275
2275
  if (!W.length)
2276
2276
  return !1;
2277
2277
  for (const K of W) {
@@ -2282,93 +2282,93 @@ var Gi = { exports: {} };
2282
2282
  }
2283
2283
  return !0;
2284
2284
  }
2285
- function $t(M, N) {
2286
- const A = N.getBoundingClientRect();
2287
- if (Q.style.left = A.left + "px", Q.style.top = A.top + "px", ie) {
2288
- if (Q.style.height = A.height + "px", Q.style.width = "4px", M) {
2285
+ function $t(M, R) {
2286
+ const H = R.getBoundingClientRect();
2287
+ if (Q.style.left = H.left + "px", Q.style.top = H.top + "px", ie) {
2288
+ if (Q.style.height = H.height + "px", Q.style.width = "4px", M) {
2289
2289
  const W = M.getBoundingClientRect();
2290
- W.top !== A.top && (Q.style.left = W.right + "px", Q.style.top = W.top + "px", Q.style.height = W.height + "px");
2290
+ W.top !== H.top && (Q.style.left = W.right + "px", Q.style.top = W.top + "px", Q.style.height = W.height + "px");
2291
2291
  }
2292
- } else if (Q.style.height = "4px", Q.style.width = A.width + "px", ne) {
2292
+ } else if (Q.style.height = "4px", Q.style.width = H.width + "px", ne) {
2293
2293
  const W = ne.getBoundingClientRect();
2294
- A.top < W.top && (Q.style.display = "none");
2294
+ H.top < W.top && (Q.style.display = "none");
2295
2295
  }
2296
- N === G && G && (Q.style.display = "none");
2296
+ R === X && X && (Q.style.display = "none");
2297
2297
  }
2298
2298
  function jt(M) {
2299
2299
  Y = null;
2300
- var N = M.lastElementChild;
2301
- if (N) {
2302
- var A = N.getBoundingClientRect();
2303
- ie ? (Q.style.left = A.right + "px", Q.style.top = A.top + "px", Q.style.height = A.height + "px", Q.style.width = "4px") : (Q.style.left = A.left + "px", Q.style.top = A.bottom + "px", Q.style.height = "4px", Q.style.width = A.width + "px"), N === G && G && (Q.style.display = "none");
2300
+ var R = M.lastElementChild;
2301
+ if (R) {
2302
+ var H = R.getBoundingClientRect();
2303
+ ie ? (Q.style.left = H.right + "px", Q.style.top = H.top + "px", Q.style.height = H.height + "px", Q.style.width = "4px") : (Q.style.left = H.left + "px", Q.style.top = H.bottom + "px", Q.style.height = "4px", Q.style.width = H.width + "px"), R === X && X && (Q.style.display = "none");
2304
2304
  } else
2305
2305
  Q.style.display = "none";
2306
2306
  }
2307
- function Lt(M, N) {
2307
+ function Lt(M, R) {
2308
2308
  if (!q.mirrorContainer.contains(M) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (ne = p(M), !ne || !ne.contains(M)))
2309
2309
  return;
2310
- const A = document.querySelector(".dgComponentSelected"), W = ne.getBoundingClientRect();
2311
- if (N - 30 < W.top && ne.scrollTop > 0) {
2310
+ const H = document.querySelector(".dgComponentSelected"), W = ne.getBoundingClientRect();
2311
+ if (R - 30 < W.top && ne.scrollTop > 0) {
2312
2312
  let K = ne.scrollTop < 10 ? ne.scrollTop : 10;
2313
- ne.scrollBy(0, -1 * K), A && ne.contains(A) && (ue = ue + -1 * K);
2313
+ ne.scrollBy(0, -1 * K), H && ne.contains(H) && (ue = ue + -1 * K);
2314
2314
  }
2315
- if (N + 30 > W.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2315
+ if (R + 30 > W.bottom && ne.scrollTop < ne.scrollHeight - ne.clientHeight) {
2316
2316
  const K = ne.scrollHeight - ne.clientHeight - ne.scrollTop;
2317
2317
  let ee = K < 10 ? K : 10;
2318
- ne.scrollBy(0, ee), A && ne.contains(A) && (ue = ue + ee);
2318
+ ne.scrollBy(0, ee), H && ne.contains(H) && (ue = ue + ee);
2319
2319
  }
2320
2320
  }
2321
- function vt(M, N, A, W) {
2322
- var K = q.direction === "horizontal", ee = q.direction === "mixed", Se = N !== M ? Ce() : be();
2321
+ function vt(M, R, H, W) {
2322
+ var K = q.direction === "horizontal", ee = q.direction === "mixed", Se = R !== M ? Ce() : be();
2323
2323
  return Se;
2324
2324
  function be() {
2325
2325
  var de = M.children.length, Be, we, ve;
2326
2326
  for (Be = 0; Be < de; Be++)
2327
- if (we = M.children[Be], ve = we.getBoundingClientRect(), K && ve.left + ve.width / 2 > A || !ee && !K && ve.top + ve.height / 2 > W || ee && ve.left + ve.width > A && ve.top + ve.height > W)
2327
+ if (we = M.children[Be], ve = we.getBoundingClientRect(), K && ve.left + ve.width / 2 > H || !ee && !K && ve.top + ve.height / 2 > W || ee && ve.left + ve.width > H && ve.top + ve.height > W)
2328
2328
  return we;
2329
2329
  return null;
2330
2330
  }
2331
2331
  function Ce() {
2332
- var de = N.getBoundingClientRect();
2332
+ var de = R.getBoundingClientRect();
2333
2333
  if (ee) {
2334
- var Be = W - de.top, we = A - de.left, ve = de.bottom - W, ut = de.right - A, ct = Math.min(we, ut, Be, ve), dt;
2334
+ var Be = W - de.top, we = H - de.left, ve = de.bottom - W, ut = de.right - H, ct = Math.min(we, ut, Be, ve), dt;
2335
2335
  return ie ? dt = ut < we : dt = ve === ct || ut === ct || we === ct, Me(dt);
2336
2336
  }
2337
- return Me(K ? A > de.left + O(de) / 2 : W > de.top + g(de) / 2);
2337
+ return Me(K ? H > de.left + O(de) / 2 : W > de.top + g(de) / 2);
2338
2338
  }
2339
2339
  function Me(de) {
2340
- return de ? F(N) : N;
2340
+ return de ? F(R) : R;
2341
2341
  }
2342
2342
  }
2343
- function At(M, N) {
2344
- return typeof q.copy == "boolean" ? q.copy : q.copy(M, N);
2343
+ function At(M, R) {
2344
+ return typeof q.copy == "boolean" ? q.copy : q.copy(M, R);
2345
2345
  }
2346
2346
  }
2347
2347
  function p(T) {
2348
- const j = Array.from(window.scrollContainerList);
2349
- if (j.length === 1) {
2350
- const V = Array.from(window.scrollContainerList)[0];
2351
- return document.getElementById(V);
2348
+ const N = Array.from(window.scrollContainerList);
2349
+ if (N.length === 1) {
2350
+ const j = Array.from(window.scrollContainerList)[0];
2351
+ return document.getElementById(j);
2352
2352
  }
2353
- const z = l(j);
2354
- for (const V of z)
2355
- if (V.contains(T))
2356
- return V;
2353
+ const A = l(N);
2354
+ for (const j of A)
2355
+ if (j.contains(T))
2356
+ return j;
2357
2357
  return null;
2358
2358
  }
2359
2359
  function l(T) {
2360
- const j = [];
2361
- return T.forEach((z) => {
2362
- const V = document.getElementById(z);
2363
- V && j.push(V);
2364
- }), j.sort((z, V) => z.contains(V) ? 1 : V.contains(z) ? -1 : 0), j;
2360
+ const N = [];
2361
+ return T.forEach((A) => {
2362
+ const j = document.getElementById(A);
2363
+ j && N.push(j);
2364
+ }), N.sort((A, j) => A.contains(j) ? 1 : j.contains(A) ? -1 : 0), N;
2365
2365
  }
2366
- function d(T, j, z, V) {
2367
- var D = {
2366
+ function d(T, N, A, j) {
2367
+ var z = {
2368
2368
  mouseup: "touchend",
2369
2369
  mousedown: "touchstart",
2370
2370
  mousemove: "touchmove"
2371
- }, G = {
2371
+ }, X = {
2372
2372
  mouseup: "pointerup",
2373
2373
  mousedown: "pointerdown",
2374
2374
  mousemove: "pointermove"
@@ -2377,7 +2377,7 @@ var Gi = { exports: {} };
2377
2377
  mousedown: "MSPointerDown",
2378
2378
  mousemove: "MSPointerMove"
2379
2379
  };
2380
- r.navigator.pointerEnabled ? f[j](T, G[z], V) : r.navigator.msPointerEnabled ? f[j](T, Z[z], V) : (f[j](T, D[z], V), f[j](T, z, V));
2380
+ r.navigator.pointerEnabled ? f[N](T, X[A], j) : r.navigator.msPointerEnabled ? f[N](T, Z[A], j) : (f[N](T, z[A], j), f[N](T, A, j));
2381
2381
  }
2382
2382
  function v(T) {
2383
2383
  if (T.touches !== void 0)
@@ -2386,14 +2386,14 @@ var Gi = { exports: {} };
2386
2386
  return T.which;
2387
2387
  if (T.buttons !== void 0)
2388
2388
  return T.buttons;
2389
- var j = T.button;
2390
- if (j !== void 0)
2391
- return j & 1 ? 1 : j & 2 ? 3 : j & 4 ? 2 : 0;
2389
+ var N = T.button;
2390
+ if (N !== void 0)
2391
+ return N & 1 ? 1 : N & 2 ? 3 : N & 4 ? 2 : 0;
2392
2392
  }
2393
- function h(T, j, z) {
2393
+ function h(T, N, A) {
2394
2394
  T = T || {};
2395
- var V = T.className || "", D;
2396
- return T.className += " gu-hide", D = u.elementFromPoint(j, z), T.className = V, D;
2395
+ var j = T.className || "", z;
2396
+ return T.className += " gu-hide", z = u.elementFromPoint(N, A), T.className = j, z;
2397
2397
  }
2398
2398
  function S() {
2399
2399
  return !1;
@@ -2407,36 +2407,36 @@ var Gi = { exports: {} };
2407
2407
  function g(T) {
2408
2408
  return T.height || T.bottom - T.top;
2409
2409
  }
2410
- function C(T) {
2410
+ function b(T) {
2411
2411
  return T.parentNode === u ? null : T.parentNode;
2412
2412
  }
2413
2413
  function y(T) {
2414
- return T.tagName === "INPUT" || T.tagName === "TEXTAREA" || T.tagName === "SELECT" || b(T);
2414
+ return T.tagName === "INPUT" || T.tagName === "TEXTAREA" || T.tagName === "SELECT" || C(T);
2415
2415
  }
2416
- function b(T) {
2417
- return !T || T.contentEditable === "false" ? !1 : T.contentEditable === "true" ? !0 : b(C(T));
2416
+ function C(T) {
2417
+ return !T || T.contentEditable === "false" ? !1 : T.contentEditable === "true" ? !0 : C(b(T));
2418
2418
  }
2419
2419
  function F(T) {
2420
- return T.nextElementSibling || j();
2421
- function j() {
2422
- var z = T;
2420
+ return T.nextElementSibling || N();
2421
+ function N() {
2422
+ var A = T;
2423
2423
  do
2424
- z = z.nextSibling;
2425
- while (z && z.nodeType !== 1);
2426
- return z;
2424
+ A = A.nextSibling;
2425
+ while (A && A.nodeType !== 1);
2426
+ return A;
2427
2427
  }
2428
2428
  }
2429
2429
  function k(T) {
2430
2430
  return T.targetTouches && T.targetTouches.length ? T.targetTouches[0] : T.changedTouches && T.changedTouches.length ? T.changedTouches[0] : T;
2431
2431
  }
2432
- function B(T, j) {
2433
- var z = k(j), V = {
2432
+ function B(T, N) {
2433
+ var A = k(N), j = {
2434
2434
  pageX: "clientX",
2435
2435
  // IE8
2436
2436
  pageY: "clientY"
2437
2437
  // IE8
2438
2438
  };
2439
- return T in V && !(T in z) && V[T] in z && (T = V[T]), z[T];
2439
+ return T in j && !(T in A) && j[T] in A && (T = j[T]), A[T];
2440
2440
  }
2441
2441
  o.exports = c;
2442
2442
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2499,61 +2499,61 @@ var Gi = { exports: {} };
2499
2499
  remove: m,
2500
2500
  fabricate: h
2501
2501
  };
2502
- function p(C, y, b, F) {
2503
- return C.addEventListener(y, b, F);
2502
+ function p(b, y, C, F) {
2503
+ return b.addEventListener(y, C, F);
2504
2504
  }
2505
- function l(C, y, b) {
2506
- return C.attachEvent("on" + y, I(C, y, b));
2505
+ function l(b, y, C) {
2506
+ return b.attachEvent("on" + y, I(b, y, C));
2507
2507
  }
2508
- function d(C, y, b, F) {
2509
- return C.removeEventListener(y, b, F);
2508
+ function d(b, y, C, F) {
2509
+ return b.removeEventListener(y, C, F);
2510
2510
  }
2511
- function v(C, y, b) {
2512
- var F = O(C, y, b);
2511
+ function v(b, y, C) {
2512
+ var F = O(b, y, C);
2513
2513
  if (F)
2514
- return C.detachEvent("on" + y, F);
2514
+ return b.detachEvent("on" + y, F);
2515
2515
  }
2516
- function h(C, y, b) {
2516
+ function h(b, y, C) {
2517
2517
  var F = f.indexOf(y) === -1 ? B() : k();
2518
- C.dispatchEvent ? C.dispatchEvent(F) : C.fireEvent("on" + y, F);
2518
+ b.dispatchEvent ? b.dispatchEvent(F) : b.fireEvent("on" + y, F);
2519
2519
  function k() {
2520
2520
  var T;
2521
2521
  return s.createEvent ? (T = s.createEvent("Event"), T.initEvent(y, !0, !0)) : s.createEventObject && (T = s.createEventObject()), T;
2522
2522
  }
2523
2523
  function B() {
2524
- return new a(y, { detail: b });
2524
+ return new a(y, { detail: C });
2525
2525
  }
2526
2526
  }
2527
- function S(C, y, b) {
2527
+ function S(b, y, C) {
2528
2528
  return function(k) {
2529
2529
  var B = k || r.event;
2530
2530
  B.target = B.target || B.srcElement, B.preventDefault = B.preventDefault || function() {
2531
2531
  B.returnValue = !1;
2532
2532
  }, B.stopPropagation = B.stopPropagation || function() {
2533
2533
  B.cancelBubble = !0;
2534
- }, B.which = B.which || B.keyCode, b.call(C, B);
2534
+ }, B.which = B.which || B.keyCode, C.call(b, B);
2535
2535
  };
2536
2536
  }
2537
- function I(C, y, b) {
2538
- var F = O(C, y, b) || S(C, y, b);
2537
+ function I(b, y, C) {
2538
+ var F = O(b, y, C) || S(b, y, C);
2539
2539
  return c.push({
2540
2540
  wrapper: F,
2541
- element: C,
2541
+ element: b,
2542
2542
  type: y,
2543
- fn: b
2543
+ fn: C
2544
2544
  }), F;
2545
2545
  }
2546
- function O(C, y, b) {
2547
- var F = g(C, y, b);
2546
+ function O(b, y, C) {
2547
+ var F = g(b, y, C);
2548
2548
  if (F) {
2549
2549
  var k = c[F].wrapper;
2550
2550
  return c.splice(F, 1), k;
2551
2551
  }
2552
2552
  }
2553
- function g(C, y, b) {
2553
+ function g(b, y, C) {
2554
2554
  var F, k;
2555
2555
  for (F = 0; F < c.length; F++)
2556
- if (k = c[F], k.element === C && k.type === y && k.fn === b)
2556
+ if (k = c[F], k.element === b && k.type === y && k.fn === C)
2557
2557
  return F;
2558
2558
  }
2559
2559
  }).call(this, typeof He < "u" ? He : typeof self < "u" ? self : typeof window < "u" ? window : {});
@@ -2650,23 +2650,23 @@ var Gi = { exports: {} };
2650
2650
  if (!l) {
2651
2651
  var g = m(h);
2652
2652
  l = !0;
2653
- for (var C = p.length; C; ) {
2654
- for (d = p, p = []; ++v < C; )
2653
+ for (var b = p.length; b; ) {
2654
+ for (d = p, p = []; ++v < b; )
2655
2655
  d && d[v].run();
2656
- v = -1, C = p.length;
2656
+ v = -1, b = p.length;
2657
2657
  }
2658
2658
  d = null, l = !1, c(g);
2659
2659
  }
2660
2660
  }
2661
2661
  r.nextTick = function(g) {
2662
- var C = new Array(arguments.length - 1);
2662
+ var b = new Array(arguments.length - 1);
2663
2663
  if (arguments.length > 1)
2664
2664
  for (var y = 1; y < arguments.length; y++)
2665
- C[y - 1] = arguments[y];
2666
- p.push(new I(g, C)), p.length === 1 && !l && m(S);
2665
+ b[y - 1] = arguments[y];
2666
+ p.push(new I(g, b)), p.length === 1 && !l && m(S);
2667
2667
  };
2668
- function I(g, C) {
2669
- this.fun = g, this.array = C;
2668
+ function I(g, b) {
2669
+ this.fun = g, this.array = b;
2670
2670
  }
2671
2671
  I.prototype.run = function() {
2672
2672
  this.fun.apply(null, this.array);
@@ -2759,19 +2759,19 @@ const Xi = {
2759
2759
  const {
2760
2760
  locale: n,
2761
2761
  t: o
2762
- } = qt(), i = w(e.animate), r = "fadeOut", a = E(() => e.options), f = w(!1), s = E(() => a.value.title && a.value.message), u = E(() => !a.value.title && a.value.message), m = E(() => {
2762
+ } = qt(), i = w(e.animate), r = "fadeOut", a = P(() => e.options), f = w(!1), s = P(() => a.value.title && a.value.message), u = P(() => !a.value.title && a.value.message), m = P(() => {
2763
2763
  const g = {
2764
2764
  animated: f.value,
2765
2765
  toast: !0,
2766
2766
  "toast--only-content": u.value
2767
2767
  };
2768
2768
  return g[e.animate] = !1, g[r] = f.value, g["toasty-type-" + a.value.type] = !0, a.value.theme && (g[a.value.theme] = !0), g;
2769
- }), c = E(() => {
2770
- const y = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, b = {
2769
+ }), c = P(() => {
2770
+ const y = `f-icon-${a.value && a.value.type ? a.value.type.replace("toasty-type-", "") : "default"}`, C = {
2771
2771
  "f-icon": !0
2772
2772
  };
2773
- return b[y] = !0, b;
2774
- }), p = E(() => a.value.title || a.value.message), l = E(() => e.showCloseButton), d = E(() => !!a.value.buttons || !!t.slots.default), v = E(() => n.value === "en" ? {
2773
+ return C[y] = !0, C;
2774
+ }), p = P(() => a.value.title || a.value.message), l = P(() => e.showCloseButton), d = P(() => !!a.value.buttons || !!t.slots.default), v = P(() => n.value === "en" ? {
2775
2775
  wordBreak: "keep-all",
2776
2776
  overflowWrap: "break-word"
2777
2777
  } : {});
@@ -2780,7 +2780,7 @@ const Xi = {
2780
2780
  t.emit("close", a.value);
2781
2781
  }, 200);
2782
2782
  }
2783
- function S(g, C) {
2783
+ function S(g, b) {
2784
2784
  }
2785
2785
  function I(g) {
2786
2786
  return `f-preten-link ${g.customClass ? g.customClass : ""}`;
@@ -2792,10 +2792,10 @@ const Xi = {
2792
2792
  var g;
2793
2793
  return x(Oe, null, [x("div", {
2794
2794
  class: "after-toast-msg text-right"
2795
- }, [!t.slots.default && ((g = a.value.buttons) == null ? void 0 : g.map((C) => x("span", {
2796
- class: I(C),
2795
+ }, [!t.slots.default && ((g = a.value.buttons) == null ? void 0 : g.map((b) => x("span", {
2796
+ class: I(b),
2797
2797
  onClick: (y) => void 0
2798
- }, [C.text]))), t.slots.default && t.slots.default()])]);
2798
+ }, [b.text]))), t.slots.default && t.slots.default()])]);
2799
2799
  };
2800
2800
  return () => x("div", {
2801
2801
  class: m.value,
@@ -2840,14 +2840,14 @@ const Xi = {
2840
2840
  props: Xi,
2841
2841
  emits: ["close", "empty"],
2842
2842
  setup(e, t) {
2843
- const n = E(() => ({
2843
+ const n = P(() => ({
2844
2844
  "farris-notify": !0
2845
2845
  })), o = {
2846
2846
  left: 12,
2847
2847
  right: 12,
2848
2848
  top: 20,
2849
2849
  bottom: 12
2850
- }, i = w(), r = w(e.options), a = w(e.showCloseButton), f = E(() => e.position || "bottom-right"), s = E(() => e.timeout != null ? e.timeout : 3e3), u = E(() => {
2850
+ }, i = w(), r = w(e.options), a = w(e.showCloseButton), f = P(() => e.position || "bottom-right"), s = P(() => e.timeout != null ? e.timeout : 3e3), u = P(() => {
2851
2851
  const p = e.bottom ? e.bottom : o.bottom, l = e.top ? e.top : o.top, d = {
2852
2852
  transition: "all 0.2s ease",
2853
2853
  left: f.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -3165,15 +3165,15 @@ function Ki(e, t, n, o, i, r, a, f, s, u, m, c, p, l, d, v, h) {
3165
3165
  hasLeftFixedColumn: O,
3166
3166
  hasRightFixedColumn: g
3167
3167
  } = a, {
3168
- gridDataStyle: C,
3168
+ gridDataStyle: b,
3169
3169
  leftFixedGridDataStyle: y,
3170
- rightFixedGridDataStyle: b
3170
+ rightFixedGridDataStyle: C
3171
3171
  } = l, {
3172
3172
  renderDataRow: F
3173
3173
  } = ao(e, t, I, h, f, s, u, m, c, p, l, d, v), k = [F];
3174
- function B(D, G) {
3175
- const Z = S(D);
3176
- return h.value.filter((L) => L.visible !== !1).map((L, R) => k[L.type](L, Z, G, R));
3174
+ function B(z, X) {
3175
+ const Z = S(z);
3176
+ return h.value.filter((L) => L.visible !== !1).map((L, V) => k[L.type](L, Z, X, V));
3177
3177
  }
3178
3178
  function T() {
3179
3179
  return x("div", {
@@ -3182,32 +3182,32 @@ function Ki(e, t, n, o, i, r, a, f, s, u, m, c, p, l, d, v, h) {
3182
3182
  }, [x("div", {
3183
3183
  class: "fv-grid-data",
3184
3184
  style: y.value
3185
- }, [B(I.value.leftColumns.filter((D) => D.visible), "left")])]);
3185
+ }, [B(I.value.leftColumns.filter((z) => z.visible), "left")])]);
3186
3186
  }
3187
- function j() {
3187
+ function N() {
3188
3188
  return x("div", {
3189
3189
  ref: n,
3190
3190
  class: "fv-grid-content-primary"
3191
3191
  }, [x("div", {
3192
3192
  class: "fv-grid-data",
3193
- style: C.value
3194
- }, [B(I.value.primaryColumns.filter((D) => D.visible), "primary")])]);
3193
+ style: b.value
3194
+ }, [B(I.value.primaryColumns.filter((z) => z.visible), "primary")])]);
3195
3195
  }
3196
- function z() {
3196
+ function A() {
3197
3197
  return x("div", {
3198
3198
  ref: i,
3199
3199
  class: "fv-grid-content-right-fixed"
3200
3200
  }, [x("div", {
3201
3201
  class: "fv-grid-data",
3202
- style: b.value
3203
- }, [B(I.value.rightColumns.filter((D) => D.visible), "right")])]);
3202
+ style: C.value
3203
+ }, [B(I.value.rightColumns.filter((z) => z.visible), "right")])]);
3204
3204
  }
3205
- function V() {
3206
- const D = [];
3207
- return O.value && D.push(T()), D.push(j()), g.value && D.push(z()), D;
3205
+ function j() {
3206
+ const z = [];
3207
+ return O.value && z.push(T()), z.push(N()), g.value && z.push(A()), z;
3208
3208
  }
3209
3209
  return {
3210
- renderDataArea: V
3210
+ renderDataArea: j
3211
3211
  };
3212
3212
  }
3213
3213
  const er = /* @__PURE__ */ Fe({
@@ -3222,36 +3222,36 @@ const er = /* @__PURE__ */ Fe({
3222
3222
  collapseField: O
3223
3223
  } = I, {
3224
3224
  showLoading: g,
3225
- renderLoading: C
3225
+ renderLoading: b
3226
3226
  } = fo(e, s), y = po(e, /* @__PURE__ */ new Map(), S, I, a), {
3227
- dataView: b
3227
+ dataView: C
3228
3228
  } = y, F = mo(e, y, a, l, t), {
3229
3229
  showSelection: k,
3230
3230
  selectedValues: B
3231
- } = F, T = vo(e, l, y, a, F, t), j = E(() => e.disabled), z = E(() => e.virtualized ? Math.min(y.dataView.value.length, i.value) : y.dataView.value.length), V = go(e, y), {
3232
- shouldRenderPagination: D
3233
- } = V, {
3234
- containerStyleObject: G
3231
+ } = F, T = vo(e, l, y, a, F, t), N = P(() => e.disabled), A = P(() => e.virtualized ? Math.min(y.dataView.value.length, i.value) : y.dataView.value.length), j = go(e, y), {
3232
+ shouldRenderPagination: z
3233
+ } = j, {
3234
+ containerStyleObject: X
3235
3235
  } = ho(e), Z = yo(e), {
3236
3236
  applyCommands: L
3237
3237
  } = Z;
3238
3238
  L(r);
3239
3239
  const {
3240
- applyColumnSetting: R,
3240
+ applyColumnSetting: V,
3241
3241
  removeColumnSetting: Y
3242
3242
  } = bo(e);
3243
- e.showSetting && R(r);
3243
+ e.showSetting && V(r);
3244
3244
  const U = Co(e, t), te = wo(e), {
3245
3245
  applyColumnSorter: he,
3246
3246
  columnContext: ye,
3247
3247
  updateColumnRenderContext: Q
3248
3248
  } = U;
3249
3249
  he(y, te);
3250
- const ie = xo(e, ye), ue = Fo(e, t, F, a), ne = So(e, t, a, ue, l), q = To(e), oe = ko(e, ne, q), ze = Io(e, y, ne, I, a, q, oe), Ve = Mo(e, r, y, z, 0, ze), {
3250
+ const ie = xo(e, ye), ue = Fo(e, t, F, a), ne = So(e, t, a, ue, l), q = To(e), oe = ko(e, ne, q), ze = Io(e, y, ne, I, a, q, oe), Ve = Mo(e, r, y, A, 0, ze), {
3251
3251
  getVisualData: ke
3252
3252
  } = Ve, tt = Bo(e, ye), qe = Eo(e, F), {
3253
3253
  sidebarWidth: We
3254
- } = qe, ce = Po(e, y, l, ye, Ve, z, 0, We), {
3254
+ } = qe, ce = Po(e, y, l, ye, Ve, A, 0, We), {
3255
3255
  onWheel: rt,
3256
3256
  dataGridWidth: Ie,
3257
3257
  viewPortHeight: Re,
@@ -3260,15 +3260,15 @@ const er = /* @__PURE__ */ Fe({
3260
3260
  updateVisibleRowsOnLatestVisibleScope: at
3261
3261
  } = ce, _e = Oo(e, ye, u, Ne, ie), {
3262
3262
  calculateColumnsSize: Pe
3263
- } = _e, je = Vo(), nt = Ro(u, p, y, je, ce), P = No(e, t, U, y, ie, h, ce), J = E(() => {
3264
- const H = {
3263
+ } = _e, je = Vo(), nt = Ro(u, p, y, je, ce), E = No(e, t, U, y, ie, h, ce), J = P(() => {
3264
+ const D = {
3265
3265
  "fv-grid": !0,
3266
3266
  "fv-grid-bordered": e.showBorder,
3267
3267
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
3268
3268
  "fv-datagrid-strip": e.showStripe
3269
3269
  };
3270
- return Jn(H, e.customClass);
3271
- }), le = E(() => ({
3270
+ return Jn(D, e.customClass);
3271
+ }), le = P(() => ({
3272
3272
  "fv-grid-content": !0,
3273
3273
  "fv-grid-content-hover": d.value,
3274
3274
  "fv-grid-wrap-content": v.value
@@ -3278,7 +3278,7 @@ const er = /* @__PURE__ */ Fe({
3278
3278
  renderGridHeader: Le,
3279
3279
  renderGridColumnResizeOverlay: lt,
3280
3280
  shouldShowHeader: Mt
3281
- } = $o(e, t, u, c, p, U, y, P, nt, S, je, _e, ie, F, qe, te, ce, Ne, l), {
3281
+ } = $o(e, t, u, c, p, U, y, E, nt, S, je, _e, ie, F, qe, te, ce, Ne, l), {
3282
3282
  renderDataGridSidebar: Bt
3283
3283
  } = jo(e, ue, F, qe, ce), {
3284
3284
  renderDisableMask: Et
@@ -3288,76 +3288,76 @@ const er = /* @__PURE__ */ Fe({
3288
3288
  renderVerticalScrollbar: Ot
3289
3289
  } = Ho(e, u, ce);
3290
3290
  function Vt() {
3291
- var H, X, fe;
3292
- if (u.value && u.value.clientHeight > 0 && ((H = u.value) == null ? void 0 : H.clientWidth) > 0) {
3291
+ var D, G, fe;
3292
+ if (u.value && u.value.clientHeight > 0 && ((D = u.value) == null ? void 0 : D.clientWidth) > 0) {
3293
3293
  const ge = Math.ceil(u.value.clientHeight / o);
3294
- ge > i.value && (i.value = ge, at()), Re.value = ((X = m.value) == null ? void 0 : X.clientHeight) || 0, Ie.value = ((fe = u.value) == null ? void 0 : fe.clientWidth) || 0, Pe();
3294
+ ge > i.value && (i.value = ge, at()), Re.value = ((G = m.value) == null ? void 0 : G.clientHeight) || 0, Ie.value = ((fe = u.value) == null ? void 0 : fe.clientWidth) || 0, Pe();
3295
3295
  }
3296
3296
  }
3297
3297
  Ue(() => {
3298
- u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), l.value = ke(0, z.value + 0 - 1), ro(u.value, Vt), Pe(), Ze(() => {
3298
+ u.value && (i.value = Math.max(Math.ceil(u.value.clientHeight / o), i.value), l.value = ke(0, A.value + 0 - 1), ro(u.value, Vt), Pe(), Ze(() => {
3299
3299
  u.value && (Ie.value = u.value.clientWidth), m.value && (Ne.value = m.value.clientWidth, Re.value = m.value.clientHeight);
3300
- })), g.value && C();
3300
+ })), g.value && b();
3301
3301
  }), ft(() => {
3302
3302
  }), re(Ne, () => {
3303
3303
  u.value && Pe();
3304
3304
  });
3305
- function Rt(H) {
3306
- y.collapseTo(H), y.reOrderVisibleIndex(), $e();
3305
+ function Rt(D) {
3306
+ y.collapseTo(D), y.reOrderVisibleIndex(), $e();
3307
3307
  }
3308
- function mt(H) {
3309
- y.expandTo(H), y.reOrderVisibleIndex(), $e();
3308
+ function mt(D) {
3309
+ y.expandTo(D), y.reOrderVisibleIndex(), $e();
3310
3310
  }
3311
3311
  function st() {
3312
- const H = F.getSelectionRow();
3313
- return H ? H.dataIndex - 1 : -1;
3312
+ const D = F.getSelectionRow();
3313
+ return D ? D.dataIndex - 1 : -1;
3314
3314
  }
3315
3315
  function Nt() {
3316
- const H = st();
3317
- y.insertNewDataItem(H), l.value = ke(0, z.value + 0 - 1);
3316
+ const D = st();
3317
+ y.insertNewDataItem(D), l.value = ke(0, A.value + 0 - 1);
3318
3318
  }
3319
3319
  function $t() {
3320
- const H = st();
3321
- y.insertNewChildDataItem(H), l.value = ke(0, z.value + 0 - 1);
3320
+ const D = st();
3321
+ y.insertNewChildDataItem(D), l.value = ke(0, A.value + 0 - 1);
3322
3322
  }
3323
- function jt(H, X) {
3324
- const fe = l.value.find((xe) => xe.raw[f.value] === X), ge = fe ? fe.dataIndex - 1 : -1;
3325
- y.insertNewChildDataItems(H, ge);
3323
+ function jt(D, G) {
3324
+ const fe = l.value.find((xe) => xe.raw[f.value] === G), ge = fe ? fe.dataIndex - 1 : -1;
3325
+ y.insertNewChildDataItems(D, ge);
3326
3326
  }
3327
3327
  function Lt() {
3328
- const H = st(), X = T.getNextSelectableHierarchyItemId(H);
3329
- y.removeHierarchyDataItem(H), l.value = ke(0, z.value + 0 - 1), X && F.selectItemById(X);
3328
+ const D = st(), G = T.getNextSelectableHierarchyItemId(D);
3329
+ y.removeHierarchyDataItem(D), l.value = ke(0, A.value + 0 - 1), G && F.selectItemById(G);
3330
3330
  }
3331
- function vt(H) {
3332
- ne.onEditingRow(H);
3331
+ function vt(D) {
3332
+ ne.onEditingRow(D);
3333
3333
  }
3334
- function At(H) {
3335
- ne.acceptEditingRow(H);
3334
+ function At(D) {
3335
+ ne.acceptEditingRow(D);
3336
3336
  }
3337
- function M(H) {
3338
- ne.cancelEditingRow(H);
3337
+ function M(D) {
3338
+ ne.cancelEditingRow(D);
3339
3339
  }
3340
- function N(H) {
3341
- H && (r.value = H, L(r), Q(r.value), he(y, te), Pe());
3340
+ function R(D) {
3341
+ D && (r.value = D, L(r), Q(r.value), he(y, te), Pe());
3342
3342
  }
3343
- re(() => e.columns, (H) => {
3344
- N(H);
3343
+ re(() => e.columns, (D) => {
3344
+ R(D);
3345
3345
  });
3346
- function A(H, X) {
3347
- H && (y.load(H), y.reOrderVisibleIndex(), X != null && X.keepScrollPosition ? ce.scrollTo(ce.offsetY.value) : $e());
3346
+ function H(D, G) {
3347
+ D && (y.load(D), y.reOrderVisibleIndex(), G != null && G.keepScrollPosition ? ce.scrollTo(ce.offsetY.value) : $e());
3348
3348
  }
3349
- function W(H) {
3350
- F.selectItemById(H);
3349
+ function W(D) {
3350
+ F.selectItemById(D);
3351
3351
  }
3352
- function K(H) {
3353
- const X = l.value.find((fe) => fe.raw[a.idField.value] === H);
3354
- X && ue.clickRowItem(X);
3352
+ function K(D) {
3353
+ const G = l.value.find((fe) => fe.raw[a.idField.value] === D);
3354
+ G && ue.clickRowItem(G);
3355
3355
  }
3356
- function ee(H) {
3357
- ue.activeRowById(H);
3356
+ function ee(D) {
3357
+ ue.activeRowById(D);
3358
3358
  }
3359
- function Se(H) {
3360
- F.selectItemByIds(H);
3359
+ function Se(D) {
3360
+ F.selectItemByIds(D);
3361
3361
  }
3362
3362
  function be() {
3363
3363
  return F.getSelectedItems();
@@ -3365,23 +3365,23 @@ const er = /* @__PURE__ */ Fe({
3365
3365
  function Ce() {
3366
3366
  F.clearSelection();
3367
3367
  }
3368
- const Me = E(() => !l.value || !l.value.length), {
3368
+ const Me = P(() => !l.value || !l.value.length), {
3369
3369
  renderEmpty: de
3370
3370
  } = Do(e, t);
3371
3371
  function Be() {
3372
3372
  return F.getSelectionRow();
3373
3373
  }
3374
- function we(H) {
3375
- F.unSelectItemByIds(H);
3374
+ function we(D) {
3375
+ F.unSelectItemByIds(D);
3376
3376
  }
3377
3377
  function ve() {
3378
3378
  return F.currentSelectedDataId.value;
3379
3379
  }
3380
- function ut(H, X, fe) {
3381
- const ge = b.value.find((xe) => xe[f.value] === H);
3380
+ function ut(D, G, fe) {
3381
+ const ge = C.value.find((xe) => xe[f.value] === D);
3382
3382
  if (ge) {
3383
3383
  if (Object.keys(ge).forEach((pe) => {
3384
- Object.prototype.hasOwnProperty.call(X, pe) && (ge[pe] = X[pe]);
3384
+ Object.prototype.hasOwnProperty.call(G, pe) && (ge[pe] = G[pe]);
3385
3385
  }), fe) {
3386
3386
  const {
3387
3387
  collapseField: pe,
@@ -3389,9 +3389,9 @@ const er = /* @__PURE__ */ Fe({
3389
3389
  checkedField: Xe,
3390
3390
  visibleField: Ye
3391
3391
  } = fe;
3392
- pe && !Ae(X[pe]) && (ge.__fv_collapse__ = X[pe]), Xe && !Ae(X[Xe]) && (ge.__fv_checked__ = X[Xe]), Ge && !Ae(X[Ge]) && (ge.__fv_disabled__ = X[Ge]), Ye && !Ae(X[Ye]) && (ge.__fv_visible__ = X[Ye]);
3392
+ pe && !Ae(G[pe]) && (ge.__fv_collapse__ = G[pe]), Xe && !Ae(G[Xe]) && (ge.__fv_checked__ = G[Xe]), Ge && !Ae(G[Ge]) && (ge.__fv_disabled__ = G[Ge]), Ye && !Ae(G[Ye]) && (ge.__fv_visible__ = G[Ye]);
3393
3393
  }
3394
- const xe = l.value.find((pe) => pe.raw[f.value] === H), Jt = l.value.findIndex((pe) => pe.raw[f.value] === H);
3394
+ const xe = l.value.find((pe) => pe.raw[f.value] === D), Jt = l.value.findIndex((pe) => pe.raw[f.value] === D);
3395
3395
  if (xe) {
3396
3396
  if (xe.raw = ge, Object.keys(xe.data).forEach((pe) => {
3397
3397
  xe.data[pe].updateData(ge);
@@ -3402,30 +3402,30 @@ const er = /* @__PURE__ */ Fe({
3402
3402
  checkedField: Xe,
3403
3403
  visibleField: Ye
3404
3404
  } = fe;
3405
- pe && !Ae(X[pe]) && (xe.collapse = X[pe]), Xe && !Ae(X[Xe]) && (xe.checked = X[Xe]), Ge && !Ae(X[Ge]) && (xe.disabled = X[Ge]), Ye && !Ae(X[Ye]) && (xe.visible = X[Ye]);
3405
+ pe && !Ae(G[pe]) && (xe.collapse = G[pe]), Xe && !Ae(G[Xe]) && (xe.checked = G[Xe]), Ge && !Ae(G[Ge]) && (xe.disabled = G[Ge]), Ye && !Ae(G[Ye]) && (xe.visible = G[Ye]);
3406
3406
  }
3407
3407
  l.value = [...l.value.slice(0, Jt), xe, ...l.value.slice(Jt + 1)], y.updateSummary();
3408
3408
  }
3409
3409
  }
3410
3410
  }
3411
- function ct(H) {
3412
- return Object.prototype.hasOwnProperty.call(H, "raw") ? y.hasRealChildren(H.raw) : y.hasRealChildren(H);
3411
+ function ct(D) {
3412
+ return Object.prototype.hasOwnProperty.call(D, "raw") ? y.hasRealChildren(D.raw) : y.hasRealChildren(D);
3413
3413
  }
3414
- function dt(H) {
3415
- const X = y.dataView.value.find((fe) => fe[f.value] === H);
3416
- return X ? X[O.value] : "";
3414
+ function dt(D) {
3415
+ const G = y.dataView.value.find((fe) => fe[f.value] === D);
3416
+ return G ? G[O.value] : "";
3417
3417
  }
3418
3418
  function Bn() {
3419
3419
  return O.value;
3420
3420
  }
3421
- re(() => e.showSetting, (H, X) => {
3422
- H !== X && (H ? R(r) : Y(r), N(r.value));
3421
+ re(() => e.showSetting, (D, G) => {
3422
+ D !== G && (D ? V(r) : Y(r), R(r.value));
3423
3423
  });
3424
- function En(H) {
3425
- return l.value.filter((X) => H.includes(X.raw[e.idField]));
3424
+ function En(D) {
3425
+ return l.value.filter((G) => D.includes(G.raw[e.idField]));
3426
3426
  }
3427
- function Pn(H) {
3428
- const X = a.idField.value, fe = l.value.find((ge) => ge.raw[X] === H);
3427
+ function Pn(D) {
3428
+ const G = a.idField.value, fe = l.value.find((ge) => ge.raw[G] === D);
3429
3429
  fe && ue.selectRow(fe);
3430
3430
  }
3431
3431
  function On() {
@@ -3442,8 +3442,8 @@ const er = /* @__PURE__ */ Fe({
3442
3442
  editDataItem: vt,
3443
3443
  acceptDataItem: At,
3444
3444
  cancelDataItem: M,
3445
- updateColumns: N,
3446
- updateDataSource: A,
3445
+ updateColumns: R,
3446
+ updateDataSource: H,
3447
3447
  selectItemById: W,
3448
3448
  selectItemByIds: Se,
3449
3449
  getSelectedItems: be,
@@ -3460,20 +3460,20 @@ const er = /* @__PURE__ */ Fe({
3460
3460
  selectRowById: Pn,
3461
3461
  updateDerivedData: On
3462
3462
  });
3463
- const Vn = E(() => {
3464
- const H = {};
3465
- return ce.shouldShowHorizontalScrollbar.value && (H.paddingBottom = "10px"), ce.shouldShowVirticalScrollbar.value && (H.paddingRight = "10px"), H;
3466
- }), Rn = E(() => ({
3467
- ...G.value,
3463
+ const Vn = P(() => {
3464
+ const D = {};
3465
+ return ce.shouldShowHorizontalScrollbar.value && (D.paddingBottom = "10px"), ce.shouldShowVirticalScrollbar.value && (D.paddingRight = "10px"), D;
3466
+ }), Rn = P(() => ({
3467
+ ...X.value,
3468
3468
  borderRadius: "5px"
3469
3469
  }));
3470
- Uo(e, t, y, ce, V, F);
3471
- const Nn = E(() => ({
3470
+ Uo(e, t, y, ce, j, F);
3471
+ const Nn = P(() => ({
3472
3472
  "d-flex": !0,
3473
- "justify-content-between": D.value && k.value,
3474
- "justify-content-end": D.value && !k.value,
3473
+ "justify-content-between": z.value && k.value,
3474
+ "justify-content-end": z.value && !k.value,
3475
3475
  "position-relative": !0
3476
- })), $n = E(() => ({
3476
+ })), $n = P(() => ({
3477
3477
  "d-flex": !0,
3478
3478
  "align-items-center": !0
3479
3479
  })), {
@@ -3494,7 +3494,7 @@ const er = /* @__PURE__ */ Fe({
3494
3494
  class: Nn.value
3495
3495
  }, [k.value && x("div", {
3496
3496
  class: $n.value
3497
- }, [x("div", null, ["已选:" + B.value.length, Te(" 条")])])]), lt(), j.value && Et()]);
3497
+ }, [x("div", null, ["已选:" + B.value.length, Te(" 条")])])]), lt(), N.value && Et()]);
3498
3498
  }
3499
3499
  });
3500
3500
  Zn(er);
@@ -4070,7 +4070,7 @@ function Kr() {
4070
4070
  return { onCopy: e };
4071
4071
  }
4072
4072
  function ea(e, t, n, o) {
4073
- const i = w(14), r = w(140), a = w(""), f = w(o.value.length), s = E(() => o.value), u = E(() => ({
4073
+ const i = w(14), r = w(140), a = w(""), f = w(o.value.length), s = P(() => o.value), u = P(() => ({
4074
4074
  "font-size": `${i.value}px`,
4075
4075
  height: "100%"
4076
4076
  }));
@@ -4104,7 +4104,7 @@ function ta(e, t, n, o) {
4104
4104
  function na() {
4105
4105
  const e = w(!1), t = w("复制成功");
4106
4106
  return {
4107
- feedbackStyle: E(() => {
4107
+ feedbackStyle: P(() => {
4108
4108
  const o = {
4109
4109
  position: "absolute",
4110
4110
  left: "50%",
@@ -4158,13 +4158,13 @@ function ia(e, t) {
4158
4158
  }
4159
4159
  return "";
4160
4160
  }
4161
- const i = E(() => !!e.value && !!e.value.date), r = E(() => {
4161
+ const i = P(() => !!e.value && !!e.value.date), r = P(() => {
4162
4162
  const l = e.value && e.value.date || "";
4163
4163
  return `${t.exception.happend} : ${l}`;
4164
- }), a = E(() => !!e.value && !!e.value.detail), f = E(() => e.value ? n(e.value.detail) > 160 : !1), s = w(!1), u = E(() => s.value ? t.exception.collapse : t.exception.expand), m = E(() => {
4164
+ }), a = P(() => !!e.value && !!e.value.detail), f = P(() => e.value ? n(e.value.detail) > 160 : !1), s = w(!1), u = P(() => s.value ? t.exception.collapse : t.exception.expand), m = P(() => {
4165
4165
  const l = t.exception.detail + " : " + (e.value && e.value.detail) || "";
4166
4166
  return s.value ? l : o(l, 160);
4167
- }), c = E(() => ({
4167
+ }), c = P(() => ({
4168
4168
  position: "absolute",
4169
4169
  right: 0,
4170
4170
  bottom: s.value ? 0 : "2px",
@@ -4194,16 +4194,16 @@ function ra(e) {
4194
4194
  }, null);
4195
4195
  }
4196
4196
  function aa(e, t, n, o, i) {
4197
- const r = w(e.exceptionInfo), a = E(() => {
4197
+ const r = w(e.exceptionInfo), a = P(() => {
4198
4198
  const d = t.value === "question" ? "warning" : t.value, v = {
4199
4199
  "f-icon": !0
4200
4200
  }, h = `f-icon-${d}`;
4201
4201
  return v[h] = !0, v;
4202
- }), f = E(() => n.value || r.value && r.value.message), s = E(() => o.value), u = E(() => !!o.value), m = E(() => !!r.value);
4202
+ }), f = P(() => n.value || r.value && r.value.message), s = P(() => o.value), u = P(() => !!o.value), m = P(() => !!r.value);
4203
4203
  function c() {
4204
4204
  return m.value ? ia(r, i) : u.value ? ra(s) : () => null;
4205
4205
  }
4206
- const p = c(), l = E(() => i.locale === "en" ? {
4206
+ const p = c(), l = P(() => i.locale === "en" ? {
4207
4207
  wordBreak: "keep-all",
4208
4208
  overflowWrap: "break-word"
4209
4209
  } : {});
@@ -4228,7 +4228,7 @@ function la(e, t, n, o) {
4228
4228
  date: "",
4229
4229
  message: "",
4230
4230
  detail: ""
4231
- }), u = E(() => s.value && s.value.detail || "");
4231
+ }), u = P(() => s.value && s.value.detail || "");
4232
4232
  function m(c) {
4233
4233
  i(u.value).catch((p) => {
4234
4234
  a.value = o.exception.copyFailed || "复制失败";
@@ -4246,7 +4246,7 @@ function la(e, t, n, o) {
4246
4246
  }, [f.value])]);
4247
4247
  }
4248
4248
  function sa(e, t, n, o, i) {
4249
- const r = w(e.type), a = w(e.buttons), f = w(e.exceptionInfo), s = w(i.ok || e.okButtonText), u = w(i.cancel || e.cancelButtonText), m = w(e.showCancelButton), c = w(e.showOkButton), p = E(() => !!(a.value && a.value.length)), l = E(() => f.value && f.value.message && f.value.detail), d = E(() => !(a.value && a.value.length) && (c.value || m.value)), v = la(e, n, o, i);
4249
+ const r = w(e.type), a = w(e.buttons), f = w(e.exceptionInfo), s = w(i.ok || e.okButtonText), u = w(i.cancel || e.cancelButtonText), m = w(e.showCancelButton), c = w(e.showOkButton), p = P(() => !!(a.value && a.value.length)), l = P(() => f.value && f.value.message && f.value.detail), d = P(() => !(a.value && a.value.length) && (c.value || m.value)), v = la(e, n, o, i);
4250
4250
  s.value === "关闭" ? s.value = i.close : s.value === "知道了" && (s.value = i.exception.roger);
4251
4251
  function h(I) {
4252
4252
  r.value === "question" && t.emit("reject"), t.emit("close");
@@ -4303,14 +4303,14 @@ const Ct = /* @__PURE__ */ Fe({
4303
4303
  props: Yr,
4304
4304
  emits: ["accept", "reject", "close"],
4305
4305
  setup(e, t) {
4306
- const n = ua(e), o = w(e.type), i = w(e.title), r = w(e.detail), a = E(() => {
4306
+ const n = ua(e), o = w(e.type), i = w(e.title), r = w(e.detail), a = P(() => {
4307
4307
  const S = {
4308
4308
  "modal-tips": !0,
4309
4309
  "d-flex": !0,
4310
4310
  "flex-row": !0
4311
4311
  }, I = `messager-type-${o.value}`;
4312
4312
  return S[I] = !0, S;
4313
- }), f = E(() => {
4313
+ }), f = P(() => {
4314
4314
  const S = {
4315
4315
  cursor: "default"
4316
4316
  };
@@ -4649,43 +4649,43 @@ class Je {
4649
4649
  function Sa(e, t) {
4650
4650
  const n = w(), o = w(), i = w(), r = w(), a = w(), f = w(), s = w(), u = w(), m = w(), c = w(), p = w(), l = w(e.resizeable), d = w(), v = w(e.draggable), h = w(!1);
4651
4651
  function S() {
4652
- const L = o.value || document.body, R = window.getComputedStyle(L);
4653
- if (!R || !n.value)
4652
+ const L = o.value || document.body, V = window.getComputedStyle(L);
4653
+ if (!V || !n.value)
4654
4654
  return;
4655
4655
  const Y = ae.getTransformInfo(n.value), U = {};
4656
4656
  s.value && (U.deltaL = n.value.offsetLeft - s.value.x, U.deltaT = n.value.offsetTop - s.value.y);
4657
- const te = R.getPropertyValue("position");
4658
- U.width = L.clientWidth, U.height = L.clientHeight, U.pr = parseInt(R.getPropertyValue("padding-right"), 10), U.pb = parseInt(R.getPropertyValue("padding-bottom"), 10), U.position = R.getPropertyValue("position"), te === "static" && (L.style.position = "relative"), U.translateX = Y.x, U.translateY = Y.y, c.value = U;
4657
+ const te = V.getPropertyValue("position");
4658
+ U.width = L.clientWidth, U.height = L.clientHeight, U.pr = parseInt(V.getPropertyValue("padding-right"), 10), U.pb = parseInt(V.getPropertyValue("padding-bottom"), 10), U.position = V.getPropertyValue("position"), te === "static" && (L.style.position = "relative"), U.translateX = Y.x, U.translateY = Y.y, c.value = U;
4659
4659
  }
4660
4660
  function I(L) {
4661
4661
  if (n.value) {
4662
4662
  r.value = Je.getCurrent(n.value), a.value = ae.getCurrent(n.value), f.value = r.value ? Je.copy(r.value) : null, s.value = a.value ? ae.copy(a.value) : null, S();
4663
- const R = L.target.getAttribute("type") || "";
4663
+ const V = L.target.getAttribute("type") || "";
4664
4664
  u.value = {
4665
- n: !!R.match(/n/),
4666
- s: !!R.match(/s/),
4667
- w: !!R.match(/w/),
4668
- e: !!R.match(/e/)
4665
+ n: !!V.match(/n/),
4666
+ s: !!V.match(/s/),
4667
+ w: !!V.match(/w/),
4668
+ e: !!V.match(/e/)
4669
4669
  };
4670
4670
  }
4671
4671
  }
4672
4672
  function O() {
4673
- var L, R, Y, U;
4673
+ var L, V, Y, U;
4674
4674
  if (n.value) {
4675
4675
  const te = n.value;
4676
- u.value && ((u.value.n || u.value.s) && ((L = f.value) != null && L.height) && (te.style.height = f.value.height + "px"), (u.value.w || u.value.e) && ((R = f.value) != null && R.width) && (te.style.width = f.value.width + "px"), s.value && ((Y = s.value) != null && Y.x && (te.style.left = s.value.x + "px"), (U = s.value) != null && U.y && (te.style.top = s.value.y + "px")));
4676
+ u.value && ((u.value.n || u.value.s) && ((L = f.value) != null && L.height) && (te.style.height = f.value.height + "px"), (u.value.w || u.value.e) && ((V = f.value) != null && V.width) && (te.style.width = f.value.width + "px"), s.value && ((Y = s.value) != null && Y.x && (te.style.left = s.value.x + "px"), (U = s.value) != null && U.y && (te.style.top = s.value.y + "px")));
4677
4677
  }
4678
4678
  }
4679
4679
  function g() {
4680
- const L = e.minHeight ? e.minHeight : 1, R = e.minWidth ? e.minWidth : 1;
4681
- f.value && s.value && u.value && r.value && (f.value.height < L && (f.value.height = L, u.value.n && a.value && (s.value.y = a.value.y + (r.value.height - L))), f.value.width < R && (f.value.width = R, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - R))), e.maxHeight && f.value.height > e.maxHeight && (f.value.height = e.maxHeight, a.value && u.value.n && (s.value.y = a.value.y + (r.value.height - e.maxHeight))), e.maxWidth && f.value.width > e.maxWidth && (f.value.width = e.maxWidth, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - e.maxWidth))));
4680
+ const L = e.minHeight ? e.minHeight : 1, V = e.minWidth ? e.minWidth : 1;
4681
+ f.value && s.value && u.value && r.value && (f.value.height < L && (f.value.height = L, u.value.n && a.value && (s.value.y = a.value.y + (r.value.height - L))), f.value.width < V && (f.value.width = V, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - V))), e.maxHeight && f.value.height > e.maxHeight && (f.value.height = e.maxHeight, a.value && u.value.n && (s.value.y = a.value.y + (r.value.height - e.maxHeight))), e.maxWidth && f.value.width > e.maxWidth && (f.value.width = e.maxWidth, u.value.w && a.value && (s.value.x = a.value.x + (r.value.width - e.maxWidth))));
4682
4682
  }
4683
- function C() {
4683
+ function b() {
4684
4684
  if (o.value) {
4685
4685
  const L = c.value;
4686
4686
  if (s.value && f.value && u.value && r.value) {
4687
- const R = L.width - L.pr - L.deltaL - L.translateX - s.value.x, Y = L.height - L.pb - L.deltaT - L.translateY - s.value.y;
4688
- u.value.n && s.value.y + L.translateY < 0 && a.value && (s.value.y = -L.translateY, f.value.height = r.value.height + a.value.y + L.translateY), u.value.w && s.value.x + L.translateX < 0 && a.value && (s.value.x = -L.translateX, f.value.width = r.value.width + a.value.x + L.translateX), f.value.width > R && (f.value.width = R), f.value.height > Y && (f.value.height = Y);
4687
+ const V = L.width - L.pr - L.deltaL - L.translateX - s.value.x, Y = L.height - L.pb - L.deltaT - L.translateY - s.value.y;
4688
+ u.value.n && s.value.y + L.translateY < 0 && a.value && (s.value.y = -L.translateY, f.value.height = r.value.height + a.value.y + L.translateY), u.value.w && s.value.x + L.translateX < 0 && a.value && (s.value.x = -L.translateX, f.value.width = r.value.width + a.value.x + L.translateX), f.value.width > V && (f.value.width = V), f.value.height > Y && (f.value.height = Y);
4689
4689
  }
4690
4690
  }
4691
4691
  }
@@ -4693,27 +4693,27 @@ function Sa(e, t) {
4693
4693
  if (!i.value || !r.value || !a.value || !u.value)
4694
4694
  return;
4695
4695
  L.subtract(i.value);
4696
- const R = L.x, Y = L.y;
4697
- u.value.n ? (s.value.y = a.value.y + Y, f.value.height = r.value.height - Y) : u.value.s && (f.value.height = r.value.height + Y), u.value.e ? f.value.width = r.value.width + R : u.value.w && (f.value.width = r.value.width - R, s.value.x = a.value.x + R), C(), g(), O();
4696
+ const V = L.x, Y = L.y;
4697
+ u.value.n ? (s.value.y = a.value.y + Y, f.value.height = r.value.height - Y) : u.value.s && (f.value.height = r.value.height + Y), u.value.e ? f.value.width = r.value.width + V : u.value.w && (f.value.width = r.value.width - V, s.value.x = a.value.x + V), b(), g(), O();
4698
4698
  }
4699
- function b(L) {
4699
+ function C(L) {
4700
4700
  if (!m.value)
4701
4701
  return;
4702
- const R = ae.fromEvent(L);
4703
- R && y(R);
4702
+ const V = ae.fromEvent(L);
4703
+ V && y(V);
4704
4704
  }
4705
4705
  function F() {
4706
4706
  if (n.value) {
4707
4707
  const {
4708
4708
  width: L,
4709
- height: R,
4709
+ height: V,
4710
4710
  x: Y,
4711
4711
  y: U
4712
4712
  } = n.value.getBoundingClientRect(), te = ae.getTransformInfo(n.value);
4713
4713
  return {
4714
4714
  size: {
4715
4715
  width: L,
4716
- height: R
4716
+ height: V
4717
4717
  },
4718
4718
  position: {
4719
4719
  x: Y - te.x,
@@ -4725,55 +4725,55 @@ function Sa(e, t) {
4725
4725
  }
4726
4726
  function k(L) {
4727
4727
  if (n.value) {
4728
- const R = F();
4729
- p.value = R;
4728
+ const V = F();
4729
+ p.value = V;
4730
4730
  }
4731
- i.value = void 0, r.value = null, a.value = null, f.value = null, s.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", k);
4731
+ i.value = void 0, r.value = null, a.value = null, f.value = null, s.value = null, u.value = null, m.value = null, document.removeEventListener("mousemove", C), document.removeEventListener("mouseup", k);
4732
4732
  }
4733
4733
  function B() {
4734
- document.addEventListener("mousemove", b), document.addEventListener("mouseup", k);
4734
+ document.addEventListener("mousemove", C), document.addEventListener("mouseup", k);
4735
4735
  }
4736
4736
  function T(L) {
4737
4737
  L instanceof MouseEvent && L.button === 2 || v.value && (document.body.click(), L.stopPropagation(), L.preventDefault(), i.value = ae.fromEvent(L), m.value = L.target, I(L), B());
4738
4738
  }
4739
- function j(L) {
4739
+ function N(L) {
4740
4740
  return n.value = L, l.value && x(Oe, null, [x("div", {
4741
4741
  class: "fv-resizable-handle fv-resizable-n",
4742
4742
  type: "n",
4743
- onMousedown: (R) => T(R)
4743
+ onMousedown: (V) => T(V)
4744
4744
  }, null), x("div", {
4745
4745
  class: "fv-resizable-handle fv-resizable-e",
4746
4746
  type: "e",
4747
- onMousedown: (R) => T(R)
4747
+ onMousedown: (V) => T(V)
4748
4748
  }, null), x("div", {
4749
4749
  class: "fv-resizable-handle fv-resizable-s",
4750
4750
  type: "s",
4751
- onMousedown: (R) => T(R)
4751
+ onMousedown: (V) => T(V)
4752
4752
  }, null), x("div", {
4753
4753
  class: "fv-resizable-handle fv-resizable-w",
4754
4754
  type: "w",
4755
- onMousedown: (R) => T(R)
4755
+ onMousedown: (V) => T(V)
4756
4756
  }, null), x("div", {
4757
4757
  class: "fv-resizable-handle fv-resizable-ne",
4758
4758
  type: "ne",
4759
- onMousedown: (R) => T(R)
4759
+ onMousedown: (V) => T(V)
4760
4760
  }, null), x("div", {
4761
4761
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
4762
4762
  type: "se",
4763
- onMousedown: (R) => T(R)
4763
+ onMousedown: (V) => T(V)
4764
4764
  }, null), x("div", {
4765
4765
  class: "fv-resizable-handle fv-resizable-sw",
4766
4766
  type: "sw",
4767
- onMousedown: (R) => T(R)
4767
+ onMousedown: (V) => T(V)
4768
4768
  }, null), x("div", {
4769
4769
  class: "fv-resizable-handle fv-resizable-nw",
4770
4770
  type: "nw",
4771
- onMousedown: (R) => T(R)
4771
+ onMousedown: (V) => T(V)
4772
4772
  }, null)]);
4773
4773
  }
4774
- function z(L = !0) {
4774
+ function A(L = !0) {
4775
4775
  document.body.click();
4776
- const R = o.value || document.body, Y = Je.getCurrent(R), U = n.value;
4776
+ const V = o.value || document.body, Y = Je.getCurrent(V), U = n.value;
4777
4777
  L && U && (d.value = F(), d.value.transform = U.style.transform), Y && U && (f.value = Y, f.value.height -= 14, f.value.width -= 14, U.style.height = f.value.height + "px", U.style.width = f.value.width + "px", U.style.left = "7px", U.style.top = "7px", U.style.transform = "", p.value = {
4778
4778
  size: f.value,
4779
4779
  position: {
@@ -4782,8 +4782,8 @@ function Sa(e, t) {
4782
4782
  }
4783
4783
  }, v.value = !1, h.value = !0);
4784
4784
  }
4785
- function V() {
4786
- var L, R;
4785
+ function j() {
4786
+ var L, V;
4787
4787
  if (document.body.click(), d.value) {
4788
4788
  const Y = {
4789
4789
  width: d.value.size.width || 0,
@@ -4792,7 +4792,7 @@ function Sa(e, t) {
4792
4792
  x: (window.innerWidth - Y.width) / 2,
4793
4793
  y: (window.innerHeight - Y.height) / 2
4794
4794
  };
4795
- (L = f.value) == null || L.set(Y), (R = s.value) == null || R.set(U);
4795
+ (L = f.value) == null || L.set(Y), (V = s.value) == null || V.set(U);
4796
4796
  const te = n.value;
4797
4797
  te.style.height = Y.height + "px", te.style.width = Y.width + "px", te.style.left = `${U.x}px`, te.style.top = `${U.y}px`, te.style.transform = "", p.value = {
4798
4798
  size: Y,
@@ -4800,103 +4800,103 @@ function Sa(e, t) {
4800
4800
  }, v.value = e.draggable, h.value = !1;
4801
4801
  }
4802
4802
  }
4803
- function D() {
4803
+ function z() {
4804
4804
  if (n.value) {
4805
4805
  const L = Je.getCurrent(n.value);
4806
4806
  if (L) {
4807
4807
  const {
4808
- width: R,
4808
+ width: V,
4809
4809
  height: Y
4810
4810
  } = L;
4811
- n.value.style.left = `${(window.innerWidth - R) / 2}px`, n.value.style.top = `${(window.innerHeight - Y) / 2}px`, n.value.style.transform = "";
4811
+ n.value.style.left = `${(window.innerWidth - V) / 2}px`, n.value.style.top = `${(window.innerHeight - Y) / 2}px`, n.value.style.transform = "";
4812
4812
  }
4813
4813
  }
4814
4814
  }
4815
- function G() {
4815
+ function X() {
4816
4816
  const L = () => {
4817
- h.value ? z(!1) : D(), document.body.click();
4817
+ h.value ? A(!1) : z(), document.body.click();
4818
4818
  };
4819
4819
  return window.addEventListener("resize", L), () => {
4820
4820
  window.removeEventListener("resize", L);
4821
4821
  };
4822
4822
  }
4823
- const Z = G();
4823
+ const Z = X();
4824
4824
  return {
4825
- renderResizeBar: j,
4825
+ renderResizeBar: N,
4826
4826
  boundingElement: o,
4827
4827
  resizedEventParam: p,
4828
- maximize: z,
4829
- restore: V,
4828
+ maximize: A,
4829
+ restore: j,
4830
4830
  allowDrag: v,
4831
4831
  isMaximized: h,
4832
4832
  unWindowResizeHandle: Z,
4833
- moveToCenter: D
4833
+ moveToCenter: z
4834
4834
  };
4835
4835
  }
4836
4836
  function Ta(e, t, n) {
4837
4837
  const o = w(), i = w(e.draggable), r = w(e.lockAxis), a = w(), f = w(), s = w(!1), u = w(new ae(0, 0)), m = w(new ae(0, 0)), c = w(new ae(0, 0)), p = w(new ae(0, 0));
4838
- re(() => n.value, (b) => {
4839
- a.value.style.cursor = b ? "move" : "default";
4838
+ re(() => n.value, (C) => {
4839
+ a.value.style.cursor = C ? "move" : "default";
4840
4840
  });
4841
- function l(b, F) {
4841
+ function l(C, F) {
4842
4842
  if (F.tagName === "BUTTON")
4843
4843
  return !1;
4844
- if (F === b)
4844
+ if (F === C)
4845
4845
  return !0;
4846
4846
  for (const k in F.children)
4847
- if (Object.prototype.hasOwnProperty.call(F.children, k) && l(b, F.children[k]))
4847
+ if (Object.prototype.hasOwnProperty.call(F.children, k) && l(C, F.children[k]))
4848
4848
  return !0;
4849
4849
  return !1;
4850
4850
  }
4851
4851
  function d() {
4852
4852
  var B, T;
4853
- let b = c.value.x + m.value.x, F = c.value.y + m.value.y;
4854
- r.value === "x" ? (b = ((B = u.value) == null ? void 0 : B.x) || 0, c.value.x = 0) : r.value === "y" && (F = ((T = u.value) == null ? void 0 : T.y) || 0, c.value.y = 0);
4855
- const k = `translate3d(${Math.round(b)}px, ${Math.round(F)}px, 0px)`;
4856
- o.value && (o.value.style.transform = k), p.value.x = b, p.value.y = F;
4853
+ let C = c.value.x + m.value.x, F = c.value.y + m.value.y;
4854
+ r.value === "x" ? (C = ((B = u.value) == null ? void 0 : B.x) || 0, c.value.x = 0) : r.value === "y" && (F = ((T = u.value) == null ? void 0 : T.y) || 0, c.value.y = 0);
4855
+ const k = `translate3d(${Math.round(C)}px, ${Math.round(F)}px, 0px)`;
4856
+ o.value && (o.value.style.transform = k), p.value.x = C, p.value.y = F;
4857
4857
  }
4858
4858
  function v() {
4859
4859
  if (!f.value || !o.value)
4860
4860
  return null;
4861
- const b = f.value.getBoundingClientRect(), F = o.value.getBoundingClientRect(), k = {
4862
- top: b.top < F.top,
4863
- right: b.right > F.right,
4864
- bottom: b.bottom > F.bottom,
4865
- left: b.left < F.left
4861
+ const C = f.value.getBoundingClientRect(), F = o.value.getBoundingClientRect(), k = {
4862
+ top: C.top < F.top,
4863
+ right: C.right > F.right,
4864
+ bottom: C.bottom > F.bottom,
4865
+ left: C.left < F.left
4866
4866
  };
4867
- return k.top || (c.value.y -= F.top - b.top), k.bottom || (c.value.y -= F.bottom - b.bottom), k.right || (c.value.x -= F.right - b.right), k.left || (c.value.x -= F.left - b.left), d(), k;
4867
+ return k.top || (c.value.y -= F.top - C.top), k.bottom || (c.value.y -= F.bottom - C.bottom), k.right || (c.value.x -= F.right - C.right), k.left || (c.value.x -= F.left - C.left), d(), k;
4868
4868
  }
4869
- function h(b) {
4870
- b && (u.value && b.subtract(u.value), c.value.set(b), d(), v());
4869
+ function h(C) {
4870
+ C && (u.value && C.subtract(u.value), c.value.set(C), d(), v());
4871
4871
  }
4872
- function S(b) {
4873
- s.value && i.value && (b.stopPropagation(), b.preventDefault(), h(ae.fromEvent(b, a.value)));
4872
+ function S(C) {
4873
+ s.value && i.value && (C.stopPropagation(), C.preventDefault(), h(ae.fromEvent(C, a.value)));
4874
4874
  }
4875
4875
  function I() {
4876
- var b;
4877
- s.value && (s.value = !1, m.value.add(c.value), c.value.reset(), (b = o.value) == null || b.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", I));
4876
+ var C;
4877
+ s.value && (s.value = !1, m.value.add(c.value), c.value.reset(), (C = o.value) == null || C.classList.remove("ng-dragging"), t.emit("stopMove"), document.removeEventListener("mousemove", S), document.removeEventListener("mouseup", I));
4878
4878
  }
4879
4879
  function O() {
4880
4880
  !s.value && a.value && (s.value = !0, a.value.classList.add("ng-dragging"), document.addEventListener("mousemove", S), document.addEventListener("mouseup", I));
4881
4881
  }
4882
4882
  function g() {
4883
4883
  if (o.value) {
4884
- const b = ae.getTransformInfo(o.value);
4885
- m.value.set(b);
4884
+ const C = ae.getTransformInfo(o.value);
4885
+ m.value.set(C);
4886
4886
  return;
4887
4887
  }
4888
4888
  m.value.reset();
4889
4889
  }
4890
- function C(b) {
4891
- if (!n.value || b instanceof MouseEvent && b.button === 2)
4890
+ function b(C) {
4891
+ if (!n.value || C instanceof MouseEvent && C.button === 2)
4892
4892
  return;
4893
- const F = b.target || b.srcElement;
4894
- a.value !== void 0 && F && !l(F, a.value) || i.value !== !1 && (document.body.click(), b.stopPropagation(), b.preventDefault(), u.value = ae.fromEvent(b, o.value), g(), O());
4893
+ const F = C.target || C.srcElement;
4894
+ a.value !== void 0 && F && !l(F, a.value) || i.value !== !1 && (document.body.click(), C.stopPropagation(), C.preventDefault(), u.value = ae.fromEvent(C, o.value), g(), O());
4895
4895
  }
4896
- function y(b, F, k) {
4896
+ function y(C, F, k) {
4897
4897
  if (i.value && F) {
4898
- if (b)
4899
- a.value = b;
4898
+ if (C)
4899
+ a.value = C;
4900
4900
  else if (e.dragHandle) {
4901
4901
  if (e.dragHandle instanceof HTMLElement)
4902
4902
  a.value = e.dragHandle;
@@ -4905,7 +4905,7 @@ function Ta(e, t, n) {
4905
4905
  B && (a.value = B);
4906
4906
  }
4907
4907
  }
4908
- o.value = F, f.value = k, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", C)) : i.value = !1;
4908
+ o.value = F, f.value = k, a.value ? (a.value.classList.add("ng-draggable"), a.value.addEventListener("mousedown", b)) : i.value = !1;
4909
4909
  }
4910
4910
  }
4911
4911
  return {
@@ -4950,8 +4950,8 @@ const Ke = /* @__PURE__ */ Fe({
4950
4950
  t: g
4951
4951
  } = qt();
4952
4952
  S.value === "错误提示" && (S.value = g("messageBox.errorTitle"));
4953
- const C = w(!1);
4954
- function y(P, J) {
4953
+ const b = w(!1);
4954
+ function y(E, J) {
4955
4955
  const le = J ? "accept" : "cancel";
4956
4956
  Promise.resolve().then(() => {
4957
4957
  var se;
@@ -4959,103 +4959,103 @@ const Ke = /* @__PURE__ */ Fe({
4959
4959
  closeType: le
4960
4960
  });
4961
4961
  }).then((se) => {
4962
- se && (i.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", P));
4962
+ se && (i.value = !1, t.emit("update:modelValue", !1), J != null && t.emit(J ? "accept" : "cancel"), t.emit("closed", E));
4963
4963
  });
4964
4964
  }
4965
- const b = [{
4965
+ const C = [{
4966
4966
  name: "cancel",
4967
4967
  text: g("messageBox.cancel") || "取消",
4968
4968
  class: "btn btn-secondary",
4969
- handle: (P) => {
4970
- y(P, !1);
4969
+ handle: (E) => {
4970
+ y(E, !1);
4971
4971
  }
4972
4972
  }, {
4973
4973
  name: "accept",
4974
4974
  text: g("messageBox.ok") || "确定",
4975
4975
  class: "btn btn-primary",
4976
- handle: (P) => {
4977
- y(P, !0);
4976
+ handle: (E) => {
4977
+ y(E, !0);
4978
4978
  }
4979
- }], F = w(e.buttons && e.buttons.length ? e.buttons : b), k = E(() => !!u.value), B = E(() => !!h.value && !!F.value), T = w(), j = w(), z = w(!1), {
4980
- renderResizeBar: V,
4981
- maximize: D,
4982
- restore: G,
4979
+ }], F = w(e.buttons && e.buttons.length ? e.buttons : C), k = P(() => !!u.value), B = P(() => !!h.value && !!F.value), T = w(), N = w(), A = w(!1), {
4980
+ renderResizeBar: j,
4981
+ maximize: z,
4982
+ restore: X,
4983
4983
  boundingElement: Z,
4984
4984
  resizedEventParam: L,
4985
- allowDrag: R,
4985
+ allowDrag: V,
4986
4986
  unWindowResizeHandle: Y,
4987
4987
  moveToCenter: U
4988
4988
  } = Sa(e), {
4989
4989
  registerDraggle: te
4990
- } = Ta(e, t, R);
4990
+ } = Ta(e, t, V);
4991
4991
  function he() {
4992
4992
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
4993
4993
  }
4994
4994
  function ye() {
4995
- const P = document.querySelectorAll(".farris-modal").length;
4996
- (!P || P - 1 <= 0) && document.body.classList.remove("modal-open"), O.value && O.value.classList.remove("show");
4997
- }
4998
- re(() => e.title, (P, J) => {
4999
- P !== J && (S.value = P);
5000
- }), re(() => e.modelValue, (P, J) => {
5001
- P !== J && (i.value = P, i.value && e.draggable && Ze(() => {
5002
- j.value && !I.value && (I.value = j.value.parentElement, Z.value = I.value, te(T.value, j.value, Z.value), U());
5003
- }), P || (I.value && (I.value = null), ye())), i.value ? C.value = he() : (z.value = !1, R.value = e.draggable);
5004
- }), re(() => e.showHeader, (P, J) => {
5005
- P !== J && (s.value = P);
5006
- }), re(() => e.showButtons, (P, J) => {
5007
- P !== J && (h.value = P);
5008
- }), re(() => L.value, (P, J) => {
5009
- const le = P || {}, se = J || {};
4995
+ const E = document.querySelectorAll(".farris-modal").length;
4996
+ (!E || E - 1 <= 0) && document.body.classList.remove("modal-open"), O.value && O.value.classList.remove("show");
4997
+ }
4998
+ re(() => e.title, (E, J) => {
4999
+ E !== J && (S.value = E);
5000
+ }), re(() => e.modelValue, (E, J) => {
5001
+ E !== J && (i.value = E, i.value && e.draggable && Ze(() => {
5002
+ N.value && !I.value && (I.value = N.value.parentElement, Z.value = I.value, te(T.value, N.value, Z.value), U());
5003
+ }), E || (I.value && (I.value = null), ye())), i.value ? b.value = he() : (A.value = !1, V.value = e.draggable);
5004
+ }), re(() => e.showHeader, (E, J) => {
5005
+ E !== J && (s.value = E);
5006
+ }), re(() => e.showButtons, (E, J) => {
5007
+ E !== J && (h.value = E);
5008
+ }), re(() => L.value, (E, J) => {
5009
+ const le = E || {}, se = J || {};
5010
5010
  JSON.stringify(le) !== JSON.stringify(se) && t.emit("resize", {
5011
- newSize: P,
5011
+ newSize: E,
5012
5012
  oldSize: J,
5013
- isMaximized: z.value
5013
+ isMaximized: A.value
5014
5014
  });
5015
5015
  });
5016
- const Q = E(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = E(() => {
5016
+ const Q = P(() => (i.value && document.body.classList.add("modal-open"), i.value)), ie = P(() => {
5017
5017
  var le;
5018
- const P = {
5018
+ const E = {
5019
5019
  modal: !0,
5020
5020
  "farris-modal": !0,
5021
5021
  fade: !0
5022
5022
  };
5023
- P["f-modal-fitContent"] = !!f.value, P.show = !!Q.value;
5023
+ E["f-modal-fitContent"] = !!f.value, E.show = !!Q.value;
5024
5024
  const J = (le = e.maskClass) == null ? void 0 : le.split(" ");
5025
- return J == null || J.reduce((se, Le) => (se[Le] = !0, se), P), P;
5026
- }), ue = E(() => {
5025
+ return J == null || J.reduce((se, Le) => (se[Le] = !0, se), E), E;
5026
+ }), ue = P(() => {
5027
5027
  var le;
5028
- const P = {
5028
+ const E = {
5029
5029
  "modal-dialog": !0
5030
5030
  }, J = (le = a.value) == null ? void 0 : le.split(" ");
5031
- return J == null || J.reduce((se, Le) => (se[Le] = !0, se), P), P;
5032
- }), ne = E(() => {
5033
- const P = {
5031
+ return J == null || J.reduce((se, Le) => (se[Le] = !0, se), E), E;
5032
+ }), ne = P(() => {
5033
+ const E = {
5034
5034
  position: "absolute",
5035
5035
  top: `${(window.innerHeight - o.value) / 2}px`,
5036
5036
  left: `${(window.innerWidth - n.value) / 2}px`,
5037
5037
  width: `${n.value}px`,
5038
5038
  height: f.value ? "auto" : `${o.value}px`
5039
5039
  };
5040
- return e.mask || (P.pointerEvents = "auto"), P;
5041
- }), q = E(() => {
5042
- const P = {
5040
+ return e.mask || (E.pointerEvents = "auto"), E;
5041
+ }), q = P(() => {
5042
+ const E = {
5043
5043
  display: "block"
5044
5044
  };
5045
- return e.mask || (P.pointerEvents = "none", P.backgroundColor = "transparent"), C.value && (P.backgroundColor = "transparent"), P;
5046
- }), oe = E(() => ({
5045
+ return e.mask || (E.pointerEvents = "none", E.backgroundColor = "transparent"), b.value && (E.backgroundColor = "transparent"), E;
5046
+ }), oe = P(() => ({
5047
5047
  "modal-content": !0,
5048
5048
  "modal-content-has-header": s.value
5049
- })), ze = E(() => {
5050
- const P = {
5049
+ })), ze = P(() => {
5050
+ const E = {
5051
5051
  display: s.value ? "" : "none"
5052
5052
  };
5053
- return P["pointer-events"] = R.value ? "auto" : "none", P;
5054
- }), Ve = E(() => ({
5053
+ return E["pointer-events"] = V.value ? "auto" : "none", E;
5054
+ }), Ve = P(() => ({
5055
5055
  "f-icon": !0,
5056
5056
  modal_maximize: !0,
5057
- modalrevert: z.value
5058
- })), ke = E(() => ({
5057
+ modalrevert: A.value
5058
+ })), ke = P(() => ({
5059
5059
  "modal-body": !0,
5060
5060
  "f-utils-flex-column": l.value === "iframe",
5061
5061
  "f-utils-fill": !0
@@ -5065,38 +5065,38 @@ const Ke = /* @__PURE__ */ Fe({
5065
5065
  height: `${e.footerHeight || 60}px`
5066
5066
  };
5067
5067
  }
5068
- const qe = E(() => {
5069
- const P = {
5068
+ const qe = P(() => {
5069
+ const E = {
5070
5070
  textAlgin: v.value
5071
5071
  }, J = tt();
5072
- return Object.assign(P, J);
5072
+ return Object.assign(E, J);
5073
5073
  });
5074
- function We(P) {
5075
- if (P == null || P.stopPropagation(), z.value) {
5076
- z.value = !1, G();
5074
+ function We(E) {
5075
+ if (E == null || E.stopPropagation(), A.value) {
5076
+ A.value = !1, X();
5077
5077
  return;
5078
5078
  }
5079
- D(), z.value = !0;
5079
+ z(), A.value = !0;
5080
5080
  }
5081
- async function ce(P, J) {
5082
- P.handle && await P.handle(J, P) && t.emit("closed", J);
5081
+ async function ce(E, J) {
5082
+ E.handle && await E.handle(J, E) && t.emit("closed", J);
5083
5083
  }
5084
- function rt(P) {
5085
- P.width && (n.value = P.width), P.height && (o.value = P.height), P.buttons && (F.value = P.buttons), P.title && (S.value = P.title);
5084
+ function rt(E) {
5085
+ E.width && (n.value = E.width), E.height && (o.value = E.height), E.buttons && (F.value = E.buttons), E.title && (S.value = E.title);
5086
5086
  }
5087
5087
  let Ie = null, Re = null;
5088
5088
  Hn(() => {
5089
- C.value = he();
5089
+ b.value = he();
5090
5090
  }), Ue(() => {
5091
- j.value && !I.value && (I.value = j.value.parentElement, Z.value = I.value, te(T.value, j.value, Z.value)), Q.value && document.body.classList.add("modal-open"), Ie = ka(e, t), Re = Ia(e, t);
5091
+ N.value && !I.value && (I.value = N.value.parentElement, Z.value = I.value, te(T.value, N.value, Z.value)), Q.value && document.body.classList.add("modal-open"), Ie = ka(e, t), Re = Ia(e, t);
5092
5092
  }), ft(() => {
5093
5093
  Y && Y(), Ie && Ie.remove(), Re && Re.remove();
5094
5094
  }), t.expose({
5095
- modalElementRef: j,
5095
+ modalElementRef: N,
5096
5096
  updateModalOptions: rt,
5097
5097
  close: y,
5098
5098
  maxDialog: We,
5099
- isMaximized: z
5099
+ isMaximized: A
5100
5100
  });
5101
5101
  function Ne() {
5102
5102
  return x("ul", null, [p.value && x("li", {
@@ -5111,7 +5111,7 @@ const Ke = /* @__PURE__ */ Fe({
5111
5111
  class: Ve.value
5112
5112
  }, null)]), m.value && x("li", {
5113
5113
  class: "f-btn-icon f-bare",
5114
- onClick: (P) => y(P, !1),
5114
+ onClick: (E) => y(E, !1),
5115
5115
  style: "pointer-events: auto;"
5116
5116
  }, [x("span", {
5117
5117
  class: "f-icon modal_close"
@@ -5121,19 +5121,19 @@ const Ke = /* @__PURE__ */ Fe({
5121
5121
  return x("div", {
5122
5122
  class: "modal-footer",
5123
5123
  style: qe.value
5124
- }, [F.value && F.value.map((P) => {
5125
- const J = w(P.disabled);
5124
+ }, [F.value && F.value.map((E) => {
5125
+ const J = w(E.disabled);
5126
5126
  return x("button", {
5127
- name: P.name,
5127
+ name: E.name,
5128
5128
  type: "button",
5129
5129
  disabled: J.value,
5130
- class: P.class + (P.iconClass ? " btn-icontext" : ""),
5130
+ class: E.class + (E.iconClass ? " btn-icontext" : ""),
5131
5131
  onClick: (le) => {
5132
- ce(P, le);
5132
+ ce(E, le);
5133
5133
  }
5134
- }, [!!P.iconClass && x("i", {
5135
- class: P.iconClass
5136
- }, null), P.text]);
5134
+ }, [!!E.iconClass && x("i", {
5135
+ class: E.iconClass
5136
+ }, null), E.text]);
5137
5137
  })]);
5138
5138
  }
5139
5139
  function at() {
@@ -5155,34 +5155,34 @@ const Ke = /* @__PURE__ */ Fe({
5155
5155
  function _e() {
5156
5156
  return t.slots.footerTemplate ? t.slots.footerTemplate() : B.value && $e();
5157
5157
  }
5158
- function Pe(P) {
5159
- if (P.stopPropagation(), e.allowClickMaskToClose) {
5160
- if (P.target !== O.value)
5158
+ function Pe(E) {
5159
+ if (E.stopPropagation(), e.allowClickMaskToClose) {
5160
+ if (E.target !== O.value)
5161
5161
  return;
5162
- y(P, !1);
5162
+ y(E, !1);
5163
5163
  }
5164
5164
  }
5165
5165
  function je() {
5166
- var P, J;
5166
+ var E, J;
5167
5167
  return x("div", {
5168
5168
  id: r.value,
5169
5169
  class: ue.value,
5170
5170
  style: ne.value,
5171
- ref: j
5171
+ ref: N
5172
5172
  }, [x("div", {
5173
5173
  class: oe.value
5174
5174
  }, [s.value && at(), x("div", {
5175
5175
  class: ke.value
5176
- }, [(J = (P = t.slots).default) == null ? void 0 : J.call(P), l.value === "iframe" && x("iframe", {
5176
+ }, [(J = (E = t.slots).default) == null ? void 0 : J.call(E), l.value === "iframe" && x("iframe", {
5177
5177
  title: r.value,
5178
5178
  class: "f-utils-fill",
5179
5179
  width: "100%",
5180
5180
  frameborder: "0",
5181
5181
  src: d.value
5182
- }, null)]), _e()]), !f.value && j.value && !z.value && V(j.value)]);
5182
+ }, null)]), _e()]), !f.value && N.value && !A.value && j(N.value)]);
5183
5183
  }
5184
- function nt(P) {
5185
- return P || "body";
5184
+ function nt(E) {
5185
+ return E || "body";
5186
5186
  }
5187
5187
  return () => x(on, {
5188
5188
  to: nt(e.host)
@@ -5259,7 +5259,7 @@ class Tn {
5259
5259
  _(this, "activeModalIndex", w(0));
5260
5260
  _(this, "modalRefs", {});
5261
5261
  _(this, "isUseEscCloseModal", w(!1));
5262
- _(this, "activeModalInstance", E(() => this.modalRefs[this.activeModalIndex.value]));
5262
+ _(this, "activeModalInstance", P(() => this.modalRefs[this.activeModalIndex.value]));
5263
5263
  this.app = t, this.appContext = t ? t._context : null;
5264
5264
  }
5265
5265
  getCurrentModal() {
@@ -5299,27 +5299,27 @@ class Tn {
5299
5299
  showHeader: !0
5300
5300
  }, t)), i = w(!0), r = o.value.acceptCallback || (() => {
5301
5301
  }), a = o.value.rejectCallback || (() => {
5302
- }), f = o.value.closedCallback || ((C, y) => {
5303
- }), s = o.value.resizeHandle || ((C) => {
5304
- }), u = t.stopMoveHandle || ((C) => {
5302
+ }), f = o.value.closedCallback || ((b, y) => {
5303
+ }), s = o.value.resizeHandle || ((b) => {
5304
+ }), u = t.stopMoveHandle || ((b) => {
5305
5305
  });
5306
5306
  let m;
5307
- const c = Sn(o.value), p = (C) => {
5308
- var b;
5307
+ const c = Sn(o.value), p = (b) => {
5308
+ var C;
5309
5309
  i.value = !1;
5310
- const y = (b = C == null ? void 0 : C.target) == null ? void 0 : b.classList.contains("modal_close");
5311
- f(C, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
5312
- }, l = (C) => {
5313
- p(C), m && Ze(() => {
5310
+ const y = (C = b == null ? void 0 : b.target) == null ? void 0 : C.classList.contains("modal_close");
5311
+ f(b, this.isUseEscCloseModal.value ? "esc" : y ? "icon" : "button");
5312
+ }, l = (b) => {
5313
+ p(b), m && Ze(() => {
5314
5314
  if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], Ht(null, n), m = null, this.modalRef.value = null, this.modalRefs) {
5315
- const y = Object.keys(this.modalRefs).map((b) => Number(b));
5315
+ const y = Object.keys(this.modalRefs).map((C) => Number(C));
5316
5316
  y.length > 0 ? this.activeModalIndex.value = Math.max(...y) : this.activeModalIndex.value = 0;
5317
5317
  }
5318
5318
  this.isUseEscCloseModal.value = !1;
5319
5319
  });
5320
- }, d = (C) => {
5320
+ }, d = (b) => {
5321
5321
  var y;
5322
- this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((y = this.activeModalInstance.value) == null || y.close(C == null ? void 0 : C.event));
5322
+ this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((y = this.activeModalInstance.value) == null || y.close(b == null ? void 0 : b.event));
5323
5323
  }, {
5324
5324
  width: v,
5325
5325
  height: h
@@ -5328,7 +5328,7 @@ class Tn {
5328
5328
  const I = () => x(Ke, kt({
5329
5329
  ref: this.modalRef,
5330
5330
  modelValue: i.value,
5331
- "onUpdate:modelValue": (C) => i.value = C
5331
+ "onUpdate:modelValue": (b) => i.value = b
5332
5332
  }, o.value, {
5333
5333
  onAccept: r,
5334
5334
  onCancel: a,
@@ -5339,17 +5339,17 @@ class Tn {
5339
5339
  }), {
5340
5340
  default: () => [c && c(this.app)]
5341
5341
  });
5342
- return m = ((C) => {
5343
- const y = Un(I, C);
5342
+ return m = ((b) => {
5343
+ const y = Un(I, b);
5344
5344
  return y.appContext = this.appContext, Ht(y, n), y;
5345
5345
  })({
5346
5346
  ...o.value
5347
5347
  // 'onUpdate:modelValue': onUpdateModelValue,
5348
5348
  }), this.activeModalIndex.value++, this.modalRefs[this.activeModalIndex.value] = this.modalRef.value, {
5349
- update: (C) => {
5349
+ update: (b) => {
5350
5350
  o.value = {
5351
5351
  ...o.value,
5352
- ...C
5352
+ ...b
5353
5353
  }, m && Ht(zn(m, {
5354
5354
  ...o
5355
5355
  }), n);
@@ -6039,7 +6039,7 @@ const Oa = /* @__PURE__ */ Fe({
6039
6039
  filterFields: f,
6040
6040
  filterItems: s,
6041
6041
  loadFilterItems: u
6042
- } = a, m = w(), c = Dt("design-item-context"), p = Dt("designer-host-service"), l = Pa(c, p), d = Qn(m, c, l), v = E(() => ({
6042
+ } = a, m = w(), c = Dt("design-item-context"), p = Dt("designer-host-service"), l = Pa(c, p), d = Qn(m, c, l), v = P(() => ({
6043
6043
  display: f.value && f.value.length ? "" : "none"
6044
6044
  }));
6045
6045
  Ue(() => {
@@ -6047,10 +6047,10 @@ const Oa = /* @__PURE__ */ Fe({
6047
6047
  }), t.expose(d.value), re([() => e.data, () => e.fields], ([F, k]) => {
6048
6048
  u(k, F);
6049
6049
  });
6050
- const h = E(() => o.value && n.value), S = E(() => ({
6050
+ const h = P(() => o.value && n.value), S = P(() => ({
6051
6051
  "f-filter-list": !0,
6052
6052
  "f-filter-list-extend": h.value
6053
- })), I = E(() => s.value.length > 0);
6053
+ })), I = P(() => s.value.length > 0);
6054
6054
  function O() {
6055
6055
  return x("div", {
6056
6056
  class: S.value
@@ -6059,7 +6059,7 @@ const Oa = /* @__PURE__ */ Fe({
6059
6059
  useFilterItemsComposition: a
6060
6060
  }, null))]);
6061
6061
  }
6062
- const g = E(() => i.value && !o.value && r.value), C = Ni(), y = E(() => !o.value), b = yn(e, t, a);
6062
+ const g = P(() => i.value && !o.value && r.value), b = Ni(), y = P(() => !o.value), C = yn(e, t, a);
6063
6063
  return () => x("div", {
6064
6064
  ref: m,
6065
6065
  class: "f-filter-wrapper",
@@ -6070,7 +6070,7 @@ const Oa = /* @__PURE__ */ Fe({
6070
6070
  class: "f-filter-main f-utils-fill"
6071
6071
  }, [x("div", {
6072
6072
  class: "f-filter-list-wrapper"
6073
- }, [I.value && O(), g.value && C(), y.value && b()])])])]);
6073
+ }, [I.value && O(), g.value && b(), y.value && C()])])])]);
6074
6074
  }
6075
6075
  }), Va = "https://json-schema.org/draft/2020-12/schema", Ra = "https://farris-design.gitee.io/query-solution-config.schema.json", Na = "query-solution-config", $a = "A Farris Container Component", ja = {
6076
6076
  fieldsConfig: {
@@ -6761,7 +6761,7 @@ function Xt(e) {
6761
6761
  function u(p) {
6762
6762
  if (!p || !p.id)
6763
6763
  return null;
6764
- const { id: l, code: d, labelCode: v, name: h, controlType: S, labelName: I, $type: O, $typeInfo: g, ...C } = p, y = {
6764
+ const { id: l, code: d, labelCode: v, name: h, controlType: S, labelName: I, $type: O, $typeInfo: g, ...b } = p, y = {
6765
6765
  id: l,
6766
6766
  code: d,
6767
6767
  labelCode: v,
@@ -6769,7 +6769,7 @@ function Xt(e) {
6769
6769
  controlType: S,
6770
6770
  $type: O,
6771
6771
  $typeInfo: g,
6772
- editor: C
6772
+ editor: b
6773
6773
  };
6774
6774
  return y.editor.type = S, y;
6775
6775
  }
@@ -6876,18 +6876,18 @@ function Wa(e, t) {
6876
6876
  };
6877
6877
  }
6878
6878
  function f(g) {
6879
- const { dataSourceEditor: C, idFieldEditor: y, textFieldEditor: b, mappingFieldsEditor: F, dataSourceConverter: k } = _o(g, e), B = {
6879
+ const { dataSourceEditor: b, idFieldEditor: y, textFieldEditor: C, mappingFieldsEditor: F, dataSourceConverter: k } = _o(g, e), B = {
6880
6880
  description: "帮助元数据",
6881
6881
  title: "帮助元数据",
6882
6882
  type: "string",
6883
6883
  $converter: k,
6884
6884
  editor: {
6885
- ...C,
6886
- onSubmitModal: (V) => {
6887
- if (V) {
6888
- const D = e.formSchemaUtils.getFormMetadataBasicInfo();
6889
- return e.metadataService.getPickMetadata(D.relativePath, V[0].data).then((G) => {
6890
- const Z = JSON.parse(G == null ? void 0 : G.metadata.content);
6885
+ ...b,
6886
+ onSubmitModal: (j) => {
6887
+ if (j) {
6888
+ const z = e.formSchemaUtils.getFormMetadataBasicInfo();
6889
+ return e.metadataService.getPickMetadata(z.relativePath, j[0].data).then((X) => {
6890
+ const Z = JSON.parse(X == null ? void 0 : X.metadata.content);
6891
6891
  return g.uri = g.helpId === Z.id ? g.uri : "lookup." + g.code + i(4), g.helpId = Z.id, g.displayName = Z.name, g.displayType = Z.displayType, g.textField = Z.textField, g.valueField = Z.valueField, g.idField = Z.idField, g.dataSource = {
6892
6892
  displayName: Z.name,
6893
6893
  idField: Z.idField,
@@ -6902,21 +6902,21 @@ function Wa(e, t) {
6902
6902
  title: "文本字段",
6903
6903
  type: "string",
6904
6904
  editor: {
6905
- ...b,
6905
+ ...C,
6906
6906
  bindingType: { enable: !1 },
6907
- onSubmitModal: (V) => (g.textField = V[0].bindingPath, null)
6907
+ onSubmitModal: (j) => (g.textField = j[0].bindingPath, null)
6908
6908
  }
6909
- }, j = {
6909
+ }, N = {
6910
6910
  description: "显示值字段",
6911
6911
  title: "值字段",
6912
6912
  type: "string",
6913
6913
  editor: {
6914
6914
  ...y,
6915
6915
  bindingType: { enable: !1 },
6916
- onSubmitModal: (V) => (g.valueField = V[0].bindingPath, null)
6916
+ onSubmitModal: (j) => (g.valueField = j[0].bindingPath, null)
6917
6917
  }
6918
6918
  };
6919
- return { helpId: B, textField: T, valueField: j, mappingFields: {
6919
+ return { helpId: B, textField: T, valueField: N, mappingFields: {
6920
6920
  description: "字段映射",
6921
6921
  title: "字段映射",
6922
6922
  type: "string",
@@ -6925,18 +6925,18 @@ function Wa(e, t) {
6925
6925
  } };
6926
6926
  }
6927
6927
  function s(g) {
6928
- const C = Go(g);
6929
- ["showNavigation", "navigatorWidth"].map((b) => delete C[b]);
6928
+ const b = Go(g);
6929
+ ["showNavigation", "navigatorWidth"].map((C) => delete b[C]);
6930
6930
  const y = Xo(g, !1);
6931
- return y.setPropertyRelates = (b, F) => {
6932
- b && ["showLimits", "sizeLimits"].findIndex(b.propertyID) > -1 && r.value++;
6931
+ return y.setPropertyRelates = (C, F) => {
6932
+ C && ["showLimits", "sizeLimits"].findIndex(C.propertyID) > -1 && r.value++;
6933
6933
  }, {
6934
6934
  dialog: {
6935
6935
  description: "",
6936
6936
  title: "弹窗窗口配置",
6937
- properties: C,
6938
- setPropertyRelates(b, F) {
6939
- b && b.propertyID === "openType" && r.value++;
6937
+ properties: b,
6938
+ setPropertyRelates(C, F) {
6939
+ C && C.propertyID === "openType" && r.value++;
6940
6940
  }
6941
6941
  },
6942
6942
  pager: y
@@ -6963,7 +6963,7 @@ function Wa(e, t) {
6963
6963
  } };
6964
6964
  }
6965
6965
  function m(g) {
6966
- const C = {
6966
+ const b = {
6967
6967
  description: "最大值",
6968
6968
  title: "最大值",
6969
6969
  type: "number",
@@ -6984,25 +6984,25 @@ function Wa(e, t) {
6984
6984
  max: g.max
6985
6985
  }
6986
6986
  };
6987
- return { max: C, min: y };
6987
+ return { max: b, min: y };
6988
6988
  }
6989
- function c(g, C) {
6990
- if (!C)
6989
+ function c(g, b) {
6990
+ if (!b)
6991
6991
  return g;
6992
- const y = C.includes("yyyy"), b = C.includes("MM"), F = C.includes("dd"), k = C.includes("HH"), B = C.includes("mm"), T = C.includes("ss");
6993
- return y || (g = g.filter((j) => !j.id.includes("yyyy"))), b || (g = g.filter((j) => !j.id.includes("MM"))), F || (g = g.filter((j) => !j.id.includes("dd"))), k || (g = g.filter((j) => !j.id.includes("HH"))), B || (g = g.filter((j) => !j.id.includes("mm"))), T || (g = g.filter((j) => !j.id.includes("ss"))), g;
6992
+ const y = b.includes("yyyy"), C = b.includes("MM"), F = b.includes("dd"), k = b.includes("HH"), B = b.includes("mm"), T = b.includes("ss");
6993
+ return y || (g = g.filter((N) => !N.id.includes("yyyy"))), C || (g = g.filter((N) => !N.id.includes("MM"))), F || (g = g.filter((N) => !N.id.includes("dd"))), k || (g = g.filter((N) => !N.id.includes("HH"))), B || (g = g.filter((N) => !N.id.includes("mm"))), T || (g = g.filter((N) => !N.id.includes("ss"))), g;
6994
6994
  }
6995
6995
  function p(g) {
6996
- const { timeFormats: C, yMdFormats: y, yMFormats: b, mdFormats: F, yFormats: k } = Wo(), B = [];
6996
+ const { timeFormats: b, yMdFormats: y, yMFormats: C, mdFormats: F, yFormats: k } = Wo(), B = [];
6997
6997
  switch (g) {
6998
6998
  case "date-picker":
6999
6999
  case "date-range": {
7000
- B.push(...y, ...b, ...k, ...F);
7000
+ B.push(...y, ...C, ...k, ...F);
7001
7001
  break;
7002
7002
  }
7003
7003
  case "datetime-picker":
7004
7004
  case "datetime-range": {
7005
- B.push(...C, ...y, ...b, ...k, ...F);
7005
+ B.push(...b, ...y, ...C, ...k, ...F);
7006
7006
  break;
7007
7007
  }
7008
7008
  case "year-picker": {
@@ -7011,14 +7011,14 @@ function Wa(e, t) {
7011
7011
  }
7012
7012
  case "month-picker":
7013
7013
  case "month-range": {
7014
- B.push(...b);
7014
+ B.push(...C);
7015
7015
  break;
7016
7016
  }
7017
7017
  }
7018
7018
  return B;
7019
7019
  }
7020
7020
  function l(g) {
7021
- const { controlType: C } = g, y = p(C), b = {
7021
+ const { controlType: b } = g, y = p(b), C = {
7022
7022
  description: "查询格式",
7023
7023
  title: "查询格式",
7024
7024
  type: "enum",
@@ -7033,12 +7033,12 @@ function Wa(e, t) {
7033
7033
  data: c(y, g.valueFormat)
7034
7034
  }
7035
7035
  };
7036
- return { valueFormat: b, displayFormat: k };
7036
+ return { valueFormat: C, displayFormat: k };
7037
7037
  }
7038
7038
  function d(g) {
7039
7039
  var F;
7040
- const { controlType: C } = g, y = Object.assign({}, tn.common);
7041
- ["date-range", "datetime-range", "month-range", "number-range"].indexOf(C) > -1 && (delete y.placeholder, Object.assign(y, {
7040
+ const { controlType: b } = g, y = Object.assign({}, tn.common);
7041
+ ["date-range", "datetime-range", "month-range", "number-range"].indexOf(b) > -1 && (delete y.placeholder, Object.assign(y, {
7042
7042
  beginPlaceHolder: {
7043
7043
  description: "开始提示文本",
7044
7044
  title: "开始提示文本",
@@ -7049,7 +7049,7 @@ function Wa(e, t) {
7049
7049
  title: "结束提示文本",
7050
7050
  type: "string"
7051
7051
  }
7052
- })), ["date-range", "datetime-range"].indexOf(C) > -1 && Object.assign(y, {
7052
+ })), ["date-range", "datetime-range"].indexOf(b) > -1 && Object.assign(y, {
7053
7053
  weekSelect: {
7054
7054
  description: "启用周选择",
7055
7055
  title: "启用周选择",
@@ -7059,7 +7059,7 @@ function Wa(e, t) {
7059
7059
  readonly: g.enableQuickSelect
7060
7060
  }
7061
7061
  }
7062
- }), ["date-range", "date-picker", "datetime-range", "datetime-picker"].indexOf(C) > -1 && Object.assign(y, {
7062
+ }), ["date-range", "date-picker", "datetime-range", "datetime-picker"].indexOf(b) > -1 && Object.assign(y, {
7063
7063
  enableQuickSelect: {
7064
7064
  description: "启用快速选择",
7065
7065
  title: "启用快速选择",
@@ -7070,27 +7070,27 @@ function Wa(e, t) {
7070
7070
  }
7071
7071
  }
7072
7072
  });
7073
- const b = Object.assign({}, y, tn[o(C)]);
7074
- return C === "combo-list" && ((F = g.$typeInfo) == null ? void 0 : F.$type) === "BooleanType" && (b.multiSelect.visible = !1), b;
7073
+ const C = Object.assign({}, y, tn[o(b)]);
7074
+ return b === "combo-list" && ((F = g.$typeInfo) == null ? void 0 : F.$type) === "BooleanType" && (C.multiSelect.visible = !1), C;
7075
7075
  }
7076
7076
  function v(g) {
7077
- const { controlType: C } = g, y = {
7077
+ const { controlType: b } = g, y = {
7078
7078
  description: "",
7079
7079
  title: "控件",
7080
7080
  properties: d(g)
7081
7081
  };
7082
- switch (y.properties.multiLineLabel.$converter = qa, C) {
7082
+ switch (y.properties.multiLineLabel.$converter = qa, b) {
7083
7083
  case "lookup":
7084
7084
  case "combo-lookup": {
7085
- const { helpId: b, textField: F, valueField: k, mappingFields: B } = f(g);
7086
- y.properties.helpId = b, y.properties.textField = F, y.properties.valueField = k, y.properties.mapFields = B;
7085
+ const { helpId: C, textField: F, valueField: k, mappingFields: B } = f(g);
7086
+ y.properties.helpId = C, y.properties.textField = F, y.properties.valueField = k, y.properties.mapFields = B;
7087
7087
  break;
7088
7088
  }
7089
7089
  case "radio-group":
7090
7090
  case "combo-list":
7091
7091
  {
7092
- const { enumValues: b } = u();
7093
- y.properties.data = b;
7092
+ const { enumValues: C } = u();
7093
+ y.properties.data = C;
7094
7094
  }
7095
7095
  break;
7096
7096
  case "year-picker":
@@ -7100,32 +7100,32 @@ function Wa(e, t) {
7100
7100
  case "date-picker":
7101
7101
  case "datetime-range":
7102
7102
  case "datetime-picker": {
7103
- const { $typeInfo: b } = g, { valueFormat: F, displayFormat: k } = l(g);
7104
- b && b.name === "String" && (y.properties.valueFormat = F), y.properties.displayFormat = k;
7103
+ const { $typeInfo: C } = g, { valueFormat: F, displayFormat: k } = l(g);
7104
+ C && C.name === "String" && (y.properties.valueFormat = F), y.properties.displayFormat = k;
7105
7105
  break;
7106
7106
  }
7107
7107
  case "number-spinner":
7108
7108
  case "number-range": {
7109
- const { max: b, min: F } = m(g);
7110
- y.properties.max = b, y.properties.min = F;
7109
+ const { max: C, min: F } = m(g);
7110
+ y.properties.max = C, y.properties.min = F;
7111
7111
  break;
7112
7112
  }
7113
7113
  case "input-group": {
7114
- let b;
7114
+ let C;
7115
7115
  if (g.binding && g.binding.type === "Form") {
7116
7116
  const F = e.schemaService.getFieldByIDAndVMID(g.binding.field, e.viewModelId);
7117
- F && F.schemaField && (b = F.schemaField.type.length);
7117
+ F && F.schemaField && (C = F.schemaField.type.length);
7118
7118
  }
7119
- y.properties.maxLength.editor.max = b;
7119
+ y.properties.maxLength.editor.max = C;
7120
7120
  break;
7121
7121
  }
7122
7122
  }
7123
- return y.setPropertyRelates = (b, F) => {
7124
- b && (["lookup", "combo-lookup"].indexOf(C) > -1 && b.propertyID === "helpId" && r.value++, ["date-range", "datetime-range"].indexOf(C) > -1 && ["weekSelect", "enableQuickSelect"].indexOf(b.propertyID) > -1 && (b.propertyValue && b.propertyID === "weekSelect" && (g.enableQuickSelect = !1), b.propertyValue && b.propertyID === "enableQuickSelect" && (g.weekSelect = !1), r.value++));
7123
+ return y.setPropertyRelates = (C, F) => {
7124
+ C && (["lookup", "combo-lookup"].indexOf(b) > -1 && C.propertyID === "helpId" && r.value++, ["date-range", "datetime-range"].indexOf(b) > -1 && ["weekSelect", "enableQuickSelect"].indexOf(C.propertyID) > -1 && (C.propertyValue && C.propertyID === "weekSelect" && (g.enableQuickSelect = !1), C.propertyValue && C.propertyID === "enableQuickSelect" && (g.weekSelect = !1), r.value++));
7125
7125
  }, y;
7126
7126
  }
7127
7127
  function h(g) {
7128
- const C = [
7128
+ const b = [
7129
7129
  {
7130
7130
  label: "valueChangedCmd",
7131
7131
  name: "值变化事件"
@@ -7134,7 +7134,7 @@ function Wa(e, t) {
7134
7134
  switch (g) {
7135
7135
  case "combo-lookup":
7136
7136
  case "lookup":
7137
- C.push({
7137
+ b.push({
7138
7138
  label: "preEventCmd",
7139
7139
  name: "帮助前事件"
7140
7140
  }, {
@@ -7143,7 +7143,7 @@ function Wa(e, t) {
7143
7143
  });
7144
7144
  break;
7145
7145
  case "combo-list":
7146
- C.push({
7146
+ b.push({
7147
7147
  label: "beforeShow",
7148
7148
  name: "面板展开前事件"
7149
7149
  }, {
@@ -7152,11 +7152,11 @@ function Wa(e, t) {
7152
7152
  });
7153
7153
  break;
7154
7154
  }
7155
- return C;
7155
+ return b;
7156
7156
  }
7157
7157
  function S(g) {
7158
- const C = h(g.controlType), y = e.eventsEditorUtils.formProperties(g, e.viewModelId, C), b = {};
7159
- return b[e.viewModelId] = {
7158
+ const b = h(g.controlType), y = e.eventsEditorUtils.formProperties(g, e.viewModelId, b), C = {};
7159
+ return C[e.viewModelId] = {
7160
7160
  type: "events-editor",
7161
7161
  editor: {
7162
7162
  initialData: y
@@ -7164,7 +7164,7 @@ function Wa(e, t) {
7164
7164
  }, {
7165
7165
  title: "事件",
7166
7166
  hideTitle: !0,
7167
- properties: b,
7167
+ properties: C,
7168
7168
  // 这个属性,标记当属性变更得时候触发重新更新属性
7169
7169
  refreshPanelAfterChanged: !0,
7170
7170
  tabId: "commands",
@@ -7176,26 +7176,26 @@ function Wa(e, t) {
7176
7176
  };
7177
7177
  }
7178
7178
  function I(g) {
7179
- const { controlType: C } = g;
7179
+ const { controlType: b } = g;
7180
7180
  let y = {};
7181
- switch (C) {
7181
+ switch (b) {
7182
7182
  case "lookup":
7183
7183
  y = s(g);
7184
7184
  }
7185
7185
  return y;
7186
7186
  }
7187
7187
  function O(g) {
7188
- const C = a(g), y = v(g);
7188
+ const b = a(g), y = v(g);
7189
7189
  S(g);
7190
- const b = I(g);
7190
+ const C = I(g);
7191
7191
  return {
7192
7192
  title: "query-solution-config",
7193
7193
  description: "A Farris Component",
7194
7194
  type: "object",
7195
7195
  categories: {
7196
- basic: C,
7196
+ basic: b,
7197
7197
  control: y,
7198
- ...b
7198
+ ...C
7199
7199
  // eventsEditor
7200
7200
  }
7201
7201
  };
@@ -7248,10 +7248,10 @@ function _a(e, t, n, o) {
7248
7248
  const g = u(s.value);
7249
7249
  i.value.updatePropertyConfig(g, s.value, !0);
7250
7250
  } else if (S !== O) {
7251
- const g = o.get(h), C = p(g);
7252
- C.controlType = S;
7251
+ const g = o.get(h), b = p(g);
7252
+ b.controlType = S;
7253
7253
  const y = {
7254
- ...C,
7254
+ ...b,
7255
7255
  ...c(S, g)
7256
7256
  };
7257
7257
  (S === "number-spinner" || S === "number-range") && (y.precision = g == null ? void 0 : g.$typeInfo.precision), o.set(h, y), s.value = o.get(h), l();
@@ -7289,45 +7289,45 @@ function Ga(e, t, n, o) {
7289
7289
  const i = /* @__PURE__ */ new Map(), r = w(!1), a = w(), f = w([]), s = w([]), u = w([]), {
7290
7290
  getSolutionField: m
7291
7291
  } = Xt(), c = {
7292
- customRowStatus: (b) => {
7293
- const F = b.raw;
7294
- b.disabled = F.$type !== "SimpleField" || F.$typeInfo.name === "Text";
7292
+ customRowStatus: (C) => {
7293
+ const F = C.raw;
7294
+ C.disabled = F.$type !== "SimpleField" || F.$typeInfo.name === "Text";
7295
7295
  }
7296
7296
  };
7297
7297
  let p = [];
7298
- function l(b) {
7299
- n.value = b.length ? b[0] : null;
7298
+ function l(C) {
7299
+ n.value = C.length ? C[0] : null;
7300
7300
  }
7301
- function d(b) {
7301
+ function d(C) {
7302
7302
  var k;
7303
7303
  s.value.forEach((B) => {
7304
- !b.find((j) => j.id === B.id) && o.set(B.id, me(i.get(B.id)));
7305
- }), s.value = b;
7304
+ !C.find((N) => N.id === B.id) && o.set(B.id, me(i.get(B.id)));
7305
+ }), s.value = C;
7306
7306
  const F = (k = n.value) == null ? void 0 : k.id;
7307
7307
  (!F || !s.value.find((B) => B.id === F)) && (n.value = null);
7308
7308
  }
7309
- function v(b, F = !1) {
7310
- if (b.forEach((k) => {
7309
+ function v(C, F = !1) {
7310
+ if (C.forEach((k) => {
7311
7311
  k.data = m(k.data), o.set(k.data.id, me(k.data)), i.set(k.data.id, me(k.data)), k.children && k.children.length && v(k.children);
7312
7312
  }), F)
7313
- return b;
7313
+ return C;
7314
7314
  }
7315
7315
  function h() {
7316
- const b = me(e.fieldsConfig);
7317
- return v(b, !0);
7316
+ const C = me(e.fieldsConfig);
7317
+ return v(C, !0);
7318
7318
  }
7319
- function S(b, F) {
7320
- return b.reduce((k, B) => {
7319
+ function S(C, F) {
7320
+ return C.reduce((k, B) => {
7321
7321
  F.set(B.data.id, B.data), B.children && B.children.length && S(B.children, F);
7322
7322
  }, F);
7323
7323
  }
7324
7324
  function I() {
7325
7325
  u.value = h();
7326
- const b = /* @__PURE__ */ new Map([]);
7327
- S(e.fieldsConfig, b);
7326
+ const C = /* @__PURE__ */ new Map([]);
7327
+ S(e.fieldsConfig, C);
7328
7328
  const F = {}, k = me(e.modelValue) || [];
7329
7329
  s.value = [], k.forEach((B) => {
7330
- const T = b.get(B.id);
7330
+ const T = C.get(B.id);
7331
7331
  T && (F[B.id] = {
7332
7332
  ...B.editor,
7333
7333
  id: T.id,
@@ -7342,40 +7342,40 @@ function Ga(e, t, n, o) {
7342
7342
  }), r.value = !0, a.value = me(F), f.value = me(s.value), typeof e.presetFields == "function" ? p = e.presetFields() : p = e.presetFields;
7343
7343
  }
7344
7344
  function O() {
7345
- const b = [];
7345
+ const C = [];
7346
7346
  s.value.forEach((F) => {
7347
7347
  const k = o.get(F.id);
7348
7348
  if (k) {
7349
7349
  const {
7350
7350
  id: B,
7351
7351
  code: T,
7352
- labelCode: j,
7353
- name: z,
7354
- controlType: V,
7355
- labelName: D,
7356
- $type: G,
7352
+ labelCode: N,
7353
+ name: A,
7354
+ controlType: j,
7355
+ labelName: z,
7356
+ $type: X,
7357
7357
  $typeInfo: Z,
7358
7358
  ...L
7359
- } = k, R = {
7359
+ } = k, V = {
7360
7360
  id: B,
7361
7361
  code: T,
7362
- labelCode: j,
7363
- name: z,
7364
- controlType: V,
7365
- $type: G,
7362
+ labelCode: N,
7363
+ name: A,
7364
+ controlType: j,
7365
+ $type: X,
7366
7366
  $typeInfo: Z,
7367
7367
  editor: L
7368
7368
  };
7369
- R.editor.type = V, b.push(R);
7369
+ V.editor.type = j, C.push(V);
7370
7370
  }
7371
- }), t.emit("update:modelValue", b), e.onFieldsChanged && typeof e.onFieldsChanged == "function" && e.onFieldsChanged(b), r.value = !1, n.value = null;
7371
+ }), t.emit("update:modelValue", C), e.onFieldsChanged && typeof e.onFieldsChanged == "function" && e.onFieldsChanged(C), r.value = !1, n.value = null;
7372
7372
  }
7373
7373
  function g() {
7374
7374
  s.value = me(f.value), r.value = !1, n.value = null;
7375
7375
  }
7376
- function C(b) {
7376
+ function b(C) {
7377
7377
  let F = "draggable-item--text-truncate";
7378
- return p.find((k) => k === b.raw.id) && (F += " query-solution-selected-fields"), F;
7378
+ return p.find((k) => k === C.raw.id) && (F += " query-solution-selected-fields"), F;
7379
7379
  }
7380
7380
  function y() {
7381
7381
  return r.value ? x(Qo, {
@@ -7387,11 +7387,11 @@ function Ga(e, t, n, o) {
7387
7387
  "text-field": "labelName",
7388
7388
  onActiveChange: l,
7389
7389
  onChange: d,
7390
- selectedItemClass: C
7390
+ selectedItemClass: b
7391
7391
  }, {
7392
- text: (b) => x("div", {
7392
+ text: (C) => x("div", {
7393
7393
  style: "margin: 10px 0px 10px 14px;"
7394
- }, [b.data.name.data, x("div", {
7394
+ }, [C.data.name.data, x("div", {
7395
7395
  class: "checked-tip",
7396
7396
  style: "display:none;"
7397
7397
  }, null), x("span", {
@@ -7536,14 +7536,14 @@ const Xa = {
7536
7536
  props: Ya,
7537
7537
  emits: ["click"],
7538
7538
  setup(e, t) {
7539
- const n = w(e.popupContentPosition), o = w(e.host), i = E(() => ({
7539
+ const n = w(e.popupContentPosition), o = w(e.host), i = P(() => ({
7540
7540
  backgroundColor: e.backgroundColor || "",
7541
7541
  pointerEvents: "auto"
7542
7542
  }));
7543
7543
  function r(f) {
7544
7544
  t.emit("click"), f.preventDefault(), f.stopPropagation();
7545
7545
  }
7546
- E(() => {
7546
+ P(() => {
7547
7547
  const f = o.value;
7548
7548
  if (f) {
7549
7549
  const s = f.getBoundingClientRect(), {
@@ -7558,7 +7558,7 @@ const Xa = {
7558
7558
  }
7559
7559
  return n.value;
7560
7560
  });
7561
- const a = E(() => ({
7561
+ const a = P(() => ({
7562
7562
  // position: 'relative',
7563
7563
  // left: `${position.value.left}px`,
7564
7564
  // top: `${position.value.top}px`
@@ -7630,10 +7630,10 @@ function Mn(e, t) {
7630
7630
  return { judgeCanOpen: n };
7631
7631
  }
7632
7632
  function el(e, t, n, o, i) {
7633
- const r = w(e.buttonBehavior), a = w(e.popupOnInput), f = E(() => ({
7633
+ const r = w(e.buttonBehavior), a = w(e.popupOnInput), f = P(() => ({
7634
7634
  "input-group-append": !0,
7635
7635
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
7636
- })), { judgeCanOpen: s } = Mn(e, i), u = E(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = Dt(kn, null), c = w();
7636
+ })), { judgeCanOpen: s } = Mn(e, i), u = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = Dt(kn, null), c = w();
7637
7637
  async function p(v) {
7638
7638
  if (await s() && u.value) {
7639
7639
  const h = !!t.slots.default;
@@ -7667,7 +7667,7 @@ function el(e, t, n, o, i) {
7667
7667
  };
7668
7668
  }
7669
7669
  function tl(e, t, n, o, i, r) {
7670
- const a = w(!1), f = E(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: s, hasClearClass: u } = r;
7670
+ const a = w(!1), f = P(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: s, hasClearClass: u } = r;
7671
7671
  function m(d) {
7672
7672
  a.value = d, u.value = d;
7673
7673
  }
@@ -7699,13 +7699,13 @@ function tl(e, t, n, o, i, r) {
7699
7699
  };
7700
7700
  }
7701
7701
  function nl(e, t, n, o, i) {
7702
- const r = E(() => e.popupOnInput), a = E(() => e.popupOnFocus), { shouldPopupContent: f, closeAllPopover: s } = i, u = w(!1), m = E(() => e.enableTitle ? n.value : ""), c = E(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = E(() => e.readonly || !e.editable), l = w(!1), d = E(() => !e.disable && l.value), v = E(() => ({
7702
+ const r = P(() => e.popupOnInput), a = P(() => e.popupOnFocus), { shouldPopupContent: f, closeAllPopover: s } = i, u = w(!1), m = P(() => e.enableTitle ? n.value : ""), c = P(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), p = P(() => e.readonly || !e.editable), l = w(!1), d = P(() => !e.disable && l.value), v = P(() => ({
7703
7703
  "text-left": e.textAlign === "left",
7704
7704
  "text-center": e.textAlign === "center",
7705
7705
  "text-right": e.textAlign === "right",
7706
7706
  "form-control": !0,
7707
7707
  "f-utils-fill": !0
7708
- })), h = E(() => ({
7708
+ })), h = P(() => ({
7709
7709
  "input-group": !0,
7710
7710
  "f-state-disabled": e.disable,
7711
7711
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -7713,8 +7713,8 @@ function nl(e, t, n, o, i) {
7713
7713
  "f-state-focus": d.value,
7714
7714
  "input-group--has-clear": e.enableClear && u.value
7715
7715
  }));
7716
- function S(T, j = !0) {
7717
- n.value = T, j && (t.emit("change", T), t.emit("update:modelValue", T));
7716
+ function S(T, N = !0) {
7717
+ n.value = T, N && (t.emit("change", T), t.emit("update:modelValue", T));
7718
7718
  }
7719
7719
  function I(T) {
7720
7720
  f.value = !1, S(T, !0);
@@ -7731,15 +7731,15 @@ function nl(e, t, n, o, i) {
7731
7731
  function g(T) {
7732
7732
  t.emit("click", T), s(), t.slots.default && !e.disable && !e.readonly && e.popupOnClick && i.togglePopup();
7733
7733
  }
7734
- function C(T) {
7734
+ function b(T) {
7735
7735
  !e.disable && !e.readonly && (l.value = !0, p.value || (t.emit("focus", T), a.value && !f.value && i.popup()));
7736
7736
  }
7737
7737
  function y(T) {
7738
7738
  t.emit("input", T);
7739
- const j = T.target.value;
7740
- o.value = j, n.value !== j && S(j, e.updateOn === "change"), r.value && !f.value && i.popup();
7739
+ const N = T.target.value;
7740
+ o.value = N, n.value !== N && S(N, e.updateOn === "change"), r.value && !f.value && i.popup();
7741
7741
  }
7742
- function b(T) {
7742
+ function C(T) {
7743
7743
  T.target.tagName !== "INPUT" && T.preventDefault(), T.stopPropagation();
7744
7744
  }
7745
7745
  function F(T) {
@@ -7749,8 +7749,8 @@ function nl(e, t, n, o, i) {
7749
7749
  T.key === "Enter" && (r.value || a.value) && i.hidePopup(), t.emit("keyup", T);
7750
7750
  }
7751
7751
  function B(T) {
7752
- const j = T.target.value;
7753
- T.stopPropagation(), S(j);
7752
+ const N = T.target.value;
7753
+ T.stopPropagation(), S(N);
7754
7754
  }
7755
7755
  return {
7756
7756
  hasFocusedTextBox: d,
@@ -7764,11 +7764,11 @@ function nl(e, t, n, o, i) {
7764
7764
  commitValue: I,
7765
7765
  onBlurTextBox: O,
7766
7766
  onClickTextBox: g,
7767
- onFocusTextBox: C,
7767
+ onFocusTextBox: b,
7768
7768
  onInput: y,
7769
7769
  onKeyDownTextBox: F,
7770
7770
  onKeyUpTextBox: k,
7771
- onMouseDownTextBox: b,
7771
+ onMouseDownTextBox: C,
7772
7772
  onTextBoxValueChange: B
7773
7773
  };
7774
7774
  }
@@ -7831,23 +7831,20 @@ function il(e, t, n) {
7831
7831
  onTextBoxValueChange: v
7832
7832
  } = n, h = w(e.id), {
7833
7833
  uuid: S
7834
- } = xt(), I = E(() => ({
7835
- "border-top-right-radius": "6px",
7836
- "border-bottom-right-radius": "6px"
7837
- }));
7834
+ } = xt();
7838
7835
  Ue(() => {
7839
- var b, F;
7840
- e.selectOnCreated && ((b = o.value) == null || b.select()), e.focusOnCreated && ((F = o.value) == null || F.focus({
7836
+ var y, C;
7837
+ e.selectOnCreated && ((y = o.value) == null || y.select()), e.focusOnCreated && ((C = o.value) == null || C.focus({
7841
7838
  preventScroll: !0
7842
7839
  })), h.value || (h.value = "button-edit_" + S(8)), h.value = h.value + "-textbox";
7843
7840
  });
7844
- const O = w(!1), g = (b) => {
7845
- b.preventDefault(), O.value = !0;
7846
- }, C = (b) => {
7847
- b.preventDefault(), O.value = !1, c(b);
7841
+ const I = w(!1), O = (y) => {
7842
+ y.preventDefault(), I.value = !0;
7843
+ }, g = (y) => {
7844
+ y.preventDefault(), I.value = !1, c(y);
7848
7845
  };
7849
- function y(b) {
7850
- O.value || c(b);
7846
+ function b(y) {
7847
+ I.value || c(y);
7851
7848
  }
7852
7849
  return () => x("input", {
7853
7850
  id: e.id ? e.id + "-textbox" : void 0,
@@ -7855,7 +7852,6 @@ function il(e, t, n) {
7855
7852
  name: "input-group-value",
7856
7853
  autocomplete: e.autoComplete ? "on" : "off",
7857
7854
  class: r.value,
7858
- style: I.value,
7859
7855
  disabled: e.disable,
7860
7856
  maxlength: e.maxLength,
7861
7857
  minlength: e.minLength,
@@ -7869,22 +7865,22 @@ function il(e, t, n) {
7869
7865
  onChange: v,
7870
7866
  onClick: u,
7871
7867
  onFocus: m,
7872
- onInput: y,
7868
+ onInput: b,
7873
7869
  onKeydown: p,
7874
7870
  onKeyup: l,
7875
7871
  onMousedown: d,
7876
- onCompositionend: C,
7877
- onCompositionstart: g
7872
+ onCompositionend: g,
7873
+ onCompositionstart: O
7878
7874
  }, null);
7879
7875
  }
7880
7876
  function rl(e, t, n) {
7881
- const o = w(e.separator), i = E(() => e.readonly || e.disable), {
7877
+ const o = w(e.separator), i = P(() => e.readonly || e.disable), {
7882
7878
  changeTextBoxValue: r,
7883
7879
  onFocusTextBox: a,
7884
7880
  onBlurTextBox: f,
7885
7881
  onClickTextBox: s,
7886
7882
  textBoxPlaceholder: u
7887
- } = n, m = E(() => t.value ? t.value.split(o.value).map((d) => ({
7883
+ } = n, m = P(() => t.value ? t.value.split(o.value).map((d) => ({
7888
7884
  name: d,
7889
7885
  selectable: !0
7890
7886
  })) : []);
@@ -7999,46 +7995,43 @@ const sl = /* @__PURE__ */ Fe({
7999
7995
  } = p, h = tl(e, t, i, l, c, p), {
8000
7996
  onMouseEnterTextBox: S,
8001
7997
  onMouseLeaveTextBox: I
8002
- } = h, O = E(() => {
8003
- const V = {
7998
+ } = h, O = P(() => {
7999
+ const A = {
8004
8000
  "f-button-edit": !0,
8005
8001
  "f-cmp-inputgroup": !0,
8006
8002
  "f-button-edit-nowrap": !e.wrapText
8007
8003
  };
8008
- return o.value && o.value.split(" ").reduce((D, G) => (D[G] = !0, D), V), V;
8009
- }), g = E(() => ({
8004
+ return o.value && o.value.split(" ").reduce((j, z) => (j[z] = !0, j), A), A;
8005
+ }), g = P(() => ({
8010
8006
  overflow: e.wrapText ? "hidden" : ""
8011
- })), C = E(() => ({
8012
- paddingLeft: "3px",
8013
- backgroundColor: "#fff"
8014
8007
  }));
8015
- function y() {
8008
+ function b() {
8016
8009
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
8017
8010
  return 0;
8018
- let V = 0;
8019
- const D = Array.from(n.value.querySelectorAll(".farris-tag-item"));
8020
- return D && D.length && (V = D.map((G) => G.offsetTop).filter((G) => G > 20).length), V;
8011
+ let A = 0;
8012
+ const j = Array.from(n.value.querySelectorAll(".farris-tag-item"));
8013
+ return j && j.length && (A = j.map((z) => z.offsetTop).filter((z) => z > 20).length), A;
8021
8014
  }
8022
- const b = w(y());
8015
+ const y = w(b());
8023
8016
  _n(() => {
8024
- b.value = y();
8017
+ y.value = b();
8025
8018
  });
8026
- function F() {
8027
- return e.multiSelect && e.inputType === "tag" ? () => x(Oe, null, [rl(e, i, p)(), !!b.value && x("div", {
8019
+ function C() {
8020
+ return e.multiSelect && e.inputType === "tag" ? () => x(Oe, null, [rl(e, i, p)(), !!y.value && x("div", {
8028
8021
  class: "d-flex flex-row mr-2 more-tags",
8029
8022
  "more-tags": !0
8030
8023
  }, [x("span", {
8031
8024
  class: "multi--more-text"
8032
- }, [Te("+"), b.value])])]) : il(e, i, p);
8025
+ }, [Te("+"), y.value])])]) : il(e, i, p);
8033
8026
  }
8034
- let k = F();
8027
+ let F = C();
8035
8028
  re([() => e.multiSelect, () => e.inputType], () => {
8036
- k = F();
8029
+ F = C();
8037
8030
  });
8038
8031
  const {
8039
- renderButtonGroup: B,
8040
- buttonHandleElement: T
8041
- } = al(e, t, m, h), j = ll(e, t, r), z = {
8032
+ renderButtonGroup: k,
8033
+ buttonHandleElement: B
8034
+ } = al(e, t, m, h), T = ll(e, t, r), N = {
8042
8035
  displayText: c,
8043
8036
  commitValue: d,
8044
8037
  elementRef: n,
@@ -8048,22 +8041,22 @@ const sl = /* @__PURE__ */ Fe({
8048
8041
  shouldPopupContent: a,
8049
8042
  togglePopup: u,
8050
8043
  openDialog: () => {
8051
- T.value && e.buttonBehavior === "Modal" && T.value.click();
8044
+ B.value && e.buttonBehavior === "Modal" && B.value.click();
8052
8045
  },
8053
8046
  getModal: () => {
8054
- var V;
8055
- return e.buttonBehavior === "Modal" ? (V = m.modalRef.value) == null ? void 0 : V.value : null;
8047
+ var A;
8048
+ return e.buttonBehavior === "Modal" ? (A = m.modalRef.value) == null ? void 0 : A.value : null;
8056
8049
  }
8057
8050
  };
8058
8051
  return Ue(() => {
8059
- n.value.componentInstance = z, window.onresize = () => {
8052
+ n.value.componentInstance = N, window.onresize = () => {
8060
8053
  document.body.click();
8061
8054
  };
8062
8055
  }), Gn(() => {
8063
- var V;
8064
- window.onresize = null, (V = window[Qe]) == null || V.delete(n.value);
8065
- }), t.expose(z), () => {
8066
- var V, D;
8056
+ var A;
8057
+ window.onresize = null, (A = window[Qe]) == null || A.delete(n.value);
8058
+ }), t.expose(N), () => {
8059
+ var A, j;
8067
8060
  return x(Oe, null, [x("div", kt(t.attrs, {
8068
8061
  ref: n,
8069
8062
  class: O.value,
@@ -8072,10 +8065,9 @@ const sl = /* @__PURE__ */ Fe({
8072
8065
  }), [x("div", {
8073
8066
  id: e.id ? `${e.id}-input-group` : void 0,
8074
8067
  class: v.value,
8075
- style: C.value,
8076
8068
  onMouseenter: S,
8077
8069
  onMouseleave: I
8078
- }, [(D = (V = t.slots).precontent) == null ? void 0 : D.call(V), k(), B()])]), a.value && j()]);
8070
+ }, [(j = (A = t.slots).precontent) == null ? void 0 : j.call(A), F(), k()])]), a.value && T()]);
8079
8071
  };
8080
8072
  }
8081
8073
  }), ul = /* @__PURE__ */ Fe({
@@ -8083,7 +8075,7 @@ const sl = /* @__PURE__ */ Fe({
8083
8075
  props: In,
8084
8076
  emits: ["update:modelValue"],
8085
8077
  setup(e, t) {
8086
- const n = w(null), o = E(() => "共" + e.modelValue.length + "项"), i = /* @__PURE__ */ new Map(), r = _a(e, t, n, i), {
8078
+ const n = w(null), o = P(() => "共" + e.modelValue.length + "项"), i = /* @__PURE__ */ new Map(), r = _a(e, t, n, i), {
8087
8079
  renderPanel: a
8088
8080
  } = r, {
8089
8081
  renderTransfer: f,