[{"data":1,"prerenderedAt":17220},["ShallowReactive",2],{"docs-navigation-en":3,"mdc-d0lvp9-key":202,"docs--en-docs-auto-form-field-types":223,"surround--en-docs-auto-form-field-types":1466,"component-example-autoFormFieldStringInputExample":1469,"component-example-autoFormFieldStringTextareaExample":1472,"component-example-autoFormFieldStringPinInputExample":1475,"component-example-autoFormFieldStringInputMenuExample":1478,"component-example-autoFormFieldStringTypeExample":1481,"component-example-autoFormFieldNumberInputExample":1484,"component-example-autoFormFieldNumberSliderExample":1487,"component-example-autoFormFieldNumberInputRatingExample":1490,"component-example-autoFormFieldBooleanCheckboxExample":1493,"component-example-autoFormFieldBooleanSwitchExample":1496,"component-example-autoFormFieldBooleanToggleExample":1499,"component-example-autoFormFieldDatePickerExample":1502,"component-example-autoFormFieldDateRangeExample":1505,"component-example-autoFormFieldInputDateExample":1508,"component-example-autoFormFieldInputDateRangeExample":1511,"component-example-autoFormFieldInputTimeExample":1514,"component-example-autoFormFieldIsoExample":1517,"component-example-autoFormFieldEnumSelectExample":1520,"component-example-autoFormFieldEnumSelectMenuExample":1523,"component-example-autoFormFieldEnumRadioGroupExample":1526,"component-example-autoFormFieldToggleGroupExample":1529,"component-example-autoFormFieldFileSingleExample":1532,"component-example-autoFormFieldFileMultipleExample":1535,"-en-docs-auto-form-field-types-description":1538,"component-example-autoFormFieldStringInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":1546,"component-example-autoFormFieldStringTextareaExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2304,"component-example-autoFormFieldStringPinInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2964,"component-example-autoFormFieldStringInputMenuExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":3608,"component-example-autoFormFieldStringTypeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":4378,"component-example-autoFormFieldNumberInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":5496,"component-example-autoFormFieldNumberSliderExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":6147,"component-example-autoFormFieldNumberInputRatingExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":6798,"component-example-autoFormFieldBooleanCheckboxExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":7484,"component-example-autoFormFieldBooleanSwitchExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":8099,"component-example-autoFormFieldBooleanToggleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":8685,"component-example-autoFormFieldDatePickerExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":9128,"component-example-autoFormFieldDateRangeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":9858,"component-example-autoFormFieldInputDateExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":10508,"component-example-autoFormFieldInputDateRangeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":11113,"component-example-autoFormFieldInputTimeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":11747,"component-example-autoFormFieldIsoExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":12523,"component-example-autoFormFieldEnumSelectExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":13266,"component-example-autoFormFieldEnumSelectMenuExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":13877,"component-example-autoFormFieldEnumRadioGroupExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":14560,"component-example-autoFormFieldToggleGroupExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":15280,"component-example-autoFormFieldFileSingleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":15942,"component-example-autoFormFieldFileMultipleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":16529},[4],{"title":5,"path":6,"stem":7,"children":8,"page":105},"Docs","\u002Fen\u002Fdocs","en\u002Fdocs",[9,49,106,144,178],{"title":10,"path":11,"stem":12,"children":13,"category":16,"description":16,"icon":48},"Getting Started","\u002Fen\u002Fdocs\u002Fgetting-started","en\u002Fdocs\u002F1.getting-started\u002F1.index",[14,18,23,28,33,38,43],{"title":15,"path":11,"stem":12,"category":16,"description":17},"Introduction",null,"Explore forms, data tables, components, and API integration in Movk Nuxt and choose a setup for Nuxt or Vue + Vite.",{"title":19,"path":20,"stem":21,"category":16,"description":22},"Installation","\u002Fen\u002Fdocs\u002Fgetting-started\u002Finstallation","en\u002Fdocs\u002F1.getting-started\u002F2.installation","Install and configure the Movk Nuxt module in a Nuxt 4 project.",{"title":24,"path":25,"stem":26,"category":16,"description":27},"Module Configuration","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fconfiguration","en\u002Fdocs\u002F1.getting-started\u002F3.configuration","Configure component prefix, theme colors, fonts, API endpoints, auth strategy, response parsing rules and Toast notification behavior.",{"title":29,"path":30,"stem":31,"category":16,"description":32},"Vue \u002F Vite","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fvue","en\u002Fdocs\u002F1.getting-started\u002F4.vue","Use Movk standalone components, theming and composables in a plain Vue + Vite project without Nuxt.",{"title":34,"path":35,"stem":36,"category":16,"description":37},"Theme System","\u002Fen\u002Fdocs\u002Fgetting-started\u002Ftheme","en\u002Fdocs\u002F1.getting-started\u002F5.theme","Manage colors, radius, icon sets and dark mode through module defaults, the ThemePicker component and the useTheme composable, with build-time font configuration.",{"title":39,"path":40,"stem":41,"category":16,"description":42},"Migrate to v2","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fmigration","en\u002Fdocs\u002F1.getting-started\u002F6.migration","Breaking changes to handle when upgrading from v1 to v2.",{"title":44,"path":45,"stem":46,"category":16,"description":47},"AI Integration","\u002Fen\u002Fdocs\u002Fgetting-started\u002Fai","en\u002Fdocs\u002F1.getting-started\u002F7.ai","Help AI assistants understand Movk Nuxt through MCP, llms.txt and Skills.","i-lucide-square-play",{"title":50,"category":16,"description":16,"icon":51,"path":52,"stem":53,"children":54,"page":105},"Forms","i-lucide-square-pen","\u002Fen\u002Fdocs\u002Fauto-form","en\u002Fdocs\u002F2.auto-form",[55,60,65,70,75,80,85,90,95,100],{"title":56,"path":57,"stem":58,"category":16,"description":59},"Quickstart","\u002Fen\u002Fdocs\u002Fauto-form\u002Fquickstart","en\u002Fdocs\u002F2.auto-form\u002F1.quickstart","Learn the core design philosophy and basic usage of AutoForm.",{"title":61,"path":62,"stem":63,"category":16,"description":64},"Recipes","\u002Fen\u002Fdocs\u002Fauto-form\u002Frecipes","en\u002Fdocs\u002F2.auto-form\u002F10.recipes","Real-world AutoForm scenarios — login, grouped registration validation, multi-file upload and horizontal search form.",{"title":66,"path":67,"stem":68,"category":16,"description":69},"Field Types","\u002Fen\u002Fdocs\u002Fauto-form\u002Ffield-types","en\u002Fdocs\u002F2.auto-form\u002F2.field-types","Mapping of afz field types to controls and their configuration.",{"title":71,"path":72,"stem":73,"category":16,"description":74},"Objects and Arrays","\u002Fen\u002Fdocs\u002Fauto-form\u002Fobject-array","en\u002Fdocs\u002F2.auto-form\u002F3.object-array","Rendering and editing nested object and dynamic array fields.",{"title":76,"path":77,"stem":78,"category":16,"description":79},"Controls","\u002Fen\u002Fdocs\u002Fauto-form\u002Fcontrols","en\u002Fdocs\u002F2.auto-form\u002F4.controls","Map schema fields to Nuxt UI controls via the type field, or register and inject custom Vue components to extend form fields.",{"title":81,"path":82,"stem":83,"category":16,"description":84},"Metadata and Layout","\u002Fen\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","en\u002Fdocs\u002F2.auto-form\u002F5.metadata-layout","Configure field properties through meta and arrange them with afz.layout.",{"title":86,"path":87,"stem":88,"category":16,"description":89},"Slots","\u002Fen\u002Fdocs\u002Fauto-form\u002Fslots","en\u002Fdocs\u002F2.auto-form\u002F6.slots","Customize AutoForm's header\u002Ffooter, field controls, before\u002Fafter field and layout content via named slots.",{"title":91,"path":92,"stem":93,"category":16,"description":94},"Reactivity and Submit","\u002Fen\u002Fdocs\u002Fauto-form\u002Freactive-submit","en\u002Fdocs\u002F2.auto-form\u002F7.reactive-submit","Reactive linkage between fields and form submission handling.",{"title":96,"path":97,"stem":98,"category":16,"description":99},"SearchForm","\u002Fen\u002Fdocs\u002Fauto-form\u002Fsearch-form","en\u002Fdocs\u002F2.auto-form\u002F8.search-form","A schema-driven, collapsible search form component.",{"title":101,"path":102,"stem":103,"category":16,"description":104},"useAutoForm","\u002Fen\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","en\u002Fdocs\u002F2.auto-form\u002F9.use-auto-form","A composable for creating typed Zod schemas and managing AutoForm controls.",false,{"title":107,"path":108,"stem":109,"children":110,"category":16,"description":16,"icon":143},"DataTable","\u002Fen\u002Fdocs\u002Fdata-table","en\u002Fdocs\u002F3.data-table\u002F1.index",[111,113,118,123,128,133,138],{"title":15,"path":108,"stem":109,"category":16,"description":112},"A declarative data table based on TanStack Table, with column configuration, selection, expansion, tree data, pagination, load more and complete API reference.",{"title":114,"path":115,"stem":116,"category":16,"description":117},"Appearance","\u002Fen\u002Fdocs\u002Fdata-table\u002Fappearance","en\u002Fdocs\u002F3.data-table\u002F2.appearance","Component style overrides, pagination style overrides, stripe and borders, visual density, fit-content width, empty-cell placeholders and sticky header.",{"title":119,"path":120,"stem":121,"category":16,"description":122},"Columns","\u002Fen\u002Fdocs\u002Fdata-table\u002Fcolumns","en\u002Fdocs\u002F3.data-table\u002F3.columns","Data column configuration — fixed columns, sorting, column pinning, column resize, text truncation, tooltips, visibility and functional per-column configuration.",{"title":124,"path":125,"stem":126,"category":16,"description":127},"Special Columns","\u002Fen\u002Fdocs\u002Fdata-table\u002Fspecial-columns","en\u002Fdocs\u002F3.data-table\u002F4.special-columns","Configuration for selection, index, row-pinning and actions columns — including tree selection strategies, dynamic button props and confirmation dialogs.",{"title":129,"path":130,"stem":131,"category":16,"description":132},"Rows & Interaction","\u002Fen\u002Fdocs\u002Fdata-table\u002Frows","en\u002Fdocs\u002F3.data-table\u002F5.rows","Row selection, expandable detail slot, click behaviors, dynamic row class\u002Fstyle, hover, context menu and imperative control.",{"title":134,"path":135,"stem":136,"category":16,"description":137},"Tree Data","\u002Fen\u002Fdocs\u002Fdata-table\u002Ftree","en\u002Fdocs\u002F3.data-table\u002F6.tree","Enable tree-mode tables via childrenKey — configure expansion, cascade selection strategies, indentation and read selection results.",{"title":139,"path":140,"stem":141,"category":16,"description":142},"Pagination & Load More","\u002Fen\u002Fdocs\u002Fdata-table\u002Fpagination","en\u002Fdocs\u002F3.data-table\u002F7.pagination","Client-side auto pagination, server-side manual pagination with loading state, and bottom-trigger load-more for infinite scroll.","i-lucide-table",{"title":145,"path":146,"stem":147,"children":148,"category":16,"description":16,"icon":177},"API","\u002Fen\u002Fdocs\u002Fapi","en\u002Fdocs\u002F4.api\u002F1.index",[149,152,157,162,167,172],{"title":150,"path":146,"stem":147,"category":16,"description":151},"Overview","Nuxt data-fetching fundamentals and the core concepts and architecture of the Movk Nuxt API system.",{"title":153,"path":154,"stem":155,"category":16,"description":156},"$api","\u002Fen\u002Fdocs\u002Fapi\u002Fapi-plugin","en\u002Fdocs\u002F4.api\u002F2.api-plugin","The enhanced $fetch instance created by the api.factory plugin, supporting auth injection, data unwrapping, business code checking and multi-endpoint switching.",{"title":158,"path":159,"stem":160,"category":16,"description":161},"Hooks","\u002Fen\u002Fdocs\u002Fapi\u002Fhooks","en\u002Fdocs\u002F4.api\u002F3.hooks","Extend API system behavior via Nuxt runtime hooks — global request interception, error handling and custom 401 logic.",{"title":163,"path":164,"stem":165,"category":16,"description":166},"useApiFetch","\u002Fen\u002Fdocs\u002Fapi\u002Fuse-api-fetch","en\u002Fdocs\u002F4.api\u002F4.use-api-fetch","An API request composable built on Nuxt useFetch, providing automatic authentication, business status code checking and Toast notifications.",{"title":168,"path":169,"stem":170,"category":16,"description":171},"Upload and Download","\u002Fen\u002Fdocs\u002Fapi\u002Fupload-download","en\u002Fdocs\u002F4.api\u002F5.upload-download","File upload and download with progress tracking.",{"title":173,"path":174,"stem":175,"category":16,"description":176},"Streaming","\u002Fen\u002Fdocs\u002Fapi\u002Fstream","en\u002Fdocs\u002F4.api\u002F6.stream","SSE streaming requests and the AI SDK chat transport.","i-lucide-cloud",{"title":179,"category":16,"description":16,"icon":180,"path":181,"stem":182,"children":183,"page":105},"Components","i-lucide-box","\u002Fen\u002Fdocs\u002Fcomponents","en\u002Fdocs\u002F5.components",[184,190,196],{"title":185,"path":186,"stem":187,"category":188,"description":189},"DatePicker","\u002Fen\u002Fdocs\u002Fcomponents\u002Fdate-picker","en\u002Fdocs\u002F5.components\u002Fdate-picker","advanced","An internationalized date picker component.",{"title":191,"path":192,"stem":193,"category":194,"description":195},"MessageBox","\u002Fen\u002Fdocs\u002Fcomponents\u002Fmessage-box","en\u002Fdocs\u002F5.components\u002Fmessage-box","feedback","A modal message dialog offering both declarative and programmatic usage.",{"title":197,"path":198,"stem":199,"category":188,"description":200,"badge":201},"Tree","\u002Fen\u002Fdocs\u002Fcomponents\u002Ftree","en\u002Fdocs\u002F5.components\u002Ftree","A tree component built on Nuxt UI Tree, adding search, lazy loading, toolbar, checkboxes, and parent\u002Fchild strategy.","v1.4.2",{"data":203,"body":204},{},{"type":205,"children":206},"root",[207],{"type":208,"tag":209,"props":210,"children":211},"element","p",{},[212,215],{"type":213,"value":214},"text","Copyright © 2025 - 2026 YiXuan - ",{"type":208,"tag":216,"props":217,"children":220},"span",{"className":218},[219],"text-highlighted",[221],{"type":213,"value":222},"MIT License",{"id":224,"title":66,"body":225,"category":16,"description":69,"difficulty":16,"extension":1461,"index":105,"keywords":16,"links":16,"meta":1462,"navigation":16,"path":67,"requires":16,"seo":1463,"sitemap":1464,"stem":68,"__hash__":1465},"docs_en\u002Fen\u002Fdocs\u002F2.auto-form\u002F2.field-types.md",{"type":226,"value":227,"toc":1425},"minimark",[228,233,243,250,256,263,268,274,278,285,288,294,298,304,307,313,317,323,326,330,333,337,341,348,354,358,361,364,370,374,381,384,390,394,405,408,412,419,425,429,432,435,441,445,452,455,461,471,474,478,483,499,503,507,510,513,517,523,526,530,534,544,549,552,555,559,562,565,569,582,586,589,593,596,624,627,631,638,909,1286,1291,1295,1298,1301,1307,1311,1318,1321,1327,1331,1338,1341,1347,1360,1382,1385,1389,1395,1399,1402,1405,1409,1418,1421],[229,230,232],"h2",{"id":231},"string","String",[234,235,237,238,242],"note",{"to":236},"https:\u002F\u002Fzod.dev\u002Fapi#strings","Use ",[239,240,241],"code",{},"afz.string()"," to create a string field:",[244,245,247],"h3",{"id":246},"input",[239,248,249],{},"Input",[251,252,255],"callout",{"color":253,"to":254},"neutral","https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput","Input component documentation",[209,257,258,259,262],{},"Basic input field, configure icons, colors and other attributes via ",[239,260,261],{},"controlProps",":",[264,265],"component-example",{":collapse":266,"name":267},"true","AutoFormFieldStringInputExample",[244,269,271],{"id":270},"textarea",[239,272,273],{},"Textarea",[251,275,277],{"color":253,"to":276},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Ftextarea","Textarea component documentation",[209,279,280,281,284],{},"Multi-line text input, set ",[239,282,283],{},"type: 'textarea'",", supports auto height adjustment:",[264,286],{":collapse":266,"name":287},"AutoFormFieldStringTextareaExample",[244,289,291],{"id":290},"pininput",[239,292,293],{},"PinInput",[251,295,297],{"color":253,"to":296},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fpin-input","PinInput component documentation",[209,299,300,301,262],{},"Verification code or PIN input, set ",[239,302,303],{},"type: 'pinInput'",[264,305],{":collapse":266,"name":306},"AutoFormFieldStringPinInputExample",[244,308,310],{"id":309},"inputmenu",[239,311,312],{},"InputMenu",[251,314,316],{"color":253,"to":315},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-menu","InputMenu component documentation",[209,318,319,320,262],{},"Supports both typing and dropdown selection, set ",[239,321,322],{},"type: 'inputMenu'",[264,324],{":collapse":266,"name":325},"AutoFormFieldStringInputMenuExample",[244,327,329],{"id":328},"dynamic-type","Dynamic Type",[209,331,332],{},"Switch between input and textarea in an interactive example, and adjust size, color, rows and max length.",[264,334],{":collapse":266,"name":335,":options":336},"AutoFormFieldStringTypeExample","[{\"name\":\"type\",\"label\":\"type\",\"items\":[\"string\",\"textarea\"],\"default\":\"string\"},{\"name\":\"color\",\"items\":[\"error\",\"primary\",\"secondary\",\"success\",\"info\",\"warning\",\"neutral\"],\"default\":\"primary\"},{\"name\":\"size\",\"label\":\"size\",\"items\":[\"sm\",\"xs\",\"md\",\"lg\",\"xl\"],\"default\":\"sm\"},{\"name\":\"rows\",\"label\":\"rows\",\"default\":5},{\"name\":\"max-length\",\"label\":\"maxLength\",\"default\":20}]",[229,338,340],{"id":339},"number","Number",[234,342,237,344,347],{"to":343},"https:\u002F\u002Fzod.dev\u002Fapi#numbers",[239,345,346],{},"afz.number()"," to create a number field:",[244,349,351],{"id":350},"inputnumber",[239,352,353],{},"InputNumber",[251,355,357],{"color":253,"to":356},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-number","InputNumber component documentation",[209,359,360],{},"Basic number input, supports integer, decimal, range limits and other configurations:",[264,362],{":collapse":266,"name":363},"AutoFormFieldNumberInputExample",[244,365,367],{"id":366},"slider",[239,368,369],{},"Slider",[251,371,373],{"color":253,"to":372},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fslider","Slider component documentation",[209,375,376,377,380],{},"Numeric slider, set ",[239,378,379],{},"type: 'slider'",", suitable for selecting values within a defined range:",[264,382],{":collapse":266,"name":383},"AutoFormFieldNumberSliderExample",[244,385,387],{"id":386},"inputrating",[239,388,389],{},"InputRating",[251,391,393],{"color":253,"to":392},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-rating","InputRating component documentation",[209,395,396,397,400,401,404],{},"Rating input, pass the ",[239,398,399],{},"UInputRating"," component instance directly via ",[239,402,403],{},"component",", supports half-star granularity and customizable star count:",[264,406],{":collapse":266,"name":407},"AutoFormFieldNumberInputRatingExample",[229,409,411],{"id":410},"boolean","Boolean",[234,413,237,415,418],{"to":414},"https:\u002F\u002Fzod.dev\u002Fapi#booleans",[239,416,417],{},"afz.boolean()"," to create a boolean field:",[244,420,422],{"id":421},"checkbox",[239,423,424],{},"Checkbox",[251,426,428],{"color":253,"to":427},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcheckbox","Checkbox component documentation",[209,430,431],{},"Default checkbox control, suitable for single option selection:",[264,433],{":collapse":266,"name":434},"AutoFormFieldBooleanCheckboxExample",[244,436,438],{"id":437},"switch",[239,439,440],{},"Switch",[251,442,444],{"color":253,"to":443},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fswitch","Switch component documentation",[209,446,447,448,451],{},"Toggle switch, set ",[239,449,450],{},"type: 'switch'",", suitable for enabling\u002Fdisabling features:",[264,453],{":collapse":266,"name":454},"AutoFormFieldBooleanSwitchExample",[244,456,458],{"id":457},"toggle",[239,459,460],{},"Toggle",[209,462,237,463,466,467,470],{},[239,464,465],{},"afz.boolean({ type: 'toggle' })"," for a pressable button that represents a boolean, such as pinning a post. Set the button text with ",[239,468,469],{},"controlProps.label",".",[264,472],{":collapse":266,"name":473},"AutoFormFieldBooleanToggleExample",[229,475,477],{"id":476},"date-time","Date & Time",[479,480,482],"tip",{"to":481},"\u002Fen\u002Fdocs\u002Fcomponents\u002Fdate-picker#usedateformatter","useDateFormatter documentation: a date formatting and handling utility based on @internationalized\u002Fdate.",[209,484,237,485,488,489,498],{},[239,486,487],{},"afz.calendarDate()"," to create a date field, powered by ",[490,491,495],"a",{"href":492,"rel":493},"https:\u002F\u002Freact-spectrum.adobe.com\u002Finternationalized\u002Fdate\u002Findex.html",[494],"nofollow",[239,496,497],{},"@internationalized\u002Fdate"," for robust date handling:",[244,500,502],{"id":501},"date-picker","Date Picker",[251,504,506],{"color":253,"to":505},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcalendar","Calendar component documentation",[209,508,509],{},"Single date selection with date formatting and validation:",[264,511],{":collapse":266,"name":512},"AutoFormFieldDatePickerExample",[244,514,516],{"id":515},"date-range","Date Range",[209,518,519,520,262],{},"Date range selection, set ",[239,521,522],{},"controlProps.range: true",[264,524],{":collapse":266,"name":525},"AutoFormFieldDateRangeExample",[244,527,529],{"id":528},"date-input","Date Input",[251,531,533],{"color":253,"to":532},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-date","InputDate component documentation",[209,535,237,536,539,540,543],{},[239,537,538],{},"afz.inputDate()"," to create a date input field, based on the ",[239,541,542],{},"UInputDate"," component for a native date input experience.",[545,546,548],"h4",{"id":547},"single-date-input","Single Date Input",[209,550,551],{},"A clean date input field, suitable for form filling:",[264,553],{":collapse":266,"name":554},"AutoFormFieldInputDateExample",[545,556,558],{"id":557},"date-range-input","Date Range Input",[209,560,561],{},"A date input field with range selection support:",[264,563],{":collapse":266,"name":564},"AutoFormFieldInputDateRangeExample",[244,566,568],{"id":567},"time-input","Time Input",[209,570,237,571,574,575,578,579,581],{},[239,572,573],{},"afz.inputTime()"," to create a time input field, returning the ",[239,576,577],{},"Time"," type (from ",[239,580,497],{},"):",[251,583,585],{"color":253,"to":584},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-time","InputTime component documentation",[264,587],{":collapse":266,"name":588},"AutoFormFieldInputTimeExample",[244,590,592],{"id":591},"iso-format-strings","ISO Format Strings",[209,594,595],{},"For scenarios requiring ISO standard format strings, three factory methods are provided:",[597,598,599,610,618],"ul",{},[600,601,602,605,606,609],"li",{},[239,603,604],{},"afz.isoDate()"," - validates ",[239,607,608],{},"YYYY-MM-DD"," format",[600,611,612,605,615,609],{},[239,613,614],{},"afz.isoTime()",[239,616,617],{},"HH:MM[:SS[.s+]]",[600,619,620,623],{},[239,621,622],{},"afz.isoDatetime()"," - validates ISO 8601 full format",[264,625],{":collapse":266,"name":626},"AutoFormFieldIsoExample",[229,628,630],{"id":629},"enum","Enum",[234,632,237,634,637],{"to":633},"https:\u002F\u002Fzod.dev\u002Fapi#enums",[239,635,636],{},"afz.enum()"," to create an enum field:",[479,639,640,643],{},[209,641,642],{},"Used to override the default control and configure metadata, supporting three configuration approaches:",[644,645,646,720,842],"tabs",{},[647,648,650,657],"tabs-item",{"label":649},"Basic Config",[209,651,652,653,656],{},"Without specifying a control type, uses the default ",[239,654,655],{},"select"," control:",[658,659,664],"pre",{"className":660,"code":661,"language":662,"meta":663,"style":663},"language-ts shiki shiki-themes github-light github-light github-dark","afz.enum(['a', 'b'], {\n  label: 'Select Option',\n  hint: 'Please choose one'\n})\n","ts","",[239,665,666,693,705,714],{"__ignoreMap":663},[216,667,670,674,677,680,684,687,690],{"class":668,"line":669},"line",1,[216,671,673],{"class":672},"sxrX7","afz.",[216,675,629],{"class":676},"snPdu",[216,678,679],{"class":672},"([",[216,681,683],{"class":682},"sIIMD","'a'",[216,685,686],{"class":672},", ",[216,688,689],{"class":682},"'b'",[216,691,692],{"class":672},"], {\n",[216,694,696,699,702],{"class":668,"line":695},2,[216,697,698],{"class":672},"  label: ",[216,700,701],{"class":682},"'Select Option'",[216,703,704],{"class":672},",\n",[216,706,708,711],{"class":668,"line":707},3,[216,709,710],{"class":672},"  hint: ",[216,712,713],{"class":682},"'Please choose one'\n",[216,715,717],{"class":668,"line":716},4,[216,718,719],{"class":672},"})\n",[647,721,723,730],{"label":722},"Using Registered Control",[209,724,725,726,729],{},"Override the default control via ",[239,727,728],{},"type",", while keeping the output type unchanged:",[658,731,733],{"className":660,"code":732,"language":662,"meta":663,"style":663},"afz.enum(['a', 'b', 'c'], {\n  type: 'radioGroup',  \u002F\u002F overrides the default select\n  controlProps: {\n    items: [\n      { label: 'Option A', value: 'a' },\n      { label: 'Option B', value: 'b' }\n    ]\n  }\n})\n\u002F\u002F Output type is still: 'a' | 'b' | 'c'\n\u002F\u002F but rendered using radioGroup\n",[239,734,735,756,771,776,781,798,813,819,825,830,836],{"__ignoreMap":663},[216,736,737,739,741,743,745,747,749,751,754],{"class":668,"line":669},[216,738,673],{"class":672},[216,740,629],{"class":676},[216,742,679],{"class":672},[216,744,683],{"class":682},[216,746,686],{"class":672},[216,748,689],{"class":682},[216,750,686],{"class":672},[216,752,753],{"class":682},"'c'",[216,755,692],{"class":672},[216,757,758,761,764,767],{"class":668,"line":695},[216,759,760],{"class":672},"  type: ",[216,762,763],{"class":682},"'radioGroup'",[216,765,766],{"class":672},",  ",[216,768,770],{"class":769},"sCsY4","\u002F\u002F overrides the default select\n",[216,772,773],{"class":668,"line":707},[216,774,775],{"class":672},"  controlProps: {\n",[216,777,778],{"class":668,"line":716},[216,779,780],{"class":672},"    items: [\n",[216,782,784,787,790,793,795],{"class":668,"line":783},5,[216,785,786],{"class":672},"      { label: ",[216,788,789],{"class":682},"'Option A'",[216,791,792],{"class":672},", value: ",[216,794,683],{"class":682},[216,796,797],{"class":672}," },\n",[216,799,801,803,806,808,810],{"class":668,"line":800},6,[216,802,786],{"class":672},[216,804,805],{"class":682},"'Option B'",[216,807,792],{"class":672},[216,809,689],{"class":682},[216,811,812],{"class":672}," }\n",[216,814,816],{"class":668,"line":815},7,[216,817,818],{"class":672},"    ]\n",[216,820,822],{"class":668,"line":821},8,[216,823,824],{"class":672},"  }\n",[216,826,828],{"class":668,"line":827},9,[216,829,719],{"class":672},[216,831,833],{"class":668,"line":832},10,[216,834,835],{"class":769},"\u002F\u002F Output type is still: 'a' | 'b' | 'c'\n",[216,837,839],{"class":668,"line":838},11,[216,840,841],{"class":769},"\u002F\u002F but rendered using radioGroup\n",[647,843,845,848],{"label":844},"Custom Component",[209,846,847],{},"Pass a custom component instance directly:",[658,849,851],{"className":660,"code":850,"language":662,"meta":663,"style":663},"import MyEnumControl from '.\u002FMyEnumControl.vue'\n\nafz.enum(['a', 'b'], {\n  component: MyEnumControl,\n  controlProps: { \u002F* ... *\u002F }\n})\n",[239,852,853,868,874,890,895,905],{"__ignoreMap":663},[216,854,855,859,862,865],{"class":668,"line":669},[216,856,858],{"class":857},"s8jYJ","import",[216,860,861],{"class":672}," MyEnumControl ",[216,863,864],{"class":857},"from",[216,866,867],{"class":682}," '.\u002FMyEnumControl.vue'\n",[216,869,870],{"class":668,"line":695},[216,871,873],{"emptyLinePlaceholder":872},true,"\n",[216,875,876,878,880,882,884,886,888],{"class":668,"line":707},[216,877,673],{"class":672},[216,879,629],{"class":676},[216,881,679],{"class":672},[216,883,683],{"class":682},[216,885,686],{"class":672},[216,887,689],{"class":682},[216,889,692],{"class":672},[216,891,892],{"class":668,"line":716},[216,893,894],{"class":672},"  component: MyEnumControl,\n",[216,896,897,900,903],{"class":668,"line":783},[216,898,899],{"class":672},"  controlProps: { ",[216,901,902],{"class":769},"\u002F* ... *\u002F",[216,904,812],{"class":672},[216,906,907],{"class":668,"line":800},[216,908,719],{"class":672},[479,910,911,922],{},[209,912,913,914,917,918,921],{},"Enum value configuration: ",[239,915,916],{},"controlProps.items"," takes the highest priority for rendered content, while the first argument of ",[239,919,920],{},"enum()"," determines the output type — both can be used together.",[597,923,924,1046,1154],{},[600,925,926,927,262,930],{},"Method 1: Auto-extract enum values, the system automatically converts enum values to ",[239,928,929],{},"items",[658,931,933],{"className":660,"code":932,"language":662,"meta":663,"style":663},"const Fruits = ['apple', 'banana', 'orange'] as const\n\nconst schema = afz.object({\n  fruit: afz.enum(Fruits, {\n    type: 'selectMenu',\n    controlProps: {\n      placeholder: 'Select a fruit'\n      \u002F\u002F System auto-converts: items: ['apple', 'banana', 'orange']\n    }\n  })\n})\n",[239,934,935,972,976,994,1004,1014,1019,1027,1032,1037,1042],{"__ignoreMap":663},[216,936,937,940,944,947,950,953,955,958,960,963,966,969],{"class":668,"line":669},[216,938,939],{"class":857},"const",[216,941,943],{"class":942},"sBjJW"," Fruits",[216,945,946],{"class":857}," =",[216,948,949],{"class":672}," [",[216,951,952],{"class":682},"'apple'",[216,954,686],{"class":672},[216,956,957],{"class":682},"'banana'",[216,959,686],{"class":672},[216,961,962],{"class":682},"'orange'",[216,964,965],{"class":672},"] ",[216,967,968],{"class":857},"as",[216,970,971],{"class":857}," const\n",[216,973,974],{"class":668,"line":695},[216,975,873],{"emptyLinePlaceholder":872},[216,977,978,980,983,985,988,991],{"class":668,"line":707},[216,979,939],{"class":857},[216,981,982],{"class":942}," schema",[216,984,946],{"class":857},[216,986,987],{"class":672}," afz.",[216,989,990],{"class":676},"object",[216,992,993],{"class":672},"({\n",[216,995,996,999,1001],{"class":668,"line":716},[216,997,998],{"class":672},"  fruit: afz.",[216,1000,629],{"class":676},[216,1002,1003],{"class":672},"(Fruits, {\n",[216,1005,1006,1009,1012],{"class":668,"line":783},[216,1007,1008],{"class":672},"    type: ",[216,1010,1011],{"class":682},"'selectMenu'",[216,1013,704],{"class":672},[216,1015,1016],{"class":668,"line":800},[216,1017,1018],{"class":672},"    controlProps: {\n",[216,1020,1021,1024],{"class":668,"line":815},[216,1022,1023],{"class":672},"      placeholder: ",[216,1025,1026],{"class":682},"'Select a fruit'\n",[216,1028,1029],{"class":668,"line":821},[216,1030,1031],{"class":769},"      \u002F\u002F System auto-converts: items: ['apple', 'banana', 'orange']\n",[216,1033,1034],{"class":668,"line":827},[216,1035,1036],{"class":672},"    }\n",[216,1038,1039],{"class":668,"line":832},[216,1040,1041],{"class":672},"  })\n",[216,1043,1044],{"class":668,"line":838},[216,1045,719],{"class":672},[600,1047,1048,1049,1052,1053,1055,1056],{},"Method 2: Provide items manually, use empty array ",[239,1050,1051],{},"[]"," as the first argument, fully controlled by ",[239,1054,929],{}," for type and rendering:",[658,1057,1059],{"className":660,"code":1058,"language":662,"meta":663,"style":663},"const schema = afz.object({\nfruit: afz.enum([], {\n  type: 'selectMenu',\n  controlProps: {\n    valueKey: 'value',\n    items: [\n      { label: 'Apple', value: 'apple' },\n      { label: 'Banana', value: 'banana' }\n    ]\n  }\n})\n})\n",[239,1060,1061,1075,1085,1093,1097,1107,1111,1124,1137,1141,1145,1149],{"__ignoreMap":663},[216,1062,1063,1065,1067,1069,1071,1073],{"class":668,"line":669},[216,1064,939],{"class":857},[216,1066,982],{"class":942},[216,1068,946],{"class":857},[216,1070,987],{"class":672},[216,1072,990],{"class":676},[216,1074,993],{"class":672},[216,1076,1077,1080,1082],{"class":668,"line":695},[216,1078,1079],{"class":672},"fruit: afz.",[216,1081,629],{"class":676},[216,1083,1084],{"class":672},"([], {\n",[216,1086,1087,1089,1091],{"class":668,"line":707},[216,1088,760],{"class":672},[216,1090,1011],{"class":682},[216,1092,704],{"class":672},[216,1094,1095],{"class":668,"line":716},[216,1096,775],{"class":672},[216,1098,1099,1102,1105],{"class":668,"line":783},[216,1100,1101],{"class":672},"    valueKey: ",[216,1103,1104],{"class":682},"'value'",[216,1106,704],{"class":672},[216,1108,1109],{"class":668,"line":800},[216,1110,780],{"class":672},[216,1112,1113,1115,1118,1120,1122],{"class":668,"line":815},[216,1114,786],{"class":672},[216,1116,1117],{"class":682},"'Apple'",[216,1119,792],{"class":672},[216,1121,952],{"class":682},[216,1123,797],{"class":672},[216,1125,1126,1128,1131,1133,1135],{"class":668,"line":821},[216,1127,786],{"class":672},[216,1129,1130],{"class":682},"'Banana'",[216,1132,792],{"class":672},[216,1134,957],{"class":682},[216,1136,812],{"class":672},[216,1138,1139],{"class":668,"line":827},[216,1140,818],{"class":672},[216,1142,1143],{"class":668,"line":832},[216,1144,824],{"class":672},[216,1146,1147],{"class":668,"line":838},[216,1148,719],{"class":672},[216,1150,1152],{"class":668,"line":1151},12,[216,1153,719],{"class":672},[600,1155,1156,1157,1159,1160],{},"Method 3: Type + custom display (recommended), use both the enum argument and ",[239,1158,929],{}," for type safety with custom display:",[658,1161,1163],{"className":660,"code":1162,"language":662,"meta":663,"style":663},"const schema = afz.object({\ngender: afz.enum(['male', 'female', 'other'], {\n  type: 'radioGroup',\n  controlProps: {\n    items: [\n      { label: 'Male', value: 'male' },\n      { label: 'Female', value: 'female' },\n      { label: 'Other', value: 'other' }\n    ]\n  }\n})\n})\n\u002F\u002F Output type: 'male' | 'female' | 'other'\n\u002F\u002F Display: Male \u002F Female \u002F Other\n",[239,1164,1165,1179,1203,1211,1215,1219,1232,1245,1258,1262,1266,1270,1274,1280],{"__ignoreMap":663},[216,1166,1167,1169,1171,1173,1175,1177],{"class":668,"line":669},[216,1168,939],{"class":857},[216,1170,982],{"class":942},[216,1172,946],{"class":857},[216,1174,987],{"class":672},[216,1176,990],{"class":676},[216,1178,993],{"class":672},[216,1180,1181,1184,1186,1188,1191,1193,1196,1198,1201],{"class":668,"line":695},[216,1182,1183],{"class":672},"gender: afz.",[216,1185,629],{"class":676},[216,1187,679],{"class":672},[216,1189,1190],{"class":682},"'male'",[216,1192,686],{"class":672},[216,1194,1195],{"class":682},"'female'",[216,1197,686],{"class":672},[216,1199,1200],{"class":682},"'other'",[216,1202,692],{"class":672},[216,1204,1205,1207,1209],{"class":668,"line":707},[216,1206,760],{"class":672},[216,1208,763],{"class":682},[216,1210,704],{"class":672},[216,1212,1213],{"class":668,"line":716},[216,1214,775],{"class":672},[216,1216,1217],{"class":668,"line":783},[216,1218,780],{"class":672},[216,1220,1221,1223,1226,1228,1230],{"class":668,"line":800},[216,1222,786],{"class":672},[216,1224,1225],{"class":682},"'Male'",[216,1227,792],{"class":672},[216,1229,1190],{"class":682},[216,1231,797],{"class":672},[216,1233,1234,1236,1239,1241,1243],{"class":668,"line":815},[216,1235,786],{"class":672},[216,1237,1238],{"class":682},"'Female'",[216,1240,792],{"class":672},[216,1242,1195],{"class":682},[216,1244,797],{"class":672},[216,1246,1247,1249,1252,1254,1256],{"class":668,"line":821},[216,1248,786],{"class":672},[216,1250,1251],{"class":682},"'Other'",[216,1253,792],{"class":672},[216,1255,1200],{"class":682},[216,1257,812],{"class":672},[216,1259,1260],{"class":668,"line":827},[216,1261,818],{"class":672},[216,1263,1264],{"class":668,"line":832},[216,1265,824],{"class":672},[216,1267,1268],{"class":668,"line":838},[216,1269,719],{"class":672},[216,1271,1272],{"class":668,"line":1151},[216,1273,719],{"class":672},[216,1275,1277],{"class":668,"line":1276},13,[216,1278,1279],{"class":769},"\u002F\u002F Output type: 'male' | 'female' | 'other'\n",[216,1281,1283],{"class":668,"line":1282},14,[216,1284,1285],{"class":769},"\u002F\u002F Display: Male \u002F Female \u002F Other\n",[244,1287,1288],{"id":655},[239,1289,1290],{},"Select",[251,1292,1294],{"color":253,"to":1293},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fselect","Select component documentation",[209,1296,1297],{},"Native select box, suitable for simple enum values:",[264,1299],{":collapse":266,"name":1300},"AutoFormFieldEnumSelectExample",[244,1302,1304],{"id":1303},"selectmenu",[239,1305,1306],{},"SelectMenu",[251,1308,1310],{"color":253,"to":1309},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fselect-menu","SelectMenu component documentation",[209,1312,1313,1314,1317],{},"Dropdown menu, set ",[239,1315,1316],{},"type: 'selectMenu'",", supports search, icons, and grouping:",[264,1319],{":collapse":266,"name":1320},"AutoFormFieldEnumSelectMenuExample",[244,1322,1324],{"id":1323},"radiogroup",[239,1325,1326],{},"RadioGroup",[251,1328,1330],{"color":253,"to":1329},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fradio-group","RadioGroup component documentation",[209,1332,1333,1334,1337],{},"Radio button group, set ",[239,1335,1336],{},"type: 'radioGroup'",", suitable for 2-4 options:",[264,1339],{":collapse":266,"name":1340},"AutoFormFieldEnumRadioGroupExample",[244,1342,1344],{"id":1343},"togglegroup",[239,1345,1346],{},"ToggleGroup",[209,1348,237,1349,1352,1353,1355,1356,1359],{},[239,1350,1351],{},"afz.enum(values, { type: 'toggleGroup' })"," for a single-select button group. AutoForm creates items from the enum values. Pass ",[239,1354,916],{}," to use custom labels. Pressing the selected option again clears it. Add ",[239,1357,1358],{},".optional()"," to the schema if the field can be left empty.",[209,1361,1362,1363,1366,1367,1370,1371,1374,1375,1377,1378,1381],{},"For multiple selection, use ",[239,1364,1365],{},"afz.array()"," with ",[239,1368,1369],{},"type: 'toggleGroup'",", then pass ",[239,1372,1373],{},"type: 'multiple'"," and an array of item objects in ",[239,1376,261],{},". The field value is an array of the selected items' ",[239,1379,1380],{},"value"," properties.",[264,1383],{":collapse":266,"name":1384},"AutoFormFieldToggleGroupExample",[229,1386,1388],{"id":1387},"file","File",[234,1390,237,1391,1394],{},[239,1392,1393],{},"afz.file()"," to create a file upload field:",[244,1396,1398],{"id":1397},"single-file-upload","Single File Upload",[209,1400,1401],{},"Basic single file upload:",[264,1403],{":collapse":266,"name":1404},"AutoFormFieldFileSingleExample",[244,1406,1408],{"id":1407},"multiple-file-upload","Multiple File Upload",[209,1410,1411,1412,1366,1415,262],{},"Multiple file upload using ",[239,1413,1414],{},"array",[239,1416,1417],{},"type: 'file'",[264,1419],{":collapse":266,"name":1420},"AutoFormFieldFileMultipleExample",[1422,1423,1424],"style",{},"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 .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}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 .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}",{"title":663,"searchDepth":695,"depth":695,"links":1426},[1427,1434,1439,1444,1451,1457],{"id":231,"depth":695,"text":232,"children":1428},[1429,1430,1431,1432,1433],{"id":246,"depth":707,"text":249},{"id":270,"depth":707,"text":273},{"id":290,"depth":707,"text":293},{"id":309,"depth":707,"text":312},{"id":328,"depth":707,"text":329},{"id":339,"depth":695,"text":340,"children":1435},[1436,1437,1438],{"id":350,"depth":707,"text":353},{"id":366,"depth":707,"text":369},{"id":386,"depth":707,"text":389},{"id":410,"depth":695,"text":411,"children":1440},[1441,1442,1443],{"id":421,"depth":707,"text":424},{"id":437,"depth":707,"text":440},{"id":457,"depth":707,"text":460},{"id":476,"depth":695,"text":477,"children":1445},[1446,1447,1448,1449,1450],{"id":501,"depth":707,"text":502},{"id":515,"depth":707,"text":516},{"id":528,"depth":707,"text":529},{"id":567,"depth":707,"text":568},{"id":591,"depth":707,"text":592},{"id":629,"depth":695,"text":630,"children":1452},[1453,1454,1455,1456],{"id":655,"depth":707,"text":1290},{"id":1303,"depth":707,"text":1306},{"id":1323,"depth":707,"text":1326},{"id":1343,"depth":707,"text":1346},{"id":1387,"depth":695,"text":1388,"children":1458},[1459,1460],{"id":1397,"depth":707,"text":1398},{"id":1407,"depth":707,"text":1408},"md",{},{"title":66,"description":69},{"loc":67},"FCnJhYvTN2lnlxYbXykaBA7120ntm721C0TSzf-HjB0",[1467,1468],{"title":61,"path":62,"stem":63,"description":64,"children":-1},{"title":71,"path":72,"stem":73,"description":74,"children":-1},{"code":1470,"filePath":1471,"pascalName":267},"\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  text: afz.string({\n    controlProps: {\n      icon: 'i-lucide-text'\n    }\n  })\n    .min(3, '至少 3 个字符')\n    .max(20, '最多 20 个字符')\n    .meta({\n      label: '基础输入框',\n      placeholder: '请输入文本',\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\u002FAutoFormFieldStringInputExample.vue",{"code":1473,"filePath":1474,"pascalName":287},"\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  description: afz.string({\n    type: 'textarea',\n    controlProps: {\n      maxrows: 2,\n      autoresize: true\n    }\n  })\n    .min(10, '至少 10 个字符')\n    .meta({\n      label: '文本域',\n      placeholder: '请输入多行文本...',\n      hint: '这是一个长文本,将自动调整高度,最多 2 行。'\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\u002FAutoFormFieldStringTextareaExample.vue",{"code":1476,"filePath":1477,"pascalName":306},"\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  code: afz.string({\n    type: 'pinInput',\n    controlProps: {\n      length: 6,\n      mask: false\n    }\n  })\n    .length(6, '请输入 6 位验证码')\n    .meta({\n      label: '验证码输入',\n      hint: '输入 6 位验证码'\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\u002FAutoFormFieldStringPinInputExample.vue",{"code":1479,"filePath":1480,"pascalName":325},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent, InputMenuItem } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst items = [\n  { label: 'Apple', value: 'apple' },\n  { label: 'Banana', value: 'banana' },\n  { label: 'Orange', value: 'orange' },\n  { label: 'Grape', value: 'grape' }\n] satisfies InputMenuItem[]\n\nconst schema = afz.object({\n  fruit: afz.string({\n    type: 'inputMenu',\n    controlProps: {\n      items,\n      valueKey: 'value'\n    }\n  })\n    .meta({\n      label: '输入菜单',\n      placeholder: '输入或选择水果',\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\u002FAutoFormFieldStringInputMenuExample.vue",{"code":1482,"filePath":1483,"pascalName":335},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type z from 'zod'\n\nconst props = defineProps\u003C{\n  type: 'string' | 'textarea'\n  size: 'sm' | 'xs' | 'md' | 'lg' | 'xl'\n  color: 'error' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral'\n  rows?: number\n  maxLength?: number\n}>()\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst resolvedControlProps = computed(() => ({\n  leadingIcon: 'i-lucide-type',\n  color: props.color,\n  rows: props.rows,\n  maxlength: props.maxLength\n}))\n\nconst schema = computed(() => (afz.object({\n  stringWithType: afz.string({\n    type: props.type,\n    controlProps: resolvedControlProps.value\n  }).meta({\n    size: props.size\n  }).optional()\n})))\n\ntype Schema = z.output\u003Ctypeof schema.value>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\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  \u003CUCard class=\"w-lg\">\n    \u003CMAutoForm\n      v-model=\"form\"\n      :schema=\"schema\"\n      :submit-button-props=\"{\n        color\n      }\"\n      @submit=\"onSubmit\"\n    \u002F>\n  \u003C\u002FUCard>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Ffield-types\u002FAutoFormFieldStringTypeExample.vue",{"code":1485,"filePath":1486,"pascalName":363},"\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  count: afz.number()\n    .int('必须是整数')\n    .min(0, '不能小于 0')\n    .max(100, '不能大于 100')\n    .meta({\n      label: '数字输入',\n      placeholder: '请输入 0-100 的整数',\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\u002FAutoFormFieldNumberInputExample.vue",{"code":1488,"filePath":1489,"pascalName":383},"\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  volume: afz.number({\n    type: 'slider',\n    controlProps: {\n      min: 0,\n      max: 100,\n      step: 5\n    }\n  })\n    .default(50)\n    .meta({\n      label: '音量滑块',\n      hint: '拖动滑块调整数值，步长为 5'\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\u002FAutoFormFieldNumberSliderExample.vue",{"code":1491,"filePath":1492,"pascalName":407},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { UInputRating } from '#components'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  rating: afz.number({\n    component: UInputRating,\n    controlProps: {\n      step: 0.5,\n      length: 10\n    }\n  })\n    .min(0, '评分不能小于 0')\n    .max(10, '评分不能大于 10')\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\u002FAutoFormFieldNumberInputRatingExample.vue",{"code":1494,"filePath":1495,"pascalName":434},"\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  agree: afz.boolean({\n    controlProps: {\n      label: '我已阅读并同意服务条款'\n    }\n  })\n    .refine(val => val === true, '必须同意条款才能继续')\n    .meta({\n      label: '复选框'\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\u002FAutoFormFieldBooleanCheckboxExample.vue",{"code":1497,"filePath":1498,"pascalName":454},"\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  enabled: afz.boolean({\n    type: 'switch'\n  })\n    .default(true)\n    .meta({\n      label: '开关',\n      hint: '切换功能启用\u002F禁用状态'\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\u002FAutoFormFieldBooleanSwitchExample.vue",{"code":1500,"filePath":1501,"pascalName":473},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst schema = afz.object({\n  pinned: afz.boolean({\n    type: 'toggle',\n    controlProps: { label: '置顶', activeVariant: 'solid' }\n  }).default(false).meta({ label: '文章设置' })\n})\n\nconst state = reactive\u003Cz.input\u003Ctypeof schema>>({})\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\u002Ffield-types\u002FAutoFormFieldBooleanToggleExample.vue",{"code":1503,"filePath":1504,"pascalName":512},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { CalendarDate } from '@internationalized\u002Fdate'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  appointmentDate: afz.calendarDate({ controlProps: { labelFormat: 'iso' } })\n    .refine(\n      date => date > new CalendarDate(2026, 1, 1),\n      { message: '日期必须在 2026 年之后' }\n    )\n    .transform(date => formatter.toTimestamp(date))\n    .meta({ label: '预约日期', description: '请选择一个在 2026 年之后的日期' })\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\u002FAutoFormFieldDatePickerExample.vue",{"code":1506,"filePath":1507,"pascalName":525},"\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  vacation: afz.calendarDate({\n    controlProps: {\n      labelFormat: 'iso',\n      range: true,\n      valueFormat: 'iso',\n      numberOfMonths: 2\n    }\n  })\n    .meta({\n      label: '日期范围',\n      hint: '选择日期范围，显示两个月'\n    })\n})\ntype Schema = z.output\u003Ctypeof schema>\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\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\u002FAutoFormFieldDateRangeExample.vue",{"code":1509,"filePath":1510,"pascalName":554},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  birthDate: afz.inputDate()\n    .transform(date => formatter.convertToISO(date))\n    .meta({\n      label: '出生日期',\n      description: '使用日期输入框选择您的出生日期'\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\u002FAutoFormFieldInputDateExample.vue",{"code":1512,"filePath":1513,"pascalName":564},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  eventPeriod: afz.inputDate({\n    controlProps: {\n      range: true\n    }\n  })\n    .transform(date => formatter.convertToISO(date))\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\u002FAutoFormFieldInputDateRangeExample.vue",{"code":1515,"filePath":1516,"pascalName":588},"\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  meetingTime: afz.inputTime()\n    .refine(\n      time => time.hour >= 9 && time.hour \u003C 18,\n      { message: '会议时间必须在工作时间内 (9:00-18:00)' }\n    )\n    .transform(time => `${String(time.hour).padStart(2, '0')}:${String(time.minute).padStart(2, '0')}`)\n    .meta({\n      label: '会议时间',\n      description: '请选择会议时间（工作时间内）'\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\u002FAutoFormFieldInputTimeExample.vue",{"code":1518,"filePath":1519,"pascalName":626},"\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  scheduledDate: afz.isoDate()\n    .meta({\n      label: '计划日期',\n      description: '输入 ISO 格式日期 (YYYY-MM-DD)',\n      hint: '例如: 2025-12-31'\n    }),\n  scheduledTime: afz.isoTime()\n    .meta({\n      label: '计划时间',\n      description: '输入 ISO 格式时间 (HH:MM:SS)',\n      hint: '例如: 14:30:00'\n    }),\n  createdAt: afz.isoDatetime()\n    .optional()\n    .meta({\n      label: '创建时间',\n      description: '输入 ISO 8601 完整时间戳',\n      hint: '例如: 2025-12-31T14:30:00Z'\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\u002FAutoFormFieldIsoExample.vue",{"code":1521,"filePath":1522,"pascalName":1300},"\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  status: afz.enum(['active', 'inactive', 'pending'])\n    .default('active')\n    .meta({\n      label: '选择框',\n      placeholder: '请选择状态',\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\u002FAutoFormFieldEnumSelectExample.vue",{"code":1524,"filePath":1525,"pascalName":1320},"\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  fruit: afz.enum([], {\n    type: 'selectMenu',\n    controlProps: {\n      placeholder: '选择水果',\n      valueKey: 'value',\n      items: [\n        { label: '苹果', value: 'apple' },\n        { label: '香蕉', value: 'banana' },\n        { label: '橙子', value: 'orange' }\n      ]\n    }\n  })\n    .meta({\n      label: '下拉菜单'\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\u002FAutoFormFieldEnumSelectMenuExample.vue",{"code":1527,"filePath":1528,"pascalName":1340},"\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  theme: afz.enum([], {\n    type: 'radioGroup',\n    controlProps: {\n      valueKey: 'id',\n      items: [\n        { label: 'System', description: '跟随系统设置', id: 'system' },\n        { label: 'Light', description: '浅色主题', id: 'light' },\n        { label: 'Dark', description: '深色主题', id: 'dark' }\n      ]\n    }\n  })\n    .default('system')\n    .meta({\n      label: '单选组'\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\u002FAutoFormFieldEnumRadioGroupExample.vue",{"code":1530,"filePath":1531,"pascalName":1384},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst schema = afz.object({\n  period: afz.enum(['日', '周', '月'], {\n    type: 'toggleGroup',\n    controlProps: { attached: true }\n  }).optional().meta({ label: '统计周期' }),\n  formats: afz.array(afz.enum(['bold', 'italic', 'underline']), {\n    type: 'toggleGroup',\n    controlProps: {\n      type: 'multiple',\n      items: [\n        { label: '加粗', value: 'bold' },\n        { label: '斜体', value: 'italic' },\n        { label: '下划线', value: 'underline' }\n      ]\n    }\n  }).default([]).meta({ label: '文字格式' })\n})\n\nconst state = reactive\u003Cz.input\u003Ctypeof schema>>({})\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\u002Ffield-types\u002FAutoFormFieldToggleGroupExample.vue",{"code":1533,"filePath":1534,"pascalName":1404},"\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  avatar: afz.file({\n    controlProps: {\n      accept: 'image\u002F*'\n    }\n  })\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: `文件名: ${event.data.avatar.name}`\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\u002FAutoFormFieldFileSingleExample.vue",{"code":1536,"filePath":1537,"pascalName":1420},"\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  attachments: afz.array(afz.file(), {\n    type: 'file',\n    controlProps: {\n      multiple: true,\n      layout: 'list'\n    }\n  })\n    .min(1, '至少上传一个文件')\n    .max(5, '最多上传 5 个文件')\n    .meta({\n      label: '多文件上传',\n      hint: '最多上传 5 个文件'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: `已上传 ${event.data.attachments.length} 个文件`\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\u002FAutoFormFieldFileMultipleExample.vue",{"data":1539,"body":1540},{},{"type":205,"children":1541},[1542],{"type":208,"tag":209,"props":1543,"children":1544},{},[1545],{"type":213,"value":69},{"data":1547,"body":1548,"toc":2302},{"title":663,"description":663},{"type":205,"children":1549},[1550,2297],{"type":208,"tag":1551,"props":1552,"children":1553},"code-collapse",{},[1554],{"type":208,"tag":658,"props":1555,"children":1559},{"className":1556,"code":1557,"language":1558,"meta":663,"style":663},"language-vue shiki shiki-themes github-light github-light github-dark","\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  text: afz.string({\n    controlProps: {\n      icon: 'i-lucide-text'\n    }\n  })\n    .min(3, '至少 3 个字符')\n    .max(20, '最多 20 个字符')\n    .meta({\n      label: '基础输入框',\n      placeholder: '请输入文本',\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","vue",[1560],{"type":208,"tag":239,"props":1561,"children":1562},{"__ignoreMap":663},[1563,1605,1632,1657,1664,1701,1726,1733,1760,1776,1783,1802,1809,1816,1853,1888,1905,1923,1940,1954,1963,1971,1979,2049,2067,2085,2103,2149,2157,2166,2183,2191,2208,2281],{"type":208,"tag":216,"props":1564,"children":1565},{"class":668,"line":669},[1566,1572,1578,1584,1589,1595,1600],{"type":208,"tag":216,"props":1567,"children":1569},{"style":1568},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[1570],{"type":213,"value":1571},"\u003C",{"type":208,"tag":216,"props":1573,"children":1575},{"style":1574},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[1576],{"type":213,"value":1577},"script",{"type":208,"tag":216,"props":1579,"children":1581},{"style":1580},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[1582],{"type":213,"value":1583}," lang",{"type":208,"tag":216,"props":1585,"children":1586},{"style":1568},[1587],{"type":213,"value":1588},"=",{"type":208,"tag":216,"props":1590,"children":1592},{"style":1591},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[1593],{"type":213,"value":1594},"\"ts\"",{"type":208,"tag":216,"props":1596,"children":1597},{"style":1580},[1598],{"type":213,"value":1599}," setup",{"type":208,"tag":216,"props":1601,"children":1602},{"style":1568},[1603],{"type":213,"value":1604},">\n",{"type":208,"tag":216,"props":1606,"children":1607},{"class":668,"line":695},[1608,1613,1618,1623,1627],{"type":208,"tag":216,"props":1609,"children":1611},{"style":1610},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[1612],{"type":213,"value":858},{"type":208,"tag":216,"props":1614,"children":1615},{"style":1610},[1616],{"type":213,"value":1617}," type",{"type":208,"tag":216,"props":1619,"children":1620},{"style":1568},[1621],{"type":213,"value":1622}," { FormSubmitEvent } ",{"type":208,"tag":216,"props":1624,"children":1625},{"style":1610},[1626],{"type":213,"value":864},{"type":208,"tag":216,"props":1628,"children":1629},{"style":1591},[1630],{"type":213,"value":1631}," '@nuxt\u002Fui'\n",{"type":208,"tag":216,"props":1633,"children":1634},{"class":668,"line":707},[1635,1639,1643,1648,1652],{"type":208,"tag":216,"props":1636,"children":1637},{"style":1610},[1638],{"type":213,"value":858},{"type":208,"tag":216,"props":1640,"children":1641},{"style":1610},[1642],{"type":213,"value":1617},{"type":208,"tag":216,"props":1644,"children":1645},{"style":1568},[1646],{"type":213,"value":1647}," { z } ",{"type":208,"tag":216,"props":1649,"children":1650},{"style":1610},[1651],{"type":213,"value":864},{"type":208,"tag":216,"props":1653,"children":1654},{"style":1591},[1655],{"type":213,"value":1656}," 'zod'\n",{"type":208,"tag":216,"props":1658,"children":1659},{"class":668,"line":716},[1660],{"type":208,"tag":216,"props":1661,"children":1662},{"emptyLinePlaceholder":872},[1663],{"type":213,"value":873},{"type":208,"tag":216,"props":1665,"children":1666},{"class":668,"line":783},[1667,1671,1676,1682,1687,1691,1696],{"type":208,"tag":216,"props":1668,"children":1669},{"style":1610},[1670],{"type":213,"value":939},{"type":208,"tag":216,"props":1672,"children":1673},{"style":1568},[1674],{"type":213,"value":1675}," { ",{"type":208,"tag":216,"props":1677,"children":1679},{"style":1678},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[1680],{"type":213,"value":1681},"afz",{"type":208,"tag":216,"props":1683,"children":1684},{"style":1568},[1685],{"type":213,"value":1686}," } ",{"type":208,"tag":216,"props":1688,"children":1689},{"style":1610},[1690],{"type":213,"value":1588},{"type":208,"tag":216,"props":1692,"children":1693},{"style":1580},[1694],{"type":213,"value":1695}," useAutoForm",{"type":208,"tag":216,"props":1697,"children":1698},{"style":1568},[1699],{"type":213,"value":1700},"()\n",{"type":208,"tag":216,"props":1702,"children":1703},{"class":668,"line":800},[1704,1708,1713,1717,1722],{"type":208,"tag":216,"props":1705,"children":1706},{"style":1610},[1707],{"type":213,"value":939},{"type":208,"tag":216,"props":1709,"children":1710},{"style":1678},[1711],{"type":213,"value":1712}," toast",{"type":208,"tag":216,"props":1714,"children":1715},{"style":1610},[1716],{"type":213,"value":946},{"type":208,"tag":216,"props":1718,"children":1719},{"style":1580},[1720],{"type":213,"value":1721}," useToast",{"type":208,"tag":216,"props":1723,"children":1724},{"style":1568},[1725],{"type":213,"value":1700},{"type":208,"tag":216,"props":1727,"children":1728},{"class":668,"line":815},[1729],{"type":208,"tag":216,"props":1730,"children":1731},{"emptyLinePlaceholder":872},[1732],{"type":213,"value":873},{"type":208,"tag":216,"props":1734,"children":1735},{"class":668,"line":821},[1736,1740,1744,1748,1752,1756],{"type":208,"tag":216,"props":1737,"children":1738},{"style":1610},[1739],{"type":213,"value":939},{"type":208,"tag":216,"props":1741,"children":1742},{"style":1678},[1743],{"type":213,"value":982},{"type":208,"tag":216,"props":1745,"children":1746},{"style":1610},[1747],{"type":213,"value":946},{"type":208,"tag":216,"props":1749,"children":1750},{"style":1568},[1751],{"type":213,"value":987},{"type":208,"tag":216,"props":1753,"children":1754},{"style":1580},[1755],{"type":213,"value":990},{"type":208,"tag":216,"props":1757,"children":1758},{"style":1568},[1759],{"type":213,"value":993},{"type":208,"tag":216,"props":1761,"children":1762},{"class":668,"line":827},[1763,1768,1772],{"type":208,"tag":216,"props":1764,"children":1765},{"style":1568},[1766],{"type":213,"value":1767},"  text: afz.",{"type":208,"tag":216,"props":1769,"children":1770},{"style":1580},[1771],{"type":213,"value":231},{"type":208,"tag":216,"props":1773,"children":1774},{"style":1568},[1775],{"type":213,"value":993},{"type":208,"tag":216,"props":1777,"children":1778},{"class":668,"line":832},[1779],{"type":208,"tag":216,"props":1780,"children":1781},{"style":1568},[1782],{"type":213,"value":1018},{"type":208,"tag":216,"props":1784,"children":1785},{"class":668,"line":838},[1786,1791],{"type":208,"tag":216,"props":1787,"children":1788},{"style":1568},[1789],{"type":213,"value":1790},"      icon: ",{"type":208,"tag":216,"props":1792,"children":1793},{"style":1591},[1794,1800],{"type":208,"tag":1795,"props":1796,"children":1799},"i",{"class":1797,"style":1798},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftext.svg?color=%23000)",[],{"type":213,"value":1801},"'i-lucide-text'\n",{"type":208,"tag":216,"props":1803,"children":1804},{"class":668,"line":1151},[1805],{"type":208,"tag":216,"props":1806,"children":1807},{"style":1568},[1808],{"type":213,"value":1036},{"type":208,"tag":216,"props":1810,"children":1811},{"class":668,"line":1276},[1812],{"type":208,"tag":216,"props":1813,"children":1814},{"style":1568},[1815],{"type":213,"value":1041},{"type":208,"tag":216,"props":1817,"children":1818},{"class":668,"line":1282},[1819,1824,1829,1834,1839,1843,1848],{"type":208,"tag":216,"props":1820,"children":1821},{"style":1568},[1822],{"type":213,"value":1823},"    .",{"type":208,"tag":216,"props":1825,"children":1826},{"style":1580},[1827],{"type":213,"value":1828},"min",{"type":208,"tag":216,"props":1830,"children":1831},{"style":1568},[1832],{"type":213,"value":1833},"(",{"type":208,"tag":216,"props":1835,"children":1836},{"style":1678},[1837],{"type":213,"value":1838},"3",{"type":208,"tag":216,"props":1840,"children":1841},{"style":1568},[1842],{"type":213,"value":686},{"type":208,"tag":216,"props":1844,"children":1845},{"style":1591},[1846],{"type":213,"value":1847},"'至少 3 个字符'",{"type":208,"tag":216,"props":1849,"children":1850},{"style":1568},[1851],{"type":213,"value":1852},")\n",{"type":208,"tag":216,"props":1854,"children":1856},{"class":668,"line":1855},15,[1857,1861,1866,1870,1875,1879,1884],{"type":208,"tag":216,"props":1858,"children":1859},{"style":1568},[1860],{"type":213,"value":1823},{"type":208,"tag":216,"props":1862,"children":1863},{"style":1580},[1864],{"type":213,"value":1865},"max",{"type":208,"tag":216,"props":1867,"children":1868},{"style":1568},[1869],{"type":213,"value":1833},{"type":208,"tag":216,"props":1871,"children":1872},{"style":1678},[1873],{"type":213,"value":1874},"20",{"type":208,"tag":216,"props":1876,"children":1877},{"style":1568},[1878],{"type":213,"value":686},{"type":208,"tag":216,"props":1880,"children":1881},{"style":1591},[1882],{"type":213,"value":1883},"'最多 20 个字符'",{"type":208,"tag":216,"props":1885,"children":1886},{"style":1568},[1887],{"type":213,"value":1852},{"type":208,"tag":216,"props":1889,"children":1891},{"class":668,"line":1890},16,[1892,1896,1901],{"type":208,"tag":216,"props":1893,"children":1894},{"style":1568},[1895],{"type":213,"value":1823},{"type":208,"tag":216,"props":1897,"children":1898},{"style":1580},[1899],{"type":213,"value":1900},"meta",{"type":208,"tag":216,"props":1902,"children":1903},{"style":1568},[1904],{"type":213,"value":993},{"type":208,"tag":216,"props":1906,"children":1908},{"class":668,"line":1907},17,[1909,1914,1919],{"type":208,"tag":216,"props":1910,"children":1911},{"style":1568},[1912],{"type":213,"value":1913},"      label: ",{"type":208,"tag":216,"props":1915,"children":1916},{"style":1591},[1917],{"type":213,"value":1918},"'基础输入框'",{"type":208,"tag":216,"props":1920,"children":1921},{"style":1568},[1922],{"type":213,"value":704},{"type":208,"tag":216,"props":1924,"children":1926},{"class":668,"line":1925},18,[1927,1931,1936],{"type":208,"tag":216,"props":1928,"children":1929},{"style":1568},[1930],{"type":213,"value":1023},{"type":208,"tag":216,"props":1932,"children":1933},{"style":1591},[1934],{"type":213,"value":1935},"'请输入文本'",{"type":208,"tag":216,"props":1937,"children":1938},{"style":1568},[1939],{"type":213,"value":704},{"type":208,"tag":216,"props":1941,"children":1943},{"class":668,"line":1942},19,[1944,1949],{"type":208,"tag":216,"props":1945,"children":1946},{"style":1568},[1947],{"type":213,"value":1948},"      hint: ",{"type":208,"tag":216,"props":1950,"children":1951},{"style":1591},[1952],{"type":213,"value":1953},"'支持图标、颜色等配置'\n",{"type":208,"tag":216,"props":1955,"children":1957},{"class":668,"line":1956},20,[1958],{"type":208,"tag":216,"props":1959,"children":1960},{"style":1568},[1961],{"type":213,"value":1962},"    })\n",{"type":208,"tag":216,"props":1964,"children":1966},{"class":668,"line":1965},21,[1967],{"type":208,"tag":216,"props":1968,"children":1969},{"style":1568},[1970],{"type":213,"value":719},{"type":208,"tag":216,"props":1972,"children":1974},{"class":668,"line":1973},22,[1975],{"type":208,"tag":216,"props":1976,"children":1977},{"emptyLinePlaceholder":872},[1978],{"type":213,"value":873},{"type":208,"tag":216,"props":1980,"children":1982},{"class":668,"line":1981},23,[1983,1988,1993,1998,2002,2008,2012,2017,2021,2026,2030,2035,2039,2044],{"type":208,"tag":216,"props":1984,"children":1985},{"style":1610},[1986],{"type":213,"value":1987},"async",{"type":208,"tag":216,"props":1989,"children":1990},{"style":1610},[1991],{"type":213,"value":1992}," function",{"type":208,"tag":216,"props":1994,"children":1995},{"style":1580},[1996],{"type":213,"value":1997}," onSubmit",{"type":208,"tag":216,"props":1999,"children":2000},{"style":1568},[2001],{"type":213,"value":1833},{"type":208,"tag":216,"props":2003,"children":2005},{"style":2004},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[2006],{"type":213,"value":2007},"event",{"type":208,"tag":216,"props":2009,"children":2010},{"style":1610},[2011],{"type":213,"value":262},{"type":208,"tag":216,"props":2013,"children":2014},{"style":1580},[2015],{"type":213,"value":2016}," FormSubmitEvent",{"type":208,"tag":216,"props":2018,"children":2019},{"style":1568},[2020],{"type":213,"value":1571},{"type":208,"tag":216,"props":2022,"children":2023},{"style":1580},[2024],{"type":213,"value":2025},"z",{"type":208,"tag":216,"props":2027,"children":2028},{"style":1568},[2029],{"type":213,"value":470},{"type":208,"tag":216,"props":2031,"children":2032},{"style":1580},[2033],{"type":213,"value":2034},"output",{"type":208,"tag":216,"props":2036,"children":2037},{"style":1568},[2038],{"type":213,"value":1571},{"type":208,"tag":216,"props":2040,"children":2041},{"style":1610},[2042],{"type":213,"value":2043},"typeof",{"type":208,"tag":216,"props":2045,"children":2046},{"style":1568},[2047],{"type":213,"value":2048}," schema>>) {\n",{"type":208,"tag":216,"props":2050,"children":2052},{"class":668,"line":2051},24,[2053,2058,2063],{"type":208,"tag":216,"props":2054,"children":2055},{"style":1568},[2056],{"type":213,"value":2057},"  toast.",{"type":208,"tag":216,"props":2059,"children":2060},{"style":1580},[2061],{"type":213,"value":2062},"add",{"type":208,"tag":216,"props":2064,"children":2065},{"style":1568},[2066],{"type":213,"value":993},{"type":208,"tag":216,"props":2068,"children":2070},{"class":668,"line":2069},25,[2071,2076,2081],{"type":208,"tag":216,"props":2072,"children":2073},{"style":1568},[2074],{"type":213,"value":2075},"    title: ",{"type":208,"tag":216,"props":2077,"children":2078},{"style":1591},[2079],{"type":213,"value":2080},"'Success'",{"type":208,"tag":216,"props":2082,"children":2083},{"style":1568},[2084],{"type":213,"value":704},{"type":208,"tag":216,"props":2086,"children":2088},{"class":668,"line":2087},26,[2089,2094,2099],{"type":208,"tag":216,"props":2090,"children":2091},{"style":1568},[2092],{"type":213,"value":2093},"    color: ",{"type":208,"tag":216,"props":2095,"children":2096},{"style":1591},[2097],{"type":213,"value":2098},"'success'",{"type":208,"tag":216,"props":2100,"children":2101},{"style":1568},[2102],{"type":213,"value":704},{"type":208,"tag":216,"props":2104,"children":2106},{"class":668,"line":2105},27,[2107,2112,2117,2121,2126,2131,2136,2140,2145],{"type":208,"tag":216,"props":2108,"children":2109},{"style":1568},[2110],{"type":213,"value":2111},"    description: ",{"type":208,"tag":216,"props":2113,"children":2114},{"style":1678},[2115],{"type":213,"value":2116},"JSON",{"type":208,"tag":216,"props":2118,"children":2119},{"style":1568},[2120],{"type":213,"value":470},{"type":208,"tag":216,"props":2122,"children":2123},{"style":1580},[2124],{"type":213,"value":2125},"stringify",{"type":208,"tag":216,"props":2127,"children":2128},{"style":1568},[2129],{"type":213,"value":2130},"(event.data, ",{"type":208,"tag":216,"props":2132,"children":2133},{"style":1678},[2134],{"type":213,"value":2135},"null",{"type":208,"tag":216,"props":2137,"children":2138},{"style":1568},[2139],{"type":213,"value":686},{"type":208,"tag":216,"props":2141,"children":2142},{"style":1678},[2143],{"type":213,"value":2144},"2",{"type":208,"tag":216,"props":2146,"children":2147},{"style":1568},[2148],{"type":213,"value":1852},{"type":208,"tag":216,"props":2150,"children":2152},{"class":668,"line":2151},28,[2153],{"type":208,"tag":216,"props":2154,"children":2155},{"style":1568},[2156],{"type":213,"value":1041},{"type":208,"tag":216,"props":2158,"children":2160},{"class":668,"line":2159},29,[2161],{"type":208,"tag":216,"props":2162,"children":2163},{"style":1568},[2164],{"type":213,"value":2165},"}\n",{"type":208,"tag":216,"props":2167,"children":2169},{"class":668,"line":2168},30,[2170,2175,2179],{"type":208,"tag":216,"props":2171,"children":2172},{"style":1568},[2173],{"type":213,"value":2174},"\u003C\u002F",{"type":208,"tag":216,"props":2176,"children":2177},{"style":1574},[2178],{"type":213,"value":1577},{"type":208,"tag":216,"props":2180,"children":2181},{"style":1568},[2182],{"type":213,"value":1604},{"type":208,"tag":216,"props":2184,"children":2186},{"class":668,"line":2185},31,[2187],{"type":208,"tag":216,"props":2188,"children":2189},{"emptyLinePlaceholder":872},[2190],{"type":213,"value":873},{"type":208,"tag":216,"props":2192,"children":2194},{"class":668,"line":2193},32,[2195,2199,2204],{"type":208,"tag":216,"props":2196,"children":2197},{"style":1568},[2198],{"type":213,"value":1571},{"type":208,"tag":216,"props":2200,"children":2201},{"style":1574},[2202],{"type":213,"value":2203},"template",{"type":208,"tag":216,"props":2205,"children":2206},{"style":1568},[2207],{"type":213,"value":1604},{"type":208,"tag":216,"props":2209,"children":2211},{"class":668,"line":2210},33,[2212,2217,2222,2227,2232,2236,2241,2245,2249,2254,2259,2263,2267,2272,2276],{"type":208,"tag":216,"props":2213,"children":2214},{"style":1568},[2215],{"type":213,"value":2216},"  \u003C",{"type":208,"tag":216,"props":2218,"children":2219},{"style":1574},[2220],{"type":213,"value":2221},"MAutoForm",{"type":208,"tag":216,"props":2223,"children":2224},{"style":1568},[2225],{"type":213,"value":2226}," :",{"type":208,"tag":216,"props":2228,"children":2229},{"style":1580},[2230],{"type":213,"value":2231},"schema",{"type":208,"tag":216,"props":2233,"children":2234},{"style":1568},[2235],{"type":213,"value":1588},{"type":208,"tag":216,"props":2237,"children":2238},{"style":1591},[2239],{"type":213,"value":2240},"\"",{"type":208,"tag":216,"props":2242,"children":2243},{"style":1568},[2244],{"type":213,"value":2231},{"type":208,"tag":216,"props":2246,"children":2247},{"style":1591},[2248],{"type":213,"value":2240},{"type":208,"tag":216,"props":2250,"children":2251},{"style":1568},[2252],{"type":213,"value":2253}," @",{"type":208,"tag":216,"props":2255,"children":2256},{"style":1580},[2257],{"type":213,"value":2258},"submit",{"type":208,"tag":216,"props":2260,"children":2261},{"style":1568},[2262],{"type":213,"value":1588},{"type":208,"tag":216,"props":2264,"children":2265},{"style":1591},[2266],{"type":213,"value":2240},{"type":208,"tag":216,"props":2268,"children":2269},{"style":1568},[2270],{"type":213,"value":2271},"onSubmit",{"type":208,"tag":216,"props":2273,"children":2274},{"style":1591},[2275],{"type":213,"value":2240},{"type":208,"tag":216,"props":2277,"children":2278},{"style":1568},[2279],{"type":213,"value":2280}," \u002F>\n",{"type":208,"tag":216,"props":2282,"children":2284},{"class":668,"line":2283},34,[2285,2289,2293],{"type":208,"tag":216,"props":2286,"children":2287},{"style":1568},[2288],{"type":213,"value":2174},{"type":208,"tag":216,"props":2290,"children":2291},{"style":1574},[2292],{"type":213,"value":2203},{"type":208,"tag":216,"props":2294,"children":2295},{"style":1568},[2296],{"type":213,"value":1604},{"type":208,"tag":1422,"props":2298,"children":2299},{},[2300],{"type":213,"value":2301},"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":663,"searchDepth":695,"depth":695,"links":2303},[],{"data":2305,"body":2306,"toc":2962},{"title":663,"description":663},{"type":205,"children":2307},[2308,2958],{"type":208,"tag":1551,"props":2309,"children":2310},{},[2311],{"type":208,"tag":658,"props":2312,"children":2314},{"className":1556,"code":2313,"language":1558,"meta":663,"style":663},"\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  description: afz.string({\n    type: 'textarea',\n    controlProps: {\n      maxrows: 2,\n      autoresize: true\n    }\n  })\n    .min(10, '至少 10 个字符')\n    .meta({\n      label: '文本域',\n      placeholder: '请输入多行文本...',\n      hint: '这是一个长文本,将自动调整高度,最多 2 行。'\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",[2315],{"type":208,"tag":239,"props":2316,"children":2317},{"__ignoreMap":663},[2318,2349,2372,2395,2402,2433,2456,2463,2490,2506,2522,2529,2545,2558,2565,2572,2605,2620,2636,2652,2664,2671,2678,2685,2744,2759,2774,2789,2828,2835,2842,2857,2864,2879,2942],{"type":208,"tag":216,"props":2319,"children":2320},{"class":668,"line":669},[2321,2325,2329,2333,2337,2341,2345],{"type":208,"tag":216,"props":2322,"children":2323},{"style":1568},[2324],{"type":213,"value":1571},{"type":208,"tag":216,"props":2326,"children":2327},{"style":1574},[2328],{"type":213,"value":1577},{"type":208,"tag":216,"props":2330,"children":2331},{"style":1580},[2332],{"type":213,"value":1583},{"type":208,"tag":216,"props":2334,"children":2335},{"style":1568},[2336],{"type":213,"value":1588},{"type":208,"tag":216,"props":2338,"children":2339},{"style":1591},[2340],{"type":213,"value":1594},{"type":208,"tag":216,"props":2342,"children":2343},{"style":1580},[2344],{"type":213,"value":1599},{"type":208,"tag":216,"props":2346,"children":2347},{"style":1568},[2348],{"type":213,"value":1604},{"type":208,"tag":216,"props":2350,"children":2351},{"class":668,"line":695},[2352,2356,2360,2364,2368],{"type":208,"tag":216,"props":2353,"children":2354},{"style":1610},[2355],{"type":213,"value":858},{"type":208,"tag":216,"props":2357,"children":2358},{"style":1610},[2359],{"type":213,"value":1617},{"type":208,"tag":216,"props":2361,"children":2362},{"style":1568},[2363],{"type":213,"value":1622},{"type":208,"tag":216,"props":2365,"children":2366},{"style":1610},[2367],{"type":213,"value":864},{"type":208,"tag":216,"props":2369,"children":2370},{"style":1591},[2371],{"type":213,"value":1631},{"type":208,"tag":216,"props":2373,"children":2374},{"class":668,"line":707},[2375,2379,2383,2387,2391],{"type":208,"tag":216,"props":2376,"children":2377},{"style":1610},[2378],{"type":213,"value":858},{"type":208,"tag":216,"props":2380,"children":2381},{"style":1610},[2382],{"type":213,"value":1617},{"type":208,"tag":216,"props":2384,"children":2385},{"style":1568},[2386],{"type":213,"value":1647},{"type":208,"tag":216,"props":2388,"children":2389},{"style":1610},[2390],{"type":213,"value":864},{"type":208,"tag":216,"props":2392,"children":2393},{"style":1591},[2394],{"type":213,"value":1656},{"type":208,"tag":216,"props":2396,"children":2397},{"class":668,"line":716},[2398],{"type":208,"tag":216,"props":2399,"children":2400},{"emptyLinePlaceholder":872},[2401],{"type":213,"value":873},{"type":208,"tag":216,"props":2403,"children":2404},{"class":668,"line":783},[2405,2409,2413,2417,2421,2425,2429],{"type":208,"tag":216,"props":2406,"children":2407},{"style":1610},[2408],{"type":213,"value":939},{"type":208,"tag":216,"props":2410,"children":2411},{"style":1568},[2412],{"type":213,"value":1675},{"type":208,"tag":216,"props":2414,"children":2415},{"style":1678},[2416],{"type":213,"value":1681},{"type":208,"tag":216,"props":2418,"children":2419},{"style":1568},[2420],{"type":213,"value":1686},{"type":208,"tag":216,"props":2422,"children":2423},{"style":1610},[2424],{"type":213,"value":1588},{"type":208,"tag":216,"props":2426,"children":2427},{"style":1580},[2428],{"type":213,"value":1695},{"type":208,"tag":216,"props":2430,"children":2431},{"style":1568},[2432],{"type":213,"value":1700},{"type":208,"tag":216,"props":2434,"children":2435},{"class":668,"line":800},[2436,2440,2444,2448,2452],{"type":208,"tag":216,"props":2437,"children":2438},{"style":1610},[2439],{"type":213,"value":939},{"type":208,"tag":216,"props":2441,"children":2442},{"style":1678},[2443],{"type":213,"value":1712},{"type":208,"tag":216,"props":2445,"children":2446},{"style":1610},[2447],{"type":213,"value":946},{"type":208,"tag":216,"props":2449,"children":2450},{"style":1580},[2451],{"type":213,"value":1721},{"type":208,"tag":216,"props":2453,"children":2454},{"style":1568},[2455],{"type":213,"value":1700},{"type":208,"tag":216,"props":2457,"children":2458},{"class":668,"line":815},[2459],{"type":208,"tag":216,"props":2460,"children":2461},{"emptyLinePlaceholder":872},[2462],{"type":213,"value":873},{"type":208,"tag":216,"props":2464,"children":2465},{"class":668,"line":821},[2466,2470,2474,2478,2482,2486],{"type":208,"tag":216,"props":2467,"children":2468},{"style":1610},[2469],{"type":213,"value":939},{"type":208,"tag":216,"props":2471,"children":2472},{"style":1678},[2473],{"type":213,"value":982},{"type":208,"tag":216,"props":2475,"children":2476},{"style":1610},[2477],{"type":213,"value":946},{"type":208,"tag":216,"props":2479,"children":2480},{"style":1568},[2481],{"type":213,"value":987},{"type":208,"tag":216,"props":2483,"children":2484},{"style":1580},[2485],{"type":213,"value":990},{"type":208,"tag":216,"props":2487,"children":2488},{"style":1568},[2489],{"type":213,"value":993},{"type":208,"tag":216,"props":2491,"children":2492},{"class":668,"line":827},[2493,2498,2502],{"type":208,"tag":216,"props":2494,"children":2495},{"style":1568},[2496],{"type":213,"value":2497},"  description: afz.",{"type":208,"tag":216,"props":2499,"children":2500},{"style":1580},[2501],{"type":213,"value":231},{"type":208,"tag":216,"props":2503,"children":2504},{"style":1568},[2505],{"type":213,"value":993},{"type":208,"tag":216,"props":2507,"children":2508},{"class":668,"line":832},[2509,2513,2518],{"type":208,"tag":216,"props":2510,"children":2511},{"style":1568},[2512],{"type":213,"value":1008},{"type":208,"tag":216,"props":2514,"children":2515},{"style":1591},[2516],{"type":213,"value":2517},"'textarea'",{"type":208,"tag":216,"props":2519,"children":2520},{"style":1568},[2521],{"type":213,"value":704},{"type":208,"tag":216,"props":2523,"children":2524},{"class":668,"line":838},[2525],{"type":208,"tag":216,"props":2526,"children":2527},{"style":1568},[2528],{"type":213,"value":1018},{"type":208,"tag":216,"props":2530,"children":2531},{"class":668,"line":1151},[2532,2537,2541],{"type":208,"tag":216,"props":2533,"children":2534},{"style":1568},[2535],{"type":213,"value":2536},"      maxrows: ",{"type":208,"tag":216,"props":2538,"children":2539},{"style":1678},[2540],{"type":213,"value":2144},{"type":208,"tag":216,"props":2542,"children":2543},{"style":1568},[2544],{"type":213,"value":704},{"type":208,"tag":216,"props":2546,"children":2547},{"class":668,"line":1276},[2548,2553],{"type":208,"tag":216,"props":2549,"children":2550},{"style":1568},[2551],{"type":213,"value":2552},"      autoresize: ",{"type":208,"tag":216,"props":2554,"children":2555},{"style":1678},[2556],{"type":213,"value":2557},"true\n",{"type":208,"tag":216,"props":2559,"children":2560},{"class":668,"line":1282},[2561],{"type":208,"tag":216,"props":2562,"children":2563},{"style":1568},[2564],{"type":213,"value":1036},{"type":208,"tag":216,"props":2566,"children":2567},{"class":668,"line":1855},[2568],{"type":208,"tag":216,"props":2569,"children":2570},{"style":1568},[2571],{"type":213,"value":1041},{"type":208,"tag":216,"props":2573,"children":2574},{"class":668,"line":1890},[2575,2579,2583,2587,2592,2596,2601],{"type":208,"tag":216,"props":2576,"children":2577},{"style":1568},[2578],{"type":213,"value":1823},{"type":208,"tag":216,"props":2580,"children":2581},{"style":1580},[2582],{"type":213,"value":1828},{"type":208,"tag":216,"props":2584,"children":2585},{"style":1568},[2586],{"type":213,"value":1833},{"type":208,"tag":216,"props":2588,"children":2589},{"style":1678},[2590],{"type":213,"value":2591},"10",{"type":208,"tag":216,"props":2593,"children":2594},{"style":1568},[2595],{"type":213,"value":686},{"type":208,"tag":216,"props":2597,"children":2598},{"style":1591},[2599],{"type":213,"value":2600},"'至少 10 个字符'",{"type":208,"tag":216,"props":2602,"children":2603},{"style":1568},[2604],{"type":213,"value":1852},{"type":208,"tag":216,"props":2606,"children":2607},{"class":668,"line":1907},[2608,2612,2616],{"type":208,"tag":216,"props":2609,"children":2610},{"style":1568},[2611],{"type":213,"value":1823},{"type":208,"tag":216,"props":2613,"children":2614},{"style":1580},[2615],{"type":213,"value":1900},{"type":208,"tag":216,"props":2617,"children":2618},{"style":1568},[2619],{"type":213,"value":993},{"type":208,"tag":216,"props":2621,"children":2622},{"class":668,"line":1925},[2623,2627,2632],{"type":208,"tag":216,"props":2624,"children":2625},{"style":1568},[2626],{"type":213,"value":1913},{"type":208,"tag":216,"props":2628,"children":2629},{"style":1591},[2630],{"type":213,"value":2631},"'文本域'",{"type":208,"tag":216,"props":2633,"children":2634},{"style":1568},[2635],{"type":213,"value":704},{"type":208,"tag":216,"props":2637,"children":2638},{"class":668,"line":1942},[2639,2643,2648],{"type":208,"tag":216,"props":2640,"children":2641},{"style":1568},[2642],{"type":213,"value":1023},{"type":208,"tag":216,"props":2644,"children":2645},{"style":1591},[2646],{"type":213,"value":2647},"'请输入多行文本...'",{"type":208,"tag":216,"props":2649,"children":2650},{"style":1568},[2651],{"type":213,"value":704},{"type":208,"tag":216,"props":2653,"children":2654},{"class":668,"line":1956},[2655,2659],{"type":208,"tag":216,"props":2656,"children":2657},{"style":1568},[2658],{"type":213,"value":1948},{"type":208,"tag":216,"props":2660,"children":2661},{"style":1591},[2662],{"type":213,"value":2663},"'这是一个长文本,将自动调整高度,最多 2 行。'\n",{"type":208,"tag":216,"props":2665,"children":2666},{"class":668,"line":1965},[2667],{"type":208,"tag":216,"props":2668,"children":2669},{"style":1568},[2670],{"type":213,"value":1962},{"type":208,"tag":216,"props":2672,"children":2673},{"class":668,"line":1973},[2674],{"type":208,"tag":216,"props":2675,"children":2676},{"style":1568},[2677],{"type":213,"value":719},{"type":208,"tag":216,"props":2679,"children":2680},{"class":668,"line":1981},[2681],{"type":208,"tag":216,"props":2682,"children":2683},{"emptyLinePlaceholder":872},[2684],{"type":213,"value":873},{"type":208,"tag":216,"props":2686,"children":2687},{"class":668,"line":2051},[2688,2692,2696,2700,2704,2708,2712,2716,2720,2724,2728,2732,2736,2740],{"type":208,"tag":216,"props":2689,"children":2690},{"style":1610},[2691],{"type":213,"value":1987},{"type":208,"tag":216,"props":2693,"children":2694},{"style":1610},[2695],{"type":213,"value":1992},{"type":208,"tag":216,"props":2697,"children":2698},{"style":1580},[2699],{"type":213,"value":1997},{"type":208,"tag":216,"props":2701,"children":2702},{"style":1568},[2703],{"type":213,"value":1833},{"type":208,"tag":216,"props":2705,"children":2706},{"style":2004},[2707],{"type":213,"value":2007},{"type":208,"tag":216,"props":2709,"children":2710},{"style":1610},[2711],{"type":213,"value":262},{"type":208,"tag":216,"props":2713,"children":2714},{"style":1580},[2715],{"type":213,"value":2016},{"type":208,"tag":216,"props":2717,"children":2718},{"style":1568},[2719],{"type":213,"value":1571},{"type":208,"tag":216,"props":2721,"children":2722},{"style":1580},[2723],{"type":213,"value":2025},{"type":208,"tag":216,"props":2725,"children":2726},{"style":1568},[2727],{"type":213,"value":470},{"type":208,"tag":216,"props":2729,"children":2730},{"style":1580},[2731],{"type":213,"value":2034},{"type":208,"tag":216,"props":2733,"children":2734},{"style":1568},[2735],{"type":213,"value":1571},{"type":208,"tag":216,"props":2737,"children":2738},{"style":1610},[2739],{"type":213,"value":2043},{"type":208,"tag":216,"props":2741,"children":2742},{"style":1568},[2743],{"type":213,"value":2048},{"type":208,"tag":216,"props":2745,"children":2746},{"class":668,"line":2069},[2747,2751,2755],{"type":208,"tag":216,"props":2748,"children":2749},{"style":1568},[2750],{"type":213,"value":2057},{"type":208,"tag":216,"props":2752,"children":2753},{"style":1580},[2754],{"type":213,"value":2062},{"type":208,"tag":216,"props":2756,"children":2757},{"style":1568},[2758],{"type":213,"value":993},{"type":208,"tag":216,"props":2760,"children":2761},{"class":668,"line":2087},[2762,2766,2770],{"type":208,"tag":216,"props":2763,"children":2764},{"style":1568},[2765],{"type":213,"value":2075},{"type":208,"tag":216,"props":2767,"children":2768},{"style":1591},[2769],{"type":213,"value":2080},{"type":208,"tag":216,"props":2771,"children":2772},{"style":1568},[2773],{"type":213,"value":704},{"type":208,"tag":216,"props":2775,"children":2776},{"class":668,"line":2105},[2777,2781,2785],{"type":208,"tag":216,"props":2778,"children":2779},{"style":1568},[2780],{"type":213,"value":2093},{"type":208,"tag":216,"props":2782,"children":2783},{"style":1591},[2784],{"type":213,"value":2098},{"type":208,"tag":216,"props":2786,"children":2787},{"style":1568},[2788],{"type":213,"value":704},{"type":208,"tag":216,"props":2790,"children":2791},{"class":668,"line":2151},[2792,2796,2800,2804,2808,2812,2816,2820,2824],{"type":208,"tag":216,"props":2793,"children":2794},{"style":1568},[2795],{"type":213,"value":2111},{"type":208,"tag":216,"props":2797,"children":2798},{"style":1678},[2799],{"type":213,"value":2116},{"type":208,"tag":216,"props":2801,"children":2802},{"style":1568},[2803],{"type":213,"value":470},{"type":208,"tag":216,"props":2805,"children":2806},{"style":1580},[2807],{"type":213,"value":2125},{"type":208,"tag":216,"props":2809,"children":2810},{"style":1568},[2811],{"type":213,"value":2130},{"type":208,"tag":216,"props":2813,"children":2814},{"style":1678},[2815],{"type":213,"value":2135},{"type":208,"tag":216,"props":2817,"children":2818},{"style":1568},[2819],{"type":213,"value":686},{"type":208,"tag":216,"props":2821,"children":2822},{"style":1678},[2823],{"type":213,"value":2144},{"type":208,"tag":216,"props":2825,"children":2826},{"style":1568},[2827],{"type":213,"value":1852},{"type":208,"tag":216,"props":2829,"children":2830},{"class":668,"line":2159},[2831],{"type":208,"tag":216,"props":2832,"children":2833},{"style":1568},[2834],{"type":213,"value":1041},{"type":208,"tag":216,"props":2836,"children":2837},{"class":668,"line":2168},[2838],{"type":208,"tag":216,"props":2839,"children":2840},{"style":1568},[2841],{"type":213,"value":2165},{"type":208,"tag":216,"props":2843,"children":2844},{"class":668,"line":2185},[2845,2849,2853],{"type":208,"tag":216,"props":2846,"children":2847},{"style":1568},[2848],{"type":213,"value":2174},{"type":208,"tag":216,"props":2850,"children":2851},{"style":1574},[2852],{"type":213,"value":1577},{"type":208,"tag":216,"props":2854,"children":2855},{"style":1568},[2856],{"type":213,"value":1604},{"type":208,"tag":216,"props":2858,"children":2859},{"class":668,"line":2193},[2860],{"type":208,"tag":216,"props":2861,"children":2862},{"emptyLinePlaceholder":872},[2863],{"type":213,"value":873},{"type":208,"tag":216,"props":2865,"children":2866},{"class":668,"line":2210},[2867,2871,2875],{"type":208,"tag":216,"props":2868,"children":2869},{"style":1568},[2870],{"type":213,"value":1571},{"type":208,"tag":216,"props":2872,"children":2873},{"style":1574},[2874],{"type":213,"value":2203},{"type":208,"tag":216,"props":2876,"children":2877},{"style":1568},[2878],{"type":213,"value":1604},{"type":208,"tag":216,"props":2880,"children":2881},{"class":668,"line":2283},[2882,2886,2890,2894,2898,2902,2906,2910,2914,2918,2922,2926,2930,2934,2938],{"type":208,"tag":216,"props":2883,"children":2884},{"style":1568},[2885],{"type":213,"value":2216},{"type":208,"tag":216,"props":2887,"children":2888},{"style":1574},[2889],{"type":213,"value":2221},{"type":208,"tag":216,"props":2891,"children":2892},{"style":1568},[2893],{"type":213,"value":2226},{"type":208,"tag":216,"props":2895,"children":2896},{"style":1580},[2897],{"type":213,"value":2231},{"type":208,"tag":216,"props":2899,"children":2900},{"style":1568},[2901],{"type":213,"value":1588},{"type":208,"tag":216,"props":2903,"children":2904},{"style":1591},[2905],{"type":213,"value":2240},{"type":208,"tag":216,"props":2907,"children":2908},{"style":1568},[2909],{"type":213,"value":2231},{"type":208,"tag":216,"props":2911,"children":2912},{"style":1591},[2913],{"type":213,"value":2240},{"type":208,"tag":216,"props":2915,"children":2916},{"style":1568},[2917],{"type":213,"value":2253},{"type":208,"tag":216,"props":2919,"children":2920},{"style":1580},[2921],{"type":213,"value":2258},{"type":208,"tag":216,"props":2923,"children":2924},{"style":1568},[2925],{"type":213,"value":1588},{"type":208,"tag":216,"props":2927,"children":2928},{"style":1591},[2929],{"type":213,"value":2240},{"type":208,"tag":216,"props":2931,"children":2932},{"style":1568},[2933],{"type":213,"value":2271},{"type":208,"tag":216,"props":2935,"children":2936},{"style":1591},[2937],{"type":213,"value":2240},{"type":208,"tag":216,"props":2939,"children":2940},{"style":1568},[2941],{"type":213,"value":2280},{"type":208,"tag":216,"props":2943,"children":2945},{"class":668,"line":2944},35,[2946,2950,2954],{"type":208,"tag":216,"props":2947,"children":2948},{"style":1568},[2949],{"type":213,"value":2174},{"type":208,"tag":216,"props":2951,"children":2952},{"style":1574},[2953],{"type":213,"value":2203},{"type":208,"tag":216,"props":2955,"children":2956},{"style":1568},[2957],{"type":213,"value":1604},{"type":208,"tag":1422,"props":2959,"children":2960},{},[2961],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":2963},[],{"data":2965,"body":2966,"toc":3606},{"title":663,"description":663},{"type":205,"children":2967},[2968,3602],{"type":208,"tag":1551,"props":2969,"children":2970},{},[2971],{"type":208,"tag":658,"props":2972,"children":2974},{"className":1556,"code":2973,"language":1558,"meta":663,"style":663},"\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  code: afz.string({\n    type: 'pinInput',\n    controlProps: {\n      length: 6,\n      mask: false\n    }\n  })\n    .length(6, '请输入 6 位验证码')\n    .meta({\n      label: '验证码输入',\n      hint: '输入 6 位验证码'\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",[2975],{"type":208,"tag":239,"props":2976,"children":2977},{"__ignoreMap":663},[2978,3009,3032,3055,3062,3093,3116,3123,3150,3166,3182,3189,3206,3219,3226,3233,3266,3281,3297,3309,3316,3323,3330,3389,3404,3419,3434,3473,3480,3487,3502,3509,3524,3587],{"type":208,"tag":216,"props":2979,"children":2980},{"class":668,"line":669},[2981,2985,2989,2993,2997,3001,3005],{"type":208,"tag":216,"props":2982,"children":2983},{"style":1568},[2984],{"type":213,"value":1571},{"type":208,"tag":216,"props":2986,"children":2987},{"style":1574},[2988],{"type":213,"value":1577},{"type":208,"tag":216,"props":2990,"children":2991},{"style":1580},[2992],{"type":213,"value":1583},{"type":208,"tag":216,"props":2994,"children":2995},{"style":1568},[2996],{"type":213,"value":1588},{"type":208,"tag":216,"props":2998,"children":2999},{"style":1591},[3000],{"type":213,"value":1594},{"type":208,"tag":216,"props":3002,"children":3003},{"style":1580},[3004],{"type":213,"value":1599},{"type":208,"tag":216,"props":3006,"children":3007},{"style":1568},[3008],{"type":213,"value":1604},{"type":208,"tag":216,"props":3010,"children":3011},{"class":668,"line":695},[3012,3016,3020,3024,3028],{"type":208,"tag":216,"props":3013,"children":3014},{"style":1610},[3015],{"type":213,"value":858},{"type":208,"tag":216,"props":3017,"children":3018},{"style":1610},[3019],{"type":213,"value":1617},{"type":208,"tag":216,"props":3021,"children":3022},{"style":1568},[3023],{"type":213,"value":1622},{"type":208,"tag":216,"props":3025,"children":3026},{"style":1610},[3027],{"type":213,"value":864},{"type":208,"tag":216,"props":3029,"children":3030},{"style":1591},[3031],{"type":213,"value":1631},{"type":208,"tag":216,"props":3033,"children":3034},{"class":668,"line":707},[3035,3039,3043,3047,3051],{"type":208,"tag":216,"props":3036,"children":3037},{"style":1610},[3038],{"type":213,"value":858},{"type":208,"tag":216,"props":3040,"children":3041},{"style":1610},[3042],{"type":213,"value":1617},{"type":208,"tag":216,"props":3044,"children":3045},{"style":1568},[3046],{"type":213,"value":1647},{"type":208,"tag":216,"props":3048,"children":3049},{"style":1610},[3050],{"type":213,"value":864},{"type":208,"tag":216,"props":3052,"children":3053},{"style":1591},[3054],{"type":213,"value":1656},{"type":208,"tag":216,"props":3056,"children":3057},{"class":668,"line":716},[3058],{"type":208,"tag":216,"props":3059,"children":3060},{"emptyLinePlaceholder":872},[3061],{"type":213,"value":873},{"type":208,"tag":216,"props":3063,"children":3064},{"class":668,"line":783},[3065,3069,3073,3077,3081,3085,3089],{"type":208,"tag":216,"props":3066,"children":3067},{"style":1610},[3068],{"type":213,"value":939},{"type":208,"tag":216,"props":3070,"children":3071},{"style":1568},[3072],{"type":213,"value":1675},{"type":208,"tag":216,"props":3074,"children":3075},{"style":1678},[3076],{"type":213,"value":1681},{"type":208,"tag":216,"props":3078,"children":3079},{"style":1568},[3080],{"type":213,"value":1686},{"type":208,"tag":216,"props":3082,"children":3083},{"style":1610},[3084],{"type":213,"value":1588},{"type":208,"tag":216,"props":3086,"children":3087},{"style":1580},[3088],{"type":213,"value":1695},{"type":208,"tag":216,"props":3090,"children":3091},{"style":1568},[3092],{"type":213,"value":1700},{"type":208,"tag":216,"props":3094,"children":3095},{"class":668,"line":800},[3096,3100,3104,3108,3112],{"type":208,"tag":216,"props":3097,"children":3098},{"style":1610},[3099],{"type":213,"value":939},{"type":208,"tag":216,"props":3101,"children":3102},{"style":1678},[3103],{"type":213,"value":1712},{"type":208,"tag":216,"props":3105,"children":3106},{"style":1610},[3107],{"type":213,"value":946},{"type":208,"tag":216,"props":3109,"children":3110},{"style":1580},[3111],{"type":213,"value":1721},{"type":208,"tag":216,"props":3113,"children":3114},{"style":1568},[3115],{"type":213,"value":1700},{"type":208,"tag":216,"props":3117,"children":3118},{"class":668,"line":815},[3119],{"type":208,"tag":216,"props":3120,"children":3121},{"emptyLinePlaceholder":872},[3122],{"type":213,"value":873},{"type":208,"tag":216,"props":3124,"children":3125},{"class":668,"line":821},[3126,3130,3134,3138,3142,3146],{"type":208,"tag":216,"props":3127,"children":3128},{"style":1610},[3129],{"type":213,"value":939},{"type":208,"tag":216,"props":3131,"children":3132},{"style":1678},[3133],{"type":213,"value":982},{"type":208,"tag":216,"props":3135,"children":3136},{"style":1610},[3137],{"type":213,"value":946},{"type":208,"tag":216,"props":3139,"children":3140},{"style":1568},[3141],{"type":213,"value":987},{"type":208,"tag":216,"props":3143,"children":3144},{"style":1580},[3145],{"type":213,"value":990},{"type":208,"tag":216,"props":3147,"children":3148},{"style":1568},[3149],{"type":213,"value":993},{"type":208,"tag":216,"props":3151,"children":3152},{"class":668,"line":827},[3153,3158,3162],{"type":208,"tag":216,"props":3154,"children":3155},{"style":1568},[3156],{"type":213,"value":3157},"  code: afz.",{"type":208,"tag":216,"props":3159,"children":3160},{"style":1580},[3161],{"type":213,"value":231},{"type":208,"tag":216,"props":3163,"children":3164},{"style":1568},[3165],{"type":213,"value":993},{"type":208,"tag":216,"props":3167,"children":3168},{"class":668,"line":832},[3169,3173,3178],{"type":208,"tag":216,"props":3170,"children":3171},{"style":1568},[3172],{"type":213,"value":1008},{"type":208,"tag":216,"props":3174,"children":3175},{"style":1591},[3176],{"type":213,"value":3177},"'pinInput'",{"type":208,"tag":216,"props":3179,"children":3180},{"style":1568},[3181],{"type":213,"value":704},{"type":208,"tag":216,"props":3183,"children":3184},{"class":668,"line":838},[3185],{"type":208,"tag":216,"props":3186,"children":3187},{"style":1568},[3188],{"type":213,"value":1018},{"type":208,"tag":216,"props":3190,"children":3191},{"class":668,"line":1151},[3192,3197,3202],{"type":208,"tag":216,"props":3193,"children":3194},{"style":1568},[3195],{"type":213,"value":3196},"      length: ",{"type":208,"tag":216,"props":3198,"children":3199},{"style":1678},[3200],{"type":213,"value":3201},"6",{"type":208,"tag":216,"props":3203,"children":3204},{"style":1568},[3205],{"type":213,"value":704},{"type":208,"tag":216,"props":3207,"children":3208},{"class":668,"line":1276},[3209,3214],{"type":208,"tag":216,"props":3210,"children":3211},{"style":1568},[3212],{"type":213,"value":3213},"      mask: ",{"type":208,"tag":216,"props":3215,"children":3216},{"style":1678},[3217],{"type":213,"value":3218},"false\n",{"type":208,"tag":216,"props":3220,"children":3221},{"class":668,"line":1282},[3222],{"type":208,"tag":216,"props":3223,"children":3224},{"style":1568},[3225],{"type":213,"value":1036},{"type":208,"tag":216,"props":3227,"children":3228},{"class":668,"line":1855},[3229],{"type":208,"tag":216,"props":3230,"children":3231},{"style":1568},[3232],{"type":213,"value":1041},{"type":208,"tag":216,"props":3234,"children":3235},{"class":668,"line":1890},[3236,3240,3245,3249,3253,3257,3262],{"type":208,"tag":216,"props":3237,"children":3238},{"style":1568},[3239],{"type":213,"value":1823},{"type":208,"tag":216,"props":3241,"children":3242},{"style":1580},[3243],{"type":213,"value":3244},"length",{"type":208,"tag":216,"props":3246,"children":3247},{"style":1568},[3248],{"type":213,"value":1833},{"type":208,"tag":216,"props":3250,"children":3251},{"style":1678},[3252],{"type":213,"value":3201},{"type":208,"tag":216,"props":3254,"children":3255},{"style":1568},[3256],{"type":213,"value":686},{"type":208,"tag":216,"props":3258,"children":3259},{"style":1591},[3260],{"type":213,"value":3261},"'请输入 6 位验证码'",{"type":208,"tag":216,"props":3263,"children":3264},{"style":1568},[3265],{"type":213,"value":1852},{"type":208,"tag":216,"props":3267,"children":3268},{"class":668,"line":1907},[3269,3273,3277],{"type":208,"tag":216,"props":3270,"children":3271},{"style":1568},[3272],{"type":213,"value":1823},{"type":208,"tag":216,"props":3274,"children":3275},{"style":1580},[3276],{"type":213,"value":1900},{"type":208,"tag":216,"props":3278,"children":3279},{"style":1568},[3280],{"type":213,"value":993},{"type":208,"tag":216,"props":3282,"children":3283},{"class":668,"line":1925},[3284,3288,3293],{"type":208,"tag":216,"props":3285,"children":3286},{"style":1568},[3287],{"type":213,"value":1913},{"type":208,"tag":216,"props":3289,"children":3290},{"style":1591},[3291],{"type":213,"value":3292},"'验证码输入'",{"type":208,"tag":216,"props":3294,"children":3295},{"style":1568},[3296],{"type":213,"value":704},{"type":208,"tag":216,"props":3298,"children":3299},{"class":668,"line":1942},[3300,3304],{"type":208,"tag":216,"props":3301,"children":3302},{"style":1568},[3303],{"type":213,"value":1948},{"type":208,"tag":216,"props":3305,"children":3306},{"style":1591},[3307],{"type":213,"value":3308},"'输入 6 位验证码'\n",{"type":208,"tag":216,"props":3310,"children":3311},{"class":668,"line":1956},[3312],{"type":208,"tag":216,"props":3313,"children":3314},{"style":1568},[3315],{"type":213,"value":1962},{"type":208,"tag":216,"props":3317,"children":3318},{"class":668,"line":1965},[3319],{"type":208,"tag":216,"props":3320,"children":3321},{"style":1568},[3322],{"type":213,"value":719},{"type":208,"tag":216,"props":3324,"children":3325},{"class":668,"line":1973},[3326],{"type":208,"tag":216,"props":3327,"children":3328},{"emptyLinePlaceholder":872},[3329],{"type":213,"value":873},{"type":208,"tag":216,"props":3331,"children":3332},{"class":668,"line":1981},[3333,3337,3341,3345,3349,3353,3357,3361,3365,3369,3373,3377,3381,3385],{"type":208,"tag":216,"props":3334,"children":3335},{"style":1610},[3336],{"type":213,"value":1987},{"type":208,"tag":216,"props":3338,"children":3339},{"style":1610},[3340],{"type":213,"value":1992},{"type":208,"tag":216,"props":3342,"children":3343},{"style":1580},[3344],{"type":213,"value":1997},{"type":208,"tag":216,"props":3346,"children":3347},{"style":1568},[3348],{"type":213,"value":1833},{"type":208,"tag":216,"props":3350,"children":3351},{"style":2004},[3352],{"type":213,"value":2007},{"type":208,"tag":216,"props":3354,"children":3355},{"style":1610},[3356],{"type":213,"value":262},{"type":208,"tag":216,"props":3358,"children":3359},{"style":1580},[3360],{"type":213,"value":2016},{"type":208,"tag":216,"props":3362,"children":3363},{"style":1568},[3364],{"type":213,"value":1571},{"type":208,"tag":216,"props":3366,"children":3367},{"style":1580},[3368],{"type":213,"value":2025},{"type":208,"tag":216,"props":3370,"children":3371},{"style":1568},[3372],{"type":213,"value":470},{"type":208,"tag":216,"props":3374,"children":3375},{"style":1580},[3376],{"type":213,"value":2034},{"type":208,"tag":216,"props":3378,"children":3379},{"style":1568},[3380],{"type":213,"value":1571},{"type":208,"tag":216,"props":3382,"children":3383},{"style":1610},[3384],{"type":213,"value":2043},{"type":208,"tag":216,"props":3386,"children":3387},{"style":1568},[3388],{"type":213,"value":2048},{"type":208,"tag":216,"props":3390,"children":3391},{"class":668,"line":2051},[3392,3396,3400],{"type":208,"tag":216,"props":3393,"children":3394},{"style":1568},[3395],{"type":213,"value":2057},{"type":208,"tag":216,"props":3397,"children":3398},{"style":1580},[3399],{"type":213,"value":2062},{"type":208,"tag":216,"props":3401,"children":3402},{"style":1568},[3403],{"type":213,"value":993},{"type":208,"tag":216,"props":3405,"children":3406},{"class":668,"line":2069},[3407,3411,3415],{"type":208,"tag":216,"props":3408,"children":3409},{"style":1568},[3410],{"type":213,"value":2075},{"type":208,"tag":216,"props":3412,"children":3413},{"style":1591},[3414],{"type":213,"value":2080},{"type":208,"tag":216,"props":3416,"children":3417},{"style":1568},[3418],{"type":213,"value":704},{"type":208,"tag":216,"props":3420,"children":3421},{"class":668,"line":2087},[3422,3426,3430],{"type":208,"tag":216,"props":3423,"children":3424},{"style":1568},[3425],{"type":213,"value":2093},{"type":208,"tag":216,"props":3427,"children":3428},{"style":1591},[3429],{"type":213,"value":2098},{"type":208,"tag":216,"props":3431,"children":3432},{"style":1568},[3433],{"type":213,"value":704},{"type":208,"tag":216,"props":3435,"children":3436},{"class":668,"line":2105},[3437,3441,3445,3449,3453,3457,3461,3465,3469],{"type":208,"tag":216,"props":3438,"children":3439},{"style":1568},[3440],{"type":213,"value":2111},{"type":208,"tag":216,"props":3442,"children":3443},{"style":1678},[3444],{"type":213,"value":2116},{"type":208,"tag":216,"props":3446,"children":3447},{"style":1568},[3448],{"type":213,"value":470},{"type":208,"tag":216,"props":3450,"children":3451},{"style":1580},[3452],{"type":213,"value":2125},{"type":208,"tag":216,"props":3454,"children":3455},{"style":1568},[3456],{"type":213,"value":2130},{"type":208,"tag":216,"props":3458,"children":3459},{"style":1678},[3460],{"type":213,"value":2135},{"type":208,"tag":216,"props":3462,"children":3463},{"style":1568},[3464],{"type":213,"value":686},{"type":208,"tag":216,"props":3466,"children":3467},{"style":1678},[3468],{"type":213,"value":2144},{"type":208,"tag":216,"props":3470,"children":3471},{"style":1568},[3472],{"type":213,"value":1852},{"type":208,"tag":216,"props":3474,"children":3475},{"class":668,"line":2151},[3476],{"type":208,"tag":216,"props":3477,"children":3478},{"style":1568},[3479],{"type":213,"value":1041},{"type":208,"tag":216,"props":3481,"children":3482},{"class":668,"line":2159},[3483],{"type":208,"tag":216,"props":3484,"children":3485},{"style":1568},[3486],{"type":213,"value":2165},{"type":208,"tag":216,"props":3488,"children":3489},{"class":668,"line":2168},[3490,3494,3498],{"type":208,"tag":216,"props":3491,"children":3492},{"style":1568},[3493],{"type":213,"value":2174},{"type":208,"tag":216,"props":3495,"children":3496},{"style":1574},[3497],{"type":213,"value":1577},{"type":208,"tag":216,"props":3499,"children":3500},{"style":1568},[3501],{"type":213,"value":1604},{"type":208,"tag":216,"props":3503,"children":3504},{"class":668,"line":2185},[3505],{"type":208,"tag":216,"props":3506,"children":3507},{"emptyLinePlaceholder":872},[3508],{"type":213,"value":873},{"type":208,"tag":216,"props":3510,"children":3511},{"class":668,"line":2193},[3512,3516,3520],{"type":208,"tag":216,"props":3513,"children":3514},{"style":1568},[3515],{"type":213,"value":1571},{"type":208,"tag":216,"props":3517,"children":3518},{"style":1574},[3519],{"type":213,"value":2203},{"type":208,"tag":216,"props":3521,"children":3522},{"style":1568},[3523],{"type":213,"value":1604},{"type":208,"tag":216,"props":3525,"children":3526},{"class":668,"line":2210},[3527,3531,3535,3539,3543,3547,3551,3555,3559,3563,3567,3571,3575,3579,3583],{"type":208,"tag":216,"props":3528,"children":3529},{"style":1568},[3530],{"type":213,"value":2216},{"type":208,"tag":216,"props":3532,"children":3533},{"style":1574},[3534],{"type":213,"value":2221},{"type":208,"tag":216,"props":3536,"children":3537},{"style":1568},[3538],{"type":213,"value":2226},{"type":208,"tag":216,"props":3540,"children":3541},{"style":1580},[3542],{"type":213,"value":2231},{"type":208,"tag":216,"props":3544,"children":3545},{"style":1568},[3546],{"type":213,"value":1588},{"type":208,"tag":216,"props":3548,"children":3549},{"style":1591},[3550],{"type":213,"value":2240},{"type":208,"tag":216,"props":3552,"children":3553},{"style":1568},[3554],{"type":213,"value":2231},{"type":208,"tag":216,"props":3556,"children":3557},{"style":1591},[3558],{"type":213,"value":2240},{"type":208,"tag":216,"props":3560,"children":3561},{"style":1568},[3562],{"type":213,"value":2253},{"type":208,"tag":216,"props":3564,"children":3565},{"style":1580},[3566],{"type":213,"value":2258},{"type":208,"tag":216,"props":3568,"children":3569},{"style":1568},[3570],{"type":213,"value":1588},{"type":208,"tag":216,"props":3572,"children":3573},{"style":1591},[3574],{"type":213,"value":2240},{"type":208,"tag":216,"props":3576,"children":3577},{"style":1568},[3578],{"type":213,"value":2271},{"type":208,"tag":216,"props":3580,"children":3581},{"style":1591},[3582],{"type":213,"value":2240},{"type":208,"tag":216,"props":3584,"children":3585},{"style":1568},[3586],{"type":213,"value":2280},{"type":208,"tag":216,"props":3588,"children":3589},{"class":668,"line":2283},[3590,3594,3598],{"type":208,"tag":216,"props":3591,"children":3592},{"style":1568},[3593],{"type":213,"value":2174},{"type":208,"tag":216,"props":3595,"children":3596},{"style":1574},[3597],{"type":213,"value":2203},{"type":208,"tag":216,"props":3599,"children":3600},{"style":1568},[3601],{"type":213,"value":1604},{"type":208,"tag":1422,"props":3603,"children":3604},{},[3605],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":3607},[],{"data":3609,"body":3610,"toc":4376},{"title":663,"description":663},{"type":205,"children":3611},[3612,4372],{"type":208,"tag":1551,"props":3613,"children":3614},{},[3615],{"type":208,"tag":658,"props":3616,"children":3618},{"className":1556,"code":3617,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent, InputMenuItem } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst items = [\n  { label: 'Apple', value: 'apple' },\n  { label: 'Banana', value: 'banana' },\n  { label: 'Orange', value: 'orange' },\n  { label: 'Grape', value: 'grape' }\n] satisfies InputMenuItem[]\n\nconst schema = afz.object({\n  fruit: afz.string({\n    type: 'inputMenu',\n    controlProps: {\n      items,\n      valueKey: 'value'\n    }\n  })\n    .meta({\n      label: '输入菜单',\n      placeholder: '输入或选择水果',\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",[3619],{"type":208,"tag":239,"props":3620,"children":3621},{"__ignoreMap":663},[3622,3653,3677,3700,3707,3738,3761,3768,3789,3813,3836,3860,3885,3907,3914,3941,3956,3972,3979,3987,4000,4007,4014,4029,4045,4061,4073,4080,4087,4094,4153,4168,4183,4198,4237,4244,4252,4268,4276,4292,4356],{"type":208,"tag":216,"props":3623,"children":3624},{"class":668,"line":669},[3625,3629,3633,3637,3641,3645,3649],{"type":208,"tag":216,"props":3626,"children":3627},{"style":1568},[3628],{"type":213,"value":1571},{"type":208,"tag":216,"props":3630,"children":3631},{"style":1574},[3632],{"type":213,"value":1577},{"type":208,"tag":216,"props":3634,"children":3635},{"style":1580},[3636],{"type":213,"value":1583},{"type":208,"tag":216,"props":3638,"children":3639},{"style":1568},[3640],{"type":213,"value":1588},{"type":208,"tag":216,"props":3642,"children":3643},{"style":1591},[3644],{"type":213,"value":1594},{"type":208,"tag":216,"props":3646,"children":3647},{"style":1580},[3648],{"type":213,"value":1599},{"type":208,"tag":216,"props":3650,"children":3651},{"style":1568},[3652],{"type":213,"value":1604},{"type":208,"tag":216,"props":3654,"children":3655},{"class":668,"line":695},[3656,3660,3664,3669,3673],{"type":208,"tag":216,"props":3657,"children":3658},{"style":1610},[3659],{"type":213,"value":858},{"type":208,"tag":216,"props":3661,"children":3662},{"style":1610},[3663],{"type":213,"value":1617},{"type":208,"tag":216,"props":3665,"children":3666},{"style":1568},[3667],{"type":213,"value":3668}," { FormSubmitEvent, InputMenuItem } ",{"type":208,"tag":216,"props":3670,"children":3671},{"style":1610},[3672],{"type":213,"value":864},{"type":208,"tag":216,"props":3674,"children":3675},{"style":1591},[3676],{"type":213,"value":1631},{"type":208,"tag":216,"props":3678,"children":3679},{"class":668,"line":707},[3680,3684,3688,3692,3696],{"type":208,"tag":216,"props":3681,"children":3682},{"style":1610},[3683],{"type":213,"value":858},{"type":208,"tag":216,"props":3685,"children":3686},{"style":1610},[3687],{"type":213,"value":1617},{"type":208,"tag":216,"props":3689,"children":3690},{"style":1568},[3691],{"type":213,"value":1647},{"type":208,"tag":216,"props":3693,"children":3694},{"style":1610},[3695],{"type":213,"value":864},{"type":208,"tag":216,"props":3697,"children":3698},{"style":1591},[3699],{"type":213,"value":1656},{"type":208,"tag":216,"props":3701,"children":3702},{"class":668,"line":716},[3703],{"type":208,"tag":216,"props":3704,"children":3705},{"emptyLinePlaceholder":872},[3706],{"type":213,"value":873},{"type":208,"tag":216,"props":3708,"children":3709},{"class":668,"line":783},[3710,3714,3718,3722,3726,3730,3734],{"type":208,"tag":216,"props":3711,"children":3712},{"style":1610},[3713],{"type":213,"value":939},{"type":208,"tag":216,"props":3715,"children":3716},{"style":1568},[3717],{"type":213,"value":1675},{"type":208,"tag":216,"props":3719,"children":3720},{"style":1678},[3721],{"type":213,"value":1681},{"type":208,"tag":216,"props":3723,"children":3724},{"style":1568},[3725],{"type":213,"value":1686},{"type":208,"tag":216,"props":3727,"children":3728},{"style":1610},[3729],{"type":213,"value":1588},{"type":208,"tag":216,"props":3731,"children":3732},{"style":1580},[3733],{"type":213,"value":1695},{"type":208,"tag":216,"props":3735,"children":3736},{"style":1568},[3737],{"type":213,"value":1700},{"type":208,"tag":216,"props":3739,"children":3740},{"class":668,"line":800},[3741,3745,3749,3753,3757],{"type":208,"tag":216,"props":3742,"children":3743},{"style":1610},[3744],{"type":213,"value":939},{"type":208,"tag":216,"props":3746,"children":3747},{"style":1678},[3748],{"type":213,"value":1712},{"type":208,"tag":216,"props":3750,"children":3751},{"style":1610},[3752],{"type":213,"value":946},{"type":208,"tag":216,"props":3754,"children":3755},{"style":1580},[3756],{"type":213,"value":1721},{"type":208,"tag":216,"props":3758,"children":3759},{"style":1568},[3760],{"type":213,"value":1700},{"type":208,"tag":216,"props":3762,"children":3763},{"class":668,"line":815},[3764],{"type":208,"tag":216,"props":3765,"children":3766},{"emptyLinePlaceholder":872},[3767],{"type":213,"value":873},{"type":208,"tag":216,"props":3769,"children":3770},{"class":668,"line":821},[3771,3775,3780,3784],{"type":208,"tag":216,"props":3772,"children":3773},{"style":1610},[3774],{"type":213,"value":939},{"type":208,"tag":216,"props":3776,"children":3777},{"style":1678},[3778],{"type":213,"value":3779}," items",{"type":208,"tag":216,"props":3781,"children":3782},{"style":1610},[3783],{"type":213,"value":946},{"type":208,"tag":216,"props":3785,"children":3786},{"style":1568},[3787],{"type":213,"value":3788}," [\n",{"type":208,"tag":216,"props":3790,"children":3791},{"class":668,"line":827},[3792,3797,3801,3805,3809],{"type":208,"tag":216,"props":3793,"children":3794},{"style":1568},[3795],{"type":213,"value":3796},"  { label: ",{"type":208,"tag":216,"props":3798,"children":3799},{"style":1591},[3800],{"type":213,"value":1117},{"type":208,"tag":216,"props":3802,"children":3803},{"style":1568},[3804],{"type":213,"value":792},{"type":208,"tag":216,"props":3806,"children":3807},{"style":1591},[3808],{"type":213,"value":952},{"type":208,"tag":216,"props":3810,"children":3811},{"style":1568},[3812],{"type":213,"value":797},{"type":208,"tag":216,"props":3814,"children":3815},{"class":668,"line":832},[3816,3820,3824,3828,3832],{"type":208,"tag":216,"props":3817,"children":3818},{"style":1568},[3819],{"type":213,"value":3796},{"type":208,"tag":216,"props":3821,"children":3822},{"style":1591},[3823],{"type":213,"value":1130},{"type":208,"tag":216,"props":3825,"children":3826},{"style":1568},[3827],{"type":213,"value":792},{"type":208,"tag":216,"props":3829,"children":3830},{"style":1591},[3831],{"type":213,"value":957},{"type":208,"tag":216,"props":3833,"children":3834},{"style":1568},[3835],{"type":213,"value":797},{"type":208,"tag":216,"props":3837,"children":3838},{"class":668,"line":838},[3839,3843,3848,3852,3856],{"type":208,"tag":216,"props":3840,"children":3841},{"style":1568},[3842],{"type":213,"value":3796},{"type":208,"tag":216,"props":3844,"children":3845},{"style":1591},[3846],{"type":213,"value":3847},"'Orange'",{"type":208,"tag":216,"props":3849,"children":3850},{"style":1568},[3851],{"type":213,"value":792},{"type":208,"tag":216,"props":3853,"children":3854},{"style":1591},[3855],{"type":213,"value":962},{"type":208,"tag":216,"props":3857,"children":3858},{"style":1568},[3859],{"type":213,"value":797},{"type":208,"tag":216,"props":3861,"children":3862},{"class":668,"line":1151},[3863,3867,3872,3876,3881],{"type":208,"tag":216,"props":3864,"children":3865},{"style":1568},[3866],{"type":213,"value":3796},{"type":208,"tag":216,"props":3868,"children":3869},{"style":1591},[3870],{"type":213,"value":3871},"'Grape'",{"type":208,"tag":216,"props":3873,"children":3874},{"style":1568},[3875],{"type":213,"value":792},{"type":208,"tag":216,"props":3877,"children":3878},{"style":1591},[3879],{"type":213,"value":3880},"'grape'",{"type":208,"tag":216,"props":3882,"children":3883},{"style":1568},[3884],{"type":213,"value":812},{"type":208,"tag":216,"props":3886,"children":3887},{"class":668,"line":1276},[3888,3892,3897,3902],{"type":208,"tag":216,"props":3889,"children":3890},{"style":1568},[3891],{"type":213,"value":965},{"type":208,"tag":216,"props":3893,"children":3894},{"style":1610},[3895],{"type":213,"value":3896},"satisfies",{"type":208,"tag":216,"props":3898,"children":3899},{"style":1580},[3900],{"type":213,"value":3901}," InputMenuItem",{"type":208,"tag":216,"props":3903,"children":3904},{"style":1568},[3905],{"type":213,"value":3906},"[]\n",{"type":208,"tag":216,"props":3908,"children":3909},{"class":668,"line":1282},[3910],{"type":208,"tag":216,"props":3911,"children":3912},{"emptyLinePlaceholder":872},[3913],{"type":213,"value":873},{"type":208,"tag":216,"props":3915,"children":3916},{"class":668,"line":1855},[3917,3921,3925,3929,3933,3937],{"type":208,"tag":216,"props":3918,"children":3919},{"style":1610},[3920],{"type":213,"value":939},{"type":208,"tag":216,"props":3922,"children":3923},{"style":1678},[3924],{"type":213,"value":982},{"type":208,"tag":216,"props":3926,"children":3927},{"style":1610},[3928],{"type":213,"value":946},{"type":208,"tag":216,"props":3930,"children":3931},{"style":1568},[3932],{"type":213,"value":987},{"type":208,"tag":216,"props":3934,"children":3935},{"style":1580},[3936],{"type":213,"value":990},{"type":208,"tag":216,"props":3938,"children":3939},{"style":1568},[3940],{"type":213,"value":993},{"type":208,"tag":216,"props":3942,"children":3943},{"class":668,"line":1890},[3944,3948,3952],{"type":208,"tag":216,"props":3945,"children":3946},{"style":1568},[3947],{"type":213,"value":998},{"type":208,"tag":216,"props":3949,"children":3950},{"style":1580},[3951],{"type":213,"value":231},{"type":208,"tag":216,"props":3953,"children":3954},{"style":1568},[3955],{"type":213,"value":993},{"type":208,"tag":216,"props":3957,"children":3958},{"class":668,"line":1907},[3959,3963,3968],{"type":208,"tag":216,"props":3960,"children":3961},{"style":1568},[3962],{"type":213,"value":1008},{"type":208,"tag":216,"props":3964,"children":3965},{"style":1591},[3966],{"type":213,"value":3967},"'inputMenu'",{"type":208,"tag":216,"props":3969,"children":3970},{"style":1568},[3971],{"type":213,"value":704},{"type":208,"tag":216,"props":3973,"children":3974},{"class":668,"line":1925},[3975],{"type":208,"tag":216,"props":3976,"children":3977},{"style":1568},[3978],{"type":213,"value":1018},{"type":208,"tag":216,"props":3980,"children":3981},{"class":668,"line":1942},[3982],{"type":208,"tag":216,"props":3983,"children":3984},{"style":1568},[3985],{"type":213,"value":3986},"      items,\n",{"type":208,"tag":216,"props":3988,"children":3989},{"class":668,"line":1956},[3990,3995],{"type":208,"tag":216,"props":3991,"children":3992},{"style":1568},[3993],{"type":213,"value":3994},"      valueKey: ",{"type":208,"tag":216,"props":3996,"children":3997},{"style":1591},[3998],{"type":213,"value":3999},"'value'\n",{"type":208,"tag":216,"props":4001,"children":4002},{"class":668,"line":1965},[4003],{"type":208,"tag":216,"props":4004,"children":4005},{"style":1568},[4006],{"type":213,"value":1036},{"type":208,"tag":216,"props":4008,"children":4009},{"class":668,"line":1973},[4010],{"type":208,"tag":216,"props":4011,"children":4012},{"style":1568},[4013],{"type":213,"value":1041},{"type":208,"tag":216,"props":4015,"children":4016},{"class":668,"line":1981},[4017,4021,4025],{"type":208,"tag":216,"props":4018,"children":4019},{"style":1568},[4020],{"type":213,"value":1823},{"type":208,"tag":216,"props":4022,"children":4023},{"style":1580},[4024],{"type":213,"value":1900},{"type":208,"tag":216,"props":4026,"children":4027},{"style":1568},[4028],{"type":213,"value":993},{"type":208,"tag":216,"props":4030,"children":4031},{"class":668,"line":2051},[4032,4036,4041],{"type":208,"tag":216,"props":4033,"children":4034},{"style":1568},[4035],{"type":213,"value":1913},{"type":208,"tag":216,"props":4037,"children":4038},{"style":1591},[4039],{"type":213,"value":4040},"'输入菜单'",{"type":208,"tag":216,"props":4042,"children":4043},{"style":1568},[4044],{"type":213,"value":704},{"type":208,"tag":216,"props":4046,"children":4047},{"class":668,"line":2069},[4048,4052,4057],{"type":208,"tag":216,"props":4049,"children":4050},{"style":1568},[4051],{"type":213,"value":1023},{"type":208,"tag":216,"props":4053,"children":4054},{"style":1591},[4055],{"type":213,"value":4056},"'输入或选择水果'",{"type":208,"tag":216,"props":4058,"children":4059},{"style":1568},[4060],{"type":213,"value":704},{"type":208,"tag":216,"props":4062,"children":4063},{"class":668,"line":2087},[4064,4068],{"type":208,"tag":216,"props":4065,"children":4066},{"style":1568},[4067],{"type":213,"value":1948},{"type":208,"tag":216,"props":4069,"children":4070},{"style":1591},[4071],{"type":213,"value":4072},"'支持输入和下拉选择'\n",{"type":208,"tag":216,"props":4074,"children":4075},{"class":668,"line":2105},[4076],{"type":208,"tag":216,"props":4077,"children":4078},{"style":1568},[4079],{"type":213,"value":1962},{"type":208,"tag":216,"props":4081,"children":4082},{"class":668,"line":2151},[4083],{"type":208,"tag":216,"props":4084,"children":4085},{"style":1568},[4086],{"type":213,"value":719},{"type":208,"tag":216,"props":4088,"children":4089},{"class":668,"line":2159},[4090],{"type":208,"tag":216,"props":4091,"children":4092},{"emptyLinePlaceholder":872},[4093],{"type":213,"value":873},{"type":208,"tag":216,"props":4095,"children":4096},{"class":668,"line":2168},[4097,4101,4105,4109,4113,4117,4121,4125,4129,4133,4137,4141,4145,4149],{"type":208,"tag":216,"props":4098,"children":4099},{"style":1610},[4100],{"type":213,"value":1987},{"type":208,"tag":216,"props":4102,"children":4103},{"style":1610},[4104],{"type":213,"value":1992},{"type":208,"tag":216,"props":4106,"children":4107},{"style":1580},[4108],{"type":213,"value":1997},{"type":208,"tag":216,"props":4110,"children":4111},{"style":1568},[4112],{"type":213,"value":1833},{"type":208,"tag":216,"props":4114,"children":4115},{"style":2004},[4116],{"type":213,"value":2007},{"type":208,"tag":216,"props":4118,"children":4119},{"style":1610},[4120],{"type":213,"value":262},{"type":208,"tag":216,"props":4122,"children":4123},{"style":1580},[4124],{"type":213,"value":2016},{"type":208,"tag":216,"props":4126,"children":4127},{"style":1568},[4128],{"type":213,"value":1571},{"type":208,"tag":216,"props":4130,"children":4131},{"style":1580},[4132],{"type":213,"value":2025},{"type":208,"tag":216,"props":4134,"children":4135},{"style":1568},[4136],{"type":213,"value":470},{"type":208,"tag":216,"props":4138,"children":4139},{"style":1580},[4140],{"type":213,"value":2034},{"type":208,"tag":216,"props":4142,"children":4143},{"style":1568},[4144],{"type":213,"value":1571},{"type":208,"tag":216,"props":4146,"children":4147},{"style":1610},[4148],{"type":213,"value":2043},{"type":208,"tag":216,"props":4150,"children":4151},{"style":1568},[4152],{"type":213,"value":2048},{"type":208,"tag":216,"props":4154,"children":4155},{"class":668,"line":2185},[4156,4160,4164],{"type":208,"tag":216,"props":4157,"children":4158},{"style":1568},[4159],{"type":213,"value":2057},{"type":208,"tag":216,"props":4161,"children":4162},{"style":1580},[4163],{"type":213,"value":2062},{"type":208,"tag":216,"props":4165,"children":4166},{"style":1568},[4167],{"type":213,"value":993},{"type":208,"tag":216,"props":4169,"children":4170},{"class":668,"line":2193},[4171,4175,4179],{"type":208,"tag":216,"props":4172,"children":4173},{"style":1568},[4174],{"type":213,"value":2075},{"type":208,"tag":216,"props":4176,"children":4177},{"style":1591},[4178],{"type":213,"value":2080},{"type":208,"tag":216,"props":4180,"children":4181},{"style":1568},[4182],{"type":213,"value":704},{"type":208,"tag":216,"props":4184,"children":4185},{"class":668,"line":2210},[4186,4190,4194],{"type":208,"tag":216,"props":4187,"children":4188},{"style":1568},[4189],{"type":213,"value":2093},{"type":208,"tag":216,"props":4191,"children":4192},{"style":1591},[4193],{"type":213,"value":2098},{"type":208,"tag":216,"props":4195,"children":4196},{"style":1568},[4197],{"type":213,"value":704},{"type":208,"tag":216,"props":4199,"children":4200},{"class":668,"line":2283},[4201,4205,4209,4213,4217,4221,4225,4229,4233],{"type":208,"tag":216,"props":4202,"children":4203},{"style":1568},[4204],{"type":213,"value":2111},{"type":208,"tag":216,"props":4206,"children":4207},{"style":1678},[4208],{"type":213,"value":2116},{"type":208,"tag":216,"props":4210,"children":4211},{"style":1568},[4212],{"type":213,"value":470},{"type":208,"tag":216,"props":4214,"children":4215},{"style":1580},[4216],{"type":213,"value":2125},{"type":208,"tag":216,"props":4218,"children":4219},{"style":1568},[4220],{"type":213,"value":2130},{"type":208,"tag":216,"props":4222,"children":4223},{"style":1678},[4224],{"type":213,"value":2135},{"type":208,"tag":216,"props":4226,"children":4227},{"style":1568},[4228],{"type":213,"value":686},{"type":208,"tag":216,"props":4230,"children":4231},{"style":1678},[4232],{"type":213,"value":2144},{"type":208,"tag":216,"props":4234,"children":4235},{"style":1568},[4236],{"type":213,"value":1852},{"type":208,"tag":216,"props":4238,"children":4239},{"class":668,"line":2944},[4240],{"type":208,"tag":216,"props":4241,"children":4242},{"style":1568},[4243],{"type":213,"value":1041},{"type":208,"tag":216,"props":4245,"children":4247},{"class":668,"line":4246},36,[4248],{"type":208,"tag":216,"props":4249,"children":4250},{"style":1568},[4251],{"type":213,"value":2165},{"type":208,"tag":216,"props":4253,"children":4255},{"class":668,"line":4254},37,[4256,4260,4264],{"type":208,"tag":216,"props":4257,"children":4258},{"style":1568},[4259],{"type":213,"value":2174},{"type":208,"tag":216,"props":4261,"children":4262},{"style":1574},[4263],{"type":213,"value":1577},{"type":208,"tag":216,"props":4265,"children":4266},{"style":1568},[4267],{"type":213,"value":1604},{"type":208,"tag":216,"props":4269,"children":4271},{"class":668,"line":4270},38,[4272],{"type":208,"tag":216,"props":4273,"children":4274},{"emptyLinePlaceholder":872},[4275],{"type":213,"value":873},{"type":208,"tag":216,"props":4277,"children":4279},{"class":668,"line":4278},39,[4280,4284,4288],{"type":208,"tag":216,"props":4281,"children":4282},{"style":1568},[4283],{"type":213,"value":1571},{"type":208,"tag":216,"props":4285,"children":4286},{"style":1574},[4287],{"type":213,"value":2203},{"type":208,"tag":216,"props":4289,"children":4290},{"style":1568},[4291],{"type":213,"value":1604},{"type":208,"tag":216,"props":4293,"children":4295},{"class":668,"line":4294},40,[4296,4300,4304,4308,4312,4316,4320,4324,4328,4332,4336,4340,4344,4348,4352],{"type":208,"tag":216,"props":4297,"children":4298},{"style":1568},[4299],{"type":213,"value":2216},{"type":208,"tag":216,"props":4301,"children":4302},{"style":1574},[4303],{"type":213,"value":2221},{"type":208,"tag":216,"props":4305,"children":4306},{"style":1568},[4307],{"type":213,"value":2226},{"type":208,"tag":216,"props":4309,"children":4310},{"style":1580},[4311],{"type":213,"value":2231},{"type":208,"tag":216,"props":4313,"children":4314},{"style":1568},[4315],{"type":213,"value":1588},{"type":208,"tag":216,"props":4317,"children":4318},{"style":1591},[4319],{"type":213,"value":2240},{"type":208,"tag":216,"props":4321,"children":4322},{"style":1568},[4323],{"type":213,"value":2231},{"type":208,"tag":216,"props":4325,"children":4326},{"style":1591},[4327],{"type":213,"value":2240},{"type":208,"tag":216,"props":4329,"children":4330},{"style":1568},[4331],{"type":213,"value":2253},{"type":208,"tag":216,"props":4333,"children":4334},{"style":1580},[4335],{"type":213,"value":2258},{"type":208,"tag":216,"props":4337,"children":4338},{"style":1568},[4339],{"type":213,"value":1588},{"type":208,"tag":216,"props":4341,"children":4342},{"style":1591},[4343],{"type":213,"value":2240},{"type":208,"tag":216,"props":4345,"children":4346},{"style":1568},[4347],{"type":213,"value":2271},{"type":208,"tag":216,"props":4349,"children":4350},{"style":1591},[4351],{"type":213,"value":2240},{"type":208,"tag":216,"props":4353,"children":4354},{"style":1568},[4355],{"type":213,"value":2280},{"type":208,"tag":216,"props":4357,"children":4359},{"class":668,"line":4358},41,[4360,4364,4368],{"type":208,"tag":216,"props":4361,"children":4362},{"style":1568},[4363],{"type":213,"value":2174},{"type":208,"tag":216,"props":4365,"children":4366},{"style":1574},[4367],{"type":213,"value":2203},{"type":208,"tag":216,"props":4369,"children":4370},{"style":1568},[4371],{"type":213,"value":1604},{"type":208,"tag":1422,"props":4373,"children":4374},{},[4375],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":4377},[],{"data":4379,"body":4380,"toc":5494},{"title":663,"description":663},{"type":205,"children":4381},[4382,5490],{"type":208,"tag":1551,"props":4383,"children":4384},{},[4385],{"type":208,"tag":658,"props":4386,"children":4388},{"className":1556,"code":4387,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type z from 'zod'\n\nconst props = defineProps\u003C{\n  type: 'string' | 'textarea'\n  size: 'sm' | 'xs' | 'md' | 'lg' | 'xl'\n  color: 'error' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'neutral'\n  rows?: number\n  maxLength?: number\n}>()\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst resolvedControlProps = computed(() => ({\n  leadingIcon: 'i-lucide-type',\n  color: props.color,\n  rows: props.rows,\n  maxlength: props.maxLength\n}))\n\nconst schema = computed(() => (afz.object({\n  stringWithType: afz.string({\n    type: props.type,\n    controlProps: resolvedControlProps.value\n  }).meta({\n    size: props.size\n  }).optional()\n})))\n\ntype Schema = z.output\u003Ctypeof schema.value>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\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  \u003CUCard class=\"w-lg\">\n    \u003CMAutoForm\n      v-model=\"form\"\n      :schema=\"schema\"\n      :submit-button-props=\"{\n        color\n      }\"\n      @submit=\"onSubmit\"\n    \u002F>\n  \u003C\u002FUCard>\n\u003C\u002Ftemplate>\n\n",[4389],{"type":208,"tag":239,"props":4390,"children":4391},{"__ignoreMap":663},[4392,4423,4446,4470,4477,4503,4530,4583,4654,4672,4688,4696,4703,4734,4757,4764,4800,4821,4829,4837,4845,4853,4860,4900,4916,4924,4932,4948,4956,4972,4980,4987,5029,5036,5080,5087,5131,5146,5161,5176,5215,5222,5230,5246,5254,5270,5301,5315,5342,5371,5397,5406,5419,5448,5457,5474],{"type":208,"tag":216,"props":4393,"children":4394},{"class":668,"line":669},[4395,4399,4403,4407,4411,4415,4419],{"type":208,"tag":216,"props":4396,"children":4397},{"style":1568},[4398],{"type":213,"value":1571},{"type":208,"tag":216,"props":4400,"children":4401},{"style":1574},[4402],{"type":213,"value":1577},{"type":208,"tag":216,"props":4404,"children":4405},{"style":1580},[4406],{"type":213,"value":1583},{"type":208,"tag":216,"props":4408,"children":4409},{"style":1568},[4410],{"type":213,"value":1588},{"type":208,"tag":216,"props":4412,"children":4413},{"style":1591},[4414],{"type":213,"value":1594},{"type":208,"tag":216,"props":4416,"children":4417},{"style":1580},[4418],{"type":213,"value":1599},{"type":208,"tag":216,"props":4420,"children":4421},{"style":1568},[4422],{"type":213,"value":1604},{"type":208,"tag":216,"props":4424,"children":4425},{"class":668,"line":695},[4426,4430,4434,4438,4442],{"type":208,"tag":216,"props":4427,"children":4428},{"style":1610},[4429],{"type":213,"value":858},{"type":208,"tag":216,"props":4431,"children":4432},{"style":1610},[4433],{"type":213,"value":1617},{"type":208,"tag":216,"props":4435,"children":4436},{"style":1568},[4437],{"type":213,"value":1622},{"type":208,"tag":216,"props":4439,"children":4440},{"style":1610},[4441],{"type":213,"value":864},{"type":208,"tag":216,"props":4443,"children":4444},{"style":1591},[4445],{"type":213,"value":1631},{"type":208,"tag":216,"props":4447,"children":4448},{"class":668,"line":707},[4449,4453,4457,4462,4466],{"type":208,"tag":216,"props":4450,"children":4451},{"style":1610},[4452],{"type":213,"value":858},{"type":208,"tag":216,"props":4454,"children":4455},{"style":1610},[4456],{"type":213,"value":1617},{"type":208,"tag":216,"props":4458,"children":4459},{"style":1568},[4460],{"type":213,"value":4461}," z ",{"type":208,"tag":216,"props":4463,"children":4464},{"style":1610},[4465],{"type":213,"value":864},{"type":208,"tag":216,"props":4467,"children":4468},{"style":1591},[4469],{"type":213,"value":1656},{"type":208,"tag":216,"props":4471,"children":4472},{"class":668,"line":716},[4473],{"type":208,"tag":216,"props":4474,"children":4475},{"emptyLinePlaceholder":872},[4476],{"type":213,"value":873},{"type":208,"tag":216,"props":4478,"children":4479},{"class":668,"line":783},[4480,4484,4489,4493,4498],{"type":208,"tag":216,"props":4481,"children":4482},{"style":1610},[4483],{"type":213,"value":939},{"type":208,"tag":216,"props":4485,"children":4486},{"style":1678},[4487],{"type":213,"value":4488}," props",{"type":208,"tag":216,"props":4490,"children":4491},{"style":1610},[4492],{"type":213,"value":946},{"type":208,"tag":216,"props":4494,"children":4495},{"style":1580},[4496],{"type":213,"value":4497}," defineProps",{"type":208,"tag":216,"props":4499,"children":4500},{"style":1568},[4501],{"type":213,"value":4502},"\u003C{\n",{"type":208,"tag":216,"props":4504,"children":4505},{"class":668,"line":800},[4506,4511,4515,4520,4525],{"type":208,"tag":216,"props":4507,"children":4508},{"style":2004},[4509],{"type":213,"value":4510},"  type",{"type":208,"tag":216,"props":4512,"children":4513},{"style":1610},[4514],{"type":213,"value":262},{"type":208,"tag":216,"props":4516,"children":4517},{"style":1591},[4518],{"type":213,"value":4519}," 'string'",{"type":208,"tag":216,"props":4521,"children":4522},{"style":1610},[4523],{"type":213,"value":4524}," |",{"type":208,"tag":216,"props":4526,"children":4527},{"style":1591},[4528],{"type":213,"value":4529}," 'textarea'\n",{"type":208,"tag":216,"props":4531,"children":4532},{"class":668,"line":815},[4533,4538,4542,4547,4551,4556,4560,4565,4569,4574,4578],{"type":208,"tag":216,"props":4534,"children":4535},{"style":2004},[4536],{"type":213,"value":4537},"  size",{"type":208,"tag":216,"props":4539,"children":4540},{"style":1610},[4541],{"type":213,"value":262},{"type":208,"tag":216,"props":4543,"children":4544},{"style":1591},[4545],{"type":213,"value":4546}," 'sm'",{"type":208,"tag":216,"props":4548,"children":4549},{"style":1610},[4550],{"type":213,"value":4524},{"type":208,"tag":216,"props":4552,"children":4553},{"style":1591},[4554],{"type":213,"value":4555}," 'xs'",{"type":208,"tag":216,"props":4557,"children":4558},{"style":1610},[4559],{"type":213,"value":4524},{"type":208,"tag":216,"props":4561,"children":4562},{"style":1591},[4563],{"type":213,"value":4564}," 'md'",{"type":208,"tag":216,"props":4566,"children":4567},{"style":1610},[4568],{"type":213,"value":4524},{"type":208,"tag":216,"props":4570,"children":4571},{"style":1591},[4572],{"type":213,"value":4573}," 'lg'",{"type":208,"tag":216,"props":4575,"children":4576},{"style":1610},[4577],{"type":213,"value":4524},{"type":208,"tag":216,"props":4579,"children":4580},{"style":1591},[4581],{"type":213,"value":4582}," 'xl'\n",{"type":208,"tag":216,"props":4584,"children":4585},{"class":668,"line":821},[4586,4591,4595,4600,4604,4609,4613,4618,4622,4627,4631,4636,4640,4645,4649],{"type":208,"tag":216,"props":4587,"children":4588},{"style":2004},[4589],{"type":213,"value":4590},"  color",{"type":208,"tag":216,"props":4592,"children":4593},{"style":1610},[4594],{"type":213,"value":262},{"type":208,"tag":216,"props":4596,"children":4597},{"style":1591},[4598],{"type":213,"value":4599}," 'error'",{"type":208,"tag":216,"props":4601,"children":4602},{"style":1610},[4603],{"type":213,"value":4524},{"type":208,"tag":216,"props":4605,"children":4606},{"style":1591},[4607],{"type":213,"value":4608}," 'primary'",{"type":208,"tag":216,"props":4610,"children":4611},{"style":1610},[4612],{"type":213,"value":4524},{"type":208,"tag":216,"props":4614,"children":4615},{"style":1591},[4616],{"type":213,"value":4617}," 'secondary'",{"type":208,"tag":216,"props":4619,"children":4620},{"style":1610},[4621],{"type":213,"value":4524},{"type":208,"tag":216,"props":4623,"children":4624},{"style":1591},[4625],{"type":213,"value":4626}," 'success'",{"type":208,"tag":216,"props":4628,"children":4629},{"style":1610},[4630],{"type":213,"value":4524},{"type":208,"tag":216,"props":4632,"children":4633},{"style":1591},[4634],{"type":213,"value":4635}," 'info'",{"type":208,"tag":216,"props":4637,"children":4638},{"style":1610},[4639],{"type":213,"value":4524},{"type":208,"tag":216,"props":4641,"children":4642},{"style":1591},[4643],{"type":213,"value":4644}," 'warning'",{"type":208,"tag":216,"props":4646,"children":4647},{"style":1610},[4648],{"type":213,"value":4524},{"type":208,"tag":216,"props":4650,"children":4651},{"style":1591},[4652],{"type":213,"value":4653}," 'neutral'\n",{"type":208,"tag":216,"props":4655,"children":4656},{"class":668,"line":827},[4657,4662,4667],{"type":208,"tag":216,"props":4658,"children":4659},{"style":2004},[4660],{"type":213,"value":4661},"  rows",{"type":208,"tag":216,"props":4663,"children":4664},{"style":1610},[4665],{"type":213,"value":4666},"?:",{"type":208,"tag":216,"props":4668,"children":4669},{"style":1678},[4670],{"type":213,"value":4671}," number\n",{"type":208,"tag":216,"props":4673,"children":4674},{"class":668,"line":832},[4675,4680,4684],{"type":208,"tag":216,"props":4676,"children":4677},{"style":2004},[4678],{"type":213,"value":4679},"  maxLength",{"type":208,"tag":216,"props":4681,"children":4682},{"style":1610},[4683],{"type":213,"value":4666},{"type":208,"tag":216,"props":4685,"children":4686},{"style":1678},[4687],{"type":213,"value":4671},{"type":208,"tag":216,"props":4689,"children":4690},{"class":668,"line":838},[4691],{"type":208,"tag":216,"props":4692,"children":4693},{"style":1568},[4694],{"type":213,"value":4695},"}>()\n",{"type":208,"tag":216,"props":4697,"children":4698},{"class":668,"line":1151},[4699],{"type":208,"tag":216,"props":4700,"children":4701},{"emptyLinePlaceholder":872},[4702],{"type":213,"value":873},{"type":208,"tag":216,"props":4704,"children":4705},{"class":668,"line":1276},[4706,4710,4714,4718,4722,4726,4730],{"type":208,"tag":216,"props":4707,"children":4708},{"style":1610},[4709],{"type":213,"value":939},{"type":208,"tag":216,"props":4711,"children":4712},{"style":1568},[4713],{"type":213,"value":1675},{"type":208,"tag":216,"props":4715,"children":4716},{"style":1678},[4717],{"type":213,"value":1681},{"type":208,"tag":216,"props":4719,"children":4720},{"style":1568},[4721],{"type":213,"value":1686},{"type":208,"tag":216,"props":4723,"children":4724},{"style":1610},[4725],{"type":213,"value":1588},{"type":208,"tag":216,"props":4727,"children":4728},{"style":1580},[4729],{"type":213,"value":1695},{"type":208,"tag":216,"props":4731,"children":4732},{"style":1568},[4733],{"type":213,"value":1700},{"type":208,"tag":216,"props":4735,"children":4736},{"class":668,"line":1282},[4737,4741,4745,4749,4753],{"type":208,"tag":216,"props":4738,"children":4739},{"style":1610},[4740],{"type":213,"value":939},{"type":208,"tag":216,"props":4742,"children":4743},{"style":1678},[4744],{"type":213,"value":1712},{"type":208,"tag":216,"props":4746,"children":4747},{"style":1610},[4748],{"type":213,"value":946},{"type":208,"tag":216,"props":4750,"children":4751},{"style":1580},[4752],{"type":213,"value":1721},{"type":208,"tag":216,"props":4754,"children":4755},{"style":1568},[4756],{"type":213,"value":1700},{"type":208,"tag":216,"props":4758,"children":4759},{"class":668,"line":1855},[4760],{"type":208,"tag":216,"props":4761,"children":4762},{"emptyLinePlaceholder":872},[4763],{"type":213,"value":873},{"type":208,"tag":216,"props":4765,"children":4766},{"class":668,"line":1890},[4767,4771,4776,4780,4785,4790,4795],{"type":208,"tag":216,"props":4768,"children":4769},{"style":1610},[4770],{"type":213,"value":939},{"type":208,"tag":216,"props":4772,"children":4773},{"style":1678},[4774],{"type":213,"value":4775}," resolvedControlProps",{"type":208,"tag":216,"props":4777,"children":4778},{"style":1610},[4779],{"type":213,"value":946},{"type":208,"tag":216,"props":4781,"children":4782},{"style":1580},[4783],{"type":213,"value":4784}," computed",{"type":208,"tag":216,"props":4786,"children":4787},{"style":1568},[4788],{"type":213,"value":4789},"(() ",{"type":208,"tag":216,"props":4791,"children":4792},{"style":1610},[4793],{"type":213,"value":4794},"=>",{"type":208,"tag":216,"props":4796,"children":4797},{"style":1568},[4798],{"type":213,"value":4799}," ({\n",{"type":208,"tag":216,"props":4801,"children":4802},{"class":668,"line":1907},[4803,4808,4817],{"type":208,"tag":216,"props":4804,"children":4805},{"style":1568},[4806],{"type":213,"value":4807},"  leadingIcon: ",{"type":208,"tag":216,"props":4809,"children":4810},{"style":1591},[4811,4815],{"type":208,"tag":1795,"props":4812,"children":4814},{"class":1797,"style":4813},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftype.svg?color=%23000)",[],{"type":213,"value":4816},"'i-lucide-type'",{"type":208,"tag":216,"props":4818,"children":4819},{"style":1568},[4820],{"type":213,"value":704},{"type":208,"tag":216,"props":4822,"children":4823},{"class":668,"line":1925},[4824],{"type":208,"tag":216,"props":4825,"children":4826},{"style":1568},[4827],{"type":213,"value":4828},"  color: props.color,\n",{"type":208,"tag":216,"props":4830,"children":4831},{"class":668,"line":1942},[4832],{"type":208,"tag":216,"props":4833,"children":4834},{"style":1568},[4835],{"type":213,"value":4836},"  rows: props.rows,\n",{"type":208,"tag":216,"props":4838,"children":4839},{"class":668,"line":1956},[4840],{"type":208,"tag":216,"props":4841,"children":4842},{"style":1568},[4843],{"type":213,"value":4844},"  maxlength: props.maxLength\n",{"type":208,"tag":216,"props":4846,"children":4847},{"class":668,"line":1965},[4848],{"type":208,"tag":216,"props":4849,"children":4850},{"style":1568},[4851],{"type":213,"value":4852},"}))\n",{"type":208,"tag":216,"props":4854,"children":4855},{"class":668,"line":1973},[4856],{"type":208,"tag":216,"props":4857,"children":4858},{"emptyLinePlaceholder":872},[4859],{"type":213,"value":873},{"type":208,"tag":216,"props":4861,"children":4862},{"class":668,"line":1981},[4863,4867,4871,4875,4879,4883,4887,4892,4896],{"type":208,"tag":216,"props":4864,"children":4865},{"style":1610},[4866],{"type":213,"value":939},{"type":208,"tag":216,"props":4868,"children":4869},{"style":1678},[4870],{"type":213,"value":982},{"type":208,"tag":216,"props":4872,"children":4873},{"style":1610},[4874],{"type":213,"value":946},{"type":208,"tag":216,"props":4876,"children":4877},{"style":1580},[4878],{"type":213,"value":4784},{"type":208,"tag":216,"props":4880,"children":4881},{"style":1568},[4882],{"type":213,"value":4789},{"type":208,"tag":216,"props":4884,"children":4885},{"style":1610},[4886],{"type":213,"value":4794},{"type":208,"tag":216,"props":4888,"children":4889},{"style":1568},[4890],{"type":213,"value":4891}," (afz.",{"type":208,"tag":216,"props":4893,"children":4894},{"style":1580},[4895],{"type":213,"value":990},{"type":208,"tag":216,"props":4897,"children":4898},{"style":1568},[4899],{"type":213,"value":993},{"type":208,"tag":216,"props":4901,"children":4902},{"class":668,"line":2051},[4903,4908,4912],{"type":208,"tag":216,"props":4904,"children":4905},{"style":1568},[4906],{"type":213,"value":4907},"  stringWithType: afz.",{"type":208,"tag":216,"props":4909,"children":4910},{"style":1580},[4911],{"type":213,"value":231},{"type":208,"tag":216,"props":4913,"children":4914},{"style":1568},[4915],{"type":213,"value":993},{"type":208,"tag":216,"props":4917,"children":4918},{"class":668,"line":2069},[4919],{"type":208,"tag":216,"props":4920,"children":4921},{"style":1568},[4922],{"type":213,"value":4923},"    type: props.type,\n",{"type":208,"tag":216,"props":4925,"children":4926},{"class":668,"line":2087},[4927],{"type":208,"tag":216,"props":4928,"children":4929},{"style":1568},[4930],{"type":213,"value":4931},"    controlProps: resolvedControlProps.value\n",{"type":208,"tag":216,"props":4933,"children":4934},{"class":668,"line":2105},[4935,4940,4944],{"type":208,"tag":216,"props":4936,"children":4937},{"style":1568},[4938],{"type":213,"value":4939},"  }).",{"type":208,"tag":216,"props":4941,"children":4942},{"style":1580},[4943],{"type":213,"value":1900},{"type":208,"tag":216,"props":4945,"children":4946},{"style":1568},[4947],{"type":213,"value":993},{"type":208,"tag":216,"props":4949,"children":4950},{"class":668,"line":2151},[4951],{"type":208,"tag":216,"props":4952,"children":4953},{"style":1568},[4954],{"type":213,"value":4955},"    size: props.size\n",{"type":208,"tag":216,"props":4957,"children":4958},{"class":668,"line":2159},[4959,4963,4968],{"type":208,"tag":216,"props":4960,"children":4961},{"style":1568},[4962],{"type":213,"value":4939},{"type":208,"tag":216,"props":4964,"children":4965},{"style":1580},[4966],{"type":213,"value":4967},"optional",{"type":208,"tag":216,"props":4969,"children":4970},{"style":1568},[4971],{"type":213,"value":1700},{"type":208,"tag":216,"props":4973,"children":4974},{"class":668,"line":2168},[4975],{"type":208,"tag":216,"props":4976,"children":4977},{"style":1568},[4978],{"type":213,"value":4979},"})))\n",{"type":208,"tag":216,"props":4981,"children":4982},{"class":668,"line":2185},[4983],{"type":208,"tag":216,"props":4984,"children":4985},{"emptyLinePlaceholder":872},[4986],{"type":213,"value":873},{"type":208,"tag":216,"props":4988,"children":4989},{"class":668,"line":2193},[4990,4994,4999,5003,5008,5012,5016,5020,5024],{"type":208,"tag":216,"props":4991,"children":4992},{"style":1610},[4993],{"type":213,"value":728},{"type":208,"tag":216,"props":4995,"children":4996},{"style":1580},[4997],{"type":213,"value":4998}," Schema",{"type":208,"tag":216,"props":5000,"children":5001},{"style":1610},[5002],{"type":213,"value":946},{"type":208,"tag":216,"props":5004,"children":5005},{"style":1580},[5006],{"type":213,"value":5007}," z",{"type":208,"tag":216,"props":5009,"children":5010},{"style":1568},[5011],{"type":213,"value":470},{"type":208,"tag":216,"props":5013,"children":5014},{"style":1580},[5015],{"type":213,"value":2034},{"type":208,"tag":216,"props":5017,"children":5018},{"style":1568},[5019],{"type":213,"value":1571},{"type":208,"tag":216,"props":5021,"children":5022},{"style":1610},[5023],{"type":213,"value":2043},{"type":208,"tag":216,"props":5025,"children":5026},{"style":1568},[5027],{"type":213,"value":5028}," schema.value>\n",{"type":208,"tag":216,"props":5030,"children":5031},{"class":668,"line":2210},[5032],{"type":208,"tag":216,"props":5033,"children":5034},{"emptyLinePlaceholder":872},[5035],{"type":213,"value":873},{"type":208,"tag":216,"props":5037,"children":5038},{"class":668,"line":2283},[5039,5043,5048,5052,5057,5061,5066,5070,5075],{"type":208,"tag":216,"props":5040,"children":5041},{"style":1610},[5042],{"type":213,"value":939},{"type":208,"tag":216,"props":5044,"children":5045},{"style":1678},[5046],{"type":213,"value":5047}," form",{"type":208,"tag":216,"props":5049,"children":5050},{"style":1610},[5051],{"type":213,"value":946},{"type":208,"tag":216,"props":5053,"children":5054},{"style":1580},[5055],{"type":213,"value":5056}," ref",{"type":208,"tag":216,"props":5058,"children":5059},{"style":1568},[5060],{"type":213,"value":1571},{"type":208,"tag":216,"props":5062,"children":5063},{"style":1580},[5064],{"type":213,"value":5065},"Partial",{"type":208,"tag":216,"props":5067,"children":5068},{"style":1568},[5069],{"type":213,"value":1571},{"type":208,"tag":216,"props":5071,"children":5072},{"style":1580},[5073],{"type":213,"value":5074},"Schema",{"type":208,"tag":216,"props":5076,"children":5077},{"style":1568},[5078],{"type":213,"value":5079},">>({})\n",{"type":208,"tag":216,"props":5081,"children":5082},{"class":668,"line":2944},[5083],{"type":208,"tag":216,"props":5084,"children":5085},{"emptyLinePlaceholder":872},[5086],{"type":213,"value":873},{"type":208,"tag":216,"props":5088,"children":5089},{"class":668,"line":4246},[5090,5094,5098,5102,5106,5110,5114,5118,5122,5126],{"type":208,"tag":216,"props":5091,"children":5092},{"style":1610},[5093],{"type":213,"value":1987},{"type":208,"tag":216,"props":5095,"children":5096},{"style":1610},[5097],{"type":213,"value":1992},{"type":208,"tag":216,"props":5099,"children":5100},{"style":1580},[5101],{"type":213,"value":1997},{"type":208,"tag":216,"props":5103,"children":5104},{"style":1568},[5105],{"type":213,"value":1833},{"type":208,"tag":216,"props":5107,"children":5108},{"style":2004},[5109],{"type":213,"value":2007},{"type":208,"tag":216,"props":5111,"children":5112},{"style":1610},[5113],{"type":213,"value":262},{"type":208,"tag":216,"props":5115,"children":5116},{"style":1580},[5117],{"type":213,"value":2016},{"type":208,"tag":216,"props":5119,"children":5120},{"style":1568},[5121],{"type":213,"value":1571},{"type":208,"tag":216,"props":5123,"children":5124},{"style":1580},[5125],{"type":213,"value":5074},{"type":208,"tag":216,"props":5127,"children":5128},{"style":1568},[5129],{"type":213,"value":5130},">) {\n",{"type":208,"tag":216,"props":5132,"children":5133},{"class":668,"line":4254},[5134,5138,5142],{"type":208,"tag":216,"props":5135,"children":5136},{"style":1568},[5137],{"type":213,"value":2057},{"type":208,"tag":216,"props":5139,"children":5140},{"style":1580},[5141],{"type":213,"value":2062},{"type":208,"tag":216,"props":5143,"children":5144},{"style":1568},[5145],{"type":213,"value":993},{"type":208,"tag":216,"props":5147,"children":5148},{"class":668,"line":4270},[5149,5153,5157],{"type":208,"tag":216,"props":5150,"children":5151},{"style":1568},[5152],{"type":213,"value":2075},{"type":208,"tag":216,"props":5154,"children":5155},{"style":1591},[5156],{"type":213,"value":2080},{"type":208,"tag":216,"props":5158,"children":5159},{"style":1568},[5160],{"type":213,"value":704},{"type":208,"tag":216,"props":5162,"children":5163},{"class":668,"line":4278},[5164,5168,5172],{"type":208,"tag":216,"props":5165,"children":5166},{"style":1568},[5167],{"type":213,"value":2093},{"type":208,"tag":216,"props":5169,"children":5170},{"style":1591},[5171],{"type":213,"value":2098},{"type":208,"tag":216,"props":5173,"children":5174},{"style":1568},[5175],{"type":213,"value":704},{"type":208,"tag":216,"props":5177,"children":5178},{"class":668,"line":4294},[5179,5183,5187,5191,5195,5199,5203,5207,5211],{"type":208,"tag":216,"props":5180,"children":5181},{"style":1568},[5182],{"type":213,"value":2111},{"type":208,"tag":216,"props":5184,"children":5185},{"style":1678},[5186],{"type":213,"value":2116},{"type":208,"tag":216,"props":5188,"children":5189},{"style":1568},[5190],{"type":213,"value":470},{"type":208,"tag":216,"props":5192,"children":5193},{"style":1580},[5194],{"type":213,"value":2125},{"type":208,"tag":216,"props":5196,"children":5197},{"style":1568},[5198],{"type":213,"value":2130},{"type":208,"tag":216,"props":5200,"children":5201},{"style":1678},[5202],{"type":213,"value":2135},{"type":208,"tag":216,"props":5204,"children":5205},{"style":1568},[5206],{"type":213,"value":686},{"type":208,"tag":216,"props":5208,"children":5209},{"style":1678},[5210],{"type":213,"value":2144},{"type":208,"tag":216,"props":5212,"children":5213},{"style":1568},[5214],{"type":213,"value":1852},{"type":208,"tag":216,"props":5216,"children":5217},{"class":668,"line":4358},[5218],{"type":208,"tag":216,"props":5219,"children":5220},{"style":1568},[5221],{"type":213,"value":1041},{"type":208,"tag":216,"props":5223,"children":5225},{"class":668,"line":5224},42,[5226],{"type":208,"tag":216,"props":5227,"children":5228},{"style":1568},[5229],{"type":213,"value":2165},{"type":208,"tag":216,"props":5231,"children":5233},{"class":668,"line":5232},43,[5234,5238,5242],{"type":208,"tag":216,"props":5235,"children":5236},{"style":1568},[5237],{"type":213,"value":2174},{"type":208,"tag":216,"props":5239,"children":5240},{"style":1574},[5241],{"type":213,"value":1577},{"type":208,"tag":216,"props":5243,"children":5244},{"style":1568},[5245],{"type":213,"value":1604},{"type":208,"tag":216,"props":5247,"children":5249},{"class":668,"line":5248},44,[5250],{"type":208,"tag":216,"props":5251,"children":5252},{"emptyLinePlaceholder":872},[5253],{"type":213,"value":873},{"type":208,"tag":216,"props":5255,"children":5257},{"class":668,"line":5256},45,[5258,5262,5266],{"type":208,"tag":216,"props":5259,"children":5260},{"style":1568},[5261],{"type":213,"value":1571},{"type":208,"tag":216,"props":5263,"children":5264},{"style":1574},[5265],{"type":213,"value":2203},{"type":208,"tag":216,"props":5267,"children":5268},{"style":1568},[5269],{"type":213,"value":1604},{"type":208,"tag":216,"props":5271,"children":5273},{"class":668,"line":5272},46,[5274,5278,5283,5288,5292,5297],{"type":208,"tag":216,"props":5275,"children":5276},{"style":1568},[5277],{"type":213,"value":2216},{"type":208,"tag":216,"props":5279,"children":5280},{"style":1574},[5281],{"type":213,"value":5282},"UCard",{"type":208,"tag":216,"props":5284,"children":5285},{"style":1580},[5286],{"type":213,"value":5287}," class",{"type":208,"tag":216,"props":5289,"children":5290},{"style":1568},[5291],{"type":213,"value":1588},{"type":208,"tag":216,"props":5293,"children":5294},{"style":1591},[5295],{"type":213,"value":5296},"\"w-lg\"",{"type":208,"tag":216,"props":5298,"children":5299},{"style":1568},[5300],{"type":213,"value":1604},{"type":208,"tag":216,"props":5302,"children":5304},{"class":668,"line":5303},47,[5305,5310],{"type":208,"tag":216,"props":5306,"children":5307},{"style":1568},[5308],{"type":213,"value":5309},"    \u003C",{"type":208,"tag":216,"props":5311,"children":5312},{"style":1574},[5313],{"type":213,"value":5314},"MAutoForm\n",{"type":208,"tag":216,"props":5316,"children":5318},{"class":668,"line":5317},48,[5319,5324,5328,5332,5337],{"type":208,"tag":216,"props":5320,"children":5321},{"style":1580},[5322],{"type":213,"value":5323},"      v-model",{"type":208,"tag":216,"props":5325,"children":5326},{"style":1568},[5327],{"type":213,"value":1588},{"type":208,"tag":216,"props":5329,"children":5330},{"style":1591},[5331],{"type":213,"value":2240},{"type":208,"tag":216,"props":5333,"children":5334},{"style":1568},[5335],{"type":213,"value":5336},"form",{"type":208,"tag":216,"props":5338,"children":5339},{"style":1591},[5340],{"type":213,"value":5341},"\"\n",{"type":208,"tag":216,"props":5343,"children":5345},{"class":668,"line":5344},49,[5346,5351,5355,5359,5363,5367],{"type":208,"tag":216,"props":5347,"children":5348},{"style":1568},[5349],{"type":213,"value":5350},"      :",{"type":208,"tag":216,"props":5352,"children":5353},{"style":1580},[5354],{"type":213,"value":2231},{"type":208,"tag":216,"props":5356,"children":5357},{"style":1568},[5358],{"type":213,"value":1588},{"type":208,"tag":216,"props":5360,"children":5361},{"style":1591},[5362],{"type":213,"value":2240},{"type":208,"tag":216,"props":5364,"children":5365},{"style":1568},[5366],{"type":213,"value":2231},{"type":208,"tag":216,"props":5368,"children":5369},{"style":1591},[5370],{"type":213,"value":5341},{"type":208,"tag":216,"props":5372,"children":5374},{"class":668,"line":5373},50,[5375,5379,5384,5388,5392],{"type":208,"tag":216,"props":5376,"children":5377},{"style":1568},[5378],{"type":213,"value":5350},{"type":208,"tag":216,"props":5380,"children":5381},{"style":1580},[5382],{"type":213,"value":5383},"submit-button-props",{"type":208,"tag":216,"props":5385,"children":5386},{"style":1568},[5387],{"type":213,"value":1588},{"type":208,"tag":216,"props":5389,"children":5390},{"style":1591},[5391],{"type":213,"value":2240},{"type":208,"tag":216,"props":5393,"children":5394},{"style":1568},[5395],{"type":213,"value":5396},"{\n",{"type":208,"tag":216,"props":5398,"children":5400},{"class":668,"line":5399},51,[5401],{"type":208,"tag":216,"props":5402,"children":5403},{"style":1568},[5404],{"type":213,"value":5405},"        color\n",{"type":208,"tag":216,"props":5407,"children":5409},{"class":668,"line":5408},52,[5410,5415],{"type":208,"tag":216,"props":5411,"children":5412},{"style":1568},[5413],{"type":213,"value":5414},"      }",{"type":208,"tag":216,"props":5416,"children":5417},{"style":1591},[5418],{"type":213,"value":5341},{"type":208,"tag":216,"props":5420,"children":5422},{"class":668,"line":5421},53,[5423,5428,5432,5436,5440,5444],{"type":208,"tag":216,"props":5424,"children":5425},{"style":1568},[5426],{"type":213,"value":5427},"      @",{"type":208,"tag":216,"props":5429,"children":5430},{"style":1580},[5431],{"type":213,"value":2258},{"type":208,"tag":216,"props":5433,"children":5434},{"style":1568},[5435],{"type":213,"value":1588},{"type":208,"tag":216,"props":5437,"children":5438},{"style":1591},[5439],{"type":213,"value":2240},{"type":208,"tag":216,"props":5441,"children":5442},{"style":1568},[5443],{"type":213,"value":2271},{"type":208,"tag":216,"props":5445,"children":5446},{"style":1591},[5447],{"type":213,"value":5341},{"type":208,"tag":216,"props":5449,"children":5451},{"class":668,"line":5450},54,[5452],{"type":208,"tag":216,"props":5453,"children":5454},{"style":1568},[5455],{"type":213,"value":5456},"    \u002F>\n",{"type":208,"tag":216,"props":5458,"children":5460},{"class":668,"line":5459},55,[5461,5466,5470],{"type":208,"tag":216,"props":5462,"children":5463},{"style":1568},[5464],{"type":213,"value":5465},"  \u003C\u002F",{"type":208,"tag":216,"props":5467,"children":5468},{"style":1574},[5469],{"type":213,"value":5282},{"type":208,"tag":216,"props":5471,"children":5472},{"style":1568},[5473],{"type":213,"value":1604},{"type":208,"tag":216,"props":5475,"children":5477},{"class":668,"line":5476},56,[5478,5482,5486],{"type":208,"tag":216,"props":5479,"children":5480},{"style":1568},[5481],{"type":213,"value":2174},{"type":208,"tag":216,"props":5483,"children":5484},{"style":1574},[5485],{"type":213,"value":2203},{"type":208,"tag":216,"props":5487,"children":5488},{"style":1568},[5489],{"type":213,"value":1604},{"type":208,"tag":1422,"props":5491,"children":5492},{},[5493],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":5495},[],{"data":5497,"body":5498,"toc":6145},{"title":663,"description":663},{"type":205,"children":5499},[5500,6141],{"type":208,"tag":1551,"props":5501,"children":5502},{},[5503],{"type":208,"tag":658,"props":5504,"children":5506},{"className":1556,"code":5505,"language":1558,"meta":663,"style":663},"\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  count: afz.number()\n    .int('必须是整数')\n    .min(0, '不能小于 0')\n    .max(100, '不能大于 100')\n    .meta({\n      label: '数字输入',\n      placeholder: '请输入 0-100 的整数',\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",[5507],{"type":208,"tag":239,"props":5508,"children":5509},{"__ignoreMap":663},[5510,5541,5564,5587,5594,5625,5648,5655,5682,5698,5723,5756,5789,5804,5820,5836,5848,5855,5862,5869,5928,5943,5958,5973,6012,6019,6026,6041,6048,6063,6126],{"type":208,"tag":216,"props":5511,"children":5512},{"class":668,"line":669},[5513,5517,5521,5525,5529,5533,5537],{"type":208,"tag":216,"props":5514,"children":5515},{"style":1568},[5516],{"type":213,"value":1571},{"type":208,"tag":216,"props":5518,"children":5519},{"style":1574},[5520],{"type":213,"value":1577},{"type":208,"tag":216,"props":5522,"children":5523},{"style":1580},[5524],{"type":213,"value":1583},{"type":208,"tag":216,"props":5526,"children":5527},{"style":1568},[5528],{"type":213,"value":1588},{"type":208,"tag":216,"props":5530,"children":5531},{"style":1591},[5532],{"type":213,"value":1594},{"type":208,"tag":216,"props":5534,"children":5535},{"style":1580},[5536],{"type":213,"value":1599},{"type":208,"tag":216,"props":5538,"children":5539},{"style":1568},[5540],{"type":213,"value":1604},{"type":208,"tag":216,"props":5542,"children":5543},{"class":668,"line":695},[5544,5548,5552,5556,5560],{"type":208,"tag":216,"props":5545,"children":5546},{"style":1610},[5547],{"type":213,"value":858},{"type":208,"tag":216,"props":5549,"children":5550},{"style":1610},[5551],{"type":213,"value":1617},{"type":208,"tag":216,"props":5553,"children":5554},{"style":1568},[5555],{"type":213,"value":1622},{"type":208,"tag":216,"props":5557,"children":5558},{"style":1610},[5559],{"type":213,"value":864},{"type":208,"tag":216,"props":5561,"children":5562},{"style":1591},[5563],{"type":213,"value":1631},{"type":208,"tag":216,"props":5565,"children":5566},{"class":668,"line":707},[5567,5571,5575,5579,5583],{"type":208,"tag":216,"props":5568,"children":5569},{"style":1610},[5570],{"type":213,"value":858},{"type":208,"tag":216,"props":5572,"children":5573},{"style":1610},[5574],{"type":213,"value":1617},{"type":208,"tag":216,"props":5576,"children":5577},{"style":1568},[5578],{"type":213,"value":1647},{"type":208,"tag":216,"props":5580,"children":5581},{"style":1610},[5582],{"type":213,"value":864},{"type":208,"tag":216,"props":5584,"children":5585},{"style":1591},[5586],{"type":213,"value":1656},{"type":208,"tag":216,"props":5588,"children":5589},{"class":668,"line":716},[5590],{"type":208,"tag":216,"props":5591,"children":5592},{"emptyLinePlaceholder":872},[5593],{"type":213,"value":873},{"type":208,"tag":216,"props":5595,"children":5596},{"class":668,"line":783},[5597,5601,5605,5609,5613,5617,5621],{"type":208,"tag":216,"props":5598,"children":5599},{"style":1610},[5600],{"type":213,"value":939},{"type":208,"tag":216,"props":5602,"children":5603},{"style":1568},[5604],{"type":213,"value":1675},{"type":208,"tag":216,"props":5606,"children":5607},{"style":1678},[5608],{"type":213,"value":1681},{"type":208,"tag":216,"props":5610,"children":5611},{"style":1568},[5612],{"type":213,"value":1686},{"type":208,"tag":216,"props":5614,"children":5615},{"style":1610},[5616],{"type":213,"value":1588},{"type":208,"tag":216,"props":5618,"children":5619},{"style":1580},[5620],{"type":213,"value":1695},{"type":208,"tag":216,"props":5622,"children":5623},{"style":1568},[5624],{"type":213,"value":1700},{"type":208,"tag":216,"props":5626,"children":5627},{"class":668,"line":800},[5628,5632,5636,5640,5644],{"type":208,"tag":216,"props":5629,"children":5630},{"style":1610},[5631],{"type":213,"value":939},{"type":208,"tag":216,"props":5633,"children":5634},{"style":1678},[5635],{"type":213,"value":1712},{"type":208,"tag":216,"props":5637,"children":5638},{"style":1610},[5639],{"type":213,"value":946},{"type":208,"tag":216,"props":5641,"children":5642},{"style":1580},[5643],{"type":213,"value":1721},{"type":208,"tag":216,"props":5645,"children":5646},{"style":1568},[5647],{"type":213,"value":1700},{"type":208,"tag":216,"props":5649,"children":5650},{"class":668,"line":815},[5651],{"type":208,"tag":216,"props":5652,"children":5653},{"emptyLinePlaceholder":872},[5654],{"type":213,"value":873},{"type":208,"tag":216,"props":5656,"children":5657},{"class":668,"line":821},[5658,5662,5666,5670,5674,5678],{"type":208,"tag":216,"props":5659,"children":5660},{"style":1610},[5661],{"type":213,"value":939},{"type":208,"tag":216,"props":5663,"children":5664},{"style":1678},[5665],{"type":213,"value":982},{"type":208,"tag":216,"props":5667,"children":5668},{"style":1610},[5669],{"type":213,"value":946},{"type":208,"tag":216,"props":5671,"children":5672},{"style":1568},[5673],{"type":213,"value":987},{"type":208,"tag":216,"props":5675,"children":5676},{"style":1580},[5677],{"type":213,"value":990},{"type":208,"tag":216,"props":5679,"children":5680},{"style":1568},[5681],{"type":213,"value":993},{"type":208,"tag":216,"props":5683,"children":5684},{"class":668,"line":827},[5685,5690,5694],{"type":208,"tag":216,"props":5686,"children":5687},{"style":1568},[5688],{"type":213,"value":5689},"  count: afz.",{"type":208,"tag":216,"props":5691,"children":5692},{"style":1580},[5693],{"type":213,"value":339},{"type":208,"tag":216,"props":5695,"children":5696},{"style":1568},[5697],{"type":213,"value":1700},{"type":208,"tag":216,"props":5699,"children":5700},{"class":668,"line":832},[5701,5705,5710,5714,5719],{"type":208,"tag":216,"props":5702,"children":5703},{"style":1568},[5704],{"type":213,"value":1823},{"type":208,"tag":216,"props":5706,"children":5707},{"style":1580},[5708],{"type":213,"value":5709},"int",{"type":208,"tag":216,"props":5711,"children":5712},{"style":1568},[5713],{"type":213,"value":1833},{"type":208,"tag":216,"props":5715,"children":5716},{"style":1591},[5717],{"type":213,"value":5718},"'必须是整数'",{"type":208,"tag":216,"props":5720,"children":5721},{"style":1568},[5722],{"type":213,"value":1852},{"type":208,"tag":216,"props":5724,"children":5725},{"class":668,"line":838},[5726,5730,5734,5738,5743,5747,5752],{"type":208,"tag":216,"props":5727,"children":5728},{"style":1568},[5729],{"type":213,"value":1823},{"type":208,"tag":216,"props":5731,"children":5732},{"style":1580},[5733],{"type":213,"value":1828},{"type":208,"tag":216,"props":5735,"children":5736},{"style":1568},[5737],{"type":213,"value":1833},{"type":208,"tag":216,"props":5739,"children":5740},{"style":1678},[5741],{"type":213,"value":5742},"0",{"type":208,"tag":216,"props":5744,"children":5745},{"style":1568},[5746],{"type":213,"value":686},{"type":208,"tag":216,"props":5748,"children":5749},{"style":1591},[5750],{"type":213,"value":5751},"'不能小于 0'",{"type":208,"tag":216,"props":5753,"children":5754},{"style":1568},[5755],{"type":213,"value":1852},{"type":208,"tag":216,"props":5757,"children":5758},{"class":668,"line":1151},[5759,5763,5767,5771,5776,5780,5785],{"type":208,"tag":216,"props":5760,"children":5761},{"style":1568},[5762],{"type":213,"value":1823},{"type":208,"tag":216,"props":5764,"children":5765},{"style":1580},[5766],{"type":213,"value":1865},{"type":208,"tag":216,"props":5768,"children":5769},{"style":1568},[5770],{"type":213,"value":1833},{"type":208,"tag":216,"props":5772,"children":5773},{"style":1678},[5774],{"type":213,"value":5775},"100",{"type":208,"tag":216,"props":5777,"children":5778},{"style":1568},[5779],{"type":213,"value":686},{"type":208,"tag":216,"props":5781,"children":5782},{"style":1591},[5783],{"type":213,"value":5784},"'不能大于 100'",{"type":208,"tag":216,"props":5786,"children":5787},{"style":1568},[5788],{"type":213,"value":1852},{"type":208,"tag":216,"props":5790,"children":5791},{"class":668,"line":1276},[5792,5796,5800],{"type":208,"tag":216,"props":5793,"children":5794},{"style":1568},[5795],{"type":213,"value":1823},{"type":208,"tag":216,"props":5797,"children":5798},{"style":1580},[5799],{"type":213,"value":1900},{"type":208,"tag":216,"props":5801,"children":5802},{"style":1568},[5803],{"type":213,"value":993},{"type":208,"tag":216,"props":5805,"children":5806},{"class":668,"line":1282},[5807,5811,5816],{"type":208,"tag":216,"props":5808,"children":5809},{"style":1568},[5810],{"type":213,"value":1913},{"type":208,"tag":216,"props":5812,"children":5813},{"style":1591},[5814],{"type":213,"value":5815},"'数字输入'",{"type":208,"tag":216,"props":5817,"children":5818},{"style":1568},[5819],{"type":213,"value":704},{"type":208,"tag":216,"props":5821,"children":5822},{"class":668,"line":1855},[5823,5827,5832],{"type":208,"tag":216,"props":5824,"children":5825},{"style":1568},[5826],{"type":213,"value":1023},{"type":208,"tag":216,"props":5828,"children":5829},{"style":1591},[5830],{"type":213,"value":5831},"'请输入 0-100 的整数'",{"type":208,"tag":216,"props":5833,"children":5834},{"style":1568},[5835],{"type":213,"value":704},{"type":208,"tag":216,"props":5837,"children":5838},{"class":668,"line":1890},[5839,5843],{"type":208,"tag":216,"props":5840,"children":5841},{"style":1568},[5842],{"type":213,"value":1948},{"type":208,"tag":216,"props":5844,"children":5845},{"style":1591},[5846],{"type":213,"value":5847},"'支持步长、范围限制等配置'\n",{"type":208,"tag":216,"props":5849,"children":5850},{"class":668,"line":1907},[5851],{"type":208,"tag":216,"props":5852,"children":5853},{"style":1568},[5854],{"type":213,"value":1962},{"type":208,"tag":216,"props":5856,"children":5857},{"class":668,"line":1925},[5858],{"type":208,"tag":216,"props":5859,"children":5860},{"style":1568},[5861],{"type":213,"value":719},{"type":208,"tag":216,"props":5863,"children":5864},{"class":668,"line":1942},[5865],{"type":208,"tag":216,"props":5866,"children":5867},{"emptyLinePlaceholder":872},[5868],{"type":213,"value":873},{"type":208,"tag":216,"props":5870,"children":5871},{"class":668,"line":1956},[5872,5876,5880,5884,5888,5892,5896,5900,5904,5908,5912,5916,5920,5924],{"type":208,"tag":216,"props":5873,"children":5874},{"style":1610},[5875],{"type":213,"value":1987},{"type":208,"tag":216,"props":5877,"children":5878},{"style":1610},[5879],{"type":213,"value":1992},{"type":208,"tag":216,"props":5881,"children":5882},{"style":1580},[5883],{"type":213,"value":1997},{"type":208,"tag":216,"props":5885,"children":5886},{"style":1568},[5887],{"type":213,"value":1833},{"type":208,"tag":216,"props":5889,"children":5890},{"style":2004},[5891],{"type":213,"value":2007},{"type":208,"tag":216,"props":5893,"children":5894},{"style":1610},[5895],{"type":213,"value":262},{"type":208,"tag":216,"props":5897,"children":5898},{"style":1580},[5899],{"type":213,"value":2016},{"type":208,"tag":216,"props":5901,"children":5902},{"style":1568},[5903],{"type":213,"value":1571},{"type":208,"tag":216,"props":5905,"children":5906},{"style":1580},[5907],{"type":213,"value":2025},{"type":208,"tag":216,"props":5909,"children":5910},{"style":1568},[5911],{"type":213,"value":470},{"type":208,"tag":216,"props":5913,"children":5914},{"style":1580},[5915],{"type":213,"value":2034},{"type":208,"tag":216,"props":5917,"children":5918},{"style":1568},[5919],{"type":213,"value":1571},{"type":208,"tag":216,"props":5921,"children":5922},{"style":1610},[5923],{"type":213,"value":2043},{"type":208,"tag":216,"props":5925,"children":5926},{"style":1568},[5927],{"type":213,"value":2048},{"type":208,"tag":216,"props":5929,"children":5930},{"class":668,"line":1965},[5931,5935,5939],{"type":208,"tag":216,"props":5932,"children":5933},{"style":1568},[5934],{"type":213,"value":2057},{"type":208,"tag":216,"props":5936,"children":5937},{"style":1580},[5938],{"type":213,"value":2062},{"type":208,"tag":216,"props":5940,"children":5941},{"style":1568},[5942],{"type":213,"value":993},{"type":208,"tag":216,"props":5944,"children":5945},{"class":668,"line":1973},[5946,5950,5954],{"type":208,"tag":216,"props":5947,"children":5948},{"style":1568},[5949],{"type":213,"value":2075},{"type":208,"tag":216,"props":5951,"children":5952},{"style":1591},[5953],{"type":213,"value":2080},{"type":208,"tag":216,"props":5955,"children":5956},{"style":1568},[5957],{"type":213,"value":704},{"type":208,"tag":216,"props":5959,"children":5960},{"class":668,"line":1981},[5961,5965,5969],{"type":208,"tag":216,"props":5962,"children":5963},{"style":1568},[5964],{"type":213,"value":2093},{"type":208,"tag":216,"props":5966,"children":5967},{"style":1591},[5968],{"type":213,"value":2098},{"type":208,"tag":216,"props":5970,"children":5971},{"style":1568},[5972],{"type":213,"value":704},{"type":208,"tag":216,"props":5974,"children":5975},{"class":668,"line":2051},[5976,5980,5984,5988,5992,5996,6000,6004,6008],{"type":208,"tag":216,"props":5977,"children":5978},{"style":1568},[5979],{"type":213,"value":2111},{"type":208,"tag":216,"props":5981,"children":5982},{"style":1678},[5983],{"type":213,"value":2116},{"type":208,"tag":216,"props":5985,"children":5986},{"style":1568},[5987],{"type":213,"value":470},{"type":208,"tag":216,"props":5989,"children":5990},{"style":1580},[5991],{"type":213,"value":2125},{"type":208,"tag":216,"props":5993,"children":5994},{"style":1568},[5995],{"type":213,"value":2130},{"type":208,"tag":216,"props":5997,"children":5998},{"style":1678},[5999],{"type":213,"value":2135},{"type":208,"tag":216,"props":6001,"children":6002},{"style":1568},[6003],{"type":213,"value":686},{"type":208,"tag":216,"props":6005,"children":6006},{"style":1678},[6007],{"type":213,"value":2144},{"type":208,"tag":216,"props":6009,"children":6010},{"style":1568},[6011],{"type":213,"value":1852},{"type":208,"tag":216,"props":6013,"children":6014},{"class":668,"line":2069},[6015],{"type":208,"tag":216,"props":6016,"children":6017},{"style":1568},[6018],{"type":213,"value":1041},{"type":208,"tag":216,"props":6020,"children":6021},{"class":668,"line":2087},[6022],{"type":208,"tag":216,"props":6023,"children":6024},{"style":1568},[6025],{"type":213,"value":2165},{"type":208,"tag":216,"props":6027,"children":6028},{"class":668,"line":2105},[6029,6033,6037],{"type":208,"tag":216,"props":6030,"children":6031},{"style":1568},[6032],{"type":213,"value":2174},{"type":208,"tag":216,"props":6034,"children":6035},{"style":1574},[6036],{"type":213,"value":1577},{"type":208,"tag":216,"props":6038,"children":6039},{"style":1568},[6040],{"type":213,"value":1604},{"type":208,"tag":216,"props":6042,"children":6043},{"class":668,"line":2151},[6044],{"type":208,"tag":216,"props":6045,"children":6046},{"emptyLinePlaceholder":872},[6047],{"type":213,"value":873},{"type":208,"tag":216,"props":6049,"children":6050},{"class":668,"line":2159},[6051,6055,6059],{"type":208,"tag":216,"props":6052,"children":6053},{"style":1568},[6054],{"type":213,"value":1571},{"type":208,"tag":216,"props":6056,"children":6057},{"style":1574},[6058],{"type":213,"value":2203},{"type":208,"tag":216,"props":6060,"children":6061},{"style":1568},[6062],{"type":213,"value":1604},{"type":208,"tag":216,"props":6064,"children":6065},{"class":668,"line":2168},[6066,6070,6074,6078,6082,6086,6090,6094,6098,6102,6106,6110,6114,6118,6122],{"type":208,"tag":216,"props":6067,"children":6068},{"style":1568},[6069],{"type":213,"value":2216},{"type":208,"tag":216,"props":6071,"children":6072},{"style":1574},[6073],{"type":213,"value":2221},{"type":208,"tag":216,"props":6075,"children":6076},{"style":1568},[6077],{"type":213,"value":2226},{"type":208,"tag":216,"props":6079,"children":6080},{"style":1580},[6081],{"type":213,"value":2231},{"type":208,"tag":216,"props":6083,"children":6084},{"style":1568},[6085],{"type":213,"value":1588},{"type":208,"tag":216,"props":6087,"children":6088},{"style":1591},[6089],{"type":213,"value":2240},{"type":208,"tag":216,"props":6091,"children":6092},{"style":1568},[6093],{"type":213,"value":2231},{"type":208,"tag":216,"props":6095,"children":6096},{"style":1591},[6097],{"type":213,"value":2240},{"type":208,"tag":216,"props":6099,"children":6100},{"style":1568},[6101],{"type":213,"value":2253},{"type":208,"tag":216,"props":6103,"children":6104},{"style":1580},[6105],{"type":213,"value":2258},{"type":208,"tag":216,"props":6107,"children":6108},{"style":1568},[6109],{"type":213,"value":1588},{"type":208,"tag":216,"props":6111,"children":6112},{"style":1591},[6113],{"type":213,"value":2240},{"type":208,"tag":216,"props":6115,"children":6116},{"style":1568},[6117],{"type":213,"value":2271},{"type":208,"tag":216,"props":6119,"children":6120},{"style":1591},[6121],{"type":213,"value":2240},{"type":208,"tag":216,"props":6123,"children":6124},{"style":1568},[6125],{"type":213,"value":2280},{"type":208,"tag":216,"props":6127,"children":6128},{"class":668,"line":2185},[6129,6133,6137],{"type":208,"tag":216,"props":6130,"children":6131},{"style":1568},[6132],{"type":213,"value":2174},{"type":208,"tag":216,"props":6134,"children":6135},{"style":1574},[6136],{"type":213,"value":2203},{"type":208,"tag":216,"props":6138,"children":6139},{"style":1568},[6140],{"type":213,"value":1604},{"type":208,"tag":1422,"props":6142,"children":6143},{},[6144],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":6146},[],{"data":6148,"body":6149,"toc":6796},{"title":663,"description":663},{"type":205,"children":6150},[6151,6792],{"type":208,"tag":1551,"props":6152,"children":6153},{},[6154],{"type":208,"tag":658,"props":6155,"children":6157},{"className":1556,"code":6156,"language":1558,"meta":663,"style":663},"\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  volume: afz.number({\n    type: 'slider',\n    controlProps: {\n      min: 0,\n      max: 100,\n      step: 5\n    }\n  })\n    .default(50)\n    .meta({\n      label: '音量滑块',\n      hint: '拖动滑块调整数值，步长为 5'\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",[6158],{"type":208,"tag":239,"props":6159,"children":6160},{"__ignoreMap":663},[6161,6192,6215,6238,6245,6276,6299,6306,6333,6349,6365,6372,6388,6404,6417,6424,6431,6456,6471,6487,6499,6506,6513,6520,6579,6594,6609,6624,6663,6670,6677,6692,6699,6714,6777],{"type":208,"tag":216,"props":6162,"children":6163},{"class":668,"line":669},[6164,6168,6172,6176,6180,6184,6188],{"type":208,"tag":216,"props":6165,"children":6166},{"style":1568},[6167],{"type":213,"value":1571},{"type":208,"tag":216,"props":6169,"children":6170},{"style":1574},[6171],{"type":213,"value":1577},{"type":208,"tag":216,"props":6173,"children":6174},{"style":1580},[6175],{"type":213,"value":1583},{"type":208,"tag":216,"props":6177,"children":6178},{"style":1568},[6179],{"type":213,"value":1588},{"type":208,"tag":216,"props":6181,"children":6182},{"style":1591},[6183],{"type":213,"value":1594},{"type":208,"tag":216,"props":6185,"children":6186},{"style":1580},[6187],{"type":213,"value":1599},{"type":208,"tag":216,"props":6189,"children":6190},{"style":1568},[6191],{"type":213,"value":1604},{"type":208,"tag":216,"props":6193,"children":6194},{"class":668,"line":695},[6195,6199,6203,6207,6211],{"type":208,"tag":216,"props":6196,"children":6197},{"style":1610},[6198],{"type":213,"value":858},{"type":208,"tag":216,"props":6200,"children":6201},{"style":1610},[6202],{"type":213,"value":1617},{"type":208,"tag":216,"props":6204,"children":6205},{"style":1568},[6206],{"type":213,"value":1622},{"type":208,"tag":216,"props":6208,"children":6209},{"style":1610},[6210],{"type":213,"value":864},{"type":208,"tag":216,"props":6212,"children":6213},{"style":1591},[6214],{"type":213,"value":1631},{"type":208,"tag":216,"props":6216,"children":6217},{"class":668,"line":707},[6218,6222,6226,6230,6234],{"type":208,"tag":216,"props":6219,"children":6220},{"style":1610},[6221],{"type":213,"value":858},{"type":208,"tag":216,"props":6223,"children":6224},{"style":1610},[6225],{"type":213,"value":1617},{"type":208,"tag":216,"props":6227,"children":6228},{"style":1568},[6229],{"type":213,"value":1647},{"type":208,"tag":216,"props":6231,"children":6232},{"style":1610},[6233],{"type":213,"value":864},{"type":208,"tag":216,"props":6235,"children":6236},{"style":1591},[6237],{"type":213,"value":1656},{"type":208,"tag":216,"props":6239,"children":6240},{"class":668,"line":716},[6241],{"type":208,"tag":216,"props":6242,"children":6243},{"emptyLinePlaceholder":872},[6244],{"type":213,"value":873},{"type":208,"tag":216,"props":6246,"children":6247},{"class":668,"line":783},[6248,6252,6256,6260,6264,6268,6272],{"type":208,"tag":216,"props":6249,"children":6250},{"style":1610},[6251],{"type":213,"value":939},{"type":208,"tag":216,"props":6253,"children":6254},{"style":1568},[6255],{"type":213,"value":1675},{"type":208,"tag":216,"props":6257,"children":6258},{"style":1678},[6259],{"type":213,"value":1681},{"type":208,"tag":216,"props":6261,"children":6262},{"style":1568},[6263],{"type":213,"value":1686},{"type":208,"tag":216,"props":6265,"children":6266},{"style":1610},[6267],{"type":213,"value":1588},{"type":208,"tag":216,"props":6269,"children":6270},{"style":1580},[6271],{"type":213,"value":1695},{"type":208,"tag":216,"props":6273,"children":6274},{"style":1568},[6275],{"type":213,"value":1700},{"type":208,"tag":216,"props":6277,"children":6278},{"class":668,"line":800},[6279,6283,6287,6291,6295],{"type":208,"tag":216,"props":6280,"children":6281},{"style":1610},[6282],{"type":213,"value":939},{"type":208,"tag":216,"props":6284,"children":6285},{"style":1678},[6286],{"type":213,"value":1712},{"type":208,"tag":216,"props":6288,"children":6289},{"style":1610},[6290],{"type":213,"value":946},{"type":208,"tag":216,"props":6292,"children":6293},{"style":1580},[6294],{"type":213,"value":1721},{"type":208,"tag":216,"props":6296,"children":6297},{"style":1568},[6298],{"type":213,"value":1700},{"type":208,"tag":216,"props":6300,"children":6301},{"class":668,"line":815},[6302],{"type":208,"tag":216,"props":6303,"children":6304},{"emptyLinePlaceholder":872},[6305],{"type":213,"value":873},{"type":208,"tag":216,"props":6307,"children":6308},{"class":668,"line":821},[6309,6313,6317,6321,6325,6329],{"type":208,"tag":216,"props":6310,"children":6311},{"style":1610},[6312],{"type":213,"value":939},{"type":208,"tag":216,"props":6314,"children":6315},{"style":1678},[6316],{"type":213,"value":982},{"type":208,"tag":216,"props":6318,"children":6319},{"style":1610},[6320],{"type":213,"value":946},{"type":208,"tag":216,"props":6322,"children":6323},{"style":1568},[6324],{"type":213,"value":987},{"type":208,"tag":216,"props":6326,"children":6327},{"style":1580},[6328],{"type":213,"value":990},{"type":208,"tag":216,"props":6330,"children":6331},{"style":1568},[6332],{"type":213,"value":993},{"type":208,"tag":216,"props":6334,"children":6335},{"class":668,"line":827},[6336,6341,6345],{"type":208,"tag":216,"props":6337,"children":6338},{"style":1568},[6339],{"type":213,"value":6340},"  volume: afz.",{"type":208,"tag":216,"props":6342,"children":6343},{"style":1580},[6344],{"type":213,"value":339},{"type":208,"tag":216,"props":6346,"children":6347},{"style":1568},[6348],{"type":213,"value":993},{"type":208,"tag":216,"props":6350,"children":6351},{"class":668,"line":832},[6352,6356,6361],{"type":208,"tag":216,"props":6353,"children":6354},{"style":1568},[6355],{"type":213,"value":1008},{"type":208,"tag":216,"props":6357,"children":6358},{"style":1591},[6359],{"type":213,"value":6360},"'slider'",{"type":208,"tag":216,"props":6362,"children":6363},{"style":1568},[6364],{"type":213,"value":704},{"type":208,"tag":216,"props":6366,"children":6367},{"class":668,"line":838},[6368],{"type":208,"tag":216,"props":6369,"children":6370},{"style":1568},[6371],{"type":213,"value":1018},{"type":208,"tag":216,"props":6373,"children":6374},{"class":668,"line":1151},[6375,6380,6384],{"type":208,"tag":216,"props":6376,"children":6377},{"style":1568},[6378],{"type":213,"value":6379},"      min: ",{"type":208,"tag":216,"props":6381,"children":6382},{"style":1678},[6383],{"type":213,"value":5742},{"type":208,"tag":216,"props":6385,"children":6386},{"style":1568},[6387],{"type":213,"value":704},{"type":208,"tag":216,"props":6389,"children":6390},{"class":668,"line":1276},[6391,6396,6400],{"type":208,"tag":216,"props":6392,"children":6393},{"style":1568},[6394],{"type":213,"value":6395},"      max: ",{"type":208,"tag":216,"props":6397,"children":6398},{"style":1678},[6399],{"type":213,"value":5775},{"type":208,"tag":216,"props":6401,"children":6402},{"style":1568},[6403],{"type":213,"value":704},{"type":208,"tag":216,"props":6405,"children":6406},{"class":668,"line":1282},[6407,6412],{"type":208,"tag":216,"props":6408,"children":6409},{"style":1568},[6410],{"type":213,"value":6411},"      step: ",{"type":208,"tag":216,"props":6413,"children":6414},{"style":1678},[6415],{"type":213,"value":6416},"5\n",{"type":208,"tag":216,"props":6418,"children":6419},{"class":668,"line":1855},[6420],{"type":208,"tag":216,"props":6421,"children":6422},{"style":1568},[6423],{"type":213,"value":1036},{"type":208,"tag":216,"props":6425,"children":6426},{"class":668,"line":1890},[6427],{"type":208,"tag":216,"props":6428,"children":6429},{"style":1568},[6430],{"type":213,"value":1041},{"type":208,"tag":216,"props":6432,"children":6433},{"class":668,"line":1907},[6434,6438,6443,6447,6452],{"type":208,"tag":216,"props":6435,"children":6436},{"style":1568},[6437],{"type":213,"value":1823},{"type":208,"tag":216,"props":6439,"children":6440},{"style":1580},[6441],{"type":213,"value":6442},"default",{"type":208,"tag":216,"props":6444,"children":6445},{"style":1568},[6446],{"type":213,"value":1833},{"type":208,"tag":216,"props":6448,"children":6449},{"style":1678},[6450],{"type":213,"value":6451},"50",{"type":208,"tag":216,"props":6453,"children":6454},{"style":1568},[6455],{"type":213,"value":1852},{"type":208,"tag":216,"props":6457,"children":6458},{"class":668,"line":1925},[6459,6463,6467],{"type":208,"tag":216,"props":6460,"children":6461},{"style":1568},[6462],{"type":213,"value":1823},{"type":208,"tag":216,"props":6464,"children":6465},{"style":1580},[6466],{"type":213,"value":1900},{"type":208,"tag":216,"props":6468,"children":6469},{"style":1568},[6470],{"type":213,"value":993},{"type":208,"tag":216,"props":6472,"children":6473},{"class":668,"line":1942},[6474,6478,6483],{"type":208,"tag":216,"props":6475,"children":6476},{"style":1568},[6477],{"type":213,"value":1913},{"type":208,"tag":216,"props":6479,"children":6480},{"style":1591},[6481],{"type":213,"value":6482},"'音量滑块'",{"type":208,"tag":216,"props":6484,"children":6485},{"style":1568},[6486],{"type":213,"value":704},{"type":208,"tag":216,"props":6488,"children":6489},{"class":668,"line":1956},[6490,6494],{"type":208,"tag":216,"props":6491,"children":6492},{"style":1568},[6493],{"type":213,"value":1948},{"type":208,"tag":216,"props":6495,"children":6496},{"style":1591},[6497],{"type":213,"value":6498},"'拖动滑块调整数值，步长为 5'\n",{"type":208,"tag":216,"props":6500,"children":6501},{"class":668,"line":1965},[6502],{"type":208,"tag":216,"props":6503,"children":6504},{"style":1568},[6505],{"type":213,"value":1962},{"type":208,"tag":216,"props":6507,"children":6508},{"class":668,"line":1973},[6509],{"type":208,"tag":216,"props":6510,"children":6511},{"style":1568},[6512],{"type":213,"value":719},{"type":208,"tag":216,"props":6514,"children":6515},{"class":668,"line":1981},[6516],{"type":208,"tag":216,"props":6517,"children":6518},{"emptyLinePlaceholder":872},[6519],{"type":213,"value":873},{"type":208,"tag":216,"props":6521,"children":6522},{"class":668,"line":2051},[6523,6527,6531,6535,6539,6543,6547,6551,6555,6559,6563,6567,6571,6575],{"type":208,"tag":216,"props":6524,"children":6525},{"style":1610},[6526],{"type":213,"value":1987},{"type":208,"tag":216,"props":6528,"children":6529},{"style":1610},[6530],{"type":213,"value":1992},{"type":208,"tag":216,"props":6532,"children":6533},{"style":1580},[6534],{"type":213,"value":1997},{"type":208,"tag":216,"props":6536,"children":6537},{"style":1568},[6538],{"type":213,"value":1833},{"type":208,"tag":216,"props":6540,"children":6541},{"style":2004},[6542],{"type":213,"value":2007},{"type":208,"tag":216,"props":6544,"children":6545},{"style":1610},[6546],{"type":213,"value":262},{"type":208,"tag":216,"props":6548,"children":6549},{"style":1580},[6550],{"type":213,"value":2016},{"type":208,"tag":216,"props":6552,"children":6553},{"style":1568},[6554],{"type":213,"value":1571},{"type":208,"tag":216,"props":6556,"children":6557},{"style":1580},[6558],{"type":213,"value":2025},{"type":208,"tag":216,"props":6560,"children":6561},{"style":1568},[6562],{"type":213,"value":470},{"type":208,"tag":216,"props":6564,"children":6565},{"style":1580},[6566],{"type":213,"value":2034},{"type":208,"tag":216,"props":6568,"children":6569},{"style":1568},[6570],{"type":213,"value":1571},{"type":208,"tag":216,"props":6572,"children":6573},{"style":1610},[6574],{"type":213,"value":2043},{"type":208,"tag":216,"props":6576,"children":6577},{"style":1568},[6578],{"type":213,"value":2048},{"type":208,"tag":216,"props":6580,"children":6581},{"class":668,"line":2069},[6582,6586,6590],{"type":208,"tag":216,"props":6583,"children":6584},{"style":1568},[6585],{"type":213,"value":2057},{"type":208,"tag":216,"props":6587,"children":6588},{"style":1580},[6589],{"type":213,"value":2062},{"type":208,"tag":216,"props":6591,"children":6592},{"style":1568},[6593],{"type":213,"value":993},{"type":208,"tag":216,"props":6595,"children":6596},{"class":668,"line":2087},[6597,6601,6605],{"type":208,"tag":216,"props":6598,"children":6599},{"style":1568},[6600],{"type":213,"value":2075},{"type":208,"tag":216,"props":6602,"children":6603},{"style":1591},[6604],{"type":213,"value":2080},{"type":208,"tag":216,"props":6606,"children":6607},{"style":1568},[6608],{"type":213,"value":704},{"type":208,"tag":216,"props":6610,"children":6611},{"class":668,"line":2105},[6612,6616,6620],{"type":208,"tag":216,"props":6613,"children":6614},{"style":1568},[6615],{"type":213,"value":2093},{"type":208,"tag":216,"props":6617,"children":6618},{"style":1591},[6619],{"type":213,"value":2098},{"type":208,"tag":216,"props":6621,"children":6622},{"style":1568},[6623],{"type":213,"value":704},{"type":208,"tag":216,"props":6625,"children":6626},{"class":668,"line":2151},[6627,6631,6635,6639,6643,6647,6651,6655,6659],{"type":208,"tag":216,"props":6628,"children":6629},{"style":1568},[6630],{"type":213,"value":2111},{"type":208,"tag":216,"props":6632,"children":6633},{"style":1678},[6634],{"type":213,"value":2116},{"type":208,"tag":216,"props":6636,"children":6637},{"style":1568},[6638],{"type":213,"value":470},{"type":208,"tag":216,"props":6640,"children":6641},{"style":1580},[6642],{"type":213,"value":2125},{"type":208,"tag":216,"props":6644,"children":6645},{"style":1568},[6646],{"type":213,"value":2130},{"type":208,"tag":216,"props":6648,"children":6649},{"style":1678},[6650],{"type":213,"value":2135},{"type":208,"tag":216,"props":6652,"children":6653},{"style":1568},[6654],{"type":213,"value":686},{"type":208,"tag":216,"props":6656,"children":6657},{"style":1678},[6658],{"type":213,"value":2144},{"type":208,"tag":216,"props":6660,"children":6661},{"style":1568},[6662],{"type":213,"value":1852},{"type":208,"tag":216,"props":6664,"children":6665},{"class":668,"line":2159},[6666],{"type":208,"tag":216,"props":6667,"children":6668},{"style":1568},[6669],{"type":213,"value":1041},{"type":208,"tag":216,"props":6671,"children":6672},{"class":668,"line":2168},[6673],{"type":208,"tag":216,"props":6674,"children":6675},{"style":1568},[6676],{"type":213,"value":2165},{"type":208,"tag":216,"props":6678,"children":6679},{"class":668,"line":2185},[6680,6684,6688],{"type":208,"tag":216,"props":6681,"children":6682},{"style":1568},[6683],{"type":213,"value":2174},{"type":208,"tag":216,"props":6685,"children":6686},{"style":1574},[6687],{"type":213,"value":1577},{"type":208,"tag":216,"props":6689,"children":6690},{"style":1568},[6691],{"type":213,"value":1604},{"type":208,"tag":216,"props":6693,"children":6694},{"class":668,"line":2193},[6695],{"type":208,"tag":216,"props":6696,"children":6697},{"emptyLinePlaceholder":872},[6698],{"type":213,"value":873},{"type":208,"tag":216,"props":6700,"children":6701},{"class":668,"line":2210},[6702,6706,6710],{"type":208,"tag":216,"props":6703,"children":6704},{"style":1568},[6705],{"type":213,"value":1571},{"type":208,"tag":216,"props":6707,"children":6708},{"style":1574},[6709],{"type":213,"value":2203},{"type":208,"tag":216,"props":6711,"children":6712},{"style":1568},[6713],{"type":213,"value":1604},{"type":208,"tag":216,"props":6715,"children":6716},{"class":668,"line":2283},[6717,6721,6725,6729,6733,6737,6741,6745,6749,6753,6757,6761,6765,6769,6773],{"type":208,"tag":216,"props":6718,"children":6719},{"style":1568},[6720],{"type":213,"value":2216},{"type":208,"tag":216,"props":6722,"children":6723},{"style":1574},[6724],{"type":213,"value":2221},{"type":208,"tag":216,"props":6726,"children":6727},{"style":1568},[6728],{"type":213,"value":2226},{"type":208,"tag":216,"props":6730,"children":6731},{"style":1580},[6732],{"type":213,"value":2231},{"type":208,"tag":216,"props":6734,"children":6735},{"style":1568},[6736],{"type":213,"value":1588},{"type":208,"tag":216,"props":6738,"children":6739},{"style":1591},[6740],{"type":213,"value":2240},{"type":208,"tag":216,"props":6742,"children":6743},{"style":1568},[6744],{"type":213,"value":2231},{"type":208,"tag":216,"props":6746,"children":6747},{"style":1591},[6748],{"type":213,"value":2240},{"type":208,"tag":216,"props":6750,"children":6751},{"style":1568},[6752],{"type":213,"value":2253},{"type":208,"tag":216,"props":6754,"children":6755},{"style":1580},[6756],{"type":213,"value":2258},{"type":208,"tag":216,"props":6758,"children":6759},{"style":1568},[6760],{"type":213,"value":1588},{"type":208,"tag":216,"props":6762,"children":6763},{"style":1591},[6764],{"type":213,"value":2240},{"type":208,"tag":216,"props":6766,"children":6767},{"style":1568},[6768],{"type":213,"value":2271},{"type":208,"tag":216,"props":6770,"children":6771},{"style":1591},[6772],{"type":213,"value":2240},{"type":208,"tag":216,"props":6774,"children":6775},{"style":1568},[6776],{"type":213,"value":2280},{"type":208,"tag":216,"props":6778,"children":6779},{"class":668,"line":2944},[6780,6784,6788],{"type":208,"tag":216,"props":6781,"children":6782},{"style":1568},[6783],{"type":213,"value":2174},{"type":208,"tag":216,"props":6785,"children":6786},{"style":1574},[6787],{"type":213,"value":2203},{"type":208,"tag":216,"props":6789,"children":6790},{"style":1568},[6791],{"type":213,"value":1604},{"type":208,"tag":1422,"props":6793,"children":6794},{},[6795],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":6797},[],{"data":6799,"body":6800,"toc":7482},{"title":663,"description":663},{"type":205,"children":6801},[6802,7478],{"type":208,"tag":1551,"props":6803,"children":6804},{},[6805],{"type":208,"tag":658,"props":6806,"children":6808},{"className":1556,"code":6807,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { UInputRating } from '#components'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\n\nconst schema = afz.object({\n  rating: afz.number({\n    component: UInputRating,\n    controlProps: {\n      step: 0.5,\n      length: 10\n    }\n  })\n    .min(0, '评分不能小于 0')\n    .max(10, '评分不能大于 10')\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",[6809],{"type":208,"tag":239,"props":6810,"children":6811},{"__ignoreMap":663},[6812,6843,6866,6889,6910,6917,6948,6971,6978,7005,7021,7029,7036,7052,7064,7071,7078,7110,7142,7157,7173,7185,7192,7199,7206,7265,7280,7295,7310,7349,7356,7363,7378,7385,7400,7463],{"type":208,"tag":216,"props":6813,"children":6814},{"class":668,"line":669},[6815,6819,6823,6827,6831,6835,6839],{"type":208,"tag":216,"props":6816,"children":6817},{"style":1568},[6818],{"type":213,"value":1571},{"type":208,"tag":216,"props":6820,"children":6821},{"style":1574},[6822],{"type":213,"value":1577},{"type":208,"tag":216,"props":6824,"children":6825},{"style":1580},[6826],{"type":213,"value":1583},{"type":208,"tag":216,"props":6828,"children":6829},{"style":1568},[6830],{"type":213,"value":1588},{"type":208,"tag":216,"props":6832,"children":6833},{"style":1591},[6834],{"type":213,"value":1594},{"type":208,"tag":216,"props":6836,"children":6837},{"style":1580},[6838],{"type":213,"value":1599},{"type":208,"tag":216,"props":6840,"children":6841},{"style":1568},[6842],{"type":213,"value":1604},{"type":208,"tag":216,"props":6844,"children":6845},{"class":668,"line":695},[6846,6850,6854,6858,6862],{"type":208,"tag":216,"props":6847,"children":6848},{"style":1610},[6849],{"type":213,"value":858},{"type":208,"tag":216,"props":6851,"children":6852},{"style":1610},[6853],{"type":213,"value":1617},{"type":208,"tag":216,"props":6855,"children":6856},{"style":1568},[6857],{"type":213,"value":1622},{"type":208,"tag":216,"props":6859,"children":6860},{"style":1610},[6861],{"type":213,"value":864},{"type":208,"tag":216,"props":6863,"children":6864},{"style":1591},[6865],{"type":213,"value":1631},{"type":208,"tag":216,"props":6867,"children":6868},{"class":668,"line":707},[6869,6873,6877,6881,6885],{"type":208,"tag":216,"props":6870,"children":6871},{"style":1610},[6872],{"type":213,"value":858},{"type":208,"tag":216,"props":6874,"children":6875},{"style":1610},[6876],{"type":213,"value":1617},{"type":208,"tag":216,"props":6878,"children":6879},{"style":1568},[6880],{"type":213,"value":1647},{"type":208,"tag":216,"props":6882,"children":6883},{"style":1610},[6884],{"type":213,"value":864},{"type":208,"tag":216,"props":6886,"children":6887},{"style":1591},[6888],{"type":213,"value":1656},{"type":208,"tag":216,"props":6890,"children":6891},{"class":668,"line":716},[6892,6896,6901,6905],{"type":208,"tag":216,"props":6893,"children":6894},{"style":1610},[6895],{"type":213,"value":858},{"type":208,"tag":216,"props":6897,"children":6898},{"style":1568},[6899],{"type":213,"value":6900}," { UInputRating } ",{"type":208,"tag":216,"props":6902,"children":6903},{"style":1610},[6904],{"type":213,"value":864},{"type":208,"tag":216,"props":6906,"children":6907},{"style":1591},[6908],{"type":213,"value":6909}," '#components'\n",{"type":208,"tag":216,"props":6911,"children":6912},{"class":668,"line":783},[6913],{"type":208,"tag":216,"props":6914,"children":6915},{"emptyLinePlaceholder":872},[6916],{"type":213,"value":873},{"type":208,"tag":216,"props":6918,"children":6919},{"class":668,"line":800},[6920,6924,6928,6932,6936,6940,6944],{"type":208,"tag":216,"props":6921,"children":6922},{"style":1610},[6923],{"type":213,"value":939},{"type":208,"tag":216,"props":6925,"children":6926},{"style":1568},[6927],{"type":213,"value":1675},{"type":208,"tag":216,"props":6929,"children":6930},{"style":1678},[6931],{"type":213,"value":1681},{"type":208,"tag":216,"props":6933,"children":6934},{"style":1568},[6935],{"type":213,"value":1686},{"type":208,"tag":216,"props":6937,"children":6938},{"style":1610},[6939],{"type":213,"value":1588},{"type":208,"tag":216,"props":6941,"children":6942},{"style":1580},[6943],{"type":213,"value":1695},{"type":208,"tag":216,"props":6945,"children":6946},{"style":1568},[6947],{"type":213,"value":1700},{"type":208,"tag":216,"props":6949,"children":6950},{"class":668,"line":815},[6951,6955,6959,6963,6967],{"type":208,"tag":216,"props":6952,"children":6953},{"style":1610},[6954],{"type":213,"value":939},{"type":208,"tag":216,"props":6956,"children":6957},{"style":1678},[6958],{"type":213,"value":1712},{"type":208,"tag":216,"props":6960,"children":6961},{"style":1610},[6962],{"type":213,"value":946},{"type":208,"tag":216,"props":6964,"children":6965},{"style":1580},[6966],{"type":213,"value":1721},{"type":208,"tag":216,"props":6968,"children":6969},{"style":1568},[6970],{"type":213,"value":1700},{"type":208,"tag":216,"props":6972,"children":6973},{"class":668,"line":821},[6974],{"type":208,"tag":216,"props":6975,"children":6976},{"emptyLinePlaceholder":872},[6977],{"type":213,"value":873},{"type":208,"tag":216,"props":6979,"children":6980},{"class":668,"line":827},[6981,6985,6989,6993,6997,7001],{"type":208,"tag":216,"props":6982,"children":6983},{"style":1610},[6984],{"type":213,"value":939},{"type":208,"tag":216,"props":6986,"children":6987},{"style":1678},[6988],{"type":213,"value":982},{"type":208,"tag":216,"props":6990,"children":6991},{"style":1610},[6992],{"type":213,"value":946},{"type":208,"tag":216,"props":6994,"children":6995},{"style":1568},[6996],{"type":213,"value":987},{"type":208,"tag":216,"props":6998,"children":6999},{"style":1580},[7000],{"type":213,"value":990},{"type":208,"tag":216,"props":7002,"children":7003},{"style":1568},[7004],{"type":213,"value":993},{"type":208,"tag":216,"props":7006,"children":7007},{"class":668,"line":832},[7008,7013,7017],{"type":208,"tag":216,"props":7009,"children":7010},{"style":1568},[7011],{"type":213,"value":7012},"  rating: afz.",{"type":208,"tag":216,"props":7014,"children":7015},{"style":1580},[7016],{"type":213,"value":339},{"type":208,"tag":216,"props":7018,"children":7019},{"style":1568},[7020],{"type":213,"value":993},{"type":208,"tag":216,"props":7022,"children":7023},{"class":668,"line":838},[7024],{"type":208,"tag":216,"props":7025,"children":7026},{"style":1568},[7027],{"type":213,"value":7028},"    component: UInputRating,\n",{"type":208,"tag":216,"props":7030,"children":7031},{"class":668,"line":1151},[7032],{"type":208,"tag":216,"props":7033,"children":7034},{"style":1568},[7035],{"type":213,"value":1018},{"type":208,"tag":216,"props":7037,"children":7038},{"class":668,"line":1276},[7039,7043,7048],{"type":208,"tag":216,"props":7040,"children":7041},{"style":1568},[7042],{"type":213,"value":6411},{"type":208,"tag":216,"props":7044,"children":7045},{"style":1678},[7046],{"type":213,"value":7047},"0.5",{"type":208,"tag":216,"props":7049,"children":7050},{"style":1568},[7051],{"type":213,"value":704},{"type":208,"tag":216,"props":7053,"children":7054},{"class":668,"line":1282},[7055,7059],{"type":208,"tag":216,"props":7056,"children":7057},{"style":1568},[7058],{"type":213,"value":3196},{"type":208,"tag":216,"props":7060,"children":7061},{"style":1678},[7062],{"type":213,"value":7063},"10\n",{"type":208,"tag":216,"props":7065,"children":7066},{"class":668,"line":1855},[7067],{"type":208,"tag":216,"props":7068,"children":7069},{"style":1568},[7070],{"type":213,"value":1036},{"type":208,"tag":216,"props":7072,"children":7073},{"class":668,"line":1890},[7074],{"type":208,"tag":216,"props":7075,"children":7076},{"style":1568},[7077],{"type":213,"value":1041},{"type":208,"tag":216,"props":7079,"children":7080},{"class":668,"line":1907},[7081,7085,7089,7093,7097,7101,7106],{"type":208,"tag":216,"props":7082,"children":7083},{"style":1568},[7084],{"type":213,"value":1823},{"type":208,"tag":216,"props":7086,"children":7087},{"style":1580},[7088],{"type":213,"value":1828},{"type":208,"tag":216,"props":7090,"children":7091},{"style":1568},[7092],{"type":213,"value":1833},{"type":208,"tag":216,"props":7094,"children":7095},{"style":1678},[7096],{"type":213,"value":5742},{"type":208,"tag":216,"props":7098,"children":7099},{"style":1568},[7100],{"type":213,"value":686},{"type":208,"tag":216,"props":7102,"children":7103},{"style":1591},[7104],{"type":213,"value":7105},"'评分不能小于 0'",{"type":208,"tag":216,"props":7107,"children":7108},{"style":1568},[7109],{"type":213,"value":1852},{"type":208,"tag":216,"props":7111,"children":7112},{"class":668,"line":1925},[7113,7117,7121,7125,7129,7133,7138],{"type":208,"tag":216,"props":7114,"children":7115},{"style":1568},[7116],{"type":213,"value":1823},{"type":208,"tag":216,"props":7118,"children":7119},{"style":1580},[7120],{"type":213,"value":1865},{"type":208,"tag":216,"props":7122,"children":7123},{"style":1568},[7124],{"type":213,"value":1833},{"type":208,"tag":216,"props":7126,"children":7127},{"style":1678},[7128],{"type":213,"value":2591},{"type":208,"tag":216,"props":7130,"children":7131},{"style":1568},[7132],{"type":213,"value":686},{"type":208,"tag":216,"props":7134,"children":7135},{"style":1591},[7136],{"type":213,"value":7137},"'评分不能大于 10'",{"type":208,"tag":216,"props":7139,"children":7140},{"style":1568},[7141],{"type":213,"value":1852},{"type":208,"tag":216,"props":7143,"children":7144},{"class":668,"line":1942},[7145,7149,7153],{"type":208,"tag":216,"props":7146,"children":7147},{"style":1568},[7148],{"type":213,"value":1823},{"type":208,"tag":216,"props":7150,"children":7151},{"style":1580},[7152],{"type":213,"value":1900},{"type":208,"tag":216,"props":7154,"children":7155},{"style":1568},[7156],{"type":213,"value":993},{"type":208,"tag":216,"props":7158,"children":7159},{"class":668,"line":1956},[7160,7164,7169],{"type":208,"tag":216,"props":7161,"children":7162},{"style":1568},[7163],{"type":213,"value":1913},{"type":208,"tag":216,"props":7165,"children":7166},{"style":1591},[7167],{"type":213,"value":7168},"'评分'",{"type":208,"tag":216,"props":7170,"children":7171},{"style":1568},[7172],{"type":213,"value":704},{"type":208,"tag":216,"props":7174,"children":7175},{"class":668,"line":1965},[7176,7180],{"type":208,"tag":216,"props":7177,"children":7178},{"style":1568},[7179],{"type":213,"value":1948},{"type":208,"tag":216,"props":7181,"children":7182},{"style":1591},[7183],{"type":213,"value":7184},"'支持半星评分'\n",{"type":208,"tag":216,"props":7186,"children":7187},{"class":668,"line":1973},[7188],{"type":208,"tag":216,"props":7189,"children":7190},{"style":1568},[7191],{"type":213,"value":1962},{"type":208,"tag":216,"props":7193,"children":7194},{"class":668,"line":1981},[7195],{"type":208,"tag":216,"props":7196,"children":7197},{"style":1568},[7198],{"type":213,"value":719},{"type":208,"tag":216,"props":7200,"children":7201},{"class":668,"line":2051},[7202],{"type":208,"tag":216,"props":7203,"children":7204},{"emptyLinePlaceholder":872},[7205],{"type":213,"value":873},{"type":208,"tag":216,"props":7207,"children":7208},{"class":668,"line":2069},[7209,7213,7217,7221,7225,7229,7233,7237,7241,7245,7249,7253,7257,7261],{"type":208,"tag":216,"props":7210,"children":7211},{"style":1610},[7212],{"type":213,"value":1987},{"type":208,"tag":216,"props":7214,"children":7215},{"style":1610},[7216],{"type":213,"value":1992},{"type":208,"tag":216,"props":7218,"children":7219},{"style":1580},[7220],{"type":213,"value":1997},{"type":208,"tag":216,"props":7222,"children":7223},{"style":1568},[7224],{"type":213,"value":1833},{"type":208,"tag":216,"props":7226,"children":7227},{"style":2004},[7228],{"type":213,"value":2007},{"type":208,"tag":216,"props":7230,"children":7231},{"style":1610},[7232],{"type":213,"value":262},{"type":208,"tag":216,"props":7234,"children":7235},{"style":1580},[7236],{"type":213,"value":2016},{"type":208,"tag":216,"props":7238,"children":7239},{"style":1568},[7240],{"type":213,"value":1571},{"type":208,"tag":216,"props":7242,"children":7243},{"style":1580},[7244],{"type":213,"value":2025},{"type":208,"tag":216,"props":7246,"children":7247},{"style":1568},[7248],{"type":213,"value":470},{"type":208,"tag":216,"props":7250,"children":7251},{"style":1580},[7252],{"type":213,"value":2034},{"type":208,"tag":216,"props":7254,"children":7255},{"style":1568},[7256],{"type":213,"value":1571},{"type":208,"tag":216,"props":7258,"children":7259},{"style":1610},[7260],{"type":213,"value":2043},{"type":208,"tag":216,"props":7262,"children":7263},{"style":1568},[7264],{"type":213,"value":2048},{"type":208,"tag":216,"props":7266,"children":7267},{"class":668,"line":2087},[7268,7272,7276],{"type":208,"tag":216,"props":7269,"children":7270},{"style":1568},[7271],{"type":213,"value":2057},{"type":208,"tag":216,"props":7273,"children":7274},{"style":1580},[7275],{"type":213,"value":2062},{"type":208,"tag":216,"props":7277,"children":7278},{"style":1568},[7279],{"type":213,"value":993},{"type":208,"tag":216,"props":7281,"children":7282},{"class":668,"line":2105},[7283,7287,7291],{"type":208,"tag":216,"props":7284,"children":7285},{"style":1568},[7286],{"type":213,"value":2075},{"type":208,"tag":216,"props":7288,"children":7289},{"style":1591},[7290],{"type":213,"value":2080},{"type":208,"tag":216,"props":7292,"children":7293},{"style":1568},[7294],{"type":213,"value":704},{"type":208,"tag":216,"props":7296,"children":7297},{"class":668,"line":2151},[7298,7302,7306],{"type":208,"tag":216,"props":7299,"children":7300},{"style":1568},[7301],{"type":213,"value":2093},{"type":208,"tag":216,"props":7303,"children":7304},{"style":1591},[7305],{"type":213,"value":2098},{"type":208,"tag":216,"props":7307,"children":7308},{"style":1568},[7309],{"type":213,"value":704},{"type":208,"tag":216,"props":7311,"children":7312},{"class":668,"line":2159},[7313,7317,7321,7325,7329,7333,7337,7341,7345],{"type":208,"tag":216,"props":7314,"children":7315},{"style":1568},[7316],{"type":213,"value":2111},{"type":208,"tag":216,"props":7318,"children":7319},{"style":1678},[7320],{"type":213,"value":2116},{"type":208,"tag":216,"props":7322,"children":7323},{"style":1568},[7324],{"type":213,"value":470},{"type":208,"tag":216,"props":7326,"children":7327},{"style":1580},[7328],{"type":213,"value":2125},{"type":208,"tag":216,"props":7330,"children":7331},{"style":1568},[7332],{"type":213,"value":2130},{"type":208,"tag":216,"props":7334,"children":7335},{"style":1678},[7336],{"type":213,"value":2135},{"type":208,"tag":216,"props":7338,"children":7339},{"style":1568},[7340],{"type":213,"value":686},{"type":208,"tag":216,"props":7342,"children":7343},{"style":1678},[7344],{"type":213,"value":2144},{"type":208,"tag":216,"props":7346,"children":7347},{"style":1568},[7348],{"type":213,"value":1852},{"type":208,"tag":216,"props":7350,"children":7351},{"class":668,"line":2168},[7352],{"type":208,"tag":216,"props":7353,"children":7354},{"style":1568},[7355],{"type":213,"value":1041},{"type":208,"tag":216,"props":7357,"children":7358},{"class":668,"line":2185},[7359],{"type":208,"tag":216,"props":7360,"children":7361},{"style":1568},[7362],{"type":213,"value":2165},{"type":208,"tag":216,"props":7364,"children":7365},{"class":668,"line":2193},[7366,7370,7374],{"type":208,"tag":216,"props":7367,"children":7368},{"style":1568},[7369],{"type":213,"value":2174},{"type":208,"tag":216,"props":7371,"children":7372},{"style":1574},[7373],{"type":213,"value":1577},{"type":208,"tag":216,"props":7375,"children":7376},{"style":1568},[7377],{"type":213,"value":1604},{"type":208,"tag":216,"props":7379,"children":7380},{"class":668,"line":2210},[7381],{"type":208,"tag":216,"props":7382,"children":7383},{"emptyLinePlaceholder":872},[7384],{"type":213,"value":873},{"type":208,"tag":216,"props":7386,"children":7387},{"class":668,"line":2283},[7388,7392,7396],{"type":208,"tag":216,"props":7389,"children":7390},{"style":1568},[7391],{"type":213,"value":1571},{"type":208,"tag":216,"props":7393,"children":7394},{"style":1574},[7395],{"type":213,"value":2203},{"type":208,"tag":216,"props":7397,"children":7398},{"style":1568},[7399],{"type":213,"value":1604},{"type":208,"tag":216,"props":7401,"children":7402},{"class":668,"line":2944},[7403,7407,7411,7415,7419,7423,7427,7431,7435,7439,7443,7447,7451,7455,7459],{"type":208,"tag":216,"props":7404,"children":7405},{"style":1568},[7406],{"type":213,"value":2216},{"type":208,"tag":216,"props":7408,"children":7409},{"style":1574},[7410],{"type":213,"value":2221},{"type":208,"tag":216,"props":7412,"children":7413},{"style":1568},[7414],{"type":213,"value":2226},{"type":208,"tag":216,"props":7416,"children":7417},{"style":1580},[7418],{"type":213,"value":2231},{"type":208,"tag":216,"props":7420,"children":7421},{"style":1568},[7422],{"type":213,"value":1588},{"type":208,"tag":216,"props":7424,"children":7425},{"style":1591},[7426],{"type":213,"value":2240},{"type":208,"tag":216,"props":7428,"children":7429},{"style":1568},[7430],{"type":213,"value":2231},{"type":208,"tag":216,"props":7432,"children":7433},{"style":1591},[7434],{"type":213,"value":2240},{"type":208,"tag":216,"props":7436,"children":7437},{"style":1568},[7438],{"type":213,"value":2253},{"type":208,"tag":216,"props":7440,"children":7441},{"style":1580},[7442],{"type":213,"value":2258},{"type":208,"tag":216,"props":7444,"children":7445},{"style":1568},[7446],{"type":213,"value":1588},{"type":208,"tag":216,"props":7448,"children":7449},{"style":1591},[7450],{"type":213,"value":2240},{"type":208,"tag":216,"props":7452,"children":7453},{"style":1568},[7454],{"type":213,"value":2271},{"type":208,"tag":216,"props":7456,"children":7457},{"style":1591},[7458],{"type":213,"value":2240},{"type":208,"tag":216,"props":7460,"children":7461},{"style":1568},[7462],{"type":213,"value":2280},{"type":208,"tag":216,"props":7464,"children":7465},{"class":668,"line":4246},[7466,7470,7474],{"type":208,"tag":216,"props":7467,"children":7468},{"style":1568},[7469],{"type":213,"value":2174},{"type":208,"tag":216,"props":7471,"children":7472},{"style":1574},[7473],{"type":213,"value":2203},{"type":208,"tag":216,"props":7475,"children":7476},{"style":1568},[7477],{"type":213,"value":1604},{"type":208,"tag":1422,"props":7479,"children":7480},{},[7481],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":7483},[],{"data":7485,"body":7486,"toc":8097},{"title":663,"description":663},{"type":205,"children":7487},[7488,8093],{"type":208,"tag":1551,"props":7489,"children":7490},{},[7491],{"type":208,"tag":658,"props":7492,"children":7494},{"className":1556,"code":7493,"language":1558,"meta":663,"style":663},"\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  agree: afz.boolean({\n    controlProps: {\n      label: '我已阅读并同意服务条款'\n    }\n  })\n    .refine(val => val === true, '必须同意条款才能继续')\n    .meta({\n      label: '复选框'\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",[7495],{"type":208,"tag":239,"props":7496,"children":7497},{"__ignoreMap":663},[7498,7529,7552,7575,7582,7613,7636,7643,7670,7686,7693,7705,7712,7719,7773,7788,7800,7807,7814,7821,7880,7895,7910,7925,7964,7971,7978,7993,8000,8015,8078],{"type":208,"tag":216,"props":7499,"children":7500},{"class":668,"line":669},[7501,7505,7509,7513,7517,7521,7525],{"type":208,"tag":216,"props":7502,"children":7503},{"style":1568},[7504],{"type":213,"value":1571},{"type":208,"tag":216,"props":7506,"children":7507},{"style":1574},[7508],{"type":213,"value":1577},{"type":208,"tag":216,"props":7510,"children":7511},{"style":1580},[7512],{"type":213,"value":1583},{"type":208,"tag":216,"props":7514,"children":7515},{"style":1568},[7516],{"type":213,"value":1588},{"type":208,"tag":216,"props":7518,"children":7519},{"style":1591},[7520],{"type":213,"value":1594},{"type":208,"tag":216,"props":7522,"children":7523},{"style":1580},[7524],{"type":213,"value":1599},{"type":208,"tag":216,"props":7526,"children":7527},{"style":1568},[7528],{"type":213,"value":1604},{"type":208,"tag":216,"props":7530,"children":7531},{"class":668,"line":695},[7532,7536,7540,7544,7548],{"type":208,"tag":216,"props":7533,"children":7534},{"style":1610},[7535],{"type":213,"value":858},{"type":208,"tag":216,"props":7537,"children":7538},{"style":1610},[7539],{"type":213,"value":1617},{"type":208,"tag":216,"props":7541,"children":7542},{"style":1568},[7543],{"type":213,"value":1622},{"type":208,"tag":216,"props":7545,"children":7546},{"style":1610},[7547],{"type":213,"value":864},{"type":208,"tag":216,"props":7549,"children":7550},{"style":1591},[7551],{"type":213,"value":1631},{"type":208,"tag":216,"props":7553,"children":7554},{"class":668,"line":707},[7555,7559,7563,7567,7571],{"type":208,"tag":216,"props":7556,"children":7557},{"style":1610},[7558],{"type":213,"value":858},{"type":208,"tag":216,"props":7560,"children":7561},{"style":1610},[7562],{"type":213,"value":1617},{"type":208,"tag":216,"props":7564,"children":7565},{"style":1568},[7566],{"type":213,"value":1647},{"type":208,"tag":216,"props":7568,"children":7569},{"style":1610},[7570],{"type":213,"value":864},{"type":208,"tag":216,"props":7572,"children":7573},{"style":1591},[7574],{"type":213,"value":1656},{"type":208,"tag":216,"props":7576,"children":7577},{"class":668,"line":716},[7578],{"type":208,"tag":216,"props":7579,"children":7580},{"emptyLinePlaceholder":872},[7581],{"type":213,"value":873},{"type":208,"tag":216,"props":7583,"children":7584},{"class":668,"line":783},[7585,7589,7593,7597,7601,7605,7609],{"type":208,"tag":216,"props":7586,"children":7587},{"style":1610},[7588],{"type":213,"value":939},{"type":208,"tag":216,"props":7590,"children":7591},{"style":1568},[7592],{"type":213,"value":1675},{"type":208,"tag":216,"props":7594,"children":7595},{"style":1678},[7596],{"type":213,"value":1681},{"type":208,"tag":216,"props":7598,"children":7599},{"style":1568},[7600],{"type":213,"value":1686},{"type":208,"tag":216,"props":7602,"children":7603},{"style":1610},[7604],{"type":213,"value":1588},{"type":208,"tag":216,"props":7606,"children":7607},{"style":1580},[7608],{"type":213,"value":1695},{"type":208,"tag":216,"props":7610,"children":7611},{"style":1568},[7612],{"type":213,"value":1700},{"type":208,"tag":216,"props":7614,"children":7615},{"class":668,"line":800},[7616,7620,7624,7628,7632],{"type":208,"tag":216,"props":7617,"children":7618},{"style":1610},[7619],{"type":213,"value":939},{"type":208,"tag":216,"props":7621,"children":7622},{"style":1678},[7623],{"type":213,"value":1712},{"type":208,"tag":216,"props":7625,"children":7626},{"style":1610},[7627],{"type":213,"value":946},{"type":208,"tag":216,"props":7629,"children":7630},{"style":1580},[7631],{"type":213,"value":1721},{"type":208,"tag":216,"props":7633,"children":7634},{"style":1568},[7635],{"type":213,"value":1700},{"type":208,"tag":216,"props":7637,"children":7638},{"class":668,"line":815},[7639],{"type":208,"tag":216,"props":7640,"children":7641},{"emptyLinePlaceholder":872},[7642],{"type":213,"value":873},{"type":208,"tag":216,"props":7644,"children":7645},{"class":668,"line":821},[7646,7650,7654,7658,7662,7666],{"type":208,"tag":216,"props":7647,"children":7648},{"style":1610},[7649],{"type":213,"value":939},{"type":208,"tag":216,"props":7651,"children":7652},{"style":1678},[7653],{"type":213,"value":982},{"type":208,"tag":216,"props":7655,"children":7656},{"style":1610},[7657],{"type":213,"value":946},{"type":208,"tag":216,"props":7659,"children":7660},{"style":1568},[7661],{"type":213,"value":987},{"type":208,"tag":216,"props":7663,"children":7664},{"style":1580},[7665],{"type":213,"value":990},{"type":208,"tag":216,"props":7667,"children":7668},{"style":1568},[7669],{"type":213,"value":993},{"type":208,"tag":216,"props":7671,"children":7672},{"class":668,"line":827},[7673,7678,7682],{"type":208,"tag":216,"props":7674,"children":7675},{"style":1568},[7676],{"type":213,"value":7677},"  agree: afz.",{"type":208,"tag":216,"props":7679,"children":7680},{"style":1580},[7681],{"type":213,"value":410},{"type":208,"tag":216,"props":7683,"children":7684},{"style":1568},[7685],{"type":213,"value":993},{"type":208,"tag":216,"props":7687,"children":7688},{"class":668,"line":832},[7689],{"type":208,"tag":216,"props":7690,"children":7691},{"style":1568},[7692],{"type":213,"value":1018},{"type":208,"tag":216,"props":7694,"children":7695},{"class":668,"line":838},[7696,7700],{"type":208,"tag":216,"props":7697,"children":7698},{"style":1568},[7699],{"type":213,"value":1913},{"type":208,"tag":216,"props":7701,"children":7702},{"style":1591},[7703],{"type":213,"value":7704},"'我已阅读并同意服务条款'\n",{"type":208,"tag":216,"props":7706,"children":7707},{"class":668,"line":1151},[7708],{"type":208,"tag":216,"props":7709,"children":7710},{"style":1568},[7711],{"type":213,"value":1036},{"type":208,"tag":216,"props":7713,"children":7714},{"class":668,"line":1276},[7715],{"type":208,"tag":216,"props":7716,"children":7717},{"style":1568},[7718],{"type":213,"value":1041},{"type":208,"tag":216,"props":7720,"children":7721},{"class":668,"line":1282},[7722,7726,7731,7735,7740,7745,7750,7755,7760,7764,7769],{"type":208,"tag":216,"props":7723,"children":7724},{"style":1568},[7725],{"type":213,"value":1823},{"type":208,"tag":216,"props":7727,"children":7728},{"style":1580},[7729],{"type":213,"value":7730},"refine",{"type":208,"tag":216,"props":7732,"children":7733},{"style":1568},[7734],{"type":213,"value":1833},{"type":208,"tag":216,"props":7736,"children":7737},{"style":2004},[7738],{"type":213,"value":7739},"val",{"type":208,"tag":216,"props":7741,"children":7742},{"style":1610},[7743],{"type":213,"value":7744}," =>",{"type":208,"tag":216,"props":7746,"children":7747},{"style":1568},[7748],{"type":213,"value":7749}," val ",{"type":208,"tag":216,"props":7751,"children":7752},{"style":1610},[7753],{"type":213,"value":7754},"===",{"type":208,"tag":216,"props":7756,"children":7757},{"style":1678},[7758],{"type":213,"value":7759}," true",{"type":208,"tag":216,"props":7761,"children":7762},{"style":1568},[7763],{"type":213,"value":686},{"type":208,"tag":216,"props":7765,"children":7766},{"style":1591},[7767],{"type":213,"value":7768},"'必须同意条款才能继续'",{"type":208,"tag":216,"props":7770,"children":7771},{"style":1568},[7772],{"type":213,"value":1852},{"type":208,"tag":216,"props":7774,"children":7775},{"class":668,"line":1855},[7776,7780,7784],{"type":208,"tag":216,"props":7777,"children":7778},{"style":1568},[7779],{"type":213,"value":1823},{"type":208,"tag":216,"props":7781,"children":7782},{"style":1580},[7783],{"type":213,"value":1900},{"type":208,"tag":216,"props":7785,"children":7786},{"style":1568},[7787],{"type":213,"value":993},{"type":208,"tag":216,"props":7789,"children":7790},{"class":668,"line":1890},[7791,7795],{"type":208,"tag":216,"props":7792,"children":7793},{"style":1568},[7794],{"type":213,"value":1913},{"type":208,"tag":216,"props":7796,"children":7797},{"style":1591},[7798],{"type":213,"value":7799},"'复选框'\n",{"type":208,"tag":216,"props":7801,"children":7802},{"class":668,"line":1907},[7803],{"type":208,"tag":216,"props":7804,"children":7805},{"style":1568},[7806],{"type":213,"value":1962},{"type":208,"tag":216,"props":7808,"children":7809},{"class":668,"line":1925},[7810],{"type":208,"tag":216,"props":7811,"children":7812},{"style":1568},[7813],{"type":213,"value":719},{"type":208,"tag":216,"props":7815,"children":7816},{"class":668,"line":1942},[7817],{"type":208,"tag":216,"props":7818,"children":7819},{"emptyLinePlaceholder":872},[7820],{"type":213,"value":873},{"type":208,"tag":216,"props":7822,"children":7823},{"class":668,"line":1956},[7824,7828,7832,7836,7840,7844,7848,7852,7856,7860,7864,7868,7872,7876],{"type":208,"tag":216,"props":7825,"children":7826},{"style":1610},[7827],{"type":213,"value":1987},{"type":208,"tag":216,"props":7829,"children":7830},{"style":1610},[7831],{"type":213,"value":1992},{"type":208,"tag":216,"props":7833,"children":7834},{"style":1580},[7835],{"type":213,"value":1997},{"type":208,"tag":216,"props":7837,"children":7838},{"style":1568},[7839],{"type":213,"value":1833},{"type":208,"tag":216,"props":7841,"children":7842},{"style":2004},[7843],{"type":213,"value":2007},{"type":208,"tag":216,"props":7845,"children":7846},{"style":1610},[7847],{"type":213,"value":262},{"type":208,"tag":216,"props":7849,"children":7850},{"style":1580},[7851],{"type":213,"value":2016},{"type":208,"tag":216,"props":7853,"children":7854},{"style":1568},[7855],{"type":213,"value":1571},{"type":208,"tag":216,"props":7857,"children":7858},{"style":1580},[7859],{"type":213,"value":2025},{"type":208,"tag":216,"props":7861,"children":7862},{"style":1568},[7863],{"type":213,"value":470},{"type":208,"tag":216,"props":7865,"children":7866},{"style":1580},[7867],{"type":213,"value":2034},{"type":208,"tag":216,"props":7869,"children":7870},{"style":1568},[7871],{"type":213,"value":1571},{"type":208,"tag":216,"props":7873,"children":7874},{"style":1610},[7875],{"type":213,"value":2043},{"type":208,"tag":216,"props":7877,"children":7878},{"style":1568},[7879],{"type":213,"value":2048},{"type":208,"tag":216,"props":7881,"children":7882},{"class":668,"line":1965},[7883,7887,7891],{"type":208,"tag":216,"props":7884,"children":7885},{"style":1568},[7886],{"type":213,"value":2057},{"type":208,"tag":216,"props":7888,"children":7889},{"style":1580},[7890],{"type":213,"value":2062},{"type":208,"tag":216,"props":7892,"children":7893},{"style":1568},[7894],{"type":213,"value":993},{"type":208,"tag":216,"props":7896,"children":7897},{"class":668,"line":1973},[7898,7902,7906],{"type":208,"tag":216,"props":7899,"children":7900},{"style":1568},[7901],{"type":213,"value":2075},{"type":208,"tag":216,"props":7903,"children":7904},{"style":1591},[7905],{"type":213,"value":2080},{"type":208,"tag":216,"props":7907,"children":7908},{"style":1568},[7909],{"type":213,"value":704},{"type":208,"tag":216,"props":7911,"children":7912},{"class":668,"line":1981},[7913,7917,7921],{"type":208,"tag":216,"props":7914,"children":7915},{"style":1568},[7916],{"type":213,"value":2093},{"type":208,"tag":216,"props":7918,"children":7919},{"style":1591},[7920],{"type":213,"value":2098},{"type":208,"tag":216,"props":7922,"children":7923},{"style":1568},[7924],{"type":213,"value":704},{"type":208,"tag":216,"props":7926,"children":7927},{"class":668,"line":2051},[7928,7932,7936,7940,7944,7948,7952,7956,7960],{"type":208,"tag":216,"props":7929,"children":7930},{"style":1568},[7931],{"type":213,"value":2111},{"type":208,"tag":216,"props":7933,"children":7934},{"style":1678},[7935],{"type":213,"value":2116},{"type":208,"tag":216,"props":7937,"children":7938},{"style":1568},[7939],{"type":213,"value":470},{"type":208,"tag":216,"props":7941,"children":7942},{"style":1580},[7943],{"type":213,"value":2125},{"type":208,"tag":216,"props":7945,"children":7946},{"style":1568},[7947],{"type":213,"value":2130},{"type":208,"tag":216,"props":7949,"children":7950},{"style":1678},[7951],{"type":213,"value":2135},{"type":208,"tag":216,"props":7953,"children":7954},{"style":1568},[7955],{"type":213,"value":686},{"type":208,"tag":216,"props":7957,"children":7958},{"style":1678},[7959],{"type":213,"value":2144},{"type":208,"tag":216,"props":7961,"children":7962},{"style":1568},[7963],{"type":213,"value":1852},{"type":208,"tag":216,"props":7965,"children":7966},{"class":668,"line":2069},[7967],{"type":208,"tag":216,"props":7968,"children":7969},{"style":1568},[7970],{"type":213,"value":1041},{"type":208,"tag":216,"props":7972,"children":7973},{"class":668,"line":2087},[7974],{"type":208,"tag":216,"props":7975,"children":7976},{"style":1568},[7977],{"type":213,"value":2165},{"type":208,"tag":216,"props":7979,"children":7980},{"class":668,"line":2105},[7981,7985,7989],{"type":208,"tag":216,"props":7982,"children":7983},{"style":1568},[7984],{"type":213,"value":2174},{"type":208,"tag":216,"props":7986,"children":7987},{"style":1574},[7988],{"type":213,"value":1577},{"type":208,"tag":216,"props":7990,"children":7991},{"style":1568},[7992],{"type":213,"value":1604},{"type":208,"tag":216,"props":7994,"children":7995},{"class":668,"line":2151},[7996],{"type":208,"tag":216,"props":7997,"children":7998},{"emptyLinePlaceholder":872},[7999],{"type":213,"value":873},{"type":208,"tag":216,"props":8001,"children":8002},{"class":668,"line":2159},[8003,8007,8011],{"type":208,"tag":216,"props":8004,"children":8005},{"style":1568},[8006],{"type":213,"value":1571},{"type":208,"tag":216,"props":8008,"children":8009},{"style":1574},[8010],{"type":213,"value":2203},{"type":208,"tag":216,"props":8012,"children":8013},{"style":1568},[8014],{"type":213,"value":1604},{"type":208,"tag":216,"props":8016,"children":8017},{"class":668,"line":2168},[8018,8022,8026,8030,8034,8038,8042,8046,8050,8054,8058,8062,8066,8070,8074],{"type":208,"tag":216,"props":8019,"children":8020},{"style":1568},[8021],{"type":213,"value":2216},{"type":208,"tag":216,"props":8023,"children":8024},{"style":1574},[8025],{"type":213,"value":2221},{"type":208,"tag":216,"props":8027,"children":8028},{"style":1568},[8029],{"type":213,"value":2226},{"type":208,"tag":216,"props":8031,"children":8032},{"style":1580},[8033],{"type":213,"value":2231},{"type":208,"tag":216,"props":8035,"children":8036},{"style":1568},[8037],{"type":213,"value":1588},{"type":208,"tag":216,"props":8039,"children":8040},{"style":1591},[8041],{"type":213,"value":2240},{"type":208,"tag":216,"props":8043,"children":8044},{"style":1568},[8045],{"type":213,"value":2231},{"type":208,"tag":216,"props":8047,"children":8048},{"style":1591},[8049],{"type":213,"value":2240},{"type":208,"tag":216,"props":8051,"children":8052},{"style":1568},[8053],{"type":213,"value":2253},{"type":208,"tag":216,"props":8055,"children":8056},{"style":1580},[8057],{"type":213,"value":2258},{"type":208,"tag":216,"props":8059,"children":8060},{"style":1568},[8061],{"type":213,"value":1588},{"type":208,"tag":216,"props":8063,"children":8064},{"style":1591},[8065],{"type":213,"value":2240},{"type":208,"tag":216,"props":8067,"children":8068},{"style":1568},[8069],{"type":213,"value":2271},{"type":208,"tag":216,"props":8071,"children":8072},{"style":1591},[8073],{"type":213,"value":2240},{"type":208,"tag":216,"props":8075,"children":8076},{"style":1568},[8077],{"type":213,"value":2280},{"type":208,"tag":216,"props":8079,"children":8080},{"class":668,"line":2185},[8081,8085,8089],{"type":208,"tag":216,"props":8082,"children":8083},{"style":1568},[8084],{"type":213,"value":2174},{"type":208,"tag":216,"props":8086,"children":8087},{"style":1574},[8088],{"type":213,"value":2203},{"type":208,"tag":216,"props":8090,"children":8091},{"style":1568},[8092],{"type":213,"value":1604},{"type":208,"tag":1422,"props":8094,"children":8095},{},[8096],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":8098},[],{"data":8100,"body":8101,"toc":8683},{"title":663,"description":663},{"type":205,"children":8102},[8103,8679],{"type":208,"tag":1551,"props":8104,"children":8105},{},[8106],{"type":208,"tag":658,"props":8107,"children":8109},{"className":1556,"code":8108,"language":1558,"meta":663,"style":663},"\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  enabled: afz.boolean({\n    type: 'switch'\n  })\n    .default(true)\n    .meta({\n      label: '开关',\n      hint: '切换功能启用\u002F禁用状态'\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",[8110],{"type":208,"tag":239,"props":8111,"children":8112},{"__ignoreMap":663},[8113,8144,8167,8190,8197,8228,8251,8258,8285,8301,8313,8320,8343,8358,8374,8386,8393,8400,8407,8466,8481,8496,8511,8550,8557,8564,8579,8586,8601,8664],{"type":208,"tag":216,"props":8114,"children":8115},{"class":668,"line":669},[8116,8120,8124,8128,8132,8136,8140],{"type":208,"tag":216,"props":8117,"children":8118},{"style":1568},[8119],{"type":213,"value":1571},{"type":208,"tag":216,"props":8121,"children":8122},{"style":1574},[8123],{"type":213,"value":1577},{"type":208,"tag":216,"props":8125,"children":8126},{"style":1580},[8127],{"type":213,"value":1583},{"type":208,"tag":216,"props":8129,"children":8130},{"style":1568},[8131],{"type":213,"value":1588},{"type":208,"tag":216,"props":8133,"children":8134},{"style":1591},[8135],{"type":213,"value":1594},{"type":208,"tag":216,"props":8137,"children":8138},{"style":1580},[8139],{"type":213,"value":1599},{"type":208,"tag":216,"props":8141,"children":8142},{"style":1568},[8143],{"type":213,"value":1604},{"type":208,"tag":216,"props":8145,"children":8146},{"class":668,"line":695},[8147,8151,8155,8159,8163],{"type":208,"tag":216,"props":8148,"children":8149},{"style":1610},[8150],{"type":213,"value":858},{"type":208,"tag":216,"props":8152,"children":8153},{"style":1610},[8154],{"type":213,"value":1617},{"type":208,"tag":216,"props":8156,"children":8157},{"style":1568},[8158],{"type":213,"value":1622},{"type":208,"tag":216,"props":8160,"children":8161},{"style":1610},[8162],{"type":213,"value":864},{"type":208,"tag":216,"props":8164,"children":8165},{"style":1591},[8166],{"type":213,"value":1631},{"type":208,"tag":216,"props":8168,"children":8169},{"class":668,"line":707},[8170,8174,8178,8182,8186],{"type":208,"tag":216,"props":8171,"children":8172},{"style":1610},[8173],{"type":213,"value":858},{"type":208,"tag":216,"props":8175,"children":8176},{"style":1610},[8177],{"type":213,"value":1617},{"type":208,"tag":216,"props":8179,"children":8180},{"style":1568},[8181],{"type":213,"value":1647},{"type":208,"tag":216,"props":8183,"children":8184},{"style":1610},[8185],{"type":213,"value":864},{"type":208,"tag":216,"props":8187,"children":8188},{"style":1591},[8189],{"type":213,"value":1656},{"type":208,"tag":216,"props":8191,"children":8192},{"class":668,"line":716},[8193],{"type":208,"tag":216,"props":8194,"children":8195},{"emptyLinePlaceholder":872},[8196],{"type":213,"value":873},{"type":208,"tag":216,"props":8198,"children":8199},{"class":668,"line":783},[8200,8204,8208,8212,8216,8220,8224],{"type":208,"tag":216,"props":8201,"children":8202},{"style":1610},[8203],{"type":213,"value":939},{"type":208,"tag":216,"props":8205,"children":8206},{"style":1568},[8207],{"type":213,"value":1675},{"type":208,"tag":216,"props":8209,"children":8210},{"style":1678},[8211],{"type":213,"value":1681},{"type":208,"tag":216,"props":8213,"children":8214},{"style":1568},[8215],{"type":213,"value":1686},{"type":208,"tag":216,"props":8217,"children":8218},{"style":1610},[8219],{"type":213,"value":1588},{"type":208,"tag":216,"props":8221,"children":8222},{"style":1580},[8223],{"type":213,"value":1695},{"type":208,"tag":216,"props":8225,"children":8226},{"style":1568},[8227],{"type":213,"value":1700},{"type":208,"tag":216,"props":8229,"children":8230},{"class":668,"line":800},[8231,8235,8239,8243,8247],{"type":208,"tag":216,"props":8232,"children":8233},{"style":1610},[8234],{"type":213,"value":939},{"type":208,"tag":216,"props":8236,"children":8237},{"style":1678},[8238],{"type":213,"value":1712},{"type":208,"tag":216,"props":8240,"children":8241},{"style":1610},[8242],{"type":213,"value":946},{"type":208,"tag":216,"props":8244,"children":8245},{"style":1580},[8246],{"type":213,"value":1721},{"type":208,"tag":216,"props":8248,"children":8249},{"style":1568},[8250],{"type":213,"value":1700},{"type":208,"tag":216,"props":8252,"children":8253},{"class":668,"line":815},[8254],{"type":208,"tag":216,"props":8255,"children":8256},{"emptyLinePlaceholder":872},[8257],{"type":213,"value":873},{"type":208,"tag":216,"props":8259,"children":8260},{"class":668,"line":821},[8261,8265,8269,8273,8277,8281],{"type":208,"tag":216,"props":8262,"children":8263},{"style":1610},[8264],{"type":213,"value":939},{"type":208,"tag":216,"props":8266,"children":8267},{"style":1678},[8268],{"type":213,"value":982},{"type":208,"tag":216,"props":8270,"children":8271},{"style":1610},[8272],{"type":213,"value":946},{"type":208,"tag":216,"props":8274,"children":8275},{"style":1568},[8276],{"type":213,"value":987},{"type":208,"tag":216,"props":8278,"children":8279},{"style":1580},[8280],{"type":213,"value":990},{"type":208,"tag":216,"props":8282,"children":8283},{"style":1568},[8284],{"type":213,"value":993},{"type":208,"tag":216,"props":8286,"children":8287},{"class":668,"line":827},[8288,8293,8297],{"type":208,"tag":216,"props":8289,"children":8290},{"style":1568},[8291],{"type":213,"value":8292},"  enabled: afz.",{"type":208,"tag":216,"props":8294,"children":8295},{"style":1580},[8296],{"type":213,"value":410},{"type":208,"tag":216,"props":8298,"children":8299},{"style":1568},[8300],{"type":213,"value":993},{"type":208,"tag":216,"props":8302,"children":8303},{"class":668,"line":832},[8304,8308],{"type":208,"tag":216,"props":8305,"children":8306},{"style":1568},[8307],{"type":213,"value":1008},{"type":208,"tag":216,"props":8309,"children":8310},{"style":1591},[8311],{"type":213,"value":8312},"'switch'\n",{"type":208,"tag":216,"props":8314,"children":8315},{"class":668,"line":838},[8316],{"type":208,"tag":216,"props":8317,"children":8318},{"style":1568},[8319],{"type":213,"value":1041},{"type":208,"tag":216,"props":8321,"children":8322},{"class":668,"line":1151},[8323,8327,8331,8335,8339],{"type":208,"tag":216,"props":8324,"children":8325},{"style":1568},[8326],{"type":213,"value":1823},{"type":208,"tag":216,"props":8328,"children":8329},{"style":1580},[8330],{"type":213,"value":6442},{"type":208,"tag":216,"props":8332,"children":8333},{"style":1568},[8334],{"type":213,"value":1833},{"type":208,"tag":216,"props":8336,"children":8337},{"style":1678},[8338],{"type":213,"value":266},{"type":208,"tag":216,"props":8340,"children":8341},{"style":1568},[8342],{"type":213,"value":1852},{"type":208,"tag":216,"props":8344,"children":8345},{"class":668,"line":1276},[8346,8350,8354],{"type":208,"tag":216,"props":8347,"children":8348},{"style":1568},[8349],{"type":213,"value":1823},{"type":208,"tag":216,"props":8351,"children":8352},{"style":1580},[8353],{"type":213,"value":1900},{"type":208,"tag":216,"props":8355,"children":8356},{"style":1568},[8357],{"type":213,"value":993},{"type":208,"tag":216,"props":8359,"children":8360},{"class":668,"line":1282},[8361,8365,8370],{"type":208,"tag":216,"props":8362,"children":8363},{"style":1568},[8364],{"type":213,"value":1913},{"type":208,"tag":216,"props":8366,"children":8367},{"style":1591},[8368],{"type":213,"value":8369},"'开关'",{"type":208,"tag":216,"props":8371,"children":8372},{"style":1568},[8373],{"type":213,"value":704},{"type":208,"tag":216,"props":8375,"children":8376},{"class":668,"line":1855},[8377,8381],{"type":208,"tag":216,"props":8378,"children":8379},{"style":1568},[8380],{"type":213,"value":1948},{"type":208,"tag":216,"props":8382,"children":8383},{"style":1591},[8384],{"type":213,"value":8385},"'切换功能启用\u002F禁用状态'\n",{"type":208,"tag":216,"props":8387,"children":8388},{"class":668,"line":1890},[8389],{"type":208,"tag":216,"props":8390,"children":8391},{"style":1568},[8392],{"type":213,"value":1962},{"type":208,"tag":216,"props":8394,"children":8395},{"class":668,"line":1907},[8396],{"type":208,"tag":216,"props":8397,"children":8398},{"style":1568},[8399],{"type":213,"value":719},{"type":208,"tag":216,"props":8401,"children":8402},{"class":668,"line":1925},[8403],{"type":208,"tag":216,"props":8404,"children":8405},{"emptyLinePlaceholder":872},[8406],{"type":213,"value":873},{"type":208,"tag":216,"props":8408,"children":8409},{"class":668,"line":1942},[8410,8414,8418,8422,8426,8430,8434,8438,8442,8446,8450,8454,8458,8462],{"type":208,"tag":216,"props":8411,"children":8412},{"style":1610},[8413],{"type":213,"value":1987},{"type":208,"tag":216,"props":8415,"children":8416},{"style":1610},[8417],{"type":213,"value":1992},{"type":208,"tag":216,"props":8419,"children":8420},{"style":1580},[8421],{"type":213,"value":1997},{"type":208,"tag":216,"props":8423,"children":8424},{"style":1568},[8425],{"type":213,"value":1833},{"type":208,"tag":216,"props":8427,"children":8428},{"style":2004},[8429],{"type":213,"value":2007},{"type":208,"tag":216,"props":8431,"children":8432},{"style":1610},[8433],{"type":213,"value":262},{"type":208,"tag":216,"props":8435,"children":8436},{"style":1580},[8437],{"type":213,"value":2016},{"type":208,"tag":216,"props":8439,"children":8440},{"style":1568},[8441],{"type":213,"value":1571},{"type":208,"tag":216,"props":8443,"children":8444},{"style":1580},[8445],{"type":213,"value":2025},{"type":208,"tag":216,"props":8447,"children":8448},{"style":1568},[8449],{"type":213,"value":470},{"type":208,"tag":216,"props":8451,"children":8452},{"style":1580},[8453],{"type":213,"value":2034},{"type":208,"tag":216,"props":8455,"children":8456},{"style":1568},[8457],{"type":213,"value":1571},{"type":208,"tag":216,"props":8459,"children":8460},{"style":1610},[8461],{"type":213,"value":2043},{"type":208,"tag":216,"props":8463,"children":8464},{"style":1568},[8465],{"type":213,"value":2048},{"type":208,"tag":216,"props":8467,"children":8468},{"class":668,"line":1956},[8469,8473,8477],{"type":208,"tag":216,"props":8470,"children":8471},{"style":1568},[8472],{"type":213,"value":2057},{"type":208,"tag":216,"props":8474,"children":8475},{"style":1580},[8476],{"type":213,"value":2062},{"type":208,"tag":216,"props":8478,"children":8479},{"style":1568},[8480],{"type":213,"value":993},{"type":208,"tag":216,"props":8482,"children":8483},{"class":668,"line":1965},[8484,8488,8492],{"type":208,"tag":216,"props":8485,"children":8486},{"style":1568},[8487],{"type":213,"value":2075},{"type":208,"tag":216,"props":8489,"children":8490},{"style":1591},[8491],{"type":213,"value":2080},{"type":208,"tag":216,"props":8493,"children":8494},{"style":1568},[8495],{"type":213,"value":704},{"type":208,"tag":216,"props":8497,"children":8498},{"class":668,"line":1973},[8499,8503,8507],{"type":208,"tag":216,"props":8500,"children":8501},{"style":1568},[8502],{"type":213,"value":2093},{"type":208,"tag":216,"props":8504,"children":8505},{"style":1591},[8506],{"type":213,"value":2098},{"type":208,"tag":216,"props":8508,"children":8509},{"style":1568},[8510],{"type":213,"value":704},{"type":208,"tag":216,"props":8512,"children":8513},{"class":668,"line":1981},[8514,8518,8522,8526,8530,8534,8538,8542,8546],{"type":208,"tag":216,"props":8515,"children":8516},{"style":1568},[8517],{"type":213,"value":2111},{"type":208,"tag":216,"props":8519,"children":8520},{"style":1678},[8521],{"type":213,"value":2116},{"type":208,"tag":216,"props":8523,"children":8524},{"style":1568},[8525],{"type":213,"value":470},{"type":208,"tag":216,"props":8527,"children":8528},{"style":1580},[8529],{"type":213,"value":2125},{"type":208,"tag":216,"props":8531,"children":8532},{"style":1568},[8533],{"type":213,"value":2130},{"type":208,"tag":216,"props":8535,"children":8536},{"style":1678},[8537],{"type":213,"value":2135},{"type":208,"tag":216,"props":8539,"children":8540},{"style":1568},[8541],{"type":213,"value":686},{"type":208,"tag":216,"props":8543,"children":8544},{"style":1678},[8545],{"type":213,"value":2144},{"type":208,"tag":216,"props":8547,"children":8548},{"style":1568},[8549],{"type":213,"value":1852},{"type":208,"tag":216,"props":8551,"children":8552},{"class":668,"line":2051},[8553],{"type":208,"tag":216,"props":8554,"children":8555},{"style":1568},[8556],{"type":213,"value":1041},{"type":208,"tag":216,"props":8558,"children":8559},{"class":668,"line":2069},[8560],{"type":208,"tag":216,"props":8561,"children":8562},{"style":1568},[8563],{"type":213,"value":2165},{"type":208,"tag":216,"props":8565,"children":8566},{"class":668,"line":2087},[8567,8571,8575],{"type":208,"tag":216,"props":8568,"children":8569},{"style":1568},[8570],{"type":213,"value":2174},{"type":208,"tag":216,"props":8572,"children":8573},{"style":1574},[8574],{"type":213,"value":1577},{"type":208,"tag":216,"props":8576,"children":8577},{"style":1568},[8578],{"type":213,"value":1604},{"type":208,"tag":216,"props":8580,"children":8581},{"class":668,"line":2105},[8582],{"type":208,"tag":216,"props":8583,"children":8584},{"emptyLinePlaceholder":872},[8585],{"type":213,"value":873},{"type":208,"tag":216,"props":8587,"children":8588},{"class":668,"line":2151},[8589,8593,8597],{"type":208,"tag":216,"props":8590,"children":8591},{"style":1568},[8592],{"type":213,"value":1571},{"type":208,"tag":216,"props":8594,"children":8595},{"style":1574},[8596],{"type":213,"value":2203},{"type":208,"tag":216,"props":8598,"children":8599},{"style":1568},[8600],{"type":213,"value":1604},{"type":208,"tag":216,"props":8602,"children":8603},{"class":668,"line":2159},[8604,8608,8612,8616,8620,8624,8628,8632,8636,8640,8644,8648,8652,8656,8660],{"type":208,"tag":216,"props":8605,"children":8606},{"style":1568},[8607],{"type":213,"value":2216},{"type":208,"tag":216,"props":8609,"children":8610},{"style":1574},[8611],{"type":213,"value":2221},{"type":208,"tag":216,"props":8613,"children":8614},{"style":1568},[8615],{"type":213,"value":2226},{"type":208,"tag":216,"props":8617,"children":8618},{"style":1580},[8619],{"type":213,"value":2231},{"type":208,"tag":216,"props":8621,"children":8622},{"style":1568},[8623],{"type":213,"value":1588},{"type":208,"tag":216,"props":8625,"children":8626},{"style":1591},[8627],{"type":213,"value":2240},{"type":208,"tag":216,"props":8629,"children":8630},{"style":1568},[8631],{"type":213,"value":2231},{"type":208,"tag":216,"props":8633,"children":8634},{"style":1591},[8635],{"type":213,"value":2240},{"type":208,"tag":216,"props":8637,"children":8638},{"style":1568},[8639],{"type":213,"value":2253},{"type":208,"tag":216,"props":8641,"children":8642},{"style":1580},[8643],{"type":213,"value":2258},{"type":208,"tag":216,"props":8645,"children":8646},{"style":1568},[8647],{"type":213,"value":1588},{"type":208,"tag":216,"props":8649,"children":8650},{"style":1591},[8651],{"type":213,"value":2240},{"type":208,"tag":216,"props":8653,"children":8654},{"style":1568},[8655],{"type":213,"value":2271},{"type":208,"tag":216,"props":8657,"children":8658},{"style":1591},[8659],{"type":213,"value":2240},{"type":208,"tag":216,"props":8661,"children":8662},{"style":1568},[8663],{"type":213,"value":2280},{"type":208,"tag":216,"props":8665,"children":8666},{"class":668,"line":2168},[8667,8671,8675],{"type":208,"tag":216,"props":8668,"children":8669},{"style":1568},[8670],{"type":213,"value":2174},{"type":208,"tag":216,"props":8672,"children":8673},{"style":1574},[8674],{"type":213,"value":2203},{"type":208,"tag":216,"props":8676,"children":8677},{"style":1568},[8678],{"type":213,"value":1604},{"type":208,"tag":1422,"props":8680,"children":8681},{},[8682],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":8684},[],{"data":8686,"body":8687,"toc":9126},{"title":663,"description":663},{"type":205,"children":8688},[8689,9122],{"type":208,"tag":1551,"props":8690,"children":8691},{},[8692],{"type":208,"tag":658,"props":8693,"children":8695},{"className":1556,"code":8694,"language":1558,"meta":663,"style":663},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst schema = afz.object({\n  pinned: afz.boolean({\n    type: 'toggle',\n    controlProps: { label: '置顶', activeVariant: 'solid' }\n  }).default(false).meta({ label: '文章设置' })\n})\n\nconst state = reactive\u003Cz.input\u003Ctypeof schema>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit=\"false\" \u002F>\n\u003C\u002Ftemplate>\n\n",[8696],{"type":208,"tag":239,"props":8697,"children":8698},{"__ignoreMap":663},[8699,8730,8753,8760,8791,8818,8834,8850,8877,8921,8928,8935,8985,9000,9007,9022,9107],{"type":208,"tag":216,"props":8700,"children":8701},{"class":668,"line":669},[8702,8706,8710,8714,8718,8722,8726],{"type":208,"tag":216,"props":8703,"children":8704},{"style":1568},[8705],{"type":213,"value":1571},{"type":208,"tag":216,"props":8707,"children":8708},{"style":1574},[8709],{"type":213,"value":1577},{"type":208,"tag":216,"props":8711,"children":8712},{"style":1580},[8713],{"type":213,"value":1599},{"type":208,"tag":216,"props":8715,"children":8716},{"style":1580},[8717],{"type":213,"value":1583},{"type":208,"tag":216,"props":8719,"children":8720},{"style":1568},[8721],{"type":213,"value":1588},{"type":208,"tag":216,"props":8723,"children":8724},{"style":1591},[8725],{"type":213,"value":1594},{"type":208,"tag":216,"props":8727,"children":8728},{"style":1568},[8729],{"type":213,"value":1604},{"type":208,"tag":216,"props":8731,"children":8732},{"class":668,"line":695},[8733,8737,8741,8745,8749],{"type":208,"tag":216,"props":8734,"children":8735},{"style":1610},[8736],{"type":213,"value":858},{"type":208,"tag":216,"props":8738,"children":8739},{"style":1610},[8740],{"type":213,"value":1617},{"type":208,"tag":216,"props":8742,"children":8743},{"style":1568},[8744],{"type":213,"value":1647},{"type":208,"tag":216,"props":8746,"children":8747},{"style":1610},[8748],{"type":213,"value":864},{"type":208,"tag":216,"props":8750,"children":8751},{"style":1591},[8752],{"type":213,"value":1656},{"type":208,"tag":216,"props":8754,"children":8755},{"class":668,"line":707},[8756],{"type":208,"tag":216,"props":8757,"children":8758},{"emptyLinePlaceholder":872},[8759],{"type":213,"value":873},{"type":208,"tag":216,"props":8761,"children":8762},{"class":668,"line":716},[8763,8767,8771,8775,8779,8783,8787],{"type":208,"tag":216,"props":8764,"children":8765},{"style":1610},[8766],{"type":213,"value":939},{"type":208,"tag":216,"props":8768,"children":8769},{"style":1568},[8770],{"type":213,"value":1675},{"type":208,"tag":216,"props":8772,"children":8773},{"style":1678},[8774],{"type":213,"value":1681},{"type":208,"tag":216,"props":8776,"children":8777},{"style":1568},[8778],{"type":213,"value":1686},{"type":208,"tag":216,"props":8780,"children":8781},{"style":1610},[8782],{"type":213,"value":1588},{"type":208,"tag":216,"props":8784,"children":8785},{"style":1580},[8786],{"type":213,"value":1695},{"type":208,"tag":216,"props":8788,"children":8789},{"style":1568},[8790],{"type":213,"value":1700},{"type":208,"tag":216,"props":8792,"children":8793},{"class":668,"line":783},[8794,8798,8802,8806,8810,8814],{"type":208,"tag":216,"props":8795,"children":8796},{"style":1610},[8797],{"type":213,"value":939},{"type":208,"tag":216,"props":8799,"children":8800},{"style":1678},[8801],{"type":213,"value":982},{"type":208,"tag":216,"props":8803,"children":8804},{"style":1610},[8805],{"type":213,"value":946},{"type":208,"tag":216,"props":8807,"children":8808},{"style":1568},[8809],{"type":213,"value":987},{"type":208,"tag":216,"props":8811,"children":8812},{"style":1580},[8813],{"type":213,"value":990},{"type":208,"tag":216,"props":8815,"children":8816},{"style":1568},[8817],{"type":213,"value":993},{"type":208,"tag":216,"props":8819,"children":8820},{"class":668,"line":800},[8821,8826,8830],{"type":208,"tag":216,"props":8822,"children":8823},{"style":1568},[8824],{"type":213,"value":8825},"  pinned: afz.",{"type":208,"tag":216,"props":8827,"children":8828},{"style":1580},[8829],{"type":213,"value":410},{"type":208,"tag":216,"props":8831,"children":8832},{"style":1568},[8833],{"type":213,"value":993},{"type":208,"tag":216,"props":8835,"children":8836},{"class":668,"line":815},[8837,8841,8846],{"type":208,"tag":216,"props":8838,"children":8839},{"style":1568},[8840],{"type":213,"value":1008},{"type":208,"tag":216,"props":8842,"children":8843},{"style":1591},[8844],{"type":213,"value":8845},"'toggle'",{"type":208,"tag":216,"props":8847,"children":8848},{"style":1568},[8849],{"type":213,"value":704},{"type":208,"tag":216,"props":8851,"children":8852},{"class":668,"line":821},[8853,8858,8863,8868,8873],{"type":208,"tag":216,"props":8854,"children":8855},{"style":1568},[8856],{"type":213,"value":8857},"    controlProps: { label: ",{"type":208,"tag":216,"props":8859,"children":8860},{"style":1591},[8861],{"type":213,"value":8862},"'置顶'",{"type":208,"tag":216,"props":8864,"children":8865},{"style":1568},[8866],{"type":213,"value":8867},", activeVariant: ",{"type":208,"tag":216,"props":8869,"children":8870},{"style":1591},[8871],{"type":213,"value":8872},"'solid'",{"type":208,"tag":216,"props":8874,"children":8875},{"style":1568},[8876],{"type":213,"value":812},{"type":208,"tag":216,"props":8878,"children":8879},{"class":668,"line":827},[8880,8884,8888,8892,8897,8902,8906,8911,8916],{"type":208,"tag":216,"props":8881,"children":8882},{"style":1568},[8883],{"type":213,"value":4939},{"type":208,"tag":216,"props":8885,"children":8886},{"style":1580},[8887],{"type":213,"value":6442},{"type":208,"tag":216,"props":8889,"children":8890},{"style":1568},[8891],{"type":213,"value":1833},{"type":208,"tag":216,"props":8893,"children":8894},{"style":1678},[8895],{"type":213,"value":8896},"false",{"type":208,"tag":216,"props":8898,"children":8899},{"style":1568},[8900],{"type":213,"value":8901},").",{"type":208,"tag":216,"props":8903,"children":8904},{"style":1580},[8905],{"type":213,"value":1900},{"type":208,"tag":216,"props":8907,"children":8908},{"style":1568},[8909],{"type":213,"value":8910},"({ label: ",{"type":208,"tag":216,"props":8912,"children":8913},{"style":1591},[8914],{"type":213,"value":8915},"'文章设置'",{"type":208,"tag":216,"props":8917,"children":8918},{"style":1568},[8919],{"type":213,"value":8920}," })\n",{"type":208,"tag":216,"props":8922,"children":8923},{"class":668,"line":832},[8924],{"type":208,"tag":216,"props":8925,"children":8926},{"style":1568},[8927],{"type":213,"value":719},{"type":208,"tag":216,"props":8929,"children":8930},{"class":668,"line":838},[8931],{"type":208,"tag":216,"props":8932,"children":8933},{"emptyLinePlaceholder":872},[8934],{"type":213,"value":873},{"type":208,"tag":216,"props":8936,"children":8937},{"class":668,"line":1151},[8938,8942,8947,8951,8956,8960,8964,8968,8972,8976,8980],{"type":208,"tag":216,"props":8939,"children":8940},{"style":1610},[8941],{"type":213,"value":939},{"type":208,"tag":216,"props":8943,"children":8944},{"style":1678},[8945],{"type":213,"value":8946}," state",{"type":208,"tag":216,"props":8948,"children":8949},{"style":1610},[8950],{"type":213,"value":946},{"type":208,"tag":216,"props":8952,"children":8953},{"style":1580},[8954],{"type":213,"value":8955}," reactive",{"type":208,"tag":216,"props":8957,"children":8958},{"style":1568},[8959],{"type":213,"value":1571},{"type":208,"tag":216,"props":8961,"children":8962},{"style":1580},[8963],{"type":213,"value":2025},{"type":208,"tag":216,"props":8965,"children":8966},{"style":1568},[8967],{"type":213,"value":470},{"type":208,"tag":216,"props":8969,"children":8970},{"style":1580},[8971],{"type":213,"value":246},{"type":208,"tag":216,"props":8973,"children":8974},{"style":1568},[8975],{"type":213,"value":1571},{"type":208,"tag":216,"props":8977,"children":8978},{"style":1610},[8979],{"type":213,"value":2043},{"type":208,"tag":216,"props":8981,"children":8982},{"style":1568},[8983],{"type":213,"value":8984}," schema>>({})\n",{"type":208,"tag":216,"props":8986,"children":8987},{"class":668,"line":1276},[8988,8992,8996],{"type":208,"tag":216,"props":8989,"children":8990},{"style":1568},[8991],{"type":213,"value":2174},{"type":208,"tag":216,"props":8993,"children":8994},{"style":1574},[8995],{"type":213,"value":1577},{"type":208,"tag":216,"props":8997,"children":8998},{"style":1568},[8999],{"type":213,"value":1604},{"type":208,"tag":216,"props":9001,"children":9002},{"class":668,"line":1282},[9003],{"type":208,"tag":216,"props":9004,"children":9005},{"emptyLinePlaceholder":872},[9006],{"type":213,"value":873},{"type":208,"tag":216,"props":9008,"children":9009},{"class":668,"line":1855},[9010,9014,9018],{"type":208,"tag":216,"props":9011,"children":9012},{"style":1568},[9013],{"type":213,"value":1571},{"type":208,"tag":216,"props":9015,"children":9016},{"style":1574},[9017],{"type":213,"value":2203},{"type":208,"tag":216,"props":9019,"children":9020},{"style":1568},[9021],{"type":213,"value":1604},{"type":208,"tag":216,"props":9023,"children":9024},{"class":668,"line":1890},[9025,9029,9033,9038,9042,9046,9051,9055,9059,9063,9067,9071,9075,9079,9083,9087,9091,9095,9099,9103],{"type":208,"tag":216,"props":9026,"children":9027},{"style":1568},[9028],{"type":213,"value":2216},{"type":208,"tag":216,"props":9030,"children":9031},{"style":1574},[9032],{"type":213,"value":2221},{"type":208,"tag":216,"props":9034,"children":9035},{"style":1580},[9036],{"type":213,"value":9037}," v-model",{"type":208,"tag":216,"props":9039,"children":9040},{"style":1568},[9041],{"type":213,"value":1588},{"type":208,"tag":216,"props":9043,"children":9044},{"style":1591},[9045],{"type":213,"value":2240},{"type":208,"tag":216,"props":9047,"children":9048},{"style":1568},[9049],{"type":213,"value":9050},"state",{"type":208,"tag":216,"props":9052,"children":9053},{"style":1591},[9054],{"type":213,"value":2240},{"type":208,"tag":216,"props":9056,"children":9057},{"style":1568},[9058],{"type":213,"value":2226},{"type":208,"tag":216,"props":9060,"children":9061},{"style":1580},[9062],{"type":213,"value":2231},{"type":208,"tag":216,"props":9064,"children":9065},{"style":1568},[9066],{"type":213,"value":1588},{"type":208,"tag":216,"props":9068,"children":9069},{"style":1591},[9070],{"type":213,"value":2240},{"type":208,"tag":216,"props":9072,"children":9073},{"style":1568},[9074],{"type":213,"value":2231},{"type":208,"tag":216,"props":9076,"children":9077},{"style":1591},[9078],{"type":213,"value":2240},{"type":208,"tag":216,"props":9080,"children":9081},{"style":1568},[9082],{"type":213,"value":2226},{"type":208,"tag":216,"props":9084,"children":9085},{"style":1580},[9086],{"type":213,"value":2258},{"type":208,"tag":216,"props":9088,"children":9089},{"style":1568},[9090],{"type":213,"value":1588},{"type":208,"tag":216,"props":9092,"children":9093},{"style":1591},[9094],{"type":213,"value":2240},{"type":208,"tag":216,"props":9096,"children":9097},{"style":1678},[9098],{"type":213,"value":8896},{"type":208,"tag":216,"props":9100,"children":9101},{"style":1591},[9102],{"type":213,"value":2240},{"type":208,"tag":216,"props":9104,"children":9105},{"style":1568},[9106],{"type":213,"value":2280},{"type":208,"tag":216,"props":9108,"children":9109},{"class":668,"line":1907},[9110,9114,9118],{"type":208,"tag":216,"props":9111,"children":9112},{"style":1568},[9113],{"type":213,"value":2174},{"type":208,"tag":216,"props":9115,"children":9116},{"style":1574},[9117],{"type":213,"value":2203},{"type":208,"tag":216,"props":9119,"children":9120},{"style":1568},[9121],{"type":213,"value":1604},{"type":208,"tag":1422,"props":9123,"children":9124},{},[9125],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":9127},[],{"data":9129,"body":9130,"toc":9856},{"title":663,"description":663},{"type":205,"children":9131},[9132,9852],{"type":208,"tag":1551,"props":9133,"children":9134},{},[9135],{"type":208,"tag":658,"props":9136,"children":9138},{"className":1556,"code":9137,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { CalendarDate } from '@internationalized\u002Fdate'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  appointmentDate: afz.calendarDate({ controlProps: { labelFormat: 'iso' } })\n    .refine(\n      date => date > new CalendarDate(2026, 1, 1),\n      { message: '日期必须在 2026 年之后' }\n    )\n    .transform(date => formatter.toTimestamp(date))\n    .meta({ label: '预约日期', description: '请选择一个在 2026 年之后的日期' })\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",[9139],{"type":208,"tag":239,"props":9140,"children":9141},{"__ignoreMap":663},[9142,9173,9196,9219,9240,9247,9278,9301,9326,9333,9360,9388,9404,9467,9484,9492,9532,9566,9573,9580,9639,9654,9669,9684,9723,9730,9737,9752,9759,9774,9837],{"type":208,"tag":216,"props":9143,"children":9144},{"class":668,"line":669},[9145,9149,9153,9157,9161,9165,9169],{"type":208,"tag":216,"props":9146,"children":9147},{"style":1568},[9148],{"type":213,"value":1571},{"type":208,"tag":216,"props":9150,"children":9151},{"style":1574},[9152],{"type":213,"value":1577},{"type":208,"tag":216,"props":9154,"children":9155},{"style":1580},[9156],{"type":213,"value":1583},{"type":208,"tag":216,"props":9158,"children":9159},{"style":1568},[9160],{"type":213,"value":1588},{"type":208,"tag":216,"props":9162,"children":9163},{"style":1591},[9164],{"type":213,"value":1594},{"type":208,"tag":216,"props":9166,"children":9167},{"style":1580},[9168],{"type":213,"value":1599},{"type":208,"tag":216,"props":9170,"children":9171},{"style":1568},[9172],{"type":213,"value":1604},{"type":208,"tag":216,"props":9174,"children":9175},{"class":668,"line":695},[9176,9180,9184,9188,9192],{"type":208,"tag":216,"props":9177,"children":9178},{"style":1610},[9179],{"type":213,"value":858},{"type":208,"tag":216,"props":9181,"children":9182},{"style":1610},[9183],{"type":213,"value":1617},{"type":208,"tag":216,"props":9185,"children":9186},{"style":1568},[9187],{"type":213,"value":1622},{"type":208,"tag":216,"props":9189,"children":9190},{"style":1610},[9191],{"type":213,"value":864},{"type":208,"tag":216,"props":9193,"children":9194},{"style":1591},[9195],{"type":213,"value":1631},{"type":208,"tag":216,"props":9197,"children":9198},{"class":668,"line":707},[9199,9203,9207,9211,9215],{"type":208,"tag":216,"props":9200,"children":9201},{"style":1610},[9202],{"type":213,"value":858},{"type":208,"tag":216,"props":9204,"children":9205},{"style":1610},[9206],{"type":213,"value":1617},{"type":208,"tag":216,"props":9208,"children":9209},{"style":1568},[9210],{"type":213,"value":1647},{"type":208,"tag":216,"props":9212,"children":9213},{"style":1610},[9214],{"type":213,"value":864},{"type":208,"tag":216,"props":9216,"children":9217},{"style":1591},[9218],{"type":213,"value":1656},{"type":208,"tag":216,"props":9220,"children":9221},{"class":668,"line":716},[9222,9226,9231,9235],{"type":208,"tag":216,"props":9223,"children":9224},{"style":1610},[9225],{"type":213,"value":858},{"type":208,"tag":216,"props":9227,"children":9228},{"style":1568},[9229],{"type":213,"value":9230}," { CalendarDate } ",{"type":208,"tag":216,"props":9232,"children":9233},{"style":1610},[9234],{"type":213,"value":864},{"type":208,"tag":216,"props":9236,"children":9237},{"style":1591},[9238],{"type":213,"value":9239}," '@internationalized\u002Fdate'\n",{"type":208,"tag":216,"props":9241,"children":9242},{"class":668,"line":783},[9243],{"type":208,"tag":216,"props":9244,"children":9245},{"emptyLinePlaceholder":872},[9246],{"type":213,"value":873},{"type":208,"tag":216,"props":9248,"children":9249},{"class":668,"line":800},[9250,9254,9258,9262,9266,9270,9274],{"type":208,"tag":216,"props":9251,"children":9252},{"style":1610},[9253],{"type":213,"value":939},{"type":208,"tag":216,"props":9255,"children":9256},{"style":1568},[9257],{"type":213,"value":1675},{"type":208,"tag":216,"props":9259,"children":9260},{"style":1678},[9261],{"type":213,"value":1681},{"type":208,"tag":216,"props":9263,"children":9264},{"style":1568},[9265],{"type":213,"value":1686},{"type":208,"tag":216,"props":9267,"children":9268},{"style":1610},[9269],{"type":213,"value":1588},{"type":208,"tag":216,"props":9271,"children":9272},{"style":1580},[9273],{"type":213,"value":1695},{"type":208,"tag":216,"props":9275,"children":9276},{"style":1568},[9277],{"type":213,"value":1700},{"type":208,"tag":216,"props":9279,"children":9280},{"class":668,"line":815},[9281,9285,9289,9293,9297],{"type":208,"tag":216,"props":9282,"children":9283},{"style":1610},[9284],{"type":213,"value":939},{"type":208,"tag":216,"props":9286,"children":9287},{"style":1678},[9288],{"type":213,"value":1712},{"type":208,"tag":216,"props":9290,"children":9291},{"style":1610},[9292],{"type":213,"value":946},{"type":208,"tag":216,"props":9294,"children":9295},{"style":1580},[9296],{"type":213,"value":1721},{"type":208,"tag":216,"props":9298,"children":9299},{"style":1568},[9300],{"type":213,"value":1700},{"type":208,"tag":216,"props":9302,"children":9303},{"class":668,"line":821},[9304,9308,9313,9317,9322],{"type":208,"tag":216,"props":9305,"children":9306},{"style":1610},[9307],{"type":213,"value":939},{"type":208,"tag":216,"props":9309,"children":9310},{"style":1678},[9311],{"type":213,"value":9312}," formatter",{"type":208,"tag":216,"props":9314,"children":9315},{"style":1610},[9316],{"type":213,"value":946},{"type":208,"tag":216,"props":9318,"children":9319},{"style":1580},[9320],{"type":213,"value":9321}," useDateFormatter",{"type":208,"tag":216,"props":9323,"children":9324},{"style":1568},[9325],{"type":213,"value":1700},{"type":208,"tag":216,"props":9327,"children":9328},{"class":668,"line":827},[9329],{"type":208,"tag":216,"props":9330,"children":9331},{"emptyLinePlaceholder":872},[9332],{"type":213,"value":873},{"type":208,"tag":216,"props":9334,"children":9335},{"class":668,"line":832},[9336,9340,9344,9348,9352,9356],{"type":208,"tag":216,"props":9337,"children":9338},{"style":1610},[9339],{"type":213,"value":939},{"type":208,"tag":216,"props":9341,"children":9342},{"style":1678},[9343],{"type":213,"value":982},{"type":208,"tag":216,"props":9345,"children":9346},{"style":1610},[9347],{"type":213,"value":946},{"type":208,"tag":216,"props":9349,"children":9350},{"style":1568},[9351],{"type":213,"value":987},{"type":208,"tag":216,"props":9353,"children":9354},{"style":1580},[9355],{"type":213,"value":990},{"type":208,"tag":216,"props":9357,"children":9358},{"style":1568},[9359],{"type":213,"value":993},{"type":208,"tag":216,"props":9361,"children":9362},{"class":668,"line":838},[9363,9368,9373,9378,9383],{"type":208,"tag":216,"props":9364,"children":9365},{"style":1568},[9366],{"type":213,"value":9367},"  appointmentDate: afz.",{"type":208,"tag":216,"props":9369,"children":9370},{"style":1580},[9371],{"type":213,"value":9372},"calendarDate",{"type":208,"tag":216,"props":9374,"children":9375},{"style":1568},[9376],{"type":213,"value":9377},"({ controlProps: { labelFormat: ",{"type":208,"tag":216,"props":9379,"children":9380},{"style":1591},[9381],{"type":213,"value":9382},"'iso'",{"type":208,"tag":216,"props":9384,"children":9385},{"style":1568},[9386],{"type":213,"value":9387}," } })\n",{"type":208,"tag":216,"props":9389,"children":9390},{"class":668,"line":1151},[9391,9395,9399],{"type":208,"tag":216,"props":9392,"children":9393},{"style":1568},[9394],{"type":213,"value":1823},{"type":208,"tag":216,"props":9396,"children":9397},{"style":1580},[9398],{"type":213,"value":7730},{"type":208,"tag":216,"props":9400,"children":9401},{"style":1568},[9402],{"type":213,"value":9403},"(\n",{"type":208,"tag":216,"props":9405,"children":9406},{"class":668,"line":1276},[9407,9412,9416,9421,9426,9431,9436,9440,9445,9449,9454,9458,9462],{"type":208,"tag":216,"props":9408,"children":9409},{"style":2004},[9410],{"type":213,"value":9411},"      date",{"type":208,"tag":216,"props":9413,"children":9414},{"style":1610},[9415],{"type":213,"value":7744},{"type":208,"tag":216,"props":9417,"children":9418},{"style":1568},[9419],{"type":213,"value":9420}," date ",{"type":208,"tag":216,"props":9422,"children":9423},{"style":1610},[9424],{"type":213,"value":9425},">",{"type":208,"tag":216,"props":9427,"children":9428},{"style":1610},[9429],{"type":213,"value":9430}," new",{"type":208,"tag":216,"props":9432,"children":9433},{"style":1580},[9434],{"type":213,"value":9435}," CalendarDate",{"type":208,"tag":216,"props":9437,"children":9438},{"style":1568},[9439],{"type":213,"value":1833},{"type":208,"tag":216,"props":9441,"children":9442},{"style":1678},[9443],{"type":213,"value":9444},"2026",{"type":208,"tag":216,"props":9446,"children":9447},{"style":1568},[9448],{"type":213,"value":686},{"type":208,"tag":216,"props":9450,"children":9451},{"style":1678},[9452],{"type":213,"value":9453},"1",{"type":208,"tag":216,"props":9455,"children":9456},{"style":1568},[9457],{"type":213,"value":686},{"type":208,"tag":216,"props":9459,"children":9460},{"style":1678},[9461],{"type":213,"value":9453},{"type":208,"tag":216,"props":9463,"children":9464},{"style":1568},[9465],{"type":213,"value":9466},"),\n",{"type":208,"tag":216,"props":9468,"children":9469},{"class":668,"line":1282},[9470,9475,9480],{"type":208,"tag":216,"props":9471,"children":9472},{"style":1568},[9473],{"type":213,"value":9474},"      { message: ",{"type":208,"tag":216,"props":9476,"children":9477},{"style":1591},[9478],{"type":213,"value":9479},"'日期必须在 2026 年之后'",{"type":208,"tag":216,"props":9481,"children":9482},{"style":1568},[9483],{"type":213,"value":812},{"type":208,"tag":216,"props":9485,"children":9486},{"class":668,"line":1855},[9487],{"type":208,"tag":216,"props":9488,"children":9489},{"style":1568},[9490],{"type":213,"value":9491},"    )\n",{"type":208,"tag":216,"props":9493,"children":9494},{"class":668,"line":1890},[9495,9499,9504,9508,9513,9517,9522,9527],{"type":208,"tag":216,"props":9496,"children":9497},{"style":1568},[9498],{"type":213,"value":1823},{"type":208,"tag":216,"props":9500,"children":9501},{"style":1580},[9502],{"type":213,"value":9503},"transform",{"type":208,"tag":216,"props":9505,"children":9506},{"style":1568},[9507],{"type":213,"value":1833},{"type":208,"tag":216,"props":9509,"children":9510},{"style":2004},[9511],{"type":213,"value":9512},"date",{"type":208,"tag":216,"props":9514,"children":9515},{"style":1610},[9516],{"type":213,"value":7744},{"type":208,"tag":216,"props":9518,"children":9519},{"style":1568},[9520],{"type":213,"value":9521}," formatter.",{"type":208,"tag":216,"props":9523,"children":9524},{"style":1580},[9525],{"type":213,"value":9526},"toTimestamp",{"type":208,"tag":216,"props":9528,"children":9529},{"style":1568},[9530],{"type":213,"value":9531},"(date))\n",{"type":208,"tag":216,"props":9533,"children":9534},{"class":668,"line":1907},[9535,9539,9543,9547,9552,9557,9562],{"type":208,"tag":216,"props":9536,"children":9537},{"style":1568},[9538],{"type":213,"value":1823},{"type":208,"tag":216,"props":9540,"children":9541},{"style":1580},[9542],{"type":213,"value":1900},{"type":208,"tag":216,"props":9544,"children":9545},{"style":1568},[9546],{"type":213,"value":8910},{"type":208,"tag":216,"props":9548,"children":9549},{"style":1591},[9550],{"type":213,"value":9551},"'预约日期'",{"type":208,"tag":216,"props":9553,"children":9554},{"style":1568},[9555],{"type":213,"value":9556},", description: ",{"type":208,"tag":216,"props":9558,"children":9559},{"style":1591},[9560],{"type":213,"value":9561},"'请选择一个在 2026 年之后的日期'",{"type":208,"tag":216,"props":9563,"children":9564},{"style":1568},[9565],{"type":213,"value":8920},{"type":208,"tag":216,"props":9567,"children":9568},{"class":668,"line":1925},[9569],{"type":208,"tag":216,"props":9570,"children":9571},{"style":1568},[9572],{"type":213,"value":719},{"type":208,"tag":216,"props":9574,"children":9575},{"class":668,"line":1942},[9576],{"type":208,"tag":216,"props":9577,"children":9578},{"emptyLinePlaceholder":872},[9579],{"type":213,"value":873},{"type":208,"tag":216,"props":9581,"children":9582},{"class":668,"line":1956},[9583,9587,9591,9595,9599,9603,9607,9611,9615,9619,9623,9627,9631,9635],{"type":208,"tag":216,"props":9584,"children":9585},{"style":1610},[9586],{"type":213,"value":1987},{"type":208,"tag":216,"props":9588,"children":9589},{"style":1610},[9590],{"type":213,"value":1992},{"type":208,"tag":216,"props":9592,"children":9593},{"style":1580},[9594],{"type":213,"value":1997},{"type":208,"tag":216,"props":9596,"children":9597},{"style":1568},[9598],{"type":213,"value":1833},{"type":208,"tag":216,"props":9600,"children":9601},{"style":2004},[9602],{"type":213,"value":2007},{"type":208,"tag":216,"props":9604,"children":9605},{"style":1610},[9606],{"type":213,"value":262},{"type":208,"tag":216,"props":9608,"children":9609},{"style":1580},[9610],{"type":213,"value":2016},{"type":208,"tag":216,"props":9612,"children":9613},{"style":1568},[9614],{"type":213,"value":1571},{"type":208,"tag":216,"props":9616,"children":9617},{"style":1580},[9618],{"type":213,"value":2025},{"type":208,"tag":216,"props":9620,"children":9621},{"style":1568},[9622],{"type":213,"value":470},{"type":208,"tag":216,"props":9624,"children":9625},{"style":1580},[9626],{"type":213,"value":2034},{"type":208,"tag":216,"props":9628,"children":9629},{"style":1568},[9630],{"type":213,"value":1571},{"type":208,"tag":216,"props":9632,"children":9633},{"style":1610},[9634],{"type":213,"value":2043},{"type":208,"tag":216,"props":9636,"children":9637},{"style":1568},[9638],{"type":213,"value":2048},{"type":208,"tag":216,"props":9640,"children":9641},{"class":668,"line":1965},[9642,9646,9650],{"type":208,"tag":216,"props":9643,"children":9644},{"style":1568},[9645],{"type":213,"value":2057},{"type":208,"tag":216,"props":9647,"children":9648},{"style":1580},[9649],{"type":213,"value":2062},{"type":208,"tag":216,"props":9651,"children":9652},{"style":1568},[9653],{"type":213,"value":993},{"type":208,"tag":216,"props":9655,"children":9656},{"class":668,"line":1973},[9657,9661,9665],{"type":208,"tag":216,"props":9658,"children":9659},{"style":1568},[9660],{"type":213,"value":2075},{"type":208,"tag":216,"props":9662,"children":9663},{"style":1591},[9664],{"type":213,"value":2080},{"type":208,"tag":216,"props":9666,"children":9667},{"style":1568},[9668],{"type":213,"value":704},{"type":208,"tag":216,"props":9670,"children":9671},{"class":668,"line":1981},[9672,9676,9680],{"type":208,"tag":216,"props":9673,"children":9674},{"style":1568},[9675],{"type":213,"value":2093},{"type":208,"tag":216,"props":9677,"children":9678},{"style":1591},[9679],{"type":213,"value":2098},{"type":208,"tag":216,"props":9681,"children":9682},{"style":1568},[9683],{"type":213,"value":704},{"type":208,"tag":216,"props":9685,"children":9686},{"class":668,"line":2051},[9687,9691,9695,9699,9703,9707,9711,9715,9719],{"type":208,"tag":216,"props":9688,"children":9689},{"style":1568},[9690],{"type":213,"value":2111},{"type":208,"tag":216,"props":9692,"children":9693},{"style":1678},[9694],{"type":213,"value":2116},{"type":208,"tag":216,"props":9696,"children":9697},{"style":1568},[9698],{"type":213,"value":470},{"type":208,"tag":216,"props":9700,"children":9701},{"style":1580},[9702],{"type":213,"value":2125},{"type":208,"tag":216,"props":9704,"children":9705},{"style":1568},[9706],{"type":213,"value":2130},{"type":208,"tag":216,"props":9708,"children":9709},{"style":1678},[9710],{"type":213,"value":2135},{"type":208,"tag":216,"props":9712,"children":9713},{"style":1568},[9714],{"type":213,"value":686},{"type":208,"tag":216,"props":9716,"children":9717},{"style":1678},[9718],{"type":213,"value":2144},{"type":208,"tag":216,"props":9720,"children":9721},{"style":1568},[9722],{"type":213,"value":1852},{"type":208,"tag":216,"props":9724,"children":9725},{"class":668,"line":2069},[9726],{"type":208,"tag":216,"props":9727,"children":9728},{"style":1568},[9729],{"type":213,"value":1041},{"type":208,"tag":216,"props":9731,"children":9732},{"class":668,"line":2087},[9733],{"type":208,"tag":216,"props":9734,"children":9735},{"style":1568},[9736],{"type":213,"value":2165},{"type":208,"tag":216,"props":9738,"children":9739},{"class":668,"line":2105},[9740,9744,9748],{"type":208,"tag":216,"props":9741,"children":9742},{"style":1568},[9743],{"type":213,"value":2174},{"type":208,"tag":216,"props":9745,"children":9746},{"style":1574},[9747],{"type":213,"value":1577},{"type":208,"tag":216,"props":9749,"children":9750},{"style":1568},[9751],{"type":213,"value":1604},{"type":208,"tag":216,"props":9753,"children":9754},{"class":668,"line":2151},[9755],{"type":208,"tag":216,"props":9756,"children":9757},{"emptyLinePlaceholder":872},[9758],{"type":213,"value":873},{"type":208,"tag":216,"props":9760,"children":9761},{"class":668,"line":2159},[9762,9766,9770],{"type":208,"tag":216,"props":9763,"children":9764},{"style":1568},[9765],{"type":213,"value":1571},{"type":208,"tag":216,"props":9767,"children":9768},{"style":1574},[9769],{"type":213,"value":2203},{"type":208,"tag":216,"props":9771,"children":9772},{"style":1568},[9773],{"type":213,"value":1604},{"type":208,"tag":216,"props":9775,"children":9776},{"class":668,"line":2168},[9777,9781,9785,9789,9793,9797,9801,9805,9809,9813,9817,9821,9825,9829,9833],{"type":208,"tag":216,"props":9778,"children":9779},{"style":1568},[9780],{"type":213,"value":2216},{"type":208,"tag":216,"props":9782,"children":9783},{"style":1574},[9784],{"type":213,"value":2221},{"type":208,"tag":216,"props":9786,"children":9787},{"style":1568},[9788],{"type":213,"value":2226},{"type":208,"tag":216,"props":9790,"children":9791},{"style":1580},[9792],{"type":213,"value":2231},{"type":208,"tag":216,"props":9794,"children":9795},{"style":1568},[9796],{"type":213,"value":1588},{"type":208,"tag":216,"props":9798,"children":9799},{"style":1591},[9800],{"type":213,"value":2240},{"type":208,"tag":216,"props":9802,"children":9803},{"style":1568},[9804],{"type":213,"value":2231},{"type":208,"tag":216,"props":9806,"children":9807},{"style":1591},[9808],{"type":213,"value":2240},{"type":208,"tag":216,"props":9810,"children":9811},{"style":1568},[9812],{"type":213,"value":2253},{"type":208,"tag":216,"props":9814,"children":9815},{"style":1580},[9816],{"type":213,"value":2258},{"type":208,"tag":216,"props":9818,"children":9819},{"style":1568},[9820],{"type":213,"value":1588},{"type":208,"tag":216,"props":9822,"children":9823},{"style":1591},[9824],{"type":213,"value":2240},{"type":208,"tag":216,"props":9826,"children":9827},{"style":1568},[9828],{"type":213,"value":2271},{"type":208,"tag":216,"props":9830,"children":9831},{"style":1591},[9832],{"type":213,"value":2240},{"type":208,"tag":216,"props":9834,"children":9835},{"style":1568},[9836],{"type":213,"value":2280},{"type":208,"tag":216,"props":9838,"children":9839},{"class":668,"line":2185},[9840,9844,9848],{"type":208,"tag":216,"props":9841,"children":9842},{"style":1568},[9843],{"type":213,"value":2174},{"type":208,"tag":216,"props":9845,"children":9846},{"style":1574},[9847],{"type":213,"value":2203},{"type":208,"tag":216,"props":9849,"children":9850},{"style":1568},[9851],{"type":213,"value":1604},{"type":208,"tag":1422,"props":9853,"children":9854},{},[9855],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":9857},[],{"data":9859,"body":9860,"toc":10506},{"title":663,"description":663},{"type":205,"children":9861},[9862,10502],{"type":208,"tag":1551,"props":9863,"children":9864},{},[9865],{"type":208,"tag":658,"props":9866,"children":9868},{"className":1556,"code":9867,"language":1558,"meta":663,"style":663},"\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  vacation: afz.calendarDate({\n    controlProps: {\n      labelFormat: 'iso',\n      range: true,\n      valueFormat: 'iso',\n      numberOfMonths: 2\n    }\n  })\n    .meta({\n      label: '日期范围',\n      hint: '选择日期范围，显示两个月'\n    })\n})\ntype Schema = z.output\u003Ctypeof schema>\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\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",[9869],{"type":208,"tag":239,"props":9870,"children":9871},{"__ignoreMap":663},[9872,9903,9926,9949,9956,9987,10010,10017,10044,10060,10067,10083,10099,10115,10128,10135,10142,10157,10173,10185,10192,10199,10239,10246,10289,10304,10319,10334,10373,10380,10387,10402,10409,10424,10487],{"type":208,"tag":216,"props":9873,"children":9874},{"class":668,"line":669},[9875,9879,9883,9887,9891,9895,9899],{"type":208,"tag":216,"props":9876,"children":9877},{"style":1568},[9878],{"type":213,"value":1571},{"type":208,"tag":216,"props":9880,"children":9881},{"style":1574},[9882],{"type":213,"value":1577},{"type":208,"tag":216,"props":9884,"children":9885},{"style":1580},[9886],{"type":213,"value":1583},{"type":208,"tag":216,"props":9888,"children":9889},{"style":1568},[9890],{"type":213,"value":1588},{"type":208,"tag":216,"props":9892,"children":9893},{"style":1591},[9894],{"type":213,"value":1594},{"type":208,"tag":216,"props":9896,"children":9897},{"style":1580},[9898],{"type":213,"value":1599},{"type":208,"tag":216,"props":9900,"children":9901},{"style":1568},[9902],{"type":213,"value":1604},{"type":208,"tag":216,"props":9904,"children":9905},{"class":668,"line":695},[9906,9910,9914,9918,9922],{"type":208,"tag":216,"props":9907,"children":9908},{"style":1610},[9909],{"type":213,"value":858},{"type":208,"tag":216,"props":9911,"children":9912},{"style":1610},[9913],{"type":213,"value":1617},{"type":208,"tag":216,"props":9915,"children":9916},{"style":1568},[9917],{"type":213,"value":1622},{"type":208,"tag":216,"props":9919,"children":9920},{"style":1610},[9921],{"type":213,"value":864},{"type":208,"tag":216,"props":9923,"children":9924},{"style":1591},[9925],{"type":213,"value":1631},{"type":208,"tag":216,"props":9927,"children":9928},{"class":668,"line":707},[9929,9933,9937,9941,9945],{"type":208,"tag":216,"props":9930,"children":9931},{"style":1610},[9932],{"type":213,"value":858},{"type":208,"tag":216,"props":9934,"children":9935},{"style":1610},[9936],{"type":213,"value":1617},{"type":208,"tag":216,"props":9938,"children":9939},{"style":1568},[9940],{"type":213,"value":1647},{"type":208,"tag":216,"props":9942,"children":9943},{"style":1610},[9944],{"type":213,"value":864},{"type":208,"tag":216,"props":9946,"children":9947},{"style":1591},[9948],{"type":213,"value":1656},{"type":208,"tag":216,"props":9950,"children":9951},{"class":668,"line":716},[9952],{"type":208,"tag":216,"props":9953,"children":9954},{"emptyLinePlaceholder":872},[9955],{"type":213,"value":873},{"type":208,"tag":216,"props":9957,"children":9958},{"class":668,"line":783},[9959,9963,9967,9971,9975,9979,9983],{"type":208,"tag":216,"props":9960,"children":9961},{"style":1610},[9962],{"type":213,"value":939},{"type":208,"tag":216,"props":9964,"children":9965},{"style":1568},[9966],{"type":213,"value":1675},{"type":208,"tag":216,"props":9968,"children":9969},{"style":1678},[9970],{"type":213,"value":1681},{"type":208,"tag":216,"props":9972,"children":9973},{"style":1568},[9974],{"type":213,"value":1686},{"type":208,"tag":216,"props":9976,"children":9977},{"style":1610},[9978],{"type":213,"value":1588},{"type":208,"tag":216,"props":9980,"children":9981},{"style":1580},[9982],{"type":213,"value":1695},{"type":208,"tag":216,"props":9984,"children":9985},{"style":1568},[9986],{"type":213,"value":1700},{"type":208,"tag":216,"props":9988,"children":9989},{"class":668,"line":800},[9990,9994,9998,10002,10006],{"type":208,"tag":216,"props":9991,"children":9992},{"style":1610},[9993],{"type":213,"value":939},{"type":208,"tag":216,"props":9995,"children":9996},{"style":1678},[9997],{"type":213,"value":1712},{"type":208,"tag":216,"props":9999,"children":10000},{"style":1610},[10001],{"type":213,"value":946},{"type":208,"tag":216,"props":10003,"children":10004},{"style":1580},[10005],{"type":213,"value":1721},{"type":208,"tag":216,"props":10007,"children":10008},{"style":1568},[10009],{"type":213,"value":1700},{"type":208,"tag":216,"props":10011,"children":10012},{"class":668,"line":815},[10013],{"type":208,"tag":216,"props":10014,"children":10015},{"emptyLinePlaceholder":872},[10016],{"type":213,"value":873},{"type":208,"tag":216,"props":10018,"children":10019},{"class":668,"line":821},[10020,10024,10028,10032,10036,10040],{"type":208,"tag":216,"props":10021,"children":10022},{"style":1610},[10023],{"type":213,"value":939},{"type":208,"tag":216,"props":10025,"children":10026},{"style":1678},[10027],{"type":213,"value":982},{"type":208,"tag":216,"props":10029,"children":10030},{"style":1610},[10031],{"type":213,"value":946},{"type":208,"tag":216,"props":10033,"children":10034},{"style":1568},[10035],{"type":213,"value":987},{"type":208,"tag":216,"props":10037,"children":10038},{"style":1580},[10039],{"type":213,"value":990},{"type":208,"tag":216,"props":10041,"children":10042},{"style":1568},[10043],{"type":213,"value":993},{"type":208,"tag":216,"props":10045,"children":10046},{"class":668,"line":827},[10047,10052,10056],{"type":208,"tag":216,"props":10048,"children":10049},{"style":1568},[10050],{"type":213,"value":10051},"  vacation: afz.",{"type":208,"tag":216,"props":10053,"children":10054},{"style":1580},[10055],{"type":213,"value":9372},{"type":208,"tag":216,"props":10057,"children":10058},{"style":1568},[10059],{"type":213,"value":993},{"type":208,"tag":216,"props":10061,"children":10062},{"class":668,"line":832},[10063],{"type":208,"tag":216,"props":10064,"children":10065},{"style":1568},[10066],{"type":213,"value":1018},{"type":208,"tag":216,"props":10068,"children":10069},{"class":668,"line":838},[10070,10075,10079],{"type":208,"tag":216,"props":10071,"children":10072},{"style":1568},[10073],{"type":213,"value":10074},"      labelFormat: ",{"type":208,"tag":216,"props":10076,"children":10077},{"style":1591},[10078],{"type":213,"value":9382},{"type":208,"tag":216,"props":10080,"children":10081},{"style":1568},[10082],{"type":213,"value":704},{"type":208,"tag":216,"props":10084,"children":10085},{"class":668,"line":1151},[10086,10091,10095],{"type":208,"tag":216,"props":10087,"children":10088},{"style":1568},[10089],{"type":213,"value":10090},"      range: ",{"type":208,"tag":216,"props":10092,"children":10093},{"style":1678},[10094],{"type":213,"value":266},{"type":208,"tag":216,"props":10096,"children":10097},{"style":1568},[10098],{"type":213,"value":704},{"type":208,"tag":216,"props":10100,"children":10101},{"class":668,"line":1276},[10102,10107,10111],{"type":208,"tag":216,"props":10103,"children":10104},{"style":1568},[10105],{"type":213,"value":10106},"      valueFormat: ",{"type":208,"tag":216,"props":10108,"children":10109},{"style":1591},[10110],{"type":213,"value":9382},{"type":208,"tag":216,"props":10112,"children":10113},{"style":1568},[10114],{"type":213,"value":704},{"type":208,"tag":216,"props":10116,"children":10117},{"class":668,"line":1282},[10118,10123],{"type":208,"tag":216,"props":10119,"children":10120},{"style":1568},[10121],{"type":213,"value":10122},"      numberOfMonths: ",{"type":208,"tag":216,"props":10124,"children":10125},{"style":1678},[10126],{"type":213,"value":10127},"2\n",{"type":208,"tag":216,"props":10129,"children":10130},{"class":668,"line":1855},[10131],{"type":208,"tag":216,"props":10132,"children":10133},{"style":1568},[10134],{"type":213,"value":1036},{"type":208,"tag":216,"props":10136,"children":10137},{"class":668,"line":1890},[10138],{"type":208,"tag":216,"props":10139,"children":10140},{"style":1568},[10141],{"type":213,"value":1041},{"type":208,"tag":216,"props":10143,"children":10144},{"class":668,"line":1907},[10145,10149,10153],{"type":208,"tag":216,"props":10146,"children":10147},{"style":1568},[10148],{"type":213,"value":1823},{"type":208,"tag":216,"props":10150,"children":10151},{"style":1580},[10152],{"type":213,"value":1900},{"type":208,"tag":216,"props":10154,"children":10155},{"style":1568},[10156],{"type":213,"value":993},{"type":208,"tag":216,"props":10158,"children":10159},{"class":668,"line":1925},[10160,10164,10169],{"type":208,"tag":216,"props":10161,"children":10162},{"style":1568},[10163],{"type":213,"value":1913},{"type":208,"tag":216,"props":10165,"children":10166},{"style":1591},[10167],{"type":213,"value":10168},"'日期范围'",{"type":208,"tag":216,"props":10170,"children":10171},{"style":1568},[10172],{"type":213,"value":704},{"type":208,"tag":216,"props":10174,"children":10175},{"class":668,"line":1942},[10176,10180],{"type":208,"tag":216,"props":10177,"children":10178},{"style":1568},[10179],{"type":213,"value":1948},{"type":208,"tag":216,"props":10181,"children":10182},{"style":1591},[10183],{"type":213,"value":10184},"'选择日期范围，显示两个月'\n",{"type":208,"tag":216,"props":10186,"children":10187},{"class":668,"line":1956},[10188],{"type":208,"tag":216,"props":10189,"children":10190},{"style":1568},[10191],{"type":213,"value":1962},{"type":208,"tag":216,"props":10193,"children":10194},{"class":668,"line":1965},[10195],{"type":208,"tag":216,"props":10196,"children":10197},{"style":1568},[10198],{"type":213,"value":719},{"type":208,"tag":216,"props":10200,"children":10201},{"class":668,"line":1973},[10202,10206,10210,10214,10218,10222,10226,10230,10234],{"type":208,"tag":216,"props":10203,"children":10204},{"style":1610},[10205],{"type":213,"value":728},{"type":208,"tag":216,"props":10207,"children":10208},{"style":1580},[10209],{"type":213,"value":4998},{"type":208,"tag":216,"props":10211,"children":10212},{"style":1610},[10213],{"type":213,"value":946},{"type":208,"tag":216,"props":10215,"children":10216},{"style":1580},[10217],{"type":213,"value":5007},{"type":208,"tag":216,"props":10219,"children":10220},{"style":1568},[10221],{"type":213,"value":470},{"type":208,"tag":216,"props":10223,"children":10224},{"style":1580},[10225],{"type":213,"value":2034},{"type":208,"tag":216,"props":10227,"children":10228},{"style":1568},[10229],{"type":213,"value":1571},{"type":208,"tag":216,"props":10231,"children":10232},{"style":1610},[10233],{"type":213,"value":2043},{"type":208,"tag":216,"props":10235,"children":10236},{"style":1568},[10237],{"type":213,"value":10238}," schema>\n",{"type":208,"tag":216,"props":10240,"children":10241},{"class":668,"line":1981},[10242],{"type":208,"tag":216,"props":10243,"children":10244},{"emptyLinePlaceholder":872},[10245],{"type":213,"value":873},{"type":208,"tag":216,"props":10247,"children":10248},{"class":668,"line":2051},[10249,10253,10257,10261,10265,10269,10273,10277,10281,10285],{"type":208,"tag":216,"props":10250,"children":10251},{"style":1610},[10252],{"type":213,"value":1987},{"type":208,"tag":216,"props":10254,"children":10255},{"style":1610},[10256],{"type":213,"value":1992},{"type":208,"tag":216,"props":10258,"children":10259},{"style":1580},[10260],{"type":213,"value":1997},{"type":208,"tag":216,"props":10262,"children":10263},{"style":1568},[10264],{"type":213,"value":1833},{"type":208,"tag":216,"props":10266,"children":10267},{"style":2004},[10268],{"type":213,"value":2007},{"type":208,"tag":216,"props":10270,"children":10271},{"style":1610},[10272],{"type":213,"value":262},{"type":208,"tag":216,"props":10274,"children":10275},{"style":1580},[10276],{"type":213,"value":2016},{"type":208,"tag":216,"props":10278,"children":10279},{"style":1568},[10280],{"type":213,"value":1571},{"type":208,"tag":216,"props":10282,"children":10283},{"style":1580},[10284],{"type":213,"value":5074},{"type":208,"tag":216,"props":10286,"children":10287},{"style":1568},[10288],{"type":213,"value":5130},{"type":208,"tag":216,"props":10290,"children":10291},{"class":668,"line":2069},[10292,10296,10300],{"type":208,"tag":216,"props":10293,"children":10294},{"style":1568},[10295],{"type":213,"value":2057},{"type":208,"tag":216,"props":10297,"children":10298},{"style":1580},[10299],{"type":213,"value":2062},{"type":208,"tag":216,"props":10301,"children":10302},{"style":1568},[10303],{"type":213,"value":993},{"type":208,"tag":216,"props":10305,"children":10306},{"class":668,"line":2087},[10307,10311,10315],{"type":208,"tag":216,"props":10308,"children":10309},{"style":1568},[10310],{"type":213,"value":2075},{"type":208,"tag":216,"props":10312,"children":10313},{"style":1591},[10314],{"type":213,"value":2080},{"type":208,"tag":216,"props":10316,"children":10317},{"style":1568},[10318],{"type":213,"value":704},{"type":208,"tag":216,"props":10320,"children":10321},{"class":668,"line":2105},[10322,10326,10330],{"type":208,"tag":216,"props":10323,"children":10324},{"style":1568},[10325],{"type":213,"value":2093},{"type":208,"tag":216,"props":10327,"children":10328},{"style":1591},[10329],{"type":213,"value":2098},{"type":208,"tag":216,"props":10331,"children":10332},{"style":1568},[10333],{"type":213,"value":704},{"type":208,"tag":216,"props":10335,"children":10336},{"class":668,"line":2151},[10337,10341,10345,10349,10353,10357,10361,10365,10369],{"type":208,"tag":216,"props":10338,"children":10339},{"style":1568},[10340],{"type":213,"value":2111},{"type":208,"tag":216,"props":10342,"children":10343},{"style":1678},[10344],{"type":213,"value":2116},{"type":208,"tag":216,"props":10346,"children":10347},{"style":1568},[10348],{"type":213,"value":470},{"type":208,"tag":216,"props":10350,"children":10351},{"style":1580},[10352],{"type":213,"value":2125},{"type":208,"tag":216,"props":10354,"children":10355},{"style":1568},[10356],{"type":213,"value":2130},{"type":208,"tag":216,"props":10358,"children":10359},{"style":1678},[10360],{"type":213,"value":2135},{"type":208,"tag":216,"props":10362,"children":10363},{"style":1568},[10364],{"type":213,"value":686},{"type":208,"tag":216,"props":10366,"children":10367},{"style":1678},[10368],{"type":213,"value":2144},{"type":208,"tag":216,"props":10370,"children":10371},{"style":1568},[10372],{"type":213,"value":1852},{"type":208,"tag":216,"props":10374,"children":10375},{"class":668,"line":2159},[10376],{"type":208,"tag":216,"props":10377,"children":10378},{"style":1568},[10379],{"type":213,"value":1041},{"type":208,"tag":216,"props":10381,"children":10382},{"class":668,"line":2168},[10383],{"type":208,"tag":216,"props":10384,"children":10385},{"style":1568},[10386],{"type":213,"value":2165},{"type":208,"tag":216,"props":10388,"children":10389},{"class":668,"line":2185},[10390,10394,10398],{"type":208,"tag":216,"props":10391,"children":10392},{"style":1568},[10393],{"type":213,"value":2174},{"type":208,"tag":216,"props":10395,"children":10396},{"style":1574},[10397],{"type":213,"value":1577},{"type":208,"tag":216,"props":10399,"children":10400},{"style":1568},[10401],{"type":213,"value":1604},{"type":208,"tag":216,"props":10403,"children":10404},{"class":668,"line":2193},[10405],{"type":208,"tag":216,"props":10406,"children":10407},{"emptyLinePlaceholder":872},[10408],{"type":213,"value":873},{"type":208,"tag":216,"props":10410,"children":10411},{"class":668,"line":2210},[10412,10416,10420],{"type":208,"tag":216,"props":10413,"children":10414},{"style":1568},[10415],{"type":213,"value":1571},{"type":208,"tag":216,"props":10417,"children":10418},{"style":1574},[10419],{"type":213,"value":2203},{"type":208,"tag":216,"props":10421,"children":10422},{"style":1568},[10423],{"type":213,"value":1604},{"type":208,"tag":216,"props":10425,"children":10426},{"class":668,"line":2283},[10427,10431,10435,10439,10443,10447,10451,10455,10459,10463,10467,10471,10475,10479,10483],{"type":208,"tag":216,"props":10428,"children":10429},{"style":1568},[10430],{"type":213,"value":2216},{"type":208,"tag":216,"props":10432,"children":10433},{"style":1574},[10434],{"type":213,"value":2221},{"type":208,"tag":216,"props":10436,"children":10437},{"style":1568},[10438],{"type":213,"value":2226},{"type":208,"tag":216,"props":10440,"children":10441},{"style":1580},[10442],{"type":213,"value":2231},{"type":208,"tag":216,"props":10444,"children":10445},{"style":1568},[10446],{"type":213,"value":1588},{"type":208,"tag":216,"props":10448,"children":10449},{"style":1591},[10450],{"type":213,"value":2240},{"type":208,"tag":216,"props":10452,"children":10453},{"style":1568},[10454],{"type":213,"value":2231},{"type":208,"tag":216,"props":10456,"children":10457},{"style":1591},[10458],{"type":213,"value":2240},{"type":208,"tag":216,"props":10460,"children":10461},{"style":1568},[10462],{"type":213,"value":2253},{"type":208,"tag":216,"props":10464,"children":10465},{"style":1580},[10466],{"type":213,"value":2258},{"type":208,"tag":216,"props":10468,"children":10469},{"style":1568},[10470],{"type":213,"value":1588},{"type":208,"tag":216,"props":10472,"children":10473},{"style":1591},[10474],{"type":213,"value":2240},{"type":208,"tag":216,"props":10476,"children":10477},{"style":1568},[10478],{"type":213,"value":2271},{"type":208,"tag":216,"props":10480,"children":10481},{"style":1591},[10482],{"type":213,"value":2240},{"type":208,"tag":216,"props":10484,"children":10485},{"style":1568},[10486],{"type":213,"value":2280},{"type":208,"tag":216,"props":10488,"children":10489},{"class":668,"line":2944},[10490,10494,10498],{"type":208,"tag":216,"props":10491,"children":10492},{"style":1568},[10493],{"type":213,"value":2174},{"type":208,"tag":216,"props":10495,"children":10496},{"style":1574},[10497],{"type":213,"value":2203},{"type":208,"tag":216,"props":10499,"children":10500},{"style":1568},[10501],{"type":213,"value":1604},{"type":208,"tag":1422,"props":10503,"children":10504},{},[10505],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":10507},[],{"data":10509,"body":10510,"toc":11111},{"title":663,"description":663},{"type":205,"children":10511},[10512,11107],{"type":208,"tag":1551,"props":10513,"children":10514},{},[10515],{"type":208,"tag":658,"props":10516,"children":10518},{"className":1556,"code":10517,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  birthDate: afz.inputDate()\n    .transform(date => formatter.convertToISO(date))\n    .meta({\n      label: '出生日期',\n      description: '使用日期输入框选择您的出生日期'\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",[10519],{"type":208,"tag":239,"props":10520,"children":10521},{"__ignoreMap":663},[10522,10553,10576,10599,10606,10637,10660,10683,10690,10717,10734,10770,10785,10801,10814,10821,10828,10835,10894,10909,10924,10939,10978,10985,10992,11007,11014,11029,11092],{"type":208,"tag":216,"props":10523,"children":10524},{"class":668,"line":669},[10525,10529,10533,10537,10541,10545,10549],{"type":208,"tag":216,"props":10526,"children":10527},{"style":1568},[10528],{"type":213,"value":1571},{"type":208,"tag":216,"props":10530,"children":10531},{"style":1574},[10532],{"type":213,"value":1577},{"type":208,"tag":216,"props":10534,"children":10535},{"style":1580},[10536],{"type":213,"value":1583},{"type":208,"tag":216,"props":10538,"children":10539},{"style":1568},[10540],{"type":213,"value":1588},{"type":208,"tag":216,"props":10542,"children":10543},{"style":1591},[10544],{"type":213,"value":1594},{"type":208,"tag":216,"props":10546,"children":10547},{"style":1580},[10548],{"type":213,"value":1599},{"type":208,"tag":216,"props":10550,"children":10551},{"style":1568},[10552],{"type":213,"value":1604},{"type":208,"tag":216,"props":10554,"children":10555},{"class":668,"line":695},[10556,10560,10564,10568,10572],{"type":208,"tag":216,"props":10557,"children":10558},{"style":1610},[10559],{"type":213,"value":858},{"type":208,"tag":216,"props":10561,"children":10562},{"style":1610},[10563],{"type":213,"value":1617},{"type":208,"tag":216,"props":10565,"children":10566},{"style":1568},[10567],{"type":213,"value":1622},{"type":208,"tag":216,"props":10569,"children":10570},{"style":1610},[10571],{"type":213,"value":864},{"type":208,"tag":216,"props":10573,"children":10574},{"style":1591},[10575],{"type":213,"value":1631},{"type":208,"tag":216,"props":10577,"children":10578},{"class":668,"line":707},[10579,10583,10587,10591,10595],{"type":208,"tag":216,"props":10580,"children":10581},{"style":1610},[10582],{"type":213,"value":858},{"type":208,"tag":216,"props":10584,"children":10585},{"style":1610},[10586],{"type":213,"value":1617},{"type":208,"tag":216,"props":10588,"children":10589},{"style":1568},[10590],{"type":213,"value":1647},{"type":208,"tag":216,"props":10592,"children":10593},{"style":1610},[10594],{"type":213,"value":864},{"type":208,"tag":216,"props":10596,"children":10597},{"style":1591},[10598],{"type":213,"value":1656},{"type":208,"tag":216,"props":10600,"children":10601},{"class":668,"line":716},[10602],{"type":208,"tag":216,"props":10603,"children":10604},{"emptyLinePlaceholder":872},[10605],{"type":213,"value":873},{"type":208,"tag":216,"props":10607,"children":10608},{"class":668,"line":783},[10609,10613,10617,10621,10625,10629,10633],{"type":208,"tag":216,"props":10610,"children":10611},{"style":1610},[10612],{"type":213,"value":939},{"type":208,"tag":216,"props":10614,"children":10615},{"style":1568},[10616],{"type":213,"value":1675},{"type":208,"tag":216,"props":10618,"children":10619},{"style":1678},[10620],{"type":213,"value":1681},{"type":208,"tag":216,"props":10622,"children":10623},{"style":1568},[10624],{"type":213,"value":1686},{"type":208,"tag":216,"props":10626,"children":10627},{"style":1610},[10628],{"type":213,"value":1588},{"type":208,"tag":216,"props":10630,"children":10631},{"style":1580},[10632],{"type":213,"value":1695},{"type":208,"tag":216,"props":10634,"children":10635},{"style":1568},[10636],{"type":213,"value":1700},{"type":208,"tag":216,"props":10638,"children":10639},{"class":668,"line":800},[10640,10644,10648,10652,10656],{"type":208,"tag":216,"props":10641,"children":10642},{"style":1610},[10643],{"type":213,"value":939},{"type":208,"tag":216,"props":10645,"children":10646},{"style":1678},[10647],{"type":213,"value":1712},{"type":208,"tag":216,"props":10649,"children":10650},{"style":1610},[10651],{"type":213,"value":946},{"type":208,"tag":216,"props":10653,"children":10654},{"style":1580},[10655],{"type":213,"value":1721},{"type":208,"tag":216,"props":10657,"children":10658},{"style":1568},[10659],{"type":213,"value":1700},{"type":208,"tag":216,"props":10661,"children":10662},{"class":668,"line":815},[10663,10667,10671,10675,10679],{"type":208,"tag":216,"props":10664,"children":10665},{"style":1610},[10666],{"type":213,"value":939},{"type":208,"tag":216,"props":10668,"children":10669},{"style":1678},[10670],{"type":213,"value":9312},{"type":208,"tag":216,"props":10672,"children":10673},{"style":1610},[10674],{"type":213,"value":946},{"type":208,"tag":216,"props":10676,"children":10677},{"style":1580},[10678],{"type":213,"value":9321},{"type":208,"tag":216,"props":10680,"children":10681},{"style":1568},[10682],{"type":213,"value":1700},{"type":208,"tag":216,"props":10684,"children":10685},{"class":668,"line":821},[10686],{"type":208,"tag":216,"props":10687,"children":10688},{"emptyLinePlaceholder":872},[10689],{"type":213,"value":873},{"type":208,"tag":216,"props":10691,"children":10692},{"class":668,"line":827},[10693,10697,10701,10705,10709,10713],{"type":208,"tag":216,"props":10694,"children":10695},{"style":1610},[10696],{"type":213,"value":939},{"type":208,"tag":216,"props":10698,"children":10699},{"style":1678},[10700],{"type":213,"value":982},{"type":208,"tag":216,"props":10702,"children":10703},{"style":1610},[10704],{"type":213,"value":946},{"type":208,"tag":216,"props":10706,"children":10707},{"style":1568},[10708],{"type":213,"value":987},{"type":208,"tag":216,"props":10710,"children":10711},{"style":1580},[10712],{"type":213,"value":990},{"type":208,"tag":216,"props":10714,"children":10715},{"style":1568},[10716],{"type":213,"value":993},{"type":208,"tag":216,"props":10718,"children":10719},{"class":668,"line":832},[10720,10725,10730],{"type":208,"tag":216,"props":10721,"children":10722},{"style":1568},[10723],{"type":213,"value":10724},"  birthDate: afz.",{"type":208,"tag":216,"props":10726,"children":10727},{"style":1580},[10728],{"type":213,"value":10729},"inputDate",{"type":208,"tag":216,"props":10731,"children":10732},{"style":1568},[10733],{"type":213,"value":1700},{"type":208,"tag":216,"props":10735,"children":10736},{"class":668,"line":838},[10737,10741,10745,10749,10753,10757,10761,10766],{"type":208,"tag":216,"props":10738,"children":10739},{"style":1568},[10740],{"type":213,"value":1823},{"type":208,"tag":216,"props":10742,"children":10743},{"style":1580},[10744],{"type":213,"value":9503},{"type":208,"tag":216,"props":10746,"children":10747},{"style":1568},[10748],{"type":213,"value":1833},{"type":208,"tag":216,"props":10750,"children":10751},{"style":2004},[10752],{"type":213,"value":9512},{"type":208,"tag":216,"props":10754,"children":10755},{"style":1610},[10756],{"type":213,"value":7744},{"type":208,"tag":216,"props":10758,"children":10759},{"style":1568},[10760],{"type":213,"value":9521},{"type":208,"tag":216,"props":10762,"children":10763},{"style":1580},[10764],{"type":213,"value":10765},"convertToISO",{"type":208,"tag":216,"props":10767,"children":10768},{"style":1568},[10769],{"type":213,"value":9531},{"type":208,"tag":216,"props":10771,"children":10772},{"class":668,"line":1151},[10773,10777,10781],{"type":208,"tag":216,"props":10774,"children":10775},{"style":1568},[10776],{"type":213,"value":1823},{"type":208,"tag":216,"props":10778,"children":10779},{"style":1580},[10780],{"type":213,"value":1900},{"type":208,"tag":216,"props":10782,"children":10783},{"style":1568},[10784],{"type":213,"value":993},{"type":208,"tag":216,"props":10786,"children":10787},{"class":668,"line":1276},[10788,10792,10797],{"type":208,"tag":216,"props":10789,"children":10790},{"style":1568},[10791],{"type":213,"value":1913},{"type":208,"tag":216,"props":10793,"children":10794},{"style":1591},[10795],{"type":213,"value":10796},"'出生日期'",{"type":208,"tag":216,"props":10798,"children":10799},{"style":1568},[10800],{"type":213,"value":704},{"type":208,"tag":216,"props":10802,"children":10803},{"class":668,"line":1282},[10804,10809],{"type":208,"tag":216,"props":10805,"children":10806},{"style":1568},[10807],{"type":213,"value":10808},"      description: ",{"type":208,"tag":216,"props":10810,"children":10811},{"style":1591},[10812],{"type":213,"value":10813},"'使用日期输入框选择您的出生日期'\n",{"type":208,"tag":216,"props":10815,"children":10816},{"class":668,"line":1855},[10817],{"type":208,"tag":216,"props":10818,"children":10819},{"style":1568},[10820],{"type":213,"value":1962},{"type":208,"tag":216,"props":10822,"children":10823},{"class":668,"line":1890},[10824],{"type":208,"tag":216,"props":10825,"children":10826},{"style":1568},[10827],{"type":213,"value":719},{"type":208,"tag":216,"props":10829,"children":10830},{"class":668,"line":1907},[10831],{"type":208,"tag":216,"props":10832,"children":10833},{"emptyLinePlaceholder":872},[10834],{"type":213,"value":873},{"type":208,"tag":216,"props":10836,"children":10837},{"class":668,"line":1925},[10838,10842,10846,10850,10854,10858,10862,10866,10870,10874,10878,10882,10886,10890],{"type":208,"tag":216,"props":10839,"children":10840},{"style":1610},[10841],{"type":213,"value":1987},{"type":208,"tag":216,"props":10843,"children":10844},{"style":1610},[10845],{"type":213,"value":1992},{"type":208,"tag":216,"props":10847,"children":10848},{"style":1580},[10849],{"type":213,"value":1997},{"type":208,"tag":216,"props":10851,"children":10852},{"style":1568},[10853],{"type":213,"value":1833},{"type":208,"tag":216,"props":10855,"children":10856},{"style":2004},[10857],{"type":213,"value":2007},{"type":208,"tag":216,"props":10859,"children":10860},{"style":1610},[10861],{"type":213,"value":262},{"type":208,"tag":216,"props":10863,"children":10864},{"style":1580},[10865],{"type":213,"value":2016},{"type":208,"tag":216,"props":10867,"children":10868},{"style":1568},[10869],{"type":213,"value":1571},{"type":208,"tag":216,"props":10871,"children":10872},{"style":1580},[10873],{"type":213,"value":2025},{"type":208,"tag":216,"props":10875,"children":10876},{"style":1568},[10877],{"type":213,"value":470},{"type":208,"tag":216,"props":10879,"children":10880},{"style":1580},[10881],{"type":213,"value":2034},{"type":208,"tag":216,"props":10883,"children":10884},{"style":1568},[10885],{"type":213,"value":1571},{"type":208,"tag":216,"props":10887,"children":10888},{"style":1610},[10889],{"type":213,"value":2043},{"type":208,"tag":216,"props":10891,"children":10892},{"style":1568},[10893],{"type":213,"value":2048},{"type":208,"tag":216,"props":10895,"children":10896},{"class":668,"line":1942},[10897,10901,10905],{"type":208,"tag":216,"props":10898,"children":10899},{"style":1568},[10900],{"type":213,"value":2057},{"type":208,"tag":216,"props":10902,"children":10903},{"style":1580},[10904],{"type":213,"value":2062},{"type":208,"tag":216,"props":10906,"children":10907},{"style":1568},[10908],{"type":213,"value":993},{"type":208,"tag":216,"props":10910,"children":10911},{"class":668,"line":1956},[10912,10916,10920],{"type":208,"tag":216,"props":10913,"children":10914},{"style":1568},[10915],{"type":213,"value":2075},{"type":208,"tag":216,"props":10917,"children":10918},{"style":1591},[10919],{"type":213,"value":2080},{"type":208,"tag":216,"props":10921,"children":10922},{"style":1568},[10923],{"type":213,"value":704},{"type":208,"tag":216,"props":10925,"children":10926},{"class":668,"line":1965},[10927,10931,10935],{"type":208,"tag":216,"props":10928,"children":10929},{"style":1568},[10930],{"type":213,"value":2093},{"type":208,"tag":216,"props":10932,"children":10933},{"style":1591},[10934],{"type":213,"value":2098},{"type":208,"tag":216,"props":10936,"children":10937},{"style":1568},[10938],{"type":213,"value":704},{"type":208,"tag":216,"props":10940,"children":10941},{"class":668,"line":1973},[10942,10946,10950,10954,10958,10962,10966,10970,10974],{"type":208,"tag":216,"props":10943,"children":10944},{"style":1568},[10945],{"type":213,"value":2111},{"type":208,"tag":216,"props":10947,"children":10948},{"style":1678},[10949],{"type":213,"value":2116},{"type":208,"tag":216,"props":10951,"children":10952},{"style":1568},[10953],{"type":213,"value":470},{"type":208,"tag":216,"props":10955,"children":10956},{"style":1580},[10957],{"type":213,"value":2125},{"type":208,"tag":216,"props":10959,"children":10960},{"style":1568},[10961],{"type":213,"value":2130},{"type":208,"tag":216,"props":10963,"children":10964},{"style":1678},[10965],{"type":213,"value":2135},{"type":208,"tag":216,"props":10967,"children":10968},{"style":1568},[10969],{"type":213,"value":686},{"type":208,"tag":216,"props":10971,"children":10972},{"style":1678},[10973],{"type":213,"value":2144},{"type":208,"tag":216,"props":10975,"children":10976},{"style":1568},[10977],{"type":213,"value":1852},{"type":208,"tag":216,"props":10979,"children":10980},{"class":668,"line":1981},[10981],{"type":208,"tag":216,"props":10982,"children":10983},{"style":1568},[10984],{"type":213,"value":1041},{"type":208,"tag":216,"props":10986,"children":10987},{"class":668,"line":2051},[10988],{"type":208,"tag":216,"props":10989,"children":10990},{"style":1568},[10991],{"type":213,"value":2165},{"type":208,"tag":216,"props":10993,"children":10994},{"class":668,"line":2069},[10995,10999,11003],{"type":208,"tag":216,"props":10996,"children":10997},{"style":1568},[10998],{"type":213,"value":2174},{"type":208,"tag":216,"props":11000,"children":11001},{"style":1574},[11002],{"type":213,"value":1577},{"type":208,"tag":216,"props":11004,"children":11005},{"style":1568},[11006],{"type":213,"value":1604},{"type":208,"tag":216,"props":11008,"children":11009},{"class":668,"line":2087},[11010],{"type":208,"tag":216,"props":11011,"children":11012},{"emptyLinePlaceholder":872},[11013],{"type":213,"value":873},{"type":208,"tag":216,"props":11015,"children":11016},{"class":668,"line":2105},[11017,11021,11025],{"type":208,"tag":216,"props":11018,"children":11019},{"style":1568},[11020],{"type":213,"value":1571},{"type":208,"tag":216,"props":11022,"children":11023},{"style":1574},[11024],{"type":213,"value":2203},{"type":208,"tag":216,"props":11026,"children":11027},{"style":1568},[11028],{"type":213,"value":1604},{"type":208,"tag":216,"props":11030,"children":11031},{"class":668,"line":2151},[11032,11036,11040,11044,11048,11052,11056,11060,11064,11068,11072,11076,11080,11084,11088],{"type":208,"tag":216,"props":11033,"children":11034},{"style":1568},[11035],{"type":213,"value":2216},{"type":208,"tag":216,"props":11037,"children":11038},{"style":1574},[11039],{"type":213,"value":2221},{"type":208,"tag":216,"props":11041,"children":11042},{"style":1568},[11043],{"type":213,"value":2226},{"type":208,"tag":216,"props":11045,"children":11046},{"style":1580},[11047],{"type":213,"value":2231},{"type":208,"tag":216,"props":11049,"children":11050},{"style":1568},[11051],{"type":213,"value":1588},{"type":208,"tag":216,"props":11053,"children":11054},{"style":1591},[11055],{"type":213,"value":2240},{"type":208,"tag":216,"props":11057,"children":11058},{"style":1568},[11059],{"type":213,"value":2231},{"type":208,"tag":216,"props":11061,"children":11062},{"style":1591},[11063],{"type":213,"value":2240},{"type":208,"tag":216,"props":11065,"children":11066},{"style":1568},[11067],{"type":213,"value":2253},{"type":208,"tag":216,"props":11069,"children":11070},{"style":1580},[11071],{"type":213,"value":2258},{"type":208,"tag":216,"props":11073,"children":11074},{"style":1568},[11075],{"type":213,"value":1588},{"type":208,"tag":216,"props":11077,"children":11078},{"style":1591},[11079],{"type":213,"value":2240},{"type":208,"tag":216,"props":11081,"children":11082},{"style":1568},[11083],{"type":213,"value":2271},{"type":208,"tag":216,"props":11085,"children":11086},{"style":1591},[11087],{"type":213,"value":2240},{"type":208,"tag":216,"props":11089,"children":11090},{"style":1568},[11091],{"type":213,"value":2280},{"type":208,"tag":216,"props":11093,"children":11094},{"class":668,"line":2159},[11095,11099,11103],{"type":208,"tag":216,"props":11096,"children":11097},{"style":1568},[11098],{"type":213,"value":2174},{"type":208,"tag":216,"props":11100,"children":11101},{"style":1574},[11102],{"type":213,"value":2203},{"type":208,"tag":216,"props":11104,"children":11105},{"style":1568},[11106],{"type":213,"value":1604},{"type":208,"tag":1422,"props":11108,"children":11109},{},[11110],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":11112},[],{"data":11114,"body":11115,"toc":11745},{"title":663,"description":663},{"type":205,"children":11116},[11117,11741],{"type":208,"tag":1551,"props":11118,"children":11119},{},[11120],{"type":208,"tag":658,"props":11121,"children":11123},{"className":1556,"code":11122,"language":1558,"meta":663,"style":663},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst toast = useToast()\nconst formatter = useDateFormatter()\n\nconst schema = afz.object({\n  eventPeriod: afz.inputDate({\n    controlProps: {\n      range: true\n    }\n  })\n    .transform(date => formatter.convertToISO(date))\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",[11124],{"type":208,"tag":239,"props":11125,"children":11126},{"__ignoreMap":663},[11127,11158,11181,11204,11211,11242,11265,11288,11295,11322,11338,11345,11356,11363,11370,11405,11420,11436,11448,11455,11462,11469,11528,11543,11558,11573,11612,11619,11626,11641,11648,11663,11726],{"type":208,"tag":216,"props":11128,"children":11129},{"class":668,"line":669},[11130,11134,11138,11142,11146,11150,11154],{"type":208,"tag":216,"props":11131,"children":11132},{"style":1568},[11133],{"type":213,"value":1571},{"type":208,"tag":216,"props":11135,"children":11136},{"style":1574},[11137],{"type":213,"value":1577},{"type":208,"tag":216,"props":11139,"children":11140},{"style":1580},[11141],{"type":213,"value":1583},{"type":208,"tag":216,"props":11143,"children":11144},{"style":1568},[11145],{"type":213,"value":1588},{"type":208,"tag":216,"props":11147,"children":11148},{"style":1591},[11149],{"type":213,"value":1594},{"type":208,"tag":216,"props":11151,"children":11152},{"style":1580},[11153],{"type":213,"value":1599},{"type":208,"tag":216,"props":11155,"children":11156},{"style":1568},[11157],{"type":213,"value":1604},{"type":208,"tag":216,"props":11159,"children":11160},{"class":668,"line":695},[11161,11165,11169,11173,11177],{"type":208,"tag":216,"props":11162,"children":11163},{"style":1610},[11164],{"type":213,"value":858},{"type":208,"tag":216,"props":11166,"children":11167},{"style":1610},[11168],{"type":213,"value":1617},{"type":208,"tag":216,"props":11170,"children":11171},{"style":1568},[11172],{"type":213,"value":1622},{"type":208,"tag":216,"props":11174,"children":11175},{"style":1610},[11176],{"type":213,"value":864},{"type":208,"tag":216,"props":11178,"children":11179},{"style":1591},[11180],{"type":213,"value":1631},{"type":208,"tag":216,"props":11182,"children":11183},{"class":668,"line":707},[11184,11188,11192,11196,11200],{"type":208,"tag":216,"props":11185,"children":11186},{"style":1610},[11187],{"type":213,"value":858},{"type":208,"tag":216,"props":11189,"children":11190},{"style":1610},[11191],{"type":213,"value":1617},{"type":208,"tag":216,"props":11193,"children":11194},{"style":1568},[11195],{"type":213,"value":1647},{"type":208,"tag":216,"props":11197,"children":11198},{"style":1610},[11199],{"type":213,"value":864},{"type":208,"tag":216,"props":11201,"children":11202},{"style":1591},[11203],{"type":213,"value":1656},{"type":208,"tag":216,"props":11205,"children":11206},{"class":668,"line":716},[11207],{"type":208,"tag":216,"props":11208,"children":11209},{"emptyLinePlaceholder":872},[11210],{"type":213,"value":873},{"type":208,"tag":216,"props":11212,"children":11213},{"class":668,"line":783},[11214,11218,11222,11226,11230,11234,11238],{"type":208,"tag":216,"props":11215,"children":11216},{"style":1610},[11217],{"type":213,"value":939},{"type":208,"tag":216,"props":11219,"children":11220},{"style":1568},[11221],{"type":213,"value":1675},{"type":208,"tag":216,"props":11223,"children":11224},{"style":1678},[11225],{"type":213,"value":1681},{"type":208,"tag":216,"props":11227,"children":11228},{"style":1568},[11229],{"type":213,"value":1686},{"type":208,"tag":216,"props":11231,"children":11232},{"style":1610},[11233],{"type":213,"value":1588},{"type":208,"tag":216,"props":11235,"children":11236},{"style":1580},[11237],{"type":213,"value":1695},{"type":208,"tag":216,"props":11239,"children":11240},{"style":1568},[11241],{"type":213,"value":1700},{"type":208,"tag":216,"props":11243,"children":11244},{"class":668,"line":800},[11245,11249,11253,11257,11261],{"type":208,"tag":216,"props":11246,"children":11247},{"style":1610},[11248],{"type":213,"value":939},{"type":208,"tag":216,"props":11250,"children":11251},{"style":1678},[11252],{"type":213,"value":1712},{"type":208,"tag":216,"props":11254,"children":11255},{"style":1610},[11256],{"type":213,"value":946},{"type":208,"tag":216,"props":11258,"children":11259},{"style":1580},[11260],{"type":213,"value":1721},{"type":208,"tag":216,"props":11262,"children":11263},{"style":1568},[11264],{"type":213,"value":1700},{"type":208,"tag":216,"props":11266,"children":11267},{"class":668,"line":815},[11268,11272,11276,11280,11284],{"type":208,"tag":216,"props":11269,"children":11270},{"style":1610},[11271],{"type":213,"value":939},{"type":208,"tag":216,"props":11273,"children":11274},{"style":1678},[11275],{"type":213,"value":9312},{"type":208,"tag":216,"props":11277,"children":11278},{"style":1610},[11279],{"type":213,"value":946},{"type":208,"tag":216,"props":11281,"children":11282},{"style":1580},[11283],{"type":213,"value":9321},{"type":208,"tag":216,"props":11285,"children":11286},{"style":1568},[11287],{"type":213,"value":1700},{"type":208,"tag":216,"props":11289,"children":11290},{"class":668,"line":821},[11291],{"type":208,"tag":216,"props":11292,"children":11293},{"emptyLinePlaceholder":872},[11294],{"type":213,"value":873},{"type":208,"tag":216,"props":11296,"children":11297},{"class":668,"line":827},[11298,11302,11306,11310,11314,11318],{"type":208,"tag":216,"props":11299,"children":11300},{"style":1610},[11301],{"type":213,"value":939},{"type":208,"tag":216,"props":11303,"children":11304},{"style":1678},[11305],{"type":213,"value":982},{"type":208,"tag":216,"props":11307,"children":11308},{"style":1610},[11309],{"type":213,"value":946},{"type":208,"tag":216,"props":11311,"children":11312},{"style":1568},[11313],{"type":213,"value":987},{"type":208,"tag":216,"props":11315,"children":11316},{"style":1580},[11317],{"type":213,"value":990},{"type":208,"tag":216,"props":11319,"children":11320},{"style":1568},[11321],{"type":213,"value":993},{"type":208,"tag":216,"props":11323,"children":11324},{"class":668,"line":832},[11325,11330,11334],{"type":208,"tag":216,"props":11326,"children":11327},{"style":1568},[11328],{"type":213,"value":11329},"  eventPeriod: afz.",{"type":208,"tag":216,"props":11331,"children":11332},{"style":1580},[11333],{"type":213,"value":10729},{"type":208,"tag":216,"props":11335,"children":11336},{"style":1568},[11337],{"type":213,"value":993},{"type":208,"tag":216,"props":11339,"children":11340},{"class":668,"line":838},[11341],{"type":208,"tag":216,"props":11342,"children":11343},{"style":1568},[11344],{"type":213,"value":1018},{"type":208,"tag":216,"props":11346,"children":11347},{"class":668,"line":1151},[11348,11352],{"type":208,"tag":216,"props":11349,"children":11350},{"style":1568},[11351],{"type":213,"value":10090},{"type":208,"tag":216,"props":11353,"children":11354},{"style":1678},[11355],{"type":213,"value":2557},{"type":208,"tag":216,"props":11357,"children":11358},{"class":668,"line":1276},[11359],{"type":208,"tag":216,"props":11360,"children":11361},{"style":1568},[11362],{"type":213,"value":1036},{"type":208,"tag":216,"props":11364,"children":11365},{"class":668,"line":1282},[11366],{"type":208,"tag":216,"props":11367,"children":11368},{"style":1568},[11369],{"type":213,"value":1041},{"type":208,"tag":216,"props":11371,"children":11372},{"class":668,"line":1855},[11373,11377,11381,11385,11389,11393,11397,11401],{"type":208,"tag":216,"props":11374,"children":11375},{"style":1568},[11376],{"type":213,"value":1823},{"type":208,"tag":216,"props":11378,"children":11379},{"style":1580},[11380],{"type":213,"value":9503},{"type":208,"tag":216,"props":11382,"children":11383},{"style":1568},[11384],{"type":213,"value":1833},{"type":208,"tag":216,"props":11386,"children":11387},{"style":2004},[11388],{"type":213,"value":9512},{"type":208,"tag":216,"props":11390,"children":11391},{"style":1610},[11392],{"type":213,"value":7744},{"type":208,"tag":216,"props":11394,"children":11395},{"style":1568},[11396],{"type":213,"value":9521},{"type":208,"tag":216,"props":11398,"children":11399},{"style":1580},[11400],{"type":213,"value":10765},{"type":208,"tag":216,"props":11402,"children":11403},{"style":1568},[11404],{"type":213,"value":9531},{"type":208,"tag":216,"props":11406,"children":11407},{"class":668,"line":1890},[11408,11412,11416],{"type":208,"tag":216,"props":11409,"children":11410},{"style":1568},[11411],{"type":213,"value":1823},{"type":208,"tag":216,"props":11413,"children":11414},{"style":1580},[11415],{"type":213,"value":1900},{"type":208,"tag":216,"props":11417,"children":11418},{"style":1568},[11419],{"type":213,"value":993},{"type":208,"tag":216,"props":11421,"children":11422},{"class":668,"line":1907},[11423,11427,11432],{"type":208,"tag":216,"props":11424,"children":11425},{"style":1568},[11426],{"type":213,"value":1913},{"type":208,"tag":216,"props":11428,"children":11429},{"style":1591},[11430],{"type":213,"value":11431},"'活动周期'",{"type":208,"tag":216,"props":11433,"children":11434},{"style":1568},[11435],{"type":213,"value":704},{"type":208,"tag":216,"props":11437,"children":11438},{"class":668,"line":1925},[11439,11443],{"type":208,"tag":216,"props":11440,"children":11441},{"style":1568},[11442],{"type":213,"value":1948},{"type":208,"tag":216,"props":11444,"children":11445},{"style":1591},[11446],{"type":213,"value":11447},"'选择活动的起止日期'\n",{"type":208,"tag":216,"props":11449,"children":11450},{"class":668,"line":1942},[11451],{"type":208,"tag":216,"props":11452,"children":11453},{"style":1568},[11454],{"type":213,"value":1962},{"type":208,"tag":216,"props":11456,"children":11457},{"class":668,"line":1956},[11458],{"type":208,"tag":216,"props":11459,"children":11460},{"style":1568},[11461],{"type":213,"value":719},{"type":208,"tag":216,"props":11463,"children":11464},{"class":668,"line":1965},[11465],{"type":208,"tag":216,"props":11466,"children":11467},{"emptyLinePlaceholder":872},[11468],{"type":213,"value":873},{"type":208,"tag":216,"props":11470,"children":11471},{"class":668,"line":1973},[11472,11476,11480,11484,11488,11492,11496,11500,11504,11508,11512,11516,11520,11524],{"type":208,"tag":216,"props":11473,"children":11474},{"style":1610},[11475],{"type":213,"value":1987},{"type":208,"tag":216,"props":11477,"children":11478},{"style":1610},[11479],{"type":213,"value":1992},{"type":208,"tag":216,"props":11481,"children":11482},{"style":1580},[11483],{"type":213,"value":1997},{"type":208,"tag":216,"props":11485,"children":11486},{"style":1568},[11487],{"type":213,"value":1833},{"type":208,"tag":216,"props":11489,"children":11490},{"style":2004},[11491],{"type":213,"value":2007},{"type":208,"tag":216,"props":11493,"children":11494},{"style":1610},[11495],{"type":213,"value":262},{"type":208,"tag":216,"props":11497,"children":11498},{"style":1580},[11499],{"type":213,"value":2016},{"type":208,"tag":216,"props":11501,"children":11502},{"style":1568},[11503],{"type":213,"value":1571},{"type":208,"tag":216,"props":11505,"children":11506},{"style":1580},[11507],{"type":213,"value":2025},{"type":208,"tag":216,"props":11509,"children":11510},{"style":1568},[11511],{"type":213,"value":470},{"type":208,"tag":216,"props":11513,"children":11514},{"style":1580},[11515],{"type":213,"value":2034},{"type":208,"tag":216,"props":11517,"children":11518},{"style":1568},[11519],{"type":213,"value":1571},{"type":208,"tag":216,"props":11521,"children":11522},{"style":1610},[11523],{"type":213,"value":2043},{"type":208,"tag":216,"props":11525,"children":11526},{"style":1568},[11527],{"type":213,"value":2048},{"type":208,"tag":216,"props":11529,"children":11530},{"class":668,"line":1981},[11531,11535,11539],{"type":208,"tag":216,"props":11532,"children":11533},{"style":1568},[11534],{"type":213,"value":2057},{"type":208,"tag":216,"props":11536,"children":11537},{"style":1580},[11538],{"type":213,"value":2062},{"type":208,"tag":216,"props":11540,"children":11541},{"style":1568},[11542],{"type":213,"value":993},{"type":208,"tag":216,"props":11544,"children":11545},{"class":668,"line":2051},[11546,11550,11554],{"type":208,"tag":216,"props":11547,"children":11548},{"style":1568},[11549],{"type":213,"value":2075},{"type":208,"tag":216,"props":11551,"children":11552},{"style":1591},[11553],{"type":213,"value":2080},{"type":208,"tag":216,"props":11555,"children":11556},{"style":1568},[11557],{"type":213,"value":704},{"type":208,"tag":216,"props":11559,"children":11560},{"class":668,"line":2069},[11561,11565,11569],{"type":208,"tag":216,"props":11562,"children":11563},{"style":1568},[11564],{"type":213,"value":2093},{"type":208,"tag":216,"props":11566,"children":11567},{"style":1591},[11568],{"type":213,"value":2098},{"type":208,"tag":216,"props":11570,"children":11571},{"style":1568},[11572],{"type":213,"value":704},{"type":208,"tag":216,"props":11574,"children":11575},{"class":668,"line":2087},[11576,11580,11584,11588,11592,11596,11600,11604,11608],{"type":208,"tag":216,"props":11577,"children":11578},{"style":1568},[11579],{"type":213,"value":2111},{"type":208,"tag":216,"props":11581,"children":11582},{"style":1678},[11583],{"type":213,"value":2116},{"type":208,"tag":216,"props":11585,"children":11586},{"style":1568},[11587],{"type":213,"value":470},{"type":208,"tag":216,"props":11589,"children":11590},{"style":1580},[11591],{"type":213,"value":2125},{"type":208,"tag":216,"props":11593,"children":11594},{"style":1568},[11595],{"type":213,"value":2130},{"type":208,"tag":216,"props":11597,"children":11598},{"style":1678},[11599],{"type":213,"value":2135},{"type":208,"tag":216,"props":11601,"children":11602},{"style":1568},[11603],{"type":213,"value":686},{"type":208,"tag":216,"props":11605,"children":11606},{"style":1678},[11607],{"type":213,"value":2144},{"type":208,"tag":216,"props":11609,"children":11610},{"style":1568},[11611],{"type":213,"value":1852},{"type":208,"tag":216,"props":11613,"children":11614},{"class":668,"line":2105},[11615],{"type":208,"tag":216,"props":11616,"children":11617},{"style":1568},[11618],{"type":213,"value":1041},{"type":208,"tag":216,"props":11620,"children":11621},{"class":668,"line":2151},[11622],{"type":208,"tag":216,"props":11623,"children":11624},{"style":1568},[11625],{"type":213,"value":2165},{"type":208,"tag":216,"props":11627,"children":11628},{"class":668,"line":2159},[11629,11633,11637],{"type":208,"tag":216,"props":11630,"children":11631},{"style":1568},[11632],{"type":213,"value":2174},{"type":208,"tag":216,"props":11634,"children":11635},{"style":1574},[11636],{"type":213,"value":1577},{"type":208,"tag":216,"props":11638,"children":11639},{"style":1568},[11640],{"type":213,"value":1604},{"type":208,"tag":216,"props":11642,"children":11643},{"class":668,"line":2168},[11644],{"type":208,"tag":216,"props":11645,"children":11646},{"emptyLinePlaceholder":872},[11647],{"type":213,"value":873},{"type":208,"tag":216,"props":11649,"children":11650},{"class":668,"line":2185},[11651,11655,11659],{"type":208,"tag":216,"props":11652,"children":11653},{"style":1568},[11654],{"type":213,"value":1571},{"type":208,"tag":216,"props":11656,"children":11657},{"style":1574},[11658],{"type":213,"value":2203},{"type":208,"tag":216,"props":11660,"children":11661},{"style":1568},[11662],{"type":213,"value":1604},{"type":208,"tag":216,"props":11664,"children":11665},{"class":668,"line":2193},[11666,11670,11674,11678,11682,11686,11690,11694,11698,11702,11706,11710,11714,11718,11722],{"type":208,"tag":216,"props":11667,"children":11668},{"style":1568},[11669],{"type":213,"value":2216},{"type":208,"tag":216,"props":11671,"children":11672},{"style":1574},[11673],{"type":213,"value":2221},{"type":208,"tag":216,"props":11675,"children":11676},{"style":1568},[11677],{"type":213,"value":2226},{"type":208,"tag":216,"props":11679,"children":11680},{"style":1580},[11681],{"type":213,"value":2231},{"type":208,"tag":216,"props":11683,"children":11684},{"style":1568},[11685],{"type":213,"value":1588},{"type":208,"tag":216,"props":11687,"children":11688},{"style":1591},[11689],{"type":213,"value":2240},{"type":208,"tag":216,"props":11691,"children":11692},{"style":1568},[11693],{"type":213,"value":2231},{"type":208,"tag":216,"props":11695,"children":11696},{"style":1591},[11697],{"type":213,"value":2240},{"type":208,"tag":216,"props":11699,"children":11700},{"style":1568},[11701],{"type":213,"value":2253},{"type":208,"tag":216,"props":11703,"children":11704},{"style":1580},[11705],{"type":213,"value":2258},{"type":208,"tag":216,"props":11707,"children":11708},{"style":1568},[11709],{"type":213,"value":1588},{"type":208,"tag":216,"props":11711,"children":11712},{"style":1591},[11713],{"type":213,"value":2240},{"type":208,"tag":216,"props":11715,"children":11716},{"style":1568},[11717],{"type":213,"value":2271},{"type":208,"tag":216,"props":11719,"children":11720},{"style":1591},[11721],{"type":213,"value":2240},{"type":208,"tag":216,"props":11723,"children":11724},{"style":1568},[11725],{"type":213,"value":2280},{"type":208,"tag":216,"props":11727,"children":11728},{"class":668,"line":2210},[11729,11733,11737],{"type":208,"tag":216,"props":11730,"children":11731},{"style":1568},[11732],{"type":213,"value":2174},{"type":208,"tag":216,"props":11734,"children":11735},{"style":1574},[11736],{"type":213,"value":2203},{"type":208,"tag":216,"props":11738,"children":11739},{"style":1568},[11740],{"type":213,"value":1604},{"type":208,"tag":1422,"props":11742,"children":11743},{},[11744],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":11746},[],{"data":11748,"body":11749,"toc":12521},{"title":663,"description":663},{"type":205,"children":11750},[11751,12517],{"type":208,"tag":1551,"props":11752,"children":11753},{},[11754],{"type":208,"tag":658,"props":11755,"children":11757},{"className":1556,"code":11756,"language":1558,"meta":663,"style":663},"\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  meetingTime: afz.inputTime()\n    .refine(\n      time => time.hour >= 9 && time.hour \u003C 18,\n      { message: '会议时间必须在工作时间内 (9:00-18:00)' }\n    )\n    .transform(time => `${String(time.hour).padStart(2, '0')}:${String(time.minute).padStart(2, '0')}`)\n    .meta({\n      label: '会议时间',\n      description: '请选择会议时间（工作时间内）'\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",[11758],{"type":208,"tag":239,"props":11759,"children":11760},{"__ignoreMap":663},[11761,11792,11815,11838,11845,11876,11899,11906,11933,11950,11965,12014,12030,12037,12181,12196,12212,12224,12231,12238,12245,12304,12319,12334,12349,12388,12395,12402,12417,12424,12439,12502],{"type":208,"tag":216,"props":11762,"children":11763},{"class":668,"line":669},[11764,11768,11772,11776,11780,11784,11788],{"type":208,"tag":216,"props":11765,"children":11766},{"style":1568},[11767],{"type":213,"value":1571},{"type":208,"tag":216,"props":11769,"children":11770},{"style":1574},[11771],{"type":213,"value":1577},{"type":208,"tag":216,"props":11773,"children":11774},{"style":1580},[11775],{"type":213,"value":1583},{"type":208,"tag":216,"props":11777,"children":11778},{"style":1568},[11779],{"type":213,"value":1588},{"type":208,"tag":216,"props":11781,"children":11782},{"style":1591},[11783],{"type":213,"value":1594},{"type":208,"tag":216,"props":11785,"children":11786},{"style":1580},[11787],{"type":213,"value":1599},{"type":208,"tag":216,"props":11789,"children":11790},{"style":1568},[11791],{"type":213,"value":1604},{"type":208,"tag":216,"props":11793,"children":11794},{"class":668,"line":695},[11795,11799,11803,11807,11811],{"type":208,"tag":216,"props":11796,"children":11797},{"style":1610},[11798],{"type":213,"value":858},{"type":208,"tag":216,"props":11800,"children":11801},{"style":1610},[11802],{"type":213,"value":1617},{"type":208,"tag":216,"props":11804,"children":11805},{"style":1568},[11806],{"type":213,"value":1622},{"type":208,"tag":216,"props":11808,"children":11809},{"style":1610},[11810],{"type":213,"value":864},{"type":208,"tag":216,"props":11812,"children":11813},{"style":1591},[11814],{"type":213,"value":1631},{"type":208,"tag":216,"props":11816,"children":11817},{"class":668,"line":707},[11818,11822,11826,11830,11834],{"type":208,"tag":216,"props":11819,"children":11820},{"style":1610},[11821],{"type":213,"value":858},{"type":208,"tag":216,"props":11823,"children":11824},{"style":1610},[11825],{"type":213,"value":1617},{"type":208,"tag":216,"props":11827,"children":11828},{"style":1568},[11829],{"type":213,"value":1647},{"type":208,"tag":216,"props":11831,"children":11832},{"style":1610},[11833],{"type":213,"value":864},{"type":208,"tag":216,"props":11835,"children":11836},{"style":1591},[11837],{"type":213,"value":1656},{"type":208,"tag":216,"props":11839,"children":11840},{"class":668,"line":716},[11841],{"type":208,"tag":216,"props":11842,"children":11843},{"emptyLinePlaceholder":872},[11844],{"type":213,"value":873},{"type":208,"tag":216,"props":11846,"children":11847},{"class":668,"line":783},[11848,11852,11856,11860,11864,11868,11872],{"type":208,"tag":216,"props":11849,"children":11850},{"style":1610},[11851],{"type":213,"value":939},{"type":208,"tag":216,"props":11853,"children":11854},{"style":1568},[11855],{"type":213,"value":1675},{"type":208,"tag":216,"props":11857,"children":11858},{"style":1678},[11859],{"type":213,"value":1681},{"type":208,"tag":216,"props":11861,"children":11862},{"style":1568},[11863],{"type":213,"value":1686},{"type":208,"tag":216,"props":11865,"children":11866},{"style":1610},[11867],{"type":213,"value":1588},{"type":208,"tag":216,"props":11869,"children":11870},{"style":1580},[11871],{"type":213,"value":1695},{"type":208,"tag":216,"props":11873,"children":11874},{"style":1568},[11875],{"type":213,"value":1700},{"type":208,"tag":216,"props":11877,"children":11878},{"class":668,"line":800},[11879,11883,11887,11891,11895],{"type":208,"tag":216,"props":11880,"children":11881},{"style":1610},[11882],{"type":213,"value":939},{"type":208,"tag":216,"props":11884,"children":11885},{"style":1678},[11886],{"type":213,"value":1712},{"type":208,"tag":216,"props":11888,"children":11889},{"style":1610},[11890],{"type":213,"value":946},{"type":208,"tag":216,"props":11892,"children":11893},{"style":1580},[11894],{"type":213,"value":1721},{"type":208,"tag":216,"props":11896,"children":11897},{"style":1568},[11898],{"type":213,"value":1700},{"type":208,"tag":216,"props":11900,"children":11901},{"class":668,"line":815},[11902],{"type":208,"tag":216,"props":11903,"children":11904},{"emptyLinePlaceholder":872},[11905],{"type":213,"value":873},{"type":208,"tag":216,"props":11907,"children":11908},{"class":668,"line":821},[11909,11913,11917,11921,11925,11929],{"type":208,"tag":216,"props":11910,"children":11911},{"style":1610},[11912],{"type":213,"value":939},{"type":208,"tag":216,"props":11914,"children":11915},{"style":1678},[11916],{"type":213,"value":982},{"type":208,"tag":216,"props":11918,"children":11919},{"style":1610},[11920],{"type":213,"value":946},{"type":208,"tag":216,"props":11922,"children":11923},{"style":1568},[11924],{"type":213,"value":987},{"type":208,"tag":216,"props":11926,"children":11927},{"style":1580},[11928],{"type":213,"value":990},{"type":208,"tag":216,"props":11930,"children":11931},{"style":1568},[11932],{"type":213,"value":993},{"type":208,"tag":216,"props":11934,"children":11935},{"class":668,"line":827},[11936,11941,11946],{"type":208,"tag":216,"props":11937,"children":11938},{"style":1568},[11939],{"type":213,"value":11940},"  meetingTime: afz.",{"type":208,"tag":216,"props":11942,"children":11943},{"style":1580},[11944],{"type":213,"value":11945},"inputTime",{"type":208,"tag":216,"props":11947,"children":11948},{"style":1568},[11949],{"type":213,"value":1700},{"type":208,"tag":216,"props":11951,"children":11952},{"class":668,"line":832},[11953,11957,11961],{"type":208,"tag":216,"props":11954,"children":11955},{"style":1568},[11956],{"type":213,"value":1823},{"type":208,"tag":216,"props":11958,"children":11959},{"style":1580},[11960],{"type":213,"value":7730},{"type":208,"tag":216,"props":11962,"children":11963},{"style":1568},[11964],{"type":213,"value":9403},{"type":208,"tag":216,"props":11966,"children":11967},{"class":668,"line":838},[11968,11973,11977,11982,11987,11992,11997,12001,12005,12010],{"type":208,"tag":216,"props":11969,"children":11970},{"style":2004},[11971],{"type":213,"value":11972},"      time",{"type":208,"tag":216,"props":11974,"children":11975},{"style":1610},[11976],{"type":213,"value":7744},{"type":208,"tag":216,"props":11978,"children":11979},{"style":1568},[11980],{"type":213,"value":11981}," time.hour ",{"type":208,"tag":216,"props":11983,"children":11984},{"style":1610},[11985],{"type":213,"value":11986},">=",{"type":208,"tag":216,"props":11988,"children":11989},{"style":1678},[11990],{"type":213,"value":11991}," 9",{"type":208,"tag":216,"props":11993,"children":11994},{"style":1610},[11995],{"type":213,"value":11996}," &&",{"type":208,"tag":216,"props":11998,"children":11999},{"style":1568},[12000],{"type":213,"value":11981},{"type":208,"tag":216,"props":12002,"children":12003},{"style":1610},[12004],{"type":213,"value":1571},{"type":208,"tag":216,"props":12006,"children":12007},{"style":1678},[12008],{"type":213,"value":12009}," 18",{"type":208,"tag":216,"props":12011,"children":12012},{"style":1568},[12013],{"type":213,"value":704},{"type":208,"tag":216,"props":12015,"children":12016},{"class":668,"line":1151},[12017,12021,12026],{"type":208,"tag":216,"props":12018,"children":12019},{"style":1568},[12020],{"type":213,"value":9474},{"type":208,"tag":216,"props":12022,"children":12023},{"style":1591},[12024],{"type":213,"value":12025},"'会议时间必须在工作时间内 (9:00-18:00)'",{"type":208,"tag":216,"props":12027,"children":12028},{"style":1568},[12029],{"type":213,"value":812},{"type":208,"tag":216,"props":12031,"children":12032},{"class":668,"line":1276},[12033],{"type":208,"tag":216,"props":12034,"children":12035},{"style":1568},[12036],{"type":213,"value":9491},{"type":208,"tag":216,"props":12038,"children":12039},{"class":668,"line":1282},[12040,12044,12048,12052,12057,12061,12066,12070,12074,12078,12082,12087,12091,12096,12100,12104,12108,12113,12118,12123,12127,12131,12135,12139,12144,12148,12152,12156,12160,12164,12168,12172,12177],{"type":208,"tag":216,"props":12041,"children":12042},{"style":1568},[12043],{"type":213,"value":1823},{"type":208,"tag":216,"props":12045,"children":12046},{"style":1580},[12047],{"type":213,"value":9503},{"type":208,"tag":216,"props":12049,"children":12050},{"style":1568},[12051],{"type":213,"value":1833},{"type":208,"tag":216,"props":12053,"children":12054},{"style":2004},[12055],{"type":213,"value":12056},"time",{"type":208,"tag":216,"props":12058,"children":12059},{"style":1610},[12060],{"type":213,"value":7744},{"type":208,"tag":216,"props":12062,"children":12063},{"style":1591},[12064],{"type":213,"value":12065}," `${",{"type":208,"tag":216,"props":12067,"children":12068},{"style":1580},[12069],{"type":213,"value":232},{"type":208,"tag":216,"props":12071,"children":12072},{"style":1591},[12073],{"type":213,"value":1833},{"type":208,"tag":216,"props":12075,"children":12076},{"style":1568},[12077],{"type":213,"value":12056},{"type":208,"tag":216,"props":12079,"children":12080},{"style":1591},[12081],{"type":213,"value":470},{"type":208,"tag":216,"props":12083,"children":12084},{"style":1568},[12085],{"type":213,"value":12086},"hour",{"type":208,"tag":216,"props":12088,"children":12089},{"style":1591},[12090],{"type":213,"value":8901},{"type":208,"tag":216,"props":12092,"children":12093},{"style":1580},[12094],{"type":213,"value":12095},"padStart",{"type":208,"tag":216,"props":12097,"children":12098},{"style":1591},[12099],{"type":213,"value":1833},{"type":208,"tag":216,"props":12101,"children":12102},{"style":1678},[12103],{"type":213,"value":2144},{"type":208,"tag":216,"props":12105,"children":12106},{"style":1591},[12107],{"type":213,"value":686},{"type":208,"tag":216,"props":12109,"children":12110},{"style":1591},[12111],{"type":213,"value":12112},"'0'",{"type":208,"tag":216,"props":12114,"children":12115},{"style":1591},[12116],{"type":213,"value":12117},")",{"type":208,"tag":216,"props":12119,"children":12120},{"style":1591},[12121],{"type":213,"value":12122},"}:${",{"type":208,"tag":216,"props":12124,"children":12125},{"style":1580},[12126],{"type":213,"value":232},{"type":208,"tag":216,"props":12128,"children":12129},{"style":1591},[12130],{"type":213,"value":1833},{"type":208,"tag":216,"props":12132,"children":12133},{"style":1568},[12134],{"type":213,"value":12056},{"type":208,"tag":216,"props":12136,"children":12137},{"style":1591},[12138],{"type":213,"value":470},{"type":208,"tag":216,"props":12140,"children":12141},{"style":1568},[12142],{"type":213,"value":12143},"minute",{"type":208,"tag":216,"props":12145,"children":12146},{"style":1591},[12147],{"type":213,"value":8901},{"type":208,"tag":216,"props":12149,"children":12150},{"style":1580},[12151],{"type":213,"value":12095},{"type":208,"tag":216,"props":12153,"children":12154},{"style":1591},[12155],{"type":213,"value":1833},{"type":208,"tag":216,"props":12157,"children":12158},{"style":1678},[12159],{"type":213,"value":2144},{"type":208,"tag":216,"props":12161,"children":12162},{"style":1591},[12163],{"type":213,"value":686},{"type":208,"tag":216,"props":12165,"children":12166},{"style":1591},[12167],{"type":213,"value":12112},{"type":208,"tag":216,"props":12169,"children":12170},{"style":1591},[12171],{"type":213,"value":12117},{"type":208,"tag":216,"props":12173,"children":12174},{"style":1591},[12175],{"type":213,"value":12176},"}`",{"type":208,"tag":216,"props":12178,"children":12179},{"style":1568},[12180],{"type":213,"value":1852},{"type":208,"tag":216,"props":12182,"children":12183},{"class":668,"line":1855},[12184,12188,12192],{"type":208,"tag":216,"props":12185,"children":12186},{"style":1568},[12187],{"type":213,"value":1823},{"type":208,"tag":216,"props":12189,"children":12190},{"style":1580},[12191],{"type":213,"value":1900},{"type":208,"tag":216,"props":12193,"children":12194},{"style":1568},[12195],{"type":213,"value":993},{"type":208,"tag":216,"props":12197,"children":12198},{"class":668,"line":1890},[12199,12203,12208],{"type":208,"tag":216,"props":12200,"children":12201},{"style":1568},[12202],{"type":213,"value":1913},{"type":208,"tag":216,"props":12204,"children":12205},{"style":1591},[12206],{"type":213,"value":12207},"'会议时间'",{"type":208,"tag":216,"props":12209,"children":12210},{"style":1568},[12211],{"type":213,"value":704},{"type":208,"tag":216,"props":12213,"children":12214},{"class":668,"line":1907},[12215,12219],{"type":208,"tag":216,"props":12216,"children":12217},{"style":1568},[12218],{"type":213,"value":10808},{"type":208,"tag":216,"props":12220,"children":12221},{"style":1591},[12222],{"type":213,"value":12223},"'请选择会议时间（工作时间内）'\n",{"type":208,"tag":216,"props":12225,"children":12226},{"class":668,"line":1925},[12227],{"type":208,"tag":216,"props":12228,"children":12229},{"style":1568},[12230],{"type":213,"value":1962},{"type":208,"tag":216,"props":12232,"children":12233},{"class":668,"line":1942},[12234],{"type":208,"tag":216,"props":12235,"children":12236},{"style":1568},[12237],{"type":213,"value":719},{"type":208,"tag":216,"props":12239,"children":12240},{"class":668,"line":1956},[12241],{"type":208,"tag":216,"props":12242,"children":12243},{"emptyLinePlaceholder":872},[12244],{"type":213,"value":873},{"type":208,"tag":216,"props":12246,"children":12247},{"class":668,"line":1965},[12248,12252,12256,12260,12264,12268,12272,12276,12280,12284,12288,12292,12296,12300],{"type":208,"tag":216,"props":12249,"children":12250},{"style":1610},[12251],{"type":213,"value":1987},{"type":208,"tag":216,"props":12253,"children":12254},{"style":1610},[12255],{"type":213,"value":1992},{"type":208,"tag":216,"props":12257,"children":12258},{"style":1580},[12259],{"type":213,"value":1997},{"type":208,"tag":216,"props":12261,"children":12262},{"style":1568},[12263],{"type":213,"value":1833},{"type":208,"tag":216,"props":12265,"children":12266},{"style":2004},[12267],{"type":213,"value":2007},{"type":208,"tag":216,"props":12269,"children":12270},{"style":1610},[12271],{"type":213,"value":262},{"type":208,"tag":216,"props":12273,"children":12274},{"style":1580},[12275],{"type":213,"value":2016},{"type":208,"tag":216,"props":12277,"children":12278},{"style":1568},[12279],{"type":213,"value":1571},{"type":208,"tag":216,"props":12281,"children":12282},{"style":1580},[12283],{"type":213,"value":2025},{"type":208,"tag":216,"props":12285,"children":12286},{"style":1568},[12287],{"type":213,"value":470},{"type":208,"tag":216,"props":12289,"children":12290},{"style":1580},[12291],{"type":213,"value":2034},{"type":208,"tag":216,"props":12293,"children":12294},{"style":1568},[12295],{"type":213,"value":1571},{"type":208,"tag":216,"props":12297,"children":12298},{"style":1610},[12299],{"type":213,"value":2043},{"type":208,"tag":216,"props":12301,"children":12302},{"style":1568},[12303],{"type":213,"value":2048},{"type":208,"tag":216,"props":12305,"children":12306},{"class":668,"line":1973},[12307,12311,12315],{"type":208,"tag":216,"props":12308,"children":12309},{"style":1568},[12310],{"type":213,"value":2057},{"type":208,"tag":216,"props":12312,"children":12313},{"style":1580},[12314],{"type":213,"value":2062},{"type":208,"tag":216,"props":12316,"children":12317},{"style":1568},[12318],{"type":213,"value":993},{"type":208,"tag":216,"props":12320,"children":12321},{"class":668,"line":1981},[12322,12326,12330],{"type":208,"tag":216,"props":12323,"children":12324},{"style":1568},[12325],{"type":213,"value":2075},{"type":208,"tag":216,"props":12327,"children":12328},{"style":1591},[12329],{"type":213,"value":2080},{"type":208,"tag":216,"props":12331,"children":12332},{"style":1568},[12333],{"type":213,"value":704},{"type":208,"tag":216,"props":12335,"children":12336},{"class":668,"line":2051},[12337,12341,12345],{"type":208,"tag":216,"props":12338,"children":12339},{"style":1568},[12340],{"type":213,"value":2093},{"type":208,"tag":216,"props":12342,"children":12343},{"style":1591},[12344],{"type":213,"value":2098},{"type":208,"tag":216,"props":12346,"children":12347},{"style":1568},[12348],{"type":213,"value":704},{"type":208,"tag":216,"props":12350,"children":12351},{"class":668,"line":2069},[12352,12356,12360,12364,12368,12372,12376,12380,12384],{"type":208,"tag":216,"props":12353,"children":12354},{"style":1568},[12355],{"type":213,"value":2111},{"type":208,"tag":216,"props":12357,"children":12358},{"style":1678},[12359],{"type":213,"value":2116},{"type":208,"tag":216,"props":12361,"children":12362},{"style":1568},[12363],{"type":213,"value":470},{"type":208,"tag":216,"props":12365,"children":12366},{"style":1580},[12367],{"type":213,"value":2125},{"type":208,"tag":216,"props":12369,"children":12370},{"style":1568},[12371],{"type":213,"value":2130},{"type":208,"tag":216,"props":12373,"children":12374},{"style":1678},[12375],{"type":213,"value":2135},{"type":208,"tag":216,"props":12377,"children":12378},{"style":1568},[12379],{"type":213,"value":686},{"type":208,"tag":216,"props":12381,"children":12382},{"style":1678},[12383],{"type":213,"value":2144},{"type":208,"tag":216,"props":12385,"children":12386},{"style":1568},[12387],{"type":213,"value":1852},{"type":208,"tag":216,"props":12389,"children":12390},{"class":668,"line":2087},[12391],{"type":208,"tag":216,"props":12392,"children":12393},{"style":1568},[12394],{"type":213,"value":1041},{"type":208,"tag":216,"props":12396,"children":12397},{"class":668,"line":2105},[12398],{"type":208,"tag":216,"props":12399,"children":12400},{"style":1568},[12401],{"type":213,"value":2165},{"type":208,"tag":216,"props":12403,"children":12404},{"class":668,"line":2151},[12405,12409,12413],{"type":208,"tag":216,"props":12406,"children":12407},{"style":1568},[12408],{"type":213,"value":2174},{"type":208,"tag":216,"props":12410,"children":12411},{"style":1574},[12412],{"type":213,"value":1577},{"type":208,"tag":216,"props":12414,"children":12415},{"style":1568},[12416],{"type":213,"value":1604},{"type":208,"tag":216,"props":12418,"children":12419},{"class":668,"line":2159},[12420],{"type":208,"tag":216,"props":12421,"children":12422},{"emptyLinePlaceholder":872},[12423],{"type":213,"value":873},{"type":208,"tag":216,"props":12425,"children":12426},{"class":668,"line":2168},[12427,12431,12435],{"type":208,"tag":216,"props":12428,"children":12429},{"style":1568},[12430],{"type":213,"value":1571},{"type":208,"tag":216,"props":12432,"children":12433},{"style":1574},[12434],{"type":213,"value":2203},{"type":208,"tag":216,"props":12436,"children":12437},{"style":1568},[12438],{"type":213,"value":1604},{"type":208,"tag":216,"props":12440,"children":12441},{"class":668,"line":2185},[12442,12446,12450,12454,12458,12462,12466,12470,12474,12478,12482,12486,12490,12494,12498],{"type":208,"tag":216,"props":12443,"children":12444},{"style":1568},[12445],{"type":213,"value":2216},{"type":208,"tag":216,"props":12447,"children":12448},{"style":1574},[12449],{"type":213,"value":2221},{"type":208,"tag":216,"props":12451,"children":12452},{"style":1568},[12453],{"type":213,"value":2226},{"type":208,"tag":216,"props":12455,"children":12456},{"style":1580},[12457],{"type":213,"value":2231},{"type":208,"tag":216,"props":12459,"children":12460},{"style":1568},[12461],{"type":213,"value":1588},{"type":208,"tag":216,"props":12463,"children":12464},{"style":1591},[12465],{"type":213,"value":2240},{"type":208,"tag":216,"props":12467,"children":12468},{"style":1568},[12469],{"type":213,"value":2231},{"type":208,"tag":216,"props":12471,"children":12472},{"style":1591},[12473],{"type":213,"value":2240},{"type":208,"tag":216,"props":12475,"children":12476},{"style":1568},[12477],{"type":213,"value":2253},{"type":208,"tag":216,"props":12479,"children":12480},{"style":1580},[12481],{"type":213,"value":2258},{"type":208,"tag":216,"props":12483,"children":12484},{"style":1568},[12485],{"type":213,"value":1588},{"type":208,"tag":216,"props":12487,"children":12488},{"style":1591},[12489],{"type":213,"value":2240},{"type":208,"tag":216,"props":12491,"children":12492},{"style":1568},[12493],{"type":213,"value":2271},{"type":208,"tag":216,"props":12495,"children":12496},{"style":1591},[12497],{"type":213,"value":2240},{"type":208,"tag":216,"props":12499,"children":12500},{"style":1568},[12501],{"type":213,"value":2280},{"type":208,"tag":216,"props":12503,"children":12504},{"class":668,"line":2193},[12505,12509,12513],{"type":208,"tag":216,"props":12506,"children":12507},{"style":1568},[12508],{"type":213,"value":2174},{"type":208,"tag":216,"props":12510,"children":12511},{"style":1574},[12512],{"type":213,"value":2203},{"type":208,"tag":216,"props":12514,"children":12515},{"style":1568},[12516],{"type":213,"value":1604},{"type":208,"tag":1422,"props":12518,"children":12519},{},[12520],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":12522},[],{"data":12524,"body":12525,"toc":13264},{"title":663,"description":663},{"type":205,"children":12526},[12527,13260],{"type":208,"tag":1551,"props":12528,"children":12529},{},[12530],{"type":208,"tag":658,"props":12531,"children":12533},{"className":1556,"code":12532,"language":1558,"meta":663,"style":663},"\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  scheduledDate: afz.isoDate()\n    .meta({\n      label: '计划日期',\n      description: '输入 ISO 格式日期 (YYYY-MM-DD)',\n      hint: '例如: 2025-12-31'\n    }),\n  scheduledTime: afz.isoTime()\n    .meta({\n      label: '计划时间',\n      description: '输入 ISO 格式时间 (HH:MM:SS)',\n      hint: '例如: 14:30:00'\n    }),\n  createdAt: afz.isoDatetime()\n    .optional()\n    .meta({\n      label: '创建时间',\n      description: '输入 ISO 8601 完整时间戳',\n      hint: '例如: 2025-12-31T14:30:00Z'\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",[12534],{"type":208,"tag":239,"props":12535,"children":12536},{"__ignoreMap":663},[12537,12568,12591,12614,12621,12652,12675,12682,12709,12726,12741,12757,12773,12785,12793,12810,12825,12841,12857,12869,12876,12893,12908,12923,12939,12955,12967,12974,12981,12988,13047,13062,13077,13092,13131,13138,13145,13160,13167,13182,13245],{"type":208,"tag":216,"props":12538,"children":12539},{"class":668,"line":669},[12540,12544,12548,12552,12556,12560,12564],{"type":208,"tag":216,"props":12541,"children":12542},{"style":1568},[12543],{"type":213,"value":1571},{"type":208,"tag":216,"props":12545,"children":12546},{"style":1574},[12547],{"type":213,"value":1577},{"type":208,"tag":216,"props":12549,"children":12550},{"style":1580},[12551],{"type":213,"value":1583},{"type":208,"tag":216,"props":12553,"children":12554},{"style":1568},[12555],{"type":213,"value":1588},{"type":208,"tag":216,"props":12557,"children":12558},{"style":1591},[12559],{"type":213,"value":1594},{"type":208,"tag":216,"props":12561,"children":12562},{"style":1580},[12563],{"type":213,"value":1599},{"type":208,"tag":216,"props":12565,"children":12566},{"style":1568},[12567],{"type":213,"value":1604},{"type":208,"tag":216,"props":12569,"children":12570},{"class":668,"line":695},[12571,12575,12579,12583,12587],{"type":208,"tag":216,"props":12572,"children":12573},{"style":1610},[12574],{"type":213,"value":858},{"type":208,"tag":216,"props":12576,"children":12577},{"style":1610},[12578],{"type":213,"value":1617},{"type":208,"tag":216,"props":12580,"children":12581},{"style":1568},[12582],{"type":213,"value":1622},{"type":208,"tag":216,"props":12584,"children":12585},{"style":1610},[12586],{"type":213,"value":864},{"type":208,"tag":216,"props":12588,"children":12589},{"style":1591},[12590],{"type":213,"value":1631},{"type":208,"tag":216,"props":12592,"children":12593},{"class":668,"line":707},[12594,12598,12602,12606,12610],{"type":208,"tag":216,"props":12595,"children":12596},{"style":1610},[12597],{"type":213,"value":858},{"type":208,"tag":216,"props":12599,"children":12600},{"style":1610},[12601],{"type":213,"value":1617},{"type":208,"tag":216,"props":12603,"children":12604},{"style":1568},[12605],{"type":213,"value":1647},{"type":208,"tag":216,"props":12607,"children":12608},{"style":1610},[12609],{"type":213,"value":864},{"type":208,"tag":216,"props":12611,"children":12612},{"style":1591},[12613],{"type":213,"value":1656},{"type":208,"tag":216,"props":12615,"children":12616},{"class":668,"line":716},[12617],{"type":208,"tag":216,"props":12618,"children":12619},{"emptyLinePlaceholder":872},[12620],{"type":213,"value":873},{"type":208,"tag":216,"props":12622,"children":12623},{"class":668,"line":783},[12624,12628,12632,12636,12640,12644,12648],{"type":208,"tag":216,"props":12625,"children":12626},{"style":1610},[12627],{"type":213,"value":939},{"type":208,"tag":216,"props":12629,"children":12630},{"style":1568},[12631],{"type":213,"value":1675},{"type":208,"tag":216,"props":12633,"children":12634},{"style":1678},[12635],{"type":213,"value":1681},{"type":208,"tag":216,"props":12637,"children":12638},{"style":1568},[12639],{"type":213,"value":1686},{"type":208,"tag":216,"props":12641,"children":12642},{"style":1610},[12643],{"type":213,"value":1588},{"type":208,"tag":216,"props":12645,"children":12646},{"style":1580},[12647],{"type":213,"value":1695},{"type":208,"tag":216,"props":12649,"children":12650},{"style":1568},[12651],{"type":213,"value":1700},{"type":208,"tag":216,"props":12653,"children":12654},{"class":668,"line":800},[12655,12659,12663,12667,12671],{"type":208,"tag":216,"props":12656,"children":12657},{"style":1610},[12658],{"type":213,"value":939},{"type":208,"tag":216,"props":12660,"children":12661},{"style":1678},[12662],{"type":213,"value":1712},{"type":208,"tag":216,"props":12664,"children":12665},{"style":1610},[12666],{"type":213,"value":946},{"type":208,"tag":216,"props":12668,"children":12669},{"style":1580},[12670],{"type":213,"value":1721},{"type":208,"tag":216,"props":12672,"children":12673},{"style":1568},[12674],{"type":213,"value":1700},{"type":208,"tag":216,"props":12676,"children":12677},{"class":668,"line":815},[12678],{"type":208,"tag":216,"props":12679,"children":12680},{"emptyLinePlaceholder":872},[12681],{"type":213,"value":873},{"type":208,"tag":216,"props":12683,"children":12684},{"class":668,"line":821},[12685,12689,12693,12697,12701,12705],{"type":208,"tag":216,"props":12686,"children":12687},{"style":1610},[12688],{"type":213,"value":939},{"type":208,"tag":216,"props":12690,"children":12691},{"style":1678},[12692],{"type":213,"value":982},{"type":208,"tag":216,"props":12694,"children":12695},{"style":1610},[12696],{"type":213,"value":946},{"type":208,"tag":216,"props":12698,"children":12699},{"style":1568},[12700],{"type":213,"value":987},{"type":208,"tag":216,"props":12702,"children":12703},{"style":1580},[12704],{"type":213,"value":990},{"type":208,"tag":216,"props":12706,"children":12707},{"style":1568},[12708],{"type":213,"value":993},{"type":208,"tag":216,"props":12710,"children":12711},{"class":668,"line":827},[12712,12717,12722],{"type":208,"tag":216,"props":12713,"children":12714},{"style":1568},[12715],{"type":213,"value":12716},"  scheduledDate: afz.",{"type":208,"tag":216,"props":12718,"children":12719},{"style":1580},[12720],{"type":213,"value":12721},"isoDate",{"type":208,"tag":216,"props":12723,"children":12724},{"style":1568},[12725],{"type":213,"value":1700},{"type":208,"tag":216,"props":12727,"children":12728},{"class":668,"line":832},[12729,12733,12737],{"type":208,"tag":216,"props":12730,"children":12731},{"style":1568},[12732],{"type":213,"value":1823},{"type":208,"tag":216,"props":12734,"children":12735},{"style":1580},[12736],{"type":213,"value":1900},{"type":208,"tag":216,"props":12738,"children":12739},{"style":1568},[12740],{"type":213,"value":993},{"type":208,"tag":216,"props":12742,"children":12743},{"class":668,"line":838},[12744,12748,12753],{"type":208,"tag":216,"props":12745,"children":12746},{"style":1568},[12747],{"type":213,"value":1913},{"type":208,"tag":216,"props":12749,"children":12750},{"style":1591},[12751],{"type":213,"value":12752},"'计划日期'",{"type":208,"tag":216,"props":12754,"children":12755},{"style":1568},[12756],{"type":213,"value":704},{"type":208,"tag":216,"props":12758,"children":12759},{"class":668,"line":1151},[12760,12764,12769],{"type":208,"tag":216,"props":12761,"children":12762},{"style":1568},[12763],{"type":213,"value":10808},{"type":208,"tag":216,"props":12765,"children":12766},{"style":1591},[12767],{"type":213,"value":12768},"'输入 ISO 格式日期 (YYYY-MM-DD)'",{"type":208,"tag":216,"props":12770,"children":12771},{"style":1568},[12772],{"type":213,"value":704},{"type":208,"tag":216,"props":12774,"children":12775},{"class":668,"line":1276},[12776,12780],{"type":208,"tag":216,"props":12777,"children":12778},{"style":1568},[12779],{"type":213,"value":1948},{"type":208,"tag":216,"props":12781,"children":12782},{"style":1591},[12783],{"type":213,"value":12784},"'例如: 2025-12-31'\n",{"type":208,"tag":216,"props":12786,"children":12787},{"class":668,"line":1282},[12788],{"type":208,"tag":216,"props":12789,"children":12790},{"style":1568},[12791],{"type":213,"value":12792},"    }),\n",{"type":208,"tag":216,"props":12794,"children":12795},{"class":668,"line":1855},[12796,12801,12806],{"type":208,"tag":216,"props":12797,"children":12798},{"style":1568},[12799],{"type":213,"value":12800},"  scheduledTime: afz.",{"type":208,"tag":216,"props":12802,"children":12803},{"style":1580},[12804],{"type":213,"value":12805},"isoTime",{"type":208,"tag":216,"props":12807,"children":12808},{"style":1568},[12809],{"type":213,"value":1700},{"type":208,"tag":216,"props":12811,"children":12812},{"class":668,"line":1890},[12813,12817,12821],{"type":208,"tag":216,"props":12814,"children":12815},{"style":1568},[12816],{"type":213,"value":1823},{"type":208,"tag":216,"props":12818,"children":12819},{"style":1580},[12820],{"type":213,"value":1900},{"type":208,"tag":216,"props":12822,"children":12823},{"style":1568},[12824],{"type":213,"value":993},{"type":208,"tag":216,"props":12826,"children":12827},{"class":668,"line":1907},[12828,12832,12837],{"type":208,"tag":216,"props":12829,"children":12830},{"style":1568},[12831],{"type":213,"value":1913},{"type":208,"tag":216,"props":12833,"children":12834},{"style":1591},[12835],{"type":213,"value":12836},"'计划时间'",{"type":208,"tag":216,"props":12838,"children":12839},{"style":1568},[12840],{"type":213,"value":704},{"type":208,"tag":216,"props":12842,"children":12843},{"class":668,"line":1925},[12844,12848,12853],{"type":208,"tag":216,"props":12845,"children":12846},{"style":1568},[12847],{"type":213,"value":10808},{"type":208,"tag":216,"props":12849,"children":12850},{"style":1591},[12851],{"type":213,"value":12852},"'输入 ISO 格式时间 (HH:MM:SS)'",{"type":208,"tag":216,"props":12854,"children":12855},{"style":1568},[12856],{"type":213,"value":704},{"type":208,"tag":216,"props":12858,"children":12859},{"class":668,"line":1942},[12860,12864],{"type":208,"tag":216,"props":12861,"children":12862},{"style":1568},[12863],{"type":213,"value":1948},{"type":208,"tag":216,"props":12865,"children":12866},{"style":1591},[12867],{"type":213,"value":12868},"'例如: 14:30:00'\n",{"type":208,"tag":216,"props":12870,"children":12871},{"class":668,"line":1956},[12872],{"type":208,"tag":216,"props":12873,"children":12874},{"style":1568},[12875],{"type":213,"value":12792},{"type":208,"tag":216,"props":12877,"children":12878},{"class":668,"line":1965},[12879,12884,12889],{"type":208,"tag":216,"props":12880,"children":12881},{"style":1568},[12882],{"type":213,"value":12883},"  createdAt: afz.",{"type":208,"tag":216,"props":12885,"children":12886},{"style":1580},[12887],{"type":213,"value":12888},"isoDatetime",{"type":208,"tag":216,"props":12890,"children":12891},{"style":1568},[12892],{"type":213,"value":1700},{"type":208,"tag":216,"props":12894,"children":12895},{"class":668,"line":1973},[12896,12900,12904],{"type":208,"tag":216,"props":12897,"children":12898},{"style":1568},[12899],{"type":213,"value":1823},{"type":208,"tag":216,"props":12901,"children":12902},{"style":1580},[12903],{"type":213,"value":4967},{"type":208,"tag":216,"props":12905,"children":12906},{"style":1568},[12907],{"type":213,"value":1700},{"type":208,"tag":216,"props":12909,"children":12910},{"class":668,"line":1981},[12911,12915,12919],{"type":208,"tag":216,"props":12912,"children":12913},{"style":1568},[12914],{"type":213,"value":1823},{"type":208,"tag":216,"props":12916,"children":12917},{"style":1580},[12918],{"type":213,"value":1900},{"type":208,"tag":216,"props":12920,"children":12921},{"style":1568},[12922],{"type":213,"value":993},{"type":208,"tag":216,"props":12924,"children":12925},{"class":668,"line":2051},[12926,12930,12935],{"type":208,"tag":216,"props":12927,"children":12928},{"style":1568},[12929],{"type":213,"value":1913},{"type":208,"tag":216,"props":12931,"children":12932},{"style":1591},[12933],{"type":213,"value":12934},"'创建时间'",{"type":208,"tag":216,"props":12936,"children":12937},{"style":1568},[12938],{"type":213,"value":704},{"type":208,"tag":216,"props":12940,"children":12941},{"class":668,"line":2069},[12942,12946,12951],{"type":208,"tag":216,"props":12943,"children":12944},{"style":1568},[12945],{"type":213,"value":10808},{"type":208,"tag":216,"props":12947,"children":12948},{"style":1591},[12949],{"type":213,"value":12950},"'输入 ISO 8601 完整时间戳'",{"type":208,"tag":216,"props":12952,"children":12953},{"style":1568},[12954],{"type":213,"value":704},{"type":208,"tag":216,"props":12956,"children":12957},{"class":668,"line":2087},[12958,12962],{"type":208,"tag":216,"props":12959,"children":12960},{"style":1568},[12961],{"type":213,"value":1948},{"type":208,"tag":216,"props":12963,"children":12964},{"style":1591},[12965],{"type":213,"value":12966},"'例如: 2025-12-31T14:30:00Z'\n",{"type":208,"tag":216,"props":12968,"children":12969},{"class":668,"line":2105},[12970],{"type":208,"tag":216,"props":12971,"children":12972},{"style":1568},[12973],{"type":213,"value":1962},{"type":208,"tag":216,"props":12975,"children":12976},{"class":668,"line":2151},[12977],{"type":208,"tag":216,"props":12978,"children":12979},{"style":1568},[12980],{"type":213,"value":719},{"type":208,"tag":216,"props":12982,"children":12983},{"class":668,"line":2159},[12984],{"type":208,"tag":216,"props":12985,"children":12986},{"emptyLinePlaceholder":872},[12987],{"type":213,"value":873},{"type":208,"tag":216,"props":12989,"children":12990},{"class":668,"line":2168},[12991,12995,12999,13003,13007,13011,13015,13019,13023,13027,13031,13035,13039,13043],{"type":208,"tag":216,"props":12992,"children":12993},{"style":1610},[12994],{"type":213,"value":1987},{"type":208,"tag":216,"props":12996,"children":12997},{"style":1610},[12998],{"type":213,"value":1992},{"type":208,"tag":216,"props":13000,"children":13001},{"style":1580},[13002],{"type":213,"value":1997},{"type":208,"tag":216,"props":13004,"children":13005},{"style":1568},[13006],{"type":213,"value":1833},{"type":208,"tag":216,"props":13008,"children":13009},{"style":2004},[13010],{"type":213,"value":2007},{"type":208,"tag":216,"props":13012,"children":13013},{"style":1610},[13014],{"type":213,"value":262},{"type":208,"tag":216,"props":13016,"children":13017},{"style":1580},[13018],{"type":213,"value":2016},{"type":208,"tag":216,"props":13020,"children":13021},{"style":1568},[13022],{"type":213,"value":1571},{"type":208,"tag":216,"props":13024,"children":13025},{"style":1580},[13026],{"type":213,"value":2025},{"type":208,"tag":216,"props":13028,"children":13029},{"style":1568},[13030],{"type":213,"value":470},{"type":208,"tag":216,"props":13032,"children":13033},{"style":1580},[13034],{"type":213,"value":2034},{"type":208,"tag":216,"props":13036,"children":13037},{"style":1568},[13038],{"type":213,"value":1571},{"type":208,"tag":216,"props":13040,"children":13041},{"style":1610},[13042],{"type":213,"value":2043},{"type":208,"tag":216,"props":13044,"children":13045},{"style":1568},[13046],{"type":213,"value":2048},{"type":208,"tag":216,"props":13048,"children":13049},{"class":668,"line":2185},[13050,13054,13058],{"type":208,"tag":216,"props":13051,"children":13052},{"style":1568},[13053],{"type":213,"value":2057},{"type":208,"tag":216,"props":13055,"children":13056},{"style":1580},[13057],{"type":213,"value":2062},{"type":208,"tag":216,"props":13059,"children":13060},{"style":1568},[13061],{"type":213,"value":993},{"type":208,"tag":216,"props":13063,"children":13064},{"class":668,"line":2193},[13065,13069,13073],{"type":208,"tag":216,"props":13066,"children":13067},{"style":1568},[13068],{"type":213,"value":2075},{"type":208,"tag":216,"props":13070,"children":13071},{"style":1591},[13072],{"type":213,"value":2080},{"type":208,"tag":216,"props":13074,"children":13075},{"style":1568},[13076],{"type":213,"value":704},{"type":208,"tag":216,"props":13078,"children":13079},{"class":668,"line":2210},[13080,13084,13088],{"type":208,"tag":216,"props":13081,"children":13082},{"style":1568},[13083],{"type":213,"value":2093},{"type":208,"tag":216,"props":13085,"children":13086},{"style":1591},[13087],{"type":213,"value":2098},{"type":208,"tag":216,"props":13089,"children":13090},{"style":1568},[13091],{"type":213,"value":704},{"type":208,"tag":216,"props":13093,"children":13094},{"class":668,"line":2283},[13095,13099,13103,13107,13111,13115,13119,13123,13127],{"type":208,"tag":216,"props":13096,"children":13097},{"style":1568},[13098],{"type":213,"value":2111},{"type":208,"tag":216,"props":13100,"children":13101},{"style":1678},[13102],{"type":213,"value":2116},{"type":208,"tag":216,"props":13104,"children":13105},{"style":1568},[13106],{"type":213,"value":470},{"type":208,"tag":216,"props":13108,"children":13109},{"style":1580},[13110],{"type":213,"value":2125},{"type":208,"tag":216,"props":13112,"children":13113},{"style":1568},[13114],{"type":213,"value":2130},{"type":208,"tag":216,"props":13116,"children":13117},{"style":1678},[13118],{"type":213,"value":2135},{"type":208,"tag":216,"props":13120,"children":13121},{"style":1568},[13122],{"type":213,"value":686},{"type":208,"tag":216,"props":13124,"children":13125},{"style":1678},[13126],{"type":213,"value":2144},{"type":208,"tag":216,"props":13128,"children":13129},{"style":1568},[13130],{"type":213,"value":1852},{"type":208,"tag":216,"props":13132,"children":13133},{"class":668,"line":2944},[13134],{"type":208,"tag":216,"props":13135,"children":13136},{"style":1568},[13137],{"type":213,"value":1041},{"type":208,"tag":216,"props":13139,"children":13140},{"class":668,"line":4246},[13141],{"type":208,"tag":216,"props":13142,"children":13143},{"style":1568},[13144],{"type":213,"value":2165},{"type":208,"tag":216,"props":13146,"children":13147},{"class":668,"line":4254},[13148,13152,13156],{"type":208,"tag":216,"props":13149,"children":13150},{"style":1568},[13151],{"type":213,"value":2174},{"type":208,"tag":216,"props":13153,"children":13154},{"style":1574},[13155],{"type":213,"value":1577},{"type":208,"tag":216,"props":13157,"children":13158},{"style":1568},[13159],{"type":213,"value":1604},{"type":208,"tag":216,"props":13161,"children":13162},{"class":668,"line":4270},[13163],{"type":208,"tag":216,"props":13164,"children":13165},{"emptyLinePlaceholder":872},[13166],{"type":213,"value":873},{"type":208,"tag":216,"props":13168,"children":13169},{"class":668,"line":4278},[13170,13174,13178],{"type":208,"tag":216,"props":13171,"children":13172},{"style":1568},[13173],{"type":213,"value":1571},{"type":208,"tag":216,"props":13175,"children":13176},{"style":1574},[13177],{"type":213,"value":2203},{"type":208,"tag":216,"props":13179,"children":13180},{"style":1568},[13181],{"type":213,"value":1604},{"type":208,"tag":216,"props":13183,"children":13184},{"class":668,"line":4294},[13185,13189,13193,13197,13201,13205,13209,13213,13217,13221,13225,13229,13233,13237,13241],{"type":208,"tag":216,"props":13186,"children":13187},{"style":1568},[13188],{"type":213,"value":2216},{"type":208,"tag":216,"props":13190,"children":13191},{"style":1574},[13192],{"type":213,"value":2221},{"type":208,"tag":216,"props":13194,"children":13195},{"style":1568},[13196],{"type":213,"value":2226},{"type":208,"tag":216,"props":13198,"children":13199},{"style":1580},[13200],{"type":213,"value":2231},{"type":208,"tag":216,"props":13202,"children":13203},{"style":1568},[13204],{"type":213,"value":1588},{"type":208,"tag":216,"props":13206,"children":13207},{"style":1591},[13208],{"type":213,"value":2240},{"type":208,"tag":216,"props":13210,"children":13211},{"style":1568},[13212],{"type":213,"value":2231},{"type":208,"tag":216,"props":13214,"children":13215},{"style":1591},[13216],{"type":213,"value":2240},{"type":208,"tag":216,"props":13218,"children":13219},{"style":1568},[13220],{"type":213,"value":2253},{"type":208,"tag":216,"props":13222,"children":13223},{"style":1580},[13224],{"type":213,"value":2258},{"type":208,"tag":216,"props":13226,"children":13227},{"style":1568},[13228],{"type":213,"value":1588},{"type":208,"tag":216,"props":13230,"children":13231},{"style":1591},[13232],{"type":213,"value":2240},{"type":208,"tag":216,"props":13234,"children":13235},{"style":1568},[13236],{"type":213,"value":2271},{"type":208,"tag":216,"props":13238,"children":13239},{"style":1591},[13240],{"type":213,"value":2240},{"type":208,"tag":216,"props":13242,"children":13243},{"style":1568},[13244],{"type":213,"value":2280},{"type":208,"tag":216,"props":13246,"children":13247},{"class":668,"line":4358},[13248,13252,13256],{"type":208,"tag":216,"props":13249,"children":13250},{"style":1568},[13251],{"type":213,"value":2174},{"type":208,"tag":216,"props":13253,"children":13254},{"style":1574},[13255],{"type":213,"value":2203},{"type":208,"tag":216,"props":13257,"children":13258},{"style":1568},[13259],{"type":213,"value":1604},{"type":208,"tag":1422,"props":13261,"children":13262},{},[13263],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":13265},[],{"data":13267,"body":13268,"toc":13875},{"title":663,"description":663},{"type":205,"children":13269},[13270,13871],{"type":208,"tag":1551,"props":13271,"children":13272},{},[13273],{"type":208,"tag":658,"props":13274,"children":13276},{"className":1556,"code":13275,"language":1558,"meta":663,"style":663},"\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  status: afz.enum(['active', 'inactive', 'pending'])\n    .default('active')\n    .meta({\n      label: '选择框',\n      placeholder: '请选择状态',\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",[13277],{"type":208,"tag":239,"props":13278,"children":13279},{"__ignoreMap":663},[13280,13311,13334,13357,13364,13395,13418,13425,13452,13496,13519,13534,13550,13566,13578,13585,13592,13599,13658,13673,13688,13703,13742,13749,13756,13771,13778,13793,13856],{"type":208,"tag":216,"props":13281,"children":13282},{"class":668,"line":669},[13283,13287,13291,13295,13299,13303,13307],{"type":208,"tag":216,"props":13284,"children":13285},{"style":1568},[13286],{"type":213,"value":1571},{"type":208,"tag":216,"props":13288,"children":13289},{"style":1574},[13290],{"type":213,"value":1577},{"type":208,"tag":216,"props":13292,"children":13293},{"style":1580},[13294],{"type":213,"value":1583},{"type":208,"tag":216,"props":13296,"children":13297},{"style":1568},[13298],{"type":213,"value":1588},{"type":208,"tag":216,"props":13300,"children":13301},{"style":1591},[13302],{"type":213,"value":1594},{"type":208,"tag":216,"props":13304,"children":13305},{"style":1580},[13306],{"type":213,"value":1599},{"type":208,"tag":216,"props":13308,"children":13309},{"style":1568},[13310],{"type":213,"value":1604},{"type":208,"tag":216,"props":13312,"children":13313},{"class":668,"line":695},[13314,13318,13322,13326,13330],{"type":208,"tag":216,"props":13315,"children":13316},{"style":1610},[13317],{"type":213,"value":858},{"type":208,"tag":216,"props":13319,"children":13320},{"style":1610},[13321],{"type":213,"value":1617},{"type":208,"tag":216,"props":13323,"children":13324},{"style":1568},[13325],{"type":213,"value":1622},{"type":208,"tag":216,"props":13327,"children":13328},{"style":1610},[13329],{"type":213,"value":864},{"type":208,"tag":216,"props":13331,"children":13332},{"style":1591},[13333],{"type":213,"value":1631},{"type":208,"tag":216,"props":13335,"children":13336},{"class":668,"line":707},[13337,13341,13345,13349,13353],{"type":208,"tag":216,"props":13338,"children":13339},{"style":1610},[13340],{"type":213,"value":858},{"type":208,"tag":216,"props":13342,"children":13343},{"style":1610},[13344],{"type":213,"value":1617},{"type":208,"tag":216,"props":13346,"children":13347},{"style":1568},[13348],{"type":213,"value":1647},{"type":208,"tag":216,"props":13350,"children":13351},{"style":1610},[13352],{"type":213,"value":864},{"type":208,"tag":216,"props":13354,"children":13355},{"style":1591},[13356],{"type":213,"value":1656},{"type":208,"tag":216,"props":13358,"children":13359},{"class":668,"line":716},[13360],{"type":208,"tag":216,"props":13361,"children":13362},{"emptyLinePlaceholder":872},[13363],{"type":213,"value":873},{"type":208,"tag":216,"props":13365,"children":13366},{"class":668,"line":783},[13367,13371,13375,13379,13383,13387,13391],{"type":208,"tag":216,"props":13368,"children":13369},{"style":1610},[13370],{"type":213,"value":939},{"type":208,"tag":216,"props":13372,"children":13373},{"style":1568},[13374],{"type":213,"value":1675},{"type":208,"tag":216,"props":13376,"children":13377},{"style":1678},[13378],{"type":213,"value":1681},{"type":208,"tag":216,"props":13380,"children":13381},{"style":1568},[13382],{"type":213,"value":1686},{"type":208,"tag":216,"props":13384,"children":13385},{"style":1610},[13386],{"type":213,"value":1588},{"type":208,"tag":216,"props":13388,"children":13389},{"style":1580},[13390],{"type":213,"value":1695},{"type":208,"tag":216,"props":13392,"children":13393},{"style":1568},[13394],{"type":213,"value":1700},{"type":208,"tag":216,"props":13396,"children":13397},{"class":668,"line":800},[13398,13402,13406,13410,13414],{"type":208,"tag":216,"props":13399,"children":13400},{"style":1610},[13401],{"type":213,"value":939},{"type":208,"tag":216,"props":13403,"children":13404},{"style":1678},[13405],{"type":213,"value":1712},{"type":208,"tag":216,"props":13407,"children":13408},{"style":1610},[13409],{"type":213,"value":946},{"type":208,"tag":216,"props":13411,"children":13412},{"style":1580},[13413],{"type":213,"value":1721},{"type":208,"tag":216,"props":13415,"children":13416},{"style":1568},[13417],{"type":213,"value":1700},{"type":208,"tag":216,"props":13419,"children":13420},{"class":668,"line":815},[13421],{"type":208,"tag":216,"props":13422,"children":13423},{"emptyLinePlaceholder":872},[13424],{"type":213,"value":873},{"type":208,"tag":216,"props":13426,"children":13427},{"class":668,"line":821},[13428,13432,13436,13440,13444,13448],{"type":208,"tag":216,"props":13429,"children":13430},{"style":1610},[13431],{"type":213,"value":939},{"type":208,"tag":216,"props":13433,"children":13434},{"style":1678},[13435],{"type":213,"value":982},{"type":208,"tag":216,"props":13437,"children":13438},{"style":1610},[13439],{"type":213,"value":946},{"type":208,"tag":216,"props":13441,"children":13442},{"style":1568},[13443],{"type":213,"value":987},{"type":208,"tag":216,"props":13445,"children":13446},{"style":1580},[13447],{"type":213,"value":990},{"type":208,"tag":216,"props":13449,"children":13450},{"style":1568},[13451],{"type":213,"value":993},{"type":208,"tag":216,"props":13453,"children":13454},{"class":668,"line":827},[13455,13460,13464,13468,13473,13477,13482,13486,13491],{"type":208,"tag":216,"props":13456,"children":13457},{"style":1568},[13458],{"type":213,"value":13459},"  status: afz.",{"type":208,"tag":216,"props":13461,"children":13462},{"style":1580},[13463],{"type":213,"value":629},{"type":208,"tag":216,"props":13465,"children":13466},{"style":1568},[13467],{"type":213,"value":679},{"type":208,"tag":216,"props":13469,"children":13470},{"style":1591},[13471],{"type":213,"value":13472},"'active'",{"type":208,"tag":216,"props":13474,"children":13475},{"style":1568},[13476],{"type":213,"value":686},{"type":208,"tag":216,"props":13478,"children":13479},{"style":1591},[13480],{"type":213,"value":13481},"'inactive'",{"type":208,"tag":216,"props":13483,"children":13484},{"style":1568},[13485],{"type":213,"value":686},{"type":208,"tag":216,"props":13487,"children":13488},{"style":1591},[13489],{"type":213,"value":13490},"'pending'",{"type":208,"tag":216,"props":13492,"children":13493},{"style":1568},[13494],{"type":213,"value":13495},"])\n",{"type":208,"tag":216,"props":13497,"children":13498},{"class":668,"line":832},[13499,13503,13507,13511,13515],{"type":208,"tag":216,"props":13500,"children":13501},{"style":1568},[13502],{"type":213,"value":1823},{"type":208,"tag":216,"props":13504,"children":13505},{"style":1580},[13506],{"type":213,"value":6442},{"type":208,"tag":216,"props":13508,"children":13509},{"style":1568},[13510],{"type":213,"value":1833},{"type":208,"tag":216,"props":13512,"children":13513},{"style":1591},[13514],{"type":213,"value":13472},{"type":208,"tag":216,"props":13516,"children":13517},{"style":1568},[13518],{"type":213,"value":1852},{"type":208,"tag":216,"props":13520,"children":13521},{"class":668,"line":838},[13522,13526,13530],{"type":208,"tag":216,"props":13523,"children":13524},{"style":1568},[13525],{"type":213,"value":1823},{"type":208,"tag":216,"props":13527,"children":13528},{"style":1580},[13529],{"type":213,"value":1900},{"type":208,"tag":216,"props":13531,"children":13532},{"style":1568},[13533],{"type":213,"value":993},{"type":208,"tag":216,"props":13535,"children":13536},{"class":668,"line":1151},[13537,13541,13546],{"type":208,"tag":216,"props":13538,"children":13539},{"style":1568},[13540],{"type":213,"value":1913},{"type":208,"tag":216,"props":13542,"children":13543},{"style":1591},[13544],{"type":213,"value":13545},"'选择框'",{"type":208,"tag":216,"props":13547,"children":13548},{"style":1568},[13549],{"type":213,"value":704},{"type":208,"tag":216,"props":13551,"children":13552},{"class":668,"line":1276},[13553,13557,13562],{"type":208,"tag":216,"props":13554,"children":13555},{"style":1568},[13556],{"type":213,"value":1023},{"type":208,"tag":216,"props":13558,"children":13559},{"style":1591},[13560],{"type":213,"value":13561},"'请选择状态'",{"type":208,"tag":216,"props":13563,"children":13564},{"style":1568},[13565],{"type":213,"value":704},{"type":208,"tag":216,"props":13567,"children":13568},{"class":668,"line":1282},[13569,13573],{"type":208,"tag":216,"props":13570,"children":13571},{"style":1568},[13572],{"type":213,"value":1948},{"type":208,"tag":216,"props":13574,"children":13575},{"style":1591},[13576],{"type":213,"value":13577},"'基础枚举选择'\n",{"type":208,"tag":216,"props":13579,"children":13580},{"class":668,"line":1855},[13581],{"type":208,"tag":216,"props":13582,"children":13583},{"style":1568},[13584],{"type":213,"value":1962},{"type":208,"tag":216,"props":13586,"children":13587},{"class":668,"line":1890},[13588],{"type":208,"tag":216,"props":13589,"children":13590},{"style":1568},[13591],{"type":213,"value":719},{"type":208,"tag":216,"props":13593,"children":13594},{"class":668,"line":1907},[13595],{"type":208,"tag":216,"props":13596,"children":13597},{"emptyLinePlaceholder":872},[13598],{"type":213,"value":873},{"type":208,"tag":216,"props":13600,"children":13601},{"class":668,"line":1925},[13602,13606,13610,13614,13618,13622,13626,13630,13634,13638,13642,13646,13650,13654],{"type":208,"tag":216,"props":13603,"children":13604},{"style":1610},[13605],{"type":213,"value":1987},{"type":208,"tag":216,"props":13607,"children":13608},{"style":1610},[13609],{"type":213,"value":1992},{"type":208,"tag":216,"props":13611,"children":13612},{"style":1580},[13613],{"type":213,"value":1997},{"type":208,"tag":216,"props":13615,"children":13616},{"style":1568},[13617],{"type":213,"value":1833},{"type":208,"tag":216,"props":13619,"children":13620},{"style":2004},[13621],{"type":213,"value":2007},{"type":208,"tag":216,"props":13623,"children":13624},{"style":1610},[13625],{"type":213,"value":262},{"type":208,"tag":216,"props":13627,"children":13628},{"style":1580},[13629],{"type":213,"value":2016},{"type":208,"tag":216,"props":13631,"children":13632},{"style":1568},[13633],{"type":213,"value":1571},{"type":208,"tag":216,"props":13635,"children":13636},{"style":1580},[13637],{"type":213,"value":2025},{"type":208,"tag":216,"props":13639,"children":13640},{"style":1568},[13641],{"type":213,"value":470},{"type":208,"tag":216,"props":13643,"children":13644},{"style":1580},[13645],{"type":213,"value":2034},{"type":208,"tag":216,"props":13647,"children":13648},{"style":1568},[13649],{"type":213,"value":1571},{"type":208,"tag":216,"props":13651,"children":13652},{"style":1610},[13653],{"type":213,"value":2043},{"type":208,"tag":216,"props":13655,"children":13656},{"style":1568},[13657],{"type":213,"value":2048},{"type":208,"tag":216,"props":13659,"children":13660},{"class":668,"line":1942},[13661,13665,13669],{"type":208,"tag":216,"props":13662,"children":13663},{"style":1568},[13664],{"type":213,"value":2057},{"type":208,"tag":216,"props":13666,"children":13667},{"style":1580},[13668],{"type":213,"value":2062},{"type":208,"tag":216,"props":13670,"children":13671},{"style":1568},[13672],{"type":213,"value":993},{"type":208,"tag":216,"props":13674,"children":13675},{"class":668,"line":1956},[13676,13680,13684],{"type":208,"tag":216,"props":13677,"children":13678},{"style":1568},[13679],{"type":213,"value":2075},{"type":208,"tag":216,"props":13681,"children":13682},{"style":1591},[13683],{"type":213,"value":2080},{"type":208,"tag":216,"props":13685,"children":13686},{"style":1568},[13687],{"type":213,"value":704},{"type":208,"tag":216,"props":13689,"children":13690},{"class":668,"line":1965},[13691,13695,13699],{"type":208,"tag":216,"props":13692,"children":13693},{"style":1568},[13694],{"type":213,"value":2093},{"type":208,"tag":216,"props":13696,"children":13697},{"style":1591},[13698],{"type":213,"value":2098},{"type":208,"tag":216,"props":13700,"children":13701},{"style":1568},[13702],{"type":213,"value":704},{"type":208,"tag":216,"props":13704,"children":13705},{"class":668,"line":1973},[13706,13710,13714,13718,13722,13726,13730,13734,13738],{"type":208,"tag":216,"props":13707,"children":13708},{"style":1568},[13709],{"type":213,"value":2111},{"type":208,"tag":216,"props":13711,"children":13712},{"style":1678},[13713],{"type":213,"value":2116},{"type":208,"tag":216,"props":13715,"children":13716},{"style":1568},[13717],{"type":213,"value":470},{"type":208,"tag":216,"props":13719,"children":13720},{"style":1580},[13721],{"type":213,"value":2125},{"type":208,"tag":216,"props":13723,"children":13724},{"style":1568},[13725],{"type":213,"value":2130},{"type":208,"tag":216,"props":13727,"children":13728},{"style":1678},[13729],{"type":213,"value":2135},{"type":208,"tag":216,"props":13731,"children":13732},{"style":1568},[13733],{"type":213,"value":686},{"type":208,"tag":216,"props":13735,"children":13736},{"style":1678},[13737],{"type":213,"value":2144},{"type":208,"tag":216,"props":13739,"children":13740},{"style":1568},[13741],{"type":213,"value":1852},{"type":208,"tag":216,"props":13743,"children":13744},{"class":668,"line":1981},[13745],{"type":208,"tag":216,"props":13746,"children":13747},{"style":1568},[13748],{"type":213,"value":1041},{"type":208,"tag":216,"props":13750,"children":13751},{"class":668,"line":2051},[13752],{"type":208,"tag":216,"props":13753,"children":13754},{"style":1568},[13755],{"type":213,"value":2165},{"type":208,"tag":216,"props":13757,"children":13758},{"class":668,"line":2069},[13759,13763,13767],{"type":208,"tag":216,"props":13760,"children":13761},{"style":1568},[13762],{"type":213,"value":2174},{"type":208,"tag":216,"props":13764,"children":13765},{"style":1574},[13766],{"type":213,"value":1577},{"type":208,"tag":216,"props":13768,"children":13769},{"style":1568},[13770],{"type":213,"value":1604},{"type":208,"tag":216,"props":13772,"children":13773},{"class":668,"line":2087},[13774],{"type":208,"tag":216,"props":13775,"children":13776},{"emptyLinePlaceholder":872},[13777],{"type":213,"value":873},{"type":208,"tag":216,"props":13779,"children":13780},{"class":668,"line":2105},[13781,13785,13789],{"type":208,"tag":216,"props":13782,"children":13783},{"style":1568},[13784],{"type":213,"value":1571},{"type":208,"tag":216,"props":13786,"children":13787},{"style":1574},[13788],{"type":213,"value":2203},{"type":208,"tag":216,"props":13790,"children":13791},{"style":1568},[13792],{"type":213,"value":1604},{"type":208,"tag":216,"props":13794,"children":13795},{"class":668,"line":2151},[13796,13800,13804,13808,13812,13816,13820,13824,13828,13832,13836,13840,13844,13848,13852],{"type":208,"tag":216,"props":13797,"children":13798},{"style":1568},[13799],{"type":213,"value":2216},{"type":208,"tag":216,"props":13801,"children":13802},{"style":1574},[13803],{"type":213,"value":2221},{"type":208,"tag":216,"props":13805,"children":13806},{"style":1568},[13807],{"type":213,"value":2226},{"type":208,"tag":216,"props":13809,"children":13810},{"style":1580},[13811],{"type":213,"value":2231},{"type":208,"tag":216,"props":13813,"children":13814},{"style":1568},[13815],{"type":213,"value":1588},{"type":208,"tag":216,"props":13817,"children":13818},{"style":1591},[13819],{"type":213,"value":2240},{"type":208,"tag":216,"props":13821,"children":13822},{"style":1568},[13823],{"type":213,"value":2231},{"type":208,"tag":216,"props":13825,"children":13826},{"style":1591},[13827],{"type":213,"value":2240},{"type":208,"tag":216,"props":13829,"children":13830},{"style":1568},[13831],{"type":213,"value":2253},{"type":208,"tag":216,"props":13833,"children":13834},{"style":1580},[13835],{"type":213,"value":2258},{"type":208,"tag":216,"props":13837,"children":13838},{"style":1568},[13839],{"type":213,"value":1588},{"type":208,"tag":216,"props":13841,"children":13842},{"style":1591},[13843],{"type":213,"value":2240},{"type":208,"tag":216,"props":13845,"children":13846},{"style":1568},[13847],{"type":213,"value":2271},{"type":208,"tag":216,"props":13849,"children":13850},{"style":1591},[13851],{"type":213,"value":2240},{"type":208,"tag":216,"props":13853,"children":13854},{"style":1568},[13855],{"type":213,"value":2280},{"type":208,"tag":216,"props":13857,"children":13858},{"class":668,"line":2159},[13859,13863,13867],{"type":208,"tag":216,"props":13860,"children":13861},{"style":1568},[13862],{"type":213,"value":2174},{"type":208,"tag":216,"props":13864,"children":13865},{"style":1574},[13866],{"type":213,"value":2203},{"type":208,"tag":216,"props":13868,"children":13869},{"style":1568},[13870],{"type":213,"value":1604},{"type":208,"tag":1422,"props":13872,"children":13873},{},[13874],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":13876},[],{"data":13878,"body":13879,"toc":14558},{"title":663,"description":663},{"type":205,"children":13880},[13881,14554],{"type":208,"tag":1551,"props":13882,"children":13883},{},[13884],{"type":208,"tag":658,"props":13885,"children":13887},{"className":1556,"code":13886,"language":1558,"meta":663,"style":663},"\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  fruit: afz.enum([], {\n    type: 'selectMenu',\n    controlProps: {\n      placeholder: '选择水果',\n      valueKey: 'value',\n      items: [\n        { label: '苹果', value: 'apple' },\n        { label: '香蕉', value: 'banana' },\n        { label: '橙子', value: 'orange' }\n      ]\n    }\n  })\n    .meta({\n      label: '下拉菜单'\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",[13888],{"type":208,"tag":239,"props":13889,"children":13890},{"__ignoreMap":663},[13891,13922,13945,13968,13975,14006,14029,14036,14063,14078,14093,14100,14116,14131,14139,14164,14188,14212,14220,14227,14234,14249,14261,14268,14275,14282,14341,14356,14371,14386,14425,14432,14439,14454,14461,14476,14539],{"type":208,"tag":216,"props":13892,"children":13893},{"class":668,"line":669},[13894,13898,13902,13906,13910,13914,13918],{"type":208,"tag":216,"props":13895,"children":13896},{"style":1568},[13897],{"type":213,"value":1571},{"type":208,"tag":216,"props":13899,"children":13900},{"style":1574},[13901],{"type":213,"value":1577},{"type":208,"tag":216,"props":13903,"children":13904},{"style":1580},[13905],{"type":213,"value":1583},{"type":208,"tag":216,"props":13907,"children":13908},{"style":1568},[13909],{"type":213,"value":1588},{"type":208,"tag":216,"props":13911,"children":13912},{"style":1591},[13913],{"type":213,"value":1594},{"type":208,"tag":216,"props":13915,"children":13916},{"style":1580},[13917],{"type":213,"value":1599},{"type":208,"tag":216,"props":13919,"children":13920},{"style":1568},[13921],{"type":213,"value":1604},{"type":208,"tag":216,"props":13923,"children":13924},{"class":668,"line":695},[13925,13929,13933,13937,13941],{"type":208,"tag":216,"props":13926,"children":13927},{"style":1610},[13928],{"type":213,"value":858},{"type":208,"tag":216,"props":13930,"children":13931},{"style":1610},[13932],{"type":213,"value":1617},{"type":208,"tag":216,"props":13934,"children":13935},{"style":1568},[13936],{"type":213,"value":1622},{"type":208,"tag":216,"props":13938,"children":13939},{"style":1610},[13940],{"type":213,"value":864},{"type":208,"tag":216,"props":13942,"children":13943},{"style":1591},[13944],{"type":213,"value":1631},{"type":208,"tag":216,"props":13946,"children":13947},{"class":668,"line":707},[13948,13952,13956,13960,13964],{"type":208,"tag":216,"props":13949,"children":13950},{"style":1610},[13951],{"type":213,"value":858},{"type":208,"tag":216,"props":13953,"children":13954},{"style":1610},[13955],{"type":213,"value":1617},{"type":208,"tag":216,"props":13957,"children":13958},{"style":1568},[13959],{"type":213,"value":1647},{"type":208,"tag":216,"props":13961,"children":13962},{"style":1610},[13963],{"type":213,"value":864},{"type":208,"tag":216,"props":13965,"children":13966},{"style":1591},[13967],{"type":213,"value":1656},{"type":208,"tag":216,"props":13969,"children":13970},{"class":668,"line":716},[13971],{"type":208,"tag":216,"props":13972,"children":13973},{"emptyLinePlaceholder":872},[13974],{"type":213,"value":873},{"type":208,"tag":216,"props":13976,"children":13977},{"class":668,"line":783},[13978,13982,13986,13990,13994,13998,14002],{"type":208,"tag":216,"props":13979,"children":13980},{"style":1610},[13981],{"type":213,"value":939},{"type":208,"tag":216,"props":13983,"children":13984},{"style":1568},[13985],{"type":213,"value":1675},{"type":208,"tag":216,"props":13987,"children":13988},{"style":1678},[13989],{"type":213,"value":1681},{"type":208,"tag":216,"props":13991,"children":13992},{"style":1568},[13993],{"type":213,"value":1686},{"type":208,"tag":216,"props":13995,"children":13996},{"style":1610},[13997],{"type":213,"value":1588},{"type":208,"tag":216,"props":13999,"children":14000},{"style":1580},[14001],{"type":213,"value":1695},{"type":208,"tag":216,"props":14003,"children":14004},{"style":1568},[14005],{"type":213,"value":1700},{"type":208,"tag":216,"props":14007,"children":14008},{"class":668,"line":800},[14009,14013,14017,14021,14025],{"type":208,"tag":216,"props":14010,"children":14011},{"style":1610},[14012],{"type":213,"value":939},{"type":208,"tag":216,"props":14014,"children":14015},{"style":1678},[14016],{"type":213,"value":1712},{"type":208,"tag":216,"props":14018,"children":14019},{"style":1610},[14020],{"type":213,"value":946},{"type":208,"tag":216,"props":14022,"children":14023},{"style":1580},[14024],{"type":213,"value":1721},{"type":208,"tag":216,"props":14026,"children":14027},{"style":1568},[14028],{"type":213,"value":1700},{"type":208,"tag":216,"props":14030,"children":14031},{"class":668,"line":815},[14032],{"type":208,"tag":216,"props":14033,"children":14034},{"emptyLinePlaceholder":872},[14035],{"type":213,"value":873},{"type":208,"tag":216,"props":14037,"children":14038},{"class":668,"line":821},[14039,14043,14047,14051,14055,14059],{"type":208,"tag":216,"props":14040,"children":14041},{"style":1610},[14042],{"type":213,"value":939},{"type":208,"tag":216,"props":14044,"children":14045},{"style":1678},[14046],{"type":213,"value":982},{"type":208,"tag":216,"props":14048,"children":14049},{"style":1610},[14050],{"type":213,"value":946},{"type":208,"tag":216,"props":14052,"children":14053},{"style":1568},[14054],{"type":213,"value":987},{"type":208,"tag":216,"props":14056,"children":14057},{"style":1580},[14058],{"type":213,"value":990},{"type":208,"tag":216,"props":14060,"children":14061},{"style":1568},[14062],{"type":213,"value":993},{"type":208,"tag":216,"props":14064,"children":14065},{"class":668,"line":827},[14066,14070,14074],{"type":208,"tag":216,"props":14067,"children":14068},{"style":1568},[14069],{"type":213,"value":998},{"type":208,"tag":216,"props":14071,"children":14072},{"style":1580},[14073],{"type":213,"value":629},{"type":208,"tag":216,"props":14075,"children":14076},{"style":1568},[14077],{"type":213,"value":1084},{"type":208,"tag":216,"props":14079,"children":14080},{"class":668,"line":832},[14081,14085,14089],{"type":208,"tag":216,"props":14082,"children":14083},{"style":1568},[14084],{"type":213,"value":1008},{"type":208,"tag":216,"props":14086,"children":14087},{"style":1591},[14088],{"type":213,"value":1011},{"type":208,"tag":216,"props":14090,"children":14091},{"style":1568},[14092],{"type":213,"value":704},{"type":208,"tag":216,"props":14094,"children":14095},{"class":668,"line":838},[14096],{"type":208,"tag":216,"props":14097,"children":14098},{"style":1568},[14099],{"type":213,"value":1018},{"type":208,"tag":216,"props":14101,"children":14102},{"class":668,"line":1151},[14103,14107,14112],{"type":208,"tag":216,"props":14104,"children":14105},{"style":1568},[14106],{"type":213,"value":1023},{"type":208,"tag":216,"props":14108,"children":14109},{"style":1591},[14110],{"type":213,"value":14111},"'选择水果'",{"type":208,"tag":216,"props":14113,"children":14114},{"style":1568},[14115],{"type":213,"value":704},{"type":208,"tag":216,"props":14117,"children":14118},{"class":668,"line":1276},[14119,14123,14127],{"type":208,"tag":216,"props":14120,"children":14121},{"style":1568},[14122],{"type":213,"value":3994},{"type":208,"tag":216,"props":14124,"children":14125},{"style":1591},[14126],{"type":213,"value":1104},{"type":208,"tag":216,"props":14128,"children":14129},{"style":1568},[14130],{"type":213,"value":704},{"type":208,"tag":216,"props":14132,"children":14133},{"class":668,"line":1282},[14134],{"type":208,"tag":216,"props":14135,"children":14136},{"style":1568},[14137],{"type":213,"value":14138},"      items: [\n",{"type":208,"tag":216,"props":14140,"children":14141},{"class":668,"line":1855},[14142,14147,14152,14156,14160],{"type":208,"tag":216,"props":14143,"children":14144},{"style":1568},[14145],{"type":213,"value":14146},"        { label: ",{"type":208,"tag":216,"props":14148,"children":14149},{"style":1591},[14150],{"type":213,"value":14151},"'苹果'",{"type":208,"tag":216,"props":14153,"children":14154},{"style":1568},[14155],{"type":213,"value":792},{"type":208,"tag":216,"props":14157,"children":14158},{"style":1591},[14159],{"type":213,"value":952},{"type":208,"tag":216,"props":14161,"children":14162},{"style":1568},[14163],{"type":213,"value":797},{"type":208,"tag":216,"props":14165,"children":14166},{"class":668,"line":1890},[14167,14171,14176,14180,14184],{"type":208,"tag":216,"props":14168,"children":14169},{"style":1568},[14170],{"type":213,"value":14146},{"type":208,"tag":216,"props":14172,"children":14173},{"style":1591},[14174],{"type":213,"value":14175},"'香蕉'",{"type":208,"tag":216,"props":14177,"children":14178},{"style":1568},[14179],{"type":213,"value":792},{"type":208,"tag":216,"props":14181,"children":14182},{"style":1591},[14183],{"type":213,"value":957},{"type":208,"tag":216,"props":14185,"children":14186},{"style":1568},[14187],{"type":213,"value":797},{"type":208,"tag":216,"props":14189,"children":14190},{"class":668,"line":1907},[14191,14195,14200,14204,14208],{"type":208,"tag":216,"props":14192,"children":14193},{"style":1568},[14194],{"type":213,"value":14146},{"type":208,"tag":216,"props":14196,"children":14197},{"style":1591},[14198],{"type":213,"value":14199},"'橙子'",{"type":208,"tag":216,"props":14201,"children":14202},{"style":1568},[14203],{"type":213,"value":792},{"type":208,"tag":216,"props":14205,"children":14206},{"style":1591},[14207],{"type":213,"value":962},{"type":208,"tag":216,"props":14209,"children":14210},{"style":1568},[14211],{"type":213,"value":812},{"type":208,"tag":216,"props":14213,"children":14214},{"class":668,"line":1925},[14215],{"type":208,"tag":216,"props":14216,"children":14217},{"style":1568},[14218],{"type":213,"value":14219},"      ]\n",{"type":208,"tag":216,"props":14221,"children":14222},{"class":668,"line":1942},[14223],{"type":208,"tag":216,"props":14224,"children":14225},{"style":1568},[14226],{"type":213,"value":1036},{"type":208,"tag":216,"props":14228,"children":14229},{"class":668,"line":1956},[14230],{"type":208,"tag":216,"props":14231,"children":14232},{"style":1568},[14233],{"type":213,"value":1041},{"type":208,"tag":216,"props":14235,"children":14236},{"class":668,"line":1965},[14237,14241,14245],{"type":208,"tag":216,"props":14238,"children":14239},{"style":1568},[14240],{"type":213,"value":1823},{"type":208,"tag":216,"props":14242,"children":14243},{"style":1580},[14244],{"type":213,"value":1900},{"type":208,"tag":216,"props":14246,"children":14247},{"style":1568},[14248],{"type":213,"value":993},{"type":208,"tag":216,"props":14250,"children":14251},{"class":668,"line":1973},[14252,14256],{"type":208,"tag":216,"props":14253,"children":14254},{"style":1568},[14255],{"type":213,"value":1913},{"type":208,"tag":216,"props":14257,"children":14258},{"style":1591},[14259],{"type":213,"value":14260},"'下拉菜单'\n",{"type":208,"tag":216,"props":14262,"children":14263},{"class":668,"line":1981},[14264],{"type":208,"tag":216,"props":14265,"children":14266},{"style":1568},[14267],{"type":213,"value":1962},{"type":208,"tag":216,"props":14269,"children":14270},{"class":668,"line":2051},[14271],{"type":208,"tag":216,"props":14272,"children":14273},{"style":1568},[14274],{"type":213,"value":719},{"type":208,"tag":216,"props":14276,"children":14277},{"class":668,"line":2069},[14278],{"type":208,"tag":216,"props":14279,"children":14280},{"emptyLinePlaceholder":872},[14281],{"type":213,"value":873},{"type":208,"tag":216,"props":14283,"children":14284},{"class":668,"line":2087},[14285,14289,14293,14297,14301,14305,14309,14313,14317,14321,14325,14329,14333,14337],{"type":208,"tag":216,"props":14286,"children":14287},{"style":1610},[14288],{"type":213,"value":1987},{"type":208,"tag":216,"props":14290,"children":14291},{"style":1610},[14292],{"type":213,"value":1992},{"type":208,"tag":216,"props":14294,"children":14295},{"style":1580},[14296],{"type":213,"value":1997},{"type":208,"tag":216,"props":14298,"children":14299},{"style":1568},[14300],{"type":213,"value":1833},{"type":208,"tag":216,"props":14302,"children":14303},{"style":2004},[14304],{"type":213,"value":2007},{"type":208,"tag":216,"props":14306,"children":14307},{"style":1610},[14308],{"type":213,"value":262},{"type":208,"tag":216,"props":14310,"children":14311},{"style":1580},[14312],{"type":213,"value":2016},{"type":208,"tag":216,"props":14314,"children":14315},{"style":1568},[14316],{"type":213,"value":1571},{"type":208,"tag":216,"props":14318,"children":14319},{"style":1580},[14320],{"type":213,"value":2025},{"type":208,"tag":216,"props":14322,"children":14323},{"style":1568},[14324],{"type":213,"value":470},{"type":208,"tag":216,"props":14326,"children":14327},{"style":1580},[14328],{"type":213,"value":2034},{"type":208,"tag":216,"props":14330,"children":14331},{"style":1568},[14332],{"type":213,"value":1571},{"type":208,"tag":216,"props":14334,"children":14335},{"style":1610},[14336],{"type":213,"value":2043},{"type":208,"tag":216,"props":14338,"children":14339},{"style":1568},[14340],{"type":213,"value":2048},{"type":208,"tag":216,"props":14342,"children":14343},{"class":668,"line":2105},[14344,14348,14352],{"type":208,"tag":216,"props":14345,"children":14346},{"style":1568},[14347],{"type":213,"value":2057},{"type":208,"tag":216,"props":14349,"children":14350},{"style":1580},[14351],{"type":213,"value":2062},{"type":208,"tag":216,"props":14353,"children":14354},{"style":1568},[14355],{"type":213,"value":993},{"type":208,"tag":216,"props":14357,"children":14358},{"class":668,"line":2151},[14359,14363,14367],{"type":208,"tag":216,"props":14360,"children":14361},{"style":1568},[14362],{"type":213,"value":2075},{"type":208,"tag":216,"props":14364,"children":14365},{"style":1591},[14366],{"type":213,"value":2080},{"type":208,"tag":216,"props":14368,"children":14369},{"style":1568},[14370],{"type":213,"value":704},{"type":208,"tag":216,"props":14372,"children":14373},{"class":668,"line":2159},[14374,14378,14382],{"type":208,"tag":216,"props":14375,"children":14376},{"style":1568},[14377],{"type":213,"value":2093},{"type":208,"tag":216,"props":14379,"children":14380},{"style":1591},[14381],{"type":213,"value":2098},{"type":208,"tag":216,"props":14383,"children":14384},{"style":1568},[14385],{"type":213,"value":704},{"type":208,"tag":216,"props":14387,"children":14388},{"class":668,"line":2168},[14389,14393,14397,14401,14405,14409,14413,14417,14421],{"type":208,"tag":216,"props":14390,"children":14391},{"style":1568},[14392],{"type":213,"value":2111},{"type":208,"tag":216,"props":14394,"children":14395},{"style":1678},[14396],{"type":213,"value":2116},{"type":208,"tag":216,"props":14398,"children":14399},{"style":1568},[14400],{"type":213,"value":470},{"type":208,"tag":216,"props":14402,"children":14403},{"style":1580},[14404],{"type":213,"value":2125},{"type":208,"tag":216,"props":14406,"children":14407},{"style":1568},[14408],{"type":213,"value":2130},{"type":208,"tag":216,"props":14410,"children":14411},{"style":1678},[14412],{"type":213,"value":2135},{"type":208,"tag":216,"props":14414,"children":14415},{"style":1568},[14416],{"type":213,"value":686},{"type":208,"tag":216,"props":14418,"children":14419},{"style":1678},[14420],{"type":213,"value":2144},{"type":208,"tag":216,"props":14422,"children":14423},{"style":1568},[14424],{"type":213,"value":1852},{"type":208,"tag":216,"props":14426,"children":14427},{"class":668,"line":2185},[14428],{"type":208,"tag":216,"props":14429,"children":14430},{"style":1568},[14431],{"type":213,"value":1041},{"type":208,"tag":216,"props":14433,"children":14434},{"class":668,"line":2193},[14435],{"type":208,"tag":216,"props":14436,"children":14437},{"style":1568},[14438],{"type":213,"value":2165},{"type":208,"tag":216,"props":14440,"children":14441},{"class":668,"line":2210},[14442,14446,14450],{"type":208,"tag":216,"props":14443,"children":14444},{"style":1568},[14445],{"type":213,"value":2174},{"type":208,"tag":216,"props":14447,"children":14448},{"style":1574},[14449],{"type":213,"value":1577},{"type":208,"tag":216,"props":14451,"children":14452},{"style":1568},[14453],{"type":213,"value":1604},{"type":208,"tag":216,"props":14455,"children":14456},{"class":668,"line":2283},[14457],{"type":208,"tag":216,"props":14458,"children":14459},{"emptyLinePlaceholder":872},[14460],{"type":213,"value":873},{"type":208,"tag":216,"props":14462,"children":14463},{"class":668,"line":2944},[14464,14468,14472],{"type":208,"tag":216,"props":14465,"children":14466},{"style":1568},[14467],{"type":213,"value":1571},{"type":208,"tag":216,"props":14469,"children":14470},{"style":1574},[14471],{"type":213,"value":2203},{"type":208,"tag":216,"props":14473,"children":14474},{"style":1568},[14475],{"type":213,"value":1604},{"type":208,"tag":216,"props":14477,"children":14478},{"class":668,"line":4246},[14479,14483,14487,14491,14495,14499,14503,14507,14511,14515,14519,14523,14527,14531,14535],{"type":208,"tag":216,"props":14480,"children":14481},{"style":1568},[14482],{"type":213,"value":2216},{"type":208,"tag":216,"props":14484,"children":14485},{"style":1574},[14486],{"type":213,"value":2221},{"type":208,"tag":216,"props":14488,"children":14489},{"style":1568},[14490],{"type":213,"value":2226},{"type":208,"tag":216,"props":14492,"children":14493},{"style":1580},[14494],{"type":213,"value":2231},{"type":208,"tag":216,"props":14496,"children":14497},{"style":1568},[14498],{"type":213,"value":1588},{"type":208,"tag":216,"props":14500,"children":14501},{"style":1591},[14502],{"type":213,"value":2240},{"type":208,"tag":216,"props":14504,"children":14505},{"style":1568},[14506],{"type":213,"value":2231},{"type":208,"tag":216,"props":14508,"children":14509},{"style":1591},[14510],{"type":213,"value":2240},{"type":208,"tag":216,"props":14512,"children":14513},{"style":1568},[14514],{"type":213,"value":2253},{"type":208,"tag":216,"props":14516,"children":14517},{"style":1580},[14518],{"type":213,"value":2258},{"type":208,"tag":216,"props":14520,"children":14521},{"style":1568},[14522],{"type":213,"value":1588},{"type":208,"tag":216,"props":14524,"children":14525},{"style":1591},[14526],{"type":213,"value":2240},{"type":208,"tag":216,"props":14528,"children":14529},{"style":1568},[14530],{"type":213,"value":2271},{"type":208,"tag":216,"props":14532,"children":14533},{"style":1591},[14534],{"type":213,"value":2240},{"type":208,"tag":216,"props":14536,"children":14537},{"style":1568},[14538],{"type":213,"value":2280},{"type":208,"tag":216,"props":14540,"children":14541},{"class":668,"line":4254},[14542,14546,14550],{"type":208,"tag":216,"props":14543,"children":14544},{"style":1568},[14545],{"type":213,"value":2174},{"type":208,"tag":216,"props":14547,"children":14548},{"style":1574},[14549],{"type":213,"value":2203},{"type":208,"tag":216,"props":14551,"children":14552},{"style":1568},[14553],{"type":213,"value":1604},{"type":208,"tag":1422,"props":14555,"children":14556},{},[14557],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":14559},[],{"data":14561,"body":14562,"toc":15278},{"title":663,"description":663},{"type":205,"children":14563},[14564,15274],{"type":208,"tag":1551,"props":14565,"children":14566},{},[14567],{"type":208,"tag":658,"props":14568,"children":14570},{"className":1556,"code":14569,"language":1558,"meta":663,"style":663},"\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  theme: afz.enum([], {\n    type: 'radioGroup',\n    controlProps: {\n      valueKey: 'id',\n      items: [\n        { label: 'System', description: '跟随系统设置', id: 'system' },\n        { label: 'Light', description: '浅色主题', id: 'light' },\n        { label: 'Dark', description: '深色主题', id: 'dark' }\n      ]\n    }\n  })\n    .default('system')\n    .meta({\n      label: '单选组'\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",[14571],{"type":208,"tag":239,"props":14572,"children":14573},{"__ignoreMap":663},[14574,14605,14628,14651,14658,14689,14712,14719,14746,14762,14777,14784,14800,14807,14842,14876,14910,14917,14924,14931,14954,14969,14981,14988,14995,15002,15061,15076,15091,15106,15145,15152,15159,15174,15181,15196,15259],{"type":208,"tag":216,"props":14575,"children":14576},{"class":668,"line":669},[14577,14581,14585,14589,14593,14597,14601],{"type":208,"tag":216,"props":14578,"children":14579},{"style":1568},[14580],{"type":213,"value":1571},{"type":208,"tag":216,"props":14582,"children":14583},{"style":1574},[14584],{"type":213,"value":1577},{"type":208,"tag":216,"props":14586,"children":14587},{"style":1580},[14588],{"type":213,"value":1583},{"type":208,"tag":216,"props":14590,"children":14591},{"style":1568},[14592],{"type":213,"value":1588},{"type":208,"tag":216,"props":14594,"children":14595},{"style":1591},[14596],{"type":213,"value":1594},{"type":208,"tag":216,"props":14598,"children":14599},{"style":1580},[14600],{"type":213,"value":1599},{"type":208,"tag":216,"props":14602,"children":14603},{"style":1568},[14604],{"type":213,"value":1604},{"type":208,"tag":216,"props":14606,"children":14607},{"class":668,"line":695},[14608,14612,14616,14620,14624],{"type":208,"tag":216,"props":14609,"children":14610},{"style":1610},[14611],{"type":213,"value":858},{"type":208,"tag":216,"props":14613,"children":14614},{"style":1610},[14615],{"type":213,"value":1617},{"type":208,"tag":216,"props":14617,"children":14618},{"style":1568},[14619],{"type":213,"value":1622},{"type":208,"tag":216,"props":14621,"children":14622},{"style":1610},[14623],{"type":213,"value":864},{"type":208,"tag":216,"props":14625,"children":14626},{"style":1591},[14627],{"type":213,"value":1631},{"type":208,"tag":216,"props":14629,"children":14630},{"class":668,"line":707},[14631,14635,14639,14643,14647],{"type":208,"tag":216,"props":14632,"children":14633},{"style":1610},[14634],{"type":213,"value":858},{"type":208,"tag":216,"props":14636,"children":14637},{"style":1610},[14638],{"type":213,"value":1617},{"type":208,"tag":216,"props":14640,"children":14641},{"style":1568},[14642],{"type":213,"value":1647},{"type":208,"tag":216,"props":14644,"children":14645},{"style":1610},[14646],{"type":213,"value":864},{"type":208,"tag":216,"props":14648,"children":14649},{"style":1591},[14650],{"type":213,"value":1656},{"type":208,"tag":216,"props":14652,"children":14653},{"class":668,"line":716},[14654],{"type":208,"tag":216,"props":14655,"children":14656},{"emptyLinePlaceholder":872},[14657],{"type":213,"value":873},{"type":208,"tag":216,"props":14659,"children":14660},{"class":668,"line":783},[14661,14665,14669,14673,14677,14681,14685],{"type":208,"tag":216,"props":14662,"children":14663},{"style":1610},[14664],{"type":213,"value":939},{"type":208,"tag":216,"props":14666,"children":14667},{"style":1568},[14668],{"type":213,"value":1675},{"type":208,"tag":216,"props":14670,"children":14671},{"style":1678},[14672],{"type":213,"value":1681},{"type":208,"tag":216,"props":14674,"children":14675},{"style":1568},[14676],{"type":213,"value":1686},{"type":208,"tag":216,"props":14678,"children":14679},{"style":1610},[14680],{"type":213,"value":1588},{"type":208,"tag":216,"props":14682,"children":14683},{"style":1580},[14684],{"type":213,"value":1695},{"type":208,"tag":216,"props":14686,"children":14687},{"style":1568},[14688],{"type":213,"value":1700},{"type":208,"tag":216,"props":14690,"children":14691},{"class":668,"line":800},[14692,14696,14700,14704,14708],{"type":208,"tag":216,"props":14693,"children":14694},{"style":1610},[14695],{"type":213,"value":939},{"type":208,"tag":216,"props":14697,"children":14698},{"style":1678},[14699],{"type":213,"value":1712},{"type":208,"tag":216,"props":14701,"children":14702},{"style":1610},[14703],{"type":213,"value":946},{"type":208,"tag":216,"props":14705,"children":14706},{"style":1580},[14707],{"type":213,"value":1721},{"type":208,"tag":216,"props":14709,"children":14710},{"style":1568},[14711],{"type":213,"value":1700},{"type":208,"tag":216,"props":14713,"children":14714},{"class":668,"line":815},[14715],{"type":208,"tag":216,"props":14716,"children":14717},{"emptyLinePlaceholder":872},[14718],{"type":213,"value":873},{"type":208,"tag":216,"props":14720,"children":14721},{"class":668,"line":821},[14722,14726,14730,14734,14738,14742],{"type":208,"tag":216,"props":14723,"children":14724},{"style":1610},[14725],{"type":213,"value":939},{"type":208,"tag":216,"props":14727,"children":14728},{"style":1678},[14729],{"type":213,"value":982},{"type":208,"tag":216,"props":14731,"children":14732},{"style":1610},[14733],{"type":213,"value":946},{"type":208,"tag":216,"props":14735,"children":14736},{"style":1568},[14737],{"type":213,"value":987},{"type":208,"tag":216,"props":14739,"children":14740},{"style":1580},[14741],{"type":213,"value":990},{"type":208,"tag":216,"props":14743,"children":14744},{"style":1568},[14745],{"type":213,"value":993},{"type":208,"tag":216,"props":14747,"children":14748},{"class":668,"line":827},[14749,14754,14758],{"type":208,"tag":216,"props":14750,"children":14751},{"style":1568},[14752],{"type":213,"value":14753},"  theme: afz.",{"type":208,"tag":216,"props":14755,"children":14756},{"style":1580},[14757],{"type":213,"value":629},{"type":208,"tag":216,"props":14759,"children":14760},{"style":1568},[14761],{"type":213,"value":1084},{"type":208,"tag":216,"props":14763,"children":14764},{"class":668,"line":832},[14765,14769,14773],{"type":208,"tag":216,"props":14766,"children":14767},{"style":1568},[14768],{"type":213,"value":1008},{"type":208,"tag":216,"props":14770,"children":14771},{"style":1591},[14772],{"type":213,"value":763},{"type":208,"tag":216,"props":14774,"children":14775},{"style":1568},[14776],{"type":213,"value":704},{"type":208,"tag":216,"props":14778,"children":14779},{"class":668,"line":838},[14780],{"type":208,"tag":216,"props":14781,"children":14782},{"style":1568},[14783],{"type":213,"value":1018},{"type":208,"tag":216,"props":14785,"children":14786},{"class":668,"line":1151},[14787,14791,14796],{"type":208,"tag":216,"props":14788,"children":14789},{"style":1568},[14790],{"type":213,"value":3994},{"type":208,"tag":216,"props":14792,"children":14793},{"style":1591},[14794],{"type":213,"value":14795},"'id'",{"type":208,"tag":216,"props":14797,"children":14798},{"style":1568},[14799],{"type":213,"value":704},{"type":208,"tag":216,"props":14801,"children":14802},{"class":668,"line":1276},[14803],{"type":208,"tag":216,"props":14804,"children":14805},{"style":1568},[14806],{"type":213,"value":14138},{"type":208,"tag":216,"props":14808,"children":14809},{"class":668,"line":1282},[14810,14814,14819,14823,14828,14833,14838],{"type":208,"tag":216,"props":14811,"children":14812},{"style":1568},[14813],{"type":213,"value":14146},{"type":208,"tag":216,"props":14815,"children":14816},{"style":1591},[14817],{"type":213,"value":14818},"'System'",{"type":208,"tag":216,"props":14820,"children":14821},{"style":1568},[14822],{"type":213,"value":9556},{"type":208,"tag":216,"props":14824,"children":14825},{"style":1591},[14826],{"type":213,"value":14827},"'跟随系统设置'",{"type":208,"tag":216,"props":14829,"children":14830},{"style":1568},[14831],{"type":213,"value":14832},", id: ",{"type":208,"tag":216,"props":14834,"children":14835},{"style":1591},[14836],{"type":213,"value":14837},"'system'",{"type":208,"tag":216,"props":14839,"children":14840},{"style":1568},[14841],{"type":213,"value":797},{"type":208,"tag":216,"props":14843,"children":14844},{"class":668,"line":1855},[14845,14849,14854,14858,14863,14867,14872],{"type":208,"tag":216,"props":14846,"children":14847},{"style":1568},[14848],{"type":213,"value":14146},{"type":208,"tag":216,"props":14850,"children":14851},{"style":1591},[14852],{"type":213,"value":14853},"'Light'",{"type":208,"tag":216,"props":14855,"children":14856},{"style":1568},[14857],{"type":213,"value":9556},{"type":208,"tag":216,"props":14859,"children":14860},{"style":1591},[14861],{"type":213,"value":14862},"'浅色主题'",{"type":208,"tag":216,"props":14864,"children":14865},{"style":1568},[14866],{"type":213,"value":14832},{"type":208,"tag":216,"props":14868,"children":14869},{"style":1591},[14870],{"type":213,"value":14871},"'light'",{"type":208,"tag":216,"props":14873,"children":14874},{"style":1568},[14875],{"type":213,"value":797},{"type":208,"tag":216,"props":14877,"children":14878},{"class":668,"line":1890},[14879,14883,14888,14892,14897,14901,14906],{"type":208,"tag":216,"props":14880,"children":14881},{"style":1568},[14882],{"type":213,"value":14146},{"type":208,"tag":216,"props":14884,"children":14885},{"style":1591},[14886],{"type":213,"value":14887},"'Dark'",{"type":208,"tag":216,"props":14889,"children":14890},{"style":1568},[14891],{"type":213,"value":9556},{"type":208,"tag":216,"props":14893,"children":14894},{"style":1591},[14895],{"type":213,"value":14896},"'深色主题'",{"type":208,"tag":216,"props":14898,"children":14899},{"style":1568},[14900],{"type":213,"value":14832},{"type":208,"tag":216,"props":14902,"children":14903},{"style":1591},[14904],{"type":213,"value":14905},"'dark'",{"type":208,"tag":216,"props":14907,"children":14908},{"style":1568},[14909],{"type":213,"value":812},{"type":208,"tag":216,"props":14911,"children":14912},{"class":668,"line":1907},[14913],{"type":208,"tag":216,"props":14914,"children":14915},{"style":1568},[14916],{"type":213,"value":14219},{"type":208,"tag":216,"props":14918,"children":14919},{"class":668,"line":1925},[14920],{"type":208,"tag":216,"props":14921,"children":14922},{"style":1568},[14923],{"type":213,"value":1036},{"type":208,"tag":216,"props":14925,"children":14926},{"class":668,"line":1942},[14927],{"type":208,"tag":216,"props":14928,"children":14929},{"style":1568},[14930],{"type":213,"value":1041},{"type":208,"tag":216,"props":14932,"children":14933},{"class":668,"line":1956},[14934,14938,14942,14946,14950],{"type":208,"tag":216,"props":14935,"children":14936},{"style":1568},[14937],{"type":213,"value":1823},{"type":208,"tag":216,"props":14939,"children":14940},{"style":1580},[14941],{"type":213,"value":6442},{"type":208,"tag":216,"props":14943,"children":14944},{"style":1568},[14945],{"type":213,"value":1833},{"type":208,"tag":216,"props":14947,"children":14948},{"style":1591},[14949],{"type":213,"value":14837},{"type":208,"tag":216,"props":14951,"children":14952},{"style":1568},[14953],{"type":213,"value":1852},{"type":208,"tag":216,"props":14955,"children":14956},{"class":668,"line":1965},[14957,14961,14965],{"type":208,"tag":216,"props":14958,"children":14959},{"style":1568},[14960],{"type":213,"value":1823},{"type":208,"tag":216,"props":14962,"children":14963},{"style":1580},[14964],{"type":213,"value":1900},{"type":208,"tag":216,"props":14966,"children":14967},{"style":1568},[14968],{"type":213,"value":993},{"type":208,"tag":216,"props":14970,"children":14971},{"class":668,"line":1973},[14972,14976],{"type":208,"tag":216,"props":14973,"children":14974},{"style":1568},[14975],{"type":213,"value":1913},{"type":208,"tag":216,"props":14977,"children":14978},{"style":1591},[14979],{"type":213,"value":14980},"'单选组'\n",{"type":208,"tag":216,"props":14982,"children":14983},{"class":668,"line":1981},[14984],{"type":208,"tag":216,"props":14985,"children":14986},{"style":1568},[14987],{"type":213,"value":1962},{"type":208,"tag":216,"props":14989,"children":14990},{"class":668,"line":2051},[14991],{"type":208,"tag":216,"props":14992,"children":14993},{"style":1568},[14994],{"type":213,"value":719},{"type":208,"tag":216,"props":14996,"children":14997},{"class":668,"line":2069},[14998],{"type":208,"tag":216,"props":14999,"children":15000},{"emptyLinePlaceholder":872},[15001],{"type":213,"value":873},{"type":208,"tag":216,"props":15003,"children":15004},{"class":668,"line":2087},[15005,15009,15013,15017,15021,15025,15029,15033,15037,15041,15045,15049,15053,15057],{"type":208,"tag":216,"props":15006,"children":15007},{"style":1610},[15008],{"type":213,"value":1987},{"type":208,"tag":216,"props":15010,"children":15011},{"style":1610},[15012],{"type":213,"value":1992},{"type":208,"tag":216,"props":15014,"children":15015},{"style":1580},[15016],{"type":213,"value":1997},{"type":208,"tag":216,"props":15018,"children":15019},{"style":1568},[15020],{"type":213,"value":1833},{"type":208,"tag":216,"props":15022,"children":15023},{"style":2004},[15024],{"type":213,"value":2007},{"type":208,"tag":216,"props":15026,"children":15027},{"style":1610},[15028],{"type":213,"value":262},{"type":208,"tag":216,"props":15030,"children":15031},{"style":1580},[15032],{"type":213,"value":2016},{"type":208,"tag":216,"props":15034,"children":15035},{"style":1568},[15036],{"type":213,"value":1571},{"type":208,"tag":216,"props":15038,"children":15039},{"style":1580},[15040],{"type":213,"value":2025},{"type":208,"tag":216,"props":15042,"children":15043},{"style":1568},[15044],{"type":213,"value":470},{"type":208,"tag":216,"props":15046,"children":15047},{"style":1580},[15048],{"type":213,"value":2034},{"type":208,"tag":216,"props":15050,"children":15051},{"style":1568},[15052],{"type":213,"value":1571},{"type":208,"tag":216,"props":15054,"children":15055},{"style":1610},[15056],{"type":213,"value":2043},{"type":208,"tag":216,"props":15058,"children":15059},{"style":1568},[15060],{"type":213,"value":2048},{"type":208,"tag":216,"props":15062,"children":15063},{"class":668,"line":2105},[15064,15068,15072],{"type":208,"tag":216,"props":15065,"children":15066},{"style":1568},[15067],{"type":213,"value":2057},{"type":208,"tag":216,"props":15069,"children":15070},{"style":1580},[15071],{"type":213,"value":2062},{"type":208,"tag":216,"props":15073,"children":15074},{"style":1568},[15075],{"type":213,"value":993},{"type":208,"tag":216,"props":15077,"children":15078},{"class":668,"line":2151},[15079,15083,15087],{"type":208,"tag":216,"props":15080,"children":15081},{"style":1568},[15082],{"type":213,"value":2075},{"type":208,"tag":216,"props":15084,"children":15085},{"style":1591},[15086],{"type":213,"value":2080},{"type":208,"tag":216,"props":15088,"children":15089},{"style":1568},[15090],{"type":213,"value":704},{"type":208,"tag":216,"props":15092,"children":15093},{"class":668,"line":2159},[15094,15098,15102],{"type":208,"tag":216,"props":15095,"children":15096},{"style":1568},[15097],{"type":213,"value":2093},{"type":208,"tag":216,"props":15099,"children":15100},{"style":1591},[15101],{"type":213,"value":2098},{"type":208,"tag":216,"props":15103,"children":15104},{"style":1568},[15105],{"type":213,"value":704},{"type":208,"tag":216,"props":15107,"children":15108},{"class":668,"line":2168},[15109,15113,15117,15121,15125,15129,15133,15137,15141],{"type":208,"tag":216,"props":15110,"children":15111},{"style":1568},[15112],{"type":213,"value":2111},{"type":208,"tag":216,"props":15114,"children":15115},{"style":1678},[15116],{"type":213,"value":2116},{"type":208,"tag":216,"props":15118,"children":15119},{"style":1568},[15120],{"type":213,"value":470},{"type":208,"tag":216,"props":15122,"children":15123},{"style":1580},[15124],{"type":213,"value":2125},{"type":208,"tag":216,"props":15126,"children":15127},{"style":1568},[15128],{"type":213,"value":2130},{"type":208,"tag":216,"props":15130,"children":15131},{"style":1678},[15132],{"type":213,"value":2135},{"type":208,"tag":216,"props":15134,"children":15135},{"style":1568},[15136],{"type":213,"value":686},{"type":208,"tag":216,"props":15138,"children":15139},{"style":1678},[15140],{"type":213,"value":2144},{"type":208,"tag":216,"props":15142,"children":15143},{"style":1568},[15144],{"type":213,"value":1852},{"type":208,"tag":216,"props":15146,"children":15147},{"class":668,"line":2185},[15148],{"type":208,"tag":216,"props":15149,"children":15150},{"style":1568},[15151],{"type":213,"value":1041},{"type":208,"tag":216,"props":15153,"children":15154},{"class":668,"line":2193},[15155],{"type":208,"tag":216,"props":15156,"children":15157},{"style":1568},[15158],{"type":213,"value":2165},{"type":208,"tag":216,"props":15160,"children":15161},{"class":668,"line":2210},[15162,15166,15170],{"type":208,"tag":216,"props":15163,"children":15164},{"style":1568},[15165],{"type":213,"value":2174},{"type":208,"tag":216,"props":15167,"children":15168},{"style":1574},[15169],{"type":213,"value":1577},{"type":208,"tag":216,"props":15171,"children":15172},{"style":1568},[15173],{"type":213,"value":1604},{"type":208,"tag":216,"props":15175,"children":15176},{"class":668,"line":2283},[15177],{"type":208,"tag":216,"props":15178,"children":15179},{"emptyLinePlaceholder":872},[15180],{"type":213,"value":873},{"type":208,"tag":216,"props":15182,"children":15183},{"class":668,"line":2944},[15184,15188,15192],{"type":208,"tag":216,"props":15185,"children":15186},{"style":1568},[15187],{"type":213,"value":1571},{"type":208,"tag":216,"props":15189,"children":15190},{"style":1574},[15191],{"type":213,"value":2203},{"type":208,"tag":216,"props":15193,"children":15194},{"style":1568},[15195],{"type":213,"value":1604},{"type":208,"tag":216,"props":15197,"children":15198},{"class":668,"line":4246},[15199,15203,15207,15211,15215,15219,15223,15227,15231,15235,15239,15243,15247,15251,15255],{"type":208,"tag":216,"props":15200,"children":15201},{"style":1568},[15202],{"type":213,"value":2216},{"type":208,"tag":216,"props":15204,"children":15205},{"style":1574},[15206],{"type":213,"value":2221},{"type":208,"tag":216,"props":15208,"children":15209},{"style":1568},[15210],{"type":213,"value":2226},{"type":208,"tag":216,"props":15212,"children":15213},{"style":1580},[15214],{"type":213,"value":2231},{"type":208,"tag":216,"props":15216,"children":15217},{"style":1568},[15218],{"type":213,"value":1588},{"type":208,"tag":216,"props":15220,"children":15221},{"style":1591},[15222],{"type":213,"value":2240},{"type":208,"tag":216,"props":15224,"children":15225},{"style":1568},[15226],{"type":213,"value":2231},{"type":208,"tag":216,"props":15228,"children":15229},{"style":1591},[15230],{"type":213,"value":2240},{"type":208,"tag":216,"props":15232,"children":15233},{"style":1568},[15234],{"type":213,"value":2253},{"type":208,"tag":216,"props":15236,"children":15237},{"style":1580},[15238],{"type":213,"value":2258},{"type":208,"tag":216,"props":15240,"children":15241},{"style":1568},[15242],{"type":213,"value":1588},{"type":208,"tag":216,"props":15244,"children":15245},{"style":1591},[15246],{"type":213,"value":2240},{"type":208,"tag":216,"props":15248,"children":15249},{"style":1568},[15250],{"type":213,"value":2271},{"type":208,"tag":216,"props":15252,"children":15253},{"style":1591},[15254],{"type":213,"value":2240},{"type":208,"tag":216,"props":15256,"children":15257},{"style":1568},[15258],{"type":213,"value":2280},{"type":208,"tag":216,"props":15260,"children":15261},{"class":668,"line":4254},[15262,15266,15270],{"type":208,"tag":216,"props":15263,"children":15264},{"style":1568},[15265],{"type":213,"value":2174},{"type":208,"tag":216,"props":15267,"children":15268},{"style":1574},[15269],{"type":213,"value":2203},{"type":208,"tag":216,"props":15271,"children":15272},{"style":1568},[15273],{"type":213,"value":1604},{"type":208,"tag":1422,"props":15275,"children":15276},{},[15277],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":15279},[],{"data":15281,"body":15282,"toc":15940},{"title":663,"description":663},{"type":205,"children":15283},[15284,15936],{"type":208,"tag":1551,"props":15285,"children":15286},{},[15287],{"type":208,"tag":658,"props":15288,"children":15290},{"className":1556,"code":15289,"language":1558,"meta":663,"style":663},"\u003Cscript setup lang=\"ts\">\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\nconst schema = afz.object({\n  period: afz.enum(['日', '周', '月'], {\n    type: 'toggleGroup',\n    controlProps: { attached: true }\n  }).optional().meta({ label: '统计周期' }),\n  formats: afz.array(afz.enum(['bold', 'italic', 'underline']), {\n    type: 'toggleGroup',\n    controlProps: {\n      type: 'multiple',\n      items: [\n        { label: '加粗', value: 'bold' },\n        { label: '斜体', value: 'italic' },\n        { label: '下划线', value: 'underline' }\n      ]\n    }\n  }).default([]).meta({ label: '文字格式' })\n})\n\nconst state = reactive\u003Cz.input\u003Ctypeof schema>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" :submit=\"false\" \u002F>\n\u003C\u002Ftemplate>\n\n",[15291],{"type":208,"tag":239,"props":15292,"children":15293},{"__ignoreMap":663},[15294,15325,15348,15355,15386,15413,15456,15472,15488,15522,15575,15590,15597,15614,15621,15645,15669,15693,15700,15707,15740,15747,15754,15801,15816,15823,15838,15921],{"type":208,"tag":216,"props":15295,"children":15296},{"class":668,"line":669},[15297,15301,15305,15309,15313,15317,15321],{"type":208,"tag":216,"props":15298,"children":15299},{"style":1568},[15300],{"type":213,"value":1571},{"type":208,"tag":216,"props":15302,"children":15303},{"style":1574},[15304],{"type":213,"value":1577},{"type":208,"tag":216,"props":15306,"children":15307},{"style":1580},[15308],{"type":213,"value":1599},{"type":208,"tag":216,"props":15310,"children":15311},{"style":1580},[15312],{"type":213,"value":1583},{"type":208,"tag":216,"props":15314,"children":15315},{"style":1568},[15316],{"type":213,"value":1588},{"type":208,"tag":216,"props":15318,"children":15319},{"style":1591},[15320],{"type":213,"value":1594},{"type":208,"tag":216,"props":15322,"children":15323},{"style":1568},[15324],{"type":213,"value":1604},{"type":208,"tag":216,"props":15326,"children":15327},{"class":668,"line":695},[15328,15332,15336,15340,15344],{"type":208,"tag":216,"props":15329,"children":15330},{"style":1610},[15331],{"type":213,"value":858},{"type":208,"tag":216,"props":15333,"children":15334},{"style":1610},[15335],{"type":213,"value":1617},{"type":208,"tag":216,"props":15337,"children":15338},{"style":1568},[15339],{"type":213,"value":1647},{"type":208,"tag":216,"props":15341,"children":15342},{"style":1610},[15343],{"type":213,"value":864},{"type":208,"tag":216,"props":15345,"children":15346},{"style":1591},[15347],{"type":213,"value":1656},{"type":208,"tag":216,"props":15349,"children":15350},{"class":668,"line":707},[15351],{"type":208,"tag":216,"props":15352,"children":15353},{"emptyLinePlaceholder":872},[15354],{"type":213,"value":873},{"type":208,"tag":216,"props":15356,"children":15357},{"class":668,"line":716},[15358,15362,15366,15370,15374,15378,15382],{"type":208,"tag":216,"props":15359,"children":15360},{"style":1610},[15361],{"type":213,"value":939},{"type":208,"tag":216,"props":15363,"children":15364},{"style":1568},[15365],{"type":213,"value":1675},{"type":208,"tag":216,"props":15367,"children":15368},{"style":1678},[15369],{"type":213,"value":1681},{"type":208,"tag":216,"props":15371,"children":15372},{"style":1568},[15373],{"type":213,"value":1686},{"type":208,"tag":216,"props":15375,"children":15376},{"style":1610},[15377],{"type":213,"value":1588},{"type":208,"tag":216,"props":15379,"children":15380},{"style":1580},[15381],{"type":213,"value":1695},{"type":208,"tag":216,"props":15383,"children":15384},{"style":1568},[15385],{"type":213,"value":1700},{"type":208,"tag":216,"props":15387,"children":15388},{"class":668,"line":783},[15389,15393,15397,15401,15405,15409],{"type":208,"tag":216,"props":15390,"children":15391},{"style":1610},[15392],{"type":213,"value":939},{"type":208,"tag":216,"props":15394,"children":15395},{"style":1678},[15396],{"type":213,"value":982},{"type":208,"tag":216,"props":15398,"children":15399},{"style":1610},[15400],{"type":213,"value":946},{"type":208,"tag":216,"props":15402,"children":15403},{"style":1568},[15404],{"type":213,"value":987},{"type":208,"tag":216,"props":15406,"children":15407},{"style":1580},[15408],{"type":213,"value":990},{"type":208,"tag":216,"props":15410,"children":15411},{"style":1568},[15412],{"type":213,"value":993},{"type":208,"tag":216,"props":15414,"children":15415},{"class":668,"line":800},[15416,15421,15425,15429,15434,15438,15443,15447,15452],{"type":208,"tag":216,"props":15417,"children":15418},{"style":1568},[15419],{"type":213,"value":15420},"  period: afz.",{"type":208,"tag":216,"props":15422,"children":15423},{"style":1580},[15424],{"type":213,"value":629},{"type":208,"tag":216,"props":15426,"children":15427},{"style":1568},[15428],{"type":213,"value":679},{"type":208,"tag":216,"props":15430,"children":15431},{"style":1591},[15432],{"type":213,"value":15433},"'日'",{"type":208,"tag":216,"props":15435,"children":15436},{"style":1568},[15437],{"type":213,"value":686},{"type":208,"tag":216,"props":15439,"children":15440},{"style":1591},[15441],{"type":213,"value":15442},"'周'",{"type":208,"tag":216,"props":15444,"children":15445},{"style":1568},[15446],{"type":213,"value":686},{"type":208,"tag":216,"props":15448,"children":15449},{"style":1591},[15450],{"type":213,"value":15451},"'月'",{"type":208,"tag":216,"props":15453,"children":15454},{"style":1568},[15455],{"type":213,"value":692},{"type":208,"tag":216,"props":15457,"children":15458},{"class":668,"line":815},[15459,15463,15468],{"type":208,"tag":216,"props":15460,"children":15461},{"style":1568},[15462],{"type":213,"value":1008},{"type":208,"tag":216,"props":15464,"children":15465},{"style":1591},[15466],{"type":213,"value":15467},"'toggleGroup'",{"type":208,"tag":216,"props":15469,"children":15470},{"style":1568},[15471],{"type":213,"value":704},{"type":208,"tag":216,"props":15473,"children":15474},{"class":668,"line":821},[15475,15480,15484],{"type":208,"tag":216,"props":15476,"children":15477},{"style":1568},[15478],{"type":213,"value":15479},"    controlProps: { attached: ",{"type":208,"tag":216,"props":15481,"children":15482},{"style":1678},[15483],{"type":213,"value":266},{"type":208,"tag":216,"props":15485,"children":15486},{"style":1568},[15487],{"type":213,"value":812},{"type":208,"tag":216,"props":15489,"children":15490},{"class":668,"line":827},[15491,15495,15499,15504,15508,15512,15517],{"type":208,"tag":216,"props":15492,"children":15493},{"style":1568},[15494],{"type":213,"value":4939},{"type":208,"tag":216,"props":15496,"children":15497},{"style":1580},[15498],{"type":213,"value":4967},{"type":208,"tag":216,"props":15500,"children":15501},{"style":1568},[15502],{"type":213,"value":15503},"().",{"type":208,"tag":216,"props":15505,"children":15506},{"style":1580},[15507],{"type":213,"value":1900},{"type":208,"tag":216,"props":15509,"children":15510},{"style":1568},[15511],{"type":213,"value":8910},{"type":208,"tag":216,"props":15513,"children":15514},{"style":1591},[15515],{"type":213,"value":15516},"'统计周期'",{"type":208,"tag":216,"props":15518,"children":15519},{"style":1568},[15520],{"type":213,"value":15521}," }),\n",{"type":208,"tag":216,"props":15523,"children":15524},{"class":668,"line":832},[15525,15530,15534,15539,15543,15547,15552,15556,15561,15565,15570],{"type":208,"tag":216,"props":15526,"children":15527},{"style":1568},[15528],{"type":213,"value":15529},"  formats: afz.",{"type":208,"tag":216,"props":15531,"children":15532},{"style":1580},[15533],{"type":213,"value":1414},{"type":208,"tag":216,"props":15535,"children":15536},{"style":1568},[15537],{"type":213,"value":15538},"(afz.",{"type":208,"tag":216,"props":15540,"children":15541},{"style":1580},[15542],{"type":213,"value":629},{"type":208,"tag":216,"props":15544,"children":15545},{"style":1568},[15546],{"type":213,"value":679},{"type":208,"tag":216,"props":15548,"children":15549},{"style":1591},[15550],{"type":213,"value":15551},"'bold'",{"type":208,"tag":216,"props":15553,"children":15554},{"style":1568},[15555],{"type":213,"value":686},{"type":208,"tag":216,"props":15557,"children":15558},{"style":1591},[15559],{"type":213,"value":15560},"'italic'",{"type":208,"tag":216,"props":15562,"children":15563},{"style":1568},[15564],{"type":213,"value":686},{"type":208,"tag":216,"props":15566,"children":15567},{"style":1591},[15568],{"type":213,"value":15569},"'underline'",{"type":208,"tag":216,"props":15571,"children":15572},{"style":1568},[15573],{"type":213,"value":15574},"]), {\n",{"type":208,"tag":216,"props":15576,"children":15577},{"class":668,"line":838},[15578,15582,15586],{"type":208,"tag":216,"props":15579,"children":15580},{"style":1568},[15581],{"type":213,"value":1008},{"type":208,"tag":216,"props":15583,"children":15584},{"style":1591},[15585],{"type":213,"value":15467},{"type":208,"tag":216,"props":15587,"children":15588},{"style":1568},[15589],{"type":213,"value":704},{"type":208,"tag":216,"props":15591,"children":15592},{"class":668,"line":1151},[15593],{"type":208,"tag":216,"props":15594,"children":15595},{"style":1568},[15596],{"type":213,"value":1018},{"type":208,"tag":216,"props":15598,"children":15599},{"class":668,"line":1276},[15600,15605,15610],{"type":208,"tag":216,"props":15601,"children":15602},{"style":1568},[15603],{"type":213,"value":15604},"      type: ",{"type":208,"tag":216,"props":15606,"children":15607},{"style":1591},[15608],{"type":213,"value":15609},"'multiple'",{"type":208,"tag":216,"props":15611,"children":15612},{"style":1568},[15613],{"type":213,"value":704},{"type":208,"tag":216,"props":15615,"children":15616},{"class":668,"line":1282},[15617],{"type":208,"tag":216,"props":15618,"children":15619},{"style":1568},[15620],{"type":213,"value":14138},{"type":208,"tag":216,"props":15622,"children":15623},{"class":668,"line":1855},[15624,15628,15633,15637,15641],{"type":208,"tag":216,"props":15625,"children":15626},{"style":1568},[15627],{"type":213,"value":14146},{"type":208,"tag":216,"props":15629,"children":15630},{"style":1591},[15631],{"type":213,"value":15632},"'加粗'",{"type":208,"tag":216,"props":15634,"children":15635},{"style":1568},[15636],{"type":213,"value":792},{"type":208,"tag":216,"props":15638,"children":15639},{"style":1591},[15640],{"type":213,"value":15551},{"type":208,"tag":216,"props":15642,"children":15643},{"style":1568},[15644],{"type":213,"value":797},{"type":208,"tag":216,"props":15646,"children":15647},{"class":668,"line":1890},[15648,15652,15657,15661,15665],{"type":208,"tag":216,"props":15649,"children":15650},{"style":1568},[15651],{"type":213,"value":14146},{"type":208,"tag":216,"props":15653,"children":15654},{"style":1591},[15655],{"type":213,"value":15656},"'斜体'",{"type":208,"tag":216,"props":15658,"children":15659},{"style":1568},[15660],{"type":213,"value":792},{"type":208,"tag":216,"props":15662,"children":15663},{"style":1591},[15664],{"type":213,"value":15560},{"type":208,"tag":216,"props":15666,"children":15667},{"style":1568},[15668],{"type":213,"value":797},{"type":208,"tag":216,"props":15670,"children":15671},{"class":668,"line":1907},[15672,15676,15681,15685,15689],{"type":208,"tag":216,"props":15673,"children":15674},{"style":1568},[15675],{"type":213,"value":14146},{"type":208,"tag":216,"props":15677,"children":15678},{"style":1591},[15679],{"type":213,"value":15680},"'下划线'",{"type":208,"tag":216,"props":15682,"children":15683},{"style":1568},[15684],{"type":213,"value":792},{"type":208,"tag":216,"props":15686,"children":15687},{"style":1591},[15688],{"type":213,"value":15569},{"type":208,"tag":216,"props":15690,"children":15691},{"style":1568},[15692],{"type":213,"value":812},{"type":208,"tag":216,"props":15694,"children":15695},{"class":668,"line":1925},[15696],{"type":208,"tag":216,"props":15697,"children":15698},{"style":1568},[15699],{"type":213,"value":14219},{"type":208,"tag":216,"props":15701,"children":15702},{"class":668,"line":1942},[15703],{"type":208,"tag":216,"props":15704,"children":15705},{"style":1568},[15706],{"type":213,"value":1036},{"type":208,"tag":216,"props":15708,"children":15709},{"class":668,"line":1956},[15710,15714,15718,15723,15727,15731,15736],{"type":208,"tag":216,"props":15711,"children":15712},{"style":1568},[15713],{"type":213,"value":4939},{"type":208,"tag":216,"props":15715,"children":15716},{"style":1580},[15717],{"type":213,"value":6442},{"type":208,"tag":216,"props":15719,"children":15720},{"style":1568},[15721],{"type":213,"value":15722},"([]).",{"type":208,"tag":216,"props":15724,"children":15725},{"style":1580},[15726],{"type":213,"value":1900},{"type":208,"tag":216,"props":15728,"children":15729},{"style":1568},[15730],{"type":213,"value":8910},{"type":208,"tag":216,"props":15732,"children":15733},{"style":1591},[15734],{"type":213,"value":15735},"'文字格式'",{"type":208,"tag":216,"props":15737,"children":15738},{"style":1568},[15739],{"type":213,"value":8920},{"type":208,"tag":216,"props":15741,"children":15742},{"class":668,"line":1965},[15743],{"type":208,"tag":216,"props":15744,"children":15745},{"style":1568},[15746],{"type":213,"value":719},{"type":208,"tag":216,"props":15748,"children":15749},{"class":668,"line":1973},[15750],{"type":208,"tag":216,"props":15751,"children":15752},{"emptyLinePlaceholder":872},[15753],{"type":213,"value":873},{"type":208,"tag":216,"props":15755,"children":15756},{"class":668,"line":1981},[15757,15761,15765,15769,15773,15777,15781,15785,15789,15793,15797],{"type":208,"tag":216,"props":15758,"children":15759},{"style":1610},[15760],{"type":213,"value":939},{"type":208,"tag":216,"props":15762,"children":15763},{"style":1678},[15764],{"type":213,"value":8946},{"type":208,"tag":216,"props":15766,"children":15767},{"style":1610},[15768],{"type":213,"value":946},{"type":208,"tag":216,"props":15770,"children":15771},{"style":1580},[15772],{"type":213,"value":8955},{"type":208,"tag":216,"props":15774,"children":15775},{"style":1568},[15776],{"type":213,"value":1571},{"type":208,"tag":216,"props":15778,"children":15779},{"style":1580},[15780],{"type":213,"value":2025},{"type":208,"tag":216,"props":15782,"children":15783},{"style":1568},[15784],{"type":213,"value":470},{"type":208,"tag":216,"props":15786,"children":15787},{"style":1580},[15788],{"type":213,"value":246},{"type":208,"tag":216,"props":15790,"children":15791},{"style":1568},[15792],{"type":213,"value":1571},{"type":208,"tag":216,"props":15794,"children":15795},{"style":1610},[15796],{"type":213,"value":2043},{"type":208,"tag":216,"props":15798,"children":15799},{"style":1568},[15800],{"type":213,"value":8984},{"type":208,"tag":216,"props":15802,"children":15803},{"class":668,"line":2051},[15804,15808,15812],{"type":208,"tag":216,"props":15805,"children":15806},{"style":1568},[15807],{"type":213,"value":2174},{"type":208,"tag":216,"props":15809,"children":15810},{"style":1574},[15811],{"type":213,"value":1577},{"type":208,"tag":216,"props":15813,"children":15814},{"style":1568},[15815],{"type":213,"value":1604},{"type":208,"tag":216,"props":15817,"children":15818},{"class":668,"line":2069},[15819],{"type":208,"tag":216,"props":15820,"children":15821},{"emptyLinePlaceholder":872},[15822],{"type":213,"value":873},{"type":208,"tag":216,"props":15824,"children":15825},{"class":668,"line":2087},[15826,15830,15834],{"type":208,"tag":216,"props":15827,"children":15828},{"style":1568},[15829],{"type":213,"value":1571},{"type":208,"tag":216,"props":15831,"children":15832},{"style":1574},[15833],{"type":213,"value":2203},{"type":208,"tag":216,"props":15835,"children":15836},{"style":1568},[15837],{"type":213,"value":1604},{"type":208,"tag":216,"props":15839,"children":15840},{"class":668,"line":2105},[15841,15845,15849,15853,15857,15861,15865,15869,15873,15877,15881,15885,15889,15893,15897,15901,15905,15909,15913,15917],{"type":208,"tag":216,"props":15842,"children":15843},{"style":1568},[15844],{"type":213,"value":2216},{"type":208,"tag":216,"props":15846,"children":15847},{"style":1574},[15848],{"type":213,"value":2221},{"type":208,"tag":216,"props":15850,"children":15851},{"style":1580},[15852],{"type":213,"value":9037},{"type":208,"tag":216,"props":15854,"children":15855},{"style":1568},[15856],{"type":213,"value":1588},{"type":208,"tag":216,"props":15858,"children":15859},{"style":1591},[15860],{"type":213,"value":2240},{"type":208,"tag":216,"props":15862,"children":15863},{"style":1568},[15864],{"type":213,"value":9050},{"type":208,"tag":216,"props":15866,"children":15867},{"style":1591},[15868],{"type":213,"value":2240},{"type":208,"tag":216,"props":15870,"children":15871},{"style":1568},[15872],{"type":213,"value":2226},{"type":208,"tag":216,"props":15874,"children":15875},{"style":1580},[15876],{"type":213,"value":2231},{"type":208,"tag":216,"props":15878,"children":15879},{"style":1568},[15880],{"type":213,"value":1588},{"type":208,"tag":216,"props":15882,"children":15883},{"style":1591},[15884],{"type":213,"value":2240},{"type":208,"tag":216,"props":15886,"children":15887},{"style":1568},[15888],{"type":213,"value":2231},{"type":208,"tag":216,"props":15890,"children":15891},{"style":1591},[15892],{"type":213,"value":2240},{"type":208,"tag":216,"props":15894,"children":15895},{"style":1568},[15896],{"type":213,"value":2226},{"type":208,"tag":216,"props":15898,"children":15899},{"style":1580},[15900],{"type":213,"value":2258},{"type":208,"tag":216,"props":15902,"children":15903},{"style":1568},[15904],{"type":213,"value":1588},{"type":208,"tag":216,"props":15906,"children":15907},{"style":1591},[15908],{"type":213,"value":2240},{"type":208,"tag":216,"props":15910,"children":15911},{"style":1678},[15912],{"type":213,"value":8896},{"type":208,"tag":216,"props":15914,"children":15915},{"style":1591},[15916],{"type":213,"value":2240},{"type":208,"tag":216,"props":15918,"children":15919},{"style":1568},[15920],{"type":213,"value":2280},{"type":208,"tag":216,"props":15922,"children":15923},{"class":668,"line":2151},[15924,15928,15932],{"type":208,"tag":216,"props":15925,"children":15926},{"style":1568},[15927],{"type":213,"value":2174},{"type":208,"tag":216,"props":15929,"children":15930},{"style":1574},[15931],{"type":213,"value":2203},{"type":208,"tag":216,"props":15933,"children":15934},{"style":1568},[15935],{"type":213,"value":1604},{"type":208,"tag":1422,"props":15937,"children":15938},{},[15939],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":15941},[],{"data":15943,"body":15944,"toc":16527},{"title":663,"description":663},{"type":205,"children":15945},[15946,16523],{"type":208,"tag":1551,"props":15947,"children":15948},{},[15949],{"type":208,"tag":658,"props":15950,"children":15952},{"className":1556,"code":15951,"language":1558,"meta":663,"style":663},"\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  avatar: afz.file({\n    controlProps: {\n      accept: 'image\u002F*'\n    }\n  })\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: `文件名: ${event.data.avatar.name}`\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[15953],{"type":208,"tag":239,"props":15954,"children":15955},{"__ignoreMap":663},[15956,15987,16010,16033,16040,16071,16094,16101,16128,16144,16151,16164,16171,16178,16193,16209,16221,16228,16235,16242,16301,16316,16331,16346,16394,16401,16408,16423,16430,16445,16508],{"type":208,"tag":216,"props":15957,"children":15958},{"class":668,"line":669},[15959,15963,15967,15971,15975,15979,15983],{"type":208,"tag":216,"props":15960,"children":15961},{"style":1568},[15962],{"type":213,"value":1571},{"type":208,"tag":216,"props":15964,"children":15965},{"style":1574},[15966],{"type":213,"value":1577},{"type":208,"tag":216,"props":15968,"children":15969},{"style":1580},[15970],{"type":213,"value":1583},{"type":208,"tag":216,"props":15972,"children":15973},{"style":1568},[15974],{"type":213,"value":1588},{"type":208,"tag":216,"props":15976,"children":15977},{"style":1591},[15978],{"type":213,"value":1594},{"type":208,"tag":216,"props":15980,"children":15981},{"style":1580},[15982],{"type":213,"value":1599},{"type":208,"tag":216,"props":15984,"children":15985},{"style":1568},[15986],{"type":213,"value":1604},{"type":208,"tag":216,"props":15988,"children":15989},{"class":668,"line":695},[15990,15994,15998,16002,16006],{"type":208,"tag":216,"props":15991,"children":15992},{"style":1610},[15993],{"type":213,"value":858},{"type":208,"tag":216,"props":15995,"children":15996},{"style":1610},[15997],{"type":213,"value":1617},{"type":208,"tag":216,"props":15999,"children":16000},{"style":1568},[16001],{"type":213,"value":1622},{"type":208,"tag":216,"props":16003,"children":16004},{"style":1610},[16005],{"type":213,"value":864},{"type":208,"tag":216,"props":16007,"children":16008},{"style":1591},[16009],{"type":213,"value":1631},{"type":208,"tag":216,"props":16011,"children":16012},{"class":668,"line":707},[16013,16017,16021,16025,16029],{"type":208,"tag":216,"props":16014,"children":16015},{"style":1610},[16016],{"type":213,"value":858},{"type":208,"tag":216,"props":16018,"children":16019},{"style":1610},[16020],{"type":213,"value":1617},{"type":208,"tag":216,"props":16022,"children":16023},{"style":1568},[16024],{"type":213,"value":1647},{"type":208,"tag":216,"props":16026,"children":16027},{"style":1610},[16028],{"type":213,"value":864},{"type":208,"tag":216,"props":16030,"children":16031},{"style":1591},[16032],{"type":213,"value":1656},{"type":208,"tag":216,"props":16034,"children":16035},{"class":668,"line":716},[16036],{"type":208,"tag":216,"props":16037,"children":16038},{"emptyLinePlaceholder":872},[16039],{"type":213,"value":873},{"type":208,"tag":216,"props":16041,"children":16042},{"class":668,"line":783},[16043,16047,16051,16055,16059,16063,16067],{"type":208,"tag":216,"props":16044,"children":16045},{"style":1610},[16046],{"type":213,"value":939},{"type":208,"tag":216,"props":16048,"children":16049},{"style":1568},[16050],{"type":213,"value":1675},{"type":208,"tag":216,"props":16052,"children":16053},{"style":1678},[16054],{"type":213,"value":1681},{"type":208,"tag":216,"props":16056,"children":16057},{"style":1568},[16058],{"type":213,"value":1686},{"type":208,"tag":216,"props":16060,"children":16061},{"style":1610},[16062],{"type":213,"value":1588},{"type":208,"tag":216,"props":16064,"children":16065},{"style":1580},[16066],{"type":213,"value":1695},{"type":208,"tag":216,"props":16068,"children":16069},{"style":1568},[16070],{"type":213,"value":1700},{"type":208,"tag":216,"props":16072,"children":16073},{"class":668,"line":800},[16074,16078,16082,16086,16090],{"type":208,"tag":216,"props":16075,"children":16076},{"style":1610},[16077],{"type":213,"value":939},{"type":208,"tag":216,"props":16079,"children":16080},{"style":1678},[16081],{"type":213,"value":1712},{"type":208,"tag":216,"props":16083,"children":16084},{"style":1610},[16085],{"type":213,"value":946},{"type":208,"tag":216,"props":16087,"children":16088},{"style":1580},[16089],{"type":213,"value":1721},{"type":208,"tag":216,"props":16091,"children":16092},{"style":1568},[16093],{"type":213,"value":1700},{"type":208,"tag":216,"props":16095,"children":16096},{"class":668,"line":815},[16097],{"type":208,"tag":216,"props":16098,"children":16099},{"emptyLinePlaceholder":872},[16100],{"type":213,"value":873},{"type":208,"tag":216,"props":16102,"children":16103},{"class":668,"line":821},[16104,16108,16112,16116,16120,16124],{"type":208,"tag":216,"props":16105,"children":16106},{"style":1610},[16107],{"type":213,"value":939},{"type":208,"tag":216,"props":16109,"children":16110},{"style":1678},[16111],{"type":213,"value":982},{"type":208,"tag":216,"props":16113,"children":16114},{"style":1610},[16115],{"type":213,"value":946},{"type":208,"tag":216,"props":16117,"children":16118},{"style":1568},[16119],{"type":213,"value":987},{"type":208,"tag":216,"props":16121,"children":16122},{"style":1580},[16123],{"type":213,"value":990},{"type":208,"tag":216,"props":16125,"children":16126},{"style":1568},[16127],{"type":213,"value":993},{"type":208,"tag":216,"props":16129,"children":16130},{"class":668,"line":827},[16131,16136,16140],{"type":208,"tag":216,"props":16132,"children":16133},{"style":1568},[16134],{"type":213,"value":16135},"  avatar: afz.",{"type":208,"tag":216,"props":16137,"children":16138},{"style":1580},[16139],{"type":213,"value":1387},{"type":208,"tag":216,"props":16141,"children":16142},{"style":1568},[16143],{"type":213,"value":993},{"type":208,"tag":216,"props":16145,"children":16146},{"class":668,"line":832},[16147],{"type":208,"tag":216,"props":16148,"children":16149},{"style":1568},[16150],{"type":213,"value":1018},{"type":208,"tag":216,"props":16152,"children":16153},{"class":668,"line":838},[16154,16159],{"type":208,"tag":216,"props":16155,"children":16156},{"style":1568},[16157],{"type":213,"value":16158},"      accept: ",{"type":208,"tag":216,"props":16160,"children":16161},{"style":1591},[16162],{"type":213,"value":16163},"'image\u002F*'\n",{"type":208,"tag":216,"props":16165,"children":16166},{"class":668,"line":1151},[16167],{"type":208,"tag":216,"props":16168,"children":16169},{"style":1568},[16170],{"type":213,"value":1036},{"type":208,"tag":216,"props":16172,"children":16173},{"class":668,"line":1276},[16174],{"type":208,"tag":216,"props":16175,"children":16176},{"style":1568},[16177],{"type":213,"value":1041},{"type":208,"tag":216,"props":16179,"children":16180},{"class":668,"line":1282},[16181,16185,16189],{"type":208,"tag":216,"props":16182,"children":16183},{"style":1568},[16184],{"type":213,"value":1823},{"type":208,"tag":216,"props":16186,"children":16187},{"style":1580},[16188],{"type":213,"value":1900},{"type":208,"tag":216,"props":16190,"children":16191},{"style":1568},[16192],{"type":213,"value":993},{"type":208,"tag":216,"props":16194,"children":16195},{"class":668,"line":1855},[16196,16200,16205],{"type":208,"tag":216,"props":16197,"children":16198},{"style":1568},[16199],{"type":213,"value":1913},{"type":208,"tag":216,"props":16201,"children":16202},{"style":1591},[16203],{"type":213,"value":16204},"'单文件上传'",{"type":208,"tag":216,"props":16206,"children":16207},{"style":1568},[16208],{"type":213,"value":704},{"type":208,"tag":216,"props":16210,"children":16211},{"class":668,"line":1890},[16212,16216],{"type":208,"tag":216,"props":16213,"children":16214},{"style":1568},[16215],{"type":213,"value":1948},{"type":208,"tag":216,"props":16217,"children":16218},{"style":1591},[16219],{"type":213,"value":16220},"'仅支持图片格式'\n",{"type":208,"tag":216,"props":16222,"children":16223},{"class":668,"line":1907},[16224],{"type":208,"tag":216,"props":16225,"children":16226},{"style":1568},[16227],{"type":213,"value":1962},{"type":208,"tag":216,"props":16229,"children":16230},{"class":668,"line":1925},[16231],{"type":208,"tag":216,"props":16232,"children":16233},{"style":1568},[16234],{"type":213,"value":719},{"type":208,"tag":216,"props":16236,"children":16237},{"class":668,"line":1942},[16238],{"type":208,"tag":216,"props":16239,"children":16240},{"emptyLinePlaceholder":872},[16241],{"type":213,"value":873},{"type":208,"tag":216,"props":16243,"children":16244},{"class":668,"line":1956},[16245,16249,16253,16257,16261,16265,16269,16273,16277,16281,16285,16289,16293,16297],{"type":208,"tag":216,"props":16246,"children":16247},{"style":1610},[16248],{"type":213,"value":1987},{"type":208,"tag":216,"props":16250,"children":16251},{"style":1610},[16252],{"type":213,"value":1992},{"type":208,"tag":216,"props":16254,"children":16255},{"style":1580},[16256],{"type":213,"value":1997},{"type":208,"tag":216,"props":16258,"children":16259},{"style":1568},[16260],{"type":213,"value":1833},{"type":208,"tag":216,"props":16262,"children":16263},{"style":2004},[16264],{"type":213,"value":2007},{"type":208,"tag":216,"props":16266,"children":16267},{"style":1610},[16268],{"type":213,"value":262},{"type":208,"tag":216,"props":16270,"children":16271},{"style":1580},[16272],{"type":213,"value":2016},{"type":208,"tag":216,"props":16274,"children":16275},{"style":1568},[16276],{"type":213,"value":1571},{"type":208,"tag":216,"props":16278,"children":16279},{"style":1580},[16280],{"type":213,"value":2025},{"type":208,"tag":216,"props":16282,"children":16283},{"style":1568},[16284],{"type":213,"value":470},{"type":208,"tag":216,"props":16286,"children":16287},{"style":1580},[16288],{"type":213,"value":2034},{"type":208,"tag":216,"props":16290,"children":16291},{"style":1568},[16292],{"type":213,"value":1571},{"type":208,"tag":216,"props":16294,"children":16295},{"style":1610},[16296],{"type":213,"value":2043},{"type":208,"tag":216,"props":16298,"children":16299},{"style":1568},[16300],{"type":213,"value":2048},{"type":208,"tag":216,"props":16302,"children":16303},{"class":668,"line":1965},[16304,16308,16312],{"type":208,"tag":216,"props":16305,"children":16306},{"style":1568},[16307],{"type":213,"value":2057},{"type":208,"tag":216,"props":16309,"children":16310},{"style":1580},[16311],{"type":213,"value":2062},{"type":208,"tag":216,"props":16313,"children":16314},{"style":1568},[16315],{"type":213,"value":993},{"type":208,"tag":216,"props":16317,"children":16318},{"class":668,"line":1973},[16319,16323,16327],{"type":208,"tag":216,"props":16320,"children":16321},{"style":1568},[16322],{"type":213,"value":2075},{"type":208,"tag":216,"props":16324,"children":16325},{"style":1591},[16326],{"type":213,"value":2080},{"type":208,"tag":216,"props":16328,"children":16329},{"style":1568},[16330],{"type":213,"value":704},{"type":208,"tag":216,"props":16332,"children":16333},{"class":668,"line":1981},[16334,16338,16342],{"type":208,"tag":216,"props":16335,"children":16336},{"style":1568},[16337],{"type":213,"value":2093},{"type":208,"tag":216,"props":16339,"children":16340},{"style":1591},[16341],{"type":213,"value":2098},{"type":208,"tag":216,"props":16343,"children":16344},{"style":1568},[16345],{"type":213,"value":704},{"type":208,"tag":216,"props":16347,"children":16348},{"class":668,"line":2051},[16349,16353,16358,16362,16366,16371,16375,16380,16384,16389],{"type":208,"tag":216,"props":16350,"children":16351},{"style":1568},[16352],{"type":213,"value":2111},{"type":208,"tag":216,"props":16354,"children":16355},{"style":1591},[16356],{"type":213,"value":16357},"`文件名: ${",{"type":208,"tag":216,"props":16359,"children":16360},{"style":1568},[16361],{"type":213,"value":2007},{"type":208,"tag":216,"props":16363,"children":16364},{"style":1591},[16365],{"type":213,"value":470},{"type":208,"tag":216,"props":16367,"children":16368},{"style":1568},[16369],{"type":213,"value":16370},"data",{"type":208,"tag":216,"props":16372,"children":16373},{"style":1591},[16374],{"type":213,"value":470},{"type":208,"tag":216,"props":16376,"children":16377},{"style":1568},[16378],{"type":213,"value":16379},"avatar",{"type":208,"tag":216,"props":16381,"children":16382},{"style":1591},[16383],{"type":213,"value":470},{"type":208,"tag":216,"props":16385,"children":16386},{"style":1568},[16387],{"type":213,"value":16388},"name",{"type":208,"tag":216,"props":16390,"children":16391},{"style":1591},[16392],{"type":213,"value":16393},"}`\n",{"type":208,"tag":216,"props":16395,"children":16396},{"class":668,"line":2069},[16397],{"type":208,"tag":216,"props":16398,"children":16399},{"style":1568},[16400],{"type":213,"value":1041},{"type":208,"tag":216,"props":16402,"children":16403},{"class":668,"line":2087},[16404],{"type":208,"tag":216,"props":16405,"children":16406},{"style":1568},[16407],{"type":213,"value":2165},{"type":208,"tag":216,"props":16409,"children":16410},{"class":668,"line":2105},[16411,16415,16419],{"type":208,"tag":216,"props":16412,"children":16413},{"style":1568},[16414],{"type":213,"value":2174},{"type":208,"tag":216,"props":16416,"children":16417},{"style":1574},[16418],{"type":213,"value":1577},{"type":208,"tag":216,"props":16420,"children":16421},{"style":1568},[16422],{"type":213,"value":1604},{"type":208,"tag":216,"props":16424,"children":16425},{"class":668,"line":2151},[16426],{"type":208,"tag":216,"props":16427,"children":16428},{"emptyLinePlaceholder":872},[16429],{"type":213,"value":873},{"type":208,"tag":216,"props":16431,"children":16432},{"class":668,"line":2159},[16433,16437,16441],{"type":208,"tag":216,"props":16434,"children":16435},{"style":1568},[16436],{"type":213,"value":1571},{"type":208,"tag":216,"props":16438,"children":16439},{"style":1574},[16440],{"type":213,"value":2203},{"type":208,"tag":216,"props":16442,"children":16443},{"style":1568},[16444],{"type":213,"value":1604},{"type":208,"tag":216,"props":16446,"children":16447},{"class":668,"line":2168},[16448,16452,16456,16460,16464,16468,16472,16476,16480,16484,16488,16492,16496,16500,16504],{"type":208,"tag":216,"props":16449,"children":16450},{"style":1568},[16451],{"type":213,"value":2216},{"type":208,"tag":216,"props":16453,"children":16454},{"style":1574},[16455],{"type":213,"value":2221},{"type":208,"tag":216,"props":16457,"children":16458},{"style":1568},[16459],{"type":213,"value":2226},{"type":208,"tag":216,"props":16461,"children":16462},{"style":1580},[16463],{"type":213,"value":2231},{"type":208,"tag":216,"props":16465,"children":16466},{"style":1568},[16467],{"type":213,"value":1588},{"type":208,"tag":216,"props":16469,"children":16470},{"style":1591},[16471],{"type":213,"value":2240},{"type":208,"tag":216,"props":16473,"children":16474},{"style":1568},[16475],{"type":213,"value":2231},{"type":208,"tag":216,"props":16477,"children":16478},{"style":1591},[16479],{"type":213,"value":2240},{"type":208,"tag":216,"props":16481,"children":16482},{"style":1568},[16483],{"type":213,"value":2253},{"type":208,"tag":216,"props":16485,"children":16486},{"style":1580},[16487],{"type":213,"value":2258},{"type":208,"tag":216,"props":16489,"children":16490},{"style":1568},[16491],{"type":213,"value":1588},{"type":208,"tag":216,"props":16493,"children":16494},{"style":1591},[16495],{"type":213,"value":2240},{"type":208,"tag":216,"props":16497,"children":16498},{"style":1568},[16499],{"type":213,"value":2271},{"type":208,"tag":216,"props":16501,"children":16502},{"style":1591},[16503],{"type":213,"value":2240},{"type":208,"tag":216,"props":16505,"children":16506},{"style":1568},[16507],{"type":213,"value":2280},{"type":208,"tag":216,"props":16509,"children":16510},{"class":668,"line":2185},[16511,16515,16519],{"type":208,"tag":216,"props":16512,"children":16513},{"style":1568},[16514],{"type":213,"value":2174},{"type":208,"tag":216,"props":16516,"children":16517},{"style":1574},[16518],{"type":213,"value":2203},{"type":208,"tag":216,"props":16520,"children":16521},{"style":1568},[16522],{"type":213,"value":1604},{"type":208,"tag":1422,"props":16524,"children":16525},{},[16526],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":16528},[],{"data":16530,"body":16531,"toc":17218},{"title":663,"description":663},{"type":205,"children":16532},[16533,17214],{"type":208,"tag":1551,"props":16534,"children":16535},{},[16536],{"type":208,"tag":658,"props":16537,"children":16539},{"className":1556,"code":16538,"language":1558,"meta":663,"style":663},"\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  attachments: afz.array(afz.file(), {\n    type: 'file',\n    controlProps: {\n      multiple: true,\n      layout: 'list'\n    }\n  })\n    .min(1, '至少上传一个文件')\n    .max(5, '最多上传 5 个文件')\n    .meta({\n      label: '多文件上传',\n      hint: '最多上传 5 个文件'\n    })\n})\n\nasync function onSubmit(event: FormSubmitEvent\u003Cz.output\u003Ctypeof schema>>) {\n  toast.add({\n    title: 'Success',\n    color: 'success',\n    description: `已上传 ${event.data.attachments.length} 个文件`\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm :schema=\"schema\" @submit=\"onSubmit\" \u002F>\n\u003C\u002Ftemplate>\n\n",[16540],{"type":208,"tag":239,"props":16541,"children":16542},{"__ignoreMap":663},[16543,16574,16597,16620,16627,16658,16681,16688,16715,16740,16756,16763,16779,16792,16799,16806,16838,16871,16886,16902,16914,16921,16928,16935,16994,17009,17024,17039,17085,17092,17099,17114,17121,17136,17199],{"type":208,"tag":216,"props":16544,"children":16545},{"class":668,"line":669},[16546,16550,16554,16558,16562,16566,16570],{"type":208,"tag":216,"props":16547,"children":16548},{"style":1568},[16549],{"type":213,"value":1571},{"type":208,"tag":216,"props":16551,"children":16552},{"style":1574},[16553],{"type":213,"value":1577},{"type":208,"tag":216,"props":16555,"children":16556},{"style":1580},[16557],{"type":213,"value":1583},{"type":208,"tag":216,"props":16559,"children":16560},{"style":1568},[16561],{"type":213,"value":1588},{"type":208,"tag":216,"props":16563,"children":16564},{"style":1591},[16565],{"type":213,"value":1594},{"type":208,"tag":216,"props":16567,"children":16568},{"style":1580},[16569],{"type":213,"value":1599},{"type":208,"tag":216,"props":16571,"children":16572},{"style":1568},[16573],{"type":213,"value":1604},{"type":208,"tag":216,"props":16575,"children":16576},{"class":668,"line":695},[16577,16581,16585,16589,16593],{"type":208,"tag":216,"props":16578,"children":16579},{"style":1610},[16580],{"type":213,"value":858},{"type":208,"tag":216,"props":16582,"children":16583},{"style":1610},[16584],{"type":213,"value":1617},{"type":208,"tag":216,"props":16586,"children":16587},{"style":1568},[16588],{"type":213,"value":1622},{"type":208,"tag":216,"props":16590,"children":16591},{"style":1610},[16592],{"type":213,"value":864},{"type":208,"tag":216,"props":16594,"children":16595},{"style":1591},[16596],{"type":213,"value":1631},{"type":208,"tag":216,"props":16598,"children":16599},{"class":668,"line":707},[16600,16604,16608,16612,16616],{"type":208,"tag":216,"props":16601,"children":16602},{"style":1610},[16603],{"type":213,"value":858},{"type":208,"tag":216,"props":16605,"children":16606},{"style":1610},[16607],{"type":213,"value":1617},{"type":208,"tag":216,"props":16609,"children":16610},{"style":1568},[16611],{"type":213,"value":1647},{"type":208,"tag":216,"props":16613,"children":16614},{"style":1610},[16615],{"type":213,"value":864},{"type":208,"tag":216,"props":16617,"children":16618},{"style":1591},[16619],{"type":213,"value":1656},{"type":208,"tag":216,"props":16621,"children":16622},{"class":668,"line":716},[16623],{"type":208,"tag":216,"props":16624,"children":16625},{"emptyLinePlaceholder":872},[16626],{"type":213,"value":873},{"type":208,"tag":216,"props":16628,"children":16629},{"class":668,"line":783},[16630,16634,16638,16642,16646,16650,16654],{"type":208,"tag":216,"props":16631,"children":16632},{"style":1610},[16633],{"type":213,"value":939},{"type":208,"tag":216,"props":16635,"children":16636},{"style":1568},[16637],{"type":213,"value":1675},{"type":208,"tag":216,"props":16639,"children":16640},{"style":1678},[16641],{"type":213,"value":1681},{"type":208,"tag":216,"props":16643,"children":16644},{"style":1568},[16645],{"type":213,"value":1686},{"type":208,"tag":216,"props":16647,"children":16648},{"style":1610},[16649],{"type":213,"value":1588},{"type":208,"tag":216,"props":16651,"children":16652},{"style":1580},[16653],{"type":213,"value":1695},{"type":208,"tag":216,"props":16655,"children":16656},{"style":1568},[16657],{"type":213,"value":1700},{"type":208,"tag":216,"props":16659,"children":16660},{"class":668,"line":800},[16661,16665,16669,16673,16677],{"type":208,"tag":216,"props":16662,"children":16663},{"style":1610},[16664],{"type":213,"value":939},{"type":208,"tag":216,"props":16666,"children":16667},{"style":1678},[16668],{"type":213,"value":1712},{"type":208,"tag":216,"props":16670,"children":16671},{"style":1610},[16672],{"type":213,"value":946},{"type":208,"tag":216,"props":16674,"children":16675},{"style":1580},[16676],{"type":213,"value":1721},{"type":208,"tag":216,"props":16678,"children":16679},{"style":1568},[16680],{"type":213,"value":1700},{"type":208,"tag":216,"props":16682,"children":16683},{"class":668,"line":815},[16684],{"type":208,"tag":216,"props":16685,"children":16686},{"emptyLinePlaceholder":872},[16687],{"type":213,"value":873},{"type":208,"tag":216,"props":16689,"children":16690},{"class":668,"line":821},[16691,16695,16699,16703,16707,16711],{"type":208,"tag":216,"props":16692,"children":16693},{"style":1610},[16694],{"type":213,"value":939},{"type":208,"tag":216,"props":16696,"children":16697},{"style":1678},[16698],{"type":213,"value":982},{"type":208,"tag":216,"props":16700,"children":16701},{"style":1610},[16702],{"type":213,"value":946},{"type":208,"tag":216,"props":16704,"children":16705},{"style":1568},[16706],{"type":213,"value":987},{"type":208,"tag":216,"props":16708,"children":16709},{"style":1580},[16710],{"type":213,"value":990},{"type":208,"tag":216,"props":16712,"children":16713},{"style":1568},[16714],{"type":213,"value":993},{"type":208,"tag":216,"props":16716,"children":16717},{"class":668,"line":827},[16718,16723,16727,16731,16735],{"type":208,"tag":216,"props":16719,"children":16720},{"style":1568},[16721],{"type":213,"value":16722},"  attachments: afz.",{"type":208,"tag":216,"props":16724,"children":16725},{"style":1580},[16726],{"type":213,"value":1414},{"type":208,"tag":216,"props":16728,"children":16729},{"style":1568},[16730],{"type":213,"value":15538},{"type":208,"tag":216,"props":16732,"children":16733},{"style":1580},[16734],{"type":213,"value":1387},{"type":208,"tag":216,"props":16736,"children":16737},{"style":1568},[16738],{"type":213,"value":16739},"(), {\n",{"type":208,"tag":216,"props":16741,"children":16742},{"class":668,"line":832},[16743,16747,16752],{"type":208,"tag":216,"props":16744,"children":16745},{"style":1568},[16746],{"type":213,"value":1008},{"type":208,"tag":216,"props":16748,"children":16749},{"style":1591},[16750],{"type":213,"value":16751},"'file'",{"type":208,"tag":216,"props":16753,"children":16754},{"style":1568},[16755],{"type":213,"value":704},{"type":208,"tag":216,"props":16757,"children":16758},{"class":668,"line":838},[16759],{"type":208,"tag":216,"props":16760,"children":16761},{"style":1568},[16762],{"type":213,"value":1018},{"type":208,"tag":216,"props":16764,"children":16765},{"class":668,"line":1151},[16766,16771,16775],{"type":208,"tag":216,"props":16767,"children":16768},{"style":1568},[16769],{"type":213,"value":16770},"      multiple: ",{"type":208,"tag":216,"props":16772,"children":16773},{"style":1678},[16774],{"type":213,"value":266},{"type":208,"tag":216,"props":16776,"children":16777},{"style":1568},[16778],{"type":213,"value":704},{"type":208,"tag":216,"props":16780,"children":16781},{"class":668,"line":1276},[16782,16787],{"type":208,"tag":216,"props":16783,"children":16784},{"style":1568},[16785],{"type":213,"value":16786},"      layout: ",{"type":208,"tag":216,"props":16788,"children":16789},{"style":1591},[16790],{"type":213,"value":16791},"'list'\n",{"type":208,"tag":216,"props":16793,"children":16794},{"class":668,"line":1282},[16795],{"type":208,"tag":216,"props":16796,"children":16797},{"style":1568},[16798],{"type":213,"value":1036},{"type":208,"tag":216,"props":16800,"children":16801},{"class":668,"line":1855},[16802],{"type":208,"tag":216,"props":16803,"children":16804},{"style":1568},[16805],{"type":213,"value":1041},{"type":208,"tag":216,"props":16807,"children":16808},{"class":668,"line":1890},[16809,16813,16817,16821,16825,16829,16834],{"type":208,"tag":216,"props":16810,"children":16811},{"style":1568},[16812],{"type":213,"value":1823},{"type":208,"tag":216,"props":16814,"children":16815},{"style":1580},[16816],{"type":213,"value":1828},{"type":208,"tag":216,"props":16818,"children":16819},{"style":1568},[16820],{"type":213,"value":1833},{"type":208,"tag":216,"props":16822,"children":16823},{"style":1678},[16824],{"type":213,"value":9453},{"type":208,"tag":216,"props":16826,"children":16827},{"style":1568},[16828],{"type":213,"value":686},{"type":208,"tag":216,"props":16830,"children":16831},{"style":1591},[16832],{"type":213,"value":16833},"'至少上传一个文件'",{"type":208,"tag":216,"props":16835,"children":16836},{"style":1568},[16837],{"type":213,"value":1852},{"type":208,"tag":216,"props":16839,"children":16840},{"class":668,"line":1907},[16841,16845,16849,16853,16858,16862,16867],{"type":208,"tag":216,"props":16842,"children":16843},{"style":1568},[16844],{"type":213,"value":1823},{"type":208,"tag":216,"props":16846,"children":16847},{"style":1580},[16848],{"type":213,"value":1865},{"type":208,"tag":216,"props":16850,"children":16851},{"style":1568},[16852],{"type":213,"value":1833},{"type":208,"tag":216,"props":16854,"children":16855},{"style":1678},[16856],{"type":213,"value":16857},"5",{"type":208,"tag":216,"props":16859,"children":16860},{"style":1568},[16861],{"type":213,"value":686},{"type":208,"tag":216,"props":16863,"children":16864},{"style":1591},[16865],{"type":213,"value":16866},"'最多上传 5 个文件'",{"type":208,"tag":216,"props":16868,"children":16869},{"style":1568},[16870],{"type":213,"value":1852},{"type":208,"tag":216,"props":16872,"children":16873},{"class":668,"line":1925},[16874,16878,16882],{"type":208,"tag":216,"props":16875,"children":16876},{"style":1568},[16877],{"type":213,"value":1823},{"type":208,"tag":216,"props":16879,"children":16880},{"style":1580},[16881],{"type":213,"value":1900},{"type":208,"tag":216,"props":16883,"children":16884},{"style":1568},[16885],{"type":213,"value":993},{"type":208,"tag":216,"props":16887,"children":16888},{"class":668,"line":1942},[16889,16893,16898],{"type":208,"tag":216,"props":16890,"children":16891},{"style":1568},[16892],{"type":213,"value":1913},{"type":208,"tag":216,"props":16894,"children":16895},{"style":1591},[16896],{"type":213,"value":16897},"'多文件上传'",{"type":208,"tag":216,"props":16899,"children":16900},{"style":1568},[16901],{"type":213,"value":704},{"type":208,"tag":216,"props":16903,"children":16904},{"class":668,"line":1956},[16905,16909],{"type":208,"tag":216,"props":16906,"children":16907},{"style":1568},[16908],{"type":213,"value":1948},{"type":208,"tag":216,"props":16910,"children":16911},{"style":1591},[16912],{"type":213,"value":16913},"'最多上传 5 个文件'\n",{"type":208,"tag":216,"props":16915,"children":16916},{"class":668,"line":1965},[16917],{"type":208,"tag":216,"props":16918,"children":16919},{"style":1568},[16920],{"type":213,"value":1962},{"type":208,"tag":216,"props":16922,"children":16923},{"class":668,"line":1973},[16924],{"type":208,"tag":216,"props":16925,"children":16926},{"style":1568},[16927],{"type":213,"value":719},{"type":208,"tag":216,"props":16929,"children":16930},{"class":668,"line":1981},[16931],{"type":208,"tag":216,"props":16932,"children":16933},{"emptyLinePlaceholder":872},[16934],{"type":213,"value":873},{"type":208,"tag":216,"props":16936,"children":16937},{"class":668,"line":2051},[16938,16942,16946,16950,16954,16958,16962,16966,16970,16974,16978,16982,16986,16990],{"type":208,"tag":216,"props":16939,"children":16940},{"style":1610},[16941],{"type":213,"value":1987},{"type":208,"tag":216,"props":16943,"children":16944},{"style":1610},[16945],{"type":213,"value":1992},{"type":208,"tag":216,"props":16947,"children":16948},{"style":1580},[16949],{"type":213,"value":1997},{"type":208,"tag":216,"props":16951,"children":16952},{"style":1568},[16953],{"type":213,"value":1833},{"type":208,"tag":216,"props":16955,"children":16956},{"style":2004},[16957],{"type":213,"value":2007},{"type":208,"tag":216,"props":16959,"children":16960},{"style":1610},[16961],{"type":213,"value":262},{"type":208,"tag":216,"props":16963,"children":16964},{"style":1580},[16965],{"type":213,"value":2016},{"type":208,"tag":216,"props":16967,"children":16968},{"style":1568},[16969],{"type":213,"value":1571},{"type":208,"tag":216,"props":16971,"children":16972},{"style":1580},[16973],{"type":213,"value":2025},{"type":208,"tag":216,"props":16975,"children":16976},{"style":1568},[16977],{"type":213,"value":470},{"type":208,"tag":216,"props":16979,"children":16980},{"style":1580},[16981],{"type":213,"value":2034},{"type":208,"tag":216,"props":16983,"children":16984},{"style":1568},[16985],{"type":213,"value":1571},{"type":208,"tag":216,"props":16987,"children":16988},{"style":1610},[16989],{"type":213,"value":2043},{"type":208,"tag":216,"props":16991,"children":16992},{"style":1568},[16993],{"type":213,"value":2048},{"type":208,"tag":216,"props":16995,"children":16996},{"class":668,"line":2069},[16997,17001,17005],{"type":208,"tag":216,"props":16998,"children":16999},{"style":1568},[17000],{"type":213,"value":2057},{"type":208,"tag":216,"props":17002,"children":17003},{"style":1580},[17004],{"type":213,"value":2062},{"type":208,"tag":216,"props":17006,"children":17007},{"style":1568},[17008],{"type":213,"value":993},{"type":208,"tag":216,"props":17010,"children":17011},{"class":668,"line":2087},[17012,17016,17020],{"type":208,"tag":216,"props":17013,"children":17014},{"style":1568},[17015],{"type":213,"value":2075},{"type":208,"tag":216,"props":17017,"children":17018},{"style":1591},[17019],{"type":213,"value":2080},{"type":208,"tag":216,"props":17021,"children":17022},{"style":1568},[17023],{"type":213,"value":704},{"type":208,"tag":216,"props":17025,"children":17026},{"class":668,"line":2105},[17027,17031,17035],{"type":208,"tag":216,"props":17028,"children":17029},{"style":1568},[17030],{"type":213,"value":2093},{"type":208,"tag":216,"props":17032,"children":17033},{"style":1591},[17034],{"type":213,"value":2098},{"type":208,"tag":216,"props":17036,"children":17037},{"style":1568},[17038],{"type":213,"value":704},{"type":208,"tag":216,"props":17040,"children":17041},{"class":668,"line":2151},[17042,17046,17051,17055,17059,17063,17067,17072,17076,17080],{"type":208,"tag":216,"props":17043,"children":17044},{"style":1568},[17045],{"type":213,"value":2111},{"type":208,"tag":216,"props":17047,"children":17048},{"style":1591},[17049],{"type":213,"value":17050},"`已上传 ${",{"type":208,"tag":216,"props":17052,"children":17053},{"style":1568},[17054],{"type":213,"value":2007},{"type":208,"tag":216,"props":17056,"children":17057},{"style":1591},[17058],{"type":213,"value":470},{"type":208,"tag":216,"props":17060,"children":17061},{"style":1568},[17062],{"type":213,"value":16370},{"type":208,"tag":216,"props":17064,"children":17065},{"style":1591},[17066],{"type":213,"value":470},{"type":208,"tag":216,"props":17068,"children":17069},{"style":1568},[17070],{"type":213,"value":17071},"attachments",{"type":208,"tag":216,"props":17073,"children":17074},{"style":1591},[17075],{"type":213,"value":470},{"type":208,"tag":216,"props":17077,"children":17078},{"style":1678},[17079],{"type":213,"value":3244},{"type":208,"tag":216,"props":17081,"children":17082},{"style":1591},[17083],{"type":213,"value":17084},"} 个文件`\n",{"type":208,"tag":216,"props":17086,"children":17087},{"class":668,"line":2159},[17088],{"type":208,"tag":216,"props":17089,"children":17090},{"style":1568},[17091],{"type":213,"value":1041},{"type":208,"tag":216,"props":17093,"children":17094},{"class":668,"line":2168},[17095],{"type":208,"tag":216,"props":17096,"children":17097},{"style":1568},[17098],{"type":213,"value":2165},{"type":208,"tag":216,"props":17100,"children":17101},{"class":668,"line":2185},[17102,17106,17110],{"type":208,"tag":216,"props":17103,"children":17104},{"style":1568},[17105],{"type":213,"value":2174},{"type":208,"tag":216,"props":17107,"children":17108},{"style":1574},[17109],{"type":213,"value":1577},{"type":208,"tag":216,"props":17111,"children":17112},{"style":1568},[17113],{"type":213,"value":1604},{"type":208,"tag":216,"props":17115,"children":17116},{"class":668,"line":2193},[17117],{"type":208,"tag":216,"props":17118,"children":17119},{"emptyLinePlaceholder":872},[17120],{"type":213,"value":873},{"type":208,"tag":216,"props":17122,"children":17123},{"class":668,"line":2210},[17124,17128,17132],{"type":208,"tag":216,"props":17125,"children":17126},{"style":1568},[17127],{"type":213,"value":1571},{"type":208,"tag":216,"props":17129,"children":17130},{"style":1574},[17131],{"type":213,"value":2203},{"type":208,"tag":216,"props":17133,"children":17134},{"style":1568},[17135],{"type":213,"value":1604},{"type":208,"tag":216,"props":17137,"children":17138},{"class":668,"line":2283},[17139,17143,17147,17151,17155,17159,17163,17167,17171,17175,17179,17183,17187,17191,17195],{"type":208,"tag":216,"props":17140,"children":17141},{"style":1568},[17142],{"type":213,"value":2216},{"type":208,"tag":216,"props":17144,"children":17145},{"style":1574},[17146],{"type":213,"value":2221},{"type":208,"tag":216,"props":17148,"children":17149},{"style":1568},[17150],{"type":213,"value":2226},{"type":208,"tag":216,"props":17152,"children":17153},{"style":1580},[17154],{"type":213,"value":2231},{"type":208,"tag":216,"props":17156,"children":17157},{"style":1568},[17158],{"type":213,"value":1588},{"type":208,"tag":216,"props":17160,"children":17161},{"style":1591},[17162],{"type":213,"value":2240},{"type":208,"tag":216,"props":17164,"children":17165},{"style":1568},[17166],{"type":213,"value":2231},{"type":208,"tag":216,"props":17168,"children":17169},{"style":1591},[17170],{"type":213,"value":2240},{"type":208,"tag":216,"props":17172,"children":17173},{"style":1568},[17174],{"type":213,"value":2253},{"type":208,"tag":216,"props":17176,"children":17177},{"style":1580},[17178],{"type":213,"value":2258},{"type":208,"tag":216,"props":17180,"children":17181},{"style":1568},[17182],{"type":213,"value":1588},{"type":208,"tag":216,"props":17184,"children":17185},{"style":1591},[17186],{"type":213,"value":2240},{"type":208,"tag":216,"props":17188,"children":17189},{"style":1568},[17190],{"type":213,"value":2271},{"type":208,"tag":216,"props":17192,"children":17193},{"style":1591},[17194],{"type":213,"value":2240},{"type":208,"tag":216,"props":17196,"children":17197},{"style":1568},[17198],{"type":213,"value":2280},{"type":208,"tag":216,"props":17200,"children":17201},{"class":668,"line":2944},[17202,17206,17210],{"type":208,"tag":216,"props":17203,"children":17204},{"style":1568},[17205],{"type":213,"value":2174},{"type":208,"tag":216,"props":17207,"children":17208},{"style":1574},[17209],{"type":213,"value":2203},{"type":208,"tag":216,"props":17211,"children":17212},{"style":1568},[17213],{"type":213,"value":1604},{"type":208,"tag":1422,"props":17215,"children":17216},{},[17217],{"type":213,"value":2301},{"title":663,"searchDepth":695,"depth":695,"links":17219},[],1795419755818]