[{"data":1,"prerenderedAt":9402,"buildId":9403},["ShallowReactive",2],{"-docs-auto-form-metadata-layout-description":3,"component-example-autoFormAdvancedGlobalMetaExample":16,"component-example-autoFormAdvancedGlobalMetaExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-example-autoFormLayoutAccordionExample":654,"component-example-autoFormLayoutAccordionExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":658,"component-example-autoFormLayoutGridExample":1706,"component-example-autoFormLayoutGridExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":1710,"component-example-autoFormLayoutNestedExample":2572,"component-example-autoFormLayoutNestedExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2576,"component-example-autoFormLayoutResponsiveExample":3541,"component-example-autoFormLayoutResponsiveExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":3545,"component-example-autoFormLayoutSimpleExample":4490,"component-example-autoFormLayoutSimpleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":4494,"component-example-autoFormLayoutTabsExample":5214,"component-example-autoFormLayoutTabsExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":5218,"component-example-autoFormMetadataExample":7105,"component-example-autoFormMetadataExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":7109,"docs--docs-auto-form-metadata-layout":8514,"docs-navigation-zh-CN":9187,"mdc-d0lvp9-key":9383,"surround--docs-auto-form-metadata-layout":9399},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript lang=\"ts\" setup>\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  name: afz.string({ controlProps: { placeholder: '请输入姓名' } }).min(2).meta({ label: '姓名' }),\n  email: afz.email().meta({ label: '邮箱' }),\n  age: afz.number().min(0).max(150).meta({ label: '年龄' }),\n  bio: afz.string({ type: 'textarea', controlProps: { rows: 2 } }).optional().meta({ label: '简介' })\n})\n\nconst form = ref\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Fmetadata\u002FAutoFormAdvancedGlobalMetaExample.vue","AutoFormAdvancedGlobalMetaExample",{"data":21,"body":23,"toc":652},{"title":22,"description":22},"",{"type":6,"children":24},[25,646],{"type":9,"tag":26,"props":27,"children":31},"pre",{"className":28,"code":29,"language":30,"meta":22,"style":22},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript lang=\"ts\" setup>\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  name: afz.string({ controlProps: { placeholder: '请输入姓名' } }).min(2).meta({ label: '姓名' }),\n  email: afz.email().meta({ label: '邮箱' }),\n  age: afz.number().min(0).max(150).meta({ label: '年龄' }),\n  bio: afz.string({ type: 'textarea', controlProps: { rows: 2 } }).optional().meta({ label: '简介' })\n})\n\nconst form = ref\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,111,121,160,168,201,270,306,376,439,448,456,520,537,545,562,630],{"type":9,"tag":37,"props":38,"children":41},"span",{"class":39,"line":40},"line",1,[42,48,54,60,65,71,76],{"type":9,"tag":37,"props":43,"children":45},{"style":44},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[46],{"type":14,"value":47},"\u003C",{"type":9,"tag":37,"props":49,"children":51},{"style":50},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[52],{"type":14,"value":53},"script",{"type":9,"tag":37,"props":55,"children":57},{"style":56},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[58],{"type":14,"value":59}," lang",{"type":9,"tag":37,"props":61,"children":62},{"style":44},[63],{"type":14,"value":64},"=",{"type":9,"tag":37,"props":66,"children":68},{"style":67},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[69],{"type":14,"value":70},"\"ts\"",{"type":9,"tag":37,"props":72,"children":73},{"style":56},[74],{"type":14,"value":75}," setup",{"type":9,"tag":37,"props":77,"children":78},{"style":44},[79],{"type":14,"value":80},">\n",{"type":9,"tag":37,"props":82,"children":84},{"class":39,"line":83},2,[85,91,96,101,106],{"type":9,"tag":37,"props":86,"children":88},{"style":87},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[89],{"type":14,"value":90},"import",{"type":9,"tag":37,"props":92,"children":93},{"style":87},[94],{"type":14,"value":95}," type",{"type":9,"tag":37,"props":97,"children":98},{"style":44},[99],{"type":14,"value":100}," { z } ",{"type":9,"tag":37,"props":102,"children":103},{"style":87},[104],{"type":14,"value":105},"from",{"type":9,"tag":37,"props":107,"children":108},{"style":67},[109],{"type":14,"value":110}," 'zod'\n",{"type":9,"tag":37,"props":112,"children":114},{"class":39,"line":113},3,[115],{"type":9,"tag":37,"props":116,"children":118},{"emptyLinePlaceholder":117},true,[119],{"type":14,"value":120},"\n",{"type":9,"tag":37,"props":122,"children":124},{"class":39,"line":123},4,[125,130,135,141,146,150,155],{"type":9,"tag":37,"props":126,"children":127},{"style":87},[128],{"type":14,"value":129},"const",{"type":9,"tag":37,"props":131,"children":132},{"style":44},[133],{"type":14,"value":134}," { ",{"type":9,"tag":37,"props":136,"children":138},{"style":137},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[139],{"type":14,"value":140},"afz",{"type":9,"tag":37,"props":142,"children":143},{"style":44},[144],{"type":14,"value":145}," } ",{"type":9,"tag":37,"props":147,"children":148},{"style":87},[149],{"type":14,"value":64},{"type":9,"tag":37,"props":151,"children":152},{"style":56},[153],{"type":14,"value":154}," useAutoForm",{"type":9,"tag":37,"props":156,"children":157},{"style":44},[158],{"type":14,"value":159},"()\n",{"type":9,"tag":37,"props":161,"children":163},{"class":39,"line":162},5,[164],{"type":9,"tag":37,"props":165,"children":166},{"emptyLinePlaceholder":117},[167],{"type":14,"value":120},{"type":9,"tag":37,"props":169,"children":171},{"class":39,"line":170},6,[172,176,181,186,191,196],{"type":9,"tag":37,"props":173,"children":174},{"style":87},[175],{"type":14,"value":129},{"type":9,"tag":37,"props":177,"children":178},{"style":137},[179],{"type":14,"value":180}," schema",{"type":9,"tag":37,"props":182,"children":183},{"style":87},[184],{"type":14,"value":185}," =",{"type":9,"tag":37,"props":187,"children":188},{"style":44},[189],{"type":14,"value":190}," afz.",{"type":9,"tag":37,"props":192,"children":193},{"style":56},[194],{"type":14,"value":195},"object",{"type":9,"tag":37,"props":197,"children":198},{"style":44},[199],{"type":14,"value":200},"({\n",{"type":9,"tag":37,"props":202,"children":204},{"class":39,"line":203},7,[205,210,215,220,225,230,235,240,245,250,255,260,265],{"type":9,"tag":37,"props":206,"children":207},{"style":44},[208],{"type":14,"value":209},"  name: afz.",{"type":9,"tag":37,"props":211,"children":212},{"style":56},[213],{"type":14,"value":214},"string",{"type":9,"tag":37,"props":216,"children":217},{"style":44},[218],{"type":14,"value":219},"({ controlProps: { placeholder: ",{"type":9,"tag":37,"props":221,"children":222},{"style":67},[223],{"type":14,"value":224},"'请输入姓名'",{"type":9,"tag":37,"props":226,"children":227},{"style":44},[228],{"type":14,"value":229}," } }).",{"type":9,"tag":37,"props":231,"children":232},{"style":56},[233],{"type":14,"value":234},"min",{"type":9,"tag":37,"props":236,"children":237},{"style":44},[238],{"type":14,"value":239},"(",{"type":9,"tag":37,"props":241,"children":242},{"style":137},[243],{"type":14,"value":244},"2",{"type":9,"tag":37,"props":246,"children":247},{"style":44},[248],{"type":14,"value":249},").",{"type":9,"tag":37,"props":251,"children":252},{"style":56},[253],{"type":14,"value":254},"meta",{"type":9,"tag":37,"props":256,"children":257},{"style":44},[258],{"type":14,"value":259},"({ label: ",{"type":9,"tag":37,"props":261,"children":262},{"style":67},[263],{"type":14,"value":264},"'姓名'",{"type":9,"tag":37,"props":266,"children":267},{"style":44},[268],{"type":14,"value":269}," }),\n",{"type":9,"tag":37,"props":271,"children":273},{"class":39,"line":272},8,[274,279,284,289,293,297,302],{"type":9,"tag":37,"props":275,"children":276},{"style":44},[277],{"type":14,"value":278},"  email: afz.",{"type":9,"tag":37,"props":280,"children":281},{"style":56},[282],{"type":14,"value":283},"email",{"type":9,"tag":37,"props":285,"children":286},{"style":44},[287],{"type":14,"value":288},"().",{"type":9,"tag":37,"props":290,"children":291},{"style":56},[292],{"type":14,"value":254},{"type":9,"tag":37,"props":294,"children":295},{"style":44},[296],{"type":14,"value":259},{"type":9,"tag":37,"props":298,"children":299},{"style":67},[300],{"type":14,"value":301},"'邮箱'",{"type":9,"tag":37,"props":303,"children":304},{"style":44},[305],{"type":14,"value":269},{"type":9,"tag":37,"props":307,"children":309},{"class":39,"line":308},9,[310,315,320,324,328,332,337,341,346,350,355,359,363,367,372],{"type":9,"tag":37,"props":311,"children":312},{"style":44},[313],{"type":14,"value":314},"  age: afz.",{"type":9,"tag":37,"props":316,"children":317},{"style":56},[318],{"type":14,"value":319},"number",{"type":9,"tag":37,"props":321,"children":322},{"style":44},[323],{"type":14,"value":288},{"type":9,"tag":37,"props":325,"children":326},{"style":56},[327],{"type":14,"value":234},{"type":9,"tag":37,"props":329,"children":330},{"style":44},[331],{"type":14,"value":239},{"type":9,"tag":37,"props":333,"children":334},{"style":137},[335],{"type":14,"value":336},"0",{"type":9,"tag":37,"props":338,"children":339},{"style":44},[340],{"type":14,"value":249},{"type":9,"tag":37,"props":342,"children":343},{"style":56},[344],{"type":14,"value":345},"max",{"type":9,"tag":37,"props":347,"children":348},{"style":44},[349],{"type":14,"value":239},{"type":9,"tag":37,"props":351,"children":352},{"style":137},[353],{"type":14,"value":354},"150",{"type":9,"tag":37,"props":356,"children":357},{"style":44},[358],{"type":14,"value":249},{"type":9,"tag":37,"props":360,"children":361},{"style":56},[362],{"type":14,"value":254},{"type":9,"tag":37,"props":364,"children":365},{"style":44},[366],{"type":14,"value":259},{"type":9,"tag":37,"props":368,"children":369},{"style":67},[370],{"type":14,"value":371},"'年龄'",{"type":9,"tag":37,"props":373,"children":374},{"style":44},[375],{"type":14,"value":269},{"type":9,"tag":37,"props":377,"children":379},{"class":39,"line":378},10,[380,385,389,394,399,404,408,412,417,421,425,429,434],{"type":9,"tag":37,"props":381,"children":382},{"style":44},[383],{"type":14,"value":384},"  bio: afz.",{"type":9,"tag":37,"props":386,"children":387},{"style":56},[388],{"type":14,"value":214},{"type":9,"tag":37,"props":390,"children":391},{"style":44},[392],{"type":14,"value":393},"({ type: ",{"type":9,"tag":37,"props":395,"children":396},{"style":67},[397],{"type":14,"value":398},"'textarea'",{"type":9,"tag":37,"props":400,"children":401},{"style":44},[402],{"type":14,"value":403},", controlProps: { rows: ",{"type":9,"tag":37,"props":405,"children":406},{"style":137},[407],{"type":14,"value":244},{"type":9,"tag":37,"props":409,"children":410},{"style":44},[411],{"type":14,"value":229},{"type":9,"tag":37,"props":413,"children":414},{"style":56},[415],{"type":14,"value":416},"optional",{"type":9,"tag":37,"props":418,"children":419},{"style":44},[420],{"type":14,"value":288},{"type":9,"tag":37,"props":422,"children":423},{"style":56},[424],{"type":14,"value":254},{"type":9,"tag":37,"props":426,"children":427},{"style":44},[428],{"type":14,"value":259},{"type":9,"tag":37,"props":430,"children":431},{"style":67},[432],{"type":14,"value":433},"'简介'",{"type":9,"tag":37,"props":435,"children":436},{"style":44},[437],{"type":14,"value":438}," })\n",{"type":9,"tag":37,"props":440,"children":442},{"class":39,"line":441},11,[443],{"type":9,"tag":37,"props":444,"children":445},{"style":44},[446],{"type":14,"value":447},"})\n",{"type":9,"tag":37,"props":449,"children":451},{"class":39,"line":450},12,[452],{"type":9,"tag":37,"props":453,"children":454},{"emptyLinePlaceholder":117},[455],{"type":14,"value":120},{"type":9,"tag":37,"props":457,"children":459},{"class":39,"line":458},13,[460,464,469,473,478,482,487,491,496,501,506,510,515],{"type":9,"tag":37,"props":461,"children":462},{"style":87},[463],{"type":14,"value":129},{"type":9,"tag":37,"props":465,"children":466},{"style":137},[467],{"type":14,"value":468}," form",{"type":9,"tag":37,"props":470,"children":471},{"style":87},[472],{"type":14,"value":185},{"type":9,"tag":37,"props":474,"children":475},{"style":56},[476],{"type":14,"value":477}," ref",{"type":9,"tag":37,"props":479,"children":480},{"style":44},[481],{"type":14,"value":47},{"type":9,"tag":37,"props":483,"children":484},{"style":56},[485],{"type":14,"value":486},"Partial",{"type":9,"tag":37,"props":488,"children":489},{"style":44},[490],{"type":14,"value":47},{"type":9,"tag":37,"props":492,"children":493},{"style":56},[494],{"type":14,"value":495},"z",{"type":9,"tag":37,"props":497,"children":498},{"style":44},[499],{"type":14,"value":500},".",{"type":9,"tag":37,"props":502,"children":503},{"style":56},[504],{"type":14,"value":505},"output",{"type":9,"tag":37,"props":507,"children":508},{"style":44},[509],{"type":14,"value":47},{"type":9,"tag":37,"props":511,"children":512},{"style":87},[513],{"type":14,"value":514},"typeof",{"type":9,"tag":37,"props":516,"children":517},{"style":44},[518],{"type":14,"value":519}," schema>>>({})\n",{"type":9,"tag":37,"props":521,"children":523},{"class":39,"line":522},14,[524,529,533],{"type":9,"tag":37,"props":525,"children":526},{"style":44},[527],{"type":14,"value":528},"\u003C\u002F",{"type":9,"tag":37,"props":530,"children":531},{"style":50},[532],{"type":14,"value":53},{"type":9,"tag":37,"props":534,"children":535},{"style":44},[536],{"type":14,"value":80},{"type":9,"tag":37,"props":538,"children":540},{"class":39,"line":539},15,[541],{"type":9,"tag":37,"props":542,"children":543},{"emptyLinePlaceholder":117},[544],{"type":14,"value":120},{"type":9,"tag":37,"props":546,"children":548},{"class":39,"line":547},16,[549,553,558],{"type":9,"tag":37,"props":550,"children":551},{"style":44},[552],{"type":14,"value":47},{"type":9,"tag":37,"props":554,"children":555},{"style":50},[556],{"type":14,"value":557},"template",{"type":9,"tag":37,"props":559,"children":560},{"style":44},[561],{"type":14,"value":80},{"type":9,"tag":37,"props":563,"children":565},{"class":39,"line":564},17,[566,571,576,581,585,590,595,599,604,609,613,617,621,625],{"type":9,"tag":37,"props":567,"children":568},{"style":44},[569],{"type":14,"value":570},"  \u003C",{"type":9,"tag":37,"props":572,"children":573},{"style":50},[574],{"type":14,"value":575},"MAutoForm",{"type":9,"tag":37,"props":577,"children":578},{"style":56},[579],{"type":14,"value":580}," v-model",{"type":9,"tag":37,"props":582,"children":583},{"style":44},[584],{"type":14,"value":64},{"type":9,"tag":37,"props":586,"children":587},{"style":67},[588],{"type":14,"value":589},"\"",{"type":9,"tag":37,"props":591,"children":592},{"style":44},[593],{"type":14,"value":594},"form",{"type":9,"tag":37,"props":596,"children":597},{"style":67},[598],{"type":14,"value":589},{"type":9,"tag":37,"props":600,"children":601},{"style":44},[602],{"type":14,"value":603}," :",{"type":9,"tag":37,"props":605,"children":606},{"style":56},[607],{"type":14,"value":608},"schema",{"type":9,"tag":37,"props":610,"children":611},{"style":44},[612],{"type":14,"value":64},{"type":9,"tag":37,"props":614,"children":615},{"style":67},[616],{"type":14,"value":589},{"type":9,"tag":37,"props":618,"children":619},{"style":44},[620],{"type":14,"value":608},{"type":9,"tag":37,"props":622,"children":623},{"style":67},[624],{"type":14,"value":589},{"type":9,"tag":37,"props":626,"children":627},{"style":44},[628],{"type":14,"value":629}," \u002F>\n",{"type":9,"tag":37,"props":631,"children":633},{"class":39,"line":632},18,[634,638,642],{"type":9,"tag":37,"props":635,"children":636},{"style":44},[637],{"type":14,"value":528},{"type":9,"tag":37,"props":639,"children":640},{"style":50},[641],{"type":14,"value":557},{"type":9,"tag":37,"props":643,"children":644},{"style":44},[645],{"type":14,"value":80},{"type":9,"tag":647,"props":648,"children":649},"style",{},[650],{"type":14,"value":651},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":22,"searchDepth":83,"depth":83,"links":653},[],{"code":655,"filePath":656,"pascalName":657},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { UAccordion } from '#components'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $accordion: afz.layout({\n    component: UAccordion,\n    props: {\n      type: 'multiple',\n      ui: {\n        content: 'space-y-4'\n      },\n      items: [\n        { label: '基本信息', icon: 'i-lucide-user', slot: 'item-0' },\n        { label: '详细信息', icon: 'i-lucide-square-pen', slot: 'item-1' }\n      ]\n    },\n    fieldSlots: {\n      name: 'item-0',\n      email: 'item-0',\n      bio: 'item-1'\n    },\n    fields: {\n      name: afz.string().meta({ label: '姓名' }),\n      email: afz.email().meta({ label: '邮箱' }),\n      bio: afz.string({ type: 'textarea' }).meta({ label: '个人简介' }).optional()\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutAccordionExample.vue","AutoFormLayoutAccordionExample",{"data":659,"body":660,"toc":1704},{"title":22,"description":22},{"type":6,"children":661},[662,1700],{"type":9,"tag":663,"props":664,"children":665},"code-collapse",{},[666],{"type":9,"tag":26,"props":667,"children":669},{"className":28,"code":668,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { UAccordion } from '#components'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $accordion: afz.layout({\n    component: UAccordion,\n    props: {\n      type: 'multiple',\n      ui: {\n        content: 'space-y-4'\n      },\n      items: [\n        { label: '基本信息', icon: 'i-lucide-user', slot: 'item-0' },\n        { label: '详细信息', icon: 'i-lucide-square-pen', slot: 'item-1' }\n      ]\n    },\n    fieldSlots: {\n      name: 'item-0',\n      email: 'item-0',\n      bio: 'item-1'\n    },\n    fields: {\n      name: afz.string().meta({ label: '姓名' }),\n      email: afz.email().meta({ label: '邮箱' }),\n      bio: afz.string({ type: 'textarea' }).meta({ label: '个人简介' }).optional()\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[670],{"type":9,"tag":33,"props":671,"children":672},{"__ignoreMap":22},[673,704,729,752,773,780,811,836,843,870,887,895,903,921,929,942,950,958,1002,1042,1051,1060,1069,1086,1103,1117,1125,1134,1167,1200,1251,1260,1269,1277,1285,1329,1337,1379,1387,1439,1457,1475,1493,1540,1548,1557,1573,1581,1597,1684],{"type":9,"tag":37,"props":674,"children":675},{"class":39,"line":40},[676,680,684,688,692,696,700],{"type":9,"tag":37,"props":677,"children":678},{"style":44},[679],{"type":14,"value":47},{"type":9,"tag":37,"props":681,"children":682},{"style":50},[683],{"type":14,"value":53},{"type":9,"tag":37,"props":685,"children":686},{"style":56},[687],{"type":14,"value":75},{"type":9,"tag":37,"props":689,"children":690},{"style":56},[691],{"type":14,"value":59},{"type":9,"tag":37,"props":693,"children":694},{"style":44},[695],{"type":14,"value":64},{"type":9,"tag":37,"props":697,"children":698},{"style":67},[699],{"type":14,"value":70},{"type":9,"tag":37,"props":701,"children":702},{"style":44},[703],{"type":14,"value":80},{"type":9,"tag":37,"props":705,"children":706},{"class":39,"line":83},[707,711,715,720,724],{"type":9,"tag":37,"props":708,"children":709},{"style":87},[710],{"type":14,"value":90},{"type":9,"tag":37,"props":712,"children":713},{"style":87},[714],{"type":14,"value":95},{"type":9,"tag":37,"props":716,"children":717},{"style":44},[718],{"type":14,"value":719}," { FormSubmitEvent } ",{"type":9,"tag":37,"props":721,"children":722},{"style":87},[723],{"type":14,"value":105},{"type":9,"tag":37,"props":725,"children":726},{"style":67},[727],{"type":14,"value":728}," '@nuxt\u002Fui'\n",{"type":9,"tag":37,"props":730,"children":731},{"class":39,"line":113},[732,736,740,744,748],{"type":9,"tag":37,"props":733,"children":734},{"style":87},[735],{"type":14,"value":90},{"type":9,"tag":37,"props":737,"children":738},{"style":87},[739],{"type":14,"value":95},{"type":9,"tag":37,"props":741,"children":742},{"style":44},[743],{"type":14,"value":100},{"type":9,"tag":37,"props":745,"children":746},{"style":87},[747],{"type":14,"value":105},{"type":9,"tag":37,"props":749,"children":750},{"style":67},[751],{"type":14,"value":110},{"type":9,"tag":37,"props":753,"children":754},{"class":39,"line":123},[755,759,764,768],{"type":9,"tag":37,"props":756,"children":757},{"style":87},[758],{"type":14,"value":90},{"type":9,"tag":37,"props":760,"children":761},{"style":44},[762],{"type":14,"value":763}," { UAccordion } ",{"type":9,"tag":37,"props":765,"children":766},{"style":87},[767],{"type":14,"value":105},{"type":9,"tag":37,"props":769,"children":770},{"style":67},[771],{"type":14,"value":772}," '#components'\n",{"type":9,"tag":37,"props":774,"children":775},{"class":39,"line":162},[776],{"type":9,"tag":37,"props":777,"children":778},{"emptyLinePlaceholder":117},[779],{"type":14,"value":120},{"type":9,"tag":37,"props":781,"children":782},{"class":39,"line":170},[783,787,791,795,799,803,807],{"type":9,"tag":37,"props":784,"children":785},{"style":87},[786],{"type":14,"value":129},{"type":9,"tag":37,"props":788,"children":789},{"style":44},[790],{"type":14,"value":134},{"type":9,"tag":37,"props":792,"children":793},{"style":137},[794],{"type":14,"value":140},{"type":9,"tag":37,"props":796,"children":797},{"style":44},[798],{"type":14,"value":145},{"type":9,"tag":37,"props":800,"children":801},{"style":87},[802],{"type":14,"value":64},{"type":9,"tag":37,"props":804,"children":805},{"style":56},[806],{"type":14,"value":154},{"type":9,"tag":37,"props":808,"children":809},{"style":44},[810],{"type":14,"value":159},{"type":9,"tag":37,"props":812,"children":813},{"class":39,"line":203},[814,818,823,827,832],{"type":9,"tag":37,"props":815,"children":816},{"style":87},[817],{"type":14,"value":129},{"type":9,"tag":37,"props":819,"children":820},{"style":137},[821],{"type":14,"value":822}," toast",{"type":9,"tag":37,"props":824,"children":825},{"style":87},[826],{"type":14,"value":185},{"type":9,"tag":37,"props":828,"children":829},{"style":56},[830],{"type":14,"value":831}," useToast",{"type":9,"tag":37,"props":833,"children":834},{"style":44},[835],{"type":14,"value":159},{"type":9,"tag":37,"props":837,"children":838},{"class":39,"line":272},[839],{"type":9,"tag":37,"props":840,"children":841},{"emptyLinePlaceholder":117},[842],{"type":14,"value":120},{"type":9,"tag":37,"props":844,"children":845},{"class":39,"line":308},[846,850,854,858,862,866],{"type":9,"tag":37,"props":847,"children":848},{"style":87},[849],{"type":14,"value":129},{"type":9,"tag":37,"props":851,"children":852},{"style":137},[853],{"type":14,"value":180},{"type":9,"tag":37,"props":855,"children":856},{"style":87},[857],{"type":14,"value":185},{"type":9,"tag":37,"props":859,"children":860},{"style":44},[861],{"type":14,"value":190},{"type":9,"tag":37,"props":863,"children":864},{"style":56},[865],{"type":14,"value":195},{"type":9,"tag":37,"props":867,"children":868},{"style":44},[869],{"type":14,"value":200},{"type":9,"tag":37,"props":871,"children":872},{"class":39,"line":378},[873,878,883],{"type":9,"tag":37,"props":874,"children":875},{"style":44},[876],{"type":14,"value":877},"  $accordion: afz.",{"type":9,"tag":37,"props":879,"children":880},{"style":56},[881],{"type":14,"value":882},"layout",{"type":9,"tag":37,"props":884,"children":885},{"style":44},[886],{"type":14,"value":200},{"type":9,"tag":37,"props":888,"children":889},{"class":39,"line":441},[890],{"type":9,"tag":37,"props":891,"children":892},{"style":44},[893],{"type":14,"value":894},"    component: UAccordion,\n",{"type":9,"tag":37,"props":896,"children":897},{"class":39,"line":450},[898],{"type":9,"tag":37,"props":899,"children":900},{"style":44},[901],{"type":14,"value":902},"    props: {\n",{"type":9,"tag":37,"props":904,"children":905},{"class":39,"line":458},[906,911,916],{"type":9,"tag":37,"props":907,"children":908},{"style":44},[909],{"type":14,"value":910},"      type: ",{"type":9,"tag":37,"props":912,"children":913},{"style":67},[914],{"type":14,"value":915},"'multiple'",{"type":9,"tag":37,"props":917,"children":918},{"style":44},[919],{"type":14,"value":920},",\n",{"type":9,"tag":37,"props":922,"children":923},{"class":39,"line":522},[924],{"type":9,"tag":37,"props":925,"children":926},{"style":44},[927],{"type":14,"value":928},"      ui: {\n",{"type":9,"tag":37,"props":930,"children":931},{"class":39,"line":539},[932,937],{"type":9,"tag":37,"props":933,"children":934},{"style":44},[935],{"type":14,"value":936},"        content: ",{"type":9,"tag":37,"props":938,"children":939},{"style":67},[940],{"type":14,"value":941},"'space-y-4'\n",{"type":9,"tag":37,"props":943,"children":944},{"class":39,"line":547},[945],{"type":9,"tag":37,"props":946,"children":947},{"style":44},[948],{"type":14,"value":949},"      },\n",{"type":9,"tag":37,"props":951,"children":952},{"class":39,"line":564},[953],{"type":9,"tag":37,"props":954,"children":955},{"style":44},[956],{"type":14,"value":957},"      items: [\n",{"type":9,"tag":37,"props":959,"children":960},{"class":39,"line":632},[961,966,971,976,987,992,997],{"type":9,"tag":37,"props":962,"children":963},{"style":44},[964],{"type":14,"value":965},"        { label: ",{"type":9,"tag":37,"props":967,"children":968},{"style":67},[969],{"type":14,"value":970},"'基本信息'",{"type":9,"tag":37,"props":972,"children":973},{"style":44},[974],{"type":14,"value":975},", icon: ",{"type":9,"tag":37,"props":977,"children":978},{"style":67},[979,985],{"type":9,"tag":980,"props":981,"children":984},"i",{"class":982,"style":983},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fuser.svg?color=%23000)",[],{"type":14,"value":986},"'i-lucide-user'",{"type":9,"tag":37,"props":988,"children":989},{"style":44},[990],{"type":14,"value":991},", slot: ",{"type":9,"tag":37,"props":993,"children":994},{"style":67},[995],{"type":14,"value":996},"'item-0'",{"type":9,"tag":37,"props":998,"children":999},{"style":44},[1000],{"type":14,"value":1001}," },\n",{"type":9,"tag":37,"props":1003,"children":1005},{"class":39,"line":1004},19,[1006,1010,1015,1019,1028,1032,1037],{"type":9,"tag":37,"props":1007,"children":1008},{"style":44},[1009],{"type":14,"value":965},{"type":9,"tag":37,"props":1011,"children":1012},{"style":67},[1013],{"type":14,"value":1014},"'详细信息'",{"type":9,"tag":37,"props":1016,"children":1017},{"style":44},[1018],{"type":14,"value":975},{"type":9,"tag":37,"props":1020,"children":1021},{"style":67},[1022,1026],{"type":9,"tag":980,"props":1023,"children":1025},{"class":982,"style":1024},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fsquare-pen.svg?color=%23000)",[],{"type":14,"value":1027},"'i-lucide-square-pen'",{"type":9,"tag":37,"props":1029,"children":1030},{"style":44},[1031],{"type":14,"value":991},{"type":9,"tag":37,"props":1033,"children":1034},{"style":67},[1035],{"type":14,"value":1036},"'item-1'",{"type":9,"tag":37,"props":1038,"children":1039},{"style":44},[1040],{"type":14,"value":1041}," }\n",{"type":9,"tag":37,"props":1043,"children":1045},{"class":39,"line":1044},20,[1046],{"type":9,"tag":37,"props":1047,"children":1048},{"style":44},[1049],{"type":14,"value":1050},"      ]\n",{"type":9,"tag":37,"props":1052,"children":1054},{"class":39,"line":1053},21,[1055],{"type":9,"tag":37,"props":1056,"children":1057},{"style":44},[1058],{"type":14,"value":1059},"    },\n",{"type":9,"tag":37,"props":1061,"children":1063},{"class":39,"line":1062},22,[1064],{"type":9,"tag":37,"props":1065,"children":1066},{"style":44},[1067],{"type":14,"value":1068},"    fieldSlots: {\n",{"type":9,"tag":37,"props":1070,"children":1072},{"class":39,"line":1071},23,[1073,1078,1082],{"type":9,"tag":37,"props":1074,"children":1075},{"style":44},[1076],{"type":14,"value":1077},"      name: ",{"type":9,"tag":37,"props":1079,"children":1080},{"style":67},[1081],{"type":14,"value":996},{"type":9,"tag":37,"props":1083,"children":1084},{"style":44},[1085],{"type":14,"value":920},{"type":9,"tag":37,"props":1087,"children":1089},{"class":39,"line":1088},24,[1090,1095,1099],{"type":9,"tag":37,"props":1091,"children":1092},{"style":44},[1093],{"type":14,"value":1094},"      email: ",{"type":9,"tag":37,"props":1096,"children":1097},{"style":67},[1098],{"type":14,"value":996},{"type":9,"tag":37,"props":1100,"children":1101},{"style":44},[1102],{"type":14,"value":920},{"type":9,"tag":37,"props":1104,"children":1106},{"class":39,"line":1105},25,[1107,1112],{"type":9,"tag":37,"props":1108,"children":1109},{"style":44},[1110],{"type":14,"value":1111},"      bio: ",{"type":9,"tag":37,"props":1113,"children":1114},{"style":67},[1115],{"type":14,"value":1116},"'item-1'\n",{"type":9,"tag":37,"props":1118,"children":1120},{"class":39,"line":1119},26,[1121],{"type":9,"tag":37,"props":1122,"children":1123},{"style":44},[1124],{"type":14,"value":1059},{"type":9,"tag":37,"props":1126,"children":1128},{"class":39,"line":1127},27,[1129],{"type":9,"tag":37,"props":1130,"children":1131},{"style":44},[1132],{"type":14,"value":1133},"    fields: {\n",{"type":9,"tag":37,"props":1135,"children":1137},{"class":39,"line":1136},28,[1138,1143,1147,1151,1155,1159,1163],{"type":9,"tag":37,"props":1139,"children":1140},{"style":44},[1141],{"type":14,"value":1142},"      name: afz.",{"type":9,"tag":37,"props":1144,"children":1145},{"style":56},[1146],{"type":14,"value":214},{"type":9,"tag":37,"props":1148,"children":1149},{"style":44},[1150],{"type":14,"value":288},{"type":9,"tag":37,"props":1152,"children":1153},{"style":56},[1154],{"type":14,"value":254},{"type":9,"tag":37,"props":1156,"children":1157},{"style":44},[1158],{"type":14,"value":259},{"type":9,"tag":37,"props":1160,"children":1161},{"style":67},[1162],{"type":14,"value":264},{"type":9,"tag":37,"props":1164,"children":1165},{"style":44},[1166],{"type":14,"value":269},{"type":9,"tag":37,"props":1168,"children":1170},{"class":39,"line":1169},29,[1171,1176,1180,1184,1188,1192,1196],{"type":9,"tag":37,"props":1172,"children":1173},{"style":44},[1174],{"type":14,"value":1175},"      email: afz.",{"type":9,"tag":37,"props":1177,"children":1178},{"style":56},[1179],{"type":14,"value":283},{"type":9,"tag":37,"props":1181,"children":1182},{"style":44},[1183],{"type":14,"value":288},{"type":9,"tag":37,"props":1185,"children":1186},{"style":56},[1187],{"type":14,"value":254},{"type":9,"tag":37,"props":1189,"children":1190},{"style":44},[1191],{"type":14,"value":259},{"type":9,"tag":37,"props":1193,"children":1194},{"style":67},[1195],{"type":14,"value":301},{"type":9,"tag":37,"props":1197,"children":1198},{"style":44},[1199],{"type":14,"value":269},{"type":9,"tag":37,"props":1201,"children":1203},{"class":39,"line":1202},30,[1204,1209,1213,1217,1221,1226,1230,1234,1239,1243,1247],{"type":9,"tag":37,"props":1205,"children":1206},{"style":44},[1207],{"type":14,"value":1208},"      bio: afz.",{"type":9,"tag":37,"props":1210,"children":1211},{"style":56},[1212],{"type":14,"value":214},{"type":9,"tag":37,"props":1214,"children":1215},{"style":44},[1216],{"type":14,"value":393},{"type":9,"tag":37,"props":1218,"children":1219},{"style":67},[1220],{"type":14,"value":398},{"type":9,"tag":37,"props":1222,"children":1223},{"style":44},[1224],{"type":14,"value":1225}," }).",{"type":9,"tag":37,"props":1227,"children":1228},{"style":56},[1229],{"type":14,"value":254},{"type":9,"tag":37,"props":1231,"children":1232},{"style":44},[1233],{"type":14,"value":259},{"type":9,"tag":37,"props":1235,"children":1236},{"style":67},[1237],{"type":14,"value":1238},"'个人简介'",{"type":9,"tag":37,"props":1240,"children":1241},{"style":44},[1242],{"type":14,"value":1225},{"type":9,"tag":37,"props":1244,"children":1245},{"style":56},[1246],{"type":14,"value":416},{"type":9,"tag":37,"props":1248,"children":1249},{"style":44},[1250],{"type":14,"value":159},{"type":9,"tag":37,"props":1252,"children":1254},{"class":39,"line":1253},31,[1255],{"type":9,"tag":37,"props":1256,"children":1257},{"style":44},[1258],{"type":14,"value":1259},"    }\n",{"type":9,"tag":37,"props":1261,"children":1263},{"class":39,"line":1262},32,[1264],{"type":9,"tag":37,"props":1265,"children":1266},{"style":44},[1267],{"type":14,"value":1268},"  })\n",{"type":9,"tag":37,"props":1270,"children":1272},{"class":39,"line":1271},33,[1273],{"type":9,"tag":37,"props":1274,"children":1275},{"style":44},[1276],{"type":14,"value":447},{"type":9,"tag":37,"props":1278,"children":1280},{"class":39,"line":1279},34,[1281],{"type":9,"tag":37,"props":1282,"children":1283},{"emptyLinePlaceholder":117},[1284],{"type":14,"value":120},{"type":9,"tag":37,"props":1286,"children":1288},{"class":39,"line":1287},35,[1289,1294,1299,1303,1308,1312,1316,1320,1324],{"type":9,"tag":37,"props":1290,"children":1291},{"style":87},[1292],{"type":14,"value":1293},"type",{"type":9,"tag":37,"props":1295,"children":1296},{"style":56},[1297],{"type":14,"value":1298}," Schema",{"type":9,"tag":37,"props":1300,"children":1301},{"style":87},[1302],{"type":14,"value":185},{"type":9,"tag":37,"props":1304,"children":1305},{"style":56},[1306],{"type":14,"value":1307}," z",{"type":9,"tag":37,"props":1309,"children":1310},{"style":44},[1311],{"type":14,"value":500},{"type":9,"tag":37,"props":1313,"children":1314},{"style":56},[1315],{"type":14,"value":505},{"type":9,"tag":37,"props":1317,"children":1318},{"style":44},[1319],{"type":14,"value":47},{"type":9,"tag":37,"props":1321,"children":1322},{"style":87},[1323],{"type":14,"value":514},{"type":9,"tag":37,"props":1325,"children":1326},{"style":44},[1327],{"type":14,"value":1328}," schema>\n",{"type":9,"tag":37,"props":1330,"children":1332},{"class":39,"line":1331},36,[1333],{"type":9,"tag":37,"props":1334,"children":1335},{"emptyLinePlaceholder":117},[1336],{"type":14,"value":120},{"type":9,"tag":37,"props":1338,"children":1340},{"class":39,"line":1339},37,[1341,1345,1349,1353,1357,1361,1365,1369,1374],{"type":9,"tag":37,"props":1342,"children":1343},{"style":87},[1344],{"type":14,"value":129},{"type":9,"tag":37,"props":1346,"children":1347},{"style":137},[1348],{"type":14,"value":468},{"type":9,"tag":37,"props":1350,"children":1351},{"style":87},[1352],{"type":14,"value":185},{"type":9,"tag":37,"props":1354,"children":1355},{"style":56},[1356],{"type":14,"value":477},{"type":9,"tag":37,"props":1358,"children":1359},{"style":44},[1360],{"type":14,"value":47},{"type":9,"tag":37,"props":1362,"children":1363},{"style":56},[1364],{"type":14,"value":486},{"type":9,"tag":37,"props":1366,"children":1367},{"style":44},[1368],{"type":14,"value":47},{"type":9,"tag":37,"props":1370,"children":1371},{"style":56},[1372],{"type":14,"value":1373},"Schema",{"type":9,"tag":37,"props":1375,"children":1376},{"style":44},[1377],{"type":14,"value":1378},">>({})\n",{"type":9,"tag":37,"props":1380,"children":1382},{"class":39,"line":1381},38,[1383],{"type":9,"tag":37,"props":1384,"children":1385},{"emptyLinePlaceholder":117},[1386],{"type":14,"value":120},{"type":9,"tag":37,"props":1388,"children":1390},{"class":39,"line":1389},39,[1391,1396,1401,1406,1410,1416,1421,1426,1430,1434],{"type":9,"tag":37,"props":1392,"children":1393},{"style":87},[1394],{"type":14,"value":1395},"async",{"type":9,"tag":37,"props":1397,"children":1398},{"style":87},[1399],{"type":14,"value":1400}," function",{"type":9,"tag":37,"props":1402,"children":1403},{"style":56},[1404],{"type":14,"value":1405}," onSubmit",{"type":9,"tag":37,"props":1407,"children":1408},{"style":44},[1409],{"type":14,"value":239},{"type":9,"tag":37,"props":1411,"children":1413},{"style":1412},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[1414],{"type":14,"value":1415},"event",{"type":9,"tag":37,"props":1417,"children":1418},{"style":87},[1419],{"type":14,"value":1420},":",{"type":9,"tag":37,"props":1422,"children":1423},{"style":56},[1424],{"type":14,"value":1425}," FormSubmitEvent",{"type":9,"tag":37,"props":1427,"children":1428},{"style":44},[1429],{"type":14,"value":47},{"type":9,"tag":37,"props":1431,"children":1432},{"style":56},[1433],{"type":14,"value":1373},{"type":9,"tag":37,"props":1435,"children":1436},{"style":44},[1437],{"type":14,"value":1438},">) {\n",{"type":9,"tag":37,"props":1440,"children":1442},{"class":39,"line":1441},40,[1443,1448,1453],{"type":9,"tag":37,"props":1444,"children":1445},{"style":44},[1446],{"type":14,"value":1447},"  toast.",{"type":9,"tag":37,"props":1449,"children":1450},{"style":56},[1451],{"type":14,"value":1452},"add",{"type":9,"tag":37,"props":1454,"children":1455},{"style":44},[1456],{"type":14,"value":200},{"type":9,"tag":37,"props":1458,"children":1460},{"class":39,"line":1459},41,[1461,1466,1471],{"type":9,"tag":37,"props":1462,"children":1463},{"style":44},[1464],{"type":14,"value":1465},"    title: ",{"type":9,"tag":37,"props":1467,"children":1468},{"style":67},[1469],{"type":14,"value":1470},"'提交成功'",{"type":9,"tag":37,"props":1472,"children":1473},{"style":44},[1474],{"type":14,"value":920},{"type":9,"tag":37,"props":1476,"children":1478},{"class":39,"line":1477},42,[1479,1484,1489],{"type":9,"tag":37,"props":1480,"children":1481},{"style":44},[1482],{"type":14,"value":1483},"    color: ",{"type":9,"tag":37,"props":1485,"children":1486},{"style":67},[1487],{"type":14,"value":1488},"'success'",{"type":9,"tag":37,"props":1490,"children":1491},{"style":44},[1492],{"type":14,"value":920},{"type":9,"tag":37,"props":1494,"children":1496},{"class":39,"line":1495},43,[1497,1502,1507,1511,1516,1521,1526,1531,1535],{"type":9,"tag":37,"props":1498,"children":1499},{"style":44},[1500],{"type":14,"value":1501},"    description: ",{"type":9,"tag":37,"props":1503,"children":1504},{"style":137},[1505],{"type":14,"value":1506},"JSON",{"type":9,"tag":37,"props":1508,"children":1509},{"style":44},[1510],{"type":14,"value":500},{"type":9,"tag":37,"props":1512,"children":1513},{"style":56},[1514],{"type":14,"value":1515},"stringify",{"type":9,"tag":37,"props":1517,"children":1518},{"style":44},[1519],{"type":14,"value":1520},"(event.data, ",{"type":9,"tag":37,"props":1522,"children":1523},{"style":137},[1524],{"type":14,"value":1525},"null",{"type":9,"tag":37,"props":1527,"children":1528},{"style":44},[1529],{"type":14,"value":1530},", ",{"type":9,"tag":37,"props":1532,"children":1533},{"style":137},[1534],{"type":14,"value":244},{"type":9,"tag":37,"props":1536,"children":1537},{"style":44},[1538],{"type":14,"value":1539},")\n",{"type":9,"tag":37,"props":1541,"children":1543},{"class":39,"line":1542},44,[1544],{"type":9,"tag":37,"props":1545,"children":1546},{"style":44},[1547],{"type":14,"value":1268},{"type":9,"tag":37,"props":1549,"children":1551},{"class":39,"line":1550},45,[1552],{"type":9,"tag":37,"props":1553,"children":1554},{"style":44},[1555],{"type":14,"value":1556},"}\n",{"type":9,"tag":37,"props":1558,"children":1560},{"class":39,"line":1559},46,[1561,1565,1569],{"type":9,"tag":37,"props":1562,"children":1563},{"style":44},[1564],{"type":14,"value":528},{"type":9,"tag":37,"props":1566,"children":1567},{"style":50},[1568],{"type":14,"value":53},{"type":9,"tag":37,"props":1570,"children":1571},{"style":44},[1572],{"type":14,"value":80},{"type":9,"tag":37,"props":1574,"children":1576},{"class":39,"line":1575},47,[1577],{"type":9,"tag":37,"props":1578,"children":1579},{"emptyLinePlaceholder":117},[1580],{"type":14,"value":120},{"type":9,"tag":37,"props":1582,"children":1584},{"class":39,"line":1583},48,[1585,1589,1593],{"type":9,"tag":37,"props":1586,"children":1587},{"style":44},[1588],{"type":14,"value":47},{"type":9,"tag":37,"props":1590,"children":1591},{"style":50},[1592],{"type":14,"value":557},{"type":9,"tag":37,"props":1594,"children":1595},{"style":44},[1596],{"type":14,"value":80},{"type":9,"tag":37,"props":1598,"children":1600},{"class":39,"line":1599},49,[1601,1605,1609,1613,1617,1621,1625,1629,1633,1637,1641,1645,1649,1653,1658,1663,1667,1671,1676,1680],{"type":9,"tag":37,"props":1602,"children":1603},{"style":44},[1604],{"type":14,"value":570},{"type":9,"tag":37,"props":1606,"children":1607},{"style":50},[1608],{"type":14,"value":575},{"type":9,"tag":37,"props":1610,"children":1611},{"style":56},[1612],{"type":14,"value":580},{"type":9,"tag":37,"props":1614,"children":1615},{"style":44},[1616],{"type":14,"value":64},{"type":9,"tag":37,"props":1618,"children":1619},{"style":67},[1620],{"type":14,"value":589},{"type":9,"tag":37,"props":1622,"children":1623},{"style":44},[1624],{"type":14,"value":594},{"type":9,"tag":37,"props":1626,"children":1627},{"style":67},[1628],{"type":14,"value":589},{"type":9,"tag":37,"props":1630,"children":1631},{"style":44},[1632],{"type":14,"value":603},{"type":9,"tag":37,"props":1634,"children":1635},{"style":56},[1636],{"type":14,"value":608},{"type":9,"tag":37,"props":1638,"children":1639},{"style":44},[1640],{"type":14,"value":64},{"type":9,"tag":37,"props":1642,"children":1643},{"style":67},[1644],{"type":14,"value":589},{"type":9,"tag":37,"props":1646,"children":1647},{"style":44},[1648],{"type":14,"value":608},{"type":9,"tag":37,"props":1650,"children":1651},{"style":67},[1652],{"type":14,"value":589},{"type":9,"tag":37,"props":1654,"children":1655},{"style":44},[1656],{"type":14,"value":1657}," @",{"type":9,"tag":37,"props":1659,"children":1660},{"style":56},[1661],{"type":14,"value":1662},"submit",{"type":9,"tag":37,"props":1664,"children":1665},{"style":44},[1666],{"type":14,"value":64},{"type":9,"tag":37,"props":1668,"children":1669},{"style":67},[1670],{"type":14,"value":589},{"type":9,"tag":37,"props":1672,"children":1673},{"style":44},[1674],{"type":14,"value":1675},"onSubmit",{"type":9,"tag":37,"props":1677,"children":1678},{"style":67},[1679],{"type":14,"value":589},{"type":9,"tag":37,"props":1681,"children":1682},{"style":44},[1683],{"type":14,"value":629},{"type":9,"tag":37,"props":1685,"children":1687},{"class":39,"line":1686},50,[1688,1692,1696],{"type":9,"tag":37,"props":1689,"children":1690},{"style":44},[1691],{"type":14,"value":528},{"type":9,"tag":37,"props":1693,"children":1694},{"style":50},[1695],{"type":14,"value":557},{"type":9,"tag":37,"props":1697,"children":1698},{"style":44},[1699],{"type":14,"value":80},{"type":9,"tag":647,"props":1701,"children":1702},{},[1703],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":1705},[],{"code":1707,"filePath":1708,"pascalName":1709},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $grid: afz.layout({\n    class: 'grid grid-cols-2 gap-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({\n        class: 'col-span-2',\n        label: '邮箱地址',\n        description: '此字段占据两列宽度'\n      }),\n      phone: afz.string().meta({ label: '电话' }),\n      age: afz.number().int().min(0).meta({ label: '年龄' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutGridExample.vue","AutoFormLayoutGridExample",{"data":1711,"body":1712,"toc":2570},{"title":22,"description":22},{"type":6,"children":1713},[1714,2566],{"type":9,"tag":663,"props":1715,"children":1716},{},[1717],{"type":9,"tag":26,"props":1718,"children":1720},{"className":28,"code":1719,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $grid: afz.layout({\n    class: 'grid grid-cols-2 gap-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({\n        class: 'col-span-2',\n        label: '邮箱地址',\n        description: '此字段占据两列宽度'\n      }),\n      phone: afz.string().meta({ label: '电话' }),\n      age: afz.number().int().min(0).meta({ label: '年龄' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[1721],{"type":9,"tag":33,"props":1722,"children":1723},{"__ignoreMap":22},[1724,1755,1778,1801,1808,1839,1862,1869,1896,1912,1929,1936,1969,2002,2025,2042,2059,2072,2080,2113,2170,2177,2184,2191,2198,2237,2244,2283,2290,2333,2348,2363,2378,2417,2424,2431,2446,2453,2468,2551],{"type":9,"tag":37,"props":1725,"children":1726},{"class":39,"line":40},[1727,1731,1735,1739,1743,1747,1751],{"type":9,"tag":37,"props":1728,"children":1729},{"style":44},[1730],{"type":14,"value":47},{"type":9,"tag":37,"props":1732,"children":1733},{"style":50},[1734],{"type":14,"value":53},{"type":9,"tag":37,"props":1736,"children":1737},{"style":56},[1738],{"type":14,"value":75},{"type":9,"tag":37,"props":1740,"children":1741},{"style":56},[1742],{"type":14,"value":59},{"type":9,"tag":37,"props":1744,"children":1745},{"style":44},[1746],{"type":14,"value":64},{"type":9,"tag":37,"props":1748,"children":1749},{"style":67},[1750],{"type":14,"value":70},{"type":9,"tag":37,"props":1752,"children":1753},{"style":44},[1754],{"type":14,"value":80},{"type":9,"tag":37,"props":1756,"children":1757},{"class":39,"line":83},[1758,1762,1766,1770,1774],{"type":9,"tag":37,"props":1759,"children":1760},{"style":87},[1761],{"type":14,"value":90},{"type":9,"tag":37,"props":1763,"children":1764},{"style":87},[1765],{"type":14,"value":95},{"type":9,"tag":37,"props":1767,"children":1768},{"style":44},[1769],{"type":14,"value":719},{"type":9,"tag":37,"props":1771,"children":1772},{"style":87},[1773],{"type":14,"value":105},{"type":9,"tag":37,"props":1775,"children":1776},{"style":67},[1777],{"type":14,"value":728},{"type":9,"tag":37,"props":1779,"children":1780},{"class":39,"line":113},[1781,1785,1789,1793,1797],{"type":9,"tag":37,"props":1782,"children":1783},{"style":87},[1784],{"type":14,"value":90},{"type":9,"tag":37,"props":1786,"children":1787},{"style":87},[1788],{"type":14,"value":95},{"type":9,"tag":37,"props":1790,"children":1791},{"style":44},[1792],{"type":14,"value":100},{"type":9,"tag":37,"props":1794,"children":1795},{"style":87},[1796],{"type":14,"value":105},{"type":9,"tag":37,"props":1798,"children":1799},{"style":67},[1800],{"type":14,"value":110},{"type":9,"tag":37,"props":1802,"children":1803},{"class":39,"line":123},[1804],{"type":9,"tag":37,"props":1805,"children":1806},{"emptyLinePlaceholder":117},[1807],{"type":14,"value":120},{"type":9,"tag":37,"props":1809,"children":1810},{"class":39,"line":162},[1811,1815,1819,1823,1827,1831,1835],{"type":9,"tag":37,"props":1812,"children":1813},{"style":87},[1814],{"type":14,"value":129},{"type":9,"tag":37,"props":1816,"children":1817},{"style":44},[1818],{"type":14,"value":134},{"type":9,"tag":37,"props":1820,"children":1821},{"style":137},[1822],{"type":14,"value":140},{"type":9,"tag":37,"props":1824,"children":1825},{"style":44},[1826],{"type":14,"value":145},{"type":9,"tag":37,"props":1828,"children":1829},{"style":87},[1830],{"type":14,"value":64},{"type":9,"tag":37,"props":1832,"children":1833},{"style":56},[1834],{"type":14,"value":154},{"type":9,"tag":37,"props":1836,"children":1837},{"style":44},[1838],{"type":14,"value":159},{"type":9,"tag":37,"props":1840,"children":1841},{"class":39,"line":170},[1842,1846,1850,1854,1858],{"type":9,"tag":37,"props":1843,"children":1844},{"style":87},[1845],{"type":14,"value":129},{"type":9,"tag":37,"props":1847,"children":1848},{"style":137},[1849],{"type":14,"value":822},{"type":9,"tag":37,"props":1851,"children":1852},{"style":87},[1853],{"type":14,"value":185},{"type":9,"tag":37,"props":1855,"children":1856},{"style":56},[1857],{"type":14,"value":831},{"type":9,"tag":37,"props":1859,"children":1860},{"style":44},[1861],{"type":14,"value":159},{"type":9,"tag":37,"props":1863,"children":1864},{"class":39,"line":203},[1865],{"type":9,"tag":37,"props":1866,"children":1867},{"emptyLinePlaceholder":117},[1868],{"type":14,"value":120},{"type":9,"tag":37,"props":1870,"children":1871},{"class":39,"line":272},[1872,1876,1880,1884,1888,1892],{"type":9,"tag":37,"props":1873,"children":1874},{"style":87},[1875],{"type":14,"value":129},{"type":9,"tag":37,"props":1877,"children":1878},{"style":137},[1879],{"type":14,"value":180},{"type":9,"tag":37,"props":1881,"children":1882},{"style":87},[1883],{"type":14,"value":185},{"type":9,"tag":37,"props":1885,"children":1886},{"style":44},[1887],{"type":14,"value":190},{"type":9,"tag":37,"props":1889,"children":1890},{"style":56},[1891],{"type":14,"value":195},{"type":9,"tag":37,"props":1893,"children":1894},{"style":44},[1895],{"type":14,"value":200},{"type":9,"tag":37,"props":1897,"children":1898},{"class":39,"line":308},[1899,1904,1908],{"type":9,"tag":37,"props":1900,"children":1901},{"style":44},[1902],{"type":14,"value":1903},"  $grid: afz.",{"type":9,"tag":37,"props":1905,"children":1906},{"style":56},[1907],{"type":14,"value":882},{"type":9,"tag":37,"props":1909,"children":1910},{"style":44},[1911],{"type":14,"value":200},{"type":9,"tag":37,"props":1913,"children":1914},{"class":39,"line":378},[1915,1920,1925],{"type":9,"tag":37,"props":1916,"children":1917},{"style":44},[1918],{"type":14,"value":1919},"    class: ",{"type":9,"tag":37,"props":1921,"children":1922},{"style":67},[1923],{"type":14,"value":1924},"'grid grid-cols-2 gap-4'",{"type":9,"tag":37,"props":1926,"children":1927},{"style":44},[1928],{"type":14,"value":920},{"type":9,"tag":37,"props":1930,"children":1931},{"class":39,"line":441},[1932],{"type":9,"tag":37,"props":1933,"children":1934},{"style":44},[1935],{"type":14,"value":1133},{"type":9,"tag":37,"props":1937,"children":1938},{"class":39,"line":450},[1939,1944,1948,1952,1956,1960,1965],{"type":9,"tag":37,"props":1940,"children":1941},{"style":44},[1942],{"type":14,"value":1943},"      firstName: afz.",{"type":9,"tag":37,"props":1945,"children":1946},{"style":56},[1947],{"type":14,"value":214},{"type":9,"tag":37,"props":1949,"children":1950},{"style":44},[1951],{"type":14,"value":288},{"type":9,"tag":37,"props":1953,"children":1954},{"style":56},[1955],{"type":14,"value":254},{"type":9,"tag":37,"props":1957,"children":1958},{"style":44},[1959],{"type":14,"value":259},{"type":9,"tag":37,"props":1961,"children":1962},{"style":67},[1963],{"type":14,"value":1964},"'名字'",{"type":9,"tag":37,"props":1966,"children":1967},{"style":44},[1968],{"type":14,"value":269},{"type":9,"tag":37,"props":1970,"children":1971},{"class":39,"line":458},[1972,1977,1981,1985,1989,1993,1998],{"type":9,"tag":37,"props":1973,"children":1974},{"style":44},[1975],{"type":14,"value":1976},"      lastName: afz.",{"type":9,"tag":37,"props":1978,"children":1979},{"style":56},[1980],{"type":14,"value":214},{"type":9,"tag":37,"props":1982,"children":1983},{"style":44},[1984],{"type":14,"value":288},{"type":9,"tag":37,"props":1986,"children":1987},{"style":56},[1988],{"type":14,"value":254},{"type":9,"tag":37,"props":1990,"children":1991},{"style":44},[1992],{"type":14,"value":259},{"type":9,"tag":37,"props":1994,"children":1995},{"style":67},[1996],{"type":14,"value":1997},"'姓氏'",{"type":9,"tag":37,"props":1999,"children":2000},{"style":44},[2001],{"type":14,"value":269},{"type":9,"tag":37,"props":2003,"children":2004},{"class":39,"line":522},[2005,2009,2013,2017,2021],{"type":9,"tag":37,"props":2006,"children":2007},{"style":44},[2008],{"type":14,"value":1175},{"type":9,"tag":37,"props":2010,"children":2011},{"style":56},[2012],{"type":14,"value":283},{"type":9,"tag":37,"props":2014,"children":2015},{"style":44},[2016],{"type":14,"value":288},{"type":9,"tag":37,"props":2018,"children":2019},{"style":56},[2020],{"type":14,"value":254},{"type":9,"tag":37,"props":2022,"children":2023},{"style":44},[2024],{"type":14,"value":200},{"type":9,"tag":37,"props":2026,"children":2027},{"class":39,"line":539},[2028,2033,2038],{"type":9,"tag":37,"props":2029,"children":2030},{"style":44},[2031],{"type":14,"value":2032},"        class: ",{"type":9,"tag":37,"props":2034,"children":2035},{"style":67},[2036],{"type":14,"value":2037},"'col-span-2'",{"type":9,"tag":37,"props":2039,"children":2040},{"style":44},[2041],{"type":14,"value":920},{"type":9,"tag":37,"props":2043,"children":2044},{"class":39,"line":547},[2045,2050,2055],{"type":9,"tag":37,"props":2046,"children":2047},{"style":44},[2048],{"type":14,"value":2049},"        label: ",{"type":9,"tag":37,"props":2051,"children":2052},{"style":67},[2053],{"type":14,"value":2054},"'邮箱地址'",{"type":9,"tag":37,"props":2056,"children":2057},{"style":44},[2058],{"type":14,"value":920},{"type":9,"tag":37,"props":2060,"children":2061},{"class":39,"line":564},[2062,2067],{"type":9,"tag":37,"props":2063,"children":2064},{"style":44},[2065],{"type":14,"value":2066},"        description: ",{"type":9,"tag":37,"props":2068,"children":2069},{"style":67},[2070],{"type":14,"value":2071},"'此字段占据两列宽度'\n",{"type":9,"tag":37,"props":2073,"children":2074},{"class":39,"line":632},[2075],{"type":9,"tag":37,"props":2076,"children":2077},{"style":44},[2078],{"type":14,"value":2079},"      }),\n",{"type":9,"tag":37,"props":2081,"children":2082},{"class":39,"line":1004},[2083,2088,2092,2096,2100,2104,2109],{"type":9,"tag":37,"props":2084,"children":2085},{"style":44},[2086],{"type":14,"value":2087},"      phone: afz.",{"type":9,"tag":37,"props":2089,"children":2090},{"style":56},[2091],{"type":14,"value":214},{"type":9,"tag":37,"props":2093,"children":2094},{"style":44},[2095],{"type":14,"value":288},{"type":9,"tag":37,"props":2097,"children":2098},{"style":56},[2099],{"type":14,"value":254},{"type":9,"tag":37,"props":2101,"children":2102},{"style":44},[2103],{"type":14,"value":259},{"type":9,"tag":37,"props":2105,"children":2106},{"style":67},[2107],{"type":14,"value":2108},"'电话'",{"type":9,"tag":37,"props":2110,"children":2111},{"style":44},[2112],{"type":14,"value":269},{"type":9,"tag":37,"props":2114,"children":2115},{"class":39,"line":1044},[2116,2121,2125,2129,2134,2138,2142,2146,2150,2154,2158,2162,2166],{"type":9,"tag":37,"props":2117,"children":2118},{"style":44},[2119],{"type":14,"value":2120},"      age: afz.",{"type":9,"tag":37,"props":2122,"children":2123},{"style":56},[2124],{"type":14,"value":319},{"type":9,"tag":37,"props":2126,"children":2127},{"style":44},[2128],{"type":14,"value":288},{"type":9,"tag":37,"props":2130,"children":2131},{"style":56},[2132],{"type":14,"value":2133},"int",{"type":9,"tag":37,"props":2135,"children":2136},{"style":44},[2137],{"type":14,"value":288},{"type":9,"tag":37,"props":2139,"children":2140},{"style":56},[2141],{"type":14,"value":234},{"type":9,"tag":37,"props":2143,"children":2144},{"style":44},[2145],{"type":14,"value":239},{"type":9,"tag":37,"props":2147,"children":2148},{"style":137},[2149],{"type":14,"value":336},{"type":9,"tag":37,"props":2151,"children":2152},{"style":44},[2153],{"type":14,"value":249},{"type":9,"tag":37,"props":2155,"children":2156},{"style":56},[2157],{"type":14,"value":254},{"type":9,"tag":37,"props":2159,"children":2160},{"style":44},[2161],{"type":14,"value":259},{"type":9,"tag":37,"props":2163,"children":2164},{"style":67},[2165],{"type":14,"value":371},{"type":9,"tag":37,"props":2167,"children":2168},{"style":44},[2169],{"type":14,"value":438},{"type":9,"tag":37,"props":2171,"children":2172},{"class":39,"line":1053},[2173],{"type":9,"tag":37,"props":2174,"children":2175},{"style":44},[2176],{"type":14,"value":1259},{"type":9,"tag":37,"props":2178,"children":2179},{"class":39,"line":1062},[2180],{"type":9,"tag":37,"props":2181,"children":2182},{"style":44},[2183],{"type":14,"value":1268},{"type":9,"tag":37,"props":2185,"children":2186},{"class":39,"line":1071},[2187],{"type":9,"tag":37,"props":2188,"children":2189},{"style":44},[2190],{"type":14,"value":447},{"type":9,"tag":37,"props":2192,"children":2193},{"class":39,"line":1088},[2194],{"type":9,"tag":37,"props":2195,"children":2196},{"emptyLinePlaceholder":117},[2197],{"type":14,"value":120},{"type":9,"tag":37,"props":2199,"children":2200},{"class":39,"line":1105},[2201,2205,2209,2213,2217,2221,2225,2229,2233],{"type":9,"tag":37,"props":2202,"children":2203},{"style":87},[2204],{"type":14,"value":1293},{"type":9,"tag":37,"props":2206,"children":2207},{"style":56},[2208],{"type":14,"value":1298},{"type":9,"tag":37,"props":2210,"children":2211},{"style":87},[2212],{"type":14,"value":185},{"type":9,"tag":37,"props":2214,"children":2215},{"style":56},[2216],{"type":14,"value":1307},{"type":9,"tag":37,"props":2218,"children":2219},{"style":44},[2220],{"type":14,"value":500},{"type":9,"tag":37,"props":2222,"children":2223},{"style":56},[2224],{"type":14,"value":505},{"type":9,"tag":37,"props":2226,"children":2227},{"style":44},[2228],{"type":14,"value":47},{"type":9,"tag":37,"props":2230,"children":2231},{"style":87},[2232],{"type":14,"value":514},{"type":9,"tag":37,"props":2234,"children":2235},{"style":44},[2236],{"type":14,"value":1328},{"type":9,"tag":37,"props":2238,"children":2239},{"class":39,"line":1119},[2240],{"type":9,"tag":37,"props":2241,"children":2242},{"emptyLinePlaceholder":117},[2243],{"type":14,"value":120},{"type":9,"tag":37,"props":2245,"children":2246},{"class":39,"line":1127},[2247,2251,2255,2259,2263,2267,2271,2275,2279],{"type":9,"tag":37,"props":2248,"children":2249},{"style":87},[2250],{"type":14,"value":129},{"type":9,"tag":37,"props":2252,"children":2253},{"style":137},[2254],{"type":14,"value":468},{"type":9,"tag":37,"props":2256,"children":2257},{"style":87},[2258],{"type":14,"value":185},{"type":9,"tag":37,"props":2260,"children":2261},{"style":56},[2262],{"type":14,"value":477},{"type":9,"tag":37,"props":2264,"children":2265},{"style":44},[2266],{"type":14,"value":47},{"type":9,"tag":37,"props":2268,"children":2269},{"style":56},[2270],{"type":14,"value":486},{"type":9,"tag":37,"props":2272,"children":2273},{"style":44},[2274],{"type":14,"value":47},{"type":9,"tag":37,"props":2276,"children":2277},{"style":56},[2278],{"type":14,"value":1373},{"type":9,"tag":37,"props":2280,"children":2281},{"style":44},[2282],{"type":14,"value":1378},{"type":9,"tag":37,"props":2284,"children":2285},{"class":39,"line":1136},[2286],{"type":9,"tag":37,"props":2287,"children":2288},{"emptyLinePlaceholder":117},[2289],{"type":14,"value":120},{"type":9,"tag":37,"props":2291,"children":2292},{"class":39,"line":1169},[2293,2297,2301,2305,2309,2313,2317,2321,2325,2329],{"type":9,"tag":37,"props":2294,"children":2295},{"style":87},[2296],{"type":14,"value":1395},{"type":9,"tag":37,"props":2298,"children":2299},{"style":87},[2300],{"type":14,"value":1400},{"type":9,"tag":37,"props":2302,"children":2303},{"style":56},[2304],{"type":14,"value":1405},{"type":9,"tag":37,"props":2306,"children":2307},{"style":44},[2308],{"type":14,"value":239},{"type":9,"tag":37,"props":2310,"children":2311},{"style":1412},[2312],{"type":14,"value":1415},{"type":9,"tag":37,"props":2314,"children":2315},{"style":87},[2316],{"type":14,"value":1420},{"type":9,"tag":37,"props":2318,"children":2319},{"style":56},[2320],{"type":14,"value":1425},{"type":9,"tag":37,"props":2322,"children":2323},{"style":44},[2324],{"type":14,"value":47},{"type":9,"tag":37,"props":2326,"children":2327},{"style":56},[2328],{"type":14,"value":1373},{"type":9,"tag":37,"props":2330,"children":2331},{"style":44},[2332],{"type":14,"value":1438},{"type":9,"tag":37,"props":2334,"children":2335},{"class":39,"line":1202},[2336,2340,2344],{"type":9,"tag":37,"props":2337,"children":2338},{"style":44},[2339],{"type":14,"value":1447},{"type":9,"tag":37,"props":2341,"children":2342},{"style":56},[2343],{"type":14,"value":1452},{"type":9,"tag":37,"props":2345,"children":2346},{"style":44},[2347],{"type":14,"value":200},{"type":9,"tag":37,"props":2349,"children":2350},{"class":39,"line":1253},[2351,2355,2359],{"type":9,"tag":37,"props":2352,"children":2353},{"style":44},[2354],{"type":14,"value":1465},{"type":9,"tag":37,"props":2356,"children":2357},{"style":67},[2358],{"type":14,"value":1470},{"type":9,"tag":37,"props":2360,"children":2361},{"style":44},[2362],{"type":14,"value":920},{"type":9,"tag":37,"props":2364,"children":2365},{"class":39,"line":1262},[2366,2370,2374],{"type":9,"tag":37,"props":2367,"children":2368},{"style":44},[2369],{"type":14,"value":1483},{"type":9,"tag":37,"props":2371,"children":2372},{"style":67},[2373],{"type":14,"value":1488},{"type":9,"tag":37,"props":2375,"children":2376},{"style":44},[2377],{"type":14,"value":920},{"type":9,"tag":37,"props":2379,"children":2380},{"class":39,"line":1271},[2381,2385,2389,2393,2397,2401,2405,2409,2413],{"type":9,"tag":37,"props":2382,"children":2383},{"style":44},[2384],{"type":14,"value":1501},{"type":9,"tag":37,"props":2386,"children":2387},{"style":137},[2388],{"type":14,"value":1506},{"type":9,"tag":37,"props":2390,"children":2391},{"style":44},[2392],{"type":14,"value":500},{"type":9,"tag":37,"props":2394,"children":2395},{"style":56},[2396],{"type":14,"value":1515},{"type":9,"tag":37,"props":2398,"children":2399},{"style":44},[2400],{"type":14,"value":1520},{"type":9,"tag":37,"props":2402,"children":2403},{"style":137},[2404],{"type":14,"value":1525},{"type":9,"tag":37,"props":2406,"children":2407},{"style":44},[2408],{"type":14,"value":1530},{"type":9,"tag":37,"props":2410,"children":2411},{"style":137},[2412],{"type":14,"value":244},{"type":9,"tag":37,"props":2414,"children":2415},{"style":44},[2416],{"type":14,"value":1539},{"type":9,"tag":37,"props":2418,"children":2419},{"class":39,"line":1279},[2420],{"type":9,"tag":37,"props":2421,"children":2422},{"style":44},[2423],{"type":14,"value":1268},{"type":9,"tag":37,"props":2425,"children":2426},{"class":39,"line":1287},[2427],{"type":9,"tag":37,"props":2428,"children":2429},{"style":44},[2430],{"type":14,"value":1556},{"type":9,"tag":37,"props":2432,"children":2433},{"class":39,"line":1331},[2434,2438,2442],{"type":9,"tag":37,"props":2435,"children":2436},{"style":44},[2437],{"type":14,"value":528},{"type":9,"tag":37,"props":2439,"children":2440},{"style":50},[2441],{"type":14,"value":53},{"type":9,"tag":37,"props":2443,"children":2444},{"style":44},[2445],{"type":14,"value":80},{"type":9,"tag":37,"props":2447,"children":2448},{"class":39,"line":1339},[2449],{"type":9,"tag":37,"props":2450,"children":2451},{"emptyLinePlaceholder":117},[2452],{"type":14,"value":120},{"type":9,"tag":37,"props":2454,"children":2455},{"class":39,"line":1381},[2456,2460,2464],{"type":9,"tag":37,"props":2457,"children":2458},{"style":44},[2459],{"type":14,"value":47},{"type":9,"tag":37,"props":2461,"children":2462},{"style":50},[2463],{"type":14,"value":557},{"type":9,"tag":37,"props":2465,"children":2466},{"style":44},[2467],{"type":14,"value":80},{"type":9,"tag":37,"props":2469,"children":2470},{"class":39,"line":1389},[2471,2475,2479,2483,2487,2491,2495,2499,2503,2507,2511,2515,2519,2523,2527,2531,2535,2539,2543,2547],{"type":9,"tag":37,"props":2472,"children":2473},{"style":44},[2474],{"type":14,"value":570},{"type":9,"tag":37,"props":2476,"children":2477},{"style":50},[2478],{"type":14,"value":575},{"type":9,"tag":37,"props":2480,"children":2481},{"style":56},[2482],{"type":14,"value":580},{"type":9,"tag":37,"props":2484,"children":2485},{"style":44},[2486],{"type":14,"value":64},{"type":9,"tag":37,"props":2488,"children":2489},{"style":67},[2490],{"type":14,"value":589},{"type":9,"tag":37,"props":2492,"children":2493},{"style":44},[2494],{"type":14,"value":594},{"type":9,"tag":37,"props":2496,"children":2497},{"style":67},[2498],{"type":14,"value":589},{"type":9,"tag":37,"props":2500,"children":2501},{"style":44},[2502],{"type":14,"value":603},{"type":9,"tag":37,"props":2504,"children":2505},{"style":56},[2506],{"type":14,"value":608},{"type":9,"tag":37,"props":2508,"children":2509},{"style":44},[2510],{"type":14,"value":64},{"type":9,"tag":37,"props":2512,"children":2513},{"style":67},[2514],{"type":14,"value":589},{"type":9,"tag":37,"props":2516,"children":2517},{"style":44},[2518],{"type":14,"value":608},{"type":9,"tag":37,"props":2520,"children":2521},{"style":67},[2522],{"type":14,"value":589},{"type":9,"tag":37,"props":2524,"children":2525},{"style":44},[2526],{"type":14,"value":1657},{"type":9,"tag":37,"props":2528,"children":2529},{"style":56},[2530],{"type":14,"value":1662},{"type":9,"tag":37,"props":2532,"children":2533},{"style":44},[2534],{"type":14,"value":64},{"type":9,"tag":37,"props":2536,"children":2537},{"style":67},[2538],{"type":14,"value":589},{"type":9,"tag":37,"props":2540,"children":2541},{"style":44},[2542],{"type":14,"value":1675},{"type":9,"tag":37,"props":2544,"children":2545},{"style":67},[2546],{"type":14,"value":589},{"type":9,"tag":37,"props":2548,"children":2549},{"style":44},[2550],{"type":14,"value":629},{"type":9,"tag":37,"props":2552,"children":2553},{"class":39,"line":1441},[2554,2558,2562],{"type":9,"tag":37,"props":2555,"children":2556},{"style":44},[2557],{"type":14,"value":528},{"type":9,"tag":37,"props":2559,"children":2560},{"style":50},[2561],{"type":14,"value":557},{"type":9,"tag":37,"props":2563,"children":2564},{"style":44},[2565],{"type":14,"value":80},{"type":9,"tag":647,"props":2567,"children":2568},{},[2569],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":2571},[],{"code":2573,"filePath":2574,"pascalName":2575},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $personalInfo: afz.layout({\n    class: 'grid grid-cols-2 gap-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' })\n    }\n  }),\n\n  $contactInfo: afz.layout({\n    class: 'space-y-4 mt-10',\n    fields: {\n      email: afz.email().meta({ label: '邮箱地址' }),\n      $phoneLayout: afz.layout({\n        class: 'grid grid-cols-3 gap-2',\n        fields: {\n          countryCode: afz.string().default('+86').meta({ label: '国家代码' }),\n          phoneNumber: afz.string().meta({\n            class: 'col-span-2',\n            label: '电话号码',\n            hint: '此字段占据两列宽度'\n          })\n        }\n      })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutNestedExample.vue","AutoFormLayoutNestedExample",{"data":2577,"body":2578,"toc":3539},{"title":22,"description":22},{"type":6,"children":2579},[2580,3535],{"type":9,"tag":663,"props":2581,"children":2582},{},[2583],{"type":9,"tag":26,"props":2584,"children":2586},{"className":28,"code":2585,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $personalInfo: afz.layout({\n    class: 'grid grid-cols-2 gap-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' })\n    }\n  }),\n\n  $contactInfo: afz.layout({\n    class: 'space-y-4 mt-10',\n    fields: {\n      email: afz.email().meta({ label: '邮箱地址' }),\n      $phoneLayout: afz.layout({\n        class: 'grid grid-cols-3 gap-2',\n        fields: {\n          countryCode: afz.string().default('+86').meta({ label: '国家代码' }),\n          phoneNumber: afz.string().meta({\n            class: 'col-span-2',\n            label: '电话号码',\n            hint: '此字段占据两列宽度'\n          })\n        }\n      })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[2587],{"type":9,"tag":33,"props":2588,"children":2589},{"__ignoreMap":22},[2590,2621,2644,2667,2674,2705,2728,2735,2762,2778,2793,2800,2831,2862,2869,2877,2884,2900,2916,2923,2954,2970,2986,2994,3045,3069,3085,3102,3114,3122,3130,3138,3145,3152,3159,3166,3205,3212,3251,3258,3301,3316,3331,3346,3385,3392,3399,3414,3421,3436,3519],{"type":9,"tag":37,"props":2591,"children":2592},{"class":39,"line":40},[2593,2597,2601,2605,2609,2613,2617],{"type":9,"tag":37,"props":2594,"children":2595},{"style":44},[2596],{"type":14,"value":47},{"type":9,"tag":37,"props":2598,"children":2599},{"style":50},[2600],{"type":14,"value":53},{"type":9,"tag":37,"props":2602,"children":2603},{"style":56},[2604],{"type":14,"value":75},{"type":9,"tag":37,"props":2606,"children":2607},{"style":56},[2608],{"type":14,"value":59},{"type":9,"tag":37,"props":2610,"children":2611},{"style":44},[2612],{"type":14,"value":64},{"type":9,"tag":37,"props":2614,"children":2615},{"style":67},[2616],{"type":14,"value":70},{"type":9,"tag":37,"props":2618,"children":2619},{"style":44},[2620],{"type":14,"value":80},{"type":9,"tag":37,"props":2622,"children":2623},{"class":39,"line":83},[2624,2628,2632,2636,2640],{"type":9,"tag":37,"props":2625,"children":2626},{"style":87},[2627],{"type":14,"value":90},{"type":9,"tag":37,"props":2629,"children":2630},{"style":87},[2631],{"type":14,"value":95},{"type":9,"tag":37,"props":2633,"children":2634},{"style":44},[2635],{"type":14,"value":719},{"type":9,"tag":37,"props":2637,"children":2638},{"style":87},[2639],{"type":14,"value":105},{"type":9,"tag":37,"props":2641,"children":2642},{"style":67},[2643],{"type":14,"value":728},{"type":9,"tag":37,"props":2645,"children":2646},{"class":39,"line":113},[2647,2651,2655,2659,2663],{"type":9,"tag":37,"props":2648,"children":2649},{"style":87},[2650],{"type":14,"value":90},{"type":9,"tag":37,"props":2652,"children":2653},{"style":87},[2654],{"type":14,"value":95},{"type":9,"tag":37,"props":2656,"children":2657},{"style":44},[2658],{"type":14,"value":100},{"type":9,"tag":37,"props":2660,"children":2661},{"style":87},[2662],{"type":14,"value":105},{"type":9,"tag":37,"props":2664,"children":2665},{"style":67},[2666],{"type":14,"value":110},{"type":9,"tag":37,"props":2668,"children":2669},{"class":39,"line":123},[2670],{"type":9,"tag":37,"props":2671,"children":2672},{"emptyLinePlaceholder":117},[2673],{"type":14,"value":120},{"type":9,"tag":37,"props":2675,"children":2676},{"class":39,"line":162},[2677,2681,2685,2689,2693,2697,2701],{"type":9,"tag":37,"props":2678,"children":2679},{"style":87},[2680],{"type":14,"value":129},{"type":9,"tag":37,"props":2682,"children":2683},{"style":44},[2684],{"type":14,"value":134},{"type":9,"tag":37,"props":2686,"children":2687},{"style":137},[2688],{"type":14,"value":140},{"type":9,"tag":37,"props":2690,"children":2691},{"style":44},[2692],{"type":14,"value":145},{"type":9,"tag":37,"props":2694,"children":2695},{"style":87},[2696],{"type":14,"value":64},{"type":9,"tag":37,"props":2698,"children":2699},{"style":56},[2700],{"type":14,"value":154},{"type":9,"tag":37,"props":2702,"children":2703},{"style":44},[2704],{"type":14,"value":159},{"type":9,"tag":37,"props":2706,"children":2707},{"class":39,"line":170},[2708,2712,2716,2720,2724],{"type":9,"tag":37,"props":2709,"children":2710},{"style":87},[2711],{"type":14,"value":129},{"type":9,"tag":37,"props":2713,"children":2714},{"style":137},[2715],{"type":14,"value":822},{"type":9,"tag":37,"props":2717,"children":2718},{"style":87},[2719],{"type":14,"value":185},{"type":9,"tag":37,"props":2721,"children":2722},{"style":56},[2723],{"type":14,"value":831},{"type":9,"tag":37,"props":2725,"children":2726},{"style":44},[2727],{"type":14,"value":159},{"type":9,"tag":37,"props":2729,"children":2730},{"class":39,"line":203},[2731],{"type":9,"tag":37,"props":2732,"children":2733},{"emptyLinePlaceholder":117},[2734],{"type":14,"value":120},{"type":9,"tag":37,"props":2736,"children":2737},{"class":39,"line":272},[2738,2742,2746,2750,2754,2758],{"type":9,"tag":37,"props":2739,"children":2740},{"style":87},[2741],{"type":14,"value":129},{"type":9,"tag":37,"props":2743,"children":2744},{"style":137},[2745],{"type":14,"value":180},{"type":9,"tag":37,"props":2747,"children":2748},{"style":87},[2749],{"type":14,"value":185},{"type":9,"tag":37,"props":2751,"children":2752},{"style":44},[2753],{"type":14,"value":190},{"type":9,"tag":37,"props":2755,"children":2756},{"style":56},[2757],{"type":14,"value":195},{"type":9,"tag":37,"props":2759,"children":2760},{"style":44},[2761],{"type":14,"value":200},{"type":9,"tag":37,"props":2763,"children":2764},{"class":39,"line":308},[2765,2770,2774],{"type":9,"tag":37,"props":2766,"children":2767},{"style":44},[2768],{"type":14,"value":2769},"  $personalInfo: afz.",{"type":9,"tag":37,"props":2771,"children":2772},{"style":56},[2773],{"type":14,"value":882},{"type":9,"tag":37,"props":2775,"children":2776},{"style":44},[2777],{"type":14,"value":200},{"type":9,"tag":37,"props":2779,"children":2780},{"class":39,"line":378},[2781,2785,2789],{"type":9,"tag":37,"props":2782,"children":2783},{"style":44},[2784],{"type":14,"value":1919},{"type":9,"tag":37,"props":2786,"children":2787},{"style":67},[2788],{"type":14,"value":1924},{"type":9,"tag":37,"props":2790,"children":2791},{"style":44},[2792],{"type":14,"value":920},{"type":9,"tag":37,"props":2794,"children":2795},{"class":39,"line":441},[2796],{"type":9,"tag":37,"props":2797,"children":2798},{"style":44},[2799],{"type":14,"value":1133},{"type":9,"tag":37,"props":2801,"children":2802},{"class":39,"line":450},[2803,2807,2811,2815,2819,2823,2827],{"type":9,"tag":37,"props":2804,"children":2805},{"style":44},[2806],{"type":14,"value":1943},{"type":9,"tag":37,"props":2808,"children":2809},{"style":56},[2810],{"type":14,"value":214},{"type":9,"tag":37,"props":2812,"children":2813},{"style":44},[2814],{"type":14,"value":288},{"type":9,"tag":37,"props":2816,"children":2817},{"style":56},[2818],{"type":14,"value":254},{"type":9,"tag":37,"props":2820,"children":2821},{"style":44},[2822],{"type":14,"value":259},{"type":9,"tag":37,"props":2824,"children":2825},{"style":67},[2826],{"type":14,"value":1964},{"type":9,"tag":37,"props":2828,"children":2829},{"style":44},[2830],{"type":14,"value":269},{"type":9,"tag":37,"props":2832,"children":2833},{"class":39,"line":458},[2834,2838,2842,2846,2850,2854,2858],{"type":9,"tag":37,"props":2835,"children":2836},{"style":44},[2837],{"type":14,"value":1976},{"type":9,"tag":37,"props":2839,"children":2840},{"style":56},[2841],{"type":14,"value":214},{"type":9,"tag":37,"props":2843,"children":2844},{"style":44},[2845],{"type":14,"value":288},{"type":9,"tag":37,"props":2847,"children":2848},{"style":56},[2849],{"type":14,"value":254},{"type":9,"tag":37,"props":2851,"children":2852},{"style":44},[2853],{"type":14,"value":259},{"type":9,"tag":37,"props":2855,"children":2856},{"style":67},[2857],{"type":14,"value":1997},{"type":9,"tag":37,"props":2859,"children":2860},{"style":44},[2861],{"type":14,"value":438},{"type":9,"tag":37,"props":2863,"children":2864},{"class":39,"line":522},[2865],{"type":9,"tag":37,"props":2866,"children":2867},{"style":44},[2868],{"type":14,"value":1259},{"type":9,"tag":37,"props":2870,"children":2871},{"class":39,"line":539},[2872],{"type":9,"tag":37,"props":2873,"children":2874},{"style":44},[2875],{"type":14,"value":2876},"  }),\n",{"type":9,"tag":37,"props":2878,"children":2879},{"class":39,"line":547},[2880],{"type":9,"tag":37,"props":2881,"children":2882},{"emptyLinePlaceholder":117},[2883],{"type":14,"value":120},{"type":9,"tag":37,"props":2885,"children":2886},{"class":39,"line":564},[2887,2892,2896],{"type":9,"tag":37,"props":2888,"children":2889},{"style":44},[2890],{"type":14,"value":2891},"  $contactInfo: afz.",{"type":9,"tag":37,"props":2893,"children":2894},{"style":56},[2895],{"type":14,"value":882},{"type":9,"tag":37,"props":2897,"children":2898},{"style":44},[2899],{"type":14,"value":200},{"type":9,"tag":37,"props":2901,"children":2902},{"class":39,"line":632},[2903,2907,2912],{"type":9,"tag":37,"props":2904,"children":2905},{"style":44},[2906],{"type":14,"value":1919},{"type":9,"tag":37,"props":2908,"children":2909},{"style":67},[2910],{"type":14,"value":2911},"'space-y-4 mt-10'",{"type":9,"tag":37,"props":2913,"children":2914},{"style":44},[2915],{"type":14,"value":920},{"type":9,"tag":37,"props":2917,"children":2918},{"class":39,"line":1004},[2919],{"type":9,"tag":37,"props":2920,"children":2921},{"style":44},[2922],{"type":14,"value":1133},{"type":9,"tag":37,"props":2924,"children":2925},{"class":39,"line":1044},[2926,2930,2934,2938,2942,2946,2950],{"type":9,"tag":37,"props":2927,"children":2928},{"style":44},[2929],{"type":14,"value":1175},{"type":9,"tag":37,"props":2931,"children":2932},{"style":56},[2933],{"type":14,"value":283},{"type":9,"tag":37,"props":2935,"children":2936},{"style":44},[2937],{"type":14,"value":288},{"type":9,"tag":37,"props":2939,"children":2940},{"style":56},[2941],{"type":14,"value":254},{"type":9,"tag":37,"props":2943,"children":2944},{"style":44},[2945],{"type":14,"value":259},{"type":9,"tag":37,"props":2947,"children":2948},{"style":67},[2949],{"type":14,"value":2054},{"type":9,"tag":37,"props":2951,"children":2952},{"style":44},[2953],{"type":14,"value":269},{"type":9,"tag":37,"props":2955,"children":2956},{"class":39,"line":1053},[2957,2962,2966],{"type":9,"tag":37,"props":2958,"children":2959},{"style":44},[2960],{"type":14,"value":2961},"      $phoneLayout: afz.",{"type":9,"tag":37,"props":2963,"children":2964},{"style":56},[2965],{"type":14,"value":882},{"type":9,"tag":37,"props":2967,"children":2968},{"style":44},[2969],{"type":14,"value":200},{"type":9,"tag":37,"props":2971,"children":2972},{"class":39,"line":1062},[2973,2977,2982],{"type":9,"tag":37,"props":2974,"children":2975},{"style":44},[2976],{"type":14,"value":2032},{"type":9,"tag":37,"props":2978,"children":2979},{"style":67},[2980],{"type":14,"value":2981},"'grid grid-cols-3 gap-2'",{"type":9,"tag":37,"props":2983,"children":2984},{"style":44},[2985],{"type":14,"value":920},{"type":9,"tag":37,"props":2987,"children":2988},{"class":39,"line":1071},[2989],{"type":9,"tag":37,"props":2990,"children":2991},{"style":44},[2992],{"type":14,"value":2993},"        fields: {\n",{"type":9,"tag":37,"props":2995,"children":2996},{"class":39,"line":1088},[2997,3002,3006,3010,3015,3019,3024,3028,3032,3036,3041],{"type":9,"tag":37,"props":2998,"children":2999},{"style":44},[3000],{"type":14,"value":3001},"          countryCode: afz.",{"type":9,"tag":37,"props":3003,"children":3004},{"style":56},[3005],{"type":14,"value":214},{"type":9,"tag":37,"props":3007,"children":3008},{"style":44},[3009],{"type":14,"value":288},{"type":9,"tag":37,"props":3011,"children":3012},{"style":56},[3013],{"type":14,"value":3014},"default",{"type":9,"tag":37,"props":3016,"children":3017},{"style":44},[3018],{"type":14,"value":239},{"type":9,"tag":37,"props":3020,"children":3021},{"style":67},[3022],{"type":14,"value":3023},"'+86'",{"type":9,"tag":37,"props":3025,"children":3026},{"style":44},[3027],{"type":14,"value":249},{"type":9,"tag":37,"props":3029,"children":3030},{"style":56},[3031],{"type":14,"value":254},{"type":9,"tag":37,"props":3033,"children":3034},{"style":44},[3035],{"type":14,"value":259},{"type":9,"tag":37,"props":3037,"children":3038},{"style":67},[3039],{"type":14,"value":3040},"'国家代码'",{"type":9,"tag":37,"props":3042,"children":3043},{"style":44},[3044],{"type":14,"value":269},{"type":9,"tag":37,"props":3046,"children":3047},{"class":39,"line":1105},[3048,3053,3057,3061,3065],{"type":9,"tag":37,"props":3049,"children":3050},{"style":44},[3051],{"type":14,"value":3052},"          phoneNumber: afz.",{"type":9,"tag":37,"props":3054,"children":3055},{"style":56},[3056],{"type":14,"value":214},{"type":9,"tag":37,"props":3058,"children":3059},{"style":44},[3060],{"type":14,"value":288},{"type":9,"tag":37,"props":3062,"children":3063},{"style":56},[3064],{"type":14,"value":254},{"type":9,"tag":37,"props":3066,"children":3067},{"style":44},[3068],{"type":14,"value":200},{"type":9,"tag":37,"props":3070,"children":3071},{"class":39,"line":1119},[3072,3077,3081],{"type":9,"tag":37,"props":3073,"children":3074},{"style":44},[3075],{"type":14,"value":3076},"            class: ",{"type":9,"tag":37,"props":3078,"children":3079},{"style":67},[3080],{"type":14,"value":2037},{"type":9,"tag":37,"props":3082,"children":3083},{"style":44},[3084],{"type":14,"value":920},{"type":9,"tag":37,"props":3086,"children":3087},{"class":39,"line":1127},[3088,3093,3098],{"type":9,"tag":37,"props":3089,"children":3090},{"style":44},[3091],{"type":14,"value":3092},"            label: ",{"type":9,"tag":37,"props":3094,"children":3095},{"style":67},[3096],{"type":14,"value":3097},"'电话号码'",{"type":9,"tag":37,"props":3099,"children":3100},{"style":44},[3101],{"type":14,"value":920},{"type":9,"tag":37,"props":3103,"children":3104},{"class":39,"line":1136},[3105,3110],{"type":9,"tag":37,"props":3106,"children":3107},{"style":44},[3108],{"type":14,"value":3109},"            hint: ",{"type":9,"tag":37,"props":3111,"children":3112},{"style":67},[3113],{"type":14,"value":2071},{"type":9,"tag":37,"props":3115,"children":3116},{"class":39,"line":1169},[3117],{"type":9,"tag":37,"props":3118,"children":3119},{"style":44},[3120],{"type":14,"value":3121},"          })\n",{"type":9,"tag":37,"props":3123,"children":3124},{"class":39,"line":1202},[3125],{"type":9,"tag":37,"props":3126,"children":3127},{"style":44},[3128],{"type":14,"value":3129},"        }\n",{"type":9,"tag":37,"props":3131,"children":3132},{"class":39,"line":1253},[3133],{"type":9,"tag":37,"props":3134,"children":3135},{"style":44},[3136],{"type":14,"value":3137},"      })\n",{"type":9,"tag":37,"props":3139,"children":3140},{"class":39,"line":1262},[3141],{"type":9,"tag":37,"props":3142,"children":3143},{"style":44},[3144],{"type":14,"value":1259},{"type":9,"tag":37,"props":3146,"children":3147},{"class":39,"line":1271},[3148],{"type":9,"tag":37,"props":3149,"children":3150},{"style":44},[3151],{"type":14,"value":1268},{"type":9,"tag":37,"props":3153,"children":3154},{"class":39,"line":1279},[3155],{"type":9,"tag":37,"props":3156,"children":3157},{"style":44},[3158],{"type":14,"value":447},{"type":9,"tag":37,"props":3160,"children":3161},{"class":39,"line":1287},[3162],{"type":9,"tag":37,"props":3163,"children":3164},{"emptyLinePlaceholder":117},[3165],{"type":14,"value":120},{"type":9,"tag":37,"props":3167,"children":3168},{"class":39,"line":1331},[3169,3173,3177,3181,3185,3189,3193,3197,3201],{"type":9,"tag":37,"props":3170,"children":3171},{"style":87},[3172],{"type":14,"value":1293},{"type":9,"tag":37,"props":3174,"children":3175},{"style":56},[3176],{"type":14,"value":1298},{"type":9,"tag":37,"props":3178,"children":3179},{"style":87},[3180],{"type":14,"value":185},{"type":9,"tag":37,"props":3182,"children":3183},{"style":56},[3184],{"type":14,"value":1307},{"type":9,"tag":37,"props":3186,"children":3187},{"style":44},[3188],{"type":14,"value":500},{"type":9,"tag":37,"props":3190,"children":3191},{"style":56},[3192],{"type":14,"value":505},{"type":9,"tag":37,"props":3194,"children":3195},{"style":44},[3196],{"type":14,"value":47},{"type":9,"tag":37,"props":3198,"children":3199},{"style":87},[3200],{"type":14,"value":514},{"type":9,"tag":37,"props":3202,"children":3203},{"style":44},[3204],{"type":14,"value":1328},{"type":9,"tag":37,"props":3206,"children":3207},{"class":39,"line":1339},[3208],{"type":9,"tag":37,"props":3209,"children":3210},{"emptyLinePlaceholder":117},[3211],{"type":14,"value":120},{"type":9,"tag":37,"props":3213,"children":3214},{"class":39,"line":1381},[3215,3219,3223,3227,3231,3235,3239,3243,3247],{"type":9,"tag":37,"props":3216,"children":3217},{"style":87},[3218],{"type":14,"value":129},{"type":9,"tag":37,"props":3220,"children":3221},{"style":137},[3222],{"type":14,"value":468},{"type":9,"tag":37,"props":3224,"children":3225},{"style":87},[3226],{"type":14,"value":185},{"type":9,"tag":37,"props":3228,"children":3229},{"style":56},[3230],{"type":14,"value":477},{"type":9,"tag":37,"props":3232,"children":3233},{"style":44},[3234],{"type":14,"value":47},{"type":9,"tag":37,"props":3236,"children":3237},{"style":56},[3238],{"type":14,"value":486},{"type":9,"tag":37,"props":3240,"children":3241},{"style":44},[3242],{"type":14,"value":47},{"type":9,"tag":37,"props":3244,"children":3245},{"style":56},[3246],{"type":14,"value":1373},{"type":9,"tag":37,"props":3248,"children":3249},{"style":44},[3250],{"type":14,"value":1378},{"type":9,"tag":37,"props":3252,"children":3253},{"class":39,"line":1389},[3254],{"type":9,"tag":37,"props":3255,"children":3256},{"emptyLinePlaceholder":117},[3257],{"type":14,"value":120},{"type":9,"tag":37,"props":3259,"children":3260},{"class":39,"line":1441},[3261,3265,3269,3273,3277,3281,3285,3289,3293,3297],{"type":9,"tag":37,"props":3262,"children":3263},{"style":87},[3264],{"type":14,"value":1395},{"type":9,"tag":37,"props":3266,"children":3267},{"style":87},[3268],{"type":14,"value":1400},{"type":9,"tag":37,"props":3270,"children":3271},{"style":56},[3272],{"type":14,"value":1405},{"type":9,"tag":37,"props":3274,"children":3275},{"style":44},[3276],{"type":14,"value":239},{"type":9,"tag":37,"props":3278,"children":3279},{"style":1412},[3280],{"type":14,"value":1415},{"type":9,"tag":37,"props":3282,"children":3283},{"style":87},[3284],{"type":14,"value":1420},{"type":9,"tag":37,"props":3286,"children":3287},{"style":56},[3288],{"type":14,"value":1425},{"type":9,"tag":37,"props":3290,"children":3291},{"style":44},[3292],{"type":14,"value":47},{"type":9,"tag":37,"props":3294,"children":3295},{"style":56},[3296],{"type":14,"value":1373},{"type":9,"tag":37,"props":3298,"children":3299},{"style":44},[3300],{"type":14,"value":1438},{"type":9,"tag":37,"props":3302,"children":3303},{"class":39,"line":1459},[3304,3308,3312],{"type":9,"tag":37,"props":3305,"children":3306},{"style":44},[3307],{"type":14,"value":1447},{"type":9,"tag":37,"props":3309,"children":3310},{"style":56},[3311],{"type":14,"value":1452},{"type":9,"tag":37,"props":3313,"children":3314},{"style":44},[3315],{"type":14,"value":200},{"type":9,"tag":37,"props":3317,"children":3318},{"class":39,"line":1477},[3319,3323,3327],{"type":9,"tag":37,"props":3320,"children":3321},{"style":44},[3322],{"type":14,"value":1465},{"type":9,"tag":37,"props":3324,"children":3325},{"style":67},[3326],{"type":14,"value":1470},{"type":9,"tag":37,"props":3328,"children":3329},{"style":44},[3330],{"type":14,"value":920},{"type":9,"tag":37,"props":3332,"children":3333},{"class":39,"line":1495},[3334,3338,3342],{"type":9,"tag":37,"props":3335,"children":3336},{"style":44},[3337],{"type":14,"value":1483},{"type":9,"tag":37,"props":3339,"children":3340},{"style":67},[3341],{"type":14,"value":1488},{"type":9,"tag":37,"props":3343,"children":3344},{"style":44},[3345],{"type":14,"value":920},{"type":9,"tag":37,"props":3347,"children":3348},{"class":39,"line":1542},[3349,3353,3357,3361,3365,3369,3373,3377,3381],{"type":9,"tag":37,"props":3350,"children":3351},{"style":44},[3352],{"type":14,"value":1501},{"type":9,"tag":37,"props":3354,"children":3355},{"style":137},[3356],{"type":14,"value":1506},{"type":9,"tag":37,"props":3358,"children":3359},{"style":44},[3360],{"type":14,"value":500},{"type":9,"tag":37,"props":3362,"children":3363},{"style":56},[3364],{"type":14,"value":1515},{"type":9,"tag":37,"props":3366,"children":3367},{"style":44},[3368],{"type":14,"value":1520},{"type":9,"tag":37,"props":3370,"children":3371},{"style":137},[3372],{"type":14,"value":1525},{"type":9,"tag":37,"props":3374,"children":3375},{"style":44},[3376],{"type":14,"value":1530},{"type":9,"tag":37,"props":3378,"children":3379},{"style":137},[3380],{"type":14,"value":244},{"type":9,"tag":37,"props":3382,"children":3383},{"style":44},[3384],{"type":14,"value":1539},{"type":9,"tag":37,"props":3386,"children":3387},{"class":39,"line":1550},[3388],{"type":9,"tag":37,"props":3389,"children":3390},{"style":44},[3391],{"type":14,"value":1268},{"type":9,"tag":37,"props":3393,"children":3394},{"class":39,"line":1559},[3395],{"type":9,"tag":37,"props":3396,"children":3397},{"style":44},[3398],{"type":14,"value":1556},{"type":9,"tag":37,"props":3400,"children":3401},{"class":39,"line":1575},[3402,3406,3410],{"type":9,"tag":37,"props":3403,"children":3404},{"style":44},[3405],{"type":14,"value":528},{"type":9,"tag":37,"props":3407,"children":3408},{"style":50},[3409],{"type":14,"value":53},{"type":9,"tag":37,"props":3411,"children":3412},{"style":44},[3413],{"type":14,"value":80},{"type":9,"tag":37,"props":3415,"children":3416},{"class":39,"line":1583},[3417],{"type":9,"tag":37,"props":3418,"children":3419},{"emptyLinePlaceholder":117},[3420],{"type":14,"value":120},{"type":9,"tag":37,"props":3422,"children":3423},{"class":39,"line":1599},[3424,3428,3432],{"type":9,"tag":37,"props":3425,"children":3426},{"style":44},[3427],{"type":14,"value":47},{"type":9,"tag":37,"props":3429,"children":3430},{"style":50},[3431],{"type":14,"value":557},{"type":9,"tag":37,"props":3433,"children":3434},{"style":44},[3435],{"type":14,"value":80},{"type":9,"tag":37,"props":3437,"children":3438},{"class":39,"line":1686},[3439,3443,3447,3451,3455,3459,3463,3467,3471,3475,3479,3483,3487,3491,3495,3499,3503,3507,3511,3515],{"type":9,"tag":37,"props":3440,"children":3441},{"style":44},[3442],{"type":14,"value":570},{"type":9,"tag":37,"props":3444,"children":3445},{"style":50},[3446],{"type":14,"value":575},{"type":9,"tag":37,"props":3448,"children":3449},{"style":56},[3450],{"type":14,"value":580},{"type":9,"tag":37,"props":3452,"children":3453},{"style":44},[3454],{"type":14,"value":64},{"type":9,"tag":37,"props":3456,"children":3457},{"style":67},[3458],{"type":14,"value":589},{"type":9,"tag":37,"props":3460,"children":3461},{"style":44},[3462],{"type":14,"value":594},{"type":9,"tag":37,"props":3464,"children":3465},{"style":67},[3466],{"type":14,"value":589},{"type":9,"tag":37,"props":3468,"children":3469},{"style":44},[3470],{"type":14,"value":603},{"type":9,"tag":37,"props":3472,"children":3473},{"style":56},[3474],{"type":14,"value":608},{"type":9,"tag":37,"props":3476,"children":3477},{"style":44},[3478],{"type":14,"value":64},{"type":9,"tag":37,"props":3480,"children":3481},{"style":67},[3482],{"type":14,"value":589},{"type":9,"tag":37,"props":3484,"children":3485},{"style":44},[3486],{"type":14,"value":608},{"type":9,"tag":37,"props":3488,"children":3489},{"style":67},[3490],{"type":14,"value":589},{"type":9,"tag":37,"props":3492,"children":3493},{"style":44},[3494],{"type":14,"value":1657},{"type":9,"tag":37,"props":3496,"children":3497},{"style":56},[3498],{"type":14,"value":1662},{"type":9,"tag":37,"props":3500,"children":3501},{"style":44},[3502],{"type":14,"value":64},{"type":9,"tag":37,"props":3504,"children":3505},{"style":67},[3506],{"type":14,"value":589},{"type":9,"tag":37,"props":3508,"children":3509},{"style":44},[3510],{"type":14,"value":1675},{"type":9,"tag":37,"props":3512,"children":3513},{"style":67},[3514],{"type":14,"value":589},{"type":9,"tag":37,"props":3516,"children":3517},{"style":44},[3518],{"type":14,"value":629},{"type":9,"tag":37,"props":3520,"children":3522},{"class":39,"line":3521},51,[3523,3527,3531],{"type":9,"tag":37,"props":3524,"children":3525},{"style":44},[3526],{"type":14,"value":528},{"type":9,"tag":37,"props":3528,"children":3529},{"style":50},[3530],{"type":14,"value":557},{"type":9,"tag":37,"props":3532,"children":3533},{"style":44},[3534],{"type":14,"value":80},{"type":9,"tag":647,"props":3536,"children":3537},{},[3538],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":3540},[],{"code":3542,"filePath":3543,"pascalName":3544},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $responsive: afz.layout({\n    \u002F\u002F 移动端 1 列，平板 2 列，桌面端 3 列\n    class: 'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4',\n    fields: {\n      title: afz.string().meta({\n        class: 'col-span-full', \u002F\u002F 所有屏幕尺寸都占满整行\n        label: '标题'\n      }),\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({ label: '邮箱' }),\n      phone: afz.string().meta({ label: '电话' }),\n      age: afz.number().int().min(0).meta({ label: '年龄' }),\n      description: afz.string({ type: 'textarea' }).meta({\n        class: 'col-span-full',\n        label: '描述'\n      })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutResponsiveExample.vue","AutoFormLayoutResponsiveExample",{"data":3546,"body":3547,"toc":4488},{"title":22,"description":22},{"type":6,"children":3548},[3549,4484],{"type":9,"tag":663,"props":3550,"children":3551},{},[3552],{"type":9,"tag":26,"props":3553,"children":3555},{"className":28,"code":3554,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $responsive: afz.layout({\n    \u002F\u002F 移动端 1 列，平板 2 列，桌面端 3 列\n    class: 'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4',\n    fields: {\n      title: afz.string().meta({\n        class: 'col-span-full', \u002F\u002F 所有屏幕尺寸都占满整行\n        label: '标题'\n      }),\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({ label: '邮箱' }),\n      phone: afz.string().meta({ label: '电话' }),\n      age: afz.number().int().min(0).meta({ label: '年龄' }),\n      description: afz.string({ type: 'textarea' }).meta({\n        class: 'col-span-full',\n        label: '描述'\n      })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[3556],{"type":9,"tag":33,"props":3557,"children":3558},{"__ignoreMap":22},[3559,3590,3613,3636,3643,3674,3697,3704,3731,3747,3756,3772,3779,3803,3824,3836,3843,3874,3905,3936,3967,4022,4054,4069,4081,4088,4095,4102,4109,4116,4155,4162,4201,4208,4251,4266,4281,4296,4335,4342,4349,4364,4371,4386,4469],{"type":9,"tag":37,"props":3560,"children":3561},{"class":39,"line":40},[3562,3566,3570,3574,3578,3582,3586],{"type":9,"tag":37,"props":3563,"children":3564},{"style":44},[3565],{"type":14,"value":47},{"type":9,"tag":37,"props":3567,"children":3568},{"style":50},[3569],{"type":14,"value":53},{"type":9,"tag":37,"props":3571,"children":3572},{"style":56},[3573],{"type":14,"value":75},{"type":9,"tag":37,"props":3575,"children":3576},{"style":56},[3577],{"type":14,"value":59},{"type":9,"tag":37,"props":3579,"children":3580},{"style":44},[3581],{"type":14,"value":64},{"type":9,"tag":37,"props":3583,"children":3584},{"style":67},[3585],{"type":14,"value":70},{"type":9,"tag":37,"props":3587,"children":3588},{"style":44},[3589],{"type":14,"value":80},{"type":9,"tag":37,"props":3591,"children":3592},{"class":39,"line":83},[3593,3597,3601,3605,3609],{"type":9,"tag":37,"props":3594,"children":3595},{"style":87},[3596],{"type":14,"value":90},{"type":9,"tag":37,"props":3598,"children":3599},{"style":87},[3600],{"type":14,"value":95},{"type":9,"tag":37,"props":3602,"children":3603},{"style":44},[3604],{"type":14,"value":719},{"type":9,"tag":37,"props":3606,"children":3607},{"style":87},[3608],{"type":14,"value":105},{"type":9,"tag":37,"props":3610,"children":3611},{"style":67},[3612],{"type":14,"value":728},{"type":9,"tag":37,"props":3614,"children":3615},{"class":39,"line":113},[3616,3620,3624,3628,3632],{"type":9,"tag":37,"props":3617,"children":3618},{"style":87},[3619],{"type":14,"value":90},{"type":9,"tag":37,"props":3621,"children":3622},{"style":87},[3623],{"type":14,"value":95},{"type":9,"tag":37,"props":3625,"children":3626},{"style":44},[3627],{"type":14,"value":100},{"type":9,"tag":37,"props":3629,"children":3630},{"style":87},[3631],{"type":14,"value":105},{"type":9,"tag":37,"props":3633,"children":3634},{"style":67},[3635],{"type":14,"value":110},{"type":9,"tag":37,"props":3637,"children":3638},{"class":39,"line":123},[3639],{"type":9,"tag":37,"props":3640,"children":3641},{"emptyLinePlaceholder":117},[3642],{"type":14,"value":120},{"type":9,"tag":37,"props":3644,"children":3645},{"class":39,"line":162},[3646,3650,3654,3658,3662,3666,3670],{"type":9,"tag":37,"props":3647,"children":3648},{"style":87},[3649],{"type":14,"value":129},{"type":9,"tag":37,"props":3651,"children":3652},{"style":44},[3653],{"type":14,"value":134},{"type":9,"tag":37,"props":3655,"children":3656},{"style":137},[3657],{"type":14,"value":140},{"type":9,"tag":37,"props":3659,"children":3660},{"style":44},[3661],{"type":14,"value":145},{"type":9,"tag":37,"props":3663,"children":3664},{"style":87},[3665],{"type":14,"value":64},{"type":9,"tag":37,"props":3667,"children":3668},{"style":56},[3669],{"type":14,"value":154},{"type":9,"tag":37,"props":3671,"children":3672},{"style":44},[3673],{"type":14,"value":159},{"type":9,"tag":37,"props":3675,"children":3676},{"class":39,"line":170},[3677,3681,3685,3689,3693],{"type":9,"tag":37,"props":3678,"children":3679},{"style":87},[3680],{"type":14,"value":129},{"type":9,"tag":37,"props":3682,"children":3683},{"style":137},[3684],{"type":14,"value":822},{"type":9,"tag":37,"props":3686,"children":3687},{"style":87},[3688],{"type":14,"value":185},{"type":9,"tag":37,"props":3690,"children":3691},{"style":56},[3692],{"type":14,"value":831},{"type":9,"tag":37,"props":3694,"children":3695},{"style":44},[3696],{"type":14,"value":159},{"type":9,"tag":37,"props":3698,"children":3699},{"class":39,"line":203},[3700],{"type":9,"tag":37,"props":3701,"children":3702},{"emptyLinePlaceholder":117},[3703],{"type":14,"value":120},{"type":9,"tag":37,"props":3705,"children":3706},{"class":39,"line":272},[3707,3711,3715,3719,3723,3727],{"type":9,"tag":37,"props":3708,"children":3709},{"style":87},[3710],{"type":14,"value":129},{"type":9,"tag":37,"props":3712,"children":3713},{"style":137},[3714],{"type":14,"value":180},{"type":9,"tag":37,"props":3716,"children":3717},{"style":87},[3718],{"type":14,"value":185},{"type":9,"tag":37,"props":3720,"children":3721},{"style":44},[3722],{"type":14,"value":190},{"type":9,"tag":37,"props":3724,"children":3725},{"style":56},[3726],{"type":14,"value":195},{"type":9,"tag":37,"props":3728,"children":3729},{"style":44},[3730],{"type":14,"value":200},{"type":9,"tag":37,"props":3732,"children":3733},{"class":39,"line":308},[3734,3739,3743],{"type":9,"tag":37,"props":3735,"children":3736},{"style":44},[3737],{"type":14,"value":3738},"  $responsive: afz.",{"type":9,"tag":37,"props":3740,"children":3741},{"style":56},[3742],{"type":14,"value":882},{"type":9,"tag":37,"props":3744,"children":3745},{"style":44},[3746],{"type":14,"value":200},{"type":9,"tag":37,"props":3748,"children":3749},{"class":39,"line":378},[3750],{"type":9,"tag":37,"props":3751,"children":3753},{"style":3752},"--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D",[3754],{"type":14,"value":3755},"    \u002F\u002F 移动端 1 列，平板 2 列，桌面端 3 列\n",{"type":9,"tag":37,"props":3757,"children":3758},{"class":39,"line":441},[3759,3763,3768],{"type":9,"tag":37,"props":3760,"children":3761},{"style":44},[3762],{"type":14,"value":1919},{"type":9,"tag":37,"props":3764,"children":3765},{"style":67},[3766],{"type":14,"value":3767},"'grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4'",{"type":9,"tag":37,"props":3769,"children":3770},{"style":44},[3771],{"type":14,"value":920},{"type":9,"tag":37,"props":3773,"children":3774},{"class":39,"line":450},[3775],{"type":9,"tag":37,"props":3776,"children":3777},{"style":44},[3778],{"type":14,"value":1133},{"type":9,"tag":37,"props":3780,"children":3781},{"class":39,"line":458},[3782,3787,3791,3795,3799],{"type":9,"tag":37,"props":3783,"children":3784},{"style":44},[3785],{"type":14,"value":3786},"      title: afz.",{"type":9,"tag":37,"props":3788,"children":3789},{"style":56},[3790],{"type":14,"value":214},{"type":9,"tag":37,"props":3792,"children":3793},{"style":44},[3794],{"type":14,"value":288},{"type":9,"tag":37,"props":3796,"children":3797},{"style":56},[3798],{"type":14,"value":254},{"type":9,"tag":37,"props":3800,"children":3801},{"style":44},[3802],{"type":14,"value":200},{"type":9,"tag":37,"props":3804,"children":3805},{"class":39,"line":522},[3806,3810,3815,3819],{"type":9,"tag":37,"props":3807,"children":3808},{"style":44},[3809],{"type":14,"value":2032},{"type":9,"tag":37,"props":3811,"children":3812},{"style":67},[3813],{"type":14,"value":3814},"'col-span-full'",{"type":9,"tag":37,"props":3816,"children":3817},{"style":44},[3818],{"type":14,"value":1530},{"type":9,"tag":37,"props":3820,"children":3821},{"style":3752},[3822],{"type":14,"value":3823},"\u002F\u002F 所有屏幕尺寸都占满整行\n",{"type":9,"tag":37,"props":3825,"children":3826},{"class":39,"line":539},[3827,3831],{"type":9,"tag":37,"props":3828,"children":3829},{"style":44},[3830],{"type":14,"value":2049},{"type":9,"tag":37,"props":3832,"children":3833},{"style":67},[3834],{"type":14,"value":3835},"'标题'\n",{"type":9,"tag":37,"props":3837,"children":3838},{"class":39,"line":547},[3839],{"type":9,"tag":37,"props":3840,"children":3841},{"style":44},[3842],{"type":14,"value":2079},{"type":9,"tag":37,"props":3844,"children":3845},{"class":39,"line":564},[3846,3850,3854,3858,3862,3866,3870],{"type":9,"tag":37,"props":3847,"children":3848},{"style":44},[3849],{"type":14,"value":1943},{"type":9,"tag":37,"props":3851,"children":3852},{"style":56},[3853],{"type":14,"value":214},{"type":9,"tag":37,"props":3855,"children":3856},{"style":44},[3857],{"type":14,"value":288},{"type":9,"tag":37,"props":3859,"children":3860},{"style":56},[3861],{"type":14,"value":254},{"type":9,"tag":37,"props":3863,"children":3864},{"style":44},[3865],{"type":14,"value":259},{"type":9,"tag":37,"props":3867,"children":3868},{"style":67},[3869],{"type":14,"value":1964},{"type":9,"tag":37,"props":3871,"children":3872},{"style":44},[3873],{"type":14,"value":269},{"type":9,"tag":37,"props":3875,"children":3876},{"class":39,"line":632},[3877,3881,3885,3889,3893,3897,3901],{"type":9,"tag":37,"props":3878,"children":3879},{"style":44},[3880],{"type":14,"value":1976},{"type":9,"tag":37,"props":3882,"children":3883},{"style":56},[3884],{"type":14,"value":214},{"type":9,"tag":37,"props":3886,"children":3887},{"style":44},[3888],{"type":14,"value":288},{"type":9,"tag":37,"props":3890,"children":3891},{"style":56},[3892],{"type":14,"value":254},{"type":9,"tag":37,"props":3894,"children":3895},{"style":44},[3896],{"type":14,"value":259},{"type":9,"tag":37,"props":3898,"children":3899},{"style":67},[3900],{"type":14,"value":1997},{"type":9,"tag":37,"props":3902,"children":3903},{"style":44},[3904],{"type":14,"value":269},{"type":9,"tag":37,"props":3906,"children":3907},{"class":39,"line":1004},[3908,3912,3916,3920,3924,3928,3932],{"type":9,"tag":37,"props":3909,"children":3910},{"style":44},[3911],{"type":14,"value":1175},{"type":9,"tag":37,"props":3913,"children":3914},{"style":56},[3915],{"type":14,"value":283},{"type":9,"tag":37,"props":3917,"children":3918},{"style":44},[3919],{"type":14,"value":288},{"type":9,"tag":37,"props":3921,"children":3922},{"style":56},[3923],{"type":14,"value":254},{"type":9,"tag":37,"props":3925,"children":3926},{"style":44},[3927],{"type":14,"value":259},{"type":9,"tag":37,"props":3929,"children":3930},{"style":67},[3931],{"type":14,"value":301},{"type":9,"tag":37,"props":3933,"children":3934},{"style":44},[3935],{"type":14,"value":269},{"type":9,"tag":37,"props":3937,"children":3938},{"class":39,"line":1044},[3939,3943,3947,3951,3955,3959,3963],{"type":9,"tag":37,"props":3940,"children":3941},{"style":44},[3942],{"type":14,"value":2087},{"type":9,"tag":37,"props":3944,"children":3945},{"style":56},[3946],{"type":14,"value":214},{"type":9,"tag":37,"props":3948,"children":3949},{"style":44},[3950],{"type":14,"value":288},{"type":9,"tag":37,"props":3952,"children":3953},{"style":56},[3954],{"type":14,"value":254},{"type":9,"tag":37,"props":3956,"children":3957},{"style":44},[3958],{"type":14,"value":259},{"type":9,"tag":37,"props":3960,"children":3961},{"style":67},[3962],{"type":14,"value":2108},{"type":9,"tag":37,"props":3964,"children":3965},{"style":44},[3966],{"type":14,"value":269},{"type":9,"tag":37,"props":3968,"children":3969},{"class":39,"line":1053},[3970,3974,3978,3982,3986,3990,3994,3998,4002,4006,4010,4014,4018],{"type":9,"tag":37,"props":3971,"children":3972},{"style":44},[3973],{"type":14,"value":2120},{"type":9,"tag":37,"props":3975,"children":3976},{"style":56},[3977],{"type":14,"value":319},{"type":9,"tag":37,"props":3979,"children":3980},{"style":44},[3981],{"type":14,"value":288},{"type":9,"tag":37,"props":3983,"children":3984},{"style":56},[3985],{"type":14,"value":2133},{"type":9,"tag":37,"props":3987,"children":3988},{"style":44},[3989],{"type":14,"value":288},{"type":9,"tag":37,"props":3991,"children":3992},{"style":56},[3993],{"type":14,"value":234},{"type":9,"tag":37,"props":3995,"children":3996},{"style":44},[3997],{"type":14,"value":239},{"type":9,"tag":37,"props":3999,"children":4000},{"style":137},[4001],{"type":14,"value":336},{"type":9,"tag":37,"props":4003,"children":4004},{"style":44},[4005],{"type":14,"value":249},{"type":9,"tag":37,"props":4007,"children":4008},{"style":56},[4009],{"type":14,"value":254},{"type":9,"tag":37,"props":4011,"children":4012},{"style":44},[4013],{"type":14,"value":259},{"type":9,"tag":37,"props":4015,"children":4016},{"style":67},[4017],{"type":14,"value":371},{"type":9,"tag":37,"props":4019,"children":4020},{"style":44},[4021],{"type":14,"value":269},{"type":9,"tag":37,"props":4023,"children":4024},{"class":39,"line":1062},[4025,4030,4034,4038,4042,4046,4050],{"type":9,"tag":37,"props":4026,"children":4027},{"style":44},[4028],{"type":14,"value":4029},"      description: afz.",{"type":9,"tag":37,"props":4031,"children":4032},{"style":56},[4033],{"type":14,"value":214},{"type":9,"tag":37,"props":4035,"children":4036},{"style":44},[4037],{"type":14,"value":393},{"type":9,"tag":37,"props":4039,"children":4040},{"style":67},[4041],{"type":14,"value":398},{"type":9,"tag":37,"props":4043,"children":4044},{"style":44},[4045],{"type":14,"value":1225},{"type":9,"tag":37,"props":4047,"children":4048},{"style":56},[4049],{"type":14,"value":254},{"type":9,"tag":37,"props":4051,"children":4052},{"style":44},[4053],{"type":14,"value":200},{"type":9,"tag":37,"props":4055,"children":4056},{"class":39,"line":1071},[4057,4061,4065],{"type":9,"tag":37,"props":4058,"children":4059},{"style":44},[4060],{"type":14,"value":2032},{"type":9,"tag":37,"props":4062,"children":4063},{"style":67},[4064],{"type":14,"value":3814},{"type":9,"tag":37,"props":4066,"children":4067},{"style":44},[4068],{"type":14,"value":920},{"type":9,"tag":37,"props":4070,"children":4071},{"class":39,"line":1088},[4072,4076],{"type":9,"tag":37,"props":4073,"children":4074},{"style":44},[4075],{"type":14,"value":2049},{"type":9,"tag":37,"props":4077,"children":4078},{"style":67},[4079],{"type":14,"value":4080},"'描述'\n",{"type":9,"tag":37,"props":4082,"children":4083},{"class":39,"line":1105},[4084],{"type":9,"tag":37,"props":4085,"children":4086},{"style":44},[4087],{"type":14,"value":3137},{"type":9,"tag":37,"props":4089,"children":4090},{"class":39,"line":1119},[4091],{"type":9,"tag":37,"props":4092,"children":4093},{"style":44},[4094],{"type":14,"value":1259},{"type":9,"tag":37,"props":4096,"children":4097},{"class":39,"line":1127},[4098],{"type":9,"tag":37,"props":4099,"children":4100},{"style":44},[4101],{"type":14,"value":1268},{"type":9,"tag":37,"props":4103,"children":4104},{"class":39,"line":1136},[4105],{"type":9,"tag":37,"props":4106,"children":4107},{"style":44},[4108],{"type":14,"value":447},{"type":9,"tag":37,"props":4110,"children":4111},{"class":39,"line":1169},[4112],{"type":9,"tag":37,"props":4113,"children":4114},{"emptyLinePlaceholder":117},[4115],{"type":14,"value":120},{"type":9,"tag":37,"props":4117,"children":4118},{"class":39,"line":1202},[4119,4123,4127,4131,4135,4139,4143,4147,4151],{"type":9,"tag":37,"props":4120,"children":4121},{"style":87},[4122],{"type":14,"value":1293},{"type":9,"tag":37,"props":4124,"children":4125},{"style":56},[4126],{"type":14,"value":1298},{"type":9,"tag":37,"props":4128,"children":4129},{"style":87},[4130],{"type":14,"value":185},{"type":9,"tag":37,"props":4132,"children":4133},{"style":56},[4134],{"type":14,"value":1307},{"type":9,"tag":37,"props":4136,"children":4137},{"style":44},[4138],{"type":14,"value":500},{"type":9,"tag":37,"props":4140,"children":4141},{"style":56},[4142],{"type":14,"value":505},{"type":9,"tag":37,"props":4144,"children":4145},{"style":44},[4146],{"type":14,"value":47},{"type":9,"tag":37,"props":4148,"children":4149},{"style":87},[4150],{"type":14,"value":514},{"type":9,"tag":37,"props":4152,"children":4153},{"style":44},[4154],{"type":14,"value":1328},{"type":9,"tag":37,"props":4156,"children":4157},{"class":39,"line":1253},[4158],{"type":9,"tag":37,"props":4159,"children":4160},{"emptyLinePlaceholder":117},[4161],{"type":14,"value":120},{"type":9,"tag":37,"props":4163,"children":4164},{"class":39,"line":1262},[4165,4169,4173,4177,4181,4185,4189,4193,4197],{"type":9,"tag":37,"props":4166,"children":4167},{"style":87},[4168],{"type":14,"value":129},{"type":9,"tag":37,"props":4170,"children":4171},{"style":137},[4172],{"type":14,"value":468},{"type":9,"tag":37,"props":4174,"children":4175},{"style":87},[4176],{"type":14,"value":185},{"type":9,"tag":37,"props":4178,"children":4179},{"style":56},[4180],{"type":14,"value":477},{"type":9,"tag":37,"props":4182,"children":4183},{"style":44},[4184],{"type":14,"value":47},{"type":9,"tag":37,"props":4186,"children":4187},{"style":56},[4188],{"type":14,"value":486},{"type":9,"tag":37,"props":4190,"children":4191},{"style":44},[4192],{"type":14,"value":47},{"type":9,"tag":37,"props":4194,"children":4195},{"style":56},[4196],{"type":14,"value":1373},{"type":9,"tag":37,"props":4198,"children":4199},{"style":44},[4200],{"type":14,"value":1378},{"type":9,"tag":37,"props":4202,"children":4203},{"class":39,"line":1271},[4204],{"type":9,"tag":37,"props":4205,"children":4206},{"emptyLinePlaceholder":117},[4207],{"type":14,"value":120},{"type":9,"tag":37,"props":4209,"children":4210},{"class":39,"line":1279},[4211,4215,4219,4223,4227,4231,4235,4239,4243,4247],{"type":9,"tag":37,"props":4212,"children":4213},{"style":87},[4214],{"type":14,"value":1395},{"type":9,"tag":37,"props":4216,"children":4217},{"style":87},[4218],{"type":14,"value":1400},{"type":9,"tag":37,"props":4220,"children":4221},{"style":56},[4222],{"type":14,"value":1405},{"type":9,"tag":37,"props":4224,"children":4225},{"style":44},[4226],{"type":14,"value":239},{"type":9,"tag":37,"props":4228,"children":4229},{"style":1412},[4230],{"type":14,"value":1415},{"type":9,"tag":37,"props":4232,"children":4233},{"style":87},[4234],{"type":14,"value":1420},{"type":9,"tag":37,"props":4236,"children":4237},{"style":56},[4238],{"type":14,"value":1425},{"type":9,"tag":37,"props":4240,"children":4241},{"style":44},[4242],{"type":14,"value":47},{"type":9,"tag":37,"props":4244,"children":4245},{"style":56},[4246],{"type":14,"value":1373},{"type":9,"tag":37,"props":4248,"children":4249},{"style":44},[4250],{"type":14,"value":1438},{"type":9,"tag":37,"props":4252,"children":4253},{"class":39,"line":1287},[4254,4258,4262],{"type":9,"tag":37,"props":4255,"children":4256},{"style":44},[4257],{"type":14,"value":1447},{"type":9,"tag":37,"props":4259,"children":4260},{"style":56},[4261],{"type":14,"value":1452},{"type":9,"tag":37,"props":4263,"children":4264},{"style":44},[4265],{"type":14,"value":200},{"type":9,"tag":37,"props":4267,"children":4268},{"class":39,"line":1331},[4269,4273,4277],{"type":9,"tag":37,"props":4270,"children":4271},{"style":44},[4272],{"type":14,"value":1465},{"type":9,"tag":37,"props":4274,"children":4275},{"style":67},[4276],{"type":14,"value":1470},{"type":9,"tag":37,"props":4278,"children":4279},{"style":44},[4280],{"type":14,"value":920},{"type":9,"tag":37,"props":4282,"children":4283},{"class":39,"line":1339},[4284,4288,4292],{"type":9,"tag":37,"props":4285,"children":4286},{"style":44},[4287],{"type":14,"value":1483},{"type":9,"tag":37,"props":4289,"children":4290},{"style":67},[4291],{"type":14,"value":1488},{"type":9,"tag":37,"props":4293,"children":4294},{"style":44},[4295],{"type":14,"value":920},{"type":9,"tag":37,"props":4297,"children":4298},{"class":39,"line":1381},[4299,4303,4307,4311,4315,4319,4323,4327,4331],{"type":9,"tag":37,"props":4300,"children":4301},{"style":44},[4302],{"type":14,"value":1501},{"type":9,"tag":37,"props":4304,"children":4305},{"style":137},[4306],{"type":14,"value":1506},{"type":9,"tag":37,"props":4308,"children":4309},{"style":44},[4310],{"type":14,"value":500},{"type":9,"tag":37,"props":4312,"children":4313},{"style":56},[4314],{"type":14,"value":1515},{"type":9,"tag":37,"props":4316,"children":4317},{"style":44},[4318],{"type":14,"value":1520},{"type":9,"tag":37,"props":4320,"children":4321},{"style":137},[4322],{"type":14,"value":1525},{"type":9,"tag":37,"props":4324,"children":4325},{"style":44},[4326],{"type":14,"value":1530},{"type":9,"tag":37,"props":4328,"children":4329},{"style":137},[4330],{"type":14,"value":244},{"type":9,"tag":37,"props":4332,"children":4333},{"style":44},[4334],{"type":14,"value":1539},{"type":9,"tag":37,"props":4336,"children":4337},{"class":39,"line":1389},[4338],{"type":9,"tag":37,"props":4339,"children":4340},{"style":44},[4341],{"type":14,"value":1268},{"type":9,"tag":37,"props":4343,"children":4344},{"class":39,"line":1441},[4345],{"type":9,"tag":37,"props":4346,"children":4347},{"style":44},[4348],{"type":14,"value":1556},{"type":9,"tag":37,"props":4350,"children":4351},{"class":39,"line":1459},[4352,4356,4360],{"type":9,"tag":37,"props":4353,"children":4354},{"style":44},[4355],{"type":14,"value":528},{"type":9,"tag":37,"props":4357,"children":4358},{"style":50},[4359],{"type":14,"value":53},{"type":9,"tag":37,"props":4361,"children":4362},{"style":44},[4363],{"type":14,"value":80},{"type":9,"tag":37,"props":4365,"children":4366},{"class":39,"line":1477},[4367],{"type":9,"tag":37,"props":4368,"children":4369},{"emptyLinePlaceholder":117},[4370],{"type":14,"value":120},{"type":9,"tag":37,"props":4372,"children":4373},{"class":39,"line":1495},[4374,4378,4382],{"type":9,"tag":37,"props":4375,"children":4376},{"style":44},[4377],{"type":14,"value":47},{"type":9,"tag":37,"props":4379,"children":4380},{"style":50},[4381],{"type":14,"value":557},{"type":9,"tag":37,"props":4383,"children":4384},{"style":44},[4385],{"type":14,"value":80},{"type":9,"tag":37,"props":4387,"children":4388},{"class":39,"line":1542},[4389,4393,4397,4401,4405,4409,4413,4417,4421,4425,4429,4433,4437,4441,4445,4449,4453,4457,4461,4465],{"type":9,"tag":37,"props":4390,"children":4391},{"style":44},[4392],{"type":14,"value":570},{"type":9,"tag":37,"props":4394,"children":4395},{"style":50},[4396],{"type":14,"value":575},{"type":9,"tag":37,"props":4398,"children":4399},{"style":56},[4400],{"type":14,"value":580},{"type":9,"tag":37,"props":4402,"children":4403},{"style":44},[4404],{"type":14,"value":64},{"type":9,"tag":37,"props":4406,"children":4407},{"style":67},[4408],{"type":14,"value":589},{"type":9,"tag":37,"props":4410,"children":4411},{"style":44},[4412],{"type":14,"value":594},{"type":9,"tag":37,"props":4414,"children":4415},{"style":67},[4416],{"type":14,"value":589},{"type":9,"tag":37,"props":4418,"children":4419},{"style":44},[4420],{"type":14,"value":603},{"type":9,"tag":37,"props":4422,"children":4423},{"style":56},[4424],{"type":14,"value":608},{"type":9,"tag":37,"props":4426,"children":4427},{"style":44},[4428],{"type":14,"value":64},{"type":9,"tag":37,"props":4430,"children":4431},{"style":67},[4432],{"type":14,"value":589},{"type":9,"tag":37,"props":4434,"children":4435},{"style":44},[4436],{"type":14,"value":608},{"type":9,"tag":37,"props":4438,"children":4439},{"style":67},[4440],{"type":14,"value":589},{"type":9,"tag":37,"props":4442,"children":4443},{"style":44},[4444],{"type":14,"value":1657},{"type":9,"tag":37,"props":4446,"children":4447},{"style":56},[4448],{"type":14,"value":1662},{"type":9,"tag":37,"props":4450,"children":4451},{"style":44},[4452],{"type":14,"value":64},{"type":9,"tag":37,"props":4454,"children":4455},{"style":67},[4456],{"type":14,"value":589},{"type":9,"tag":37,"props":4458,"children":4459},{"style":44},[4460],{"type":14,"value":1675},{"type":9,"tag":37,"props":4462,"children":4463},{"style":67},[4464],{"type":14,"value":589},{"type":9,"tag":37,"props":4466,"children":4467},{"style":44},[4468],{"type":14,"value":629},{"type":9,"tag":37,"props":4470,"children":4471},{"class":39,"line":1550},[4472,4476,4480],{"type":9,"tag":37,"props":4473,"children":4474},{"style":44},[4475],{"type":14,"value":528},{"type":9,"tag":37,"props":4477,"children":4478},{"style":50},[4479],{"type":14,"value":557},{"type":9,"tag":37,"props":4481,"children":4482},{"style":44},[4483],{"type":14,"value":80},{"type":9,"tag":647,"props":4485,"children":4486},{},[4487],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":4489},[],{"code":4491,"filePath":4492,"pascalName":4493},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $layout: afz.layout({\n    class: 'space-y-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({ label: '邮箱地址' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutSimpleExample.vue","AutoFormLayoutSimpleExample",{"data":4495,"body":4496,"toc":5212},{"title":22,"description":22},{"type":6,"children":4497},[4498,5208],{"type":9,"tag":663,"props":4499,"children":4500},{},[4501],{"type":9,"tag":26,"props":4502,"children":4504},{"className":28,"code":4503,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  $layout: afz.layout({\n    class: 'space-y-4',\n    fields: {\n      firstName: afz.string().meta({ label: '名字' }),\n      lastName: afz.string().meta({ label: '姓氏' }),\n      email: afz.email().meta({ label: '邮箱地址' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[4505],{"type":9,"tag":33,"props":4506,"children":4507},{"__ignoreMap":22},[4508,4539,4562,4585,4592,4623,4646,4653,4680,4696,4712,4719,4750,4781,4812,4819,4826,4833,4840,4879,4886,4925,4932,4975,4990,5005,5020,5059,5066,5073,5088,5095,5110,5193],{"type":9,"tag":37,"props":4509,"children":4510},{"class":39,"line":40},[4511,4515,4519,4523,4527,4531,4535],{"type":9,"tag":37,"props":4512,"children":4513},{"style":44},[4514],{"type":14,"value":47},{"type":9,"tag":37,"props":4516,"children":4517},{"style":50},[4518],{"type":14,"value":53},{"type":9,"tag":37,"props":4520,"children":4521},{"style":56},[4522],{"type":14,"value":75},{"type":9,"tag":37,"props":4524,"children":4525},{"style":56},[4526],{"type":14,"value":59},{"type":9,"tag":37,"props":4528,"children":4529},{"style":44},[4530],{"type":14,"value":64},{"type":9,"tag":37,"props":4532,"children":4533},{"style":67},[4534],{"type":14,"value":70},{"type":9,"tag":37,"props":4536,"children":4537},{"style":44},[4538],{"type":14,"value":80},{"type":9,"tag":37,"props":4540,"children":4541},{"class":39,"line":83},[4542,4546,4550,4554,4558],{"type":9,"tag":37,"props":4543,"children":4544},{"style":87},[4545],{"type":14,"value":90},{"type":9,"tag":37,"props":4547,"children":4548},{"style":87},[4549],{"type":14,"value":95},{"type":9,"tag":37,"props":4551,"children":4552},{"style":44},[4553],{"type":14,"value":719},{"type":9,"tag":37,"props":4555,"children":4556},{"style":87},[4557],{"type":14,"value":105},{"type":9,"tag":37,"props":4559,"children":4560},{"style":67},[4561],{"type":14,"value":728},{"type":9,"tag":37,"props":4563,"children":4564},{"class":39,"line":113},[4565,4569,4573,4577,4581],{"type":9,"tag":37,"props":4566,"children":4567},{"style":87},[4568],{"type":14,"value":90},{"type":9,"tag":37,"props":4570,"children":4571},{"style":87},[4572],{"type":14,"value":95},{"type":9,"tag":37,"props":4574,"children":4575},{"style":44},[4576],{"type":14,"value":100},{"type":9,"tag":37,"props":4578,"children":4579},{"style":87},[4580],{"type":14,"value":105},{"type":9,"tag":37,"props":4582,"children":4583},{"style":67},[4584],{"type":14,"value":110},{"type":9,"tag":37,"props":4586,"children":4587},{"class":39,"line":123},[4588],{"type":9,"tag":37,"props":4589,"children":4590},{"emptyLinePlaceholder":117},[4591],{"type":14,"value":120},{"type":9,"tag":37,"props":4593,"children":4594},{"class":39,"line":162},[4595,4599,4603,4607,4611,4615,4619],{"type":9,"tag":37,"props":4596,"children":4597},{"style":87},[4598],{"type":14,"value":129},{"type":9,"tag":37,"props":4600,"children":4601},{"style":44},[4602],{"type":14,"value":134},{"type":9,"tag":37,"props":4604,"children":4605},{"style":137},[4606],{"type":14,"value":140},{"type":9,"tag":37,"props":4608,"children":4609},{"style":44},[4610],{"type":14,"value":145},{"type":9,"tag":37,"props":4612,"children":4613},{"style":87},[4614],{"type":14,"value":64},{"type":9,"tag":37,"props":4616,"children":4617},{"style":56},[4618],{"type":14,"value":154},{"type":9,"tag":37,"props":4620,"children":4621},{"style":44},[4622],{"type":14,"value":159},{"type":9,"tag":37,"props":4624,"children":4625},{"class":39,"line":170},[4626,4630,4634,4638,4642],{"type":9,"tag":37,"props":4627,"children":4628},{"style":87},[4629],{"type":14,"value":129},{"type":9,"tag":37,"props":4631,"children":4632},{"style":137},[4633],{"type":14,"value":822},{"type":9,"tag":37,"props":4635,"children":4636},{"style":87},[4637],{"type":14,"value":185},{"type":9,"tag":37,"props":4639,"children":4640},{"style":56},[4641],{"type":14,"value":831},{"type":9,"tag":37,"props":4643,"children":4644},{"style":44},[4645],{"type":14,"value":159},{"type":9,"tag":37,"props":4647,"children":4648},{"class":39,"line":203},[4649],{"type":9,"tag":37,"props":4650,"children":4651},{"emptyLinePlaceholder":117},[4652],{"type":14,"value":120},{"type":9,"tag":37,"props":4654,"children":4655},{"class":39,"line":272},[4656,4660,4664,4668,4672,4676],{"type":9,"tag":37,"props":4657,"children":4658},{"style":87},[4659],{"type":14,"value":129},{"type":9,"tag":37,"props":4661,"children":4662},{"style":137},[4663],{"type":14,"value":180},{"type":9,"tag":37,"props":4665,"children":4666},{"style":87},[4667],{"type":14,"value":185},{"type":9,"tag":37,"props":4669,"children":4670},{"style":44},[4671],{"type":14,"value":190},{"type":9,"tag":37,"props":4673,"children":4674},{"style":56},[4675],{"type":14,"value":195},{"type":9,"tag":37,"props":4677,"children":4678},{"style":44},[4679],{"type":14,"value":200},{"type":9,"tag":37,"props":4681,"children":4682},{"class":39,"line":308},[4683,4688,4692],{"type":9,"tag":37,"props":4684,"children":4685},{"style":44},[4686],{"type":14,"value":4687},"  $layout: afz.",{"type":9,"tag":37,"props":4689,"children":4690},{"style":56},[4691],{"type":14,"value":882},{"type":9,"tag":37,"props":4693,"children":4694},{"style":44},[4695],{"type":14,"value":200},{"type":9,"tag":37,"props":4697,"children":4698},{"class":39,"line":378},[4699,4703,4708],{"type":9,"tag":37,"props":4700,"children":4701},{"style":44},[4702],{"type":14,"value":1919},{"type":9,"tag":37,"props":4704,"children":4705},{"style":67},[4706],{"type":14,"value":4707},"'space-y-4'",{"type":9,"tag":37,"props":4709,"children":4710},{"style":44},[4711],{"type":14,"value":920},{"type":9,"tag":37,"props":4713,"children":4714},{"class":39,"line":441},[4715],{"type":9,"tag":37,"props":4716,"children":4717},{"style":44},[4718],{"type":14,"value":1133},{"type":9,"tag":37,"props":4720,"children":4721},{"class":39,"line":450},[4722,4726,4730,4734,4738,4742,4746],{"type":9,"tag":37,"props":4723,"children":4724},{"style":44},[4725],{"type":14,"value":1943},{"type":9,"tag":37,"props":4727,"children":4728},{"style":56},[4729],{"type":14,"value":214},{"type":9,"tag":37,"props":4731,"children":4732},{"style":44},[4733],{"type":14,"value":288},{"type":9,"tag":37,"props":4735,"children":4736},{"style":56},[4737],{"type":14,"value":254},{"type":9,"tag":37,"props":4739,"children":4740},{"style":44},[4741],{"type":14,"value":259},{"type":9,"tag":37,"props":4743,"children":4744},{"style":67},[4745],{"type":14,"value":1964},{"type":9,"tag":37,"props":4747,"children":4748},{"style":44},[4749],{"type":14,"value":269},{"type":9,"tag":37,"props":4751,"children":4752},{"class":39,"line":458},[4753,4757,4761,4765,4769,4773,4777],{"type":9,"tag":37,"props":4754,"children":4755},{"style":44},[4756],{"type":14,"value":1976},{"type":9,"tag":37,"props":4758,"children":4759},{"style":56},[4760],{"type":14,"value":214},{"type":9,"tag":37,"props":4762,"children":4763},{"style":44},[4764],{"type":14,"value":288},{"type":9,"tag":37,"props":4766,"children":4767},{"style":56},[4768],{"type":14,"value":254},{"type":9,"tag":37,"props":4770,"children":4771},{"style":44},[4772],{"type":14,"value":259},{"type":9,"tag":37,"props":4774,"children":4775},{"style":67},[4776],{"type":14,"value":1997},{"type":9,"tag":37,"props":4778,"children":4779},{"style":44},[4780],{"type":14,"value":269},{"type":9,"tag":37,"props":4782,"children":4783},{"class":39,"line":522},[4784,4788,4792,4796,4800,4804,4808],{"type":9,"tag":37,"props":4785,"children":4786},{"style":44},[4787],{"type":14,"value":1175},{"type":9,"tag":37,"props":4789,"children":4790},{"style":56},[4791],{"type":14,"value":283},{"type":9,"tag":37,"props":4793,"children":4794},{"style":44},[4795],{"type":14,"value":288},{"type":9,"tag":37,"props":4797,"children":4798},{"style":56},[4799],{"type":14,"value":254},{"type":9,"tag":37,"props":4801,"children":4802},{"style":44},[4803],{"type":14,"value":259},{"type":9,"tag":37,"props":4805,"children":4806},{"style":67},[4807],{"type":14,"value":2054},{"type":9,"tag":37,"props":4809,"children":4810},{"style":44},[4811],{"type":14,"value":438},{"type":9,"tag":37,"props":4813,"children":4814},{"class":39,"line":539},[4815],{"type":9,"tag":37,"props":4816,"children":4817},{"style":44},[4818],{"type":14,"value":1259},{"type":9,"tag":37,"props":4820,"children":4821},{"class":39,"line":547},[4822],{"type":9,"tag":37,"props":4823,"children":4824},{"style":44},[4825],{"type":14,"value":1268},{"type":9,"tag":37,"props":4827,"children":4828},{"class":39,"line":564},[4829],{"type":9,"tag":37,"props":4830,"children":4831},{"style":44},[4832],{"type":14,"value":447},{"type":9,"tag":37,"props":4834,"children":4835},{"class":39,"line":632},[4836],{"type":9,"tag":37,"props":4837,"children":4838},{"emptyLinePlaceholder":117},[4839],{"type":14,"value":120},{"type":9,"tag":37,"props":4841,"children":4842},{"class":39,"line":1004},[4843,4847,4851,4855,4859,4863,4867,4871,4875],{"type":9,"tag":37,"props":4844,"children":4845},{"style":87},[4846],{"type":14,"value":1293},{"type":9,"tag":37,"props":4848,"children":4849},{"style":56},[4850],{"type":14,"value":1298},{"type":9,"tag":37,"props":4852,"children":4853},{"style":87},[4854],{"type":14,"value":185},{"type":9,"tag":37,"props":4856,"children":4857},{"style":56},[4858],{"type":14,"value":1307},{"type":9,"tag":37,"props":4860,"children":4861},{"style":44},[4862],{"type":14,"value":500},{"type":9,"tag":37,"props":4864,"children":4865},{"style":56},[4866],{"type":14,"value":505},{"type":9,"tag":37,"props":4868,"children":4869},{"style":44},[4870],{"type":14,"value":47},{"type":9,"tag":37,"props":4872,"children":4873},{"style":87},[4874],{"type":14,"value":514},{"type":9,"tag":37,"props":4876,"children":4877},{"style":44},[4878],{"type":14,"value":1328},{"type":9,"tag":37,"props":4880,"children":4881},{"class":39,"line":1044},[4882],{"type":9,"tag":37,"props":4883,"children":4884},{"emptyLinePlaceholder":117},[4885],{"type":14,"value":120},{"type":9,"tag":37,"props":4887,"children":4888},{"class":39,"line":1053},[4889,4893,4897,4901,4905,4909,4913,4917,4921],{"type":9,"tag":37,"props":4890,"children":4891},{"style":87},[4892],{"type":14,"value":129},{"type":9,"tag":37,"props":4894,"children":4895},{"style":137},[4896],{"type":14,"value":468},{"type":9,"tag":37,"props":4898,"children":4899},{"style":87},[4900],{"type":14,"value":185},{"type":9,"tag":37,"props":4902,"children":4903},{"style":56},[4904],{"type":14,"value":477},{"type":9,"tag":37,"props":4906,"children":4907},{"style":44},[4908],{"type":14,"value":47},{"type":9,"tag":37,"props":4910,"children":4911},{"style":56},[4912],{"type":14,"value":486},{"type":9,"tag":37,"props":4914,"children":4915},{"style":44},[4916],{"type":14,"value":47},{"type":9,"tag":37,"props":4918,"children":4919},{"style":56},[4920],{"type":14,"value":1373},{"type":9,"tag":37,"props":4922,"children":4923},{"style":44},[4924],{"type":14,"value":1378},{"type":9,"tag":37,"props":4926,"children":4927},{"class":39,"line":1062},[4928],{"type":9,"tag":37,"props":4929,"children":4930},{"emptyLinePlaceholder":117},[4931],{"type":14,"value":120},{"type":9,"tag":37,"props":4933,"children":4934},{"class":39,"line":1071},[4935,4939,4943,4947,4951,4955,4959,4963,4967,4971],{"type":9,"tag":37,"props":4936,"children":4937},{"style":87},[4938],{"type":14,"value":1395},{"type":9,"tag":37,"props":4940,"children":4941},{"style":87},[4942],{"type":14,"value":1400},{"type":9,"tag":37,"props":4944,"children":4945},{"style":56},[4946],{"type":14,"value":1405},{"type":9,"tag":37,"props":4948,"children":4949},{"style":44},[4950],{"type":14,"value":239},{"type":9,"tag":37,"props":4952,"children":4953},{"style":1412},[4954],{"type":14,"value":1415},{"type":9,"tag":37,"props":4956,"children":4957},{"style":87},[4958],{"type":14,"value":1420},{"type":9,"tag":37,"props":4960,"children":4961},{"style":56},[4962],{"type":14,"value":1425},{"type":9,"tag":37,"props":4964,"children":4965},{"style":44},[4966],{"type":14,"value":47},{"type":9,"tag":37,"props":4968,"children":4969},{"style":56},[4970],{"type":14,"value":1373},{"type":9,"tag":37,"props":4972,"children":4973},{"style":44},[4974],{"type":14,"value":1438},{"type":9,"tag":37,"props":4976,"children":4977},{"class":39,"line":1088},[4978,4982,4986],{"type":9,"tag":37,"props":4979,"children":4980},{"style":44},[4981],{"type":14,"value":1447},{"type":9,"tag":37,"props":4983,"children":4984},{"style":56},[4985],{"type":14,"value":1452},{"type":9,"tag":37,"props":4987,"children":4988},{"style":44},[4989],{"type":14,"value":200},{"type":9,"tag":37,"props":4991,"children":4992},{"class":39,"line":1105},[4993,4997,5001],{"type":9,"tag":37,"props":4994,"children":4995},{"style":44},[4996],{"type":14,"value":1465},{"type":9,"tag":37,"props":4998,"children":4999},{"style":67},[5000],{"type":14,"value":1470},{"type":9,"tag":37,"props":5002,"children":5003},{"style":44},[5004],{"type":14,"value":920},{"type":9,"tag":37,"props":5006,"children":5007},{"class":39,"line":1119},[5008,5012,5016],{"type":9,"tag":37,"props":5009,"children":5010},{"style":44},[5011],{"type":14,"value":1483},{"type":9,"tag":37,"props":5013,"children":5014},{"style":67},[5015],{"type":14,"value":1488},{"type":9,"tag":37,"props":5017,"children":5018},{"style":44},[5019],{"type":14,"value":920},{"type":9,"tag":37,"props":5021,"children":5022},{"class":39,"line":1127},[5023,5027,5031,5035,5039,5043,5047,5051,5055],{"type":9,"tag":37,"props":5024,"children":5025},{"style":44},[5026],{"type":14,"value":1501},{"type":9,"tag":37,"props":5028,"children":5029},{"style":137},[5030],{"type":14,"value":1506},{"type":9,"tag":37,"props":5032,"children":5033},{"style":44},[5034],{"type":14,"value":500},{"type":9,"tag":37,"props":5036,"children":5037},{"style":56},[5038],{"type":14,"value":1515},{"type":9,"tag":37,"props":5040,"children":5041},{"style":44},[5042],{"type":14,"value":1520},{"type":9,"tag":37,"props":5044,"children":5045},{"style":137},[5046],{"type":14,"value":1525},{"type":9,"tag":37,"props":5048,"children":5049},{"style":44},[5050],{"type":14,"value":1530},{"type":9,"tag":37,"props":5052,"children":5053},{"style":137},[5054],{"type":14,"value":244},{"type":9,"tag":37,"props":5056,"children":5057},{"style":44},[5058],{"type":14,"value":1539},{"type":9,"tag":37,"props":5060,"children":5061},{"class":39,"line":1136},[5062],{"type":9,"tag":37,"props":5063,"children":5064},{"style":44},[5065],{"type":14,"value":1268},{"type":9,"tag":37,"props":5067,"children":5068},{"class":39,"line":1169},[5069],{"type":9,"tag":37,"props":5070,"children":5071},{"style":44},[5072],{"type":14,"value":1556},{"type":9,"tag":37,"props":5074,"children":5075},{"class":39,"line":1202},[5076,5080,5084],{"type":9,"tag":37,"props":5077,"children":5078},{"style":44},[5079],{"type":14,"value":528},{"type":9,"tag":37,"props":5081,"children":5082},{"style":50},[5083],{"type":14,"value":53},{"type":9,"tag":37,"props":5085,"children":5086},{"style":44},[5087],{"type":14,"value":80},{"type":9,"tag":37,"props":5089,"children":5090},{"class":39,"line":1253},[5091],{"type":9,"tag":37,"props":5092,"children":5093},{"emptyLinePlaceholder":117},[5094],{"type":14,"value":120},{"type":9,"tag":37,"props":5096,"children":5097},{"class":39,"line":1262},[5098,5102,5106],{"type":9,"tag":37,"props":5099,"children":5100},{"style":44},[5101],{"type":14,"value":47},{"type":9,"tag":37,"props":5103,"children":5104},{"style":50},[5105],{"type":14,"value":557},{"type":9,"tag":37,"props":5107,"children":5108},{"style":44},[5109],{"type":14,"value":80},{"type":9,"tag":37,"props":5111,"children":5112},{"class":39,"line":1271},[5113,5117,5121,5125,5129,5133,5137,5141,5145,5149,5153,5157,5161,5165,5169,5173,5177,5181,5185,5189],{"type":9,"tag":37,"props":5114,"children":5115},{"style":44},[5116],{"type":14,"value":570},{"type":9,"tag":37,"props":5118,"children":5119},{"style":50},[5120],{"type":14,"value":575},{"type":9,"tag":37,"props":5122,"children":5123},{"style":56},[5124],{"type":14,"value":580},{"type":9,"tag":37,"props":5126,"children":5127},{"style":44},[5128],{"type":14,"value":64},{"type":9,"tag":37,"props":5130,"children":5131},{"style":67},[5132],{"type":14,"value":589},{"type":9,"tag":37,"props":5134,"children":5135},{"style":44},[5136],{"type":14,"value":594},{"type":9,"tag":37,"props":5138,"children":5139},{"style":67},[5140],{"type":14,"value":589},{"type":9,"tag":37,"props":5142,"children":5143},{"style":44},[5144],{"type":14,"value":603},{"type":9,"tag":37,"props":5146,"children":5147},{"style":56},[5148],{"type":14,"value":608},{"type":9,"tag":37,"props":5150,"children":5151},{"style":44},[5152],{"type":14,"value":64},{"type":9,"tag":37,"props":5154,"children":5155},{"style":67},[5156],{"type":14,"value":589},{"type":9,"tag":37,"props":5158,"children":5159},{"style":44},[5160],{"type":14,"value":608},{"type":9,"tag":37,"props":5162,"children":5163},{"style":67},[5164],{"type":14,"value":589},{"type":9,"tag":37,"props":5166,"children":5167},{"style":44},[5168],{"type":14,"value":1657},{"type":9,"tag":37,"props":5170,"children":5171},{"style":56},[5172],{"type":14,"value":1662},{"type":9,"tag":37,"props":5174,"children":5175},{"style":44},[5176],{"type":14,"value":64},{"type":9,"tag":37,"props":5178,"children":5179},{"style":67},[5180],{"type":14,"value":589},{"type":9,"tag":37,"props":5182,"children":5183},{"style":44},[5184],{"type":14,"value":1675},{"type":9,"tag":37,"props":5186,"children":5187},{"style":67},[5188],{"type":14,"value":589},{"type":9,"tag":37,"props":5190,"children":5191},{"style":44},[5192],{"type":14,"value":629},{"type":9,"tag":37,"props":5194,"children":5195},{"class":39,"line":1279},[5196,5200,5204],{"type":9,"tag":37,"props":5197,"children":5198},{"style":44},[5199],{"type":14,"value":528},{"type":9,"tag":37,"props":5201,"children":5202},{"style":50},[5203],{"type":14,"value":557},{"type":9,"tag":37,"props":5205,"children":5206},{"style":44},[5207],{"type":14,"value":80},{"type":9,"tag":647,"props":5209,"children":5210},{},[5211],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":5213},[],{"code":5215,"filePath":5216,"pascalName":5217},"\u003Cscript setup lang=\"ts\">\nimport { UTabs } from '#components'\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport type { AutoFormFieldContext } from '#movk\u002Ftypes'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  userType: afz.enum(['personal', 'company'])\n    .default('personal')\n    .meta({ label: '用户类型' }),\n\n  $tabs: afz.layout({\n    component: UTabs,\n    props: ({ state }) => {\n      const isCompany = state?.userType === 'company'\n      return {\n        ui: { content: 'space-y-4' },\n        items: isCompany\n          ? [\n              { label: '公司信息', icon: 'i-lucide-building', slot: 'tab-0' },\n              { label: '联系方式', icon: 'i-lucide-phone', slot: 'tab-1' }\n            ]\n          : [\n              { label: '个人信息', icon: 'i-lucide-user', slot: 'tab-0' },\n              { label: '联系方式', icon: 'i-lucide-phone', slot: 'tab-1' }\n            ]\n      }\n    },\n    fieldSlots: ({ state }) => {\n      if (state?.userType === 'company') {\n        return {\n          companyName: 'tab-0',\n          registrationNumber: 'tab-0',\n          phone: 'tab-1',\n          email: 'tab-1',\n          address: 'tab-1'\n        }\n      }\n      return {\n        username: 'tab-0',\n        age: 'tab-0',\n        phone: 'tab-1',\n        email: 'tab-1',\n        address: 'tab-1'\n      }\n    },\n    fields: {\n      username: afz.string().meta({\n        label: '姓名',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'personal'\n      }).optional(),\n      age: afz.number().int().min(0).meta({\n        label: '年龄',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'personal'\n      }).optional(),\n      companyName: afz.string().meta({\n        label: '公司名称',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'company'\n      }).optional(),\n      registrationNumber: afz.string().meta({\n        label: '注册号',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'company'\n      }).optional(),\n      phone: afz.string().meta({ label: '联系电话' }),\n      email: afz.email().meta({ label: '邮箱地址' }),\n      address: afz.string().meta({ label: '地址' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Flayout\u002FAutoFormLayoutTabsExample.vue","AutoFormLayoutTabsExample",{"data":5219,"body":5220,"toc":7103},{"title":22,"description":22},{"type":6,"children":5221},[5222,7099],{"type":9,"tag":663,"props":5223,"children":5224},{},[5225],{"type":9,"tag":26,"props":5226,"children":5228},{"className":28,"code":5227,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport { UTabs } from '#components'\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport type { AutoFormFieldContext } from '#movk\u002Ftypes'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  userType: afz.enum(['personal', 'company'])\n    .default('personal')\n    .meta({ label: '用户类型' }),\n\n  $tabs: afz.layout({\n    component: UTabs,\n    props: ({ state }) => {\n      const isCompany = state?.userType === 'company'\n      return {\n        ui: { content: 'space-y-4' },\n        items: isCompany\n          ? [\n              { label: '公司信息', icon: 'i-lucide-building', slot: 'tab-0' },\n              { label: '联系方式', icon: 'i-lucide-phone', slot: 'tab-1' }\n            ]\n          : [\n              { label: '个人信息', icon: 'i-lucide-user', slot: 'tab-0' },\n              { label: '联系方式', icon: 'i-lucide-phone', slot: 'tab-1' }\n            ]\n      }\n    },\n    fieldSlots: ({ state }) => {\n      if (state?.userType === 'company') {\n        return {\n          companyName: 'tab-0',\n          registrationNumber: 'tab-0',\n          phone: 'tab-1',\n          email: 'tab-1',\n          address: 'tab-1'\n        }\n      }\n      return {\n        username: 'tab-0',\n        age: 'tab-0',\n        phone: 'tab-1',\n        email: 'tab-1',\n        address: 'tab-1'\n      }\n    },\n    fields: {\n      username: afz.string().meta({\n        label: '姓名',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'personal'\n      }).optional(),\n      age: afz.number().int().min(0).meta({\n        label: '年龄',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'personal'\n      }).optional(),\n      companyName: afz.string().meta({\n        label: '公司名称',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'company'\n      }).optional(),\n      registrationNumber: afz.string().meta({\n        label: '注册号',\n        if: ({ state }: AutoFormFieldContext) => state?.userType === 'company'\n      }).optional(),\n      phone: afz.string().meta({ label: '联系电话' }),\n      email: afz.email().meta({ label: '邮箱地址' }),\n      address: afz.string().meta({ label: '地址' })\n    }\n  })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"form\" :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[5229],{"type":9,"tag":33,"props":5230,"children":5231},{"__ignoreMap":22},[5232,5263,5283,5306,5329,5354,5361,5392,5415,5422,5449,5486,5510,5534,5541,5557,5565,5598,5630,5642,5658,5666,5679,5718,5756,5764,5776,5811,5845,5852,5860,5867,5895,5922,5934,5950,5966,5982,5998,6011,6018,6025,6036,6052,6068,6084,6100,6112,6119,6126,6133,6157,6173,6226,6244,6292,6308,6356,6372,6397,6414,6462,6478,6503,6520,6568,6584,6617,6649,6683,6691,6699,6707,6715,6755,6763,6803,6811,6855,6871,6887,6903,6943,6951,6959,6975,6983,6999,7083],{"type":9,"tag":37,"props":5233,"children":5234},{"class":39,"line":40},[5235,5239,5243,5247,5251,5255,5259],{"type":9,"tag":37,"props":5236,"children":5237},{"style":44},[5238],{"type":14,"value":47},{"type":9,"tag":37,"props":5240,"children":5241},{"style":50},[5242],{"type":14,"value":53},{"type":9,"tag":37,"props":5244,"children":5245},{"style":56},[5246],{"type":14,"value":75},{"type":9,"tag":37,"props":5248,"children":5249},{"style":56},[5250],{"type":14,"value":59},{"type":9,"tag":37,"props":5252,"children":5253},{"style":44},[5254],{"type":14,"value":64},{"type":9,"tag":37,"props":5256,"children":5257},{"style":67},[5258],{"type":14,"value":70},{"type":9,"tag":37,"props":5260,"children":5261},{"style":44},[5262],{"type":14,"value":80},{"type":9,"tag":37,"props":5264,"children":5265},{"class":39,"line":83},[5266,5270,5275,5279],{"type":9,"tag":37,"props":5267,"children":5268},{"style":87},[5269],{"type":14,"value":90},{"type":9,"tag":37,"props":5271,"children":5272},{"style":44},[5273],{"type":14,"value":5274}," { UTabs } ",{"type":9,"tag":37,"props":5276,"children":5277},{"style":87},[5278],{"type":14,"value":105},{"type":9,"tag":37,"props":5280,"children":5281},{"style":67},[5282],{"type":14,"value":772},{"type":9,"tag":37,"props":5284,"children":5285},{"class":39,"line":113},[5286,5290,5294,5298,5302],{"type":9,"tag":37,"props":5287,"children":5288},{"style":87},[5289],{"type":14,"value":90},{"type":9,"tag":37,"props":5291,"children":5292},{"style":87},[5293],{"type":14,"value":95},{"type":9,"tag":37,"props":5295,"children":5296},{"style":44},[5297],{"type":14,"value":719},{"type":9,"tag":37,"props":5299,"children":5300},{"style":87},[5301],{"type":14,"value":105},{"type":9,"tag":37,"props":5303,"children":5304},{"style":67},[5305],{"type":14,"value":728},{"type":9,"tag":37,"props":5307,"children":5308},{"class":39,"line":123},[5309,5313,5317,5321,5325],{"type":9,"tag":37,"props":5310,"children":5311},{"style":87},[5312],{"type":14,"value":90},{"type":9,"tag":37,"props":5314,"children":5315},{"style":87},[5316],{"type":14,"value":95},{"type":9,"tag":37,"props":5318,"children":5319},{"style":44},[5320],{"type":14,"value":100},{"type":9,"tag":37,"props":5322,"children":5323},{"style":87},[5324],{"type":14,"value":105},{"type":9,"tag":37,"props":5326,"children":5327},{"style":67},[5328],{"type":14,"value":110},{"type":9,"tag":37,"props":5330,"children":5331},{"class":39,"line":162},[5332,5336,5340,5345,5349],{"type":9,"tag":37,"props":5333,"children":5334},{"style":87},[5335],{"type":14,"value":90},{"type":9,"tag":37,"props":5337,"children":5338},{"style":87},[5339],{"type":14,"value":95},{"type":9,"tag":37,"props":5341,"children":5342},{"style":44},[5343],{"type":14,"value":5344}," { AutoFormFieldContext } ",{"type":9,"tag":37,"props":5346,"children":5347},{"style":87},[5348],{"type":14,"value":105},{"type":9,"tag":37,"props":5350,"children":5351},{"style":67},[5352],{"type":14,"value":5353}," '#movk\u002Ftypes'\n",{"type":9,"tag":37,"props":5355,"children":5356},{"class":39,"line":170},[5357],{"type":9,"tag":37,"props":5358,"children":5359},{"emptyLinePlaceholder":117},[5360],{"type":14,"value":120},{"type":9,"tag":37,"props":5362,"children":5363},{"class":39,"line":203},[5364,5368,5372,5376,5380,5384,5388],{"type":9,"tag":37,"props":5365,"children":5366},{"style":87},[5367],{"type":14,"value":129},{"type":9,"tag":37,"props":5369,"children":5370},{"style":44},[5371],{"type":14,"value":134},{"type":9,"tag":37,"props":5373,"children":5374},{"style":137},[5375],{"type":14,"value":140},{"type":9,"tag":37,"props":5377,"children":5378},{"style":44},[5379],{"type":14,"value":145},{"type":9,"tag":37,"props":5381,"children":5382},{"style":87},[5383],{"type":14,"value":64},{"type":9,"tag":37,"props":5385,"children":5386},{"style":56},[5387],{"type":14,"value":154},{"type":9,"tag":37,"props":5389,"children":5390},{"style":44},[5391],{"type":14,"value":159},{"type":9,"tag":37,"props":5393,"children":5394},{"class":39,"line":272},[5395,5399,5403,5407,5411],{"type":9,"tag":37,"props":5396,"children":5397},{"style":87},[5398],{"type":14,"value":129},{"type":9,"tag":37,"props":5400,"children":5401},{"style":137},[5402],{"type":14,"value":822},{"type":9,"tag":37,"props":5404,"children":5405},{"style":87},[5406],{"type":14,"value":185},{"type":9,"tag":37,"props":5408,"children":5409},{"style":56},[5410],{"type":14,"value":831},{"type":9,"tag":37,"props":5412,"children":5413},{"style":44},[5414],{"type":14,"value":159},{"type":9,"tag":37,"props":5416,"children":5417},{"class":39,"line":308},[5418],{"type":9,"tag":37,"props":5419,"children":5420},{"emptyLinePlaceholder":117},[5421],{"type":14,"value":120},{"type":9,"tag":37,"props":5423,"children":5424},{"class":39,"line":378},[5425,5429,5433,5437,5441,5445],{"type":9,"tag":37,"props":5426,"children":5427},{"style":87},[5428],{"type":14,"value":129},{"type":9,"tag":37,"props":5430,"children":5431},{"style":137},[5432],{"type":14,"value":180},{"type":9,"tag":37,"props":5434,"children":5435},{"style":87},[5436],{"type":14,"value":185},{"type":9,"tag":37,"props":5438,"children":5439},{"style":44},[5440],{"type":14,"value":190},{"type":9,"tag":37,"props":5442,"children":5443},{"style":56},[5444],{"type":14,"value":195},{"type":9,"tag":37,"props":5446,"children":5447},{"style":44},[5448],{"type":14,"value":200},{"type":9,"tag":37,"props":5450,"children":5451},{"class":39,"line":441},[5452,5457,5462,5467,5472,5476,5481],{"type":9,"tag":37,"props":5453,"children":5454},{"style":44},[5455],{"type":14,"value":5456},"  userType: afz.",{"type":9,"tag":37,"props":5458,"children":5459},{"style":56},[5460],{"type":14,"value":5461},"enum",{"type":9,"tag":37,"props":5463,"children":5464},{"style":44},[5465],{"type":14,"value":5466},"([",{"type":9,"tag":37,"props":5468,"children":5469},{"style":67},[5470],{"type":14,"value":5471},"'personal'",{"type":9,"tag":37,"props":5473,"children":5474},{"style":44},[5475],{"type":14,"value":1530},{"type":9,"tag":37,"props":5477,"children":5478},{"style":67},[5479],{"type":14,"value":5480},"'company'",{"type":9,"tag":37,"props":5482,"children":5483},{"style":44},[5484],{"type":14,"value":5485},"])\n",{"type":9,"tag":37,"props":5487,"children":5488},{"class":39,"line":450},[5489,5494,5498,5502,5506],{"type":9,"tag":37,"props":5490,"children":5491},{"style":44},[5492],{"type":14,"value":5493},"    .",{"type":9,"tag":37,"props":5495,"children":5496},{"style":56},[5497],{"type":14,"value":3014},{"type":9,"tag":37,"props":5499,"children":5500},{"style":44},[5501],{"type":14,"value":239},{"type":9,"tag":37,"props":5503,"children":5504},{"style":67},[5505],{"type":14,"value":5471},{"type":9,"tag":37,"props":5507,"children":5508},{"style":44},[5509],{"type":14,"value":1539},{"type":9,"tag":37,"props":5511,"children":5512},{"class":39,"line":458},[5513,5517,5521,5525,5530],{"type":9,"tag":37,"props":5514,"children":5515},{"style":44},[5516],{"type":14,"value":5493},{"type":9,"tag":37,"props":5518,"children":5519},{"style":56},[5520],{"type":14,"value":254},{"type":9,"tag":37,"props":5522,"children":5523},{"style":44},[5524],{"type":14,"value":259},{"type":9,"tag":37,"props":5526,"children":5527},{"style":67},[5528],{"type":14,"value":5529},"'用户类型'",{"type":9,"tag":37,"props":5531,"children":5532},{"style":44},[5533],{"type":14,"value":269},{"type":9,"tag":37,"props":5535,"children":5536},{"class":39,"line":522},[5537],{"type":9,"tag":37,"props":5538,"children":5539},{"emptyLinePlaceholder":117},[5540],{"type":14,"value":120},{"type":9,"tag":37,"props":5542,"children":5543},{"class":39,"line":539},[5544,5549,5553],{"type":9,"tag":37,"props":5545,"children":5546},{"style":44},[5547],{"type":14,"value":5548},"  $tabs: afz.",{"type":9,"tag":37,"props":5550,"children":5551},{"style":56},[5552],{"type":14,"value":882},{"type":9,"tag":37,"props":5554,"children":5555},{"style":44},[5556],{"type":14,"value":200},{"type":9,"tag":37,"props":5558,"children":5559},{"class":39,"line":547},[5560],{"type":9,"tag":37,"props":5561,"children":5562},{"style":44},[5563],{"type":14,"value":5564},"    component: UTabs,\n",{"type":9,"tag":37,"props":5566,"children":5567},{"class":39,"line":564},[5568,5573,5578,5583,5588,5593],{"type":9,"tag":37,"props":5569,"children":5570},{"style":56},[5571],{"type":14,"value":5572},"    props",{"type":9,"tag":37,"props":5574,"children":5575},{"style":44},[5576],{"type":14,"value":5577},": ({ ",{"type":9,"tag":37,"props":5579,"children":5580},{"style":1412},[5581],{"type":14,"value":5582},"state",{"type":9,"tag":37,"props":5584,"children":5585},{"style":44},[5586],{"type":14,"value":5587}," }) ",{"type":9,"tag":37,"props":5589,"children":5590},{"style":87},[5591],{"type":14,"value":5592},"=>",{"type":9,"tag":37,"props":5594,"children":5595},{"style":44},[5596],{"type":14,"value":5597}," {\n",{"type":9,"tag":37,"props":5599,"children":5600},{"class":39,"line":632},[5601,5606,5611,5615,5620,5625],{"type":9,"tag":37,"props":5602,"children":5603},{"style":87},[5604],{"type":14,"value":5605},"      const",{"type":9,"tag":37,"props":5607,"children":5608},{"style":137},[5609],{"type":14,"value":5610}," isCompany",{"type":9,"tag":37,"props":5612,"children":5613},{"style":87},[5614],{"type":14,"value":185},{"type":9,"tag":37,"props":5616,"children":5617},{"style":44},[5618],{"type":14,"value":5619}," state?.userType ",{"type":9,"tag":37,"props":5621,"children":5622},{"style":87},[5623],{"type":14,"value":5624},"===",{"type":9,"tag":37,"props":5626,"children":5627},{"style":67},[5628],{"type":14,"value":5629}," 'company'\n",{"type":9,"tag":37,"props":5631,"children":5632},{"class":39,"line":1004},[5633,5638],{"type":9,"tag":37,"props":5634,"children":5635},{"style":87},[5636],{"type":14,"value":5637},"      return",{"type":9,"tag":37,"props":5639,"children":5640},{"style":44},[5641],{"type":14,"value":5597},{"type":9,"tag":37,"props":5643,"children":5644},{"class":39,"line":1044},[5645,5650,5654],{"type":9,"tag":37,"props":5646,"children":5647},{"style":44},[5648],{"type":14,"value":5649},"        ui: { content: ",{"type":9,"tag":37,"props":5651,"children":5652},{"style":67},[5653],{"type":14,"value":4707},{"type":9,"tag":37,"props":5655,"children":5656},{"style":44},[5657],{"type":14,"value":1001},{"type":9,"tag":37,"props":5659,"children":5660},{"class":39,"line":1053},[5661],{"type":9,"tag":37,"props":5662,"children":5663},{"style":44},[5664],{"type":14,"value":5665},"        items: isCompany\n",{"type":9,"tag":37,"props":5667,"children":5668},{"class":39,"line":1062},[5669,5674],{"type":9,"tag":37,"props":5670,"children":5671},{"style":87},[5672],{"type":14,"value":5673},"          ?",{"type":9,"tag":37,"props":5675,"children":5676},{"style":44},[5677],{"type":14,"value":5678}," [\n",{"type":9,"tag":37,"props":5680,"children":5681},{"class":39,"line":1071},[5682,5687,5692,5696,5705,5709,5714],{"type":9,"tag":37,"props":5683,"children":5684},{"style":44},[5685],{"type":14,"value":5686},"              { label: ",{"type":9,"tag":37,"props":5688,"children":5689},{"style":67},[5690],{"type":14,"value":5691},"'公司信息'",{"type":9,"tag":37,"props":5693,"children":5694},{"style":44},[5695],{"type":14,"value":975},{"type":9,"tag":37,"props":5697,"children":5698},{"style":67},[5699,5703],{"type":9,"tag":980,"props":5700,"children":5702},{"class":982,"style":5701},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fbuilding.svg?color=%23000)",[],{"type":14,"value":5704},"'i-lucide-building'",{"type":9,"tag":37,"props":5706,"children":5707},{"style":44},[5708],{"type":14,"value":991},{"type":9,"tag":37,"props":5710,"children":5711},{"style":67},[5712],{"type":14,"value":5713},"'tab-0'",{"type":9,"tag":37,"props":5715,"children":5716},{"style":44},[5717],{"type":14,"value":1001},{"type":9,"tag":37,"props":5719,"children":5720},{"class":39,"line":1088},[5721,5725,5730,5734,5743,5747,5752],{"type":9,"tag":37,"props":5722,"children":5723},{"style":44},[5724],{"type":14,"value":5686},{"type":9,"tag":37,"props":5726,"children":5727},{"style":67},[5728],{"type":14,"value":5729},"'联系方式'",{"type":9,"tag":37,"props":5731,"children":5732},{"style":44},[5733],{"type":14,"value":975},{"type":9,"tag":37,"props":5735,"children":5736},{"style":67},[5737,5741],{"type":9,"tag":980,"props":5738,"children":5740},{"class":982,"style":5739},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fphone.svg?color=%23000)",[],{"type":14,"value":5742},"'i-lucide-phone'",{"type":9,"tag":37,"props":5744,"children":5745},{"style":44},[5746],{"type":14,"value":991},{"type":9,"tag":37,"props":5748,"children":5749},{"style":67},[5750],{"type":14,"value":5751},"'tab-1'",{"type":9,"tag":37,"props":5753,"children":5754},{"style":44},[5755],{"type":14,"value":1041},{"type":9,"tag":37,"props":5757,"children":5758},{"class":39,"line":1105},[5759],{"type":9,"tag":37,"props":5760,"children":5761},{"style":44},[5762],{"type":14,"value":5763},"            ]\n",{"type":9,"tag":37,"props":5765,"children":5766},{"class":39,"line":1119},[5767,5772],{"type":9,"tag":37,"props":5768,"children":5769},{"style":87},[5770],{"type":14,"value":5771},"          :",{"type":9,"tag":37,"props":5773,"children":5774},{"style":44},[5775],{"type":14,"value":5678},{"type":9,"tag":37,"props":5777,"children":5778},{"class":39,"line":1127},[5779,5783,5788,5792,5799,5803,5807],{"type":9,"tag":37,"props":5780,"children":5781},{"style":44},[5782],{"type":14,"value":5686},{"type":9,"tag":37,"props":5784,"children":5785},{"style":67},[5786],{"type":14,"value":5787},"'个人信息'",{"type":9,"tag":37,"props":5789,"children":5790},{"style":44},[5791],{"type":14,"value":975},{"type":9,"tag":37,"props":5793,"children":5794},{"style":67},[5795,5798],{"type":9,"tag":980,"props":5796,"children":5797},{"class":982,"style":983},[],{"type":14,"value":986},{"type":9,"tag":37,"props":5800,"children":5801},{"style":44},[5802],{"type":14,"value":991},{"type":9,"tag":37,"props":5804,"children":5805},{"style":67},[5806],{"type":14,"value":5713},{"type":9,"tag":37,"props":5808,"children":5809},{"style":44},[5810],{"type":14,"value":1001},{"type":9,"tag":37,"props":5812,"children":5813},{"class":39,"line":1136},[5814,5818,5822,5826,5833,5837,5841],{"type":9,"tag":37,"props":5815,"children":5816},{"style":44},[5817],{"type":14,"value":5686},{"type":9,"tag":37,"props":5819,"children":5820},{"style":67},[5821],{"type":14,"value":5729},{"type":9,"tag":37,"props":5823,"children":5824},{"style":44},[5825],{"type":14,"value":975},{"type":9,"tag":37,"props":5827,"children":5828},{"style":67},[5829,5832],{"type":9,"tag":980,"props":5830,"children":5831},{"class":982,"style":5739},[],{"type":14,"value":5742},{"type":9,"tag":37,"props":5834,"children":5835},{"style":44},[5836],{"type":14,"value":991},{"type":9,"tag":37,"props":5838,"children":5839},{"style":67},[5840],{"type":14,"value":5751},{"type":9,"tag":37,"props":5842,"children":5843},{"style":44},[5844],{"type":14,"value":1041},{"type":9,"tag":37,"props":5846,"children":5847},{"class":39,"line":1169},[5848],{"type":9,"tag":37,"props":5849,"children":5850},{"style":44},[5851],{"type":14,"value":5763},{"type":9,"tag":37,"props":5853,"children":5854},{"class":39,"line":1202},[5855],{"type":9,"tag":37,"props":5856,"children":5857},{"style":44},[5858],{"type":14,"value":5859},"      }\n",{"type":9,"tag":37,"props":5861,"children":5862},{"class":39,"line":1253},[5863],{"type":9,"tag":37,"props":5864,"children":5865},{"style":44},[5866],{"type":14,"value":1059},{"type":9,"tag":37,"props":5868,"children":5869},{"class":39,"line":1262},[5870,5875,5879,5883,5887,5891],{"type":9,"tag":37,"props":5871,"children":5872},{"style":56},[5873],{"type":14,"value":5874},"    fieldSlots",{"type":9,"tag":37,"props":5876,"children":5877},{"style":44},[5878],{"type":14,"value":5577},{"type":9,"tag":37,"props":5880,"children":5881},{"style":1412},[5882],{"type":14,"value":5582},{"type":9,"tag":37,"props":5884,"children":5885},{"style":44},[5886],{"type":14,"value":5587},{"type":9,"tag":37,"props":5888,"children":5889},{"style":87},[5890],{"type":14,"value":5592},{"type":9,"tag":37,"props":5892,"children":5893},{"style":44},[5894],{"type":14,"value":5597},{"type":9,"tag":37,"props":5896,"children":5897},{"class":39,"line":1271},[5898,5903,5908,5912,5917],{"type":9,"tag":37,"props":5899,"children":5900},{"style":87},[5901],{"type":14,"value":5902},"      if",{"type":9,"tag":37,"props":5904,"children":5905},{"style":44},[5906],{"type":14,"value":5907}," (state?.userType ",{"type":9,"tag":37,"props":5909,"children":5910},{"style":87},[5911],{"type":14,"value":5624},{"type":9,"tag":37,"props":5913,"children":5914},{"style":67},[5915],{"type":14,"value":5916}," 'company'",{"type":9,"tag":37,"props":5918,"children":5919},{"style":44},[5920],{"type":14,"value":5921},") {\n",{"type":9,"tag":37,"props":5923,"children":5924},{"class":39,"line":1279},[5925,5930],{"type":9,"tag":37,"props":5926,"children":5927},{"style":87},[5928],{"type":14,"value":5929},"        return",{"type":9,"tag":37,"props":5931,"children":5932},{"style":44},[5933],{"type":14,"value":5597},{"type":9,"tag":37,"props":5935,"children":5936},{"class":39,"line":1287},[5937,5942,5946],{"type":9,"tag":37,"props":5938,"children":5939},{"style":44},[5940],{"type":14,"value":5941},"          companyName: ",{"type":9,"tag":37,"props":5943,"children":5944},{"style":67},[5945],{"type":14,"value":5713},{"type":9,"tag":37,"props":5947,"children":5948},{"style":44},[5949],{"type":14,"value":920},{"type":9,"tag":37,"props":5951,"children":5952},{"class":39,"line":1331},[5953,5958,5962],{"type":9,"tag":37,"props":5954,"children":5955},{"style":44},[5956],{"type":14,"value":5957},"          registrationNumber: ",{"type":9,"tag":37,"props":5959,"children":5960},{"style":67},[5961],{"type":14,"value":5713},{"type":9,"tag":37,"props":5963,"children":5964},{"style":44},[5965],{"type":14,"value":920},{"type":9,"tag":37,"props":5967,"children":5968},{"class":39,"line":1339},[5969,5974,5978],{"type":9,"tag":37,"props":5970,"children":5971},{"style":44},[5972],{"type":14,"value":5973},"          phone: ",{"type":9,"tag":37,"props":5975,"children":5976},{"style":67},[5977],{"type":14,"value":5751},{"type":9,"tag":37,"props":5979,"children":5980},{"style":44},[5981],{"type":14,"value":920},{"type":9,"tag":37,"props":5983,"children":5984},{"class":39,"line":1381},[5985,5990,5994],{"type":9,"tag":37,"props":5986,"children":5987},{"style":44},[5988],{"type":14,"value":5989},"          email: ",{"type":9,"tag":37,"props":5991,"children":5992},{"style":67},[5993],{"type":14,"value":5751},{"type":9,"tag":37,"props":5995,"children":5996},{"style":44},[5997],{"type":14,"value":920},{"type":9,"tag":37,"props":5999,"children":6000},{"class":39,"line":1389},[6001,6006],{"type":9,"tag":37,"props":6002,"children":6003},{"style":44},[6004],{"type":14,"value":6005},"          address: ",{"type":9,"tag":37,"props":6007,"children":6008},{"style":67},[6009],{"type":14,"value":6010},"'tab-1'\n",{"type":9,"tag":37,"props":6012,"children":6013},{"class":39,"line":1441},[6014],{"type":9,"tag":37,"props":6015,"children":6016},{"style":44},[6017],{"type":14,"value":3129},{"type":9,"tag":37,"props":6019,"children":6020},{"class":39,"line":1459},[6021],{"type":9,"tag":37,"props":6022,"children":6023},{"style":44},[6024],{"type":14,"value":5859},{"type":9,"tag":37,"props":6026,"children":6027},{"class":39,"line":1477},[6028,6032],{"type":9,"tag":37,"props":6029,"children":6030},{"style":87},[6031],{"type":14,"value":5637},{"type":9,"tag":37,"props":6033,"children":6034},{"style":44},[6035],{"type":14,"value":5597},{"type":9,"tag":37,"props":6037,"children":6038},{"class":39,"line":1495},[6039,6044,6048],{"type":9,"tag":37,"props":6040,"children":6041},{"style":44},[6042],{"type":14,"value":6043},"        username: ",{"type":9,"tag":37,"props":6045,"children":6046},{"style":67},[6047],{"type":14,"value":5713},{"type":9,"tag":37,"props":6049,"children":6050},{"style":44},[6051],{"type":14,"value":920},{"type":9,"tag":37,"props":6053,"children":6054},{"class":39,"line":1542},[6055,6060,6064],{"type":9,"tag":37,"props":6056,"children":6057},{"style":44},[6058],{"type":14,"value":6059},"        age: ",{"type":9,"tag":37,"props":6061,"children":6062},{"style":67},[6063],{"type":14,"value":5713},{"type":9,"tag":37,"props":6065,"children":6066},{"style":44},[6067],{"type":14,"value":920},{"type":9,"tag":37,"props":6069,"children":6070},{"class":39,"line":1550},[6071,6076,6080],{"type":9,"tag":37,"props":6072,"children":6073},{"style":44},[6074],{"type":14,"value":6075},"        phone: ",{"type":9,"tag":37,"props":6077,"children":6078},{"style":67},[6079],{"type":14,"value":5751},{"type":9,"tag":37,"props":6081,"children":6082},{"style":44},[6083],{"type":14,"value":920},{"type":9,"tag":37,"props":6085,"children":6086},{"class":39,"line":1559},[6087,6092,6096],{"type":9,"tag":37,"props":6088,"children":6089},{"style":44},[6090],{"type":14,"value":6091},"        email: ",{"type":9,"tag":37,"props":6093,"children":6094},{"style":67},[6095],{"type":14,"value":5751},{"type":9,"tag":37,"props":6097,"children":6098},{"style":44},[6099],{"type":14,"value":920},{"type":9,"tag":37,"props":6101,"children":6102},{"class":39,"line":1575},[6103,6108],{"type":9,"tag":37,"props":6104,"children":6105},{"style":44},[6106],{"type":14,"value":6107},"        address: ",{"type":9,"tag":37,"props":6109,"children":6110},{"style":67},[6111],{"type":14,"value":6010},{"type":9,"tag":37,"props":6113,"children":6114},{"class":39,"line":1583},[6115],{"type":9,"tag":37,"props":6116,"children":6117},{"style":44},[6118],{"type":14,"value":5859},{"type":9,"tag":37,"props":6120,"children":6121},{"class":39,"line":1599},[6122],{"type":9,"tag":37,"props":6123,"children":6124},{"style":44},[6125],{"type":14,"value":1059},{"type":9,"tag":37,"props":6127,"children":6128},{"class":39,"line":1686},[6129],{"type":9,"tag":37,"props":6130,"children":6131},{"style":44},[6132],{"type":14,"value":1133},{"type":9,"tag":37,"props":6134,"children":6135},{"class":39,"line":3521},[6136,6141,6145,6149,6153],{"type":9,"tag":37,"props":6137,"children":6138},{"style":44},[6139],{"type":14,"value":6140},"      username: afz.",{"type":9,"tag":37,"props":6142,"children":6143},{"style":56},[6144],{"type":14,"value":214},{"type":9,"tag":37,"props":6146,"children":6147},{"style":44},[6148],{"type":14,"value":288},{"type":9,"tag":37,"props":6150,"children":6151},{"style":56},[6152],{"type":14,"value":254},{"type":9,"tag":37,"props":6154,"children":6155},{"style":44},[6156],{"type":14,"value":200},{"type":9,"tag":37,"props":6158,"children":6160},{"class":39,"line":6159},52,[6161,6165,6169],{"type":9,"tag":37,"props":6162,"children":6163},{"style":44},[6164],{"type":14,"value":2049},{"type":9,"tag":37,"props":6166,"children":6167},{"style":67},[6168],{"type":14,"value":264},{"type":9,"tag":37,"props":6170,"children":6171},{"style":44},[6172],{"type":14,"value":920},{"type":9,"tag":37,"props":6174,"children":6176},{"class":39,"line":6175},53,[6177,6182,6186,6190,6195,6199,6204,6209,6213,6217,6221],{"type":9,"tag":37,"props":6178,"children":6179},{"style":56},[6180],{"type":14,"value":6181},"        if",{"type":9,"tag":37,"props":6183,"children":6184},{"style":44},[6185],{"type":14,"value":5577},{"type":9,"tag":37,"props":6187,"children":6188},{"style":1412},[6189],{"type":14,"value":5582},{"type":9,"tag":37,"props":6191,"children":6192},{"style":44},[6193],{"type":14,"value":6194}," }",{"type":9,"tag":37,"props":6196,"children":6197},{"style":87},[6198],{"type":14,"value":1420},{"type":9,"tag":37,"props":6200,"children":6201},{"style":56},[6202],{"type":14,"value":6203}," AutoFormFieldContext",{"type":9,"tag":37,"props":6205,"children":6206},{"style":44},[6207],{"type":14,"value":6208},") ",{"type":9,"tag":37,"props":6210,"children":6211},{"style":87},[6212],{"type":14,"value":5592},{"type":9,"tag":37,"props":6214,"children":6215},{"style":44},[6216],{"type":14,"value":5619},{"type":9,"tag":37,"props":6218,"children":6219},{"style":87},[6220],{"type":14,"value":5624},{"type":9,"tag":37,"props":6222,"children":6223},{"style":67},[6224],{"type":14,"value":6225}," 'personal'\n",{"type":9,"tag":37,"props":6227,"children":6229},{"class":39,"line":6228},54,[6230,6235,6239],{"type":9,"tag":37,"props":6231,"children":6232},{"style":44},[6233],{"type":14,"value":6234},"      }).",{"type":9,"tag":37,"props":6236,"children":6237},{"style":56},[6238],{"type":14,"value":416},{"type":9,"tag":37,"props":6240,"children":6241},{"style":44},[6242],{"type":14,"value":6243},"(),\n",{"type":9,"tag":37,"props":6245,"children":6247},{"class":39,"line":6246},55,[6248,6252,6256,6260,6264,6268,6272,6276,6280,6284,6288],{"type":9,"tag":37,"props":6249,"children":6250},{"style":44},[6251],{"type":14,"value":2120},{"type":9,"tag":37,"props":6253,"children":6254},{"style":56},[6255],{"type":14,"value":319},{"type":9,"tag":37,"props":6257,"children":6258},{"style":44},[6259],{"type":14,"value":288},{"type":9,"tag":37,"props":6261,"children":6262},{"style":56},[6263],{"type":14,"value":2133},{"type":9,"tag":37,"props":6265,"children":6266},{"style":44},[6267],{"type":14,"value":288},{"type":9,"tag":37,"props":6269,"children":6270},{"style":56},[6271],{"type":14,"value":234},{"type":9,"tag":37,"props":6273,"children":6274},{"style":44},[6275],{"type":14,"value":239},{"type":9,"tag":37,"props":6277,"children":6278},{"style":137},[6279],{"type":14,"value":336},{"type":9,"tag":37,"props":6281,"children":6282},{"style":44},[6283],{"type":14,"value":249},{"type":9,"tag":37,"props":6285,"children":6286},{"style":56},[6287],{"type":14,"value":254},{"type":9,"tag":37,"props":6289,"children":6290},{"style":44},[6291],{"type":14,"value":200},{"type":9,"tag":37,"props":6293,"children":6295},{"class":39,"line":6294},56,[6296,6300,6304],{"type":9,"tag":37,"props":6297,"children":6298},{"style":44},[6299],{"type":14,"value":2049},{"type":9,"tag":37,"props":6301,"children":6302},{"style":67},[6303],{"type":14,"value":371},{"type":9,"tag":37,"props":6305,"children":6306},{"style":44},[6307],{"type":14,"value":920},{"type":9,"tag":37,"props":6309,"children":6311},{"class":39,"line":6310},57,[6312,6316,6320,6324,6328,6332,6336,6340,6344,6348,6352],{"type":9,"tag":37,"props":6313,"children":6314},{"style":56},[6315],{"type":14,"value":6181},{"type":9,"tag":37,"props":6317,"children":6318},{"style":44},[6319],{"type":14,"value":5577},{"type":9,"tag":37,"props":6321,"children":6322},{"style":1412},[6323],{"type":14,"value":5582},{"type":9,"tag":37,"props":6325,"children":6326},{"style":44},[6327],{"type":14,"value":6194},{"type":9,"tag":37,"props":6329,"children":6330},{"style":87},[6331],{"type":14,"value":1420},{"type":9,"tag":37,"props":6333,"children":6334},{"style":56},[6335],{"type":14,"value":6203},{"type":9,"tag":37,"props":6337,"children":6338},{"style":44},[6339],{"type":14,"value":6208},{"type":9,"tag":37,"props":6341,"children":6342},{"style":87},[6343],{"type":14,"value":5592},{"type":9,"tag":37,"props":6345,"children":6346},{"style":44},[6347],{"type":14,"value":5619},{"type":9,"tag":37,"props":6349,"children":6350},{"style":87},[6351],{"type":14,"value":5624},{"type":9,"tag":37,"props":6353,"children":6354},{"style":67},[6355],{"type":14,"value":6225},{"type":9,"tag":37,"props":6357,"children":6359},{"class":39,"line":6358},58,[6360,6364,6368],{"type":9,"tag":37,"props":6361,"children":6362},{"style":44},[6363],{"type":14,"value":6234},{"type":9,"tag":37,"props":6365,"children":6366},{"style":56},[6367],{"type":14,"value":416},{"type":9,"tag":37,"props":6369,"children":6370},{"style":44},[6371],{"type":14,"value":6243},{"type":9,"tag":37,"props":6373,"children":6375},{"class":39,"line":6374},59,[6376,6381,6385,6389,6393],{"type":9,"tag":37,"props":6377,"children":6378},{"style":44},[6379],{"type":14,"value":6380},"      companyName: afz.",{"type":9,"tag":37,"props":6382,"children":6383},{"style":56},[6384],{"type":14,"value":214},{"type":9,"tag":37,"props":6386,"children":6387},{"style":44},[6388],{"type":14,"value":288},{"type":9,"tag":37,"props":6390,"children":6391},{"style":56},[6392],{"type":14,"value":254},{"type":9,"tag":37,"props":6394,"children":6395},{"style":44},[6396],{"type":14,"value":200},{"type":9,"tag":37,"props":6398,"children":6400},{"class":39,"line":6399},60,[6401,6405,6410],{"type":9,"tag":37,"props":6402,"children":6403},{"style":44},[6404],{"type":14,"value":2049},{"type":9,"tag":37,"props":6406,"children":6407},{"style":67},[6408],{"type":14,"value":6409},"'公司名称'",{"type":9,"tag":37,"props":6411,"children":6412},{"style":44},[6413],{"type":14,"value":920},{"type":9,"tag":37,"props":6415,"children":6417},{"class":39,"line":6416},61,[6418,6422,6426,6430,6434,6438,6442,6446,6450,6454,6458],{"type":9,"tag":37,"props":6419,"children":6420},{"style":56},[6421],{"type":14,"value":6181},{"type":9,"tag":37,"props":6423,"children":6424},{"style":44},[6425],{"type":14,"value":5577},{"type":9,"tag":37,"props":6427,"children":6428},{"style":1412},[6429],{"type":14,"value":5582},{"type":9,"tag":37,"props":6431,"children":6432},{"style":44},[6433],{"type":14,"value":6194},{"type":9,"tag":37,"props":6435,"children":6436},{"style":87},[6437],{"type":14,"value":1420},{"type":9,"tag":37,"props":6439,"children":6440},{"style":56},[6441],{"type":14,"value":6203},{"type":9,"tag":37,"props":6443,"children":6444},{"style":44},[6445],{"type":14,"value":6208},{"type":9,"tag":37,"props":6447,"children":6448},{"style":87},[6449],{"type":14,"value":5592},{"type":9,"tag":37,"props":6451,"children":6452},{"style":44},[6453],{"type":14,"value":5619},{"type":9,"tag":37,"props":6455,"children":6456},{"style":87},[6457],{"type":14,"value":5624},{"type":9,"tag":37,"props":6459,"children":6460},{"style":67},[6461],{"type":14,"value":5629},{"type":9,"tag":37,"props":6463,"children":6465},{"class":39,"line":6464},62,[6466,6470,6474],{"type":9,"tag":37,"props":6467,"children":6468},{"style":44},[6469],{"type":14,"value":6234},{"type":9,"tag":37,"props":6471,"children":6472},{"style":56},[6473],{"type":14,"value":416},{"type":9,"tag":37,"props":6475,"children":6476},{"style":44},[6477],{"type":14,"value":6243},{"type":9,"tag":37,"props":6479,"children":6481},{"class":39,"line":6480},63,[6482,6487,6491,6495,6499],{"type":9,"tag":37,"props":6483,"children":6484},{"style":44},[6485],{"type":14,"value":6486},"      registrationNumber: afz.",{"type":9,"tag":37,"props":6488,"children":6489},{"style":56},[6490],{"type":14,"value":214},{"type":9,"tag":37,"props":6492,"children":6493},{"style":44},[6494],{"type":14,"value":288},{"type":9,"tag":37,"props":6496,"children":6497},{"style":56},[6498],{"type":14,"value":254},{"type":9,"tag":37,"props":6500,"children":6501},{"style":44},[6502],{"type":14,"value":200},{"type":9,"tag":37,"props":6504,"children":6506},{"class":39,"line":6505},64,[6507,6511,6516],{"type":9,"tag":37,"props":6508,"children":6509},{"style":44},[6510],{"type":14,"value":2049},{"type":9,"tag":37,"props":6512,"children":6513},{"style":67},[6514],{"type":14,"value":6515},"'注册号'",{"type":9,"tag":37,"props":6517,"children":6518},{"style":44},[6519],{"type":14,"value":920},{"type":9,"tag":37,"props":6521,"children":6523},{"class":39,"line":6522},65,[6524,6528,6532,6536,6540,6544,6548,6552,6556,6560,6564],{"type":9,"tag":37,"props":6525,"children":6526},{"style":56},[6527],{"type":14,"value":6181},{"type":9,"tag":37,"props":6529,"children":6530},{"style":44},[6531],{"type":14,"value":5577},{"type":9,"tag":37,"props":6533,"children":6534},{"style":1412},[6535],{"type":14,"value":5582},{"type":9,"tag":37,"props":6537,"children":6538},{"style":44},[6539],{"type":14,"value":6194},{"type":9,"tag":37,"props":6541,"children":6542},{"style":87},[6543],{"type":14,"value":1420},{"type":9,"tag":37,"props":6545,"children":6546},{"style":56},[6547],{"type":14,"value":6203},{"type":9,"tag":37,"props":6549,"children":6550},{"style":44},[6551],{"type":14,"value":6208},{"type":9,"tag":37,"props":6553,"children":6554},{"style":87},[6555],{"type":14,"value":5592},{"type":9,"tag":37,"props":6557,"children":6558},{"style":44},[6559],{"type":14,"value":5619},{"type":9,"tag":37,"props":6561,"children":6562},{"style":87},[6563],{"type":14,"value":5624},{"type":9,"tag":37,"props":6565,"children":6566},{"style":67},[6567],{"type":14,"value":5629},{"type":9,"tag":37,"props":6569,"children":6571},{"class":39,"line":6570},66,[6572,6576,6580],{"type":9,"tag":37,"props":6573,"children":6574},{"style":44},[6575],{"type":14,"value":6234},{"type":9,"tag":37,"props":6577,"children":6578},{"style":56},[6579],{"type":14,"value":416},{"type":9,"tag":37,"props":6581,"children":6582},{"style":44},[6583],{"type":14,"value":6243},{"type":9,"tag":37,"props":6585,"children":6587},{"class":39,"line":6586},67,[6588,6592,6596,6600,6604,6608,6613],{"type":9,"tag":37,"props":6589,"children":6590},{"style":44},[6591],{"type":14,"value":2087},{"type":9,"tag":37,"props":6593,"children":6594},{"style":56},[6595],{"type":14,"value":214},{"type":9,"tag":37,"props":6597,"children":6598},{"style":44},[6599],{"type":14,"value":288},{"type":9,"tag":37,"props":6601,"children":6602},{"style":56},[6603],{"type":14,"value":254},{"type":9,"tag":37,"props":6605,"children":6606},{"style":44},[6607],{"type":14,"value":259},{"type":9,"tag":37,"props":6609,"children":6610},{"style":67},[6611],{"type":14,"value":6612},"'联系电话'",{"type":9,"tag":37,"props":6614,"children":6615},{"style":44},[6616],{"type":14,"value":269},{"type":9,"tag":37,"props":6618,"children":6620},{"class":39,"line":6619},68,[6621,6625,6629,6633,6637,6641,6645],{"type":9,"tag":37,"props":6622,"children":6623},{"style":44},[6624],{"type":14,"value":1175},{"type":9,"tag":37,"props":6626,"children":6627},{"style":56},[6628],{"type":14,"value":283},{"type":9,"tag":37,"props":6630,"children":6631},{"style":44},[6632],{"type":14,"value":288},{"type":9,"tag":37,"props":6634,"children":6635},{"style":56},[6636],{"type":14,"value":254},{"type":9,"tag":37,"props":6638,"children":6639},{"style":44},[6640],{"type":14,"value":259},{"type":9,"tag":37,"props":6642,"children":6643},{"style":67},[6644],{"type":14,"value":2054},{"type":9,"tag":37,"props":6646,"children":6647},{"style":44},[6648],{"type":14,"value":269},{"type":9,"tag":37,"props":6650,"children":6652},{"class":39,"line":6651},69,[6653,6658,6662,6666,6670,6674,6679],{"type":9,"tag":37,"props":6654,"children":6655},{"style":44},[6656],{"type":14,"value":6657},"      address: afz.",{"type":9,"tag":37,"props":6659,"children":6660},{"style":56},[6661],{"type":14,"value":214},{"type":9,"tag":37,"props":6663,"children":6664},{"style":44},[6665],{"type":14,"value":288},{"type":9,"tag":37,"props":6667,"children":6668},{"style":56},[6669],{"type":14,"value":254},{"type":9,"tag":37,"props":6671,"children":6672},{"style":44},[6673],{"type":14,"value":259},{"type":9,"tag":37,"props":6675,"children":6676},{"style":67},[6677],{"type":14,"value":6678},"'地址'",{"type":9,"tag":37,"props":6680,"children":6681},{"style":44},[6682],{"type":14,"value":438},{"type":9,"tag":37,"props":6684,"children":6686},{"class":39,"line":6685},70,[6687],{"type":9,"tag":37,"props":6688,"children":6689},{"style":44},[6690],{"type":14,"value":1259},{"type":9,"tag":37,"props":6692,"children":6694},{"class":39,"line":6693},71,[6695],{"type":9,"tag":37,"props":6696,"children":6697},{"style":44},[6698],{"type":14,"value":1268},{"type":9,"tag":37,"props":6700,"children":6702},{"class":39,"line":6701},72,[6703],{"type":9,"tag":37,"props":6704,"children":6705},{"style":44},[6706],{"type":14,"value":447},{"type":9,"tag":37,"props":6708,"children":6710},{"class":39,"line":6709},73,[6711],{"type":9,"tag":37,"props":6712,"children":6713},{"emptyLinePlaceholder":117},[6714],{"type":14,"value":120},{"type":9,"tag":37,"props":6716,"children":6718},{"class":39,"line":6717},74,[6719,6723,6727,6731,6735,6739,6743,6747,6751],{"type":9,"tag":37,"props":6720,"children":6721},{"style":87},[6722],{"type":14,"value":1293},{"type":9,"tag":37,"props":6724,"children":6725},{"style":56},[6726],{"type":14,"value":1298},{"type":9,"tag":37,"props":6728,"children":6729},{"style":87},[6730],{"type":14,"value":185},{"type":9,"tag":37,"props":6732,"children":6733},{"style":56},[6734],{"type":14,"value":1307},{"type":9,"tag":37,"props":6736,"children":6737},{"style":44},[6738],{"type":14,"value":500},{"type":9,"tag":37,"props":6740,"children":6741},{"style":56},[6742],{"type":14,"value":505},{"type":9,"tag":37,"props":6744,"children":6745},{"style":44},[6746],{"type":14,"value":47},{"type":9,"tag":37,"props":6748,"children":6749},{"style":87},[6750],{"type":14,"value":514},{"type":9,"tag":37,"props":6752,"children":6753},{"style":44},[6754],{"type":14,"value":1328},{"type":9,"tag":37,"props":6756,"children":6758},{"class":39,"line":6757},75,[6759],{"type":9,"tag":37,"props":6760,"children":6761},{"emptyLinePlaceholder":117},[6762],{"type":14,"value":120},{"type":9,"tag":37,"props":6764,"children":6766},{"class":39,"line":6765},76,[6767,6771,6775,6779,6783,6787,6791,6795,6799],{"type":9,"tag":37,"props":6768,"children":6769},{"style":87},[6770],{"type":14,"value":129},{"type":9,"tag":37,"props":6772,"children":6773},{"style":137},[6774],{"type":14,"value":468},{"type":9,"tag":37,"props":6776,"children":6777},{"style":87},[6778],{"type":14,"value":185},{"type":9,"tag":37,"props":6780,"children":6781},{"style":56},[6782],{"type":14,"value":477},{"type":9,"tag":37,"props":6784,"children":6785},{"style":44},[6786],{"type":14,"value":47},{"type":9,"tag":37,"props":6788,"children":6789},{"style":56},[6790],{"type":14,"value":486},{"type":9,"tag":37,"props":6792,"children":6793},{"style":44},[6794],{"type":14,"value":47},{"type":9,"tag":37,"props":6796,"children":6797},{"style":56},[6798],{"type":14,"value":1373},{"type":9,"tag":37,"props":6800,"children":6801},{"style":44},[6802],{"type":14,"value":1378},{"type":9,"tag":37,"props":6804,"children":6806},{"class":39,"line":6805},77,[6807],{"type":9,"tag":37,"props":6808,"children":6809},{"emptyLinePlaceholder":117},[6810],{"type":14,"value":120},{"type":9,"tag":37,"props":6812,"children":6814},{"class":39,"line":6813},78,[6815,6819,6823,6827,6831,6835,6839,6843,6847,6851],{"type":9,"tag":37,"props":6816,"children":6817},{"style":87},[6818],{"type":14,"value":1395},{"type":9,"tag":37,"props":6820,"children":6821},{"style":87},[6822],{"type":14,"value":1400},{"type":9,"tag":37,"props":6824,"children":6825},{"style":56},[6826],{"type":14,"value":1405},{"type":9,"tag":37,"props":6828,"children":6829},{"style":44},[6830],{"type":14,"value":239},{"type":9,"tag":37,"props":6832,"children":6833},{"style":1412},[6834],{"type":14,"value":1415},{"type":9,"tag":37,"props":6836,"children":6837},{"style":87},[6838],{"type":14,"value":1420},{"type":9,"tag":37,"props":6840,"children":6841},{"style":56},[6842],{"type":14,"value":1425},{"type":9,"tag":37,"props":6844,"children":6845},{"style":44},[6846],{"type":14,"value":47},{"type":9,"tag":37,"props":6848,"children":6849},{"style":56},[6850],{"type":14,"value":1373},{"type":9,"tag":37,"props":6852,"children":6853},{"style":44},[6854],{"type":14,"value":1438},{"type":9,"tag":37,"props":6856,"children":6858},{"class":39,"line":6857},79,[6859,6863,6867],{"type":9,"tag":37,"props":6860,"children":6861},{"style":44},[6862],{"type":14,"value":1447},{"type":9,"tag":37,"props":6864,"children":6865},{"style":56},[6866],{"type":14,"value":1452},{"type":9,"tag":37,"props":6868,"children":6869},{"style":44},[6870],{"type":14,"value":200},{"type":9,"tag":37,"props":6872,"children":6874},{"class":39,"line":6873},80,[6875,6879,6883],{"type":9,"tag":37,"props":6876,"children":6877},{"style":44},[6878],{"type":14,"value":1465},{"type":9,"tag":37,"props":6880,"children":6881},{"style":67},[6882],{"type":14,"value":1470},{"type":9,"tag":37,"props":6884,"children":6885},{"style":44},[6886],{"type":14,"value":920},{"type":9,"tag":37,"props":6888,"children":6890},{"class":39,"line":6889},81,[6891,6895,6899],{"type":9,"tag":37,"props":6892,"children":6893},{"style":44},[6894],{"type":14,"value":1483},{"type":9,"tag":37,"props":6896,"children":6897},{"style":67},[6898],{"type":14,"value":1488},{"type":9,"tag":37,"props":6900,"children":6901},{"style":44},[6902],{"type":14,"value":920},{"type":9,"tag":37,"props":6904,"children":6906},{"class":39,"line":6905},82,[6907,6911,6915,6919,6923,6927,6931,6935,6939],{"type":9,"tag":37,"props":6908,"children":6909},{"style":44},[6910],{"type":14,"value":1501},{"type":9,"tag":37,"props":6912,"children":6913},{"style":137},[6914],{"type":14,"value":1506},{"type":9,"tag":37,"props":6916,"children":6917},{"style":44},[6918],{"type":14,"value":500},{"type":9,"tag":37,"props":6920,"children":6921},{"style":56},[6922],{"type":14,"value":1515},{"type":9,"tag":37,"props":6924,"children":6925},{"style":44},[6926],{"type":14,"value":1520},{"type":9,"tag":37,"props":6928,"children":6929},{"style":137},[6930],{"type":14,"value":1525},{"type":9,"tag":37,"props":6932,"children":6933},{"style":44},[6934],{"type":14,"value":1530},{"type":9,"tag":37,"props":6936,"children":6937},{"style":137},[6938],{"type":14,"value":244},{"type":9,"tag":37,"props":6940,"children":6941},{"style":44},[6942],{"type":14,"value":1539},{"type":9,"tag":37,"props":6944,"children":6946},{"class":39,"line":6945},83,[6947],{"type":9,"tag":37,"props":6948,"children":6949},{"style":44},[6950],{"type":14,"value":1268},{"type":9,"tag":37,"props":6952,"children":6954},{"class":39,"line":6953},84,[6955],{"type":9,"tag":37,"props":6956,"children":6957},{"style":44},[6958],{"type":14,"value":1556},{"type":9,"tag":37,"props":6960,"children":6962},{"class":39,"line":6961},85,[6963,6967,6971],{"type":9,"tag":37,"props":6964,"children":6965},{"style":44},[6966],{"type":14,"value":528},{"type":9,"tag":37,"props":6968,"children":6969},{"style":50},[6970],{"type":14,"value":53},{"type":9,"tag":37,"props":6972,"children":6973},{"style":44},[6974],{"type":14,"value":80},{"type":9,"tag":37,"props":6976,"children":6978},{"class":39,"line":6977},86,[6979],{"type":9,"tag":37,"props":6980,"children":6981},{"emptyLinePlaceholder":117},[6982],{"type":14,"value":120},{"type":9,"tag":37,"props":6984,"children":6986},{"class":39,"line":6985},87,[6987,6991,6995],{"type":9,"tag":37,"props":6988,"children":6989},{"style":44},[6990],{"type":14,"value":47},{"type":9,"tag":37,"props":6992,"children":6993},{"style":50},[6994],{"type":14,"value":557},{"type":9,"tag":37,"props":6996,"children":6997},{"style":44},[6998],{"type":14,"value":80},{"type":9,"tag":37,"props":7000,"children":7002},{"class":39,"line":7001},88,[7003,7007,7011,7015,7019,7023,7027,7031,7035,7039,7043,7047,7051,7055,7059,7063,7067,7071,7075,7079],{"type":9,"tag":37,"props":7004,"children":7005},{"style":44},[7006],{"type":14,"value":570},{"type":9,"tag":37,"props":7008,"children":7009},{"style":50},[7010],{"type":14,"value":575},{"type":9,"tag":37,"props":7012,"children":7013},{"style":56},[7014],{"type":14,"value":580},{"type":9,"tag":37,"props":7016,"children":7017},{"style":44},[7018],{"type":14,"value":64},{"type":9,"tag":37,"props":7020,"children":7021},{"style":67},[7022],{"type":14,"value":589},{"type":9,"tag":37,"props":7024,"children":7025},{"style":44},[7026],{"type":14,"value":594},{"type":9,"tag":37,"props":7028,"children":7029},{"style":67},[7030],{"type":14,"value":589},{"type":9,"tag":37,"props":7032,"children":7033},{"style":44},[7034],{"type":14,"value":603},{"type":9,"tag":37,"props":7036,"children":7037},{"style":56},[7038],{"type":14,"value":608},{"type":9,"tag":37,"props":7040,"children":7041},{"style":44},[7042],{"type":14,"value":64},{"type":9,"tag":37,"props":7044,"children":7045},{"style":67},[7046],{"type":14,"value":589},{"type":9,"tag":37,"props":7048,"children":7049},{"style":44},[7050],{"type":14,"value":608},{"type":9,"tag":37,"props":7052,"children":7053},{"style":67},[7054],{"type":14,"value":589},{"type":9,"tag":37,"props":7056,"children":7057},{"style":44},[7058],{"type":14,"value":1657},{"type":9,"tag":37,"props":7060,"children":7061},{"style":56},[7062],{"type":14,"value":1662},{"type":9,"tag":37,"props":7064,"children":7065},{"style":44},[7066],{"type":14,"value":64},{"type":9,"tag":37,"props":7068,"children":7069},{"style":67},[7070],{"type":14,"value":589},{"type":9,"tag":37,"props":7072,"children":7073},{"style":44},[7074],{"type":14,"value":1675},{"type":9,"tag":37,"props":7076,"children":7077},{"style":67},[7078],{"type":14,"value":589},{"type":9,"tag":37,"props":7080,"children":7081},{"style":44},[7082],{"type":14,"value":629},{"type":9,"tag":37,"props":7084,"children":7086},{"class":39,"line":7085},89,[7087,7091,7095],{"type":9,"tag":37,"props":7088,"children":7089},{"style":44},[7090],{"type":14,"value":528},{"type":9,"tag":37,"props":7092,"children":7093},{"style":50},[7094],{"type":14,"value":557},{"type":9,"tag":37,"props":7096,"children":7097},{"style":44},[7098],{"type":14,"value":80},{"type":9,"tag":647,"props":7100,"children":7101},{},[7102],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":7104},[],{"code":7106,"filePath":7107,"pascalName":7108},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\nimport type { AutoFormFieldContext } from '@movk\u002Fnuxt'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  label: afz.string({ controlProps: { placeholder: '只设置 label' } }).meta({ label: 'Label' }),\n  description: afz.string({ controlProps: { placeholder: '查看字段说明文本' } })\n    .meta({ label: 'Description', description: '显示在 label 下方的描述文本' }),\n  hint: afz.string({ controlProps: { placeholder: '展示 hint 文本' } }).meta({ label: 'Hint', hint: '可选' }),\n  help: afz.string({ controlProps: { placeholder: '查看 help 文本' } })\n    .meta({ label: 'Help', help: '没有错误时显示在控件下方的帮助文本' }),\n  error: afz.string({ controlProps: { placeholder: '固定显示错误文本' } })\n    .meta({ label: 'Error', error: '这是通过 meta.error 设置的错误' }),\n  size: afz.string({ controlProps: { placeholder: 'size=xl' } }).meta({ label: 'Size', size: 'xl' }),\n  styled: afz.string({ controlProps: { placeholder: 'ui\u002Fclass 示例' } })\n    .meta({\n      label: 'UI \u002F Class',\n      description: '自定义 UFormField 样式',\n      class: 'rounded-md border border-primary\u002F20 p-3',\n      ui: { label: 'text-primary', description: 'text-warning' }\n    }),\n  notify: afz.boolean({ type: 'switch' }).meta({ label: 'If', help: '开启后显示通知邮箱字段' }).default(false),\n  email: afz.email({ controlProps: { placeholder: 'demo@movk.dev' } })\n    .meta({\n      label: '通知邮箱',\n      if: ({ state }: AutoFormFieldContext) => Boolean(state.notify),\n      required: ({ state }: AutoFormFieldContext) => Boolean(state.notify),\n      eagerValidation: true,\n      validateOnInputDelay: 200,\n      error: '请输入有效邮箱'\n    }),\n  profile: afz.object({\n    nickname: afz.string({ controlProps: { placeholder: '显示名称' } }).meta({ label: '昵称' }),\n    website: afz.url({ controlProps: { placeholder: 'https:\u002F\u002Fmovk.dev' } }).meta({ label: '个人网站', required: false })\n  }).meta({\n    label: '更多资料',\n    description: '对象字段可以作为可折叠分组渲染',\n    collapsible: { defaultOpen: true, unmountOnHide: false }\n  }),\n  hidden: afz.string().meta({ hidden: true }).default('不会显示但会提交')\n})\n\nconst state = reactive\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({ hidden: 'secret' })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Fmetadata\u002FAutoFormMetadataExample.vue","AutoFormMetadataExample",{"data":7110,"body":7111,"toc":8512},{"title":22,"description":22},{"type":6,"children":7112},[7113,8508],{"type":9,"tag":663,"props":7114,"children":7115},{},[7116],{"type":9,"tag":26,"props":7117,"children":7119},{"className":28,"code":7118,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\nimport type { AutoFormFieldContext } from '@movk\u002Fnuxt'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  label: afz.string({ controlProps: { placeholder: '只设置 label' } }).meta({ label: 'Label' }),\n  description: afz\n    .string({ controlProps: { placeholder: '查看字段说明文本' } })\n    .meta({ label: 'Description', description: '显示在 label 下方的描述文本' }),\n  hint: afz\n    .string({ controlProps: { placeholder: '展示 hint 文本' } })\n    .meta({ label: 'Hint', hint: '可选' }),\n  help: afz\n    .string({ controlProps: { placeholder: '查看 help 文本' } })\n    .meta({ label: 'Help', help: '没有错误时显示在控件下方的帮助文本' }),\n  error: afz\n    .string({ controlProps: { placeholder: '固定显示错误文本' } })\n    .meta({ label: 'Error', error: '这是通过 meta.error 设置的错误' }),\n  size: afz\n    .string({ controlProps: { placeholder: 'size=xl' } })\n    .meta({ label: 'Size', size: 'xl' }),\n  styled: afz.string({ controlProps: { placeholder: 'ui\u002Fclass 示例' } }).meta({\n    label: 'UI \u002F Class',\n    description: '自定义 UFormField 样式',\n    class: 'rounded-md border border-primary\u002F20 p-3',\n    ui: { label: 'text-primary', description: 'text-warning' }\n  }),\n  notify: afz\n    .boolean({ type: 'switch' })\n    .meta({ label: 'If', help: '开启后显示通知邮箱字段' })\n    .default(false),\n  email: afz.email({ controlProps: { placeholder: 'demo@movk.dev' } }).meta({\n    label: '通知邮箱',\n    if: ({ state }: AutoFormFieldContext) => Boolean(state.notify),\n    required: ({ state }: AutoFormFieldContext) => Boolean(state.notify),\n    eagerValidation: true,\n    validateOnInputDelay: 200,\n    error: '请输入有效邮箱'\n  }),\n  profile: afz\n    .object({\n      nickname: afz.string({ controlProps: { placeholder: '显示名称' } }).meta({ label: '昵称' }),\n      website: afz\n        .url({ controlProps: { placeholder: 'https:\u002F\u002Fmovk.dev' } })\n        .meta({ label: '个人网站', required: false })\n    })\n    .meta({\n      label: '更多资料',\n      description: '对象字段可以作为可折叠分组渲染',\n      collapsible: { defaultOpen: true, unmountOnHide: false }\n    }),\n  hidden: afz.string().meta({ hidden: true }).default('不会显示但会提交')\n})\n\nconst state = reactive\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({ hidden: 'secret' })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n",[7120],{"type":9,"tag":33,"props":7121,"children":7122},{"__ignoreMap":22},[7123,7154,7177,7201,7208,7239,7246,7273,7315,7323,7348,7382,7390,7414,7448,7456,7480,7514,7522,7546,7580,7588,7612,7646,7679,7696,7712,7728,7754,7761,7769,7794,7827,7852,7884,7900,7946,7990,8007,8024,8037,8044,8052,8067,8109,8117,8143,8176,8184,8199,8216,8233,8258,8266,8316,8323,8330,8397,8412,8419,8434,8493],{"type":9,"tag":37,"props":7124,"children":7125},{"class":39,"line":40},[7126,7130,7134,7138,7142,7146,7150],{"type":9,"tag":37,"props":7127,"children":7128},{"style":44},[7129],{"type":14,"value":47},{"type":9,"tag":37,"props":7131,"children":7132},{"style":50},[7133],{"type":14,"value":53},{"type":9,"tag":37,"props":7135,"children":7136},{"style":56},[7137],{"type":14,"value":75},{"type":9,"tag":37,"props":7139,"children":7140},{"style":56},[7141],{"type":14,"value":59},{"type":9,"tag":37,"props":7143,"children":7144},{"style":44},[7145],{"type":14,"value":64},{"type":9,"tag":37,"props":7147,"children":7148},{"style":67},[7149],{"type":14,"value":70},{"type":9,"tag":37,"props":7151,"children":7152},{"style":44},[7153],{"type":14,"value":80},{"type":9,"tag":37,"props":7155,"children":7156},{"class":39,"line":83},[7157,7161,7165,7169,7173],{"type":9,"tag":37,"props":7158,"children":7159},{"style":87},[7160],{"type":14,"value":90},{"type":9,"tag":37,"props":7162,"children":7163},{"style":87},[7164],{"type":14,"value":95},{"type":9,"tag":37,"props":7166,"children":7167},{"style":44},[7168],{"type":14,"value":100},{"type":9,"tag":37,"props":7170,"children":7171},{"style":87},[7172],{"type":14,"value":105},{"type":9,"tag":37,"props":7174,"children":7175},{"style":67},[7176],{"type":14,"value":110},{"type":9,"tag":37,"props":7178,"children":7179},{"class":39,"line":113},[7180,7184,7188,7192,7196],{"type":9,"tag":37,"props":7181,"children":7182},{"style":87},[7183],{"type":14,"value":90},{"type":9,"tag":37,"props":7185,"children":7186},{"style":87},[7187],{"type":14,"value":95},{"type":9,"tag":37,"props":7189,"children":7190},{"style":44},[7191],{"type":14,"value":5344},{"type":9,"tag":37,"props":7193,"children":7194},{"style":87},[7195],{"type":14,"value":105},{"type":9,"tag":37,"props":7197,"children":7198},{"style":67},[7199],{"type":14,"value":7200}," '@movk\u002Fnuxt'\n",{"type":9,"tag":37,"props":7202,"children":7203},{"class":39,"line":123},[7204],{"type":9,"tag":37,"props":7205,"children":7206},{"emptyLinePlaceholder":117},[7207],{"type":14,"value":120},{"type":9,"tag":37,"props":7209,"children":7210},{"class":39,"line":162},[7211,7215,7219,7223,7227,7231,7235],{"type":9,"tag":37,"props":7212,"children":7213},{"style":87},[7214],{"type":14,"value":129},{"type":9,"tag":37,"props":7216,"children":7217},{"style":44},[7218],{"type":14,"value":134},{"type":9,"tag":37,"props":7220,"children":7221},{"style":137},[7222],{"type":14,"value":140},{"type":9,"tag":37,"props":7224,"children":7225},{"style":44},[7226],{"type":14,"value":145},{"type":9,"tag":37,"props":7228,"children":7229},{"style":87},[7230],{"type":14,"value":64},{"type":9,"tag":37,"props":7232,"children":7233},{"style":56},[7234],{"type":14,"value":154},{"type":9,"tag":37,"props":7236,"children":7237},{"style":44},[7238],{"type":14,"value":159},{"type":9,"tag":37,"props":7240,"children":7241},{"class":39,"line":170},[7242],{"type":9,"tag":37,"props":7243,"children":7244},{"emptyLinePlaceholder":117},[7245],{"type":14,"value":120},{"type":9,"tag":37,"props":7247,"children":7248},{"class":39,"line":203},[7249,7253,7257,7261,7265,7269],{"type":9,"tag":37,"props":7250,"children":7251},{"style":87},[7252],{"type":14,"value":129},{"type":9,"tag":37,"props":7254,"children":7255},{"style":137},[7256],{"type":14,"value":180},{"type":9,"tag":37,"props":7258,"children":7259},{"style":87},[7260],{"type":14,"value":185},{"type":9,"tag":37,"props":7262,"children":7263},{"style":44},[7264],{"type":14,"value":190},{"type":9,"tag":37,"props":7266,"children":7267},{"style":56},[7268],{"type":14,"value":195},{"type":9,"tag":37,"props":7270,"children":7271},{"style":44},[7272],{"type":14,"value":200},{"type":9,"tag":37,"props":7274,"children":7275},{"class":39,"line":272},[7276,7281,7285,7289,7294,7298,7302,7306,7311],{"type":9,"tag":37,"props":7277,"children":7278},{"style":44},[7279],{"type":14,"value":7280},"  label: afz.",{"type":9,"tag":37,"props":7282,"children":7283},{"style":56},[7284],{"type":14,"value":214},{"type":9,"tag":37,"props":7286,"children":7287},{"style":44},[7288],{"type":14,"value":219},{"type":9,"tag":37,"props":7290,"children":7291},{"style":67},[7292],{"type":14,"value":7293},"'只设置 label'",{"type":9,"tag":37,"props":7295,"children":7296},{"style":44},[7297],{"type":14,"value":229},{"type":9,"tag":37,"props":7299,"children":7300},{"style":56},[7301],{"type":14,"value":254},{"type":9,"tag":37,"props":7303,"children":7304},{"style":44},[7305],{"type":14,"value":259},{"type":9,"tag":37,"props":7307,"children":7308},{"style":67},[7309],{"type":14,"value":7310},"'Label'",{"type":9,"tag":37,"props":7312,"children":7313},{"style":44},[7314],{"type":14,"value":269},{"type":9,"tag":37,"props":7316,"children":7317},{"class":39,"line":308},[7318],{"type":9,"tag":37,"props":7319,"children":7320},{"style":44},[7321],{"type":14,"value":7322},"  description: afz\n",{"type":9,"tag":37,"props":7324,"children":7325},{"class":39,"line":378},[7326,7330,7334,7338,7343],{"type":9,"tag":37,"props":7327,"children":7328},{"style":44},[7329],{"type":14,"value":5493},{"type":9,"tag":37,"props":7331,"children":7332},{"style":56},[7333],{"type":14,"value":214},{"type":9,"tag":37,"props":7335,"children":7336},{"style":44},[7337],{"type":14,"value":219},{"type":9,"tag":37,"props":7339,"children":7340},{"style":67},[7341],{"type":14,"value":7342},"'查看字段说明文本'",{"type":9,"tag":37,"props":7344,"children":7345},{"style":44},[7346],{"type":14,"value":7347}," } })\n",{"type":9,"tag":37,"props":7349,"children":7350},{"class":39,"line":441},[7351,7355,7359,7363,7368,7373,7378],{"type":9,"tag":37,"props":7352,"children":7353},{"style":44},[7354],{"type":14,"value":5493},{"type":9,"tag":37,"props":7356,"children":7357},{"style":56},[7358],{"type":14,"value":254},{"type":9,"tag":37,"props":7360,"children":7361},{"style":44},[7362],{"type":14,"value":259},{"type":9,"tag":37,"props":7364,"children":7365},{"style":67},[7366],{"type":14,"value":7367},"'Description'",{"type":9,"tag":37,"props":7369,"children":7370},{"style":44},[7371],{"type":14,"value":7372},", description: ",{"type":9,"tag":37,"props":7374,"children":7375},{"style":67},[7376],{"type":14,"value":7377},"'显示在 label 下方的描述文本'",{"type":9,"tag":37,"props":7379,"children":7380},{"style":44},[7381],{"type":14,"value":269},{"type":9,"tag":37,"props":7383,"children":7384},{"class":39,"line":450},[7385],{"type":9,"tag":37,"props":7386,"children":7387},{"style":44},[7388],{"type":14,"value":7389},"  hint: afz\n",{"type":9,"tag":37,"props":7391,"children":7392},{"class":39,"line":458},[7393,7397,7401,7405,7410],{"type":9,"tag":37,"props":7394,"children":7395},{"style":44},[7396],{"type":14,"value":5493},{"type":9,"tag":37,"props":7398,"children":7399},{"style":56},[7400],{"type":14,"value":214},{"type":9,"tag":37,"props":7402,"children":7403},{"style":44},[7404],{"type":14,"value":219},{"type":9,"tag":37,"props":7406,"children":7407},{"style":67},[7408],{"type":14,"value":7409},"'展示 hint 文本'",{"type":9,"tag":37,"props":7411,"children":7412},{"style":44},[7413],{"type":14,"value":7347},{"type":9,"tag":37,"props":7415,"children":7416},{"class":39,"line":522},[7417,7421,7425,7429,7434,7439,7444],{"type":9,"tag":37,"props":7418,"children":7419},{"style":44},[7420],{"type":14,"value":5493},{"type":9,"tag":37,"props":7422,"children":7423},{"style":56},[7424],{"type":14,"value":254},{"type":9,"tag":37,"props":7426,"children":7427},{"style":44},[7428],{"type":14,"value":259},{"type":9,"tag":37,"props":7430,"children":7431},{"style":67},[7432],{"type":14,"value":7433},"'Hint'",{"type":9,"tag":37,"props":7435,"children":7436},{"style":44},[7437],{"type":14,"value":7438},", hint: ",{"type":9,"tag":37,"props":7440,"children":7441},{"style":67},[7442],{"type":14,"value":7443},"'可选'",{"type":9,"tag":37,"props":7445,"children":7446},{"style":44},[7447],{"type":14,"value":269},{"type":9,"tag":37,"props":7449,"children":7450},{"class":39,"line":539},[7451],{"type":9,"tag":37,"props":7452,"children":7453},{"style":44},[7454],{"type":14,"value":7455},"  help: afz\n",{"type":9,"tag":37,"props":7457,"children":7458},{"class":39,"line":547},[7459,7463,7467,7471,7476],{"type":9,"tag":37,"props":7460,"children":7461},{"style":44},[7462],{"type":14,"value":5493},{"type":9,"tag":37,"props":7464,"children":7465},{"style":56},[7466],{"type":14,"value":214},{"type":9,"tag":37,"props":7468,"children":7469},{"style":44},[7470],{"type":14,"value":219},{"type":9,"tag":37,"props":7472,"children":7473},{"style":67},[7474],{"type":14,"value":7475},"'查看 help 文本'",{"type":9,"tag":37,"props":7477,"children":7478},{"style":44},[7479],{"type":14,"value":7347},{"type":9,"tag":37,"props":7481,"children":7482},{"class":39,"line":564},[7483,7487,7491,7495,7500,7505,7510],{"type":9,"tag":37,"props":7484,"children":7485},{"style":44},[7486],{"type":14,"value":5493},{"type":9,"tag":37,"props":7488,"children":7489},{"style":56},[7490],{"type":14,"value":254},{"type":9,"tag":37,"props":7492,"children":7493},{"style":44},[7494],{"type":14,"value":259},{"type":9,"tag":37,"props":7496,"children":7497},{"style":67},[7498],{"type":14,"value":7499},"'Help'",{"type":9,"tag":37,"props":7501,"children":7502},{"style":44},[7503],{"type":14,"value":7504},", help: ",{"type":9,"tag":37,"props":7506,"children":7507},{"style":67},[7508],{"type":14,"value":7509},"'没有错误时显示在控件下方的帮助文本'",{"type":9,"tag":37,"props":7511,"children":7512},{"style":44},[7513],{"type":14,"value":269},{"type":9,"tag":37,"props":7515,"children":7516},{"class":39,"line":632},[7517],{"type":9,"tag":37,"props":7518,"children":7519},{"style":44},[7520],{"type":14,"value":7521},"  error: afz\n",{"type":9,"tag":37,"props":7523,"children":7524},{"class":39,"line":1004},[7525,7529,7533,7537,7542],{"type":9,"tag":37,"props":7526,"children":7527},{"style":44},[7528],{"type":14,"value":5493},{"type":9,"tag":37,"props":7530,"children":7531},{"style":56},[7532],{"type":14,"value":214},{"type":9,"tag":37,"props":7534,"children":7535},{"style":44},[7536],{"type":14,"value":219},{"type":9,"tag":37,"props":7538,"children":7539},{"style":67},[7540],{"type":14,"value":7541},"'固定显示错误文本'",{"type":9,"tag":37,"props":7543,"children":7544},{"style":44},[7545],{"type":14,"value":7347},{"type":9,"tag":37,"props":7547,"children":7548},{"class":39,"line":1044},[7549,7553,7557,7561,7566,7571,7576],{"type":9,"tag":37,"props":7550,"children":7551},{"style":44},[7552],{"type":14,"value":5493},{"type":9,"tag":37,"props":7554,"children":7555},{"style":56},[7556],{"type":14,"value":254},{"type":9,"tag":37,"props":7558,"children":7559},{"style":44},[7560],{"type":14,"value":259},{"type":9,"tag":37,"props":7562,"children":7563},{"style":67},[7564],{"type":14,"value":7565},"'Error'",{"type":9,"tag":37,"props":7567,"children":7568},{"style":44},[7569],{"type":14,"value":7570},", error: ",{"type":9,"tag":37,"props":7572,"children":7573},{"style":67},[7574],{"type":14,"value":7575},"'这是通过 meta.error 设置的错误'",{"type":9,"tag":37,"props":7577,"children":7578},{"style":44},[7579],{"type":14,"value":269},{"type":9,"tag":37,"props":7581,"children":7582},{"class":39,"line":1053},[7583],{"type":9,"tag":37,"props":7584,"children":7585},{"style":44},[7586],{"type":14,"value":7587},"  size: afz\n",{"type":9,"tag":37,"props":7589,"children":7590},{"class":39,"line":1062},[7591,7595,7599,7603,7608],{"type":9,"tag":37,"props":7592,"children":7593},{"style":44},[7594],{"type":14,"value":5493},{"type":9,"tag":37,"props":7596,"children":7597},{"style":56},[7598],{"type":14,"value":214},{"type":9,"tag":37,"props":7600,"children":7601},{"style":44},[7602],{"type":14,"value":219},{"type":9,"tag":37,"props":7604,"children":7605},{"style":67},[7606],{"type":14,"value":7607},"'size=xl'",{"type":9,"tag":37,"props":7609,"children":7610},{"style":44},[7611],{"type":14,"value":7347},{"type":9,"tag":37,"props":7613,"children":7614},{"class":39,"line":1071},[7615,7619,7623,7627,7632,7637,7642],{"type":9,"tag":37,"props":7616,"children":7617},{"style":44},[7618],{"type":14,"value":5493},{"type":9,"tag":37,"props":7620,"children":7621},{"style":56},[7622],{"type":14,"value":254},{"type":9,"tag":37,"props":7624,"children":7625},{"style":44},[7626],{"type":14,"value":259},{"type":9,"tag":37,"props":7628,"children":7629},{"style":67},[7630],{"type":14,"value":7631},"'Size'",{"type":9,"tag":37,"props":7633,"children":7634},{"style":44},[7635],{"type":14,"value":7636},", size: ",{"type":9,"tag":37,"props":7638,"children":7639},{"style":67},[7640],{"type":14,"value":7641},"'xl'",{"type":9,"tag":37,"props":7643,"children":7644},{"style":44},[7645],{"type":14,"value":269},{"type":9,"tag":37,"props":7647,"children":7648},{"class":39,"line":1088},[7649,7654,7658,7662,7667,7671,7675],{"type":9,"tag":37,"props":7650,"children":7651},{"style":44},[7652],{"type":14,"value":7653},"  styled: afz.",{"type":9,"tag":37,"props":7655,"children":7656},{"style":56},[7657],{"type":14,"value":214},{"type":9,"tag":37,"props":7659,"children":7660},{"style":44},[7661],{"type":14,"value":219},{"type":9,"tag":37,"props":7663,"children":7664},{"style":67},[7665],{"type":14,"value":7666},"'ui\u002Fclass 示例'",{"type":9,"tag":37,"props":7668,"children":7669},{"style":44},[7670],{"type":14,"value":229},{"type":9,"tag":37,"props":7672,"children":7673},{"style":56},[7674],{"type":14,"value":254},{"type":9,"tag":37,"props":7676,"children":7677},{"style":44},[7678],{"type":14,"value":200},{"type":9,"tag":37,"props":7680,"children":7681},{"class":39,"line":1105},[7682,7687,7692],{"type":9,"tag":37,"props":7683,"children":7684},{"style":44},[7685],{"type":14,"value":7686},"    label: ",{"type":9,"tag":37,"props":7688,"children":7689},{"style":67},[7690],{"type":14,"value":7691},"'UI \u002F Class'",{"type":9,"tag":37,"props":7693,"children":7694},{"style":44},[7695],{"type":14,"value":920},{"type":9,"tag":37,"props":7697,"children":7698},{"class":39,"line":1119},[7699,7703,7708],{"type":9,"tag":37,"props":7700,"children":7701},{"style":44},[7702],{"type":14,"value":1501},{"type":9,"tag":37,"props":7704,"children":7705},{"style":67},[7706],{"type":14,"value":7707},"'自定义 UFormField 样式'",{"type":9,"tag":37,"props":7709,"children":7710},{"style":44},[7711],{"type":14,"value":920},{"type":9,"tag":37,"props":7713,"children":7714},{"class":39,"line":1127},[7715,7719,7724],{"type":9,"tag":37,"props":7716,"children":7717},{"style":44},[7718],{"type":14,"value":1919},{"type":9,"tag":37,"props":7720,"children":7721},{"style":67},[7722],{"type":14,"value":7723},"'rounded-md border border-primary\u002F20 p-3'",{"type":9,"tag":37,"props":7725,"children":7726},{"style":44},[7727],{"type":14,"value":920},{"type":9,"tag":37,"props":7729,"children":7730},{"class":39,"line":1136},[7731,7736,7741,7745,7750],{"type":9,"tag":37,"props":7732,"children":7733},{"style":44},[7734],{"type":14,"value":7735},"    ui: { label: ",{"type":9,"tag":37,"props":7737,"children":7738},{"style":67},[7739],{"type":14,"value":7740},"'text-primary'",{"type":9,"tag":37,"props":7742,"children":7743},{"style":44},[7744],{"type":14,"value":7372},{"type":9,"tag":37,"props":7746,"children":7747},{"style":67},[7748],{"type":14,"value":7749},"'text-warning'",{"type":9,"tag":37,"props":7751,"children":7752},{"style":44},[7753],{"type":14,"value":1041},{"type":9,"tag":37,"props":7755,"children":7756},{"class":39,"line":1169},[7757],{"type":9,"tag":37,"props":7758,"children":7759},{"style":44},[7760],{"type":14,"value":2876},{"type":9,"tag":37,"props":7762,"children":7763},{"class":39,"line":1202},[7764],{"type":9,"tag":37,"props":7765,"children":7766},{"style":44},[7767],{"type":14,"value":7768},"  notify: afz\n",{"type":9,"tag":37,"props":7770,"children":7771},{"class":39,"line":1253},[7772,7776,7781,7785,7790],{"type":9,"tag":37,"props":7773,"children":7774},{"style":44},[7775],{"type":14,"value":5493},{"type":9,"tag":37,"props":7777,"children":7778},{"style":56},[7779],{"type":14,"value":7780},"boolean",{"type":9,"tag":37,"props":7782,"children":7783},{"style":44},[7784],{"type":14,"value":393},{"type":9,"tag":37,"props":7786,"children":7787},{"style":67},[7788],{"type":14,"value":7789},"'switch'",{"type":9,"tag":37,"props":7791,"children":7792},{"style":44},[7793],{"type":14,"value":438},{"type":9,"tag":37,"props":7795,"children":7796},{"class":39,"line":1262},[7797,7801,7805,7809,7814,7818,7823],{"type":9,"tag":37,"props":7798,"children":7799},{"style":44},[7800],{"type":14,"value":5493},{"type":9,"tag":37,"props":7802,"children":7803},{"style":56},[7804],{"type":14,"value":254},{"type":9,"tag":37,"props":7806,"children":7807},{"style":44},[7808],{"type":14,"value":259},{"type":9,"tag":37,"props":7810,"children":7811},{"style":67},[7812],{"type":14,"value":7813},"'If'",{"type":9,"tag":37,"props":7815,"children":7816},{"style":44},[7817],{"type":14,"value":7504},{"type":9,"tag":37,"props":7819,"children":7820},{"style":67},[7821],{"type":14,"value":7822},"'开启后显示通知邮箱字段'",{"type":9,"tag":37,"props":7824,"children":7825},{"style":44},[7826],{"type":14,"value":438},{"type":9,"tag":37,"props":7828,"children":7829},{"class":39,"line":1271},[7830,7834,7838,7842,7847],{"type":9,"tag":37,"props":7831,"children":7832},{"style":44},[7833],{"type":14,"value":5493},{"type":9,"tag":37,"props":7835,"children":7836},{"style":56},[7837],{"type":14,"value":3014},{"type":9,"tag":37,"props":7839,"children":7840},{"style":44},[7841],{"type":14,"value":239},{"type":9,"tag":37,"props":7843,"children":7844},{"style":137},[7845],{"type":14,"value":7846},"false",{"type":9,"tag":37,"props":7848,"children":7849},{"style":44},[7850],{"type":14,"value":7851},"),\n",{"type":9,"tag":37,"props":7853,"children":7854},{"class":39,"line":1279},[7855,7859,7863,7867,7872,7876,7880],{"type":9,"tag":37,"props":7856,"children":7857},{"style":44},[7858],{"type":14,"value":278},{"type":9,"tag":37,"props":7860,"children":7861},{"style":56},[7862],{"type":14,"value":283},{"type":9,"tag":37,"props":7864,"children":7865},{"style":44},[7866],{"type":14,"value":219},{"type":9,"tag":37,"props":7868,"children":7869},{"style":67},[7870],{"type":14,"value":7871},"'demo@movk.dev'",{"type":9,"tag":37,"props":7873,"children":7874},{"style":44},[7875],{"type":14,"value":229},{"type":9,"tag":37,"props":7877,"children":7878},{"style":56},[7879],{"type":14,"value":254},{"type":9,"tag":37,"props":7881,"children":7882},{"style":44},[7883],{"type":14,"value":200},{"type":9,"tag":37,"props":7885,"children":7886},{"class":39,"line":1287},[7887,7891,7896],{"type":9,"tag":37,"props":7888,"children":7889},{"style":44},[7890],{"type":14,"value":7686},{"type":9,"tag":37,"props":7892,"children":7893},{"style":67},[7894],{"type":14,"value":7895},"'通知邮箱'",{"type":9,"tag":37,"props":7897,"children":7898},{"style":44},[7899],{"type":14,"value":920},{"type":9,"tag":37,"props":7901,"children":7902},{"class":39,"line":1331},[7903,7908,7912,7916,7920,7924,7928,7932,7936,7941],{"type":9,"tag":37,"props":7904,"children":7905},{"style":56},[7906],{"type":14,"value":7907},"    if",{"type":9,"tag":37,"props":7909,"children":7910},{"style":44},[7911],{"type":14,"value":5577},{"type":9,"tag":37,"props":7913,"children":7914},{"style":1412},[7915],{"type":14,"value":5582},{"type":9,"tag":37,"props":7917,"children":7918},{"style":44},[7919],{"type":14,"value":6194},{"type":9,"tag":37,"props":7921,"children":7922},{"style":87},[7923],{"type":14,"value":1420},{"type":9,"tag":37,"props":7925,"children":7926},{"style":56},[7927],{"type":14,"value":6203},{"type":9,"tag":37,"props":7929,"children":7930},{"style":44},[7931],{"type":14,"value":6208},{"type":9,"tag":37,"props":7933,"children":7934},{"style":87},[7935],{"type":14,"value":5592},{"type":9,"tag":37,"props":7937,"children":7938},{"style":56},[7939],{"type":14,"value":7940}," Boolean",{"type":9,"tag":37,"props":7942,"children":7943},{"style":44},[7944],{"type":14,"value":7945},"(state.notify),\n",{"type":9,"tag":37,"props":7947,"children":7948},{"class":39,"line":1339},[7949,7954,7958,7962,7966,7970,7974,7978,7982,7986],{"type":9,"tag":37,"props":7950,"children":7951},{"style":56},[7952],{"type":14,"value":7953},"    required",{"type":9,"tag":37,"props":7955,"children":7956},{"style":44},[7957],{"type":14,"value":5577},{"type":9,"tag":37,"props":7959,"children":7960},{"style":1412},[7961],{"type":14,"value":5582},{"type":9,"tag":37,"props":7963,"children":7964},{"style":44},[7965],{"type":14,"value":6194},{"type":9,"tag":37,"props":7967,"children":7968},{"style":87},[7969],{"type":14,"value":1420},{"type":9,"tag":37,"props":7971,"children":7972},{"style":56},[7973],{"type":14,"value":6203},{"type":9,"tag":37,"props":7975,"children":7976},{"style":44},[7977],{"type":14,"value":6208},{"type":9,"tag":37,"props":7979,"children":7980},{"style":87},[7981],{"type":14,"value":5592},{"type":9,"tag":37,"props":7983,"children":7984},{"style":56},[7985],{"type":14,"value":7940},{"type":9,"tag":37,"props":7987,"children":7988},{"style":44},[7989],{"type":14,"value":7945},{"type":9,"tag":37,"props":7991,"children":7992},{"class":39,"line":1381},[7993,7998,8003],{"type":9,"tag":37,"props":7994,"children":7995},{"style":44},[7996],{"type":14,"value":7997},"    eagerValidation: ",{"type":9,"tag":37,"props":7999,"children":8000},{"style":137},[8001],{"type":14,"value":8002},"true",{"type":9,"tag":37,"props":8004,"children":8005},{"style":44},[8006],{"type":14,"value":920},{"type":9,"tag":37,"props":8008,"children":8009},{"class":39,"line":1389},[8010,8015,8020],{"type":9,"tag":37,"props":8011,"children":8012},{"style":44},[8013],{"type":14,"value":8014},"    validateOnInputDelay: ",{"type":9,"tag":37,"props":8016,"children":8017},{"style":137},[8018],{"type":14,"value":8019},"200",{"type":9,"tag":37,"props":8021,"children":8022},{"style":44},[8023],{"type":14,"value":920},{"type":9,"tag":37,"props":8025,"children":8026},{"class":39,"line":1441},[8027,8032],{"type":9,"tag":37,"props":8028,"children":8029},{"style":44},[8030],{"type":14,"value":8031},"    error: ",{"type":9,"tag":37,"props":8033,"children":8034},{"style":67},[8035],{"type":14,"value":8036},"'请输入有效邮箱'\n",{"type":9,"tag":37,"props":8038,"children":8039},{"class":39,"line":1459},[8040],{"type":9,"tag":37,"props":8041,"children":8042},{"style":44},[8043],{"type":14,"value":2876},{"type":9,"tag":37,"props":8045,"children":8046},{"class":39,"line":1477},[8047],{"type":9,"tag":37,"props":8048,"children":8049},{"style":44},[8050],{"type":14,"value":8051},"  profile: afz\n",{"type":9,"tag":37,"props":8053,"children":8054},{"class":39,"line":1495},[8055,8059,8063],{"type":9,"tag":37,"props":8056,"children":8057},{"style":44},[8058],{"type":14,"value":5493},{"type":9,"tag":37,"props":8060,"children":8061},{"style":56},[8062],{"type":14,"value":195},{"type":9,"tag":37,"props":8064,"children":8065},{"style":44},[8066],{"type":14,"value":200},{"type":9,"tag":37,"props":8068,"children":8069},{"class":39,"line":1542},[8070,8075,8079,8083,8088,8092,8096,8100,8105],{"type":9,"tag":37,"props":8071,"children":8072},{"style":44},[8073],{"type":14,"value":8074},"      nickname: afz.",{"type":9,"tag":37,"props":8076,"children":8077},{"style":56},[8078],{"type":14,"value":214},{"type":9,"tag":37,"props":8080,"children":8081},{"style":44},[8082],{"type":14,"value":219},{"type":9,"tag":37,"props":8084,"children":8085},{"style":67},[8086],{"type":14,"value":8087},"'显示名称'",{"type":9,"tag":37,"props":8089,"children":8090},{"style":44},[8091],{"type":14,"value":229},{"type":9,"tag":37,"props":8093,"children":8094},{"style":56},[8095],{"type":14,"value":254},{"type":9,"tag":37,"props":8097,"children":8098},{"style":44},[8099],{"type":14,"value":259},{"type":9,"tag":37,"props":8101,"children":8102},{"style":67},[8103],{"type":14,"value":8104},"'昵称'",{"type":9,"tag":37,"props":8106,"children":8107},{"style":44},[8108],{"type":14,"value":269},{"type":9,"tag":37,"props":8110,"children":8111},{"class":39,"line":1550},[8112],{"type":9,"tag":37,"props":8113,"children":8114},{"style":44},[8115],{"type":14,"value":8116},"      website: afz\n",{"type":9,"tag":37,"props":8118,"children":8119},{"class":39,"line":1559},[8120,8125,8130,8134,8139],{"type":9,"tag":37,"props":8121,"children":8122},{"style":44},[8123],{"type":14,"value":8124},"        .",{"type":9,"tag":37,"props":8126,"children":8127},{"style":56},[8128],{"type":14,"value":8129},"url",{"type":9,"tag":37,"props":8131,"children":8132},{"style":44},[8133],{"type":14,"value":219},{"type":9,"tag":37,"props":8135,"children":8136},{"style":67},[8137],{"type":14,"value":8138},"'https:\u002F\u002Fmovk.dev'",{"type":9,"tag":37,"props":8140,"children":8141},{"style":44},[8142],{"type":14,"value":7347},{"type":9,"tag":37,"props":8144,"children":8145},{"class":39,"line":1575},[8146,8150,8154,8158,8163,8168,8172],{"type":9,"tag":37,"props":8147,"children":8148},{"style":44},[8149],{"type":14,"value":8124},{"type":9,"tag":37,"props":8151,"children":8152},{"style":56},[8153],{"type":14,"value":254},{"type":9,"tag":37,"props":8155,"children":8156},{"style":44},[8157],{"type":14,"value":259},{"type":9,"tag":37,"props":8159,"children":8160},{"style":67},[8161],{"type":14,"value":8162},"'个人网站'",{"type":9,"tag":37,"props":8164,"children":8165},{"style":44},[8166],{"type":14,"value":8167},", required: ",{"type":9,"tag":37,"props":8169,"children":8170},{"style":137},[8171],{"type":14,"value":7846},{"type":9,"tag":37,"props":8173,"children":8174},{"style":44},[8175],{"type":14,"value":438},{"type":9,"tag":37,"props":8177,"children":8178},{"class":39,"line":1583},[8179],{"type":9,"tag":37,"props":8180,"children":8181},{"style":44},[8182],{"type":14,"value":8183},"    })\n",{"type":9,"tag":37,"props":8185,"children":8186},{"class":39,"line":1599},[8187,8191,8195],{"type":9,"tag":37,"props":8188,"children":8189},{"style":44},[8190],{"type":14,"value":5493},{"type":9,"tag":37,"props":8192,"children":8193},{"style":56},[8194],{"type":14,"value":254},{"type":9,"tag":37,"props":8196,"children":8197},{"style":44},[8198],{"type":14,"value":200},{"type":9,"tag":37,"props":8200,"children":8201},{"class":39,"line":1686},[8202,8207,8212],{"type":9,"tag":37,"props":8203,"children":8204},{"style":44},[8205],{"type":14,"value":8206},"      label: ",{"type":9,"tag":37,"props":8208,"children":8209},{"style":67},[8210],{"type":14,"value":8211},"'更多资料'",{"type":9,"tag":37,"props":8213,"children":8214},{"style":44},[8215],{"type":14,"value":920},{"type":9,"tag":37,"props":8217,"children":8218},{"class":39,"line":3521},[8219,8224,8229],{"type":9,"tag":37,"props":8220,"children":8221},{"style":44},[8222],{"type":14,"value":8223},"      description: ",{"type":9,"tag":37,"props":8225,"children":8226},{"style":67},[8227],{"type":14,"value":8228},"'对象字段可以作为可折叠分组渲染'",{"type":9,"tag":37,"props":8230,"children":8231},{"style":44},[8232],{"type":14,"value":920},{"type":9,"tag":37,"props":8234,"children":8235},{"class":39,"line":6159},[8236,8241,8245,8250,8254],{"type":9,"tag":37,"props":8237,"children":8238},{"style":44},[8239],{"type":14,"value":8240},"      collapsible: { defaultOpen: ",{"type":9,"tag":37,"props":8242,"children":8243},{"style":137},[8244],{"type":14,"value":8002},{"type":9,"tag":37,"props":8246,"children":8247},{"style":44},[8248],{"type":14,"value":8249},", unmountOnHide: ",{"type":9,"tag":37,"props":8251,"children":8252},{"style":137},[8253],{"type":14,"value":7846},{"type":9,"tag":37,"props":8255,"children":8256},{"style":44},[8257],{"type":14,"value":1041},{"type":9,"tag":37,"props":8259,"children":8260},{"class":39,"line":6175},[8261],{"type":9,"tag":37,"props":8262,"children":8263},{"style":44},[8264],{"type":14,"value":8265},"    }),\n",{"type":9,"tag":37,"props":8267,"children":8268},{"class":39,"line":6228},[8269,8274,8278,8282,8286,8291,8295,8299,8303,8307,8312],{"type":9,"tag":37,"props":8270,"children":8271},{"style":44},[8272],{"type":14,"value":8273},"  hidden: afz.",{"type":9,"tag":37,"props":8275,"children":8276},{"style":56},[8277],{"type":14,"value":214},{"type":9,"tag":37,"props":8279,"children":8280},{"style":44},[8281],{"type":14,"value":288},{"type":9,"tag":37,"props":8283,"children":8284},{"style":56},[8285],{"type":14,"value":254},{"type":9,"tag":37,"props":8287,"children":8288},{"style":44},[8289],{"type":14,"value":8290},"({ hidden: ",{"type":9,"tag":37,"props":8292,"children":8293},{"style":137},[8294],{"type":14,"value":8002},{"type":9,"tag":37,"props":8296,"children":8297},{"style":44},[8298],{"type":14,"value":1225},{"type":9,"tag":37,"props":8300,"children":8301},{"style":56},[8302],{"type":14,"value":3014},{"type":9,"tag":37,"props":8304,"children":8305},{"style":44},[8306],{"type":14,"value":239},{"type":9,"tag":37,"props":8308,"children":8309},{"style":67},[8310],{"type":14,"value":8311},"'不会显示但会提交'",{"type":9,"tag":37,"props":8313,"children":8314},{"style":44},[8315],{"type":14,"value":1539},{"type":9,"tag":37,"props":8317,"children":8318},{"class":39,"line":6246},[8319],{"type":9,"tag":37,"props":8320,"children":8321},{"style":44},[8322],{"type":14,"value":447},{"type":9,"tag":37,"props":8324,"children":8325},{"class":39,"line":6294},[8326],{"type":9,"tag":37,"props":8327,"children":8328},{"emptyLinePlaceholder":117},[8329],{"type":14,"value":120},{"type":9,"tag":37,"props":8331,"children":8332},{"class":39,"line":6310},[8333,8337,8342,8346,8351,8355,8359,8363,8367,8371,8375,8379,8383,8388,8393],{"type":9,"tag":37,"props":8334,"children":8335},{"style":87},[8336],{"type":14,"value":129},{"type":9,"tag":37,"props":8338,"children":8339},{"style":137},[8340],{"type":14,"value":8341}," state",{"type":9,"tag":37,"props":8343,"children":8344},{"style":87},[8345],{"type":14,"value":185},{"type":9,"tag":37,"props":8347,"children":8348},{"style":56},[8349],{"type":14,"value":8350}," reactive",{"type":9,"tag":37,"props":8352,"children":8353},{"style":44},[8354],{"type":14,"value":47},{"type":9,"tag":37,"props":8356,"children":8357},{"style":56},[8358],{"type":14,"value":486},{"type":9,"tag":37,"props":8360,"children":8361},{"style":44},[8362],{"type":14,"value":47},{"type":9,"tag":37,"props":8364,"children":8365},{"style":56},[8366],{"type":14,"value":495},{"type":9,"tag":37,"props":8368,"children":8369},{"style":44},[8370],{"type":14,"value":500},{"type":9,"tag":37,"props":8372,"children":8373},{"style":56},[8374],{"type":14,"value":505},{"type":9,"tag":37,"props":8376,"children":8377},{"style":44},[8378],{"type":14,"value":47},{"type":9,"tag":37,"props":8380,"children":8381},{"style":87},[8382],{"type":14,"value":514},{"type":9,"tag":37,"props":8384,"children":8385},{"style":44},[8386],{"type":14,"value":8387}," schema>>>({ hidden: ",{"type":9,"tag":37,"props":8389,"children":8390},{"style":67},[8391],{"type":14,"value":8392},"'secret'",{"type":9,"tag":37,"props":8394,"children":8395},{"style":44},[8396],{"type":14,"value":438},{"type":9,"tag":37,"props":8398,"children":8399},{"class":39,"line":6358},[8400,8404,8408],{"type":9,"tag":37,"props":8401,"children":8402},{"style":44},[8403],{"type":14,"value":528},{"type":9,"tag":37,"props":8405,"children":8406},{"style":50},[8407],{"type":14,"value":53},{"type":9,"tag":37,"props":8409,"children":8410},{"style":44},[8411],{"type":14,"value":80},{"type":9,"tag":37,"props":8413,"children":8414},{"class":39,"line":6374},[8415],{"type":9,"tag":37,"props":8416,"children":8417},{"emptyLinePlaceholder":117},[8418],{"type":14,"value":120},{"type":9,"tag":37,"props":8420,"children":8421},{"class":39,"line":6399},[8422,8426,8430],{"type":9,"tag":37,"props":8423,"children":8424},{"style":44},[8425],{"type":14,"value":47},{"type":9,"tag":37,"props":8427,"children":8428},{"style":50},[8429],{"type":14,"value":557},{"type":9,"tag":37,"props":8431,"children":8432},{"style":44},[8433],{"type":14,"value":80},{"type":9,"tag":37,"props":8435,"children":8436},{"class":39,"line":6416},[8437,8441,8445,8449,8453,8457,8461,8465,8469,8473,8477,8481,8485,8489],{"type":9,"tag":37,"props":8438,"children":8439},{"style":44},[8440],{"type":14,"value":570},{"type":9,"tag":37,"props":8442,"children":8443},{"style":50},[8444],{"type":14,"value":575},{"type":9,"tag":37,"props":8446,"children":8447},{"style":56},[8448],{"type":14,"value":580},{"type":9,"tag":37,"props":8450,"children":8451},{"style":44},[8452],{"type":14,"value":64},{"type":9,"tag":37,"props":8454,"children":8455},{"style":67},[8456],{"type":14,"value":589},{"type":9,"tag":37,"props":8458,"children":8459},{"style":44},[8460],{"type":14,"value":5582},{"type":9,"tag":37,"props":8462,"children":8463},{"style":67},[8464],{"type":14,"value":589},{"type":9,"tag":37,"props":8466,"children":8467},{"style":44},[8468],{"type":14,"value":603},{"type":9,"tag":37,"props":8470,"children":8471},{"style":56},[8472],{"type":14,"value":608},{"type":9,"tag":37,"props":8474,"children":8475},{"style":44},[8476],{"type":14,"value":64},{"type":9,"tag":37,"props":8478,"children":8479},{"style":67},[8480],{"type":14,"value":589},{"type":9,"tag":37,"props":8482,"children":8483},{"style":44},[8484],{"type":14,"value":608},{"type":9,"tag":37,"props":8486,"children":8487},{"style":67},[8488],{"type":14,"value":589},{"type":9,"tag":37,"props":8490,"children":8491},{"style":44},[8492],{"type":14,"value":629},{"type":9,"tag":37,"props":8494,"children":8495},{"class":39,"line":6464},[8496,8500,8504],{"type":9,"tag":37,"props":8497,"children":8498},{"style":44},[8499],{"type":14,"value":528},{"type":9,"tag":37,"props":8501,"children":8502},{"style":50},[8503],{"type":14,"value":557},{"type":9,"tag":37,"props":8505,"children":8506},{"style":44},[8507],{"type":14,"value":80},{"type":9,"tag":647,"props":8509,"children":8510},{},[8511],{"type":14,"value":651},{"title":22,"searchDepth":83,"depth":83,"links":8513},[],{"id":8515,"title":8516,"body":8517,"category":9178,"description":15,"difficulty":9178,"extension":9179,"index":9180,"keywords":9178,"links":9178,"meta":9181,"navigation":9178,"path":9182,"requires":9178,"seo":9183,"sitemap":9184,"stem":9185,"__hash__":9186},"docs\u002Fdocs\u002F2.auto-form\u002F5.metadata-layout.md","元数据与布局",{"type":8518,"value":8519,"toc":9166},"minimark",[8520,8524,8531,8536,8539,8546,8549,8552,8555,8559,8570,8572,8587,8590,8596,8598,8601,8604,8606,8622,8625,8628,8630,8634,8637,8644,8646,8660,8663,8669,8671,8674,8685,8689,8695,8700,8962,8968,8974,9163],[8521,8522,8523],"h2",{"id":8523},"元数据",[8525,8526,8528,8530],"h3",{"id":8527},"meta-字段元数据",[33,8529,254],{}," 字段元数据",[8532,8533,8535],"note",{"to":8534},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fform-field#props","查看全部可用元数据属性、类型与配置优先级。",[8537,8538],"component-example",{"name":7108,":collapse":8002,":prettier":8002},[8525,8540,8542,8545],{"id":8541},"globalmeta-全局元数据",[33,8543,8544],{},"globalMeta"," 全局元数据",[8537,8547],{"name":19,":options":8548},"[{\"name\":\"globalMeta.orientation\",\"label\":\"globalMeta.orientation\",\"items\":[\"vertical\",\"horizontal\"]},{\"name\":\"globalMeta.size\",\"label\":\"globalMeta.size\",\"items\":[\"sm\",\"xs\",\"md\",\"lg\",\"xl\"]},{\"name\":\"globalMeta.validateOnInputDelay\",\"label\":\"globalMeta.validateOnInputDelay\",\"items\":[0,300,800]}]",[8521,8550,8551],{"id":8551},"布局",[8525,8553,8554],{"id":8554},"示例",[8556,8557,8558],"h4",{"id":8558},"简单容器布局",[10,8560,8561,8562,8565,8566,8569],{},"使用 ",[33,8563,8564],{},"afz.layout"," 创建一个基础的容器布局，通过 ",[33,8567,8568],{},"class"," 属性控制样式：",[8537,8571],{"name":4493,":collapse":8002},[8532,8573,8574,8575,8578,8579,8582,8583,8586],{},"布局字段的 key（如 ",[33,8576,8577],{},"$layout","）以 ",[33,8580,8581],{},"$"," 开头是惯例写法，但不是必需的。你可以使用任何字段名，只要其值为 ",[33,8584,8585],{},"afz.layout()"," 即可。",[8556,8588,8589],{"id":8589},"网格布局",[10,8591,8592,8593,8595],{},"使用 CSS Grid 创建多列布局，通过字段级别的 ",[33,8594,8568],{}," 控制跨列：",[8537,8597],{"name":1709,":collapse":8002},[8556,8599,8600],{"id":8600},"响应式多列布局",[10,8602,8603],{},"利用 Tailwind 的响应式前缀，创建自适应不同屏幕尺寸的布局：",[8537,8605],{"name":3544,":collapse":8002},[8607,8608,8609,8610,8613,8614,8617,8618,8621],"tip",{},"使用 Tailwind 的响应式前缀（",[33,8611,8612],{},"md:","、",[33,8615,8616],{},"lg:","）可以轻松实现跨设备的自适应布局。字段可以通过 ",[33,8619,8620],{},"col-span-full"," 占据整行。",[8556,8623,8624],{"id":8624},"嵌套布局",[10,8626,8627],{},"布局字段可以无限嵌套，构建复杂的层级结构：",[8537,8629],{"name":2575,":collapse":8002},[8631,8632,8633],"warning",{},"嵌套布局的深度没有限制，但过深的嵌套可能影响可读性。建议保持在 2-3 层。",[8556,8635,8636],{"id":8636},"手风琴布局",[10,8638,8639,8640,8643],{},"使用 Nuxt UI 的 ",[33,8641,8642],{},"UAccordion"," 组件，将字段组织在可折叠的面板中：",[8537,8645],{"name":657,":collapse":8002},[8607,8647,8648,8651,8652,8655,8656,8659],{},[33,8649,8650],{},"fieldSlots"," 用于将不同字段分配到布局组件的不同插槽中。插槽名称需要与 ",[33,8653,8654],{},"items"," 中定义的 ",[33,8657,8658],{},"slot"," 对应。",[8556,8661,8662],{"id":8662},"标签页布局",[10,8664,8561,8665,8668],{},[33,8666,8667],{},"UTabs"," 组件创建分页式表单，支持动态响应式配置：",[8537,8670],{"name":5217,":collapse":8002},[8607,8672,8673],{},"标签页布局展示了如何根据表单状态动态调整布局结构。切换用户类型时，标签页标题和字段分布会自动更新。",[8631,8675,8676,8677,8680,8681,8684],{},"在使用条件渲染（",[33,8678,8679],{},"if","）时，建议将字段标记为 ",[33,8682,8683],{},".optional()","，避免验证错误。",[8525,8686,8688],{"id":8687},"api","API",[8556,8690,8692],{"id":8691},"autoformlayoutconfig",[33,8693,8694],{},"AutoFormLayoutConfig",[10,8696,8697,8699],{},[33,8698,8564],{}," 接受一个配置对象，包含以下属性：",[8701,8702,8703,8719],"table",{},[8704,8705,8706],"thead",{},[8707,8708,8709,8713,8716],"tr",{},[8710,8711,8712],"th",{},"属性",[8710,8714,8715],{},"类型",[8710,8717,8718],{},"说明",[8720,8721,8722,8755,8786,8815,8861,8889,8922],"tbody",{},[8707,8723,8724,8730,8748],{},[8725,8726,8727],"td",{},[33,8728,8729],{},"component",[8725,8731,8732],{},[33,8733,8736,8740,8744],{"className":8734,"language":8735,"style":22},"language-ts-type shiki shiki-themes github-light github-light github-dark","ts-type",[37,8737,8739],{"class":8738},"snPdu","Component",[37,8741,8743],{"class":8742},"s8jYJ"," |",[37,8745,8747],{"class":8746},"sBjJW"," string",[8725,8749,8750,8751,8754],{},"布局容器组件（默认：",[33,8752,8753],{},"'div'","）",[8707,8756,8757,8761,8783],{},[8725,8758,8759],{},[33,8760,8568],{},[8725,8762,8763],{},[33,8764,8765,8767,8769,8773,8777,8779,8781],{"className":8734,"language":8735,"style":22},[37,8766,214],{"class":8746},[37,8768,8743],{"class":8742},[37,8770,8772],{"class":8771},"sxrX7"," (",[37,8774,8776],{"class":8775},"sP4rz","context",[37,8778,6208],{"class":8771},[37,8780,5592],{"class":8742},[37,8782,8747],{"class":8746},[8725,8784,8785],{},"CSS 类名，支持响应式函数",[8707,8787,8788,8793,8812],{},[8725,8789,8790],{},[33,8791,8792],{},"props",[8725,8794,8795],{},[33,8796,8797,8799,8801,8803,8805,8807,8809],{"className":8734,"language":8735,"style":22},[37,8798,195],{"class":8746},[37,8800,8743],{"class":8742},[37,8802,8772],{"class":8771},[37,8804,8776],{"class":8775},[37,8806,6208],{"class":8771},[37,8808,5592],{"class":8742},[37,8810,8811],{"class":8746}," object",[8725,8813,8814],{},"组件属性，支持响应式函数",[8707,8816,8817,8822,8858],{},[8725,8818,8819],{},[33,8820,8821],{},"slots",[8725,8823,8824],{},[33,8825,8826,8829,8831,8833,8836,8838,8841,8844,8847,8849,8851,8853,8855],{"className":8734,"language":8735,"style":22},[37,8827,8828],{"class":8738},"Record",[37,8830,47],{"class":8771},[37,8832,214],{"class":8746},[37,8834,8835],{"class":8771},", () ",[37,8837,5592],{"class":8742},[37,8839,8840],{"class":8738}," VNode",[37,8842,8843],{"class":8771},"> ",[37,8845,8846],{"class":8742},"|",[37,8848,8772],{"class":8771},[37,8850,8776],{"class":8775},[37,8852,6208],{"class":8771},[37,8854,5592],{"class":8742},[37,8856,8857],{"class":8771}," ...",[8725,8859,8860],{},"组件插槽内容",[8707,8862,8863,8868,8886],{},[8725,8864,8865],{},[33,8866,8867],{},"fields",[8725,8869,8870],{},[33,8871,8872,8874,8876,8878,8880,8883],{"className":8734,"language":8735,"style":22},[37,8873,8828],{"class":8738},[37,8875,47],{"class":8771},[37,8877,214],{"class":8746},[37,8879,1530],{"class":8771},[37,8881,8882],{"class":8738},"ZodType",[37,8884,8885],{"class":8771},">",[8725,8887,8888],{},"包含的字段定义",[8707,8890,8891,8896,8914],{},[8725,8892,8893],{},[33,8894,8895],{},"fieldSlot",[8725,8897,8898],{},[33,8899,8900,8902,8904,8906,8908,8910,8912],{"className":8734,"language":8735,"style":22},[37,8901,214],{"class":8746},[37,8903,8743],{"class":8742},[37,8905,8772],{"class":8771},[37,8907,8776],{"class":8775},[37,8909,6208],{"class":8771},[37,8911,5592],{"class":8742},[37,8913,8747],{"class":8746},[8725,8915,8916,8917,8921],{},"将",[8918,8919,8920],"strong",{},"所有","字段渲染到指定插槽",[8707,8923,8924,8928,8956],{},[8725,8925,8926],{},[33,8927,8650],{},[8725,8929,8930],{},[33,8931,8932,8934,8936,8938,8940,8942,8944,8946,8948,8950,8952,8954],{"className":8734,"language":8735,"style":22},[37,8933,8828],{"class":8738},[37,8935,47],{"class":8771},[37,8937,214],{"class":8746},[37,8939,1530],{"class":8771},[37,8941,214],{"class":8746},[37,8943,8843],{"class":8771},[37,8945,8846],{"class":8742},[37,8947,8772],{"class":8771},[37,8949,8776],{"class":8775},[37,8951,6208],{"class":8771},[37,8953,5592],{"class":8742},[37,8955,8857],{"class":8771},[8725,8957,8916,8958,8961],{},[8918,8959,8960],{},"不同","字段分配到不同插槽",[8556,8963,8965],{"id":8964},"autoformnestedcollapsible",[33,8966,8967],{},"AutoFormNestedCollapsible",[10,8969,8970,8973],{},[33,8971,8972],{},"collapsible"," 属性接受一个配置对象，支持以下选项：",[8701,8975,8976,8989],{},[8704,8977,8978],{},[8707,8979,8980,8982,8984,8987],{},[8710,8981,8712],{},[8710,8983,8715],{},[8710,8985,8986],{},"默认值",[8710,8988,8718],{},[8720,8990,8991,9011,9029,9047,9065,9085,9105,9123],{},[8707,8992,8993,8998,9004,9008],{},[8725,8994,8995],{},[33,8996,8997],{},"enabled",[8725,8999,9000],{},[33,9001,9002],{"className":8734,"language":8735,"style":22},[37,9003,7780],{"class":8746},[8725,9005,9006],{},[33,9007,8002],{},[8725,9009,9010],{},"是否启用折叠功能",[8707,9012,9013,9018,9024,9026],{},[8725,9014,9015],{},[33,9016,9017],{},"defaultOpen",[8725,9019,9020],{},[33,9021,9022],{"className":8734,"language":8735,"style":22},[37,9023,7780],{"class":8746},[8725,9025],{},[8725,9027,9028],{},"默认是否展开",[8707,9030,9031,9036,9042,9044],{},[8725,9032,9033],{},[33,9034,9035],{},"open",[8725,9037,9038],{},[33,9039,9040],{"className":8734,"language":8735,"style":22},[37,9041,7780],{"class":8746},[8725,9043],{},[8725,9045,9046],{},"控制展开\u002F收起状态（受控模式）",[8707,9048,9049,9054,9060,9062],{},[8725,9050,9051],{},[33,9052,9053],{},"disabled",[8725,9055,9056],{},[33,9057,9058],{"className":8734,"language":8735,"style":22},[37,9059,7780],{"class":8746},[8725,9061],{},[8725,9063,9064],{},"禁用折叠功能（始终展开）",[8707,9066,9067,9072,9078,9082],{},[8725,9068,9069],{},[33,9070,9071],{},"unmountOnHide",[8725,9073,9074],{},[33,9075,9076],{"className":8734,"language":8735,"style":22},[37,9077,7780],{"class":8746},[8725,9079,9080],{},[33,9081,8002],{},[8725,9083,9084],{},"隐藏时卸载内容",[8707,9086,9087,9092,9098,9102],{},[8725,9088,9089],{},[33,9090,9091],{},"as",[8725,9093,9094],{},[33,9095,9096],{"className":8734,"language":8735,"style":22},[37,9097,214],{"class":8746},[8725,9099,9100],{},[33,9101,8753],{},[8725,9103,9104],{},"渲染的元素类型",[8707,9106,9107,9111,9118,9120],{},[8725,9108,9109],{},[33,9110,8568],{},[8725,9112,9113],{},[33,9114,9115],{"className":8734,"language":8735,"style":22},[37,9116,9117],{"class":8738},"ClassNameValue",[8725,9119],{},[8725,9121,9122],{},"CSS 类名",[8707,9124,9125,9130,9158,9160],{},[8725,9126,9127],{},[33,9128,9129],{},"ui",[8725,9131,9132],{},[33,9133,9134,9137,9139,9142,9145,9148,9151,9153,9155],{"className":8734,"language":8735,"style":22},[37,9135,9136],{"class":8771},"{ ",[37,9138,6],{"class":8775},[37,9140,9141],{"class":8742},"?:",[37,9143,9144],{"class":8738}," ClassNameValue",[37,9146,9147],{"class":8771},"; ",[37,9149,9150],{"class":8775},"content",[37,9152,9141],{"class":8742},[37,9154,9144],{"class":8738},[37,9156,9157],{"class":8771},"; }",[8725,9159],{},[8725,9161,9162],{},"UI 样式配置",[647,9164,9165],{},"html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":22,"searchDepth":83,"depth":83,"links":9167},[9168,9174],{"id":8523,"depth":83,"text":8523,"children":9169},[9170,9172],{"id":8527,"depth":113,"text":9171},"meta 字段元数据",{"id":8541,"depth":113,"text":9173},"globalMeta 全局元数据",{"id":8551,"depth":83,"text":8551,"children":9175},[9176,9177],{"id":8554,"depth":113,"text":8554},{"id":8687,"depth":113,"text":8688},null,"md",false,{},"\u002Fdocs\u002Fauto-form\u002Fmetadata-layout",{"title":8516,"description":15},{"loc":9182},"docs\u002F2.auto-form\u002F5.metadata-layout","xnGNt7cxrbD2TsIEZrDjTE-ywNpV6zMZTTF_ClN4ijE",[9188],{"title":9189,"path":9190,"stem":9191,"children":9192,"page":9180},"Docs","\u002Fdocs","docs",[9193,9232,9283,9321,9359],{"title":9194,"path":9195,"stem":9196,"children":9197,"category":9178,"description":9178,"icon":9231},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[9198,9201,9206,9211,9216,9221,9226],{"title":9199,"path":9195,"stem":9196,"category":9178,"description":9200},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":9202,"path":9203,"stem":9204,"category":9178,"description":9205},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":9207,"path":9208,"stem":9209,"category":9178,"description":9210},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":9212,"path":9213,"stem":9214,"category":9178,"description":9215},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":9217,"path":9218,"stem":9219,"category":9178,"description":9220},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":9222,"path":9223,"stem":9224,"category":9178,"description":9225},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":9227,"path":9228,"stem":9229,"category":9178,"description":9230},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":9233,"category":9178,"description":9178,"icon":9234,"path":9235,"stem":9236,"children":9237,"page":9180},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[9238,9242,9247,9252,9257,9262,9263,9268,9273,9278],{"title":9194,"path":9239,"stem":9240,"category":9178,"description":9241},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":9243,"path":9244,"stem":9245,"category":9178,"description":9246},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":9248,"path":9249,"stem":9250,"category":9178,"description":9251},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":9253,"path":9254,"stem":9255,"category":9178,"description":9256},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":9258,"path":9259,"stem":9260,"category":9178,"description":9261},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":8516,"path":9182,"stem":9185,"category":9178,"description":15},{"title":9264,"path":9265,"stem":9266,"category":9178,"description":9267},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":9269,"path":9270,"stem":9271,"category":9178,"description":9272},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":9274,"path":9275,"stem":9276,"category":9178,"description":9277},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":9279,"path":9280,"stem":9281,"category":9178,"description":9282},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":9284,"path":9285,"stem":9286,"children":9287,"category":9178,"description":9178,"icon":9320},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[9288,9290,9295,9300,9305,9310,9315],{"title":9199,"path":9285,"stem":9286,"category":9178,"description":9289},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":9291,"path":9292,"stem":9293,"category":9178,"description":9294},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":9296,"path":9297,"stem":9298,"category":9178,"description":9299},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":9301,"path":9302,"stem":9303,"category":9178,"description":9304},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":9306,"path":9307,"stem":9308,"category":9178,"description":9309},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":9311,"path":9312,"stem":9313,"category":9178,"description":9314},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":9316,"path":9317,"stem":9318,"category":9178,"description":9319},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":8688,"path":9322,"stem":9323,"children":9324,"category":9178,"description":9178,"icon":9358},"\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[9325,9328,9333,9338,9343,9348,9353],{"title":9326,"path":9322,"stem":9323,"category":9178,"description":9327},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":9329,"path":9330,"stem":9331,"category":9178,"description":9332},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":9334,"path":9335,"stem":9336,"category":9178,"description":9337},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":9339,"path":9340,"stem":9341,"category":9178,"description":9342},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":9344,"path":9345,"stem":9346,"category":9178,"description":9347},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":9349,"path":9350,"stem":9351,"category":9178,"description":9352},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":9354,"path":9355,"stem":9356,"category":9178,"description":9357},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":9360,"category":9178,"description":9178,"icon":9361,"path":9362,"stem":9363,"children":9364,"page":9180},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[9365,9371,9377],{"title":9366,"path":9367,"stem":9368,"category":9369,"description":9370},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":9372,"path":9373,"stem":9374,"category":9375,"description":9376},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":9378,"path":9379,"stem":9380,"category":9369,"description":9381,"badge":9382},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":9384,"body":9385},{},{"type":6,"children":9386},[9387],{"type":9,"tag":10,"props":9388,"children":9389},{},[9390,9392],{"type":14,"value":9391},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":9393,"children":9396},{"className":9394},[9395],"text-highlighted",[9397],{"type":14,"value":9398},"MIT License",[9400,9401],{"title":9258,"path":9259,"stem":9260,"description":9261,"children":-1},{"title":9264,"path":9265,"stem":9266,"description":9267,"children":-1},1795763777324,"237a5cff-9aba-4421-be98-81a239f14b62"]