@farris/ui-vue 1.2.6 → 1.2.8

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 (210) hide show
  1. package/components/accordion/index.esm.js +150 -142
  2. package/components/avatar/index.esm.js +393 -457
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +491 -554
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +479 -513
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +857 -743
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4883 -5182
  17. package/components/data-view/index.esm.js +3072 -2949
  18. package/components/date-picker/index.esm.js +2626 -2689
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +940 -998
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +307 -293
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1747 -1627
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5877 -6176
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1454 -1524
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +659 -722
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1643 -1524
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6502 -6770
  47. package/components/mapping-editor/index.esm.js +5639 -5939
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +1098 -1130
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1317
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1479 -1513
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +706 -778
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +453 -516
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +555 -526
  74. package/components/response-toolbar/index.esm.js +1009 -1247
  75. package/components/schema-selector/index.esm.js +3261 -3373
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +441 -504
  83. package/components/tabs/index.esm.js +1849 -2039
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +445 -493
  87. package/components/time-picker/index.esm.js +1350 -1414
  88. package/components/transfer/index.esm.js +146 -144
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5948 -6237
  91. package/components/tree-view/index.esm.js +2381 -2255
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +27221 -26804
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  102. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  103. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  104. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  105. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  106. package/types/data-view/composition/types.d.ts +1 -1
  107. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  108. package/types/designer-canvas/src/types.d.ts +1 -1
  109. package/types/dynamic-form/index.d.ts +1 -0
  110. package/types/dynamic-form/src/types.d.ts +1 -1
  111. package/types/dynamic-resolver/index.d.ts +1 -0
  112. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  113. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  114. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  115. package/types/lookup/src/property-config/lookup.property-config.d.ts +4 -3
  116. package/types/modal/src/modal.props.d.ts +1 -4
  117. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -28
  118. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -5
  119. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  120. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  121. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  122. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  123. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  124. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  125. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  126. package/components/accordion/index.umd.cjs +0 -1
  127. package/components/avatar/index.umd.cjs +0 -1
  128. package/components/border-editor/index.umd.cjs +0 -1
  129. package/components/button/index.umd.cjs +0 -1
  130. package/components/button-edit/index.umd.cjs +0 -1
  131. package/components/button-group/index.umd.cjs +0 -1
  132. package/components/calculator/index.umd.cjs +0 -1
  133. package/components/calendar/index.umd.cjs +0 -1
  134. package/components/capsule/index.umd.cjs +0 -1
  135. package/components/checkbox/index.umd.cjs +0 -1
  136. package/components/color-picker/index.umd.cjs +0 -3
  137. package/components/combo-list/index.umd.cjs +0 -1
  138. package/components/combo-tree/index.umd.cjs +0 -1
  139. package/components/common/index.umd.cjs +0 -1
  140. package/components/component/index.umd.cjs +0 -1
  141. package/components/condition/index.umd.cjs +0 -1
  142. package/components/content-container/index.umd.cjs +0 -1
  143. package/components/data-grid/index.umd.cjs +0 -1
  144. package/components/data-view/index.umd.cjs +0 -1
  145. package/components/date-picker/index.umd.cjs +0 -1
  146. package/components/designer-canvas/index.umd.cjs +0 -1
  147. package/components/designer-outline/index.umd.cjs +0 -1
  148. package/components/designer-toolbox/index.umd.cjs +0 -1
  149. package/components/discussion-editor/index.umd.cjs +0 -3
  150. package/components/discussion-list/index.umd.cjs +0 -1
  151. package/components/drawer/index.umd.cjs +0 -1
  152. package/components/dropdown/index.umd.cjs +0 -2
  153. package/components/dynamic-form/index.umd.cjs +0 -1
  154. package/components/dynamic-resolver/index.umd.cjs +0 -1
  155. package/components/dynamic-view/index.umd.cjs +0 -1
  156. package/components/enum-editor/index.umd.cjs +0 -1
  157. package/components/events-editor/index.umd.cjs +0 -1
  158. package/components/expression-editor/index.umd.cjs +0 -1
  159. package/components/external-container/index.umd.cjs +0 -1
  160. package/components/field-selector/index.umd.cjs +0 -1
  161. package/components/filter-bar/index.umd.cjs +0 -1
  162. package/components/flow-canvas/index.umd.cjs +0 -1
  163. package/components/image-cropper/index.umd.cjs +0 -1
  164. package/components/input-group/index.umd.cjs +0 -1
  165. package/components/layout/index.umd.cjs +0 -1
  166. package/components/list-nav/index.umd.cjs +0 -1
  167. package/components/list-view/index.umd.cjs +0 -1
  168. package/components/loading/index.umd.cjs +0 -8
  169. package/components/locale/index.umd.cjs +0 -1
  170. package/components/lookup/index.umd.cjs +0 -1
  171. package/components/mapping-editor/index.umd.cjs +0 -1
  172. package/components/message-box/index.umd.cjs +0 -1
  173. package/components/modal/index.umd.cjs +0 -1
  174. package/components/nav/index.umd.cjs +0 -3
  175. package/components/notify/index.umd.cjs +0 -1
  176. package/components/order/index.umd.cjs +0 -1
  177. package/components/page-footer/index.umd.cjs +0 -1
  178. package/components/page-header/index.umd.cjs +0 -1
  179. package/components/pagination/index.umd.cjs +0 -1
  180. package/components/popover/index.umd.cjs +0 -1
  181. package/components/progress/index.umd.cjs +0 -3
  182. package/components/property-editor/index.umd.cjs +0 -3
  183. package/components/property-panel/index.umd.cjs +0 -1
  184. package/components/radio-button/index.umd.cjs +0 -1
  185. package/components/radio-group/index.umd.cjs +0 -1
  186. package/components/rate/index.umd.cjs +0 -1
  187. package/components/response-layout/index.umd.cjs +0 -1
  188. package/components/response-layout-editor/index.umd.cjs +0 -1
  189. package/components/response-toolbar/index.umd.cjs +0 -1
  190. package/components/schema-selector/index.umd.cjs +0 -8
  191. package/components/search-box/index.umd.cjs +0 -1
  192. package/components/section/index.umd.cjs +0 -1
  193. package/components/smoke-detector/index.umd.cjs +0 -1
  194. package/components/spacing-editor/index.umd.cjs +0 -1
  195. package/components/splitter/index.umd.cjs +0 -1
  196. package/components/step/index.umd.cjs +0 -1
  197. package/components/switch/index.umd.cjs +0 -1
  198. package/components/tabs/index.umd.cjs +0 -1
  199. package/components/tags/index.umd.cjs +0 -1
  200. package/components/text/index.umd.cjs +0 -1
  201. package/components/textarea/index.umd.cjs +0 -1
  202. package/components/time-picker/index.umd.cjs +0 -1
  203. package/components/tooltip/index.umd.cjs +0 -1
  204. package/components/transfer/index.umd.cjs +0 -1
  205. package/components/tree-grid/index.umd.cjs +0 -1
  206. package/components/tree-view/index.umd.cjs +0 -1
  207. package/components/uploader/index.umd.cjs +0 -2
  208. package/components/verify-detail/index.umd.cjs +0 -1
  209. package/components/video/index.umd.cjs +0 -1
  210. package/components/weather/index.umd.cjs +0 -16
@@ -1,73 +1,74 @@
1
- var it = Object.defineProperty;
2
- var rt = (e, t, n) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var V = (e, t, n) => rt(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as m, computed as B, createVNode as i, createTextVNode as Y, defineComponent as z, watch as H, inject as de, onMounted as K, nextTick as oe, reactive as st, withDirectives as pe, resolveDirective as ut, Fragment as J, mergeProps as Pe, getCurrentInstance as ct, onBeforeMount as dt, withModifiers as pt, vModelText as ft, Teleport as mt, createApp as vt, onUnmounted as yt, vShow as gt } from "vue";
5
- import { cloneDeep as Q } from "lodash-es";
1
+ var rt = Object.defineProperty;
2
+ var it = (e, t, n) => t in e ? rt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var V = (e, t, n) => it(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as f, computed as k, createVNode as r, createTextVNode as Y, defineComponent as U, watch as W, inject as de, onMounted as Q, nextTick as oe, reactive as st, withDirectives as pe, resolveDirective as ut, Fragment as J, mergeProps as Pe, onBeforeMount as ct, withModifiers as dt, vModelText as pt, Teleport as ft, createApp as mt, onUnmounted as vt, vShow as yt } from "vue";
5
+ import { cloneDeep as X } from "lodash-es";
6
6
  import "bignumber.js";
7
- import ht, { useNumber as bt, useFormat as Ct, useSpinner as Tt, useTextBox as St } from "@farris/ui-vue/components/number-spinner";
8
- import Ft from "@farris/ui-vue/components/accordion";
9
- import wt from "@farris/ui-vue/components/avatar";
10
- import xt from "@farris/ui-vue/components/button-edit";
11
- import Bt from "@farris/ui-vue/components/button-group";
12
- import kt from "@farris/ui-vue/components/calendar";
13
- import Pt from "@farris/ui-vue/components/capsule";
14
- import It, { FCheckBox as fe } from "@farris/ui-vue/components/checkbox";
15
- import Vt from "@farris/ui-vue/components/combo-list";
16
- import Mt from "@farris/ui-vue/components/combo-tree";
17
- import Et from "@farris/ui-vue/components/component";
18
- import $t from "@farris/ui-vue/components/color-picker";
19
- import Ot from "@farris/ui-vue/components/content-container";
20
- import Dt from "@farris/ui-vue/components/date-picker";
21
- import Rt from "@farris/ui-vue/components/data-grid";
22
- import jt from "@farris/ui-vue/components/dropdown";
23
- import Lt from "@farris/ui-vue/components/dynamic-form";
24
- import At from "@farris/ui-vue/components/events-editor";
25
- import Nt from "@farris/ui-vue/components/filter-bar";
26
- import qt from "@farris/ui-vue/components/field-selector";
27
- import Gt from "@farris/ui-vue/components/image-cropper";
28
- import Ht from "@farris/ui-vue/components/input-group";
29
- import Wt from "@farris/ui-vue/components/layout";
30
- import _t from "@farris/ui-vue/components/list-nav";
31
- import zt from "@farris/ui-vue/components/list-view";
32
- import Ut from "@farris/ui-vue/components/lookup";
33
- import Qt from "@farris/ui-vue/components/mapping-editor";
34
- import Kt from "@farris/ui-vue/components/nav";
35
- import Xt from "@farris/ui-vue/components/number-range";
36
- import Jt from "@farris/ui-vue/components/order";
37
- import Zt from "@farris/ui-vue/components/page-header";
38
- import Yt from "@farris/ui-vue/components/page-footer";
39
- import en from "@farris/ui-vue/components/pagination";
40
- import tn from "@farris/ui-vue/components/progress";
41
- import nn from "@farris/ui-vue/components/query-solution";
42
- import on from "@farris/ui-vue/components/radio-group";
43
- import an from "@farris/ui-vue/components/rate";
44
- import ln from "@farris/ui-vue/components/response-toolbar";
45
- import rn from "@farris/ui-vue/components/response-layout";
46
- import sn from "@farris/ui-vue/components/response-layout-editor";
47
- import un from "@farris/ui-vue/components/search-box";
48
- import cn from "@farris/ui-vue/components/section";
49
- import dn from "@farris/ui-vue/components/smoke-detector";
50
- import pn from "@farris/ui-vue/components/splitter";
51
- import fn from "@farris/ui-vue/components/step";
52
- import mn from "@farris/ui-vue/components/switch";
53
- import vn from "@farris/ui-vue/components/tabs";
54
- import Ie from "@farris/ui-vue/components/tags";
55
- import yn from "@farris/ui-vue/components/text";
56
- import gn from "@farris/ui-vue/components/time-picker";
57
- import hn from "@farris/ui-vue/components/transfer";
58
- import bn from "@farris/ui-vue/components/tree-view";
59
- import Cn from "@farris/ui-vue/components/uploader";
60
- import Tn from "@farris/ui-vue/components/verify-detail";
61
- import Sn from "@farris/ui-vue/components/weather";
62
- import Fn from "@farris/ui-vue/components/video";
63
- import wn from "@farris/ui-vue/components/textarea";
64
- import xn from "@farris/ui-vue/components/schema-selector";
65
- import { useIdentify as Bn, useHierarchy as kn, useGroupData as Pn, usePagination as In, useDataView as Vn, useSelection as Mn, useEdit as En, useVisualDataBound as $n, useVisualDataCell as On, useVisualDataRow as Dn, useVisualGroupRow as Rn, useVisualSummaryRow as jn, useVisualData as Ln } from "@farris/ui-vue/components/data-view";
66
- import { resolveAppearance as An } from "@farris/ui-vue/components/dynamic-resolver";
67
- import Nn from "@farris/ui-vue/components/popover";
7
+ import gt, { useNumber as ht, useFormat as bt, useSpinner as Ct, useTextBox as wt } from "../number-spinner/index.esm.js";
8
+ import Tt from "../accordion/index.esm.js";
9
+ import Ft from "../avatar/index.esm.js";
10
+ import St from "../button-edit/index.esm.js";
11
+ import xt from "../button-group/index.esm.js";
12
+ import kt from "../calendar/index.esm.js";
13
+ import Bt from "../capsule/index.esm.js";
14
+ import Pt, { FCheckBox as fe } from "../checkbox/index.esm.js";
15
+ import It from "../combo-list/index.esm.js";
16
+ import Vt from "../combo-tree/index.esm.js";
17
+ import $t from "../component/index.esm.js";
18
+ import Mt from "../color-picker/index.esm.js";
19
+ import Et from "../content-container/index.esm.js";
20
+ import Ot from "../date-picker/index.esm.js";
21
+ import jt from "../data-grid/index.esm.js";
22
+ import Dt from "../dropdown/index.esm.js";
23
+ import Rt from "../dynamic-form/index.esm.js";
24
+ import At from "../events-editor/index.esm.js";
25
+ import Lt from "../filter-bar/index.esm.js";
26
+ import Nt from "../field-selector/index.esm.js";
27
+ import qt from "../image-cropper/index.esm.js";
28
+ import Gt from "../input-group/index.esm.js";
29
+ import Wt from "../layout/index.esm.js";
30
+ import Ht from "../list-nav/index.esm.js";
31
+ import _t from "../list-view/index.esm.js";
32
+ import Ut from "../lookup/index.esm.js";
33
+ import zt from "../mapping-editor/index.esm.js";
34
+ import Xt from "../nav/index.esm.js";
35
+ import Qt from "../number-range/index.esm.js";
36
+ import Kt from "../order/index.esm.js";
37
+ import Jt from "../page-header/index.esm.js";
38
+ import Zt from "../page-footer/index.esm.js";
39
+ import Yt from "../pagination/index.esm.js";
40
+ import en from "../progress/index.esm.js";
41
+ import tn from "../query-solution/index.esm.js";
42
+ import nn from "../radio-group/index.esm.js";
43
+ import on from "../rate/index.esm.js";
44
+ import ln from "../response-toolbar/index.esm.js";
45
+ import an from "../response-layout/index.esm.js";
46
+ import rn from "../response-layout-editor/index.esm.js";
47
+ import sn from "../search-box/index.esm.js";
48
+ import un from "../section/index.esm.js";
49
+ import cn from "../smoke-detector/index.esm.js";
50
+ import dn from "../splitter/index.esm.js";
51
+ import pn from "../step/index.esm.js";
52
+ import fn from "../switch/index.esm.js";
53
+ import mn from "../tabs/index.esm.js";
54
+ import Ie from "../tags/index.esm.js";
55
+ import vn from "../text/index.esm.js";
56
+ import yn from "../time-picker/index.esm.js";
57
+ import gn from "../transfer/index.esm.js";
58
+ import hn from "../tree-view/index.esm.js";
59
+ import bn from "../uploader/index.esm.js";
60
+ import Cn from "../verify-detail/index.esm.js";
61
+ import wn from "../weather/index.esm.js";
62
+ import Tn from "../video/index.esm.js";
63
+ import Fn from "../textarea/index.esm.js";
64
+ import Sn from "../schema-selector/index.esm.js";
65
+ import xn from "../tree-grid/index.esm.js";
66
+ import { useIdentify as kn, useHierarchy as Bn, useGroupData as Pn, usePagination as In, useDataView as Vn, useSelection as $n, useEdit as Mn, useVisualDataBound as En, useVisualDataCell as On, useVisualDataRow as jn, useVisualGroupRow as Dn, useVisualSummaryRow as Rn, useVisualData as An } from "../data-view/index.esm.js";
67
+ import { resolveAppearance as Ln } from "../dynamic-resolver/index.esm.js";
68
+ import Nn from "../popover/index.esm.js";
68
69
  const me = {}, Ve = {};
69
70
  function ve(e) {
70
- const { properties: t, title: n } = e, o = Object.keys(t).reduce((a, s) => (a[s] = t[s].type === "object" && t[s].properties ? ve(t[s]) : Q(t[s].default), a), {});
71
+ const { properties: t, title: n } = e, o = Object.keys(t).reduce((a, s) => (a[s] = t[s].type === "object" && t[s].properties ? ve(t[s]) : X(t[s].default), a), {});
71
72
  return o.id = `${n}-${Date.now()}`, o;
72
73
  }
73
74
  function se(e, t = {}) {
@@ -79,9 +80,9 @@ function se(e, t = {}) {
79
80
  }
80
81
  return null;
81
82
  }
82
- function Me(e, t) {
83
+ function $e(e, t) {
83
84
  const n = ve(t);
84
- return Object.keys(e).reduce((o, a) => (o[a] = e[a], o), n), n;
85
+ return Object.keys(e).reduce((o, a) => (o[a] && typeof o[a] == "object" ? Object.assign(o[a], e[a]) : o[a] = e[a], o), n), n;
85
86
  }
86
87
  function qn(e, t) {
87
88
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, a) => {
@@ -90,8 +91,8 @@ function qn(e, t) {
90
91
  if (typeof s == "string")
91
92
  o[s] = e[a];
92
93
  else {
93
- const f = s(a, e[a], e);
94
- Object.assign(o, f);
94
+ const p = s(a, e[a], e);
95
+ Object.assign(o, p);
95
96
  }
96
97
  } else
97
98
  o[a] = e[a];
@@ -99,90 +100,88 @@ function qn(e, t) {
99
100
  }, {});
100
101
  }
101
102
  function Gn(e, t, n = /* @__PURE__ */ new Map()) {
102
- const o = Me(e, t);
103
+ const o = $e(e, t);
103
104
  return qn(o, n);
104
105
  }
