[{"data":1,"prerenderedAt":7995,"buildId":7996},["ShallowReactive",2],{"-docs-auto-form-object-array-description":3,"component-example-autoFormAsyncItemsArrayExample":16,"component-example-autoFormAsyncItemsArrayExampletdCNQ6226iiZKNkds9W7nqV771lTw8VEX0JmHKG7zWU":20,"component-example-autoFormFieldArrayCheckboxGroupExample":854,"component-example-autoFormFieldArrayCheckboxGroupExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":858,"component-example-autoFormFieldArrayInputTagsExample":1623,"component-example-autoFormFieldArrayInputTagsExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":1627,"component-example-autoFormFieldArrayObjectExample":2231,"component-example-autoFormFieldArrayObjectExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2235,"component-example-autoFormFieldObjectBasicExample":3192,"component-example-autoFormFieldObjectBasicExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":3196,"component-example-autoFormFieldObjectNestedExample":4522,"component-example-autoFormFieldObjectNestedExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":4526,"component-example-autoFormFieldObjectTypedExample":5182,"component-example-autoFormFieldObjectTypedExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":5186,"docs--docs-auto-form-object-array":6905,"docs-navigation-zh-CN":7779,"mdc-d0lvp9-key":7976,"surround--docs-auto-form-object-array":7992},{"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","嵌套对象与动态数组字段的渲染与增删。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript setup lang=\"ts\">\nimport type { AutoFormAsyncItems } from '@movk\u002Fnuxt'\n\nconst { afz } = useAutoForm()\nconst cities = { France: ['Lyon', 'Paris'], Japan: ['Kyoto', 'Tokyo'] }\nconst cityOptions: AutoFormAsyncItems = {\n  deps: state => state.country,\n  async load({ state }) {\n    return state.country === 'Japan' ? cities.Japan : cities.France\n  }\n}\nconst schema = afz.object({\n  country: afz.enum(['France', 'Japan']).default('France'),\n  city: afz.string({ type: 'selectMenu' }).optional().meta({ type: 'selectMenu', asyncItems: cityOptions }),\n  tasks: afz.array(afz.string()).min(1).max(4).meta({ sortable: true, duplicable: true })\n})\nconst state = ref({ country: 'France' as 'France' | 'Japan', tasks: ['Draft', 'Review'] })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit=\"false\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Fquickstart\u002FAutoFormAsyncItemsArrayExample.vue","AutoFormAsyncItemsArrayExample",{"data":21,"body":23,"toc":852},{"title":22,"description":22},"",{"type":6,"children":24},[25,846],{"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 { AutoFormAsyncItems } from '@movk\u002Fnuxt'\n\nconst { afz } = useAutoForm()\nconst cities = { France: ['Lyon', 'Paris'], Japan: ['Kyoto', 'Tokyo'] }\nconst cityOptions: AutoFormAsyncItems = {\n  deps: state => state.country,\n  async load({ state }) {\n    return state.country === 'Japan' ? cities.Japan : cities.France\n  }\n}\nconst schema = afz.object({\n  country: afz.enum(['France', 'Japan']).default('France'),\n  city: afz.string({ type: 'selectMenu' }).optional().meta({ type: 'selectMenu', asyncItems: cityOptions }),\n  tasks: afz.array(afz.string()).min(1).max(4).meta({ sortable: true, duplicable: true })\n})\nconst state = ref({ country: 'France' as 'France' | 'Japan', tasks: ['Draft', 'Review'] })\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit=\"false\" \u002F>\n\u003C\u002Ftemplate>\n\n","vue",[32],{"type":9,"tag":33,"props":34,"children":35},"code",{"__ignoreMap":22},[36,81,111,121,160,222,254,284,312,355,364,373,405,462,519,612,621,695,712,720,737,830],{"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}," { AutoFormAsyncItems } ",{"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}," '@movk\u002Fnuxt'\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,188,193,198,203,208,212,217],{"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}," cities",{"type":9,"tag":37,"props":174,"children":175},{"style":87},[176],{"type":14,"value":177}," =",{"type":9,"tag":37,"props":179,"children":180},{"style":44},[181],{"type":14,"value":182}," { France: [",{"type":9,"tag":37,"props":184,"children":185},{"style":72},[186],{"type":14,"value":187},"'Lyon'",{"type":9,"tag":37,"props":189,"children":190},{"style":44},[191],{"type":14,"value":192},", ",{"type":9,"tag":37,"props":194,"children":195},{"style":72},[196],{"type":14,"value":197},"'Paris'",{"type":9,"tag":37,"props":199,"children":200},{"style":44},[201],{"type":14,"value":202},"], Japan: [",{"type":9,"tag":37,"props":204,"children":205},{"style":72},[206],{"type":14,"value":207},"'Kyoto'",{"type":9,"tag":37,"props":209,"children":210},{"style":44},[211],{"type":14,"value":192},{"type":9,"tag":37,"props":213,"children":214},{"style":72},[215],{"type":14,"value":216},"'Tokyo'",{"type":9,"tag":37,"props":218,"children":219},{"style":44},[220],{"type":14,"value":221},"] }\n",{"type":9,"tag":37,"props":223,"children":225},{"class":39,"line":224},6,[226,230,235,240,245,249],{"type":9,"tag":37,"props":227,"children":228},{"style":87},[229],{"type":14,"value":129},{"type":9,"tag":37,"props":231,"children":232},{"style":137},[233],{"type":14,"value":234}," cityOptions",{"type":9,"tag":37,"props":236,"children":237},{"style":87},[238],{"type":14,"value":239},":",{"type":9,"tag":37,"props":241,"children":242},{"style":56},[243],{"type":14,"value":244}," AutoFormAsyncItems",{"type":9,"tag":37,"props":246,"children":247},{"style":87},[248],{"type":14,"value":177},{"type":9,"tag":37,"props":250,"children":251},{"style":44},[252],{"type":14,"value":253}," {\n",{"type":9,"tag":37,"props":255,"children":257},{"class":39,"line":256},7,[258,263,268,274,279],{"type":9,"tag":37,"props":259,"children":260},{"style":56},[261],{"type":14,"value":262},"  deps",{"type":9,"tag":37,"props":264,"children":265},{"style":44},[266],{"type":14,"value":267},": ",{"type":9,"tag":37,"props":269,"children":271},{"style":270},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[272],{"type":14,"value":273},"state",{"type":9,"tag":37,"props":275,"children":276},{"style":87},[277],{"type":14,"value":278}," =>",{"type":9,"tag":37,"props":280,"children":281},{"style":44},[282],{"type":14,"value":283}," state.country,\n",{"type":9,"tag":37,"props":285,"children":287},{"class":39,"line":286},8,[288,293,298,303,307],{"type":9,"tag":37,"props":289,"children":290},{"style":87},[291],{"type":14,"value":292},"  async",{"type":9,"tag":37,"props":294,"children":295},{"style":56},[296],{"type":14,"value":297}," load",{"type":9,"tag":37,"props":299,"children":300},{"style":44},[301],{"type":14,"value":302},"({ ",{"type":9,"tag":37,"props":304,"children":305},{"style":270},[306],{"type":14,"value":273},{"type":9,"tag":37,"props":308,"children":309},{"style":44},[310],{"type":14,"value":311}," }) {\n",{"type":9,"tag":37,"props":313,"children":315},{"class":39,"line":314},9,[316,321,326,331,336,341,346,350],{"type":9,"tag":37,"props":317,"children":318},{"style":87},[319],{"type":14,"value":320},"    return",{"type":9,"tag":37,"props":322,"children":323},{"style":44},[324],{"type":14,"value":325}," state.country ",{"type":9,"tag":37,"props":327,"children":328},{"style":87},[329],{"type":14,"value":330},"===",{"type":9,"tag":37,"props":332,"children":333},{"style":72},[334],{"type":14,"value":335}," 'Japan'",{"type":9,"tag":37,"props":337,"children":338},{"style":87},[339],{"type":14,"value":340}," ?",{"type":9,"tag":37,"props":342,"children":343},{"style":44},[344],{"type":14,"value":345}," cities.Japan ",{"type":9,"tag":37,"props":347,"children":348},{"style":87},[349],{"type":14,"value":239},{"type":9,"tag":37,"props":351,"children":352},{"style":44},[353],{"type":14,"value":354}," cities.France\n",{"type":9,"tag":37,"props":356,"children":358},{"class":39,"line":357},10,[359],{"type":9,"tag":37,"props":360,"children":361},{"style":44},[362],{"type":14,"value":363},"  }\n",{"type":9,"tag":37,"props":365,"children":367},{"class":39,"line":366},11,[368],{"type":9,"tag":37,"props":369,"children":370},{"style":44},[371],{"type":14,"value":372},"}\n",{"type":9,"tag":37,"props":374,"children":376},{"class":39,"line":375},12,[377,381,386,390,395,400],{"type":9,"tag":37,"props":378,"children":379},{"style":87},[380],{"type":14,"value":129},{"type":9,"tag":37,"props":382,"children":383},{"style":137},[384],{"type":14,"value":385}," schema",{"type":9,"tag":37,"props":387,"children":388},{"style":87},[389],{"type":14,"value":177},{"type":9,"tag":37,"props":391,"children":392},{"style":44},[393],{"type":14,"value":394}," afz.",{"type":9,"tag":37,"props":396,"children":397},{"style":56},[398],{"type":14,"value":399},"object",{"type":9,"tag":37,"props":401,"children":402},{"style":44},[403],{"type":14,"value":404},"({\n",{"type":9,"tag":37,"props":406,"children":408},{"class":39,"line":407},13,[409,414,419,424,429,433,438,443,448,453,457],{"type":9,"tag":37,"props":410,"children":411},{"style":44},[412],{"type":14,"value":413},"  country: afz.",{"type":9,"tag":37,"props":415,"children":416},{"style":56},[417],{"type":14,"value":418},"enum",{"type":9,"tag":37,"props":420,"children":421},{"style":44},[422],{"type":14,"value":423},"([",{"type":9,"tag":37,"props":425,"children":426},{"style":72},[427],{"type":14,"value":428},"'France'",{"type":9,"tag":37,"props":430,"children":431},{"style":44},[432],{"type":14,"value":192},{"type":9,"tag":37,"props":434,"children":435},{"style":72},[436],{"type":14,"value":437},"'Japan'",{"type":9,"tag":37,"props":439,"children":440},{"style":44},[441],{"type":14,"value":442},"]).",{"type":9,"tag":37,"props":444,"children":445},{"style":56},[446],{"type":14,"value":447},"default",{"type":9,"tag":37,"props":449,"children":450},{"style":44},[451],{"type":14,"value":452},"(",{"type":9,"tag":37,"props":454,"children":455},{"style":72},[456],{"type":14,"value":428},{"type":9,"tag":37,"props":458,"children":459},{"style":44},[460],{"type":14,"value":461},"),\n",{"type":9,"tag":37,"props":463,"children":465},{"class":39,"line":464},14,[466,471,476,481,486,491,496,501,506,510,514],{"type":9,"tag":37,"props":467,"children":468},{"style":44},[469],{"type":14,"value":470},"  city: afz.",{"type":9,"tag":37,"props":472,"children":473},{"style":56},[474],{"type":14,"value":475},"string",{"type":9,"tag":37,"props":477,"children":478},{"style":44},[479],{"type":14,"value":480},"({ type: ",{"type":9,"tag":37,"props":482,"children":483},{"style":72},[484],{"type":14,"value":485},"'selectMenu'",{"type":9,"tag":37,"props":487,"children":488},{"style":44},[489],{"type":14,"value":490}," }).",{"type":9,"tag":37,"props":492,"children":493},{"style":56},[494],{"type":14,"value":495},"optional",{"type":9,"tag":37,"props":497,"children":498},{"style":44},[499],{"type":14,"value":500},"().",{"type":9,"tag":37,"props":502,"children":503},{"style":56},[504],{"type":14,"value":505},"meta",{"type":9,"tag":37,"props":507,"children":508},{"style":44},[509],{"type":14,"value":480},{"type":9,"tag":37,"props":511,"children":512},{"style":72},[513],{"type":14,"value":485},{"type":9,"tag":37,"props":515,"children":516},{"style":44},[517],{"type":14,"value":518},", asyncItems: cityOptions }),\n",{"type":9,"tag":37,"props":520,"children":522},{"class":39,"line":521},15,[523,528,533,538,542,547,552,556,561,566,571,575,580,584,588,593,598,603,607],{"type":9,"tag":37,"props":524,"children":525},{"style":44},[526],{"type":14,"value":527},"  tasks: afz.",{"type":9,"tag":37,"props":529,"children":530},{"style":56},[531],{"type":14,"value":532},"array",{"type":9,"tag":37,"props":534,"children":535},{"style":44},[536],{"type":14,"value":537},"(afz.",{"type":9,"tag":37,"props":539,"children":540},{"style":56},[541],{"type":14,"value":475},{"type":9,"tag":37,"props":543,"children":544},{"style":44},[545],{"type":14,"value":546},"()).",{"type":9,"tag":37,"props":548,"children":549},{"style":56},[550],{"type":14,"value":551},"min",{"type":9,"tag":37,"props":553,"children":554},{"style":44},[555],{"type":14,"value":452},{"type":9,"tag":37,"props":557,"children":558},{"style":137},[559],{"type":14,"value":560},"1",{"type":9,"tag":37,"props":562,"children":563},{"style":44},[564],{"type":14,"value":565},").",{"type":9,"tag":37,"props":567,"children":568},{"style":56},[569],{"type":14,"value":570},"max",{"type":9,"tag":37,"props":572,"children":573},{"style":44},[574],{"type":14,"value":452},{"type":9,"tag":37,"props":576,"children":577},{"style":137},[578],{"type":14,"value":579},"4",{"type":9,"tag":37,"props":581,"children":582},{"style":44},[583],{"type":14,"value":565},{"type":9,"tag":37,"props":585,"children":586},{"style":56},[587],{"type":14,"value":505},{"type":9,"tag":37,"props":589,"children":590},{"style":44},[591],{"type":14,"value":592},"({ sortable: ",{"type":9,"tag":37,"props":594,"children":595},{"style":137},[596],{"type":14,"value":597},"true",{"type":9,"tag":37,"props":599,"children":600},{"style":44},[601],{"type":14,"value":602},", duplicable: ",{"type":9,"tag":37,"props":604,"children":605},{"style":137},[606],{"type":14,"value":597},{"type":9,"tag":37,"props":608,"children":609},{"style":44},[610],{"type":14,"value":611}," })\n",{"type":9,"tag":37,"props":613,"children":615},{"class":39,"line":614},16,[616],{"type":9,"tag":37,"props":617,"children":618},{"style":44},[619],{"type":14,"value":620},"})\n",{"type":9,"tag":37,"props":622,"children":624},{"class":39,"line":623},17,[625,629,634,638,643,648,652,657,662,667,671,676,681,685,690],{"type":9,"tag":37,"props":626,"children":627},{"style":87},[628],{"type":14,"value":129},{"type":9,"tag":37,"props":630,"children":631},{"style":137},[632],{"type":14,"value":633}," state",{"type":9,"tag":37,"props":635,"children":636},{"style":87},[637],{"type":14,"value":177},{"type":9,"tag":37,"props":639,"children":640},{"style":56},[641],{"type":14,"value":642}," ref",{"type":9,"tag":37,"props":644,"children":645},{"style":44},[646],{"type":14,"value":647},"({ country: ",{"type":9,"tag":37,"props":649,"children":650},{"style":72},[651],{"type":14,"value":428},{"type":9,"tag":37,"props":653,"children":654},{"style":87},[655],{"type":14,"value":656}," as",{"type":9,"tag":37,"props":658,"children":659},{"style":72},[660],{"type":14,"value":661}," 'France'",{"type":9,"tag":37,"props":663,"children":664},{"style":87},[665],{"type":14,"value":666}," |",{"type":9,"tag":37,"props":668,"children":669},{"style":72},[670],{"type":14,"value":335},{"type":9,"tag":37,"props":672,"children":673},{"style":44},[674],{"type":14,"value":675},", tasks: [",{"type":9,"tag":37,"props":677,"children":678},{"style":72},[679],{"type":14,"value":680},"'Draft'",{"type":9,"tag":37,"props":682,"children":683},{"style":44},[684],{"type":14,"value":192},{"type":9,"tag":37,"props":686,"children":687},{"style":72},[688],{"type":14,"value":689},"'Review'",{"type":9,"tag":37,"props":691,"children":692},{"style":44},[693],{"type":14,"value":694},"] })\n",{"type":9,"tag":37,"props":696,"children":698},{"class":39,"line":697},18,[699,704,708],{"type":9,"tag":37,"props":700,"children":701},{"style":44},[702],{"type":14,"value":703},"\u003C\u002F",{"type":9,"tag":37,"props":705,"children":706},{"style":50},[707],{"type":14,"value":53},{"type":9,"tag":37,"props":709,"children":710},{"style":44},[711],{"type":14,"value":80},{"type":9,"tag":37,"props":713,"children":715},{"class":39,"line":714},19,[716],{"type":9,"tag":37,"props":717,"children":718},{"emptyLinePlaceholder":117},[719],{"type":14,"value":120},{"type":9,"tag":37,"props":721,"children":723},{"class":39,"line":722},20,[724,728,733],{"type":9,"tag":37,"props":725,"children":726},{"style":44},[727],{"type":14,"value":47},{"type":9,"tag":37,"props":729,"children":730},{"style":50},[731],{"type":14,"value":732},"template",{"type":9,"tag":37,"props":734,"children":735},{"style":44},[736],{"type":14,"value":80},{"type":9,"tag":37,"props":738,"children":740},{"class":39,"line":739},21,[741,746,751,756,760,765,769,773,778,783,787,791,795,799,803,808,812,816,821,825],{"type":9,"tag":37,"props":742,"children":743},{"style":44},[744],{"type":14,"value":745},"  \u003C",{"type":9,"tag":37,"props":747,"children":748},{"style":50},[749],{"type":14,"value":750},"MAutoForm",{"type":9,"tag":37,"props":752,"children":753},{"style":56},[754],{"type":14,"value":755}," v-model",{"type":9,"tag":37,"props":757,"children":758},{"style":44},[759],{"type":14,"value":69},{"type":9,"tag":37,"props":761,"children":762},{"style":72},[763],{"type":14,"value":764},"\"",{"type":9,"tag":37,"props":766,"children":767},{"style":44},[768],{"type":14,"value":273},{"type":9,"tag":37,"props":770,"children":771},{"style":72},[772],{"type":14,"value":764},{"type":9,"tag":37,"props":774,"children":775},{"style":44},[776],{"type":14,"value":777}," :",{"type":9,"tag":37,"props":779,"children":780},{"style":56},[781],{"type":14,"value":782},"schema",{"type":9,"tag":37,"props":784,"children":785},{"style":44},[786],{"type":14,"value":69},{"type":9,"tag":37,"props":788,"children":789},{"style":72},[790],{"type":14,"value":764},{"type":9,"tag":37,"props":792,"children":793},{"style":44},[794],{"type":14,"value":782},{"type":9,"tag":37,"props":796,"children":797},{"style":72},[798],{"type":14,"value":764},{"type":9,"tag":37,"props":800,"children":801},{"style":44},[802],{"type":14,"value":777},{"type":9,"tag":37,"props":804,"children":805},{"style":56},[806],{"type":14,"value":807},"submit",{"type":9,"tag":37,"props":809,"children":810},{"style":44},[811],{"type":14,"value":69},{"type":9,"tag":37,"props":813,"children":814},{"style":72},[815],{"type":14,"value":764},{"type":9,"tag":37,"props":817,"children":818},{"style":137},[819],{"type":14,"value":820},"false",{"type":9,"tag":37,"props":822,"children":823},{"style":72},[824],{"type":14,"value":764},{"type":9,"tag":37,"props":826,"children":827},{"style":44},[828],{"type":14,"value":829}," \u002F>\n",{"type":9,"tag":37,"props":831,"children":833},{"class":39,"line":832},22,[834,838,842],{"type":9,"tag":37,"props":835,"children":836},{"style":44},[837],{"type":14,"value":703},{"type":9,"tag":37,"props":839,"children":840},{"style":50},[841],{"type":14,"value":732},{"type":9,"tag":37,"props":843,"children":844},{"style":44},[845],{"type":14,"value":80},{"type":9,"tag":847,"props":848,"children":849},"style",{},[850],{"type":14,"value":851},"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":853},[],{"code":855,"filePath":856,"pascalName":857},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  notifications: afz.array(afz.string(), {\n    type: 'checkboxGroup',\n    controlProps: {\n      items: [\n        { label: '邮件', value: 'email' },\n        { label: '短信', value: 'sms' },\n        { label: '电话', value: 'phone' }\n      ]\n    }\n  })\n    .default(['email'])\n    .meta({\n      label: '复选框组',\n      hint: '多选通知方式'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldArrayCheckboxGroupExample.vue","AutoFormFieldArrayCheckboxGroupExample",{"data":859,"body":860,"toc":1621},{"title":22,"description":22},{"type":6,"children":861},[862,1617],{"type":9,"tag":863,"props":864,"children":865},"code-collapse",{},[866],{"type":9,"tag":26,"props":867,"children":869},{"className":28,"code":868,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  notifications: afz.array(afz.string(), {\n    type: 'checkboxGroup',\n    controlProps: {\n      items: [\n        { label: '邮件', value: 'email' },\n        { label: '短信', value: 'sms' },\n        { label: '电话', value: 'phone' }\n      ]\n    }\n  })\n    .default(['email'])\n    .meta({\n      label: '复选框组',\n      hint: '多选通知方式'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[870],{"type":9,"tag":33,"props":871,"children":872},{"__ignoreMap":22},[873,904,929,954,961,992,1017,1024,1051,1076,1094,1102,1110,1138,1163,1189,1197,1205,1213,1238,1253,1270,1283,1292,1300,1308,1378,1396,1414,1432,1479,1487,1495,1511,1519,1535,1601],{"type":9,"tag":37,"props":874,"children":875},{"class":39,"line":40},[876,880,884,888,892,896,900],{"type":9,"tag":37,"props":877,"children":878},{"style":44},[879],{"type":14,"value":47},{"type":9,"tag":37,"props":881,"children":882},{"style":50},[883],{"type":14,"value":53},{"type":9,"tag":37,"props":885,"children":886},{"style":56},[887],{"type":14,"value":64},{"type":9,"tag":37,"props":889,"children":890},{"style":44},[891],{"type":14,"value":69},{"type":9,"tag":37,"props":893,"children":894},{"style":72},[895],{"type":14,"value":75},{"type":9,"tag":37,"props":897,"children":898},{"style":56},[899],{"type":14,"value":59},{"type":9,"tag":37,"props":901,"children":902},{"style":44},[903],{"type":14,"value":80},{"type":9,"tag":37,"props":905,"children":906},{"class":39,"line":83},[907,911,915,920,924],{"type":9,"tag":37,"props":908,"children":909},{"style":87},[910],{"type":14,"value":90},{"type":9,"tag":37,"props":912,"children":913},{"style":87},[914],{"type":14,"value":95},{"type":9,"tag":37,"props":916,"children":917},{"style":44},[918],{"type":14,"value":919}," { FormSubmitEvent } ",{"type":9,"tag":37,"props":921,"children":922},{"style":87},[923],{"type":14,"value":105},{"type":9,"tag":37,"props":925,"children":926},{"style":72},[927],{"type":14,"value":928}," '@nuxt\u002Fui'\n",{"type":9,"tag":37,"props":930,"children":931},{"class":39,"line":113},[932,936,940,945,949],{"type":9,"tag":37,"props":933,"children":934},{"style":87},[935],{"type":14,"value":90},{"type":9,"tag":37,"props":937,"children":938},{"style":87},[939],{"type":14,"value":95},{"type":9,"tag":37,"props":941,"children":942},{"style":44},[943],{"type":14,"value":944}," { z } ",{"type":9,"tag":37,"props":946,"children":947},{"style":87},[948],{"type":14,"value":105},{"type":9,"tag":37,"props":950,"children":951},{"style":72},[952],{"type":14,"value":953}," 'zod'\n",{"type":9,"tag":37,"props":955,"children":956},{"class":39,"line":123},[957],{"type":9,"tag":37,"props":958,"children":959},{"emptyLinePlaceholder":117},[960],{"type":14,"value":120},{"type":9,"tag":37,"props":962,"children":963},{"class":39,"line":162},[964,968,972,976,980,984,988],{"type":9,"tag":37,"props":965,"children":966},{"style":87},[967],{"type":14,"value":129},{"type":9,"tag":37,"props":969,"children":970},{"style":44},[971],{"type":14,"value":134},{"type":9,"tag":37,"props":973,"children":974},{"style":137},[975],{"type":14,"value":140},{"type":9,"tag":37,"props":977,"children":978},{"style":44},[979],{"type":14,"value":145},{"type":9,"tag":37,"props":981,"children":982},{"style":87},[983],{"type":14,"value":69},{"type":9,"tag":37,"props":985,"children":986},{"style":56},[987],{"type":14,"value":154},{"type":9,"tag":37,"props":989,"children":990},{"style":44},[991],{"type":14,"value":159},{"type":9,"tag":37,"props":993,"children":994},{"class":39,"line":224},[995,999,1004,1008,1013],{"type":9,"tag":37,"props":996,"children":997},{"style":87},[998],{"type":14,"value":129},{"type":9,"tag":37,"props":1000,"children":1001},{"style":137},[1002],{"type":14,"value":1003}," toast",{"type":9,"tag":37,"props":1005,"children":1006},{"style":87},[1007],{"type":14,"value":177},{"type":9,"tag":37,"props":1009,"children":1010},{"style":56},[1011],{"type":14,"value":1012}," useToast",{"type":9,"tag":37,"props":1014,"children":1015},{"style":44},[1016],{"type":14,"value":159},{"type":9,"tag":37,"props":1018,"children":1019},{"class":39,"line":256},[1020],{"type":9,"tag":37,"props":1021,"children":1022},{"emptyLinePlaceholder":117},[1023],{"type":14,"value":120},{"type":9,"tag":37,"props":1025,"children":1026},{"class":39,"line":286},[1027,1031,1035,1039,1043,1047],{"type":9,"tag":37,"props":1028,"children":1029},{"style":87},[1030],{"type":14,"value":129},{"type":9,"tag":37,"props":1032,"children":1033},{"style":137},[1034],{"type":14,"value":385},{"type":9,"tag":37,"props":1036,"children":1037},{"style":87},[1038],{"type":14,"value":177},{"type":9,"tag":37,"props":1040,"children":1041},{"style":44},[1042],{"type":14,"value":394},{"type":9,"tag":37,"props":1044,"children":1045},{"style":56},[1046],{"type":14,"value":399},{"type":9,"tag":37,"props":1048,"children":1049},{"style":44},[1050],{"type":14,"value":404},{"type":9,"tag":37,"props":1052,"children":1053},{"class":39,"line":314},[1054,1059,1063,1067,1071],{"type":9,"tag":37,"props":1055,"children":1056},{"style":44},[1057],{"type":14,"value":1058},"  notifications: afz.",{"type":9,"tag":37,"props":1060,"children":1061},{"style":56},[1062],{"type":14,"value":532},{"type":9,"tag":37,"props":1064,"children":1065},{"style":44},[1066],{"type":14,"value":537},{"type":9,"tag":37,"props":1068,"children":1069},{"style":56},[1070],{"type":14,"value":475},{"type":9,"tag":37,"props":1072,"children":1073},{"style":44},[1074],{"type":14,"value":1075},"(), {\n",{"type":9,"tag":37,"props":1077,"children":1078},{"class":39,"line":357},[1079,1084,1089],{"type":9,"tag":37,"props":1080,"children":1081},{"style":44},[1082],{"type":14,"value":1083},"    type: ",{"type":9,"tag":37,"props":1085,"children":1086},{"style":72},[1087],{"type":14,"value":1088},"'checkboxGroup'",{"type":9,"tag":37,"props":1090,"children":1091},{"style":44},[1092],{"type":14,"value":1093},",\n",{"type":9,"tag":37,"props":1095,"children":1096},{"class":39,"line":366},[1097],{"type":9,"tag":37,"props":1098,"children":1099},{"style":44},[1100],{"type":14,"value":1101},"    controlProps: {\n",{"type":9,"tag":37,"props":1103,"children":1104},{"class":39,"line":375},[1105],{"type":9,"tag":37,"props":1106,"children":1107},{"style":44},[1108],{"type":14,"value":1109},"      items: [\n",{"type":9,"tag":37,"props":1111,"children":1112},{"class":39,"line":407},[1113,1118,1123,1128,1133],{"type":9,"tag":37,"props":1114,"children":1115},{"style":44},[1116],{"type":14,"value":1117},"        { label: ",{"type":9,"tag":37,"props":1119,"children":1120},{"style":72},[1121],{"type":14,"value":1122},"'邮件'",{"type":9,"tag":37,"props":1124,"children":1125},{"style":44},[1126],{"type":14,"value":1127},", value: ",{"type":9,"tag":37,"props":1129,"children":1130},{"style":72},[1131],{"type":14,"value":1132},"'email'",{"type":9,"tag":37,"props":1134,"children":1135},{"style":44},[1136],{"type":14,"value":1137}," },\n",{"type":9,"tag":37,"props":1139,"children":1140},{"class":39,"line":464},[1141,1145,1150,1154,1159],{"type":9,"tag":37,"props":1142,"children":1143},{"style":44},[1144],{"type":14,"value":1117},{"type":9,"tag":37,"props":1146,"children":1147},{"style":72},[1148],{"type":14,"value":1149},"'短信'",{"type":9,"tag":37,"props":1151,"children":1152},{"style":44},[1153],{"type":14,"value":1127},{"type":9,"tag":37,"props":1155,"children":1156},{"style":72},[1157],{"type":14,"value":1158},"'sms'",{"type":9,"tag":37,"props":1160,"children":1161},{"style":44},[1162],{"type":14,"value":1137},{"type":9,"tag":37,"props":1164,"children":1165},{"class":39,"line":521},[1166,1170,1175,1179,1184],{"type":9,"tag":37,"props":1167,"children":1168},{"style":44},[1169],{"type":14,"value":1117},{"type":9,"tag":37,"props":1171,"children":1172},{"style":72},[1173],{"type":14,"value":1174},"'电话'",{"type":9,"tag":37,"props":1176,"children":1177},{"style":44},[1178],{"type":14,"value":1127},{"type":9,"tag":37,"props":1180,"children":1181},{"style":72},[1182],{"type":14,"value":1183},"'phone'",{"type":9,"tag":37,"props":1185,"children":1186},{"style":44},[1187],{"type":14,"value":1188}," }\n",{"type":9,"tag":37,"props":1190,"children":1191},{"class":39,"line":614},[1192],{"type":9,"tag":37,"props":1193,"children":1194},{"style":44},[1195],{"type":14,"value":1196},"      ]\n",{"type":9,"tag":37,"props":1198,"children":1199},{"class":39,"line":623},[1200],{"type":9,"tag":37,"props":1201,"children":1202},{"style":44},[1203],{"type":14,"value":1204},"    }\n",{"type":9,"tag":37,"props":1206,"children":1207},{"class":39,"line":697},[1208],{"type":9,"tag":37,"props":1209,"children":1210},{"style":44},[1211],{"type":14,"value":1212},"  })\n",{"type":9,"tag":37,"props":1214,"children":1215},{"class":39,"line":714},[1216,1221,1225,1229,1233],{"type":9,"tag":37,"props":1217,"children":1218},{"style":44},[1219],{"type":14,"value":1220},"    .",{"type":9,"tag":37,"props":1222,"children":1223},{"style":56},[1224],{"type":14,"value":447},{"type":9,"tag":37,"props":1226,"children":1227},{"style":44},[1228],{"type":14,"value":423},{"type":9,"tag":37,"props":1230,"children":1231},{"style":72},[1232],{"type":14,"value":1132},{"type":9,"tag":37,"props":1234,"children":1235},{"style":44},[1236],{"type":14,"value":1237},"])\n",{"type":9,"tag":37,"props":1239,"children":1240},{"class":39,"line":722},[1241,1245,1249],{"type":9,"tag":37,"props":1242,"children":1243},{"style":44},[1244],{"type":14,"value":1220},{"type":9,"tag":37,"props":1246,"children":1247},{"style":56},[1248],{"type":14,"value":505},{"type":9,"tag":37,"props":1250,"children":1251},{"style":44},[1252],{"type":14,"value":404},{"type":9,"tag":37,"props":1254,"children":1255},{"class":39,"line":739},[1256,1261,1266],{"type":9,"tag":37,"props":1257,"children":1258},{"style":44},[1259],{"type":14,"value":1260},"      label: ",{"type":9,"tag":37,"props":1262,"children":1263},{"style":72},[1264],{"type":14,"value":1265},"'复选框组'",{"type":9,"tag":37,"props":1267,"children":1268},{"style":44},[1269],{"type":14,"value":1093},{"type":9,"tag":37,"props":1271,"children":1272},{"class":39,"line":832},[1273,1278],{"type":9,"tag":37,"props":1274,"children":1275},{"style":44},[1276],{"type":14,"value":1277},"      hint: ",{"type":9,"tag":37,"props":1279,"children":1280},{"style":72},[1281],{"type":14,"value":1282},"'多选通知方式'\n",{"type":9,"tag":37,"props":1284,"children":1286},{"class":39,"line":1285},23,[1287],{"type":9,"tag":37,"props":1288,"children":1289},{"style":44},[1290],{"type":14,"value":1291},"    })\n",{"type":9,"tag":37,"props":1293,"children":1295},{"class":39,"line":1294},24,[1296],{"type":9,"tag":37,"props":1297,"children":1298},{"style":44},[1299],{"type":14,"value":620},{"type":9,"tag":37,"props":1301,"children":1303},{"class":39,"line":1302},25,[1304],{"type":9,"tag":37,"props":1305,"children":1306},{"emptyLinePlaceholder":117},[1307],{"type":14,"value":120},{"type":9,"tag":37,"props":1309,"children":1311},{"class":39,"line":1310},26,[1312,1317,1322,1327,1331,1336,1340,1345,1349,1354,1359,1364,1368,1373],{"type":9,"tag":37,"props":1313,"children":1314},{"style":87},[1315],{"type":14,"value":1316},"async",{"type":9,"tag":37,"props":1318,"children":1319},{"style":87},[1320],{"type":14,"value":1321}," function",{"type":9,"tag":37,"props":1323,"children":1324},{"style":56},[1325],{"type":14,"value":1326}," onSubmit",{"type":9,"tag":37,"props":1328,"children":1329},{"style":44},[1330],{"type":14,"value":452},{"type":9,"tag":37,"props":1332,"children":1333},{"style":270},[1334],{"type":14,"value":1335},"event",{"type":9,"tag":37,"props":1337,"children":1338},{"style":87},[1339],{"type":14,"value":239},{"type":9,"tag":37,"props":1341,"children":1342},{"style":56},[1343],{"type":14,"value":1344}," FormSubmitEvent",{"type":9,"tag":37,"props":1346,"children":1347},{"style":44},[1348],{"type":14,"value":47},{"type":9,"tag":37,"props":1350,"children":1351},{"style":56},[1352],{"type":14,"value":1353},"z",{"type":9,"tag":37,"props":1355,"children":1356},{"style":44},[1357],{"type":14,"value":1358},".",{"type":9,"tag":37,"props":1360,"children":1361},{"style":56},[1362],{"type":14,"value":1363},"output",{"type":9,"tag":37,"props":1365,"children":1366},{"style":44},[1367],{"type":14,"value":47},{"type":9,"tag":37,"props":1369,"children":1370},{"style":87},[1371],{"type":14,"value":1372},"typeof",{"type":9,"tag":37,"props":1374,"children":1375},{"style":44},[1376],{"type":14,"value":1377}," schema>>) {\n",{"type":9,"tag":37,"props":1379,"children":1381},{"class":39,"line":1380},27,[1382,1387,1392],{"type":9,"tag":37,"props":1383,"children":1384},{"style":44},[1385],{"type":14,"value":1386},"  toast.",{"type":9,"tag":37,"props":1388,"children":1389},{"style":56},[1390],{"type":14,"value":1391},"add",{"type":9,"tag":37,"props":1393,"children":1394},{"style":44},[1395],{"type":14,"value":404},{"type":9,"tag":37,"props":1397,"children":1399},{"class":39,"line":1398},28,[1400,1405,1410],{"type":9,"tag":37,"props":1401,"children":1402},{"style":44},[1403],{"type":14,"value":1404},"    title: ",{"type":9,"tag":37,"props":1406,"children":1407},{"style":72},[1408],{"type":14,"value":1409},"'Success'",{"type":9,"tag":37,"props":1411,"children":1412},{"style":44},[1413],{"type":14,"value":1093},{"type":9,"tag":37,"props":1415,"children":1417},{"class":39,"line":1416},29,[1418,1423,1428],{"type":9,"tag":37,"props":1419,"children":1420},{"style":44},[1421],{"type":14,"value":1422},"    color: ",{"type":9,"tag":37,"props":1424,"children":1425},{"style":72},[1426],{"type":14,"value":1427},"'success'",{"type":9,"tag":37,"props":1429,"children":1430},{"style":44},[1431],{"type":14,"value":1093},{"type":9,"tag":37,"props":1433,"children":1435},{"class":39,"line":1434},30,[1436,1441,1446,1450,1455,1460,1465,1469,1474],{"type":9,"tag":37,"props":1437,"children":1438},{"style":44},[1439],{"type":14,"value":1440},"    description: ",{"type":9,"tag":37,"props":1442,"children":1443},{"style":137},[1444],{"type":14,"value":1445},"JSON",{"type":9,"tag":37,"props":1447,"children":1448},{"style":44},[1449],{"type":14,"value":1358},{"type":9,"tag":37,"props":1451,"children":1452},{"style":56},[1453],{"type":14,"value":1454},"stringify",{"type":9,"tag":37,"props":1456,"children":1457},{"style":44},[1458],{"type":14,"value":1459},"(event.data, ",{"type":9,"tag":37,"props":1461,"children":1462},{"style":137},[1463],{"type":14,"value":1464},"null",{"type":9,"tag":37,"props":1466,"children":1467},{"style":44},[1468],{"type":14,"value":192},{"type":9,"tag":37,"props":1470,"children":1471},{"style":137},[1472],{"type":14,"value":1473},"2",{"type":9,"tag":37,"props":1475,"children":1476},{"style":44},[1477],{"type":14,"value":1478},")\n",{"type":9,"tag":37,"props":1480,"children":1482},{"class":39,"line":1481},31,[1483],{"type":9,"tag":37,"props":1484,"children":1485},{"style":44},[1486],{"type":14,"value":1212},{"type":9,"tag":37,"props":1488,"children":1490},{"class":39,"line":1489},32,[1491],{"type":9,"tag":37,"props":1492,"children":1493},{"style":44},[1494],{"type":14,"value":372},{"type":9,"tag":37,"props":1496,"children":1498},{"class":39,"line":1497},33,[1499,1503,1507],{"type":9,"tag":37,"props":1500,"children":1501},{"style":44},[1502],{"type":14,"value":703},{"type":9,"tag":37,"props":1504,"children":1505},{"style":50},[1506],{"type":14,"value":53},{"type":9,"tag":37,"props":1508,"children":1509},{"style":44},[1510],{"type":14,"value":80},{"type":9,"tag":37,"props":1512,"children":1514},{"class":39,"line":1513},34,[1515],{"type":9,"tag":37,"props":1516,"children":1517},{"emptyLinePlaceholder":117},[1518],{"type":14,"value":120},{"type":9,"tag":37,"props":1520,"children":1522},{"class":39,"line":1521},35,[1523,1527,1531],{"type":9,"tag":37,"props":1524,"children":1525},{"style":44},[1526],{"type":14,"value":47},{"type":9,"tag":37,"props":1528,"children":1529},{"style":50},[1530],{"type":14,"value":732},{"type":9,"tag":37,"props":1532,"children":1533},{"style":44},[1534],{"type":14,"value":80},{"type":9,"tag":37,"props":1536,"children":1538},{"class":39,"line":1537},36,[1539,1543,1547,1551,1555,1559,1563,1567,1571,1576,1580,1584,1588,1593,1597],{"type":9,"tag":37,"props":1540,"children":1541},{"style":44},[1542],{"type":14,"value":745},{"type":9,"tag":37,"props":1544,"children":1545},{"style":50},[1546],{"type":14,"value":750},{"type":9,"tag":37,"props":1548,"children":1549},{"style":44},[1550],{"type":14,"value":777},{"type":9,"tag":37,"props":1552,"children":1553},{"style":56},[1554],{"type":14,"value":782},{"type":9,"tag":37,"props":1556,"children":1557},{"style":44},[1558],{"type":14,"value":69},{"type":9,"tag":37,"props":1560,"children":1561},{"style":72},[1562],{"type":14,"value":764},{"type":9,"tag":37,"props":1564,"children":1565},{"style":44},[1566],{"type":14,"value":782},{"type":9,"tag":37,"props":1568,"children":1569},{"style":72},[1570],{"type":14,"value":764},{"type":9,"tag":37,"props":1572,"children":1573},{"style":44},[1574],{"type":14,"value":1575}," @",{"type":9,"tag":37,"props":1577,"children":1578},{"style":56},[1579],{"type":14,"value":807},{"type":9,"tag":37,"props":1581,"children":1582},{"style":44},[1583],{"type":14,"value":69},{"type":9,"tag":37,"props":1585,"children":1586},{"style":72},[1587],{"type":14,"value":764},{"type":9,"tag":37,"props":1589,"children":1590},{"style":44},[1591],{"type":14,"value":1592},"onSubmit",{"type":9,"tag":37,"props":1594,"children":1595},{"style":72},[1596],{"type":14,"value":764},{"type":9,"tag":37,"props":1598,"children":1599},{"style":44},[1600],{"type":14,"value":829},{"type":9,"tag":37,"props":1602,"children":1604},{"class":39,"line":1603},37,[1605,1609,1613],{"type":9,"tag":37,"props":1606,"children":1607},{"style":44},[1608],{"type":14,"value":703},{"type":9,"tag":37,"props":1610,"children":1611},{"style":50},[1612],{"type":14,"value":732},{"type":9,"tag":37,"props":1614,"children":1615},{"style":44},[1616],{"type":14,"value":80},{"type":9,"tag":847,"props":1618,"children":1619},{},[1620],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":1622},[],{"code":1624,"filePath":1625,"pascalName":1626},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  tags: afz.array(afz.string(), {\n    type: 'inputTags'\n  })\n    .default(['tag1', 'tag2'])\n    .meta({\n      label: '标签输入',\n      hint: '输入后按 Enter 添加标签'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldArrayInputTagsExample.vue","AutoFormFieldArrayInputTagsExample",{"data":1628,"body":1629,"toc":2229},{"title":22,"description":22},{"type":6,"children":1630},[1631,2225],{"type":9,"tag":863,"props":1632,"children":1633},{},[1634],{"type":9,"tag":26,"props":1635,"children":1637},{"className":28,"code":1636,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  tags: afz.array(afz.string(), {\n    type: 'inputTags'\n  })\n    .default(['tag1', 'tag2'])\n    .meta({\n      label: '标签输入',\n      hint: '输入后按 Enter 添加标签'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[1638],{"type":9,"tag":33,"props":1639,"children":1640},{"__ignoreMap":22},[1641,1672,1695,1718,1725,1756,1779,1786,1813,1837,1849,1856,1889,1904,1920,1932,1939,1946,1953,2012,2027,2042,2057,2096,2103,2110,2125,2132,2147,2210],{"type":9,"tag":37,"props":1642,"children":1643},{"class":39,"line":40},[1644,1648,1652,1656,1660,1664,1668],{"type":9,"tag":37,"props":1645,"children":1646},{"style":44},[1647],{"type":14,"value":47},{"type":9,"tag":37,"props":1649,"children":1650},{"style":50},[1651],{"type":14,"value":53},{"type":9,"tag":37,"props":1653,"children":1654},{"style":56},[1655],{"type":14,"value":64},{"type":9,"tag":37,"props":1657,"children":1658},{"style":44},[1659],{"type":14,"value":69},{"type":9,"tag":37,"props":1661,"children":1662},{"style":72},[1663],{"type":14,"value":75},{"type":9,"tag":37,"props":1665,"children":1666},{"style":56},[1667],{"type":14,"value":59},{"type":9,"tag":37,"props":1669,"children":1670},{"style":44},[1671],{"type":14,"value":80},{"type":9,"tag":37,"props":1673,"children":1674},{"class":39,"line":83},[1675,1679,1683,1687,1691],{"type":9,"tag":37,"props":1676,"children":1677},{"style":87},[1678],{"type":14,"value":90},{"type":9,"tag":37,"props":1680,"children":1681},{"style":87},[1682],{"type":14,"value":95},{"type":9,"tag":37,"props":1684,"children":1685},{"style":44},[1686],{"type":14,"value":919},{"type":9,"tag":37,"props":1688,"children":1689},{"style":87},[1690],{"type":14,"value":105},{"type":9,"tag":37,"props":1692,"children":1693},{"style":72},[1694],{"type":14,"value":928},{"type":9,"tag":37,"props":1696,"children":1697},{"class":39,"line":113},[1698,1702,1706,1710,1714],{"type":9,"tag":37,"props":1699,"children":1700},{"style":87},[1701],{"type":14,"value":90},{"type":9,"tag":37,"props":1703,"children":1704},{"style":87},[1705],{"type":14,"value":95},{"type":9,"tag":37,"props":1707,"children":1708},{"style":44},[1709],{"type":14,"value":944},{"type":9,"tag":37,"props":1711,"children":1712},{"style":87},[1713],{"type":14,"value":105},{"type":9,"tag":37,"props":1715,"children":1716},{"style":72},[1717],{"type":14,"value":953},{"type":9,"tag":37,"props":1719,"children":1720},{"class":39,"line":123},[1721],{"type":9,"tag":37,"props":1722,"children":1723},{"emptyLinePlaceholder":117},[1724],{"type":14,"value":120},{"type":9,"tag":37,"props":1726,"children":1727},{"class":39,"line":162},[1728,1732,1736,1740,1744,1748,1752],{"type":9,"tag":37,"props":1729,"children":1730},{"style":87},[1731],{"type":14,"value":129},{"type":9,"tag":37,"props":1733,"children":1734},{"style":44},[1735],{"type":14,"value":134},{"type":9,"tag":37,"props":1737,"children":1738},{"style":137},[1739],{"type":14,"value":140},{"type":9,"tag":37,"props":1741,"children":1742},{"style":44},[1743],{"type":14,"value":145},{"type":9,"tag":37,"props":1745,"children":1746},{"style":87},[1747],{"type":14,"value":69},{"type":9,"tag":37,"props":1749,"children":1750},{"style":56},[1751],{"type":14,"value":154},{"type":9,"tag":37,"props":1753,"children":1754},{"style":44},[1755],{"type":14,"value":159},{"type":9,"tag":37,"props":1757,"children":1758},{"class":39,"line":224},[1759,1763,1767,1771,1775],{"type":9,"tag":37,"props":1760,"children":1761},{"style":87},[1762],{"type":14,"value":129},{"type":9,"tag":37,"props":1764,"children":1765},{"style":137},[1766],{"type":14,"value":1003},{"type":9,"tag":37,"props":1768,"children":1769},{"style":87},[1770],{"type":14,"value":177},{"type":9,"tag":37,"props":1772,"children":1773},{"style":56},[1774],{"type":14,"value":1012},{"type":9,"tag":37,"props":1776,"children":1777},{"style":44},[1778],{"type":14,"value":159},{"type":9,"tag":37,"props":1780,"children":1781},{"class":39,"line":256},[1782],{"type":9,"tag":37,"props":1783,"children":1784},{"emptyLinePlaceholder":117},[1785],{"type":14,"value":120},{"type":9,"tag":37,"props":1787,"children":1788},{"class":39,"line":286},[1789,1793,1797,1801,1805,1809],{"type":9,"tag":37,"props":1790,"children":1791},{"style":87},[1792],{"type":14,"value":129},{"type":9,"tag":37,"props":1794,"children":1795},{"style":137},[1796],{"type":14,"value":385},{"type":9,"tag":37,"props":1798,"children":1799},{"style":87},[1800],{"type":14,"value":177},{"type":9,"tag":37,"props":1802,"children":1803},{"style":44},[1804],{"type":14,"value":394},{"type":9,"tag":37,"props":1806,"children":1807},{"style":56},[1808],{"type":14,"value":399},{"type":9,"tag":37,"props":1810,"children":1811},{"style":44},[1812],{"type":14,"value":404},{"type":9,"tag":37,"props":1814,"children":1815},{"class":39,"line":314},[1816,1821,1825,1829,1833],{"type":9,"tag":37,"props":1817,"children":1818},{"style":44},[1819],{"type":14,"value":1820},"  tags: afz.",{"type":9,"tag":37,"props":1822,"children":1823},{"style":56},[1824],{"type":14,"value":532},{"type":9,"tag":37,"props":1826,"children":1827},{"style":44},[1828],{"type":14,"value":537},{"type":9,"tag":37,"props":1830,"children":1831},{"style":56},[1832],{"type":14,"value":475},{"type":9,"tag":37,"props":1834,"children":1835},{"style":44},[1836],{"type":14,"value":1075},{"type":9,"tag":37,"props":1838,"children":1839},{"class":39,"line":357},[1840,1844],{"type":9,"tag":37,"props":1841,"children":1842},{"style":44},[1843],{"type":14,"value":1083},{"type":9,"tag":37,"props":1845,"children":1846},{"style":72},[1847],{"type":14,"value":1848},"'inputTags'\n",{"type":9,"tag":37,"props":1850,"children":1851},{"class":39,"line":366},[1852],{"type":9,"tag":37,"props":1853,"children":1854},{"style":44},[1855],{"type":14,"value":1212},{"type":9,"tag":37,"props":1857,"children":1858},{"class":39,"line":375},[1859,1863,1867,1871,1876,1880,1885],{"type":9,"tag":37,"props":1860,"children":1861},{"style":44},[1862],{"type":14,"value":1220},{"type":9,"tag":37,"props":1864,"children":1865},{"style":56},[1866],{"type":14,"value":447},{"type":9,"tag":37,"props":1868,"children":1869},{"style":44},[1870],{"type":14,"value":423},{"type":9,"tag":37,"props":1872,"children":1873},{"style":72},[1874],{"type":14,"value":1875},"'tag1'",{"type":9,"tag":37,"props":1877,"children":1878},{"style":44},[1879],{"type":14,"value":192},{"type":9,"tag":37,"props":1881,"children":1882},{"style":72},[1883],{"type":14,"value":1884},"'tag2'",{"type":9,"tag":37,"props":1886,"children":1887},{"style":44},[1888],{"type":14,"value":1237},{"type":9,"tag":37,"props":1890,"children":1891},{"class":39,"line":407},[1892,1896,1900],{"type":9,"tag":37,"props":1893,"children":1894},{"style":44},[1895],{"type":14,"value":1220},{"type":9,"tag":37,"props":1897,"children":1898},{"style":56},[1899],{"type":14,"value":505},{"type":9,"tag":37,"props":1901,"children":1902},{"style":44},[1903],{"type":14,"value":404},{"type":9,"tag":37,"props":1905,"children":1906},{"class":39,"line":464},[1907,1911,1916],{"type":9,"tag":37,"props":1908,"children":1909},{"style":44},[1910],{"type":14,"value":1260},{"type":9,"tag":37,"props":1912,"children":1913},{"style":72},[1914],{"type":14,"value":1915},"'标签输入'",{"type":9,"tag":37,"props":1917,"children":1918},{"style":44},[1919],{"type":14,"value":1093},{"type":9,"tag":37,"props":1921,"children":1922},{"class":39,"line":521},[1923,1927],{"type":9,"tag":37,"props":1924,"children":1925},{"style":44},[1926],{"type":14,"value":1277},{"type":9,"tag":37,"props":1928,"children":1929},{"style":72},[1930],{"type":14,"value":1931},"'输入后按 Enter 添加标签'\n",{"type":9,"tag":37,"props":1933,"children":1934},{"class":39,"line":614},[1935],{"type":9,"tag":37,"props":1936,"children":1937},{"style":44},[1938],{"type":14,"value":1291},{"type":9,"tag":37,"props":1940,"children":1941},{"class":39,"line":623},[1942],{"type":9,"tag":37,"props":1943,"children":1944},{"style":44},[1945],{"type":14,"value":620},{"type":9,"tag":37,"props":1947,"children":1948},{"class":39,"line":697},[1949],{"type":9,"tag":37,"props":1950,"children":1951},{"emptyLinePlaceholder":117},[1952],{"type":14,"value":120},{"type":9,"tag":37,"props":1954,"children":1955},{"class":39,"line":714},[1956,1960,1964,1968,1972,1976,1980,1984,1988,1992,1996,2000,2004,2008],{"type":9,"tag":37,"props":1957,"children":1958},{"style":87},[1959],{"type":14,"value":1316},{"type":9,"tag":37,"props":1961,"children":1962},{"style":87},[1963],{"type":14,"value":1321},{"type":9,"tag":37,"props":1965,"children":1966},{"style":56},[1967],{"type":14,"value":1326},{"type":9,"tag":37,"props":1969,"children":1970},{"style":44},[1971],{"type":14,"value":452},{"type":9,"tag":37,"props":1973,"children":1974},{"style":270},[1975],{"type":14,"value":1335},{"type":9,"tag":37,"props":1977,"children":1978},{"style":87},[1979],{"type":14,"value":239},{"type":9,"tag":37,"props":1981,"children":1982},{"style":56},[1983],{"type":14,"value":1344},{"type":9,"tag":37,"props":1985,"children":1986},{"style":44},[1987],{"type":14,"value":47},{"type":9,"tag":37,"props":1989,"children":1990},{"style":56},[1991],{"type":14,"value":1353},{"type":9,"tag":37,"props":1993,"children":1994},{"style":44},[1995],{"type":14,"value":1358},{"type":9,"tag":37,"props":1997,"children":1998},{"style":56},[1999],{"type":14,"value":1363},{"type":9,"tag":37,"props":2001,"children":2002},{"style":44},[2003],{"type":14,"value":47},{"type":9,"tag":37,"props":2005,"children":2006},{"style":87},[2007],{"type":14,"value":1372},{"type":9,"tag":37,"props":2009,"children":2010},{"style":44},[2011],{"type":14,"value":1377},{"type":9,"tag":37,"props":2013,"children":2014},{"class":39,"line":722},[2015,2019,2023],{"type":9,"tag":37,"props":2016,"children":2017},{"style":44},[2018],{"type":14,"value":1386},{"type":9,"tag":37,"props":2020,"children":2021},{"style":56},[2022],{"type":14,"value":1391},{"type":9,"tag":37,"props":2024,"children":2025},{"style":44},[2026],{"type":14,"value":404},{"type":9,"tag":37,"props":2028,"children":2029},{"class":39,"line":739},[2030,2034,2038],{"type":9,"tag":37,"props":2031,"children":2032},{"style":44},[2033],{"type":14,"value":1404},{"type":9,"tag":37,"props":2035,"children":2036},{"style":72},[2037],{"type":14,"value":1409},{"type":9,"tag":37,"props":2039,"children":2040},{"style":44},[2041],{"type":14,"value":1093},{"type":9,"tag":37,"props":2043,"children":2044},{"class":39,"line":832},[2045,2049,2053],{"type":9,"tag":37,"props":2046,"children":2047},{"style":44},[2048],{"type":14,"value":1422},{"type":9,"tag":37,"props":2050,"children":2051},{"style":72},[2052],{"type":14,"value":1427},{"type":9,"tag":37,"props":2054,"children":2055},{"style":44},[2056],{"type":14,"value":1093},{"type":9,"tag":37,"props":2058,"children":2059},{"class":39,"line":1285},[2060,2064,2068,2072,2076,2080,2084,2088,2092],{"type":9,"tag":37,"props":2061,"children":2062},{"style":44},[2063],{"type":14,"value":1440},{"type":9,"tag":37,"props":2065,"children":2066},{"style":137},[2067],{"type":14,"value":1445},{"type":9,"tag":37,"props":2069,"children":2070},{"style":44},[2071],{"type":14,"value":1358},{"type":9,"tag":37,"props":2073,"children":2074},{"style":56},[2075],{"type":14,"value":1454},{"type":9,"tag":37,"props":2077,"children":2078},{"style":44},[2079],{"type":14,"value":1459},{"type":9,"tag":37,"props":2081,"children":2082},{"style":137},[2083],{"type":14,"value":1464},{"type":9,"tag":37,"props":2085,"children":2086},{"style":44},[2087],{"type":14,"value":192},{"type":9,"tag":37,"props":2089,"children":2090},{"style":137},[2091],{"type":14,"value":1473},{"type":9,"tag":37,"props":2093,"children":2094},{"style":44},[2095],{"type":14,"value":1478},{"type":9,"tag":37,"props":2097,"children":2098},{"class":39,"line":1294},[2099],{"type":9,"tag":37,"props":2100,"children":2101},{"style":44},[2102],{"type":14,"value":1212},{"type":9,"tag":37,"props":2104,"children":2105},{"class":39,"line":1302},[2106],{"type":9,"tag":37,"props":2107,"children":2108},{"style":44},[2109],{"type":14,"value":372},{"type":9,"tag":37,"props":2111,"children":2112},{"class":39,"line":1310},[2113,2117,2121],{"type":9,"tag":37,"props":2114,"children":2115},{"style":44},[2116],{"type":14,"value":703},{"type":9,"tag":37,"props":2118,"children":2119},{"style":50},[2120],{"type":14,"value":53},{"type":9,"tag":37,"props":2122,"children":2123},{"style":44},[2124],{"type":14,"value":80},{"type":9,"tag":37,"props":2126,"children":2127},{"class":39,"line":1380},[2128],{"type":9,"tag":37,"props":2129,"children":2130},{"emptyLinePlaceholder":117},[2131],{"type":14,"value":120},{"type":9,"tag":37,"props":2133,"children":2134},{"class":39,"line":1398},[2135,2139,2143],{"type":9,"tag":37,"props":2136,"children":2137},{"style":44},[2138],{"type":14,"value":47},{"type":9,"tag":37,"props":2140,"children":2141},{"style":50},[2142],{"type":14,"value":732},{"type":9,"tag":37,"props":2144,"children":2145},{"style":44},[2146],{"type":14,"value":80},{"type":9,"tag":37,"props":2148,"children":2149},{"class":39,"line":1416},[2150,2154,2158,2162,2166,2170,2174,2178,2182,2186,2190,2194,2198,2202,2206],{"type":9,"tag":37,"props":2151,"children":2152},{"style":44},[2153],{"type":14,"value":745},{"type":9,"tag":37,"props":2155,"children":2156},{"style":50},[2157],{"type":14,"value":750},{"type":9,"tag":37,"props":2159,"children":2160},{"style":44},[2161],{"type":14,"value":777},{"type":9,"tag":37,"props":2163,"children":2164},{"style":56},[2165],{"type":14,"value":782},{"type":9,"tag":37,"props":2167,"children":2168},{"style":44},[2169],{"type":14,"value":69},{"type":9,"tag":37,"props":2171,"children":2172},{"style":72},[2173],{"type":14,"value":764},{"type":9,"tag":37,"props":2175,"children":2176},{"style":44},[2177],{"type":14,"value":782},{"type":9,"tag":37,"props":2179,"children":2180},{"style":72},[2181],{"type":14,"value":764},{"type":9,"tag":37,"props":2183,"children":2184},{"style":44},[2185],{"type":14,"value":1575},{"type":9,"tag":37,"props":2187,"children":2188},{"style":56},[2189],{"type":14,"value":807},{"type":9,"tag":37,"props":2191,"children":2192},{"style":44},[2193],{"type":14,"value":69},{"type":9,"tag":37,"props":2195,"children":2196},{"style":72},[2197],{"type":14,"value":764},{"type":9,"tag":37,"props":2199,"children":2200},{"style":44},[2201],{"type":14,"value":1592},{"type":9,"tag":37,"props":2203,"children":2204},{"style":72},[2205],{"type":14,"value":764},{"type":9,"tag":37,"props":2207,"children":2208},{"style":44},[2209],{"type":14,"value":829},{"type":9,"tag":37,"props":2211,"children":2212},{"class":39,"line":1434},[2213,2217,2221],{"type":9,"tag":37,"props":2214,"children":2215},{"style":44},[2216],{"type":14,"value":703},{"type":9,"tag":37,"props":2218,"children":2219},{"style":50},[2220],{"type":14,"value":732},{"type":9,"tag":37,"props":2222,"children":2223},{"style":44},[2224],{"type":14,"value":80},{"type":9,"tag":847,"props":2226,"children":2227},{},[2228],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":2230},[],{"code":2232,"filePath":2233,"pascalName":2234},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  experience: afz.array(\n    afz.object({\n      company: afz.string({\n        controlProps: {\n          placeholder: '公司名称'\n        }\n      }).min(1).meta({ label: '公司' }),\n      position: afz.string({\n        controlProps: {\n          placeholder: '职位'\n        }\n      }).min(1).meta({ label: '职位' }),\n      years: afz.number({\n        controlProps: {\n          placeholder: '工作年限'\n        }\n      }).int().min(0).max(50).meta({ label: '年限', hint: '工作年数' })\n    }).meta({ label: '工作经历' })\n  ).default([{\n    company: '示例公司',\n    position: '软件工程师',\n    years: 3\n  }]).meta({\n    label: '工作经历列表',\n    collapsible: { defaultOpen: true }\n  })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldArrayObjectExample.vue","AutoFormFieldArrayObjectExample",{"data":2236,"body":2237,"toc":3190},{"title":22,"description":22},{"type":6,"children":2238},[2239,3186],{"type":9,"tag":863,"props":2240,"children":2241},{},[2242],{"type":9,"tag":26,"props":2243,"children":2245},{"className":28,"code":2244,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  experience: afz.array(\n    afz.object({\n      company: afz.string({\n        controlProps: {\n          placeholder: '公司名称'\n        }\n      }).min(1).meta({ label: '公司' }),\n      position: afz.string({\n        controlProps: {\n          placeholder: '职位'\n        }\n      }).min(1).meta({ label: '职位' }),\n      years: afz.number({\n        controlProps: {\n          placeholder: '工作年限'\n        }\n      }).int().min(0).max(50).meta({ label: '年限', hint: '工作年数' })\n    }).meta({ label: '工作经历' })\n  ).default([{\n    company: '示例公司',\n    position: '软件工程师',\n    years: 3\n  }]).meta({\n    label: '工作经历列表',\n    collapsible: { defaultOpen: true }\n  })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[2246],{"type":9,"tag":33,"props":2247,"children":2248},{"__ignoreMap":22},[2249,2280,2303,2326,2333,2364,2387,2394,2421,2438,2454,2470,2478,2491,2499,2542,2558,2565,2577,2584,2624,2641,2648,2660,2667,2744,2769,2786,2803,2820,2833,2849,2866,2882,2889,2896,2903,2962,2978,2994,3010,3050,3058,3066,3082,3090,3106,3170],{"type":9,"tag":37,"props":2250,"children":2251},{"class":39,"line":40},[2252,2256,2260,2264,2268,2272,2276],{"type":9,"tag":37,"props":2253,"children":2254},{"style":44},[2255],{"type":14,"value":47},{"type":9,"tag":37,"props":2257,"children":2258},{"style":50},[2259],{"type":14,"value":53},{"type":9,"tag":37,"props":2261,"children":2262},{"style":56},[2263],{"type":14,"value":64},{"type":9,"tag":37,"props":2265,"children":2266},{"style":44},[2267],{"type":14,"value":69},{"type":9,"tag":37,"props":2269,"children":2270},{"style":72},[2271],{"type":14,"value":75},{"type":9,"tag":37,"props":2273,"children":2274},{"style":56},[2275],{"type":14,"value":59},{"type":9,"tag":37,"props":2277,"children":2278},{"style":44},[2279],{"type":14,"value":80},{"type":9,"tag":37,"props":2281,"children":2282},{"class":39,"line":83},[2283,2287,2291,2295,2299],{"type":9,"tag":37,"props":2284,"children":2285},{"style":87},[2286],{"type":14,"value":90},{"type":9,"tag":37,"props":2288,"children":2289},{"style":87},[2290],{"type":14,"value":95},{"type":9,"tag":37,"props":2292,"children":2293},{"style":44},[2294],{"type":14,"value":919},{"type":9,"tag":37,"props":2296,"children":2297},{"style":87},[2298],{"type":14,"value":105},{"type":9,"tag":37,"props":2300,"children":2301},{"style":72},[2302],{"type":14,"value":928},{"type":9,"tag":37,"props":2304,"children":2305},{"class":39,"line":113},[2306,2310,2314,2318,2322],{"type":9,"tag":37,"props":2307,"children":2308},{"style":87},[2309],{"type":14,"value":90},{"type":9,"tag":37,"props":2311,"children":2312},{"style":87},[2313],{"type":14,"value":95},{"type":9,"tag":37,"props":2315,"children":2316},{"style":44},[2317],{"type":14,"value":944},{"type":9,"tag":37,"props":2319,"children":2320},{"style":87},[2321],{"type":14,"value":105},{"type":9,"tag":37,"props":2323,"children":2324},{"style":72},[2325],{"type":14,"value":953},{"type":9,"tag":37,"props":2327,"children":2328},{"class":39,"line":123},[2329],{"type":9,"tag":37,"props":2330,"children":2331},{"emptyLinePlaceholder":117},[2332],{"type":14,"value":120},{"type":9,"tag":37,"props":2334,"children":2335},{"class":39,"line":162},[2336,2340,2344,2348,2352,2356,2360],{"type":9,"tag":37,"props":2337,"children":2338},{"style":87},[2339],{"type":14,"value":129},{"type":9,"tag":37,"props":2341,"children":2342},{"style":44},[2343],{"type":14,"value":134},{"type":9,"tag":37,"props":2345,"children":2346},{"style":137},[2347],{"type":14,"value":140},{"type":9,"tag":37,"props":2349,"children":2350},{"style":44},[2351],{"type":14,"value":145},{"type":9,"tag":37,"props":2353,"children":2354},{"style":87},[2355],{"type":14,"value":69},{"type":9,"tag":37,"props":2357,"children":2358},{"style":56},[2359],{"type":14,"value":154},{"type":9,"tag":37,"props":2361,"children":2362},{"style":44},[2363],{"type":14,"value":159},{"type":9,"tag":37,"props":2365,"children":2366},{"class":39,"line":224},[2367,2371,2375,2379,2383],{"type":9,"tag":37,"props":2368,"children":2369},{"style":87},[2370],{"type":14,"value":129},{"type":9,"tag":37,"props":2372,"children":2373},{"style":137},[2374],{"type":14,"value":1003},{"type":9,"tag":37,"props":2376,"children":2377},{"style":87},[2378],{"type":14,"value":177},{"type":9,"tag":37,"props":2380,"children":2381},{"style":56},[2382],{"type":14,"value":1012},{"type":9,"tag":37,"props":2384,"children":2385},{"style":44},[2386],{"type":14,"value":159},{"type":9,"tag":37,"props":2388,"children":2389},{"class":39,"line":256},[2390],{"type":9,"tag":37,"props":2391,"children":2392},{"emptyLinePlaceholder":117},[2393],{"type":14,"value":120},{"type":9,"tag":37,"props":2395,"children":2396},{"class":39,"line":286},[2397,2401,2405,2409,2413,2417],{"type":9,"tag":37,"props":2398,"children":2399},{"style":87},[2400],{"type":14,"value":129},{"type":9,"tag":37,"props":2402,"children":2403},{"style":137},[2404],{"type":14,"value":385},{"type":9,"tag":37,"props":2406,"children":2407},{"style":87},[2408],{"type":14,"value":177},{"type":9,"tag":37,"props":2410,"children":2411},{"style":44},[2412],{"type":14,"value":394},{"type":9,"tag":37,"props":2414,"children":2415},{"style":56},[2416],{"type":14,"value":399},{"type":9,"tag":37,"props":2418,"children":2419},{"style":44},[2420],{"type":14,"value":404},{"type":9,"tag":37,"props":2422,"children":2423},{"class":39,"line":314},[2424,2429,2433],{"type":9,"tag":37,"props":2425,"children":2426},{"style":44},[2427],{"type":14,"value":2428},"  experience: afz.",{"type":9,"tag":37,"props":2430,"children":2431},{"style":56},[2432],{"type":14,"value":532},{"type":9,"tag":37,"props":2434,"children":2435},{"style":44},[2436],{"type":14,"value":2437},"(\n",{"type":9,"tag":37,"props":2439,"children":2440},{"class":39,"line":357},[2441,2446,2450],{"type":9,"tag":37,"props":2442,"children":2443},{"style":44},[2444],{"type":14,"value":2445},"    afz.",{"type":9,"tag":37,"props":2447,"children":2448},{"style":56},[2449],{"type":14,"value":399},{"type":9,"tag":37,"props":2451,"children":2452},{"style":44},[2453],{"type":14,"value":404},{"type":9,"tag":37,"props":2455,"children":2456},{"class":39,"line":366},[2457,2462,2466],{"type":9,"tag":37,"props":2458,"children":2459},{"style":44},[2460],{"type":14,"value":2461},"      company: afz.",{"type":9,"tag":37,"props":2463,"children":2464},{"style":56},[2465],{"type":14,"value":475},{"type":9,"tag":37,"props":2467,"children":2468},{"style":44},[2469],{"type":14,"value":404},{"type":9,"tag":37,"props":2471,"children":2472},{"class":39,"line":375},[2473],{"type":9,"tag":37,"props":2474,"children":2475},{"style":44},[2476],{"type":14,"value":2477},"        controlProps: {\n",{"type":9,"tag":37,"props":2479,"children":2480},{"class":39,"line":407},[2481,2486],{"type":9,"tag":37,"props":2482,"children":2483},{"style":44},[2484],{"type":14,"value":2485},"          placeholder: ",{"type":9,"tag":37,"props":2487,"children":2488},{"style":72},[2489],{"type":14,"value":2490},"'公司名称'\n",{"type":9,"tag":37,"props":2492,"children":2493},{"class":39,"line":464},[2494],{"type":9,"tag":37,"props":2495,"children":2496},{"style":44},[2497],{"type":14,"value":2498},"        }\n",{"type":9,"tag":37,"props":2500,"children":2501},{"class":39,"line":521},[2502,2507,2511,2515,2519,2523,2527,2532,2537],{"type":9,"tag":37,"props":2503,"children":2504},{"style":44},[2505],{"type":14,"value":2506},"      }).",{"type":9,"tag":37,"props":2508,"children":2509},{"style":56},[2510],{"type":14,"value":551},{"type":9,"tag":37,"props":2512,"children":2513},{"style":44},[2514],{"type":14,"value":452},{"type":9,"tag":37,"props":2516,"children":2517},{"style":137},[2518],{"type":14,"value":560},{"type":9,"tag":37,"props":2520,"children":2521},{"style":44},[2522],{"type":14,"value":565},{"type":9,"tag":37,"props":2524,"children":2525},{"style":56},[2526],{"type":14,"value":505},{"type":9,"tag":37,"props":2528,"children":2529},{"style":44},[2530],{"type":14,"value":2531},"({ label: ",{"type":9,"tag":37,"props":2533,"children":2534},{"style":72},[2535],{"type":14,"value":2536},"'公司'",{"type":9,"tag":37,"props":2538,"children":2539},{"style":44},[2540],{"type":14,"value":2541}," }),\n",{"type":9,"tag":37,"props":2543,"children":2544},{"class":39,"line":614},[2545,2550,2554],{"type":9,"tag":37,"props":2546,"children":2547},{"style":44},[2548],{"type":14,"value":2549},"      position: afz.",{"type":9,"tag":37,"props":2551,"children":2552},{"style":56},[2553],{"type":14,"value":475},{"type":9,"tag":37,"props":2555,"children":2556},{"style":44},[2557],{"type":14,"value":404},{"type":9,"tag":37,"props":2559,"children":2560},{"class":39,"line":623},[2561],{"type":9,"tag":37,"props":2562,"children":2563},{"style":44},[2564],{"type":14,"value":2477},{"type":9,"tag":37,"props":2566,"children":2567},{"class":39,"line":697},[2568,2572],{"type":9,"tag":37,"props":2569,"children":2570},{"style":44},[2571],{"type":14,"value":2485},{"type":9,"tag":37,"props":2573,"children":2574},{"style":72},[2575],{"type":14,"value":2576},"'职位'\n",{"type":9,"tag":37,"props":2578,"children":2579},{"class":39,"line":714},[2580],{"type":9,"tag":37,"props":2581,"children":2582},{"style":44},[2583],{"type":14,"value":2498},{"type":9,"tag":37,"props":2585,"children":2586},{"class":39,"line":722},[2587,2591,2595,2599,2603,2607,2611,2615,2620],{"type":9,"tag":37,"props":2588,"children":2589},{"style":44},[2590],{"type":14,"value":2506},{"type":9,"tag":37,"props":2592,"children":2593},{"style":56},[2594],{"type":14,"value":551},{"type":9,"tag":37,"props":2596,"children":2597},{"style":44},[2598],{"type":14,"value":452},{"type":9,"tag":37,"props":2600,"children":2601},{"style":137},[2602],{"type":14,"value":560},{"type":9,"tag":37,"props":2604,"children":2605},{"style":44},[2606],{"type":14,"value":565},{"type":9,"tag":37,"props":2608,"children":2609},{"style":56},[2610],{"type":14,"value":505},{"type":9,"tag":37,"props":2612,"children":2613},{"style":44},[2614],{"type":14,"value":2531},{"type":9,"tag":37,"props":2616,"children":2617},{"style":72},[2618],{"type":14,"value":2619},"'职位'",{"type":9,"tag":37,"props":2621,"children":2622},{"style":44},[2623],{"type":14,"value":2541},{"type":9,"tag":37,"props":2625,"children":2626},{"class":39,"line":739},[2627,2632,2637],{"type":9,"tag":37,"props":2628,"children":2629},{"style":44},[2630],{"type":14,"value":2631},"      years: afz.",{"type":9,"tag":37,"props":2633,"children":2634},{"style":56},[2635],{"type":14,"value":2636},"number",{"type":9,"tag":37,"props":2638,"children":2639},{"style":44},[2640],{"type":14,"value":404},{"type":9,"tag":37,"props":2642,"children":2643},{"class":39,"line":832},[2644],{"type":9,"tag":37,"props":2645,"children":2646},{"style":44},[2647],{"type":14,"value":2477},{"type":9,"tag":37,"props":2649,"children":2650},{"class":39,"line":1285},[2651,2655],{"type":9,"tag":37,"props":2652,"children":2653},{"style":44},[2654],{"type":14,"value":2485},{"type":9,"tag":37,"props":2656,"children":2657},{"style":72},[2658],{"type":14,"value":2659},"'工作年限'\n",{"type":9,"tag":37,"props":2661,"children":2662},{"class":39,"line":1294},[2663],{"type":9,"tag":37,"props":2664,"children":2665},{"style":44},[2666],{"type":14,"value":2498},{"type":9,"tag":37,"props":2668,"children":2669},{"class":39,"line":1302},[2670,2674,2679,2683,2687,2691,2696,2700,2704,2708,2713,2717,2721,2725,2730,2735,2740],{"type":9,"tag":37,"props":2671,"children":2672},{"style":44},[2673],{"type":14,"value":2506},{"type":9,"tag":37,"props":2675,"children":2676},{"style":56},[2677],{"type":14,"value":2678},"int",{"type":9,"tag":37,"props":2680,"children":2681},{"style":44},[2682],{"type":14,"value":500},{"type":9,"tag":37,"props":2684,"children":2685},{"style":56},[2686],{"type":14,"value":551},{"type":9,"tag":37,"props":2688,"children":2689},{"style":44},[2690],{"type":14,"value":452},{"type":9,"tag":37,"props":2692,"children":2693},{"style":137},[2694],{"type":14,"value":2695},"0",{"type":9,"tag":37,"props":2697,"children":2698},{"style":44},[2699],{"type":14,"value":565},{"type":9,"tag":37,"props":2701,"children":2702},{"style":56},[2703],{"type":14,"value":570},{"type":9,"tag":37,"props":2705,"children":2706},{"style":44},[2707],{"type":14,"value":452},{"type":9,"tag":37,"props":2709,"children":2710},{"style":137},[2711],{"type":14,"value":2712},"50",{"type":9,"tag":37,"props":2714,"children":2715},{"style":44},[2716],{"type":14,"value":565},{"type":9,"tag":37,"props":2718,"children":2719},{"style":56},[2720],{"type":14,"value":505},{"type":9,"tag":37,"props":2722,"children":2723},{"style":44},[2724],{"type":14,"value":2531},{"type":9,"tag":37,"props":2726,"children":2727},{"style":72},[2728],{"type":14,"value":2729},"'年限'",{"type":9,"tag":37,"props":2731,"children":2732},{"style":44},[2733],{"type":14,"value":2734},", hint: ",{"type":9,"tag":37,"props":2736,"children":2737},{"style":72},[2738],{"type":14,"value":2739},"'工作年数'",{"type":9,"tag":37,"props":2741,"children":2742},{"style":44},[2743],{"type":14,"value":611},{"type":9,"tag":37,"props":2745,"children":2746},{"class":39,"line":1310},[2747,2752,2756,2760,2765],{"type":9,"tag":37,"props":2748,"children":2749},{"style":44},[2750],{"type":14,"value":2751},"    }).",{"type":9,"tag":37,"props":2753,"children":2754},{"style":56},[2755],{"type":14,"value":505},{"type":9,"tag":37,"props":2757,"children":2758},{"style":44},[2759],{"type":14,"value":2531},{"type":9,"tag":37,"props":2761,"children":2762},{"style":72},[2763],{"type":14,"value":2764},"'工作经历'",{"type":9,"tag":37,"props":2766,"children":2767},{"style":44},[2768],{"type":14,"value":611},{"type":9,"tag":37,"props":2770,"children":2771},{"class":39,"line":1380},[2772,2777,2781],{"type":9,"tag":37,"props":2773,"children":2774},{"style":44},[2775],{"type":14,"value":2776},"  ).",{"type":9,"tag":37,"props":2778,"children":2779},{"style":56},[2780],{"type":14,"value":447},{"type":9,"tag":37,"props":2782,"children":2783},{"style":44},[2784],{"type":14,"value":2785},"([{\n",{"type":9,"tag":37,"props":2787,"children":2788},{"class":39,"line":1398},[2789,2794,2799],{"type":9,"tag":37,"props":2790,"children":2791},{"style":44},[2792],{"type":14,"value":2793},"    company: ",{"type":9,"tag":37,"props":2795,"children":2796},{"style":72},[2797],{"type":14,"value":2798},"'示例公司'",{"type":9,"tag":37,"props":2800,"children":2801},{"style":44},[2802],{"type":14,"value":1093},{"type":9,"tag":37,"props":2804,"children":2805},{"class":39,"line":1416},[2806,2811,2816],{"type":9,"tag":37,"props":2807,"children":2808},{"style":44},[2809],{"type":14,"value":2810},"    position: ",{"type":9,"tag":37,"props":2812,"children":2813},{"style":72},[2814],{"type":14,"value":2815},"'软件工程师'",{"type":9,"tag":37,"props":2817,"children":2818},{"style":44},[2819],{"type":14,"value":1093},{"type":9,"tag":37,"props":2821,"children":2822},{"class":39,"line":1434},[2823,2828],{"type":9,"tag":37,"props":2824,"children":2825},{"style":44},[2826],{"type":14,"value":2827},"    years: ",{"type":9,"tag":37,"props":2829,"children":2830},{"style":137},[2831],{"type":14,"value":2832},"3\n",{"type":9,"tag":37,"props":2834,"children":2835},{"class":39,"line":1481},[2836,2841,2845],{"type":9,"tag":37,"props":2837,"children":2838},{"style":44},[2839],{"type":14,"value":2840},"  }]).",{"type":9,"tag":37,"props":2842,"children":2843},{"style":56},[2844],{"type":14,"value":505},{"type":9,"tag":37,"props":2846,"children":2847},{"style":44},[2848],{"type":14,"value":404},{"type":9,"tag":37,"props":2850,"children":2851},{"class":39,"line":1489},[2852,2857,2862],{"type":9,"tag":37,"props":2853,"children":2854},{"style":44},[2855],{"type":14,"value":2856},"    label: ",{"type":9,"tag":37,"props":2858,"children":2859},{"style":72},[2860],{"type":14,"value":2861},"'工作经历列表'",{"type":9,"tag":37,"props":2863,"children":2864},{"style":44},[2865],{"type":14,"value":1093},{"type":9,"tag":37,"props":2867,"children":2868},{"class":39,"line":1497},[2869,2874,2878],{"type":9,"tag":37,"props":2870,"children":2871},{"style":44},[2872],{"type":14,"value":2873},"    collapsible: { defaultOpen: ",{"type":9,"tag":37,"props":2875,"children":2876},{"style":137},[2877],{"type":14,"value":597},{"type":9,"tag":37,"props":2879,"children":2880},{"style":44},[2881],{"type":14,"value":1188},{"type":9,"tag":37,"props":2883,"children":2884},{"class":39,"line":1513},[2885],{"type":9,"tag":37,"props":2886,"children":2887},{"style":44},[2888],{"type":14,"value":1212},{"type":9,"tag":37,"props":2890,"children":2891},{"class":39,"line":1521},[2892],{"type":9,"tag":37,"props":2893,"children":2894},{"style":44},[2895],{"type":14,"value":620},{"type":9,"tag":37,"props":2897,"children":2898},{"class":39,"line":1537},[2899],{"type":9,"tag":37,"props":2900,"children":2901},{"emptyLinePlaceholder":117},[2902],{"type":14,"value":120},{"type":9,"tag":37,"props":2904,"children":2905},{"class":39,"line":1603},[2906,2910,2914,2918,2922,2926,2930,2934,2938,2942,2946,2950,2954,2958],{"type":9,"tag":37,"props":2907,"children":2908},{"style":87},[2909],{"type":14,"value":1316},{"type":9,"tag":37,"props":2911,"children":2912},{"style":87},[2913],{"type":14,"value":1321},{"type":9,"tag":37,"props":2915,"children":2916},{"style":56},[2917],{"type":14,"value":1326},{"type":9,"tag":37,"props":2919,"children":2920},{"style":44},[2921],{"type":14,"value":452},{"type":9,"tag":37,"props":2923,"children":2924},{"style":270},[2925],{"type":14,"value":1335},{"type":9,"tag":37,"props":2927,"children":2928},{"style":87},[2929],{"type":14,"value":239},{"type":9,"tag":37,"props":2931,"children":2932},{"style":56},[2933],{"type":14,"value":1344},{"type":9,"tag":37,"props":2935,"children":2936},{"style":44},[2937],{"type":14,"value":47},{"type":9,"tag":37,"props":2939,"children":2940},{"style":56},[2941],{"type":14,"value":1353},{"type":9,"tag":37,"props":2943,"children":2944},{"style":44},[2945],{"type":14,"value":1358},{"type":9,"tag":37,"props":2947,"children":2948},{"style":56},[2949],{"type":14,"value":1363},{"type":9,"tag":37,"props":2951,"children":2952},{"style":44},[2953],{"type":14,"value":47},{"type":9,"tag":37,"props":2955,"children":2956},{"style":87},[2957],{"type":14,"value":1372},{"type":9,"tag":37,"props":2959,"children":2960},{"style":44},[2961],{"type":14,"value":1377},{"type":9,"tag":37,"props":2963,"children":2965},{"class":39,"line":2964},38,[2966,2970,2974],{"type":9,"tag":37,"props":2967,"children":2968},{"style":44},[2969],{"type":14,"value":1386},{"type":9,"tag":37,"props":2971,"children":2972},{"style":56},[2973],{"type":14,"value":1391},{"type":9,"tag":37,"props":2975,"children":2976},{"style":44},[2977],{"type":14,"value":404},{"type":9,"tag":37,"props":2979,"children":2981},{"class":39,"line":2980},39,[2982,2986,2990],{"type":9,"tag":37,"props":2983,"children":2984},{"style":44},[2985],{"type":14,"value":1404},{"type":9,"tag":37,"props":2987,"children":2988},{"style":72},[2989],{"type":14,"value":1409},{"type":9,"tag":37,"props":2991,"children":2992},{"style":44},[2993],{"type":14,"value":1093},{"type":9,"tag":37,"props":2995,"children":2997},{"class":39,"line":2996},40,[2998,3002,3006],{"type":9,"tag":37,"props":2999,"children":3000},{"style":44},[3001],{"type":14,"value":1422},{"type":9,"tag":37,"props":3003,"children":3004},{"style":72},[3005],{"type":14,"value":1427},{"type":9,"tag":37,"props":3007,"children":3008},{"style":44},[3009],{"type":14,"value":1093},{"type":9,"tag":37,"props":3011,"children":3013},{"class":39,"line":3012},41,[3014,3018,3022,3026,3030,3034,3038,3042,3046],{"type":9,"tag":37,"props":3015,"children":3016},{"style":44},[3017],{"type":14,"value":1440},{"type":9,"tag":37,"props":3019,"children":3020},{"style":137},[3021],{"type":14,"value":1445},{"type":9,"tag":37,"props":3023,"children":3024},{"style":44},[3025],{"type":14,"value":1358},{"type":9,"tag":37,"props":3027,"children":3028},{"style":56},[3029],{"type":14,"value":1454},{"type":9,"tag":37,"props":3031,"children":3032},{"style":44},[3033],{"type":14,"value":1459},{"type":9,"tag":37,"props":3035,"children":3036},{"style":137},[3037],{"type":14,"value":1464},{"type":9,"tag":37,"props":3039,"children":3040},{"style":44},[3041],{"type":14,"value":192},{"type":9,"tag":37,"props":3043,"children":3044},{"style":137},[3045],{"type":14,"value":1473},{"type":9,"tag":37,"props":3047,"children":3048},{"style":44},[3049],{"type":14,"value":1478},{"type":9,"tag":37,"props":3051,"children":3053},{"class":39,"line":3052},42,[3054],{"type":9,"tag":37,"props":3055,"children":3056},{"style":44},[3057],{"type":14,"value":1212},{"type":9,"tag":37,"props":3059,"children":3061},{"class":39,"line":3060},43,[3062],{"type":9,"tag":37,"props":3063,"children":3064},{"style":44},[3065],{"type":14,"value":372},{"type":9,"tag":37,"props":3067,"children":3069},{"class":39,"line":3068},44,[3070,3074,3078],{"type":9,"tag":37,"props":3071,"children":3072},{"style":44},[3073],{"type":14,"value":703},{"type":9,"tag":37,"props":3075,"children":3076},{"style":50},[3077],{"type":14,"value":53},{"type":9,"tag":37,"props":3079,"children":3080},{"style":44},[3081],{"type":14,"value":80},{"type":9,"tag":37,"props":3083,"children":3085},{"class":39,"line":3084},45,[3086],{"type":9,"tag":37,"props":3087,"children":3088},{"emptyLinePlaceholder":117},[3089],{"type":14,"value":120},{"type":9,"tag":37,"props":3091,"children":3093},{"class":39,"line":3092},46,[3094,3098,3102],{"type":9,"tag":37,"props":3095,"children":3096},{"style":44},[3097],{"type":14,"value":47},{"type":9,"tag":37,"props":3099,"children":3100},{"style":50},[3101],{"type":14,"value":732},{"type":9,"tag":37,"props":3103,"children":3104},{"style":44},[3105],{"type":14,"value":80},{"type":9,"tag":37,"props":3107,"children":3109},{"class":39,"line":3108},47,[3110,3114,3118,3122,3126,3130,3134,3138,3142,3146,3150,3154,3158,3162,3166],{"type":9,"tag":37,"props":3111,"children":3112},{"style":44},[3113],{"type":14,"value":745},{"type":9,"tag":37,"props":3115,"children":3116},{"style":50},[3117],{"type":14,"value":750},{"type":9,"tag":37,"props":3119,"children":3120},{"style":44},[3121],{"type":14,"value":777},{"type":9,"tag":37,"props":3123,"children":3124},{"style":56},[3125],{"type":14,"value":782},{"type":9,"tag":37,"props":3127,"children":3128},{"style":44},[3129],{"type":14,"value":69},{"type":9,"tag":37,"props":3131,"children":3132},{"style":72},[3133],{"type":14,"value":764},{"type":9,"tag":37,"props":3135,"children":3136},{"style":44},[3137],{"type":14,"value":782},{"type":9,"tag":37,"props":3139,"children":3140},{"style":72},[3141],{"type":14,"value":764},{"type":9,"tag":37,"props":3143,"children":3144},{"style":44},[3145],{"type":14,"value":1575},{"type":9,"tag":37,"props":3147,"children":3148},{"style":56},[3149],{"type":14,"value":807},{"type":9,"tag":37,"props":3151,"children":3152},{"style":44},[3153],{"type":14,"value":69},{"type":9,"tag":37,"props":3155,"children":3156},{"style":72},[3157],{"type":14,"value":764},{"type":9,"tag":37,"props":3159,"children":3160},{"style":44},[3161],{"type":14,"value":1592},{"type":9,"tag":37,"props":3163,"children":3164},{"style":72},[3165],{"type":14,"value":764},{"type":9,"tag":37,"props":3167,"children":3168},{"style":44},[3169],{"type":14,"value":829},{"type":9,"tag":37,"props":3171,"children":3173},{"class":39,"line":3172},48,[3174,3178,3182],{"type":9,"tag":37,"props":3175,"children":3176},{"style":44},[3177],{"type":14,"value":703},{"type":9,"tag":37,"props":3179,"children":3180},{"style":50},[3181],{"type":14,"value":732},{"type":9,"tag":37,"props":3183,"children":3184},{"style":44},[3185],{"type":14,"value":80},{"type":9,"tag":847,"props":3187,"children":3188},{},[3189],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":3191},[],{"code":3193,"filePath":3194,"pascalName":3195},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst { data: users, execute, pending } = await useLazyFetch('https:\u002F\u002Fjsonplaceholder.typicode.com\u002Fusers', {\n  key: 'typicode-users-basic',\n  immediate: false,\n  transform: (data: { id: number, name: string }[]) => {\n    return data?.map(user => ({\n      label: user.name,\n      value: String(user.id),\n      avatar: { src: `https:\u002F\u002Fi.pravatar.cc\u002F120?img=${user.id}`, loading: 'lazy' as const }\n    }))\n  }\n})\n\nconst schema = afz.object({\n  name: afz.string().min(1, '请输入姓名').default('张三'),\n  age: afz.number().min(1).max(150).default(30),\n  email: afz.email('请输入有效的邮箱地址').default('zhangsan@example.com'),\n  user: afz.object({\n    label: afz.string(),\n    value: afz.string(),\n    avatar: afz.object({ src: afz.url() })\n  }, {\n    type: 'selectMenu',\n    controlProps: ({ value }: { value: { avatar: { src: string } } }) => ({\n      'placeholder': '请选择用户',\n      'items': users.value || [],\n      'avatar': value?.avatar,\n      'loading': pending.value,\n      'onUpdate:open': () => {\n        if (!users.value && !pending.value) {\n          execute()\n        }\n      }\n    })\n  })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldObjectBasicExample.vue","AutoFormFieldObjectBasicExample",{"data":3197,"body":3198,"toc":4520},{"title":22,"description":22},{"type":6,"children":3199},[3200,4516],{"type":9,"tag":863,"props":3201,"children":3202},{},[3203],{"type":9,"tag":26,"props":3204,"children":3206},{"className":28,"code":3205,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst { data: users, execute, pending } = await useLazyFetch('https:\u002F\u002Fjsonplaceholder.typicode.com\u002Fusers', {\n  key: 'typicode-users-basic',\n  immediate: false,\n  transform: (data: { id: number, name: string }[]) => {\n    return data?.map(user => ({\n      label: user.name,\n      value: String(user.id),\n      avatar: { src: `https:\u002F\u002Fi.pravatar.cc\u002F120?img=${user.id}`, loading: 'lazy' as const }\n    }))\n  }\n})\n\nconst schema = afz.object({\n  name: afz.string().min(1, '请输入姓名').default('张三'),\n  age: afz.number().min(1).max(150).default(30),\n  email: afz.email('请输入有效的邮箱地址').default('zhangsan@example.com'),\n  user: afz.object({\n    label: afz.string(),\n    value: afz.string(),\n    avatar: afz.object({ src: afz.url() })\n  }, {\n    type: 'selectMenu',\n    controlProps: ({ value }: { value: { avatar: { src: string } } }) => ({\n      'placeholder': '请选择用户',\n      'items': users.value || [],\n      'avatar': value?.avatar,\n      'loading': pending.value,\n      'onUpdate:open': () => {\n        if (!users.value && !pending.value) {\n          execute()\n        }\n      }\n    })\n  })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[3207],{"type":9,"tag":33,"props":3208,"children":3209},{"__ignoreMap":22},[3210,3241,3264,3287,3294,3325,3348,3355,3430,3447,3463,3534,3569,3577,3595,3648,3656,3663,3670,3677,3704,3762,3828,3871,3887,3904,3920,3947,3955,3970,4052,4073,4096,4109,4122,4143,4181,4193,4200,4208,4215,4222,4229,4236,4295,4310,4326,4341,4380,4388,4396,4412,4420,4436,4500],{"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":64},{"type":9,"tag":37,"props":3226,"children":3227},{"style":44},[3228],{"type":14,"value":69},{"type":9,"tag":37,"props":3230,"children":3231},{"style":72},[3232],{"type":14,"value":75},{"type":9,"tag":37,"props":3234,"children":3235},{"style":56},[3236],{"type":14,"value":59},{"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":919},{"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":928},{"type":9,"tag":37,"props":3265,"children":3266},{"class":39,"line":113},[3267,3271,3275,3279,3283],{"type":9,"tag":37,"props":3268,"children":3269},{"style":87},[3270],{"type":14,"value":90},{"type":9,"tag":37,"props":3272,"children":3273},{"style":87},[3274],{"type":14,"value":95},{"type":9,"tag":37,"props":3276,"children":3277},{"style":44},[3278],{"type":14,"value":944},{"type":9,"tag":37,"props":3280,"children":3281},{"style":87},[3282],{"type":14,"value":105},{"type":9,"tag":37,"props":3284,"children":3285},{"style":72},[3286],{"type":14,"value":953},{"type":9,"tag":37,"props":3288,"children":3289},{"class":39,"line":123},[3290],{"type":9,"tag":37,"props":3291,"children":3292},{"emptyLinePlaceholder":117},[3293],{"type":14,"value":120},{"type":9,"tag":37,"props":3295,"children":3296},{"class":39,"line":162},[3297,3301,3305,3309,3313,3317,3321],{"type":9,"tag":37,"props":3298,"children":3299},{"style":87},[3300],{"type":14,"value":129},{"type":9,"tag":37,"props":3302,"children":3303},{"style":44},[3304],{"type":14,"value":134},{"type":9,"tag":37,"props":3306,"children":3307},{"style":137},[3308],{"type":14,"value":140},{"type":9,"tag":37,"props":3310,"children":3311},{"style":44},[3312],{"type":14,"value":145},{"type":9,"tag":37,"props":3314,"children":3315},{"style":87},[3316],{"type":14,"value":69},{"type":9,"tag":37,"props":3318,"children":3319},{"style":56},[3320],{"type":14,"value":154},{"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":224},[3328,3332,3336,3340,3344],{"type":9,"tag":37,"props":3329,"children":3330},{"style":87},[3331],{"type":14,"value":129},{"type":9,"tag":37,"props":3333,"children":3334},{"style":137},[3335],{"type":14,"value":1003},{"type":9,"tag":37,"props":3337,"children":3338},{"style":87},[3339],{"type":14,"value":177},{"type":9,"tag":37,"props":3341,"children":3342},{"style":56},[3343],{"type":14,"value":1012},{"type":9,"tag":37,"props":3345,"children":3346},{"style":44},[3347],{"type":14,"value":159},{"type":9,"tag":37,"props":3349,"children":3350},{"class":39,"line":256},[3351],{"type":9,"tag":37,"props":3352,"children":3353},{"emptyLinePlaceholder":117},[3354],{"type":14,"value":120},{"type":9,"tag":37,"props":3356,"children":3357},{"class":39,"line":286},[3358,3362,3366,3371,3375,3380,3384,3389,3393,3398,3402,3406,3411,3416,3420,3425],{"type":9,"tag":37,"props":3359,"children":3360},{"style":87},[3361],{"type":14,"value":129},{"type":9,"tag":37,"props":3363,"children":3364},{"style":44},[3365],{"type":14,"value":134},{"type":9,"tag":37,"props":3367,"children":3368},{"style":270},[3369],{"type":14,"value":3370},"data",{"type":9,"tag":37,"props":3372,"children":3373},{"style":44},[3374],{"type":14,"value":267},{"type":9,"tag":37,"props":3376,"children":3377},{"style":137},[3378],{"type":14,"value":3379},"users",{"type":9,"tag":37,"props":3381,"children":3382},{"style":44},[3383],{"type":14,"value":192},{"type":9,"tag":37,"props":3385,"children":3386},{"style":137},[3387],{"type":14,"value":3388},"execute",{"type":9,"tag":37,"props":3390,"children":3391},{"style":44},[3392],{"type":14,"value":192},{"type":9,"tag":37,"props":3394,"children":3395},{"style":137},[3396],{"type":14,"value":3397},"pending",{"type":9,"tag":37,"props":3399,"children":3400},{"style":44},[3401],{"type":14,"value":145},{"type":9,"tag":37,"props":3403,"children":3404},{"style":87},[3405],{"type":14,"value":69},{"type":9,"tag":37,"props":3407,"children":3408},{"style":87},[3409],{"type":14,"value":3410}," await",{"type":9,"tag":37,"props":3412,"children":3413},{"style":56},[3414],{"type":14,"value":3415}," useLazyFetch",{"type":9,"tag":37,"props":3417,"children":3418},{"style":44},[3419],{"type":14,"value":452},{"type":9,"tag":37,"props":3421,"children":3422},{"style":72},[3423],{"type":14,"value":3424},"'https:\u002F\u002Fjsonplaceholder.typicode.com\u002Fusers'",{"type":9,"tag":37,"props":3426,"children":3427},{"style":44},[3428],{"type":14,"value":3429},", {\n",{"type":9,"tag":37,"props":3431,"children":3432},{"class":39,"line":314},[3433,3438,3443],{"type":9,"tag":37,"props":3434,"children":3435},{"style":44},[3436],{"type":14,"value":3437},"  key: ",{"type":9,"tag":37,"props":3439,"children":3440},{"style":72},[3441],{"type":14,"value":3442},"'typicode-users-basic'",{"type":9,"tag":37,"props":3444,"children":3445},{"style":44},[3446],{"type":14,"value":1093},{"type":9,"tag":37,"props":3448,"children":3449},{"class":39,"line":357},[3450,3455,3459],{"type":9,"tag":37,"props":3451,"children":3452},{"style":44},[3453],{"type":14,"value":3454},"  immediate: ",{"type":9,"tag":37,"props":3456,"children":3457},{"style":137},[3458],{"type":14,"value":820},{"type":9,"tag":37,"props":3460,"children":3461},{"style":44},[3462],{"type":14,"value":1093},{"type":9,"tag":37,"props":3464,"children":3465},{"class":39,"line":366},[3466,3471,3476,3480,3484,3488,3493,3497,3502,3506,3511,3515,3520,3525,3530],{"type":9,"tag":37,"props":3467,"children":3468},{"style":56},[3469],{"type":14,"value":3470},"  transform",{"type":9,"tag":37,"props":3472,"children":3473},{"style":44},[3474],{"type":14,"value":3475},": (",{"type":9,"tag":37,"props":3477,"children":3478},{"style":270},[3479],{"type":14,"value":3370},{"type":9,"tag":37,"props":3481,"children":3482},{"style":87},[3483],{"type":14,"value":239},{"type":9,"tag":37,"props":3485,"children":3486},{"style":44},[3487],{"type":14,"value":134},{"type":9,"tag":37,"props":3489,"children":3490},{"style":270},[3491],{"type":14,"value":3492},"id",{"type":9,"tag":37,"props":3494,"children":3495},{"style":87},[3496],{"type":14,"value":239},{"type":9,"tag":37,"props":3498,"children":3499},{"style":137},[3500],{"type":14,"value":3501}," number",{"type":9,"tag":37,"props":3503,"children":3504},{"style":44},[3505],{"type":14,"value":192},{"type":9,"tag":37,"props":3507,"children":3508},{"style":270},[3509],{"type":14,"value":3510},"name",{"type":9,"tag":37,"props":3512,"children":3513},{"style":87},[3514],{"type":14,"value":239},{"type":9,"tag":37,"props":3516,"children":3517},{"style":137},[3518],{"type":14,"value":3519}," string",{"type":9,"tag":37,"props":3521,"children":3522},{"style":44},[3523],{"type":14,"value":3524}," }[]) ",{"type":9,"tag":37,"props":3526,"children":3527},{"style":87},[3528],{"type":14,"value":3529},"=>",{"type":9,"tag":37,"props":3531,"children":3532},{"style":44},[3533],{"type":14,"value":253},{"type":9,"tag":37,"props":3535,"children":3536},{"class":39,"line":375},[3537,3541,3546,3551,3555,3560,3564],{"type":9,"tag":37,"props":3538,"children":3539},{"style":87},[3540],{"type":14,"value":320},{"type":9,"tag":37,"props":3542,"children":3543},{"style":44},[3544],{"type":14,"value":3545}," data?.",{"type":9,"tag":37,"props":3547,"children":3548},{"style":56},[3549],{"type":14,"value":3550},"map",{"type":9,"tag":37,"props":3552,"children":3553},{"style":44},[3554],{"type":14,"value":452},{"type":9,"tag":37,"props":3556,"children":3557},{"style":270},[3558],{"type":14,"value":3559},"user",{"type":9,"tag":37,"props":3561,"children":3562},{"style":87},[3563],{"type":14,"value":278},{"type":9,"tag":37,"props":3565,"children":3566},{"style":44},[3567],{"type":14,"value":3568}," ({\n",{"type":9,"tag":37,"props":3570,"children":3571},{"class":39,"line":407},[3572],{"type":9,"tag":37,"props":3573,"children":3574},{"style":44},[3575],{"type":14,"value":3576},"      label: user.name,\n",{"type":9,"tag":37,"props":3578,"children":3579},{"class":39,"line":464},[3580,3585,3590],{"type":9,"tag":37,"props":3581,"children":3582},{"style":44},[3583],{"type":14,"value":3584},"      value: ",{"type":9,"tag":37,"props":3586,"children":3587},{"style":56},[3588],{"type":14,"value":3589},"String",{"type":9,"tag":37,"props":3591,"children":3592},{"style":44},[3593],{"type":14,"value":3594},"(user.id),\n",{"type":9,"tag":37,"props":3596,"children":3597},{"class":39,"line":521},[3598,3603,3608,3612,3616,3620,3625,3630,3635,3639,3644],{"type":9,"tag":37,"props":3599,"children":3600},{"style":44},[3601],{"type":14,"value":3602},"      avatar: { src: ",{"type":9,"tag":37,"props":3604,"children":3605},{"style":72},[3606],{"type":14,"value":3607},"`https:\u002F\u002Fi.pravatar.cc\u002F120?img=${",{"type":9,"tag":37,"props":3609,"children":3610},{"style":44},[3611],{"type":14,"value":3559},{"type":9,"tag":37,"props":3613,"children":3614},{"style":72},[3615],{"type":14,"value":1358},{"type":9,"tag":37,"props":3617,"children":3618},{"style":44},[3619],{"type":14,"value":3492},{"type":9,"tag":37,"props":3621,"children":3622},{"style":72},[3623],{"type":14,"value":3624},"}`",{"type":9,"tag":37,"props":3626,"children":3627},{"style":44},[3628],{"type":14,"value":3629},", loading: ",{"type":9,"tag":37,"props":3631,"children":3632},{"style":72},[3633],{"type":14,"value":3634},"'lazy'",{"type":9,"tag":37,"props":3636,"children":3637},{"style":87},[3638],{"type":14,"value":656},{"type":9,"tag":37,"props":3640,"children":3641},{"style":87},[3642],{"type":14,"value":3643}," const",{"type":9,"tag":37,"props":3645,"children":3646},{"style":44},[3647],{"type":14,"value":1188},{"type":9,"tag":37,"props":3649,"children":3650},{"class":39,"line":614},[3651],{"type":9,"tag":37,"props":3652,"children":3653},{"style":44},[3654],{"type":14,"value":3655},"    }))\n",{"type":9,"tag":37,"props":3657,"children":3658},{"class":39,"line":623},[3659],{"type":9,"tag":37,"props":3660,"children":3661},{"style":44},[3662],{"type":14,"value":363},{"type":9,"tag":37,"props":3664,"children":3665},{"class":39,"line":697},[3666],{"type":9,"tag":37,"props":3667,"children":3668},{"style":44},[3669],{"type":14,"value":620},{"type":9,"tag":37,"props":3671,"children":3672},{"class":39,"line":714},[3673],{"type":9,"tag":37,"props":3674,"children":3675},{"emptyLinePlaceholder":117},[3676],{"type":14,"value":120},{"type":9,"tag":37,"props":3678,"children":3679},{"class":39,"line":722},[3680,3684,3688,3692,3696,3700],{"type":9,"tag":37,"props":3681,"children":3682},{"style":87},[3683],{"type":14,"value":129},{"type":9,"tag":37,"props":3685,"children":3686},{"style":137},[3687],{"type":14,"value":385},{"type":9,"tag":37,"props":3689,"children":3690},{"style":87},[3691],{"type":14,"value":177},{"type":9,"tag":37,"props":3693,"children":3694},{"style":44},[3695],{"type":14,"value":394},{"type":9,"tag":37,"props":3697,"children":3698},{"style":56},[3699],{"type":14,"value":399},{"type":9,"tag":37,"props":3701,"children":3702},{"style":44},[3703],{"type":14,"value":404},{"type":9,"tag":37,"props":3705,"children":3706},{"class":39,"line":739},[3707,3712,3716,3720,3724,3728,3732,3736,3741,3745,3749,3753,3758],{"type":9,"tag":37,"props":3708,"children":3709},{"style":44},[3710],{"type":14,"value":3711},"  name: afz.",{"type":9,"tag":37,"props":3713,"children":3714},{"style":56},[3715],{"type":14,"value":475},{"type":9,"tag":37,"props":3717,"children":3718},{"style":44},[3719],{"type":14,"value":500},{"type":9,"tag":37,"props":3721,"children":3722},{"style":56},[3723],{"type":14,"value":551},{"type":9,"tag":37,"props":3725,"children":3726},{"style":44},[3727],{"type":14,"value":452},{"type":9,"tag":37,"props":3729,"children":3730},{"style":137},[3731],{"type":14,"value":560},{"type":9,"tag":37,"props":3733,"children":3734},{"style":44},[3735],{"type":14,"value":192},{"type":9,"tag":37,"props":3737,"children":3738},{"style":72},[3739],{"type":14,"value":3740},"'请输入姓名'",{"type":9,"tag":37,"props":3742,"children":3743},{"style":44},[3744],{"type":14,"value":565},{"type":9,"tag":37,"props":3746,"children":3747},{"style":56},[3748],{"type":14,"value":447},{"type":9,"tag":37,"props":3750,"children":3751},{"style":44},[3752],{"type":14,"value":452},{"type":9,"tag":37,"props":3754,"children":3755},{"style":72},[3756],{"type":14,"value":3757},"'张三'",{"type":9,"tag":37,"props":3759,"children":3760},{"style":44},[3761],{"type":14,"value":461},{"type":9,"tag":37,"props":3763,"children":3764},{"class":39,"line":832},[3765,3770,3774,3778,3782,3786,3790,3794,3798,3802,3807,3811,3815,3819,3824],{"type":9,"tag":37,"props":3766,"children":3767},{"style":44},[3768],{"type":14,"value":3769},"  age: afz.",{"type":9,"tag":37,"props":3771,"children":3772},{"style":56},[3773],{"type":14,"value":2636},{"type":9,"tag":37,"props":3775,"children":3776},{"style":44},[3777],{"type":14,"value":500},{"type":9,"tag":37,"props":3779,"children":3780},{"style":56},[3781],{"type":14,"value":551},{"type":9,"tag":37,"props":3783,"children":3784},{"style":44},[3785],{"type":14,"value":452},{"type":9,"tag":37,"props":3787,"children":3788},{"style":137},[3789],{"type":14,"value":560},{"type":9,"tag":37,"props":3791,"children":3792},{"style":44},[3793],{"type":14,"value":565},{"type":9,"tag":37,"props":3795,"children":3796},{"style":56},[3797],{"type":14,"value":570},{"type":9,"tag":37,"props":3799,"children":3800},{"style":44},[3801],{"type":14,"value":452},{"type":9,"tag":37,"props":3803,"children":3804},{"style":137},[3805],{"type":14,"value":3806},"150",{"type":9,"tag":37,"props":3808,"children":3809},{"style":44},[3810],{"type":14,"value":565},{"type":9,"tag":37,"props":3812,"children":3813},{"style":56},[3814],{"type":14,"value":447},{"type":9,"tag":37,"props":3816,"children":3817},{"style":44},[3818],{"type":14,"value":452},{"type":9,"tag":37,"props":3820,"children":3821},{"style":137},[3822],{"type":14,"value":3823},"30",{"type":9,"tag":37,"props":3825,"children":3826},{"style":44},[3827],{"type":14,"value":461},{"type":9,"tag":37,"props":3829,"children":3830},{"class":39,"line":1285},[3831,3836,3841,3845,3850,3854,3858,3862,3867],{"type":9,"tag":37,"props":3832,"children":3833},{"style":44},[3834],{"type":14,"value":3835},"  email: afz.",{"type":9,"tag":37,"props":3837,"children":3838},{"style":56},[3839],{"type":14,"value":3840},"email",{"type":9,"tag":37,"props":3842,"children":3843},{"style":44},[3844],{"type":14,"value":452},{"type":9,"tag":37,"props":3846,"children":3847},{"style":72},[3848],{"type":14,"value":3849},"'请输入有效的邮箱地址'",{"type":9,"tag":37,"props":3851,"children":3852},{"style":44},[3853],{"type":14,"value":565},{"type":9,"tag":37,"props":3855,"children":3856},{"style":56},[3857],{"type":14,"value":447},{"type":9,"tag":37,"props":3859,"children":3860},{"style":44},[3861],{"type":14,"value":452},{"type":9,"tag":37,"props":3863,"children":3864},{"style":72},[3865],{"type":14,"value":3866},"'zhangsan@example.com'",{"type":9,"tag":37,"props":3868,"children":3869},{"style":44},[3870],{"type":14,"value":461},{"type":9,"tag":37,"props":3872,"children":3873},{"class":39,"line":1294},[3874,3879,3883],{"type":9,"tag":37,"props":3875,"children":3876},{"style":44},[3877],{"type":14,"value":3878},"  user: afz.",{"type":9,"tag":37,"props":3880,"children":3881},{"style":56},[3882],{"type":14,"value":399},{"type":9,"tag":37,"props":3884,"children":3885},{"style":44},[3886],{"type":14,"value":404},{"type":9,"tag":37,"props":3888,"children":3889},{"class":39,"line":1302},[3890,3895,3899],{"type":9,"tag":37,"props":3891,"children":3892},{"style":44},[3893],{"type":14,"value":3894},"    label: afz.",{"type":9,"tag":37,"props":3896,"children":3897},{"style":56},[3898],{"type":14,"value":475},{"type":9,"tag":37,"props":3900,"children":3901},{"style":44},[3902],{"type":14,"value":3903},"(),\n",{"type":9,"tag":37,"props":3905,"children":3906},{"class":39,"line":1310},[3907,3912,3916],{"type":9,"tag":37,"props":3908,"children":3909},{"style":44},[3910],{"type":14,"value":3911},"    value: afz.",{"type":9,"tag":37,"props":3913,"children":3914},{"style":56},[3915],{"type":14,"value":475},{"type":9,"tag":37,"props":3917,"children":3918},{"style":44},[3919],{"type":14,"value":3903},{"type":9,"tag":37,"props":3921,"children":3922},{"class":39,"line":1380},[3923,3928,3932,3937,3942],{"type":9,"tag":37,"props":3924,"children":3925},{"style":44},[3926],{"type":14,"value":3927},"    avatar: afz.",{"type":9,"tag":37,"props":3929,"children":3930},{"style":56},[3931],{"type":14,"value":399},{"type":9,"tag":37,"props":3933,"children":3934},{"style":44},[3935],{"type":14,"value":3936},"({ src: afz.",{"type":9,"tag":37,"props":3938,"children":3939},{"style":56},[3940],{"type":14,"value":3941},"url",{"type":9,"tag":37,"props":3943,"children":3944},{"style":44},[3945],{"type":14,"value":3946},"() })\n",{"type":9,"tag":37,"props":3948,"children":3949},{"class":39,"line":1398},[3950],{"type":9,"tag":37,"props":3951,"children":3952},{"style":44},[3953],{"type":14,"value":3954},"  }, {\n",{"type":9,"tag":37,"props":3956,"children":3957},{"class":39,"line":1416},[3958,3962,3966],{"type":9,"tag":37,"props":3959,"children":3960},{"style":44},[3961],{"type":14,"value":1083},{"type":9,"tag":37,"props":3963,"children":3964},{"style":72},[3965],{"type":14,"value":485},{"type":9,"tag":37,"props":3967,"children":3968},{"style":44},[3969],{"type":14,"value":1093},{"type":9,"tag":37,"props":3971,"children":3972},{"class":39,"line":1434},[3973,3978,3983,3988,3993,3997,4001,4005,4009,4013,4018,4022,4026,4031,4035,4039,4044,4048],{"type":9,"tag":37,"props":3974,"children":3975},{"style":56},[3976],{"type":14,"value":3977},"    controlProps",{"type":9,"tag":37,"props":3979,"children":3980},{"style":44},[3981],{"type":14,"value":3982},": ({ ",{"type":9,"tag":37,"props":3984,"children":3985},{"style":270},[3986],{"type":14,"value":3987},"value",{"type":9,"tag":37,"props":3989,"children":3990},{"style":44},[3991],{"type":14,"value":3992}," }",{"type":9,"tag":37,"props":3994,"children":3995},{"style":87},[3996],{"type":14,"value":239},{"type":9,"tag":37,"props":3998,"children":3999},{"style":44},[4000],{"type":14,"value":134},{"type":9,"tag":37,"props":4002,"children":4003},{"style":270},[4004],{"type":14,"value":3987},{"type":9,"tag":37,"props":4006,"children":4007},{"style":87},[4008],{"type":14,"value":239},{"type":9,"tag":37,"props":4010,"children":4011},{"style":44},[4012],{"type":14,"value":134},{"type":9,"tag":37,"props":4014,"children":4015},{"style":270},[4016],{"type":14,"value":4017},"avatar",{"type":9,"tag":37,"props":4019,"children":4020},{"style":87},[4021],{"type":14,"value":239},{"type":9,"tag":37,"props":4023,"children":4024},{"style":44},[4025],{"type":14,"value":134},{"type":9,"tag":37,"props":4027,"children":4028},{"style":270},[4029],{"type":14,"value":4030},"src",{"type":9,"tag":37,"props":4032,"children":4033},{"style":87},[4034],{"type":14,"value":239},{"type":9,"tag":37,"props":4036,"children":4037},{"style":137},[4038],{"type":14,"value":3519},{"type":9,"tag":37,"props":4040,"children":4041},{"style":44},[4042],{"type":14,"value":4043}," } } }) ",{"type":9,"tag":37,"props":4045,"children":4046},{"style":87},[4047],{"type":14,"value":3529},{"type":9,"tag":37,"props":4049,"children":4050},{"style":44},[4051],{"type":14,"value":3568},{"type":9,"tag":37,"props":4053,"children":4054},{"class":39,"line":1481},[4055,4060,4064,4069],{"type":9,"tag":37,"props":4056,"children":4057},{"style":72},[4058],{"type":14,"value":4059},"      'placeholder'",{"type":9,"tag":37,"props":4061,"children":4062},{"style":44},[4063],{"type":14,"value":267},{"type":9,"tag":37,"props":4065,"children":4066},{"style":72},[4067],{"type":14,"value":4068},"'请选择用户'",{"type":9,"tag":37,"props":4070,"children":4071},{"style":44},[4072],{"type":14,"value":1093},{"type":9,"tag":37,"props":4074,"children":4075},{"class":39,"line":1489},[4076,4081,4086,4091],{"type":9,"tag":37,"props":4077,"children":4078},{"style":72},[4079],{"type":14,"value":4080},"      'items'",{"type":9,"tag":37,"props":4082,"children":4083},{"style":44},[4084],{"type":14,"value":4085},": users.value ",{"type":9,"tag":37,"props":4087,"children":4088},{"style":87},[4089],{"type":14,"value":4090},"||",{"type":9,"tag":37,"props":4092,"children":4093},{"style":44},[4094],{"type":14,"value":4095}," [],\n",{"type":9,"tag":37,"props":4097,"children":4098},{"class":39,"line":1497},[4099,4104],{"type":9,"tag":37,"props":4100,"children":4101},{"style":72},[4102],{"type":14,"value":4103},"      'avatar'",{"type":9,"tag":37,"props":4105,"children":4106},{"style":44},[4107],{"type":14,"value":4108},": value?.avatar,\n",{"type":9,"tag":37,"props":4110,"children":4111},{"class":39,"line":1513},[4112,4117],{"type":9,"tag":37,"props":4113,"children":4114},{"style":72},[4115],{"type":14,"value":4116},"      'loading'",{"type":9,"tag":37,"props":4118,"children":4119},{"style":44},[4120],{"type":14,"value":4121},": pending.value,\n",{"type":9,"tag":37,"props":4123,"children":4124},{"class":39,"line":1521},[4125,4130,4135,4139],{"type":9,"tag":37,"props":4126,"children":4127},{"style":72},[4128],{"type":14,"value":4129},"      'onUpdate:open'",{"type":9,"tag":37,"props":4131,"children":4132},{"style":44},[4133],{"type":14,"value":4134},": () ",{"type":9,"tag":37,"props":4136,"children":4137},{"style":87},[4138],{"type":14,"value":3529},{"type":9,"tag":37,"props":4140,"children":4141},{"style":44},[4142],{"type":14,"value":253},{"type":9,"tag":37,"props":4144,"children":4145},{"class":39,"line":1537},[4146,4151,4156,4161,4166,4171,4176],{"type":9,"tag":37,"props":4147,"children":4148},{"style":87},[4149],{"type":14,"value":4150},"        if",{"type":9,"tag":37,"props":4152,"children":4153},{"style":44},[4154],{"type":14,"value":4155}," (",{"type":9,"tag":37,"props":4157,"children":4158},{"style":87},[4159],{"type":14,"value":4160},"!",{"type":9,"tag":37,"props":4162,"children":4163},{"style":44},[4164],{"type":14,"value":4165},"users.value ",{"type":9,"tag":37,"props":4167,"children":4168},{"style":87},[4169],{"type":14,"value":4170},"&&",{"type":9,"tag":37,"props":4172,"children":4173},{"style":87},[4174],{"type":14,"value":4175}," !",{"type":9,"tag":37,"props":4177,"children":4178},{"style":44},[4179],{"type":14,"value":4180},"pending.value) {\n",{"type":9,"tag":37,"props":4182,"children":4183},{"class":39,"line":1603},[4184,4189],{"type":9,"tag":37,"props":4185,"children":4186},{"style":56},[4187],{"type":14,"value":4188},"          execute",{"type":9,"tag":37,"props":4190,"children":4191},{"style":44},[4192],{"type":14,"value":159},{"type":9,"tag":37,"props":4194,"children":4195},{"class":39,"line":2964},[4196],{"type":9,"tag":37,"props":4197,"children":4198},{"style":44},[4199],{"type":14,"value":2498},{"type":9,"tag":37,"props":4201,"children":4202},{"class":39,"line":2980},[4203],{"type":9,"tag":37,"props":4204,"children":4205},{"style":44},[4206],{"type":14,"value":4207},"      }\n",{"type":9,"tag":37,"props":4209,"children":4210},{"class":39,"line":2996},[4211],{"type":9,"tag":37,"props":4212,"children":4213},{"style":44},[4214],{"type":14,"value":1291},{"type":9,"tag":37,"props":4216,"children":4217},{"class":39,"line":3012},[4218],{"type":9,"tag":37,"props":4219,"children":4220},{"style":44},[4221],{"type":14,"value":1212},{"type":9,"tag":37,"props":4223,"children":4224},{"class":39,"line":3052},[4225],{"type":9,"tag":37,"props":4226,"children":4227},{"style":44},[4228],{"type":14,"value":620},{"type":9,"tag":37,"props":4230,"children":4231},{"class":39,"line":3060},[4232],{"type":9,"tag":37,"props":4233,"children":4234},{"emptyLinePlaceholder":117},[4235],{"type":14,"value":120},{"type":9,"tag":37,"props":4237,"children":4238},{"class":39,"line":3068},[4239,4243,4247,4251,4255,4259,4263,4267,4271,4275,4279,4283,4287,4291],{"type":9,"tag":37,"props":4240,"children":4241},{"style":87},[4242],{"type":14,"value":1316},{"type":9,"tag":37,"props":4244,"children":4245},{"style":87},[4246],{"type":14,"value":1321},{"type":9,"tag":37,"props":4248,"children":4249},{"style":56},[4250],{"type":14,"value":1326},{"type":9,"tag":37,"props":4252,"children":4253},{"style":44},[4254],{"type":14,"value":452},{"type":9,"tag":37,"props":4256,"children":4257},{"style":270},[4258],{"type":14,"value":1335},{"type":9,"tag":37,"props":4260,"children":4261},{"style":87},[4262],{"type":14,"value":239},{"type":9,"tag":37,"props":4264,"children":4265},{"style":56},[4266],{"type":14,"value":1344},{"type":9,"tag":37,"props":4268,"children":4269},{"style":44},[4270],{"type":14,"value":47},{"type":9,"tag":37,"props":4272,"children":4273},{"style":56},[4274],{"type":14,"value":1353},{"type":9,"tag":37,"props":4276,"children":4277},{"style":44},[4278],{"type":14,"value":1358},{"type":9,"tag":37,"props":4280,"children":4281},{"style":56},[4282],{"type":14,"value":1363},{"type":9,"tag":37,"props":4284,"children":4285},{"style":44},[4286],{"type":14,"value":47},{"type":9,"tag":37,"props":4288,"children":4289},{"style":87},[4290],{"type":14,"value":1372},{"type":9,"tag":37,"props":4292,"children":4293},{"style":44},[4294],{"type":14,"value":1377},{"type":9,"tag":37,"props":4296,"children":4297},{"class":39,"line":3084},[4298,4302,4306],{"type":9,"tag":37,"props":4299,"children":4300},{"style":44},[4301],{"type":14,"value":1386},{"type":9,"tag":37,"props":4303,"children":4304},{"style":56},[4305],{"type":14,"value":1391},{"type":9,"tag":37,"props":4307,"children":4308},{"style":44},[4309],{"type":14,"value":404},{"type":9,"tag":37,"props":4311,"children":4312},{"class":39,"line":3092},[4313,4317,4322],{"type":9,"tag":37,"props":4314,"children":4315},{"style":44},[4316],{"type":14,"value":1404},{"type":9,"tag":37,"props":4318,"children":4319},{"style":72},[4320],{"type":14,"value":4321},"'提交成功'",{"type":9,"tag":37,"props":4323,"children":4324},{"style":44},[4325],{"type":14,"value":1093},{"type":9,"tag":37,"props":4327,"children":4328},{"class":39,"line":3108},[4329,4333,4337],{"type":9,"tag":37,"props":4330,"children":4331},{"style":44},[4332],{"type":14,"value":1422},{"type":9,"tag":37,"props":4334,"children":4335},{"style":72},[4336],{"type":14,"value":1427},{"type":9,"tag":37,"props":4338,"children":4339},{"style":44},[4340],{"type":14,"value":1093},{"type":9,"tag":37,"props":4342,"children":4343},{"class":39,"line":3172},[4344,4348,4352,4356,4360,4364,4368,4372,4376],{"type":9,"tag":37,"props":4345,"children":4346},{"style":44},[4347],{"type":14,"value":1440},{"type":9,"tag":37,"props":4349,"children":4350},{"style":137},[4351],{"type":14,"value":1445},{"type":9,"tag":37,"props":4353,"children":4354},{"style":44},[4355],{"type":14,"value":1358},{"type":9,"tag":37,"props":4357,"children":4358},{"style":56},[4359],{"type":14,"value":1454},{"type":9,"tag":37,"props":4361,"children":4362},{"style":44},[4363],{"type":14,"value":1459},{"type":9,"tag":37,"props":4365,"children":4366},{"style":137},[4367],{"type":14,"value":1464},{"type":9,"tag":37,"props":4369,"children":4370},{"style":44},[4371],{"type":14,"value":192},{"type":9,"tag":37,"props":4373,"children":4374},{"style":137},[4375],{"type":14,"value":1473},{"type":9,"tag":37,"props":4377,"children":4378},{"style":44},[4379],{"type":14,"value":1478},{"type":9,"tag":37,"props":4381,"children":4383},{"class":39,"line":4382},49,[4384],{"type":9,"tag":37,"props":4385,"children":4386},{"style":44},[4387],{"type":14,"value":1212},{"type":9,"tag":37,"props":4389,"children":4391},{"class":39,"line":4390},50,[4392],{"type":9,"tag":37,"props":4393,"children":4394},{"style":44},[4395],{"type":14,"value":372},{"type":9,"tag":37,"props":4397,"children":4399},{"class":39,"line":4398},51,[4400,4404,4408],{"type":9,"tag":37,"props":4401,"children":4402},{"style":44},[4403],{"type":14,"value":703},{"type":9,"tag":37,"props":4405,"children":4406},{"style":50},[4407],{"type":14,"value":53},{"type":9,"tag":37,"props":4409,"children":4410},{"style":44},[4411],{"type":14,"value":80},{"type":9,"tag":37,"props":4413,"children":4415},{"class":39,"line":4414},52,[4416],{"type":9,"tag":37,"props":4417,"children":4418},{"emptyLinePlaceholder":117},[4419],{"type":14,"value":120},{"type":9,"tag":37,"props":4421,"children":4423},{"class":39,"line":4422},53,[4424,4428,4432],{"type":9,"tag":37,"props":4425,"children":4426},{"style":44},[4427],{"type":14,"value":47},{"type":9,"tag":37,"props":4429,"children":4430},{"style":50},[4431],{"type":14,"value":732},{"type":9,"tag":37,"props":4433,"children":4434},{"style":44},[4435],{"type":14,"value":80},{"type":9,"tag":37,"props":4437,"children":4439},{"class":39,"line":4438},54,[4440,4444,4448,4452,4456,4460,4464,4468,4472,4476,4480,4484,4488,4492,4496],{"type":9,"tag":37,"props":4441,"children":4442},{"style":44},[4443],{"type":14,"value":745},{"type":9,"tag":37,"props":4445,"children":4446},{"style":50},[4447],{"type":14,"value":750},{"type":9,"tag":37,"props":4449,"children":4450},{"style":44},[4451],{"type":14,"value":777},{"type":9,"tag":37,"props":4453,"children":4454},{"style":56},[4455],{"type":14,"value":782},{"type":9,"tag":37,"props":4457,"children":4458},{"style":44},[4459],{"type":14,"value":69},{"type":9,"tag":37,"props":4461,"children":4462},{"style":72},[4463],{"type":14,"value":764},{"type":9,"tag":37,"props":4465,"children":4466},{"style":44},[4467],{"type":14,"value":782},{"type":9,"tag":37,"props":4469,"children":4470},{"style":72},[4471],{"type":14,"value":764},{"type":9,"tag":37,"props":4473,"children":4474},{"style":44},[4475],{"type":14,"value":1575},{"type":9,"tag":37,"props":4477,"children":4478},{"style":56},[4479],{"type":14,"value":807},{"type":9,"tag":37,"props":4481,"children":4482},{"style":44},[4483],{"type":14,"value":69},{"type":9,"tag":37,"props":4485,"children":4486},{"style":72},[4487],{"type":14,"value":764},{"type":9,"tag":37,"props":4489,"children":4490},{"style":44},[4491],{"type":14,"value":1592},{"type":9,"tag":37,"props":4493,"children":4494},{"style":72},[4495],{"type":14,"value":764},{"type":9,"tag":37,"props":4497,"children":4498},{"style":44},[4499],{"type":14,"value":829},{"type":9,"tag":37,"props":4501,"children":4503},{"class":39,"line":4502},55,[4504,4508,4512],{"type":9,"tag":37,"props":4505,"children":4506},{"style":44},[4507],{"type":14,"value":703},{"type":9,"tag":37,"props":4509,"children":4510},{"style":50},[4511],{"type":14,"value":732},{"type":9,"tag":37,"props":4513,"children":4514},{"style":44},[4515],{"type":14,"value":80},{"type":9,"tag":847,"props":4517,"children":4518},{},[4519],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":4521},[],{"code":4523,"filePath":4524,"pascalName":4525},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  user: afz.object({\n    name: afz.string(),\n    email: afz.email()\n  }).meta({ label: '用户信息', collapsible: { defaultOpen: true } }),\n  address: afz.object({\n    street: afz.string(),\n    city: afz.string(),\n    zipCode: afz.string()\n  }).optional().meta({ label: '地址信息' })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldObjectNestedExample.vue","AutoFormFieldObjectNestedExample",{"data":4527,"body":4528,"toc":5180},{"title":22,"description":22},{"type":6,"children":4529},[4530,5176],{"type":9,"tag":863,"props":4531,"children":4532},{},[4533],{"type":9,"tag":26,"props":4534,"children":4536},{"className":28,"code":4535,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  user: afz.object({\n    name: afz.string(),\n    email: afz.email()\n  }).meta({ label: '用户信息', collapsible: { defaultOpen: true } }),\n  address: afz.object({\n    street: afz.string(),\n    city: afz.string(),\n    zipCode: afz.string()\n  }).optional().meta({ label: '地址信息' })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[4537],{"type":9,"tag":33,"props":4538,"children":4539},{"__ignoreMap":22},[4540,4571,4594,4617,4624,4655,4678,4685,4712,4727,4743,4759,4794,4810,4826,4842,4858,4890,4897,4904,4963,4978,4993,5008,5047,5054,5061,5076,5083,5098,5161],{"type":9,"tag":37,"props":4541,"children":4542},{"class":39,"line":40},[4543,4547,4551,4555,4559,4563,4567],{"type":9,"tag":37,"props":4544,"children":4545},{"style":44},[4546],{"type":14,"value":47},{"type":9,"tag":37,"props":4548,"children":4549},{"style":50},[4550],{"type":14,"value":53},{"type":9,"tag":37,"props":4552,"children":4553},{"style":56},[4554],{"type":14,"value":64},{"type":9,"tag":37,"props":4556,"children":4557},{"style":44},[4558],{"type":14,"value":69},{"type":9,"tag":37,"props":4560,"children":4561},{"style":72},[4562],{"type":14,"value":75},{"type":9,"tag":37,"props":4564,"children":4565},{"style":56},[4566],{"type":14,"value":59},{"type":9,"tag":37,"props":4568,"children":4569},{"style":44},[4570],{"type":14,"value":80},{"type":9,"tag":37,"props":4572,"children":4573},{"class":39,"line":83},[4574,4578,4582,4586,4590],{"type":9,"tag":37,"props":4575,"children":4576},{"style":87},[4577],{"type":14,"value":90},{"type":9,"tag":37,"props":4579,"children":4580},{"style":87},[4581],{"type":14,"value":95},{"type":9,"tag":37,"props":4583,"children":4584},{"style":44},[4585],{"type":14,"value":919},{"type":9,"tag":37,"props":4587,"children":4588},{"style":87},[4589],{"type":14,"value":105},{"type":9,"tag":37,"props":4591,"children":4592},{"style":72},[4593],{"type":14,"value":928},{"type":9,"tag":37,"props":4595,"children":4596},{"class":39,"line":113},[4597,4601,4605,4609,4613],{"type":9,"tag":37,"props":4598,"children":4599},{"style":87},[4600],{"type":14,"value":90},{"type":9,"tag":37,"props":4602,"children":4603},{"style":87},[4604],{"type":14,"value":95},{"type":9,"tag":37,"props":4606,"children":4607},{"style":44},[4608],{"type":14,"value":944},{"type":9,"tag":37,"props":4610,"children":4611},{"style":87},[4612],{"type":14,"value":105},{"type":9,"tag":37,"props":4614,"children":4615},{"style":72},[4616],{"type":14,"value":953},{"type":9,"tag":37,"props":4618,"children":4619},{"class":39,"line":123},[4620],{"type":9,"tag":37,"props":4621,"children":4622},{"emptyLinePlaceholder":117},[4623],{"type":14,"value":120},{"type":9,"tag":37,"props":4625,"children":4626},{"class":39,"line":162},[4627,4631,4635,4639,4643,4647,4651],{"type":9,"tag":37,"props":4628,"children":4629},{"style":87},[4630],{"type":14,"value":129},{"type":9,"tag":37,"props":4632,"children":4633},{"style":44},[4634],{"type":14,"value":134},{"type":9,"tag":37,"props":4636,"children":4637},{"style":137},[4638],{"type":14,"value":140},{"type":9,"tag":37,"props":4640,"children":4641},{"style":44},[4642],{"type":14,"value":145},{"type":9,"tag":37,"props":4644,"children":4645},{"style":87},[4646],{"type":14,"value":69},{"type":9,"tag":37,"props":4648,"children":4649},{"style":56},[4650],{"type":14,"value":154},{"type":9,"tag":37,"props":4652,"children":4653},{"style":44},[4654],{"type":14,"value":159},{"type":9,"tag":37,"props":4656,"children":4657},{"class":39,"line":224},[4658,4662,4666,4670,4674],{"type":9,"tag":37,"props":4659,"children":4660},{"style":87},[4661],{"type":14,"value":129},{"type":9,"tag":37,"props":4663,"children":4664},{"style":137},[4665],{"type":14,"value":1003},{"type":9,"tag":37,"props":4667,"children":4668},{"style":87},[4669],{"type":14,"value":177},{"type":9,"tag":37,"props":4671,"children":4672},{"style":56},[4673],{"type":14,"value":1012},{"type":9,"tag":37,"props":4675,"children":4676},{"style":44},[4677],{"type":14,"value":159},{"type":9,"tag":37,"props":4679,"children":4680},{"class":39,"line":256},[4681],{"type":9,"tag":37,"props":4682,"children":4683},{"emptyLinePlaceholder":117},[4684],{"type":14,"value":120},{"type":9,"tag":37,"props":4686,"children":4687},{"class":39,"line":286},[4688,4692,4696,4700,4704,4708],{"type":9,"tag":37,"props":4689,"children":4690},{"style":87},[4691],{"type":14,"value":129},{"type":9,"tag":37,"props":4693,"children":4694},{"style":137},[4695],{"type":14,"value":385},{"type":9,"tag":37,"props":4697,"children":4698},{"style":87},[4699],{"type":14,"value":177},{"type":9,"tag":37,"props":4701,"children":4702},{"style":44},[4703],{"type":14,"value":394},{"type":9,"tag":37,"props":4705,"children":4706},{"style":56},[4707],{"type":14,"value":399},{"type":9,"tag":37,"props":4709,"children":4710},{"style":44},[4711],{"type":14,"value":404},{"type":9,"tag":37,"props":4713,"children":4714},{"class":39,"line":314},[4715,4719,4723],{"type":9,"tag":37,"props":4716,"children":4717},{"style":44},[4718],{"type":14,"value":3878},{"type":9,"tag":37,"props":4720,"children":4721},{"style":56},[4722],{"type":14,"value":399},{"type":9,"tag":37,"props":4724,"children":4725},{"style":44},[4726],{"type":14,"value":404},{"type":9,"tag":37,"props":4728,"children":4729},{"class":39,"line":357},[4730,4735,4739],{"type":9,"tag":37,"props":4731,"children":4732},{"style":44},[4733],{"type":14,"value":4734},"    name: afz.",{"type":9,"tag":37,"props":4736,"children":4737},{"style":56},[4738],{"type":14,"value":475},{"type":9,"tag":37,"props":4740,"children":4741},{"style":44},[4742],{"type":14,"value":3903},{"type":9,"tag":37,"props":4744,"children":4745},{"class":39,"line":366},[4746,4751,4755],{"type":9,"tag":37,"props":4747,"children":4748},{"style":44},[4749],{"type":14,"value":4750},"    email: afz.",{"type":9,"tag":37,"props":4752,"children":4753},{"style":56},[4754],{"type":14,"value":3840},{"type":9,"tag":37,"props":4756,"children":4757},{"style":44},[4758],{"type":14,"value":159},{"type":9,"tag":37,"props":4760,"children":4761},{"class":39,"line":375},[4762,4767,4771,4775,4780,4785,4789],{"type":9,"tag":37,"props":4763,"children":4764},{"style":44},[4765],{"type":14,"value":4766},"  }).",{"type":9,"tag":37,"props":4768,"children":4769},{"style":56},[4770],{"type":14,"value":505},{"type":9,"tag":37,"props":4772,"children":4773},{"style":44},[4774],{"type":14,"value":2531},{"type":9,"tag":37,"props":4776,"children":4777},{"style":72},[4778],{"type":14,"value":4779},"'用户信息'",{"type":9,"tag":37,"props":4781,"children":4782},{"style":44},[4783],{"type":14,"value":4784},", collapsible: { defaultOpen: ",{"type":9,"tag":37,"props":4786,"children":4787},{"style":137},[4788],{"type":14,"value":597},{"type":9,"tag":37,"props":4790,"children":4791},{"style":44},[4792],{"type":14,"value":4793}," } }),\n",{"type":9,"tag":37,"props":4795,"children":4796},{"class":39,"line":407},[4797,4802,4806],{"type":9,"tag":37,"props":4798,"children":4799},{"style":44},[4800],{"type":14,"value":4801},"  address: afz.",{"type":9,"tag":37,"props":4803,"children":4804},{"style":56},[4805],{"type":14,"value":399},{"type":9,"tag":37,"props":4807,"children":4808},{"style":44},[4809],{"type":14,"value":404},{"type":9,"tag":37,"props":4811,"children":4812},{"class":39,"line":464},[4813,4818,4822],{"type":9,"tag":37,"props":4814,"children":4815},{"style":44},[4816],{"type":14,"value":4817},"    street: afz.",{"type":9,"tag":37,"props":4819,"children":4820},{"style":56},[4821],{"type":14,"value":475},{"type":9,"tag":37,"props":4823,"children":4824},{"style":44},[4825],{"type":14,"value":3903},{"type":9,"tag":37,"props":4827,"children":4828},{"class":39,"line":521},[4829,4834,4838],{"type":9,"tag":37,"props":4830,"children":4831},{"style":44},[4832],{"type":14,"value":4833},"    city: afz.",{"type":9,"tag":37,"props":4835,"children":4836},{"style":56},[4837],{"type":14,"value":475},{"type":9,"tag":37,"props":4839,"children":4840},{"style":44},[4841],{"type":14,"value":3903},{"type":9,"tag":37,"props":4843,"children":4844},{"class":39,"line":614},[4845,4850,4854],{"type":9,"tag":37,"props":4846,"children":4847},{"style":44},[4848],{"type":14,"value":4849},"    zipCode: afz.",{"type":9,"tag":37,"props":4851,"children":4852},{"style":56},[4853],{"type":14,"value":475},{"type":9,"tag":37,"props":4855,"children":4856},{"style":44},[4857],{"type":14,"value":159},{"type":9,"tag":37,"props":4859,"children":4860},{"class":39,"line":623},[4861,4865,4869,4873,4877,4881,4886],{"type":9,"tag":37,"props":4862,"children":4863},{"style":44},[4864],{"type":14,"value":4766},{"type":9,"tag":37,"props":4866,"children":4867},{"style":56},[4868],{"type":14,"value":495},{"type":9,"tag":37,"props":4870,"children":4871},{"style":44},[4872],{"type":14,"value":500},{"type":9,"tag":37,"props":4874,"children":4875},{"style":56},[4876],{"type":14,"value":505},{"type":9,"tag":37,"props":4878,"children":4879},{"style":44},[4880],{"type":14,"value":2531},{"type":9,"tag":37,"props":4882,"children":4883},{"style":72},[4884],{"type":14,"value":4885},"'地址信息'",{"type":9,"tag":37,"props":4887,"children":4888},{"style":44},[4889],{"type":14,"value":611},{"type":9,"tag":37,"props":4891,"children":4892},{"class":39,"line":697},[4893],{"type":9,"tag":37,"props":4894,"children":4895},{"style":44},[4896],{"type":14,"value":620},{"type":9,"tag":37,"props":4898,"children":4899},{"class":39,"line":714},[4900],{"type":9,"tag":37,"props":4901,"children":4902},{"emptyLinePlaceholder":117},[4903],{"type":14,"value":120},{"type":9,"tag":37,"props":4905,"children":4906},{"class":39,"line":722},[4907,4911,4915,4919,4923,4927,4931,4935,4939,4943,4947,4951,4955,4959],{"type":9,"tag":37,"props":4908,"children":4909},{"style":87},[4910],{"type":14,"value":1316},{"type":9,"tag":37,"props":4912,"children":4913},{"style":87},[4914],{"type":14,"value":1321},{"type":9,"tag":37,"props":4916,"children":4917},{"style":56},[4918],{"type":14,"value":1326},{"type":9,"tag":37,"props":4920,"children":4921},{"style":44},[4922],{"type":14,"value":452},{"type":9,"tag":37,"props":4924,"children":4925},{"style":270},[4926],{"type":14,"value":1335},{"type":9,"tag":37,"props":4928,"children":4929},{"style":87},[4930],{"type":14,"value":239},{"type":9,"tag":37,"props":4932,"children":4933},{"style":56},[4934],{"type":14,"value":1344},{"type":9,"tag":37,"props":4936,"children":4937},{"style":44},[4938],{"type":14,"value":47},{"type":9,"tag":37,"props":4940,"children":4941},{"style":56},[4942],{"type":14,"value":1353},{"type":9,"tag":37,"props":4944,"children":4945},{"style":44},[4946],{"type":14,"value":1358},{"type":9,"tag":37,"props":4948,"children":4949},{"style":56},[4950],{"type":14,"value":1363},{"type":9,"tag":37,"props":4952,"children":4953},{"style":44},[4954],{"type":14,"value":47},{"type":9,"tag":37,"props":4956,"children":4957},{"style":87},[4958],{"type":14,"value":1372},{"type":9,"tag":37,"props":4960,"children":4961},{"style":44},[4962],{"type":14,"value":1377},{"type":9,"tag":37,"props":4964,"children":4965},{"class":39,"line":739},[4966,4970,4974],{"type":9,"tag":37,"props":4967,"children":4968},{"style":44},[4969],{"type":14,"value":1386},{"type":9,"tag":37,"props":4971,"children":4972},{"style":56},[4973],{"type":14,"value":1391},{"type":9,"tag":37,"props":4975,"children":4976},{"style":44},[4977],{"type":14,"value":404},{"type":9,"tag":37,"props":4979,"children":4980},{"class":39,"line":832},[4981,4985,4989],{"type":9,"tag":37,"props":4982,"children":4983},{"style":44},[4984],{"type":14,"value":1404},{"type":9,"tag":37,"props":4986,"children":4987},{"style":72},[4988],{"type":14,"value":1409},{"type":9,"tag":37,"props":4990,"children":4991},{"style":44},[4992],{"type":14,"value":1093},{"type":9,"tag":37,"props":4994,"children":4995},{"class":39,"line":1285},[4996,5000,5004],{"type":9,"tag":37,"props":4997,"children":4998},{"style":44},[4999],{"type":14,"value":1422},{"type":9,"tag":37,"props":5001,"children":5002},{"style":72},[5003],{"type":14,"value":1427},{"type":9,"tag":37,"props":5005,"children":5006},{"style":44},[5007],{"type":14,"value":1093},{"type":9,"tag":37,"props":5009,"children":5010},{"class":39,"line":1294},[5011,5015,5019,5023,5027,5031,5035,5039,5043],{"type":9,"tag":37,"props":5012,"children":5013},{"style":44},[5014],{"type":14,"value":1440},{"type":9,"tag":37,"props":5016,"children":5017},{"style":137},[5018],{"type":14,"value":1445},{"type":9,"tag":37,"props":5020,"children":5021},{"style":44},[5022],{"type":14,"value":1358},{"type":9,"tag":37,"props":5024,"children":5025},{"style":56},[5026],{"type":14,"value":1454},{"type":9,"tag":37,"props":5028,"children":5029},{"style":44},[5030],{"type":14,"value":1459},{"type":9,"tag":37,"props":5032,"children":5033},{"style":137},[5034],{"type":14,"value":1464},{"type":9,"tag":37,"props":5036,"children":5037},{"style":44},[5038],{"type":14,"value":192},{"type":9,"tag":37,"props":5040,"children":5041},{"style":137},[5042],{"type":14,"value":1473},{"type":9,"tag":37,"props":5044,"children":5045},{"style":44},[5046],{"type":14,"value":1478},{"type":9,"tag":37,"props":5048,"children":5049},{"class":39,"line":1302},[5050],{"type":9,"tag":37,"props":5051,"children":5052},{"style":44},[5053],{"type":14,"value":1212},{"type":9,"tag":37,"props":5055,"children":5056},{"class":39,"line":1310},[5057],{"type":9,"tag":37,"props":5058,"children":5059},{"style":44},[5060],{"type":14,"value":372},{"type":9,"tag":37,"props":5062,"children":5063},{"class":39,"line":1380},[5064,5068,5072],{"type":9,"tag":37,"props":5065,"children":5066},{"style":44},[5067],{"type":14,"value":703},{"type":9,"tag":37,"props":5069,"children":5070},{"style":50},[5071],{"type":14,"value":53},{"type":9,"tag":37,"props":5073,"children":5074},{"style":44},[5075],{"type":14,"value":80},{"type":9,"tag":37,"props":5077,"children":5078},{"class":39,"line":1398},[5079],{"type":9,"tag":37,"props":5080,"children":5081},{"emptyLinePlaceholder":117},[5082],{"type":14,"value":120},{"type":9,"tag":37,"props":5084,"children":5085},{"class":39,"line":1416},[5086,5090,5094],{"type":9,"tag":37,"props":5087,"children":5088},{"style":44},[5089],{"type":14,"value":47},{"type":9,"tag":37,"props":5091,"children":5092},{"style":50},[5093],{"type":14,"value":732},{"type":9,"tag":37,"props":5095,"children":5096},{"style":44},[5097],{"type":14,"value":80},{"type":9,"tag":37,"props":5099,"children":5100},{"class":39,"line":1434},[5101,5105,5109,5113,5117,5121,5125,5129,5133,5137,5141,5145,5149,5153,5157],{"type":9,"tag":37,"props":5102,"children":5103},{"style":44},[5104],{"type":14,"value":745},{"type":9,"tag":37,"props":5106,"children":5107},{"style":50},[5108],{"type":14,"value":750},{"type":9,"tag":37,"props":5110,"children":5111},{"style":44},[5112],{"type":14,"value":777},{"type":9,"tag":37,"props":5114,"children":5115},{"style":56},[5116],{"type":14,"value":782},{"type":9,"tag":37,"props":5118,"children":5119},{"style":44},[5120],{"type":14,"value":69},{"type":9,"tag":37,"props":5122,"children":5123},{"style":72},[5124],{"type":14,"value":764},{"type":9,"tag":37,"props":5126,"children":5127},{"style":44},[5128],{"type":14,"value":782},{"type":9,"tag":37,"props":5130,"children":5131},{"style":72},[5132],{"type":14,"value":764},{"type":9,"tag":37,"props":5134,"children":5135},{"style":44},[5136],{"type":14,"value":1575},{"type":9,"tag":37,"props":5138,"children":5139},{"style":56},[5140],{"type":14,"value":807},{"type":9,"tag":37,"props":5142,"children":5143},{"style":44},[5144],{"type":14,"value":69},{"type":9,"tag":37,"props":5146,"children":5147},{"style":72},[5148],{"type":14,"value":764},{"type":9,"tag":37,"props":5150,"children":5151},{"style":44},[5152],{"type":14,"value":1592},{"type":9,"tag":37,"props":5154,"children":5155},{"style":72},[5156],{"type":14,"value":764},{"type":9,"tag":37,"props":5158,"children":5159},{"style":44},[5160],{"type":14,"value":829},{"type":9,"tag":37,"props":5162,"children":5163},{"class":39,"line":1481},[5164,5168,5172],{"type":9,"tag":37,"props":5165,"children":5166},{"style":44},[5167],{"type":14,"value":703},{"type":9,"tag":37,"props":5169,"children":5170},{"style":50},[5171],{"type":14,"value":732},{"type":9,"tag":37,"props":5173,"children":5174},{"style":44},[5175],{"type":14,"value":80},{"type":9,"tag":847,"props":5177,"children":5178},{},[5179],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":5181},[],{"code":5183,"filePath":5184,"pascalName":5185},"\u003Cscript lang=\"ts\" setup>\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\ninterface UserInfo {\n  name: string\n  age: number\n  email: string\n}\n\nconst userSchema = {\n  name: afz.string().min(1, '请输入姓名').default('张三'),\n  age: afz.number().min(1).max(150).default(18),\n  email: afz.email('请输入有效的邮箱地址').default('example@example.com')\n}\n\nconst testUser = {\n  name: '张三',\n  age: 28,\n  email: 'test@example.com',\n  extraField: '我是额外字段'\n}\n\nconst normalSchema = afz.object\u003CUserInfo>()(userSchema)\nconst looseSchema = afz.looseObject\u003CUserInfo>()(userSchema)\nconst strictSchema = afz.strictObject\u003CUserInfo>()(userSchema)\n\nconst currentType = ref\u003C'normal' | 'loose' | 'strict'>('normal')\nconst items = [\n  { label: 'Normal', value: 'normal' },\n  { label: 'Loose', value: 'loose' },\n  { label: 'Strict', value: 'strict' }\n]\n\nconst schema = computed(() => {\n  switch (currentType.value) {\n    case 'loose': return looseSchema\n    case 'strict': return strictSchema\n    default: return normalSchema\n  }\n})\n\nasync function click() {\n  const parsed = schema.value.safeParse(testUser)\n  if (!parsed.success) {\n    toast.add({\n      title: '验证失败',\n      color: 'error',\n      description: JSON.stringify(parsed.error.issues, null, 2)\n    })\n  } else {\n    toast.add({\n      title: '验证成功',\n      color: 'success',\n      description: JSON.stringify(parsed.data, null, 2)\n    })\n  }\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CUCard class=\"space-y-4\">\n    \u003Ctemplate #header>\n      \u003Cdiv class=\"flex items-center gap-2\">\n        \u003Cspan class=\"text-sm font-medium\">选择对象类型：\u003C\u002Fspan>\n        \u003CUSelect v-model=\"currentType\" :items=\"items\" \u002F>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftemplate>\n\n    \u003CMAutoForm :schema=\"schema\" :submit=\"false\">\n      \u003Ctemplate #footer>\n        \u003CUButton color=\"primary\" @click=\"click\">\n          验证类型\n        \u003C\u002FUButton>\n      \u003C\u002Ftemplate>\n    \u003C\u002FMAutoForm>\n  \u003C\u002FUCard>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldObjectTypedExample.vue","AutoFormFieldObjectTypedExample",{"data":5187,"body":5188,"toc":6903},{"title":22,"description":22},{"type":6,"children":5189},[5190,6899],{"type":9,"tag":863,"props":5191,"children":5192},{},[5193],{"type":9,"tag":26,"props":5194,"children":5196},{"className":28,"code":5195,"language":30,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\ninterface UserInfo {\n  name: string\n  age: number\n  email: string\n}\n\nconst userSchema = {\n  name: afz.string().min(1, '请输入姓名').default('张三'),\n  age: afz.number().min(1).max(150).default(18),\n  email: afz.email('请输入有效的邮箱地址').default('example@example.com')\n}\n\nconst testUser = {\n  name: '张三',\n  age: 28,\n  email: 'test@example.com',\n  extraField: '我是额外字段'\n}\n\nconst normalSchema = afz.object\u003CUserInfo>()(userSchema)\nconst looseSchema = afz.looseObject\u003CUserInfo>()(userSchema)\nconst strictSchema = afz.strictObject\u003CUserInfo>()(userSchema)\n\nconst currentType = ref\u003C'normal' | 'loose' | 'strict'>('normal')\nconst items = [\n  { label: 'Normal', value: 'normal' },\n  { label: 'Loose', value: 'loose' },\n  { label: 'Strict', value: 'strict' }\n]\n\nconst schema = computed(() => {\n  switch (currentType.value) {\n    case 'loose': return looseSchema\n    case 'strict': return strictSchema\n    default: return normalSchema\n  }\n})\n\nasync function click() {\n  const parsed = schema.value.safeParse(testUser)\n  if (!parsed.success) {\n    toast.add({\n      title: '验证失败',\n      color: 'error',\n      description: JSON.stringify(parsed.error.issues, null, 2)\n    })\n  } else {\n    toast.add({\n      title: '验证成功',\n      color: 'success',\n      description: JSON.stringify(parsed.data, null, 2)\n    })\n  }\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CUCard class=\"space-y-4\">\n    \u003Ctemplate #header>\n      \u003Cdiv class=\"flex items-center gap-2\">\n        \u003Cspan class=\"text-sm font-medium\">选择对象类型：\u003C\u002Fspan>\n        \u003CUSelect v-model=\"currentType\" :items=\"items\" \u002F>\n      \u003C\u002Fdiv>\n    \u003C\u002Ftemplate>\n\n    \u003CMAutoForm :schema=\"schema\" :submit=\"false\">\n      \u003Ctemplate #footer>\n        \u003CUButton color=\"primary\" @click=\"click\">\n          验证类型\n        \u003C\u002FUButton>\n      \u003C\u002Ftemplate>\n    \u003C\u002FMAutoForm>\n  \u003C\u002FUCard>\n\u003C\u002Ftemplate>\n\n",[5197],{"type":9,"tag":33,"props":5198,"children":5199},{"__ignoreMap":22},[5200,5231,5262,5285,5292,5309,5326,5343,5359,5366,5373,5393,5448,5512,5552,5559,5566,5586,5602,5619,5636,5649,5656,5663,5701,5738,5775,5782,5842,5863,5888,5913,5938,5946,5953,5986,5999,6025,6049,6070,6077,6084,6091,6112,6144,6165,6181,6198,6215,6256,6263,6280,6295,6311,6326,6366,6374,6382,6390,6406,6414,6430,6461,6488,6519,6558,6621,6638,6655,6663,6727,6752,6808,6817,6834,6850,6866,6883],{"type":9,"tag":37,"props":5201,"children":5202},{"class":39,"line":40},[5203,5207,5211,5215,5219,5223,5227],{"type":9,"tag":37,"props":5204,"children":5205},{"style":44},[5206],{"type":14,"value":47},{"type":9,"tag":37,"props":5208,"children":5209},{"style":50},[5210],{"type":14,"value":53},{"type":9,"tag":37,"props":5212,"children":5213},{"style":56},[5214],{"type":14,"value":64},{"type":9,"tag":37,"props":5216,"children":5217},{"style":44},[5218],{"type":14,"value":69},{"type":9,"tag":37,"props":5220,"children":5221},{"style":72},[5222],{"type":14,"value":75},{"type":9,"tag":37,"props":5224,"children":5225},{"style":56},[5226],{"type":14,"value":59},{"type":9,"tag":37,"props":5228,"children":5229},{"style":44},[5230],{"type":14,"value":80},{"type":9,"tag":37,"props":5232,"children":5233},{"class":39,"line":83},[5234,5238,5242,5246,5250,5254,5258],{"type":9,"tag":37,"props":5235,"children":5236},{"style":87},[5237],{"type":14,"value":129},{"type":9,"tag":37,"props":5239,"children":5240},{"style":44},[5241],{"type":14,"value":134},{"type":9,"tag":37,"props":5243,"children":5244},{"style":137},[5245],{"type":14,"value":140},{"type":9,"tag":37,"props":5247,"children":5248},{"style":44},[5249],{"type":14,"value":145},{"type":9,"tag":37,"props":5251,"children":5252},{"style":87},[5253],{"type":14,"value":69},{"type":9,"tag":37,"props":5255,"children":5256},{"style":56},[5257],{"type":14,"value":154},{"type":9,"tag":37,"props":5259,"children":5260},{"style":44},[5261],{"type":14,"value":159},{"type":9,"tag":37,"props":5263,"children":5264},{"class":39,"line":113},[5265,5269,5273,5277,5281],{"type":9,"tag":37,"props":5266,"children":5267},{"style":87},[5268],{"type":14,"value":129},{"type":9,"tag":37,"props":5270,"children":5271},{"style":137},[5272],{"type":14,"value":1003},{"type":9,"tag":37,"props":5274,"children":5275},{"style":87},[5276],{"type":14,"value":177},{"type":9,"tag":37,"props":5278,"children":5279},{"style":56},[5280],{"type":14,"value":1012},{"type":9,"tag":37,"props":5282,"children":5283},{"style":44},[5284],{"type":14,"value":159},{"type":9,"tag":37,"props":5286,"children":5287},{"class":39,"line":123},[5288],{"type":9,"tag":37,"props":5289,"children":5290},{"emptyLinePlaceholder":117},[5291],{"type":14,"value":120},{"type":9,"tag":37,"props":5293,"children":5294},{"class":39,"line":162},[5295,5300,5305],{"type":9,"tag":37,"props":5296,"children":5297},{"style":87},[5298],{"type":14,"value":5299},"interface",{"type":9,"tag":37,"props":5301,"children":5302},{"style":56},[5303],{"type":14,"value":5304}," UserInfo",{"type":9,"tag":37,"props":5306,"children":5307},{"style":44},[5308],{"type":14,"value":253},{"type":9,"tag":37,"props":5310,"children":5311},{"class":39,"line":224},[5312,5317,5321],{"type":9,"tag":37,"props":5313,"children":5314},{"style":270},[5315],{"type":14,"value":5316},"  name",{"type":9,"tag":37,"props":5318,"children":5319},{"style":87},[5320],{"type":14,"value":239},{"type":9,"tag":37,"props":5322,"children":5323},{"style":137},[5324],{"type":14,"value":5325}," string\n",{"type":9,"tag":37,"props":5327,"children":5328},{"class":39,"line":256},[5329,5334,5338],{"type":9,"tag":37,"props":5330,"children":5331},{"style":270},[5332],{"type":14,"value":5333},"  age",{"type":9,"tag":37,"props":5335,"children":5336},{"style":87},[5337],{"type":14,"value":239},{"type":9,"tag":37,"props":5339,"children":5340},{"style":137},[5341],{"type":14,"value":5342}," number\n",{"type":9,"tag":37,"props":5344,"children":5345},{"class":39,"line":286},[5346,5351,5355],{"type":9,"tag":37,"props":5347,"children":5348},{"style":270},[5349],{"type":14,"value":5350},"  email",{"type":9,"tag":37,"props":5352,"children":5353},{"style":87},[5354],{"type":14,"value":239},{"type":9,"tag":37,"props":5356,"children":5357},{"style":137},[5358],{"type":14,"value":5325},{"type":9,"tag":37,"props":5360,"children":5361},{"class":39,"line":314},[5362],{"type":9,"tag":37,"props":5363,"children":5364},{"style":44},[5365],{"type":14,"value":372},{"type":9,"tag":37,"props":5367,"children":5368},{"class":39,"line":357},[5369],{"type":9,"tag":37,"props":5370,"children":5371},{"emptyLinePlaceholder":117},[5372],{"type":14,"value":120},{"type":9,"tag":37,"props":5374,"children":5375},{"class":39,"line":366},[5376,5380,5385,5389],{"type":9,"tag":37,"props":5377,"children":5378},{"style":87},[5379],{"type":14,"value":129},{"type":9,"tag":37,"props":5381,"children":5382},{"style":137},[5383],{"type":14,"value":5384}," userSchema",{"type":9,"tag":37,"props":5386,"children":5387},{"style":87},[5388],{"type":14,"value":177},{"type":9,"tag":37,"props":5390,"children":5391},{"style":44},[5392],{"type":14,"value":253},{"type":9,"tag":37,"props":5394,"children":5395},{"class":39,"line":375},[5396,5400,5404,5408,5412,5416,5420,5424,5428,5432,5436,5440,5444],{"type":9,"tag":37,"props":5397,"children":5398},{"style":44},[5399],{"type":14,"value":3711},{"type":9,"tag":37,"props":5401,"children":5402},{"style":56},[5403],{"type":14,"value":475},{"type":9,"tag":37,"props":5405,"children":5406},{"style":44},[5407],{"type":14,"value":500},{"type":9,"tag":37,"props":5409,"children":5410},{"style":56},[5411],{"type":14,"value":551},{"type":9,"tag":37,"props":5413,"children":5414},{"style":44},[5415],{"type":14,"value":452},{"type":9,"tag":37,"props":5417,"children":5418},{"style":137},[5419],{"type":14,"value":560},{"type":9,"tag":37,"props":5421,"children":5422},{"style":44},[5423],{"type":14,"value":192},{"type":9,"tag":37,"props":5425,"children":5426},{"style":72},[5427],{"type":14,"value":3740},{"type":9,"tag":37,"props":5429,"children":5430},{"style":44},[5431],{"type":14,"value":565},{"type":9,"tag":37,"props":5433,"children":5434},{"style":56},[5435],{"type":14,"value":447},{"type":9,"tag":37,"props":5437,"children":5438},{"style":44},[5439],{"type":14,"value":452},{"type":9,"tag":37,"props":5441,"children":5442},{"style":72},[5443],{"type":14,"value":3757},{"type":9,"tag":37,"props":5445,"children":5446},{"style":44},[5447],{"type":14,"value":461},{"type":9,"tag":37,"props":5449,"children":5450},{"class":39,"line":407},[5451,5455,5459,5463,5467,5471,5475,5479,5483,5487,5491,5495,5499,5503,5508],{"type":9,"tag":37,"props":5452,"children":5453},{"style":44},[5454],{"type":14,"value":3769},{"type":9,"tag":37,"props":5456,"children":5457},{"style":56},[5458],{"type":14,"value":2636},{"type":9,"tag":37,"props":5460,"children":5461},{"style":44},[5462],{"type":14,"value":500},{"type":9,"tag":37,"props":5464,"children":5465},{"style":56},[5466],{"type":14,"value":551},{"type":9,"tag":37,"props":5468,"children":5469},{"style":44},[5470],{"type":14,"value":452},{"type":9,"tag":37,"props":5472,"children":5473},{"style":137},[5474],{"type":14,"value":560},{"type":9,"tag":37,"props":5476,"children":5477},{"style":44},[5478],{"type":14,"value":565},{"type":9,"tag":37,"props":5480,"children":5481},{"style":56},[5482],{"type":14,"value":570},{"type":9,"tag":37,"props":5484,"children":5485},{"style":44},[5486],{"type":14,"value":452},{"type":9,"tag":37,"props":5488,"children":5489},{"style":137},[5490],{"type":14,"value":3806},{"type":9,"tag":37,"props":5492,"children":5493},{"style":44},[5494],{"type":14,"value":565},{"type":9,"tag":37,"props":5496,"children":5497},{"style":56},[5498],{"type":14,"value":447},{"type":9,"tag":37,"props":5500,"children":5501},{"style":44},[5502],{"type":14,"value":452},{"type":9,"tag":37,"props":5504,"children":5505},{"style":137},[5506],{"type":14,"value":5507},"18",{"type":9,"tag":37,"props":5509,"children":5510},{"style":44},[5511],{"type":14,"value":461},{"type":9,"tag":37,"props":5513,"children":5514},{"class":39,"line":464},[5515,5519,5523,5527,5531,5535,5539,5543,5548],{"type":9,"tag":37,"props":5516,"children":5517},{"style":44},[5518],{"type":14,"value":3835},{"type":9,"tag":37,"props":5520,"children":5521},{"style":56},[5522],{"type":14,"value":3840},{"type":9,"tag":37,"props":5524,"children":5525},{"style":44},[5526],{"type":14,"value":452},{"type":9,"tag":37,"props":5528,"children":5529},{"style":72},[5530],{"type":14,"value":3849},{"type":9,"tag":37,"props":5532,"children":5533},{"style":44},[5534],{"type":14,"value":565},{"type":9,"tag":37,"props":5536,"children":5537},{"style":56},[5538],{"type":14,"value":447},{"type":9,"tag":37,"props":5540,"children":5541},{"style":44},[5542],{"type":14,"value":452},{"type":9,"tag":37,"props":5544,"children":5545},{"style":72},[5546],{"type":14,"value":5547},"'example@example.com'",{"type":9,"tag":37,"props":5549,"children":5550},{"style":44},[5551],{"type":14,"value":1478},{"type":9,"tag":37,"props":5553,"children":5554},{"class":39,"line":521},[5555],{"type":9,"tag":37,"props":5556,"children":5557},{"style":44},[5558],{"type":14,"value":372},{"type":9,"tag":37,"props":5560,"children":5561},{"class":39,"line":614},[5562],{"type":9,"tag":37,"props":5563,"children":5564},{"emptyLinePlaceholder":117},[5565],{"type":14,"value":120},{"type":9,"tag":37,"props":5567,"children":5568},{"class":39,"line":623},[5569,5573,5578,5582],{"type":9,"tag":37,"props":5570,"children":5571},{"style":87},[5572],{"type":14,"value":129},{"type":9,"tag":37,"props":5574,"children":5575},{"style":137},[5576],{"type":14,"value":5577}," testUser",{"type":9,"tag":37,"props":5579,"children":5580},{"style":87},[5581],{"type":14,"value":177},{"type":9,"tag":37,"props":5583,"children":5584},{"style":44},[5585],{"type":14,"value":253},{"type":9,"tag":37,"props":5587,"children":5588},{"class":39,"line":697},[5589,5594,5598],{"type":9,"tag":37,"props":5590,"children":5591},{"style":44},[5592],{"type":14,"value":5593},"  name: ",{"type":9,"tag":37,"props":5595,"children":5596},{"style":72},[5597],{"type":14,"value":3757},{"type":9,"tag":37,"props":5599,"children":5600},{"style":44},[5601],{"type":14,"value":1093},{"type":9,"tag":37,"props":5603,"children":5604},{"class":39,"line":714},[5605,5610,5615],{"type":9,"tag":37,"props":5606,"children":5607},{"style":44},[5608],{"type":14,"value":5609},"  age: ",{"type":9,"tag":37,"props":5611,"children":5612},{"style":137},[5613],{"type":14,"value":5614},"28",{"type":9,"tag":37,"props":5616,"children":5617},{"style":44},[5618],{"type":14,"value":1093},{"type":9,"tag":37,"props":5620,"children":5621},{"class":39,"line":722},[5622,5627,5632],{"type":9,"tag":37,"props":5623,"children":5624},{"style":44},[5625],{"type":14,"value":5626},"  email: ",{"type":9,"tag":37,"props":5628,"children":5629},{"style":72},[5630],{"type":14,"value":5631},"'test@example.com'",{"type":9,"tag":37,"props":5633,"children":5634},{"style":44},[5635],{"type":14,"value":1093},{"type":9,"tag":37,"props":5637,"children":5638},{"class":39,"line":739},[5639,5644],{"type":9,"tag":37,"props":5640,"children":5641},{"style":44},[5642],{"type":14,"value":5643},"  extraField: ",{"type":9,"tag":37,"props":5645,"children":5646},{"style":72},[5647],{"type":14,"value":5648},"'我是额外字段'\n",{"type":9,"tag":37,"props":5650,"children":5651},{"class":39,"line":832},[5652],{"type":9,"tag":37,"props":5653,"children":5654},{"style":44},[5655],{"type":14,"value":372},{"type":9,"tag":37,"props":5657,"children":5658},{"class":39,"line":1285},[5659],{"type":9,"tag":37,"props":5660,"children":5661},{"emptyLinePlaceholder":117},[5662],{"type":14,"value":120},{"type":9,"tag":37,"props":5664,"children":5665},{"class":39,"line":1294},[5666,5670,5675,5679,5683,5687,5691,5696],{"type":9,"tag":37,"props":5667,"children":5668},{"style":87},[5669],{"type":14,"value":129},{"type":9,"tag":37,"props":5671,"children":5672},{"style":137},[5673],{"type":14,"value":5674}," normalSchema",{"type":9,"tag":37,"props":5676,"children":5677},{"style":87},[5678],{"type":14,"value":177},{"type":9,"tag":37,"props":5680,"children":5681},{"style":44},[5682],{"type":14,"value":394},{"type":9,"tag":37,"props":5684,"children":5685},{"style":56},[5686],{"type":14,"value":399},{"type":9,"tag":37,"props":5688,"children":5689},{"style":44},[5690],{"type":14,"value":47},{"type":9,"tag":37,"props":5692,"children":5693},{"style":56},[5694],{"type":14,"value":5695},"UserInfo",{"type":9,"tag":37,"props":5697,"children":5698},{"style":44},[5699],{"type":14,"value":5700},">()(userSchema)\n",{"type":9,"tag":37,"props":5702,"children":5703},{"class":39,"line":1302},[5704,5708,5713,5717,5721,5726,5730,5734],{"type":9,"tag":37,"props":5705,"children":5706},{"style":87},[5707],{"type":14,"value":129},{"type":9,"tag":37,"props":5709,"children":5710},{"style":137},[5711],{"type":14,"value":5712}," looseSchema",{"type":9,"tag":37,"props":5714,"children":5715},{"style":87},[5716],{"type":14,"value":177},{"type":9,"tag":37,"props":5718,"children":5719},{"style":44},[5720],{"type":14,"value":394},{"type":9,"tag":37,"props":5722,"children":5723},{"style":56},[5724],{"type":14,"value":5725},"looseObject",{"type":9,"tag":37,"props":5727,"children":5728},{"style":44},[5729],{"type":14,"value":47},{"type":9,"tag":37,"props":5731,"children":5732},{"style":56},[5733],{"type":14,"value":5695},{"type":9,"tag":37,"props":5735,"children":5736},{"style":44},[5737],{"type":14,"value":5700},{"type":9,"tag":37,"props":5739,"children":5740},{"class":39,"line":1310},[5741,5745,5750,5754,5758,5763,5767,5771],{"type":9,"tag":37,"props":5742,"children":5743},{"style":87},[5744],{"type":14,"value":129},{"type":9,"tag":37,"props":5746,"children":5747},{"style":137},[5748],{"type":14,"value":5749}," strictSchema",{"type":9,"tag":37,"props":5751,"children":5752},{"style":87},[5753],{"type":14,"value":177},{"type":9,"tag":37,"props":5755,"children":5756},{"style":44},[5757],{"type":14,"value":394},{"type":9,"tag":37,"props":5759,"children":5760},{"style":56},[5761],{"type":14,"value":5762},"strictObject",{"type":9,"tag":37,"props":5764,"children":5765},{"style":44},[5766],{"type":14,"value":47},{"type":9,"tag":37,"props":5768,"children":5769},{"style":56},[5770],{"type":14,"value":5695},{"type":9,"tag":37,"props":5772,"children":5773},{"style":44},[5774],{"type":14,"value":5700},{"type":9,"tag":37,"props":5776,"children":5777},{"class":39,"line":1380},[5778],{"type":9,"tag":37,"props":5779,"children":5780},{"emptyLinePlaceholder":117},[5781],{"type":14,"value":120},{"type":9,"tag":37,"props":5783,"children":5784},{"class":39,"line":1398},[5785,5789,5794,5798,5802,5806,5811,5815,5820,5824,5829,5834,5838],{"type":9,"tag":37,"props":5786,"children":5787},{"style":87},[5788],{"type":14,"value":129},{"type":9,"tag":37,"props":5790,"children":5791},{"style":137},[5792],{"type":14,"value":5793}," currentType",{"type":9,"tag":37,"props":5795,"children":5796},{"style":87},[5797],{"type":14,"value":177},{"type":9,"tag":37,"props":5799,"children":5800},{"style":56},[5801],{"type":14,"value":642},{"type":9,"tag":37,"props":5803,"children":5804},{"style":44},[5805],{"type":14,"value":47},{"type":9,"tag":37,"props":5807,"children":5808},{"style":72},[5809],{"type":14,"value":5810},"'normal'",{"type":9,"tag":37,"props":5812,"children":5813},{"style":87},[5814],{"type":14,"value":666},{"type":9,"tag":37,"props":5816,"children":5817},{"style":72},[5818],{"type":14,"value":5819}," 'loose'",{"type":9,"tag":37,"props":5821,"children":5822},{"style":87},[5823],{"type":14,"value":666},{"type":9,"tag":37,"props":5825,"children":5826},{"style":72},[5827],{"type":14,"value":5828}," 'strict'",{"type":9,"tag":37,"props":5830,"children":5831},{"style":44},[5832],{"type":14,"value":5833},">(",{"type":9,"tag":37,"props":5835,"children":5836},{"style":72},[5837],{"type":14,"value":5810},{"type":9,"tag":37,"props":5839,"children":5840},{"style":44},[5841],{"type":14,"value":1478},{"type":9,"tag":37,"props":5843,"children":5844},{"class":39,"line":1416},[5845,5849,5854,5858],{"type":9,"tag":37,"props":5846,"children":5847},{"style":87},[5848],{"type":14,"value":129},{"type":9,"tag":37,"props":5850,"children":5851},{"style":137},[5852],{"type":14,"value":5853}," items",{"type":9,"tag":37,"props":5855,"children":5856},{"style":87},[5857],{"type":14,"value":177},{"type":9,"tag":37,"props":5859,"children":5860},{"style":44},[5861],{"type":14,"value":5862}," [\n",{"type":9,"tag":37,"props":5864,"children":5865},{"class":39,"line":1434},[5866,5871,5876,5880,5884],{"type":9,"tag":37,"props":5867,"children":5868},{"style":44},[5869],{"type":14,"value":5870},"  { label: ",{"type":9,"tag":37,"props":5872,"children":5873},{"style":72},[5874],{"type":14,"value":5875},"'Normal'",{"type":9,"tag":37,"props":5877,"children":5878},{"style":44},[5879],{"type":14,"value":1127},{"type":9,"tag":37,"props":5881,"children":5882},{"style":72},[5883],{"type":14,"value":5810},{"type":9,"tag":37,"props":5885,"children":5886},{"style":44},[5887],{"type":14,"value":1137},{"type":9,"tag":37,"props":5889,"children":5890},{"class":39,"line":1481},[5891,5895,5900,5904,5909],{"type":9,"tag":37,"props":5892,"children":5893},{"style":44},[5894],{"type":14,"value":5870},{"type":9,"tag":37,"props":5896,"children":5897},{"style":72},[5898],{"type":14,"value":5899},"'Loose'",{"type":9,"tag":37,"props":5901,"children":5902},{"style":44},[5903],{"type":14,"value":1127},{"type":9,"tag":37,"props":5905,"children":5906},{"style":72},[5907],{"type":14,"value":5908},"'loose'",{"type":9,"tag":37,"props":5910,"children":5911},{"style":44},[5912],{"type":14,"value":1137},{"type":9,"tag":37,"props":5914,"children":5915},{"class":39,"line":1489},[5916,5920,5925,5929,5934],{"type":9,"tag":37,"props":5917,"children":5918},{"style":44},[5919],{"type":14,"value":5870},{"type":9,"tag":37,"props":5921,"children":5922},{"style":72},[5923],{"type":14,"value":5924},"'Strict'",{"type":9,"tag":37,"props":5926,"children":5927},{"style":44},[5928],{"type":14,"value":1127},{"type":9,"tag":37,"props":5930,"children":5931},{"style":72},[5932],{"type":14,"value":5933},"'strict'",{"type":9,"tag":37,"props":5935,"children":5936},{"style":44},[5937],{"type":14,"value":1188},{"type":9,"tag":37,"props":5939,"children":5940},{"class":39,"line":1497},[5941],{"type":9,"tag":37,"props":5942,"children":5943},{"style":44},[5944],{"type":14,"value":5945},"]\n",{"type":9,"tag":37,"props":5947,"children":5948},{"class":39,"line":1513},[5949],{"type":9,"tag":37,"props":5950,"children":5951},{"emptyLinePlaceholder":117},[5952],{"type":14,"value":120},{"type":9,"tag":37,"props":5954,"children":5955},{"class":39,"line":1521},[5956,5960,5964,5968,5973,5978,5982],{"type":9,"tag":37,"props":5957,"children":5958},{"style":87},[5959],{"type":14,"value":129},{"type":9,"tag":37,"props":5961,"children":5962},{"style":137},[5963],{"type":14,"value":385},{"type":9,"tag":37,"props":5965,"children":5966},{"style":87},[5967],{"type":14,"value":177},{"type":9,"tag":37,"props":5969,"children":5970},{"style":56},[5971],{"type":14,"value":5972}," computed",{"type":9,"tag":37,"props":5974,"children":5975},{"style":44},[5976],{"type":14,"value":5977},"(() ",{"type":9,"tag":37,"props":5979,"children":5980},{"style":87},[5981],{"type":14,"value":3529},{"type":9,"tag":37,"props":5983,"children":5984},{"style":44},[5985],{"type":14,"value":253},{"type":9,"tag":37,"props":5987,"children":5988},{"class":39,"line":1537},[5989,5994],{"type":9,"tag":37,"props":5990,"children":5991},{"style":87},[5992],{"type":14,"value":5993},"  switch",{"type":9,"tag":37,"props":5995,"children":5996},{"style":44},[5997],{"type":14,"value":5998}," (currentType.value) {\n",{"type":9,"tag":37,"props":6000,"children":6001},{"class":39,"line":1603},[6002,6007,6011,6015,6020],{"type":9,"tag":37,"props":6003,"children":6004},{"style":87},[6005],{"type":14,"value":6006},"    case",{"type":9,"tag":37,"props":6008,"children":6009},{"style":72},[6010],{"type":14,"value":5819},{"type":9,"tag":37,"props":6012,"children":6013},{"style":44},[6014],{"type":14,"value":267},{"type":9,"tag":37,"props":6016,"children":6017},{"style":87},[6018],{"type":14,"value":6019},"return",{"type":9,"tag":37,"props":6021,"children":6022},{"style":44},[6023],{"type":14,"value":6024}," looseSchema\n",{"type":9,"tag":37,"props":6026,"children":6027},{"class":39,"line":2964},[6028,6032,6036,6040,6044],{"type":9,"tag":37,"props":6029,"children":6030},{"style":87},[6031],{"type":14,"value":6006},{"type":9,"tag":37,"props":6033,"children":6034},{"style":72},[6035],{"type":14,"value":5828},{"type":9,"tag":37,"props":6037,"children":6038},{"style":44},[6039],{"type":14,"value":267},{"type":9,"tag":37,"props":6041,"children":6042},{"style":87},[6043],{"type":14,"value":6019},{"type":9,"tag":37,"props":6045,"children":6046},{"style":44},[6047],{"type":14,"value":6048}," strictSchema\n",{"type":9,"tag":37,"props":6050,"children":6051},{"class":39,"line":2980},[6052,6057,6061,6065],{"type":9,"tag":37,"props":6053,"children":6054},{"style":87},[6055],{"type":14,"value":6056},"    default",{"type":9,"tag":37,"props":6058,"children":6059},{"style":44},[6060],{"type":14,"value":267},{"type":9,"tag":37,"props":6062,"children":6063},{"style":87},[6064],{"type":14,"value":6019},{"type":9,"tag":37,"props":6066,"children":6067},{"style":44},[6068],{"type":14,"value":6069}," normalSchema\n",{"type":9,"tag":37,"props":6071,"children":6072},{"class":39,"line":2996},[6073],{"type":9,"tag":37,"props":6074,"children":6075},{"style":44},[6076],{"type":14,"value":363},{"type":9,"tag":37,"props":6078,"children":6079},{"class":39,"line":3012},[6080],{"type":9,"tag":37,"props":6081,"children":6082},{"style":44},[6083],{"type":14,"value":620},{"type":9,"tag":37,"props":6085,"children":6086},{"class":39,"line":3052},[6087],{"type":9,"tag":37,"props":6088,"children":6089},{"emptyLinePlaceholder":117},[6090],{"type":14,"value":120},{"type":9,"tag":37,"props":6092,"children":6093},{"class":39,"line":3060},[6094,6098,6102,6107],{"type":9,"tag":37,"props":6095,"children":6096},{"style":87},[6097],{"type":14,"value":1316},{"type":9,"tag":37,"props":6099,"children":6100},{"style":87},[6101],{"type":14,"value":1321},{"type":9,"tag":37,"props":6103,"children":6104},{"style":56},[6105],{"type":14,"value":6106}," click",{"type":9,"tag":37,"props":6108,"children":6109},{"style":44},[6110],{"type":14,"value":6111},"() {\n",{"type":9,"tag":37,"props":6113,"children":6114},{"class":39,"line":3068},[6115,6120,6125,6129,6134,6139],{"type":9,"tag":37,"props":6116,"children":6117},{"style":87},[6118],{"type":14,"value":6119},"  const",{"type":9,"tag":37,"props":6121,"children":6122},{"style":137},[6123],{"type":14,"value":6124}," parsed",{"type":9,"tag":37,"props":6126,"children":6127},{"style":87},[6128],{"type":14,"value":177},{"type":9,"tag":37,"props":6130,"children":6131},{"style":44},[6132],{"type":14,"value":6133}," schema.value.",{"type":9,"tag":37,"props":6135,"children":6136},{"style":56},[6137],{"type":14,"value":6138},"safeParse",{"type":9,"tag":37,"props":6140,"children":6141},{"style":44},[6142],{"type":14,"value":6143},"(testUser)\n",{"type":9,"tag":37,"props":6145,"children":6146},{"class":39,"line":3084},[6147,6152,6156,6160],{"type":9,"tag":37,"props":6148,"children":6149},{"style":87},[6150],{"type":14,"value":6151},"  if",{"type":9,"tag":37,"props":6153,"children":6154},{"style":44},[6155],{"type":14,"value":4155},{"type":9,"tag":37,"props":6157,"children":6158},{"style":87},[6159],{"type":14,"value":4160},{"type":9,"tag":37,"props":6161,"children":6162},{"style":44},[6163],{"type":14,"value":6164},"parsed.success) {\n",{"type":9,"tag":37,"props":6166,"children":6167},{"class":39,"line":3092},[6168,6173,6177],{"type":9,"tag":37,"props":6169,"children":6170},{"style":44},[6171],{"type":14,"value":6172},"    toast.",{"type":9,"tag":37,"props":6174,"children":6175},{"style":56},[6176],{"type":14,"value":1391},{"type":9,"tag":37,"props":6178,"children":6179},{"style":44},[6180],{"type":14,"value":404},{"type":9,"tag":37,"props":6182,"children":6183},{"class":39,"line":3108},[6184,6189,6194],{"type":9,"tag":37,"props":6185,"children":6186},{"style":44},[6187],{"type":14,"value":6188},"      title: ",{"type":9,"tag":37,"props":6190,"children":6191},{"style":72},[6192],{"type":14,"value":6193},"'验证失败'",{"type":9,"tag":37,"props":6195,"children":6196},{"style":44},[6197],{"type":14,"value":1093},{"type":9,"tag":37,"props":6199,"children":6200},{"class":39,"line":3172},[6201,6206,6211],{"type":9,"tag":37,"props":6202,"children":6203},{"style":44},[6204],{"type":14,"value":6205},"      color: ",{"type":9,"tag":37,"props":6207,"children":6208},{"style":72},[6209],{"type":14,"value":6210},"'error'",{"type":9,"tag":37,"props":6212,"children":6213},{"style":44},[6214],{"type":14,"value":1093},{"type":9,"tag":37,"props":6216,"children":6217},{"class":39,"line":4382},[6218,6223,6227,6231,6235,6240,6244,6248,6252],{"type":9,"tag":37,"props":6219,"children":6220},{"style":44},[6221],{"type":14,"value":6222},"      description: ",{"type":9,"tag":37,"props":6224,"children":6225},{"style":137},[6226],{"type":14,"value":1445},{"type":9,"tag":37,"props":6228,"children":6229},{"style":44},[6230],{"type":14,"value":1358},{"type":9,"tag":37,"props":6232,"children":6233},{"style":56},[6234],{"type":14,"value":1454},{"type":9,"tag":37,"props":6236,"children":6237},{"style":44},[6238],{"type":14,"value":6239},"(parsed.error.issues, ",{"type":9,"tag":37,"props":6241,"children":6242},{"style":137},[6243],{"type":14,"value":1464},{"type":9,"tag":37,"props":6245,"children":6246},{"style":44},[6247],{"type":14,"value":192},{"type":9,"tag":37,"props":6249,"children":6250},{"style":137},[6251],{"type":14,"value":1473},{"type":9,"tag":37,"props":6253,"children":6254},{"style":44},[6255],{"type":14,"value":1478},{"type":9,"tag":37,"props":6257,"children":6258},{"class":39,"line":4390},[6259],{"type":9,"tag":37,"props":6260,"children":6261},{"style":44},[6262],{"type":14,"value":1291},{"type":9,"tag":37,"props":6264,"children":6265},{"class":39,"line":4398},[6266,6271,6276],{"type":9,"tag":37,"props":6267,"children":6268},{"style":44},[6269],{"type":14,"value":6270},"  } ",{"type":9,"tag":37,"props":6272,"children":6273},{"style":87},[6274],{"type":14,"value":6275},"else",{"type":9,"tag":37,"props":6277,"children":6278},{"style":44},[6279],{"type":14,"value":253},{"type":9,"tag":37,"props":6281,"children":6282},{"class":39,"line":4414},[6283,6287,6291],{"type":9,"tag":37,"props":6284,"children":6285},{"style":44},[6286],{"type":14,"value":6172},{"type":9,"tag":37,"props":6288,"children":6289},{"style":56},[6290],{"type":14,"value":1391},{"type":9,"tag":37,"props":6292,"children":6293},{"style":44},[6294],{"type":14,"value":404},{"type":9,"tag":37,"props":6296,"children":6297},{"class":39,"line":4422},[6298,6302,6307],{"type":9,"tag":37,"props":6299,"children":6300},{"style":44},[6301],{"type":14,"value":6188},{"type":9,"tag":37,"props":6303,"children":6304},{"style":72},[6305],{"type":14,"value":6306},"'验证成功'",{"type":9,"tag":37,"props":6308,"children":6309},{"style":44},[6310],{"type":14,"value":1093},{"type":9,"tag":37,"props":6312,"children":6313},{"class":39,"line":4438},[6314,6318,6322],{"type":9,"tag":37,"props":6315,"children":6316},{"style":44},[6317],{"type":14,"value":6205},{"type":9,"tag":37,"props":6319,"children":6320},{"style":72},[6321],{"type":14,"value":1427},{"type":9,"tag":37,"props":6323,"children":6324},{"style":44},[6325],{"type":14,"value":1093},{"type":9,"tag":37,"props":6327,"children":6328},{"class":39,"line":4502},[6329,6333,6337,6341,6345,6350,6354,6358,6362],{"type":9,"tag":37,"props":6330,"children":6331},{"style":44},[6332],{"type":14,"value":6222},{"type":9,"tag":37,"props":6334,"children":6335},{"style":137},[6336],{"type":14,"value":1445},{"type":9,"tag":37,"props":6338,"children":6339},{"style":44},[6340],{"type":14,"value":1358},{"type":9,"tag":37,"props":6342,"children":6343},{"style":56},[6344],{"type":14,"value":1454},{"type":9,"tag":37,"props":6346,"children":6347},{"style":44},[6348],{"type":14,"value":6349},"(parsed.data, ",{"type":9,"tag":37,"props":6351,"children":6352},{"style":137},[6353],{"type":14,"value":1464},{"type":9,"tag":37,"props":6355,"children":6356},{"style":44},[6357],{"type":14,"value":192},{"type":9,"tag":37,"props":6359,"children":6360},{"style":137},[6361],{"type":14,"value":1473},{"type":9,"tag":37,"props":6363,"children":6364},{"style":44},[6365],{"type":14,"value":1478},{"type":9,"tag":37,"props":6367,"children":6369},{"class":39,"line":6368},56,[6370],{"type":9,"tag":37,"props":6371,"children":6372},{"style":44},[6373],{"type":14,"value":1291},{"type":9,"tag":37,"props":6375,"children":6377},{"class":39,"line":6376},57,[6378],{"type":9,"tag":37,"props":6379,"children":6380},{"style":44},[6381],{"type":14,"value":363},{"type":9,"tag":37,"props":6383,"children":6385},{"class":39,"line":6384},58,[6386],{"type":9,"tag":37,"props":6387,"children":6388},{"style":44},[6389],{"type":14,"value":372},{"type":9,"tag":37,"props":6391,"children":6393},{"class":39,"line":6392},59,[6394,6398,6402],{"type":9,"tag":37,"props":6395,"children":6396},{"style":44},[6397],{"type":14,"value":703},{"type":9,"tag":37,"props":6399,"children":6400},{"style":50},[6401],{"type":14,"value":53},{"type":9,"tag":37,"props":6403,"children":6404},{"style":44},[6405],{"type":14,"value":80},{"type":9,"tag":37,"props":6407,"children":6409},{"class":39,"line":6408},60,[6410],{"type":9,"tag":37,"props":6411,"children":6412},{"emptyLinePlaceholder":117},[6413],{"type":14,"value":120},{"type":9,"tag":37,"props":6415,"children":6417},{"class":39,"line":6416},61,[6418,6422,6426],{"type":9,"tag":37,"props":6419,"children":6420},{"style":44},[6421],{"type":14,"value":47},{"type":9,"tag":37,"props":6423,"children":6424},{"style":50},[6425],{"type":14,"value":732},{"type":9,"tag":37,"props":6427,"children":6428},{"style":44},[6429],{"type":14,"value":80},{"type":9,"tag":37,"props":6431,"children":6433},{"class":39,"line":6432},62,[6434,6438,6443,6448,6452,6457],{"type":9,"tag":37,"props":6435,"children":6436},{"style":44},[6437],{"type":14,"value":745},{"type":9,"tag":37,"props":6439,"children":6440},{"style":50},[6441],{"type":14,"value":6442},"UCard",{"type":9,"tag":37,"props":6444,"children":6445},{"style":56},[6446],{"type":14,"value":6447}," class",{"type":9,"tag":37,"props":6449,"children":6450},{"style":44},[6451],{"type":14,"value":69},{"type":9,"tag":37,"props":6453,"children":6454},{"style":72},[6455],{"type":14,"value":6456},"\"space-y-4\"",{"type":9,"tag":37,"props":6458,"children":6459},{"style":44},[6460],{"type":14,"value":80},{"type":9,"tag":37,"props":6462,"children":6464},{"class":39,"line":6463},63,[6465,6470,6474,6479,6484],{"type":9,"tag":37,"props":6466,"children":6467},{"style":44},[6468],{"type":14,"value":6469},"    \u003C",{"type":9,"tag":37,"props":6471,"children":6472},{"style":50},[6473],{"type":14,"value":732},{"type":9,"tag":37,"props":6475,"children":6476},{"style":44},[6477],{"type":14,"value":6478}," #",{"type":9,"tag":37,"props":6480,"children":6481},{"style":56},[6482],{"type":14,"value":6483},"header",{"type":9,"tag":37,"props":6485,"children":6486},{"style":44},[6487],{"type":14,"value":80},{"type":9,"tag":37,"props":6489,"children":6491},{"class":39,"line":6490},64,[6492,6497,6502,6506,6510,6515],{"type":9,"tag":37,"props":6493,"children":6494},{"style":44},[6495],{"type":14,"value":6496},"      \u003C",{"type":9,"tag":37,"props":6498,"children":6499},{"style":50},[6500],{"type":14,"value":6501},"div",{"type":9,"tag":37,"props":6503,"children":6504},{"style":56},[6505],{"type":14,"value":6447},{"type":9,"tag":37,"props":6507,"children":6508},{"style":44},[6509],{"type":14,"value":69},{"type":9,"tag":37,"props":6511,"children":6512},{"style":72},[6513],{"type":14,"value":6514},"\"flex items-center gap-2\"",{"type":9,"tag":37,"props":6516,"children":6517},{"style":44},[6518],{"type":14,"value":80},{"type":9,"tag":37,"props":6520,"children":6522},{"class":39,"line":6521},65,[6523,6528,6532,6536,6540,6545,6550,6554],{"type":9,"tag":37,"props":6524,"children":6525},{"style":44},[6526],{"type":14,"value":6527},"        \u003C",{"type":9,"tag":37,"props":6529,"children":6530},{"style":50},[6531],{"type":14,"value":37},{"type":9,"tag":37,"props":6533,"children":6534},{"style":56},[6535],{"type":14,"value":6447},{"type":9,"tag":37,"props":6537,"children":6538},{"style":44},[6539],{"type":14,"value":69},{"type":9,"tag":37,"props":6541,"children":6542},{"style":72},[6543],{"type":14,"value":6544},"\"text-sm font-medium\"",{"type":9,"tag":37,"props":6546,"children":6547},{"style":44},[6548],{"type":14,"value":6549},">选择对象类型：\u003C\u002F",{"type":9,"tag":37,"props":6551,"children":6552},{"style":50},[6553],{"type":14,"value":37},{"type":9,"tag":37,"props":6555,"children":6556},{"style":44},[6557],{"type":14,"value":80},{"type":9,"tag":37,"props":6559,"children":6561},{"class":39,"line":6560},66,[6562,6566,6571,6575,6579,6583,6588,6592,6596,6601,6605,6609,6613,6617],{"type":9,"tag":37,"props":6563,"children":6564},{"style":44},[6565],{"type":14,"value":6527},{"type":9,"tag":37,"props":6567,"children":6568},{"style":50},[6569],{"type":14,"value":6570},"USelect",{"type":9,"tag":37,"props":6572,"children":6573},{"style":56},[6574],{"type":14,"value":755},{"type":9,"tag":37,"props":6576,"children":6577},{"style":44},[6578],{"type":14,"value":69},{"type":9,"tag":37,"props":6580,"children":6581},{"style":72},[6582],{"type":14,"value":764},{"type":9,"tag":37,"props":6584,"children":6585},{"style":44},[6586],{"type":14,"value":6587},"currentType",{"type":9,"tag":37,"props":6589,"children":6590},{"style":72},[6591],{"type":14,"value":764},{"type":9,"tag":37,"props":6593,"children":6594},{"style":44},[6595],{"type":14,"value":777},{"type":9,"tag":37,"props":6597,"children":6598},{"style":56},[6599],{"type":14,"value":6600},"items",{"type":9,"tag":37,"props":6602,"children":6603},{"style":44},[6604],{"type":14,"value":69},{"type":9,"tag":37,"props":6606,"children":6607},{"style":72},[6608],{"type":14,"value":764},{"type":9,"tag":37,"props":6610,"children":6611},{"style":44},[6612],{"type":14,"value":6600},{"type":9,"tag":37,"props":6614,"children":6615},{"style":72},[6616],{"type":14,"value":764},{"type":9,"tag":37,"props":6618,"children":6619},{"style":44},[6620],{"type":14,"value":829},{"type":9,"tag":37,"props":6622,"children":6624},{"class":39,"line":6623},67,[6625,6630,6634],{"type":9,"tag":37,"props":6626,"children":6627},{"style":44},[6628],{"type":14,"value":6629},"      \u003C\u002F",{"type":9,"tag":37,"props":6631,"children":6632},{"style":50},[6633],{"type":14,"value":6501},{"type":9,"tag":37,"props":6635,"children":6636},{"style":44},[6637],{"type":14,"value":80},{"type":9,"tag":37,"props":6639,"children":6641},{"class":39,"line":6640},68,[6642,6647,6651],{"type":9,"tag":37,"props":6643,"children":6644},{"style":44},[6645],{"type":14,"value":6646},"    \u003C\u002F",{"type":9,"tag":37,"props":6648,"children":6649},{"style":50},[6650],{"type":14,"value":732},{"type":9,"tag":37,"props":6652,"children":6653},{"style":44},[6654],{"type":14,"value":80},{"type":9,"tag":37,"props":6656,"children":6658},{"class":39,"line":6657},69,[6659],{"type":9,"tag":37,"props":6660,"children":6661},{"emptyLinePlaceholder":117},[6662],{"type":14,"value":120},{"type":9,"tag":37,"props":6664,"children":6666},{"class":39,"line":6665},70,[6667,6671,6675,6679,6683,6687,6691,6695,6699,6703,6707,6711,6715,6719,6723],{"type":9,"tag":37,"props":6668,"children":6669},{"style":44},[6670],{"type":14,"value":6469},{"type":9,"tag":37,"props":6672,"children":6673},{"style":50},[6674],{"type":14,"value":750},{"type":9,"tag":37,"props":6676,"children":6677},{"style":44},[6678],{"type":14,"value":777},{"type":9,"tag":37,"props":6680,"children":6681},{"style":56},[6682],{"type":14,"value":782},{"type":9,"tag":37,"props":6684,"children":6685},{"style":44},[6686],{"type":14,"value":69},{"type":9,"tag":37,"props":6688,"children":6689},{"style":72},[6690],{"type":14,"value":764},{"type":9,"tag":37,"props":6692,"children":6693},{"style":44},[6694],{"type":14,"value":782},{"type":9,"tag":37,"props":6696,"children":6697},{"style":72},[6698],{"type":14,"value":764},{"type":9,"tag":37,"props":6700,"children":6701},{"style":44},[6702],{"type":14,"value":777},{"type":9,"tag":37,"props":6704,"children":6705},{"style":56},[6706],{"type":14,"value":807},{"type":9,"tag":37,"props":6708,"children":6709},{"style":44},[6710],{"type":14,"value":69},{"type":9,"tag":37,"props":6712,"children":6713},{"style":72},[6714],{"type":14,"value":764},{"type":9,"tag":37,"props":6716,"children":6717},{"style":137},[6718],{"type":14,"value":820},{"type":9,"tag":37,"props":6720,"children":6721},{"style":72},[6722],{"type":14,"value":764},{"type":9,"tag":37,"props":6724,"children":6725},{"style":44},[6726],{"type":14,"value":80},{"type":9,"tag":37,"props":6728,"children":6730},{"class":39,"line":6729},71,[6731,6735,6739,6743,6748],{"type":9,"tag":37,"props":6732,"children":6733},{"style":44},[6734],{"type":14,"value":6496},{"type":9,"tag":37,"props":6736,"children":6737},{"style":50},[6738],{"type":14,"value":732},{"type":9,"tag":37,"props":6740,"children":6741},{"style":44},[6742],{"type":14,"value":6478},{"type":9,"tag":37,"props":6744,"children":6745},{"style":56},[6746],{"type":14,"value":6747},"footer",{"type":9,"tag":37,"props":6749,"children":6750},{"style":44},[6751],{"type":14,"value":80},{"type":9,"tag":37,"props":6753,"children":6755},{"class":39,"line":6754},72,[6756,6760,6765,6770,6774,6779,6783,6788,6792,6796,6800,6804],{"type":9,"tag":37,"props":6757,"children":6758},{"style":44},[6759],{"type":14,"value":6527},{"type":9,"tag":37,"props":6761,"children":6762},{"style":50},[6763],{"type":14,"value":6764},"UButton",{"type":9,"tag":37,"props":6766,"children":6767},{"style":56},[6768],{"type":14,"value":6769}," color",{"type":9,"tag":37,"props":6771,"children":6772},{"style":44},[6773],{"type":14,"value":69},{"type":9,"tag":37,"props":6775,"children":6776},{"style":72},[6777],{"type":14,"value":6778},"\"primary\"",{"type":9,"tag":37,"props":6780,"children":6781},{"style":44},[6782],{"type":14,"value":1575},{"type":9,"tag":37,"props":6784,"children":6785},{"style":56},[6786],{"type":14,"value":6787},"click",{"type":9,"tag":37,"props":6789,"children":6790},{"style":44},[6791],{"type":14,"value":69},{"type":9,"tag":37,"props":6793,"children":6794},{"style":72},[6795],{"type":14,"value":764},{"type":9,"tag":37,"props":6797,"children":6798},{"style":44},[6799],{"type":14,"value":6787},{"type":9,"tag":37,"props":6801,"children":6802},{"style":72},[6803],{"type":14,"value":764},{"type":9,"tag":37,"props":6805,"children":6806},{"style":44},[6807],{"type":14,"value":80},{"type":9,"tag":37,"props":6809,"children":6811},{"class":39,"line":6810},73,[6812],{"type":9,"tag":37,"props":6813,"children":6814},{"style":44},[6815],{"type":14,"value":6816},"          验证类型\n",{"type":9,"tag":37,"props":6818,"children":6820},{"class":39,"line":6819},74,[6821,6826,6830],{"type":9,"tag":37,"props":6822,"children":6823},{"style":44},[6824],{"type":14,"value":6825},"        \u003C\u002F",{"type":9,"tag":37,"props":6827,"children":6828},{"style":50},[6829],{"type":14,"value":6764},{"type":9,"tag":37,"props":6831,"children":6832},{"style":44},[6833],{"type":14,"value":80},{"type":9,"tag":37,"props":6835,"children":6837},{"class":39,"line":6836},75,[6838,6842,6846],{"type":9,"tag":37,"props":6839,"children":6840},{"style":44},[6841],{"type":14,"value":6629},{"type":9,"tag":37,"props":6843,"children":6844},{"style":50},[6845],{"type":14,"value":732},{"type":9,"tag":37,"props":6847,"children":6848},{"style":44},[6849],{"type":14,"value":80},{"type":9,"tag":37,"props":6851,"children":6853},{"class":39,"line":6852},76,[6854,6858,6862],{"type":9,"tag":37,"props":6855,"children":6856},{"style":44},[6857],{"type":14,"value":6646},{"type":9,"tag":37,"props":6859,"children":6860},{"style":50},[6861],{"type":14,"value":750},{"type":9,"tag":37,"props":6863,"children":6864},{"style":44},[6865],{"type":14,"value":80},{"type":9,"tag":37,"props":6867,"children":6869},{"class":39,"line":6868},77,[6870,6875,6879],{"type":9,"tag":37,"props":6871,"children":6872},{"style":44},[6873],{"type":14,"value":6874},"  \u003C\u002F",{"type":9,"tag":37,"props":6876,"children":6877},{"style":50},[6878],{"type":14,"value":6442},{"type":9,"tag":37,"props":6880,"children":6881},{"style":44},[6882],{"type":14,"value":80},{"type":9,"tag":37,"props":6884,"children":6886},{"class":39,"line":6885},78,[6887,6891,6895],{"type":9,"tag":37,"props":6888,"children":6889},{"style":44},[6890],{"type":14,"value":703},{"type":9,"tag":37,"props":6892,"children":6893},{"style":50},[6894],{"type":14,"value":732},{"type":9,"tag":37,"props":6896,"children":6897},{"style":44},[6898],{"type":14,"value":80},{"type":9,"tag":847,"props":6900,"children":6901},{},[6902],{"type":14,"value":851},{"title":22,"searchDepth":83,"depth":83,"links":6904},[],{"id":6906,"title":6907,"body":6908,"category":7770,"description":15,"difficulty":7770,"extension":7771,"index":7772,"keywords":7770,"links":7770,"meta":7773,"navigation":7770,"path":7774,"requires":7770,"seo":7775,"sitemap":7776,"stem":7777,"__hash__":7778},"docs\u002Fdocs\u002F2.auto-form\u002F3.object-array.md","对象与数组",{"type":6909,"value":6910,"toc":7755},"minimark",[6911,6916,7119,7123,7130,7133,7136,7139,7141,7144,7148,7150,7318,7322,7330,7334,7341,7430,7433,7441,7661,7664,7699,7701,7707,7713,7720,7722,7728,7732,7738,7740,7743,7747,7750,7752],[6912,6913,6915],"h2",{"id":6914},"object-对象","Object 对象",[6917,6918,6919,6922,6980],"note",{},[10,6920,6921],{},"两种调用方式的区别",[26,6923,6927],{"className":6924,"code":6925,"language":6926,"meta":22,"style":22},"language-ts shiki shiki-themes github-light github-light github-dark","\u002F\u002F 直接调用\nafz.object(shape, meta?)\n\n\u002F\u002F 柯里化调用（类型参数 `\u003CT>` 仅用于 IDE 提示，不影响运行时验证。）\nafz.object\u003CT>()(shape, meta?)\n","ts",[33,6928,6929,6935,6953,6957,6962],{"__ignoreMap":22},[37,6930,6931],{"class":39,"line":40},[37,6932,6934],{"class":6933},"sCsY4","\u002F\u002F 直接调用\n",[37,6936,6937,6941,6944,6947,6951],{"class":39,"line":83},[37,6938,6940],{"class":6939},"sxrX7","afz.",[37,6942,399],{"class":6943},"snPdu",[37,6945,6946],{"class":6939},"(shape, meta",[37,6948,6950],{"class":6949},"s8jYJ","?",[37,6952,1478],{"class":6939},[37,6954,6955],{"class":39,"line":113},[37,6956,120],{"emptyLinePlaceholder":117},[37,6958,6959],{"class":39,"line":123},[37,6960,6961],{"class":6933},"\u002F\u002F 柯里化调用（类型参数 `\u003CT>` 仅用于 IDE 提示，不影响运行时验证。）\n",[37,6963,6964,6966,6968,6970,6973,6976,6978],{"class":39,"line":162},[37,6965,6940],{"class":6939},[37,6967,399],{"class":6943},[37,6969,47],{"class":6939},[37,6971,6972],{"class":6943},"T",[37,6974,6975],{"class":6939},">()(shape, meta",[37,6977,6950],{"class":6949},[37,6979,1478],{"class":6939},[6981,6982,6983,7027],"tabs",{},[6984,6985,6987],"tabs-item",{"label":6986},"直接调用",[26,6988,6990],{"className":6924,"code":6989,"language":6926,"meta":22,"style":22},"const schema = afz.object({\n  name: afz.string(),\n  age: afz.number()\n})\n",[33,6991,6992,7007,7015,7023],{"__ignoreMap":22},[37,6993,6994,6996,6999,7001,7003,7005],{"class":39,"line":40},[37,6995,129],{"class":6949},[37,6997,385],{"class":6998},"sBjJW",[37,7000,177],{"class":6949},[37,7002,394],{"class":6939},[37,7004,399],{"class":6943},[37,7006,404],{"class":6939},[37,7008,7009,7011,7013],{"class":39,"line":83},[37,7010,3711],{"class":6939},[37,7012,475],{"class":6943},[37,7014,3903],{"class":6939},[37,7016,7017,7019,7021],{"class":39,"line":113},[37,7018,3769],{"class":6939},[37,7020,2636],{"class":6943},[37,7022,159],{"class":6939},[37,7024,7025],{"class":39,"line":123},[37,7026,620],{"class":6939},[6984,7028,7030],{"label":7029},"柯里化调用",[26,7031,7033],{"className":6924,"code":7032,"language":6926,"meta":22,"style":22},"interface UserInfo {\n  name: string\n  age: number\n  email: string\n}\n\nconst schema = afz.object\u003CUserInfo>()({\n  name: afz.string(),  \u002F\u002F IDE 会提示 name | age | email\n  email: afz.email()\n})\n",[33,7034,7035,7043,7052,7060,7068,7072,7076,7095,7107,7115],{"__ignoreMap":22},[37,7036,7037,7039,7041],{"class":39,"line":40},[37,7038,5299],{"class":6949},[37,7040,5304],{"class":6943},[37,7042,253],{"class":6939},[37,7044,7045,7048,7050],{"class":39,"line":83},[37,7046,5316],{"class":7047},"sP4rz",[37,7049,239],{"class":6949},[37,7051,5325],{"class":6998},[37,7053,7054,7056,7058],{"class":39,"line":113},[37,7055,5333],{"class":7047},[37,7057,239],{"class":6949},[37,7059,5342],{"class":6998},[37,7061,7062,7064,7066],{"class":39,"line":123},[37,7063,5350],{"class":7047},[37,7065,239],{"class":6949},[37,7067,5325],{"class":6998},[37,7069,7070],{"class":39,"line":162},[37,7071,372],{"class":6939},[37,7073,7074],{"class":39,"line":224},[37,7075,120],{"emptyLinePlaceholder":117},[37,7077,7078,7080,7082,7084,7086,7088,7090,7092],{"class":39,"line":256},[37,7079,129],{"class":6949},[37,7081,385],{"class":6998},[37,7083,177],{"class":6949},[37,7085,394],{"class":6939},[37,7087,399],{"class":6943},[37,7089,47],{"class":6939},[37,7091,5695],{"class":6943},[37,7093,7094],{"class":6939},">()({\n",[37,7096,7097,7099,7101,7104],{"class":39,"line":286},[37,7098,3711],{"class":6939},[37,7100,475],{"class":6943},[37,7102,7103],{"class":6939},"(),  ",[37,7105,7106],{"class":6933},"\u002F\u002F IDE 会提示 name | age | email\n",[37,7108,7109,7111,7113],{"class":39,"line":314},[37,7110,3835],{"class":6939},[37,7112,3840],{"class":6943},[37,7114,159],{"class":6939},[37,7116,7117],{"class":39,"line":357},[37,7118,620],{"class":6939},[7120,7121,7122],"h3",{"id":7122},"通用对象",[10,7124,7125,7126,7129],{},"通用对象类型通常与 ",[33,7127,7128],{},"selectMenu"," 结合使用，用于选择复杂数据结构：",[7131,7132],"component-example",{"name":3195,":collapse":597},[7120,7134,7135],{"id":7135},"嵌套对象",[10,7137,7138],{},"嵌套对象结构，支持折叠展开：",[7131,7140],{"name":4525,":collapse":597},[7120,7142,7143],{"id":7143},"类型化对象",[7145,7146,7147],"tip",{},"使用 TypeScript 接口约束对象结构，在定义 schema 时获得字段名的 IDE 提示：",[7131,7149],{"name":5185,":collapse":597},[6917,7151,7152,7155],{},[10,7153,7154],{},"三种对象工厂对应不同的额外字段处理策略：",[6981,7156,7157,7215,7267],{},[6984,7158,7160],{"label":7159},"object（默认）",[26,7161,7163],{"className":6924,"code":7162,"language":6926,"meta":22,"style":22},"const schema = afz.object({ name: afz.string() })\n\nschema.parse({ name: '张三', extra: 'removed' })\n\u002F\u002F 结果：{ name: '张三' }\n",[33,7164,7165,7184,7188,7210],{"__ignoreMap":22},[37,7166,7167,7169,7171,7173,7175,7177,7180,7182],{"class":39,"line":40},[37,7168,129],{"class":6949},[37,7170,385],{"class":6998},[37,7172,177],{"class":6949},[37,7174,394],{"class":6939},[37,7176,399],{"class":6943},[37,7178,7179],{"class":6939},"({ name: afz.",[37,7181,475],{"class":6943},[37,7183,3946],{"class":6939},[37,7185,7186],{"class":39,"line":83},[37,7187,120],{"emptyLinePlaceholder":117},[37,7189,7190,7193,7196,7199,7202,7205,7208],{"class":39,"line":113},[37,7191,7192],{"class":6939},"schema.",[37,7194,7195],{"class":6943},"parse",[37,7197,7198],{"class":6939},"({ name: ",[37,7200,3757],{"class":7201},"sIIMD",[37,7203,7204],{"class":6939},", extra: ",[37,7206,7207],{"class":7201},"'removed'",[37,7209,611],{"class":6939},[37,7211,7212],{"class":39,"line":123},[37,7213,7214],{"class":6933},"\u002F\u002F 结果：{ name: '张三' }\n",[6984,7216,7218],{"label":7217},"looseObject（宽松）",[26,7219,7221],{"className":6924,"code":7220,"language":6926,"meta":22,"style":22},"const schema = afz.looseObject({ name: afz.string() })\n\nschema.parse({ name: '张三', extra: 'kept' })\n\u002F\u002F 结果：{ name: '张三', extra: 'kept' }\n",[33,7222,7223,7241,7245,7262],{"__ignoreMap":22},[37,7224,7225,7227,7229,7231,7233,7235,7237,7239],{"class":39,"line":40},[37,7226,129],{"class":6949},[37,7228,385],{"class":6998},[37,7230,177],{"class":6949},[37,7232,394],{"class":6939},[37,7234,5725],{"class":6943},[37,7236,7179],{"class":6939},[37,7238,475],{"class":6943},[37,7240,3946],{"class":6939},[37,7242,7243],{"class":39,"line":83},[37,7244,120],{"emptyLinePlaceholder":117},[37,7246,7247,7249,7251,7253,7255,7257,7260],{"class":39,"line":113},[37,7248,7192],{"class":6939},[37,7250,7195],{"class":6943},[37,7252,7198],{"class":6939},[37,7254,3757],{"class":7201},[37,7256,7204],{"class":6939},[37,7258,7259],{"class":7201},"'kept'",[37,7261,611],{"class":6939},[37,7263,7264],{"class":39,"line":123},[37,7265,7266],{"class":6933},"\u002F\u002F 结果：{ name: '张三', extra: 'kept' }\n",[6984,7268,7270],{"label":7269},"strictObject（严格）",[26,7271,7273],{"className":6924,"code":7272,"language":6926,"meta":22,"style":22},"const schema = afz.strictObject({ name: afz.string() })\n\nschema.parse({ name: '张三', extra: 'error' })\n\u002F\u002F 错误：Unrecognized key(s) in object: 'extra'\n",[33,7274,7275,7293,7297,7313],{"__ignoreMap":22},[37,7276,7277,7279,7281,7283,7285,7287,7289,7291],{"class":39,"line":40},[37,7278,129],{"class":6949},[37,7280,385],{"class":6998},[37,7282,177],{"class":6949},[37,7284,394],{"class":6939},[37,7286,5762],{"class":6943},[37,7288,7179],{"class":6939},[37,7290,475],{"class":6943},[37,7292,3946],{"class":6939},[37,7294,7295],{"class":39,"line":83},[37,7296,120],{"emptyLinePlaceholder":117},[37,7298,7299,7301,7303,7305,7307,7309,7311],{"class":39,"line":113},[37,7300,7192],{"class":6939},[37,7302,7195],{"class":6943},[37,7304,7198],{"class":6939},[37,7306,3757],{"class":7201},[37,7308,7204],{"class":6939},[37,7310,6210],{"class":7201},[37,7312,611],{"class":6939},[37,7314,7315],{"class":39,"line":123},[37,7316,7317],{"class":6933},"\u002F\u002F 错误：Unrecognized key(s) in object: 'extra'\n",[6912,7319,7321],{"id":7320},"array-数组","Array 数组",[6917,7323,7325,7326,7329],{"to":7324},"https:\u002F\u002Fzod.dev\u002Fapi#arrays","使用 ",[33,7327,7328],{},"afz.array()"," 创建数组字段：",[7120,7331,7333],{"id":7332},"elementschema","ElementSchema",[10,7335,7336,7337,7340],{},"定义数组元素的类型，决定输出类型为 ",[33,7338,7339],{},"T[]","：",[26,7342,7344],{"className":6924,"code":7343,"language":6926,"meta":22,"style":22},"\u002F\u002F 字符串数组\nconst schema1 = afz.array(afz.string())\n\u002F\u002F 输出类型：string[]\n\n\u002F\u002F 对象数组\nconst schema2 = afz.array(afz.object({\n  name: afz.string(),\n  age: afz.number()\n}))\n\u002F\u002F 输出类型：{ name: string, age: number }[]\n",[33,7345,7346,7351,7371,7376,7380,7385,7404,7412,7420,7425],{"__ignoreMap":22},[37,7347,7348],{"class":39,"line":40},[37,7349,7350],{"class":6933},"\u002F\u002F 字符串数组\n",[37,7352,7353,7355,7358,7360,7362,7364,7366,7368],{"class":39,"line":83},[37,7354,129],{"class":6949},[37,7356,7357],{"class":6998}," schema1",[37,7359,177],{"class":6949},[37,7361,394],{"class":6939},[37,7363,532],{"class":6943},[37,7365,537],{"class":6939},[37,7367,475],{"class":6943},[37,7369,7370],{"class":6939},"())\n",[37,7372,7373],{"class":39,"line":113},[37,7374,7375],{"class":6933},"\u002F\u002F 输出类型：string[]\n",[37,7377,7378],{"class":39,"line":123},[37,7379,120],{"emptyLinePlaceholder":117},[37,7381,7382],{"class":39,"line":162},[37,7383,7384],{"class":6933},"\u002F\u002F 对象数组\n",[37,7386,7387,7389,7392,7394,7396,7398,7400,7402],{"class":39,"line":224},[37,7388,129],{"class":6949},[37,7390,7391],{"class":6998}," schema2",[37,7393,177],{"class":6949},[37,7395,394],{"class":6939},[37,7397,532],{"class":6943},[37,7399,537],{"class":6939},[37,7401,399],{"class":6943},[37,7403,404],{"class":6939},[37,7405,7406,7408,7410],{"class":39,"line":256},[37,7407,3711],{"class":6939},[37,7409,475],{"class":6943},[37,7411,3903],{"class":6939},[37,7413,7414,7416,7418],{"class":39,"line":286},[37,7415,3769],{"class":6939},[37,7417,2636],{"class":6943},[37,7419,159],{"class":6939},[37,7421,7422],{"class":39,"line":314},[37,7423,7424],{"class":6939},"}))\n",[37,7426,7427],{"class":39,"line":357},[37,7428,7429],{"class":6933},"\u002F\u002F 输出类型：{ name: string, age: number }[]\n",[7120,7431,7432],{"id":505},"Meta",[6917,7434,7435,7436,7440],{},"用于",[7437,7438,7439],"strong",{},"覆盖数组元素的默认控件","和配置元数据，同时保持输出类型不变：",[7145,7442,7443,7450],{},[10,7444,7445,7446,7449],{},"对于对象数组（如 ",[33,7447,7448],{},"afz.array(afz.object({...}))","），系统会自动使用折叠面板渲染，无需手动指定控件类型。",[6981,7451,7452,7502,7603],{},[6984,7453,7455,7458],{"label":7454},"基础配置",[10,7456,7457],{},"不指定控件类型，数组元素使用默认映射：",[26,7459,7461],{"className":6924,"code":7460,"language":6926,"meta":22,"style":22},"afz.array(afz.string(), {\n  label: '标签列表',\n  hint: '添加多个标签'\n})\n\u002F\u002F string[] - 元素默认使用 input 控件\n",[33,7462,7463,7475,7485,7493,7497],{"__ignoreMap":22},[37,7464,7465,7467,7469,7471,7473],{"class":39,"line":40},[37,7466,6940],{"class":6939},[37,7468,532],{"class":6943},[37,7470,537],{"class":6939},[37,7472,475],{"class":6943},[37,7474,1075],{"class":6939},[37,7476,7477,7480,7483],{"class":39,"line":83},[37,7478,7479],{"class":6939},"  label: ",[37,7481,7482],{"class":7201},"'标签列表'",[37,7484,1093],{"class":6939},[37,7486,7487,7490],{"class":39,"line":113},[37,7488,7489],{"class":6939},"  hint: ",[37,7491,7492],{"class":7201},"'添加多个标签'\n",[37,7494,7495],{"class":39,"line":123},[37,7496,620],{"class":6939},[37,7498,7499],{"class":39,"line":162},[37,7500,7501],{"class":6933},"\u002F\u002F string[] - 元素默认使用 input 控件\n",[6984,7503,7505,7516,7589],{"label":7504},"覆盖元素控件",[10,7506,7507,7508,7511,7512,7515],{},"通过 ",[33,7509,7510],{},"type"," 覆盖数组",[7437,7513,7514],{},"元素的默认控件","，输出类型保持不变：",[26,7517,7519],{"className":6924,"code":7518,"language":6926,"meta":22,"style":22},"afz.array(afz.string(), {\n  type: 'checkboxGroup',  \u002F\u002F 覆盖 string 的默认 input 控件\n  controlProps: {\n    items: ['reading', 'gaming', 'sports']\n  }\n})\n\u002F\u002F 输出类型仍为：string[]\n\u002F\u002F 但使用 checkboxGroup 渲染（多选）\n",[33,7520,7521,7533,7546,7551,7571,7575,7579,7584],{"__ignoreMap":22},[37,7522,7523,7525,7527,7529,7531],{"class":39,"line":40},[37,7524,6940],{"class":6939},[37,7526,532],{"class":6943},[37,7528,537],{"class":6939},[37,7530,475],{"class":6943},[37,7532,1075],{"class":6939},[37,7534,7535,7538,7540,7543],{"class":39,"line":83},[37,7536,7537],{"class":6939},"  type: ",[37,7539,1088],{"class":7201},[37,7541,7542],{"class":6939},",  ",[37,7544,7545],{"class":6933},"\u002F\u002F 覆盖 string 的默认 input 控件\n",[37,7547,7548],{"class":39,"line":113},[37,7549,7550],{"class":6939},"  controlProps: {\n",[37,7552,7553,7556,7559,7561,7564,7566,7569],{"class":39,"line":123},[37,7554,7555],{"class":6939},"    items: [",[37,7557,7558],{"class":7201},"'reading'",[37,7560,192],{"class":6939},[37,7562,7563],{"class":7201},"'gaming'",[37,7565,192],{"class":6939},[37,7567,7568],{"class":7201},"'sports'",[37,7570,5945],{"class":6939},[37,7572,7573],{"class":39,"line":162},[37,7574,363],{"class":6939},[37,7576,7577],{"class":39,"line":224},[37,7578,620],{"class":6939},[37,7580,7581],{"class":39,"line":256},[37,7582,7583],{"class":6933},"\u002F\u002F 输出类型仍为：string[]\n",[37,7585,7586],{"class":39,"line":286},[37,7587,7588],{"class":6933},"\u002F\u002F 但使用 checkboxGroup 渲染（多选）\n",[10,7590,7591,7594,7595,7598,7599,7602],{},[33,7592,7593],{},"afz.string()"," 本来会被映射为 ",[33,7596,7597],{},"input"," 控件，通过第二个参数的 ",[33,7600,7601],{},"type: 'checkboxGroup'"," 覆盖了这个默认映射，将其改为多选框形式。",[6984,7604,7606,7609],{"label":7605},"自定义组件",[10,7607,7608],{},"直接传入自定义组件实例：",[26,7610,7612],{"className":6924,"code":7611,"language":6926,"meta":22,"style":22},"import MyArrayControl from '.\u002FMyArrayControl.vue'\n\nafz.array(afz.string(), {\n  component: MyArrayControl,\n  controlProps: { \u002F* ... *\u002F }\n})\n",[33,7613,7614,7626,7630,7642,7647,7657],{"__ignoreMap":22},[37,7615,7616,7618,7621,7623],{"class":39,"line":40},[37,7617,90],{"class":6949},[37,7619,7620],{"class":6939}," MyArrayControl ",[37,7622,105],{"class":6949},[37,7624,7625],{"class":7201}," '.\u002FMyArrayControl.vue'\n",[37,7627,7628],{"class":39,"line":83},[37,7629,120],{"emptyLinePlaceholder":117},[37,7631,7632,7634,7636,7638,7640],{"class":39,"line":113},[37,7633,6940],{"class":6939},[37,7635,532],{"class":6943},[37,7637,537],{"class":6939},[37,7639,475],{"class":6943},[37,7641,1075],{"class":6939},[37,7643,7644],{"class":39,"line":123},[37,7645,7646],{"class":6939},"  component: MyArrayControl,\n",[37,7648,7649,7652,7655],{"class":39,"line":162},[37,7650,7651],{"class":6939},"  controlProps: { ",[37,7653,7654],{"class":6933},"\u002F* ... *\u002F",[37,7656,1188],{"class":6939},[37,7658,7659],{"class":39,"line":224},[37,7660,620],{"class":6939},[7120,7662,7663],{"id":7663},"异步选项与数组操作",[10,7665,7666,7669,7670,7673,7674,7677,7678,7681,7682,7685,7686,7689,7690,7685,7692,7694,7695,7698],{},[33,7667,7668],{},"asyncItems"," 按 ",[33,7671,7672],{},"deps"," 重新加载选项，",[33,7675,7676],{},"load"," 可将传入的 ",[33,7679,7680],{},"signal"," 交给请求。",[33,7683,7684],{},"sortable","、",[33,7687,7688],{},"duplicable"," 开启数组项移动和复制，",[33,7691,551],{},[33,7693,570],{}," 和 ",[33,7696,7697],{},"length"," 限制添加与删除。",[7131,7700],{"name":19},[7120,7702,7704],{"id":7703},"inputtags",[33,7705,7706],{},"InputTags",[7708,7709,7712],"callout",{"color":7710,"to":7711},"neutral","https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-tags","InputTags 组件文档",[10,7714,7715,7716,7719],{},"标签输入框，设置 ",[33,7717,7718],{},"type: 'inputTags'","，适合自由文本标签：",[7131,7721],{"name":1626,":collapse":597},[7120,7723,7725],{"id":7724},"checkboxgroup",[33,7726,7727],{},"CheckboxGroup",[7708,7729,7731],{"color":7710,"to":7730},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcheckbox-group","CheckboxGroup 组件文档",[10,7733,7734,7735,7737],{},"复选框组，设置 ",[33,7736,7601],{},"，适合预定义选项多选：",[7131,7739],{"name":857,":collapse":597},[7120,7741,7742],{"id":7742},"对象数组",[7708,7744,7746],{"color":7710,"to":7745},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcollapsible","Collapsible 组件文档",[10,7748,7749],{},"对象数组自动使用折叠面板渲染，支持添加、删除项：",[7131,7751],{"name":2234,":collapse":597},[847,7753,7754],{},"html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":22,"searchDepth":83,"depth":83,"links":7756},[7757,7762],{"id":6914,"depth":83,"text":6915,"children":7758},[7759,7760,7761],{"id":7122,"depth":113,"text":7122},{"id":7135,"depth":113,"text":7135},{"id":7143,"depth":113,"text":7143},{"id":7320,"depth":83,"text":7321,"children":7763},[7764,7765,7766,7767,7768,7769],{"id":7332,"depth":113,"text":7333},{"id":505,"depth":113,"text":7432},{"id":7663,"depth":113,"text":7663},{"id":7703,"depth":113,"text":7706},{"id":7724,"depth":113,"text":7727},{"id":7742,"depth":113,"text":7742},null,"md",false,{},"\u002Fdocs\u002Fauto-form\u002Fobject-array",{"title":6907,"description":15},{"loc":7774},"docs\u002F2.auto-form\u002F3.object-array","_sQlCXVImxYlXJj34jTmixKyzmpqFQJ4LqxriIhvvKE",[7780],{"title":7781,"path":7782,"stem":7783,"children":7784,"page":7772},"Docs","\u002Fdocs","docs",[7785,7824,7875,7913,7952],{"title":7786,"path":7787,"stem":7788,"children":7789,"category":7770,"description":7770,"icon":7823},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[7790,7793,7798,7803,7808,7813,7818],{"title":7791,"path":7787,"stem":7788,"category":7770,"description":7792},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":7794,"path":7795,"stem":7796,"category":7770,"description":7797},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":7799,"path":7800,"stem":7801,"category":7770,"description":7802},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":7804,"path":7805,"stem":7806,"category":7770,"description":7807},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":7809,"path":7810,"stem":7811,"category":7770,"description":7812},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":7814,"path":7815,"stem":7816,"category":7770,"description":7817},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":7819,"path":7820,"stem":7821,"category":7770,"description":7822},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":7825,"category":7770,"description":7770,"icon":7826,"path":7827,"stem":7828,"children":7829,"page":7772},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[7830,7834,7839,7844,7845,7850,7855,7860,7865,7870],{"title":7786,"path":7831,"stem":7832,"category":7770,"description":7833},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":7835,"path":7836,"stem":7837,"category":7770,"description":7838},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":7840,"path":7841,"stem":7842,"category":7770,"description":7843},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":6907,"path":7774,"stem":7777,"category":7770,"description":15},{"title":7846,"path":7847,"stem":7848,"category":7770,"description":7849},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":7851,"path":7852,"stem":7853,"category":7770,"description":7854},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":7856,"path":7857,"stem":7858,"category":7770,"description":7859},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":7861,"path":7862,"stem":7863,"category":7770,"description":7864},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":7866,"path":7867,"stem":7868,"category":7770,"description":7869},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":7871,"path":7872,"stem":7873,"category":7770,"description":7874},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":7876,"path":7877,"stem":7878,"children":7879,"category":7770,"description":7770,"icon":7912},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[7880,7882,7887,7892,7897,7902,7907],{"title":7791,"path":7877,"stem":7878,"category":7770,"description":7881},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":7883,"path":7884,"stem":7885,"category":7770,"description":7886},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":7888,"path":7889,"stem":7890,"category":7770,"description":7891},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":7893,"path":7894,"stem":7895,"category":7770,"description":7896},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":7898,"path":7899,"stem":7900,"category":7770,"description":7901},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":7903,"path":7904,"stem":7905,"category":7770,"description":7906},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":7908,"path":7909,"stem":7910,"category":7770,"description":7911},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":7914,"path":7915,"stem":7916,"children":7917,"category":7770,"description":7770,"icon":7951},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[7918,7921,7926,7931,7936,7941,7946],{"title":7919,"path":7915,"stem":7916,"category":7770,"description":7920},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":7922,"path":7923,"stem":7924,"category":7770,"description":7925},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":7927,"path":7928,"stem":7929,"category":7770,"description":7930},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":7932,"path":7933,"stem":7934,"category":7770,"description":7935},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":7937,"path":7938,"stem":7939,"category":7770,"description":7940},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":7942,"path":7943,"stem":7944,"category":7770,"description":7945},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":7947,"path":7948,"stem":7949,"category":7770,"description":7950},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":7953,"category":7770,"description":7770,"icon":7954,"path":7955,"stem":7956,"children":7957,"page":7772},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[7958,7964,7970],{"title":7959,"path":7960,"stem":7961,"category":7962,"description":7963},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":7965,"path":7966,"stem":7967,"category":7968,"description":7969},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":7971,"path":7972,"stem":7973,"category":7962,"description":7974,"badge":7975},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":7977,"body":7978},{},{"type":6,"children":7979},[7980],{"type":9,"tag":10,"props":7981,"children":7982},{},[7983,7985],{"type":14,"value":7984},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":37,"props":7986,"children":7989},{"className":7987},[7988],"text-highlighted",[7990],{"type":14,"value":7991},"MIT License",[7993,7994],{"title":7840,"path":7841,"stem":7842,"description":7843,"children":-1},{"title":7846,"path":7847,"stem":7848,"description":7849,"children":-1},1795763777110,"237a5cff-9aba-4421-be98-81a239f14b62"]