@farris/ui-vue 1.2.8 → 1.3.0

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 (283) hide show
  1. package/components/accordion/index.esm.js +180 -180
  2. package/components/accordion/index.umd.cjs +1 -0
  3. package/components/avatar/index.esm.js +419 -331
  4. package/components/avatar/index.umd.cjs +1 -0
  5. package/components/border-editor/index.umd.cjs +1 -0
  6. package/components/button/index.umd.cjs +1 -0
  7. package/components/button-edit/index.css +1 -1
  8. package/components/button-edit/index.esm.js +346 -326
  9. package/components/button-edit/index.umd.cjs +1 -0
  10. package/components/button-group/index.umd.cjs +1 -0
  11. package/components/calculator/index.umd.cjs +1 -0
  12. package/components/calendar/index.esm.js +384 -384
  13. package/components/calendar/index.umd.cjs +1 -0
  14. package/components/capsule/index.esm.js +205 -205
  15. package/components/capsule/index.umd.cjs +1 -0
  16. package/components/checkbox/index.esm.js +555 -467
  17. package/components/checkbox/index.umd.cjs +1 -0
  18. package/components/color-picker/index.esm.js +239 -239
  19. package/components/color-picker/index.umd.cjs +3 -0
  20. package/components/combo-list/index.css +1 -0
  21. package/components/combo-list/index.esm.js +1072 -364
  22. package/components/combo-list/index.umd.cjs +1 -0
  23. package/components/combo-tree/index.esm.js +129 -129
  24. package/components/combo-tree/index.umd.cjs +1 -0
  25. package/components/common/index.esm.js +778 -700
  26. package/components/common/index.umd.cjs +1 -0
  27. package/components/component/index.esm.js +582 -327
  28. package/components/component/index.umd.cjs +1 -0
  29. package/components/condition/index.css +1 -0
  30. package/components/condition/index.esm.js +2433 -1134
  31. package/components/condition/index.umd.cjs +1 -0
  32. package/components/content-container/index.esm.js +307 -234
  33. package/components/content-container/index.umd.cjs +1 -0
  34. package/components/data-grid/index.css +1 -1
  35. package/components/data-grid/index.esm.js +6762 -4946
  36. package/components/data-grid/index.umd.cjs +1 -0
  37. package/components/data-view/index.css +1 -0
  38. package/components/data-view/index.esm.js +4977 -3489
  39. package/components/data-view/index.umd.cjs +1 -0
  40. package/components/date-picker/index.css +1 -1
  41. package/components/date-picker/index.esm.js +3525 -2811
  42. package/components/date-picker/index.umd.cjs +1 -0
  43. package/components/designer-canvas/index.css +1 -1
  44. package/components/designer-canvas/index.esm.js +938 -928
  45. package/components/designer-canvas/index.umd.cjs +1 -0
  46. package/components/designer-outline/index.css +1 -1
  47. package/components/designer-outline/index.esm.js +38 -37
  48. package/components/designer-outline/index.umd.cjs +1 -0
  49. package/components/designer-toolbox/index.esm.js +36 -12
  50. package/components/designer-toolbox/index.umd.cjs +1 -0
  51. package/components/discussion-editor/index.umd.cjs +3 -0
  52. package/components/discussion-list/index.umd.cjs +1 -0
  53. package/components/drawer/index.umd.cjs +1 -0
  54. package/components/dropdown/index.esm.js +282 -282
  55. package/components/dropdown/index.umd.cjs +2 -0
  56. package/components/dynamic-form/index.css +1 -0
  57. package/components/dynamic-form/index.esm.js +2684 -1039
  58. package/components/dynamic-form/index.umd.cjs +1 -0
  59. package/components/dynamic-resolver/index.esm.js +149 -101
  60. package/components/dynamic-resolver/index.umd.cjs +1 -0
  61. package/components/dynamic-view/index.esm.js +303 -290
  62. package/components/dynamic-view/index.umd.cjs +1 -0
  63. package/components/enum-editor/index.umd.cjs +1 -0
  64. package/components/events-editor/index.esm.js +573 -518
  65. package/components/events-editor/index.umd.cjs +1 -0
  66. package/components/expression-editor/index.esm.js +99 -99
  67. package/components/expression-editor/index.umd.cjs +1 -0
  68. package/components/external-container/index.css +1 -1
  69. package/components/external-container/index.esm.js +3607 -2799
  70. package/components/external-container/index.umd.cjs +1 -0
  71. package/components/field-selector/index.css +1 -1
  72. package/components/field-selector/index.esm.js +5438 -8236
  73. package/components/field-selector/index.umd.cjs +1 -0
  74. package/components/filter-bar/index.css +1 -1
  75. package/components/filter-bar/index.esm.js +1679 -1759
  76. package/components/filter-bar/index.umd.cjs +1 -0
  77. package/components/flow-canvas/index.css +1 -1
  78. package/components/flow-canvas/index.esm.js +1062 -1052
  79. package/components/flow-canvas/index.umd.cjs +1 -0
  80. package/components/image-cropper/index.esm.js +421 -421
  81. package/components/image-cropper/index.umd.cjs +1 -0
  82. package/components/input-group/index.esm.js +677 -593
  83. package/components/input-group/index.umd.cjs +1 -0
  84. package/components/layout/index.esm.js +326 -326
  85. package/components/layout/index.umd.cjs +1 -0
  86. package/components/list-nav/index.esm.js +272 -199
  87. package/components/list-nav/index.umd.cjs +1 -0
  88. package/components/list-view/index.css +1 -1
  89. package/components/list-view/index.esm.js +3739 -2273
  90. package/components/list-view/index.umd.cjs +1 -0
  91. package/components/loading/index.umd.cjs +8 -0
  92. package/components/locale/index.umd.cjs +1 -0
  93. package/components/lookup/index.css +1 -1
  94. package/components/lookup/index.esm.js +11255 -9004
  95. package/components/lookup/index.umd.cjs +1 -0
  96. package/components/mapping-editor/index.css +1 -1
  97. package/components/mapping-editor/index.esm.js +6046 -5314
  98. package/components/mapping-editor/index.umd.cjs +1 -0
  99. package/components/message-box/index.css +1 -1
  100. package/components/message-box/index.esm.js +511 -471
  101. package/components/message-box/index.umd.cjs +1 -0
  102. package/components/modal/index.css +1 -1
  103. package/components/modal/index.esm.js +438 -398
  104. package/components/modal/index.umd.cjs +1 -0
  105. package/components/nav/index.esm.js +588 -444
  106. package/components/nav/index.umd.cjs +3 -0
  107. package/components/notify/index.esm.js +59 -53
  108. package/components/notify/index.umd.cjs +1 -0
  109. package/components/number-range/index.esm.js +568 -485
  110. package/components/number-range/index.umd.cjs +1 -0
  111. package/components/number-spinner/index.esm.js +542 -454
  112. package/components/number-spinner/index.umd.cjs +1 -0
  113. package/components/order/index.css +1 -1
  114. package/components/order/index.esm.js +1967 -1105
  115. package/components/order/index.umd.cjs +1 -0
  116. package/components/page-footer/index.esm.js +160 -160
  117. package/components/page-footer/index.umd.cjs +1 -0
  118. package/components/page-header/index.esm.js +1282 -1151
  119. package/components/page-header/index.umd.cjs +1 -0
  120. package/components/pagination/index.esm.js +705 -555
  121. package/components/pagination/index.umd.cjs +1 -0
  122. package/components/popover/index.esm.js +71 -70
  123. package/components/popover/index.umd.cjs +1 -0
  124. package/components/progress/index.esm.js +270 -270
  125. package/components/progress/index.umd.cjs +3 -0
  126. package/components/property-editor/index.css +1 -1
  127. package/components/property-editor/index.esm.js +2231 -1517
  128. package/components/property-editor/index.umd.cjs +3 -0
  129. package/components/property-panel/index.esm.js +813 -909
  130. package/components/property-panel/index.umd.cjs +1 -0
  131. package/components/query-solution/index.css +1 -1
  132. package/components/query-solution/index.esm.js +3781 -2566
  133. package/components/query-solution/index.umd.cjs +1 -0
  134. package/components/radio-button/index.esm.js +101 -101
  135. package/components/radio-button/index.umd.cjs +1 -0
  136. package/components/radio-group/index.esm.js +538 -450
  137. package/components/radio-group/index.umd.cjs +1 -0
  138. package/components/rate/index.esm.js +238 -233
  139. package/components/rate/index.umd.cjs +1 -0
  140. package/components/response-layout/index.esm.js +155 -155
  141. package/components/response-layout/index.umd.cjs +1 -0
  142. package/components/response-layout-editor/index.css +1 -1
  143. package/components/response-layout-editor/index.esm.js +1243 -1180
  144. package/components/response-layout-editor/index.umd.cjs +1 -0
  145. package/components/response-toolbar/index.esm.js +988 -877
  146. package/components/response-toolbar/index.umd.cjs +1 -0
  147. package/components/schema-selector/index.css +1 -1
  148. package/components/schema-selector/index.esm.js +5413 -4867
  149. package/components/schema-selector/index.umd.cjs +8 -0
  150. package/components/search-box/index.esm.js +199 -199
  151. package/components/search-box/index.umd.cjs +1 -0
  152. package/components/section/index.esm.js +646 -503
  153. package/components/section/index.umd.cjs +1 -0
  154. package/components/smoke-detector/index.esm.js +144 -144
  155. package/components/smoke-detector/index.umd.cjs +1 -0
  156. package/components/spacing-editor/index.umd.cjs +1 -0
  157. package/components/splitter/index.esm.js +464 -391
  158. package/components/splitter/index.umd.cjs +1 -0
  159. package/components/step/index.esm.js +249 -249
  160. package/components/step/index.umd.cjs +1 -0
  161. package/components/switch/index.esm.js +483 -394
  162. package/components/switch/index.umd.cjs +1 -0
  163. package/components/tabs/index.css +1 -1
  164. package/components/tabs/index.esm.js +2366 -2208
  165. package/components/tabs/index.umd.cjs +1 -0
  166. package/components/tags/index.esm.js +397 -399
  167. package/components/tags/index.umd.cjs +1 -0
  168. package/components/text/index.esm.js +394 -394
  169. package/components/text/index.umd.cjs +1 -0
  170. package/components/textarea/index.esm.js +451 -367
  171. package/components/textarea/index.umd.cjs +1 -0
  172. package/components/time-picker/index.css +1 -1
  173. package/components/time-picker/index.esm.js +1252 -1144
  174. package/components/time-picker/index.umd.cjs +1 -0
  175. package/components/tooltip/index.umd.cjs +1 -0
  176. package/components/transfer/index.css +1 -1
  177. package/components/transfer/index.esm.js +510 -499
  178. package/components/transfer/index.umd.cjs +1 -0
  179. package/components/tree-grid/index.css +1 -1
  180. package/components/tree-grid/index.esm.js +5463 -9330
  181. package/components/tree-grid/index.umd.cjs +1 -0
  182. package/components/tree-view/index.css +1 -0
  183. package/components/tree-view/index.esm.js +4058 -2597
  184. package/components/tree-view/index.umd.cjs +1 -0
  185. package/components/uploader/index.esm.js +510 -504
  186. package/components/uploader/index.umd.cjs +2 -0
  187. package/components/verify-detail/index.esm.js +220 -220
  188. package/components/verify-detail/index.umd.cjs +1 -0
  189. package/components/video/index.esm.js +653 -394
  190. package/components/video/index.umd.cjs +1 -0
  191. package/components/weather/index.esm.js +1028 -1028
  192. package/components/weather/index.umd.cjs +16 -0
  193. package/farris.all.esm.js +20407 -18556
  194. package/farris.all.umd.cjs +8 -8
  195. package/index.css +1 -1
  196. package/package.json +1 -1
  197. package/types/button-edit/src/designer/button-group.design.component.d.ts +7 -0
  198. package/types/capsule/src/capsule.props.d.ts +2 -2
  199. package/types/combo-list/src/components/list-container.props.d.ts +1 -1
  200. package/types/common/entity/entity-schema.d.ts +258 -0
  201. package/types/common/index.d.ts +1 -0
  202. package/types/common/types.d.ts +1 -1
  203. package/types/common/utils/encrypt.d.ts +2 -0
  204. package/types/component/src/component-ref.props.d.ts +4 -0
  205. package/types/component/src/component.props.d.ts +7 -0
  206. package/types/component/src/composition/inner-component-build-info.d.ts +27 -0
  207. package/types/component/src/designer/use-designer-rules.d.ts +2 -2
  208. package/types/component/src/property-config/component.property-config.d.ts +9 -0
  209. package/types/components.d.ts +1 -0
  210. package/types/data-grid/index.d.ts +8 -2
  211. package/types/data-grid/src/composition/data-grid-component-creator.service.d.ts +33 -0
  212. package/types/data-grid/src/data-grid.component.d.ts +3 -1
  213. package/types/data-grid/src/data-grid.props.d.ts +3 -2
  214. package/types/data-grid/src/property-config/data-grid.property-config.d.ts +4 -0
  215. package/types/data-grid/src/schema/schema-resolver.d.ts +2 -1
  216. package/types/data-view/components/column-format/boolean.component.d.ts +4 -0
  217. package/types/data-view/components/column-format/column-format.component.d.ts +4 -0
  218. package/types/data-view/components/column-format/date.component.d.ts +4 -0
  219. package/types/data-view/components/column-format/enum.component.d.ts +4 -0
  220. package/types/data-view/components/column-format/number.component.d.ts +4 -0
  221. package/types/data-view/composition/pagination/use-pagination.d.ts +1 -0
  222. package/types/data-view/composition/types.d.ts +36 -7
  223. package/types/data-view/composition/use-edit.d.ts +2 -1
  224. package/types/data-view/composition/visualization/use-virtual-scroll.d.ts +0 -15
  225. package/types/designer-canvas/src/composition/dg-control.d.ts +5 -0
  226. package/types/designer-canvas/src/composition/function/use-dragula.d.ts +2 -2
  227. package/types/designer-canvas/src/composition/types.d.ts +1 -1
  228. package/types/designer-canvas/src/types.d.ts +2 -2
  229. package/types/dynamic-form/index.d.ts +2 -1
  230. package/types/dynamic-form/src/composition/response-form-component-creator.service.d.ts +31 -0
  231. package/types/dynamic-form/src/composition/use-response-form-layout-setting.d.ts +2 -0
  232. package/types/dynamic-form/src/designer/response-form-layout-setting.component.d.ts +8 -0
  233. package/types/dynamic-form/src/designer/response-form-layout-setting.props.d.ts +4 -0
  234. package/types/dynamic-form/src/designer/use-designer-rules.d.ts +2 -2
  235. package/types/dynamic-form/src/property-config/form.property-config.d.ts +9 -0
  236. package/types/dynamic-form/src/schema/schema-mapper.d.ts +1 -0
  237. package/types/dynamic-form/src/schema/schema-resolver.d.ts +3 -1
  238. package/types/dynamic-form/src/types.d.ts +12 -1
  239. package/types/dynamic-resolver/index.d.ts +1 -0
  240. package/types/dynamic-resolver/src/event-handler-resolver.d.ts +4 -0
  241. package/types/dynamic-resolver/src/schema-resolver.d.ts +2 -1
  242. package/types/dynamic-resolver/src/types.d.ts +12 -2
  243. package/types/dynamic-view/index.d.ts +1 -0
  244. package/types/dynamic-view/src/event-dispatcher.d.ts +1 -1
  245. package/types/index.d.ts +2 -0
  246. package/types/lookup/src/components/favorite/lookup-favorite.component.d.ts +29 -0
  247. package/types/lookup/src/components/favorite/lookup-favorite.props.d.ts +15 -0
  248. package/types/lookup/src/components/modal-container.component.d.ts +25 -0
  249. package/types/lookup/src/components/modal-container.props.d.ts +29 -0
  250. package/types/lookup/src/composition/types.d.ts +8 -0
  251. package/types/lookup/src/composition/use-check-props.d.ts +9 -2
  252. package/types/lookup/src/composition/use-dialog.d.ts +5 -1
  253. package/types/lookup/src/composition/use-favorite.d.ts +12 -0
  254. package/types/lookup/src/composition/use-http.d.ts +9 -5
  255. package/types/lookup/src/composition/use-input-change.d.ts +3 -0
  256. package/types/lookup/src/composition/use-user-data.d.ts +24 -0
  257. package/types/lookup/src/property-config/lookup.property-config.d.ts +6 -4
  258. package/types/mapping-editor/src/mapping-editor.component.d.ts +3 -0
  259. package/types/mapping-editor/src/mapping-editor.props.d.ts +0 -1
  260. package/types/modal/src/composition/use-draggable.d.ts +2 -1
  261. package/types/modal/src/composition/use-shortcut.d.ts +6 -0
  262. package/types/modal/src/modal.component.d.ts +3 -0
  263. package/types/modal/src/modal.props.d.ts +4 -0
  264. package/types/page-header/src/page-header.props.d.ts +1 -0
  265. package/types/property-panel/src/composition/entity/base-property.d.ts +8 -0
  266. package/types/property-panel/src/composition/entity/input-base-property.d.ts +20 -1
  267. package/types/response-layout-editor/src/composition/converter/use-response-layout-editor-setting.d.ts +2 -0
  268. package/types/response-layout-editor/src/type.d.ts +21 -0
  269. package/types/response-toolbar/src/response-toolbar.props.d.ts +2 -2
  270. package/types/response-toolbar/src/schema/schema-mapper.d.ts +4 -0
  271. package/types/section/src/property-config/section.property-config.d.ts +93 -0
  272. package/types/section/src/schema/schema-resolver.d.ts +2 -1
  273. package/types/tabs/src/composition/types.d.ts +2 -2
  274. package/types/tabs/src/designer/tab-header-item.design.component.d.ts +3 -1
  275. package/types/tabs/src/property-config/tab-page.property-config.d.ts +60 -0
  276. package/types/tabs/src/schema/schema-resolver.d.ts +2 -1
  277. package/types/tabs/src/tabs.props.d.ts +1 -0
  278. package/types/tags/index.d.ts +36 -5
  279. package/types/tree-grid/index.d.ts +8 -2
  280. package/types/tree-grid/src/tree-grid.component.d.ts +3 -1
  281. package/types/modal/src/composition/use-esc.d.ts +0 -1
  282. package/types/response-layout-editor/src/composition/converter/response-layout-editor.converter.d.ts +0 -3
  283. package/types/response-layout-editor/src/composition/converter/use-convert-property-value.d.ts +0 -20
