@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 Cn = Object.defineProperty;
2
2
  var xn = (e, t, n) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var te = (e, t, n) => xn(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 wn, watchEffect as kn, Transition as gt, shallowRef as Sn, render as ze, h as Fn, cloneVNode as Tn, mergeProps as ye, inject as Z, withDirectives as Xe, vShow as Bn, createTextVNode as U, onUpdated as _e, onBeforeUnmount as bt, reactive as J, provide as Ct, vModelText as Mn, vModelCheckbox as On, getCurrentInstance as En } from "vue";
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 wn, watchEffect as kn, Transition as gt, mergeProps as de, shallowRef as Sn, render as ze, h as Fn, cloneVNode as Tn, inject as Z, withDirectives as Xe, vShow as Bn, createTextVNode as U, onUpdated as _e, onBeforeUnmount as bt, reactive as J, provide as Ct, vModelText as Mn, vModelCheckbox as On, getCurrentInstance as En } from "vue";
5
5
  import { LocaleService as ee } from "../locale/index.esm.js";
6
- import { isMobilePhone as xe, getMaxZIndex as rt, useGuid as Dn, useTouchMomentum as In, useTouch as Pn, useCommonUtils as Pe, useBem as xt, useFarrisConfig as Nn, FormSchemaEntityFieldType$Type as Be, EVENT_PROPERTY_TAB_IDS as Vn, withInstall as Ke, getCustomClass as Rn, getCustomStyle as jn } from "../common/index.esm.js";
6
+ import { isMobilePhone as xe, getMaxZIndex as rt, extractDataAttrs as Dn, useGuid as In, useTouchMomentum as Pn, useTouch as Nn, useCommonUtils as Pe, useBem as xt, useFarrisConfig as Vn, FormSchemaEntityFieldType$Type as Be, EVENT_PROPERTY_TAB_IDS as Rn, withInstall as Ke, getCustomClass as jn, getCustomStyle as Ln } from "../common/index.esm.js";
7
7
  import Je from "../drawer/index.esm.js";
8
- import { InputBaseProperty as Ln } from "../property-panel/index.esm.js";
8
+ import { InputBaseProperty as An } from "../property-panel/index.esm.js";
9
9
  import "../button/index.esm.js";
10
10
  import "../field-selector/index.esm.js";
11
11
  import "../collection-property-editor/index.esm.js/src/use-button-items.designer";
12
- import An from "../tags/index.esm.js";
13
- import { debounce as Ze, isUndefined as Hn, cloneDeep as pe } from "lodash-es";
14
- import { useInputExpand as zn } from "../common/index.esm.js/text-box/use-input-expand";
15
- import $n from "../popover/index.esm.js";
16
- import { createPropsResolver as he, resolveAppearance as Qe, getPropsResolverGenerator as Wn } from "../dynamic-resolver/index.esm.js";
12
+ import Hn from "../tags/index.esm.js";
13
+ import { debounce as Ze, isUndefined as zn, cloneDeep as pe } from "lodash-es";
14
+ import { useInputExpand as $n } from "../common/index.esm.js/text-box/use-input-expand";
15
+ import Wn from "../popover/index.esm.js";
16
+ import { createPropsResolver as he, resolveAppearance as Qe, getPropsResolverGenerator as qn } from "../dynamic-resolver/index.esm.js";
17
17
  import wt, { FButtonEdit as kt } from "../button-edit/index.esm.js";
18
- import qn from "../list-view/index.esm.js";
18
+ import Yn from "../list-view/index.esm.js";
19
19
  import "bignumber.js";
20
- import Yn from "../../designer/button-edit/index.esm.js";
21
- import { useDesignerComponent as et, useDragulaCommonRule as Un } from "../designer-canvas/index.esm.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";
22
22
  import St from "../tree-view/index.esm.js";
