This commit is contained in:
2024-12-24 15:26:47 +08:00
parent 8a9e65a721
commit 42ceab4b4c
17 changed files with 17 additions and 17 deletions

View File

@@ -295,7 +295,7 @@ const _a = (e, t = {}) => H(() => e == null ? void 0 : e.map(({ widgetByJs: a, w
} }), na = (e, t, a, n, r = {}, i = 0) => {
const s = { "--grid-layout-h": `${n}`, "--grid-layout-w": `${a}`, "--grid-layout-x": `${e}`, "--grid-layout-y": `${t}`, "--grid-layout-row-height-offset": "0px" };
return r != null && r.autoHeight ? s.height = "fit-content" : s["--grid-layout-row"] = `${n}`, r != null && r.alignItems && (s["--grid-layout-box-align-items"] = r.alignItems), r != null && r.justifyContent && (s["--grid-layout-box-justify-content"] = r.justifyContent), s["--grid-layout-box-margin"] = At(r == null ? void 0 : r.marginTop, r == null ? void 0 : r.marginRight, r == null ? void 0 : r.marginBottom, r == null ? void 0 : r.marginLeft), s["--grid-layout-box-padding"] = At(r == null ? void 0 : r.paddingTop, r == null ? void 0 : r.paddingRight, r == null ? void 0 : r.paddingBottom, r == null ? void 0 : r.paddingLeft), i && (s.height = `${i}px`), s;
}, At = (e, t, a, n) => `${e || 0}px ${t || 0}px ${a || 0}px ${n || 0}px`, en = (e = "Input", t = "@pkg/ff/grid-layouts") => e != null && e.startsWith("@") || e != null && e.startsWith("blob:") ? e : `${t}/${e}`, ra = ({ className: e, isConditionFormLayout: t }) => {
}, At = (e, t, a, n) => `${e || 0}px ${t || 0}px ${a || 0}px ${n || 0}px`, en = (e = "Text", t = "@pkg/ff/grid-layouts") => e != null && e.startsWith("@") || e != null && e.startsWith("blob:") ? e : `${t}/${e}`, ra = ({ className: e, isConditionFormLayout: t }) => {
var m, y;
const [a, n] = T({}), { listCode: r, onKeywordChange: i, onConditionChange: s, getBase62params: o, classNames: l } = k.useContext(te), { keyword: c, condition: p } = (o == null ? void 0 : o()) || {}, [g] = _e.useForm();
return L(() => {