@farris/ui-vue 1.2.4 → 1.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/components/accordion/index.esm.js +58 -58
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/accordion/package.json +1 -1
  4. package/components/avatar/index.esm.js +124 -116
  5. package/components/avatar/index.umd.cjs +1 -1
  6. package/components/avatar/package.json +1 -1
  7. package/components/border-editor/package.json +1 -1
  8. package/components/button/package.json +1 -1
  9. package/components/button-edit/index.css +1 -0
  10. package/components/button-edit/package.json +1 -1
  11. package/components/button-group/package.json +1 -1
  12. package/components/calculator/package.json +1 -1
  13. package/components/calendar/package.json +1 -1
  14. package/components/capsule/index.esm.js +1 -1
  15. package/components/capsule/index.umd.cjs +1 -1
  16. package/components/capsule/package.json +1 -1
  17. package/components/checkbox/index.esm.js +219 -209
  18. package/components/checkbox/index.umd.cjs +1 -1
  19. package/components/checkbox/package.json +1 -1
  20. package/components/color-picker/package.json +1 -1
  21. package/components/combo-list/index.esm.js +36 -28
  22. package/components/combo-list/index.umd.cjs +1 -1
  23. package/components/combo-list/package.json +1 -1
  24. package/components/combo-tree/index.esm.js +340 -107
  25. package/components/combo-tree/index.umd.cjs +1 -1
  26. package/components/combo-tree/package.json +1 -1
  27. package/components/common/index.esm.js +2 -2
  28. package/components/common/index.umd.cjs +1 -1
  29. package/components/common/package.json +1 -1
  30. package/components/component/index.esm.js +36 -29
  31. package/components/component/index.umd.cjs +1 -1
  32. package/components/component/package.json +1 -1
  33. package/components/condition/index.esm.js +406 -402
  34. package/components/condition/index.umd.cjs +1 -1
  35. package/components/condition/package.json +1 -1
  36. package/components/content-container/index.esm.js +9 -13
  37. package/components/content-container/index.umd.cjs +1 -1
  38. package/components/content-container/package.json +1 -1
  39. package/components/{tree-grid/style.css → data-grid/index.css} +1 -1
  40. package/components/data-grid/index.esm.js +4439 -4273
  41. package/components/data-grid/index.umd.cjs +1 -1
  42. package/components/data-grid/package.json +1 -1
  43. package/components/data-view/index.esm.js +2904 -2892
  44. package/components/data-view/index.umd.cjs +1 -1
  45. package/components/data-view/package.json +1 -1
  46. package/components/date-picker/index.esm.js +250 -242
  47. package/components/date-picker/index.umd.cjs +1 -1
  48. package/components/date-picker/package.json +1 -1
  49. package/components/designer-canvas/index.css +1 -0
  50. package/components/designer-canvas/index.esm.js +24 -21
  51. package/components/designer-canvas/index.umd.cjs +1 -1
  52. package/components/designer-canvas/package.json +1 -1
  53. package/components/designer-outline/index.esm.js +44 -42
  54. package/components/designer-outline/index.umd.cjs +1 -1
  55. package/components/designer-outline/package.json +1 -1
  56. package/components/designer-toolbox/index.esm.js +28 -467
  57. package/components/designer-toolbox/index.umd.cjs +1 -1
  58. package/components/designer-toolbox/package.json +1 -1
  59. package/components/discussion-editor/package.json +1 -1
  60. package/components/discussion-list/package.json +1 -1
  61. package/components/drawer/package.json +1 -1
  62. package/components/dropdown/index.esm.js +86 -86
  63. package/components/dropdown/index.umd.cjs +1 -1
  64. package/components/dropdown/package.json +1 -1
  65. package/components/dynamic-form/index.esm.js +984 -928
  66. package/components/dynamic-form/index.umd.cjs +1 -1
  67. package/components/dynamic-form/package.json +1 -1
  68. package/components/dynamic-resolver/index.esm.js +56 -47
  69. package/components/dynamic-resolver/index.umd.cjs +1 -1
  70. package/components/dynamic-resolver/package.json +1 -1
  71. package/components/dynamic-view/index.esm.js +281 -277
  72. package/components/dynamic-view/index.umd.cjs +1 -1
  73. package/components/dynamic-view/package.json +1 -1
  74. package/components/enum-editor/package.json +1 -1
  75. package/components/events-editor/package.json +1 -1
  76. package/components/expression-editor/package.json +1 -1
  77. package/components/external-container/index.css +1 -0
  78. package/components/external-container/index.esm.js +1917 -1901
  79. package/components/external-container/index.umd.cjs +1 -1
  80. package/components/external-container/package.json +1 -1
  81. package/components/field-selector/index.css +1 -0
  82. package/components/field-selector/index.esm.js +4185 -4023
  83. package/components/field-selector/index.umd.cjs +1 -1
  84. package/components/field-selector/package.json +1 -1
  85. package/components/filter-bar/{style.css → index.css} +1 -1
  86. package/components/filter-bar/index.esm.js +595 -581
  87. package/components/filter-bar/index.umd.cjs +1 -1
  88. package/components/filter-bar/package.json +1 -1
  89. package/components/flow-canvas/index.css +1 -0
  90. package/components/flow-canvas/index.esm.js +38 -35
  91. package/components/flow-canvas/index.umd.cjs +1 -1
  92. package/components/flow-canvas/package.json +1 -1
  93. package/components/image-cropper/package.json +1 -1
  94. package/components/input-group/index.esm.js +256 -248
  95. package/components/input-group/index.umd.cjs +1 -1
  96. package/components/input-group/package.json +1 -1
  97. package/components/layout/package.json +1 -1
  98. package/components/list-nav/package.json +1 -1
  99. package/components/list-view/index.esm.js +1522 -1519
  100. package/components/list-view/index.umd.cjs +1 -1
  101. package/components/list-view/package.json +1 -1
  102. package/components/loading/package.json +1 -1
  103. package/components/locale/package.json +1 -1
  104. package/components/lookup/index.css +1 -0
  105. package/components/lookup/index.esm.js +4629 -4410
  106. package/components/lookup/index.umd.cjs +1 -1
  107. package/components/lookup/package.json +1 -1
  108. package/components/mapping-editor/index.css +1 -0
  109. package/components/mapping-editor/index.esm.js +4454 -4255
  110. package/components/mapping-editor/index.umd.cjs +1 -1
  111. package/components/mapping-editor/package.json +1 -1
  112. package/components/message-box/index.css +1 -0
  113. package/components/message-box/index.esm.js +397 -386
  114. package/components/message-box/index.umd.cjs +1 -1
  115. package/components/message-box/package.json +1 -1
  116. package/components/modal/index.css +1 -0
  117. package/components/modal/index.esm.js +308 -297
  118. package/components/modal/index.umd.cjs +1 -1
  119. package/components/modal/package.json +1 -1
  120. package/components/nav/index.esm.js +511 -469
  121. package/components/nav/index.umd.cjs +2 -2
  122. package/components/nav/package.json +1 -1
  123. package/components/notify/package.json +1 -1
  124. package/components/order/index.esm.js +972 -920
  125. package/components/order/index.umd.cjs +1 -1
  126. package/components/order/package.json +1 -1
  127. package/components/page-footer/package.json +1 -1
  128. package/components/page-header/index.esm.js +917 -893
  129. package/components/page-header/index.umd.cjs +1 -1
  130. package/components/page-header/package.json +1 -1
  131. package/components/pagination/index.esm.js +491 -449
  132. package/components/pagination/index.umd.cjs +1 -1
  133. package/components/pagination/package.json +1 -1
  134. package/components/popover/package.json +1 -1
  135. package/components/progress/package.json +1 -1
  136. package/components/property-editor/index.esm.js +108 -101
  137. package/components/property-editor/index.umd.cjs +2 -2
  138. package/components/property-editor/package.json +1 -1
  139. package/components/property-panel/index.esm.js +361 -349
  140. package/components/property-panel/index.umd.cjs +1 -1
  141. package/components/property-panel/package.json +1 -1
  142. package/components/radio-button/package.json +1 -1
  143. package/components/radio-group/index.esm.js +72 -64
  144. package/components/radio-group/index.umd.cjs +1 -1
  145. package/components/radio-group/package.json +1 -1
  146. package/components/rate/package.json +1 -1
  147. package/components/response-layout/package.json +1 -1
  148. package/components/response-layout-editor/{style.css → index.css} +1 -1
  149. package/components/response-layout-editor/index.esm.js +452 -439
  150. package/components/response-layout-editor/index.umd.cjs +1 -1
  151. package/components/response-layout-editor/package.json +1 -1
  152. package/components/response-toolbar/index.esm.js +610 -592
  153. package/components/response-toolbar/index.umd.cjs +1 -1
  154. package/components/response-toolbar/package.json +1 -1
  155. package/components/schema-selector/index.css +1 -0
  156. package/components/schema-selector/index.esm.js +4041 -3749
  157. package/components/schema-selector/index.umd.cjs +8 -1
  158. package/components/schema-selector/package.json +1 -1
  159. package/components/search-box/package.json +1 -1
  160. package/components/section/index.esm.js +21 -14
  161. package/components/section/index.umd.cjs +1 -1
  162. package/components/section/package.json +1 -1
  163. package/components/smoke-detector/package.json +1 -1
  164. package/components/spacing-editor/package.json +1 -1
  165. package/components/splitter/package.json +1 -1
  166. package/components/step/package.json +1 -1
  167. package/components/switch/index.esm.js +159 -178
  168. package/components/switch/index.umd.cjs +1 -1
  169. package/components/switch/package.json +1 -1
  170. package/components/tabs/index.css +1 -0
  171. package/components/tabs/index.esm.js +1450 -1408
  172. package/components/tabs/index.umd.cjs +1 -1
  173. package/components/tabs/package.json +1 -1
  174. package/components/tags/package.json +1 -1
  175. package/components/text/package.json +1 -1
  176. package/components/textarea/index.esm.js +86 -78
  177. package/components/textarea/index.umd.cjs +1 -1
  178. package/components/textarea/package.json +1 -1
  179. package/components/time-picker/index.css +1 -0
  180. package/components/time-picker/index.esm.js +387 -379
  181. package/components/time-picker/index.umd.cjs +1 -1
  182. package/components/time-picker/package.json +1 -1
  183. package/components/tooltip/package.json +1 -1
  184. package/components/transfer/index.esm.js +95 -93
  185. package/components/transfer/index.umd.cjs +1 -1
  186. package/components/transfer/package.json +1 -1
  187. package/components/{data-grid/style.css → tree-grid/index.css} +1 -1
  188. package/components/tree-grid/index.esm.js +4437 -4271
  189. package/components/tree-grid/index.umd.cjs +1 -1
  190. package/components/tree-grid/package.json +1 -1
  191. package/components/tree-view/index.esm.js +1989 -1985
  192. package/components/tree-view/index.umd.cjs +1 -1
  193. package/components/tree-view/package.json +1 -1
  194. package/components/uploader/package.json +1 -1
  195. package/components/verify-detail/package.json +1 -1
  196. package/components/video/package.json +1 -1
  197. package/components/weather/package.json +1 -1
  198. package/farris.all.esm.js +12989 -12513
  199. package/farris.all.umd.cjs +9 -9
  200. package/index.css +1 -0
  201. package/package.json +2 -2
  202. package/types/combo-tree/src/combo-tree.props.d.ts +4 -0
  203. package/types/combo-tree/src/components/tree-container.component.d.ts +13 -3
  204. package/types/combo-tree/src/components/tree-container.props.d.ts +15 -1
  205. package/types/combo-tree/src/schema/schema-mapper.d.ts +2 -0
  206. package/types/combo-tree/src/schema/schema-resolver.d.ts +2 -0
  207. package/types/components.d.ts +1 -0
  208. package/types/condition/index.d.ts +60 -1
  209. package/types/data-grid/index.d.ts +5 -5
  210. package/types/data-grid/src/data-grid.component.d.ts +2 -2
  211. package/types/data-grid/src/designer/data-grid.design.component.d.ts +2 -2
  212. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +1 -1
  213. package/types/data-view/components/column-setting/column-setting.component.d.ts +2 -1
  214. package/types/data-view/composition/types.d.ts +2 -0
  215. package/types/designer-canvas/src/composition/dg-control.d.ts +8 -8
  216. package/types/designer-canvas/src/composition/types.d.ts +1 -0
  217. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +3 -3
  218. package/types/dynamic-form/src/types.d.ts +1 -1
  219. package/types/dynamic-resolver/index.d.ts +1 -0
  220. package/types/dynamic-resolver/src/converter/pagination.converter.d.ts +6 -0
  221. package/types/dynamic-resolver/src/visible-prop-resolver.d.ts +3 -0
  222. package/types/list-view/src/composition/types.d.ts +1 -1
  223. package/types/lookup/src/designer/use-lookup-rules.d.ts +3 -0
  224. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +8 -0
  225. package/types/lookup/src/property-config/lookup.property-config.d.ts +29 -25
  226. package/types/mapping-editor/src/mapping-editor.props.d.ts +8 -0
  227. package/types/message-box/index.d.ts +84 -1
  228. package/types/modal/src/modal.component.d.ts +3 -3
  229. package/types/modal/src/modal.props.d.ts +3 -5
  230. package/types/notify/index.d.ts +84 -1
  231. package/types/page-header/src/page-header.props.d.ts +7 -0
  232. package/types/page-header/src/property-config/page-header.property-config.d.ts +1 -1
  233. package/types/property-panel/src/composition/entity/base-property.d.ts +2 -0
  234. package/types/response-toolbar/index.d.ts +9 -3
  235. package/types/response-toolbar/src/property-config/response-toolbar-item.property-config.d.ts +1 -1
  236. package/types/response-toolbar/src/property-config/response-toolbar.property-config.d.ts +1 -1
  237. package/types/response-toolbar/src/response-toolbar.component.d.ts +4 -2
  238. package/types/response-toolbar/src/response-toolbar.props.d.ts +9 -2
  239. package/types/schema-selector/src/composition/types.d.ts +3 -1
  240. package/types/schema-selector/src/schema-selector-editor.component.d.ts +5 -1
  241. package/types/tabs/src/designer/tab-toolbar.design.component.d.ts +1 -1
  242. package/types/tabs/src/tabs.props.d.ts +8 -0
  243. package/types/tree-grid/src/schema/column-resolver.d.ts +3 -0
  244. package/components/button-edit/style.css +0 -1
  245. package/components/designer-canvas/style.css +0 -1
  246. package/components/external-container/style.css +0 -1
  247. package/components/field-selector/style.css +0 -1
  248. package/components/flow-canvas/style.css +0 -1
  249. package/components/lookup/style.css +0 -1
  250. package/components/mapping-editor/style.css +0 -1
  251. package/components/message-box/style.css +0 -1
  252. package/components/modal/style.css +0 -1
  253. package/components/schema-selector/style.css +0 -1
  254. package/components/tabs/style.css +0 -1
  255. package/components/time-picker/style.css +0 -1
  256. package/style.css +0 -1
  257. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +0 -19
  258. /package/components/border-editor/{style.css → index.css} +0 -0
  259. /package/components/checkbox/{style.css → index.css} +0 -0
  260. /package/components/date-picker/{style.css → index.css} +0 -0
  261. /package/components/designer-outline/{style.css → index.css} +0 -0
  262. /package/components/designer-toolbox/{style.css → index.css} +0 -0
  263. /package/components/discussion-editor/{style.css → index.css} +0 -0
  264. /package/components/discussion-list/{style.css → index.css} +0 -0
  265. /package/components/drawer/{style.css → index.css} +0 -0
  266. /package/components/events-editor/{style.css → index.css} +0 -0
  267. /package/components/list-view/{style.css → index.css} +0 -0
  268. /package/components/order/{style.css → index.css} +0 -0
  269. /package/components/property-editor/{style.css → index.css} +0 -0
  270. /package/components/property-panel/{style.css → index.css} +0 -0
  271. /package/components/radio-button/{style.css → index.css} +0 -0
  272. /package/components/radio-group/{style.css → index.css} +0 -0
  273. /package/components/smoke-detector/{style.css → index.css} +0 -0
  274. /package/components/spacing-editor/{style.css → index.css} +0 -0
  275. /package/components/splitter/{style.css → index.css} +0 -0
  276. /package/components/switch/{style.css → index.css} +0 -0
  277. /package/components/transfer/{style.css → index.css} +0 -0
  278. /package/components/uploader/{style.css → index.css} +0 -0
  279. /package/components/weather/{style.css → index.css} +0 -0
