@farris/ui-vue 1.2.8 → 1.2.9

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 (215) hide show
  1. package/components/accordion/index.esm.js +129 -129
  2. package/components/accordion/index.umd.cjs +1 -0
  3. package/components/avatar/index.esm.js +166 -157
  4. package/components/avatar/index.umd.cjs +1 -0
  5. package/components/border-editor/index.umd.cjs +1 -0
  6. package/components/button/index.umd.cjs +1 -0
  7. package/components/button-edit/index.esm.js +343 -325
  8. package/components/button-edit/index.umd.cjs +1 -0
  9. package/components/button-group/index.umd.cjs +1 -0
  10. package/components/calculator/index.umd.cjs +1 -0
  11. package/components/calendar/index.esm.js +338 -338
  12. package/components/calendar/index.umd.cjs +1 -0
  13. package/components/capsule/index.esm.js +182 -182
  14. package/components/capsule/index.umd.cjs +1 -0
  15. package/components/checkbox/index.esm.js +326 -317
  16. package/components/checkbox/index.umd.cjs +1 -0
  17. package/components/color-picker/index.esm.js +118 -118
  18. package/components/color-picker/index.umd.cjs +3 -0
  19. package/components/combo-list/index.esm.js +338 -325
  20. package/components/combo-list/index.umd.cjs +1 -0
  21. package/components/combo-tree/index.esm.js +62 -62
  22. package/components/combo-tree/index.umd.cjs +1 -0
  23. package/components/common/index.umd.cjs +1 -0
  24. package/components/component/index.esm.js +382 -270
  25. package/components/component/index.umd.cjs +1 -0
  26. package/components/condition/index.esm.js +1018 -895
  27. package/components/condition/index.umd.cjs +1 -0
  28. package/components/content-container/index.esm.js +285 -212
  29. package/components/content-container/index.umd.cjs +1 -0
  30. package/components/data-grid/index.css +1 -1
  31. package/components/data-grid/index.esm.js +4761 -4319
  32. package/components/data-grid/index.umd.cjs +1 -0
  33. package/components/data-view/index.esm.js +2901 -2664
  34. package/components/data-view/index.umd.cjs +1 -0
  35. package/components/date-picker/index.esm.js +1502 -1488
  36. package/components/date-picker/index.umd.cjs +1 -0
  37. package/components/designer-canvas/index.css +1 -1
  38. package/components/designer-canvas/index.esm.js +938 -928
  39. package/components/designer-canvas/index.umd.cjs +1 -0
  40. package/components/designer-outline/index.css +1 -1
  41. package/components/designer-outline/index.esm.js +27 -27
  42. package/components/designer-outline/index.umd.cjs +1 -0
  43. package/components/designer-toolbox/index.esm.js +36 -12
  44. package/components/designer-toolbox/index.umd.cjs +1 -0
  45. package/components/discussion-editor/index.umd.cjs +3 -0
  46. package/components/discussion-list/index.umd.cjs +1 -0
  47. package/components/drawer/index.umd.cjs +1 -0
  48. package/components/dropdown/index.esm.js +241 -241
  49. package/components/dropdown/index.umd.cjs +2 -0
  50. package/components/dynamic-form/index.esm.js +1074 -885
  51. package/components/dynamic-form/index.umd.cjs +1 -0
  52. package/components/dynamic-resolver/index.esm.js +99 -94
  53. package/components/dynamic-resolver/index.umd.cjs +1 -0
  54. package/components/dynamic-view/index.umd.cjs +1 -0
  55. package/components/enum-editor/index.umd.cjs +1 -0
  56. package/components/events-editor/index.esm.js +577 -522
  57. package/components/events-editor/index.umd.cjs +1 -0
  58. package/components/expression-editor/index.esm.js +70 -70
  59. package/components/expression-editor/index.umd.cjs +1 -0
  60. package/components/external-container/index.css +1 -1
  61. package/components/external-container/index.esm.js +2938 -2619
  62. package/components/external-container/index.umd.cjs +1 -0
  63. package/components/field-selector/index.css +1 -1
  64. package/components/field-selector/index.esm.js +4766 -4325
  65. package/components/field-selector/index.umd.cjs +1 -0
  66. package/components/filter-bar/index.css +1 -1
  67. package/components/filter-bar/index.esm.js +1231 -1215
  68. package/components/filter-bar/index.umd.cjs +1 -0
  69. package/components/flow-canvas/index.css +1 -1
  70. package/components/flow-canvas/index.esm.js +1062 -1052
  71. package/components/flow-canvas/index.umd.cjs +1 -0
  72. package/components/image-cropper/index.esm.js +373 -373
  73. package/components/image-cropper/index.umd.cjs +1 -0
  74. package/components/input-group/index.esm.js +398 -394
  75. package/components/input-group/index.umd.cjs +1 -0
  76. package/components/layout/index.esm.js +268 -268
  77. package/components/layout/index.umd.cjs +1 -0
  78. package/components/list-nav/index.esm.js +234 -161
  79. package/components/list-nav/index.umd.cjs +1 -0
  80. package/components/list-view/index.css +1 -1
  81. package/components/list-view/index.esm.js +2288 -2048
  82. package/components/list-view/index.umd.cjs +1 -0
  83. package/components/loading/index.umd.cjs +8 -0
  84. package/components/locale/index.umd.cjs +1 -0
  85. package/components/lookup/index.css +1 -1
  86. package/components/lookup/index.esm.js +5776 -5305
  87. package/components/lookup/index.umd.cjs +1 -0
  88. package/components/mapping-editor/index.css +1 -1
  89. package/components/mapping-editor/index.esm.js +5496 -5036
  90. package/components/mapping-editor/index.umd.cjs +1 -0
  91. package/components/message-box/index.umd.cjs +1 -0
  92. package/components/modal/index.umd.cjs +1 -0
  93. package/components/nav/index.esm.js +383 -322
  94. package/components/nav/index.umd.cjs +3 -0
  95. package/components/notify/index.umd.cjs +1 -0
  96. package/components/number-range/index.esm.js +273 -269
  97. package/components/number-range/index.umd.cjs +1 -0
  98. package/components/number-spinner/index.esm.js +292 -283
  99. package/components/number-spinner/index.umd.cjs +1 -0
  100. package/components/order/index.css +1 -1
  101. package/components/order/index.esm.js +1008 -925
  102. package/components/order/index.umd.cjs +1 -0
  103. package/components/page-footer/index.esm.js +98 -98
  104. package/components/page-footer/index.umd.cjs +1 -0
  105. package/components/page-header/index.esm.js +949 -847
  106. package/components/page-header/index.umd.cjs +1 -0
  107. package/components/pagination/index.esm.js +464 -403
  108. package/components/pagination/index.umd.cjs +1 -0
  109. package/components/popover/index.umd.cjs +1 -0
  110. package/components/progress/index.esm.js +226 -226
  111. package/components/progress/index.umd.cjs +3 -0
  112. package/components/property-editor/index.esm.js +1110 -1092
  113. package/components/property-editor/index.umd.cjs +3 -0
  114. package/components/property-panel/index.esm.js +520 -513
  115. package/components/property-panel/index.umd.cjs +1 -0
  116. package/components/query-solution/index.css +1 -1
  117. package/components/query-solution/index.esm.js +1714 -1575
  118. package/components/query-solution/index.umd.cjs +1 -0
  119. package/components/radio-button/index.esm.js +67 -67
  120. package/components/radio-button/index.umd.cjs +1 -0
  121. package/components/radio-group/index.esm.js +298 -289
  122. package/components/radio-group/index.umd.cjs +1 -0
  123. package/components/rate/index.esm.js +195 -190
  124. package/components/rate/index.umd.cjs +1 -0
  125. package/components/response-layout/index.esm.js +112 -112
  126. package/components/response-layout/index.umd.cjs +1 -0
  127. package/components/response-layout-editor/index.esm.js +902 -877
  128. package/components/response-layout-editor/index.umd.cjs +1 -0
  129. package/components/response-toolbar/index.esm.js +874 -778
  130. package/components/response-toolbar/index.umd.cjs +1 -0
  131. package/components/schema-selector/index.css +1 -1
  132. package/components/schema-selector/index.esm.js +4594 -4289
  133. package/components/schema-selector/index.umd.cjs +8 -0
  134. package/components/search-box/index.esm.js +126 -126
  135. package/components/search-box/index.umd.cjs +1 -0
  136. package/components/section/index.esm.js +645 -503
  137. package/components/section/index.umd.cjs +1 -0
  138. package/components/smoke-detector/index.esm.js +120 -120
  139. package/components/smoke-detector/index.umd.cjs +1 -0
  140. package/components/spacing-editor/index.umd.cjs +1 -0
  141. package/components/splitter/index.esm.js +421 -348
  142. package/components/splitter/index.umd.cjs +1 -0
  143. package/components/step/index.esm.js +219 -219
  144. package/components/step/index.umd.cjs +1 -0
  145. package/components/switch/index.esm.js +232 -222
  146. package/components/switch/index.umd.cjs +1 -0
  147. package/components/tabs/index.esm.js +1823 -1744
  148. package/components/tabs/index.umd.cjs +1 -0
  149. package/components/tags/index.esm.js +399 -401
  150. package/components/tags/index.umd.cjs +1 -0
  151. package/components/text/index.esm.js +164 -164
  152. package/components/text/index.umd.cjs +1 -0
  153. package/components/textarea/index.esm.js +220 -215
  154. package/components/textarea/index.umd.cjs +1 -0
  155. package/components/time-picker/index.esm.js +693 -666
  156. package/components/time-picker/index.umd.cjs +1 -0
  157. package/components/tooltip/index.umd.cjs +1 -0
  158. package/components/transfer/index.css +1 -1
  159. package/components/transfer/index.esm.js +422 -413
  160. package/components/transfer/index.umd.cjs +1 -0
  161. package/components/tree-grid/index.css +1 -1
  162. package/components/tree-grid/index.esm.js +4799 -4358
  163. package/components/tree-grid/index.umd.cjs +1 -0
  164. package/components/tree-view/index.esm.js +2448 -2215
  165. package/components/tree-view/index.umd.cjs +1 -0
  166. package/components/uploader/index.esm.js +164 -164
  167. package/components/uploader/index.umd.cjs +2 -0
  168. package/components/verify-detail/index.esm.js +143 -143
  169. package/components/verify-detail/index.umd.cjs +1 -0
  170. package/components/video/index.esm.js +410 -331
  171. package/components/video/index.umd.cjs +1 -0
  172. package/components/weather/index.esm.js +901 -901
  173. package/components/weather/index.umd.cjs +16 -0
  174. package/farris.all.esm.js +12305 -11403
  175. package/farris.all.umd.cjs +8 -8
  176. package/index.css +1 -1
  177. package/package.json +1 -1
  178. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  179. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  180. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  181. package/types/common/entity/entity-schema.d.ts +258 -0
  182. package/types/component/src/component-ref.props.d.ts +4 -0
  183. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  184. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  185. package/types/data-grid/index.d.ts +5 -2
  186. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  187. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  188. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  189. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  190. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  191. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  192. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  193. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  194. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  195. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  196. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  197. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  198. package/types/data-view/composition/types.d.ts +18 -6
  199. package/types/data-view/composition/use-edit.d.ts +2 -1
  200. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  201. package/types/designer-canvas/src/types.d.ts +2 -2
  202. package/types/dynamic-form/index.d.ts +2 -1
  203. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  204. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  205. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  206. package/types/dynamic-resolver/src/types.d.ts +3 -2
  207. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  208. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  209. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  210. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  211. package/types/tabs/src/composition/types.d.ts +2 -2
  212. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  213. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  214. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  215. package/types/tags/index.d.ts +36 -5
