@farris/ui-vue 1.3.4 → 1.3.6

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 (145) hide show
  1. package/components/accordion/index.esm.js +16 -16
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +65 -65
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +13 -13
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +504 -490
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +247 -233
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/checkbox/index.esm.js +356 -344
  12. package/components/checkbox/index.umd.cjs +1 -1
  13. package/components/color-picker/index.esm.js +159 -145
  14. package/components/color-picker/index.umd.cjs +2 -2
  15. package/components/combo-list/index.esm.js +127 -128
  16. package/components/combo-list/index.umd.cjs +1 -1
  17. package/components/combo-tree/index.esm.js +15 -15
  18. package/components/combo-tree/index.umd.cjs +1 -1
  19. package/components/component/index.esm.js +101 -87
  20. package/components/component/index.umd.cjs +1 -1
  21. package/components/condition/index.esm.js +9 -7
  22. package/components/condition/index.umd.cjs +1 -1
  23. package/components/content-container/index.esm.js +181 -167
  24. package/components/content-container/index.umd.cjs +1 -1
  25. package/components/data-grid/index.esm.js +746 -730
  26. package/components/data-grid/index.umd.cjs +1 -1
  27. package/components/data-view/index.esm.js +9 -7
  28. package/components/data-view/index.umd.cjs +1 -1
  29. package/components/date-picker/index.esm.js +789 -777
  30. package/components/date-picker/index.umd.cjs +1 -1
  31. package/components/designer-canvas/index.esm.js +3096 -3069
  32. package/components/designer-canvas/index.umd.cjs +1 -1
  33. package/components/dropdown/index.esm.js +257 -243
  34. package/components/dropdown/index.umd.cjs +2 -2
  35. package/components/dynamic-form/index.esm.js +322 -306
  36. package/components/dynamic-form/index.umd.cjs +1 -1
  37. package/components/dynamic-resolver/index.esm.js +177 -163
  38. package/components/dynamic-resolver/index.umd.cjs +1 -1
  39. package/components/event-parameter/index.esm.js +78 -82
  40. package/components/event-parameter/index.umd.cjs +1 -1
  41. package/components/events-editor/index.esm.js +501 -487
  42. package/components/events-editor/index.umd.cjs +1 -1
  43. package/components/expression-editor/index.esm.js +37 -37
  44. package/components/expression-editor/index.umd.cjs +1 -1
  45. package/components/external-container/index.esm.js +487 -472
  46. package/components/external-container/index.umd.cjs +1 -1
  47. package/components/field-selector/index.esm.js +440 -433
  48. package/components/field-selector/index.umd.cjs +1 -1
  49. package/components/filter-bar/index.esm.js +594 -587
  50. package/components/filter-bar/index.umd.cjs +1 -1
  51. package/components/flow-canvas/index.esm.js +2766 -2739
  52. package/components/flow-canvas/index.umd.cjs +1 -1
  53. package/components/image-cropper/index.esm.js +402 -388
  54. package/components/image-cropper/index.umd.cjs +1 -1
  55. package/components/input-group/index.esm.js +201 -202
  56. package/components/input-group/index.umd.cjs +1 -1
  57. package/components/layout/index.esm.js +264 -245
  58. package/components/layout/index.umd.cjs +1 -1
  59. package/components/list-nav/index.esm.js +157 -143
  60. package/components/list-nav/index.umd.cjs +1 -1
  61. package/components/list-view/index.esm.js +314 -298
  62. package/components/list-view/index.umd.cjs +1 -1
  63. package/components/lookup/index.esm.js +862 -843
  64. package/components/lookup/index.umd.cjs +1 -1
  65. package/components/mapping-editor/index.esm.js +1031 -1015
  66. package/components/mapping-editor/index.umd.cjs +1 -1
  67. package/components/nav/index.esm.js +169 -155
  68. package/components/nav/index.umd.cjs +2 -2
  69. package/components/number-range/index.esm.js +150 -137
  70. package/components/number-range/index.umd.cjs +1 -1
  71. package/components/number-spinner/index.esm.js +207 -194
  72. package/components/number-spinner/index.umd.cjs +1 -1
  73. package/components/order/index.esm.js +427 -414
  74. package/components/order/index.umd.cjs +1 -1
  75. package/components/page-footer/index.esm.js +22 -22
  76. package/components/page-footer/index.umd.cjs +1 -1
  77. package/components/page-header/index.esm.js +510 -492
  78. package/components/page-header/index.umd.cjs +1 -1
  79. package/components/pagination/index.esm.js +192 -178
  80. package/components/pagination/index.umd.cjs +1 -1
  81. package/components/progress/index.esm.js +234 -220
  82. package/components/progress/index.umd.cjs +3 -3
  83. package/components/property-editor/index.esm.js +288 -277
  84. package/components/property-editor/index.umd.cjs +2 -2
  85. package/components/property-panel/index.esm.js +62 -61
  86. package/components/property-panel/index.umd.cjs +1 -1
  87. package/components/query-solution/index.esm.js +776 -770
  88. package/components/query-solution/index.umd.cjs +6 -6
  89. package/components/radio-button/index.esm.js +64 -64
  90. package/components/radio-button/index.umd.cjs +1 -1
  91. package/components/radio-group/index.esm.js +296 -283
  92. package/components/radio-group/index.umd.cjs +1 -1
  93. package/components/rate/index.esm.js +222 -208
  94. package/components/rate/index.umd.cjs +1 -1
  95. package/components/response-layout/index.esm.js +187 -173
  96. package/components/response-layout/index.umd.cjs +1 -1
  97. package/components/response-layout-editor/index.esm.js +554 -542
  98. package/components/response-layout-editor/index.umd.cjs +1 -1
  99. package/components/response-toolbar/index.esm.js +483 -469
  100. package/components/response-toolbar/index.umd.cjs +1 -1
  101. package/components/schema-selector/index.esm.js +634 -619
  102. package/components/schema-selector/index.umd.cjs +2 -2
  103. package/components/search-box/index.esm.js +228 -214
  104. package/components/search-box/index.umd.cjs +1 -1
  105. package/components/section/index.esm.js +419 -406
  106. package/components/section/index.umd.cjs +1 -1
  107. package/components/smoke-detector/index.esm.js +162 -148
  108. package/components/smoke-detector/index.umd.cjs +1 -1
  109. package/components/splitter/index.esm.js +308 -284
  110. package/components/splitter/index.umd.cjs +1 -1
  111. package/components/step/index.esm.js +279 -265
  112. package/components/step/index.umd.cjs +1 -1
  113. package/components/switch/index.esm.js +183 -170
  114. package/components/switch/index.umd.cjs +1 -1
  115. package/components/tabs/index.esm.js +307 -294
  116. package/components/tabs/index.umd.cjs +1 -1
  117. package/components/tags/index.esm.js +320 -306
  118. package/components/tags/index.umd.cjs +1 -1
  119. package/components/text/index.esm.js +245 -231
  120. package/components/text/index.umd.cjs +1 -1
  121. package/components/textarea/index.esm.js +260 -247
  122. package/components/textarea/index.umd.cjs +1 -1
  123. package/components/time-picker/index.esm.js +409 -396
  124. package/components/time-picker/index.umd.cjs +1 -1
  125. package/components/transfer/index.esm.js +424 -410
  126. package/components/transfer/index.umd.cjs +1 -1
  127. package/components/tree-grid/index.esm.js +383 -376
  128. package/components/tree-grid/index.umd.cjs +1 -1
  129. package/components/tree-view/index.esm.js +595 -575
  130. package/components/tree-view/index.umd.cjs +1 -1
  131. package/components/uploader/index.esm.js +325 -311
  132. package/components/uploader/index.umd.cjs +2 -2
  133. package/components/verify-detail/index.esm.js +304 -290
  134. package/components/verify-detail/index.umd.cjs +1 -1
  135. package/components/video/index.esm.js +99 -85
  136. package/components/video/index.umd.cjs +1 -1
  137. package/components/weather/index.esm.js +947 -933
  138. package/components/weather/index.umd.cjs +4 -4
  139. package/farris.all.esm.js +5492 -5470
  140. package/farris.all.umd.cjs +13 -13
  141. package/index.css +1 -1
  142. package/package.json +1 -1
  143. package/types/condition/src/composition/condition-value/input-group-value.d.ts +1 -1
  144. package/types/entity-binding-selector/composition/use-entity-tree.d.ts +3 -0
  145. package/types/entity-binding-selector/composition/use-field-tree.d.ts +1 -0
@@ -1,51 +1,51 @@
1
- var Nr = Object.defineProperty;
2
- var Dr = (e, t, n) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var H = (e, t, n) => Dr(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as P, watch as te, defineComponent as ge, onBeforeUnmount as _n, createVNode as h, createTextVNode as Ve, onMounted as Me, nextTick as dt, reactive as et, withDirectives as jt, resolveDirective as Ar, Fragment as We, mergeProps as nt, inject as Ae, onUnmounted as vt, Teleport as po, Transition as mo, shallowRef as $r, createApp as kn, render as Zt, h as jr, cloneVNode as Lr, onBeforeMount as Hr, vShow as Wr, vModelCheckbox as qr, resolveComponent as ot, provide as Gr, isVNode as Ur, withModifiers as zr, vModelText as Kr } from "vue";
1
+ var Dr = Object.defineProperty;
2
+ var Ar = (e, t, n) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var H = (e, t, n) => Ar(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as C, computed as R, watch as te, defineComponent as ge, onBeforeUnmount as _n, createVNode as h, createTextVNode as Ve, onMounted as Me, nextTick as dt, reactive as et, withDirectives as jt, resolveDirective as $r, Fragment as We, mergeProps as nt, inject as Ae, onUnmounted as vt, Teleport as po, Transition as mo, shallowRef as jr, createApp as kn, render as Zt, h as Lr, cloneVNode as Hr, onBeforeMount as Wr, vShow as qr, vModelCheckbox as Gr, resolveComponent as ot, provide as Ur, isVNode as zr, withModifiers as Xr, vModelText as Kr } from "vue";
5
5
  import { isPlainObject as Wn, cloneDeep as Ce } from "lodash-es";
6
- import Xr, { FDynamicFormGroup as Jr, FDynamicFormInput as Yr } from "../dynamic-form/index.esm.js";
6
+ import Jr, { FDynamicFormGroup as Yr, FDynamicFormInput as Qr } from "../dynamic-form/index.esm.js";
7
7
  import cn from "../combo-list/index.esm.js";
8
- import { DgControl as qn, useDesignerComponent as Qr } from "../designer-canvas/index.esm.js";
9
- import { useTextBox as Zr, useClear as ho, useTextBoxDesign as ei, useDateFormat as ti, useNumberFormat as ni, resolveField as Ct, setFieldValue as Gn, CHECKBOX_CONTEXT as oi, useCheck as ri, getCustomClass as en, withInstall as ii } from "../common/index.esm.js";
10
- import ai, { useNumber as li, useFormat as si, useSpinner as ui, useTextBox as ci } from "../number-spinner/index.esm.js";
11
- import di from "../accordion/index.esm.js";
12
- import fi from "../avatar/index.esm.js";
13
- import pi from "../button-edit/index.esm.js";
14
- import mi from "../button-group/index.esm.js";
15
- import hi from "../calendar/index.esm.js";
16
- import vi from "../capsule/index.esm.js";
17
- import gi, { FCheckBox as Lt } from "../checkbox/index.esm.js";
18
- import yi from "../combo-tree/index.esm.js";
19
- import bi from "../component/index.esm.js";
20
- import Ci from "../color-picker/index.esm.js";
21
- import wi from "../content-container/index.esm.js";
22
- import Si from "../date-picker/index.esm.js";
23
- import xi from "../data-grid/index.esm.js";
24
- import _i from "../dropdown/index.esm.js";
25
- import ki from "../events-editor/index.esm.js";
26
- import Fi from "../filter-bar/index.esm.js";
27
- import Ti from "../field-selector/index.esm.js";
28
- import Ei from "../binding-selector/index.esm.js";
29
- import Ii from "../image-cropper/index.esm.js";
30
- import Oi, { FInputGroup as Bi } from "../input-group/index.esm.js";
31
- import Mi from "../layout/index.esm.js";
8
+ import { DgControl as qn, useDesignerComponent as Zr } from "../designer-canvas/index.esm.js";
9
+ import { useTextBox as ei, useClear as ho, useTextBoxDesign as ti, useDateFormat as ni, useNumberFormat as oi, resolveField as Ct, setFieldValue as Gn, CHECKBOX_CONTEXT as ri, useCheck as ii, getCustomClass as en, withInstall as ai } from "../common/index.esm.js";
10
+ import li, { useNumber as si, useFormat as ui, useSpinner as ci, useTextBox as di } from "../number-spinner/index.esm.js";
11
+ import fi from "../accordion/index.esm.js";
12
+ import pi from "../avatar/index.esm.js";
13
+ import mi from "../button-edit/index.esm.js";
14
+ import hi from "../button-group/index.esm.js";
15
+ import vi from "../calendar/index.esm.js";
16
+ import gi from "../capsule/index.esm.js";
17
+ import yi, { FCheckBox as Lt } from "../checkbox/index.esm.js";
18
+ import bi from "../combo-tree/index.esm.js";
19
+ import Ci from "../component/index.esm.js";
20
+ import wi from "../color-picker/index.esm.js";
21
+ import Si from "../content-container/index.esm.js";
22
+ import xi from "../date-picker/index.esm.js";
23
+ import _i from "../data-grid/index.esm.js";
24
+ import ki from "../dropdown/index.esm.js";
25
+ import Fi from "../events-editor/index.esm.js";
26
+ import Ti from "../filter-bar/index.esm.js";
27
+ import Ei from "../field-selector/index.esm.js";
28
+ import Ii from "../binding-selector/index.esm.js";
29
+ import Oi from "../image-cropper/index.esm.js";
30
+ import Bi, { FInputGroup as Mi } from "../input-group/index.esm.js";
31
+ import Pi from "../layout/index.esm.js";
32
32
  import Ri from "../list-nav/index.esm.js";
33
- import Pi from "../list-view/index.esm.js";
34
- import Vi from "../lookup/index.esm.js";
35
- import Ni from "../mapping-editor/index.esm.js";
36
- import Di from "../nav/index.esm.js";
37
- import Ai from "../number-range/index.esm.js";
38
- import $i from "../order/index.esm.js";
39
- import ji from "../page-header/index.esm.js";
40
- import Li from "../page-footer/index.esm.js";
41
- import Hi from "../pagination/index.esm.js";
42
- import Wi from "../progress/index.esm.js";
43
- import qi from "../query-solution/index.esm.js";
44
- import Gi from "../radio-group/index.esm.js";
33
+ import Vi from "../list-view/index.esm.js";
34
+ import Ni from "../lookup/index.esm.js";
35
+ import Di from "../mapping-editor/index.esm.js";
36
+ import Ai from "../nav/index.esm.js";
37
+ import $i from "../number-range/index.esm.js";
38
+ import ji from "../order/index.esm.js";
39
+ import Li from "../page-header/index.esm.js";
40
+ import Hi from "../page-footer/index.esm.js";
41
+ import Wi from "../pagination/index.esm.js";
42
+ import qi from "../progress/index.esm.js";
43
+ import Gi from "../query-solution/index.esm.js";
44
+ import vo from "../radio-group/index.esm.js";
45
45
  import Ui from "../rate/index.esm.js";
46
46
  import zi from "../response-toolbar/index.esm.js";
47
- import Ki from "../response-layout/index.esm.js";
48
- import Xi from "../response-layout-editor/index.esm.js";
47
+ import Xi from "../response-layout/index.esm.js";
48
+ import Ki from "../response-layout-editor/index.esm.js";
49
49
  import Ji from "../search-box/index.esm.js";
50
50
  import Yi from "../section/index.esm.js";
51
51
  import Qi from "../smoke-detector/index.esm.js";
@@ -53,7 +53,7 @@ import Zi from "../splitter/index.esm.js";
53
53
  import ea from "../step/index.esm.js";
54
54
  import ta from "../switch/index.esm.js";
55
55
  import na from "../tabs/index.esm.js";
56
- import vo from "../tags/index.esm.js";
56
+ import go from "../tags/index.esm.js";
57
57
  import oa from "../text/index.esm.js";
58
58
  import ra from "../time-picker/index.esm.js";
59
59
  import ia, { FTransfer as aa } from "../transfer/index.esm.js";
@@ -69,12 +69,11 @@ import ha from "../event-parameter/index.esm.js";
69
69
  import "../external-container/index.esm.js";
70
70
  import { createPropsResolver as va, resolveAppearance as ga } from "../dynamic-resolver/index.esm.js";
71
71
  import { F_MODAL_SERVICE_TOKEN as ya } from "../modal/index.esm.js";
72
- import { FRadioGroup as ba } from "../components/index.esm.js";
73
- import Ca from "../popover/index.esm.js";
74
- import { useResizeObserver as go } from "@vueuse/core";
75
- import { useLoading as wa, useIdentify as yo, useGroupData as bo, useFilter as Sa, useHierarchy as Co, usePagination as wo, useDataView as So, useSelection as xo, useSelectHierarchyItem as xa, useDataViewContainerStyle as _a, useCommandColumn as ka, useColumn as Fa, useSort as Ta, useGroupColumn as Ea, useEdit as _o, useVisualDataBound as ko, useVisualDataCell as Fo, useVisualDataRow as To, useVisualData as Eo, useCellPosition as Ia, useSidebar as Oa, useVirtualScroll as Ba, useFitColumn as Ma, useFilterHistory as Ra, useColumnFilter as Pa, useRow as Va, useDragColumn as Na, getColumnHeader as Da, getSidebar as Aa, getDisableMask as $a, getHorizontalScrollbar as ja, getVerticalScrollbar as La, getEmpty as Ha, useVisualGroupRow as Wa, useVisualSummaryRow as qa } from "../data-view/index.esm.js";
72
+ import ba from "../popover/index.esm.js";
73
+ import { useResizeObserver as yo } from "@vueuse/core";
74
+ import { useLoading as Ca, useIdentify as bo, useGroupData as Co, useFilter as wa, useHierarchy as wo, usePagination as So, useDataView as xo, useSelection as _o, useSelectHierarchyItem as Sa, useDataViewContainerStyle as xa, useCommandColumn as _a, useColumn as ka, useSort as Fa, useGroupColumn as Ta, useEdit as ko, useVisualDataBound as Fo, useVisualDataCell as To, useVisualDataRow as Eo, useVisualData as Io, useCellPosition as Ea, useSidebar as Ia, useVirtualScroll as Oa, useFitColumn as Ba, useFilterHistory as Ma, useColumnFilter as Pa, useRow as Ra, useDragColumn as Va, getColumnHeader as Na, getSidebar as Da, getDisableMask as Aa, getHorizontalScrollbar as $a, getVerticalScrollbar as ja, getEmpty as La, useVisualGroupRow as Ha, useVisualSummaryRow as Wa } from "../data-view/index.esm.js";
76
75
  import "../condition/index.esm.js";