@@ -1,24 +1,24 @@
1
- import { defineComponent as W, ref as N, computed as q, createVNode as P, nextTick as Z, inject as R, onMounted as K } from "vue";
2
- import { cloneDeep as x } from "lodash-es";
3
- const _ = {}, G = {};
1
+ import { defineComponent as _, ref as D, computed as q, createVNode as A, nextTick as R, inject as K, onMounted as x } from "vue";
2
+ import { isPlainObject as H, cloneDeep as I } from "lodash-es";
3
+ const G = {}, J = {};
4
4
  function k(n) {
5
- const { properties: e, title: t } = n, r = Object.keys(e).reduce((s, d) => (s[d] = e[d].type === "object" && e[d].properties ? k(e[d]) : x(e[d].default), s), {});
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]) : I(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 s = G[n];
13
- return r = s ? s({ getSchemaByType: S }, r, e) : r, r;
8
+ function S(n, e = {}, t) {
9
+ const r = G[n];
10
+ if (r) {
11
+ let s = k(r);
12
+ const d = J[n];
13
+ return s = d ? d({ getSchemaByType: S }, s, e, t) : s, s;
14
14
  }
15
15
  return null;
16
16
  }
17
- function I(n, e) {
17
+ function ee(n, e) {
18
18
  const t = k(e);
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;
19
+ return Object.keys(n).reduce((r, s) => (r[s] && H(r[s]) && H(n[s]) ? Object.assign(r[s], n[s]) : r[s] = n[s], r), t), t;
20
20
  }
21
- function ee(n, e) {
21
+ function te(n, e) {
22
22
  return Object.keys(n).filter((r) => n[r] != null).reduce((r, s) => {
23
23
  if (e.has(s)) {
24
24
  const d = e.get(s);
@@ -33,21 +33,21 @@ function ee(n, e) {
33
33
  return r;
34
34
  }, {});
35
35
  }
36
- function te(n, e, t = /* @__PURE__ */ new Map()) {
37
- const r = I(n, e);
38
- return ee(r, t);
36
+ function ne(n, e, t = /* @__PURE__ */ new Map()) {
37
+ const r = ee(n, e);
38
+ return te(r, t);
39
39
  }
40
- function ne(n = {}) {
40
+ function oe(n = {}) {
41
41
  function e(c, y, u, b) {
42
42
  if (typeof u == "number")
43
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")
45
+ const j = Object.keys(u)[0], o = u[j];
46
+ if (j === "not")
47
47
  return Number(b[c].length) !== Number(o);
48
- if (C === "moreThan")
48
+ if (j === "moreThan")
49
49
  return Number(b[c].length) >= Number(o);
50
- if (C === "lessThan")
50
+ if (j === "lessThan")
51
51
  return Number(b[c].length) <= Number(o);
52
52
  }
53
53
  return !1;
@@ -65,14 +65,14 @@ function ne(n = {}) {
65
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
72
  function d(c) {
73
73
  return Object.keys(c).reduce((u, b) => {
74
- const C = s(b, c[b]);
75
- return u.push(...C), u;
74
+ const j = s(b, c[b]);
75
+ return u.push(...j), u;
76
76
  }, []);
77
77
  }
78
78
  function h(c, y) {
@@ -82,33 +82,33 @@ function ne(n = {}) {
82
82
  }
83
83
  return !1;
84
84
  }
85
- function v(c, y) {
86
- return d(c).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(c, y) {
89
- const u = Object.keys(c), b = u.includes("allOf"), C = u.includes("anyOf"), o = b || C, f = (o ? c[o ? b ? "allOf" : "anyOf" : "allOf"] : [c]).map((i) => v(i, 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
- const oe = {}, re = {};
95
- ne();
96
- function se(n, e, t = /* @__PURE__ */ new Map(), r = (h, v, g) => v, s = {}, d = (h) => h) {
97
- return _[e.title] = e, G[e.title] = r, oe[e.title] = s, re[e.title] = d, (h = {}) => {
98
- const v = te(h, e, t), g = Object.keys(n).reduce((c, y) => (c[y] = n[y].default, c), {});
99
- return Object.assign(g, v);
94
+ const re = {}, se = {};
95
+ oe();
96
+ function ae(n, e, t = /* @__PURE__ */ new Map(), r = (h, m, v) => m, s = {}, d = (h) => h) {
97
+ return G[e.title] = e, J[e.title] = r, re[e.title] = s, se[e.title] = d, (h = {}) => {
98
+ const m = ne(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
- function ae(n, e) {
102
+ function ce(n, e) {
103
103
  return { customClass: e.class, customStyle: e.style };
104
104
  }
105
- const ce = /* @__PURE__ */ new Map([
106
- ["appearance", ae]
105
+ const ie = /* @__PURE__ */ new Map([
106
+ ["appearance", ce]
107
107
  ]);
108
- function ie(n, e, t) {
108
+ function pe(n, e, t) {
109
109
  return e;
110
110
  }
111
- const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-design.gitee.io/list-nav.schema.json", ue = "list-nav", fe = "A Farris Container Component", de = "object", ye = {
111
+ const le = "https://json-schema.org/draft/2020-12/schema", ue = "https://farris-design.gitee.io/list-nav.schema.json", fe = "list-nav", de = "A Farris Container Component", ye = "object", be = {
112
112
  id: {
113
113
  description: "The unique identifier for a list-nav",
114
114
  type: "string"
@@ -154,19 +154,19 @@ const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-
154
154
  type: "boolean",
155
155
  default: !0
156
156
  }
157
- }, be = [
157
+ }, he = [
158
158
  "id",
159
159
  "type",
160
160
  "contents"
161
- ], he = {
162
- $schema: pe,
163
- $id: le,
164
- title: ue,
165
- description: fe,
166
- type: de,
167
- properties: ye,
168
- required: be
169
- }, me = "list-nav", ve = "A Farris Component", ge = "object", je = {
161
+ ], me = {
162
+ $schema: le,
163
+ $id: ue,
164
+ title: fe,
165
+ description: de,
166
+ type: ye,
167
+ properties: be,
168
+ required: he
169
+ }, ve = "list-nav", ge = "A Farris Component", je = "object", Ce = {
170
170
  basic: {
171
171
  description: "Basic Infomation",
172
172
  title: "基本信息",
@@ -185,11 +185,11 @@ const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-
185
185
  }
186
186
  }
187
187
  }
188
- }, Ce = {
189
- title: me,
190
- description: ve,
191
- type: ge,
192
- categories: je
188
+ }, Pe = {
189
+ title: ve,
190
+ description: ge,
191
+ type: je,
192
+ categories: Ce
193
193
  }, B = {
194
194
  /** 位置 */
195
195
  position: { Type: String, default: "left" },
@@ -205,60 +205,60 @@ const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-
205
205
  disabled: { Type: Boolean, default: !1 },
206
206
  /** 是否启用拖拽 TODO */
207
207
  draggable: { Type: Boolean, default: !1 }
208
- }, H = se(B, he, ce, ie, Ce), L = /* @__PURE__ */ W({
208
+ }, W = ae(B, me, ie, pe, Pe), L = /* @__PURE__ */ _({
209
209
  name: "FListNav",
210
210
  props: B,
211
211
  emits: ["collapse"],
212
212
  setup(n, e) {
213
- const t = N(n.position), r = N(n.title), s = N(n.folded), d = N(!1);
214
- function h(g) {
215
- g && g.stopPropagation(), !n.disabled && (d.value = !0, s.value = !s.value, e.emit("collapse", s.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 = {};
217
+ const m = q(() => {
218
+ const v = {};
219
219
  let c = ["top", "bottom"].indexOf(t.value) > -1 ? "height" : "width";
220
- return g[c] = s.value ? "0px" : n.size + "px", g;
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
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 Ae(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 s = 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
264
  function c() {
@@ -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,57 +287,57 @@ function Te(n, e, t) {
287
287
  }
288
288
  function l() {
289
289
  }
290
- function a(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
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(),
315
+ canMove: m(),
316
+ canSelectParent: v(),
317
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
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
331
  onAcceptMovedChildElement: a,
332
- onAcceptNewChildElement: A,
332
+ onAcceptNewChildElement: T,
333
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 Te() {
341
341
  function n(e) {
342
342
  var s, d;
343
343
  if (!e)
@@ -347,8 +347,8 @@ function Pe() {
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 Ne = "https://json-schema.org/draft/2020-12/schema", De = "https://farris-design.gitee.io/dragging-rules.schema.json", Oe = "Dragging Rules", we = "The rules of designer canvas", Me = "object", Ee = {
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,28 +995,27 @@ 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,
926
- $id: Ne,
927
- title: De,
928
- description: Oe,
929
- type: we,
930
- properties: Me,
931
- required: Ee
998
+ }, Se = {
999
+ $schema: Ne,
1000
+ $id: De,
1001
+ title: Oe,
1002
+ description: we,
1003
+ type: Me,
1004
+ properties: Ee
932
1005
  }, F = /* @__PURE__ */ new Map();
933
1006
  function $e() {
934
1007
  function n(o, l, a, f) {
935
- var A;
1008
+ var T;
936
1009
  if (typeof a == "number")
937
- return ((A = f[o]) == null ? void 0 : A.length) === a;
1010
+ return ((T = f[o]) == null ? void 0 : T.length) === a;
938
1011
  if (typeof a == "object") {
939
- const i = Object.keys(a)[0], T = a[i];
1012
+ const i = Object.keys(a)[0], C = a[i];
940
1013
  if (i === "not")
941
- return Number(f[o].length) !== Number(T);
1014
+ return Number(f[o].length) !== Number(C);
942
1015
  if (i === "moreThan")
943
- return Number(f[o].length) >= Number(T);
1016
+ return Number(f[o].length) >= Number(C);
944
1017
  if (i === "lessThan")
945
- return Number(f[o].length) <= Number(T);
1018
+ return Number(f[o].length) <= Number(C);
946
1019
  }
947
1020
  return !1;
948
1021
  }
@@ -966,8 +1039,8 @@ function $e() {
966
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
1041
  return { target: a, operator: "length", param: null, value: l[f] };
969
- const A = f, i = l[f];
970
- return { target: a, operator: o === "children" ? "hasChildren" : o === "parent" ? "hasParent" : "hasSibling", param: A, value: i };
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) {
@@ -977,34 +1050,34 @@ function $e() {
977
1050
  }
978
1051
  return !1;
979
1052
  }
980
- function v(o, l) {
981
- return Object.keys(o).reduce((i, T) => {
982
- const D = d(T, o[T]);
983
- return i.push(...D), i;
984
- }, []).reduce((i, T) => i && 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 a = Object.keys(o), f = a.includes("allOf"), A = a.includes("anyOf"), i = f || A, p = (i ? o[i ? 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
1063
  function c(o, l) {
991
1064
  const a = o.const;
992
- return a ? typeof a == "boolean" ? a : typeof a == "object" ? g(a, l) : !1 : !1;
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
1069
  const a = { canAccept: !0, fixed: !1, hidePadding: !1 };
997
- return o && o.properties && Object.keys(o.properties).reduce((f, A) => {
998
- const i = o.properties[A];
999
- return f[A] = c(i, l), f;
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;
1000
1073
  }, a), a;
1001
1074
  };
1002
1075
  }
1003
1076
  function u(o, l, a) {
1004
1077
  if (l.type === "object" && l.properties) {
1005
- const { rules: f, contents: A } = l.properties;
1006
- a.set(o, y(f)), A && Object.keys(A.properties).forEach(
1007
- (i) => u(i, A.properties[i], a)
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
  }
@@ -1014,78 +1087,78 @@ function $e() {
1014
1087
  u(l, o[l], F);
1015
1088
  });
1016
1089
  }
1017
- function C(o, l) {
1090
+ function j(o, l) {
1018
1091
  const a = { canAccept: !0, fixed: !1, hidePadding: !0 };
1019
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
1096
  function Le(n, e) {
1024
- const t = $e(), r = N(!1), s = N(!1);
1025
- let d = !0, h = !1, v, g = !1;
1097
+ const t = $e(), r = D(!1), s = D(!1);
1098
+ let d = !0, h = !1, m, v = !1;
1026
1099
  function c(i) {
1027
- return v && v.componentClassList && v.componentClassList.includes("f-form-layout") && v.componentClassList.includes("farris-form") ? i.sourceType === "control" && i.controlCategory === "input" || i.sourceType === "move" && i.controlType === "form-group" : !0;
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
1102
  function y(i) {
1030
- return !(!Pe().basalDragulaRuleForContainer(i) || !d || !c(i));
1103
+ return !(!Te().basalDragulaRuleForContainer(i) || !d || !c(i));
1031
1104
  }
1032
1105
  function u() {
1033
1106
  r.value = !1, s.value = !1;
1034
- const i = n, T = i.appearance && i.appearance.class || "", D = T.split(" "), p = i.contents || [], j = p.length ? p[0] : null, m = j && j.appearance ? j.appearance.class : "", O = m ? m.split(" ") : [], M = p.length ? p.reduce((V, $) => {
1035
- const z = $ && $.appearance ? $.appearance.class : "", Y = z ? z.split(" ") : [];
1036
- return V.push(...Y), V;
1037
- }, []) : [], w = e, E = w && w.appearance && w.appearance.class || "", J = E ? E.split(" ") : [];
1038
- v = {
1039
- componentClass: T,
1040
- componentClassList: D,
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, $) => {
1108
+ const z = $ && $.appearance ? $.appearance.class : "", Z = z ? z.split(" ") : [];
1109
+ return V.push(...Z), V;
1110
+ }, []) : [], w = e, E = w && w.appearance && w.appearance.class || "", Q = E ? E.split(" ") : [];
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
- parentClassList: J,
1120
+ parentClassList: Q,
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: U, fixed: X, hidePadding: Y } = t.getRuleValue(O[0], m);
1125
+ return d = U, h = Y, v = X, !0;
1053
1126
  }
1054
1127
  function b(i) {
1055
- Z();
1128
+ R();
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(i, T) {
1061
- const D = n;
1062
- if ((D.appearance && D.appearance.class || "").split(" ").includes("f-form-layout")) {
1063
- const { label: m } = i, 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(i, 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(i.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
1149
  function a() {
1077
- return !g;
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,
@@ -1093,48 +1166,48 @@ function Le(n, e) {
1093
1166
  triggerBelongedComponentToDeleteWhenDeleted: s,
1094
1167
  checkCanMoveComponent: a,
1095
1168
  checkCanDeleteComponent: f,
1096
- hideNestedPaddingInDesginerView: A
1169
+ hideNestedPaddingInDesginerView: T
1097
1170
  };
1098
1171
  }
1099
- const Fe = /* @__PURE__ */ W({
1172
+ const Fe = /* @__PURE__ */ _({
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 = R("design-item-context"), s = Le(r.schema, (u = r.parent) == null ? void 0 : u.schema), d = Te(t, r, s);
1178
+ const t = D(), r = K("design-item-context"), s = Le(r.schema, (u = r.parent) == null ? void 0 : u.schema), d = Ae(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), c = N(!1), y = q(() => {
1180
+ const h = D(n.position), m = D(n.title), v = D(!1), c = D(!1), y = q(() => {
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 K(() => {
1185
+ return x(() => {
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,
1207
+ active: v.value,
1135
1208
  "splitter-pane-collapse-animate": c.value
1136
1209
  }]
1137
- }, [P("span", {
1210
+ }, [A("span", {
1138
1211
  class: "triangle"
1139
1212
  }, null)])])]);
1140
1213
  }
@@ -1143,15 +1216,15 @@ const Fe = /* @__PURE__ */ W({
1143
1216
  n.component(L.name, L);
1144
1217
  },
1145
1218
  register(n, e, t, r) {
1146
- n["list-nav"] = L, e["list-nav"] = H;
1219
+ n["list-nav"] = L, e["list-nav"] = W;
1147
1220
  },
1148
1221
  registerDesigner(n, e, t) {
1149
- n["list-nav"] = Fe, e["list-nav"] = H;
1222
+ n["list-nav"] = Fe, e["list-nav"] = W;
1150
1223
  }
1151
1224
  };
1152
1225
  export {
1153
1226
  L as FListNav,
1154
1227
  Ve as default,
1155
1228
  B as listNavProps,
1156
- H as propsResolver
1229
+ W as propsResolver
1157
1230
  };