@farris/ui-vue 1.6.5-beta.7 → 1.6.5-beta.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 (194) hide show
  1. package/components/accordion/index.esm.js +65 -65
  2. package/components/accordion/index.umd.cjs +1 -1
  3. package/components/avatar/index.esm.js +28 -29
  4. package/components/avatar/index.umd.cjs +1 -1
  5. package/components/button-edit/index.esm.js +521 -517
  6. package/components/button-edit/index.umd.cjs +1 -1
  7. package/components/calendar/index.esm.js +134 -134
  8. package/components/calendar/index.umd.cjs +1 -1
  9. package/components/capsule/index.esm.js +192 -192
  10. package/components/capsule/index.umd.cjs +1 -1
  11. package/components/code-editor/index.esm.js +8 -8
  12. package/components/code-editor/index.umd.cjs +3 -3
  13. package/components/collection-property-editor/index.esm.js +72 -72
  14. package/components/collection-property-editor/index.umd.cjs +1 -1
  15. package/components/color-picker/index.esm.js +291 -289
  16. package/components/color-picker/index.umd.cjs +1 -1
  17. package/components/combo-list/index.esm.js +163 -157
  18. package/components/combo-list/index.umd.cjs +1 -1
  19. package/components/combo-tree/index.esm.js +113 -112
  20. package/components/combo-tree/index.umd.cjs +1 -1
  21. package/components/common/index.esm.js +3 -1
  22. package/components/common/index.umd.cjs +1 -1
  23. package/components/component/index.esm.js +10 -10
  24. package/components/component/index.umd.cjs +1 -1
  25. package/components/condition/index.esm.js +1122 -1121
  26. package/components/condition/index.umd.cjs +1 -1
  27. package/components/content-container/index.esm.js +190 -190
  28. package/components/content-container/index.umd.cjs +1 -1
  29. package/components/data-view/index.esm.js +2693 -2693
  30. package/components/data-view/index.umd.cjs +1 -1
  31. package/components/date-picker/index.esm.js +1604 -1601
  32. package/components/date-picker/index.umd.cjs +1 -1
  33. package/components/designer-canvas/index.esm.js +1082 -1079
  34. package/components/designer-canvas/index.umd.cjs +1 -1
  35. package/components/discussion-editor/index.esm.js +973 -1040
  36. package/components/discussion-editor/index.umd.cjs +6 -6
  37. package/components/dropdown/index.esm.js +335 -330
  38. package/components/dropdown/index.umd.cjs +2 -2
  39. package/components/dynamic-form/index.esm.js +8 -8
  40. package/components/dynamic-form/index.umd.cjs +1 -1
  41. package/components/dynamic-resolver/index.esm.js +6 -6
  42. package/components/dynamic-resolver/index.umd.cjs +1 -1
  43. package/components/dynamic-view/index.esm.js +344 -344
  44. package/components/dynamic-view/index.umd.cjs +1 -1
  45. package/components/events-editor/index.esm.js +8 -8
  46. package/components/events-editor/index.umd.cjs +3 -3
  47. package/components/expression-editor/index.esm.js +1470 -1460
  48. package/components/expression-editor/index.umd.cjs +3 -3
  49. package/components/fieldset/index.esm.js +55 -55
  50. package/components/fieldset/index.umd.cjs +1 -1
  51. package/components/filter-bar/index.esm.js +853 -843
  52. package/components/filter-bar/index.umd.cjs +1 -1
  53. package/components/filter-condition-editor/index.esm.js +922 -911
  54. package/components/filter-condition-editor/index.umd.cjs +3 -3
  55. package/components/flow-canvas/index.esm.js +12 -12
  56. package/components/flow-canvas/index.umd.cjs +1 -1
  57. package/components/html-template/index.esm.js +164 -164
  58. package/components/html-template/index.umd.cjs +1 -1
  59. package/components/image-cropper/index.esm.js +198 -198
  60. package/components/image-cropper/index.umd.cjs +1 -1
  61. package/components/json-editor/index.esm.js +64 -64
  62. package/components/json-editor/index.umd.cjs +1 -1
  63. package/components/language-textbox/index.esm.js +140 -140
  64. package/components/language-textbox/index.umd.cjs +1 -1
  65. package/components/layout/index.esm.js +111 -111
  66. package/components/layout/index.umd.cjs +1 -1
  67. package/components/list-nav/index.esm.js +90 -90
  68. package/components/list-nav/index.umd.cjs +1 -1
  69. package/components/list-view/index.esm.js +104 -108
  70. package/components/list-view/index.umd.cjs +3 -3
  71. package/components/locale/index.esm.js +833 -901
  72. package/components/locale/index.umd.cjs +6 -6
  73. package/components/lookup/index.esm.js +1352 -1351
  74. package/components/lookup/index.umd.cjs +1 -1
  75. package/components/mapping-editor/index.esm.js +1311 -1307
  76. package/components/mapping-editor/index.umd.cjs +1 -1
  77. package/components/menu-lookup/index.esm.js +1059 -1127
  78. package/components/menu-lookup/index.umd.cjs +6 -6
  79. package/components/message-box/index.esm.js +7 -7
  80. package/components/message-box/index.umd.cjs +1 -1
  81. package/components/modal/index.esm.js +9 -9
  82. package/components/modal/index.umd.cjs +1 -1
  83. package/components/nav/index.esm.js +106 -106
  84. package/components/nav/index.umd.cjs +1 -1
  85. package/components/number-range/index.esm.js +326 -326
  86. package/components/number-range/index.umd.cjs +1 -1
  87. package/components/number-spinner/index.esm.js +168 -167
  88. package/components/number-spinner/index.umd.cjs +1 -1
  89. package/components/order/index.esm.js +739 -737
  90. package/components/order/index.umd.cjs +4 -4
  91. package/components/page-footer/index.esm.js +94 -94
  92. package/components/page-footer/index.umd.cjs +1 -1
  93. package/components/page-header/index.esm.js +942 -939
  94. package/components/page-header/index.umd.cjs +1 -1
  95. package/components/pagination/index.esm.js +82 -82
  96. package/components/pagination/index.umd.cjs +1 -1
  97. package/components/popover/index.esm.js +1 -1
  98. package/components/popover/index.umd.cjs +1 -1
  99. package/components/progress/index.esm.js +113 -113
  100. package/components/progress/index.umd.cjs +2 -2
  101. package/components/property-editor/index.esm.js +151 -150
  102. package/components/property-editor/index.umd.cjs +1 -1
  103. package/components/property-panel/index.esm.js +565 -565
  104. package/components/property-panel/index.umd.cjs +2 -2
  105. package/components/query-solution/index.esm.js +4142 -4190
  106. package/components/query-solution/index.umd.cjs +6 -6
  107. package/components/radio-button/index.esm.js +182 -182
  108. package/components/radio-button/index.umd.cjs +1 -1
  109. package/components/rate/index.esm.js +106 -106
  110. package/components/rate/index.umd.cjs +1 -1
  111. package/components/response-layout/index.esm.js +409 -409
  112. package/components/response-layout/index.umd.cjs +1 -1
  113. package/components/response-layout-editor/index.esm.js +1488 -1478
  114. package/components/response-layout-editor/index.umd.cjs +1 -1
  115. package/components/response-toolbar/index.esm.js +779 -776
  116. package/components/response-toolbar/index.umd.cjs +1 -1
  117. package/components/schema-selector/index.esm.js +1765 -1762
  118. package/components/schema-selector/index.umd.cjs +5 -5
  119. package/components/search-box/index.esm.js +114 -114
  120. package/components/search-box/index.umd.cjs +1 -1
  121. package/components/section/index.esm.js +1184 -1181
  122. package/components/section/index.umd.cjs +1 -1
  123. package/components/smoke-detector/index.esm.js +163 -163
  124. package/components/smoke-detector/index.umd.cjs +1 -1
  125. package/components/sort-condition-editor/index.esm.js +927 -916
  126. package/components/sort-condition-editor/index.umd.cjs +3 -3
  127. package/components/splitter/index.esm.js +3 -3
  128. package/components/splitter/index.umd.cjs +1 -1
  129. package/components/step/index.esm.js +133 -133
  130. package/components/step/index.umd.cjs +1 -1
  131. package/components/switch/index.esm.js +76 -72
  132. package/components/switch/index.umd.cjs +1 -1
  133. package/components/tabs/index.esm.js +1527 -1524
  134. package/components/tabs/index.umd.cjs +2 -2
  135. package/components/tags/index.esm.js +93 -93
  136. package/components/tags/index.umd.cjs +1 -1
  137. package/components/text/index.esm.js +138 -138
  138. package/components/text/index.umd.cjs +1 -1
  139. package/components/textarea/index.esm.js +361 -361
  140. package/components/textarea/index.umd.cjs +2 -2
  141. package/components/tooltip/index.esm.js +173 -171
  142. package/components/tooltip/index.umd.cjs +1 -1
  143. package/components/transfer/index.esm.js +130 -134
  144. package/components/transfer/index.umd.cjs +4 -4
  145. package/components/tree-grid/index.esm.js +25 -25
  146. package/components/tree-grid/index.umd.cjs +1 -1
  147. package/components/tree-view/index.esm.js +1746 -1743
  148. package/components/tree-view/index.umd.cjs +1 -1
  149. package/components/uploader/index.esm.js +170 -170
  150. package/components/uploader/index.umd.cjs +2 -2
  151. package/components/verify-detail/index.esm.js +196 -196
  152. package/components/verify-detail/index.umd.cjs +1 -1
  153. package/components/video/index.esm.js +8 -8
  154. package/components/video/index.umd.cjs +1 -1
  155. package/components/weather/index.esm.js +9 -9
  156. package/components/weather/index.umd.cjs +2 -2
  157. package/farris.all.esm.js +16987 -17002
  158. package/farris.all.umd.cjs +27 -27
  159. package/package.json +1 -1
  160. package/types/lookup/src/composition/use-dialog.d.ts +2 -0
  161. package/types/lookup/src/composition/use-input-change.d.ts +1 -0
  162. package/components/time-picker/index.css +0 -1
  163. package/components/time-picker/index.esm.js +0 -9793
  164. package/components/time-picker/index.umd.cjs +0 -1
  165. package/components/time-picker/package.json +0 -8
  166. package/components/time-picker/style.js +0 -6
  167. package/designer/button-edit/index.css +0 -1
  168. package/designer/button-edit/index.esm.js +0 -4856
  169. package/designer/button-edit/index.umd.cjs +0 -1
  170. package/designer/checkbox/index.esm.js +0 -250
  171. package/designer/checkbox/index.umd.cjs +0 -1
  172. package/designer/checkbox-group/index.esm.js +0 -377
  173. package/designer/checkbox-group/index.umd.cjs +0 -1
  174. package/designer/data-grid/index.css +0 -1
  175. package/designer/data-grid/index.esm.js +0 -15413
  176. package/designer/data-grid/index.umd.cjs +0 -23
  177. package/designer/data-view/index.esm.js +0 -854
  178. package/designer/data-view/index.umd.cjs +0 -38
  179. package/designer/drawer/index.css +0 -1
  180. package/designer/drawer/index.esm.js +0 -525
  181. package/designer/drawer/index.umd.cjs +0 -1
  182. package/designer/farris-designer.all.esm.js +0 -22320
  183. package/designer/farris-designer.all.umd.cjs +0 -34
  184. package/designer/index.css +0 -1
  185. package/designer/input-group/index.esm.js +0 -1098
  186. package/designer/input-group/index.umd.cjs +0 -1
  187. package/designer/list-view/index.css +0 -1
  188. package/designer/list-view/index.esm.js +0 -4675
  189. package/designer/list-view/index.umd.cjs +0 -40
  190. package/designer/radio-group/index.css +0 -1
  191. package/designer/radio-group/index.esm.js +0 -6980
  192. package/designer/radio-group/index.umd.cjs +0 -1
  193. package/designer/tree-grid/index.esm.js +0 -1099
  194. package/designer/tree-grid/index.umd.cjs +0 -1
