@farris/ui-vue 1.2.6 → 1.2.8

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 (210) hide show
  1. package/components/accordion/index.esm.js +150 -142
  2. package/components/avatar/index.esm.js +393 -457
  3. package/components/border-editor/index.esm.js +4 -4
  4. package/components/button/index.esm.js +1 -1
  5. package/components/button-edit/index.esm.js +353 -444
  6. package/components/button-group/index.esm.js +5 -5
  7. package/components/calendar/index.esm.js +176 -176
  8. package/components/capsule/index.esm.js +93 -93
  9. package/components/checkbox/index.esm.js +491 -554
  10. package/components/color-picker/index.esm.js +1 -1
  11. package/components/combo-list/index.esm.js +479 -513
  12. package/components/combo-tree/index.esm.js +8 -8
  13. package/components/component/index.esm.js +89 -89
  14. package/components/condition/index.esm.js +857 -743
  15. package/components/content-container/index.esm.js +61 -61
  16. package/components/data-grid/index.esm.js +4883 -5182
  17. package/components/data-view/index.esm.js +3072 -2949
  18. package/components/date-picker/index.esm.js +2626 -2689
  19. package/components/dependent-base/style.js +1 -0
  20. package/components/dependent-fluid/style.js +1 -0
  21. package/components/dependent-icon/style.js +1 -0
  22. package/components/dependent-input/style.js +1 -0
  23. package/components/dependent-table/style.js +1 -0
  24. package/components/designer-canvas/index.esm.js +478 -475
  25. package/components/designer-outline/index.esm.js +173 -131
  26. package/components/discussion-editor/index.esm.js +1 -1
  27. package/components/dropdown/index.esm.js +73 -73
  28. package/components/dynamic-form/index.esm.js +940 -998
  29. package/components/dynamic-resolver/index.esm.js +67 -35
  30. package/components/dynamic-view/index.esm.js +307 -293
  31. package/components/enum-editor/index.esm.js +3 -3
  32. package/components/events-editor/index.esm.js +178 -178
  33. package/components/expression-editor/index.esm.js +105 -105
  34. package/components/external-container/index.esm.js +1747 -1627
  35. package/components/field-selector/index.css +1 -1
  36. package/components/field-selector/index.esm.js +5877 -6176
  37. package/components/filter-bar/index.css +1 -1
  38. package/components/filter-bar/index.esm.js +1454 -1524
  39. package/components/flow-canvas/index.esm.js +678 -675
  40. package/components/image-cropper/index.esm.js +266 -266
  41. package/components/input-group/index.esm.js +659 -722
  42. package/components/layout/index.esm.js +148 -148
  43. package/components/list-nav/index.esm.js +109 -109
  44. package/components/list-view/index.esm.js +1643 -1524
  45. package/components/lookup/index.css +1 -1
  46. package/components/lookup/index.esm.js +6502 -6770
  47. package/components/mapping-editor/index.esm.js +5639 -5939
  48. package/components/message-box/index.esm.js +1 -1
  49. package/components/modal/index.esm.js +1 -1
  50. package/components/nav/index.esm.js +86 -86
  51. package/components/number-range/index.esm.js +1120 -0
  52. package/components/number-range/package.json +8 -0
  53. package/components/number-range/style.js +6 -0
  54. package/components/number-spinner/index.esm.js +1146 -0
  55. package/components/number-spinner/package.json +8 -0
  56. package/components/number-spinner/style.js +4 -0
  57. package/components/order/index.esm.js +1098 -1130
  58. package/components/page-footer/index.esm.js +106 -106
  59. package/components/page-header/index.esm.js +1088 -1317
  60. package/components/pagination/index.esm.js +252 -252
  61. package/components/progress/index.esm.js +37 -37
  62. package/components/property-editor/index.esm.js +1479 -1513
  63. package/components/property-panel/index.css +1 -1
  64. package/components/property-panel/index.esm.js +706 -778
  65. package/components/query-solution/index.css +1 -0
  66. package/components/query-solution/index.esm.js +6935 -0
  67. package/components/query-solution/package.json +8 -0
  68. package/components/query-solution/style.js +2 -0
  69. package/components/radio-button/index.esm.js +64 -64
  70. package/components/radio-group/index.esm.js +453 -516
  71. package/components/rate/index.esm.js +92 -92
  72. package/components/response-layout/index.esm.js +33 -33
  73. package/components/response-layout-editor/index.esm.js +555 -526
  74. package/components/response-toolbar/index.esm.js +1009 -1247
  75. package/components/schema-selector/index.esm.js +3261 -3373
  76. package/components/search-box/index.esm.js +143 -143
  77. package/components/section/index.esm.js +209 -209
  78. package/components/smoke-detector/index.esm.js +22 -22
  79. package/components/spacing-editor/index.esm.js +2 -2
  80. package/components/splitter/index.esm.js +1097 -394
  81. package/components/step/index.esm.js +153 -153
  82. package/components/switch/index.esm.js +441 -504
  83. package/components/tabs/index.esm.js +1849 -2039
  84. package/components/tags/index.esm.js +215 -215
  85. package/components/text/index.esm.js +53 -53
  86. package/components/textarea/index.esm.js +445 -493
  87. package/components/time-picker/index.esm.js +1350 -1414
  88. package/components/transfer/index.esm.js +146 -144
  89. package/components/tree-grid/index.css +1 -1
  90. package/components/tree-grid/index.esm.js +5948 -6237
  91. package/components/tree-view/index.esm.js +2381 -2255
  92. package/components/uploader/index.esm.js +1 -1
  93. package/components/verify-detail/index.esm.js +232 -232
  94. package/components/video/index.esm.js +136 -136
  95. package/components/weather/index.esm.js +2 -2
  96. package/farris.all.esm.js +27221 -26804
  97. package/farris.all.umd.cjs +9 -9
  98. package/index.css +1 -1
  99. package/package.json +1 -1
  100. package/types/checkbox/index.d.ts +1 -0
  101. package/types/combo-list/src/components/list-container.component.d.ts +6 -0
  102. package/types/combo-list/src/components/list-container.props.d.ts +9 -1
  103. package/types/data-grid/src/data-grid.props.d.ts +1 -0
  104. package/types/data-grid/src/designer/column-header.design.component.d.ts +1 -1
  105. package/types/data-grid/src/designer/data-grid-column.props.d.ts +1 -0
  106. package/types/data-view/composition/types.d.ts +1 -1
  107. package/types/designer-canvas/src/composition/dg-control.d.ts +16 -350
  108. package/types/designer-canvas/src/types.d.ts +1 -1
  109. package/types/dynamic-form/index.d.ts +1 -0
  110. package/types/dynamic-form/src/types.d.ts +1 -1
  111. package/types/dynamic-resolver/index.d.ts +1 -0
  112. package/types/dynamic-resolver/src/binding-resolver.d.ts +1 -0
  113. package/types/dynamic-view/src/dynamic-view.component.d.ts +1 -1
  114. package/types/lookup/src/property-config/converters/lookup-property.converter.d.ts +0 -4
  115. package/types/lookup/src/property-config/lookup.property-config.d.ts +4 -3
  116. package/types/modal/src/modal.props.d.ts +1 -4
  117. package/types/property-panel/src/composition/entity/base-property.d.ts +0 -28
  118. package/types/property-panel/src/composition/entity/input-base-property.d.ts +11 -5
  119. package/types/property-panel/src/composition/entity/schema-dom-mapping.d.ts +10 -8
  120. package/types/tabs/src/designer/tab-toolbar-item.props.d.ts +19 -0
  121. package/types/tabs/src/property-config/tabs.property-config.d.ts +6 -6
  122. package/types/tree-grid/src/designer/use-designer-rules.d.ts +3 -0
  123. package/types/tree-grid/src/property-config/tree-grid.property-config.d.ts +11 -0
  124. package/types/tree-grid/src/schema/column-resolver.d.ts +1 -1
  125. package/types/tree-grid/src/tree-grid.props.d.ts +8 -0
  126. package/components/accordion/index.umd.cjs +0 -1
  127. package/components/avatar/index.umd.cjs +0 -1
  128. package/components/border-editor/index.umd.cjs +0 -1
  129. package/components/button/index.umd.cjs +0 -1
  130. package/components/button-edit/index.umd.cjs +0 -1
  131. package/components/button-group/index.umd.cjs +0 -1
  132. package/components/calculator/index.umd.cjs +0 -1
  133. package/components/calendar/index.umd.cjs +0 -1
  134. package/components/capsule/index.umd.cjs +0 -1
  135. package/components/checkbox/index.umd.cjs +0 -1
  136. package/components/color-picker/index.umd.cjs +0 -3
  137. package/components/combo-list/index.umd.cjs +0 -1
  138. package/components/combo-tree/index.umd.cjs +0 -1
  139. package/components/common/index.umd.cjs +0 -1
  140. package/components/component/index.umd.cjs +0 -1
  141. package/components/condition/index.umd.cjs +0 -1
  142. package/components/content-container/index.umd.cjs +0 -1
  143. package/components/data-grid/index.umd.cjs +0 -1
  144. package/components/data-view/index.umd.cjs +0 -1
  145. package/components/date-picker/index.umd.cjs +0 -1
  146. package/components/designer-canvas/index.umd.cjs +0 -1
  147. package/components/designer-outline/index.umd.cjs +0 -1
  148. package/components/designer-toolbox/index.umd.cjs +0 -1
  149. package/components/discussion-editor/index.umd.cjs +0 -3
  150. package/components/discussion-list/index.umd.cjs +0 -1
  151. package/components/drawer/index.umd.cjs +0 -1
  152. package/components/dropdown/index.umd.cjs +0 -2
  153. package/components/dynamic-form/index.umd.cjs +0 -1
  154. package/components/dynamic-resolver/index.umd.cjs +0 -1
  155. package/components/dynamic-view/index.umd.cjs +0 -1
  156. package/components/enum-editor/index.umd.cjs +0 -1
  157. package/components/events-editor/index.umd.cjs +0 -1
  158. package/components/expression-editor/index.umd.cjs +0 -1
  159. package/components/external-container/index.umd.cjs +0 -1
  160. package/components/field-selector/index.umd.cjs +0 -1
  161. package/components/filter-bar/index.umd.cjs +0 -1
  162. package/components/flow-canvas/index.umd.cjs +0 -1
  163. package/components/image-cropper/index.umd.cjs +0 -1
  164. package/components/input-group/index.umd.cjs +0 -1
  165. package/components/layout/index.umd.cjs +0 -1
  166. package/components/list-nav/index.umd.cjs +0 -1
  167. package/components/list-view/index.umd.cjs +0 -1
  168. package/components/loading/index.umd.cjs +0 -8
  169. package/components/locale/index.umd.cjs +0 -1
  170. package/components/lookup/index.umd.cjs +0 -1
  171. package/components/mapping-editor/index.umd.cjs +0 -1
  172. package/components/message-box/index.umd.cjs +0 -1
  173. package/components/modal/index.umd.cjs +0 -1
  174. package/components/nav/index.umd.cjs +0 -3
  175. package/components/notify/index.umd.cjs +0 -1
  176. package/components/order/index.umd.cjs +0 -1
  177. package/components/page-footer/index.umd.cjs +0 -1
  178. package/components/page-header/index.umd.cjs +0 -1
  179. package/components/pagination/index.umd.cjs +0 -1
  180. package/components/popover/index.umd.cjs +0 -1
  181. package/components/progress/index.umd.cjs +0 -3
  182. package/components/property-editor/index.umd.cjs +0 -3
  183. package/components/property-panel/index.umd.cjs +0 -1
  184. package/components/radio-button/index.umd.cjs +0 -1
  185. package/components/radio-group/index.umd.cjs +0 -1
  186. package/components/rate/index.umd.cjs +0 -1
  187. package/components/response-layout/index.umd.cjs +0 -1
  188. package/components/response-layout-editor/index.umd.cjs +0 -1
  189. package/components/response-toolbar/index.umd.cjs +0 -1
  190. package/components/schema-selector/index.umd.cjs +0 -8
  191. package/components/search-box/index.umd.cjs +0 -1
  192. package/components/section/index.umd.cjs +0 -1
  193. package/components/smoke-detector/index.umd.cjs +0 -1
  194. package/components/spacing-editor/index.umd.cjs +0 -1
  195. package/components/splitter/index.umd.cjs +0 -1
  196. package/components/step/index.umd.cjs +0 -1
  197. package/components/switch/index.umd.cjs +0 -1
  198. package/components/tabs/index.umd.cjs +0 -1
  199. package/components/tags/index.umd.cjs +0 -1
  200. package/components/text/index.umd.cjs +0 -1
  201. package/components/textarea/index.umd.cjs +0 -1
  202. package/components/time-picker/index.umd.cjs +0 -1
  203. package/components/tooltip/index.umd.cjs +0 -1
  204. package/components/transfer/index.umd.cjs +0 -1
  205. package/components/tree-grid/index.umd.cjs +0 -1
  206. package/components/tree-view/index.umd.cjs +0 -1
  207. package/components/uploader/index.umd.cjs +0 -2
  208. package/components/verify-detail/index.umd.cjs +0 -1
  209. package/components/video/index.umd.cjs +0 -1
  210. package/components/weather/index.umd.cjs +0 -16