23
- import Gn from "../event-parameter/index.esm.js";
24
- import { FInputGroup as Xn } from "../input-group/index.esm.js";
25
- const _n = {
23
+ import Xn from "../event-parameter/index.esm.js";
24
+ import { FInputGroup as _n } from "../input-group/index.esm.js";
25
+ const Kn = {
26
26
  /**
27
27
  * 标记组件的唯一标识
28
28
  */
@@ -193,23 +193,23 @@ const _n = {
193
193
  * 扩展按钮是否禁用
194
194
  */
195
195
  expandDisabled: { type: Boolean, default: !1 }
196
- }, Kn = {
196
+ }, Jn = {
197
197
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
198
198
  host: { type: Object },
199
199
  backgroundColor: { type: String, default: "" }
200
200
  };
201
- function Jn() {
201
+ function Zn() {
202
202
  const e = m(!1);
203
203
  return K(() => {
204
204
  e.value = !0;
205
205
  }), e;
206
206
  }
207
- const Zn = /* @__PURE__ */ q({
207
+ const Qn = /* @__PURE__ */ q({
208
208
  name: "FOverlay",
209
- props: Kn,
209
+ props: Jn,
210
210
  emits: ["click"],
211
211
  setup(e, t) {
212
- const n = m(e.popupContentPosition), a = m(e.host), l = Jn(), o = B(() => ({
212
+ const n = m(e.popupContentPosition), a = m(e.host), l = Zn(), o = B(() => ({
213
213
  backgroundColor: e.backgroundColor || "",
214
214
  pointerEvents: "auto"
215
215
  }));
@@ -252,13 +252,13 @@ const Zn = /* @__PURE__ */ q({
252
252
  }) : null;
253
253
  }
254
254
  });
255
- function Qn(e) {
255
+ function ea(e) {
256
256
  if (e.content && e.content.render)
257
257
  return e.content.render;
258
258
  if (e.render && typeof e.render == "function")
259
259
  return e.render;
260
260
  }
261
- function ea(e) {
261
+ function ta(e) {
262
262
  const t = document.createElement("div");
263
263
  t.style.display = "contents";
264
264
  let n;
@@ -271,8 +271,8 @@ function ea(e) {
271
271
  Se(() => {
272
272
  document.body.removeChild(t);
273
273
  });
274
- const o = Qn(e);
275
- return () => u(Zn, {
274
+ const o = ea(e);
275
+ return () => u(Qn, {
276
276
  "popup-content-position": e.popupPosition,
277
277
  host: e.host,
278
278
  onClick: l,
@@ -283,12 +283,12 @@ function ea(e) {
283
283
  }
284
284
  }), document.body.appendChild(t), n.mount(t), n;
285
285
  }
286
- class ta {
286
+ class na {
287
287
  static show(t) {
288
- return ea(t);
288
+ return ta(t);
289
289
  }
290
290
  }
291
- const na = {
291
+ const aa = {
292
292
  /**
293
293
  * 允许点击蒙层关闭对话框
294
294
  * @default false
@@ -506,7 +506,7 @@ class ce {
506
506
  return this.width = t.width, this.height = t.height, this;
507
507
  }
508
508
  }
509
- function aa(e, t) {
509
+ function la(e, t) {
510
510
  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);
511
511
  function s() {
512
512
  const O = a.value || document.body, D = window.getComputedStyle(O);
@@ -693,7 +693,7 @@ function aa(e, t) {
693
693
  moveToCenter: R
694
694
  };
695
695
  }
696
- function la(e, t, n) {
696
+ function oa(e, t, n) {
697
697
  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));
698
698
  z(() => n.value, (b) => {
699
699
  i.value.style.cursor = b ? "move" : "default";
@@ -789,7 +789,7 @@ function Ft(e, t) {
789
789
  };
790
790
  }
791
791
  }
792
- function oa(e, t) {
792
+ function ia(e, t) {
793
793
  const n = m(e.enableEsc);
794
794
  let a = null;
795
795
  return n.value ? (a = Ft("Escape", (l) => {
@@ -798,7 +798,7 @@ function oa(e, t) {
798
798
  remove: a
799
799
  }) : null;
800
800
  }
801
- function ia(e, t) {
801
+ function sa(e, t) {
802
802
  const n = m(e.enableEnter);
803
803
  let a = null;
804
804
  return n.value ? (a = Ft("Enter", (l) => {
@@ -809,7 +809,7 @@ function ia(e, t) {
809
809
  }
810
810
  const be = /* @__PURE__ */ q({
811
811
  name: "FModal",
812
- props: na,
812
+ props: aa,
813
813
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter", "stopMove", "buttonClick"],
814
814
  setup(e, t) {
815
815
  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();
@@ -853,9 +853,9 @@ const be = /* @__PURE__ */ q({
853
853
  allowDrag: D,
854
854
  unWindowResizeHandle: A,
855
855
  moveToCenter: W
856
- } = aa(e), {
856
+ } = la(e), {
857
857
  registerDraggle: G
858
- } = la(e, t, D);
858
+ } = oa(e, t, D);
859
859
  function Te() {
860
860
  return !!document.querySelectorAll(".farris-modal").length && document.body.classList.contains("modal-open");
861
861
  }
@@ -881,7 +881,7 @@ const be = /* @__PURE__ */ q({
881
881
  }), z(() => e.class, (E, H) => {
882
882
  i.value = E;
883
883
  });
884
- const fe = B(() => (l.value && document.body.classList.add("modal-open"), l.value)), je = B(() => {
884
+ const me = B(() => (l.value && document.body.classList.add("modal-open"), l.value)), je = B(() => {
885
885
  var Y;
886
886
  const E = {
887
887
  modal: !0,
@@ -889,7 +889,7 @@ const be = /* @__PURE__ */ q({
889
889
  fade: !0,
890
890
  "fe-cmp-page-modal": !!e.showFloatingClose
891
891
  };
892
- E["f-modal-fitContent"] = !!h.value, E.show = !!fe.value;
892
+ E["f-modal-fitContent"] = !!h.value, E.show = !!me.value;
893
893
  const H = (Y = e.maskClass) == null ? void 0 : Y.split(" ");
894
894
  return H == null || H.reduce((X, re) => (X[re] = !0, X), E), E;
895
895
  }), Jt = B(() => {
@@ -972,7 +972,7 @@ const be = /* @__PURE__ */ q({
972
972
  wn(() => {
973
973
  w.value = Te();
974
974
  }), K(() => {
975
- P.value && !f.value && (f.value = P.value.parentElement, L.value = f.value, G(V.value, P.value, L.value)), fe.value && document.body.classList.add("modal-open"), Ae = oa(e, t), He = ia(e, t);
975
+ P.value && !f.value && (f.value = P.value.parentElement, L.value = f.value, G(V.value, P.value, L.value)), me.value && document.body.classList.add("modal-open"), Ae = ia(e, t), He = sa(e, t);
976
976
  }), Se(() => {
977
977
  A && A(), Ae && Ae.remove(), He && He.remove();
978
978
  }), t.expose({
@@ -1030,8 +1030,8 @@ const be = /* @__PURE__ */ q({
1030
1030
  onWheel: fn
1031
1031
  }, [T.value.map((E) => {
1032
1032
  var X;
1033
- const H = m(E.disabled), Y = E.class || ((X = E.appearance) == null ? void 0 : X.class);
1034
- return u("button", {
1033
+ const H = m(E.disabled), Y = E.class || ((X = E.appearance) == null ? void 0 : X.class) || "btn btn-secondary";
1034
+ return u("button", de(Dn(E), {
1035
1035
  name: E.name,
1036
1036
  style: E.styles,
1037
1037
  type: "button",
@@ -1040,7 +1040,7 @@ const be = /* @__PURE__ */ q({
1040
1040
  onClick: (re) => {
1041
1041
  rn(E, re);
1042
1042
  }
1043
- }, [!!E.iconClass && u("i", {
1043
+ }), [!!E.iconClass && u("i", {
1044
1044
  class: E.iconClass
1045
1045
  }, null), E.text]);
1046
1046
  })])]);
@@ -1102,11 +1102,11 @@ const be = /* @__PURE__ */ q({
1102
1102
  return E || "body";
1103
1103
  }
1104
1104
  return kn(() => {
1105
- fe.value && (ot.value = rt() || 1050);
1105
+ me.value && (ot.value = rt() || 1050);
1106
1106
  }), () => u(ht, {
1107
1107
  to: gn(e.host)
1108
1108
  }, {
1109
- default: () => [fe.value && u(gt, {
1109
+ default: () => [me.value && u(gt, {
1110
1110
  name: "fade",
1111
1111
  appear: !0
1112
1112
  }, {
@@ -1126,7 +1126,7 @@ function Tt(e) {
1126
1126
  if (e.render && typeof e.render == "function")
1127
1127
  return e.render;
1128
1128
  }
1129
- function sa(e) {
1129
+ function ra(e) {
1130
1130
  const t = document.createElement("div");
1131
1131
  t.style.display = "contents";
1132
1132
  const n = e.type || "modal", a = Ge({
@@ -1230,7 +1230,7 @@ class Bt {
1230
1230
  showButtons: !0,
1231
1231
  showHeader: !0
1232
1232
  }, t);
1233
- return sa(n);
1233
+ return ra(n);
1234
1234
  }
1235
1235
  close(t) {
1236
1236
  var n, a;
@@ -1264,7 +1264,7 @@ class Bt {
1264
1264
  }, v = m();
1265
1265
  let x;
1266
1266
  if (a === "drawer")
1267
- x = () => u(Je, ye({
1267
+ x = () => u(Je, de({
1268
1268
  ref: v,
1269
1269
  modelValue: o.value,
1270
1270
  "onUpdate:modelValue": (s) => o.value = s,
@@ -1286,7 +1286,7 @@ class Bt {
1286
1286
  width: c,
1287
1287
  height: b
1288
1288
  } = l.value, T = this.adaptToWindow(Number(c) || 500, Number(b) || 320);
1289
- Object.assign(l.value, T), x = () => u(be, ye({
1289
+ Object.assign(l.value, T), x = () => u(be, de({
1290
1290
  ref: v,
1291
1291
  modelValue: o.value,
1292
1292
  "onUpdate:modelValue": (N) => o.value = N
@@ -1356,7 +1356,7 @@ function Mt(e, t) {
1356
1356
  }
1357
1357
  return { judgeCanOpen: n };
1358
1358
  }
1359
- function ra(e, t, n, a, l) {
1359
+ function ua(e, t, n, a, l) {
1360
1360
  const o = m(e.buttonBehavior), i = m(e.popupOnInput), h = B(() => ({
1361
1361
  "input-group-append": !0,
1362
1362
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
@@ -1371,7 +1371,7 @@ function ra(e, t, n, a, l) {
1371
1371
  });
1372
1372
  p.value = f == null ? void 0 : f.modalRef;
1373
1373
  }
1374
- o.value === "Overlay" && ta.show({
1374
+ o.value === "Overlay" && na.show({
1375
1375
  // host: buttonEditRef.value,
1376
1376
  host: document.body,
1377
1377
  backgroundColor: "rgba(0,0,0,.15)",
@@ -1393,7 +1393,7 @@ function ra(e, t, n, a, l) {
1393
1393
  modalRef: p
1394
1394
  };
1395
1395
  }
1396
- function ua(e, t, n, a, l, o) {
1396
+ function ca(e, t, n, a, l, o) {
1397
1397
  const i = m(!1), h = B(() => e.enableClear && !e.readonly && !e.disable && !xe()), { changeTextBoxValue: d, hasClearClass: y } = o, C = m(!1);
1398
1398
  function p(g) {
1399
1399
  i.value = g, y.value = g;
@@ -1426,7 +1426,7 @@ function ua(e, t, n, a, l, o) {
1426
1426
  onMouseLeaveTextBox: F
1427
1427
  };
1428
1428
  }
1429
- function ca(e, t, n, a, l) {
1429
+ function da(e, t, n, a, l) {
1430
1430
  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(() => ({
1431
1431
  "text-left": e.textAlign === "left",
1432
1432
  "text-center": e.textAlign === "center",
@@ -1501,7 +1501,7 @@ function ca(e, t, n, a, l) {
1501
1501
  };
1502
1502
  }
1503
1503
  const ue = "FarrisVue_PopoverInstancesKey";
1504
- function da(e, t, n, a) {
1504
+ function fa(e, t, n, a) {
1505
1505
  const l = m(), o = m(!1), { judgeCanOpen: i } = Mt(e, a);
1506
1506
  z(() => l.value, (x, S) => {
1507
1507
  window[ue] = window[ue] || /* @__PURE__ */ new WeakMap(), x ? window[ue].set(n.value, x) : window[ue].delete(n.value);
@@ -1543,7 +1543,7 @@ function da(e, t, n, a) {
1543
1543
  }
1544
1544
  return { hidePopup: p, showPopup: v, popup: C, shouldPopupContent: o, togglePopup: y, popoverRef: l, closeAllPopover: h };
1545
1545
  }
1546
- function fa(e, t, n) {
1546
+ function ma(e, t, n) {
1547
1547
  const a = m(), {
1548
1548
  isTextBoxReadonly: l,
1549
1549
  textBoxClass: o,
@@ -1559,7 +1559,7 @@ function fa(e, t, n) {
1559
1559
  onTextBoxValueChange: F
1560
1560
  } = n, g = m(e.id), {
1561
1561
  uuid: s
1562
- } = Dn(), f = B(() => ({
1562
+ } = In(), f = B(() => ({
1563
1563
  // 'border-top-right-radius': '6px',
1564
1564
  // 'border-bottom-right-radius': '6px'
1565
1565
  }));
@@ -1605,7 +1605,7 @@ function fa(e, t, n) {
1605
1605
  onCompositionstart: w
1606
1606
  }, null);
1607
1607
  }
1608
- function ma(e, t, n) {
1608
+ function ya(e, t, n) {
1609
1609
  const a = m(e.separator), l = B(() => e.readonly || e.disable), {
1610
1610
  changeTextBoxValue: o,
1611
1611
  onFocusTextBox: i,
@@ -1629,7 +1629,7 @@ function ma(e, t, n) {
1629
1629
  function x(S) {
1630
1630
  d(S);
1631
1631
  }
1632
- return () => u(An, {
1632
+ return () => u(Hn, {
1633
1633
  tabindex: e.tabIndex,
1634
1634
  onFocus: i,
1635
1635
  onBlur: h,
@@ -1644,7 +1644,7 @@ function ma(e, t, n) {
1644
1644
  onClick: x
1645
1645
  }, null);
1646
1646
  }
1647
- function ya(e, t, n, a) {
1647
+ function pa(e, t, n, a) {
1648
1648
  const {
1649
1649
  buttonGroupClass: l,
1650
1650
  onClickButton: o,
@@ -1660,7 +1660,7 @@ function ya(e, t, n, a) {
1660
1660
  t.emit("beforeClearValue");
1661
1661
  }, {
1662
1662
  renderExpandContent: S
1663
- } = zn(e, t);
1663
+ } = $n(e, t);
1664
1664
  return {
1665
1665
  renderButtonGroup: () => u(le, null, [u("div", {
1666
1666
  id: e.id ? `${e.id}-button-group` : void 0,
@@ -1687,7 +1687,7 @@ function ya(e, t, n, a) {
1687
1687
  buttonHandleElement: p
1688
1688
  };
1689
1689
  }
1690
- function pa(e, t, n) {
1690
+ function va(e, t, n) {
1691
1691
  const a = m(e.popupMinWidth), {
1692
1692
  hidePopup: l,
1693
1693
  popoverRef: o
@@ -1712,7 +1712,7 @@ function pa(e, t, n) {
1712
1712
  var d, y;
1713
1713
  return [U(" "), (y = (d = t.slots).default) == null ? void 0 : y.call(d), U(" ")];
1714
1714
  }
1715
- }) : u($n, {
1715
+ }) : u(Wn, {
1716
1716
  id: `${e.id}-popover`,
1717
1717
  ref: o,
1718
1718
  placement: e.placement,
@@ -1737,20 +1737,20 @@ function pa(e, t, n) {
1737
1737
  }
1738
1738
  const Ne = /* @__PURE__ */ q({
1739
1739
  name: "FButtonEdit",
1740
- props: _n,
1740
+ props: Kn,
1741
1741
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue", "beforeClearValue", "expandClick", "hidden", "shown"],
1742
1742
  setup(e, t) {
1743
- const n = m(), a = m(e.customClass), l = m(e.modelValue), o = da(e, t, n, l), {
1743
+ const n = m(), a = m(e.customClass), l = m(e.modelValue), o = fa(e, t, n, l), {
1744
1744
  shouldPopupContent: i,
1745
1745
  hidePopup: h,
1746
1746
  showPopup: d,
1747
1747
  togglePopup: y
1748
- } = o, C = ra(e, t, n, o, l), p = m(""), v = ca(e, t, l, p, o), {
1748
+ } = o, C = ua(e, t, n, o, l), p = m(""), v = da(e, t, l, p, o), {
1749
1749
  hasFocusedTextBox: x,
1750
1750
  commitValue: S,
1751
1751
  inputGroupClass: F,
1752
1752
  changeTextBoxValue: g
1753
- } = v, s = ua(e, t, l, x, p, v), {
1753
+ } = v, s = ca(e, t, l, x, p, v), {
1754
1754
  onMouseEnterTextBox: f,
1755
1755
  onMouseLeaveTextBox: k
1756
1756
  } = s, w = m(!1), r = B(() => {
@@ -1778,12 +1778,12 @@ const Ne = /* @__PURE__ */ q({
1778
1778
  j.value = N();
1779
1779
  });
1780
1780
  function V() {
1781
- return e.multiSelect && e.inputType === "tag" ? () => u(le, null, [ma(e, l, v)(), !!j.value && u("div", {
1781
+ return e.multiSelect && e.inputType === "tag" ? () => u(le, null, [ya(e, l, v)(), !!j.value && u("div", {
1782
1782
  class: "d-flex flex-row mr-2 more-tags",
1783
1783
  "more-tags": !0
1784
1784
  }, [u("span", {
1785
1785
  class: "multi--more-text"
1786
- }, [U("+"), j.value])])]) : fa(e, l, v);
1786
+ }, [U("+"), j.value])])]) : ma(e, l, v);
1787
1787
  }
1788
1788
  let P = V();
1789
1789
  z([() => e.multiSelect, () => e.inputType], () => {
@@ -1792,7 +1792,7 @@ const Ne = /* @__PURE__ */ q({
1792
1792
  const {
1793
1793
  renderButtonGroup: M,
1794
1794
  buttonHandleElement: I
1795
- } = ya(e, t, C, s), R = pa(e, t, o), $ = m(i.value), L = {
1795
+ } = pa(e, t, C, s), R = va(e, t, o), $ = m(i.value), L = {
1796
1796
  displayText: p,
1797
1797
  commitValue: S,
1798
1798
  elementRef: n,
@@ -1848,7 +1848,7 @@ const Ne = /* @__PURE__ */ q({
1848
1848
  $.value = O;
1849
1849
  }), () => {
1850
1850
  var O, D;
1851
- return u(le, null, [u("div", ye(t.attrs, {
1851
+ return u(le, null, [u("div", de(t.attrs, {
1852
1852
  ref: n,
1853
1853
  class: r.value,
1854
1854
  id: e.id ? e.id : void 0,
@@ -1862,7 +1862,7 @@ const Ne = /* @__PURE__ */ q({
1862
1862
  }, [(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()]);
1863
1863
  };
1864
1864
  }
1865
- }), va = "https://json-schema.org/draft/2020-12/schema", ha = "https://farris-design.gitee.io/field-selector.schema.json", ga = "field-selector", ba = "A Farris Input Component", Ca = "object", xa = {
1865
+ }), ha = "https://json-schema.org/draft/2020-12/schema", ga = "https://farris-design.gitee.io/field-selector.schema.json", ba = "field-selector", Ca = "A Farris Input Component", xa = "object", wa = {
1866
1866
  disabled: {
1867
1867
  description: "",
1868
1868
  type: "boolean",
@@ -1958,13 +1958,13 @@ const Ne = /* @__PURE__ */ q({
1958
1958
  type: "boolean",
1959
1959
  default: !0
1960
1960
  }
1961
- }, wa = {
1962
- $schema: va,
1963
- $id: ha,
1964
- title: ga,
1965
- description: ba,
1966
- type: Ca,
1967
- properties: xa
1961
+ }, ka = {
1962
+ $schema: ha,
1963
+ $id: ga,
1964
+ title: ba,
1965
+ description: Ca,
1966
+ type: xa,
1967
+ properties: wa
1968
1968
  }, Ot = {
1969
1969
  disabled: {
1970
1970
  type: Boolean,
@@ -2063,7 +2063,7 @@ const Ne = /* @__PURE__ */ q({
2063
2063
  type: Boolean,
2064
2064
  default: !1
2065
2065
  }
2066
- }, ka = he(Ot, wa), Et = {
2066
+ }, Sa = he(Ot, ka), Et = {
2067
2067
  conditions: {
2068
2068
  type: Array,
2069
2069
  default: []
@@ -2118,7 +2118,7 @@ const Ne = /* @__PURE__ */ q({
2118
2118
  }
2119
2119
  }, Dt = /* @__PURE__ */ new Map([
2120
2120
  ["appearance", Qe]
2121
- ]), Sa = "https://json-schema.org/draft/2020-12/schema", Fa = "https://farris-design.gitee.io/combo-list.schema.json", Ta = "combo-list", Ba = "A Farris Input Component", Ma = "object", Oa = {
2121
+ ]), Fa = "https://json-schema.org/draft/2020-12/schema", Ta = "https://farris-design.gitee.io/combo-list.schema.json", Ba = "combo-list", Ma = "A Farris Input Component", Oa = "object", Ea = {
2122
2122
  id: {
2123
2123
  description: "The unique identifier for a combo list",
2124
2124
  type: "string"
@@ -2373,14 +2373,14 @@ const Ne = /* @__PURE__ */ q({
2373
2373
  type: "boolean",
2374
2374
  default: !1
2375
2375
  }
2376
- }, Ea = [
2376
+ }, Da = [
2377
2377
  "type"
2378
- ], Da = [
2378
+ ], Ia = [
2379
2379
  "id",
2380
2380
  "appearance",
2381
2381
  "binding",
2382
2382
  "visible"
2383
- ], Ia = {
2383
+ ], Pa = {
2384
2384
  onClear: "清空事件",
2385
2385
  onShown: "面板打开事件",
2386
2386
  onHidden: "面板关闭事件",
@@ -2388,20 +2388,20 @@ const Ne = /* @__PURE__ */ q({
2388
2388
  beforeOpen: "打开面板前事件",
2389
2389
  beforeHide: "关闭面板前事件"
2390
2390
  }, It = {
2391
- $schema: Sa,
2392
- $id: Fa,
2393
- title: Ta,
2394
- description: Ba,
2395
- type: Ma,
2396
- properties: Oa,
2397
- required: Ea,
2398
- ignore: Da,
2399
- events: Ia
2391
+ $schema: Fa,
2392
+ $id: Ta,
2393
+ title: Ba,
2394
+ description: Ma,
2395
+ type: Oa,
2396
+ properties: Ea,
2397
+ required: Da,
2398
+ ignore: Ia,
2399
+ events: Pa
2400
2400
  };
2401
2401
  function Pt(e, t, n) {
2402
2402
  return t;
2403
2403
  }
2404
- function Pa() {
2404
+ function Na() {
2405
2405
  function e(t, n, a) {
2406
2406
  const l = {};
2407
2407
  return l.beforeOpen = (o) => n.call("beforeOpen", t, [o, t], a), l;
@@ -2688,16 +2688,16 @@ const Ve = {
2688
2688
  * @default false
2689
2689
  */
2690
2690
  hideDisabledItems: { type: Boolean, default: !1 }
2691
- }, Na = Object.assign({}, Ve, {
2691
+ }, Va = Object.assign({}, Ve, {
2692
2692
  readonly: {}
2693
2693
  });
2694
2694
  he(Ve, It, Dt, Pt);
2695
- const Nt = Wn(
2695
+ const Nt = qn(
2696
2696
  Ve,
2697
2697
  It,
2698
2698
  Dt,
2699
2699
  Pt
2700
- ), Va = Pa(), Ra = {
2700
+ ), Ra = Na(), ja = {
2701
2701
  dataSource: { type: Array, default: [] },
2702
2702
  enableSearch: { type: Boolean, default: !1 },
2703
2703
  idField: { type: String, default: "id" },
@@ -2720,9 +2720,9 @@ const Nt = Wn(
2720
2720
  },
2721
2721
  // 搜索启用高亮
2722
2722
  enableHighlightSearch: { type: Boolean, default: !0 }
2723
- }, ja = /* @__PURE__ */ q({
2723
+ }, La = /* @__PURE__ */ q({
2724
2724
  name: "FComboListContainer",
2725
- props: Ra,
2725
+ props: ja,
2726
2726
  emits: ["selectionChange"],
2727
2727
  setup(e, t) {
2728
2728
  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(() => ({
@@ -2767,7 +2767,7 @@ const Nt = Wn(
2767
2767
  const k = (s = C.value) == null ? void 0 : s[0];
2768
2768
  let w = k;
2769
2769
  const r = a.value.map((c) => c[e.valueField || e.idField]);
2770
- if (!Hn(k) && r.includes(k)) {
2770
+ if (!zn(k) && r.includes(k)) {
2771
2771
  const c = typeof k, b = typeof ((f = a.value[0]) == null ? void 0 : f[e.valueField || e.idField]);
2772
2772
  b === "number" && c !== b && (w = Number(k)), b === "boolean" && c !== b && (w = k === "true" ? !0 : k === "false" ? !1 : k), g(w);
2773
2773
  }
@@ -2778,7 +2778,7 @@ const Nt = Wn(
2778
2778
  }), () => u("div", {
2779
2779
  class: "f-combo-list-container",
2780
2780
  style: v.value
2781
- }, [u(qn, {
2781
+ }, [u(Yn, {
2782
2782
  ref: n,
2783
2783
  size: "small",
2784
2784
  itemClass: "f-combo-list-item",
@@ -2802,8 +2802,8 @@ const Nt = Wn(
2802
2802
  duration: 0.3,
2803
2803
  timingFunction: "cubic-bezier(0.17, 0.89, 0.45, 1)",
2804
2804
  delay: 0
2805
- }, La = (e, t) => {
2806
- const n = e.lineHeight / 2, a = In({ maxOverflowY: 44 }), l = J({ ...ut }), o = (w) => {
2805
+ }, Aa = (e, t) => {
2806
+ const n = e.lineHeight / 2, a = Pn({ maxOverflowY: 44 }), l = J({ ...ut }), o = (w) => {
2807
2807
  t.emit("change", w);
2808
2808
  }, i = J({
2809
2809
  value: 0,
@@ -2841,7 +2841,7 @@ const Nt = Wn(
2841
2841
  const x = (w, r = i.max, c = i.min) => {
2842
2842
  const b = i.start + w;
2843
2843
  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);
2844
- }, S = Pn(), F = (w) => {
2844
+ }, S = Nn(), F = (w) => {
2845
2845
  S.start(w), i.active = !0, i.start = i.value, a.start(i.start), l.duration = 0;
2846
2846
  }, g = (w) => {
2847
2847
  w.preventDefault(), S.move(w), x(
@@ -2874,7 +2874,7 @@ const Nt = Wn(
2874
2874
  },
2875
2875
  updateTranslate: p
2876
2876
  };
2877
- }, Aa = {
2877
+ }, Ha = {
2878
2878
  column: { type: Array, default: () => [] },
2879
2879
  valueField: { type: String, default: "value" },
2880
2880
  textField: { type: String, default: "text" },
@@ -2883,8 +2883,8 @@ const Nt = Wn(
2883
2883
  showIcon: { type: Boolean, default: !1 },
2884
2884
  lineHeight: { type: Number, default: 0 },
2885
2885
  visiableOptionCount: { type: Number, default: 5 }
2886
- }, Ha = /* @__PURE__ */ q({
2887
- props: Aa,
2886
+ }, za = /* @__PURE__ */ q({
2887
+ props: Ha,
2888
2888
  emits: ["change", "click"],
2889
2889
  setup(e, t) {
2890
2890
  const {
@@ -2898,7 +2898,7 @@ const Nt = Wn(
2898
2898
  onTouchMove: h,
2899
2899
  onTouchEnd: d,
2900
2900
  onTransitionend: y
2901
- } = La(e, t), C = (x) => {
2901
+ } = Aa(e, t), C = (x) => {
2902
2902
  t.emit("click", x);
2903
2903
  }, p = B(() => ({
2904
2904
  transform: `translateY(${n(l.value)})`,
@@ -2918,7 +2918,7 @@ const Nt = Wn(
2918
2918
  class: `f-icon f-icon-check ${a("column-item-icon")}`
2919
2919
  }, null)]))]);
2920
2920
  }
2921
- }), za = {
2921
+ }), $a = {
2922
2922
  modelValue: { type: [String, Array], default: "" },
2923
2923
  columns: { type: Array, default: () => [] },
2924
2924
  title: { type: String, default: "" },
@@ -2933,7 +2933,7 @@ const Nt = Wn(
2933
2933
  visiableOptionCount: { type: Number, default: 5 },
2934
2934
  showToolbar: { type: Boolean, default: !0 },
2935
2935
  separator: { type: String, default: "," }
2936
- }, $a = (e, t) => {
2936
+ }, Wa = (e, t) => {
2937
2937
  const { finalValue: n, initValue: a, setSelectedByIndex: l, getSelectedValueByIndex: o } = t, { isArray: i, isFunction: h, isObject: d } = Pe(), y = (r) => r && r[0], C = B(() => {
2938
2938
  var r;
2939
2939
  return ((r = e.columns) == null ? void 0 : r.length) > 0 && i(e.columns[0]);
@@ -2992,7 +2992,7 @@ const Nt = Wn(
2992
2992
  getValue: f,
2993
2993
  getTextValue: k
2994
2994
  };
2995
- }, Wa = (e) => {
2995
+ }, qa = (e) => {
2996
2996
  const { isArray: t, isMultiArray: n, isString: a, isDef: l } = Pe(), o = (s) => {
2997
2997
  let f = [];
2998
2998
  return t(s) ? f = s : a(s) ? f = s.split(e.separator) : l(s) && (f = [s]), e.multiSelect ? n(f) ? f : [f] : f;
@@ -3014,15 +3014,15 @@ const Nt = Wn(
3014
3014
  getSelectedByIndex: (s) => e.multiSelect ? C[s] : d[s],
3015
3015
  getSelectedValueByIndex: (s) => e.multiSelect ? p.value[s] : y.value[s]
3016
3016
  };
3017
- }, qa = /* @__PURE__ */ q({
3018
- props: za,
3017
+ }, Ya = /* @__PURE__ */ q({
3018
+ props: $a,
3019
3019
  emits: ["change", "confirm", "cancel", "update:modelValue"],
3020
3020
  setup(e, t) {
3021
3021
  const {
3022
3022
  emit: n
3023
3023
  } = t, {
3024
3024
  addUnit: a
3025
- } = Pe(), l = Wa(e), {
3025
+ } = Pe(), l = qa(e), {
3026
3026
  finalValue: o,
3027
3027
  getSelectedValue: i,
3028
3028
  getSelectedValueByIndex: h,
@@ -3030,7 +3030,7 @@ const Nt = Wn(
3030
3030
  setSelectedByIndex: y
3031
3031
  } = l, {
3032
3032
  columns: C
3033
- } = $a(e, l), p = (k, w = !0) => {
3033
+ } = Wa(e, l), p = (k, w = !0) => {
3034
3034
  const {
3035
3035
  value: r,
3036
3036
  index: c
@@ -3067,7 +3067,7 @@ const Nt = Wn(
3067
3067
  }, [u("div", {
3068
3068
  class: S("columns"),
3069
3069
  style: g.value
3070
- }, [C.value.map((k, w) => u(Ha, {
3070
+ }, [C.value.map((k, w) => u(za, {
3071
3071
  column: k,
3072
3072
  value: h(w),
3073
3073
  showIcon: e.multiSelect,
@@ -3095,7 +3095,7 @@ const Nt = Wn(
3095
3095
  }, [e.showToolbar && F(), f()]);
3096
3096
  }
3097
3097
  });
3098
- function Ya(e, t) {
3098
+ function Ua(e, t) {
3099
3099
  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);
3100
3100
  function h(s) {
3101
3101
  const f = e.multiSelect ? String(s).split(e.separator) : [String(s)], k = f.map((c) => [c, !0]), w = new Map(k);
@@ -3128,7 +3128,7 @@ function Ya(e, t) {
3128
3128
  const { url: s, method: f = "GET", headers: k = { "Content-Type": "application/json;charset=utf-8;" }, body: w = null } = e.remote;
3129
3129
  if (!s)
3130
3130
  return;
3131
- const { basePath: r } = Nn().value, c = f.toLowerCase() === "get" ? { method: f, headers: k } : { method: f, headers: k, body: w };
3131
+ const { basePath: r } = Vn().value, c = f.toLowerCase() === "get" ? { method: f, headers: k } : { method: f, headers: k, body: w };
3132
3132
  let b = !1;
3133
3133
  fetch(new Request(r + s, c)).then((T) => {
3134
3134
  var j, V;
@@ -3180,8 +3180,8 @@ function Ya(e, t) {
3180
3180
  getSelectedItemsByDisplayText: p
3181
3181
  };
3182
3182
  }
3183
- const Ua = ["moz", "ms", "webkit"];
3184
- function Ga() {
3183
+ const Ga = ["moz", "ms", "webkit"];
3184
+ function Xa() {
3185
3185
  let e = 0;
3186
3186
  return (t) => {
3187
3187
  const n = (/* @__PURE__ */ new Date()).getTime(), a = Math.max(0, 16 - (n - e)), l = setTimeout(() => {
@@ -3190,15 +3190,15 @@ function Ga() {
3190
3190
  return e = n + a, l;
3191
3191
  };
3192
3192
  }
3193
- function Xa() {
3193
+ function _a() {
3194
3194
  if (typeof window > "u")
3195
3195
  return () => 0;
3196
3196
  if (window.requestAnimationFrame)
3197
3197
  return window.requestAnimationFrame.bind(window);
3198
- const e = Ua.filter((t) => `${t}RequestAnimationFrame` in window)[0];
3199
- return e ? window[`${e}RequestAnimationFrame`] : Ga();
3198
+ const e = Ga.filter((t) => `${t}RequestAnimationFrame` in window)[0];
3199
+ return e ? window[`${e}RequestAnimationFrame`] : Xa();
3200
3200
  }
3201
- Xa();
3201
+ _a();
3202
3202
  m("");
3203
3203
  function we() {
3204
3204
  if (typeof window > "u" || typeof navigator > "u")
@@ -3233,12 +3233,12 @@ function we() {
3233
3233
  const a = "ontouchstart" in window || navigator.maxTouchPoints > 0, l = screen.width, o = screen.height, i = Math.min(l, o);
3234
3234
  return !!(a && i <= 768);
3235
3235
  }
3236
- function _a() {
3236
+ function Ka() {
3237
3237
  const e = we();
3238
3238
  return e && document.body.classList.add("f-mobile"), e;
3239
3239
  }
3240
- typeof document < "u" && _a();
3241
- const de = /* @__PURE__ */ q({
3240
+ typeof document < "u" && Ka();
3241
+ const fe = /* @__PURE__ */ q({
3242
3242
  name: "FComboList",
3243
3243
  props: Ve,
3244
3244
  emits: ["clear", "update:modelValue", "change", "input", "dataChanged", "expandClick", "hidden", "shown"],
@@ -3252,7 +3252,7 @@ const de = /* @__PURE__ */ q({
3252
3252
  getItemsByDisplayText: x,
3253
3253
  getItemsByValue: S,
3254
3254
  beforeOpenList: F
3255
- } = Ya(e, t), g = m(e.dropDownIcon);
3255
+ } = Ua(e, t), g = m(e.dropDownIcon);
3256
3256
  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>');
3257
3257
  const s = B(() => e.multiSelect), f = B(() => a.value ? a.value.elementRef.getBoundingClientRect().width : 0);
3258
3258
  function k() {
@@ -3354,7 +3354,7 @@ const de = /* @__PURE__ */ q({
3354
3354
  onHidden: () => t.emit("hidden"),
3355
3355
  onShown: () => t.emit("shown")
3356
3356
  }, {
3357
- default: () => [we() ? u(qa, {
3357
+ default: () => [we() ? u(Ya, {
3358
3358
  modelValue: p.value,
3359
3359
  valueField: e.valueField,
3360
3360
  textField: e.textField,
@@ -3368,7 +3368,7 @@ const de = /* @__PURE__ */ q({
3368
3368
  onCancel: () => {
3369
3369
  a == null || a.value.hidePopup();
3370
3370
  }
3371
- }, null) : u(ja, {
3371
+ }, null) : u(La, {
3372
3372
  class: e.popupClass,
3373
3373
  ref: n,
3374
3374
  idField: e.idField,
@@ -3396,7 +3396,7 @@ const de = /* @__PURE__ */ q({
3396
3396
  e.editor.remote = e.editor.remote || {}, e.editor.remote[t] = n;
3397
3397
  }
3398
3398
  };
3399
- class Ka extends Ln {
3399
+ class Ja extends An {
3400
3400
  constructor(t, n) {
3401
3401
  super(t, n);
3402
3402
  }
@@ -3777,7 +3777,7 @@ class Ka extends Ln {
3777
3777
  title: "事件",
3778
3778
  hideTitle: !0,
3779
3779
  properties: o.createBaseEventProperty(h),
3780
- tabId: Vn,
3780
+ tabId: Rn,
3781
3781
  tabName: "交互",
3782
3782
  setPropertyRelates(C, p) {
3783
3783
  const v = C.propertyValue;
@@ -3791,24 +3791,24 @@ class Ka extends Ln {
3791
3791
  };
3792
3792
  }
3793
3793
  }
3794
- function Ja(e, t) {
3794
+ function Za(e, t) {
3795
3795
  const n = e.schema;
3796
3796
  function a(l, o) {
3797
- return new Ka(l, t).getPropertyConfig(n, o);
3797
+ return new Ja(l, t).getPropertyConfig(n, o);
3798
3798
  }
3799
3799
  return {
3800
3800
  getPropsConfig: a
3801
3801
  };
3802
3802
  }
3803
- const Za = /* @__PURE__ */ q({
3803
+ const Qa = /* @__PURE__ */ q({
3804
3804
  name: "FComboListDesign",
3805
- props: Na,
3805
+ props: Va,
3806
3806
  emits: ["clear", "update:modelValue", "change"],
3807
3807
  setup(e, t) {
3808
- const n = m(), a = Z("designer-host-service"), l = Z("design-item-context"), o = Ja(l, a), i = et(n, l, o);
3808
+ const n = m(), a = Z("designer-host-service"), l = Z("design-item-context"), o = Za(l, a), i = et(n, l, o);
3809
3809
  return K(() => {
3810
3810
  n.value.componentInstance = i;
3811
- }), t.expose(i.value), () => u(Yn, {
3811
+ }), t.expose(i.value), () => u(Un, {
3812
3812
  ref: n,
3813
3813
  buttonContent: e.dropDownIcon,
3814
3814
  readonly: !0,
@@ -3822,15 +3822,15 @@ const Za = /* @__PURE__ */ q({
3822
3822
  }, null);
3823
3823
  }
3824
3824
  });
3825
- de.register = (e, t, n, a, l) => {
3826
- e["combo-list"] = de, t["combo-list"] = Nt(l), a["combo-list"] = { callbackResolver: Va };
3825
+ fe.register = (e, t, n, a, l) => {
3826
+ e["combo-list"] = fe, t["combo-list"] = Nt(l), a["combo-list"] = { callbackResolver: Ra };
3827
3827
  };
3828
- de.registerDesigner = (e, t, n, a) => {
3829
- e["combo-list"] = Za, t["combo-list"] = Nt(a);
3828
+ fe.registerDesigner = (e, t, n, a) => {
3829
+ e["combo-list"] = Qa, t["combo-list"] = Nt(a);
3830
3830
  };
3831
- Ke(de);
3831
+ Ke(fe);
3832
3832
  Ke(Ne);
3833
- const Qa = {
3833
+ const el = {
3834
3834
  modelValue: {
3835
3835
  type: String,
3836
3836
  default: ""
@@ -3885,7 +3885,7 @@ const Qa = {
3885
3885
  function Rt(e, t, n) {
3886
3886
  return t;
3887
3887
  }
3888
- const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-design.gitee.io/layout.schema.json", nl = "layout", al = "A Farris Container Component", ll = "object", ol = {
3888
+ const tl = "https://json-schema.org/draft/2020-12/schema", nl = "https://farris-design.gitee.io/layout.schema.json", al = "layout", ll = "A Farris Container Component", ol = "object", il = {
3889
3889
  id: {
3890
3890
  description: "The unique identifier for layout component",
3891
3891
  type: "string"
@@ -3928,19 +3928,19 @@ const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-
3928
3928
  type: "boolean",
3929
3929
  default: !0
3930
3930
  }
3931
- }, il = [
3931
+ }, sl = [
3932
3932
  "id",
3933
3933
  "type",
3934
3934
  "contents"
3935
- ], sl = {
3936
- $schema: el,
3937
- $id: tl,
3938
- title: nl,
3939
- description: al,
3940
- type: ll,
3941
- properties: ol,
3942
- required: il
3943
- }, rl = "layout", ul = "A Farris Component", cl = "object", dl = {
3935
+ ], rl = {
3936
+ $schema: tl,
3937
+ $id: nl,
3938
+ title: al,
3939
+ description: ll,
3940
+ type: ol,
3941
+ properties: il,
3942
+ required: sl
3943
+ }, ul = "layout", cl = "A Farris Component", dl = "object", fl = {
3944
3944
  basic: {
3945
3945
  description: "Basic Infomation",
3946
3946
  title: "基本信息",
@@ -3975,18 +3975,18 @@ const el = "https://json-schema.org/draft/2020-12/schema", tl = "https://farris-
3975
3975
  }
3976
3976
  }
3977
3977
  }
3978
- }, fl = {
3979
- title: rl,
3980
- description: ul,
3981
- type: cl,
3982
- categories: dl
3978
+ }, ml = {
3979
+ title: ul,
3980
+ description: cl,
3981
+ type: dl,
3982
+ categories: fl
3983
3983
  }, tt = {
3984
3984
  customStyle: { type: String, defaut: "" },
3985
3985
  /**
3986
3986
  * 自定义样式
3987
3987
  */
3988
3988
  customClass: { type: String, defaut: "" }
3989
- }, jt = he(tt, sl, Vt, Rt, fl);
3989
+ }, jt = he(tt, rl, Vt, Rt, ml);
3990
3990
  function Lt(e) {
3991
3991
  const t = m(-1), n = m(-1), a = m(0), l = m(0), o = m(!1), i = m(!1), h = B(() => ({
3992
3992
  display: o.value ? "block" : "none",
@@ -4082,9 +4082,9 @@ const ie = /* @__PURE__ */ q({
4082
4082
  Ct("layout", {
4083
4083
  useResizeHandleComposition: a
4084
4084
  });
4085
- const h = B(() => Rn({
4085
+ const h = B(() => jn({
4086
4086
  "f-layout": !0
4087
- }, e == null ? void 0 : e.customClass)), d = B(() => jn({}, e == null ? void 0 : e.customStyle));
4087
+ }, e == null ? void 0 : e.customClass)), d = B(() => Ln({}, e == null ? void 0 : e.customStyle));
4088
4088
  return () => u("div", {
4089
4089
  class: h.value,
4090
4090
  style: d.value,
@@ -4100,7 +4100,7 @@ const ie = /* @__PURE__ */ q({
4100
4100
  style: o.value
4101
4101
  }, null)]);
4102
4102
  }
4103
- }), ml = "https://json-schema.org/draft/2020-12/schema", yl = "https://farris-design.gitee.io/layout-pane.schema.json", pl = "layout-pane", vl = "A Farris Container Component", hl = "object", gl = {
4103
+ }), yl = "https://json-schema.org/draft/2020-12/schema", pl = "https://farris-design.gitee.io/layout-pane.schema.json", vl = "layout-pane", hl = "A Farris Container Component", gl = "object", bl = {
4104
4104
  id: {
4105
4105
  description: "The unique identifier for a layout pane",
4106
4106
  type: "string"
@@ -4163,19 +4163,19 @@ const ie = /* @__PURE__ */ q({
4163
4163
  type: "number",
4164
4164
  default: !0
4165
4165
  }
4166
- }, bl = [
4166
+ }, Cl = [
4167
4167
  "id",
4168
4168
  "type",
4169
4169
  "contents"
4170
- ], Cl = {
4171
- $schema: ml,
4172
- $id: yl,
4173
- title: pl,
4174
- description: vl,
4175
- type: hl,
4176
- properties: gl,
4177
- required: bl
4178
- }, xl = "layout-pane", wl = "A Farris Container Component", kl = "object", Sl = {
4170
+ ], xl = {
4171
+ $schema: yl,
4172
+ $id: pl,
4173
+ title: vl,
4174
+ description: hl,
4175
+ type: gl,
4176
+ properties: bl,
4177
+ required: Cl
4178
+ }, wl = "layout-pane", kl = "A Farris Container Component", Sl = "object", Fl = {
4179
4179
  basic: {
4180
4180
  description: "Basic Infomation",
4181
4181
  title: "基本信息",
@@ -4270,11 +4270,11 @@ const ie = /* @__PURE__ */ q({
4270
4270
  }
4271
4271
  }
4272
4272
  }
4273
- }, Fl = {
4274
- title: xl,
4275
- description: wl,
4276
- type: kl,
4277
- categories: Sl
4273
+ }, Tl = {
4274
+ title: wl,
4275
+ description: kl,
4276
+ type: Sl,
4277
+ categories: Fl
4278
4278
  }, nt = {
4279
4279
  customClass: { type: String, defaut: "" },
4280
4280
  customStyle: { type: String, defaut: "" },
@@ -4295,7 +4295,7 @@ const ie = /* @__PURE__ */ q({
4295
4295
  /** 面板最小高度 */
4296
4296
  minHeight: { type: Number, default: 100 },
4297
4297
  maxWidth: { type: Number, default: null }
4298
- }, At = he(nt, Cl, Vt, Rt, Fl);
4298
+ }, At = he(nt, xl, Vt, Rt, Tl);
4299
4299
  function Ht(e, t, n, a, l, o) {
4300
4300
  const {
4301
4301
  horizontalResizeBarPosition: i,
@@ -4392,19 +4392,19 @@ const ne = /* @__PURE__ */ q({
4392
4392
  }, null)]);
4393
4393
  }
4394
4394
  });
4395
- function Tl(e, t) {
4395
+ function Bl(e, t) {
4396
4396
  function n() {
4397
4397
  return !1;
4398
4398
  }
4399
4399
  return { canAccepts: n };
4400
4400
  }
4401
- const Bl = /* @__PURE__ */ q({
4401
+ const Ml = /* @__PURE__ */ q({
4402
4402
  name: "FLayoutDesign",
4403
4403
  props: tt,
4404
4404
  emits: [],
4405
4405
  setup(e, t) {
4406
4406
  var C;
4407
- const n = m(), a = Z("design-item-context"), l = Tl(a.schema, (C = a.parent) == null ? void 0 : C.schema), o = et(n, a, l);
4407
+ const n = m(), a = Z("design-item-context"), l = Bl(a.schema, (C = a.parent) == null ? void 0 : C.schema), o = et(n, a, l);
4408
4408
  o.value.canNested = !1;
4409
4409
  const i = Lt(n), {
4410
4410
  horizontalResizeHandleStyle: h,
@@ -4430,10 +4430,10 @@ const Bl = /* @__PURE__ */ q({
4430
4430
  }, null)]);
4431
4431
  }
4432
4432
  });
4433
- function Ml(e, t) {
4433
+ function Ol(e, t) {
4434
4434
  const n = e.schema;
4435
4435
  function a(o) {
4436
- return !!Un().basalDragulaRuleForContainer(o);
4436
+ return !!Gn().basalDragulaRuleForContainer(o);
4437
4437
  }
4438
4438
  function l() {
4439
4439
  const o = ["f-layout-pane"];
@@ -4441,14 +4441,14 @@ function Ml(e, t) {
4441
4441
  }
4442
4442
  return { canAccepts: a, getDesignerClass: l };
4443
4443
  }
4444
- const Ol = /* @__PURE__ */ q({
4444
+ const El = /* @__PURE__ */ q({
4445
4445
  name: "FLayoutPaneDesign",
4446
4446
  props: nt,
4447
4447
  emits: [],
4448
4448
  setup(e, t) {
4449
4449
  const n = m(), a = m();
4450
4450
  Z("designer-host-service");
4451
- const l = Z("design-item-context"), o = Ml(l), i = et(a, l, o);
4451
+ const l = Z("design-item-context"), o = Ol(l), i = et(a, l, o);
4452
4452
  i.value.canNested = !1, i.value.canMove = !1, i.value.canDelete = !1, K(() => {
4453
4453
  a.value.componentInstance = i;
4454
4454
  }), t.expose(i.value);
@@ -4501,9 +4501,9 @@ ie.register = (e, t, n, a) => {
4501
4501
  e.layout = ie, t.layout = jt, e["layout-pane"] = ne, t["layout-pane"] = At;
4502
4502
  };
4503
4503
  ie.registerDesigner = (e, t, n) => {
4504
- e.layout = Bl, t.layout = jt, e["layout-pane"] = Ol, t["layout-pane"] = At;
4504
+ e.layout = Ml, t.layout = jt, e["layout-pane"] = El, t["layout-pane"] = At;
4505
4505
  };
4506
- const El = [
4506
+ const Dl = [
4507
4507
  {
4508
4508
  key: "if",
4509
4509
  name: `if() {
@@ -4576,7 +4576,7 @@ const El = [
4576
4576
  keyFront: "",
4577
4577
  className: ""
4578
4578
  }
4579
- ], Dl = [
4579
+ ], Il = [
4580
4580
  {
4581
4581
  key: "IsNull",
4582
4582
  name: "是空值",
@@ -5302,7 +5302,7 @@ const El = [
5302
5302
  keyFront: "DefaultFunction",
5303
5303
  className: ""
5304
5304
  }
5305
- ], Il = [
5305
+ ], Pl = [
5306
5306
  {
5307
5307
  key: "DayDifference",
5308
5308
  name: "天数差",
@@ -5969,7 +5969,7 @@ const El = [
5969
5969
  keyFront: "DefaultFunction",
5970
5970
  className: ""
5971
5971
  }
5972
- ], Pl = [
5972
+ ], Nl = [
5973
5973
  {
5974
5974
  key: "NumberThousandSeparator",
5975
5975
  name: "数字千位分隔",
@@ -6119,7 +6119,7 @@ const El = [
6119
6119
  keyFront: "DefaultFunction",
6120
6120
  className: ""
6121
6121
  }
6122
- ], Nl = [
6122
+ ], Vl = [
6123
6123
  {
6124
6124
  key: "SubString",
6125
6125
  name: "取子字符串",
@@ -6442,7 +6442,7 @@ const El = [
6442
6442
  keyFront: "DefaultFunction",
6443
6443
  className: ""
6444
6444
  }
6445
- ], Vl = [
6445
+ ], Rl = [
6446
6446
  {
6447
6447
  key: "ToStringX",
6448
6448
  name: "转字符串",
@@ -6612,15 +6612,15 @@ const El = [
6612
6612
  keyFront: "DefaultFunction",
6613
6613
  className: ""
6614
6614
  }
6615
- ], Rl = {
6616
- analytical: { name: "数据", items: Dl },
6617
- datetime: { name: "时间", items: Il },
6618
- string: { name: "字符", items: Nl },
6619
- math: { name: "数字", items: Pl },
6620
- translate: { name: "转换", items: Vl },
6621
- advanced: { name: "高级", items: El }
6615
+ ], jl = {
6616
+ analytical: { name: "数据", items: Il },
6617
+ datetime: { name: "时间", items: Pl },
6618
+ string: { name: "字符", items: Vl },
6619
+ math: { name: "数字", items: Nl },
6620
+ translate: { name: "转换", items: Rl },
6621
+ advanced: { name: "高级", items: Dl }
6622
6622
  };
6623
- function jl(e, t, n) {
6623
+ function Ll(e, t, n) {
6624
6624
  return t in e ? Object.defineProperty(e, t, {
6625
6625
  value: n,
6626
6626
  enumerable: !0,
@@ -6642,23 +6642,23 @@ function ft(e) {
6642
6642
  for (var t = 1; t < arguments.length; t++) {
6643
6643
  var n = arguments[t] != null ? arguments[t] : {};
6644
6644
  t % 2 ? dt(Object(n), !0).forEach(function(a) {
6645
- jl(e, a, n[a]);
6645
+ Ll(e, a, n[a]);
6646
6646
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dt(Object(n)).forEach(function(a) {
6647
6647
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
6648
6648
  });
6649
6649
  }
6650
6650
  return e;
6651
6651
  }
6652
- function Ll(e, t) {
6652
+ function Al(e, t) {
6653
6653
  if (e == null) return {};
6654
6654
  var n = {}, a = Object.keys(e), l, o;
6655
6655
  for (o = 0; o < a.length; o++)
6656
6656
  l = a[o], !(t.indexOf(l) >= 0) && (n[l] = e[l]);
6657
6657
  return n;
6658
6658
  }
6659
- function Al(e, t) {
6659
+ function Hl(e, t) {
6660
6660
  if (e == null) return {};
6661
- var n = Ll(e, t), a, l;
6661
+ var n = Al(e, t), a, l;
6662
6662
  if (Object.getOwnPropertySymbols) {
6663
6663
  var o = Object.getOwnPropertySymbols(e);
6664
6664
  for (l = 0; l < o.length; l++)
@@ -6666,13 +6666,13 @@ function Al(e, t) {
6666
6666
  }
6667
6667
  return n;
6668
6668
  }
6669
- function Hl(e, t) {
6670
- return zl(e) || $l(e, t) || Wl(e, t) || ql();
6669
+ function zl(e, t) {
6670
+ return $l(e) || Wl(e, t) || ql(e, t) || Yl();
6671
6671
  }
6672
- function zl(e) {
6672
+ function $l(e) {
6673
6673
  if (Array.isArray(e)) return e;
6674
6674
  }
6675
- function $l(e, t) {
6675
+ function Wl(e, t) {
6676
6676
  if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(e)))) {
6677
6677
  var n = [], a = !0, l = !1, o = void 0;
6678
6678
  try {
@@ -6690,7 +6690,7 @@ function $l(e, t) {
6690
6690
  return n;
6691
6691
  }
6692
6692
  }
6693
- function Wl(e, t) {
6693
+ function ql(e, t) {
6694
6694
  if (e) {
6695
6695
  if (typeof e == "string") return mt(e, t);
6696
6696
  var n = Object.prototype.toString.call(e).slice(8, -1);
@@ -6703,11 +6703,11 @@ function mt(e, t) {
6703
6703
  for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
6704
6704
  return a;
6705
6705
  }
6706
- function ql() {
6706
+ function Yl() {
6707
6707
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6708
6708
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6709
6709
  }
6710
- function Yl(e, t, n) {
6710
+ function Ul(e, t, n) {
6711
6711
  return t in e ? Object.defineProperty(e, t, {
6712
6712
  value: n,
6713
6713
  enumerable: !0,
@@ -6729,14 +6729,14 @@ function pt(e) {
6729
6729
  for (var t = 1; t < arguments.length; t++) {
6730
6730
  var n = arguments[t] != null ? arguments[t] : {};
6731
6731
  t % 2 ? yt(Object(n), !0).forEach(function(a) {
6732
- Yl(e, a, n[a]);
6732
+ Ul(e, a, n[a]);
6733
6733
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yt(Object(n)).forEach(function(a) {
6734
6734
  Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(n, a));
6735
6735
  });
6736
6736
  }
6737
6737
  return e;
6738
6738
  }
6739
- function Ul() {
6739
+ function Gl() {
6740
6740
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
6741
6741
  t[n] = arguments[n];
6742
6742
  return function(a) {
@@ -6759,35 +6759,35 @@ function ge(e) {
6759
6759
  function De(e) {
6760
6760
  return {}.toString.call(e).includes("Object");
6761
6761
  }
6762
- function Gl(e) {
6762
+ function Xl(e) {
6763
6763
  return !Object.keys(e).length;
6764
6764
  }
6765
6765
  function ke(e) {
6766
6766
  return typeof e == "function";
6767
6767
  }
6768
- function Xl(e, t) {
6768
+ function _l(e, t) {
6769
6769
  return Object.prototype.hasOwnProperty.call(e, t);
6770
6770
  }
6771
- function _l(e, t) {
6771
+ function Kl(e, t) {
6772
6772
  return De(t) || se("changeType"), Object.keys(t).some(function(n) {
6773
- return !Xl(e, n);
6773
+ return !_l(e, n);
6774
6774
  }) && se("changeField"), t;
6775
6775
  }
6776
- function Kl(e) {
6776
+ function Jl(e) {
6777
6777
  ke(e) || se("selectorType");
6778
6778
  }
6779
- function Jl(e) {
6779
+ function Zl(e) {
6780
6780
  ke(e) || De(e) || se("handlerType"), De(e) && Object.values(e).some(function(t) {
6781
6781
  return !ke(t);
6782
6782
  }) && se("handlersType");
6783
6783
  }
6784
- function Zl(e) {
6785
- e || se("initialIsRequired"), De(e) || se("initialType"), Gl(e) && se("initialContent");
6784
+ function Ql(e) {
6785
+ e || se("initialIsRequired"), De(e) || se("initialType"), Xl(e) && se("initialContent");
6786
6786
  }
6787
- function Ql(e, t) {
6787
+ function eo(e, t) {
6788
6788
  throw new Error(e[t] || e.default);
6789
6789
  }
6790
- var eo = {
6790
+ var to = {
6791
6791
  initialIsRequired: "initial state is required",
6792
6792
  initialType: "initial state should be an object",
6793
6793
  initialContent: "initial state shouldn't be an empty object",
@@ -6797,18 +6797,18 @@ var eo = {
6797
6797
  changeType: "provided value of changes should be an object",
6798
6798
  changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
6799
6799
  default: "an unknown error accured in `state-local` package"
6800
- }, se = ge(Ql)(eo), Me = {
6801
- changes: _l,
6802
- selector: Kl,
6803
- handler: Jl,
6804
- initial: Zl
6800
+ }, se = ge(eo)(to), Me = {
6801
+ changes: Kl,
6802
+ selector: Jl,
6803
+ handler: Zl,
6804
+ initial: Ql
6805
6805
  };
6806
- function to(e) {
6806
+ function no(e) {
6807
6807
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6808
6808
  Me.initial(e), Me.handler(t);
6809
6809
  var n = {
6810
6810
  current: e
6811
- }, a = ge(lo)(n, t), l = ge(ao)(n), o = ge(Me.changes)(e), i = ge(no)(n);
6811
+ }, a = ge(oo)(n, t), l = ge(lo)(n), o = ge(Me.changes)(e), i = ge(ao)(n);
6812
6812
  function h() {
6813
6813
  var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(C) {
6814
6814
  return C;
@@ -6816,30 +6816,30 @@ function to(e) {
6816
6816
  return Me.selector(y), y(n.current);
6817
6817
  }
6818
6818
  function d(y) {
6819
- Ul(a, l, o, i)(y);
6819
+ Gl(a, l, o, i)(y);
6820
6820
  }
6821
6821
  return [h, d];
6822
6822
  }
6823
- function no(e, t) {
6823
+ function ao(e, t) {
6824
6824
  return ke(t) ? t(e.current) : t;
6825
6825
  }
6826
- function ao(e, t) {
6826
+ function lo(e, t) {
6827
6827
  return e.current = pt(pt({}, e.current), t), t;
6828
6828
  }
6829
- function lo(e, t, n) {
6829
+ function oo(e, t, n) {
6830
6830
  return ke(t) ? t(e.current) : Object.keys(n).forEach(function(a) {
6831
6831
  var l;
6832
6832
  return (l = t[a]) === null || l === void 0 ? void 0 : l.call(t, e.current[a]);
6833
6833
  }), n;
6834
6834
  }
6835
- var oo = {
6836
- create: to
6837
- }, io = {
6835
+ var io = {
6836
+ create: no
6837
+ }, so = {
6838
6838
  paths: {
6839
6839
  vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
6840
6840
  }
6841
6841
  };
6842
- function so(e) {
6842
+ function ro(e) {
6843
6843
  return function t() {
6844
6844
  for (var n = this, a = arguments.length, l = new Array(a), o = 0; o < a; o++)
6845
6845
  l[o] = arguments[o];
@@ -6850,20 +6850,20 @@ function so(e) {
6850
6850
  };
6851
6851
  };
6852
6852
  }
6853
- function ro(e) {
6853
+ function uo(e) {
6854
6854
  return {}.toString.call(e).includes("Object");
6855
6855
  }
6856
- function uo(e) {
6857
- return e || vt("configIsRequired"), ro(e) || vt("configType"), e.urls ? (co(), {
6856
+ function co(e) {
6857
+ return e || vt("configIsRequired"), uo(e) || vt("configType"), e.urls ? (fo(), {
6858
6858
  paths: {
6859
6859
  vs: e.urls.monacoBase
6860
6860
  }
6861
6861
  }) : e;
6862
6862
  }
6863
- function co() {
6863
+ function fo() {
6864
6864
  console.warn(zt.deprecation);
6865
6865
  }
6866
- function fo(e, t) {
6866
+ function mo(e, t) {
6867
6867
  throw new Error(e[t] || e.default);
6868
6868
  }
6869
6869
  var zt = {
@@ -6880,9 +6880,9 @@ var zt = {
6880
6880
 
6881
6881
  For more please check the link https://github.com/suren-atoyan/monaco-loader#config
6882
6882
  `
6883
- }, vt = so(fo)(zt), mo = {
6884
- config: uo
6885
- }, yo = function() {
6883
+ }, vt = ro(mo)(zt), yo = {
6884
+ config: co
6885
+ }, po = function() {
6886
6886
  for (var t = arguments.length, n = new Array(t), a = 0; a < t; a++)
6887
6887
  n[a] = arguments[a];
6888
6888
  return function(l) {
@@ -6896,29 +6896,29 @@ function $t(e, t) {
6896
6896
  t[n] instanceof Object && e[n] && Object.assign(t[n], $t(e[n], t[n]));
6897
6897
  }), ft(ft({}, e), t);
6898
6898
  }
6899
- var po = {
6899
+ var vo = {
6900
6900
  type: "cancelation",
6901
6901
  msg: "operation is manually canceled"
6902
6902
  };
6903
6903
  function $e(e) {
6904
6904
  var t = !1, n = new Promise(function(a, l) {
6905
6905
  e.then(function(o) {
6906
- return t ? l(po) : a(o);
6906
+ return t ? l(vo) : a(o);
6907
6907
  }), e.catch(l);
6908
6908
  });
6909
6909
  return n.cancel = function() {
6910
6910
  return t = !0;
6911
6911
  }, n;
6912
6912
  }
6913
- var vo = oo.create({
6914
- config: io,
6913
+ var ho = io.create({
6914
+ config: so,
6915
6915
  isInitialized: !1,
6916
6916
  resolve: null,
6917
6917
  reject: null,
6918
6918
  monaco: null
6919
- }), Wt = Hl(vo, 2), Fe = Wt[0], Re = Wt[1];
6920
- function ho(e) {
6921
- var t = mo.config(e), n = t.monaco, a = Al(t, ["monaco"]);
6919
+ }), Wt = zl(ho, 2), Fe = Wt[0], Re = Wt[1];
6920
+ function go(e) {
6921
+ var t = yo.config(e), n = t.monaco, a = Hl(t, ["monaco"]);
6922
6922
  Re(function(l) {
6923
6923
  return {
6924
6924
  config: $t(l.config, a),
@@ -6926,7 +6926,7 @@ function ho(e) {
6926
6926
  };
6927
6927
  });
6928
6928
  }
6929
- function go() {
6929
+ function bo() {
6930
6930
  var e = Fe(function(t) {
6931
6931
  var n = t.monaco, a = t.isInitialized, l = t.resolve;
6932
6932
  return {
@@ -6942,30 +6942,30 @@ function go() {
6942
6942
  return e.resolve(e.monaco), $e(We);
6943
6943
  if (window.monaco && window.monaco.editor)
6944
6944
  return qt(window.monaco), e.resolve(window.monaco), $e(We);
6945
- yo(bo, xo)(wo);
6945
+ po(Co, wo)(ko);
6946
6946
  }
6947
6947
  return $e(We);
6948
6948
  }
6949
- function bo(e) {
6949
+ function Co(e) {
6950
6950
  return document.body.appendChild(e);
6951
6951
  }
6952
- function Co(e) {
6952
+ function xo(e) {
6953
6953
  var t = document.createElement("script");
6954
6954
  return e && (t.src = e), t;
6955
6955
  }
6956
- function xo(e) {
6956
+ function wo(e) {
6957
6957
  var t = Fe(function(a) {
6958
6958
  var l = a.config, o = a.reject;
6959
6959
  return {
6960
6960
  config: l,
6961
6961
  reject: o
6962
6962
  };
6963
- }), n = Co("".concat(t.config.paths.vs, "/loader.js"));
6963
+ }), n = xo("".concat(t.config.paths.vs, "/loader.js"));
6964
6964
  return n.onload = function() {
6965
6965
  return e();
6966
6966
  }, n.onerror = t.reject, n;
6967
6967
  }
6968
- function wo() {
6968
+ function ko() {
6969
6969
  var e = Fe(function(n) {
6970
6970
  var a = n.config, l = n.resolve, o = n.reject;
6971
6971
  return {
@@ -6985,7 +6985,7 @@ function qt(e) {
6985
6985
  monaco: e
6986
6986
  });
6987
6987
  }
6988
- function ko() {
6988
+ function So() {
6989
6989
  return Fe(function(e) {
6990
6990
  var t = e.monaco;
6991
6991
  return t;
@@ -6997,11 +6997,11 @@ var We = new Promise(function(e, t) {
6997
6997
  reject: t
6998
6998
  });
6999
6999
  }), qe = {
7000
- config: ho,
7001
- init: go,
7002
- __getMonacoInstance: ko
7000
+ config: go,
7001
+ init: bo,
7002
+ __getMonacoInstance: So
7003
7003
  };
7004
- const So = /* @__PURE__ */ q({
7004
+ const Fo = /* @__PURE__ */ q({
7005
7005
  name: "expression-code",
7006
7006
  props: {
7007
7007
  modelValue: {
@@ -7130,20 +7130,20 @@ const So = /* @__PURE__ */ q({
7130
7130
  ref: n
7131
7131
  }, null);
7132
7132
  }
7133
- }), Fo = {
7133
+ }), To = {
7134
7134
  dataSource: {
7135
7135
  type: Object,
7136
7136
  default: {}
7137
7137
  }
7138
- }, To = {
7138
+ }, Bo = {
7139
7139
  data: { type: Array, default: [] },
7140
7140
  idField: { type: String, default: "id" },
7141
7141
  textField: { type: String, default: "name" },
7142
7142
  formatter: { type: Function },
7143
7143
  customRowStatus: { type: Object, default: null }
7144
- }, Bo = /* @__PURE__ */ q({
7144
+ }, Mo = /* @__PURE__ */ q({
7145
7145
  name: "FEntitiesTree",
7146
- props: To,
7146
+ props: Bo,
7147
7147
  emits: ["dblclickNode"],
7148
7148
  setup(e, t) {
7149
7149
  const n = m(e.data), a = m(), l = m();
@@ -7213,9 +7213,9 @@ const So = /* @__PURE__ */ q({
7213
7213
  onExpandNode: C
7214
7214
  }, null)]);
7215
7215
  }
7216
- }), Mo = /* @__PURE__ */ q({
7216
+ }), Oo = /* @__PURE__ */ q({
7217
7217
  name: "entity-variable",
7218
- props: Fo,
7218
+ props: To,
7219
7219
  emits: ["variableItemDblClick", "entityItemDblClick", "fieldClick"],
7220
7220
  setup(e, t) {
7221
7221
  const n = m("dataEntity"), a = m(e.dataSource), {
@@ -7290,7 +7290,7 @@ const So = /* @__PURE__ */ q({
7290
7290
  });
7291
7291
  }
7292
7292
  function r() {
7293
- return u(Bo, {
7293
+ return u(Mo, {
7294
7294
  data: h.value,
7295
7295
  formatter: y,
7296
7296
  onDblclickNode: w
@@ -7397,7 +7397,7 @@ const So = /* @__PURE__ */ q({
7397
7397
  class: "data-area f-utils-fill"
7398
7398
  }, [c()])])])]);
7399
7399
  }
7400
- }), Oo = {
7400
+ }), Eo = {
7401
7401
  functionItems: {
7402
7402
  type: Array,
7403
7403
  default: []
@@ -7406,9 +7406,9 @@ const So = /* @__PURE__ */ q({
7406
7406
  type: Boolean,
7407
7407
  default: !0
7408
7408
  }
7409
- }, Eo = /* @__PURE__ */ q({
7409
+ }, Do = /* @__PURE__ */ q({
7410
7410
  name: "FExpressionEditor",
7411
- props: Oo,
7411
+ props: Eo,
7412
7412
  emits: ["insertFunction", "search"],
7413
7413
  setup(e, t) {
7414
7414
  const n = m(), a = m(""), l = m(), o = m({}), i = m(""), h = "没有与搜索条件匹配的项", d = m(e.functionItems), y = B(() => (r) => e.singleExpand ? {
@@ -7555,7 +7555,7 @@ const So = /* @__PURE__ */ q({
7555
7555
  })]);
7556
7556
  }
7557
7557
  });
7558
- function Do(e) {
7558
+ function Io(e) {
7559
7559
  async function t() {
7560
7560
  return fetch(e.esprimaPath).then((i) => i.json());
7561
7561
  }
@@ -7606,8 +7606,8 @@ function Do(e) {
7606
7606
  runWithEsprima: o
7607
7607
  };
7608
7608
  }
7609
- function Io(e, t, n) {
7610
- const a = m(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: i } = Do(e);
7609
+ function Po(e, t, n) {
7610
+ const a = m(e.disabledFunctions), { getTokens: l, getVariableMaps: o, runWithEsprima: i } = Io(e);
7611
7611
  function h() {
7612
7612
  const g = pe(t);
7613
7613
  if (a.value) {
@@ -7725,7 +7725,7 @@ function Io(e, t, n) {
7725
7725
  getExpressionTextValue: F
7726
7726
  };
7727
7727
  }
7728
- function Po(e, t) {
7728
+ function No(e, t) {
7729
7729
  const n = m([]), a = pe(t.value), l = Object.values(a).map((h) => h.items).flat();
7730
7730
  function o(h) {
7731
7731
  const d = pe(a);
@@ -7748,9 +7748,9 @@ function Po(e, t) {
7748
7748
  onFunctionSearch: i
7749
7749
  };
7750
7750
  }
7751
- const No = /* @__PURE__ */ q({
7751
+ const Vo = /* @__PURE__ */ q({
7752
7752
  name: "FExpressionEditor",
7753
- props: Qa,
7753
+ props: el,
7754
7754
  emits: [],
7755
7755
  setup(e, t) {
7756
7756
  var V;
@@ -7770,9 +7770,9 @@ const No = /* @__PURE__ */ q({
7770
7770
  getFieldExpression: p,
7771
7771
  getExpressionCodeValue: v,
7772
7772
  getExpressionTextValue: x
7773
- } = Io(e, Rl, e.variables), S = m(C()), {
7773
+ } = Po(e, jl, e.variables), S = m(C()), {
7774
7774
  onFunctionSearch: F
7775
- } = Po(e, S);
7775
+ } = No(e, S);
7776
7776
  function g({
7777
7777
  $event: P,
7778
7778
  item: M
@@ -7860,7 +7860,7 @@ const No = /* @__PURE__ */ q({
7860
7860
  width: 248,
7861
7861
  minWidth: 130
7862
7862
  }, {
7863
- default: () => [u(Eo, {
7863
+ default: () => [u(Do, {
7864
7864
  functionItems: S.value,
7865
7865
  singleExpand: e.singleExpand,
7866
7866
  onInsertFunction: g,
@@ -7873,7 +7873,7 @@ const No = /* @__PURE__ */ q({
7873
7873
  }, {
7874
7874
  default: () => [u("div", {
7875
7875
  class: "f-utils-fill my-2 ml-1"
7876
- }, [u(So, {
7876
+ }, [u(Fo, {
7877
7877
  modelValue: N.value,
7878
7878
  "onUpdate:modelValue": (P) => N.value = P,
7879
7879
  ref: i
@@ -7882,7 +7882,7 @@ const No = /* @__PURE__ */ q({
7882
7882
  style: "background: #fafafa"
7883
7883
  }, [u("div", {
7884
7884
  class: "d-flex align-items-center py-1"
7885
- }, [u("b", null, [U("提示信息:")]), e.showMessageType && u(de, {
7885
+ }, [u("b", null, [U("提示信息:")]), e.showMessageType && u(fe, {
7886
7886
  style: "width: 75px",
7887
7887
  data: h,
7888
7888
  modelValue: l.value,
@@ -7903,7 +7903,7 @@ const No = /* @__PURE__ */ q({
7903
7903
  width: 258,
7904
7904
  minWidth: 130
7905
7905
  }, {
7906
- default: () => [u(Mo, {
7906
+ default: () => [u(Oo, {
7907
7907
  dataSource: {
7908
7908
  entities: e.entities,
7909
7909
  variables: e.variables
@@ -7915,7 +7915,7 @@ const No = /* @__PURE__ */ q({
7915
7915
  })]
7916
7916
  })]);
7917
7917
  }
7918
- }), Vo = "https://json-schema.org/draft/2020-12/schema", Ro = "https://farris-design.gitee.io/expression-editor.schema.json", jo = "expression-editor", Lo = "A Farris Expression Editor Component", Ao = "object", Ho = {
7918
+ }), Ro = "https://json-schema.org/draft/2020-12/schema", jo = "https://farris-design.gitee.io/expression-editor.schema.json", Lo = "expression-editor", Ao = "A Farris Expression Editor Component", Ho = "object", zo = {
7919
7919
  id: {
7920
7920
  description: "The unique identifier for a Expression Editor",
7921
7921
  type: "string"
@@ -8012,17 +8012,17 @@ const No = /* @__PURE__ */ q({
8012
8012
  type: "boolean",
8013
8013
  default: !0
8014
8014
  }
8015
- }, zo = [
8015
+ }, $o = [
8016
8016
  "id",
8017
8017
  "type"
8018
- ], $o = {
8019
- $schema: Vo,
8020
- $id: Ro,
8021
- title: jo,
8022
- description: Lo,
8023
- type: Ao,
8024
- properties: Ho,
8025
- required: zo
8018
+ ], Wo = {
8019
+ $schema: Ro,
8020
+ $id: jo,
8021
+ title: Lo,
8022
+ description: Ao,
8023
+ type: Ho,
8024
+ properties: zo,
8025
+ required: $o
8026
8026
  }, Yt = {
8027
8027
  disabled: {
8028
8028
  type: Boolean,
@@ -8121,8 +8121,8 @@ const No = /* @__PURE__ */ q({
8121
8121
  default: !1
8122
8122
  }
8123
8123
  };
8124
- he(Yt, $o);
8125
- const Wo = {
8124
+ he(Yt, Wo);
8125
+ const qo = {
8126
8126
  showCloseButton: { type: Boolean, default: !0 },
8127
8127
  position: { type: String, default: "top-center" },
8128
8128
  timeout: { type: Number, default: 3e3 },
@@ -8135,13 +8135,13 @@ const Wo = {
8135
8135
  animate: { type: String, default: "fadeIn" },
8136
8136
  options: { type: Object },
8137
8137
  safeHtml: { type: Boolean, default: !0 }
8138
- }, qo = {
8138
+ }, Yo = {
8139
8139
  showCloseButton: { type: Boolean, default: !0 },
8140
8140
  animate: { type: String, default: "fadeIn" },
8141
8141
  options: { type: Object }
8142
8142
  }, Ue = /* @__PURE__ */ q({
8143
8143
  name: "Toast",
8144
- props: qo,
8144
+ props: Yo,
8145
8145
  emits: ["close", "click"],
8146
8146
  setup: (e, t) => {
8147
8147
  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(() => {
@@ -8222,7 +8222,7 @@ const Wo = {
8222
8222
  }
8223
8223
  }), Oe = /* @__PURE__ */ q({
8224
8224
  name: "Notify",
8225
- props: Wo,
8225
+ props: qo,
8226
8226
  emits: ["close", "empty"],
8227
8227
  setup(e, t) {
8228
8228
  var F;
@@ -8275,7 +8275,7 @@ const Wo = {
8275
8275
  };
8276
8276
  }
8277
8277
  });
8278
- class Yo {
8278
+ class Uo {
8279
8279
  constructor() {
8280
8280
  te(this, "notifyRefs", []);
8281
8281
  te(this, "globalConfig", J({}));
@@ -8321,7 +8321,7 @@ class Yo {
8321
8321
  name: "fade",
8322
8322
  appear: !0
8323
8323
  }, {
8324
- default: () => [u(Oe, ye({
8324
+ default: () => [u(Oe, de({
8325
8325
  ref: h
8326
8326
  }, l, {
8327
8327
  onClose: d
@@ -8397,10 +8397,10 @@ class Yo {
8397
8397
  const at = Symbol("NOTIFY_SERVICE_TOKEN");
8398
8398
  Oe.install = (e) => {
8399
8399
  e.component(Oe.name, Oe), e.component(Ue.name, Ue);
8400
- const t = new Yo();
8400
+ const t = new Uo();
8401
8401
  e.provide(at, t), e.provide("FNotifyService", t);
8402
8402
  };
8403
- const Uo = /* @__PURE__ */ q({
8403
+ const Go = /* @__PURE__ */ q({
8404
8404
  name: "f-expression-textbox",
8405
8405
  props: Yt,
8406
8406
  setup(e, t) {
@@ -8517,7 +8517,7 @@ const Uo = /* @__PURE__ */ q({
8517
8517
  }, {
8518
8518
  default: () => [u("div", {
8519
8519
  class: "h-100 d-flex flex-column"
8520
- }, [u(No, {
8520
+ }, [u(Vo, {
8521
8521
  ref: d,
8522
8522
  validateMessage: y.value,
8523
8523
  showMessageType: e.showMessageType,
@@ -8536,8 +8536,8 @@ const Uo = /* @__PURE__ */ q({
8536
8536
  });
8537
8537
  }
8538
8538
  });
8539
- var Ut = /* @__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))(Ut || {}), me = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(me || {}), ae = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e[e.Variable = 2] = "Variable", e))(ae || {}), Go = /* @__PURE__ */ ((e) => (e.Asc = "asc", e.Desc = "desc", e))(Go || {});
8540
- const Xo = (e) => ((e.raw.$type !== "SimpleField" || e.raw.selectable === !1) && (e.disabled = !0), e);
8539
+ var Ut = /* @__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))(Ut || {}), ye = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(ye || {}), ae = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Expression = 1] = "Expression", e[e.Variable = 2] = "Variable", e))(ae || {}), Xo = /* @__PURE__ */ ((e) => (e.Asc = "asc", e.Desc = "desc", e))(Xo || {});
8540
+ const _o = (e) => ((e.raw.$type !== "SimpleField" || e.raw.selectable === !1) && (e.disabled = !0), e);
8541
8541
  function Gt(e) {
8542
8542
  const t = [
8543
8543
  { value: "", label: " " },
@@ -8583,9 +8583,9 @@ function Gt(e) {
8583
8583
  ]
8584
8584
  };
8585
8585
  }
8586
- const _o = /* @__PURE__ */ new Map([
8586
+ const Ko = /* @__PURE__ */ new Map([
8587
8587
  ["appearance", Qe]
8588
- ]), Ko = "https://json-schema.org/draft/2020-12/schema", Jo = "https://farris-design.gitee.io/combo-list.schema.json", Zo = "combo-tree", Qo = "A Farris Input Component", ei = "object", ti = {
8588
+ ]), Jo = "https://json-schema.org/draft/2020-12/schema", Zo = "https://farris-design.gitee.io/combo-list.schema.json", Qo = "combo-tree", ei = "A Farris Input Component", ti = "object", ni = {
8589
8589
  id: {
8590
8590
  description: "The unique identifier for a combo list",
8591
8591
  type: "string"
@@ -8743,19 +8743,19 @@ const _o = /* @__PURE__ */ new Map([
8743
8743
  type: "boolean",
8744
8744
  default: !0
8745
8745
  }
8746
- }, ni = [
8746
+ }, ai = [
8747
8747
  "id",
8748
8748
  "type"
8749
- ], ai = {
8750
- $schema: Ko,
8751
- $id: Jo,
8752
- title: Zo,
8753
- description: Qo,
8754
- type: ei,
8755
- properties: ti,
8756
- required: ni
8749
+ ], li = {
8750
+ $schema: Jo,
8751
+ $id: Zo,
8752
+ title: Qo,
8753
+ description: ei,
8754
+ type: ti,
8755
+ properties: ni,
8756
+ required: ai
8757
8757
  };
8758
- function li(e, t, n) {
8758
+ function oi(e, t, n) {
8759
8759
  return t;
8760
8760
  }
8761
8761
  const Xt = {
@@ -8928,7 +8928,7 @@ const Xt = {
8928
8928
  * 查询字段集合
8929
8929
  */
8930
8930
  searchFields: { type: Array, default: ["name"] }
8931
- }, oi = he(Xt, ai, _o, li), ii = {
8931
+ }, ii = he(Xt, li, Ko, oi), si = {
8932
8932
  data: { type: Array, default: [] },
8933
8933
  enableSearch: { type: Boolean, default: !1 },
8934
8934
  idField: { type: String, default: "id" },
@@ -8947,9 +8947,9 @@ const Xt = {
8947
8947
  customRowStatus: { type: Object, default: null },
8948
8948
  searchHandler: { type: Function, default: () => {
8949
8949
  } }
8950
- }, si = /* @__PURE__ */ q({
8950
+ }, ri = /* @__PURE__ */ q({
8951
8951
  name: "FComboTreeContainer",
8952
- props: ii,
8952
+ props: si,
8953
8953
  emits: ["selectionChange", "selectItem", "unSelectItem", "expandNode"],
8954
8954
  setup(e, t) {
8955
8955
  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 = {
@@ -8999,7 +8999,7 @@ const Xt = {
8999
8999
  class: "p-2",
9000
9000
  style: "position: sticky;top:0;z-index: 2; background:white",
9001
9001
  onMousedown: (s) => s.stopPropagation()
9002
- }, [u(Xn, {
9002
+ }, [u(_n, {
9003
9003
  buttonContent: '<i class="f-icon f-icon-search"></i>',
9004
9004
  enableClear: !0,
9005
9005
  placeholder: "请输入搜索内容",
@@ -9032,7 +9032,7 @@ const Xt = {
9032
9032
  }, null)]);
9033
9033
  }
9034
9034
  });
9035
- function ri(e) {
9035
+ function ui(e) {
9036
9036
  const t = m(""), n = m(e.modelValue), a = m(e.data || []), l = m(e.editable);
9037
9037
  function o(p, v = []) {
9038
9038
  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);
@@ -9076,7 +9076,7 @@ function ri(e) {
9076
9076
  p !== v && (n.value = p, h(p));
9077
9077
  }), h(e.modelValue), { dataSource: a, displayText: t, editable: l, modelValue: n, getItemsByDisplayText: d, getItemsByValue: i, getSelectedItemsByDisplayText: C, flatTreeNodes: o };
9078
9078
  }
9079
- function ui(e, t) {
9079
+ function ci(e, t) {
9080
9080
  const { comboEditorRef: n, dataSource: a, searchFields: l, originalValue: o, showPopover: i, flatTreeNodes: h, comboTreeRef: d } = e;
9081
9081
  let y = !1, C = null;
9082
9082
  function p(r, c) {
@@ -9170,7 +9170,7 @@ const Ie = /* @__PURE__ */ q({
9170
9170
  editable: S,
9171
9171
  modelValue: F,
9172
9172
  flatTreeNodes: g
9173
- } = ri(e), s = B(() => e.multiSelect);
9173
+ } = ui(e), s = B(() => e.multiSelect);
9174
9174
  B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
9175
9175
  const f = B(() => {
9176
9176
  var R;
@@ -9179,7 +9179,7 @@ const Ie = /* @__PURE__ */ q({
9179
9179
  }), {
9180
9180
  onValueChange: k,
9181
9181
  resetDataSource: w
9182
- } = ui({
9182
+ } = ci({
9183
9183
  comboEditorRef: n,
9184
9184
  dataSource: v,
9185
9185
  searchFields: h,
@@ -9267,7 +9267,7 @@ const Ie = /* @__PURE__ */ q({
9267
9267
  placement: e.placement,
9268
9268
  popupMinWidth: e.minPanelWidth
9269
9269
  }, {
9270
- default: () => [f.value && u(si, {
9270
+ default: () => [f.value && u(ri, {
9271
9271
  ref: y,
9272
9272
  maxHeight: e.maxHeight,
9273
9273
  multiSelect: e.multiSelect,
@@ -9293,7 +9293,7 @@ const Ie = /* @__PURE__ */ q({
9293
9293
  }
9294
9294
  });
9295
9295
  Ie.register = (e, t, n, a) => {
9296
- e["combo-tree"] = Ie, t["combo-tree"] = oi;
9296
+ e["combo-tree"] = Ie, t["combo-tree"] = ii;
9297
9297
  };
9298
9298
  Ke(Ie);
9299
9299
  function _t(e) {
@@ -9308,7 +9308,7 @@ function _t(e) {
9308
9308
  idField: e.idField || "id",
9309
9309
  enableClear: !1,
9310
9310
  minPanelWidth: 220,
9311
- customRowStatus: Xo,
9311
+ customRowStatus: _o,
9312
9312
  enableSearch: e.enableSearch,
9313
9313
  searchFields: [e.textField || "name", e.valueField || "path"]
9314
9314
  }, null);
@@ -9356,7 +9356,7 @@ function Kt(e, t, n) {
9356
9356
  onRowClick: p
9357
9357
  };
9358
9358
  }
9359
- const ci = /* @__PURE__ */ q({
9359
+ const di = /* @__PURE__ */ q({
9360
9360
  name: "filter-condition-grid",
9361
9361
  props: Et,
9362
9362
  emits: ["insert", "remove", "rowClick"],
@@ -9382,7 +9382,7 @@ const ci = /* @__PURE__ */ q({
9382
9382
  var r, c;
9383
9383
  switch (w.expresstype) {
9384
9384
  case ae.Variable:
9385
- return u(Gn, {
9385
+ return u(Xn, {
9386
9386
  modelValue: w.value,
9387
9387
  "onUpdate:modelValue": (b) => w.value = b,
9388
9388
  showOutline: !1,
@@ -9390,7 +9390,7 @@ const ci = /* @__PURE__ */ q({
9390
9390
  varData: (c = e.formContextData) == null ? void 0 : c.varData
9391
9391
  }, null);
9392
9392
  case ae.Expression:
9393
- return u(Uo, ye({
9393
+ return u(Go, de({
9394
9394
  modelValue: w.value,
9395
9395
  "onUpdate:modelValue": (b) => w.value = b
9396
9396
  }, s.value), null);
@@ -9406,7 +9406,7 @@ const ci = /* @__PURE__ */ q({
9406
9406
  }
9407
9407
  }
9408
9408
  function k(w, r, c) {
9409
- return u(de, {
9409
+ return u(fe, {
9410
9410
  data: r,
9411
9411
  modelValue: w[c],
9412
9412
  "onUpdate:modelValue": (b) => w[c] = b,
@@ -9484,7 +9484,7 @@ const ci = /* @__PURE__ */ q({
9484
9484
  class: "px-1"
9485
9485
  }, [k(w, o, "relation")])]))])])]);
9486
9486
  }
9487
- }), di = {
9487
+ }), fi = {
9488
9488
  width: { Type: Number, default: 400 },
9489
9489
  /**
9490
9490
  * 类型
@@ -9529,12 +9529,12 @@ const ci = /* @__PURE__ */ q({
9529
9529
  function lt() {
9530
9530
  return new DOMException("The request is not allowed", "NotAllowedError");
9531
9531
  }
9532
- async function fi(e) {
9532
+ async function mi(e) {
9533
9533
  if (!navigator.clipboard)
9534
9534
  throw lt();
9535
9535
  return navigator.clipboard.writeText(e);
9536
9536
  }
9537
- async function mi(e) {
9537
+ async function yi(e) {
9538
9538
  const t = document.createElement("span");
9539
9539
  t.textContent = e, t.style.whiteSpace = "pre", t.style.webkitUserSelect = "auto", t.style.userSelect = "all", document.body.appendChild(t);
9540
9540
  const n = window.getSelection(), a = window.document.createRange();
@@ -9548,24 +9548,24 @@ async function mi(e) {
9548
9548
  if (!l)
9549
9549
  throw lt();
9550
9550
  }
9551
- async function yi(e) {
9551
+ async function pi(e) {
9552
9552
  try {
9553
- await fi(e);
9553
+ await mi(e);
9554
9554
  } catch (t) {
9555
9555
  try {
9556
- await mi(e);
9556
+ await yi(e);
9557
9557
  } catch (n) {
9558
9558
  throw n || t || lt();
9559
9559
  }
9560
9560
  }
9561
9561
  }
9562
- function pi() {
9562
+ function vi() {
9563
9563
  async function e(t) {
9564
- await yi(t);
9564
+ await pi(t);
9565
9565
  }
9566
9566
  return { onCopy: e };
9567
9567
  }
9568
- function vi(e, t, n, a) {
9568
+ function hi(e, t, n, a) {
9569
9569
  const l = m(14), o = m(140), i = m(""), h = m(a.value.length), d = B(() => a.value), y = B(() => ({
9570
9570
  "font-size": `${l.value}px`,
9571
9571
  height: "100%"
@@ -9590,14 +9590,14 @@ function vi(e, t, n, a) {
9590
9590
  style: "position: absolute; bottom: 76px; right: 32px; cursor: pointer; text-align: right;"
9591
9591
  }, [h.value + " / " + o.value])]);
9592
9592
  }
9593
- function hi(e, t, n, a) {
9594
- const l = vi(e, t, n, a), o = /* @__PURE__ */ new Map([["text-area", l]]);
9593
+ function gi(e, t, n, a) {
9594
+ const l = hi(e, t, n, a), o = /* @__PURE__ */ new Map([["text-area", l]]);
9595
9595
  function i(h) {
9596
9596
  return o.get(h) || null;
9597
9597
  }
9598
9598
  return { getEditorRender: i };
9599
9599
  }
9600
- function gi() {
9600
+ function bi() {
9601
9601
  const e = m(!1), t = m("复制成功");
9602
9602
  return {
9603
9603
  feedbackStyle: B(() => {
@@ -9624,11 +9624,11 @@ function gi() {
9624
9624
  toShowFeedback: e
9625
9625
  };
9626
9626
  }
9627
- function bi(e, t) {
9627
+ function Ci(e, t) {
9628
9628
  const n = t.getEditorRender(e.promptEditorType);
9629
9629
  return () => n && n();
9630
9630
  }
9631
- function Ci(e, t) {
9631
+ function xi(e, t) {
9632
9632
  function n(x) {
9633
9633
  if (x == null)
9634
9634
  return 0;
@@ -9681,14 +9681,14 @@ function Ci(e, t) {
9681
9681
  onClick: v
9682
9682
  }, [y.value])])])]);
9683
9683
  }
9684
- function xi(e) {
9684
+ function wi(e) {
9685
9685
  return () => u("p", {
9686
9686
  class: "toast-msg-detail",
9687
9687
  innerHTML: e.value,
9688
9688
  style: "max-height: calc(100vh - 200px);overflow: auto;"
9689
9689
  }, null);
9690
9690
  }
9691
- function wi(e, t, n, a, l) {
9691
+ function ki(e, t, n, a, l) {
9692
9692
  const o = m(e.exceptionInfo), i = B(() => {
9693
9693
  const S = t.value === "question" ? "warning" : t.value, F = {
9694
9694
  "f-icon": !0
@@ -9696,7 +9696,7 @@ function wi(e, t, n, a, l) {
9696
9696
  return F[g] = !0, F;
9697
9697
  }), h = B(() => n.value || o.value && o.value.message), d = B(() => a.value), y = B(() => !!a.value), C = B(() => !!o.value);
9698
9698
  function p() {
9699
- return C.value ? Ci(o, l) : y.value ? xi(d) : () => null;
9699
+ return C.value ? xi(o, l) : y.value ? wi(d) : () => null;
9700
9700
  }
9701
9701
  const v = p(), x = B(() => l.locale === "en" ? {
9702
9702
  wordBreak: "keep-all",
@@ -9714,7 +9714,7 @@ function wi(e, t, n, a, l) {
9714
9714
  style: x.value
9715
9715
  }, null), v()])]);
9716
9716
  }
9717
- function ki(e, t, n, a) {
9717
+ function Si(e, t, n, a) {
9718
9718
  const {
9719
9719
  onCopy: l
9720
9720
  } = t, {
@@ -9740,8 +9740,8 @@ function ki(e, t, n, a) {
9740
9740
  style: "cursor: pointer;"
9741
9741
  }, [h.value])]);
9742
9742
  }
9743
- function Si(e, t, n, a, l) {
9744
- 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 = ki(e, n, a, l);
9743
+ function Fi(e, t, n, a, l) {
9744
+ 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 = Si(e, n, a, l);
9745
9745
  d.value === "关闭" ? d.value = l.close : d.value === "知道了" && (d.value = l.exception.roger);
9746
9746
  function f(r) {
9747
9747
  o.value === "question" && t.emit("reject"), t.emit("close");
@@ -9786,7 +9786,7 @@ function Si(e, t, n, a, l) {
9786
9786
  class: r.iconClass
9787
9787
  }, null), r.text]))]);
9788
9788
  }
9789
- function Fi(e) {
9789
+ function Ti(e) {
9790
9790
  const { getLocaleValue: t } = ee, n = ee.getLocale();
9791
9791
  function a(l, o, i) {
9792
9792
  return o === i ? t(l) : o;
@@ -9815,10 +9815,10 @@ function Fi(e) {
9815
9815
  }
9816
9816
  const Ee = /* @__PURE__ */ q({
9817
9817
  name: "FMessageBox",
9818
- props: di,
9818
+ props: fi,
9819
9819
  emits: ["accept", "reject", "close", "neverShowAgain"],
9820
9820
  setup(e, t) {
9821
- const n = Fi(e), a = m(e.type), l = m(e.title), o = m(e.detail), i = B(() => {
9821
+ const n = Ti(e), a = m(e.type), l = m(e.title), o = m(e.detail), i = B(() => {
9822
9822
  const s = {
9823
9823
  "modal-tips": !0,
9824
9824
  "d-flex": !0,
@@ -9830,7 +9830,7 @@ const Ee = /* @__PURE__ */ q({
9830
9830
  cursor: "default"
9831
9831
  };
9832
9832
  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;
9833
- }), d = pi(), y = hi(e, a, l, o), C = gi(), {
9833
+ }), d = vi(), y = gi(e, a, l, o), C = bi(), {
9834
9834
  feedbackStyle: p,
9835
9835
  feedbackMessage: v
9836
9836
  } = C;
@@ -9843,12 +9843,12 @@ const Ee = /* @__PURE__ */ q({
9843
9843
  function S() {
9844
9844
  switch (a.value) {
9845
9845
  case "prompt":
9846
- return bi(e, y);
9846
+ return Ci(e, y);
9847
9847
  default:
9848
- return wi(e, a, l, o, n);
9848
+ return ki(e, a, l, o, n);
9849
9849
  }
9850
9850
  }
9851
- const F = S(), g = Si(e, t, d, C, n);
9851
+ const F = S(), g = Fi(e, t, d, C, n);
9852
9852
  return () => u("div", {
9853
9853
  class: ["farris-messager", we() ? "is-mobile" : ""]
9854
9854
  }, [!e.exceptionInfo && u("div", {
@@ -9899,7 +9899,7 @@ const Ee = /* @__PURE__ */ q({
9899
9899
  showMaxButton: !1,
9900
9900
  draggable: !0,
9901
9901
  dragHandle: ".messager-draggable",
9902
- render: () => u(Ee, ye(l, {
9902
+ render: () => u(Ee, de(l, {
9903
9903
  onAccept: d,
9904
9904
  onReject: y,
9905
9905
  onClose: S,
@@ -9992,7 +9992,7 @@ let ve = Q;
9992
9992
  Ee.install = (e) => {
9993
9993
  e.component(Ee.name, Ee), ve.app = e, e.provide("FMessageBoxService", ve);
9994
9994
  };
9995
- const Ti = /* @__PURE__ */ q({
9995
+ const Bi = /* @__PURE__ */ q({
9996
9996
  name: "filter-condition-actions",
9997
9997
  props: ["canClear", "canMove", "questionMessage"],
9998
9998
  emits: ["add", "clear", "moveTop", "movePrev", "moveNext", "moveBottom"],
@@ -10074,7 +10074,7 @@ const Ti = /* @__PURE__ */ q({
10074
10074
  style: a
10075
10075
  }, null), U("置底")])]);
10076
10076
  }
10077
- }), Bi = /* @__PURE__ */ q({
10077
+ }), Mi = /* @__PURE__ */ q({
10078
10078
  name: "sort-editor-grid",
10079
10079
  props: Et,
10080
10080
  emits: ["insert", "remove", "rowClick"],
@@ -10136,7 +10136,7 @@ const Ti = /* @__PURE__ */ q({
10136
10136
  class: "px-1"
10137
10137
  }, [a(v, i.value, "sortField")]), u("td", {
10138
10138
  class: "px-1"
10139
- }, [u(de, {
10139
+ }, [u(fe, {
10140
10140
  data: n,
10141
10141
  textField: "label",
10142
10142
  valueField: "value",
@@ -10149,7 +10149,7 @@ const Ti = /* @__PURE__ */ q({
10149
10149
  }, null)])]))])])]);
10150
10150
  }
10151
10151
  });
10152
- function Mi(e, t) {
10152
+ function Oi(e, t) {
10153
10153
  const n = m(-1);
10154
10154
  function a() {
10155
10155
  return t.value[n.value];
@@ -10162,7 +10162,7 @@ function Mi(e, t) {
10162
10162
  value: "",
10163
10163
  lbracket: "",
10164
10164
  rbracket: "",
10165
- relation: me.Empty,
10165
+ relation: ye.Empty,
10166
10166
  compare: Ut.Equal,
10167
10167
  expresstype: e.singleValue ? ae.Value : ae.Variable
10168
10168
  } : {
@@ -10173,7 +10173,7 @@ function Mi(e, t) {
10173
10173
  if (e.editorType === "filter")
10174
10174
  for (let c = 0; c < t.value.length - 1; c++) {
10175
10175
  const b = t.value[c];
10176
- (b.relation === me.Empty || !b.relation) && (b.relation = me.And);
10176
+ (b.relation === ye.Empty || !b.relation) && (b.relation = ye.And);
10177
10177
  }
10178
10178
  }
10179
10179
  function p() {
@@ -10233,8 +10233,8 @@ function Mi(e, t) {
10233
10233
  return !0;
10234
10234
  let b = !0, T = !0;
10235
10235
  if (e.editorType !== "sort") {
10236
- t.value[c - 1].relation = me.Empty, T = !t.value.slice(0, -1).some(
10237
- (P) => P.relation === me.Empty || !P.relation
10236
+ t.value[c - 1].relation = ye.Empty, T = !t.value.slice(0, -1).some(
10237
+ (P) => P.relation === ye.Empty || !P.relation
10238
10238
  );
10239
10239
  const V = t.value.flatMap((P) => [P.lbracket, P.rbracket]).join("");
10240
10240
  b = w(V);
@@ -10289,9 +10289,9 @@ const Ye = /* @__PURE__ */ q({
10289
10289
  canMove: b,
10290
10290
  validateCondition: T,
10291
10291
  resetActiveRow: N
10292
- } = Mi(e, y), j = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
10292
+ } = Oi(e, y), j = B(() => e.editorType === "sort" ? "排序条件编辑器" : "过滤条件编辑器");
10293
10293
  function V() {
10294
- return e.editorType === "sort" ? u(Bi, {
10294
+ return e.editorType === "sort" ? u(Mi, {
10295
10295
  conditions: y.value,
10296
10296
  fields: h.value,
10297
10297
  activeIndex: w.value,
@@ -10299,7 +10299,7 @@ const Ye = /* @__PURE__ */ q({
10299
10299
  onRemove: (D) => k(D),
10300
10300
  idField: e.idField,
10301
10301
  onRowClick: (D) => r(D)
10302
- }, null) : u(ci, {
10302
+ }, null) : u(di, {
10303
10303
  compareOperators: e.compareOperators,
10304
10304
  singleValue: e.singleValue,
10305
10305
  expressionOptions: o.value,
@@ -10373,14 +10373,14 @@ const Ye = /* @__PURE__ */ q({
10373
10373
  conditionList: W,
10374
10374
  entities: G,
10375
10375
  variables: Te,
10376
- formContextData: fe,
10376
+ formContextData: me,
10377
10377
  isServerSide: je
10378
10378
  } = D;
10379
10379
  return h.value = A || [], y.value = W || [], C.value = JSON.parse(JSON.stringify(y.value)), o.value = {
10380
10380
  entities: G,
10381
10381
  variables: Te,
10382
10382
  isServerSide: je
10383
- }, i.value = fe || {}, l == null || l.clearAll(), N(), !0;
10383
+ }, i.value = me || {}, l == null || l.clearAll(), N(), !0;
10384
10384
  }
10385
10385
  } catch {
10386
10386
  return a == null || a.error({
@@ -10417,7 +10417,7 @@ const Ye = /* @__PURE__ */ q({
10417
10417
  }, [u("div", {
10418
10418
  style: "border-top: 1px solid white; position: absolute; top: 0; width: 100%; z-index: 2;",
10419
10419
  class: "shading-border-top"
10420
- }, null), V(), u(Ti, {
10420
+ }, null), V(), u(Bi, {
10421
10421
  canClear: c,
10422
10422
  canMove: b,
10423
10423
  onAdd: v,
@@ -10429,28 +10429,28 @@ const Ye = /* @__PURE__ */ q({
10429
10429
  }, null)])]
10430
10430
  });
10431
10431
  }
10432
- }), Ji = {
10432
+ }), Zi = {
10433
10433
  install(e) {
10434
10434
  e.component(Ye.name, Ye);
10435
10435
  },
10436
10436
  register(e, t, n, a) {
10437
- e["filter-condition-editor"] = Ye, t["filter-condition-editor"] = ka;
10437
+ e["filter-condition-editor"] = Ye, t["filter-condition-editor"] = Sa;
10438
10438
  }
10439
10439
  };
10440
10440
  export {
10441
10441
  Ut as Compare,
10442
- Ti as ConditionActions,
10442
+ Bi as ConditionActions,
10443
10443
  Ye as FilterConditionEditor,
10444
- ci as FilterConditionGrid,
10445
- me as FilterRelation,
10446
- Bi as SortConditionGrid,
10447
- Go as SortType,
10444
+ di as FilterConditionGrid,
10445
+ ye as FilterRelation,
10446
+ Mi as SortConditionGrid,
10447
+ Xo as SortType,
10448
10448
  ae as ValueType,
10449
- Ji as default,
10449
+ Zi as default,
10450
10450
  Ot as filterConditionEditorProps,
10451
- ka as propsResolver,
10452
- Xo as treeNodeStatus,
10453
- Mi as useConditionData,
10451
+ Sa as propsResolver,
10452
+ _o as treeNodeStatus,
10453
+ Oi as useConditionData,
10454
10454
  Kt as useConditionEditor,
10455
10455
  Gt as useConstantData,
10456
10456
  _t as useFieldsTree