@farris/ui-vue 1.5.0-beta.0 → 1.5.0-beta.1

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 (68) hide show
  1. package/components/avatar/index.esm.js +897 -901
  2. package/components/avatar/index.umd.cjs +1 -1
  3. package/components/combo-list/index.esm.js +483 -487
  4. package/components/combo-list/index.umd.cjs +1 -1
  5. package/components/component/index.esm.js +482 -486
  6. package/components/component/index.umd.cjs +1 -1
  7. package/components/condition/index.esm.js +543 -547
  8. package/components/condition/index.umd.cjs +1 -1
  9. package/components/content-container/index.esm.js +619 -623
  10. package/components/content-container/index.umd.cjs +1 -1
  11. package/components/data-grid/index.esm.js +439 -440
  12. package/components/data-grid/index.umd.cjs +1 -1
  13. package/components/data-view/index.esm.js +423 -425
  14. package/components/data-view/index.umd.cjs +1 -1
  15. package/components/designer-canvas/index.esm.js +529 -533
  16. package/components/designer-canvas/index.umd.cjs +1 -1
  17. package/components/dynamic-form/index.esm.js +723 -727
  18. package/components/dynamic-form/index.umd.cjs +1 -1
  19. package/components/events-editor/index.esm.js +504 -508
  20. package/components/events-editor/index.umd.cjs +1 -1
  21. package/components/expression-editor/index.esm.js +679 -683
  22. package/components/expression-editor/index.umd.cjs +4 -4
  23. package/components/filter-bar/index.esm.js +503 -507
  24. package/components/filter-bar/index.umd.cjs +1 -1
  25. package/components/filter-condition-editor/index.esm.js +557 -561
  26. package/components/filter-condition-editor/index.umd.cjs +4 -4
  27. package/components/flow-canvas/index.esm.js +327 -331
  28. package/components/flow-canvas/index.umd.cjs +1 -1
  29. package/components/list-view/index.esm.js +502 -506
  30. package/components/list-view/index.umd.cjs +2 -2
  31. package/components/mapping-editor/index.esm.js +347 -348
  32. package/components/mapping-editor/index.umd.cjs +1 -1
  33. package/components/number-range/index.esm.js +479 -483
  34. package/components/number-range/index.umd.cjs +1 -1
  35. package/components/number-spinner/index.esm.js +1037 -1041
  36. package/components/number-spinner/index.umd.cjs +1 -1
  37. package/components/order/index.esm.js +1238 -1242
  38. package/components/order/index.umd.cjs +2 -2
  39. package/components/pagination/index.esm.js +94 -91
  40. package/components/pagination/index.umd.cjs +1 -1
  41. package/components/property-panel/index.esm.js +534 -538
  42. package/components/property-panel/index.umd.cjs +2 -2
  43. package/components/query-solution/index.esm.js +785 -789
  44. package/components/query-solution/index.umd.cjs +5 -5
  45. package/components/response-layout/index.esm.js +710 -714
  46. package/components/response-layout/index.umd.cjs +1 -1
  47. package/components/schema-selector/index.esm.js +701 -702
  48. package/components/schema-selector/index.umd.cjs +3 -3
  49. package/components/section/index.esm.js +502 -506
  50. package/components/section/index.umd.cjs +1 -1
  51. package/components/sort-condition-editor/index.esm.js +556 -560
  52. package/components/sort-condition-editor/index.umd.cjs +4 -4
  53. package/components/textarea/index.esm.js +480 -484
  54. package/components/textarea/index.umd.cjs +2 -2
  55. package/components/time-picker/index.esm.js +594 -598
  56. package/components/time-picker/index.umd.cjs +1 -1
  57. package/components/tooltip/index.esm.js +189 -179
  58. package/components/tooltip/index.umd.cjs +1 -1
  59. package/components/tree-grid/index.esm.js +463 -467
  60. package/components/tree-grid/index.umd.cjs +1 -1
  61. package/components/tree-view/index.esm.js +629 -633
  62. package/components/tree-view/index.umd.cjs +1 -1
  63. package/components/video/index.esm.js +632 -636
  64. package/components/video/index.umd.cjs +1 -1
  65. package/farris.all.esm.js +2583 -2569
  66. package/farris.all.umd.cjs +11 -11
  67. package/index.css +1 -1
  68. package/package.json +1 -1
