@farris/ui-vue 1.8.5-beta.3 → 1.8.5-beta.4

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 (61) hide show
  1. package/components/batch-editor/index.esm.js +6850 -6840
  2. package/components/batch-editor/index.umd.cjs +20 -20
  3. package/components/button/index.esm.js +6852 -6842
  4. package/components/button/index.umd.cjs +20 -20
  5. package/components/button-edit/index.esm.js +140 -140
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/button-group/index.esm.js +46 -45
  8. package/components/button-group/index.umd.cjs +1 -1
  9. package/components/common/index.esm.js +16 -12
  10. package/components/common/index.umd.cjs +1 -1
  11. package/components/component/index.esm.js +411 -411
  12. package/components/component/index.umd.cjs +2 -2
  13. package/components/data-view/index.esm.js +6500 -6487
  14. package/components/data-view/index.umd.cjs +21 -21
  15. package/components/designer-canvas/index.esm.js +269 -269
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/expression-editor/index.esm.js +458 -458
  18. package/components/expression-editor/index.umd.cjs +2 -2
  19. package/components/filter-condition-editor/index.esm.js +386 -386
  20. package/components/filter-condition-editor/index.umd.cjs +1 -1
  21. package/components/flow-canvas/index.esm.js +1100 -1100
  22. package/components/flow-canvas/index.umd.cjs +7 -7
  23. package/components/mapping-editor/index.esm.js +243 -243
  24. package/components/mapping-editor/index.umd.cjs +2 -2
  25. package/components/message-box/index.esm.js +82 -82
  26. package/components/message-box/index.umd.cjs +1 -1
  27. package/components/modal/index.esm.js +76 -76
  28. package/components/modal/index.umd.cjs +1 -1
  29. package/components/order/index.esm.js +139 -138
  30. package/components/order/index.umd.cjs +1 -1
  31. package/components/query-solution/index.esm.js +891 -891
  32. package/components/query-solution/index.umd.cjs +1 -1
  33. package/components/response-toolbar/index.esm.js +151 -149
  34. package/components/response-toolbar/index.umd.cjs +1 -1
  35. package/components/schema-selector/index.esm.js +947 -941
  36. package/components/schema-selector/index.umd.cjs +6 -6
  37. package/components/section/index.esm.js +121 -121
  38. package/components/section/index.umd.cjs +2 -2
  39. package/components/sort-condition-editor/index.esm.js +539 -539
  40. package/components/sort-condition-editor/index.umd.cjs +1 -1
  41. package/components/tabs/index.esm.js +448 -442
  42. package/components/tabs/index.umd.cjs +1 -1
  43. package/designer/button-edit/index.esm.js +97 -97
  44. package/designer/button-edit/index.umd.cjs +1 -1
  45. package/designer/data-grid/index.esm.js +6483 -6470
  46. package/designer/data-grid/index.umd.cjs +21 -21
  47. package/designer/farris-designer.all.esm.js +1891 -1885
  48. package/designer/farris-designer.all.umd.cjs +14 -14
  49. package/designer/radio-group/index.esm.js +183 -183
  50. package/designer/radio-group/index.umd.cjs +2 -2
  51. package/designer/response-toolbar/index.esm.js +558 -556
  52. package/designer/response-toolbar/index.umd.cjs +1 -1
  53. package/designer/tabs/index.esm.js +416 -416
  54. package/designer/tabs/index.umd.cjs +2 -2
  55. package/farris.all.esm.js +9133 -9119
  56. package/farris.all.umd.cjs +35 -35
  57. package/package.json +1 -1
  58. package/types/common/index.d.ts +1 -0
  59. package/types/common/utils/attrs.d.ts +26 -0
  60. package/types/modal/src/composition/type.d.ts +2 -0
  61. package/types/tabs/src/composition/types.d.ts +2 -0
@@ -1,19 +1,19 @@
1
1
  var $e = Object.defineProperty;
2
2
  var _e = (e, t, n) => t in e ? $e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var J = (e, t, n) => _e(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as o, onMounted as ae, defineComponent as de, computed as z, createVNode as m, Teleport as be, createApp as we, onUnmounted as fe, Fragment as ee, watch as U, nextTick as Z, onBeforeMount as Je, watchEffect as Ze, Transition as Qe, shallowRef as et, render as ie, h as tt, cloneVNode as nt, mergeProps as re, inject as lt, withDirectives as at, vShow as ot, createTextVNode as ce, onUpdated as ut, onBeforeUnmount as st } from "vue";
4
+ import { ref as o, onMounted as oe, defineComponent as de, computed as z, createVNode as m, Teleport as be, createApp as we, onUnmounted as fe, Fragment as ee, watch as U, nextTick as Z, onBeforeMount as Je, watchEffect as Ze, Transition as Qe, mergeProps as ae, shallowRef as et, render as re, h as tt, cloneVNode as nt, inject as lt, withDirectives as at, vShow as ot, createTextVNode as ce, onUpdated as ut, onBeforeUnmount as st } from "vue";
5
5
  import { LocaleService as le } from "../locale/index.esm.js";
6
- import { isMobilePhone as te, getMaxZIndex as pe, useGuid as it, withInstall as rt } from "../common/index.esm.js";
6
+ import { isMobilePhone as te, getMaxZIndex as pe, extractDataAttrs as it, useGuid as rt, withInstall as ct } from "../common/index.esm.js";
7
7
  import ve from "../drawer/index.esm.js";
8
8
  import "../property-panel/index.esm.js";
9
9
  import "../button/index.esm.js";
10
10
  import "../field-selector/index.esm.js";
11
11
  import "../collection-property-editor/index.esm.js/src/use-button-items.designer";
12
- import ct from "../tags/index.esm.js";
12
+ import dt from "../tags/index.esm.js";
13
13
  import { debounce as Ce } from "lodash-es";