@@ -1,104 +1,104 @@
1
- import { ref as p, computed as $, createVNode as l, Fragment as B, watch as X, withModifiers as te, withDirectives as ne, vModelText as le, defineComponent as G, createTextVNode as H, inject as se, onMounted as ae } from "vue";
1
+ import { ref as g, computed as $, createVNode as l, Fragment as B, watch as X, withModifiers as te, withDirectives as ne, vModelText as le, defineComponent as G, createTextVNode as _, inject as se, onMounted as ae } from "vue";
2
2
  import { cloneDeep as oe } from "lodash-es";
3
- import { useIdentify as re, useHierarchy as ie, useGroupData as ce, usePagination as ue, useDataView as fe, useSelection as de, useEdit as pe, useVisualDataBound as ve, useVisualDataCell as he, useVisualDataRow as ge, useVisualGroupRow as me, useVisualSummaryRow as ye, useVisualData as Ce } from "../data-view/index.esm.js";
3
+ import { useIdentify as ie, useHierarchy as re, useGroupData as ce, usePagination as ue, useDataView as fe, useSelection as de, useEdit as pe, useVisualDataBound as ve, useVisualDataCell as he, useVisualDataRow as ge, useVisualGroupRow as me, useVisualSummaryRow as ye, useVisualData as we } from "../data-view/index.esm.js";
4
4
  import { FCheckBox as q } from "../checkbox/index.esm.js";
5
5
  const Q = {}, Y = {};
6
6
  function z(t) {
7
- const { properties: e, title: n } = t, i = Object.keys(e).reduce((g, a) => (g[a] = e[a].type === "object" && e[a].properties ? z(e[a]) : oe(e[a].default), g), {});
8
- return i.id = `${n}-${Date.now()}`, i;
7
+ const { properties: e, title: n, ignore: u } = t, v = u && Array.isArray(u), a = Object.keys(e).reduce((i, m) => ((!v || !u.find((r) => r == m)) && (i[m] = e[m].type === "object" && e[m].properties ? z(e[m]) : oe(e[m].default)), i), {});
8
+ return (!v || !u.find((i) => i == "id")) && (a.id = `${n}-${Date.now()}`), a;
9
9
  }