@@ -1,30 +1,30 @@
1
- var ji = Object.defineProperty;
2
- var Li = (e, n, t) => n in e ? ji(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
- var q = (e, n, t) => Li(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { ref as x, computed as P, watch as de, nextTick as Pe, reactive as Ct, createVNode as m, withDirectives as fn, resolveDirective as Io, onMounted as je, vModelText as ko, createTextVNode as Ne, Fragment as at, defineComponent as ke, shallowRef as nn, provide as jt, inject as Oe, onUnmounted as kt, isVNode as In, getCurrentInstance as Hi, onBeforeUnmount as kn, withModifiers as Fo, resolveComponent as Ai, createApp as Fn, Transition as Mo, mergeProps as _t, triggerRef as Wi, onBeforeMount as qi, Teleport as Oo, render as Pn, h as zi, cloneVNode as Gi, watchEffect as Yi, vShow as Ui } from "vue";
5
- import { cloneDeep as pt, isPlainObject as uo, isUndefined as gt, throttle as Xi } from "lodash-es";
6
- import { getCustomClass as dt, useGuid as Qi, resolveField as ct, FormSchemaEntityFieldTypeName as co, withInstall as Eo, useCommonUtils as Ki, useDateFormat as Ji, useNumberFormat as Zi, setFieldValue as $n } from "../common/index.esm.js";
7
- import Do from "../capsule/index.esm.js";
1
+ var Ni = Object.defineProperty;
2
+ var ji = (e, n, t) => n in e ? Ni(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
+ var q = (e, n, t) => ji(e, typeof n != "symbol" ? n + "" : n, t);
4
+ import { ref as x, computed as P, watch as de, nextTick as Pe, reactive as Ct, createVNode as m, withDirectives as fn, resolveDirective as _o, onMounted as je, vModelText as Io, createTextVNode as Ne, Fragment as at, defineComponent as ke, shallowRef as nn, provide as jt, inject as Oe, onUnmounted as kt, isVNode as In, getCurrentInstance as Li, onBeforeUnmount as kn, withModifiers as ko, resolveComponent as Hi, createApp as Fn, Transition as Fo, mergeProps as _t, triggerRef as Ai, onBeforeMount as Wi, Teleport as Mo, render as Pn, h as qi, cloneVNode as zi, watchEffect as Gi, vShow as Yi } from "vue";
5
+ import { cloneDeep as pt, isPlainObject as uo, isUndefined as gt, throttle as Ui } from "lodash-es";
6
+ import { getCustomClass as dt, useGuid as Xi, resolveField as ct, FormSchemaEntityFieldTypeName as co, withInstall as Oo, useCommonUtils as Qi, useDateFormat as Ki, useNumberFormat as Ji, setFieldValue as $n } from "../common/index.esm.js";
7
+ import Eo from "../capsule/index.esm.js";
8
8
  import Gn from "../response-toolbar/index.esm.js";
9
- import { createPropsResolver as Po } from "../dynamic-resolver/index.esm.js";
10
- import Bo from "../section/index.esm.js";
11
- import { useDesignerInnerComponent as er, useDesignerComponent as tr } from "../designer-canvas/index.esm.js";
12
- import nr from "../button-edit/index.esm.js";
13
- import Ro from "../list-view/index.esm.js";
14
- import or from "../loading/index.esm.js";
15
- import { useFilter as Vo, useIdentify as $o, useHierarchy as No, useGroupData as jo, useDataView as Lo, useSelection as Ho, useRow as Ao, useEdit as Wo, useVisualDataBound as qo, useVisualDataCell as zo, useVisualDataRow as Go, useVisualGroupRow as ar, useVisualSummaryRow as ir, useVisualData as Yo, useLoading as rr, useSelectHierarchyItem as sr, useDataViewContainerStyle as lr, useCommandColumn as ur, useColumn as cr, useSort as dr, useGroupColumn as fr, useCellPosition as pr, useSidebar as mr, useVirtualScroll as vr, useFitColumn as hr, useFilterHistory as gr, useColumnFilter as yr, useDragColumn as br, getColumnHeader as wr, getSidebar as Cr, getDisableMask as xr, getHorizontalScrollbar as Sr, getVerticalScrollbar as Tr, getEmpty as _r } from "../data-view/index.esm.js";
9
+ import { createPropsResolver as Do } from "../dynamic-resolver/index.esm.js";
10
+ import Po from "../section/index.esm.js";
11
+ import { useDesignerInnerComponent as Zi, useDesignerComponent as er } from "../designer-canvas/index.esm.js";
12
+ import tr from "../button-edit/index.esm.js";
13
+ import Bo from "../list-view/index.esm.js";
14
+ import nr from "../loading/index.esm.js";
15
+ import { useFilter as Ro, useIdentify as Vo, useHierarchy as $o, useGroupData as No, useDataView as jo, useSelection as Lo, useRow as Ho, useEdit as Ao, useVisualDataBound as Wo, useVisualDataCell as qo, useVisualDataRow as zo, useVisualGroupRow as or, useVisualSummaryRow as ar, useVisualData as Go, useLoading as ir, useSelectHierarchyItem as rr, useDataViewContainerStyle as sr, useCommandColumn as lr, useColumn as ur, useSort as cr, useGroupColumn as dr, useCellPosition as fr, useSidebar as pr, useVirtualScroll as mr, useFitColumn as vr, useFilterHistory as hr, useColumnFilter as gr, useDragColumn as yr, getColumnHeader as br, getSidebar as wr, getDisableMask as Cr, getHorizontalScrollbar as xr, getVerticalScrollbar as Sr, getEmpty as Tr } from "../data-view/index.esm.js";
16
16
  import { FCheckbox as Mn } from "../checkbox/index.esm.js";
17
17
  import "../modal/index.esm.js";
18
- import Ir from "../transfer/index.esm.js";
19
- import kr from "../tabs/index.esm.js";
20
- import Fr from "../order/index.esm.js";
18
+ import _r from "../transfer/index.esm.js";
19
+ import Ir from "../tabs/index.esm.js";
20
+ import kr from "../order/index.esm.js";
21
21
  import "../condition/index.esm.js";
22
- import Mr from "../filter-bar/index.esm.js";
23
- import fo from "../tooltip/index.esm.js";
22
+ import Fr from "../filter-bar/index.esm.js";
23
+ import Mr from "../tooltip/index.esm.js";
24
24
  import Or from "../pagination/index.esm.js";
25
25
  import Er from "../button/index.esm.js";
26
26
  import Dr from "../search-box/index.esm.js";
27
- import Uo from "../tags/index.esm.js";
27
+ import Yo from "../tags/index.esm.js";
28
28
  import Pr, { FDynamicFormGroup as Br, FDynamicFormInput as Rr } from "../dynamic-form/index.esm.js";
29
29
  import "../property-panel/index.esm.js";
30
30
  import Vr from "../accordion/index.esm.js";
@@ -32,8 +32,8 @@ import $r from "../avatar/index.esm.js";
32
32
  import Nr from "../../designer/button-edit/index.esm.js";
33
33
  import jr from "../button-group/index.esm.js";
34
34
  import Lr from "../calendar/index.esm.js";
35
- import po from "../../designer/checkbox/index.esm.js";
36
- import mo from "../../designer/checkbox-group/index.esm.js";
35
+ import fo from "../../designer/checkbox/index.esm.js";
36
+ import po from "../../designer/checkbox-group/index.esm.js";
37
37
  import Nn from "../combo-list/index.esm.js";
38
38
  import Hr from "../combo-tree/index.esm.js";
39
39
  import Ar from "../component/index.esm.js";
@@ -87,7 +87,7 @@ import Rs from "../expression-editor/index.esm.js";
87
87
  import Vs from "../code-editor/index.esm.js";
88
88
  import $s from "../html-template/index.esm.js";
89
89
  import "../external-container/index.esm.js";
90
- import { useResizeObserver as Xo } from "@vueuse/core";
90
+ import { useResizeObserver as Uo } from "@vueuse/core";
91
91
  import "../notify/index.esm.js";
92
92
  import Ns from "../popover/index.esm.js";
93
93
  const js = {
@@ -99,7 +99,7 @@ const js = {
99
99
  editorParams: { type: Object, default: null },
100
100
  showFooter: { type: Boolean, default: !1 },
101
101
  validateFunction: { type: Function, default: null }
102
- }, Qo = {}, Ko = {};
102
+ }, Xo = {}, Qo = {};
103
103
  function Yn(e) {
104
104
  const { properties: n, title: t, ignore: o } = e, a = o && Array.isArray(o), i = Object.keys(n).reduce((r, s) => ((!a || !o.find((l) => l === s)) && (r[s] = n[s].type === "object" && n[s].properties ? Yn(n[s]) : pt(n[s].default)), r), {});
105
105
  if (t && (!a || !o.find((r) => r === "id"))) {
@@ -123,10 +123,10 @@ function Ls(e) {
123
123
  };
124
124
  }
125
125
  function Ht(e, n = {}, t) {
126
- const o = Qo[e];
126
+ const o = Xo[e];
127
127
  if (o) {
128
128
  let a = Ls(o);
129
- const i = Ko[e];
129
+ const i = Qo[e];
130
130
  return a = i ? i({ getSchemaByType: Ht }, a, n, t) : a, a;
131
131
  }
132
132
  return null;
@@ -135,7 +135,7 @@ function Hs(e, n) {
135
135
  const t = Yn(n);
136
136
  return Object.keys(t).reduce((o, a) => (Object.prototype.hasOwnProperty.call(e, a) && (o[a] && uo(o[a]) && uo(e[a] || !e[a]) ? Object.assign(o[a], e[a] || {}) : o[a] = e[a]), o), t), t;
137
137
  }
138
- function Jo(e, n) {
138
+ function Ko(e, n) {
139
139
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
140
140
  if (n.has(a)) {
141
141
  const i = n.get(a);
@@ -152,7 +152,7 @@ function Jo(e, n) {
152
152
  }
153
153
  function As(e, n, t = /* @__PURE__ */ new Map()) {
154
154
  const o = Hs(e, n);
155
- return Jo(o, t);
155
+ return Ko(o, t);
156
156
  }
157
157
  function Ws(e = {}) {
158
158
  function n(c, u, d, v) {
@@ -256,9 +256,9 @@ const ce = {
256
256
  }, qs = {}, zs = {};
257
257
  Ws();
258
258
  function nt(e, n, t = /* @__PURE__ */ new Map(), o = (r, s, l, c) => s, a = {}, i = (r) => r) {
259
- return Qo[n.title] = n, Ko[n.title] = o, qs[n.title] = a, zs[n.title] = i, (r = {}, s = !0) => {
259
+ return Xo[n.title] = n, Qo[n.title] = o, qs[n.title] = a, zs[n.title] = i, (r = {}, s = !0) => {
260
260
  if (!s)
261
- return Jo(r, t);
261
+ return Ko(r, t);
262
262
  const l = As(r, n, t), c = Object.keys(e).reduce((u, d) => (u[d] = e[d].default, u), {});
263
263
  return Object.assign(c, l);
264
264
  };
@@ -370,7 +370,7 @@ function Ks(e, n) {
370
370
  const c = o.elementRef, u = window.getComputedStyle(c);
371
371
  return u && u.display === "flex" && (s.appearance.class += " d-block"), s;
372
372
  }
373
- function Zo(e, n, t) {
373
+ function Jo(e, n, t) {
374
374
  if (t.parentComponentInstance)
375
375
  return Ks(e, t);
376
376
  {
@@ -445,7 +445,7 @@ const Zs = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-
445
445
  ], rl = {
446
446
  onTabChange: "切换标签页事件",
447
447
  onTabRemove: "移除标签页事件"
448
- }, ea = {
448
+ }, Zo = {
449
449
  $schema: Zs,
450
450
  $id: el,
451
451
  title: tl,
@@ -476,9 +476,9 @@ const Zs = "https://json-schema.org/draft/2020-12/schema", el = "https://farris-
476
476
  justifyContent: { type: String, default: "left" },
477
477
  /** 控制是否可见 */
478
478
  visible: { type: Boolean, default: !0 }
479
- }, sl = nt(Xn, ea, Un, Zo), ta = Object.assign({}, Xn, {
479
+ }, sl = nt(Xn, Zo, Un, Jo), ea = Object.assign({}, Xn, {
480
480
  componentId: { type: String, default: "" }
481
- }), ll = nt(ta, ea, Un, Zo), ul = Xs();
481
+ }), ll = nt(ea, Zo, Un, Jo), ul = Xs();
482
482
  function cl(e, n, t) {
483
483
  const o = x([]), a = x(e.activeId || "");
484
484
  let i = "";
@@ -612,7 +612,7 @@ function dl(e, n, t, o, a) {
612
612
  return e.tabType !== "pill" && !e.autoTitleWidth ? fn(m("span", {
613
613
  class: l.value,
614
614
  "data-tabid": S.id
615
- }, [S.title]), [[Io("tooltip"), v]]) : m("span", {
615
+ }, [S.title]), [[_o("tooltip"), v]]) : m("span", {
616
616
  class: l.value,
617
617
  "data-tabid": S.id,
618
618
  title: S.title
@@ -670,7 +670,7 @@ function fl(e, n, t, o, a) {
670
670
  ref: n
671
671
  }, [r.value.map((u) => dl(e, u.props, u, o, a))])]);
672
672
  }
673
- function na(e, n, t, o, a) {
673
+ function ta(e, n, t, o, a) {
674
674
  const i = x(), {
675
675
  shouldShowNavigationButtons: r
676
676
  } = t, {
@@ -704,7 +704,7 @@ function na(e, n, t, o, a) {
704
704
  }), () => m("div", {
705
705
  class: v.value,
706
706
  style: f.value
707
- }, [m(Do, {
707
+ }, [m(Eo, {
708
708
  items: d.value,
709
709
  modelValue: u.value,
710
710
  "onUpdate:modelValue": (_) => u.value = _,
@@ -793,7 +793,7 @@ function pl(e, n, t, o) {
793
793
  type: "text",
794
794
  class: "form-control",
795
795
  "onUpdate:modelValue": (w) => u.value = w
796
- }, null), [[ko, u.value]]), m("span", {
796
+ }, null), [[Io, u.value]]), m("span", {
797
797
  class: "f-icon f-icon-page-title-query tabs-icon-search"
798
798
  }, null)]), f.value.length ? m("ul", {
799
799
  class: "tab-dropdown-menu--items flex-fill"
@@ -837,7 +837,7 @@ function ml(e, n, t, o) {
837
837
  setTabsRef: r
838
838
  };
839
839
  }
840
- function oa(e, n, t, o) {
840
+ function na(e, n, t, o) {
841
841
  const a = x(!1), { selectTab: i, tabPages: r, needUpdateNavigationLayout: s, activeId: l } = o, c = 4, u = P(() => ({
842
842
  btn: !0,
843
843
  "sc-nav-btn": !0,
@@ -904,7 +904,7 @@ function oa(e, n, t, o) {
904
904
  updateNavigationLayout: _
905
905
  };
906
906
  }
907
- function aa(e, n) {
907
+ function oa(e, n) {
908
908
  const { tabPages: t } = n, o = x(""), a = x(!0), i = P(() => e.searchBoxVisible), r = P(() => i.value ? t.value.filter((l) => l.props.title.includes(o.value)) : t.value.slice());
909
909
  return de(a, (s) => {
910
910
  s || (o.value = "");
@@ -915,7 +915,7 @@ function aa(e, n) {
915
915
  tabsInDropdownMenu: r
916
916
  };
917
917
  }
918
- function ia(e, n, t) {
918
+ function aa(e, n, t) {
919
919
  const o = ".farris-tab-page", { tabPages: a } = t;
920
920
  function i(s) {
921
921
  const l = n.value;
@@ -948,13 +948,13 @@ const Qt = /* @__PURE__ */ ke({
948
948
  checkActiveIdAndSelect: _,
949
949
  toggleShowTab: b,
950
950
  hasInHeadClass: h
951
- } = l, C = ia(e, r, l), S = oa(e, i, C, l), {
951
+ } = l, C = aa(e, r, l), S = na(e, i, C, l), {
952
952
  previousButtonClass: M,
953
953
  nextButtonClass: F,
954
954
  nextButtonGroupClass: T,
955
955
  scrollTab: g,
956
956
  updateNavigationLayout: w
957
- } = S, I = aa(e, l), k = fl(e, i, S, C, l), y = k, E = na(e, i, S, C, l), R = /* @__PURE__ */ new Map([["default", k], ["one-page", y], ["pills", E]]);
957
+ } = S, I = oa(e, l), k = fl(e, i, S, C, l), y = k, E = ta(e, i, S, C, l), R = /* @__PURE__ */ new Map([["default", k], ["one-page", y], ["pills", E]]);
958
958
  P(() => {
959
959
  const U = d.value.find((le) => le.props.id === c.value);
960
960
  return U == null ? void 0 : U.slots;
@@ -1033,9 +1033,9 @@ const Qt = /* @__PURE__ */ ke({
1033
1033
  }
1034
1034
  const {
1035
1035
  renderMorePagesButtton: Z,
1036
- setTabsRef: Y
1036
+ setTabsRef: G
1037
1037
  } = ml(e, I, S, l);
1038
- Y(o);
1038
+ G(o);
1039
1039
  const W = (U, le) => {
1040
1040
  n.emit("Click", U, le, c.value);
1041
1041
  };
@@ -1070,7 +1070,7 @@ const Qt = /* @__PURE__ */ ke({
1070
1070
  "farris-tabs-content": !0,
1071
1071
  "f-utils-fill-flex-column": O.value
1072
1072
  }));
1073
- function G() {
1073
+ function Y() {
1074
1074
  var U, le;
1075
1075
  return m("div", {
1076
1076
  class: N.value,
@@ -1080,7 +1080,7 @@ const Qt = /* @__PURE__ */ ke({
1080
1080
  return () => e.visible ? m("div", {
1081
1081
  class: B.value,
1082
1082
  ref: o
1083
- }, [A(), G()]) : null;
1083
+ }, [A(), Y()]) : null;
1084
1084
  }
1085
1085
  });
1086
1086
  function vl(e, n, t) {
@@ -1180,7 +1180,7 @@ const hl = /* @__PURE__ */ new Map([
1180
1180
  show: { type: Boolean, default: !0 },
1181
1181
  toolbar: { type: Object, default: {} },
1182
1182
  toolbarPosition: { type: String, default: "inHead" }
1183
- }, ra = Po(Qn, Tl, hl);
1183
+ }, ia = Do(Qn, Tl, hl);
1184
1184
  function _l(e) {
1185
1185
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !In(e);
1186
1186
  }
@@ -1215,7 +1215,7 @@ const gn = /* @__PURE__ */ ke({
1215
1215
  function l() {
1216
1216
  var p, _;
1217
1217
  const f = (_ = (p = n.slots).default) == null ? void 0 : _.call(p);
1218
- return m(Bo, {
1218
+ return m(Po, {
1219
1219
  "main-title": e.title,
1220
1220
  class: ["farris-tab-page", o.value ? "" : "f-tab-d-none"]
1221
1221
  }, _l(f) ? f : {
@@ -1512,7 +1512,7 @@ function Zt(e, n, t) {
1512
1512
  onPropertyChanged: T
1513
1513
  }, i;
1514
1514
  }
1515
- class sa {
1515
+ class ra {
1516
1516
  getTemplateRule(n, t) {
1517
1517
  const o = t == null ? void 0 : t.formSchemaUtils, a = o == null ? void 0 : o.getFormTemplateRule(), i = { canAccept: !0, canDelete: !0, canMove: !0 };
1518
1518
  if (!a)
@@ -1661,7 +1661,7 @@ function On(e) {
1661
1661
  Kn(e);
1662
1662
  }
1663
1663
  }
1664
- function la(e) {
1664
+ function sa(e) {
1665
1665
  if (!e)
1666
1666
  return;
1667
1667
  let n;
@@ -2422,7 +2422,7 @@ class Rl extends rn {
2422
2422
  }
2423
2423
  }
2424
2424
  function Vl(e, n) {
2425
- const t = e.schema, o = new sa(), { canMove: a, canAccept: i, canDelete: r } = o.getTemplateRule(e, n);
2425
+ const t = e.schema, o = new ra(), { canMove: a, canAccept: i, canDelete: r } = o.getTemplateRule(e, n);
2426
2426
  function s(p) {
2427
2427
  return i;
2428
2428
  }
@@ -2462,7 +2462,7 @@ function Vl(e, n) {
2462
2462
  }
2463
2463
  function $l(e, n, t, o, a, i) {
2464
2464
  const r = x([]), s = x(e.activeId || ""), l = x(!0), c = x(), u = x([]), d = x(0), v = P(() => {
2465
- const A = r.value.find((G) => G.props.id === s.value);
2465
+ const A = r.value.find((Y) => Y.props.id === s.value);
2466
2466
  return (A == null ? void 0 : A.props.toolbarPosition) === "inHead";
2467
2467
  });
2468
2468
  let f;
@@ -2470,11 +2470,11 @@ function $l(e, n, t, o, a, i) {
2470
2470
  f = A;
2471
2471
  }
2472
2472
  function _(A, N = !0) {
2473
- const G = A.value && A.value.length > 0 ? 0 : -1;
2474
- if (u.value = [], G !== -1 && (!s.value || typeof s.value == "object")) {
2475
- if (s.value = A.value[G].props.id, !N)
2473
+ const Y = A.value && A.value.length > 0 ? 0 : -1;
2474
+ if (u.value = [], Y !== -1 && (!s.value || typeof s.value == "object")) {
2475
+ if (s.value = A.value[Y].props.id, !N)
2476
2476
  return;
2477
- const U = A.value[G];
2477
+ const U = A.value[Y];
2478
2478
  U && U.props.toolbar && U.props.toolbar.buttons && U.props.toolbar.buttons.length && (u.value = [...U.props.toolbar.buttons]);
2479
2479
  }
2480
2480
  }
@@ -2484,8 +2484,8 @@ function $l(e, n, t, o, a, i) {
2484
2484
  const U = Object.prototype.hasOwnProperty.call(A.props.toolbar, "contents") ? "contents" : "buttons";
2485
2485
  A.props.toolbar[U] && A.props.toolbar[U].length && (u.value = [...A.props.toolbar[U]]);
2486
2486
  }
2487
- const N = o.schema.contents, G = N == null ? void 0 : N.find((U) => U.id === s.value);
2488
- c.value = G == null ? void 0 : G.toolbar;
2487
+ const N = o.schema.contents, Y = N == null ? void 0 : N.find((U) => U.id === s.value);
2488
+ c.value = Y == null ? void 0 : Y.toolbar;
2489
2489
  }
2490
2490
  function h(A) {
2491
2491
  const N = s.value;
@@ -2496,7 +2496,7 @@ function $l(e, n, t, o, a, i) {
2496
2496
  }
2497
2497
  function C(A) {
2498
2498
  let N = -1;
2499
- !s.value && (N = A.value.findIndex((G) => s.value === G.props.id), N > -1) || (_(A, !1), h(s.value));
2499
+ !s.value && (N = A.value.findIndex((Y) => s.value === Y.props.id), N > -1) || (_(A, !1), h(s.value));
2500
2500
  }
2501
2501
  function S(A) {
2502
2502
  let N = !1;
@@ -2516,10 +2516,10 @@ function $l(e, n, t, o, a, i) {
2516
2516
  A !== N && S(A);
2517
2517
  });
2518
2518
  function g(A) {
2519
- var G;
2519
+ var Y;
2520
2520
  if (e.autoTitleWidth)
2521
2521
  return;
2522
- const N = (G = A.value) == null ? void 0 : G.querySelectorAll(".st-tab-text");
2522
+ const N = (Y = A.value) == null ? void 0 : Y.querySelectorAll(".st-tab-text");
2523
2523
  N && N.forEach((U) => T(U));
2524
2524
  }
2525
2525
  const w = (A) => {
@@ -2528,10 +2528,10 @@ function $l(e, n, t, o, a, i) {
2528
2528
  function I(A) {
2529
2529
  r.value = r.value.filter((N) => N.props.id !== A), s.value === A && (s.value = "", _(r));
2530
2530
  }
2531
- function k(A, N, G = !1) {
2531
+ function k(A, N, Y = !1) {
2532
2532
  const U = r.value.findIndex((le) => le.props.id === N);
2533
2533
  I(N), w(A), Pe(() => {
2534
- d.value++, g(t), G && (l.value = !0), n.emit("tabRemove", {
2534
+ d.value++, g(t), Y && (l.value = !0), n.emit("tabRemove", {
2535
2535
  removeIndex: U,
2536
2536
  removeId: N,
2537
2537
  activeId: s.value
@@ -2547,11 +2547,11 @@ function $l(e, n, t, o, a, i) {
2547
2547
  h(A);
2548
2548
  }
2549
2549
  function R(A) {
2550
- r.value.findIndex((G) => G.props.id === A.props.id) === -1 && r.value.push(A), d.value++;
2550
+ r.value.findIndex((Y) => Y.props.id === A.props.id) === -1 && r.value.push(A), d.value++;
2551
2551
  }
2552
2552
  function O(A) {
2553
- r.value.findIndex((G) => G.props.id === A.props.id) !== -1 && (r.value.forEach((G) => {
2554
- G.props.id === A.props.id && (G = A);
2553
+ r.value.findIndex((Y) => Y.props.id === A.props.id) !== -1 && (r.value.forEach((Y) => {
2554
+ Y.props.id === A.props.id && (Y = A);
2555
2555
  }), A.props.id === s.value && v.value, Pe(() => {
2556
2556
  d.value++, g(t);
2557
2557
  }));
@@ -2561,21 +2561,21 @@ function $l(e, n, t, o, a, i) {
2561
2561
  }
2562
2562
  function V(A) {
2563
2563
  var U;
2564
- const N = o.designerItemElementRef.value.querySelector(".farris-tabs-content"), G = N == null ? void 0 : N.querySelector(`#${A}-design-item`);
2565
- (U = G == null ? void 0 : G.componentInstance) != null && U.value.onRemoveComponent && G.componentInstance.value.onRemoveComponent(i);
2564
+ const N = o.designerItemElementRef.value.querySelector(".farris-tabs-content"), Y = N == null ? void 0 : N.querySelector(`#${A}-design-item`);
2565
+ (U = Y == null ? void 0 : Y.componentInstance) != null && U.value.onRemoveComponent && Y.componentInstance.value.onRemoveComponent(i);
2566
2566
  }
2567
2567
  function H(A) {
2568
2568
  var we, Fe;
2569
2569
  const N = i.formSchemaUtils.getExpressions();
2570
2570
  if (!N || !N.length)
2571
2571
  return;
2572
- const G = o.schema.contents, U = G == null ? void 0 : G.find((J) => J.id === A);
2572
+ const Y = o.schema.contents, U = Y == null ? void 0 : Y.find((J) => J.id === A);
2573
2573
  if (!U || !((Fe = (we = U.toolbar) == null ? void 0 : we.buttons) != null && Fe.length))
2574
2574
  return;
2575
2575
  const le = (J) => {
2576
- J.forEach((ie) => {
2577
- const X = N.findIndex((ae) => ae.target === ie.id);
2578
- X > -1 && N.splice(X, 1), ie.children && ie.children.length && le(ie.children);
2576
+ J.forEach((ae) => {
2577
+ const X = N.findIndex((re) => re.target === ae.id);
2578
+ X > -1 && N.splice(X, 1), ae.children && ae.children.length && le(ae.children);
2579
2579
  });
2580
2580
  };
2581
2581
  le(U.toolbar.buttons);
@@ -2583,8 +2583,8 @@ function $l(e, n, t, o, a, i) {
2583
2583
  function B(A, N) {
2584
2584
  var le;
2585
2585
  D(A), H(N), V(N);
2586
- const G = o.schema.contents, U = G == null ? void 0 : G.findIndex((we) => we.id === N);
2587
- U === -1 || U === void 0 || (G == null || G.splice(U, 1), I(N), b(), (le = o == null ? void 0 : o.setupContext) == null || le.emit("selectionChange"), It.value++);
2586
+ const Y = o.schema.contents, U = Y == null ? void 0 : Y.findIndex((we) => we.id === N);
2587
+ U === -1 || U === void 0 || (Y == null || Y.splice(U, 1), I(N), b(), (le = o == null ? void 0 : o.setupContext) == null || le.emit("selectionChange"), It.value++);
2588
2588
  }
2589
2589
  function L() {
2590
2590
  Array.from(document.getElementsByClassName("dgComponentFocused")).forEach(
@@ -2598,11 +2598,11 @@ function $l(e, n, t, o, a, i) {
2598
2598
  }
2599
2599
  function $(A, N) {
2600
2600
  var we;
2601
- const { contents: G = [] } = o.schema, U = G == null ? void 0 : G.findIndex((Fe) => Fe.id === A), le = G[U];
2601
+ const { contents: Y = [] } = o.schema, U = Y == null ? void 0 : Y.findIndex((Fe) => Fe.id === A), le = Y[U];
2602
2602
  (we = o == null ? void 0 : o.setupContext) == null || we.emit("selectionChange", le.type, le, e.componentId, N);
2603
2603
  }
2604
2604
  function j(A, N) {
2605
- const G = N.getBoundingClientRect(), U = A.getBoundingClientRect(), le = U.left + U.width <= G.left + G.width, we = U.left + U.width >= G.left;
2605
+ const Y = N.getBoundingClientRect(), U = A.getBoundingClientRect(), le = U.left + U.width <= Y.left + Y.width, we = U.left + U.width >= Y.left;
2606
2606
  return le && we;
2607
2607
  }
2608
2608
  function Z(A) {
@@ -2611,7 +2611,7 @@ function $l(e, n, t, o, a, i) {
2611
2611
  j(A, f.value) ? Kn(A) : N && (N.style.display = "none");
2612
2612
  }
2613
2613
  }
2614
- function Y() {
2614
+ function G() {
2615
2615
  t && t.value && t.value.addEventListener("scroll", (A) => {
2616
2616
  const N = A.target.querySelector(".dgComponentSelected");
2617
2617
  Z(N);
@@ -2619,26 +2619,26 @@ function $l(e, n, t, o, a, i) {
2619
2619
  }
2620
2620
  function W(A) {
2621
2621
  if (A && A.parentElement) {
2622
- let N = A.getBoundingClientRect(), G = A.parentElement.getBoundingClientRect();
2623
- (N.left < G.left || N.right > G.right) && (t.value.scrollLeft = 0, N = A.getBoundingClientRect(), G = A.parentElement.getBoundingClientRect(), t.value.scrollLeft = N.left - G.left), On(A);
2622
+ let N = A.getBoundingClientRect(), Y = A.parentElement.getBoundingClientRect();
2623
+ (N.left < Y.left || N.right > Y.right) && (t.value.scrollLeft = 0, N = A.getBoundingClientRect(), Y = A.parentElement.getBoundingClientRect(), t.value.scrollLeft = N.left - Y.left), On(A);
2624
2624
  }
2625
2625
  }
2626
- function K(A, N, G) {
2626
+ function K(A, N, Y) {
2627
2627
  var we, Fe, J;
2628
- L(), D(A), Q(A), $(N, G);
2628
+ L(), D(A), Q(A), $(N, Y);
2629
2629
  const U = A.currentTarget;
2630
2630
  W(U);
2631
- const le = (Fe = (we = G.schema) == null ? void 0 : we.contents) == null ? void 0 : Fe.find((ie) => ie.id === N);
2631
+ const le = (Fe = (we = Y.schema) == null ? void 0 : we.contents) == null ? void 0 : Fe.find((ae) => ae.id === N);
2632
2632
  if (le && (!le.toolbar || ((J = le.toolbar.buttons) == null ? void 0 : J.length) === 0)) {
2633
- const ie = A.currentTarget;
2633
+ const ae = A.currentTarget;
2634
2634
  Pe(() => {
2635
- L(), ie == null || ie.classList.add("dgComponentFocused", "dgComponentSelected"), W(ie);
2635
+ L(), ae == null || ae.classList.add("dgComponentFocused", "dgComponentSelected"), W(ae);
2636
2636
  });
2637
2637
  }
2638
2638
  }
2639
2639
  function ee(A, N) {
2640
2640
  D(A);
2641
- const G = o.schema.contents, U = G == null ? void 0 : G.find((we) => we.id === N);
2641
+ const Y = o.schema.contents, U = Y == null ? void 0 : Y.find((we) => we.id === N);
2642
2642
  if (!U)
2643
2643
  return;
2644
2644
  (!U.toolbar || !U.toolbar.buttons) && (U.toolbar = { id: `${U.id}_toolbar`, buttons: [] }), U.toolbar.id || (U.toolbar.id = `${U.id}_toolbar`);
@@ -2664,7 +2664,7 @@ function $l(e, n, t, o, a, i) {
2664
2664
  toolbarSchema: c,
2665
2665
  changeToolbarItems: b,
2666
2666
  addTabPageToolbar: ee,
2667
- listenTabNavElementScroll: Y,
2667
+ listenTabNavElementScroll: G,
2668
2668
  setHorizontalScrollbarPosition: W,
2669
2669
  needUpdateNavigationLayout: d,
2670
2670
  checkActiveIdAndSelect: S,
@@ -2679,7 +2679,7 @@ const Nl = /* @__PURE__ */ new Map([
2679
2679
  ["buttons", "items"],
2680
2680
  ["appearance", Ft]
2681
2681
  ]);
2682
- function ua(e, n, t) {
2682
+ function la(e, n, t) {
2683
2683
  return n;
2684
2684
  }
2685
2685
  const jl = "https://json-schema.org/draft/2020-12/schema", Ll = "https://farris-design.gitee.io/response-toolbar.schema.json", Hl = "response-toolbar", Al = "A Farris Toolbar Component", Wl = "object", ql = {
@@ -2818,7 +2818,7 @@ const jl = "https://json-schema.org/draft/2020-12/schema", Ll = "https://farris-
2818
2818
  type: Jl,
2819
2819
  properties: Zl,
2820
2820
  required: eu
2821
- }, ca = {
2821
+ }, ua = {
2822
2822
  id: { type: String, default: "" },
2823
2823
  /** 组件自定义样式 */
2824
2824
  customClass: { type: String, default: "" },
@@ -2829,16 +2829,16 @@ const jl = "https://json-schema.org/draft/2020-12/schema", Ll = "https://farris-
2829
2829
  },
2830
2830
  /** 控制是否可见 */
2831
2831
  visible: { type: Boolean, default: !0 }
2832
- }, nu = Object.assign({}, ca, {
2832
+ }, nu = Object.assign({}, ua, {
2833
2833
  componentId: { type: String, default: "" }
2834
2834
  });
2835
2835
  nt(
2836
- ca,
2836
+ ua,
2837
2837
  Yl,
2838
2838
  Nl,
2839
- ua
2839
+ la
2840
2840
  );
2841
- const da = {
2841
+ const ca = {
2842
2842
  id: { type: String, default: "" },
2843
2843
  item: { type: Object, default: {} },
2844
2844
  items: { type: Object, default: {} },
@@ -2857,10 +2857,10 @@ const da = {
2857
2857
  isDPItem: { type: Boolean, default: !1 }
2858
2858
  };
2859
2859
  nt(
2860
- da,
2860
+ ca,
2861
2861
  tu,
2862
2862
  void 0,
2863
- ua
2863
+ la
2864
2864
  );
2865
2865
  class ou extends rn {
2866
2866
  constructor(n, t) {
@@ -2983,7 +2983,7 @@ function iu(e) {
2983
2983
  function pn(e) {
2984
2984
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
2985
2985
  }
2986
- var fa = { exports: {} };
2986
+ var da = { exports: {} };
2987
2987
  (function(e, n) {
2988
2988
  (function(t) {
2989
2989
  e.exports = t();
@@ -3036,9 +3036,9 @@ var fa = { exports: {} };
3036
3036
  function d(y, E) {
3037
3037
  var R = arguments.length;
3038
3038
  R === 1 && Array.isArray(y) === !1 && (E = y, y = []);
3039
- var O, D, V, H, B, L, Q, $, j, Z = null, Y, W, K = !1, ee = 0, A, N = E || {};
3039
+ var O, D, V, H, B, L, Q, $, j, Z = null, G, W, K = !1, ee = 0, A, N = E || {};
3040
3040
  N.moves === void 0 && (N.moves = C), N.accepts === void 0 && (N.accepts = C), N.invalid === void 0 && (N.invalid = Mt), N.containers === void 0 && (N.containers = y || []), N.isContainer === void 0 && (N.isContainer = h), N.copy === void 0 && (N.copy = !1), N.copySortSource === void 0 && (N.copySortSource = !1), N.revertOnSpill === void 0 && (N.revertOnSpill = !1), N.removeOnSpill === void 0 && (N.removeOnSpill = !1), N.direction === void 0 && (N.direction = "vertical"), N.ignoreInputTextSelection === void 0 && (N.ignoreInputTextSelection = !0), N.mirrorContainer === void 0 && (N.mirrorContainer = c.body);
3041
- var G = r({
3041
+ var Y = r({
3042
3042
  containers: N.containers,
3043
3043
  start: $e,
3044
3044
  end: bt,
@@ -3048,9 +3048,9 @@ var fa = { exports: {} };
3048
3048
  canMove: Ee,
3049
3049
  dragging: !1
3050
3050
  });
3051
- return N.removeOnSpill === !0 && G.on("over", Pt).on("out", Et), le(), G;
3051
+ return N.removeOnSpill === !0 && Y.on("over", Pt).on("out", Et), le(), Y;
3052
3052
  function U(z) {
3053
- return G.containers.indexOf(z) !== -1 || N.isContainer(z);
3053
+ return Y.containers.indexOf(z) !== -1 || N.isContainer(z);
3054
3054
  }
3055
3055
  function le(z) {
3056
3056
  var oe = z ? "remove" : "add";
@@ -3058,52 +3058,52 @@ var fa = { exports: {} };
3058
3058
  }
3059
3059
  function we(z) {
3060
3060
  var oe = z ? "remove" : "add";
3061
- p(u, oe, "mousemove", ae);
3061
+ p(u, oe, "mousemove", re);
3062
3062
  }
3063
3063
  function Fe(z) {
3064
3064
  var oe = z ? "remove" : "add";
3065
- s[oe](u, "selectstart", ie), s[oe](u, "click", ie);
3065
+ s[oe](u, "selectstart", ae), s[oe](u, "click", ae);
3066
3066
  }
3067
3067
  function J() {
3068
3068
  le(!0), Ie({});
3069
3069
  }
3070
- function ie(z) {
3071
- Y && z.preventDefault();
3070
+ function ae(z) {
3071
+ G && z.preventDefault();
3072
3072
  }
3073
3073
  function X(z) {
3074
3074
  H = z.clientX, B = z.clientY;
3075
3075
  var oe = _(z) !== 1 || z.metaKey || z.ctrlKey;
3076
3076
  if (!oe) {
3077
- var se = z.target, re = xe(se);
3078
- re && (Y = re, we(), z.type === "mousedown" && (T(se) ? se.focus() : z.preventDefault()));
3077
+ var se = z.target, ie = xe(se);
3078
+ ie && (G = ie, we(), z.type === "mousedown" && (T(se) ? se.focus() : z.preventDefault()));
3079
3079
  }
3080
3080
  }
3081
- function ae(z) {
3082
- if (Y) {
3081
+ function re(z) {
3082
+ if (G) {
3083
3083
  if (_(z) === 0) {
3084
3084
  Ie({});
3085
3085
  return;
3086
3086
  }
3087
3087
  if (!(z.clientX !== void 0 && Math.abs(z.clientX - H) <= (N.slideFactorX || 0) && z.clientY !== void 0 && Math.abs(z.clientY - B) <= (N.slideFactorY || 0))) {
3088
3088
  if (N.ignoreInputTextSelection) {
3089
- var oe = k("clientX", z) || 0, se = k("clientY", z) || 0, re = c.elementFromPoint(oe, se);
3090
- if (T(re))
3089
+ var oe = k("clientX", z) || 0, se = k("clientY", z) || 0, ie = c.elementFromPoint(oe, se);
3090
+ if (T(ie))
3091
3091
  return;
3092
3092
  }
3093
- var Se = Y;
3093
+ var Se = G;
3094
3094
  we(!0), Fe(), bt(), ut(Se), l.add($ || V, "gu-transit"), Bt(), Wt(), ee = 0, wt(z);
3095
3095
  }
3096
3096
  }
3097
3097
  }
3098
3098
  function xe(z) {
3099
- if (!(G.dragging && O) && !U(z)) {
3099
+ if (!(Y.dragging && O) && !U(z)) {
3100
3100
  for (var oe = z; F(z) && U(F(z)) === !1; )
3101
3101
  if (N.invalid(z, oe) || (z = F(z), !z))
3102
3102
  return;
3103
3103
  var se = F(z);
3104
3104
  if (se && !N.invalid(z, oe)) {
3105
- var re = N.moves(z, se, oe, w(z));
3106
- if (re)
3105
+ var ie = N.moves(z, se, oe, w(z));
3106
+ if (ie)
3107
3107
  return {
3108
3108
  item: z,
3109
3109
  source: se
@@ -3119,60 +3119,60 @@ var fa = { exports: {} };
3119
3119
  oe && ut(oe);
3120
3120
  }
3121
3121
  function ut(z) {
3122
- Be(z.item, z.source) && ($ = z.item.cloneNode(!0), G.emit("cloned", $, z.item, "copy")), D = z.source, V = z.item, L = Q = w(z.item), G.dragging = !0, G.emit("drag", V, D);
3122
+ Be(z.item, z.source) && ($ = z.item.cloneNode(!0), Y.emit("cloned", $, z.item, "copy")), D = z.source, V = z.item, L = Q = w(z.item), Y.dragging = !0, Y.emit("drag", V, D);
3123
3123
  }
3124
3124
  function Mt() {
3125
3125
  return !1;
3126
3126
  }
3127
3127
  function bt() {
3128
- if (G.dragging) {
3128
+ if (Y.dragging) {
3129
3129
  var z = $ || V;
3130
3130
  Ve(z, F(z));
3131
3131
  }
3132
3132
  }
3133
3133
  function ne() {
3134
- Y = !1, we(!0), Fe(!0);
3134
+ G = !1, we(!0), Fe(!0);
3135
3135
  }
3136
3136
  function Ie(z) {
3137
- if (ne(), !!G.dragging) {
3138
- var oe = $ || V, se = k("clientX", z) || 0, re = k("clientY", z) || 0, Se = b(O, se, re), Ce = Dt(Se, se, re);
3137
+ if (ne(), !!Y.dragging) {
3138
+ var oe = $ || V, se = k("clientX", z) || 0, ie = k("clientY", z) || 0, Se = b(O, se, ie), Ce = Dt(Se, se, ie);
3139
3139
  Ce && ($ && N.copySortSource || !$ || Ce !== D) ? Ve(oe, Ce) : N.removeOnSpill ? Xe() : Ae();
3140
3140
  }
3141
3141
  }
3142
3142
  function Ve(z, oe) {
3143
3143
  var se = F(z);
3144
- $ && N.copySortSource && oe === D && se.removeChild(V), Ot(oe) ? G.emit("cancel", z, D) : G.emit("drop", z, oe, D, Q), mt();
3144
+ $ && N.copySortSource && oe === D && se.removeChild(V), Ot(oe) ? Y.emit("cancel", z, D) : Y.emit("drop", z, oe, D, Q), mt();
3145
3145
  }
3146
3146
  function Xe() {
3147
- if (G.dragging) {
3147
+ if (Y.dragging) {
3148
3148
  var z = $ || V, oe = F(z);
3149
- oe && oe.removeChild(z), G.emit($ ? "cancel" : "remove", z, oe, D), mt();
3149
+ oe && oe.removeChild(z), Y.emit($ ? "cancel" : "remove", z, oe, D), mt();
3150
3150
  }
3151
3151
  }
3152
3152
  function Ae(z) {
3153
- if (G.dragging) {
3154
- var oe = arguments.length > 0 ? z : N.revertOnSpill, se = $ || V, re = F(se), Se = Ot(re);
3155
- Se === !1 && oe && ($ ? re && re.removeChild($) : D.insertBefore(se, L)), Se || oe ? G.emit("cancel", se, D, D) : G.emit("drop", se, re, D, Q), mt();
3153
+ if (Y.dragging) {
3154
+ var oe = arguments.length > 0 ? z : N.revertOnSpill, se = $ || V, ie = F(se), Se = Ot(ie);
3155
+ Se === !1 && oe && ($ ? ie && ie.removeChild($) : D.insertBefore(se, L)), Se || oe ? Y.emit("cancel", se, D, D) : Y.emit("drop", se, ie, D, Q), mt();
3156
3156
  }
3157
3157
  }
3158
3158
  function mt() {
3159
3159
  var z = $ || V;
3160
- ne(), ue(), he(), z && l.rm(z, "gu-transit"), j && clearTimeout(j), G.dragging = !1, Z && G.emit("out", z, Z, D), G.emit("dragend", z, ee), D = V = $ = L = Q = j = Z = null;
3160
+ ne(), ue(), he(), z && l.rm(z, "gu-transit"), j && clearTimeout(j), Y.dragging = !1, Z && Y.emit("out", z, Z, D), Y.emit("dragend", z, ee), D = V = $ = L = Q = j = Z = null;
3161
3161
  }
3162
3162
  function Ot(z, oe) {
3163
3163
  var se;
3164
3164
  return oe !== void 0 ? se = oe : O ? se = Q : se = w($ || V), z === D && se === L;
3165
3165
  }
3166
3166
  function Dt(z, oe, se) {
3167
- for (var re = z; re && !Se(); )
3168
- re = F(re);
3169
- return re;
3167
+ for (var ie = z; ie && !Se(); )
3168
+ ie = F(ie);
3169
+ return ie;
3170
3170
  function Se() {
3171
- var Ce = U(re);
3171
+ var Ce = U(ie);
3172
3172
  if (Ce === !1)
3173
3173
  return !1;
3174
- var He = be(re, z), Me = Te(re, He, oe, se), We = Ot(re, Me);
3175
- return We ? !0 : N.accepts(V, re, D, Me);
3174
+ var He = be(ie, z), Me = Te(ie, He, oe, se), We = Ot(ie, Me);
3175
+ return We ? !0 : N.accepts(V, ie, D, Me);
3176
3176
  }
3177
3177
  }
3178
3178
  function wt(z) {
@@ -3181,11 +3181,11 @@ var fa = { exports: {} };
3181
3181
  z.preventDefault();
3182
3182
  var oe = k("clientX", z) || 0, se = k("clientY", z) || 0;
3183
3183
  O.style.left = oe - 2 + "px", O.style.top = se - 2 + "px";
3184
- var re = $ || V, Se = b(O, oe, se), Ce = Dt(Se, oe, se), He = Ce !== null && Ce !== Z;
3184
+ var ie = $ || V, Se = b(O, oe, se), Ce = Dt(Se, oe, se), He = Ce !== null && Ce !== Z;
3185
3185
  (He || Ce === null) && (ye(), Z = Ce, vt()), ge(Se, se);
3186
- var Me = F(re);
3186
+ var Me = F(ie);
3187
3187
  if (Ce === D && $ && !N.copySortSource) {
3188
- Me && Me.removeChild(re);
3188
+ Me && Me.removeChild(ie);
3189
3189
  return;
3190
3190
  }
3191
3191
  var We, ft = be(Ce, Se);
@@ -3194,12 +3194,12 @@ var fa = { exports: {} };
3194
3194
  else if (N.revertOnSpill === !0 && !$)
3195
3195
  We = L, Ce = D;
3196
3196
  else {
3197
- $ && Me && Me.removeChild(re), $ && W && (W.style.display = "none");
3197
+ $ && Me && Me.removeChild(ie), $ && W && (W.style.display = "none");
3198
3198
  return;
3199
3199
  }
3200
- W.style.display = "block", At(We, re, He), We ? it(ft, We) : te(Ce);
3200
+ W.style.display = "block", At(We, ie, He), We ? it(ft, We) : te(Ce);
3201
3201
  function et(_e) {
3202
- G.emit(_e, re, Z, D);
3202
+ Y.emit(_e, ie, Z, D);
3203
3203
  }
3204
3204
  function vt() {
3205
3205
  He && et("over");
@@ -3215,10 +3215,10 @@ var fa = { exports: {} };
3215
3215
  l.rm(z, "gu-hide");
3216
3216
  }
3217
3217
  function Et(z) {
3218
- G.dragging && l.add(z, "gu-hide");
3218
+ Y.dragging && l.add(z, "gu-hide");
3219
3219
  }
3220
3220
  function Wt() {
3221
- O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = N.getMirrorText && N.getMirrorText(V) || "控件", l.add(O, "gu-mirror"), N.mirrorContainer.appendChild(O), p(u, "add", "mousemove", wt), l.add(N.mirrorContainer, "gu-unselectable"), G.emit("cloned", O, V, "mirror"));
3221
+ O || (O = document.createElement("div"), O.style = "background: grey; color: white; height: 24px; text-align: center; padding: 3px 10px; min-width: 100px;border-radius: 4px; box-shadow: 0 0 6px grey;", O.innerHTML = N.getMirrorText && N.getMirrorText(V) || "控件", l.add(O, "gu-mirror"), N.mirrorContainer.appendChild(O), p(u, "add", "mousemove", wt), l.add(N.mirrorContainer, "gu-unselectable"), Y.emit("cloned", O, V, "mirror"));
3222
3222
  }
3223
3223
  function Bt() {
3224
3224
  if (W = document.createElement("div"), l.add(W, "gu-insertion"), V) {
@@ -3244,7 +3244,7 @@ var fa = { exports: {} };
3244
3244
  var se = z || oe && oe.lastElementChild;
3245
3245
  if (!se)
3246
3246
  return !0;
3247
- var re = getComputedStyle(z), Se = /^inline/.test(re.getPropertyValue("display")) || /^(left|right)$/.test(re.getPropertyValue("float"));
3247
+ var ie = getComputedStyle(z), Se = /^inline/.test(ie.getPropertyValue("display")) || /^(left|right)$/.test(ie.getPropertyValue("float"));
3248
3248
  if (Se)
3249
3249
  return !0;
3250
3250
  if (oe) {
@@ -3262,10 +3262,10 @@ var fa = { exports: {} };
3262
3262
  if (!z.children || !z.children.length)
3263
3263
  return !1;
3264
3264
  for (const oe of Array.from(z.children)) {
3265
- const re = (oe.className && oe.className.split(" ") || []).filter((Se) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Se));
3266
- if (!re.length)
3265
+ const ie = (oe.className && oe.className.split(" ") || []).filter((Se) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(Se));
3266
+ if (!ie.length)
3267
3267
  return !1;
3268
- for (const Se of re) {
3268
+ for (const Se of ie) {
3269
3269
  const Ce = Se.slice(Se.lastIndexOf("-") + 1);
3270
3270
  if (parseInt(Ce, 10) !== 12)
3271
3271
  return !1;
@@ -3277,12 +3277,12 @@ var fa = { exports: {} };
3277
3277
  const se = oe.getBoundingClientRect();
3278
3278
  if (W.style.left = se.left + "px", W.style.top = se.top + "px", K) {
3279
3279
  if (W.style.height = se.height + "px", W.style.width = "4px", z) {
3280
- const re = z.getBoundingClientRect();
3281
- re.top !== se.top && (W.style.left = re.right + "px", W.style.top = re.top + "px", W.style.height = re.height + "px");
3280
+ const ie = z.getBoundingClientRect();
3281
+ ie.top !== se.top && (W.style.left = ie.right + "px", W.style.top = ie.top + "px", W.style.height = ie.height + "px");
3282
3282
  }
3283
3283
  } else if (W.style.height = "4px", W.style.width = se.width + "px", A) {
3284
- const re = A.getBoundingClientRect();
3285
- se.top < re.top && (W.style.display = "none");
3284
+ const ie = A.getBoundingClientRect();
3285
+ se.top < ie.top && (W.style.display = "none");
3286
3286
  }
3287
3287
  oe === V && V && (W.style.display = "none");
3288
3288
  }
@@ -3298,34 +3298,34 @@ var fa = { exports: {} };
3298
3298
  function ge(z, oe) {
3299
3299
  if (!N.mirrorContainer.contains(z) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (A = v(z), !A || !A.contains(z)))
3300
3300
  return;
3301
- const se = document.querySelector(".dgComponentSelected"), re = A.getBoundingClientRect();
3302
- if (oe - 30 < re.top && A.scrollTop > 0) {
3301
+ const se = document.querySelector(".dgComponentSelected"), ie = A.getBoundingClientRect();
3302
+ if (oe - 30 < ie.top && A.scrollTop > 0) {
3303
3303
  let Se = A.scrollTop < 10 ? A.scrollTop : 10;
3304
3304
  A.scrollBy(0, -1 * Se), se && A.contains(se) && (ee = ee + -1 * Se);
3305
3305
  }
3306
- if (oe + 30 > re.bottom && A.scrollTop < A.scrollHeight - A.clientHeight) {
3306
+ if (oe + 30 > ie.bottom && A.scrollTop < A.scrollHeight - A.clientHeight) {
3307
3307
  const Se = A.scrollHeight - A.clientHeight - A.scrollTop;
3308
3308
  let Ce = Se < 10 ? Se : 10;
3309
3309
  A.scrollBy(0, Ce), se && A.contains(se) && (ee = ee + Ce);
3310
3310
  }
3311
3311
  }
3312
- function Te(z, oe, se, re) {
3312
+ function Te(z, oe, se, ie) {
3313
3313
  var Se = N.direction === "horizontal", Ce = N.direction === "mixed", He = oe !== z ? We() : Me();
3314
3314
  return He;
3315
3315
  function Me() {
3316
3316
  var et = z.children.length, vt, ye, _e;
3317
3317
  for (vt = 0; vt < et; vt++)
3318
- if (ye = z.children[vt], _e = ye.getBoundingClientRect(), Se && _e.left + _e.width / 2 > se || !Ce && !Se && _e.top + _e.height / 2 > re || Ce && _e.left + _e.width > se && _e.top + _e.height > re)
3318
+ if (ye = z.children[vt], _e = ye.getBoundingClientRect(), Se && _e.left + _e.width / 2 > se || !Ce && !Se && _e.top + _e.height / 2 > ie || Ce && _e.left + _e.width > se && _e.top + _e.height > ie)
3319
3319
  return ye;
3320
3320
  return null;
3321
3321
  }
3322
3322
  function We() {
3323
3323
  var et = oe.getBoundingClientRect();
3324
3324
  if (Ce) {
3325
- var vt = re - et.top, ye = se - et.left, _e = et.bottom - re, rt = et.right - se, ot = Math.min(ye, rt, vt, _e), st;
3325
+ var vt = ie - et.top, ye = se - et.left, _e = et.bottom - ie, rt = et.right - se, ot = Math.min(ye, rt, vt, _e), st;
3326
3326
  return K ? st = rt < ye : st = _e === ot || rt === ot || ye === ot, ft(st);
3327
3327
  }
3328
- return ft(Se ? se > et.left + S(et) / 2 : re > et.top + M(et) / 2);
3328
+ return ft(Se ? se > et.left + S(et) / 2 : ie > et.top + M(et) / 2);
3329
3329
  }
3330
3330
  function ft(et) {
3331
3331
  return et ? w(oe) : oe;
@@ -3724,8 +3724,8 @@ var fa = { exports: {} };
3724
3724
  }, { "process/browser.js": 9, timers: 11 }]
3725
3725
  }, {}, [2])(2);
3726
3726
  });
3727
- })(fa);
3728
- var ru = fa.exports;
3727
+ })(da);
3728
+ var ru = da.exports;
3729
3729
  const yn = /* @__PURE__ */ iu(ru);
3730
3730
  function su(e) {
3731
3731
  let n;
@@ -3875,7 +3875,7 @@ function lu(e, n, t) {
3875
3875
  }
3876
3876
  a.changeMenuPosition = f, c = function(_, b) {
3877
3877
  var M, F;
3878
- const h = Hi(), C = b ? b.id : _.id, S = (F = (M = h == null ? void 0 : h.exposed) == null ? void 0 : M.elementRef) == null ? void 0 : F.querySelector("#" + C);
3878
+ const h = Li(), C = b ? b.id : _.id, S = (F = (M = h == null ? void 0 : h.exposed) == null ? void 0 : M.elementRef) == null ? void 0 : F.querySelector("#" + C);
3879
3879
  return m("ul", {
3880
3880
  class: r(_),
3881
3881
  style: f(_, S),
@@ -3892,7 +3892,7 @@ function lu(e, n, t) {
3892
3892
  clearAllDropDownMenu: p
3893
3893
  };
3894
3894
  }
3895
- function pa() {
3895
+ function fa() {
3896
3896
  function e(t) {
3897
3897
  const o = {
3898
3898
  "f-icon": !0
@@ -4008,7 +4008,7 @@ function cu(e, n, t) {
4008
4008
  getCustomButtons: v
4009
4009
  }, a;
4010
4010
  }
4011
- const ma = /* @__PURE__ */ ke({
4011
+ const pa = /* @__PURE__ */ ke({
4012
4012
  name: "FDesignerInnerItem",
4013
4013
  props: uu,
4014
4014
  emits: ["selectionChange", "addComponent", "removeComponent", "clickButton"],
@@ -4079,7 +4079,7 @@ const ma = /* @__PURE__ */ ke({
4079
4079
  class: "btn component-settings-button",
4080
4080
  title: "删除",
4081
4081
  ref: "removeComponent",
4082
- onClick: Fo((D) => C(D, O), ["stop"])
4082
+ onClick: ko((D) => C(D, O), ["stop"])
4083
4083
  }, [m("i", {
4084
4084
  class: "f-icon f-icon-yxs_delete"
4085
4085
  }, null)]);
@@ -4126,7 +4126,7 @@ const ma = /* @__PURE__ */ ke({
4126
4126
  }
4127
4127
  function k(O) {
4128
4128
  const D = O.target;
4129
- I(D), la(D);
4129
+ I(D), sa(D);
4130
4130
  }
4131
4131
  function y() {
4132
4132
  var O, D;
@@ -4341,7 +4341,7 @@ function jn(e, n) {
4341
4341
  const t = n || [];
4342
4342
  return (t == null ? void 0 : t.findIndex((a) => a.id === e)) === -1;
4343
4343
  }
4344
- function vo(e, n) {
4344
+ function mo(e, n) {
4345
4345
  const t = n || [];
4346
4346
  let o = { parentIndex: -1, itemIndex: -1 };
4347
4347
  return t.some((a, i) => {
@@ -4351,7 +4351,7 @@ function vo(e, n) {
4351
4351
  }
4352
4352
  }), o;
4353
4353
  }
4354
- function ho(e, n) {
4354
+ function vo(e, n) {
4355
4355
  const t = n || [];
4356
4356
  let o = { parentIndex: -1, itemIndex: -1 };
4357
4357
  const a = t == null ? void 0 : t.findIndex((i) => i.id === e);
@@ -4458,7 +4458,7 @@ function mu(e, n, t) {
4458
4458
  }
4459
4459
  function b() {
4460
4460
  var R, O;
4461
- const k = s(), { parentIndex: y, itemIndex: E } = vo(e.schema.id, k);
4461
+ const k = s(), { parentIndex: y, itemIndex: E } = mo(e.schema.id, k);
4462
4462
  y === -1 || E === -1 || (p(e.schema), k[y].children.splice(E, 1), t.updateToolbarItems(), (R = e.setupContext) == null || R.emit("removeComponent"), (O = e.setupContext) == null || O.emit("selectionChange"));
4463
4463
  }
4464
4464
  function h() {
@@ -4468,7 +4468,7 @@ function mu(e, n, t) {
4468
4468
  }
4469
4469
  function C(k = "Append") {
4470
4470
  var V;
4471
- const y = s(), { parentIndex: E, itemIndex: R } = vo(e.schema.id, y);
4471
+ const y = s(), { parentIndex: E, itemIndex: R } = mo(e.schema.id, y);
4472
4472
  if (E === -1 || R === -1)
4473
4473
  return;
4474
4474
  const O = d(), D = k === "Copy" ? u() : Object.assign({}, O);
@@ -4565,10 +4565,10 @@ function mu(e, n, t) {
4565
4565
  }
4566
4566
  const vu = /* @__PURE__ */ ke({
4567
4567
  name: "FResponseToolbarItemDesign",
4568
- props: da,
4568
+ props: ca,
4569
4569
  emits: ["Click", "dropdown", "clearAll"],
4570
4570
  setup(e, n) {
4571
- const t = x(e.alignment), o = pa(), a = x(), i = Oe("designer-host-service"), r = Oe("design-item-context"), s = Oe("toolbar-item-action"), l = mu(r, i, s), c = er(a, r, l);
4571
+ const t = x(e.alignment), o = fa(), a = x(), i = Oe("designer-host-service"), r = Oe("design-item-context"), s = Oe("toolbar-item-action"), l = mu(r, i, s), c = Zi(a, r, l);
4572
4572
  je(() => {
4573
4573
  a.value.componentInstance = c;
4574
4574
  }), n.expose(c.value);
@@ -4696,7 +4696,7 @@ function hu(e, n, t, o) {
4696
4696
  }
4697
4697
  function d(v, f, p = !1) {
4698
4698
  const _ = l(v.id, v.parent), b = x(_);
4699
- return m(ma, {
4699
+ return m(pa, {
4700
4700
  key: _.id,
4701
4701
  class: ["p-0", p ? "d-block no-drag" : "d-inline-block"],
4702
4702
  modelValue: b.value,
@@ -4778,10 +4778,10 @@ const gu = /* @__PURE__ */ ke({
4778
4778
  },
4779
4779
  toolbarContext: u,
4780
4780
  changeMenuPosition: (B, L, Q) => ({})
4781
- }, v = au(u, c, d), f = tr(i, u, v), p = Oe("toolbar-item-handler"), {
4781
+ }, v = au(u, c, d), f = er(i, u, v), p = Oe("toolbar-item-handler"), {
4782
4782
  initDragula: _,
4783
4783
  dragulaInstance: b
4784
- } = su(u), h = pa(), C = hu(e, a, u, d), S = lu(h, t, C), {
4784
+ } = su(u), h = fa(), C = hu(e, a, u, d), S = lu(h, t, C), {
4785
4785
  renderToolbarItemDesigner: M
4786
4786
  } = C, {
4787
4787
  clearAllDropDownMenu: F,
@@ -4800,7 +4800,7 @@ const gu = /* @__PURE__ */ ke({
4800
4800
  const {
4801
4801
  parent: B,
4802
4802
  item: L
4803
- } = ho(r.value, t.value);
4803
+ } = vo(r.value, t.value);
4804
4804
  B && (d.toggleDropdownMenu(B, !0), setTimeout(() => {
4805
4805
  var j;
4806
4806
  const Q = i.value.querySelector("#" + B.id), $ = Q == null ? void 0 : Q.querySelector("#" + L.id);
@@ -4840,7 +4840,7 @@ const gu = /* @__PURE__ */ ke({
4840
4840
  const {
4841
4841
  parent: j,
4842
4842
  item: Z
4843
- } = ho(r.value, t.value);
4843
+ } = vo(r.value, t.value);
4844
4844
  y(j);
4845
4845
  } else if (pu(r.value, t.value)) {
4846
4846
  const j = (L = t.value) == null ? void 0 : L.find((Z) => Z.id === r.value);
@@ -4944,7 +4944,7 @@ function yu(e, n, t, o, a) {
4944
4944
  }, [m("div", {
4945
4945
  class: "farris-tabs-inline-flex w-100",
4946
4946
  style: "flex:1"
4947
- }, [m(ma, {
4947
+ }, [m(pa, {
4948
4948
  modelValue: r.value,
4949
4949
  "onUpdate:modelValue": (f) => r.value = f,
4950
4950
  class: "w-100 position-relative",
@@ -5009,7 +5009,7 @@ function bu(e, n) {
5009
5009
  }
5010
5010
  const wu = /* @__PURE__ */ ke({
5011
5011
  name: "FTabsDesign",
5012
- props: ta,
5012
+ props: ea,
5013
5013
  emits: ["tabChange", "tabRemove"],
5014
5014
  setup(e, n) {
5015
5015
  const t = x(), o = Oe("designer-host-service"), a = Oe("design-item-context"), i = Vl(a, o), r = Zt(t, a, i), s = x(e.tabType), l = nn(), c = nn(), u = {
@@ -5033,13 +5033,13 @@ const wu = /* @__PURE__ */ ke({
5033
5033
  hasInHeadClass: g
5034
5034
  } = d;
5035
5035
  C(t);
5036
- const w = ia(e, c, d), I = oa(e, l, w, d), {
5036
+ const w = aa(e, c, d), I = na(e, l, w, d), {
5037
5037
  updateNavigationLayout: k
5038
- } = I, y = aa(e, d), {
5038
+ } = I, y = oa(e, d), {
5039
5039
  hideDropDown: E
5040
- } = y, R = kl(e, l, I, w, d, r), O = R, D = na(e, l, I, w, d), V = /* @__PURE__ */ new Map([["default", R], ["one-page", O], ["pills", D]]);
5040
+ } = y, R = kl(e, l, I, w, d, r), O = R, D = ta(e, l, I, w, d), V = /* @__PURE__ */ new Map([["default", R], ["one-page", O], ["pills", D]]);
5041
5041
  P(() => {
5042
- const N = p.value.find((G) => G.props.id === v.value);
5042
+ const N = p.value.find((Y) => Y.props.id === v.value);
5043
5043
  return N == null ? void 0 : N.slots;
5044
5044
  });
5045
5045
  function H() {
@@ -5047,9 +5047,9 @@ const wu = /* @__PURE__ */ ke({
5047
5047
  return N.length < 1 ? null : N.find((U) => U.id === v.value);
5048
5048
  }
5049
5049
  u.updateToolbarItems = function() {
5050
- var G, U;
5050
+ var Y, U;
5051
5051
  const N = H();
5052
- (G = N == null ? void 0 : N.toolbar) != null && G.buttons ? h.value = [...(U = N == null ? void 0 : N.toolbar) == null ? void 0 : U.buttons] : h.value = [], F.value = N == null ? void 0 : N.toolbar;
5052
+ (Y = N == null ? void 0 : N.toolbar) != null && Y.buttons ? h.value = [...(U = N == null ? void 0 : N.toolbar) == null ? void 0 : U.buttons] : h.value = [], F.value = N == null ? void 0 : N.toolbar;
5053
5053
  }, jt("tabs", {
5054
5054
  activeId: v,
5055
5055
  addTab: _,
@@ -5084,28 +5084,28 @@ const wu = /* @__PURE__ */ ke({
5084
5084
  p.value.length && S(e.activeId || p.value[0].props.id), Pe(() => {
5085
5085
  k();
5086
5086
  }), f(l), window.addEventListener("click", (N) => {
5087
- var G;
5088
- E.value || (G = t.value) != null && G.contains(N.target) || (E.value = !0);
5087
+ var Y;
5088
+ E.value || (Y = t.value) != null && Y.contains(N.target) || (E.value = !0);
5089
5089
  }), window.addEventListener("resize", () => {
5090
5090
  k();
5091
5091
  }), M(), t.value.componentInstance = r, e.tabType === "default" && j(l.value, l.value);
5092
5092
  }), kt(() => {
5093
5093
  Z && Z.destroy && Z.destroy();
5094
5094
  });
5095
- function Y() {
5095
+ function G() {
5096
5096
  return !!h.value.length && yu(d, r, i, a, e.componentId);
5097
5097
  }
5098
5098
  const W = V.get(e.tabType) || V.get("default");
5099
5099
  function K() {
5100
- var N, G, U, le;
5100
+ var N, Y, U, le;
5101
5101
  return m("div", {
5102
5102
  class: L.value
5103
5103
  }, [m("div", {
5104
5104
  class: "farris-tabs-header-pre"
5105
- }, [(G = (N = n.slots).headerPrefix) == null ? void 0 : G.call(N)]), m("div", {
5105
+ }, [(Y = (N = n.slots).headerPrefix) == null ? void 0 : Y.call(N)]), m("div", {
5106
5106
  class: "farris-tabs-title scroll-tabs",
5107
5107
  style: Q.value
5108
- }, [W && W()]), Y(), m("div", {
5108
+ }, [W && W()]), G(), m("div", {
5109
5109
  class: "farris-tabs-header-post"
5110
5110
  }, [(le = (U = n.slots).headerSuffix) == null ? void 0 : le.call(U)])]);
5111
5111
  }
@@ -5114,11 +5114,11 @@ const wu = /* @__PURE__ */ ke({
5114
5114
  "f-utils-fill-flex-column": B.value
5115
5115
  }));
5116
5116
  function A() {
5117
- var N, G, U, le;
5117
+ var N, Y, U, le;
5118
5118
  return m("div", {
5119
5119
  class: ee.value,
5120
5120
  ref: c
5121
- }, [(G = (N = a == null ? void 0 : a.schema) == null ? void 0 : N.contents) != null && G.length ? (le = (U = n.slots).default) == null ? void 0 : le.call(U) : ""]);
5121
+ }, [(Y = (N = a == null ? void 0 : a.schema) == null ? void 0 : N.contents) != null && Y.length ? (le = (U = n.slots).default) == null ? void 0 : le.call(U) : ""]);
5122
5122
  }
5123
5123
  return n.expose(r.value), r.value.updateToolbarItems = u.updateToolbarItems, () => m("div", {
5124
5124
  class: $.value,
@@ -5399,7 +5399,7 @@ function Bu(e, n, t) {
5399
5399
  }
5400
5400
  return { onClickMaxMinIcon: s };
5401
5401
  }
5402
- function va(e, n) {
5402
+ function ma(e, n) {
5403
5403
  const t = x(e.buttons), o = P(() => e.buttonPosition === "inHead" ? "right" : "left"), a = P(() => "f-section-toolbar" + (e.buttonPosition === "inHead" ? " f-section-header--toolbar" : " f-section-content--toolbar")), i = P(() => e.buttons && e.buttons.length > 0 && e.buttonPosition === "inHead");
5404
5404
  function r(s, l) {
5405
5405
  n.emit("click", s, l);
@@ -5412,7 +5412,7 @@ function va(e, n) {
5412
5412
  }, null);
5413
5413
  }
5414
5414
  function Ru(e, n, t, o, a, i) {
5415
- const r = P(() => e.buttonPosition), s = va(e, n), {
5415
+ const r = P(() => e.buttonPosition), s = ma(e, n), {
5416
5416
  onClickMaxMinIcon: l
5417
5417
  } = Bu(o, a, i), c = P(() => e.enableMaximize), u = P(() => e.enableAccordion !== ""), d = P(() => {
5418
5418
  const C = {
@@ -5479,7 +5479,7 @@ const Vu = /* @__PURE__ */ ke({
5479
5479
  props: Jn,
5480
5480
  emits: ["click"],
5481
5481
  setup(e, n) {
5482
- const t = x(), o = x(), a = x(e.customClass), i = P(() => e.enableAccordion), r = x(e.expandStatus), s = P(() => e.buttonPosition), l = x(!1), c = Ru(e, n, r, t, o, l), u = va(e, n), d = P(() => {
5482
+ const t = x(), o = x(), a = x(e.customClass), i = P(() => e.enableAccordion), r = x(e.expandStatus), s = P(() => e.buttonPosition), l = x(!1), c = Ru(e, n, r, t, o, l), u = ma(e, n), d = P(() => {
5483
5483
  const b = {
5484
5484
  "f-section": !0,
5485
5485
  "f-section-accordion": i.value === "default",
@@ -5531,7 +5531,7 @@ function $u() {
5531
5531
  };
5532
5532
  }
5533
5533
  function Nu(e, n) {
5534
- const t = new sa(), { canAccept: o } = t.getTemplateRule(e, n);
5534
+ const t = new ra(), { canAccept: o } = t.getTemplateRule(e, n);
5535
5535
  function a(r) {
5536
5536
  if (!$u().basalDragulaRuleForContainer(r, n))
5537
5537
  return !1;
@@ -5704,10 +5704,10 @@ Qt.install = (e) => {
5704
5704
  e.component(Qt.name, Qt), e.component(gn.name, gn);
5705
5705
  };
5706
5706
  Qt.register = (e, n, t, o) => {
5707
- e.tabs = Qt, e["tab-page"] = gn, n.tabs = sl, n["tab-page"] = ra, o.tabs = { eventHandlerResolver: ul };
5707
+ e.tabs = Qt, e["tab-page"] = gn, n.tabs = sl, n["tab-page"] = ia, o.tabs = { eventHandlerResolver: ul };
5708
5708
  };
5709
5709
  Qt.registerDesigner = (e, n, t) => {
5710
- e.tabs = wu, e["tab-page"] = Lu, n.tabs = ll, n["tab-page"] = ra, n["tab-toolbar-item"] = Ku;
5710
+ e.tabs = wu, e["tab-page"] = Lu, n.tabs = ll, n["tab-page"] = ia, n["tab-toolbar-item"] = Ku;
5711
5711
  };
5712
5712
  const Ju = /* @__PURE__ */ new Map([
5713
5713
  ["appearance", Ft]
@@ -5865,7 +5865,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
5865
5865
  * 值变化事件触发时机
5866
5866
  */
5867
5867
  updateOn: { default: "blur", type: String }
5868
- }, ha = nt(Zn, rc, Ju, sc, fc), pc = {
5868
+ }, va = nt(Zn, rc, Ju, sc, fc), pc = {
5869
5869
  data: { type: Array, default: [] },
5870
5870
  /** 确认结果事件 */
5871
5871
  onConfirmResult: { type: Function, default: () => {
@@ -5889,7 +5889,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
5889
5889
  */
5890
5890
  maxHeight: { default: 350, type: Number },
5891
5891
  loading: { default: !1, type: Boolean }
5892
- }, ga = /* @__PURE__ */ ke({
5892
+ }, ha = /* @__PURE__ */ ke({
5893
5893
  name: "FSearchBoxContainer",
5894
5894
  props: pc,
5895
5895
  emits: ["confirmResult", "searchedValue"],
@@ -5927,10 +5927,10 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
5927
5927
  return m("div", {
5928
5928
  class: i.value,
5929
5929
  style: c.value
5930
- }, [m(or, {
5930
+ }, [m(nr, {
5931
5931
  ref: "loadingInstance",
5932
5932
  isActive: e.loading
5933
- }, null), m(Ro, {
5933
+ }, null), m(Bo, {
5934
5934
  ref: o,
5935
5935
  itemClass: "dropdown-item",
5936
5936
  data: t.value,
@@ -5979,7 +5979,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
5979
5979
  const f = {
5980
5980
  default: n.slots.default
5981
5981
  };
5982
- return m(nr, {
5982
+ return m(tr, {
5983
5983
  ref: t,
5984
5984
  "button-content": r.value,
5985
5985
  "custom-class": e.customClass,
@@ -5998,7 +5998,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
5998
5998
  "popup-on-input": e.showDropdown,
5999
5999
  "popup-on-focus": e.showDropdown
6000
6000
  }, {
6001
- default: () => [e.showDropdown && m(ga, {
6001
+ default: () => [e.showDropdown && m(ha, {
6002
6002
  ref: o,
6003
6003
  data: e.data,
6004
6004
  onConfirmResult: l,
@@ -6032,7 +6032,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
6032
6032
  }
6033
6033
  return () => m("div", {
6034
6034
  ref: l
6035
- }, [m(Ai("f-button-edit"), {
6035
+ }, [m(Hi("f-button-edit"), {
6036
6036
  ref: o,
6037
6037
  "button-content": r.value,
6038
6038
  placeholder: i.value,
@@ -6047,7 +6047,7 @@ const lc = "search-box", uc = "A Farris Component", cc = "object", dc = {
6047
6047
  "popup-on-input": !0,
6048
6048
  "popup-on-focus": !0
6049
6049
  }, {
6050
- default: () => [m(ga, {
6050
+ default: () => [m(ha, {
6051
6051
  ref: a,
6052
6052
  data: t.value,
6053
6053
  onConfirmResult: d
@@ -6059,15 +6059,15 @@ Nt.install = (e) => {
6059
6059
  e.component(Nt.name, Nt);
6060
6060
  };
6061
6061
  Nt.register = (e, n, t, o) => {
6062
- e["search-box"] = Nt, n["search-box"] = ha;
6062
+ e["search-box"] = Nt, n["search-box"] = va;
6063
6063
  };
6064
6064
  Nt.registerDesigner = (e, n, t) => {
6065
- e["search-box"] = mc, n["search-box"] = ha;
6065
+ e["search-box"] = mc, n["search-box"] = va;
6066
6066
  };
6067
- const ya = /* @__PURE__ */ new Map([
6067
+ const ga = /* @__PURE__ */ new Map([
6068
6068
  ["appearance", Ft]
6069
6069
  ]);
6070
- function ba(e, n, t) {
6070
+ function ya(e, n, t) {
6071
6071
  return n;
6072
6072
  }
6073
6073
  const vc = "https://json-schema.org/draft/2020-12/schema", hc = "https://farris-design.gitee.io/list-view.schema.json", gc = "list-view", yc = "A Farris Component", bc = "object", wc = {
@@ -6215,8 +6215,8 @@ const vc = "https://json-schema.org/draft/2020-12/schema", hc = "https://farris-
6215
6215
  enableHighlightSearch: { type: Boolean, default: !0 },
6216
6216
  /** 虚拟化渲染数据 */
6217
6217
  virtualized: { type: Boolean, default: !0 }
6218
- }, wa = nt(En, xc, ya, ba, kc);
6219
- function Ca(e, n) {
6218
+ }, ba = nt(En, xc, ga, ya, kc);
6219
+ function wa(e, n) {
6220
6220
  function t(i) {
6221
6221
  const r = [];
6222
6222
  let s = i.nextNode();
@@ -6249,7 +6249,7 @@ function Ca(e, n) {
6249
6249
  }
6250
6250
  return { search: a };
6251
6251
  }
6252
- function go(e, n, t, o, a, i, r, s, l, c) {
6252
+ function ho(e, n, t, o, a, i, r, s, l, c) {
6253
6253
  const u = x(e.size), d = x(e.textField), v = x(e.titleField), f = x(e.disableField), p = P(() => {
6254
6254
  var w, I;
6255
6255
  return ((w = e.selection) == null ? void 0 : w.multiSelect) && ((I = e.selection) == null ? void 0 : I.showCheckbox);
@@ -6473,7 +6473,7 @@ function Ec(e, n, t, o) {
6473
6473
  }
6474
6474
  return { removeItem: r };
6475
6475
  }
6476
- function xa(e, n, t, o, a, i, r, s, l, c) {
6476
+ function Ca(e, n, t, o, a, i, r, s, l, c) {
6477
6477
  const u = x(e.view), d = x(e.view === "CardView"), v = x({}), f = x("暂无数据"), p = Ec(e, n, o, l), _ = P(() => ({
6478
6478
  "f-list-view-group": !0,
6479
6479
  "f-list-view-group-multiselect": e.multiSelect,
@@ -6482,7 +6482,7 @@ function xa(e, n, t, o, a, i, r, s, l, c) {
6482
6482
  })), b = P(() => !!t.value && t.value.length > 0), h = P(() => t.value.length === 0);
6483
6483
  P(() => h.value && !n.slots.empty);
6484
6484
  function C() {
6485
- return u.value === "SingleView" ? go : u.value === "DraggableView" ? Mc : (u.value === "ContentView" || u.value === "CardView") && n.slots.content ? Fc : go;
6485
+ return u.value === "SingleView" ? ho : u.value === "DraggableView" ? Mc : (u.value === "ContentView" || u.value === "CardView") && n.slots.content ? Fc : ho;
6486
6486
  }
6487
6487
  const S = C(), {
6488
6488
  renderItem: M
@@ -6510,7 +6510,7 @@ function xa(e, n, t, o, a, i, r, s, l, c) {
6510
6510
  renderListArea: I
6511
6511
  };
6512
6512
  }
6513
- function Sa(e, n, t) {
6513
+ function xa(e, n, t) {
6514
6514
  function o() {
6515
6515
  return n.slots.header && m("div", {
6516
6516
  class: "f-list-view-header"
@@ -6540,7 +6540,7 @@ function bn(e, n, t) {
6540
6540
  function d() {
6541
6541
  return m("div", {
6542
6542
  class: "f-list-view-header",
6543
- onClick: Fo(() => u, ["prevent", "stop"])
6543
+ onClick: ko(() => u, ["prevent", "stop"])
6544
6544
  }, [m("div", {
6545
6545
  class: c.value
6546
6546
  }, [m("div", {
@@ -6556,7 +6556,7 @@ function bn(e, n, t) {
6556
6556
  type: "text",
6557
6557
  placeholder: a.value,
6558
6558
  autocomplete: "off"
6559
- }, null), [[ko, i.value]]), m("div", {
6559
+ }, null), [[Io, i.value]]), m("div", {
6560
6560
  class: "input-group-append"
6561
6561
  }, [s.value && m("span", {
6562
6562
  class: "input-group-text input-group-clear",
@@ -6573,7 +6573,7 @@ function bn(e, n, t) {
6573
6573
  renderHeader: d
6574
6574
  };
6575
6575
  }
6576
- function Ta() {
6576
+ function Sa() {
6577
6577
  const e = x(""), n = x(-1), t = x(""), o = x(-1), a = x(!1);
6578
6578
  function i(d, v, f) {
6579
6579
  o.value = f;
@@ -6605,7 +6605,7 @@ function Ta() {
6605
6605
  suspendHover: l
6606
6606
  };
6607
6607
  }
6608
- function _a(e, n, t, o) {
6608
+ function Ta(e, n, t, o) {
6609
6609
  const a = x(e.idField), { dataView: i } = t, r = x(-1), s = x(!1), { activeIndex: l, focusedItemId: c, hoverIndex: u, resumeHover: d, suspendHover: v } = o;
6610
6610
  let f, p = 0, _ = 0;
6611
6611
  function b(T, g) {
@@ -6668,7 +6668,7 @@ function _a(e, n, t, o) {
6668
6668
  isDragging: s
6669
6669
  };
6670
6670
  }
6671
- function Ia(e, n, t, o, a, i) {
6671
+ function _a(e, n, t, o, a, i) {
6672
6672
  const r = x(e.idField), s = x(e.disableField), l = x(e.draggable), c = x(e.itemClass), u = x(e.selection.multiSelect ?? !1), d = x(e.selection.multiSelectMode), { isDragging: v } = o, { activeIndex: f, focusedItemId: p, hoverIndex: _ } = a, { clearSelection: b, getSelectedItems: h, toggleSelectItem: C, currentSelectedDataId: S } = i, M = x(h()), F = (O) => M.value.length === 0 ? !1 : M.value.some((D) => {
6673
6673
  let V = "";
6674
6674
  return D.data ? V = D.data[r.value] : V = D[r.value], V === O;
@@ -6721,7 +6721,7 @@ const yt = /* @__PURE__ */ ke({
6721
6721
  props: En,
6722
6722
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
6723
6723
  setup(e, n) {
6724
- const t = x(), o = x(!0), a = x(!1), i = x([]), r = 0, s = x(e.columns), l = Vo(), c = $o(e), u = No(e), d = jo(e, c), v = Lo(e, /* @__PURE__ */ new Map(), l, u, c), f = Ho(e, v, c, i, n), p = Ca(e, t), _ = P(() => v.dataView.value.length), b = Ao(e, n, f, c), h = Wo(e, n, c, b, i), C = qo(e), S = zo(e, {}, C), M = Go(e, v, h, u, c, C, S), F = ar(e, c, S, M), T = ir(e, c, S, M), g = Yo(e, s, v, _, r, M, F, T), {
6724
+ const t = x(), o = x(!0), a = x(!1), i = x([]), r = 0, s = x(e.columns), l = Ro(), c = Vo(e), u = $o(e), d = No(e, c), v = jo(e, /* @__PURE__ */ new Map(), l, u, c), f = Lo(e, v, c, i, n), p = wa(e, t), _ = P(() => v.dataView.value.length), b = Ho(e, n, f, c), h = Ao(e, n, c, b, i), C = Wo(e), S = qo(e, {}, C), M = zo(e, v, h, u, c, C, S), F = or(e, c, S, M), T = ar(e, c, S, M), g = Go(e, s, v, _, r, M, F, T), {
6725
6725
  getVisualData: w
6726
6726
  } = g;
6727
6727
  i.value = w(0, _.value + r - 1);
@@ -6733,13 +6733,13 @@ const yt = /* @__PURE__ */ ke({
6733
6733
  return e.size !== "default" && (ee[`${e.size}-item`] = !0), dt(ee, e.customClass);
6734
6734
  }), k = P(() => !!n.slots.footer || o.value);
6735
6735
  function y() {
6736
- return e.header === "SearchBar" ? bn : e.header === "ContentHeader" ? Sa : bn;
6736
+ return e.header === "SearchBar" ? bn : e.header === "ContentHeader" ? xa : bn;
6737
6737
  }
6738
6738
  const E = y(), {
6739
6739
  renderHeader: R
6740
- } = E(e, n, p), O = Ta(), D = _a(e, n, v, O), V = Ia(e, n, i, D, O, f), {
6740
+ } = E(e, n, p), O = Sa(), D = Ta(e, n, v, O), V = _a(e, n, i, D, O, f), {
6741
6741
  renderListArea: H
6742
- } = xa(e, n, i, v, d, O, f, g, V, D);
6742
+ } = Ca(e, n, i, v, d, O, f, g, V, D);
6743
6743
  function B(ee) {
6744
6744
  p.search(ee);
6745
6745
  }
@@ -6758,7 +6758,7 @@ const yt = /* @__PURE__ */ ke({
6758
6758
  function Z(ee) {
6759
6759
  f.selectedValues.value = ee, V.updateSelectedItems();
6760
6760
  }
6761
- function Y() {
6761
+ function G() {
6762
6762
  return f.currentSelectedDataId.value;
6763
6763
  }
6764
6764
  function W(ee) {
@@ -6772,7 +6772,7 @@ const yt = /* @__PURE__ */ ke({
6772
6772
  updateSelectionByIds: Z,
6773
6773
  getSelectionIds: j,
6774
6774
  activeRowById: W,
6775
- getCurrentRowId: Y
6775
+ getCurrentRowId: G
6776
6776
  });
6777
6777
  function K(ee) {
6778
6778
  e.multiSelect && (ee.preventDefault(), ee.stopPropagation());
@@ -6999,38 +6999,38 @@ function $c(e, n, t, o, a, i, r, s, l, c, u, d, v) {
6999
6999
  } = Pc(e, o, r), {
7000
7000
  treeNodeIconsClass: j
7001
7001
  } = Bc(e, w, I);
7002
- function Z(X, ae) {
7002
+ function Z(X, re) {
7003
7003
  const xe = X.raw[I.value];
7004
7004
  return {
7005
7005
  "fv-tree-node-toggle": xe && X.collapse,
7006
7006
  "fv-tree-node-toggle-minus": xe && !X.collapse
7007
7007
  };
7008
7008
  }
7009
- function Y(X, ae) {
7010
- X.stopPropagation(), E(ae);
7009
+ function G(X, re) {
7010
+ X.stopPropagation(), E(re);
7011
7011
  }
7012
7012
  function W(X) {
7013
7013
  X.stopPropagation();
7014
7014
  }
7015
- function K(X, ae) {
7015
+ function K(X, re) {
7016
7016
  return m("div", {
7017
7017
  class: Z(X),
7018
- onClick: (xe) => Y(xe, X),
7018
+ onClick: (xe) => G(xe, X),
7019
7019
  onDblclick: W
7020
7020
  }, null);
7021
7021
  }
7022
- function ee(X, ae) {
7022
+ function ee(X, re) {
7023
7023
  return y.value && m("div", {
7024
7024
  id: "treeNodeIcons",
7025
- class: j(X, ae)
7025
+ class: j(X, re)
7026
7026
  }, null);
7027
7027
  }
7028
7028
  function A(X) {
7029
7029
  M.value ? (X.checked ? F(X) : T(X), R(X)) : g(X);
7030
7030
  }
7031
- function N(X, ae) {
7031
+ function N(X, re) {
7032
7032
  return k.value && m(Mn, {
7033
- id: "checkbox_for_" + O(X, ae.index),
7033
+ id: "checkbox_for_" + O(X, re.index),
7034
7034
  indeterminate: X.indeterminate,
7035
7035
  disabled: X.disabled,
7036
7036
  checked: X.checked,
@@ -7038,61 +7038,57 @@ function $c(e, n, t, o, a, i, r, s, l, c, u, d, v) {
7038
7038
  onChange: () => A(X)
7039
7039
  }, null);
7040
7040
  }
7041
- function G(X, ae) {
7041
+ function Y(X, re) {
7042
7042
  return m("span", {
7043
- title: ae.data,
7044
7043
  style: "user-select:none"
7045
7044
  }, [n.slots.cellTemplate ? n.slots.cellTemplate({
7046
- cell: ae,
7045
+ cell: re,
7047
7046
  row: X
7048
- }) : ae.mode === Ke.editing ? ae.getEditor(ae) : ae.formatter ? ae.formatter(ae, X) : ae.data != null ? ae.data.toString() : ae.data]);
7047
+ }) : re.mode === Ke.editing ? re.getEditor(re) : re.formatter ? re.formatter(re, X) : re.showTips ? m(Mr, null, {
7048
+ default: () => re.data,
7049
+ contentTemplate: () => re.data
7050
+ }) : re.data]);
7049
7051
  }
7050
- function U(X, ae) {
7052
+ function U(X, re) {
7051
7053
  return m("div", {
7052
- class: Q(ae)
7053
- }, [ae.showTips ? m(fo, null, {
7054
- default: () => G(X, ae),
7055
- contentTemplate: () => G(X, ae)
7056
- }) : G(X, ae)]);
7054
+ class: Q(re)
7055
+ }, [Y(X, re)]);
7057
7056
  }
7058
- function le(X, ae, xe) {
7057
+ function le(X, re, xe) {
7059
7058
  const Ee = $(X);
7060
7059
  return m("div", {
7061
- ref: ae.setRef,
7062
- key: O(X, ae.index),
7060
+ ref: re.setRef,
7061
+ key: O(X, re.index),
7063
7062
  class: "fv-grid-hierarchy-cell",
7064
- style: D(ae, xe)
7063
+ style: D(re, xe)
7065
7064
  }, [m("div", {
7066
- class: B(ae),
7065
+ class: B(re),
7067
7066
  style: Ee
7068
- }, [K(X), ee(X, ae), N(X, ae), U(X, ae)])]);
7067
+ }, [K(X), ee(X, re), N(X, re), U(X, re)])]);
7069
7068
  }
7070
- function we(X, ae, xe) {
7069
+ function we(X, re, xe) {
7071
7070
  return m("div", {
7072
- ref: ae.setRef,
7073
- key: O(X, ae.index),
7074
- class: p(ae),
7075
- style: D(ae, xe),
7076
- onClick: (Ee) => f(Ee, ae, X, ae.column)
7071
+ ref: re.setRef,
7072
+ key: O(X, re.index),
7073
+ class: p(re),
7074
+ style: D(re, xe),
7075
+ onClick: (Ee) => f(Ee, re, X, re.column)
7077
7076
  }, [m("div", {
7078
- class: B(ae)
7077
+ class: B(re)
7079
7078
  }, [m("div", {
7080
- class: Q(ae)
7081
- }, [ae.showTips ? m(fo, null, {
7082
- default: () => G(X, ae),
7083
- contentTemplate: () => G(X, ae)
7084
- }) : G(X, ae)])])]);
7079
+ class: Q(re)
7080
+ }, [Y(X, re)])])]);
7085
7081
  }
7086
- function Fe(X, ae) {
7087
- return ae === "left" && t.value.leftColumns.length > 0 && t.value.leftColumns[0].field === X.field || ae === "primary" && t.value.primaryColumns.length > 0 && t.value.primaryColumns[0].field === X.field;
7082
+ function Fe(X, re) {
7083
+ return re === "left" && t.value.leftColumns.length > 0 && t.value.leftColumns[0].field === X.field || re === "primary" && t.value.primaryColumns.length > 0 && t.value.primaryColumns[0].field === X.field;
7088
7084
  }
7089
- function J(X, ae) {
7085
+ function J(X, re) {
7090
7086
  n.emit("dblclickNode", {
7091
7087
  $event: X,
7092
- node: ae.raw
7088
+ node: re.raw
7093
7089
  });
7094
7090
  }
7095
- function ie(X, ae, xe = "primary", Ee) {
7091
+ function ae(X, re, xe = "primary", Ee) {
7096
7092
  return m("div", {
7097
7093
  ref: X.setRef,
7098
7094
  key: V(X),
@@ -7102,10 +7098,10 @@ function $c(e, n, t, o, a, i, r, s, l, c, u, d, v) {
7102
7098
  onMouseout: ($e) => S($e, X),
7103
7099
  onClick: ($e) => h($e, X),
7104
7100
  onDblclick: ($e) => J($e, X)
7105
- }, [Object.values(X.data).filter(($e) => ae[$e.field] && $e.rowSpan === 1).map(($e) => Fe($e, xe) ? le(X, $e, ae) : we(X, $e, ae))]);
7101
+ }, [Object.values(X.data).filter(($e) => re[$e.field] && $e.rowSpan === 1).map(($e) => Fe($e, xe) ? le(X, $e, re) : we(X, $e, re))]);
7106
7102
  }
7107
7103
  return {
7108
- renderDataRow: ie
7104
+ renderDataRow: ae
7109
7105
  };
7110
7106
  }
7111
7107
  function Nc(e, n, t) {
@@ -7313,9 +7309,9 @@ function Ac(e, n) {
7313
7309
  }
7314
7310
  return { getGridHeaderCells: l };
7315
7311
  }
7316
- function ka(e, n) {
7312
+ function Ia(e, n) {
7317
7313
  var C;
7318
- Qi();
7314
+ Xi();
7319
7315
  const { idField: t } = n, o = x(e.summary), a = x(e.group), i = x(((C = e.group) == null ? void 0 : C.groupFields) || []), r = P(() => {
7320
7316
  var S;
7321
7317
  return (S = e.group) == null ? void 0 : S.enable;
@@ -7409,28 +7405,28 @@ function ka(e, n) {
7409
7405
  }
7410
7406
  function Wc(e, n, t, o) {
7411
7407
  const a = x(0), i = x(!!e.hierarchy), { idField: r } = o, { collapseField: s, hasChildrenField: l, parentIdField: c } = t, u = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map();
7412
- function f(Y, W) {
7413
- d.clear(), Y.reduce((K, ee) => {
7408
+ function f(G, W) {
7409
+ d.clear(), G.reduce((K, ee) => {
7414
7410
  const A = ee[c.value] !== void 0 ? ee[c.value] : "";
7415
7411
  if (A && W.has(A)) {
7416
- const G = W.get(A), U = isNaN(Number(G.__fv_layer__)) ? 1 : Number(G.__fv_layer__);
7417
- ee.__fv_layer__ = U + 1, ee.__fv_parent_index__ = G.__fv_index__, G.__fv_hasChildren__ = !0;
7412
+ const Y = W.get(A), U = isNaN(Number(Y.__fv_layer__)) ? 1 : Number(Y.__fv_layer__);
7413
+ ee.__fv_layer__ = U + 1, ee.__fv_parent_index__ = Y.__fv_index__, Y.__fv_hasChildren__ = !0;
7418
7414
  } else
7419
7415
  ee.__fv_layer__ = 1;
7420
7416
  const N = K.has(A) ? K.get(A) : [];
7421
7417
  return N.push(ee), K.set(A, N), K;
7422
7418
  }, d);
7423
7419
  }
7424
- function p(Y) {
7425
- v.clear(), Y.reduce((W, K) => {
7420
+ function p(G) {
7421
+ v.clear(), G.reduce((W, K) => {
7426
7422
  const ee = K[r.value];
7427
7423
  return W.set(ee, K), W;
7428
7424
  }, v);
7429
7425
  }
7430
- function _(Y) {
7431
- Y.forEach((W) => {
7426
+ function _(G) {
7427
+ G.forEach((W) => {
7432
7428
  const K = W[r.value];
7433
- W.__fv_children_index__.map((A) => Y[A]).forEach((A) => {
7429
+ W.__fv_children_index__.map((A) => G[A]).forEach((A) => {
7434
7430
  A.__fv_parents__ = new Map([
7435
7431
  ...W.__fv_parents__.entries(),
7436
7432
  [K, !0]
@@ -7438,148 +7434,148 @@ function Wc(e, n, t, o) {
7438
7434
  });
7439
7435
  });
7440
7436
  }
7441
- function b(Y) {
7442
- Y.forEach((W) => {
7437
+ function b(G) {
7438
+ G.forEach((W) => {
7443
7439
  const K = new Set(W.__fv_children_index__);
7444
7440
  W.__fv_children_index__ = [...K].sort((ee, A) => ee - A);
7445
7441
  });
7446
7442
  }
7447
- function h(Y) {
7448
- Y.forEach((W) => {
7443
+ function h(G) {
7444
+ G.forEach((W) => {
7449
7445
  const K = W.__fv_parents__;
7450
7446
  Array.from(K.keys()).map((ee) => v.get(ee)).forEach((ee) => {
7451
7447
  ee.__fv_children_index__.push(W.__fv_index__);
7452
7448
  });
7453
- }), b(Y);
7449
+ }), b(G);
7454
7450
  }
7455
- function C(Y) {
7456
- Y.forEach((W) => {
7457
- W.__fv_child_with_lines__ = [], W.__fv_child_length__ = W.__fv_descendant_index__.length, W.__fv_descendant_index__.map((K) => Y[K]).reduce((K, ee) => (K.__fv_child_length__ += ee.__fv_children_index__.length, K.__fv_child_with_lines__.push(...ee.__fv_children_index__, ee.__fv_index__), K), W);
7451
+ function C(G) {
7452
+ G.forEach((W) => {
7453
+ W.__fv_child_with_lines__ = [], W.__fv_child_length__ = W.__fv_descendant_index__.length, W.__fv_descendant_index__.map((K) => G[K]).reduce((K, ee) => (K.__fv_child_length__ += ee.__fv_children_index__.length, K.__fv_child_with_lines__.push(...ee.__fv_children_index__, ee.__fv_index__), K), W);
7458
7454
  });
7459
7455
  }
7460
- function S(Y, W) {
7461
- return { id: Y, index: W, parentId: "", parentIndex: -1, parents: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map(), descendant: /* @__PURE__ */ new Map(), collapsed: !1, visibleInHierarchy: !0 };
7456
+ function S(G, W) {
7457
+ return { id: G, index: W, parentId: "", parentIndex: -1, parents: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map(), descendant: /* @__PURE__ */ new Map(), collapsed: !1, visibleInHierarchy: !0 };
7462
7458
  }
7463
- function M(Y, W, K) {
7459
+ function M(G, W, K) {
7464
7460
  Array.from(W.keys()).forEach((ee) => {
7465
- W.get(ee).reduce((N, G) => {
7466
- const U = G[r.value], le = Y.get(G[r.value]), we = Y.get(ee), Fe = K.get(ee);
7461
+ W.get(ee).reduce((N, Y) => {
7462
+ const U = Y[r.value], le = G.get(Y[r.value]), we = G.get(ee), Fe = K.get(ee);
7467
7463
  return we && Fe && (we.children.set(U, le), we.children.set(U, le), le.parentId = ee, le.parentIndex = we.index, le.parents.set(ee, we)), N;
7468
- }, Y);
7464
+ }, G);
7469
7465
  });
7470
7466
  }
7471
- function F(Y) {
7472
- Y.children.forEach((K) => {
7467
+ function F(G) {
7468
+ G.children.forEach((K) => {
7473
7469
  K.parents = new Map([
7474
- ...Y.parents.entries(),
7475
- [Y.id, Y]
7470
+ ...G.parents.entries(),
7471
+ [G.id, G]
7476
7472
  ]), F(K);
7477
7473
  });
7478
7474
  }
7479
- function T(Y, W) {
7480
- Y.filter((K) => K[c.value] === void 0 || K[c.value] === "").forEach((K) => {
7475
+ function T(G, W) {
7476
+ G.filter((K) => K[c.value] === void 0 || K[c.value] === "").forEach((K) => {
7481
7477
  const ee = K[r.value], A = W.get(ee);
7482
7478
  F(A);
7483
7479
  });
7484
7480
  }
7485
- function g(Y) {
7486
- Array.from(Y.values()).forEach((W) => {
7481
+ function g(G) {
7482
+ Array.from(G.values()).forEach((W) => {
7487
7483
  Array.from(W.parents.values()).forEach((K) => {
7488
7484
  K.descendant.set(W.id, W);
7489
7485
  });
7490
7486
  });
7491
7487
  }
7492
- function w(Y) {
7493
- u.clear(), Y.forEach((W, K) => {
7488
+ function w(G) {
7489
+ u.clear(), G.forEach((W, K) => {
7494
7490
  const ee = W[r.value];
7495
7491
  u.set(ee, S(ee, K));
7496
- }), p(Y), f(Y, v), M(u, d, v), T(Y, u), g(u);
7492
+ }), p(G), f(G, v), M(u, d, v), T(G, u), g(u);
7497
7493
  }
7498
- function I(Y) {
7499
- const W = Y[r.value], K = u.get(W);
7494
+ function I(G) {
7495
+ const W = G[r.value], K = u.get(W);
7500
7496
  return K && K.children.size > 0;
7501
7497
  }
7502
- function k(Y) {
7503
- return Y[l.value] && !I(Y);
7498
+ function k(G) {
7499
+ return G[l.value] && !I(G);
7504
7500
  }
7505
- function y(Y) {
7506
- const W = Y[r.value], K = u.get(W);
7501
+ function y(G) {
7502
+ const W = G[r.value], K = u.get(W);
7507
7503
  return K && K.visibleInHierarchy;
7508
7504
  }
7509
7505
  function E() {
7510
7506
  a.value = Date.now();
7511
7507
  }
7512
- function R(Y, W) {
7508
+ function R(G, W) {
7513
7509
  W.forEach((K) => {
7514
- const ee = u.get(K[r.value]), A = u.get(Y), N = v.get(Y);
7510
+ const ee = u.get(K[r.value]), A = u.get(G), N = v.get(G);
7515
7511
  A && N && (ee.visibleInHierarchy = !N[s.value] && A.visibleInHierarchy);
7516
7512
  }), E();
7517
7513
  }
7518
- function O(Y) {
7519
- if (d.has(Y)) {
7520
- const K = d.get(Y);
7521
- R(Y, K), K.map((ee) => ee[r.value]).forEach((ee) => O(ee));
7514
+ function O(G) {
7515
+ if (d.has(G)) {
7516
+ const K = d.get(G);
7517
+ R(G, K), K.map((ee) => ee[r.value]).forEach((ee) => O(ee));
7522
7518
  }
7523
7519
  }
7524
- function D(Y) {
7525
- const W = Y[r.value];
7520
+ function D(G) {
7521
+ const W = G[r.value];
7526
7522
  O(W);
7527
7523
  }
7528
- function V(Y, W, K = 0) {
7529
- Y.forEach((ee) => {
7530
- const A = k(ee), N = ee.__fv_layer__ <= K, G = W === "ToCollapse" ? ee.__fv_layer__ <= K : !(ee.__fv_layer__ <= K), U = N ? G : ee[s.value];
7524
+ function V(G, W, K = 0) {
7525
+ G.forEach((ee) => {
7526
+ const A = k(ee), N = ee.__fv_layer__ <= K, Y = W === "ToCollapse" ? ee.__fv_layer__ <= K : !(ee.__fv_layer__ <= K), U = N ? Y : ee[s.value];
7531
7527
  ee[s.value] = A || U;
7532
7528
  });
7533
7529
  for (const [ee, A] of d.entries())
7534
7530
  R(ee, A);
7535
- return Y;
7531
+ return G;
7536
7532
  }
7537
- function H(Y, W) {
7538
- V(Y, "ToCollapse", W);
7533
+ function H(G, W) {
7534
+ V(G, "ToCollapse", W);
7539
7535
  }
7540
- function B(Y, W) {
7541
- V(Y, "ToExpand", W);
7536
+ function B(G, W) {
7537
+ V(G, "ToExpand", W);
7542
7538
  }
7543
- function L(Y) {
7544
- Y.forEach((W, K) => {
7545
- var G;
7546
- const ee = W[r.value], A = d.has(ee) ? (G = d.get(ee)) == null ? void 0 : G.map((U) => U.__fv_index__) : [], N = S(ee, K);
7539
+ function L(G) {
7540
+ G.forEach((W, K) => {
7541
+ var Y;
7542
+ const ee = W[r.value], A = d.has(ee) ? (Y = d.get(ee)) == null ? void 0 : Y.map((U) => U.__fv_index__) : [], N = S(ee, K);
7547
7543
  W.__fv_graph_node__ = N, W.__fv_children_index__ = A, W.__fv_descendant_index__ = [...A], W.__fv_parents__ = /* @__PURE__ */ new Map(), k(W) && (W[s.value] = !0);
7548
7544
  });
7549
7545
  }
7550
- function Q(Y) {
7546
+ function Q(G) {
7551
7547
  var ee, A;
7552
- w(n.value), L(Y), _(Y), h(Y), e.showLines && C(Y);
7548
+ w(n.value), L(G), _(G), h(G), e.showLines && C(G);
7553
7549
  const K = ((ee = e.hierarchy) == null ? void 0 : ee.collapseTo) !== void 0 ? Number((A = e.hierarchy) == null ? void 0 : A.collapseTo) : 0;
7554
- return V(Y, "ToCollapse", K), Y;
7550
+ return V(G, "ToCollapse", K), G;
7555
7551
  }
7556
- function $(Y, W, K) {
7557
- const A = K.value[Y][r.value], N = u.get(A);
7552
+ function $(G, W, K) {
7553
+ const A = K.value[G][r.value], N = u.get(A);
7558
7554
  if (N) {
7559
- const G = u.get(N.parentId);
7555
+ const Y = u.get(N.parentId);
7560
7556
  let U = K.value.length - 1;
7561
- if (G) {
7562
- const le = Array.from(G.children.keys()).indexOf(N.id);
7563
- if (le === G.children.size - 1) {
7564
- const Fe = Array.from(G.descendant.values())[G.descendant.size - 1];
7565
- U = K.value.findIndex((ie) => ie[r.value] === Fe.id) + 1;
7557
+ if (Y) {
7558
+ const le = Array.from(Y.children.keys()).indexOf(N.id);
7559
+ if (le === Y.children.size - 1) {
7560
+ const Fe = Array.from(Y.descendant.values())[Y.descendant.size - 1];
7561
+ U = K.value.findIndex((ae) => ae[r.value] === Fe.id) + 1;
7566
7562
  } else {
7567
- const Fe = Array.from(G.children.values())[le + 1];
7568
- U = K.value.findIndex((ie) => ie[r.value] === Fe.id);
7563
+ const Fe = Array.from(Y.children.values())[le + 1];
7564
+ U = K.value.findIndex((ae) => ae[r.value] === Fe.id);
7569
7565
  }
7570
- W[l.value] = !1, W[c.value] = G.id, K.value.splice(U, 0, W);
7566
+ W[l.value] = !1, W[c.value] = Y.id, K.value.splice(U, 0, W);
7571
7567
  }
7572
7568
  }
7573
7569
  }
7574
- function j(Y, W, K) {
7575
- const ee = K.value[Y], A = ee[r.value];
7570
+ function j(G, W, K) {
7571
+ const ee = K.value[G], A = ee[r.value];
7576
7572
  if (u.get(A)) {
7577
7573
  const U = K.value.findIndex((le) => le[r.value] === A) + 1;
7578
7574
  ee[l.value] = !0, ee[s.value] = !1, W[l.value] = !1, W[c.value] = A, K.value.splice(U, 0, W);
7579
7575
  }
7580
7576
  }
7581
- function Z(Y, W) {
7582
- const K = Y[r.value], ee = u.get(K), A = Array.from(ee.descendant.keys());
7577
+ function Z(G, W) {
7578
+ const K = G[r.value], ee = u.get(K), A = Array.from(ee.descendant.keys());
7583
7579
  A.unshift(K);
7584
7580
  const N = u.get(ee.parentId);
7585
7581
  if (N && (N.children.delete(K), N.children.size === 0)) {
@@ -7781,7 +7777,7 @@ class eo {
7781
7777
  document.body.removeChild(i);
7782
7778
  }), je(() => {
7783
7779
  t.updateNotifyPositionForCreate(a, s);
7784
- }), () => m(Mo, {
7780
+ }), () => m(Fo, {
7785
7781
  mode: "out-in",
7786
7782
  name: "fade",
7787
7783
  appear: !0
@@ -7859,15 +7855,15 @@ class eo {
7859
7855
  }), this.notifyRefs.length = 0;
7860
7856
  }
7861
7857
  }
7862
- const Fa = Symbol("NOTIFY_SERVICE_TOKEN");
7858
+ const ka = Symbol("NOTIFY_SERVICE_TOKEN");
7863
7859
  mn.install = (e) => {
7864
7860
  e.component(mn.name, mn), e.component(Hn.name, Hn);
7865
7861
  const n = new eo();
7866
- e.provide(Fa, n), e.provide("FNotifyService", n);
7862
+ e.provide(ka, n), e.provide("FNotifyService", n);
7867
7863
  };
7868
- function Ma(e, n, t, o, a) {
7864
+ function Fa(e, n, t, o, a) {
7869
7865
  var it;
7870
- const i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), u = x([]), d = x([]), v = ka(e, a), { generateGroupData: f, groupFields: p, shouldGroupingData: _ } = v, b = x(e.data), h = Wc(e, b, o, a), {
7866
+ const i = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), u = x([]), d = x([]), v = Ia(e, a), { generateGroupData: f, groupFields: p, shouldGroupingData: _ } = v, b = x(e.data), h = Wc(e, b, o, a), {
7871
7867
  collapseTo: C,
7872
7868
  expandTo: S,
7873
7869
  generateHierarchyData: M,
@@ -7892,20 +7888,20 @@ function Ma(e, n, t, o, a) {
7892
7888
  return (te == null ? void 0 : te.groupFields) || [];
7893
7889
  });
7894
7890
  let j = /* @__PURE__ */ new Map();
7895
- const Z = x(V.value.length), Y = x(e.pagination);
7891
+ const Z = x(V.value.length), G = x(e.pagination);
7896
7892
  function W() {
7897
- return Y.value && Y.value.enable && Y.value.size > 0 ? Y.value.size : V.value.length;
7893
+ return G.value && G.value.enable && G.value.size > 0 ? G.value.size : V.value.length;
7898
7894
  }
7899
- const K = x(1), ee = P(() => Y.value && Y.value.enable && Y.value.mode !== "server"), A = P(() => Y.value && Y.value.enable && Y.value.mode === "server"), N = new eo();
7900
- function G(te, ge) {
7895
+ const K = x(1), ee = P(() => G.value && G.value.enable && G.value.mode !== "server"), A = P(() => G.value && G.value.enable && G.value.mode === "server"), N = new eo();
7896
+ function Y(te, ge) {
7901
7897
  const Te = Math.ceil(te.length / ge);
7902
7898
  let Be = 0;
7903
7899
  const z = [], oe = [], se = [];
7904
7900
  for (; Be < Te; ) {
7905
- const re = te.slice(Be * ge, (Be + 1) * ge), Se = f(p.value, re, n);
7901
+ const ie = te.slice(Be * ge, (Be + 1) * ge), Se = f(p.value, ie, n);
7906
7902
  oe[Be] = Se.filter((Ce) => Ce.__fv_data_grid_group_row__).length, z.push(...Se), Be++;
7907
7903
  }
7908
- return oe.reduce((re, Se, Ce) => (re = re + Se, se.push(re), re), 0), {
7904
+ return oe.reduce((ie, Se, Ce) => (ie = ie + Se, se.push(ie), ie), 0), {
7909
7905
  groupData: z,
7910
7906
  groupRowSizeList: oe,
7911
7907
  accumulateGroupRowSize: se
@@ -7917,13 +7913,13 @@ function Ma(e, n, t, o, a) {
7917
7913
  const te = 0, ge = W(), Te = (K.value - 1) * ge;
7918
7914
  let z = Te > V.value.length - 1 || A.value ? te : Te, oe = A.value ? V.value.length : Math.min(z + ge, V.value.length);
7919
7915
  if (_.value && ee.value) {
7920
- const { accumulateGroupRowSize: Ce, groupData: He, groupRowSizeList: Me } = G(b.value, ge);
7916
+ const { accumulateGroupRowSize: Ce, groupData: He, groupRowSizeList: Me } = Y(b.value, ge);
7921
7917
  V.value = He;
7922
7918
  const We = Me[K.value - 1];
7923
7919
  z += K.value - 2 < 0 ? 0 : Ce[K.value - 2], oe = z + ge + We;
7924
7920
  }
7925
7921
  let se = 0;
7926
- const re = [];
7922
+ const ie = [];
7927
7923
  if (V.value.length) {
7928
7924
  O(V.value);
7929
7925
  const Ce = R.value !== e.idField;
@@ -7932,40 +7928,40 @@ function Ma(e, n, t, o, a) {
7932
7928
  Me.__fv_data_grid_group_row__ ? (se = 0, Me.__fv_data_index__ = "") : Me.__fv_data_grid_group_summary__ ? Me.__fv_data_index__ = "" : (se++, Me.__fv_data_index__ = se + (K.value - 1) * ge), Me.__fv_index__ = He, Me.__fv_visible_index__ = He, e.rowOption && e.rowOption.disabledField && (Me.__fv_disabled__ = Me[(Se = e.rowOption) == null ? void 0 : Se.disabledField]), Ce && (Me[R.value] = He), $.value.forEach((We) => {
7933
7929
  const ft = j.get(We) || 0;
7934
7930
  j.set(We, ft + Me[We]);
7935
- }), re.push(Me);
7931
+ }), ie.push(Me);
7936
7932
  }
7937
7933
  }
7938
- return I.value && M(re), H.value = [...re], re;
7934
+ return I.value && M(ie), H.value = [...ie], ie;
7939
7935
  }
7940
7936
  const le = x(U()), we = P(() => (E.value, le.value.filter((te) => I.value ? te.__fv_visible__ !== !1 && w(te) : te.__fv_visible__ !== !1)));
7941
7937
  function Fe() {
7942
7938
  we.value.forEach((te, ge) => (te.__fv_visible_index__ = ge, te));
7943
7939
  }
7944
7940
  function J(te, ge, Te = !1) {
7945
- const z = (Te ? U() : [...H.value]).filter((re) => t.apply(re)), oe = te && te.length ? z.filter((re) => te.reduce((Se, Ce) => Se && Ce.filter(re), !0)) : z, se = ge && ge.length ? oe.sort((re, Se) => {
7941
+ const z = (Te ? U() : [...H.value]).filter((ie) => t.apply(ie)), oe = te && te.length ? z.filter((ie) => te.reduce((Se, Ce) => Se && Ce.filter(ie), !0)) : z, se = ge && ge.length ? oe.sort((ie, Se) => {
7946
7942
  const Ce = [...ge], He = Ce.shift();
7947
- let Me = He.compare(re[He.field], Se[He.field]);
7943
+ let Me = He.compare(ie[He.field], Se[He.field]);
7948
7944
  for (; Me === 0 && Ce.length !== 0; ) {
7949
7945
  const We = Ce.shift();
7950
- We && (Me = We.compare(re[We.field], Se[We.field]));
7946
+ We && (Me = We.compare(ie[We.field], Se[We.field]));
7951
7947
  }
7952
7948
  return Me;
7953
7949
  }) : oe;
7954
- return le.value = se.map((re, Se) => {
7955
- if (re.__fv_data_grid_group_row__) {
7956
- const Ce = `group_of_${re.__fv_data_grid_group_field__}_${re.__fv_data_grid_group_value__}`;
7957
- re.__fv_data_grid_group_collapse__ = !!i.get(Ce);
7950
+ return le.value = se.map((ie, Se) => {
7951
+ if (ie.__fv_data_grid_group_row__) {
7952
+ const Ce = `group_of_${ie.__fv_data_grid_group_field__}_${ie.__fv_data_grid_group_value__}`;
7953
+ ie.__fv_data_grid_group_collapse__ = !!i.get(Ce);
7958
7954
  }
7959
- return re.__fv_index__ = Se, re.__fv_visible_index__ = Se, re;
7955
+ return ie.__fv_index__ = Se, ie.__fv_visible_index__ = Se, ie;
7960
7956
  }), le.value;
7961
7957
  }
7962
- function ie(te) {
7958
+ function ae(te) {
7963
7959
  return c.clear(), d.value = te, d.value.reduce((ge, Te) => (ge.set(Te.field, Te), ge), c), J([], d.value);
7964
7960
  }
7965
7961
  function X(te, ge) {
7966
7962
  return c.set(te, ge), d.value = Array.from(c.values()), J([], d.value);
7967
7963
  }
7968
- function ae(te) {
7964
+ function re(te) {
7969
7965
  return c.delete(te), d.value = Array.from(c.values()), J([], d.value);
7970
7966
  }
7971
7967
  function xe(te, ge) {
@@ -8025,7 +8021,7 @@ function Ma(e, n, t, o, a) {
8025
8021
  b.value = Te, Ae();
8026
8022
  }
8027
8023
  function Ot(te, ge, Te) {
8028
- return (te && te.length ? le.value.filter((z, oe) => te.reduce((se, re) => se && re.filter(z), !0)) : le.value).slice(ge, Te);
8024
+ return (te && te.length ? le.value.filter((z, oe) => te.reduce((se, ie) => se && ie.filter(z), !0)) : le.value).slice(ge, Te);
8029
8025
  }
8030
8026
  function Dt(te) {
8031
8027
  const ge = W(), Te = Math.ceil(Z.value / ge);
@@ -8065,10 +8061,10 @@ function Ma(e, n, t, o, a) {
8065
8061
  return J(te, Array.from(c.values()));
8066
8062
  }
8067
8063
  function he(te) {
8068
- Y.value.size = te;
8064
+ G.value.size = te;
8069
8065
  }
8070
8066
  function be(te) {
8071
- Y.value && (he(te), Ae());
8067
+ G.value && (he(te), Ae());
8072
8068
  }
8073
8069
  function Le(te, ge) {
8074
8070
  const Te = b.value[Number(te) - 1];
@@ -8115,9 +8111,9 @@ function Ma(e, n, t, o, a) {
8115
8111
  removeDataItemById: Wt,
8116
8112
  removeFilter: Ee,
8117
8113
  removeHierarchyDataItem: Bt,
8118
- removeSorter: ae,
8114
+ removeSorter: re,
8119
8115
  reOrderVisibleIndex: Fe,
8120
- setSorters: ie,
8116
+ setSorters: ae,
8121
8117
  sorters: d,
8122
8118
  summaries: j,
8123
8119
  toggleChildrenVisibiltyByCollapseStatus: k,
@@ -8127,7 +8123,7 @@ function Ma(e, n, t, o, a) {
8127
8123
  visibleDataItems: we
8128
8124
  };
8129
8125
  }
8130
- const Oa = {
8126
+ const Ma = {
8131
8127
  conditions: { type: Array, default: [] },
8132
8128
  fields: { type: Array, default: [] },
8133
8129
  key: { type: String, default: "" },
@@ -8136,7 +8132,7 @@ const Oa = {
8136
8132
  */
8137
8133
  isControlInline: { type: Boolean, default: !0 }
8138
8134
  };
8139
- class Ea {
8135
+ class Oa {
8140
8136
  constructor(n = { value: [] }) {
8141
8137
  q(this, "editorType", "check-box");
8142
8138
  q(this, "value");
@@ -8160,7 +8156,7 @@ class Ea {
8160
8156
  return this.value.length === 0;
8161
8157
  }
8162
8158
  }
8163
- class Da {
8159
+ class Ea {
8164
8160
  constructor(n = { textValue: "", value: "", valueField: "" }) {
8165
8161
  q(this, "editorType", "combo-lookup");
8166
8162
  q(this, "textValue");
@@ -8204,11 +8200,11 @@ function Ze(e) {
8204
8200
  function ze(e, n) {
8205
8201
  return e instanceof Date ? new e.constructor(n) : new Date(n);
8206
8202
  }
8207
- function Pa(e, n) {
8203
+ function Da(e, n) {
8208
8204
  const t = Ze(e);
8209
8205
  return isNaN(n) ? ze(e, NaN) : (n && t.setDate(t.getDate() + n), t);
8210
8206
  }
8211
- const Ba = 6048e5, Gc = 864e5, Yc = 6e4, Uc = 36e5, Xc = 1e3;
8207
+ const Pa = 6048e5, Gc = 864e5, Yc = 6e4, Uc = 36e5, Xc = 1e3;
8212
8208
  let Qc = {};
8213
8209
  function sn() {
8214
8210
  return Qc;
@@ -8221,7 +8217,7 @@ function Lt(e, n) {
8221
8217
  function on(e) {
8222
8218
  return Lt(e, { weekStartsOn: 1 });
8223
8219
  }
8224
- function Ra(e) {
8220
+ function Ba(e) {
8225
8221
  const n = Ze(e), t = n.getFullYear(), o = ze(e, 0);
8226
8222
  o.setFullYear(t + 1, 0, 4), o.setHours(0, 0, 0, 0);
8227
8223
  const a = on(o), i = ze(e, 0);
@@ -8229,7 +8225,7 @@ function Ra(e) {
8229
8225
  const r = on(i);
8230
8226
  return n.getTime() >= a.getTime() ? t + 1 : n.getTime() >= r.getTime() ? t : t - 1;
8231
8227
  }
8232
- function yo(e) {
8228
+ function go(e) {
8233
8229
  const n = Ze(e);
8234
8230
  return n.setHours(0, 0, 0, 0), n;
8235
8231
  }
@@ -8248,11 +8244,11 @@ function wn(e) {
8248
8244
  return t.setUTCFullYear(n.getFullYear()), +e - +t;
8249
8245
  }
8250
8246
  function Kc(e, n) {
8251
- const t = yo(e), o = yo(n), a = +t - wn(t), i = +o - wn(o);
8247
+ const t = go(e), o = go(n), a = +t - wn(t), i = +o - wn(o);
8252
8248
  return Math.round((a - i) / Gc);
8253
8249
  }
8254
8250
  function Jc(e) {
8255
- const n = Ra(e), t = ze(e, 0);
8251
+ const n = Ba(e), t = ze(e, 0);
8256
8252
  return t.setFullYear(n, 0, 4), t.setHours(0, 0, 0, 0), on(t);
8257
8253
  }
8258
8254
  function Zc(e) {
@@ -8687,7 +8683,7 @@ const Cd = /^(\d+)(th|st|nd|rd)?/i, xd = /\d+/i, Sd = {
8687
8683
  parsePatterns: Dd,
8688
8684
  defaultParseWidth: "any"
8689
8685
  })
8690
- }, Va = {
8686
+ }, Ra = {
8691
8687
  code: "en-US",
8692
8688
  formatDistance: od,
8693
8689
  formatLong: sd,
@@ -8703,9 +8699,9 @@ function Bd(e) {
8703
8699
  const n = Ze(e);
8704
8700
  return Kc(n, td(n)) + 1;
8705
8701
  }
8706
- function $a(e) {
8702
+ function Va(e) {
8707
8703
  const n = Ze(e), t = +on(n) - +Jc(n);
8708
- return Math.round(t / Ba) + 1;
8704
+ return Math.round(t / Pa) + 1;
8709
8705
  }
8710
8706
  function to(e, n) {
8711
8707
  var u, d, v, f;
@@ -8721,9 +8717,9 @@ function Rd(e, n) {
8721
8717
  const t = sn(), o = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((l = (s = n == null ? void 0 : n.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((u = (c = t.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, a = to(e, n), i = ze(e, 0);
8722
8718
  return i.setFullYear(a, 0, o), i.setHours(0, 0, 0, 0), Lt(i, n);
8723
8719
  }
8724
- function Na(e, n) {
8720
+ function $a(e, n) {
8725
8721
  const t = Ze(e), o = +Lt(t, n) - +Rd(t, n);
8726
- return Math.round(o / Ba) + 1;
8722
+ return Math.round(o / Pa) + 1;
8727
8723
  }
8728
8724
  function Re(e, n) {
8729
8725
  const t = e < 0 ? "-" : "", o = Math.abs(e).toString().padStart(n, "0");
@@ -8792,7 +8788,7 @@ const Vt = {
8792
8788
  afternoon: "afternoon",
8793
8789
  evening: "evening",
8794
8790
  night: "night"
8795
- }, bo = {
8791
+ }, yo = {
8796
8792
  // Era
8797
8793
  G: function(e, n, t) {
8798
8794
  const o = e.getFullYear() > 0 ? 1 : 0;
@@ -8827,7 +8823,7 @@ const Vt = {
8827
8823
  },
8828
8824
  // ISO week-numbering year
8829
8825
  R: function(e, n) {
8830
- const t = Ra(e);
8826
+ const t = Ba(e);
8831
8827
  return Re(t, n.length);
8832
8828
  },
8833
8829
  // Extended year. This is a single number designating the year of this calendar system.
@@ -8950,12 +8946,12 @@ const Vt = {
8950
8946
  },
8951
8947
  // Local week of year
8952
8948
  w: function(e, n, t, o) {
8953
- const a = Na(e, o);
8949
+ const a = $a(e, o);
8954
8950
  return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : Re(a, n.length);
8955
8951
  },
8956
8952
  // ISO week of year
8957
8953
  I: function(e, n, t) {
8958
- const o = $a(e);
8954
+ const o = Va(e);
8959
8955
  return n === "Io" ? t.ordinalNumber(o, { unit: "week" }) : Re(o, n.length);
8960
8956
  },
8961
8957
  // Day of the month
@@ -9218,7 +9214,7 @@ const Vt = {
9218
9214
  return "Z";
9219
9215
  switch (n) {
9220
9216
  case "X":
9221
- return Co(o);
9217
+ return wo(o);
9222
9218
  case "XXXX":
9223
9219
  case "XX":
9224
9220
  return Yt(o);
@@ -9233,7 +9229,7 @@ const Vt = {
9233
9229
  const o = e.getTimezoneOffset();
9234
9230
  switch (n) {
9235
9231
  case "x":
9236
- return Co(o);
9232
+ return wo(o);
9237
9233
  case "xxxx":
9238
9234
  case "xx":
9239
9235
  return Yt(o);
@@ -9250,7 +9246,7 @@ const Vt = {
9250
9246
  case "O":
9251
9247
  case "OO":
9252
9248
  case "OOO":
9253
- return "GMT" + wo(o, ":");
9249
+ return "GMT" + bo(o, ":");
9254
9250
  case "OOOO":
9255
9251
  default:
9256
9252
  return "GMT" + Yt(o, ":");
@@ -9263,7 +9259,7 @@ const Vt = {
9263
9259
  case "z":
9264
9260
  case "zz":
9265
9261
  case "zzz":
9266
- return "GMT" + wo(o, ":");
9262
+ return "GMT" + bo(o, ":");
9267
9263
  case "zzzz":
9268
9264
  default:
9269
9265
  return "GMT" + Yt(o, ":");
@@ -9280,18 +9276,18 @@ const Vt = {
9280
9276
  return Re(o, n.length);
9281
9277
  }
9282
9278
  };
9283
- function wo(e, n = "") {
9279
+ function bo(e, n = "") {
9284
9280
  const t = e > 0 ? "-" : "+", o = Math.abs(e), a = Math.trunc(o / 60), i = o % 60;
9285
9281
  return i === 0 ? t + String(a) : t + String(a) + n + Re(i, 2);
9286
9282
  }
9287
- function Co(e, n) {
9283
+ function wo(e, n) {
9288
9284
  return e % 60 === 0 ? (e > 0 ? "-" : "+") + Re(Math.abs(e) / 60, 2) : Yt(e, n);
9289
9285
  }
9290
9286
  function Yt(e, n = "") {
9291
9287
  const t = e > 0 ? "-" : "+", o = Math.abs(e), a = Re(Math.trunc(o / 60), 2), i = Re(o % 60, 2);
9292
9288
  return t + a + n + i;
9293
9289
  }
9294
- const xo = (e, n) => {
9290
+ const Co = (e, n) => {
9295
9291
  switch (e) {
9296
9292
  case "P":
9297
9293
  return n.date({ width: "short" });
@@ -9303,7 +9299,7 @@ const xo = (e, n) => {
9303
9299
  default:
9304
9300
  return n.date({ width: "full" });
9305
9301
  }
9306
- }, ja = (e, n) => {
9302
+ }, Na = (e, n) => {
9307
9303
  switch (e) {
9308
9304
  case "p":
9309
9305
  return n.time({ width: "short" });
@@ -9318,7 +9314,7 @@ const xo = (e, n) => {
9318
9314
  }, Vd = (e, n) => {
9319
9315
  const t = e.match(/(P+)(p+)?/) || [], o = t[1], a = t[2];
9320
9316
  if (!a)
9321
- return xo(e, n);
9317
+ return Co(e, n);
9322
9318
  let i;
9323
9319
  switch (o) {
9324
9320
  case "P":
@@ -9335,15 +9331,15 @@ const xo = (e, n) => {
9335
9331
  i = n.dateTime({ width: "full" });
9336
9332
  break;
9337
9333
  }
9338
- return i.replace("{{date}}", xo(o, n)).replace("{{time}}", ja(a, n));
9334
+ return i.replace("{{date}}", Co(o, n)).replace("{{time}}", Na(a, n));
9339
9335
  }, An = {
9340
- p: ja,
9336
+ p: Na,
9341
9337
  P: Vd
9342
9338
  }, $d = /^D+$/, Nd = /^Y+$/, jd = ["D", "DD", "YY", "YYYY"];
9343
- function La(e) {
9339
+ function ja(e) {
9344
9340
  return $d.test(e);
9345
9341
  }
9346
- function Ha(e) {
9342
+ function La(e) {
9347
9343
  return Nd.test(e);
9348
9344
  }
9349
9345
  function Wn(e, n, t) {
@@ -9355,9 +9351,9 @@ function Ld(e, n, t) {
9355
9351
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${n}\`) for formatting ${o} to the input \`${t}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
9356
9352
  }
9357
9353
  const Hd = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Ad = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Wd = /^'([^]*?)'?$/, qd = /''/g, zd = /[a-zA-Z]/;
9358
- function Aa(e, n, t) {
9354
+ function Ha(e, n, t) {
9359
9355
  var u, d, v, f;
9360
- const o = sn(), a = o.locale ?? Va, i = o.firstWeekContainsDate ?? ((d = (u = o.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = o.weekStartsOn ?? ((f = (v = o.locale) == null ? void 0 : v.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ze(e);
9356
+ const o = sn(), a = o.locale ?? Ra, i = o.firstWeekContainsDate ?? ((d = (u = o.locale) == null ? void 0 : u.options) == null ? void 0 : d.firstWeekContainsDate) ?? 1, r = o.weekStartsOn ?? ((f = (v = o.locale) == null ? void 0 : v.options) == null ? void 0 : f.weekStartsOn) ?? 0, s = Ze(e);
9361
9357
  if (!ed(s))
9362
9358
  throw new RangeError("Invalid time value");
9363
9359
  let l = n.match(Ad).map((p) => {
@@ -9373,7 +9369,7 @@ function Aa(e, n, t) {
9373
9369
  const _ = p[0];
9374
9370
  if (_ === "'")
9375
9371
  return { isToken: !1, value: Gd(p) };
9376
- if (bo[_])
9372
+ if (yo[_])
9377
9373
  return { isToken: !0, value: p };
9378
9374
  if (_.match(zd))
9379
9375
  throw new RangeError(
@@ -9390,8 +9386,8 @@ function Aa(e, n, t) {
9390
9386
  return l.map((p) => {
9391
9387
  if (!p.isToken) return p.value;
9392
9388
  const _ = p.value;
9393
- (Ha(_) || La(_)) && Wn(_, n, String(e));
9394
- const b = bo[_[0]];
9389
+ (La(_) || ja(_)) && Wn(_, n, String(e));
9390
+ const b = yo[_[0]];
9395
9391
  return b(s, _, a.localize, c);
9396
9392
  }).join("");
9397
9393
  }
@@ -9420,7 +9416,7 @@ function Xd(e, n) {
9420
9416
  ), t;
9421
9417
  }
9422
9418
  const Qd = 10;
9423
- class Wa {
9419
+ class Aa {
9424
9420
  constructor() {
9425
9421
  q(this, "subPriority", 0);
9426
9422
  }
@@ -9428,7 +9424,7 @@ class Wa {
9428
9424
  return !0;
9429
9425
  }
9430
9426
  }
9431
- class Kd extends Wa {
9427
+ class Kd extends Aa {
9432
9428
  constructor(n, t, o, a, i) {
9433
9429
  super(), this.value = n, this.validateValue = t, this.setValue = o, this.priority = a, i && (this.subPriority = i);
9434
9430
  }
@@ -9439,7 +9435,7 @@ class Kd extends Wa {
9439
9435
  return this.setValue(n, t, this.value, o);
9440
9436
  }
9441
9437
  }
9442
- class Jd extends Wa {
9438
+ class Jd extends Aa {
9443
9439
  constructor() {
9444
9440
  super(...arguments);
9445
9441
  q(this, "priority", Qd);
@@ -9563,7 +9559,7 @@ function St(e, n) {
9563
9559
  rest: n.slice(t[0].length)
9564
9560
  };
9565
9561
  }
9566
- function qa(e) {
9562
+ function Wa(e) {
9567
9563
  return qe(Ye.anyDigitsSigned, e);
9568
9564
  }
9569
9565
  function Ge(e, n) {
@@ -9611,7 +9607,7 @@ function no(e) {
9611
9607
  return 0;
9612
9608
  }
9613
9609
  }
9614
- function za(e, n) {
9610
+ function qa(e, n) {
9615
9611
  const t = n > 0, o = t ? n : 1 - n;
9616
9612
  let a;
9617
9613
  if (o <= 50)
@@ -9622,7 +9618,7 @@ function za(e, n) {
9622
9618
  }
9623
9619
  return t ? a : 1 - a;
9624
9620
  }
9625
- function Ga(e) {
9621
+ function za(e) {
9626
9622
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
9627
9623
  }
9628
9624
  class ef extends De {
@@ -9656,7 +9652,7 @@ class ef extends De {
9656
9652
  set(t, o, a) {
9657
9653
  const i = t.getFullYear();
9658
9654
  if (a.isTwoDigitYear) {
9659
- const s = za(
9655
+ const s = qa(
9660
9656
  a.year,
9661
9657
  i
9662
9658
  );
@@ -9711,7 +9707,7 @@ class tf extends De {
9711
9707
  set(t, o, a, i) {
9712
9708
  const r = to(t, i);
9713
9709
  if (a.isTwoDigitYear) {
9714
- const l = za(
9710
+ const l = qa(
9715
9711
  a.year,
9716
9712
  r
9717
9713
  );
@@ -10017,7 +10013,7 @@ class lf extends De {
10017
10013
  }
10018
10014
  }
10019
10015
  function uf(e, n, t) {
10020
- const o = Ze(e), a = Na(o, t) - n;
10016
+ const o = Ze(e), a = $a(o, t) - n;
10021
10017
  return o.setDate(o.getDate() - a * 7), o;
10022
10018
  }
10023
10019
  class cf extends De {
@@ -10058,7 +10054,7 @@ class cf extends De {
10058
10054
  }
10059
10055
  }
10060
10056
  function df(e, n) {
10061
- const t = Ze(e), o = $a(t) - n;
10057
+ const t = Ze(e), o = Va(t) - n;
10062
10058
  return t.setDate(t.getDate() - o * 7), t;
10063
10059
  }
10064
10060
  class ff extends De {
@@ -10144,7 +10140,7 @@ class vf extends De {
10144
10140
  }
10145
10141
  }
10146
10142
  validate(t, o) {
10147
- const a = t.getFullYear(), i = Ga(a), r = t.getMonth();
10143
+ const a = t.getFullYear(), i = za(a), r = t.getMonth();
10148
10144
  return i ? o >= 1 && o <= mf[r] : o >= 1 && o <= pf[r];
10149
10145
  }
10150
10146
  set(t, o, a) {
@@ -10187,7 +10183,7 @@ class hf extends De {
10187
10183
  }
10188
10184
  validate(t, o) {
10189
10185
  const a = t.getFullYear();
10190
- return Ga(a) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
10186
+ return za(a) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
10191
10187
  }
10192
10188
  set(t, o, a) {
10193
10189
  return t.setMonth(0, a), t.setHours(0, 0, 0, 0), t;
@@ -10196,7 +10192,7 @@ class hf extends De {
10196
10192
  function oo(e, n, t) {
10197
10193
  var d, v, f, p;
10198
10194
  const o = sn(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((v = (d = t == null ? void 0 : t.locale) == null ? void 0 : d.options) == null ? void 0 : v.weekStartsOn) ?? o.weekStartsOn ?? ((p = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : p.weekStartsOn) ?? 0, i = Ze(e), r = i.getDay(), l = (n % 7 + 7) % 7, c = 7 - a, u = n < 0 || n > 6 ? n - (r + c) % 7 : (l + c) % 7 - (r + c) % 7;
10199
- return Pa(i, u);
10195
+ return Da(i, u);
10200
10196
  }
10201
10197
  class gf extends De {
10202
10198
  constructor() {
@@ -10367,7 +10363,7 @@ class bf extends De {
10367
10363
  }
10368
10364
  function wf(e, n) {
10369
10365
  const t = Ze(e), o = Ud(t), a = n - o;
10370
- return Pa(t, a);
10366
+ return Da(t, a);
10371
10367
  }
10372
10368
  class Cf extends De {
10373
10369
  constructor() {
@@ -10817,7 +10813,7 @@ class Bf extends De {
10817
10813
  q(this, "incompatibleTokens", "*");
10818
10814
  }
10819
10815
  parse(t) {
10820
- return qa(t);
10816
+ return Wa(t);
10821
10817
  }
10822
10818
  set(t, o, a) {
10823
10819
  return [ze(t, a * 1e3), { timestampIsSet: !0 }];
@@ -10830,7 +10826,7 @@ class Rf extends De {
10830
10826
  q(this, "incompatibleTokens", "*");
10831
10827
  }
10832
10828
  parse(t) {
10833
- return qa(t);
10829
+ return Wa(t);
10834
10830
  }
10835
10831
  set(t, o, a) {
10836
10832
  return [ze(t, a), { timestampIsSet: !0 }];
@@ -10869,9 +10865,9 @@ const Vf = {
10869
10865
  t: new Bf(),
10870
10866
  T: new Rf()
10871
10867
  }, $f = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Nf = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, jf = /^'([^]*?)'?$/, Lf = /''/g, Hf = /\S/, Af = /[a-zA-Z]/;
10872
- function Ya(e, n, t, o) {
10868
+ function Ga(e, n, t, o) {
10873
10869
  var _, b, h, C;
10874
- const a = Yd(), i = a.locale ?? Va, r = a.firstWeekContainsDate ?? ((b = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, s = a.weekStartsOn ?? ((C = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : C.weekStartsOn) ?? 0;
10870
+ const a = Yd(), i = a.locale ?? Ra, r = a.firstWeekContainsDate ?? ((b = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, s = a.weekStartsOn ?? ((C = (h = a.locale) == null ? void 0 : h.options) == null ? void 0 : C.weekStartsOn) ?? 0;
10875
10871
  if (n === "")
10876
10872
  return e === "" ? Ze(t) : ze(t, NaN);
10877
10873
  const l = {
@@ -10887,7 +10883,7 @@ function Ya(e, n, t, o) {
10887
10883
  return S;
10888
10884
  }).join("").match($f), d = [];
10889
10885
  for (let S of u) {
10890
- Ha(S) && Wn(S, n, e), La(S) && Wn(S, n, e);
10886
+ La(S) && Wn(S, n, e), ja(S) && Wn(S, n, e);
10891
10887
  const M = S[0], F = Vf[M];
10892
10888
  if (F) {
10893
10889
  const { incompatibleTokens: T } = F;
@@ -10944,7 +10940,7 @@ function Ya(e, n, t, o) {
10944
10940
  function Wf(e) {
10945
10941
  return e.match(jf)[1].replace(Lf, "'");
10946
10942
  }
10947
- class Ua {
10943
+ class Ya {
10948
10944
  constructor(n = { value: "", displayFormat: "", valueFormat: "" }) {
10949
10945
  q(this, "editorType", "date-picker");
10950
10946
  q(this, "value");
@@ -10961,8 +10957,8 @@ class Ua {
10961
10957
  }
10962
10958
  getDisplayText() {
10963
10959
  if (typeof this.value == "string" && this.value) {
10964
- const n = Ya(this.value, this.valueFormat, /* @__PURE__ */ new Date());
10965
- return Aa(n, this.displayFormat);
10960
+ const n = Ga(this.value, this.valueFormat, /* @__PURE__ */ new Date());
10961
+ return Ha(n, this.displayFormat);
10966
10962
  }
10967
10963
  return this.getValue();
10968
10964
  }
@@ -10997,7 +10993,7 @@ class xn {
10997
10993
  return !this.begin || !this.end;
10998
10994
  }
10999
10995
  }
11000
- class Xa {
10996
+ class Ua {
11001
10997
  constructor(n = { value: "", displayFormat: "", valueFormat: "" }) {
11002
10998
  q(this, "editorType", "datetime-picker");
11003
10999
  q(this, "value");
@@ -11014,8 +11010,8 @@ class Xa {
11014
11010
  }
11015
11011
  getDisplayText() {
11016
11012
  if (typeof this.value == "string" && this.value) {
11017
- const n = Ya(this.value, this.valueFormat, /* @__PURE__ */ new Date());
11018
- return Aa(n, this.displayFormat);
11013
+ const n = Ga(this.value, this.valueFormat, /* @__PURE__ */ new Date());
11014
+ return Ha(n, this.displayFormat);
11019
11015
  }
11020
11016
  return this.getValue();
11021
11017
  }
@@ -11026,7 +11022,7 @@ class Xa {
11026
11022
  return !this.value;
11027
11023
  }
11028
11024
  }
11029
- class Qa {
11025
+ class Xa {
11030
11026
  constructor(n = { value: "", valueList: [] }) {
11031
11027
  q(this, "editorType", "combo-list");
11032
11028
  q(this, "value");
@@ -11111,7 +11107,7 @@ class qf {
11111
11107
  return !this.displayText && !this.value.length;
11112
11108
  }
11113
11109
  }
11114
- class Ka {
11110
+ class Qa {
11115
11111
  constructor(n = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
11116
11112
  q(this, "editorType", "lookup");
11117
11113
  q(this, "helpId");
@@ -11139,7 +11135,7 @@ class Ka {
11139
11135
  return !this.mapFields.length;
11140
11136
  }
11141
11137
  }
11142
- class Ja {
11138
+ class Ka {
11143
11139
  constructor(n = { value: "" }) {
11144
11140
  q(this, "editorType", "month-picker");
11145
11141
  q(this, "value");
@@ -11162,7 +11158,7 @@ class Ja {
11162
11158
  return !this.value;
11163
11159
  }
11164
11160
  }
11165
- class Za {
11161
+ class Ja {
11166
11162
  constructor(n = { begin: "", end: "" }) {
11167
11163
  q(this, "editorType", "month-range");
11168
11164
  q(this, "begin");
@@ -11186,7 +11182,7 @@ class Za {
11186
11182
  return !this.begin || !this.end;
11187
11183
  }
11188
11184
  }
11189
- class ei {
11185
+ class Za {
11190
11186
  constructor(n = { begin: null, end: null }) {
11191
11187
  q(this, "editorType", "number-range");
11192
11188
  q(this, "begin");
@@ -11213,7 +11209,7 @@ class ei {
11213
11209
  return this.begin == null && this.end == null;
11214
11210
  }
11215
11211
  }
11216
- class ti {
11212
+ class ei {
11217
11213
  constructor(n = { value: "" }) {
11218
11214
  q(this, "editorType", "number-spinner");
11219
11215
  q(this, "value");
@@ -11237,7 +11233,7 @@ class ti {
11237
11233
  return this.value == null || isNaN(this.value);
11238
11234
  }
11239
11235
  }
11240
- class ni {
11236
+ class ti {
11241
11237
  constructor(n = { value: null, valueList: [] }) {
11242
11238
  q(this, "editorType", "radio-group");
11243
11239
  q(this, "value");
@@ -11285,45 +11281,45 @@ class Sn {
11285
11281
  return !this.value;
11286
11282
  }
11287
11283
  }
11288
- function oi() {
11284
+ function ni() {
11289
11285
  function e(n, t) {
11290
11286
  switch (n) {
11291
11287
  case "check-box":
11292
- return new Ea(t);
11288
+ return new Oa(t);
11293
11289
  case "combo-list":
11294
- return new Qa(t);
11290
+ return new Xa(t);
11295
11291
  case "combo-lookup":
11296
- return new Da(t);
11292
+ return new Ea(t);
11297
11293
  case "input-group":
11298
11294
  return new qf(t);
11299
11295
  case "date-picker":
11300
- return new Ua(t);
11296
+ return new Ya(t);
11301
11297
  case "date-range":
11302
11298
  return new xn(t);
11303
11299
  case "datetime-picker":
11304
- return new Xa(t);
11300
+ return new Ua(t);
11305
11301
  case "datetime-range":
11306
11302
  return new xn(t);
11307
11303
  case "lookup":
11308
- return new Ka(t);
11304
+ return new Qa(t);
11309
11305
  case "month-picker":
11310
- return new Ja(t);
11306
+ return new Ka(t);
11311
11307
  case "month-range":
11312
- return new Za(t);
11308
+ return new Ja(t);
11313
11309
  case "number-range":
11314
- return new ei(t);
11310
+ return new Za(t);
11315
11311
  case "number-spinner":
11316
- return new ti(t);
11312
+ return new ei(t);
11317
11313
  case "radio-group":
11318
- return new ni(t);
11314
+ return new ti(t);
11319
11315
  default:
11320
11316
  return new Sn(t);
11321
11317
  }
11322
11318
  }
11323
11319
  return { createConditionValue: e };
11324
11320
  }
11325
- function ai(e, n) {
11326
- const t = x(e.fields), o = x([]), a = /* @__PURE__ */ new Map(), { createConditionValue: i } = oi();
11321
+ function oi(e, n) {
11322
+ const t = x(e.fields), o = x([]), a = /* @__PURE__ */ new Map(), { createConditionValue: i } = ni();
11327
11323
  function r(u) {
11328
11324
  switch (u.editor ? u.editor.type : "input-group") {
11329
11325
  case "date-range":
@@ -11385,14 +11381,14 @@ function zf(e, n, t) {
11385
11381
  resizeObserver: o
11386
11382
  };
11387
11383
  }
11388
- const So = /* @__PURE__ */ ke({
11384
+ const xo = /* @__PURE__ */ ke({
11389
11385
  name: "FConditionFields",
11390
- props: Oa,
11386
+ props: Ma,
11391
11387
  emits: ["valueChange", "blur", "focus", "click", "input"],
11392
11388
  setup(e, n) {
11393
11389
  const t = x(), o = x(e.key);
11394
11390
  x(e.isControlInline);
11395
- const a = x(e.conditions), i = ai(e), {
11391
+ const a = x(e.conditions), i = oi(e), {
11396
11392
  initialConditionValue: r,
11397
11393
  fieldMap: s,
11398
11394
  loadFieldConfigs: l
@@ -11453,7 +11449,7 @@ const So = /* @__PURE__ */ ke({
11453
11449
  class: v.value,
11454
11450
  key: o.value,
11455
11451
  ref: t
11456
- }, [_()]), [[Io("area-response")]]);
11452
+ }, [_()]), [[_o("area-response")]]);
11457
11453
  }
11458
11454
  }), ao = /* @__PURE__ */ new Map([
11459
11455
  ["appearance", Ft]
@@ -11722,7 +11718,7 @@ const rp = "https://json-schema.org/draft/2020-12/schema", sp = "https://farris-
11722
11718
  "id",
11723
11719
  "type",
11724
11720
  "editor"
11725
- ], ii = {
11721
+ ], ai = {
11726
11722
  $schema: rp,
11727
11723
  $id: sp,
11728
11724
  title: lp,
@@ -11730,7 +11726,7 @@ const rp = "https://json-schema.org/draft/2020-12/schema", sp = "https://farris-
11730
11726
  type: cp,
11731
11727
  properties: dp,
11732
11728
  required: fp
11733
- }, ri = {
11729
+ }, ii = {
11734
11730
  id: { type: String, default: "" },
11735
11731
  customClass: { type: String, default: "" },
11736
11732
  customStyle: { type: String, default: "" },
@@ -11748,8 +11744,8 @@ const rp = "https://json-schema.org/draft/2020-12/schema", sp = "https://farris-
11748
11744
  errors: { type: Object, default: null }
11749
11745
  };
11750
11746
  nt(
11751
- ri,
11752
11747
  ii,
11748
+ ai,
11753
11749
  ao,
11754
11750
  void 0
11755
11751
  );
@@ -11790,9 +11786,9 @@ const pp = {
11790
11786
  }, [o.value])]);
11791
11787
  }
11792
11788
  }), fe = {}, pe = {}, me = {}, ve = {};
11793
- let To = !1;
11789
+ let So = !1;
11794
11790
  function vp() {
11795
- To || (To = !0, $r.register(fe, pe, me, ve), Vr.register(fe, pe, me, ve), Nr.register(fe, pe, me, ve), jr.register(fe, pe, me, ve), Lr.register(fe, pe, me, ve), Do.register(fe, pe, me, ve), po.register(fe, pe, me, ve), mo.register(fe, pe, me, ve), po.register(fe, pe, me, ve), mo.register(fe, pe, me, ve), Nn.register(fe, pe, me, ve), Hr.register(fe, pe, me, ve), Ar.register(fe, pe, me, ve), qr.register(fe, pe, me, ve), Wr.register(fe, pe, me, ve), zr.register(fe, pe, me, ve), Gr.register(fe, pe, me, ve), Yr.register(fe, pe, me, ve), Pr.register(fe, pe, me, ve), Ur.register(fe, pe, me, ve), Rs.register(fe, pe, me, ve), Mr.register(fe, pe, me, ve), Xr.register(fe, pe, me, ve), Fs.register(fe, pe, me, ve), Kr.register(fe, pe, me, ve), Jr.register(fe, pe, me, ve), Zr.register(fe, pe, me, ve), Ro.register(fe, pe, me, ve), es.register(fe, pe, me, ve), ts.register(fe, pe, me, ve), ns.register(fe, pe, me, ve), os.register(fe, pe, me, ve), as.register(fe, pe, me, ve), is.register(fe, pe, me, ve), Fr.register(fe, pe, me, ve), rs.register(fe, pe, me, ve), ss.register(fe, pe, me, ve), Or.register(fe, pe, me, ve), ls.register(fe, pe, me, ve), us.register(fe, pe, me, ve), cs.register(fe, pe, me, ve), ds.register(fe, pe, me, ve), fs.register(fe, pe, me, ve), ps.register(fe, pe, me, ve), Gn.register(fe, pe, me, ve), _s.register(fe, pe, me), Dr.register(fe, pe, me, ve), Bo.register(fe, pe, me, ve), ms.register(fe, pe, me, ve), vs.register(fe, pe, me, ve), hs.register(fe, pe, me, ve), gs.register(fe, pe, me, ve), Os.register(fe, pe, me, ve), kr.register(fe, pe, me, ve), Uo.register(fe, pe, me, ve), ys.register(fe, pe, me, ve), bs.register(fe, pe, me, ve), Ir.register(fe, pe, me, ve), ws.register(fe, pe, me, ve), xs.register(fe, pe, me, ve), Cs.register(fe, pe, me, ve), Ss.register(fe, pe, me, ve), Ts.register(fe, pe, me, ve), Is.register(fe, pe, me, ve), Qr.register(fe, pe, me, ve), ks.register(fe, pe, me, ve), Ms.register(fe, pe, me, ve), Es.register(fe, pe, me, ve), Ds.register(fe, pe, me, ve), Ps.register(fe, pe, me, ve), Bs.register(fe, pe, me, ve), Vs.register(fe, pe, me, ve), $s.register(fe, pe, me, ve));
11791
+ So || (So = !0, $r.register(fe, pe, me, ve), Vr.register(fe, pe, me, ve), Nr.register(fe, pe, me, ve), jr.register(fe, pe, me, ve), Lr.register(fe, pe, me, ve), Eo.register(fe, pe, me, ve), fo.register(fe, pe, me, ve), po.register(fe, pe, me, ve), fo.register(fe, pe, me, ve), po.register(fe, pe, me, ve), Nn.register(fe, pe, me, ve), Hr.register(fe, pe, me, ve), Ar.register(fe, pe, me, ve), qr.register(fe, pe, me, ve), Wr.register(fe, pe, me, ve), zr.register(fe, pe, me, ve), Gr.register(fe, pe, me, ve), Yr.register(fe, pe, me, ve), Pr.register(fe, pe, me, ve), Ur.register(fe, pe, me, ve), Rs.register(fe, pe, me, ve), Fr.register(fe, pe, me, ve), Xr.register(fe, pe, me, ve), Fs.register(fe, pe, me, ve), Kr.register(fe, pe, me, ve), Jr.register(fe, pe, me, ve), Zr.register(fe, pe, me, ve), Bo.register(fe, pe, me, ve), es.register(fe, pe, me, ve), ts.register(fe, pe, me, ve), ns.register(fe, pe, me, ve), os.register(fe, pe, me, ve), as.register(fe, pe, me, ve), is.register(fe, pe, me, ve), kr.register(fe, pe, me, ve), rs.register(fe, pe, me, ve), ss.register(fe, pe, me, ve), Or.register(fe, pe, me, ve), ls.register(fe, pe, me, ve), us.register(fe, pe, me, ve), cs.register(fe, pe, me, ve), ds.register(fe, pe, me, ve), fs.register(fe, pe, me, ve), ps.register(fe, pe, me, ve), Gn.register(fe, pe, me, ve), _s.register(fe, pe, me), Dr.register(fe, pe, me, ve), Po.register(fe, pe, me, ve), ms.register(fe, pe, me, ve), vs.register(fe, pe, me, ve), hs.register(fe, pe, me, ve), gs.register(fe, pe, me, ve), Os.register(fe, pe, me, ve), Ir.register(fe, pe, me, ve), Yo.register(fe, pe, me, ve), ys.register(fe, pe, me, ve), bs.register(fe, pe, me, ve), _r.register(fe, pe, me, ve), ws.register(fe, pe, me, ve), xs.register(fe, pe, me, ve), Cs.register(fe, pe, me, ve), Ss.register(fe, pe, me, ve), Ts.register(fe, pe, me, ve), Is.register(fe, pe, me, ve), Qr.register(fe, pe, me, ve), ks.register(fe, pe, me, ve), Ms.register(fe, pe, me, ve), Es.register(fe, pe, me, ve), Ds.register(fe, pe, me, ve), Ps.register(fe, pe, me, ve), Bs.register(fe, pe, me, ve), Vs.register(fe, pe, me, ve), $s.register(fe, pe, me, ve));
11796
11792
  }
11797
11793
  function hp() {
11798
11794
  vp();
@@ -11942,7 +11938,7 @@ const gp = {
11942
11938
  }
11943
11939
  }), bp = /* @__PURE__ */ ke({
11944
11940
  name: "FDynamicFormGroup",
11945
- props: ri,
11941
+ props: ii,
11946
11942
  emits: ["change", "update:modelValue"],
11947
11943
  setup(e, n) {
11948
11944
  var T;
@@ -12089,8 +12085,8 @@ q(tn, "fieldControlTypeMapping", {
12089
12085
  { key: ce["radio-group"].type, value: ce["radio-group"].name }
12090
12086
  ]
12091
12087
  });
12092
- let _o = tn;
12093
- const si = /* @__PURE__ */ new Map([
12088
+ let To = tn;
12089
+ const ri = /* @__PURE__ */ new Map([
12094
12090
  ["appearance", Ft],
12095
12091
  ["column", "columnOption"]
12096
12092
  ]);
@@ -12113,7 +12109,7 @@ function Tp(e, n, t) {
12113
12109
  const o = e.getSchemaByType("content-container");
12114
12110
  return o.id = `${n.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [n], o;
12115
12111
  }
12116
- function li(e, n, t) {
12112
+ function si(e, n, t) {
12117
12113
  const a = t.parentComponentInstance.schema.type, i = a === "section" || a === "tab-page";
12118
12114
  n.appearance = { class: "f-component-grid" };
12119
12115
  const s = (i ? Tp : Sp)(e, n, t);
@@ -12899,7 +12895,7 @@ const _p = "https://json-schema.org/draft/2020-12/schema", Ip = "https://farris-
12899
12895
  ], Dp = {
12900
12896
  onSelectionChange: "行切换事件",
12901
12897
  onClickRow: "行点击事件"
12902
- }, ui = {
12898
+ }, li = {
12903
12899
  $schema: _p,
12904
12900
  $id: Ip,
12905
12901
  title: kp,
@@ -13037,7 +13033,7 @@ const _p = "https://json-schema.org/draft/2020-12/schema", Ip = "https://farris-
13037
13033
  width: { type: Number, default: -1 },
13038
13034
  /** 启用虚拟渲染 */
13039
13035
  virtualized: { type: Boolean, default: !1 }
13040
- }, Pp = nt(io, ui, si, li), Bp = Ys(), Rp = Gs(), ci = Object.assign({}, io, { componentId: { type: String, default: "" } }), Vp = nt(ci, ui, si, li), $p = Qs();
13036
+ }, Pp = nt(io, li, ri, si), Bp = Ys(), Rp = Gs(), ui = Object.assign({}, io, { componentId: { type: String, default: "" } }), Vp = nt(ui, li, ri, si), $p = Qs();
13041
13037
  function Np(e, n, t, o, a, i, r, s, l, c, u, d, v, f, p, _, b) {
13042
13038
  const {
13043
13039
  calculateCellPositionInRow: h
@@ -13097,41 +13093,41 @@ const Tn = /* @__PURE__ */ ke({
13097
13093
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
13098
13094
  setup(e, n) {
13099
13095
  var et, vt;
13100
- const o = ((et = e.rowOption) == null ? void 0 : et.height) || 28, a = x(20), i = x(e.columns), r = $o(e), {
13096
+ const o = ((et = e.rowOption) == null ? void 0 : et.height) || 28, a = x(20), i = x(e.columns), r = Vo(e), {
13101
13097
  idField: s
13102
- } = r, l = x(), c = x(), u = x(), d = x(), v = x(), f = x([]), p = x(!1), _ = x(((vt = e.rowOption) == null ? void 0 : vt.wrapContent) || !1), b = jo(e, r), h = Vo(), C = No(e), {
13098
+ } = r, l = x(), c = x(), u = x(), d = x(), v = x(), f = x([]), p = x(!1), _ = x(((vt = e.rowOption) == null ? void 0 : vt.wrapContent) || !1), b = No(e, r), h = Ro(), C = $o(e), {
13103
13099
  collapseField: S
13104
13100
  } = C, {
13105
13101
  showLoading: M,
13106
13102
  renderLoading: F
13107
- } = rr(e, l), T = Lo(e, /* @__PURE__ */ new Map(), h, C, r), {
13103
+ } = ir(e, l), T = jo(e, /* @__PURE__ */ new Map(), h, C, r), {
13108
13104
  dataView: g
13109
- } = T, w = Ho(e, T, r, f, n), I = sr(e, f, T, r, w, n), k = P(() => e.disabled), y = P(() => e.virtualized ? Math.min(T.dataView.value.length, a.value) : T.dataView.value.length), {
13105
+ } = T, w = Lo(e, T, r, f, n), I = rr(e, f, T, r, w, n), k = P(() => e.disabled), y = P(() => e.virtualized ? Math.min(T.dataView.value.length, a.value) : T.dataView.value.length), {
13110
13106
  containerStyleObject: E
13111
- } = lr(e), R = ur(e), {
13107
+ } = sr(e), R = lr(e), {
13112
13108
  applyCommands: O
13113
13109
  } = R;
13114
13110
  O(i);
13115
- const D = cr(e), V = dr(e), {
13111
+ const D = ur(e), V = cr(e), {
13116
13112
  applyColumnSorter: H,
13117
13113
  columnContext: B,
13118
13114
  updateColumnRenderContext: L
13119
13115
  } = D;
13120
13116
  H(T, V);
13121
- const Q = fr(e, B), $ = Ao(e, n, w, r), j = Wo(e, n, r, $, f), Z = qo(e), Y = zo(e, j, Z), W = Go(e, T, j, C, r, Z, Y), K = Yo(e, i, T, y, 0, W), {
13117
+ const Q = dr(e, B), $ = Ho(e, n, w, r), j = Ao(e, n, r, $, f), Z = Wo(e), G = qo(e, j, Z), W = zo(e, T, j, C, r, Z, G), K = Go(e, i, T, y, 0, W), {
13122
13118
  getVisualData: ee
13123
- } = K, A = pr(e, B), N = mr(e, w), {
13124
- sidebarWidth: G
13125
- } = N, U = vr(e, T, f, B, K, y, 0, G), {
13119
+ } = K, A = fr(e, B), N = pr(e, w), {
13120
+ sidebarWidth: Y
13121
+ } = N, U = mr(e, T, f, B, K, y, 0, Y), {
13126
13122
  onWheel: le,
13127
13123
  dataGridWidth: we,
13128
13124
  viewPortHeight: Fe,
13129
13125
  viewPortWidth: J,
13130
- resetScroll: ie,
13126
+ resetScroll: ae,
13131
13127
  updateVisibleRowsOnLatestVisibleScope: X
13132
- } = U, ae = hr(e, B, c, J, Q), {
13128
+ } = U, re = vr(e, B, c, J, Q), {
13133
13129
  calculateColumnsSize: xe
13134
- } = ae, Ee = gr(), $e = yr(c, v, T, Ee, U), ut = br(e, n, D, T, Q, b, U), Mt = P(() => ({
13130
+ } = re, Ee = hr(), $e = gr(c, v, T, Ee, U), ut = yr(e, n, D, T, Q, b, U), Mt = P(() => ({
13135
13131
  "fv-grid": !0,
13136
13132
  "fv-grid-bordered": e.showBorder,
13137
13133
  "fv-grid-horizontal-bordered": e.showHorizontalLines,
@@ -13146,15 +13142,15 @@ const Tn = /* @__PURE__ */ ke({
13146
13142
  renderGridHeader: Ie,
13147
13143
  renderGridColumnResizeOverlay: Ve,
13148
13144
  shouldShowHeader: Xe
13149
- } = wr(e, n, c, d, v, D, T, ut, $e, h, Ee, ae, Q, w, N, V, U, J, f), {
13145
+ } = br(e, n, c, d, v, D, T, ut, $e, h, Ee, re, Q, w, N, V, U, J, f), {
13150
13146
  renderDataGridSidebar: Ae
13151
- } = Cr(e, $, w, N, U), {
13147
+ } = wr(e, $, w, N, U), {
13152
13148
  renderDisableMask: mt
13153
- } = xr(), {
13149
+ } = Cr(), {
13154
13150
  renderHorizontalScrollbar: Ot
13155
- } = Sr(e, c, U), {
13151
+ } = xr(e, c, U), {
13156
13152
  renderVerticalScrollbar: Dt
13157
- } = Tr(e, c, U);
13153
+ } = Sr(e, c, U);
13158
13154
  function wt() {
13159
13155
  var ye, _e, rt;
13160
13156
  if (c.value && c.value.clientHeight > 0 && ((ye = c.value) == null ? void 0 : ye.clientWidth) > 0) {
@@ -13163,7 +13159,7 @@ const Tn = /* @__PURE__ */ ke({
13163
13159
  }
13164
13160
  }
13165
13161
  je(() => {
13166
- c.value && (a.value = Math.max(Math.ceil(c.value.clientHeight / o), a.value), f.value = ee(0, y.value + 0 - 1), Xo(c.value, wt), xe(), Pe(() => {
13162
+ c.value && (a.value = Math.max(Math.ceil(c.value.clientHeight / o), a.value), f.value = ee(0, y.value + 0 - 1), Uo(c.value, wt), xe(), Pe(() => {
13167
13163
  c.value && (we.value = c.value.clientWidth), u.value && (J.value = u.value.clientWidth, Fe.value = u.value.clientHeight);
13168
13164
  })), M.value && F();
13169
13165
  }), kt(() => {
@@ -13171,10 +13167,10 @@ const Tn = /* @__PURE__ */ ke({
13171
13167
  c.value && xe();
13172
13168
  });
13173
13169
  function At(ye) {
13174
- T.collapseTo(ye), T.reOrderVisibleIndex(), ie();
13170
+ T.collapseTo(ye), T.reOrderVisibleIndex(), ae();
13175
13171
  }
13176
13172
  function Pt(ye) {
13177
- T.expandTo(ye), T.reOrderVisibleIndex(), ie();
13173
+ T.expandTo(ye), T.reOrderVisibleIndex(), ae();
13178
13174
  }
13179
13175
  function Et() {
13180
13176
  const ye = w.getSelectionRow();
@@ -13205,7 +13201,7 @@ const Tn = /* @__PURE__ */ ke({
13205
13201
  ye && (i.value = ye, O(i), L(i.value), H(T, V), xe());
13206
13202
  }
13207
13203
  function it(ye) {
13208
- ye && (T.load(ye), T.reOrderVisibleIndex(), ie());
13204
+ ye && (T.load(ye), T.reOrderVisibleIndex(), ae());
13209
13205
  }
13210
13206
  function te(ye) {
13211
13207
  w.selectItemById(ye);
@@ -13227,8 +13223,8 @@ const Tn = /* @__PURE__ */ ke({
13227
13223
  w.clearSelection();
13228
13224
  }
13229
13225
  const se = P(() => !f.value || !f.value.length), {
13230
- renderEmpty: re
13231
- } = _r(n);
13226
+ renderEmpty: ie
13227
+ } = Tr(n);
13232
13228
  function Se() {
13233
13229
  return w.getSelectionRow();
13234
13230
  }
@@ -13309,7 +13305,7 @@ const Tn = /* @__PURE__ */ ke({
13309
13305
  class: bt.value,
13310
13306
  onMouseover: () => p.value = !0,
13311
13307
  onMouseleave: () => p.value = !1
13312
- }, [c.value && Ae(f), c.value && ne(), c.value && se.value && re(), c.value && Ot(), c.value && Dt()]), Ve(), k.value && mt()]);
13308
+ }, [c.value && Ae(f), c.value && ne(), c.value && se.value && ie(), c.value && Ot(), c.value && Dt()]), Ve(), k.value && mt()]);
13313
13309
  }
13314
13310
  }), jp = {
13315
13311
  id: { type: String, default: "" },
@@ -13407,8 +13403,8 @@ const qn = /* @__PURE__ */ ke({
13407
13403
  if (H && (H.preventDefault(), H.stopPropagation()), f.value.triggerBelongedComponentToDeleteWhenDeleted) {
13408
13404
  const Z = f.value.getBelongedComponentInstance(f);
13409
13405
  if (Z && Z.parent) {
13410
- const Y = x(Z == null ? void 0 : Z.parent), W = Y.value.contents.findIndex((K) => K.id === Z.schema.id);
13411
- (j = ($ = Y.value) == null ? void 0 : $.contents) == null || j.splice(W, 1), It.value++;
13406
+ const G = x(Z == null ? void 0 : Z.parent), W = G.value.contents.findIndex((K) => K.id === Z.schema.id);
13407
+ (j = ($ = G.value) == null ? void 0 : $.contents) == null || j.splice(W, 1), It.value++;
13412
13408
  }
13413
13409
  return;
13414
13410
  }
@@ -13509,7 +13505,7 @@ const qn = /* @__PURE__ */ ke({
13509
13505
  }
13510
13506
  }
13511
13507
  de(() => e.modelValue, (H) => {
13512
- r.value = H, t.value = `${H.id}-component`, Wi(d);
13508
+ r.value = H, t.value = `${H.id}-component`, Ai(d);
13513
13509
  }, {
13514
13510
  deep: !0
13515
13511
  });
@@ -13520,7 +13516,7 @@ const qn = /* @__PURE__ */ ke({
13520
13516
  }
13521
13517
  function O(H) {
13522
13518
  const B = H == null ? void 0 : H.target;
13523
- R(B), la(B);
13519
+ R(B), sa(B);
13524
13520
  }
13525
13521
  function D() {
13526
13522
  var H, B;
@@ -14137,13 +14133,13 @@ function Xp(e, n, t, o, a, i, r, s) {
14137
14133
  }
14138
14134
  const Qp = /* @__PURE__ */ ke({
14139
14135
  name: "FTreeGridDesign",
14140
- props: ci,
14136
+ props: ui,
14141
14137
  emits: [],
14142
14138
  setup(e, n) {
14143
- var ae, xe;
14144
- const t = x(), o = 0, a = ((ae = e.rowOption) == null ? void 0 : ae.height) || 28, i = x(20), r = x(e.columns), s = xi(e), l = x(), c = x(), u = x([]), d = x(!1), v = x(((xe = e.rowOption) == null ? void 0 : xe.wrapContent) || !1), f = Oe("designer-host-service"), p = Oe("design-item-context"), _ = zp(p, f), b = Zt(t, p, _);
14139
+ var re, xe;
14140
+ const t = x(), o = 0, a = ((re = e.rowOption) == null ? void 0 : re.height) || 28, i = x(20), r = x(e.columns), s = Ci(e), l = x(), c = x(), u = x([]), d = x(!1), v = x(((xe = e.rowOption) == null ? void 0 : xe.wrapContent) || !1), f = Oe("designer-host-service"), p = Oe("design-item-context"), _ = zp(p, f), b = Zt(t, p, _);
14145
14141
  b.value.designerClass = "f-utils-fill-flex-column";
14146
- const h = hi(), C = gi(e), S = Ma(e, /* @__PURE__ */ new Map(), h, C, s), M = Ti(e, S, s, u, n), F = P(() => S.dataView.value.length), {
14142
+ const h = vi(), C = hi(e), S = Fa(e, /* @__PURE__ */ new Map(), h, C, s), M = Si(e, S, s, u, n), F = P(() => S.dataView.value.length), {
14147
14143
  containerStyleObject: T
14148
14144
  } = Lc(e), g = Hc(e), {
14149
14145
  applyCommands: w
@@ -14153,21 +14149,21 @@ const Qp = /* @__PURE__ */ ke({
14153
14149
  applyColumnSorter: k,
14154
14150
  columnContext: y,
14155
14151
  updateColumnRenderContext: E
14156
- } = I, R = vv(), O = Ac(e, y), D = Si(e, n, M, s), V = Ci(e, n, s, D), H = yi(e), B = bi(e, V, H), L = wi(e, S, V, C, s, H, B), Q = Xp(e, r, S, F, o, L), {
14152
+ } = I, R = vv(), O = Ac(e, y), D = xi(e, n, M, s), V = wi(e, n, s, D), H = gi(e), B = yi(e, V, H), L = bi(e, S, V, C, s, H, B), Q = Xp(e, r, S, F, o, L), {
14157
14153
  getVisualData: $
14158
14154
  } = Q, j = cv(e, M), {
14159
14155
  sidebarWidth: Z
14160
14156
  } = j;
14161
14157
  u.value = $(0, F.value + o - 1);
14162
- const Y = ev(e, S, u, y, Q, F, o, Z), {
14158
+ const G = ev(e, S, u, y, Q, F, o, Z), {
14163
14159
  onWheel: W,
14164
14160
  dataGridWidth: K,
14165
14161
  viewPortHeight: ee,
14166
14162
  viewPortWidth: A,
14167
14163
  updateVisibleRowsOnLatestVisibleScope: N
14168
- } = Y, G = Gp(e, y, l, A, O), {
14164
+ } = G, Y = Gp(e, y, l, A, O), {
14169
14165
  calculateColumnsSize: U
14170
- } = G, le = P(() => ({
14166
+ } = Y, le = P(() => ({
14171
14167
  "drag-container": !0,
14172
14168
  "fv-grid": !0,
14173
14169
  "fv-grid-bordered": e.showBorder,
@@ -14178,16 +14174,16 @@ const Qp = /* @__PURE__ */ ke({
14178
14174
  "fv-grid-wrap-content": v.value
14179
14175
  })), {
14180
14176
  renderGridHeader: Fe
14181
- } = Wp(p, e, I, Y, "tree-grid-column"), {
14177
+ } = Wp(p, e, I, G, "tree-grid-column"), {
14182
14178
  renderHorizontalScrollbar: J
14183
- } = Nc(e, l, Y);
14184
- function ie() {
14179
+ } = Nc(e, l, G);
14180
+ function ae() {
14185
14181
  var $e, ut;
14186
14182
  const Ee = Math.ceil(l.value.clientHeight / a);
14187
14183
  Ee > i.value && (i.value = Ee, N()), ee.value = (($e = c.value) == null ? void 0 : $e.clientHeight) || 0, K.value = ((ut = l.value) == null ? void 0 : ut.clientWidth) || 0, U();
14188
14184
  }
14189
14185
  je(() => {
14190
- t.value.componentInstance = b, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / a), i.value), u.value = $(0, F.value + o - 1), Xo(l.value, ie), U(), Pe(() => {
14186
+ t.value.componentInstance = b, l.value && (i.value = Math.max(Math.ceil(l.value.clientHeight / a), i.value), u.value = $(0, F.value + o - 1), Uo(l.value, ae), U(), Pe(() => {
14191
14187
  l.value && (K.value = l.value.clientWidth), c.value && (A.value = c.value.clientWidth, ee.value = c.value.clientHeight);
14192
14188
  }));
14193
14189
  });
@@ -14222,7 +14218,7 @@ Tn.register = (e, n, t, o) => {
14222
14218
  Tn.registerDesigner = (e, n, t) => {
14223
14219
  e["tree-grid"] = Qp, n["tree-grid"] = Vp;
14224
14220
  };
14225
- Eo(Tn);
14221
+ Oo(Tn);
14226
14222
  const Kp = /* @__PURE__ */ new Map([
14227
14223
  ["appearance", Ft]
14228
14224
  ]);
@@ -14790,7 +14786,7 @@ function vm(e, n, t) {
14790
14786
  resetTranslate: M
14791
14787
  };
14792
14788
  }
14793
- function di(e, n) {
14789
+ function ci(e, n) {
14794
14790
  if (e) {
14795
14791
  const t = (o) => {
14796
14792
  o.key.toLowerCase() === e.toLowerCase() && n({ event: o, key: e });
@@ -14803,7 +14799,7 @@ function di(e, n) {
14803
14799
  function hm(e, n) {
14804
14800
  const t = x(e.enableEsc);
14805
14801
  let o = null;
14806
- return t.value ? (o = di("Escape", (a) => {
14802
+ return t.value ? (o = ci("Escape", (a) => {
14807
14803
  n.emit("esc", { event: a.event, type: "esc" });
14808
14804
  }), {
14809
14805
  remove: o
@@ -14812,7 +14808,7 @@ function hm(e, n) {
14812
14808
  function gm(e, n) {
14813
14809
  const t = x(e.enableEnter);
14814
14810
  let o = null;
14815
- return t.value ? (o = di("Enter", (a) => {
14811
+ return t.value ? (o = ci("Enter", (a) => {
14816
14812
  n.emit("enter", { event: a.event, type: "enter" });
14817
14813
  }), {
14818
14814
  remove: o
@@ -14882,7 +14878,7 @@ const cn = /* @__PURE__ */ ke({
14882
14878
  isMaximized: E.value
14883
14879
  });
14884
14880
  });
14885
- const Z = P(() => (a.value && document.body.classList.add("modal-open"), a.value)), Y = P(() => {
14881
+ const Z = P(() => (a.value && document.body.classList.add("modal-open"), a.value)), G = P(() => {
14886
14882
  var Ve;
14887
14883
  const ne = {
14888
14884
  modal: !0,
@@ -14920,7 +14916,7 @@ const cn = /* @__PURE__ */ ke({
14920
14916
  display: l.value ? "" : "none"
14921
14917
  };
14922
14918
  return ne["pointer-events"] = B.value ? "auto" : "none", ne;
14923
- }), G = P(() => ({
14919
+ }), Y = P(() => ({
14924
14920
  "f-icon": !0,
14925
14921
  modal_maximize: !0,
14926
14922
  modalrevert: E.value
@@ -14950,19 +14946,19 @@ const cn = /* @__PURE__ */ ke({
14950
14946
  async function J(ne, Ie) {
14951
14947
  ne.handle && await ne.handle(Ie, ne) && n.emit("closed", Ie);
14952
14948
  }
14953
- function ie(ne) {
14949
+ function ae(ne) {
14954
14950
  ne.width && (t.value = ne.width), ne.height && (o.value = ne.height), ne.buttons && (g.value = ne.buttons), ne.title && (h.value = ne.title);
14955
14951
  }
14956
- let X = null, ae = null;
14957
- qi(() => {
14952
+ let X = null, re = null;
14953
+ Wi(() => {
14958
14954
  M.value = $();
14959
14955
  }), je(() => {
14960
- y.value && !C.value && (C.value = y.value.parentElement, V.value = C.value, Q(k.value, y.value, V.value)), Z.value && document.body.classList.add("modal-open"), X = hm(e, n), ae = gm(e, n);
14956
+ y.value && !C.value && (C.value = y.value.parentElement, V.value = C.value, Q(k.value, y.value, V.value)), Z.value && document.body.classList.add("modal-open"), X = hm(e, n), re = gm(e, n);
14961
14957
  }), kt(() => {
14962
- L && L(), X && X.remove(), ae && ae.remove();
14958
+ L && L(), X && X.remove(), re && re.remove();
14963
14959
  }), n.expose({
14964
14960
  modalElementRef: y,
14965
- updateModalOptions: ie,
14961
+ updateModalOptions: ae,
14966
14962
  close: F,
14967
14963
  maxDialog: Fe,
14968
14964
  isMaximized: E
@@ -14977,7 +14973,7 @@ const cn = /* @__PURE__ */ ke({
14977
14973
  class: "f-btn-icon f-bare",
14978
14974
  style: "pointer-events: auto;"
14979
14975
  }, [m("span", {
14980
- class: G.value
14976
+ class: Y.value
14981
14977
  }, null)]), u.value && m("li", {
14982
14978
  class: "f-btn-icon f-bare",
14983
14979
  onClick: (ne) => F(ne, !1),
@@ -15050,16 +15046,16 @@ const cn = /* @__PURE__ */ ke({
15050
15046
  src: p.value
15051
15047
  }, null)]), ut()]), !s.value && y.value && !E.value && R(y.value)]);
15052
15048
  }
15053
- return () => m(Oo, {
15049
+ return () => m(Mo, {
15054
15050
  to: "body"
15055
15051
  }, {
15056
- default: () => [Z.value && m(Mo, {
15052
+ default: () => [Z.value && m(Fo, {
15057
15053
  name: "fade",
15058
15054
  appear: !0
15059
15055
  }, {
15060
15056
  default: () => [m("div", {
15061
15057
  ref: S,
15062
- class: Y.value,
15058
+ class: G.value,
15063
15059
  style: ee.value,
15064
15060
  onClick: Mt
15065
15061
  }, [bt()])]
@@ -15067,7 +15063,7 @@ const cn = /* @__PURE__ */ ke({
15067
15063
  });
15068
15064
  }
15069
15065
  });
15070
- function fi(e) {
15066
+ function di(e) {
15071
15067
  if (e.content && e.content.render)
15072
15068
  return e.content.render;
15073
15069
  if (e.render && typeof e.render == "function")
@@ -15086,7 +15082,7 @@ function ym(e) {
15086
15082
  }), p = e.closedCallback || ((S) => {
15087
15083
  }), _ = e.resizeHandle || ((S) => {
15088
15084
  }), b = e.stopMoveHandle || ((S) => {
15089
- }), h = fi(e), C = (S) => {
15085
+ }), h = di(e), C = (S) => {
15090
15086
  u.value = !1, t.unmount(), p(S);
15091
15087
  };
15092
15088
  return je(() => {
@@ -15118,7 +15114,7 @@ function ym(e) {
15118
15114
  });
15119
15115
  return document.body.appendChild(n), t.mount(n), t;
15120
15116
  }
15121
- class pi {
15117
+ class fi {
15122
15118
  constructor(n) {
15123
15119
  q(this, "appContext", null);
15124
15120
  q(this, "modalRef", x());
@@ -15170,7 +15166,7 @@ class pi {
15170
15166
  }), c = n.stopMoveHandle || ((F) => {
15171
15167
  });
15172
15168
  let u;
15173
- const d = fi(o.value), v = (F) => {
15169
+ const d = di(o.value), v = (F) => {
15174
15170
  var g;
15175
15171
  a.value = !1;
15176
15172
  const T = (g = F == null ? void 0 : F.target) == null ? void 0 : g.classList.contains("modal_close");
@@ -15206,7 +15202,7 @@ class pi {
15206
15202
  default: () => [d && d(this.app)]
15207
15203
  });
15208
15204
  return u = ((F) => {
15209
- const T = zi(C, F);
15205
+ const T = qi(C, F);
15210
15206
  return T.appContext = this.appContext, Pn(T, t), T;
15211
15207
  })({
15212
15208
  ...o.value
@@ -15216,7 +15212,7 @@ class pi {
15216
15212
  o.value = {
15217
15213
  ...o.value,
15218
15214
  ...F
15219
- }, u && Pn(Gi(u, {
15215
+ }, u && Pn(zi(u, {
15220
15216
  ...o
15221
15217
  }), t);
15222
15218
  },
@@ -15226,11 +15222,11 @@ class pi {
15226
15222
  };
15227
15223
  }
15228
15224
  }
15229
- const mi = Symbol("FModalService");
15225
+ const pi = Symbol("FModalService");
15230
15226
  cn.install = (e) => {
15231
15227
  e.component(cn.name, cn);
15232
- const n = new pi(e);
15233
- e.provide(mi, n), e.provide("FModalService", n);
15228
+ const n = new fi(e);
15229
+ e.provide(pi, n), e.provide("FModalService", n);
15234
15230
  };
15235
15231
  const bm = {
15236
15232
  id: { type: String, default: "" },
@@ -15249,7 +15245,7 @@ const bm = {
15249
15245
  };
15250
15246
  nt(
15251
15247
  bm,
15252
- ii,
15248
+ ai,
15253
15249
  ao,
15254
15250
  void 0
15255
15251
  );
@@ -15289,7 +15285,7 @@ const wm = "https://json-schema.org/draft/2020-12/schema", Cm = "https://farris-
15289
15285
  }
15290
15286
  }
15291
15287
  };
15292
- Po(Fm, km, Gf, Qf);
15288
+ Do(Fm, km, Gf, Qf);
15293
15289
  const Mm = {
15294
15290
  width: { Type: Number, default: 400 },
15295
15291
  type: { Type: String, default: "info" },
@@ -15556,7 +15552,7 @@ class $t {
15556
15552
  }), o = !1, a = t.type === "error" || t.type === "prompt", i = t.type === "error" ? "错误提示" : t.type === "prompt" && t.title || "", r = t.acceptCallback || (() => {
15557
15553
  }), s = t.rejectCallback || (() => {
15558
15554
  });
15559
- let l = null, c = new pi(l);
15555
+ let l = null, c = new fi(l);
15560
15556
  const u = () => {
15561
15557
  l && (l == null || l.destroy(), c = null);
15562
15558
  };
@@ -15715,7 +15711,7 @@ function zm(e, n, t) {
15715
15711
  }
15716
15712
  return { getCompareOperators: a };
15717
15713
  }
15718
- function vi() {
15714
+ function mi() {
15719
15715
  const e = x({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), n = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
15720
15716
  let o = 0;
15721
15717
  function a() {
@@ -15930,15 +15926,15 @@ function Gm(e, n, t) {
15930
15926
  }
15931
15927
  const Rn = /* @__PURE__ */ ke({
15932
15928
  name: "FConditionList",
15933
- props: Oa,
15929
+ props: Ma,
15934
15930
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
15935
15931
  setup(e, n) {
15936
- const t = x(e.key), o = x(e.conditions), a = ai(e), {
15932
+ const t = x(e.key), o = x(e.conditions), a = oi(e), {
15937
15933
  convertToSingleControl: i,
15938
15934
  fields: r,
15939
15935
  fieldMap: s,
15940
15936
  loadFieldConfigs: l
15941
- } = a, c = vi(), {
15937
+ } = a, c = mi(), {
15942
15938
  addCondition: u,
15943
15939
  changeGroupRelation: d,
15944
15940
  getConditions: v,
@@ -15951,7 +15947,7 @@ const Rn = /* @__PURE__ */ ke({
15951
15947
  unGroup: S
15952
15948
  } = c, {
15953
15949
  createConditionValue: M
15954
- } = oi(), F = Gm(e, n, c), {
15950
+ } = ni(), F = Gm(e, n, c), {
15955
15951
  selectedItems: T,
15956
15952
  toggleSelect: g
15957
15953
  } = F, {
@@ -15959,8 +15955,8 @@ const Rn = /* @__PURE__ */ ke({
15959
15955
  } = zm(e, n, a);
15960
15956
  l(!1), r.value = i(r.value), _(o.value);
15961
15957
  function I(j) {
15962
- var Y;
15963
- const Z = ((Y = s.get(j.fieldCode)) == null ? void 0 : Y.editor) || {
15958
+ var G;
15959
+ const Z = ((G = s.get(j.fieldCode)) == null ? void 0 : G.editor) || {
15964
15960
  type: "text"
15965
15961
  };
15966
15962
  j.value = M(Z.type, void 0), n.emit("labelCodeChange", j);
@@ -16010,9 +16006,9 @@ const Rn = /* @__PURE__ */ ke({
16010
16006
  editor: (Z = s.get(j.fieldCode)) == null ? void 0 : Z.editor,
16011
16007
  showLabel: !1,
16012
16008
  modelValue: j.value.value,
16013
- "onUpdate:modelValue": (Y) => j.value.value = Y,
16014
- onChange: (Y) => {
16015
- E(Y, j);
16009
+ "onUpdate:modelValue": (G) => j.value.value = G,
16010
+ onChange: (G) => {
16011
+ E(G, j);
16016
16012
  }
16017
16013
  }, null)]);
16018
16014
  }
@@ -16095,7 +16091,7 @@ const Rn = /* @__PURE__ */ ke({
16095
16091
  }
16096
16092
  });
16097
16093
  Rn.install = (e) => {
16098
- e.component(So.name, So).component(Rn.name, Rn);
16094
+ e.component(xo.name, xo).component(Rn.name, Rn);
16099
16095
  };
16100
16096
  const Ym = [
16101
16097
  "equal",
@@ -16228,38 +16224,38 @@ const Ym = [
16228
16224
  ["number", Jm],
16229
16225
  ["text", Um]
16230
16226
  ]);
16231
- function hi() {
16232
- const e = x([]), n = /* @__PURE__ */ new Map(), { loadConditionGroup: t } = vi();
16227
+ function vi() {
16228
+ const e = x([]), n = /* @__PURE__ */ new Map(), { loadConditionGroup: t } = mi();
16233
16229
  function o(b, h) {
16234
16230
  switch (b) {
16235
16231
  case "check-box":
16236
- return new Ea({ value: h });
16232
+ return new Oa({ value: h });
16237
16233
  case "combo-list":
16238
- return new Qa({ value: h });
16234
+ return new Xa({ value: h });
16239
16235
  case "combo-lookup":
16240
- return new Da({ value: h });
16236
+ return new Ea({ value: h });
16241
16237
  case "input-group":
16242
16238
  return new Sn({ value: h });
16243
16239
  case "date-picker":
16244
- return new Ua({ value: h });
16240
+ return new Ya({ value: h });
16245
16241
  case "date-range":
16246
16242
  return new xn({ value: h });
16247
16243
  case "datetime-picker":
16248
- return new Xa({ value: h });
16244
+ return new Ua({ value: h });
16249
16245
  case "datetime-range":
16250
16246
  return new xn({ value: h });
16251
16247
  case "lookup":
16252
- return new Ka({ value: h });
16248
+ return new Qa({ value: h });
16253
16249
  case "month-picker":
16254
- return new Ja({ value: h });
16250
+ return new Ka({ value: h });
16255
16251
  case "month-range":
16256
- return new Za({ value: h });
16252
+ return new Ja({ value: h });
16257
16253
  case "number-range":
16258
- return new ei({ value: h });
16254
+ return new Za({ value: h });
16259
16255
  case "number-spinner":
16260
- return new ti({ value: h });
16256
+ return new ei({ value: h });
16261
16257
  case "radio-group":
16262
- return new ni({ value: h });
16258
+ return new ti({ value: h });
16263
16259
  default:
16264
16260
  return new Sn({ value: h });
16265
16261
  }
@@ -16328,7 +16324,7 @@ function hi() {
16328
16324
  }
16329
16325
  return { addColumnFilter: s, apply: _, clearCondition: u, conditions: e, getFilterEditorType: r, removeColumnFilter: l, removeCondition: c };
16330
16326
  }
16331
- function gi(e) {
16327
+ function hi(e) {
16332
16328
  x(e.selection.showCheckbox || !1);
16333
16329
  const n = P(() => {
16334
16330
  var r;
@@ -16394,7 +16390,7 @@ function ev(e, n, t, o, a, i, r, s, l) {
16394
16390
  Te.length && (t.value = [...Te]);
16395
16391
  }
16396
16392
  const j = P(() => R() > g.value), Z = P(() => Math.floor(p.value) > w.value);
16397
- function Y(ue, he) {
16393
+ function G(ue, he) {
16398
16394
  let be = ue;
16399
16395
  const Le = be > V, Qe = j.value;
16400
16396
  Qe && be < g.value - he && (be = g.value - he), (!Qe || Le) && (be = V), C.value !== be && (C.value = be);
@@ -16406,7 +16402,7 @@ function ev(e, n, t, o, a, i, r, s, l) {
16406
16402
  let he = C.value + ue;
16407
16403
  he > V && (he = V);
16408
16404
  const be = R();
16409
- Y(he, be), W();
16405
+ G(he, be), W();
16410
16406
  }
16411
16407
  function ee(ue) {
16412
16408
  if (!Z.value) {
@@ -16422,9 +16418,9 @@ function ev(e, n, t, o, a, i, r, s, l) {
16422
16418
  function N() {
16423
16419
  C.value = 0, M = 0, F = i.value - 1, $();
16424
16420
  }
16425
- function G() {
16421
+ function Y() {
16426
16422
  const ue = R();
16427
- Y(C.value, ue);
16423
+ G(C.value, ue);
16428
16424
  }
16429
16425
  de([w, p], () => {
16430
16426
  ee(0);
@@ -16452,13 +16448,13 @@ function ev(e, n, t, o, a, i, r, s, l) {
16452
16448
  height: `${(e.autoHeight ? u.value : c.value).length * h}px`,
16453
16449
  width: `${p.value}px`,
16454
16450
  transform: `translate(${S.value}px, ${C.value}px)`
16455
- })), ie = P(() => ({
16451
+ })), ae = P(() => ({
16456
16452
  transform: `translate(${S.value}px, ${C.value}px)`
16457
16453
  })), X = P(() => ({
16458
16454
  height: `${c.value.length * h}px`,
16459
16455
  width: `${b.value}px`,
16460
16456
  transform: `translateY(${C.value}px)`
16461
- })), ae = P(() => ({
16457
+ })), re = P(() => ({
16462
16458
  transform: `translateY(${C.value}px)`
16463
16459
  })), xe = P(() => ({
16464
16460
  height: `${c.value.length * h}px`,
@@ -16472,7 +16468,7 @@ function ev(e, n, t, o, a, i, r, s, l) {
16472
16468
  width: `${b.value}px`
16473
16469
  })), Mt = P(() => {
16474
16470
  const ue = R();
16475
- return Y(C.value, ue), C.value / (g.value - ue) * (g.value - O.value);
16471
+ return G(C.value, ue), C.value / (g.value - ue) * (g.value - O.value);
16476
16472
  }), bt = P(() => ({
16477
16473
  width: "8px",
16478
16474
  height: `${O.value}px`,
@@ -16507,7 +16503,7 @@ function ev(e, n, t, o, a, i, r, s, l) {
16507
16503
  var it;
16508
16504
  Ve.value = !0;
16509
16505
  const Le = (it = ue.target) == null ? void 0 : it.parentElement;
16510
- Le && (Le.style.opacity = "1", mt.value = Le), E || (E = Xi(be === "horizontal" ? Ot : Dt, 50)), be === "vertical" && (Xe.value = ue.pageY), be === "horizontal" && (Ae.value = ue.pageX), he.value && (he.value, document.addEventListener("mousemove", E), document.addEventListener("mouseup", wt), document.body.style.userSelect = "none");
16506
+ Le && (Le.style.opacity = "1", mt.value = Le), E || (E = Ui(be === "horizontal" ? Ot : Dt, 50)), be === "vertical" && (Xe.value = ue.pageY), be === "horizontal" && (Ae.value = ue.pageX), he.value && (he.value, document.addEventListener("mousemove", E), document.addEventListener("mouseup", wt), document.body.style.userSelect = "none");
16511
16507
  }
16512
16508
  function Pt(ue) {
16513
16509
  const he = c.value.length * h - g.value;
@@ -16525,7 +16521,7 @@ function ev(e, n, t, o, a, i, r, s, l) {
16525
16521
  fitHorizontalScroll: A,
16526
16522
  gridDataStyle: J,
16527
16523
  gridHeaderColumnsStyle: $e,
16528
- gridMergedDataStyle: ie,
16524
+ gridMergedDataStyle: ae,
16529
16525
  gridSideStyle: xe,
16530
16526
  horizontalScrollThumbStyle: Ie,
16531
16527
  leftFixedGridDataStyle: we,
@@ -16539,10 +16535,10 @@ function ev(e, n, t, o, a, i, r, s, l) {
16539
16535
  resetScroll: N,
16540
16536
  rightFixedGridDataStyle: X,
16541
16537
  rightFixedGridHeaderColumnsStyle: ut,
16542
- rightFixedGridMergedDataStyle: ae,
16538
+ rightFixedGridMergedDataStyle: re,
16543
16539
  shouldShowHorizontalScrollbar: Z,
16544
16540
  shouldShowVirticalScrollbar: j,
16545
- updateVirticalScroll: G,
16541
+ updateVirticalScroll: Y,
16546
16542
  updateVisibleRowsOnLatestVisibleScope: W,
16547
16543
  verticalScrollThumbStyle: bt,
16548
16544
  viewPortWidth: w,
@@ -16579,9 +16575,9 @@ function tv(e, n, t, o, a, i, r, s) {
16579
16575
  }
16580
16576
  return { getVisualData: p, maxVisibleRowIndex: l, minVisibleRowIndex: c, toggleGroupRow: _ };
16581
16577
  }
16582
- function yi(e) {
16578
+ function gi(e) {
16583
16579
  var i;
16584
- const { isUndefined: n } = Ki(), t = ((i = e.rowOption) == null ? void 0 : i.height) || 28;
16580
+ const { isUndefined: n } = Qi(), t = ((i = e.rowOption) == null ? void 0 : i.height) || 28;
16585
16581
  function o(r, s) {
16586
16582
  const l = r.pre;
16587
16583
  if (l) {
@@ -16636,7 +16632,7 @@ function ov() {
16636
16632
  function av() {
16637
16633
  const {
16638
16634
  formatTo: e
16639
- } = Ji();
16635
+ } = Ki();
16640
16636
  function n(o, a) {
16641
16637
  if (o) {
16642
16638
  let i = "yyyy-MM-dd";
@@ -16661,7 +16657,7 @@ function av() {
16661
16657
  function iv() {
16662
16658
  const {
16663
16659
  formatTo: e
16664
- } = Zi();
16660
+ } = Ji();
16665
16661
  function n(t, o) {
16666
16662
  const a = {
16667
16663
  precision: o.precision,
@@ -16718,7 +16714,7 @@ function sv() {
16718
16714
  renderFormatColumn: l
16719
16715
  };
16720
16716
  }
16721
- function bi(e, n, t) {
16717
+ function yi(e, n, t) {
16722
16718
  var b;
16723
16719
  const o = x(e.mergeCell);
16724
16720
  (b = x(e.rowOption).value) != null && b.wrapContent;
@@ -16785,18 +16781,18 @@ function bi(e, n, t) {
16785
16781
  }
16786
16782
  return { createCellByColumn: _, createCellByField: l, updateCellByColumn: p };
16787
16783
  }
16788
- function wi(e, n, t, o, a, i, r) {
16784
+ function bi(e, n, t, o, a, i, r) {
16789
16785
  var S, M;
16790
16786
  const s = x(e.rowOption), l = ((S = s.value) == null ? void 0 : S.height) || 28, c = ((M = s.value) == null ? void 0 : M.wrapContent) || !1, { idField: u } = a, { collapseField: d } = o, { updateRowPosition: v } = i, { createCellByColumn: f } = r, p = (F, T, g, w) => {
16791
16787
  $n(ct(F, w), T, w), g.data[w].data = ct(T, w), g.data[w].editingData = ct(T, w);
16792
16788
  };
16793
16789
  function _(F, T, g, w, I, k) {
16794
- var Z, Y, W;
16790
+ var Z, G, W;
16795
16791
  const {
16796
16792
  __fv_data_grid_group_field__: y,
16797
16793
  __fv_data_grid_group_value__: E,
16798
16794
  __fv_data_index__: R
16799
- } = g, O = g.__fv_data_grid_group_layer__ || (g.__fv_parents__ ? (Z = g.__fv_parents__) == null ? void 0 : Z.size : 0) || 0, D = typeof g.parent == "number" ? Number(g.parent) : -1, V = g.__fv_data_grid_group_collapse__ || g[d.value], H = g.__fv_visible__ === void 0 ? !0 : g.__fv_visible__, B = g.__fv_checked__, L = g.__fv_indeterminate__, Q = g.__fv_disabled__ || g[((Y = e.rowOption) == null ? void 0 : Y.disabledField) || "disabled"], $ = e.hierarchy && n.isVisibleInTree(g), j = {
16795
+ } = g, O = g.__fv_data_grid_group_layer__ || (g.__fv_parents__ ? (Z = g.__fv_parents__) == null ? void 0 : Z.size : 0) || 0, D = typeof g.parent == "number" ? Number(g.parent) : -1, V = g.__fv_data_grid_group_collapse__ || g[d.value], H = g.__fv_visible__ === void 0 ? !0 : g.__fv_visible__, B = g.__fv_checked__, L = g.__fv_indeterminate__, Q = g.__fv_disabled__ || g[((G = e.rowOption) == null ? void 0 : G.disabledField) || "disabled"], $ = e.hierarchy && n.isVisibleInTree(g), j = {
16800
16796
  collapse: V,
16801
16797
  data: {},
16802
16798
  dataIndex: R,
@@ -16886,7 +16882,7 @@ function uv(e, n, t, o) {
16886
16882
  }
16887
16883
  return { renderSummaryRow: s };
16888
16884
  }
16889
- function Ci(e, n, t, o, a) {
16885
+ function wi(e, n, t, o, a) {
16890
16886
  var Q;
16891
16887
  const {
16892
16888
  idField: i
@@ -16901,8 +16897,8 @@ function Ci(e, n, t, o, a) {
16901
16897
  const C = Ct({});
16902
16898
  function S($, j, Z = {}) {
16903
16899
  $.mode = Ke.editing, v = $, f = j, p = ct(j == null ? void 0 : j.raw, $.field), _ = Z;
16904
- for (const Y in C)
16905
- delete C[Y];
16900
+ for (const G in C)
16901
+ delete C[G];
16906
16902
  }
16907
16903
  function M($) {
16908
16904
  $.accept(), $.mode = Ke.editable, v = null;
@@ -16937,33 +16933,33 @@ function Ci(e, n, t, o, a) {
16937
16933
  const Z = $.target;
16938
16934
  if (Z != null && Z.closest(".popover"))
16939
16935
  return;
16940
- const Y = Z.closest(".fv-grid-cell");
16941
- v && v.ref && v.ref === Y || F(v).then((K) => {
16936
+ const G = Z.closest(".fv-grid-cell");
16937
+ v && v.ref && v.ref === G || F(v).then((K) => {
16942
16938
  K && document.body.removeEventListener("click", T, !0);
16943
16939
  });
16944
16940
  }
16945
16941
  function g($, j, Z) {
16946
16942
  return Promise.resolve().then(() => {
16947
16943
  var W;
16948
- const Y = (W = Z.editor) == null ? void 0 : W.readonly;
16944
+ const G = (W = Z.editor) == null ? void 0 : W.readonly;
16949
16945
  return !gt(e.beforeEditCell) && typeof e.beforeEditCell == "function" ? e.beforeEditCell({
16950
16946
  row: $,
16951
16947
  cell: j,
16952
16948
  rawData: $.raw,
16953
16949
  column: Z
16954
- }) : !Y;
16955
- }).then((Y) => {
16956
- Y && (S(j, $, Z), document.body.removeEventListener("click", T, !0), document.body.addEventListener("click", T, !0));
16950
+ }) : !G;
16951
+ }).then((G) => {
16952
+ G && (S(j, $, Z), document.body.removeEventListener("click", T, !0), document.body.addEventListener("click", T, !0));
16957
16953
  });
16958
16954
  }
16959
- function w($, j, Z, Y = {}) {
16955
+ function w($, j, Z, G = {}) {
16960
16956
  $.stopPropagation(), u($, Z), r.value && s.value.editMode === "cell" && j.mode === Ke.editable && F(v).then(() => {
16961
- v || g(Z, j, Y);
16957
+ v || g(Z, j, G);
16962
16958
  });
16963
16959
  }
16964
- function I($, j, Z, Y = {}) {
16960
+ function I($, j, Z, G = {}) {
16965
16961
  $.stopPropagation(), c($, Z), r.value && s.value.editMode === "cell" && j.mode === Ke.editable && F(v).then(() => {
16966
- v || g(Z, j, Y);
16962
+ v || g(Z, j, G);
16967
16963
  });
16968
16964
  }
16969
16965
  function k($) {
@@ -16992,8 +16988,8 @@ function Ci(e, n, t, o, a) {
16992
16988
  R($, !1), $.status = Tt.initial;
16993
16989
  }
16994
16990
  function H($, j, Z) {
16995
- const Y = j.dataType, W = j.editor || {
16996
- type: d.get(Y) || "input-group"
16991
+ const G = j.dataType, W = j.editor || {
16992
+ type: d.get(G) || "input-group"
16997
16993
  };
16998
16994
  return !l.value && W.type === "text" && (W.type = "input-group"), W ? (W.type === "input-group" && (W.textAlign = j.align !== "center" && j.align !== "right" ? "left" : j.align, W.updateOn = "change"), W.type, W.context = {
16999
16995
  rowData: Z.raw,
@@ -17040,7 +17036,7 @@ function Ci(e, n, t, o, a) {
17040
17036
  onMouseupCell: y
17041
17037
  };
17042
17038
  }
17043
- function xi(e) {
17039
+ function Ci(e) {
17044
17040
  const n = x(e.idField);
17045
17041
  function t(o) {
17046
17042
  if (o && o.length) {
@@ -17050,7 +17046,7 @@ function xi(e) {
17050
17046
  }
17051
17047
  return { idField: n, reviseIdentifyField: t };
17052
17048
  }
17053
- function Si(e, n, t, o) {
17049
+ function xi(e, n, t, o) {
17054
17050
  const { idField: a } = o, {
17055
17051
  currentSelectedDataId: i,
17056
17052
  multiSelectOnClickRow: r,
@@ -17169,28 +17165,28 @@ function Si(e, n, t, o) {
17169
17165
  onMouseoutRow: E
17170
17166
  };
17171
17167
  }
17172
- function Ti(e, n, t, o, a) {
17168
+ function Si(e, n, t, o, a) {
17173
17169
  const { idField: i } = t, { dataView: r, getSelectionItems: s } = n, l = x(""), c = P(() => e.selection.enableSelectRow), u = x(e.selection.multiSelect ?? !1), d = x(e.selection.multiSelectMode || "DependOnCheck"), v = x(e.selection.showCheckbox), f = x(e.selection.showSelectAll), p = x(e.selectionValues || []), _ = x(!!p.value.length && o.value.length === p.value.length), b = x(!!p.value.length && o.value.length !== p.value.length);
17174
- de(() => e.selection.showSelectAll, (J, ie) => {
17175
- J !== ie && (f.value = J);
17170
+ de(() => e.selection.showSelectAll, (J, ae) => {
17171
+ J !== ae && (f.value = J);
17176
17172
  });
17177
17173
  function h() {
17178
- const J = r.value.every((X) => p.value.includes(X[i.value])), ie = r.value.every((X) => !p.value.includes(X[i.value]));
17179
- J && (_.value = !0, b.value = !1), ie && (_.value = !1, b.value = !1), !J && !ie && (_.value = !1, b.value = !0);
17174
+ const J = r.value.every((X) => p.value.includes(X[i.value])), ae = r.value.every((X) => !p.value.includes(X[i.value]));
17175
+ J && (_.value = !0, b.value = !1), ae && (_.value = !1, b.value = !1), !J && !ae && (_.value = !1, b.value = !0);
17180
17176
  }
17181
17177
  function C() {
17182
17178
  return s(p.value);
17183
17179
  }
17184
17180
  function S() {
17185
- const J = o.value.reduce((X, ae) => (X.set(ae.raw[i.value], ae), X), /* @__PURE__ */ new Map());
17181
+ const J = o.value.reduce((X, re) => (X.set(re.raw[i.value], re), X), /* @__PURE__ */ new Map());
17186
17182
  return p.value.map((X) => J.get(X)).filter((X) => !!X);
17187
17183
  }
17188
17184
  function M(J) {
17189
17185
  var X;
17190
- const ie = J.raw.__fv_children_index__;
17191
- if (ie && ie.length) {
17192
- const ae = ie.map((xe) => r.value[xe]);
17193
- (X = p.value) != null && X.length && ae.some((Ee) => !p.value.includes(Ee[i.value])) && (J.indeterminate = !0, J.raw.__fv_indeterminate__ = !0);
17186
+ const ae = J.raw.__fv_children_index__;
17187
+ if (ae && ae.length) {
17188
+ const re = ae.map((xe) => r.value[xe]);
17189
+ (X = p.value) != null && X.length && re.some((Ee) => !p.value.includes(Ee[i.value])) && (J.indeterminate = !0, J.raw.__fv_indeterminate__ = !0);
17194
17190
  }
17195
17191
  }
17196
17192
  const F = P(() => c.value && u.value), T = P(
@@ -17214,8 +17210,8 @@ function Ti(e, n, t, o, a) {
17214
17210
  }), S().forEach((X) => {
17215
17211
  X.checked = !0, X.raw.__fv_checked__ = !0;
17216
17212
  }), J.forEach((X) => {
17217
- const ae = o.value.find((xe) => xe.raw[i.value] === X);
17218
- M(ae);
17213
+ const re = o.value.find((xe) => xe.raw[i.value] === X);
17214
+ M(re);
17219
17215
  });
17220
17216
  }
17221
17217
  de(() => o.value, () => {
@@ -17240,24 +17236,24 @@ function Ti(e, n, t, o, a) {
17240
17236
  }), p.value = [], l.value = "", h();
17241
17237
  }
17242
17238
  function B(J) {
17243
- const ie = J;
17244
- ie.__fv_checked__ = !0, ie.__fv_indeterminate__ = !1;
17239
+ const ae = J;
17240
+ ae.__fv_checked__ = !0, ae.__fv_indeterminate__ = !1;
17245
17241
  const X = new Set(p.value);
17246
- X.add(ie[i.value]), p.value = Array.from(X.values());
17242
+ X.add(ae[i.value]), p.value = Array.from(X.values());
17247
17243
  }
17248
17244
  function L(J) {
17249
- const ie = J;
17250
- ie.__fv_checked__ = !1, ie.__fv_indeterminate__ = !1, p.value = p.value.filter((X) => X !== ie[i.value]);
17245
+ const ae = J;
17246
+ ae.__fv_checked__ = !1, ae.__fv_indeterminate__ = !1, p.value = p.value.filter((X) => X !== ae[i.value]);
17251
17247
  }
17252
17248
  function Q(J) {
17253
- const ie = J.raw;
17254
- ie.__fv_checked__ = !0, ie.__fv_indeterminate__ = !1;
17249
+ const ae = J.raw;
17250
+ ae.__fv_checked__ = !0, ae.__fv_indeterminate__ = !1;
17255
17251
  const X = new Set(p.value);
17256
- X.add(ie[i.value]), p.value = Array.from(X.values()), J.checked = !0, J.indeterminate = !1;
17252
+ X.add(ae[i.value]), p.value = Array.from(X.values()), J.checked = !0, J.indeterminate = !1;
17257
17253
  }
17258
17254
  function $(J) {
17259
- const ie = J.raw;
17260
- ie.__fv_checked__ = !1, ie.__fv_indeterminate__ = !1, p.value = p.value.filter((X) => X !== ie[i.value]), J.checked = !1, J.indeterminate = !1;
17255
+ const ae = J.raw;
17256
+ ae.__fv_checked__ = !1, ae.__fv_indeterminate__ = !1, p.value = p.value.filter((X) => X !== ae[i.value]), J.checked = !1, J.indeterminate = !1;
17261
17257
  }
17262
17258
  function j(J) {
17263
17259
  Q(J), l.value = J.raw[i.value];
@@ -17265,52 +17261,52 @@ function Ti(e, n, t, o, a) {
17265
17261
  function Z(J) {
17266
17262
  $(J), l.value = "";
17267
17263
  }
17268
- function Y(J) {
17269
- J.__fv_checked__ = !1, J.__fv_indeterminate__ = !0, p.value = p.value.filter((ie) => ie !== J[i.value]);
17264
+ function G(J) {
17265
+ J.__fv_checked__ = !1, J.__fv_indeterminate__ = !0, p.value = p.value.filter((ae) => ae !== J[i.value]);
17270
17266
  }
17271
17267
  function W(J) {
17272
- const ie = J.raw;
17273
- ie.__fv_checked__ = !1, ie.__fv_indeterminate__ = !0, p.value = p.value.filter((X) => X !== ie[i.value]), J.checked = !1, J.indeterminate = !0;
17268
+ const ae = J.raw;
17269
+ ae.__fv_checked__ = !1, ae.__fv_indeterminate__ = !0, p.value = p.value.filter((X) => X !== ae[i.value]), J.checked = !1, J.indeterminate = !0;
17274
17270
  }
17275
17271
  function K(J) {
17276
17272
  O.value && H(), J.checked ? $(J) : Q(J), y();
17277
17273
  }
17278
- function ee(J, ie = !0) {
17274
+ function ee(J, ae = !0) {
17279
17275
  const X = J.checked;
17280
- O.value && H(), ie ? J.checked ? Z(J) : j(J) : X ? Z(J) : j(J), y(), J.checked || E(J);
17276
+ O.value && H(), ae ? J.checked ? Z(J) : j(J) : X ? Z(J) : j(J), y(), J.checked || E(J);
17281
17277
  }
17282
17278
  function A(J) {
17283
17279
  J.raw[i.value] !== l.value && (H(), j(J), y());
17284
17280
  }
17285
17281
  function N(J) {
17286
- const ie = o.value.find((X) => X.raw[i.value] === J);
17287
- ie && A(ie);
17282
+ const ae = o.value.find((X) => X.raw[i.value] === J);
17283
+ ae && A(ae);
17288
17284
  }
17289
- function G(J) {
17290
- const ie = o.value.filter((xe) => J.includes(xe.raw[i.value])), X = ie.map((xe) => xe.raw[i.value]), ae = r.value.filter((xe) => {
17285
+ function Y(J) {
17286
+ const ae = o.value.filter((xe) => J.includes(xe.raw[i.value])), X = ae.map((xe) => xe.raw[i.value]), re = r.value.filter((xe) => {
17291
17287
  const Ee = xe[i.value];
17292
17288
  return !X.includes(Ee) && J.includes(Ee);
17293
17289
  });
17294
- (ie.length || ae.length) && (H(), T.value && (l.value = J[0])), ie.forEach((xe) => {
17290
+ (ae.length || re.length) && (H(), T.value && (l.value = J[0])), ae.forEach((xe) => {
17295
17291
  j(xe);
17296
- }), ae.forEach((xe) => {
17292
+ }), re.forEach((xe) => {
17297
17293
  B(xe);
17298
17294
  }), y();
17299
17295
  }
17300
17296
  function U(J) {
17301
- for (const ie of J) {
17302
- if (!p.value.includes(ie))
17297
+ for (const ae of J) {
17298
+ if (!p.value.includes(ae))
17303
17299
  continue;
17304
- const X = o.value.find((ae) => ae.raw[i.value] === ie);
17300
+ const X = o.value.find((re) => re.raw[i.value] === ae);
17305
17301
  if (X)
17306
17302
  Z(X);
17307
17303
  else {
17308
- const ae = r.value.find((xe) => xe[i.value] === ie);
17309
- ae && L(ae);
17304
+ const re = r.value.find((xe) => xe[i.value] === ae);
17305
+ re && L(re);
17310
17306
  }
17311
17307
  }
17312
17308
  p.value = p.value.filter(
17313
- (ie) => !J.includes(ie)
17309
+ (ae) => !J.includes(ae)
17314
17310
  );
17315
17311
  }
17316
17312
  function le() {
@@ -17335,7 +17331,7 @@ function Ti(e, n, t, o, a) {
17335
17331
  getSelectedItems: C,
17336
17332
  getSelectionRow: Fe,
17337
17333
  indeterminate: W,
17338
- indeterminateDataItem: Y,
17334
+ indeterminateDataItem: G,
17339
17335
  isSelectingHirarchyItem: g,
17340
17336
  multiSelectMode: d,
17341
17337
  multiSelectOnClickRow: k,
@@ -17347,7 +17343,7 @@ function Ti(e, n, t, o, a) {
17347
17343
  selectDataItem: B,
17348
17344
  selectItem: A,
17349
17345
  selectItemById: N,
17350
- selectItemByIds: G,
17346
+ selectItemByIds: Y,
17351
17347
  showCheckBox: v,
17352
17348
  showSelectAll: f,
17353
17349
  toggleSelectItem: ee,
@@ -17452,7 +17448,7 @@ const gv = /* @__PURE__ */ ke({
17452
17448
  props: En,
17453
17449
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change"],
17454
17450
  setup(e, n) {
17455
- const t = x(), o = x(!0), a = x(!1), i = x([]), r = 0, s = x(e.columns), l = hi(), c = xi(e), u = gi(e), d = ka(e, c), v = Ma(e, /* @__PURE__ */ new Map(), l, u, c), f = Ti(e, v, c, i, n), p = Ca(e, t), _ = x(), b = Oe("design-item-context"), h = Zt(_, b), C = P(() => v.dataView.value.length), S = Si(e, n, f, c), M = Ci(e, n, c, S), F = yi(e), T = bi(e, {}, F), g = wi(e, v, M, u, c, F, T), w = lv(e, c, T, g), I = uv(e, c, T, g), k = tv(e, s, v, C, r, g, w, I), {
17451
+ const t = x(), o = x(!0), a = x(!1), i = x([]), r = 0, s = x(e.columns), l = vi(), c = Ci(e), u = hi(e), d = Ia(e, c), v = Fa(e, /* @__PURE__ */ new Map(), l, u, c), f = Si(e, v, c, i, n), p = wa(e, t), _ = x(), b = Oe("design-item-context"), h = Zt(_, b), C = P(() => v.dataView.value.length), S = xi(e, n, f, c), M = wi(e, n, c, S), F = gi(e), T = yi(e, {}, F), g = bi(e, v, M, u, c, F, T), w = lv(e, c, T, g), I = uv(e, c, T, g), k = tv(e, s, v, C, r, g, w, I), {
17456
17452
  getVisualData: y
17457
17453
  } = k;
17458
17454
  i.value = y(0, C.value + r - 1), je(() => {
@@ -17466,13 +17462,13 @@ const gv = /* @__PURE__ */ ke({
17466
17462
  return e.size !== "default" && (j[`${e.size}-item`] = !0), j;
17467
17463
  }), R = P(() => !!n.slots.footer || o.value);
17468
17464
  function O() {
17469
- return e.header === "SearchBar" ? bn : e.header === "ContentHeader" ? Sa : bn;
17465
+ return e.header === "SearchBar" ? bn : e.header === "ContentHeader" ? xa : bn;
17470
17466
  }
17471
17467
  const D = O(), {
17472
17468
  renderHeader: V
17473
- } = D(e, n, p), H = Ta(), B = _a(e, n, v, H), L = Ia(e, n, i, B, H, f), {
17469
+ } = D(e, n, p), H = Sa(), B = Ta(e, n, v, H), L = _a(e, n, i, B, H, f), {
17474
17470
  renderListArea: Q
17475
- } = xa(e, n, i, v, d, H, f, k, L, B);
17471
+ } = Ca(e, n, i, v, d, H, f, k, L, B);
17476
17472
  function $(j) {
17477
17473
  e.multiSelect && (j.preventDefault(), j.stopPropagation());
17478
17474
  }
@@ -17666,11 +17662,11 @@ const gv = /* @__PURE__ */ ke({
17666
17662
  description: kv,
17667
17663
  type: Fv,
17668
17664
  categories: Mv
17669
- }, _i = {
17665
+ }, Ti = {
17670
17666
  data: { type: Array, default: [] }
17671
- }, Ii = nt(_i, _v, ya, ba, Ov), Ev = /* @__PURE__ */ ke({
17667
+ }, _i = nt(Ti, _v, ga, ya, Ov), Ev = /* @__PURE__ */ ke({
17672
17668
  name: "FListViewTableDesign",
17673
- props: _i,
17669
+ props: Ti,
17674
17670
  emits: ["outputValue", "currentEvent", "selectionChanged"],
17675
17671
  setup(e, n) {
17676
17672
  const t = [{
@@ -17767,10 +17763,10 @@ yt.install = (e) => {
17767
17763
  e.component(yt.name, yt), e.component(zn.name, zn);
17768
17764
  };
17769
17765
  yt.register = (e, n, t) => {
17770
- e["list-view"] = yt, n["list-view"] = wa, e["list-view-table"] = zn, n["list-view-table"] = Ii;
17766
+ e["list-view"] = yt, n["list-view"] = ba, e["list-view-table"] = zn, n["list-view-table"] = _i;
17771
17767
  };
17772
17768
  yt.registerDesigner = (e, n, t) => {
17773
- e["list-view"] = gv, n["list-view"] = wa, e["list-view-table"] = Ev, n["list-view-table"] = Ii;
17769
+ e["list-view"] = gv, n["list-view"] = ba, e["list-view-table"] = Ev, n["list-view-table"] = _i;
17774
17770
  };
17775
17771
  const Dv = /* @__PURE__ */ new Map([
17776
17772
  ["appearance", Ft]
@@ -18008,9 +18004,13 @@ const so = {
18008
18004
  /**
18009
18005
  * 自定义每页数量
18010
18006
  */
18011
- pageList: { type: Array, default: [20, 50, 100] }
18012
- }, ki = nt(so, Lv, Dv, Gv, zv);
18013
- function Fi(e, n, t, o) {
18007
+ pageList: { type: Array, default: [20, 50, 100] },
18008
+ /**
18009
+ * 是否展示分页汇总信息
18010
+ */
18011
+ showPageInfo: { type: Boolean, default: !1 }
18012
+ }, Ii = nt(so, Lv, Dv, Gv, zv);
18013
+ function ki(e, n, t, o) {
18014
18014
  const a = x("跳转至"), i = x(""), r = x(e.value);
18015
18015
  de(r, (u, d) => {
18016
18016
  u >= 1 && u <= n.value ? e.value = u : r.value = d;
@@ -18057,7 +18057,7 @@ function Fi(e, n, t, o) {
18057
18057
  renderGotoButton: c
18058
18058
  };
18059
18059
  }
18060
- function Mi(e, n, t, o, a) {
18060
+ function Fi(e, n, t, o, a) {
18061
18061
  const i = P(() => ({
18062
18062
  "page-item": !0,
18063
18063
  disabled: n.value
@@ -18115,7 +18115,7 @@ function Mi(e, n, t, o, a) {
18115
18115
  renderNextPage: l
18116
18116
  };
18117
18117
  }
18118
- function Oi(e, n) {
18118
+ function Mi(e, n) {
18119
18119
  const t = x("共"), o = x("条"), a = P(() => ({
18120
18120
  "pagination-message": !0,
18121
18121
  "text-truncate": !0,
@@ -18127,8 +18127,7 @@ function Oi(e, n) {
18127
18127
  return m("li", {
18128
18128
  class: a.value
18129
18129
  }, [m("div", {
18130
- class: "text-truncate",
18131
- style: "line-height: 26px"
18130
+ class: "text-truncate"
18132
18131
  }, [m("span", {
18133
18132
  class: "pg-message-text"
18134
18133
  }, [t.value]), m("b", {
@@ -18141,7 +18140,7 @@ function Oi(e, n) {
18141
18140
  renderPageInfo: i
18142
18141
  };
18143
18142
  }
18144
- function Ei(e, n, t, o, a) {
18143
+ function Oi(e, n, t, o, a) {
18145
18144
  const i = x(!1), r = x("显示"), s = x("条"), l = P(() => ({
18146
18145
  dropup: !0,
18147
18146
  "dropdown-right": !0,
@@ -18205,7 +18204,7 @@ function Ei(e, n, t, o, a) {
18205
18204
  renderPageList: _
18206
18205
  };
18207
18206
  }
18208
- function Di(e, n, t, o, a) {
18207
+ function Ei(e, n, t, o, a) {
18209
18208
  const i = (c) => ({
18210
18209
  "page-item": !0,
18211
18210
  current: n.value === c.value,
@@ -18244,7 +18243,7 @@ function Di(e, n, t, o, a) {
18244
18243
  renderPageNumbers: l
18245
18244
  };
18246
18245
  }
18247
- function Pi(e, n, t, o, a) {
18246
+ function Di(e, n, t, o, a) {
18248
18247
  const i = P(() => ({
18249
18248
  "page-item": !0,
18250
18249
  disabled: n.value
@@ -18302,7 +18301,7 @@ function Pi(e, n, t, o, a) {
18302
18301
  renderPreviousPage: c
18303
18302
  };
18304
18303
  }
18305
- function Bi(e) {
18304
+ function Pi(e) {
18306
18305
  const n = x([]);
18307
18306
  function t(a, i, r, s) {
18308
18307
  const l = Math.ceil(r / 2);
@@ -18327,7 +18326,7 @@ const an = /* @__PURE__ */ ke({
18327
18326
  const t = x(!1), o = x(e.mode), a = x(""), i = x(!1), r = x(e.pageSize), s = x(e.currentPage), l = x(e.totalItems), {
18328
18327
  pages: c,
18329
18328
  updatePages: u
18330
- } = Bi(), d = {
18329
+ } = Pi(), d = {
18331
18330
  position: "relative"
18332
18331
  }, v = {
18333
18332
  position: "absolute",
@@ -18336,21 +18335,21 @@ const an = /* @__PURE__ */ ke({
18336
18335
  background: "rgba(250,250,252,.6)",
18337
18336
  width: "100%",
18338
18337
  height: "100%"
18339
- }, f = P(() => !l.value || s.value === 1), p = P(() => e.pageList), _ = P(() => Math.ceil(l.value / r.value)), b = P(() => !l.value || s.value === _.value), h = P(() => e.showGoButton), C = P(() => s.value > 1), S = P(() => !(i.value && c.value.length <= 1)), M = P(() => !0), F = P(() => e.showPageList), T = P(() => e.showPageNumbers), g = P(() => !0), {
18338
+ }, f = P(() => !l.value || s.value === 1), p = P(() => e.pageList), _ = P(() => Math.ceil(l.value / r.value)), b = P(() => !l.value || s.value === _.value), h = P(() => e.showGoButton), C = P(() => s.value > 1), S = P(() => !(i.value && c.value.length <= 1)), M = P(() => e.showPageInfo), F = P(() => e.showPageList), T = P(() => e.showPageNumbers), g = P(() => !0), {
18340
18339
  renderFirstPage: w,
18341
18340
  renderPreviousPage: I
18342
- } = Pi(s, f, C, r, n), {
18341
+ } = Di(s, f, C, r, n), {
18343
18342
  renderLastPage: k,
18344
18343
  renderNextPage: y
18345
- } = Mi(s, b, _, r, n), {
18344
+ } = Fi(s, b, _, r, n), {
18346
18345
  renderPageInfo: E
18347
- } = Oi(a, l), {
18346
+ } = Mi(a, l), {
18348
18347
  renderPageList: R
18349
- } = Ei(s, r, p, l, n), {
18348
+ } = Oi(s, r, p, l, n), {
18350
18349
  renderPageNumbers: O
18351
- } = Di(e, s, c, r, n), {
18350
+ } = Ei(e, s, c, r, n), {
18352
18351
  renderGotoButton: D
18353
- } = Fi(s, _, r, n);
18352
+ } = ki(s, _, r, n);
18354
18353
  u(s.value, r.value, l.value, 7), de(() => e.totalItems, ($) => {
18355
18354
  l.value = $;
18356
18355
  }), de([s, r, l], () => {
@@ -18363,7 +18362,7 @@ const an = /* @__PURE__ */ ke({
18363
18362
  $ !== j && (s.value = $);
18364
18363
  }), de(() => e.pageSize, ($, j) => {
18365
18364
  $ !== j && (r.value = $);
18366
- }), Yi(() => {
18365
+ }), Gi(() => {
18367
18366
  if (!p.value || !p.value.length)
18368
18367
  return;
18369
18368
  const $ = p.value.includes(r.value);
@@ -18424,21 +18423,21 @@ const an = /* @__PURE__ */ ke({
18424
18423
  const {
18425
18424
  pages: v,
18426
18425
  updatePages: f
18427
- } = Bi(), p = P(() => s.value === 1), _ = P(() => [20, 50, 100]), b = P(() => Math.ceil(l.value / r.value)), h = P(() => s.value === b.value), C = P(() => !0), S = P(() => s.value > 1), M = P(() => !(i.value && v.value.length <= 1)), F = P(() => !0), T = P(() => !0), g = P(() => !0), w = P(() => !0), {
18426
+ } = Pi(), p = P(() => s.value === 1), _ = P(() => [20, 50, 100]), b = P(() => Math.ceil(l.value / r.value)), h = P(() => s.value === b.value), C = P(() => !0), S = P(() => s.value > 1), M = P(() => !(i.value && v.value.length <= 1)), F = P(() => !0), T = P(() => !0), g = P(() => !0), w = P(() => !0), {
18428
18427
  renderFirstPage: I,
18429
18428
  renderPreviousPage: k
18430
- } = Pi(s, p, S, r, n), {
18429
+ } = Di(s, p, S, r, n), {
18431
18430
  renderLastPage: y,
18432
18431
  renderNextPage: E
18433
- } = Mi(s, h, b, r, n), {
18432
+ } = Fi(s, h, b, r, n), {
18434
18433
  renderPageInfo: R
18435
- } = Oi(a, l), {
18434
+ } = Mi(a, l), {
18436
18435
  renderPageList: O
18437
- } = Ei(s, r, _, l, n), {
18436
+ } = Oi(s, r, _, l, n), {
18438
18437
  renderPageNumbers: D
18439
- } = Di(e, s, v, r, n), {
18438
+ } = Ei(e, s, v, r, n), {
18440
18439
  renderGotoButton: V
18441
- } = Fi(s, b, r, n);
18440
+ } = ki(s, b, r, n);
18442
18441
  f(s.value, r.value, l.value, 7), de([s, r], () => {
18443
18442
  f(s.value, r.value, l.value, 7);
18444
18443
  }), de(s, () => {
@@ -18485,12 +18484,12 @@ const an = /* @__PURE__ */ ke({
18485
18484
  }
18486
18485
  });
18487
18486
  an.register = (e, n, t) => {
18488
- e.pagination = an, n.pagination = ki;
18487
+ e.pagination = an, n.pagination = Ii;
18489
18488
  };
18490
18489
  an.registerDesigner = (e, n, t) => {
18491
- e.pagination = Yv, n.pagination = ki;
18490
+ e.pagination = Yv, n.pagination = Ii;
18492
18491
  };
18493
- Eo(an);
18492
+ Oo(an);
18494
18493
  const Dn = {
18495
18494
  /** 启用分组 */
18496
18495
  enableGroup: { type: Boolean, default: !1 },
@@ -18962,7 +18961,7 @@ const Zv = {
18962
18961
  }, null)])])])]);
18963
18962
  }
18964
18963
  });
18965
- let Ri = -1;
18964
+ let Bi = -1;
18966
18965
  const Jt = {};
18967
18966
  function th(e) {
18968
18967
  const n = document.createElement("div"), t = e.target || document.body, o = !!e.targetPosition;
@@ -18974,7 +18973,7 @@ function th(e) {
18974
18973
  a = s, t.style.position = e.targetPosition;
18975
18974
  }
18976
18975
  const i = oh();
18977
- Ri = i;
18976
+ Bi = i;
18978
18977
  const r = Fn({
18979
18978
  setup() {
18980
18979
  const s = x();
@@ -19002,7 +19001,7 @@ function nh() {
19002
19001
  function oh() {
19003
19002
  return nh() + 1;
19004
19003
  }
19005
- class Vi {
19004
+ class Ri {
19006
19005
  static show(n) {
19007
19006
  const t = {
19008
19007
  isActive: !0,
@@ -19014,7 +19013,7 @@ class Vi {
19014
19013
  }
19015
19014
  static close(n, t = () => {
19016
19015
  }) {
19017
- const a = Jt[n || Ri];
19016
+ const a = Jt[n || Bi];
19018
19017
  a && a.value.close(t);
19019
19018
  }
19020
19019
  static clearAll() {
@@ -19026,7 +19025,7 @@ class Vi {
19026
19025
  }
19027
19026
  }
19028
19027
  hn.install = (e) => {
19029
- e.component(hn.name, hn), e.provide("FLoadingService", Vi);
19028
+ e.component(hn.name, hn), e.provide("FLoadingService", Ri);
19030
19029
  };
19031
19030
  const _n = /* @__PURE__ */ ke({
19032
19031
  name: "FSchemaSelector",
@@ -19034,7 +19033,7 @@ const _n = /* @__PURE__ */ ke({
19034
19033
  emits: ["selectionChange", "cancel", "submit"],
19035
19034
  setup(e, n) {
19036
19035
  const t = x(e.viewType), o = x(e.viewOptions), a = /* @__PURE__ */ new Map([["Card", Uv], ["Icon", Xv], ["List", Kv]]), i = e.injectSymbolToken, r = x("");
19037
- jt("F_SCHEMA_SELECTOR_SEARCH_VALUE", r), jt("FLoadingService", Vi);
19036
+ jt("F_SCHEMA_SELECTOR_SEARCH_VALUE", r), jt("FLoadingService", Ri);
19038
19037
  const s = Oe(i, Jv()), l = /* @__PURE__ */ new Map([["Recent", s.getRecentlyData], ["Recommand", s.getRecommandData], ["Total", s.getSchemaData]]), c = x(), u = x(!1);
19039
19038
  function d(T) {
19040
19039
  n.emit("selectionChange", T);
@@ -19276,7 +19275,7 @@ const _n = /* @__PURE__ */ ke({
19276
19275
  // left: `${position.value.left}px`,
19277
19276
  // top: `${position.value.top}px`
19278
19277
  }));
19279
- return () => m(Oo, {
19278
+ return () => m(Mo, {
19280
19279
  to: "body"
19281
19280
  }, {
19282
19281
  default: () => {
@@ -19328,7 +19327,7 @@ class uh {
19328
19327
  return lh(n);
19329
19328
  }
19330
19329
  }
19331
- function $i(e, n) {
19330
+ function Vi(e, n) {
19332
19331
  function t() {
19333
19332
  const o = e.beforeOpen || e.beforeClickButton || null;
19334
19333
  let a = Promise.resolve(!0);
@@ -19346,7 +19345,7 @@ function ch(e, n, t, o, a) {
19346
19345
  const i = x(e.buttonBehavior), r = x(e.popupOnInput), s = P(() => ({
19347
19346
  "input-group-append": !0,
19348
19347
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
19349
- })), { judgeCanOpen: l } = $i(e, a), c = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), u = Oe(mi, null), d = x();
19348
+ })), { judgeCanOpen: l } = Vi(e, a), c = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), u = Oe(pi, null), d = x();
19350
19349
  async function v(_) {
19351
19350
  if (await l() && c.value) {
19352
19351
  const b = !!n.slots.default;
@@ -19487,7 +19486,7 @@ function fh(e, n, t, o, a) {
19487
19486
  }
19488
19487
  const Ut = "FarrisVue_PopoverInstancesKey";
19489
19488
  function ph(e, n, t, o) {
19490
- const a = x(), i = x(!1), { judgeCanOpen: r } = $i(e, o);
19489
+ const a = x(), i = x(!1), { judgeCanOpen: r } = Vi(e, o);
19491
19490
  de(() => a.value, (f, p) => {
19492
19491
  window[Ut] = window[Ut] || /* @__PURE__ */ new WeakMap(), f ? window[Ut].set(t.value, f) : window[Ut].delete(t.value);
19493
19492
  });
@@ -19581,7 +19580,7 @@ function vh(e, n, t) {
19581
19580
  function s(l) {
19582
19581
  a(l.map((c) => c.name).join(o.value), !0);
19583
19582
  }
19584
- return () => m(Uo, {
19583
+ return () => m(Yo, {
19585
19584
  id: `${e.id}-tag-editor`,
19586
19585
  class: "form-control",
19587
19586
  data: r.value,
@@ -19611,7 +19610,7 @@ function hh(e, n, t, o) {
19611
19610
  onClick: u
19612
19611
  }, [m("i", {
19613
19612
  class: "f-icon modal_close"
19614
- }, null)]), [[Ui, c.value]]), n.slots.buttonContent ? m("span", {
19613
+ }, null)]), [[Yi, c.value]]), n.slots.buttonContent ? m("span", {
19615
19614
  class: "input-group-text input-group-append-button",
19616
19615
  onClick: i,
19617
19616
  onMouseenter: r,
@@ -19810,7 +19809,7 @@ const yh = /* @__PURE__ */ ke({
19810
19809
  properties: Th,
19811
19810
  required: _h,
19812
19811
  ignore: Ih
19813
- }, Ni = {
19812
+ }, $i = {
19814
19813
  title: { type: String, default: "选择数据源" },
19815
19814
  textField: { type: String, default: "name" },
19816
19815
  viewOptions: { type: Array, default: [] },
@@ -19827,16 +19826,16 @@ const yh = /* @__PURE__ */ ke({
19827
19826
  modalWidth: { type: Number, default: 800 },
19828
19827
  requiredTip: { type: String, default: "请选择数据源" },
19829
19828
  validateFunction: { type: Function, default: null }
19830
- }, Fh = nt(Ni, kh);
19829
+ }, Fh = nt($i, kh);
19831
19830
  function Mh(e) {
19832
19831
  return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !In(e);
19833
19832
  }
19834
19833
  const Vn = /* @__PURE__ */ ke({
19835
19834
  name: "FSchemaSelectorEditor",
19836
- props: Ni,
19835
+ props: $i,
19837
19836
  emits: ["selectionChange", "update:modelValue"],
19838
19837
  setup(e, n) {
19839
- const t = Oe(Fa);
19838
+ const t = Oe(ka);
19840
19839
  t.globalConfig = {
19841
19840
  position: "top-center"
19842
19841
  };