14
- import { useInputExpand as dt } from "../common/index.esm.js/text-box/use-input-expand";
15
- import ft from "../popover/index.esm.js";
16
- const vt = {
14
+ import { useInputExpand as ft } from "../common/index.esm.js/text-box/use-input-expand";
15
+ import vt from "../popover/index.esm.js";
16
+ const ht = {
17
17
  /**
18
18
  * 标记组件的唯一标识
19
19
  */
@@ -184,23 +184,23 @@ const vt = {
184
184
  * 扩展按钮是否禁用
185
185
  */
186
186
  expandDisabled: { type: Boolean, default: !1 }
187
- }, ht = {
187
+ }, mt = {
188
188
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
189
189
  host: { type: Object },
190
190
  backgroundColor: { type: String, default: "" }
191
191
  };
192
- function mt() {
192
+ function gt() {
193
193
  const e = o(!1);
194
- return ae(() => {
194
+ return oe(() => {
195
195
  e.value = !0;
196
196
  }), e;
197
197
  }
198
- const gt = /* @__PURE__ */ de({
198
+ const yt = /* @__PURE__ */ de({
199
199
  name: "FOverlay",
200
- props: ht,
200
+ props: mt,
201
201
  emits: ["click"],
202
202
  setup(e, t) {
203
- const n = o(e.popupContentPosition), a = o(e.host), u = mt(), r = z(() => ({
203
+ const n = o(e.popupContentPosition), a = o(e.host), u = gt(), r = z(() => ({
204
204
  backgroundColor: e.backgroundColor || "",
205
205
  pointerEvents: "auto"
206
206
  }));
@@ -243,13 +243,13 @@ const gt = /* @__PURE__ */ de({
243
243
  }) : null;
244
244
  }
245
245
  });
246
- function yt(e) {
246
+ function pt(e) {
247
247
  if (e.content && e.content.render)
248
248
  return e.content.render;
249
249
  if (e.render && typeof e.render == "function")
250
250
  return e.render;
251
251
  }
252
- function pt(e) {
252
+ function bt(e) {
253
253
  const t = document.createElement("div");
254
254
  t.style.display = "contents";
255
255
  let n;
@@ -262,8 +262,8 @@ function pt(e) {
262
262
  fe(() => {
263
263
  document.body.removeChild(t);
264
264
  });
265
- const r = yt(e);
266
- return () => m(gt, {
265
+ const r = pt(e);
266
+ return () => m(yt, {
267
267
  "popup-content-position": e.popupPosition,
268
268
  host: e.host,
269
269
  onClick: u,
@@ -274,12 +274,12 @@ function pt(e) {
274
274
  }
275
275
  }), document.body.appendChild(t), n.mount(t), n;
276
276
  }
277
- class bt {
277
+ class wt {
278
278
  static show(t) {
279
- return pt(t);
279
+ return bt(t);
280
280
  }
281
281
  }
282
- const wt = {
282
+ const Ct = {
283
283
  /**
284
284
  * 允许点击蒙层关闭对话框
285
285
  * @default false
@@ -497,7 +497,7 @@ class q {
497
497
  return this.width = t.width, this.height = t.height, this;
498
498
  }
499
499
  }
500
- function Ct(e, t) {
500
+ function xt(e, t) {
501
501
  const n = o(), a = o(), u = o(), r = o(), c = o(), d = o(), i = o(), v = o(), w = o(), g = o(), C = o(), x = o(e.resizeable), M = o(), T = o(e.draggable), O = o(!1);
502
502
  function y() {
503
503
  const s = a.value || document.body, f = window.getComputedStyle(s);
@@ -505,8 +505,8 @@ function Ct(e, t) {
505
505
  return;
506
506
  const E = W.getTransformInfo(n.value), I = {};
507
507
  i.value && (I.deltaL = n.value.offsetLeft - i.value.x, I.deltaT = n.value.offsetTop - i.value.y);
508
- const N = f.getPropertyValue("position");
509
- I.width = s.clientWidth, I.height = s.clientHeight, I.pr = parseInt(f.getPropertyValue("padding-right"), 10), I.pb = parseInt(f.getPropertyValue("padding-bottom"), 10), I.position = f.getPropertyValue("position"), N === "static" && (s.style.position = "relative"), I.translateX = E.x, I.translateY = E.y, g.value = I;
508
+ const A = f.getPropertyValue("position");
509
+ I.width = s.clientWidth, I.height = s.clientHeight, I.pr = parseInt(f.getPropertyValue("padding-right"), 10), I.pb = parseInt(f.getPropertyValue("padding-bottom"), 10), I.position = f.getPropertyValue("position"), A === "static" && (s.style.position = "relative"), I.translateX = E.x, I.translateY = E.y, g.value = I;
510
510
  }
511
511
  function k(s) {
512
512
  if (n.value) {
@@ -523,8 +523,8 @@ function Ct(e, t) {
523
523
  function S() {
524
524
  var s, f, E, I;
525
525
  if (n.value) {
526
- const N = n.value;
527
- v.value && ((v.value.n || v.value.s) && ((s = d.value) != null && s.height) && (N.style.height = d.value.height + "px"), (v.value.w || v.value.e) && ((f = d.value) != null && f.width) && (N.style.width = d.value.width + "px"), i.value && ((E = i.value) != null && E.x && (N.style.left = i.value.x + "px"), (I = i.value) != null && I.y && (N.style.top = i.value.y + "px")));
526
+ const A = n.value;
527
+ v.value && ((v.value.n || v.value.s) && ((s = d.value) != null && s.height) && (A.style.height = d.value.height + "px"), (v.value.w || v.value.e) && ((f = d.value) != null && f.width) && (A.style.width = d.value.width + "px"), i.value && ((E = i.value) != null && E.x && (A.style.left = i.value.x + "px"), (I = i.value) != null && I.y && (A.style.top = i.value.y + "px")));
528
528
  }
529
529
  }
530
530
  function R() {
@@ -540,7 +540,7 @@ function Ct(e, t) {
540
540
  }
541
541
  }
542
542
  }
543
- function V(s) {
543
+ function D(s) {
544
544
  if (!u.value || !r.value || !c.value || !v.value)
545
545
  return;
546
546
  s.subtract(u.value);
@@ -551,7 +551,7 @@ function Ct(e, t) {
551
551
  if (!w.value)
552
552
  return;
553
553
  const f = W.fromEvent(s);
554
- f && V(f);
554
+ f && D(f);
555
555
  }
556
556
  function b() {
557
557
  if (n.value) {
@@ -560,15 +560,15 @@ function Ct(e, t) {
560
560
  height: f,
561
561
  x: E,
562
562
  y: I
563
- } = n.value.getBoundingClientRect(), N = W.getTransformInfo(n.value);
563
+ } = n.value.getBoundingClientRect(), A = W.getTransformInfo(n.value);
564
564
  return {
565
565
  size: {
566
566
  width: s,
567
567
  height: f
568
568
  },
569
569
  position: {
570
- x: E - N.x,
571
- y: I - N.y
570
+ x: E - A.x,
571
+ y: I - A.y
572
572
  }
573
573
  };
574
574
  }
@@ -581,11 +581,11 @@ function Ct(e, t) {
581
581
  }
582
582
  u.value = void 0, r.value = null, c.value = null, d.value = null, i.value = null, v.value = null, w.value = null, document.removeEventListener("mousemove", h), document.removeEventListener("mouseup", P);
583
583
  }
584
- function D() {
584
+ function V() {
585
585
  document.addEventListener("mousemove", h), document.addEventListener("mouseup", P);
586
586
  }
587
587
  function p(s) {
588
- s instanceof MouseEvent && s.button === 2 || T.value && (document.body.click(), s.stopPropagation(), s.preventDefault(), u.value = W.fromEvent(s), w.value = s.target, k(s), D());
588
+ s instanceof MouseEvent && s.button === 2 || T.value && (document.body.click(), s.stopPropagation(), s.preventDefault(), u.value = W.fromEvent(s), w.value = s.target, k(s), V());
589
589
  }
590
590
  function H(s) {
591
591
  return n.value = s, x.value && m(ee, null, [m("div", {
@@ -622,7 +622,7 @@ function Ct(e, t) {
622
622
  onMousedown: (f) => p(f)
623
623
  }, null)]);
624
624
  }
625
- function A(s = !0) {
625
+ function N(s = !0) {
626
626
  document.body.click();
627
627
  const f = a.value || document.body, E = q.getCurrent(f), I = n.value;
628
628
  s && I && (M.value = b(), M.value.transform = I.style.transform), E && I && (d.value = E, d.value.height -= 14, d.value.width -= 14, I.style.height = d.value.height + "px", I.style.width = d.value.width + "px", I.style.left = "7px", I.style.top = "7px", I.style.transform = "", C.value = {
@@ -644,8 +644,8 @@ function Ct(e, t) {
644
644
  y: (window.innerHeight - E.height) / 2
645
645
  };
646
646
  (s = d.value) == null || s.set(E), (f = i.value) == null || f.set(I);
647
- const N = n.value;
648
- N.style.height = E.height + "px", N.style.width = E.width + "px", N.style.left = `${I.x}px`, N.style.top = `${I.y}px`, N.style.transform = "", C.value = {
647
+ const A = n.value;
648
+ A.style.height = E.height + "px", A.style.width = E.width + "px", A.style.left = `${I.x}px`, A.style.top = `${I.y}px`, A.style.transform = "", C.value = {
649
649
  size: E,
650
650
  position: I
651
651
  }, T.value = e.draggable, O.value = !1;
@@ -665,7 +665,7 @@ function Ct(e, t) {
665
665
  }
666
666
  function Y() {
667
667
  const s = () => {
668
- O.value ? A(!1) : _(), document.body.click();
668
+ O.value ? N(!1) : _(), document.body.click();
669
669
  };
670
670
  return window.addEventListener("resize", s), () => {
671
671
  window.removeEventListener("resize", s);
@@ -676,7 +676,7 @@ function Ct(e, t) {
676
676
  renderResizeBar: H,
677
677
  boundingElement: a,
678
678
  resizedEventParam: C,
679
- maximize: A,
679
+ maximize: N,
680
680
  restore: $,
681
681
  allowDrag: T,
682
682
  isMaximized: O,
@@ -684,7 +684,7 @@ function Ct(e, t) {
684
684
  moveToCenter: _
685
685
  };
686
686
  }
687
- function xt(e, t, n) {
687
+ function Bt(e, t, n) {
688
688
  const a = o(), u = o(e.draggable), r = o(e.lockAxis), c = o(), d = o(), i = o(!1), v = o(new W(0, 0)), w = o(new W(0, 0)), g = o(new W(0, 0)), C = o(new W(0, 0));
689
689
  U(() => n.value, (h) => {
690
690
  c.value.style.cursor = h ? "move" : "default";
@@ -700,9 +700,9 @@ function xt(e, t, n) {
700
700
  return !1;
701
701
  }
702
702
  function M() {
703
- var D, p;
703
+ var V, p;
704
704
  let h = g.value.x + w.value.x, b = g.value.y + w.value.y;
705
- r.value === "x" ? (h = ((D = v.value) == null ? void 0 : D.x) || 0, g.value.x = 0) : r.value === "y" && (b = ((p = v.value) == null ? void 0 : p.y) || 0, g.value.y = 0);
705
+ r.value === "x" ? (h = ((V = v.value) == null ? void 0 : V.x) || 0, g.value.x = 0) : r.value === "y" && (b = ((p = v.value) == null ? void 0 : p.y) || 0, g.value.y = 0);
706
706
  const P = `translate3d(${Math.round(h)}px, ${Math.round(b)}px, 0px)`;
707
707
  a.value && (a.value.style.transform = P), C.value.x = h, C.value.y = b;
708
708
  }
@@ -750,7 +750,7 @@ function xt(e, t, n) {
750
750
  const b = h.target || h.srcElement;
751
751
  c.value !== void 0 && b && !x(b, c.value) || u.value !== !1 && (document.body.click(), h.stopPropagation(), h.preventDefault(), v.value = W.fromEvent(h, a.value), R(), S());
752
752
  }
753
- function V(h, b, P) {
753
+ function D(h, b, P) {
754
754
  if (u.value && b) {
755
755
  if (h)
756
756
  c.value = h;
@@ -758,15 +758,15 @@ function xt(e, t, n) {
758
758
  if (e.dragHandle instanceof HTMLElement)
759
759
  c.value = e.dragHandle;
760
760
  else if (typeof e.dragHandle == "string") {
761
- const D = b.querySelector(e.dragHandle);
762
- D && (c.value = D);
761
+ const V = b.querySelector(e.dragHandle);
762
+ V && (c.value = V);
763
763
  }
764
764
  }
765
765
  a.value = b, d.value = P, c.value ? (c.value.classList.add("ng-draggable"), c.value.addEventListener("mousedown", F)) : u.value = !1;
766
766
  }
767
767
  }
768
768
  return {
769
- registerDraggle: V,
769
+ registerDraggle: D,
770
770
  resetTranslate: R
771
771
  };
772
772
  }
@@ -780,7 +780,7 @@ function xe(e, t) {
780
780
  };
781
781
  }
782
782
  }
783
- function Bt(e, t) {
783
+ function Mt(e, t) {
784
784
  const n = o(e.enableEsc);
785
785
  let a = null;
786
786
  return n.value ? (a = xe("Escape", (u) => {
@@ -789,7 +789,7 @@ function Bt(e, t) {
789
789
  remove: a
790
790
  }) : null;
791
791
  }
792
- function Mt(e, t) {
792
+ function kt(e, t) {
793
793
  const n = o(e.enableEnter);
794
794
  let a = null;
795
795
  return n.value ? (a = xe("Enter", (u) => {
@@ -800,7 +800,7 @@ function Mt(e, t) {
800
800
  }
801
801
  const Q = /* @__PURE__ */ de({
802
802
  name: "FModal",
803
- props: wt,
803
+ props: Ct,
804
804
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
805
805
  setup(e, t) {
806
806
  const n = o(e.width || 300), a = o(e.height || 200), u = o(e.modelValue), r = o(""), c = o(e.class), d = o(e.fitContent), i = o(e.showHeader), v = o(""), w = o(e.showCloseButton), g = o(e.showMaxButton), C = o(!1), x = o(e.dialogType), M = o(e.src), T = o(""), O = o(e.showButtons), y = o(e.title), k = o(e.containment || null), S = o();
@@ -810,7 +810,7 @@ const Q = /* @__PURE__ */ de({
810
810
  const l = document.querySelectorAll(".farris-modal").length;
811
811
  (!l || l - 1 <= 0) && S.value === document.querySelectorAll(".farris-modal")[0] && document.body.classList.remove("modal-open"), S.value && S.value.classList.remove("show");
812
812
  }
813
- function V(l, B) {
813
+ function D(l, B) {
814
814
  const L = B ? "accept" : "cancel";
815
815
  Promise.resolve().then(() => {
816
816
  var j;
@@ -826,16 +826,16 @@ const Q = /* @__PURE__ */ de({
826
826
  text: le.getLocaleValue("messageBox.cancel") || "取消",
827
827
  class: "btn btn-secondary",
828
828
  handle: (l) => {
829
- V(l, !1);
829
+ D(l, !1);
830
830
  }
831
831
  }, {
832
832
  name: "accept",
833
833
  text: le.getLocaleValue("messageBox.ok") || "确定",
834
834
  class: "btn btn-primary",
835
835
  handle: (l) => {
836
- V(l, !0);
836
+ D(l, !0);
837
837
  }
838
- }], b = o(e.buttons && e.buttons.length ? e.buttons : h), P = z(() => !!v.value), D = z(() => !!O.value && !!b.value), p = o(), H = o(), A = o(e.maximized || !1), {
838
+ }], b = o(e.buttons && e.buttons.length ? e.buttons : h), P = z(() => !!v.value), V = z(() => !!O.value && !!b.value), p = o(), H = o(), N = o(e.maximized || !1), {
839
839
  renderResizeBar: $,
840
840
  maximize: _,
841
841
  restore: Y,
@@ -844,9 +844,9 @@ const Q = /* @__PURE__ */ de({
844
844
  allowDrag: f,
845
845
  unWindowResizeHandle: E,
846
846
  moveToCenter: I
847
- } = Ct(e), {
848
- registerDraggle: N
849
- } = xt(e, t, f);
847
+ } = xt(e), {
848
+ registerDraggle: A
849
+ } = Bt(e, t, f);
850
850
  function he() {
851
851
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
852
852
  }
@@ -854,8 +854,8 @@ const Q = /* @__PURE__ */ de({
854
854
  l !== B && (y.value = l);
855
855
  }), U(() => e.modelValue, (l, B) => {
856
856
  l !== B && (u.value = l, u.value && e.draggable && Z(() => {
857
- H.value && !k.value && (k.value = H.value.parentElement, X.value = k.value, N(p.value, H.value, X.value), I());
858
- }), l || (k.value && (k.value = null), F())), u.value ? R.value = he() : (A.value = !1, f.value = e.draggable);
857
+ H.value && !k.value && (k.value = H.value.parentElement, X.value = k.value, A(p.value, H.value, X.value), I());
858
+ }), l || (k.value && (k.value = null), F())), u.value ? R.value = he() : (N.value = !1, f.value = e.draggable);
859
859
  }), U(() => e.showHeader, (l, B) => {
860
860
  l !== B && (i.value = l);
861
861
  }), U(() => e.showButtons, (l, B) => {
@@ -865,7 +865,7 @@ const Q = /* @__PURE__ */ de({
865
865
  JSON.stringify(L) !== JSON.stringify(j) && t.emit("resize", {
866
866
  newSize: l,
867
867
  oldSize: B,
868
- isMaximized: A.value
868
+ isMaximized: N.value
869
869
  });
870
870
  }), U([() => e.width, () => e.height], (l, B) => {
871
871
  (l[0] !== B[0] || l[1] !== B[1]) && (n.value = l[0] || 500, a.value = l[1] || 600);
@@ -891,7 +891,7 @@ const Q = /* @__PURE__ */ de({
891
891
  return B == null || B.reduce((j, K) => (j[K] = !0, j), l), l;
892
892
  }), Oe = () => te() && !e.isMessager || !!e.fullscreen, ze = z(() => {
893
893
  const l = document.documentElement.clientWidth, B = document.documentElement.clientHeight;
894
- if (A.value)
894
+ if (N.value)
895
895
  return {
896
896
  position: "fixed",
897
897
  top: "0px",
@@ -926,7 +926,7 @@ const Q = /* @__PURE__ */ de({
926
926
  }), He = z(() => ({
927
927
  "f-icon": !0,
928
928
  modal_maximize: !0,
929
- modalrevert: A.value
929
+ modalrevert: N.value
930
930
  })), Re = z(() => ({
931
931
  "modal-body": !0,
932
932
  "f-utils-flex-column": x.value === "iframe",
@@ -943,12 +943,12 @@ const Q = /* @__PURE__ */ de({
943
943
  }, B = Fe();
944
944
  return Object.assign(l, B);
945
945
  });
946
- function oe(l) {
947
- if (l == null || l.stopPropagation(), A.value) {
948
- A.value = !1, Y();
946
+ function ue(l) {
947
+ if (l == null || l.stopPropagation(), N.value) {
948
+ N.value = !1, Y();
949
949
  return;
950
950
  }
951
- _(), A.value = !0;
951
+ _(), N.value = !0;
952
952
  }
953
953
  async function je(l, B) {
954
954
  l.handle ? await l.handle(B, l) && t.emit("closed", B) : t.emit("buttonClick", {
@@ -959,70 +959,70 @@ const Q = /* @__PURE__ */ de({
959
959
  function We(l) {
960
960
  l.width && (n.value = l.width), l.height && (a.value = l.height), l.buttons && (b.value = l.buttons), l.title && (y.value = l.title);
961
961
  }
962
- let ue = null, se = null;
962
+ let se = null, ie = null;
963
963
  Je(() => {
964
964
  R.value = he();
965
- }), ae(() => {
966
- H.value && !k.value && (k.value = H.value.parentElement, X.value = k.value, N(p.value, H.value, X.value)), ne.value && document.body.classList.add("modal-open"), ue = Bt(e, t), se = Mt(e, t);
965
+ }), oe(() => {
966
+ H.value && !k.value && (k.value = H.value.parentElement, X.value = k.value, A(p.value, H.value, X.value)), ne.value && document.body.classList.add("modal-open"), se = Mt(e, t), ie = kt(e, t);
967
967
  }), fe(() => {
968
- E && E(), ue && ue.remove(), se && se.remove();
968
+ E && E(), se && se.remove(), ie && ie.remove();
969
969
  }), t.expose({
970
970
  modalElementRef: H,
971
971
  updateModalOptions: We,
972
- close: V,
973
- maxDialog: oe,
974
- isMaximized: A,
972
+ close: D,
973
+ maxDialog: ue,
974
+ isMaximized: N,
975
975
  disableButtons: (l, B = !0) => {
976
976
  b.value.forEach((L) => {
977
977
  L.name && l.includes(L.name) && (L.disabled = B);
978
978
  });
979
979
  }
980
980
  });
981
- function Ve() {
981
+ function De() {
982
982
  return m("div", {
983
983
  class: "action-wrapper",
984
- onClick: (l) => V(l, !1)
984
+ onClick: (l) => D(l, !1)
985
985
  }, [m("span", {
986
986
  class: "close-icon"
987
987
  }, [m("i", {
988
988
  class: "f-icon f-icon-close"
989
989
  }, null)])]);
990
990
  }
991
- function De() {
991
+ function Ve() {
992
992
  return m("ul", null, [C.value && m("li", {
993
993
  class: "f-btn-icon f-bare"
994
994
  }, [m("span", {
995
995
  class: "f-icon modal_minimize"
996
996
  }, null)]), g.value && m("li", {
997
- onClick: oe,
997
+ onClick: ue,
998
998
  class: "f-btn-icon f-bare",
999
999
  style: "pointer-events: auto;"
1000
1000
  }, [m("span", {
1001
1001
  class: He.value
1002
1002
  }, null)]), w.value && m("li", {
1003
1003
  class: "f-btn-icon f-bare",
1004
- onClick: (l) => V(l, !1),
1004
+ onClick: (l) => D(l, !1),
1005
1005
  style: "pointer-events: auto;"
1006
1006
  }, [m("span", {
1007
1007
  class: "f-icon modal_close"
1008
1008
  }, null)])]);
1009
1009
  }
1010
- const Ne = (l) => {
1010
+ const Ae = (l) => {
1011
1011
  l.preventDefault();
1012
1012
  const B = l.currentTarget, L = l.deltaY * 0.5;
1013
1013
  B.scrollLeft += L;
1014
1014
  };
1015
- function Ae() {
1015
+ function Ne() {
1016
1016
  return m("div", {
1017
1017
  class: "modal-footer",
1018
1018
  style: Le.value
1019
1019
  }, [b.value && m("div", {
1020
1020
  class: "buttons",
1021
- onWheel: Ne
1021
+ onWheel: Ae
1022
1022
  }, [b.value.map((l) => {
1023
1023
  var j;
1024
- const B = o(l.disabled), L = l.class || ((j = l.appearance) == null ? void 0 : j.class);
1025
- return m("button", {
1024
+ const B = o(l.disabled), L = l.class || ((j = l.appearance) == null ? void 0 : j.class) || "btn btn-secondary";
1025
+ return m("button", ae(it(l), {
1026
1026
  name: l.name,
1027
1027
  style: l.styles,
1028
1028
  type: "button",
@@ -1031,16 +1031,16 @@ const Q = /* @__PURE__ */ de({
1031
1031
  onClick: (K) => {
1032
1032
  je(l, K);
1033
1033
  }
1034
- }, [!!l.iconClass && m("i", {
1034
+ }), [!!l.iconClass && m("i", {
1035
1035
  class: l.iconClass
1036
1036
  }, null), l.text]);
1037
1037
  })])]);
1038
1038
  }
1039
1039
  function ge(l) {
1040
- g.value && oe();
1040
+ g.value && ue();
1041
1041
  }
1042
1042
  function Ue() {
1043
- return m(ee, null, [A.value && m("div", {
1043
+ return m(ee, null, [N.value && m("div", {
1044
1044
  class: "modal-header",
1045
1045
  style: "position: absolute;background: transparent;height: 45px;width: 100%;",
1046
1046
  onDblclick: (l) => ge()
@@ -1058,16 +1058,16 @@ const Q = /* @__PURE__ */ de({
1058
1058
  class: "modal-title-label"
1059
1059
  }, [y.value])]), m("div", {
1060
1060
  class: "actions"
1061
- }, [De()])])]);
1061
+ }, [Ve()])])]);
1062
1062
  }
1063
1063
  function Ye() {
1064
- return t.slots.footerTemplate ? t.slots.footerTemplate() : D.value && Ae();
1064
+ return t.slots.footerTemplate ? t.slots.footerTemplate() : V.value && Ne();
1065
1065
  }
1066
1066
  function Xe(l) {
1067
1067
  if (l.stopPropagation(), e.allowClickMaskToClose) {
1068
1068
  if (l.target !== S.value)
1069
1069
  return;
1070
- V(l, !1);
1070
+ D(l, !1);
1071
1071
  }
1072
1072
  }
1073
1073
  function Ke() {
@@ -1077,7 +1077,7 @@ const Q = /* @__PURE__ */ de({
1077
1077
  class: Ee.value,
1078
1078
  style: ze.value,
1079
1079
  ref: H
1080
- }, [e.showFloatingClose && Ve(), m("div", {
1080
+ }, [e.showFloatingClose && De(), m("div", {
1081
1081
  class: Se.value
1082
1082
  }, [i.value && Ue(), m("div", {
1083
1083
  class: Re.value
@@ -1087,7 +1087,7 @@ const Q = /* @__PURE__ */ de({
1087
1087
  width: "100%",
1088
1088
  frameborder: "0",
1089
1089
  src: M.value
1090
- }, null)]), Ye()]), !d.value && H.value && !A.value && $(H.value)]);
1090
+ }, null)]), Ye()]), !d.value && H.value && !N.value && $(H.value)]);
1091
1091
  }
1092
1092
  function Ge(l) {
1093
1093
  return l || "body";
@@ -1117,7 +1117,7 @@ function Be(e) {
1117
1117
  if (e.render && typeof e.render == "function")
1118
1118
  return e.render;
1119
1119
  }
1120
- function kt(e) {
1120
+ function Tt(e) {
1121
1121
  const t = document.createElement("div");
1122
1122
  t.style.display = "contents";
1123
1123
  const n = e.type || "modal", a = we({
@@ -1187,7 +1187,7 @@ function kt(e) {
1187
1187
  });
1188
1188
  return document.body.appendChild(t), a.use(le.i18n), a.mount(t), a;
1189
1189
  }
1190
- class Tt {
1190
+ class Et {
1191
1191
  // private activeModalInstance = computed(() => {
1192
1192
  // return this.modalRefs[this.activeModalIndex.value];
1193
1193
  // });
@@ -1221,7 +1221,7 @@ class Tt {
1221
1221
  showButtons: !0,
1222
1222
  showHeader: !0
1223
1223
  }, t);
1224
- return kt(n);
1224
+ return Tt(n);
1225
1225
  }
1226
1226
  close(t) {
1227
1227
  var n, a;
@@ -1246,7 +1246,7 @@ class Tt {
1246
1246
  d(y, this.isUseEscCloseModal.value ? "esc" : k ? "icon" : "button");
1247
1247
  }, g = (y) => {
1248
1248
  w(y), v && Z(() => {
1249
- if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], ie(null, n), v = null, this.modalRef.value = null, this.modalRefs) {
1249
+ if (this.modalRefs[this.activeModalIndex.value] && delete this.modalRefs[this.activeModalIndex.value], re(null, n), v = null, this.modalRef.value = null, this.modalRefs) {
1250
1250
  const k = Object.keys(this.modalRefs).map((S) => Number(S));
1251
1251
  k.length > 0 ? this.activeModalIndex.value = Math.max(...k) : this.activeModalIndex.value = 0, this.modalRefs[this.activeModalIndex.value] && (this.modalRef.value = this.modalRefs[this.activeModalIndex.value]);
1252
1252
  }
@@ -1255,7 +1255,7 @@ class Tt {
1255
1255
  }, C = o();
1256
1256
  let x;
1257
1257
  if (a === "drawer")
1258
- x = () => m(ve, re({
1258
+ x = () => m(ve, ae({
1259
1259
  ref: C,
1260
1260
  modelValue: r.value,
1261
1261
  "onUpdate:modelValue": (y) => r.value = y,
@@ -1271,13 +1271,13 @@ class Tt {
1271
1271
  }), S = u.value.resizeHandle || ((P) => {
1272
1272
  }), R = t.stopMoveHandle || ((P) => {
1273
1273
  }), F = (P) => {
1274
- var D;
1275
- this.isUseEscCloseModal.value = !0, (D = this.getCurrentModal()) == null || D.close(P == null ? void 0 : P.event);
1274
+ var V;
1275
+ this.isUseEscCloseModal.value = !0, (V = this.getCurrentModal()) == null || V.close(P == null ? void 0 : P.event);
1276
1276
  }, {
1277
- width: V,
1277
+ width: D,
1278
1278
  height: h
1279
- } = u.value, b = this.adaptToWindow(Number(V) || 500, Number(h) || 320);
1280
- Object.assign(u.value, b), x = () => m(Q, re({
1279
+ } = u.value, b = this.adaptToWindow(Number(D) || 500, Number(h) || 320);
1280
+ Object.assign(u.value, b), x = () => m(Q, ae({
1281
1281
  ref: C,
1282
1282
  modelValue: r.value,
1283
1283
  "onUpdate:modelValue": (P) => r.value = P
@@ -1296,7 +1296,7 @@ class Tt {
1296
1296
  }
1297
1297
  v = ((y) => {
1298
1298
  const k = tt(x, y);
1299
- return k.appContext = this.appContext, ie(k, n), k;
1299
+ return k.appContext = this.appContext, re(k, n), k;
1300
1300
  })({
1301
1301
  ...u.value
1302
1302
  }), this.activeModalIndex.value++;
@@ -1306,7 +1306,7 @@ class Tt {
1306
1306
  u.value = {
1307
1307
  ...u.value,
1308
1308
  ...y
1309
- }, v && ie(nt(v, {
1309
+ }, v && re(nt(v, {
1310
1310
  ...u
1311
1311
  }), n);
1312
1312
  };
@@ -1330,7 +1330,7 @@ class Tt {
1330
1330
  const Me = Symbol("FModalService");
1331
1331
  Q.install = (e) => {
1332
1332
  e.component(Q.name, Q);
1333
- const t = new Tt(e);
1333
+ const t = new Et(e);
1334
1334
  e.provide(Me, t), e.provide("FModalService", t);
1335
1335
  };
1336
1336
  function ke(e, t) {
@@ -1347,7 +1347,7 @@ function ke(e, t) {
1347
1347
  }
1348
1348
  return { judgeCanOpen: n };
1349
1349
  }
1350
- function Et(e, t, n, a, u) {
1350
+ function Ot(e, t, n, a, u) {
1351
1351
  const r = o(e.buttonBehavior), c = o(e.popupOnInput), d = z(() => ({
1352
1352
  "input-group-append": !0,
1353
1353
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
@@ -1362,7 +1362,7 @@ function Et(e, t, n, a, u) {
1362
1362
  });
1363
1363
  g.value = k == null ? void 0 : k.modalRef;
1364
1364
  }
1365
- r.value === "Overlay" && bt.show({
1365
+ r.value === "Overlay" && wt.show({
1366
1366
  // host: buttonEditRef.value,
1367
1367
  host: document.body,
1368
1368
  backgroundColor: "rgba(0,0,0,.15)",
@@ -1384,7 +1384,7 @@ function Et(e, t, n, a, u) {
1384
1384
  modalRef: g
1385
1385
  };
1386
1386
  }
1387
- function Ot(e, t, n, a, u, r) {
1387
+ function zt(e, t, n, a, u, r) {
1388
1388
  const c = o(!1), d = z(() => e.enableClear && !e.readonly && !e.disable && !te()), { changeTextBoxValue: i, hasClearClass: v } = r, w = o(!1);
1389
1389
  function g(O) {
1390
1390
  c.value = O, v.value = O;
@@ -1417,7 +1417,7 @@ function Ot(e, t, n, a, u, r) {
1417
1417
  onMouseLeaveTextBox: T
1418
1418
  };
1419
1419
  }
1420
- function zt(e, t, n, a, u) {
1420
+ function Pt(e, t, n, a, u) {
1421
1421
  const r = z(() => e.popupOnInput), c = z(() => e.popupOnFocus), { shouldPopupContent: d, closeAllPopover: i } = u, v = o(!1), w = z(() => e.enableTitle ? n.value : ""), g = z(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), C = z(() => e.readonly || !e.editable || te()), x = o(!1), M = z(() => !e.disable && x.value), T = z(() => ({
1422
1422
  "text-left": e.textAlign === "left",
1423
1423
  "text-center": e.textAlign === "center",
@@ -1453,7 +1453,7 @@ function zt(e, t, n, a, u) {
1453
1453
  function F(p) {
1454
1454
  !e.disable && !e.readonly && (x.value = !0, C.value || (t.emit("focus", p), c.value && !d.value && u.popup()));
1455
1455
  }
1456
- function V(p) {
1456
+ function D(p) {
1457
1457
  t.emit("input", p);
1458
1458
  const H = p.target.value;
1459
1459
  a.value = H, n.value !== H && y(H, e.updateOn === "change"), r.value && !d.value && u.popup();
@@ -1467,7 +1467,7 @@ function zt(e, t, n, a, u) {
1467
1467
  function P(p) {
1468
1468
  p.key === "Enter" && (r.value || c.value) && u.hidePopup(), t.emit("keyup", p);
1469
1469
  }
1470
- function D(p) {
1470
+ function V(p) {
1471
1471
  const H = p.target.value;
1472
1472
  p.stopPropagation(), y(H);
1473
1473
  }
@@ -1484,15 +1484,15 @@ function zt(e, t, n, a, u) {
1484
1484
  onBlurTextBox: S,
1485
1485
  onClickTextBox: R,
1486
1486
  onFocusTextBox: F,
1487
- onInput: V,
1487
+ onInput: D,
1488
1488
  onKeyDownTextBox: b,
1489
1489
  onKeyUpTextBox: P,
1490
1490
  onMouseDownTextBox: h,
1491
- onTextBoxValueChange: D
1491
+ onTextBoxValueChange: V
1492
1492
  };
1493
1493
  }
1494
1494
  const G = "FarrisVue_PopoverInstancesKey";
1495
- function Pt(e, t, n, a) {
1495
+ function St(e, t, n, a) {
1496
1496
  const u = o(), r = o(!1), { judgeCanOpen: c } = ke(e, a);
1497
1497
  U(() => u.value, (x, M) => {
1498
1498
  window[G] = window[G] || /* @__PURE__ */ new WeakMap(), x ? window[G].set(n.value, x) : window[G].delete(n.value);
@@ -1534,7 +1534,7 @@ function Pt(e, t, n, a) {
1534
1534
  }
1535
1535
  return { hidePopup: g, showPopup: C, popup: w, shouldPopupContent: r, togglePopup: v, popoverRef: u, closeAllPopover: d };
1536
1536
  }
1537
- function St(e, t, n) {
1537
+ function It(e, t, n) {
1538
1538
  const a = o(), {
1539
1539
  isTextBoxReadonly: u,
1540
1540
  textBoxClass: r,
@@ -1550,11 +1550,11 @@ function St(e, t, n) {
1550
1550
  onTextBoxValueChange: T
1551
1551
  } = n, O = o(e.id), {
1552
1552
  uuid: y
1553
- } = it(), k = z(() => ({
1553
+ } = rt(), k = z(() => ({
1554
1554
  // 'border-top-right-radius': '6px',
1555
1555
  // 'border-bottom-right-radius': '6px'
1556
1556
  }));
1557
- ae(() => {
1557
+ oe(() => {
1558
1558
  var h, b;
1559
1559
  e.selectOnCreated && ((h = a.value) == null || h.select()), e.focusOnCreated && ((b = a.value) == null || b.focus({
1560
1560
  preventScroll: !0
@@ -1565,7 +1565,7 @@ function St(e, t, n) {
1565
1565
  }, F = (h) => {
1566
1566
  h.preventDefault(), S.value = !1, g(h);
1567
1567
  };
1568
- function V(h) {
1568
+ function D(h) {
1569
1569
  S.value || g(h);
1570
1570
  }
1571
1571
  return () => m("input", {
@@ -1588,7 +1588,7 @@ function St(e, t, n) {
1588
1588
  onChange: T,
1589
1589
  onClick: v,
1590
1590
  onFocus: w,
1591
- onInput: V,
1591
+ onInput: D,
1592
1592
  onKeydown: C,
1593
1593
  onKeyup: x,
1594
1594
  onMousedown: M,
@@ -1596,7 +1596,7 @@ function St(e, t, n) {
1596
1596
  onCompositionstart: R
1597
1597
  }, null);
1598
1598
  }
1599
- function It(e, t, n) {
1599
+ function Ht(e, t, n) {
1600
1600
  const a = o(e.separator), u = z(() => e.readonly || e.disable), {
1601
1601
  changeTextBoxValue: r,
1602
1602
  onFocusTextBox: c,
@@ -1620,7 +1620,7 @@ function It(e, t, n) {
1620
1620
  function x(M) {
1621
1621
  i(M);
1622
1622
  }
1623
- return () => m(ct, {
1623
+ return () => m(dt, {
1624
1624
  tabindex: e.tabIndex,
1625
1625
  onFocus: c,
1626
1626
  onBlur: d,
@@ -1635,7 +1635,7 @@ function It(e, t, n) {
1635
1635
  onClick: x
1636
1636
  }, null);
1637
1637
  }
1638
- function Ht(e, t, n, a) {
1638
+ function Rt(e, t, n, a) {
1639
1639
  const {
1640
1640
  buttonGroupClass: u,
1641
1641
  onClickButton: r,
@@ -1651,7 +1651,7 @@ function Ht(e, t, n, a) {
1651
1651
  t.emit("beforeClearValue");
1652
1652
  }, {
1653
1653
  renderExpandContent: M
1654
- } = dt(e, t);
1654
+ } = ft(e, t);
1655
1655
  return {
1656
1656
  renderButtonGroup: () => m(ee, null, [m("div", {
1657
1657
  id: e.id ? `${e.id}-button-group` : void 0,
@@ -1678,7 +1678,7 @@ function Ht(e, t, n, a) {
1678
1678
  buttonHandleElement: g
1679
1679
  };
1680
1680
  }
1681
- function Rt(e, t, n) {
1681
+ function Ft(e, t, n) {
1682
1682
  const a = o(e.popupMinWidth), {
1683
1683
  hidePopup: u,
1684
1684
  popoverRef: r
@@ -1703,7 +1703,7 @@ function Rt(e, t, n) {
1703
1703
  var i, v;
1704
1704
  return [ce(" "), (v = (i = t.slots).default) == null ? void 0 : v.call(i), ce(" ")];
1705
1705
  }
1706
- }) : m(ft, {
1706
+ }) : m(vt, {
1707
1707
  id: `${e.id}-popover`,
1708
1708
  ref: r,
1709
1709
  placement: e.placement,
@@ -1726,22 +1726,22 @@ function Rt(e, t, n) {
1726
1726
  }
1727
1727
  });
1728
1728
  }
1729
- const Ft = /* @__PURE__ */ de({
1729
+ const Lt = /* @__PURE__ */ de({
1730
1730
  name: "FButtonEdit",
1731
- props: vt,
1731
+ props: ht,
1732
1732
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue", "expandClick", "hidden", "shown"],
1733
1733
  setup(e, t) {
1734
- const n = o(), a = o(e.customClass), u = o(e.modelValue), r = Pt(e, t, n, u), {
1734
+ const n = o(), a = o(e.customClass), u = o(e.modelValue), r = St(e, t, n, u), {
1735
1735
  shouldPopupContent: c,
1736
1736
  hidePopup: d,
1737
1737
  showPopup: i,
1738
1738
  togglePopup: v
1739
- } = r, w = Et(e, t, n, r, u), g = o(""), C = zt(e, t, u, g, r), {
1739
+ } = r, w = Ot(e, t, n, r, u), g = o(""), C = Pt(e, t, u, g, r), {
1740
1740
  hasFocusedTextBox: x,
1741
1741
  commitValue: M,
1742
1742
  inputGroupClass: T,
1743
1743
  changeTextBoxValue: O
1744
- } = C, y = Ot(e, t, u, x, g, C), {
1744
+ } = C, y = zt(e, t, u, x, g, C), {
1745
1745
  onMouseEnterTextBox: k,
1746
1746
  onMouseLeaveTextBox: S
1747
1747
  } = y, R = o(!1), F = z(() => {
@@ -1751,7 +1751,7 @@ const Ft = /* @__PURE__ */ de({
1751
1751
  "f-button-edit-nowrap": !e.wrapText
1752
1752
  };
1753
1753
  return a.value && a.value.split(" ").reduce((f, E) => (f[E] = !0, f), s), s;
1754
- }), V = z(() => ({
1754
+ }), D = z(() => ({
1755
1755
  overflow: e.wrapText ? "hidden" : ""
1756
1756
  })), h = z(() => ({
1757
1757
  // paddingLeft: '3px',
@@ -1764,26 +1764,26 @@ const Ft = /* @__PURE__ */ de({
1764
1764
  const f = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1765
1765
  return f && f.length && (s = f.map((E) => E.offsetTop).filter((E) => E > 20).length), s;
1766
1766
  }
1767
- const D = o(P());
1767
+ const V = o(P());
1768
1768
  ut(() => {
1769
- D.value = P();
1769
+ V.value = P();
1770
1770
  });
1771
1771
  function p() {
1772
- return e.multiSelect && e.inputType === "tag" ? () => m(ee, null, [It(e, u, C)(), !!D.value && m("div", {
1772
+ return e.multiSelect && e.inputType === "tag" ? () => m(ee, null, [Ht(e, u, C)(), !!V.value && m("div", {
1773
1773
  class: "d-flex flex-row mr-2 more-tags",
1774
1774
  "more-tags": !0
1775
1775
  }, [m("span", {
1776
1776
  class: "multi--more-text"
1777
- }, [ce("+"), D.value])])]) : St(e, u, C);
1777
+ }, [ce("+"), V.value])])]) : It(e, u, C);
1778
1778
  }
1779
1779
  let H = p();
1780
1780
  U([() => e.multiSelect, () => e.inputType], () => {
1781
1781
  H = p();
1782
1782
  });
1783
1783
  const {
1784
- renderButtonGroup: A,
1784
+ renderButtonGroup: N,
1785
1785
  buttonHandleElement: $
1786
- } = Ht(e, t, w, y), _ = Rt(e, t, r), Y = o(c.value), X = {
1786
+ } = Rt(e, t, w, y), _ = Ft(e, t, r), Y = o(c.value), X = {
1787
1787
  displayText: g,
1788
1788
  commitValue: M,
1789
1789
  elementRef: n,
@@ -1815,7 +1815,7 @@ const Ft = /* @__PURE__ */ de({
1815
1815
  O(s, !1), g.value = s;
1816
1816
  }
1817
1817
  };
1818
- return ae(() => {
1818
+ return oe(() => {
1819
1819
  n.value.componentInstance = X, window.onresize = () => {
1820
1820
  document.body.click();
1821
1821
  };
@@ -1839,23 +1839,23 @@ const Ft = /* @__PURE__ */ de({
1839
1839
  Y.value = s;
1840
1840
  }), () => {
1841
1841
  var s, f;
1842
- return m(ee, null, [m("div", re(t.attrs, {
1842
+ return m(ee, null, [m("div", ae(t.attrs, {
1843
1843
  ref: n,
1844
1844
  class: F.value,
1845
1845
  id: e.id ? e.id : void 0,
1846
- style: V.value
1846
+ style: D.value
1847
1847
  }), [m("div", {
1848
1848
  id: e.id ? `${e.id}-input-group` : void 0,
1849
1849
  class: T.value,
1850
1850
  style: h.value,
1851
1851
  onMouseenter: k,
1852
1852
  onMouseleave: S
1853
- }, [(f = (s = t.slots).precontent) == null ? void 0 : f.call(s), t.slots.content ? t.slots.content() : H(), t.slots.content ? null : b.value && A()])]), Y.value && _()]);
1853
+ }, [(f = (s = t.slots).precontent) == null ? void 0 : f.call(s), t.slots.content ? t.slots.content() : H(), t.slots.content ? null : b.value && N()])]), Y.value && _()]);
1854
1854
  };
1855
1855
  }
1856
- }), $t = rt(Ft);
1856
+ }), _t = ct(Lt);
1857
1857
  export {
1858
- Ft as FButtonEdit,
1859
- vt as buttonEditProps,
1860
- $t as default
1858
+ Lt as FButtonEdit,
1859
+ ht as buttonEditProps,
1860
+ _t as default
1861
1861
  };