@@ -1,11 +1,11 @@
1
- import { ref as M, computed as L, defineComponent as U, provide as I, createVNode as A, watch as Pe, inject as Y, onMounted as K } from "vue";
2
- import { isPlainObject as Z, cloneDeep as x } from "lodash-es";
1
+ import { ref as B, computed as L, defineComponent as U, provide as I, createVNode as A, watch as Pe, inject as Y, onMounted as K } from "vue";
2
+ import { cloneDeep as Z, isPlainObject as x } from "lodash-es";
3
3
  import { getCustomClass as Te, getCustomStyle as Ce } from "../common/index.esm.js";
4
4
  import { getSchemaByTypeForDesigner as Oe } from "../dynamic-resolver/index.esm.js";
5
5
  function ee(e, t) {
6
6
  let n;
7
7
  function r(a) {
8
- const { properties: u, title: S, ignore: l } = a, o = l && Array.isArray(l), i = Object.keys(u).reduce((c, f) => ((!o || !l.find((y) => y === f)) && (c[f] = u[f].type === "object" && u[f].properties ? r(u[f]) : x(u[f].default)), c), {});
8
+ const { properties: u, title: S, ignore: l } = a, o = l && Array.isArray(l), i = Object.keys(u).reduce((c, f) => ((!o || !l.find((d) => d === f)) && (c[f] = u[f].type === "object" && u[f].properties ? r(u[f]) : Z(u[f].default)), c), {});
9
9
  if (S && (!o || !l.find((c) => c === "id"))) {
10
10
  const c = S.toLowerCase().replace(/-/g, "_");
11
11
  i.id = `${c}_${Math.random().toString().slice(2, 6)}`;
@@ -15,7 +15,7 @@ function ee(e, t) {
15
15
  function h(a) {
16
16
  const { properties: u, title: S, required: l } = a;
17
17
  if (l && Array.isArray(l)) {
18
- const o = l.reduce((i, c) => (i[c] = u[c].type === "object" && u[c].properties ? r(u[c]) : x(u[c].default), i), {});
18
+ const o = l.reduce((i, c) => (i[c] = u[c].type === "object" && u[c].properties ? r(u[c]) : Z(u[c].default), i), {});
19
19
  if (S && l.find((i) => i === "id")) {
20
20
  const i = S.toLowerCase().replace(/-/g, "_");
21
21
  o.id = `${i}_${Math.random().toString().slice(2, 6)}`;
@@ -37,7 +37,7 @@ function ee(e, t) {
37
37
  }
38
38
  function b(a, u) {
39
39
  const S = r(u);
40
- return Object.keys(S).reduce((l, o) => (Object.prototype.hasOwnProperty.call(a, o) && (l[o] && Z(l[o]) && Z(a[o] || !a[o]) ? Object.assign(l[o], a[o] || {}) : l[o] = a[o]), l), S), S;
40
+ return Object.keys(S).reduce((l, o) => (Object.prototype.hasOwnProperty.call(a, o) && (l[o] && x(l[o]) && x(a[o] || !a[o]) ? Object.assign(l[o], a[o] || {}) : l[o] = a[o]), l), S), S;
41
41
  }
42
42
  function F(a, u) {
43
43
  return Object.keys(a).filter((l) => a[l] != null).reduce((l, o) => {
@@ -79,8 +79,8 @@ function ee(e, t) {
79
79
  }
80
80
  return { getSchemaByType: z, resolveSchemaWithDefaultValue: s, resolveSchemaToProps: j, mappingSchemaToProps: F, setDesignerContext: g };
81
81
  }
82
- const te = {}, ne = {}, { resolveSchemaWithDefaultValue: we, resolveSchemaToProps: Fe, mappingSchemaToProps: Me } = ee(te, ne);
83
- function Be(e = {}) {
82
+ const te = {}, ne = {}, { getSchemaByType: $t, resolveSchemaWithDefaultValue: we, resolveSchemaToProps: Fe, mappingSchemaToProps: Be, setDesignerContext: Nt } = ee(te, ne);
83
+ function De(e = {}) {
84
84
  function t(s, g, a, u) {
85
85
  if (typeof a == "number")
86
86
  return u[s].length === a;
@@ -129,12 +129,12 @@ function Be(e = {}) {
129
129
  return z(s).reduce((S, l) => S && b(l, g), !0);
130
130
  }
131
131
  function j(s, g) {
132
- const a = Object.keys(s), u = a.includes("allOf"), S = a.includes("anyOf"), l = u || S, c = (l ? s[l ? u ? "allOf" : "anyOf" : "allOf"] : [s]).map((y) => F(y, g));
132
+ const a = Object.keys(s), u = a.includes("allOf"), S = a.includes("anyOf"), l = u || S, c = (l ? s[l ? u ? "allOf" : "anyOf" : "allOf"] : [s]).map((d) => F(d, g));
133
133
  return u ? !c.includes(!1) : c.includes(!0);
134
134
  }
135
135
  return { parseValueSchema: j };
136
136
  }
137
- const De = {
137
+ const Me = {
138
138
  convertTo: (e, t, n, r) => {
139
139
  e.appearance || (e.appearance = {}), e.appearance[t] = n;
140
140
  },
@@ -377,7 +377,7 @@ const De = {
377
377
  };
378
378
  function oe(e, t, n) {
379
379
  const r = /* @__PURE__ */ new Map([
380
- ["/converter/appearance.converter", De],
380
+ ["/converter/appearance.converter", Me],
381
381
  ["/converter/buttons.converter", je],
382
382
  ["/converter/property-editor.converter", Ee],
383
383
  ["/converter/items-count.converter", Ye],
@@ -422,7 +422,7 @@ function oe(e, t, n) {
422
422
  ["array", { type: "button-edit" }],
423
423
  ["number", { type: "number-spinner", placeholder: "" }],
424
424
  ["events-editor", { type: "events-editor", hide: !0 }]
425
- ]), z = Be();
425
+ ]), z = De();
426
426
  function b(l, o) {
427
427
  return () => z.parseValueSchema(l, o);
428
428
  }
@@ -436,62 +436,62 @@ function oe(e, t, n) {
436
436
  const i = l.$converter || o;
437
437
  return typeof i == "string" && i && r.has(i) ? r.get(i) || null : i || null;
438
438
  }
439
- function g(l, o, i, c, f, y = "", w = "") {
439
+ function g(l, o, i, c, f, d = "", w = "") {
440
440
  return Object.keys(l).map((v) => {
441
- const B = M(1), P = v, d = l[v], T = Object.keys(d), E = d.title, p = d.type, C = h.get(p) || { type: "input-group", enableClear: !1 }, O = d.editor ? Object.assign({}, C, d.editor) : Object.assign({}, C), D = F(T, d, o), k = j(T, d, o);
441
+ const D = B(1), P = v, y = l[v], T = Object.keys(y), E = y.title, p = y.type, C = h.get(p) || { type: "input-group", enableClear: !1 }, O = y.editor ? Object.assign({}, C, y.editor) : Object.assign({}, C), M = F(T, y, o), k = j(T, y, o);
442
442
  O.readonly = O.readonly === void 0 ? k() : O.readonly;
443
- const H = d.type === "cascade" ? g(d.properties, o, i, c, f, y, w) : [], q = !0;
444
- let $ = s(d, w);
443
+ const H = y.type === "cascade" ? g(y.properties, o, i, c, f, d, w) : [], q = !0;
444
+ let $ = s(y, w);
445
445
  const R = L({
446
446
  get() {
447
- if (B.value) {
447
+ if (D.value) {
448
448
  if (["class", "style"].find((ze) => ze === P) && !$ && ($ = r.get("/converter/appearance.converter") || null), $ && $.convertFrom)
449
- return $.convertFrom(i, v, f, y);
449
+ return $.convertFrom(i, v, f, d);
450
450
  const W = i[v];
451
- return Object.prototype.hasOwnProperty.call(d, "defaultValue") && (W === void 0 || typeof W == "string" && W === "") ? d.type === "boolean" ? d.defaultValue : d.defaultValue || "" : W;
451
+ return Object.prototype.hasOwnProperty.call(y, "defaultValue") && (W === void 0 || typeof W == "string" && W === "") ? y.type === "boolean" ? y.defaultValue : y.defaultValue || "" : W;
452
452
  }
453
453
  return null;
454
454
  },
455
455
  set(W) {
456
- B.value += 1, $ && $.convertTo ? ($.convertTo(c, v, W, f, y), $.convertTo(i, v, W, f, y)) : (c[v] = W, i[v] = W);
456
+ D.value += 1, $ && $.convertTo ? ($.convertTo(c, v, W, f, d), $.convertTo(i, v, W, f, d)) : (c[v] = W, i[v] = W);
457
457
  }
458
- }), { refreshPanelAfterChanged: V, description: he, isExpand: ge, parentPropertyID: Se } = d, Q = { propertyID: P, propertyName: E, propertyType: p, propertyValue: R, editor: O, visible: D, readonly: k, cascadeConfig: H, hideCascadeTitle: q, refreshPanelAfterChanged: V, description: he, isExpand: ge, parentPropertyID: Se };
458
+ }), { refreshPanelAfterChanged: V, description: he, isExpand: ge, parentPropertyID: Se } = y, Q = { propertyID: P, propertyName: E, propertyType: p, propertyValue: R, editor: O, visible: M, readonly: k, cascadeConfig: H, hideCascadeTitle: q, refreshPanelAfterChanged: V, description: he, isExpand: ge, parentPropertyID: Se };
459
459
  return o[P] = Q, Q;
460
460
  });
461
461
  }
462
462
  function a(l, o, i = {}) {
463
463
  const c = {}, f = e[l];
464
464
  return f && f.categories ? Object.keys(f.categories).map((w) => {
465
- const m = f.categories[w], v = m == null ? void 0 : m.title, B = g(m.properties || {}, c, {}, i, o);
466
- return { categoryId: w, categoryName: v, properties: B };
465
+ const m = f.categories[w], v = m == null ? void 0 : m.title, D = g(m.properties || {}, c, {}, i, o);
466
+ return { categoryId: w, categoryName: v, properties: D };
467
467
  }) : [];
468
468
  }
469
469
  function u(l, o, i, c, f = "") {
470
- const y = o.$ref.schema, w = o.$ref.converter, m = i[y], v = m.type, B = n(m), P = {}, d = e[v];
471
- if (d && d.categories) {
472
- const T = d.categories[l], E = T == null ? void 0 : T.title;
470
+ const d = o.$ref.schema, w = o.$ref.converter, m = i[d], v = m.type, D = n(m), P = {}, y = e[v];
471
+ if (y && y.categories) {
472
+ const T = y.categories[l], E = T == null ? void 0 : T.title;
473
473
  w && Object.keys(T.properties).forEach((O) => {
474
474
  T.properties[O].$converter = w;
475
475
  });
476
- const p = (T == null ? void 0 : T.properties) || {}, C = g(p, P, B, m, c, f);
476
+ const p = (T == null ? void 0 : T.properties) || {}, C = g(p, P, D, m, c, f);
477
477
  return { categoryId: l, categoryName: E, properties: C };
478
478
  }
479
479
  return { categoryId: l, categoryName: "", properties: [] };
480
480
  }
481
481
  function S(l, o, i, c, f) {
482
- const y = l.type, w = n(l), m = {};
483
- let v = f || e[y];
482
+ const d = l.type, w = n(l), m = {};
483
+ let v = f || e[d];
484
484
  if (v && Object.keys(v).length === 0 && i && i.getPropConfig && (v = i.getPropConfig(c)), v && v.categories) {
485
- const B = [];
485
+ const D = [];
486
486
  return Object.keys(v.categories).map((P) => {
487
- const d = v.categories[P];
488
- if (d.$ref) {
489
- B.push(u(P, d, l, o, c));
487
+ const y = v.categories[P];
488
+ if (y.$ref) {
489
+ D.push(u(P, y, l, o, c));
490
490
  return;
491
491
  }
492
- const T = d == null ? void 0 : d.title, E = d == null ? void 0 : d.tabId, p = d == null ? void 0 : d.tabName, C = d == null ? void 0 : d.hide, O = d == null ? void 0 : d.hideTitle, D = g(d.properties || {}, m, w, l, o, c, d.$converter), { setPropertyRelates: k } = d, H = d == null ? void 0 : d.parentPropertyID;
493
- B.push({ categoryId: P, categoryName: T, tabId: E, tabName: p, hide: C, properties: D, hideTitle: O, setPropertyRelates: k, parentPropertyID: H });
494
- }), B;
492
+ const T = y == null ? void 0 : y.title, E = y == null ? void 0 : y.tabId, p = y == null ? void 0 : y.tabName, C = y == null ? void 0 : y.hide, O = y == null ? void 0 : y.hideTitle, M = g(y.properties || {}, m, w, l, o, c, y.$converter), { setPropertyRelates: k } = y, H = y == null ? void 0 : y.parentPropertyID;
493
+ D.push({ categoryId: P, categoryName: T, tabId: E, tabName: p, hide: C, properties: M, hideTitle: O, setPropertyRelates: k, parentPropertyID: H });
494
+ }), D;
495
495
  }
496
496
  return [];
497
497
  }
@@ -503,12 +503,12 @@ function oe(e, t, n) {
503
503
  }
504
504
  const re = {}, ae = {};
505
505
  oe(re, ae, we);
506
- const ie = {}, le = {}, { resolveSchemaWithDefaultValue: xe } = ee(ie, le), ce = {}, se = {};
506
+ const ie = {}, le = {}, { getSchemaByType: Ht, resolveSchemaWithDefaultValue: xe, resolveSchemaToProps: Lt, mappingSchemaToProps: At, setDesignerContext: Rt } = ee(ie, le), ce = {}, se = {};
507
507
  oe(ce, se, xe);
508
508
  function ue(e, t, n = /* @__PURE__ */ new Map(), r = (b, F, j, s) => F, h = {}, z = (b) => b) {
509
509
  return te[t.title] = t, ne[t.title] = r, re[t.title] = h, ae[t.title] = z, ie[t.title] = t, le[t.title] = r, ce[t.title] = h, se[t.title] = z, (b = {}, F = !0) => {
510
510
  if (!F)
511
- return Me(b, n);
511
+ return Be(b, n);
512
512
  const j = Fe(b, t, n), s = Object.keys(e).reduce((g, a) => (g[a] = e[a].default, g), {});
513
513
  return Object.assign(s, j);
514
514
  };
@@ -622,7 +622,7 @@ const Ke = "https://json-schema.org/draft/2020-12/schema", et = "https://farris-
622
622
  customClass: { type: String, defaut: "" }
623
623
  }, me = ue(G, it, fe, pe, ft);
624
624
  function ve(e) {
625
- const t = M(-1), n = M(-1), r = M(0), h = M(0), z = M(!1), b = M(!1), F = L(() => ({
625
+ const t = B(-1), n = B(-1), r = B(0), h = B(0), z = B(!1), b = B(!1), F = L(() => ({
626
626
  display: z.value ? "block" : "none",
627
627
  left: `${r.value}px`,
628
628
  cursor: "e-resize"
@@ -636,20 +636,20 @@ function ve(e) {
636
636
  };
637
637
  return h.value > 0 && (i.cursor = "n-resize"), i;
638
638
  });
639
- function g(i, c, f, y) {
639
+ function g(i, c, f, d) {
640
640
  const w = e.value;
641
641
  if (w) {
642
- const { left: m, right: v, width: B } = w.getBoundingClientRect();
642
+ const { left: m, right: v, width: D } = w.getBoundingClientRect();
643
643
  let P = i.clientX - m;
644
- y === "right" && (P = v - i.clientX), P > c && (P = c), P < f && (P = f), y === "right" && (P = B - P), r.value = P;
644
+ d === "right" && (P = v - i.clientX), P > c && (P = c), P < f && (P = f), d === "right" && (P = D - P), r.value = P;
645
645
  }
646
646
  }
647
- function a(i, c, f, y) {
647
+ function a(i, c, f, d) {
648
648
  const w = e.value;
649
649
  if (w) {
650
- const { top: m, bottom: v, height: B } = w.getBoundingClientRect();
650
+ const { top: m, bottom: v, height: D } = w.getBoundingClientRect();
651
651
  let P = i.clientY - m;
652
- y === "bottom" && (P = v - i.clientY), P > c && (P = c), P < f && (P = f), y === "bottom" && (P = B - P), h.value = P;
652
+ d === "bottom" && (P = v - i.clientY), P > c && (P = c), P < f && (P = f), d === "bottom" && (P = D - P), h.value = P;
653
653
  }
654
654
  }
655
655
  function u() {
@@ -663,14 +663,14 @@ function ve(e) {
663
663
  function S() {
664
664
  const i = e.value;
665
665
  return i ? Array.from(i.querySelectorAll("[data-position]")).reduce((c, f) => {
666
- const y = f.getAttribute("data-position");
667
- return c = Object.assign(c, { [y]: f }), c;
666
+ const d = f.getAttribute("data-position");
667
+ return c = Object.assign(c, { [d]: f }), c;
668
668
  }, {}) : null;
669
669
  }
670
670
  function l(i, c) {
671
- const f = u(), y = S();
672
- if (f && y) {
673
- const w = y == null ? void 0 : y.right, m = y == null ? void 0 : y.left;
671
+ const f = u(), d = S();
672
+ if (f && d) {
673
+ const w = d == null ? void 0 : d.right, m = d == null ? void 0 : d.left;
674
674
  if (i === "left" && m)
675
675
  return w ? f.width - w.clientWidth - c : f.width - c;
676
676
  if (i === "right" && w)
@@ -678,9 +678,9 @@ function ve(e) {
678
678
  }
679
679
  }
680
680
  function o(i, c) {
681
- const f = u(), y = S();
682
- if (f && y) {
683
- const w = y == null ? void 0 : y.bottom, m = y == null ? void 0 : y.top;
681
+ const f = u(), d = S();
682
+ if (f && d) {
683
+ const w = d == null ? void 0 : d.bottom, m = d == null ? void 0 : d.top;
684
684
  if (i === "top" && m)
685
685
  return w ? f.height - w.clientHeight - c : f.height - c;
686
686
  if (i === "bottom" && w)
@@ -708,7 +708,7 @@ const _ = /* @__PURE__ */ U({
708
708
  props: G,
709
709
  emits: [],
710
710
  setup(e, t) {
711
- const n = M(), r = ve(n), {
711
+ const n = B(), r = ve(n), {
712
712
  horizontalResizeHandleStyle: h,
713
713
  verticalResizeHandleStyle: z,
714
714
  resizeOverlayStyle: b
@@ -734,7 +734,7 @@ const _ = /* @__PURE__ */ U({
734
734
  style: z.value
735
735
  }, null)]);
736
736
  }
737
- }), pt = "https://json-schema.org/draft/2020-12/schema", mt = "https://farris-design.gitee.io/layout-pane.schema.json", vt = "layout-pane", dt = "A Farris Container Component", yt = "object", bt = {
737
+ }), pt = "https://json-schema.org/draft/2020-12/schema", mt = "https://farris-design.gitee.io/layout-pane.schema.json", vt = "layout-pane", yt = "A Farris Container Component", dt = "object", bt = {
738
738
  id: {
739
739
  description: "The unique identifier for a layout pane",
740
740
  type: "string"
@@ -805,8 +805,8 @@ const _ = /* @__PURE__ */ U({
805
805
  $schema: pt,
806
806
  $id: mt,
807
807
  title: vt,
808
- description: dt,
809
- type: yt,
808
+ description: yt,
809
+ type: dt,
810
810
  properties: bt,
811
811
  required: ht
812
812
  }, St = "layout-pane", zt = "A Farris Container Component", Pt = "object", Tt = {
@@ -928,8 +928,8 @@ const _ = /* @__PURE__ */ U({
928
928
  minWidth: { type: Number, default: 100 },
929
929
  /** 面板最小高度 */
930
930
  minHeight: { type: Number, default: 100 }
931
- }, de = ue(J, gt, fe, pe, Ct);
932
- function ye(e, t, n, r, h) {
931
+ }, ye = ue(J, gt, fe, pe, Ct);
932
+ function de(e, t, n, r, h) {
933
933
  const {
934
934
  horizontalResizeBarPosition: z,
935
935
  horizontalResizeHandleOffset: b,
@@ -943,37 +943,37 @@ function ye(e, t, n, r, h) {
943
943
  getPanelMaxWidth: l
944
944
  } = h;
945
945
  let o = "", i, c, f;
946
- function y(v) {
946
+ function d(v) {
947
947
  if ((o === "left" || o === "right") && c) {
948
- const { left: B } = c.getBoundingClientRect(), { width: P } = i.getBoundingClientRect(), d = v.clientX - B;
949
- let T = o === "left" ? (P || 0) + (d - z.value) : (P || 0) - (d - z.value);
948
+ const { left: D } = c.getBoundingClientRect(), { width: P } = i.getBoundingClientRect(), y = v.clientX - D;
949
+ let T = o === "left" ? (P || 0) + (y - z.value) : (P || 0) - (y - z.value);
950
950
  T = n.value > 0 ? Math.max(n.value, T) : T;
951
951
  const E = l(o, n.value);
952
952
  E != null && (T = E > T ? T : E), e.value = T;
953
953
  }
954
954
  if ((o === "top" || o === "bottom") && c) {
955
- const { top: B } = c.getBoundingClientRect(), { height: P } = i.getBoundingClientRect(), d = v.clientY - B;
956
- let T = o === "top" ? (P || 0) + (d - s.value) : (P || 0) - (d - s.value);
955
+ const { top: D } = c.getBoundingClientRect(), { height: P } = i.getBoundingClientRect(), y = v.clientY - D;
956
+ let T = o === "top" ? (P || 0) + (y - s.value) : (P || 0) - (y - s.value);
957
957
  T = r.value > 0 ? Math.max(r.value, T) : T;
958
958
  const E = S(o, r.value);
959
959
  E != null && (T = E > T ? T : E), t.value = T;
960
960
  }
961
- b.value = 0, g.value = 0, z.value = -1, s.value = -1, F.value = !1, j.value = !1, document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", y), document.body.style.userSelect = "", o = "", i = null, c = null;
961
+ b.value = 0, g.value = 0, z.value = -1, s.value = -1, F.value = !1, j.value = !1, document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", d), document.body.style.userSelect = "", o = "", i = null, c = null;
962
962
  }
963
- function w(v, B, P) {
964
- if (o = B, i = P, F.value = !0, c = v.composedPath().find((T) => (T.className || "").split(" ")[0] === "f-layout"), c) {
963
+ function w(v, D, P) {
964
+ if (o = D, i = P, F.value = !0, c = v.composedPath().find((T) => (T.className || "").split(" ")[0] === "f-layout"), c) {
965
965
  const { left: T } = c.getBoundingClientRect(), E = v.clientX - T;
966
966
  b.value = E, z.value = E;
967
967
  const p = l(o, n.value) || 0;
968
- f = (C) => a(C, p, n.value, o), document.addEventListener("mousemove", f), document.addEventListener("mouseup", y), document.body.style.userSelect = "none";
968
+ f = (C) => a(C, p, n.value, o), document.addEventListener("mousemove", f), document.addEventListener("mouseup", d), document.body.style.userSelect = "none";
969
969
  }
970
970
  }
971
- function m(v, B, P) {
972
- if (o = B, i = P, j.value = !0, c = v.composedPath().find((T) => (T.className || "").split(" ")[0] === "f-layout"), c) {
971
+ function m(v, D, P) {
972
+ if (o = D, i = P, j.value = !0, c = v.composedPath().find((T) => (T.className || "").split(" ")[0] === "f-layout"), c) {
973
973
  const { top: T } = c.getBoundingClientRect();
974
974
  g.value = v.clientY - T, s.value = v.clientY - T;
975
975
  const E = S(o, r.value) || 0;
976
- f = (p) => u(p, E, r.value, o), document.addEventListener("mousemove", f), document.addEventListener("mouseup", y), document.body.style.userSelect = "none";
976
+ f = (p) => u(p, E, r.value, o), document.addEventListener("mousemove", f), document.addEventListener("mouseup", d), document.body.style.userSelect = "none";
977
977
  }
978
978
  }
979
979
  return { onClickHorizontalResizeBar: w, onClickVerticalResizeBar: m };
@@ -983,13 +983,13 @@ const X = /* @__PURE__ */ U({
983
983
  props: J,
984
984
  emits: [],
985
985
  setup(e, t) {
986
- const n = M(e.minHeight <= 0 ? 100 : e.minHeight), r = M(e.minWidth <= 0 ? 100 : e.minWidth), h = M(e.width <= 0 ? 100 : e.width), z = M(e.height <= 0 ? 100 : e.height), b = M(Math.max(n.value, z.value)), F = M(Math.max(r.value, h.value)), j = M(), s = M(e.position), g = M(e.resizable);
986
+ const n = B(e.minHeight <= 0 ? 100 : e.minHeight), r = B(e.minWidth <= 0 ? 100 : e.minWidth), h = B(e.width <= 0 ? 100 : e.width), z = B(e.height <= 0 ? 100 : e.height), b = B(Math.max(n.value, z.value)), F = B(Math.max(r.value, h.value)), j = B(), s = B(e.position), g = B(e.resizable);
987
987
  Pe(() => e.resizable, (m) => {
988
988
  g.value = m;
989
989
  });
990
990
  const a = Y("layout"), {
991
991
  useResizeHandleComposition: u
992
- } = a, S = ye(F, b, r, n, u), {
992
+ } = a, S = de(F, b, r, n, u), {
993
993
  onClickHorizontalResizeBar: l,
994
994
  onClickVerticalResizeBar: o
995
995
  } = S, i = L(() => ({
@@ -1002,20 +1002,20 @@ const X = /* @__PURE__ */ U({
1002
1002
  function f(m, v) {
1003
1003
  (v === "left" || v === "right") && l(m, v, j.value), (v === "top" || v === "bottom") && o(m, v, j.value);
1004
1004
  }
1005
- const y = L(() => {
1005
+ const d = L(() => {
1006
1006
  const m = {
1007
1007
  "f-layout-pane": !0,
1008
1008
  "f-page-content-nav": s.value === "left" || s.value === "right",
1009
1009
  "f-page-content-main": s.value === "center"
1010
1010
  };
1011
- return e.customClass && String(e.customClass).split(" ").reduce((v, B) => (v[B] = !0, v), m), m;
1011
+ return e.customClass && String(e.customClass).split(" ").reduce((v, D) => (v[D] = !0, v), m), m;
1012
1012
  }), w = L(() => {
1013
1013
  const m = {};
1014
1014
  return (F.value && s.value === "left" || s.value === "right") && (m.width = `${F.value}px`), (b.value && s.value === "bottom" || s.value === "top") && (m.height = `${b.value}px`), e.visible || (m.display = "none"), m;
1015
1015
  });
1016
1016
  return () => A("div", {
1017
1017
  ref: j,
1018
- class: y.value,
1018
+ class: d.value,
1019
1019
  style: w.value,
1020
1020
  "data-position": s.value
1021
1021
  }, [t.slots.default && t.slots.default(), c.value && A("span", {
@@ -1032,7 +1032,7 @@ function Ot(e, t) {
1032
1032
  }
1033
1033
  function be(e, t, n) {
1034
1034
  var E;
1035
- const r = n && n.getStyles && n.getStyles() || "", h = n && n.getDesignerClass && n.getDesignerClass() || "", z = M();
1035
+ const r = n && n.getStyles && n.getStyles() || "", h = n && n.getDesignerClass && n.getDesignerClass() || "", z = B();
1036
1036
  let b;
1037
1037
  function F() {
1038
1038
  return (t == null ? void 0 : t.schema.componentType) === "frame" ? !1 : n && n.checkCanMoveComponent ? n.checkCanMoveComponent() : !0;
@@ -1051,7 +1051,7 @@ function be(e, t, n) {
1051
1051
  return null;
1052
1052
  if (p.value.schema && p.value.schema.type === "component")
1053
1053
  return p.value;
1054
- const C = M(p == null ? void 0 : p.value.parent), O = a(C);
1054
+ const C = B(p == null ? void 0 : p.value.parent), O = a(C);
1055
1055
  return O || null;
1056
1056
  }
1057
1057
  function u(p = t) {
@@ -1061,8 +1061,8 @@ function be(e, t, n) {
1061
1061
  const { componentInstance: C, designerItemElementRef: O } = p;
1062
1062
  if (!C || !C.value)
1063
1063
  return null;
1064
- const { getCustomButtons: D } = C.value;
1065
- return C.value.canMove || D && ((k = D()) != null && k.length) ? O : u(p.parent);
1064
+ const { getCustomButtons: M } = C.value;
1065
+ return C.value.canMove || M && ((k = M()) != null && k.length) ? O : u(p.parent);
1066
1066
  }
1067
1067
  function S(p) {
1068
1068
  return !!n && n.canAccepts(p);
@@ -1078,15 +1078,15 @@ function be(e, t, n) {
1078
1078
  }
1079
1079
  function c(p, C) {
1080
1080
  const { componentType: O } = p;
1081
- let D = Oe(O, p, C);
1082
- n && n.onResolveNewComponentSchema && (D = n.onResolveNewComponentSchema(p, D));
1081
+ let M = Oe(O, p, C);
1082
+ n && n.onResolveNewComponentSchema && (M = n.onResolveNewComponentSchema(p, M));
1083
1083
  const k = O.toLowerCase().replace(/-/g, "_");
1084
- return D && !D.id && D.type === O && (D.id = `${k}_${Math.random().toString().slice(2, 6)}`), D;
1084
+ return M && !M.id && M.type === O && (M.id = `${k}_${Math.random().toString().slice(2, 6)}`), M;
1085
1085
  }
1086
1086
  function f(p) {
1087
1087
  p && n != null && n.onChildElementMovedOut && n.onChildElementMovedOut(p);
1088
1088
  }
1089
- function y(...p) {
1089
+ function d(...p) {
1090
1090
  if (n && n.getPropsConfig)
1091
1091
  return n.getPropsConfig(...p);
1092
1092
  }
@@ -1095,8 +1095,8 @@ function be(e, t, n) {
1095
1095
  return;
1096
1096
  const C = t == null ? void 0 : t.schema, { formSchemaUtils: O } = p;
1097
1097
  if (C && O.getExpressions().length) {
1098
- const D = O.getExpressions().findIndex((k) => k.target === C.id);
1099
- D > -1 && O.getExpressions().splice(D, 1);
1098
+ const M = O.getExpressions().findIndex((k) => k.target === C.id);
1099
+ M > -1 && O.getExpressions().splice(M, 1);
1100
1100
  }
1101
1101
  }
1102
1102
  function m(p) {
@@ -1109,19 +1109,19 @@ function be(e, t, n) {
1109
1109
  n && n.onRemoveComponent && n.onRemoveComponent(), w(p), m(p), t != null && t.schema.contents && t.schema.contents.map((C) => {
1110
1110
  let O = C.id;
1111
1111
  C.type === "component-ref" && (O = C.component);
1112
- const D = e.value.querySelectorAll(`#${O}-design-item`);
1113
- D != null && D.length && Array.from(D).map((k) => {
1112
+ const M = e.value.querySelectorAll(`#${O}-design-item`);
1113
+ M != null && M.length && Array.from(M).map((k) => {
1114
1114
  var H;
1115
1115
  (H = k == null ? void 0 : k.componentInstance) != null && H.value.onRemoveComponent && k.componentInstance.value.onRemoveComponent(p);
1116
1116
  });
1117
1117
  });
1118
1118
  }
1119
- function B() {
1119
+ function D() {
1120
1120
  if (n && n.getCustomButtons)
1121
1121
  return n.getCustomButtons();
1122
1122
  }
1123
1123
  function P(p) {
1124
- var O, D;
1124
+ var O, M;
1125
1125
  if (!((O = t == null ? void 0 : t.schema) != null && O.id))
1126
1126
  return;
1127
1127
  if (!b && p && (b = p.formSchemaUtils), n != null && n.setComponentBasicInfoMap) {
@@ -1133,29 +1133,29 @@ function be(e, t, n) {
1133
1133
  C = n.getComponentTitle();
1134
1134
  else {
1135
1135
  const { text: k, title: H, label: q, mainTitle: $, name: R, type: V } = t.schema;
1136
- C = k || H || q || $ || R || ((D = N[V]) == null ? void 0 : D.name);
1136
+ C = k || H || q || $ || R || ((M = N[V]) == null ? void 0 : M.name);
1137
1137
  }
1138
1138
  C && b.getControlBasicInfoMap().set(t.schema.id, {
1139
1139
  componentTitle: C,
1140
1140
  parentPathName: C
1141
1141
  });
1142
1142
  }
1143
- function d(p) {
1143
+ function y(p) {
1144
1144
  var k;
1145
- const { changeObject: C } = p, { propertyID: O, propertyValue: D } = C;
1146
- if (["text", "title", "label", "name", "mainTitle"].includes((k = p == null ? void 0 : p.changeObject) == null ? void 0 : k.propertyID) && O && D && (P(), b)) {
1145
+ const { changeObject: C } = p, { propertyID: O, propertyValue: M } = C;
1146
+ if (["text", "title", "label", "name", "mainTitle"].includes((k = p == null ? void 0 : p.changeObject) == null ? void 0 : k.propertyID) && O && M && (P(), b)) {
1147
1147
  const H = b.getControlBasicInfoMap(), q = H.keys().toArray().filter(($) => {
1148
1148
  var R, V;
1149
1149
  return ((R = H.get($)) == null ? void 0 : R.reliedComponentId) === ((V = t == null ? void 0 : t.schema) == null ? void 0 : V.id);
1150
1150
  });
1151
1151
  q != null && q.length && q.forEach(($) => {
1152
1152
  const R = H.get($).parentPathName.split(" > ");
1153
- R[0] = D, H.get($).parentPathName = R.join(" > ");
1153
+ R[0] = M, H.get($).parentPathName = R.join(" > ");
1154
1154
  });
1155
1155
  }
1156
1156
  }
1157
1157
  function T(p) {
1158
- if (d(p), n && n.onPropertyChanged)
1158
+ if (y(p), n && n.onPropertyChanged)
1159
1159
  return n.onPropertyChanged(p);
1160
1160
  }
1161
1161
  return z.value = {
@@ -1173,15 +1173,15 @@ function be(e, t, n) {
1173
1173
  getBelongedComponentInstance: a,
1174
1174
  getDraggableDesignItemElement: u,
1175
1175
  getDraggingDisplayText: l,
1176
- getPropConfig: y,
1176
+ getPropConfig: d,
1177
1177
  getDragScopeElement: o,
1178
1178
  onAcceptMovedChildElement: i,
1179
1179
  onChildElementMovedOut: f,
1180
1180
  addNewChildComponentSchema: c,
1181
- triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || M(!1),
1182
- triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || M(!1),
1181
+ triggerBelongedComponentToMoveWhenMoved: !!n && n.triggerBelongedComponentToMoveWhenMoved || B(!1),
1182
+ triggerBelongedComponentToDeleteWhenDeleted: !!n && n.triggerBelongedComponentToDeleteWhenDeleted || B(!1),
1183
1183
  onRemoveComponent: v,
1184
- getCustomButtons: B,
1184
+ getCustomButtons: D,
1185
1185
  onPropertyChanged: T,
1186
1186
  setComponentBasicInfoMap: P,
1187
1187
  updateContextSchema: t == null ? void 0 : t.updateContextSchema
@@ -1193,7 +1193,7 @@ const wt = /* @__PURE__ */ U({
1193
1193
  emits: [],
1194
1194
  setup(e, t) {
1195
1195
  var g;
1196
- const n = M(), r = Y("design-item-context"), h = Ot(r.schema, (g = r.parent) == null ? void 0 : g.schema), z = be(n, r, h);
1196
+ const n = B(), r = Y("design-item-context"), h = Ot(r.schema, (g = r.parent) == null ? void 0 : g.schema), z = be(n, r, h);
1197
1197
  z.value.canNested = !1;
1198
1198
  const b = ve(n), {
1199
1199
  horizontalResizeHandleStyle: F,
@@ -1234,7 +1234,7 @@ function Ft() {
1234
1234
  basalDragulaRuleForContainer: e
1235
1235
  };
1236
1236
  }
1237
- function Mt(e, t) {
1237
+ function Bt(e, t) {
1238
1238
  const n = e.schema;
1239
1239
  function r(z) {
1240
1240
  return !!Ft().basalDragulaRuleForContainer(z);
@@ -1245,20 +1245,20 @@ function Mt(e, t) {
1245
1245
  }
1246
1246
  return { canAccepts: r, getDesignerClass: h };
1247
1247
  }
1248
- const Bt = /* @__PURE__ */ U({
1248
+ const Dt = /* @__PURE__ */ U({
1249
1249
  name: "FLayoutPaneDesign",
1250
1250
  props: J,
1251
1251
  emits: [],
1252
1252
  setup(e, t) {
1253
- const n = M(), r = M();
1253
+ const n = B(), r = B();
1254
1254
  Y("designer-host-service");
1255
- const h = Y("design-item-context"), z = Mt(h), b = be(r, h, z);
1255
+ const h = Y("design-item-context"), z = Bt(h), b = be(r, h, z);
1256
1256
  b.value.canNested = !1, b.value.canMove = !1, b.value.canDelete = !1, K(() => {
1257
1257
  r.value.componentInstance = b;
1258
1258
  }), t.expose(b.value);
1259
- const F = M(Math.max(e.minHeight, e.height)), j = M(Math.max(e.minWidth, e.width)), s = M(e.minHeight), g = M(e.minWidth), a = M(e.position), u = Y("layout"), {
1259
+ const F = B(Math.max(e.minHeight, e.height)), j = B(Math.max(e.minWidth, e.width)), s = B(e.minHeight), g = B(e.minWidth), a = B(e.position), u = Y("layout"), {
1260
1260
  useResizeHandleComposition: S
1261
- } = u, l = ye(j, F, g, s, S), {
1261
+ } = u, l = de(j, F, g, s, S), {
1262
1262
  onClickHorizontalResizeBar: o,
1263
1263
  onClickVerticalResizeBar: i
1264
1264
  } = l, c = L(() => ({
@@ -1271,13 +1271,13 @@ const Bt = /* @__PURE__ */ U({
1271
1271
  function f(m, v) {
1272
1272
  (v === "left" || v === "right") && o(m, v, n.value), (v === "top" || v === "bottom") && i(m, v, n.value);
1273
1273
  }
1274
- const y = L(() => {
1274
+ const d = L(() => {
1275
1275
  const m = {
1276
1276
  "f-layout-pane": !0,
1277
1277
  "f-page-content-nav": a.value === "left" || a.value === "right",
1278
1278
  "f-page-content-main": a.value === "center"
1279
1279
  };
1280
- return e.customClass && String(e.customClass).split(" ").reduce((v, B) => (v[B] = !0, v), m), m;
1280
+ return e.customClass && String(e.customClass).split(" ").reduce((v, D) => (v[D] = !0, v), m), m;
1281
1281
  }), w = L(() => {
1282
1282
  const m = {
1283
1283
  flex: "1"
@@ -1286,7 +1286,7 @@ const Bt = /* @__PURE__ */ U({
1286
1286
  });
1287
1287
  return () => A("div", {
1288
1288
  ref: n,
1289
- class: y.value,
1289
+ class: d.value,
1290
1290
  style: w.value
1291
1291
  }, [A("div", {
1292
1292
  ref: r,
@@ -1302,10 +1302,10 @@ _.install = (e) => {
1302
1302
  e.component(_.name, _), e.component(X.name, X);
1303
1303
  };
1304
1304
  _.register = (e, t, n, r) => {
1305
- e.layout = _, t.layout = me, e["layout-pane"] = X, t["layout-pane"] = de;
1305
+ e.layout = _, t.layout = me, e["layout-pane"] = X, t["layout-pane"] = ye;
1306
1306
  };
1307
1307
  _.registerDesigner = (e, t, n) => {
1308
- e.layout = wt, t.layout = me, e["layout-pane"] = Bt, t["layout-pane"] = de;
1308
+ e.layout = wt, t.layout = me, e["layout-pane"] = Dt, t["layout-pane"] = ye;
1309
1309
  };
1310
1310
  export {
1311
1311
  _ as FLayout,