@@ -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 N, computed as q, createVNode as P, nextTick as Z, inject as R, onMounted as K } from "vue";
2
2
  import { cloneDeep as x } from "lodash-es";
3
3
  const _ = {}, 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), {});
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
6
  return r.id = `${t}-${Date.now()}`, r;
7
7
  }
8
8
  function S(n, e = {}) {
9
9
  const t = _[n];
10
10
  if (t) {
11
11
  let r = k(t);
12
- const i = G[n];
13
- return r = i ? i({ getSchemaByType: S }, r, e) : r, r;
12
+ const s = G[n];
13
+ return r = s ? s({ getSchemaByType: S }, r, e) : r, r;
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,64 +38,64 @@ 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
45
  const C = Object.keys(u)[0], o = u[C];
46
46
  if (C === "not")
47
- return Number(b[a].length) !== Number(o);
47
+ return Number(b[c].length) !== Number(o);
48
48
  if (C === "moreThan")
49
- return Number(b[a].length) >= Number(o);
49
+ return Number(b[c].length) >= Number(o);
50
50
  if (C === "lessThan")
51
- return Number(b[a].length) <= Number(o);
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
68
  const C = b, o = y[b];
69
69
  return { target: u, operator: "getProperty", param: C, 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]);
72
+ function d(c) {
73
+ return Object.keys(c).reduce((u, b) => {
74
+ const C = s(b, c[b]);
75
75
  return u.push(...C), 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 v(c, y) {
86
+ return d(c).reduce((C, o) => C && 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 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));
90
90
  return b ? !f.includes(!1) : f.includes(!0);
91
91
  }
92
92
  return { parseValueSchema: g };
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), {});
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
99
  return Object.assign(g, v);
100
100
  };
