@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,35 +1,35 @@
1
- import { defineComponent as W, ref as N, computed as q, createVNode as P, nextTick as Z, inject as K, onMounted as R } from "vue";
1
+ import { defineComponent as W, ref as D, computed as _, createVNode as A, nextTick as Z, inject as R, onMounted as K } from "vue";
2
2
  import { cloneDeep as x } from "lodash-es";
3
- const _ = {}, G = {};
3
+ const q = {}, G = {};
4
4
  function k(n) {
5
- const { properties: e, title: t } = n, r = Object.keys(e).reduce((i, d) => (i[d] = e[d].type === "object" && e[d].properties ? k(e[d]) : x(e[d].default), i), {});
6
- return r.id = `${t}-${Date.now()}`, r;
5
+ const { properties: e, title: t, ignore: r } = n, s = r && Array.isArray(r), d = Object.keys(e).reduce((h, m) => ((!s || !r.find((v) => v == m)) && (h[m] = e[m].type === "object" && e[m].properties ? k(e[m]) : x(e[m].default)), h), {});
6
+ return (!s || !r.find((h) => h == "id")) && (d.id = `${t}-${Date.now()}`), d;
7
7
  }
8
- function S(n, e = {}) {
9
- const t = _[n];
10
- if (t) {
11
- let r = k(t);
12
- const i = G[n];
13
- return r = i ? i({ getSchemaByType: S }, r, e) : r, r;
8
+ function S(n, e = {}, t) {
9
+ const r = q[n];
10
+ if (r) {
11
+ let s = k(r);
12
+ const d = G[n];
13
+ return s = d ? d({ getSchemaByType: S }, s, e, t) : s, s;
14
14
  }
15
15
  return null;
16
16
  }
17
17
  function I(n, e) {
18
18
  const t = k(e);
19
- return Object.keys(n).reduce((r, i) => (r[i] = n[i], r), t), t;
19
+ return Object.keys(n).reduce((r, s) => (r[s] && typeof r[s] == "object" ? Object.assign(r[s], n[s]) : r[s] = n[s], r), t), t;
20
20
  }
21
21
  function ee(n, e) {
22
- return Object.keys(n).filter((r) => n[r] != null).reduce((r, i) => {
23
- if (e.has(i)) {
24
- const d = e.get(i);
22
+ return Object.keys(n).filter((r) => n[r] != null).reduce((r, s) => {
23
+ if (e.has(s)) {
24
+ const d = e.get(s);
25
25
  if (typeof d == "string")
26
- r[d] = n[i];
26
+ r[d] = n[s];
27
27
  else {
28
- const h = d(i, n[i], n);
28
+ const h = d(s, n[s], n);
29
29
  Object.assign(r, h);
30
30
  }
31
31
  } else
32
- r[i] = n[i];
32
+ r[s] = n[s];
33
33
  return r;
34
34
  }, {});
35
35
  }
@@ -38,65 +38,65 @@ function te(n, e, t = /* @__PURE__ */ new Map()) {
38
38
  return ee(r, t);
39
39
  }
40
40
  function ne(n = {}) {
41
- function e(a, y, u, b) {
41
+ function e(c, y, u, b) {
42
42
  if (typeof u == "number")
43
- return b[a].length === u;
43
+ return b[c].length === u;
44
44
  if (typeof u == "object") {
45
- const C = Object.keys(u)[0], o = u[C];
46
- if (C === "not")
47
- return Number(b[a].length) !== Number(o);
48
- if (C === "moreThan")
49
- return Number(b[a].length) >= Number(o);
50
- if (C === "lessThan")
51
- return Number(b[a].length) <= Number(o);
45
+ const j = Object.keys(u)[0], o = u[j];
46
+ if (j === "not")
47
+ return Number(b[c].length) !== Number(o);
48
+ if (j === "moreThan")
49
+ return Number(b[c].length) >= Number(o);
50
+ if (j === "lessThan")
51
+ return Number(b[c].length) <= Number(o);
52
52
  }
53
53
  return !1;
54
54
  }
55
- function t(a, y, u, b) {
56
- return b[a] && b[a].propertyValue && String(b[a].propertyValue.value) === String(u);
55
+ function t(c, y, u, b) {
56
+ return b[c] && b[c].propertyValue && String(b[c].propertyValue.value) === String(u);
57
57
  }
58
58
  const r = /* @__PURE__ */ new Map([
59
59
  ["length", e],
60
60
  ["getProperty", t]
61
61
  ]);
62
- Object.keys(n).reduce((a, y) => (a.set(y, n[y]), a), r);
63
- function i(a, y) {
64
- const u = a;
65
- return typeof y == "number" ? [{ target: u, operator: "length", param: null, value: Number(y) }] : typeof y == "boolean" ? [{ target: u, operator: "getProperty", param: a, value: !!y }] : typeof y == "object" ? Object.keys(y).map((b) => {
62
+ Object.keys(n).reduce((c, y) => (c.set(y, n[y]), c), r);
63
+ function s(c, y) {
64
+ const u = c;
65
+ return typeof y == "number" ? [{ target: u, operator: "length", param: null, value: Number(y) }] : typeof y == "boolean" ? [{ target: u, operator: "getProperty", param: c, value: !!y }] : typeof y == "object" ? Object.keys(y).map((b) => {
66
66
  if (b === "length")
67
67
  return { target: u, operator: "length", param: null, value: y[b] };
68
- const C = b, o = y[b];
69
- return { target: u, operator: "getProperty", param: C, value: o };
68
+ const j = b, o = y[b];
69
+ return { target: u, operator: "getProperty", param: j, value: o };
70
70
  }) : [];
71
71
  }
72
- function d(a) {
73
- return Object.keys(a).reduce((u, b) => {
74
- const C = i(b, a[b]);
75
- return u.push(...C), u;
72
+ function d(c) {
73
+ return Object.keys(c).reduce((u, b) => {
74
+ const j = s(b, c[b]);
75
+ return u.push(...j), u;
76
76
  }, []);
77
77
  }
78
- function h(a, y) {
79
- if (r.has(a.operator)) {
80
- const u = r.get(a.operator);
81
- return u && u(a.target, a.param, a.value, y) || !1;
78
+ function h(c, y) {
79
+ if (r.has(c.operator)) {
80
+ const u = r.get(c.operator);
81
+ return u && u(c.target, c.param, c.value, y) || !1;
82
82
  }
83
83
  return !1;
84
84
  }
85
- function v(a, y) {
86
- return d(a).reduce((C, o) => C && h(o, y), !0);
85
+ function m(c, y) {
86
+ return d(c).reduce((j, o) => j && h(o, y), !0);
87
87
  }
88
- function g(a, y) {
89
- const u = Object.keys(a), b = u.includes("allOf"), C = u.includes("anyOf"), o = b || C, f = (o ? a[o ? b ? "allOf" : "anyOf" : "allOf"] : [a]).map((c) => v(c, y));
88
+ function v(c, y) {
89
+ const u = Object.keys(c), b = u.includes("allOf"), j = u.includes("anyOf"), o = b || j, f = (o ? c[o ? b ? "allOf" : "anyOf" : "allOf"] : [c]).map((i) => m(i, y));
90
90
  return b ? !f.includes(!1) : f.includes(!0);
91
91
  }
92
- return { parseValueSchema: g };
92
+ return { parseValueSchema: v };
93
93
  }
94
94
  const oe = {}, re = {};
95
95
  ne();
96
- function se(n, e, t = /* @__PURE__ */ new Map(), r = (h, v, g) => v, i = {}, d = (h) => h) {
97
- return _[e.title] = e, G[e.title] = r, oe[e.title] = i, re[e.title] = d, (h = {}) => {
98
- const v = te(h, e, t), g = Object.keys(n).reduce((a, y) => (a[y] = n[y].default, a), {});
99
- return Object.assign(g, v);
96
+ function se(n, e, t = /* @__PURE__ */ new Map(), r = (h, m, v) => m, s = {}, d = (h) => h) {
97
+ return q[e.title] = e, G[e.title] = r, oe[e.title] = s, re[e.title] = d, (h = {}) => {
98
+ const m = te(h, e, t), v = Object.keys(n).reduce((c, y) => (c[y] = n[y].default, c), {});
99
+ return Object.assign(v, m);
100
100
  };
101
101
  }
102
102
  function ae(n, e) {
@@ -210,58 +210,58 @@ const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-
210
210
  props: B,
211
211
  emits: ["collapse"],
212
212
  setup(n, e) {
213
- const t = N(n.position), r = N(n.title), i = N(n.folded), d = N(!1);
214
- function h(g) {
215
- g && g.stopPropagation(), !n.disabled && (d.value = !0, i.value = !i.value, e.emit("collapse", i.value));
213
+ const t = D(n.position), r = D(n.title), s = D(n.folded), d = D(!1);
214
+ function h(v) {
215
+ v && v.stopPropagation(), !n.disabled && (d.value = !0, s.value = !s.value, e.emit("collapse", s.value));
216
216
  }
217
- const v = q(() => {
218
- const g = {};
219
- let a = ["top", "bottom"].indexOf(t.value) > -1 ? "height" : "width";
220
- return g[a] = i.value ? "0px" : n.size + "px", g;
217
+ const m = _(() => {
218
+ const v = {};
219
+ let c = ["top", "bottom"].indexOf(t.value) > -1 ? "height" : "width";
220
+ return v[c] = s.value ? "0px" : n.size + "px", v;
221
221
  });
222
- return () => P("div", {
222
+ return () => A("div", {
223
223
  class: `f-list-nav f-list-nav-${t.value}`
224
- }, [P("div", {
224
+ }, [A("div", {
225
225
  class: "f-list-nav-in",
226
- style: v.value
227
- }, [P("div", {
226
+ style: m.value
227
+ }, [A("div", {
228
228
  class: "f-list-nav-main"
229
- }, [e.slots.navHeader && P("div", {
229
+ }, [e.slots.navHeader && A("div", {
230
230
  class: "f-list-nav-header"
231
- }, [e.slots.navHeader()]), !e.slots.navHeader && r.value && P("div", {
231
+ }, [e.slots.navHeader()]), !e.slots.navHeader && r.value && A("div", {
232
232
  class: "f-list-nav-header"
233
- }, [P("div", {
233
+ }, [A("div", {
234
234
  class: "f-list-nav-title"
235
- }, [r.value])]), e.slots.navContent && P("div", {
235
+ }, [r.value])]), e.slots.navContent && A("div", {
236
236
  class: "f-list-nav-content"
237
- }, [e.slots.navContent()]), e.slots.navFooter && P("div", {
237
+ }, [e.slots.navContent()]), e.slots.navFooter && A("div", {
238
238
  class: "f-list-nav-footer"
239
- }, [e.slots.navFooter()])]), n.collapsible && P("div", {
239
+ }, [e.slots.navFooter()])]), n.collapsible && A("div", {
240
240
  class: ["f-list-nav-toggle-sidebar", {
241
241
  disabled: n.disabled,
242
- active: i.value,
242
+ active: s.value,
243
243
  "splitter-pane-collapse-animate": d.value
244
244
  }],
245
- onClick: (g) => h(g)
246
- }, [P("span", {
245
+ onClick: (v) => h(v)
246
+ }, [A("span", {
247
247
  class: "triangle"
248
248
  }, null)])])]);
249
249
  }
250
250
  });
251
- function Te(n, e, t) {
252
- var D;
251
+ function Pe(n, e, t) {
252
+ var O;
253
253
  function r() {
254
254
  t != null && t.resolveComponentContext && t.resolveComponentContext();
255
255
  }
256
256
  r();
257
- const i = t && t.getStyles && t.getStyles() || "", d = t && t.getDesignerClass && t.getDesignerClass() || "", h = N();
258
- function v() {
257
+ const s = t && t.getStyles && t.getStyles() || "", d = t && t.getDesignerClass && t.getDesignerClass() || "", h = D();
258
+ function m() {
259
259
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
260
260
  }
261
- function g() {
261
+ function v() {
262
262
  return !1;
263
263
  }
264
- function a() {
264
+ function c() {
265
265
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanDeleteComponent ? t.checkCanDeleteComponent() : !0;
266
266
  }
267
267
  function y() {
@@ -272,14 +272,14 @@ function Te(n, e, t) {
272
272
  return null;
273
273
  if (p.value.schema && p.value.schema.type === "component")
274
274
  return p.value;
275
- const j = N(p == null ? void 0 : p.value.parent), m = u(j);
276
- return m || null;
275
+ const P = D(p == null ? void 0 : p.value.parent), g = u(P);
276
+ return g || null;
277
277
  }
278
278
  function b(p = e) {
279
- const { componentInstance: j, designerItemElementRef: m } = p;
280
- return !j || !j.value ? null : j.value.canMove ? m : b(p.parent);
279
+ const { componentInstance: P, designerItemElementRef: g } = p;
280
+ return !P || !P.value ? null : P.value.canMove ? g : b(p.parent);
281
281
  }
282
- function C(p) {
282
+ function j(p) {
283
283
  return !!t && t.canAccepts(p);
284
284
  }
285
285
  function o() {
@@ -287,68 +287,68 @@ function Te(n, e, t) {
287
287
  }
288
288
  function l() {
289
289
  }
290
- function s(p, j) {
291
- j && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(j);
290
+ function a(p, P) {
291
+ P && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(P);
292
292
  }
293
- function f(p) {
294
- const { componentType: j } = p;
295
- let m = S(j, p);
296
- t && t.onResolveNewComponentSchema && (m = t.onResolveNewComponentSchema(p, m));
297
- const O = j.toLowerCase().replace("-", "_");
298
- return m && !m.id && m.type === j && (m.id = `${O}_${Math.random().toString().slice(2, 6)}`), m;
293
+ function f(p, P) {
294
+ const { componentType: g } = p;
295
+ let N = S(g, p, P);
296
+ t && t.onResolveNewComponentSchema && (N = t.onResolveNewComponentSchema(p, N));
297
+ const M = g.toLowerCase().replace("-", "_");
298
+ return N && !N.id && N.type === g && (N.id = `${M}_${Math.random().toString().slice(2, 6)}`), N;
299
299
  }
300
- function A(p, j) {
301
- const m = String(p.getAttribute("data-controltype")), O = p.getAttribute("data-feature"), M = O ? JSON.parse(O) : {};
300
+ function T(p, P) {
301
+ const g = String(p.getAttribute("data-controltype")), N = p.getAttribute("data-feature"), M = N ? JSON.parse(N) : {};
302
302
  M.parentComponentInstance = h.value;
303
- let w = S(m, M);
304
- t && t.onAcceptNewChildElement && (w = t.onAcceptNewChildElement(p, j, w));
305
- const E = m.toLowerCase().replace("-", "_");
306
- return w && !w.id && w.type === m && (w.id = `${E}_${Math.random().toString().slice(2, 6)}`), w;
303
+ let w = S(g, M);
304
+ t && t.onAcceptNewChildElement && (w = t.onAcceptNewChildElement(p, P, w));
305
+ const E = g.toLowerCase().replace("-", "_");
306
+ return w && !w.id && w.type === g && (w.id = `${E}_${Math.random().toString().slice(2, 6)}`), w;
307
307
  }
308
- function c(p) {
308
+ function i(p) {
309
309
  }
310
- function T(...p) {
310
+ function C(...p) {
311
311
  if (t && t.getPropsConfig)
312
312
  return t.getPropsConfig(...p);
313
313
  }
314
314
  return h.value = {
315
- canMove: v(),
316
- canSelectParent: g(),
317
- canDelete: a(),
315
+ canMove: m(),
316
+ canSelectParent: v(),
317
+ canDelete: c(),
318
318
  canNested: !y(),
319
319
  contents: e == null ? void 0 : e.schema.contents,
320
320
  elementRef: n,
321
- parent: (D = e == null ? void 0 : e.parent) == null ? void 0 : D.componentInstance,
321
+ parent: (O = e == null ? void 0 : e.parent) == null ? void 0 : O.componentInstance,
322
322
  schema: e == null ? void 0 : e.schema,
323
- styles: i,
323
+ styles: s,
324
324
  designerClass: d,
325
- canAccepts: C,
325
+ canAccepts: j,
326
326
  getBelongedComponentInstance: u,
327
327
  getDraggableDesignItemElement: b,
328
328
  getDraggingDisplayText: o,
329
- getPropConfig: T,
329
+ getPropConfig: C,
330
330
  getDragScopeElement: l,
331
- onAcceptMovedChildElement: s,
332
- onAcceptNewChildElement: A,
333
- onChildElementMovedOut: c,
331
+ onAcceptMovedChildElement: a,
332
+ onAcceptNewChildElement: T,
333
+ onChildElementMovedOut: i,
334
334
  addNewChildComponentSchema: f,
335
335
  updateDragAndDropRules: r,
336
- triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || N(!1),
337
- triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || N(!1)
336
+ triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || D(!1),
337
+ triggerBelongedComponentToDeleteWhenDeleted: !!t && t.triggerBelongedComponentToDeleteWhenDeleted || D(!1)
338
338
  }, h;
339
339
  }
340
- function Pe() {
340
+ function Ae() {
341
341
  function n(e) {
342
- var i, d;
342
+ var s, d;
343
343
  if (!e)
344
344
  return !1;
345
- const t = ((i = e.targetContainer) == null ? void 0 : i.componentInstance) && e.targetContainer.componentInstance.value;
345
+ const t = ((s = e.targetContainer) == null ? void 0 : s.componentInstance) && e.targetContainer.componentInstance.value;
346
346
  if (!t)
347
347
  return !1;
348
348
  const r = (d = t.schema.appearance) == null ? void 0 : d.class;
349
349
  if (e.controlCategory === "input" || e.controlType === "form-group") {
350
- const h = t.schema.type, v = (h === "response-form" || h === "content-container") && r && r.includes("farris-form");
351
- if (t.schema.type !== "response-layout-item" && !v)
350
+ const h = t.schema.type, m = (h === "response-form" || h === "content-container") && r && r.includes("farris-form");
351
+ if (t.schema.type !== "response-layout-item" && !m)
352
352
  return !1;
353
353
  }
354
354
  return e.controlType !== "field-set";
@@ -357,7 +357,7 @@ function Pe() {
357
357
  basalDragulaRuleForContainer: n
358
358
  };
359
359
  }
360
- const Ae = "https://json-schema.org/draft/2020-12/schema", Ne = "https://farris-design.gitee.io/dragging-rules.schema.json", De = "Dragging Rules", Oe = "The rules of designer canvas", we = "object", Me = {
360
+ const Te = "https://json-schema.org/draft/2020-12/schema", Ne = "https://farris-design.gitee.io/dragging-rules.schema.json", De = "Dragging Rules", Oe = "The rules of designer canvas", we = "object", Me = {
361
361
  "f-page": {
362
362
  description: "The root class of page designed by farris.",
363
363
  type: "object",
@@ -776,6 +776,80 @@ const Ae = "https://json-schema.org/draft/2020-12/schema", Ne = "https://farris-
776
776
  "f-list-nav-left": {
777
777
  description: "",
778
778
  type: "object"
779
+ },
780
+ "f-struct-data-grid-in-nav": {
781
+ description: "",
782
+ type: "object",
783
+ properties: {
784
+ contents: {
785
+ type: "object",
786
+ properties: {
787
+ "f-section-form": {
788
+ description: "",
789
+ type: "object",
790
+ properties: {
791
+ rules: {
792
+ type: "object",
793
+ properties: {
794
+ canAccept: {
795
+ type: "boolean",
796
+ const: !1
797
+ },
798
+ fixed: {
799
+ type: "boolean",
800
+ const: !0
801
+ },
802
+ hidePadding: {
803
+ type: "boolean",
804
+ const: !0
805
+ }
806
+ }
807
+ }
808
+ }
809
+ },
810
+ "f-section-grid": {
811
+ description: "",
812
+ type: "object",
813
+ properties: {
814
+ rules: {
815
+ type: "object",
816
+ properties: {
817
+ canAccept: {
818
+ type: "boolean",
819
+ const: !1
820
+ },
821
+ fixed: {
822
+ type: "boolean",
823
+ const: !0
824
+ },
825
+ hidePadding: {
826
+ type: "boolean",
827
+ const: !0
828
+ }
829
+ }
830
+ }
831
+ }
832
+ }
833
+ }
834
+ },
835
+ rules: {
836
+ type: "object",
837
+ properties: {
838
+ canAccept: {
839
+ type: "boolean",
840
+ const: !1
841
+ },
842
+ fixed: {
843
+ type: "boolean",
844
+ const: !0
845
+ },
846
+ hidePadding: {
847
+ type: "boolean",
848
+ const: !0
849
+ }
850
+ }
851
+ }
852
+ }
779
853
  }
780
854
  }
781
855
  }
@@ -921,224 +995,223 @@ const Ae = "https://json-schema.org/draft/2020-12/schema", Ne = "https://farris-
921
995
  description: "",
922
996
  type: "object"
923
997
  }
924
- }, Ee = [], Se = {
925
- $schema: Ae,
998
+ }, Ee = {
999
+ $schema: Te,
926
1000
  $id: Ne,
927
1001
  title: De,
928
1002
  description: Oe,
929
1003
  type: we,
930
- properties: Me,
931
- required: Ee
1004
+ properties: Me
932
1005
  }, F = /* @__PURE__ */ new Map();
933
- function $e() {
934
- function n(o, l, s, f) {
935
- var A;
936
- if (typeof s == "number")
937
- return ((A = f[o]) == null ? void 0 : A.length) === s;
938
- if (typeof s == "object") {
939
- const c = Object.keys(s)[0], T = s[c];
940
- if (c === "not")
941
- return Number(f[o].length) !== Number(T);
942
- if (c === "moreThan")
943
- return Number(f[o].length) >= Number(T);
944
- if (c === "lessThan")
945
- return Number(f[o].length) <= Number(T);
1006
+ function Se() {
1007
+ function n(o, l, a, f) {
1008
+ var T;
1009
+ if (typeof a == "number")
1010
+ return ((T = f[o]) == null ? void 0 : T.length) === a;
1011
+ if (typeof a == "object") {
1012
+ const i = Object.keys(a)[0], C = a[i];
1013
+ if (i === "not")
1014
+ return Number(f[o].length) !== Number(C);
1015
+ if (i === "moreThan")
1016
+ return Number(f[o].length) >= Number(C);
1017
+ if (i === "lessThan")
1018
+ return Number(f[o].length) <= Number(C);
946
1019
  }
947
1020
  return !1;
948
1021
  }
949
- function e(o, l, s, f) {
950
- return typeof s == "boolean" ? f.childrenClassList.includes(l) === !!s : !1;
1022
+ function e(o, l, a, f) {
1023
+ return typeof a == "boolean" ? f.childrenClassList.includes(l) === !!a : !1;
951
1024
  }
952
- function t(o, l, s, f) {
953
- return typeof s == "boolean" ? f.parentClassList.includes(l) === !!s : !1;
1025
+ function t(o, l, a, f) {
1026
+ return typeof a == "boolean" ? f.parentClassList.includes(l) === !!a : !1;
954
1027
  }
955
- function r(o, l, s, f) {
956
- return typeof s == "boolean" ? f.parentClassList.includes(l) === !!s : !1;
1028
+ function r(o, l, a, f) {
1029
+ return typeof a == "boolean" ? f.parentClassList.includes(l) === !!a : !1;
957
1030
  }
958
- const i = /* @__PURE__ */ new Map([
1031
+ const s = /* @__PURE__ */ new Map([
959
1032
  ["length", n],
960
1033
  ["hasChildren", e],
961
1034
  ["hasSibling", r],
962
1035
  ["hasParent", t]
963
1036
  ]);
964
1037
  function d(o, l) {
965
- const s = o;
966
- return typeof l == "number" ? [{ target: s, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((f) => {
1038
+ const a = o;
1039
+ return typeof l == "number" ? [{ target: a, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((f) => {
967
1040
  if (f === "length")
968
- return { target: s, operator: "length", param: null, value: l[f] };
969
- const A = f, c = l[f];
970
- return { target: s, operator: o === "children" ? "hasChildren" : o === "parent" ? "hasParent" : "hasSibling", param: A, value: c };
1041
+ return { target: a, operator: "length", param: null, value: l[f] };
1042
+ const T = f, i = l[f];
1043
+ return { target: a, operator: o === "children" ? "hasChildren" : o === "parent" ? "hasParent" : "hasSibling", param: T, value: i };
971
1044
  }) : [];
972
1045
  }
973
1046
  function h(o, l) {
974
- if (i.has(o.operator)) {
975
- const s = i.get(o.operator);
976
- return s && s(o.target, o.param, o.value, l) || !1;
1047
+ if (s.has(o.operator)) {
1048
+ const a = s.get(o.operator);
1049
+ return a && a(o.target, o.param, o.value, l) || !1;
977
1050
  }
978
1051
  return !1;
979
1052
  }
980
- function v(o, l) {
981
- return Object.keys(o).reduce((c, T) => {
982
- const D = d(T, o[T]);
983
- return c.push(...D), c;
984
- }, []).reduce((c, T) => c && h(T, l), !0);
1053
+ function m(o, l) {
1054
+ return Object.keys(o).reduce((i, C) => {
1055
+ const O = d(C, o[C]);
1056
+ return i.push(...O), i;
1057
+ }, []).reduce((i, C) => i && h(C, l), !0);
985
1058
  }
986
- function g(o, l) {
987
- const s = Object.keys(o), f = s.includes("allOf"), A = s.includes("anyOf"), c = f || A, p = (c ? o[c ? f ? "allOf" : "anyOf" : "allOf"] : [o]).map((m) => v(m, l));
1059
+ function v(o, l) {
1060
+ const a = Object.keys(o), f = a.includes("allOf"), T = a.includes("anyOf"), i = f || T, p = (i ? o[i ? f ? "allOf" : "anyOf" : "allOf"] : [o]).map((g) => m(g, l));
988
1061
  return f ? !p.includes(!1) : p.includes(!0);
989
1062
  }
990
- function a(o, l) {
991
- const s = o.const;
992
- return s ? typeof s == "boolean" ? s : typeof s == "object" ? g(s, l) : !1 : !1;
1063
+ function c(o, l) {
1064
+ const a = o.const;
1065
+ return a ? typeof a == "boolean" ? a : typeof a == "object" ? v(a, l) : !1 : !1;
993
1066
  }
994
1067
  function y(o) {
995
1068
  return (l) => {
996
- const s = { canAccept: !0, fixed: !1, hidePadding: !1 };
997
- return o && o.properties && Object.keys(o.properties).reduce((f, A) => {
998
- const c = o.properties[A];
999
- return f[A] = a(c, l), f;
1000
- }, s), s;
1069
+ const a = { canAccept: !0, fixed: !1, hidePadding: !1 };
1070
+ return o && o.properties && Object.keys(o.properties).reduce((f, T) => {
1071
+ const i = o.properties[T];
1072
+ return f[T] = c(i, l), f;
1073
+ }, a), a;
1001
1074
  };
1002
1075
  }
1003
- function u(o, l, s) {
1076
+ function u(o, l, a) {
1004
1077
  if (l.type === "object" && l.properties) {
1005
- const { rules: f, contents: A } = l.properties;
1006
- s.set(o, y(f)), A && Object.keys(A.properties).forEach(
1007
- (c) => u(c, A.properties[c], s)
1078
+ const { rules: f, contents: T } = l.properties;
1079
+ a.set(o, y(f)), T && Object.keys(T.properties).forEach(
1080
+ (i) => u(i, T.properties[i], a)
1008
1081
  );
1009
1082
  }
1010
1083
  }
1011
1084
  function b() {
1012
- const { properties: o } = Se;
1085
+ const { properties: o } = Ee;
1013
1086
  Object.keys(o).forEach((l) => {
1014
1087
  u(l, o[l], F);
1015
1088
  });
1016
1089
  }
1017
- function C(o, l) {
1018
- const s = { canAccept: !0, fixed: !1, hidePadding: !0 };
1019
- return F.has(o) ? F.get(o)(l) : s;
1090
+ function j(o, l) {
1091
+ const a = { canAccept: !0, fixed: !1, hidePadding: !0 };
1092
+ return F.has(o) ? F.get(o)(l) : a;
1020
1093
  }
1021
- return b(), { getRuleValue: C };
1094
+ return b(), { getRuleValue: j };
1022
1095
  }
1023
- function Le(n, e) {
1024
- const t = $e(), r = N(!1), i = N(!1);
1025
- let d = !0, h = !1, v, g = !1;
1026
- function a(c) {
1027
- return v && v.componentClassList && v.componentClassList.includes("f-form-layout") && v.componentClassList.includes("farris-form") ? c.sourceType === "control" && c.controlCategory === "input" || c.sourceType === "move" && c.controlType === "form-group" : !0;
1096
+ function $e(n, e) {
1097
+ const t = Se(), r = D(!1), s = D(!1);
1098
+ let d = !0, h = !1, m, v = !1;
1099
+ function c(i) {
1100
+ return m && m.componentClassList && m.componentClassList.includes("f-form-layout") && m.componentClassList.includes("farris-form") ? i.sourceType === "control" && i.controlCategory === "input" || i.sourceType === "move" && i.controlType === "form-group" : !0;
1028
1101
  }
1029
- function y(c) {
1030
- return !(!Pe().basalDragulaRuleForContainer(c) || !d || !a(c));
1102
+ function y(i) {
1103
+ return !(!Ae().basalDragulaRuleForContainer(i) || !d || !c(i));
1031
1104
  }
1032
1105
  function u() {
1033
- r.value = !1, i.value = !1;
1034
- const c = n, T = c.appearance && c.appearance.class || "", D = T.split(" "), p = c.contents || [], j = p.length ? p[0] : null, m = j && j.appearance ? j.appearance.class : "", O = m ? m.split(" ") : [], M = p.length ? p.reduce((V, $) => {
1106
+ r.value = !1, s.value = !1;
1107
+ const i = n, C = i.appearance && i.appearance.class || "", O = C.split(" "), p = i.contents || [], P = p.length ? p[0] : null, g = P && P.appearance ? P.appearance.class : "", N = g ? g.split(" ") : [], M = p.length ? p.reduce((V, $) => {
1035
1108
  const z = $ && $.appearance ? $.appearance.class : "", Y = z ? z.split(" ") : [];
1036
1109
  return V.push(...Y), V;
1037
1110
  }, []) : [], w = e, E = w && w.appearance && w.appearance.class || "", J = E ? E.split(" ") : [];
1038
- v = {
1039
- componentClass: T,
1040
- componentClassList: D,
1111
+ m = {
1112
+ componentClass: C,
1113
+ componentClassList: O,
1041
1114
  childContents: p,
1042
- firstChildContent: j,
1043
- firstChildClass: m,
1044
- firstChildClassList: O,
1115
+ firstChildContent: P,
1116
+ firstChildClass: g,
1117
+ firstChildClassList: N,
1045
1118
  parent: w,
1046
1119
  parentClass: E,
1047
1120
  parentClassList: J,
1048
1121
  children: p,
1049
1122
  childrenClassList: M
1050
1123
  };
1051
- const { canAccept: Q, fixed: U, hidePadding: X } = t.getRuleValue(D[0], v);
1052
- return d = Q, h = X, g = U, !0;
1124
+ const { canAccept: Q, fixed: U, hidePadding: X } = t.getRuleValue(O[0], m);
1125
+ return d = Q, h = X, v = U, !0;
1053
1126
  }
1054
- function b(c) {
1127
+ function b(i) {
1055
1128
  Z();
1056
1129
  }
1057
- function C() {
1130
+ function j() {
1058
1131
  return n.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
1059
1132
  }
1060
- function o(c, T) {
1061
- const D = n;
1062
- if ((D.appearance && D.appearance.class || "").split(" ").includes("f-form-layout")) {
1063
- const { label: m } = c, O = S("form-group");
1064
- return O.editor = T, O.label = m, O;
1133
+ function o(i, C) {
1134
+ const O = n;
1135
+ if ((O.appearance && O.appearance.class || "").split(" ").includes("f-form-layout")) {
1136
+ const { label: g } = i, N = S("form-group");
1137
+ return N.editor = C, N.label = g, N;
1065
1138
  }
1066
- return T;
1139
+ return C;
1067
1140
  }
1068
- function l(c, T, D) {
1141
+ function l(i, C, O) {
1069
1142
  const p = n;
1070
1143
  if ((p.appearance && p.appearance.class || "").split(" ").includes("f-form-layout")) {
1071
- const O = String(c.innerText), M = S("form-group");
1072
- return M.editor = D, M.label = O, M;
1144
+ const N = String(i.innerText), M = S("form-group");
1145
+ return M.editor = O, M.label = N, M;
1073
1146
  }
1074
- return D;
1147
+ return O;
1075
1148
  }
1076
- function s() {
1077
- return !g;
1149
+ function a() {
1150
+ return !v;
1078
1151
  }
1079
1152
  function f() {
1080
- return !g;
1153
+ return !v;
1081
1154
  }
1082
- function A() {
1155
+ function T() {
1083
1156
  return h;
1084
1157
  }
1085
1158
  return {
1086
1159
  canAccepts: y,
1087
1160
  resolveComponentContext: u,
1088
- getStyles: C,
1161
+ getStyles: j,
1089
1162
  onAcceptNewChildElement: l,
1090
1163
  onAcceptMovedChildElement: b,
1091
1164
  onResolveNewComponentSchema: o,
1092
1165
  triggerBelongedComponentToMoveWhenMoved: r,
1093
- triggerBelongedComponentToDeleteWhenDeleted: i,
1094
- checkCanMoveComponent: s,
1166
+ triggerBelongedComponentToDeleteWhenDeleted: s,
1167
+ checkCanMoveComponent: a,
1095
1168
  checkCanDeleteComponent: f,
1096
- hideNestedPaddingInDesginerView: A
1169
+ hideNestedPaddingInDesginerView: T
1097
1170
  };
1098
1171
  }
1099
- const Fe = /* @__PURE__ */ W({
1172
+ const Le = /* @__PURE__ */ W({
1100
1173
  name: "FListNavDesign",
1101
1174
  props: B,
1102
1175
  emits: [],
1103
1176
  setup(n, e) {
1104
1177
  var u;
1105
- const t = N(), r = K("design-item-context"), i = Le(r.schema, (u = r.parent) == null ? void 0 : u.schema), d = Te(t, r, i);
1178
+ const t = D(), r = R("design-item-context"), s = $e(r.schema, (u = r.parent) == null ? void 0 : u.schema), d = Pe(t, r, s);
1106
1179
  d.value.canMove = !1, d.value.canNested = !1;
1107
- const h = N(n.position), v = N(n.title), g = N(!1), a = N(!1), y = q(() => {
1180
+ const h = D(n.position), m = D(n.title), v = D(!1), c = D(!1), y = _(() => {
1108
1181
  const b = {};
1109
- let C = ["top", "bottom"].indexOf(h.value) > -1 ? "height" : "width";
1110
- return b[C] = g.value ? "0px" : n.size + "px", b;
1182
+ let j = ["top", "bottom"].indexOf(h.value) > -1 ? "height" : "width";
1183
+ return b[j] = v.value ? "0px" : n.size + "px", b;
1111
1184
  });
1112
- return R(() => {
1185
+ return K(() => {
1113
1186
  t.value.componentInstance = d;
1114
- }), e.expose(d.value), () => P("div", {
1187
+ }), e.expose(d.value), () => A("div", {
1115
1188
  class: `f-list-nav f-list-nav-${h.value}`
1116
- }, [P("div", {
1189
+ }, [A("div", {
1117
1190
  class: "f-list-nav-in",
1118
1191
  style: y.value
1119
- }, [P("div", {
1192
+ }, [A("div", {
1120
1193
  class: "f-list-nav-main"
1121
- }, [e.slots.navHeader && P("div", {
1194
+ }, [e.slots.navHeader && A("div", {
1122
1195
  class: "f-list-nav-header"
1123
- }, [e.slots.navHeader()]), !e.slots.navHeader && v.value && P("div", {
1196
+ }, [e.slots.navHeader()]), !e.slots.navHeader && m.value && A("div", {
1124
1197
  class: "f-list-nav-header"
1125
- }, [P("div", {
1198
+ }, [A("div", {
1126
1199
  class: "f-list-nav-title"
1127
- }, [v.value])]), e.slots.navContent && P("div", {
1200
+ }, [m.value])]), e.slots.navContent && A("div", {
1128
1201
  class: "f-list-nav-content"
1129
- }, [e.slots.navContent()]), e.slots.navFooter && P("div", {
1202
+ }, [e.slots.navContent()]), e.slots.navFooter && A("div", {
1130
1203
  class: "f-list-nav-footer"
1131
- }, [e.slots.navFooter()])]), n.collapsible && P("div", {
1204
+ }, [e.slots.navFooter()])]), n.collapsible && A("div", {
1132
1205
  class: ["f-list-nav-toggle-sidebar", {
1133
1206
  disabled: n.disabled,
1134
- active: g.value,
1135
- "splitter-pane-collapse-animate": a.value
1207
+ active: v.value,
1208
+ "splitter-pane-collapse-animate": c.value
1136
1209
  }]
1137
- }, [P("span", {
1210
+ }, [A("span", {
1138
1211
  class: "triangle"
1139
1212
  }, null)])])]);
1140
1213
  }
1141
- }), Ve = {
1214
+ }), Be = {
1142
1215
  install(n) {
1143
1216
  n.component(L.name, L);
1144
1217
  },
@@ -1146,12 +1219,12 @@ const Fe = /* @__PURE__ */ W({
1146
1219
  n["list-nav"] = L, e["list-nav"] = H;
1147
1220
  },
1148
1221
  registerDesigner(n, e, t) {
1149
- n["list-nav"] = Fe, e["list-nav"] = H;
1222
+ n["list-nav"] = Le, e["list-nav"] = H;
1150
1223
  }
1151
1224
  };
1152
1225
  export {
1153
1226
  L as FListNav,
1154
- Ve as default,
1227
+ Be as default,
1155
1228
  B as listNavProps,
1156
1229
  H as propsResolver
1157
1230
  };