@farris/ui-vue 1.2.7 → 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 (246) hide show
  1. package/components/accordion/index.esm.js +136 -136
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +418 -456
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/border-editor/index.esm.js +4 -4
  6. package/components/border-editor/index.umd.cjs +1 -1
  7. package/components/button/index.esm.js +1 -1
  8. package/components/button/index.umd.cjs +1 -1
  9. package/components/button-edit/index.esm.js +363 -436
  10. package/components/button-edit/index.umd.cjs +1 -1
  11. package/components/button-group/index.esm.js +5 -5
  12. package/components/button-group/index.umd.cjs +1 -1
  13. package/components/calendar/index.esm.js +417 -417
  14. package/components/calendar/index.umd.cjs +1 -1
  15. package/components/capsule/index.esm.js +176 -176
  16. package/components/capsule/index.umd.cjs +1 -1
  17. package/components/checkbox/index.esm.js +557 -594
  18. package/components/checkbox/index.umd.cjs +1 -1
  19. package/components/color-picker/index.esm.js +119 -119
  20. package/components/color-picker/index.umd.cjs +2 -2
  21. package/components/combo-list/index.esm.js +502 -535
  22. package/components/combo-list/index.umd.cjs +1 -1
  23. package/components/combo-tree/index.esm.js +69 -69
  24. package/components/combo-tree/index.umd.cjs +1 -1
  25. package/components/component/index.esm.js +387 -275
  26. package/components/component/index.umd.cjs +1 -1
  27. package/components/condition/index.esm.js +1219 -983
  28. package/components/condition/index.umd.cjs +1 -1
  29. package/components/content-container/index.esm.js +292 -219
  30. package/components/content-container/index.umd.cjs +1 -1
  31. package/components/data-grid/index.css +1 -1
  32. package/components/data-grid/index.esm.js +5718 -5546
  33. package/components/data-grid/index.umd.cjs +1 -1
  34. package/components/data-view/index.esm.js +3291 -2930
  35. package/components/data-view/index.umd.cjs +1 -1
  36. package/components/date-picker/index.esm.js +2650 -2682
  37. package/components/date-picker/index.umd.cjs +1 -1
  38. package/components/dependent-base/style.js +1 -0
  39. package/components/dependent-fluid/style.js +1 -0
  40. package/components/dependent-icon/style.js +1 -0
  41. package/components/dependent-input/style.js +1 -0
  42. package/components/dependent-table/style.js +1 -0
  43. package/components/designer-canvas/index.css +1 -1
  44. package/components/designer-canvas/index.esm.js +945 -932
  45. package/components/designer-canvas/index.umd.cjs +1 -1
  46. package/components/designer-outline/index.css +1 -1
  47. package/components/designer-outline/index.esm.js +175 -133
  48. package/components/designer-outline/index.umd.cjs +1 -1
  49. package/components/designer-toolbox/index.esm.js +36 -12
  50. package/components/designer-toolbox/index.umd.cjs +1 -1
  51. package/components/discussion-editor/index.esm.js +1 -1
  52. package/components/discussion-editor/index.umd.cjs +1 -1
  53. package/components/dropdown/index.esm.js +246 -246
  54. package/components/dropdown/index.umd.cjs +2 -2
  55. package/components/dynamic-form/index.esm.js +1319 -1172
  56. package/components/dynamic-form/index.umd.cjs +1 -1
  57. package/components/dynamic-resolver/index.esm.js +119 -82
  58. package/components/dynamic-resolver/index.umd.cjs +1 -1
  59. package/components/dynamic-view/index.esm.js +258 -249
  60. package/components/dynamic-view/index.umd.cjs +1 -1
  61. package/components/enum-editor/index.esm.js +3 -3
  62. package/components/enum-editor/index.umd.cjs +1 -1
  63. package/components/events-editor/index.esm.js +569 -514
  64. package/components/events-editor/index.umd.cjs +1 -1
  65. package/components/expression-editor/index.esm.js +104 -104
  66. package/components/expression-editor/index.umd.cjs +1 -1
  67. package/components/external-container/index.css +1 -1
  68. package/components/external-container/index.esm.js +3122 -2686
  69. package/components/external-container/index.umd.cjs +1 -1
  70. package/components/field-selector/index.css +1 -1
  71. package/components/field-selector/index.esm.js +6780 -6608
  72. package/components/field-selector/index.umd.cjs +1 -1
  73. package/components/filter-bar/index.css +1 -1
  74. package/components/filter-bar/index.esm.js +1466 -1523
  75. package/components/filter-bar/index.umd.cjs +1 -1
  76. package/components/flow-canvas/index.css +1 -1
  77. package/components/flow-canvas/index.esm.js +1048 -1035
  78. package/components/flow-canvas/index.umd.cjs +1 -1
  79. package/components/image-cropper/index.esm.js +422 -422
  80. package/components/image-cropper/index.umd.cjs +1 -1
  81. package/components/input-group/index.esm.js +674 -716
  82. package/components/input-group/index.umd.cjs +1 -1
  83. package/components/layout/index.esm.js +291 -291
  84. package/components/layout/index.umd.cjs +1 -1
  85. package/components/list-nav/index.esm.js +303 -230
  86. package/components/list-nav/index.umd.cjs +1 -1
  87. package/components/list-view/index.css +1 -1
  88. package/components/list-view/index.esm.js +2486 -2130
  89. package/components/list-view/index.umd.cjs +1 -1
  90. package/components/lookup/index.css +1 -1
  91. package/components/lookup/index.esm.js +7474 -7272
  92. package/components/lookup/index.umd.cjs +1 -1
  93. package/components/mapping-editor/index.css +1 -1
  94. package/components/mapping-editor/index.esm.js +6139 -5949
  95. package/components/mapping-editor/index.umd.cjs +1 -1
  96. package/components/message-box/index.esm.js +1 -1
  97. package/components/message-box/index.umd.cjs +1 -1
  98. package/components/modal/index.esm.js +1 -1
  99. package/components/modal/index.umd.cjs +1 -1
  100. package/components/nav/index.esm.js +432 -371
  101. package/components/nav/index.umd.cjs +3 -3
  102. package/components/number-range/index.esm.js +1124 -0
  103. package/components/number-range/index.umd.cjs +1 -0
  104. package/components/number-range/package.json +8 -0
  105. package/components/number-range/style.js +6 -0
  106. package/components/number-spinner/index.esm.js +1155 -0
  107. package/components/number-spinner/index.umd.cjs +1 -0
  108. package/components/number-spinner/package.json +8 -0
  109. package/components/number-spinner/style.js +4 -0
  110. package/components/order/index.css +1 -1
  111. package/components/order/index.esm.js +1215 -1178
  112. package/components/order/index.umd.cjs +1 -1
  113. package/components/page-footer/index.esm.js +147 -147
  114. package/components/page-footer/index.umd.cjs +1 -1
  115. package/components/page-header/index.esm.js +1240 -1346
  116. package/components/page-header/index.umd.cjs +1 -1
  117. package/components/pagination/index.esm.js +489 -428
  118. package/components/pagination/index.umd.cjs +1 -1
  119. package/components/progress/index.esm.js +220 -220
  120. package/components/progress/index.umd.cjs +3 -3
  121. package/components/property-editor/index.esm.js +1512 -1540
  122. package/components/property-editor/index.umd.cjs +3 -3
  123. package/components/property-panel/index.css +1 -1
  124. package/components/property-panel/index.esm.js +749 -815
  125. package/components/property-panel/index.umd.cjs +1 -1
  126. package/components/query-solution/index.css +1 -0
  127. package/components/query-solution/index.esm.js +7074 -0
  128. package/components/query-solution/index.umd.cjs +1 -0
  129. package/components/query-solution/package.json +8 -0
  130. package/components/query-solution/style.js +2 -0
  131. package/components/radio-button/index.esm.js +86 -86
  132. package/components/radio-button/index.umd.cjs +1 -1
  133. package/components/radio-group/index.esm.js +442 -479
  134. package/components/radio-group/index.umd.cjs +1 -1
  135. package/components/rate/index.esm.js +213 -208
  136. package/components/rate/index.umd.cjs +1 -1
  137. package/components/response-layout/index.esm.js +116 -116
  138. package/components/response-layout/index.umd.cjs +1 -1
  139. package/components/response-layout-editor/index.esm.js +943 -918
  140. package/components/response-layout-editor/index.umd.cjs +1 -1
  141. package/components/response-toolbar/index.esm.js +1174 -1295
  142. package/components/response-toolbar/index.umd.cjs +1 -1
  143. package/components/schema-selector/index.css +1 -1
  144. package/components/schema-selector/index.esm.js +5383 -5171
  145. package/components/schema-selector/index.umd.cjs +2 -2
  146. package/components/search-box/index.esm.js +201 -201
  147. package/components/search-box/index.umd.cjs +1 -1
  148. package/components/section/index.esm.js +684 -542
  149. package/components/section/index.umd.cjs +1 -1
  150. package/components/smoke-detector/index.esm.js +121 -121
  151. package/components/smoke-detector/index.umd.cjs +1 -1
  152. package/components/spacing-editor/index.esm.js +2 -2
  153. package/components/spacing-editor/index.umd.cjs +1 -1
  154. package/components/splitter/index.esm.js +1158 -382
  155. package/components/splitter/index.umd.cjs +1 -1
  156. package/components/step/index.esm.js +232 -232
  157. package/components/step/index.umd.cjs +1 -1
  158. package/components/switch/index.esm.js +451 -487
  159. package/components/switch/index.umd.cjs +1 -1
  160. package/components/tabs/index.esm.js +2078 -2168
  161. package/components/tabs/index.umd.cjs +1 -1
  162. package/components/tags/index.esm.js +318 -320
  163. package/components/tags/index.umd.cjs +1 -1
  164. package/components/text/index.esm.js +192 -192
  165. package/components/text/index.umd.cjs +1 -1
  166. package/components/textarea/index.esm.js +471 -497
  167. package/components/textarea/index.umd.cjs +1 -1
  168. package/components/time-picker/index.esm.js +1421 -1441
  169. package/components/time-picker/index.umd.cjs +1 -1
  170. package/components/transfer/index.css +1 -1
  171. package/components/transfer/index.esm.js +430 -421
  172. package/components/transfer/index.umd.cjs +1 -1
  173. package/components/tree-grid/index.css +1 -1
  174. package/components/tree-grid/index.esm.js +6806 -6624
  175. package/components/tree-grid/index.umd.cjs +1 -1
  176. package/components/tree-view/index.esm.js +2793 -2433
  177. package/components/tree-view/index.umd.cjs +1 -1
  178. package/components/uploader/index.esm.js +165 -165
  179. package/components/uploader/index.umd.cjs +2 -2
  180. package/components/verify-detail/index.esm.js +255 -255
  181. package/components/verify-detail/index.umd.cjs +1 -1
  182. package/components/video/index.esm.js +413 -334
  183. package/components/video/index.umd.cjs +1 -1
  184. package/components/weather/index.esm.js +902 -902
  185. package/components/weather/index.umd.cjs +4 -4
  186. package/farris.all.esm.js +54155 -52847
  187. package/farris.all.umd.cjs +9 -9
  188. package/index.css +1 -1
  189. package/package.json +1 -1
  190. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  191. package/types/checkbox/index.d.ts +1 -0
  192. package/types/combo-list/src/components/list-container.component.d.ts +3 -0
  193. package/types/combo-list/src/components/list-container.props.d.ts +5 -1
  194. package/types/common/entity/entity-schema.d.ts +258 -0
  195. package/types/component/src/component-ref.props.d.ts +4 -0
  196. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  197. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  198. package/types/data-grid/index.d.ts +5 -2
  199. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  200. package/types/data-grid/src/data-grid.component.d.ts +2 -1
  201. package/types/data-grid/src/data-grid.props.d.ts +2 -2
  202. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  203. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  204. package/types/data-grid/src/designer/use-group-column.d.ts +20 -0
  205. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  206. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  207. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  208. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  209. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  210. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  211. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  212. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  213. package/types/data-view/composition/types.d.ts +19 -7
  214. package/types/data-view/composition/use-edit.d.ts +2 -1
  215. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  216. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  217. package/types/designer-canvas/src/types.d.ts +3 -3
  218. package/types/dynamic-form/index.d.ts +3 -1
  219. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  220. package/types/dynamic-form/src/schema/schema-resolver.d.ts +2 -1
  221. package/types/dynamic-form/src/types.d.ts +1 -1
  222. package/types/dynamic-resolver/index.d.ts +1 -0
  223. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  224. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  225. package/types/dynamic-resolver/src/types.d.ts +3 -2
  226. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  227. package/types/lookup/src/property-config/lookup.property-config.d.ts +2 -1
  228. package/types/modal/src/modal.props.d.ts +1 -4
  229. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -12
  230. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -26
  231. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  232. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  233. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  234. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  235. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  236. package/types/tabs/src/composition/types.d.ts +2 -2
  237. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  238. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  239. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  240. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  241. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  242. package/types/tags/index.d.ts +36 -5
  243. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  244. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  245. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  246. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
