@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,93 +1,93 @@
1
- var ar = Object.defineProperty;
2
- var ir = (n, t, e) => t in n ? ar(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var L = (n, t, e) => ir(n, typeof t != "symbol" ? t + "" : t, e);
4
- import { defineComponent as qe, ref as x, computed as G, withDirectives as Tn, createVNode as I, resolveDirective as Fn, inject as rt, onMounted as yt, watch as Fe, createTextVNode as Ke, mergeProps as gt, Fragment as Zt, reactive as _t, createApp as Kn, onUnmounted as cn, Transition as Jn, onBeforeUnmount as eo, nextTick as dn, provide as sr, triggerRef as lr, isVNode as ur, onBeforeMount as cr, Teleport as dr, shallowRef as fr, render as fn, h as pr, cloneVNode as mr } from "vue";
5
- import { isPlainObject as Nn, cloneDeep as Et, isUndefined as dt, throttle as hr } from "lodash-es";
6
- import { FormSchemaEntityFieldTypeName as Rn, useGuid as gn, areaResponseDirective as vr, useTextBoxDesign as gr, useClear as yr, resolveField as it, useCommonUtils as br, useDateFormat as wr, useNumberFormat as Cr, setFieldValue as yn, getCustomClass as pn, withInstall as _r } from "../common/index.esm.js";
7
- import { getSchemaByType as xr, schemaMap as Tr, createPropsResolver as Fr } from "../dynamic-resolver/index.esm.js";
8
- import { DgControl as At, useDesignerComponent as Sr } from "../designer-canvas/index.esm.js";
9
- import { FormBindingType as Nt, InputBaseProperty as kr } from "../property-panel/index.esm.js";
10
- import Mr from "../accordion/index.esm.js";
11
- import Er from "../avatar/index.esm.js";
12
- import Ir from "../../designer/button-edit/index.esm.js";
13
- import Or from "../button-group/index.esm.js";
14
- import Dr from "../calendar/index.esm.js";
15
- import Vr from "../capsule/index.esm.js";
1
+ var rr = Object.defineProperty;
2
+ var ar = (n, t, e) => t in n ? rr(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var L = (n, t, e) => ar(n, typeof t != "symbol" ? t + "" : t, e);
4
+ import { defineComponent as qe, ref as x, computed as G, withDirectives as Tn, createVNode as I, resolveDirective as Fn, inject as rt, onMounted as yt, watch as Fe, createTextVNode as Ke, mergeProps as gt, Fragment as Zt, reactive as _t, createApp as Zn, onUnmounted as cn, Transition as Kn, onBeforeUnmount as Jn, nextTick as dn, provide as ir, triggerRef as sr, isVNode as lr, onBeforeMount as ur, Teleport as cr, shallowRef as dr, render as fn, h as fr, cloneVNode as pr } from "vue";
5
+ import { isPlainObject as Nn, cloneDeep as Et, isUndefined as dt, throttle as mr } from "lodash-es";
6
+ import { FormSchemaEntityFieldTypeName as Rn, useGuid as gn, areaResponseDirective as hr, useTextBoxDesign as vr, useClear as gr, resolveField as it, useCommonUtils as yr, useDateFormat as br, useNumberFormat as wr, setFieldValue as yn, getCustomClass as pn, withInstall as Cr } from "../common/index.esm.js";
7
+ import { getSchemaByType as _r, schemaMap as xr, createPropsResolver as Tr } from "../dynamic-resolver/index.esm.js";
8
+ import { DgControl as At, useDesignerComponent as Fr } from "../designer-canvas/index.esm.js";
9
+ import { FormBindingType as Nt, InputBaseProperty as Sr } from "../property-panel/index.esm.js";
10
+ import kr from "../accordion/index.esm.js";
11
+ import Mr from "../avatar/index.esm.js";
12
+ import Er from "../../designer/button-edit/index.esm.js";
13
+ import Ir from "../button-group/index.esm.js";
14
+ import Or from "../calendar/index.esm.js";
15
+ import Dr from "../capsule/index.esm.js";
16
16
  import Ln from "../../designer/checkbox/index.esm.js";
17
17
  import Wn from "../../designer/checkbox-group/index.esm.js";
18
18
  import Lt from "../combo-list/index.esm.js";
19
- import Pr from "../combo-tree/index.esm.js";
20
- import Br from "../component/index.esm.js";
21
- import Nr from "../color-picker/index.esm.js";
22
- import Rr from "../content-container/index.esm.js";
23
- import Lr from "../date-picker/index.esm.js";
24
- import Wr from "../../designer/data-grid/index.esm.js";
25
- import $r from "../dropdown/index.esm.js";
26
- import jr, { FDynamicFormGroup as Ar, FDynamicFormInput as Hr } from "../dynamic-form/index.esm.js";
27
- import Gr from "../events-editor/index.esm.js";
28
- import qr from "../filter-bar/index.esm.js";
29
- import zr from "../field-selector/index.esm.js";
30
- import Yr from "../binding-selector/index.esm.js";
31
- import Ur from "../image-cropper/index.esm.js";
32
- import Xr from "../../designer/input-group/index.esm.js";
33
- import Qr from "../layout/index.esm.js";
34
- import Zr from "../list-nav/index.esm.js";
35
- import Kr from "../list-view/index.esm.js";
36
- import Jr from "../lookup/index.esm.js";
37
- import ea from "../mapping-editor/index.esm.js";
38
- import ta from "../nav/index.esm.js";
39
- import na from "../number-range/index.esm.js";
40
- import oa from "../number-spinner/index.esm.js";
41
- import ra from "../order/index.esm.js";
42
- import aa from "../page-header/index.esm.js";
43
- import ia from "../page-footer/index.esm.js";
44
- import sa from "../pagination/index.esm.js";
45
- import la from "../progress/index.esm.js";
46
- import ua from "../query-solution/index.esm.js";
47
- import ca from "../../designer/radio-group/index.esm.js";
48
- import da from "../rate/index.esm.js";
49
- import fa from "../response-toolbar/index.esm.js";
50
- import pa from "../response-layout/index.esm.js";
51
- import ma from "../response-layout-editor/index.esm.js";
52
- import ha from "../search-box/index.esm.js";
53
- import va from "../section/index.esm.js";
54
- import ga from "../smoke-detector/index.esm.js";
55
- import ya from "../splitter/index.esm.js";
56
- import ba from "../step/index.esm.js";
57
- import wa from "../switch/index.esm.js";
58
- import Ca from "../tabs/index.esm.js";
59
- import _a from "../tags/index.esm.js";
60
- import xa from "../text/index.esm.js";
61
- import Ta from "../time-picker/index.esm.js";
62
- import Fa from "../transfer/index.esm.js";
63
- import Sa from "../tree-view/index.esm.js";
64
- import ka from "../uploader/index.esm.js";
65
- import Ma from "../verify-detail/index.esm.js";
66
- import Ea from "../video/index.esm.js";
67
- import Ia from "../textarea/index.esm.js";
68
- import Oa from "../schema-selector/index.esm.js";
69
- import Da from "../tree-grid/index.esm.js";
70
- import Va from "../event-parameter/index.esm.js";
71
- import Pa from "../filter-condition-editor/index.esm.js";
72
- import Ba from "../fieldset/index.esm.js";
73
- import Na from "../sort-condition-editor/index.esm.js";
74
- import Ra from "../menu-lookup/index.esm.js";
75
- import La from "../drawer/index.esm.js";
76
- import Wa from "../json-editor/index.esm.js";
77
- import $a from "../property-editor/index.esm.js";
78
- import ja from "../expression-editor/index.esm.js";
79
- import Aa from "../code-editor/index.esm.js";
80
- import Ha from "../html-template/index.esm.js";
19
+ import Vr from "../combo-tree/index.esm.js";
20
+ import Pr from "../component/index.esm.js";
21
+ import Br from "../color-picker/index.esm.js";
22
+ import Nr from "../content-container/index.esm.js";
23
+ import Rr from "../date-picker/index.esm.js";
24
+ import Lr from "../../designer/data-grid/index.esm.js";
25
+ import Wr from "../dropdown/index.esm.js";
26
+ import $r, { FDynamicFormGroup as jr, FDynamicFormInput as Ar } from "../dynamic-form/index.esm.js";
27
+ import Hr from "../events-editor/index.esm.js";
28
+ import Gr from "../filter-bar/index.esm.js";
29
+ import qr from "../field-selector/index.esm.js";
30
+ import zr from "../binding-selector/index.esm.js";
31
+ import Yr from "../image-cropper/index.esm.js";
32
+ import Ur from "../../designer/input-group/index.esm.js";
33
+ import Xr from "../layout/index.esm.js";
34
+ import Qr from "../list-nav/index.esm.js";
35
+ import Zr from "../list-view/index.esm.js";
36
+ import Kr from "../lookup/index.esm.js";
37
+ import Jr from "../mapping-editor/index.esm.js";
38
+ import ea from "../nav/index.esm.js";
39
+ import ta from "../number-range/index.esm.js";
40
+ import na from "../number-spinner/index.esm.js";
41
+ import oa from "../order/index.esm.js";
42
+ import ra from "../page-header/index.esm.js";
43
+ import aa from "../page-footer/index.esm.js";
44
+ import ia from "../pagination/index.esm.js";
45
+ import sa from "../progress/index.esm.js";
46
+ import la from "../query-solution/index.esm.js";
47
+ import ua from "../../designer/radio-group/index.esm.js";
48
+ import ca from "../rate/index.esm.js";
49
+ import da from "../response-toolbar/index.esm.js";
50
+ import fa from "../response-layout/index.esm.js";
51
+ import pa from "../response-layout-editor/index.esm.js";
52
+ import ma from "../search-box/index.esm.js";
53
+ import ha from "../section/index.esm.js";
54
+ import va from "../smoke-detector/index.esm.js";
55
+ import ga from "../splitter/index.esm.js";
56
+ import ya from "../step/index.esm.js";
57
+ import ba from "../switch/index.esm.js";
58
+ import wa from "../tabs/index.esm.js";
59
+ import Ca from "../tags/index.esm.js";
60
+ import _a from "../text/index.esm.js";
61
+ import xa from "../time-picker/index.esm.js";
62
+ import Ta from "../transfer/index.esm.js";
63
+ import Fa from "../tree-view/index.esm.js";
64
+ import Sa from "../uploader/index.esm.js";
65
+ import ka from "../verify-detail/index.esm.js";
66
+ import Ma from "../video/index.esm.js";
67
+ import Ea from "../textarea/index.esm.js";
68
+ import Ia from "../schema-selector/index.esm.js";
69
+ import Oa from "../tree-grid/index.esm.js";
70
+ import Da from "../event-parameter/index.esm.js";
71
+ import Va from "../filter-condition-editor/index.esm.js";
72
+ import Pa from "../fieldset/index.esm.js";
73
+ import Ba from "../sort-condition-editor/index.esm.js";
74
+ import Na from "../menu-lookup/index.esm.js";
75
+ import Ra from "../drawer/index.esm.js";
76
+ import La from "../json-editor/index.esm.js";
77
+ import Wa from "../property-editor/index.esm.js";
78
+ import $a from "../expression-editor/index.esm.js";
79
+ import ja from "../code-editor/index.esm.js";
80
+ import Aa from "../html-template/index.esm.js";
81
81
  import "../external-container/index.esm.js";
82
- import { useResizeObserver as to } from "@vueuse/core";
83
- import { useIdentify as Ga, useGroupData as qa, useFilter as za, useHierarchy as Ya, useLoading as Ua, useDataView as Xa, useSelection as Qa, useSelectHierarchyItem as Za, useDataViewContainerStyle as Ka, useCommandColumn as Ja, useColumn as ei, useSort as ti, useGroupColumn as ni, useRow as oi, useEdit as ri, useVisualDataBound as ai, useVisualDataCell as ii, useVisualDataRow as si, useVisualData as li, useCellPosition as ui, useSidebar as ci, useVirtualScroll as di, useFitColumn as fi, useFilterHistory as pi, useColumnFilter as mi, useDragColumn as hi, getColumnHeader as vi, getSidebar as gi, getDisableMask as yi, getHorizontalScrollbar as bi, getVerticalScrollbar as wi, getEmpty as Ci } from "../data-view/index.esm.js";
82
+ import { useResizeObserver as eo } from "@vueuse/core";
83
+ import { useIdentify as Ha, useGroupData as Ga, useFilter as qa, useHierarchy as za, useLoading as Ya, useDataView as Ua, useSelection as Xa, useSelectHierarchyItem as Qa, useDataViewContainerStyle as Za, useCommandColumn as Ka, useColumn as Ja, useSort as ei, useGroupColumn as ti, useRow as ni, useEdit as oi, useVisualDataBound as ri, useVisualDataCell as ai, useVisualDataRow as ii, useVisualData as si, useCellPosition as li, useSidebar as ui, useVirtualScroll as ci, useFitColumn as di, useFilterHistory as fi, useColumnFilter as pi, useDragColumn as mi, getColumnHeader as hi, getSidebar as vi, getDisableMask as gi, getHorizontalScrollbar as yi, getVerticalScrollbar as bi, getEmpty as wi } from "../data-view/index.esm.js";
84
84
  import "../modal/index.esm.js";
85
85
  import "../condition/index.esm.js";
86
- import { FCheckbox as _i } from "../checkbox/index.esm.js";
87
- import $n from "../tooltip/index.esm.js";
86
+ import { FCheckbox as Ci } from "../checkbox/index.esm.js";
87
+ import _i from "../tooltip/index.esm.js";
88
88
  import xi from "../button/index.esm.js";
89
89
  import "../notify/index.esm.js";
90
- const no = {}, oo = {};
90
+ const to = {}, no = {};
91
91
  function Sn(n) {
92
92
  const { properties: t, title: e, ignore: o } = n, r = o && Array.isArray(o), a = Object.keys(t).reduce((i, s) => ((!r || !o.find((l) => l === s)) && (i[s] = t[s].type === "object" && t[s].properties ? Sn(t[s]) : Et(t[s].default)), i), {});
93
93
  if (e && (!r || !o.find((i) => i === "id"))) {
@@ -110,12 +110,12 @@ function Ti(n) {
110
110
  type: e
111
111
  };
112
112
  }
113
- function ro(n, t = {}, e) {
114
- const o = no[n];
113
+ function oo(n, t = {}, e) {
114
+ const o = to[n];
115
115
  if (o) {
116
116
  let r = Ti(o);
117
- const a = oo[n];
118
- return r = a ? a({ getSchemaByType: ro }, r, t, e) : r, r;
117
+ const a = no[n];
118
+ return r = a ? a({ getSchemaByType: oo }, r, t, e) : r, r;
119
119
  }
120
120
  return null;
121
121
  }
@@ -123,7 +123,7 @@ function Fi(n, t) {
123
123
  const e = Sn(t);
124
124
  return Object.keys(e).reduce((o, r) => (Object.prototype.hasOwnProperty.call(n, r) && (o[r] && Nn(o[r]) && Nn(n[r] || !n[r]) ? Object.assign(o[r], n[r] || {}) : o[r] = n[r]), o), e), e;
125
125
  }
126
- function ao(n, t) {
126
+ function ro(n, t) {
127
127
  return Object.keys(n).filter((o) => n[o] != null).reduce((o, r) => {
128
128
  if (t.has(r)) {
129
129
  const a = t.get(r);
@@ -140,7 +140,7 @@ function ao(n, t) {
140
140
  }
141
141
  function Si(n, t, e = /* @__PURE__ */ new Map()) {
142
142
  const o = Fi(n, t);
143
- return ao(o, e);
143
+ return ro(o, e);
144
144
  }
145
145
  function ki(n = {}) {
146
146
  function t(d, c, u, f) {
@@ -241,12 +241,12 @@ const ie = {
241
241
  "external-container": { type: "external-container", name: "外部容器", icon: "content-container" },
242
242
  "list-nav": { type: "list-nav", name: "列表导航" },
243
243
  "filter-bar": { type: "filter-bar", name: "筛选条" }
244
- }, io = {}, Mi = {};
244
+ }, ao = {}, Mi = {};
245
245
  ki();
246
246
  function Gt(n, t, e = /* @__PURE__ */ new Map(), o = (i, s, l, d) => s, r = {}, a = (i) => i) {
247
- return no[t.title] = t, oo[t.title] = o, io[t.title] = r, Mi[t.title] = a, (i = {}, s = !0) => {
247
+ return to[t.title] = t, no[t.title] = o, ao[t.title] = r, Mi[t.title] = a, (i = {}, s = !0) => {
248
248
  if (!s)
249
- return ao(i, e);
249
+ return ro(i, e);
250
250
  const l = Si(i, t, e), d = Object.keys(n).reduce((c, u) => (c[u] = n[u].default, c), {});
251
251
  return Object.assign(d, l);
252
252
  };
@@ -482,14 +482,14 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Wi = "https://farris-
482
482
  type: Ai,
483
483
  properties: Hi,
484
484
  required: Gi
485
- }, so = {
485
+ }, io = {
486
486
  customClass: { type: String, default: "" },
487
487
  customStyle: { type: String, defaut: "" },
488
488
  /** 控制是否可见 */
489
489
  visible: { type: Boolean, default: !0 }
490
- }, jn = Gt(so, qi, Mn, Ni), mn = /* @__PURE__ */ qe({
490
+ }, $n = Gt(io, qi, Mn, Ni), mn = /* @__PURE__ */ qe({
491
491
  name: "FResponseForm",
492
- props: so,
492
+ props: io,
493
493
  emits: [],
494
494
  setup(n, t) {
495
495
  const e = x(), o = G(() => {
@@ -570,7 +570,7 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Wi = "https://farris-
570
570
  "id",
571
571
  "type",
572
572
  "editor"
573
- ], lo = {
573
+ ], so = {
574
574
  $schema: zi,
575
575
  $id: Yi,
576
576
  title: Ui,
@@ -594,9 +594,9 @@ const Li = "https://json-schema.org/draft/2020-12/schema", Wi = "https://farris-
594
594
  type: { type: String, default: "input-group" },
595
595
  componentId: { type: String, default: "" },
596
596
  errors: { type: Object, default: null }
597
- }, An = Gt(
597
+ }, jn = Gt(
598
598
  Kt,
599
- lo,
599
+ so,
600
600
  Mn,
601
601
  void 0
602
602
  ), Ji = Oi();
@@ -647,7 +647,7 @@ function En(n, t, e) {
647
647
  }
648
648
  function C(M, F) {
649
649
  const { componentType: O } = M;
650
- let b = ro(O, M, F);
650
+ let b = oo(O, M, F);
651
651
  e && e.onResolveNewComponentSchema && (b = e.onResolveNewComponentSchema(M, b));
652
652
  const W = O.toLowerCase().replace(/-/g, "_");
653
653
  return b && !b.id && b.type === O && (b.id = `${W}_${Math.random().toString().slice(2, 6)}`), b;
@@ -822,7 +822,7 @@ class ts {
822
822
  }
823
823
  }
824
824
  const ns = x(0);
825
- function uo() {
825
+ function lo() {
826
826
  ns.value++;
827
827
  }
828
828
  const en = x(0);
@@ -861,7 +861,7 @@ function as(n) {
861
861
  return o;
862
862
  }
863
863
  }
864
- function co(n) {
864
+ function uo(n) {
865
865
  if (!n)
866
866
  return;
867
867
  const t = n.getBoundingClientRect();
@@ -882,7 +882,7 @@ function is(n) {
882
882
  if (!n)
883
883
  return;
884
884
  let t;
885
- n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && co(t);
885
+ n.className.includes("dgComponentSelected") ? t = n : t = n.querySelector(".dgComponentSelected"), t && uo(t);
886
886
  }
887
887
  function ss(n) {
888
888
  const { formSchemaUtils: t, formStateMachineUtils: e } = n;
@@ -1173,7 +1173,7 @@ class ls {
1173
1173
  };
1174
1174
  }
1175
1175
  }
1176
- class fo {
1176
+ class co {
1177
1177
  constructor(t, e) {
1178
1178
  L(this, "componentId");
1179
1179
  L(this, "viewModelId");
@@ -1365,7 +1365,7 @@ class fo {
1365
1365
  if (!o)
1366
1366
  return;
1367
1367
  const r = o.contents.findIndex((i) => i.id === t), a = Et(o.contents[r]);
1368
- o.contents.splice(r, 1), o.contents.splice(r, 0, a), uo();
1368
+ o.contents.splice(r, 1), o.contents.splice(r, 0, a), lo();
1369
1369
  }
1370
1370
  /**
1371
1371
  * 属性编辑器,在编辑过程中会新增变量,此处需要将新增的变量追加到ViewModel中
@@ -1582,7 +1582,7 @@ function ds(n, t) {
1582
1582
  }
1583
1583
  return { checkIsInFormComponent: o, assembleUnifiedLayoutContext: a, changeFormControlsByUnifiedLayoutConfig: s };
1584
1584
  }
1585
- class fs extends fo {
1585
+ class fs extends co {
1586
1586
  constructor(t, e) {
1587
1587
  super(t, e);
1588
1588
  }
@@ -1624,7 +1624,7 @@ class fs extends fo {
1624
1624
  a.appearance || (a.appearance = {
1625
1625
  class: ""
1626
1626
  }), a.appearance.class || (a.appearance.class = ""), e ? a.appearance.class.includes("farris-group-multi-label") || (a.appearance.class = a.appearance.class + " farris-group-multi-label") : a.appearance.class = a.appearance.class.replace("farris-group-multi-label", "").trim();
1627
- }), uo());
1627
+ }), lo());
1628
1628
  }
1629
1629
  }
1630
1630
  function ps(n, t) {
@@ -1764,11 +1764,11 @@ function ps(n, t) {
1764
1764
  }
1765
1765
  function g(w, k, B) {
1766
1766
  var z, j, A;
1767
- const R = {}, P = w.type === "form-group" && w.editor ? w.editor.type : w.type, N = (z = Tr[P]) == null ? void 0 : z.events;
1767
+ const R = {}, P = w.type === "form-group" && w.editor ? w.editor.type : w.type, N = (z = xr[P]) == null ? void 0 : z.events;
1768
1768
  if (!N)
1769
1769
  return;
1770
- Object.keys(w).forEach((U) => {
1771
- const Z = Object.keys(N).find((J) => J === U);
1770
+ Object.keys(w).forEach((Y) => {
1771
+ const Z = Object.keys(N).find((J) => J === Y);
1772
1772
  if (Z && w[Z]) {
1773
1773
  const J = k.commands.find((K) => K.code === w[Z]);
1774
1774
  if (J) {
@@ -1779,17 +1779,17 @@ function ps(n, t) {
1779
1779
  });
1780
1780
  const V = (t == null ? void 0 : t.designViewModelUtils).getDgViewModel(B.id), D = ["valueChanging", "valueChanged"];
1781
1781
  if (((j = w.binding) == null ? void 0 : j.type) === Nt.Form) {
1782
- const U = (A = B.fields) == null ? void 0 : A.find((Z) => Z.id === w.binding.field);
1783
- U && D.forEach((Z) => {
1784
- if (U[Z]) {
1785
- const J = k.commands.find((K) => K.code === U[Z]);
1782
+ const Y = (A = B.fields) == null ? void 0 : A.find((Z) => Z.id === w.binding.field);
1783
+ Y && D.forEach((Z) => {
1784
+ if (Y[Z]) {
1785
+ const J = k.commands.find((K) => K.code === Y[Z]);
1786
1786
  if (!J)
1787
1787
  return;
1788
1788
  if (R[J.code])
1789
- V.changeField(U.id, { [Z]: R[J.code].code });
1789
+ V.changeField(Y.id, { [Z]: R[J.code].code });
1790
1790
  else {
1791
1791
  const K = v(J);
1792
- R[J.code] = K, B.commands.push(K), V.changeField(U.id, { [Z]: K.code });
1792
+ R[J.code] = K, B.commands.push(K), V.changeField(Y.id, { [Z]: K.code });
1793
1793
  }
1794
1794
  }
1795
1795
  });
@@ -1864,7 +1864,7 @@ function ps(n, t) {
1864
1864
  if ((B.appearance && B.appearance.class || "").split(" ").includes("f-form-layout") && w.componentCategory === "input") {
1865
1865
  const { label: D } = w;
1866
1866
  let z;
1867
- return (N = w.bindingSourceContext) != null && N.entityFieldNode ? z = (t == null ? void 0 : t.controlCreatorUtils).setFormFieldProperty((q = w.bindingSourceContext) == null ? void 0 : q.entityFieldNode, k == null ? void 0 : k.type) : (z = xr("form-group"), z.editor = k, z.label = D), h(z), M(w, (V = z.editor) == null ? void 0 : V.type), z;
1867
+ return (N = w.bindingSourceContext) != null && N.entityFieldNode ? z = (t == null ? void 0 : t.controlCreatorUtils).setFormFieldProperty((q = w.bindingSourceContext) == null ? void 0 : q.entityFieldNode, k == null ? void 0 : k.type) : (z = _r("form-group"), z.editor = k, z.label = D), h(z), M(w, (V = z.editor) == null ? void 0 : V.type), z;
1868
1868
  }
1869
1869
  return k;
1870
1870
  }
@@ -1897,7 +1897,7 @@ function ps(n, t) {
1897
1897
  const ms = /* @__PURE__ */ qe({
1898
1898
  name: "FResponseFormDesign",
1899
1899
  directives: {
1900
- "area-response": vr
1900
+ "area-response": hr
1901
1901
  },
1902
1902
  props: Kt,
1903
1903
  emits: [],
@@ -1927,7 +1927,7 @@ const ms = /* @__PURE__ */ qe({
1927
1927
  title: { type: String },
1928
1928
  valid: { type: Boolean, default: !0 },
1929
1929
  inValidTip: { type: String, default: "" }
1930
- }, po = /* @__PURE__ */ qe({
1930
+ }, fo = /* @__PURE__ */ qe({
1931
1931
  name: "FDynamicFormLabel",
1932
1932
  props: hs,
1933
1933
  emits: [],
@@ -1957,11 +1957,11 @@ const ms = /* @__PURE__ */ qe({
1957
1957
  }, [o.value])]);
1958
1958
  }
1959
1959
  }), se = {}, le = {}, ue = {}, ce = {};
1960
- let Hn = !1;
1960
+ let An = !1;
1961
1961
  function vs() {
1962
- Hn || (Hn = !0, Er.register(se, le, ue, ce), Mr.register(se, le, ue, ce), Ir.register(se, le, ue, ce), Or.register(se, le, ue, ce), Dr.register(se, le, ue, ce), Vr.register(se, le, ue, ce), Ln.register(se, le, ue, ce), Wn.register(se, le, ue, ce), Ln.register(se, le, ue, ce), Wn.register(se, le, ue, ce), Lt.register(se, le, ue, ce), Pr.register(se, le, ue, ce), Br.register(se, le, ue, ce), Rr.register(se, le, ue, ce), Nr.register(se, le, ue, ce), Lr.register(se, le, ue, ce), Wr.register(se, le, ue, ce), $r.register(se, le, ue, ce), jr.register(se, le, ue, ce), Gr.register(se, le, ue, ce), ja.register(se, le, ue, ce), qr.register(se, le, ue, ce), zr.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Ur.register(se, le, ue, ce), Xr.register(se, le, ue, ce), Qr.register(se, le, ue, ce), Kr.register(se, le, ue, ce), Zr.register(se, le, ue, ce), Jr.register(se, le, ue, ce), ea.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), oa.register(se, le, ue, ce), ra.register(se, le, ue, ce), aa.register(se, le, ue, ce), ia.register(se, le, ue, ce), sa.register(se, le, ue, ce), la.register(se, le, ue, ce), ua.register(se, le, ue, ce), ca.register(se, le, ue, ce), da.register(se, le, ue, ce), pa.register(se, le, ue, ce), ma.register(se, le, ue, ce), fa.register(se, le, ue, ce), Oa.register(se, le, ue), ha.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ya.register(se, le, ue, ce), ba.register(se, le, ue, ce), wa.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ca.register(se, le, ue, ce), _a.register(se, le, ue, ce), xa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), Fa.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ma.register(se, le, ue, ce), ka.register(se, le, ue, ce), Ea.register(se, le, ue, ce), Ia.register(se, le, ue, ce), Da.register(se, le, ue, ce), Yr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Ba.register(se, le, ue, ce), Ra.register(se, le, ue, ce), La.register(se, le, ue, ce), Wa.register(se, le, ue, ce), $a.register(se, le, ue, ce), Aa.register(se, le, ue, ce), Ha.register(se, le, ue, ce));
1962
+ An || (An = !0, Mr.register(se, le, ue, ce), kr.register(se, le, ue, ce), Er.register(se, le, ue, ce), Ir.register(se, le, ue, ce), Or.register(se, le, ue, ce), Dr.register(se, le, ue, ce), Ln.register(se, le, ue, ce), Wn.register(se, le, ue, ce), Ln.register(se, le, ue, ce), Wn.register(se, le, ue, ce), Lt.register(se, le, ue, ce), Vr.register(se, le, ue, ce), Pr.register(se, le, ue, ce), Nr.register(se, le, ue, ce), Br.register(se, le, ue, ce), Rr.register(se, le, ue, ce), Lr.register(se, le, ue, ce), Wr.register(se, le, ue, ce), $r.register(se, le, ue, ce), Hr.register(se, le, ue, ce), $a.register(se, le, ue, ce), Gr.register(se, le, ue, ce), qr.register(se, le, ue, ce), Va.register(se, le, ue, ce), Yr.register(se, le, ue, ce), Ur.register(se, le, ue, ce), Xr.register(se, le, ue, ce), Zr.register(se, le, ue, ce), Qr.register(se, le, ue, ce), Kr.register(se, le, ue, ce), Jr.register(se, le, ue, ce), ea.register(se, le, ue, ce), ta.register(se, le, ue, ce), na.register(se, le, ue, ce), oa.register(se, le, ue, ce), ra.register(se, le, ue, ce), aa.register(se, le, ue, ce), ia.register(se, le, ue, ce), sa.register(se, le, ue, ce), la.register(se, le, ue, ce), ua.register(se, le, ue, ce), ca.register(se, le, ue, ce), fa.register(se, le, ue, ce), pa.register(se, le, ue, ce), da.register(se, le, ue, ce), Ia.register(se, le, ue), ma.register(se, le, ue, ce), ha.register(se, le, ue, ce), va.register(se, le, ue, ce), ga.register(se, le, ue, ce), ya.register(se, le, ue, ce), ba.register(se, le, ue, ce), Ba.register(se, le, ue, ce), wa.register(se, le, ue, ce), Ca.register(se, le, ue, ce), _a.register(se, le, ue, ce), xa.register(se, le, ue, ce), Ta.register(se, le, ue, ce), Fa.register(se, le, ue, ce), ka.register(se, le, ue, ce), Sa.register(se, le, ue, ce), Ma.register(se, le, ue, ce), Ea.register(se, le, ue, ce), Oa.register(se, le, ue, ce), zr.register(se, le, ue, ce), Da.register(se, le, ue, ce), Pa.register(se, le, ue, ce), Na.register(se, le, ue, ce), Ra.register(se, le, ue, ce), La.register(se, le, ue, ce), Wa.register(se, le, ue, ce), ja.register(se, le, ue, ce), Aa.register(se, le, ue, ce));
1963
1963
  }
1964
- function mo() {
1964
+ function po() {
1965
1965
  vs();
1966
1966
  function n(i) {
1967
1967
  const s = se[i];
@@ -2120,7 +2120,7 @@ const gs = {
2120
2120
  resolveEditorType: p,
2121
2121
  getChangeFunctionName: E,
2122
2122
  getClearFunctionName: C
2123
- } = mo(), v = G(() => ({
2123
+ } = po(), v = G(() => ({
2124
2124
  "form-group": !0,
2125
2125
  "farris-form-group": !0,
2126
2126
  "common-group": !0,
@@ -2164,7 +2164,7 @@ const gs = {
2164
2164
  class: "farris-group-wrap"
2165
2165
  }, [I("div", {
2166
2166
  class: v.value
2167
- }, [d.value && I(po, {
2167
+ }, [d.value && I(fo, {
2168
2168
  id: `${e.value}-lable`,
2169
2169
  required: l.value,
2170
2170
  text: a.value,
@@ -2173,7 +2173,7 @@ const gs = {
2173
2173
  class: "farris-input-wrap"
2174
2174
  }, [_.value(), S()])])])]);
2175
2175
  }
2176
- }), ho = {}, vo = {}, bs = {
2176
+ }), mo = {}, ho = {}, bs = {
2177
2177
  id: { Type: String, default: "" },
2178
2178
  /** 是否自动完成 */
2179
2179
  autocomplete: { Type: String, default: "off" },
@@ -2322,7 +2322,7 @@ function _s(n, t, e, o, r) {
2322
2322
  class: a.value
2323
2323
  }, [m.value && p(), T && T()]);
2324
2324
  }
2325
- const go = [
2325
+ const vo = [
2326
2326
  { key: "none", value: "无" },
2327
2327
  { key: "cellNumber", value: "手机号" },
2328
2328
  { key: "tel", value: "座机号/传真号" },
@@ -2363,20 +2363,20 @@ function xs(n) {
2363
2363
  }
2364
2364
  function Ts(n) {
2365
2365
  var t;
2366
- return "请输入正确的" + ((t = go.find((e) => e.key === n)) == null ? void 0 : t.value);
2366
+ return "请输入正确的" + ((t = vo.find((e) => e.key === n)) == null ? void 0 : t.value);
2367
2367
  }
2368
2368
  const Fs = {
2369
2369
  convertTo: (n, t, e, o) => {
2370
2370
  n.editor.formatValidation || (n.editor.formatValidation = { type: "none" }), n.editor.formatValidation.type = e, n.editor.formatValidation.expression = xs(e), n.editor.formatValidation.message = Ts(e);
2371
2371
  },
2372
2372
  convertFrom: (n, t, e) => n.editor.formatValidation ? t === "type" ? n.editor.formatValidation[t] || "none" : n.editor.formatValidation[t] : "none"
2373
- }, Gn = {
2373
+ }, Hn = {
2374
2374
  convertTo: (n, t, e, o) => {
2375
2375
  n.editor.formatValidation || (n.editor.formatValidation = { type: "none" }), n.editor.formatValidation[t] = e;
2376
2376
  },
2377
2377
  convertFrom: (n, t, e) => n.editor.formatValidation ? n.editor.formatValidation[t] : n.editor[t]
2378
2378
  };
2379
- class Ss extends kr {
2379
+ class Ss extends Sr {
2380
2380
  constructor(t, e) {
2381
2381
  super(t, e);
2382
2382
  }
@@ -2427,7 +2427,7 @@ class Ss extends kr {
2427
2427
  valueField: "key",
2428
2428
  idField: "key",
2429
2429
  editable: !1,
2430
- data: go
2430
+ data: vo
2431
2431
  },
2432
2432
  refreshPanelAfterChanged: !0,
2433
2433
  $converter: Fs
@@ -2438,12 +2438,12 @@ class Ss extends kr {
2438
2438
  title: "输入错误提示",
2439
2439
  type: "string",
2440
2440
  description: "输入错误提示",
2441
- $converter: Gn
2441
+ $converter: Hn
2442
2442
  }), ((a = t.editor.formatValidation) == null ? void 0 : a.type) === "custom" && (e.properties.expression = {
2443
2443
  title: "匹配正则",
2444
2444
  type: "string",
2445
2445
  description: "匹配正则",
2446
- $converter: Gn
2446
+ $converter: Hn
2447
2447
  }), e;
2448
2448
  }
2449
2449
  }
@@ -2459,16 +2459,16 @@ const Ms = /* @__PURE__ */ qe({
2459
2459
  props: bs,
2460
2460
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
2461
2461
  setup(n, t) {
2462
- const e = x(n.modelValue), o = x(n.modelValue), r = gr(n, t, e, o), {
2462
+ const e = x(n.modelValue), o = x(n.modelValue), r = vr(n, t, e, o), {
2463
2463
  inputGroupClass: a,
2464
2464
  inputType: i,
2465
2465
  inputGroupStyle: s
2466
2466
  } = r, l = ws(n), {
2467
2467
  shouldShowAppendedButton: d
2468
- } = l, c = yr(n, t, r), {
2468
+ } = l, c = gr(n, t, r), {
2469
2469
  onMouseEnter: u,
2470
2470
  onMouseLeave: f
2471
- } = c, m = Cs(n, t, i, l), p = x(), E = rt("designer-host-service"), C = rt("design-item-context"), v = ks(C, E), g = Sr(p, C, v);
2471
+ } = c, m = Cs(n, t, i, l), p = x(), E = rt("designer-host-service"), C = rt("design-item-context"), v = ks(C, E), g = Fr(p, C, v);
2472
2472
  yt(() => {
2473
2473
  p.value.componentInstance = g;
2474
2474
  }), t.expose(g.value);
@@ -2490,11 +2490,11 @@ const Ms = /* @__PURE__ */ qe({
2490
2490
  });
2491
2491
  function Es() {
2492
2492
  function n(i, s) {
2493
- const l = vo[i];
2493
+ const l = ho[i];
2494
2494
  return l ? l(s) : {};
2495
2495
  }
2496
2496
  function t(i) {
2497
- return ho[i] || Ms;
2497
+ return mo[i] || Ms;
2498
2498
  }
2499
2499
  function e(i) {
2500
2500
  }
@@ -2589,7 +2589,7 @@ L(jt, "fieldControlTypeMapping", {
2589
2589
  { key: ie["radio-group"].type, value: ie["radio-group"].name }
2590
2590
  ]
2591
2591
  });
2592
- let qn = jt;
2592
+ let Gn = jt;
2593
2593
  var bn = /* @__PURE__ */ ((n) => (n.Form = "Form", n.Variable = "Variable", n))(bn || {}), kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2594
2594
  function Jt(n) {
2595
2595
  throw new Error('Could not dynamically require "' + n + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
@@ -2647,9 +2647,9 @@ var Is = { exports: {} };
2647
2647
  function u(b, W) {
2648
2648
  var $ = arguments.length;
2649
2649
  $ === 1 && Array.isArray(b) === !1 && (W = b, b = []);
2650
- var w, k, B, R, P, N, q, V, D, z = null, j, A, U = !1, Z = 0, J, K = W || {};
2650
+ var w, k, B, R, P, N, q, V, D, z = null, j, A, Y = !1, Z = 0, J, K = W || {};
2651
2651
  K.moves === void 0 && (K.moves = g), K.accepts === void 0 && (K.accepts = g), K.invalid === void 0 && (K.invalid = bt), K.containers === void 0 && (K.containers = b || []), K.isContainer === void 0 && (K.isContainer = v), K.copy === void 0 && (K.copy = !1), K.copySortSource === void 0 && (K.copySortSource = !1), K.revertOnSpill === void 0 && (K.revertOnSpill = !1), K.removeOnSpill === void 0 && (K.removeOnSpill = !1), K.direction === void 0 && (K.direction = "vertical"), K.ignoreInputTextSelection === void 0 && (K.ignoreInputTextSelection = !0), K.mirrorContainer === void 0 && (K.mirrorContainer = d.body);
2652
- var fe = i({
2652
+ var me = i({
2653
2653
  containers: K.containers,
2654
2654
  start: De,
2655
2655
  end: ft,
@@ -2659,17 +2659,17 @@ var Is = { exports: {} };
2659
2659
  canMove: ke,
2660
2660
  dragging: !1
2661
2661
  });
2662
- return K.removeOnSpill === !0 && fe.on("over", Ft).on("out", Ct), xe(), fe;
2662
+ return K.removeOnSpill === !0 && me.on("over", Ft).on("out", Ct), xe(), me;
2663
2663
  function ve(H) {
2664
- return fe.containers.indexOf(H) !== -1 || K.isContainer(H);
2664
+ return me.containers.indexOf(H) !== -1 || K.isContainer(H);
2665
2665
  }
2666
2666
  function xe(H) {
2667
2667
  var te = H ? "remove" : "add";
2668
- p(c, te, "mousedown", Y), p(c, te, "mouseup", Te);
2668
+ p(c, te, "mousedown", U), p(c, te, "mouseup", Te);
2669
2669
  }
2670
2670
  function Ve(H) {
2671
2671
  var te = H ? "remove" : "add";
2672
- p(c, te, "mousemove", ne);
2672
+ p(c, te, "mousemove", re);
2673
2673
  }
2674
2674
  function Re(H) {
2675
2675
  var te = H ? "remove" : "add";
@@ -2681,15 +2681,15 @@ var Is = { exports: {} };
2681
2681
  function de(H) {
2682
2682
  j && H.preventDefault();
2683
2683
  }
2684
- function Y(H) {
2684
+ function U(H) {
2685
2685
  R = H.clientX, P = H.clientY;
2686
2686
  var te = E(H) !== 1 || H.metaKey || H.ctrlKey;
2687
2687
  if (!te) {
2688
- var re = H.target, oe = be(re);
2689
- oe && (j = oe, Ve(), H.type === "mousedown" && (T(re) ? re.focus() : H.preventDefault()));
2688
+ var oe = H.target, ne = be(oe);
2689
+ ne && (j = ne, Ve(), H.type === "mousedown" && (T(oe) ? oe.focus() : H.preventDefault()));
2690
2690
  }
2691
2691
  }
2692
- function ne(H) {
2692
+ function re(H) {
2693
2693
  if (j) {
2694
2694
  if (E(H) === 0) {
2695
2695
  Te({});
@@ -2697,8 +2697,8 @@ var Is = { exports: {} };
2697
2697
  }
2698
2698
  if (!(H.clientX !== void 0 && Math.abs(H.clientX - R) <= (K.slideFactorX || 0) && H.clientY !== void 0 && Math.abs(H.clientY - P) <= (K.slideFactorY || 0))) {
2699
2699
  if (K.ignoreInputTextSelection) {
2700
- var te = O("clientX", H) || 0, re = O("clientY", H) || 0, oe = d.elementFromPoint(te, re);
2701
- if (T(oe))
2700
+ var te = O("clientX", H) || 0, oe = O("clientY", H) || 0, ne = d.elementFromPoint(te, oe);
2701
+ if (T(ne))
2702
2702
  return;
2703
2703
  }
2704
2704
  var we = j;
@@ -2707,17 +2707,17 @@ var Is = { exports: {} };
2707
2707
  }
2708
2708
  }
2709
2709
  function be(H) {
2710
- if (!(fe.dragging && w) && !ve(H)) {
2710
+ if (!(me.dragging && w) && !ve(H)) {
2711
2711
  for (var te = H; S(H) && ve(S(H)) === !1; )
2712
2712
  if (K.invalid(H, te) || (H = S(H), !H))
2713
2713
  return;
2714
- var re = S(H);
2715
- if (re && !K.invalid(H, te)) {
2716
- var oe = K.moves(H, re, te, M(H));
2717
- if (oe)
2714
+ var oe = S(H);
2715
+ if (oe && !K.invalid(H, te)) {
2716
+ var ne = K.moves(H, oe, te, M(H));
2717
+ if (ne)
2718
2718
  return {
2719
2719
  item: H,
2720
- source: re
2720
+ source: oe
2721
2721
  };
2722
2722
  }
2723
2723
  }
@@ -2730,13 +2730,13 @@ var Is = { exports: {} };
2730
2730
  te && at(te);
2731
2731
  }
2732
2732
  function at(H) {
2733
- Ee(H.item, H.source) && (V = H.item.cloneNode(!0), fe.emit("cloned", V, H.item, "copy")), k = H.source, B = H.item, N = q = M(H.item), fe.dragging = !0, fe.emit("drag", B, k);
2733
+ Ee(H.item, H.source) && (V = H.item.cloneNode(!0), me.emit("cloned", V, H.item, "copy")), k = H.source, B = H.item, N = q = M(H.item), me.dragging = !0, me.emit("drag", B, k);
2734
2734
  }
2735
2735
  function bt() {
2736
2736
  return !1;
2737
2737
  }
2738
2738
  function ft() {
2739
- if (fe.dragging) {
2739
+ if (me.dragging) {
2740
2740
  var H = V || B;
2741
2741
  Oe(H, S(H));
2742
2742
  }
@@ -2745,72 +2745,72 @@ var Is = { exports: {} };
2745
2745
  j = !1, Ve(!0), Re(!0);
2746
2746
  }
2747
2747
  function Te(H) {
2748
- if (ee(), !!fe.dragging) {
2749
- var te = V || B, re = O("clientX", H) || 0, oe = O("clientY", H) || 0, we = C(w, re, oe), ye = Tt(we, re, oe);
2748
+ if (ee(), !!me.dragging) {
2749
+ var te = V || B, oe = O("clientX", H) || 0, ne = O("clientY", H) || 0, we = C(w, oe, ne), ye = Tt(we, oe, ne);
2750
2750
  ye && (V && K.copySortSource || !V || ye !== k) ? Oe(te, ye) : K.removeOnSpill ? Ge() : Ne();
2751
2751
  }
2752
2752
  }
2753
2753
  function Oe(H, te) {
2754
- var re = S(H);
2755
- V && K.copySortSource && te === k && re.removeChild(B), wt(te) ? fe.emit("cancel", H, k) : fe.emit("drop", H, te, k, q), lt();
2754
+ var oe = S(H);
2755
+ V && K.copySortSource && te === k && oe.removeChild(B), wt(te) ? me.emit("cancel", H, k) : me.emit("drop", H, te, k, q), lt();
2756
2756
  }
2757
2757
  function Ge() {
2758
- if (fe.dragging) {
2758
+ if (me.dragging) {
2759
2759
  var H = V || B, te = S(H);
2760
- te && te.removeChild(H), fe.emit(V ? "cancel" : "remove", H, te, k), lt();
2760
+ te && te.removeChild(H), me.emit(V ? "cancel" : "remove", H, te, k), lt();
2761
2761
  }
2762
2762
  }
2763
2763
  function Ne(H) {
2764
- if (fe.dragging) {
2765
- var te = arguments.length > 0 ? H : K.revertOnSpill, re = V || B, oe = S(re), we = wt(oe);
2766
- we === !1 && te && (V ? oe && oe.removeChild(V) : k.insertBefore(re, N)), we || te ? fe.emit("cancel", re, k, k) : fe.emit("drop", re, oe, k, q), lt();
2764
+ if (me.dragging) {
2765
+ var te = arguments.length > 0 ? H : K.revertOnSpill, oe = V || B, ne = S(oe), we = wt(ne);
2766
+ we === !1 && te && (V ? ne && ne.removeChild(V) : k.insertBefore(oe, N)), we || te ? me.emit("cancel", oe, k, k) : me.emit("drop", oe, ne, k, q), lt();
2767
2767
  }
2768
2768
  }
2769
2769
  function lt() {
2770
2770
  var H = V || B;
2771
- ee(), ae(), pe(), H && l.rm(H, "gu-transit"), D && clearTimeout(D), fe.dragging = !1, z && fe.emit("out", H, z, k), fe.emit("dragend", H, Z), k = B = V = N = q = D = z = null;
2771
+ ee(), ae(), fe(), H && l.rm(H, "gu-transit"), D && clearTimeout(D), me.dragging = !1, z && me.emit("out", H, z, k), me.emit("dragend", H, Z), k = B = V = N = q = D = z = null;
2772
2772
  }
2773
2773
  function wt(H, te) {
2774
- var re;
2775
- return te !== void 0 ? re = te : w ? re = q : re = M(V || B), H === k && re === N;
2774
+ var oe;
2775
+ return te !== void 0 ? oe = te : w ? oe = q : oe = M(V || B), H === k && oe === N;
2776
2776
  }
2777
- function Tt(H, te, re) {
2778
- for (var oe = H; oe && !we(); )
2779
- oe = S(oe);
2780
- return oe;
2777
+ function Tt(H, te, oe) {
2778
+ for (var ne = H; ne && !we(); )
2779
+ ne = S(ne);
2780
+ return ne;
2781
2781
  function we() {
2782
- var ye = ve(oe);
2782
+ var ye = ve(ne);
2783
2783
  if (ye === !1)
2784
2784
  return !1;
2785
- var Be = ge(oe, H), Se = Ce(oe, Be, te, re), Le = wt(oe, Se);
2786
- return Le ? !0 : K.accepts(B, oe, k, Se);
2785
+ var Be = ge(ne, H), Se = Ce(ne, Be, te, oe), Le = wt(ne, Se);
2786
+ return Le ? !0 : K.accepts(B, ne, k, Se);
2787
2787
  }
2788
2788
  }
2789
2789
  function pt(H) {
2790
2790
  if (!w)
2791
2791
  return;
2792
2792
  H.preventDefault();
2793
- var te = O("clientX", H) || 0, re = O("clientY", H) || 0;
2794
- w.style.left = te - 2 + "px", w.style.top = re - 2 + "px";
2795
- var oe = V || B, we = C(w, te, re), ye = Tt(we, te, re), Be = ye !== null && ye !== z;
2796
- (Be || ye === null) && (he(), z = ye, ut()), me(we, re);
2797
- var Se = S(oe);
2793
+ var te = O("clientX", H) || 0, oe = O("clientY", H) || 0;
2794
+ w.style.left = te - 2 + "px", w.style.top = oe - 2 + "px";
2795
+ var ne = V || B, we = C(w, te, oe), ye = Tt(we, te, oe), Be = ye !== null && ye !== z;
2796
+ (Be || ye === null) && (he(), z = ye, ut()), pe(we, oe);
2797
+ var Se = S(ne);
2798
2798
  if (ye === k && V && !K.copySortSource) {
2799
- Se && Se.removeChild(oe);
2799
+ Se && Se.removeChild(ne);
2800
2800
  return;
2801
2801
  }
2802
2802
  var Le, st = ge(ye, we);
2803
- if (U = Pe(st, ye), st !== null)
2804
- Le = Ce(ye, st, te, re);
2803
+ if (Y = Pe(st, ye), st !== null)
2804
+ Le = Ce(ye, st, te, oe);
2805
2805
  else if (K.revertOnSpill === !0 && !V)
2806
2806
  Le = N, ye = k;
2807
2807
  else {
2808
- V && Se && Se.removeChild(oe), V && A && (A.style.display = "none");
2808
+ V && Se && Se.removeChild(ne), V && A && (A.style.display = "none");
2809
2809
  return;
2810
2810
  }
2811
- A.style.display = "block", Ot(Le, oe, Be), Le ? Je(st, Le) : Q(ye);
2811
+ A.style.display = "block", Ot(Le, ne, Be), Le ? Je(st, Le) : Q(ye);
2812
2812
  function Xe(_e) {
2813
- fe.emit(_e, oe, z, k);
2813
+ me.emit(_e, ne, z, k);
2814
2814
  }
2815
2815
  function ut() {
2816
2816
  Be && Xe("over");
@@ -2819,43 +2819,43 @@ var Is = { exports: {} };
2819
2819
  z && Xe("out");
2820
2820
  }
2821
2821
  }
2822
- function Ot(H, te, re) {
2823
- (H === te || H === M(te)) && (q = M(te)), (H === null && re || H !== te && H !== M(te)) && (q = H);
2822
+ function Ot(H, te, oe) {
2823
+ (H === te || H === M(te)) && (q = M(te)), (H === null && oe || H !== te && H !== M(te)) && (q = H);
2824
2824
  }
2825
2825
  function Ft(H) {
2826
2826
  l.rm(H, "gu-hide");
2827
2827
  }
2828
2828
  function Ct(H) {
2829
- fe.dragging && l.add(H, "gu-hide");
2829
+ me.dragging && l.add(H, "gu-hide");
2830
2830
  }
2831
2831
  function Dt() {
2832
- w || (w = document.createElement("div"), w.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;", w.innerHTML = K.getMirrorText && K.getMirrorText(B) || "控件", l.add(w, "gu-mirror"), K.mirrorContainer.appendChild(w), p(c, "add", "mousemove", pt), l.add(K.mirrorContainer, "gu-unselectable"), fe.emit("cloned", w, B, "mirror"));
2832
+ w || (w = document.createElement("div"), w.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;", w.innerHTML = K.getMirrorText && K.getMirrorText(B) || "控件", l.add(w, "gu-mirror"), K.mirrorContainer.appendChild(w), p(c, "add", "mousemove", pt), l.add(K.mirrorContainer, "gu-unselectable"), me.emit("cloned", w, B, "mirror"));
2833
2833
  }
2834
2834
  function St() {
2835
2835
  if (A = document.createElement("div"), l.add(A, "gu-insertion"), B) {
2836
2836
  var H = B.getBoundingClientRect();
2837
2837
  A.style.left = H.left + "px", A.style.top = H.top + "px";
2838
2838
  }
2839
- U = !1, K.mirrorContainer.appendChild(A);
2839
+ Y = !1, K.mirrorContainer.appendChild(A);
2840
2840
  }
2841
2841
  function ae() {
2842
2842
  w && (l.rm(K.mirrorContainer, "gu-unselectable"), p(c, "remove", "mousemove", pt), S(w).removeChild(w), w = null);
2843
2843
  }
2844
- function pe() {
2844
+ function fe() {
2845
2845
  A && (S(A).removeChild(A), A = null);
2846
2846
  }
2847
2847
  function ge(H, te) {
2848
- for (var re = te; re !== H && S(re) !== H; )
2849
- re = S(re);
2850
- return re === c ? null : re;
2848
+ for (var oe = te; oe !== H && S(oe) !== H; )
2849
+ oe = S(oe);
2850
+ return oe === c ? null : oe;
2851
2851
  }
2852
2852
  function Pe(H, te) {
2853
2853
  if (!te)
2854
- return U;
2855
- var re = H || te && te.lastElementChild;
2856
- if (!re)
2854
+ return Y;
2855
+ var oe = H || te && te.lastElementChild;
2856
+ if (!oe)
2857
2857
  return !0;
2858
- var oe = getComputedStyle(H), we = /^inline/.test(oe.getPropertyValue("display")) || /^(left|right)$/.test(oe.getPropertyValue("float"));
2858
+ var ne = getComputedStyle(H), we = /^inline/.test(ne.getPropertyValue("display")) || /^(left|right)$/.test(ne.getPropertyValue("float"));
2859
2859
  if (we)
2860
2860
  return !0;
2861
2861
  if (te) {
@@ -2873,10 +2873,10 @@ var Is = { exports: {} };
2873
2873
  if (!H.children || !H.children.length)
2874
2874
  return !1;
2875
2875
  for (const te of Array.from(H.children)) {
2876
- const oe = (te.className && te.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
2877
- if (!oe.length)
2876
+ const ne = (te.className && te.className.split(" ") || []).filter((we) => /^col(-md|-xl|-el){0,1}-([1-9]|10|11|12)$/.test(we));
2877
+ if (!ne.length)
2878
2878
  return !1;
2879
- for (const we of oe) {
2879
+ for (const we of ne) {
2880
2880
  const ye = we.slice(we.lastIndexOf("-") + 1);
2881
2881
  if (parseInt(ye, 10) !== 12)
2882
2882
  return !1;
@@ -2885,15 +2885,15 @@ var Is = { exports: {} };
2885
2885
  return !0;
2886
2886
  }
2887
2887
  function Je(H, te) {
2888
- const re = te.getBoundingClientRect();
2889
- if (A.style.left = re.left + "px", A.style.top = re.top + "px", U) {
2890
- if (A.style.height = re.height + "px", A.style.width = "4px", H) {
2891
- const oe = H.getBoundingClientRect();
2892
- oe.top !== re.top && (A.style.left = oe.right + "px", A.style.top = oe.top + "px", A.style.height = oe.height + "px");
2888
+ const oe = te.getBoundingClientRect();
2889
+ if (A.style.left = oe.left + "px", A.style.top = oe.top + "px", Y) {
2890
+ if (A.style.height = oe.height + "px", A.style.width = "4px", H) {
2891
+ const ne = H.getBoundingClientRect();
2892
+ ne.top !== oe.top && (A.style.left = ne.right + "px", A.style.top = ne.top + "px", A.style.height = ne.height + "px");
2893
2893
  }
2894
- } else if (A.style.height = "4px", A.style.width = re.width + "px", J) {
2895
- const oe = J.getBoundingClientRect();
2896
- re.top < oe.top && (A.style.display = "none");
2894
+ } else if (A.style.height = "4px", A.style.width = oe.width + "px", J) {
2895
+ const ne = J.getBoundingClientRect();
2896
+ oe.top < ne.top && (A.style.display = "none");
2897
2897
  }
2898
2898
  te === B && B && (A.style.display = "none");
2899
2899
  }
@@ -2901,42 +2901,42 @@ var Is = { exports: {} };
2901
2901
  q = null;
2902
2902
  var te = H.lastElementChild;
2903
2903
  if (te) {
2904
- var re = te.getBoundingClientRect();
2905
- U ? (A.style.left = re.right + "px", A.style.top = re.top + "px", A.style.height = re.height + "px", A.style.width = "4px") : (A.style.left = re.left + "px", A.style.top = re.bottom + "px", A.style.height = "4px", A.style.width = re.width + "px"), te === B && B && (A.style.display = "none");
2904
+ var oe = te.getBoundingClientRect();
2905
+ Y ? (A.style.left = oe.right + "px", A.style.top = oe.top + "px", A.style.height = oe.height + "px", A.style.width = "4px") : (A.style.left = oe.left + "px", A.style.top = oe.bottom + "px", A.style.height = "4px", A.style.width = oe.width + "px"), te === B && B && (A.style.display = "none");
2906
2906
  } else
2907
2907
  A.style.display = "none";
2908
2908
  }
2909
- function me(H, te) {
2909
+ function pe(H, te) {
2910
2910
  if (!K.mirrorContainer.contains(H) || !window.scrollContainerList || !Array.from(window.scrollContainerList).length || (J = f(H), !J || !J.contains(H)))
2911
2911
  return;
2912
- const re = document.querySelector(".dgComponentSelected"), oe = J.getBoundingClientRect();
2913
- if (te - 30 < oe.top && J.scrollTop > 0) {
2912
+ const oe = document.querySelector(".dgComponentSelected"), ne = J.getBoundingClientRect();
2913
+ if (te - 30 < ne.top && J.scrollTop > 0) {
2914
2914
  let we = J.scrollTop < 10 ? J.scrollTop : 10;
2915
- J.scrollBy(0, -1 * we), re && J.contains(re) && (Z = Z + -1 * we);
2915
+ J.scrollBy(0, -1 * we), oe && J.contains(oe) && (Z = Z + -1 * we);
2916
2916
  }
2917
- if (te + 30 > oe.bottom && J.scrollTop < J.scrollHeight - J.clientHeight) {
2917
+ if (te + 30 > ne.bottom && J.scrollTop < J.scrollHeight - J.clientHeight) {
2918
2918
  const we = J.scrollHeight - J.clientHeight - J.scrollTop;
2919
2919
  let ye = we < 10 ? we : 10;
2920
- J.scrollBy(0, ye), re && J.contains(re) && (Z = Z + ye);
2920
+ J.scrollBy(0, ye), oe && J.contains(oe) && (Z = Z + ye);
2921
2921
  }
2922
2922
  }
2923
- function Ce(H, te, re, oe) {
2923
+ function Ce(H, te, oe, ne) {
2924
2924
  var we = K.direction === "horizontal", ye = K.direction === "mixed", Be = te !== H ? Le() : Se();
2925
2925
  return Be;
2926
2926
  function Se() {
2927
2927
  var Xe = H.children.length, ut, he, _e;
2928
2928
  for (ut = 0; ut < Xe; ut++)
2929
- if (he = H.children[ut], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > re || !ye && !we && _e.top + _e.height / 2 > oe || ye && _e.left + _e.width > re && _e.top + _e.height > oe)
2929
+ if (he = H.children[ut], _e = he.getBoundingClientRect(), we && _e.left + _e.width / 2 > oe || !ye && !we && _e.top + _e.height / 2 > ne || ye && _e.left + _e.width > oe && _e.top + _e.height > ne)
2930
2930
  return he;
2931
2931
  return null;
2932
2932
  }
2933
2933
  function Le() {
2934
2934
  var Xe = te.getBoundingClientRect();
2935
2935
  if (ye) {
2936
- var ut = oe - Xe.top, he = re - Xe.left, _e = Xe.bottom - oe, et = Xe.right - re, Ze = Math.min(he, et, ut, _e), tt;
2937
- return U ? tt = et < he : tt = _e === Ze || et === Ze || he === Ze, st(tt);
2936
+ var ut = ne - Xe.top, he = oe - Xe.left, _e = Xe.bottom - ne, et = Xe.right - oe, Ze = Math.min(he, et, ut, _e), tt;
2937
+ return Y ? tt = et < he : tt = _e === Ze || et === Ze || he === Ze, st(tt);
2938
2938
  }
2939
- return st(we ? re > Xe.left + y(Xe) / 2 : oe > Xe.top + _(Xe) / 2);
2939
+ return st(we ? oe > Xe.left + y(Xe) / 2 : ne > Xe.top + _(Xe) / 2);
2940
2940
  }
2941
2941
  function st(Xe) {
2942
2942
  return Xe ? M(te) : te;
@@ -3474,7 +3474,7 @@ const Os = {
3474
3474
  }, null)]);
3475
3475
  }
3476
3476
  });
3477
- class yo {
3477
+ class go {
3478
3478
  constructor() {
3479
3479
  L(this, "notifyRefs", []);
3480
3480
  L(this, "globalConfig", _t({}));
@@ -3495,7 +3495,7 @@ class yo {
3495
3495
  ...t
3496
3496
  }), a = document.createElement("div");
3497
3497
  a.style.display = "contents";
3498
- const i = Kn({
3498
+ const i = Zn({
3499
3499
  setup() {
3500
3500
  var d;
3501
3501
  const s = x();
@@ -3515,7 +3515,7 @@ class yo {
3515
3515
  document.body.removeChild(a);
3516
3516
  }), yt(() => {
3517
3517
  e.updateNotifyPositionForCreate(r, s);
3518
- }), () => I(Jn, {
3518
+ }), () => I(Kn, {
3519
3519
  mode: "out-in",
3520
3520
  name: "fade",
3521
3521
  appear: !0
@@ -3596,10 +3596,10 @@ class yo {
3596
3596
  const Vs = Symbol("NOTIFY_SERVICE_TOKEN");
3597
3597
  nn.install = (n) => {
3598
3598
  n.component(nn.name, nn), n.component(wn.name, wn);
3599
- const t = new yo();
3599
+ const t = new go();
3600
3600
  n.provide(Vs, t), n.provide("FNotifyService", t);
3601
3601
  };
3602
- const bo = /* @__PURE__ */ new Map([
3602
+ const yo = /* @__PURE__ */ new Map([
3603
3603
  ["appearance", kn],
3604
3604
  ["column", "columnOption"]
3605
3605
  ]);
@@ -3622,7 +3622,7 @@ function Ns(n, t, e) {
3622
3622
  const o = n.getSchemaByType("content-container");
3623
3623
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
3624
3624
  }
3625
- function wo(n, t, e) {
3625
+ function bo(n, t, e) {
3626
3626
  const r = e.parentComponentInstance.schema.type, a = r === "section" || r === "tab-page";
3627
3627
  t.appearance = { class: "f-component-grid" };
3628
3628
  const s = (a ? Ns : Bs)(n, t, e);
@@ -4408,7 +4408,7 @@ const Rs = "https://json-schema.org/draft/2020-12/schema", Ls = "https://farris-
4408
4408
  ], Gs = {
4409
4409
  onSelectionChange: "行切换事件",
4410
4410
  onClickRow: "行点击事件"
4411
- }, Co = {
4411
+ }, wo = {
4412
4412
  $schema: Rs,
4413
4413
  $id: Ls,
4414
4414
  title: Ws,
@@ -4546,7 +4546,7 @@ const Rs = "https://json-schema.org/draft/2020-12/schema", Ls = "https://farris-
4546
4546
  width: { type: Number, default: -1 },
4547
4547
  /** 启用虚拟渲染 */
4548
4548
  virtualized: { type: Boolean, default: !1 }
4549
- }, qs = Gt(In, Co, bo, wo), zs = Ii(), Ys = Ei(), _o = Object.assign({}, In, { componentId: { type: String, default: "" } }), Us = Gt(_o, Co, bo, wo), Xs = Di();
4549
+ }, qs = Gt(In, wo, yo, bo), zs = Ii(), Ys = Ei(), Co = Object.assign({}, In, { componentId: { type: String, default: "" } }), Us = Gt(Co, wo, yo, bo), Xs = Di();
4550
4550
  var ot = /* @__PURE__ */ ((n) => (n[n.readonly = 0] = "readonly", n[n.editable = 1] = "editable", n[n.editing = 2] = "editing", n))(ot || {}), vt = /* @__PURE__ */ ((n) => (n[n.initial = 0] = "initial", n[n.editing = 1] = "editing", n))(vt || {}), Ut = /* @__PURE__ */ ((n) => (n[n.data = 0] = "data", n[n.group = 1] = "group", n[n.summary = 2] = "summary", n))(Ut || {}), nt = /* @__PURE__ */ ((n) => (n[n.none = 0] = "none", n[n.filterable = 1] = "filterable", n[n.sortable = 2] = "sortable", n[n.filtered = 4] = "filtered", n[n.sorted = 8] = "sorted", n[n.ascending = 16] = "ascending", n[n.descending = 32] = "descending", n))(nt || {});
4551
4551
  function Qs(n, t) {
4552
4552
  var m;
@@ -4752,110 +4752,106 @@ function tl(n, t, e, o, r, a, i, s, l, d, c, u, f) {
4752
4752
  } = Zs(n, o, i), {
4753
4753
  treeNodeIconsClass: D
4754
4754
  } = Ks(n, M, F);
4755
- function z(Y, ne) {
4756
- const be = Y.raw[F.value];
4755
+ function z(U, re) {
4756
+ const be = U.raw[F.value];
4757
4757
  return {
4758
- "fv-tree-node-toggle": be && Y.collapse,
4759
- "fv-tree-node-toggle-minus": be && !Y.collapse
4758
+ "fv-tree-node-toggle": be && U.collapse,
4759
+ "fv-tree-node-toggle-minus": be && !U.collapse
4760
4760
  };
4761
4761
  }
4762
- function j(Y, ne) {
4763
- Y.stopPropagation(), W(ne);
4762
+ function j(U, re) {
4763
+ U.stopPropagation(), W(re);
4764
4764
  }
4765
- function A(Y) {
4766
- Y.stopPropagation();
4765
+ function A(U) {
4766
+ U.stopPropagation();
4767
4767
  }
4768
- function U(Y, ne) {
4768
+ function Y(U, re) {
4769
4769
  return I("div", {
4770
- class: z(Y),
4771
- onClick: (be) => j(be, Y),
4770
+ class: z(U),
4771
+ onClick: (be) => j(be, U),
4772
4772
  onDblclick: A
4773
4773
  }, null);
4774
4774
  }
4775
- function Z(Y, ne) {
4775
+ function Z(U, re) {
4776
4776
  return b.value && I("div", {
4777
4777
  id: "treeNodeIcons",
4778
- class: D(Y, ne)
4778
+ class: D(U, re)
4779
4779
  }, null);
4780
4780
  }
4781
- function J(Y) {
4782
- _.value ? (Y.checked ? S(Y) : T(Y), $(Y)) : h(Y);
4783
- }
4784
- function K(Y, ne) {
4785
- return O.value && I(_i, {
4786
- id: "checkbox_for_" + w(Y, ne.index),
4787
- indeterminate: Y.indeterminate,
4788
- disabled: Y.disabled,
4789
- checked: Y.checked,
4790
- "onUpdate:checked": (be) => Y.checked = be,
4791
- onChange: () => J(Y)
4781
+ function J(U) {
4782
+ _.value ? (U.checked ? S(U) : T(U), $(U)) : h(U);
4783
+ }
4784
+ function K(U, re) {
4785
+ return O.value && I(Ci, {
4786
+ id: "checkbox_for_" + w(U, re.index),
4787
+ indeterminate: U.indeterminate,
4788
+ disabled: U.disabled,
4789
+ checked: U.checked,
4790
+ "onUpdate:checked": (be) => U.checked = be,
4791
+ onChange: () => J(U)
4792
4792
  }, null);
4793
4793
  }
4794
- function fe(Y, ne) {
4794
+ function me(U, re) {
4795
4795
  return I("span", {
4796
- title: ne.data,
4797
4796
  style: "user-select:none"
4798
4797
  }, [t.slots.cellTemplate ? t.slots.cellTemplate({
4799
- cell: ne,
4800
- row: Y
4801
- }) : ne.mode === ot.editing ? ne.getEditor(ne) : ne.formatter ? ne.formatter(ne, Y) : ne.data != null ? ne.data.toString() : ne.data]);
4802
- }
4803
- function ve(Y, ne) {
4798
+ cell: re,
4799
+ row: U
4800
+ }) : re.mode === ot.editing ? re.getEditor(re) : re.formatter ? re.formatter(re, U) : re.showTips ? I(_i, null, {
4801
+ default: () => re.data,
4802
+ contentTemplate: () => re.data
4803
+ }) : re.data]);
4804
+ }
4805
+ function ve(U, re) {
4804
4806
  return I("div", {
4805
- class: q(ne)
4806
- }, [ne.showTips ? I($n, null, {
4807
- default: () => fe(Y, ne),
4808
- contentTemplate: () => fe(Y, ne)
4809
- }) : fe(Y, ne)]);
4810
- }
4811
- function xe(Y, ne, be) {
4812
- const ke = V(Y);
4807
+ class: q(re)
4808
+ }, [me(U, re)]);
4809
+ }
4810
+ function xe(U, re, be) {
4811
+ const ke = V(U);
4813
4812
  return I("div", {
4814
- ref: ne.setRef,
4815
- key: w(Y, ne.index),
4813
+ ref: re.setRef,
4814
+ key: w(U, re.index),
4816
4815
  class: "fv-grid-hierarchy-cell",
4817
- style: k(ne, be)
4816
+ style: k(re, be)
4818
4817
  }, [I("div", {
4819
- class: P(ne),
4818
+ class: P(re),
4820
4819
  style: ke
4821
- }, [U(Y), Z(Y, ne), K(Y, ne), ve(Y, ne)])]);
4820
+ }, [Y(U), Z(U, re), K(U, re), ve(U, re)])]);
4822
4821
  }
4823
- function Ve(Y, ne, be) {
4822
+ function Ve(U, re, be) {
4824
4823
  return I("div", {
4825
- ref: ne.setRef,
4826
- key: w(Y, ne.index),
4827
- class: p(ne),
4828
- style: k(ne, be),
4829
- onClick: (ke) => m(ke, ne, Y, ne.column)
4824
+ ref: re.setRef,
4825
+ key: w(U, re.index),
4826
+ class: p(re),
4827
+ style: k(re, be),
4828
+ onClick: (ke) => m(ke, re, U, re.column)
4830
4829
  }, [I("div", {
4831
- class: P(ne)
4830
+ class: P(re)
4832
4831
  }, [I("div", {
4833
- class: q(ne)
4834
- }, [ne.showTips ? I($n, null, {
4835
- default: () => fe(Y, ne),
4836
- contentTemplate: () => fe(Y, ne)
4837
- }) : fe(Y, ne)])])]);
4832
+ class: q(re)
4833
+ }, [me(U, re)])])]);
4838
4834
  }
4839
- function Re(Y, ne) {
4840
- return ne === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === Y.field || ne === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === Y.field;
4835
+ function Re(U, re) {
4836
+ return re === "left" && e.value.leftColumns.length > 0 && e.value.leftColumns[0].field === U.field || re === "primary" && e.value.primaryColumns.length > 0 && e.value.primaryColumns[0].field === U.field;
4841
4837
  }
4842
- function X(Y, ne) {
4838
+ function X(U, re) {
4843
4839
  t.emit("dblclickNode", {
4844
- $event: Y,
4845
- node: ne.raw
4840
+ $event: U,
4841
+ node: re.raw
4846
4842
  });
4847
4843
  }
4848
- function de(Y, ne, be = "primary", ke) {
4844
+ function de(U, re, be = "primary", ke) {
4849
4845
  return I("div", {
4850
- ref: Y.setRef,
4851
- key: B(Y),
4852
- class: C(Y, ke),
4853
- style: R(Y),
4854
- onMouseover: (De) => g(De, Y),
4855
- onMouseout: (De) => y(De, Y),
4856
- onClick: (De) => v(De, Y),
4857
- onDblclick: (De) => X(De, Y)
4858
- }, [Object.values(Y.data).filter((De) => ne[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(Y, De, ne) : Ve(Y, De, ne))]);
4846
+ ref: U.setRef,
4847
+ key: B(U),
4848
+ class: C(U, ke),
4849
+ style: R(U),
4850
+ onMouseover: (De) => g(De, U),
4851
+ onMouseout: (De) => y(De, U),
4852
+ onClick: (De) => v(De, U),
4853
+ onDblclick: (De) => X(De, U)
4854
+ }, [Object.values(U.data).filter((De) => re[De.field] && De.rowSpan === 1).map((De) => Re(De, be) ? xe(U, De, re) : Ve(U, De, re))]);
4859
4855
  }
4860
4856
  return {
4861
4857
  renderDataRow: de
@@ -5163,124 +5159,124 @@ function sl(n, t) {
5163
5159
  function ll(n, t, e, o) {
5164
5160
  const r = x(0), a = x(!!n.hierarchy), { idField: i } = o, { collapseField: s, hasChildrenField: l, parentIdField: d } = e, c = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map();
5165
5161
  function m(j, A) {
5166
- u.clear(), j.reduce((U, Z) => {
5162
+ u.clear(), j.reduce((Y, Z) => {
5167
5163
  const J = Z[d.value] !== void 0 ? Z[d.value] : "";
5168
5164
  if (J && A.has(J)) {
5169
- const fe = A.get(J), ve = isNaN(Number(fe.__fv_layer__)) ? 1 : Number(fe.__fv_layer__);
5170
- Z.__fv_layer__ = ve + 1, Z.__fv_parent_index__ = fe.__fv_index__, fe.__fv_hasChildren__ = !0;
5165
+ const me = A.get(J), ve = isNaN(Number(me.__fv_layer__)) ? 1 : Number(me.__fv_layer__);
5166
+ Z.__fv_layer__ = ve + 1, Z.__fv_parent_index__ = me.__fv_index__, me.__fv_hasChildren__ = !0;
5171
5167
  } else
5172
5168
  Z.__fv_layer__ = 1;
5173
- const K = U.has(J) ? U.get(J) : [];
5174
- return K.push(Z), U.set(J, K), U;
5169
+ const K = Y.has(J) ? Y.get(J) : [];
5170
+ return K.push(Z), Y.set(J, K), Y;
5175
5171
  }, u);
5176
5172
  }
5177
5173
  function p(j) {
5178
- f.clear(), j.reduce((A, U) => {
5179
- const Z = U[i.value];
5180
- return A.set(Z, U), A;
5174
+ f.clear(), j.reduce((A, Y) => {
5175
+ const Z = Y[i.value];
5176
+ return A.set(Z, Y), A;
5181
5177
  }, f);
5182
5178
  }
5183
5179
  function E(j) {
5184
5180
  j.forEach((A) => {
5185
- const U = A[i.value];
5181
+ const Y = A[i.value];
5186
5182
  A.__fv_children_index__.map((J) => j[J]).forEach((J) => {
5187
5183
  J.__fv_parents__ = new Map([
5188
5184
  ...A.__fv_parents__.entries(),
5189
- [U, !0]
5185
+ [Y, !0]
5190
5186
  ]);
5191
5187
  });
5192
5188
  });
5193
5189
  }
5194
5190
  function C(j) {
5195
5191
  j.forEach((A) => {
5196
- const U = new Set(A.__fv_children_index__);
5197
- A.__fv_children_index__ = [...U].sort((Z, J) => Z - J);
5192
+ const Y = new Set(A.__fv_children_index__);
5193
+ A.__fv_children_index__ = [...Y].sort((Z, J) => Z - J);
5198
5194
  });
5199
5195
  }
5200
5196
  function v(j) {
5201
5197
  j.forEach((A) => {
5202
- const U = A.__fv_parents__;
5203
- Array.from(U.keys()).map((Z) => f.get(Z)).forEach((Z) => {
5198
+ const Y = A.__fv_parents__;
5199
+ Array.from(Y.keys()).map((Z) => f.get(Z)).forEach((Z) => {
5204
5200
  Z.__fv_children_index__.push(A.__fv_index__);
5205
5201
  });
5206
5202
  }), C(j);
5207
5203
  }
5208
5204
  function g(j) {
5209
5205
  j.forEach((A) => {
5210
- A.__fv_child_with_lines__ = [], A.__fv_child_length__ = A.__fv_descendant_index__.length, A.__fv_descendant_index__.map((U) => j[U]).reduce((U, Z) => (U.__fv_child_length__ += Z.__fv_children_index__.length, U.__fv_child_with_lines__.push(...Z.__fv_children_index__, Z.__fv_index__), U), A);
5206
+ A.__fv_child_with_lines__ = [], A.__fv_child_length__ = A.__fv_descendant_index__.length, A.__fv_descendant_index__.map((Y) => j[Y]).reduce((Y, Z) => (Y.__fv_child_length__ += Z.__fv_children_index__.length, Y.__fv_child_with_lines__.push(...Z.__fv_children_index__, Z.__fv_index__), Y), A);
5211
5207
  });
5212
5208
  }
5213
5209
  function y(j, A) {
5214
5210
  return { id: j, index: A, parentId: "", parentIndex: -1, parents: /* @__PURE__ */ new Map(), children: /* @__PURE__ */ new Map(), descendant: /* @__PURE__ */ new Map(), collapsed: !1, visibleInHierarchy: !0 };
5215
5211
  }
5216
- function _(j, A, U) {
5212
+ function _(j, A, Y) {
5217
5213
  Array.from(A.keys()).forEach((Z) => {
5218
- A.get(Z).reduce((K, fe) => {
5219
- const ve = fe[i.value], xe = j.get(fe[i.value]), Ve = j.get(Z), Re = U.get(Z);
5214
+ A.get(Z).reduce((K, me) => {
5215
+ const ve = me[i.value], xe = j.get(me[i.value]), Ve = j.get(Z), Re = Y.get(Z);
5220
5216
  return Ve && Re && (Ve.children.set(ve, xe), Ve.children.set(ve, xe), xe.parentId = Z, xe.parentIndex = Ve.index, xe.parents.set(Z, Ve)), K;
5221
5217
  }, j);
5222
5218
  });
5223
5219
  }
5224
5220
  function S(j) {
5225
- j.children.forEach((U) => {
5226
- U.parents = new Map([
5221
+ j.children.forEach((Y) => {
5222
+ Y.parents = new Map([
5227
5223
  ...j.parents.entries(),
5228
5224
  [j.id, j]
5229
- ]), S(U);
5225
+ ]), S(Y);
5230
5226
  });
5231
5227
  }
5232
5228
  function T(j, A) {
5233
- j.filter((U) => U[d.value] === void 0 || U[d.value] === "").forEach((U) => {
5234
- const Z = U[i.value], J = A.get(Z);
5229
+ j.filter((Y) => Y[d.value] === void 0 || Y[d.value] === "").forEach((Y) => {
5230
+ const Z = Y[i.value], J = A.get(Z);
5235
5231
  S(J);
5236
5232
  });
5237
5233
  }
5238
5234
  function h(j) {
5239
5235
  Array.from(j.values()).forEach((A) => {
5240
- Array.from(A.parents.values()).forEach((U) => {
5241
- U.descendant.set(A.id, A);
5236
+ Array.from(A.parents.values()).forEach((Y) => {
5237
+ Y.descendant.set(A.id, A);
5242
5238
  });
5243
5239
  });
5244
5240
  }
5245
5241
  function M(j) {
5246
- c.clear(), j.forEach((A, U) => {
5242
+ c.clear(), j.forEach((A, Y) => {
5247
5243
  const Z = A[i.value];
5248
- c.set(Z, y(Z, U));
5244
+ c.set(Z, y(Z, Y));
5249
5245
  }), p(j), m(j, f), _(c, u, f), T(j, c), h(c);
5250
5246
  }
5251
5247
  function F(j) {
5252
- const A = j[i.value], U = c.get(A);
5253
- return U && U.children.size > 0;
5248
+ const A = j[i.value], Y = c.get(A);
5249
+ return Y && Y.children.size > 0;
5254
5250
  }
5255
5251
  function O(j) {
5256
5252
  return j[l.value] && !F(j);
5257
5253
  }
5258
5254
  function b(j) {
5259
- const A = j[i.value], U = c.get(A);
5260
- return U && U.visibleInHierarchy;
5255
+ const A = j[i.value], Y = c.get(A);
5256
+ return Y && Y.visibleInHierarchy;
5261
5257
  }
5262
5258
  function W() {
5263
5259
  r.value = Date.now();
5264
5260
  }
5265
5261
  function $(j, A) {
5266
- A.forEach((U) => {
5267
- const Z = c.get(U[i.value]), J = c.get(j), K = f.get(j);
5262
+ A.forEach((Y) => {
5263
+ const Z = c.get(Y[i.value]), J = c.get(j), K = f.get(j);
5268
5264
  J && K && (Z.visibleInHierarchy = !K[s.value] && J.visibleInHierarchy);
5269
5265
  }), W();
5270
5266
  }
5271
5267
  function w(j) {
5272
5268
  if (u.has(j)) {
5273
- const U = u.get(j);
5274
- $(j, U), U.map((Z) => Z[i.value]).forEach((Z) => w(Z));
5269
+ const Y = u.get(j);
5270
+ $(j, Y), Y.map((Z) => Z[i.value]).forEach((Z) => w(Z));
5275
5271
  }
5276
5272
  }
5277
5273
  function k(j) {
5278
5274
  const A = j[i.value];
5279
5275
  w(A);
5280
5276
  }
5281
- function B(j, A, U = 0) {
5277
+ function B(j, A, Y = 0) {
5282
5278
  j.forEach((Z) => {
5283
- const J = O(Z), K = Z.__fv_layer__ <= U, fe = A === "ToCollapse" ? Z.__fv_layer__ <= U : !(Z.__fv_layer__ <= U), ve = K ? fe : Z[s.value];
5279
+ const J = O(Z), K = Z.__fv_layer__ <= Y, me = A === "ToCollapse" ? Z.__fv_layer__ <= Y : !(Z.__fv_layer__ <= Y), ve = K ? me : Z[s.value];
5284
5280
  Z[s.value] = J || ve;
5285
5281
  });
5286
5282
  for (const [Z, J] of u.entries())
@@ -5294,48 +5290,48 @@ function ll(n, t, e, o) {
5294
5290
  B(j, "ToExpand", A);
5295
5291
  }
5296
5292
  function N(j) {
5297
- j.forEach((A, U) => {
5298
- var fe;
5299
- const Z = A[i.value], J = u.has(Z) ? (fe = u.get(Z)) == null ? void 0 : fe.map((ve) => ve.__fv_index__) : [], K = y(Z, U);
5293
+ j.forEach((A, Y) => {
5294
+ var me;
5295
+ const Z = A[i.value], J = u.has(Z) ? (me = u.get(Z)) == null ? void 0 : me.map((ve) => ve.__fv_index__) : [], K = y(Z, Y);
5300
5296
  A.__fv_graph_node__ = K, A.__fv_children_index__ = J, A.__fv_descendant_index__ = [...J], A.__fv_parents__ = /* @__PURE__ */ new Map(), O(A) && (A[s.value] = !0);
5301
5297
  });
5302
5298
  }
5303
5299
  function q(j) {
5304
5300
  var Z, J;
5305
5301
  M(t.value), N(j), E(j), v(j), n.showLines && g(j);
5306
- const U = ((Z = n.hierarchy) == null ? void 0 : Z.collapseTo) !== void 0 ? Number((J = n.hierarchy) == null ? void 0 : J.collapseTo) : 0;
5307
- return B(j, "ToCollapse", U), j;
5302
+ const Y = ((Z = n.hierarchy) == null ? void 0 : Z.collapseTo) !== void 0 ? Number((J = n.hierarchy) == null ? void 0 : J.collapseTo) : 0;
5303
+ return B(j, "ToCollapse", Y), j;
5308
5304
  }
5309
- function V(j, A, U) {
5310
- const J = U.value[j][i.value], K = c.get(J);
5305
+ function V(j, A, Y) {
5306
+ const J = Y.value[j][i.value], K = c.get(J);
5311
5307
  if (K) {
5312
- const fe = c.get(K.parentId);
5313
- let ve = U.value.length - 1;
5314
- if (fe) {
5315
- const xe = Array.from(fe.children.keys()).indexOf(K.id);
5316
- if (xe === fe.children.size - 1) {
5317
- const Re = Array.from(fe.descendant.values())[fe.descendant.size - 1];
5318
- ve = U.value.findIndex((de) => de[i.value] === Re.id) + 1;
5308
+ const me = c.get(K.parentId);
5309
+ let ve = Y.value.length - 1;
5310
+ if (me) {
5311
+ const xe = Array.from(me.children.keys()).indexOf(K.id);
5312
+ if (xe === me.children.size - 1) {
5313
+ const Re = Array.from(me.descendant.values())[me.descendant.size - 1];
5314
+ ve = Y.value.findIndex((de) => de[i.value] === Re.id) + 1;
5319
5315
  } else {
5320
- const Re = Array.from(fe.children.values())[xe + 1];
5321
- ve = U.value.findIndex((de) => de[i.value] === Re.id);
5316
+ const Re = Array.from(me.children.values())[xe + 1];
5317
+ ve = Y.value.findIndex((de) => de[i.value] === Re.id);
5322
5318
  }
5323
- A[l.value] = !1, A[d.value] = fe.id, U.value.splice(ve, 0, A);
5319
+ A[l.value] = !1, A[d.value] = me.id, Y.value.splice(ve, 0, A);
5324
5320
  }
5325
5321
  }
5326
5322
  }
5327
- function D(j, A, U) {
5328
- const Z = U.value[j], J = Z[i.value];
5323
+ function D(j, A, Y) {
5324
+ const Z = Y.value[j], J = Z[i.value];
5329
5325
  if (c.get(J)) {
5330
- const ve = U.value.findIndex((xe) => xe[i.value] === J) + 1;
5331
- Z[l.value] = !0, Z[s.value] = !1, A[l.value] = !1, A[d.value] = J, U.value.splice(ve, 0, A);
5326
+ const ve = Y.value.findIndex((xe) => xe[i.value] === J) + 1;
5327
+ Z[l.value] = !0, Z[s.value] = !1, A[l.value] = !1, A[d.value] = J, Y.value.splice(ve, 0, A);
5332
5328
  }
5333
5329
  }
5334
5330
  function z(j, A) {
5335
- const U = j[i.value], Z = c.get(U), J = Array.from(Z.descendant.keys());
5336
- J.unshift(U);
5331
+ const Y = j[i.value], Z = c.get(Y), J = Array.from(Z.descendant.keys());
5332
+ J.unshift(Y);
5337
5333
  const K = c.get(Z.parentId);
5338
- if (K && (K.children.delete(U), K.children.size === 0)) {
5334
+ if (K && (K.children.delete(Y), K.children.size === 0)) {
5339
5335
  const ve = A.find((xe) => xe[i.value] === Z.parentId);
5340
5336
  ve[l.value] = !1, ve[s.value] = !1;
5341
5337
  }
@@ -5386,80 +5382,80 @@ function ul(n, t, e, o, r) {
5386
5382
  function A() {
5387
5383
  return j.value && j.value.enable && j.value.size > 0 ? j.value.size : B.value.length;
5388
5384
  }
5389
- const U = x(1), Z = G(() => j.value && j.value.enable && j.value.mode !== "server"), J = G(() => j.value && j.value.enable && j.value.mode === "server"), K = new yo();
5390
- function fe(Q, me) {
5391
- const Ce = Math.ceil(Q.length / me);
5385
+ const Y = x(1), Z = G(() => j.value && j.value.enable && j.value.mode !== "server"), J = G(() => j.value && j.value.enable && j.value.mode === "server"), K = new go();
5386
+ function me(Q, pe) {
5387
+ const Ce = Math.ceil(Q.length / pe);
5392
5388
  let Ee = 0;
5393
- const H = [], te = [], re = [];
5389
+ const H = [], te = [], oe = [];
5394
5390
  for (; Ee < Ce; ) {
5395
- const oe = Q.slice(Ee * me, (Ee + 1) * me), we = m(p.value, oe, t);
5391
+ const ne = Q.slice(Ee * pe, (Ee + 1) * pe), we = m(p.value, ne, t);
5396
5392
  te[Ee] = we.filter((ye) => ye.__fv_data_grid_group_row__).length, H.push(...we), Ee++;
5397
5393
  }
5398
- return te.reduce((oe, we, ye) => (oe = oe + we, re.push(oe), oe), 0), {
5394
+ return te.reduce((ne, we, ye) => (ne = ne + we, oe.push(ne), ne), 0), {
5399
5395
  groupData: H,
5400
5396
  groupRowSizeList: te,
5401
- accumulateGroupRowSize: re
5397
+ accumulateGroupRowSize: oe
5402
5398
  };
5403
5399
  }
5404
5400
  function ve() {
5405
5401
  var we;
5406
5402
  B.value = C.value, Z.value && (z.value = B.value.length), E.value && !Z.value && (B.value = m(p.value, C.value, t)), D = V.value.reduce((ye, Be) => (ye.set(Be, 0), ye), D);
5407
- const Q = 0, me = A(), Ce = (U.value - 1) * me;
5408
- let H = Ce > B.value.length - 1 || J.value ? Q : Ce, te = J.value ? B.value.length : Math.min(H + me, B.value.length);
5403
+ const Q = 0, pe = A(), Ce = (Y.value - 1) * pe;
5404
+ let H = Ce > B.value.length - 1 || J.value ? Q : Ce, te = J.value ? B.value.length : Math.min(H + pe, B.value.length);
5409
5405
  if (E.value && Z.value) {
5410
- const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Se } = fe(C.value, me);
5406
+ const { accumulateGroupRowSize: ye, groupData: Be, groupRowSizeList: Se } = me(C.value, pe);
5411
5407
  B.value = Be;
5412
- const Le = Se[U.value - 1];
5413
- H += U.value - 2 < 0 ? 0 : ye[U.value - 2], te = H + me + Le;
5408
+ const Le = Se[Y.value - 1];
5409
+ H += Y.value - 2 < 0 ? 0 : ye[Y.value - 2], te = H + pe + Le;
5414
5410
  }
5415
- let re = 0;
5416
- const oe = [];
5411
+ let oe = 0;
5412
+ const ne = [];
5417
5413
  if (B.value.length) {
5418
5414
  w(B.value);
5419
5415
  const ye = $.value !== n.idField;
5420
5416
  for (let Be = H; Be < te; Be++) {
5421
5417
  const Se = B.value[Be];
5422
- Se.__fv_data_grid_group_row__ ? (re = 0, Se.__fv_data_index__ = "") : Se.__fv_data_grid_group_summary__ ? Se.__fv_data_index__ = "" : (re++, Se.__fv_data_index__ = re + (U.value - 1) * me), Se.__fv_index__ = Be, Se.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Se.__fv_disabled__ = Se[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Se[$.value] = Be), V.value.forEach((Le) => {
5418
+ Se.__fv_data_grid_group_row__ ? (oe = 0, Se.__fv_data_index__ = "") : Se.__fv_data_grid_group_summary__ ? Se.__fv_data_index__ = "" : (oe++, Se.__fv_data_index__ = oe + (Y.value - 1) * pe), Se.__fv_index__ = Be, Se.__fv_visible_index__ = Be, n.rowOption && n.rowOption.disabledField && (Se.__fv_disabled__ = Se[(we = n.rowOption) == null ? void 0 : we.disabledField]), ye && (Se[$.value] = Be), V.value.forEach((Le) => {
5423
5419
  const st = D.get(Le) || 0;
5424
5420
  D.set(Le, st + Se[Le]);
5425
- }), oe.push(Se);
5421
+ }), ne.push(Se);
5426
5422
  }
5427
5423
  }
5428
- return F.value && _(oe), R.value = [...oe], oe;
5424
+ return F.value && _(ne), R.value = [...ne], ne;
5429
5425
  }
5430
5426
  const xe = x(ve()), Ve = G(() => (W.value, xe.value.filter((Q) => F.value ? Q.__fv_visible__ !== !1 && M(Q) : Q.__fv_visible__ !== !1)));
5431
5427
  function Re() {
5432
- Ve.value.forEach((Q, me) => (Q.__fv_visible_index__ = me, Q));
5428
+ Ve.value.forEach((Q, pe) => (Q.__fv_visible_index__ = pe, Q));
5433
5429
  }
5434
- function X(Q, me, Ce = !1) {
5435
- const H = (Ce ? ve() : [...R.value]).filter((oe) => e.apply(oe)), te = Q && Q.length ? H.filter((oe) => Q.reduce((we, ye) => we && ye.filter(oe), !0)) : H, re = me && me.length ? te.sort((oe, we) => {
5436
- const ye = [...me], Be = ye.shift();
5437
- let Se = Be.compare(oe[Be.field], we[Be.field]);
5430
+ function X(Q, pe, Ce = !1) {
5431
+ const H = (Ce ? ve() : [...R.value]).filter((ne) => e.apply(ne)), te = Q && Q.length ? H.filter((ne) => Q.reduce((we, ye) => we && ye.filter(ne), !0)) : H, oe = pe && pe.length ? te.sort((ne, we) => {
5432
+ const ye = [...pe], Be = ye.shift();
5433
+ let Se = Be.compare(ne[Be.field], we[Be.field]);
5438
5434
  for (; Se === 0 && ye.length !== 0; ) {
5439
5435
  const Le = ye.shift();
5440
- Le && (Se = Le.compare(oe[Le.field], we[Le.field]));
5436
+ Le && (Se = Le.compare(ne[Le.field], we[Le.field]));
5441
5437
  }
5442
5438
  return Se;
5443
5439
  }) : te;
5444
- return xe.value = re.map((oe, we) => {
5445
- if (oe.__fv_data_grid_group_row__) {
5446
- const ye = `group_of_${oe.__fv_data_grid_group_field__}_${oe.__fv_data_grid_group_value__}`;
5447
- oe.__fv_data_grid_group_collapse__ = !!a.get(ye);
5440
+ return xe.value = oe.map((ne, we) => {
5441
+ if (ne.__fv_data_grid_group_row__) {
5442
+ const ye = `group_of_${ne.__fv_data_grid_group_field__}_${ne.__fv_data_grid_group_value__}`;
5443
+ ne.__fv_data_grid_group_collapse__ = !!a.get(ye);
5448
5444
  }
5449
- return oe.__fv_index__ = we, oe.__fv_visible_index__ = we, oe;
5445
+ return ne.__fv_index__ = we, ne.__fv_visible_index__ = we, ne;
5450
5446
  }), xe.value;
5451
5447
  }
5452
5448
  function de(Q) {
5453
- return d.clear(), u.value = Q, u.value.reduce((me, Ce) => (me.set(Ce.field, Ce), me), d), X([], u.value);
5449
+ return d.clear(), u.value = Q, u.value.reduce((pe, Ce) => (pe.set(Ce.field, Ce), pe), d), X([], u.value);
5454
5450
  }
5455
- function Y(Q, me) {
5456
- return d.set(Q, me), u.value = Array.from(d.values()), X([], u.value);
5451
+ function U(Q, pe) {
5452
+ return d.set(Q, pe), u.value = Array.from(d.values()), X([], u.value);
5457
5453
  }
5458
- function ne(Q) {
5454
+ function re(Q) {
5459
5455
  return d.delete(Q), u.value = Array.from(d.values()), X([], u.value);
5460
5456
  }
5461
- function be(Q, me) {
5462
- return i.set(Q, me), c.value = Array.from(i.values()), X([], Array.from(d.values()));
5457
+ function be(Q, pe) {
5458
+ return i.set(Q, pe), c.value = Array.from(i.values()), X([], Array.from(d.values()));
5463
5459
  }
5464
5460
  function ke(Q) {
5465
5461
  return i.delete(Q), c.value = Array.from(i.values()), X([], Array.from(d.values()), !0);
@@ -5467,15 +5463,15 @@ function ul(n, t, e, o, r) {
5467
5463
  function De() {
5468
5464
  return i.clear(), c.value = [], X([], Array.from(d.values()), !0);
5469
5465
  }
5470
- function at(Q, me) {
5471
- const Ce = `group_of_${Q}_${me}`;
5466
+ function at(Q, pe) {
5467
+ const Ce = `group_of_${Q}_${pe}`;
5472
5468
  a.set(Ce, !0);
5473
- const Ee = (H) => H[Q] !== me;
5474
- return s.set(`collapse_${Q}_${me}`, {
5469
+ const Ee = (H) => H[Q] !== pe;
5470
+ return s.set(`collapse_${Q}_${pe}`, {
5475
5471
  field: Q,
5476
5472
  fieldName: Q,
5477
5473
  fieldType: "string",
5478
- filterValue: me,
5474
+ filterValue: pe,
5479
5475
  filter: Ee
5480
5476
  }), X(Array.from(s.values()), Array.from(d.values()));
5481
5477
  }
@@ -5485,23 +5481,23 @@ function ul(n, t, e, o, r) {
5485
5481
  function ft(Q) {
5486
5482
  y(xe.value, Q);
5487
5483
  }
5488
- function ee(Q, me) {
5489
- const Ce = `group_of_${Q}_${me}`;
5490
- return a.set(Ce, !1), s.delete(`collapse_${Q}_${me}`), X(Array.from(s.values()), Array.from(d.values()), !0);
5484
+ function ee(Q, pe) {
5485
+ const Ce = `group_of_${Q}_${pe}`;
5486
+ return a.set(Ce, !1), s.delete(`collapse_${Q}_${pe}`), X(Array.from(s.values()), Array.from(d.values()), !0);
5491
5487
  }
5492
5488
  function Te(Q) {
5493
- const me = Q.raw[$.value], Ce = (Ee) => !Ee.__fv_parents__.has(me);
5494
- l.set(`fold_${me}`, {
5489
+ const pe = Q.raw[$.value], Ce = (Ee) => !Ee.__fv_parents__.has(pe);
5490
+ l.set(`fold_${pe}`, {
5495
5491
  field: "id",
5496
5492
  fieldName: "id",
5497
5493
  fieldType: "string",
5498
- filterValue: String(me),
5494
+ filterValue: String(pe),
5499
5495
  filter: Ce
5500
5496
  }), X(Array.from(l.values()), Array.from(d.values())), _(xe.value);
5501
5497
  }
5502
5498
  function Oe(Q) {
5503
- const me = Q[$.value];
5504
- l.delete(`fold_${me}`);
5499
+ const pe = Q[$.value];
5500
+ l.delete(`fold_${pe}`);
5505
5501
  }
5506
5502
  function Ge(Q) {
5507
5503
  Oe(Q.raw), X(Array.from(l.values()), Array.from(d.values()), !0), _(xe.value);
@@ -5514,12 +5510,12 @@ function ul(n, t, e, o, r) {
5514
5510
  const Ce = n.hierarchy && Q && Q.length && Q[0].children ? N(Q) : Q;
5515
5511
  C.value = Ce, Ne();
5516
5512
  }
5517
- function wt(Q, me, Ce) {
5518
- return (Q && Q.length ? xe.value.filter((H, te) => Q.reduce((re, oe) => re && oe.filter(H), !0)) : xe.value).slice(me, Ce);
5513
+ function wt(Q, pe, Ce) {
5514
+ return (Q && Q.length ? xe.value.filter((H, te) => Q.reduce((oe, ne) => oe && ne.filter(H), !0)) : xe.value).slice(pe, Ce);
5519
5515
  }
5520
5516
  function Tt(Q) {
5521
- const me = A(), Ce = Math.ceil(z.value / me);
5522
- 0 <= Q && Q <= Ce && (U.value = Q, Ne());
5517
+ const pe = A(), Ce = Math.ceil(z.value / pe);
5518
+ 0 <= Q && Q <= Ce && (Y.value = Q, Ne());
5523
5519
  }
5524
5520
  function pt(Q) {
5525
5521
  C.value.push(Et(Q)), xe.value = ve();
@@ -5537,32 +5533,32 @@ function ul(n, t, e, o, r) {
5537
5533
  Oe(Ee), h(Q, Ce, C), Ne();
5538
5534
  }
5539
5535
  function Ct(Q) {
5540
- const me = Q ? Q - 1 : 0;
5541
- C.value.splice(me, 1), Ne();
5536
+ const pe = Q ? Q - 1 : 0;
5537
+ C.value.splice(pe, 1), Ne();
5542
5538
  }
5543
5539
  function Dt(Q) {
5544
- const me = C.value.findIndex((Ce) => Ce[$.value] === Q);
5545
- me !== -1 && (C.value.splice(me, 1), Ne());
5540
+ const pe = C.value.findIndex((Ce) => Ce[$.value] === Q);
5541
+ pe !== -1 && (C.value.splice(pe, 1), Ne());
5546
5542
  }
5547
5543
  function St(Q) {
5548
- const me = Q > -1 ? C.value[Q] : null;
5549
- if (!(me && me.deletable !== !1))
5544
+ const pe = Q > -1 ? C.value[Q] : null;
5545
+ if (!(pe && pe.deletable !== !1))
5550
5546
  return !1;
5551
- C.value = b(me, C.value), Ne();
5547
+ C.value = b(pe, C.value), Ne();
5552
5548
  }
5553
5549
  function ae() {
5554
5550
  const Q = s.size > 0 ? Array.from(s.values()) : [];
5555
5551
  return X(Q, Array.from(d.values()));
5556
5552
  }
5557
- function pe(Q) {
5553
+ function fe(Q) {
5558
5554
  j.value.size = Q;
5559
5555
  }
5560
5556
  function ge(Q) {
5561
- j.value && (pe(Q), Ne());
5557
+ j.value && (fe(Q), Ne());
5562
5558
  }
5563
- function Pe(Q, me) {
5559
+ function Pe(Q, pe) {
5564
5560
  const Ce = C.value[Number(Q) - 1];
5565
- Ce.editable !== !1 ? (Ce.name = me, Ne()) : K.show({
5561
+ Ce.editable !== !1 ? (Ce.name = pe, Ne()) : K.show({
5566
5562
  showCloseButton: !1,
5567
5563
  timeout: 3e3,
5568
5564
  animate: "fadeIn",
@@ -5578,8 +5574,8 @@ function ul(n, t, e, o, r) {
5578
5574
  return {
5579
5575
  addFilter: be,
5580
5576
  addNewDataItem: pt,
5581
- addSorter: Y,
5582
- updatePageSize: pe,
5577
+ addSorter: U,
5578
+ updatePageSize: fe,
5583
5579
  changePageSizeTo: ge,
5584
5580
  collapse: at,
5585
5581
  collapseTo: bt,
@@ -5597,7 +5593,7 @@ function ul(n, t, e, o, r) {
5597
5593
  isVisibleInTree: M,
5598
5594
  load: lt,
5599
5595
  navigatePageTo: Tt,
5600
- pageIndex: U,
5596
+ pageIndex: Y,
5601
5597
  rawView: R,
5602
5598
  refresh: ae,
5603
5599
  removeAllFilter: De,
@@ -5605,7 +5601,7 @@ function ul(n, t, e, o, r) {
5605
5601
  removeDataItemById: Dt,
5606
5602
  removeFilter: ke,
5607
5603
  removeHierarchyDataItem: St,
5608
- removeSorter: ne,
5604
+ removeSorter: re,
5609
5605
  reOrderVisibleIndex: Re,
5610
5606
  setSorters: de,
5611
5607
  sorters: u,
@@ -5617,7 +5613,7 @@ function ul(n, t, e, o, r) {
5617
5613
  visibleDataItems: Ve
5618
5614
  };
5619
5615
  }
5620
- const xo = {
5616
+ const _o = {
5621
5617
  conditions: { type: Array, default: [] },
5622
5618
  fields: { type: Array, default: [] },
5623
5619
  key: { type: String, default: "" },
@@ -5626,7 +5622,7 @@ const xo = {
5626
5622
  */
5627
5623
  isControlInline: { type: Boolean, default: !0 }
5628
5624
  };
5629
- class To {
5625
+ class xo {
5630
5626
  constructor(t = { value: [] }) {
5631
5627
  L(this, "editorType", "check-box");
5632
5628
  L(this, "value");
@@ -5650,7 +5646,7 @@ class To {
5650
5646
  return this.value.length === 0;
5651
5647
  }
5652
5648
  }
5653
- class Fo {
5649
+ class To {
5654
5650
  constructor(t = { textValue: "", value: "", valueField: "" }) {
5655
5651
  L(this, "editorType", "combo-lookup");
5656
5652
  L(this, "textValue");
@@ -5694,11 +5690,11 @@ function Ue(n) {
5694
5690
  function $e(n, t) {
5695
5691
  return n instanceof Date ? new n.constructor(t) : new Date(t);
5696
5692
  }
5697
- function So(n, t) {
5693
+ function Fo(n, t) {
5698
5694
  const e = Ue(n);
5699
5695
  return isNaN(t) ? $e(n, NaN) : (t && e.setDate(e.getDate() + t), e);
5700
5696
  }
5701
- const ko = 6048e5, cl = 864e5, dl = 6e4, fl = 36e5, pl = 1e3;
5697
+ const So = 6048e5, cl = 864e5, dl = 6e4, fl = 36e5, pl = 1e3;
5702
5698
  let ml = {};
5703
5699
  function qt() {
5704
5700
  return ml;
@@ -5711,7 +5707,7 @@ function It(n, t) {
5711
5707
  function Ht(n) {
5712
5708
  return It(n, { weekStartsOn: 1 });
5713
5709
  }
5714
- function Mo(n) {
5710
+ function ko(n) {
5715
5711
  const t = Ue(n), e = t.getFullYear(), o = $e(n, 0);
5716
5712
  o.setFullYear(e + 1, 0, 4), o.setHours(0, 0, 0, 0);
5717
5713
  const r = Ht(o), a = $e(n, 0);
@@ -5719,7 +5715,7 @@ function Mo(n) {
5719
5715
  const i = Ht(a);
5720
5716
  return t.getTime() >= r.getTime() ? e + 1 : t.getTime() >= i.getTime() ? e : e - 1;
5721
5717
  }
5722
- function zn(n) {
5718
+ function qn(n) {
5723
5719
  const t = Ue(n);
5724
5720
  return t.setHours(0, 0, 0, 0), t;
5725
5721
  }
@@ -5738,11 +5734,11 @@ function rn(n) {
5738
5734
  return e.setUTCFullYear(t.getFullYear()), +n - +e;
5739
5735
  }
5740
5736
  function hl(n, t) {
5741
- const e = zn(n), o = zn(t), r = +e - rn(e), a = +o - rn(o);
5737
+ const e = qn(n), o = qn(t), r = +e - rn(e), a = +o - rn(o);
5742
5738
  return Math.round((r - a) / cl);
5743
5739
  }
5744
5740
  function vl(n) {
5745
- const t = Mo(n), e = $e(n, 0);
5741
+ const t = ko(n), e = $e(n, 0);
5746
5742
  return e.setFullYear(t, 0, 4), e.setHours(0, 0, 0, 0), Ht(e);
5747
5743
  }
5748
5744
  function gl(n) {
@@ -6177,7 +6173,7 @@ const Wl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, jl = {
6177
6173
  parsePatterns: Ql,
6178
6174
  defaultParseWidth: "any"
6179
6175
  })
6180
- }, Eo = {
6176
+ }, Mo = {
6181
6177
  code: "en-US",
6182
6178
  formatDistance: Cl,
6183
6179
  formatLong: Fl,
@@ -6193,9 +6189,9 @@ function Kl(n) {
6193
6189
  const t = Ue(n);
6194
6190
  return hl(t, bl(t)) + 1;
6195
6191
  }
6196
- function Io(n) {
6192
+ function Eo(n) {
6197
6193
  const t = Ue(n), e = +Ht(t) - +vl(t);
6198
- return Math.round(e / ko) + 1;
6194
+ return Math.round(e / So) + 1;
6199
6195
  }
6200
6196
  function On(n, t) {
6201
6197
  var c, u, f, m;
@@ -6211,9 +6207,9 @@ function Jl(n, t) {
6211
6207
  const e = qt(), o = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((l = (s = t == null ? void 0 : t.locale) == null ? void 0 : s.options) == null ? void 0 : l.firstWeekContainsDate) ?? e.firstWeekContainsDate ?? ((c = (d = e.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, r = On(n, t), a = $e(n, 0);
6212
6208
  return a.setFullYear(r, 0, o), a.setHours(0, 0, 0, 0), It(a, t);
6213
6209
  }
6214
- function Oo(n, t) {
6210
+ function Io(n, t) {
6215
6211
  const e = Ue(n), o = +It(e, t) - +Jl(e, t);
6216
- return Math.round(o / ko) + 1;
6212
+ return Math.round(o / So) + 1;
6217
6213
  }
6218
6214
  function Ie(n, t) {
6219
6215
  const e = n < 0 ? "-" : "", o = Math.abs(n).toString().padStart(t, "0");
@@ -6282,7 +6278,7 @@ const Mt = {
6282
6278
  afternoon: "afternoon",
6283
6279
  evening: "evening",
6284
6280
  night: "night"
6285
- }, Yn = {
6281
+ }, zn = {
6286
6282
  // Era
6287
6283
  G: function(n, t, e) {
6288
6284
  const o = n.getFullYear() > 0 ? 1 : 0;
@@ -6317,7 +6313,7 @@ const Mt = {
6317
6313
  },
6318
6314
  // ISO week-numbering year
6319
6315
  R: function(n, t) {
6320
- const e = Mo(n);
6316
+ const e = ko(n);
6321
6317
  return Ie(e, t.length);
6322
6318
  },
6323
6319
  // Extended year. This is a single number designating the year of this calendar system.
@@ -6440,12 +6436,12 @@ const Mt = {
6440
6436
  },
6441
6437
  // Local week of year
6442
6438
  w: function(n, t, e, o) {
6443
- const r = Oo(n, o);
6439
+ const r = Io(n, o);
6444
6440
  return t === "wo" ? e.ordinalNumber(r, { unit: "week" }) : Ie(r, t.length);
6445
6441
  },
6446
6442
  // ISO week of year
6447
6443
  I: function(n, t, e) {
6448
- const o = Io(n);
6444
+ const o = Eo(n);
6449
6445
  return t === "Io" ? e.ordinalNumber(o, { unit: "week" }) : Ie(o, t.length);
6450
6446
  },
6451
6447
  // Day of the month
@@ -6708,7 +6704,7 @@ const Mt = {
6708
6704
  return "Z";
6709
6705
  switch (t) {
6710
6706
  case "X":
6711
- return Xn(o);
6707
+ return Un(o);
6712
6708
  case "XXXX":
6713
6709
  case "XX":
6714
6710
  return Rt(o);
@@ -6723,7 +6719,7 @@ const Mt = {
6723
6719
  const o = n.getTimezoneOffset();
6724
6720
  switch (t) {
6725
6721
  case "x":
6726
- return Xn(o);
6722
+ return Un(o);
6727
6723
  case "xxxx":
6728
6724
  case "xx":
6729
6725
  return Rt(o);
@@ -6740,7 +6736,7 @@ const Mt = {
6740
6736
  case "O":
6741
6737
  case "OO":
6742
6738
  case "OOO":
6743
- return "GMT" + Un(o, ":");
6739
+ return "GMT" + Yn(o, ":");
6744
6740
  case "OOOO":
6745
6741
  default:
6746
6742
  return "GMT" + Rt(o, ":");
@@ -6753,7 +6749,7 @@ const Mt = {
6753
6749
  case "z":
6754
6750
  case "zz":
6755
6751
  case "zzz":
6756
- return "GMT" + Un(o, ":");
6752
+ return "GMT" + Yn(o, ":");
6757
6753
  case "zzzz":
6758
6754
  default:
6759
6755
  return "GMT" + Rt(o, ":");
@@ -6770,18 +6766,18 @@ const Mt = {
6770
6766
  return Ie(o, t.length);
6771
6767
  }
6772
6768
  };
6773
- function Un(n, t = "") {
6769
+ function Yn(n, t = "") {
6774
6770
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Math.trunc(o / 60), a = o % 60;
6775
6771
  return a === 0 ? e + String(r) : e + String(r) + t + Ie(a, 2);
6776
6772
  }
6777
- function Xn(n, t) {
6773
+ function Un(n, t) {
6778
6774
  return n % 60 === 0 ? (n > 0 ? "-" : "+") + Ie(Math.abs(n) / 60, 2) : Rt(n, t);
6779
6775
  }
6780
6776
  function Rt(n, t = "") {
6781
6777
  const e = n > 0 ? "-" : "+", o = Math.abs(n), r = Ie(Math.trunc(o / 60), 2), a = Ie(o % 60, 2);
6782
6778
  return e + r + t + a;
6783
6779
  }
6784
- const Qn = (n, t) => {
6780
+ const Xn = (n, t) => {
6785
6781
  switch (n) {
6786
6782
  case "P":
6787
6783
  return t.date({ width: "short" });
@@ -6793,7 +6789,7 @@ const Qn = (n, t) => {
6793
6789
  default:
6794
6790
  return t.date({ width: "full" });
6795
6791
  }
6796
- }, Do = (n, t) => {
6792
+ }, Oo = (n, t) => {
6797
6793
  switch (n) {
6798
6794
  case "p":
6799
6795
  return t.time({ width: "short" });
@@ -6808,7 +6804,7 @@ const Qn = (n, t) => {
6808
6804
  }, eu = (n, t) => {
6809
6805
  const e = n.match(/(P+)(p+)?/) || [], o = e[1], r = e[2];
6810
6806
  if (!r)
6811
- return Qn(n, t);
6807
+ return Xn(n, t);
6812
6808
  let a;
6813
6809
  switch (o) {
6814
6810
  case "P":
@@ -6825,15 +6821,15 @@ const Qn = (n, t) => {
6825
6821
  a = t.dateTime({ width: "full" });
6826
6822
  break;
6827
6823
  }
6828
- return a.replace("{{date}}", Qn(o, t)).replace("{{time}}", Do(r, t));
6824
+ return a.replace("{{date}}", Xn(o, t)).replace("{{time}}", Oo(r, t));
6829
6825
  }, Cn = {
6830
- p: Do,
6826
+ p: Oo,
6831
6827
  P: eu
6832
6828
  }, tu = /^D+$/, nu = /^Y+$/, ou = ["D", "DD", "YY", "YYYY"];
6833
- function Vo(n) {
6829
+ function Do(n) {
6834
6830
  return tu.test(n);
6835
6831
  }
6836
- function Po(n) {
6832
+ function Vo(n) {
6837
6833
  return nu.test(n);
6838
6834
  }
6839
6835
  function _n(n, t, e) {
@@ -6845,9 +6841,9 @@ function ru(n, t, e) {
6845
6841
  return `Use \`${n.toLowerCase()}\` instead of \`${n}\` (in \`${t}\`) for formatting ${o} to the input \`${e}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
6846
6842
  }
6847
6843
  const au = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, iu = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, su = /^'([^]*?)'?$/, lu = /''/g, uu = /[a-zA-Z]/;
6848
- function Bo(n, t, e) {
6844
+ function Po(n, t, e) {
6849
6845
  var c, u, f, m;
6850
- const o = qt(), r = o.locale ?? Eo, a = o.firstWeekContainsDate ?? ((u = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((m = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ue(n);
6846
+ const o = qt(), r = o.locale ?? Mo, a = o.firstWeekContainsDate ?? ((u = (c = o.locale) == null ? void 0 : c.options) == null ? void 0 : u.firstWeekContainsDate) ?? 1, i = o.weekStartsOn ?? ((m = (f = o.locale) == null ? void 0 : f.options) == null ? void 0 : m.weekStartsOn) ?? 0, s = Ue(n);
6851
6847
  if (!yl(s))
6852
6848
  throw new RangeError("Invalid time value");
6853
6849
  let l = t.match(iu).map((p) => {
@@ -6863,7 +6859,7 @@ function Bo(n, t, e) {
6863
6859
  const E = p[0];
6864
6860
  if (E === "'")
6865
6861
  return { isToken: !1, value: cu(p) };
6866
- if (Yn[E])
6862
+ if (zn[E])
6867
6863
  return { isToken: !0, value: p };
6868
6864
  if (E.match(uu))
6869
6865
  throw new RangeError(
@@ -6880,8 +6876,8 @@ function Bo(n, t, e) {
6880
6876
  return l.map((p) => {
6881
6877
  if (!p.isToken) return p.value;
6882
6878
  const E = p.value;
6883
- (Po(E) || Vo(E)) && _n(E, t, String(n));
6884
- const C = Yn[E[0]];
6879
+ (Vo(E) || Do(E)) && _n(E, t, String(n));
6880
+ const C = zn[E[0]];
6885
6881
  return C(s, E, r.localize, d);
6886
6882
  }).join("");
6887
6883
  }
@@ -6910,7 +6906,7 @@ function pu(n, t) {
6910
6906
  ), e;
6911
6907
  }
6912
6908
  const mu = 10;
6913
- class No {
6909
+ class Bo {
6914
6910
  constructor() {
6915
6911
  L(this, "subPriority", 0);
6916
6912
  }
@@ -6918,7 +6914,7 @@ class No {
6918
6914
  return !0;
6919
6915
  }
6920
6916
  }
6921
- class hu extends No {
6917
+ class hu extends Bo {
6922
6918
  constructor(t, e, o, r, a) {
6923
6919
  super(), this.value = t, this.validateValue = e, this.setValue = o, this.priority = r, a && (this.subPriority = a);
6924
6920
  }
@@ -6929,7 +6925,7 @@ class hu extends No {
6929
6925
  return this.setValue(t, e, this.value, o);
6930
6926
  }
6931
6927
  }
6932
- class vu extends No {
6928
+ class vu extends Bo {
6933
6929
  constructor() {
6934
6930
  super(...arguments);
6935
6931
  L(this, "priority", mu);
@@ -7053,7 +7049,7 @@ function ht(n, t) {
7053
7049
  rest: t.slice(e[0].length)
7054
7050
  };
7055
7051
  }
7056
- function Ro(n) {
7052
+ function No(n) {
7057
7053
  return We(Ae.anyDigitsSigned, n);
7058
7054
  }
7059
7055
  function je(n, t) {
@@ -7101,7 +7097,7 @@ function Dn(n) {
7101
7097
  return 0;
7102
7098
  }
7103
7099
  }
7104
- function Lo(n, t) {
7100
+ function Ro(n, t) {
7105
7101
  const e = t > 0, o = e ? t : 1 - t;
7106
7102
  let r;
7107
7103
  if (o <= 50)
@@ -7112,7 +7108,7 @@ function Lo(n, t) {
7112
7108
  }
7113
7109
  return e ? r : 1 - r;
7114
7110
  }
7115
- function Wo(n) {
7111
+ function Lo(n) {
7116
7112
  return n % 400 === 0 || n % 4 === 0 && n % 100 !== 0;
7117
7113
  }
7118
7114
  class yu extends Me {
@@ -7146,7 +7142,7 @@ class yu extends Me {
7146
7142
  set(e, o, r) {
7147
7143
  const a = e.getFullYear();
7148
7144
  if (r.isTwoDigitYear) {
7149
- const s = Lo(
7145
+ const s = Ro(
7150
7146
  r.year,
7151
7147
  a
7152
7148
  );
@@ -7201,7 +7197,7 @@ class bu extends Me {
7201
7197
  set(e, o, r, a) {
7202
7198
  const i = On(e, a);
7203
7199
  if (r.isTwoDigitYear) {
7204
- const l = Lo(
7200
+ const l = Ro(
7205
7201
  r.year,
7206
7202
  i
7207
7203
  );
@@ -7507,7 +7503,7 @@ class Fu extends Me {
7507
7503
  }
7508
7504
  }
7509
7505
  function Su(n, t, e) {
7510
- const o = Ue(n), r = Oo(o, e) - t;
7506
+ const o = Ue(n), r = Io(o, e) - t;
7511
7507
  return o.setDate(o.getDate() - r * 7), o;
7512
7508
  }
7513
7509
  class ku extends Me {
@@ -7548,7 +7544,7 @@ class ku extends Me {
7548
7544
  }
7549
7545
  }
7550
7546
  function Mu(n, t) {
7551
- const e = Ue(n), o = Io(e) - t;
7547
+ const e = Ue(n), o = Eo(e) - t;
7552
7548
  return e.setDate(e.getDate() - o * 7), e;
7553
7549
  }
7554
7550
  class Eu extends Me {
@@ -7634,7 +7630,7 @@ class Du extends Me {
7634
7630
  }
7635
7631
  }
7636
7632
  validate(e, o) {
7637
- const r = e.getFullYear(), a = Wo(r), i = e.getMonth();
7633
+ const r = e.getFullYear(), a = Lo(r), i = e.getMonth();
7638
7634
  return a ? o >= 1 && o <= Ou[i] : o >= 1 && o <= Iu[i];
7639
7635
  }
7640
7636
  set(e, o, r) {
@@ -7677,7 +7673,7 @@ class Vu extends Me {
7677
7673
  }
7678
7674
  validate(e, o) {
7679
7675
  const r = e.getFullYear();
7680
- return Wo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
7676
+ return Lo(r) ? o >= 1 && o <= 366 : o >= 1 && o <= 365;
7681
7677
  }
7682
7678
  set(e, o, r) {
7683
7679
  return e.setMonth(0, r), e.setHours(0, 0, 0, 0), e;
@@ -7686,7 +7682,7 @@ class Vu extends Me {
7686
7682
  function Vn(n, t, e) {
7687
7683
  var u, f, m, p;
7688
7684
  const o = qt(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((f = (u = e == null ? void 0 : e.locale) == null ? void 0 : u.options) == null ? void 0 : f.weekStartsOn) ?? o.weekStartsOn ?? ((p = (m = o.locale) == null ? void 0 : m.options) == null ? void 0 : p.weekStartsOn) ?? 0, a = Ue(n), i = a.getDay(), l = (t % 7 + 7) % 7, d = 7 - r, c = t < 0 || t > 6 ? t - (i + d) % 7 : (l + d) % 7 - (i + d) % 7;
7689
- return So(a, c);
7685
+ return Fo(a, c);
7690
7686
  }
7691
7687
  class Pu extends Me {
7692
7688
  constructor() {
@@ -7857,7 +7853,7 @@ class Nu extends Me {
7857
7853
  }
7858
7854
  function Ru(n, t) {
7859
7855
  const e = Ue(n), o = fu(e), r = t - o;
7860
- return So(e, r);
7856
+ return Fo(e, r);
7861
7857
  }
7862
7858
  class Lu extends Me {
7863
7859
  constructor() {
@@ -8307,7 +8303,7 @@ class Zu extends Me {
8307
8303
  L(this, "incompatibleTokens", "*");
8308
8304
  }
8309
8305
  parse(e) {
8310
- return Ro(e);
8306
+ return No(e);
8311
8307
  }
8312
8308
  set(e, o, r) {
8313
8309
  return [$e(e, r * 1e3), { timestampIsSet: !0 }];
@@ -8320,7 +8316,7 @@ class Ku extends Me {
8320
8316
  L(this, "incompatibleTokens", "*");
8321
8317
  }
8322
8318
  parse(e) {
8323
- return Ro(e);
8319
+ return No(e);
8324
8320
  }
8325
8321
  set(e, o, r) {
8326
8322
  return [$e(e, r), { timestampIsSet: !0 }];
@@ -8359,9 +8355,9 @@ const Ju = {
8359
8355
  t: new Zu(),
8360
8356
  T: new Ku()
8361
8357
  }, ec = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, tc = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, nc = /^'([^]*?)'?$/, oc = /''/g, rc = /\S/, ac = /[a-zA-Z]/;
8362
- function $o(n, t, e, o) {
8358
+ function Wo(n, t, e, o) {
8363
8359
  var E, C, v, g;
8364
- const r = du(), a = r.locale ?? Eo, i = r.firstWeekContainsDate ?? ((C = (E = r.locale) == null ? void 0 : E.options) == null ? void 0 : C.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((g = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : g.weekStartsOn) ?? 0;
8360
+ const r = du(), a = r.locale ?? Mo, i = r.firstWeekContainsDate ?? ((C = (E = r.locale) == null ? void 0 : E.options) == null ? void 0 : C.firstWeekContainsDate) ?? 1, s = r.weekStartsOn ?? ((g = (v = r.locale) == null ? void 0 : v.options) == null ? void 0 : g.weekStartsOn) ?? 0;
8365
8361
  if (t === "")
8366
8362
  return n === "" ? Ue(e) : $e(e, NaN);
8367
8363
  const l = {
@@ -8377,7 +8373,7 @@ function $o(n, t, e, o) {
8377
8373
  return y;
8378
8374
  }).join("").match(ec), u = [];
8379
8375
  for (let y of c) {
8380
- Po(y) && _n(y, t, n), Vo(y) && _n(y, t, n);
8376
+ Vo(y) && _n(y, t, n), Do(y) && _n(y, t, n);
8381
8377
  const _ = y[0], S = Ju[_];
8382
8378
  if (S) {
8383
8379
  const { incompatibleTokens: T } = S;
@@ -8434,7 +8430,7 @@ function $o(n, t, e, o) {
8434
8430
  function ic(n) {
8435
8431
  return n.match(nc)[1].replace(oc, "'");
8436
8432
  }
8437
- class jo {
8433
+ class $o {
8438
8434
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
8439
8435
  L(this, "editorType", "date-picker");
8440
8436
  L(this, "value");
@@ -8451,8 +8447,8 @@ class jo {
8451
8447
  }
8452
8448
  getDisplayText() {
8453
8449
  if (typeof this.value == "string" && this.value) {
8454
- const t = $o(this.value, this.valueFormat, /* @__PURE__ */ new Date());
8455
- return Bo(t, this.displayFormat);
8450
+ const t = Wo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
8451
+ return Po(t, this.displayFormat);
8456
8452
  }
8457
8453
  return this.getValue();
8458
8454
  }
@@ -8487,7 +8483,7 @@ class sn {
8487
8483
  return !this.begin || !this.end;
8488
8484
  }
8489
8485
  }
8490
- class Ao {
8486
+ class jo {
8491
8487
  constructor(t = { value: "", displayFormat: "", valueFormat: "" }) {
8492
8488
  L(this, "editorType", "datetime-picker");
8493
8489
  L(this, "value");
@@ -8504,8 +8500,8 @@ class Ao {
8504
8500
  }
8505
8501
  getDisplayText() {
8506
8502
  if (typeof this.value == "string" && this.value) {
8507
- const t = $o(this.value, this.valueFormat, /* @__PURE__ */ new Date());
8508
- return Bo(t, this.displayFormat);
8503
+ const t = Wo(this.value, this.valueFormat, /* @__PURE__ */ new Date());
8504
+ return Po(t, this.displayFormat);
8509
8505
  }
8510
8506
  return this.getValue();
8511
8507
  }
@@ -8516,7 +8512,7 @@ class Ao {
8516
8512
  return !this.value;
8517
8513
  }
8518
8514
  }
8519
- class Ho {
8515
+ class Ao {
8520
8516
  constructor(t = { value: "", valueList: [] }) {
8521
8517
  L(this, "editorType", "combo-list");
8522
8518
  L(this, "value");
@@ -8601,7 +8597,7 @@ class sc {
8601
8597
  return !this.displayText && !this.value.length;
8602
8598
  }
8603
8599
  }
8604
- class Go {
8600
+ class Ho {
8605
8601
  constructor(t = { mapFields: [], value: "", valueField: "", isInputText: !1, helpId: "" }) {
8606
8602
  L(this, "editorType", "lookup");
8607
8603
  L(this, "helpId");
@@ -8629,7 +8625,7 @@ class Go {
8629
8625
  return !this.mapFields.length;
8630
8626
  }
8631
8627
  }
8632
- class qo {
8628
+ class Go {
8633
8629
  constructor(t = { value: "" }) {
8634
8630
  L(this, "editorType", "month-picker");
8635
8631
  L(this, "value");
@@ -8652,7 +8648,7 @@ class qo {
8652
8648
  return !this.value;
8653
8649
  }
8654
8650
  }
8655
- class zo {
8651
+ class qo {
8656
8652
  constructor(t = { begin: "", end: "" }) {
8657
8653
  L(this, "editorType", "month-range");
8658
8654
  L(this, "begin");
@@ -8676,7 +8672,7 @@ class zo {
8676
8672
  return !this.begin || !this.end;
8677
8673
  }
8678
8674
  }
8679
- class Yo {
8675
+ class zo {
8680
8676
  constructor(t = { begin: null, end: null }) {
8681
8677
  L(this, "editorType", "number-range");
8682
8678
  L(this, "begin");
@@ -8703,7 +8699,7 @@ class Yo {
8703
8699
  return this.begin == null && this.end == null;
8704
8700
  }
8705
8701
  }
8706
- class Uo {
8702
+ class Yo {
8707
8703
  constructor(t = { value: "" }) {
8708
8704
  L(this, "editorType", "number-spinner");
8709
8705
  L(this, "value");
@@ -8727,7 +8723,7 @@ class Uo {
8727
8723
  return this.value == null || isNaN(this.value);
8728
8724
  }
8729
8725
  }
8730
- class Xo {
8726
+ class Uo {
8731
8727
  constructor(t = { value: null, valueList: [] }) {
8732
8728
  L(this, "editorType", "radio-group");
8733
8729
  L(this, "value");
@@ -8775,45 +8771,45 @@ class ln {
8775
8771
  return !this.value;
8776
8772
  }
8777
8773
  }
8778
- function Qo() {
8774
+ function Xo() {
8779
8775
  function n(t, e) {
8780
8776
  switch (t) {
8781
8777
  case "check-box":
8782
- return new To(e);
8778
+ return new xo(e);
8783
8779
  case "combo-list":
8784
- return new Ho(e);
8780
+ return new Ao(e);
8785
8781
  case "combo-lookup":
8786
- return new Fo(e);
8782
+ return new To(e);
8787
8783
  case "input-group":
8788
8784
  return new sc(e);
8789
8785
  case "date-picker":
8790
- return new jo(e);
8786
+ return new $o(e);
8791
8787
  case "date-range":
8792
8788
  return new sn(e);
8793
8789
  case "datetime-picker":
8794
- return new Ao(e);
8790
+ return new jo(e);
8795
8791
  case "datetime-range":
8796
8792
  return new sn(e);
8797
8793
  case "lookup":
8798
- return new Go(e);
8794
+ return new Ho(e);
8799
8795
  case "month-picker":
8800
- return new qo(e);
8796
+ return new Go(e);
8801
8797
  case "month-range":
8802
- return new zo(e);
8798
+ return new qo(e);
8803
8799
  case "number-range":
8804
- return new Yo(e);
8800
+ return new zo(e);
8805
8801
  case "number-spinner":
8806
- return new Uo(e);
8802
+ return new Yo(e);
8807
8803
  case "radio-group":
8808
- return new Xo(e);
8804
+ return new Uo(e);
8809
8805
  default:
8810
8806
  return new ln(e);
8811
8807
  }
8812
8808
  }
8813
8809
  return { createConditionValue: n };
8814
8810
  }
8815
- function Zo(n, t) {
8816
- const e = x(n.fields), o = x([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = Qo();
8811
+ function Qo(n, t) {
8812
+ const e = x(n.fields), o = x([]), r = /* @__PURE__ */ new Map(), { createConditionValue: a } = Xo();
8817
8813
  function i(c) {
8818
8814
  switch (c.editor ? c.editor.type : "input-group") {
8819
8815
  case "date-range":
@@ -8875,14 +8871,14 @@ function lc(n, t, e) {
8875
8871
  resizeObserver: o
8876
8872
  };
8877
8873
  }
8878
- const Zn = /* @__PURE__ */ qe({
8874
+ const Qn = /* @__PURE__ */ qe({
8879
8875
  name: "FConditionFields",
8880
- props: xo,
8876
+ props: _o,
8881
8877
  emits: ["valueChange", "blur", "focus", "click", "input"],
8882
8878
  setup(n, t) {
8883
8879
  const e = x(), o = x(n.key);
8884
8880
  x(n.isControlInline);
8885
- const r = x(n.conditions), a = Zo(n), {
8881
+ const r = x(n.conditions), a = Qo(n), {
8886
8882
  initialConditionValue: i,
8887
8883
  fieldMap: s,
8888
8884
  loadFieldConfigs: l
@@ -8890,7 +8886,7 @@ const Zn = /* @__PURE__ */ qe({
8890
8886
  conditionClass: c,
8891
8887
  resizeObserver: u
8892
8888
  } = d;
8893
- l(!0), i(r.value), eo(() => {
8889
+ l(!0), i(r.value), Jn(() => {
8894
8890
  var C;
8895
8891
  (C = u.value) == null || C.unobserve(e.value);
8896
8892
  }), Fe(() => n.conditions, () => {
@@ -8924,7 +8920,7 @@ const Zn = /* @__PURE__ */ qe({
8924
8920
  C.value.end = b, p(C, b);
8925
8921
  }, y = !1);
8926
8922
  let _ = ((O = v == null ? void 0 : v.appearance) == null ? void 0 : O.class) || m.value;
8927
- return v != null && v.multiLineLabel && (_ = _ + " farris-group-multi-label"), I(Ar, {
8923
+ return v != null && v.multiLineLabel && (_ = _ + " farris-group-multi-label"), I(jr, {
8928
8924
  id: g,
8929
8925
  key: g,
8930
8926
  customClass: _,
@@ -9015,7 +9011,7 @@ function dc(n, t, e) {
9015
9011
  }
9016
9012
  return { getCompareOperators: r };
9017
9013
  }
9018
- function Ko() {
9014
+ function Zo() {
9019
9015
  const n = x({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), e = /* @__PURE__ */ new Map();
9020
9016
  let o = 0;
9021
9017
  function r() {
@@ -9230,15 +9226,15 @@ function fc(n, t, e) {
9230
9226
  }
9231
9227
  const vn = /* @__PURE__ */ qe({
9232
9228
  name: "FConditionList",
9233
- props: xo,
9229
+ props: _o,
9234
9230
  emits: ["valueChange", "labelCodeChange", "compareTypeChange"],
9235
9231
  setup(n, t) {
9236
- const e = x(n.key), o = x(n.conditions), r = Zo(n), {
9232
+ const e = x(n.key), o = x(n.conditions), r = Qo(n), {
9237
9233
  convertToSingleControl: a,
9238
9234
  fields: i,
9239
9235
  fieldMap: s,
9240
9236
  loadFieldConfigs: l
9241
- } = r, d = Ko(), {
9237
+ } = r, d = Zo(), {
9242
9238
  addCondition: c,
9243
9239
  changeGroupRelation: u,
9244
9240
  getConditions: f,
@@ -9251,7 +9247,7 @@ const vn = /* @__PURE__ */ qe({
9251
9247
  unGroup: y
9252
9248
  } = d, {
9253
9249
  createConditionValue: _
9254
- } = Qo(), S = fc(n, t, d), {
9250
+ } = Xo(), S = fc(n, t, d), {
9255
9251
  selectedItems: T,
9256
9252
  toggleSelect: h
9257
9253
  } = S, {
@@ -9395,7 +9391,7 @@ const vn = /* @__PURE__ */ qe({
9395
9391
  }
9396
9392
  });
9397
9393
  vn.install = (n) => {
9398
- n.component(Zn.name, Zn).component(vn.name, vn);
9394
+ n.component(Qn.name, Qn).component(vn.name, vn);
9399
9395
  };
9400
9396
  const pc = [
9401
9397
  "equal",
@@ -9529,37 +9525,37 @@ const pc = [
9529
9525
  ["text", mc]
9530
9526
  ]);
9531
9527
  function wc() {
9532
- const n = x([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Ko();
9528
+ const n = x([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: e } = Zo();
9533
9529
  function o(C, v) {
9534
9530
  switch (C) {
9535
9531
  case "check-box":
9536
- return new To({ value: v });
9532
+ return new xo({ value: v });
9537
9533
  case "combo-list":
9538
- return new Ho({ value: v });
9534
+ return new Ao({ value: v });
9539
9535
  case "combo-lookup":
9540
- return new Fo({ value: v });
9536
+ return new To({ value: v });
9541
9537
  case "input-group":
9542
9538
  return new ln({ value: v });
9543
9539
  case "date-picker":
9544
- return new jo({ value: v });
9540
+ return new $o({ value: v });
9545
9541
  case "date-range":
9546
9542
  return new sn({ value: v });
9547
9543
  case "datetime-picker":
9548
- return new Ao({ value: v });
9544
+ return new jo({ value: v });
9549
9545
  case "datetime-range":
9550
9546
  return new sn({ value: v });
9551
9547
  case "lookup":
9552
- return new Go({ value: v });
9548
+ return new Ho({ value: v });
9553
9549
  case "month-picker":
9554
- return new qo({ value: v });
9550
+ return new Go({ value: v });
9555
9551
  case "month-range":
9556
- return new zo({ value: v });
9552
+ return new qo({ value: v });
9557
9553
  case "number-range":
9558
- return new Yo({ value: v });
9554
+ return new zo({ value: v });
9559
9555
  case "number-spinner":
9560
- return new Uo({ value: v });
9556
+ return new Yo({ value: v });
9561
9557
  case "radio-group":
9562
- return new Xo({ value: v });
9558
+ return new Uo({ value: v });
9563
9559
  default:
9564
9560
  return new ln({ value: v });
9565
9561
  }
@@ -9652,69 +9648,69 @@ function _c(n, t, e, o, r, a, i, s, l) {
9652
9648
  const ae = c.value;
9653
9649
  if (ae.length <= 0)
9654
9650
  return 0;
9655
- const pe = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
9656
- return pe.__fv_data_position__ > ae.length * v ? ae.length * v : (pe.__fv_data_position__ || 0) + (pe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * v;
9651
+ const fe = f.value < ae.length ? ae[f.value] : ae[ae.length - 1];
9652
+ return fe.__fv_data_position__ > ae.length * v ? ae.length * v : (fe.__fv_data_position__ || 0) + (fe.__fv_data_height__ || 0) + Math.max(ae.length - 1 - f.value, 0) * v;
9657
9653
  }
9658
9654
  const w = G(() => {
9659
9655
  const ae = $();
9660
9656
  c.value;
9661
- let pe = h.value / Math.max(ae, h.value), ge = Math.floor(pe * h.value);
9657
+ let fe = h.value / Math.max(ae, h.value), ge = Math.floor(fe * h.value);
9662
9658
  for (; h.value > 0 && ge < O; )
9663
- pe *= b, ge = Math.floor(pe * h.value);
9659
+ fe *= b, ge = Math.floor(fe * h.value);
9664
9660
  return ge;
9665
9661
  }), k = G(() => Math.floor(M.value / Math.max(p.value, M.value) * T.value)), B = 0, R = 0, P = G(() => T.value - (E.value + p.value + C.value + s.value));
9666
9662
  function N(ae) {
9667
9663
  const ge = Math.floor(ae / v) + 1, Pe = c.value;
9668
9664
  return Pe.length > ge ? Pe[ge].__fv_visible_index__ - 1 : 0;
9669
9665
  }
9670
- function q(ae, pe, ge) {
9671
- let Pe = ae, ze = pe;
9672
- const Je = pe - ae + 1;
9666
+ function q(ae, fe, ge) {
9667
+ let Pe = ae, ze = fe;
9668
+ const Je = fe - ae + 1;
9673
9669
  if (Je < i + a.value + i) {
9674
- const Q = i + a.value + i - Je, me = pe + Q <= ge, Ce = 0 + Q <= ae;
9675
- if (me)
9670
+ const Q = i + a.value + i - Je, pe = fe + Q <= ge, Ce = 0 + Q <= ae;
9671
+ if (pe)
9676
9672
  ze += Q, S = ze;
9677
9673
  else if (Ce)
9678
9674
  Pe -= Q, _ = Pe;
9679
9675
  else {
9680
- const Ee = ge - pe, H = Q - Ee;
9681
- ze = Math.min(pe + Ee, ge), Pe = Math.max(ae - H, 0);
9676
+ const Ee = ge - fe, H = Q - Ee;
9677
+ ze = Math.min(fe + Ee, ge), Pe = Math.max(ae - H, 0);
9682
9678
  }
9683
9679
  }
9684
9680
  return { actualStart: Pe, actualEnd: ze };
9685
9681
  }
9686
9682
  function V(ae) {
9687
9683
  var Ee, H;
9688
- const pe = c.value;
9689
- if (!pe.length) {
9684
+ const fe = c.value;
9685
+ if (!fe.length) {
9690
9686
  e.value = [];
9691
9687
  return;
9692
9688
  }
9693
- const ge = (Ee = n.pagination) != null && Ee.enable ? 0 : Math.max(_ - i, 0), Pe = pe[pe.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? pe.length - 1 : Math.min(S + i, Pe), { actualStart: Je, actualEnd: Q } = q(ge, ze, Pe), me = pe[Je - 1], Ce = u(Je, Q, me, ae);
9689
+ const ge = (Ee = n.pagination) != null && Ee.enable ? 0 : Math.max(_ - i, 0), Pe = fe[fe.length - 1].__fv_visible_index__, ze = (H = n.pagination) != null && H.enable ? fe.length - 1 : Math.min(S + i, Pe), { actualStart: Je, actualEnd: Q } = q(ge, ze, Pe), pe = fe[Je - 1], Ce = u(Je, Q, pe, ae);
9694
9690
  Ce.length && (e.value = [...Ce]);
9695
9691
  }
9696
9692
  const D = G(() => $() > h.value), z = G(() => Math.floor(p.value) > M.value);
9697
- function j(ae, pe) {
9693
+ function j(ae, fe) {
9698
9694
  let ge = ae;
9699
9695
  const Pe = ge > B, ze = D.value;
9700
- ze && ge < h.value - pe && (ge = h.value - pe), (!ze || Pe) && (ge = B), g.value !== ge && (g.value = ge);
9696
+ ze && ge < h.value - fe && (ge = h.value - fe), (!ze || Pe) && (ge = B), g.value !== ge && (g.value = ge);
9701
9697
  }
9702
9698
  function A() {
9703
9699
  F.value && (_ = N(Math.abs(g.value)), S = _ + a.value - 1, (_ < m.value || S > f.value - i / 2) && V());
9704
9700
  }
9705
- function U(ae) {
9706
- let pe = g.value + ae;
9707
- pe > B && (pe = B);
9701
+ function Y(ae) {
9702
+ let fe = g.value + ae;
9703
+ fe > B && (fe = B);
9708
9704
  const ge = $();
9709
- j(pe, ge), A();
9705
+ j(fe, ge), A();
9710
9706
  }
9711
9707
  function Z(ae) {
9712
9708
  if (!z.value) {
9713
9709
  y.value = 0;
9714
9710
  return;
9715
9711
  }
9716
- let pe = y.value + ae;
9717
- pe > R && (pe = R), pe < P.value && (pe = P.value), y.value !== pe && (y.value = pe);
9712
+ let fe = y.value + ae;
9713
+ fe > R && (fe = R), fe < P.value && (fe = P.value), y.value !== fe && (y.value = fe);
9718
9714
  }
9719
9715
  function J() {
9720
9716
  Math.abs(y.value) + M.value > p.value && (y.value = Math.min(M.value - p.value, 0));
@@ -9722,25 +9718,25 @@ function _c(n, t, e, o, r, a, i, s, l) {
9722
9718
  function K() {
9723
9719
  g.value = 0, _ = 0, S = a.value - 1, V();
9724
9720
  }
9725
- function fe() {
9721
+ function me() {
9726
9722
  const ae = $();
9727
9723
  j(g.value, ae);
9728
9724
  }
9729
9725
  Fe([M, p], () => {
9730
9726
  Z(0);
9731
- }), Fe(h, (ae, pe) => {
9732
- ae !== pe && ae >= d.value.length * v && U(0);
9727
+ }), Fe(h, (ae, fe) => {
9728
+ ae !== fe && ae >= d.value.length * v && Y(0);
9733
9729
  });
9734
9730
  function ve(ae) {
9735
- let { deltaX: pe } = ae, ge = -1 * ae.deltaY;
9736
- return typeof pe > "u" && (pe = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (pe *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -pe } : { deltaX: pe, deltaY: ge };
9731
+ let { deltaX: fe } = ae, ge = -1 * ae.deltaY;
9732
+ return typeof fe > "u" && (fe = -1 * ae.wheelDeltaX / 6), typeof ge > "u" && (ge = ae.wheelDeltaY / 6), ae.deltaMode && ae.deltaMode === 1 && (fe *= 10, ge *= 10), ae.shiftKey ? { deltaY: -ge, deltaX: -fe } : { deltaX: fe, deltaY: ge };
9737
9733
  }
9738
9734
  function xe(ae) {
9739
9735
  if (n.disabled || !D.value || ae.target.tagName === "TEXTAREA")
9740
9736
  return;
9741
9737
  ae.preventDefault(), ae.stopPropagation();
9742
- const { deltaX: pe, deltaY: ge } = ve(ae);
9743
- U(ge), Z(pe);
9738
+ const { deltaX: fe, deltaY: ge } = ve(ae);
9739
+ Y(ge), Z(fe);
9744
9740
  }
9745
9741
  const Ve = G(() => ({
9746
9742
  height: `${d.value.length * v}px`,
@@ -9754,11 +9750,11 @@ function _c(n, t, e, o, r, a, i, s, l) {
9754
9750
  transform: `translate(${y.value}px, ${g.value}px)`
9755
9751
  })), de = G(() => ({
9756
9752
  transform: `translate(${y.value}px, ${g.value}px)`
9757
- })), Y = G(() => ({
9753
+ })), U = G(() => ({
9758
9754
  height: `${d.value.length * v}px`,
9759
9755
  width: `${C.value}px`,
9760
9756
  transform: `translateY(${g.value}px)`
9761
- })), ne = G(() => ({
9757
+ })), re = G(() => ({
9762
9758
  transform: `translateY(${g.value}px)`
9763
9759
  })), be = G(() => ({
9764
9760
  height: `${d.value.length * v}px`,
@@ -9784,41 +9780,41 @@ function _c(n, t, e, o, r, a, i, s, l) {
9784
9780
  })), Oe = x(!1), Ge = x(-1), Ne = x(-1), lt = x();
9785
9781
  function wt(ae) {
9786
9782
  if (Oe.value && Ne.value !== -1) {
9787
- const pe = Ne.value - ae.pageX, ge = T.value - k.value;
9788
- if (Math.abs(pe) <= ge) {
9789
- const Pe = pe / (M.value - k.value) * (p.value - M.value);
9783
+ const fe = Ne.value - ae.pageX, ge = T.value - k.value;
9784
+ if (Math.abs(fe) <= ge) {
9785
+ const Pe = fe / (M.value - k.value) * (p.value - M.value);
9790
9786
  Z(Pe), Ne.value = ae.pageX;
9791
9787
  }
9792
9788
  }
9793
9789
  }
9794
9790
  function Tt(ae) {
9795
9791
  if (Oe.value && Ge.value !== -1) {
9796
- const pe = Ge.value - ae.pageY, ge = $(), Pe = ge - w.value;
9797
- if (Math.abs(pe) <= Pe) {
9798
- const ze = pe / (h.value - w.value) * (ge - h.value);
9799
- U(ze), Ge.value = ae.pageY;
9792
+ const fe = Ge.value - ae.pageY, ge = $(), Pe = ge - w.value;
9793
+ if (Math.abs(fe) <= Pe) {
9794
+ const ze = fe / (h.value - w.value) * (ge - h.value);
9795
+ Y(ze), Ge.value = ae.pageY;
9800
9796
  }
9801
9797
  }
9802
9798
  }
9803
9799
  function pt(ae) {
9804
9800
  Oe.value = !1, Ge.value = -1, Ne.value = -1, document.removeEventListener("mouseup", pt), W && (document.removeEventListener("mousemove", W), W = null), document.body.style.userSelect = "", lt.value && (lt.value.style.opacity = null);
9805
9801
  }
9806
- function Ot(ae, pe, ge) {
9802
+ function Ot(ae, fe, ge) {
9807
9803
  var Je;
9808
9804
  Oe.value = !0;
9809
9805
  const Pe = (Je = ae.target) == null ? void 0 : Je.parentElement;
9810
- Pe && (Pe.style.opacity = "1", lt.value = Pe), W || (W = hr(ge === "horizontal" ? wt : Tt, 50)), ge === "vertical" && (Ge.value = ae.pageY), ge === "horizontal" && (Ne.value = ae.pageX), pe.value && (pe.value, document.addEventListener("mousemove", W), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
9806
+ Pe && (Pe.style.opacity = "1", lt.value = Pe), W || (W = mr(ge === "horizontal" ? wt : Tt, 50)), ge === "vertical" && (Ge.value = ae.pageY), ge === "horizontal" && (Ne.value = ae.pageX), fe.value && (fe.value, document.addEventListener("mousemove", W), document.addEventListener("mouseup", pt), document.body.style.userSelect = "none");
9811
9807
  }
9812
9808
  function Ft(ae) {
9813
- const pe = d.value.length * v - h.value;
9809
+ const fe = d.value.length * v - h.value;
9814
9810
  let ge = ae * v;
9815
- ge >= pe && (ge = pe), U(-ge - g.value);
9811
+ ge >= fe && (ge = fe), Y(-ge - g.value);
9816
9812
  }
9817
9813
  function Ct() {
9818
9814
  Ft(d.value.length);
9819
9815
  }
9820
9816
  function Dt(ae) {
9821
- U(ae - g.value);
9817
+ Y(ae - g.value);
9822
9818
  }
9823
9819
  return {
9824
9820
  dataGridWidth: T,
@@ -9837,12 +9833,12 @@ function _c(n, t, e, o, r, a, i, s, l) {
9837
9833
  onWheel: xe,
9838
9834
  reCalculateVisualDataRows: V,
9839
9835
  resetScroll: K,
9840
- rightFixedGridDataStyle: Y,
9836
+ rightFixedGridDataStyle: U,
9841
9837
  rightFixedGridHeaderColumnsStyle: at,
9842
- rightFixedGridMergedDataStyle: ne,
9838
+ rightFixedGridMergedDataStyle: re,
9843
9839
  shouldShowHorizontalScrollbar: z,
9844
9840
  shouldShowVirticalScrollbar: D,
9845
- updateVirticalScroll: fe,
9841
+ updateVirticalScroll: me,
9846
9842
  updateVisibleRowsOnLatestVisibleScope: A,
9847
9843
  verticalScrollThumbStyle: ft,
9848
9844
  viewPortWidth: M,
@@ -9854,7 +9850,7 @@ function _c(n, t, e, o, r, a, i, s, l) {
9854
9850
  }
9855
9851
  function xc(n) {
9856
9852
  var a;
9857
- const { isUndefined: t } = br(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
9853
+ const { isUndefined: t } = yr(), e = ((a = n.rowOption) == null ? void 0 : a.height) || 28;
9858
9854
  function o(i, s) {
9859
9855
  const l = i.pre;
9860
9856
  if (l) {
@@ -9909,7 +9905,7 @@ function Fc() {
9909
9905
  function Sc() {
9910
9906
  const {
9911
9907
  formatTo: n
9912
- } = wr();
9908
+ } = br();
9913
9909
  function t(o, r) {
9914
9910
  if (o) {
9915
9911
  let a = "yyyy-MM-dd";
@@ -9934,7 +9930,7 @@ function Sc() {
9934
9930
  function kc() {
9935
9931
  const {
9936
9932
  formatTo: n
9937
- } = Cr();
9933
+ } = wr();
9938
9934
  function t(e, o) {
9939
9935
  const r = {
9940
9936
  precision: o.precision,
@@ -10085,17 +10081,17 @@ function Oc(n, t, e, o, r, a, i) {
10085
10081
  checked: P,
10086
10082
  disabled: q,
10087
10083
  indeterminate: N,
10088
- setRef: (U) => {
10089
- D.ref = U;
10084
+ setRef: (Y) => {
10085
+ D.ref = Y;
10090
10086
  },
10091
10087
  visible: R && V || R && !n.hierarchy,
10092
10088
  status: vt.initial,
10093
- updateCell: (U, Z) => {
10094
- p(U, h, D, Z);
10089
+ updateCell: (Y, Z) => {
10090
+ p(Y, h, D, Z);
10095
10091
  },
10096
- updateCells: (U, Z) => {
10092
+ updateCells: (Y, Z) => {
10097
10093
  Z.forEach((J) => {
10098
- p(U, h, D, J);
10094
+ p(Y, h, D, J);
10099
10095
  });
10100
10096
  }
10101
10097
  };
@@ -10175,8 +10171,8 @@ function Dc(n, t, e, o, r) {
10175
10171
  if (z != null && z.closest(".popover"))
10176
10172
  return;
10177
10173
  const j = z.closest(".fv-grid-cell");
10178
- f && f.ref && f.ref === j || S(f).then((U) => {
10179
- U && document.body.removeEventListener("click", T, !0);
10174
+ f && f.ref && f.ref === j || S(f).then((Y) => {
10175
+ Y && document.body.removeEventListener("click", T, !0);
10180
10176
  });
10181
10177
  }
10182
10178
  function h(V, D, z) {
@@ -10237,15 +10233,15 @@ function Dc(n, t, e, o, r) {
10237
10233
  column: D,
10238
10234
  cell: V,
10239
10235
  editor: g
10240
- }, A.readonly = !1, I(Hr, {
10236
+ }, A.readonly = !1, I(Ar, {
10241
10237
  focusOnCreated: n.focusOnEditingCell,
10242
10238
  selectOnCreated: n.selectOnEditingCell,
10243
10239
  editor: A,
10244
10240
  modelValue: V.editingData,
10245
- "onUpdate:modelValue": (U) => V.editingData = U,
10241
+ "onUpdate:modelValue": (Y) => V.editingData = Y,
10246
10242
  id: D.id,
10247
- onMousedown: (U) => O(U),
10248
- onMouseup: (U) => b(U)
10243
+ onMousedown: (Y) => O(Y),
10244
+ onMouseup: (Y) => b(Y)
10249
10245
  }, null)) : V.data;
10250
10246
  }
10251
10247
  function P() {
@@ -10412,22 +10408,22 @@ function Bc(n, t, e, o, r) {
10412
10408
  X !== de && (m.value = X);
10413
10409
  });
10414
10410
  function v() {
10415
- const X = i.value.every((Y) => p.value.includes(Y[a.value])), de = i.value.every((Y) => !p.value.includes(Y[a.value]));
10411
+ const X = i.value.every((U) => p.value.includes(U[a.value])), de = i.value.every((U) => !p.value.includes(U[a.value]));
10416
10412
  X && (E.value = !0, C.value = !1), de && (E.value = !1, C.value = !1), !X && !de && (E.value = !1, C.value = !0);
10417
10413
  }
10418
10414
  function g() {
10419
10415
  return s(p.value);
10420
10416
  }
10421
10417
  function y() {
10422
- const X = o.value.reduce((Y, ne) => (Y.set(ne.raw[a.value], ne), Y), /* @__PURE__ */ new Map());
10423
- return p.value.map((Y) => X.get(Y)).filter((Y) => !!Y);
10418
+ const X = o.value.reduce((U, re) => (U.set(re.raw[a.value], re), U), /* @__PURE__ */ new Map());
10419
+ return p.value.map((U) => X.get(U)).filter((U) => !!U);
10424
10420
  }
10425
10421
  function _(X) {
10426
- var Y;
10422
+ var U;
10427
10423
  const de = X.raw.__fv_children_index__;
10428
10424
  if (de && de.length) {
10429
- const ne = de.map((be) => i.value[be]);
10430
- (Y = p.value) != null && Y.length && ne.some((ke) => !p.value.includes(ke[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
10425
+ const re = de.map((be) => i.value[be]);
10426
+ (U = p.value) != null && U.length && re.some((ke) => !p.value.includes(ke[a.value])) && (X.indeterminate = !0, X.raw.__fv_indeterminate__ = !0);
10431
10427
  }
10432
10428
  }
10433
10429
  const S = G(() => d.value && c.value), T = G(
@@ -10445,14 +10441,14 @@ function Bc(n, t, e, o, r) {
10445
10441
  r.emit("unSelectItem", X);
10446
10442
  }
10447
10443
  function $() {
10448
- const X = o.value.filter((Y) => Y.indeterminate).map((Y) => Y.raw[a.value]);
10449
- o.value.forEach((Y) => {
10450
- Y.checked = !1, Y.indeterminate = !1, Y.raw.__fv_checked__ = !1, Y.raw.__fv_indeterminate__ = !1;
10451
- }), y().forEach((Y) => {
10452
- Y.checked = !0, Y.raw.__fv_checked__ = !0;
10453
- }), X.forEach((Y) => {
10454
- const ne = o.value.find((be) => be.raw[a.value] === Y);
10455
- _(ne);
10444
+ const X = o.value.filter((U) => U.indeterminate).map((U) => U.raw[a.value]);
10445
+ o.value.forEach((U) => {
10446
+ U.checked = !1, U.indeterminate = !1, U.raw.__fv_checked__ = !1, U.raw.__fv_indeterminate__ = !1;
10447
+ }), y().forEach((U) => {
10448
+ U.checked = !0, U.raw.__fv_checked__ = !0;
10449
+ }), X.forEach((U) => {
10450
+ const re = o.value.find((be) => be.raw[a.value] === U);
10451
+ _(re);
10456
10452
  });
10457
10453
  }
10458
10454
  Fe(() => o.value, () => {
@@ -10467,34 +10463,34 @@ function Bc(n, t, e, o, r) {
10467
10463
  return X.raw[a.value];
10468
10464
  }
10469
10465
  function B(X) {
10470
- return p.value.findIndex((Y) => Y === k(X));
10466
+ return p.value.findIndex((U) => U === k(X));
10471
10467
  }
10472
10468
  function R() {
10473
- y().forEach((Y) => {
10474
- Y.checked = !1;
10475
- }), s(p.value).forEach((Y) => {
10476
- Y.__fv_checked__ = !1;
10469
+ y().forEach((U) => {
10470
+ U.checked = !1;
10471
+ }), s(p.value).forEach((U) => {
10472
+ U.__fv_checked__ = !1;
10477
10473
  }), p.value = [], l.value = "", v();
10478
10474
  }
10479
10475
  function P(X) {
10480
10476
  const de = X;
10481
10477
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
10482
- const Y = new Set(p.value);
10483
- Y.add(de[a.value]), p.value = Array.from(Y.values());
10478
+ const U = new Set(p.value);
10479
+ U.add(de[a.value]), p.value = Array.from(U.values());
10484
10480
  }
10485
10481
  function N(X) {
10486
10482
  const de = X;
10487
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((Y) => Y !== de[a.value]);
10483
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((U) => U !== de[a.value]);
10488
10484
  }
10489
10485
  function q(X) {
10490
10486
  const de = X.raw;
10491
10487
  de.__fv_checked__ = !0, de.__fv_indeterminate__ = !1;
10492
- const Y = new Set(p.value);
10493
- Y.add(de[a.value]), p.value = Array.from(Y.values()), X.checked = !0, X.indeterminate = !1;
10488
+ const U = new Set(p.value);
10489
+ U.add(de[a.value]), p.value = Array.from(U.values()), X.checked = !0, X.indeterminate = !1;
10494
10490
  }
10495
10491
  function V(X) {
10496
10492
  const de = X.raw;
10497
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((Y) => Y !== de[a.value]), X.checked = !1, X.indeterminate = !1;
10493
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !1, p.value = p.value.filter((U) => U !== de[a.value]), X.checked = !1, X.indeterminate = !1;
10498
10494
  }
10499
10495
  function D(X) {
10500
10496
  q(X), l.value = X.raw[a.value];
@@ -10507,30 +10503,30 @@ function Bc(n, t, e, o, r) {
10507
10503
  }
10508
10504
  function A(X) {
10509
10505
  const de = X.raw;
10510
- de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, p.value = p.value.filter((Y) => Y !== de[a.value]), X.checked = !1, X.indeterminate = !0;
10506
+ de.__fv_checked__ = !1, de.__fv_indeterminate__ = !0, p.value = p.value.filter((U) => U !== de[a.value]), X.checked = !1, X.indeterminate = !0;
10511
10507
  }
10512
- function U(X) {
10508
+ function Y(X) {
10513
10509
  w.value && R(), X.checked ? V(X) : q(X), b();
10514
10510
  }
10515
10511
  function Z(X, de = !0) {
10516
- const Y = X.checked;
10517
- w.value && R(), de ? X.checked ? z(X) : D(X) : Y ? z(X) : D(X), b(), X.checked || W(X);
10512
+ const U = X.checked;
10513
+ w.value && R(), de ? X.checked ? z(X) : D(X) : U ? z(X) : D(X), b(), X.checked || W(X);
10518
10514
  }
10519
10515
  function J(X) {
10520
10516
  X.raw[a.value] !== l.value && (R(), D(X), b());
10521
10517
  }
10522
10518
  function K(X) {
10523
- const de = o.value.find((Y) => Y.raw[a.value] === X);
10519
+ const de = o.value.find((U) => U.raw[a.value] === X);
10524
10520
  de && J(de);
10525
10521
  }
10526
- function fe(X) {
10527
- const de = o.value.filter((be) => X.includes(be.raw[a.value])), Y = de.map((be) => be.raw[a.value]), ne = i.value.filter((be) => {
10522
+ function me(X) {
10523
+ const de = o.value.filter((be) => X.includes(be.raw[a.value])), U = de.map((be) => be.raw[a.value]), re = i.value.filter((be) => {
10528
10524
  const ke = be[a.value];
10529
- return !Y.includes(ke) && X.includes(ke);
10525
+ return !U.includes(ke) && X.includes(ke);
10530
10526
  });
10531
- (de.length || ne.length) && (R(), T.value && (l.value = X[0])), de.forEach((be) => {
10527
+ (de.length || re.length) && (R(), T.value && (l.value = X[0])), de.forEach((be) => {
10532
10528
  D(be);
10533
- }), ne.forEach((be) => {
10529
+ }), re.forEach((be) => {
10534
10530
  P(be);
10535
10531
  }), b();
10536
10532
  }
@@ -10538,12 +10534,12 @@ function Bc(n, t, e, o, r) {
10538
10534
  for (const de of X) {
10539
10535
  if (!p.value.includes(de))
10540
10536
  continue;
10541
- const Y = o.value.find((ne) => ne.raw[a.value] === de);
10542
- if (Y)
10543
- z(Y);
10537
+ const U = o.value.find((re) => re.raw[a.value] === de);
10538
+ if (U)
10539
+ z(U);
10544
10540
  else {
10545
- const ne = i.value.find((be) => be[a.value] === de);
10546
- ne && N(ne);
10541
+ const re = i.value.find((be) => be[a.value] === de);
10542
+ re && N(re);
10547
10543
  }
10548
10544
  }
10549
10545
  p.value = p.value.filter(
@@ -10584,11 +10580,11 @@ function Bc(n, t, e, o, r) {
10584
10580
  selectDataItem: P,
10585
10581
  selectItem: J,
10586
10582
  selectItemById: K,
10587
- selectItemByIds: fe,
10583
+ selectItemByIds: me,
10588
10584
  showCheckBox: f,
10589
10585
  showSelectAll: m,
10590
10586
  toggleSelectItem: Z,
10591
- toggleSelectItemWithoutRow: U,
10587
+ toggleSelectItemWithoutRow: Y,
10592
10588
  unSelect: z,
10593
10589
  unSelectAll: Ve,
10594
10590
  unSelectDataItem: N,
@@ -10743,41 +10739,41 @@ const un = /* @__PURE__ */ qe({
10743
10739
  emits: ["selectionChange", "clickRow", "expandNode", "unSelectItem", "dblclickNode"],
10744
10740
  setup(n, t) {
10745
10741
  var Xe, ut;
10746
- const o = ((Xe = n.rowOption) == null ? void 0 : Xe.height) || 28, r = x(20), a = x(n.columns), i = Ga(n), {
10742
+ const o = ((Xe = n.rowOption) == null ? void 0 : Xe.height) || 28, r = x(20), a = x(n.columns), i = Ha(n), {
10747
10743
  idField: s
10748
- } = i, l = x(), d = x(), c = x(), u = x(), f = x(), m = x([]), p = x(!1), E = x(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), C = qa(n, i), v = za(), g = Ya(n), {
10744
+ } = i, l = x(), d = x(), c = x(), u = x(), f = x(), m = x([]), p = x(!1), E = x(((ut = n.rowOption) == null ? void 0 : ut.wrapContent) || !1), C = Ga(n, i), v = qa(), g = za(n), {
10749
10745
  collapseField: y
10750
10746
  } = g, {
10751
10747
  showLoading: _,
10752
10748
  renderLoading: S
10753
- } = Ua(n, l), T = Xa(n, /* @__PURE__ */ new Map(), v, g, i), {
10749
+ } = Ya(n, l), T = Ua(n, /* @__PURE__ */ new Map(), v, g, i), {
10754
10750
  dataView: h
10755
- } = T, M = Qa(n, T, i, m, t), F = Za(n, m, T, i, M, t), O = G(() => n.disabled), b = G(() => n.virtualized ? Math.min(T.dataView.value.length, r.value) : T.dataView.value.length), {
10751
+ } = T, M = Xa(n, T, i, m, t), F = Qa(n, m, T, i, M, t), O = G(() => n.disabled), b = G(() => n.virtualized ? Math.min(T.dataView.value.length, r.value) : T.dataView.value.length), {
10756
10752
  containerStyleObject: W
10757
- } = Ka(n), $ = Ja(n), {
10753
+ } = Za(n), $ = Ka(n), {
10758
10754
  applyCommands: w
10759
10755
  } = $;
10760
10756
  w(a);
10761
- const k = ei(n), B = ti(n), {
10757
+ const k = Ja(n), B = ei(n), {
10762
10758
  applyColumnSorter: R,
10763
10759
  columnContext: P,
10764
10760
  updateColumnRenderContext: N
10765
10761
  } = k;
10766
10762
  R(T, B);
10767
- const q = ni(n, P), V = oi(n, t, M, i), D = ri(n, t, i, V, m), z = ai(n), j = ii(n, D, z), A = si(n, T, D, g, i, z, j), U = li(n, a, T, b, 0, A), {
10763
+ const q = ti(n, P), V = ni(n, t, M, i), D = oi(n, t, i, V, m), z = ri(n), j = ai(n, D, z), A = ii(n, T, D, g, i, z, j), Y = si(n, a, T, b, 0, A), {
10768
10764
  getVisualData: Z
10769
- } = U, J = ui(n, P), K = ci(n, M), {
10770
- sidebarWidth: fe
10771
- } = K, ve = di(n, T, m, P, U, b, 0, fe), {
10765
+ } = Y, J = li(n, P), K = ui(n, M), {
10766
+ sidebarWidth: me
10767
+ } = K, ve = ci(n, T, m, P, Y, b, 0, me), {
10772
10768
  onWheel: xe,
10773
10769
  dataGridWidth: Ve,
10774
10770
  viewPortHeight: Re,
10775
10771
  viewPortWidth: X,
10776
10772
  resetScroll: de,
10777
- updateVisibleRowsOnLatestVisibleScope: Y
10778
- } = ve, ne = fi(n, P, d, X, q), {
10773
+ updateVisibleRowsOnLatestVisibleScope: U
10774
+ } = ve, re = di(n, P, d, X, q), {
10779
10775
  calculateColumnsSize: be
10780
- } = ne, ke = pi(), De = mi(d, f, T, ke, ve), at = hi(n, t, k, T, q, C, ve), bt = G(() => ({
10776
+ } = re, ke = fi(), De = pi(d, f, T, ke, ve), at = mi(n, t, k, T, q, C, ve), bt = G(() => ({
10781
10777
  "fv-grid": !0,
10782
10778
  "fv-grid-bordered": n.showBorder,
10783
10779
  "fv-grid-horizontal-bordered": n.showHorizontalLines,
@@ -10788,28 +10784,28 @@ const un = /* @__PURE__ */ qe({
10788
10784
  "fv-grid-wrap-content": E.value
10789
10785
  })), {
10790
10786
  renderDataArea: ee
10791
- } = Hc(n, t, c, u, f, J, k, T, D, g, V, M, F, ve, U, z, m), {
10787
+ } = Hc(n, t, c, u, f, J, k, T, D, g, V, M, F, ve, Y, z, m), {
10792
10788
  renderGridHeader: Te,
10793
10789
  renderGridColumnResizeOverlay: Oe,
10794
10790
  shouldShowHeader: Ge
10795
- } = vi(n, t, d, u, f, k, T, at, De, v, ke, ne, q, M, K, B, ve, X, m), {
10791
+ } = hi(n, t, d, u, f, k, T, at, De, v, ke, re, q, M, K, B, ve, X, m), {
10796
10792
  renderDataGridSidebar: Ne
10797
- } = gi(n, V, M, K, ve), {
10793
+ } = vi(n, V, M, K, ve), {
10798
10794
  renderDisableMask: lt
10799
- } = yi(), {
10795
+ } = gi(), {
10800
10796
  renderHorizontalScrollbar: wt
10801
- } = bi(n, d, ve), {
10797
+ } = yi(n, d, ve), {
10802
10798
  renderVerticalScrollbar: Tt
10803
- } = wi(n, d, ve);
10799
+ } = bi(n, d, ve);
10804
10800
  function pt() {
10805
10801
  var he, _e, et;
10806
10802
  if (d.value && d.value.clientHeight > 0 && ((he = d.value) == null ? void 0 : he.clientWidth) > 0) {
10807
10803
  const Ze = Math.ceil(d.value.clientHeight / o);
10808
- Ze > r.value && (r.value = Ze, Y()), Re.value = ((_e = c.value) == null ? void 0 : _e.clientHeight) || 0, Ve.value = ((et = d.value) == null ? void 0 : et.clientWidth) || 0, be();
10804
+ Ze > r.value && (r.value = Ze, U()), Re.value = ((_e = c.value) == null ? void 0 : _e.clientHeight) || 0, Ve.value = ((et = d.value) == null ? void 0 : et.clientWidth) || 0, be();
10809
10805
  }
10810
10806
  }
10811
10807
  yt(() => {
10812
- d.value && (r.value = Math.max(Math.ceil(d.value.clientHeight / o), r.value), m.value = Z(0, b.value + 0 - 1), to(d.value, pt), be(), dn(() => {
10808
+ d.value && (r.value = Math.max(Math.ceil(d.value.clientHeight / o), r.value), m.value = Z(0, b.value + 0 - 1), eo(d.value, pt), be(), dn(() => {
10813
10809
  d.value && (Ve.value = d.value.clientWidth), c.value && (X.value = c.value.clientWidth, Re.value = c.value.clientHeight);
10814
10810
  })), _.value && S();
10815
10811
  }), cn(() => {
@@ -10838,7 +10834,7 @@ const un = /* @__PURE__ */ qe({
10838
10834
  const he = Ct(), _e = F.getNextSelectableHierarchyItemId(he);
10839
10835
  T.removeHierarchyDataItem(he), m.value = Z(0, b.value + 0 - 1), _e && M.selectItemById(_e);
10840
10836
  }
10841
- function pe(he) {
10837
+ function fe(he) {
10842
10838
  D.onEditingRow(he);
10843
10839
  }
10844
10840
  function ge(he) {
@@ -10856,7 +10852,7 @@ const un = /* @__PURE__ */ qe({
10856
10852
  function Q(he) {
10857
10853
  M.selectItemById(he);
10858
10854
  }
10859
- function me(he) {
10855
+ function pe(he) {
10860
10856
  const _e = m.value.find((et) => et.raw[i.idField.value] === he);
10861
10857
  _e && V.clickRowItem(_e);
10862
10858
  }
@@ -10872,9 +10868,9 @@ const un = /* @__PURE__ */ qe({
10872
10868
  function te() {
10873
10869
  M.clearSelection();
10874
10870
  }
10875
- const re = G(() => !m.value || !m.value.length), {
10876
- renderEmpty: oe
10877
- } = Ci(t);
10871
+ const oe = G(() => !m.value || !m.value.length), {
10872
+ renderEmpty: ne
10873
+ } = wi(t);
10878
10874
  function we() {
10879
10875
  return M.getSelectionRow();
10880
10876
  }
@@ -10929,7 +10925,7 @@ const un = /* @__PURE__ */ qe({
10929
10925
  collapseTo: Ot,
10930
10926
  expandTo: Ft,
10931
10927
  removeDataItem: ae,
10932
- editDataItem: pe,
10928
+ editDataItem: fe,
10933
10929
  acceptDataItem: ge,
10934
10930
  cancelDataItem: Pe,
10935
10931
  updateColumns: ze,
@@ -10939,7 +10935,7 @@ const un = /* @__PURE__ */ qe({
10939
10935
  getSelectedItems: H,
10940
10936
  clearSelection: te,
10941
10937
  getSelectionRow: we,
10942
- clickRowItemById: me,
10938
+ clickRowItemById: pe,
10943
10939
  unSelectItemByIds: ye,
10944
10940
  getCurrentRowId: Be,
10945
10941
  reassignRowData: Se,
@@ -10955,7 +10951,7 @@ const un = /* @__PURE__ */ qe({
10955
10951
  class: ft.value,
10956
10952
  onMouseover: () => p.value = !0,
10957
10953
  onMouseleave: () => p.value = !1
10958
- }, [d.value && Ne(m), d.value && ee(), d.value && re.value && oe(), d.value && wt(), d.value && Tt()]), Oe(), O.value && lt()]);
10954
+ }, [d.value && Ne(m), d.value && ee(), d.value && oe.value && ne(), d.value && wt(), d.value && Tt()]), Oe(), O.value && lt()]);
10959
10955
  }
10960
10956
  }), Gc = {
10961
10957
  id: { type: String, default: "" },
@@ -11008,7 +11004,7 @@ const un = /* @__PURE__ */ qe({
11008
11004
  }
11009
11005
  });
11010
11006
  function Yc(n) {
11011
- return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !ur(n);
11007
+ return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !lr(n);
11012
11008
  }
11013
11009
  const xn = /* @__PURE__ */ qe({
11014
11010
  name: "FDesignerItem",
@@ -11022,7 +11018,7 @@ const xn = /* @__PURE__ */ qe({
11022
11018
  parent: p,
11023
11019
  setupContext: t
11024
11020
  };
11025
- sr("design-item-context", E);
11021
+ ir("design-item-context", E);
11026
11022
  const C = rt("useFormSchema"), v = rt("designer-host-service"), g = G(() => {
11027
11023
  var q;
11028
11024
  const R = n.modelValue.appearance && n.modelValue.appearance.class || "", P = ((q = m.value) == null ? void 0 : q.getCustomButtons) && m.value.getCustomButtons();
@@ -11053,7 +11049,7 @@ const xn = /* @__PURE__ */ qe({
11053
11049
  if (R && (R.preventDefault(), R.stopPropagation()), m.value.triggerBelongedComponentToDeleteWhenDeleted) {
11054
11050
  const z = m.value.getBelongedComponentInstance(m);
11055
11051
  if (z && z.parent) {
11056
- const j = x(z == null ? void 0 : z.parent), A = j.value.contents.findIndex((U) => U.id === z.schema.id);
11052
+ const j = x(z == null ? void 0 : z.parent), A = j.value.contents.findIndex((Y) => Y.id === z.schema.id);
11057
11053
  (D = (V = j.value) == null ? void 0 : V.contents) == null || D.splice(A, 1), en.value++;
11058
11054
  }
11059
11055
  return;
@@ -11116,7 +11112,7 @@ const xn = /* @__PURE__ */ qe({
11116
11112
  }
11117
11113
  function b(R) {
11118
11114
  let P;
11119
- const N = R.type, q = ho[N], V = vo[N], D = V ? V(R) : {};
11115
+ const N = R.type, q = mo[N], V = ho[N], D = V ? V(R) : {};
11120
11116
  D.customClass = n.ignore ? D.customClass : "", D.componentId = s.value, D.id = R.id;
11121
11117
  const z = R.contents && R.contents.length === 0;
11122
11118
  return R.contents && !!R.contents.length && q ? I(q, gt({
@@ -11124,7 +11120,7 @@ const xn = /* @__PURE__ */ qe({
11124
11120
  }, D), Yc(P = R.contents.map((A) => I(xn, {
11125
11121
  key: A.id,
11126
11122
  modelValue: A,
11127
- "onUpdate:modelValue": (U) => A = U,
11123
+ "onUpdate:modelValue": (Y) => A = Y,
11128
11124
  componentId: s.value,
11129
11125
  onSelectionChange: F,
11130
11126
  onDragEnd: O,
@@ -11155,7 +11151,7 @@ const xn = /* @__PURE__ */ qe({
11155
11151
  }
11156
11152
  }
11157
11153
  Fe(() => n.modelValue, (R) => {
11158
- i.value = R, e.value = `${R.id}-component`, lr(u);
11154
+ i.value = R, e.value = `${R.id}-component`, sr(u);
11159
11155
  }, {
11160
11156
  deep: !0
11161
11157
  });
@@ -11182,7 +11178,7 @@ const xn = /* @__PURE__ */ qe({
11182
11178
  f && R && f.attachComponents(R, i.value), a.value = m.value.canNested !== void 0 ? m.value.canNested : a.value, r.value = m.value.canDelete !== void 0 ? m.value.canDelete : r.value, o.value = m.value.canMove !== void 0 ? m.value.canMove : o.value, l.value = m.value.styles || "", d.value = m.value.designerClass || "", u.value && (u.value.componentInstance = m, u.value.designItemContext = E), m.value.belongedComponentId = s.value;
11183
11179
  }
11184
11180
  k(), en.value++;
11185
- }), eo(() => {
11181
+ }), Jn(() => {
11186
11182
  u.value && u.value.removeEventListener("scroll", w);
11187
11183
  });
11188
11184
  function B(R) {
@@ -11193,7 +11189,7 @@ const xn = /* @__PURE__ */ qe({
11193
11189
  const q = document.getElementsByClassName("dgComponentFocused");
11194
11190
  q && q.length === 1 && q[0] === u.value || (Array.from(q).forEach((D) => D.classList.remove("dgComponentFocused")), Array.from(document.getElementsByClassName("dgComponentSelected")).forEach((D) => D.classList.remove("dgComponentSelected")), N.classList.add("dgComponentFocused"), t.emit("selectionChange", i.value.type, i.value, s.value, m.value), m.value.getDraggableDesignItemElement && (P = m.value.getDraggableDesignItemElement(E), P && P.value && P.value.classList.add("dgComponentSelected")));
11195
11191
  }
11196
- co(P == null ? void 0 : P.value);
11192
+ uo(P == null ? void 0 : P.value);
11197
11193
  }
11198
11194
  return () => i.value.type === "component-ref" ? W(i.value) : I("div", {
11199
11195
  id: `${i.value.id}-design-item`,
@@ -11309,7 +11305,7 @@ function Uc(n, t, e, o, r = "data-grid-column") {
11309
11305
  renderGridHeader: F
11310
11306
  };
11311
11307
  }
11312
- class Xc extends fo {
11308
+ class Xc extends co {
11313
11309
  constructor(t, e) {
11314
11310
  super(t, e);
11315
11311
  }
@@ -11783,11 +11779,11 @@ function ed(n, t, e, o, r, a, i, s) {
11783
11779
  }
11784
11780
  const td = /* @__PURE__ */ qe({
11785
11781
  name: "FTreeGridDesign",
11786
- props: _o,
11782
+ props: Co,
11787
11783
  emits: [],
11788
11784
  setup(n, t) {
11789
- var ne, be;
11790
- const e = x(), o = 0, r = ((ne = n.rowOption) == null ? void 0 : ne.height) || 28, a = x(20), i = x(n.columns), s = Vc(n), l = x(), d = x(), c = x([]), u = x(!1), f = x(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), m = rt("designer-host-service"), p = rt("design-item-context"), E = Qc(p, m), C = En(e, p, E);
11785
+ var re, be;
11786
+ const e = x(), o = 0, r = ((re = n.rowOption) == null ? void 0 : re.height) || 28, a = x(20), i = x(n.columns), s = Vc(n), l = x(), d = x(), c = x([]), u = x(!1), f = x(((be = n.rowOption) == null ? void 0 : be.wrapContent) || !1), m = rt("designer-host-service"), p = rt("design-item-context"), E = Qc(p, m), C = En(e, p, E);
11791
11787
  C.value.designerClass = "f-utils-fill-flex-column";
11792
11788
  const v = wc(), g = Cc(n), y = ul(n, /* @__PURE__ */ new Map(), v, g, s), _ = Bc(n, y, s, c, t), S = G(() => y.dataView.value.length), {
11793
11789
  containerStyleObject: T
@@ -11807,13 +11803,13 @@ const td = /* @__PURE__ */ qe({
11807
11803
  c.value = V(0, S.value + o - 1);
11808
11804
  const j = _c(n, y, c, b, q, S, o, z), {
11809
11805
  onWheel: A,
11810
- dataGridWidth: U,
11806
+ dataGridWidth: Y,
11811
11807
  viewPortHeight: Z,
11812
11808
  viewPortWidth: J,
11813
11809
  updateVisibleRowsOnLatestVisibleScope: K
11814
- } = j, fe = Zc(n, b, l, J, w), {
11810
+ } = j, me = Zc(n, b, l, J, w), {
11815
11811
  calculateColumnsSize: ve
11816
- } = fe, xe = G(() => ({
11812
+ } = me, xe = G(() => ({
11817
11813
  "drag-container": !0,
11818
11814
  "fv-grid": !0,
11819
11815
  "fv-grid-bordered": n.showBorder,
@@ -11830,18 +11826,18 @@ const td = /* @__PURE__ */ qe({
11830
11826
  function de() {
11831
11827
  var De, at;
11832
11828
  const ke = Math.ceil(l.value.clientHeight / r);
11833
- ke > a.value && (a.value = ke, K()), Z.value = ((De = d.value) == null ? void 0 : De.clientHeight) || 0, U.value = ((at = l.value) == null ? void 0 : at.clientWidth) || 0, ve();
11829
+ ke > a.value && (a.value = ke, K()), Z.value = ((De = d.value) == null ? void 0 : De.clientHeight) || 0, Y.value = ((at = l.value) == null ? void 0 : at.clientWidth) || 0, ve();
11834
11830
  }
11835
11831
  yt(() => {
11836
- e.value.componentInstance = C, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = V(0, S.value + o - 1), to(l.value, de), ve(), dn(() => {
11837
- l.value && (U.value = l.value.clientWidth), d.value && (J.value = d.value.clientWidth, Z.value = d.value.clientHeight);
11832
+ e.value.componentInstance = C, l.value && (a.value = Math.max(Math.ceil(l.value.clientHeight / r), a.value), c.value = V(0, S.value + o - 1), eo(l.value, de), ve(), dn(() => {
11833
+ l.value && (Y.value = l.value.clientWidth), d.value && (J.value = d.value.clientWidth, Z.value = d.value.clientHeight);
11838
11834
  }));
11839
11835
  });
11840
- function Y(ke) {
11836
+ function U(ke) {
11841
11837
  ke && (i.value = ke, M(i), W(i.value), O(y, $), ve());
11842
11838
  }
11843
11839
  return Fe(() => n.columns, (ke) => {
11844
- Y(ke);
11840
+ U(ke);
11845
11841
  }), Fe(J, () => {
11846
11842
  l.value && ve();
11847
11843
  }), t.expose(C.value), () => I("div", {
@@ -11868,7 +11864,7 @@ un.register = (n, t, e, o) => {
11868
11864
  un.registerDesigner = (n, t, e) => {
11869
11865
  n["tree-grid"] = td, t["tree-grid"] = Us;
11870
11866
  };
11871
- _r(un);
11867
+ Cr(un);
11872
11868
  const nd = /* @__PURE__ */ new Map([
11873
11869
  ["appearance", kn]
11874
11870
  ]);
@@ -12436,7 +12432,7 @@ function wd(n, t, e) {
12436
12432
  resetTranslate: _
12437
12433
  };
12438
12434
  }
12439
- function Jo(n, t) {
12435
+ function Ko(n, t) {
12440
12436
  if (n) {
12441
12437
  const e = (o) => {
12442
12438
  o.key.toLowerCase() === n.toLowerCase() && t({ event: o, key: n });
@@ -12449,7 +12445,7 @@ function Jo(n, t) {
12449
12445
  function Cd(n, t) {
12450
12446
  const e = x(n.enableEsc);
12451
12447
  let o = null;
12452
- return e.value ? (o = Jo("Escape", (r) => {
12448
+ return e.value ? (o = Ko("Escape", (r) => {
12453
12449
  t.emit("esc", { event: r.event, type: "esc" });
12454
12450
  }), {
12455
12451
  remove: o
@@ -12458,7 +12454,7 @@ function Cd(n, t) {
12458
12454
  function _d(n, t) {
12459
12455
  const e = x(n.enableEnter);
12460
12456
  let o = null;
12461
- return e.value ? (o = Jo("Enter", (r) => {
12457
+ return e.value ? (o = Ko("Enter", (r) => {
12462
12458
  t.emit("enter", { event: r.event, type: "enter" });
12463
12459
  }), {
12464
12460
  remove: o
@@ -12544,7 +12540,7 @@ const Qt = /* @__PURE__ */ qe({
12544
12540
  "modal-dialog": !0
12545
12541
  }, Te = (Oe = i.value) == null ? void 0 : Oe.split(" ");
12546
12542
  return Te == null || Te.reduce((Ge, Ne) => (Ge[Ne] = !0, Ge), ee), ee;
12547
- }), U = G(() => {
12543
+ }), Y = G(() => {
12548
12544
  const ee = {
12549
12545
  position: "absolute",
12550
12546
  top: `${(window.innerHeight - o.value) / 2}px`,
@@ -12566,7 +12562,7 @@ const Qt = /* @__PURE__ */ qe({
12566
12562
  display: l.value ? "" : "none"
12567
12563
  };
12568
12564
  return ee["pointer-events"] = P.value ? "auto" : "none", ee;
12569
- }), fe = G(() => ({
12565
+ }), me = G(() => ({
12570
12566
  "f-icon": !0,
12571
12567
  modal_maximize: !0,
12572
12568
  modalrevert: W.value
@@ -12599,13 +12595,13 @@ const Qt = /* @__PURE__ */ qe({
12599
12595
  function de(ee) {
12600
12596
  ee.width && (e.value = ee.width), ee.height && (o.value = ee.height), ee.buttons && (h.value = ee.buttons), ee.title && (v.value = ee.title);
12601
12597
  }
12602
- let Y = null, ne = null;
12603
- cr(() => {
12598
+ let U = null, re = null;
12599
+ ur(() => {
12604
12600
  _.value = V();
12605
12601
  }), yt(() => {
12606
- b.value && !g.value && (g.value = b.value.parentElement, B.value = g.value, q(O.value, b.value, B.value)), z.value && document.body.classList.add("modal-open"), Y = Cd(n, t), ne = _d(n, t);
12602
+ b.value && !g.value && (g.value = b.value.parentElement, B.value = g.value, q(O.value, b.value, B.value)), z.value && document.body.classList.add("modal-open"), U = Cd(n, t), re = _d(n, t);
12607
12603
  }), cn(() => {
12608
- N && N(), Y && Y.remove(), ne && ne.remove();
12604
+ N && N(), U && U.remove(), re && re.remove();
12609
12605
  }), t.expose({
12610
12606
  modalElementRef: b,
12611
12607
  updateModalOptions: de,
@@ -12623,7 +12619,7 @@ const Qt = /* @__PURE__ */ qe({
12623
12619
  class: "f-btn-icon f-bare",
12624
12620
  style: "pointer-events: auto;"
12625
12621
  }, [I("span", {
12626
- class: fe.value
12622
+ class: me.value
12627
12623
  }, null)]), c.value && I("li", {
12628
12624
  class: "f-btn-icon f-bare",
12629
12625
  onClick: (ee) => S(ee, !1),
@@ -12682,7 +12678,7 @@ const Qt = /* @__PURE__ */ qe({
12682
12678
  return I("div", {
12683
12679
  id: a.value,
12684
12680
  class: A.value,
12685
- style: U.value,
12681
+ style: Y.value,
12686
12682
  ref: b
12687
12683
  }, [I("div", {
12688
12684
  class: J.value
@@ -12696,10 +12692,10 @@ const Qt = /* @__PURE__ */ qe({
12696
12692
  src: p.value
12697
12693
  }, null)]), at()]), !s.value && b.value && !W.value && $(b.value)]);
12698
12694
  }
12699
- return () => I(dr, {
12695
+ return () => I(cr, {
12700
12696
  to: "body"
12701
12697
  }, {
12702
- default: () => [z.value && I(Jn, {
12698
+ default: () => [z.value && I(Kn, {
12703
12699
  name: "fade",
12704
12700
  appear: !0
12705
12701
  }, {
@@ -12713,7 +12709,7 @@ const Qt = /* @__PURE__ */ qe({
12713
12709
  });
12714
12710
  }
12715
12711
  });
12716
- function er(n) {
12712
+ function Jo(n) {
12717
12713
  if (n.content && n.content.render)
12718
12714
  return n.content.render;
12719
12715
  if (n.render && typeof n.render == "function")
@@ -12722,7 +12718,7 @@ function er(n) {
12722
12718
  function xd(n) {
12723
12719
  const t = document.createElement("div");
12724
12720
  t.style.display = "contents";
12725
- const e = Kn({
12721
+ const e = Zn({
12726
12722
  setup(o, r) {
12727
12723
  cn(() => {
12728
12724
  document.body.removeChild(t);
@@ -12732,7 +12728,7 @@ function xd(n) {
12732
12728
  }), p = n.closedCallback || ((y) => {
12733
12729
  }), E = n.resizeHandle || ((y) => {
12734
12730
  }), C = n.stopMoveHandle || ((y) => {
12735
- }), v = er(n), g = (y) => {
12731
+ }), v = Jo(n), g = (y) => {
12736
12732
  c.value = !1, e.unmount(), p(y);
12737
12733
  };
12738
12734
  return yt(() => {
@@ -12764,7 +12760,7 @@ function xd(n) {
12764
12760
  });
12765
12761
  return document.body.appendChild(t), e.mount(t), e;
12766
12762
  }
12767
- class tr {
12763
+ class er {
12768
12764
  constructor(t) {
12769
12765
  L(this, "appContext", null);
12770
12766
  L(this, "modalRef", x());
@@ -12805,7 +12801,7 @@ class tr {
12805
12801
  open(t) {
12806
12802
  const e = document.createDocumentFragment();
12807
12803
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
12808
- const o = fr(Object.assign({
12804
+ const o = dr(Object.assign({
12809
12805
  title: "",
12810
12806
  showButtons: !0,
12811
12807
  showHeader: !0
@@ -12816,7 +12812,7 @@ class tr {
12816
12812
  }), d = t.stopMoveHandle || ((S) => {
12817
12813
  });
12818
12814
  let c;
12819
- const u = er(o.value), f = (S) => {
12815
+ const u = Jo(o.value), f = (S) => {
12820
12816
  var h;
12821
12817
  r.value = !1;
12822
12818
  const T = (h = S == null ? void 0 : S.target) == null ? void 0 : h.classList.contains("modal_close");
@@ -12852,7 +12848,7 @@ class tr {
12852
12848
  default: () => [u && u(this.app)]
12853
12849
  });
12854
12850
  return c = ((S) => {
12855
- const T = pr(g, S);
12851
+ const T = fr(g, S);
12856
12852
  return T.appContext = this.appContext, fn(T, e), T;
12857
12853
  })({
12858
12854
  ...o.value
@@ -12862,7 +12858,7 @@ class tr {
12862
12858
  o.value = {
12863
12859
  ...o.value,
12864
12860
  ...S
12865
- }, c && fn(mr(c, {
12861
+ }, c && fn(pr(c, {
12866
12862
  ...o
12867
12863
  }), e);
12868
12864
  },
@@ -12875,10 +12871,10 @@ class tr {
12875
12871
  const Td = Symbol("FModalService");
12876
12872
  Qt.install = (n) => {
12877
12873
  n.component(Qt.name, Qt);
12878
- const t = new tr(n);
12874
+ const t = new er(n);
12879
12875
  n.provide(Td, t), n.provide("FModalService", t);
12880
12876
  };
12881
- var nr = /* @__PURE__ */ ((n) => (n.SimpleField = "SimpleField", n.ComplexField = "ComplexField", n))(nr || {});
12877
+ var tr = /* @__PURE__ */ ((n) => (n.SimpleField = "SimpleField", n.ComplexField = "ComplexField", n))(tr || {});
12882
12878
  function Fd(n, t, e) {
12883
12879
  function o() {
12884
12880
  const i = e.componentId;
@@ -12888,7 +12884,7 @@ function Fd(n, t, e) {
12888
12884
  if (!s)
12889
12885
  return !1;
12890
12886
  const { schema: l } = t, { designViewModelUtils: d } = n, c = d.getDgViewModel(s), u = c == null ? void 0 : c.fields.find((f) => f.id === l.binding.field);
12891
- return !(!u || u.$type !== nr.SimpleField);
12887
+ return !(!u || u.$type !== tr.SimpleField);
12892
12888
  }
12893
12889
  function r() {
12894
12890
  const { schema: i } = t;
@@ -12951,7 +12947,7 @@ const Sd = /* @__PURE__ */ qe({
12951
12947
  } = Fd(u, f, n);
12952
12948
  function g() {
12953
12949
  const _ = v();
12954
- return I(po, {
12950
+ return I(fo, {
12955
12951
  id: `${e.value}-lable`,
12956
12952
  required: l.value,
12957
12953
  text: a.value,
@@ -13028,14 +13024,14 @@ const Md = /* @__PURE__ */ qe({
13028
13024
  return yt(() => {
13029
13025
  e.value.componentInstance = i, i.value.getPropConfig = (...s) => {
13030
13026
  var d, c, u;
13031
- let l = io[n.editor.type];
13027
+ let l = ao[n.editor.type];
13032
13028
  return l && Object.keys(l).length === 0 && ((d = e.value) != null && d.editorRef) && ((u = (c = e.value) == null ? void 0 : c.editorRef) != null && u.getPropConfig) && (l = e.value.editorRef.getPropConfig(...s, i.value)), l;
13033
13029
  };
13034
13030
  }), t.expose(i.value), () => I(Sd, gt(n, {
13035
13031
  ref: e
13036
13032
  }), null);
13037
13033
  }
13038
- }), or = {
13034
+ }), nr = {
13039
13035
  id: { type: String, default: "" },
13040
13036
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
13041
13037
  editor: { type: Object, default: {} },
@@ -13050,13 +13046,13 @@ const Md = /* @__PURE__ */ qe({
13050
13046
  */
13051
13047
  selectOnCreated: { type: Boolean, default: !1 }
13052
13048
  }, Ed = Gt(
13053
- or,
13054
- lo,
13049
+ nr,
13050
+ so,
13055
13051
  Mn,
13056
13052
  void 0
13057
13053
  ), Id = /* @__PURE__ */ qe({
13058
13054
  name: "FDynamicFormInput",
13059
- props: or,
13055
+ props: nr,
13060
13056
  emits: ["change", "update:modelValue", "mousedown", "mouseup"],
13061
13057
  setup(n, t) {
13062
13058
  const e = x(n.id), o = x(n.editor), r = x(n.modelValue), {
@@ -13065,7 +13061,7 @@ const Md = /* @__PURE__ */ qe({
13065
13061
  getChangeFunctionName: s,
13066
13062
  getMousedownFunctionName: l,
13067
13063
  getMouseupFunctionName: d
13068
- } = mo();
13064
+ } = po();
13069
13065
  function c(p, E) {
13070
13066
  r.value = E !== void 0 ? E : p, t.emit("update:modelValue", r.value), t.emit("change", r.value);
13071
13067
  }
@@ -13117,7 +13113,7 @@ const Md = /* @__PURE__ */ qe({
13117
13113
  type: Bd,
13118
13114
  properties: Nd,
13119
13115
  required: Rd
13120
- }, rr = {
13116
+ }, or = {
13121
13117
  initialState: {
13122
13118
  type: Object,
13123
13119
  default: {
@@ -13127,7 +13123,7 @@ const Md = /* @__PURE__ */ qe({
13127
13123
  uniqueColClassInEL: 2
13128
13124
  }
13129
13125
  }
13130
- }, Wd = Fr(rr, Ld, Vi, Ri), $d = {
13126
+ }, Wd = Tr(or, Ld, Vi, Ri), $d = {
13131
13127
  width: { Type: Number, default: 400 },
13132
13128
  type: { Type: String, default: "info" },
13133
13129
  title: { Type: String, default: "" },
@@ -13393,7 +13389,7 @@ class xt {
13393
13389
  }), o = !1, r = e.type === "error" || e.type === "prompt", a = e.type === "error" ? "错误提示" : e.type === "prompt" && e.title || "", i = e.acceptCallback || (() => {
13394
13390
  }), s = e.rejectCallback || (() => {
13395
13391
  });
13396
- let l = null, d = new tr(l);
13392
+ let l = null, d = new er(l);
13397
13393
  const c = () => {
13398
13394
  l && (l == null || l.destroy(), d = null);
13399
13395
  };
@@ -13485,7 +13481,7 @@ on.install = (n) => {
13485
13481
  };
13486
13482
  const ef = /* @__PURE__ */ qe({
13487
13483
  name: "FResponseFormLayoutSetting",
13488
- props: rr,
13484
+ props: or,
13489
13485
  emits: ["change"],
13490
13486
  setup(n, t) {
13491
13487
  const e = [1], o = [1, 2], r = [1, 2, 3, 4], a = [1, 2, 3, 4, 6];
@@ -13623,10 +13619,10 @@ const ef = /* @__PURE__ */ qe({
13623
13619
  n.component(mn.name, mn).component(tn.name, tn);
13624
13620
  },
13625
13621
  register(n, t, e, o) {
13626
- n["form-group"] = tn, t["form-group"] = An, n["response-form"] = mn, t["response-form"] = jn, n["form-input"] = Id, t["form-input"] = Ed, o["form-group"] = { editorResolver: Ji }, n["response-form-layout-setting"] = ef, t["response-form-layout-setting"] = Wd;
13622
+ n["form-group"] = tn, t["form-group"] = jn, n["response-form"] = mn, t["response-form"] = $n, n["form-input"] = Id, t["form-input"] = Ed, o["form-group"] = { editorResolver: Ji }, n["response-form-layout-setting"] = ef, t["response-form-layout-setting"] = Wd;
13627
13623
  },
13628
13624
  registerDesigner(n, t, e) {
13629
- n["form-group"] = Md, t["form-group"] = An, n["response-form"] = ms, t["response-form"] = jn;
13625
+ n["form-group"] = Md, t["form-group"] = jn, n["response-form"] = ms, t["response-form"] = $n;
13630
13626
  }
13631
13627
  };
13632
13628
  export {
@@ -13636,8 +13632,8 @@ export {
13636
13632
  Bp as default,
13637
13633
  Kt as dynamicFormGroupProps,
13638
13634
  Ji as editorResolver,
13639
- An as formGroupPropsResolver,
13640
- jn as formPropsResolver,
13641
- so as responseFormProps,
13635
+ jn as formGroupPropsResolver,
13636
+ $n as formPropsResolver,
13637
+ io as responseFormProps,
13642
13638
  ps as useDesignerRules
13643
13639
  };