@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,28 +1,28 @@
1
1
  var xn = Object.defineProperty;
2
2
  var wn = (e, t, n) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var te = (e, t, n) => wn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as m, onMounted as K, defineComponent as q, computed as B, createVNode as u, Teleport as ht, createApp as Ge, onUnmounted as Se, Fragment as le, watch as z, nextTick as oe, onBeforeMount as kn, watchEffect as Sn, Transition as gt, shallowRef as Fn, render as ze, h as Tn, cloneVNode as Bn, mergeProps as de, inject as Z, withDirectives as Xe, vShow as Mn, createTextVNode as U, onUpdated as _e, onBeforeUnmount as bt, reactive as J, provide as Ct, vModelText as On, vModelCheckbox as En, getCurrentInstance as In } from "vue";
5
- import { createPropsResolver as me, resolveAppearance as Ke, getPropsResolverGenerator as Dn } from "../dynamic-resolver/index.esm.js";
4
+ import { ref as m, onMounted as K, defineComponent as q, computed as B, createVNode as u, Teleport as ht, createApp as Ge, onUnmounted as Se, Fragment as le, watch as z, nextTick as oe, onBeforeMount as kn, watchEffect as Sn, Transition as gt, mergeProps as re, shallowRef as Fn, render as ze, h as Tn, cloneVNode as Bn, inject as Z, withDirectives as Xe, vShow as Mn, createTextVNode as U, onUpdated as _e, onBeforeUnmount as bt, reactive as J, provide as Ct, vModelText as On, vModelCheckbox as En, getCurrentInstance as Dn } from "vue";
5
+ import { createPropsResolver as me, resolveAppearance as Ke, getPropsResolverGenerator as In } from "../dynamic-resolver/index.esm.js";
6
6
  import { LocaleService as ee } from "../locale/index.esm.js";
7
- import { isMobilePhone as xe, getMaxZIndex as rt, useGuid as Pn, useTouchMomentum as Nn, useTouch as Vn, useCommonUtils as Pe, useBem as xt, useFarrisConfig as Rn, FormSchemaEntityFieldType$Type as Be, EVENT_PROPERTY_TAB_IDS as jn, withInstall as Je, getCustomClass as Ln, getCustomStyle as An } from "../common/index.esm.js";
7
+ import { isMobilePhone as xe, getMaxZIndex as rt, extractDataAttrs as Pn, useGuid as Nn, useTouchMomentum as Vn, useTouch as Rn, useCommonUtils as Pe, useBem as xt, useFarrisConfig as jn, FormSchemaEntityFieldType$Type as Be, EVENT_PROPERTY_TAB_IDS as Ln, withInstall as Je, getCustomClass as An, getCustomStyle as Hn } from "../common/index.esm.js";
8
8
  import Ze from "../drawer/index.esm.js";
9
- import { InputBaseProperty as Hn } from "../property-panel/index.esm.js";
9
+ import { InputBaseProperty as zn } from "../property-panel/index.esm.js";
10
10
  import "../button/index.esm.js";
11
11
  import "../field-selector/index.esm.js";
12
12
  import "../collection-property-editor/index.esm.js/src/use-button-items.designer";
13
- import zn from "../tags/index.esm.js";
14
- import { debounce as Qe, isUndefined as $n, cloneDeep as ve } from "lodash-es";
15
- import { useInputExpand as Wn } from "../common/index.esm.js/text-box/use-input-expand";
16
- import qn from "../popover/index.esm.js";
13
+ import $n from "../tags/index.esm.js";
14
+ import { debounce as Qe, isUndefined as Wn, cloneDeep as ve } from "lodash-es";
15
+ import { useInputExpand as qn } from "../common/index.esm.js/text-box/use-input-expand";
16
+ import Yn from "../popover/index.esm.js";
17
17
  import wt, { FButtonEdit as kt } from "../button-edit/index.esm.js";
18
- import Yn from "../list-view/index.esm.js";
18
+ import Un from "../list-view/index.esm.js";
19
19
  import "bignumber.js";
20
- import Un from "../../designer/button-edit/index.esm.js";
21
- import { useDesignerComponent as et, useDragulaCommonRule as Gn } from "../designer-canvas/index.esm.js";
20
+ import Gn from "../../designer/button-edit/index.esm.js";
21
+ import { useDesignerComponent as et, useDragulaCommonRule as Xn } from "../designer-canvas/index.esm.js";
22
22
  import St from "../tree-view/index.esm.js";
23
- import Xn from "../event-parameter/index.esm.js";
24
- import { FInputGroup as _n } from "../input-group/index.esm.js";
25
- const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-design.gitee.io/field-selector.schema.json", Zn = "field-selector", Qn = "A Farris Input Component", ea = "object", ta = {
23
+ import _n from "../event-parameter/index.esm.js";
24
+ import { FInputGroup as Kn } from "../input-group/index.esm.js";
25
+ const Jn = "https://json-schema.org/draft/2020-12/schema", Zn = "https://farris-design.gitee.io/field-selector.schema.json", Qn = "field-selector", ea = "A Farris Input Component", ta = "object", na = {
26
26
  disabled: {
27
27
  description: "",
28
28
  type: "boolean",
@@ -72,13 +72,13 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
72
72
  type: "function",
73
73
  default: null
74
74
  }
75
- }, na = {
76
- $schema: Kn,
77
- $id: Jn,
78
- title: Zn,
79
- description: Qn,
80
- type: ea,
81
- properties: ta
75
+ }, aa = {
76
+ $schema: Jn,
77
+ $id: Zn,
78
+ title: Qn,
79
+ description: ea,
80
+ type: ta,
81
+ properties: na
82
82
  }, Ft = {
83
83
  disabled: {
84
84
  type: Boolean,
@@ -129,7 +129,7 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
129
129
  type: Function,
130
130
  default: null
131
131
  }
132
- }, aa = me(Ft, na), la = {
132
+ }, la = me(Ft, aa), oa = {
133
133
  /**
134
134
  * 标记组件的唯一标识
135
135
  */
@@ -300,23 +300,23 @@ const Kn = "https://json-schema.org/draft/2020-12/schema", Jn = "https://farris-
300
300
  * 扩展按钮是否禁用
301
301
  */
302
302
  expandDisabled: { type: Boolean, default: !1 }
303
- }, oa = {
303
+ }, ia = {
304
304
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
305
305
  host: { type: Object },
306
306
  backgroundColor: { type: String, default: "" }
307
307
  };