105
- function Ee(e) {
106
+ function Me(e) {
106
107
  const t = e.type;
107
108
  if (t) {
108
109
  const n = me[t];
109
- return Me(e, n);
110
+ return $e(e, n);
110
111
  }
111
112
  return e;
112
113
  }
113
- function Hn(e = {}) {
114
- function t(r, v, l, d) {
114
+ function Wn(e = {}) {
115
+ function t(i, m, l, v) {
115
116
  if (typeof l == "number")
116
- return d[r].length === l;
117
+ return v[i].length === l;
117
118
  if (typeof l == "object") {
118
- const c = Object.keys(l)[0], p = l[c];
119
+ const c = Object.keys(l)[0], d = l[c];
119
120
  if (c === "not")
120
- return Number(d[r].length) !== Number(p);
121
+ return Number(v[i].length) !== Number(d);
121
122
  if (c === "moreThan")
122
- return Number(d[r].length) >= Number(p);
123
+ return Number(v[i].length) >= Number(d);
123
124
  if (c === "lessThan")
124
- return Number(d[r].length) <= Number(p);
125
+ return Number(v[i].length) <= Number(d);
125
126
  }
126
127
  return !1;
127
128
  }
128
- function n(r, v, l, d) {
129
- return d[r] && d[r].propertyValue && String(d[r].propertyValue.value) === String(l);
129
+ function n(i, m, l, v) {
130
+ return v[i] && v[i].propertyValue && String(v[i].propertyValue.value) === String(l);
130
131
  }
131
132
  const o = /* @__PURE__ */ new Map([
132
133
  ["length", t],
133
134
  ["getProperty", n]
134
135
  ]);
135
- Object.keys(e).reduce((r, v) => (r.set(v, e[v]), r), o);
136
- function a(r, v) {
137
- const l = r;
138
- return typeof v == "number" ? [{ target: l, operator: "length", param: null, value: Number(v) }] : typeof v == "boolean" ? [{ target: l, operator: "getProperty", param: r, value: !!v }] : typeof v == "object" ? Object.keys(v).map((d) => {
139
- if (d === "length")
140
- return { target: l, operator: "length", param: null, value: v[d] };
141
- const c = d, p = v[d];
142
- return { target: l, operator: "getProperty", param: c, value: p };
136
+ Object.keys(e).reduce((i, m) => (i.set(m, e[m]), i), o);
137
+ function a(i, m) {
138
+ const l = i;
139
+ return typeof m == "number" ? [{ target: l, operator: "length", param: null, value: Number(m) }] : typeof m == "boolean" ? [{ target: l, operator: "getProperty", param: i, value: !!m }] : typeof m == "object" ? Object.keys(m).map((v) => {
140
+ if (v === "length")
141
+ return { target: l, operator: "length", param: null, value: m[v] };
142
+ const c = v, d = m[v];
143
+ return { target: l, operator: "getProperty", param: c, value: d };
143
144
  }) : [];
144
145
  }
145
- function s(r) {
146
- return Object.keys(r).reduce((l, d) => {
147
- const c = a(d, r[d]);
146
+ function s(i) {
147
+ return Object.keys(i).reduce((l, v) => {
148
+ const c = a(v, i[v]);
148
149
  return l.push(...c), l;
149
150
  }, []);
150
151
  }
151
- function f(r, v) {
152
- if (o.has(r.operator)) {
153
- const l = o.get(r.operator);
154
- return l && l(r.target, r.param, r.value, v) || !1;
152
+ function p(i, m) {
153
+ if (o.has(i.operator)) {
154
+ const l = o.get(i.operator);
155
+ return l && l(i.target, i.param, i.value, m) || !1;
155
156
  }
156
157
  return !1;
157
158
  }
158
- function g(r, v) {
159
- return s(r).reduce((c, p) => c && f(p, v), !0);
159
+ function g(i, m) {
160
+ return s(i).reduce((c, d) => c && p(d, m), !0);
160
161
  }
161
- function u(r, v) {
162
- const l = Object.keys(r), d = l.includes("allOf"), c = l.includes("anyOf"), p = d || c, P = (p ? r[p ? d ? "allOf" : "anyOf" : "allOf"] : [r]).map((C) => g(C, v));
163
- return d ? !P.includes(!1) : P.includes(!0);
162
+ function u(i, m) {
163
+ const l = Object.keys(i), v = l.includes("allOf"), c = l.includes("anyOf"), d = v || c, P = (d ? i[d ? v ? "allOf" : "anyOf" : "allOf"] : [i]).map((w) => g(w, m));
164
+ return v ? !P.includes(!1) : P.includes(!0);
164
165
  }
165
166
  return { parseValueSchema: u };
166
167
  }
167
- const Wn = {
168
+ const Hn = {
168
169
  convertTo: (e, t, n, o) => {
169
170
  e.appearance && (e.appearance[t] = n);
170
171
  },
171
172
  convertFrom: (e, t, n) => e.appearance ? e.appearance[t] : e[t]
172
173
  }, _n = {
173
174
  convertFrom: (e, t, n) => e.buttons && e.buttons.length ? `共 ${e.buttons.length} 项` : "无"
174
- }, zn = {
175
+ }, Un = {
175
176
  convertTo: (e, t, n, o) => {
176
177
  e.editor && (e.editor[t] = n);
177
178
  },
178
179
  convertFrom: (e, t, n) => e.editor && e.editor.hasOwnProperty(t) ? e.editor[t] : e[t]
179
- }, Un = {
180
- Button: { type: "Button", name: "按钮", icon: "Button" },
181
- ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
180
+ }, zn = {
181
+ button: { type: "button", name: "按钮", icon: "Button" },
182
182
  "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
183
- "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
183
+ "response-toolbar-item": { type: "response-toolbar-item", name: "按钮", icon: "Button" },
184
184
  "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
185
- DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
186
185
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
187
186
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
188
187
  lookup: { type: "lookup", name: "帮助", icon: "LookupEdit" },
@@ -193,122 +192,51 @@ const Wn = {
193
192
  "check-box": { type: "check-box", name: "复选框", icon: "CheckBox" },
194
193
  "check-group": { type: "check-group", name: "复选框组", icon: "CheckGroup" },
195
194
  "combo-list": { type: "combo-list", name: "下拉列表", icon: "EnumField" },
196
- /** 暂时没用 */
197
- FlexLayout: { type: "FlexLayout", name: "弹性布局" },
198
- /** 暂时没用 */
199
- FlowLayout: { type: "FlowLayout", name: "流布局" },
200
- ResponseLayout: { type: "ResponseLayout", name: "布局容器", icon: "ResponseLayout3" },
201
- ResponseLayoutItem: { type: "ResponseLayoutItem", name: "布局", icon: "ResponseLayout1" },
195
+ "response-form": { type: "response-form", name: "卡片面板", icon: "Form" },
196
+ "response-layout": { type: "response-layout", name: "布局容器", icon: "ResponseLayout3" },
197
+ "response-layout-item": { type: "response-layout-item", name: "布局", icon: "ResponseLayout1" },
202
198
  "tree-grid": { type: "tree-grid", name: "树表格", icon: "TreeGrid" },
203
- TreeGridField: { type: "TreeGridField", name: "树表格列" },
204
- FieldSet: { type: "FieldSet", name: "分组", icon: "FieldSet" },
205
- Form: { type: "Form", name: "卡片面板", icon: "Form" },
206
- QueryForm: { type: "QueryForm", name: "查询面板", icon: "Form" },
199
+ "tree-grid-column": { type: "tree-grid-column", name: "树表格列" },
207
200
  "data-grid": { type: "data-grid", name: "表格", icon: "DataGrid" },
208
201
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
209
- Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
210
- Module: { type: "Module", name: "模块", icon: "Module" },
202
+ module: { type: "Module", name: "模块", icon: "Module" },
211
203
  component: { type: "component", name: "组件", icon: "Component" },
212
- ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
213
- Image: { type: "Image", name: "图像", icon: "Image" },
214
- ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
215
- HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
216
- ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
217
- RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
218
204
  tabs: { type: "tabs", name: "标签页", icon: "Tab" },
219
205
  "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
220
206
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
221
- Tag: { type: "Tag", name: "Tag", icon: "Tag" },
222
- Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
223
- HtmlTemplate: { type: "HtmlTemplate", name: "模版容器", icon: "HtmlTemplate" },
224
- ListView: { type: "ListView", name: "列表", icon: "ListView" },
225
- RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
226
- TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
227
- TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
207
+ "time-picker": { type: "time-picker", name: "时间选择", icon: "TimePicker" },
228
208
  section: { type: "section", name: "分组面板", icon: "Section" },
229
- SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
230
- SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
231
- QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
232
- FormHeader: { type: "FormHeader", name: "翻页" },
233
- Splitter: { type: "Splitter", name: "分栏面板", icon: "Splitter" },
234
- SplitterPane: { type: "SplitterPane", name: "分栏面板项", dependentParentControl: "Splitter" },
235
- WizardDetail: { type: "WizardDetail", name: "向导详情页" },
236
- WizardDetailContainer: { type: "WizardDetailContainer", name: "向导详情容器" },
237
- Wizard: { type: "Wizard", name: "向导", icon: "Wizard" },
238
- MultiSelect: { type: "MultiSelect", name: "数据分配", icon: "MultiSelect" },
239
- Steps: { type: "Steps", name: "步骤条", icon: "Steps" },
240
- avatar: { type: "avatar", name: "头像", icon: "Avatar" },
241
- ListFilter: { type: "ListFilter", name: "筛选条", icon: "ListFilter" },
242
- ListNav: { type: "ListNav", name: "列表导航", icon: "ListNav" },
243
- NumberRange: { type: "NumberRange", name: "数字区间选择", icon: "NumericBox" },
244
- Scrollspy: { type: "Scrollspy", name: "滚动监听", icon: "Scrollspy" },
245
- LanguageTextBox: { type: "LanguageTextBox", name: "多语言输入框", icon: "LanguageTextBox" },
246
- ComponentRef: { type: "ComponentRef", name: "组件引用节点" },
247
- FileUpload: { type: "FileUpload", name: "附件上传", icon: "FileUpload" },
248
- FilePreview: { type: "FilePreview", name: "附件预览", icon: "FilePreview" },
249
- ViewChange: { type: "ViewChange", name: "多视图切换", icon: "Button" },
250
- MultiViewContainer: { type: "MultiViewContainer", name: "多视图", icon: "MultiViewContainer" },
251
- MultiViewItem: { type: "MultiViewItem", name: "多视图项", dependentParentControl: "MultiViewContainer" },
252
- Footer: { type: "Footer", name: "页脚" },
253
- DiscussionEditor: { type: "DiscussionEditor", name: "评论编辑区", icon: "DiscussionEditor" },
254
- DiscussionList: { type: "DiscussionList", name: "评论列表", icon: "DiscussionList" },
255
- NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
256
- Tags: { type: "Tags", name: "标记组", icon: "Tags" },
257
- Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
209
+ "section-toolbar": { type: "section-toolbar", name: "分组面板工具栏" },
210
+ "section-toolbar-item": { type: "section-toolbar-item", name: "分组面板按钮" },
211
+ splitter: { type: "splitter", name: "分栏面板", icon: "Splitter" },
212
+ "splitter-pane": { type: "splitter-pane", name: "分栏面板项", dependentParentControl: "Splitter" },
213
+ "component-ref": { type: "component-ref", name: "组件引用节点" },
214
+ uploader: { type: "uploader", name: "附件上传", icon: "FileUpload" },
258
215
  "page-header": { type: "page-header", name: "页头", icon: "Header" },
259
- ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
260
- ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
261
- PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
262
- Table: { type: "Table", name: "表格", icon: "DataGrid" },
263
- LoopContainer: { type: "LoopContainer", name: "循环容器", icon: "ContentContainer" },
264
- FileUploadPreview: { type: "FileUploadPreview", name: "附件上传预览", icon: "FileUpload" },
265
- DynamicArea: { type: "DynamicArea", name: "动态区域", icon: "ContentContainer" },
266
- DynamicAreaItem: { type: "DynamicAreaItem", name: "动态区域项", icon: "ContentContainer" },
267
- TabToolbar: { type: "TabToolbar", name: "标签页工具栏", icon: "TabToolbar" },
268
- HeaderToolBar: { type: "HeaderToolBar", name: "头部组件工具栏", icon: "HeaderToolBar" },
269
- ModalFooterToolBar: { type: "ModalFooterToolBar", name: "底部组件工具栏", icon: "ModalFooterToolBar" },
270
- HeaderToolBarItem: { type: "HeaderToolBarItem", name: "头部组件工具栏按钮", icon: "HeaderToolBarItem" },
271
- ModalFooterToolBarItem: { type: "ModalFooterToolBarItem", name: "底部组件工具栏按钮", icon: "ModalFooterToolBarItem" },
272
- OrganizationSelector: { type: "OrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
273
- AdminOrganizationSelector: { type: "AdminOrganizationSelector", name: "组织选择", icon: "OrganizationSelector" },
274
- EmployeeSelector: { type: "EmployeeSelector", name: "人员选择", icon: "PersonnelSelector" },
275
- OaRelation: { type: "OaRelation", name: "关联行政审批", icon: "TextBox" },
276
- CitySelector: { type: "CitySelector", name: "城市选择", icon: "CitySelector" },
277
- ExtIntergration: { type: "ExtIntergration", name: "外部服务集成", icon: "ViewModel" },
278
- AppointmentCalendar: { type: "AppointmentCalendar", name: "预约日历", icon: "DateBox" },
279
- /** 查询类 start */
280
- Charts: { type: "Charts", name: "图表", icon: "Charts" },
281
- QdpFramework: { type: "QdpFramework", name: "查询结果工具栏", icon: "QdpFramework" },
282
- SpreadSheet: { type: "SpreadSheet", name: "查询表格控件", icon: "Charts" },
283
- QdpConditionDialog: { type: "QdpConditionDialog", name: "查询筛选对话框", icon: "ContentContainer" },
284
- QdpConditionDialogTab: { type: "QdpConditionDialogTab", name: "查询筛选标签页", icon: "Tab" },
285
- /** 查询类 end */
286
- /** 审批类 start */
287
- ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
288
- ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
289
- /** 审批类 end */
290
- }, Qn = {
216
+ "page-footer": { type: "page-footer", name: "页脚", icon: "ModalFooter" },
217
+ "tab-toolbar": { type: "tab-toolbar", name: "标签页工具栏", icon: "TabToolbar" }
218
+ }, Xn = {
291
219
  convertFrom: (e, t, n) => {
292
220
  var a;
293
221
  const o = e.editor && e.editor[t] ? e.editor[t] : e[t];
294
- return ((a = Un[o]) == null ? void 0 : a.name) || o;
222
+ return ((a = zn[o]) == null ? void 0 : a.name) || o;
295
223
  }
296
- }, Kn = {
224
+ }, Qn = {
297
225
  convertTo: (e, t, n, o) => {
298
226
  e[t] = e[t];
299
227
  },
300
228
  convertFrom: (e, t, n) => e.editor ? n.getRealEditorType(e.editor.type) : ""
301
- }, Xn = {
302
- convertFrom: (e, t) => e.binding ? e.binding.type + ":" + e.binding.path : "",
229
+ }, Kn = {
230
+ convertFrom: (e, t) => e.binding ? e.binding.path : "",
303
231
  convertTo: (e, t, n) => {
304
232
  if (n && n.length > 0) {
305
233
  const o = n[0];
306
- e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.path, e.binding.field = o.refElementId, e.binding.fullPath = o.bindingPath;
234
+ e.binding || (e.binding = {}), e.binding.type = "Form", e.binding.path = o.bindingField, e.binding.field = o.id, e.binding.fullPath = o.path, e.path = o.bindingPath;
307
235
  }
308
236
  }
309
237
  }, Jn = {
310
238
  convertTo: (e, t, n, o) => {
311
- typeof e.pagination == "boolean" && (e.pagination = {}), e.pagination && (e.pagination[t] = n);
239
+ e.pagination || (e.pagination = {}), e.pagination[t] = n;
312
240
  },
313
241
  convertFrom: (e, t, n) => e.pagination ? e.pagination[t] : e[t]
314
242
  };
@@ -346,68 +274,68 @@ function Yn() {
346
274
  let e, t;
347
275
  const n = /* @__PURE__ */ new Map();
348
276
  let o = [];
349
- function a(u, r) {
277
+ function a(u, i) {
350
278
  const l = u.split(" ").filter((h) => h.startsWith("col-"));
351
279
  if (l.length === 0) {
352
- r.isSupportedClass = !1;
280
+ i.isSupportedClass = !1;
353
281
  return;
354
282
  }
355
- let d = l.find((h) => /^col-([1-9]|10|11|12)$/.test(h)), c = l.find((h) => /^col-md-([1-9]|10|11|12)$/.test(h)), p = l.find((h) => /^col-xl-([1-9]|10|11|12)$/.test(h)), y = l.find((h) => /^col-el-([1-9]|10|11|12)$/.test(h));
356
- d = d || "col-12", r.columnInSM = parseInt(d.replace("col-", ""), 10), r.displayWidthInSM = r.columnInSM / 12, r.displayWidthInSM !== 1 && (r.isSupportedClass = !1), c = c || "col-md-" + r.columnInSM, r.columnInMD = parseInt(c.replace("col-md-", ""), 10), r.displayWidthInMD = r.columnInMD / 6, [1, 2].includes(r.displayWidthInMD) || (r.isSupportedClass = !1), p = p || "col-xl-" + r.columnInMD, r.columnInLG = parseInt(p.replace("col-xl-", ""), 10), r.displayWidthInLG = r.columnInLG / 3, [1, 2, 3, 4].includes(r.displayWidthInLG) || (r.isSupportedClass = !1), y = y || "col-el-" + r.columnInLG, r.columnInEL = parseInt(y.replace("col-el-", ""), 10), r.displayWidthInEL = r.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(r.displayWidthInEL) || (r.isSupportedClass = !1);
283
+ let v = l.find((h) => /^col-([1-9]|10|11|12)$/.test(h)), c = l.find((h) => /^col-md-([1-9]|10|11|12)$/.test(h)), d = l.find((h) => /^col-xl-([1-9]|10|11|12)$/.test(h)), y = l.find((h) => /^col-el-([1-9]|10|11|12)$/.test(h));
284
+ v = v || "col-12", i.columnInSM = parseInt(v.replace("col-", ""), 10), i.displayWidthInSM = i.columnInSM / 12, i.displayWidthInSM !== 1 && (i.isSupportedClass = !1), c = c || "col-md-" + i.columnInSM, i.columnInMD = parseInt(c.replace("col-md-", ""), 10), i.displayWidthInMD = i.columnInMD / 6, [1, 2].includes(i.displayWidthInMD) || (i.isSupportedClass = !1), d = d || "col-xl-" + i.columnInMD, i.columnInLG = parseInt(d.replace("col-xl-", ""), 10), i.displayWidthInLG = i.columnInLG / 3, [1, 2, 3, 4].includes(i.displayWidthInLG) || (i.isSupportedClass = !1), y = y || "col-el-" + i.columnInLG, i.columnInEL = parseInt(y.replace("col-el-", ""), 10), i.displayWidthInEL = i.columnInEL / 2, [1, 2, 3, 4, 5, 6].includes(i.displayWidthInEL) || (i.isSupportedClass = !1);
357
285
  }
358
- function s(u, r, v, l = !1) {
359
- let d = !1;
286
+ function s(u, i, m, l = !1) {
287
+ let v = !1;
360
288
  u.contents.forEach((c) => {
361
289
  if (c.type === "FieldSet") {
362
- v += 1, s(c, r, v, !0), d = !0;
290
+ m += 1, s(c, i, m, !0), v = !0;
363
291
  return;
364
292
  }
365
- d && (v += 1, d = !1);
366
- const p = c.appearance && c.appearance.class, y = new Zn();
367
- p ? a(p, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = v, l && (y.fieldSetId = u.id), t === c.id && (e = v), n.set(c.id, c), r.push(y);
293
+ v && (m += 1, v = !1);
294
+ const d = c.appearance && c.appearance.class, y = new Zn();
295
+ d ? a(d, y) : y.isSupportedClass = !1, y.label = c.label || c.id, y.id = c.id, y.group = m, l && (y.fieldSetId = u.id), t === c.id && (e = m), n.set(c.id, c), i.push(y);
368
296
  });
369
297
  }
370
- function f(u, r, v, l) {
298
+ function p(u, i, m, l) {
371
299
  l = l || u.id;
372
- const d = v.closest(l, "content-container");
373
- if (!d)
300
+ const v = m.closest(l, "content-container");
301
+ if (!v)
374
302
  return { result: !1, message: "只可以在响应式表单组件中调整响应式布局配置" };
375
- if (!d || !d.contents || d.contents.length === 0)
303
+ if (!v || !v.contents || v.contents.length === 0)
376
304
  return { result: !1, message: "Form区域内没有控件,请先添加控件" };
377
305
  t = u.id, o = [], n.clear();
378
- const c = d.contents[0].type === "FieldSet" ? 0 : 1;
379
- s(d, o, c);
380
- const p = o.find((h) => !h.isSupportedClass);
306
+ const c = v.contents[0].type === "FieldSet" ? 0 : 1;
307
+ s(v, o, c);
308
+ const d = o.find((h) => !h.isSupportedClass);
381
309
  return {
382
310
  defaultState: {
383
311
  defaultGroupNumber: e || 1,
384
- model: p ? "customize" : "standard"
312
+ model: d ? "customize" : "standard"
385
313
  },
386
314
  importData: o
387
315
  };
388
316
  }
389
- function g(u, r, v, l, d) {
390
- d = d || u.id;
391
- const c = l.closest(d, "response-form");
317
+ function g(u, i, m, l, v) {
318
+ v = v || u.id;
319
+ const c = l.closest(v, "response-form");
392
320
  if (!c)
393
321
  return;
394
- const p = [];
395
- return v.forEach((y) => {
322
+ const d = [];
323
+ return m.forEach((y) => {
396
324
  var I;
397
325
  const h = n.get(y.id), P = h.appearance && h.appearance.class;
398
326
  if (P) {
399
- const T = P.split(" ").filter((R) => !R.startsWith("col-")), S = "col-" + y.columnInSM, w = "col-md-" + y.columnInMD, F = "col-xl-" + y.columnInLG, x = "col-el-" + y.columnInEL, b = [S, w, F, x].concat(T);
327
+ const C = P.split(" ").filter((D) => !D.startsWith("col-")), T = "col-" + y.columnInSM, S = "col-md-" + y.columnInMD, F = "col-xl-" + y.columnInLG, x = "col-el-" + y.columnInEL, b = [T, S, F, x].concat(C);
400
328
  h.appearance.class = b.join(" ");
401
329
  }
402
330
  if (y.fieldSetId) {
403
- const C = c.contents.find((S) => S.id === y.fieldSetId), T = p.find((S) => S.id === y.fieldSetId);
404
- T ? (I = T.contents) == null || I.push(h) : (p.push(C), C.contents = [h]);
331
+ const w = c.contents.find((T) => T.id === y.fieldSetId), C = d.find((T) => T.id === y.fieldSetId);
332
+ C ? (I = C.contents) == null || I.push(h) : (d.push(w), w.contents = [h]);
405
333
  } else
406
- p.push(h);
407
- }), c.contents = p, c.id;
334
+ d.push(h);
335
+ }), c.contents = d, c.id;
408
336
  }
409
337
  return {
410
- convertFrom: f,
338
+ convertFrom: p,
411
339
  convertTo: g
412
340
  };
413
341
  }
@@ -422,17 +350,17 @@ const Ce = Yn(), eo = {
422
350
  e[t] = n;
423
351
  }
424
352
  }, ye = {}, ue = /* @__PURE__ */ new Map([
425
- ["/converter/appearance.converter", Wn],
353
+ ["/converter/appearance.converter", Hn],
426
354
  ["/converter/buttons.converter", _n],
427
- ["/converter/property-editor.converter", zn],
355
+ ["/converter/property-editor.converter", Un],
428
356
  ["/converter/response-form-layout.converter", eo],
429
357
  ["/converter/items-count.converter", to],
430
- ["/converter/type.converter", Qn],
431
- ["/converter/change-editor.converter", Kn],
358
+ ["/converter/type.converter", Xn],
359
+ ["/converter/change-editor.converter", Qn],
432
360
  ["/converter/form-group-label.converter", no],
433
- ["/converter/field-selector.converter", Xn],
361
+ ["/converter/field-selector.converter", Kn],
434
362
  ["/converter/pagination.converter", Jn]
435
- ]), oo = {}, ao = /* @__PURE__ */ new Map([
363
+ ]), oo = {}, lo = /* @__PURE__ */ new Map([
436
364
  ["string", { type: "input-group", enableClear: !1 }],
437
365
  ["boolean", {
438
366
  type: "combo-list",
@@ -454,76 +382,74 @@ const Ce = Yn(), eo = {
454
382
  ["array", { type: "button-edit" }],
455
383
  ["number", { type: "number-spinner" }],
456
384
  ["events-editor", { type: "events-editor", hide: !0 }]
457
- ]), lo = Hn();
458
- function $e(e, t) {
459
- return () => lo.parseValueSchema(e, t);
460
- }
461
- function io(e, t, n) {
462
- return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : $e(t.visible, n) : () => !0;
385
+ ]), ao = Wn();
386
+ function Ee(e, t) {
387
+ return () => ao.parseValueSchema(e, t);
463
388
  }
464
389
  function ro(e, t, n) {
465
- return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : $e(t.readonly, n) : () => !1;
390
+ return e.includes("visible") && t.visible !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : t.visible === void 0 ? !0 : Ee(t.visible, n) : () => !0;
391
+ }
392
+ function io(e, t, n) {
393
+ return e.includes("readonly") && t.readonly !== void 0 ? typeof t.visible == "boolean" ? () => !!t.visible : Ee(t.readonly, n) : () => !1;
466
394
  }
467
395
  function so(e, t) {
468
396
  const n = e.$converter || t;
469
397
  return typeof n == "string" && n && ue.has(n) ? ue.get(n) || null : n || null;
470
398
  }
471
- function ge(e, t, n, o, a, s = "", f = "") {
399
+ function ge(e, t, n, o, a, s = "", p = "") {
472
400
  return Object.keys(e).map((u) => {
473
- const r = m(1), v = u, l = e[u], d = Object.keys(l), c = l.title, p = l.type, y = ao.get(p) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = io(d, l, t), I = ro(d, l, t), C = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, f) : [], T = !0;
474
- let S = so(l, f);
475
- const w = B({
401
+ const i = f(1), m = u, l = e[u], v = Object.keys(l), c = l.title, d = l.type, y = lo.get(d) || { type: "input-group", enableClear: !1 }, h = l.editor ? Object.assign({}, y, l.editor) : y, P = ro(v, l, t), I = io(v, l, t), w = l.type === "cascade" ? ge(l.properties, t, n, o, a, s, p) : [], C = !0;
402
+ let T = so(l, p);
403
+ const S = k({
476
404
  get() {
477
- if (r.value) {
478
- if (["class", "style"].find((R) => R == v) && !S && (S = ue.get("/converter/appearance.converter") || null), S && S.convertFrom)
479
- return S.convertFrom(n, u, a, s);
405
+ if (i.value) {
406
+ if (["class", "style"].find((D) => D == m) && !T && (T = ue.get("/converter/appearance.converter") || null), T && T.convertFrom)
407
+ return T.convertFrom(n, u, a, s);
480
408
  const b = n[u];
481
409
  return typeof b == "string" && b == "" ? l.defaultValue || "" : b;
482
410
  }
483
411
  return null;
484
412
  },
485
413
  set(b) {
486
- r.value += 1, S && S.convertTo ? (S.convertTo(o, u, b, a, s), S.convertTo(n, u, b, a, s)) : (o[u] = b, n[u] = b);
414
+ i.value += 1, T && T.convertTo ? (T.convertTo(o, u, b, a, s), T.convertTo(n, u, b, a, s)) : (o[u] = b, n[u] = b);
487
415
  }
488
- }), F = l.refreshPanelAfterChanged, x = { propertyID: v, propertyName: c, propertyType: p, propertyValue: w, editor: h, visible: P, readonly: I, cascadeConfig: C, hideCascadeTitle: T, refreshPanelAfterChanged: F };
489
- return t[v] = x, x;
416
+ }), F = l.refreshPanelAfterChanged, x = { propertyID: m, propertyName: c, propertyType: d, propertyValue: S, editor: h, visible: P, readonly: I, cascadeConfig: w, hideCascadeTitle: C, refreshPanelAfterChanged: F };
417
+ return t[m] = x, x;
490
418
  });
491
419
  }
492
420
  function uo(e, t, n, o, a = "") {
493
- const s = t.$ref.schema, f = t.$ref.converter, g = n[s], u = g.type, r = Ee(g), v = {}, l = ye[u];
421
+ const s = t.$ref.schema, p = t.$ref.converter, g = n[s], u = g.type, i = Me(g), m = {}, l = ye[u];
494
422
  if (l && l.categories) {
495
- const d = l.categories[e], c = d == null ? void 0 : d.title;
496
- f && Object.keys(d.properties).forEach((h) => {
497
- d.properties[h].$converter = f;
423
+ const v = l.categories[e], c = v == null ? void 0 : v.title;
424
+ p && Object.keys(v.properties).forEach((h) => {
425
+ v.properties[h].$converter = p;
498
426
  });
499
- const p = (d == null ? void 0 : d.properties) || {}, y = ge(p, v, r, g, o, a);
427
+ const d = (v == null ? void 0 : v.properties) || {}, y = ge(d, m, i, g, o, a);
500
428
  return { categoryId: e, categoryName: c, properties: y };
501
429
  }
502
430
  return { categoryId: e, categoryName: "", properties: [] };
503
431
  }
504
- function ie(e, t, n, o, a) {
505
- var r;
432
+ function re(e, t, n, o, a) {
506
433
  let s = e.type;
507
- const f = Ee(e), g = {};
508
- ((r = e.editor) == null ? void 0 : r.type) === "lookup" && (s = "lookup"), s === "lookup" && n.elementRef.editorRef && (n = n.elementRef.editorRef);
434
+ const p = Me(e), g = {};
509
435
  let u = a || ye[s];
510
436
  if (Object.keys(u).length === 0 && n && n.getPropConfig && (u = n.getPropConfig(o)), u && u.categories) {
511
- const v = [];
512
- return Object.keys(u.categories).map((l) => {
513
- const d = u.categories[l];
514
- if (d.$ref) {
515
- v.push(uo(l, d, e, t, o));
437
+ const i = [];
438
+ return Object.keys(u.categories).map((m) => {
439
+ const l = u.categories[m];
440
+ if (l.$ref) {
441
+ i.push(uo(m, l, e, t, o));
516
442
  return;
517
443
  }
518
- const c = d == null ? void 0 : d.title, p = d == null ? void 0 : d.tabId, y = d == null ? void 0 : d.tabName, h = d == null ? void 0 : d.hide, P = d == null ? void 0 : d.hideTitle, I = ge(d.properties || {}, g, f, e, t, o, d.$converter), C = d.setPropertyRelates;
519
- v.push({ categoryId: l, categoryName: c, tabId: p, tabName: y, hide: h, properties: I, hideTitle: P, setPropertyRelates: C });
520
- }), v;
444
+ const v = l == null ? void 0 : l.title, c = l == null ? void 0 : l.tabId, d = l == null ? void 0 : l.tabName, y = l == null ? void 0 : l.hide, h = l == null ? void 0 : l.hideTitle, P = ge(l.properties || {}, g, p, e, t, o, l.$converter), I = l.setPropertyRelates;
445
+ i.push({ categoryId: m, categoryName: v, tabId: c, tabName: d, hide: y, properties: P, hideTitle: h, setPropertyRelates: I });
446
+ }), i;
521
447
  }
522
448
  return [];
523
449
  }
524
- function Z(e, t, n = /* @__PURE__ */ new Map(), o = (f, g, u) => g, a = {}, s = (f) => f) {
525
- return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, oo[t.title] = s, (f = {}) => {
526
- const g = Gn(f, t, n), u = Object.keys(e).reduce((r, v) => (r[v] = e[v].default, r), {});
450
+ function Z(e, t, n = /* @__PURE__ */ new Map(), o = (p, g, u) => g, a = {}, s = (p) => p) {
451
+ return me[t.title] = t, Ve[t.title] = o, ye[t.title] = a, oo[t.title] = s, (p = {}) => {
452
+ const g = Gn(p, t, n), u = Object.keys(e).reduce((i, m) => (i[m] = e[m].default, i), {});
527
453
  return Object.assign(u, g);
528
454
  };
529
455
  }
@@ -609,7 +535,7 @@ const fo = "https://json-schema.org/draft/2020-12/schema", mo = "https://farris-
609
535
  type: go,
610
536
  properties: ho,
611
537
  required: bo
612
- }, To = "filter-bar", So = "A Farris Component", Fo = "object", wo = {
538
+ }, wo = "filter-bar", To = "A Farris Component", Fo = "object", So = {
613
539
  basic: {
614
540
  description: "Basic Infomation",
615
541
  title: "基本信息",
@@ -802,10 +728,10 @@ const fo = "https://json-schema.org/draft/2020-12/schema", mo = "https://farris-
802
728
  }
803
729
  }
804
730
  }, xo = {
805
- title: To,
806
- description: So,
731
+ title: wo,
732
+ description: To,
807
733
  type: Fo,
808
- categories: wo
734
+ categories: So
809
735
  }, he = {
810
736
  /** 被绑定数据 */
811
737
  data: {
@@ -833,8 +759,8 @@ const fo = "https://json-schema.org/draft/2020-12/schema", mo = "https://farris-
833
759
  resetText: { type: String, default: "清空已选" },
834
760
  /** 是否显示重置 */
835
761
  showReset: { type: Boolean, default: !1 }
836
- }, Te = Z(he, Co, co, po, xo);
837
- class Bo {
762
+ }, we = Z(he, Co, co, po, xo);
763
+ class ko {
838
764
  constructor(t = { value: [] }) {
839
765
  V(this, "editorType", "check-box");
840
766
  V(this, "value");
@@ -854,7 +780,7 @@ class Bo {
854
780
  return this.value.length === 0;
855
781
  }
856
782
  }
857
- class ko {
783
+ class Bo {
858
784
  constructor(t = { textValue: "", value: "", valueField: "" }) {
859
785
  V(this, "editorType", "combo-lookup");
860
786
  V(this, "textValue");
@@ -874,11 +800,11 @@ class ko {
874
800
  return t[n[0]];
875
801
  }
876
802
  getTextValue(t) {
877
- const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, Q(n)));
803
+ const n = t.split("."), o = this.value.split(",").map((a) => this.getPropValue(a, X(n)));
878
804
  return o && o.length ? o.join(",") : "";
879
805
  }
880
806
  getValue() {
881
- const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, Q(t)));
807
+ const t = this.valueField.split("."), n = this.value.split(",").map((o) => this.getPropValue(o, X(t)));
882
808
  return n && n.length ? n.join(",") : "";
883
809
  }
884
810
  setValue(t) {
@@ -908,7 +834,7 @@ class Po {
908
834
  this.value = void 0;
909
835
  }
910
836
  }
911
- class Se {
837
+ class Te {
912
838
  constructor(t = { begin: "", end: "" }) {
913
839
  V(this, "editorType", "date-range");
914
840
  V(this, "begin", "");
@@ -972,7 +898,7 @@ class Vo {
972
898
  return !this.displayText;
973
899
  }
974
900
  }
975
- class Mo {
901
+ class $o {
976
902
  constructor(t = { value: [], displayText: "", displayField: "", isInputText: !1 }) {
977
903
  V(this, "editorType", "input-group");
978
904
  // 通过弹窗返回的若干个值对象构成的数组
@@ -997,11 +923,11 @@ class Mo {
997
923
  return t[n[0]];
998
924
  }
999
925
  getTextValue(t) {
1000
- const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, Q(n)));
926
+ const n = t.split("."), o = this.value.map((a) => this.getPropValue(a, X(n)));
1001
927
  return o && o.length ? o.join(",") : "";
1002
928
  }
1003
929
  getValue() {
1004
- const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, Q(t)));
930
+ const t = this.valueField.split(".") || [], n = this.value.map((o) => this.getPropValue(o, X(t)));
1005
931
  return n && n.length ? n.join(",") : "";
1006
932
  }
1007
933
  setValue(t) {
@@ -1011,7 +937,7 @@ class Mo {
1011
937
  return !this.displayText;
1012
938
  }
1013
939
  }
1014
- class Eo {
940
+ class Mo {
1015
941
  constructor(t = { textValue: "", value: [], valueField: "", isInputText: !1 }) {
1016
942
  V(this, "editorType", "lookup");
1017
943
  V(this, "textValue");
@@ -1047,7 +973,7 @@ class Eo {
1047
973
  return !this.value.length;
1048
974
  }
1049
975
  }
1050
- class $o {
976
+ class Eo {
1051
977
  constructor(t = { value: "" }) {
1052
978
  V(this, "editorType", "month-picker");
1053
979
  V(this, "value");
@@ -1088,7 +1014,7 @@ class Oo {
1088
1014
  return !this.begin || !this.end;
1089
1015
  }
1090
1016
  }
1091
- class Do {
1017
+ class jo {
1092
1018
  constructor(t = { begin: null, end: null }) {
1093
1019
  V(this, "editorType", "number-range");
1094
1020
  V(this, "begin");
@@ -1112,7 +1038,7 @@ class Do {
1112
1038
  return this.begin == null && this.end == null;
1113
1039
  }
1114
1040
  }
1115
- class Ro {
1041
+ class Do {
1116
1042
  constructor(t = { value: "" }) {
1117
1043
  V(this, "editorType", "number-spinner");
1118
1044
  V(this, "value");
@@ -1132,7 +1058,7 @@ class Ro {
1132
1058
  return this.value == null;
1133
1059
  }
1134
1060
  }
1135
- class jo {
1061
+ class Ro {
1136
1062
  constructor(t = { value: null }) {
1137
1063
  V(this, "editorType", "radio-group");
1138
1064
  V(this, "value");
@@ -1152,7 +1078,7 @@ class jo {
1152
1078
  return !this.value;
1153
1079
  }
1154
1080
  }
1155
- class Lo {
1081
+ class Ao {
1156
1082
  constructor(t = { value: "" }) {
1157
1083
  V(this, "editorType", "text");
1158
1084
  V(this, "value");
@@ -1172,343 +1098,343 @@ class Lo {
1172
1098
  return !this.value;
1173
1099
  }
1174
1100
  }
1175
- function Ao() {
1101
+ function Lo() {
1176
1102
  function e(t, n) {
1177
1103
  switch (t) {
1178
1104
  case "check-box":
1179
- return new Bo(n);
1105
+ return new ko(n);
1180
1106
  case "combo-list":
1181
1107
  return new Vo(n);
1182
1108
  case "combo-lookup":
1183
- return new ko(n);
1109
+ return new Bo(n);
1184
1110
  case "input-group":
1185
- return new Mo(n);
1111
+ return new $o(n);
1186
1112
  case "date-picker":
1187
1113
  return new Po(n);
1188
1114
  case "date-range":
1189
- return new Se(n);
1115
+ return new Te(n);
1190
1116
  case "datetime-picker":
1191
1117
  return new Io(n);
1192
1118
  case "datetime-range":
1193
- return new Se(n);
1119
+ return new Te(n);
1194
1120
  case "lookup":
1195
- return new Eo(n);
1121
+ return new Mo(n);
1196
1122
  case "month-picker":
1197
- return new $o(n);
1123
+ return new Eo(n);
1198
1124
  case "month-range":
1199
1125
  return new Oo(n);
1200
1126
  case "number-range":
1201
- return new Do(n);
1127
+ return new jo(n);
1202
1128
  case "number-spinner":
1203
- return new Ro(n);
1129
+ return new Do(n);
1204
1130
  case "radio-group":
1205
- return new jo(n);
1131
+ return new Ro(n);
1206
1132
  default:
1207
- return new Lo(n);
1133
+ return new Ao(n);
1208
1134
  }
1209
1135
  }
1210
1136
  return { createConditionValue: e };
1211
1137
  }
1212
1138
  function Oe(e, t) {
1213
- const n = m([]), o = m([]), a = m([]), s = m(""), f = m(!1), g = m(e.mode), u = /* @__PURE__ */ new Map(), r = Ao();
1214
- function v(C) {
1215
- return !f.value && g.value === "display-only" && !!C.hasValue && !!C.displayText;
1216
- }
1217
- function l(C) {
1218
- o.value = C, o.value.reduce((T, S) => (T.set(S.labelCode, S), T), u);
1219
- }
1220
- function d(C) {
1221
- n.value = C.map((T, S) => {
1222
- var w;
1223
- if (typeof T.value == "string") {
1224
- const F = ((w = u.get(T.fieldCode)) == null ? void 0 : w.editor.type) || "text";
1225
- T.value = r.createConditionValue(F, { value: T.value });
1139
+ const n = f([]), o = f([]), a = f([]), s = f(""), p = f(!1), g = f(e.mode), u = /* @__PURE__ */ new Map(), i = Lo();
1140
+ function m(w) {
1141
+ return !p.value && g.value === "display-only" && !!w.hasValue && !!w.displayText;
1142
+ }
1143
+ function l(w) {
1144
+ o.value = w, o.value.reduce((C, T) => (C.set(T.labelCode, T), C), u);
1145
+ }
1146
+ function v(w) {
1147
+ n.value = w.map((C, T) => {
1148
+ var S;
1149
+ if (typeof C.value == "string") {
1150
+ const F = ((S = u.get(C.fieldCode)) == null ? void 0 : S.editor.type) || "text";
1151
+ C.value = i.createConditionValue(F, { value: C.value });
1226
1152
  }
1227
- return T.conditionId = S, T;
1153
+ return C.conditionId = T, C;
1228
1154
  });
1229
1155
  }
1230
1156
  function c() {
1231
- const C = o.value.map((T) => ({
1232
- id: T.id,
1233
- fieldCode: T.code,
1234
- fieldName: T.name,
1235
- editor: T.editor
1157
+ const w = o.value.map((C) => ({
1158
+ id: C.id,
1159
+ fieldCode: C.code,
1160
+ fieldName: C.name,
1161
+ editor: C.editor
1236
1162
  }));
1237
- return n.value.reduce((T, S, w) => {
1238
- const F = T.find((x) => x.fieldCode === S.fieldCode);
1239
- return F && (F.displayText = S.value.getValue(), F.hasValue = !0), T;
1240
- }, C), C;
1163
+ return n.value.reduce((C, T, S) => {
1164
+ const F = C.find((x) => x.fieldCode === T.fieldCode);
1165
+ return F && (F.displayText = T.value.getValue(), F.hasValue = !0), C;
1166
+ }, w), w;
1241
1167
  }
1242
- function p(C, T) {
1243
- l(e.fields), d(e.data), a.value = c();
1168
+ function d(w, C) {
1169
+ l(e.fields), v(e.data), a.value = c();
1244
1170
  }
1245
- function y(C) {
1246
- a.value = a.value.filter((T) => T.id !== C.id), n.value = n.value.filter((T) => T.fieldCode !== C.fieldCode), o.value = o.value.filter((T) => T.id !== C.id), t.emit("Remove", C.fieldCode);
1171
+ function y(w) {
1172
+ a.value = a.value.filter((C) => C.id !== w.id), n.value = n.value.filter((C) => C.fieldCode !== w.fieldCode), o.value = o.value.filter((C) => C.id !== w.id), t.emit("Remove", w.fieldCode);
1247
1173
  }
1248
- function h(C) {
1249
- C.displayText = "", C.hasValue = !1, n.value = n.value.filter((T) => T.fieldCode !== C.fieldCode), t.emit("Clear", C.fieldCode);
1174
+ function h(w) {
1175
+ w.displayText = "", w.hasValue = !1, n.value = n.value.filter((C) => C.fieldCode !== w.fieldCode), t.emit("Clear", w.fieldCode);
1250
1176
  }
1251
1177
  function P() {
1252
1178
  a.value = [], n.value = [], o.value = [], t.emit("Reset");
1253
1179
  }
1254
1180
  function I() {
1255
- a.value.forEach((C) => {
1256
- C.displayText = "", C.hasValue = !1;
1181
+ a.value.forEach((w) => {
1182
+ w.displayText = "", w.hasValue = !1;
1257
1183
  }), n.value = [], t.emit("Reset");
1258
1184
  }
1259
- return p(e.fields, e.data), {
1185
+ return d(e.fields, e.data), {
1260
1186
  clearAll: P,
1261
1187
  clearFilterItem: h,
1262
1188
  currentFilterId: s,
1263
1189
  filterFields: o,
1264
1190
  filterItems: a,
1265
- loadFilterItems: p,
1191
+ loadFilterItems: d,
1266
1192
  removeFilterItem: y,
1267
1193
  reset: I,
1268
- shouldShowClearButtonInFilterItem: v
1194
+ shouldShowClearButtonInFilterItem: m
1269
1195
  };
1270
1196
  }
1271
- function De(e, t) {
1197
+ function je(e, t) {
1272
1198
  function n() {
1273
1199
  }
1274
- return () => i("div", {
1200
+ return () => r("div", {
1275
1201
  class: "f-filter-list-ellipsis",
1276
1202
  onClick: (o) => void 0
1277
1203
  }, [Y("...")]);
1278
1204
  }
1279
- function Re(e, t, n) {
1205
+ function De(e, t, n) {
1280
1206
  const {
1281
1207
  clearFilterItem: o,
1282
1208
  currentFilterId: a,
1283
1209
  filterItems: s,
1284
- removeFilterItem: f,
1210
+ removeFilterItem: p,
1285
1211
  shouldShowClearButtonInFilterItem: g
1286
- } = n, u = m(!1), r = function(c, p) {
1212
+ } = n, u = f(!1), i = function(c, d) {
1287
1213
  return {
1288
1214
  "f-filter-item": !0,
1289
1215
  "f-filter-item-actived": c.hasValue,
1290
- "f-filter-item-last": p === s.value.length - 1,
1216
+ "f-filter-item-last": d === s.value.length - 1,
1291
1217
  "f-filter-item-edit": c.id === a.value
1292
1218
  };
1293
- }, v = B(() => !u.value && e.mode === "editable");
1294
- function l(c, p) {
1295
- e.mode === "display-only" ? f(p) : o(p);
1219
+ }, m = k(() => !u.value && e.mode === "editable");
1220
+ function l(c, d) {
1221
+ e.mode === "display-only" ? p(d) : o(d);
1296
1222
  }
1297
- function d(c, p, y) {
1223
+ function v(c, d, y) {
1298
1224
  }
1299
- return (c, p) => i("div", {
1225
+ return (c, d) => r("div", {
1300
1226
  id: c.id,
1301
- class: r(c, p),
1227
+ class: i(c, d),
1302
1228
  onClick: (y) => void 0
1303
- }, [i("div", {
1229
+ }, [r("div", {
1304
1230
  class: "f-filter-item-inner"
1305
- }, [c.editor.required && i("span", {
1231
+ }, [c.editor.required && r("span", {
1306
1232
  class: "f-filter-item-required text-danger"
1307
- }, [Y("*")]), i("span", {
1233
+ }, [Y("*")]), r("span", {
1308
1234
  class: "f-filter-item-text"
1309
- }, [c.fieldName]), c.hasValue && c.displayText && i("span", {
1235
+ }, [c.fieldName]), c.hasValue && c.displayText && r("span", {
1310
1236
  class: "f-filter-item-tip"
1311
- }, [Y(":")]), c.hasValue && c.displayText && i("span", {
1237
+ }, [Y(":")]), c.hasValue && c.displayText && r("span", {
1312
1238
  class: "f-filter-item-content"
1313
- }, [c.displayText]), v.value && i("span", {
1239
+ }, [c.displayText]), m.value && r("span", {
1314
1240
  class: "f-filter-item-arrow f-icon f-icon-arrow-chevron-down"
1315
- }, null)]), g(c) && i("span", {
1241
+ }, null)]), g(c) && r("span", {
1316
1242
  class: "f-filter-item-clear",
1317
1243
  onClick: (y) => l(y, c)
1318
- }, [i("span", {
1244
+ }, [r("span", {
1319
1245
  class: "f-icon f-icon-close-circle"
1320
1246
  }, null)])]);
1321
1247
  }
1322
- function je(e, t, n) {
1323
- const o = m([]), a = m(!1), s = m(""), f = m(e.resetText), g = m(e.showReset), {
1248
+ function Re(e, t, n) {
1249
+ const o = f([]), a = f(!1), s = f(""), p = f(e.resetText), g = f(e.showReset), {
1324
1250
  clearAll: u,
1325
- reset: r
1326
- } = n, v = B(() => a.value && o.value && o.value.length > 0), l = B(() => g.value);
1327
- function d(p) {
1251
+ reset: i
1252
+ } = n, m = k(() => a.value && o.value && o.value.length > 0), l = k(() => g.value);
1253
+ function v(d) {
1328
1254
  }
1329
- function c(p) {
1330
- e.mode === "display-only" ? u() : r();
1255
+ function c(d) {
1256
+ e.mode === "display-only" ? u() : i();
1331
1257
  }
1332
- return () => i("div", {
1258
+ return () => r("div", {
1333
1259
  class: "f-filter-toolbars"
1334
- }, [v.value && i("button", {
1260
+ }, [m.value && r("button", {
1335
1261
  class: "btn btn-link",
1336
- onClick: (p) => void 0
1337
- }, [s.value]), l.value && i("button", {
1262
+ onClick: (d) => void 0
1263
+ }, [s.value]), l.value && r("button", {
1338
1264
  class: "btn btn-link",
1339
- onClick: (p) => c()
1340
- }, [f.value])]);
1265
+ onClick: (d) => c()
1266
+ }, [p.value])]);
1341
1267
  }
1342
- const re = /* @__PURE__ */ z({
1268
+ const ie = /* @__PURE__ */ U({
1343
1269
  name: "FFilterBar",
1344
1270
  props: he,
1345
1271
  emits: ["Clear", "Remove", "Reset"],
1346
1272
  setup(e, t) {
1347
- const n = m(!1), o = m(!1), a = m(!1), s = m(!1), f = Oe(e, t), {
1273
+ const n = f(!1), o = f(!1), a = f(!1), s = f(!1), p = Oe(e, t), {
1348
1274
  filterFields: g,
1349
1275
  filterItems: u,
1350
- loadFilterItems: r
1351
- } = f, v = B(() => ({
1276
+ loadFilterItems: i
1277
+ } = p, m = k(() => ({
1352
1278
  display: g.value && g.value.length ? "" : "none"
1353
1279
  }));
1354
- H([() => e.data, () => e.fields], ([T, S]) => {
1355
- r(S, T);
1280
+ W([() => e.data, () => e.fields], ([C, T]) => {
1281
+ i(T, C);
1356
1282
  });
1357
- const l = B(() => o.value && n.value), d = B(() => ({
1283
+ const l = k(() => o.value && n.value), v = k(() => ({
1358
1284
  "f-filter-list": !0,
1359
1285
  "f-filter-list-extend": l.value
1360
- })), c = B(() => u.value.length > 0), p = Re(e, t, f);
1286
+ })), c = k(() => u.value.length > 0), d = De(e, t, p);
1361
1287
  function y() {
1362
- return i("div", {
1363
- class: d.value
1364
- }, [u.value.map((T, S) => p(T, S))]);
1288
+ return r("div", {
1289
+ class: v.value
1290
+ }, [u.value.map((C, T) => d(C, T))]);
1365
1291
  }
1366
- const h = B(() => a.value && !o.value && s.value), P = De(), I = B(() => !o.value), C = je(e, t, f);
1367
- return () => i("div", {
1292
+ const h = k(() => a.value && !o.value && s.value), P = je(), I = k(() => !o.value), w = Re(e, t, p);
1293
+ return () => r("div", {
1368
1294
  class: "f-filter-wrapper",
1369
- style: v.value
1370
- }, [i("div", {
1295
+ style: m.value
1296
+ }, [r("div", {
1371
1297
  class: "f-filter-wrapper-inner f-utils-fill"
1372
- }, [i("div", {
1298
+ }, [r("div", {
1373
1299
  class: "f-filter-main f-utils-fill"
1374
- }, [i("div", {
1300
+ }, [r("div", {
1375
1301
  class: "f-filter-list-wrapper"
1376
- }, [c.value && y(), h.value && P(), I.value && C()])])])]);
1302
+ }, [c.value && y(), h.value && P(), I.value && w()])])])]);
1377
1303
  }
1378
1304
  });
1379
1305
  function No(e, t, n) {
1380
- var S;
1306
+ var T;
1381
1307
  function o() {
1382
1308
  }
1383
- const a = "", s = "", f = m();
1309
+ const a = "", s = "", p = f();
1384
1310
  function g() {
1385
1311
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1386
1312
  }
1387
1313
  function u() {
1388
1314
  return !1;
1389
1315
  }
1390
- function r() {
1316
+ function i() {
1391
1317
  return (t == null ? void 0 : t.schema.componentType) !== "frame";
1392
1318
  }
1393
- function v() {
1319
+ function m() {
1394
1320
  return (t == null ? void 0 : t.schema.componentType) === "frame";
1395
1321
  }
1396
- function l(w) {
1397
- if (!w || !w.value)
1322
+ function l(S) {
1323
+ if (!S || !S.value)
1398
1324
  return null;
1399
- if (w.value.schema && w.value.schema.type === "component")
1400
- return w.value;
1401
- const F = m(w == null ? void 0 : w.value.parent), x = l(F);
1325
+ if (S.value.schema && S.value.schema.type === "component")
1326
+ return S.value;
1327
+ const F = f(S == null ? void 0 : S.value.parent), x = l(F);
1402
1328
  return x || null;
1403
1329
  }
1404
- function d(w = t) {
1405
- const { componentInstance: F, designerItemElementRef: x } = w;
1406
- return !F || !F.value ? null : F.value.canMove ? x : d(w.parent);
1330
+ function v(S = t) {
1331
+ const { componentInstance: F, designerItemElementRef: x } = S;
1332
+ return !F || !F.value ? null : F.value.canMove ? x : v(S.parent);
1407
1333
  }
1408
- function c(w) {
1334
+ function c(S) {
1409
1335
  return !!n;
1410
1336
  }
1411
- function p() {
1337
+ function d() {
1412
1338
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
1413
1339
  }
1414
1340
  function y() {
1415
1341
  }
1416
- function h(w, F) {
1342
+ function h(S, F) {
1417
1343
  }
1418
- function P(w) {
1419
- const { componentType: F } = w;
1420
- let x = se(F, w);
1344
+ function P(S) {
1345
+ const { componentType: F } = S;
1346
+ let x = se(F, S);
1421
1347
  const b = F.toLowerCase().replace("-", "_");
1422
1348
  return x && !x.id && x.type === F && (x.id = `${b}_${Math.random().toString().slice(2, 6)}`), x;
1423
1349
  }
1424
- function I(w, F) {
1425
- const x = String(w.getAttribute("data-controltype")), b = w.getAttribute("data-feature"), R = b ? JSON.parse(b) : {};
1426
- R.parentComponentInstance = f.value;
1427
- let M = se(x, R);
1350
+ function I(S, F) {
1351
+ const x = String(S.getAttribute("data-controltype")), b = S.getAttribute("data-feature"), D = b ? JSON.parse(b) : {};
1352
+ D.parentComponentInstance = p.value;
1353
+ let $ = se(x, D);
1428
1354
  const N = x.toLowerCase().replace("-", "_");
1429
- return M && !M.id && M.type === x && (M.id = `${N}_${Math.random().toString().slice(2, 6)}`), M;
1355
+ return $ && !$.id && $.type === x && ($.id = `${N}_${Math.random().toString().slice(2, 6)}`), $;
1430
1356
  }
1431
- function C(w) {
1357
+ function w(S) {
1432
1358
  }
1433
- function T(...w) {
1359
+ function C(...S) {
1434
1360
  }
1435
- return f.value = {
1361
+ return p.value = {
1436
1362
  canMove: g(),
1437
1363
  canSelectParent: u(),
1438
- canDelete: r(),
1439
- canNested: !v(),
1364
+ canDelete: i(),
1365
+ canNested: !m(),
1440
1366
  contents: t == null ? void 0 : t.schema.contents,
1441
1367
  elementRef: e,
1442
- parent: (S = t == null ? void 0 : t.parent) == null ? void 0 : S.componentInstance,
1368
+ parent: (T = t == null ? void 0 : t.parent) == null ? void 0 : T.componentInstance,
1443
1369
  schema: t == null ? void 0 : t.schema,
1444
1370
  styles: a,
1445
1371
  designerClass: s,
1446
1372
  canAccepts: c,
1447
1373
  getBelongedComponentInstance: l,
1448
- getDraggableDesignItemElement: d,
1449
- getDraggingDisplayText: p,
1450
- getPropConfig: T,
1374
+ getDraggableDesignItemElement: v,
1375
+ getDraggingDisplayText: d,
1376
+ getPropConfig: C,
1451
1377
  getDragScopeElement: y,
1452
1378
  onAcceptMovedChildElement: h,
1453
1379
  onAcceptNewChildElement: I,
1454
- onChildElementMovedOut: C,
1380
+ onChildElementMovedOut: w,
1455
1381
  addNewChildComponentSchema: P,
1456
1382
  updateDragAndDropRules: o,
1457
- triggerBelongedComponentToMoveWhenMoved: m(!1),
1458
- triggerBelongedComponentToDeleteWhenDeleted: m(!1)
1459
- }, f;
1383
+ triggerBelongedComponentToMoveWhenMoved: f(!1),
1384
+ triggerBelongedComponentToDeleteWhenDeleted: f(!1)
1385
+ }, p;
1460
1386
  }
1461
- const qo = /* @__PURE__ */ z({
1387
+ const qo = /* @__PURE__ */ U({
1462
1388
  name: "FFilterBarDesign",
1463
1389
  props: he,
1464
1390
  emits: ["Clear", "Remove", "Reset"],
1465
1391
  setup(e, t) {
1466
- const n = m(!1), o = m(!1), a = m(!1), s = m(!1), f = Oe(e, t), {
1392
+ const n = f(!1), o = f(!1), a = f(!1), s = f(!1), p = Oe(e, t), {
1467
1393
  filterFields: g,
1468
1394
  filterItems: u,
1469
- loadFilterItems: r
1470
- } = f, v = B(() => ({
1395
+ loadFilterItems: i
1396
+ } = p, m = k(() => ({
1471
1397
  display: g.value && g.value.length ? "" : "none"
1472
- })), l = m(), d = de("design-item-context"), c = No(l, d);
1473
- K(() => {
1398
+ })), l = f(), v = de("design-item-context"), c = No(l, v);
1399
+ Q(() => {
1474
1400
  l.value.componentInstance = c;
1475
- }), t.expose(c.value), H([() => e.data, () => e.fields], ([F, x]) => {
1476
- r(x, F);
1401
+ }), t.expose(c.value), W([() => e.data, () => e.fields], ([F, x]) => {
1402
+ i(x, F);
1477
1403
  });
1478
- const p = B(() => o.value && n.value), y = B(() => ({
1404
+ const d = k(() => o.value && n.value), y = k(() => ({
1479
1405
  "f-filter-list": !0,
1480
- "f-filter-list-extend": p.value
1481
- })), h = B(() => u.value.length > 0), P = Re(e, t, f);
1406
+ "f-filter-list-extend": d.value
1407
+ })), h = k(() => u.value.length > 0), P = De(e, t, p);
1482
1408
  function I() {
1483
- return i("div", {
1409
+ return r("div", {
1484
1410
  class: y.value
1485
1411
  }, [u.value.map((F, x) => P(F, x))]);
1486
1412
  }
1487
- const C = B(() => a.value && !o.value && s.value), T = De(), S = B(() => !o.value), w = je(e, t, f);
1488
- return () => i("div", {
1413
+ const w = k(() => a.value && !o.value && s.value), C = je(), T = k(() => !o.value), S = Re(e, t, p);
1414
+ return () => r("div", {
1489
1415
  ref: l,
1490
1416
  class: "f-filter-wrapper",
1491
- style: v.value
1492
- }, [i("div", {
1417
+ style: m.value
1418
+ }, [r("div", {
1493
1419
  class: "f-filter-wrapper-inner f-utils-fill"
1494
- }, [i("div", {
1420
+ }, [r("div", {
1495
1421
  class: "f-filter-main f-utils-fill"
1496
- }, [i("div", {
1422
+ }, [r("div", {
1497
1423
  class: "f-filter-list-wrapper"
1498
- }, [h.value && I(), C.value && T(), S.value && w()])])])]);
1424
+ }, [h.value && I(), w.value && C(), T.value && S()])])])]);
1499
1425
  }
1500
- }), Go = "https://json-schema.org/draft/2020-12/schema", Ho = "https://farris-design.gitee.io/query-solution-config.schema.json", Wo = "query-solution-config", _o = "A Farris Container Component", zo = {
1426
+ }), Go = "https://json-schema.org/draft/2020-12/schema", Wo = "https://farris-design.gitee.io/query-solution-config.schema.json", Ho = "query-solution-config", _o = "A Farris Container Component", Uo = {
1501
1427
  fields: {
1502
1428
  description: "The unique identifier for a query solution",
1503
1429
  type: "array"
1504
1430
  }
1505
- }, Uo = {
1431
+ }, zo = {
1506
1432
  $schema: Go,
1507
- $id: Ho,
1508
- title: Wo,
1433
+ $id: Wo,
1434
+ title: Ho,
1509
1435
  description: _o,
1510
- properties: zo
1511
- }, Qo = "query-solution-config", Ko = "A Farris Component", Xo = "object", Jo = {
1436
+ properties: Uo
1437
+ }, Xo = "query-solution-config", Qo = "A Farris Component", Ko = "object", Jo = {
1512
1438
  basic: {
1513
1439
  description: "Basic Infomation",
1514
1440
  title: "基本信息",
@@ -1593,9 +1519,9 @@ const qo = /* @__PURE__ */ z({
1593
1519
  properties: {}
1594
1520
  }
1595
1521
  }, ce = {
1596
- title: Qo,
1597
- description: Ko,
1598
- type: Xo,
1522
+ title: Xo,
1523
+ description: Qo,
1524
+ type: Ko,
1599
1525
  categories: Jo
1600
1526
  }, Zo = /* @__PURE__ */ new Map([
1601
1527
  ["appearance", ee]
@@ -1604,13 +1530,13 @@ const qo = /* @__PURE__ */ z({
1604
1530
  function Yo(e, t, n) {
1605
1531
  return t;
1606
1532
  }
1607
- const Le = {
1533
+ const Ae = {
1608
1534
  fields: { type: Array, default: [] },
1609
1535
  modelValue: { type: Array, default: [] },
1610
1536
  source: { type: String, default: "query-solution" }
1611
1537
  };
1612
- Z(Le, Uo, Zo, Yo, ce);
1613
- const ea = {
1538
+ Z(Ae, zo, Zo, Yo, ce);
1539
+ const el = {
1614
1540
  width: { type: String, default: "300px" },
1615
1541
  height: { type: Number, default: 10 },
1616
1542
  isWidePanel: { type: Boolean, default: !1 },
@@ -1638,7 +1564,7 @@ const ea = {
1638
1564
  schema: { type: Object, default: {} },
1639
1565
  /** 属性变更后事件 */
1640
1566
  propertyChanged: { type: Function }
1641
- }, ta = {
1567
+ }, tl = {
1642
1568
  /** 某一分类下的属性配置 */
1643
1569
  // as PropType<ElementPropertyConfig>
1644
1570
  category: { type: Object, default: {} },
@@ -1647,12 +1573,12 @@ const ea = {
1647
1573
  propertyData: { type: Object, default: {} },
1648
1574
  valueChanged: { type: Function },
1649
1575
  triggerRefreshPanel: { type: Function }
1650
- }, na = {
1576
+ }, nl = {
1651
1577
  elementConfig: { type: Object, default: {} },
1652
1578
  category: { type: Object, default: {} }
1653
- }, oa = /* @__PURE__ */ new Map([
1579
+ }, ol = /* @__PURE__ */ new Map([
1654
1580
  ["appearance", ee]
1655
- ]), aa = "https://json-schema.org/draft/2020-12/schema", la = "https://farris-design.gitee.io/form-group.schema.json", ia = "form-group", ra = "A Farris Input Component", sa = "object", ua = {
1581
+ ]), ll = "https://json-schema.org/draft/2020-12/schema", al = "https://farris-design.gitee.io/form-group.schema.json", rl = "form-group", il = "A Farris Input Component", sl = "object", ul = {
1656
1582
  id: {
1657
1583
  description: "The unique identifier for a form group",
1658
1584
  type: "string"
@@ -1693,18 +1619,18 @@ const ea = {
1693
1619
  description: "",
1694
1620
  type: "number"
1695
1621
  }
1696
- }, ca = [
1622
+ }, cl = [
1697
1623
  "id",
1698
1624
  "type"
1699
- ], da = {
1700
- $schema: aa,
1701
- $id: la,
1702
- title: ia,
1703
- description: ra,
1704
- type: sa,
1705
- properties: ua,
1706
- required: ca
1707
- }, Ae = {
1625
+ ], dl = {
1626
+ $schema: ll,
1627
+ $id: al,
1628
+ title: rl,
1629
+ description: il,
1630
+ type: sl,
1631
+ properties: ul,
1632
+ required: cl
1633
+ }, Le = {
1708
1634
  id: { type: String, default: "" },
1709
1635
  customClass: { type: String, default: "" },
1710
1636
  /** 筛选组件配置器,具体配置项可查看各组件文档 */
@@ -1719,42 +1645,42 @@ const ea = {
1719
1645
  type: { type: String, default: "input-group" }
1720
1646
  };
1721
1647
  Z(
1722
- Ae,
1723
- da,
1724
- oa,
1648
+ Le,
1649
+ dl,
1650
+ ol,
1725
1651
  void 0
1726
1652
  );
1727
- const pa = {
1653
+ const pl = {
1728
1654
  id: { type: String },
1729
1655
  required: { type: Boolean, default: !1 },
1730
1656
  text: { type: String, default: "" },
1731
1657
  title: { type: String }
1732
- }, fa = /* @__PURE__ */ z({
1658
+ }, fl = /* @__PURE__ */ U({
1733
1659
  name: "FDynamicFormLabel",
1734
- props: pa,
1660
+ props: pl,
1735
1661
  emits: [],
1736
1662
  setup(e, t) {
1737
- const n = m(e.title || e.text), o = m(e.required), a = m(e.text);
1738
- return H(() => e.text, () => {
1663
+ const n = f(e.title || e.text), o = f(e.required), a = f(e.text);
1664
+ return W(() => e.text, () => {
1739
1665
  a.value = e.text;
1740
- }), H(() => e.required, (s, f) => {
1741
- s !== f && (o.value = s);
1742
- }), () => i("label", {
1666
+ }), W(() => e.required, (s, p) => {
1667
+ s !== p && (o.value = s);
1668
+ }), () => r("label", {
1743
1669
  class: "col-form-label",
1744
1670
  title: n.value
1745
- }, [o.value && i("span", {
1671
+ }, [o.value && r("span", {
1746
1672
  class: "farris-label-info text-danger"
1747
- }, [Y("*")]), i("span", {
1673
+ }, [Y("*")]), r("span", {
1748
1674
  class: "farris-label-text"
1749
1675
  }, [a.value])]);
1750
1676
  }
1751
- }), ma = /* @__PURE__ */ new Map([
1677
+ }), ml = /* @__PURE__ */ new Map([
1752
1678
  ["appearance", ee]
1753
1679
  ]);
1754
- function va(e, t, n) {
1680
+ function vl(e, t, n) {
1755
1681
  return t;
1756
1682
  }
1757
- const ya = "https://json-schema.org/draft/2020-12/schema", ga = "https://farris-design.gitee.io/input-group.schema.json", ha = "input-group", ba = "A Farris Input Component", Ca = "object", Ta = {
1683
+ const yl = "https://json-schema.org/draft/2020-12/schema", gl = "https://farris-design.gitee.io/input-group.schema.json", hl = "input-group", bl = "A Farris Input Component", Cl = "object", wl = {
1758
1684
  id: {
1759
1685
  description: "The unique identifier for a Input Group",
1760
1686
  type: "string"
@@ -1956,17 +1882,17 @@ const ya = "https://json-schema.org/draft/2020-12/schema", ga = "https://farris-
1956
1882
  type: "string",
1957
1883
  default: ""
1958
1884
  }
1959
- }, Sa = [
1885
+ }, Tl = [
1960
1886
  "id",
1961
1887
  "type"
1962
- ], Fa = {
1963
- $schema: ya,
1964
- $id: ga,
1965
- title: ha,
1966
- description: ba,
1967
- type: Ca,
1968
- properties: Ta,
1969
- required: Sa
1888
+ ], Fl = {
1889
+ $schema: yl,
1890
+ $id: gl,
1891
+ title: hl,
1892
+ description: bl,
1893
+ type: Cl,
1894
+ properties: wl,
1895
+ required: Tl
1970
1896
  }, Ne = {
1971
1897
  /** 是否自动完成 */
1972
1898
  autocomplete: { Type: String, default: "off" },
@@ -2034,118 +1960,118 @@ const ya = "https://json-schema.org/draft/2020-12/schema", ga = "https://farris-
2034
1960
  */
2035
1961
  updateOn: { type: String, default: "blur" }
2036
1962
  };
2037
- Z(Ne, Fa, ma, va);
2038
- function wa(e, t, n, o) {
2039
- const a = m(e.disabled), s = m(!1), f = m("text"), g = m(e.showBorder), u = m(e.textAlign), r = m(e.updateOn), v = B(() => e.editable || !e.readonly), l = B(() => e.editable && !e.disabled && !e.readonly), d = B(() => !e.disabled && s.value), c = B(() => n.value === "" || n.value === null || n.value === void 0), p = B(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = B(() => e.readonly || !e.editable), h = B(() => e.enableTitle ? n.value : ""), P = B(() => ({
1963
+ Z(Ne, Fl, ml, vl);
1964
+ function Sl(e, t, n, o) {
1965
+ const a = f(e.disabled), s = f(!1), p = f("text"), g = f(e.showBorder), u = f(e.textAlign), i = f(e.updateOn), m = k(() => e.editable || !e.readonly), l = k(() => e.editable && !e.disabled && !e.readonly), v = k(() => !e.disabled && s.value), c = k(() => n.value === "" || n.value === null || n.value === void 0), d = k(() => (e.disabled || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), y = k(() => e.readonly || !e.editable), h = k(() => e.enableTitle ? n.value : ""), P = k(() => ({
2040
1966
  "form-control": !0,
2041
1967
  "f-utils-fill": !0,
2042
1968
  "text-left": u.value === "left",
2043
1969
  "text-center": u.value === "center",
2044
1970
  "text-right": u.value === "right"
2045
- })), I = B(() => {
2046
- const k = {
1971
+ })), I = k(() => {
1972
+ const B = {
2047
1973
  "f-cmp-inputgroup": !0,
2048
1974
  "input-group": !0,
2049
1975
  "f-state-disable": a.value,
2050
1976
  "f-state-editable": l.value,
2051
1977
  "f-state-readonly": y.value,
2052
- "f-state-focus": d.value
1978
+ "f-state-focus": v.value
2053
1979
  };
2054
- return (e.customClass || "").split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
2055
- }), C = B(() => g.value ? "" : "border-width : 0 ");
2056
- function T(k, q = !0) {
2057
- n.value = k, o.value !== k && (o.value = k), q && t.emit("change", k), t.emit("update:modelValue", k), t.emit("update:value", k);
1980
+ return (e.customClass || "").split(" ").reduce((_, G) => (_[G] = !0, _), B), B;
1981
+ }), w = k(() => g.value ? "" : "border-width : 0 ");
1982
+ function C(B, q = !0) {
1983
+ n.value = B, o.value !== B && (o.value = B), q && t.emit("change", B), t.emit("update:modelValue", B), t.emit("update:value", B);
2058
1984
  }
2059
- H(
1985
+ W(
2060
1986
  () => e.modelValue,
2061
- (k, q) => {
2062
- k !== q && (n.value = k, o.value = k);
1987
+ (B, q) => {
1988
+ B !== q && (n.value = B, o.value = B);
2063
1989
  }
2064
- ), H(() => e.disabled, (k, q) => {
2065
- k !== q && (a.value = k);
1990
+ ), W(() => e.disabled, (B, q) => {
1991
+ B !== q && (a.value = B);
2066
1992
  });
2067
- function S(k) {
2068
- return s.value = !1, t.emit("blur", k), k.stopPropagation(), !1;
1993
+ function T(B) {
1994
+ return s.value = !1, t.emit("blur", B), B.stopPropagation(), !1;
2069
1995
  }
2070
- function w(k) {
2071
- t.emit("click", k);
1996
+ function S(B) {
1997
+ t.emit("click", B);
2072
1998
  }
2073
- function F(k) {
2074
- e.disabled || (g.value && (s.value = !0), v.value && t.emit("focus", k));
1999
+ function F(B) {
2000
+ e.disabled || (g.value && (s.value = !0), m.value && t.emit("focus", B));
2075
2001
  }
2076
- function x(k) {
2077
- t.emit("input", k.target.value);
2078
- const q = k.target.value;
2079
- o.value = q, r.value === "input" && (t.emit("update:modelValue", q), t.emit("update:value", q));
2002
+ function x(B) {
2003
+ t.emit("input", B.target.value);
2004
+ const q = B.target.value;
2005
+ o.value = q, i.value === "input" && (t.emit("update:modelValue", q), t.emit("update:value", q));
2080
2006
  }
2081
- function b(k) {
2082
- t.emit("keydown", k);
2007
+ function b(B) {
2008
+ t.emit("keydown", B);
2083
2009
  }
2084
- function R(k) {
2085
- t.emit("keyup", k);
2010
+ function D(B) {
2011
+ t.emit("keyup", B);
2086
2012
  }
2087
- function M(k) {
2088
- k.target.tagName !== "INPUT" && k.preventDefault(), k.stopPropagation();
2013
+ function $(B) {
2014
+ B.target.tagName !== "INPUT" && B.preventDefault(), B.stopPropagation();
2089
2015
  }
2090
- function N(k) {
2091
- if (r.value === "blur") {
2092
- const q = k.target.value;
2093
- k.stopPropagation(), T(q);
2016
+ function N(B) {
2017
+ if (i.value === "blur") {
2018
+ const q = B.target.value;
2019
+ B.stopPropagation(), C(q);
2094
2020
  }
2095
2021
  }
2096
2022
  return {
2097
- changeTextBoxValue: T,
2023
+ changeTextBoxValue: C,
2098
2024
  disabled: a,
2099
2025
  displayText: o,
2100
2026
  editable: l,
2101
- hasFocused: d,
2027
+ hasFocused: v,
2102
2028
  inputGroupClass: I,
2103
- inputType: f,
2029
+ inputType: p,
2104
2030
  isEmpty: c,
2105
2031
  modelValue: n,
2106
2032
  readonly: y,
2107
- onBlur: S,
2108
- onClick: w,
2033
+ onBlur: T,
2034
+ onClick: S,
2109
2035
  onFocus: F,
2110
2036
  onInput: x,
2111
2037
  onKeydown: b,
2112
- onKeyup: R,
2113
- onMousedown: M,
2038
+ onKeyup: D,
2039
+ onMousedown: $,
2114
2040
  onTextBoxValueChange: N,
2115
- placeholder: p,
2041
+ placeholder: d,
2116
2042
  textBoxClass: P,
2117
2043
  textBoxTitle: h,
2118
- inputGroupStyle: C
2044
+ inputGroupStyle: w
2119
2045
  };
2120
2046
  }
2121
- function xa(e, t, n) {
2122
- const o = m(!1), a = B(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: f, hasFocused: g, isEmpty: u } = n;
2123
- function r(y) {
2047
+ function xl(e, t, n) {
2048
+ const o = f(!1), a = k(() => e.enableClear && !e.readonly && !e.disabled), { changeTextBoxValue: s, displayText: p, hasFocused: g, isEmpty: u } = n;
2049
+ function i(y) {
2124
2050
  o.value = y;
2125
2051
  }
2126
- H(f, () => {
2127
- g != null && g.value ? r(!!(f != null && f.value)) : r(!1);
2052
+ W(p, () => {
2053
+ g != null && g.value ? i(!!(p != null && p.value)) : i(!1);
2128
2054
  });
2129
- const v = B(() => ({
2055
+ const m = k(() => ({
2130
2056
  "input-group-text": !0,
2131
2057
  "input-group-clear": !0
2132
- })), l = B(() => ({
2058
+ })), l = k(() => ({
2133
2059
  width: "24px",
2134
2060
  display: o.value ? "flex" : "none"
2135
2061
  }));
2136
- function d(y) {
2137
- y.stopPropagation(), a.value && (s("", !0), r(!o.value), t.emit("clear"));
2062
+ function v(y) {
2063
+ y.stopPropagation(), a.value && (s("", !0), i(!o.value), t.emit("clear"));
2138
2064
  }
2139
2065
  function c(y) {
2140
- a.value && !u.value && r(!0);
2066
+ a.value && !u.value && i(!0);
2141
2067
  }
2142
- function p(y) {
2143
- a.value && r(!1);
2068
+ function d(y) {
2069
+ a.value && i(!1);
2144
2070
  }
2145
- return { clearButtonClass: v, clearButtonStyle: l, hasShownClearButton: o, onClearValue: d, onMouseEnter: c, onMouseLeave: p, shouldShowClearButton: a };
2071
+ return { clearButtonClass: m, clearButtonStyle: l, hasShownClearButton: o, onClearValue: v, onMouseEnter: c, onMouseLeave: d, shouldShowClearButton: a };
2146
2072
  }
2147
- const Ba = ["moz", "ms", "webkit"];
2148
- function ka() {
2073
+ const kl = ["moz", "ms", "webkit"];
2074
+ function Bl() {
2149
2075
  let e = 0;
2150
2076
  return (t) => {
2151
2077
  const n = (/* @__PURE__ */ new Date()).getTime(), o = Math.max(0, 16 - (n - e)), a = setTimeout(() => {
@@ -2154,219 +2080,219 @@ function ka() {
2154
2080
  return e = n + o, a;
2155
2081
  };
2156
2082
  }
2157
- function Pa() {
2083
+ function Pl() {
2158
2084
  if (typeof window > "u")
2159
2085
  return () => 0;
2160
2086
  if (window.requestAnimationFrame)
2161
2087
  return window.requestAnimationFrame.bind(window);
2162
- const e = Ba.filter((t) => `${t}RequestAnimationFrame` in window)[0];
2163
- return e ? window[`${e}RequestAnimationFrame`] : ka();
2088
+ const e = kl.filter((t) => `${t}RequestAnimationFrame` in window)[0];
2089
+ return e ? window[`${e}RequestAnimationFrame`] : Bl();
2164
2090
  }
2165
- Pa();
2166
- function Ia(e, t) {
2167
- const n = m(e.groupText), o = B(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = B(() => e.enableClear || !!e.groupText);
2168
- return { appendedButtonClass: B(() => ({
2091
+ Pl();
2092
+ function Il(e, t) {
2093
+ const n = f(e.groupText), o = k(() => e.showButtonWhenDisabled && (e.readonly || e.disabled)), a = k(() => e.enableClear || !!e.groupText);
2094
+ return { appendedButtonClass: k(() => ({
2169
2095
  "input-group-append": !0,
2170
2096
  "append-force-show": o.value
2171
2097
  })), appendedContent: n, shouldShowAppendedButton: a };
2172
2098
  }
2173
- function Va(e, t, n, o) {
2174
- const { appendedContent: a } = o, s = m(e.enableViewPassword), f = B(() => e.type === "password"), g = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', r = m(!1);
2175
- H(() => [e.readonly, e.disabled], ([d, c]) => {
2176
- f.value && (n.value = d || c ? "password" : n.value, a.value = d || c ? u : a.value);
2099
+ function Vl(e, t, n, o) {
2100
+ const { appendedContent: a } = o, s = f(e.enableViewPassword), p = k(() => e.type === "password"), g = '<span class="f-icon f-icon-eye" style="color: rgb(56, 143, 255);"></span>', u = '<span class="f-icon f-icon-eye"></span>', i = f(!1);
2101
+ W(() => [e.readonly, e.disabled], ([v, c]) => {
2102
+ p.value && (n.value = v || c ? "password" : n.value, a.value = v || c ? u : a.value);
2177
2103
  });
2178
- function v() {
2179
- return r.value = !r.value, n.value = r.value ? "text" : "password", a.value = r.value ? g : u, !1;
2104
+ function m() {
2105
+ return i.value = !i.value, n.value = i.value ? "text" : "password", a.value = i.value ? g : u, !1;
2180
2106
  }
2181
2107
  function l() {
2182
- n.value = f.value ? "password" : "text", a.value = f.value ? s.value ? u : "" : a.value;
2108
+ n.value = p.value ? "password" : "text", a.value = p.value ? s.value ? u : "" : a.value;
2183
2109
  }
2184
- return l(), { isPassword: f, onClickAppendedButton: v };
2110
+ return l(), { isPassword: p, onClickAppendedButton: m };
2185
2111
  }
2186
- function Ma(e, t, n) {
2187
- const o = m(), {
2112
+ function $l(e, t, n) {
2113
+ const o = f(), {
2188
2114
  onBlurTextBox: a,
2189
2115
  onFocusTextBox: s,
2190
- onInput: f,
2116
+ onInput: p,
2191
2117
  onKeyDown: g,
2192
2118
  textBoxValue: u
2193
- } = n, r = B(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), v = B(() => ({
2119
+ } = n, i = k(() => e.disabled || e.readonly || !e.editable ? "" : e.placeholder), m = k(() => ({
2194
2120
  "form-control": !0,
2195
2121
  "f-utils-fill": !0
2196
- })), l = B(() => ({
2122
+ })), l = k(() => ({
2197
2123
  "text-align": e.textAlign
2198
2124
  }));
2199
- function d(y) {
2125
+ function v(y) {
2200
2126
  y.stopPropagation();
2201
2127
  }
2202
2128
  function c() {
2203
2129
  e.selectOnCreated, e.focusOnCreated;
2204
2130
  }
2205
- async function p(y) {
2131
+ async function d(y) {
2206
2132
  s(y), await oe, c();
2207
2133
  }
2208
- return K(async () => {
2134
+ return Q(async () => {
2209
2135
  await oe, c();
2210
- }), () => i("input", {
2136
+ }), () => r("input", {
2211
2137
  ref: o,
2212
- class: v.value,
2138
+ class: m.value,
2213
2139
  style: l.value,
2214
2140
  type: "text",
2215
2141
  value: u.value,
2216
2142
  disabled: e.disabled,
2217
2143
  readonly: e.readonly || !e.editable,
2218
- placeholder: r.value,
2144
+ placeholder: i.value,
2219
2145
  onBlur: a,
2220
- onChange: d,
2221
- onFocus: p,
2222
- onInput: f,
2146
+ onChange: v,
2147
+ onFocus: d,
2148
+ onInput: p,
2223
2149
  onKeydown: g
2224
2150
  }, null);
2225
2151
  }
2226
- function Ea(e, t, n) {
2152
+ function Ml(e, t, n) {
2227
2153
  const {
2228
2154
  canDownward: o,
2229
2155
  canUpward: a,
2230
2156
  onClickDownButton: s,
2231
- onClickUpButton: f
2232
- } = n, g = B(() => ({
2157
+ onClickUpButton: p
2158
+ } = n, g = k(() => ({
2233
2159
  "input-group-append": !0,
2234
2160
  "btn-group": !0,
2235
2161
  "btn-group-number": !0
2236
- })), u = B(() => ({
2162
+ })), u = k(() => ({
2237
2163
  btn: !0,
2238
2164
  "btn-secondary": !0,
2239
2165
  "btn-number-flag": !0
2240
- })), r = B(() => ({
2166
+ })), i = k(() => ({
2241
2167
  cursor: a() ? "pointer" : "not-allowed",
2242
2168
  "margin-left": 0
2243
- })), v = B(() => ({
2169
+ })), m = k(() => ({
2244
2170
  cursor: o() ? "pointer" : "not-allowed",
2245
2171
  "margin-left": 0
2246
2172
  }));
2247
- return () => i("div", {
2173
+ return () => r("div", {
2248
2174
  class: g.value
2249
- }, [i("button", {
2175
+ }, [r("button", {
2250
2176
  title: "upButton",
2251
2177
  class: u.value,
2252
- style: r.value,
2253
- onClick: f,
2178
+ style: i.value,
2179
+ onClick: p,
2254
2180
  disabled: !a()
2255
- }, [i("span", {
2181
+ }, [r("span", {
2256
2182
  class: "f-icon f-icon-arrow-chevron-up number-arrow-chevron"
2257
- }, null)]), i("button", {
2183
+ }, null)]), r("button", {
2258
2184
  title: "downButton",
2259
2185
  class: u.value,
2260
- style: v.value,
2186
+ style: m.value,
2261
2187
  onClick: s,
2262
2188
  disabled: !o()
2263
- }, [i("span", {
2189
+ }, [r("span", {
2264
2190
  class: "f-icon f-icon-arrow-chevron-down number-arrow-chevron"
2265
2191
  }, null)])]);
2266
2192
  }
2267
- function $a(e, t) {
2268
- const n = bt(e, t), o = Ct(e, t, n), a = Tt(e, t, o, n), s = St(e, t, o, n, a), f = Ea(e, t, a), {
2193
+ function El(e, t) {
2194
+ const n = ht(e, t), o = bt(e, t, n), a = Ct(e, t, o, n), s = wt(e, t, o, n, a), p = Ml(e, t, a), {
2269
2195
  displayValue: g,
2270
2196
  modelValue: u,
2271
- getRealValue: r
2272
- } = n, v = Ma(e, t, s), {
2197
+ getRealValue: i
2198
+ } = n, m = $l(e, t, s), {
2273
2199
  format: l
2274
2200
  } = o, {
2275
- isFocus: d
2276
- } = s, c = B(() => !e.disabled && !e.readonly);
2277
- return K(() => {
2278
- const p = r(e.modelValue);
2279
- g.value = l(p);
2280
- }), H(() => [e.value], ([p]) => {
2281
- const y = r(p);
2201
+ isFocus: v
2202
+ } = s, c = k(() => !e.disabled && !e.readonly);
2203
+ return Q(() => {
2204
+ const d = i(e.modelValue);
2205
+ g.value = l(d);
2206
+ }), W(() => [e.value], ([d]) => {
2207
+ const y = i(d);
2282
2208
  u.value = y, g.value = l(y);
2283
- }), H(() => [e.modelValue], ([p]) => {
2284
- p !== u.value && (u.value = p, !d.value && (g.value = l(r(p))));
2285
- }), H(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2209
+ }), W(() => [e.modelValue], ([d]) => {
2210
+ d !== u.value && (u.value = d, !v.value && (g.value = l(i(d))));
2211
+ }), W(() => [e.precision, e.useThousands, e.prefix, e.suffix, e.showZero], () => {
2286
2212
  g.value = l(u.value);
2287
- }), () => i("div", {
2213
+ }), () => r("div", {
2288
2214
  class: "input-group f-state-hover flex-row f-cmp-number-spinner"
2289
- }, [v(), c.value && f()]);
2215
+ }, [m(), c.value && p()]);
2290
2216
  }
2291
- function Oa(e, t, n, o) {
2292
- const a = m(), s = m(e.autocomplete), f = m(e.enableTitle), {
2217
+ function Ol(e, t, n, o) {
2218
+ const a = f(), s = f(e.autocomplete), p = f(e.enableTitle), {
2293
2219
  isPassword: g
2294
- } = n, u = m(e.minLength), r = m(e.maxLength), v = m(e.tabIndex), {
2220
+ } = n, u = f(e.minLength), i = f(e.maxLength), m = f(e.tabIndex), {
2295
2221
  disabled: l,
2296
- displayText: d,
2222
+ displayText: v,
2297
2223
  inputType: c,
2298
- onBlur: p,
2224
+ onBlur: d,
2299
2225
  onFocus: y,
2300
2226
  onInput: h,
2301
2227
  onClick: P,
2302
2228
  onKeydown: I,
2303
- onKeyup: C,
2304
- onMousedown: T,
2305
- onTextBoxValueChange: S,
2306
- readonly: w,
2229
+ onKeyup: w,
2230
+ onMousedown: C,
2231
+ onTextBoxValueChange: T,
2232
+ readonly: S,
2307
2233
  placeholder: F,
2308
2234
  textBoxClass: x,
2309
2235
  textBoxTitle: b
2310
2236
  } = o;
2311
- return K(() => {
2237
+ return Q(() => {
2312
2238
  e.selectOnCreated, e.focusOnCreated;
2313
- }), () => i("input", {
2239
+ }), () => r("input", {
2314
2240
  ref: a,
2315
2241
  name: "input-group-value",
2316
2242
  autocomplete: s.value,
2317
2243
  class: x.value,
2318
2244
  disabled: l == null ? void 0 : l.value,
2319
- maxlength: r.value,
2245
+ maxlength: i.value,
2320
2246
  minlength: u.value,
2321
2247
  placeholder: F.value,
2322
- readonly: w == null ? void 0 : w.value,
2323
- tabindex: v.value,
2324
- title: f.value && !g.value ? b.value : "",
2248
+ readonly: S == null ? void 0 : S.value,
2249
+ tabindex: m.value,
2250
+ title: p.value && !g.value ? b.value : "",
2325
2251
  type: c.value,
2326
- value: d == null ? void 0 : d.value,
2327
- onBlur: p,
2252
+ value: v == null ? void 0 : v.value,
2253
+ onBlur: d,
2328
2254
  onClick: P,
2329
- onChange: S,
2255
+ onChange: T,
2330
2256
  onFocus: y,
2331
2257
  onInput: h,
2332
2258
  onKeydown: I,
2333
- onKeyup: C,
2334
- onMousedown: T
2259
+ onKeyup: w,
2260
+ onMousedown: C
2335
2261
  }, null);
2336
2262
  }
2337
- function Da(e, t) {
2338
- const n = B(() => e.useExtendInfo && !!e.extendInfo), o = st({
2263
+ function jl(e, t) {
2264
+ const n = k(() => e.useExtendInfo && !!e.extendInfo), o = st({
2339
2265
  content: e.extendInfo
2340
2266
  });
2341
2267
  function a() {
2342
2268
  t.emit("updateExtendInfo");
2343
2269
  }
2344
- return () => n.value && pe(i("span", {
2270
+ return () => n.value && pe(r("span", {
2345
2271
  class: "input-group-before-tips",
2346
2272
  onMouseenter: a
2347
- }, [i("i", {
2273
+ }, [r("i", {
2348
2274
  class: "f-icon f-icon-info-circle"
2349
- }, null), i("b", {
2275
+ }, null), r("b", {
2350
2276
  class: "tips-arrow"
2351
2277
  }, null)]), [[ut("tooltip"), o]]);
2352
2278
  }
2353
- function Ra(e, t, n, o, a) {
2279
+ function Dl(e, t, n, o, a) {
2354
2280
  const {
2355
2281
  appendedButtonClass: s,
2356
- appendedContent: f
2357
- } = n, g = B(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = B(() => f.value && !t.slots.groupTextTemplate), r = B(() => !!t.slots.groupTextTemplate), {
2358
- clearButtonClass: v,
2282
+ appendedContent: p
2283
+ } = n, g = k(() => e.showButtonWhenDisabled && (!e.editable || !e.readonly) && !e.disabled), u = k(() => p.value && !t.slots.groupTextTemplate), i = k(() => !!t.slots.groupTextTemplate), {
2284
+ clearButtonClass: m,
2359
2285
  clearButtonStyle: l,
2360
- onClearValue: d,
2286
+ onClearValue: v,
2361
2287
  shouldShowClearButton: c
2362
2288
  } = o;
2363
- function p() {
2364
- return i("span", {
2289
+ function d() {
2290
+ return r("span", {
2365
2291
  id: "clearIcon",
2366
- class: v.value,
2292
+ class: m.value,
2367
2293
  style: l.value,
2368
- onClick: (F) => d(F)
2369
- }, [i("i", {
2294
+ onClick: (F) => v(F)
2295
+ }, [r("i", {
2370
2296
  class: "f-icon modal_close"
2371
2297
  }, null)]);
2372
2298
  }
@@ -2382,70 +2308,70 @@ function Ra(e, t, n, o, a) {
2382
2308
  }), F.stopPropagation();
2383
2309
  }
2384
2310
  const I = e.type === "password" ? a.onClickAppendedButton : P;
2385
- function C() {
2386
- return i("span", {
2311
+ function w() {
2312
+ return r("span", {
2387
2313
  class: "input-group-text",
2388
2314
  onMouseenter: (F) => y(F),
2389
2315
  onMouseleave: (F) => h(F),
2390
- innerHTML: f.value,
2316
+ innerHTML: p.value,
2391
2317
  onClick: (F) => I(F)
2392
2318
  }, null);
2393
2319
  }
2394
- function T() {
2320
+ function C() {
2395
2321
  return t.slots.groupTextTemplate && t.slots.groupTextTemplate();
2396
2322
  }
2397
- function S() {
2398
- return u.value ? C : r.value ? T : "";
2323
+ function T() {
2324
+ return u.value ? w : i.value ? C : "";
2399
2325
  }
2400
- const w = S();
2401
- return () => i("div", {
2326
+ const S = T();
2327
+ return () => r("div", {
2402
2328
  class: s.value
2403
- }, [c.value && p(), w && w()]);
2329
+ }, [c.value && d(), S && S()]);
2404
2330
  }
2405
- const ja = /* @__PURE__ */ z({
2331
+ const Rl = /* @__PURE__ */ U({
2406
2332
  name: "FInputGroup",
2407
2333
  props: Ne,
2408
2334
  emits: ["clear", "change", "blur", "click", "clickHandle", "focus", "input", "keydown", "keyup", "iconMouseEnter", "iconMouseLeave", "update:modelValue", "update:value", "updateExtendInfo", "valueChange"],
2409
2335
  setup(e, t) {
2410
- const n = m(e.modelValue), o = m(e.modelValue), a = wa(e, t, n, o), {
2336
+ const n = f(e.modelValue), o = f(e.modelValue), a = Sl(e, t, n, o), {
2411
2337
  inputGroupClass: s,
2412
- inputType: f,
2338
+ inputType: p,
2413
2339
  inputGroupStyle: g
2414
- } = a, u = Ia(e), {
2415
- shouldShowAppendedButton: r
2416
- } = u, v = xa(e, t, a), {
2340
+ } = a, u = Il(e), {
2341
+ shouldShowAppendedButton: i
2342
+ } = u, m = xl(e, t, a), {
2417
2343
  onMouseEnter: l,
2418
- onMouseLeave: d
2419
- } = v, c = Va(e, t, f, u), p = $a(e, t), y = Oa(e, t, c, a), h = Ra(e, t, u, v, c), P = Da(e, t), I = B(() => e.type === "number");
2420
- H(() => [e.value], ([T]) => {
2421
- n.value = T, o.value = T;
2422
- }), H(() => [e.modelValue], ([T]) => {
2423
- n.value = T, o.value = T;
2424
- }), K(() => {
2344
+ onMouseLeave: v
2345
+ } = m, c = Vl(e, t, p, u), d = El(e, t), y = Ol(e, t, c, a), h = Dl(e, t, u, m, c), P = jl(e, t), I = k(() => e.type === "number");
2346
+ W(() => [e.value], ([C]) => {
2347
+ n.value = C, o.value = C;
2348
+ }), W(() => [e.modelValue], ([C]) => {
2349
+ n.value = C, o.value = C;
2350
+ }), Q(() => {
2425
2351
  e.value && (n.value = e.value, o.value = e.value);
2426
2352
  });
2427
- const C = () => i(J, null, [i("div", {
2353
+ const w = () => r(J, null, [r("div", {
2428
2354
  id: "inputGroup",
2429
2355
  class: s.value,
2430
2356
  style: g.value,
2431
2357
  onMouseenter: l,
2432
- onMouseleave: d
2433
- }, [I.value ? p() : i(J, null, [P(), y(), r.value && h()])])]);
2434
- return () => C();
2358
+ onMouseleave: v
2359
+ }, [I.value ? d() : r(J, null, [P(), y(), i.value && h()])])]);
2360
+ return () => w();
2435
2361
  }
2436
- }), E = {}, $ = {}, O = {}, D = {};
2362
+ }), M = {}, E = {}, O = {}, j = {};
2437
2363
  let Fe = !1;
2438
- function La() {
2439
- Fe || (Fe = !0, wt.register(E, $, O, D), Ft.register(E, $, O, D), xt.register(E, $, O, D), Bt.register(E, $, O, D), kt.register(E, $, O, D), Pt.register(E, $, O, D), It.register(E, $, O, D), Vt.register(E, $, O, D), Mt.register(E, $, O, D), Et.register(E, $, O, D), Ot.register(E, $, O, D), $t.register(E, $, O, D), Dt.register(E, $, O, D), Rt.register(E, $, O, D), jt.register(E, $, O, D), Lt.register(E, $, O, D), At.register(E, $, O, D), Nt.register(E, $, O, D), qt.register(E, $, O, D), Gt.register(E, $, O, D), Ht.register(E, $, O, D), Wt.register(E, $, O, D), zt.register(E, $, O, D), _t.register(E, $, O, D), Ut.register(E, $, O, D), Qt.register(E, $, O, D), Kt.register(E, $, O, D), Xt.register(E, $, O, D), ht.register(E, $, O, D), Jt.register(E, $, O, D), Zt.register(E, $, O, D), Yt.register(E, $, O, D), en.register(E, $, O, D), tn.register(E, $, O, D), nn.register(E, $, O, D), on.register(E, $, O, D), an.register(E, $, O, D), rn.register(E, $, O, D), sn.register(E, $, O, D), ln.register(E, $, O, D), xn.register(E, $, O), un.register(E, $, O, D), cn.register(E, $, O, D), dn.register(E, $, O, D), pn.register(E, $, O, D), fn.register(E, $, O, D), mn.register(E, $, O, D), vn.register(E, $, O, D), Ie.register(E, $, O, D), yn.register(E, $, O, D), gn.register(E, $, O, D), hn.register(E, $, O, D), bn.register(E, $, O, D), Tn.register(E, $, O, D), Cn.register(E, $, O, D), Sn.register(E, $, O, D), Fn.register(E, $, O, D), wn.register(E, $, O, D));
2364
+ function Al() {
2365
+ Fe || (Fe = !0, Ft.register(M, E, O, j), Tt.register(M, E, O, j), St.register(M, E, O, j), xt.register(M, E, O, j), kt.register(M, E, O, j), Bt.register(M, E, O, j), Pt.register(M, E, O, j), It.register(M, E, O, j), Vt.register(M, E, O, j), $t.register(M, E, O, j), Et.register(M, E, O, j), Mt.register(M, E, O, j), Ot.register(M, E, O, j), jt.register(M, E, O, j), Dt.register(M, E, O, j), Rt.register(M, E, O, j), At.register(M, E, O, j), Lt.register(M, E, O, j), Nt.register(M, E, O, j), qt.register(M, E, O, j), Gt.register(M, E, O, j), Wt.register(M, E, O, j), _t.register(M, E, O, j), Ht.register(M, E, O, j), Ut.register(M, E, O, j), zt.register(M, E, O, j), Xt.register(M, E, O, j), Qt.register(M, E, O, j), gt.register(M, E, O, j), Kt.register(M, E, O, j), Jt.register(M, E, O, j), Zt.register(M, E, O, j), Yt.register(M, E, O, j), en.register(M, E, O, j), tn.register(M, E, O, j), nn.register(M, E, O, j), on.register(M, E, O, j), an.register(M, E, O, j), rn.register(M, E, O, j), ln.register(M, E, O, j), Sn.register(M, E, O), sn.register(M, E, O, j), un.register(M, E, O, j), cn.register(M, E, O, j), dn.register(M, E, O, j), pn.register(M, E, O, j), fn.register(M, E, O, j), mn.register(M, E, O, j), Ie.register(M, E, O, j), vn.register(M, E, O, j), yn.register(M, E, O, j), gn.register(M, E, O, j), hn.register(M, E, O, j), Cn.register(M, E, O, j), bn.register(M, E, O, j), wn.register(M, E, O, j), Tn.register(M, E, O, j), Fn.register(M, E, O, j), xn.register(M, E, O, j));
2440
2366
  }
2441
- function Aa() {
2442
- La();
2367
+ function Ll() {
2368
+ Al();
2443
2369
  function e(a, s) {
2444
- const f = $[a];
2445
- return f ? f(s) : {};
2370
+ const p = E[a];
2371
+ return p ? p(s) : {};
2446
2372
  }
2447
2373
  function t(a) {
2448
- return E[a] || ja;
2374
+ return M[a] || Rl;
2449
2375
  }
2450
2376
  function n(a) {
2451
2377
  switch (a) {
@@ -2500,121 +2426,124 @@ function Aa() {
2500
2426
  return "onSchemaSelected";
2501
2427
  case "mapping-editor":
2502
2428
  return "onMappingFieldsChanged";
2429
+ case "textarea":
2430
+ return "onValueChange";
2503
2431
  }
2504
2432
  }
2505
2433
  function o(a) {
2506
2434
  switch (a) {
2507
2435
  case "combo-list":
2508
2436
  case "input-group":
2437
+ case "textarea":
2509
2438
  return "onClear";
2510
2439
  }
2511
2440
  }
2512
2441
  return { resolveEditorProps: e, resolveEditorType: t, getChangeFunctionName: n, getClearFunctionName: o };
2513
2442
  }
2514
- const Na = /* @__PURE__ */ z({
2443
+ const Nl = /* @__PURE__ */ U({
2515
2444
  name: "FDynamicFormGroup",
2516
- props: Ae,
2445
+ props: Le,
2517
2446
  emits: ["change", "update:modelValue"],
2518
2447
  setup(e, t) {
2519
- const n = m(e.id), o = m(e.customClass), a = m(e.editor), s = m(e.label), f = m(e.modelValue), g = m(e.readonly), u = m(e.required), r = m(e.showLabel), v = m(e.visible);
2520
- m(e.type);
2521
- const l = m(), {
2522
- resolveEditorProps: d,
2448
+ const n = f(e.id), o = f(e.customClass), a = f(e.editor), s = f(e.label), p = f(e.modelValue), g = f(e.readonly), u = f(e.required), i = f(e.showLabel), m = f(e.visible);
2449
+ f(e.type);
2450
+ const l = f(), {
2451
+ resolveEditorProps: v,
2523
2452
  resolveEditorType: c,
2524
- getChangeFunctionName: p,
2453
+ getChangeFunctionName: d,
2525
2454
  getClearFunctionName: y
2526
- } = Aa(), h = B(() => ({
2455
+ } = Ll(), h = k(() => ({
2527
2456
  "form-group": !0,
2528
2457
  "farris-form-group": !0,
2529
2458
  "common-group": !0,
2530
2459
  "q-state-readonly": g.value
2531
2460
  }));
2532
- function P(T, S) {
2533
- f.value = S !== void 0 ? S : T, t.emit("update:modelValue", f.value), t.emit("change", f.value);
2461
+ function P(C, T) {
2462
+ p.value = T !== void 0 ? T : C, t.emit("update:modelValue", p.value), t.emit("change", p.value);
2534
2463
  }
2535
2464
  function I() {
2536
2465
  t.emit("update:modelValue", "");
2537
2466
  }
2538
- const C = B(() => {
2539
- const T = a.value.type || "input-group", S = c(T), w = d(T, a.value), F = p(T), x = y(a.value.type);
2540
- return w[F] = P, w[x] = I, () => i(S, Pe({
2467
+ const w = k(() => {
2468
+ const C = a.value.type || "input-group", T = c(C), S = v(C, a.value), F = d(C), x = y(a.value.type);
2469
+ return S[F] = P, S[x] = I, () => r(T, Pe({
2541
2470
  ref: l
2542
- }, w, {
2543
- modelValue: f.value,
2544
- "onUpdate:modelValue": (b) => f.value = b
2471
+ }, S, {
2472
+ modelValue: p.value,
2473
+ "onUpdate:modelValue": (b) => p.value = b
2545
2474
  }), null);
2546
2475
  });
2547
- return H([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([T, S, w, F, x, b, R, M, N]) => {
2548
- n.value = T, o.value = S, a.value = w, s.value = F, f.value = x, g.value = b, u.value = R, r.value = M, v.value = N;
2476
+ return W([() => e.id, () => e.customClass, () => e.editor, () => e.label, () => e.modelValue, () => e.readonly, () => e.required, () => e.showLabel, () => e.visible], ([C, T, S, F, x, b, D, $, N]) => {
2477
+ n.value = C, o.value = T, a.value = S, s.value = F, p.value = x, g.value = b, u.value = D, i.value = $, m.value = N;
2549
2478
  }), t.expose({
2550
2479
  editorRef: l
2551
- }), () => v.value && i("div", {
2480
+ }), () => m.value && r("div", {
2552
2481
  id: `${n.value}-input-group`,
2553
2482
  class: o.value
2554
- }, [i("div", {
2483
+ }, [r("div", {
2555
2484
  class: "farris-group-wrap"
2556
- }, [i("div", {
2485
+ }, [r("div", {
2557
2486
  class: h.value
2558
- }, [r.value && i(fa, {
2487
+ }, [i.value && r(fl, {
2559
2488
  id: `${n.value}-lable`,
2560
2489
  required: u.value,
2561
2490
  text: s.value,
2562
2491
  title: s.value
2563
- }, null), i("div", {
2492
+ }, null), r("div", {
2564
2493
  class: "farris-input-wrap"
2565
- }, [C.value()])])])]);
2494
+ }, [w.value()])])])]);
2566
2495
  }
2567
- }), qa = /* @__PURE__ */ z({
2496
+ }), ql = /* @__PURE__ */ U({
2568
2497
  name: "FPropertyPanelItem",
2569
- props: na,
2498
+ props: nl,
2570
2499
  emits: ["propertyChange", "triggerRefreshPanel"],
2571
2500
  setup(e, t) {
2572
- var r;
2573
- const n = m((r = e.category) == null ? void 0 : r.categoryId), o = m(e.elementConfig.propertyID), a = m(e.elementConfig.propertyName), s = m(e.elementConfig.editor), f = m(e.elementConfig.propertyValue), g = B(() => {
2574
- const v = e.elementConfig.visible;
2501
+ var i;
2502
+ const n = f((i = e.category) == null ? void 0 : i.categoryId), o = f(e.elementConfig.propertyID), a = f(e.elementConfig.propertyName), s = f(e.elementConfig.editor), p = f(e.elementConfig.propertyValue), g = k(() => {
2503
+ const m = e.elementConfig.visible;
2575
2504
  return {
2576
2505
  "farris-group-wrap": !0,
2577
2506
  "property-item": !0,
2578
- "d-none": !(typeof v == "boolean" ? v : v == null ? !0 : v())
2507
+ "d-none": !(typeof m == "boolean" ? m : m == null ? !0 : m())
2579
2508
  };
2580
2509
  });
2581
- H(() => {
2582
- var v;
2583
- return (v = e.elementConfig) == null ? void 0 : v.propertyValue;
2584
- }, (v) => {
2585
- f.value = v;
2510
+ W(() => {
2511
+ var m;
2512
+ return (m = e.elementConfig) == null ? void 0 : m.propertyValue;
2513
+ }, (m) => {
2514
+ p.value = m;
2586
2515
  });
2587
- function u(v) {
2588
- e.elementConfig.propertyValue = v;
2516
+ function u(m) {
2517
+ e.elementConfig.propertyValue = m;
2589
2518
  const l = {
2590
2519
  propertyID: e.elementConfig.propertyID,
2591
- propertyValue: v
2520
+ propertyValue: m
2592
2521
  };
2593
2522
  t.emit("propertyChange", l), e.elementConfig.refreshPanelAfterChanged && t.emit("triggerRefreshPanel");
2594
2523
  }
2595
- return () => i("div", {
2524
+ return () => r("div", {
2596
2525
  class: g.value
2597
- }, [i(Na, {
2526
+ }, [r(Nl, {
2598
2527
  id: o.value,
2599
2528
  customClass: `${n.value}-${o.value}`,
2600
2529
  label: a.value,
2601
2530
  editor: s.value,
2602
- modelValue: f.value,
2531
+ modelValue: p.value,
2603
2532
  onChange: u,
2604
2533
  editorParams: e.elementConfig.editorParams
2605
2534
  }, null)]);
2606
2535
  }
2607
- }), Ga = /* @__PURE__ */ z({
2536
+ }), Gl = /* @__PURE__ */ U({
2608
2537
  name: "FPropertyPanelItemList",
2609
- props: ta,
2538
+ props: tl,
2610
2539
  emits: ["valueChanged", "submitModal", "triggerRefreshPanel"],
2611
2540
  setup(e, t) {
2612
- const n = m(e.category);
2541
+ const n = f(e.category);
2613
2542
  function o(c) {
2614
2543
  if (!c.hideCascadeTitle)
2615
- return i("div", {
2544
+ return r("div", {
2616
2545
  class: "farris-input-wrap"
2617
- }, [i("input", {
2546
+ }, [r("input", {
2618
2547
  title: "summary",
2619
2548
  type: "input",
2620
2549
  class: "form-control form-control-sm",
@@ -2622,34 +2551,34 @@ const Na = /* @__PURE__ */ z({
2622
2551
  readonly: !0
2623
2552
  }, null)]);
2624
2553
  }
2625
- function a(c, p) {
2626
- p.isExpand = !p.isExpand;
2554
+ function a(c, d) {
2555
+ d.isExpand = !d.isExpand;
2627
2556
  }
2628
2557
  function s(c) {
2629
- return i("div", {
2558
+ return r("div", {
2630
2559
  class: "landscape"
2631
- }, [i("button", {
2560
+ }, [r("button", {
2632
2561
  title: "expand-button",
2633
2562
  class: ["btn f-btn-collapse-expand f-btn-mx px-1", {
2634
2563
  "f-state-expand": c.isExpand
2635
2564
  }],
2636
- onClick: (p) => a(p, c)
2637
- }, [i("span", null, null)])]);
2565
+ onClick: (d) => a(d, c)
2566
+ }, [r("span", null, null)])]);
2638
2567
  }
2639
- function f(c) {
2640
- return i("div", {
2568
+ function p(c) {
2569
+ return r("div", {
2641
2570
  class: "f-section-formgroup-legend"
2642
- }, [i("div", {
2571
+ }, [r("div", {
2643
2572
  class: "f-header px-0 my-0 col-form-label",
2644
2573
  style: "font-size: inherit;"
2645
- }, [i("div", {
2574
+ }, [r("div", {
2646
2575
  class: "wrap"
2647
- }, [i("span", {
2576
+ }, [r("span", {
2648
2577
  class: ["f-icon mr-1", {
2649
2578
  "f-icon-arrow-60-right": !c.isExpand,
2650
2579
  "f-icon-arrow-60-down": c.isExpand
2651
2580
  }]
2652
- }, null), i("span", {
2581
+ }, null), r("span", {
2653
2582
  class: "farris-label-text"
2654
2583
  }, [c.propertyName])])])]);
2655
2584
  }
@@ -2661,296 +2590,295 @@ const Na = /* @__PURE__ */ z({
2661
2590
  changeObject: c
2662
2591
  });
2663
2592
  }
2664
- function r() {
2593
+ function i() {
2665
2594
  t.emit("triggerRefreshPanel");
2666
2595
  }
2667
- function v(c) {
2668
- return i("div", {
2596
+ function m(c) {
2597
+ return r("div", {
2669
2598
  class: "px-2 mb-2"
2670
- }, [i(qa, {
2599
+ }, [r(ql, {
2671
2600
  key: g(c),
2672
2601
  elementConfig: c,
2673
2602
  category: n.value,
2674
2603
  onPropertyChange: u,
2675
- onTriggerRefreshPanel: r
2604
+ onTriggerRefreshPanel: i
2676
2605
  }, null)]);
2677
2606
  }
2678
2607
  function l(c) {
2679
- var p;
2680
- return i("div", {
2608
+ var d;
2609
+ return r("div", {
2681
2610
  class: "propertyCascadeItem farris-panel px-2 mb-2"
2682
- }, [i("div", {
2611
+ }, [r("div", {
2683
2612
  class: ["farris-panel-item card", {
2684
2613
  hidden: !c.isExpand
2685
2614
  }]
2686
- }, [i("div", {
2615
+ }, [r("div", {
2687
2616
  class: "card-header",
2688
2617
  onClick: (y) => a(y, c)
2689
- }, [i("div", {
2618
+ }, [r("div", {
2690
2619
  class: "panel-item-title"
2691
- }, [i("div", {
2620
+ }, [r("div", {
2692
2621
  class: "form-group farris-form-group line-item"
2693
- }, [f(c), o(c), s(c)])])]), i("div", {
2622
+ }, [p(c), o(c), s(c)])])]), r("div", {
2694
2623
  class: ["card-body", {
2695
2624
  hidden: !c.isExpand
2696
2625
  }]
2697
- }, [(p = c.cascadeConfig) == null ? void 0 : p.map((y) => v(y))])])]);
2626
+ }, [(d = c.cascadeConfig) == null ? void 0 : d.map((y) => m(y))])])]);
2698
2627
  }
2699
- H(() => e.category, () => {
2628
+ W(() => e.category, () => {
2700
2629
  n.value = e.category;
2701
2630
  });
2702
- function d(c) {
2703
- return c.propertyType === "cascade" ? l : v;
2631
+ function v(c) {
2632
+ return c.propertyType === "cascade" ? l : m;
2704
2633
  }
2705
- return () => i(J, null, [n.value.properties.map((c) => d(c)(c))]);
2634
+ return () => r(J, null, [n.value.properties.map((c) => v(c)(c))]);
2706
2635
  }
2707
- }), Ha = /* @__PURE__ */ z({
2636
+ }), Wl = /* @__PURE__ */ U({
2708
2637
  name: "FPropertyPanel",
2709
- props: ea,
2638
+ props: el,
2710
2639
  emits: ["propertyChanged"],
2711
2640
  setup(e, t) {
2712
- const n = m(e.width), o = m(e.isWidePanel), a = m(e.enableSearch), s = m(e.mode), f = m(e.isPersitOpenState), g = m(e.isShowPanel), u = m(), r = m(), v = m(e.showCloseBtn), l = m(e.selectedTabId), d = m(!0), c = m(e.isWhiteTheme);
2713
- let p = [], y = [];
2714
- const h = m(""), P = m(), I = m(), C = de("SchemaService");
2715
- let T = [], S = null, w = "";
2716
- const F = m(), {
2717
- proxy: x
2718
- } = ct();
2641
+ const n = f(e.width), o = f(e.isWidePanel), a = f(e.enableSearch), s = f(e.mode), p = f(e.isPersitOpenState), g = f(e.isShowPanel), u = f(), i = f(), m = f(e.showCloseBtn), l = f(e.selectedTabId), v = f(!0), c = f(e.isWhiteTheme);
2642
+ let d = [], y = [];
2643
+ const h = f(""), P = f(), I = f(), w = de("SchemaService");
2644
+ let C = [], T = null, S = "";
2645
+ const F = f(), x = f(0);
2719
2646
  function b() {
2720
- y = [], F.value && F.value.categoryList && Array.isArray(F.value.categoryList) && F.value.categoryList.length > 0 && F.value.categoryList.forEach((j) => {
2721
- if (j.properties.forEach((L) => L.categoryId = j.categoryId), j.properties && Array.isArray(j.properties) && j.properties.length > 0) {
2722
- const L = j.properties.map((W) => (W.category = j, W));
2723
- y = y.concat(L);
2647
+ y = [], F.value && F.value.categoryList && Array.isArray(F.value.categoryList) && F.value.categoryList.length > 0 && F.value.categoryList.forEach((A) => {
2648
+ if (A.properties.forEach((R) => R.categoryId = A.categoryId), A.properties && Array.isArray(A.properties) && A.properties.length > 0) {
2649
+ const R = A.properties.map((H) => (H.category = A, H));
2650
+ y = y.concat(R);
2724
2651
  }
2725
2652
  });
2726
2653
  }
2727
- function R(A) {
2728
- let j = A.offsetTop, L = A.offsetParent;
2729
- for (; L !== null; )
2730
- j += L.offsetTop, L = L.offsetParent;
2731
- return j;
2654
+ function D(L) {
2655
+ let A = L.offsetTop, R = L.offsetParent;
2656
+ for (; R !== null; )
2657
+ A += R.offsetTop, R = R.offsetParent;
2658
+ return A;
2732
2659
  }
2733
- function M(A, j) {
2734
- A && j && Object.keys(j).length > 0 && Object.keys(j).forEach((L) => {
2735
- var X;
2736
- const W = j[L];
2737
- (X = A.style) == null || X.setProperty(L, W);
2660
+ function $(L, A) {
2661
+ L && A && Object.keys(A).length > 0 && Object.keys(A).forEach((R) => {
2662
+ var K;
2663
+ const H = A[R];
2664
+ (K = L.style) == null || K.setProperty(R, H);
2738
2665
  });
2739
2666
  }
2740
2667
  function N() {
2741
- return y.filter((j) => j.visible ? !!(j.propertyID && j.propertyID.startsWith(h.value) || j.propertyName && (j.propertyName.startsWith(h.value) || j.propertyName.includes(h.value))) : !1);
2668
+ return y.filter((A) => A.visible ? !!(A.propertyID && A.propertyID.startsWith(h.value) || A.propertyName && (A.propertyName.startsWith(h.value) || A.propertyName.includes(h.value))) : !1);
2742
2669
  }
2743
- function k(A, j, L) {
2744
- if (A === 0) {
2745
- const W = R(j), le = R(L) - W - 5;
2746
- j == null || j.scroll({
2747
- top: le,
2670
+ function B(L, A, R) {
2671
+ if (L === 0) {
2672
+ const H = D(A), ae = D(R) - H - 5;
2673
+ A == null || A.scroll({
2674
+ top: ae,
2748
2675
  behavior: "smooth"
2749
2676
  });
2750
2677
  }
2751
2678
  }
2752
- function q(A) {
2753
- T && T.length > 0 && (T.forEach((L) => {
2754
- L.style.cssText = "";
2755
- }), T = []), h.value = A || h.value;
2756
- const j = document.querySelector(".panel-body");
2679
+ function q(L) {
2680
+ C && C.length > 0 && (C.forEach((R) => {
2681
+ R.style.cssText = "";
2682
+ }), C = []), h.value = L || h.value;
2683
+ const A = document.querySelector(".panel-body");
2757
2684
  if (!h.value)
2758
- P.value && j && (j.scrollTop = 0);
2685
+ P.value && A && (A.scrollTop = 0);
2759
2686
  else if (b(), y && y.length > 0) {
2760
- const L = N();
2761
- L && L.length > 0 && (L[0].category.status === "closed" && (L[0].category.status = "open"), setTimeout(() => {
2762
- L.forEach((W, X) => {
2763
- const le = W.propertyType === "cascade" ? `.${W.categoryId}-${W.propertyID} div.col-form-label` : `.property-item .${W.categoryId}-${W.propertyID} label.col-form-label`, ne = document.querySelector(le);
2764
- ne && (k(X, j, ne), M(ne, {
2687
+ const R = N();
2688
+ R && R.length > 0 && (R[0].category.status === "closed" && (R[0].category.status = "open"), setTimeout(() => {
2689
+ R.forEach((H, K) => {
2690
+ const ae = H.propertyType === "cascade" ? `.${H.categoryId}-${H.propertyID} div.col-form-label` : `.property-item .${H.categoryId}-${H.propertyID} label.col-form-label`, ne = document.querySelector(ae);
2691
+ ne && (B(K, A, ne), $(ne, {
2765
2692
  color: "#5B89FE"
2766
- }), T.push(ne));
2693
+ }), C.push(ne));
2767
2694
  });
2768
2695
  }, 50));
2769
2696
  }
2770
2697
  }
2771
- function _(A) {
2772
- q(A);
2698
+ function _(L) {
2699
+ q(L);
2773
2700
  }
2774
- function G(A) {
2701
+ function G(L) {
2775
2702
  const {
2776
- value: j
2777
- } = A.target;
2778
- A.key === "Enter" && _(j);
2703
+ value: A
2704
+ } = L.target;
2705
+ L.key === "Enter" && _(A);
2779
2706
  }
2780
- function U(A) {
2707
+ function z(L) {
2781
2708
  const {
2782
- value: j
2783
- } = A.target;
2784
- _(j);
2709
+ value: A
2710
+ } = L.target;
2711
+ _(A);
2785
2712
  }
2786
2713
  function _e() {
2787
- f.value || (d.value = !1), t.emit("closePropertyPanel");
2714
+ p.value || (v.value = !1), t.emit("closePropertyPanel");
2788
2715
  }
2789
- function ae(A) {
2716
+ function le(L) {
2790
2717
  h.value = "", q();
2791
2718
  }
2792
- function ze(A) {
2793
- !A.status || A.status === "open" ? A.status = "closed" : A.status = "open";
2719
+ function Ue(L) {
2720
+ !L.status || L.status === "open" ? L.status = "closed" : L.status = "open";
2794
2721
  }
2795
2722
  function te() {
2796
- var A, j;
2797
- if (p = [], !u.value || u.value.length === 0) {
2798
- p = [{
2723
+ var L, A;
2724
+ if (d = [], !u.value || u.value.length === 0) {
2725
+ d = [{
2799
2726
  tabId: "default",
2800
2727
  tabName: "属性",
2801
2728
  categoryList: []
2802
2729
  }], F.value = null;
2803
2730
  return;
2804
2731
  }
2805
- if ((A = u == null ? void 0 : u.value) == null || A.forEach((L) => {
2806
- if (L.tabId) {
2807
- const W = p.find((X) => X.tabId === L.tabId);
2808
- W ? (W.categoryList.push(L), W.hide && (W.hide = L.hide || L.properties.length === 0)) : p.push({
2809
- tabId: L.tabId,
2810
- tabName: L.tabName,
2811
- categoryList: [L],
2812
- hide: L.hide || L.properties.length === 0
2732
+ if ((L = u == null ? void 0 : u.value) == null || L.forEach((R) => {
2733
+ if (R.tabId) {
2734
+ const H = d.find((K) => K.tabId === R.tabId);
2735
+ H ? (H.categoryList.push(R), H.hide && (H.hide = R.hide || R.properties.length === 0)) : d.push({
2736
+ tabId: R.tabId,
2737
+ tabName: R.tabName,
2738
+ categoryList: [R],
2739
+ hide: R.hide || R.properties.length === 0
2813
2740
  });
2814
2741
  } else {
2815
- const W = p.find((X) => X.tabId === "default");
2816
- W ? W.categoryList.push(L) : p.push({
2742
+ const H = d.find((K) => K.tabId === "default");
2743
+ H ? H.categoryList.push(R) : d.push({
2817
2744
  tabId: "default",
2818
2745
  tabName: "属性",
2819
- categoryList: [L]
2746
+ categoryList: [R]
2820
2747
  });
2821
2748
  }
2822
2749
  }), l.value) {
2823
- let L = p == null ? void 0 : p.find((W) => W.tabId === l.value && !W.hide);
2824
- F.value = L || p[0];
2750
+ let R = d == null ? void 0 : d.find((H) => H.tabId === l.value && !H.hide);
2751
+ F.value = R || d[0];
2825
2752
  } else
2826
- F.value = p[0];
2827
- l.value = (j = F.value) == null ? void 0 : j.tabId;
2753
+ F.value = d[0];
2754
+ l.value = (A = F.value) == null ? void 0 : A.tabId;
2828
2755
  }
2829
- H(() => [e.schema, e.isShowPanel], () => {
2830
- r.value = e.schema, u.value = ie(r.value, C, S, w), te(), ae(h.value), x.$forceUpdate();
2831
- }), K(() => {
2756
+ W(() => [e.schema, e.isShowPanel], () => {
2757
+ i.value = e.schema, !e.schema || !e.schema.type ? u.value = [] : u.value = re(i.value, w, T, S), te(), le(h.value), x.value++;
2758
+ }), Q(() => {
2832
2759
  te();
2833
2760
  });
2834
- function Ue(A, j) {
2835
- (!r.value || j) && (r.value = j || e.schema), u.value = ie(r.value, C, S, w, A), te(), ae(h.value);
2761
+ function ze(L, A) {
2762
+ (!i.value || A) && (i.value = A || e.schema), u.value = re(i.value, w, T, S, L), te(), le(h.value);
2836
2763
  }
2837
- function Qe(A, j) {
2838
- S = A, w = j;
2764
+ function Xe(L, A) {
2765
+ T = L, S = A;
2839
2766
  }
2840
2767
  function be() {
2841
2768
  s.value = s.value === "panel" ? "sidebar" : "panel", s.value === "panel" ? (setTimeout(() => {
2842
2769
  _();
2843
2770
  }, 100), n.value = "300px") : n.value = "41px";
2844
2771
  }
2845
- function Ke() {
2846
- if (v.value)
2847
- return i("div", {
2772
+ function Qe() {
2773
+ if (m.value)
2774
+ return r("div", {
2848
2775
  class: "title-actions"
2849
- }, [i("div", {
2776
+ }, [r("div", {
2850
2777
  class: "monaco-toolbar"
2851
- }, [i("div", {
2778
+ }, [r("div", {
2852
2779
  class: "monaco-action-bar animated"
2853
- }, [i("ul", {
2780
+ }, [r("ul", {
2854
2781
  class: "actions-container",
2855
2782
  role: "toolbar"
2856
- }, [i("li", {
2783
+ }, [r("li", {
2857
2784
  class: "action-item",
2858
2785
  onClick: _e
2859
- }, [i("span", {
2786
+ }, [r("span", {
2860
2787
  class: "f-icon f-icon-close"
2861
2788
  }, null)])])])])]);
2862
2789
  }
2863
- function Xe() {
2864
- u.value = ie(r.value, C, S, w), te();
2790
+ function Ke() {
2791
+ u.value = re(i.value, w, T, S), te();
2865
2792
  }
2866
2793
  function Je() {
2867
- var A;
2868
- if (a.value && ((A = F.value) == null ? void 0 : A.tabId) !== "commands")
2869
- return i("div", {
2794
+ var L;
2795
+ if (a.value && ((L = F.value) == null ? void 0 : L.tabId) !== "commands")
2796
+ return r("div", {
2870
2797
  class: "search"
2871
- }, [i("div", {
2798
+ }, [r("div", {
2872
2799
  class: "input-group f-state-editable border-left-0 border-right-0"
2873
- }, [i("input", {
2800
+ }, [r("input", {
2874
2801
  class: "form-control f-utils-fill text-left pt-3 pb-3 textbox",
2875
2802
  type: "text",
2876
2803
  placeholder: "输入属性名称或编号快速定位",
2877
2804
  autocomplete: "off",
2878
- onKeyup: (j) => G(j),
2805
+ onKeyup: (A) => G(A),
2879
2806
  value: h.value
2880
- }, null), i("div", {
2807
+ }, null), r("div", {
2881
2808
  class: "input-group-append",
2882
2809
  style: "margin-left: 0px;"
2883
- }, [i("span", {
2810
+ }, [r("span", {
2884
2811
  class: "input-group-text input-group-clear",
2885
2812
  style: [{
2886
2813
  display: h.value && h.value.length > 0 ? "" : "none"
2887
2814
  }],
2888
- onClick: (j) => ae()
2889
- }, [i("i", {
2815
+ onClick: (A) => le()
2816
+ }, [r("i", {
2890
2817
  class: "f-icon modal_close"
2891
- }, null)]), i("span", {
2818
+ }, null)]), r("span", {
2892
2819
  class: "input-group-text input-group-clear",
2893
- onClick: (j) => U(j)
2894
- }, [i("i", {
2820
+ onClick: (A) => z(A)
2821
+ }, [r("i", {
2895
2822
  class: "f-icon f-icon-search"
2896
2823
  }, null)])])])]);
2897
2824
  }
2898
- function Ze(A) {
2899
- return `${e.propertyName}_${A.categoryId}`;
2825
+ function Ze(L) {
2826
+ return `${e.propertyName}_${L.categoryId}`;
2900
2827
  }
2901
- function Ye(A) {
2902
- t.emit("propertyChanged", A);
2828
+ function Ye(L) {
2829
+ t.emit("propertyChanged", L);
2903
2830
  }
2904
2831
  function et() {
2905
- var A, j;
2832
+ var L, A;
2906
2833
  if (F.value)
2907
- return i("div", {
2834
+ return r("div", {
2908
2835
  class: "panel-body",
2909
2836
  ref: I
2910
- }, [i("ul", {
2837
+ }, [r("ul", {
2911
2838
  class: ["property-grid", {
2912
2839
  "wide-panel": o.value
2913
2840
  }]
2914
- }, [(j = (A = F.value) == null ? void 0 : A.categoryList) == null ? void 0 : j.map((L) => i("li", {
2915
- key: Ze(L),
2916
- "data-category-id": L == null ? void 0 : L.categoryId
2917
- }, [!L.hide && !L.hideTitle && i("span", {
2841
+ }, [(A = (L = F.value) == null ? void 0 : L.categoryList) == null ? void 0 : A.map((R) => r("li", {
2842
+ key: Ze(R),
2843
+ "data-category-id": R == null ? void 0 : R.categoryId
2844
+ }, [!R.hide && !R.hideTitle && r("span", {
2918
2845
  class: "group-label",
2919
- onClick: () => ze(L)
2920
- }, [i("span", {
2846
+ onClick: () => Ue(R)
2847
+ }, [r("span", {
2921
2848
  class: ["f-icon mr-2", {
2922
- "f-legend-show": L.status === "closed"
2849
+ "f-legend-show": R.status === "closed"
2923
2850
  }, {
2924
- "f-legend-collapse": L.status === "open" || L.status === void 0
2851
+ "f-legend-collapse": R.status === "open" || R.status === void 0
2925
2852
  }]
2926
- }, null), L.categoryName]), i("div", {
2927
- hidden: L.status === "closed"
2928
- }, [i(Ga, {
2929
- category: L,
2930
- propertyData: r.value,
2931
- onTriggerRefreshPanel: Xe,
2853
+ }, null), R.categoryName]), r("div", {
2854
+ hidden: R.status === "closed"
2855
+ }, [r(Gl, {
2856
+ key: `${R == null ? void 0 : R.categoryId}-${x.value}`,
2857
+ category: R,
2858
+ propertyData: i.value,
2859
+ onTriggerRefreshPanel: Ke,
2932
2860
  onValueChanged: Ye
2933
2861
  }, null)])]))])]);
2934
2862
  }
2935
2863
  function tt() {
2936
2864
  if (s.value === "sidebar")
2937
- return i("div", {
2865
+ return r("div", {
2938
2866
  class: "side-panel h-100",
2939
2867
  onClick: be
2940
- }, [i("i", {
2868
+ }, [r("i", {
2941
2869
  class: "f-icon f-icon-engineering w-100 icon"
2942
- }, null), i("span", null, [Y("属性")])]);
2870
+ }, null), r("span", null, [Y("属性")])]);
2943
2871
  }
2944
2872
  function nt() {
2945
2873
  return {
2946
- display: d.value ? "block" : "none",
2874
+ display: v.value ? "block" : "none",
2947
2875
  width: n.value
2948
2876
  };
2949
2877
  }
2950
2878
  function ot() {
2951
- return i("div", {
2879
+ return r("div", {
2952
2880
  class: "switcher"
2953
- }, [i("i", {
2881
+ }, [r("i", {
2954
2882
  class: "f-icon f-icon-exhale-discount",
2955
2883
  style: [{
2956
2884
  transform: s.value === "sidebar" ? "none" : "rotate(180deg)"
@@ -2958,45 +2886,45 @@ const Na = /* @__PURE__ */ z({
2958
2886
  onClick: be
2959
2887
  }, null)]);
2960
2888
  }
2961
- function at(A) {
2962
- F.value = A, l.value = F.value.tabId, h.value = "";
2889
+ function lt(L) {
2890
+ F.value = L, l.value = F.value.tabId, h.value = "";
2963
2891
  }
2964
- function lt() {
2965
- return p.map((A) => i("div", {
2892
+ function at() {
2893
+ return d.map((L) => r("div", {
2966
2894
  class: ["title-label", {
2967
- active: F.value && F.value.tabId === A.tabId
2895
+ active: F.value && F.value.tabId === L.tabId
2968
2896
  }, {
2969
- hidden: A.hide
2897
+ hidden: L.hide
2970
2898
  }],
2971
- onClick: () => at(A)
2972
- }, [i("span", null, [A.tabName])]));
2899
+ onClick: () => lt(L)
2900
+ }, [r("span", null, [L.tabName])]));
2973
2901
  }
2974
- return K(() => {
2902
+ return Q(() => {
2975
2903
  _(h.value);
2976
- }), dt(() => {
2977
- f.value && (d.value = g.value), te(), _(h.value);
2978
- }), H(F, () => {
2904
+ }), ct(() => {
2905
+ p.value && (v.value = g.value), te(), _(h.value);
2906
+ }), W(F, () => {
2979
2907
  }), t.expose({
2980
- updatePropertyConfig: Ue,
2981
- updateDesignerItem: Qe
2982
- }), () => i(J, null, [i("div", {
2908
+ updatePropertyConfig: ze,
2909
+ updateDesignerItem: Xe
2910
+ }), () => r(J, null, [r("div", {
2983
2911
  ref: P,
2984
2912
  class: ["property-panel", {
2985
2913
  "white-theme": c.value
2986
2914
  }],
2987
2915
  style: nt()
2988
- }, [i("div", {
2916
+ }, [r("div", {
2989
2917
  class: "propertyPanel panel flex-column",
2990
2918
  hidden: s.value !== "panel"
2991
- }, [i("div", {
2919
+ }, [r("div", {
2992
2920
  class: ["title d-flex", {
2993
- "p-right": v.value
2921
+ "p-right": m.value
2994
2922
  }, {
2995
- only: p.length === 1
2923
+ only: d.length === 1
2996
2924
  }]
2997
- }, [lt(), Ke()]), Je(), et()]), ot(), tt()])]);
2925
+ }, [at(), Qe()]), Je(), et()]), ot(), tt()])]);
2998
2926
  }
2999
- }), Wa = {
2927
+ }), Hl = {
3000
2928
  className: {
3001
2929
  description: "样式",
3002
2930
  title: "样式",
@@ -3007,7 +2935,7 @@ const Na = /* @__PURE__ */ z({
3007
2935
  title: "是否必填",
3008
2936
  type: "boolean"
3009
2937
  }
3010
- }, _a = {
2938
+ }, _l = {
3011
2939
  className: {
3012
2940
  description: "样式",
3013
2941
  title: "样式",
@@ -3033,7 +2961,7 @@ const Na = /* @__PURE__ */ z({
3033
2961
  title: "最小值",
3034
2962
  type: "number"
3035
2963
  }
3036
- }, za = {
2964
+ }, Ul = {
3037
2965
  className: {
3038
2966
  description: "样式",
3039
2967
  title: "样式",
@@ -3081,7 +3009,7 @@ const Na = /* @__PURE__ */ z({
3081
3009
  title: "枚举项",
3082
3010
  type: "string"
3083
3011
  }
3084
- }, Ua = {
3012
+ }, zl = {
3085
3013
  className: {
3086
3014
  description: "样式",
3087
3015
  title: "样式",
@@ -3137,7 +3065,7 @@ const Na = /* @__PURE__ */ z({
3137
3065
  title: "面板宽度",
3138
3066
  type: "number"
3139
3067
  }
3140
- }, Qa = {
3068
+ }, Xl = {
3141
3069
  className: {
3142
3070
  description: "样式",
3143
3071
  title: "样式",
@@ -3158,7 +3086,7 @@ const Na = /* @__PURE__ */ z({
3158
3086
  title: "显示格式",
3159
3087
  type: "string"
3160
3088
  }
3161
- }, Ka = {
3089
+ }, Ql = {
3162
3090
  className: {
3163
3091
  description: "样式",
3164
3092
  title: "样式",
@@ -3179,7 +3107,7 @@ const Na = /* @__PURE__ */ z({
3179
3107
  title: "显示格式",
3180
3108
  type: "string"
3181
3109
  }
3182
- }, Xa = {
3110
+ }, Kl = {
3183
3111
  className: {
3184
3112
  description: "样式",
3185
3113
  title: "样式",
@@ -3200,8 +3128,8 @@ const Na = /* @__PURE__ */ z({
3200
3128
  title: "是否显示标签",
3201
3129
  type: "boolean"
3202
3130
  }
3203
- }, we = {
3204
- text: Wa,
3131
+ }, Se = {
3132
+ text: Hl,
3205
3133
  "single-number": {
3206
3134
  className: {
3207
3135
  description: "样式",
@@ -3229,9 +3157,9 @@ const Na = /* @__PURE__ */ z({
3229
3157
  type: "number"
3230
3158
  }
3231
3159
  },
3232
- number: _a,
3233
- dropdown: za,
3234
- help: Ua,
3160
+ number: _l,
3161
+ dropdown: Ul,
3162
+ help: zl,
3235
3163
  "combolist-help": {
3236
3164
  className: {
3237
3165
  description: "样式",
@@ -3319,7 +3247,7 @@ const Na = /* @__PURE__ */ z({
3319
3247
  type: "boolean"
3320
3248
  }
3321
3249
  },
3322
- date: Qa,
3250
+ date: Xl,
3323
3251
  "single-date": {
3324
3252
  className: {
3325
3253
  description: "样式",
@@ -3386,7 +3314,7 @@ const Na = /* @__PURE__ */ z({
3386
3314
  type: "string"
3387
3315
  }
3388
3316
  },
3389
- month: Ka,
3317
+ month: Ql,
3390
3318
  "single-year": {
3391
3319
  className: {
3392
3320
  description: "样式",
@@ -3409,7 +3337,7 @@ const Na = /* @__PURE__ */ z({
3409
3337
  type: "string"
3410
3338
  }
3411
3339
  },
3412
- radio: Xa,
3340
+ radio: Kl,
3413
3341
  "input-group": {
3414
3342
  className: {
3415
3343
  description: "样式",
@@ -3423,34 +3351,34 @@ const Na = /* @__PURE__ */ z({
3423
3351
  }
3424
3352
  }
3425
3353
  };
3426
- function Ja(e, t, n, o) {
3427
- const a = m(), s = m("query-solution-config"), f = m({}), g = m(), u = m(null);
3428
- H(n, (p) => {
3429
- if (p && p.controlType) {
3354
+ function Jl(e, t, n, o) {
3355
+ const a = f(), s = f("query-solution-config"), p = f({}), g = f(), u = f(null);
3356
+ W(n, (d) => {
3357
+ if (d && d.controlType) {
3430
3358
  const y = {
3431
3359
  ...ce
3432
3360
  }, {
3433
3361
  controlType: h
3434
- } = p;
3435
- y.categories.control.properties = we[h], u.value = o.value[p.id], a.value.updatePropertyConfig(y, u.value);
3362
+ } = d;
3363
+ y.categories.control.properties = Se[h], u.value = o.value[d.id], a.value.updatePropertyConfig(y, u.value);
3436
3364
  }
3437
3365
  });
3438
- function r(p) {
3366
+ function i(d) {
3439
3367
  return {
3440
- id: p.id,
3441
- code: p.code || p.id,
3442
- labelCode: p.name,
3443
- name: p.name,
3444
- controlType: p.controlType
3368
+ id: d.id,
3369
+ code: d.code || d.id,
3370
+ labelCode: d.name,
3371
+ name: d.name,
3372
+ controlType: d.controlType
3445
3373
  };
3446
3374
  }
3447
- function v(p) {
3375
+ function m(d) {
3448
3376
  const y = {
3449
3377
  className: "",
3450
3378
  require: !1
3451
3379
  };
3452
3380
  let h = {};
3453
- switch (p) {
3381
+ switch (d) {
3454
3382
  case "text":
3455
3383
  break;
3456
3384
  case "number":
@@ -3522,14 +3450,14 @@ function Ja(e, t, n, o) {
3522
3450
  ...h
3523
3451
  };
3524
3452
  }
3525
- function l(p) {
3453
+ function l(d) {
3526
3454
  const y = {
3527
3455
  className: "",
3528
3456
  require: !1,
3529
3457
  isExtend: !1
3530
3458
  };
3531
3459
  let h = {};
3532
- switch (p) {
3460
+ switch (d) {
3533
3461
  case "text":
3534
3462
  break;
3535
3463
  case "number":
@@ -3601,29 +3529,29 @@ function Ja(e, t, n, o) {
3601
3529
  ...h
3602
3530
  };
3603
3531
  }
3604
- function d(p) {
3605
- return e.source === "query-solution" ? v(p) : l(p);
3606
- }
3607
- H(() => {
3608
- var p;
3609
- return (p = u.value) == null ? void 0 : p.controlType;
3610
- }, (p) => {
3611
- const y = r(n.value);
3612
- y.controlType = p, u.value = {
3532
+ function v(d) {
3533
+ return e.source === "query-solution" ? m(d) : l(d);
3534
+ }
3535
+ W(() => {
3536
+ var d;
3537
+ return (d = u.value) == null ? void 0 : d.controlType;
3538
+ }, (d) => {
3539
+ const y = i(n.value);
3540
+ y.controlType = d, u.value = {
3613
3541
  ...y,
3614
- ...d(p)
3542
+ ...v(d)
3615
3543
  }, o.value[n.value.id] = u.value;
3616
3544
  const h = {
3617
3545
  ...ce
3618
3546
  };
3619
- h.categories.control.properties = we[p], a.value.updatePropertyConfig(h, u.value);
3547
+ h.categories.control.properties = Se[d], a.value.updatePropertyConfig(h, u.value);
3620
3548
  });
3621
3549
  function c() {
3622
- return i(J, null, [i(Ha, {
3550
+ return r(J, null, [r(Wl, {
3623
3551
  propertyConfig: g.value,
3624
3552
  ref: a,
3625
3553
  propertyName: s.value,
3626
- schema: f.value
3554
+ schema: p.value
3627
3555
  }, {
3628
3556
  default: () => [Y(" ")]
3629
3557
  })]);
@@ -3631,17 +3559,17 @@ function Ja(e, t, n, o) {
3631
3559
  return {
3632
3560
  renderPanel: c,
3633
3561
  PropertyPanelInstance: a,
3634
- getExtendSchemaProerty: d,
3635
- getBasicSchemaProerty: r
3562
+ getExtendSchemaProerty: v,
3563
+ getBasicSchemaProerty: i
3636
3564
  };
3637
3565
  }
3638
- const Za = /* @__PURE__ */ new Map([
3566
+ const Zl = /* @__PURE__ */ new Map([
3639
3567
  ["appearance", ee]
3640
3568
  ]);
3641
- function Ya(e, t, n) {
3569
+ function Yl(e, t, n) {
3642
3570
  return t;
3643
3571
  }
3644
- const el = "transfer", tl = "A Farris Component", nl = "object", ol = {
3572
+ const ea = "transfer", ta = "A Farris Component", na = "object", oa = {
3645
3573
  basic: {
3646
3574
  description: "Basic Infomation",
3647
3575
  title: "基本信息",
@@ -3663,12 +3591,12 @@ const el = "transfer", tl = "A Farris Component", nl = "object", ol = {
3663
3591
  }
3664
3592
  }
3665
3593
  }
3666
- }, al = {
3667
- title: el,
3668
- description: tl,
3669
- type: nl,
3670
- categories: ol
3671
- }, ll = "https://json-schema.org/draft/2020-12/schema", il = "https://farris-design.gitee.io/transfer.schema.json", rl = "transfer", sl = "A Farris Component", ul = "object", cl = {
3594
+ }, la = {
3595
+ title: ea,
3596
+ description: ta,
3597
+ type: na,
3598
+ categories: oa
3599
+ }, aa = "https://json-schema.org/draft/2020-12/schema", ra = "https://farris-design.gitee.io/transfer.schema.json", ia = "transfer", sa = "A Farris Component", ua = "object", ca = {
3672
3600
  id: {
3673
3601
  description: "The unique identifier for transfer",
3674
3602
  type: "string"
@@ -3730,17 +3658,17 @@ const el = "transfer", tl = "A Farris Component", nl = "object", ol = {
3730
3658
  type: "boolean",
3731
3659
  default: !0
3732
3660
  }
3733
- }, dl = [
3661
+ }, da = [
3734
3662
  "id",
3735
3663
  "type"
3736
- ], pl = {
3737
- $schema: ll,
3738
- $id: il,
3739
- title: rl,
3740
- description: sl,
3741
- type: ul,
3742
- properties: cl,
3743
- required: dl
3664
+ ], pa = {
3665
+ $schema: aa,
3666
+ $id: ra,
3667
+ title: ia,
3668
+ description: sa,
3669
+ type: ua,
3670
+ properties: ca,
3671
+ required: da
3744
3672
  }, qe = {
3745
3673
  dataSource: {
3746
3674
  type: Array,
@@ -3754,14 +3682,14 @@ const el = "transfer", tl = "A Farris Component", nl = "object", ol = {
3754
3682
  selections: { type: Array, default: [] },
3755
3683
  selectionValues: { type: Array, default: [] }
3756
3684
  };
3757
- Z(qe, pl, Za, Ya, al);
3758
- const fl = /* @__PURE__ */ new Map([
3685
+ Z(qe, pa, Zl, Yl, la);
3686
+ const fa = /* @__PURE__ */ new Map([
3759
3687
  ["appearance", ee]
3760
3688
  ]);
3761
- function ml(e, t, n) {
3689
+ function ma(e, t, n) {
3762
3690
  return t;
3763
3691
  }
3764
- const vl = "https://json-schema.org/draft/2020-12/schema", yl = "https://farris-design.gitee.io/list-view.schema.json", gl = "list-view", hl = "A Farris Component", bl = "object", Cl = {
3692
+ const va = "https://json-schema.org/draft/2020-12/schema", ya = "https://farris-design.gitee.io/list-view.schema.json", ga = "list-view", ha = "A Farris Component", ba = "object", Ca = {
3765
3693
  id: {
3766
3694
  description: "The unique identifier for list-view",
3767
3695
  type: "string"
@@ -3823,18 +3751,18 @@ const vl = "https://json-schema.org/draft/2020-12/schema", yl = "https://farris-
3823
3751
  type: "boolean",
3824
3752
  default: !0
3825
3753
  }
3826
- }, Tl = [
3754
+ }, wa = [
3827
3755
  "id",
3828
3756
  "type"
3829
- ], Sl = {
3830
- $schema: vl,
3831
- $id: yl,
3832
- title: gl,
3833
- description: hl,
3834
- type: bl,
3835
- properties: Cl,
3836
- required: Tl
3837
- }, Fl = "list-view", wl = "A Farris Component", xl = "object", Bl = {
3757
+ ], Ta = {
3758
+ $schema: va,
3759
+ $id: ya,
3760
+ title: ga,
3761
+ description: ha,
3762
+ type: ba,
3763
+ properties: Ca,
3764
+ required: wa
3765
+ }, Fa = "list-view", Sa = "A Farris Component", xa = "object", ka = {
3838
3766
  basic: {
3839
3767
  description: "Basic Infomation",
3840
3768
  title: "基本信息",
@@ -3856,11 +3784,11 @@ const vl = "https://json-schema.org/draft/2020-12/schema", yl = "https://farris-
3856
3784
  }
3857
3785
  }
3858
3786
  }
3859
- }, kl = {
3860
- title: Fl,
3861
- description: wl,
3862
- type: xl,
3863
- categories: Bl
3787
+ }, Ba = {
3788
+ title: Fa,
3789
+ description: Sa,
3790
+ type: xa,
3791
+ categories: ka
3864
3792
  }, Ge = {
3865
3793
  /** 列集合 */
3866
3794
  columns: {
@@ -3899,199 +3827,201 @@ const vl = "https://json-schema.org/draft/2020-12/schema", yl = "https://farris-
3899
3827
  }
3900
3828
  },
3901
3829
  keepOrder: { type: Boolean, default: !1 },
3902
- disableField: { type: String, default: "disabled" }
3830
+ disableField: { type: String, default: "disabled" },
3831
+ // 搜索启用高亮
3832
+ enableHighlightSearch: { type: Boolean, default: !0 }
3903
3833
  };
3904
- Z(Ge, Sl, fl, ml, kl);
3905
- function Pl(e, t) {
3834
+ Z(Ge, Ta, fa, ma, Ba);
3835
+ function Pa(e, t) {
3906
3836
  function n(s) {
3907
- const f = [];
3837
+ const p = [];
3908
3838
  let g = s.nextNode();
3909
3839
  for (; g; )
3910
- f.push(g), g = s.nextNode();
3911
- return f;
3840
+ p.push(g), g = s.nextNode();
3841
+ return p;
3912
3842
  }
3913
- function o(s, f) {
3843
+ function o(s, p) {
3914
3844
  const g = document.createTreeWalker(s, NodeFilter.SHOW_TEXT);
3915
- return n(g).map((l) => ({ textNode: l, text: (l.textContent || "").toLocaleLowerCase() })).map(({ textNode: l, text: d }) => {
3845
+ return n(g).map((l) => ({ textNode: l, text: (l.textContent || "").toLocaleLowerCase() })).map(({ textNode: l, text: v }) => {
3916
3846
  const c = [];
3917
- let p = 0;
3918
- for (; p < d.length; ) {
3919
- const y = d.indexOf(f, p);
3847
+ let d = 0;
3848
+ for (; d < v.length; ) {
3849
+ const y = v.indexOf(p, d);
3920
3850
  if (y === -1)
3921
3851
  break;
3922
- c.push(y), p = y + f.length;
3852
+ c.push(y), d = y + p.length;
3923
3853
  }
3924
3854
  return c.map((y) => {
3925
3855
  const h = new Range();
3926
- return h.setStart(l, y), h.setEnd(l, y + f.length), h;
3856
+ return h.setStart(l, y), h.setEnd(l, y + p.length), h;
3927
3857
  });
3928
3858
  }).flat();
3929
3859
  }
3930
3860
  function a(s) {
3931
3861
  if (!CSS.highlights || (CSS.highlights.clear(), !s || !t))
3932
3862
  return;
3933
- const f = o(t.value, s.toLocaleLowerCase()), g = new Highlight(...f);
3863
+ const p = o(t.value, s.toLocaleLowerCase()), g = new Highlight(...p);
3934
3864
  CSS.highlights.set("search-result", g);
3935
3865
  }
3936
3866
  return { search: a };
3937
3867
  }
3938
- function xe(e, t, n, o, a, s, f, g, u, r) {
3939
- const v = m(e.size), l = m(e.textField), d = m(e.titleField), c = m(e.multiSelect), p = m(e.disableField), {
3868
+ function xe(e, t, n, o, a, s, p, g, u, i) {
3869
+ const m = f(e.size), l = f(e.textField), v = f(e.titleField), c = f(e.multiSelect), d = f(e.disableField), {
3940
3870
  onMouseenterItem: y,
3941
3871
  onMouseoverItem: h,
3942
3872
  onMouseoutItem: P
3943
3873
  } = s, {
3944
3874
  getKey: I,
3945
- listViewItemClass: C,
3946
- onCheckItem: T,
3947
- onClickItem: S
3948
- } = f, w = B(() => ({
3949
- margin: v.value === "small" ? "0.25rem 0" : "10px 0"
3875
+ listViewItemClass: w,
3876
+ onCheckItem: C,
3877
+ onClickItem: T
3878
+ } = p, S = k(() => ({
3879
+ margin: m.value === "small" ? "0.25rem 0" : "10px 0"
3950
3880
  }));
3951
- function F(x, b, R) {
3952
- return x.checked = g.findIndexInSelectedItems(x) > -1, i("li", {
3953
- class: C(x, b),
3881
+ function F(x, b, D) {
3882
+ return x.checked = g.findIndexInSelectedItems(x) > -1, r("li", {
3883
+ class: w(x, b),
3954
3884
  id: I(x, b),
3955
3885
  key: I(x, b),
3956
- onClick: (M) => S(M, x, b),
3957
- onMouseenter: (M) => y(M, x, b),
3958
- onMouseover: (M) => h(M, x, b),
3959
- onMouseout: (M) => P(M, x, b)
3960
- }, [c.value && i("div", {
3886
+ onClick: ($) => T($, x, b),
3887
+ onMouseenter: ($) => y($, x, b),
3888
+ onMouseover: ($) => h($, x, b),
3889
+ onMouseout: ($) => P($, x, b)
3890
+ }, [c.value && r("div", {
3961
3891
  class: "f-list-select",
3962
- onClick: (M) => M.stopPropagation()
3963
- }, [i(fe, {
3892
+ onClick: ($) => $.stopPropagation()
3893
+ }, [r(fe, {
3964
3894
  id: "list-" + I(x, b),
3965
3895
  customClass: "listview-checkbox",
3966
- disabled: x[p.value],
3896
+ disabled: x[d.value],
3967
3897
  checked: x.checked,
3968
- "onUpdate:checked": (M) => x.checked = M,
3969
- onChange: (M) => {
3970
- T(x, b, !M.checked);
3898
+ "onUpdate:checked": ($) => x.checked = $,
3899
+ onChange: ($) => {
3900
+ C(x, b, !$.checked);
3971
3901
  }
3972
- }, null)]), i("div", {
3902
+ }, null)]), r("div", {
3973
3903
  class: "f-list-content"
3974
- }, [i("div", {
3975
- style: w.value,
3976
- title: x.raw[d.value] || x.raw[l.value]
3904
+ }, [r("div", {
3905
+ style: S.value,
3906
+ title: x.raw[v.value] || x.raw[l.value]
3977
3907
  }, [x.raw[l.value]])])]);
3978
3908
  }
3979
3909
  return {
3980
3910
  renderItem: F
3981
3911
  };
3982
3912
  }
3983
- function Il(e, t, n, o, a, s, f, g, u, r) {
3984
- const v = m(e.multiSelect), l = m(e.disableField), {
3985
- onMouseenterItem: d,
3913
+ function Ia(e, t, n, o, a, s, p, g, u, i) {
3914
+ const m = f(e.multiSelect), l = f(e.disableField), {
3915
+ onMouseenterItem: v,
3986
3916
  onMouseoverItem: c,
3987
- onMouseoutItem: p
3917
+ onMouseoutItem: d
3988
3918
  } = s, {
3989
3919
  getKey: y,
3990
3920
  listViewItemClass: h,
3991
3921
  onCheckItem: P,
3992
3922
  onClickItem: I
3993
- } = f;
3994
- function C(S, w, F) {
3995
- return t.slots.content ? i(J, null, [t.slots.content && t.slots.content({
3996
- item: S.raw,
3997
- index: w,
3923
+ } = p;
3924
+ function w(T, S, F) {
3925
+ return t.slots.content ? r(J, null, [t.slots.content && t.slots.content({
3926
+ item: T.raw,
3927
+ index: S,
3998
3928
  selectedItem: F
3999
- })]) : i("div", {
3929
+ })]) : r("div", {
4000
3930
  style: "margin: 10px 0;"
4001
- }, [S.raw.name]);
4002
- }
4003
- function T(S, w, F) {
4004
- return i("li", {
4005
- class: h(S, w),
4006
- id: y(S, w),
4007
- key: y(S, w),
4008
- onClick: (x) => I(x, S, w),
4009
- onMouseenter: (x) => d(x, S, w),
4010
- onMouseover: (x) => c(x, S, w),
4011
- onMouseout: (x) => p(x, S, w)
4012
- }, [v.value && i("div", {
3931
+ }, [T.raw.name]);
3932
+ }
3933
+ function C(T, S, F) {
3934
+ return r("li", {
3935
+ class: h(T, S),
3936
+ id: y(T, S),
3937
+ key: y(T, S),
3938
+ onClick: (x) => I(x, T, S),
3939
+ onMouseenter: (x) => v(x, T, S),
3940
+ onMouseover: (x) => c(x, T, S),
3941
+ onMouseout: (x) => d(x, T, S)
3942
+ }, [m.value && r("div", {
4013
3943
  class: "f-list-select",
4014
3944
  onClick: (x) => x.stopPropagation()
4015
- }, [i(fe, {
4016
- id: "list-" + y(S, w),
3945
+ }, [r(fe, {
3946
+ id: "list-" + y(T, S),
4017
3947
  customClass: "listview-checkbox",
4018
- disabled: S[l.value] || !S.checked,
4019
- checked: S.checked,
4020
- "onUpdate:checked": (x) => S.checked = x,
4021
- onChange: (x) => P(S, w, !x.checked)
4022
- }, null)]), i("div", {
3948
+ disabled: T[l.value] || !T.checked,
3949
+ checked: T.checked,
3950
+ "onUpdate:checked": (x) => T.checked = x,
3951
+ onChange: (x) => P(T, S, !x.checked)
3952
+ }, null)]), r("div", {
4023
3953
  class: "f-list-content"
4024
- }, [C(S, w, F)])]);
3954
+ }, [w(T, S, F)])]);
4025
3955
  }
4026
3956
  return {
4027
- renderItem: T
3957
+ renderItem: C
4028
3958
  };
4029
3959
  }
4030
- function Vl(e, t, n, o, a, s, f, g, u, r) {
4031
- const v = m(e.multiSelect), l = m(e.disableField), {
4032
- onMouseenterItem: d,
3960
+ function Va(e, t, n, o, a, s, p, g, u, i) {
3961
+ const m = f(e.multiSelect), l = f(e.disableField), {
3962
+ onMouseenterItem: v,
4033
3963
  onMouseoverItem: c,
4034
- onMouseoutItem: p
3964
+ onMouseoutItem: d
4035
3965
  } = s, {
4036
3966
  getKey: y,
4037
3967
  listViewItemClass: h,
4038
3968
  onCheckItem: P,
4039
3969
  onClickItem: I
4040
- } = f, {
4041
- dragstart: C,
4042
- dragenter: T,
4043
- dragover: S,
4044
- dragend: w
3970
+ } = p, {
3971
+ dragstart: w,
3972
+ dragenter: C,
3973
+ dragover: T,
3974
+ dragend: S
4045
3975
  } = o, {
4046
3976
  removeItem: F
4047
- } = u, x = B(() => ({
4048
- margin: v.value ? "10px 0" : "10px 0px 10px 14px"
3977
+ } = u, x = k(() => ({
3978
+ margin: m.value ? "10px 0" : "10px 0px 10px 14px"
4049
3979
  }));
4050
- function b(k) {
4051
- return i("div", {
3980
+ function b(B) {
3981
+ return r("div", {
4052
3982
  style: x.value
4053
- }, [k.raw.name]);
3983
+ }, [B.raw.name]);
4054
3984
  }
4055
- function R() {
3985
+ function D() {
4056
3986
  return t.slots.itemContent ? t.slots.itemContent : b;
4057
3987
  }
4058
- const M = R();
4059
- function N(k, q, _) {
4060
- return i("li", {
4061
- class: h(k, q),
4062
- id: y(k, q),
4063
- key: y(k, q),
4064
- onClick: (G) => I(G, k, q),
4065
- onMouseenter: (G) => d(G, k, q),
4066
- onMouseover: (G) => c(G, k, q),
4067
- onMouseout: (G) => p(G, k, q),
3988
+ const $ = D();
3989
+ function N(B, q, _) {
3990
+ return r("li", {
3991
+ class: h(B, q),
3992
+ id: y(B, q),
3993
+ key: y(B, q),
3994
+ onClick: (G) => I(G, B, q),
3995
+ onMouseenter: (G) => v(G, B, q),
3996
+ onMouseover: (G) => c(G, B, q),
3997
+ onMouseout: (G) => d(G, B, q),
4068
3998
  draggable: "true",
4069
- onDragstart: (G) => C(G, k, q),
4070
- onDragenter: (G) => T(G, q),
4071
- onDragend: (G) => w(G, k),
4072
- onDragover: (G) => S(G, q)
4073
- }, [v.value && i("div", {
3999
+ onDragstart: (G) => w(G, B, q),
4000
+ onDragenter: (G) => C(G, q),
4001
+ onDragend: (G) => S(G, B),
4002
+ onDragover: (G) => T(G, q)
4003
+ }, [m.value && r("div", {
4074
4004
  class: "f-list-select",
4075
4005
  onClick: (G) => G.stopPropagation()
4076
- }, [i(fe, {
4077
- id: "list-" + y(k, q),
4006
+ }, [r(fe, {
4007
+ id: "list-" + y(B, q),
4078
4008
  customClass: "listview-checkbox",
4079
- disabled: k[l.value] || !k.checked,
4080
- checked: k.checked,
4081
- "onUpdate:checked": (G) => k.checked = G,
4082
- onChange: (G) => P(k, q, !G.checked)
4083
- }, null)]), i("div", {
4009
+ disabled: B[l.value] || !B.checked,
4010
+ checked: B.checked,
4011
+ "onUpdate:checked": (G) => B.checked = G,
4012
+ onChange: (G) => P(B, q, !G.checked)
4013
+ }, null)]), r("div", {
4084
4014
  class: "f-list-content"
4085
- }, [M(k)]), i("div", {
4015
+ }, [$(B)]), r("div", {
4086
4016
  class: "f-list-remove",
4087
4017
  onClick: (G) => F(q)
4088
- }, [i("div", {
4018
+ }, [r("div", {
4089
4019
  class: "f-list-remove-icon"
4090
- }, [i("i", {
4020
+ }, [r("i", {
4091
4021
  class: "f-icon f-icon-remove_face"
4092
- }, null)])]), i("div", {
4022
+ }, null)])]), r("div", {
4093
4023
  class: "f-list-handle"
4094
- }, [i("div", null, [i("i", {
4024
+ }, [r("div", null, [r("i", {
4095
4025
  class: "f-icon f-icon-drag-vertical"
4096
4026
  }, null)])])]);
4097
4027
  }
@@ -4099,41 +4029,41 @@ function Vl(e, t, n, o, a, s, f, g, u, r) {
4099
4029
  renderItem: N
4100
4030
  };
4101
4031
  }
4102
- function Ml(e, t, n, o, a, s, f, g, u, r) {
4032
+ function $a(e, t, n, o, a, s, p, g, u, i) {
4103
4033
  var y;
4104
- const v = m(((y = e.group) == null ? void 0 : y.groupFields) || []), {
4034
+ const m = f(((y = e.group) == null ? void 0 : y.groupFields) || []), {
4105
4035
  collpaseGroupIconClass: l
4106
4036
  } = a, {
4107
- toggleGroupRow: d
4108
- } = r;
4037
+ toggleGroupRow: v
4038
+ } = i;
4109
4039
  function c(h, P) {
4110
- P.collapse = !P.collapse, n.value = d(P.collapse ? "collapse" : "expand", P, n.value);
4040
+ P.collapse = !P.collapse, n.value = v(P.collapse ? "collapse" : "expand", P, n.value);
4111
4041
  }
4112
- function p(h, P, I) {
4113
- return h.layer > -1 && i("div", {
4042
+ function d(h, P, I) {
4043
+ return h.layer > -1 && r("div", {
4114
4044
  class: "f-navlookup-recentHeader",
4115
- onClick: (C) => c(C, h)
4116
- }, [i("div", {
4045
+ onClick: (w) => c(w, h)
4046
+ }, [r("div", {
4117
4047
  class: "fv-grid-group-row-icon"
4118
- }, [i("span", {
4048
+ }, [r("span", {
4119
4049
  class: l(h)
4120
- }, null)]), i("div", {
4050
+ }, null)]), r("div", {
4121
4051
  class: "f-navlookup-recommandLabel"
4122
- }, [h.raw[v.value[h.layer]]])]);
4052
+ }, [h.raw[m.value[h.layer]]])]);
4123
4053
  }
4124
4054
  return {
4125
- renderItem: p
4055
+ renderItem: d
4126
4056
  };
4127
4057
  }
4128
- function El() {
4129
- const e = m(-1), t = m(""), n = m(-1), o = m(!1);
4130
- function a(r, v, l) {
4058
+ function Ma() {
4059
+ const e = f(-1), t = f(""), n = f(-1), o = f(!1);
4060
+ function a(i, m, l) {
4131
4061
  n.value = l;
4132
4062
  }
4133
- function s(r, v, l) {
4063
+ function s(i, m, l) {
4134
4064
  o.value || (n.value = l);
4135
4065
  }
4136
- function f(r, v, l) {
4066
+ function p(i, m, l) {
4137
4067
  n.value = -1;
4138
4068
  }
4139
4069
  function g() {
@@ -4148,125 +4078,125 @@ function El() {
4148
4078
  hoverIndex: n,
4149
4079
  onMouseenterItem: a,
4150
4080
  onMouseoverItem: s,
4151
- onMouseoutItem: f,
4081
+ onMouseoutItem: p,
4152
4082
  resumeHover: u,
4153
4083
  suspendHover: g
4154
4084
  };
4155
4085
  }
4156
- function $l(e, t, n, o) {
4157
- const a = m(e.idField), { dataView: s } = n, f = m(-1), g = m(!1), { activeIndex: u, focusedItemId: r, hoverIndex: v, resumeHover: l, suspendHover: d } = o;
4158
- function c(P, I, C) {
4159
- P.stopPropagation(), d(), I && setTimeout(() => {
4160
- f.value = C, g.value = !0, I.moving = !0;
4086
+ function Ea(e, t, n, o) {
4087
+ const a = f(e.idField), { dataView: s } = n, p = f(-1), g = f(!1), { activeIndex: u, focusedItemId: i, hoverIndex: m, resumeHover: l, suspendHover: v } = o;
4088
+ function c(P, I, w) {
4089
+ P.stopPropagation(), v(), I && setTimeout(() => {
4090
+ p.value = w, g.value = !0, I.moving = !0;
4161
4091
  });
4162
4092
  }
4163
- function p(P, I) {
4164
- if (P.preventDefault(), f.value !== I) {
4165
- const C = s.value[f.value], T = s.value;
4166
- T.splice(f.value, 1), T.splice(I, 0, C), f.value = I;
4093
+ function d(P, I) {
4094
+ if (P.preventDefault(), p.value !== I) {
4095
+ const w = s.value[p.value], C = s.value;
4096
+ C.splice(p.value, 1), C.splice(I, 0, w), p.value = I;
4167
4097
  }
4168
4098
  }
4169
4099
  function y(P, I) {
4170
4100
  P.preventDefault(), P.dataTransfer && (P.dataTransfer.dropEffect = "move");
4171
4101
  }
4172
4102
  function h(P, I) {
4173
- I && (I.moving = !1), s.value.forEach((C, T) => {
4174
- C.__fv_index__ = T;
4175
- }), g.value = !1, l(), v.value = I.raw.__fv_index__, u.value = I.raw.__fv_index__, r.value = I.raw[a.value], t.emit("change", s.value), t.emit("activeChange", I);
4103
+ I && (I.moving = !1), s.value.forEach((w, C) => {
4104
+ w.__fv_index__ = C;
4105
+ }), g.value = !1, l(), m.value = I.raw.__fv_index__, u.value = I.raw.__fv_index__, i.value = I.raw[a.value], t.emit("change", s.value), t.emit("activeChange", I);
4176
4106
  }
4177
4107
  return {
4178
4108
  dragstart: c,
4179
- dragenter: p,
4109
+ dragenter: d,
4180
4110
  dragover: y,
4181
4111
  dragend: h,
4182
4112
  isDragging: g
4183
4113
  };
4184
4114
  }
4185
- function Ol(e, t, n) {
4115
+ function Oa(e, t, n) {
4186
4116
  const { dataView: o } = n;
4187
4117
  function a(s) {
4188
4118
  if (s > -1 && s < o.value.length) {
4189
- const f = o.value.splice(s, 1);
4190
- t.emit("removeItem", f[0]);
4119
+ const p = o.value.splice(s, 1);
4120
+ t.emit("removeItem", p[0]);
4191
4121
  }
4192
4122
  }
4193
4123
  return { removeItem: a };
4194
4124
  }
4195
- function Dl(e, t, n, o, a, s) {
4196
- const f = m(e.idField), g = m(e.disableField), u = m(e.draggable), r = m(e.itemClass), v = m(e.selection.multiSelect ?? !1), l = m(e.selection.multiSelectMode);
4197
- m(!0);
4198
- const { isDragging: d } = o, { activeIndex: c, focusedItemId: p, hoverIndex: y } = a, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, C = m(P());
4199
- function T(M, N) {
4200
- const k = {
4125
+ function ja(e, t, n, o, a, s) {
4126
+ const p = f(e.idField), g = f(e.disableField), u = f(e.draggable), i = f(e.itemClass), m = f(e.selection.multiSelect ?? !1), l = f(e.selection.multiSelectMode);
4127
+ f(!0);
4128
+ const { isDragging: v } = o, { activeIndex: c, focusedItemId: d, hoverIndex: y } = a, { clearSelection: h, getSelectedItems: P, toggleSelectItem: I } = s, w = f(P());
4129
+ function C($, N) {
4130
+ const B = {
4201
4131
  "f-list-view-group-item": !0,
4202
4132
  "f-list-view-draggable-item": u.value,
4203
- "f-un-click": !M.checked,
4204
- "f-un-select": !!M.raw[g.value],
4205
- "f-listview-active": M.raw.__fv_index__ === c.value,
4206
- "f-listview-hover": !d.value && N === y.value,
4207
- moving: !!M.moving
4133
+ "f-un-click": !$.checked,
4134
+ "f-un-select": !!$.raw[g.value],
4135
+ "f-listview-active": $.raw.__fv_index__ === c.value,
4136
+ "f-listview-hover": !v.value && N === y.value,
4137
+ moving: !!$.moving
4208
4138
  };
4209
- return r.value.split(" ").reduce((_, G) => (_[G] = !0, _), k), k;
4139
+ return i.value.split(" ").reduce((_, G) => (_[G] = !0, _), B), B;
4210
4140
  }
4211
- function S(M, N) {
4212
- return M.raw[f.value] || "";
4141
+ function T($, N) {
4142
+ return $.raw[p.value] || "";
4213
4143
  }
4214
- const w = B(() => !v.value);
4215
- function F(M, N, k) {
4216
- M.checked = k, !M.raw[g.value] && (w.value && (p.value = M.raw[f.value]), I(M));
4144
+ const S = k(() => !m.value);
4145
+ function F($, N, B) {
4146
+ $.checked = B, !$.raw[g.value] && (S.value && (d.value = $.raw[p.value]), I($));
4217
4147
  }
4218
- const x = B(() => v.value && l.value === "OnCheckClearByClick"), b = B(() => !v.value || v.value && (l.value === "OnCheckAndClick" || l.value === "OnClick"));
4219
- function R(M, N, k) {
4148
+ const x = k(() => m.value && l.value === "OnCheckClearByClick"), b = k(() => !m.value || m.value && (l.value === "OnCheckAndClick" || l.value === "OnClick"));
4149
+ function D($, N, B) {
4220
4150
  if (N.raw[g.value]) {
4221
- M.preventDefault(), M.stopPropagation();
4151
+ $.preventDefault(), $.stopPropagation();
4222
4152
  return;
4223
4153
  }
4224
- p.value = N.raw[f.value], c.value = k, x.value && h(n.value), b.value && (I(N), C.value = P()), t.emit("clickItem", { data: C.value, index: k }), t.emit("activeChange", C.value);
4154
+ d.value = N.raw[p.value], c.value = B, x.value && h(n.value), b.value && (I(N), w.value = P()), t.emit("clickItem", { data: w.value, index: B }), t.emit("activeChange", w.value);
4225
4155
  }
4226
4156
  return {
4227
- getKey: S,
4228
- listViewItemClass: T,
4157
+ getKey: T,
4158
+ listViewItemClass: C,
4229
4159
  onCheckItem: F,
4230
- onClickItem: R
4160
+ onClickItem: D
4231
4161
  };
4232
4162
  }
4233
- function Rl(e, t, n, o, a, s, f) {
4234
- const g = m(e.view), u = m(e.view === "CardView"), r = m({}), v = m("暂无数据"), l = El(), d = $l(e, t, o, l), c = Ol(e, t, o), p = Dl(e, t, n, d, l, s), y = B(() => ({
4163
+ function Da(e, t, n, o, a, s, p) {
4164
+ const g = f(e.view), u = f(e.view === "CardView"), i = f({}), m = f("暂无数据"), l = Ma(), v = Ea(e, t, o, l), c = Oa(e, t, o), d = ja(e, t, n, v, l, s), y = k(() => ({
4235
4165
  "f-list-view-group": !0,
4236
4166
  "d-flex": u.value,
4237
4167
  "flex-wrap": u.value
4238
- })), h = B(() => !!n.value && n.value.length > 0), P = B(() => n.value.length === 0), I = B(() => P.value && !t.slots.empty);
4239
- function C() {
4240
- return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Vl : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? Il : xe;
4168
+ })), h = k(() => !!n.value && n.value.length > 0), P = k(() => n.value.length === 0), I = k(() => P.value && !t.slots.empty);
4169
+ function w() {
4170
+ return g.value === "SingleView" ? xe : g.value === "DraggableView" ? Va : (g.value === "ContentView" || g.value === "CardView") && t.slots.content ? Ia : xe;
4241
4171
  }
4242
- const T = C(), {
4172
+ const C = w(), {
4173
+ renderItem: T
4174
+ } = C(e, t, n, v, a, l, d, s, c, p), {
4243
4175
  renderItem: S
4244
- } = T(e, t, n, d, a, l, p, s, c, f), {
4245
- renderItem: w
4246
- } = Ml(e, t, n, d, a, l, p, s, c, f), F = [S, w];
4176
+ } = $a(e, t, n, v, a, l, d, s, c, p), F = [T, S];
4247
4177
  function x() {
4248
- return n.value.filter((M) => M.visible !== !1).map((M, N) => F[M.type](M, N, r));
4178
+ return n.value.filter(($) => $.visible !== !1).map(($, N) => F[$.type]($, N, i));
4249
4179
  }
4250
4180
  function b() {
4251
- return i("div", {
4181
+ return r("div", {
4252
4182
  class: "f-list-view-emptydata"
4253
- }, [i("p", {
4183
+ }, [r("p", {
4254
4184
  class: "f-empty-title"
4255
- }, [v.value])]);
4185
+ }, [m.value])]);
4256
4186
  }
4257
- function R() {
4258
- return i("ul", {
4187
+ function D() {
4188
+ return r("ul", {
4259
4189
  class: y.value,
4260
4190
  style: "list-style: none;"
4261
4191
  }, [h.value && x(), I.value && b(), t.slots.empty && t.slots.empty()]);
4262
4192
  }
4263
4193
  return {
4264
- renderListArea: R
4194
+ renderListArea: D
4265
4195
  };
4266
4196
  }
4267
- function jl(e, t, n) {
4197
+ function Ra(e, t, n) {
4268
4198
  function o() {
4269
- return t.slots.header && i("div", {
4199
+ return t.slots.header && r("div", {
4270
4200
  class: "f-list-view-header"
4271
4201
  }, [t.slots.header()]);
4272
4202
  }
@@ -4274,52 +4204,52 @@ function jl(e, t, n) {
4274
4204
  renderHeader: o
4275
4205
  };
4276
4206
  }
4277
- function Be(e, t, n) {
4278
- const o = m(e.headerClass), a = m(e.placeholder), s = m(""), f = B(() => !s.value), g = B(() => !!s.value);
4279
- function u(d) {
4207
+ function ke(e, t, n) {
4208
+ const o = f(e.headerClass), a = f(e.placeholder), s = f(""), p = k(() => !s.value), g = k(() => !!s.value);
4209
+ function u(v) {
4280
4210
  s.value = "";
4281
4211
  }
4282
- H(s, (d) => {
4283
- n.search(d);
4212
+ W(s, (v) => {
4213
+ e.enableHighlightSearch && n.search(v), t.emit("afterSearch", v);
4284
4214
  });
4285
- const r = B(() => {
4286
- const d = {
4215
+ const i = k(() => {
4216
+ const v = {
4287
4217
  "form-group": !0,
4288
4218
  "farris-form-group": !0
4289
4219
  };
4290
- return o.value && o.value.split(" ").reduce((p, y) => (p[y] = !0, p), d), d;
4220
+ return o.value && o.value.split(" ").reduce((d, y) => (d[y] = !0, d), v), v;
4291
4221
  });
4292
- function v(d) {
4222
+ function m(v) {
4293
4223
  }
4294
4224
  function l() {
4295
- return i("div", {
4225
+ return r("div", {
4296
4226
  class: "f-list-view-header",
4297
- onClick: pt(() => v, ["prevent", "stop"])
4298
- }, [i("div", {
4299
- class: r.value
4300
- }, [i("div", {
4227
+ onClick: dt(() => m, ["prevent", "stop"])
4228
+ }, [r("div", {
4229
+ class: i.value
4230
+ }, [r("div", {
4301
4231
  class: "farris-input-wrap"
4302
- }, [i("div", {
4232
+ }, [r("div", {
4303
4233
  class: "f-cmp-inputgroup"
4304
- }, [i("div", {
4234
+ }, [r("div", {
4305
4235
  class: "input-group f-state-editable"
4306
- }, [pe(i("input", {
4236
+ }, [pe(r("input", {
4307
4237
  class: "form-control f-utils-fill text-left",
4308
- "onUpdate:modelValue": (d) => s.value = d,
4238
+ "onUpdate:modelValue": (v) => s.value = v,
4309
4239
  name: "input-group-value",
4310
4240
  type: "text",
4311
4241
  placeholder: a.value,
4312
4242
  autocomplete: "off"
4313
- }, null), [[ft, s.value]]), i("div", {
4243
+ }, null), [[pt, s.value]]), r("div", {
4314
4244
  class: "input-group-append"
4315
- }, [g.value && i("span", {
4245
+ }, [g.value && r("span", {
4316
4246
  class: "input-group-text input-group-clear",
4317
- onClick: (d) => u()
4318
- }, [i("i", {
4247
+ onClick: (v) => u()
4248
+ }, [r("i", {
4319
4249
  class: "f-icon f-icon-close-circle"
4320
- }, null)]), f.value && i("span", {
4250
+ }, null)]), p.value && r("span", {
4321
4251
  class: "input-group-text"
4322
- }, [i("span", {
4252
+ }, [r("span", {
4323
4253
  class: "f-icon f-icon-search"
4324
4254
  }, null)])])])])])])]);
4325
4255
  }
@@ -4327,47 +4257,47 @@ function Be(e, t, n) {
4327
4257
  renderHeader: l
4328
4258
  };
4329
4259
  }
4330
- const ke = /* @__PURE__ */ z({
4260
+ const Be = /* @__PURE__ */ U({
4331
4261
  name: "FListView",
4332
4262
  props: Ge,
4333
- emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
4263
+ emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
4334
4264
  setup(e, t) {
4335
- const n = m(), o = m(!0), a = m(!1), s = m([]), f = 0, g = m(e.columns), u = Bn(e), r = kn(e), v = Pn(e, u), l = In(e), d = Vn(e, /* @__PURE__ */ new Map(), r, u, l), c = Mn(e, d, u, s, t), p = Pl(e, n), y = B(() => d.dataView.value.length), h = En(e, u), P = $n(), I = On(e, {}, P), C = Dn(e, h, r, u, P, I), T = Rn(e, u, I, C), S = jn(e, u, I, C), w = Ln(e, g, d, y, f, C, T, S), {
4265
+ const n = f(), o = f(!0), a = f(!1), s = f([]), p = 0, g = f(e.columns), u = kn(e), i = Bn(e), m = Pn(e, u), l = In(e), v = Vn(e, /* @__PURE__ */ new Map(), i, u, l), c = $n(e, v, u, s, t), d = Pa(e, n), y = k(() => v.dataView.value.length), h = Mn(e, u), P = En(), I = On(e, {}, P), w = jn(e, h, i, u, P, I), C = Dn(e, u, I, w), T = Rn(e, u, I, w), S = An(e, g, v, y, p, w, C, T), {
4336
4266
  getVisualData: F
4337
- } = w;
4338
- s.value = F(0, y.value + f - 1);
4339
- const x = B(() => {
4340
- const U = {
4267
+ } = S;
4268
+ s.value = F(0, y.value + p - 1);
4269
+ const x = k(() => {
4270
+ const z = {
4341
4271
  "f-list-view": !0,
4342
4272
  "f-list-view-multiple": e.multiSelect
4343
4273
  };
4344
- return e.size !== "default" && (U[`${e.size}-item`] = !0), U;
4345
- }), b = B(() => !!t.slots.footer || o.value);
4346
- function R() {
4347
- return e.header === "SearchBar" ? Be : e.header === "ContentHeader" ? jl : Be;
4274
+ return e.size !== "default" && (z[`${e.size}-item`] = !0), z;
4275
+ }), b = k(() => !!t.slots.footer || o.value);
4276
+ function D() {
4277
+ return e.header === "SearchBar" ? ke : e.header === "ContentHeader" ? Ra : ke;
4348
4278
  }
4349
- const M = R(), {
4279
+ const $ = D(), {
4350
4280
  renderHeader: N
4351
- } = M(e, t, p), {
4352
- renderListArea: k
4353
- } = Rl(e, t, s, d, v, c, w);
4354
- function q(U) {
4355
- p.search(U);
4281
+ } = $(e, t, d), {
4282
+ renderListArea: B
4283
+ } = Da(e, t, s, v, m, c, S);
4284
+ function q(z) {
4285
+ d.search(z);
4356
4286
  }
4357
- function _(U) {
4358
- U && (d.load(U), s.value = F(0, y.value + f - 1));
4287
+ function _(z) {
4288
+ z && (v.load(z), s.value = F(0, y.value + p - 1));
4359
4289
  }
4360
4290
  t.expose({
4361
4291
  search: q,
4362
4292
  updateDataSource: _
4363
4293
  });
4364
- function G(U) {
4365
- e.multiSelect && (U.preventDefault(), U.stopPropagation());
4294
+ function G(z) {
4295
+ e.multiSelect && (z.preventDefault(), z.stopPropagation());
4366
4296
  }
4367
- return () => i("div", {
4297
+ return () => r("div", {
4368
4298
  class: x.value,
4369
4299
  onClick: G
4370
- }, [N(), i("div", {
4300
+ }, [N(), r("div", {
4371
4301
  ref: n,
4372
4302
  class: "f-list-view-content",
4373
4303
  onMouseover: () => {
@@ -4376,32 +4306,32 @@ const ke = /* @__PURE__ */ z({
4376
4306
  onMouseleave: () => {
4377
4307
  a.value = !1;
4378
4308
  }
4379
- }, [k()]), b.value && i("div", {
4309
+ }, [B()]), b.value && r("div", {
4380
4310
  class: "f-list-view-footer"
4381
4311
  }, [t.slots.footer && t.slots.footer()])]);
4382
4312
  }
4383
- }), Ll = /* @__PURE__ */ z({
4313
+ }), Aa = /* @__PURE__ */ U({
4384
4314
  name: "FTransfer",
4385
4315
  props: qe,
4386
4316
  emits: ["change", "activeChange"],
4387
4317
  setup(e, t) {
4388
- const n = m(e.identifyField), o = m("已选:"), a = m("项数据"), s = m(e.displayType), f = m(!1), g = m(e.dataSource), u = m(e.selections || []), r = B(() => u.value.map((b) => b[n.value])), v = /* @__PURE__ */ new Map(), l = m();
4389
- function d() {
4390
- const b = /* @__PURE__ */ new Map(), R = e.selectionValues || [];
4391
- R.length && R.reduce((N, k) => (N.set(k, !0), N), b);
4392
- const M = e.selections || [];
4393
- M.length && (b.clear(), M.reduce((N, k) => (N.set(k[n.value], !0), N), b)), u.value.length || (u.value = g.value.filter((N) => b.has(N[n.value])).map((N) => Object.assign({}, N))), g.value.forEach((N) => {
4394
- const k = N[n.value], q = b.has(k);
4395
- N.checked = q, q && v.set(k, N);
4318
+ const n = f(e.identifyField), o = f("已选:"), a = f("项数据"), s = f(e.displayType), p = f(!1), g = f(e.dataSource), u = f(e.selections || []), i = k(() => u.value.map((b) => b[n.value])), m = /* @__PURE__ */ new Map(), l = f();
4319
+ function v() {
4320
+ const b = /* @__PURE__ */ new Map(), D = e.selectionValues || [];
4321
+ D.length && D.reduce((N, B) => (N.set(B, !0), N), b);
4322
+ const $ = e.selections || [];
4323
+ $.length && (b.clear(), $.reduce((N, B) => (N.set(B[n.value], !0), N), b)), u.value.length || (u.value = g.value.filter((N) => b.has(N[n.value])).map((N) => Object.assign({}, N))), g.value.forEach((N) => {
4324
+ const B = N[n.value], q = b.has(B);
4325
+ N.checked = q, q && m.set(B, N);
4396
4326
  });
4397
4327
  }
4398
- d();
4399
- const c = B(() => s.value === "List"), p = B(() => s.value === "Tree");
4328
+ v();
4329
+ const c = k(() => s.value === "List"), d = k(() => s.value === "Tree");
4400
4330
  function y(b) {
4401
- u.value = b.map((R) => Object.assign({}, R)), t.emit("change", u.value);
4331
+ u.value = b.map((D) => Object.assign({}, D)), t.emit("change", u.value);
4402
4332
  }
4403
4333
  function h() {
4404
- return i(ke, {
4334
+ return r(Be, {
4405
4335
  class: "f-utils-fill",
4406
4336
  data: g.value,
4407
4337
  multiSelect: !0,
@@ -4416,83 +4346,83 @@ const ke = /* @__PURE__ */ z({
4416
4346
  draggable: !1,
4417
4347
  header: "Search",
4418
4348
  headerClass: "transfer-search-box",
4419
- "selection-values": r.value,
4349
+ "selection-values": i.value,
4420
4350
  onSelectionChange: y
4421
4351
  }, {
4422
4352
  default: () => [Y(" ")]
4423
4353
  });
4424
4354
  }
4425
4355
  function P() {
4426
- return i(J, null, null);
4356
+ return r(J, null, null);
4427
4357
  }
4428
4358
  function I() {
4429
- return i("div", {
4359
+ return r("div", {
4430
4360
  class: "f-utils-fill option-pane d-flex flex-column"
4431
- }, [i("div", {
4361
+ }, [r("div", {
4432
4362
  class: "f-utils-flex-column option-pane-content f-utils-fill"
4433
- }, [i("div", {
4363
+ }, [r("div", {
4434
4364
  class: "container columns-box d-flex f-utils-fill"
4435
- }, [c.value && h(), p.value && P()])])]);
4365
+ }, [c.value && h(), d.value && P()])])]);
4436
4366
  }
4437
- function C(b) {
4438
- const R = b[n.value];
4439
- if (R !== null || R !== void 0) {
4440
- u.value = u.value.filter((N) => N[n.value] !== R);
4441
- const M = v.get(R);
4442
- M && (M.checked = !1, v.delete(R)), t.emit("change", u.value);
4367
+ function w(b) {
4368
+ const D = b[n.value];
4369
+ if (D !== null || D !== void 0) {
4370
+ u.value = u.value.filter((N) => N[n.value] !== D);
4371
+ const $ = m.get(D);
4372
+ $ && ($.checked = !1, m.delete(D)), t.emit("change", u.value);
4443
4373
  }
4444
4374
  }
4445
- H(u, (b) => {
4375
+ W(u, (b) => {
4446
4376
  l.value.updateDataSource(b);
4447
4377
  });
4448
- function T(b) {
4449
- const R = /* @__PURE__ */ new Map();
4450
- u.value.reduce((M, N) => (M.set(N[n.value], N), M), R), u.value = b.map((M) => R.get(M[n.value])), t.emit("change", u.value);
4378
+ function C(b) {
4379
+ const D = /* @__PURE__ */ new Map();
4380
+ u.value.reduce(($, N) => ($.set(N[n.value], N), $), D), u.value = b.map(($) => D.get($[n.value])), t.emit("change", u.value);
4451
4381
  }
4452
- function S(b) {
4382
+ function T(b) {
4453
4383
  t.emit("activeChange", b);
4454
4384
  }
4455
- function w() {
4456
- return i(ke, {
4385
+ function S() {
4386
+ return r(Be, {
4457
4387
  ref: l,
4458
4388
  style: "flex:1",
4459
4389
  data: u.value,
4460
4390
  draggable: !0,
4461
4391
  view: "DraggableView",
4462
4392
  "keep-order": !0,
4463
- onChange: T,
4464
- onRemoveItem: C,
4465
- onActiveChange: S
4393
+ onChange: C,
4394
+ onRemoveItem: w,
4395
+ onActiveChange: T
4466
4396
  }, null);
4467
4397
  }
4468
4398
  function F() {
4469
- return i("div", {
4399
+ return r("div", {
4470
4400
  class: "f-utils-fill selection-pane d-flex flex-column"
4471
- }, [i("div", {
4401
+ }, [r("div", {
4472
4402
  class: "f-utils-flex-column selection-pane-content f-utils-fill"
4473
- }, [i("div", {
4403
+ }, [r("div", {
4474
4404
  class: "selection-pane-title"
4475
- }, [i("span", {
4405
+ }, [r("span", {
4476
4406
  class: "selection-title"
4477
- }, [o.value]), i("span", {
4407
+ }, [o.value]), r("span", {
4478
4408
  class: "selection-count"
4479
- }, [u.value && u.value.length]), i("span", {
4409
+ }, [u.value && u.value.length]), r("span", {
4480
4410
  class: "selection-item-title"
4481
- }, [a.value])]), i("div", {
4411
+ }, [a.value])]), r("div", {
4482
4412
  class: "container columns-box f-utils-fill d-flex"
4483
- }, [w()])])]);
4413
+ }, [S()])])]);
4484
4414
  }
4485
- const x = B(() => ({
4415
+ const x = k(() => ({
4486
4416
  transfer: !0,
4487
4417
  row: !0,
4488
- "f-utils-fill": f.value
4418
+ "f-utils-fill": p.value
4489
4419
  }));
4490
- return () => i("div", {
4420
+ return () => r("div", {
4491
4421
  class: x.value,
4492
4422
  style: "height:480px"
4493
4423
  }, [I(), F()]);
4494
4424
  }
4495
- }), Al = [
4425
+ }), La = [
4496
4426
  { id: "text", name: "文本", controlType: "text" },
4497
4427
  { id: "single-number", name: "数值", controlType: "single-number" },
4498
4428
  { id: "number", name: "数值区间", controlType: "number" },
@@ -4508,71 +4438,71 @@ const ke = /* @__PURE__ */ z({
4508
4438
  { id: "radio", name: "单选", controlType: "radio" },
4509
4439
  { id: "input-group", name: "富文本", controlType: "input-group" }
4510
4440
  ];
4511
- function Nl(e, t, n, o, a) {
4512
- const s = m(!1), f = m(), g = m([]), u = m([]), r = m([]), {
4513
- getExtendSchemaProerty: v,
4441
+ function Na(e, t, n, o, a) {
4442
+ const s = f(!1), p = f(), g = f([]), u = f([]), i = f([]), {
4443
+ getExtendSchemaProerty: m,
4514
4444
  getBasicSchemaProerty: l
4515
4445
  } = a;
4516
- function d(C) {
4517
- n.value = C.length ? C[0] : null;
4446
+ function v(w) {
4447
+ n.value = w.length ? w[0] : null;
4518
4448
  }
4519
- function c(C) {
4520
- u.value = C;
4449
+ function c(w) {
4450
+ u.value = w;
4521
4451
  }
4522
- function p() {
4523
- return Al;
4452
+ function d() {
4453
+ return La;
4524
4454
  }
4525
4455
  function y() {
4526
- r.value = p();
4527
- const C = {}, T = Q(e.modelValue) || [];
4528
- u.value = [], r.value.forEach((S) => {
4529
- const w = T.find((F) => F.id === S.id);
4530
- w ? (C[S.id] = {
4531
- id: w.id,
4532
- code: w.code,
4533
- labelCode: w.labelCode,
4534
- name: w.name,
4535
- controlType: w.editor.type,
4536
- ...w.editor
4537
- }, delete C[S.id].type, u.value.push(C[S.id])) : C[S.id] = {
4538
- ...l(S),
4539
- ...v(S.controlType)
4456
+ i.value = d();
4457
+ const w = {}, C = X(e.modelValue) || [];
4458
+ u.value = [], i.value.forEach((T) => {
4459
+ const S = C.find((F) => F.id === T.id);
4460
+ S ? (w[T.id] = {
4461
+ id: S.id,
4462
+ code: S.code,
4463
+ labelCode: S.labelCode,
4464
+ name: S.name,
4465
+ controlType: S.editor.type,
4466
+ ...S.editor
4467
+ }, delete w[T.id].type, u.value.push(w[T.id])) : w[T.id] = {
4468
+ ...l(T),
4469
+ ...m(T.controlType)
4540
4470
  };
4541
- }), o.value = C, s.value = !0, f.value = Q(C), g.value = Q(u.value);
4471
+ }), o.value = w, s.value = !0, p.value = X(w), g.value = X(u.value);
4542
4472
  }
4543
4473
  function h() {
4544
- const C = [];
4545
- u.value.forEach((T) => {
4546
- const S = o.value[T.id];
4547
- if (S) {
4474
+ const w = [];
4475
+ u.value.forEach((C) => {
4476
+ const T = o.value[C.id];
4477
+ if (T) {
4548
4478
  const {
4549
- id: w,
4479
+ id: S,
4550
4480
  code: F,
4551
4481
  labelCode: x,
4552
4482
  name: b,
4553
- ...R
4554
- } = S;
4555
- R.type = R.controlType, delete R.controlType;
4556
- const M = {
4557
- id: w,
4483
+ ...D
4484
+ } = T;
4485
+ D.type = D.controlType, delete D.controlType;
4486
+ const $ = {
4487
+ id: S,
4558
4488
  code: F,
4559
4489
  labelCode: x,
4560
4490
  name: b,
4561
- editor: R
4491
+ editor: D
4562
4492
  };
4563
- C.push(M);
4493
+ w.push($);
4564
4494
  }
4565
- }), t.emit("update:modelValue", C), g.value = Q(u.value);
4495
+ }), t.emit("update:modelValue", w), g.value = X(u.value);
4566
4496
  }
4567
4497
  function P() {
4568
- u.value = Q(g.value);
4498
+ u.value = X(g.value);
4569
4499
  }
4570
4500
  function I() {
4571
- return s.value ? i(Ll, {
4501
+ return s.value ? r(Aa, {
4572
4502
  selections: u.value,
4573
- "data-source": r.value,
4503
+ "data-source": i.value,
4574
4504
  class: "query-solution-config-transfer",
4575
- onActiveChange: d,
4505
+ onActiveChange: v,
4576
4506
  onChange: c
4577
4507
  }, null) : null;
4578
4508
  }
@@ -4584,13 +4514,13 @@ function Nl(e, t, n, o, a) {
4584
4514
  cancel: P
4585
4515
  };
4586
4516
  }
4587
- const ql = /* @__PURE__ */ new Map([
4588
- ["appearance", An]
4517
+ const qa = /* @__PURE__ */ new Map([
4518
+ ["appearance", Ln]
4589
4519
  ]);
4590
- function Gl(e, t, n) {
4520
+ function Ga(e, t, n) {
4591
4521
  return t;
4592
4522
  }
4593
- const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-design.gitee.io/button-edit.schema.json", _l = "button-edit", zl = "A Farris Input Component", Ul = "object", Ql = {
4523
+ const Wa = "https://json-schema.org/draft/2020-12/schema", Ha = "https://farris-design.gitee.io/button-edit.schema.json", _a = "button-edit", Ua = "A Farris Input Component", za = "object", Xa = {
4594
4524
  id: {
4595
4525
  description: "The unique identifier for a Input Group",
4596
4526
  type: "string"
@@ -4774,18 +4704,18 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
4774
4704
  type: "string",
4775
4705
  default: ""
4776
4706
  }
4777
- }, Kl = [
4707
+ }, Qa = [
4778
4708
  "id",
4779
4709
  "type"
4780
- ], Xl = {
4781
- $schema: Hl,
4782
- $id: Wl,
4783
- title: _l,
4784
- description: zl,
4785
- type: Ul,
4786
- properties: Ql,
4787
- required: Kl
4788
- }, Jl = "buttonEdit", Zl = "A Farris Component", Yl = "object", ei = {
4710
+ ], Ka = {
4711
+ $schema: Wa,
4712
+ $id: Ha,
4713
+ title: _a,
4714
+ description: Ua,
4715
+ type: za,
4716
+ properties: Xa,
4717
+ required: Qa
4718
+ }, Ja = "buttonEdit", Za = "A Farris Component", Ya = "object", er = {
4789
4719
  basic: {
4790
4720
  description: "Basic Infomation",
4791
4721
  title: "基本信息",
@@ -4867,12 +4797,12 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
4867
4797
  }
4868
4798
  }
4869
4799
  }
4870
- }, ti = {
4871
- title: Jl,
4872
- description: Zl,
4873
- type: Yl,
4874
- categories: ei
4875
- }, He = {
4800
+ }, tr = {
4801
+ title: Ja,
4802
+ description: Za,
4803
+ type: Ya,
4804
+ categories: er
4805
+ }, We = {
4876
4806
  /**
4877
4807
  * 组件标识
4878
4808
  */
@@ -4979,66 +4909,66 @@ const Hl = "https://json-schema.org/draft/2020-12/schema", Wl = "https://farris-
4979
4909
  */
4980
4910
  beforeOpen: { type: Function, default: null }
4981
4911
  };
4982
- Z(He, Xl, ql, Gl, ti);
4983
- const ni = {
4912
+ Z(We, Ka, qa, Ga, tr);
4913
+ const nr = {
4984
4914
  popupContentPosition: { type: Object, default: { left: 0, top: 0 } },
4985
4915
  host: { type: Object },
4986
4916
  backgroundColor: { type: String, default: "" }
4987
- }, oi = /* @__PURE__ */ z({
4917
+ }, or = /* @__PURE__ */ U({
4988
4918
  name: "FOverlay",
4989
- props: ni,
4919
+ props: nr,
4990
4920
  emits: ["click"],
4991
4921
  setup(e, t) {
4992
- const n = m(e.popupContentPosition), o = m(e.host), a = B(() => ({
4922
+ const n = f(e.popupContentPosition), o = f(e.host), a = k(() => ({
4993
4923
  backgroundColor: e.backgroundColor || "",
4994
4924
  pointerEvents: "auto"
4995
4925
  }));
4996
4926
  function s(g) {
4997
4927
  t.emit("click"), g.preventDefault(), g.stopPropagation();
4998
4928
  }
4999
- B(() => {
4929
+ k(() => {
5000
4930
  const g = o.value;
5001
4931
  if (g) {
5002
4932
  const u = g.getBoundingClientRect(), {
5003
- left: r,
5004
- top: v,
4933
+ left: i,
4934
+ top: m,
5005
4935
  height: l
5006
4936
  } = u;
5007
4937
  return {
5008
- left: r,
5009
- top: v + l
4938
+ left: i,
4939
+ top: m + l
5010
4940
  };
5011
4941
  }
5012
4942
  return n.value;
5013
4943
  });
5014
- const f = B(() => ({
4944
+ const p = k(() => ({
5015
4945
  // position: 'relative',
5016
4946
  // left: `${position.value.left}px`,
5017
4947
  // top: `${position.value.top}px`
5018
4948
  }));
5019
- return () => i(mt, {
4949
+ return () => r(ft, {
5020
4950
  to: "body"
5021
4951
  }, {
5022
4952
  default: () => {
5023
4953
  var g, u;
5024
- return [i("div", {
4954
+ return [r("div", {
5025
4955
  class: "overlay-container",
5026
- onClick: (r) => s(r),
4956
+ onClick: (i) => s(i),
5027
4957
  style: a.value
5028
- }, [i("div", {
5029
- style: f.value
4958
+ }, [r("div", {
4959
+ style: p.value
5030
4960
  }, [(u = (g = t.slots).default) == null ? void 0 : u.call(g)])])];
5031
4961
  }
5032
4962
  });
5033
4963
  }
5034
4964
  });
5035
- function ai(e) {
4965
+ function lr(e) {
5036
4966
  if (e.content && e.content.render)
5037
4967
  return e.content.render;
5038
4968
  if (e.render && typeof e.render == "function")
5039
4969
  return e.render;
5040
4970
  }
5041
- function li(e) {
4971
+ function ar(e) {
5042
4972
  const t = document.createElement("div");
5043
4973
  t.style.display = "contents";
5044
4974
  let n;
@@ -5046,13 +4976,13 @@ function li(e) {
5046
4976
  }), a = () => {
5047
4977
  o(), n && n.unmount();
5048
4978
  };
5049
- return n = vt({
4979
+ return n = mt({
5050
4980
  setup() {
5051
- yt(() => {
4981
+ vt(() => {
5052
4982
  document.body.removeChild(t);
5053
4983
  });
5054
- const s = ai(e);
5055
- return () => i(oi, {
4984
+ const s = lr(e);
4985
+ return () => r(or, {
5056
4986
  "popup-content-position": e.popupPosition,
5057
4987
  host: e.host,
5058
4988
  onClick: a,
@@ -5063,13 +4993,13 @@ function li(e) {
5063
4993
  }
5064
4994
  }), document.body.appendChild(t), n.mount(t), n;
5065
4995
  }
5066
- class ii {
4996
+ class rr {
5067
4997
  static show(t) {
5068
- return li(t);
4998
+ return ar(t);
5069
4999
  }
5070
5000
  }
5071
- const ri = Symbol("FModalService");
5072
- function We(e, t) {
5001
+ const ir = Symbol("FModalService");
5002
+ function He(e, t) {
5073
5003
  function n() {
5074
5004
  const o = e.beforeOpen || e.beforeClickButton || null;
5075
5005
  let a = Promise.resolve(!0);
@@ -5083,96 +5013,96 @@ function We(e, t) {
5083
5013
  }
5084
5014
  return { judgeCanOpen: n };
5085
5015
  }
5086
- function si(e, t, n, o, a) {
5087
- const s = m(e.buttonBehavior), f = m(e.popupOnInput), g = B(() => ({
5016
+ function sr(e, t, n, o, a) {
5017
+ const s = f(e.buttonBehavior), p = f(e.popupOnInput), g = k(() => ({
5088
5018
  "input-group-append": !0,
5089
5019
  "append-force-show": e.showButtonWhenDisabled && (e.readonly || e.disable)
5090
- })), { judgeCanOpen: u } = We(e, a), r = B(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), v = de(ri, null), l = m();
5091
- async function d(y) {
5092
- if (await u() && r.value) {
5020
+ })), { judgeCanOpen: u } = He(e, a), i = k(() => e.showButtonWhenDisabled || (!e.editable || !e.readonly) && !e.disable), m = de(ir, null), l = f();
5021
+ async function v(y) {
5022
+ if (await u() && i.value) {
5093
5023
  const h = !!t.slots.default;
5094
5024
  if (s.value === "Modal") {
5095
- const P = e.modalOptions, I = v == null ? void 0 : v.open({
5025
+ const P = e.modalOptions, I = m == null ? void 0 : m.open({
5096
5026
  ...P,
5097
5027
  render: () => t.slots.default && t.slots.default()
5098
5028
  });
5099
5029
  l.value = I == null ? void 0 : I.modalRef;
5100
5030
  }
5101
- s.value === "Overlay" && ii.show({
5031
+ s.value === "Overlay" && rr.show({
5102
5032
  // host: buttonEditRef.value,
5103
5033
  host: document.body,
5104
5034
  backgroundColor: "rgba(0,0,0,.15)",
5105
5035
  render: () => t.slots.default && t.slots.default()
5106
- }), h && s.value === "Popup" && o.togglePopup(!0), h && f.value && o.hidePopup(), t.emit("clickButton", { origin: y, value: e.modelValue });
5036
+ }), h && s.value === "Popup" && o.togglePopup(!0), h && p.value && o.hidePopup(), t.emit("clickButton", { origin: y, value: e.modelValue });
5107
5037
  }
5108
5038
  }
5109
5039
  function c(y) {
5110
5040
  t.emit("mouseEnterIcon", y);
5111
5041
  }
5112
- function p(y) {
5042
+ function d(y) {
5113
5043
  t.emit("mouseLeaveIcon", y);
5114
5044
  }
5115
5045
  return {
5116
5046
  buttonGroupClass: g,
5117
- onClickButton: d,
5047
+ onClickButton: v,
5118
5048
  onMouseEnterButton: c,
5119
- onMouseLeaveButton: p,
5049
+ onMouseLeaveButton: d,
5120
5050
  modalRef: l
5121
5051
  };
5122
5052
  }
5123
- function ui(e, t, n, o, a, s) {
5124
- const f = m(!1), g = B(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
5125
- function r(c) {
5126
- f.value = c;
5053
+ function ur(e, t, n, o, a, s) {
5054
+ const p = f(!1), g = k(() => e.enableClear && !e.readonly && !e.disable), { changeTextBoxValue: u } = s;
5055
+ function i(c) {
5056
+ p.value = c;
5127
5057
  }
5128
- H(a, () => {
5129
- r(!!a.value);
5058
+ W(a, () => {
5059
+ i(!!a.value);
5130
5060
  });
5131
- function v(c) {
5132
- const p = !e.readonly && !e.disable && e.editable, y = !e.editable;
5133
- c.stopPropagation(), (p || y) && (u("", !1), r(!f.value), t.emit("clear"));
5061
+ function m(c) {
5062
+ const d = !e.readonly && !e.disable && e.editable, y = !e.editable;
5063
+ c.stopPropagation(), (d || y) && (u("", !1), i(!p.value), t.emit("clear"));
5134
5064
  }
5135
5065
  function l(c) {
5136
5066
  if (g.value) {
5137
5067
  if (!n.value) {
5138
- r(!1);
5068
+ i(!1);
5139
5069
  return;
5140
5070
  }
5141
- !e.disable && !e.readonly && r(!0);
5071
+ !e.disable && !e.readonly && i(!0);
5142
5072
  }
5143
5073
  }
5144
- function d(c) {
5145
- g.value && r(!1);
5074
+ function v(c) {
5075
+ g.value && i(!1);
5146
5076
  }
5147
5077
  return {
5148
5078
  enableClearButton: g,
5149
- showClearButton: f,
5150
- onClearValue: v,
5079
+ showClearButton: p,
5080
+ onClearValue: m,
5151
5081
  onMouseEnterTextBox: l,
5152
- onMouseLeaveTextBox: d
5082
+ onMouseLeaveTextBox: v
5153
5083
  };
5154
5084
  }
5155
- function ci(e, t, n, o, a) {
5156
- const s = B(() => e.popupOnInput), f = B(() => e.popupOnFocus), { shouldPopupContent: g } = a, u = B(() => e.enableTitle ? n.value : ""), r = B(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), v = B(() => e.readonly || !e.editable), l = m(!1), d = B(() => !e.disable && l.value), c = B(() => ({
5085
+ function cr(e, t, n, o, a) {
5086
+ const s = k(() => e.popupOnInput), p = k(() => e.popupOnFocus), { shouldPopupContent: g } = a, u = k(() => e.enableTitle ? n.value : ""), i = k(() => (e.disable || e.readonly) && !e.forcePlaceholder ? "" : e.placeholder), m = k(() => e.readonly || !e.editable), l = f(!1), v = k(() => !e.disable && l.value), c = k(() => ({
5157
5087
  "text-left": e.textAlign === "left",
5158
5088
  "text-center": e.textAlign === "center",
5159
5089
  "text-right": e.textAlign === "right",
5160
5090
  "form-control": !0,
5161
5091
  "f-utils-fill": !0
5162
- })), p = B(() => ({
5092
+ })), d = k(() => ({
5163
5093
  "input-group": !0,
5164
5094
  "f-state-disable": e.disable,
5165
5095
  "f-state-editable": e.editable && !e.disable && !e.readonly,
5166
5096
  "f-state-readonly": e.readonly && !e.disable,
5167
- "f-state-focus": d.value
5097
+ "f-state-focus": v.value
5168
5098
  }));
5169
- function y(b, R = !0) {
5170
- n.value !== b && (n.value = b, R && t.emit("change", b), t.emit("update:modelValue", b));
5099
+ function y(b, D = !0) {
5100
+ n.value !== b && (n.value = b, D && t.emit("change", b), t.emit("update:modelValue", b));
5171
5101
  }
5172
5102
  function h(b) {
5173
5103
  g.value = !1, y(b, !0);
5174
5104
  }
5175
- H(
5105
+ W(
5176
5106
  () => e.modelValue,
5177
5107
  (b) => {
5178
5108
  n.value = b;
@@ -5184,90 +5114,90 @@ function ci(e, t, n, o, a) {
5184
5114
  function I(b) {
5185
5115
  t.emit("click", b);
5186
5116
  }
5187
- function C(b) {
5188
- e.disable || (l.value = !0, v.value || (t.emit("focus", b), f.value && !g.value && a.popup()));
5117
+ function w(b) {
5118
+ e.disable || (l.value = !0, m.value || (t.emit("focus", b), p.value && !g.value && a.popup()));
5189
5119
  }
5190
- function T(b) {
5120
+ function C(b) {
5191
5121
  t.emit("input", b.target.value);
5192
- const R = b.target.value;
5193
- o.value = R, n.value !== R && y(R, !0), s.value && !g.value && a.popup();
5122
+ const D = b.target.value;
5123
+ o.value = D, n.value !== D && y(D, !0), s.value && !g.value && a.popup();
5194
5124
  }
5195
- function S(b) {
5125
+ function T(b) {
5196
5126
  b.target.tagName !== "INPUT" && b.preventDefault(), b.stopPropagation();
5197
5127
  }
5198
- function w(b) {
5128
+ function S(b) {
5199
5129
  t.emit("keydown", b);
5200
5130
  }
5201
5131
  function F(b) {
5202
- b.key === "Enter" && (s.value || f.value) && a.hidePopup(), t.emit("keyup", b);
5132
+ b.key === "Enter" && (s.value || p.value) && a.hidePopup(), t.emit("keyup", b);
5203
5133
  }
5204
5134
  function x(b) {
5205
- const R = b.target.value;
5206
- b.stopPropagation(), y(R);
5135
+ const D = b.target.value;
5136
+ b.stopPropagation(), y(D);
5207
5137
  }
5208
5138
  return {
5209
- hasFocusedTextBox: d,
5210
- isTextBoxReadonly: v,
5139
+ hasFocusedTextBox: v,
5140
+ isTextBoxReadonly: m,
5211
5141
  textBoxClass: c,
5212
- textBoxPlaceholder: r,
5142
+ textBoxPlaceholder: i,
5213
5143
  textBoxTitle: u,
5214
- inputGroupClass: p,
5144
+ inputGroupClass: d,
5215
5145
  changeTextBoxValue: y,
5216
5146
  commitValue: h,
5217
5147
  onBlurTextBox: P,
5218
5148
  onClickTextBox: I,
5219
- onFocusTextBox: C,
5220
- onInput: T,
5221
- onKeyDownTextBox: w,
5149
+ onFocusTextBox: w,
5150
+ onInput: C,
5151
+ onKeyDownTextBox: S,
5222
5152
  onKeyUpTextBox: F,
5223
- onMouseDownTextBox: S,
5153
+ onMouseDownTextBox: T,
5224
5154
  onTextBoxValueChange: x
5225
5155
  };
5226
5156
  }
5227
- function di(e, t, n, o) {
5228
- const a = m(), s = m(!1), { judgeCanOpen: f } = We(e, o);
5157
+ function dr(e, t, n, o) {
5158
+ const a = f(), s = f(!1), { judgeCanOpen: p } = He(e, o);
5229
5159
  function g() {
5230
5160
  const l = a.value;
5231
5161
  l && l.show(n.value);
5232
5162
  }
5233
5163
  async function u(l = !1) {
5234
5164
  if (!!t.slots.default) {
5235
- if (!l && !s.value && !await f())
5165
+ if (!l && !s.value && !await p())
5236
5166
  return;
5237
5167
  s.value = !s.value, await oe(), g();
5238
5168
  }
5239
5169
  }
5240
- async function r(l = !1) {
5170
+ async function i(l = !1) {
5241
5171
  if (!!t.slots.default) {
5242
- if (!l && !await f())
5172
+ if (!l && !await p())
5243
5173
  return;
5244
5174
  s.value = !0, await oe(), g();
5245
5175
  }
5246
5176
  }
5247
- function v() {
5177
+ function m() {
5248
5178
  s.value = !1;
5249
5179
  }
5250
- return { hidePopup: v, popup: r, shouldPopupContent: s, togglePopup: u, popoverRef: a };
5180
+ return { hidePopup: m, popup: i, shouldPopupContent: s, togglePopup: u, popoverRef: a };
5251
5181
  }
5252
- function pi(e, t, n) {
5253
- const o = m(), {
5182
+ function pr(e, t, n) {
5183
+ const o = f(), {
5254
5184
  isTextBoxReadonly: a,
5255
5185
  textBoxClass: s,
5256
- textBoxPlaceholder: f,
5186
+ textBoxPlaceholder: p,
5257
5187
  textBoxTitle: g,
5258
5188
  onBlurTextBox: u,
5259
- onClickTextBox: r,
5260
- onFocusTextBox: v,
5189
+ onClickTextBox: i,
5190
+ onFocusTextBox: m,
5261
5191
  onInput: l,
5262
- onKeyDownTextBox: d,
5192
+ onKeyDownTextBox: v,
5263
5193
  onKeyUpTextBox: c,
5264
- onMouseDownTextBox: p,
5194
+ onMouseDownTextBox: d,
5265
5195
  onTextBoxValueChange: y
5266
5196
  } = n;
5267
- return K(() => {
5197
+ return Q(() => {
5268
5198
  var h, P;
5269
5199
  e.selectOnCreated && ((h = o.value) == null || h.select()), e.focusOnCreated && ((P = o.value) == null || P.focus());
5270
- }), () => i("input", {
5200
+ }), () => r("input", {
5271
5201
  ref: o,
5272
5202
  name: "input-group-value",
5273
5203
  autocomplete: e.autoComplete ? "on" : "off",
@@ -5275,7 +5205,7 @@ function pi(e, t, n) {
5275
5205
  disabled: e.disable,
5276
5206
  maxlength: e.maxLength,
5277
5207
  minlength: e.minLength,
5278
- placeholder: f.value,
5208
+ placeholder: p.value,
5279
5209
  readonly: a.value,
5280
5210
  tabindex: e.tabIndex,
5281
5211
  title: g.value,
@@ -5283,75 +5213,75 @@ function pi(e, t, n) {
5283
5213
  value: t.value,
5284
5214
  onBlur: u,
5285
5215
  onChange: y,
5286
- onClick: r,
5287
- onFocus: v,
5216
+ onClick: i,
5217
+ onFocus: m,
5288
5218
  onInput: l,
5289
- onKeydown: d,
5219
+ onKeydown: v,
5290
5220
  onKeyup: c,
5291
- onMousedown: p
5221
+ onMousedown: d
5292
5222
  }, null);
5293
5223
  }
5294
- function fi(e, t, n) {
5295
- const o = m(e.separator), {
5224
+ function fr(e, t, n) {
5225
+ const o = f(e.separator), {
5296
5226
  changeTextBoxValue: a
5297
- } = n, s = B(() => t.value ? t.value.split(o.value).map((g) => ({
5227
+ } = n, s = k(() => t.value ? t.value.split(o.value).map((g) => ({
5298
5228
  name: g,
5299
5229
  selectable: !0
5300
5230
  })) : []);
5301
- function f(g) {
5231
+ function p(g) {
5302
5232
  a(g.map((u) => u.name).join(o.value), !0);
5303
5233
  }
5304
- return () => i(Ie, {
5234
+ return () => r(Ie, {
5305
5235
  id: `${e.id}-tag-editor`,
5306
5236
  class: "form-control",
5307
5237
  data: s.value,
5308
5238
  showClose: !0,
5309
5239
  showInput: !0,
5310
- onChange: f
5240
+ onChange: p
5311
5241
  }, null);
5312
5242
  }
5313
- function mi(e, t, n, o) {
5243
+ function mr(e, t, n, o) {
5314
5244
  const {
5315
5245
  buttonGroupClass: a,
5316
5246
  onClickButton: s,
5317
- onMouseEnterButton: f,
5247
+ onMouseEnterButton: p,
5318
5248
  onMouseLeaveButton: g
5319
5249
  } = n, {
5320
5250
  enableClearButton: u,
5321
- showClearButton: r,
5322
- onClearValue: v
5323
- } = o, l = m();
5251
+ showClearButton: i,
5252
+ onClearValue: m
5253
+ } = o, l = f();
5324
5254
  return {
5325
- renderButtonGroup: () => i("div", {
5255
+ renderButtonGroup: () => r("div", {
5326
5256
  id: `${e.id}-button-group`,
5327
5257
  class: a.value
5328
- }, [u.value && pe(i("span", {
5258
+ }, [u.value && pe(r("span", {
5329
5259
  class: "input-group-text input-group-clear",
5330
- onClick: v
5331
- }, [i("i", {
5260
+ onClick: m
5261
+ }, [r("i", {
5332
5262
  class: "f-icon modal_close"
5333
- }, null)]), [[gt, r.value]]), t.slots.buttonContent ? i("span", {
5263
+ }, null)]), [[yt, i.value]]), t.slots.buttonContent ? r("span", {
5334
5264
  class: "input-group-text input-group-append-button",
5335
5265
  onClick: s,
5336
- onMouseenter: f,
5266
+ onMouseenter: p,
5337
5267
  onMouseleave: g
5338
- }, [t.slots.buttonContent()]) : e.buttonContent ? i("span", {
5268
+ }, [t.slots.buttonContent()]) : e.buttonContent ? r("span", {
5339
5269
  class: "input-group-text input-group-append-button",
5340
5270
  innerHTML: e.buttonContent,
5341
5271
  ref: l,
5342
5272
  onClick: s,
5343
- onMouseenter: f,
5273
+ onMouseenter: p,
5344
5274
  onMouseleave: g
5345
5275
  }, null) : null]),
5346
5276
  buttonHandleElement: l
5347
5277
  };
5348
5278
  }
5349
- function vi(e, t, n) {
5350
- const o = m(e.popupMinWidth), {
5279
+ function vr(e, t, n) {
5280
+ const o = f(e.popupMinWidth), {
5351
5281
  hidePopup: a,
5352
5282
  popoverRef: s
5353
5283
  } = n;
5354
- return () => i(Nn, {
5284
+ return () => r(Nn, {
5355
5285
  id: `${e.id}-popover`,
5356
5286
  ref: s,
5357
5287
  visible: !0,
@@ -5365,130 +5295,130 @@ function vi(e, t, n) {
5365
5295
  onHidden: a
5366
5296
  }, {
5367
5297
  default: () => {
5368
- var f, g;
5369
- return [(g = (f = t.slots).default) == null ? void 0 : g.call(f)];
5298
+ var p, g;
5299
+ return [(g = (p = t.slots).default) == null ? void 0 : g.call(p)];
5370
5300
  }
5371
5301
  });
5372
5302
  }
5373
- const yi = /* @__PURE__ */ z({
5303
+ const yr = /* @__PURE__ */ U({
5374
5304
  name: "FButtonEdit",
5375
- props: He,
5305
+ props: We,
5376
5306
  emits: ["updateExtendInfo", "clear", "change", "click", "clickButton", "blur", "focus", "mouseEnterIcon", "mouseLeaveIcon", "keyup", "keydown", "inputClick", "input", "update:modelValue"],
5377
5307
  setup(e, t) {
5378
- const n = m(), o = m(e.customClass), a = m(e.modelValue), s = di(e, t, n, a), {
5379
- shouldPopupContent: f,
5308
+ const n = f(), o = f(e.customClass), a = f(e.modelValue), s = dr(e, t, n, a), {
5309
+ shouldPopupContent: p,
5380
5310
  hidePopup: g,
5381
5311
  togglePopup: u
5382
- } = s, r = si(e, t, n, s, a), v = m(""), l = ci(e, t, a, v, s), {
5383
- hasFocusedTextBox: d,
5312
+ } = s, i = sr(e, t, n, s, a), m = f(""), l = cr(e, t, a, m, s), {
5313
+ hasFocusedTextBox: v,
5384
5314
  commitValue: c,
5385
- inputGroupClass: p
5386
- } = l, y = ui(e, t, a, d, v, l), {
5315
+ inputGroupClass: d
5316
+ } = l, y = ur(e, t, a, v, m, l), {
5387
5317
  onMouseEnterTextBox: h,
5388
5318
  onMouseLeaveTextBox: P
5389
- } = y, I = B(() => {
5319
+ } = y, I = k(() => {
5390
5320
  const b = {
5391
5321
  "f-button-edit": !0,
5392
5322
  "f-cmp-inputgroup": !0,
5393
5323
  "f-button-edit-nowrap": !e.wrapText
5394
5324
  };
5395
- return o.value && o.value.split(" ").reduce((R, M) => (R[M] = !0, R), b), b;
5325
+ return o.value && o.value.split(" ").reduce((D, $) => (D[$] = !0, D), b), b;
5396
5326
  });
5397
- function C() {
5398
- return e.multiSelect && e.inputType === "tag" ? fi(e, a, l) : pi(e, a, l);
5327
+ function w() {
5328
+ return e.multiSelect && e.inputType === "tag" ? fr(e, a, l) : pr(e, a, l);
5399
5329
  }
5400
- let T = C();
5401
- H([() => e.multiSelect, () => e.inputType], () => {
5402
- T = C();
5330
+ let C = w();
5331
+ W([() => e.multiSelect, () => e.inputType], () => {
5332
+ C = w();
5403
5333
  });
5404
5334
  const {
5405
- renderButtonGroup: S,
5406
- buttonHandleElement: w
5407
- } = mi(e, t, r, y), F = vi(e, t, s), x = {
5335
+ renderButtonGroup: T,
5336
+ buttonHandleElement: S
5337
+ } = mr(e, t, i, y), F = vr(e, t, s), x = {
5408
5338
  commitValue: c,
5409
5339
  elementRef: n,
5410
5340
  hidePopup: g,
5411
- shouldPopupContent: f,
5341
+ shouldPopupContent: p,
5412
5342
  togglePopup: u,
5413
5343
  openDialog: () => {
5414
- w.value && e.buttonBehavior === "Modal" && w.value.click();
5344
+ S.value && e.buttonBehavior === "Modal" && S.value.click();
5415
5345
  },
5416
5346
  getModal: () => {
5417
5347
  var b;
5418
- return e.buttonBehavior === "Modal" ? (b = r.modalRef.value) == null ? void 0 : b.value : null;
5348
+ return e.buttonBehavior === "Modal" ? (b = i.modalRef.value) == null ? void 0 : b.value : null;
5419
5349
  }
5420
5350
  };
5421
- return K(() => {
5351
+ return Q(() => {
5422
5352
  n.value.componentInstance = x, window.onresize = () => {
5423
5353
  document.body.click();
5424
5354
  };
5425
- }), t.expose(x), () => i(J, null, [i("div", Pe(t.attrs, {
5355
+ }), t.expose(x), () => r(J, null, [r("div", Pe(t.attrs, {
5426
5356
  ref: n,
5427
5357
  class: I.value,
5428
5358
  id: e.id
5429
- }), [i("div", {
5359
+ }), [r("div", {
5430
5360
  id: `${e.id}-input-group`,
5431
- class: p.value,
5361
+ class: d.value,
5432
5362
  onMouseenter: h,
5433
5363
  onMouseleave: P
5434
- }, [T(), S()])]), f.value && F()]);
5364
+ }, [C(), T()])]), p.value && F()]);
5435
5365
  }
5436
- }), gi = /* @__PURE__ */ z({
5366
+ }), gr = /* @__PURE__ */ U({
5437
5367
  name: "FQuerySolutionConfig",
5438
- props: Le,
5368
+ props: Ae,
5439
5369
  emits: ["update:modelValue"],
5440
5370
  setup(e, t) {
5441
- const n = m(null), o = B(() => "共" + e.modelValue.length + "项"), a = m(), s = Ja(e, t, n, a), {
5442
- renderPanel: f
5371
+ const n = f(null), o = k(() => "共" + e.modelValue.length + "项"), a = f(), s = Jl(e, t, n, a), {
5372
+ renderPanel: p
5443
5373
  } = s, {
5444
5374
  renderTransfer: g,
5445
5375
  initData: u,
5446
- confirm: r,
5447
- cancel: v,
5376
+ confirm: i,
5377
+ cancel: m,
5448
5378
  selectPanels: l
5449
- } = Nl(e, t, n, a, s), d = {
5379
+ } = Na(e, t, n, a, s), v = {
5450
5380
  fitContent: !1,
5451
5381
  width: 900,
5452
5382
  height: 600,
5453
5383
  title: "筛选方案配置",
5454
5384
  acceptCallback: c,
5455
- rejectCallback: p
5385
+ rejectCallback: d
5456
5386
  };
5457
5387
  function c() {
5458
- r();
5388
+ i();
5459
5389
  }
5460
- function p() {
5461
- v();
5390
+ function d() {
5391
+ m();
5462
5392
  }
5463
5393
  function y() {
5464
- return i(J, null, [g(), f()]);
5394
+ return r(J, null, [g(), p()]);
5465
5395
  }
5466
- return K(() => {
5396
+ return Q(() => {
5467
5397
  u();
5468
- }), () => i(yi, {
5398
+ }), () => r(yr, {
5469
5399
  id: e.id,
5470
5400
  "button-behavior": "Modal",
5471
- "modal-options": d,
5401
+ "modal-options": v,
5472
5402
  modelValue: o.value,
5473
5403
  "onUpdate:modelValue": (h) => o.value = h
5474
5404
  }, {
5475
- default: () => [i("div", {
5405
+ default: () => [r("div", {
5476
5406
  class: "query-solution-config d-flex f-utils-absolute-all"
5477
5407
  }, [y()])]
5478
5408
  });
5479
5409
  }
5480
- }), hi = "https://json-schema.org/draft/2020-12/schema", bi = "https://farris-design.gitee.io/filter-bar-config.schema.json", Ci = "filter-bar-config", Ti = "A Farris Container Component", Si = {
5410
+ }), hr = "https://json-schema.org/draft/2020-12/schema", br = "https://farris-design.gitee.io/filter-bar-config.schema.json", Cr = "filter-bar-config", wr = "A Farris Container Component", Tr = {
5481
5411
  fields: {
5482
5412
  description: "The unique identifier for a query solution",
5483
5413
  type: "array"
5484
5414
  }
5485
- }, Fi = {
5486
- $schema: hi,
5487
- $id: bi,
5488
- title: Ci,
5489
- description: Ti,
5490
- properties: Si
5491
- }, wi = "filter-bar-config", xi = "A Farris Component", Bi = "object", ki = {
5415
+ }, Fr = {
5416
+ $schema: hr,
5417
+ $id: br,
5418
+ title: Cr,
5419
+ description: wr,
5420
+ properties: Tr
5421
+ }, Sr = "filter-bar-config", xr = "A Farris Component", kr = "object", Br = {
5492
5422
  basic: {
5493
5423
  description: "Basic Infomation",
5494
5424
  title: "基本信息",
@@ -5572,35 +5502,35 @@ const yi = /* @__PURE__ */ z({
5572
5502
  title: "控件",
5573
5503
  properties: {}
5574
5504
  }
5575
- }, Pi = {
5576
- title: wi,
5577
- description: xi,
5578
- type: Bi,
5579
- categories: ki
5580
- }, Ii = /* @__PURE__ */ new Map([
5505
+ }, Pr = {
5506
+ title: Sr,
5507
+ description: xr,
5508
+ type: kr,
5509
+ categories: Br
5510
+ }, Ir = /* @__PURE__ */ new Map([
5581
5511
  ["appearance", ee]
5582
5512
  // ['preset', resolvePreset]
5583
5513
  ]);
5584
- function Vi(e, t, n) {
5514
+ function Vr(e, t, n) {
5585
5515
  return t;
5586
5516
  }
5587
- const Mi = {
5517
+ const $r = {
5588
5518
  fields: { type: Array, default: [] },
5589
5519
  modelValue: { type: Array, default: [] }
5590
- }, Ei = Z(Mi, Fi, Ii, Vi, Pi), Wr = {
5520
+ }, Mr = Z($r, Fr, Ir, Vr, Pr), _i = {
5591
5521
  install(e) {
5592
- e.component(re.name, re);
5522
+ e.component(ie.name, ie);
5593
5523
  },
5594
5524
  register(e, t, n, o) {
5595
- e["filter-bar"] = re, t["filter-bar"] = Te, e["filter-bar-config"] = gi, t["filter-bar-config"] = Ei;
5525
+ e["filter-bar"] = ie, t["filter-bar"] = we, e["filter-bar-config"] = gr, t["filter-bar-config"] = Mr;
5596
5526
  },
5597
5527
  registerDesigner(e, t, n) {
5598
- e["filter-bar"] = qo, t["filter-bar"] = Te;
5528
+ e["filter-bar"] = qo, t["filter-bar"] = we;
5599
5529
  }
5600
5530
  };
5601
5531
  export {
5602
- re as FFilterBar,
5603
- Wr as default,
5532
+ ie as FFilterBar,
5533
+ _i as default,
5604
5534
  he as filterBarProps,
5605
- Te as propsResolver
5535
+ we as propsResolver
5606
5536
  };