101
101
  }
@@ -210,14 +210,14 @@ 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);
213
+ const t = N(n.position), r = N(n.title), s = N(n.folded), d = N(!1);
214
214
  function h(g) {
215
- g && g.stopPropagation(), !n.disabled && (d.value = !0, i.value = !i.value, e.emit("collapse", i.value));
215
+ g && g.stopPropagation(), !n.disabled && (d.value = !0, s.value = !s.value, e.emit("collapse", s.value));
216
216
  }
217
217
  const v = q(() => {
218
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;
219
+ let c = ["top", "bottom"].indexOf(t.value) > -1 ? "height" : "width";
220
+ return g[c] = s.value ? "0px" : n.size + "px", g;
221
221
  });
222
222
  return () => P("div", {
223
223
  class: `f-list-nav f-list-nav-${t.value}`
@@ -239,7 +239,7 @@ const pe = "https://json-schema.org/draft/2020-12/schema", le = "https://farris-
239
239
  }, [e.slots.navFooter()])]), n.collapsible && P("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
245
  onClick: (g) => h(g)
@@ -254,14 +254,14 @@ function Te(n, e, t) {
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();
257
+ const s = t && t.getStyles && t.getStyles() || "", d = t && t.getDesignerClass && t.getDesignerClass() || "", h = N();
258
258
  function v() {
259
259
  return (e == null ? void 0 : e.schema.componentType) === "frame" ? !1 : t && t.checkCanMoveComponent ? t.checkCanMoveComponent() : !0;
260
260
  }
261
261
  function g() {
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() {
@@ -287,7 +287,7 @@ function Te(n, e, t) {
287
287
  }
288
288
  function l() {
289
289
  }
290
- function s(p, j) {
290
+ function a(p, j) {
291
291
  j && t != null && t.onAcceptMovedChildElement && t.onAcceptMovedChildElement(j);
292
292
  }
293
293
  function f(p) {
@@ -305,7 +305,7 @@ function Te(n, e, t) {
305
305
  const E = m.toLowerCase().replace("-", "_");
306
306
  return w && !w.id && w.type === m && (w.id = `${E}_${Math.random().toString().slice(2, 6)}`), w;
307
307
  }
308
- function c(p) {
308
+ function i(p) {
309
309
  }
310
310
  function T(...p) {
311
311
  if (t && t.getPropsConfig)
@@ -314,13 +314,13 @@ function Te(n, e, t) {
314
314
  return h.value = {
315
315
  canMove: v(),
316
316
  canSelectParent: g(),
317
- canDelete: a(),
317
+ canDelete: c(),
318
318
  canNested: !y(),
319
319
  contents: e == null ? void 0 : e.schema.contents,
320
320
  elementRef: n,
321
321
  parent: (D = e == null ? void 0 : e.parent) == null ? void 0 : D.componentInstance,
322
322
  schema: e == null ? void 0 : e.schema,
323
- styles: i,
323
+ styles: s,
324
324
  designerClass: d,
325
325
  canAccepts: C,
326
326
  getBelongedComponentInstance: u,
@@ -328,9 +328,9 @@ function Te(n, e, t) {
328
328
  getDraggingDisplayText: o,
329
329
  getPropConfig: T,
330
330
  getDragScopeElement: l,
331
- onAcceptMovedChildElement: s,
331
+ onAcceptMovedChildElement: a,
332
332
  onAcceptNewChildElement: A,
333
- onChildElementMovedOut: c,
333
+ onChildElementMovedOut: i,
334
334
  addNewChildComponentSchema: f,
335
335
  updateDragAndDropRules: r,
336
336
  triggerBelongedComponentToMoveWhenMoved: !!t && t.triggerBelongedComponentToMoveWhenMoved || N(!1),
@@ -339,10 +339,10 @@ function Te(n, e, t) {
339
339
  }
340
340
  function Pe() {
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;
@@ -931,80 +931,80 @@ const Ae = "https://json-schema.org/draft/2020-12/schema", Ne = "https://farris-
931
931
  required: Ee
932
932
  }, F = /* @__PURE__ */ new Map();
933
933
  function $e() {
934
- function n(o, l, s, f) {
934
+ function n(o, l, a, f) {
935
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")
936
+ if (typeof a == "number")
937
+ return ((A = f[o]) == null ? void 0 : A.length) === a;
938
+ if (typeof a == "object") {
939
+ const i = Object.keys(a)[0], T = a[i];
940
+ if (i === "not")
941
941
  return Number(f[o].length) !== Number(T);
942
- if (c === "moreThan")
942
+ if (i === "moreThan")
943
943
  return Number(f[o].length) >= Number(T);
944
- if (c === "lessThan")
944
+ if (i === "lessThan")
945
945
  return Number(f[o].length) <= Number(T);
946
946
  }
947
947
  return !1;
948
948
  }
949
- function e(o, l, s, f) {
950
- return typeof s == "boolean" ? f.childrenClassList.includes(l) === !!s : !1;
949
+ function e(o, l, a, f) {
950
+ return typeof a == "boolean" ? f.childrenClassList.includes(l) === !!a : !1;
951
951
  }
952
- function t(o, l, s, f) {
953
- return typeof s == "boolean" ? f.parentClassList.includes(l) === !!s : !1;
952
+ function t(o, l, a, f) {
953
+ return typeof a == "boolean" ? f.parentClassList.includes(l) === !!a : !1;
954
954
  }
955
- function r(o, l, s, f) {
956
- return typeof s == "boolean" ? f.parentClassList.includes(l) === !!s : !1;
955
+ function r(o, l, a, f) {
956
+ return typeof a == "boolean" ? f.parentClassList.includes(l) === !!a : !1;
957
957
  }
958
- const i = /* @__PURE__ */ new Map([
958
+ const s = /* @__PURE__ */ new Map([
959
959
  ["length", n],
960
960
  ["hasChildren", e],
961
961
  ["hasSibling", r],
962
962
  ["hasParent", t]
963
963
  ]);
964
964
  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) => {
965
+ const a = o;
966
+ return typeof l == "number" ? [{ target: a, operator: "length", param: null, value: Number(l) }] : typeof l == "object" ? Object.keys(l).map((f) => {
967
967
  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 };
968
+ 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 };
971
971
  }) : [];
972
972
  }
973
973
  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;
974
+ if (s.has(o.operator)) {
975
+ const a = s.get(o.operator);
976
+ return a && a(o.target, o.param, o.value, l) || !1;
977
977
  }
978
978
  return !1;
979
979
  }
980
980
  function v(o, l) {
981
- return Object.keys(o).reduce((c, T) => {
981
+ return Object.keys(o).reduce((i, T) => {
982
982
  const D = d(T, o[T]);
983
- return c.push(...D), c;
984
- }, []).reduce((c, T) => c && h(T, l), !0);
983
+ return i.push(...D), i;
984
+ }, []).reduce((i, T) => i && h(T, l), !0);
985
985
  }
986
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));
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));
988
988
  return f ? !p.includes(!1) : p.includes(!0);
989
989
  }
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;
990
+ function c(o, l) {
991
+ const a = o.const;
992
+ return a ? typeof a == "boolean" ? a : typeof a == "object" ? g(a, l) : !1 : !1;
993
993
  }
994
994
  function y(o) {
995
995
  return (l) => {
996
- const s = { canAccept: !0, fixed: !1, hidePadding: !1 };
996
+ const a = { canAccept: !0, fixed: !1, hidePadding: !1 };
997
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;
998
+ const i = o.properties[A];
999
+ return f[A] = c(i, l), f;
1000
+ }, a), a;
1001
1001
  };
1002
1002
  }
1003
- function u(o, l, s) {
1003
+ function u(o, l, a) {
1004
1004
  if (l.type === "object" && l.properties) {
1005
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)
1006
+ a.set(o, y(f)), A && Object.keys(A.properties).forEach(
1007
+ (i) => u(i, A.properties[i], a)
1008
1008
  );
1009
1009
  }
1010
1010
  }
@@ -1015,23 +1015,23 @@ function $e() {
1015
1015
  });
1016
1016
  }
1017
1017
  function C(o, l) {
1018
- const s = { canAccept: !0, fixed: !1, hidePadding: !0 };
1019
- return F.has(o) ? F.get(o)(l) : s;
1018
+ const a = { canAccept: !0, fixed: !1, hidePadding: !0 };
1019
+ return F.has(o) ? F.get(o)(l) : a;
1020
1020
  }
1021
1021
  return b(), { getRuleValue: C };
1022
1022
  }
1023
1023
  function Le(n, e) {
1024
- const t = $e(), r = N(!1), i = N(!1);
1024
+ const t = $e(), r = N(!1), s = N(!1);
1025
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;
1026
+ 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;
1028
1028
  }
1029
- function y(c) {
1030
- return !(!Pe().basalDragulaRuleForContainer(c) || !d || !a(c));
1029
+ function y(i) {
1030
+ return !(!Pe().basalDragulaRuleForContainer(i) || !d || !c(i));
1031
1031
  }
1032
1032
  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, $) => {
1033
+ 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
1035
  const z = $ && $.appearance ? $.appearance.class : "", Y = z ? z.split(" ") : [];
1036
1036
  return V.push(...Y), V;
1037
1037
  }, []) : [], w = e, E = w && w.appearance && w.appearance.class || "", J = E ? E.split(" ") : [];
@@ -1051,29 +1051,29 @@ function Le(n, e) {
1051
1051
  const { canAccept: Q, fixed: U, hidePadding: X } = t.getRuleValue(D[0], v);
1052
1052
  return d = Q, h = X, g = U, !0;
1053
1053
  }
1054
- function b(c) {
1054
+ function b(i) {
1055
1055
  Z();
1056
1056
  }
1057
1057
  function C() {
1058
1058
  return n.componentType ? "display:inherit;flex-direction:inherit;margin-bottom:10px" : "";
1059
1059
  }
1060
- function o(c, T) {
1060
+ function o(i, T) {
1061
1061
  const D = n;
1062
1062
  if ((D.appearance && D.appearance.class || "").split(" ").includes("f-form-layout")) {
1063
- const { label: m } = c, O = S("form-group");
1063
+ const { label: m } = i, O = S("form-group");
1064
1064
  return O.editor = T, O.label = m, O;
1065
1065
  }
1066
1066
  return T;
1067
1067
  }
1068
- function l(c, T, D) {
1068
+ function l(i, T, D) {
1069
1069
  const p = n;
1070
1070
  if ((p.appearance && p.appearance.class || "").split(" ").includes("f-form-layout")) {
1071
- const O = String(c.innerText), M = S("form-group");
1071
+ const O = String(i.innerText), M = S("form-group");
1072
1072
  return M.editor = D, M.label = O, M;
1073
1073
  }
1074
1074
  return D;
1075
1075
  }
1076
- function s() {
1076
+ function a() {
1077
1077
  return !g;
1078
1078
  }
1079
1079
  function f() {
@@ -1090,8 +1090,8 @@ function Le(n, e) {
1090
1090
  onAcceptMovedChildElement: b,
1091
1091
  onResolveNewComponentSchema: o,
1092
1092
  triggerBelongedComponentToMoveWhenMoved: r,
1093
- triggerBelongedComponentToDeleteWhenDeleted: i,
1094
- checkCanMoveComponent: s,
1093
+ triggerBelongedComponentToDeleteWhenDeleted: s,
1094
+ checkCanMoveComponent: a,
1095
1095
  checkCanDeleteComponent: f,
1096
1096
  hideNestedPaddingInDesginerView: A
1097
1097
  };
@@ -1102,14 +1102,14 @@ const Fe = /* @__PURE__ */ W({
1102
1102
  emits: [],
1103
1103
  setup(n, e) {
1104
1104
  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);
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);
1106
1106
  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(() => {
1107
+ const h = N(n.position), v = N(n.title), g = N(!1), c = N(!1), y = q(() => {
1108
1108
  const b = {};
1109
1109
  let C = ["top", "bottom"].indexOf(h.value) > -1 ? "height" : "width";
1110
1110
  return b[C] = g.value ? "0px" : n.size + "px", b;
1111
1111
  });
1112
- return R(() => {
1112
+ return K(() => {
1113
1113
  t.value.componentInstance = d;
1114
1114
  }), e.expose(d.value), () => P("div", {
1115
1115
  class: `f-list-nav f-list-nav-${h.value}`
@@ -1132,7 +1132,7 @@ const Fe = /* @__PURE__ */ W({
1132
1132
  class: ["f-list-nav-toggle-sidebar", {
1133
1133
  disabled: n.disabled,
1134
1134
  active: g.value,
1135
- "splitter-pane-collapse-animate": a.value
1135
+ "splitter-pane-collapse-animate": c.value
1136
1136
  }]
1137
1137
  }, [P("span", {
1138
1138
  class: "triangle"