10
- function N(t, e = {}) {
11
- const n = Q[t];
12
- if (n) {
13
- let i = z(n);
14
- const g = Y[t];
15
- return i = g ? g({ getSchemaByType: N }, i, e) : i, i;
10
+ function N(t, e = {}, n) {
11
+ const u = Q[t];
12
+ if (u) {
13
+ let v = z(u);
14
+ const a = Y[t];
15
+ return v = a ? a({ getSchemaByType: N }, v, e, n) : v, v;
16
16
  }
17
17
  return null;
18
18
  }
19
- function Se(t, e) {
19
+ function Ce(t, e) {
20
20
  const n = z(e);
21
- return Object.keys(t).reduce((i, g) => (i[g] && typeof i[g] == "object" ? Object.assign(i[g], t[g]) : i[g] = t[g], i), n), n;
21
+ return Object.keys(t).reduce((u, v) => (u[v] && typeof u[v] == "object" ? Object.assign(u[v], t[v]) : u[v] = t[v], u), n), n;
22
22
  }
23
- function we(t, e) {
24
- return Object.keys(t).filter((i) => t[i] != null).reduce((i, g) => {
25
- if (e.has(g)) {
26
- const a = e.get(g);
23
+ function Se(t, e) {
24
+ return Object.keys(t).filter((u) => t[u] != null).reduce((u, v) => {
25
+ if (e.has(v)) {
26
+ const a = e.get(v);
27
27
  if (typeof a == "string")
28
- i[a] = t[g];
28
+ u[a] = t[v];
29
29
  else {
30
- const v = a(g, t[g], t);
31
- Object.assign(i, v);
30
+ const i = a(v, t[v], t);
31
+ Object.assign(u, i);
32
32
  }
33
33
  } else
34
- i[g] = t[g];
35
- return i;
34
+ u[v] = t[v];
35
+ return u;
36
36
  }, {});
37
37
  }
38
38
  function be(t, e, n = /* @__PURE__ */ new Map()) {
39
- const i = Se(t, e);
40
- return we(i, n);
39
+ const u = Ce(t, e);
40
+ return Se(u, n);
41
41
  }
42
42
  function ke(t = {}) {
43
- function e(d, u, o, r) {
43
+ function e(p, d, o, c) {
44
44
  if (typeof o == "number")
45
- return r[d].length === o;
45
+ return c[p].length === o;
46
46
  if (typeof o == "object") {
47
- const b = Object.keys(o)[0], w = o[b];
48
- if (b === "not")
49
- return Number(r[d].length) !== Number(w);
50
- if (b === "moreThan")
51
- return Number(r[d].length) >= Number(w);
52
- if (b === "lessThan")
53
- return Number(r[d].length) <= Number(w);
47
+ const k = Object.keys(o)[0], S = o[k];
48
+ if (k === "not")
49
+ return Number(c[p].length) !== Number(S);
50
+ if (k === "moreThan")
51
+ return Number(c[p].length) >= Number(S);
52
+ if (k === "lessThan")
53
+ return Number(c[p].length) <= Number(S);
54
54
  }
55
55
  return !1;
56
56
  }
57
- function n(d, u, o, r) {
58
- return r[d] && r[d].propertyValue && String(r[d].propertyValue.value) === String(o);
57
+ function n(p, d, o, c) {
58
+ return c[p] && c[p].propertyValue && String(c[p].propertyValue.value) === String(o);
59
59
  }
60
- const i = /* @__PURE__ */ new Map([
60
+ const u = /* @__PURE__ */ new Map([
61
61
  ["length", e],
62
62
  ["getProperty", n]
63
63
  ]);
64
- Object.keys(t).reduce((d, u) => (d.set(u, t[u]), d), i);
65
- function g(d, u) {
66
- const o = d;
67
- return typeof u == "number" ? [{ target: o, operator: "length", param: null, value: Number(u) }] : typeof u == "boolean" ? [{ target: o, operator: "getProperty", param: d, value: !!u }] : typeof u == "object" ? Object.keys(u).map((r) => {
68
- if (r === "length")
69
- return { target: o, operator: "length", param: null, value: u[r] };
70
- const b = r, w = u[r];
71
- return { target: o, operator: "getProperty", param: b, value: w };
64
+ Object.keys(t).reduce((p, d) => (p.set(d, t[d]), p), u);
65
+ function v(p, d) {
66
+ const o = p;
67
+ return typeof d == "number" ? [{ target: o, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: o, operator: "getProperty", param: p, value: !!d }] : typeof d == "object" ? Object.keys(d).map((c) => {
68
+ if (c === "length")
69
+ return { target: o, operator: "length", param: null, value: d[c] };
70
+ const k = c, S = d[c];
71
+ return { target: o, operator: "getProperty", param: k, value: S };
72
72
  }) : [];
73
73
  }
74
- function a(d) {
75
- return Object.keys(d).reduce((o, r) => {
76
- const b = g(r, d[r]);
77
- return o.push(...b), o;
74
+ function a(p) {
75
+ return Object.keys(p).reduce((o, c) => {
76
+ const k = v(c, p[c]);
77
+ return o.push(...k), o;
78
78
  }, []);
79
79
  }
80
- function v(d, u) {
81
- if (i.has(d.operator)) {
82
- const o = i.get(d.operator);
83
- return o && o(d.target, d.param, d.value, u) || !1;
80
+ function i(p, d) {
81
+ if (u.has(p.operator)) {
82
+ const o = u.get(p.operator);
83
+ return o && o(p.target, p.param, p.value, d) || !1;
84
84
  }
85
85
  return !1;
86
86
  }
87
- function y(d, u) {
88
- return a(d).reduce((b, w) => b && v(w, u), !0);
87
+ function m(p, d) {
88
+ return a(p).reduce((k, S) => k && i(S, d), !0);
89
89
  }
90
- function c(d, u) {
91
- const o = Object.keys(d), r = o.includes("allOf"), b = o.includes("anyOf"), w = r || b, D = (w ? d[w ? r ? "allOf" : "anyOf" : "allOf"] : [d]).map((I) => y(I, u));
92
- return r ? !D.includes(!1) : D.includes(!0);
90
+ function r(p, d) {
91
+ const o = Object.keys(p), c = o.includes("allOf"), k = o.includes("anyOf"), S = c || k, D = (S ? p[S ? c ? "allOf" : "anyOf" : "allOf"] : [p]).map((O) => m(O, d));
92
+ return c ? !D.includes(!1) : D.includes(!0);
93
93
  }
94
- return { parseValueSchema: c };
94
+ return { parseValueSchema: r };
95
95
  }
96
96
  const Ve = {}, Me = {};
97
97
  ke();
98
- function Z(t, e, n = /* @__PURE__ */ new Map(), i = (v, y, c) => y, g = {}, a = (v) => v) {
99
- return Q[e.title] = e, Y[e.title] = i, Ve[e.title] = g, Me[e.title] = a, (v = {}) => {
100
- const y = be(v, e, n), c = Object.keys(t).reduce((d, u) => (d[u] = t[u].default, d), {});
101
- return Object.assign(c, y);
98
+ function Z(t, e, n = /* @__PURE__ */ new Map(), u = (i, m, r) => m, v = {}, a = (i) => i) {
99
+ return Q[e.title] = e, Y[e.title] = u, Ve[e.title] = v, Me[e.title] = a, (i = {}) => {
100
+ const m = be(i, e, n), r = Object.keys(t).reduce((p, d) => (p[d] = t[d].default, p), {});
101
+ return Object.assign(r, m);
102
102
  };
103
103
  }
104
104
  function K(t, e) {
@@ -110,7 +110,7 @@ const De = /* @__PURE__ */ new Map([
110
110
  function Te(t, e, n) {
111
111
  return e;
112
112
  }
113
- const Oe = "transfer", Fe = "A Farris Component", Ie = "object", je = {
113
+ const Oe = "transfer", Ie = "A Farris Component", Fe = "object", je = {
114
114
  basic: {
115
115
  description: "Basic Infomation",
116
116
  title: "基本信息",
@@ -134,10 +134,10 @@ const Oe = "transfer", Fe = "A Farris Component", Ie = "object", je = {
134
134
  }
135
135
  }, Re = {
136
136
  title: Oe,
137
- description: Fe,
138
- type: Ie,
137
+ description: Ie,
138
+ type: Fe,
139
139
  categories: je
140
- }, $e = "https://json-schema.org/draft/2020-12/schema", Pe = "https://farris-design.gitee.io/transfer.schema.json", Ae = "transfer", Ee = "A Farris Component", Le = "object", _e = {
140
+ }, $e = "https://json-schema.org/draft/2020-12/schema", Pe = "https://farris-design.gitee.io/transfer.schema.json", Ae = "transfer", Le = "A Farris Component", Ee = "object", He = {
141
141
  id: {
142
142
  description: "The unique identifier for transfer",
143
143
  type: "string"
@@ -199,17 +199,17 @@ const Oe = "transfer", Fe = "A Farris Component", Ie = "object", je = {
199
199
  type: "boolean",
200
200
  default: !0
201
201
  }
202
- }, He = [
202
+ }, _e = [
203
203
  "id",
204
204
  "type"
205
205
  ], Ne = {
206
206
  $schema: $e,
207
207
  $id: Pe,
208
208
  title: Ae,
209
- description: Ee,
210
- type: Le,
211
- properties: _e,
212
- required: He
209
+ description: Le,
210
+ type: Ee,
211
+ properties: He,
212
+ required: _e
213
213
  }, U = {
214
214
  dataSource: {
215
215
  type: Array,
@@ -373,173 +373,176 @@ const qe = "https://json-schema.org/draft/2020-12/schema", ze = "https://farris-
373
373
  Z(ee, Ye, Be, Ge, tt);
374
374
  function nt(t, e) {
375
375
  function n(a) {
376
- const v = [];
377
- let y = a.nextNode();
378
- for (; y; )
379
- v.push(y), y = a.nextNode();
380
- return v;
376
+ const i = [];
377
+ let m = a.nextNode();
378
+ for (; m; )
379
+ i.push(m), m = a.nextNode();
380
+ return i;
381
381
  }
382
- function i(a, v) {
383
- const y = document.createTreeWalker(a, NodeFilter.SHOW_TEXT);
384
- return n(y).map((o) => ({ textNode: o, text: (o.textContent || "").toLocaleLowerCase() })).map(({ textNode: o, text: r }) => {
385
- const b = [];
386
- let w = 0;
387
- for (; w < r.length; ) {
388
- const V = r.indexOf(v, w);
382
+ function u(a, i) {
383
+ const m = document.createTreeWalker(a, NodeFilter.SHOW_TEXT);
384
+ return n(m).map((o) => ({ textNode: o, text: (o.textContent || "").toLocaleLowerCase() })).map(({ textNode: o, text: c }) => {
385
+ const k = [];
386
+ let S = 0;
387
+ for (; S < c.length; ) {
388
+ const V = c.indexOf(i, S);
389
389
  if (V === -1)
390
390
  break;
391
- b.push(V), w = V + v.length;
391
+ k.push(V), S = V + i.length;
392
392
  }
393
- return b.map((V) => {
394
- const F = new Range();
395
- return F.setStart(o, V), F.setEnd(o, V + v.length), F;
393
+ return k.map((V) => {
394
+ const I = new Range();
395
+ return I.setStart(o, V), I.setEnd(o, V + i.length), I;
396
396
  });
397
397
  }).flat();
398
398
  }
399
- function g(a) {
399
+ function v(a) {
400
400
  if (!CSS.highlights || (CSS.highlights.clear(), !a || !e))
401
401
  return;
402
- const v = i(e.value, a.toLocaleLowerCase()), y = new Highlight(...v);
403
- CSS.highlights.set("search-result", y);
402
+ const i = u(e.value, a.toLocaleLowerCase()), m = new Highlight(...i);
403
+ CSS.highlights.set("search-result", m);
404
404
  }
405
- return { search: g };
405
+ return { search: v };
406
406
  }
407
- function W(t, e, n, i, g, a, v, y, c, d) {
408
- const u = p(t.size), o = p(t.textField), r = p(t.titleField), b = p(t.multiSelect), w = p(t.disableField), {
407
+ function W(t, e, n, u, v, a, i, m, r, p) {
408
+ const d = g(t.size), o = g(t.textField), c = g(t.titleField), k = g(t.disableField), S = $(() => {
409
+ var f, y;
410
+ return ((f = t.selection) == null ? void 0 : f.multiSelect) && ((y = t.selection) == null ? void 0 : y.showCheckbox);
411
+ }), {
409
412
  onMouseenterItem: V,
410
- onMouseoverItem: F,
413
+ onMouseoverItem: I,
411
414
  onMouseoutItem: D
412
415
  } = a, {
413
416
  getKey: M,
414
- listViewItemClass: I,
417
+ listViewItemClass: O,
415
418
  onCheckItem: P,
416
419
  onClickItem: T
417
- } = v, m = $(() => ({
418
- margin: u.value === "small" ? "0.25rem 0" : "10px 0"
420
+ } = i, w = $(() => ({
421
+ margin: d.value === "small" ? "0.25rem 0" : "10px 0"
419
422
  }));
420
- function O(f, S, k) {
421
- return f.checked = y.findIndexInSelectedItems(f) > -1, l("li", {
422
- class: I(f, S),
423
- id: M(f, S),
424
- key: M(f, S),
425
- onClick: (s) => T(s, f, S),
426
- onMouseenter: (s) => V(s, f, S),
427
- onMouseover: (s) => F(s, f, S),
428
- onMouseout: (s) => D(s, f, S)
429
- }, [b.value && l("div", {
423
+ function F(f, y, b) {
424
+ return f.checked = m.findIndexInSelectedItems(f) > -1, l("li", {
425
+ class: O(f, y),
426
+ id: M(f, y),
427
+ key: M(f, y),
428
+ onClick: (s) => T(s, f, y),
429
+ onMouseenter: (s) => V(s, f, y),
430
+ onMouseover: (s) => I(s, f, y),
431
+ onMouseout: (s) => D(s, f, y)
432
+ }, [S.value && l("div", {
430
433
  class: "f-list-select",
431
434
  onClick: (s) => s.stopPropagation()
432
435
  }, [l(q, {
433
- id: "list-" + M(f, S),
436
+ id: "list-" + M(f, y),
434
437
  customClass: "listview-checkbox",
435
- disabled: f[w.value],
438
+ disabled: f[k.value],
436
439
  checked: f.checked,
437
440
  "onUpdate:checked": (s) => f.checked = s,
438
441
  onChange: (s) => {
439
- P(f, S, !s.checked);
442
+ P(f, y, !s.checked);
440
443
  }
441
444
  }, null)]), l("div", {
442
445
  class: "f-list-content"
443
446
  }, [l("div", {
444
- style: m.value,
445
- title: f.raw[r.value] || f.raw[o.value]
447
+ style: w.value,
448
+ title: f.raw[c.value] || f.raw[o.value]
446
449
  }, [f.raw[o.value]])])]);
447
450
  }
448
451
  return {
449
- renderItem: O
452
+ renderItem: F
450
453
  };
451
454
  }
452
- function lt(t, e, n, i, g, a, v, y, c, d) {
453
- const u = p(t.multiSelect), o = p(t.disableField), {
454
- onMouseenterItem: r,
455
- onMouseoverItem: b,
456
- onMouseoutItem: w
455
+ function lt(t, e, n, u, v, a, i, m, r, p) {
456
+ const d = g(t.multiSelect), o = g(t.disableField), {
457
+ onMouseenterItem: c,
458
+ onMouseoverItem: k,
459
+ onMouseoutItem: S
457
460
  } = a, {
458
461
  getKey: V,
459
- listViewItemClass: F,
462
+ listViewItemClass: I,
460
463
  onCheckItem: D,
461
464
  onClickItem: M
462
- } = v;
463
- function I(T, m, O) {
465
+ } = i;
466
+ function O(T, w, F) {
464
467
  return e.slots.content ? l(B, null, [e.slots.content && e.slots.content({
465
468
  item: T.raw,
466
- index: m,
467
- selectedItem: O
469
+ index: w,
470
+ selectedItem: F
468
471
  })]) : l("div", {
469
472
  style: "margin: 10px 0;"
470
473
  }, [T.raw.name]);
471
474
  }
472
- function P(T, m, O) {
475
+ function P(T, w, F) {
473
476
  return l("li", {
474
- class: F(T, m),
475
- id: V(T, m),
476
- key: V(T, m),
477
- onClick: (f) => M(f, T, m),
478
- onMouseenter: (f) => r(f, T, m),
479
- onMouseover: (f) => b(f, T, m),
480
- onMouseout: (f) => w(f, T, m)
481
- }, [u.value && l("div", {
477
+ class: I(T, w),
478
+ id: V(T, w),
479
+ key: V(T, w),
480
+ onClick: (f) => M(f, T, w),
481
+ onMouseenter: (f) => c(f, T, w),
482
+ onMouseover: (f) => k(f, T, w),
483
+ onMouseout: (f) => S(f, T, w)
484
+ }, [d.value && l("div", {
482
485
  class: "f-list-select",
483
486
  onClick: (f) => f.stopPropagation()
484
487
  }, [l(q, {
485
- id: "list-" + V(T, m),
488
+ id: "list-" + V(T, w),
486
489
  customClass: "listview-checkbox",
487
490
  disabled: T[o.value] || !T.checked,
488
491
  checked: T.checked,
489
492
  "onUpdate:checked": (f) => T.checked = f,
490
- onChange: (f) => D(T, m, !f.checked)
493
+ onChange: (f) => D(T, w, !f.checked)
491
494
  }, null)]), l("div", {
492
495
  class: "f-list-content"
493
- }, [I(T, m, O)])]);
496
+ }, [O(T, w, F)])]);
494
497
  }
495
498
  return {
496
499
  renderItem: P
497
500
  };
498
501
  }
499
- function st(t, e, n, i, g, a, v, y, c, d) {
500
- const u = p(t.multiSelect), o = p(t.disableField), {
501
- onMouseenterItem: r,
502
- onMouseoverItem: b,
503
- onMouseoutItem: w
502
+ function st(t, e, n, u, v, a, i, m, r, p) {
503
+ const d = g(t.multiSelect), o = g(t.disableField), {
504
+ onMouseenterItem: c,
505
+ onMouseoverItem: k,
506
+ onMouseoutItem: S
504
507
  } = a, {
505
508
  getKey: V,
506
- listViewItemClass: F,
509
+ listViewItemClass: I,
507
510
  onCheckItem: D,
508
511
  onClickItem: M
509
- } = v, {
510
- dragstart: I,
512
+ } = i, {
513
+ dragstart: O,
511
514
  dragenter: P,
512
515
  dragover: T,
513
- dragend: m
514
- } = i, {
515
- removeItem: O
516
- } = c, f = $(() => ({
517
- margin: u.value ? "10px 0" : "10px 0px 10px 14px"
516
+ dragend: w
517
+ } = u, {
518
+ removeItem: F
519
+ } = r, f = $(() => ({
520
+ margin: d.value ? "10px 0" : "10px 0px 10px 14px"
518
521
  }));
519
- function S(h) {
522
+ function y(h) {
520
523
  return l("div", {
521
524
  style: f.value
522
525
  }, [h.raw.name]);
523
526
  }
524
- function k() {
525
- return e.slots.itemContent ? e.slots.itemContent : S;
527
+ function b() {
528
+ return e.slots.itemContent ? e.slots.itemContent : y;
526
529
  }
527
- const s = k();
528
- function C(h, j, E) {
530
+ const s = b();
531
+ function C(h, j, A) {
529
532
  return l("li", {
530
- class: F(h, j),
533
+ class: I(h, j),
531
534
  id: V(h, j),
532
535
  key: V(h, j),
533
536
  onClick: (R) => M(R, h, j),
534
- onMouseenter: (R) => r(R, h, j),
535
- onMouseover: (R) => b(R, h, j),
536
- onMouseout: (R) => w(R, h, j),
537
+ onMouseenter: (R) => c(R, h, j),
538
+ onMouseover: (R) => k(R, h, j),
539
+ onMouseout: (R) => S(R, h, j),
537
540
  draggable: "true",
538
- onDragstart: (R) => I(R, h, j),
541
+ onDragstart: (R) => O(R, h, j),
539
542
  onDragenter: (R) => P(R, j),
540
- onDragend: (R) => m(R, h),
543
+ onDragend: (R) => w(R, h),
541
544
  onDragover: (R) => T(R, j)
542
- }, [u.value && l("div", {
545
+ }, [d.value && l("div", {
543
546
  class: "f-list-select",
544
547
  onClick: (R) => R.stopPropagation()
545
548
  }, [l(q, {
@@ -553,7 +556,7 @@ function st(t, e, n, i, g, a, v, y, c, d) {
553
556
  class: "f-list-content"
554
557
  }, [s(h)]), l("div", {
555
558
  class: "f-list-remove",
556
- onClick: (R) => O(j)
559
+ onClick: (R) => F(j)
557
560
  }, [l("div", {
558
561
  class: "f-list-remove-icon"
559
562
  }, [l("i", {
@@ -568,204 +571,210 @@ function st(t, e, n, i, g, a, v, y, c, d) {
568
571
  renderItem: C
569
572
  };
570
573
  }
571
- function at(t, e, n, i, g, a, v, y, c, d) {
574
+ function at(t, e, n, u, v, a, i, m, r, p) {
572
575
  var V;
573
- const u = p(((V = t.group) == null ? void 0 : V.groupFields) || []), {
576
+ const d = g(((V = t.group) == null ? void 0 : V.groupFields) || []), {
574
577
  collpaseGroupIconClass: o
575
- } = g, {
576
- toggleGroupRow: r
577
- } = d;
578
- function b(F, D) {
579
- D.collapse = !D.collapse, n.value = r(D.collapse ? "collapse" : "expand", D, n.value);
578
+ } = v, {
579
+ toggleGroupRow: c
580
+ } = p;
581
+ function k(I, D) {
582
+ D.collapse = !D.collapse, n.value = c(D.collapse ? "collapse" : "expand", D, n.value);
580
583
  }
581
- function w(F, D, M) {
582
- return F.layer > -1 && l("div", {
584
+ function S(I, D, M) {
585
+ return I.layer > -1 && l("div", {
583
586
  class: "f-navlookup-recentHeader",
584
- onClick: (I) => b(I, F)
587
+ onClick: (O) => k(O, I)
585
588
  }, [l("div", {
586
589
  class: "fv-grid-group-row-icon"
587
590
  }, [l("span", {
588
- class: o(F)
591
+ class: o(I)
589
592
  }, null)]), l("div", {
590
593
  class: "f-navlookup-recommandLabel"
591
- }, [F.raw[u.value[F.layer]]])]);
594
+ }, [I.raw[d.value[I.layer]]])]);
592
595
  }
593
596
  return {
594
- renderItem: w
597
+ renderItem: S
595
598
  };
596
599
  }
597
600
  function ot() {
598
- const t = p(-1), e = p(""), n = p(-1), i = p(!1);
599
- function g(d, u, o) {
601
+ const t = g(-1), e = g(""), n = g(-1), u = g(!1);
602
+ function v(p, d, o) {
600
603
  n.value = o;
601
604
  }
602
- function a(d, u, o) {
603
- i.value || (n.value = o);
605
+ function a(p, d, o) {
606
+ u.value || (n.value = o);
604
607
  }
605
- function v(d, u, o) {
608
+ function i(p, d, o) {
606
609
  n.value = -1;
607
610
  }
608
- function y() {
609
- i.value = !0;
611
+ function m() {
612
+ u.value = !0;
610
613
  }
611
- function c() {
612
- i.value = !1;
614
+ function r() {
615
+ u.value = !1;
613
616
  }
614
617
  return {
615
618
  activeIndex: t,
616
619
  focusedItemId: e,
617
620
  hoverIndex: n,
618
- onMouseenterItem: g,
621
+ onMouseenterItem: v,
619
622
  onMouseoverItem: a,
620
- onMouseoutItem: v,
621
- resumeHover: c,
622
- suspendHover: y
623
+ onMouseoutItem: i,
624
+ resumeHover: r,
625
+ suspendHover: m
623
626
  };
624
627
  }
625
- function rt(t, e, n, i) {
626
- const g = p(t.idField), { dataView: a } = n, v = p(-1), y = p(!1), { activeIndex: c, focusedItemId: d, hoverIndex: u, resumeHover: o, suspendHover: r } = i;
627
- function b(D, M, I) {
628
- D.stopPropagation(), r(), M && setTimeout(() => {
629
- v.value = I, y.value = !0, M.moving = !0;
628
+ function it(t, e, n, u) {
629
+ const v = g(t.idField), { dataView: a } = n, i = g(-1), m = g(!1), { activeIndex: r, focusedItemId: p, hoverIndex: d, resumeHover: o, suspendHover: c } = u;
630
+ function k(D, M, O) {
631
+ D.stopPropagation(), c(), M && setTimeout(() => {
632
+ i.value = O, m.value = !0, M.moving = !0;
630
633
  });
631
634
  }
632
- function w(D, M) {
633
- if (D.preventDefault(), v.value !== M) {
634
- const I = a.value[v.value], P = a.value;
635
- P.splice(v.value, 1), P.splice(M, 0, I), v.value = M;
635
+ function S(D, M) {
636
+ if (D.preventDefault(), i.value !== M) {
637
+ const O = a.value[i.value], P = a.value;
638
+ P.splice(i.value, 1), P.splice(M, 0, O), i.value = M;
636
639
  }
637
640
  }
638
641
  function V(D, M) {
639
642
  D.preventDefault(), D.dataTransfer && (D.dataTransfer.dropEffect = "move");
640
643
  }
641
- function F(D, M) {
642
- M && (M.moving = !1), a.value.forEach((I, P) => {
643
- I.__fv_index__ = P;
644
- }), y.value = !1, o(), u.value = M.raw.__fv_index__, c.value = M.raw.__fv_index__, d.value = M.raw[g.value], e.emit("change", a.value), e.emit("activeChange", M);
644
+ function I(D, M) {
645
+ M && (M.moving = !1), a.value.forEach((O, P) => {
646
+ O.__fv_index__ = P;
647
+ }), m.value = !1, o(), d.value = M.raw.__fv_index__, r.value = M.raw.__fv_index__, p.value = M.raw[v.value], e.emit("change", a.value), e.emit("activeChange", M);
645
648
  }
646
649
  return {
647
- dragstart: b,
648
- dragenter: w,
650
+ dragstart: k,
651
+ dragenter: S,
649
652
  dragover: V,
650
- dragend: F,
651
- isDragging: y
653
+ dragend: I,
654
+ isDragging: m
652
655
  };
653
656
  }
654
- function it(t, e, n) {
655
- const { dataView: i } = n;
656
- function g(a) {
657
- if (a > -1 && a < i.value.length) {
658
- const v = i.value.splice(a, 1);
659
- e.emit("removeItem", v[0]);
657
+ function rt(t, e, n) {
658
+ const { dataView: u } = n;
659
+ function v(a) {
660
+ if (a > -1 && a < u.value.length) {
661
+ const i = u.value.splice(a, 1);
662
+ e.emit("removeItem", i[0]);
660
663
  }
661
664
  }
662
- return { removeItem: g };
665
+ return { removeItem: v };
663
666
  }
664
- function ct(t, e, n, i, g, a) {
665
- const v = p(t.idField), y = p(t.disableField), c = p(t.draggable), d = p(t.itemClass), u = p(t.selection.multiSelect ?? !1), o = p(t.selection.multiSelectMode);
666
- p(!0);
667
- const { isDragging: r } = i, { activeIndex: b, focusedItemId: w, hoverIndex: V } = g, { clearSelection: F, getSelectedItems: D, toggleSelectItem: M } = a, I = p(D());
667
+ function ct(t, e, n, u, v, a) {
668
+ const i = g(t.idField), m = g(t.disableField), r = g(t.draggable), p = g(t.itemClass), d = g(t.selection.multiSelect ?? !1), o = g(t.selection.multiSelectMode), { isDragging: c } = u, { activeIndex: k, focusedItemId: S, hoverIndex: V } = v, { clearSelection: I, getSelectedItems: D, toggleSelectItem: M } = a, O = g(D());
668
669
  function P(s, C) {
669
670
  const h = {
671
+ "f-listview-item": !0,
670
672
  "f-list-view-group-item": !0,
671
- "f-list-view-draggable-item": c.value,
673
+ "f-list-view-draggable-item": r.value,
672
674
  "f-un-click": !s.checked,
673
- "f-un-select": !!s.raw[y.value],
674
- "f-listview-active": s.raw.__fv_index__ === b.value,
675
- "f-listview-hover": !r.value && C === V.value,
675
+ "f-un-select": !!s.raw[m.value],
676
+ // 'f-listview-active': item.raw.__fv_index__ === activeIndex.value,
677
+ // 多选
678
+ "f-listview-active": O.value.findIndex(
679
+ (A) => A[i.value] === s.raw[i.value]
680
+ ) > -1,
681
+ "f-listview-item-active": O.value.findIndex(
682
+ (A) => A[i.value] === s.raw[i.value]
683
+ ) > -1,
684
+ "f-listview-hover": !c.value && C === V.value,
676
685
  moving: !!s.moving
677
686
  };
678
- return d.value.split(" ").reduce((E, R) => (E[R] = !0, E), h), h;
687
+ return p.value.split(" ").reduce((A, R) => (A[R] = !0, A), h), h;
679
688
  }
680
689
  function T(s, C) {
681
- return s.raw[v.value] || "";
690
+ return s.raw[i.value] || "";
682
691
  }
683
- const m = $(() => !u.value);
684
- function O(s, C, h) {
685
- s.checked = h, !s.raw[y.value] && (m.value && (w.value = s.raw[v.value]), M(s));
692
+ const w = $(() => !d.value);
693
+ function F(s, C, h) {
694
+ s.checked = h, !s.raw[m.value] && (w.value && (S.value = s.raw[i.value]), M(s));
686
695
  }
687
- const f = $(() => u.value && o.value === "OnCheckClearByClick"), S = $(() => !u.value || u.value && (o.value === "OnCheckAndClick" || o.value === "OnClick"));
688
- function k(s, C, h) {
689
- if (C.raw[y.value]) {
696
+ const f = $(() => d.value && o.value === "OnCheckClearByClick"), y = $(() => !d.value || d.value && (o.value === "OnCheckAndClick" || o.value === "OnClick"));
697
+ function b(s, C, h) {
698
+ if (C.raw[m.value]) {
690
699
  s.preventDefault(), s.stopPropagation();
691
700
  return;
692
701
  }
693
- w.value = C.raw[v.value], b.value = h, f.value && F(n.value), S.value && (M(C), I.value = D()), e.emit("clickItem", { data: I.value, index: h }), e.emit("activeChange", I.value);
702
+ S.value = C.raw[i.value], k.value = h, f.value && I(n.value), y.value && (M(C), O.value = D()), e.emit("clickItem", { data: O.value, index: h }), e.emit("activeChange", O.value);
694
703
  }
695
704
  return {
696
705
  getKey: T,
697
706
  listViewItemClass: P,
698
- onCheckItem: O,
699
- onClickItem: k
707
+ onCheckItem: F,
708
+ onClickItem: b
700
709
  };
701
710
  }
702
- function ut(t, e, n, i, g, a, v) {
703
- const y = p(t.view), c = p(t.view === "CardView"), d = p({}), u = p("暂无数据"), o = ot(), r = rt(t, e, i, o), b = it(t, e, i), w = ct(t, e, n, r, o, a), V = $(() => ({
711
+ function ut(t, e, n, u, v, a, i) {
712
+ const m = g(t.view), r = g(t.view === "CardView"), p = g({}), d = g("暂无数据"), o = ot(), c = it(t, e, u, o), k = rt(t, e, u), S = ct(t, e, n, c, o, a), V = $(() => ({
704
713
  "f-list-view-group": !0,
705
- "d-flex": c.value,
706
- "flex-wrap": c.value
707
- })), F = $(() => !!n.value && n.value.length > 0), D = $(() => n.value.length === 0), M = $(() => D.value && !e.slots.empty);
708
- function I() {
709
- return y.value === "SingleView" ? W : y.value === "DraggableView" ? st : (y.value === "ContentView" || y.value === "CardView") && e.slots.content ? lt : W;
714
+ "d-flex": r.value,
715
+ "flex-wrap": r.value
716
+ })), I = $(() => !!n.value && n.value.length > 0), D = $(() => n.value.length === 0), M = $(() => D.value && !e.slots.empty);
717
+ function O() {
718
+ return m.value === "SingleView" ? W : m.value === "DraggableView" ? st : (m.value === "ContentView" || m.value === "CardView") && e.slots.content ? lt : W;
710
719
  }
711
- const P = I(), {
720
+ const P = O(), {
712
721
  renderItem: T
713
- } = P(t, e, n, r, g, o, w, a, b, v), {
714
- renderItem: m
715
- } = at(t, e, n, r, g, o, w, a, b, v), O = [T, m];
722
+ } = P(t, e, n, c, v, o, S, a, k, i), {
723
+ renderItem: w
724
+ } = at(t, e, n, c, v, o, S, a, k, i), F = [T, w];
716
725
  function f() {
717
- return n.value.filter((s) => s.visible !== !1).map((s, C) => O[s.type](s, C, d));
726
+ return n.value.filter((s) => s.visible !== !1).map((s, C) => F[s.type](s, C, p));
718
727
  }
719
- function S() {
728
+ function y() {
720
729
  return l("div", {
721
730
  class: "f-list-view-emptydata"
722
731
  }, [l("p", {
723
732
  class: "f-empty-title"
724
- }, [u.value])]);
733
+ }, [d.value])]);
725
734
  }
726
- function k() {
735
+ function b() {
727
736
  return l("ul", {
728
737
  class: V.value,
729
738
  style: "list-style: none;"
730
- }, [F.value && f(), M.value && S(), e.slots.empty && e.slots.empty()]);
739
+ }, [I.value && f(), M.value && y(), e.slots.empty && e.slots.empty()]);
731
740
  }
732
741
  return {
733
- renderListArea: k
742
+ renderListArea: b
734
743
  };
735
744
  }
736
745
  function ft(t, e, n) {
737
- function i() {
746
+ function u() {
738
747
  return e.slots.header && l("div", {
739
748
  class: "f-list-view-header"
740
749
  }, [e.slots.header()]);
741
750
  }
742
751
  return {
743
- renderHeader: i
752
+ renderHeader: u
744
753
  };
745
754
  }
746
755
  function J(t, e, n) {
747
- const i = p(t.headerClass), g = p(t.placeholder), a = p(""), v = $(() => !a.value), y = $(() => !!a.value);
748
- function c(r) {
756
+ const u = g(t.headerClass), v = g(t.placeholder), a = g(""), i = $(() => !a.value), m = $(() => !!a.value);
757
+ function r(c) {
749
758
  a.value = "";
750
759
  }
751
- X(a, (r) => {
752
- t.enableHighlightSearch && n.search(r), e.emit("afterSearch", r);
760
+ X(a, (c) => {
761
+ t.enableHighlightSearch && n.search(c), e.emit("afterSearch", c);
753
762
  });
754
- const d = $(() => {
755
- const r = {
763
+ const p = $(() => {
764
+ const c = {
756
765
  "form-group": !0,
757
766
  "farris-form-group": !0
758
767
  };
759
- return i.value && i.value.split(" ").reduce((w, V) => (w[V] = !0, w), r), r;
768
+ return u.value && u.value.split(" ").reduce((S, V) => (S[V] = !0, S), c), c;
760
769
  });
761
- function u(r) {
770
+ function d(c) {
762
771
  }
763
772
  function o() {
764
773
  return l("div", {
765
774
  class: "f-list-view-header",
766
- onClick: te(() => u, ["prevent", "stop"])
775
+ onClick: te(() => d, ["prevent", "stop"])
767
776
  }, [l("div", {
768
- class: d.value
777
+ class: p.value
769
778
  }, [l("div", {
770
779
  class: "farris-input-wrap"
771
780
  }, [l("div", {
@@ -774,19 +783,19 @@ function J(t, e, n) {
774
783
  class: "input-group f-state-editable"
775
784
  }, [ne(l("input", {
776
785
  class: "form-control f-utils-fill text-left",
777
- "onUpdate:modelValue": (r) => a.value = r,
786
+ "onUpdate:modelValue": (c) => a.value = c,
778
787
  name: "input-group-value",
779
788
  type: "text",
780
- placeholder: g.value,
789
+ placeholder: v.value,
781
790
  autocomplete: "off"
782
791
  }, null), [[le, a.value]]), l("div", {
783
792
  class: "input-group-append"
784
- }, [y.value && l("span", {
793
+ }, [m.value && l("span", {
785
794
  class: "input-group-text input-group-clear",
786
- onClick: (r) => c()
795
+ onClick: (c) => r()
787
796
  }, [l("i", {
788
797
  class: "f-icon f-icon-close-circle"
789
- }, null)]), v.value && l("span", {
798
+ }, null)]), i.value && l("span", {
790
799
  class: "input-group-text"
791
800
  }, [l("span", {
792
801
  class: "f-icon f-icon-search"
@@ -796,42 +805,42 @@ function J(t, e, n) {
796
805
  renderHeader: o
797
806
  };
798
807
  }
799
- const L = /* @__PURE__ */ G({
808
+ const E = /* @__PURE__ */ G({
800
809
  name: "FListView",
801
810
  props: ee,
802
811
  emits: ["afterSearch", "checkValuesChange", "clickItem", "selectionChange", "removeItem", "change", "activeChange"],
803
812
  setup(t, e) {
804
- const n = p(), i = p(!0), g = p(!1), a = p([]), v = 0, y = p(t.columns), c = re(t), d = ie(t), u = ce(t, c), o = ue(t), r = fe(t, /* @__PURE__ */ new Map(), d, c, o), b = de(t, r, c, a, e), w = nt(t, n), V = $(() => r.dataView.value.length), F = pe(t, c), D = ve(), M = he(t, {}, D), I = ge(t, F, d, c, D, M), P = me(t, c, M, I), T = ye(t, c, M, I), m = Ce(t, y, r, V, v, I, P, T), {
805
- getVisualData: O
806
- } = m;
807
- a.value = O(0, V.value + v - 1);
813
+ const n = g(), u = g(!0), v = g(!1), a = g([]), i = 0, m = g(t.columns), r = ie(t), p = re(t), d = ce(t, r), o = ue(t), c = fe(t, /* @__PURE__ */ new Map(), p, r, o), k = de(t, c, r, a, e), S = nt(t, n), V = $(() => c.dataView.value.length), I = pe(t, e, r), D = ve(), M = he(t, {}, D), O = ge(t, I, p, r, D, M), P = me(t, r, M, O), T = ye(t, r, M, O), w = we(t, m, c, V, i, O, P, T), {
814
+ getVisualData: F
815
+ } = w;
816
+ a.value = F(0, V.value + i - 1);
808
817
  const f = $(() => {
809
- const A = {
818
+ const L = {
810
819
  "f-list-view": !0,
811
820
  "f-list-view-multiple": t.multiSelect
812
821
  };
813
- return t.size !== "default" && (A[`${t.size}-item`] = !0), A;
814
- }), S = $(() => !!e.slots.footer || i.value);
815
- function k() {
822
+ return t.size !== "default" && (L[`${t.size}-item`] = !0), L;
823
+ }), y = $(() => !!e.slots.footer || u.value);
824
+ function b() {
816
825
  return t.header === "SearchBar" ? J : t.header === "ContentHeader" ? ft : J;
817
826
  }
818
- const s = k(), {
827
+ const s = b(), {
819
828
  renderHeader: C
820
- } = s(t, e, w), {
829
+ } = s(t, e, S), {
821
830
  renderListArea: h
822
- } = ut(t, e, a, r, u, b, m);
823
- function j(A) {
824
- w.search(A);
831
+ } = ut(t, e, a, c, d, k, w);
832
+ function j(L) {
833
+ S.search(L);
825
834
  }
826
- function E(A) {
827
- A && (r.load(A), a.value = O(0, V.value + v - 1));
835
+ function A(L) {
836
+ L && (c.load(L), a.value = F(0, V.value + i - 1));
828
837
  }
829
838
  e.expose({
830
839
  search: j,
831
- updateDataSource: E
840
+ updateDataSource: A
832
841
  });
833
- function R(A) {
834
- t.multiSelect && (A.preventDefault(), A.stopPropagation());
842
+ function R(L) {
843
+ t.multiSelect && (L.preventDefault(), L.stopPropagation());
835
844
  }
836
845
  return () => l("div", {
837
846
  class: f.value,
@@ -840,39 +849,39 @@ const L = /* @__PURE__ */ G({
840
849
  ref: n,
841
850
  class: "f-list-view-content",
842
851
  onMouseover: () => {
843
- g.value = !0;
852
+ v.value = !0;
844
853
  },
845
854
  onMouseleave: () => {
846
- g.value = !1;
855
+ v.value = !1;
847
856
  }
848
- }, [h()]), S.value && l("div", {
857
+ }, [h()]), y.value && l("div", {
849
858
  class: "f-list-view-footer"
850
859
  }, [e.slots.footer && e.slots.footer()])]);
851
860
  }
852
- }), _ = /* @__PURE__ */ G({
861
+ }), H = /* @__PURE__ */ G({
853
862
  name: "FTransfer",
854
863
  props: U,
855
864
  emits: ["change", "activeChange"],
856
865
  setup(t, e) {
857
- const n = p(t.identifyField), i = p("已选:"), g = p("项数据"), a = p(t.displayType), v = p(!1), y = p(t.dataSource), c = p(t.selections || []), d = $(() => c.value.map((S) => S[n.value])), u = /* @__PURE__ */ new Map(), o = p();
858
- function r() {
859
- const S = /* @__PURE__ */ new Map(), k = t.selectionValues || [];
860
- k.length && k.reduce((C, h) => (C.set(h, !0), C), S);
866
+ const n = g(t.identifyField), u = g("已选:"), v = g("项数据"), a = g(t.displayType), i = g(!1), m = g(t.dataSource), r = g(t.selections || []), p = $(() => r.value.map((y) => y[n.value])), d = /* @__PURE__ */ new Map(), o = g();
867
+ function c() {
868
+ const y = /* @__PURE__ */ new Map(), b = t.selectionValues || [];
869
+ b.length && b.reduce((C, h) => (C.set(h, !0), C), y);
861
870
  const s = t.selections || [];
862
- s.length && (S.clear(), s.reduce((C, h) => (C.set(h[n.value], !0), C), S)), c.value.length || (c.value = y.value.filter((C) => S.has(C[n.value])).map((C) => Object.assign({}, C))), y.value.forEach((C) => {
863
- const h = C[n.value], j = S.has(h);
864
- C.checked = j, j && u.set(h, C);
871
+ s.length && (y.clear(), s.reduce((C, h) => (C.set(h[n.value], !0), C), y)), r.value.length || (r.value = m.value.filter((C) => y.has(C[n.value])).map((C) => Object.assign({}, C))), m.value.forEach((C) => {
872
+ const h = C[n.value], j = y.has(h);
873
+ C.checked = j, j && d.set(h, C);
865
874
  });
866
875
  }
867
- r();
868
- const b = $(() => a.value === "List"), w = $(() => a.value === "Tree");
869
- function V(S) {
870
- c.value = S.map((k) => Object.assign({}, k)), e.emit("change", c.value);
876
+ c();
877
+ const k = $(() => a.value === "List"), S = $(() => a.value === "Tree");
878
+ function V(y) {
879
+ r.value = y.map((b) => Object.assign({}, b)), e.emit("change", r.value);
871
880
  }
872
- function F() {
873
- return l(L, {
881
+ function I() {
882
+ return l(E, {
874
883
  class: "f-utils-fill",
875
- data: y.value,
884
+ data: m.value,
876
885
  multiSelect: !0,
877
886
  selection: {
878
887
  enableSelectRow: !0,
@@ -885,10 +894,10 @@ const L = /* @__PURE__ */ G({
885
894
  draggable: !1,
886
895
  header: "Search",
887
896
  headerClass: "transfer-search-box",
888
- "selection-values": d.value,
897
+ "selection-values": p.value,
889
898
  onSelectionChange: V
890
899
  }, {
891
- default: () => [H(" ")]
900
+ default: () => [_(" ")]
892
901
  });
893
902
  }
894
903
  function D() {
@@ -901,40 +910,40 @@ const L = /* @__PURE__ */ G({
901
910
  class: "f-utils-flex-column option-pane-content f-utils-fill"
902
911
  }, [l("div", {
903
912
  class: "container columns-box d-flex f-utils-fill"
904
- }, [b.value && F(), w.value && D()])])]);
913
+ }, [k.value && I(), S.value && D()])])]);
905
914
  }
906
- function I(S) {
907
- const k = S[n.value];
908
- if (k !== null || k !== void 0) {
909
- c.value = c.value.filter((C) => C[n.value] !== k);
910
- const s = u.get(k);
911
- s && (s.checked = !1, u.delete(k)), e.emit("change", c.value);
915
+ function O(y) {
916
+ const b = y[n.value];
917
+ if (b !== null || b !== void 0) {
918
+ r.value = r.value.filter((C) => C[n.value] !== b);
919
+ const s = d.get(b);
920
+ s && (s.checked = !1, d.delete(b)), e.emit("change", r.value);
912
921
  }
913
922
  }
914
- X(c, (S) => {
915
- o.value.updateDataSource(S);
923
+ X(r, (y) => {
924
+ o.value.updateDataSource(y);
916
925
  });
917
- function P(S) {
918
- const k = /* @__PURE__ */ new Map();
919
- c.value.reduce((s, C) => (s.set(C[n.value], C), s), k), c.value = S.map((s) => k.get(s[n.value])), e.emit("change", c.value);
926
+ function P(y) {
927
+ const b = /* @__PURE__ */ new Map();
928
+ r.value.reduce((s, C) => (s.set(C[n.value], C), s), b), r.value = y.map((s) => b.get(s[n.value])), e.emit("change", r.value);
920
929
  }
921
- function T(S) {
922
- e.emit("activeChange", S);
930
+ function T(y) {
931
+ e.emit("activeChange", y);
923
932
  }
924
- function m() {
925
- return l(L, {
933
+ function w() {
934
+ return l(E, {
926
935
  ref: o,
927
936
  style: "flex:1",
928
- data: c.value,
937
+ data: r.value,
929
938
  draggable: !0,
930
939
  view: "DraggableView",
931
940
  "keep-order": !0,
932
941
  onChange: P,
933
- onRemoveItem: I,
942
+ onRemoveItem: O,
934
943
  onActiveChange: T
935
944
  }, null);
936
945
  }
937
- function O() {
946
+ function F() {
938
947
  return l("div", {
939
948
  class: "f-utils-fill selection-pane d-flex flex-column"
940
949
  }, [l("div", {
@@ -943,142 +952,142 @@ const L = /* @__PURE__ */ G({
943
952
  class: "selection-pane-title"
944
953
  }, [l("span", {
945
954
  class: "selection-title"
946
- }, [i.value]), l("span", {
955
+ }, [u.value]), l("span", {
947
956
  class: "selection-count"
948
- }, [c.value && c.value.length]), l("span", {
957
+ }, [r.value && r.value.length]), l("span", {
949
958
  class: "selection-item-title"
950
- }, [g.value])]), l("div", {
959
+ }, [v.value])]), l("div", {
951
960
  class: "container columns-box f-utils-fill d-flex"
952
- }, [m()])])]);
961
+ }, [w()])])]);
953
962
  }
954
963
  const f = $(() => ({
955
964
  transfer: !0,
956
965
  row: !0,
957
- "f-utils-fill": v.value
966
+ "f-utils-fill": i.value
958
967
  }));
959
968
  return () => l("div", {
960
969
  class: f.value,
961
970
  style: "height:480px"
962
- }, [M(), O()]);
971
+ }, [M(), F()]);
963
972
  }
964
973
  });
965
974
  function dt(t, e, n) {
966
975
  var T;
967
- function i() {
976
+ function u() {
968
977
  }
969
- const g = "", a = "", v = p();
970
- function y() {
978
+ const v = "", a = "", i = g();
979
+ function m() {
971
980
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
972
981
  }
973
- function c() {
982
+ function r() {
974
983
  return !1;
975
984
  }
976
- function d() {
985
+ function p() {
977
986
  return (e == null ? void 0 : e.schema.componentType) !== "frame";
978
987
  }
979
- function u() {
988
+ function d() {
980
989
  return (e == null ? void 0 : e.schema.componentType) === "frame";
981
990
  }
982
- function o(m) {
983
- if (!m || !m.value)
991
+ function o(w) {
992
+ if (!w || !w.value)
984
993
  return null;
985
- if (m.value.schema && m.value.schema.type === "component")
986
- return m.value;
987
- const O = p(m == null ? void 0 : m.value.parent), f = o(O);
994
+ if (w.value.schema && w.value.schema.type === "component")
995
+ return w.value;
996
+ const F = g(w == null ? void 0 : w.value.parent), f = o(F);
988
997
  return f || null;
989
998
  }
990
- function r(m = e) {
991
- const { componentInstance: O, designerItemElementRef: f } = m;
992
- return !O || !O.value ? null : O.value.canMove ? f : r(m.parent);
999
+ function c(w = e) {
1000
+ const { componentInstance: F, designerItemElementRef: f } = w;
1001
+ return !F || !F.value ? null : F.value.canMove ? f : c(w.parent);
993
1002
  }
994
- function b(m) {
1003
+ function k(w) {
995
1004
  return !!n;
996
1005
  }
997
- function w() {
1006
+ function S() {
998
1007
  return (e == null ? void 0 : e.schema.label) || (e == null ? void 0 : e.schema.title) || (e == null ? void 0 : e.schema.name);
999
1008
  }
1000
1009
  function V() {
1001
1010
  }
1002
- function F(m, O) {
1011
+ function I(w, F) {
1003
1012
  }
1004
- function D(m) {
1005
- const { componentType: O } = m;
1006
- let f = N(O, m);
1007
- const S = O.toLowerCase().replace("-", "_");
1008
- return f && !f.id && f.type === O && (f.id = `${S}_${Math.random().toString().slice(2, 6)}`), f;
1013
+ function D(w, F) {
1014
+ const { componentType: f } = w;
1015
+ let y = N(f, w, F);
1016
+ const b = f.toLowerCase().replace("-", "_");
1017
+ return y && !y.id && y.type === f && (y.id = `${b}_${Math.random().toString().slice(2, 6)}`), y;
1009
1018
  }
1010
- function M(m, O) {
1011
- const f = String(m.getAttribute("data-controltype")), S = m.getAttribute("data-feature"), k = S ? JSON.parse(S) : {};
1012
- k.parentComponentInstance = v.value;
1013
- let s = N(f, k);
1019
+ function M(w, F) {
1020
+ const f = String(w.getAttribute("data-controltype")), y = w.getAttribute("data-feature"), b = y ? JSON.parse(y) : {};
1021
+ b.parentComponentInstance = i.value;
1022
+ let s = N(f, b);
1014
1023
  const C = f.toLowerCase().replace("-", "_");
1015
1024
  return s && !s.id && s.type === f && (s.id = `${C}_${Math.random().toString().slice(2, 6)}`), s;
1016
1025
  }
1017
- function I(m) {
1026
+ function O(w) {
1018
1027
  }
1019
- function P(...m) {
1028
+ function P(...w) {
1020
1029
  }
1021
- return v.value = {
1022
- canMove: y(),
1023
- canSelectParent: c(),
1024
- canDelete: d(),
1025
- canNested: !u(),
1030
+ return i.value = {
1031
+ canMove: m(),
1032
+ canSelectParent: r(),
1033
+ canDelete: p(),
1034
+ canNested: !d(),
1026
1035
  contents: e == null ? void 0 : e.schema.contents,
1027
1036
  elementRef: t,
1028
1037
  parent: (T = e == null ? void 0 : e.parent) == null ? void 0 : T.componentInstance,
1029
1038
  schema: e == null ? void 0 : e.schema,
1030
- styles: g,
1039
+ styles: v,
1031
1040
  designerClass: a,
1032
- canAccepts: b,
1041
+ canAccepts: k,
1033
1042
  getBelongedComponentInstance: o,
1034
- getDraggableDesignItemElement: r,
1035
- getDraggingDisplayText: w,
1043
+ getDraggableDesignItemElement: c,
1044
+ getDraggingDisplayText: S,
1036
1045
  getPropConfig: P,
1037
1046
  getDragScopeElement: V,
1038
- onAcceptMovedChildElement: F,
1047
+ onAcceptMovedChildElement: I,
1039
1048
  onAcceptNewChildElement: M,
1040
- onChildElementMovedOut: I,
1049
+ onChildElementMovedOut: O,
1041
1050
  addNewChildComponentSchema: D,
1042
- updateDragAndDropRules: i,
1043
- triggerBelongedComponentToMoveWhenMoved: p(!1),
1044
- triggerBelongedComponentToDeleteWhenDeleted: p(!1)
1045
- }, v;
1051
+ updateDragAndDropRules: u,
1052
+ triggerBelongedComponentToMoveWhenMoved: g(!1),
1053
+ triggerBelongedComponentToDeleteWhenDeleted: g(!1)
1054
+ }, i;
1046
1055
  }
1047
1056
  const pt = /* @__PURE__ */ G({
1048
1057
  name: "FTransferDesign",
1049
1058
  props: U,
1050
1059
  emits: ["change"],
1051
1060
  setup(t, e) {
1052
- const n = p(t.identifyField), i = p("已选:"), g = p("项数据"), a = p(t.displayType), v = p(!1), y = p(t.dataSource), c = p(t.selections || []), d = $(() => c.value.map((k) => k[n.value])), u = /* @__PURE__ */ new Map();
1061
+ const n = g(t.identifyField), u = g("已选:"), v = g("项数据"), a = g(t.displayType), i = g(!1), m = g(t.dataSource), r = g(t.selections || []), p = $(() => r.value.map((b) => b[n.value])), d = /* @__PURE__ */ new Map();
1053
1062
  function o() {
1054
- const k = /* @__PURE__ */ new Map(), s = t.selectionValues || [];
1055
- s.length && s.reduce((h, j) => (h.set(j, !0), h), k);
1063
+ const b = /* @__PURE__ */ new Map(), s = t.selectionValues || [];
1064
+ s.length && s.reduce((h, j) => (h.set(j, !0), h), b);
1056
1065
  const C = t.selections || [];
1057
- C.length && (k.clear(), C.reduce((h, j) => (h.set(j[n.value], !0), h), k)), c.value.length || (c.value = y.value.filter((h) => k.has(h[n.value])).map((h) => Object.assign({}, h))), y.value.forEach((h) => {
1058
- const j = h[n.value], E = k.has(j);
1059
- h.checked = E, E && u.set(j, h);
1066
+ C.length && (b.clear(), C.reduce((h, j) => (h.set(j[n.value], !0), h), b)), r.value.length || (r.value = m.value.filter((h) => b.has(h[n.value])).map((h) => Object.assign({}, h))), m.value.forEach((h) => {
1067
+ const j = h[n.value], A = b.has(j);
1068
+ h.checked = A, A && d.set(j, h);
1060
1069
  });
1061
1070
  }
1062
1071
  o();
1063
- const r = $(() => a.value === "List"), b = $(() => a.value === "Tree");
1064
- function w(k) {
1065
- c.value = k.map((s) => Object.assign({}, s)), e.emit("change", c.value);
1072
+ const c = $(() => a.value === "List"), k = $(() => a.value === "Tree");
1073
+ function S(b) {
1074
+ r.value = b.map((s) => Object.assign({}, s)), e.emit("change", r.value);
1066
1075
  }
1067
1076
  function V() {
1068
- return l(L, {
1077
+ return l(E, {
1069
1078
  class: "f-utils-fill",
1070
- data: y.value,
1079
+ data: m.value,
1071
1080
  "multi-select": !0,
1072
1081
  draggable: !1,
1073
1082
  header: "Search",
1074
1083
  headerClass: "transfer-search-box",
1075
- "selection-values": d.value,
1076
- onSelectionChange: w
1084
+ "selection-values": p.value,
1085
+ onSelectionChange: S
1077
1086
  }, {
1078
- default: () => [H(" ")]
1087
+ default: () => [_(" ")]
1079
1088
  });
1080
1089
  }
1081
- function F() {
1090
+ function I() {
1082
1091
  return l(B, null, null);
1083
1092
  }
1084
1093
  function D() {
@@ -1088,31 +1097,31 @@ const pt = /* @__PURE__ */ G({
1088
1097
  class: "f-utils-flex-column option-pane-content f-utils-fill"
1089
1098
  }, [l("div", {
1090
1099
  class: "container columns-box d-flex f-utils-fill"
1091
- }, [r.value && V(), b.value && F()])])]);
1100
+ }, [c.value && V(), k.value && I()])])]);
1092
1101
  }
1093
- function M(k) {
1094
- const s = k[n.value];
1102
+ function M(b) {
1103
+ const s = b[n.value];
1095
1104
  if (s !== null || s !== void 0) {
1096
- c.value = c.value.filter((h) => h[n.value] !== s);
1097
- const C = u.get(s);
1098
- C && (C.checked = !1, u.delete(s)), e.emit("change", c.value);
1105
+ r.value = r.value.filter((h) => h[n.value] !== s);
1106
+ const C = d.get(s);
1107
+ C && (C.checked = !1, d.delete(s)), e.emit("change", r.value);
1099
1108
  }
1100
1109
  }
1101
- function I(k) {
1110
+ function O(b) {
1102
1111
  const s = /* @__PURE__ */ new Map();
1103
- c.value.reduce((C, h) => (C.set(h[n.value], h), C), s), c.value = k.map((C) => s.get(C[n.value])), e.emit("change", c.value);
1112
+ r.value.reduce((C, h) => (C.set(h[n.value], h), C), s), r.value = b.map((C) => s.get(C[n.value])), e.emit("change", r.value);
1104
1113
  }
1105
1114
  function P() {
1106
- return l(L, {
1115
+ return l(E, {
1107
1116
  style: "flex:1",
1108
- data: c.value,
1117
+ data: r.value,
1109
1118
  draggable: !0,
1110
1119
  view: "DraggableView",
1111
1120
  "keep-order": !0,
1112
- onChange: I,
1121
+ onChange: O,
1113
1122
  onRemoveItem: M
1114
1123
  }, {
1115
- default: () => [H(" ")]
1124
+ default: () => [_(" ")]
1116
1125
  });
1117
1126
  }
1118
1127
  function T() {
@@ -1124,24 +1133,24 @@ const pt = /* @__PURE__ */ G({
1124
1133
  class: "selection-pane-title"
1125
1134
  }, [l("span", {
1126
1135
  class: "selection-title"
1127
- }, [i.value]), l("span", {
1136
+ }, [u.value]), l("span", {
1128
1137
  class: "selection-count"
1129
- }, [c.value && c.value.length]), l("span", {
1138
+ }, [r.value && r.value.length]), l("span", {
1130
1139
  class: "selection-item-title"
1131
- }, [g.value])]), l("div", {
1140
+ }, [v.value])]), l("div", {
1132
1141
  class: "container columns-box f-utils-fill d-flex"
1133
1142
  }, [P()])])]);
1134
1143
  }
1135
- const m = $(() => ({
1144
+ const w = $(() => ({
1136
1145
  transfer: !0,
1137
1146
  row: !0,
1138
- "f-utils-fill": v.value
1139
- })), O = p(), f = se("design-item-context"), S = dt(O, f);
1147
+ "f-utils-fill": i.value
1148
+ })), F = g(), f = se("design-item-context"), y = dt(F, f);
1140
1149
  return ae(() => {
1141
- O.value.componentInstance = S;
1142
- }), e.expose(S.value), () => l("div", {
1143
- ref: O,
1144
- class: m.value,
1150
+ F.value.componentInstance = y;
1151
+ }), e.expose(y.value), () => l("div", {
1152
+ ref: F,
1153
+ class: w.value,
1145
1154
  style: "height:480px"
1146
1155
  }, [D(), T()]);
1147
1156
  }
@@ -1151,16 +1160,16 @@ const pt = /* @__PURE__ */ G({
1151
1160
  n.component(e.name, t);
1152
1161
  }, t;
1153
1162
  };
1154
- _.register = (t, e, n) => {
1155
- t.transfer = _, e.transfer = x;
1163
+ H.register = (t, e, n) => {
1164
+ t.transfer = H, e.transfer = x;
1156
1165
  };
1157
- _.registerDesigner = (t, e, n) => {
1166
+ H.registerDesigner = (t, e, n) => {
1158
1167
  t.transfer = pt, e.transfer = x;
1159
1168
  };
1160
- const Ct = vt(_);
1169
+ const wt = vt(H);
1161
1170
  export {
1162
- _ as FTransfer,
1163
- Ct as default,
1171
+ H as FTransfer,
1172
+ wt as default,
1164
1173
  x as propsResolver,
1165
1174
  U as transferProps
1166
1175
  };