308
- function ia() {
308
+ function sa() {
309
309
  const e = m(!1);
310
310
  return K(() => {
311
311
  e.value = !0;
312
312
  }), e;
313
313
  }
314
- const sa = /* @__PURE__ */ q({
314
+ const ra = /* @__PURE__ */ q({
315
315
  name: "FOverlay",
316
- props: oa,
316
+ props: ia,
317
317
  emits: ["click"],
318
318
  setup(e, t) {
319
- const n = m(e.popupContentPosition), a = m(e.host), l = ia(), o = B(() => ({
319
+ const n = m(e.popupContentPosition), a = m(e.host), l = sa(), o = B(() => ({
320
320
  backgroundColor: e.backgroundColor || "",
321
321
  pointerEvents: "auto"
322
322
  }));
@@ -359,13 +359,13 @@ const sa = /* @__PURE__ */ q({
359
359
  }) : null;
360
360
  }
361
361
  });
362
- function ra(e) {
362
+ function ua(e) {
363
363
  if (e.content && e.content.render)
364
364
  return e.content.render;
365
365
  if (e.render && typeof e.render == "function")
366
366
  return e.render;
367
367
  }
368
- function ua(e) {
368
+ function ca(e) {
369
369
  const t = document.createElement("div");
370
370
  t.style.display = "contents";
371
371
  let n;
@@ -378,8 +378,8 @@ function ua(e) {
378
378
  Se(() => {
379
379
  document.body.removeChild(t);
380
380
  });
381
- const o = ra(e);
382
- return () => u(sa, {
381
+ const o = ua(e);
382
+ return () => u(ra, {
383
383
  "popup-content-position": e.popupPosition,
384
384
  host: e.host,
385
385
  onClick: l,
@@ -390,12 +390,12 @@ function ua(e) {
390
390
  }
391
391
  }), document.body.appendChild(t), n.mount(t), n;
392
392
  }
393
- class ca {
393
+ class da {
394
394
  static show(t) {
395
- return ua(t);
395
+ return ca(t);
396
396
  }
397
397
  }
398
- const da = {
398
+ const fa = {
399
399
  /**
400
400
  * 允许点击蒙层关闭对话框
401
401
  * @default false
@@ -594,12 +594,12 @@ class _ {
594
594
  return this.x = t.x, this.y = t.y, this;
595
595
  }
596
596
  }
597
- class ce {
597
+ class de {
598
598
  constructor(t, n) {
599
599
  this.width = t, this.height = n;
600
600
  }
601
601
  static getCurrent(t) {
602
- const n = new ce(0, 0);
602
+ const n = new de(0, 0);
603
603
  if (window) {
604
604
  const a = window.getComputedStyle(t);
605
605
  return a && (n.width = parseInt(a.getPropertyValue("width"), 10), n.height = parseInt(a.getPropertyValue("height"), 10)), n;
@@ -607,52 +607,52 @@ class ce {
607
607
  return null;
608
608
  }
609
609
  static copy(t) {
610
- return new ce(0, 0).set(t);
610
+ return new de(0, 0).set(t);
611
611
  }
612
612
  set(t) {
613
613
  return this.width = t.width, this.height = t.height, this;
614
614
  }
615
615
  }
616
- function fa(e, t) {
616
+ function ma(e, t) {
617
617
  const n = m(), a = m(), l = m(), o = m(), i = m(), h = m(), d = m(), y = m(), C = m(), p = m(), v = m(), x = m(e.resizeable), S = m(), F = m(e.draggable), g = m(!1);
618
618
  function s() {
619
- const O = a.value || document.body, I = window.getComputedStyle(O);
620
- if (!I || !n.value)
619
+ const O = a.value || document.body, D = window.getComputedStyle(O);
620
+ if (!D || !n.value)
621
621
  return;
622
622
  const A = _.getTransformInfo(n.value), W = {};
623
623
  d.value && (W.deltaL = n.value.offsetLeft - d.value.x, W.deltaT = n.value.offsetTop - d.value.y);
624
- const G = I.getPropertyValue("position");
625
- W.width = O.clientWidth, W.height = O.clientHeight, W.pr = parseInt(I.getPropertyValue("padding-right"), 10), W.pb = parseInt(I.getPropertyValue("padding-bottom"), 10), W.position = I.getPropertyValue("position"), G === "static" && (O.style.position = "relative"), W.translateX = A.x, W.translateY = A.y, p.value = W;
624
+ const G = D.getPropertyValue("position");
625
+ W.width = O.clientWidth, W.height = O.clientHeight, W.pr = parseInt(D.getPropertyValue("padding-right"), 10), W.pb = parseInt(D.getPropertyValue("padding-bottom"), 10), W.position = D.getPropertyValue("position"), G === "static" && (O.style.position = "relative"), W.translateX = A.x, W.translateY = A.y, p.value = W;
626
626
  }
627
627
  function f(O) {
628
628
  if (n.value) {
629
- o.value = ce.getCurrent(n.value), i.value = _.getCurrent(n.value), h.value = o.value ? ce.copy(o.value) : null, d.value = i.value ? _.copy(i.value) : null, s();
630
- const I = O.target.getAttribute("type") || "";
629
+ o.value = de.getCurrent(n.value), i.value = _.getCurrent(n.value), h.value = o.value ? de.copy(o.value) : null, d.value = i.value ? _.copy(i.value) : null, s();
630
+ const D = O.target.getAttribute("type") || "";
631
631
  y.value = {
632
- n: !!I.match(/n/),
633
- s: !!I.match(/s/),
634
- w: !!I.match(/w/),
635
- e: !!I.match(/e/)
632
+ n: !!D.match(/n/),
633
+ s: !!D.match(/s/),
634
+ w: !!D.match(/w/),
635
+ e: !!D.match(/e/)
636
636
  };
637
637
  }
638
638
  }
639
639
  function k() {
640
- var O, I, A, W;
640
+ var O, D, A, W;
641
641
  if (n.value) {
642
642
  const G = n.value;
643
- y.value && ((y.value.n || y.value.s) && ((O = h.value) != null && O.height) && (G.style.height = h.value.height + "px"), (y.value.w || y.value.e) && ((I = h.value) != null && I.width) && (G.style.width = h.value.width + "px"), d.value && ((A = d.value) != null && A.x && (G.style.left = d.value.x + "px"), (W = d.value) != null && W.y && (G.style.top = d.value.y + "px")));
643
+ y.value && ((y.value.n || y.value.s) && ((O = h.value) != null && O.height) && (G.style.height = h.value.height + "px"), (y.value.w || y.value.e) && ((D = h.value) != null && D.width) && (G.style.width = h.value.width + "px"), d.value && ((A = d.value) != null && A.x && (G.style.left = d.value.x + "px"), (W = d.value) != null && W.y && (G.style.top = d.value.y + "px")));
644
644
  }
645
645
  }
646
646
  function w() {
647
- const O = e.minHeight ? e.minHeight : 1, I = e.minWidth ? e.minWidth : 1;
648
- h.value && d.value && y.value && o.value && (h.value.height < O && (h.value.height = O, y.value.n && i.value && (d.value.y = i.value.y + (o.value.height - O))), h.value.width < I && (h.value.width = I, y.value.w && i.value && (d.value.x = i.value.x + (o.value.width - I))), e.maxHeight && h.value.height > e.maxHeight && (h.value.height = e.maxHeight, i.value && y.value.n && (d.value.y = i.value.y + (o.value.height - e.maxHeight))), e.maxWidth && h.value.width > e.maxWidth && (h.value.width = e.maxWidth, y.value.w && i.value && (d.value.x = i.value.x + (o.value.width - e.maxWidth))));
647
+ const O = e.minHeight ? e.minHeight : 1, D = e.minWidth ? e.minWidth : 1;
648
+ h.value && d.value && y.value && o.value && (h.value.height < O && (h.value.height = O, y.value.n && i.value && (d.value.y = i.value.y + (o.value.height - O))), h.value.width < D && (h.value.width = D, y.value.w && i.value && (d.value.x = i.value.x + (o.value.width - D))), e.maxHeight && h.value.height > e.maxHeight && (h.value.height = e.maxHeight, i.value && y.value.n && (d.value.y = i.value.y + (o.value.height - e.maxHeight))), e.maxWidth && h.value.width > e.maxWidth && (h.value.width = e.maxWidth, y.value.w && i.value && (d.value.x = i.value.x + (o.value.width - e.maxWidth))));
649
649
  }
650
650
  function r() {
651
651
  if (a.value) {
652
652
  const O = p.value;
653
653
  if (d.value && h.value && y.value && o.value) {
654
- const I = O.width - O.pr - O.deltaL - O.translateX - d.value.x, A = O.height - O.pb - O.deltaT - O.translateY - d.value.y;
655
- y.value.n && d.value.y + O.translateY < 0 && i.value && (d.value.y = -O.translateY, h.value.height = o.value.height + i.value.y + O.translateY), y.value.w && d.value.x + O.translateX < 0 && i.value && (d.value.x = -O.translateX, h.value.width = o.value.width + i.value.x + O.translateX), h.value.width > I && (h.value.width = I), h.value.height > A && (h.value.height = A);
654
+ const D = O.width - O.pr - O.deltaL - O.translateX - d.value.x, A = O.height - O.pb - O.deltaT - O.translateY - d.value.y;
655
+ y.value.n && d.value.y + O.translateY < 0 && i.value && (d.value.y = -O.translateY, h.value.height = o.value.height + i.value.y + O.translateY), y.value.w && d.value.x + O.translateX < 0 && i.value && (d.value.x = -O.translateX, h.value.width = o.value.width + i.value.x + O.translateX), h.value.width > D && (h.value.width = D), h.value.height > A && (h.value.height = A);
656
656
  }
657
657
  }
658
658
  }
@@ -660,27 +660,27 @@ function fa(e, t) {
660
660
  if (!l.value || !o.value || !i.value || !y.value)
661
661
  return;
662
662
  O.subtract(l.value);
663
- const I = O.x, A = O.y;
664
- y.value.n ? (d.value.y = i.value.y + A, h.value.height = o.value.height - A) : y.value.s && (h.value.height = o.value.height + A), y.value.e ? h.value.width = o.value.width + I : y.value.w && (h.value.width = o.value.width - I, d.value.x = i.value.x + I), r(), w(), k();
663
+ const D = O.x, A = O.y;
664
+ y.value.n ? (d.value.y = i.value.y + A, h.value.height = o.value.height - A) : y.value.s && (h.value.height = o.value.height + A), y.value.e ? h.value.width = o.value.width + D : y.value.w && (h.value.width = o.value.width - D, d.value.x = i.value.x + D), r(), w(), k();
665
665
  }
666
666
  function b(O) {
667
667
  if (!C.value)
668
668
  return;
669
- const I = _.fromEvent(O);
670
- I && c(I);
669
+ const D = _.fromEvent(O);
670
+ D && c(D);
671
671
  }
672
672
  function T() {
673
673
  if (n.value) {
674
674
  const {
675
675
  width: O,
676
- height: I,
676
+ height: D,
677
677
  x: A,
678
678
  y: W
679
679
  } = n.value.getBoundingClientRect(), G = _.getTransformInfo(n.value);
680
680
  return {
681
681
  size: {
682
682
  width: O,
683
- height: I
683
+ height: D
684
684
  },
685
685
  position: {
686
686
  x: A - G.x,
@@ -692,8 +692,8 @@ function fa(e, t) {
692
692
  }
693
693
  function N(O) {
694
694
  if (n.value) {
695
- const I = T();
696
- v.value = I;
695
+ const D = T();
696
+ v.value = D;
697
697
  }
698
698
  l.value = void 0, o.value = null, i.value = null, h.value = null, d.value = null, y.value = null, C.value = null, document.removeEventListener("mousemove", b), document.removeEventListener("mouseup", N);
699
699
  }
@@ -707,40 +707,40 @@ function fa(e, t) {
707
707
  return n.value = O, x.value && u(le, null, [u("div", {
708
708
  class: "fv-resizable-handle fv-resizable-n",
709
709
  type: "n",
710
- onMousedown: (I) => V(I)
710
+ onMousedown: (D) => V(D)
711
711
  }, null), u("div", {
712
712
  class: "fv-resizable-handle fv-resizable-e",
713
713
  type: "e",
714
- onMousedown: (I) => V(I)
714
+ onMousedown: (D) => V(D)
715
715
  }, null), u("div", {
716
716
  class: "fv-resizable-handle fv-resizable-s",
717
717
  type: "s",
718
- onMousedown: (I) => V(I)
718
+ onMousedown: (D) => V(D)
719
719
  }, null), u("div", {
720
720
  class: "fv-resizable-handle fv-resizable-w",
721
721
  type: "w",
722
- onMousedown: (I) => V(I)
722
+ onMousedown: (D) => V(D)
723
723
  }, null), u("div", {
724
724
  class: "fv-resizable-handle fv-resizable-ne",
725
725
  type: "ne",
726
- onMousedown: (I) => V(I)
726
+ onMousedown: (D) => V(D)
727
727
  }, null), u("div", {
728
728
  class: "fv-resizable-handle fv-resizable-se fv-resizable-diagonal",
729
729
  type: "se",
730
- onMousedown: (I) => V(I)
730
+ onMousedown: (D) => V(D)
731
731
  }, null), u("div", {
732
732
  class: "fv-resizable-handle fv-resizable-sw",
733
733
  type: "sw",
734
- onMousedown: (I) => V(I)
734
+ onMousedown: (D) => V(D)
735
735
  }, null), u("div", {
736
736
  class: "fv-resizable-handle fv-resizable-nw",
737
737
  type: "nw",
738
- onMousedown: (I) => V(I)
738
+ onMousedown: (D) => V(D)
739
739
  }, null)]);
740
740
  }
741
741
  function M(O = !0) {
742
742
  document.body.click();
743
- const I = a.value || document.body, A = ce.getCurrent(I), W = n.value;
743
+ const D = a.value || document.body, A = de.getCurrent(D), W = n.value;
744
744
  O && W && (S.value = T(), S.value.transform = W.style.transform), A && W && (h.value = A, h.value.height -= 14, h.value.width -= 14, W.style.height = h.value.height + "px", W.style.width = h.value.width + "px", W.style.left = "7px", W.style.top = "7px", W.style.transform = "", v.value = {
745
745
  size: h.value,
746
746
  position: {
@@ -749,8 +749,8 @@ function fa(e, t) {
749
749
  }
750
750
  }, F.value = !1, g.value = !0);
751
751
  }
752
- function D() {
753
- var O, I;
752
+ function I() {
753
+ var O, D;
754
754
  if (document.body.click(), S.value) {
755
755
  const A = {
756
756
  width: S.value.size.width || 0,
@@ -759,7 +759,7 @@ function fa(e, t) {
759
759
  x: (window.innerWidth - A.width) / 2,
760
760
  y: (window.innerHeight - A.height) / 2
761
761
  };
762
- (O = h.value) == null || O.set(A), (I = d.value) == null || I.set(W);
762
+ (O = h.value) == null || O.set(A), (D = d.value) == null || D.set(W);
763
763
  const G = n.value;
764
764
  G.style.height = A.height + "px", G.style.width = A.width + "px", G.style.left = `${W.x}px`, G.style.top = `${W.y}px`, G.style.transform = "", v.value = {
765
765
  size: A,
@@ -769,13 +769,13 @@ function fa(e, t) {
769
769
  }
770
770
  function R() {
771
771
  if (n.value) {
772
- const O = ce.getCurrent(n.value);
772
+ const O = de.getCurrent(n.value);
773
773
  if (O) {
774
774
  const {
775
- width: I,
775
+ width: D,
776
776
  height: A
777
777
  } = O;
778
- n.value.style.left = `${(window.innerWidth - I) / 2}px`, n.value.style.top = `${(window.innerHeight - A) / 2}px`, n.value.style.transform = "";
778
+ n.value.style.left = `${(window.innerWidth - D) / 2}px`, n.value.style.top = `${(window.innerHeight - A) / 2}px`, n.value.style.transform = "";
779
779
  }
780
780
  }
781
781
  }
@@ -793,14 +793,14 @@ function fa(e, t) {
793
793
  boundingElement: a,
794
794
  resizedEventParam: v,
795
795
  maximize: M,
796
- restore: D,
796
+ restore: I,
797
797
  allowDrag: F,
798
798
  isMaximized: g,
799
799
  unWindowResizeHandle: L,
800
800
  moveToCenter: R
801
801
  };
802
802
  }
803
- function ma(e, t, n) {
803
+ function ya(e, t, n) {
804
804
  const a = m(), l = m(e.draggable), o = m(e.lockAxis), i = m(), h = m(), d = m(!1), y = m(new _(0, 0)), C = m(new _(0, 0)), p = m(new _(0, 0)), v = m(new _(0, 0));
805
805
  z(() => n.value, (b) => {
806
806
  i.value.style.cursor = b ? "move" : "default";
@@ -896,7 +896,7 @@ function Tt(e, t) {
896
896
  };
897
897
  }
898
898
  }
899
- function ya(e, t) {
899
+ function pa(e, t) {
900
900
  const n = m(e.enableEsc);
901
901
  let a = null;
902
902
  return n.value ? (a = Tt("Escape", (l) => {
@@ -905,7 +905,7 @@ function ya(e, t) {
905
905
  remove: a
906
906
  }) : null;
907
907
  }
908
- function pa(e, t) {
908
+ function va(e, t) {
909
909
  const n = m(e.enableEnter);
910
910
  let a = null;
911
911
  return n.value ? (a = Tt("Enter", (l) => {
@@ -916,7 +916,7 @@ function pa(e, t) {
916
916
  }
917
917
  const be = /* @__PURE__ */ q({
918
918
  name: "FModal",
919
- props: da,
919
+ props: fa,
920
920
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
921
921
  setup(e, t) {
922
922
  const n = m(e.width || 300), a = m(e.height || 200), l = m(e.modelValue), o = m(""), i = m(e.class), h = m(e.fitContent), d = m(e.showHeader), y = m(""), C = m(e.showCloseButton), p = m(e.showMaxButton), v = m(!1), x = m(e.dialogType), S = m(e.src), F = m(""), g = m(e.showButtons), s = m(e.title), f = m(e.containment || null), k = m();
@@ -952,17 +952,17 @@ const be = /* @__PURE__ */ q({
952
952
  c(E, !0);
953
953
  }
954
954
  }], T = m(e.buttons && e.buttons.length ? e.buttons : b), N = B(() => !!y.value), j = B(() => !!g.value && !!T.value), V = m(), P = m(), M = m(e.maximized || !1), {
955
- renderResizeBar: D,
955
+ renderResizeBar: I,
956
956
  maximize: R,
957
957
  restore: $,
958
958
  boundingElement: L,
959
959
  resizedEventParam: O,
960
- allowDrag: I,
960
+ allowDrag: D,
961
961
  unWindowResizeHandle: A,
962
962
  moveToCenter: W
963
- } = fa(e), {
963
+ } = ma(e), {
964
964
  registerDraggle: G
965
- } = ma(e, t, I);
965
+ } = ya(e, t, D);
966
966
  function Te() {
967
967
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
968
968
  }
@@ -971,7 +971,7 @@ const be = /* @__PURE__ */ q({
971
971
  }), z(() => e.modelValue, (E, H) => {
972
972
  E !== H && (l.value = E, l.value && e.draggable && oe(() => {
973
973
  P.value && !f.value && (f.value = P.value.parentElement, L.value = f.value, G(V.value, P.value, L.value), W());
974
- }), E || (f.value && (f.value = null), r())), l.value ? w.value = Te() : (M.value = !1, I.value = e.draggable);
974
+ }), E || (f.value && (f.value = null), r())), l.value ? w.value = Te() : (M.value = !1, D.value = e.draggable);
975
975
  }), z(() => e.showHeader, (E, H) => {
976
976
  E !== H && (d.value = E);
977
977
  }), z(() => e.showButtons, (E, H) => {
@@ -998,13 +998,13 @@ const be = /* @__PURE__ */ q({
998
998
  };
999
999
  E["f-modal-fitContent"] = !!h.value, E.show = !!ye.value;
1000
1000
  const H = (Y = e.maskClass) == null ? void 0 : Y.split(" ");
1001
- return H == null || H.reduce((X, re) => (X[re] = !0, X), E), E;
1001
+ return H == null || H.reduce((X, ue) => (X[ue] = !0, X), E), E;
1002
1002
  }), Zt = B(() => {
1003
1003
  var Y;
1004
1004
  const E = {
1005
1005
  "modal-dialog": !0
1006
1006
  }, H = (Y = i.value) == null ? void 0 : Y.split(" ");
1007
- return H == null || H.reduce((X, re) => (X[re] = !0, X), E), E;
1007
+ return H == null || H.reduce((X, ue) => (X[ue] = !0, X), E), E;
1008
1008
  }), Qt = () => xe() && !e.isMessager || !!e.fullscreen, en = B(() => {
1009
1009
  const E = document.documentElement.clientWidth, H = document.documentElement.clientHeight;
1010
1010
  if (M.value)
@@ -1016,9 +1016,9 @@ const be = /* @__PURE__ */ q({
1016
1016
  height: "100vh",
1017
1017
  margin: "0"
1018
1018
  };
1019
- const Y = Math.min(n.value, E), X = e.position === "right" ? "100%" : h.value ? "auto" : `${Math.min(a.value, H - 10)}px`, re = `${(window.innerHeight - (X === "100%" || X === "auto" ? 0 : parseInt(X))) / 2}px`, Cn = e.position === "right" ? `${window.innerWidth - Y}px` : `${(window.innerWidth - Y) / 2}px`, st = {
1019
+ const Y = Math.min(n.value, E), X = e.position === "right" ? "100%" : h.value ? "auto" : `${Math.min(a.value, H - 10)}px`, ue = `${(window.innerHeight - (X === "100%" || X === "auto" ? 0 : parseInt(X))) / 2}px`, Cn = e.position === "right" ? `${window.innerWidth - Y}px` : `${(window.innerWidth - Y) / 2}px`, st = {
1020
1020
  position: "absolute",
1021
- top: re,
1021
+ top: ue,
1022
1022
  left: Cn,
1023
1023
  width: xe() ? "auto" : `${Y}px`,
1024
1024
  height: X
@@ -1038,7 +1038,7 @@ const be = /* @__PURE__ */ q({
1038
1038
  const E = {
1039
1039
  display: d.value ? "" : "none"
1040
1040
  };
1041
- return E["pointer-events"] = I.value ? "auto" : "none", E;
1041
+ return E["pointer-events"] = D.value ? "auto" : "none", E;
1042
1042
  }), ln = B(() => ({
1043
1043
  "f-icon": !0,
1044
1044
  modal_maximize: !0,
@@ -1079,7 +1079,7 @@ const be = /* @__PURE__ */ q({
1079
1079
  kn(() => {
1080
1080
  w.value = Te();
1081
1081
  }), K(() => {
1082
- P.value && !f.value && (f.value = P.value.parentElement, L.value = f.value, G(V.value, P.value, L.value)), ye.value && document.body.classList.add("modal-open"), Ae = ya(e, t), He = pa(e, t);
1082
+ P.value && !f.value && (f.value = P.value.parentElement, L.value = f.value, G(V.value, P.value, L.value)), ye.value && document.body.classList.add("modal-open"), Ae = pa(e, t), He = va(e, t);
1083
1083
  }), Se(() => {
1084
1084
  A && A(), Ae && Ae.remove(), He && He.remove();
1085
1085
  }), t.expose({
@@ -1137,17 +1137,17 @@ const be = /* @__PURE__ */ q({
1137
1137
  onWheel: mn
1138
1138
  }, [T.value.map((E) => {
1139
1139
  var X;
1140
- const H = m(E.disabled), Y = E.class || ((X = E.appearance) == null ? void 0 : X.class);
1141
- return u("button", {
1140
+ const H = m(E.disabled), Y = E.class || ((X = E.appearance) == null ? void 0 : X.class) || "btn btn-secondary";
1141
+ return u("button", re(Pn(E), {
1142
1142
  name: E.name,
1143
1143
  style: E.styles,
1144
1144
  type: "button",
1145
1145
  disabled: H.value,
1146
1146
  class: Y + (E.iconClass ? " btn-icontext" : "") + (E.visible === !1 ? "d-none" : ""),
1147
- onClick: (re) => {
1148
- un(E, re);
1147
+ onClick: (ue) => {
1148
+ un(E, ue);
1149
1149
  }
1150
- }, [!!E.iconClass && u("i", {
1150
+ }), [!!E.iconClass && u("i", {
1151
1151
  class: E.iconClass
1152
1152
  }, null), E.text]);
1153
1153
  })])]);
@@ -1203,7 +1203,7 @@ const be = /* @__PURE__ */ q({
1203
1203
  width: "100%",
1204
1204
  frameborder: "0",
1205
1205
  src: S.value
1206
- }, null)]), vn()]), !h.value && P.value && !M.value && D(P.value)]);
1206
+ }, null)]), vn()]), !h.value && P.value && !M.value && I(P.value)]);
1207
1207
  }
1208
1208
  function bn(E) {
1209
1209
  return E || "body";
@@ -1233,7 +1233,7 @@ function Bt(e) {
1233
1233
  if (e.render && typeof e.render == "function")
1234
1234
  return e.render;
1235
1235
  }
1236
- function va(e) {
1236
+ function ha(e) {
1237
1237
  const t = document.createElement("div");
1238
1238
  t.style.display = "contents";
1239
1239
  const n = e.type || "modal", a = Ge({
@@ -1337,7 +1337,7 @@ class Mt {
1337
1337
  showButtons: !0,
1338
1338
  showHeader: !0
1339
1339
  }, t);
1340
- return va(n);
1340
+ return ha(n);
1341
1341
  }
1342
1342
  close(t) {
1343
1343
  var n, a;
@@ -1371,7 +1371,7 @@ class Mt {
1371
1371
  }, v = m();
1372
1372
  let x;
1373
1373
  if (a === "drawer")
1374
- x = () => u(Ze, de({
1374
+ x = () => u(Ze, re({
1375
1375
  ref: v,
1376
1376
  modelValue: o.value,
1377
1377
  "onUpdate:modelValue": (s) => o.value = s,
@@ -1393,7 +1393,7 @@ class Mt {
1393
1393
  width: c,
1394
1394
  height: b
1395
1395
  } = l.value, T = this.adaptToWindow(Number(c) || 500, Number(b) || 320);
1396
- Object.assign(l.value, T), x = () => u(be, de({
1396
+ Object.assign(l.value, T), x = () => u(be, re({
1397
1397
  ref: v,
1398
1398
  modelValue: o.value,
1399
1399
  "onUpdate:modelValue": (N) => o.value = N
@@ -1463,7 +1463,7 @@ function Ot(e, t) {
1463
1463
  }
1464
1464
  return { judgeCanOpen: n };
1465
1465
  }
1466
- function ha(e, t, n, a, l) {
1466
+ function ga(e, t, n, a, l) {
1467
1467
  const o = m(e.buttonBehavior), i = m(e.popupOnInput), h = B(() => ({
1468
1468
  "input-group-append": !0,
1469
1469
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
@@ -1478,7 +1478,7 @@ function ha(e, t, n, a, l) {
1478
1478
  });
1479
1479
  p.value = f == null ? void 0 : f.modalRef;
1480
1480
  }
1481
- o.value === "Overlay" && ca.show({
1481
+ o.value === "Overlay" && da.show({
1482
1482
  // host: buttonEditRef.value,
1483
1483
  host: document.body,
1484
1484
  backgroundColor: "rgba(0,0,0,.15)",
@@ -1500,7 +1500,7 @@ function ha(e, t, n, a, l) {
1500
1500
  modalRef: p
1501
1501
  };
1502
1502
  }
1503
- function ga(e, t, n, a, l, o) {
1503
+ function ba(e, t, n, a, l, o) {
1504
1504
  const i = m(!1), h = B(() => e.enableClear && !e.readonly && !e.disable && !xe()), { changeTextBoxValue: d, hasClearClass: y } = o, C = m(!1);
1505
1505
  function p(g) {
1506
1506
  i.value = g, y.value = g;
@@ -1533,7 +1533,7 @@ function ga(e, t, n, a, l, o) {
1533
1533
  onMouseLeaveTextBox: F
1534
1534
  };
1535
1535
  }
1536
- function ba(e, t, n, a, l) {
1536
+ function Ca(e, t, n, a, l) {
1537
1537
  const o = B(() => e.popupOnInput), i = B(() => e.popupOnFocus), { shouldPopupContent: h, closeAllPopover: d } = l, y = m(!1), C = B(() => e.enableTitle ? n.value : ""), p = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = B(() => e.readonly || !e.editable || xe()), x = m(!1), S = B(() => !e.disable && x.value), F = B(() => ({
1538
1538
  "text-left": e.textAlign === "left",
1539
1539
  "text-center": e.textAlign === "center",
@@ -1607,15 +1607,15 @@ function ba(e, t, n, a, l) {
1607
1607
  onTextBoxValueChange: j
1608
1608
  };
1609
1609
  }
1610
- const ue = "FarrisVue_PopoverInstancesKey";
1611
- function Ca(e, t, n, a) {
1610
+ const ce = "FarrisVue_PopoverInstancesKey";
1611
+ function xa(e, t, n, a) {
1612
1612
  const l = m(), o = m(!1), { judgeCanOpen: i } = Ot(e, a);
1613
1613
  z(() => l.value, (x, S) => {
1614
- window[ue] = window[ue] || /* @__PURE__ */ new WeakMap(), x ? window[ue].set(n.value, x) : window[ue].delete(n.value);
1614
+ window[ce] = window[ce] || /* @__PURE__ */ new WeakMap(), x ? window[ce].set(n.value, x) : window[ce].delete(n.value);
1615
1615
  });
1616
1616
  function h() {
1617
- if (window[ue]) {
1618
- const x = window[ue];
1617
+ if (window[ce]) {
1618
+ const x = window[ce];
1619
1619
  document.querySelectorAll(".f-button-edit,.v-popover").forEach((S) => {
1620
1620
  const F = x.get(S);
1621
1621
  F && S !== n.value && !n.value.closest(".popover-fitcontent") && F.hide();
@@ -1650,7 +1650,7 @@ function Ca(e, t, n, a) {
1650
1650
  }
1651
1651
  return { hidePopup: p, showPopup: v, popup: C, shouldPopupContent: o, togglePopup: y, popoverRef: l, closeAllPopover: h };
1652
1652
  }
1653
- function xa(e, t, n) {
1653
+ function wa(e, t, n) {
1654
1654
  const a = m(), {
1655
1655
  isTextBoxReadonly: l,
1656
1656
  textBoxClass: o,
@@ -1666,7 +1666,7 @@ function xa(e, t, n) {
1666
1666
  onTextBoxValueChange: F
1667
1667
  } = n, g = m(e.id), {
1668
1668
  uuid: s
1669
- } = Pn(), f = B(() => ({
1669
+ } = Nn(), f = B(() => ({
1670
1670
  // 'border-top-right-radius': '6px',
1671
1671
  // 'border-bottom-right-radius': '6px'
1672
1672
  }));
@@ -1712,7 +1712,7 @@ function xa(e, t, n) {
1712
1712
  onCompositionstart: w
1713
1713
  }, null);
1714
1714
  }
1715
- function wa(e, t, n) {
1715
+ function ka(e, t, n) {
1716
1716
  const a = m(e.separator), l = B(() => e.readonly || e.disable), {
1717
1717
  changeTextBoxValue: o,
1718
1718
  onFocusTextBox: i,
@@ -1736,7 +1736,7 @@ function wa(e, t, n) {
1736
1736
  function x(S) {
1737
1737
  d(S);
1738
1738
  }
1739
- return () => u(zn, {
1739
+ return () => u($n, {
1740
1740
  tabindex: e.tabIndex,
1741
1741
  onFocus: i,
1742
1742
  onBlur: h,
@@ -1751,7 +1751,7 @@ function wa(e, t, n) {
1751
1751
  onClick: x
1752
1752
  }, null);
1753
1753
  }
1754
- function ka(e, t, n, a) {
1754
+ function Sa(e, t, n, a) {
1755
1755
  const {
1756
1756
  buttonGroupClass: l,
1757
1757
  onClickButton: o,
@@ -1767,7 +1767,7 @@ function ka(e, t, n, a) {
1767
1767
  t.emit("beforeClearValue");
1768
1768
  }, {
1769
1769
  renderExpandContent: S
1770
- } = Wn(e, t);
1770
+ } = qn(e, t);
1771
1771
  return {
1772
1772
  renderButtonGroup: () => u(le, null, [u("div", {
1773
1773
  id: e.id ? `${e.id}-button-group` : void 0,
@@ -1794,7 +1794,7 @@ function ka(e, t, n, a) {
1794
1794
  buttonHandleElement: p
1795
1795
  };
1796
1796
  }
1797
- function Sa(e, t, n) {
1797
+ function Fa(e, t, n) {
1798
1798
  const a = m(e.popupMinWidth), {
1799
1799
  hidePopup: l,
1800
1800
  popoverRef: o
@@ -1819,7 +1819,7 @@ function Sa(e, t, n) {
1819
1819
  var d, y;
1820
1820
  return [U(" "), (y = (d = t.slots).default) == null ? void 0 : y.call(d), U(" ")];
1821
1821
  }
1822
- }) : u(qn, {
1822
+ }) : u(Yn, {
1823
1823
  id: `${e.id}-popover`,
1824
1824
  ref: o,
1825
1825
  placement: e.placement,
@@ -1844,20 +1844,20 @@ function Sa(e, t, n) {
1844
1844
  }
1845
1845
  const Ne = /* @__PURE__ */ q({
1846
1846
  name: "FButtonEdit",
1847
- props: la,
1847
+ props: oa,
1848
1848
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue", "expandClick", "hidden", "shown"],
1849
1849
  setup(e, t) {
1850
- const n = m(), a = m(e.customClass), l = m(e.modelValue), o = Ca(e, t, n, l), {
1850
+ const n = m(), a = m(e.customClass), l = m(e.modelValue), o = xa(e, t, n, l), {
1851
1851
  shouldPopupContent: i,
1852
1852
  hidePopup: h,
1853
1853
  showPopup: d,
1854
1854
  togglePopup: y
1855
- } = o, C = ha(e, t, n, o, l), p = m(""), v = ba(e, t, l, p, o), {
1855
+ } = o, C = ga(e, t, n, o, l), p = m(""), v = Ca(e, t, l, p, o), {
1856
1856
  hasFocusedTextBox: x,
1857
1857
  commitValue: S,
1858
1858
  inputGroupClass: F,
1859
1859
  changeTextBoxValue: g
1860
- } = v, s = ga(e, t, l, x, p, v), {
1860
+ } = v, s = ba(e, t, l, x, p, v), {
1861
1861
  onMouseEnterTextBox: f,
1862
1862
  onMouseLeaveTextBox: k
1863
1863
  } = s, w = m(!1), r = B(() => {
@@ -1866,7 +1866,7 @@ const Ne = /* @__PURE__ */ q({
1866
1866
  "f-cmp-inputgroup": !0,
1867
1867
  "f-button-edit-nowrap": !e.wrapText
1868
1868
  };
1869
- return a.value && a.value.split(" ").reduce((I, A) => (I[A] = !0, I), O), O;
1869
+ return a.value && a.value.split(" ").reduce((D, A) => (D[A] = !0, D), O), O;
1870
1870
  }), c = B(() => ({
1871
1871
  overflow: e.wrapText ? "hidden" : ""
1872
1872
  })), b = B(() => ({
@@ -1877,20 +1877,20 @@ const Ne = /* @__PURE__ */ q({
1877
1877
  if (!e.multiSelect || e.inputType !== "tag" || !n.value)
1878
1878
  return 0;
1879
1879
  let O = 0;
1880
- const I = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1881
- return I && I.length && (O = I.map((A) => A.offsetTop).filter((A) => A > 20).length), O;
1880
+ const D = Array.from(n.value.querySelectorAll(".farris-tag-item"));
1881
+ return D && D.length && (O = D.map((A) => A.offsetTop).filter((A) => A > 20).length), O;
1882
1882
  }
1883
1883
  const j = m(N());
1884
1884
  _e(() => {
1885
1885
  j.value = N();
1886
1886
  });
1887
1887
  function V() {
1888
- return e.multiSelect && e.inputType === "tag" ? () => u(le, null, [wa(e, l, v)(), !!j.value && u("div", {
1888
+ return e.multiSelect && e.inputType === "tag" ? () => u(le, null, [ka(e, l, v)(), !!j.value && u("div", {
1889
1889
  class: "d-flex flex-row mr-2 more-tags",
1890
1890
  "more-tags": !0
1891
1891
  }, [u("span", {
1892
1892
  class: "multi--more-text"
1893
- }, [U("+"), j.value])])]) : xa(e, l, v);
1893
+ }, [U("+"), j.value])])]) : wa(e, l, v);
1894
1894
  }
1895
1895
  let P = V();
1896
1896
  z([() => e.multiSelect, () => e.inputType], () => {
@@ -1898,8 +1898,8 @@ const Ne = /* @__PURE__ */ q({
1898
1898
  });
1899
1899
  const {
1900
1900
  renderButtonGroup: M,
1901
- buttonHandleElement: D
1902
- } = ka(e, t, C, s), R = Sa(e, t, o), $ = m(i.value), L = {
1901
+ buttonHandleElement: I
1902
+ } = Sa(e, t, C, s), R = Fa(e, t, o), $ = m(i.value), L = {
1903
1903
  displayText: p,
1904
1904
  commitValue: S,
1905
1905
  elementRef: n,
@@ -1909,7 +1909,7 @@ const Ne = /* @__PURE__ */ q({
1909
1909
  shouldPopupContent: i,
1910
1910
  togglePopup: y,
1911
1911
  openDialog: () => {
1912
- D.value && e.buttonBehavior === "Modal" && D.value.click(), t.slots.content && Qe(() => {
1912
+ I.value && e.buttonBehavior === "Modal" && I.value.click(), t.slots.content && Qe(() => {
1913
1913
  C.onClickButton(null);
1914
1914
  }, e.buttonBehavior === "Modal" ? 0 : 200)();
1915
1915
  },
@@ -1937,8 +1937,8 @@ const Ne = /* @__PURE__ */ q({
1937
1937
  };
1938
1938
  }), bt(() => {
1939
1939
  var O;
1940
- window.onresize = null, (O = window[ue]) == null || O.delete(n.value);
1941
- }), t.expose(L), z(() => i.value, async (O, I) => {
1940
+ window.onresize = null, (O = window[ce]) == null || O.delete(n.value);
1941
+ }), t.expose(L), z(() => i.value, async (O, D) => {
1942
1942
  if (w.value) {
1943
1943
  $.value = O, w.value = !1;
1944
1944
  return;
@@ -1948,14 +1948,14 @@ const Ne = /* @__PURE__ */ q({
1948
1948
  const A = await e.beforeClosePopup();
1949
1949
  $.value = !A, (!A || e.readonly) && (i.value = !0);
1950
1950
  } catch (A) {
1951
- console.error("Error in beforeClosePopup:", A), $.value = I, i.value = I;
1951
+ console.error("Error in beforeClosePopup:", A), $.value = D, i.value = D;
1952
1952
  }
1953
1953
  return;
1954
1954
  }
1955
1955
  $.value = O;
1956
1956
  }), () => {
1957
- var O, I;
1958
- return u(le, null, [u("div", de(t.attrs, {
1957
+ var O, D;
1958
+ return u(le, null, [u("div", re(t.attrs, {
1959
1959
  ref: n,
1960
1960
  class: r.value,
1961
1961
  id: e.id ? e.id : void 0,
@@ -1966,10 +1966,10 @@ const Ne = /* @__PURE__ */ q({
1966
1966
  style: b.value,
1967
1967
  onMouseenter: f,
1968
1968
  onMouseleave: k
1969
- }, [(I = (O = t.slots).precontent) == null ? void 0 : I.call(O), t.slots.content ? t.slots.content() : P(), t.slots.content ? null : T.value && M()])]), $.value && R()]);
1969
+ }, [(D = (O = t.slots).precontent) == null ? void 0 : D.call(O), t.slots.content ? t.slots.content() : P(), t.slots.content ? null : T.value && M()])]), $.value && R()]);
1970
1970
  };
1971
1971
  }
1972
- }), Fa = "https://json-schema.org/draft/2020-12/schema", Ta = "https://farris-design.gitee.io/field-selector.schema.json", Ba = "field-selector", Ma = "A Farris Input Component", Oa = "object", Ea = {
1972
+ }), Ta = "https://json-schema.org/draft/2020-12/schema", Ba = "https://farris-design.gitee.io/field-selector.schema.json", Ma = "field-selector", Oa = "A Farris Input Component", Ea = "object", Da = {
1973
1973
  disabled: {
1974
1974
  description: "",
1975
1975
  type: "boolean",
@@ -2066,12 +2066,12 @@ const Ne = /* @__PURE__ */ q({
2066
2066
  default: !0
2067
2067
  }
2068
2068
  }, Ia = {
2069
- $schema: Fa,
2070
- $id: Ta,
2071
- title: Ba,
2072
- description: Ma,
2073
- type: Oa,
2074
- properties: Ea
2069
+ $schema: Ta,
2070
+ $id: Ba,
2071
+ title: Ma,
2072
+ description: Oa,
2073
+ type: Ea,
2074
+ properties: Da
2075
2075
  }, Et = {
2076
2076
  disabled: {
2077
2077
  type: Boolean,
@@ -2172,7 +2172,7 @@ const Ne = /* @__PURE__ */ q({
2172
2172
  }
2173
2173
  };
2174
2174
  me(Et, Ia);
2175
- const It = {
2175
+ const Dt = {
2176
2176
  conditions: {
2177
2177
  type: Array,
2178
2178
  default: []
@@ -2225,9 +2225,9 @@ const It = {
2225
2225
  type: Boolean,
2226
2226
  default: !1
2227
2227
  }
2228
- }, Dt = /* @__PURE__ */ new Map([
2228
+ }, It = /* @__PURE__ */ new Map([
2229
2229
  ["appearance", Ke]
2230
- ]), Da = "https://json-schema.org/draft/2020-12/schema", Pa = "https://farris-design.gitee.io/combo-list.schema.json", Na = "combo-list", Va = "A Farris Input Component", Ra = "object", ja = {
2230
+ ]), Pa = "https://json-schema.org/draft/2020-12/schema", Na = "https://farris-design.gitee.io/combo-list.schema.json", Va = "combo-list", Ra = "A Farris Input Component", ja = "object", La = {
2231
2231
  id: {
2232
2232
  description: "The unique identifier for a combo list",
2233
2233
  type: "string"
@@ -2482,14 +2482,14 @@ const It = {
2482
2482
  type: "boolean",
2483
2483
  default: !1
2484
2484
  }
2485
- }, La = [
2485
+ }, Aa = [
2486
2486
  "type"
2487
- ], Aa = [
2487
+ ], Ha = [
2488
2488
  "id",
2489
2489
  "appearance",
2490
2490
  "binding",
2491
2491
  "visible"
2492
- ], Ha = {
2492
+ ], za = {
2493
2493
  onClear: "清空事件",
2494
2494
  onShown: "面板打开事件",
2495
2495
  onHidden: "面板关闭事件",
@@ -2497,20 +2497,20 @@ const It = {
2497
2497
  beforeOpen: "打开面板前事件",
2498
2498
  beforeHide: "关闭面板前事件"
2499
2499
  }, Pt = {
2500
- $schema: Da,
2501
- $id: Pa,
2502
- title: Na,
2503
- description: Va,
2504
- type: Ra,
2505
- properties: ja,
2506
- required: La,
2507
- ignore: Aa,
2508
- events: Ha
2500
+ $schema: Pa,
2501
+ $id: Na,
2502
+ title: Va,
2503
+ description: Ra,
2504
+ type: ja,
2505
+ properties: La,
2506
+ required: Aa,
2507
+ ignore: Ha,
2508
+ events: za
2509
2509
  };
2510
2510
  function Nt(e, t, n) {
2511
2511
  return t;
2512
2512
  }
2513
- function za() {
2513
+ function $a() {
2514
2514
  function e(t, n, a) {
2515
2515
  const l = {};
2516
2516
  return l.beforeOpen = (o) => n.call("beforeOpen", t, [o, t], a), l;
@@ -2797,16 +2797,16 @@ const Ve = {
2797
2797
  * @default false
2798
2798
  */
2799
2799
  hideDisabledItems: { type: Boolean, default: !1 }
2800
- }, $a = Object.assign({}, Ve, {
2800
+ }, Wa = Object.assign({}, Ve, {
2801
2801
  readonly: {}
2802
2802
  });
2803
- me(Ve, Pt, Dt, Nt);
2804
- const Vt = Dn(
2803
+ me(Ve, Pt, It, Nt);
2804
+ const Vt = In(
2805
2805
  Ve,
2806
2806
  Pt,
2807
- Dt,
2807
+ It,
2808
2808
  Nt
2809
- ), Wa = za(), qa = {
2809
+ ), qa = $a(), Ya = {
2810
2810
  dataSource: { type: Array, default: [] },
2811
2811
  enableSearch: { type: Boolean, default: !1 },
2812
2812
  idField: { type: String, default: "id" },
@@ -2829,9 +2829,9 @@ const Vt = Dn(
2829
2829
  },
2830
2830
  // 搜索启用高亮
2831
2831
  enableHighlightSearch: { type: Boolean, default: !0 }
2832
- }, Ya = /* @__PURE__ */ q({
2832
+ }, Ua = /* @__PURE__ */ q({
2833
2833
  name: "FComboListContainer",
2834
- props: qa,
2834
+ props: Ya,
2835
2835
  emits: ["selectionChange"],
2836
2836
  setup(e, t) {
2837
2837
  const n = m(), a = m(e.dataSource), l = m(e.dataSource), o = m([]), i = m(e.separator), h = m(e.width), d = m(e.maxHeight), y = B(() => e.multiSelect), C = m(e.multiSelect ? String(e.selectedValues).split(i.value) : [e.selectedValues]), p = B(() => ({
@@ -2876,7 +2876,7 @@ const Vt = Dn(
2876
2876
  const k = (s = C.value) == null ? void 0 : s[0];
2877
2877
  let w = k;
2878
2878
  const r = a.value.map((c) => c[e.valueField || e.idField]);
2879
- if (!$n(k) && r.includes(k)) {
2879
+ if (!Wn(k) && r.includes(k)) {
2880
2880
  const c = typeof k, b = typeof ((f = a.value[0]) == null ? void 0 : f[e.valueField || e.idField]);
2881
2881
  b === "number" && c !== b && (w = Number(k)), b === "boolean" && c !== b && (w = k === "true" ? !0 : k === "false" ? !1 : k), g(w);
2882
2882
  }
@@ -2887,7 +2887,7 @@ const Vt = Dn(
2887
2887
  }), () => u("div", {
2888
2888
  class: "f-combo-list-container",
2889
2889
  style: v.value
2890
- }, [u(Yn, {
2890
+ }, [u(Un, {
2891
2891
  ref: n,
2892
2892
  size: "small",
2893
2893
  itemClass: "f-combo-list-item",
@@ -2911,8 +2911,8 @@ const Vt = Dn(
2911
2911
  duration: 0.3,
2912
2912
  timingFunction: "cubic-bezier(0.17, 0.89, 0.45, 1)",
2913
2913
  delay: 0
2914
- }, Ua = (e, t) => {
2915
- const n = e.lineHeight / 2, a = Nn({ maxOverflowY: 44 }), l = J({ ...ut }), o = (w) => {
2914
+ }, Ga = (e, t) => {
2915
+ const n = e.lineHeight / 2, a = Vn({ maxOverflowY: 44 }), l = J({ ...ut }), o = (w) => {
2916
2916
  t.emit("change", w);
2917
2917
  }, i = J({
2918
2918
  value: 0,
@@ -2950,7 +2950,7 @@ const Vt = Dn(
2950
2950
  const x = (w, r = i.max, c = i.min) => {
2951
2951
  const b = i.start + w;
2952
2952
  i.value = b > n ? Math.min(b, r) : Math.max(b, c), i.index = Math.round((i.max - i.value) / e.lineHeight), i.currentItem = C(i.index);
2953
- }, S = Vn(), F = (w) => {
2953
+ }, S = Rn(), F = (w) => {
2954
2954
  S.start(w), i.active = !0, i.start = i.value, a.start(i.start), l.duration = 0;
2955
2955
  }, g = (w) => {
2956
2956
  w.preventDefault(), S.move(w), x(
@@ -2983,7 +2983,7 @@ const Vt = Dn(
2983
2983
  },
2984
2984
  updateTranslate: p
2985
2985
  };
2986
- }, Ga = {
2986
+ }, Xa = {
2987
2987
  column: { type: Array, default: () => [] },
2988
2988
  valueField: { type: String, default: "value" },
2989
2989
  textField: { type: String, default: "text" },
@@ -2992,8 +2992,8 @@ const Vt = Dn(
2992
2992
  showIcon: { type: Boolean, default: !1 },
2993
2993
  lineHeight: { type: Number, default: 0 },
2994
2994
  visiableOptionCount: { type: Number, default: 5 }
2995
- }, Xa = /* @__PURE__ */ q({
2996
- props: Ga,
2995
+ }, _a = /* @__PURE__ */ q({
2996
+ props: Xa,
2997
2997
  emits: ["change", "click"],
2998
2998
  setup(e, t) {
2999
2999
  const {
@@ -3007,7 +3007,7 @@ const Vt = Dn(
3007
3007
  onTouchMove: h,
3008
3008
  onTouchEnd: d,
3009
3009
  onTransitionend: y
3010
- } = Ua(e, t), C = (x) => {
3010
+ } = Ga(e, t), C = (x) => {
3011
3011
  t.emit("click", x);
3012
3012
  }, p = B(() => ({
3013
3013
  transform: `translateY(${n(l.value)})`,
@@ -3027,7 +3027,7 @@ const Vt = Dn(
3027
3027
  class: `f-icon f-icon-check ${a("column-item-icon")}`
3028
3028
  }, null)]))]);
3029
3029
  }
3030
- }), _a = {
3030
+ }), Ka = {
3031
3031
  modelValue: { type: [String, Array], default: "" },
3032
3032
  columns: { type: Array, default: () => [] },
3033
3033
  title: { type: String, default: "" },
@@ -3042,7 +3042,7 @@ const Vt = Dn(
3042
3042
  visiableOptionCount: { type: Number, default: 5 },
3043
3043
  showToolbar: { type: Boolean, default: !0 },
3044
3044
  separator: { type: String, default: "," }
3045
- }, Ka = (e, t) => {
3045
+ }, Ja = (e, t) => {
3046
3046
  const { finalValue: n, initValue: a, setSelectedByIndex: l, getSelectedValueByIndex: o } = t, { isArray: i, isFunction: h, isObject: d } = Pe(), y = (r) => r && r[0], C = B(() => {
3047
3047
  var r;
3048
3048
  return ((r = e.columns) == null ? void 0 : r.length) > 0 && i(e.columns[0]);
@@ -3101,7 +3101,7 @@ const Vt = Dn(
3101
3101
  getValue: f,
3102
3102
  getTextValue: k
3103
3103
  };
3104
- }, Ja = (e) => {
3104
+ }, Za = (e) => {
3105
3105
  const { isArray: t, isMultiArray: n, isString: a, isDef: l } = Pe(), o = (s) => {
3106
3106
  let f = [];
3107
3107
  return t(s) ? f = s : a(s) ? f = s.split(e.separator) : l(s) && (f = [s]), e.multiSelect ? n(f) ? f : [f] : f;
@@ -3123,15 +3123,15 @@ const Vt = Dn(
3123
3123
  getSelectedByIndex: (s) => e.multiSelect ? C[s] : d[s],
3124
3124
  getSelectedValueByIndex: (s) => e.multiSelect ? p.value[s] : y.value[s]
3125
3125
  };
3126
- }, Za = /* @__PURE__ */ q({
3127
- props: _a,
3126
+ }, Qa = /* @__PURE__ */ q({
3127
+ props: Ka,
3128
3128
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3129
3129
  setup(e, t) {
3130
3130
  const {
3131
3131
  emit: n
3132
3132
  } = t, {
3133
3133
  addUnit: a
3134
- } = Pe(), l = Ja(e), {
3134
+ } = Pe(), l = Za(e), {
3135
3135
  finalValue: o,
3136
3136
  getSelectedValue: i,
3137
3137
  getSelectedValueByIndex: h,
@@ -3139,7 +3139,7 @@ const Vt = Dn(
3139
3139
  setSelectedByIndex: y
3140
3140
  } = l, {
3141
3141
  columns: C
3142
- } = Ka(e, l), p = (k, w = !0) => {
3142
+ } = Ja(e, l), p = (k, w = !0) => {
3143
3143
  const {
3144
3144
  value: r,
3145
3145
  index: c
@@ -3176,7 +3176,7 @@ const Vt = Dn(
3176
3176
  }, [u("div", {
3177
3177
  class: S("columns"),
3178
3178
  style: g.value
3179
- }, [C.value.map((k, w) => u(Xa, {
3179
+ }, [C.value.map((k, w) => u(_a, {
3180
3180
  column: k,
3181
3181
  value: h(w),
3182
3182
  showIcon: e.multiSelect,
@@ -3204,7 +3204,7 @@ const Vt = Dn(
3204
3204
  }, [e.showToolbar && F(), f()]);
3205
3205
  }
3206
3206
  });
3207
- function Qa(e, t) {
3207
+ function el(e, t) {
3208
3208
  const n = m(""), a = m(e.modelValue), l = m(e.data || []), o = m(e.editable), i = B(() => e.hideDisabledItems ? l.value.filter((s) => !s.disabled) : l.value);
3209
3209
  function h(s) {
3210
3210
  const f = e.multiSelect ? String(s).split(e.separator) : [String(s)], k = f.map((c) => [c, !0]), w = new Map(k);
@@ -3237,7 +3237,7 @@ function Qa(e, t) {
3237
3237
  const { url: s, method: f = "GET", headers: k = { "Content-Type": "application/json;charset=utf-8;" }, body: w = null } = e.remote;
3238
3238
  if (!s)
3239
3239
  return;
3240
- const { basePath: r } = Rn().value, c = f.toLowerCase() === "get" ? { method: f, headers: k } : { method: f, headers: k, body: w };
3240
+ const { basePath: r } = jn().value, c = f.toLowerCase() === "get" ? { method: f, headers: k } : { method: f, headers: k, body: w };
3241
3241
  let b = !1;
3242
3242
  fetch(new Request(r + s, c)).then((T) => {
3243
3243
  var j, V;
@@ -3289,8 +3289,8 @@ function Qa(e, t) {
3289
3289
  getSelectedItemsByDisplayText: p
3290
3290
  };
3291
3291
  }
3292
- const el = ["moz", "ms", "webkit"];
3293
- function tl() {
3292
+ const tl = ["moz", "ms", "webkit"];
3293
+ function nl() {
3294
3294
  let e = 0;
3295
3295
  return (t) => {
3296
3296
  const n = (/* @__PURE__ */ new Date()).getTime(), a = Math.max(0, 16 - (n - e)), l = setTimeout(() => {
@@ -3299,15 +3299,15 @@ function tl() {
3299
3299
  return e = n + a, l;
3300
3300
  };
3301
3301
  }
3302
- function nl() {
3302
+ function al() {
3303
3303
  if (typeof window > "u")
3304
3304
  return () => 0;
3305
3305
  if (window.requestAnimationFrame)
3306
3306
  return window.requestAnimationFrame.bind(window);
3307
- const e = el.filter((t) => `${t}RequestAnimationFrame` in window)[0];
3308
- return e ? window[`${e}RequestAnimationFrame`] : tl();
3307
+ const e = tl.filter((t) => `${t}RequestAnimationFrame` in window)[0];
3308
+ return e ? window[`${e}RequestAnimationFrame`] : nl();
3309
3309
  }
3310
- nl();
3310
+ al();
3311
3311
  m("");
3312
3312
  function we() {
3313
3313
  if (typeof window > "u" || typeof navigator > "u")
@@ -3342,11 +3342,11 @@ function we() {
3342
3342
  const a = "ontouchstart" in window || navigator.maxTouchPoints > 0, l = screen.width, o = screen.height, i = Math.min(l, o);
3343
3343
  return !!(a && i <= 768);
3344
3344
  }
3345
- function al() {
3345
+ function ll() {
3346
3346
  const e = we();
3347
3347
  return e && document.body.classList.add("f-mobile"), e;
3348
3348
  }
3349
- typeof document < "u" && al();
3349
+ typeof document < "u" && ll();
3350
3350
  const fe = /* @__PURE__ */ q({
3351
3351
  name: "FComboList",
3352
3352
  props: Ve,
@@ -3361,16 +3361,16 @@ const fe = /* @__PURE__ */ q({
3361
3361
  getItemsByDisplayText: x,
3362
3362
  getItemsByValue: S,
3363
3363
  beforeOpenList: F
3364
- } = Qa(e, t), g = m(e.dropDownIcon);
3364
+ } = el(e, t), g = m(e.dropDownIcon);
3365
3365
  g.value === '<span class="f-icon f-icon-arrow-chevron-down"></span>' && (g.value = '<span id="' + e.id + '-icon-dropdown" class="f-icon f-icon-arrow-chevron-down"></span>');
3366
3366
  const s = B(() => e.multiSelect), f = B(() => a.value ? a.value.elementRef.getBoundingClientRect().width : 0);
3367
3367
  function k() {
3368
3368
  !s.value && a.value && a.value.hidePopup();
3369
3369
  }
3370
3370
  function w(L) {
3371
- y.value = L.map((I) => I[e.textField]).join(e.separator) || p.value;
3371
+ y.value = L.map((D) => D[e.textField]).join(e.separator) || p.value;
3372
3372
  let O = "";
3373
- L.length === 1 ? O = L[0][e.valueField] : O = L.map((I) => I[e.valueField]).join(e.separator), p.value !== O && (p.value = O, t.emit("update:modelValue", p.value), t.emit("change", L, p.value));
3373
+ L.length === 1 ? O = L[0][e.valueField] : O = L.map((D) => D[e.valueField]).join(e.separator), p.value !== O && (p.value = O, t.emit("update:modelValue", p.value), t.emit("change", L, p.value));
3374
3374
  }
3375
3375
  function r() {
3376
3376
  const L = S(p.value);
@@ -3384,8 +3384,8 @@ const fe = /* @__PURE__ */ q({
3384
3384
  p.value = "", (O = n.value) == null || O.activeRowById(""), t.emit("clear");
3385
3385
  }
3386
3386
  function T(L) {
3387
- var O, I;
3388
- e.enableSearch && e.enableHighlightSearch && ((O = n.value) == null || O.search(L)), (I = n.value) == null || I.activeRowById(L), t.emit("change", [p.value], p.value);
3387
+ var O, D;
3388
+ e.enableSearch && e.enableHighlightSearch && ((O = n.value) == null || O.search(L)), (D = n.value) == null || D.activeRowById(L), t.emit("change", [p.value], p.value);
3389
3389
  }
3390
3390
  function N(L) {
3391
3391
  if (e.multiSelect) {
@@ -3410,17 +3410,17 @@ const fe = /* @__PURE__ */ q({
3410
3410
  function M(L) {
3411
3411
  d.value = L;
3412
3412
  }
3413
- function D() {
3413
+ function I() {
3414
3414
  return d.value;
3415
3415
  }
3416
3416
  const R = {
3417
3417
  getDisplayText: j,
3418
3418
  hidePopup: P,
3419
3419
  updateDataSource: M,
3420
- getData: D
3420
+ getData: I
3421
3421
  };
3422
- t.expose(R), z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([L, O, I, A, W]) => {
3423
- l.value = L, C.value = O, o.value = I, i.value = A, h.value = W;
3422
+ t.expose(R), z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([L, O, D, A, W]) => {
3423
+ l.value = L, C.value = O, o.value = D, i.value = A, h.value = W;
3424
3424
  });
3425
3425
  const $ = () => {
3426
3426
  t.emit("expandClick");
@@ -3463,7 +3463,7 @@ const fe = /* @__PURE__ */ q({
3463
3463
  onHidden: () => t.emit("hidden"),
3464
3464
  onShown: () => t.emit("shown")
3465
3465
  }, {
3466
- default: () => [we() ? u(Za, {
3466
+ default: () => [we() ? u(Qa, {
3467
3467
  modelValue: p.value,
3468
3468
  valueField: e.valueField,
3469
3469
  textField: e.textField,
@@ -3477,7 +3477,7 @@ const fe = /* @__PURE__ */ q({
3477
3477
  onCancel: () => {
3478
3478
  a == null || a.value.hidePopup();
3479
3479
  }
3480
- }, null) : u(Ya, {
3480
+ }, null) : u(Ua, {
3481
3481
  class: e.popupClass,
3482
3482
  ref: n,
3483
3483
  idField: e.idField,
@@ -3505,7 +3505,7 @@ const fe = /* @__PURE__ */ q({
3505
3505
  e.editor.remote = e.editor.remote || {}, e.editor.remote[t] = n;
3506
3506
  }
3507
3507
  };
3508
- class ll extends Hn {
3508
+ class ol extends zn {
3509
3509
  constructor(t, n) {
3510
3510
  super(t, n);
3511
3511
  }
@@ -3886,7 +3886,7 @@ class ll extends Hn {
3886
3886
  title: "事件",
3887
3887
  hideTitle: !0,
3888
3888
  properties: o.createBaseEventProperty(h),
3889
- tabId: jn,
3889
+ tabId: Ln,
3890
3890
  tabName: "交互",
3891
3891
  setPropertyRelates(C, p) {
3892
3892
  const v = C.propertyValue;
@@ -3900,24 +3900,24 @@ class ll extends Hn {
3900
3900
  };
3901
3901
  }
3902
3902
  }
3903
- function ol(e, t) {
3903
+ function il(e, t) {
3904
3904
  const n = e.schema;
3905
3905
  function a(l, o) {
3906
- return new ll(l, t).getPropertyConfig(n, o);
3906
+ return new ol(l, t).getPropertyConfig(n, o);
3907
3907
  }
3908
3908
  return {
3909
3909
  getPropsConfig: a
3910
3910
  };
3911
3911
  }
3912
- const il = /* @__PURE__ */ q({
3912
+ const sl = /* @__PURE__ */ q({
3913
3913
  name: "FComboListDesign",
3914
- props: $a,
3914
+ props: Wa,
3915
3915
  emits: ["clear", "update:modelValue", "change"],
3916
3916
  setup(e, t) {
3917
- const n = m(), a = Z("designer-host-service"), l = Z("design-item-context"), o = ol(l, a), i = et(n, l, o);
3917
+ const n = m(), a = Z("designer-host-service"), l = Z("design-item-context"), o = il(l, a), i = et(n, l, o);
3918
3918
  return K(() => {
3919
3919
  n.value.componentInstance = i;
3920
- }), t.expose(i.value), () => u(Un, {
3920
+ }), t.expose(i.value), () => u(Gn, {
3921
3921
  ref: n,
3922
3922
  buttonContent: e.dropDownIcon,
3923
3923
  readonly: !0,
@@ -3932,14 +3932,14 @@ const il = /* @__PURE__ */ q({
3932
3932
  }
3933
3933
  });
3934
3934
  fe.register = (e, t, n, a, l) => {
3935
- e["combo-list"] = fe, t["combo-list"] = Vt(l), a["combo-list"] = { callbackResolver: Wa };
3935
+ e["combo-list"] = fe, t["combo-list"] = Vt(l), a["combo-list"] = { callbackResolver: qa };
3936
3936
  };
3937
3937
  fe.registerDesigner = (e, t, n, a) => {
3938
- e["combo-list"] = il, t["combo-list"] = Vt(a);
3938
+ e["combo-list"] = sl, t["combo-list"] = Vt(a);
3939
3939
  };
3940
3940
  Je(fe);
3941
3941
  Je(Ne);
3942
- const sl = {
3942
+ const rl = {
3943
3943
  modelValue: {
3944
3944
  type: String,
3945
3945
  default: ""
@@ -3994,7 +3994,7 @@ const sl = {
3994
3994
  function jt(e, t, n) {
3995
3995
  return t;
3996
3996
  }
3997
- const rl = "https://json-schema.org/draft/2020-12/schema", ul = "https://farris-design.gitee.io/layout.schema.json", cl = "layout", dl = "A Farris Container Component", fl = "object", ml = {
3997
+ const ul = "https://json-schema.org/draft/2020-12/schema", cl = "https://farris-design.gitee.io/layout.schema.json", dl = "layout", fl = "A Farris Container Component", ml = "object", yl = {
3998
3998
  id: {
3999
3999
  description: "The unique identifier for layout component",
4000
4000
  type: "string"
@@ -4037,19 +4037,19 @@ const rl = "https://json-schema.org/draft/2020-12/schema", ul = "https://farris-
4037
4037
  type: "boolean",
4038
4038
  default: !0
4039
4039
  }
4040
- }, yl = [
4040
+ }, pl = [
4041
4041
  "id",
4042
4042
  "type",
4043
4043
  "contents"
4044
- ], pl = {
4045
- $schema: rl,
4046
- $id: ul,
4047
- title: cl,
4048
- description: dl,
4049
- type: fl,
4050
- properties: ml,
4051
- required: yl
4052
- }, vl = "layout", hl = "A Farris Component", gl = "object", bl = {
4044
+ ], vl = {
4045
+ $schema: ul,
4046
+ $id: cl,
4047
+ title: dl,
4048
+ description: fl,
4049
+ type: ml,
4050
+ properties: yl,
4051
+ required: pl
4052
+ }, hl = "layout", gl = "A Farris Component", bl = "object", Cl = {
4053
4053
  basic: {
4054
4054
  description: "Basic Infomation",
4055
4055
  title: "基本信息",
@@ -4084,18 +4084,18 @@ const rl = "https://json-schema.org/draft/2020-12/schema", ul = "https://farris-
4084
4084
  }
4085
4085
  }
4086
4086
  }
4087
- }, Cl = {
4088
- title: vl,
4089
- description: hl,
4090
- type: gl,
4091
- categories: bl
4087
+ }, xl = {
4088
+ title: hl,
4089
+ description: gl,
4090
+ type: bl,
4091
+ categories: Cl
4092
4092
  }, tt = {
4093
4093
  customStyle: { type: String, defaut: "" },
4094
4094
  /**
4095
4095
  * 自定义样式
4096
4096
  */
4097
4097
  customClass: { type: String, defaut: "" }
4098
- }, Lt = me(tt, pl, Rt, jt, Cl);
4098
+ }, Lt = me(tt, vl, Rt, jt, xl);
4099
4099
  function At(e) {
4100
4100
  const t = m(-1), n = m(-1), a = m(0), l = m(0), o = m(!1), i = m(!1), h = B(() => ({
4101
4101
  display: o.value ? "block" : "none",
@@ -4191,9 +4191,9 @@ const ie = /* @__PURE__ */ q({
4191
4191
  Ct("layout", {
4192
4192
  useResizeHandleComposition: a
4193
4193
  });
4194
- const h = B(() => Ln({
4194
+ const h = B(() => An({
4195
4195
  "f-layout": !0
4196
- }, e == null ? void 0 : e.customClass)), d = B(() => An({}, e == null ? void 0 : e.customStyle));
4196
+ }, e == null ? void 0 : e.customClass)), d = B(() => Hn({}, e == null ? void 0 : e.customStyle));
4197
4197
  return () => u("div", {
4198
4198
  class: h.value,
4199
4199
  style: d.value,
@@ -4209,7 +4209,7 @@ const ie = /* @__PURE__ */ q({
4209
4209
  style: o.value
4210
4210
  }, null)]);
4211
4211
  }
4212
- }), xl = "https://json-schema.org/draft/2020-12/schema", wl = "https://farris-design.gitee.io/layout-pane.schema.json", kl = "layout-pane", Sl = "A Farris Container Component", Fl = "object", Tl = {
4212
+ }), wl = "https://json-schema.org/draft/2020-12/schema", kl = "https://farris-design.gitee.io/layout-pane.schema.json", Sl = "layout-pane", Fl = "A Farris Container Component", Tl = "object", Bl = {
4213
4213
  id: {
4214
4214
  description: "The unique identifier for a layout pane",
4215
4215
  type: "string"
@@ -4272,19 +4272,19 @@ const ie = /* @__PURE__ */ q({
4272
4272
  type: "number",
4273
4273
  default: !0
4274
4274
  }
4275
- }, Bl = [
4275
+ }, Ml = [
4276
4276
  "id",
4277
4277
  "type",
4278
4278
  "contents"
4279
- ], Ml = {
4280
- $schema: xl,
4281
- $id: wl,
4282
- title: kl,
4283
- description: Sl,
4284
- type: Fl,
4285
- properties: Tl,
4286
- required: Bl
4287
- }, Ol = "layout-pane", El = "A Farris Container Component", Il = "object", Dl = {
4279
+ ], Ol = {
4280
+ $schema: wl,
4281
+ $id: kl,
4282
+ title: Sl,
4283
+ description: Fl,
4284
+ type: Tl,
4285
+ properties: Bl,
4286
+ required: Ml
4287
+ }, El = "layout-pane", Dl = "A Farris Container Component", Il = "object", Pl = {
4288
4288
  basic: {
4289
4289
  description: "Basic Infomation",
4290
4290
  title: "基本信息",
@@ -4379,11 +4379,11 @@ const ie = /* @__PURE__ */ q({
4379
4379
  }
4380
4380
  }
4381
4381
  }
4382
- }, Pl = {
4383
- title: Ol,
4384
- description: El,
4382
+ }, Nl = {
4383
+ title: El,
4384
+ description: Dl,
4385
4385
  type: Il,
4386
- categories: Dl
4386
+ categories: Pl
4387
4387
  }, nt = {
4388
4388
  customClass: { type: String, defaut: "" },
4389
4389
  customStyle: { type: String, defaut: "" },
@@ -4404,7 +4404,7 @@ const ie = /* @__PURE__ */ q({
4404
4404
  /** 面板最小高度 */
4405
4405
  minHeight: { type: Number, default: 100 },
4406
4406
  maxWidth: { type: Number, default: null }
4407
- }, Ht = me(nt, Ml, Rt, jt, Pl);
4407
+ }, Ht = me(nt, Ol, Rt, jt, Nl);
4408
4408
  function zt(e, t, n, a, l, o) {
4409
4409
  const {
4410
4410
  horizontalResizeBarPosition: i,
@@ -4441,8 +4441,8 @@ function zt(e, t, n, a, l, o) {
4441
4441
  if (g = N, s = j, d.value = !0, f = T.composedPath().find((P) => (P.className || "").split(" ")[0] === "f-layout"), f) {
4442
4442
  const { left: P } = f.getBoundingClientRect(), M = T.clientX - P;
4443
4443
  h.value = M, i.value = M;
4444
- const D = w();
4445
- k = (R) => v(R, D, n.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", r), document.body.style.userSelect = "none";
4444
+ const I = w();
4445
+ k = (R) => v(R, I, n.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", r), document.body.style.userSelect = "none";
4446
4446
  }
4447
4447
  }
4448
4448
  function b(T, N, j) {
@@ -4450,7 +4450,7 @@ function zt(e, t, n, a, l, o) {
4450
4450
  const { top: P } = f.getBoundingClientRect();
4451
4451
  p.value = T.clientY - P, C.value = T.clientY - P;
4452
4452
  const M = S(g, a.value) || 0;
4453
- k = (D) => x(D, M, a.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", r), document.body.style.userSelect = "none";
4453
+ k = (I) => x(I, M, a.value, g), document.addEventListener("mousemove", k), document.addEventListener("mouseup", r), document.body.style.userSelect = "none";
4454
4454
  }
4455
4455
  }
4456
4456
  return { onClickHorizontalResizeBar: c, onClickVerticalResizeBar: b };
@@ -4501,19 +4501,19 @@ const ne = /* @__PURE__ */ q({
4501
4501
  }, null)]);
4502
4502
  }
4503
4503
  });
4504
- function Nl(e, t) {
4504
+ function Vl(e, t) {
4505
4505
  function n() {
4506
4506
  return !1;
4507
4507
  }
4508
4508
  return { canAccepts: n };
4509
4509
  }
4510
- const Vl = /* @__PURE__ */ q({
4510
+ const Rl = /* @__PURE__ */ q({
4511
4511
  name: "FLayoutDesign",
4512
4512
  props: tt,
4513
4513
  emits: [],
4514
4514
  setup(e, t) {
4515
4515
  var C;
4516
- const n = m(), a = Z("design-item-context"), l = Nl(a.schema, (C = a.parent) == null ? void 0 : C.schema), o = et(n, a, l);
4516
+ const n = m(), a = Z("design-item-context"), l = Vl(a.schema, (C = a.parent) == null ? void 0 : C.schema), o = et(n, a, l);
4517
4517
  o.value.canNested = !1;
4518
4518
  const i = At(n), {
4519
4519
  horizontalResizeHandleStyle: h,
@@ -4539,10 +4539,10 @@ const Vl = /* @__PURE__ */ q({
4539
4539
  }, null)]);
4540
4540
  }
4541
4541
  });
4542
- function Rl(e, t) {
4542
+ function jl(e, t) {
4543
4543
  const n = e.schema;
4544
4544
  function a(o) {
4545
- return !!Gn().basalDragulaRuleForContainer(o);
4545
+ return !!Xn().basalDragulaRuleForContainer(o);
4546
4546
  }
4547
4547
  function l() {
4548
4548
  const o = ["f-layout-pane"];
@@ -4550,14 +4550,14 @@ function Rl(e, t) {
4550
4550
  }
4551
4551
  return { canAccepts: a, getDesignerClass: l };
4552
4552
  }
4553
- const jl = /* @__PURE__ */ q({
4553
+ const Ll = /* @__PURE__ */ q({
4554
4554
  name: "FLayoutPaneDesign",
4555
4555
  props: nt,
4556
4556
  emits: [],
4557
4557
  setup(e, t) {
4558
4558
  const n = m(), a = m();
4559
4559
  Z("designer-host-service");
4560
- const l = Z("design-item-context"), o = Rl(l), i = et(a, l, o);
4560
+ const l = Z("design-item-context"), o = jl(l), i = et(a, l, o);
4561
4561
  i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, K(() => {
4562
4562
  a.value.componentInstance = i;
4563
4563
  }), t.expose(i.value);
@@ -4610,9 +4610,9 @@ ie.register = (e, t, n, a) => {
4610
4610
  e.layout = ie, t.layout = Lt, e["layout-pane"] = ne, t["layout-pane"] = Ht;
4611
4611
  };
4612
4612
  ie.registerDesigner = (e, t, n) => {
4613
- e.layout = Vl, t.layout = Lt, e["layout-pane"] = jl, t["layout-pane"] = Ht;
4613
+ e.layout = Rl, t.layout = Lt, e["layout-pane"] = Ll, t["layout-pane"] = Ht;
4614
4614
  };
4615
- const Ll = [
4615
+ const Al = [
4616
4616
  {
4617
4617
  key: "if",
4618
4618
  name: `if() {
@@ -4685,7 +4685,7 @@ const Ll = [
4685
4685
  keyFront: "",
4686
4686
  className: ""
4687
4687
  }
4688
- ], Al = [
4688
+ ], Hl = [
4689
4689
  {
4690
4690
  key: "IsNull",
4691
4691
  name: "是空值",
@@ -5411,7 +5411,7 @@ const Ll = [
5411
5411
  keyFront: "DefaultFunction",
5412
5412
  className: ""
5413
5413
  }
5414
- ], Hl = [
5414
+ ], zl = [
5415
5415
  {
5416
5416
  key: "DayDifference",
5417
5417
  name: "天数差",
@@ -6078,7 +6078,7 @@ const Ll = [
6078
6078
  keyFront: "DefaultFunction",
6079
6079
  className: ""
6080
6080
  }
6081
- ], zl = [
6081
+ ], $l = [
6082
6082
  {
6083
6083
  key: "NumberThousandSeparator",
6084
6084
  name: "数字千位分隔",
@@ -6228,7 +6228,7 @@ const Ll = [
6228
6228
  keyFront: "DefaultFunction",
6229
6229
  className: ""
6230
6230
  }
6231
- ], $l = [
6231
+ ], Wl = [
6232
6232
  {
6233
6233
  key: "SubString",
6234
6234
  name: "取子字符串",
@@ -6551,7 +6551,7 @@ const Ll = [
6551
6551
  keyFront: "DefaultFunction",
6552
6552
  className: ""
6553
6553
  }
6554
- ], Wl = [
6554
+ ], ql = [
6555
6555
  {
6556
6556
  key: "ToStringX",
6557
6557
  name: "转字符串",
@@ -6721,15 +6721,15 @@ const Ll = [
6721
6721
  keyFront: "DefaultFunction",
6722
6722
  className: ""
6723
6723
  }
6724
- ], ql = {
6725
- analytical: { name: "数据", items: Al },
6726
- datetime: { name: "时间", items: Hl },
6727
- string: { name: "字符", items: $l },
6728
- math: { name: "数字", items: zl },
6729
- translate: { name: "转换", items: Wl },
6730
- advanced: { name: "高级", items: Ll }
6724
+ ], Yl = {
6725
+ analytical: { name: "数据", items: Hl },
6726
+ datetime: { name: "时间", items: zl },
6727
+ string: { name: "字符", items: Wl },
6728
+ math: { name: "数字", items: $l },
6729
+ translate: { name: "转换", items: ql },
6730
+ advanced: { name: "高级", items: Al }
6731
6731
  };
6732
- function Yl(e, t, n) {
6732
+ function Ul(e, t, n) {
6733
6733
  return t in e ? Object.defineProperty(e, t, {
6734
6734
  value: n,
6735
6735
  enumerable: !0,
@@ -6751,23 +6751,23 @@ function ft(e) {
6751
6751
  for (var t = 1; t < arguments.length; t++) {
6752
6752
  var n = arguments[t] != null ? arguments[t] : {};
6753
6753
  t % 2 ? dt(Object(n), !0).forEach(function(a) {
6754
- Yl(e, a, n[a]);
6754
+ Ul(e, a, n[a]);
6755
6755
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dt(Object(n)).forEach(function(a) {
6756
6756
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
6757
6757
  });
6758
6758
  }
6759
6759
  return e;
6760
6760
  }
6761
- function Ul(e, t) {
6761
+ function Gl(e, t) {
6762
6762
  if (e == null) return {};
6763
6763
  var n = {}, a = Object.keys(e), l, o;
6764
6764
  for (o = 0; o < a.length; o++)
6765
6765
  l = a[o], !(t.indexOf(l) >= 0) && (n[l] = e[l]);
6766
6766
  return n;
6767
6767
  }
6768
- function Gl(e, t) {
6768
+ function Xl(e, t) {
6769
6769
  if (e == null) return {};
6770
- var n = Ul(e, t), a, l;
6770
+ var n = Gl(e, t), a, l;
6771
6771
  if (Object.getOwnPropertySymbols) {
6772
6772
  var o = Object.getOwnPropertySymbols(e);
6773
6773
  for (l = 0; l < o.length; l++)
@@ -6775,13 +6775,13 @@ function Gl(e, t) {
6775
6775
  }
6776
6776
  return n;
6777
6777
  }
6778
- function Xl(e, t) {
6779
- return _l(e) || Kl(e, t) || Jl(e, t) || Zl();
6778
+ function _l(e, t) {
6779
+ return Kl(e) || Jl(e, t) || Zl(e, t) || Ql();
6780
6780
  }
6781
- function _l(e) {
6781
+ function Kl(e) {
6782
6782
  if (Array.isArray(e)) return e;
6783
6783
  }
6784
- function Kl(e, t) {
6784
+ function Jl(e, t) {
6785
6785
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(e)))) {
6786
6786
  var n = [], a = !0, l = !1, o = void 0;
6787
6787
  try {
@@ -6799,7 +6799,7 @@ function Kl(e, t) {
6799
6799
  return n;
6800
6800
  }
6801
6801
  }
6802
- function Jl(e, t) {
6802
+ function Zl(e, t) {
6803
6803
  if (e) {
6804
6804
  if (typeof e == "string") return mt(e, t);
6805
6805
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -6812,11 +6812,11 @@ function mt(e, t) {
6812
6812
  for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
6813
6813
  return a;
6814
6814
  }
6815
- function Zl() {
6815
+ function Ql() {
6816
6816
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6817
6817
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6818
6818
  }
6819
- function Ql(e, t, n) {
6819
+ function eo(e, t, n) {
6820
6820
  return t in e ? Object.defineProperty(e, t, {
6821
6821
  value: n,
6822
6822
  enumerable: !0,
@@ -6838,14 +6838,14 @@ function pt(e) {
6838
6838
  for (var t = 1; t < arguments.length; t++) {
6839
6839
  var n = arguments[t] != null ? arguments[t] : {};
6840
6840
  t % 2 ? yt(Object(n), !0).forEach(function(a) {
6841
- Ql(e, a, n[a]);
6841
+ eo(e, a, n[a]);
6842
6842
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yt(Object(n)).forEach(function(a) {
6843
6843
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
6844
6844
  });
6845
6845
  }
6846
6846
  return e;
6847
6847
  }
6848
- function eo() {
6848
+ function to() {
6849
6849
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
6850
6850
  t[n] = arguments[n];
6851
6851
  return function(a) {
@@ -6865,38 +6865,38 @@ function ge(e) {
6865
6865
  };
6866
6866
  };
6867
6867
  }
6868
- function Ie(e) {
6868
+ function De(e) {
6869
6869
  return {}.toString.call(e).includes("Object");
6870
6870
  }
6871
- function to(e) {
6871
+ function no(e) {
6872
6872
  return !Object.keys(e).length;
6873
6873
  }
6874
6874
  function ke(e) {
6875
6875
  return typeof e == "function";
6876
6876
  }
6877
- function no(e, t) {
6877
+ function ao(e, t) {
6878
6878
  return Object.prototype.hasOwnProperty.call(e, t);
6879
6879
  }
6880
- function ao(e, t) {
6881
- return Ie(t) || se("changeType"), Object.keys(t).some(function(n) {
6882
- return !no(e, n);
6880
+ function lo(e, t) {
6881
+ return De(t) || se("changeType"), Object.keys(t).some(function(n) {
6882
+ return !ao(e, n);
6883
6883
  }) && se("changeField"), t;
6884
6884
  }
6885
- function lo(e) {
6885
+ function oo(e) {
6886
6886
  ke(e) || se("selectorType");
6887
6887
  }
6888
- function oo(e) {
6889
- ke(e) || Ie(e) || se("handlerType"), Ie(e) && Object.values(e).some(function(t) {
6888
+ function io(e) {
6889
+ ke(e) || De(e) || se("handlerType"), De(e) && Object.values(e).some(function(t) {
6890
6890
  return !ke(t);
6891
6891
  }) && se("handlersType");
6892
6892
  }
6893
- function io(e) {
6894
- e || se("initialIsRequired"), Ie(e) || se("initialType"), to(e) && se("initialContent");
6893
+ function so(e) {
6894
+ e || se("initialIsRequired"), De(e) || se("initialType"), no(e) && se("initialContent");
6895
6895
  }
6896
- function so(e, t) {
6896
+ function ro(e, t) {
6897
6897
  throw new Error(e[t] || e.default);
6898
6898
  }
6899
- var ro = {
6899
+ var uo = {
6900
6900
  initialIsRequired: "initial state is required",
6901
6901
  initialType: "initial state should be an object",
6902
6902
  initialContent: "initial state shouldn't be an empty object",
@@ -6906,18 +6906,18 @@ var ro = {
6906
6906
  changeType: "provided value of changes should be an object",
6907
6907
  changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
6908
6908
  default: "an unknown error accured in `state-local` package"
6909
- }, se = ge(so)(ro), Me = {
6910
- changes: ao,
6911
- selector: lo,
6912
- handler: oo,
6913
- initial: io
6909
+ }, se = ge(ro)(uo), Me = {
6910
+ changes: lo,
6911
+ selector: oo,
6912
+ handler: io,
6913
+ initial: so
6914
6914
  };
6915
- function uo(e) {
6915
+ function co(e) {
6916
6916
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6917
6917
  Me.initial(e), Me.handler(t);
6918
6918
  var n = {
6919
6919
  current: e
6920
- }, a = ge(mo)(n, t), l = ge(fo)(n), o = ge(Me.changes)(e), i = ge(co)(n);
6920
+ }, a = ge(yo)(n, t), l = ge(mo)(n), o = ge(Me.changes)(e), i = ge(fo)(n);
6921
6921
  function h() {
6922
6922
  var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(C) {
6923
6923
  return C;
@@ -6925,30 +6925,30 @@ function uo(e) {
6925
6925
  return Me.selector(y), y(n.current);
6926
6926
  }
6927
6927
  function d(y) {
6928
- eo(a, l, o, i)(y);
6928
+ to(a, l, o, i)(y);
6929
6929
  }
6930
6930
  return [h, d];
6931
6931
  }
6932
- function co(e, t) {
6932
+ function fo(e, t) {
6933
6933
  return ke(t) ? t(e.current) : t;
6934
6934
  }
6935
- function fo(e, t) {
6935
+ function mo(e, t) {
6936
6936
  return e.current = pt(pt({}, e.current), t), t;
6937
6937
  }
6938
- function mo(e, t, n) {
6938
+ function yo(e, t, n) {
6939
6939
  return ke(t) ? t(e.current) : Object.keys(n).forEach(function(a) {
6940
6940
  var l;
6941
6941
  return (l = t[a]) === null || l === void 0 ? void 0 : l.call(t, e.current[a]);
6942
6942
  }), n;
6943
6943
  }
6944
- var yo = {
6945
- create: uo
6946
- }, po = {
6944
+ var po = {
6945
+ create: co
6946
+ }, vo = {
6947
6947
  paths: {
6948
6948
  vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
6949
6949
  }
6950
6950
  };
6951
- function vo(e) {
6951
+ function ho(e) {
6952
6952
  return function t() {
6953
6953
  for (var n = this, a = arguments.length, l = new Array(a), o = 0; o < a; o++)
6954
6954
  l[o] = arguments[o];
@@ -6959,20 +6959,20 @@ function vo(e) {
6959
6959
  };
6960
6960
  };
6961
6961
  }
6962
- function ho(e) {
6962
+ function go(e) {
6963
6963
  return {}.toString.call(e).includes("Object");
6964
6964
  }
6965
- function go(e) {
6966
- return e || vt("configIsRequired"), ho(e) || vt("configType"), e.urls ? (bo(), {
6965
+ function bo(e) {
6966
+ return e || vt("configIsRequired"), go(e) || vt("configType"), e.urls ? (Co(), {
6967
6967
  paths: {
6968
6968
  vs: e.urls.monacoBase
6969
6969
  }
6970
6970
  }) : e;
6971
6971
  }
6972
- function bo() {
6972
+ function Co() {
6973
6973
  console.warn($t.deprecation);
6974
6974
  }
6975
- function Co(e, t) {
6975
+ function xo(e, t) {
6976
6976
  throw new Error(e[t] || e.default);
6977
6977
  }
6978
6978
  var $t = {
@@ -6989,9 +6989,9 @@ var $t = {
6989
6989
 
6990
6990
  For more please check the link https://github.com/suren-atoyan/monaco-loader#config
6991
6991
  `
6992
- }, vt = vo(Co)($t), xo = {
6993
- config: go
6994
- }, wo = function() {
6992
+ }, vt = ho(xo)($t), wo = {
6993
+ config: bo
6994
+ }, ko = function() {
6995
6995
  for (var t = arguments.length, n = new Array(t), a = 0; a < t; a++)
6996
6996
  n[a] = arguments[a];
6997
6997
  return function(l) {
@@ -7005,29 +7005,29 @@ function Wt(e, t) {
7005
7005
  t[n] instanceof Object && e[n] && Object.assign(t[n], Wt(e[n], t[n]));
7006
7006
  }), ft(ft({}, e), t);
7007
7007
  }
7008
- var ko = {
7008
+ var So = {
7009
7009
  type: "cancelation",
7010
7010
  msg: "operation is manually canceled"
7011
7011
  };
7012
7012
  function $e(e) {
7013
7013
  var t = !1, n = new Promise(function(a, l) {
7014
7014
  e.then(function(o) {
7015
- return t ? l(ko) : a(o);
7015
+ return t ? l(So) : a(o);
7016
7016
  }), e.catch(l);
7017
7017
  });
7018
7018
  return n.cancel = function() {
7019
7019
  return t = !0;
7020
7020
  }, n;
7021
7021
  }
7022
- var So = yo.create({
7023
- config: po,
7022
+ var Fo = po.create({
7023
+ config: vo,
7024
7024
  isInitialized: !1,
7025
7025
  resolve: null,
7026
7026
  reject: null,
7027
7027
  monaco: null
7028
- }), qt = Xl(So, 2), Fe = qt[0], Re = qt[1];
7029
- function Fo(e) {
7030
- var t = xo.config(e), n = t.monaco, a = Gl(t, ["monaco"]);
7028
+ }), qt = _l(Fo, 2), Fe = qt[0], Re = qt[1];
7029
+ function To(e) {
7030
+ var t = wo.config(e), n = t.monaco, a = Xl(t, ["monaco"]);
7031
7031
  Re(function(l) {
7032
7032
  return {
7033
7033
  config: Wt(l.config, a),
@@ -7035,7 +7035,7 @@ function Fo(e) {
7035
7035
  };
7036
7036
  });
7037
7037
  }
7038
- function To() {
7038
+ function Bo() {
7039
7039
  var e = Fe(function(t) {
7040
7040
  var n = t.monaco, a = t.isInitialized, l = t.resolve;
7041
7041
  return {
@@ -7051,30 +7051,30 @@ function To() {
7051
7051
  return e.resolve(e.monaco), $e(We);
7052
7052
  if (window.monaco && window.monaco.editor)
7053
7053
  return Yt(window.monaco), e.resolve(window.monaco), $e(We);
7054
- wo(Bo, Oo)(Eo);
7054
+ ko(Mo, Eo)(Do);
7055
7055
  }
7056
7056
  return $e(We);
7057
7057
  }
7058
- function Bo(e) {
7058
+ function Mo(e) {
7059
7059
  return document.body.appendChild(e);
7060
7060
  }
7061
- function Mo(e) {
7061
+ function Oo(e) {
7062
7062
  var t = document.createElement("script");
7063
7063
  return e && (t.src = e), t;
7064
7064
  }
7065
- function Oo(e) {
7065
+ function Eo(e) {
7066
7066
  var t = Fe(function(a) {
7067
7067
  var l = a.config, o = a.reject;
7068
7068
  return {
7069
7069
  config: l,
7070
7070
  reject: o
7071
7071
  };
7072
- }), n = Mo("".concat(t.config.paths.vs, "/loader.js"));
7072
+ }), n = Oo("".concat(t.config.paths.vs, "/loader.js"));
7073
7073
  return n.onload = function() {
7074
7074
  return e();
7075
7075
  }, n.onerror = t.reject, n;
7076
7076
  }
7077
- function Eo() {
7077
+ function Do() {
7078
7078
  var e = Fe(function(n) {
7079
7079
  var a = n.config, l = n.resolve, o = n.reject;
7080
7080
  return {
@@ -7106,11 +7106,11 @@ var We = new Promise(function(e, t) {
7106
7106
  reject: t
7107
7107
  });
7108
7108
  }), qe = {
7109
- config: Fo,
7110
- init: To,
7109
+ config: To,
7110
+ init: Bo,
7111
7111
  __getMonacoInstance: Io
7112
7112
  };
7113
- const Do = /* @__PURE__ */ q({
7113
+ const Po = /* @__PURE__ */ q({
7114
7114
  name: "expression-code",
7115
7115
  props: {
7116
7116
  modelValue: {
@@ -7239,20 +7239,20 @@ const Do = /* @__PURE__ */ q({
7239
7239
  ref: n
7240
7240
  }, null);
7241
7241
  }
7242
- }), Po = {
7242
+ }), No = {
7243
7243
  dataSource: {
7244
7244
  type: Object,
7245
7245
  default: {}
7246
7246
  }
7247
- }, No = {
7247
+ }, Vo = {
7248
7248
  data: { type: Array, default: [] },
7249
7249
  idField: { type: String, default: "id" },
7250
7250
  textField: { type: String, default: "name" },
7251
7251
  formatter: { type: Function },
7252
7252
  customRowStatus: { type: Object, default: null }
7253
- }, Vo = /* @__PURE__ */ q({
7253
+ }, Ro = /* @__PURE__ */ q({
7254
7254
  name: "FEntitiesTree",
7255
- props: No,
7255
+ props: Vo,
7256
7256
  emits: ["dblclickNode"],
7257
7257
  setup(e, t) {
7258
7258
  const n = m(e.data), a = m(), l = m();
@@ -7322,21 +7322,21 @@ const Do = /* @__PURE__ */ q({
7322
7322
  onExpandNode: C
7323
7323
  }, null)]);
7324
7324
  }
7325
- }), Ro = /* @__PURE__ */ q({
7325
+ }), jo = /* @__PURE__ */ q({
7326
7326
  name: "entity-variable",
7327
- props: Po,
7327
+ props: No,
7328
7328
  emits: ["variableItemDblClick", "entityItemDblClick", "fieldClick"],
7329
7329
  setup(e, t) {
7330
7330
  const n = m("dataEntity"), a = m(e.dataSource), {
7331
7331
  entities: l,
7332
7332
  variables: o
7333
- } = a.value, i = m(""), h = m((l == null ? void 0 : l.fields) || []), d = (M, D) => {
7333
+ } = a.value, i = m(""), h = m((l == null ? void 0 : l.fields) || []), d = (M, I) => {
7334
7334
  M.stopPropagation(), t.emit("fieldClick", {
7335
7335
  $event: M,
7336
- item: D.raw
7336
+ item: I.raw
7337
7337
  });
7338
- }, y = (M, D) => {
7339
- const R = `${D.raw.name} [${D.raw.bindingPath}]`;
7338
+ }, y = (M, I) => {
7339
+ const R = `${I.raw.name} [${I.raw.bindingPath}]`;
7340
7340
  return u("div", {
7341
7341
  class: "d-flex align-items-center w-100 entity-field",
7342
7342
  style: "justify-content: space-between;"
@@ -7347,7 +7347,7 @@ const Do = /* @__PURE__ */ q({
7347
7347
  title: "插入属性名称",
7348
7348
  class: "btn btn-link d-none",
7349
7349
  style: "width:24px;height:24px",
7350
- onClick: ($) => d($, D),
7350
+ onClick: ($) => d($, I),
7351
7351
  onDblclick: ($) => $.stopPropagation()
7352
7352
  }, [u("span", {
7353
7353
  class: "f-icon f-icon-new-edit",
@@ -7369,37 +7369,37 @@ const Do = /* @__PURE__ */ q({
7369
7369
  "f-icon f-icon-arrow-chevron-down": C.value[M],
7370
7370
  "f-icon f-icon-arrow-chevron-right": !C.value[M]
7371
7371
  })), g = B(() => (M) => {
7372
- var D;
7372
+ var I;
7373
7373
  return {
7374
7374
  "functions-item pl-2": !0,
7375
- selected: ((D = p.value) == null ? void 0 : D.key) === M.key
7375
+ selected: ((I = p.value) == null ? void 0 : I.key) === M.key
7376
7376
  };
7377
7377
  });
7378
- function s(M, D) {
7379
- M.stopPropagation(), C.value = C.value || {}, C.value[D] = !C.value[D];
7378
+ function s(M, I) {
7379
+ M.stopPropagation(), C.value = C.value || {}, C.value[I] = !C.value[I];
7380
7380
  }
7381
- function f(M, D) {
7382
- M.stopPropagation(), p.value = D;
7381
+ function f(M, I) {
7382
+ M.stopPropagation(), p.value = I;
7383
7383
  }
7384
- function k(M, D) {
7384
+ function k(M, I) {
7385
7385
  t.emit("variableItemDblClick", {
7386
7386
  $event: M,
7387
- item: D
7387
+ item: I
7388
7388
  });
7389
7389
  }
7390
7390
  function w({
7391
7391
  $event: M,
7392
- node: D
7392
+ node: I
7393
7393
  }) {
7394
7394
  t.emit("entityItemDblClick", {
7395
7395
  $event: M,
7396
- item: D.data,
7396
+ item: I.data,
7397
7397
  entityCode: l == null ? void 0 : l.entityCode,
7398
- parentCodes: D.data.parents.join(".")
7398
+ parentCodes: I.data.parents.join(".")
7399
7399
  });
7400
7400
  }
7401
7401
  function r() {
7402
- return u(Vo, {
7402
+ return u(Ro, {
7403
7403
  data: h.value,
7404
7404
  formatter: y,
7405
7405
  onDblclickNode: w
@@ -7414,26 +7414,26 @@ const Do = /* @__PURE__ */ q({
7414
7414
  class: S.value(M)
7415
7415
  }, [u("div", {
7416
7416
  class: "functions-type-name pl-2 d-flex align-items-center",
7417
- onClick: (D) => {
7418
- s(D, M);
7417
+ onClick: (I) => {
7418
+ s(I, M);
7419
7419
  }
7420
7420
  }, [u("span", {
7421
7421
  class: F.value(M)
7422
7422
  }, null), o[M].name]), u("ul", {
7423
7423
  class: "pl-3 mr-2"
7424
- }, [o[M].items.map((D) => u("li", {
7425
- class: g.value(D),
7426
- onClick: (R) => f(R, D),
7427
- onDblclick: (R) => k(R, D),
7428
- title: `${D.name} [${D.key}]`
7429
- }, [D.name]))])]))]);
7430
- }
7431
- function b(M, D) {
7432
- if (M.stopPropagation(), n.value === D) {
7424
+ }, [o[M].items.map((I) => u("li", {
7425
+ class: g.value(I),
7426
+ onClick: (R) => f(R, I),
7427
+ onDblclick: (R) => k(R, I),
7428
+ title: `${I.name} [${I.key}]`
7429
+ }, [I.name]))])]))]);
7430
+ }
7431
+ function b(M, I) {
7432
+ if (M.stopPropagation(), n.value === I) {
7433
7433
  n.value = "";
7434
7434
  return;
7435
7435
  }
7436
- n.value = D;
7436
+ n.value = I;
7437
7437
  }
7438
7438
  K(() => {
7439
7439
  if (o) {
@@ -7441,9 +7441,9 @@ const Do = /* @__PURE__ */ q({
7441
7441
  C.value[M] = !0;
7442
7442
  }
7443
7443
  });
7444
- function T(M, D) {
7445
- const R = M.children.map((L) => T(L, D)).filter((L) => L !== null);
7446
- return M.data.name.toLowerCase().includes(D.toLowerCase()) || M.data.bindingPath.toLowerCase().includes(D.toLowerCase()) ? {
7444
+ function T(M, I) {
7445
+ const R = M.children.map((L) => T(L, I)).filter((L) => L !== null);
7446
+ return M.data.name.toLowerCase().includes(I.toLowerCase()) || M.data.bindingPath.toLowerCase().includes(I.toLowerCase()) ? {
7447
7447
  data: {
7448
7448
  ...M.data
7449
7449
  },
@@ -7456,8 +7456,8 @@ const Do = /* @__PURE__ */ q({
7456
7456
  children: R
7457
7457
  } : null;
7458
7458
  }
7459
- function N(M, D) {
7460
- return M.map((R) => T(R, D)).filter((R) => R !== null);
7459
+ function N(M, I) {
7460
+ return M.map((R) => T(R, I)).filter((R) => R !== null);
7461
7461
  }
7462
7462
  function j() {
7463
7463
  const M = N((l == null ? void 0 : l.fields) || [], i.value);
@@ -7506,7 +7506,7 @@ const Do = /* @__PURE__ */ q({
7506
7506
  class: "data-area f-utils-fill"
7507
7507
  }, [c()])])])]);
7508
7508
  }
7509
- }), jo = {
7509
+ }), Lo = {
7510
7510
  functionItems: {
7511
7511
  type: Array,
7512
7512
  default: []
@@ -7515,9 +7515,9 @@ const Do = /* @__PURE__ */ q({
7515
7515
  type: Boolean,
7516
7516
  default: !0
7517
7517
  }
7518
- }, Lo = /* @__PURE__ */ q({
7518
+ }, Ao = /* @__PURE__ */ q({
7519
7519
  name: "FExpressionEditor",
7520
- props: jo,
7520
+ props: Lo,
7521
7521
  emits: ["insertFunction", "search"],
7522
7522
  setup(e, t) {
7523
7523
  const n = m(), a = m(""), l = m(), o = m({}), i = m(""), h = "没有与搜索条件匹配的项", d = m(e.functionItems), y = B(() => (r) => e.singleExpand ? {
@@ -7664,7 +7664,7 @@ const Do = /* @__PURE__ */ q({
7664
7664
  })]);
7665
7665
  }
7666
7666
  });
7667
- function Ao(e) {
7667
+ function Ho(e) {
7668
7668
  async function t() {
7669
7669
  return fetch(e.esprimaPath).then((i) => i.json());
7670
7670
  }
@@ -7715,8 +7715,8 @@ function Ao(e) {
7715
7715
  runWithEsprima: o
7716
7716
  };
7717
7717
  }
7718
- function Ho(e, t, n) {
7719
- const a = m(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: i } = Ao(e);
7718
+ function zo(e, t, n) {
7719
+ const a = m(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: i } = Ho(e);
7720
7720
  function h() {
7721
7721
  const g = ve(t);
7722
7722
  if (a.value) {
@@ -7834,7 +7834,7 @@ function Ho(e, t, n) {
7834
7834
  getExpressionTextValue: F
7835
7835
  };
7836
7836
  }
7837
- function zo(e, t) {
7837
+ function $o(e, t) {
7838
7838
  const n = m([]), a = ve(t.value), l = Object.values(a).map((h) => h.items).flat();
7839
7839
  function o(h) {
7840
7840
  const d = ve(a);
@@ -7857,9 +7857,9 @@ function zo(e, t) {
7857
7857
  onFunctionSearch: i
7858
7858
  };
7859
7859
  }
7860
- const $o = /* @__PURE__ */ q({
7860
+ const Wo = /* @__PURE__ */ q({
7861
7861
  name: "FExpressionEditor",
7862
- props: sl,
7862
+ props: rl,
7863
7863
  emits: [],
7864
7864
  setup(e, t) {
7865
7865
  var V;
@@ -7879,48 +7879,48 @@ const $o = /* @__PURE__ */ q({
7879
7879
  getFieldExpression: p,
7880
7880
  getExpressionCodeValue: v,
7881
7881
  getExpressionTextValue: x
7882
- } = Ho(e, ql, e.variables), S = m(C()), {
7882
+ } = zo(e, Yl, e.variables), S = m(C()), {
7883
7883
  onFunctionSearch: F
7884
- } = zo(e, S);
7884
+ } = $o(e, S);
7885
7885
  function g({
7886
7886
  $event: P,
7887
7887
  item: M
7888
7888
  }) {
7889
7889
  var R;
7890
- const D = d(M);
7891
- (R = i.value) == null || R.insertText(D);
7890
+ const I = d(M);
7891
+ (R = i.value) == null || R.insertText(I);
7892
7892
  }
7893
7893
  function s({
7894
7894
  $event: P,
7895
7895
  item: M
7896
7896
  }) {
7897
7897
  var R;
7898
- const D = y(M);
7899
- (R = i.value) == null || R.insertText(D);
7898
+ const I = y(M);
7899
+ (R = i.value) == null || R.insertText(I);
7900
7900
  }
7901
7901
  function f(P) {
7902
- return P.reduce((M, D) => {
7902
+ return P.reduce((M, I) => {
7903
7903
  var R;
7904
- return M.push(D.data), (R = D.children) != null && R.length && M.push(...f(D.children)), M;
7904
+ return M.push(I.data), (R = I.children) != null && R.length && M.push(...f(I.children)), M;
7905
7905
  }, []);
7906
7906
  }
7907
7907
  const k = f(((V = e == null ? void 0 : e.entities) == null ? void 0 : V.fields) || []);
7908
7908
  function w(P) {
7909
7909
  return P.map((M) => {
7910
- const D = k.find((R) => R.bindingPath === M);
7911
- return D && D.type === "entity" ? `${M}[0]` : M;
7910
+ const I = k.find((R) => R.bindingPath === M);
7911
+ return I && I.type === "entity" ? `${M}[0]` : M;
7912
7912
  }).join(".");
7913
7913
  }
7914
7914
  function r({
7915
7915
  $event: P,
7916
7916
  item: M,
7917
- parentCodes: D,
7917
+ parentCodes: I,
7918
7918
  entityCode: R
7919
7919
  }) {
7920
7920
  var O;
7921
7921
  const $ = p(M);
7922
- D = e.isServerSide ? w(M.parents) : D;
7923
- let L = `${D}.${$}`;
7922
+ I = e.isServerSide ? w(M.parents) : I;
7923
+ let L = `${I}.${$}`;
7924
7924
  R === $ && (L = $), (O = i.value) == null || O.insertText(`${L}`);
7925
7925
  }
7926
7926
  function c({
@@ -7928,8 +7928,8 @@ const $o = /* @__PURE__ */ q({
7928
7928
  item: M
7929
7929
  }) {
7930
7930
  var R;
7931
- const D = p(M);
7932
- (R = i.value) == null || R.insertText(`${D}`);
7931
+ const I = p(M);
7932
+ (R = i.value) == null || R.insertText(`${I}`);
7933
7933
  }
7934
7934
  function b() {
7935
7935
  var P;
@@ -7969,7 +7969,7 @@ const $o = /* @__PURE__ */ q({
7969
7969
  width: 248,
7970
7970
  minWidth: 130
7971
7971
  }, {
7972
- default: () => [u(Lo, {
7972
+ default: () => [u(Ao, {
7973
7973
  functionItems: S.value,
7974
7974
  singleExpand: e.singleExpand,
7975
7975
  onInsertFunction: g,
@@ -7982,7 +7982,7 @@ const $o = /* @__PURE__ */ q({
7982
7982
  }, {
7983
7983
  default: () => [u("div", {
7984
7984
  class: "f-utils-fill my-2 ml-1"
7985
- }, [u(Do, {
7985
+ }, [u(Po, {
7986
7986
  modelValue: N.value,
7987
7987
  "onUpdate:modelValue": (P) => N.value = P,
7988
7988
  ref: i
@@ -8012,7 +8012,7 @@ const $o = /* @__PURE__ */ q({
8012
8012
  width: 258,
8013
8013
  minWidth: 130
8014
8014
  }, {
8015
- default: () => [u(Ro, {
8015
+ default: () => [u(jo, {
8016
8016
  dataSource: {
8017
8017
  entities: e.entities,
8018
8018
  variables: e.variables
@@ -8024,7 +8024,7 @@ const $o = /* @__PURE__ */ q({
8024
8024
  })]
8025
8025
  })]);
8026
8026
  }
8027
- }), Wo = "https://json-schema.org/draft/2020-12/schema", qo = "https://farris-design.gitee.io/expression-editor.schema.json", Yo = "expression-editor", Uo = "A Farris Expression Editor Component", Go = "object", Xo = {
8027
+ }), qo = "https://json-schema.org/draft/2020-12/schema", Yo = "https://farris-design.gitee.io/expression-editor.schema.json", Uo = "expression-editor", Go = "A Farris Expression Editor Component", Xo = "object", _o = {
8028
8028
  id: {
8029
8029
  description: "The unique identifier for a Expression Editor",
8030
8030
  type: "string"
@@ -8121,17 +8121,17 @@ const $o = /* @__PURE__ */ q({
8121
8121
  type: "boolean",
8122
8122
  default: !0
8123
8123
  }
8124
- }, _o = [
8124
+ }, Ko = [
8125
8125
  "id",
8126
8126
  "type"
8127
- ], Ko = {
8128
- $schema: Wo,
8129
- $id: qo,
8130
- title: Yo,
8131
- description: Uo,
8132
- type: Go,
8133
- properties: Xo,
8134
- required: _o
8127
+ ], Jo = {
8128
+ $schema: qo,
8129
+ $id: Yo,
8130
+ title: Uo,
8131
+ description: Go,
8132
+ type: Xo,
8133
+ properties: _o,
8134
+ required: Ko
8135
8135
  }, Ut = {
8136
8136
  disabled: {
8137
8137
  type: Boolean,
@@ -8230,8 +8230,8 @@ const $o = /* @__PURE__ */ q({
8230
8230
  default: !1
8231
8231
  }
8232
8232
  };
8233
- me(Ut, Ko);
8234
- const Jo = {
8233
+ me(Ut, Jo);
8234
+ const Zo = {
8235
8235
  showCloseButton: { type: Boolean, default: !0 },
8236
8236
  position: { type: String, default: "top-center" },
8237
8237
  timeout: { type: Number, default: 3e3 },
@@ -8244,13 +8244,13 @@ const Jo = {
8244
8244
  animate: { type: String, default: "fadeIn" },
8245
8245
  options: { type: Object },
8246
8246
  safeHtml: { type: Boolean, default: !0 }
8247
- }, Zo = {
8247
+ }, Qo = {
8248
8248
  showCloseButton: { type: Boolean, default: !0 },
8249
8249
  animate: { type: String, default: "fadeIn" },
8250
8250
  options: { type: Object }
8251
8251
  }, Ue = /* @__PURE__ */ q({
8252
8252
  name: "Toast",
8253
- props: Zo,
8253
+ props: Qo,
8254
8254
  emits: ["close", "click"],
8255
8255
  setup: (e, t) => {
8256
8256
  const n = m(e.animate), a = "fadeOut", l = B(() => e.options), o = m(!1), i = B(() => l.value.title && l.value.message), h = B(() => !l.value.title && l.value.message), d = B(() => {
@@ -8331,7 +8331,7 @@ const Jo = {
8331
8331
  }
8332
8332
  }), Oe = /* @__PURE__ */ q({
8333
8333
  name: "Notify",
8334
- props: Jo,
8334
+ props: Zo,
8335
8335
  emits: ["close", "empty"],
8336
8336
  setup(e, t) {
8337
8337
  var F;
@@ -8384,7 +8384,7 @@ const Jo = {
8384
8384
  };
8385
8385
  }
8386
8386
  });
8387
- class Qo {
8387
+ class ei {
8388
8388
  constructor() {
8389
8389
  te(this, "notifyRefs", []);
8390
8390
  te(this, "globalConfig", J({}));
@@ -8430,7 +8430,7 @@ class Qo {
8430
8430
  name: "fade",
8431
8431
  appear: !0
8432
8432
  }, {
8433
- default: () => [u(Oe, de({
8433
+ default: () => [u(Oe, re({
8434
8434
  ref: h
8435
8435
  }, l, {
8436
8436
  onClose: d
@@ -8506,10 +8506,10 @@ class Qo {
8506
8506
  const at = Symbol("NOTIFY_SERVICE_TOKEN");
8507
8507
  Oe.install = (e) => {
8508
8508
  e.component(Oe.name, Oe), e.component(Ue.name, Ue);
8509
- const t = new Qo();
8509
+ const t = new ei();
8510
8510
  e.provide(at, t), e.provide("FNotifyService", t);
8511
8511
  };
8512
- const ei = /* @__PURE__ */ q({
8512
+ const ti = /* @__PURE__ */ q({
8513
8513
  name: "f-expression-textbox",
8514
8514
  props: Ut,
8515
8515
  setup(e, t) {
@@ -8626,7 +8626,7 @@ const ei = /* @__PURE__ */ q({
8626
8626
  }, {
8627
8627
  default: () => [u("div", {
8628
8628
  class: "h-100 d-flex flex-column"
8629
- }, [u($o, {
8629
+ }, [u(Wo, {
8630
8630
  ref: d,
8631
8631
  validateMessage: y.value,
8632
8632
  showMessageType: e.showMessageType,
@@ -8646,7 +8646,7 @@ const ei = /* @__PURE__ */ q({
8646
8646
  }
8647
8647
  });
8648
8648
  var Gt = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(Gt || {}), pe = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(pe || {}), ae = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e[e.Variable = 2] = "Variable", e))(ae || {});
8649
- const ti = (e) => ((e.raw.$type !== "SimpleField" || e.raw.selectable === !1) && (e.disabled = !0), e);
8649
+ const ni = (e) => ((e.raw.$type !== "SimpleField" || e.raw.selectable === !1) && (e.disabled = !0), e);
8650
8650
  function Xt(e) {
8651
8651
  const t = [
8652
8652
  { value: "", label: " " },
@@ -8692,9 +8692,9 @@ function Xt(e) {
8692
8692
  ]
8693
8693
  };
8694
8694
  }
8695
- const ni = /* @__PURE__ */ new Map([
8695
+ const ai = /* @__PURE__ */ new Map([
8696
8696
  ["appearance", Ke]
8697
- ]), ai = "https://json-schema.org/draft/2020-12/schema", li = "https://farris-design.gitee.io/combo-list.schema.json", oi = "combo-tree", ii = "A Farris Input Component", si = "object", ri = {
8697
+ ]), li = "https://json-schema.org/draft/2020-12/schema", oi = "https://farris-design.gitee.io/combo-list.schema.json", ii = "combo-tree", si = "A Farris Input Component", ri = "object", ui = {
8698
8698
  id: {
8699
8699
  description: "The unique identifier for a combo list",
8700
8700
  type: "string"
@@ -8852,19 +8852,19 @@ const ni = /* @__PURE__ */ new Map([
8852
8852
  type: "boolean",
8853
8853
  default: !0
8854
8854
  }
8855
- }, ui = [
8855
+ }, ci = [
8856
8856
  "id",
8857
8857
  "type"
8858
- ], ci = {
8859
- $schema: ai,
8860
- $id: li,
8861
- title: oi,
8862
- description: ii,
8863
- type: si,
8864
- properties: ri,
8865
- required: ui
8858
+ ], di = {
8859
+ $schema: li,
8860
+ $id: oi,
8861
+ title: ii,
8862
+ description: si,
8863
+ type: ri,
8864
+ properties: ui,
8865
+ required: ci
8866
8866
  };
8867
- function di(e, t, n) {
8867
+ function fi(e, t, n) {
8868
8868
  return t;
8869
8869
  }
8870
8870
  const _t = {
@@ -9037,7 +9037,7 @@ const _t = {
9037
9037
  * 查询字段集合
9038
9038
  */
9039
9039
  searchFields: { type: Array, default: ["name"] }
9040
- }, fi = me(_t, ci, ni, di), mi = {
9040
+ }, mi = me(_t, di, ai, fi), yi = {
9041
9041
  data: { type: Array, default: [] },
9042
9042
  enableSearch: { type: Boolean, default: !1 },
9043
9043
  idField: { type: String, default: "id" },
@@ -9056,9 +9056,9 @@ const _t = {
9056
9056
  customRowStatus: { type: Object, default: null },
9057
9057
  searchHandler: { type: Function, default: () => {
9058
9058
  } }
9059
- }, yi = /* @__PURE__ */ q({
9059
+ }, pi = /* @__PURE__ */ q({
9060
9060
  name: "FComboTreeContainer",
9061
- props: mi,
9061
+ props: yi,
9062
9062
  emits: ["selectionChange", "selectItem", "unSelectItem", "expandNode"],
9063
9063
  setup(e, t) {
9064
9064
  const n = m(e.data), a = m([]), l = m(e.separator), o = m(e.width), i = m(e.height), h = m(e.maxHeight), d = m(String(e.selectedValues).split(l.value)), y = m(), C = {
@@ -9108,7 +9108,7 @@ const _t = {
9108
9108
  class: "p-2",
9109
9109
  style: "position: sticky;top:0;z-index: 2; background:white",
9110
9110
  onMousedown: (s) => s.stopPropagation()
9111
- }, [u(_n, {
9111
+ }, [u(Kn, {
9112
9112
  buttonContent: '<i class="f-icon f-icon-search"></i>',
9113
9113
  enableClear: !0,
9114
9114
  placeholder: "请输入搜索内容",
@@ -9141,7 +9141,7 @@ const _t = {
9141
9141
  }, null)]);
9142
9142
  }
9143
9143
  });
9144
- function pi(e) {
9144
+ function vi(e) {
9145
9145
  const t = m(""), n = m(e.modelValue), a = m(e.data || []), l = m(e.editable);
9146
9146
  function o(p, v = []) {
9147
9147
  return p = p || [], p.reduce((x, S) => (S.id = S.id || S.data[e.idField], x.push(S), S.children && S.children.length && o(S.children, x), x), v);
@@ -9185,7 +9185,7 @@ function pi(e) {
9185
9185
  p !== v && (n.value = p, h(p));
9186
9186
  }), h(e.modelValue), { dataSource: a, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: d, getItemsByValue: i, getSelectedItemsByDisplayText: C, flatTreeNodes: o };
9187
9187
  }
9188
- function vi(e, t) {
9188
+ function hi(e, t) {
9189
9189
  const { comboEditorRef: n, dataSource: a, searchFields: l, originalValue: o, showPopover: i, flatTreeNodes: h, comboTreeRef: d } = e;
9190
9190
  let y = !1, C = null;
9191
9191
  function p(r, c) {
@@ -9266,7 +9266,7 @@ function vi(e, t) {
9266
9266
  setupCompositionEvents: w
9267
9267
  };
9268
9268
  }
9269
- const De = /* @__PURE__ */ q({
9269
+ const Ie = /* @__PURE__ */ q({
9270
9270
  name: "FComboTree",
9271
9271
  props: _t,
9272
9272
  emits: ["clear", "update:modelValue", "change", "search", "expandNode"],
@@ -9279,16 +9279,16 @@ const De = /* @__PURE__ */ q({
9279
9279
  editable: S,
9280
9280
  modelValue: F,
9281
9281
  flatTreeNodes: g
9282
- } = pi(e), s = B(() => e.multiSelect);
9282
+ } = vi(e), s = B(() => e.multiSelect);
9283
9283
  B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
9284
9284
  const f = B(() => {
9285
9285
  var R;
9286
- const D = (R = n.value) == null ? void 0 : R.popoverRef;
9287
- return D ? D.shown : !1;
9286
+ const I = (R = n.value) == null ? void 0 : R.popoverRef;
9287
+ return I ? I.shown : !1;
9288
9288
  }), {
9289
9289
  onValueChange: k,
9290
9290
  resetDataSource: w
9291
- } = vi({
9291
+ } = hi({
9292
9292
  comboEditorRef: n,
9293
9293
  dataSource: v,
9294
9294
  searchFields: h,
@@ -9300,49 +9300,49 @@ const De = /* @__PURE__ */ q({
9300
9300
  function r() {
9301
9301
  !s.value && n.value && C.value && n.value.hidePopup();
9302
9302
  }
9303
- const c = (D) => {
9304
- const R = D == null ? void 0 : D.map(($) => $.data || $);
9303
+ const c = (I) => {
9304
+ const R = I == null ? void 0 : I.map(($) => $.data || $);
9305
9305
  return e.displayFormatter ? e.displayFormatter(R) : R.map(($) => $[e.textField]).join(e.separator);
9306
9306
  };
9307
- function b(D = []) {
9307
+ function b(I = []) {
9308
9308
  if (!s.value)
9309
- x.value = c(D), F.value = D.map((R) => R.data ? R.data[e.valueField] : R[e.valueField]).join(e.separator), t.emit("update:modelValue", F.value), t.emit("change", D, F.value);
9309
+ x.value = c(I), F.value = I.map((R) => R.data ? R.data[e.valueField] : R[e.valueField]).join(e.separator), t.emit("update:modelValue", F.value), t.emit("change", I, F.value);
9310
9310
  else {
9311
9311
  const R = Object.keys(p), $ = Object.values(p);
9312
9312
  x.value = c($), F.value = R.join(e.separator), t.emit("update:modelValue", F.value), t.emit("change", $, F.value);
9313
9313
  }
9314
9314
  r();
9315
9315
  }
9316
- function T(D) {
9316
+ function T(I) {
9317
9317
  var R;
9318
9318
  F.value = "", p = {}, f.value && ((R = n.value) == null || R.hidePopup()), t.emit("update:modelValue", ""), t.emit("change", null, F.value), t.emit("clear");
9319
9319
  }
9320
- function N(D) {
9321
- s.value && (delete p[D.id], b());
9320
+ function N(I) {
9321
+ s.value && (delete p[I.id], b());
9322
9322
  }
9323
- function j(D) {
9324
- s.value && (p[D.id] = D, b());
9323
+ function j(I) {
9324
+ s.value && (p[I.id] = I, b());
9325
9325
  }
9326
- z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([D, R, $, L, O]) => {
9327
- a.value = D, S.value = R, l.value = $, o.value = L, i.value = O;
9326
+ z([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([I, R, $, L, O]) => {
9327
+ a.value = I, S.value = R, l.value = $, o.value = L, i.value = O;
9328
9328
  });
9329
9329
  const V = () => {
9330
9330
  if (d.value = ve(v.value), s.value && F.value) {
9331
- const D = [];
9332
- g(v.value, D), F.value.split(e.separator).reduce((R, $) => (R[$] = D.find((L) => L.id === $), R), p);
9331
+ const I = [];
9332
+ g(v.value, I), F.value.split(e.separator).reduce((R, $) => (R[$] = I.find((L) => L.id === $), R), p);
9333
9333
  }
9334
9334
  };
9335
9335
  function P() {
9336
9336
  C.value = !1, w(), setTimeout(() => {
9337
- var D;
9338
- (D = y.value) == null || D.checkItems(F.value.split(e.separator)), C.value = !0;
9337
+ var I;
9338
+ (I = y.value) == null || I.checkItems(F.value.split(e.separator)), C.value = !0;
9339
9339
  }, 10);
9340
9340
  }
9341
- function M(D) {
9341
+ function M(I) {
9342
9342
  const {
9343
9343
  node: R,
9344
9344
  treeRef: $
9345
- } = D, {
9345
+ } = I, {
9346
9346
  data: L
9347
9347
  } = R.raw, O = R.raw;
9348
9348
  t.emit("expandNode", {
@@ -9367,7 +9367,7 @@ const De = /* @__PURE__ */ q({
9367
9367
  inputType: e.viewType,
9368
9368
  popupOnClick: !0,
9369
9369
  modelValue: x.value,
9370
- "onUpdate:modelValue": (D) => x.value = D,
9370
+ "onUpdate:modelValue": (I) => x.value = I,
9371
9371
  onClear: T,
9372
9372
  onInput: k,
9373
9373
  focusOnCreated: e.focusOnCreated,
@@ -9376,7 +9376,7 @@ const De = /* @__PURE__ */ q({
9376
9376
  placement: e.placement,
9377
9377
  popupMinWidth: e.minPanelWidth
9378
9378
  }, {
9379
- default: () => [f.value && u(yi, {
9379
+ default: () => [f.value && u(pi, {
9380
9380
  ref: y,
9381
9381
  maxHeight: e.maxHeight,
9382
9382
  multiSelect: e.multiSelect,
@@ -9401,13 +9401,13 @@ const De = /* @__PURE__ */ q({
9401
9401
  });
9402
9402
  }
9403
9403
  });
9404
- De.register = (e, t, n, a) => {
9405
- e["combo-tree"] = De, t["combo-tree"] = fi;
9404
+ Ie.register = (e, t, n, a) => {
9405
+ e["combo-tree"] = Ie, t["combo-tree"] = mi;
9406
9406
  };
9407
- Je(De);
9407
+ Je(Ie);
9408
9408
  function Kt(e) {
9409
9409
  function t(n, a, l = "filterField") {
9410
- return u(De, {
9410
+ return u(Ie, {
9411
9411
  formatter: e.formatter,
9412
9412
  modelValue: n[l],
9413
9413
  "onUpdate:modelValue": (o) => n[l] = o,
@@ -9417,7 +9417,7 @@ function Kt(e) {
9417
9417
  idField: e.idField || "id",
9418
9418
  enableClear: !1,
9419
9419
  minPanelWidth: 220,
9420
- customRowStatus: ti,
9420
+ customRowStatus: ni,
9421
9421
  enableSearch: e.enableSearch,
9422
9422
  searchFields: [e.textField || "name", e.valueField || "path"]
9423
9423
  }, null);
@@ -9465,9 +9465,9 @@ function Jt(e, t, n) {
9465
9465
  onRowClick: p
9466
9466
  };
9467
9467
  }
9468
- const hi = /* @__PURE__ */ q({
9468
+ const gi = /* @__PURE__ */ q({
9469
9469
  name: "filter-condition-grid",
9470
- props: It,
9470
+ props: Dt,
9471
9471
  emits: ["insert", "remove", "rowClick"],
9472
9472
  setup(e, t) {
9473
9473
  const {
@@ -9491,7 +9491,7 @@ const hi = /* @__PURE__ */ q({
9491
9491
  var r, c;
9492
9492
  switch (w.expresstype) {
9493
9493
  case ae.Variable:
9494
- return u(Xn, {
9494
+ return u(_n, {
9495
9495
  modelValue: w.value,
9496
9496
  "onUpdate:modelValue": (b) => w.value = b,
9497
9497
  showOutline: !1,
@@ -9499,7 +9499,7 @@ const hi = /* @__PURE__ */ q({
9499
9499
  varData: (c = e.formContextData) == null ? void 0 : c.varData
9500
9500
  }, null);
9501
9501
  case ae.Expression:
9502
- return u(ei, de({
9502
+ return u(ti, re({
9503
9503
  modelValue: w.value,
9504
9504
  "onUpdate:modelValue": (b) => w.value = b
9505
9505
  }, s.value), null);
@@ -9593,7 +9593,7 @@ const hi = /* @__PURE__ */ q({
9593
9593
  class: "px-1"
9594
9594
  }, [k(w, o, "relation")])]))])])]);
9595
9595
  }
9596
- }), gi = {
9596
+ }), bi = {
9597
9597
  width: { Type: Number, default: 400 },
9598
9598
  /**
9599
9599
  * 类型
@@ -9638,12 +9638,12 @@ const hi = /* @__PURE__ */ q({
9638
9638
  function lt() {
9639
9639
  return new DOMException("The request is not allowed", "NotAllowedError");
9640
9640
  }
9641
- async function bi(e) {
9641
+ async function Ci(e) {
9642
9642
  if (!navigator.clipboard)
9643
9643
  throw lt();
9644
9644
  return navigator.clipboard.writeText(e);
9645
9645
  }
9646
- async function Ci(e) {
9646
+ async function xi(e) {
9647
9647
  const t = document.createElement("span");
9648
9648
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
9649
9649
  const n = window.getSelection(), a = window.document.createRange();
@@ -9657,24 +9657,24 @@ async function Ci(e) {
9657
9657
  if (!l)
9658
9658
  throw lt();
9659
9659
  }
9660
- async function xi(e) {
9660
+ async function wi(e) {
9661
9661
  try {
9662
- await bi(e);
9662
+ await Ci(e);
9663
9663
  } catch (t) {
9664
9664
  try {
9665
- await Ci(e);
9665
+ await xi(e);
9666
9666
  } catch (n) {
9667
9667
  throw n || t || lt();
9668
9668
  }
9669
9669
  }
9670
9670
  }
9671
- function wi() {
9671
+ function ki() {
9672
9672
  async function e(t) {
9673
- await xi(t);
9673
+ await wi(t);
9674
9674
  }
9675
9675
  return { onCopy: e };
9676
9676
  }
9677
- function ki(e, t, n, a) {
9677
+ function Si(e, t, n, a) {
9678
9678
  const l = m(14), o = m(140), i = m(""), h = m(a.value.length), d = B(() => a.value), y = B(() => ({
9679
9679
  "font-size": `${l.value}px`,
9680
9680
  height: "100%"
@@ -9699,14 +9699,14 @@ function ki(e, t, n, a) {
9699
9699
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
9700
9700
  }, [h.value + " / " + o.value])]);
9701
9701
  }
9702
- function Si(e, t, n, a) {
9703
- const l = ki(e, t, n, a), o = /* @__PURE__ */ new Map([["text-area", l]]);
9702
+ function Fi(e, t, n, a) {
9703
+ const l = Si(e, t, n, a), o = /* @__PURE__ */ new Map([["text-area", l]]);
9704
9704
  function i(h) {
9705
9705
  return o.get(h) || null;
9706
9706
  }
9707
9707
  return { getEditorRender: i };
9708
9708
  }
9709
- function Fi() {
9709
+ function Ti() {
9710
9710
  const e = m(!1), t = m("复制成功");
9711
9711
  return {
9712
9712
  feedbackStyle: B(() => {
@@ -9733,11 +9733,11 @@ function Fi() {
9733
9733
  toShowFeedback: e
9734
9734
  };
9735
9735
  }
9736
- function Ti(e, t) {
9736
+ function Bi(e, t) {
9737
9737
  const n = t.getEditorRender(e.promptEditorType);
9738
9738
  return () => n && n();
9739
9739
  }
9740
- function Bi(e, t) {
9740
+ function Mi(e, t) {
9741
9741
  function n(x) {
9742
9742
  if (x == null)
9743
9743
  return 0;
@@ -9790,14 +9790,14 @@ function Bi(e, t) {
9790
9790
  onClick: v
9791
9791
  }, [y.value])])])]);
9792
9792
  }
9793
- function Mi(e) {
9793
+ function Oi(e) {
9794
9794
  return () => u("p", {
9795
9795
  class: "toast-msg-detail",
9796
9796
  innerHTML: e.value,
9797
9797
  style: "max-height: calc(100vh - 200px);overflow: auto;"
9798
9798
  }, null);
9799
9799
  }
9800
- function Oi(e, t, n, a, l) {
9800
+ function Ei(e, t, n, a, l) {
9801
9801
  const o = m(e.exceptionInfo), i = B(() => {
9802
9802
  const S = t.value === "question" ? "warning" : t.value, F = {
9803
9803
  "f-icon": !0
@@ -9805,7 +9805,7 @@ function Oi(e, t, n, a, l) {
9805
9805
  return F[g] = !0, F;
9806
9806
  }), h = B(() => n.value || o.value && o.value.message), d = B(() => a.value), y = B(() => !!a.value), C = B(() => !!o.value);
9807
9807
  function p() {
9808
- return C.value ? Bi(o, l) : y.value ? Mi(d) : () => null;
9808
+ return C.value ? Mi(o, l) : y.value ? Oi(d) : () => null;
9809
9809
  }
9810
9810
  const v = p(), x = B(() => l.locale === "en" ? {
9811
9811
  wordBreak: "keep-all",
@@ -9823,7 +9823,7 @@ function Oi(e, t, n, a, l) {
9823
9823
  style: x.value
9824
9824
  }, null), v()])]);
9825
9825
  }
9826
- function Ei(e, t, n, a) {
9826
+ function Di(e, t, n, a) {
9827
9827
  const {
9828
9828
  onCopy: l
9829
9829
  } = t, {
@@ -9850,7 +9850,7 @@ function Ei(e, t, n, a) {
9850
9850
  }, [h.value])]);
9851
9851
  }
9852
9852
  function Ii(e, t, n, a, l) {
9853
- const o = m(e.type), i = m(e.buttons), h = m(e.exceptionInfo), d = m(l.ok || e.okButtonText), y = m(l.cancel || e.cancelButtonText), C = m(e.showCancelButton), p = m(e.showOkButton), v = m(l.neverShowAgain), x = m(!1), S = B(() => !!(i.value && i.value.length)), F = B(() => !!(h.value && h.value.detail)), g = B(() => !(i.value && i.value.length) && (p.value || C.value)), s = Ei(e, n, a, l);
9853
+ const o = m(e.type), i = m(e.buttons), h = m(e.exceptionInfo), d = m(l.ok || e.okButtonText), y = m(l.cancel || e.cancelButtonText), C = m(e.showCancelButton), p = m(e.showOkButton), v = m(l.neverShowAgain), x = m(!1), S = B(() => !!(i.value && i.value.length)), F = B(() => !!(h.value && h.value.detail)), g = B(() => !(i.value && i.value.length) && (p.value || C.value)), s = Di(e, n, a, l);
9854
9854
  d.value === "关闭" ? d.value = l.close : d.value === "知道了" && (d.value = l.exception.roger);
9855
9855
  function f(r) {
9856
9856
  o.value === "question" && t.emit("reject"), t.emit("close");
@@ -9895,7 +9895,7 @@ function Ii(e, t, n, a, l) {
9895
9895
  class: r.iconClass
9896
9896
  }, null), r.text]))]);
9897
9897
  }
9898
- function Di(e) {
9898
+ function Pi(e) {
9899
9899
  const { getLocaleValue: t } = ee, n = ee.getLocale();
9900
9900
  function a(l, o, i) {
9901
9901
  return o === i ? t(l) : o;
@@ -9924,10 +9924,10 @@ function Di(e) {
9924
9924
  }
9925
9925
  const Ee = /* @__PURE__ */ q({
9926
9926
  name: "FMessageBox",
9927
- props: gi,
9927
+ props: bi,
9928
9928
  emits: ["accept", "reject", "close", "neverShowAgain"],
9929
9929
  setup(e, t) {
9930
- const n = Di(e), a = m(e.type), l = m(e.title), o = m(e.detail), i = B(() => {
9930
+ const n = Pi(e), a = m(e.type), l = m(e.title), o = m(e.detail), i = B(() => {
9931
9931
  const s = {
9932
9932
  "modal-tips": !0,
9933
9933
  "d-flex": !0,
@@ -9939,7 +9939,7 @@ const Ee = /* @__PURE__ */ q({
9939
9939
  cursor: "default"
9940
9940
  };
9941
9941
  return a.value === "prompt" ? s.padding = "0.5rem 0.5rem 1rem 1.5rem" : a.value === "error" && (s.padding = "0.5rem 1.5rem 1rem 1.5rem"), s;
9942
- }), d = wi(), y = Si(e, a, l, o), C = Fi(), {
9942
+ }), d = ki(), y = Fi(e, a, l, o), C = Ti(), {
9943
9943
  feedbackStyle: p,
9944
9944
  feedbackMessage: v
9945
9945
  } = C;
@@ -9952,9 +9952,9 @@ const Ee = /* @__PURE__ */ q({
9952
9952
  function S() {
9953
9953
  switch (a.value) {
9954
9954
  case "prompt":
9955
- return Ti(e, y);
9955
+ return Bi(e, y);
9956
9956
  default:
9957
- return Oi(e, a, l, o, n);
9957
+ return Ei(e, a, l, o, n);
9958
9958
  }
9959
9959
  }
9960
9960
  const F = S(), g = Ii(e, t, d, C, n);
@@ -9985,7 +9985,7 @@ const Ee = /* @__PURE__ */ q({
9985
9985
  });
9986
9986
  const o = !1, i = l.type === "error" || l.type === "prompt", h = l.type === "error" ? "错误提示" : l.type === "prompt" && l.title || "", d = l.acceptCallback || (() => {
9987
9987
  }), y = l.rejectCallback || (() => {
9988
- }), C = In();
9988
+ }), C = Dn();
9989
9989
  let p = null;
9990
9990
  if (C && C.appContext) {
9991
9991
  const {
@@ -10008,7 +10008,7 @@ const Ee = /* @__PURE__ */ q({
10008
10008
  showMaxButton: !1,
10009
10009
  draggable: !0,
10010
10010
  dragHandle: ".messager-draggable",
10011
- render: () => u(Ee, de(l, {
10011
+ render: () => u(Ee, re(l, {
10012
10012
  onAccept: d,
10013
10013
  onReject: y,
10014
10014
  onClose: S,
@@ -10101,7 +10101,7 @@ let he = Q;
10101
10101
  Ee.install = (e) => {
10102
10102
  e.component(Ee.name, Ee), he.app = e, e.provide("FMessageBoxService", he);
10103
10103
  };
10104
- const Pi = /* @__PURE__ */ q({
10104
+ const Ni = /* @__PURE__ */ q({
10105
10105
  name: "filter-condition-actions",
10106
10106
  props: ["canClear", "canMove", "questionMessage"],
10107
10107
  emits: ["add", "clear", "moveTop", "movePrev", "moveNext", "moveBottom"],
@@ -10183,9 +10183,9 @@ const Pi = /* @__PURE__ */ q({
10183
10183
  style: a
10184
10184
  }, null), U("置底")])]);
10185
10185
  }
10186
- }), Ni = /* @__PURE__ */ q({
10186
+ }), Vi = /* @__PURE__ */ q({
10187
10187
  name: "sort-editor-grid",
10188
- props: It,
10188
+ props: Dt,
10189
10189
  emits: ["insert", "remove", "rowClick"],
10190
10190
  setup(e, t) {
10191
10191
  const {
@@ -10258,7 +10258,7 @@ const Pi = /* @__PURE__ */ q({
10258
10258
  }, null)])]))])])]);
10259
10259
  }
10260
10260
  });
10261
- function Vi(e, t) {
10261
+ function Ri(e, t) {
10262
10262
  const n = m(-1);
10263
10263
  function a() {
10264
10264
  return t.value[n.value];
@@ -10373,7 +10373,7 @@ function Vi(e, t) {
10373
10373
  resetActiveRow: l
10374
10374
  };
10375
10375
  }
10376
- const Ri = /* @__PURE__ */ q({
10376
+ const ji = /* @__PURE__ */ q({
10377
10377
  name: "filter-condition-editor",
10378
10378
  props: Et,
10379
10379
  emits: ["update:modelValue"],
@@ -10398,17 +10398,17 @@ const Ri = /* @__PURE__ */ q({
10398
10398
  canMove: b,
10399
10399
  validateCondition: T,
10400
10400
  resetActiveRow: N
10401
- } = Vi(e, y), j = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
10401
+ } = Ri(e, y), j = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
10402
10402
  function V() {
10403
- return e.editorType === "sort" ? u(Ni, {
10403
+ return e.editorType === "sort" ? u(Vi, {
10404
10404
  conditions: y.value,
10405
10405
  fields: h.value,
10406
10406
  activeIndex: w.value,
10407
- onInsert: (I) => f(I),
10408
- onRemove: (I) => k(I),
10407
+ onInsert: (D) => f(D),
10408
+ onRemove: (D) => k(D),
10409
10409
  idField: e.idField,
10410
- onRowClick: (I) => r(I)
10411
- }, null) : u(hi, {
10410
+ onRowClick: (D) => r(D)
10411
+ }, null) : u(gi, {
10412
10412
  compareOperators: e.compareOperators,
10413
10413
  singleValue: e.singleValue,
10414
10414
  expressionOptions: o.value,
@@ -10417,25 +10417,25 @@ const Ri = /* @__PURE__ */ q({
10417
10417
  fields: h.value,
10418
10418
  idField: e.idField,
10419
10419
  activeIndex: w.value,
10420
- onInsert: (I) => f(I),
10421
- onRemove: (I) => k(I),
10422
- onRowClick: (I) => r(I),
10420
+ onInsert: (D) => f(D),
10421
+ onRemove: (D) => k(D),
10422
+ onRowClick: (D) => r(D),
10423
10423
  enableSearch: e.enableSearch,
10424
10424
  formContextData: i.value
10425
10425
  }, null);
10426
10426
  }
10427
10427
  const P = B(() => JSON.stringify(y.value) === JSON.stringify(C.value)), M = B(() => e.disableConfirmWhenUnchanged && P.value);
10428
- async function D() {
10428
+ async function I() {
10429
10429
  if (t.emit("update:modelValue", y.value), e.onSubmitModal) {
10430
10430
  l == null || l.show();
10431
- const I = await e.onSubmitModal({
10431
+ const D = await e.onSubmitModal({
10432
10432
  loadingService: l,
10433
10433
  repository: n,
10434
10434
  conditions: y,
10435
10435
  originalConditions: C,
10436
10436
  FMessageBoxService: he
10437
10437
  });
10438
- return l == null || l.clearAll(), I && (w.value = -1, a.success("过滤条件配置成功!")), I;
10438
+ return l == null || l.clearAll(), D && (w.value = -1, a.success("过滤条件配置成功!")), D;
10439
10439
  }
10440
10440
  return !0;
10441
10441
  }
@@ -10456,15 +10456,15 @@ const Ri = /* @__PURE__ */ q({
10456
10456
  name: "cancel",
10457
10457
  text: "取消",
10458
10458
  class: "btn btn-secondary",
10459
- handle: (I) => !0
10459
+ handle: (D) => !0
10460
10460
  }, {
10461
10461
  name: "accept",
10462
10462
  text: "确定",
10463
10463
  class: "btn btn-primary",
10464
10464
  disabled: M,
10465
- handle: async (I) => {
10465
+ handle: async (D) => {
10466
10466
  const A = T();
10467
- return P.value ? !0 : typeof A == "object" && A !== null && A && A.message ? (a.warning(A.message), !1) : await D();
10467
+ return P.value ? !0 : typeof A == "object" && A !== null && A && A.message ? (a.warning(A.message), !1) : await I();
10468
10468
  }
10469
10469
  }]
10470
10470
  };
@@ -10472,11 +10472,11 @@ const Ri = /* @__PURE__ */ q({
10472
10472
  if (e.beforeOpen)
10473
10473
  try {
10474
10474
  l == null || l.show();
10475
- const I = await e.beforeOpen({
10475
+ const D = await e.beforeOpen({
10476
10476
  repository: n,
10477
10477
  notifyService: a
10478
10478
  });
10479
- if (I) {
10479
+ if (D) {
10480
10480
  const {
10481
10481
  fieldList: A,
10482
10482
  conditionList: W,
@@ -10484,7 +10484,7 @@ const Ri = /* @__PURE__ */ q({
10484
10484
  variables: Te,
10485
10485
  formContextData: ye,
10486
10486
  isServerSide: je
10487
- } = I;
10487
+ } = D;
10488
10488
  return h.value = A || [], y.value = W || [], C.value = JSON.parse(JSON.stringify(y.value)), o.value = {
10489
10489
  entities: G,
10490
10490
  variables: Te,
@@ -10503,8 +10503,8 @@ const Ri = /* @__PURE__ */ q({
10503
10503
  function L() {
10504
10504
  t.emit("update:modelValue", "");
10505
10505
  }
10506
- function O(I) {
10507
- t.emit("update:modelValue", I);
10506
+ function O(D) {
10507
+ t.emit("update:modelValue", D);
10508
10508
  }
10509
10509
  return () => u(Ne, {
10510
10510
  modelValue: p.value,
@@ -10526,7 +10526,7 @@ const Ri = /* @__PURE__ */ q({
10526
10526
  }, [u("div", {
10527
10527
  style: "border-top: 1px solid white; position: absolute; top: 0; width: 100%; z-index: 2;",
10528
10528
  class: "shading-border-top"
10529
- }, null), V(), u(Pi, {
10529
+ }, null), V(), u(Ni, {
10530
10530
  canClear: c,
10531
10531
  canMove: b,
10532
10532
  onAdd: v,
@@ -10546,21 +10546,21 @@ const Ri = /* @__PURE__ */ q({
10546
10546
  function n(a) {
10547
10547
  t.emit("update:modelValue", a);
10548
10548
  }
10549
- return () => u(Ri, de({
10549
+ return () => u(ji, re({
10550
10550
  editorType: "sort"
10551
10551
  }, e, {
10552
10552
  "onUpdate:modelValue": n
10553
10553
  }), null);
10554
10554
  }
10555
- }), os = {
10555
+ }), is = {
10556
10556
  install(e) {
10557
10557
  e.component(Ye.name, Ye);
10558
10558
  },
10559
10559
  register(e, t, n, a) {
10560
- e["sort-condition-editor"] = Ye, t["sort-condition-editor"] = aa;
10560
+ e["sort-condition-editor"] = Ye, t["sort-condition-editor"] = la;
10561
10561
  }
10562
10562
  };
10563
10563
  export {
10564
10564
  Ye as SortConditionEditor,
10565
- os as default
10565
+ is as default
10566
10566
  };