77
- const Pt = {}, Io = {};
76
+ const Rt = {}, Oo = {};
78
77
  function Fn(e) {
79
78
  const { properties: t, title: n, ignore: o } = e, r = o && Array.isArray(o), i = Object.keys(t).reduce((a, s) => ((!r || !o.find((u) => u === s)) && (a[s] = t[s].type === "object" && t[s].properties ? Fn(t[s]) : Ce(t[s].default)), a), {});
80
79
  if (n && (!r || !o.find((a) => a === "id"))) {
@@ -83,18 +82,32 @@ function Fn(e) {
83
82
  }
84
83
  return i;
85
84
  }
86
- function Oo(e, t = {}, n) {
87
- const o = Pt[e];
85
+ function qa(e) {
86
+ const { properties: t, title: n, required: o } = e;
87
+ if (o && Array.isArray(o)) {
88
+ const r = o.reduce((i, a) => (i[a] = t[a].type === "object" && t[a].properties ? Fn(t[a]) : Ce(t[a].default), i), {});
89
+ if (n && o.find((i) => i === "id")) {
90
+ const i = n.toLowerCase().replace(/-/g, "_");
91
+ r.id = `${i}_${Math.random().toString().slice(2, 6)}`;
92
+ }
93
+ return r;
94
+ }
95
+ return {
96
+ type: n
97
+ };
98
+ }
99
+ function Bo(e, t = {}, n) {
100
+ const o = Rt[e];
88
101
  if (o) {
89
- let r = Fn(o);
90
- const i = Io[e];
91
- return r = i ? i({ getSchemaByType: Oo }, r, t, n) : r, r;
102
+ let r = qa(o);
103
+ const i = Oo[e];
104
+ return r = i ? i({ getSchemaByType: Bo }, r, t, n) : r, r;
92
105
  }
93
106
  return null;
94
107
  }
95
108
  function dn(e, t) {
96
109
  const n = Fn(t);
97
- return Object.keys(n).reduce((o, r) => (o[r] && Wn(o[r]) && Wn(e[r] || !e[r]) ? Object.assign(o[r], e[r] || {}) : o[r] = e[r], o), n), n;
110
+ return Object.keys(n).reduce((o, r) => (Object.prototype.hasOwnProperty.call(e, r) && (o[r] && Wn(o[r]) && Wn(e[r] || !e[r]) ? Object.assign(o[r], e[r] || {}) : o[r] = e[r]), o), n), n;
98
111
  }
99
112
  function Ga(e, t) {
100
113
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, r) => {
@@ -115,16 +128,16 @@ function Ua(e, t, n = /* @__PURE__ */ new Map()) {
115
128
  const o = dn(e, t);
116
129
  return Ga(o, n);
117
130
  }
118
- function Bo(e) {
131
+ function Mo(e) {
119
132
  var n;
120
133
  const t = e.type;
121
134
  if (t) {
122
- const o = Pt[t];
135
+ const o = Rt[t];
123
136
  if (!o)
124
137
  return e;
125
138
  const r = dn(e, o), i = ((n = e.editor) == null ? void 0 : n.type) || "";
126
139
  if (i) {
127
- const a = Pt[i], s = dn(e.editor, a);
140
+ const a = Rt[i], s = dn(e.editor, a);
128
141
  r.editor = s;
129
142
  }
130
143
  return r;
@@ -185,12 +198,12 @@ function za(e = {}) {
185
198
  }
186
199
  return { parseValueSchema: u };
187
200
  }
188
- const Ka = {
201
+ const Xa = {
189
202
  convertTo: (e, t, n, o) => {
190
203
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
191
204
  },
192
205
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
193
- }, Xa = {
206
+ }, Ka = {
194
207
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
195
208
  }, Ja = {
196
209
  convertTo: (e, t, n, o) => {
@@ -274,8 +287,8 @@ const Ka = {
274
287
  e[t] = n;
275
288
  }
276
289
  }, Ht = {}, fn = /* @__PURE__ */ new Map([
277
- ["/converter/appearance.converter", Ka],
278
- ["/converter/buttons.converter", Xa],
290
+ ["/converter/appearance.converter", Xa],
291
+ ["/converter/buttons.converter", Ka],
279
292
  ["/converter/property-editor.converter", Ja],
280
293
  ["/converter/items-count.converter", nl],
281
294
  ["/converter/type.converter", Ya],
@@ -308,14 +321,14 @@ const Ka = {
308
321
  ["number", { type: "number-spinner" }],
309
322
  ["events-editor", { type: "events-editor", hide: !0 }]
310
323
  ]), al = za();
311
- function Mo(e, t) {
324
+ function Po(e, t) {
312
325
  return () => al.parseValueSchema(e, t);
313
326
  }
314
327
  function ll(e, t, n) {
315
- return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : Mo(t.visible, n) : () => !0;
328
+ return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : Po(t.visible, n) : () => !0;
316
329
  }
317
330
  function sl(e, t, n) {
318
- return e.includes("readonly") && t.readonly !== void 0 ? typeof t.readonly == "boolean" ? () => !!t.readonly : Mo(t.readonly, n) : () => !1;
331
+ return e.includes("readonly") && t.readonly !== void 0 ? typeof t.readonly == "boolean" ? () => !!t.readonly : Po(t.readonly, n) : () => !1;
319
332
  }
320
333
  function ul(e, t) {
321
334
  const n = e.$converter || t;
@@ -327,7 +340,7 @@ function Tn(e, t, n, o, r, i = "", a = "") {
327
340
  w.readonly = y();
328
341
  const S = l.type === "cascade" ? Tn(l.properties, t, n, o, r, i, a) : [], k = !0;
329
342
  let x = ul(l, a);
330
- const F = P({
343
+ const F = R({
331
344
  get() {
332
345
  if (c.value) {
333
346
  if (["class", "style"].find((E) => E === d) && !x && (x = fn.get("/converter/appearance.converter") || null), x && x.convertFrom)
@@ -345,7 +358,7 @@ function Tn(e, t, n, o, r, i = "", a = "") {
345
358
  });
346
359
  }
347
360
  function cl(e, t, n, o, r = "") {
348
- const i = t.$ref.schema, a = t.$ref.converter, s = n[i], u = s.type, c = Bo(s), d = {}, l = Ht[u];
361
+ const i = t.$ref.schema, a = t.$ref.converter, s = n[i], u = s.type, c = Mo(s), d = {}, l = Ht[u];
349
362
  if (l && l.categories) {
350
363
  const f = l.categories[e], m = f == null ? void 0 : f.title;
351
364
  a && Object.keys(f.properties).forEach((w) => {
@@ -357,7 +370,7 @@ function cl(e, t, n, o, r = "") {
357
370
  return { categoryId: e, categoryName: "", properties: [] };
358
371
  }
359
372
  function tn(e, t, n, o, r) {
360
- const i = e.type, a = Bo(e), s = {};
373
+ const i = e.type, a = Mo(e), s = {};
361
374
  let u = r || Ht[i];
362
375
  if (u && Object.keys(u).length === 0 && n && n.getPropConfig && (u = n.getPropConfig(o)), u && u.categories) {
363
376
  const c = [];
@@ -374,7 +387,7 @@ function tn(e, t, n, o, r) {
374
387
  return [];
375
388
  }
376
389
  function Ge(e, t, n = /* @__PURE__ */ new Map(), o = (a, s, u, c) => s, r = {}, i = (a) => a) {
377
- return Pt[t.title] = t, Io[t.title] = o, Ht[t.title] = r, rl[t.title] = i, (a = {}) => {
390
+ return Rt[t.title] = t, Oo[t.title] = o, Ht[t.title] = r, rl[t.title] = i, (a = {}) => {
378
391
  const s = Ua(a, t, n), u = Object.keys(e).reduce((c, d) => (c[d] = e[d].default, c), {});
379
392
  return Object.assign(u, s);
380
393
  };
@@ -651,7 +664,7 @@ class wl {
651
664
  throw new Error("Method not implemented.");
652
665
  }
653
666
  isEmpty() {
654
- return !this.displayText && !this.value;
667
+ return !this.displayText && !this.value.length;
655
668
  }
656
669
  }
657
670
  class Sl {
@@ -772,7 +785,7 @@ class Fl {
772
785
  this.value = isNaN(parseFloat(t)) ? null : t;
773
786
  }
774
787
  isEmpty() {
775
- return this.value == null;
788
+ return this.value == null || isNaN(this.value);
776
789
  }
777
790
  }
778
791
  class Tl {
@@ -815,7 +828,7 @@ class Ro {
815
828
  return !this.value;
816
829
  }
817
830
  }
818
- function Po() {
831
+ function Vo() {
819
832
  function e(t, n) {
820
833
  switch (t) {
821
834
  case "check-box":
@@ -853,7 +866,7 @@ function Po() {
853
866
  return { createConditionValue: e };
854
867
  }
855
868
  function On(e, t) {
856
- const n = C(e.fields), o = C([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = Po();
869
+ const n = C(e.fields), o = C([]), r = /* @__PURE__ */ new Map(), { createConditionValue: i } = Vo();
857
870
  function a(d) {
858
871
  switch (d.editor ? d.editor.type : "input-group") {
859
872
  case "date-range":
@@ -884,7 +897,7 @@ function On(e, t) {
884
897
  }
885
898
  return { convertToSingleControl: s, fields: n, fieldMap: r, fieldConditions: o, loadFieldConfigs: u, initialConditionValue: c };
886
899
  }
887
- function Vo(e, t, n) {
900
+ function No(e, t, n) {
888
901
  const o = C(null), r = C(n), i = C(0);
889
902
  function a(d, l) {
890
903
  let f = null;
@@ -905,7 +918,7 @@ function Vo(e, t, n) {
905
918
  let f = "col-12";
906
919
  return d > 250 * 6 ? f = "col-2" : d > 250 * 4 ? f = "col-3" : d > 250 * 3 ? f = "col-4" : d > 250 * 2 && (f = "col-6"), f;
907
920
  }
908
- const c = P(() => u(i.value));
921
+ const c = R(() => u(i.value));
909
922
  return te([n], ([d]) => {
910
923
  r.value = d, s();
911
924
  }), {
@@ -922,7 +935,7 @@ const Vt = /* @__PURE__ */ ge({
922
935
  initialConditionValue: s,
923
936
  fieldMap: u,
924
937
  loadFieldConfigs: c
925
- } = a, d = Vo(e, t, n), {
938
+ } = a, d = No(e, t, n), {
926
939
  conditionClass: l,
927
940
  resizeObserver: f
928
941
  } = d;
@@ -932,19 +945,19 @@ const Vt = /* @__PURE__ */ ge({
932
945
  }), te(() => e.conditions, () => {
933
946
  i.value = e.conditions, s(i.value);
934
947
  });
935
- const m = P(() => ({
948
+ const m = R(() => ({
936
949
  // row: true,
937
950
  "f-utils-flex-row-wrap": !0,
938
951
  "farris-form": !0,
939
952
  "farris-form-controls-inline": r.value
940
- })), p = P(() => l.value);
953
+ })), p = R(() => l.value);
941
954
  function v(g, y) {
942
955
  t.emit("valueChange", g, y);
943
956
  }
944
957
  function w() {
945
958
  return i.value.map((g) => {
946
959
  var y;
947
- return h(Jr, {
960
+ return h(Yr, {
948
961
  customClass: p.value,
949
962
  label: g.fieldName,
950
963
  editor: (y = u.get(g.fieldCode)) == null ? void 0 : y.editor,
@@ -1108,7 +1121,7 @@ function Bl(e, t, n, o) {
1108
1121
  function Ml(e, t, n) {
1109
1122
  return t;
1110
1123
  }
1111
- const Rl = "https://json-schema.org/draft/2020-12/schema", Pl = "https://farris-design.gitee.io/response-form.schema.json", Vl = "response-form", Nl = "A Farris Data Collection Component", Dl = "object", Al = {
1124
+ const Pl = "https://json-schema.org/draft/2020-12/schema", Rl = "https://farris-design.gitee.io/response-form.schema.json", Vl = "response-form", Nl = "A Farris Data Collection Component", Dl = "object", Al = {
1112
1125
  id: {
1113
1126
  description: "The unique identifier for a form group",
1114
1127
  type: "string"
@@ -1138,10 +1151,11 @@ const Rl = "https://json-schema.org/draft/2020-12/schema", Pl = "https://farris-
1138
1151
  }
1139
1152
  }, $l = [
1140
1153
  "id",
1141
- "type"
1154
+ "type",
1155
+ "contents"
1142
1156
  ], jl = {
1143
- $schema: Rl,
1144
- $id: Pl,
1157
+ $schema: Pl,
1158
+ $id: Rl,
1145
1159
  title: Vl,
1146
1160
  description: Nl,
1147
1161
  type: Dl,
@@ -1182,7 +1196,8 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
1182
1196
  },
1183
1197
  editor: {
1184
1198
  description: "",
1185
- type: "obejct"
1199
+ type: "obejct",
1200
+ default: {}
1186
1201
  },
1187
1202
  label: {
1188
1203
  description: "",
@@ -1198,17 +1213,18 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
1198
1213
  type: "object",
1199
1214
  default: {}
1200
1215
  }
1201
- }, Kl = [
1216
+ }, Xl = [
1202
1217
  "id",
1203
- "type"
1204
- ], No = {
1218
+ "type",
1219
+ "editor"
1220
+ ], Do = {
1205
1221
  $schema: Hl,
1206
1222
  $id: Wl,
1207
1223
  title: ql,
1208
1224
  description: Gl,
1209
1225
  type: Ul,
1210
1226
  properties: zl,
1211
- required: Kl
1227
+ required: Xl
1212
1228
  }, Wt = {
1213
1229
  id: { type: String, default: "" },
1214
1230
  customClass: { type: String, default: "" },
@@ -1226,7 +1242,7 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
1226
1242
  };
1227
1243
  Ge(
1228
1244
  Wt,
1229
- No,
1245
+ Do,
1230
1246
  Bn,
1231
1247
  void 0
1232
1248
  );
@@ -1270,7 +1286,7 @@ function Mn(e, t, n) {
1270
1286
  }
1271
1287
  function w(x, F) {
1272
1288
  const { componentType: T } = x;
1273
- let _ = Oo(T, x, F);
1289
+ let _ = Bo(T, x, F);
1274
1290
  n && n.onResolveNewComponentSchema && (_ = n.onResolveNewComponentSchema(x, _));
1275
1291
  const b = T.toLowerCase().replace(/-/g, "_");
1276
1292
  return _ && !_.id && _.type === T && (_.id = `${b}_${Math.random().toString().slice(2, 6)}`), _;
@@ -1315,7 +1331,7 @@ function Mn(e, t, n) {
1315
1331
  onRemoveComponent: S
1316
1332
  }, i;
1317
1333
  }
1318
- class Do {
1334
+ class Ao {
1319
1335
  constructor(t, n) {
1320
1336
  H(this, "componentId");
1321
1337
  H(this, "viewModelId");
@@ -1411,7 +1427,7 @@ class Do {
1411
1427
  o.contents.splice(r, 1), o.contents.splice(r, 0, i);
1412
1428
  }
1413
1429
  }
1414
- class Xl {
1430
+ class Kl {
1415
1431
  constructor() {
1416
1432
  /** 控件标题 */
1417
1433
  H(this, "label", "");
@@ -1462,7 +1478,7 @@ function Jl(e) {
1462
1478
  return;
1463
1479
  }
1464
1480
  p && (f += 1, p = !1);
1465
- const w = v.appearance && v.appearance.class, g = new Xl();
1481
+ const w = v.appearance && v.appearance.class, g = new Kl();
1466
1482
  w ? i(w, g) : g.isSupportedClass = !1, g.label = v.label || v.id, g.id = v.id, g.group = f, m && (g.fieldSetId = d.id), n === v.id && (t = f), o.set(v.id, v), l.push(g);
1467
1483
  });
1468
1484
  }
@@ -1522,7 +1538,7 @@ const Yl = {
1522
1538
  required: { type: Boolean, default: !1 },
1523
1539
  text: { type: String, default: "" },
1524
1540
  title: { type: String }
1525
- }, Ao = /* @__PURE__ */ ge({
1541
+ }, $o = /* @__PURE__ */ ge({
1526
1542
  name: "FDynamicFormLabel",
1527
1543
  props: Yl,
1528
1544
  emits: [],
@@ -1745,7 +1761,6 @@ const es = "https://json-schema.org/draft/2020-12/schema", ts = "https://farris-
1745
1761
  default: ""
1746
1762
  }
1747
1763
  }, as = [
1748
- "id",
1749
1764
  "type"
1750
1765
  ], ls = [
1751
1766
  "id",
@@ -1761,7 +1776,7 @@ const es = "https://json-schema.org/draft/2020-12/schema", ts = "https://farris-
1761
1776
  properties: is,
1762
1777
  required: as,
1763
1778
  ignore: ls
1764
- }, Rn = {
1779
+ }, Pn = {
1765
1780
  id: { Type: String, default: "" },
1766
1781
  /** 是否自动完成 */
1767
1782
  autocomplete: { Type: String, default: "off" },
@@ -1829,16 +1844,16 @@ const es = "https://json-schema.org/draft/2020-12/schema", ts = "https://farris-
1829
1844
  */
1830
1845
  updateOn: { type: String, default: "blur" }
1831
1846
  };
1832
- Ge(Rn, ss, Ql, Zl);
1833
- function $o(e, t) {
1834
- const n = C(e.groupText), o = P(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = P(() => e.enableClear || !!e.groupText);
1835
- return { appendedButtonClass: P(() => ({
1847
+ Ge(Pn, ss, Ql, Zl);
1848
+ function jo(e, t) {
1849
+ const n = C(e.groupText), o = R(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), r = R(() => e.enableClear || !!e.groupText);
1850
+ return { appendedButtonClass: R(() => ({
1836
1851
  "input-group-append": !0,
1837
1852
  "append-force-show": o.value
1838
1853
  })), appendedContent: n, shouldShowAppendedButton: r };
1839
1854
  }
1840
- function jo(e, t, n, o) {
1841
- const { appendedContent: r } = o, i = C(e.enableViewPassword), a = P(() => e.type === "password"), s = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', c = C(!1);
1855
+ function Lo(e, t, n, o) {
1856
+ const { appendedContent: r } = o, i = C(e.enableViewPassword), a = R(() => e.type === "password"), s = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', c = C(!1);
1842
1857
  te(() => [e.readonly, e.disabled], ([f, m]) => {
1843
1858
  a.value && (n.value = f || m ? "password" : n.value, r.value = f || m ? u : r.value);
1844
1859
  });
@@ -1857,10 +1872,10 @@ function us(e, t, n) {
1857
1872
  onInput: a,
1858
1873
  onKeyDown: s,
1859
1874
  textBoxValue: u
1860
- } = n, c = P(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = P(() => ({
1875
+ } = n, c = R(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), d = R(() => ({
1861
1876
  "form-control": !0,
1862
1877
  "f-utils-fill": !0
1863
- })), l = P(() => ({
1878
+ })), l = R(() => ({
1864
1879
  "text-align": e.textAlign
1865
1880
  }));
1866
1881
  function f(v) {
@@ -1896,18 +1911,18 @@ function cs(e, t, n) {
1896
1911
  canUpward: r,
1897
1912
  onClickDownButton: i,
1898
1913
  onClickUpButton: a
1899
- } = n, s = P(() => ({
1914
+ } = n, s = R(() => ({
1900
1915
  "input-group-append": !0,
1901
1916
  "btn-group": !0,
1902
1917
  "btn-group-number": !0
1903
- })), u = P(() => ({
1918
+ })), u = R(() => ({
1904
1919
  btn: !0,
1905
1920
  "btn-secondary": !0,
1906
1921
  "btn-number-flag": !0
1907
- })), c = P(() => ({
1922
+ })), c = R(() => ({
1908
1923
  cursor: r() ? "pointer" : "not-allowed",
1909
1924
  "margin-left": 0
1910
- })), d = P(() => ({
1925
+ })), d = R(() => ({
1911
1926
  cursor: o() ? "pointer" : "not-allowed",
1912
1927
  "margin-left": 0
1913
1928
  }));
@@ -1932,7 +1947,7 @@ function cs(e, t, n) {
1932
1947
  }, null)])]);
1933
1948
  }
1934
1949
  function ds(e, t) {
1935
- const n = li(e, t), o = si(e, t, n), r = ui(e, t, o, n), i = ci(e, t, o, n, r), a = cs(e, t, r), {
1950
+ const n = si(e, t), o = ui(e, t, n), r = ci(e, t, o, n), i = di(e, t, o, n, r), a = cs(e, t, r), {
1936
1951
  displayValue: s,
1937
1952
  modelValue: u,
1938
1953
  getRealValue: c
@@ -1940,7 +1955,7 @@ function ds(e, t) {
1940
1955
  format: l
1941
1956
  } = o, {
1942
1957
  isFocus: f
1943
- } = i, m = P(() => !e.disabled && !e.readonly);
1958
+ } = i, m = R(() => !e.disabled && !e.readonly);
1944
1959
  return Me(() => {
1945
1960
  const p = c(e.modelValue);
1946
1961
  s.value = l(p);
@@ -2002,7 +2017,7 @@ function fs(e, t, n, o) {
2002
2017
  }, null);
2003
2018
  }
2004
2019
  function ps(e, t) {
2005
- const n = P(() => e.useExtendInfo && !!e.extendInfo), o = et({
2020
+ const n = R(() => e.useExtendInfo && !!e.extendInfo), o = et({
2006
2021
  content: e.extendInfo
2007
2022
  });
2008
2023
  function r() {
@@ -2015,13 +2030,13 @@ function ps(e, t) {
2015
2030
  class: "f-icon f-icon-info-circle"
2016
2031
  }, null), h("b", {
2017
2032
  class: "tips-arrow"
2018
- }, null)]), [[Ar("tooltip"), o]]);
2033
+ }, null)]), [[$r("tooltip"), o]]);
2019
2034
  }
2020
- function Lo(e, t, n, o, r) {
2035
+ function Ho(e, t, n, o, r) {
2021
2036
  const {
2022
2037
  appendedButtonClass: i,
2023
2038
  appendedContent: a
2024
- } = n, s = P(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = P(() => a.value && !t.slots.groupTextTemplate), c = P(() => !!t.slots.groupTextTemplate), {
2039
+ } = n, s = R(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = R(() => a.value && !t.slots.groupTextTemplate), c = R(() => !!t.slots.groupTextTemplate), {
2025
2040
  clearButtonClass: d,
2026
2041
  clearButtonStyle: l,
2027
2042
  onClearValue: f,
@@ -2071,19 +2086,19 @@ function Lo(e, t, n, o, r) {
2071
2086
  }
2072
2087
  const ms = /* @__PURE__ */ ge({
2073
2088
  name: "FInputGroup",
2074
- props: Rn,
2089
+ props: Pn,
2075
2090
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2076
2091
  setup(e, t) {
2077
- const n = C(e.modelValue), o = C(e.modelValue), r = Zr(e, t, n, o), {
2092
+ const n = C(e.modelValue), o = C(e.modelValue), r = ei(e, t, n, o), {
2078
2093
  inputGroupClass: i,
2079
2094
  inputType: a,
2080
2095
  inputGroupStyle: s
2081
- } = r, u = $o(e), {
2096
+ } = r, u = jo(e), {
2082
2097
  shouldShowAppendedButton: c
2083
2098
  } = u, d = ho(e, t, r), {
2084
2099
  onMouseEnter: l,
2085
2100
  onMouseLeave: f
2086
- } = d, m = jo(e, t, a, u), p = ds(e, t), v = fs(e, t, m, r), w = Lo(e, t, u, d, m), g = ps(e, t), y = P(() => e.type === "number");
2101
+ } = d, m = Lo(e, t, a, u), p = ds(e, t), v = fs(e, t, m, r), w = Ho(e, t, u, d, m), g = ps(e, t), y = R(() => e.type === "number");
2087
2102
  te(() => [e.value], ([k]) => {
2088
2103
  n.value = k, o.value = k;
2089
2104
  }), te(() => [e.modelValue], ([k]) => {
@@ -2103,7 +2118,7 @@ const ms = /* @__PURE__ */ ge({
2103
2118
  }), Y = {}, Q = {}, Z = {}, ee = {};
2104
2119
  let zn = !1;
2105
2120
  function hs() {
2106
- zn || (zn = !0, fi.register(Y, Q, Z, ee), di.register(Y, Q, Z, ee), pi.register(Y, Q, Z, ee), mi.register(Y, Q, Z, ee), hi.register(Y, Q, Z, ee), vi.register(Y, Q, Z, ee), gi.register(Y, Q, Z, ee), cn.register(Y, Q, Z, ee), yi.register(Y, Q, Z, ee), bi.register(Y, Q, Z, ee), wi.register(Y, Q, Z, ee), Ci.register(Y, Q, Z, ee), Si.register(Y, Q, Z, ee), xi.register(Y, Q, Z, ee), _i.register(Y, Q, Z, ee), Xr.register(Y, Q, Z, ee), ki.register(Y, Q, Z, ee), Fi.register(Y, Q, Z, ee), Ti.register(Y, Q, Z, ee), Ii.register(Y, Q, Z, ee), Oi.register(Y, Q, Z, ee), Mi.register(Y, Q, Z, ee), Pi.register(Y, Q, Z, ee), Ri.register(Y, Q, Z, ee), Vi.register(Y, Q, Z, ee), Ni.register(Y, Q, Z, ee), Di.register(Y, Q, Z, ee), Ai.register(Y, Q, Z, ee), ai.register(Y, Q, Z, ee), $i.register(Y, Q, Z, ee), ji.register(Y, Q, Z, ee), Li.register(Y, Q, Z, ee), Hi.register(Y, Q, Z, ee), Wi.register(Y, Q, Z, ee), qi.register(Y, Q, Z, ee), Gi.register(Y, Q, Z, ee), Ui.register(Y, Q, Z, ee), Ki.register(Y, Q, Z, ee), Xi.register(Y, Q, Z, ee), zi.register(Y, Q, Z, ee), pa.register(Y, Q, Z), Ji.register(Y, Q, Z, ee), Yi.register(Y, Q, Z, ee), Qi.register(Y, Q, Z, ee), Zi.register(Y, Q, Z, ee), ea.register(Y, Q, Z, ee), ta.register(Y, Q, Z, ee), na.register(Y, Q, Z, ee), vo.register(Y, Q, Z, ee), oa.register(Y, Q, Z, ee), ra.register(Y, Q, Z, ee), ia.register(Y, Q, Z, ee), la.register(Y, Q, Z, ee), ua.register(Y, Q, Z, ee), sa.register(Y, Q, Z, ee), ca.register(Y, Q, Z, ee), da.register(Y, Q, Z, ee), fa.register(Y, Q, Z, ee), ma.register(Y, Q, Z, ee), Ei.register(Y, Q, Z, ee), ha.register(Y, Q, Z, ee));
2121
+ zn || (zn = !0, pi.register(Y, Q, Z, ee), fi.register(Y, Q, Z, ee), mi.register(Y, Q, Z, ee), hi.register(Y, Q, Z, ee), vi.register(Y, Q, Z, ee), gi.register(Y, Q, Z, ee), yi.register(Y, Q, Z, ee), cn.register(Y, Q, Z, ee), bi.register(Y, Q, Z, ee), Ci.register(Y, Q, Z, ee), Si.register(Y, Q, Z, ee), wi.register(Y, Q, Z, ee), xi.register(Y, Q, Z, ee), _i.register(Y, Q, Z, ee), ki.register(Y, Q, Z, ee), Jr.register(Y, Q, Z, ee), Fi.register(Y, Q, Z, ee), Ti.register(Y, Q, Z, ee), Ei.register(Y, Q, Z, ee), Oi.register(Y, Q, Z, ee), Bi.register(Y, Q, Z, ee), Pi.register(Y, Q, Z, ee), Vi.register(Y, Q, Z, ee), Ri.register(Y, Q, Z, ee), Ni.register(Y, Q, Z, ee), Di.register(Y, Q, Z, ee), Ai.register(Y, Q, Z, ee), $i.register(Y, Q, Z, ee), li.register(Y, Q, Z, ee), ji.register(Y, Q, Z, ee), Li.register(Y, Q, Z, ee), Hi.register(Y, Q, Z, ee), Wi.register(Y, Q, Z, ee), qi.register(Y, Q, Z, ee), Gi.register(Y, Q, Z, ee), vo.register(Y, Q, Z, ee), Ui.register(Y, Q, Z, ee), Xi.register(Y, Q, Z, ee), Ki.register(Y, Q, Z, ee), zi.register(Y, Q, Z, ee), pa.register(Y, Q, Z), Ji.register(Y, Q, Z, ee), Yi.register(Y, Q, Z, ee), Qi.register(Y, Q, Z, ee), Zi.register(Y, Q, Z, ee), ea.register(Y, Q, Z, ee), ta.register(Y, Q, Z, ee), na.register(Y, Q, Z, ee), go.register(Y, Q, Z, ee), oa.register(Y, Q, Z, ee), ra.register(Y, Q, Z, ee), ia.register(Y, Q, Z, ee), la.register(Y, Q, Z, ee), ua.register(Y, Q, Z, ee), sa.register(Y, Q, Z, ee), ca.register(Y, Q, Z, ee), da.register(Y, Q, Z, ee), fa.register(Y, Q, Z, ee), ma.register(Y, Q, Z, ee), Ii.register(Y, Q, Z, ee), ha.register(Y, Q, Z, ee));
2107
2122
  }
2108
2123
  function vs() {
2109
2124
  hs();
@@ -2188,7 +2203,7 @@ function vs() {
2188
2203
  }
2189
2204
  return { resolveEditorProps: t, resolveEditorType: e, getChangeFunctionName: n, getClearFunctionName: o };
2190
2205
  }
2191
- const Ho = /* @__PURE__ */ ge({
2206
+ const Wo = /* @__PURE__ */ ge({
2192
2207
  name: "FDynamicFormGroup",
2193
2208
  props: Wt,
2194
2209
  emits: ["change", "update:modelValue"],
@@ -2200,7 +2215,7 @@ const Ho = /* @__PURE__ */ ge({
2200
2215
  resolveEditorType: m,
2201
2216
  getChangeFunctionName: p,
2202
2217
  getClearFunctionName: v
2203
- } = vs(), w = P(() => ({
2218
+ } = vs(), w = R(() => ({
2204
2219
  "form-group": !0,
2205
2220
  "farris-form-group": !0,
2206
2221
  "common-group": !0,
@@ -2212,7 +2227,7 @@ const Ho = /* @__PURE__ */ ge({
2212
2227
  function y() {
2213
2228
  t.emit("update:modelValue", "");
2214
2229
  }
2215
- const S = P(() => {
2230
+ const S = R(() => {
2216
2231
  const k = r.value.type || "input-group", x = m(k), F = f(k, r.value), T = p(k), _ = v(r.value.type);
2217
2232
  return _ && (F[_] = y), F[T] = g, (F.id == null || F.id === "") && (F.id = n.value), () => h(x, nt({
2218
2233
  ref: l
@@ -2233,7 +2248,7 @@ const Ho = /* @__PURE__ */ ge({
2233
2248
  class: "farris-group-wrap"
2234
2249
  }, [h("div", {
2235
2250
  class: w.value
2236
- }, [c.value && h(Ao, {
2251
+ }, [c.value && h($o, {
2237
2252
  id: `${n.value}-lable`,
2238
2253
  required: u.value,
2239
2254
  text: i.value,
@@ -2242,7 +2257,7 @@ const Ho = /* @__PURE__ */ ge({
2242
2257
  class: "farris-input-wrap"
2243
2258
  }, [S.value()])])])]);
2244
2259
  }
2245
- }), Wo = {}, qo = {}, ht = class ht {
2260
+ }), qo = {}, Go = {}, ht = class ht {
2246
2261
  /**
2247
2262
  * 根据绑定字段类型获取可用的输入类控件
2248
2263
  */
@@ -2341,7 +2356,7 @@ function ys(e) {
2341
2356
  }
2342
2357
  }
2343
2358
  }
2344
- class Go extends Do {
2359
+ class Uo extends Ao {
2345
2360
  constructor(n, o) {
2346
2361
  super(n, o);
2347
2362
  H(this, "responseLayoutEditorFunction");
@@ -2353,7 +2368,7 @@ class Go extends Do {
2353
2368
  getBasicProperties(n, o) {
2354
2369
  var i;
2355
2370
  const r = this;
2356
- return this.setDesignViewModelField(n), this.formSchemaUtils.getFormMetadataBasicInfo(), {
2371
+ return this.setDesignViewModelField(n), {
2357
2372
  description: "Basic Information",
2358
2373
  title: "基本信息",
2359
2374
  properties: {
@@ -2576,7 +2591,7 @@ class Go extends Do {
2576
2591
  return Array.from(o).length === 1;
2577
2592
  }
2578
2593
  }
2579
- class bs extends Go {
2594
+ class bs extends Uo {
2580
2595
  constructor(t, n) {
2581
2596
  super(t, n);
2582
2597
  }
@@ -2590,23 +2605,23 @@ function Cs(e, t) {
2590
2605
  }
2591
2606
  const ws = /* @__PURE__ */ ge({
2592
2607
  name: "FInputGroupDesign",
2593
- props: Rn,
2608
+ props: Pn,
2594
2609
  emits: ["updateExtendInfo", "clear", "valueChange", "clickHandle", "blurHandle", "focusHandle", "enterHandle", "iconMouseEnter", "iconMouseLeave", "keyupHandle", "keydownHandle", "inputClick"],
2595
2610
  setup(e, t) {
2596
- const n = C(e.modelValue), o = C(e.modelValue), r = ei(e, t, n, o), {
2611
+ const n = C(e.modelValue), o = C(e.modelValue), r = ti(e, t, n, o), {
2597
2612
  inputGroupClass: i,
2598
2613
  inputType: a,
2599
2614
  inputGroupStyle: s
2600
- } = r, u = $o(e), {
2615
+ } = r, u = jo(e), {
2601
2616
  shouldShowAppendedButton: c
2602
2617
  } = u, d = ho(e, t, r), {
2603
2618
  onMouseEnter: l,
2604
2619
  onMouseLeave: f
2605
- } = d, m = jo(e, t, a, u), p = C(), v = Ae("designer-host-service"), w = Ae("design-item-context"), g = Cs(w, v), y = Qr(p, w, g);
2620
+ } = d, m = Lo(e, t, a, u), p = C(), v = Ae("designer-host-service"), w = Ae("design-item-context"), g = Cs(w, v), y = Zr(p, w, g);
2606
2621
  Me(() => {
2607
2622
  p.value.componentInstance = y;
2608
2623
  }), t.expose(y.value);
2609
- const S = Lo(e, t, u, d, m), k = C();
2624
+ const S = Ho(e, t, u, d, m), k = C();
2610
2625
  return () => h("div", {
2611
2626
  id: "inputGroup",
2612
2627
  ref: p,
@@ -2624,11 +2639,11 @@ const ws = /* @__PURE__ */ ge({
2624
2639
  });
2625
2640
  function Ss() {
2626
2641
  function e(r, i) {
2627
- const a = qo[r];
2642
+ const a = Go[r];
2628
2643
  return a ? a(i) : {};
2629
2644
  }
2630
2645
  function t(r) {
2631
- return Wo[r] || ws;
2646
+ return qo[r] || ws;
2632
2647
  }
2633
2648
  function n(r) {
2634
2649
  }
@@ -2646,13 +2661,13 @@ const xs = /* @__PURE__ */ ge({
2646
2661
  const d = C(), {
2647
2662
  resolveEditorProps: l,
2648
2663
  resolveEditorType: f
2649
- } = Ss(), m = P(() => ({
2664
+ } = Ss(), m = R(() => ({
2650
2665
  "form-group": !0,
2651
2666
  "farris-form-group": !0,
2652
2667
  "common-group": !0,
2653
2668
  "q-state-readonly": s.value,
2654
2669
  "form-group-in-canvas": !0
2655
- })), p = P(() => {
2670
+ })), p = R(() => {
2656
2671
  const v = r.value.type || "input-group", w = f(v), g = l(v, r.value);
2657
2672
  return () => h(w, nt({
2658
2673
  ref: d
@@ -2673,7 +2688,7 @@ const xs = /* @__PURE__ */ ge({
2673
2688
  class: "farris-group-wrap"
2674
2689
  }, [h("div", {
2675
2690
  class: m.value
2676
- }, [c.value && h(Ao, {
2691
+ }, [c.value && h($o, {
2677
2692
  id: `${n.value}-lable`,
2678
2693
  required: u.value,
2679
2694
  text: i.value,
@@ -2756,7 +2771,7 @@ const ks = /* @__PURE__ */ ge({
2756
2771
  };
2757
2772
  Ge(
2758
2773
  Fs,
2759
- No,
2774
+ Do,
2760
2775
  Bn,
2761
2776
  void 0
2762
2777
  );
@@ -2780,17 +2795,17 @@ const Ts = "https://json-schema.org/draft/2020-12/schema", Es = "https://farris-
2780
2795
  type: "Object",
2781
2796
  default: null
2782
2797
  }
2783
- }, Rs = [
2798
+ }, Ps = [
2784
2799
  "id",
2785
2800
  "type"
2786
- ], Ps = {
2801
+ ], Rs = {
2787
2802
  $schema: Ts,
2788
2803
  $id: Es,
2789
2804
  title: Is,
2790
2805
  description: Os,
2791
2806
  type: Bs,
2792
2807
  properties: Ms,
2793
- required: Rs
2808
+ required: Ps
2794
2809
  }, Vs = {
2795
2810
  initialState: {
2796
2811
  type: Object,
@@ -2802,7 +2817,7 @@ const Ts = "https://json-schema.org/draft/2020-12/schema", Es = "https://farris-
2802
2817
  }
2803
2818
  }
2804
2819
  };
2805
- va(Vs, Ps, El, Ml);
2820
+ va(Vs, Rs, El, Ml);
2806
2821
  const Ns = {
2807
2822
  width: { Type: Number, default: 400 },
2808
2823
  type: { Type: String, default: "info" },
@@ -2813,12 +2828,12 @@ const Ns = {
2813
2828
  exceptionInfo: { Type: Object, default: null },
2814
2829
  promptEditorType: { Type: String, default: "text-area" }
2815
2830
  };
2816
- function Pn() {
2831
+ function Rn() {
2817
2832
  return new DOMException("The request is not allowed", "NotAllowedError");
2818
2833
  }
2819
2834
  async function Ds(e) {
2820
2835
  if (!navigator.clipboard)
2821
- throw Pn();
2836
+ throw Rn();
2822
2837
  return navigator.clipboard.writeText(e);
2823
2838
  }
2824
2839
  async function As(e) {
@@ -2833,7 +2848,7 @@ async function As(e) {
2833
2848
  n == null || n.removeAllRanges(), window.document.body.removeChild(t);
2834
2849
  }
2835
2850
  if (!r)
2836
- throw Pn();
2851
+ throw Rn();
2837
2852
  }
2838
2853
  async function $s(e) {
2839
2854
  try {
@@ -2842,7 +2857,7 @@ async function $s(e) {
2842
2857
  try {
2843
2858
  await As(e);
2844
2859
  } catch (n) {
2845
- throw n || t || Pn();
2860
+ throw n || t || Rn();
2846
2861
  }
2847
2862
  }
2848
2863
  }
@@ -2853,7 +2868,7 @@ function js() {
2853
2868
  return { onCopy: e };
2854
2869
  }
2855
2870
  function Ls(e, t, n, o) {
2856
- const r = C(14), i = C(140), a = C(""), s = C(o.value.length), u = P(() => o.value), c = P(() => ({
2871
+ const r = C(14), i = C(140), a = C(""), s = C(o.value.length), u = R(() => o.value), c = R(() => ({
2857
2872
  "font-size": `${r.value}px`,
2858
2873
  height: "100%"
2859
2874
  }));
@@ -2887,7 +2902,7 @@ function Hs(e, t, n, o) {
2887
2902
  function Ws() {
2888
2903
  const e = C(!1), t = C("复制成功");
2889
2904
  return {
2890
- feedbackStyle: P(() => {
2905
+ feedbackStyle: R(() => {
2891
2906
  const o = {
2892
2907
  position: "absolute",
2893
2908
  left: "50%",
@@ -2915,7 +2930,7 @@ function qs(e, t) {
2915
2930
  return () => n && n();
2916
2931
  }
2917
2932
  function Gs(e) {
2918
- const t = C(3), n = C(480), o = P(() => !!e.value && !!e.value.date), r = P(() => `发生时间 : ${e.value && e.value.date || ""}`), i = P(() => !!e.value && !!e.value.detail), a = P(() => {
2933
+ const t = C(3), n = C(480), o = R(() => !!e.value && !!e.value.date), r = R(() => `发生时间 : ${e.value && e.value.date || ""}`), i = R(() => !!e.value && !!e.value.detail), a = R(() => {
2919
2934
  const w = `${n.value}px`;
2920
2935
  return {
2921
2936
  overflow: "hidden",
@@ -2925,7 +2940,7 @@ function Gs(e) {
2925
2940
  "-webkit-line-clamp": t.value,
2926
2941
  "max-height": w
2927
2942
  };
2928
- }), s = P(() => e.value && e.value.detail || ""), u = P(() => !0), c = C(!1), d = C("展开"), l = C("收起"), f = P(() => {
2943
+ }), s = R(() => e.value && e.value.detail || ""), u = R(() => !0), c = C(!1), d = C("展开"), l = C("收起"), f = R(() => {
2929
2944
  const w = {
2930
2945
  display: "block",
2931
2946
  color: "#2A87FF"
@@ -2966,12 +2981,12 @@ function Us(e) {
2966
2981
  }, null);
2967
2982
  }
2968
2983
  function zs(e, t, n, o) {
2969
- const r = C(e.exceptionInfo), i = P(() => {
2984
+ const r = C(e.exceptionInfo), i = R(() => {
2970
2985
  const f = {
2971
2986
  "f-icon": !0
2972
2987
  }, m = `f-icon-${t.value}`;
2973
2988
  return f[m] = !0, f;
2974
- }), a = P(() => n.value || r.value && r.value.message), s = P(() => o.value), u = P(() => !!o.value), c = P(() => !!r.value);
2989
+ }), a = R(() => n.value || r.value && r.value.message), s = R(() => o.value), u = R(() => !!o.value), c = R(() => !!r.value);
2975
2990
  function d() {
2976
2991
  return c.value ? Gs(r) : u.value ? Us(s) : () => null;
2977
2992
  }
@@ -2987,7 +3002,7 @@ function zs(e, t, n, o) {
2987
3002
  innerHTML: a.value
2988
3003
  }, null), l()])]);
2989
3004
  }
2990
- function Ks(e, t, n) {
3005
+ function Xs(e, t, n) {
2991
3006
  const {
2992
3007
  onCopy: o
2993
3008
  } = t, {
@@ -2996,7 +3011,7 @@ function Ks(e, t, n) {
2996
3011
  date: "",
2997
3012
  message: "",
2998
3013
  detail: ""
2999
- }), u = P(() => s.value && s.value.detail || "");
3014
+ }), u = R(() => s.value && s.value.detail || "");
3000
3015
  function c(d) {
3001
3016
  o(u.value).catch((l) => {
3002
3017
  i.value = "复制失败";
@@ -3013,8 +3028,8 @@ function Ks(e, t, n) {
3013
3028
  style: "cursor: pointer;"
3014
3029
  }, [a.value])]);
3015
3030
  }
3016
- function Xs(e, t, n, o) {
3017
- const r = C(e.type), i = C([]), a = C(e.exceptionInfo), s = C(e.okButtonText), u = C(e.cancelButtonText), c = C(!0), d = C(!0), l = P(() => !!(i.value && i.value.length)), f = P(() => a.value && a.value.date && a.value.message && a.value.detail), m = P(() => !(i.value && i.value.length) && (s.value || u.value)), p = P(() => d.value && s.value), v = P(() => c.value && u.value), w = Ks(e, n, o);
3031
+ function Ks(e, t, n, o) {
3032
+ const r = C(e.type), i = C([]), a = C(e.exceptionInfo), s = C(e.okButtonText), u = C(e.cancelButtonText), c = C(!0), d = C(!0), l = R(() => !!(i.value && i.value.length)), f = R(() => a.value && a.value.date && a.value.message && a.value.detail), m = R(() => !(i.value && i.value.length) && (s.value || u.value)), p = R(() => d.value && s.value), v = R(() => c.value && u.value), w = Xs(e, n, o);
3018
3033
  function g(S) {
3019
3034
  r.value === "question" && t.emit("reject"), t.emit("close");
3020
3035
  }
@@ -3044,14 +3059,14 @@ const It = /* @__PURE__ */ ge({
3044
3059
  props: Ns,
3045
3060
  emits: ["accept", "reject", "close"],
3046
3061
  setup(e, t) {
3047
- const n = C(e.type), o = C(e.title), r = C(e.detail), i = P(() => {
3062
+ const n = C(e.type), o = C(e.title), r = C(e.detail), i = R(() => {
3048
3063
  const w = {
3049
3064
  "modal-tips": !0,
3050
3065
  "d-flex": !0,
3051
3066
  "flex-row": !0
3052
3067
  }, g = `messager-type-${n.value}`;
3053
3068
  return w[g] = !0, w;
3054
- }), a = P(() => {
3069
+ }), a = R(() => {
3055
3070
  const w = {};
3056
3071
  return n.value === "prompt" ? w.padding = "0.5rem 0.5rem 1rem 1.5rem" : n.value === "error" && (w.padding = "0.5rem 1.5rem 1rem 1.5rem"), w;
3057
3072
  }), s = js(), u = Hs(e, n, o, r), c = Ws(), {
@@ -3071,7 +3086,7 @@ const It = /* @__PURE__ */ ge({
3071
3086
  return zs(e, n, o, r);
3072
3087
  }
3073
3088
  }
3074
- const p = m(), v = Xs(e, t, s, c);
3089
+ const p = m(), v = Ks(e, t, s, c);
3075
3090
  return () => h("div", {
3076
3091
  class: "farris-messager"
3077
3092
  }, [h("section", {
@@ -3226,18 +3241,18 @@ class st {
3226
3241
  function Ys(e, t) {
3227
3242
  const n = C(), o = C(), r = C(), i = C(), a = C(), s = C(), u = C(), c = C(), d = C(), l = C(), f = C(), m = C(), p = C(e.draggable), v = C(!1);
3228
3243
  function w() {
3229
- const R = o.value || document.body, A = window.getComputedStyle(R);
3244
+ const P = o.value || document.body, A = window.getComputedStyle(P);
3230
3245
  if (!A || !n.value)
3231
3246
  return;
3232
3247
  const j = Be.getTransformInfo(n.value), N = {};
3233
3248
  u.value && (N.deltaL = n.value.offsetLeft - u.value.x, N.deltaT = n.value.offsetTop - u.value.y);
3234
3249
  const L = A.getPropertyValue("position");
3235
- N.width = R.clientWidth, N.height = R.clientHeight, N.pr = parseInt(A.getPropertyValue("padding-right"), 10), N.pb = parseInt(A.getPropertyValue("padding-bottom"), 10), N.position = A.getPropertyValue("position"), L === "static" && (R.style.position = "relative"), N.translateX = j.x, N.translateY = j.y, l.value = N;
3250
+ N.width = P.clientWidth, N.height = P.clientHeight, N.pr = parseInt(A.getPropertyValue("padding-right"), 10), N.pb = parseInt(A.getPropertyValue("padding-bottom"), 10), N.position = A.getPropertyValue("position"), L === "static" && (P.style.position = "relative"), N.translateX = j.x, N.translateY = j.y, l.value = N;
3236
3251
  }
3237
- function g(R) {
3252
+ function g(P) {
3238
3253
  if (n.value) {
3239
3254
  i.value = st.getCurrent(n.value), a.value = Be.getCurrent(n.value), s.value = i.value ? st.copy(i.value) : null, u.value = a.value ? Be.copy(a.value) : null, w();
3240
- const A = R.target.getAttribute("type") || "";
3255
+ const A = P.target.getAttribute("type") || "";
3241
3256
  c.value = {
3242
3257
  n: !!A.match(/n/),
3243
3258
  s: !!A.match(/s/),
@@ -3247,49 +3262,49 @@ function Ys(e, t) {
3247
3262
  }
3248
3263
  }
3249
3264
  function y() {
3250
- var R, A, j, N;
3265
+ var P, A, j, N;
3251
3266
  if (n.value) {
3252
3267
  const L = n.value;
3253
- c.value && ((c.value.n || c.value.s) && ((R = s.value) != null && R.height) && (L.style.height = s.value.height + "px"), (c.value.w || c.value.e) && ((A = s.value) != null && A.width) && (L.style.width = s.value.width + "px"), u.value && ((j = u.value) != null && j.x && (L.style.left = u.value.x + "px"), (N = u.value) != null && N.y && (L.style.top = u.value.y + "px")));
3268
+ c.value && ((c.value.n || c.value.s) && ((P = s.value) != null && P.height) && (L.style.height = s.value.height + "px"), (c.value.w || c.value.e) && ((A = s.value) != null && A.width) && (L.style.width = s.value.width + "px"), u.value && ((j = u.value) != null && j.x && (L.style.left = u.value.x + "px"), (N = u.value) != null && N.y && (L.style.top = u.value.y + "px")));
3254
3269
  }
3255
3270
  }
3256
3271
  function S() {
3257
- const R = e.minHeight ? e.minHeight : 1, A = e.minWidth ? e.minWidth : 1;
3258
- s.value && u.value && c.value && i.value && (s.value.height < R && (s.value.height = R, c.value.n && a.value && (u.value.y = a.value.y + (i.value.height - R))), s.value.width < A && (s.value.width = A, c.value.w && a.value && (u.value.x = a.value.x + (i.value.width - A))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, a.value && c.value.n && (u.value.y = a.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, c.value.w && a.value && (u.value.x = a.value.x + (i.value.width - e.maxWidth))));
3272
+ const P = e.minHeight ? e.minHeight : 1, A = e.minWidth ? e.minWidth : 1;
3273
+ s.value && u.value && c.value && i.value && (s.value.height < P && (s.value.height = P, c.value.n && a.value && (u.value.y = a.value.y + (i.value.height - P))), s.value.width < A && (s.value.width = A, c.value.w && a.value && (u.value.x = a.value.x + (i.value.width - A))), e.maxHeight && s.value.height > e.maxHeight && (s.value.height = e.maxHeight, a.value && c.value.n && (u.value.y = a.value.y + (i.value.height - e.maxHeight))), e.maxWidth && s.value.width > e.maxWidth && (s.value.width = e.maxWidth, c.value.w && a.value && (u.value.x = a.value.x + (i.value.width - e.maxWidth))));
3259
3274
  }
3260
3275
  function k() {
3261
3276
  if (o.value) {
3262
- const R = l.value;
3277
+ const P = l.value;
3263
3278
  if (u.value && s.value && c.value && i.value) {
3264
- const A = R.width - R.pr - R.deltaL - R.translateX - u.value.x, j = R.height - R.pb - R.deltaT - R.translateY - u.value.y;
3265
- c.value.n && u.value.y + R.translateY < 0 && a.value && (u.value.y = -R.translateY, s.value.height = i.value.height + a.value.y + R.translateY), c.value.w && u.value.x + R.translateX < 0 && a.value && (u.value.x = -R.translateX, s.value.width = i.value.width + a.value.x + R.translateX), s.value.width > A && (s.value.width = A), s.value.height > j && (s.value.height = j);
3279
+ const A = P.width - P.pr - P.deltaL - P.translateX - u.value.x, j = P.height - P.pb - P.deltaT - P.translateY - u.value.y;
3280
+ c.value.n && u.value.y + P.translateY < 0 && a.value && (u.value.y = -P.translateY, s.value.height = i.value.height + a.value.y + P.translateY), c.value.w && u.value.x + P.translateX < 0 && a.value && (u.value.x = -P.translateX, s.value.width = i.value.width + a.value.x + P.translateX), s.value.width > A && (s.value.width = A), s.value.height > j && (s.value.height = j);
3266
3281
  }
3267
3282
  }
3268
3283
  }
3269
- function x(R) {
3284
+ function x(P) {
3270
3285
  if (!r.value || !i.value || !a.value || !c.value)
3271
3286
  return;
3272
- R.subtract(r.value);
3273
- const A = R.x, j = R.y;
3287
+ P.subtract(r.value);
3288
+ const A = P.x, j = P.y;
3274
3289
  c.value.n ? (u.value.y = a.value.y + j, s.value.height = i.value.height - j) : c.value.s && (s.value.height = i.value.height + j), c.value.e ? s.value.width = i.value.width + A : c.value.w && (s.value.width = i.value.width - A, u.value.x = a.value.x + A), k(), S(), y();
3275
3290
  }
3276
- function F(R) {
3291
+ function F(P) {
3277
3292
  if (!d.value)
3278
3293
  return;
3279
- const A = Be.fromEvent(R);
3294
+ const A = Be.fromEvent(P);
3280
3295
  A && x(A);
3281
3296
  }
3282
3297
  function T() {
3283
3298
  if (n.value) {
3284
3299
  const {
3285
- width: R,
3300
+ width: P,
3286
3301
  height: A,
3287
3302
  x: j,
3288
3303
  y: N
3289
3304
  } = n.value.getBoundingClientRect(), L = Be.getTransformInfo(n.value);
3290
3305
  return {
3291
3306
  size: {
3292
- width: R,
3307
+ width: P,
3293
3308
  height: A
3294
3309
  },
3295
3310
  position: {
@@ -3300,7 +3315,7 @@ function Ys(e, t) {
3300
3315
  }
3301
3316
  return null;
3302
3317
  }
3303
- function _(R) {
3318
+ function _(P) {
3304
3319
  if (n.value) {
3305
3320
  const A = T();
3306
3321
  f.value = A;
@@ -3310,11 +3325,11 @@ function Ys(e, t) {
3310
3325
  function b() {
3311
3326
  document.addEventListener("mousemove", F), document.addEventListener("mouseup", _);
3312
3327
  }
3313
- function E(R) {
3314
- R instanceof MouseEvent && R.button === 2 || p.value && (R.stopPropagation(), R.preventDefault(), r.value = Be.fromEvent(R), d.value = R.target, g(R), b());
3328
+ function E(P) {
3329
+ P instanceof MouseEvent && P.button === 2 || p.value && (P.stopPropagation(), P.preventDefault(), r.value = Be.fromEvent(P), d.value = P.target, g(P), b());
3315
3330
  }
3316
- function O(R) {
3317
- return n.value = R, h(We, null, [h("div", {
3331
+ function O(P) {
3332
+ return n.value = P, h(We, null, [h("div", {
3318
3333
  class: "fv-resizable-handle fv-resizable-n",
3319
3334
  type: "n",
3320
3335
  onMousedown: (A) => E(A)
@@ -3348,9 +3363,9 @@ function Ys(e, t) {
3348
3363
  onMousedown: (A) => E(A)
3349
3364
  }, null)]);
3350
3365
  }
3351
- function B(R = !0) {
3366
+ function B(P = !0) {
3352
3367
  const A = o.value || document.body, j = st.getCurrent(A), N = n.value;
3353
- R && (m.value = T(), m.value.transform = N.style.transform), j && N && (s.value = j, N.style.height = s.value.height - 14 + "px", N.style.width = s.value.width - 14 + "px", N.style.left = "7px", N.style.top = "7px", N.style.transform = "", f.value = {
3368
+ P && (m.value = T(), m.value.transform = N.style.transform), j && N && (s.value = j, N.style.height = s.value.height - 14 + "px", N.style.width = s.value.width - 14 + "px", N.style.left = "7px", N.style.top = "7px", N.style.transform = "", f.value = {
3354
3369
  size: s.value,
3355
3370
  position: {
3356
3371
  x: 0,
@@ -3359,7 +3374,7 @@ function Ys(e, t) {
3359
3374
  }, p.value = !1, v.value = !0);
3360
3375
  }
3361
3376
  function V() {
3362
- var R, A;
3377
+ var P, A;
3363
3378
  if (m.value) {
3364
3379
  const j = {
3365
3380
  width: m.value.size.width || 0,
@@ -3368,7 +3383,7 @@ function Ys(e, t) {
3368
3383
  x: (window.innerWidth - j.width) / 2,
3369
3384
  y: (window.innerHeight - j.height) / 2
3370
3385
  };
3371
- (R = s.value) == null || R.set(j), (A = u.value) == null || A.set(N);
3386
+ (P = s.value) == null || P.set(j), (A = u.value) == null || A.set(N);
3372
3387
  const L = n.value;
3373
3388
  L.style.height = j.height + "px", L.style.width = j.width + "px", L.style.left = `${N.x}px`, L.style.top = `${N.y}px`, L.style.transform = "", f.value = {
3374
3389
  size: j,
@@ -3378,22 +3393,22 @@ function Ys(e, t) {
3378
3393
  }
3379
3394
  function I() {
3380
3395
  if (n.value) {
3381
- const R = st.getCurrent(n.value);
3382
- if (R) {
3396
+ const P = st.getCurrent(n.value);
3397
+ if (P) {
3383
3398
  const {
3384
3399
  width: A,
3385
3400
  height: j
3386
- } = R;
3401
+ } = P;
3387
3402
  n.value.style.left = `${(window.innerWidth - A) / 2}px`, n.value.style.top = `${(window.innerHeight - j) / 2}px`, n.value.style.transform = "";
3388
3403
  }
3389
3404
  }
3390
3405
  }
3391
3406
  function M() {
3392
- const R = () => {
3407
+ const P = () => {
3393
3408
  v.value ? B(!1) : I();
3394
3409
  };
3395
- return window.addEventListener("resize", R), () => {
3396
- window.removeEventListener("resize", R);
3410
+ return window.addEventListener("resize", P), () => {
3411
+ window.removeEventListener("resize", P);
3397
3412
  };
3398
3413
  }
3399
3414
  const D = M();
@@ -3488,7 +3503,7 @@ function Qs(e, t, n) {
3488
3503
  resetTranslate: k
3489
3504
  };
3490
3505
  }
3491
- function Uo(e, t) {
3506
+ function zo(e, t) {
3492
3507
  if (e) {
3493
3508
  const n = (o) => {
3494
3509
  o.key.toLowerCase() === e.toLowerCase() && t({ event: o, key: e });
@@ -3501,7 +3516,7 @@ function Uo(e, t) {
3501
3516
  function Zs(e, t) {
3502
3517
  const n = C(e.enableEsc);
3503
3518
  let o = null;
3504
- return n.value ? (o = Uo("Escape", (r) => {
3519
+ return n.value ? (o = zo("Escape", (r) => {
3505
3520
  t.emit("esc", { event: r.event, type: "esc" });
3506
3521
  }), {
3507
3522
  remove: o
@@ -3510,13 +3525,13 @@ function Zs(e, t) {
3510
3525
  function eu(e, t) {
3511
3526
  const n = C(e.enableEnter);
3512
3527
  let o = null;
3513
- return n.value ? (o = Uo("Enter", (r) => {
3528
+ return n.value ? (o = zo("Enter", (r) => {
3514
3529
  t.emit("enter", { event: r.event, type: "enter" });
3515
3530
  }), {
3516
3531
  remove: o
3517
3532
  }) : null;
3518
3533
  }
3519
- const zo = /* @__PURE__ */ ge({
3534
+ const Xo = /* @__PURE__ */ ge({
3520
3535
  name: "FModal",
3521
3536
  props: Js,
3522
3537
  emits: ["update:modelValue", "accept", "cancel", "closed", "resize", "esc", "enter"],
@@ -3539,12 +3554,12 @@ const zo = /* @__PURE__ */ ge({
3539
3554
  handle: (W) => {
3540
3555
  x(W, !0);
3541
3556
  }
3542
- }], T = C(e.buttons && e.buttons.length ? e.buttons : F), _ = P(() => !!c.value), b = P(() => !!w.value && !!T.value), E = C(), O = C(), B = C(!1), {
3557
+ }], T = C(e.buttons && e.buttons.length ? e.buttons : F), _ = R(() => !!c.value), b = R(() => !!w.value && !!T.value), E = C(), O = C(), B = C(!1), {
3543
3558
  renderResizeBar: V,
3544
3559
  maximize: I,
3545
3560
  restore: M,
3546
3561
  boundingElement: D,
3547
- resizedEventParam: R,
3562
+ resizedEventParam: P,
3548
3563
  allowDrag: A,
3549
3564
  unWindowResizeHandle: j
3550
3565
  } = Ys(e), {
@@ -3558,7 +3573,7 @@ const zo = /* @__PURE__ */ ge({
3558
3573
  W !== se && (u.value = W);
3559
3574
  }), te(() => e.showButtons, (W, se) => {
3560
3575
  W !== se && (w.value = W);
3561
- }), te(() => R.value, (W, se) => {
3576
+ }), te(() => P.value, (W, se) => {
3562
3577
  const Se = W || {}, Ue = se || {};
3563
3578
  JSON.stringify(Se) !== JSON.stringify(Ue) && t.emit("resize", {
3564
3579
  newSize: W,
@@ -3569,51 +3584,51 @@ const zo = /* @__PURE__ */ ge({
3569
3584
  const W = document.querySelectorAll(".farris-modal").length;
3570
3585
  (!W || W - 1 <= 0) && document.body.classList.remove("modal-open"), k.value && k.value.classList.remove("show");
3571
3586
  }
3572
- const X = P(() => (r.value ? document.body.classList.add("modal-open") : L(), r.value)), re = P(() => {
3587
+ const K = R(() => (r.value ? document.body.classList.add("modal-open") : L(), r.value)), re = R(() => {
3573
3588
  const W = {
3574
3589
  modal: !0,
3575
3590
  "farris-modal": !0,
3576
3591
  fade: !0
3577
3592
  };
3578
- return W["f-modal-fitContent"] = !!s.value, W.show = !!X.value, W;
3579
- }), de = P(() => {
3593
+ return W["f-modal-fitContent"] = !!s.value, W.show = !!K.value, W;
3594
+ }), de = R(() => {
3580
3595
  var Se;
3581
3596
  const W = {
3582
3597
  "modal-dialog": !0
3583
3598
  }, se = (Se = a.value) == null ? void 0 : Se.split(" ");
3584
3599
  return se == null || se.reduce((Ue, Qe) => (Ue[Qe] = !0, Ue), W), W;
3585
- }), Fe = P(() => ({
3600
+ }), Fe = R(() => ({
3586
3601
  position: "absolute",
3587
3602
  top: `${(window.innerHeight - o.value) / 2}px`,
3588
3603
  left: `${(window.innerWidth - n.value) / 2}px`,
3589
3604
  width: `${n.value}px`,
3590
3605
  height: s.value ? "auto" : `${o.value}px`
3591
- })), ye = P(() => ({
3606
+ })), ye = R(() => ({
3592
3607
  "modal-content": !0,
3593
3608
  "modal-content-has-header": u.value
3594
- })), Te = P(() => {
3609
+ })), Te = R(() => {
3595
3610
  const W = {
3596
3611
  display: u.value ? "" : "none"
3597
3612
  };
3598
3613
  return W["pointer-events"] = A.value ? "auto" : "none", W;
3599
- }), we = P(() => ({
3614
+ }), we = R(() => ({
3600
3615
  "f-icon": !0,
3601
3616
  modal_maximize: !0,
3602
3617
  modalrevert: B.value
3603
- })), ke = P(() => ({
3618
+ })), ke = R(() => ({
3604
3619
  "modal-body": !0,
3605
3620
  "f-utils-flex-column": m.value === "iframe"
3606
3621
  }));
3607
3622
  function ve() {
3608
3623
  return {};
3609
3624
  }
3610
- const be = P(() => {
3625
+ const be = R(() => {
3611
3626
  const W = {
3612
3627
  textAlgin: v.value
3613
3628
  }, se = ve();
3614
3629
  return Object.assign(W, se);
3615
3630
  });
3616
- function K(W) {
3631
+ function X(W) {
3617
3632
  if (W.stopPropagation(), B.value) {
3618
3633
  B.value = !1, M();
3619
3634
  return;
@@ -3628,14 +3643,14 @@ const zo = /* @__PURE__ */ ge({
3628
3643
  }
3629
3644
  let Ee = null, U = null;
3630
3645
  Me(() => {
3631
- O.value && !S.value && (S.value = O.value.parentElement, D.value = S.value, N(E.value, O.value, D.value)), X.value && document.body.classList.add("modal-open"), Ee = Zs(e, t), U = eu(e, t);
3646
+ O.value && !S.value && (S.value = O.value.parentElement, D.value = S.value, N(E.value, O.value, D.value)), K.value && document.body.classList.add("modal-open"), Ee = Zs(e, t), U = eu(e, t);
3632
3647
  }), vt(() => {
3633
3648
  L(), j && j(), Ee && Ee.remove(), U && U.remove();
3634
3649
  }), t.expose({
3635
3650
  modalElementRef: O,
3636
3651
  updateModalOptions: he,
3637
3652
  close: x,
3638
- maxDialog: K
3653
+ maxDialog: X
3639
3654
  });
3640
3655
  function q() {
3641
3656
  return h("ul", null, [f.value && h("li", {
@@ -3643,7 +3658,7 @@ const zo = /* @__PURE__ */ ge({
3643
3658
  }, [h("span", {
3644
3659
  class: "f-icon modal_minimize"
3645
3660
  }, null)]), l.value && h("li", {
3646
- onClick: K,
3661
+ onClick: X,
3647
3662
  class: "f-btn-icon f-bare",
3648
3663
  style: "pointer-events: auto;"
3649
3664
  }, [h("span", {
@@ -3693,7 +3708,7 @@ const zo = /* @__PURE__ */ ge({
3693
3708
  return () => h(po, {
3694
3709
  to: "body"
3695
3710
  }, {
3696
- default: () => [X.value && h(mo, {
3711
+ default: () => [K.value && h(mo, {
3697
3712
  name: "fade",
3698
3713
  appear: !0
3699
3714
  }, {
@@ -3749,7 +3764,7 @@ function tu(e) {
3749
3764
  return Me(() => {
3750
3765
  }), r.expose({
3751
3766
  modalRef: i
3752
- }), () => h(zo, {
3767
+ }), () => h(Xo, {
3753
3768
  ref: i,
3754
3769
  class: a.value,
3755
3770
  modelValue: d.value,
@@ -3781,7 +3796,7 @@ class nu {
3781
3796
  H(this, "activeModalIndex", C(0));
3782
3797
  H(this, "modalRefs", {});
3783
3798
  H(this, "isUseEscCloseModal", C(!1));
3784
- H(this, "activeModalInstance", P(() => this.modalRefs[this.activeModalIndex.value]));
3799
+ H(this, "activeModalInstance", R(() => this.modalRefs[this.activeModalIndex.value]));
3785
3800
  this.app = t, this.appContext = t ? t._context : null;
3786
3801
  }
3787
3802
  getCurrentModal() {
@@ -3798,7 +3813,7 @@ class nu {
3798
3813
  open(t) {
3799
3814
  const n = document.createDocumentFragment();
3800
3815
  t.showMaxButton && t.fitContent && (t.showMaxButton = !1);
3801
- const o = $r(Object.assign({
3816
+ const o = jr(Object.assign({
3802
3817
  title: "",
3803
3818
  showButtons: !0,
3804
3819
  showHeader: !0
@@ -3824,7 +3839,7 @@ class nu {
3824
3839
  }, m = (g) => {
3825
3840
  var y;
3826
3841
  this.isUseEscCloseModal.value = !0, this.activeModalInstance && ((y = this.activeModalInstance.value) == null || y.close(g == null ? void 0 : g.event));
3827
- }, p = () => h(zo, nt({
3842
+ }, p = () => h(Xo, nt({
3828
3843
  ref: this.modalRef,
3829
3844
  modelValue: r.value,
3830
3845
  "onUpdate:modelValue": (g) => r.value = g
@@ -3838,7 +3853,7 @@ class nu {
3838
3853
  default: () => [d && d(this.app)]
3839
3854
  });
3840
3855
  return c = ((g) => {
3841
- const y = jr(p, g);
3856
+ const y = Lr(p, g);
3842
3857
  return y.appContext = this.appContext, Zt(y, n), y;
3843
3858
  })({
3844
3859
  ...o.value
@@ -3848,7 +3863,7 @@ class nu {
3848
3863
  o.value = {
3849
3864
  ...o.value,
3850
3865
  ...g
3851
- }, c && Zt(Lr(c, {
3866
+ }, c && Zt(Hr(c, {
3852
3867
  ...o
3853
3868
  }), n);
3854
3869
  },
@@ -3955,7 +3970,7 @@ It.install = (e) => {
3955
3970
  e.component(It.name, It), e.provide("FMessageBoxService", at);
3956
3971
  };
3957
3972
  var Vn = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.SmartHelp = 1] = "SmartHelp", e[e.Enum = 2] = "Enum", e[e.Express = 3] = "Express", e))(Vn || {});
3958
- function Xo() {
3973
+ function Jo() {
3959
3974
  const e = C({ relation: 0, items: [], children: [], path: [], groupId: 0, level: 0 }), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
3960
3975
  let o = 0;
3961
3976
  function r() {
@@ -3998,7 +4013,7 @@ function Xo() {
3998
4013
  return O;
3999
4014
  }
4000
4015
  function c(b, E, O, B, V) {
4001
- for (let R = E; R <= 0; R++)
4016
+ for (let P = E; P <= 0; P++)
4002
4017
  B.pop();
4003
4018
  const I = B[B.length - 1];
4004
4019
  if (!I)
@@ -4015,16 +4030,16 @@ function Xo() {
4015
4030
  let M = b[b.length - 1];
4016
4031
  if (!M)
4017
4032
  throw new Error("The group path is out of range");
4018
- const D = E.get(B) || 0, R = E.get(O) || 0;
4033
+ const D = E.get(B) || 0, P = E.get(O) || 0;
4019
4034
  if (O < 0 || O === B)
4020
4035
  return b[b.length - 1];
4021
- const A = D - R, j = V && V.relation !== void 0 ? V.relation : 1;
4022
- return M = A > 0 ? u(R, A, M, b, j) : M, M = A < 0 ? c(R, A, M, b, j) : M, M = A === 0 && R > 0 && D > 0 && V && I && !!V.rBracket && !!I.lBracket ? d(R, M, b, j) : M, M;
4036
+ const A = D - P, j = V && V.relation !== void 0 ? V.relation : 1;
4037
+ return M = A > 0 ? u(P, A, M, b, j) : M, M = A < 0 ? c(P, A, M, b, j) : M, M = A === 0 && P > 0 && D > 0 && V && I && !!V.rBracket && !!I.lBracket ? d(P, M, b, j) : M, M;
4023
4038
  }
4024
4039
  function f(b) {
4025
4040
  const O = { relation: b.length && b[0].relation !== void 0 ? b[0].relation : 1, items: [], children: [], path: [], groupId: 0, level: 0 }, B = [O], V = s(b);
4026
4041
  return b.forEach((I, M) => {
4027
- const D = M - 1, R = b[D], A = l(B, V, D, M, R, I);
4042
+ const D = M - 1, P = b[D], A = l(B, V, D, M, P, I);
4028
4043
  A.items.push(I), t.set(I.conditionId, A);
4029
4044
  }), e.value = O, O;
4030
4045
  }
@@ -4045,12 +4060,12 @@ function Xo() {
4045
4060
  b.reduce((V, I) => {
4046
4061
  const M = I.conditionId !== void 0, D = I.groupId !== void 0;
4047
4062
  if (M) {
4048
- const R = I;
4049
- O.push(R), V.items.set(R.conditionId, R);
4063
+ const P = I;
4064
+ O.push(P), V.items.set(P.conditionId, P);
4050
4065
  }
4051
4066
  if (D) {
4052
- const R = I;
4053
- B.push(R), V.groups.set(R.groupId, R);
4067
+ const P = I;
4068
+ B.push(P), V.groups.set(P.groupId, P);
4054
4069
  }
4055
4070
  return V;
4056
4071
  }, E);
@@ -4143,7 +4158,7 @@ function ru(e, t, n) {
4143
4158
  const S = i.get(g.conditionId);
4144
4159
  c(S).forEach((x) => d(x));
4145
4160
  }
4146
- const f = P(() => o.value.size === 0 && r.value.size === 1), m = function(g) {
4161
+ const f = R(() => o.value.size === 0 && r.value.size === 1), m = function(g) {
4147
4162
  r.value.delete(g.groupId), g.items.forEach((S) => u(S)), g.children.forEach((S) => !f.value && m(S));
4148
4163
  const y = a.get(g.groupId);
4149
4164
  y && r.value.has(y.groupId) && m(y);
@@ -4178,7 +4193,7 @@ const Ot = /* @__PURE__ */ ge({
4178
4193
  fields: a,
4179
4194
  fieldMap: s,
4180
4195
  loadFieldConfigs: u
4181
- } = r, c = Xo(), {
4196
+ } = r, c = Jo(), {
4182
4197
  addCondition: d,
4183
4198
  changeGroupRelation: l,
4184
4199
  getConditions: f,
@@ -4191,7 +4206,7 @@ const Ot = /* @__PURE__ */ ge({
4191
4206
  unGroup: S
4192
4207
  } = c, {
4193
4208
  createConditionValue: k
4194
- } = Po(), x = ru(e, t, c), {
4209
+ } = Vo(), x = ru(e, t, c), {
4195
4210
  selectedItems: F,
4196
4211
  toggleSelect: T
4197
4212
  } = x, {
@@ -4244,7 +4259,7 @@ const Ot = /* @__PURE__ */ ge({
4244
4259
  onChange: (L) => E(L, j)
4245
4260
  }, null)]), h("div", {
4246
4261
  class: "condition-list-item-control mr-3"
4247
- }, [h(Ho, {
4262
+ }, [h(Wo, {
4248
4263
  editor: (N = s.get(j.fieldCode)) == null ? void 0 : N.editor,
4249
4264
  showLabel: !1,
4250
4265
  modelValue: j.value.value,
@@ -4294,7 +4309,7 @@ const Ot = /* @__PURE__ */ ge({
4294
4309
  function D() {
4295
4310
  m(x.getSelectedGroupItem()), x.clear();
4296
4311
  }
4297
- function R() {
4312
+ function P() {
4298
4313
  return h("div", {
4299
4314
  class: "condition-list-bottom"
4300
4315
  }, [h("div", {
@@ -4321,7 +4336,7 @@ const Ot = /* @__PURE__ */ ge({
4321
4336
  key: n.value
4322
4337
  }, [h("div", {
4323
4338
  class: "condition-list-body"
4324
- }, [M(y.value)]), R()]);
4339
+ }, [M(y.value)]), P()]);
4325
4340
  }
4326
4341
  });
4327
4342
  Ot.install = (e) => {
@@ -4436,14 +4451,14 @@ const Nn = {
4436
4451
  * 预设筛选方案名称
4437
4452
  */
4438
4453
  presetQuerySolutionName: { type: String, default: "默认筛选方案" }
4439
- }, Kn = Ge(Nn, pu, au, mu);
4440
- var Ze = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Express = 1] = "Express", e))(Ze || {}), je = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(je || {}), Ke = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(Ke || {});
4454
+ }, Xn = Ge(Nn, pu, au, mu);
4455
+ var Ze = /* @__PURE__ */ ((e) => (e[e.Value = 0] = "Value", e[e.Express = 1] = "Express", e))(Ze || {}), je = /* @__PURE__ */ ((e) => (e[e.Empty = 0] = "Empty", e[e.And = 1] = "And", e[e.Or = 2] = "Or", e))(je || {}), Xe = /* @__PURE__ */ ((e) => (e[e.Equal = 0] = "Equal", e[e.NotEqual = 1] = "NotEqual", e[e.Greater = 2] = "Greater", e[e.GreaterOrEqual = 3] = "GreaterOrEqual", e[e.Less = 4] = "Less", e[e.LessOrEqual = 5] = "LessOrEqual", e[e.Like = 6] = "Like", e[e.LikeStartWith = 7] = "LikeStartWith", e[e.LikeEndWith = 8] = "LikeEndWith", e[e.NotLike = 9] = "NotLike", e[e.NotLikeStartWith = 10] = "NotLikeStartWith", e[e.NotLikeEndWith = 11] = "NotLikeEndWith", e[e.Is = 12] = "Is", e[e.IsNot = 13] = "IsNot", e[e.In = 14] = "In", e[e.NotIn = 15] = "NotIn", e))(Xe || {});
4441
4456
  function hu(e, t) {
4442
4457
  function n(l) {
4443
4458
  const f = l.value, m = [];
4444
4459
  return m.push({
4445
4460
  FilterField: l.fieldCode,
4446
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Like,
4461
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Like,
4447
4462
  Value: f.value,
4448
4463
  Relation: l.relation || l.relation === 0 ? l.relation : je.And,
4449
4464
  Expresstype: Ze.Value,
@@ -4455,7 +4470,7 @@ function hu(e, t) {
4455
4470
  const f = l.value.getValue();
4456
4471
  return [{
4457
4472
  FilterField: l.fieldCode,
4458
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Equal,
4473
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Equal,
4459
4474
  Value: f,
4460
4475
  Relation: l.relation || l.relation === 0 ? l.relation : je.And,
4461
4476
  Expresstype: Ze.Value,
@@ -4467,13 +4482,13 @@ function hu(e, t) {
4467
4482
  const f = [], m = l.value.getValue();
4468
4483
  return m.startValue != null && f.push({
4469
4484
  FilterField: l.fieldCode,
4470
- Compare: Ke.GreaterOrEqual,
4485
+ Compare: Xe.GreaterOrEqual,
4471
4486
  Value: m.begin,
4472
4487
  Relation: je.And,
4473
4488
  Expresstype: Ze.Value
4474
4489
  }), m.endValue != null && f.push({
4475
4490
  FilterField: l.fieldCode,
4476
- Compare: Ke.LessOrEqual,
4491
+ Compare: Xe.LessOrEqual,
4477
4492
  Value: m.end,
4478
4493
  Relation: je.And,
4479
4494
  Expresstype: Ze.Value
@@ -4483,16 +4498,16 @@ function hu(e, t) {
4483
4498
  const f = [], m = l.value.getValue();
4484
4499
  return m.value.length === 0 ? [] : m.isInputText || m.valueField == null ? (f.push({
4485
4500
  FilterField: l.fieldCode,
4486
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Like,
4501
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Like,
4487
4502
  Value: l.value.textValue,
4488
4503
  Relation: l.relation || l.relation === 0 ? l.relation : je.And,
4489
4504
  Expresstype: Ze.Value
4490
4505
  }), f) : (m.split(",").forEach((p) => {
4491
4506
  p && f.push({
4492
4507
  FilterField: l.fieldCode,
4493
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Equal,
4508
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Equal,
4494
4509
  Value: p,
4495
- Relation: l.compareType === Ke.NotEqual ? je.And : je.Or,
4510
+ Relation: l.compareType === Xe.NotEqual ? je.And : je.Or,
4496
4511
  Expresstype: Ze.Value
4497
4512
  });
4498
4513
  }), f.length > 0 ? (f[0].Lbracket = l.Lbracket ? l.Lbracket + "(" : "(", f[f.length - 1].Rbracket = l.Rbracket ? l.Rbracket + ")" : ")", f[f.length - 1].Relation = l.relation || l.relation === 0 ? l.relation : je.And, f) : []);
@@ -4501,7 +4516,7 @@ function hu(e, t) {
4501
4516
  const f = [], m = l.value.getValue();
4502
4517
  return f.push({
4503
4518
  FilterField: l.fieldCode,
4504
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Equal,
4519
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Equal,
4505
4520
  Value: m,
4506
4521
  Relation: l.relation || l.relation === 0 ? l.relation : je.And,
4507
4522
  Expresstype: Ze.Value,
@@ -4514,9 +4529,9 @@ function hu(e, t) {
4514
4529
  return l.value.getValue().split(",").forEach((p) => {
4515
4530
  f.push({
4516
4531
  FilterField: l.fieldCode,
4517
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Equal,
4532
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Equal,
4518
4533
  Value: p.value,
4519
- Relation: l.compareType === Ke.NotEqual ? je.And : je.Or,
4534
+ Relation: l.compareType === Xe.NotEqual ? je.And : je.Or,
4520
4535
  Expresstype: Ze.Value
4521
4536
  });
4522
4537
  }), f[0].Lbracket = l.Lbracket ? l.Lbracket + "(" : "(", f[f.length - 1].Rbracket = l.Rbracket ? l.Rbracket + ")" : ")", f[f.length - 1].Relation = l.relation || l.relation === 0 ? l.relation : je.And, f;
@@ -4525,7 +4540,7 @@ function hu(e, t) {
4525
4540
  const f = l.value.getValue();
4526
4541
  return [{
4527
4542
  FilterField: l.fieldCode,
4528
- Compare: l.compareType || l.compareType === 0 ? l.compareType : Ke.Equal,
4543
+ Compare: l.compareType || l.compareType === 0 ? l.compareType : Xe.Equal,
4529
4544
  Value: f,
4530
4545
  Relation: l.relation || l.relation === 0 ? l.relation : je.And,
4531
4546
  Expresstype: Ze.Value,
@@ -4650,7 +4665,7 @@ function gu(e, t, n, o, r, i, a) {
4650
4665
  } = n, {
4651
4666
  getGuid: f,
4652
4667
  loadAllSolution: m
4653
- } = o, p = Ae(ya, null), v = P(() => i.value ? i.value.name : ""), w = P(() => !i.value || i.value.mode !== "2"), g = C(!1), y = P(() => ({
4668
+ } = o, p = Ae(ya, null), v = R(() => i.value ? i.value.name : ""), w = R(() => !i.value || i.value.mode !== "2"), g = C(!1), y = R(() => ({
4654
4669
  "dropdown-menu": !0,
4655
4670
  show: g.value
4656
4671
  }));
@@ -4694,10 +4709,10 @@ function gu(e, t, n, o, r, i, a) {
4694
4709
  class: "form-group farris-form-group"
4695
4710
  }, [h("div", {
4696
4711
  class: "farris-input-wrap"
4697
- }, [h(Bi, {
4712
+ }, [h(Mi, {
4698
4713
  modelValue: s.value,
4699
4714
  "onUpdate:modelValue": (L) => s.value = L
4700
- }, null)])])]), h(ba, {
4715
+ }, null)])])]), h(vo, {
4701
4716
  data: N,
4702
4717
  name: "",
4703
4718
  textField: "text",
@@ -4750,12 +4765,12 @@ function gu(e, t, n, o, r, i, a) {
4750
4765
  function I() {
4751
4766
  if (i.value) {
4752
4767
  const N = i.value.conditions || [], L = [];
4753
- c.value.forEach((X) => {
4754
- const re = N.find((de) => de.id === X.id);
4768
+ c.value.forEach((K) => {
4769
+ const re = N.find((de) => de.id === K.id);
4755
4770
  if (re)
4756
4771
  L.push(re);
4757
4772
  else {
4758
- const de = a.value.find((Fe) => Fe.id === X.id);
4773
+ const de = a.value.find((Fe) => Fe.id === K.id);
4759
4774
  de && L.push({
4760
4775
  id: de.id,
4761
4776
  fieldCode: de.labelCode,
@@ -4774,10 +4789,10 @@ function gu(e, t, n, o, r, i, a) {
4774
4789
  function D(N) {
4775
4790
  c.value = N;
4776
4791
  }
4777
- function R() {
4778
- var X;
4792
+ function P() {
4793
+ var K;
4779
4794
  c.value = [];
4780
- const N = ((X = i.value) == null ? void 0 : X.conditions.map((re) => ({
4795
+ const N = ((K = i.value) == null ? void 0 : K.conditions.map((re) => ({
4781
4796
  id: re.id || "",
4782
4797
  name: re.fieldName || ""
4783
4798
  }))) || [], L = e.fields.map((re) => ({
@@ -4817,7 +4832,7 @@ function gu(e, t, n, o, r, i, a) {
4817
4832
  class: "f-icon f-icon-remove"
4818
4833
  }, null)])]), h("div", {
4819
4834
  class: "icon-group ml-2",
4820
- onClick: R
4835
+ onClick: P
4821
4836
  }, [h("span", {
4822
4837
  class: "icon-group-setup"
4823
4838
  }, [h("span", {
@@ -4840,7 +4855,7 @@ function gu(e, t, n, o, r, i, a) {
4840
4855
  renderHeader: j
4841
4856
  };
4842
4857
  }
4843
- function Jo(e, t) {
4858
+ function Yo(e, t) {
4844
4859
  return function() {
4845
4860
  return e.apply(t, arguments);
4846
4861
  };
@@ -4852,12 +4867,12 @@ const { toString: yu } = Object.prototype, { getPrototypeOf: Dn } = Object, qt =
4852
4867
  function bu(e) {
4853
4868
  return e !== null && !xt(e) && e.constructor !== null && !xt(e.constructor) && qe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
4854
4869
  }
4855
- const Yo = Ye("ArrayBuffer");
4870
+ const Qo = Ye("ArrayBuffer");
4856
4871
  function Cu(e) {
4857
4872
  let t;
4858
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Yo(e.buffer), t;
4873
+ return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Qo(e.buffer), t;
4859
4874
  }
4860
- const wu = Gt("string"), qe = Gt("function"), Qo = Gt("number"), Ut = (e) => e !== null && typeof e == "object", Su = (e) => e === !0 || e === !1, Bt = (e) => {
4875
+ const wu = Gt("string"), qe = Gt("function"), Zo = Gt("number"), Ut = (e) => e !== null && typeof e == "object", Su = (e) => e === !0 || e === !1, Bt = (e) => {
4861
4876
  if (qt(e) !== "object")
4862
4877
  return !1;
4863
4878
  const t = Dn(e);
@@ -4866,7 +4881,7 @@ const wu = Gt("string"), qe = Gt("function"), Qo = Gt("number"), Ut = (e) => e !
4866
4881
  let t;
4867
4882
  return e && (typeof FormData == "function" && e instanceof FormData || qe(e.append) && ((t = qt(e)) === "formdata" || // detect form-data instance
4868
4883
  t === "object" && qe(e.toString) && e.toString() === "[object FormData]"));
4869
- }, Iu = Ye("URLSearchParams"), [Ou, Bu, Mu, Ru] = ["ReadableStream", "Request", "Response", "Headers"].map(Ye), Pu = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4884
+ }, Iu = Ye("URLSearchParams"), [Ou, Bu, Mu, Pu] = ["ReadableStream", "Request", "Response", "Headers"].map(Ye), Ru = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
4870
4885
  function _t(e, t, { allOwnKeys: n = !1 } = {}) {
4871
4886
  if (e === null || typeof e > "u")
4872
4887
  return;
@@ -4881,7 +4896,7 @@ function _t(e, t, { allOwnKeys: n = !1 } = {}) {
4881
4896
  s = i[o], t.call(null, e[s], s, e);
4882
4897
  }
4883
4898
  }
4884
- function Zo(e, t) {
4899
+ function er(e, t) {
4885
4900
  t = t.toLowerCase();
4886
4901
  const n = Object.keys(e);
4887
4902
  let o = n.length, r;
@@ -4890,10 +4905,10 @@ function Zo(e, t) {
4890
4905
  return r;
4891
4906
  return null;
4892
4907
  }
4893
- const ut = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, er = (e) => !xt(e) && e !== ut;
4908
+ const ut = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, tr = (e) => !xt(e) && e !== ut;
4894
4909
  function mn() {
4895
- const { caseless: e } = er(this) && this || {}, t = {}, n = (o, r) => {
4896
- const i = e && Zo(t, r) || r;
4910
+ const { caseless: e } = tr(this) && this || {}, t = {}, n = (o, r) => {
4911
+ const i = e && er(t, r) || r;
4897
4912
  Bt(t[i]) && Bt(o) ? t[i] = mn(t[i], o) : Bt(o) ? t[i] = mn({}, o) : gt(o) ? t[i] = o.slice() : t[i] = o;
4898
4913
  };
4899
4914
  for (let o = 0, r = arguments.length; o < r; o++)
@@ -4901,7 +4916,7 @@ function mn() {
4901
4916
  return t;
4902
4917
  }
4903
4918
  const Vu = (e, t, n, { allOwnKeys: o } = {}) => (_t(t, (r, i) => {
4904
- n && qe(r) ? e[i] = Jo(r, n) : e[i] = r;
4919
+ n && qe(r) ? e[i] = Yo(r, n) : e[i] = r;
4905
4920
  }, { allOwnKeys: o }), e), Nu = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Du = (e, t, n, o) => {
4906
4921
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
4907
4922
  value: t.prototype
@@ -4924,7 +4939,7 @@ const Vu = (e, t, n, { allOwnKeys: o } = {}) => (_t(t, (r, i) => {
4924
4939
  if (!e) return null;
4925
4940
  if (gt(e)) return e;
4926
4941
  let t = e.length;
4927
- if (!Qo(t)) return null;
4942
+ if (!Zo(t)) return null;
4928
4943
  const n = new Array(t);
4929
4944
  for (; t-- > 0; )
4930
4945
  n[t] = e[t];
@@ -4947,14 +4962,14 @@ const Vu = (e, t, n, { allOwnKeys: o } = {}) => (_t(t, (r, i) => {
4947
4962
  function(n, o, r) {
4948
4963
  return o.toUpperCase() + r;
4949
4964
  }
4950
- ), Xn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Uu = Ye("RegExp"), tr = (e, t) => {
4965
+ ), Kn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Uu = Ye("RegExp"), nr = (e, t) => {
4951
4966
  const n = Object.getOwnPropertyDescriptors(e), o = {};
4952
4967
  _t(n, (r, i) => {
4953
4968
  let a;
4954
4969
  (a = t(r, i, e)) !== !1 && (o[i] = a || r);
4955
4970
  }), Object.defineProperties(e, o);
4956
4971
  }, zu = (e) => {
4957
- tr(e, (t, n) => {
4972
+ nr(e, (t, n) => {
4958
4973
  if (qe(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
4959
4974
  return !1;
4960
4975
  const o = e[n];
@@ -4968,19 +4983,19 @@ const Vu = (e, t, n, { allOwnKeys: o } = {}) => (_t(t, (r, i) => {
4968
4983
  });
4969
4984
  }
4970
4985
  });
4971
- }, Ku = (e, t) => {
4986
+ }, Xu = (e, t) => {
4972
4987
  const n = {}, o = (r) => {
4973
4988
  r.forEach((i) => {
4974
4989
  n[i] = !0;
4975
4990
  });
4976
4991
  };
4977
4992
  return gt(e) ? o(e) : o(String(e).split(t)), n;
4978
- }, Xu = () => {
4979
- }, Ju = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, nn = "abcdefghijklmnopqrstuvwxyz", Jn = "0123456789", nr = {
4993
+ }, Ku = () => {
4994
+ }, Ju = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, nn = "abcdefghijklmnopqrstuvwxyz", Jn = "0123456789", or = {
4980
4995
  DIGIT: Jn,
4981
4996
  ALPHA: nn,
4982
4997
  ALPHA_DIGIT: nn + nn.toUpperCase() + Jn
4983
- }, Yu = (e = 16, t = nr.ALPHA_DIGIT) => {
4998
+ }, Yu = (e = 16, t = or.ALPHA_DIGIT) => {
4984
4999
  let n = "";
4985
5000
  const { length: o } = t;
4986
5001
  for (; e--; )
@@ -5007,28 +5022,28 @@ const Zu = (e) => {
5007
5022
  return o;
5008
5023
  };
5009
5024
  return n(e, 0);
5010
- }, ec = Ye("AsyncFunction"), tc = (e) => e && (Ut(e) || qe(e)) && qe(e.then) && qe(e.catch), or = ((e, t) => e ? setImmediate : t ? ((n, o) => (ut.addEventListener("message", ({ source: r, data: i }) => {
5025
+ }, ec = Ye("AsyncFunction"), tc = (e) => e && (Ut(e) || qe(e)) && qe(e.then) && qe(e.catch), rr = ((e, t) => e ? setImmediate : t ? ((n, o) => (ut.addEventListener("message", ({ source: r, data: i }) => {
5011
5026
  r === ut && i === n && o.length && o.shift()();
5012
5027
  }, !1), (r) => {
5013
5028
  o.push(r), ut.postMessage(n, "*");
5014
5029
  }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
5015
5030
  typeof setImmediate == "function",
5016
5031
  qe(ut.postMessage)
5017
- ), nc = typeof queueMicrotask < "u" ? queueMicrotask.bind(ut) : typeof process < "u" && process.nextTick || or, $ = {
5032
+ ), nc = typeof queueMicrotask < "u" ? queueMicrotask.bind(ut) : typeof process < "u" && process.nextTick || rr, $ = {
5018
5033
  isArray: gt,
5019
- isArrayBuffer: Yo,
5034
+ isArrayBuffer: Qo,
5020
5035
  isBuffer: bu,
5021
5036
  isFormData: Eu,
5022
5037
  isArrayBufferView: Cu,
5023
5038
  isString: wu,
5024
- isNumber: Qo,
5039
+ isNumber: Zo,
5025
5040
  isBoolean: Su,
5026
5041
  isObject: Ut,
5027
5042
  isPlainObject: Bt,
5028
5043
  isReadableStream: Ou,
5029
5044
  isRequest: Bu,
5030
5045
  isResponse: Mu,
5031
- isHeaders: Ru,
5046
+ isHeaders: Pu,
5032
5047
  isUndefined: xt,
5033
5048
  isDate: xu,
5034
5049
  isFile: _u,
@@ -5042,7 +5057,7 @@ const Zu = (e) => {
5042
5057
  forEach: _t,
5043
5058
  merge: mn,
5044
5059
  extend: Vu,
5045
- trim: Pu,
5060
+ trim: Ru,
5046
5061
  stripBOM: Nu,
5047
5062
  inherits: Du,
5048
5063
  toFlatObject: Au,
@@ -5053,25 +5068,25 @@ const Zu = (e) => {
5053
5068
  forEachEntry: Hu,
5054
5069
  matchAll: Wu,
5055
5070
  isHTMLForm: qu,
5056
- hasOwnProperty: Xn,
5057
- hasOwnProp: Xn,
5071
+ hasOwnProperty: Kn,
5072
+ hasOwnProp: Kn,
5058
5073
  // an alias to avoid ESLint no-prototype-builtins detection
5059
- reduceDescriptors: tr,
5074
+ reduceDescriptors: nr,
5060
5075
  freezeMethods: zu,
5061
- toObjectSet: Ku,
5076
+ toObjectSet: Xu,
5062
5077
  toCamelCase: Gu,
5063
- noop: Xu,
5078
+ noop: Ku,
5064
5079
  toFiniteNumber: Ju,
5065
- findKey: Zo,
5080
+ findKey: er,
5066
5081
  global: ut,
5067
- isContextDefined: er,
5068
- ALPHABET: nr,
5082
+ isContextDefined: tr,
5083
+ ALPHABET: or,
5069
5084
  generateString: Yu,
5070
5085
  isSpecCompliantForm: Qu,
5071
5086
  toJSONObject: Zu,
5072
5087
  isAsyncFn: ec,
5073
5088
  isThenable: tc,
5074
- setImmediate: or,
5089
+ setImmediate: rr,
5075
5090
  asap: nc
5076
5091
  };
5077
5092
  function ue(e, t, n, o, r) {
@@ -5098,7 +5113,7 @@ $.inherits(ue, Error, {
5098
5113
  };
5099
5114
  }
5100
5115
  });
5101
- const rr = ue.prototype, ir = {};
5116
+ const ir = ue.prototype, ar = {};
5102
5117
  [
5103
5118
  "ERR_BAD_OPTION_VALUE",
5104
5119
  "ERR_BAD_OPTION",
@@ -5114,12 +5129,12 @@ const rr = ue.prototype, ir = {};
5114
5129
  "ERR_INVALID_URL"
5115
5130
  // eslint-disable-next-line func-names
5116
5131
  ].forEach((e) => {
5117
- ir[e] = { value: e };
5132
+ ar[e] = { value: e };
5118
5133
  });
5119
- Object.defineProperties(ue, ir);
5120
- Object.defineProperty(rr, "isAxiosError", { value: !0 });
5134
+ Object.defineProperties(ue, ar);
5135
+ Object.defineProperty(ir, "isAxiosError", { value: !0 });
5121
5136
  ue.from = (e, t, n, o, r, i) => {
5122
- const a = Object.create(rr);
5137
+ const a = Object.create(ir);
5123
5138
  return $.toFlatObject(e, a, function(u) {
5124
5139
  return u !== Error.prototype;
5125
5140
  }, (s) => s !== "isAxiosError"), ue.call(a, e.message, t, n, o, r), a.cause = e, a.name = e.name, i && Object.assign(a, i), a;
@@ -5128,12 +5143,12 @@ const oc = null;
5128
5143
  function hn(e) {
5129
5144
  return $.isPlainObject(e) || $.isArray(e);
5130
5145
  }
5131
- function ar(e) {
5146
+ function lr(e) {
5132
5147
  return $.endsWith(e, "[]") ? e.slice(0, -2) : e;
5133
5148
  }
5134
5149
  function Yn(e, t, n) {
5135
5150
  return e ? e.concat(t).map(function(r, i) {
5136
- return r = ar(r), !n && i ? "[" + r + "]" : r;
5151
+ return r = lr(r), !n && i ? "[" + r + "]" : r;
5137
5152
  }).join(n ? "." : "") : t;
5138
5153
  }
5139
5154
  function rc(e) {
@@ -5169,7 +5184,7 @@ function zt(e, t, n) {
5169
5184
  if ($.endsWith(v, "{}"))
5170
5185
  v = o ? v : v.slice(0, -2), p = JSON.stringify(p);
5171
5186
  else if ($.isArray(p) && rc(p) || ($.isFileList(p) || $.endsWith(v, "[]")) && (g = $.toArray(p)))
5172
- return v = ar(v), g.forEach(function(S, k) {
5187
+ return v = lr(v), g.forEach(function(S, k) {
5173
5188
  !($.isUndefined(S) || S === null) && t.append(
5174
5189
  // eslint-disable-next-line no-nested-ternary
5175
5190
  a === !0 ? Yn([v], k, i) : a === null ? v : v + "[]",
@@ -5220,11 +5235,11 @@ function Qn(e) {
5220
5235
  function An(e, t) {
5221
5236
  this._pairs = [], e && zt(e, this, t);
5222
5237
  }
5223
- const lr = An.prototype;
5224
- lr.append = function(t, n) {
5238
+ const sr = An.prototype;
5239
+ sr.append = function(t, n) {
5225
5240
  this._pairs.push([t, n]);
5226
5241
  };
5227
- lr.toString = function(t) {
5242
+ sr.toString = function(t) {
5228
5243
  const n = t ? function(o) {
5229
5244
  return t.call(this, o, Qn);
5230
5245
  } : Qn;
@@ -5235,7 +5250,7 @@ lr.toString = function(t) {
5235
5250
  function ac(e) {
5236
5251
  return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
5237
5252
  }
5238
- function sr(e, t, n) {
5253
+ function ur(e, t, n) {
5239
5254
  if (!t)
5240
5255
  return e;
5241
5256
  const o = n && n.encode || ac, r = n && n.serialize;
@@ -5300,7 +5315,7 @@ class Zn {
5300
5315
  });
5301
5316
  }
5302
5317
  }
5303
- const ur = {
5318
+ const cr = {
5304
5319
  silentJSONParsing: !0,
5305
5320
  forcedJSONParsing: !0,
5306
5321
  clarifyTimeoutError: !1
@@ -5343,7 +5358,7 @@ function gc(e) {
5343
5358
  i = n[o], t[i] = e[i];
5344
5359
  return t;
5345
5360
  }
5346
- function cr(e) {
5361
+ function dr(e) {
5347
5362
  function t(n, o, r, i) {
5348
5363
  let a = n[i++];
5349
5364
  if (a === "__proto__") return !0;
@@ -5369,12 +5384,12 @@ function yc(e, t, n) {
5369
5384
  return (0, JSON.stringify)(e);
5370
5385
  }
5371
5386
  const kt = {
5372
- transitional: ur,
5387
+ transitional: cr,
5373
5388
  adapter: ["xhr", "http", "fetch"],
5374
5389
  transformRequest: [function(t, n) {
5375
5390
  const o = n.getContentType() || "", r = o.indexOf("application/json") > -1, i = $.isObject(t);
5376
5391
  if (i && $.isHTMLForm(t) && (t = new FormData(t)), $.isFormData(t))
5377
- return r ? JSON.stringify(cr(t)) : t;
5392
+ return r ? JSON.stringify(dr(t)) : t;
5378
5393
  if ($.isArrayBuffer(t) || $.isBuffer(t) || $.isStream(t) || $.isFile(t) || $.isBlob(t) || $.isReadableStream(t))
5379
5394
  return t;
5380
5395
  if ($.isArrayBufferView(t))
@@ -5637,7 +5652,7 @@ function rn(e, t) {
5637
5652
  i = s.call(n, i, r.normalize(), t ? t.status : void 0);
5638
5653
  }), r.normalize(), i;
5639
5654
  }
5640
- function dr(e) {
5655
+ function fr(e) {
5641
5656
  return !!(e && e.__CANCEL__);
5642
5657
  }
5643
5658
  function yt(e, t, n) {
@@ -5646,7 +5661,7 @@ function yt(e, t, n) {
5646
5661
  $.inherits(yt, ue, {
5647
5662
  __CANCEL__: !0
5648
5663
  });
5649
- function fr(e, t, n) {
5664
+ function pr(e, t, n) {
5650
5665
  const o = n.config.validateStatus;
5651
5666
  !n.status || !o || o(n.status) ? e(n) : t(new ue(
5652
5667
  "Request failed with status code " + n.status,
@@ -5778,7 +5793,7 @@ function Oc(e) {
5778
5793
  function Bc(e, t) {
5779
5794
  return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
5780
5795
  }
5781
- function pr(e, t) {
5796
+ function mr(e, t) {
5782
5797
  return e && !Oc(t) ? Bc(e, t) : t;
5783
5798
  }
5784
5799
  const oo = (e) => e instanceof He ? { ...e } : e;
@@ -5846,10 +5861,10 @@ function ft(e, t) {
5846
5861
  $.isUndefined(f) && l !== s || (n[d] = f);
5847
5862
  }), n;
5848
5863
  }
5849
- const mr = (e) => {
5864
+ const hr = (e) => {
5850
5865
  const t = ft({}, e);
5851
5866
  let { data: n, withXSRFToken: o, xsrfHeaderName: r, xsrfCookieName: i, headers: a, auth: s } = t;
5852
- t.headers = a = He.from(a), t.url = sr(pr(t.baseURL, t.url), e.params, e.paramsSerializer), s && a.set(
5867
+ t.headers = a = He.from(a), t.url = ur(mr(t.baseURL, t.url), e.params, e.paramsSerializer), s && a.set(
5853
5868
  "Authorization",
5854
5869
  "Basic " + btoa((s.username || "") + ":" + (s.password ? unescape(encodeURIComponent(s.password)) : ""))
5855
5870
  );
@@ -5867,9 +5882,9 @@ const mr = (e) => {
5867
5882
  c && a.set(r, c);
5868
5883
  }
5869
5884
  return t;
5870
- }, Mc = typeof XMLHttpRequest < "u", Rc = Mc && function(e) {
5885
+ }, Mc = typeof XMLHttpRequest < "u", Pc = Mc && function(e) {
5871
5886
  return new Promise(function(n, o) {
5872
- const r = mr(e);
5887
+ const r = hr(e);
5873
5888
  let i = r.data;
5874
5889
  const a = He.from(r.headers).normalize();
5875
5890
  let { responseType: s, onUploadProgress: u, onDownloadProgress: c } = r, d, l, f, m, p;
@@ -5891,7 +5906,7 @@ const mr = (e) => {
5891
5906
  config: e,
5892
5907
  request: w
5893
5908
  };
5894
- fr(function(T) {
5909
+ pr(function(T) {
5895
5910
  n(T), v();
5896
5911
  }, function(T) {
5897
5912
  o(T), v();
@@ -5905,7 +5920,7 @@ const mr = (e) => {
5905
5920
  o(new ue("Network Error", ue.ERR_NETWORK, e, w)), w = null;
5906
5921
  }, w.ontimeout = function() {
5907
5922
  let k = r.timeout ? "timeout of " + r.timeout + "ms exceeded" : "timeout exceeded";
5908
- const x = r.transitional || ur;
5923
+ const x = r.transitional || cr;
5909
5924
  r.timeoutErrorMessage && (k = r.timeoutErrorMessage), o(new ue(
5910
5925
  k,
5911
5926
  x.clarifyTimeoutError ? ue.ETIMEDOUT : ue.ECONNABORTED,
@@ -5924,7 +5939,7 @@ const mr = (e) => {
5924
5939
  }
5925
5940
  w.send(i || null);
5926
5941
  });
5927
- }, Pc = (e, t) => {
5942
+ }, Rc = (e, t) => {
5928
5943
  const { length: n } = e = e ? e.filter(Boolean) : [];
5929
5944
  if (t || n) {
5930
5945
  let o = new AbortController(), r;
@@ -6004,13 +6019,13 @@ const mr = (e) => {
6004
6019
  }, {
6005
6020
  highWaterMark: 2
6006
6021
  });
6007
- }, Kt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", hr = Kt && typeof ReadableStream == "function", Ac = Kt && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), vr = (e, ...t) => {
6022
+ }, Xt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", vr = Xt && typeof ReadableStream == "function", Ac = Xt && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), gr = (e, ...t) => {
6008
6023
  try {
6009
6024
  return !!e(...t);
6010
6025
  } catch {
6011
6026
  return !1;
6012
6027
  }
6013
- }, $c = hr && vr(() => {
6028
+ }, $c = vr && gr(() => {
6014
6029
  let e = !1;
6015
6030
  const t = new Request(Le.origin, {
6016
6031
  body: new ReadableStream(),
@@ -6020,10 +6035,10 @@ const mr = (e) => {
6020
6035
  }
6021
6036
  }).headers.has("Content-Type");
6022
6037
  return e && !t;
6023
- }), io = 64 * 1024, gn = hr && vr(() => $.isReadableStream(new Response("").body)), At = {
6038
+ }), io = 64 * 1024, gn = vr && gr(() => $.isReadableStream(new Response("").body)), At = {
6024
6039
  stream: gn && ((e) => e.body)
6025
6040
  };
6026
- Kt && ((e) => {
6041
+ Xt && ((e) => {
6027
6042
  ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
6028
6043
  !At[t] && (At[t] = $.isFunction(e[t]) ? (n) => n[t]() : (n, o) => {
6029
6044
  throw new ue(`Response type '${t}' is not supported`, ue.ERR_NOT_SUPPORT, o);
@@ -6047,7 +6062,7 @@ const jc = async (e) => {
6047
6062
  }, Lc = async (e, t) => {
6048
6063
  const n = $.toFiniteNumber(e.getContentLength());
6049
6064
  return n ?? jc(t);
6050
- }, Hc = Kt && (async (e) => {
6065
+ }, Hc = Xt && (async (e) => {
6051
6066
  let {
6052
6067
  url: t,
6053
6068
  method: n,
@@ -6061,9 +6076,9 @@ const jc = async (e) => {
6061
6076
  headers: d,
6062
6077
  withCredentials: l = "same-origin",
6063
6078
  fetchOptions: f
6064
- } = mr(e);
6079
+ } = hr(e);
6065
6080
  c = c ? (c + "").toLowerCase() : "text";
6066
- let m = Pc([r, i && i.toAbortSignal()], a), p;
6081
+ let m = Rc([r, i && i.toAbortSignal()], a), p;
6067
6082
  const v = m && m.unsubscribe && (() => {
6068
6083
  m.unsubscribe();
6069
6084
  });
@@ -6115,7 +6130,7 @@ const jc = async (e) => {
6115
6130
  c = c || "text";
6116
6131
  let k = await At[$.findKey(At, c) || "text"](y, e);
6117
6132
  return !S && v && v(), await new Promise((x, F) => {
6118
- fr(x, F, {
6133
+ pr(x, F, {
6119
6134
  data: k,
6120
6135
  headers: He.from(y.headers),
6121
6136
  status: y.status,
@@ -6134,7 +6149,7 @@ const jc = async (e) => {
6134
6149
  }
6135
6150
  }), yn = {
6136
6151
  http: oc,
6137
- xhr: Rc,
6152
+ xhr: Pc,
6138
6153
  fetch: Hc
6139
6154
  };
6140
6155
  $.forEach(yn, (e, t) => {
@@ -6146,7 +6161,7 @@ $.forEach(yn, (e, t) => {
6146
6161
  Object.defineProperty(e, "adapterName", { value: t });
6147
6162
  }
6148
6163
  });
6149
- const ao = (e) => `- ${e}`, Wc = (e) => $.isFunction(e) || e === null || e === !1, gr = {
6164
+ const ao = (e) => `- ${e}`, Wc = (e) => $.isFunction(e) || e === null || e === !1, yr = {
6150
6165
  getAdapter: (e) => {
6151
6166
  e = $.isArray(e) ? e : [e];
6152
6167
  const { length: t } = e;
@@ -6185,21 +6200,21 @@ function lo(e) {
6185
6200
  return an(e), e.headers = He.from(e.headers), e.data = rn.call(
6186
6201
  e,
6187
6202
  e.transformRequest
6188
- ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), gr.getAdapter(e.adapter || kt.adapter)(e).then(function(o) {
6203
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), yr.getAdapter(e.adapter || kt.adapter)(e).then(function(o) {
6189
6204
  return an(e), o.data = rn.call(
6190
6205
  e,
6191
6206
  e.transformResponse,
6192
6207
  o
6193
6208
  ), o.headers = He.from(o.headers), o;
6194
6209
  }, function(o) {
6195
- return dr(o) || (an(e), o && o.response && (o.response.data = rn.call(
6210
+ return fr(o) || (an(e), o && o.response && (o.response.data = rn.call(
6196
6211
  e,
6197
6212
  e.transformResponse,
6198
6213
  o.response
6199
6214
  ), o.response.headers = He.from(o.response.headers))), Promise.reject(o);
6200
6215
  });
6201
6216
  }
6202
- const yr = "1.7.7", jn = {};
6217
+ const br = "1.7.7", jn = {};
6203
6218
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
6204
6219
  jn[e] = function(o) {
6205
6220
  return typeof o === e || "a" + (t < 1 ? "n " : " ") + e;
@@ -6208,7 +6223,7 @@ const yr = "1.7.7", jn = {};
6208
6223
  const so = {};
6209
6224
  jn.transitional = function(t, n, o) {
6210
6225
  function r(i, a) {
6211
- return "[Axios v" + yr + "] Transitional option '" + i + "'" + a + (o ? ". " + o : "");
6226
+ return "[Axios v" + br + "] Transitional option '" + i + "'" + a + (o ? ". " + o : "");
6212
6227
  }
6213
6228
  return (i, a, s) => {
6214
6229
  if (t === !1)
@@ -6338,8 +6353,8 @@ class ct {
6338
6353
  }
6339
6354
  getUri(t) {
6340
6355
  t = ft(this.defaults, t);
6341
- const n = pr(t.baseURL, t.url);
6342
- return sr(n, t.params, t.paramsSerializer);
6356
+ const n = mr(t.baseURL, t.url);
6357
+ return ur(n, t.params, t.paramsSerializer);
6343
6358
  }
6344
6359
  }
6345
6360
  $.forEach(["delete", "get", "head", "options"], function(t) {
@@ -6515,18 +6530,18 @@ const Cn = {
6515
6530
  Object.entries(Cn).forEach(([e, t]) => {
6516
6531
  Cn[t] = e;
6517
6532
  });
6518
- function br(e) {
6519
- const t = new ct(e), n = Jo(ct.prototype.request, t);
6533
+ function Cr(e) {
6534
+ const t = new ct(e), n = Yo(ct.prototype.request, t);
6520
6535
  return $.extend(n, ct.prototype, t, { allOwnKeys: !0 }), $.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(r) {
6521
- return br(ft(e, r));
6536
+ return Cr(ft(e, r));
6522
6537
  }, n;
6523
6538
  }
6524
- const _e = br(kt);
6539
+ const _e = Cr(kt);
6525
6540
  _e.Axios = ct;
6526
6541
  _e.CanceledError = yt;
6527
6542
  _e.CancelToken = Ln;
6528
- _e.isCancel = dr;
6529
- _e.VERSION = yr;
6543
+ _e.isCancel = fr;
6544
+ _e.VERSION = br;
6530
6545
  _e.toFormData = zt;
6531
6546
  _e.AxiosError = ue;
6532
6547
  _e.Cancel = _e.CanceledError;
@@ -6537,8 +6552,8 @@ _e.spread = Gc;
6537
6552
  _e.isAxiosError = Uc;
6538
6553
  _e.mergeConfig = ft;
6539
6554
  _e.AxiosHeaders = He;
6540
- _e.formToJSON = (e) => cr($.isHTMLForm(e) ? new FormData(e) : e);
6541
- _e.getAdapter = gr.getAdapter;
6555
+ _e.formToJSON = (e) => dr($.isHTMLForm(e) ? new FormData(e) : e);
6556
+ _e.getAdapter = yr.getAdapter;
6542
6557
  _e.HttpStatusCode = Cn;
6543
6558
  _e.default = _e;
6544
6559
  function zc(e, t) {
@@ -6605,14 +6620,14 @@ const ln = /* @__PURE__ */ ge({
6605
6620
  return x.editor.type || (x.editor.type = k.controlType), x;
6606
6621
  });
6607
6622
  });
6608
- const f = P(() => i.value ? i.value.mode : "1"), m = {
6623
+ const f = R(() => i.value ? i.value.mode : "1"), m = {
6609
6624
  1: Vt,
6610
6625
  2: Ot
6611
- }, p = P(() => ({
6626
+ }, p = R(() => ({
6612
6627
  "farris-panel": !0,
6613
6628
  "position-relative": !0,
6614
6629
  "query-solution": !0
6615
- })), v = P(() => ({
6630
+ })), v = R(() => ({
6616
6631
  border: "none"
6617
6632
  }));
6618
6633
  function w(k, x) {
@@ -6644,7 +6659,7 @@ const ln = /* @__PURE__ */ ge({
6644
6659
  style: v.value
6645
6660
  }, [l(), S()]);
6646
6661
  }
6647
- }), Kc = /* @__PURE__ */ ge({
6662
+ }), Xc = /* @__PURE__ */ ge({
6648
6663
  name: "FConditionFieldsDesign",
6649
6664
  props: In,
6650
6665
  emits: ["valueChange", "blur", "focus", "click", "input"],
@@ -6653,7 +6668,7 @@ const ln = /* @__PURE__ */ ge({
6653
6668
  initialConditionValue: s,
6654
6669
  fieldMap: u,
6655
6670
  loadFieldConfigs: c
6656
- } = a, d = Vo(e, t, n), {
6671
+ } = a, d = No(e, t, n), {
6657
6672
  conditionClass: l,
6658
6673
  resizeObserver: f
6659
6674
  } = d;
@@ -6663,12 +6678,12 @@ const ln = /* @__PURE__ */ ge({
6663
6678
  }), te(() => e.conditions, () => {
6664
6679
  i.value = e.conditions;
6665
6680
  });
6666
- const m = P(() => ({
6681
+ const m = R(() => ({
6667
6682
  // row: true,
6668
6683
  "f-utils-flex-row-wrap": !0,
6669
6684
  "farris-form": !0,
6670
6685
  "farris-form-controls-inline": r.value
6671
- })), p = P(() => l.value);
6686
+ })), p = R(() => l.value);
6672
6687
  function v() {
6673
6688
  return i.value.map((w) => {
6674
6689
  var g;
@@ -6687,7 +6702,7 @@ const ln = /* @__PURE__ */ ge({
6687
6702
  }, [v()]);
6688
6703
  }
6689
6704
  });
6690
- class Xc extends Go {
6705
+ class Kc extends Uo {
6691
6706
  getPropertyConfig(t, n) {
6692
6707
  return this.getBasicPropConfig(), this.getAppearanceConfig(), this.getBehaviorConfig(t), this.getQuerySolutionConfig(t.editor), this.getEventPropConfig(t), this.propertyConfig;
6693
6708
  }
@@ -6817,7 +6832,7 @@ class Xc extends Go {
6817
6832
  function Jc(e, t) {
6818
6833
  function n(o, r) {
6819
6834
  const i = e.schema;
6820
- return new Xc(o, t).getPropertyConfig(i, r);
6835
+ return new Kc(o, t).getPropertyConfig(i, r);
6821
6836
  }
6822
6837
  return {
6823
6838
  getPropsConfig: n
@@ -6832,7 +6847,7 @@ const Yc = /* @__PURE__ */ ge({
6832
6847
  Me(() => {
6833
6848
  r.value.componentInstance = c;
6834
6849
  }), t.expose(c.value);
6835
- const d = P(() => e.presetQuerySolutionName || ""), l = P(() => e.filterText || "");
6850
+ const d = R(() => e.presetQuerySolutionName || ""), l = R(() => e.filterText || "");
6836
6851
  te(() => e.fields, (y) => {
6837
6852
  const S = Ce(y);
6838
6853
  S.forEach((k) => {
@@ -6846,11 +6861,11 @@ const Yc = /* @__PURE__ */ ge({
6846
6861
  }, {
6847
6862
  immediate: !0
6848
6863
  });
6849
- const f = C(!0), m = P(() => ({
6864
+ const f = C(!0), m = R(() => ({
6850
6865
  "farris-panel": !0,
6851
6866
  "position-relative": !0,
6852
6867
  "query-solution": !0
6853
- })), p = P(() => ({
6868
+ })), p = R(() => ({
6854
6869
  border: "none"
6855
6870
  }));
6856
6871
  function v() {
@@ -6882,7 +6897,7 @@ const Yc = /* @__PURE__ */ ge({
6882
6897
  }, null)])]), v()]);
6883
6898
  }
6884
6899
  function g() {
6885
- return h(Kc, {
6900
+ return h(Xc, {
6886
6901
  fields: n.value,
6887
6902
  conditions: o.value,
6888
6903
  key: i.value
@@ -6933,7 +6948,7 @@ const Yc = /* @__PURE__ */ ge({
6933
6948
  function id(e, t, n) {
6934
6949
  return t;
6935
6950
  }
6936
- const Cr = {
6951
+ const wr = {
6937
6952
  fieldsConfig: { type: Array, default: [] },
6938
6953
  modelValue: { type: Array, default: [] },
6939
6954
  source: { type: String, default: "query-solution" },
@@ -6943,7 +6958,7 @@ const Cr = {
6943
6958
  designViewModelUtils: { type: Object, default: {} },
6944
6959
  eventsEditorUtils: { type: Object, default: {} },
6945
6960
  viewModelId: { type: String, default: "" }
6946
- }, ad = Ge(Cr, od, rd, id), ld = {
6961
+ }, ad = Ge(wr, od, rd, id), ld = {
6947
6962
  width: { type: String, default: "300px" },
6948
6963
  height: { type: Number, default: 10 },
6949
6964
  isWidePanel: { type: Boolean, default: !1 },
@@ -6991,7 +7006,7 @@ const Cr = {
6991
7006
  var u;
6992
7007
  const n = C((u = e.category) == null ? void 0 : u.categoryId), o = C(e.elementConfig.propertyID), r = C(e.elementConfig.propertyName);
6993
7008
  C(e.elementConfig.editor);
6994
- const i = C(e.elementConfig.propertyValue), a = P(() => {
7009
+ const i = C(e.elementConfig.propertyValue), a = R(() => {
6995
7010
  const c = e.elementConfig.visible;
6996
7011
  return {
6997
7012
  "farris-group-wrap": !0,
@@ -7015,7 +7030,7 @@ const Cr = {
7015
7030
  }
7016
7031
  return () => h("div", {
7017
7032
  class: a.value
7018
- }, [h(Ho, {
7033
+ }, [h(Wo, {
7019
7034
  id: o.value,
7020
7035
  customClass: `${n.value}-${o.value}`,
7021
7036
  label: r.value,
@@ -7196,7 +7211,7 @@ const Cr = {
7196
7211
  } = U.target;
7197
7212
  U.key === "Enter" && M(q);
7198
7213
  }
7199
- function R(U) {
7214
+ function P(U) {
7200
7215
  const {
7201
7216
  value: q
7202
7217
  } = U.target;
@@ -7250,7 +7265,7 @@ const Cr = {
7250
7265
  }), Me(() => {
7251
7266
  L();
7252
7267
  });
7253
- function X(U, q) {
7268
+ function K(U, q) {
7254
7269
  (!c.value || q) && (c.value = q || e.schema), u.value = tn(c.value, S, x, F, U), L(), j(w.value);
7255
7270
  }
7256
7271
  function re(U, q) {
@@ -7309,7 +7324,7 @@ const Cr = {
7309
7324
  class: "f-icon modal_close"
7310
7325
  }, null)]), h("span", {
7311
7326
  class: "input-group-text input-group-clear",
7312
- onClick: (q) => R(q)
7327
+ onClick: (q) => P(q)
7313
7328
  }, [h("i", {
7314
7329
  class: "f-icon f-icon-search"
7315
7330
  }, null)])])])]);
@@ -7361,7 +7376,7 @@ const Cr = {
7361
7376
  class: "f-icon f-icon-engineering w-100 icon"
7362
7377
  }, null), h("span", null, [Ve("属性")])]);
7363
7378
  }
7364
- function K() {
7379
+ function X() {
7365
7380
  return {
7366
7381
  display: f.value ? "block" : "none",
7367
7382
  width: n.value
@@ -7393,18 +7408,18 @@ const Cr = {
7393
7408
  }
7394
7409
  return Me(() => {
7395
7410
  M(w.value);
7396
- }), Hr(() => {
7411
+ }), Wr(() => {
7397
7412
  a.value && (f.value = s.value), L(), M(w.value);
7398
7413
  }), te(T, () => {
7399
7414
  }), t.expose({
7400
- updatePropertyConfig: X,
7415
+ updatePropertyConfig: K,
7401
7416
  updateDesignerItem: re
7402
7417
  }), () => h(We, null, [h("div", {
7403
7418
  ref: g,
7404
7419
  class: ["property-panel", {
7405
7420
  "white-theme": m.value
7406
7421
  }],
7407
- style: K()
7422
+ style: X()
7408
7423
  }, [h("div", {
7409
7424
  class: "propertyPanel panel flex-column",
7410
7425
  hidden: i.value !== "panel"
@@ -8152,7 +8167,7 @@ const yd = "https://json-schema.org/draft/2020-12/schema", bd = "https://farris-
8152
8167
  description: Td,
8153
8168
  type: Ed,
8154
8169
  categories: Id
8155
- }, wr = {
8170
+ }, Sr = {
8156
8171
  /**
8157
8172
  * 组件标识
8158
8173
  */
@@ -8261,7 +8276,7 @@ const yd = "https://json-schema.org/draft/2020-12/schema", bd = "https://farris-
8261
8276
  /** 更新方式 blur | change */
8262
8277
  updateOn: { type: String, default: "change" }
8263
8278
  };
8264
- Ge(wr, kd, vd, gd, Od);
8279
+ Ge(Sr, kd, vd, gd, Od);
8265
8280
  const Bd = {
8266
8281
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
8267
8282
  host: { type: Object },
@@ -8271,14 +8286,14 @@ const Bd = {
8271
8286
  props: Bd,
8272
8287
  emits: ["click"],
8273
8288
  setup(e, t) {
8274
- const n = C(e.popupContentPosition), o = C(e.host), r = P(() => ({
8289
+ const n = C(e.popupContentPosition), o = C(e.host), r = R(() => ({
8275
8290
  backgroundColor: e.backgroundColor || "",
8276
8291
  pointerEvents: "auto"
8277
8292
  }));
8278
8293
  function i(s) {
8279
8294
  t.emit("click"), s.preventDefault(), s.stopPropagation();
8280
8295
  }
8281
- P(() => {
8296
+ R(() => {
8282
8297
  const s = o.value;
8283
8298
  if (s) {
8284
8299
  const u = s.getBoundingClientRect(), {
@@ -8293,7 +8308,7 @@ const Bd = {
8293
8308
  }
8294
8309
  return n.value;
8295
8310
  });
8296
- const a = P(() => ({
8311
+ const a = R(() => ({
8297
8312
  // position: 'relative',
8298
8313
  // left: `${position.value.left}px`,
8299
8314
  // top: `${position.value.top}px`
@@ -8314,13 +8329,13 @@ const Bd = {
8314
8329
  });
8315
8330
  }
8316
8331
  });
8317
- function Rd(e) {
8332
+ function Pd(e) {
8318
8333
  if (e.content && e.content.render)
8319
8334
  return e.content.render;
8320
8335
  if (e.render && typeof e.render == "function")
8321
8336
  return e.render;
8322
8337
  }
8323
- function Pd(e) {
8338
+ function Rd(e) {
8324
8339
  const t = document.createElement("div");
8325
8340
  t.style.display = "contents";
8326
8341
  let n;
@@ -8333,7 +8348,7 @@ function Pd(e) {
8333
8348
  vt(() => {
8334
8349
  document.body.removeChild(t);
8335
8350
  });
8336
- const i = Rd(e);
8351
+ const i = Pd(e);
8337
8352
  return () => h(Md, {
8338
8353
  "popup-content-position": e.popupPosition,
8339
8354
  host: e.host,
@@ -8347,10 +8362,10 @@ function Pd(e) {
8347
8362
  }
8348
8363
  class Vd {
8349
8364
  static show(t) {
8350
- return Pd(t);
8365
+ return Rd(t);
8351
8366
  }
8352
8367
  }
8353
- function Sr(e, t) {
8368
+ function xr(e, t) {
8354
8369
  function n() {
8355
8370
  const o = e.beforeOpen || e.beforeClickButton || null;
8356
8371
  let r = Promise.resolve(!0);
@@ -8365,10 +8380,10 @@ function Sr(e, t) {
8365
8380
  return { judgeCanOpen: n };
8366
8381
  }
8367
8382
  function Nd(e, t, n, o, r) {
8368
- const i = C(e.buttonBehavior), a = C(e.popupOnInput), s = P(() => ({
8383
+ const i = C(e.buttonBehavior), a = C(e.popupOnInput), s = R(() => ({
8369
8384
  "input-group-append": !0,
8370
8385
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
8371
- })), { judgeCanOpen: u } = Sr(e, r), c = P(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = Ae(ou, null), l = C();
8386
+ })), { judgeCanOpen: u } = xr(e, r), c = R(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), d = Ae(ou, null), l = C();
8372
8387
  async function f(v) {
8373
8388
  if (await u() && c.value) {
8374
8389
  const w = !!t.slots.default;
@@ -8402,7 +8417,7 @@ function Nd(e, t, n, o, r) {
8402
8417
  };
8403
8418
  }
8404
8419
  function Dd(e, t, n, o, r, i) {
8405
- const a = C(!1), s = P(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = i;
8420
+ const a = C(!1), s = R(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = i;
8406
8421
  function c(m) {
8407
8422
  a.value = m;
8408
8423
  }
@@ -8434,13 +8449,13 @@ function Dd(e, t, n, o, r, i) {
8434
8449
  };
8435
8450
  }
8436
8451
  function Ad(e, t, n, o, r) {
8437
- const i = P(() => e.popupOnInput), a = P(() => e.popupOnFocus), { shouldPopupContent: s } = r, u = P(() => e.enableTitle ? n.value : ""), c = P(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = P(() => e.readonly || !e.editable), l = C(!1), f = P(() => !e.disable && l.value), m = P(() => ({
8452
+ const i = R(() => e.popupOnInput), a = R(() => e.popupOnFocus), { shouldPopupContent: s } = r, u = R(() => e.enableTitle ? n.value : ""), c = R(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), d = R(() => e.readonly || !e.editable), l = C(!1), f = R(() => !e.disable && l.value), m = R(() => ({
8438
8453
  "text-left": e.textAlign === "left",
8439
8454
  "text-center": e.textAlign === "center",
8440
8455
  "text-right": e.textAlign === "right",
8441
8456
  "form-control": !0,
8442
8457
  "f-utils-fill": !0
8443
- })), p = P(() => ({
8458
+ })), p = R(() => ({
8444
8459
  "input-group": !0,
8445
8460
  "f-state-disable": e.disable,
8446
8461
  "f-state-editable": e.editable && !e.disable && !e.readonly,
@@ -8506,7 +8521,7 @@ function Ad(e, t, n, o, r) {
8506
8521
  };
8507
8522
  }
8508
8523
  function $d(e, t, n, o) {
8509
- const r = C(), i = C(!1), { judgeCanOpen: a } = Sr(e, o);
8524
+ const r = C(), i = C(!1), { judgeCanOpen: a } = xr(e, o);
8510
8525
  function s() {
8511
8526
  const l = r.value;
8512
8527
  l && l.show(n.value);
@@ -8575,14 +8590,14 @@ function jd(e, t, n) {
8575
8590
  function Ld(e, t, n) {
8576
8591
  const o = C(e.separator), {
8577
8592
  changeTextBoxValue: r
8578
- } = n, i = P(() => t.value ? t.value.split(o.value).map((s) => ({
8593
+ } = n, i = R(() => t.value ? t.value.split(o.value).map((s) => ({
8579
8594
  name: s,
8580
8595
  selectable: !0
8581
8596
  })) : []);
8582
8597
  function a(s) {
8583
8598
  r(s.map((u) => u.name).join(o.value), !0);
8584
8599
  }
8585
- return () => h(vo, {
8600
+ return () => h(go, {
8586
8601
  id: `${e.id}-tag-editor`,
8587
8602
  class: "form-control",
8588
8603
  data: i.value,
@@ -8611,7 +8626,7 @@ function Hd(e, t, n, o) {
8611
8626
  onClick: d
8612
8627
  }, [h("i", {
8613
8628
  class: "f-icon modal_close"
8614
- }, null)]), [[Wr, c.value]]), t.slots.buttonContent ? h("span", {
8629
+ }, null)]), [[qr, c.value]]), t.slots.buttonContent ? h("span", {
8615
8630
  class: "input-group-text input-group-append-button",
8616
8631
  onClick: i,
8617
8632
  onMouseenter: a,
@@ -8632,7 +8647,7 @@ function Wd(e, t, n) {
8632
8647
  hidePopup: r,
8633
8648
  popoverRef: i
8634
8649
  } = n;
8635
- return () => h(Ca, {
8650
+ return () => h(ba, {
8636
8651
  id: `${e.id}-popover`,
8637
8652
  ref: i,
8638
8653
  visible: !0,
@@ -8653,7 +8668,7 @@ function Wd(e, t, n) {
8653
8668
  }
8654
8669
  const qd = /* @__PURE__ */ ge({
8655
8670
  name: "FButtonEdit",
8656
- props: wr,
8671
+ props: Sr,
8657
8672
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
8658
8673
  setup(e, t) {
8659
8674
  const n = C(), o = C(e.customClass), r = C(e.modelValue), i = $d(e, t, n, r), {
@@ -8667,7 +8682,7 @@ const qd = /* @__PURE__ */ ge({
8667
8682
  } = l, v = Dd(e, t, r, f, d, l), {
8668
8683
  onMouseEnterTextBox: w,
8669
8684
  onMouseLeaveTextBox: g
8670
- } = v, y = P(() => {
8685
+ } = v, y = R(() => {
8671
8686
  const b = {
8672
8687
  "f-button-edit": !0,
8673
8688
  "f-cmp-inputgroup": !0,
@@ -8714,7 +8729,7 @@ const qd = /* @__PURE__ */ ge({
8714
8729
  onMouseleave: g
8715
8730
  }, [k(), x()])]), a.value && T()]);
8716
8731
  }
8717
- }), Gd = "https://json-schema.org/draft/2020-12/schema", Ud = "https://farris-design.gitee.io/field-selector.schema.json", zd = "field-selector", Kd = "A Farris Input Component", Xd = "object", Jd = {
8732
+ }), Gd = "https://json-schema.org/draft/2020-12/schema", Ud = "https://farris-design.gitee.io/field-selector.schema.json", zd = "field-selector", Xd = "A Farris Input Component", Kd = "object", Jd = {
8718
8733
  disabled: {
8719
8734
  description: "",
8720
8735
  type: "boolean",
@@ -8809,8 +8824,8 @@ const qd = /* @__PURE__ */ ge({
8809
8824
  $schema: Gd,
8810
8825
  $id: Ud,
8811
8826
  title: zd,
8812
- description: Kd,
8813
- type: Xd,
8827
+ description: Xd,
8828
+ type: Kd,
8814
8829
  properties: Jd
8815
8830
  }, Qd = [
8816
8831
  { field: "code", title: "绑定字段" },
@@ -8841,7 +8856,7 @@ const qd = /* @__PURE__ */ ge({
8841
8856
  repositoryToken: { type: Symbol, default: null }
8842
8857
  };
8843
8858
  Ge(Zd, Yd);
8844
- const xr = /* @__PURE__ */ new Map([
8859
+ const _r = /* @__PURE__ */ new Map([
8845
8860
  ["appearance", lt],
8846
8861
  ["column", "columnOption"]
8847
8862
  ]);
@@ -8864,7 +8879,7 @@ function nf(e, t, n) {
8864
8879
  const o = e.getSchemaByType("content-container");
8865
8880
  return o.id = `${t.id}-layout`, o.appearance = { class: "f-grid-is-sub f-utils-flex-column" }, o.contents = [t], o;
8866
8881
  }
8867
- function _r(e, t, n) {
8882
+ function kr(e, t, n) {
8868
8883
  const r = n.parentComponentInstance.schema.type, i = r === "section" || r === "tab-page";
8869
8884
  t.appearance = { class: "f-component-grid" };
8870
8885
  const s = (i ? nf : tf)(e, t, n);
@@ -9645,8 +9660,9 @@ const of = "https://json-schema.org/draft/2020-12/schema", rf = "https://farris-
9645
9660
  }
9646
9661
  }, cf = [
9647
9662
  "id",
9648
- "type"
9649
- ], kr = {
9663
+ "type",
9664
+ "columns"
9665
+ ], Fr = {
9650
9666
  $schema: of,
9651
9667
  $id: rf,
9652
9668
  title: af,
@@ -9768,9 +9784,9 @@ const of = "https://json-schema.org/draft/2020-12/schema", rf = "https://farris-
9768
9784
  autoCheckChildren: { type: Boolean, default: !1 },
9769
9785
  /** 显示设置按钮 */
9770
9786
  showSetting: { type: Boolean, default: !1 }
9771
- }, df = Ge(Hn, kr, xr, _r), ff = fl(), pf = dl(), Fr = Object.assign({}, Hn, { componentId: { type: String, default: "" } }), mf = Ge(Fr, kr, xr, _r);
9772
- var Xe = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Xe || {}), tt = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(tt || {}), St = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(St || {}), Ne = /* @__PURE__ */ ((e) => (e[e.none = 0] = "none", e[e.filterable = 1] = "filterable", e[e.sortable = 2] = "sortable", e[e.filtered = 4] = "filtered", e[e.sorted = 8] = "sorted", e[e.ascending = 16] = "ascending", e[e.descending = 32] = "descending", e))(Ne || {}), wn = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(wn || {});
9773
- function Tr(e, t) {
9787
+ }, df = Ge(Hn, Fr, _r, kr), ff = fl(), pf = dl(), Tr = Object.assign({}, Hn, { componentId: { type: String, default: "" } }), mf = Ge(Tr, Fr, _r, kr);
9788
+ var Ke = /* @__PURE__ */ ((e) => (e[e.readonly = 0] = "readonly", e[e.editable = 1] = "editable", e[e.editing = 2] = "editing", e))(Ke || {}), tt = /* @__PURE__ */ ((e) => (e[e.initial = 0] = "initial", e[e.editing = 1] = "editing", e))(tt || {}), St = /* @__PURE__ */ ((e) => (e[e.data = 0] = "data", e[e.group = 1] = "group", e[e.summary = 2] = "summary", e))(St || {}), Ne = /* @__PURE__ */ ((e) => (e[e.none = 0] = "none", e[e.filterable = 1] = "filterable", e[e.sortable = 2] = "sortable", e[e.filtered = 4] = "filtered", e[e.sorted = 8] = "sorted", e[e.ascending = 16] = "ascending", e[e.descending = 32] = "descending", e))(Ne || {}), wn = /* @__PURE__ */ ((e) => (e.NONE = "none", e.NUMBER = "number", e.DATE = "date", e.TEXT = "boolean", e.IMAGE = "boolean2", e.ENUM = "enum", e.CUSTOM = "custom", e))(wn || {});
9789
+ function Er(e, t) {
9774
9790
  var m;
9775
9791
  const n = String(Date.now()), o = ((m = e.rowOption) == null ? void 0 : m.height) || 28, r = C(t.value.primaryColumnsWidth);
9776
9792
  function i(p) {
@@ -9895,7 +9911,7 @@ function vf(e, t, n) {
9895
9911
  }
9896
9912
  return { treeNodeIconsClass: r };
9897
9913
  }
9898
- function Er() {
9914
+ function Ir() {
9899
9915
  function e(n, o) {
9900
9916
  const r = n.pre;
9901
9917
  if (r) {
@@ -9913,7 +9929,7 @@ function Er() {
9913
9929
  return { updateRowPosition: e, updateVisualInfomation: t };
9914
9930
  }
9915
9931
  function gf(e, t, n, o, r, i) {
9916
- const { dataView: a, fold: s, hasRealChildren: u, unFold: c } = o, { collapseField: d, hasChildrenField: l } = r, { updateRowPosition: f } = Er();
9932
+ const { dataView: a, fold: s, hasRealChildren: u, unFold: c } = o, { collapseField: d, hasChildrenField: l } = r, { updateRowPosition: f } = Ir();
9917
9933
  function m(w, g) {
9918
9934
  const y = g[w].layer;
9919
9935
  let S = w + 1;
@@ -9981,86 +9997,86 @@ function yf(e, t, n, o, r, i, a, s, u, c, d) {
9981
9997
  } = c, {
9982
9998
  cellKey: M,
9983
9999
  cellPosition: D,
9984
- rowKey: R,
10000
+ rowKey: P,
9985
10001
  rowPosition: A
9986
- } = Tr(e, n), {
10002
+ } = Er(e, n), {
9987
10003
  hierarchyCellContentStyle: j
9988
10004
  } = hf(e, o, a), {
9989
10005
  treeNodeIconsClass: N
9990
10006
  } = vf(e, b, E);
9991
- function L(K, J) {
9992
- const he = K.raw[E.value];
10007
+ function L(X, J) {
10008
+ const he = X.raw[E.value];
9993
10009
  return {
9994
- "fv-tree-node-toggle": he && K.collapse,
9995
- "fv-tree-node-toggle-minus": he && !K.collapse
10010
+ "fv-tree-node-toggle": he && X.collapse,
10011
+ "fv-tree-node-toggle-minus": he && !X.collapse
9996
10012
  };
9997
10013
  }
9998
- function X(K, J) {
9999
- K.stopPropagation(), V(J);
10014
+ function K(X, J) {
10015
+ X.stopPropagation(), V(J);
10000
10016
  }
10001
- function re(K, J) {
10017
+ function re(X, J) {
10002
10018
  return h("div", {
10003
- class: L(K),
10004
- onClick: (he) => X(he, K)
10019
+ class: L(X),
10020
+ onClick: (he) => K(he, X)
10005
10021
  }, null);
10006
10022
  }
10007
- function de(K, J) {
10023
+ function de(X, J) {
10008
10024
  return B.value && h("div", {
10009
10025
  id: "treeNodeIcons",
10010
- class: N(K, J)
10026
+ class: N(X, J)
10011
10027
  }, null);
10012
10028
  }
10013
- function Fe(K) {
10014
- g.value ? (K.checked ? y(K) : S(K), I(K)) : T(K);
10029
+ function Fe(X) {
10030
+ g.value ? (X.checked ? y(X) : S(X), I(X)) : T(X);
10015
10031
  }
10016
- function ye(K, J) {
10032
+ function ye(X, J) {
10017
10033
  return O.value && h(Lt, {
10018
- id: "checkbox_for_" + M(K, J.index),
10019
- indeterminate: K.indeterminate,
10020
- checked: K.checked,
10021
- "onUpdate:checked": (he) => K.checked = he,
10022
- onChange: () => Fe(K)
10034
+ id: "checkbox_for_" + M(X, J.index),
10035
+ indeterminate: X.indeterminate,
10036
+ checked: X.checked,
10037
+ "onUpdate:checked": (he) => X.checked = he,
10038
+ onChange: () => Fe(X)
10023
10039
  }, null);
10024
10040
  }
10025
- function Te(K, J) {
10041
+ function Te(X, J) {
10026
10042
  return h("span", {
10027
10043
  title: J.data
10028
- }, [J.mode === Xe.editing ? J.getEditor(J) : J.formatter ? J.formatter(J, K) : J.data != null ? J.data.toString() : J.data]);
10044
+ }, [J.mode === Ke.editing ? J.getEditor(J) : J.formatter ? J.formatter(J, X) : J.data != null ? J.data.toString() : J.data]);
10029
10045
  }
10030
- function we(K, J, he) {
10046
+ function we(X, J, he) {
10031
10047
  return h("div", {
10032
10048
  ref: J.setRef,
10033
- key: M(K, J.index),
10049
+ key: M(X, J.index),
10034
10050
  class: "fv-grid-hierarchy-cell",
10035
10051
  style: D(J, he)
10036
10052
  }, [h("div", {
10037
- style: j(K)
10038
- }, [re(K), de(K, J), ye(K, J), Te(K, J)])]);
10053
+ style: j(X)
10054
+ }, [re(X), de(X, J), ye(X, J), Te(X, J)])]);
10039
10055
  }
10040
- function ke(K, J, he, Ee) {
10056
+ function ke(X, J, he, Ee) {
10041
10057
  return h("div", {
10042
10058
  ref: J.setRef,
10043
- key: M(K, J.index),
10059
+ key: M(X, J.index),
10044
10060
  class: "fv-grid-cell",
10045
10061
  style: D(J, he),
10046
- onClick: (U) => l(U, J, K, Ee)
10047
- }, [J.mode === Xe.editing ? J.getEditor(J) : J.formatter ? J.formatter(J, K) : J.data != null ? J.data.toString() : J.data]);
10062
+ onClick: (U) => l(U, J, X, Ee)
10063
+ }, [J.mode === Ke.editing ? J.getEditor(J) : J.formatter ? J.formatter(J, X) : J.data != null ? J.data.toString() : J.data]);
10048
10064
  }
10049
- function ve(K, J) {
10050
- return J === "left" && n.value.leftColumns.length > 0 && n.value.leftColumns[0].field === K.field || J === "primary" && n.value.primaryColumns.length > 0 && n.value.primaryColumns[0].field === K.field;
10065
+ function ve(X, J) {
10066
+ return J === "left" && n.value.leftColumns.length > 0 && n.value.leftColumns[0].field === X.field || J === "primary" && n.value.primaryColumns.length > 0 && n.value.primaryColumns[0].field === X.field;
10051
10067
  }
10052
- function be(K, J, he = "primary", Ee) {
10068
+ function be(X, J, he = "primary", Ee) {
10053
10069
  return h("div", {
10054
- ref: K.setRef,
10055
- key: R(K),
10056
- class: f(K),
10057
- style: A(K),
10058
- onMouseover: (U) => p(U, K),
10059
- onMouseout: (U) => v(U, K),
10060
- onClick: (U) => m(U, K)
10061
- }, [Object.values(K.data).filter((U) => J[U.field] && U.rowSpan === 1).map((U, q) => {
10070
+ ref: X.setRef,
10071
+ key: P(X),
10072
+ class: f(X),
10073
+ style: A(X),
10074
+ onMouseover: (U) => p(U, X),
10075
+ onMouseout: (U) => v(U, X),
10076
+ onClick: (U) => m(U, X)
10077
+ }, [Object.values(X.data).filter((U) => J[U.field] && U.rowSpan === 1).map((U, q) => {
10062
10078
  const z = Ee.find((ae) => ae.field === U.field);
10063
- return ve(U, he) ? we(K, U, J) : ke(K, U, J, z);
10079
+ return ve(U, he) ? we(X, U, J) : ke(X, U, J, z);
10064
10080
  })]);
10065
10081
  }
10066
10082
  return {
@@ -10121,7 +10137,7 @@ function Cf(e, t, n, o, r) {
10121
10137
  indeterminate: _.indeterminate,
10122
10138
  "onUpdate:modelValue": (b) => _.checked = b,
10123
10139
  class: "custom-control-input"
10124
- }, null), [[qr, _.checked]]), h("label", {
10140
+ }, null), [[Gr, _.checked]]), h("label", {
10125
10141
  class: "custom-control-label",
10126
10142
  for: w(_),
10127
10143
  onClick: y
@@ -10235,7 +10251,7 @@ function xf(e) {
10235
10251
  };
10236
10252
  }
10237
10253
  function _f(e) {
10238
- const t = C(e.minHeight), n = C(e.minWidth), o = C(e.height), r = C(e.width), i = P(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = P(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
10254
+ const t = C(e.minHeight), n = C(e.minWidth), o = C(e.height), r = C(e.width), i = R(() => o.value <= 0 ? 0 : Math.max(o.value, t.value)), a = R(() => r.value <= 0 ? 0 : Math.max(r.value, n.value));
10239
10255
  return te([
10240
10256
  () => e.height,
10241
10257
  () => e.width,
@@ -10243,7 +10259,7 @@ function _f(e) {
10243
10259
  () => e.minWidth
10244
10260
  ], ([u, c, d, l]) => {
10245
10261
  t.value = Number(d), n.value = Number(l), o.value = Number(u), r.value = Number(c);
10246
- }), { containerStyleObject: P(() => ({
10262
+ }), { containerStyleObject: R(() => ({
10247
10263
  height: i.value > 0 ? `${i.value}px` : e.fit ? "100%" : "",
10248
10264
  width: a.value > 0 ? `${a.value}px` : e.fit ? "100%" : ""
10249
10265
  })) };
@@ -10285,7 +10301,7 @@ function kf(e) {
10285
10301
  summaryColumns: []
10286
10302
  };
10287
10303
  }
10288
- const i = C(e.summary), a = P(() => {
10304
+ const i = C(e.summary), a = R(() => {
10289
10305
  const S = i.value;
10290
10306
  return (S == null ? void 0 : S.groupFields) || [];
10291
10307
  });
@@ -10304,7 +10320,7 @@ function kf(e) {
10304
10320
  return a.value && a.value.reduce((x, F) => (x.set(F, !0), x), k), S.reduce((x, F) => (F.visible = F.visible !== !1, F.fixed === "left" ? (o.value.leftColumns.push(F), o.value.leftColumnsMap.set(F.field, F), o.value.leftColumnsWidth += F.actualWidth) : F.fixed === "right" ? (o.value.rightColumns.push(F), o.value.rightColumnsMap.set(F.field, F), o.value.rightColumnsWidth += F.actualWidth) : (o.value.primaryColumns.push(F), o.value.primaryColumnsMap.set(F.field, F), o.value.primaryColumnsWidth += F.actualWidth), k.has(F.field) && o.value.summaryColumns.push(F), x), o), s(), o;
10305
10321
  }
10306
10322
  u(e.columns);
10307
- const c = P(() => o.value.leftColumns.length > 0), d = P(() => o.value.rightColumns.length > 0);
10323
+ const c = R(() => o.value.leftColumns.length > 0), d = R(() => o.value.rightColumns.length > 0);
10308
10324
  function l(S, k) {
10309
10325
  return k.sortable && k.sort && k.sort !== "none" && S.push(k), S;
10310
10326
  }
@@ -10493,7 +10509,7 @@ function Mf(e, t, n, o, r, i) {
10493
10509
  default: () => [Ve(" ")]
10494
10510
  });
10495
10511
  }
10496
- function Rf(e) {
10512
+ function Pf(e) {
10497
10513
  C("请输入关键词"), C('<i class="f-icon f-icon-search"></i>');
10498
10514
  const t = [{
10499
10515
  name: "发票类型",
@@ -10535,7 +10551,7 @@ function Rf(e) {
10535
10551
  default: () => [Ve(" ")]
10536
10552
  });
10537
10553
  }
10538
- function Pf(e, t, n, o, r) {
10554
+ function Rf(e, t, n, o, r) {
10539
10555
  const i = /* @__PURE__ */ new Map([
10540
10556
  ["boolean", "boolean-filter"],
10541
10557
  ["date", "date-filter"],
@@ -10549,7 +10565,7 @@ function Pf(e, t, n, o, r) {
10549
10565
  ["boolean-filter", Tf],
10550
10566
  ["date-filter", If],
10551
10567
  ["enum-filter", Mf],
10552
- ["list-filter", Rf],
10568
+ ["list-filter", Pf],
10553
10569
  ["numeric-filter", Of],
10554
10570
  ["text-filter", Bf]
10555
10571
  ]);
@@ -10587,7 +10603,7 @@ function Vf(e) {
10587
10603
  return { applyCommands: r };
10588
10604
  }
10589
10605
  function Nf(e, t, n, o, r, i, a) {
10590
- const { columnContext: s } = n, { getGridHeaderCells: u } = r, { groupFields: c } = i, d = C(-1), l = C(!1), f = P(() => c.value && c.value.map((y) => {
10606
+ const { columnContext: s } = n, { getGridHeaderCells: u } = r, { groupFields: c } = i, d = C(-1), l = C(!1), f = R(() => c.value && c.value.map((y) => {
10591
10607
  var S;
10592
10608
  return {
10593
10609
  name: ((S = s.value.primaryColumnsMap.get(y)) == null ? void 0 : S.title) || y,
@@ -10638,21 +10654,21 @@ function Nf(e, t, n, o, r, i, a) {
10638
10654
  };
10639
10655
  }
10640
10656
  function Df(e, t, n, o, r) {
10641
- const { getGridHeaderCells: i } = r, a = 120, s = 50, u = P(() => {
10657
+ const { getGridHeaderCells: i } = r, a = 120, s = 50, u = R(() => {
10642
10658
  var _;
10643
10659
  return ((_ = e.rowNumber) == null ? void 0 : _.enable) || !1;
10644
- }), c = P(() => {
10660
+ }), c = R(() => {
10645
10661
  var _, b;
10646
10662
  return ((_ = e.selection) == null ? void 0 : _.multiSelect) || ((b = e.selection) == null ? void 0 : b.showCheckbox) || !1;
10647
- }), d = P(
10663
+ }), d = R(
10648
10664
  () => {
10649
10665
  var _;
10650
10666
  return 0 + (u.value ? ((_ = e.rowNumber) == null ? void 0 : _.width) || 32 : 0) + (c.value ? s : 0);
10651
10667
  }
10652
- ), l = P(() => {
10668
+ ), l = R(() => {
10653
10669
  var _;
10654
10670
  return (_ = e.columnOption) == null ? void 0 : _.fitColumns;
10655
- }), f = P(() => {
10671
+ }), f = R(() => {
10656
10672
  var _;
10657
10673
  return l.value && ((_ = e.columnOption) == null ? void 0 : _.fitMode) || "average";
10658
10674
  });
@@ -10691,16 +10707,16 @@ function Df(e, t, n, o, r) {
10691
10707
  let V = 0, I = 0;
10692
10708
  if (_.value.primaryColumns.filter((D) => D.visible).forEach((D) => {
10693
10709
  if (typeof D.width == "string") {
10694
- const R = m(D, _.value, b);
10695
- B.set(D, R), V += R, O.push(D);
10710
+ const P = m(D, _.value, b);
10711
+ B.set(D, P), V += P, O.push(D);
10696
10712
  } else
10697
10713
  D.width = D.width || a, I += D.width, E.push(D);
10698
10714
  }), b - V > I) {
10699
10715
  const D = b - V;
10700
- O.forEach((R) => {
10701
- R.actualWidth = B.get(R) || a, _.value.primaryColumnsWidth += R.actualWidth;
10702
- }), E.forEach((R) => {
10703
- R.actualWidth = D * (R.width / I), _.value.primaryColumnsWidth += R.actualWidth;
10716
+ O.forEach((P) => {
10717
+ P.actualWidth = B.get(P) || a, _.value.primaryColumnsWidth += P.actualWidth;
10718
+ }), E.forEach((P) => {
10719
+ P.actualWidth = D * (P.width / I), _.value.primaryColumnsWidth += P.actualWidth;
10704
10720
  });
10705
10721
  } else
10706
10722
  v(_, b);
@@ -10729,7 +10745,7 @@ function Df(e, t, n, o, r) {
10729
10745
  }), _.value = Object.assign({}, _.value);
10730
10746
  }
10731
10747
  function F(_, b, E) {
10732
- var R;
10748
+ var P;
10733
10749
  let O = 0;
10734
10750
  const B = _.value.primaryColumns, V = _.value.rightColumns;
10735
10751
  _.value.rightColumns.filter((A) => A.visible).forEach((A) => {
@@ -10742,7 +10758,7 @@ function Df(e, t, n, o, r) {
10742
10758
  return D.set("primary", []), D.set("right", []), _.value.primaryColumns.reduce((A, j) => {
10743
10759
  var N, L;
10744
10760
  return j.fixed === "right" ? (N = A.get("right")) == null || N.push(j) : (L = A.get("primary")) == null || L.push(j), A;
10745
- }, D), (R = D.get("right")) != null && R.length && (_.value.primaryColumns = [...D.get("primary") || []], _.value.rightColumns = [...D.get("right") || []]), _.value.primaryColumnsWidth = 0, _.value.rightColumnsWidth = 0, !1;
10761
+ }, D), (P = D.get("right")) != null && P.length && (_.value.primaryColumns = [...D.get("primary") || []], _.value.rightColumns = [...D.get("right") || []]), _.value.primaryColumnsWidth = 0, _.value.rightColumnsWidth = 0, !1;
10746
10762
  }
10747
10763
  function T() {
10748
10764
  if (n.value) {
@@ -10981,8 +10997,8 @@ const $f = [
10981
10997
  return !1;
10982
10998
  }
10983
10999
  };
10984
- function Ir() {
10985
- const e = C([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Xo(), o = /* @__PURE__ */ new Map([
11000
+ function Or() {
11001
+ const e = C([]), t = /* @__PURE__ */ new Map(), { loadConditionGroup: n } = Jo(), o = /* @__PURE__ */ new Map([
10986
11002
  ["boolean", Lf],
10987
11003
  ["datetime", Hf],
10988
11004
  ["enum", Wf],
@@ -11020,18 +11036,18 @@ function Ir() {
11020
11036
  }
11021
11037
  return { apply: d, clearCondition: i, conditions: e, removeCondition: r };
11022
11038
  }
11023
- function Or(e, t) {
11039
+ function Br(e, t) {
11024
11040
  var g;
11025
- const { idField: n } = t, o = C(e.summary), r = C(e.group), i = C(((g = e.group) == null ? void 0 : g.groupFields) || []), a = P(() => {
11041
+ const { idField: n } = t, o = C(e.summary), r = C(e.group), i = C(((g = e.group) == null ? void 0 : g.groupFields) || []), a = R(() => {
11026
11042
  var y;
11027
11043
  return (y = e.group) == null ? void 0 : y.enable;
11028
- }), s = P(() => {
11044
+ }), s = R(() => {
11029
11045
  var y;
11030
11046
  return (y = e.group) == null ? void 0 : y.showGroupPanel;
11031
- }), u = P(() => {
11047
+ }), u = R(() => {
11032
11048
  const y = o.value;
11033
11049
  return (y == null ? void 0 : y.groupFields) || [];
11034
- }), c = P(() => {
11050
+ }), c = R(() => {
11035
11051
  const y = r.value;
11036
11052
  return y && y.showSummary;
11037
11053
  }), d = /* @__PURE__ */ new Map();
@@ -11116,13 +11132,13 @@ function Gf(e, t, n, o) {
11116
11132
  function d(B, V) {
11117
11133
  const I = /* @__PURE__ */ new Map();
11118
11134
  return B.reduce((M, D) => {
11119
- const R = D[u.value] !== void 0 ? D[u.value] : "";
11120
- if (R && V.has(R)) {
11121
- const j = V.get(R);
11135
+ const P = D[u.value] !== void 0 ? D[u.value] : "";
11136
+ if (P && V.has(P)) {
11137
+ const j = V.get(P);
11122
11138
  D.__fv_parent_index__ = j.__fv_index__, j.__fv_hasChildren__ = !0;
11123
11139
  }
11124
- const A = M.has(R) ? M.get(R) : [];
11125
- return A.push(D), M.set(R, A), M;
11140
+ const A = M.has(P) ? M.get(P) : [];
11141
+ return A.push(D), M.set(P, A), M;
11126
11142
  }, I), I;
11127
11143
  }
11128
11144
  function l(B) {
@@ -11167,8 +11183,8 @@ function Gf(e, t, n, o) {
11167
11183
  }
11168
11184
  function g(B, V) {
11169
11185
  Array.from(V.keys()).forEach((I) => {
11170
- V.get(I).reduce((D, R) => {
11171
- const A = R[i.value], j = B.get(R[i.value]), N = B.get(I);
11186
+ V.get(I).reduce((D, P) => {
11187
+ const A = P[i.value], j = B.get(P[i.value]), N = B.get(I);
11172
11188
  return N && (N.children.set(A, j), N.children.set(A, j), j.parentId = I, j.parentIndex = N.index, j.parents.set(I, N)), D;
11173
11189
  }, B);
11174
11190
  });
@@ -11196,8 +11212,8 @@ function Gf(e, t, n, o) {
11196
11212
  }
11197
11213
  function x(B) {
11198
11214
  c.clear(), B.forEach((M, D) => {
11199
- const R = M[i.value];
11200
- c.set(R, w(R, D));
11215
+ const P = M[i.value];
11216
+ c.set(P, w(P, D));
11201
11217
  });
11202
11218
  const V = l(B), I = d(B, V);
11203
11219
  return g(c, I), S(B, c), k(c), c;
@@ -11214,23 +11230,23 @@ function Gf(e, t, n, o) {
11214
11230
  const V = l(B), I = d(B, V);
11215
11231
  return B.forEach((M, D) => {
11216
11232
  var N;
11217
- const R = M[i.value], A = I.has(R) ? (N = I.get(R)) == null ? void 0 : N.map((L) => L.__fv_index__) : [], j = w(R, D);
11233
+ const P = M[i.value], A = I.has(P) ? (N = I.get(P)) == null ? void 0 : N.map((L) => L.__fv_index__) : [], j = w(P, D);
11218
11234
  M.__fv_graph_node__ = j, M.__fv_children_index__ = A, M.__fv_descendant_index__ = [...A], M.__fv_parents__ = /* @__PURE__ */ new Map(), T(M) && (M[a.value] = !0);
11219
11235
  }), f(B), p(B, V), e.showLines && v(B), B;
11220
11236
  }
11221
11237
  function b(B, V, I) {
11222
- const D = I.value[B][i.value], R = c.get(D);
11223
- if (R) {
11224
- const A = c.get(R.parentId);
11238
+ const D = I.value[B][i.value], P = c.get(D);
11239
+ if (P) {
11240
+ const A = c.get(P.parentId);
11225
11241
  let j = I.value.length - 1;
11226
11242
  if (A) {
11227
- const N = Array.from(A.children.keys()).indexOf(R.id);
11243
+ const N = Array.from(A.children.keys()).indexOf(P.id);
11228
11244
  if (N === A.children.size - 1) {
11229
- const X = Array.from(A.descendant.values())[A.descendant.size - 1];
11230
- j = I.value.findIndex((de) => de[i.value] === X.id) + 1;
11245
+ const K = Array.from(A.descendant.values())[A.descendant.size - 1];
11246
+ j = I.value.findIndex((de) => de[i.value] === K.id) + 1;
11231
11247
  } else {
11232
- const X = Array.from(A.children.values())[N + 1];
11233
- j = I.value.findIndex((de) => de[i.value] === X.id);
11248
+ const K = Array.from(A.children.values())[N + 1];
11249
+ j = I.value.findIndex((de) => de[i.value] === K.id);
11234
11250
  }
11235
11251
  V[s.value] = !1, V[u.value] = A.id, I.value.splice(j, 0, V);
11236
11252
  }
@@ -11246,8 +11262,8 @@ function Gf(e, t, n, o) {
11246
11262
  function O(B, V) {
11247
11263
  const I = B[i.value], M = c.get(I), D = Array.from(M.descendant.keys());
11248
11264
  D.unshift(I);
11249
- const R = c.get(M.parentId);
11250
- if (R && (R.children.delete(I), R.children.size === 0)) {
11265
+ const P = c.get(M.parentId);
11266
+ if (P && (P.children.delete(I), P.children.size === 0)) {
11251
11267
  const j = V.find((N) => N[i.value] === M.parentId);
11252
11268
  j[s.value] = !1, j[a.value] = !1;
11253
11269
  }
@@ -11276,18 +11292,18 @@ const Uf = {
11276
11292
  props: zf,
11277
11293
  emits: ["close", "click"],
11278
11294
  setup: (e, t) => {
11279
- const n = C(e.animate), o = "fadeOut", r = P(() => e.options), i = C(!1), a = P(() => {
11295
+ const n = C(e.animate), o = "fadeOut", r = R(() => e.options), i = C(!1), a = R(() => {
11280
11296
  const g = {
11281
11297
  animated: i.value,
11282
11298
  toast: !0
11283
11299
  };
11284
11300
  return g[e.animate] = !1, g[o] = i.value, g[r.value.type] = !0, r.value.theme && (g[r.value.theme] = !0), g;
11285
- }), s = P(() => {
11301
+ }), s = R(() => {
11286
11302
  const S = `f-icon-${r.value && r.value.type ? r.value.type.replace("toasty-type-", "") : "default"}`, k = {
11287
11303
  "f-icon": !0
11288
11304
  };
11289
11305
  return k[S] = !0, k;
11290
- }), u = P(() => r.value.title || r.value.message), c = P(() => r.value.title && r.value.message), d = P(() => !r.value.title && r.value.message), l = P(() => e.showCloseButton), f = P(() => !!r.value.buttons || !!t.slots.default);
11306
+ }), u = R(() => r.value.title || r.value.message), c = R(() => r.value.title && r.value.message), d = R(() => !r.value.title && r.value.message), l = R(() => e.showCloseButton), f = R(() => !!r.value.buttons || !!t.slots.default);
11291
11307
  function m(g) {
11292
11308
  g.stopPropagation(), g.preventDefault(), i.value = !1, setTimeout(() => {
11293
11309
  t.emit("close", r.value);
@@ -11344,19 +11360,19 @@ const Uf = {
11344
11360
  innerHTML: r.value.message
11345
11361
  }, null))])])]);
11346
11362
  }
11347
- }), Rt = /* @__PURE__ */ ge({
11363
+ }), Pt = /* @__PURE__ */ ge({
11348
11364
  name: "Notify",
11349
11365
  props: Uf,
11350
11366
  emits: ["close", "empty"],
11351
11367
  setup(e, t) {
11352
- const n = P(() => ({
11368
+ const n = R(() => ({
11353
11369
  "farris-notify": !0
11354
11370
  })), o = {
11355
11371
  left: 12,
11356
11372
  right: 12,
11357
11373
  top: 20,
11358
11374
  bottom: 12
11359
- }, r = C(), i = C(e.options), a = C(e.showCloseButton), s = P(() => e.position || "bottom-right"), u = P(() => e.timeout != null ? e.timeout : 3e3), c = P(() => {
11375
+ }, r = C(), i = C(e.options), a = C(e.showCloseButton), s = R(() => e.position || "bottom-right"), u = R(() => e.timeout != null ? e.timeout : 3e3), c = R(() => {
11360
11376
  const f = e.bottom ? e.bottom : o.bottom, m = e.top ? e.top : o.top, p = {
11361
11377
  transition: "all 0.2s ease",
11362
11378
  left: s.value.indexOf("left") > -1 ? `${e.left ? e.left : o.left}px` : "",
@@ -11391,7 +11407,7 @@ const Uf = {
11391
11407
  }, null)]);
11392
11408
  }
11393
11409
  });
11394
- class Br {
11410
+ class Mr {
11395
11411
  constructor() {
11396
11412
  H(this, "notifyRefs", []);
11397
11413
  H(this, "globalConfig", et({}));
@@ -11429,7 +11445,7 @@ class Br {
11429
11445
  name: "fade",
11430
11446
  appear: !0
11431
11447
  }, {
11432
- default: () => [h(Rt, nt({
11448
+ default: () => [h(Pt, nt({
11433
11449
  ref: s
11434
11450
  }, r, {
11435
11451
  onClose: u
@@ -11502,59 +11518,59 @@ class Br {
11502
11518
  }), this.notifyRefs.length = 0;
11503
11519
  }
11504
11520
  }
11505
- const Kf = Symbol("NOTIFY_SERVICE_TOKEN");
11506
- Rt.install = (e) => {
11507
- e.component(Rt.name, Rt), e.component(Sn.name, Sn);
11508
- const t = new Br();
11509
- e.provide(Kf, t), e.provide("FNotifyService", t);
11521
+ const Xf = Symbol("NOTIFY_SERVICE_TOKEN");
11522
+ Pt.install = (e) => {
11523
+ e.component(Pt.name, Pt), e.component(Sn.name, Sn);
11524
+ const t = new Mr();
11525
+ e.provide(Xf, t), e.provide("FNotifyService", t);
11510
11526
  };
11511
- function Xf(e, t, n, o, r) {
11527
+ function Kf(e, t, n, o, r) {
11512
11528
  var Ft;
11513
- const { pageSize: i, total: a, shouldRenderPagination: s, currentPage: u, mode: c } = r, d = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), v = C([]), w = C([]), g = Ir(), y = Or(e, o), { generateGroupData: S, groupFields: k, shouldGroupingData: x } = y, F = C(e.data), T = Gf(e, F, n, o), {
11529
+ const { pageSize: i, total: a, shouldRenderPagination: s, currentPage: u, mode: c } = r, d = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map(), p = /* @__PURE__ */ new Map(), v = C([]), w = C([]), g = Or(), y = Br(e, o), { generateGroupData: S, groupFields: k, shouldGroupingData: x } = y, F = C(e.data), T = Gf(e, F, n, o), {
11514
11530
  generateHierarchyData: _,
11515
11531
  hasRealChildren: b,
11516
11532
  insertSibling: E,
11517
11533
  insertChild: O,
11518
11534
  shouldStratifyData: B,
11519
11535
  trimmedOriginalData: V
11520
- } = T, { idField: I, reviseIdentifyField: M } = o, D = C(e.newDataItem), R = C(e.data), A = C(e.data), { flatTreeData: j } = Cp(e);
11536
+ } = T, { idField: I, reviseIdentifyField: M } = o, D = C(e.newDataItem), P = C(e.data), A = C(e.data), { flatTreeData: j } = Cp(e);
11521
11537
  function N(G) {
11522
11538
  return j(G);
11523
11539
  }
11524
11540
  if (e.data && ((Ft = e.data[0]) != null && Ft.children)) {
11525
11541
  const G = N(e.data);
11526
- F.value = G, R.value = G, A.value = G;
11542
+ F.value = G, P.value = G, A.value = G;
11527
11543
  }
11528
- const L = C(e.summary), X = P(() => {
11544
+ const L = C(e.summary), K = R(() => {
11529
11545
  const G = L.value;
11530
11546
  return (G == null ? void 0 : G.groupFields) || [];
11531
11547
  });
11532
11548
  let re = /* @__PURE__ */ new Map();
11533
- const de = P(() => {
11549
+ const de = R(() => {
11534
11550
  var G;
11535
- return ((G = R.value) == null ? void 0 : G.length) || 0;
11536
- }), Fe = C(e.pagination), ye = new Br(), Te = P(() => e.hierarchy ? 0 : s.value ? c.value === "server" ? 0 : (u.value - 1) * i.value : 0), we = P(() => s.value ? c.value === "server" ? Math.min(i.value, de.value) : Math.min(Te.value + i.value, a.value, de.value) : de.value);
11551
+ return ((G = P.value) == null ? void 0 : G.length) || 0;
11552
+ }), Fe = C(e.pagination), ye = new Mr(), Te = R(() => e.hierarchy ? 0 : s.value ? c.value === "server" ? 0 : (u.value - 1) * i.value : 0), we = R(() => s.value ? c.value === "server" ? Math.min(i.value, de.value) : Math.min(Te.value + i.value, a.value, de.value) : de.value);
11537
11553
  te(() => F.value.length, (G, oe) => {
11538
11554
  G !== oe && (a.value = G);
11539
11555
  });
11540
11556
  function ke() {
11541
11557
  var $e, fe;
11542
- R.value = Ce(F.value), x.value && (R.value = S(k.value, F.value, t)), re = X.value.reduce((De, xe) => (De.set(xe, 0), De), re);
11558
+ P.value = Ce(F.value), x.value && (P.value = S(k.value, F.value, t)), re = K.value.reduce((De, xe) => (De.set(xe, 0), De), re);
11543
11559
  const G = Te.value, oe = we.value;
11544
11560
  let ce = 0;
11545
- const Re = [];
11546
- if (($e = R.value) != null && $e.length) {
11547
- M(R.value);
11561
+ const Pe = [];
11562
+ if (($e = P.value) != null && $e.length) {
11563
+ M(P.value);
11548
11564
  const De = I.value !== e.idField;
11549
11565
  for (let xe = G; xe < oe; xe++) {
11550
- const Oe = R.value[xe];
11551
- Oe.__fv_data_grid_group_row__ ? (ce = 0, Oe.__fv_data_index__ = "") : Oe.__fv_data_grid_group_summary__ ? Oe.__fv_data_index__ = "" : (Oe.__fv_disabled__ = Oe[((fe = e.rowOption) == null ? void 0 : fe.disabledField) || "disabled"], ce++, s.value ? Oe.__fv_data_index__ = ce + (u.value - 1) * i.value : Oe.__fv_data_index__ = ce), Oe.__fv_index__ = xe, De && (Oe[I.value] = xe), X.value.forEach((Je) => {
11566
+ const Oe = P.value[xe];
11567
+ Oe.__fv_data_grid_group_row__ ? (ce = 0, Oe.__fv_data_index__ = "") : Oe.__fv_data_grid_group_summary__ ? Oe.__fv_data_index__ = "" : (Oe.__fv_disabled__ = Oe[((fe = e.rowOption) == null ? void 0 : fe.disabledField) || "disabled"], ce++, s.value ? Oe.__fv_data_index__ = ce + (u.value - 1) * i.value : Oe.__fv_data_index__ = ce), Oe.__fv_index__ = xe, De && (Oe[I.value] = xe), K.value.forEach((Je) => {
11552
11568
  const bt = re.get(Je) || 0;
11553
11569
  re.set(Je, bt + Oe[Je]);
11554
- }), Re.push(Oe);
11570
+ }), Pe.push(Oe);
11555
11571
  }
11556
11572
  }
11557
- return B.value && _(Re), A.value = [...Re], Re;
11573
+ return B.value && _(Pe), A.value = [...Pe], Pe;
11558
11574
  }
11559
11575
  const ve = C(ke());
11560
11576
  function be(G, oe, ce = !1) {
@@ -11575,7 +11591,7 @@ function Xf(e, t, n, o, r) {
11575
11591
  return xe.__fv_index__ = Oe, xe;
11576
11592
  }), ve.value;
11577
11593
  }
11578
- function K(G) {
11594
+ function X(G) {
11579
11595
  return p.clear(), w.value = G, w.value.reduce((oe, ce) => (oe.set(ce.field, ce), oe), p), be([], w.value);
11580
11596
  }
11581
11597
  function J(G, oe) {
@@ -11596,13 +11612,13 @@ function Xf(e, t, n, o, r) {
11596
11612
  function z(G, oe) {
11597
11613
  const ce = `group_of_${G}_${oe}`;
11598
11614
  d.set(ce, !0);
11599
- const Re = ($e) => $e[G] !== oe;
11615
+ const Pe = ($e) => $e[G] !== oe;
11600
11616
  return f.set(`collapse_${G}_${oe}`, {
11601
11617
  field: G,
11602
11618
  fieldName: G,
11603
11619
  fieldType: "string",
11604
11620
  filterValue: oe,
11605
- filter: Re
11621
+ filter: Pe
11606
11622
  }), be(Array.from(f.values()), Array.from(p.values()));
11607
11623
  }
11608
11624
  function ae(G, oe) {
@@ -11610,7 +11626,7 @@ function Xf(e, t, n, o, r) {
11610
11626
  return d.set(ce, !1), f.delete(`collapse_${G}_${oe}`), be(Array.from(f.values()), Array.from(p.values()), !0);
11611
11627
  }
11612
11628
  function pe(G) {
11613
- const oe = G.raw[I.value], ce = (Re) => !Re.__fv_parents__.has(oe);
11629
+ const oe = G.raw[I.value], ce = (Pe) => !Pe.__fv_parents__.has(oe);
11614
11630
  m.set(`fold_${oe}`, {
11615
11631
  field: "id",
11616
11632
  fieldName: "id",
@@ -11634,9 +11650,9 @@ function Xf(e, t, n, o, r) {
11634
11650
  var oe;
11635
11651
  if (G && ((oe = G[0]) != null && oe.children)) {
11636
11652
  const ce = N(G);
11637
- F.value = ce, R.value = ce, A.value = ce;
11653
+ F.value = ce, P.value = ce, A.value = ce;
11638
11654
  } else
11639
- F.value = G, R.value = G, A.value = G;
11655
+ F.value = G, P.value = G, A.value = G;
11640
11656
  Se();
11641
11657
  }
11642
11658
  function Qe(G, oe, ce) {
@@ -11657,10 +11673,10 @@ function Xf(e, t, n, o, r) {
11657
11673
  function Ie(G = 0) {
11658
11674
  if (!(G > -1 && e.hierarchy))
11659
11675
  return !1;
11660
- const ce = D.value(), Re = F.value[G];
11661
- W(Re), O(G, ce, F), Se();
11676
+ const ce = D.value(), Pe = F.value[G];
11677
+ W(Pe), O(G, ce, F), Se();
11662
11678
  }
11663
- function Pe(G) {
11679
+ function Re(G) {
11664
11680
  const oe = G ? G - 1 : 0;
11665
11681
  F.value.splice(oe, 1), Se();
11666
11682
  }
@@ -11678,7 +11694,7 @@ function Xf(e, t, n, o, r) {
11678
11694
  const G = f.size > 0 ? Array.from(f.values()) : [];
11679
11695
  return be(G, Array.from(p.values()));
11680
11696
  }
11681
- function Xt(G) {
11697
+ function Kt(G) {
11682
11698
  Fe.value && (Fe.value.size = G, Se());
11683
11699
  }
11684
11700
  function Jt(G, oe) {
@@ -11692,15 +11708,15 @@ function Xf(e, t, n, o, r) {
11692
11708
  }
11693
11709
  function Yt(G) {
11694
11710
  return G.map((ce) => {
11695
- const Re = A.value.findIndex(($e) => $e[I.value] === ce);
11696
- return Re > -1 ? A.value[Re] : null;
11711
+ const Pe = A.value.findIndex(($e) => $e[I.value] === ce);
11712
+ return Pe > -1 ? A.value[Pe] : null;
11697
11713
  }).filter((ce) => ce != null);
11698
11714
  }
11699
11715
  return {
11700
11716
  addFilter: Ee,
11701
11717
  addNewDataItem: le,
11702
11718
  addSorter: J,
11703
- changePageSizeTo: Xt,
11719
+ changePageSizeTo: Kt,
11704
11720
  collapse: z,
11705
11721
  dataView: ve,
11706
11722
  editDataItem: Jt,
@@ -11717,14 +11733,14 @@ function Xf(e, t, n, o, r) {
11717
11733
  insertNewDataItem: me,
11718
11734
  insertNewChildDataItem: Ie,
11719
11735
  removeAllFilter: q,
11720
- removeDataItem: Pe,
11736
+ removeDataItem: Re,
11721
11737
  removeDataItemById: ze,
11722
11738
  removeFilter: U,
11723
11739
  removeHierarchyDataItem: pt,
11724
11740
  removeSorter: he,
11725
11741
  rawView: A,
11726
11742
  refresh: mt,
11727
- setSorters: K,
11743
+ setSorters: X,
11728
11744
  sorters: w,
11729
11745
  updateDataView: Se,
11730
11746
  unFold: se,
@@ -11759,16 +11775,16 @@ function Jf() {
11759
11775
  }
11760
11776
  function Yf(e) {
11761
11777
  C(e.selection.showCheckbox || !1);
11762
- const t = P(() => {
11778
+ const t = R(() => {
11763
11779
  var a;
11764
11780
  return ((a = e.hierarchy) == null ? void 0 : a.collapseField) || "__fv_collapse__";
11765
- }), n = P(() => {
11781
+ }), n = R(() => {
11766
11782
  var a;
11767
11783
  return ((a = e.hierarchy) == null ? void 0 : a.hasChildrenField) || "__fv_hasChildren__";
11768
- }), o = P(() => {
11784
+ }), o = R(() => {
11769
11785
  var a;
11770
11786
  return ((a = e.hierarchy) == null ? void 0 : a.parentIdField) || "parent";
11771
- }), r = P(() => e.hierarchy && e.selection.showCheckbox), i = P(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
11787
+ }), r = R(() => e.hierarchy && e.selection.showCheckbox), i = R(() => (e.treeNodeIconsData.fold || e.iconField) && e.showTreeNodeIcons);
11772
11788
  return { collapseField: t, hasChildrenField: n, parentIdField: o, shouldShowCheckBox: r, shouldShowIcon: i };
11773
11789
  }
11774
11790
  function Qf(e, t, n, o) {
@@ -11789,7 +11805,7 @@ function Qf(e, t, n, o) {
11789
11805
  function c(x, F) {
11790
11806
  return x.filter((_) => F.indexOf(_) === -1);
11791
11807
  }
11792
- const d = P(() => s.value === "OnlyParent"), l = P(() => s.value === "OnlyChildren");
11808
+ const d = R(() => s.value === "OnlyParent"), l = R(() => s.value === "OnlyChildren");
11793
11809
  function f(x, F) {
11794
11810
  let T = x;
11795
11811
  const _ = t.value[F], b = _[r.value], E = Array.from(_.raw.__fv_descendant_index__).map((D) => t.value[D]), O = E.map((D) => D.raw[r.value]), B = u(x, O), V = u(x, [b]);
@@ -11848,8 +11864,8 @@ function Zf(e, t, n, o, r) {
11848
11864
  function x(_, b) {
11849
11865
  let E = -1;
11850
11866
  if (_.raw.__fv_parent_index__ > -1) {
11851
- const I = t.value[_.raw.__fv_parent_index__].raw.__fv_descendant_index__, M = I.length > 1, D = I.findIndex((A) => A === b), R = D === I.length - 1;
11852
- E = M ? R ? I[D - 1] : I[D + 1] : -1;
11867
+ const I = t.value[_.raw.__fv_parent_index__].raw.__fv_descendant_index__, M = I.length > 1, D = I.findIndex((A) => A === b), P = D === I.length - 1;
11868
+ E = M ? P ? I[D - 1] : I[D + 1] : -1;
11853
11869
  }
11854
11870
  return E > -1 ? t.value[E] : null;
11855
11871
  }
@@ -11876,10 +11892,10 @@ function ep(e, t, n, o, r, i, a, s) {
11876
11892
  const ne = d.value < u.value.length ? u.value[d.value] : u.value[u.value.length - 1];
11877
11893
  return (ne.__fv_data_position__ || 0) + (ne.__fv_data_height__ || 0) + Math.max(u.value.length - 1 - d.value, 0) * v;
11878
11894
  }
11879
- const _ = P(() => {
11895
+ const _ = R(() => {
11880
11896
  const ne = T();
11881
11897
  return u.value.length > i.value + a ? Math.floor((i.value + a) / u.value.length * x.value) : Math.floor(x.value / Math.max(ne, x.value) * x.value);
11882
- }), b = P(() => Math.floor(F.value / Math.max(f.value, F.value) * k.value)), E = 0, O = 0, B = P(() => k.value - (m.value + f.value + p.value + s.value));
11898
+ }), b = R(() => Math.floor(F.value / Math.max(f.value, F.value) * k.value)), E = 0, O = 0, B = R(() => k.value - (m.value + f.value + p.value + s.value));
11883
11899
  function V(ne) {
11884
11900
  const le = u.value.find((me) => me.__fv_data_position__ > ne);
11885
11901
  return le ? le.__fv_index__ - 1 : 0;
@@ -11890,15 +11906,15 @@ function ep(e, t, n, o, r, i, a, s) {
11890
11906
  n.value = [];
11891
11907
  return;
11892
11908
  }
11893
- const le = (pt = e.pagination) != null && pt.enable ? 0 : Math.max(y - a, 0), me = u.value[u.value.length - 1].__fv_index__, Ie = (mt = e.pagination) != null && mt.enable ? u.value.length - 1 : Math.min(S + a - 1, me), Pe = u.value[le - 1], ze = c(le, Ie, Pe, ne);
11909
+ const le = (pt = e.pagination) != null && pt.enable ? 0 : Math.max(y - a, 0), me = u.value[u.value.length - 1].__fv_index__, Ie = (mt = e.pagination) != null && mt.enable ? u.value.length - 1 : Math.min(S + a - 1, me), Re = u.value[le - 1], ze = c(le, Ie, Re, ne);
11894
11910
  ze.length && (n.value = [...ze]);
11895
11911
  }
11896
- const M = P(() => T() > x.value), D = P(() => Math.floor(f.value) > F.value);
11897
- function R(ne) {
11912
+ const M = R(() => T() > x.value), D = R(() => Math.floor(f.value) > F.value);
11913
+ function P(ne) {
11898
11914
  let le = w.value + ne;
11899
11915
  le > E && (le = E);
11900
- const me = le > E, Ie = T(), Pe = M.value;
11901
- Pe && le < x.value - Ie && (le = x.value - Ie), (!Pe || me) && (le = E), w.value !== le && (w.value = le, y = V(Math.abs(w.value)), S = y + i.value, (y < l.value || S > d.value - a / 2) && I());
11916
+ const me = le > E, Ie = T(), Re = M.value;
11917
+ Re && le < x.value - Ie && (le = x.value - Ie), (!Re || me) && (le = E), w.value !== le && (w.value = le, y = V(Math.abs(w.value)), S = y + i.value, (y < l.value || S > d.value - a / 2) && I());
11902
11918
  }
11903
11919
  function A(ne) {
11904
11920
  if (!D.value) {
@@ -11923,48 +11939,48 @@ function ep(e, t, n, o, r, i, a, s) {
11923
11939
  let { deltaX: le } = ne.deltaX, me = -1 * ne.deltaY;
11924
11940
  return typeof le > "u" && (le = -1 * ne.wheelDeltaX / 6), typeof me > "u" && (me = ne.wheelDeltaY / 6), ne.deltaMode && ne.deltaMode === 1 && (le *= 10, me *= 10), ne.shiftKey ? { deltaY: -me, deltaX: -le } : { deltaX: le, deltaY: me };
11925
11941
  }
11926
- function X(ne) {
11942
+ function K(ne) {
11927
11943
  if (e.disabled)
11928
11944
  return;
11929
11945
  ne.preventDefault(), ne.stopPropagation();
11930
11946
  const { deltaX: le, deltaY: me } = L(ne);
11931
- R(me), A(le);
11947
+ P(me), A(le);
11932
11948
  }
11933
- const re = P(() => ({
11949
+ const re = R(() => ({
11934
11950
  height: `${u.value.length * v}px`,
11935
11951
  width: `${m.value}px`,
11936
11952
  transform: `translateY(${w.value}px)`
11937
- })), de = P(() => ({
11953
+ })), de = R(() => ({
11938
11954
  transform: `translateY(${w.value}px)`
11939
- })), Fe = P(() => ({
11955
+ })), Fe = R(() => ({
11940
11956
  height: `${u.value.length * v}px`,
11941
11957
  width: `${f.value}px`,
11942
11958
  transform: `translate(${g.value}px, ${w.value}px)`
11943
- })), ye = P(() => ({
11959
+ })), ye = R(() => ({
11944
11960
  transform: `translate(${g.value}px, ${w.value}px)`
11945
- })), Te = P(() => ({
11961
+ })), Te = R(() => ({
11946
11962
  height: `${u.value.length * v}px`,
11947
11963
  width: `${p.value}px`,
11948
11964
  transform: `translateY(${w.value}px)`
11949
- })), we = P(() => ({
11965
+ })), we = R(() => ({
11950
11966
  transform: `translateY(${w.value}px)`
11951
- })), ke = P(() => ({
11967
+ })), ke = R(() => ({
11952
11968
  height: `${u.value.length * v}px`,
11953
11969
  width: `${s.value}px`,
11954
11970
  transform: `translateY(${w.value}px)`
11955
- })), ve = P(() => ({
11971
+ })), ve = R(() => ({
11956
11972
  width: `${m.value}px`
11957
- })), be = P(() => ({
11973
+ })), be = R(() => ({
11958
11974
  transform: `translateX(${g.value}px)`
11959
- })), K = P(() => ({
11975
+ })), X = R(() => ({
11960
11976
  width: `${p.value}px`
11961
- })), J = P(() => {
11977
+ })), J = R(() => {
11962
11978
  const ne = T();
11963
11979
  return w.value / (x.value - ne) * (x.value - _.value);
11964
- }), he = P(() => ({
11980
+ }), he = R(() => ({
11965
11981
  height: `${_.value}px`,
11966
11982
  top: `${J.value}px`
11967
- })), Ee = P(() => g.value / B.value * (k.value - b.value)), U = P(() => ({
11983
+ })), Ee = R(() => g.value / B.value * (k.value - b.value)), U = R(() => ({
11968
11984
  width: `${b.value}px`,
11969
11985
  left: `${Ee.value}px`
11970
11986
  })), q = C(!1), z = C(-1), ae = C(-1), pe = C();
@@ -11981,8 +11997,8 @@ function ep(e, t, n, o, r, i, a, s) {
11981
11997
  if (q.value && z.value !== -1) {
11982
11998
  const le = z.value - ne.pageY, me = T(), Ie = me - _.value;
11983
11999
  if (Math.abs(le) <= Ie) {
11984
- const Pe = le / (x.value - _.value) * (me - x.value);
11985
- R(Pe), z.value = ne.pageY;
12000
+ const Re = le / (x.value - _.value) * (me - x.value);
12001
+ P(Re), z.value = ne.pageY;
11986
12002
  }
11987
12003
  }
11988
12004
  }
@@ -11994,12 +12010,12 @@ function ep(e, t, n, o, r, i, a, s) {
11994
12010
  q.value = !0;
11995
12011
  const Ie = (ze = ne.target) == null ? void 0 : ze.parentElement;
11996
12012
  Ie && (Ie.style.opacity = "1", pe.value = Ie);
11997
- const Pe = me === "horizontal" ? W : se;
11998
- me === "vertical" && (z.value = ne.pageY), me === "horizontal" && (ae.value = ne.pageX), le.value && (le.value, document.addEventListener("mousemove", Pe), document.addEventListener("mouseup", Se), document.body.style.userSelect = "none");
12013
+ const Re = me === "horizontal" ? W : se;
12014
+ me === "vertical" && (z.value = ne.pageY), me === "horizontal" && (ae.value = ne.pageX), le.value && (le.value, document.addEventListener("mousemove", Re), document.addEventListener("mouseup", Se), document.body.style.userSelect = "none");
11999
12015
  }
12000
12016
  return {
12001
12017
  onMouseDownScrollThumb: Ue,
12002
- onWheel: X,
12018
+ onWheel: K,
12003
12019
  dataGridWidth: k,
12004
12020
  gridDataStyle: Fe,
12005
12021
  gridHeaderColumnsStyle: be,
@@ -12015,7 +12031,7 @@ function ep(e, t, n, o, r, i, a, s) {
12015
12031
  reCalculateVisualDataRows: I,
12016
12032
  resetScroll: N,
12017
12033
  rightFixedGridDataStyle: Te,
12018
- rightFixedGridHeaderColumnsStyle: K,
12034
+ rightFixedGridHeaderColumnsStyle: X,
12019
12035
  rightFixedGridMergedDataStyle: we,
12020
12036
  shouldShowHorizontalScrollbar: D,
12021
12037
  shouldShowVirticalScrollbar: M,
@@ -12088,7 +12104,7 @@ function op() {
12088
12104
  function rp() {
12089
12105
  const {
12090
12106
  formatTo: e
12091
- } = ti();
12107
+ } = ni();
12092
12108
  function t(o, r) {
12093
12109
  return e(o, r.formatter.dateFormat);
12094
12110
  }
@@ -12103,7 +12119,7 @@ function rp() {
12103
12119
  function ip() {
12104
12120
  const {
12105
12121
  formatTo: e
12106
- } = ni();
12122
+ } = oi();
12107
12123
  function t(o, r) {
12108
12124
  const {
12109
12125
  formatter: i
@@ -12210,7 +12226,7 @@ function lp(e, t, n) {
12210
12226
  y.showEllipsis !== void 0 && (g.showEllipsis = y.showEllipsis), g.align = y.align || "left", g.valign = y.valign || "middle";
12211
12227
  }
12212
12228
  function v(g, y, S, k, x) {
12213
- const F = g.readonly ? Xe.readonly : Xe.editable, T = c(g.field, F, y, S, k);
12229
+ const F = g.readonly ? Ke.readonly : Ke.editable, T = c(g.field, F, y, S, k);
12214
12230
  return p(T, g), d(T, g, S), l(T, g), m(T, x, g), T;
12215
12231
  }
12216
12232
  return { createCellByColumn: v, createCellByField: c };
@@ -12224,9 +12240,9 @@ function sp(e, t, n, o, r, i) {
12224
12240
  __fv_data_grid_group_field__: E,
12225
12241
  __fv_data_grid_group_value__: O,
12226
12242
  __fv_data_index__: B
12227
- } = x, V = x.__fv_data_grid_group_layer__ || (x.__fv_parents__ ? (de = x.__fv_parents__) == null ? void 0 : de.size : 0) || 0, I = typeof x.parent == "number" ? Number(x.parent) : -1, M = x.__fv_data_grid_group_collapse__ || x[d.value], D = x.__fv_visible__ === void 0 ? !0 : x.__fv_visible__, R = x.__fv_checked__, A = x.__fv_indeterminate__, j = x.__fv_disabled__ || x[((Fe = e.rowOption) == null ? void 0 : Fe.disabledField) || "disabled"], N = b == null ? void 0 : b.find((Te) => Te.raw[c.value] === x.parent), L = N && N.collapse;
12243
+ } = x, V = x.__fv_data_grid_group_layer__ || (x.__fv_parents__ ? (de = x.__fv_parents__) == null ? void 0 : de.size : 0) || 0, I = typeof x.parent == "number" ? Number(x.parent) : -1, M = x.__fv_data_grid_group_collapse__ || x[d.value], D = x.__fv_visible__ === void 0 ? !0 : x.__fv_visible__, P = x.__fv_checked__, A = x.__fv_indeterminate__, j = x.__fv_disabled__ || x[((Fe = e.rowOption) == null ? void 0 : Fe.disabledField) || "disabled"], N = b == null ? void 0 : b.find((Te) => Te.raw[c.value] === x.parent), L = N && N.collapse;
12228
12244
  F && (F.parent, x.parent);
12229
- const X = L || N && !N.visible, re = {
12245
+ const K = L || N && !N.visible, re = {
12230
12246
  collapse: M,
12231
12247
  data: {},
12232
12248
  dataIndex: B,
@@ -12239,13 +12255,13 @@ function sp(e, t, n, o, r, i) {
12239
12255
  top: _,
12240
12256
  type: S,
12241
12257
  raw: x,
12242
- checked: R,
12258
+ checked: P,
12243
12259
  disabled: j,
12244
12260
  indeterminate: A,
12245
12261
  setRef: (Te) => {
12246
12262
  re.ref = Te;
12247
12263
  },
12248
- visible: D && !X,
12264
+ visible: D && !K,
12249
12265
  status: tt.initial
12250
12266
  };
12251
12267
  return F || (x.__fv_data_position__ = 0), u || (re.height = s, x.__fv_data_height__ = re.height, l(re, x)), (ye = a.value) != null && ye.customRowStatus && (a.value.customRowStatus(re), x.__fv_collapse__ = re.collapse, x.__fv_visible__ = re.visible, x.__fv_disabled__ = re.disabled), re;
@@ -12293,10 +12309,10 @@ function up(e, t, n) {
12293
12309
  }
12294
12310
  const m = et({});
12295
12311
  function p(b, E, O = {}) {
12296
- b.mode = Xe.editing, u = b, c = E, d = E == null ? void 0 : E.raw[b.field], l = O;
12312
+ b.mode = Ke.editing, u = b, c = E, d = E == null ? void 0 : E.raw[b.field], l = O;
12297
12313
  }
12298
12314
  function v(b) {
12299
- b.accept(), b.mode = Xe.editable, u = null, t.emit("endEditCell", {
12315
+ b.accept(), b.mode = Ke.editable, u = null, t.emit("endEditCell", {
12300
12316
  cell: b,
12301
12317
  row: c,
12302
12318
  newValue: c == null ? void 0 : c.raw[b.field],
@@ -12309,16 +12325,16 @@ function up(e, t, n) {
12309
12325
  document.body.classList.contains("lookup-modal-open") || (u && (v(u), c && (c = void 0)), document.body.removeEventListener("click", w));
12310
12326
  }
12311
12327
  function g(b, E, O, B = {}) {
12312
- r.value && i.value.editMode === "cell" && E.mode === Xe.editable && (u && v(u), p(E, O, B), document.body.removeEventListener("click", w), document.body.addEventListener("click", w));
12328
+ r.value && i.value.editMode === "cell" && E.mode === Ke.editable && (u && v(u), p(E, O, B), document.body.removeEventListener("click", w), document.body.addEventListener("click", w));
12313
12329
  }
12314
12330
  function y(b) {
12315
- Object.values(b.data).filter((E) => E.mode === Xe.editable && E.field !== "__commands__").forEach((E) => {
12316
- E.mode = Xe.editing;
12331
+ Object.values(b.data).filter((E) => E.mode === Ke.editable && E.field !== "__commands__").forEach((E) => {
12332
+ E.mode = Ke.editing;
12317
12333
  }), b.status = tt.editing, c = b;
12318
12334
  }
12319
12335
  function S(b, E) {
12320
- Object.values(b.data).filter((O) => O.mode === Xe.editing).forEach((O) => {
12321
- E ? O.accept() : O.cancel(), O.mode = Xe.editable;
12336
+ Object.values(b.data).filter((O) => O.mode === Ke.editing).forEach((O) => {
12337
+ E ? O.accept() : O.cancel(), O.mode = Ke.editable;
12322
12338
  }), b.status = tt.initial, c === b && (c = void 0);
12323
12339
  }
12324
12340
  function k(b) {
@@ -12339,7 +12355,7 @@ function up(e, t, n) {
12339
12355
  column: E,
12340
12356
  cell: b,
12341
12357
  editor: m
12342
- }, h(Yr, {
12358
+ }, h(Qr, {
12343
12359
  focusOnCreated: e.focusOnEditingCell,
12344
12360
  selectOnCreated: e.selectOnEditingCell,
12345
12361
  editor: V,
@@ -12448,7 +12464,7 @@ function dp(e, t, n, o) {
12448
12464
  };
12449
12465
  }
12450
12466
  function fp(e, t, n, o, r) {
12451
- const { idField: i } = n, a = C(""), s = P(() => e.selection.enableSelectRow), u = C(e.selection.multiSelect ?? !1), c = C(e.selection.multiSelectMode), d = C(e.selection.showCheckbox), l = C(e.selection.showSelectAll), f = C(e.selectionValues);
12467
+ const { idField: i } = n, a = C(""), s = R(() => e.selection.enableSelectRow), u = C(e.selection.multiSelect ?? !1), c = C(e.selection.multiSelectMode), d = C(e.selection.showCheckbox), l = C(e.selection.showSelectAll), f = C(e.selectionValues);
12452
12468
  te(() => e.selection.showSelectAll, (N, L) => {
12453
12469
  N !== L && (l.value = N);
12454
12470
  });
@@ -12456,14 +12472,14 @@ function fp(e, t, n, o, r) {
12456
12472
  return t.getSelectionItems(f.value);
12457
12473
  }
12458
12474
  function p() {
12459
- const N = o.value.reduce((X, re) => (X.set(re.raw[i.value], re), X), /* @__PURE__ */ new Map());
12460
- return f.value.map((X) => N.get(X)).filter((X) => !!X);
12475
+ const N = o.value.reduce((K, re) => (K.set(re.raw[i.value], re), K), /* @__PURE__ */ new Map());
12476
+ return f.value.map((K) => N.get(K)).filter((K) => !!K);
12461
12477
  }
12462
- const v = P(() => s.value && u.value), w = P(() => !!e.hierarchy), g = P(() => {
12478
+ const v = R(() => s.value && u.value), w = R(() => !!e.hierarchy), g = R(() => {
12463
12479
  const N = d.value && c.value === "DependOnCheck";
12464
12480
  return v.value && N;
12465
- }), y = P(() => v.value && !d.value), S = P(() => v.value && d.value && c.value === "OnCheckAndClick");
12466
- P(() => S.value);
12481
+ }), y = R(() => v.value && !d.value), S = R(() => v.value && d.value && c.value === "OnCheckAndClick");
12482
+ R(() => S.value);
12467
12483
  function k() {
12468
12484
  const N = t.getSelectionItems(f.value);
12469
12485
  r.emit("selectionChange", N);
@@ -12482,33 +12498,33 @@ function fp(e, t, n, o, r) {
12482
12498
  }, { immediate: !0 }), te(() => e.selection, (N) => {
12483
12499
  u.value = !!N.multiSelect, c.value = N.multiSelectMode || "DependOnCheck", d.value = !!N.showCheckbox;
12484
12500
  });
12485
- const F = P(() => !u.value);
12501
+ const F = R(() => !u.value);
12486
12502
  function T(N) {
12487
12503
  return N.raw[i.value] || "";
12488
12504
  }
12489
12505
  function _(N) {
12490
- return f.value.findIndex((X) => X === T(N));
12506
+ return f.value.findIndex((K) => K === T(N));
12491
12507
  }
12492
12508
  function b() {
12493
- p().forEach((X) => {
12494
- X.checked = !1;
12495
- }), t.getSelectionItems(f.value).forEach((X) => {
12496
- X.__fv_checked__ = !1;
12509
+ p().forEach((K) => {
12510
+ K.checked = !1;
12511
+ }), t.getSelectionItems(f.value).forEach((K) => {
12512
+ K.__fv_checked__ = !1;
12497
12513
  }), f.value = [], a.value = "";
12498
12514
  }
12499
12515
  function E(N) {
12500
12516
  const L = N.raw;
12501
12517
  L.__fv_checked__ = !0, L.__fv_indeterminate__ = !1;
12502
- const X = new Set(f.value);
12503
- X.add(L[i.value]), f.value = Array.from(X.values()), N.checked = !0, N.indeterminate = !1, a.value = N.raw[i.value];
12518
+ const K = new Set(f.value);
12519
+ K.add(L[i.value]), f.value = Array.from(K.values()), N.checked = !0, N.indeterminate = !1, a.value = N.raw[i.value];
12504
12520
  }
12505
12521
  function O(N) {
12506
12522
  const L = N.raw;
12507
- L.__fv_checked__ = !1, L.__fv_indeterminate__ = !1, f.value = f.value.filter((X) => X !== L[i.value]), N.checked = !1, N.indeterminate = !1, a.value = "";
12523
+ L.__fv_checked__ = !1, L.__fv_indeterminate__ = !1, f.value = f.value.filter((K) => K !== L[i.value]), N.checked = !1, N.indeterminate = !1, a.value = "";
12508
12524
  }
12509
12525
  function B(N) {
12510
12526
  const L = N.raw;
12511
- L.__fv_checked__ = !1, L.__fv_indeterminate__ = !0, f.value = f.value.filter((X) => X !== L[i.value]), N.checked = !1, N.indeterminate = !0;
12527
+ L.__fv_checked__ = !1, L.__fv_indeterminate__ = !0, f.value = f.value.filter((K) => K !== L[i.value]), N.checked = !1, N.indeterminate = !0;
12512
12528
  }
12513
12529
  function V(N) {
12514
12530
  F.value && b(), N.checked ? O(N) : E(N), k();
@@ -12517,16 +12533,16 @@ function fp(e, t, n, o, r) {
12517
12533
  N.raw[i.value] !== a.value && (b(), E(N), k());
12518
12534
  }
12519
12535
  function M(N) {
12520
- const L = o.value.find((X) => X.raw[i.value] === N);
12536
+ const L = o.value.find((K) => K.raw[i.value] === N);
12521
12537
  L && I(L);
12522
12538
  }
12523
12539
  function D(N) {
12524
- const L = o.value.filter((X) => N.includes(X.raw[i.value]));
12525
- L && L.length && (b(), L.forEach((X) => {
12526
- E(X);
12540
+ const L = o.value.filter((K) => N.includes(K.raw[i.value]));
12541
+ L && L.length && (b(), L.forEach((K) => {
12542
+ E(K);
12527
12543
  }), k());
12528
12544
  }
12529
- function R() {
12545
+ function P() {
12530
12546
  o.value.forEach((N) => E(N)), a.value = "", k();
12531
12547
  }
12532
12548
  function A() {
@@ -12553,7 +12569,7 @@ function fp(e, t, n, o, r) {
12553
12569
  multiSelectOnClickRowWithShift: y,
12554
12570
  multiSelectOnlyOnCheck: g,
12555
12571
  select: E,
12556
- selectAll: R,
12572
+ selectAll: P,
12557
12573
  selectedValues: f,
12558
12574
  selectItem: I,
12559
12575
  selectItemById: M,
@@ -12567,10 +12583,10 @@ function fp(e, t, n, o, r) {
12567
12583
  }
12568
12584
  function pp(e, t) {
12569
12585
  var w, g;
12570
- const n = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = C(((w = e.rowNumber) == null ? void 0 : w.enable) ?? !1), s = P(() => e.hierarchy && r.value && e.selection.enableSelectRow && e.selection.multiSelect ? !1 : r.value), u = C(a.value ? ((g = e.rowNumber) == null ? void 0 : g.width) ?? 32 : 0), c = C(s.value ? o : 0), d = P(() => {
12586
+ const n = String(Date.now()), o = 50, { showCheckBox: r, showSelectAll: i } = t, a = C(((w = e.rowNumber) == null ? void 0 : w.enable) ?? !1), s = R(() => e.hierarchy && r.value && e.selection.enableSelectRow && e.selection.multiSelect ? !1 : r.value), u = C(a.value ? ((g = e.rowNumber) == null ? void 0 : g.width) ?? 32 : 0), c = C(s.value ? o : 0), d = R(() => {
12571
12587
  var y;
12572
12588
  return a.value ? ((y = e.rowNumber) == null ? void 0 : y.heading) ?? "序号" : "";
12573
- }), l = P(() => (s.value && !e.hierarchy ? Number(c.value) : 0) + (a.value ? Number(u.value) : 0));
12589
+ }), l = R(() => (s.value && !e.hierarchy ? Number(c.value) : 0) + (a.value ? Number(u.value) : 0));
12574
12590
  te(() => e.rowNumber, (y) => {
12575
12591
  y && y.enable !== void 0 && (a.value = y.enable), y && y.width !== void 0 && (u.value = y.width);
12576
12592
  });
@@ -12581,7 +12597,7 @@ function pp(e, t) {
12581
12597
  height: `${y.height || ""}px`
12582
12598
  };
12583
12599
  }
12584
- const m = P(() => ({
12600
+ const m = R(() => ({
12585
12601
  width: `${l.value}px`
12586
12602
  }));
12587
12603
  function p(y) {
@@ -12700,7 +12716,7 @@ function Cp(e) {
12700
12716
  const t = "parent", n = "layer", o = "hasChildren", r = (i, a = 1, s = [], u = null) => (i = i || [], i.reduce((c, d) => (d.id = d.id || d.data[e.idField], d[t] = u, d[n] = a, d[o] = !1, d = { ...d, ...d.data }, s.push(d), d.children && d.children.length && (d[o] = !0, r(d.children, a + 1, s, d.id)), c), s), s);
12701
12717
  return { flatTreeData: r };
12702
12718
  }
12703
- function Mr(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v) {
12719
+ function Pr(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v) {
12704
12720
  const {
12705
12721
  calculateCellPositionInRow: w
12706
12722
  } = i, {
@@ -12716,7 +12732,7 @@ function Mr(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v) {
12716
12732
  } = yf(e, t, g, v, s, u, c, d, l, f), _ = [T];
12717
12733
  function b(I, M) {
12718
12734
  const D = w(I);
12719
- return v.value.filter((R) => R.visible !== !1).map((R) => _[R.type](R, D, M, I));
12735
+ return v.value.filter((P) => P.visible !== !1).map((P) => _[P.type](P, D, M, I));
12720
12736
  }
12721
12737
  function E() {
12722
12738
  return h("div", {
@@ -12762,60 +12778,60 @@ const $t = /* @__PURE__ */ ge({
12762
12778
  const r = C(), i = C(), a = C(), s = C(), u = C(), c = C([]), d = C(!1), l = C((($e = e.rowOption) == null ? void 0 : $e.wrapContent) || !1), {
12763
12779
  showLoading: f,
12764
12780
  renderLoading: m
12765
- } = wa(e, r), p = yo(e), v = bo(e, p), w = Sa(), g = Co(e), y = wo(e), S = So(e, /* @__PURE__ */ new Map(), g, p, y), k = xo(e, S, p, c, t), x = xa(e, c, p, k, t), F = P(() => Math.min(S.dataView.value.length, 100)), {
12781
+ } = Ca(e, r), p = bo(e), v = Co(e, p), w = wa(), g = wo(e), y = So(e), S = xo(e, /* @__PURE__ */ new Map(), g, p, y), k = _o(e, S, p, c, t), x = Sa(e, c, p, k, t), F = R(() => Math.min(S.dataView.value.length, 100)), {
12766
12782
  containerStyleObject: T
12767
- } = _a(e), _ = ka(e), b = C(e.columns), {
12783
+ } = xa(e), _ = _a(e), b = C(e.columns), {
12768
12784
  applyCommands: E
12769
12785
  } = _;
12770
12786
  E(b);
12771
- const O = Fa(e), B = Ta(e), {
12787
+ const O = ka(e), B = Fa(e), {
12772
12788
  applyColumnSorter: V,
12773
12789
  columnContext: I,
12774
12790
  updateColumnRenderContext: M
12775
12791
  } = O;
12776
12792
  V(S, B);
12777
- const D = Ea(e, I), R = _o(e, t, p), A = ko(), j = Fo(e, R, A), N = To(e, R, g, p, A, j), L = Eo(e, b, S, F, 0, N), {
12778
- getVisualData: X
12779
- } = L, re = Ia(e, I), de = Oa(e, k), {
12793
+ const D = Ta(e, I), P = ko(e, t, p), A = Fo(), j = To(e, P, A), N = Eo(e, P, g, p, A, j), L = Io(e, b, S, F, 0, N), {
12794
+ getVisualData: K
12795
+ } = L, re = Ea(e, I), de = Ia(e, k), {
12780
12796
  sidebarWidth: Fe
12781
12797
  } = de;
12782
- c.value = X(0, F.value + 0 - 1);
12783
- const ye = Ba(e, S, c, I, L, F, 0, Fe), {
12798
+ c.value = K(0, F.value + 0 - 1);
12799
+ const ye = Oa(e, S, c, I, L, F, 0, Fe), {
12784
12800
  onWheel: Te,
12785
12801
  dataGridWidth: we,
12786
12802
  viewPortHeight: ke,
12787
12803
  viewPortWidth: ve,
12788
12804
  resetScroll: be
12789
- } = ye, K = Ma(e, I, i, ve, D), {
12805
+ } = ye, X = Ba(e, I, i, ve, D), {
12790
12806
  calculateColumnsSize: J
12791
- } = K, he = Ra(), Ee = Pa(i, u, S, he, ye), U = Va(e, t, k, p), q = Na(e, t, O, S, D, v, ye), z = P(() => ({
12807
+ } = X, he = Ma(), Ee = Pa(i, u, S, he, ye), U = Ra(e, t, k, p), q = Va(e, t, O, S, D, v, ye), z = R(() => ({
12792
12808
  "fv-grid": !0,
12793
12809
  "fv-grid-bordered": e.showBorder,
12794
12810
  "fv-datagrid-strip": e.showStripe
12795
- })), ae = P(() => ({
12811
+ })), ae = R(() => ({
12796
12812
  "fv-grid-content": !0,
12797
12813
  "fv-grid-content-hover": d.value,
12798
12814
  "fv-grid-wrap-content": l.value
12799
12815
  })), {
12800
12816
  renderDataArea: pe
12801
- } = Mr(e, t, a, s, u, re, O, S, R, g, U, k, x, ye, L, c), {
12817
+ } = Pr(e, t, a, s, u, re, O, S, P, g, U, k, x, ye, L, c), {
12802
12818
  renderGridHeader: W,
12803
12819
  renderGridColumnResizeOverlay: se
12804
- } = Da(e, i, s, u, O, S, q, Ee, w, he, K, D, k, de, B, ye, ve, c), {
12820
+ } = Na(e, i, s, u, O, S, q, Ee, w, he, X, D, k, de, B, ye, ve, c), {
12805
12821
  renderDataGridSidebar: Se
12806
- } = Aa(e, U, k, de, ye), {
12822
+ } = Da(e, U, k, de, ye), {
12807
12823
  renderDisableMask: Ue
12808
- } = $a(), {
12824
+ } = Aa(), {
12809
12825
  renderHorizontalScrollbar: Qe
12810
- } = ja(e, i, ye), {
12826
+ } = $a(e, i, ye), {
12811
12827
  renderVerticalScrollbar: ne
12812
- } = La(e, i, ye);
12828
+ } = ja(e, i, ye);
12813
12829
  function le() {
12814
12830
  var fe, De;
12815
12831
  ke.value = ((fe = a.value) == null ? void 0 : fe.clientHeight) || 0, we.value = ((De = i.value) == null ? void 0 : De.clientWidth) || 0, J();
12816
12832
  }
12817
12833
  Me(() => {
12818
- i.value && (go(i.value, le), J(), dt(() => {
12834
+ i.value && (yo(i.value, le), J(), dt(() => {
12819
12835
  i.value && (we.value = i.value.clientWidth), a.value && (ve.value = a.value.clientWidth, ke.value = a.value.clientHeight);
12820
12836
  })), f.value && m();
12821
12837
  }), vt(() => {
@@ -12828,30 +12844,30 @@ const $t = /* @__PURE__ */ ge({
12828
12844
  }
12829
12845
  function Ie() {
12830
12846
  const fe = me();
12831
- S.insertNewDataItem(fe), c.value = X(0, F.value + 0 - 1);
12847
+ S.insertNewDataItem(fe), c.value = K(0, F.value + 0 - 1);
12832
12848
  }
12833
- function Pe() {
12849
+ function Re() {
12834
12850
  const fe = me();
12835
- S.insertNewChildDataItem(fe), c.value = X(0, F.value + 0 - 1);
12851
+ S.insertNewChildDataItem(fe), c.value = K(0, F.value + 0 - 1);
12836
12852
  }
12837
12853
  function ze() {
12838
12854
  const fe = me(), De = x.getNextSelectableHierarchyItemId(fe);
12839
- S.removeHierarchyDataItem(fe), c.value = X(0, F.value + 0 - 1), De && k.selectItemById(De);
12855
+ S.removeHierarchyDataItem(fe), c.value = K(0, F.value + 0 - 1), De && k.selectItemById(De);
12840
12856
  }
12841
12857
  function pt(fe) {
12842
- R.onEditingRow(fe);
12858
+ P.onEditingRow(fe);
12843
12859
  }
12844
12860
  function mt(fe) {
12845
- R.acceptEditingRow(fe);
12861
+ P.acceptEditingRow(fe);
12846
12862
  }
12847
- function Xt(fe) {
12848
- R.cancelEditingRow(fe);
12863
+ function Kt(fe) {
12864
+ P.cancelEditingRow(fe);
12849
12865
  }
12850
12866
  function Jt(fe) {
12851
12867
  fe && (b.value = fe, E(b), M(b.value), V(S, B), J());
12852
12868
  }
12853
12869
  function Yt(fe) {
12854
- fe && (be(), S.load(fe), c.value = X(0, F.value + 0 - 1));
12870
+ fe && (be(), S.load(fe), c.value = K(0, F.value + 0 - 1));
12855
12871
  }
12856
12872
  function Ft(fe) {
12857
12873
  k.selectItemById(fe);
@@ -12862,16 +12878,16 @@ const $t = /* @__PURE__ */ ge({
12862
12878
  function oe() {
12863
12879
  k.clearSelection();
12864
12880
  }
12865
- const ce = P(() => !c.value || !c.value.length), {
12866
- renderEmpty: Re
12867
- } = Ha(t);
12881
+ const ce = R(() => !c.value || !c.value.length), {
12882
+ renderEmpty: Pe
12883
+ } = La(t);
12868
12884
  return t.expose({
12869
12885
  addNewDataItem: Ie,
12870
- addNewChildDataItem: Pe,
12886
+ addNewChildDataItem: Re,
12871
12887
  removeDataItem: ze,
12872
12888
  editDataItem: pt,
12873
12889
  acceptDataItem: mt,
12874
- cancelDataItem: Xt,
12890
+ cancelDataItem: Kt,
12875
12891
  updateColumns: Jt,
12876
12892
  updateDataSource: Yt,
12877
12893
  selectItemById: Ft,
@@ -12882,7 +12898,7 @@ const $t = /* @__PURE__ */ ge({
12882
12898
  class: z.value,
12883
12899
  style: T.value,
12884
12900
  onWheel: Te
12885
- }, [W(), ce.value && Re(), h("div", {
12901
+ }, [W(), ce.value && Pe(), h("div", {
12886
12902
  ref: i,
12887
12903
  class: ae.value,
12888
12904
  onMouseover: () => {
@@ -12961,7 +12977,6 @@ const $t = /* @__PURE__ */ ge({
12961
12977
  default: !0
12962
12978
  }
12963
12979
  }, Tp = [
12964
- "id",
12965
12980
  "type"
12966
12981
  ], Ep = [
12967
12982
  "id",
@@ -13017,7 +13032,7 @@ const Mp = /* @__PURE__ */ ge({
13017
13032
  props: Rr,
13018
13033
  emits: ["change", "changeValue", "update:modelValue", "update:checked"],
13019
13034
  setup(e, t) {
13020
- const n = Ae(oi, null), {
13035
+ const n = Ae(ri, null), {
13021
13036
  buttonClass: o,
13022
13037
  disabled: r,
13023
13038
  name: i,
@@ -13027,10 +13042,10 @@ const Mp = /* @__PURE__ */ ge({
13027
13042
  tagClass: c,
13028
13043
  checked: d,
13029
13044
  onClickCheckBox: l
13030
- } = ri(e, t, n == null ? void 0 : n.parentProps, n == null ? void 0 : n.parentContext);
13045
+ } = ii(e, t, n == null ? void 0 : n.parentProps, n == null ? void 0 : n.parentContext);
13031
13046
  C();
13032
13047
  const f = C(e.id), m = C(e.customClass), p = C(e.modelValue), v = C(e.indeterminate);
13033
- return P(() => {
13048
+ return R(() => {
13034
13049
  const w = {
13035
13050
  "custom-control": !0,
13036
13051
  "custom-checkbox": !0
@@ -13073,7 +13088,7 @@ const Mp = /* @__PURE__ */ ge({
13073
13088
  }, [(x = (k = t.slots).default) == null ? void 0 : x.call(k)])])]);
13074
13089
  };
13075
13090
  }
13076
- }), Rp = {
13091
+ }), Pp = {
13077
13092
  id: { type: String, default: "" },
13078
13093
  componentId: { type: String, default: "" },
13079
13094
  type: { type: String, default: "" },
@@ -13088,18 +13103,18 @@ const Mp = /* @__PURE__ */ ge({
13088
13103
  */
13089
13104
  modelValue: { type: Object },
13090
13105
  ignore: { type: Boolean, default: !1 }
13091
- }, Pp = {
13106
+ }, Rp = {
13092
13107
  id: { type: String }
13093
13108
  }, Vp = /* @__PURE__ */ ge({
13094
13109
  name: "FDesignerPlaceholder",
13095
- props: Pp,
13110
+ props: Rp,
13096
13111
  emits: [],
13097
13112
  setup(e) {
13098
- const t = P(() => ({
13113
+ const t = R(() => ({
13099
13114
  "drag-and-drop-alert": !0,
13100
13115
  "no-drag": !0,
13101
13116
  "w-100": !0
13102
- })), n = P(() => ({
13117
+ })), n = R(() => ({
13103
13118
  height: "60px",
13104
13119
  display: "flex",
13105
13120
  "justify-content": "center",
@@ -13122,11 +13137,11 @@ const Mp = /* @__PURE__ */ ge({
13122
13137
  }
13123
13138
  });
13124
13139
  function Np(e) {
13125
- return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !Ur(e);
13140
+ return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !zr(e);
13126
13141
  }
13127
13142
  const xn = /* @__PURE__ */ ge({
13128
13143
  name: "FDesignerItem",
13129
- props: Rp,
13144
+ props: Pp,
13130
13145
  emits: ["selectionChange"],
13131
13146
  setup(e, t) {
13132
13147
  const n = C(`${e.modelValue.id}-component`), o = C(e.canMove), r = C(e.canDelete), i = C(!1), a = C(e.modelValue), s = C(e.componentId || ""), u = C(""), c = C(""), d = C(e.customClass), l = C(), f = Ae("canvas-dragula"), m = C(), p = Ae("design-item-context"), v = {
@@ -13136,8 +13151,8 @@ const xn = /* @__PURE__ */ ge({
13136
13151
  parent: p,
13137
13152
  setupContext: t
13138
13153
  };
13139
- Gr("design-item-context", v);
13140
- const w = Ae("useFormSchema"), g = P(() => {
13154
+ Ur("design-item-context", v);
13155
+ const w = Ae("useFormSchema"), g = R(() => {
13141
13156
  const I = e.modelValue.appearance && e.modelValue.appearance.class || "";
13142
13157
  let M = {
13143
13158
  "farris-component": !0,
@@ -13151,13 +13166,13 @@ const xn = /* @__PURE__ */ ge({
13151
13166
  dgComponentFocused: l.value && l.value.classList.contains("dgComponentFocused")
13152
13167
  };
13153
13168
  return M[`farris-component-${a.value.type}`] = !0, M = en(M, I), M = en(M, c.value), M = en(M, d.value), M;
13154
- }), y = P(() => {
13169
+ }), y = R(() => {
13155
13170
  const I = {}, M = e.modelValue.appearance && e.modelValue.appearance.style || "";
13156
- return M && M.split(";").reduce((D, R) => {
13157
- const [A, j] = R.split(":");
13171
+ return M && M.split(";").reduce((D, P) => {
13172
+ const [A, j] = P.split(":");
13158
13173
  return D[A] = j, D;
13159
- }, I), u.value && u.value.split(";").reduce((D, R) => {
13160
- const [A, j] = R.split(":");
13174
+ }, I), u.value && u.value.split(";").reduce((D, P) => {
13175
+ const [A, j] = P.split(":");
13161
13176
  return A && (D[A] = j), D;
13162
13177
  }, I), I;
13163
13178
  });
@@ -13166,15 +13181,15 @@ const xn = /* @__PURE__ */ ge({
13166
13181
  if (I && (I.preventDefault(), I.stopPropagation()), m.value.triggerBelongedComponentToDeleteWhenDeleted) {
13167
13182
  const N = m.value.getBelongedComponentInstance(m);
13168
13183
  if (N && N.parent) {
13169
- const L = C(N == null ? void 0 : N.parent), X = L.value.contents.findIndex((re) => re.id === N.schema.id);
13170
- (j = (A = L.value) == null ? void 0 : A.contents) == null || j.splice(X, 1), Et.value++;
13184
+ const L = C(N == null ? void 0 : N.parent), K = L.value.contents.findIndex((re) => re.id === N.schema.id);
13185
+ (j = (A = L.value) == null ? void 0 : A.contents) == null || j.splice(K, 1), Et.value++;
13171
13186
  }
13172
13187
  return;
13173
13188
  }
13174
13189
  m.value.onRemoveComponent();
13175
- let D = p, R = (N) => N.id === M.id;
13176
- if (M.type === "component" && (D = p == null ? void 0 : p.parent, R = (N) => N.component === M.id), D && D.schema.contents) {
13177
- const N = D.schema.contents.findIndex(R);
13190
+ let D = p, P = (N) => N.id === M.id;
13191
+ if (M.type === "component" && (D = p == null ? void 0 : p.parent, P = (N) => N.component === M.id), D && D.schema.contents) {
13192
+ const N = D.schema.contents.findIndex(P);
13178
13193
  D.schema.contents.splice(N, 1), Et.value++, t.emit("selectionChange");
13179
13194
  }
13180
13195
  }
@@ -13218,40 +13233,40 @@ const xn = /* @__PURE__ */ ge({
13218
13233
  "data-noattach": "true"
13219
13234
  }, [h("div", null, [k(I), x(), F()])]);
13220
13235
  }
13221
- function _(I, M, D, R) {
13222
- t.emit("selectionChange", I, M, D, R);
13236
+ function _(I, M, D, P) {
13237
+ t.emit("selectionChange", I, M, D, P);
13223
13238
  }
13224
13239
  function b(I) {
13225
13240
  let M;
13226
- const D = I.type, R = Wo[D], A = qo[D], j = A ? A(I) : {};
13241
+ const D = I.type, P = qo[D], A = Go[D], j = A ? A(I) : {};
13227
13242
  j.customClass = e.ignore ? j.customClass : "", j.componentId = s.value, j.id = I.id;
13228
13243
  const N = I.contents && I.contents.length === 0;
13229
- return I.contents && !!I.contents.length && R ? h(R, nt({
13244
+ return I.contents && !!I.contents.length && P ? h(P, nt({
13230
13245
  ref: m
13231
- }, j), Np(M = I.contents.map((X) => h(xn, {
13232
- key: X.id,
13233
- modelValue: X,
13234
- "onUpdate:modelValue": (re) => X = re,
13246
+ }, j), Np(M = I.contents.map((K) => h(xn, {
13247
+ key: K.id,
13248
+ modelValue: K,
13249
+ "onUpdate:modelValue": (re) => K = re,
13235
13250
  componentId: s.value,
13236
13251
  onSelectionChange: _
13237
13252
  }, null))) ? M : {
13238
13253
  default: () => [M]
13239
- }) : R ? N ? h(R, nt({
13254
+ }) : P ? N ? h(P, nt({
13240
13255
  ref: m
13241
13256
  }, j), {
13242
13257
  default: () => [h(Vp, null, null)]
13243
- }) : h(R, nt({
13258
+ }) : h(P, nt({
13244
13259
  ref: m
13245
13260
  }, j), null) : h("div", null, null);
13246
13261
  }
13247
13262
  function E(I) {
13248
13263
  if (I.type === "component-ref") {
13249
- let D = w == null ? void 0 : w.getFormSchema().module.components.find((R) => R.id === I.component);
13264
+ let D = w == null ? void 0 : w.getFormSchema().module.components.find((P) => P.id === I.component);
13250
13265
  if (D)
13251
13266
  return h(xn, {
13252
13267
  key: D.id,
13253
13268
  modelValue: D,
13254
- "onUpdate:modelValue": (R) => D = R,
13269
+ "onUpdate:modelValue": (P) => D = P,
13255
13270
  componentId: D.id,
13256
13271
  onSelectionChange: _
13257
13272
  }, null);
@@ -13278,12 +13293,12 @@ const xn = /* @__PURE__ */ ge({
13278
13293
  l.value && l.value.removeEventListener("scroll", O);
13279
13294
  });
13280
13295
  function V(I) {
13281
- Array.from(document.getElementsByClassName("dgComponentFocused")).forEach((R) => R.classList.remove("dgComponentFocused")), I && (I.preventDefault(), I.stopPropagation());
13296
+ Array.from(document.getElementsByClassName("dgComponentFocused")).forEach((P) => P.classList.remove("dgComponentFocused")), I && (I.preventDefault(), I.stopPropagation());
13282
13297
  let M = v.designerItemElementRef;
13283
13298
  const D = l.value;
13284
13299
  if (D) {
13285
- const R = document.getElementsByClassName("dgComponentSelected");
13286
- R && R.length === 1 && R[0] === l.value || (Array.from(R).forEach((j) => j.classList.remove("dgComponentSelected")), D.classList.add("dgComponentFocused"), t.emit("selectionChange", a.value.type, a.value, s.value, m.value), m.value.getDraggableDesignItemElement && (M = m.value.getDraggableDesignItemElement(v), M && M.value && M.value.classList.add("dgComponentSelected")));
13300
+ const P = document.getElementsByClassName("dgComponentSelected");
13301
+ P && P.length === 1 && P[0] === l.value || (Array.from(P).forEach((j) => j.classList.remove("dgComponentSelected")), D.classList.add("dgComponentFocused"), t.emit("selectionChange", a.value.type, a.value, s.value, m.value), m.value.getDraggableDesignItemElement && (M = m.value.getDraggableDesignItemElement(v), M && M.value && M.value.classList.add("dgComponentSelected")));
13287
13302
  }
13288
13303
  O({
13289
13304
  target: M == null ? void 0 : M.value
@@ -13316,9 +13331,9 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13316
13331
  } = i, {
13317
13332
  gridHeaderColumnsStyle: M,
13318
13333
  leftFixedGridHeaderColumnsStyle: D,
13319
- rightFixedGridHeaderColumnsStyle: R
13320
- } = w, A = P(() => k.value || b.value || _.value), j = B.value.defaultColumnWidth, N = 32, L = /* @__PURE__ */ new Map([[0, 0]]);
13321
- function X(q, z) {
13334
+ rightFixedGridHeaderColumnsStyle: P
13335
+ } = w, A = R(() => k.value || b.value || _.value), j = B.value.defaultColumnWidth, N = 32, L = /* @__PURE__ */ new Map([[0, 0]]);
13336
+ function K(q, z) {
13322
13337
  const ae = L.get(z) || 0, pe = {
13323
13338
  height: `${q.depth * N}px`,
13324
13339
  left: `${q.left}px`,
@@ -13328,10 +13343,10 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13328
13343
  };
13329
13344
  return B.value.headerDepth > 1 && (pe["line-height"] = `${q.depth * N}px`), L.set(z + 1, ae + (q.actualWidth || j)), pe;
13330
13345
  }
13331
- const re = P(() => ({
13346
+ const re = R(() => ({
13332
13347
  "fv-grid-header": !0,
13333
13348
  "fv-grid-header-group-columns": B.value.headerDepth > 1
13334
- })), de = P(() => ({
13349
+ })), de = R(() => ({
13335
13350
  height: `${B.value.headerDepth * N}px`
13336
13351
  })), Fe = function(q) {
13337
13352
  return t.showSetting && !!q.showSetting;
@@ -13352,7 +13367,7 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13352
13367
  const pe = C(q.column);
13353
13368
  return h("div", {
13354
13369
  class: "fv-grid-header-cell",
13355
- style: X(q, ae)
13370
+ style: K(q, ae)
13356
13371
  }, [h(xn, {
13357
13372
  modelValue: pe.value,
13358
13373
  "onUpdate:modelValue": (se) => pe.value = se,
@@ -13391,14 +13406,14 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13391
13406
  class: "fv-grid-header-right-fixed"
13392
13407
  }, [h("div", {
13393
13408
  class: "fv-grid-header-columns",
13394
- style: R.value
13409
+ style: P.value
13395
13410
  }, [ke(B.value.rightHeaderColumns)])]);
13396
13411
  }
13397
- const K = C(y.value.length === T.value.length);
13412
+ const X = C(y.value.length === T.value.length);
13398
13413
  function J(q) {
13399
- K.value ? x() : F();
13414
+ X.value ? x() : F();
13400
13415
  }
13401
- const he = P(() => T.value.length > 0 && y.value.length !== T.value.length);
13416
+ const he = R(() => T.value.length > 0 && y.value.length !== T.value.length);
13402
13417
  function Ee() {
13403
13418
  return h("div", {
13404
13419
  class: "fv-grid-header-corner d-flex",
@@ -13406,8 +13421,8 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13406
13421
  }, [k.value && h(Mp, {
13407
13422
  id: "checkbox_for_select_all",
13408
13423
  indeterminate: he.value,
13409
- modelValue: K.value,
13410
- "onUpdate:modelValue": (q) => K.value = q,
13424
+ modelValue: X.value,
13425
+ "onUpdate:modelValue": (q) => X.value = q,
13411
13426
  onChange: J,
13412
13427
  style: "margin-left:8px"
13413
13428
  }, null), _.value && h("div", {
@@ -13429,7 +13444,7 @@ function Dp(e, t, n, o, r, i, a, s, u, c, d, l, f, m, p, v, w, g, y, S = "data-g
13429
13444
  renderGridHeader: U
13430
13445
  };
13431
13446
  }
13432
- class Ap extends Do {
13447
+ class Ap extends Ao {
13433
13448
  constructor(t, n) {
13434
13449
  super(t, n);
13435
13450
  }
@@ -13503,19 +13518,6 @@ class Ap extends Do {
13503
13518
  type: "boolean",
13504
13519
  description: "是否显示设置按钮"
13505
13520
  }
13506
- // useBlankWhenDataIsEmpty: {
13507
- // title: '空数据表格显示空白行',
13508
- // description: '表格没有数据时是否显示空白行',
13509
- // type: 'boolean',
13510
- // refreshPanelAfterChanged: true
13511
- // },
13512
- // emptyDataHeight: {
13513
- // title: '空数据高度',
13514
- // type: 'number',
13515
- // description: '空数据行高度设置',
13516
- // min: 1,
13517
- // max: 1000
13518
- // },
13519
13521
  },
13520
13522
  setPropertyRelates(i, a) {
13521
13523
  switch (i && i.propertyID) {
@@ -13565,6 +13567,10 @@ class Ap extends Do {
13565
13567
  {
13566
13568
  label: "onSelectionChange",
13567
13569
  name: "行切换事件"
13570
+ },
13571
+ {
13572
+ label: "onClickRow",
13573
+ name: "行点击事件"
13568
13574
  }
13569
13575
  ], o = this, r = o.eventsEditorUtils.formProperties(t, o.viewModelId, n), i = {};
13570
13576
  i[o.viewModelId] = {
@@ -13616,13 +13622,13 @@ function $p(e, t) {
13616
13622
  }
13617
13623
  const jp = /* @__PURE__ */ ge({
13618
13624
  name: "FTreeGridDesign",
13619
- props: Fr,
13625
+ props: Tr,
13620
13626
  emits: [],
13621
13627
  setup(e, t) {
13622
13628
  var Ie;
13623
13629
  const n = C(), o = 0, r = 100, i = C(), a = C(), s = C(), u = C(), c = C([]), d = C(!1), l = C(((Ie = e.rowOption) == null ? void 0 : Ie.wrapContent) || !1), f = Ae("designer-host-service"), m = Ae("design-item-context"), p = $p(m, f), v = Mn(n, m, p);
13624
13630
  v.value.designerClass = "f-utils-fill-flex-column";
13625
- const w = cp(e), g = Or(e, w), y = Ir(), S = Yf(e), k = bp(e), x = Xf(e, /* @__PURE__ */ new Map(), S, w, k), F = fp(e, x, w, c, t), T = Zf(e, c, w, F, t), _ = P(() => Math.min(x.dataView.value.length, r)), {
13631
+ const w = cp(e), g = Br(e, w), y = Or(), S = Yf(e), k = bp(e), x = Kf(e, /* @__PURE__ */ new Map(), S, w, k), F = fp(e, x, w, c, t), T = Zf(e, c, w, F, t), _ = R(() => Math.min(x.dataView.value.length, r)), {
13626
13632
  containerStyleObject: b
13627
13633
  } = _f(e), E = Vf(e), O = C(e.columns), {
13628
13634
  applyCommands: B
@@ -13631,12 +13637,12 @@ const jp = /* @__PURE__ */ ge({
13631
13637
  const V = kf(e), I = yp(), {
13632
13638
  applyColumnSorter: M,
13633
13639
  columnContext: D,
13634
- updateColumnRenderContext: R
13640
+ updateColumnRenderContext: P
13635
13641
  } = V;
13636
13642
  M(x, I);
13637
- const A = Af(e, D), j = up(e, t, w), N = Er(), L = lp(e, j, N), X = sp(e, j, S, w, N, L), re = tp(e, O, x, _, o, X), {
13643
+ const A = Af(e, D), j = up(e, t, w), N = Ir(), L = lp(e, j, N), K = sp(e, j, S, w, N, L), re = tp(e, O, x, _, o, K), {
13638
13644
  getVisualData: de
13639
- } = re, Fe = Tr(e, D), ye = pp(e, F), {
13645
+ } = re, Fe = Er(e, D), ye = pp(e, F), {
13640
13646
  sidebarWidth: Te
13641
13647
  } = ye;
13642
13648
  c.value = de(0, _.value + o - 1);
@@ -13644,23 +13650,23 @@ const jp = /* @__PURE__ */ ge({
13644
13650
  onWheel: ke,
13645
13651
  dataGridWidth: ve,
13646
13652
  viewPortHeight: be,
13647
- viewPortWidth: K
13648
- } = we, J = Df(e, D, i, K, A), {
13653
+ viewPortWidth: X
13654
+ } = we, J = Df(e, D, i, X, A), {
13649
13655
  calculateColumnsSize: he
13650
- } = J, Ee = Jf(), U = Pf(i, u, x, Ee, we), q = dp(e, t, F, w), z = Nf(e, t, V, x, A, g, we), ae = P(() => ({
13656
+ } = J, Ee = Jf(), U = Rf(i, u, x, Ee, we), q = dp(e, t, F, w), z = Nf(e, t, V, x, A, g, we), ae = R(() => ({
13651
13657
  "drag-container": !0,
13652
13658
  "fv-grid": !0,
13653
13659
  "fv-grid-bordered": e.showBorder,
13654
13660
  "fv-datagrid-strip": e.showStripe
13655
- })), pe = P(() => ({
13661
+ })), pe = R(() => ({
13656
13662
  "fv-grid-content": !0,
13657
13663
  "fv-grid-content-hover": d.value,
13658
13664
  "fv-grid-wrap-content": l.value
13659
13665
  })), {
13660
13666
  renderDataArea: W
13661
- } = Mr(e, t, a, s, u, Fe, V, x, j, S, q, F, T, we, re, c), {
13667
+ } = Pr(e, t, a, s, u, Fe, V, x, j, S, q, F, T, we, re, c), {
13662
13668
  renderGridHeader: se
13663
- } = Dp(m, e, i, s, u, V, x, z, U, y, Ee, J, A, F, ye, I, we, K, c, "tree-grid-column"), {
13669
+ } = Dp(m, e, i, s, u, V, x, z, U, y, Ee, J, A, F, ye, I, we, X, c, "tree-grid-column"), {
13664
13670
  renderDataGridSidebar: Se
13665
13671
  } = Cf(e, q, F, ye, we), {
13666
13672
  renderHorizontalScrollbar: Ue
@@ -13668,18 +13674,18 @@ const jp = /* @__PURE__ */ ge({
13668
13674
  renderVerticalScrollbar: Qe
13669
13675
  } = wf(e, i, we);
13670
13676
  function ne() {
13671
- var Pe, ze;
13672
- be.value = ((Pe = a.value) == null ? void 0 : Pe.clientHeight) || 0, ve.value = ((ze = i.value) == null ? void 0 : ze.clientWidth) || 0, he();
13677
+ var Re, ze;
13678
+ be.value = ((Re = a.value) == null ? void 0 : Re.clientHeight) || 0, ve.value = ((ze = i.value) == null ? void 0 : ze.clientWidth) || 0, he();
13673
13679
  }
13674
13680
  Me(() => {
13675
- n.value.componentInstance = v, i.value && (go(i.value, ne), he(), dt(() => {
13676
- i.value && (ve.value = i.value.clientWidth), a.value && (K.value = a.value.clientWidth, be.value = a.value.clientHeight);
13681
+ n.value.componentInstance = v, i.value && (yo(i.value, ne), he(), dt(() => {
13682
+ i.value && (ve.value = i.value.clientWidth), a.value && (X.value = a.value.clientWidth, be.value = a.value.clientHeight);
13677
13683
  }));
13678
13684
  }), vt(() => {
13679
- }), te(K, () => {
13685
+ }), te(X, () => {
13680
13686
  i.value && he();
13681
13687
  });
13682
- const le = P(() => !c.value || !c.value.length), {
13688
+ const le = R(() => !c.value || !c.value.length), {
13683
13689
  renderEmpty: me
13684
13690
  } = xf(t);
13685
13691
  return t.expose(v.value), () => h("div", {
@@ -13706,7 +13712,7 @@ $t.register = (e, t, n, o) => {
13706
13712
  $t.registerDesigner = (e, t, n) => {
13707
13713
  e["tree-grid"] = jp, t["tree-grid"] = mf;
13708
13714
  };
13709
- ii($t);
13715
+ ai($t);
13710
13716
  const Lp = Symbol("schema_repository_token"), Hp = {
13711
13717
  convertFrom: (e, t) => e[t],
13712
13718
  convertTo: (e, t, n) => {
@@ -13768,7 +13774,7 @@ function Wp(e, t) {
13768
13774
  break;
13769
13775
  case "Date":
13770
13776
  case "DateTime":
13771
- p = [n["data-picker"]];
13777
+ p = [n["date-picker"]];
13772
13778
  break;
13773
13779
  }
13774
13780
  return p;
@@ -14259,7 +14265,7 @@ const Gp = /* @__PURE__ */ new Map([
14259
14265
  function Up(e, t, n) {
14260
14266
  return t;
14261
14267
  }
14262
- const zp = "transfer", Kp = "A Farris Component", Xp = "object", Jp = {
14268
+ const zp = "transfer", Xp = "A Farris Component", Kp = "object", Jp = {
14263
14269
  basic: {
14264
14270
  description: "Basic Infomation",
14265
14271
  title: "基本信息",
@@ -14283,8 +14289,8 @@ const zp = "transfer", Kp = "A Farris Component", Xp = "object", Jp = {
14283
14289
  }
14284
14290
  }, Yp = {
14285
14291
  title: zp,
14286
- description: Kp,
14287
- type: Xp,
14292
+ description: Xp,
14293
+ type: Kp,
14288
14294
  categories: Jp
14289
14295
  }, Qp = "https://json-schema.org/draft/2020-12/schema", Zp = "https://farris-design.gitee.io/transfer.schema.json", em = "transfer", tm = "A Farris Component", nm = "object", om = {
14290
14296
  id: {
@@ -14359,7 +14365,7 @@ const zp = "transfer", Kp = "A Farris Component", Xp = "object", Jp = {
14359
14365
  type: nm,
14360
14366
  properties: om,
14361
14367
  required: rm
14362
- }, Pr = {
14368
+ }, Vr = {
14363
14369
  dataSource: {
14364
14370
  type: Array,
14365
14371
  default: []
@@ -14372,7 +14378,7 @@ const zp = "transfer", Kp = "A Farris Component", Xp = "object", Jp = {
14372
14378
  selections: { type: Array, default: [] },
14373
14379
  selectionValues: { type: Array, default: [] }
14374
14380
  };
14375
- Ge(Pr, im, Gp, Up, Yp);
14381
+ Ge(Vr, im, Gp, Up, Yp);
14376
14382
  const am = /* @__PURE__ */ new Map([
14377
14383
  ["appearance", lt]
14378
14384
  ]);
@@ -14479,7 +14485,7 @@ const sm = "https://json-schema.org/draft/2020-12/schema", um = "https://farris-
14479
14485
  description: gm,
14480
14486
  type: ym,
14481
14487
  categories: bm
14482
- }, Vr = {
14488
+ }, Nr = {
14483
14489
  /** 列集合 */
14484
14490
  columns: {
14485
14491
  type: Array,
@@ -14521,7 +14527,7 @@ const sm = "https://json-schema.org/draft/2020-12/schema", um = "https://farris-
14521
14527
  // 搜索启用高亮
14522
14528
  enableHighlightSearch: { type: Boolean, default: !0 }
14523
14529
  };
14524
- Ge(Vr, hm, am, lm, Cm);
14530
+ Ge(Nr, hm, am, lm, Cm);
14525
14531
  function wm(e, t) {
14526
14532
  function n(i) {
14527
14533
  const a = [];
@@ -14556,7 +14562,7 @@ function wm(e, t) {
14556
14562
  return { search: r };
14557
14563
  }
14558
14564
  function uo(e, t, n, o, r, i, a, s, u, c) {
14559
- const d = C(e.size), l = C(e.textField), f = C(e.titleField), m = C(e.disableField), p = P(() => {
14565
+ const d = C(e.size), l = C(e.textField), f = C(e.titleField), m = C(e.disableField), p = R(() => {
14560
14566
  var _, b;
14561
14567
  return ((_ = e.selection) == null ? void 0 : _.multiSelect) && ((b = e.selection) == null ? void 0 : b.showCheckbox);
14562
14568
  }), {
@@ -14568,7 +14574,7 @@ function uo(e, t, n, o, r, i, a, s, u, c) {
14568
14574
  listViewItemClass: S,
14569
14575
  onCheckItem: k,
14570
14576
  onClickItem: x
14571
- } = a, F = P(() => ({
14577
+ } = a, F = R(() => ({
14572
14578
  margin: d.value === "small" ? "0.25rem 0" : "10px 0"
14573
14579
  }));
14574
14580
  function T(_, b, E) {
@@ -14667,7 +14673,7 @@ function xm(e, t, n, o, r, i, a, s, u, c) {
14667
14673
  dragend: F
14668
14674
  } = o, {
14669
14675
  removeItem: T
14670
- } = u, _ = P(() => ({
14676
+ } = u, _ = R(() => ({
14671
14677
  margin: d.value ? "10px 0" : "10px 0px 10px 14px"
14672
14678
  }));
14673
14679
  function b(V) {
@@ -14841,11 +14847,11 @@ function Em(e, t, n, o, r, i) {
14841
14847
  function x(O, B) {
14842
14848
  return O.raw[a.value] || "";
14843
14849
  }
14844
- const F = P(() => !d.value);
14850
+ const F = R(() => !d.value);
14845
14851
  function T(O, B, V) {
14846
14852
  O.checked = V, !O.raw[s.value] && (F.value && (p.value = O.raw[a.value]), y(O));
14847
14853
  }
14848
- const _ = P(() => d.value && l.value === "OnCheckClearByClick"), b = P(() => !d.value || d.value && (l.value === "OnCheckAndClick" || l.value === "OnClick"));
14854
+ const _ = R(() => d.value && l.value === "OnCheckClearByClick"), b = R(() => !d.value || d.value && (l.value === "OnCheckAndClick" || l.value === "OnClick"));
14849
14855
  function E(O, B, V) {
14850
14856
  if (B.raw[s.value]) {
14851
14857
  O.preventDefault(), O.stopPropagation();
@@ -14861,12 +14867,12 @@ function Em(e, t, n, o, r, i) {
14861
14867
  };
14862
14868
  }
14863
14869
  function Im(e, t, n, o, r, i, a) {
14864
- const s = C(e.view), u = C(e.view === "CardView"), c = C({}), d = C("暂无数据"), l = km(), f = Fm(e, t, o, l), m = Tm(e, t, o), p = Em(e, t, n, f, l, i), v = P(() => ({
14870
+ const s = C(e.view), u = C(e.view === "CardView"), c = C({}), d = C("暂无数据"), l = km(), f = Fm(e, t, o, l), m = Tm(e, t, o), p = Em(e, t, n, f, l, i), v = R(() => ({
14865
14871
  "f-list-view-group": !0,
14866
14872
  "d-flex": u.value,
14867
14873
  "flex-wrap": u.value
14868
- })), w = P(() => !!n.value && n.value.length > 0), g = P(() => n.value.length === 0);
14869
- P(() => g.value && !t.slots.empty);
14874
+ })), w = R(() => !!n.value && n.value.length > 0), g = R(() => n.value.length === 0);
14875
+ R(() => g.value && !t.slots.empty);
14870
14876
  function y() {
14871
14877
  return s.value === "SingleView" ? uo : s.value === "DraggableView" ? xm : (s.value === "ContentView" || s.value === "CardView") && t.slots.content ? Sm : uo;
14872
14878
  }
@@ -14906,14 +14912,14 @@ function Om(e, t, n) {
14906
14912
  };
14907
14913
  }
14908
14914
  function co(e, t, n) {
14909
- const o = C(e.headerClass), r = C(e.placeholder), i = C(""), a = P(() => !i.value), s = P(() => !!i.value);
14915
+ const o = C(e.headerClass), r = C(e.placeholder), i = C(""), a = R(() => !i.value), s = R(() => !!i.value);
14910
14916
  function u(f) {
14911
14917
  i.value = "";
14912
14918
  }
14913
14919
  te(i, (f) => {
14914
14920
  e.enableHighlightSearch && n.search(f), t.emit("afterSearch", f);
14915
14921
  });
14916
- const c = P(() => {
14922
+ const c = R(() => {
14917
14923
  const f = {
14918
14924
  "form-group": !0,
14919
14925
  "farris-form-group": !0
@@ -14925,7 +14931,7 @@ function co(e, t, n) {
14925
14931
  function l() {
14926
14932
  return h("div", {
14927
14933
  class: "f-list-view-header",
14928
- onClick: zr(() => d, ["prevent", "stop"])
14934
+ onClick: Xr(() => d, ["prevent", "stop"])
14929
14935
  }, [h("div", {
14930
14936
  class: c.value
14931
14937
  }, [h("div", {
@@ -14960,20 +14966,20 @@ function co(e, t, n) {
14960
14966
  }
14961
14967
  const fo = /* @__PURE__ */ ge({
14962
14968
  name: "FListView",
14963
- props: Vr,
14969
+ props: Nr,
14964
14970
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
14965
14971
  setup(e, t) {
14966
- const n = C(), o = C(!0), r = C(!1), i = C([]), a = 0, s = C(e.columns), u = yo(e), c = Co(e), d = bo(e, u), l = wo(e), f = So(e, /* @__PURE__ */ new Map(), c, u, l), m = xo(e, f, u, i, t), p = wm(e, n), v = P(() => f.dataView.value.length), w = _o(e, t, u), g = ko(), y = Fo(e, {}, g), S = To(e, w, c, u, g, y), k = Wa(e, u, y, S), x = qa(e, u, y, S), F = Eo(e, s, f, v, a, S, k, x), {
14972
+ const n = C(), o = C(!0), r = C(!1), i = C([]), a = 0, s = C(e.columns), u = bo(e), c = wo(e), d = Co(e, u), l = So(e), f = xo(e, /* @__PURE__ */ new Map(), c, u, l), m = _o(e, f, u, i, t), p = wm(e, n), v = R(() => f.dataView.value.length), w = ko(e, t, u), g = Fo(), y = To(e, {}, g), S = Eo(e, w, c, u, g, y), k = Ha(e, u, y, S), x = Wa(e, u, y, S), F = Io(e, s, f, v, a, S, k, x), {
14967
14973
  getVisualData: T
14968
14974
  } = F;
14969
14975
  i.value = T(0, v.value + a - 1);
14970
- const _ = P(() => {
14971
- const R = {
14976
+ const _ = R(() => {
14977
+ const P = {
14972
14978
  "f-list-view": !0,
14973
14979
  "f-list-view-multiple": e.multiSelect
14974
14980
  };
14975
- return e.size !== "default" && (R[`${e.size}-item`] = !0), R;
14976
- }), b = P(() => !!t.slots.footer || o.value);
14981
+ return e.size !== "default" && (P[`${e.size}-item`] = !0), P;
14982
+ }), b = R(() => !!t.slots.footer || o.value);
14977
14983
  function E() {
14978
14984
  return e.header === "SearchBar" ? co : e.header === "ContentHeader" ? Om : co;
14979
14985
  }
@@ -14982,18 +14988,18 @@ const fo = /* @__PURE__ */ ge({
14982
14988
  } = O(e, t, p), {
14983
14989
  renderListArea: V
14984
14990
  } = Im(e, t, i, f, d, m, F);
14985
- function I(R) {
14986
- p.search(R);
14991
+ function I(P) {
14992
+ p.search(P);
14987
14993
  }
14988
- function M(R) {
14989
- R && (f.load(R), i.value = T(0, v.value + a - 1));
14994
+ function M(P) {
14995
+ P && (f.load(P), i.value = T(0, v.value + a - 1));
14990
14996
  }
14991
14997
  t.expose({
14992
14998
  search: I,
14993
14999
  updateDataSource: M
14994
15000
  });
14995
- function D(R) {
14996
- e.multiSelect && (R.preventDefault(), R.stopPropagation());
15001
+ function D(P) {
15002
+ e.multiSelect && (P.preventDefault(), P.stopPropagation());
14997
15003
  }
14998
15004
  return () => h("div", {
14999
15005
  class: _.value,
@@ -15013,10 +15019,10 @@ const fo = /* @__PURE__ */ ge({
15013
15019
  }
15014
15020
  }), Bm = /* @__PURE__ */ ge({
15015
15021
  name: "FTransfer",
15016
- props: Pr,
15022
+ props: Vr,
15017
15023
  emits: ["change", "activeChange"],
15018
15024
  setup(e, t) {
15019
- const n = C(e.identifyField), o = C("已选:"), r = C("项数据"), i = C(e.displayType), a = C(!1), s = C(e.dataSource), u = C(e.selections || []), c = P(() => u.value.map((b) => b[n.value])), d = /* @__PURE__ */ new Map(), l = C();
15025
+ const n = C(e.identifyField), o = C("已选:"), r = C("项数据"), i = C(e.displayType), a = C(!1), s = C(e.dataSource), u = C(e.selections || []), c = R(() => u.value.map((b) => b[n.value])), d = /* @__PURE__ */ new Map(), l = C();
15020
15026
  function f() {
15021
15027
  const b = /* @__PURE__ */ new Map(), E = e.selectionValues || [];
15022
15028
  E.length && E.reduce((B, V) => (B.set(V, !0), B), b);
@@ -15027,7 +15033,7 @@ const fo = /* @__PURE__ */ ge({
15027
15033
  });
15028
15034
  }
15029
15035
  f();
15030
- const m = P(() => i.value === "List"), p = P(() => i.value === "Tree");
15036
+ const m = R(() => i.value === "List"), p = R(() => i.value === "Tree");
15031
15037
  function v(b) {
15032
15038
  u.value = b.map((E) => Object.assign({}, E)), t.emit("change", u.value);
15033
15039
  }
@@ -15113,7 +15119,7 @@ const fo = /* @__PURE__ */ ge({
15113
15119
  class: "container columns-box f-utils-fill d-flex"
15114
15120
  }, [F()])])]);
15115
15121
  }
15116
- const _ = P(() => ({
15122
+ const _ = R(() => ({
15117
15123
  transfer: !0,
15118
15124
  row: !0,
15119
15125
  "f-utils-fill": a.value
@@ -15150,12 +15156,12 @@ function Mm(e, t, n, o, r) {
15150
15156
  case "Integer":
15151
15157
  case "Decimal":
15152
15158
  case "BigNumber": {
15153
- F = "number-range", T = m("number-range");
15159
+ F = "number-range", T = m("number-spinner");
15154
15160
  break;
15155
15161
  }
15156
15162
  case "Date":
15157
15163
  case "DateTime": {
15158
- F = "date-range", T = m("date-range");
15164
+ F = "date-picker", T = m("date-picker");
15159
15165
  break;
15160
15166
  }
15161
15167
  case "Enum":
@@ -15250,10 +15256,10 @@ function Mm(e, t, n, o, r) {
15250
15256
  }
15251
15257
  const un = /* @__PURE__ */ ge({
15252
15258
  name: "FQuerySolutionConfig",
15253
- props: Cr,
15259
+ props: wr,
15254
15260
  emits: ["update:modelValue"],
15255
15261
  setup(e, t) {
15256
- const n = C(null), o = P(() => "共" + e.modelValue.length + "项"), r = /* @__PURE__ */ new Map(), i = qp(e, t, n, r), {
15262
+ const n = C(null), o = R(() => "共" + e.modelValue.length + "项"), r = /* @__PURE__ */ new Map(), i = qp(e, t, n, r), {
15257
15263
  renderPanel: a
15258
15264
  } = i, {
15259
15265
  renderTransfer: s,
@@ -15291,20 +15297,20 @@ const un = /* @__PURE__ */ ge({
15291
15297
  }, [p()])]
15292
15298
  });
15293
15299
  }
15294
- }), Zh = {
15300
+ }), Qh = {
15295
15301
  install(e) {
15296
15302
  e.component(ln.name, ln), e.component(un.name, un);
15297
15303
  },
15298
15304
  register(e, t, n, o) {
15299
- e["query-solution"] = ln, e["query-solution-config"] = un, t["query-solution"] = Kn, t["query-solution-config"] = ad;
15305
+ e["query-solution"] = ln, e["query-solution-config"] = un, t["query-solution"] = Xn, t["query-solution-config"] = ad;
15300
15306
  },
15301
15307
  registerDesigner(e, t, n) {
15302
- e["query-solution"] = Yc, t["query-solution"] = Kn;
15308
+ e["query-solution"] = Yc, t["query-solution"] = Xn;
15303
15309
  }
15304
15310
  };
15305
15311
  export {
15306
15312
  ln as FQuerySolution,
15307
- Zh as default,
15308
- Kn as propsResolver,
15313
+ Qh as default,
15314
+ Xn as propsResolver,
15309
15315
  Nn as querySolutionProps
15310
15316
  };