@@ -1,36 +1,36 @@
1
- import { defineComponent as W, createVNode as _, ref as M, nextTick as Y, inject as Z, computed as R, onMounted as K } from "vue";
2
- import { cloneDeep as x } from "lodash-es";
1
+ import { defineComponent as W, createVNode as _, ref as M, nextTick as Y, inject as Z, computed as R, onMounted as x } from "vue";
2
+ import { cloneDeep as K } from "lodash-es";
3
3
  import "bignumber.js";
4
4
  const z = {}, G = {};
5
5
  function k(n) {
6
- const { properties: e, title: t } = n, r = Object.keys(e).reduce((a, b) => (a[b] = e[b].type === "object" && e[b].properties ? k(e[b]) : x(e[b].default), a), {});
7
- return r.id = `${t}-${Date.now()}`, r;
6
+ const { properties: e, title: t, ignore: r } = n, c = r && Array.isArray(r), h = Object.keys(e).reduce((m, y) => ((!c || !r.find((T) => T == y)) && (m[y] = e[y].type === "object" && e[y].properties ? k(e[y]) : K(e[y].default)), m), {});
7
+ return (!c || !r.find((m) => m == "id")) && (h.id = `${t}-${Date.now()}`), h;
8
8
  }
9
- function S(n, e = {}) {
10
- const t = z[n];
11
- if (t) {
12
- let r = k(t);
13
- const a = G[n];
14
- return r = a ? a({ getSchemaByType: S }, r, e) : r, r;
9
+ function N(n, e = {}, t) {
10
+ const r = z[n];
11
+ if (r) {
12
+ let c = k(r);
13
+ const h = G[n];
14
+ return c = h ? h({ getSchemaByType: N }, c, e, t) : c, c;
15
15
  }
16
16
  return null;
17
17
  }
18
18
  function I(n, e) {
19
19
  const t = k(e);
20
- return Object.keys(n).reduce((r, a) => (r[a] = n[a], r), t), t;
20
+ return Object.keys(n).reduce((r, c) => (r[c] && typeof r[c] == "object" ? Object.assign(r[c], n[c]) : r[c] = n[c], r), t), t;
21
21
  }
22
22
  function ee(n, e) {
23
- return Object.keys(n).filter((r) => n[r] != null).reduce((r, a) => {
24
- if (e.has(a)) {
25
- const b = e.get(a);
26
- if (typeof b == "string")
27
- r[b] = n[a];
23
+ return Object.keys(n).filter((r) => n[r] != null).reduce((r, c) => {
24
+ if (e.has(c)) {
25
+ const h = e.get(c);
26
+ if (typeof h == "string")
27
+ r[h] = n[c];
28
28
  else {
29
- const h = b(a, n[a], n);
30
- Object.assign(r, h);
29
+ const m = h(c, n[c], n);
30
+ Object.assign(r, m);
31
31
  }
32
32
  } else
33
- r[a] = n[a];
33
+ r[c] = n[c];
34
34
  return r;
35
35
  }, {});
36
36
  }
@@ -39,65 +39,65 @@ function te(n, e, t = /* @__PURE__ */ new Map()) {
39
39
  return ee(r, t);
40
40
  }
41
41
  function ne(n = {}) {
42
- function e(p, d, f, y) {
42
+ function e(p, d, f, b) {
43
43
  if (typeof f == "number")
44
- return y[p].length === f;
44
+ return b[p].length === f;
45
45
  if (typeof f == "object") {
46
- const A = Object.keys(f)[0], o = f[A];
47
- if (A === "not")
48
- return Number(y[p].length) !== Number(o);
49
- if (A === "moreThan")
50
- return Number(y[p].length) >= Number(o);
51
- if (A === "lessThan")
52
- return Number(y[p].length) <= Number(o);
46
+ const v = Object.keys(f)[0], o = f[v];
47
+ if (v === "not")
48
+ return Number(b[p].length) !== Number(o);
49
+ if (v === "moreThan")
50
+ return Number(b[p].length) >= Number(o);
51
+ if (v === "lessThan")
52
+ return Number(b[p].length) <= Number(o);
53
53
  }
54
54
  return !1;
55
55
  }
56
- function t(p, d, f, y) {
57
- return y[p] && y[p].propertyValue && String(y[p].propertyValue.value) === String(f);
56
+ function t(p, d, f, b) {
57
+ return b[p] && b[p].propertyValue && String(b[p].propertyValue.value) === String(f);
58
58
  }
59
59
  const r = /* @__PURE__ */ new Map([
60
60
  ["length", e],
61
61
  ["getProperty", t]
62
62
  ]);
63
63
  Object.keys(n).reduce((p, d) => (p.set(d, n[d]), p), r);
64
- function a(p, d) {
64
+ function c(p, d) {
65
65
  const f = p;
66
- return typeof d == "number" ? [{ target: f, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: f, operator: "getProperty", param: p, value: !!d }] : typeof d == "object" ? Object.keys(d).map((y) => {
67
- if (y === "length")
68
- return { target: f, operator: "length", param: null, value: d[y] };
69
- const A = y, o = d[y];
70
- return { target: f, operator: "getProperty", param: A, value: o };
66
+ return typeof d == "number" ? [{ target: f, operator: "length", param: null, value: Number(d) }] : typeof d == "boolean" ? [{ target: f, operator: "getProperty", param: p, value: !!d }] : typeof d == "object" ? Object.keys(d).map((b) => {
67
+ if (b === "length")
68
+ return { target: f, operator: "length", param: null, value: d[b] };
69
+ const v = b, o = d[b];
70
+ return { target: f, operator: "getProperty", param: v, value: o };
71
71
  }) : [];
72
72
  }
73
- function b(p) {
74
- return Object.keys(p).reduce((f, y) => {
75
- const A = a(y, p[y]);
76
- return f.push(...A), f;
73
+ function h(p) {
74
+ return Object.keys(p).reduce((f, b) => {
75
+ const v = c(b, p[b]);
76
+ return f.push(...v), f;
77
77
  }, []);
78
78
  }
79
- function h(p, d) {
79
+ function m(p, d) {
80
80
  if (r.has(p.operator)) {
81
81
  const f = r.get(p.operator);
82
82
  return f && f(p.target, p.param, p.value, d) || !1;
83
83
  }
84
84
  return !1;
85
85
  }
86
- function j(p, d) {
87
- return b(p).reduce((A, o) => A && h(o, d), !0);
86
+ function y(p, d) {
87
+ return h(p).reduce((v, o) => v && m(o, d), !0);
88
88
  }
89
- function P(p, d) {
90
- const f = Object.keys(p), y = f.includes("allOf"), A = f.includes("anyOf"), o = y || A, u = (o ? p[o ? y ? "allOf" : "anyOf" : "allOf"] : [p]).map((s) => j(s, d));
91
- return y ? !u.includes(!1) : u.includes(!0);
89
+ function T(p, d) {
90
+ const f = Object.keys(p), b = f.includes("allOf"), v = f.includes("anyOf"), o = b || v, u = (o ? p[o ? b ? "allOf" : "anyOf" : "allOf"] : [p]).map((a) => y(a, d));
91
+ return b ? !u.includes(!1) : u.includes(!0);
92
92
  }
93
- return { parseValueSchema: P };
93
+ return { parseValueSchema: T };
94
94
  }
95
95
  const oe = {}, re = {};
96
96
  ne();
97
- function ce(n, e, t = /* @__PURE__ */ new Map(), r = (h, j, P) => j, a = {}, b = (h) => h) {
98
- return z[e.title] = e, G[e.title] = r, oe[e.title] = a, re[e.title] = b, (h = {}) => {
99
- const j = te(h, e, t), P = Object.keys(n).reduce((p, d) => (p[d] = n[d].default, p), {});
100
- return Object.assign(P, j);
97
+ function ce(n, e, t = /* @__PURE__ */ new Map(), r = (m, y, T) => y, c = {}, h = (m) => m) {
98
+ return z[e.title] = e, G[e.title] = r, oe[e.title] = c, re[e.title] = h, (m = {}) => {
99
+ const y = te(m, e, t), T = Object.keys(n).reduce((p, d) => (p[d] = n[d].default, p), {});
100
+ return Object.assign(T, y);
101
101
  };
102
102
  }
103
103
  function se(n, e) {
@@ -212,13 +212,13 @@ const ae = /* @__PURE__ */ new Map([
212
212
  type: ge,
213
213
  categories: je
214
214
  };
215
- function ve(n, e, t) {
215
+ function Ae(n, e, t) {
216
216
  return e;
217
217
  }
218
218
  const L = {
219
219
  customClass: { type: String, default: "" },
220
220
  customStyle: { type: String, default: "" }
221
- }, q = ce(L, be, ae, ve, Ce), $ = /* @__PURE__ */ W({
221
+ }, q = ce(L, be, ae, Ae, Ce), $ = /* @__PURE__ */ W({
222
222
  name: "FContentContainer",
223
223
  props: L,
224
224
  emits: [],
@@ -229,18 +229,18 @@ const L = {
229
229
  }, [e.slots.default && e.slots.default()]);
230
230
  }
231
231
  });
232
- function Ae() {
232
+ function ve() {
233
233
  function n(e) {
234
- var a, b;
234
+ var c, h;
235
235
  if (!e)
236
236
  return !1;
237
- const t = ((a = e.targetContainer) == null ? void 0 : a.componentInstance) && e.targetContainer.componentInstance.value;
237
+ const t = ((c = e.targetContainer) == null ? void 0 : c.componentInstance) && e.targetContainer.componentInstance.value;
238
238
  if (!t)
239
239
  return !1;
240
- const r = (b = t.schema.appearance) == null ? void 0 : b.class;
240
+ const r = (h = t.schema.appearance) == null ? void 0 : h.class;
241
241
  if (e.controlCategory === "input" || e.controlType === "form-group") {
242
- const h = t.schema.type, j = (h === "response-form" || h === "content-container") && r && r.includes("farris-form");
243
- if (t.schema.type !== "response-layout-item" && !j)
242
+ const m = t.schema.type, y = (m === "response-form" || m === "content-container") && r && r.includes("farris-form");
243
+ if (t.schema.type !== "response-layout-item" && !y)
244
244
  return !1;
245
245
  }
246
246
  return e.controlType !== "field-set";
@@ -249,7 +249,7 @@ function Ae() {
249
249
  basalDragulaRuleForContainer: n
250
250
  };
251
251
  }
252
- const Te = "https://json-schema.org/draft/2020-12/schema", Pe = "https://farris-design.gitee.io/dragging-rules.schema.json", we = "Dragging Rules", De = "The rules of designer canvas", Oe = "object", Me = {
252
+ const Pe = "https://json-schema.org/draft/2020-12/schema", Te = "https://farris-design.gitee.io/dragging-rules.schema.json", we = "Dragging Rules", De = "The rules of designer canvas", Oe = "object", Me = {
253
253
  "f-page": {
254
254
  description: "The root class of page designed by farris.",
255
255
  type: "object",
@@ -668,6 +668,80 @@ const Te = "https://json-schema.org/draft/2020-12/schema", Pe = "https://farris-
668
668
  "f-list-nav-left": {
669
669
  description: "",
670
670
  type: "object"
671
+ },
672
+ "f-struct-data-grid-in-nav": {
673
+ description: "",
674
+ type: "object",
675
+ properties: {
676
+ contents: {
677
+ type: "object",
678
+ properties: {
679
+ "f-section-form": {
680
+ description: "",
681
+ type: "object",
682
+ properties: {
683
+ rules: {
684
+ type: "object",
685
+ properties: {
686
+ canAccept: {
687
+ type: "boolean",
688
+ const: !1
689
+ },
690
+ fixed: {
691
+ type: "boolean",
692
+ const: !0
693
+ },
694
+ hidePadding: {
695
+ type: "boolean",
696
+ const: !0
697
+ }
698
+ }
699
+ }
700
+ }
701
+ },
702
+ "f-section-grid": {
703
+ description: "",
704
+ type: "object",
705
+ properties: {
706
+ rules: {
707
+ type: "object",
708
+ properties: {
709
+ canAccept: {
710
+ type: "boolean",
711
+ const: !1
712
+ },
713
+ fixed: {
714
+ type: "boolean",
715
+ const: !0
716
+ },
717
+ hidePadding: {
718
+ type: "boolean",
719
+ const: !0
720
+ }
721
+ }
722
+ }
723
+ }
724
+ }
725
+ }
726
+ },
727
+ rules: {
728
+ type: "object",
729
+ properties: {
730
+ canAccept: {
731
+ type: "boolean",
732
+ const: !1
733
+ },
734
+ fixed: {
735
+ type: "boolean",
736
+ const: !0
737
+ },
738
+ hidePadding: {
739
+ type: "boolean",
740
+ const: !0
741
+ }
742
+ }
743
+ }
744
+ }
671
745
  }
672
746
  }
673
747
  }
@@ -813,192 +887,191 @@ const Te = "https://json-schema.org/draft/2020-12/schema", Pe = "https://farris-
813
887
  description: "",
814
888
  type: "object"
815
889
  }
816
- }, Ee = [], Se = {
817
- $schema: Te,
818
- $id: Pe,
890
+ }, Ee = {
891
+ $schema: Pe,
892
+ $id: Te,
819
893
  title: we,
820
894
  description: De,
821
895
  type: Oe,
822
- properties: Me,
823
- required: Ee
896
+ properties: Me
824
897
  }, F = /* @__PURE__ */ new Map();
825
898
  function Ne() {
826
- function n(o, l, c, u) {
827
- var v;
828
- if (typeof c == "number")
829
- return ((v = u[o]) == null ? void 0 : v.length) === c;
830
- if (typeof c == "object") {
831
- const s = Object.keys(c)[0], C = c[s];
832
- if (s === "not")
833
- return Number(u[o].length) !== Number(C);
834
- if (s === "moreThan")
835
- return Number(u[o].length) >= Number(C);
836
- if (s === "lessThan")
837
- return Number(u[o].length) <= Number(C);
899
+ function n(o, l, s, u) {
900
+ var A;
901
+ if (typeof s == "number")
902
+ return ((A = u[o]) == null ? void 0 : A.length) === s;
903
+ if (typeof s == "object") {
904
+ const a = Object.keys(s)[0], j = s[a];
905
+ if (a === "not")
906
+ return Number(u[o].length) !== Number(j);
907
+ if (a === "moreThan")
908
+ return Number(u[o].length) >= Number(j);
909
+ if (a === "lessThan")
910
+ return Number(u[o].length) <= Number(j);
838
911
  }
839
912
  return !1;
840
913
  }
841
- function e(o, l, c, u) {
842
- return typeof c == "boolean" ? u.childrenClassList.includes(l) === !!c : !1;
914
+ function e(o, l, s, u) {
915
+ return typeof s == "boolean" ? u.childrenClassList.includes(l) === !!s : !1;
843
916
  }
844
- function t(o, l, c, u) {
845
- return typeof c == "boolean" ? u.parentClassList.includes(l) === !!c : !1;
917
+ function t(o, l, s, u) {
918
+ return typeof s == "boolean" ? u.parentClassList.includes(l) === !!s : !1;
846
919
  }
847
- function r(o, l, c, u) {
848
- return typeof c == "boolean" ? u.parentClassList.includes(l) === !!c : !1;
920
+ function r(o, l, s, u) {
921
+ return typeof s == "boolean" ? u.parentClassList.includes(l) === !!s : !1;
849
922
  }
850
- const a = /* @__PURE__ */ new Map([
923
+ const c = /* @__PURE__ */ new Map([
851
924
  ["length", n],
852
925
  ["hasChildren", e],
853
926
  ["hasSibling", r],
854
927
  ["hasParent", t]
855
928
  ]);
856
- function b(o, l) {
857
- const c = o;
858
- return typeof l == "number" ? [{ target: c, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((u) => {
929
+ function h(o, l) {
930
+ const s = o;
931
+ return typeof l == "number" ? [{ target: s, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((u) => {
859
932
  if (u === "length")
860
- return { target: c, operator: "length", param: null, value: l[u] };
861
- const v = u, s = l[u];
862
- return { target: c, operator: o === "children" ? "hasChildren" : o === "parent" ? "hasParent" : "hasSibling", param: v, value: s };
933
+ return { target: s, operator: "length", param: null, value: l[u] };
934
+ const A = u, a = l[u];
935
+ return { target: s, operator: o === "children" ? "hasChildren" : o === "parent" ? "hasParent" : "hasSibling", param: A, value: a };
863
936
  }) : [];
864
937
  }
865
- function h(o, l) {
866
- if (a.has(o.operator)) {
867
- const c = a.get(o.operator);
868
- return c && c(o.target, o.param, o.value, l) || !1;
938
+ function m(o, l) {
939
+ if (c.has(o.operator)) {
940
+ const s = c.get(o.operator);
941
+ return s && s(o.target, o.param, o.value, l) || !1;
869
942
  }
870
943
  return !1;
871
944
  }
872
- function j(o, l) {
873
- return Object.keys(o).reduce((s, C) => {
874
- const T = b(C, o[C]);
875
- return s.push(...T), s;
876
- }, []).reduce((s, C) => s && h(C, l), !0);
945
+ function y(o, l) {
946
+ return Object.keys(o).reduce((a, j) => {
947
+ const w = h(j, o[j]);
948
+ return a.push(...w), a;
949
+ }, []).reduce((a, j) => a && m(j, l), !0);
877
950
  }
878
- function P(o, l) {
879
- const c = Object.keys(o), u = c.includes("allOf"), v = c.includes("anyOf"), s = u || v, i = (s ? o[s ? u ? "allOf" : "anyOf" : "allOf"] : [o]).map((m) => j(m, l));
951
+ function T(o, l) {
952
+ const s = Object.keys(o), u = s.includes("allOf"), A = s.includes("anyOf"), a = u || A, i = (a ? o[a ? u ? "allOf" : "anyOf" : "allOf"] : [o]).map((g) => y(g, l));
880
953
  return u ? !i.includes(!1) : i.includes(!0);
881
954
  }
882
955
  function p(o, l) {
883
- const c = o.const;
884
- return c ? typeof c == "boolean" ? c : typeof c == "object" ? P(c, l) : !1 : !1;
956
+ const s = o.const;
957
+ return s ? typeof s == "boolean" ? s : typeof s == "object" ? T(s, l) : !1 : !1;
885
958
  }
886
959
  function d(o) {
887
960
  return (l) => {
888
- const c = { canAccept: !0, fixed: !1, hidePadding: !1 };
889
- return o && o.properties && Object.keys(o.properties).reduce((u, v) => {
890
- const s = o.properties[v];
891
- return u[v] = p(s, l), u;
892
- }, c), c;
961
+ const s = { canAccept: !0, fixed: !1, hidePadding: !1 };
962
+ return o && o.properties && Object.keys(o.properties).reduce((u, A) => {
963
+ const a = o.properties[A];
964
+ return u[A] = p(a, l), u;
965
+ }, s), s;
893
966
  };
894
967
  }
895
- function f(o, l, c) {
968
+ function f(o, l, s) {
896
969
  if (l.type === "object" && l.properties) {
897
- const { rules: u, contents: v } = l.properties;
898
- c.set(o, d(u)), v && Object.keys(v.properties).forEach(
899
- (s) => f(s, v.properties[s], c)
970
+ const { rules: u, contents: A } = l.properties;
971
+ s.set(o, d(u)), A && Object.keys(A.properties).forEach(
972
+ (a) => f(a, A.properties[a], s)
900
973
  );
901
974
  }
902
975
  }
903
- function y() {
904
- const { properties: o } = Se;
976
+ function b() {
977
+ const { properties: o } = Ee;
905
978
  Object.keys(o).forEach((l) => {
906
979
  f(l, o[l], F);
907
980
  });
908
981
  }
909
- function A(o, l) {
910
- const c = { canAccept: !0, fixed: !1, hidePadding: !0 };
911
- return F.has(o) ? F.get(o)(l) : c;
982
+ function v(o, l) {
983
+ const s = { canAccept: !0, fixed: !1, hidePadding: !0 };
984
+ return F.has(o) ? F.get(o)(l) : s;
912
985
  }
913
- return y(), { getRuleValue: A };
986
+ return b(), { getRuleValue: v };
914
987
  }
915
- function $e(n, e) {
916
- const t = Ne(), r = M(!1), a = M(!1);
917
- let b = !0, h = !1, j, P = !1;
918
- function p(s) {
919
- return j && j.componentClassList && j.componentClassList.includes("f-form-layout") && j.componentClassList.includes("farris-form") ? s.sourceType === "control" && s.controlCategory === "input" || s.sourceType === "move" && s.controlType === "form-group" : !0;
988
+ function Se(n, e) {
989
+ const t = Ne(), r = M(!1), c = M(!1);
990
+ let h = !0, m = !1, y, T = !1;
991
+ function p(a) {
992
+ return y && y.componentClassList && y.componentClassList.includes("f-form-layout") && y.componentClassList.includes("farris-form") ? a.sourceType === "control" && a.controlCategory === "input" || a.sourceType === "move" && a.controlType === "form-group" : !0;
920
993
  }
921
- function d(s) {
922
- return !(!Ae().basalDragulaRuleForContainer(s) || !b || !p(s));
994
+ function d(a) {
995
+ return !(!ve().basalDragulaRuleForContainer(a) || !h || !p(a));
923
996
  }
924
997
  function f() {
925
- r.value = !1, a.value = !1;
926
- const s = n, C = s.appearance && s.appearance.class || "", T = C.split(" "), i = s.contents || [], g = i.length ? i[0] : null, m = g && g.appearance ? g.appearance.class : "", w = m ? m.split(" ") : [], O = i.length ? i.reduce((V, N) => {
927
- const B = N && N.appearance ? N.appearance.class : "", X = B ? B.split(" ") : [];
998
+ r.value = !1, c.value = !1;
999
+ const a = n, j = a.appearance && a.appearance.class || "", w = j.split(" "), i = a.contents || [], C = i.length ? i[0] : null, g = C && C.appearance ? C.appearance.class : "", P = g ? g.split(" ") : [], O = i.length ? i.reduce((V, S) => {
1000
+ const B = S && S.appearance ? S.appearance.class : "", X = B ? B.split(" ") : [];
928
1001
  return V.push(...X), V;
929
1002
  }, []) : [], D = e, E = D && D.appearance && D.appearance.class || "", J = E ? E.split(" ") : [];
930
- j = {
931
- componentClass: C,
932
- componentClassList: T,
1003
+ y = {
1004
+ componentClass: j,
1005
+ componentClassList: w,
933
1006
  childContents: i,
934
- firstChildContent: g,
935
- firstChildClass: m,
936
- firstChildClassList: w,
1007
+ firstChildContent: C,
1008
+ firstChildClass: g,
1009
+ firstChildClassList: P,
937
1010
  parent: D,
938
1011
  parentClass: E,
939
1012
  parentClassList: J,
940
1013
  children: i,
941
1014
  childrenClassList: O
942
1015
  };
943
- const { canAccept: H, fixed: Q, hidePadding: U } = t.getRuleValue(T[0], j);
944
- return b = H, h = U, P = Q, !0;
1016
+ const { canAccept: H, fixed: Q, hidePadding: U } = t.getRuleValue(w[0], y);
1017
+ return h = H, m = U, T = Q, !0;
945
1018
  }
946
- function y(s) {
1019
+ function b(a) {
947
1020
  Y();
948
1021
  }
949
- function A() {
1022
+ function v() {
950
1023
  return n.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
951
1024
  }
952
- function o(s, C) {
953
- const T = n;
954
- if ((T.appearance && T.appearance.class || "").split(" ").includes("f-form-layout")) {
955
- const { label: m } = s, w = S("form-group");
956
- return w.editor = C, w.label = m, w;
1025
+ function o(a, j) {
1026
+ const w = n;
1027
+ if ((w.appearance && w.appearance.class || "").split(" ").includes("f-form-layout")) {
1028
+ const { label: g } = a, P = N("form-group");
1029
+ return P.editor = j, P.label = g, P;
957
1030
  }
958
- return C;
1031
+ return j;
959
1032
  }
960
- function l(s, C, T) {
1033
+ function l(a, j, w) {
961
1034
  const i = n;
962
1035
  if ((i.appearance && i.appearance.class || "").split(" ").includes("f-form-layout")) {
963
- const w = String(s.innerText), O = S("form-group");
964
- return O.editor = T, O.label = w, O;
1036
+ const P = String(a.innerText), O = N("form-group");
1037
+ return O.editor = w, O.label = P, O;
965
1038
  }
966
- return T;
1039
+ return w;
967
1040
  }
968
- function c() {
969
- return !P;
1041
+ function s() {
1042
+ return !T;
970
1043
  }
971
1044
  function u() {
972
- return !P;
1045
+ return !T;
973
1046
  }
974
- function v() {
975
- return h;
1047
+ function A() {
1048
+ return m;
976
1049
  }
977
1050
  return {
978
1051
  canAccepts: d,
979
1052
  resolveComponentContext: f,
980
- getStyles: A,
1053
+ getStyles: v,
981
1054
  onAcceptNewChildElement: l,
982
- onAcceptMovedChildElement: y,
1055
+ onAcceptMovedChildElement: b,
983
1056
  onResolveNewComponentSchema: o,
984
1057
  triggerBelongedComponentToMoveWhenMoved: r,
985
- triggerBelongedComponentToDeleteWhenDeleted: a,
986
- checkCanMoveComponent: c,
1058
+ triggerBelongedComponentToDeleteWhenDeleted: c,
1059
+ checkCanMoveComponent: s,
987
1060
  checkCanDeleteComponent: u,
988
- hideNestedPaddingInDesginerView: v
1061
+ hideNestedPaddingInDesginerView: A
989
1062
  };
990
1063
  }
991
- function Fe(n, e, t) {
992
- var T;
1064
+ function $e(n, e, t) {
1065
+ var w;
993
1066
  function r() {
994
1067
  t != null && t.resolveComponentContext && t.resolveComponentContext();
995
1068
  }
996
1069
  r();
997
- const a = t && t.getStyles && t.getStyles() || "", b = t && t.getDesignerClass && t.getDesignerClass() || "", h = M();
998
- function j() {
1070
+ const c = t && t.getStyles && t.getStyles() || "", h = t && t.getDesignerClass && t.getDesignerClass() || "", m = M();
1071
+ function y() {
999
1072
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
1000
1073
  }
1001
- function P() {
1074
+ function T() {
1002
1075
  return !1;
1003
1076
  }
1004
1077
  function p() {
@@ -1012,14 +1085,14 @@ function Fe(n, e, t) {
1012
1085
  return null;
1013
1086
  if (i.value.schema && i.value.schema.type === "component")
1014
1087
  return i.value;
1015
- const g = M(i == null ? void 0 : i.value.parent), m = f(g);
1016
- return m || null;
1088
+ const C = M(i == null ? void 0 : i.value.parent), g = f(C);
1089
+ return g || null;
1017
1090
  }
1018
- function y(i = e) {
1019
- const { componentInstance: g, designerItemElementRef: m } = i;
1020
- return !g || !g.value ? null : g.value.canMove ? m : y(i.parent);
1091
+ function b(i = e) {
1092
+ const { componentInstance: C, designerItemElementRef: g } = i;
1093
+ return !C || !C.value ? null : C.value.canMove ? g : b(i.parent);
1021
1094
  }
1022
- function A(i) {
1095
+ function v(i) {
1023
1096
  return !!t && t.canAccepts(i);
1024
1097
  }
1025
1098
  function o() {
@@ -1027,97 +1100,97 @@ function Fe(n, e, t) {
1027
1100
  }
1028
1101
  function l() {
1029
1102
  }
1030
- function c(i, g) {
1031
- g && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(g);
1103
+ function s(i, C) {
1104
+ C && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(C);
1032
1105
  }
1033
- function u(i) {
1106
+ function u(i, C) {
1034
1107
  const { componentType: g } = i;
1035
- let m = S(g, i);
1036
- t && t.onResolveNewComponentSchema && (m = t.onResolveNewComponentSchema(i, m));
1037
- const w = g.toLowerCase().replace("-", "_");
1038
- return m && !m.id && m.type === g && (m.id = `${w}_${Math.random().toString().slice(2, 6)}`), m;
1108
+ let P = N(g, i, C);
1109
+ t && t.onResolveNewComponentSchema && (P = t.onResolveNewComponentSchema(i, P));
1110
+ const O = g.toLowerCase().replace("-", "_");
1111
+ return P && !P.id && P.type === g && (P.id = `${O}_${Math.random().toString().slice(2, 6)}`), P;
1039
1112
  }
1040
- function v(i, g) {
1041
- const m = String(i.getAttribute("data-controltype")), w = i.getAttribute("data-feature"), O = w ? JSON.parse(w) : {};
1042
- O.parentComponentInstance = h.value;
1043
- let D = S(m, O);
1044
- t && t.onAcceptNewChildElement && (D = t.onAcceptNewChildElement(i, g, D));
1045
- const E = m.toLowerCase().replace("-", "_");
1046
- return D && !D.id && D.type === m && (D.id = `${E}_${Math.random().toString().slice(2, 6)}`), D;
1113
+ function A(i, C) {
1114
+ const g = String(i.getAttribute("data-controltype")), P = i.getAttribute("data-feature"), O = P ? JSON.parse(P) : {};
1115
+ O.parentComponentInstance = m.value;
1116
+ let D = N(g, O);
1117
+ t && t.onAcceptNewChildElement && (D = t.onAcceptNewChildElement(i, C, D));
1118
+ const E = g.toLowerCase().replace("-", "_");
1119
+ return D && !D.id && D.type === g && (D.id = `${E}_${Math.random().toString().slice(2, 6)}`), D;
1047
1120
  }
1048
- function s(i) {
1121
+ function a(i) {
1049
1122
  }
1050
- function C(...i) {
1123
+ function j(...i) {
1051
1124
  if (t && t.getPropsConfig)
1052
1125
  return t.getPropsConfig(...i);
1053
1126
  }
1054
- return h.value = {
1055
- canMove: j(),
1056
- canSelectParent: P(),
1127
+ return m.value = {
1128
+ canMove: y(),
1129
+ canSelectParent: T(),
1057
1130
  canDelete: p(),
1058
1131
  canNested: !d(),
1059
1132
  contents: e == null ? void 0 : e.schema.contents,
1060
1133
  elementRef: n,
1061
- parent: (T = e == null ? void 0 : e.parent) == null ? void 0 : T.componentInstance,
1134
+ parent: (w = e == null ? void 0 : e.parent) == null ? void 0 : w.componentInstance,
1062
1135
  schema: e == null ? void 0 : e.schema,
1063
- styles: a,
1064
- designerClass: b,
1065
- canAccepts: A,
1136
+ styles: c,
1137
+ designerClass: h,
1138
+ canAccepts: v,
1066
1139
  getBelongedComponentInstance: f,
1067
- getDraggableDesignItemElement: y,
1140
+ getDraggableDesignItemElement: b,
1068
1141
  getDraggingDisplayText: o,
1069
- getPropConfig: C,
1142
+ getPropConfig: j,
1070
1143
  getDragScopeElement: l,
1071
- onAcceptMovedChildElement: c,
1072
- onAcceptNewChildElement: v,
1073
- onChildElementMovedOut: s,
1144
+ onAcceptMovedChildElement: s,
1145
+ onAcceptNewChildElement: A,
1146
+ onChildElementMovedOut: a,
1074
1147
  addNewChildComponentSchema: u,
1075
1148
  updateDragAndDropRules: r,
1076
1149
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || M(!1),
1077
1150
  triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || M(!1)
1078
- }, h;
1151
+ }, m;
1079
1152
  }
1080
- const ke = ["moz", "ms", "webkit"];
1081
- function Le() {
1153
+ const Fe = ["moz", "ms", "webkit"];
1154
+ function ke() {
1082
1155
  let n = 0;
1083
1156
  return (e) => {
1084
- const t = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (t - n)), a = setTimeout(() => {
1157
+ const t = (/* @__PURE__ */ new Date()).getTime(), r = Math.max(0, 16 - (t - n)), c = setTimeout(() => {
1085
1158
  e(t + r);
1086
1159
  }, r);
1087
- return n = t + r, a;
1160
+ return n = t + r, c;
1088
1161
  };
1089
1162
  }
1090
- function Ve() {
1163
+ function Le() {
1091
1164
  if (typeof window > "u")
1092
1165
  return () => 0;
1093
1166
  if (window.requestAnimationFrame)
1094
1167
  return window.requestAnimationFrame.bind(window);
1095
- const n = ke.filter((e) => `${e}RequestAnimationFrame` in window)[0];
1096
- return n ? window[`${n}RequestAnimationFrame`] : Le();
1168
+ const n = Fe.filter((e) => `${e}RequestAnimationFrame` in window)[0];
1169
+ return n ? window[`${n}RequestAnimationFrame`] : ke();
1097
1170
  }
1098
- Ve();
1099
- function Be(n, e) {
1100
- return ((e == null ? void 0 : e.split(" ")) || []).reduce((r, a) => (a && (r[a] = !0), r), n), n;
1171
+ Le();
1172
+ function Ve(n, e) {
1173
+ return ((e == null ? void 0 : e.split(" ")) || []).reduce((r, c) => (c && (r[c] = !0), r), n), n;
1101
1174
  }
1102
- const qe = /* @__PURE__ */ W({
1175
+ const Be = /* @__PURE__ */ W({
1103
1176
  name: "FContentContainerDesign",
1104
1177
  props: L,
1105
1178
  emits: [],
1106
1179
  setup(n, e) {
1107
- var j;
1108
- const t = M(), r = Z("design-item-context"), a = $e(r.schema, (j = r.parent) == null ? void 0 : j.schema), b = Fe(t, r, a), h = R(() => Be({
1180
+ var y;
1181
+ const t = M(), r = Z("design-item-context"), c = Se(r.schema, (y = r.parent) == null ? void 0 : y.schema), h = $e(t, r, c), m = R(() => Ve({
1109
1182
  "drag-container": !0
1110
1183
  }, n == null ? void 0 : n.customClass));
1111
- return K(() => {
1112
- t.value.componentInstance = b;
1113
- }), e.expose(b.value), () => _("div", {
1184
+ return x(() => {
1185
+ t.value.componentInstance = h;
1186
+ }), e.expose(h.value), () => _("div", {
1114
1187
  ref: t,
1115
- class: h.value,
1188
+ class: m.value,
1116
1189
  style: n.customStyle,
1117
1190
  "data-dragref": `${r.schema.id}-container`
1118
1191
  }, [e.slots.default && e.slots.default()]);
1119
1192
  }
1120
- }), Ge = {
1193
+ }), ze = {
1121
1194
  install(n) {
1122
1195
  n.component($.name, $);
1123
1196
  },
@@ -1125,13 +1198,13 @@ const qe = /* @__PURE__ */ W({
1125
1198
  n["content-container"] = $, e["content-container"] = q;
1126
1199
  },
1127
1200
  registerDesigner(n, e, t) {
1128
- n["content-container"] = qe, e["content-container"] = q;
1201
+ n["content-container"] = Be, e["content-container"] = q;
1129
1202
  }
1130
1203
  };
1131
1204
  export {
1132
1205
  $ as ContentContainer,
1133
- qe as ContentContainerDesign,
1206
+ Be as ContentContainerDesign,
1134
1207
  L as contentContainerProps,
1135
- Ge as default,
1208
+ ze as default,
1136
1209
  q as propsResolver
1137
1210
  };