[{"data":1,"prerenderedAt":4138,"buildId":4139},["ShallowReactive",2],{"-docs-auto-form-recipes-description":3,"component-example-autoFormRecipeLoginExample":16,"component-example-autoFormRecipeLoginExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-example-autoFormRecipeRegisterExample":867,"component-example-autoFormRecipeRegisterExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":871,"component-example-autoFormRecipeSearchExample":1946,"component-example-autoFormRecipeSearchExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":1950,"component-example-autoFormRecipeUploadExample":3195,"component-example-autoFormRecipeUploadExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":3199,"docs--docs-auto-form-recipes":3844,"docs-navigation-zh-CN":3922,"mdc-d0lvp9-key":4119,"surround--docs-auto-form-recipes":4135},{"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","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  email: afz.email({ controlProps: { placeholder: 'demo@movk.dev' } }).meta({ label: '邮箱' }),\n  password: afz.string({ controlProps: { type: 'password' } }).min(6).meta({ label: '密码' }),\n  remember: afz.boolean({ type: 'switch' }).default(false).meta({ label: '记住我' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 1500))\n  toast.add({ title: '登录成功', description: `欢迎 ${state.email}`, color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    v-model=\"state\"\n    :schema=\"schema\"\n    :submit-button-props=\"{ block: true, label: '登 录' }\"\n    @submit=\"onSubmit\"\n  \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Frecipes\u002FAutoFormRecipeLoginExample.vue","AutoFormRecipeLoginExample",{"data":21,"body":23,"toc":865},{"title":22,"description":22},"",{"type":6,"children":24},[25,859],{"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 setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  email: afz.email({ controlProps: { placeholder: 'demo@movk.dev' } }).meta({ label: '邮箱' }),\n  password: afz.string({ controlProps: { type: 'password' } }).min(6).meta({ label: '密码' }),\n  remember: afz.boolean({ type: 'switch' }).default(false).meta({ label: '记住我' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 1500))\n  toast.add({ title: '登录成功', description: `欢迎 ${state.email}`, color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    v-model=\"state\"\n    :schema=\"schema\"\n    :submit-button-props=\"{ block: true, label: '登 录' }\"\n    @submit=\"onSubmit\"\n  \u002F>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,111,121,160,187,195,227,276,341,406,415,479,487,511,565,631,640,657,665,682,696,723,753,803,834,843],{"type":9,"tag":37,"props":38,"children":41},"span",{"class":39,"line":40},"line",1,[42,48,54,60,65,70,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}," setup",{"type":9,"tag":37,"props":61,"children":62},{"style":56},[63],{"type":14,"value":64}," lang",{"type":9,"tag":37,"props":66,"children":67},{"style":44},[68],{"type":14,"value":69},"=",{"type":9,"tag":37,"props":71,"children":73},{"style":72},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[74],{"type":14,"value":75},"\"ts\"",{"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":72},[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":69},{"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,168,173,178,183],{"type":9,"tag":37,"props":165,"children":166},{"style":87},[167],{"type":14,"value":129},{"type":9,"tag":37,"props":169,"children":170},{"style":137},[171],{"type":14,"value":172}," toast",{"type":9,"tag":37,"props":174,"children":175},{"style":87},[176],{"type":14,"value":177}," =",{"type":9,"tag":37,"props":179,"children":180},{"style":56},[181],{"type":14,"value":182}," useToast",{"type":9,"tag":37,"props":184,"children":185},{"style":44},[186],{"type":14,"value":159},{"type":9,"tag":37,"props":188,"children":190},{"class":39,"line":189},6,[191],{"type":9,"tag":37,"props":192,"children":193},{"emptyLinePlaceholder":117},[194],{"type":14,"value":120},{"type":9,"tag":37,"props":196,"children":198},{"class":39,"line":197},7,[199,203,208,212,217,222],{"type":9,"tag":37,"props":200,"children":201},{"style":87},[202],{"type":14,"value":129},{"type":9,"tag":37,"props":204,"children":205},{"style":137},[206],{"type":14,"value":207}," schema",{"type":9,"tag":37,"props":209,"children":210},{"style":87},[211],{"type":14,"value":177},{"type":9,"tag":37,"props":213,"children":214},{"style":44},[215],{"type":14,"value":216}," afz.",{"type":9,"tag":37,"props":218,"children":219},{"style":56},[220],{"type":14,"value":221},"object",{"type":9,"tag":37,"props":223,"children":224},{"style":44},[225],{"type":14,"value":226},"({\n",{"type":9,"tag":37,"props":228,"children":230},{"class":39,"line":229},8,[231,236,241,246,251,256,261,266,271],{"type":9,"tag":37,"props":232,"children":233},{"style":44},[234],{"type":14,"value":235},"  email: afz.",{"type":9,"tag":37,"props":237,"children":238},{"style":56},[239],{"type":14,"value":240},"email",{"type":9,"tag":37,"props":242,"children":243},{"style":44},[244],{"type":14,"value":245},"({ controlProps: { placeholder: ",{"type":9,"tag":37,"props":247,"children":248},{"style":72},[249],{"type":14,"value":250},"'demo@movk.dev'",{"type":9,"tag":37,"props":252,"children":253},{"style":44},[254],{"type":14,"value":255}," } }).",{"type":9,"tag":37,"props":257,"children":258},{"style":56},[259],{"type":14,"value":260},"meta",{"type":9,"tag":37,"props":262,"children":263},{"style":44},[264],{"type":14,"value":265},"({ label: ",{"type":9,"tag":37,"props":267,"children":268},{"style":72},[269],{"type":14,"value":270},"'邮箱'",{"type":9,"tag":37,"props":272,"children":273},{"style":44},[274],{"type":14,"value":275}," }),\n",{"type":9,"tag":37,"props":277,"children":279},{"class":39,"line":278},9,[280,285,290,295,300,304,309,314,319,324,328,332,337],{"type":9,"tag":37,"props":281,"children":282},{"style":44},[283],{"type":14,"value":284},"  password: afz.",{"type":9,"tag":37,"props":286,"children":287},{"style":56},[288],{"type":14,"value":289},"string",{"type":9,"tag":37,"props":291,"children":292},{"style":44},[293],{"type":14,"value":294},"({ controlProps: { type: ",{"type":9,"tag":37,"props":296,"children":297},{"style":72},[298],{"type":14,"value":299},"'password'",{"type":9,"tag":37,"props":301,"children":302},{"style":44},[303],{"type":14,"value":255},{"type":9,"tag":37,"props":305,"children":306},{"style":56},[307],{"type":14,"value":308},"min",{"type":9,"tag":37,"props":310,"children":311},{"style":44},[312],{"type":14,"value":313},"(",{"type":9,"tag":37,"props":315,"children":316},{"style":137},[317],{"type":14,"value":318},"6",{"type":9,"tag":37,"props":320,"children":321},{"style":44},[322],{"type":14,"value":323},").",{"type":9,"tag":37,"props":325,"children":326},{"style":56},[327],{"type":14,"value":260},{"type":9,"tag":37,"props":329,"children":330},{"style":44},[331],{"type":14,"value":265},{"type":9,"tag":37,"props":333,"children":334},{"style":72},[335],{"type":14,"value":336},"'密码'",{"type":9,"tag":37,"props":338,"children":339},{"style":44},[340],{"type":14,"value":275},{"type":9,"tag":37,"props":342,"children":344},{"class":39,"line":343},10,[345,350,355,360,365,370,375,379,384,388,392,396,401],{"type":9,"tag":37,"props":346,"children":347},{"style":44},[348],{"type":14,"value":349},"  remember: afz.",{"type":9,"tag":37,"props":351,"children":352},{"style":56},[353],{"type":14,"value":354},"boolean",{"type":9,"tag":37,"props":356,"children":357},{"style":44},[358],{"type":14,"value":359},"({ type: ",{"type":9,"tag":37,"props":361,"children":362},{"style":72},[363],{"type":14,"value":364},"'switch'",{"type":9,"tag":37,"props":366,"children":367},{"style":44},[368],{"type":14,"value":369}," }).",{"type":9,"tag":37,"props":371,"children":372},{"style":56},[373],{"type":14,"value":374},"default",{"type":9,"tag":37,"props":376,"children":377},{"style":44},[378],{"type":14,"value":313},{"type":9,"tag":37,"props":380,"children":381},{"style":137},[382],{"type":14,"value":383},"false",{"type":9,"tag":37,"props":385,"children":386},{"style":44},[387],{"type":14,"value":323},{"type":9,"tag":37,"props":389,"children":390},{"style":56},[391],{"type":14,"value":260},{"type":9,"tag":37,"props":393,"children":394},{"style":44},[395],{"type":14,"value":265},{"type":9,"tag":37,"props":397,"children":398},{"style":72},[399],{"type":14,"value":400},"'记住我'",{"type":9,"tag":37,"props":402,"children":403},{"style":44},[404],{"type":14,"value":405}," })\n",{"type":9,"tag":37,"props":407,"children":409},{"class":39,"line":408},11,[410],{"type":9,"tag":37,"props":411,"children":412},{"style":44},[413],{"type":14,"value":414},"})\n",{"type":9,"tag":37,"props":416,"children":418},{"class":39,"line":417},12,[419,423,428,432,437,441,446,450,455,460,465,469,474],{"type":9,"tag":37,"props":420,"children":421},{"style":87},[422],{"type":14,"value":129},{"type":9,"tag":37,"props":424,"children":425},{"style":137},[426],{"type":14,"value":427}," state",{"type":9,"tag":37,"props":429,"children":430},{"style":87},[431],{"type":14,"value":177},{"type":9,"tag":37,"props":433,"children":434},{"style":56},[435],{"type":14,"value":436}," reactive",{"type":9,"tag":37,"props":438,"children":439},{"style":44},[440],{"type":14,"value":47},{"type":9,"tag":37,"props":442,"children":443},{"style":56},[444],{"type":14,"value":445},"Partial",{"type":9,"tag":37,"props":447,"children":448},{"style":44},[449],{"type":14,"value":47},{"type":9,"tag":37,"props":451,"children":452},{"style":56},[453],{"type":14,"value":454},"z",{"type":9,"tag":37,"props":456,"children":457},{"style":44},[458],{"type":14,"value":459},".",{"type":9,"tag":37,"props":461,"children":462},{"style":56},[463],{"type":14,"value":464},"input",{"type":9,"tag":37,"props":466,"children":467},{"style":44},[468],{"type":14,"value":47},{"type":9,"tag":37,"props":470,"children":471},{"style":87},[472],{"type":14,"value":473},"typeof",{"type":9,"tag":37,"props":475,"children":476},{"style":44},[477],{"type":14,"value":478}," schema>>>({})\n",{"type":9,"tag":37,"props":480,"children":482},{"class":39,"line":481},13,[483],{"type":9,"tag":37,"props":484,"children":485},{"emptyLinePlaceholder":117},[486],{"type":14,"value":120},{"type":9,"tag":37,"props":488,"children":490},{"class":39,"line":489},14,[491,496,501,506],{"type":9,"tag":37,"props":492,"children":493},{"style":87},[494],{"type":14,"value":495},"async",{"type":9,"tag":37,"props":497,"children":498},{"style":87},[499],{"type":14,"value":500}," function",{"type":9,"tag":37,"props":502,"children":503},{"style":56},[504],{"type":14,"value":505}," onSubmit",{"type":9,"tag":37,"props":507,"children":508},{"style":44},[509],{"type":14,"value":510},"() {\n",{"type":9,"tag":37,"props":512,"children":514},{"class":39,"line":513},15,[515,520,525,530,534,540,545,550,555,560],{"type":9,"tag":37,"props":516,"children":517},{"style":87},[518],{"type":14,"value":519},"  await",{"type":9,"tag":37,"props":521,"children":522},{"style":87},[523],{"type":14,"value":524}," new",{"type":9,"tag":37,"props":526,"children":527},{"style":137},[528],{"type":14,"value":529}," Promise",{"type":9,"tag":37,"props":531,"children":532},{"style":44},[533],{"type":14,"value":313},{"type":9,"tag":37,"props":535,"children":537},{"style":536},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[538],{"type":14,"value":539},"r",{"type":9,"tag":37,"props":541,"children":542},{"style":87},[543],{"type":14,"value":544}," =>",{"type":9,"tag":37,"props":546,"children":547},{"style":56},[548],{"type":14,"value":549}," setTimeout",{"type":9,"tag":37,"props":551,"children":552},{"style":44},[553],{"type":14,"value":554},"(r, ",{"type":9,"tag":37,"props":556,"children":557},{"style":137},[558],{"type":14,"value":559},"1500",{"type":9,"tag":37,"props":561,"children":562},{"style":44},[563],{"type":14,"value":564},"))\n",{"type":9,"tag":37,"props":566,"children":568},{"class":39,"line":567},16,[569,574,579,584,589,594,599,604,608,612,617,622,627],{"type":9,"tag":37,"props":570,"children":571},{"style":44},[572],{"type":14,"value":573},"  toast.",{"type":9,"tag":37,"props":575,"children":576},{"style":56},[577],{"type":14,"value":578},"add",{"type":9,"tag":37,"props":580,"children":581},{"style":44},[582],{"type":14,"value":583},"({ title: ",{"type":9,"tag":37,"props":585,"children":586},{"style":72},[587],{"type":14,"value":588},"'登录成功'",{"type":9,"tag":37,"props":590,"children":591},{"style":44},[592],{"type":14,"value":593},", description: ",{"type":9,"tag":37,"props":595,"children":596},{"style":72},[597],{"type":14,"value":598},"`欢迎 ${",{"type":9,"tag":37,"props":600,"children":601},{"style":44},[602],{"type":14,"value":603},"state",{"type":9,"tag":37,"props":605,"children":606},{"style":72},[607],{"type":14,"value":459},{"type":9,"tag":37,"props":609,"children":610},{"style":44},[611],{"type":14,"value":240},{"type":9,"tag":37,"props":613,"children":614},{"style":72},[615],{"type":14,"value":616},"}`",{"type":9,"tag":37,"props":618,"children":619},{"style":44},[620],{"type":14,"value":621},", color: ",{"type":9,"tag":37,"props":623,"children":624},{"style":72},[625],{"type":14,"value":626},"'success'",{"type":9,"tag":37,"props":628,"children":629},{"style":44},[630],{"type":14,"value":405},{"type":9,"tag":37,"props":632,"children":634},{"class":39,"line":633},17,[635],{"type":9,"tag":37,"props":636,"children":637},{"style":44},[638],{"type":14,"value":639},"}\n",{"type":9,"tag":37,"props":641,"children":643},{"class":39,"line":642},18,[644,649,653],{"type":9,"tag":37,"props":645,"children":646},{"style":44},[647],{"type":14,"value":648},"\u003C\u002F",{"type":9,"tag":37,"props":650,"children":651},{"style":50},[652],{"type":14,"value":53},{"type":9,"tag":37,"props":654,"children":655},{"style":44},[656],{"type":14,"value":80},{"type":9,"tag":37,"props":658,"children":660},{"class":39,"line":659},19,[661],{"type":9,"tag":37,"props":662,"children":663},{"emptyLinePlaceholder":117},[664],{"type":14,"value":120},{"type":9,"tag":37,"props":666,"children":668},{"class":39,"line":667},20,[669,673,678],{"type":9,"tag":37,"props":670,"children":671},{"style":44},[672],{"type":14,"value":47},{"type":9,"tag":37,"props":674,"children":675},{"style":50},[676],{"type":14,"value":677},"template",{"type":9,"tag":37,"props":679,"children":680},{"style":44},[681],{"type":14,"value":80},{"type":9,"tag":37,"props":683,"children":685},{"class":39,"line":684},21,[686,691],{"type":9,"tag":37,"props":687,"children":688},{"style":44},[689],{"type":14,"value":690},"  \u003C",{"type":9,"tag":37,"props":692,"children":693},{"style":50},[694],{"type":14,"value":695},"MAutoForm\n",{"type":9,"tag":37,"props":697,"children":699},{"class":39,"line":698},22,[700,705,709,714,718],{"type":9,"tag":37,"props":701,"children":702},{"style":56},[703],{"type":14,"value":704},"    v-model",{"type":9,"tag":37,"props":706,"children":707},{"style":44},[708],{"type":14,"value":69},{"type":9,"tag":37,"props":710,"children":711},{"style":72},[712],{"type":14,"value":713},"\"",{"type":9,"tag":37,"props":715,"children":716},{"style":44},[717],{"type":14,"value":603},{"type":9,"tag":37,"props":719,"children":720},{"style":72},[721],{"type":14,"value":722},"\"\n",{"type":9,"tag":37,"props":724,"children":726},{"class":39,"line":725},23,[727,732,737,741,745,749],{"type":9,"tag":37,"props":728,"children":729},{"style":44},[730],{"type":14,"value":731},"    :",{"type":9,"tag":37,"props":733,"children":734},{"style":56},[735],{"type":14,"value":736},"schema",{"type":9,"tag":37,"props":738,"children":739},{"style":44},[740],{"type":14,"value":69},{"type":9,"tag":37,"props":742,"children":743},{"style":72},[744],{"type":14,"value":713},{"type":9,"tag":37,"props":746,"children":747},{"style":44},[748],{"type":14,"value":736},{"type":9,"tag":37,"props":750,"children":751},{"style":72},[752],{"type":14,"value":722},{"type":9,"tag":37,"props":754,"children":756},{"class":39,"line":755},24,[757,761,766,770,774,779,784,789,794,799],{"type":9,"tag":37,"props":758,"children":759},{"style":44},[760],{"type":14,"value":731},{"type":9,"tag":37,"props":762,"children":763},{"style":56},[764],{"type":14,"value":765},"submit-button-props",{"type":9,"tag":37,"props":767,"children":768},{"style":44},[769],{"type":14,"value":69},{"type":9,"tag":37,"props":771,"children":772},{"style":72},[773],{"type":14,"value":713},{"type":9,"tag":37,"props":775,"children":776},{"style":44},[777],{"type":14,"value":778},"{ block: ",{"type":9,"tag":37,"props":780,"children":781},{"style":137},[782],{"type":14,"value":783},"true",{"type":9,"tag":37,"props":785,"children":786},{"style":44},[787],{"type":14,"value":788},", label: ",{"type":9,"tag":37,"props":790,"children":791},{"style":72},[792],{"type":14,"value":793},"'登 录'",{"type":9,"tag":37,"props":795,"children":796},{"style":44},[797],{"type":14,"value":798}," }",{"type":9,"tag":37,"props":800,"children":801},{"style":72},[802],{"type":14,"value":722},{"type":9,"tag":37,"props":804,"children":806},{"class":39,"line":805},25,[807,812,817,821,825,830],{"type":9,"tag":37,"props":808,"children":809},{"style":44},[810],{"type":14,"value":811},"    @",{"type":9,"tag":37,"props":813,"children":814},{"style":56},[815],{"type":14,"value":816},"submit",{"type":9,"tag":37,"props":818,"children":819},{"style":44},[820],{"type":14,"value":69},{"type":9,"tag":37,"props":822,"children":823},{"style":72},[824],{"type":14,"value":713},{"type":9,"tag":37,"props":826,"children":827},{"style":44},[828],{"type":14,"value":829},"onSubmit",{"type":9,"tag":37,"props":831,"children":832},{"style":72},[833],{"type":14,"value":722},{"type":9,"tag":37,"props":835,"children":837},{"class":39,"line":836},26,[838],{"type":9,"tag":37,"props":839,"children":840},{"style":44},[841],{"type":14,"value":842},"  \u002F>\n",{"type":9,"tag":37,"props":844,"children":846},{"class":39,"line":845},27,[847,851,855],{"type":9,"tag":37,"props":848,"children":849},{"style":44},[850],{"type":14,"value":648},{"type":9,"tag":37,"props":852,"children":853},{"style":50},[854],{"type":14,"value":677},{"type":9,"tag":37,"props":856,"children":857},{"style":44},[858],{"type":14,"value":80},{"type":9,"tag":860,"props":861,"children":862},"style",{},[863],{"type":14,"value":864},"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":866},[],{"code":868,"filePath":869,"pascalName":870},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  account: afz.object({\n    username: afz.string().min(3).meta({ label: '用户名' }),\n    password: afz.string({ controlProps: { type: 'password' } }).min(8).meta({ label: '密码' }),\n    confirm: afz.string({ controlProps: { type: 'password' } }).min(8).meta({ label: '确认密码' })\n  }).meta({ label: '账号信息' }),\n  profile: afz.object({\n    name: afz.string().meta({ label: '昵称' }),\n    phone: afz.string({ controlProps: { type: 'tel', placeholder: '138 0013 8000' } }).meta({ label: '手机' }),\n    interests: afz.array(afz.string(), { type: 'inputTags' }).default([]).meta({ label: '兴趣标签' })\n  }).meta({ label: '个人资料' }),\n  agreement: afz.boolean().refine(v => v === true, { message: '必须同意条款' }).meta({ label: '同意条款' })\n}).refine(d => d.account?.password === d.account?.confirm, {\n  message: '两次密码不一致',\n  path: ['account', 'confirm']\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 1200))\n  toast.add({ title: '注册成功', color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit-button-props=\"{ label: '注 册' }\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Frecipes\u002FAutoFormRecipeRegisterExample.vue","AutoFormRecipeRegisterExample",{"data":872,"body":873,"toc":1944},{"title":22,"description":22},{"type":6,"children":874},[875,1940],{"type":9,"tag":26,"props":876,"children":878},{"className":28,"code":877,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  account: afz.object({\n    username: afz.string().min(3).meta({ label: '用户名' }),\n    password: afz.string({ controlProps: { type: 'password' } }).min(8).meta({ label: '密码' }),\n    confirm: afz.string({ controlProps: { type: 'password' } }).min(8).meta({ label: '确认密码' })\n  }).meta({ label: '账号信息' }),\n  profile: afz.object({\n    name: afz.string().meta({ label: '昵称' }),\n    phone: afz.string({ controlProps: { type: 'tel', placeholder: '138 0013 8000' } }).meta({ label: '手机' }),\n    interests: afz.array(afz.string(), { type: 'inputTags' }).default([]).meta({ label: '兴趣标签' })\n  }).meta({ label: '个人资料' }),\n  agreement: afz.boolean().refine(v => v === true, { message: '必须同意条款' }).meta({ label: '同意条款' })\n}).refine(d => d.account?.password === d.account?.confirm, {\n  message: '两次密码不一致',\n  path: ['account', 'confirm']\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 1200))\n  toast.add({ title: '注册成功', color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit-button-props=\"{ label: '注 册' }\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[879],{"type":9,"tag":33,"props":880,"children":881},{"__ignoreMap":22},[882,913,936,943,974,997,1004,1031,1047,1098,1155,1212,1237,1253,1286,1338,1400,1424,1504,1543,1561,1589,1596,1651,1658,1677,1721,1753,1761,1777,1785,1801,1924],{"type":9,"tag":37,"props":883,"children":884},{"class":39,"line":40},[885,889,893,897,901,905,909],{"type":9,"tag":37,"props":886,"children":887},{"style":44},[888],{"type":14,"value":47},{"type":9,"tag":37,"props":890,"children":891},{"style":50},[892],{"type":14,"value":53},{"type":9,"tag":37,"props":894,"children":895},{"style":56},[896],{"type":14,"value":59},{"type":9,"tag":37,"props":898,"children":899},{"style":56},[900],{"type":14,"value":64},{"type":9,"tag":37,"props":902,"children":903},{"style":44},[904],{"type":14,"value":69},{"type":9,"tag":37,"props":906,"children":907},{"style":72},[908],{"type":14,"value":75},{"type":9,"tag":37,"props":910,"children":911},{"style":44},[912],{"type":14,"value":80},{"type":9,"tag":37,"props":914,"children":915},{"class":39,"line":83},[916,920,924,928,932],{"type":9,"tag":37,"props":917,"children":918},{"style":87},[919],{"type":14,"value":90},{"type":9,"tag":37,"props":921,"children":922},{"style":87},[923],{"type":14,"value":95},{"type":9,"tag":37,"props":925,"children":926},{"style":44},[927],{"type":14,"value":100},{"type":9,"tag":37,"props":929,"children":930},{"style":87},[931],{"type":14,"value":105},{"type":9,"tag":37,"props":933,"children":934},{"style":72},[935],{"type":14,"value":110},{"type":9,"tag":37,"props":937,"children":938},{"class":39,"line":113},[939],{"type":9,"tag":37,"props":940,"children":941},{"emptyLinePlaceholder":117},[942],{"type":14,"value":120},{"type":9,"tag":37,"props":944,"children":945},{"class":39,"line":123},[946,950,954,958,962,966,970],{"type":9,"tag":37,"props":947,"children":948},{"style":87},[949],{"type":14,"value":129},{"type":9,"tag":37,"props":951,"children":952},{"style":44},[953],{"type":14,"value":134},{"type":9,"tag":37,"props":955,"children":956},{"style":137},[957],{"type":14,"value":140},{"type":9,"tag":37,"props":959,"children":960},{"style":44},[961],{"type":14,"value":145},{"type":9,"tag":37,"props":963,"children":964},{"style":87},[965],{"type":14,"value":69},{"type":9,"tag":37,"props":967,"children":968},{"style":56},[969],{"type":14,"value":154},{"type":9,"tag":37,"props":971,"children":972},{"style":44},[973],{"type":14,"value":159},{"type":9,"tag":37,"props":975,"children":976},{"class":39,"line":162},[977,981,985,989,993],{"type":9,"tag":37,"props":978,"children":979},{"style":87},[980],{"type":14,"value":129},{"type":9,"tag":37,"props":982,"children":983},{"style":137},[984],{"type":14,"value":172},{"type":9,"tag":37,"props":986,"children":987},{"style":87},[988],{"type":14,"value":177},{"type":9,"tag":37,"props":990,"children":991},{"style":56},[992],{"type":14,"value":182},{"type":9,"tag":37,"props":994,"children":995},{"style":44},[996],{"type":14,"value":159},{"type":9,"tag":37,"props":998,"children":999},{"class":39,"line":189},[1000],{"type":9,"tag":37,"props":1001,"children":1002},{"emptyLinePlaceholder":117},[1003],{"type":14,"value":120},{"type":9,"tag":37,"props":1005,"children":1006},{"class":39,"line":197},[1007,1011,1015,1019,1023,1027],{"type":9,"tag":37,"props":1008,"children":1009},{"style":87},[1010],{"type":14,"value":129},{"type":9,"tag":37,"props":1012,"children":1013},{"style":137},[1014],{"type":14,"value":207},{"type":9,"tag":37,"props":1016,"children":1017},{"style":87},[1018],{"type":14,"value":177},{"type":9,"tag":37,"props":1020,"children":1021},{"style":44},[1022],{"type":14,"value":216},{"type":9,"tag":37,"props":1024,"children":1025},{"style":56},[1026],{"type":14,"value":221},{"type":9,"tag":37,"props":1028,"children":1029},{"style":44},[1030],{"type":14,"value":226},{"type":9,"tag":37,"props":1032,"children":1033},{"class":39,"line":229},[1034,1039,1043],{"type":9,"tag":37,"props":1035,"children":1036},{"style":44},[1037],{"type":14,"value":1038},"  account: afz.",{"type":9,"tag":37,"props":1040,"children":1041},{"style":56},[1042],{"type":14,"value":221},{"type":9,"tag":37,"props":1044,"children":1045},{"style":44},[1046],{"type":14,"value":226},{"type":9,"tag":37,"props":1048,"children":1049},{"class":39,"line":278},[1050,1055,1059,1064,1068,1072,1077,1081,1085,1089,1094],{"type":9,"tag":37,"props":1051,"children":1052},{"style":44},[1053],{"type":14,"value":1054},"    username: afz.",{"type":9,"tag":37,"props":1056,"children":1057},{"style":56},[1058],{"type":14,"value":289},{"type":9,"tag":37,"props":1060,"children":1061},{"style":44},[1062],{"type":14,"value":1063},"().",{"type":9,"tag":37,"props":1065,"children":1066},{"style":56},[1067],{"type":14,"value":308},{"type":9,"tag":37,"props":1069,"children":1070},{"style":44},[1071],{"type":14,"value":313},{"type":9,"tag":37,"props":1073,"children":1074},{"style":137},[1075],{"type":14,"value":1076},"3",{"type":9,"tag":37,"props":1078,"children":1079},{"style":44},[1080],{"type":14,"value":323},{"type":9,"tag":37,"props":1082,"children":1083},{"style":56},[1084],{"type":14,"value":260},{"type":9,"tag":37,"props":1086,"children":1087},{"style":44},[1088],{"type":14,"value":265},{"type":9,"tag":37,"props":1090,"children":1091},{"style":72},[1092],{"type":14,"value":1093},"'用户名'",{"type":9,"tag":37,"props":1095,"children":1096},{"style":44},[1097],{"type":14,"value":275},{"type":9,"tag":37,"props":1099,"children":1100},{"class":39,"line":343},[1101,1106,1110,1114,1118,1122,1126,1130,1135,1139,1143,1147,1151],{"type":9,"tag":37,"props":1102,"children":1103},{"style":44},[1104],{"type":14,"value":1105},"    password: afz.",{"type":9,"tag":37,"props":1107,"children":1108},{"style":56},[1109],{"type":14,"value":289},{"type":9,"tag":37,"props":1111,"children":1112},{"style":44},[1113],{"type":14,"value":294},{"type":9,"tag":37,"props":1115,"children":1116},{"style":72},[1117],{"type":14,"value":299},{"type":9,"tag":37,"props":1119,"children":1120},{"style":44},[1121],{"type":14,"value":255},{"type":9,"tag":37,"props":1123,"children":1124},{"style":56},[1125],{"type":14,"value":308},{"type":9,"tag":37,"props":1127,"children":1128},{"style":44},[1129],{"type":14,"value":313},{"type":9,"tag":37,"props":1131,"children":1132},{"style":137},[1133],{"type":14,"value":1134},"8",{"type":9,"tag":37,"props":1136,"children":1137},{"style":44},[1138],{"type":14,"value":323},{"type":9,"tag":37,"props":1140,"children":1141},{"style":56},[1142],{"type":14,"value":260},{"type":9,"tag":37,"props":1144,"children":1145},{"style":44},[1146],{"type":14,"value":265},{"type":9,"tag":37,"props":1148,"children":1149},{"style":72},[1150],{"type":14,"value":336},{"type":9,"tag":37,"props":1152,"children":1153},{"style":44},[1154],{"type":14,"value":275},{"type":9,"tag":37,"props":1156,"children":1157},{"class":39,"line":408},[1158,1163,1167,1171,1175,1179,1183,1187,1191,1195,1199,1203,1208],{"type":9,"tag":37,"props":1159,"children":1160},{"style":44},[1161],{"type":14,"value":1162},"    confirm: afz.",{"type":9,"tag":37,"props":1164,"children":1165},{"style":56},[1166],{"type":14,"value":289},{"type":9,"tag":37,"props":1168,"children":1169},{"style":44},[1170],{"type":14,"value":294},{"type":9,"tag":37,"props":1172,"children":1173},{"style":72},[1174],{"type":14,"value":299},{"type":9,"tag":37,"props":1176,"children":1177},{"style":44},[1178],{"type":14,"value":255},{"type":9,"tag":37,"props":1180,"children":1181},{"style":56},[1182],{"type":14,"value":308},{"type":9,"tag":37,"props":1184,"children":1185},{"style":44},[1186],{"type":14,"value":313},{"type":9,"tag":37,"props":1188,"children":1189},{"style":137},[1190],{"type":14,"value":1134},{"type":9,"tag":37,"props":1192,"children":1193},{"style":44},[1194],{"type":14,"value":323},{"type":9,"tag":37,"props":1196,"children":1197},{"style":56},[1198],{"type":14,"value":260},{"type":9,"tag":37,"props":1200,"children":1201},{"style":44},[1202],{"type":14,"value":265},{"type":9,"tag":37,"props":1204,"children":1205},{"style":72},[1206],{"type":14,"value":1207},"'确认密码'",{"type":9,"tag":37,"props":1209,"children":1210},{"style":44},[1211],{"type":14,"value":405},{"type":9,"tag":37,"props":1213,"children":1214},{"class":39,"line":417},[1215,1220,1224,1228,1233],{"type":9,"tag":37,"props":1216,"children":1217},{"style":44},[1218],{"type":14,"value":1219},"  }).",{"type":9,"tag":37,"props":1221,"children":1222},{"style":56},[1223],{"type":14,"value":260},{"type":9,"tag":37,"props":1225,"children":1226},{"style":44},[1227],{"type":14,"value":265},{"type":9,"tag":37,"props":1229,"children":1230},{"style":72},[1231],{"type":14,"value":1232},"'账号信息'",{"type":9,"tag":37,"props":1234,"children":1235},{"style":44},[1236],{"type":14,"value":275},{"type":9,"tag":37,"props":1238,"children":1239},{"class":39,"line":481},[1240,1245,1249],{"type":9,"tag":37,"props":1241,"children":1242},{"style":44},[1243],{"type":14,"value":1244},"  profile: afz.",{"type":9,"tag":37,"props":1246,"children":1247},{"style":56},[1248],{"type":14,"value":221},{"type":9,"tag":37,"props":1250,"children":1251},{"style":44},[1252],{"type":14,"value":226},{"type":9,"tag":37,"props":1254,"children":1255},{"class":39,"line":489},[1256,1261,1265,1269,1273,1277,1282],{"type":9,"tag":37,"props":1257,"children":1258},{"style":44},[1259],{"type":14,"value":1260},"    name: afz.",{"type":9,"tag":37,"props":1262,"children":1263},{"style":56},[1264],{"type":14,"value":289},{"type":9,"tag":37,"props":1266,"children":1267},{"style":44},[1268],{"type":14,"value":1063},{"type":9,"tag":37,"props":1270,"children":1271},{"style":56},[1272],{"type":14,"value":260},{"type":9,"tag":37,"props":1274,"children":1275},{"style":44},[1276],{"type":14,"value":265},{"type":9,"tag":37,"props":1278,"children":1279},{"style":72},[1280],{"type":14,"value":1281},"'昵称'",{"type":9,"tag":37,"props":1283,"children":1284},{"style":44},[1285],{"type":14,"value":275},{"type":9,"tag":37,"props":1287,"children":1288},{"class":39,"line":513},[1289,1294,1298,1302,1307,1312,1317,1321,1325,1329,1334],{"type":9,"tag":37,"props":1290,"children":1291},{"style":44},[1292],{"type":14,"value":1293},"    phone: afz.",{"type":9,"tag":37,"props":1295,"children":1296},{"style":56},[1297],{"type":14,"value":289},{"type":9,"tag":37,"props":1299,"children":1300},{"style":44},[1301],{"type":14,"value":294},{"type":9,"tag":37,"props":1303,"children":1304},{"style":72},[1305],{"type":14,"value":1306},"'tel'",{"type":9,"tag":37,"props":1308,"children":1309},{"style":44},[1310],{"type":14,"value":1311},", placeholder: ",{"type":9,"tag":37,"props":1313,"children":1314},{"style":72},[1315],{"type":14,"value":1316},"'138 0013 8000'",{"type":9,"tag":37,"props":1318,"children":1319},{"style":44},[1320],{"type":14,"value":255},{"type":9,"tag":37,"props":1322,"children":1323},{"style":56},[1324],{"type":14,"value":260},{"type":9,"tag":37,"props":1326,"children":1327},{"style":44},[1328],{"type":14,"value":265},{"type":9,"tag":37,"props":1330,"children":1331},{"style":72},[1332],{"type":14,"value":1333},"'手机'",{"type":9,"tag":37,"props":1335,"children":1336},{"style":44},[1337],{"type":14,"value":275},{"type":9,"tag":37,"props":1339,"children":1340},{"class":39,"line":567},[1341,1346,1351,1356,1360,1365,1370,1374,1378,1383,1387,1391,1396],{"type":9,"tag":37,"props":1342,"children":1343},{"style":44},[1344],{"type":14,"value":1345},"    interests: afz.",{"type":9,"tag":37,"props":1347,"children":1348},{"style":56},[1349],{"type":14,"value":1350},"array",{"type":9,"tag":37,"props":1352,"children":1353},{"style":44},[1354],{"type":14,"value":1355},"(afz.",{"type":9,"tag":37,"props":1357,"children":1358},{"style":56},[1359],{"type":14,"value":289},{"type":9,"tag":37,"props":1361,"children":1362},{"style":44},[1363],{"type":14,"value":1364},"(), { type: ",{"type":9,"tag":37,"props":1366,"children":1367},{"style":72},[1368],{"type":14,"value":1369},"'inputTags'",{"type":9,"tag":37,"props":1371,"children":1372},{"style":44},[1373],{"type":14,"value":369},{"type":9,"tag":37,"props":1375,"children":1376},{"style":56},[1377],{"type":14,"value":374},{"type":9,"tag":37,"props":1379,"children":1380},{"style":44},[1381],{"type":14,"value":1382},"([]).",{"type":9,"tag":37,"props":1384,"children":1385},{"style":56},[1386],{"type":14,"value":260},{"type":9,"tag":37,"props":1388,"children":1389},{"style":44},[1390],{"type":14,"value":265},{"type":9,"tag":37,"props":1392,"children":1393},{"style":72},[1394],{"type":14,"value":1395},"'兴趣标签'",{"type":9,"tag":37,"props":1397,"children":1398},{"style":44},[1399],{"type":14,"value":405},{"type":9,"tag":37,"props":1401,"children":1402},{"class":39,"line":633},[1403,1407,1411,1415,1420],{"type":9,"tag":37,"props":1404,"children":1405},{"style":44},[1406],{"type":14,"value":1219},{"type":9,"tag":37,"props":1408,"children":1409},{"style":56},[1410],{"type":14,"value":260},{"type":9,"tag":37,"props":1412,"children":1413},{"style":44},[1414],{"type":14,"value":265},{"type":9,"tag":37,"props":1416,"children":1417},{"style":72},[1418],{"type":14,"value":1419},"'个人资料'",{"type":9,"tag":37,"props":1421,"children":1422},{"style":44},[1423],{"type":14,"value":275},{"type":9,"tag":37,"props":1425,"children":1426},{"class":39,"line":642},[1427,1432,1436,1440,1445,1449,1454,1458,1463,1468,1473,1478,1483,1487,1491,1495,1500],{"type":9,"tag":37,"props":1428,"children":1429},{"style":44},[1430],{"type":14,"value":1431},"  agreement: afz.",{"type":9,"tag":37,"props":1433,"children":1434},{"style":56},[1435],{"type":14,"value":354},{"type":9,"tag":37,"props":1437,"children":1438},{"style":44},[1439],{"type":14,"value":1063},{"type":9,"tag":37,"props":1441,"children":1442},{"style":56},[1443],{"type":14,"value":1444},"refine",{"type":9,"tag":37,"props":1446,"children":1447},{"style":44},[1448],{"type":14,"value":313},{"type":9,"tag":37,"props":1450,"children":1451},{"style":536},[1452],{"type":14,"value":1453},"v",{"type":9,"tag":37,"props":1455,"children":1456},{"style":87},[1457],{"type":14,"value":544},{"type":9,"tag":37,"props":1459,"children":1460},{"style":44},[1461],{"type":14,"value":1462}," v ",{"type":9,"tag":37,"props":1464,"children":1465},{"style":87},[1466],{"type":14,"value":1467},"===",{"type":9,"tag":37,"props":1469,"children":1470},{"style":137},[1471],{"type":14,"value":1472}," true",{"type":9,"tag":37,"props":1474,"children":1475},{"style":44},[1476],{"type":14,"value":1477},", { message: ",{"type":9,"tag":37,"props":1479,"children":1480},{"style":72},[1481],{"type":14,"value":1482},"'必须同意条款'",{"type":9,"tag":37,"props":1484,"children":1485},{"style":44},[1486],{"type":14,"value":369},{"type":9,"tag":37,"props":1488,"children":1489},{"style":56},[1490],{"type":14,"value":260},{"type":9,"tag":37,"props":1492,"children":1493},{"style":44},[1494],{"type":14,"value":265},{"type":9,"tag":37,"props":1496,"children":1497},{"style":72},[1498],{"type":14,"value":1499},"'同意条款'",{"type":9,"tag":37,"props":1501,"children":1502},{"style":44},[1503],{"type":14,"value":405},{"type":9,"tag":37,"props":1505,"children":1506},{"class":39,"line":659},[1507,1512,1516,1520,1525,1529,1534,1538],{"type":9,"tag":37,"props":1508,"children":1509},{"style":44},[1510],{"type":14,"value":1511},"}).",{"type":9,"tag":37,"props":1513,"children":1514},{"style":56},[1515],{"type":14,"value":1444},{"type":9,"tag":37,"props":1517,"children":1518},{"style":44},[1519],{"type":14,"value":313},{"type":9,"tag":37,"props":1521,"children":1522},{"style":536},[1523],{"type":14,"value":1524},"d",{"type":9,"tag":37,"props":1526,"children":1527},{"style":87},[1528],{"type":14,"value":544},{"type":9,"tag":37,"props":1530,"children":1531},{"style":44},[1532],{"type":14,"value":1533}," d.account?.password ",{"type":9,"tag":37,"props":1535,"children":1536},{"style":87},[1537],{"type":14,"value":1467},{"type":9,"tag":37,"props":1539,"children":1540},{"style":44},[1541],{"type":14,"value":1542}," d.account?.confirm, {\n",{"type":9,"tag":37,"props":1544,"children":1545},{"class":39,"line":667},[1546,1551,1556],{"type":9,"tag":37,"props":1547,"children":1548},{"style":44},[1549],{"type":14,"value":1550},"  message: ",{"type":9,"tag":37,"props":1552,"children":1553},{"style":72},[1554],{"type":14,"value":1555},"'两次密码不一致'",{"type":9,"tag":37,"props":1557,"children":1558},{"style":44},[1559],{"type":14,"value":1560},",\n",{"type":9,"tag":37,"props":1562,"children":1563},{"class":39,"line":684},[1564,1569,1574,1579,1584],{"type":9,"tag":37,"props":1565,"children":1566},{"style":44},[1567],{"type":14,"value":1568},"  path: [",{"type":9,"tag":37,"props":1570,"children":1571},{"style":72},[1572],{"type":14,"value":1573},"'account'",{"type":9,"tag":37,"props":1575,"children":1576},{"style":44},[1577],{"type":14,"value":1578},", ",{"type":9,"tag":37,"props":1580,"children":1581},{"style":72},[1582],{"type":14,"value":1583},"'confirm'",{"type":9,"tag":37,"props":1585,"children":1586},{"style":44},[1587],{"type":14,"value":1588},"]\n",{"type":9,"tag":37,"props":1590,"children":1591},{"class":39,"line":698},[1592],{"type":9,"tag":37,"props":1593,"children":1594},{"style":44},[1595],{"type":14,"value":414},{"type":9,"tag":37,"props":1597,"children":1598},{"class":39,"line":725},[1599,1603,1607,1611,1615,1619,1623,1627,1631,1635,1639,1643,1647],{"type":9,"tag":37,"props":1600,"children":1601},{"style":87},[1602],{"type":14,"value":129},{"type":9,"tag":37,"props":1604,"children":1605},{"style":137},[1606],{"type":14,"value":427},{"type":9,"tag":37,"props":1608,"children":1609},{"style":87},[1610],{"type":14,"value":177},{"type":9,"tag":37,"props":1612,"children":1613},{"style":56},[1614],{"type":14,"value":436},{"type":9,"tag":37,"props":1616,"children":1617},{"style":44},[1618],{"type":14,"value":47},{"type":9,"tag":37,"props":1620,"children":1621},{"style":56},[1622],{"type":14,"value":445},{"type":9,"tag":37,"props":1624,"children":1625},{"style":44},[1626],{"type":14,"value":47},{"type":9,"tag":37,"props":1628,"children":1629},{"style":56},[1630],{"type":14,"value":454},{"type":9,"tag":37,"props":1632,"children":1633},{"style":44},[1634],{"type":14,"value":459},{"type":9,"tag":37,"props":1636,"children":1637},{"style":56},[1638],{"type":14,"value":464},{"type":9,"tag":37,"props":1640,"children":1641},{"style":44},[1642],{"type":14,"value":47},{"type":9,"tag":37,"props":1644,"children":1645},{"style":87},[1646],{"type":14,"value":473},{"type":9,"tag":37,"props":1648,"children":1649},{"style":44},[1650],{"type":14,"value":478},{"type":9,"tag":37,"props":1652,"children":1653},{"class":39,"line":755},[1654],{"type":9,"tag":37,"props":1655,"children":1656},{"emptyLinePlaceholder":117},[1657],{"type":14,"value":120},{"type":9,"tag":37,"props":1659,"children":1660},{"class":39,"line":805},[1661,1665,1669,1673],{"type":9,"tag":37,"props":1662,"children":1663},{"style":87},[1664],{"type":14,"value":495},{"type":9,"tag":37,"props":1666,"children":1667},{"style":87},[1668],{"type":14,"value":500},{"type":9,"tag":37,"props":1670,"children":1671},{"style":56},[1672],{"type":14,"value":505},{"type":9,"tag":37,"props":1674,"children":1675},{"style":44},[1676],{"type":14,"value":510},{"type":9,"tag":37,"props":1678,"children":1679},{"class":39,"line":836},[1680,1684,1688,1692,1696,1700,1704,1708,1712,1717],{"type":9,"tag":37,"props":1681,"children":1682},{"style":87},[1683],{"type":14,"value":519},{"type":9,"tag":37,"props":1685,"children":1686},{"style":87},[1687],{"type":14,"value":524},{"type":9,"tag":37,"props":1689,"children":1690},{"style":137},[1691],{"type":14,"value":529},{"type":9,"tag":37,"props":1693,"children":1694},{"style":44},[1695],{"type":14,"value":313},{"type":9,"tag":37,"props":1697,"children":1698},{"style":536},[1699],{"type":14,"value":539},{"type":9,"tag":37,"props":1701,"children":1702},{"style":87},[1703],{"type":14,"value":544},{"type":9,"tag":37,"props":1705,"children":1706},{"style":56},[1707],{"type":14,"value":549},{"type":9,"tag":37,"props":1709,"children":1710},{"style":44},[1711],{"type":14,"value":554},{"type":9,"tag":37,"props":1713,"children":1714},{"style":137},[1715],{"type":14,"value":1716},"1200",{"type":9,"tag":37,"props":1718,"children":1719},{"style":44},[1720],{"type":14,"value":564},{"type":9,"tag":37,"props":1722,"children":1723},{"class":39,"line":845},[1724,1728,1732,1736,1741,1745,1749],{"type":9,"tag":37,"props":1725,"children":1726},{"style":44},[1727],{"type":14,"value":573},{"type":9,"tag":37,"props":1729,"children":1730},{"style":56},[1731],{"type":14,"value":578},{"type":9,"tag":37,"props":1733,"children":1734},{"style":44},[1735],{"type":14,"value":583},{"type":9,"tag":37,"props":1737,"children":1738},{"style":72},[1739],{"type":14,"value":1740},"'注册成功'",{"type":9,"tag":37,"props":1742,"children":1743},{"style":44},[1744],{"type":14,"value":621},{"type":9,"tag":37,"props":1746,"children":1747},{"style":72},[1748],{"type":14,"value":626},{"type":9,"tag":37,"props":1750,"children":1751},{"style":44},[1752],{"type":14,"value":405},{"type":9,"tag":37,"props":1754,"children":1756},{"class":39,"line":1755},28,[1757],{"type":9,"tag":37,"props":1758,"children":1759},{"style":44},[1760],{"type":14,"value":639},{"type":9,"tag":37,"props":1762,"children":1764},{"class":39,"line":1763},29,[1765,1769,1773],{"type":9,"tag":37,"props":1766,"children":1767},{"style":44},[1768],{"type":14,"value":648},{"type":9,"tag":37,"props":1770,"children":1771},{"style":50},[1772],{"type":14,"value":53},{"type":9,"tag":37,"props":1774,"children":1775},{"style":44},[1776],{"type":14,"value":80},{"type":9,"tag":37,"props":1778,"children":1780},{"class":39,"line":1779},30,[1781],{"type":9,"tag":37,"props":1782,"children":1783},{"emptyLinePlaceholder":117},[1784],{"type":14,"value":120},{"type":9,"tag":37,"props":1786,"children":1788},{"class":39,"line":1787},31,[1789,1793,1797],{"type":9,"tag":37,"props":1790,"children":1791},{"style":44},[1792],{"type":14,"value":47},{"type":9,"tag":37,"props":1794,"children":1795},{"style":50},[1796],{"type":14,"value":677},{"type":9,"tag":37,"props":1798,"children":1799},{"style":44},[1800],{"type":14,"value":80},{"type":9,"tag":37,"props":1802,"children":1804},{"class":39,"line":1803},32,[1805,1809,1814,1819,1823,1827,1831,1835,1840,1844,1848,1852,1856,1860,1864,1868,1872,1876,1881,1886,1890,1894,1899,1903,1907,1911,1915,1919],{"type":9,"tag":37,"props":1806,"children":1807},{"style":44},[1808],{"type":14,"value":690},{"type":9,"tag":37,"props":1810,"children":1811},{"style":50},[1812],{"type":14,"value":1813},"MAutoForm",{"type":9,"tag":37,"props":1815,"children":1816},{"style":56},[1817],{"type":14,"value":1818}," v-model",{"type":9,"tag":37,"props":1820,"children":1821},{"style":44},[1822],{"type":14,"value":69},{"type":9,"tag":37,"props":1824,"children":1825},{"style":72},[1826],{"type":14,"value":713},{"type":9,"tag":37,"props":1828,"children":1829},{"style":44},[1830],{"type":14,"value":603},{"type":9,"tag":37,"props":1832,"children":1833},{"style":72},[1834],{"type":14,"value":713},{"type":9,"tag":37,"props":1836,"children":1837},{"style":44},[1838],{"type":14,"value":1839}," :",{"type":9,"tag":37,"props":1841,"children":1842},{"style":56},[1843],{"type":14,"value":736},{"type":9,"tag":37,"props":1845,"children":1846},{"style":44},[1847],{"type":14,"value":69},{"type":9,"tag":37,"props":1849,"children":1850},{"style":72},[1851],{"type":14,"value":713},{"type":9,"tag":37,"props":1853,"children":1854},{"style":44},[1855],{"type":14,"value":736},{"type":9,"tag":37,"props":1857,"children":1858},{"style":72},[1859],{"type":14,"value":713},{"type":9,"tag":37,"props":1861,"children":1862},{"style":44},[1863],{"type":14,"value":1839},{"type":9,"tag":37,"props":1865,"children":1866},{"style":56},[1867],{"type":14,"value":765},{"type":9,"tag":37,"props":1869,"children":1870},{"style":44},[1871],{"type":14,"value":69},{"type":9,"tag":37,"props":1873,"children":1874},{"style":72},[1875],{"type":14,"value":713},{"type":9,"tag":37,"props":1877,"children":1878},{"style":44},[1879],{"type":14,"value":1880},"{ label: ",{"type":9,"tag":37,"props":1882,"children":1883},{"style":72},[1884],{"type":14,"value":1885},"'注 册'",{"type":9,"tag":37,"props":1887,"children":1888},{"style":44},[1889],{"type":14,"value":798},{"type":9,"tag":37,"props":1891,"children":1892},{"style":72},[1893],{"type":14,"value":713},{"type":9,"tag":37,"props":1895,"children":1896},{"style":44},[1897],{"type":14,"value":1898}," @",{"type":9,"tag":37,"props":1900,"children":1901},{"style":56},[1902],{"type":14,"value":816},{"type":9,"tag":37,"props":1904,"children":1905},{"style":44},[1906],{"type":14,"value":69},{"type":9,"tag":37,"props":1908,"children":1909},{"style":72},[1910],{"type":14,"value":713},{"type":9,"tag":37,"props":1912,"children":1913},{"style":44},[1914],{"type":14,"value":829},{"type":9,"tag":37,"props":1916,"children":1917},{"style":72},[1918],{"type":14,"value":713},{"type":9,"tag":37,"props":1920,"children":1921},{"style":44},[1922],{"type":14,"value":1923}," \u002F>\n",{"type":9,"tag":37,"props":1925,"children":1927},{"class":39,"line":1926},33,[1928,1932,1936],{"type":9,"tag":37,"props":1929,"children":1930},{"style":44},[1931],{"type":14,"value":648},{"type":9,"tag":37,"props":1933,"children":1934},{"style":50},[1935],{"type":14,"value":677},{"type":9,"tag":37,"props":1937,"children":1938},{"style":44},[1939],{"type":14,"value":80},{"type":9,"tag":860,"props":1941,"children":1942},{},[1943],{"type":14,"value":864},{"title":22,"searchDepth":83,"depth":83,"links":1945},[],{"code":1947,"filePath":1948,"pascalName":1949},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  keyword: afz.string({ controlProps: { placeholder: '输入关键字' } }).optional().meta({ label: '关键字' }),\n  category: afz.enum(['全部', '前端', '后端', '运维'], { type: 'radioGroup', controlProps: { orientation: 'horizontal' } }).default('全部').meta({ label: '分类' }),\n  status: afz.enum(['active', 'archived'], { type: 'radioGroup' }).default('active').meta({ label: '状态' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\nconst searchRef = useTemplateRef('searchForm')\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 300))\n  toast.add({ title: '查询完成', description: JSON.stringify(state), color: 'info' })\n}\nfunction onReset() {\n  searchRef.value?.reset()\n  toast.add({ title: '已重置', color: 'neutral' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    ref=\"searchForm\"\n    v-model=\"state\"\n    :schema=\"schema\"\n    :global-meta=\"{ orientation: 'horizontal', size: 'sm' }\"\n    :submit=\"false\"\n    @submit=\"onSubmit\"\n  >\n    \u003Ctemplate #footer=\"{ loading }\">\n      \u003Cdiv class=\"flex justify-end gap-2\">\n        \u003CUButton color=\"neutral\" variant=\"soft\" size=\"sm\" label=\"重置\" @click=\"onReset\" \u002F>\n        \u003CUButton type=\"submit\" size=\"sm\" label=\"搜索\" :loading=\"loading\" \u002F>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMAutoForm>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Frecipes\u002FAutoFormRecipeSearchExample.vue","AutoFormRecipeSearchExample",{"data":1951,"body":1952,"toc":3193},{"title":22,"description":22},{"type":6,"children":1953},[1954,3189],{"type":9,"tag":26,"props":1955,"children":1957},{"className":28,"code":1956,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  keyword: afz.string({ controlProps: { placeholder: '输入关键字' } }).optional().meta({ label: '关键字' }),\n  category: afz.enum(['全部', '前端', '后端', '运维'], { type: 'radioGroup', controlProps: { orientation: 'horizontal' } }).default('全部').meta({ label: '分类' }),\n  status: afz.enum(['active', 'archived'], { type: 'radioGroup' }).default('active').meta({ label: '状态' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\nconst searchRef = useTemplateRef('searchForm')\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 300))\n  toast.add({ title: '查询完成', description: JSON.stringify(state), color: 'info' })\n}\nfunction onReset() {\n  searchRef.value?.reset()\n  toast.add({ title: '已重置', color: 'neutral' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    ref=\"searchForm\"\n    v-model=\"state\"\n    :schema=\"schema\"\n    :global-meta=\"{ orientation: 'horizontal', size: 'sm' }\"\n    :submit=\"false\"\n    @submit=\"onSubmit\"\n  >\n    \u003Ctemplate #footer=\"{ loading }\">\n      \u003Cdiv class=\"flex justify-end gap-2\">\n        \u003CUButton color=\"neutral\" variant=\"soft\" size=\"sm\" label=\"重置\" @click=\"onReset\" \u002F>\n        \u003CUButton type=\"submit\" size=\"sm\" label=\"搜索\" :loading=\"loading\" \u002F>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftemplate>\n  \u003C\u002FMAutoForm>\n\u003C\u002Ftemplate>\n\n",[1958],{"type":9,"tag":33,"props":1959,"children":1960},{"__ignoreMap":22},[1961,1992,2015,2022,2053,2076,2083,2110,2161,2268,2343,2350,2405,2440,2447,2466,2510,2562,2569,2586,2603,2636,2643,2658,2665,2680,2691,2708,2731,2758,2805,2832,2859,2867,2911,2943,3043,3122,3139,3156,3173],{"type":9,"tag":37,"props":1962,"children":1963},{"class":39,"line":40},[1964,1968,1972,1976,1980,1984,1988],{"type":9,"tag":37,"props":1965,"children":1966},{"style":44},[1967],{"type":14,"value":47},{"type":9,"tag":37,"props":1969,"children":1970},{"style":50},[1971],{"type":14,"value":53},{"type":9,"tag":37,"props":1973,"children":1974},{"style":56},[1975],{"type":14,"value":59},{"type":9,"tag":37,"props":1977,"children":1978},{"style":56},[1979],{"type":14,"value":64},{"type":9,"tag":37,"props":1981,"children":1982},{"style":44},[1983],{"type":14,"value":69},{"type":9,"tag":37,"props":1985,"children":1986},{"style":72},[1987],{"type":14,"value":75},{"type":9,"tag":37,"props":1989,"children":1990},{"style":44},[1991],{"type":14,"value":80},{"type":9,"tag":37,"props":1993,"children":1994},{"class":39,"line":83},[1995,1999,2003,2007,2011],{"type":9,"tag":37,"props":1996,"children":1997},{"style":87},[1998],{"type":14,"value":90},{"type":9,"tag":37,"props":2000,"children":2001},{"style":87},[2002],{"type":14,"value":95},{"type":9,"tag":37,"props":2004,"children":2005},{"style":44},[2006],{"type":14,"value":100},{"type":9,"tag":37,"props":2008,"children":2009},{"style":87},[2010],{"type":14,"value":105},{"type":9,"tag":37,"props":2012,"children":2013},{"style":72},[2014],{"type":14,"value":110},{"type":9,"tag":37,"props":2016,"children":2017},{"class":39,"line":113},[2018],{"type":9,"tag":37,"props":2019,"children":2020},{"emptyLinePlaceholder":117},[2021],{"type":14,"value":120},{"type":9,"tag":37,"props":2023,"children":2024},{"class":39,"line":123},[2025,2029,2033,2037,2041,2045,2049],{"type":9,"tag":37,"props":2026,"children":2027},{"style":87},[2028],{"type":14,"value":129},{"type":9,"tag":37,"props":2030,"children":2031},{"style":44},[2032],{"type":14,"value":134},{"type":9,"tag":37,"props":2034,"children":2035},{"style":137},[2036],{"type":14,"value":140},{"type":9,"tag":37,"props":2038,"children":2039},{"style":44},[2040],{"type":14,"value":145},{"type":9,"tag":37,"props":2042,"children":2043},{"style":87},[2044],{"type":14,"value":69},{"type":9,"tag":37,"props":2046,"children":2047},{"style":56},[2048],{"type":14,"value":154},{"type":9,"tag":37,"props":2050,"children":2051},{"style":44},[2052],{"type":14,"value":159},{"type":9,"tag":37,"props":2054,"children":2055},{"class":39,"line":162},[2056,2060,2064,2068,2072],{"type":9,"tag":37,"props":2057,"children":2058},{"style":87},[2059],{"type":14,"value":129},{"type":9,"tag":37,"props":2061,"children":2062},{"style":137},[2063],{"type":14,"value":172},{"type":9,"tag":37,"props":2065,"children":2066},{"style":87},[2067],{"type":14,"value":177},{"type":9,"tag":37,"props":2069,"children":2070},{"style":56},[2071],{"type":14,"value":182},{"type":9,"tag":37,"props":2073,"children":2074},{"style":44},[2075],{"type":14,"value":159},{"type":9,"tag":37,"props":2077,"children":2078},{"class":39,"line":189},[2079],{"type":9,"tag":37,"props":2080,"children":2081},{"emptyLinePlaceholder":117},[2082],{"type":14,"value":120},{"type":9,"tag":37,"props":2084,"children":2085},{"class":39,"line":197},[2086,2090,2094,2098,2102,2106],{"type":9,"tag":37,"props":2087,"children":2088},{"style":87},[2089],{"type":14,"value":129},{"type":9,"tag":37,"props":2091,"children":2092},{"style":137},[2093],{"type":14,"value":207},{"type":9,"tag":37,"props":2095,"children":2096},{"style":87},[2097],{"type":14,"value":177},{"type":9,"tag":37,"props":2099,"children":2100},{"style":44},[2101],{"type":14,"value":216},{"type":9,"tag":37,"props":2103,"children":2104},{"style":56},[2105],{"type":14,"value":221},{"type":9,"tag":37,"props":2107,"children":2108},{"style":44},[2109],{"type":14,"value":226},{"type":9,"tag":37,"props":2111,"children":2112},{"class":39,"line":229},[2113,2118,2122,2126,2131,2135,2140,2144,2148,2152,2157],{"type":9,"tag":37,"props":2114,"children":2115},{"style":44},[2116],{"type":14,"value":2117},"  keyword: afz.",{"type":9,"tag":37,"props":2119,"children":2120},{"style":56},[2121],{"type":14,"value":289},{"type":9,"tag":37,"props":2123,"children":2124},{"style":44},[2125],{"type":14,"value":245},{"type":9,"tag":37,"props":2127,"children":2128},{"style":72},[2129],{"type":14,"value":2130},"'输入关键字'",{"type":9,"tag":37,"props":2132,"children":2133},{"style":44},[2134],{"type":14,"value":255},{"type":9,"tag":37,"props":2136,"children":2137},{"style":56},[2138],{"type":14,"value":2139},"optional",{"type":9,"tag":37,"props":2141,"children":2142},{"style":44},[2143],{"type":14,"value":1063},{"type":9,"tag":37,"props":2145,"children":2146},{"style":56},[2147],{"type":14,"value":260},{"type":9,"tag":37,"props":2149,"children":2150},{"style":44},[2151],{"type":14,"value":265},{"type":9,"tag":37,"props":2153,"children":2154},{"style":72},[2155],{"type":14,"value":2156},"'关键字'",{"type":9,"tag":37,"props":2158,"children":2159},{"style":44},[2160],{"type":14,"value":275},{"type":9,"tag":37,"props":2162,"children":2163},{"class":39,"line":278},[2164,2169,2174,2179,2184,2188,2193,2197,2202,2206,2211,2216,2221,2226,2231,2235,2239,2243,2247,2251,2255,2259,2264],{"type":9,"tag":37,"props":2165,"children":2166},{"style":44},[2167],{"type":14,"value":2168},"  category: afz.",{"type":9,"tag":37,"props":2170,"children":2171},{"style":56},[2172],{"type":14,"value":2173},"enum",{"type":9,"tag":37,"props":2175,"children":2176},{"style":44},[2177],{"type":14,"value":2178},"([",{"type":9,"tag":37,"props":2180,"children":2181},{"style":72},[2182],{"type":14,"value":2183},"'全部'",{"type":9,"tag":37,"props":2185,"children":2186},{"style":44},[2187],{"type":14,"value":1578},{"type":9,"tag":37,"props":2189,"children":2190},{"style":72},[2191],{"type":14,"value":2192},"'前端'",{"type":9,"tag":37,"props":2194,"children":2195},{"style":44},[2196],{"type":14,"value":1578},{"type":9,"tag":37,"props":2198,"children":2199},{"style":72},[2200],{"type":14,"value":2201},"'后端'",{"type":9,"tag":37,"props":2203,"children":2204},{"style":44},[2205],{"type":14,"value":1578},{"type":9,"tag":37,"props":2207,"children":2208},{"style":72},[2209],{"type":14,"value":2210},"'运维'",{"type":9,"tag":37,"props":2212,"children":2213},{"style":44},[2214],{"type":14,"value":2215},"], { type: ",{"type":9,"tag":37,"props":2217,"children":2218},{"style":72},[2219],{"type":14,"value":2220},"'radioGroup'",{"type":9,"tag":37,"props":2222,"children":2223},{"style":44},[2224],{"type":14,"value":2225},", controlProps: { orientation: ",{"type":9,"tag":37,"props":2227,"children":2228},{"style":72},[2229],{"type":14,"value":2230},"'horizontal'",{"type":9,"tag":37,"props":2232,"children":2233},{"style":44},[2234],{"type":14,"value":255},{"type":9,"tag":37,"props":2236,"children":2237},{"style":56},[2238],{"type":14,"value":374},{"type":9,"tag":37,"props":2240,"children":2241},{"style":44},[2242],{"type":14,"value":313},{"type":9,"tag":37,"props":2244,"children":2245},{"style":72},[2246],{"type":14,"value":2183},{"type":9,"tag":37,"props":2248,"children":2249},{"style":44},[2250],{"type":14,"value":323},{"type":9,"tag":37,"props":2252,"children":2253},{"style":56},[2254],{"type":14,"value":260},{"type":9,"tag":37,"props":2256,"children":2257},{"style":44},[2258],{"type":14,"value":265},{"type":9,"tag":37,"props":2260,"children":2261},{"style":72},[2262],{"type":14,"value":2263},"'分类'",{"type":9,"tag":37,"props":2265,"children":2266},{"style":44},[2267],{"type":14,"value":275},{"type":9,"tag":37,"props":2269,"children":2270},{"class":39,"line":343},[2271,2276,2280,2284,2289,2293,2298,2302,2306,2310,2314,2318,2322,2326,2330,2334,2339],{"type":9,"tag":37,"props":2272,"children":2273},{"style":44},[2274],{"type":14,"value":2275},"  status: afz.",{"type":9,"tag":37,"props":2277,"children":2278},{"style":56},[2279],{"type":14,"value":2173},{"type":9,"tag":37,"props":2281,"children":2282},{"style":44},[2283],{"type":14,"value":2178},{"type":9,"tag":37,"props":2285,"children":2286},{"style":72},[2287],{"type":14,"value":2288},"'active'",{"type":9,"tag":37,"props":2290,"children":2291},{"style":44},[2292],{"type":14,"value":1578},{"type":9,"tag":37,"props":2294,"children":2295},{"style":72},[2296],{"type":14,"value":2297},"'archived'",{"type":9,"tag":37,"props":2299,"children":2300},{"style":44},[2301],{"type":14,"value":2215},{"type":9,"tag":37,"props":2303,"children":2304},{"style":72},[2305],{"type":14,"value":2220},{"type":9,"tag":37,"props":2307,"children":2308},{"style":44},[2309],{"type":14,"value":369},{"type":9,"tag":37,"props":2311,"children":2312},{"style":56},[2313],{"type":14,"value":374},{"type":9,"tag":37,"props":2315,"children":2316},{"style":44},[2317],{"type":14,"value":313},{"type":9,"tag":37,"props":2319,"children":2320},{"style":72},[2321],{"type":14,"value":2288},{"type":9,"tag":37,"props":2323,"children":2324},{"style":44},[2325],{"type":14,"value":323},{"type":9,"tag":37,"props":2327,"children":2328},{"style":56},[2329],{"type":14,"value":260},{"type":9,"tag":37,"props":2331,"children":2332},{"style":44},[2333],{"type":14,"value":265},{"type":9,"tag":37,"props":2335,"children":2336},{"style":72},[2337],{"type":14,"value":2338},"'状态'",{"type":9,"tag":37,"props":2340,"children":2341},{"style":44},[2342],{"type":14,"value":405},{"type":9,"tag":37,"props":2344,"children":2345},{"class":39,"line":408},[2346],{"type":9,"tag":37,"props":2347,"children":2348},{"style":44},[2349],{"type":14,"value":414},{"type":9,"tag":37,"props":2351,"children":2352},{"class":39,"line":417},[2353,2357,2361,2365,2369,2373,2377,2381,2385,2389,2393,2397,2401],{"type":9,"tag":37,"props":2354,"children":2355},{"style":87},[2356],{"type":14,"value":129},{"type":9,"tag":37,"props":2358,"children":2359},{"style":137},[2360],{"type":14,"value":427},{"type":9,"tag":37,"props":2362,"children":2363},{"style":87},[2364],{"type":14,"value":177},{"type":9,"tag":37,"props":2366,"children":2367},{"style":56},[2368],{"type":14,"value":436},{"type":9,"tag":37,"props":2370,"children":2371},{"style":44},[2372],{"type":14,"value":47},{"type":9,"tag":37,"props":2374,"children":2375},{"style":56},[2376],{"type":14,"value":445},{"type":9,"tag":37,"props":2378,"children":2379},{"style":44},[2380],{"type":14,"value":47},{"type":9,"tag":37,"props":2382,"children":2383},{"style":56},[2384],{"type":14,"value":454},{"type":9,"tag":37,"props":2386,"children":2387},{"style":44},[2388],{"type":14,"value":459},{"type":9,"tag":37,"props":2390,"children":2391},{"style":56},[2392],{"type":14,"value":464},{"type":9,"tag":37,"props":2394,"children":2395},{"style":44},[2396],{"type":14,"value":47},{"type":9,"tag":37,"props":2398,"children":2399},{"style":87},[2400],{"type":14,"value":473},{"type":9,"tag":37,"props":2402,"children":2403},{"style":44},[2404],{"type":14,"value":478},{"type":9,"tag":37,"props":2406,"children":2407},{"class":39,"line":481},[2408,2412,2417,2421,2426,2430,2435],{"type":9,"tag":37,"props":2409,"children":2410},{"style":87},[2411],{"type":14,"value":129},{"type":9,"tag":37,"props":2413,"children":2414},{"style":137},[2415],{"type":14,"value":2416}," searchRef",{"type":9,"tag":37,"props":2418,"children":2419},{"style":87},[2420],{"type":14,"value":177},{"type":9,"tag":37,"props":2422,"children":2423},{"style":56},[2424],{"type":14,"value":2425}," useTemplateRef",{"type":9,"tag":37,"props":2427,"children":2428},{"style":44},[2429],{"type":14,"value":313},{"type":9,"tag":37,"props":2431,"children":2432},{"style":72},[2433],{"type":14,"value":2434},"'searchForm'",{"type":9,"tag":37,"props":2436,"children":2437},{"style":44},[2438],{"type":14,"value":2439},")\n",{"type":9,"tag":37,"props":2441,"children":2442},{"class":39,"line":489},[2443],{"type":9,"tag":37,"props":2444,"children":2445},{"emptyLinePlaceholder":117},[2446],{"type":14,"value":120},{"type":9,"tag":37,"props":2448,"children":2449},{"class":39,"line":513},[2450,2454,2458,2462],{"type":9,"tag":37,"props":2451,"children":2452},{"style":87},[2453],{"type":14,"value":495},{"type":9,"tag":37,"props":2455,"children":2456},{"style":87},[2457],{"type":14,"value":500},{"type":9,"tag":37,"props":2459,"children":2460},{"style":56},[2461],{"type":14,"value":505},{"type":9,"tag":37,"props":2463,"children":2464},{"style":44},[2465],{"type":14,"value":510},{"type":9,"tag":37,"props":2467,"children":2468},{"class":39,"line":567},[2469,2473,2477,2481,2485,2489,2493,2497,2501,2506],{"type":9,"tag":37,"props":2470,"children":2471},{"style":87},[2472],{"type":14,"value":519},{"type":9,"tag":37,"props":2474,"children":2475},{"style":87},[2476],{"type":14,"value":524},{"type":9,"tag":37,"props":2478,"children":2479},{"style":137},[2480],{"type":14,"value":529},{"type":9,"tag":37,"props":2482,"children":2483},{"style":44},[2484],{"type":14,"value":313},{"type":9,"tag":37,"props":2486,"children":2487},{"style":536},[2488],{"type":14,"value":539},{"type":9,"tag":37,"props":2490,"children":2491},{"style":87},[2492],{"type":14,"value":544},{"type":9,"tag":37,"props":2494,"children":2495},{"style":56},[2496],{"type":14,"value":549},{"type":9,"tag":37,"props":2498,"children":2499},{"style":44},[2500],{"type":14,"value":554},{"type":9,"tag":37,"props":2502,"children":2503},{"style":137},[2504],{"type":14,"value":2505},"300",{"type":9,"tag":37,"props":2507,"children":2508},{"style":44},[2509],{"type":14,"value":564},{"type":9,"tag":37,"props":2511,"children":2512},{"class":39,"line":633},[2513,2517,2521,2525,2530,2534,2539,2543,2548,2553,2558],{"type":9,"tag":37,"props":2514,"children":2515},{"style":44},[2516],{"type":14,"value":573},{"type":9,"tag":37,"props":2518,"children":2519},{"style":56},[2520],{"type":14,"value":578},{"type":9,"tag":37,"props":2522,"children":2523},{"style":44},[2524],{"type":14,"value":583},{"type":9,"tag":37,"props":2526,"children":2527},{"style":72},[2528],{"type":14,"value":2529},"'查询完成'",{"type":9,"tag":37,"props":2531,"children":2532},{"style":44},[2533],{"type":14,"value":593},{"type":9,"tag":37,"props":2535,"children":2536},{"style":137},[2537],{"type":14,"value":2538},"JSON",{"type":9,"tag":37,"props":2540,"children":2541},{"style":44},[2542],{"type":14,"value":459},{"type":9,"tag":37,"props":2544,"children":2545},{"style":56},[2546],{"type":14,"value":2547},"stringify",{"type":9,"tag":37,"props":2549,"children":2550},{"style":44},[2551],{"type":14,"value":2552},"(state), color: ",{"type":9,"tag":37,"props":2554,"children":2555},{"style":72},[2556],{"type":14,"value":2557},"'info'",{"type":9,"tag":37,"props":2559,"children":2560},{"style":44},[2561],{"type":14,"value":405},{"type":9,"tag":37,"props":2563,"children":2564},{"class":39,"line":642},[2565],{"type":9,"tag":37,"props":2566,"children":2567},{"style":44},[2568],{"type":14,"value":639},{"type":9,"tag":37,"props":2570,"children":2571},{"class":39,"line":659},[2572,2577,2582],{"type":9,"tag":37,"props":2573,"children":2574},{"style":87},[2575],{"type":14,"value":2576},"function",{"type":9,"tag":37,"props":2578,"children":2579},{"style":56},[2580],{"type":14,"value":2581}," onReset",{"type":9,"tag":37,"props":2583,"children":2584},{"style":44},[2585],{"type":14,"value":510},{"type":9,"tag":37,"props":2587,"children":2588},{"class":39,"line":667},[2589,2594,2599],{"type":9,"tag":37,"props":2590,"children":2591},{"style":44},[2592],{"type":14,"value":2593},"  searchRef.value?.",{"type":9,"tag":37,"props":2595,"children":2596},{"style":56},[2597],{"type":14,"value":2598},"reset",{"type":9,"tag":37,"props":2600,"children":2601},{"style":44},[2602],{"type":14,"value":159},{"type":9,"tag":37,"props":2604,"children":2605},{"class":39,"line":684},[2606,2610,2614,2618,2623,2627,2632],{"type":9,"tag":37,"props":2607,"children":2608},{"style":44},[2609],{"type":14,"value":573},{"type":9,"tag":37,"props":2611,"children":2612},{"style":56},[2613],{"type":14,"value":578},{"type":9,"tag":37,"props":2615,"children":2616},{"style":44},[2617],{"type":14,"value":583},{"type":9,"tag":37,"props":2619,"children":2620},{"style":72},[2621],{"type":14,"value":2622},"'已重置'",{"type":9,"tag":37,"props":2624,"children":2625},{"style":44},[2626],{"type":14,"value":621},{"type":9,"tag":37,"props":2628,"children":2629},{"style":72},[2630],{"type":14,"value":2631},"'neutral'",{"type":9,"tag":37,"props":2633,"children":2634},{"style":44},[2635],{"type":14,"value":405},{"type":9,"tag":37,"props":2637,"children":2638},{"class":39,"line":698},[2639],{"type":9,"tag":37,"props":2640,"children":2641},{"style":44},[2642],{"type":14,"value":639},{"type":9,"tag":37,"props":2644,"children":2645},{"class":39,"line":725},[2646,2650,2654],{"type":9,"tag":37,"props":2647,"children":2648},{"style":44},[2649],{"type":14,"value":648},{"type":9,"tag":37,"props":2651,"children":2652},{"style":50},[2653],{"type":14,"value":53},{"type":9,"tag":37,"props":2655,"children":2656},{"style":44},[2657],{"type":14,"value":80},{"type":9,"tag":37,"props":2659,"children":2660},{"class":39,"line":755},[2661],{"type":9,"tag":37,"props":2662,"children":2663},{"emptyLinePlaceholder":117},[2664],{"type":14,"value":120},{"type":9,"tag":37,"props":2666,"children":2667},{"class":39,"line":805},[2668,2672,2676],{"type":9,"tag":37,"props":2669,"children":2670},{"style":44},[2671],{"type":14,"value":47},{"type":9,"tag":37,"props":2673,"children":2674},{"style":50},[2675],{"type":14,"value":677},{"type":9,"tag":37,"props":2677,"children":2678},{"style":44},[2679],{"type":14,"value":80},{"type":9,"tag":37,"props":2681,"children":2682},{"class":39,"line":836},[2683,2687],{"type":9,"tag":37,"props":2684,"children":2685},{"style":44},[2686],{"type":14,"value":690},{"type":9,"tag":37,"props":2688,"children":2689},{"style":50},[2690],{"type":14,"value":695},{"type":9,"tag":37,"props":2692,"children":2693},{"class":39,"line":845},[2694,2699,2703],{"type":9,"tag":37,"props":2695,"children":2696},{"style":56},[2697],{"type":14,"value":2698},"    ref",{"type":9,"tag":37,"props":2700,"children":2701},{"style":44},[2702],{"type":14,"value":69},{"type":9,"tag":37,"props":2704,"children":2705},{"style":72},[2706],{"type":14,"value":2707},"\"searchForm\"\n",{"type":9,"tag":37,"props":2709,"children":2710},{"class":39,"line":1755},[2711,2715,2719,2723,2727],{"type":9,"tag":37,"props":2712,"children":2713},{"style":56},[2714],{"type":14,"value":704},{"type":9,"tag":37,"props":2716,"children":2717},{"style":44},[2718],{"type":14,"value":69},{"type":9,"tag":37,"props":2720,"children":2721},{"style":72},[2722],{"type":14,"value":713},{"type":9,"tag":37,"props":2724,"children":2725},{"style":44},[2726],{"type":14,"value":603},{"type":9,"tag":37,"props":2728,"children":2729},{"style":72},[2730],{"type":14,"value":722},{"type":9,"tag":37,"props":2732,"children":2733},{"class":39,"line":1763},[2734,2738,2742,2746,2750,2754],{"type":9,"tag":37,"props":2735,"children":2736},{"style":44},[2737],{"type":14,"value":731},{"type":9,"tag":37,"props":2739,"children":2740},{"style":56},[2741],{"type":14,"value":736},{"type":9,"tag":37,"props":2743,"children":2744},{"style":44},[2745],{"type":14,"value":69},{"type":9,"tag":37,"props":2747,"children":2748},{"style":72},[2749],{"type":14,"value":713},{"type":9,"tag":37,"props":2751,"children":2752},{"style":44},[2753],{"type":14,"value":736},{"type":9,"tag":37,"props":2755,"children":2756},{"style":72},[2757],{"type":14,"value":722},{"type":9,"tag":37,"props":2759,"children":2760},{"class":39,"line":1779},[2761,2765,2770,2774,2778,2783,2787,2792,2797,2801],{"type":9,"tag":37,"props":2762,"children":2763},{"style":44},[2764],{"type":14,"value":731},{"type":9,"tag":37,"props":2766,"children":2767},{"style":56},[2768],{"type":14,"value":2769},"global-meta",{"type":9,"tag":37,"props":2771,"children":2772},{"style":44},[2773],{"type":14,"value":69},{"type":9,"tag":37,"props":2775,"children":2776},{"style":72},[2777],{"type":14,"value":713},{"type":9,"tag":37,"props":2779,"children":2780},{"style":44},[2781],{"type":14,"value":2782},"{ orientation: ",{"type":9,"tag":37,"props":2784,"children":2785},{"style":72},[2786],{"type":14,"value":2230},{"type":9,"tag":37,"props":2788,"children":2789},{"style":44},[2790],{"type":14,"value":2791},", size: ",{"type":9,"tag":37,"props":2793,"children":2794},{"style":72},[2795],{"type":14,"value":2796},"'sm'",{"type":9,"tag":37,"props":2798,"children":2799},{"style":44},[2800],{"type":14,"value":798},{"type":9,"tag":37,"props":2802,"children":2803},{"style":72},[2804],{"type":14,"value":722},{"type":9,"tag":37,"props":2806,"children":2807},{"class":39,"line":1787},[2808,2812,2816,2820,2824,2828],{"type":9,"tag":37,"props":2809,"children":2810},{"style":44},[2811],{"type":14,"value":731},{"type":9,"tag":37,"props":2813,"children":2814},{"style":56},[2815],{"type":14,"value":816},{"type":9,"tag":37,"props":2817,"children":2818},{"style":44},[2819],{"type":14,"value":69},{"type":9,"tag":37,"props":2821,"children":2822},{"style":72},[2823],{"type":14,"value":713},{"type":9,"tag":37,"props":2825,"children":2826},{"style":137},[2827],{"type":14,"value":383},{"type":9,"tag":37,"props":2829,"children":2830},{"style":72},[2831],{"type":14,"value":722},{"type":9,"tag":37,"props":2833,"children":2834},{"class":39,"line":1803},[2835,2839,2843,2847,2851,2855],{"type":9,"tag":37,"props":2836,"children":2837},{"style":44},[2838],{"type":14,"value":811},{"type":9,"tag":37,"props":2840,"children":2841},{"style":56},[2842],{"type":14,"value":816},{"type":9,"tag":37,"props":2844,"children":2845},{"style":44},[2846],{"type":14,"value":69},{"type":9,"tag":37,"props":2848,"children":2849},{"style":72},[2850],{"type":14,"value":713},{"type":9,"tag":37,"props":2852,"children":2853},{"style":44},[2854],{"type":14,"value":829},{"type":9,"tag":37,"props":2856,"children":2857},{"style":72},[2858],{"type":14,"value":722},{"type":9,"tag":37,"props":2860,"children":2861},{"class":39,"line":1926},[2862],{"type":9,"tag":37,"props":2863,"children":2864},{"style":44},[2865],{"type":14,"value":2866},"  >\n",{"type":9,"tag":37,"props":2868,"children":2870},{"class":39,"line":2869},34,[2871,2876,2880,2885,2890,2894,2898,2903,2907],{"type":9,"tag":37,"props":2872,"children":2873},{"style":44},[2874],{"type":14,"value":2875},"    \u003C",{"type":9,"tag":37,"props":2877,"children":2878},{"style":50},[2879],{"type":14,"value":677},{"type":9,"tag":37,"props":2881,"children":2882},{"style":44},[2883],{"type":14,"value":2884}," #",{"type":9,"tag":37,"props":2886,"children":2887},{"style":56},[2888],{"type":14,"value":2889},"footer",{"type":9,"tag":37,"props":2891,"children":2892},{"style":44},[2893],{"type":14,"value":69},{"type":9,"tag":37,"props":2895,"children":2896},{"style":72},[2897],{"type":14,"value":713},{"type":9,"tag":37,"props":2899,"children":2900},{"style":44},[2901],{"type":14,"value":2902},"{ loading }",{"type":9,"tag":37,"props":2904,"children":2905},{"style":72},[2906],{"type":14,"value":713},{"type":9,"tag":37,"props":2908,"children":2909},{"style":44},[2910],{"type":14,"value":80},{"type":9,"tag":37,"props":2912,"children":2914},{"class":39,"line":2913},35,[2915,2920,2925,2930,2934,2939],{"type":9,"tag":37,"props":2916,"children":2917},{"style":44},[2918],{"type":14,"value":2919},"      \u003C",{"type":9,"tag":37,"props":2921,"children":2922},{"style":50},[2923],{"type":14,"value":2924},"div",{"type":9,"tag":37,"props":2926,"children":2927},{"style":56},[2928],{"type":14,"value":2929}," class",{"type":9,"tag":37,"props":2931,"children":2932},{"style":44},[2933],{"type":14,"value":69},{"type":9,"tag":37,"props":2935,"children":2936},{"style":72},[2937],{"type":14,"value":2938},"\"flex justify-end gap-2\"",{"type":9,"tag":37,"props":2940,"children":2941},{"style":44},[2942],{"type":14,"value":80},{"type":9,"tag":37,"props":2944,"children":2946},{"class":39,"line":2945},36,[2947,2952,2957,2962,2966,2971,2976,2980,2985,2990,2994,2999,3004,3008,3013,3017,3022,3026,3030,3035,3039],{"type":9,"tag":37,"props":2948,"children":2949},{"style":44},[2950],{"type":14,"value":2951},"        \u003C",{"type":9,"tag":37,"props":2953,"children":2954},{"style":50},[2955],{"type":14,"value":2956},"UButton",{"type":9,"tag":37,"props":2958,"children":2959},{"style":56},[2960],{"type":14,"value":2961}," color",{"type":9,"tag":37,"props":2963,"children":2964},{"style":44},[2965],{"type":14,"value":69},{"type":9,"tag":37,"props":2967,"children":2968},{"style":72},[2969],{"type":14,"value":2970},"\"neutral\"",{"type":9,"tag":37,"props":2972,"children":2973},{"style":56},[2974],{"type":14,"value":2975}," variant",{"type":9,"tag":37,"props":2977,"children":2978},{"style":44},[2979],{"type":14,"value":69},{"type":9,"tag":37,"props":2981,"children":2982},{"style":72},[2983],{"type":14,"value":2984},"\"soft\"",{"type":9,"tag":37,"props":2986,"children":2987},{"style":56},[2988],{"type":14,"value":2989}," size",{"type":9,"tag":37,"props":2991,"children":2992},{"style":44},[2993],{"type":14,"value":69},{"type":9,"tag":37,"props":2995,"children":2996},{"style":72},[2997],{"type":14,"value":2998},"\"sm\"",{"type":9,"tag":37,"props":3000,"children":3001},{"style":56},[3002],{"type":14,"value":3003}," label",{"type":9,"tag":37,"props":3005,"children":3006},{"style":44},[3007],{"type":14,"value":69},{"type":9,"tag":37,"props":3009,"children":3010},{"style":72},[3011],{"type":14,"value":3012},"\"重置\"",{"type":9,"tag":37,"props":3014,"children":3015},{"style":44},[3016],{"type":14,"value":1898},{"type":9,"tag":37,"props":3018,"children":3019},{"style":56},[3020],{"type":14,"value":3021},"click",{"type":9,"tag":37,"props":3023,"children":3024},{"style":44},[3025],{"type":14,"value":69},{"type":9,"tag":37,"props":3027,"children":3028},{"style":72},[3029],{"type":14,"value":713},{"type":9,"tag":37,"props":3031,"children":3032},{"style":44},[3033],{"type":14,"value":3034},"onReset",{"type":9,"tag":37,"props":3036,"children":3037},{"style":72},[3038],{"type":14,"value":713},{"type":9,"tag":37,"props":3040,"children":3041},{"style":44},[3042],{"type":14,"value":1923},{"type":9,"tag":37,"props":3044,"children":3046},{"class":39,"line":3045},37,[3047,3051,3055,3059,3063,3068,3072,3076,3080,3084,3088,3093,3097,3102,3106,3110,3114,3118],{"type":9,"tag":37,"props":3048,"children":3049},{"style":44},[3050],{"type":14,"value":2951},{"type":9,"tag":37,"props":3052,"children":3053},{"style":50},[3054],{"type":14,"value":2956},{"type":9,"tag":37,"props":3056,"children":3057},{"style":56},[3058],{"type":14,"value":95},{"type":9,"tag":37,"props":3060,"children":3061},{"style":44},[3062],{"type":14,"value":69},{"type":9,"tag":37,"props":3064,"children":3065},{"style":72},[3066],{"type":14,"value":3067},"\"submit\"",{"type":9,"tag":37,"props":3069,"children":3070},{"style":56},[3071],{"type":14,"value":2989},{"type":9,"tag":37,"props":3073,"children":3074},{"style":44},[3075],{"type":14,"value":69},{"type":9,"tag":37,"props":3077,"children":3078},{"style":72},[3079],{"type":14,"value":2998},{"type":9,"tag":37,"props":3081,"children":3082},{"style":56},[3083],{"type":14,"value":3003},{"type":9,"tag":37,"props":3085,"children":3086},{"style":44},[3087],{"type":14,"value":69},{"type":9,"tag":37,"props":3089,"children":3090},{"style":72},[3091],{"type":14,"value":3092},"\"搜索\"",{"type":9,"tag":37,"props":3094,"children":3095},{"style":44},[3096],{"type":14,"value":1839},{"type":9,"tag":37,"props":3098,"children":3099},{"style":56},[3100],{"type":14,"value":3101},"loading",{"type":9,"tag":37,"props":3103,"children":3104},{"style":44},[3105],{"type":14,"value":69},{"type":9,"tag":37,"props":3107,"children":3108},{"style":72},[3109],{"type":14,"value":713},{"type":9,"tag":37,"props":3111,"children":3112},{"style":44},[3113],{"type":14,"value":3101},{"type":9,"tag":37,"props":3115,"children":3116},{"style":72},[3117],{"type":14,"value":713},{"type":9,"tag":37,"props":3119,"children":3120},{"style":44},[3121],{"type":14,"value":1923},{"type":9,"tag":37,"props":3123,"children":3125},{"class":39,"line":3124},38,[3126,3131,3135],{"type":9,"tag":37,"props":3127,"children":3128},{"style":44},[3129],{"type":14,"value":3130},"      \u003C\u002F",{"type":9,"tag":37,"props":3132,"children":3133},{"style":50},[3134],{"type":14,"value":2924},{"type":9,"tag":37,"props":3136,"children":3137},{"style":44},[3138],{"type":14,"value":80},{"type":9,"tag":37,"props":3140,"children":3142},{"class":39,"line":3141},39,[3143,3148,3152],{"type":9,"tag":37,"props":3144,"children":3145},{"style":44},[3146],{"type":14,"value":3147},"    \u003C\u002F",{"type":9,"tag":37,"props":3149,"children":3150},{"style":50},[3151],{"type":14,"value":677},{"type":9,"tag":37,"props":3153,"children":3154},{"style":44},[3155],{"type":14,"value":80},{"type":9,"tag":37,"props":3157,"children":3159},{"class":39,"line":3158},40,[3160,3165,3169],{"type":9,"tag":37,"props":3161,"children":3162},{"style":44},[3163],{"type":14,"value":3164},"  \u003C\u002F",{"type":9,"tag":37,"props":3166,"children":3167},{"style":50},[3168],{"type":14,"value":1813},{"type":9,"tag":37,"props":3170,"children":3171},{"style":44},[3172],{"type":14,"value":80},{"type":9,"tag":37,"props":3174,"children":3176},{"class":39,"line":3175},41,[3177,3181,3185],{"type":9,"tag":37,"props":3178,"children":3179},{"style":44},[3180],{"type":14,"value":648},{"type":9,"tag":37,"props":3182,"children":3183},{"style":50},[3184],{"type":14,"value":677},{"type":9,"tag":37,"props":3186,"children":3187},{"style":44},[3188],{"type":14,"value":80},{"type":9,"tag":860,"props":3190,"children":3191},{},[3192],{"type":14,"value":864},{"title":22,"searchDepth":83,"depth":83,"links":3194},[],{"code":3196,"filePath":3197,"pascalName":3198},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  title: afz.string({ controlProps: { placeholder: '附件描述' } }).meta({ label: '标题' }),\n  attachments: afz.array(afz.file()).default([]).meta({ label: '附件（多选）' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 600))\n  const count = state.attachments?.length ?? 0\n  toast.add({ title: `已上传 ${count} 个文件`, color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit-button-props=\"{ label: '上 传' }\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Frecipes\u002FAutoFormRecipeUploadExample.vue","AutoFormRecipeUploadExample",{"data":3200,"body":3201,"toc":3842},{"title":22,"description":22},{"type":6,"children":3202},[3203,3838],{"type":9,"tag":26,"props":3204,"children":3206},{"className":28,"code":3205,"language":30,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  title: afz.string({ controlProps: { placeholder: '附件描述' } }).meta({ label: '标题' }),\n  attachments: afz.array(afz.file()).default([]).meta({ label: '附件（多选）' })\n})\nconst state = reactive\u003CPartial\u003Cz.input\u003Ctypeof schema>>>({})\n\nasync function onSubmit() {\n  await new Promise(r => setTimeout(r, 600))\n  const count = state.attachments?.length ?? 0\n  toast.add({ title: `已上传 ${count} 个文件`, color: 'success' })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit-button-props=\"{ label: '上 传' }\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[3207],{"type":9,"tag":33,"props":3208,"children":3209},{"__ignoreMap":22},[3210,3241,3264,3271,3302,3325,3332,3359,3401,3452,3459,3514,3521,3540,3584,3621,3663,3670,3685,3692,3707,3823],{"type":9,"tag":37,"props":3211,"children":3212},{"class":39,"line":40},[3213,3217,3221,3225,3229,3233,3237],{"type":9,"tag":37,"props":3214,"children":3215},{"style":44},[3216],{"type":14,"value":47},{"type":9,"tag":37,"props":3218,"children":3219},{"style":50},[3220],{"type":14,"value":53},{"type":9,"tag":37,"props":3222,"children":3223},{"style":56},[3224],{"type":14,"value":59},{"type":9,"tag":37,"props":3226,"children":3227},{"style":56},[3228],{"type":14,"value":64},{"type":9,"tag":37,"props":3230,"children":3231},{"style":44},[3232],{"type":14,"value":69},{"type":9,"tag":37,"props":3234,"children":3235},{"style":72},[3236],{"type":14,"value":75},{"type":9,"tag":37,"props":3238,"children":3239},{"style":44},[3240],{"type":14,"value":80},{"type":9,"tag":37,"props":3242,"children":3243},{"class":39,"line":83},[3244,3248,3252,3256,3260],{"type":9,"tag":37,"props":3245,"children":3246},{"style":87},[3247],{"type":14,"value":90},{"type":9,"tag":37,"props":3249,"children":3250},{"style":87},[3251],{"type":14,"value":95},{"type":9,"tag":37,"props":3253,"children":3254},{"style":44},[3255],{"type":14,"value":100},{"type":9,"tag":37,"props":3257,"children":3258},{"style":87},[3259],{"type":14,"value":105},{"type":9,"tag":37,"props":3261,"children":3262},{"style":72},[3263],{"type":14,"value":110},{"type":9,"tag":37,"props":3265,"children":3266},{"class":39,"line":113},[3267],{"type":9,"tag":37,"props":3268,"children":3269},{"emptyLinePlaceholder":117},[3270],{"type":14,"value":120},{"type":9,"tag":37,"props":3272,"children":3273},{"class":39,"line":123},[3274,3278,3282,3286,3290,3294,3298],{"type":9,"tag":37,"props":3275,"children":3276},{"style":87},[3277],{"type":14,"value":129},{"type":9,"tag":37,"props":3279,"children":3280},{"style":44},[3281],{"type":14,"value":134},{"type":9,"tag":37,"props":3283,"children":3284},{"style":137},[3285],{"type":14,"value":140},{"type":9,"tag":37,"props":3287,"children":3288},{"style":44},[3289],{"type":14,"value":145},{"type":9,"tag":37,"props":3291,"children":3292},{"style":87},[3293],{"type":14,"value":69},{"type":9,"tag":37,"props":3295,"children":3296},{"style":56},[3297],{"type":14,"value":154},{"type":9,"tag":37,"props":3299,"children":3300},{"style":44},[3301],{"type":14,"value":159},{"type":9,"tag":37,"props":3303,"children":3304},{"class":39,"line":162},[3305,3309,3313,3317,3321],{"type":9,"tag":37,"props":3306,"children":3307},{"style":87},[3308],{"type":14,"value":129},{"type":9,"tag":37,"props":3310,"children":3311},{"style":137},[3312],{"type":14,"value":172},{"type":9,"tag":37,"props":3314,"children":3315},{"style":87},[3316],{"type":14,"value":177},{"type":9,"tag":37,"props":3318,"children":3319},{"style":56},[3320],{"type":14,"value":182},{"type":9,"tag":37,"props":3322,"children":3323},{"style":44},[3324],{"type":14,"value":159},{"type":9,"tag":37,"props":3326,"children":3327},{"class":39,"line":189},[3328],{"type":9,"tag":37,"props":3329,"children":3330},{"emptyLinePlaceholder":117},[3331],{"type":14,"value":120},{"type":9,"tag":37,"props":3333,"children":3334},{"class":39,"line":197},[3335,3339,3343,3347,3351,3355],{"type":9,"tag":37,"props":3336,"children":3337},{"style":87},[3338],{"type":14,"value":129},{"type":9,"tag":37,"props":3340,"children":3341},{"style":137},[3342],{"type":14,"value":207},{"type":9,"tag":37,"props":3344,"children":3345},{"style":87},[3346],{"type":14,"value":177},{"type":9,"tag":37,"props":3348,"children":3349},{"style":44},[3350],{"type":14,"value":216},{"type":9,"tag":37,"props":3352,"children":3353},{"style":56},[3354],{"type":14,"value":221},{"type":9,"tag":37,"props":3356,"children":3357},{"style":44},[3358],{"type":14,"value":226},{"type":9,"tag":37,"props":3360,"children":3361},{"class":39,"line":229},[3362,3367,3371,3375,3380,3384,3388,3392,3397],{"type":9,"tag":37,"props":3363,"children":3364},{"style":44},[3365],{"type":14,"value":3366},"  title: afz.",{"type":9,"tag":37,"props":3368,"children":3369},{"style":56},[3370],{"type":14,"value":289},{"type":9,"tag":37,"props":3372,"children":3373},{"style":44},[3374],{"type":14,"value":245},{"type":9,"tag":37,"props":3376,"children":3377},{"style":72},[3378],{"type":14,"value":3379},"'附件描述'",{"type":9,"tag":37,"props":3381,"children":3382},{"style":44},[3383],{"type":14,"value":255},{"type":9,"tag":37,"props":3385,"children":3386},{"style":56},[3387],{"type":14,"value":260},{"type":9,"tag":37,"props":3389,"children":3390},{"style":44},[3391],{"type":14,"value":265},{"type":9,"tag":37,"props":3393,"children":3394},{"style":72},[3395],{"type":14,"value":3396},"'标题'",{"type":9,"tag":37,"props":3398,"children":3399},{"style":44},[3400],{"type":14,"value":275},{"type":9,"tag":37,"props":3402,"children":3403},{"class":39,"line":278},[3404,3409,3413,3417,3422,3427,3431,3435,3439,3443,3448],{"type":9,"tag":37,"props":3405,"children":3406},{"style":44},[3407],{"type":14,"value":3408},"  attachments: afz.",{"type":9,"tag":37,"props":3410,"children":3411},{"style":56},[3412],{"type":14,"value":1350},{"type":9,"tag":37,"props":3414,"children":3415},{"style":44},[3416],{"type":14,"value":1355},{"type":9,"tag":37,"props":3418,"children":3419},{"style":56},[3420],{"type":14,"value":3421},"file",{"type":9,"tag":37,"props":3423,"children":3424},{"style":44},[3425],{"type":14,"value":3426},"()).",{"type":9,"tag":37,"props":3428,"children":3429},{"style":56},[3430],{"type":14,"value":374},{"type":9,"tag":37,"props":3432,"children":3433},{"style":44},[3434],{"type":14,"value":1382},{"type":9,"tag":37,"props":3436,"children":3437},{"style":56},[3438],{"type":14,"value":260},{"type":9,"tag":37,"props":3440,"children":3441},{"style":44},[3442],{"type":14,"value":265},{"type":9,"tag":37,"props":3444,"children":3445},{"style":72},[3446],{"type":14,"value":3447},"'附件（多选）'",{"type":9,"tag":37,"props":3449,"children":3450},{"style":44},[3451],{"type":14,"value":405},{"type":9,"tag":37,"props":3453,"children":3454},{"class":39,"line":343},[3455],{"type":9,"tag":37,"props":3456,"children":3457},{"style":44},[3458],{"type":14,"value":414},{"type":9,"tag":37,"props":3460,"children":3461},{"class":39,"line":408},[3462,3466,3470,3474,3478,3482,3486,3490,3494,3498,3502,3506,3510],{"type":9,"tag":37,"props":3463,"children":3464},{"style":87},[3465],{"type":14,"value":129},{"type":9,"tag":37,"props":3467,"children":3468},{"style":137},[3469],{"type":14,"value":427},{"type":9,"tag":37,"props":3471,"children":3472},{"style":87},[3473],{"type":14,"value":177},{"type":9,"tag":37,"props":3475,"children":3476},{"style":56},[3477],{"type":14,"value":436},{"type":9,"tag":37,"props":3479,"children":3480},{"style":44},[3481],{"type":14,"value":47},{"type":9,"tag":37,"props":3483,"children":3484},{"style":56},[3485],{"type":14,"value":445},{"type":9,"tag":37,"props":3487,"children":3488},{"style":44},[3489],{"type":14,"value":47},{"type":9,"tag":37,"props":3491,"children":3492},{"style":56},[3493],{"type":14,"value":454},{"type":9,"tag":37,"props":3495,"children":3496},{"style":44},[3497],{"type":14,"value":459},{"type":9,"tag":37,"props":3499,"children":3500},{"style":56},[3501],{"type":14,"value":464},{"type":9,"tag":37,"props":3503,"children":3504},{"style":44},[3505],{"type":14,"value":47},{"type":9,"tag":37,"props":3507,"children":3508},{"style":87},[3509],{"type":14,"value":473},{"type":9,"tag":37,"props":3511,"children":3512},{"style":44},[3513],{"type":14,"value":478},{"type":9,"tag":37,"props":3515,"children":3516},{"class":39,"line":417},[3517],{"type":9,"tag":37,"props":3518,"children":3519},{"emptyLinePlaceholder":117},[3520],{"type":14,"value":120},{"type":9,"tag":37,"props":3522,"children":3523},{"class":39,"line":481},[3524,3528,3532,3536],{"type":9,"tag":37,"props":3525,"children":3526},{"style":87},[3527],{"type":14,"value":495},{"type":9,"tag":37,"props":3529,"children":3530},{"style":87},[3531],{"type":14,"value":500},{"type":9,"tag":37,"props":3533,"children":3534},{"style":56},[3535],{"type":14,"value":505},{"type":9,"tag":37,"props":3537,"children":3538},{"style":44},[3539],{"type":14,"value":510},{"type":9,"tag":37,"props":3541,"children":3542},{"class":39,"line":489},[3543,3547,3551,3555,3559,3563,3567,3571,3575,3580],{"type":9,"tag":37,"props":3544,"children":3545},{"style":87},[3546],{"type":14,"value":519},{"type":9,"tag":37,"props":3548,"children":3549},{"style":87},[3550],{"type":14,"value":524},{"type":9,"tag":37,"props":3552,"children":3553},{"style":137},[3554],{"type":14,"value":529},{"type":9,"tag":37,"props":3556,"children":3557},{"style":44},[3558],{"type":14,"value":313},{"type":9,"tag":37,"props":3560,"children":3561},{"style":536},[3562],{"type":14,"value":539},{"type":9,"tag":37,"props":3564,"children":3565},{"style":87},[3566],{"type":14,"value":544},{"type":9,"tag":37,"props":3568,"children":3569},{"style":56},[3570],{"type":14,"value":549},{"type":9,"tag":37,"props":3572,"children":3573},{"style":44},[3574],{"type":14,"value":554},{"type":9,"tag":37,"props":3576,"children":3577},{"style":137},[3578],{"type":14,"value":3579},"600",{"type":9,"tag":37,"props":3581,"children":3582},{"style":44},[3583],{"type":14,"value":564},{"type":9,"tag":37,"props":3585,"children":3586},{"class":39,"line":513},[3587,3592,3597,3601,3606,3611,3616],{"type":9,"tag":37,"props":3588,"children":3589},{"style":87},[3590],{"type":14,"value":3591},"  const",{"type":9,"tag":37,"props":3593,"children":3594},{"style":137},[3595],{"type":14,"value":3596}," count",{"type":9,"tag":37,"props":3598,"children":3599},{"style":87},[3600],{"type":14,"value":177},{"type":9,"tag":37,"props":3602,"children":3603},{"style":44},[3604],{"type":14,"value":3605}," state.attachments?.",{"type":9,"tag":37,"props":3607,"children":3608},{"style":137},[3609],{"type":14,"value":3610},"length",{"type":9,"tag":37,"props":3612,"children":3613},{"style":87},[3614],{"type":14,"value":3615}," ??",{"type":9,"tag":37,"props":3617,"children":3618},{"style":137},[3619],{"type":14,"value":3620}," 0\n",{"type":9,"tag":37,"props":3622,"children":3623},{"class":39,"line":567},[3624,3628,3632,3636,3641,3646,3651,3655,3659],{"type":9,"tag":37,"props":3625,"children":3626},{"style":44},[3627],{"type":14,"value":573},{"type":9,"tag":37,"props":3629,"children":3630},{"style":56},[3631],{"type":14,"value":578},{"type":9,"tag":37,"props":3633,"children":3634},{"style":44},[3635],{"type":14,"value":583},{"type":9,"tag":37,"props":3637,"children":3638},{"style":72},[3639],{"type":14,"value":3640},"`已上传 ${",{"type":9,"tag":37,"props":3642,"children":3643},{"style":44},[3644],{"type":14,"value":3645},"count",{"type":9,"tag":37,"props":3647,"children":3648},{"style":72},[3649],{"type":14,"value":3650},"} 个文件`",{"type":9,"tag":37,"props":3652,"children":3653},{"style":44},[3654],{"type":14,"value":621},{"type":9,"tag":37,"props":3656,"children":3657},{"style":72},[3658],{"type":14,"value":626},{"type":9,"tag":37,"props":3660,"children":3661},{"style":44},[3662],{"type":14,"value":405},{"type":9,"tag":37,"props":3664,"children":3665},{"class":39,"line":633},[3666],{"type":9,"tag":37,"props":3667,"children":3668},{"style":44},[3669],{"type":14,"value":639},{"type":9,"tag":37,"props":3671,"children":3672},{"class":39,"line":642},[3673,3677,3681],{"type":9,"tag":37,"props":3674,"children":3675},{"style":44},[3676],{"type":14,"value":648},{"type":9,"tag":37,"props":3678,"children":3679},{"style":50},[3680],{"type":14,"value":53},{"type":9,"tag":37,"props":3682,"children":3683},{"style":44},[3684],{"type":14,"value":80},{"type":9,"tag":37,"props":3686,"children":3687},{"class":39,"line":659},[3688],{"type":9,"tag":37,"props":3689,"children":3690},{"emptyLinePlaceholder":117},[3691],{"type":14,"value":120},{"type":9,"tag":37,"props":3693,"children":3694},{"class":39,"line":667},[3695,3699,3703],{"type":9,"tag":37,"props":3696,"children":3697},{"style":44},[3698],{"type":14,"value":47},{"type":9,"tag":37,"props":3700,"children":3701},{"style":50},[3702],{"type":14,"value":677},{"type":9,"tag":37,"props":3704,"children":3705},{"style":44},[3706],{"type":14,"value":80},{"type":9,"tag":37,"props":3708,"children":3709},{"class":39,"line":684},[3710,3714,3718,3722,3726,3730,3734,3738,3742,3746,3750,3754,3758,3762,3766,3770,3774,3778,3782,3787,3791,3795,3799,3803,3807,3811,3815,3819],{"type":9,"tag":37,"props":3711,"children":3712},{"style":44},[3713],{"type":14,"value":690},{"type":9,"tag":37,"props":3715,"children":3716},{"style":50},[3717],{"type":14,"value":1813},{"type":9,"tag":37,"props":3719,"children":3720},{"style":56},[3721],{"type":14,"value":1818},{"type":9,"tag":37,"props":3723,"children":3724},{"style":44},[3725],{"type":14,"value":69},{"type":9,"tag":37,"props":3727,"children":3728},{"style":72},[3729],{"type":14,"value":713},{"type":9,"tag":37,"props":3731,"children":3732},{"style":44},[3733],{"type":14,"value":603},{"type":9,"tag":37,"props":3735,"children":3736},{"style":72},[3737],{"type":14,"value":713},{"type":9,"tag":37,"props":3739,"children":3740},{"style":44},[3741],{"type":14,"value":1839},{"type":9,"tag":37,"props":3743,"children":3744},{"style":56},[3745],{"type":14,"value":736},{"type":9,"tag":37,"props":3747,"children":3748},{"style":44},[3749],{"type":14,"value":69},{"type":9,"tag":37,"props":3751,"children":3752},{"style":72},[3753],{"type":14,"value":713},{"type":9,"tag":37,"props":3755,"children":3756},{"style":44},[3757],{"type":14,"value":736},{"type":9,"tag":37,"props":3759,"children":3760},{"style":72},[3761],{"type":14,"value":713},{"type":9,"tag":37,"props":3763,"children":3764},{"style":44},[3765],{"type":14,"value":1839},{"type":9,"tag":37,"props":3767,"children":3768},{"style":56},[3769],{"type":14,"value":765},{"type":9,"tag":37,"props":3771,"children":3772},{"style":44},[3773],{"type":14,"value":69},{"type":9,"tag":37,"props":3775,"children":3776},{"style":72},[3777],{"type":14,"value":713},{"type":9,"tag":37,"props":3779,"children":3780},{"style":44},[3781],{"type":14,"value":1880},{"type":9,"tag":37,"props":3783,"children":3784},{"style":72},[3785],{"type":14,"value":3786},"'上 传'",{"type":9,"tag":37,"props":3788,"children":3789},{"style":44},[3790],{"type":14,"value":798},{"type":9,"tag":37,"props":3792,"children":3793},{"style":72},[3794],{"type":14,"value":713},{"type":9,"tag":37,"props":3796,"children":3797},{"style":44},[3798],{"type":14,"value":1898},{"type":9,"tag":37,"props":3800,"children":3801},{"style":56},[3802],{"type":14,"value":816},{"type":9,"tag":37,"props":3804,"children":3805},{"style":44},[3806],{"type":14,"value":69},{"type":9,"tag":37,"props":3808,"children":3809},{"style":72},[3810],{"type":14,"value":713},{"type":9,"tag":37,"props":3812,"children":3813},{"style":44},[3814],{"type":14,"value":829},{"type":9,"tag":37,"props":3816,"children":3817},{"style":72},[3818],{"type":14,"value":713},{"type":9,"tag":37,"props":3820,"children":3821},{"style":44},[3822],{"type":14,"value":1923},{"type":9,"tag":37,"props":3824,"children":3825},{"class":39,"line":698},[3826,3830,3834],{"type":9,"tag":37,"props":3827,"children":3828},{"style":44},[3829],{"type":14,"value":648},{"type":9,"tag":37,"props":3831,"children":3832},{"style":50},[3833],{"type":14,"value":677},{"type":9,"tag":37,"props":3835,"children":3836},{"style":44},[3837],{"type":14,"value":80},{"type":9,"tag":860,"props":3839,"children":3840},{},[3841],{"type":14,"value":864},{"title":22,"searchDepth":83,"depth":83,"links":3843},[],{"id":3845,"title":3846,"body":3847,"category":3913,"description":15,"difficulty":3913,"extension":3914,"index":3915,"keywords":3913,"links":3913,"meta":3916,"navigation":3913,"path":3917,"requires":3913,"seo":3918,"sitemap":3919,"stem":3920,"__hash__":3921},"docs\u002Fdocs\u002F2.auto-form\u002F10.recipes.md","实战示例",{"type":3848,"value":3849,"toc":3907},"minimark",[3850,3854,3861,3864,3867,3876,3878,3881,3887,3889,3892,3905],[3851,3852,3853],"h2",{"id":3853},"登录表单",[10,3855,3856,3857,3860],{},"组合邮箱、密码与记住我字段，",[33,3858,3859],{},"loadingAuto"," 接管异步提交态：",[3862,3863],"component-example",{"name":19},[3851,3865,3866],{"id":3866},"注册分组校验",[10,3868,3869,3870,3872,3873,3875],{},"嵌套 ",[33,3871,221],{}," 分组字段，",[33,3874,1444],{}," 校验确认密码一致：",[3862,3877],{"name":870},[3851,3879,3880],{"id":3880},"多文件上传",[10,3882,3883,3886],{},[33,3884,3885],{},"afz.array(afz.file())"," 渲染多文件字段，提交后汇总附件数量：",[3862,3888],{"name":3198},[3851,3890,3891],{"id":3891},"横向搜索表单",[10,3893,3894,3897,3898,3900,3901,3904],{},[33,3895,3896],{},"globalMeta"," 横向排布筛选项，",[33,3899,2889],{}," 插槽承载操作按钮，",[33,3902,3903],{},"submit-button"," 关闭内置按钮：",[3862,3906],{"name":1949},{"title":22,"searchDepth":83,"depth":83,"links":3908},[3909,3910,3911,3912],{"id":3853,"depth":83,"text":3853},{"id":3866,"depth":83,"text":3866},{"id":3880,"depth":83,"text":3880},{"id":3891,"depth":83,"text":3891},null,"md",false,{},"\u002Fdocs\u002Fauto-form\u002Frecipes",{"title":3846,"description":15},{"loc":3917},"docs\u002F2.auto-form\u002F10.recipes","5NAnYMfchkJ9rnT5Qq48vCPjq4D1bCwBnteVhckNsFo",[3923],{"title":3924,"path":3925,"stem":3926,"children":3927,"page":3915},"Docs","\u002Fdocs","docs",[3928,3967,4018,4056,4095],{"title":3929,"path":3930,"stem":3931,"children":3932,"category":3913,"description":3913,"icon":3966},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[3933,3936,3941,3946,3951,3956,3961],{"title":3934,"path":3930,"stem":3931,"category":3913,"description":3935},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":3937,"path":3938,"stem":3939,"category":3913,"description":3940},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":3942,"path":3943,"stem":3944,"category":3913,"description":3945},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":3947,"path":3948,"stem":3949,"category":3913,"description":3950},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":3952,"path":3953,"stem":3954,"category":3913,"description":3955},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":3957,"path":3958,"stem":3959,"category":3913,"description":3960},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":3962,"path":3963,"stem":3964,"category":3913,"description":3965},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":3968,"category":3913,"description":3913,"icon":3969,"path":3970,"stem":3971,"children":3972,"page":3915},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[3973,3977,3978,3983,3988,3993,3998,4003,4008,4013],{"title":3929,"path":3974,"stem":3975,"category":3913,"description":3976},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":3846,"path":3917,"stem":3920,"category":3913,"description":15},{"title":3979,"path":3980,"stem":3981,"category":3913,"description":3982},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":3984,"path":3985,"stem":3986,"category":3913,"description":3987},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":3989,"path":3990,"stem":3991,"category":3913,"description":3992},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":3994,"path":3995,"stem":3996,"category":3913,"description":3997},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":3999,"path":4000,"stem":4001,"category":3913,"description":4002},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":4004,"path":4005,"stem":4006,"category":3913,"description":4007},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":4009,"path":4010,"stem":4011,"category":3913,"description":4012},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":4014,"path":4015,"stem":4016,"category":3913,"description":4017},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":4019,"path":4020,"stem":4021,"children":4022,"category":3913,"description":3913,"icon":4055},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[4023,4025,4030,4035,4040,4045,4050],{"title":3934,"path":4020,"stem":4021,"category":3913,"description":4024},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":4026,"path":4027,"stem":4028,"category":3913,"description":4029},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":4031,"path":4032,"stem":4033,"category":3913,"description":4034},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":4036,"path":4037,"stem":4038,"category":3913,"description":4039},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":4041,"path":4042,"stem":4043,"category":3913,"description":4044},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":4046,"path":4047,"stem":4048,"category":3913,"description":4049},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":4051,"path":4052,"stem":4053,"category":3913,"description":4054},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":4057,"path":4058,"stem":4059,"children":4060,"category":3913,"description":3913,"icon":4094},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[4061,4064,4069,4074,4079,4084,4089],{"title":4062,"path":4058,"stem":4059,"category":3913,"description":4063},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":4065,"path":4066,"stem":4067,"category":3913,"description":4068},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":4070,"path":4071,"stem":4072,"category":3913,"description":4073},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":4075,"path":4076,"stem":4077,"category":3913,"description":4078},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":4080,"path":4081,"stem":4082,"category":3913,"description":4083},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":4085,"path":4086,"stem":4087,"category":3913,"description":4088},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":4090,"path":4091,"stem":4092,"category":3913,"description":4093},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":4096,"category":3913,"description":3913,"icon":4097,"path":4098,"stem":4099,"children":4100,"page":3915},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[4101,4107,4113],{"title":4102,"path":4103,"stem":4104,"category":4105,"description":4106},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":4108,"path":4109,"stem":4110,"category":4111,"description":4112},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":4114,"path":4115,"stem":4116,"category":4105,"description":4117,"badge":4118},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":4120,"body":4121},{},{"type":6,"children":4122},[4123],{"type":9,"tag":10,"props":4124,"children":4125},{},[4126,4128],{"type":14,"value":4127},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":4129,"children":4132},{"className":4130},[4131],"text-highlighted",[4133],{"type":14,"value":4134},"MIT License",[4136,4137],{"title":3929,"path":3974,"stem":3975,"description":3976,"children":-1},{"title":3979,"path":3980,"stem":3981,"description":3982,"children":-1},1795763776887,"237a5cff-9aba-4421-be98-81a239f14b62"]