feat: custom types can bind a field layout (profile) - layout select in type editor, respected in record form

This commit is contained in:
root
2026-10-17 10:45:04 +08:00
parent 79dada4226
commit 74884ce73a
19 changed files with 109 additions and 92 deletions
+1
View File
@@ -0,0 +1 @@
import{j as s,a}from"./index-C0Fp67iE.js";function i({className:r,...e}){return s.jsx("div",{className:a("rounded-lg border border-line bg-surface shadow-card",r),...e})}function t({title:r,extra:e,className:n}){return s.jsxs("div",{className:a("flex min-h-11 flex-wrap items-center justify-between gap-2 border-b border-line px-4 py-1.5",n),children:[s.jsx("h3",{className:"text-[13px] font-semibold text-ink-1",children:r}),e&&s.jsx("div",{className:"flex flex-wrap items-center gap-2",children:e})]})}function c({className:r,...e}){return s.jsx("div",{className:a("p-4",r),...e})}export{i as C,t as a,c as b};