@@ -1,110 +1,110 @@
1
- var ye = Object.defineProperty;
2
- var ge = (e, t, n) => t in e ? ye(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var $ = (e, t, n) => ge(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { ref as C, computed as B, createVNode as b, Fragment as Q, watch as N, withModifiers as he, withDirectives as ve, vModelText as be, defineComponent as H, inject as q, onMounted as ie, nextTick as Ce } from "vue";
5
- import { cloneDeep as Se } from "lodash-es";
6
- import { useIdentify as we, useHierarchy as Fe, useGroupData as Te, usePagination as ke, useDataView as Me, useSelection as Ve, useEdit as De, useVisualDataBound as je, useVisualDataCell as Ie, useVisualDataRow as Pe, useVisualGroupRow as Be, useVisualSummaryRow as Oe, useVisualData as Ae } from "@farris/ui-vue/components/data-view";
1
+ var Ce = Object.defineProperty;
2
+ var Se = (e, t, n) => t in e ? Ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var $ = (e, t, n) => Se(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import { ref as b, computed as O, createVNode as h, Fragment as Q, watch as N, withModifiers as we, withDirectives as Fe, vModelText as Te, defineComponent as H, inject as q, onMounted as ie, nextTick as ke } from "vue";
5
+ import { cloneDeep as Me } from "lodash-es";
6
+ import { useIdentify as Ve, useHierarchy as De, useGroupData as Ie, usePagination as je, useDataView as Pe, useSelection as Be, useEdit as Oe, useVisualDataBound as Ae, useVisualDataCell as xe, useVisualDataRow as Le, useVisualGroupRow as $e, useVisualSummaryRow as Ee, useVisualData as Ne } from "@farris/ui-vue/components/data-view";
7
7
  import { FCheckBox as X } from "@farris/ui-vue/components/checkbox";
8
- import Le from "@farris/ui-vue/components/list-view";
9
- import re from "@farris/ui-vue/components/button-edit";
10
- import { useDesignerComponent as xe } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
11
- const le = {}, se = {};
8
+ import He from "@farris/ui-vue/components/list-view";
9
+ import le from "@farris/ui-vue/components/button-edit";
10
+ import { useDesignerComponent as Re } from "@farris/ui-vue/components/designer-canvas/src/composition/function/use-designer-component";
11
+ const se = {}, ce = {};
12
12
  function Y(e) {
13
- const { properties: t, title: n } = e, o = Object.keys(t).reduce((c, s) => (c[s] = t[s].type === "object" && t[s].properties ? Y(t[s]) : Se(t[s].default), c), {});
13
+ const { properties: t, title: n } = e, o = Object.keys(t).reduce((c, i) => (c[i] = t[i].type === "object" && t[i].properties ? Y(t[i]) : Me(t[i].default), c), {});
14
14
  return o.id = `${n}-${Date.now()}`, o;
15
15
  }
16
16
  function R(e, t = {}) {
17
- const n = le[e];
17
+ const n = se[e];
18
18
  if (n) {
19
19
  let o = Y(n);
20
- const c = se[e];
20
+ const c = ce[e];
21
21
  return o = c ? c({ getSchemaByType: R }, o, t) : o, o;
22
22
  }
23
23
  return null;
24
24
  }
25
- function $e(e, t) {
25
+ function Ue(e, t) {
26
26
  const n = Y(t);
27
27
  return Object.keys(e).reduce((o, c) => (o[c] = e[c], o), n), n;
28
28
  }
29
- function Ee(e, t) {
29
+ function ze(e, t) {
30
30
  return Object.keys(e).filter((o) => e[o] != null).reduce((o, c) => {
31
31
  if (t.has(c)) {
32
- const s = t.get(c);
33
- if (typeof s == "string")
34
- o[s] = e[c];
32
+ const i = t.get(c);
33
+ if (typeof i == "string")
34
+ o[i] = e[c];
35
35
  else {
36
- const d = s(c, e[c], e);
37
- Object.assign(o, d);
36
+ const u = i(c, e[c], e);
37
+ Object.assign(o, u);
38
38
  }
39
39
  } else
40
40
  o[c] = e[c];
41
41
  return o;
42
42
  }, {});
43
43
  }
44
- function Ne(e, t, n = /* @__PURE__ */ new Map()) {
45
- const o = $e(e, t);
46
- return Ee(o, n);
44
+ function Ge(e, t, n = /* @__PURE__ */ new Map()) {
45
+ const o = Ue(e, t);
46
+ return ze(o, n);
47
47
  }
48
- function He(e = {}) {
49
- function t(y, h, a, i) {
48
+ function _e(e = {}) {
49
+ function t(f, y, a, r) {
50
50
  if (typeof a == "number")
51
- return i[y].length === a;
51
+ return r[f].length === a;
52
52
  if (typeof a == "object") {
53
- const F = Object.keys(a)[0], l = a[F];
54
- if (F === "not")
55
- return Number(i[y].length) !== Number(l);
56
- if (F === "moreThan")
57
- return Number(i[y].length) >= Number(l);
58
- if (F === "lessThan")
59
- return Number(i[y].length) <= Number(l);
53
+ const w = Object.keys(a)[0], s = a[w];
54
+ if (w === "not")
55
+ return Number(r[f].length) !== Number(s);
56
+ if (w === "moreThan")
57
+ return Number(r[f].length) >= Number(s);
58
+ if (w === "lessThan")
59
+ return Number(r[f].length) <= Number(s);
60
60
  }
61
61
  return !1;
62
62
  }
63
- function n(y, h, a, i) {
64
- return i[y] && i[y].propertyValue && String(i[y].propertyValue.value) === String(a);
63
+ function n(f, y, a, r) {
64
+ return r[f] && r[f].propertyValue && String(r[f].propertyValue.value) === String(a);
65
65
  }
66
66
  const o = /* @__PURE__ */ new Map([
67
67
  ["length", t],
68
68
  ["getProperty", n]
69
69
  ]);
70
- Object.keys(e).reduce((y, h) => (y.set(h, e[h]), y), o);
71
- function c(y, h) {
72
- const a = y;
73
- return typeof h == "number" ? [{ target: a, operator: "length", param: null, value: Number(h) }] : typeof h == "boolean" ? [{ target: a, operator: "getProperty", param: y, value: !!h }] : typeof h == "object" ? Object.keys(h).map((i) => {
74
- if (i === "length")
75
- return { target: a, operator: "length", param: null, value: h[i] };
76
- const F = i, l = h[i];
77
- return { target: a, operator: "getProperty", param: F, value: l };
70
+ Object.keys(e).reduce((f, y) => (f.set(y, e[y]), f), o);
71
+ function c(f, y) {
72
+ const a = f;
73
+ return typeof y == "number" ? [{ target: a, operator: "length", param: null, value: Number(y) }] : typeof y == "boolean" ? [{ target: a, operator: "getProperty", param: f, value: !!y }] : typeof y == "object" ? Object.keys(y).map((r) => {
74
+ if (r === "length")
75
+ return { target: a, operator: "length", param: null, value: y[r] };
76
+ const w = r, s = y[r];
77
+ return { target: a, operator: "getProperty", param: w, value: s };
78
78
  }) : [];
79
79
  }
80
- function s(y) {
81
- return Object.keys(y).reduce((a, i) => {
82
- const F = c(i, y[i]);
83
- return a.push(...F), a;
80
+ function i(f) {
81
+ return Object.keys(f).reduce((a, r) => {
82
+ const w = c(r, f[r]);
83
+ return a.push(...w), a;
84
84
  }, []);
85
85
  }
86
- function d(y, h) {
87
- if (o.has(y.operator)) {
88
- const a = o.get(y.operator);
89
- return a && a(y.target, y.param, y.value, h) || !1;
86
+ function u(f, y) {
87
+ if (o.has(f.operator)) {
88
+ const a = o.get(f.operator);
89
+ return a && a(f.target, f.param, f.value, y) || !1;
90
90
  }
91
91
  return !1;
92
92
  }
93
- function p(y, h) {
94
- return s(y).reduce((F, l) => F && d(l, h), !0);
93
+ function m(f, y) {
94
+ return i(f).reduce((w, s) => w && u(s, y), !0);
95
95
  }
96
- function w(y, h) {
97
- const a = Object.keys(y), i = a.includes("allOf"), F = a.includes("anyOf"), l = i || F, u = (l ? y[l ? i ? "allOf" : "anyOf" : "allOf"] : [y]).map((v) => p(v, h));
98
- return i ? !u.includes(!1) : u.includes(!0);
96
+ function S(f, y) {
97
+ const a = Object.keys(f), r = a.includes("allOf"), w = a.includes("anyOf"), s = r || w, d = (s ? f[s ? r ? "allOf" : "anyOf" : "allOf"] : [f]).map((T) => m(T, y));
98
+ return r ? !d.includes(!1) : d.includes(!0);
99
99
  }
100
- return { parseValueSchema: w };
100
+ return { parseValueSchema: S };
101
101
  }
102
- const k = {
102
+ const M = {
103
103
  Button: { type: "Button", name: "按钮", icon: "Button" },
104
104
  ButtonGroup: { type: "ButtonGroup", name: "按钮组", icon: "ButtonGroup" },
105
- ToolBar: { type: "ToolBar", name: "工具栏", icon: "ButtonGroup" },
106
- ToolBarItem: { type: "ToolBarItem", name: "工具栏项", icon: "Button" },
107
- ContentContainer: { type: "ContentContainer", name: "容器", icon: "ContentContainer" },
105
+ "response-toolbar": { type: "response-toolbar", name: "工具栏", icon: "ButtonGroup" },
106
+ "response-toolbar-item": { type: "response-toolbar-item", name: "工具栏项", icon: "Button" },
107
+ "content-container": { type: "content-container", name: "容器", icon: "ContentContainer" },
108
108
  DisplayField: { type: "DisplayField", name: "标签", icon: "DisplayField" },
109
109
  "input-group": { type: "input-group", name: "文本", icon: "TextBox" },
110
110
  textarea: { type: "textarea", name: "多行文本", icon: "MultiTextBox" },
@@ -131,15 +131,15 @@ const k = {
131
131
  "data-grid-column": { type: "data-grid-column", name: "表格列" },
132
132
  Panel: { type: "Panel", name: "面板", icon: "ContentContainer" },
133
133
  Module: { type: "Module", name: "模块", icon: "Module" },
134
- Component: { type: "Component", name: "组件", icon: "Component" },
134
+ component: { type: "component", name: "组件", icon: "Component" },
135
135
  ExternalContainer: { type: "ExternalContainer", name: "外部容器", icon: "ContentContainer" },
136
136
  Image: { type: "Image", name: "图像", icon: "Image" },
137
137
  ImageUpload: { type: "ImageUpload", name: "图片上传", icon: "imageupload" },
138
138
  HiddenContainer: { type: "HiddenContainer", name: "隐藏区域", icon: "ContentContainer" },
139
139
  ModalContainer: { type: "ModalContainer", name: "弹窗容器", icon: "ContentContainer" },
140
140
  RouteContainer: { type: "RouteContainer", name: "路由区域", icon: "ContentContainer" },
141
- Tab: { type: "Tab", name: "标签页", icon: "Tab" },
142
- TabPage: { type: "TabPage", name: "标签页项", dependentParentControl: "Tab" },
141
+ tabs: { type: "tabs", name: "标签页", icon: "Tab" },
142
+ "tab-page": { type: "tab-page", name: "标签页项", dependentParentControl: "Tab" },
143
143
  "tab-toolbar-item": { type: "tab-toolbar-item", name: "标签页工具栏按钮", icon: "Button" },
144
144
  Tag: { type: "Tag", name: "Tag", icon: "Tag" },
145
145
  Sidebar: { type: "Sidebar", name: "侧边栏", icon: "Sidebar" },
@@ -148,7 +148,7 @@ const k = {
148
148
  RichTextBox: { type: "RichTextBox", name: "富文本", icon: "RichTextBox" },
149
149
  TimeSpinner: { type: "TimeSpinner", name: "时间调节器", icon: "TimePicker" },
150
150
  TimePicker: { type: "TimePicker", name: "时间选择", icon: "TimePicker" },
151
- Section: { type: "Section", name: "分组面板", icon: "Section" },
151
+ section: { type: "section", name: "分组面板", icon: "Section" },
152
152
  SectionToolbar: { type: "SectionToolbar", name: "分组面板工具栏" },
153
153
  SectionToolbarItem: { type: "SectionToolbarItem", name: "分组面板按钮" },
154
154
  QueryScheme: { type: "QueryScheme", name: "筛选方案", icon: "QueryScheme" },
@@ -178,7 +178,7 @@ const k = {
178
178
  NavTab: { type: "NavTab", name: "标签类导航", icon: "NavTab" },
179
179
  Tags: { type: "Tags", name: "标记组", icon: "Tags" },
180
180
  Portlet: { type: "Portlet", name: "小部件", icon: "dingzhi" },
181
- Header: { type: "Header", name: "页头", icon: "Header" },
181
+ "page-header": { type: "page-header", name: "页头", icon: "Header" },
182
182
  ModalFooter: { type: "ModalFooter", name: "弹窗页脚", icon: "ModalFooter" },
183
183
  ScrollCollapsibleArea: { type: "ScrollCollapsibleArea", name: "滚动收折区域", icon: "ScrollCollapsibleArea" },
184
184
  PersonnelSelector: { type: "PersonnelSelector", name: "人员选择", icon: "PersonnelSelector" },
@@ -210,20 +210,20 @@ const k = {
210
210
  ApprovalLogs: { type: "ApprovalLogs", name: "审批记录", icon: "ApprovalLogs" },
211
211
  ApprovalComments: { type: "ApprovalComments", name: "审批意见", icon: "shenpiyijian" }
212
212
  /** 审批类 end */
213
- }, Re = {}, Ue = {};
214
- He();
215
- function Z(e, t, n = /* @__PURE__ */ new Map(), o = (d, p, w) => p, c = {}, s = (d) => d) {
216
- return le[t.title] = t, se[t.title] = o, Re[t.title] = c, Ue[t.title] = s, (d = {}) => {
217
- const p = Ne(d, t, n), w = Object.keys(e).reduce((y, h) => (y[h] = e[h].default, y), {});
218
- return Object.assign(w, p);
213
+ }, We = {}, qe = {};
214
+ _e();
215
+ function Z(e, t, n = /* @__PURE__ */ new Map(), o = (u, m, S) => m, c = {}, i = (u) => u) {
216
+ return se[t.title] = t, ce[t.title] = o, We[t.title] = c, qe[t.title] = i, (u = {}) => {
217
+ const m = Ge(u, t, n), S = Object.keys(e).reduce((f, y) => (f[y] = e[y].default, f), {});
218
+ return Object.assign(S, m);
219
219
  };
220
220
  }
221
221
  function J(e, t) {
222
222
  return { customClass: t.class, customStyle: t.style };
223
223
  }
224
- const ze = /* @__PURE__ */ new Map([
224
+ const Qe = /* @__PURE__ */ new Map([
225
225
  ["appearance", J]
226
- ]), Ge = "https://json-schema.org/draft/2020-12/schema", _e = "https://farris-design.gitee.io/order.schema.json", We = "order", qe = "A Farris Component", Qe = "object", Xe = {
226
+ ]), Xe = "https://json-schema.org/draft/2020-12/schema", Ye = "https://farris-design.gitee.io/order.schema.json", Ze = "order", Je = "A Farris Component", Ke = "object", et = {
227
227
  id: {
228
228
  description: "The unique identifier for a order",
229
229
  type: "string"
@@ -315,22 +315,22 @@ const ze = /* @__PURE__ */ new Map([
315
315
  type: "sting",
316
316
  default: ""
317
317
  }
318
- }, Ye = [
318
+ }, tt = [
319
319
  "id",
320
320
  "type"
321
- ], Ze = {
322
- $schema: Ge,
323
- $id: _e,
324
- title: We,
325
- description: qe,
326
- type: Qe,
327
- properties: Xe,
328
- required: Ye
321
+ ], nt = {
322
+ $schema: Xe,
323
+ $id: Ye,
324
+ title: Ze,
325
+ description: Je,
326
+ type: Ke,
327
+ properties: et,
328
+ required: tt
329
329
  };
330
- function Je(e, t, n) {
330
+ function ot(e, t, n) {
331
331
  return t;
332
332
  }
333
- const Ke = "order", et = "A Farris Component", tt = "object", nt = {
333
+ const at = "order", rt = "A Farris Component", it = "object", lt = {
334
334
  basic: {
335
335
  description: "Basic Infomation",
336
336
  title: "基本信息",
@@ -412,11 +412,11 @@ const Ke = "order", et = "A Farris Component", tt = "object", nt = {
412
412
  }
413
413
  }
414
414
  }
415
- }, ot = {
416
- title: Ke,
417
- description: et,
418
- type: tt,
419
- categories: nt
415
+ }, st = {
416
+ title: at,
417
+ description: rt,
418
+ type: it,
419
+ categories: lt
420
420
  }, K = {
421
421
  dataSource: {
422
422
  type: Array,
@@ -436,13 +436,13 @@ const Ke = "order", et = "A Farris Component", tt = "object", nt = {
436
436
  { id: "3", name: "开票日期", order: "asc" }
437
437
  ]
438
438
  }
439
- }, ne = Z(K, Ze, ze, Je, ot), at = /* @__PURE__ */ new Map([
439
+ }, oe = Z(K, nt, Qe, ot, st), ct = /* @__PURE__ */ new Map([
440
440
  ["appearance", J]
441
441
  ]);
442
- function it(e, t, n) {
442
+ function ut(e, t, n) {
443
443
  return t;
444
444
  }
445
- const rt = "https://json-schema.org/draft/2020-12/schema", lt = "https://farris-design.gitee.io/list-view.schema.json", st = "list-view", ct = "A Farris Component", ut = "object", dt = {
445
+ const dt = "https://json-schema.org/draft/2020-12/schema", pt = "https://farris-design.gitee.io/list-view.schema.json", ft = "list-view", mt = "A Farris Component", yt = "object", gt = {
446
446
  id: {
447
447
  description: "The unique identifier for list-view",
448
448
  type: "string"
@@ -504,18 +504,18 @@ const rt = "https://json-schema.org/draft/2020-12/schema", lt = "https://farris-
504
504
  type: "boolean",
505
505
  default: !0
506
506
  }
507
- }, pt = [
507
+ }, ht = [
508
508
  "id",
509
509
  "type"
510
- ], ft = {
511
- $schema: rt,
512
- $id: lt,
513
- title: st,
514
- description: ct,
515
- type: ut,
516
- properties: dt,
517
- required: pt
518
- }, mt = "list-view", yt = "A Farris Component", gt = "object", ht = {
510
+ ], vt = {
511
+ $schema: dt,
512
+ $id: pt,
513
+ title: ft,
514
+ description: mt,
515
+ type: yt,
516
+ properties: gt,
517
+ required: ht
518
+ }, bt = "list-view", Ct = "A Farris Component", St = "object", wt = {
519
519
  basic: {
520
520
  description: "Basic Infomation",
521
521
  title: "基本信息",
@@ -537,12 +537,12 @@ const rt = "https://json-schema.org/draft/2020-12/schema", lt = "https://farris-
537
537
  }
538
538
  }
539
539
  }
540
- }, vt = {
541
- title: mt,
542
- description: yt,
543
- type: gt,
544
- categories: ht
545
- }, ce = {
540
+ }, Ft = {
541
+ title: bt,
542
+ description: Ct,
543
+ type: St,
544
+ categories: wt
545
+ }, ue = {
546
546
  /** 列集合 */
547
547
  columns: {
548
548
  type: Array,
@@ -582,243 +582,245 @@ const rt = "https://json-schema.org/draft/2020-12/schema", lt = "https://farris-
582
582
  keepOrder: { type: Boolean, default: !1 },
583
583
  disableField: { type: String, default: "disabled" }
584
584
  };
585
- Z(ce, ft, at, it, vt);
586
- function bt(e, t) {
587
- function n(s) {
588
- const d = [];
589
- let p = s.nextNode();
590
- for (; p; )
591
- d.push(p), p = s.nextNode();
592
- return d;
593
- }
594
- function o(s, d) {
595
- const p = document.createTreeWalker(s, NodeFilter.SHOW_TEXT);
596
- return n(p).map((a) => ({ textNode: a, text: (a.textContent || "").toLocaleLowerCase() })).map(({ textNode: a, text: i }) => {
597
- const F = [];
598
- let l = 0;
599
- for (; l < i.length; ) {
600
- const m = i.indexOf(d, l);
601
- if (m === -1)
585
+ Z(ue, vt, ct, ut, Ft);
586
+ function Tt(e, t) {
587
+ function n(i) {
588
+ const u = [];
589
+ let m = i.nextNode();
590
+ for (; m; )
591
+ u.push(m), m = i.nextNode();
592
+ return u;
593
+ }
594
+ function o(i, u) {
595
+ const m = document.createTreeWalker(i, NodeFilter.SHOW_TEXT);
596
+ return n(m).map((a) => ({ textNode: a, text: (a.textContent || "").toLocaleLowerCase() })).map(({ textNode: a, text: r }) => {
597
+ const w = [];
598
+ let s = 0;
599
+ for (; s < r.length; ) {
600
+ const g = r.indexOf(u, s);
601
+ if (g === -1)
602
602
  break;
603
- F.push(m), l = m + d.length;
603
+ w.push(g), s = g + u.length;
604
604
  }
605
- return F.map((m) => {
606
- const r = new Range();
607
- return r.setStart(a, m), r.setEnd(a, m + d.length), r;
605
+ return w.map((g) => {
606
+ const l = new Range();
607
+ return l.setStart(a, g), l.setEnd(a, g + u.length), l;
608
608
  });
609
609
  }).flat();
610
610
  }
611
- function c(s) {
612
- if (!CSS.highlights || (CSS.highlights.clear(), !s || !t))
611
+ function c(i) {
612
+ if (!CSS.highlights || (CSS.highlights.clear(), !i || !t))
613
613
  return;
614
- const d = o(t.value, s.toLocaleLowerCase()), p = new Highlight(...d);
615
- CSS.highlights.set("search-result", p);
614
+ const u = o(t.value, i.toLocaleLowerCase()), m = new Highlight(...u);
615
+ CSS.highlights.set("search-result", m);
616
616
  }
617
617
  return { search: c };
618
618
  }
619
- function oe(e, t, n, o, c, s, d, p, w, y) {
620
- const h = C(e.size), a = C(e.textField), i = C(e.titleField), F = C(e.multiSelect), l = C(e.disableField), {
621
- onMouseenterItem: m,
622
- onMouseoverItem: r,
623
- onMouseoutItem: u
624
- } = s, {
625
- getKey: T,
626
- listViewItemClass: v,
627
- onCheckItem: V,
628
- onClickItem: g
629
- } = d, f = B(() => ({
630
- margin: h.value === "small" ? "0.25rem 0" : "10px 0"
619
+ function ae(e, t, n, o, c, i, u, m, S, f) {
620
+ const y = b(e.size), a = b(e.textField), r = b(e.titleField), w = b(e.multiSelect), s = b(e.disableField), {
621
+ onMouseenterItem: g,
622
+ onMouseoverItem: l,
623
+ onMouseoutItem: d
624
+ } = i, {
625
+ getKey: F,
626
+ listViewItemClass: T,
627
+ onCheckItem: I,
628
+ onClickItem: C
629
+ } = u, v = O(() => ({
630
+ margin: y.value === "small" ? "0.25rem 0" : "10px 0"
631
631
  }));
632
- function D(S, j, L) {
633
- return S.checked = p.findIndexInSelectedItems(S) > -1, b("li", {
634
- class: v(S, j),
635
- id: T(S, j),
636
- key: T(S, j),
637
- onClick: (M) => g(M, S, j),
638
- onMouseenter: (M) => m(M, S, j),
639
- onMouseover: (M) => r(M, S, j),
640
- onMouseout: (M) => u(M, S, j)
641
- }, [F.value && b("div", {
632
+ function D(p, V, A) {
633
+ return p.checked = m.findIndexInSelectedItems(p) > -1, h("li", {
634
+ class: T(p, V),
635
+ id: F(p, V),
636
+ key: F(p, V),
637
+ onClick: (k) => C(k, p, V),
638
+ onMouseenter: (k) => g(k, p, V),
639
+ onMouseover: (k) => l(k, p, V),
640
+ onMouseout: (k) => d(k, p, V)
641
+ }, [w.value && h("div", {
642
642
  class: "f-list-select",
643
- onClick: (M) => M.stopPropagation()
644
- }, [b(X, {
645
- id: "list-" + T(S, j),
643
+ onClick: (k) => k.stopPropagation()
644
+ }, [h(X, {
645
+ id: "list-" + F(p, V),
646
646
  customClass: "listview-checkbox",
647
- disabled: S[l.value],
648
- checked: S.checked,
649
- "onUpdate:checked": (M) => S.checked = M,
650
- onChange: (M) => V(S, j)
651
- }, null)]), b("div", {
647
+ disabled: p[s.value],
648
+ checked: p.checked,
649
+ "onUpdate:checked": (k) => p.checked = k,
650
+ onChange: (k) => {
651
+ I(p, V, !k.checked);
652
+ }
653
+ }, null)]), h("div", {
652
654
  class: "f-list-content"
653
- }, [b("div", {
654
- style: f.value,
655
- title: S.raw[i.value] || S.raw[a.value]
656
- }, [S.raw[a.value]])])]);
655
+ }, [h("div", {
656
+ style: v.value,
657
+ title: p.raw[r.value] || p.raw[a.value]
658
+ }, [p.raw[a.value]])])]);
657
659
  }
658
660
  return {
659
661
  renderItem: D
660
662
  };
661
663
  }
662
- function Ct(e, t, n, o, c, s, d, p, w, y) {
663
- const h = C(e.multiSelect), a = C(e.disableField), {
664
- onMouseenterItem: i,
665
- onMouseoverItem: F,
666
- onMouseoutItem: l
667
- } = s, {
668
- getKey: m,
669
- listViewItemClass: r,
670
- onCheckItem: u,
671
- onClickItem: T
672
- } = d;
673
- function v(g, f, D) {
674
- return t.slots.content ? b(Q, null, [t.slots.content && t.slots.content({
675
- item: g.raw,
676
- index: f,
664
+ function kt(e, t, n, o, c, i, u, m, S, f) {
665
+ const y = b(e.multiSelect), a = b(e.disableField), {
666
+ onMouseenterItem: r,
667
+ onMouseoverItem: w,
668
+ onMouseoutItem: s
669
+ } = i, {
670
+ getKey: g,
671
+ listViewItemClass: l,
672
+ onCheckItem: d,
673
+ onClickItem: F
674
+ } = u;
675
+ function T(C, v, D) {
676
+ return t.slots.content ? h(Q, null, [t.slots.content && t.slots.content({
677
+ item: C.raw,
678
+ index: v,
677
679
  selectedItem: D
678
- })]) : b("div", {
680
+ })]) : h("div", {
679
681
  style: "margin: 10px 0;"
680
- }, [g.raw.name]);
681
- }
682
- function V(g, f, D) {
683
- return b("li", {
684
- class: r(g, f),
685
- id: m(g, f),
686
- key: m(g, f),
687
- onClick: (S) => T(S, g, f),
688
- onMouseenter: (S) => i(S, g, f),
689
- onMouseover: (S) => F(S, g, f),
690
- onMouseout: (S) => l(S, g, f)
691
- }, [h.value && b("div", {
682
+ }, [C.raw.name]);
683
+ }
684
+ function I(C, v, D) {
685
+ return h("li", {
686
+ class: l(C, v),
687
+ id: g(C, v),
688
+ key: g(C, v),
689
+ onClick: (p) => F(p, C, v),
690
+ onMouseenter: (p) => r(p, C, v),
691
+ onMouseover: (p) => w(p, C, v),
692
+ onMouseout: (p) => s(p, C, v)
693
+ }, [y.value && h("div", {
692
694
  class: "f-list-select",
693
- onClick: (S) => S.stopPropagation()
694
- }, [b(X, {
695
- id: "list-" + m(g, f),
695
+ onClick: (p) => p.stopPropagation()
696
+ }, [h(X, {
697
+ id: "list-" + g(C, v),
696
698
  customClass: "listview-checkbox",
697
- disabled: g[a.value] || !g.checked,
698
- checked: g.checked,
699
- "onUpdate:checked": (S) => g.checked = S,
700
- onChange: (S) => u(g, f)
701
- }, null)]), b("div", {
699
+ disabled: C[a.value] || !C.checked,
700
+ checked: C.checked,
701
+ "onUpdate:checked": (p) => C.checked = p,
702
+ onChange: (p) => d(C, v, !p.checked)
703
+ }, null)]), h("div", {
702
704
  class: "f-list-content"
703
- }, [v(g, f, D)])]);
705
+ }, [T(C, v, D)])]);
704
706
  }
705
707
  return {
706
- renderItem: V
708
+ renderItem: I
707
709
  };
708
710
  }
709
- function St(e, t, n, o, c, s, d, p, w, y) {
710
- const h = C(e.multiSelect), a = C(e.disableField), {
711
- onMouseenterItem: i,
712
- onMouseoverItem: F,
713
- onMouseoutItem: l
714
- } = s, {
715
- getKey: m,
716
- listViewItemClass: r,
717
- onCheckItem: u,
718
- onClickItem: T
719
- } = d, {
720
- dragstart: v,
721
- dragenter: V,
722
- dragover: g,
723
- dragend: f
711
+ function Mt(e, t, n, o, c, i, u, m, S, f) {
712
+ const y = b(e.multiSelect), a = b(e.disableField), {
713
+ onMouseenterItem: r,
714
+ onMouseoverItem: w,
715
+ onMouseoutItem: s
716
+ } = i, {
717
+ getKey: g,
718
+ listViewItemClass: l,
719
+ onCheckItem: d,
720
+ onClickItem: F
721
+ } = u, {
722
+ dragstart: T,
723
+ dragenter: I,
724
+ dragover: C,
725
+ dragend: v
724
726
  } = o, {
725
727
  removeItem: D
726
- } = w, S = B(() => ({
727
- margin: h.value ? "10px 0" : "10px 0px 10px 14px"
728
+ } = S, p = O(() => ({
729
+ margin: y.value ? "10px 0" : "10px 0px 10px 14px"
728
730
  }));
729
- function j(I) {
730
- return b("div", {
731
- style: S.value
732
- }, [I.raw.name]);
733
- }
734
- function L() {
735
- return t.slots.itemContent ? t.slots.itemContent : j;
736
- }
737
- const M = L();
738
- function O(I, A, E) {
739
- return b("li", {
740
- class: r(I, A),
741
- id: m(I, A),
742
- key: m(I, A),
743
- onClick: (P) => T(P, I, A),
744
- onMouseenter: (P) => i(P, I, A),
745
- onMouseover: (P) => F(P, I, A),
746
- onMouseout: (P) => l(P, I, A),
731
+ function V(j) {
732
+ return h("div", {
733
+ style: p.value
734
+ }, [j.raw.name]);
735
+ }
736
+ function A() {
737
+ return t.slots.itemContent ? t.slots.itemContent : V;
738
+ }
739
+ const k = A();
740
+ function x(j, B, E) {
741
+ return h("li", {
742
+ class: l(j, B),
743
+ id: g(j, B),
744
+ key: g(j, B),
745
+ onClick: (P) => F(P, j, B),
746
+ onMouseenter: (P) => r(P, j, B),
747
+ onMouseover: (P) => w(P, j, B),
748
+ onMouseout: (P) => s(P, j, B),
747
749
  draggable: "true",
748
- onDragstart: (P) => v(P, I, A),
749
- onDragenter: (P) => V(P, A),
750
- onDragend: (P) => f(P, I),
751
- onDragover: (P) => g(P, A)
752
- }, [h.value && b("div", {
750
+ onDragstart: (P) => T(P, j, B),
751
+ onDragenter: (P) => I(P, B),
752
+ onDragend: (P) => v(P, j),
753
+ onDragover: (P) => C(P, B)
754
+ }, [y.value && h("div", {
753
755
  class: "f-list-select",
754
756
  onClick: (P) => P.stopPropagation()
755
- }, [b(X, {
756
- id: "list-" + m(I, A),
757
+ }, [h(X, {
758
+ id: "list-" + g(j, B),
757
759
  customClass: "listview-checkbox",
758
- disabled: I[a.value] || !I.checked,
759
- checked: I.checked,
760
- "onUpdate:checked": (P) => I.checked = P,
761
- onChange: (P) => u(I, A)
762
- }, null)]), b("div", {
760
+ disabled: j[a.value] || !j.checked,
761
+ checked: j.checked,
762
+ "onUpdate:checked": (P) => j.checked = P,
763
+ onChange: (P) => d(j, B, !P.checked)
764
+ }, null)]), h("div", {
763
765
  class: "f-list-content"
764
- }, [M(I)]), b("div", {
766
+ }, [k(j)]), h("div", {
765
767
  class: "f-list-remove",
766
- onClick: (P) => D(A)
767
- }, [b("div", {
768
+ onClick: (P) => D(B)
769
+ }, [h("div", {
768
770
  class: "f-list-remove-icon"
769
- }, [b("i", {
771
+ }, [h("i", {
770
772
  class: "f-icon f-icon-remove_face"
771
- }, null)])]), b("div", {
773
+ }, null)])]), h("div", {
772
774
  class: "f-list-handle"
773
- }, [b("div", null, [b("i", {
775
+ }, [h("div", null, [h("i", {
774
776
  class: "f-icon f-icon-drag-vertical"
775
777
  }, null)])])]);
776
778
  }
777
779
  return {
778
- renderItem: O
780
+ renderItem: x
779
781
  };
780
782
  }
781
- function wt(e, t, n, o, c, s, d, p, w, y) {
782
- var m;
783
- const h = C(((m = e.group) == null ? void 0 : m.groupFields) || []), {
783
+ function Vt(e, t, n, o, c, i, u, m, S, f) {
784
+ var g;
785
+ const y = b(((g = e.group) == null ? void 0 : g.groupFields) || []), {
784
786
  collpaseGroupIconClass: a
785
787
  } = c, {
786
- toggleGroupRow: i
787
- } = y;
788
- function F(r, u) {
789
- u.collapse = !u.collapse, n.value = i(u.collapse ? "collapse" : "expand", u, n.value);
788
+ toggleGroupRow: r
789
+ } = f;
790
+ function w(l, d) {
791
+ d.collapse = !d.collapse, n.value = r(d.collapse ? "collapse" : "expand", d, n.value);
790
792
  }
791
- function l(r, u, T) {
792
- return r.layer > -1 && b("div", {
793
+ function s(l, d, F) {
794
+ return l.layer > -1 && h("div", {
793
795
  class: "f-navlookup-recentHeader",
794
- onClick: (v) => F(v, r)
795
- }, [b("div", {
796
+ onClick: (T) => w(T, l)
797
+ }, [h("div", {
796
798
  class: "fv-grid-group-row-icon"
797
- }, [b("span", {
798
- class: a(r)
799
- }, null)]), b("div", {
799
+ }, [h("span", {
800
+ class: a(l)
801
+ }, null)]), h("div", {
800
802
  class: "f-navlookup-recommandLabel"
801
- }, [r.raw[h.value[r.layer]]])]);
803
+ }, [l.raw[y.value[l.layer]]])]);
802
804
  }
803
805
  return {
804
- renderItem: l
806
+ renderItem: s
805
807
  };
806
808
  }
807
- function Ft() {
808
- const e = C(-1), t = C(""), n = C(-1), o = C(!1);
809
- function c(y, h, a) {
809
+ function Dt() {
810
+ const e = b(-1), t = b(""), n = b(-1), o = b(!1);
811
+ function c(f, y, a) {
810
812
  n.value = a;
811
813
  }
812
- function s(y, h, a) {
814
+ function i(f, y, a) {
813
815
  o.value || (n.value = a);
814
816
  }
815
- function d(y, h, a) {
817
+ function u(f, y, a) {
816
818
  n.value = -1;
817
819
  }
818
- function p() {
820
+ function m() {
819
821
  o.value = !0;
820
822
  }
821
- function w() {
823
+ function S() {
822
824
  o.value = !1;
823
825
  }
824
826
  return {
@@ -826,126 +828,126 @@ function Ft() {
826
828
  focusedItemId: t,
827
829
  hoverIndex: n,
828
830
  onMouseenterItem: c,
829
- onMouseoverItem: s,
830
- onMouseoutItem: d,
831
- resumeHover: w,
832
- suspendHover: p
831
+ onMouseoverItem: i,
832
+ onMouseoutItem: u,
833
+ resumeHover: S,
834
+ suspendHover: m
833
835
  };
834
836
  }
835
- function Tt(e, t, n, o) {
836
- const c = C(e.idField), { dataView: s } = n, d = C(-1), p = C(!1), { activeIndex: w, focusedItemId: y, hoverIndex: h, resumeHover: a, suspendHover: i } = o;
837
- function F(u, T, v) {
838
- u.stopPropagation(), i(), T && setTimeout(() => {
839
- d.value = v, p.value = !0, T.moving = !0;
837
+ function It(e, t, n, o) {
838
+ const c = b(e.idField), { dataView: i } = n, u = b(-1), m = b(!1), { activeIndex: S, focusedItemId: f, hoverIndex: y, resumeHover: a, suspendHover: r } = o;
839
+ function w(d, F, T) {
840
+ d.stopPropagation(), r(), F && setTimeout(() => {
841
+ u.value = T, m.value = !0, F.moving = !0;
840
842
  });
841
843
  }
842
- function l(u, T) {
843
- if (u.preventDefault(), d.value !== T) {
844
- const v = s.value[d.value], V = s.value;
845
- V.splice(d.value, 1), V.splice(T, 0, v), d.value = T;
844
+ function s(d, F) {
845
+ if (d.preventDefault(), u.value !== F) {
846
+ const T = i.value[u.value], I = i.value;
847
+ I.splice(u.value, 1), I.splice(F, 0, T), u.value = F;
846
848
  }
847
849
  }
848
- function m(u, T) {
849
- u.preventDefault(), u.dataTransfer && (u.dataTransfer.dropEffect = "move");
850
+ function g(d, F) {
851
+ d.preventDefault(), d.dataTransfer && (d.dataTransfer.dropEffect = "move");
850
852
  }
851
- function r(u, T) {
852
- T && (T.moving = !1), s.value.forEach((v, V) => {
853
- v.__fv_index__ = V;
854
- }), p.value = !1, a(), h.value = T.raw.__fv_index__, w.value = T.raw.__fv_index__, y.value = T.raw[c.value], t.emit("change", s.value), t.emit("activeChange", T);
853
+ function l(d, F) {
854
+ F && (F.moving = !1), i.value.forEach((T, I) => {
855
+ T.__fv_index__ = I;
856
+ }), m.value = !1, a(), y.value = F.raw.__fv_index__, S.value = F.raw.__fv_index__, f.value = F.raw[c.value], t.emit("change", i.value), t.emit("activeChange", F);
855
857
  }
856
858
  return {
857
- dragstart: F,
858
- dragenter: l,
859
- dragover: m,
860
- dragend: r,
861
- isDragging: p
859
+ dragstart: w,
860
+ dragenter: s,
861
+ dragover: g,
862
+ dragend: l,
863
+ isDragging: m
862
864
  };
863
865
  }
864
- function kt(e, t, n) {
866
+ function jt(e, t, n) {
865
867
  const { dataView: o } = n;
866
- function c(s) {
867
- if (s > -1 && s < o.value.length) {
868
- const d = o.value.splice(s, 1);
869
- t.emit("removeItem", d[0]);
868
+ function c(i) {
869
+ if (i > -1 && i < o.value.length) {
870
+ const u = o.value.splice(i, 1);
871
+ t.emit("removeItem", u[0]);
870
872
  }
871
873
  }
872
874
  return { removeItem: c };
873
875
  }
874
- function Mt(e, t, n, o, c, s) {
875
- const d = C(e.idField), p = C(e.disableField), w = C(e.draggable), y = C(e.itemClass), h = C(e.selection.multiSelect ?? !1), a = C(e.selection.multiSelectMode);
876
- C(!0);
877
- const { isDragging: i } = o, { activeIndex: F, focusedItemId: l, hoverIndex: m } = c, { clearSelection: r, getSelectedItems: u, toggleSelectItem: T } = s, v = C(u());
878
- function V(M, O) {
879
- const I = {
876
+ function Pt(e, t, n, o, c, i) {
877
+ const u = b(e.idField), m = b(e.disableField), S = b(e.draggable), f = b(e.itemClass), y = b(e.selection.multiSelect ?? !1), a = b(e.selection.multiSelectMode);
878
+ b(!0);
879
+ const { isDragging: r } = o, { activeIndex: w, focusedItemId: s, hoverIndex: g } = c, { clearSelection: l, getSelectedItems: d, toggleSelectItem: F } = i, T = b(d());
880
+ function I(k, x) {
881
+ const j = {
880
882
  "f-list-view-group-item": !0,
881
- "f-list-view-draggable-item": w.value,
882
- "f-un-click": !M.checked,
883
- "f-un-select": !!M.raw[p.value],
884
- "f-listview-active": M.raw.__fv_index__ === F.value,
885
- "f-listview-hover": !i.value && O === m.value,
886
- moving: !!M.moving
883
+ "f-list-view-draggable-item": S.value,
884
+ "f-un-click": !k.checked,
885
+ "f-un-select": !!k.raw[m.value],
886
+ "f-listview-active": k.raw.__fv_index__ === w.value,
887
+ "f-listview-hover": !r.value && x === g.value,
888
+ moving: !!k.moving
887
889
  };
888
- return y.value.split(" ").reduce((E, P) => (E[P] = !0, E), I), I;
890
+ return f.value.split(" ").reduce((E, P) => (E[P] = !0, E), j), j;
889
891
  }
890
- function g(M, O) {
891
- return M.raw[d.value] || "";
892
+ function C(k, x) {
893
+ return k.raw[u.value] || "";
892
894
  }
893
- const f = B(() => !h.value);
894
- function D(M, O) {
895
- !M.checked || M.raw[p.value] || (f.value && (l.value = M.raw[d.value]), T(M));
895
+ const v = O(() => !y.value);
896
+ function D(k, x, j) {
897
+ k.checked = j, !k.raw[m.value] && (v.value && (s.value = k.raw[u.value]), F(k));
896
898
  }
897
- const S = B(() => h.value && a.value === "OnCheckClearByClick"), j = B(() => !h.value || h.value && (a.value === "OnCheckAndClick" || a.value === "OnClick"));
898
- function L(M, O, I) {
899
- if (O.raw[p.value]) {
900
- M.preventDefault(), M.stopPropagation();
899
+ const p = O(() => y.value && a.value === "OnCheckClearByClick"), V = O(() => !y.value || y.value && (a.value === "OnCheckAndClick" || a.value === "OnClick"));
900
+ function A(k, x, j) {
901
+ if (x.raw[m.value]) {
902
+ k.preventDefault(), k.stopPropagation();
901
903
  return;
902
904
  }
903
- l.value = O.raw[d.value], F.value = I, S.value && r(n.value), j.value && (T(O), v.value = u()), t.emit("clickItem", { data: v.value, index: I }), t.emit("activeChange", v.value);
905
+ s.value = x.raw[u.value], w.value = j, p.value && l(n.value), V.value && (F(x), T.value = d()), t.emit("clickItem", { data: T.value, index: j }), t.emit("activeChange", T.value);
904
906
  }
905
907
  return {
906
- getKey: g,
907
- listViewItemClass: V,
908
+ getKey: C,
909
+ listViewItemClass: I,
908
910
  onCheckItem: D,
909
- onClickItem: L
911
+ onClickItem: A
910
912
  };
911
913
  }
912
- function Vt(e, t, n, o, c, s, d) {
913
- const p = C(e.view), w = C(e.view === "CardView"), y = C({}), h = C("暂无数据"), a = Ft(), i = Tt(e, t, o, a), F = kt(e, t, o), l = Mt(e, t, n, i, a, s), m = B(() => ({
914
+ function Bt(e, t, n, o, c, i, u) {
915
+ const m = b(e.view), S = b(e.view === "CardView"), f = b({}), y = b("暂无数据"), a = Dt(), r = It(e, t, o, a), w = jt(e, t, o), s = Pt(e, t, n, r, a, i), g = O(() => ({
914
916
  "f-list-view-group": !0,
915
- "d-flex": w.value,
916
- "flex-wrap": w.value
917
- })), r = B(() => !!n.value && n.value.length > 0), u = B(() => n.value.length === 0), T = B(() => u.value && !t.slots.empty);
918
- function v() {
919
- return p.value === "SingleView" ? oe : p.value === "DraggableView" ? St : (p.value === "ContentView" || p.value === "CardView") && t.slots.content ? Ct : oe;
917
+ "d-flex": S.value,
918
+ "flex-wrap": S.value
919
+ })), l = O(() => !!n.value && n.value.length > 0), d = O(() => n.value.length === 0), F = O(() => d.value && !t.slots.empty);
920
+ function T() {
921
+ return m.value === "SingleView" ? ae : m.value === "DraggableView" ? Mt : (m.value === "ContentView" || m.value === "CardView") && t.slots.content ? kt : ae;
920
922
  }
921
- const V = v(), {
922
- renderItem: g
923
- } = V(e, t, n, i, c, a, l, s, F, d), {
924
- renderItem: f
925
- } = wt(e, t, n, i, c, a, l, s, F, d), D = [g, f];
926
- function S() {
927
- return n.value.filter((M) => M.visible !== !1).map((M, O) => D[M.type](M, O, y));
923
+ const I = T(), {
924
+ renderItem: C
925
+ } = I(e, t, n, r, c, a, s, i, w, u), {
926
+ renderItem: v
927
+ } = Vt(e, t, n, r, c, a, s, i, w, u), D = [C, v];
928
+ function p() {
929
+ return n.value.filter((k) => k.visible !== !1).map((k, x) => D[k.type](k, x, f));
928
930
  }
929
- function j() {
930
- return b("div", {
931
+ function V() {
932
+ return h("div", {
931
933
  class: "f-list-view-emptydata"
932
- }, [b("p", {
934
+ }, [h("p", {
933
935
  class: "f-empty-title"
934
- }, [h.value])]);
936
+ }, [y.value])]);
935
937
  }
936
- function L() {
937
- return b("ul", {
938
- class: m.value,
938
+ function A() {
939
+ return h("ul", {
940
+ class: g.value,
939
941
  style: "list-style: none;"
940
- }, [r.value && S(), T.value && j(), t.slots.empty && t.slots.empty()]);
942
+ }, [l.value && p(), F.value && V(), t.slots.empty && t.slots.empty()]);
941
943
  }
942
944
  return {
943
- renderListArea: L
945
+ renderListArea: A
944
946
  };
945
947
  }
946
- function Dt(e, t, n) {
948
+ function Ot(e, t, n) {
947
949
  function o() {
948
- return t.slots.header && b("div", {
950
+ return t.slots.header && h("div", {
949
951
  class: "f-list-view-header"
950
952
  }, [t.slots.header()]);
951
953
  }
@@ -953,52 +955,52 @@ function Dt(e, t, n) {
953
955
  renderHeader: o
954
956
  };
955
957
  }
956
- function ae(e, t, n) {
957
- const o = C(e.headerClass), c = C(e.placeholder), s = C(""), d = B(() => !s.value), p = B(() => !!s.value);
958
- function w(i) {
959
- s.value = "";
958
+ function re(e, t, n) {
959
+ const o = b(e.headerClass), c = b(e.placeholder), i = b(""), u = O(() => !i.value), m = O(() => !!i.value);
960
+ function S(r) {
961
+ i.value = "";
960
962
  }
961
- N(s, (i) => {
962
- n.search(i);
963
+ N(i, (r) => {
964
+ n.search(r);
963
965
  });
964
- const y = B(() => {
965
- const i = {
966
+ const f = O(() => {
967
+ const r = {
966
968
  "form-group": !0,
967
969
  "farris-form-group": !0
968
970
  };
969
- return o.value && o.value.split(" ").reduce((l, m) => (l[m] = !0, l), i), i;
971
+ return o.value && o.value.split(" ").reduce((s, g) => (s[g] = !0, s), r), r;
970
972
  });
971
- function h(i) {
973
+ function y(r) {
972
974
  }
973
975
  function a() {
974
- return b("div", {
976
+ return h("div", {
975
977
  class: "f-list-view-header",
976
- onClick: he(() => h, ["prevent", "stop"])
977
- }, [b("div", {
978
- class: y.value
979
- }, [b("div", {
978
+ onClick: we(() => y, ["prevent", "stop"])
979
+ }, [h("div", {
980
+ class: f.value
981
+ }, [h("div", {
980
982
  class: "farris-input-wrap"
981
- }, [b("div", {
983
+ }, [h("div", {
982
984
  class: "f-cmp-inputgroup"
983
- }, [b("div", {
985
+ }, [h("div", {
984
986
  class: "input-group f-state-editable"
985
- }, [ve(b("input", {
987
+ }, [Fe(h("input", {
986
988
  class: "form-control f-utils-fill text-left",
987
- "onUpdate:modelValue": (i) => s.value = i,
989
+ "onUpdate:modelValue": (r) => i.value = r,
988
990
  name: "input-group-value",
989
991
  type: "text",
990
992
  placeholder: c.value,
991
993
  autocomplete: "off"
992
- }, null), [[be, s.value]]), b("div", {
994
+ }, null), [[Te, i.value]]), h("div", {
993
995
  class: "input-group-append"
994
- }, [p.value && b("span", {
996
+ }, [m.value && h("span", {
995
997
  class: "input-group-text input-group-clear",
996
- onClick: (i) => w()
997
- }, [b("i", {
998
+ onClick: (r) => S()
999
+ }, [h("i", {
998
1000
  class: "f-icon f-icon-close-circle"
999
- }, null)]), d.value && b("span", {
1001
+ }, null)]), u.value && h("span", {
1000
1002
  class: "input-group-text"
1001
- }, [b("span", {
1003
+ }, [h("span", {
1002
1004
  class: "f-icon f-icon-search"
1003
1005
  }, null)])])])])])])]);
1004
1006
  }
@@ -1006,47 +1008,47 @@ function ae(e, t, n) {
1006
1008
  renderHeader: a
1007
1009
  };
1008
1010
  }
1009
- const ue = /* @__PURE__ */ H({
1011
+ const de = /* @__PURE__ */ H({
1010
1012
  name: "FListView",
1011
- props: ce,
1013
+ props: ue,
1012
1014
  emits: ["checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
1013
1015
  setup(e, t) {
1014
- const n = C(), o = C(!0), c = C(!1), s = C([]), d = 0, p = C(e.columns), w = we(e), y = Fe(e), h = Te(e, w), a = ke(e), i = Me(e, /* @__PURE__ */ new Map(), y, w, a), F = Ve(e, i, w, s, t), l = bt(e, n), m = B(() => i.dataView.value.length), r = De(e, w), u = je(), T = Ie(e, {}, u), v = Pe(e, r, y, w, u, T), V = Be(e, w, T, v), g = Oe(e, w, T, v), f = Ae(e, p, i, m, d, v, V, g), {
1016
+ const n = b(), o = b(!0), c = b(!1), i = b([]), u = 0, m = b(e.columns), S = Ve(e), f = De(e), y = Ie(e, S), a = je(e), r = Pe(e, /* @__PURE__ */ new Map(), f, S, a), w = Be(e, r, S, i, t), s = Tt(e, n), g = O(() => r.dataView.value.length), l = Oe(e, S), d = Ae(), F = xe(e, {}, d), T = Le(e, l, f, S, d, F), I = $e(e, S, F, T), C = Ee(e, S, F, T), v = Ne(e, m, r, g, u, T, I, C), {
1015
1017
  getVisualData: D
1016
- } = f;
1017
- s.value = D(0, m.value + d - 1);
1018
- const S = B(() => {
1019
- const x = {
1018
+ } = v;
1019
+ i.value = D(0, g.value + u - 1);
1020
+ const p = O(() => {
1021
+ const L = {
1020
1022
  "f-list-view": !0,
1021
1023
  "f-list-view-multiple": e.multiSelect
1022
1024
  };
1023
- return e.size !== "default" && (x[`${e.size}-item`] = !0), x;
1024
- }), j = B(() => !!t.slots.footer || o.value);
1025
- function L() {
1026
- return e.header === "SearchBar" ? ae : e.header === "ContentHeader" ? Dt : ae;
1025
+ return e.size !== "default" && (L[`${e.size}-item`] = !0), L;
1026
+ }), V = O(() => !!t.slots.footer || o.value);
1027
+ function A() {
1028
+ return e.header === "SearchBar" ? re : e.header === "ContentHeader" ? Ot : re;
1027
1029
  }
1028
- const M = L(), {
1029
- renderHeader: O
1030
- } = M(e, t, l), {
1031
- renderListArea: I
1032
- } = Vt(e, t, s, i, h, F, f);
1033
- function A(x) {
1034
- l.search(x);
1030
+ const k = A(), {
1031
+ renderHeader: x
1032
+ } = k(e, t, s), {
1033
+ renderListArea: j
1034
+ } = Bt(e, t, i, r, y, w, v);
1035
+ function B(L) {
1036
+ s.search(L);
1035
1037
  }
1036
- function E(x) {
1037
- x && (i.load(x), s.value = D(0, m.value + d - 1));
1038
+ function E(L) {
1039
+ L && (r.load(L), i.value = D(0, g.value + u - 1));
1038
1040
  }
1039
1041
  t.expose({
1040
- search: A,
1042
+ search: B,
1041
1043
  updateDataSource: E
1042
1044
  });
1043
- function P(x) {
1044
- e.multiSelect && (x.preventDefault(), x.stopPropagation());
1045
+ function P(L) {
1046
+ e.multiSelect && (L.preventDefault(), L.stopPropagation());
1045
1047
  }
1046
- return () => b("div", {
1047
- class: S.value,
1048
+ return () => h("div", {
1049
+ class: p.value,
1048
1050
  onClick: P
1049
- }, [O(), b("div", {
1051
+ }, [x(), h("div", {
1050
1052
  ref: n,
1051
1053
  class: "f-list-view-content",
1052
1054
  onMouseover: () => {
@@ -1055,11 +1057,11 @@ const ue = /* @__PURE__ */ H({
1055
1057
  onMouseleave: () => {
1056
1058
  c.value = !1;
1057
1059
  }
1058
- }, [I()]), j.value && b("div", {
1060
+ }, [j()]), V.value && h("div", {
1059
1061
  class: "f-list-view-footer"
1060
1062
  }, [t.slots.footer && t.slots.footer()])]);
1061
1063
  }
1062
- }), jt = {
1064
+ }), At = {
1063
1065
  /**
1064
1066
  * 组件标识
1065
1067
  */
@@ -1085,7 +1087,7 @@ const ue = /* @__PURE__ */ H({
1085
1087
  */
1086
1088
  customClass: { type: Object, default: {} }
1087
1089
  };
1088
- function It(e, t) {
1090
+ function xt(e, t) {
1089
1091
  function n(o) {
1090
1092
  o.stopPropagation(), e.disabled || t.emit("click", o);
1091
1093
  }
@@ -1093,50 +1095,50 @@ function It(e, t) {
1093
1095
  onClickButton: n
1094
1096
  };
1095
1097
  }
1096
- function Pt(e) {
1097
- const t = B(() => {
1098
+ function Lt(e) {
1099
+ const t = O(() => {
1098
1100
  const o = {
1099
1101
  "f-icon": !0
1100
1102
  };
1101
1103
  if (e.icon) {
1102
1104
  const c = e.icon.trim().split(" ");
1103
- c && c.length && c.reduce((s, d) => (s[d] = !0, s), o);
1105
+ c && c.length && c.reduce((i, u) => (i[u] = !0, i), o);
1104
1106
  }
1105
1107
  return o;
1106
- }), n = B(() => !!(e.icon && e.icon.trim()));
1108
+ }), n = O(() => !!(e.icon && e.icon.trim()));
1107
1109
  return { iconClass: t, shouldShowIcon: n };
1108
1110
  }
1109
- const de = /* @__PURE__ */ H({
1111
+ const pe = /* @__PURE__ */ H({
1110
1112
  name: "FButton",
1111
- props: jt,
1113
+ props: At,
1112
1114
  emits: ["click"],
1113
1115
  setup(e, t) {
1114
1116
  const {
1115
1117
  onClickButton: n
1116
- } = It(e, t), {
1118
+ } = xt(e, t), {
1117
1119
  iconClass: o,
1118
1120
  shouldShowIcon: c
1119
- } = Pt(e), s = B(() => {
1120
- const d = {
1121
+ } = Lt(e), i = O(() => {
1122
+ const u = {
1121
1123
  btn: !0,
1122
1124
  "btn-lg": e.size === "large",
1123
1125
  "btn-md": e.size !== "large" && e.size !== "small",
1124
1126
  "btn-sm": e.size === "small",
1125
1127
  "btn-icontext": c.value
1126
1128
  };
1127
- return d[`btn-${e.type}`] = !0, e.customClass && Object.keys(e.customClass).reduce((p, w) => (p[w] = e.customClass[w], p), d), d;
1129
+ return u[`btn-${e.type}`] = !0, e.customClass && Object.keys(e.customClass).reduce((m, S) => (m[S] = e.customClass[S], m), u), u;
1128
1130
  });
1129
- return () => b("button", {
1130
- class: s.value,
1131
+ return () => h("button", {
1132
+ class: i.value,
1131
1133
  disabled: e.disabled,
1132
- onClick: (d) => n(d)
1133
- }, [c.value && b("i", {
1134
+ onClick: (u) => n(u)
1135
+ }, [c.value && h("i", {
1134
1136
  class: o.value
1135
1137
  }, null), t.slots.default && t.slots.default()]);
1136
1138
  }
1137
- }), Bt = /* @__PURE__ */ new Map([
1139
+ }), $t = /* @__PURE__ */ new Map([
1138
1140
  ["appearance", J]
1139
- ]), Ot = "https://json-schema.org/draft/2020-12/schema", At = "https://farris-design.gitee.io/combo-list.schema.json", Lt = "combo-list", xt = "A Farris Input Component", $t = "object", Et = {
1141
+ ]), Et = "https://json-schema.org/draft/2020-12/schema", Nt = "https://farris-design.gitee.io/combo-list.schema.json", Ht = "combo-list", Rt = "A Farris Input Component", Ut = "object", zt = {
1140
1142
  id: {
1141
1143
  description: "The unique identifier for a combo list",
1142
1144
  type: "string"
@@ -1191,7 +1193,7 @@ const de = /* @__PURE__ */ H({
1191
1193
  valueField: {
1192
1194
  description: "",
1193
1195
  type: "string",
1194
- default: "id"
1196
+ default: "value"
1195
1197
  },
1196
1198
  titleField: {
1197
1199
  description: "",
@@ -1247,19 +1249,19 @@ const de = /* @__PURE__ */ H({
1247
1249
  type: "sting",
1248
1250
  default: ""
1249
1251
  }
1250
- }, Nt = [
1252
+ }, Gt = [
1251
1253
  "id",
1252
1254
  "type"
1253
- ], Ht = {
1254
- $schema: Ot,
1255
- $id: At,
1256
- title: Lt,
1257
- description: xt,
1258
- type: $t,
1259
- properties: Et,
1260
- required: Nt
1255
+ ], _t = {
1256
+ $schema: Et,
1257
+ $id: Nt,
1258
+ title: Ht,
1259
+ description: Rt,
1260
+ type: Ut,
1261
+ properties: zt,
1262
+ required: Gt
1261
1263
  };
1262
- function Rt(e, t, n) {
1264
+ function Wt(e, t, n) {
1263
1265
  return t;
1264
1266
  }
1265
1267
  const ee = {
@@ -1422,7 +1424,7 @@ const ee = {
1422
1424
  * 打开前
1423
1425
  */
1424
1426
  beforeOpen: { type: Function, default: null }
1425
- }, pe = Z(ee, Ht, Bt, Rt), Ut = {
1427
+ }, fe = Z(ee, _t, $t, Wt), qt = {
1426
1428
  dataSource: { type: Array, default: [] },
1427
1429
  enableSearch: { type: Boolean, default: !1 },
1428
1430
  idField: { type: String, default: "id" },
@@ -1437,31 +1439,31 @@ const ee = {
1437
1439
  /** 值变化事件 */
1438
1440
  onSelectionChange: { type: Function, default: () => {
1439
1441
  } }
1440
- }, zt = /* @__PURE__ */ H({
1442
+ }, Qt = /* @__PURE__ */ H({
1441
1443
  name: "FComboListContainer",
1442
- props: Ut,
1444
+ props: qt,
1443
1445
  emits: ["selectionChange"],
1444
1446
  setup(e, t) {
1445
- const n = C(e.dataSource), o = C([]), c = C(e.separator), s = C(e.width), d = C(e.maxHeight), p = C(String(e.selectedValues).split(c.value));
1447
+ const n = b(e.dataSource), o = b([]), c = b(e.separator), i = b(e.width), u = b(e.maxHeight), m = b(String(e.selectedValues).split(c.value));
1446
1448
  N(e.dataSource, () => {
1447
1449
  n.value = e.dataSource;
1448
1450
  });
1449
- const w = B(() => e.enableSearch ? "SearchBar" : "ContentHeader"), y = B(() => {
1451
+ const S = O(() => e.enableSearch ? "SearchBar" : "ContentHeader"), f = O(() => {
1450
1452
  const a = {};
1451
- return s.value !== void 0 && (a.width = `${s.value}px`), d.value !== void 0 && d.value > 0 && (a.maxHeight = `${d.value}px`), a;
1453
+ return i.value !== void 0 && (a.width = `${i.value}px`), u.value !== void 0 && u.value > 0 && (a.maxHeight = `${u.value}px`), a;
1452
1454
  });
1453
- function h(a) {
1454
- o.value = a.map((i) => Object.assign({}, i)), p.value = a.map((i) => i[e.idField]), t.emit("selectionChange", o.value);
1455
+ function y(a) {
1456
+ o.value = a.map((r) => Object.assign({}, r)), m.value = a.map((r) => r[e.idField]), t.emit("selectionChange", o.value);
1455
1457
  }
1456
1458
  return N([() => e.selectedValues], ([a]) => {
1457
- p.value = a.split(c.value);
1458
- }), () => b("div", {
1459
+ m.value = a.split(c.value);
1460
+ }), () => h("div", {
1459
1461
  class: "f-combo-list-container pl-3",
1460
- style: y.value
1461
- }, [b(Le, {
1462
+ style: f.value
1463
+ }, [h(He, {
1462
1464
  size: "small",
1463
1465
  itemClass: "f-combo-list-item",
1464
- header: w.value,
1466
+ header: S.value,
1465
1467
  headerClass: "f-combo-list-search-box",
1466
1468
  data: n.value,
1467
1469
  idField: e.idField,
@@ -1469,104 +1471,104 @@ const ee = {
1469
1471
  titleField: e.titleField,
1470
1472
  multiSelect: e.multiSelect,
1471
1473
  multiSelectMode: "OnCheckAndClick",
1472
- selectionValues: p.value,
1473
- onSelectionChange: h
1474
+ selectionValues: m.value,
1475
+ onSelectionChange: y
1474
1476
  }, null)]);
1475
1477
  }
1476
1478
  });
1477
- function Gt(e) {
1478
- const t = C(""), n = C(e.modelValue), o = C(e.data || []), c = C(e.editable);
1479
- function s(a) {
1480
- const i = String(a).split(e.separator).map((l) => [l, !0]), F = new Map(i);
1481
- return o.value.filter((l) => F.has(String(l[e.valueField])));
1479
+ function Xt(e) {
1480
+ const t = b(""), n = b(e.modelValue), o = b(e.data || []), c = b(e.editable);
1481
+ function i(a) {
1482
+ const r = String(a).split(e.separator).map((s) => [s, !0]), w = new Map(r);
1483
+ return o.value.filter((s) => w.has(String(s[e.valueField])));
1482
1484
  }
1483
- function d(a) {
1484
- const i = s(a).map((F) => F[e.textField]).join(e.separator);
1485
- t.value = c.value ? i || a : i;
1485
+ function u(a) {
1486
+ const r = i(a).map((w) => w[e.textField]).join(e.separator);
1487
+ t.value = c.value ? r || a : r;
1486
1488
  }
1487
- function p(a) {
1488
- const i = a.split(e.separator).map((l) => [l, !0]), F = new Map(i);
1489
- return o.value.filter((l) => F.has(l[e.textField]));
1489
+ function m(a) {
1490
+ const r = a.split(e.separator).map((s) => [s, !0]), w = new Map(r);
1491
+ return o.value.filter((s) => w.has(s[e.textField]));
1490
1492
  }
1491
- function w(a) {
1492
- const i = {};
1493
- return i[e.idField] = a, i[e.textField] = a, [i];
1493
+ function S(a) {
1494
+ const r = {};
1495
+ return r[e.idField] = a, r[e.textField] = a, [r];
1494
1496
  }
1495
- function y(a) {
1496
- let i = p(a);
1497
- const F = i && i.length > 0;
1498
- return c.value && !F && (i = w(a)), i;
1499
- }
1500
- function h() {
1501
- const { url: a, method: i = "GET", headers: F = {}, body: l = null } = e.remote, m = i.toLowerCase() == "get" ? { method: i, headers: F } : { method: i, headers: F, body: l };
1502
- let r = !1;
1503
- fetch(a, m).then((u) => {
1504
- var v, V;
1505
- if (u.status === 200)
1506
- return r = !!((V = (v = u.headers) == null ? void 0 : v.get("content-type")) != null && V.includes("application/json")), r ? u.text() : u.json();
1507
- throw new Error(u.statusText);
1508
- }).then((u) => {
1509
- o.value = r ? JSON.parse(u) : u;
1510
- }).catch((u) => {
1511
- console.error(u);
1497
+ function f(a) {
1498
+ let r = m(a);
1499
+ const w = r && r.length > 0;
1500
+ return c.value && !w && (r = S(a)), r;
1501
+ }
1502
+ function y() {
1503
+ const { url: a, method: r = "GET", headers: w = {}, body: s = null } = e.remote, g = r.toLowerCase() == "get" ? { method: r, headers: w } : { method: r, headers: w, body: s };
1504
+ let l = !1;
1505
+ fetch(a, g).then((d) => {
1506
+ var T, I;
1507
+ if (d.status === 200)
1508
+ return l = !!((I = (T = d.headers) == null ? void 0 : T.get("content-type")) != null && I.includes("application/json")), l ? d.text() : d.json();
1509
+ throw new Error(d.statusText);
1510
+ }).then((d) => {
1511
+ o.value = l ? JSON.parse(d) : d;
1512
+ }).catch((d) => {
1513
+ console.error(d);
1512
1514
  });
1513
1515
  }
1514
- return e.remote && h(), N(() => e.data, () => {
1516
+ return e.remote && y(), N(() => e.data, () => {
1515
1517
  o.value = e.data;
1516
1518
  }), N([o], ([a]) => {
1517
1519
  if (e.modelValue) {
1518
- const i = a.find((F) => F[e.valueField] === e.modelValue);
1519
- i && (t.value = i[e.textField]);
1520
+ const r = a.find((w) => w[e.valueField] === e.modelValue);
1521
+ r && (t.value = r[e.textField]);
1520
1522
  }
1521
1523
  }), N(() => e.modelValue, (a) => {
1522
- n.value = a, d(a);
1523
- }), d(e.modelValue), { dataSource: o, displayText: t, editable: c, modelValue: n, getItemsByDisplayText: p, getItemsByValue: s, getSelectedItemsByDisplayText: y };
1524
+ n.value = a, u(a);
1525
+ }), u(e.modelValue), { dataSource: o, displayText: t, editable: c, modelValue: n, getItemsByDisplayText: m, getItemsByValue: i, getSelectedItemsByDisplayText: f };
1524
1526
  }
1525
1527
  const U = /* @__PURE__ */ H({
1526
1528
  name: "FComboList",
1527
1529
  props: ee,
1528
1530
  emits: ["clear", "update:modelValue", "change", "input"],
1529
1531
  setup(e, t) {
1530
- const n = C(), o = C(e.disabled), c = C(e.enableClear), s = C(e.enableSearch), d = C(e.readonly), {
1531
- dataSource: p,
1532
- displayText: w,
1533
- editable: y,
1534
- modelValue: h,
1532
+ const n = b(), o = b(e.disabled), c = b(e.enableClear), i = b(e.enableSearch), u = b(e.readonly), {
1533
+ dataSource: m,
1534
+ displayText: S,
1535
+ editable: f,
1536
+ modelValue: y,
1535
1537
  getSelectedItemsByDisplayText: a
1536
- } = Gt(e), i = B(() => e.multiSelect), F = B(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
1537
- function l() {
1538
- !i.value && n.value && n.value.hidePopup();
1538
+ } = Xt(e), r = O(() => e.multiSelect), w = O(() => n.value ? n.value.elementRef.getBoundingClientRect().width : 0);
1539
+ function s() {
1540
+ !r.value && n.value && n.value.hidePopup();
1539
1541
  }
1540
- function m(g) {
1541
- w.value = g.map((f) => f[e.textField]).join(e.separator), g.length === 1 ? h.value = g[0][e.valueField] : h.value = g.map((f) => f[e.valueField]).join(e.separator), t.emit("update:modelValue", h.value), t.emit("change", g, h.value), l();
1542
+ function g(C) {
1543
+ S.value = C.map((v) => v[e.textField]).join(e.separator), C.length === 1 ? y.value = C[0][e.valueField] : y.value = C.map((v) => v[e.valueField]).join(e.separator), t.emit("update:modelValue", y.value), t.emit("change", C, y.value), s();
1542
1544
  }
1543
- function r() {
1544
- d.value || n.value.togglePopup();
1545
+ function l() {
1546
+ u.value || n.value.togglePopup();
1545
1547
  }
1546
- function u(g) {
1547
- h.value = "", t.emit("update:modelValue", ""), t.emit("clear");
1548
+ function d(C) {
1549
+ y.value = "", t.emit("update:modelValue", ""), t.emit("clear");
1548
1550
  }
1549
- function T(g) {
1550
- const f = a(g);
1551
- m(f);
1551
+ function F(C) {
1552
+ const v = a(C);
1553
+ g(v);
1552
1554
  }
1553
- function v() {
1554
- return w.value;
1555
+ function T() {
1556
+ return S.value;
1555
1557
  }
1556
- function V(g) {
1557
- t.emit("input", g);
1558
+ function I(C) {
1559
+ t.emit("input", C);
1558
1560
  }
1559
1561
  return t.expose({
1560
- getDisplayText: v
1561
- }), N([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([g, f, D, S, j]) => {
1562
- o.value = g, y.value = f, c.value = D, s.value = S, d.value = j;
1563
- }), () => b(re, {
1562
+ getDisplayText: T
1563
+ }), N([() => e.disabled, () => e.editable, () => e.enableClear, () => e.enableSearch, () => e.readonly], ([C, v, D, p, V]) => {
1564
+ o.value = C, f.value = v, c.value = D, i.value = p, u.value = V;
1565
+ }), () => h(le, {
1564
1566
  ref: n,
1565
1567
  id: e.id,
1566
1568
  disable: o.value,
1567
- readonly: d.value,
1569
+ readonly: u.value,
1568
1570
  forcePlaceholder: e.forcePlaceholder,
1569
- editable: y.value,
1571
+ editable: f.value,
1570
1572
  buttonContent: e.dropDownIcon,
1571
1573
  placeholder: e.placeholder,
1572
1574
  enableClear: c.value,
@@ -1575,130 +1577,131 @@ const U = /* @__PURE__ */ H({
1575
1577
  enableTitle: e.enableTitle,
1576
1578
  multiSelect: e.multiSelect,
1577
1579
  inputType: e.multiSelect ? e.viewType : "text",
1578
- modelValue: w.value,
1579
- "onUpdate:modelValue": (g) => w.value = g,
1580
+ modelValue: S.value,
1581
+ "onUpdate:modelValue": (C) => S.value = C,
1580
1582
  focusOnCreated: e.focusOnCreated,
1581
1583
  selectOnCreated: e.selectOnCreated,
1582
- onClear: u,
1583
- onClick: r,
1584
- onChange: T,
1585
- onInput: V,
1584
+ onClear: d,
1585
+ onClick: l,
1586
+ onChange: F,
1587
+ onInput: I,
1586
1588
  beforeOpen: e.beforeOpen
1587
1589
  }, {
1588
- default: () => [b(zt, {
1590
+ default: () => [h(Qt, {
1589
1591
  idField: e.idField,
1590
1592
  valueField: e.valueField,
1591
1593
  textField: e.textField,
1592
1594
  titleField: e.titleField,
1593
- dataSource: p.value,
1594
- selectedValues: h.value,
1595
+ dataSource: m.value,
1596
+ selectedValues: y.value,
1595
1597
  multiSelect: e.multiSelect,
1596
- enableSearch: s.value,
1598
+ enableSearch: i.value,
1597
1599
  maxHeight: e.maxHeight,
1598
- width: e.fitEditor ? F.value : void 0,
1599
- onSelectionChange: m
1600
+ width: e.fitEditor ? w.value : void 0,
1601
+ onSelectionChange: g
1600
1602
  }, null)]
1601
1603
  });
1602
1604
  }
1603
1605
  });
1604
- function _t(e, t) {
1606
+ function Yt(e, t) {
1605
1607
  e.schema;
1606
- const n = C(!0), o = C(!0);
1608
+ const n = b(!0), o = b(!0);
1607
1609
  function c(a) {
1608
1610
  return !1;
1609
1611
  }
1610
- function s() {
1612
+ function i() {
1611
1613
  return !1;
1612
1614
  }
1613
- function d() {
1615
+ function u() {
1614
1616
  return !1;
1615
1617
  }
1616
- function p() {
1618
+ function m() {
1617
1619
  return !0;
1618
1620
  }
1619
- function w(a) {
1621
+ function S(a) {
1620
1622
  }
1621
- function y() {
1623
+ function f() {
1622
1624
  }
1623
- function h(a) {
1625
+ function y(a) {
1624
1626
  return null;
1625
1627
  }
1626
1628
  return {
1627
1629
  canAccepts: c,
1628
- checkCanDeleteComponent: s,
1629
- checkCanMoveComponent: d,
1630
- hideNestedPaddingInDesginerView: p,
1631
- onAcceptMovedChildElement: w,
1632
- resolveComponentContext: y,
1630
+ checkCanDeleteComponent: i,
1631
+ checkCanMoveComponent: u,
1632
+ hideNestedPaddingInDesginerView: m,
1633
+ onAcceptMovedChildElement: S,
1634
+ resolveComponentContext: f,
1633
1635
  triggerBelongedComponentToMoveWhenMoved: n,
1634
1636
  triggerBelongedComponentToDeleteWhenDeleted: o,
1635
- getPropsConfig: h
1637
+ getPropsConfig: y
1636
1638
  };
1637
1639
  }
1638
- class fe {
1640
+ class me {
1639
1641
  static getEditorTypesByMDataType(t) {
1640
- return this.fieldControlTypeMapping[t];
1642
+ const n = this.fieldControlTypeMapping[t];
1643
+ return n || [{ key: "", value: "" }];
1641
1644
  }
1642
1645
  }
1643
1646
  /**
1644
1647
  * <字段类型,可配置的控件类型列表>的映射
1645
1648
  */
1646
- $(fe, "fieldControlTypeMapping", {
1649
+ $(me, "fieldControlTypeMapping", {
1647
1650
  String: [
1648
- { key: k["input-group"].type, value: k["input-group"].name },
1649
- { key: k.lookup.type, value: k.lookup.name },
1650
- { key: k.Image.type, value: k.Image.name },
1651
- { key: k["date-picker"].type, value: k["date-picker"].name },
1652
- { key: k["check-box"].type, value: k["check-box"].name },
1653
- { key: k["radio-group"].type, value: k["radio-group"].name },
1654
- { key: k["combo-list"].type, value: k["combo-list"].name },
1655
- { key: k.textarea.type, value: k.textarea.name }
1651
+ { key: M["input-group"].type, value: M["input-group"].name },
1652
+ { key: M.lookup.type, value: M.lookup.name },
1653
+ { key: M.Image.type, value: M.Image.name },
1654
+ { key: M["date-picker"].type, value: M["date-picker"].name },
1655
+ { key: M["check-box"].type, value: M["check-box"].name },
1656
+ { key: M["radio-group"].type, value: M["radio-group"].name },
1657
+ { key: M["combo-list"].type, value: M["combo-list"].name },
1658
+ { key: M.textarea.type, value: M.textarea.name }
1656
1659
  // { key: DgControl.Tags.type, value: DgControl.Tags.name },
1657
1660
  ],
1658
1661
  Text: [
1659
- { key: k.textarea.type, value: k.textarea.name },
1660
- { key: k.avatar.type, value: k.avatar.name },
1661
- { key: k.lookup.type, value: k.lookup.name }
1662
+ { key: M.textarea.type, value: M.textarea.name },
1663
+ { key: M.avatar.type, value: M.avatar.name },
1664
+ { key: M.lookup.type, value: M.lookup.name }
1662
1665
  ],
1663
1666
  Decimal: [
1664
- { key: k["number-spinner"].type, value: k["number-spinner"].name }
1667
+ { key: M["number-spinner"].type, value: M["number-spinner"].name }
1665
1668
  ],
1666
1669
  Integer: [
1667
- { key: k["number-spinner"].type, value: k["number-spinner"].name }
1670
+ { key: M["number-spinner"].type, value: M["number-spinner"].name }
1668
1671
  ],
1669
1672
  Number: [
1670
- { key: k["number-spinner"].type, value: k["number-spinner"].name }
1673
+ { key: M["number-spinner"].type, value: M["number-spinner"].name }
1671
1674
  ],
1672
1675
  BigNumber: [
1673
- { key: k["number-spinner"].type, value: k["number-spinner"].name }
1676
+ { key: M["number-spinner"].type, value: M["number-spinner"].name }
1674
1677
  ],
1675
1678
  Date: [
1676
- { key: k["date-picker"].type, value: k["date-picker"].name }
1679
+ { key: M["date-picker"].type, value: M["date-picker"].name }
1677
1680
  ],
1678
1681
  DateTime: [
1679
- { key: k["date-picker"].type, value: k["date-picker"].name }
1682
+ { key: M["date-picker"].type, value: M["date-picker"].name }
1680
1683
  ],
1681
1684
  Boolean: [
1682
- { key: k.switch.type, value: k.switch.name },
1683
- { key: k["check-box"].type, value: k["check-box"].name }
1685
+ { key: M.switch.type, value: M.switch.name },
1686
+ { key: M["check-box"].type, value: M["check-box"].name }
1684
1687
  ],
1685
1688
  Enum: [
1686
- { key: k["combo-list"].type, value: k["combo-list"].name },
1687
- { key: k["radio-group"].type, value: k["radio-group"].name }
1689
+ { key: M["combo-list"].type, value: M["combo-list"].name },
1690
+ { key: M["radio-group"].type, value: M["radio-group"].name }
1688
1691
  ],
1689
1692
  Object: [
1690
- { key: k.lookup.type, value: k.lookup.name },
1691
- { key: k["combo-list"].type, value: k["combo-list"].name },
1692
- { key: k["radio-group"].type, value: k["radio-group"].name }
1693
+ { key: M.lookup.type, value: M.lookup.name },
1694
+ { key: M["combo-list"].type, value: M["combo-list"].name },
1695
+ { key: M["radio-group"].type, value: M["radio-group"].name }
1693
1696
  ],
1694
1697
  EmployeeSelector: [
1695
- { key: k.EmployeeSelector.type, value: k.EmployeeSelector.name }
1698
+ { key: M.EmployeeSelector.type, value: M.EmployeeSelector.name }
1696
1699
  ],
1697
1700
  AdminOrganizationSelector: [
1698
- { key: k.AdminOrganizationSelector.type, value: k.AdminOrganizationSelector.name }
1701
+ { key: M.AdminOrganizationSelector.type, value: M.AdminOrganizationSelector.name }
1699
1702
  ]
1700
1703
  });
1701
- class Wt {
1704
+ class Zt {
1702
1705
  constructor(t, n) {
1703
1706
  $(this, "componentId");
1704
1707
  $(this, "viewModelId");
@@ -1709,13 +1712,18 @@ class Wt {
1709
1712
  $(this, "designViewModelField");
1710
1713
  $(this, "controlCreatorUtils");
1711
1714
  $(this, "designerHostService");
1715
+ $(this, "schemaService", null);
1712
1716
  $(this, "metadataService", null);
1713
1717
  $(this, "propertyConfig", {
1714
1718
  type: "object",
1715
1719
  categories: {}
1716
1720
  });
1717
1721
  var o;
1718
- this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService;
1722
+ this.componentId = t, this.designerHostService = n, this.eventsEditorUtils = n.eventsEditorUtils, this.formSchemaUtils = n.formSchemaUtils, this.formMetadataConverter = n.formMetadataConverter, this.viewModelId = ((o = this.formSchemaUtils) == null ? void 0 : o.getViewModelIdByComponentId(t)) || "", this.designViewModelUtils = n.designViewModelUtils, this.controlCreatorUtils = n.controlCreatorUtils, this.metadataService = n.metadataService, this.schemaService = n.schemaService;
1723
+ }
1724
+ getTableInfo() {
1725
+ var t;
1726
+ return (t = this.schemaService) == null ? void 0 : t.getTableInfoByViewModelId(this.viewModelId);
1719
1727
  }
1720
1728
  setDesignViewModelField(t) {
1721
1729
  const n = t.binding && t.binding.type === "Form" && t.binding.field;
@@ -1730,6 +1738,7 @@ class Wt {
1730
1738
  changeFieldEditorType(t, n) {
1731
1739
  }
1732
1740
  getBasicPropConfig(t) {
1741
+ var o, c;
1733
1742
  var n = this;
1734
1743
  return this.setDesignViewModelField(t), {
1735
1744
  description: "Basic Information",
@@ -1751,7 +1760,8 @@ class Wt {
1751
1760
  type: "combo-list",
1752
1761
  textField: "value",
1753
1762
  valueField: "key",
1754
- data: fe.getEditorTypesByMDataType(n.designViewModelField.type.name)
1763
+ data: me.getEditorTypesByMDataType(((c = (o = n.designViewModelField) == null ? void 0 : o.type) == null ? void 0 : c.name) || ""),
1764
+ editable: !1
1755
1765
  }
1756
1766
  },
1757
1767
  label: {
@@ -1760,11 +1770,11 @@ class Wt {
1760
1770
  $converter: "/converter/form-group-label.converter"
1761
1771
  }
1762
1772
  },
1763
- setPropertyRelates(o, c) {
1764
- if (o)
1765
- switch (o && o.propertyID) {
1773
+ setPropertyRelates(i, u) {
1774
+ if (i)
1775
+ switch (i && i.propertyID) {
1766
1776
  case "type": {
1767
- n.changeControlType(t, o);
1777
+ n.changeControlType(t, i);
1768
1778
  break;
1769
1779
  }
1770
1780
  }
@@ -1777,13 +1787,13 @@ class Wt {
1777
1787
  * @param newControlType 新控件类型
1778
1788
  */
1779
1789
  changeControlType(t, n) {
1780
- var y, h, a, i, F;
1790
+ var f, y, a, r, w;
1781
1791
  const o = n.propertyValue, c = this.formSchemaUtils.getComponentById(this.componentId);
1782
- let s = this.getControlParentContainer(t.id, c);
1783
- if (!s)
1792
+ let i = this.getControlParentContainer(t.id, c);
1793
+ if (!i)
1784
1794
  return;
1785
- const d = s.contents.findIndex((l) => l.id === t.id), p = s.contents[d];
1786
- let w;
1795
+ const u = i.contents.findIndex((s) => s.id === t.id), m = i.contents[u];
1796
+ let S;
1787
1797
  this.designViewModelField && (this.designViewModelUtils.getDgViewModel(this.viewModelId).changeField(this.designViewModelField.id, {
1788
1798
  editor: {
1789
1799
  $type: o
@@ -1791,20 +1801,20 @@ class Wt {
1791
1801
  name: this.designViewModelField.name,
1792
1802
  require: this.designViewModelField.require,
1793
1803
  readonly: this.designViewModelField.readonly
1794
- }, !1), w = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(w, {
1795
- id: p.id,
1796
- appearance: p.appearance,
1797
- size: p.size,
1798
- label: p.label
1799
- }), Object.assign(w.editor, {
1800
- isTextArea: w.isTextArea && p.isTextArea,
1804
+ }, !1), S = this.controlCreatorUtils.setFormFieldProperty("Form", this.designViewModelField, null, o)), Object.assign(S, {
1805
+ id: m.id,
1806
+ appearance: m.appearance,
1807
+ size: m.size,
1808
+ label: m.label
1809
+ }), Object.assign(S.editor, {
1810
+ isTextArea: S.isTextArea && m.isTextArea,
1801
1811
  type: o || "",
1802
- placeHolder: (y = p.editor) == null ? void 0 : y.placeHolder,
1803
- holdPlace: (h = p.editor) == null ? void 0 : h.holdPlace,
1804
- readonly: (a = p.editor) == null ? void 0 : a.readonly,
1805
- require: (i = p.editor) == null ? void 0 : i.require,
1806
- visible: (F = p.editor) == null ? void 0 : F.visible
1807
- }), s.contents.splice(d, 1, w);
1812
+ placeHolder: (f = m.editor) == null ? void 0 : f.placeHolder,
1813
+ holdPlace: (y = m.editor) == null ? void 0 : y.holdPlace,
1814
+ readonly: (a = m.editor) == null ? void 0 : a.readonly,
1815
+ require: (r = m.editor) == null ? void 0 : r.require,
1816
+ visible: (w = m.editor) == null ? void 0 : w.visible
1817
+ }), i.contents.splice(u, 1, S);
1808
1818
  }
1809
1819
  getAppearanceConfig(t = null) {
1810
1820
  return {
@@ -1874,7 +1884,7 @@ class Wt {
1874
1884
  };
1875
1885
  }
1876
1886
  }
1877
- class qt extends Wt {
1887
+ class Jt extends Zt {
1878
1888
  constructor(t, n) {
1879
1889
  super(t, n);
1880
1890
  }
@@ -1919,7 +1929,7 @@ class qt extends Wt {
1919
1929
  title: "组件信息",
1920
1930
  type: "input-group",
1921
1931
  $converter: "/converter/property-editor.converter"
1922
- }, n), s = Object.assign({
1932
+ }, n), i = Object.assign({
1923
1933
  readonly: {
1924
1934
  description: "",
1925
1935
  title: "只读",
@@ -1941,10 +1951,10 @@ class qt extends Wt {
1941
1951
  type: "string"
1942
1952
  }
1943
1953
  }, o);
1944
- return { ...c, properties: { ...s } };
1954
+ return { ...c, properties: { ...i } };
1945
1955
  }
1946
1956
  }
1947
- class Qt extends qt {
1957
+ class Kt extends Jt {
1948
1958
  constructor(t, n) {
1949
1959
  super(t, n);
1950
1960
  }
@@ -1968,41 +1978,41 @@ class Qt extends qt {
1968
1978
  });
1969
1979
  }
1970
1980
  }
1971
- function Xt(e, t) {
1981
+ function en(e, t) {
1972
1982
  const {
1973
1983
  canAccepts: n,
1974
1984
  checkCanDeleteComponent: o,
1975
1985
  checkCanMoveComponent: c,
1976
- hideNestedPaddingInDesginerView: s,
1977
- onAcceptMovedChildElement: d,
1978
- resolveComponentContext: p,
1979
- triggerBelongedComponentToMoveWhenMoved: w,
1980
- triggerBelongedComponentToDeleteWhenDeleted: y
1981
- } = _t(e), h = e.schema;
1982
- function a(i) {
1983
- return new Qt(i, t).getPropertyConfig(h);
1986
+ hideNestedPaddingInDesginerView: i,
1987
+ onAcceptMovedChildElement: u,
1988
+ resolveComponentContext: m,
1989
+ triggerBelongedComponentToMoveWhenMoved: S,
1990
+ triggerBelongedComponentToDeleteWhenDeleted: f
1991
+ } = Yt(e), y = e.schema;
1992
+ function a(r) {
1993
+ return new Kt(r, t).getPropertyConfig(y);
1984
1994
  }
1985
1995
  return {
1986
1996
  canAccepts: n,
1987
1997
  checkCanDeleteComponent: o,
1988
1998
  checkCanMoveComponent: c,
1989
- hideNestedPaddingInDesginerView: s,
1990
- onAcceptMovedChildElement: d,
1991
- resolveComponentContext: p,
1992
- triggerBelongedComponentToMoveWhenMoved: w,
1993
- triggerBelongedComponentToDeleteWhenDeleted: y,
1999
+ hideNestedPaddingInDesginerView: i,
2000
+ onAcceptMovedChildElement: u,
2001
+ resolveComponentContext: m,
2002
+ triggerBelongedComponentToMoveWhenMoved: S,
2003
+ triggerBelongedComponentToDeleteWhenDeleted: f,
1994
2004
  getPropsConfig: a
1995
2005
  };
1996
2006
  }
1997
- const Yt = /* @__PURE__ */ H({
2007
+ const tn = /* @__PURE__ */ H({
1998
2008
  name: "FComboListDesign",
1999
2009
  props: ee,
2000
2010
  emits: ["clear", "update:modelValue", "change"],
2001
2011
  setup(e, t) {
2002
- const n = C(), o = q("designer-host-service"), c = q("design-item-context"), s = Xt(c, o), d = xe(n, c, s);
2012
+ const n = b(), o = q("designer-host-service"), c = q("design-item-context"), i = en(c, o), u = Re(n, c, i);
2003
2013
  return ie(() => {
2004
- n.value.componentInstance = d;
2005
- }), t.expose(d.value), () => b(re, {
2014
+ n.value.componentInstance = u;
2015
+ }), t.expose(u.value), () => h(le, {
2006
2016
  ref: n,
2007
2017
  id: e.id,
2008
2018
  disable: e.disabled,
@@ -2019,63 +2029,63 @@ const Yt = /* @__PURE__ */ H({
2019
2029
  inputType: e.multiSelect ? "tag" : "text"
2020
2030
  }, null);
2021
2031
  }
2022
- }), Zt = (e) => {
2032
+ }), nn = (e) => {
2023
2033
  const t = e;
2024
2034
  return t.install = function(n) {
2025
2035
  n.component(t.name, e);
2026
2036
  }, e;
2027
2037
  };
2028
2038
  U.register = (e, t, n, o) => {
2029
- e["combo-list"] = U, t["combo-list"] = pe;
2039
+ e["combo-list"] = U, t["combo-list"] = fe;
2030
2040
  };
2031
2041
  U.registerDesigner = (e, t, n) => {
2032
- e["combo-list"] = Yt, t["combo-list"] = pe;
2042
+ e["combo-list"] = tn, t["combo-list"] = fe;
2033
2043
  };
2034
- const z = Zt(U), _ = /* @__PURE__ */ H({
2044
+ const z = nn(U), _ = /* @__PURE__ */ H({
2035
2045
  name: "FOrder",
2036
2046
  props: K,
2037
2047
  emits: ["change"],
2038
2048
  setup(e, t) {
2039
- const n = C(e.items), o = C("排序列"), c = C("排序方式"), s = C("添加排序列"), d = [{
2049
+ const n = b(e.items), o = b("排序列"), c = b("排序方式"), i = b("添加排序列"), u = [{
2040
2050
  id: "asc",
2041
2051
  name: "升序"
2042
2052
  }, {
2043
2053
  id: "desc",
2044
2054
  name: "降序"
2045
- }], p = C(/* @__PURE__ */ new Map());
2046
- function w() {
2047
- const r = n.value.map((u) => [u.id, !0]);
2048
- p.value = new Map(r);
2055
+ }], m = b(/* @__PURE__ */ new Map());
2056
+ function S() {
2057
+ const l = n.value.map((d) => [d.id, !0]);
2058
+ m.value = new Map(l);
2049
2059
  }
2050
- w();
2051
- const y = B(() => e.dataSource.map((r) => (r.disabled = p.value.has(r.id), r))), h = B(() => ({
2060
+ S();
2061
+ const f = O(() => e.dataSource.map((l) => (l.disabled = m.value.has(l.id), l))), y = O(() => ({
2052
2062
  "f-order": !0
2053
2063
  }));
2054
- function a(r) {
2055
- n.value = n.value.filter((u) => u.id !== r.id), w(), t.emit("change", n.value);
2064
+ function a(l) {
2065
+ n.value = n.value.filter((d) => d.id !== l.id), S(), t.emit("change", n.value);
2056
2066
  }
2057
- function i() {
2067
+ function r() {
2058
2068
  n.value = [...n.value, {
2059
2069
  id: Date.now().toString(),
2060
2070
  name: "",
2061
2071
  order: "asc"
2062
- }], w(), t.emit("change", n.value);
2072
+ }], S(), t.emit("change", n.value);
2063
2073
  }
2064
- function F(r) {
2065
- if (r && r.length === 1) {
2066
- const u = r[0], T = n.value.find((v) => v.id === u.id);
2067
- T && (T.name = u.name);
2074
+ function w(l) {
2075
+ if (l && l.length === 1) {
2076
+ const d = l[0], F = n.value.find((T) => T.id === d.id);
2077
+ F && (F.name = d.name);
2068
2078
  }
2069
- w(), t.emit("change", n.value);
2079
+ S(), t.emit("change", n.value);
2070
2080
  }
2071
- function l(r) {
2072
- if (r && r.length) {
2073
- const u = /* @__PURE__ */ new Map();
2074
- r.reduce((T, v) => (T.set(v.id, v), T), u), n.value = r.map((T) => u.get(T.id)), t.emit("change", n.value);
2081
+ function s(l) {
2082
+ if (l && l.length) {
2083
+ const d = /* @__PURE__ */ new Map();
2084
+ l.reduce((F, T) => (F.set(T.id, T), F), d), n.value = l.map((F) => d.get(F.id)), t.emit("change", n.value);
2075
2085
  }
2076
2086
  }
2077
- function m() {
2078
- return b(ue, {
2087
+ function g() {
2088
+ return h(de, {
2079
2089
  style: "flex:1",
2080
2090
  data: n.value,
2081
2091
  draggable: !0,
@@ -2083,158 +2093,158 @@ const z = Zt(U), _ = /* @__PURE__ */ H({
2083
2093
  "keep-order": !0,
2084
2094
  itemClass: "f-order-item",
2085
2095
  onRemoveItem: a,
2086
- onChange: l
2096
+ onChange: s
2087
2097
  }, {
2088
- header: () => b("div", {
2098
+ header: () => h("div", {
2089
2099
  class: "f-order-header"
2090
- }, [b("span", {
2100
+ }, [h("span", {
2091
2101
  class: "f-order-header-order-field"
2092
- }, [o.value]), b("span", {
2102
+ }, [o.value]), h("span", {
2093
2103
  class: "f-order-header-order-type"
2094
2104
  }, [c.value])]),
2095
- itemContent: (r) => b("div", {
2105
+ itemContent: (l) => h("div", {
2096
2106
  class: "f-order-item-content"
2097
- }, [b(z, {
2107
+ }, [h(z, {
2098
2108
  class: "f-order-item-content-order-field",
2099
- data: y.value,
2109
+ data: f.value,
2100
2110
  valueField: "id",
2101
2111
  textField: "name",
2102
2112
  idField: "id",
2103
- modelValue: r.id,
2104
- "onUpdate:modelValue": (u) => r.id = u,
2105
- onChange: F,
2106
- onClear: F
2107
- }, null), b(z, {
2113
+ modelValue: l.id,
2114
+ "onUpdate:modelValue": (d) => l.id = d,
2115
+ onChange: w,
2116
+ onClear: w
2117
+ }, null), h(z, {
2108
2118
  class: "f-order-item-content-order-type",
2109
- data: d,
2119
+ data: u,
2110
2120
  valueField: "id",
2111
2121
  textField: "name",
2112
2122
  idField: "id",
2113
- modelValue: r.order,
2114
- "onUpdate:modelValue": (u) => r.order = u,
2115
- onChange: F
2123
+ modelValue: l.order,
2124
+ "onUpdate:modelValue": (d) => l.order = d,
2125
+ onChange: w
2116
2126
  }, null)]),
2117
- footer: () => b("div", {
2127
+ footer: () => h("div", {
2118
2128
  class: "f-order-footer"
2119
- }, [b(de, {
2129
+ }, [h(pe, {
2120
2130
  type: "link",
2121
2131
  class: "f-order-add-button",
2122
- onClick: i
2132
+ onClick: r
2123
2133
  }, {
2124
- default: () => b(Q, null, [b("span", {
2134
+ default: () => h(Q, null, [h("span", {
2125
2135
  class: "f-order-add-icon"
2126
- }, [b("i", {
2136
+ }, [h("i", {
2127
2137
  class: "f-icon f-icon-add"
2128
- }, null)]), s.value])
2138
+ }, null)]), i.value])
2129
2139
  })])
2130
2140
  });
2131
2141
  }
2132
- return () => b("div", {
2133
- class: h.value
2134
- }, [m()]);
2142
+ return () => h("div", {
2143
+ class: y.value
2144
+ }, [g()]);
2135
2145
  }
2136
2146
  });
2137
- function Jt(e, t, n) {
2138
- var g;
2147
+ function on(e, t, n) {
2148
+ var C;
2139
2149
  function o() {
2140
2150
  n != null && n.resolveComponentContext && n.resolveComponentContext();
2141
2151
  }
2142
2152
  o();
2143
- const c = n && n.getStyles && n.getStyles() || "", s = n && n.getDesignerClass && n.getDesignerClass() || "", d = C();
2144
- function p() {
2153
+ const c = n && n.getStyles && n.getStyles() || "", i = n && n.getDesignerClass && n.getDesignerClass() || "", u = b();
2154
+ function m() {
2145
2155
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanMoveComponent ? n.checkCanMoveComponent() : !0;
2146
2156
  }
2147
- function w() {
2157
+ function S() {
2148
2158
  return !1;
2149
2159
  }
2150
- function y() {
2160
+ function f() {
2151
2161
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanDeleteComponent ? n.checkCanDeleteComponent() : !0;
2152
2162
  }
2153
- function h() {
2163
+ function y() {
2154
2164
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !0 : n && n.hideNestedPaddingInDesginerView ? n.hideNestedPaddingInDesginerView() : !1;
2155
2165
  }
2156
- function a(f) {
2157
- if (!f || !f.value)
2166
+ function a(v) {
2167
+ if (!v || !v.value)
2158
2168
  return null;
2159
- if (f.value.schema && f.value.schema.type === "component")
2160
- return f.value;
2161
- const D = C(f == null ? void 0 : f.value.parent), S = a(D);
2162
- return S || null;
2169
+ if (v.value.schema && v.value.schema.type === "component")
2170
+ return v.value;
2171
+ const D = b(v == null ? void 0 : v.value.parent), p = a(D);
2172
+ return p || null;
2163
2173
  }
2164
- function i(f = t) {
2165
- const { componentInstance: D, designerItemElementRef: S } = f;
2166
- return !D || !D.value ? null : D.value.canMove ? S : i(f.parent);
2174
+ function r(v = t) {
2175
+ const { componentInstance: D, designerItemElementRef: p } = v;
2176
+ return !D || !D.value ? null : D.value.canMove ? p : r(v.parent);
2167
2177
  }
2168
- function F(f) {
2169
- return !!n && n.canAccepts(f);
2178
+ function w(v) {
2179
+ return !!n && n.canAccepts(v);
2170
2180
  }
2171
- function l() {
2181
+ function s() {
2172
2182
  return (t == null ? void 0 : t.schema.label) || (t == null ? void 0 : t.schema.title) || (t == null ? void 0 : t.schema.name);
2173
2183
  }
2174
- function m() {
2184
+ function g() {
2175
2185
  }
2176
- function r(f, D) {
2186
+ function l(v, D) {
2177
2187
  D && n != null && n.onAcceptMovedChildElement && n.onAcceptMovedChildElement(D);
2178
2188
  }
2179
- function u(f) {
2180
- const { componentType: D } = f;
2181
- let S = R(D, f);
2182
- n && n.onResolveNewComponentSchema && (S = n.onResolveNewComponentSchema(f, S));
2183
- const j = D.toLowerCase().replace("-", "_");
2184
- return S && !S.id && S.type === D && (S.id = `${j}_${Math.random().toString().slice(2, 6)}`), S;
2189
+ function d(v) {
2190
+ const { componentType: D } = v;
2191
+ let p = R(D, v);
2192
+ n && n.onResolveNewComponentSchema && (p = n.onResolveNewComponentSchema(v, p));
2193
+ const V = D.toLowerCase().replace("-", "_");
2194
+ return p && !p.id && p.type === D && (p.id = `${V}_${Math.random().toString().slice(2, 6)}`), p;
2185
2195
  }
2186
- function T(f, D) {
2187
- const S = String(f.getAttribute("data-controltype")), j = f.getAttribute("data-feature"), L = j ? JSON.parse(j) : {};
2188
- L.parentComponentInstance = d.value;
2189
- let M = R(S, L);
2190
- n && n.onAcceptNewChildElement && (M = n.onAcceptNewChildElement(f, D, M));
2191
- const O = S.toLowerCase().replace("-", "_");
2192
- return M && !M.id && M.type === S && (M.id = `${O}_${Math.random().toString().slice(2, 6)}`), M;
2196
+ function F(v, D) {
2197
+ const p = String(v.getAttribute("data-controltype")), V = v.getAttribute("data-feature"), A = V ? JSON.parse(V) : {};
2198
+ A.parentComponentInstance = u.value;
2199
+ let k = R(p, A);
2200
+ n && n.onAcceptNewChildElement && (k = n.onAcceptNewChildElement(v, D, k));
2201
+ const x = p.toLowerCase().replace("-", "_");
2202
+ return k && !k.id && k.type === p && (k.id = `${x}_${Math.random().toString().slice(2, 6)}`), k;
2193
2203
  }
2194
- function v(f) {
2204
+ function T(v) {
2195
2205
  }
2196
- function V(...f) {
2206
+ function I(...v) {
2197
2207
  if (n && n.getPropsConfig)
2198
- return n.getPropsConfig(...f);
2208
+ return n.getPropsConfig(...v);
2199
2209
  }
2200
- return d.value = {
2201
- canMove: p(),
2202
- canSelectParent: w(),
2203
- canDelete: y(),
2204
- canNested: !h(),
2210
+ return u.value = {
2211
+ canMove: m(),
2212
+ canSelectParent: S(),
2213
+ canDelete: f(),
2214
+ canNested: !y(),
2205
2215
  contents: t == null ? void 0 : t.schema.contents,
2206
2216
  elementRef: e,
2207
- parent: (g = t == null ? void 0 : t.parent) == null ? void 0 : g.componentInstance,
2217
+ parent: (C = t == null ? void 0 : t.parent) == null ? void 0 : C.componentInstance,
2208
2218
  schema: t == null ? void 0 : t.schema,
2209
2219
  styles: c,
2210
- designerClass: s,
2211
- canAccepts: F,
2220
+ designerClass: i,
2221
+ canAccepts: w,
2212
2222
  getBelongedComponentInstance: a,
2213
- getDraggableDesignItemElement: i,
2214
- getDraggingDisplayText: l,
2215
- getPropConfig: V,
2216
- getDragScopeElement: m,
2217
- onAcceptMovedChildElement: r,
2218
- onAcceptNewChildElement: T,
2219
- onChildElementMovedOut: v,
2220
- addNewChildComponentSchema: u,
2223
+ getDraggableDesignItemElement: r,
2224
+ getDraggingDisplayText: s,
2225
+ getPropConfig: I,
2226
+ getDragScopeElement: g,
2227
+ onAcceptMovedChildElement: l,
2228
+ onAcceptNewChildElement: F,
2229
+ onChildElementMovedOut: T,
2230
+ addNewChildComponentSchema: d,
2221
2231
  updateDragAndDropRules: o,
2222
- triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || C(!1),
2223
- triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || C(!1)
2224
- }, d;
2232
+ triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || b(!1),
2233
+ triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || b(!1)
2234
+ }, u;
2225
2235
  }
2226
- function Kt() {
2236
+ function an() {
2227
2237
  function e(t) {
2228
- var c, s;
2238
+ var c, i;
2229
2239
  if (!t)
2230
2240
  return !1;
2231
2241
  const n = ((c = t.targetContainer) == null ? void 0 : c.componentInstance) && t.targetContainer.componentInstance.value;
2232
2242
  if (!n)
2233
2243
  return !1;
2234
- const o = (s = n.schema.appearance) == null ? void 0 : s.class;
2244
+ const o = (i = n.schema.appearance) == null ? void 0 : i.class;
2235
2245
  if (t.controlCategory === "input" || t.controlType === "form-group") {
2236
- const d = n.schema.type, p = (d === "response-form" || d === "content-container") && o && o.includes("farris-form");
2237
- if (n.schema.type !== "response-layout-item" && !p)
2246
+ const u = n.schema.type, m = (u === "response-form" || u === "content-container") && o && o.includes("farris-form");
2247
+ if (n.schema.type !== "response-layout-item" && !m)
2238
2248
  return !1;
2239
2249
  }
2240
2250
  return t.controlType !== "field-set";
@@ -2243,7 +2253,7 @@ function Kt() {
2243
2253
  basalDragulaRuleForContainer: e
2244
2254
  };
2245
2255
  }
2246
- const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-design.gitee.io/dragging-rules.schema.json", nn = "Dragging Rules", on = "The rules of designer canvas", an = "object", rn = {
2256
+ const rn = "https://json-schema.org/draft/2020-12/schema", ln = "https://farris-design.gitee.io/dragging-rules.schema.json", sn = "Dragging Rules", cn = "The rules of designer canvas", un = "object", dn = {
2247
2257
  "f-page": {
2248
2258
  description: "The root class of page designed by farris.",
2249
2259
  type: "object",
@@ -2807,39 +2817,39 @@ const en = "https://json-schema.org/draft/2020-12/schema", tn = "https://farris-
2807
2817
  description: "",
2808
2818
  type: "object"
2809
2819
  }
2810
- }, ln = [], sn = {
2811
- $schema: en,
2812
- $id: tn,
2813
- title: nn,
2814
- description: on,
2815
- type: an,
2816
- properties: rn,
2817
- required: ln
2820
+ }, pn = [], fn = {
2821
+ $schema: rn,
2822
+ $id: ln,
2823
+ title: sn,
2824
+ description: cn,
2825
+ type: un,
2826
+ properties: dn,
2827
+ required: pn
2818
2828
  }, W = /* @__PURE__ */ new Map();
2819
- function cn() {
2820
- function e(l, m, r, u) {
2821
- var T;
2822
- if (typeof r == "number")
2823
- return ((T = u[l]) == null ? void 0 : T.length) === r;
2824
- if (typeof r == "object") {
2825
- const v = Object.keys(r)[0], V = r[v];
2826
- if (v === "not")
2827
- return Number(u[l].length) !== Number(V);
2828
- if (v === "moreThan")
2829
- return Number(u[l].length) >= Number(V);
2830
- if (v === "lessThan")
2831
- return Number(u[l].length) <= Number(V);
2829
+ function mn() {
2830
+ function e(s, g, l, d) {
2831
+ var F;
2832
+ if (typeof l == "number")
2833
+ return ((F = d[s]) == null ? void 0 : F.length) === l;
2834
+ if (typeof l == "object") {
2835
+ const T = Object.keys(l)[0], I = l[T];
2836
+ if (T === "not")
2837
+ return Number(d[s].length) !== Number(I);
2838
+ if (T === "moreThan")
2839
+ return Number(d[s].length) >= Number(I);
2840
+ if (T === "lessThan")
2841
+ return Number(d[s].length) <= Number(I);
2832
2842
  }
2833
2843
  return !1;
2834
2844
  }
2835
- function t(l, m, r, u) {
2836
- return typeof r == "boolean" ? u.childrenClassList.includes(m) === !!r : !1;
2845
+ function t(s, g, l, d) {
2846
+ return typeof l == "boolean" ? d.childrenClassList.includes(g) === !!l : !1;
2837
2847
  }
2838
- function n(l, m, r, u) {
2839
- return typeof r == "boolean" ? u.parentClassList.includes(m) === !!r : !1;
2848
+ function n(s, g, l, d) {
2849
+ return typeof l == "boolean" ? d.parentClassList.includes(g) === !!l : !1;
2840
2850
  }
2841
- function o(l, m, r, u) {
2842
- return typeof r == "boolean" ? u.parentClassList.includes(m) === !!r : !1;
2851
+ function o(s, g, l, d) {
2852
+ return typeof l == "boolean" ? d.parentClassList.includes(g) === !!l : !1;
2843
2853
  }
2844
2854
  const c = /* @__PURE__ */ new Map([
2845
2855
  ["length", e],
@@ -2847,258 +2857,300 @@ function cn() {
2847
2857
  ["hasSibling", o],
2848
2858
  ["hasParent", n]
2849
2859
  ]);
2850
- function s(l, m) {
2851
- const r = l;
2852
- return typeof m == "number" ? [{ target: r, operator: "length", param: null, value: Number(m) }] : typeof m == "object" ? Object.keys(m).map((u) => {
2853
- if (u === "length")
2854
- return { target: r, operator: "length", param: null, value: m[u] };
2855
- const T = u, v = m[u];
2856
- return { target: r, operator: l === "children" ? "hasChildren" : l === "parent" ? "hasParent" : "hasSibling", param: T, value: v };
2860
+ function i(s, g) {
2861
+ const l = s;
2862
+ return typeof g == "number" ? [{ target: l, operator: "length", param: null, value: Number(g) }] : typeof g == "object" ? Object.keys(g).map((d) => {
2863
+ if (d === "length")
2864
+ return { target: l, operator: "length", param: null, value: g[d] };
2865
+ const F = d, T = g[d];
2866
+ return { target: l, operator: s === "children" ? "hasChildren" : s === "parent" ? "hasParent" : "hasSibling", param: F, value: T };
2857
2867
  }) : [];
2858
2868
  }
2859
- function d(l, m) {
2860
- if (c.has(l.operator)) {
2861
- const r = c.get(l.operator);
2862
- return r && r(l.target, l.param, l.value, m) || !1;
2869
+ function u(s, g) {
2870
+ if (c.has(s.operator)) {
2871
+ const l = c.get(s.operator);
2872
+ return l && l(s.target, s.param, s.value, g) || !1;
2863
2873
  }
2864
2874
  return !1;
2865
2875
  }
2866
- function p(l, m) {
2867
- return Object.keys(l).reduce((v, V) => {
2868
- const g = s(V, l[V]);
2869
- return v.push(...g), v;
2870
- }, []).reduce((v, V) => v && d(V, m), !0);
2871
- }
2872
- function w(l, m) {
2873
- const r = Object.keys(l), u = r.includes("allOf"), T = r.includes("anyOf"), v = u || T, f = (v ? l[v ? u ? "allOf" : "anyOf" : "allOf"] : [l]).map((S) => p(S, m));
2874
- return u ? !f.includes(!1) : f.includes(!0);
2875
- }
2876
- function y(l, m) {
2877
- const r = l.const;
2878
- return r ? typeof r == "boolean" ? r : typeof r == "object" ? w(r, m) : !1 : !1;
2879
- }
2880
- function h(l) {
2881
- return (m) => {
2882
- const r = { canAccept: !0, fixed: !1, hidePadding: !1 };
2883
- return l && l.properties && Object.keys(l.properties).reduce((u, T) => {
2884
- const v = l.properties[T];
2885
- return u[T] = y(v, m), u;
2886
- }, r), r;
2876
+ function m(s, g) {
2877
+ return Object.keys(s).reduce((T, I) => {
2878
+ const C = i(I, s[I]);
2879
+ return T.push(...C), T;
2880
+ }, []).reduce((T, I) => T && u(I, g), !0);
2881
+ }
2882
+ function S(s, g) {
2883
+ const l = Object.keys(s), d = l.includes("allOf"), F = l.includes("anyOf"), T = d || F, v = (T ? s[T ? d ? "allOf" : "anyOf" : "allOf"] : [s]).map((p) => m(p, g));
2884
+ return d ? !v.includes(!1) : v.includes(!0);
2885
+ }
2886
+ function f(s, g) {
2887
+ const l = s.const;
2888
+ return l ? typeof l == "boolean" ? l : typeof l == "object" ? S(l, g) : !1 : !1;
2889
+ }
2890
+ function y(s) {
2891
+ return (g) => {
2892
+ const l = { canAccept: !0, fixed: !1, hidePadding: !1 };
2893
+ return s && s.properties && Object.keys(s.properties).reduce((d, F) => {
2894
+ const T = s.properties[F];
2895
+ return d[F] = f(T, g), d;
2896
+ }, l), l;
2887
2897
  };
2888
2898
  }
2889
- function a(l, m, r) {
2890
- if (m.type === "object" && m.properties) {
2891
- const { rules: u, contents: T } = m.properties;
2892
- r.set(l, h(u)), T && Object.keys(T.properties).forEach(
2893
- (v) => a(v, T.properties[v], r)
2899
+ function a(s, g, l) {
2900
+ if (g.type === "object" && g.properties) {
2901
+ const { rules: d, contents: F } = g.properties;
2902
+ l.set(s, y(d)), F && Object.keys(F.properties).forEach(
2903
+ (T) => a(T, F.properties[T], l)
2894
2904
  );
2895
2905
  }
2896
2906
  }
2897
- function i() {
2898
- const { properties: l } = sn;
2899
- Object.keys(l).forEach((m) => {
2900
- a(m, l[m], W);
2907
+ function r() {
2908
+ const { properties: s } = fn;
2909
+ Object.keys(s).forEach((g) => {
2910
+ a(g, s[g], W);
2901
2911
  });
2902
2912
  }
2903
- function F(l, m) {
2904
- const r = { canAccept: !0, fixed: !1, hidePadding: !0 };
2905
- return W.has(l) ? W.get(l)(m) : r;
2913
+ function w(s, g) {
2914
+ const l = { canAccept: !0, fixed: !1, hidePadding: !0 };
2915
+ return W.has(s) ? W.get(s)(g) : l;
2906
2916
  }
2907
- return i(), { getRuleValue: F };
2917
+ return r(), { getRuleValue: w };
2908
2918
  }
2909
- function un(e, t) {
2910
- const n = cn(), o = C(!1), c = C(!1);
2911
- let s = !0, d = !1, p, w = !1;
2912
- function y(v) {
2913
- return p && p.componentClassList && p.componentClassList.includes("f-form-layout") && p.componentClassList.includes("farris-form") ? v.sourceType === "control" && v.controlCategory === "input" || v.sourceType === "move" && v.controlType === "form-group" : !0;
2919
+ function yn(e, t) {
2920
+ var D;
2921
+ const n = e.schema, o = (D = e.parent) == null ? void 0 : D.schema, c = mn(), i = b(!1), u = b(!1);
2922
+ let m = !0, S = !1, f, y = !1;
2923
+ function a(p) {
2924
+ return f && f.componentClassList && f.componentClassList.includes("f-form-layout") && f.componentClassList.includes("farris-form") ? p.sourceType === "control" && p.controlCategory === "input" || p.sourceType === "move" && p.controlType === "form-group" : !0;
2914
2925
  }
2915
- function h(v) {
2916
- return !(!Kt().basalDragulaRuleForContainer(v) || !s || !y(v));
2926
+ function r(p) {
2927
+ return !(!an().basalDragulaRuleForContainer(p) || !m || !a(p));
2917
2928
  }
2918
- function a() {
2919
- o.value = !1, c.value = !1;
2920
- const v = e, V = v.appearance && v.appearance.class || "", g = V.split(" "), f = v.contents || [], D = f.length ? f[0] : null, S = D && D.appearance ? D.appearance.class : "", j = S ? S.split(" ") : [], L = f.length ? f.reduce((x, G) => {
2921
- const te = G && G.appearance ? G.appearance.class : "", me = te ? te.split(" ") : [];
2922
- return x.push(...me), x;
2923
- }, []) : [], M = t, O = M && M.appearance && M.appearance.class || "", I = O ? O.split(" ") : [];
2924
- p = {
2929
+ function w() {
2930
+ i.value = !1, u.value = !1;
2931
+ const p = n, V = p.appearance && p.appearance.class || "", A = V.split(" "), k = p.contents || [], x = k.length ? k[0] : null, j = x && x.appearance ? x.appearance.class : "", B = j ? j.split(" ") : [], E = k.length ? k.reduce((te, G) => {
2932
+ const ne = G && G.appearance ? G.appearance.class : "", be = ne ? ne.split(" ") : [];
2933
+ return te.push(...be), te;
2934
+ }, []) : [], P = o, L = P && P.appearance && P.appearance.class || "", ye = L ? L.split(" ") : [];
2935
+ f = {
2925
2936
  componentClass: V,
2926
- componentClassList: g,
2927
- childContents: f,
2928
- firstChildContent: D,
2929
- firstChildClass: S,
2930
- firstChildClassList: j,
2931
- parent: M,
2932
- parentClass: O,
2933
- parentClassList: I,
2934
- children: f,
2935
- childrenClassList: L
2937
+ componentClassList: A,
2938
+ childContents: k,
2939
+ firstChildContent: x,
2940
+ firstChildClass: j,
2941
+ firstChildClassList: B,
2942
+ parent: P,
2943
+ parentClass: L,
2944
+ parentClassList: ye,
2945
+ children: k,
2946
+ childrenClassList: E
2936
2947
  };
2937
- const { canAccept: A, fixed: E, hidePadding: P } = n.getRuleValue(g[0], p);
2938
- return s = A, d = P, w = E, !0;
2948
+ const { canAccept: ge, fixed: he, hidePadding: ve } = c.getRuleValue(A[0], f);
2949
+ return m = ge, S = ve, y = he, !0;
2939
2950
  }
2940
- function i(v) {
2941
- Ce();
2951
+ function s(p) {
2952
+ ke();
2942
2953
  }
2943
- function F() {
2944
- return e.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
2954
+ function g() {
2955
+ return n.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
2945
2956
  }
2946
- function l(v, V) {
2947
- const g = e;
2948
- if ((g.appearance && g.appearance.class || "").split(" ").includes("f-form-layout")) {
2949
- const { label: S } = v, j = R("form-group");
2950
- return j.editor = V, j.label = S, j;
2957
+ function l(p, V) {
2958
+ const A = n;
2959
+ if ((A.appearance && A.appearance.class || "").split(" ").includes("f-form-layout")) {
2960
+ const { label: j } = p, B = R("form-group");
2961
+ return B.editor = V, B.label = j, d(B), delete B.editor.id, delete B.editor.binding, delete B.editor.appearance, delete B.editor.visible, B;
2951
2962
  }
2952
2963
  return V;
2953
2964
  }
2954
- function m(v, V, g) {
2955
- const f = e;
2956
- if ((f.appearance && f.appearance.class || "").split(" ").includes("f-form-layout")) {
2957
- const j = String(v.innerText), L = R("form-group");
2958
- return L.editor = g, L.label = j, L;
2965
+ function d(p) {
2966
+ const V = e.componentInstance.value.getBelongedComponentInstance(e.componentInstance);
2967
+ if (V && V.schema && V.schema.componentType) {
2968
+ const A = V.schema.componentType, k = F(A);
2969
+ p.appearance || (p.appearance = {}), p.appearance.class = k;
2959
2970
  }
2960
- return g;
2961
2971
  }
2962
- function r() {
2963
- return !w;
2972
+ function F(p) {
2973
+ let V = "";
2974
+ switch (p) {
2975
+ case "form-col-1": {
2976
+ V = "col-12 col-md-12 col-xl-12 col-el-12";
2977
+ break;
2978
+ }
2979
+ case "form-col-12": {
2980
+ V = "col-12 col-md-12 col-xl-12 col-el-12";
2981
+ break;
2982
+ }
2983
+ case "form-col-2": {
2984
+ V = "col-12 col-md-6 col-xl-6 col-el-6";
2985
+ break;
2986
+ }
2987
+ case "form-col-3": {
2988
+ V = "col-12 col-md-6 col-xl-4 col-el-4";
2989
+ break;
2990
+ }
2991
+ case "form-col-4": {
2992
+ V = "col-12 col-md-6 col-xl-3 col-el-2";
2993
+ break;
2994
+ }
2995
+ case "form-col-6": {
2996
+ V = "col-12 col-md-6 col-xl-6 col-el-6";
2997
+ break;
2998
+ }
2999
+ case "frame": {
3000
+ V = "col-12";
3001
+ break;
3002
+ }
3003
+ }
3004
+ return V;
2964
3005
  }
2965
- function u() {
2966
- return !w;
3006
+ function T(p, V, A) {
3007
+ const k = n;
3008
+ if ((k.appearance && k.appearance.class || "").split(" ").includes("f-form-layout")) {
3009
+ const B = String(p.innerText), E = R("form-group");
3010
+ return E.editor = A, E.label = B, E;
3011
+ }
3012
+ return A;
2967
3013
  }
2968
- function T() {
2969
- return d;
3014
+ function I() {
3015
+ return !y;
3016
+ }
3017
+ function C() {
3018
+ return !y;
3019
+ }
3020
+ function v() {
3021
+ return S;
2970
3022
  }
2971
3023
  return {
2972
- canAccepts: h,
2973
- checkCanDeleteComponent: u,
2974
- checkCanMoveComponent: r,
2975
- getStyles: F,
2976
- hideNestedPaddingInDesginerView: T,
2977
- onAcceptNewChildElement: m,
2978
- onAcceptMovedChildElement: i,
2979
- resolveComponentContext: a,
3024
+ canAccepts: r,
3025
+ checkCanDeleteComponent: C,
3026
+ checkCanMoveComponent: I,
3027
+ getStyles: g,
3028
+ hideNestedPaddingInDesginerView: v,
3029
+ onAcceptNewChildElement: T,
3030
+ onAcceptMovedChildElement: s,
3031
+ resolveComponentContext: w,
2980
3032
  onResolveNewComponentSchema: l,
2981
- triggerBelongedComponentToMoveWhenMoved: o,
2982
- triggerBelongedComponentToDeleteWhenDeleted: c
3033
+ triggerBelongedComponentToMoveWhenMoved: i,
3034
+ triggerBelongedComponentToDeleteWhenDeleted: u
2983
3035
  };
2984
3036
  }
2985
- const dn = /* @__PURE__ */ H({
3037
+ const gn = /* @__PURE__ */ H({
2986
3038
  name: "FOrderDesign",
2987
3039
  props: K,
2988
3040
  emits: ["change"],
2989
3041
  setup(e, t) {
2990
- var V;
2991
- const n = C(e.items), o = C("排序列"), c = C("排序方式"), s = C("添加排序列"), d = [{
3042
+ var I;
3043
+ const n = b(e.items), o = b("排序列"), c = b("排序方式"), i = b("添加排序列"), u = [{
2992
3044
  id: "asc",
2993
3045
  name: "升序"
2994
3046
  }, {
2995
3047
  id: "desc",
2996
3048
  name: "降序"
2997
- }], p = C(/* @__PURE__ */ new Map()), w = C(), y = q("design-item-context"), h = un(y.schema, (V = y.parent) == null ? void 0 : V.schema), a = Jt(w, y, h);
3049
+ }], m = b(/* @__PURE__ */ new Map()), S = b(), f = q("design-item-context"), y = yn(f.schema, (I = f.parent) == null ? void 0 : I.schema), a = on(S, f, y);
2998
3050
  ie(() => {
2999
- w.value.componentInstance = a;
3051
+ S.value.componentInstance = a;
3000
3052
  }), t.expose(a.value);
3001
- function i() {
3002
- const g = n.value.map((f) => [f.id, !0]);
3003
- p.value = new Map(g);
3053
+ function r() {
3054
+ const C = n.value.map((v) => [v.id, !0]);
3055
+ m.value = new Map(C);
3004
3056
  }
3005
- i();
3006
- const F = B(() => e.dataSource.map((g) => (g.disabled = p.value.has(g.id), g))), l = B(() => ({
3057
+ r();
3058
+ const w = O(() => e.dataSource.map((C) => (C.disabled = m.value.has(C.id), C))), s = O(() => ({
3007
3059
  "f-order": !0
3008
3060
  }));
3009
- function m(g) {
3010
- n.value = n.value.filter((f) => f.id !== g.id), i(), t.emit("change", n.value);
3061
+ function g(C) {
3062
+ n.value = n.value.filter((v) => v.id !== C.id), r(), t.emit("change", n.value);
3011
3063
  }
3012
- function r() {
3064
+ function l() {
3013
3065
  n.value = [...n.value, {
3014
3066
  id: Date.now().toString(),
3015
3067
  name: "",
3016
3068
  order: "asc"
3017
- }], i(), t.emit("change", n.value);
3069
+ }], r(), t.emit("change", n.value);
3018
3070
  }
3019
- function u(g) {
3020
- i(), t.emit("change", n.value);
3071
+ function d(C) {
3072
+ r(), t.emit("change", n.value);
3021
3073
  }
3022
- function T(g) {
3023
- if (g && g.length) {
3024
- const f = /* @__PURE__ */ new Map();
3025
- g.reduce((D, S) => (D.set(S.id, S), D), f), n.value = g.map((D) => f.get(D.id)), t.emit("change", n.value);
3074
+ function F(C) {
3075
+ if (C && C.length) {
3076
+ const v = /* @__PURE__ */ new Map();
3077
+ C.reduce((D, p) => (D.set(p.id, p), D), v), n.value = C.map((D) => v.get(D.id)), t.emit("change", n.value);
3026
3078
  }
3027
3079
  }
3028
- function v() {
3029
- return b(ue, {
3080
+ function T() {
3081
+ return h(de, {
3030
3082
  style: "flex:1",
3031
3083
  data: n.value,
3032
3084
  draggable: !0,
3033
3085
  view: "DraggableView",
3034
3086
  "keep-order": !0,
3035
3087
  itemClass: "f-order-item",
3036
- onRemoveItem: m,
3037
- onChange: T
3088
+ onRemoveItem: g,
3089
+ onChange: F
3038
3090
  }, {
3039
- header: () => b("div", {
3091
+ header: () => h("div", {
3040
3092
  class: "f-order-header"
3041
- }, [b("span", {
3093
+ }, [h("span", {
3042
3094
  class: "f-order-header-order-field"
3043
- }, [o.value]), b("span", {
3095
+ }, [o.value]), h("span", {
3044
3096
  class: "f-order-header-order-type"
3045
3097
  }, [c.value])]),
3046
- itemContent: (g) => b("div", {
3098
+ itemContent: (C) => h("div", {
3047
3099
  class: "f-order-item-content"
3048
- }, [b(z, {
3100
+ }, [h(z, {
3049
3101
  class: "f-order-item-content-order-field",
3050
- data: F.value,
3102
+ data: w.value,
3051
3103
  valueField: "id",
3052
3104
  textField: "name",
3053
3105
  idField: "id",
3054
- modelValue: g.id,
3055
- "onUpdate:modelValue": (f) => g.id = f,
3056
- onChange: u,
3057
- onClear: u
3058
- }, null), b(z, {
3106
+ modelValue: C.id,
3107
+ "onUpdate:modelValue": (v) => C.id = v,
3108
+ onChange: d,
3109
+ onClear: d
3110
+ }, null), h(z, {
3059
3111
  class: "f-order-item-content-order-type",
3060
- data: d,
3112
+ data: u,
3061
3113
  valueField: "id",
3062
3114
  textField: "name",
3063
3115
  idField: "id",
3064
- modelValue: g.order,
3065
- "onUpdate:modelValue": (f) => g.order = f,
3066
- onChange: u
3116
+ modelValue: C.order,
3117
+ "onUpdate:modelValue": (v) => C.order = v,
3118
+ onChange: d
3067
3119
  }, null)]),
3068
- footer: () => b("div", {
3120
+ footer: () => h("div", {
3069
3121
  class: "f-order-footer"
3070
- }, [b(de, {
3122
+ }, [h(pe, {
3071
3123
  type: "link",
3072
3124
  class: "f-order-add-button",
3073
- onClick: r
3125
+ onClick: l
3074
3126
  }, {
3075
- default: () => b(Q, null, [b("span", {
3127
+ default: () => h(Q, null, [h("span", {
3076
3128
  class: "f-order-add-icon"
3077
- }, [b("i", {
3129
+ }, [h("i", {
3078
3130
  class: "f-icon f-icon-add"
3079
- }, null)]), s.value])
3131
+ }, null)]), i.value])
3080
3132
  })])
3081
3133
  });
3082
3134
  }
3083
- return () => b("div", {
3084
- ref: w,
3085
- class: l.value
3086
- }, [v()]);
3135
+ return () => h("div", {
3136
+ ref: S,
3137
+ class: s.value
3138
+ }, [T()]);
3087
3139
  }
3088
- }), Cn = {
3140
+ }), kn = {
3089
3141
  install(e) {
3090
3142
  e.component(_.name, _);
3091
3143
  },
3092
3144
  register(e, t, n, o) {
3093
- e.order = _, t.order = ne;
3145
+ e.order = _, t.order = oe;
3094
3146
  },
3095
3147
  registerDesigner(e, t, n) {
3096
- e.order = dn, t.order = ne;
3148
+ e.order = gn, t.order = oe;
3097
3149
  }
3098
3150
  };
3099
3151
  export {
3100
3152
  _ as FOrder,
3101
- Cn as default,
3153
+ kn as default,
3102
3154
  K as orderProps,
3103
- ne as propsResolver
3155
+ oe as propsResolver
3104
3156
  };