[{"data":1,"prerenderedAt":17221},["ShallowReactive",2],{"docs-navigation-zh-CN":3,"mdc-d0lvp9-key":201,"docs--docs-auto-form-field-types":222,"surround--docs-auto-form-field-types":1461,"-docs-auto-form-field-types-description":1464,"component-example-autoFormFieldStringInputExample":1472,"component-example-autoFormFieldStringTextareaExample":1475,"component-example-autoFormFieldStringPinInputExample":1478,"component-example-autoFormFieldStringInputMenuExample":1481,"component-example-autoFormFieldStringTypeExample":1484,"component-example-autoFormFieldNumberInputExample":1487,"component-example-autoFormFieldNumberSliderExample":1490,"component-example-autoFormFieldNumberInputRatingExample":1493,"component-example-autoFormFieldBooleanCheckboxExample":1496,"component-example-autoFormFieldBooleanSwitchExample":1499,"component-example-autoFormFieldBooleanToggleExample":1502,"component-example-autoFormFieldDatePickerExample":1505,"component-example-autoFormFieldDateRangeExample":1508,"component-example-autoFormFieldInputDateRangeExample":1511,"component-example-autoFormFieldInputTimeExample":1514,"component-example-autoFormFieldIsoExample":1517,"component-example-autoFormFieldEnumSelectExample":1520,"component-example-autoFormFieldInputDateExample":1523,"component-example-autoFormFieldEnumSelectMenuExample":1526,"component-example-autoFormFieldEnumRadioGroupExample":1529,"component-example-autoFormFieldToggleGroupExample":1532,"component-example-autoFormFieldFileSingleExample":1535,"component-example-autoFormFieldFileMultipleExample":1538,"component-example-autoFormFieldStringInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":1541,"component-example-autoFormFieldStringTextareaExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2301,"component-example-autoFormFieldStringPinInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2961,"component-example-autoFormFieldStringInputMenuExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":3605,"component-example-autoFormFieldStringTypeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":4377,"component-example-autoFormFieldNumberInputExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":5495,"component-example-autoFormFieldNumberSliderExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":6147,"component-example-autoFormFieldNumberInputRatingExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":6798,"component-example-autoFormFieldBooleanCheckboxExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":7484,"component-example-autoFormFieldBooleanSwitchExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":8100,"component-example-autoFormFieldBooleanToggleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":8686,"component-example-autoFormFieldDatePickerExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":9129,"component-example-autoFormFieldDateRangeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":9859,"component-example-autoFormFieldInputDateRangeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":10509,"component-example-autoFormFieldInputTimeExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":11145,"component-example-autoFormFieldIsoExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":11923,"component-example-autoFormFieldEnumSelectExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":12666,"component-example-autoFormFieldInputDateExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":13277,"component-example-autoFormFieldEnumSelectMenuExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":13879,"component-example-autoFormFieldEnumRadioGroupExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":14560,"component-example-autoFormFieldToggleGroupExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":15280,"component-example-autoFormFieldFileSingleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":15942,"component-example-autoFormFieldFileMultipleExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":16530},[4],{"title":5,"path":6,"stem":7,"children":8,"page":104},"Docs","\u002Fdocs","docs",[9,49,105,143,177],{"title":10,"path":11,"stem":12,"children":13,"category":16,"description":16,"icon":48},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[14,18,23,28,33,38,43],{"title":15,"path":11,"stem":12,"category":16,"description":17},"介绍",null,"了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":19,"path":20,"stem":21,"category":16,"description":22},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":24,"path":25,"stem":26,"category":16,"description":27},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":29,"path":30,"stem":31,"category":16,"description":32},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":34,"path":35,"stem":36,"category":16,"description":37},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":39,"path":40,"stem":41,"category":16,"description":42},"迁移到 v2","\u002Fdocs\u002Fgetting-started\u002Fmigration","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":44,"path":45,"stem":46,"category":16,"description":47},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":50,"category":16,"description":16,"icon":51,"path":52,"stem":53,"children":54,"page":104},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[55,59,64,69,74,79,84,89,94,99],{"title":10,"path":56,"stem":57,"category":16,"description":58},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":60,"path":61,"stem":62,"category":16,"description":63},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":65,"path":66,"stem":67,"category":16,"description":68},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":70,"path":71,"stem":72,"category":16,"description":73},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":75,"path":76,"stem":77,"category":16,"description":78},"控件","\u002Fdocs\u002Fauto-form\u002Fcontrols","docs\u002F2.auto-form\u002F4.controls","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"title":80,"path":81,"stem":82,"category":16,"description":83},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":85,"path":86,"stem":87,"category":16,"description":88},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":90,"path":91,"stem":92,"category":16,"description":93},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":95,"path":96,"stem":97,"category":16,"description":98},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":100,"path":101,"stem":102,"category":16,"description":103},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",false,{"title":106,"path":107,"stem":108,"children":109,"category":16,"description":16,"icon":142},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[110,112,117,122,127,132,137],{"title":15,"path":107,"stem":108,"category":16,"description":111},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":113,"path":114,"stem":115,"category":16,"description":116},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":118,"path":119,"stem":120,"category":16,"description":121},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":123,"path":124,"stem":125,"category":16,"description":126},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":128,"path":129,"stem":130,"category":16,"description":131},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":133,"path":134,"stem":135,"category":16,"description":136},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":138,"path":139,"stem":140,"category":16,"description":141},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":144,"path":145,"stem":146,"children":147,"category":16,"description":16,"icon":176},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[148,151,156,161,166,171],{"title":149,"path":145,"stem":146,"category":16,"description":150},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":152,"path":153,"stem":154,"category":16,"description":155},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":157,"path":158,"stem":159,"category":16,"description":160},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":162,"path":163,"stem":164,"category":16,"description":165},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":167,"path":168,"stem":169,"category":16,"description":170},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":172,"path":173,"stem":174,"category":16,"description":175},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。","i-lucide-cloud",{"title":178,"category":16,"description":16,"icon":179,"path":180,"stem":181,"children":182,"page":104},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[183,189,195],{"title":184,"path":185,"stem":186,"category":187,"description":188},"DatePicker","\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":190,"path":191,"stem":192,"category":193,"description":194},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":196,"path":197,"stem":198,"category":187,"description":199,"badge":200},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":202,"body":203},{},{"type":204,"children":205},"root",[206],{"type":207,"tag":208,"props":209,"children":210},"element","p",{},[211,214],{"type":212,"value":213},"text","Copyright © 2025 - 2026 YiXuan - ",{"type":207,"tag":215,"props":216,"children":219},"span",{"className":217},[218],"text-highlighted",[220],{"type":212,"value":221},"MIT License",{"id":223,"title":65,"body":224,"category":16,"description":68,"difficulty":16,"extension":1456,"index":104,"keywords":16,"links":16,"meta":1457,"navigation":16,"path":66,"requires":16,"seo":1458,"sitemap":1459,"stem":67,"__hash__":1460},"docs\u002Fdocs\u002F2.auto-form\u002F2.field-types.md",{"type":225,"value":226,"toc":1420},"minimark",[227,232,242,249,255,262,267,273,277,284,287,293,297,304,307,313,317,323,326,329,332,336,340,347,353,357,360,363,369,373,380,383,389,393,404,407,411,418,424,428,431,434,440,444,451,454,460,471,474,478,483,499,502,506,509,512,515,522,525,528,532,542,546,549,552,555,558,561,564,577,581,584,588,591,619,622,626,633,905,1282,1287,1291,1294,1297,1303,1307,1314,1317,1323,1327,1334,1337,1343,1356,1378,1381,1385,1391,1394,1397,1400,1403,1413,1416],[228,229,231],"h2",{"id":230},"string-字符串","String 字符串",[233,234,236,237,241],"note",{"to":235},"https:\u002F\u002Fzod.dev\u002Fapi#strings","使用 ",[238,239,240],"code",{},"afz.string()"," 创建字符串字段：",[243,244,246],"h3",{"id":245},"input",[238,247,248],{},"Input",[250,251,254],"callout",{"color":252,"to":253},"neutral","https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput","Input 组件文档",[208,256,257,258,261],{},"基础输入框，通过 ",[238,259,260],{},"controlProps"," 配置图标、颜色等属性：",[263,264],"component-example",{":collapse":265,"name":266},"true","AutoFormFieldStringInputExample",[243,268,270],{"id":269},"textarea",[238,271,272],{},"Textarea",[250,274,276],{"color":252,"to":275},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Ftextarea","Textarea 组件文档",[208,278,279,280,283],{},"多行文本输入，设置 ",[238,281,282],{},"type: 'textarea'","，支持自动调整高度：",[263,285],{":collapse":265,"name":286},"AutoFormFieldStringTextareaExample",[243,288,290],{"id":289},"pininput",[238,291,292],{},"PinInput",[250,294,296],{"color":252,"to":295},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fpin-input","PinInput 组件文档",[208,298,299,300,303],{},"验证码或 PIN 码输入，设置 ",[238,301,302],{},"type: 'pinInput'",":",[263,305],{":collapse":265,"name":306},"AutoFormFieldStringPinInputExample",[243,308,310],{"id":309},"inputmenu",[238,311,312],{},"InputMenu",[250,314,316],{"color":252,"to":315},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-menu","InputMenu 组件文档",[208,318,319,320,303],{},"支持输入和下拉选择，设置 ",[238,321,322],{},"type: 'inputMenu'",[263,324],{":collapse":265,"name":325},"AutoFormFieldStringInputMenuExample",[243,327,328],{"id":328},"动态类型",[208,330,331],{},"通过交互式示例切换输入框与文本域，并调整尺寸、颜色、行数、最大长度等配置。",[263,333],{":collapse":265,"name":334,":options":335},"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}]",[228,337,339],{"id":338},"number-数字","Number 数字",[233,341,236,343,346],{"to":342},"https:\u002F\u002Fzod.dev\u002Fapi#numbers",[238,344,345],{},"afz.number()"," 创建数字字段：",[243,348,350],{"id":349},"inputnumber",[238,351,352],{},"InputNumber",[250,354,356],{"color":252,"to":355},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-number","InputNumber 组件文档",[208,358,359],{},"基础数字输入框，支持整数、小数、范围限制等配置：",[263,361],{":collapse":265,"name":362},"AutoFormFieldNumberInputExample",[243,364,366],{"id":365},"slider",[238,367,368],{},"Slider",[250,370,372],{"color":252,"to":371},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fslider","Slider 组件文档",[208,374,375,376,379],{},"数值滑块，设置 ",[238,377,378],{},"type: 'slider'","，适合有明确范围的数值选择：",[263,381],{":collapse":265,"name":382},"AutoFormFieldNumberSliderExample",[243,384,386],{"id":385},"inputrating",[238,387,388],{},"InputRating",[250,390,392],{"color":252,"to":391},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-rating","InputRating 组件文档",[208,394,395,396,399,400,403],{},"评分输入，通过 ",[238,397,398],{},"component"," 直接传入 ",[238,401,402],{},"UInputRating"," 组件实例，支持半星粒度与自定义星数：",[263,405],{":collapse":265,"name":406},"AutoFormFieldNumberInputRatingExample",[228,408,410],{"id":409},"boolean-布尔","Boolean 布尔",[233,412,236,414,417],{"to":413},"https:\u002F\u002Fzod.dev\u002Fapi#booleans",[238,415,416],{},"afz.boolean()"," 创建布尔值字段：",[243,419,421],{"id":420},"checkbox",[238,422,423],{},"Checkbox",[250,425,427],{"color":252,"to":426},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcheckbox","Checkbox 组件文档",[208,429,430],{},"默认的复选框控件，适合单个选项的勾选：",[263,432],{":collapse":265,"name":433},"AutoFormFieldBooleanCheckboxExample",[243,435,437],{"id":436},"switch",[238,438,439],{},"Switch",[250,441,443],{"color":252,"to":442},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fswitch","Switch 组件文档",[208,445,446,447,450],{},"开关控件，设置 ",[238,448,449],{},"type: 'switch'","，适合功能的启用\u002F禁用：",[263,452],{":collapse":265,"name":453},"AutoFormFieldBooleanSwitchExample",[243,455,457],{"id":456},"toggle",[238,458,459],{},"Toggle",[208,461,462,463,466,467,470],{},"用 ",[238,464,465],{},"afz.boolean({ type: 'toggle' })"," 渲染可按下的布尔值按钮，适合置顶等操作。通过 ",[238,468,469],{},"controlProps.label"," 设置按钮文字。",[263,472],{":collapse":265,"name":473},"AutoFormFieldBooleanToggleExample",[228,475,477],{"id":476},"date-日期时间","Date 日期时间",[479,480,482],"tip",{"to":481},"\u002Fdocs\u002Fcomponents\u002Fdate-picker#usedateformatter","useDateFormatter 文档：基于 @internationalized\u002Fdate 的日期格式化和处理工具。",[208,484,236,485,488,489,498],{},[238,486,487],{},"afz.calendarDate()"," 创建日期字段，基于 ",[490,491,495],"a",{"href":492,"rel":493},"https:\u002F\u002Freact-spectrum.adobe.com\u002Finternationalized\u002Fdate\u002Findex.html",[494],"nofollow",[238,496,497],{},"@internationalized\u002Fdate"," 提供强大的日期处理能力：",[243,500,501],{"id":501},"日期选择器",[250,503,505],{"color":252,"to":504},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fcalendar","Calendar 组件文档",[208,507,508],{},"单日期选择，支持日期格式化和验证：",[263,510],{":collapse":265,"name":511},"AutoFormFieldDatePickerExample",[243,513,514],{"id":514},"日期范围",[208,516,517,518,521],{},"日期范围选择，设置 ",[238,519,520],{},"controlProps.range: true","：",[263,523],{":collapse":265,"name":524},"AutoFormFieldDateRangeExample",[243,526,527],{"id":527},"日期输入框",[250,529,531],{"color":252,"to":530},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-date","InputDate 组件文档",[208,533,236,534,537,538,541],{},[238,535,536],{},"afz.inputDate()"," 创建日期输入框，基于 ",[238,539,540],{},"UInputDate"," 组件提供原生的日期输入体验。",[543,544,545],"h4",{"id":545},"单日期输入",[208,547,548],{},"简洁的日期输入框，适合表单填写场景：",[263,550],{":collapse":265,"name":551},"AutoFormFieldInputDateExample",[543,553,554],{"id":554},"日期范围输入",[208,556,557],{},"支持范围选择的日期输入框：",[263,559],{":collapse":265,"name":560},"AutoFormFieldInputDateRangeExample",[243,562,563],{"id":563},"时间输入框",[208,565,236,566,569,570,573,574,576],{},[238,567,568],{},"afz.inputTime()"," 创建时间输入框，返回 ",[238,571,572],{},"Time"," 类型（来自 ",[238,575,497],{},"）：",[250,578,580],{"color":252,"to":579},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Finput-time","InputTime 组件文档",[263,582],{":collapse":265,"name":583},"AutoFormFieldInputTimeExample",[243,585,587],{"id":586},"iso-格式字符串","ISO 格式字符串",[208,589,590],{},"对于需要 ISO 标准格式字符串的场景，提供三种工厂方法：",[592,593,594,605,613],"ul",{},[595,596,597,600,601,604],"li",{},[238,598,599],{},"afz.isoDate()"," - 验证 ",[238,602,603],{},"YYYY-MM-DD"," 格式",[595,606,607,600,610,604],{},[238,608,609],{},"afz.isoTime()",[238,611,612],{},"HH:MM[:SS[.s+]]",[595,614,615,618],{},[238,616,617],{},"afz.isoDatetime()"," - 验证 ISO 8601 完整格式",[263,620],{":collapse":265,"name":621},"AutoFormFieldIsoExample",[228,623,625],{"id":624},"enum-枚举","Enum 枚举",[233,627,236,629,632],{"to":628},"https:\u002F\u002Fzod.dev\u002Fapi#enums",[238,630,631],{},"afz.enum()"," 创建枚举字段：",[479,634,635,638],{},[208,636,637],{},"用于覆盖默认控件和配置元数据，支持三种配置方式：",[639,640,641,716,838],"tabs",{},[642,643,645,652],"tabs-item",{"label":644},"基础配置",[208,646,647,648,651],{},"不指定控件类型，使用默认的 ",[238,649,650],{},"select"," 控件：",[653,654,659],"pre",{"className":655,"code":656,"language":657,"meta":658,"style":658},"language-ts shiki shiki-themes github-light github-light github-dark","afz.enum(['a', 'b'], {\n  label: '选择选项',\n  hint: '请选择一个'\n})\n","ts","",[238,660,661,689,701,710],{"__ignoreMap":658},[215,662,665,669,673,676,680,683,686],{"class":663,"line":664},"line",1,[215,666,668],{"class":667},"sxrX7","afz.",[215,670,672],{"class":671},"snPdu","enum",[215,674,675],{"class":667},"([",[215,677,679],{"class":678},"sIIMD","'a'",[215,681,682],{"class":667},", ",[215,684,685],{"class":678},"'b'",[215,687,688],{"class":667},"], {\n",[215,690,692,695,698],{"class":663,"line":691},2,[215,693,694],{"class":667},"  label: ",[215,696,697],{"class":678},"'选择选项'",[215,699,700],{"class":667},",\n",[215,702,704,707],{"class":663,"line":703},3,[215,705,706],{"class":667},"  hint: ",[215,708,709],{"class":678},"'请选择一个'\n",[215,711,713],{"class":663,"line":712},4,[215,714,715],{"class":667},"})\n",[642,717,719,726],{"label":718},"使用注册控件",[208,720,721,722,725],{},"通过 ",[238,723,724],{},"type"," 覆盖默认控件，同时保持输出类型不变：",[653,727,729],{"className":655,"code":728,"language":657,"meta":658,"style":658},"afz.enum(['a', 'b', 'c'], {\n  type: 'radioGroup',  \u002F\u002F 覆盖默认的 select\n  controlProps: {\n    items: [\n      { label: '选项A', value: 'a' },\n      { label: '选项B', value: 'b' }\n    ]\n  }\n})\n\u002F\u002F 输出类型仍为：'a' | 'b' | 'c'\n\u002F\u002F 但使用 radioGroup 渲染\n",[238,730,731,752,767,772,777,794,809,815,821,826,832],{"__ignoreMap":658},[215,732,733,735,737,739,741,743,745,747,750],{"class":663,"line":664},[215,734,668],{"class":667},[215,736,672],{"class":671},[215,738,675],{"class":667},[215,740,679],{"class":678},[215,742,682],{"class":667},[215,744,685],{"class":678},[215,746,682],{"class":667},[215,748,749],{"class":678},"'c'",[215,751,688],{"class":667},[215,753,754,757,760,763],{"class":663,"line":691},[215,755,756],{"class":667},"  type: ",[215,758,759],{"class":678},"'radioGroup'",[215,761,762],{"class":667},",  ",[215,764,766],{"class":765},"sCsY4","\u002F\u002F 覆盖默认的 select\n",[215,768,769],{"class":663,"line":703},[215,770,771],{"class":667},"  controlProps: {\n",[215,773,774],{"class":663,"line":712},[215,775,776],{"class":667},"    items: [\n",[215,778,780,783,786,789,791],{"class":663,"line":779},5,[215,781,782],{"class":667},"      { label: ",[215,784,785],{"class":678},"'选项A'",[215,787,788],{"class":667},", value: ",[215,790,679],{"class":678},[215,792,793],{"class":667}," },\n",[215,795,797,799,802,804,806],{"class":663,"line":796},6,[215,798,782],{"class":667},[215,800,801],{"class":678},"'选项B'",[215,803,788],{"class":667},[215,805,685],{"class":678},[215,807,808],{"class":667}," }\n",[215,810,812],{"class":663,"line":811},7,[215,813,814],{"class":667},"    ]\n",[215,816,818],{"class":663,"line":817},8,[215,819,820],{"class":667},"  }\n",[215,822,824],{"class":663,"line":823},9,[215,825,715],{"class":667},[215,827,829],{"class":663,"line":828},10,[215,830,831],{"class":765},"\u002F\u002F 输出类型仍为：'a' | 'b' | 'c'\n",[215,833,835],{"class":663,"line":834},11,[215,836,837],{"class":765},"\u002F\u002F 但使用 radioGroup 渲染\n",[642,839,841,844],{"label":840},"自定义组件",[208,842,843],{},"直接传入自定义组件实例：",[653,845,847],{"className":655,"code":846,"language":657,"meta":658,"style":658},"import MyEnumControl from '.\u002FMyEnumControl.vue'\n\nafz.enum(['a', 'b'], {\n  component: MyEnumControl,\n  controlProps: { \u002F* ... *\u002F }\n})\n",[238,848,849,864,870,886,891,901],{"__ignoreMap":658},[215,850,851,855,858,861],{"class":663,"line":664},[215,852,854],{"class":853},"s8jYJ","import",[215,856,857],{"class":667}," MyEnumControl ",[215,859,860],{"class":853},"from",[215,862,863],{"class":678}," '.\u002FMyEnumControl.vue'\n",[215,865,866],{"class":663,"line":691},[215,867,869],{"emptyLinePlaceholder":868},true,"\n",[215,871,872,874,876,878,880,882,884],{"class":663,"line":703},[215,873,668],{"class":667},[215,875,672],{"class":671},[215,877,675],{"class":667},[215,879,679],{"class":678},[215,881,682],{"class":667},[215,883,685],{"class":678},[215,885,688],{"class":667},[215,887,888],{"class":663,"line":712},[215,889,890],{"class":667},"  component: MyEnumControl,\n",[215,892,893,896,899],{"class":663,"line":779},[215,894,895],{"class":667},"  controlProps: { ",[215,897,898],{"class":765},"\u002F* ... *\u002F",[215,900,808],{"class":667},[215,902,903],{"class":663,"line":796},[215,904,715],{"class":667},[479,906,907,918],{},[208,908,909,910,913,914,917],{},"枚举值配置：",[238,911,912],{},"controlProps.items"," 以最高优先级决定渲染内容，",[238,915,916],{},"enum()"," 的第一个参数决定输出类型，两者可以兼用。",[592,919,920,1042,1150],{},[595,921,922,923,521,926],{},"方式 1：自动提取枚举值，系统会自动将枚举值转换为 ",[238,924,925],{},"items",[653,927,929],{"className":655,"code":928,"language":657,"meta":658,"style":658},"const Fruits = ['apple', 'banana', 'orange'] as const\n\nconst schema = afz.object({\n  fruit: afz.enum(Fruits, {\n    type: 'selectMenu',\n    controlProps: {\n      placeholder: '选择水果'\n      \u002F\u002F 系统自动转换：items: ['apple', 'banana', 'orange']\n    }\n  })\n})\n",[238,930,931,968,972,990,1000,1010,1015,1023,1028,1033,1038],{"__ignoreMap":658},[215,932,933,936,940,943,946,949,951,954,956,959,962,965],{"class":663,"line":664},[215,934,935],{"class":853},"const",[215,937,939],{"class":938},"sBjJW"," Fruits",[215,941,942],{"class":853}," =",[215,944,945],{"class":667}," [",[215,947,948],{"class":678},"'apple'",[215,950,682],{"class":667},[215,952,953],{"class":678},"'banana'",[215,955,682],{"class":667},[215,957,958],{"class":678},"'orange'",[215,960,961],{"class":667},"] ",[215,963,964],{"class":853},"as",[215,966,967],{"class":853}," const\n",[215,969,970],{"class":663,"line":691},[215,971,869],{"emptyLinePlaceholder":868},[215,973,974,976,979,981,984,987],{"class":663,"line":703},[215,975,935],{"class":853},[215,977,978],{"class":938}," schema",[215,980,942],{"class":853},[215,982,983],{"class":667}," afz.",[215,985,986],{"class":671},"object",[215,988,989],{"class":667},"({\n",[215,991,992,995,997],{"class":663,"line":712},[215,993,994],{"class":667},"  fruit: afz.",[215,996,672],{"class":671},[215,998,999],{"class":667},"(Fruits, {\n",[215,1001,1002,1005,1008],{"class":663,"line":779},[215,1003,1004],{"class":667},"    type: ",[215,1006,1007],{"class":678},"'selectMenu'",[215,1009,700],{"class":667},[215,1011,1012],{"class":663,"line":796},[215,1013,1014],{"class":667},"    controlProps: {\n",[215,1016,1017,1020],{"class":663,"line":811},[215,1018,1019],{"class":667},"      placeholder: ",[215,1021,1022],{"class":678},"'选择水果'\n",[215,1024,1025],{"class":663,"line":817},[215,1026,1027],{"class":765},"      \u002F\u002F 系统自动转换：items: ['apple', 'banana', 'orange']\n",[215,1029,1030],{"class":663,"line":823},[215,1031,1032],{"class":667},"    }\n",[215,1034,1035],{"class":663,"line":828},[215,1036,1037],{"class":667},"  })\n",[215,1039,1040],{"class":663,"line":834},[215,1041,715],{"class":667},[595,1043,1044,1045,1048,1049,1051,1052],{},"方式 2：手动提供 items，使用空数组 ",[238,1046,1047],{},"[]"," 作为第一个参数，完全由 ",[238,1050,925],{}," 决定类型和渲染：",[653,1053,1055],{"className":655,"code":1054,"language":657,"meta":658,"style":658},"const schema = afz.object({\nfruit: afz.enum([], {\n  type: 'selectMenu',\n  controlProps: {\n    valueKey: 'value',\n    items: [\n      { label: '苹果', value: 'apple' },\n      { label: '香蕉', value: 'banana' }\n    ]\n  }\n})\n})\n",[238,1056,1057,1071,1081,1089,1093,1103,1107,1120,1133,1137,1141,1145],{"__ignoreMap":658},[215,1058,1059,1061,1063,1065,1067,1069],{"class":663,"line":664},[215,1060,935],{"class":853},[215,1062,978],{"class":938},[215,1064,942],{"class":853},[215,1066,983],{"class":667},[215,1068,986],{"class":671},[215,1070,989],{"class":667},[215,1072,1073,1076,1078],{"class":663,"line":691},[215,1074,1075],{"class":667},"fruit: afz.",[215,1077,672],{"class":671},[215,1079,1080],{"class":667},"([], {\n",[215,1082,1083,1085,1087],{"class":663,"line":703},[215,1084,756],{"class":667},[215,1086,1007],{"class":678},[215,1088,700],{"class":667},[215,1090,1091],{"class":663,"line":712},[215,1092,771],{"class":667},[215,1094,1095,1098,1101],{"class":663,"line":779},[215,1096,1097],{"class":667},"    valueKey: ",[215,1099,1100],{"class":678},"'value'",[215,1102,700],{"class":667},[215,1104,1105],{"class":663,"line":796},[215,1106,776],{"class":667},[215,1108,1109,1111,1114,1116,1118],{"class":663,"line":811},[215,1110,782],{"class":667},[215,1112,1113],{"class":678},"'苹果'",[215,1115,788],{"class":667},[215,1117,948],{"class":678},[215,1119,793],{"class":667},[215,1121,1122,1124,1127,1129,1131],{"class":663,"line":817},[215,1123,782],{"class":667},[215,1125,1126],{"class":678},"'香蕉'",[215,1128,788],{"class":667},[215,1130,953],{"class":678},[215,1132,808],{"class":667},[215,1134,1135],{"class":663,"line":823},[215,1136,814],{"class":667},[215,1138,1139],{"class":663,"line":828},[215,1140,820],{"class":667},[215,1142,1143],{"class":663,"line":834},[215,1144,715],{"class":667},[215,1146,1148],{"class":663,"line":1147},12,[215,1149,715],{"class":667},[595,1151,1152,1153,1155,1156],{},"方式 3：类型 + 自定义显示（推荐），同时使用枚举参数和 ",[238,1154,925],{},"，既保证类型安全，又自定义显示：",[653,1157,1159],{"className":655,"code":1158,"language":657,"meta":658,"style":658},"const schema = afz.object({\ngender: afz.enum(['male', 'female', 'other'], {\n  type: 'radioGroup',\n  controlProps: {\n    items: [\n      { label: '男', value: 'male' },\n      { label: '女', value: 'female' },\n      { label: '其他', value: 'other' }\n    ]\n  }\n})\n})\n\u002F\u002F 输出类型：'male' | 'female' | 'other'\n\u002F\u002F 显示内容：男 \u002F 女 \u002F 其他\n",[238,1160,1161,1175,1199,1207,1211,1215,1228,1241,1254,1258,1262,1266,1270,1276],{"__ignoreMap":658},[215,1162,1163,1165,1167,1169,1171,1173],{"class":663,"line":664},[215,1164,935],{"class":853},[215,1166,978],{"class":938},[215,1168,942],{"class":853},[215,1170,983],{"class":667},[215,1172,986],{"class":671},[215,1174,989],{"class":667},[215,1176,1177,1180,1182,1184,1187,1189,1192,1194,1197],{"class":663,"line":691},[215,1178,1179],{"class":667},"gender: afz.",[215,1181,672],{"class":671},[215,1183,675],{"class":667},[215,1185,1186],{"class":678},"'male'",[215,1188,682],{"class":667},[215,1190,1191],{"class":678},"'female'",[215,1193,682],{"class":667},[215,1195,1196],{"class":678},"'other'",[215,1198,688],{"class":667},[215,1200,1201,1203,1205],{"class":663,"line":703},[215,1202,756],{"class":667},[215,1204,759],{"class":678},[215,1206,700],{"class":667},[215,1208,1209],{"class":663,"line":712},[215,1210,771],{"class":667},[215,1212,1213],{"class":663,"line":779},[215,1214,776],{"class":667},[215,1216,1217,1219,1222,1224,1226],{"class":663,"line":796},[215,1218,782],{"class":667},[215,1220,1221],{"class":678},"'男'",[215,1223,788],{"class":667},[215,1225,1186],{"class":678},[215,1227,793],{"class":667},[215,1229,1230,1232,1235,1237,1239],{"class":663,"line":811},[215,1231,782],{"class":667},[215,1233,1234],{"class":678},"'女'",[215,1236,788],{"class":667},[215,1238,1191],{"class":678},[215,1240,793],{"class":667},[215,1242,1243,1245,1248,1250,1252],{"class":663,"line":817},[215,1244,782],{"class":667},[215,1246,1247],{"class":678},"'其他'",[215,1249,788],{"class":667},[215,1251,1196],{"class":678},[215,1253,808],{"class":667},[215,1255,1256],{"class":663,"line":823},[215,1257,814],{"class":667},[215,1259,1260],{"class":663,"line":828},[215,1261,820],{"class":667},[215,1263,1264],{"class":663,"line":834},[215,1265,715],{"class":667},[215,1267,1268],{"class":663,"line":1147},[215,1269,715],{"class":667},[215,1271,1273],{"class":663,"line":1272},13,[215,1274,1275],{"class":765},"\u002F\u002F 输出类型：'male' | 'female' | 'other'\n",[215,1277,1279],{"class":663,"line":1278},14,[215,1280,1281],{"class":765},"\u002F\u002F 显示内容：男 \u002F 女 \u002F 其他\n",[243,1283,1284],{"id":650},[238,1285,1286],{},"Select",[250,1288,1290],{"color":252,"to":1289},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fselect","Select 组件文档",[208,1292,1293],{},"原生选择框，适合简单的枚举值：",[263,1295],{":collapse":265,"name":1296},"AutoFormFieldEnumSelectExample",[243,1298,1300],{"id":1299},"selectmenu",[238,1301,1302],{},"SelectMenu",[250,1304,1306],{"color":252,"to":1305},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fselect-menu","SelectMenu 组件文档",[208,1308,1309,1310,1313],{},"下拉菜单，设置 ",[238,1311,1312],{},"type: 'selectMenu'","，支持搜索、图标、分组：",[263,1315],{":collapse":265,"name":1316},"AutoFormFieldEnumSelectMenuExample",[243,1318,1320],{"id":1319},"radiogroup",[238,1321,1322],{},"RadioGroup",[250,1324,1326],{"color":252,"to":1325},"https:\u002F\u002Fui.nuxt.com\u002Fdocs\u002Fcomponents\u002Fradio-group","RadioGroup 组件文档",[208,1328,1329,1330,1333],{},"单选按钮组，设置 ",[238,1331,1332],{},"type: 'radioGroup'","，适合 2-4 个选项：",[263,1335],{":collapse":265,"name":1336},"AutoFormFieldEnumRadioGroupExample",[243,1338,1340],{"id":1339},"togglegroup",[238,1341,1342],{},"ToggleGroup",[208,1344,462,1345,1348,1349,1351,1352,1355],{},[238,1346,1347],{},"afz.enum(values, { type: 'toggleGroup' })"," 渲染单选按钮组。AutoForm 根据枚举值生成选项，也可以通过 ",[238,1350,912],{}," 提供自定义标签。再次点击已选项会清空选值。允许清空时，给 schema 加上 ",[238,1353,1354],{},".optional()","。",[208,1357,1358,1359,1362,1363,1366,1367,1369,1370,1373,1374,1377],{},"多选使用 ",[238,1360,1361],{},"afz.array()","，设置 ",[238,1364,1365],{},"type: 'toggleGroup'","，并在 ",[238,1368,260],{}," 中传入 ",[238,1371,1372],{},"type: 'multiple'"," 和选项对象数组。表单值是所选选项的 ",[238,1375,1376],{},"value"," 数组。",[263,1379],{":collapse":265,"name":1380},"AutoFormFieldToggleGroupExample",[228,1382,1384],{"id":1383},"file-文件","File 文件",[233,1386,236,1387,1390],{},[238,1388,1389],{},"afz.file()"," 创建文件上传字段：",[243,1392,1393],{"id":1393},"单文件上传",[208,1395,1396],{},"基础的单文件上传：",[263,1398],{":collapse":265,"name":1399},"AutoFormFieldFileSingleExample",[243,1401,1402],{"id":1402},"多文件上传",[208,1404,1405,1406,1409,1410,521],{},"多文件上传，使用 ",[238,1407,1408],{},"array"," 配合 ",[238,1411,1412],{},"type: 'file'",[263,1414],{":collapse":265,"name":1415},"AutoFormFieldFileMultipleExample",[1417,1418,1419],"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":658,"searchDepth":691,"depth":691,"links":1421},[1422,1429,1434,1439,1446,1452],{"id":230,"depth":691,"text":231,"children":1423},[1424,1425,1426,1427,1428],{"id":245,"depth":703,"text":248},{"id":269,"depth":703,"text":272},{"id":289,"depth":703,"text":292},{"id":309,"depth":703,"text":312},{"id":328,"depth":703,"text":328},{"id":338,"depth":691,"text":339,"children":1430},[1431,1432,1433],{"id":349,"depth":703,"text":352},{"id":365,"depth":703,"text":368},{"id":385,"depth":703,"text":388},{"id":409,"depth":691,"text":410,"children":1435},[1436,1437,1438],{"id":420,"depth":703,"text":423},{"id":436,"depth":703,"text":439},{"id":456,"depth":703,"text":459},{"id":476,"depth":691,"text":477,"children":1440},[1441,1442,1443,1444,1445],{"id":501,"depth":703,"text":501},{"id":514,"depth":703,"text":514},{"id":527,"depth":703,"text":527},{"id":563,"depth":703,"text":563},{"id":586,"depth":703,"text":587},{"id":624,"depth":691,"text":625,"children":1447},[1448,1449,1450,1451],{"id":650,"depth":703,"text":1286},{"id":1299,"depth":703,"text":1302},{"id":1319,"depth":703,"text":1322},{"id":1339,"depth":703,"text":1342},{"id":1383,"depth":691,"text":1384,"children":1453},[1454,1455],{"id":1393,"depth":703,"text":1393},{"id":1402,"depth":703,"text":1402},"md",{},{"title":65,"description":68},{"loc":66},"brsWuhdCbf1050EuWoR6s0eZxdccvx0ICKXJIEnywuc",[1462,1463],{"title":60,"path":61,"stem":62,"description":63,"children":-1},{"title":70,"path":71,"stem":72,"description":73,"children":-1},{"data":1465,"body":1466},{},{"type":204,"children":1467},[1468],{"type":207,"tag":208,"props":1469,"children":1470},{},[1471],{"type":212,"value":68},{"code":1473,"filePath":1474,"pascalName":266},"\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":1476,"filePath":1477,"pascalName":286},"\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":1479,"filePath":1480,"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":1482,"filePath":1483,"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":1485,"filePath":1486,"pascalName":334},"\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":1488,"filePath":1489,"pascalName":362},"\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":1491,"filePath":1492,"pascalName":382},"\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":1494,"filePath":1495,"pascalName":406},"\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":1497,"filePath":1498,"pascalName":433},"\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":1500,"filePath":1501,"pascalName":453},"\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":1503,"filePath":1504,"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":1506,"filePath":1507,"pascalName":511},"\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":1509,"filePath":1510,"pascalName":524},"\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":1512,"filePath":1513,"pascalName":560},"\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":583},"\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":621},"\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":1296},"\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":551},"\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":1527,"filePath":1528,"pascalName":1316},"\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":1530,"filePath":1531,"pascalName":1336},"\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":1533,"filePath":1534,"pascalName":1380},"\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":1536,"filePath":1537,"pascalName":1399},"\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":1539,"filePath":1540,"pascalName":1415},"\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":1542,"body":1543,"toc":2299},{"title":658,"description":658},{"type":204,"children":1544},[1545,2294],{"type":207,"tag":1546,"props":1547,"children":1548},"code-collapse",{},[1549],{"type":207,"tag":653,"props":1550,"children":1554},{"className":1551,"code":1552,"language":1553,"meta":658,"style":658},"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",[1555],{"type":207,"tag":238,"props":1556,"children":1557},{"__ignoreMap":658},[1558,1600,1627,1652,1659,1696,1721,1728,1755,1772,1779,1798,1805,1812,1849,1884,1901,1919,1936,1950,1959,1967,1975,2046,2064,2082,2100,2146,2154,2163,2180,2188,2205,2278],{"type":207,"tag":215,"props":1559,"children":1560},{"class":663,"line":664},[1561,1567,1573,1579,1584,1590,1595],{"type":207,"tag":215,"props":1562,"children":1564},{"style":1563},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[1565],{"type":212,"value":1566},"\u003C",{"type":207,"tag":215,"props":1568,"children":1570},{"style":1569},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[1571],{"type":212,"value":1572},"script",{"type":207,"tag":215,"props":1574,"children":1576},{"style":1575},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[1577],{"type":212,"value":1578}," lang",{"type":207,"tag":215,"props":1580,"children":1581},{"style":1563},[1582],{"type":212,"value":1583},"=",{"type":207,"tag":215,"props":1585,"children":1587},{"style":1586},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[1588],{"type":212,"value":1589},"\"ts\"",{"type":207,"tag":215,"props":1591,"children":1592},{"style":1575},[1593],{"type":212,"value":1594}," setup",{"type":207,"tag":215,"props":1596,"children":1597},{"style":1563},[1598],{"type":212,"value":1599},">\n",{"type":207,"tag":215,"props":1601,"children":1602},{"class":663,"line":691},[1603,1608,1613,1618,1622],{"type":207,"tag":215,"props":1604,"children":1606},{"style":1605},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[1607],{"type":212,"value":854},{"type":207,"tag":215,"props":1609,"children":1610},{"style":1605},[1611],{"type":212,"value":1612}," type",{"type":207,"tag":215,"props":1614,"children":1615},{"style":1563},[1616],{"type":212,"value":1617}," { FormSubmitEvent } ",{"type":207,"tag":215,"props":1619,"children":1620},{"style":1605},[1621],{"type":212,"value":860},{"type":207,"tag":215,"props":1623,"children":1624},{"style":1586},[1625],{"type":212,"value":1626}," '@nuxt\u002Fui'\n",{"type":207,"tag":215,"props":1628,"children":1629},{"class":663,"line":703},[1630,1634,1638,1643,1647],{"type":207,"tag":215,"props":1631,"children":1632},{"style":1605},[1633],{"type":212,"value":854},{"type":207,"tag":215,"props":1635,"children":1636},{"style":1605},[1637],{"type":212,"value":1612},{"type":207,"tag":215,"props":1639,"children":1640},{"style":1563},[1641],{"type":212,"value":1642}," { z } ",{"type":207,"tag":215,"props":1644,"children":1645},{"style":1605},[1646],{"type":212,"value":860},{"type":207,"tag":215,"props":1648,"children":1649},{"style":1586},[1650],{"type":212,"value":1651}," 'zod'\n",{"type":207,"tag":215,"props":1653,"children":1654},{"class":663,"line":712},[1655],{"type":207,"tag":215,"props":1656,"children":1657},{"emptyLinePlaceholder":868},[1658],{"type":212,"value":869},{"type":207,"tag":215,"props":1660,"children":1661},{"class":663,"line":779},[1662,1666,1671,1677,1682,1686,1691],{"type":207,"tag":215,"props":1663,"children":1664},{"style":1605},[1665],{"type":212,"value":935},{"type":207,"tag":215,"props":1667,"children":1668},{"style":1563},[1669],{"type":212,"value":1670}," { ",{"type":207,"tag":215,"props":1672,"children":1674},{"style":1673},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[1675],{"type":212,"value":1676},"afz",{"type":207,"tag":215,"props":1678,"children":1679},{"style":1563},[1680],{"type":212,"value":1681}," } ",{"type":207,"tag":215,"props":1683,"children":1684},{"style":1605},[1685],{"type":212,"value":1583},{"type":207,"tag":215,"props":1687,"children":1688},{"style":1575},[1689],{"type":212,"value":1690}," useAutoForm",{"type":207,"tag":215,"props":1692,"children":1693},{"style":1563},[1694],{"type":212,"value":1695},"()\n",{"type":207,"tag":215,"props":1697,"children":1698},{"class":663,"line":796},[1699,1703,1708,1712,1717],{"type":207,"tag":215,"props":1700,"children":1701},{"style":1605},[1702],{"type":212,"value":935},{"type":207,"tag":215,"props":1704,"children":1705},{"style":1673},[1706],{"type":212,"value":1707}," toast",{"type":207,"tag":215,"props":1709,"children":1710},{"style":1605},[1711],{"type":212,"value":942},{"type":207,"tag":215,"props":1713,"children":1714},{"style":1575},[1715],{"type":212,"value":1716}," useToast",{"type":207,"tag":215,"props":1718,"children":1719},{"style":1563},[1720],{"type":212,"value":1695},{"type":207,"tag":215,"props":1722,"children":1723},{"class":663,"line":811},[1724],{"type":207,"tag":215,"props":1725,"children":1726},{"emptyLinePlaceholder":868},[1727],{"type":212,"value":869},{"type":207,"tag":215,"props":1729,"children":1730},{"class":663,"line":817},[1731,1735,1739,1743,1747,1751],{"type":207,"tag":215,"props":1732,"children":1733},{"style":1605},[1734],{"type":212,"value":935},{"type":207,"tag":215,"props":1736,"children":1737},{"style":1673},[1738],{"type":212,"value":978},{"type":207,"tag":215,"props":1740,"children":1741},{"style":1605},[1742],{"type":212,"value":942},{"type":207,"tag":215,"props":1744,"children":1745},{"style":1563},[1746],{"type":212,"value":983},{"type":207,"tag":215,"props":1748,"children":1749},{"style":1575},[1750],{"type":212,"value":986},{"type":207,"tag":215,"props":1752,"children":1753},{"style":1563},[1754],{"type":212,"value":989},{"type":207,"tag":215,"props":1756,"children":1757},{"class":663,"line":823},[1758,1763,1768],{"type":207,"tag":215,"props":1759,"children":1760},{"style":1563},[1761],{"type":212,"value":1762},"  text: afz.",{"type":207,"tag":215,"props":1764,"children":1765},{"style":1575},[1766],{"type":212,"value":1767},"string",{"type":207,"tag":215,"props":1769,"children":1770},{"style":1563},[1771],{"type":212,"value":989},{"type":207,"tag":215,"props":1773,"children":1774},{"class":663,"line":828},[1775],{"type":207,"tag":215,"props":1776,"children":1777},{"style":1563},[1778],{"type":212,"value":1014},{"type":207,"tag":215,"props":1780,"children":1781},{"class":663,"line":834},[1782,1787],{"type":207,"tag":215,"props":1783,"children":1784},{"style":1563},[1785],{"type":212,"value":1786},"      icon: ",{"type":207,"tag":215,"props":1788,"children":1789},{"style":1586},[1790,1796],{"type":207,"tag":1791,"props":1792,"children":1795},"i",{"class":1793,"style":1794},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftext.svg?color=%23000)",[],{"type":212,"value":1797},"'i-lucide-text'\n",{"type":207,"tag":215,"props":1799,"children":1800},{"class":663,"line":1147},[1801],{"type":207,"tag":215,"props":1802,"children":1803},{"style":1563},[1804],{"type":212,"value":1032},{"type":207,"tag":215,"props":1806,"children":1807},{"class":663,"line":1272},[1808],{"type":207,"tag":215,"props":1809,"children":1810},{"style":1563},[1811],{"type":212,"value":1037},{"type":207,"tag":215,"props":1813,"children":1814},{"class":663,"line":1278},[1815,1820,1825,1830,1835,1839,1844],{"type":207,"tag":215,"props":1816,"children":1817},{"style":1563},[1818],{"type":212,"value":1819},"    .",{"type":207,"tag":215,"props":1821,"children":1822},{"style":1575},[1823],{"type":212,"value":1824},"min",{"type":207,"tag":215,"props":1826,"children":1827},{"style":1563},[1828],{"type":212,"value":1829},"(",{"type":207,"tag":215,"props":1831,"children":1832},{"style":1673},[1833],{"type":212,"value":1834},"3",{"type":207,"tag":215,"props":1836,"children":1837},{"style":1563},[1838],{"type":212,"value":682},{"type":207,"tag":215,"props":1840,"children":1841},{"style":1586},[1842],{"type":212,"value":1843},"'至少 3 个字符'",{"type":207,"tag":215,"props":1845,"children":1846},{"style":1563},[1847],{"type":212,"value":1848},")\n",{"type":207,"tag":215,"props":1850,"children":1852},{"class":663,"line":1851},15,[1853,1857,1862,1866,1871,1875,1880],{"type":207,"tag":215,"props":1854,"children":1855},{"style":1563},[1856],{"type":212,"value":1819},{"type":207,"tag":215,"props":1858,"children":1859},{"style":1575},[1860],{"type":212,"value":1861},"max",{"type":207,"tag":215,"props":1863,"children":1864},{"style":1563},[1865],{"type":212,"value":1829},{"type":207,"tag":215,"props":1867,"children":1868},{"style":1673},[1869],{"type":212,"value":1870},"20",{"type":207,"tag":215,"props":1872,"children":1873},{"style":1563},[1874],{"type":212,"value":682},{"type":207,"tag":215,"props":1876,"children":1877},{"style":1586},[1878],{"type":212,"value":1879},"'最多 20 个字符'",{"type":207,"tag":215,"props":1881,"children":1882},{"style":1563},[1883],{"type":212,"value":1848},{"type":207,"tag":215,"props":1885,"children":1887},{"class":663,"line":1886},16,[1888,1892,1897],{"type":207,"tag":215,"props":1889,"children":1890},{"style":1563},[1891],{"type":212,"value":1819},{"type":207,"tag":215,"props":1893,"children":1894},{"style":1575},[1895],{"type":212,"value":1896},"meta",{"type":207,"tag":215,"props":1898,"children":1899},{"style":1563},[1900],{"type":212,"value":989},{"type":207,"tag":215,"props":1902,"children":1904},{"class":663,"line":1903},17,[1905,1910,1915],{"type":207,"tag":215,"props":1906,"children":1907},{"style":1563},[1908],{"type":212,"value":1909},"      label: ",{"type":207,"tag":215,"props":1911,"children":1912},{"style":1586},[1913],{"type":212,"value":1914},"'基础输入框'",{"type":207,"tag":215,"props":1916,"children":1917},{"style":1563},[1918],{"type":212,"value":700},{"type":207,"tag":215,"props":1920,"children":1922},{"class":663,"line":1921},18,[1923,1927,1932],{"type":207,"tag":215,"props":1924,"children":1925},{"style":1563},[1926],{"type":212,"value":1019},{"type":207,"tag":215,"props":1928,"children":1929},{"style":1586},[1930],{"type":212,"value":1931},"'请输入文本'",{"type":207,"tag":215,"props":1933,"children":1934},{"style":1563},[1935],{"type":212,"value":700},{"type":207,"tag":215,"props":1937,"children":1939},{"class":663,"line":1938},19,[1940,1945],{"type":207,"tag":215,"props":1941,"children":1942},{"style":1563},[1943],{"type":212,"value":1944},"      hint: ",{"type":207,"tag":215,"props":1946,"children":1947},{"style":1586},[1948],{"type":212,"value":1949},"'支持图标、颜色等配置'\n",{"type":207,"tag":215,"props":1951,"children":1953},{"class":663,"line":1952},20,[1954],{"type":207,"tag":215,"props":1955,"children":1956},{"style":1563},[1957],{"type":212,"value":1958},"    })\n",{"type":207,"tag":215,"props":1960,"children":1962},{"class":663,"line":1961},21,[1963],{"type":207,"tag":215,"props":1964,"children":1965},{"style":1563},[1966],{"type":212,"value":715},{"type":207,"tag":215,"props":1968,"children":1970},{"class":663,"line":1969},22,[1971],{"type":207,"tag":215,"props":1972,"children":1973},{"emptyLinePlaceholder":868},[1974],{"type":212,"value":869},{"type":207,"tag":215,"props":1976,"children":1978},{"class":663,"line":1977},23,[1979,1984,1989,1994,1998,2004,2008,2013,2017,2022,2027,2032,2036,2041],{"type":207,"tag":215,"props":1980,"children":1981},{"style":1605},[1982],{"type":212,"value":1983},"async",{"type":207,"tag":215,"props":1985,"children":1986},{"style":1605},[1987],{"type":212,"value":1988}," function",{"type":207,"tag":215,"props":1990,"children":1991},{"style":1575},[1992],{"type":212,"value":1993}," onSubmit",{"type":207,"tag":215,"props":1995,"children":1996},{"style":1563},[1997],{"type":212,"value":1829},{"type":207,"tag":215,"props":1999,"children":2001},{"style":2000},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[2002],{"type":212,"value":2003},"event",{"type":207,"tag":215,"props":2005,"children":2006},{"style":1605},[2007],{"type":212,"value":303},{"type":207,"tag":215,"props":2009,"children":2010},{"style":1575},[2011],{"type":212,"value":2012}," FormSubmitEvent",{"type":207,"tag":215,"props":2014,"children":2015},{"style":1563},[2016],{"type":212,"value":1566},{"type":207,"tag":215,"props":2018,"children":2019},{"style":1575},[2020],{"type":212,"value":2021},"z",{"type":207,"tag":215,"props":2023,"children":2024},{"style":1563},[2025],{"type":212,"value":2026},".",{"type":207,"tag":215,"props":2028,"children":2029},{"style":1575},[2030],{"type":212,"value":2031},"output",{"type":207,"tag":215,"props":2033,"children":2034},{"style":1563},[2035],{"type":212,"value":1566},{"type":207,"tag":215,"props":2037,"children":2038},{"style":1605},[2039],{"type":212,"value":2040},"typeof",{"type":207,"tag":215,"props":2042,"children":2043},{"style":1563},[2044],{"type":212,"value":2045}," schema>>) {\n",{"type":207,"tag":215,"props":2047,"children":2049},{"class":663,"line":2048},24,[2050,2055,2060],{"type":207,"tag":215,"props":2051,"children":2052},{"style":1563},[2053],{"type":212,"value":2054},"  toast.",{"type":207,"tag":215,"props":2056,"children":2057},{"style":1575},[2058],{"type":212,"value":2059},"add",{"type":207,"tag":215,"props":2061,"children":2062},{"style":1563},[2063],{"type":212,"value":989},{"type":207,"tag":215,"props":2065,"children":2067},{"class":663,"line":2066},25,[2068,2073,2078],{"type":207,"tag":215,"props":2069,"children":2070},{"style":1563},[2071],{"type":212,"value":2072},"    title: ",{"type":207,"tag":215,"props":2074,"children":2075},{"style":1586},[2076],{"type":212,"value":2077},"'Success'",{"type":207,"tag":215,"props":2079,"children":2080},{"style":1563},[2081],{"type":212,"value":700},{"type":207,"tag":215,"props":2083,"children":2085},{"class":663,"line":2084},26,[2086,2091,2096],{"type":207,"tag":215,"props":2087,"children":2088},{"style":1563},[2089],{"type":212,"value":2090},"    color: ",{"type":207,"tag":215,"props":2092,"children":2093},{"style":1586},[2094],{"type":212,"value":2095},"'success'",{"type":207,"tag":215,"props":2097,"children":2098},{"style":1563},[2099],{"type":212,"value":700},{"type":207,"tag":215,"props":2101,"children":2103},{"class":663,"line":2102},27,[2104,2109,2114,2118,2123,2128,2133,2137,2142],{"type":207,"tag":215,"props":2105,"children":2106},{"style":1563},[2107],{"type":212,"value":2108},"    description: ",{"type":207,"tag":215,"props":2110,"children":2111},{"style":1673},[2112],{"type":212,"value":2113},"JSON",{"type":207,"tag":215,"props":2115,"children":2116},{"style":1563},[2117],{"type":212,"value":2026},{"type":207,"tag":215,"props":2119,"children":2120},{"style":1575},[2121],{"type":212,"value":2122},"stringify",{"type":207,"tag":215,"props":2124,"children":2125},{"style":1563},[2126],{"type":212,"value":2127},"(event.data, ",{"type":207,"tag":215,"props":2129,"children":2130},{"style":1673},[2131],{"type":212,"value":2132},"null",{"type":207,"tag":215,"props":2134,"children":2135},{"style":1563},[2136],{"type":212,"value":682},{"type":207,"tag":215,"props":2138,"children":2139},{"style":1673},[2140],{"type":212,"value":2141},"2",{"type":207,"tag":215,"props":2143,"children":2144},{"style":1563},[2145],{"type":212,"value":1848},{"type":207,"tag":215,"props":2147,"children":2149},{"class":663,"line":2148},28,[2150],{"type":207,"tag":215,"props":2151,"children":2152},{"style":1563},[2153],{"type":212,"value":1037},{"type":207,"tag":215,"props":2155,"children":2157},{"class":663,"line":2156},29,[2158],{"type":207,"tag":215,"props":2159,"children":2160},{"style":1563},[2161],{"type":212,"value":2162},"}\n",{"type":207,"tag":215,"props":2164,"children":2166},{"class":663,"line":2165},30,[2167,2172,2176],{"type":207,"tag":215,"props":2168,"children":2169},{"style":1563},[2170],{"type":212,"value":2171},"\u003C\u002F",{"type":207,"tag":215,"props":2173,"children":2174},{"style":1569},[2175],{"type":212,"value":1572},{"type":207,"tag":215,"props":2177,"children":2178},{"style":1563},[2179],{"type":212,"value":1599},{"type":207,"tag":215,"props":2181,"children":2183},{"class":663,"line":2182},31,[2184],{"type":207,"tag":215,"props":2185,"children":2186},{"emptyLinePlaceholder":868},[2187],{"type":212,"value":869},{"type":207,"tag":215,"props":2189,"children":2191},{"class":663,"line":2190},32,[2192,2196,2201],{"type":207,"tag":215,"props":2193,"children":2194},{"style":1563},[2195],{"type":212,"value":1566},{"type":207,"tag":215,"props":2197,"children":2198},{"style":1569},[2199],{"type":212,"value":2200},"template",{"type":207,"tag":215,"props":2202,"children":2203},{"style":1563},[2204],{"type":212,"value":1599},{"type":207,"tag":215,"props":2206,"children":2208},{"class":663,"line":2207},33,[2209,2214,2219,2224,2229,2233,2238,2242,2246,2251,2256,2260,2264,2269,2273],{"type":207,"tag":215,"props":2210,"children":2211},{"style":1563},[2212],{"type":212,"value":2213},"  \u003C",{"type":207,"tag":215,"props":2215,"children":2216},{"style":1569},[2217],{"type":212,"value":2218},"MAutoForm",{"type":207,"tag":215,"props":2220,"children":2221},{"style":1563},[2222],{"type":212,"value":2223}," :",{"type":207,"tag":215,"props":2225,"children":2226},{"style":1575},[2227],{"type":212,"value":2228},"schema",{"type":207,"tag":215,"props":2230,"children":2231},{"style":1563},[2232],{"type":212,"value":1583},{"type":207,"tag":215,"props":2234,"children":2235},{"style":1586},[2236],{"type":212,"value":2237},"\"",{"type":207,"tag":215,"props":2239,"children":2240},{"style":1563},[2241],{"type":212,"value":2228},{"type":207,"tag":215,"props":2243,"children":2244},{"style":1586},[2245],{"type":212,"value":2237},{"type":207,"tag":215,"props":2247,"children":2248},{"style":1563},[2249],{"type":212,"value":2250}," @",{"type":207,"tag":215,"props":2252,"children":2253},{"style":1575},[2254],{"type":212,"value":2255},"submit",{"type":207,"tag":215,"props":2257,"children":2258},{"style":1563},[2259],{"type":212,"value":1583},{"type":207,"tag":215,"props":2261,"children":2262},{"style":1586},[2263],{"type":212,"value":2237},{"type":207,"tag":215,"props":2265,"children":2266},{"style":1563},[2267],{"type":212,"value":2268},"onSubmit",{"type":207,"tag":215,"props":2270,"children":2271},{"style":1586},[2272],{"type":212,"value":2237},{"type":207,"tag":215,"props":2274,"children":2275},{"style":1563},[2276],{"type":212,"value":2277}," \u002F>\n",{"type":207,"tag":215,"props":2279,"children":2281},{"class":663,"line":2280},34,[2282,2286,2290],{"type":207,"tag":215,"props":2283,"children":2284},{"style":1563},[2285],{"type":212,"value":2171},{"type":207,"tag":215,"props":2287,"children":2288},{"style":1569},[2289],{"type":212,"value":2200},{"type":207,"tag":215,"props":2291,"children":2292},{"style":1563},[2293],{"type":212,"value":1599},{"type":207,"tag":1417,"props":2295,"children":2296},{},[2297],{"type":212,"value":2298},"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":658,"searchDepth":691,"depth":691,"links":2300},[],{"data":2302,"body":2303,"toc":2959},{"title":658,"description":658},{"type":204,"children":2304},[2305,2955],{"type":207,"tag":1546,"props":2306,"children":2307},{},[2308],{"type":207,"tag":653,"props":2309,"children":2311},{"className":1551,"code":2310,"language":1553,"meta":658,"style":658},"\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",[2312],{"type":207,"tag":238,"props":2313,"children":2314},{"__ignoreMap":658},[2315,2346,2369,2392,2399,2430,2453,2460,2487,2503,2519,2526,2542,2555,2562,2569,2602,2617,2633,2649,2661,2668,2675,2682,2741,2756,2771,2786,2825,2832,2839,2854,2861,2876,2939],{"type":207,"tag":215,"props":2316,"children":2317},{"class":663,"line":664},[2318,2322,2326,2330,2334,2338,2342],{"type":207,"tag":215,"props":2319,"children":2320},{"style":1563},[2321],{"type":212,"value":1566},{"type":207,"tag":215,"props":2323,"children":2324},{"style":1569},[2325],{"type":212,"value":1572},{"type":207,"tag":215,"props":2327,"children":2328},{"style":1575},[2329],{"type":212,"value":1578},{"type":207,"tag":215,"props":2331,"children":2332},{"style":1563},[2333],{"type":212,"value":1583},{"type":207,"tag":215,"props":2335,"children":2336},{"style":1586},[2337],{"type":212,"value":1589},{"type":207,"tag":215,"props":2339,"children":2340},{"style":1575},[2341],{"type":212,"value":1594},{"type":207,"tag":215,"props":2343,"children":2344},{"style":1563},[2345],{"type":212,"value":1599},{"type":207,"tag":215,"props":2347,"children":2348},{"class":663,"line":691},[2349,2353,2357,2361,2365],{"type":207,"tag":215,"props":2350,"children":2351},{"style":1605},[2352],{"type":212,"value":854},{"type":207,"tag":215,"props":2354,"children":2355},{"style":1605},[2356],{"type":212,"value":1612},{"type":207,"tag":215,"props":2358,"children":2359},{"style":1563},[2360],{"type":212,"value":1617},{"type":207,"tag":215,"props":2362,"children":2363},{"style":1605},[2364],{"type":212,"value":860},{"type":207,"tag":215,"props":2366,"children":2367},{"style":1586},[2368],{"type":212,"value":1626},{"type":207,"tag":215,"props":2370,"children":2371},{"class":663,"line":703},[2372,2376,2380,2384,2388],{"type":207,"tag":215,"props":2373,"children":2374},{"style":1605},[2375],{"type":212,"value":854},{"type":207,"tag":215,"props":2377,"children":2378},{"style":1605},[2379],{"type":212,"value":1612},{"type":207,"tag":215,"props":2381,"children":2382},{"style":1563},[2383],{"type":212,"value":1642},{"type":207,"tag":215,"props":2385,"children":2386},{"style":1605},[2387],{"type":212,"value":860},{"type":207,"tag":215,"props":2389,"children":2390},{"style":1586},[2391],{"type":212,"value":1651},{"type":207,"tag":215,"props":2393,"children":2394},{"class":663,"line":712},[2395],{"type":207,"tag":215,"props":2396,"children":2397},{"emptyLinePlaceholder":868},[2398],{"type":212,"value":869},{"type":207,"tag":215,"props":2400,"children":2401},{"class":663,"line":779},[2402,2406,2410,2414,2418,2422,2426],{"type":207,"tag":215,"props":2403,"children":2404},{"style":1605},[2405],{"type":212,"value":935},{"type":207,"tag":215,"props":2407,"children":2408},{"style":1563},[2409],{"type":212,"value":1670},{"type":207,"tag":215,"props":2411,"children":2412},{"style":1673},[2413],{"type":212,"value":1676},{"type":207,"tag":215,"props":2415,"children":2416},{"style":1563},[2417],{"type":212,"value":1681},{"type":207,"tag":215,"props":2419,"children":2420},{"style":1605},[2421],{"type":212,"value":1583},{"type":207,"tag":215,"props":2423,"children":2424},{"style":1575},[2425],{"type":212,"value":1690},{"type":207,"tag":215,"props":2427,"children":2428},{"style":1563},[2429],{"type":212,"value":1695},{"type":207,"tag":215,"props":2431,"children":2432},{"class":663,"line":796},[2433,2437,2441,2445,2449],{"type":207,"tag":215,"props":2434,"children":2435},{"style":1605},[2436],{"type":212,"value":935},{"type":207,"tag":215,"props":2438,"children":2439},{"style":1673},[2440],{"type":212,"value":1707},{"type":207,"tag":215,"props":2442,"children":2443},{"style":1605},[2444],{"type":212,"value":942},{"type":207,"tag":215,"props":2446,"children":2447},{"style":1575},[2448],{"type":212,"value":1716},{"type":207,"tag":215,"props":2450,"children":2451},{"style":1563},[2452],{"type":212,"value":1695},{"type":207,"tag":215,"props":2454,"children":2455},{"class":663,"line":811},[2456],{"type":207,"tag":215,"props":2457,"children":2458},{"emptyLinePlaceholder":868},[2459],{"type":212,"value":869},{"type":207,"tag":215,"props":2461,"children":2462},{"class":663,"line":817},[2463,2467,2471,2475,2479,2483],{"type":207,"tag":215,"props":2464,"children":2465},{"style":1605},[2466],{"type":212,"value":935},{"type":207,"tag":215,"props":2468,"children":2469},{"style":1673},[2470],{"type":212,"value":978},{"type":207,"tag":215,"props":2472,"children":2473},{"style":1605},[2474],{"type":212,"value":942},{"type":207,"tag":215,"props":2476,"children":2477},{"style":1563},[2478],{"type":212,"value":983},{"type":207,"tag":215,"props":2480,"children":2481},{"style":1575},[2482],{"type":212,"value":986},{"type":207,"tag":215,"props":2484,"children":2485},{"style":1563},[2486],{"type":212,"value":989},{"type":207,"tag":215,"props":2488,"children":2489},{"class":663,"line":823},[2490,2495,2499],{"type":207,"tag":215,"props":2491,"children":2492},{"style":1563},[2493],{"type":212,"value":2494},"  description: afz.",{"type":207,"tag":215,"props":2496,"children":2497},{"style":1575},[2498],{"type":212,"value":1767},{"type":207,"tag":215,"props":2500,"children":2501},{"style":1563},[2502],{"type":212,"value":989},{"type":207,"tag":215,"props":2504,"children":2505},{"class":663,"line":828},[2506,2510,2515],{"type":207,"tag":215,"props":2507,"children":2508},{"style":1563},[2509],{"type":212,"value":1004},{"type":207,"tag":215,"props":2511,"children":2512},{"style":1586},[2513],{"type":212,"value":2514},"'textarea'",{"type":207,"tag":215,"props":2516,"children":2517},{"style":1563},[2518],{"type":212,"value":700},{"type":207,"tag":215,"props":2520,"children":2521},{"class":663,"line":834},[2522],{"type":207,"tag":215,"props":2523,"children":2524},{"style":1563},[2525],{"type":212,"value":1014},{"type":207,"tag":215,"props":2527,"children":2528},{"class":663,"line":1147},[2529,2534,2538],{"type":207,"tag":215,"props":2530,"children":2531},{"style":1563},[2532],{"type":212,"value":2533},"      maxrows: ",{"type":207,"tag":215,"props":2535,"children":2536},{"style":1673},[2537],{"type":212,"value":2141},{"type":207,"tag":215,"props":2539,"children":2540},{"style":1563},[2541],{"type":212,"value":700},{"type":207,"tag":215,"props":2543,"children":2544},{"class":663,"line":1272},[2545,2550],{"type":207,"tag":215,"props":2546,"children":2547},{"style":1563},[2548],{"type":212,"value":2549},"      autoresize: ",{"type":207,"tag":215,"props":2551,"children":2552},{"style":1673},[2553],{"type":212,"value":2554},"true\n",{"type":207,"tag":215,"props":2556,"children":2557},{"class":663,"line":1278},[2558],{"type":207,"tag":215,"props":2559,"children":2560},{"style":1563},[2561],{"type":212,"value":1032},{"type":207,"tag":215,"props":2563,"children":2564},{"class":663,"line":1851},[2565],{"type":207,"tag":215,"props":2566,"children":2567},{"style":1563},[2568],{"type":212,"value":1037},{"type":207,"tag":215,"props":2570,"children":2571},{"class":663,"line":1886},[2572,2576,2580,2584,2589,2593,2598],{"type":207,"tag":215,"props":2573,"children":2574},{"style":1563},[2575],{"type":212,"value":1819},{"type":207,"tag":215,"props":2577,"children":2578},{"style":1575},[2579],{"type":212,"value":1824},{"type":207,"tag":215,"props":2581,"children":2582},{"style":1563},[2583],{"type":212,"value":1829},{"type":207,"tag":215,"props":2585,"children":2586},{"style":1673},[2587],{"type":212,"value":2588},"10",{"type":207,"tag":215,"props":2590,"children":2591},{"style":1563},[2592],{"type":212,"value":682},{"type":207,"tag":215,"props":2594,"children":2595},{"style":1586},[2596],{"type":212,"value":2597},"'至少 10 个字符'",{"type":207,"tag":215,"props":2599,"children":2600},{"style":1563},[2601],{"type":212,"value":1848},{"type":207,"tag":215,"props":2603,"children":2604},{"class":663,"line":1903},[2605,2609,2613],{"type":207,"tag":215,"props":2606,"children":2607},{"style":1563},[2608],{"type":212,"value":1819},{"type":207,"tag":215,"props":2610,"children":2611},{"style":1575},[2612],{"type":212,"value":1896},{"type":207,"tag":215,"props":2614,"children":2615},{"style":1563},[2616],{"type":212,"value":989},{"type":207,"tag":215,"props":2618,"children":2619},{"class":663,"line":1921},[2620,2624,2629],{"type":207,"tag":215,"props":2621,"children":2622},{"style":1563},[2623],{"type":212,"value":1909},{"type":207,"tag":215,"props":2625,"children":2626},{"style":1586},[2627],{"type":212,"value":2628},"'文本域'",{"type":207,"tag":215,"props":2630,"children":2631},{"style":1563},[2632],{"type":212,"value":700},{"type":207,"tag":215,"props":2634,"children":2635},{"class":663,"line":1938},[2636,2640,2645],{"type":207,"tag":215,"props":2637,"children":2638},{"style":1563},[2639],{"type":212,"value":1019},{"type":207,"tag":215,"props":2641,"children":2642},{"style":1586},[2643],{"type":212,"value":2644},"'请输入多行文本...'",{"type":207,"tag":215,"props":2646,"children":2647},{"style":1563},[2648],{"type":212,"value":700},{"type":207,"tag":215,"props":2650,"children":2651},{"class":663,"line":1952},[2652,2656],{"type":207,"tag":215,"props":2653,"children":2654},{"style":1563},[2655],{"type":212,"value":1944},{"type":207,"tag":215,"props":2657,"children":2658},{"style":1586},[2659],{"type":212,"value":2660},"'这是一个长文本,将自动调整高度,最多 2 行。'\n",{"type":207,"tag":215,"props":2662,"children":2663},{"class":663,"line":1961},[2664],{"type":207,"tag":215,"props":2665,"children":2666},{"style":1563},[2667],{"type":212,"value":1958},{"type":207,"tag":215,"props":2669,"children":2670},{"class":663,"line":1969},[2671],{"type":207,"tag":215,"props":2672,"children":2673},{"style":1563},[2674],{"type":212,"value":715},{"type":207,"tag":215,"props":2676,"children":2677},{"class":663,"line":1977},[2678],{"type":207,"tag":215,"props":2679,"children":2680},{"emptyLinePlaceholder":868},[2681],{"type":212,"value":869},{"type":207,"tag":215,"props":2683,"children":2684},{"class":663,"line":2048},[2685,2689,2693,2697,2701,2705,2709,2713,2717,2721,2725,2729,2733,2737],{"type":207,"tag":215,"props":2686,"children":2687},{"style":1605},[2688],{"type":212,"value":1983},{"type":207,"tag":215,"props":2690,"children":2691},{"style":1605},[2692],{"type":212,"value":1988},{"type":207,"tag":215,"props":2694,"children":2695},{"style":1575},[2696],{"type":212,"value":1993},{"type":207,"tag":215,"props":2698,"children":2699},{"style":1563},[2700],{"type":212,"value":1829},{"type":207,"tag":215,"props":2702,"children":2703},{"style":2000},[2704],{"type":212,"value":2003},{"type":207,"tag":215,"props":2706,"children":2707},{"style":1605},[2708],{"type":212,"value":303},{"type":207,"tag":215,"props":2710,"children":2711},{"style":1575},[2712],{"type":212,"value":2012},{"type":207,"tag":215,"props":2714,"children":2715},{"style":1563},[2716],{"type":212,"value":1566},{"type":207,"tag":215,"props":2718,"children":2719},{"style":1575},[2720],{"type":212,"value":2021},{"type":207,"tag":215,"props":2722,"children":2723},{"style":1563},[2724],{"type":212,"value":2026},{"type":207,"tag":215,"props":2726,"children":2727},{"style":1575},[2728],{"type":212,"value":2031},{"type":207,"tag":215,"props":2730,"children":2731},{"style":1563},[2732],{"type":212,"value":1566},{"type":207,"tag":215,"props":2734,"children":2735},{"style":1605},[2736],{"type":212,"value":2040},{"type":207,"tag":215,"props":2738,"children":2739},{"style":1563},[2740],{"type":212,"value":2045},{"type":207,"tag":215,"props":2742,"children":2743},{"class":663,"line":2066},[2744,2748,2752],{"type":207,"tag":215,"props":2745,"children":2746},{"style":1563},[2747],{"type":212,"value":2054},{"type":207,"tag":215,"props":2749,"children":2750},{"style":1575},[2751],{"type":212,"value":2059},{"type":207,"tag":215,"props":2753,"children":2754},{"style":1563},[2755],{"type":212,"value":989},{"type":207,"tag":215,"props":2757,"children":2758},{"class":663,"line":2084},[2759,2763,2767],{"type":207,"tag":215,"props":2760,"children":2761},{"style":1563},[2762],{"type":212,"value":2072},{"type":207,"tag":215,"props":2764,"children":2765},{"style":1586},[2766],{"type":212,"value":2077},{"type":207,"tag":215,"props":2768,"children":2769},{"style":1563},[2770],{"type":212,"value":700},{"type":207,"tag":215,"props":2772,"children":2773},{"class":663,"line":2102},[2774,2778,2782],{"type":207,"tag":215,"props":2775,"children":2776},{"style":1563},[2777],{"type":212,"value":2090},{"type":207,"tag":215,"props":2779,"children":2780},{"style":1586},[2781],{"type":212,"value":2095},{"type":207,"tag":215,"props":2783,"children":2784},{"style":1563},[2785],{"type":212,"value":700},{"type":207,"tag":215,"props":2787,"children":2788},{"class":663,"line":2148},[2789,2793,2797,2801,2805,2809,2813,2817,2821],{"type":207,"tag":215,"props":2790,"children":2791},{"style":1563},[2792],{"type":212,"value":2108},{"type":207,"tag":215,"props":2794,"children":2795},{"style":1673},[2796],{"type":212,"value":2113},{"type":207,"tag":215,"props":2798,"children":2799},{"style":1563},[2800],{"type":212,"value":2026},{"type":207,"tag":215,"props":2802,"children":2803},{"style":1575},[2804],{"type":212,"value":2122},{"type":207,"tag":215,"props":2806,"children":2807},{"style":1563},[2808],{"type":212,"value":2127},{"type":207,"tag":215,"props":2810,"children":2811},{"style":1673},[2812],{"type":212,"value":2132},{"type":207,"tag":215,"props":2814,"children":2815},{"style":1563},[2816],{"type":212,"value":682},{"type":207,"tag":215,"props":2818,"children":2819},{"style":1673},[2820],{"type":212,"value":2141},{"type":207,"tag":215,"props":2822,"children":2823},{"style":1563},[2824],{"type":212,"value":1848},{"type":207,"tag":215,"props":2826,"children":2827},{"class":663,"line":2156},[2828],{"type":207,"tag":215,"props":2829,"children":2830},{"style":1563},[2831],{"type":212,"value":1037},{"type":207,"tag":215,"props":2833,"children":2834},{"class":663,"line":2165},[2835],{"type":207,"tag":215,"props":2836,"children":2837},{"style":1563},[2838],{"type":212,"value":2162},{"type":207,"tag":215,"props":2840,"children":2841},{"class":663,"line":2182},[2842,2846,2850],{"type":207,"tag":215,"props":2843,"children":2844},{"style":1563},[2845],{"type":212,"value":2171},{"type":207,"tag":215,"props":2847,"children":2848},{"style":1569},[2849],{"type":212,"value":1572},{"type":207,"tag":215,"props":2851,"children":2852},{"style":1563},[2853],{"type":212,"value":1599},{"type":207,"tag":215,"props":2855,"children":2856},{"class":663,"line":2190},[2857],{"type":207,"tag":215,"props":2858,"children":2859},{"emptyLinePlaceholder":868},[2860],{"type":212,"value":869},{"type":207,"tag":215,"props":2862,"children":2863},{"class":663,"line":2207},[2864,2868,2872],{"type":207,"tag":215,"props":2865,"children":2866},{"style":1563},[2867],{"type":212,"value":1566},{"type":207,"tag":215,"props":2869,"children":2870},{"style":1569},[2871],{"type":212,"value":2200},{"type":207,"tag":215,"props":2873,"children":2874},{"style":1563},[2875],{"type":212,"value":1599},{"type":207,"tag":215,"props":2877,"children":2878},{"class":663,"line":2280},[2879,2883,2887,2891,2895,2899,2903,2907,2911,2915,2919,2923,2927,2931,2935],{"type":207,"tag":215,"props":2880,"children":2881},{"style":1563},[2882],{"type":212,"value":2213},{"type":207,"tag":215,"props":2884,"children":2885},{"style":1569},[2886],{"type":212,"value":2218},{"type":207,"tag":215,"props":2888,"children":2889},{"style":1563},[2890],{"type":212,"value":2223},{"type":207,"tag":215,"props":2892,"children":2893},{"style":1575},[2894],{"type":212,"value":2228},{"type":207,"tag":215,"props":2896,"children":2897},{"style":1563},[2898],{"type":212,"value":1583},{"type":207,"tag":215,"props":2900,"children":2901},{"style":1586},[2902],{"type":212,"value":2237},{"type":207,"tag":215,"props":2904,"children":2905},{"style":1563},[2906],{"type":212,"value":2228},{"type":207,"tag":215,"props":2908,"children":2909},{"style":1586},[2910],{"type":212,"value":2237},{"type":207,"tag":215,"props":2912,"children":2913},{"style":1563},[2914],{"type":212,"value":2250},{"type":207,"tag":215,"props":2916,"children":2917},{"style":1575},[2918],{"type":212,"value":2255},{"type":207,"tag":215,"props":2920,"children":2921},{"style":1563},[2922],{"type":212,"value":1583},{"type":207,"tag":215,"props":2924,"children":2925},{"style":1586},[2926],{"type":212,"value":2237},{"type":207,"tag":215,"props":2928,"children":2929},{"style":1563},[2930],{"type":212,"value":2268},{"type":207,"tag":215,"props":2932,"children":2933},{"style":1586},[2934],{"type":212,"value":2237},{"type":207,"tag":215,"props":2936,"children":2937},{"style":1563},[2938],{"type":212,"value":2277},{"type":207,"tag":215,"props":2940,"children":2942},{"class":663,"line":2941},35,[2943,2947,2951],{"type":207,"tag":215,"props":2944,"children":2945},{"style":1563},[2946],{"type":212,"value":2171},{"type":207,"tag":215,"props":2948,"children":2949},{"style":1569},[2950],{"type":212,"value":2200},{"type":207,"tag":215,"props":2952,"children":2953},{"style":1563},[2954],{"type":212,"value":1599},{"type":207,"tag":1417,"props":2956,"children":2957},{},[2958],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":2960},[],{"data":2962,"body":2963,"toc":3603},{"title":658,"description":658},{"type":204,"children":2964},[2965,3599],{"type":207,"tag":1546,"props":2966,"children":2967},{},[2968],{"type":207,"tag":653,"props":2969,"children":2971},{"className":1551,"code":2970,"language":1553,"meta":658,"style":658},"\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",[2972],{"type":207,"tag":238,"props":2973,"children":2974},{"__ignoreMap":658},[2975,3006,3029,3052,3059,3090,3113,3120,3147,3163,3179,3186,3203,3216,3223,3230,3263,3278,3294,3306,3313,3320,3327,3386,3401,3416,3431,3470,3477,3484,3499,3506,3521,3584],{"type":207,"tag":215,"props":2976,"children":2977},{"class":663,"line":664},[2978,2982,2986,2990,2994,2998,3002],{"type":207,"tag":215,"props":2979,"children":2980},{"style":1563},[2981],{"type":212,"value":1566},{"type":207,"tag":215,"props":2983,"children":2984},{"style":1569},[2985],{"type":212,"value":1572},{"type":207,"tag":215,"props":2987,"children":2988},{"style":1575},[2989],{"type":212,"value":1578},{"type":207,"tag":215,"props":2991,"children":2992},{"style":1563},[2993],{"type":212,"value":1583},{"type":207,"tag":215,"props":2995,"children":2996},{"style":1586},[2997],{"type":212,"value":1589},{"type":207,"tag":215,"props":2999,"children":3000},{"style":1575},[3001],{"type":212,"value":1594},{"type":207,"tag":215,"props":3003,"children":3004},{"style":1563},[3005],{"type":212,"value":1599},{"type":207,"tag":215,"props":3007,"children":3008},{"class":663,"line":691},[3009,3013,3017,3021,3025],{"type":207,"tag":215,"props":3010,"children":3011},{"style":1605},[3012],{"type":212,"value":854},{"type":207,"tag":215,"props":3014,"children":3015},{"style":1605},[3016],{"type":212,"value":1612},{"type":207,"tag":215,"props":3018,"children":3019},{"style":1563},[3020],{"type":212,"value":1617},{"type":207,"tag":215,"props":3022,"children":3023},{"style":1605},[3024],{"type":212,"value":860},{"type":207,"tag":215,"props":3026,"children":3027},{"style":1586},[3028],{"type":212,"value":1626},{"type":207,"tag":215,"props":3030,"children":3031},{"class":663,"line":703},[3032,3036,3040,3044,3048],{"type":207,"tag":215,"props":3033,"children":3034},{"style":1605},[3035],{"type":212,"value":854},{"type":207,"tag":215,"props":3037,"children":3038},{"style":1605},[3039],{"type":212,"value":1612},{"type":207,"tag":215,"props":3041,"children":3042},{"style":1563},[3043],{"type":212,"value":1642},{"type":207,"tag":215,"props":3045,"children":3046},{"style":1605},[3047],{"type":212,"value":860},{"type":207,"tag":215,"props":3049,"children":3050},{"style":1586},[3051],{"type":212,"value":1651},{"type":207,"tag":215,"props":3053,"children":3054},{"class":663,"line":712},[3055],{"type":207,"tag":215,"props":3056,"children":3057},{"emptyLinePlaceholder":868},[3058],{"type":212,"value":869},{"type":207,"tag":215,"props":3060,"children":3061},{"class":663,"line":779},[3062,3066,3070,3074,3078,3082,3086],{"type":207,"tag":215,"props":3063,"children":3064},{"style":1605},[3065],{"type":212,"value":935},{"type":207,"tag":215,"props":3067,"children":3068},{"style":1563},[3069],{"type":212,"value":1670},{"type":207,"tag":215,"props":3071,"children":3072},{"style":1673},[3073],{"type":212,"value":1676},{"type":207,"tag":215,"props":3075,"children":3076},{"style":1563},[3077],{"type":212,"value":1681},{"type":207,"tag":215,"props":3079,"children":3080},{"style":1605},[3081],{"type":212,"value":1583},{"type":207,"tag":215,"props":3083,"children":3084},{"style":1575},[3085],{"type":212,"value":1690},{"type":207,"tag":215,"props":3087,"children":3088},{"style":1563},[3089],{"type":212,"value":1695},{"type":207,"tag":215,"props":3091,"children":3092},{"class":663,"line":796},[3093,3097,3101,3105,3109],{"type":207,"tag":215,"props":3094,"children":3095},{"style":1605},[3096],{"type":212,"value":935},{"type":207,"tag":215,"props":3098,"children":3099},{"style":1673},[3100],{"type":212,"value":1707},{"type":207,"tag":215,"props":3102,"children":3103},{"style":1605},[3104],{"type":212,"value":942},{"type":207,"tag":215,"props":3106,"children":3107},{"style":1575},[3108],{"type":212,"value":1716},{"type":207,"tag":215,"props":3110,"children":3111},{"style":1563},[3112],{"type":212,"value":1695},{"type":207,"tag":215,"props":3114,"children":3115},{"class":663,"line":811},[3116],{"type":207,"tag":215,"props":3117,"children":3118},{"emptyLinePlaceholder":868},[3119],{"type":212,"value":869},{"type":207,"tag":215,"props":3121,"children":3122},{"class":663,"line":817},[3123,3127,3131,3135,3139,3143],{"type":207,"tag":215,"props":3124,"children":3125},{"style":1605},[3126],{"type":212,"value":935},{"type":207,"tag":215,"props":3128,"children":3129},{"style":1673},[3130],{"type":212,"value":978},{"type":207,"tag":215,"props":3132,"children":3133},{"style":1605},[3134],{"type":212,"value":942},{"type":207,"tag":215,"props":3136,"children":3137},{"style":1563},[3138],{"type":212,"value":983},{"type":207,"tag":215,"props":3140,"children":3141},{"style":1575},[3142],{"type":212,"value":986},{"type":207,"tag":215,"props":3144,"children":3145},{"style":1563},[3146],{"type":212,"value":989},{"type":207,"tag":215,"props":3148,"children":3149},{"class":663,"line":823},[3150,3155,3159],{"type":207,"tag":215,"props":3151,"children":3152},{"style":1563},[3153],{"type":212,"value":3154},"  code: afz.",{"type":207,"tag":215,"props":3156,"children":3157},{"style":1575},[3158],{"type":212,"value":1767},{"type":207,"tag":215,"props":3160,"children":3161},{"style":1563},[3162],{"type":212,"value":989},{"type":207,"tag":215,"props":3164,"children":3165},{"class":663,"line":828},[3166,3170,3175],{"type":207,"tag":215,"props":3167,"children":3168},{"style":1563},[3169],{"type":212,"value":1004},{"type":207,"tag":215,"props":3171,"children":3172},{"style":1586},[3173],{"type":212,"value":3174},"'pinInput'",{"type":207,"tag":215,"props":3176,"children":3177},{"style":1563},[3178],{"type":212,"value":700},{"type":207,"tag":215,"props":3180,"children":3181},{"class":663,"line":834},[3182],{"type":207,"tag":215,"props":3183,"children":3184},{"style":1563},[3185],{"type":212,"value":1014},{"type":207,"tag":215,"props":3187,"children":3188},{"class":663,"line":1147},[3189,3194,3199],{"type":207,"tag":215,"props":3190,"children":3191},{"style":1563},[3192],{"type":212,"value":3193},"      length: ",{"type":207,"tag":215,"props":3195,"children":3196},{"style":1673},[3197],{"type":212,"value":3198},"6",{"type":207,"tag":215,"props":3200,"children":3201},{"style":1563},[3202],{"type":212,"value":700},{"type":207,"tag":215,"props":3204,"children":3205},{"class":663,"line":1272},[3206,3211],{"type":207,"tag":215,"props":3207,"children":3208},{"style":1563},[3209],{"type":212,"value":3210},"      mask: ",{"type":207,"tag":215,"props":3212,"children":3213},{"style":1673},[3214],{"type":212,"value":3215},"false\n",{"type":207,"tag":215,"props":3217,"children":3218},{"class":663,"line":1278},[3219],{"type":207,"tag":215,"props":3220,"children":3221},{"style":1563},[3222],{"type":212,"value":1032},{"type":207,"tag":215,"props":3224,"children":3225},{"class":663,"line":1851},[3226],{"type":207,"tag":215,"props":3227,"children":3228},{"style":1563},[3229],{"type":212,"value":1037},{"type":207,"tag":215,"props":3231,"children":3232},{"class":663,"line":1886},[3233,3237,3242,3246,3250,3254,3259],{"type":207,"tag":215,"props":3234,"children":3235},{"style":1563},[3236],{"type":212,"value":1819},{"type":207,"tag":215,"props":3238,"children":3239},{"style":1575},[3240],{"type":212,"value":3241},"length",{"type":207,"tag":215,"props":3243,"children":3244},{"style":1563},[3245],{"type":212,"value":1829},{"type":207,"tag":215,"props":3247,"children":3248},{"style":1673},[3249],{"type":212,"value":3198},{"type":207,"tag":215,"props":3251,"children":3252},{"style":1563},[3253],{"type":212,"value":682},{"type":207,"tag":215,"props":3255,"children":3256},{"style":1586},[3257],{"type":212,"value":3258},"'请输入 6 位验证码'",{"type":207,"tag":215,"props":3260,"children":3261},{"style":1563},[3262],{"type":212,"value":1848},{"type":207,"tag":215,"props":3264,"children":3265},{"class":663,"line":1903},[3266,3270,3274],{"type":207,"tag":215,"props":3267,"children":3268},{"style":1563},[3269],{"type":212,"value":1819},{"type":207,"tag":215,"props":3271,"children":3272},{"style":1575},[3273],{"type":212,"value":1896},{"type":207,"tag":215,"props":3275,"children":3276},{"style":1563},[3277],{"type":212,"value":989},{"type":207,"tag":215,"props":3279,"children":3280},{"class":663,"line":1921},[3281,3285,3290],{"type":207,"tag":215,"props":3282,"children":3283},{"style":1563},[3284],{"type":212,"value":1909},{"type":207,"tag":215,"props":3286,"children":3287},{"style":1586},[3288],{"type":212,"value":3289},"'验证码输入'",{"type":207,"tag":215,"props":3291,"children":3292},{"style":1563},[3293],{"type":212,"value":700},{"type":207,"tag":215,"props":3295,"children":3296},{"class":663,"line":1938},[3297,3301],{"type":207,"tag":215,"props":3298,"children":3299},{"style":1563},[3300],{"type":212,"value":1944},{"type":207,"tag":215,"props":3302,"children":3303},{"style":1586},[3304],{"type":212,"value":3305},"'输入 6 位验证码'\n",{"type":207,"tag":215,"props":3307,"children":3308},{"class":663,"line":1952},[3309],{"type":207,"tag":215,"props":3310,"children":3311},{"style":1563},[3312],{"type":212,"value":1958},{"type":207,"tag":215,"props":3314,"children":3315},{"class":663,"line":1961},[3316],{"type":207,"tag":215,"props":3317,"children":3318},{"style":1563},[3319],{"type":212,"value":715},{"type":207,"tag":215,"props":3321,"children":3322},{"class":663,"line":1969},[3323],{"type":207,"tag":215,"props":3324,"children":3325},{"emptyLinePlaceholder":868},[3326],{"type":212,"value":869},{"type":207,"tag":215,"props":3328,"children":3329},{"class":663,"line":1977},[3330,3334,3338,3342,3346,3350,3354,3358,3362,3366,3370,3374,3378,3382],{"type":207,"tag":215,"props":3331,"children":3332},{"style":1605},[3333],{"type":212,"value":1983},{"type":207,"tag":215,"props":3335,"children":3336},{"style":1605},[3337],{"type":212,"value":1988},{"type":207,"tag":215,"props":3339,"children":3340},{"style":1575},[3341],{"type":212,"value":1993},{"type":207,"tag":215,"props":3343,"children":3344},{"style":1563},[3345],{"type":212,"value":1829},{"type":207,"tag":215,"props":3347,"children":3348},{"style":2000},[3349],{"type":212,"value":2003},{"type":207,"tag":215,"props":3351,"children":3352},{"style":1605},[3353],{"type":212,"value":303},{"type":207,"tag":215,"props":3355,"children":3356},{"style":1575},[3357],{"type":212,"value":2012},{"type":207,"tag":215,"props":3359,"children":3360},{"style":1563},[3361],{"type":212,"value":1566},{"type":207,"tag":215,"props":3363,"children":3364},{"style":1575},[3365],{"type":212,"value":2021},{"type":207,"tag":215,"props":3367,"children":3368},{"style":1563},[3369],{"type":212,"value":2026},{"type":207,"tag":215,"props":3371,"children":3372},{"style":1575},[3373],{"type":212,"value":2031},{"type":207,"tag":215,"props":3375,"children":3376},{"style":1563},[3377],{"type":212,"value":1566},{"type":207,"tag":215,"props":3379,"children":3380},{"style":1605},[3381],{"type":212,"value":2040},{"type":207,"tag":215,"props":3383,"children":3384},{"style":1563},[3385],{"type":212,"value":2045},{"type":207,"tag":215,"props":3387,"children":3388},{"class":663,"line":2048},[3389,3393,3397],{"type":207,"tag":215,"props":3390,"children":3391},{"style":1563},[3392],{"type":212,"value":2054},{"type":207,"tag":215,"props":3394,"children":3395},{"style":1575},[3396],{"type":212,"value":2059},{"type":207,"tag":215,"props":3398,"children":3399},{"style":1563},[3400],{"type":212,"value":989},{"type":207,"tag":215,"props":3402,"children":3403},{"class":663,"line":2066},[3404,3408,3412],{"type":207,"tag":215,"props":3405,"children":3406},{"style":1563},[3407],{"type":212,"value":2072},{"type":207,"tag":215,"props":3409,"children":3410},{"style":1586},[3411],{"type":212,"value":2077},{"type":207,"tag":215,"props":3413,"children":3414},{"style":1563},[3415],{"type":212,"value":700},{"type":207,"tag":215,"props":3417,"children":3418},{"class":663,"line":2084},[3419,3423,3427],{"type":207,"tag":215,"props":3420,"children":3421},{"style":1563},[3422],{"type":212,"value":2090},{"type":207,"tag":215,"props":3424,"children":3425},{"style":1586},[3426],{"type":212,"value":2095},{"type":207,"tag":215,"props":3428,"children":3429},{"style":1563},[3430],{"type":212,"value":700},{"type":207,"tag":215,"props":3432,"children":3433},{"class":663,"line":2102},[3434,3438,3442,3446,3450,3454,3458,3462,3466],{"type":207,"tag":215,"props":3435,"children":3436},{"style":1563},[3437],{"type":212,"value":2108},{"type":207,"tag":215,"props":3439,"children":3440},{"style":1673},[3441],{"type":212,"value":2113},{"type":207,"tag":215,"props":3443,"children":3444},{"style":1563},[3445],{"type":212,"value":2026},{"type":207,"tag":215,"props":3447,"children":3448},{"style":1575},[3449],{"type":212,"value":2122},{"type":207,"tag":215,"props":3451,"children":3452},{"style":1563},[3453],{"type":212,"value":2127},{"type":207,"tag":215,"props":3455,"children":3456},{"style":1673},[3457],{"type":212,"value":2132},{"type":207,"tag":215,"props":3459,"children":3460},{"style":1563},[3461],{"type":212,"value":682},{"type":207,"tag":215,"props":3463,"children":3464},{"style":1673},[3465],{"type":212,"value":2141},{"type":207,"tag":215,"props":3467,"children":3468},{"style":1563},[3469],{"type":212,"value":1848},{"type":207,"tag":215,"props":3471,"children":3472},{"class":663,"line":2148},[3473],{"type":207,"tag":215,"props":3474,"children":3475},{"style":1563},[3476],{"type":212,"value":1037},{"type":207,"tag":215,"props":3478,"children":3479},{"class":663,"line":2156},[3480],{"type":207,"tag":215,"props":3481,"children":3482},{"style":1563},[3483],{"type":212,"value":2162},{"type":207,"tag":215,"props":3485,"children":3486},{"class":663,"line":2165},[3487,3491,3495],{"type":207,"tag":215,"props":3488,"children":3489},{"style":1563},[3490],{"type":212,"value":2171},{"type":207,"tag":215,"props":3492,"children":3493},{"style":1569},[3494],{"type":212,"value":1572},{"type":207,"tag":215,"props":3496,"children":3497},{"style":1563},[3498],{"type":212,"value":1599},{"type":207,"tag":215,"props":3500,"children":3501},{"class":663,"line":2182},[3502],{"type":207,"tag":215,"props":3503,"children":3504},{"emptyLinePlaceholder":868},[3505],{"type":212,"value":869},{"type":207,"tag":215,"props":3507,"children":3508},{"class":663,"line":2190},[3509,3513,3517],{"type":207,"tag":215,"props":3510,"children":3511},{"style":1563},[3512],{"type":212,"value":1566},{"type":207,"tag":215,"props":3514,"children":3515},{"style":1569},[3516],{"type":212,"value":2200},{"type":207,"tag":215,"props":3518,"children":3519},{"style":1563},[3520],{"type":212,"value":1599},{"type":207,"tag":215,"props":3522,"children":3523},{"class":663,"line":2207},[3524,3528,3532,3536,3540,3544,3548,3552,3556,3560,3564,3568,3572,3576,3580],{"type":207,"tag":215,"props":3525,"children":3526},{"style":1563},[3527],{"type":212,"value":2213},{"type":207,"tag":215,"props":3529,"children":3530},{"style":1569},[3531],{"type":212,"value":2218},{"type":207,"tag":215,"props":3533,"children":3534},{"style":1563},[3535],{"type":212,"value":2223},{"type":207,"tag":215,"props":3537,"children":3538},{"style":1575},[3539],{"type":212,"value":2228},{"type":207,"tag":215,"props":3541,"children":3542},{"style":1563},[3543],{"type":212,"value":1583},{"type":207,"tag":215,"props":3545,"children":3546},{"style":1586},[3547],{"type":212,"value":2237},{"type":207,"tag":215,"props":3549,"children":3550},{"style":1563},[3551],{"type":212,"value":2228},{"type":207,"tag":215,"props":3553,"children":3554},{"style":1586},[3555],{"type":212,"value":2237},{"type":207,"tag":215,"props":3557,"children":3558},{"style":1563},[3559],{"type":212,"value":2250},{"type":207,"tag":215,"props":3561,"children":3562},{"style":1575},[3563],{"type":212,"value":2255},{"type":207,"tag":215,"props":3565,"children":3566},{"style":1563},[3567],{"type":212,"value":1583},{"type":207,"tag":215,"props":3569,"children":3570},{"style":1586},[3571],{"type":212,"value":2237},{"type":207,"tag":215,"props":3573,"children":3574},{"style":1563},[3575],{"type":212,"value":2268},{"type":207,"tag":215,"props":3577,"children":3578},{"style":1586},[3579],{"type":212,"value":2237},{"type":207,"tag":215,"props":3581,"children":3582},{"style":1563},[3583],{"type":212,"value":2277},{"type":207,"tag":215,"props":3585,"children":3586},{"class":663,"line":2280},[3587,3591,3595],{"type":207,"tag":215,"props":3588,"children":3589},{"style":1563},[3590],{"type":212,"value":2171},{"type":207,"tag":215,"props":3592,"children":3593},{"style":1569},[3594],{"type":212,"value":2200},{"type":207,"tag":215,"props":3596,"children":3597},{"style":1563},[3598],{"type":212,"value":1599},{"type":207,"tag":1417,"props":3600,"children":3601},{},[3602],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":3604},[],{"data":3606,"body":3607,"toc":4375},{"title":658,"description":658},{"type":204,"children":3608},[3609,4371],{"type":207,"tag":1546,"props":3610,"children":3611},{},[3612],{"type":207,"tag":653,"props":3613,"children":3615},{"className":1551,"code":3614,"language":1553,"meta":658,"style":658},"\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",[3616],{"type":207,"tag":238,"props":3617,"children":3618},{"__ignoreMap":658},[3619,3650,3674,3697,3704,3735,3758,3765,3786,3811,3835,3859,3884,3906,3913,3940,3955,3971,3978,3986,3999,4006,4013,4028,4044,4060,4072,4079,4086,4093,4152,4167,4182,4197,4236,4243,4251,4267,4275,4291,4355],{"type":207,"tag":215,"props":3620,"children":3621},{"class":663,"line":664},[3622,3626,3630,3634,3638,3642,3646],{"type":207,"tag":215,"props":3623,"children":3624},{"style":1563},[3625],{"type":212,"value":1566},{"type":207,"tag":215,"props":3627,"children":3628},{"style":1569},[3629],{"type":212,"value":1572},{"type":207,"tag":215,"props":3631,"children":3632},{"style":1575},[3633],{"type":212,"value":1578},{"type":207,"tag":215,"props":3635,"children":3636},{"style":1563},[3637],{"type":212,"value":1583},{"type":207,"tag":215,"props":3639,"children":3640},{"style":1586},[3641],{"type":212,"value":1589},{"type":207,"tag":215,"props":3643,"children":3644},{"style":1575},[3645],{"type":212,"value":1594},{"type":207,"tag":215,"props":3647,"children":3648},{"style":1563},[3649],{"type":212,"value":1599},{"type":207,"tag":215,"props":3651,"children":3652},{"class":663,"line":691},[3653,3657,3661,3666,3670],{"type":207,"tag":215,"props":3654,"children":3655},{"style":1605},[3656],{"type":212,"value":854},{"type":207,"tag":215,"props":3658,"children":3659},{"style":1605},[3660],{"type":212,"value":1612},{"type":207,"tag":215,"props":3662,"children":3663},{"style":1563},[3664],{"type":212,"value":3665}," { FormSubmitEvent, InputMenuItem } ",{"type":207,"tag":215,"props":3667,"children":3668},{"style":1605},[3669],{"type":212,"value":860},{"type":207,"tag":215,"props":3671,"children":3672},{"style":1586},[3673],{"type":212,"value":1626},{"type":207,"tag":215,"props":3675,"children":3676},{"class":663,"line":703},[3677,3681,3685,3689,3693],{"type":207,"tag":215,"props":3678,"children":3679},{"style":1605},[3680],{"type":212,"value":854},{"type":207,"tag":215,"props":3682,"children":3683},{"style":1605},[3684],{"type":212,"value":1612},{"type":207,"tag":215,"props":3686,"children":3687},{"style":1563},[3688],{"type":212,"value":1642},{"type":207,"tag":215,"props":3690,"children":3691},{"style":1605},[3692],{"type":212,"value":860},{"type":207,"tag":215,"props":3694,"children":3695},{"style":1586},[3696],{"type":212,"value":1651},{"type":207,"tag":215,"props":3698,"children":3699},{"class":663,"line":712},[3700],{"type":207,"tag":215,"props":3701,"children":3702},{"emptyLinePlaceholder":868},[3703],{"type":212,"value":869},{"type":207,"tag":215,"props":3705,"children":3706},{"class":663,"line":779},[3707,3711,3715,3719,3723,3727,3731],{"type":207,"tag":215,"props":3708,"children":3709},{"style":1605},[3710],{"type":212,"value":935},{"type":207,"tag":215,"props":3712,"children":3713},{"style":1563},[3714],{"type":212,"value":1670},{"type":207,"tag":215,"props":3716,"children":3717},{"style":1673},[3718],{"type":212,"value":1676},{"type":207,"tag":215,"props":3720,"children":3721},{"style":1563},[3722],{"type":212,"value":1681},{"type":207,"tag":215,"props":3724,"children":3725},{"style":1605},[3726],{"type":212,"value":1583},{"type":207,"tag":215,"props":3728,"children":3729},{"style":1575},[3730],{"type":212,"value":1690},{"type":207,"tag":215,"props":3732,"children":3733},{"style":1563},[3734],{"type":212,"value":1695},{"type":207,"tag":215,"props":3736,"children":3737},{"class":663,"line":796},[3738,3742,3746,3750,3754],{"type":207,"tag":215,"props":3739,"children":3740},{"style":1605},[3741],{"type":212,"value":935},{"type":207,"tag":215,"props":3743,"children":3744},{"style":1673},[3745],{"type":212,"value":1707},{"type":207,"tag":215,"props":3747,"children":3748},{"style":1605},[3749],{"type":212,"value":942},{"type":207,"tag":215,"props":3751,"children":3752},{"style":1575},[3753],{"type":212,"value":1716},{"type":207,"tag":215,"props":3755,"children":3756},{"style":1563},[3757],{"type":212,"value":1695},{"type":207,"tag":215,"props":3759,"children":3760},{"class":663,"line":811},[3761],{"type":207,"tag":215,"props":3762,"children":3763},{"emptyLinePlaceholder":868},[3764],{"type":212,"value":869},{"type":207,"tag":215,"props":3766,"children":3767},{"class":663,"line":817},[3768,3772,3777,3781],{"type":207,"tag":215,"props":3769,"children":3770},{"style":1605},[3771],{"type":212,"value":935},{"type":207,"tag":215,"props":3773,"children":3774},{"style":1673},[3775],{"type":212,"value":3776}," items",{"type":207,"tag":215,"props":3778,"children":3779},{"style":1605},[3780],{"type":212,"value":942},{"type":207,"tag":215,"props":3782,"children":3783},{"style":1563},[3784],{"type":212,"value":3785}," [\n",{"type":207,"tag":215,"props":3787,"children":3788},{"class":663,"line":823},[3789,3794,3799,3803,3807],{"type":207,"tag":215,"props":3790,"children":3791},{"style":1563},[3792],{"type":212,"value":3793},"  { label: ",{"type":207,"tag":215,"props":3795,"children":3796},{"style":1586},[3797],{"type":212,"value":3798},"'Apple'",{"type":207,"tag":215,"props":3800,"children":3801},{"style":1563},[3802],{"type":212,"value":788},{"type":207,"tag":215,"props":3804,"children":3805},{"style":1586},[3806],{"type":212,"value":948},{"type":207,"tag":215,"props":3808,"children":3809},{"style":1563},[3810],{"type":212,"value":793},{"type":207,"tag":215,"props":3812,"children":3813},{"class":663,"line":828},[3814,3818,3823,3827,3831],{"type":207,"tag":215,"props":3815,"children":3816},{"style":1563},[3817],{"type":212,"value":3793},{"type":207,"tag":215,"props":3819,"children":3820},{"style":1586},[3821],{"type":212,"value":3822},"'Banana'",{"type":207,"tag":215,"props":3824,"children":3825},{"style":1563},[3826],{"type":212,"value":788},{"type":207,"tag":215,"props":3828,"children":3829},{"style":1586},[3830],{"type":212,"value":953},{"type":207,"tag":215,"props":3832,"children":3833},{"style":1563},[3834],{"type":212,"value":793},{"type":207,"tag":215,"props":3836,"children":3837},{"class":663,"line":834},[3838,3842,3847,3851,3855],{"type":207,"tag":215,"props":3839,"children":3840},{"style":1563},[3841],{"type":212,"value":3793},{"type":207,"tag":215,"props":3843,"children":3844},{"style":1586},[3845],{"type":212,"value":3846},"'Orange'",{"type":207,"tag":215,"props":3848,"children":3849},{"style":1563},[3850],{"type":212,"value":788},{"type":207,"tag":215,"props":3852,"children":3853},{"style":1586},[3854],{"type":212,"value":958},{"type":207,"tag":215,"props":3856,"children":3857},{"style":1563},[3858],{"type":212,"value":793},{"type":207,"tag":215,"props":3860,"children":3861},{"class":663,"line":1147},[3862,3866,3871,3875,3880],{"type":207,"tag":215,"props":3863,"children":3864},{"style":1563},[3865],{"type":212,"value":3793},{"type":207,"tag":215,"props":3867,"children":3868},{"style":1586},[3869],{"type":212,"value":3870},"'Grape'",{"type":207,"tag":215,"props":3872,"children":3873},{"style":1563},[3874],{"type":212,"value":788},{"type":207,"tag":215,"props":3876,"children":3877},{"style":1586},[3878],{"type":212,"value":3879},"'grape'",{"type":207,"tag":215,"props":3881,"children":3882},{"style":1563},[3883],{"type":212,"value":808},{"type":207,"tag":215,"props":3885,"children":3886},{"class":663,"line":1272},[3887,3891,3896,3901],{"type":207,"tag":215,"props":3888,"children":3889},{"style":1563},[3890],{"type":212,"value":961},{"type":207,"tag":215,"props":3892,"children":3893},{"style":1605},[3894],{"type":212,"value":3895},"satisfies",{"type":207,"tag":215,"props":3897,"children":3898},{"style":1575},[3899],{"type":212,"value":3900}," InputMenuItem",{"type":207,"tag":215,"props":3902,"children":3903},{"style":1563},[3904],{"type":212,"value":3905},"[]\n",{"type":207,"tag":215,"props":3907,"children":3908},{"class":663,"line":1278},[3909],{"type":207,"tag":215,"props":3910,"children":3911},{"emptyLinePlaceholder":868},[3912],{"type":212,"value":869},{"type":207,"tag":215,"props":3914,"children":3915},{"class":663,"line":1851},[3916,3920,3924,3928,3932,3936],{"type":207,"tag":215,"props":3917,"children":3918},{"style":1605},[3919],{"type":212,"value":935},{"type":207,"tag":215,"props":3921,"children":3922},{"style":1673},[3923],{"type":212,"value":978},{"type":207,"tag":215,"props":3925,"children":3926},{"style":1605},[3927],{"type":212,"value":942},{"type":207,"tag":215,"props":3929,"children":3930},{"style":1563},[3931],{"type":212,"value":983},{"type":207,"tag":215,"props":3933,"children":3934},{"style":1575},[3935],{"type":212,"value":986},{"type":207,"tag":215,"props":3937,"children":3938},{"style":1563},[3939],{"type":212,"value":989},{"type":207,"tag":215,"props":3941,"children":3942},{"class":663,"line":1886},[3943,3947,3951],{"type":207,"tag":215,"props":3944,"children":3945},{"style":1563},[3946],{"type":212,"value":994},{"type":207,"tag":215,"props":3948,"children":3949},{"style":1575},[3950],{"type":212,"value":1767},{"type":207,"tag":215,"props":3952,"children":3953},{"style":1563},[3954],{"type":212,"value":989},{"type":207,"tag":215,"props":3956,"children":3957},{"class":663,"line":1903},[3958,3962,3967],{"type":207,"tag":215,"props":3959,"children":3960},{"style":1563},[3961],{"type":212,"value":1004},{"type":207,"tag":215,"props":3963,"children":3964},{"style":1586},[3965],{"type":212,"value":3966},"'inputMenu'",{"type":207,"tag":215,"props":3968,"children":3969},{"style":1563},[3970],{"type":212,"value":700},{"type":207,"tag":215,"props":3972,"children":3973},{"class":663,"line":1921},[3974],{"type":207,"tag":215,"props":3975,"children":3976},{"style":1563},[3977],{"type":212,"value":1014},{"type":207,"tag":215,"props":3979,"children":3980},{"class":663,"line":1938},[3981],{"type":207,"tag":215,"props":3982,"children":3983},{"style":1563},[3984],{"type":212,"value":3985},"      items,\n",{"type":207,"tag":215,"props":3987,"children":3988},{"class":663,"line":1952},[3989,3994],{"type":207,"tag":215,"props":3990,"children":3991},{"style":1563},[3992],{"type":212,"value":3993},"      valueKey: ",{"type":207,"tag":215,"props":3995,"children":3996},{"style":1586},[3997],{"type":212,"value":3998},"'value'\n",{"type":207,"tag":215,"props":4000,"children":4001},{"class":663,"line":1961},[4002],{"type":207,"tag":215,"props":4003,"children":4004},{"style":1563},[4005],{"type":212,"value":1032},{"type":207,"tag":215,"props":4007,"children":4008},{"class":663,"line":1969},[4009],{"type":207,"tag":215,"props":4010,"children":4011},{"style":1563},[4012],{"type":212,"value":1037},{"type":207,"tag":215,"props":4014,"children":4015},{"class":663,"line":1977},[4016,4020,4024],{"type":207,"tag":215,"props":4017,"children":4018},{"style":1563},[4019],{"type":212,"value":1819},{"type":207,"tag":215,"props":4021,"children":4022},{"style":1575},[4023],{"type":212,"value":1896},{"type":207,"tag":215,"props":4025,"children":4026},{"style":1563},[4027],{"type":212,"value":989},{"type":207,"tag":215,"props":4029,"children":4030},{"class":663,"line":2048},[4031,4035,4040],{"type":207,"tag":215,"props":4032,"children":4033},{"style":1563},[4034],{"type":212,"value":1909},{"type":207,"tag":215,"props":4036,"children":4037},{"style":1586},[4038],{"type":212,"value":4039},"'输入菜单'",{"type":207,"tag":215,"props":4041,"children":4042},{"style":1563},[4043],{"type":212,"value":700},{"type":207,"tag":215,"props":4045,"children":4046},{"class":663,"line":2066},[4047,4051,4056],{"type":207,"tag":215,"props":4048,"children":4049},{"style":1563},[4050],{"type":212,"value":1019},{"type":207,"tag":215,"props":4052,"children":4053},{"style":1586},[4054],{"type":212,"value":4055},"'输入或选择水果'",{"type":207,"tag":215,"props":4057,"children":4058},{"style":1563},[4059],{"type":212,"value":700},{"type":207,"tag":215,"props":4061,"children":4062},{"class":663,"line":2084},[4063,4067],{"type":207,"tag":215,"props":4064,"children":4065},{"style":1563},[4066],{"type":212,"value":1944},{"type":207,"tag":215,"props":4068,"children":4069},{"style":1586},[4070],{"type":212,"value":4071},"'支持输入和下拉选择'\n",{"type":207,"tag":215,"props":4073,"children":4074},{"class":663,"line":2102},[4075],{"type":207,"tag":215,"props":4076,"children":4077},{"style":1563},[4078],{"type":212,"value":1958},{"type":207,"tag":215,"props":4080,"children":4081},{"class":663,"line":2148},[4082],{"type":207,"tag":215,"props":4083,"children":4084},{"style":1563},[4085],{"type":212,"value":715},{"type":207,"tag":215,"props":4087,"children":4088},{"class":663,"line":2156},[4089],{"type":207,"tag":215,"props":4090,"children":4091},{"emptyLinePlaceholder":868},[4092],{"type":212,"value":869},{"type":207,"tag":215,"props":4094,"children":4095},{"class":663,"line":2165},[4096,4100,4104,4108,4112,4116,4120,4124,4128,4132,4136,4140,4144,4148],{"type":207,"tag":215,"props":4097,"children":4098},{"style":1605},[4099],{"type":212,"value":1983},{"type":207,"tag":215,"props":4101,"children":4102},{"style":1605},[4103],{"type":212,"value":1988},{"type":207,"tag":215,"props":4105,"children":4106},{"style":1575},[4107],{"type":212,"value":1993},{"type":207,"tag":215,"props":4109,"children":4110},{"style":1563},[4111],{"type":212,"value":1829},{"type":207,"tag":215,"props":4113,"children":4114},{"style":2000},[4115],{"type":212,"value":2003},{"type":207,"tag":215,"props":4117,"children":4118},{"style":1605},[4119],{"type":212,"value":303},{"type":207,"tag":215,"props":4121,"children":4122},{"style":1575},[4123],{"type":212,"value":2012},{"type":207,"tag":215,"props":4125,"children":4126},{"style":1563},[4127],{"type":212,"value":1566},{"type":207,"tag":215,"props":4129,"children":4130},{"style":1575},[4131],{"type":212,"value":2021},{"type":207,"tag":215,"props":4133,"children":4134},{"style":1563},[4135],{"type":212,"value":2026},{"type":207,"tag":215,"props":4137,"children":4138},{"style":1575},[4139],{"type":212,"value":2031},{"type":207,"tag":215,"props":4141,"children":4142},{"style":1563},[4143],{"type":212,"value":1566},{"type":207,"tag":215,"props":4145,"children":4146},{"style":1605},[4147],{"type":212,"value":2040},{"type":207,"tag":215,"props":4149,"children":4150},{"style":1563},[4151],{"type":212,"value":2045},{"type":207,"tag":215,"props":4153,"children":4154},{"class":663,"line":2182},[4155,4159,4163],{"type":207,"tag":215,"props":4156,"children":4157},{"style":1563},[4158],{"type":212,"value":2054},{"type":207,"tag":215,"props":4160,"children":4161},{"style":1575},[4162],{"type":212,"value":2059},{"type":207,"tag":215,"props":4164,"children":4165},{"style":1563},[4166],{"type":212,"value":989},{"type":207,"tag":215,"props":4168,"children":4169},{"class":663,"line":2190},[4170,4174,4178],{"type":207,"tag":215,"props":4171,"children":4172},{"style":1563},[4173],{"type":212,"value":2072},{"type":207,"tag":215,"props":4175,"children":4176},{"style":1586},[4177],{"type":212,"value":2077},{"type":207,"tag":215,"props":4179,"children":4180},{"style":1563},[4181],{"type":212,"value":700},{"type":207,"tag":215,"props":4183,"children":4184},{"class":663,"line":2207},[4185,4189,4193],{"type":207,"tag":215,"props":4186,"children":4187},{"style":1563},[4188],{"type":212,"value":2090},{"type":207,"tag":215,"props":4190,"children":4191},{"style":1586},[4192],{"type":212,"value":2095},{"type":207,"tag":215,"props":4194,"children":4195},{"style":1563},[4196],{"type":212,"value":700},{"type":207,"tag":215,"props":4198,"children":4199},{"class":663,"line":2280},[4200,4204,4208,4212,4216,4220,4224,4228,4232],{"type":207,"tag":215,"props":4201,"children":4202},{"style":1563},[4203],{"type":212,"value":2108},{"type":207,"tag":215,"props":4205,"children":4206},{"style":1673},[4207],{"type":212,"value":2113},{"type":207,"tag":215,"props":4209,"children":4210},{"style":1563},[4211],{"type":212,"value":2026},{"type":207,"tag":215,"props":4213,"children":4214},{"style":1575},[4215],{"type":212,"value":2122},{"type":207,"tag":215,"props":4217,"children":4218},{"style":1563},[4219],{"type":212,"value":2127},{"type":207,"tag":215,"props":4221,"children":4222},{"style":1673},[4223],{"type":212,"value":2132},{"type":207,"tag":215,"props":4225,"children":4226},{"style":1563},[4227],{"type":212,"value":682},{"type":207,"tag":215,"props":4229,"children":4230},{"style":1673},[4231],{"type":212,"value":2141},{"type":207,"tag":215,"props":4233,"children":4234},{"style":1563},[4235],{"type":212,"value":1848},{"type":207,"tag":215,"props":4237,"children":4238},{"class":663,"line":2941},[4239],{"type":207,"tag":215,"props":4240,"children":4241},{"style":1563},[4242],{"type":212,"value":1037},{"type":207,"tag":215,"props":4244,"children":4246},{"class":663,"line":4245},36,[4247],{"type":207,"tag":215,"props":4248,"children":4249},{"style":1563},[4250],{"type":212,"value":2162},{"type":207,"tag":215,"props":4252,"children":4254},{"class":663,"line":4253},37,[4255,4259,4263],{"type":207,"tag":215,"props":4256,"children":4257},{"style":1563},[4258],{"type":212,"value":2171},{"type":207,"tag":215,"props":4260,"children":4261},{"style":1569},[4262],{"type":212,"value":1572},{"type":207,"tag":215,"props":4264,"children":4265},{"style":1563},[4266],{"type":212,"value":1599},{"type":207,"tag":215,"props":4268,"children":4270},{"class":663,"line":4269},38,[4271],{"type":207,"tag":215,"props":4272,"children":4273},{"emptyLinePlaceholder":868},[4274],{"type":212,"value":869},{"type":207,"tag":215,"props":4276,"children":4278},{"class":663,"line":4277},39,[4279,4283,4287],{"type":207,"tag":215,"props":4280,"children":4281},{"style":1563},[4282],{"type":212,"value":1566},{"type":207,"tag":215,"props":4284,"children":4285},{"style":1569},[4286],{"type":212,"value":2200},{"type":207,"tag":215,"props":4288,"children":4289},{"style":1563},[4290],{"type":212,"value":1599},{"type":207,"tag":215,"props":4292,"children":4294},{"class":663,"line":4293},40,[4295,4299,4303,4307,4311,4315,4319,4323,4327,4331,4335,4339,4343,4347,4351],{"type":207,"tag":215,"props":4296,"children":4297},{"style":1563},[4298],{"type":212,"value":2213},{"type":207,"tag":215,"props":4300,"children":4301},{"style":1569},[4302],{"type":212,"value":2218},{"type":207,"tag":215,"props":4304,"children":4305},{"style":1563},[4306],{"type":212,"value":2223},{"type":207,"tag":215,"props":4308,"children":4309},{"style":1575},[4310],{"type":212,"value":2228},{"type":207,"tag":215,"props":4312,"children":4313},{"style":1563},[4314],{"type":212,"value":1583},{"type":207,"tag":215,"props":4316,"children":4317},{"style":1586},[4318],{"type":212,"value":2237},{"type":207,"tag":215,"props":4320,"children":4321},{"style":1563},[4322],{"type":212,"value":2228},{"type":207,"tag":215,"props":4324,"children":4325},{"style":1586},[4326],{"type":212,"value":2237},{"type":207,"tag":215,"props":4328,"children":4329},{"style":1563},[4330],{"type":212,"value":2250},{"type":207,"tag":215,"props":4332,"children":4333},{"style":1575},[4334],{"type":212,"value":2255},{"type":207,"tag":215,"props":4336,"children":4337},{"style":1563},[4338],{"type":212,"value":1583},{"type":207,"tag":215,"props":4340,"children":4341},{"style":1586},[4342],{"type":212,"value":2237},{"type":207,"tag":215,"props":4344,"children":4345},{"style":1563},[4346],{"type":212,"value":2268},{"type":207,"tag":215,"props":4348,"children":4349},{"style":1586},[4350],{"type":212,"value":2237},{"type":207,"tag":215,"props":4352,"children":4353},{"style":1563},[4354],{"type":212,"value":2277},{"type":207,"tag":215,"props":4356,"children":4358},{"class":663,"line":4357},41,[4359,4363,4367],{"type":207,"tag":215,"props":4360,"children":4361},{"style":1563},[4362],{"type":212,"value":2171},{"type":207,"tag":215,"props":4364,"children":4365},{"style":1569},[4366],{"type":212,"value":2200},{"type":207,"tag":215,"props":4368,"children":4369},{"style":1563},[4370],{"type":212,"value":1599},{"type":207,"tag":1417,"props":4372,"children":4373},{},[4374],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":4376},[],{"data":4378,"body":4379,"toc":5493},{"title":658,"description":658},{"type":204,"children":4380},[4381,5489],{"type":207,"tag":1546,"props":4382,"children":4383},{},[4384],{"type":207,"tag":653,"props":4385,"children":4387},{"className":1551,"code":4386,"language":1553,"meta":658,"style":658},"\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",[4388],{"type":207,"tag":238,"props":4389,"children":4390},{"__ignoreMap":658},[4391,4422,4445,4469,4476,4502,4529,4582,4653,4671,4687,4695,4702,4733,4756,4763,4799,4820,4828,4836,4844,4852,4859,4899,4915,4923,4931,4947,4955,4971,4979,4986,5028,5035,5079,5086,5130,5145,5160,5175,5214,5221,5229,5245,5253,5269,5300,5314,5341,5370,5396,5405,5418,5447,5456,5473],{"type":207,"tag":215,"props":4392,"children":4393},{"class":663,"line":664},[4394,4398,4402,4406,4410,4414,4418],{"type":207,"tag":215,"props":4395,"children":4396},{"style":1563},[4397],{"type":212,"value":1566},{"type":207,"tag":215,"props":4399,"children":4400},{"style":1569},[4401],{"type":212,"value":1572},{"type":207,"tag":215,"props":4403,"children":4404},{"style":1575},[4405],{"type":212,"value":1578},{"type":207,"tag":215,"props":4407,"children":4408},{"style":1563},[4409],{"type":212,"value":1583},{"type":207,"tag":215,"props":4411,"children":4412},{"style":1586},[4413],{"type":212,"value":1589},{"type":207,"tag":215,"props":4415,"children":4416},{"style":1575},[4417],{"type":212,"value":1594},{"type":207,"tag":215,"props":4419,"children":4420},{"style":1563},[4421],{"type":212,"value":1599},{"type":207,"tag":215,"props":4423,"children":4424},{"class":663,"line":691},[4425,4429,4433,4437,4441],{"type":207,"tag":215,"props":4426,"children":4427},{"style":1605},[4428],{"type":212,"value":854},{"type":207,"tag":215,"props":4430,"children":4431},{"style":1605},[4432],{"type":212,"value":1612},{"type":207,"tag":215,"props":4434,"children":4435},{"style":1563},[4436],{"type":212,"value":1617},{"type":207,"tag":215,"props":4438,"children":4439},{"style":1605},[4440],{"type":212,"value":860},{"type":207,"tag":215,"props":4442,"children":4443},{"style":1586},[4444],{"type":212,"value":1626},{"type":207,"tag":215,"props":4446,"children":4447},{"class":663,"line":703},[4448,4452,4456,4461,4465],{"type":207,"tag":215,"props":4449,"children":4450},{"style":1605},[4451],{"type":212,"value":854},{"type":207,"tag":215,"props":4453,"children":4454},{"style":1605},[4455],{"type":212,"value":1612},{"type":207,"tag":215,"props":4457,"children":4458},{"style":1563},[4459],{"type":212,"value":4460}," z ",{"type":207,"tag":215,"props":4462,"children":4463},{"style":1605},[4464],{"type":212,"value":860},{"type":207,"tag":215,"props":4466,"children":4467},{"style":1586},[4468],{"type":212,"value":1651},{"type":207,"tag":215,"props":4470,"children":4471},{"class":663,"line":712},[4472],{"type":207,"tag":215,"props":4473,"children":4474},{"emptyLinePlaceholder":868},[4475],{"type":212,"value":869},{"type":207,"tag":215,"props":4477,"children":4478},{"class":663,"line":779},[4479,4483,4488,4492,4497],{"type":207,"tag":215,"props":4480,"children":4481},{"style":1605},[4482],{"type":212,"value":935},{"type":207,"tag":215,"props":4484,"children":4485},{"style":1673},[4486],{"type":212,"value":4487}," props",{"type":207,"tag":215,"props":4489,"children":4490},{"style":1605},[4491],{"type":212,"value":942},{"type":207,"tag":215,"props":4493,"children":4494},{"style":1575},[4495],{"type":212,"value":4496}," defineProps",{"type":207,"tag":215,"props":4498,"children":4499},{"style":1563},[4500],{"type":212,"value":4501},"\u003C{\n",{"type":207,"tag":215,"props":4503,"children":4504},{"class":663,"line":796},[4505,4510,4514,4519,4524],{"type":207,"tag":215,"props":4506,"children":4507},{"style":2000},[4508],{"type":212,"value":4509},"  type",{"type":207,"tag":215,"props":4511,"children":4512},{"style":1605},[4513],{"type":212,"value":303},{"type":207,"tag":215,"props":4515,"children":4516},{"style":1586},[4517],{"type":212,"value":4518}," 'string'",{"type":207,"tag":215,"props":4520,"children":4521},{"style":1605},[4522],{"type":212,"value":4523}," |",{"type":207,"tag":215,"props":4525,"children":4526},{"style":1586},[4527],{"type":212,"value":4528}," 'textarea'\n",{"type":207,"tag":215,"props":4530,"children":4531},{"class":663,"line":811},[4532,4537,4541,4546,4550,4555,4559,4564,4568,4573,4577],{"type":207,"tag":215,"props":4533,"children":4534},{"style":2000},[4535],{"type":212,"value":4536},"  size",{"type":207,"tag":215,"props":4538,"children":4539},{"style":1605},[4540],{"type":212,"value":303},{"type":207,"tag":215,"props":4542,"children":4543},{"style":1586},[4544],{"type":212,"value":4545}," 'sm'",{"type":207,"tag":215,"props":4547,"children":4548},{"style":1605},[4549],{"type":212,"value":4523},{"type":207,"tag":215,"props":4551,"children":4552},{"style":1586},[4553],{"type":212,"value":4554}," 'xs'",{"type":207,"tag":215,"props":4556,"children":4557},{"style":1605},[4558],{"type":212,"value":4523},{"type":207,"tag":215,"props":4560,"children":4561},{"style":1586},[4562],{"type":212,"value":4563}," 'md'",{"type":207,"tag":215,"props":4565,"children":4566},{"style":1605},[4567],{"type":212,"value":4523},{"type":207,"tag":215,"props":4569,"children":4570},{"style":1586},[4571],{"type":212,"value":4572}," 'lg'",{"type":207,"tag":215,"props":4574,"children":4575},{"style":1605},[4576],{"type":212,"value":4523},{"type":207,"tag":215,"props":4578,"children":4579},{"style":1586},[4580],{"type":212,"value":4581}," 'xl'\n",{"type":207,"tag":215,"props":4583,"children":4584},{"class":663,"line":817},[4585,4590,4594,4599,4603,4608,4612,4617,4621,4626,4630,4635,4639,4644,4648],{"type":207,"tag":215,"props":4586,"children":4587},{"style":2000},[4588],{"type":212,"value":4589},"  color",{"type":207,"tag":215,"props":4591,"children":4592},{"style":1605},[4593],{"type":212,"value":303},{"type":207,"tag":215,"props":4595,"children":4596},{"style":1586},[4597],{"type":212,"value":4598}," 'error'",{"type":207,"tag":215,"props":4600,"children":4601},{"style":1605},[4602],{"type":212,"value":4523},{"type":207,"tag":215,"props":4604,"children":4605},{"style":1586},[4606],{"type":212,"value":4607}," 'primary'",{"type":207,"tag":215,"props":4609,"children":4610},{"style":1605},[4611],{"type":212,"value":4523},{"type":207,"tag":215,"props":4613,"children":4614},{"style":1586},[4615],{"type":212,"value":4616}," 'secondary'",{"type":207,"tag":215,"props":4618,"children":4619},{"style":1605},[4620],{"type":212,"value":4523},{"type":207,"tag":215,"props":4622,"children":4623},{"style":1586},[4624],{"type":212,"value":4625}," 'success'",{"type":207,"tag":215,"props":4627,"children":4628},{"style":1605},[4629],{"type":212,"value":4523},{"type":207,"tag":215,"props":4631,"children":4632},{"style":1586},[4633],{"type":212,"value":4634}," 'info'",{"type":207,"tag":215,"props":4636,"children":4637},{"style":1605},[4638],{"type":212,"value":4523},{"type":207,"tag":215,"props":4640,"children":4641},{"style":1586},[4642],{"type":212,"value":4643}," 'warning'",{"type":207,"tag":215,"props":4645,"children":4646},{"style":1605},[4647],{"type":212,"value":4523},{"type":207,"tag":215,"props":4649,"children":4650},{"style":1586},[4651],{"type":212,"value":4652}," 'neutral'\n",{"type":207,"tag":215,"props":4654,"children":4655},{"class":663,"line":823},[4656,4661,4666],{"type":207,"tag":215,"props":4657,"children":4658},{"style":2000},[4659],{"type":212,"value":4660},"  rows",{"type":207,"tag":215,"props":4662,"children":4663},{"style":1605},[4664],{"type":212,"value":4665},"?:",{"type":207,"tag":215,"props":4667,"children":4668},{"style":1673},[4669],{"type":212,"value":4670}," number\n",{"type":207,"tag":215,"props":4672,"children":4673},{"class":663,"line":828},[4674,4679,4683],{"type":207,"tag":215,"props":4675,"children":4676},{"style":2000},[4677],{"type":212,"value":4678},"  maxLength",{"type":207,"tag":215,"props":4680,"children":4681},{"style":1605},[4682],{"type":212,"value":4665},{"type":207,"tag":215,"props":4684,"children":4685},{"style":1673},[4686],{"type":212,"value":4670},{"type":207,"tag":215,"props":4688,"children":4689},{"class":663,"line":834},[4690],{"type":207,"tag":215,"props":4691,"children":4692},{"style":1563},[4693],{"type":212,"value":4694},"}>()\n",{"type":207,"tag":215,"props":4696,"children":4697},{"class":663,"line":1147},[4698],{"type":207,"tag":215,"props":4699,"children":4700},{"emptyLinePlaceholder":868},[4701],{"type":212,"value":869},{"type":207,"tag":215,"props":4703,"children":4704},{"class":663,"line":1272},[4705,4709,4713,4717,4721,4725,4729],{"type":207,"tag":215,"props":4706,"children":4707},{"style":1605},[4708],{"type":212,"value":935},{"type":207,"tag":215,"props":4710,"children":4711},{"style":1563},[4712],{"type":212,"value":1670},{"type":207,"tag":215,"props":4714,"children":4715},{"style":1673},[4716],{"type":212,"value":1676},{"type":207,"tag":215,"props":4718,"children":4719},{"style":1563},[4720],{"type":212,"value":1681},{"type":207,"tag":215,"props":4722,"children":4723},{"style":1605},[4724],{"type":212,"value":1583},{"type":207,"tag":215,"props":4726,"children":4727},{"style":1575},[4728],{"type":212,"value":1690},{"type":207,"tag":215,"props":4730,"children":4731},{"style":1563},[4732],{"type":212,"value":1695},{"type":207,"tag":215,"props":4734,"children":4735},{"class":663,"line":1278},[4736,4740,4744,4748,4752],{"type":207,"tag":215,"props":4737,"children":4738},{"style":1605},[4739],{"type":212,"value":935},{"type":207,"tag":215,"props":4741,"children":4742},{"style":1673},[4743],{"type":212,"value":1707},{"type":207,"tag":215,"props":4745,"children":4746},{"style":1605},[4747],{"type":212,"value":942},{"type":207,"tag":215,"props":4749,"children":4750},{"style":1575},[4751],{"type":212,"value":1716},{"type":207,"tag":215,"props":4753,"children":4754},{"style":1563},[4755],{"type":212,"value":1695},{"type":207,"tag":215,"props":4757,"children":4758},{"class":663,"line":1851},[4759],{"type":207,"tag":215,"props":4760,"children":4761},{"emptyLinePlaceholder":868},[4762],{"type":212,"value":869},{"type":207,"tag":215,"props":4764,"children":4765},{"class":663,"line":1886},[4766,4770,4775,4779,4784,4789,4794],{"type":207,"tag":215,"props":4767,"children":4768},{"style":1605},[4769],{"type":212,"value":935},{"type":207,"tag":215,"props":4771,"children":4772},{"style":1673},[4773],{"type":212,"value":4774}," resolvedControlProps",{"type":207,"tag":215,"props":4776,"children":4777},{"style":1605},[4778],{"type":212,"value":942},{"type":207,"tag":215,"props":4780,"children":4781},{"style":1575},[4782],{"type":212,"value":4783}," computed",{"type":207,"tag":215,"props":4785,"children":4786},{"style":1563},[4787],{"type":212,"value":4788},"(() ",{"type":207,"tag":215,"props":4790,"children":4791},{"style":1605},[4792],{"type":212,"value":4793},"=>",{"type":207,"tag":215,"props":4795,"children":4796},{"style":1563},[4797],{"type":212,"value":4798}," ({\n",{"type":207,"tag":215,"props":4800,"children":4801},{"class":663,"line":1903},[4802,4807,4816],{"type":207,"tag":215,"props":4803,"children":4804},{"style":1563},[4805],{"type":212,"value":4806},"  leadingIcon: ",{"type":207,"tag":215,"props":4808,"children":4809},{"style":1586},[4810,4814],{"type":207,"tag":1791,"props":4811,"children":4813},{"class":1793,"style":4812},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftype.svg?color=%23000)",[],{"type":212,"value":4815},"'i-lucide-type'",{"type":207,"tag":215,"props":4817,"children":4818},{"style":1563},[4819],{"type":212,"value":700},{"type":207,"tag":215,"props":4821,"children":4822},{"class":663,"line":1921},[4823],{"type":207,"tag":215,"props":4824,"children":4825},{"style":1563},[4826],{"type":212,"value":4827},"  color: props.color,\n",{"type":207,"tag":215,"props":4829,"children":4830},{"class":663,"line":1938},[4831],{"type":207,"tag":215,"props":4832,"children":4833},{"style":1563},[4834],{"type":212,"value":4835},"  rows: props.rows,\n",{"type":207,"tag":215,"props":4837,"children":4838},{"class":663,"line":1952},[4839],{"type":207,"tag":215,"props":4840,"children":4841},{"style":1563},[4842],{"type":212,"value":4843},"  maxlength: props.maxLength\n",{"type":207,"tag":215,"props":4845,"children":4846},{"class":663,"line":1961},[4847],{"type":207,"tag":215,"props":4848,"children":4849},{"style":1563},[4850],{"type":212,"value":4851},"}))\n",{"type":207,"tag":215,"props":4853,"children":4854},{"class":663,"line":1969},[4855],{"type":207,"tag":215,"props":4856,"children":4857},{"emptyLinePlaceholder":868},[4858],{"type":212,"value":869},{"type":207,"tag":215,"props":4860,"children":4861},{"class":663,"line":1977},[4862,4866,4870,4874,4878,4882,4886,4891,4895],{"type":207,"tag":215,"props":4863,"children":4864},{"style":1605},[4865],{"type":212,"value":935},{"type":207,"tag":215,"props":4867,"children":4868},{"style":1673},[4869],{"type":212,"value":978},{"type":207,"tag":215,"props":4871,"children":4872},{"style":1605},[4873],{"type":212,"value":942},{"type":207,"tag":215,"props":4875,"children":4876},{"style":1575},[4877],{"type":212,"value":4783},{"type":207,"tag":215,"props":4879,"children":4880},{"style":1563},[4881],{"type":212,"value":4788},{"type":207,"tag":215,"props":4883,"children":4884},{"style":1605},[4885],{"type":212,"value":4793},{"type":207,"tag":215,"props":4887,"children":4888},{"style":1563},[4889],{"type":212,"value":4890}," (afz.",{"type":207,"tag":215,"props":4892,"children":4893},{"style":1575},[4894],{"type":212,"value":986},{"type":207,"tag":215,"props":4896,"children":4897},{"style":1563},[4898],{"type":212,"value":989},{"type":207,"tag":215,"props":4900,"children":4901},{"class":663,"line":2048},[4902,4907,4911],{"type":207,"tag":215,"props":4903,"children":4904},{"style":1563},[4905],{"type":212,"value":4906},"  stringWithType: afz.",{"type":207,"tag":215,"props":4908,"children":4909},{"style":1575},[4910],{"type":212,"value":1767},{"type":207,"tag":215,"props":4912,"children":4913},{"style":1563},[4914],{"type":212,"value":989},{"type":207,"tag":215,"props":4916,"children":4917},{"class":663,"line":2066},[4918],{"type":207,"tag":215,"props":4919,"children":4920},{"style":1563},[4921],{"type":212,"value":4922},"    type: props.type,\n",{"type":207,"tag":215,"props":4924,"children":4925},{"class":663,"line":2084},[4926],{"type":207,"tag":215,"props":4927,"children":4928},{"style":1563},[4929],{"type":212,"value":4930},"    controlProps: resolvedControlProps.value\n",{"type":207,"tag":215,"props":4932,"children":4933},{"class":663,"line":2102},[4934,4939,4943],{"type":207,"tag":215,"props":4935,"children":4936},{"style":1563},[4937],{"type":212,"value":4938},"  }).",{"type":207,"tag":215,"props":4940,"children":4941},{"style":1575},[4942],{"type":212,"value":1896},{"type":207,"tag":215,"props":4944,"children":4945},{"style":1563},[4946],{"type":212,"value":989},{"type":207,"tag":215,"props":4948,"children":4949},{"class":663,"line":2148},[4950],{"type":207,"tag":215,"props":4951,"children":4952},{"style":1563},[4953],{"type":212,"value":4954},"    size: props.size\n",{"type":207,"tag":215,"props":4956,"children":4957},{"class":663,"line":2156},[4958,4962,4967],{"type":207,"tag":215,"props":4959,"children":4960},{"style":1563},[4961],{"type":212,"value":4938},{"type":207,"tag":215,"props":4963,"children":4964},{"style":1575},[4965],{"type":212,"value":4966},"optional",{"type":207,"tag":215,"props":4968,"children":4969},{"style":1563},[4970],{"type":212,"value":1695},{"type":207,"tag":215,"props":4972,"children":4973},{"class":663,"line":2165},[4974],{"type":207,"tag":215,"props":4975,"children":4976},{"style":1563},[4977],{"type":212,"value":4978},"})))\n",{"type":207,"tag":215,"props":4980,"children":4981},{"class":663,"line":2182},[4982],{"type":207,"tag":215,"props":4983,"children":4984},{"emptyLinePlaceholder":868},[4985],{"type":212,"value":869},{"type":207,"tag":215,"props":4987,"children":4988},{"class":663,"line":2190},[4989,4993,4998,5002,5007,5011,5015,5019,5023],{"type":207,"tag":215,"props":4990,"children":4991},{"style":1605},[4992],{"type":212,"value":724},{"type":207,"tag":215,"props":4994,"children":4995},{"style":1575},[4996],{"type":212,"value":4997}," Schema",{"type":207,"tag":215,"props":4999,"children":5000},{"style":1605},[5001],{"type":212,"value":942},{"type":207,"tag":215,"props":5003,"children":5004},{"style":1575},[5005],{"type":212,"value":5006}," z",{"type":207,"tag":215,"props":5008,"children":5009},{"style":1563},[5010],{"type":212,"value":2026},{"type":207,"tag":215,"props":5012,"children":5013},{"style":1575},[5014],{"type":212,"value":2031},{"type":207,"tag":215,"props":5016,"children":5017},{"style":1563},[5018],{"type":212,"value":1566},{"type":207,"tag":215,"props":5020,"children":5021},{"style":1605},[5022],{"type":212,"value":2040},{"type":207,"tag":215,"props":5024,"children":5025},{"style":1563},[5026],{"type":212,"value":5027}," schema.value>\n",{"type":207,"tag":215,"props":5029,"children":5030},{"class":663,"line":2207},[5031],{"type":207,"tag":215,"props":5032,"children":5033},{"emptyLinePlaceholder":868},[5034],{"type":212,"value":869},{"type":207,"tag":215,"props":5036,"children":5037},{"class":663,"line":2280},[5038,5042,5047,5051,5056,5060,5065,5069,5074],{"type":207,"tag":215,"props":5039,"children":5040},{"style":1605},[5041],{"type":212,"value":935},{"type":207,"tag":215,"props":5043,"children":5044},{"style":1673},[5045],{"type":212,"value":5046}," form",{"type":207,"tag":215,"props":5048,"children":5049},{"style":1605},[5050],{"type":212,"value":942},{"type":207,"tag":215,"props":5052,"children":5053},{"style":1575},[5054],{"type":212,"value":5055}," ref",{"type":207,"tag":215,"props":5057,"children":5058},{"style":1563},[5059],{"type":212,"value":1566},{"type":207,"tag":215,"props":5061,"children":5062},{"style":1575},[5063],{"type":212,"value":5064},"Partial",{"type":207,"tag":215,"props":5066,"children":5067},{"style":1563},[5068],{"type":212,"value":1566},{"type":207,"tag":215,"props":5070,"children":5071},{"style":1575},[5072],{"type":212,"value":5073},"Schema",{"type":207,"tag":215,"props":5075,"children":5076},{"style":1563},[5077],{"type":212,"value":5078},">>({})\n",{"type":207,"tag":215,"props":5080,"children":5081},{"class":663,"line":2941},[5082],{"type":207,"tag":215,"props":5083,"children":5084},{"emptyLinePlaceholder":868},[5085],{"type":212,"value":869},{"type":207,"tag":215,"props":5087,"children":5088},{"class":663,"line":4245},[5089,5093,5097,5101,5105,5109,5113,5117,5121,5125],{"type":207,"tag":215,"props":5090,"children":5091},{"style":1605},[5092],{"type":212,"value":1983},{"type":207,"tag":215,"props":5094,"children":5095},{"style":1605},[5096],{"type":212,"value":1988},{"type":207,"tag":215,"props":5098,"children":5099},{"style":1575},[5100],{"type":212,"value":1993},{"type":207,"tag":215,"props":5102,"children":5103},{"style":1563},[5104],{"type":212,"value":1829},{"type":207,"tag":215,"props":5106,"children":5107},{"style":2000},[5108],{"type":212,"value":2003},{"type":207,"tag":215,"props":5110,"children":5111},{"style":1605},[5112],{"type":212,"value":303},{"type":207,"tag":215,"props":5114,"children":5115},{"style":1575},[5116],{"type":212,"value":2012},{"type":207,"tag":215,"props":5118,"children":5119},{"style":1563},[5120],{"type":212,"value":1566},{"type":207,"tag":215,"props":5122,"children":5123},{"style":1575},[5124],{"type":212,"value":5073},{"type":207,"tag":215,"props":5126,"children":5127},{"style":1563},[5128],{"type":212,"value":5129},">) {\n",{"type":207,"tag":215,"props":5131,"children":5132},{"class":663,"line":4253},[5133,5137,5141],{"type":207,"tag":215,"props":5134,"children":5135},{"style":1563},[5136],{"type":212,"value":2054},{"type":207,"tag":215,"props":5138,"children":5139},{"style":1575},[5140],{"type":212,"value":2059},{"type":207,"tag":215,"props":5142,"children":5143},{"style":1563},[5144],{"type":212,"value":989},{"type":207,"tag":215,"props":5146,"children":5147},{"class":663,"line":4269},[5148,5152,5156],{"type":207,"tag":215,"props":5149,"children":5150},{"style":1563},[5151],{"type":212,"value":2072},{"type":207,"tag":215,"props":5153,"children":5154},{"style":1586},[5155],{"type":212,"value":2077},{"type":207,"tag":215,"props":5157,"children":5158},{"style":1563},[5159],{"type":212,"value":700},{"type":207,"tag":215,"props":5161,"children":5162},{"class":663,"line":4277},[5163,5167,5171],{"type":207,"tag":215,"props":5164,"children":5165},{"style":1563},[5166],{"type":212,"value":2090},{"type":207,"tag":215,"props":5168,"children":5169},{"style":1586},[5170],{"type":212,"value":2095},{"type":207,"tag":215,"props":5172,"children":5173},{"style":1563},[5174],{"type":212,"value":700},{"type":207,"tag":215,"props":5176,"children":5177},{"class":663,"line":4293},[5178,5182,5186,5190,5194,5198,5202,5206,5210],{"type":207,"tag":215,"props":5179,"children":5180},{"style":1563},[5181],{"type":212,"value":2108},{"type":207,"tag":215,"props":5183,"children":5184},{"style":1673},[5185],{"type":212,"value":2113},{"type":207,"tag":215,"props":5187,"children":5188},{"style":1563},[5189],{"type":212,"value":2026},{"type":207,"tag":215,"props":5191,"children":5192},{"style":1575},[5193],{"type":212,"value":2122},{"type":207,"tag":215,"props":5195,"children":5196},{"style":1563},[5197],{"type":212,"value":2127},{"type":207,"tag":215,"props":5199,"children":5200},{"style":1673},[5201],{"type":212,"value":2132},{"type":207,"tag":215,"props":5203,"children":5204},{"style":1563},[5205],{"type":212,"value":682},{"type":207,"tag":215,"props":5207,"children":5208},{"style":1673},[5209],{"type":212,"value":2141},{"type":207,"tag":215,"props":5211,"children":5212},{"style":1563},[5213],{"type":212,"value":1848},{"type":207,"tag":215,"props":5215,"children":5216},{"class":663,"line":4357},[5217],{"type":207,"tag":215,"props":5218,"children":5219},{"style":1563},[5220],{"type":212,"value":1037},{"type":207,"tag":215,"props":5222,"children":5224},{"class":663,"line":5223},42,[5225],{"type":207,"tag":215,"props":5226,"children":5227},{"style":1563},[5228],{"type":212,"value":2162},{"type":207,"tag":215,"props":5230,"children":5232},{"class":663,"line":5231},43,[5233,5237,5241],{"type":207,"tag":215,"props":5234,"children":5235},{"style":1563},[5236],{"type":212,"value":2171},{"type":207,"tag":215,"props":5238,"children":5239},{"style":1569},[5240],{"type":212,"value":1572},{"type":207,"tag":215,"props":5242,"children":5243},{"style":1563},[5244],{"type":212,"value":1599},{"type":207,"tag":215,"props":5246,"children":5248},{"class":663,"line":5247},44,[5249],{"type":207,"tag":215,"props":5250,"children":5251},{"emptyLinePlaceholder":868},[5252],{"type":212,"value":869},{"type":207,"tag":215,"props":5254,"children":5256},{"class":663,"line":5255},45,[5257,5261,5265],{"type":207,"tag":215,"props":5258,"children":5259},{"style":1563},[5260],{"type":212,"value":1566},{"type":207,"tag":215,"props":5262,"children":5263},{"style":1569},[5264],{"type":212,"value":2200},{"type":207,"tag":215,"props":5266,"children":5267},{"style":1563},[5268],{"type":212,"value":1599},{"type":207,"tag":215,"props":5270,"children":5272},{"class":663,"line":5271},46,[5273,5277,5282,5287,5291,5296],{"type":207,"tag":215,"props":5274,"children":5275},{"style":1563},[5276],{"type":212,"value":2213},{"type":207,"tag":215,"props":5278,"children":5279},{"style":1569},[5280],{"type":212,"value":5281},"UCard",{"type":207,"tag":215,"props":5283,"children":5284},{"style":1575},[5285],{"type":212,"value":5286}," class",{"type":207,"tag":215,"props":5288,"children":5289},{"style":1563},[5290],{"type":212,"value":1583},{"type":207,"tag":215,"props":5292,"children":5293},{"style":1586},[5294],{"type":212,"value":5295},"\"w-lg\"",{"type":207,"tag":215,"props":5297,"children":5298},{"style":1563},[5299],{"type":212,"value":1599},{"type":207,"tag":215,"props":5301,"children":5303},{"class":663,"line":5302},47,[5304,5309],{"type":207,"tag":215,"props":5305,"children":5306},{"style":1563},[5307],{"type":212,"value":5308},"    \u003C",{"type":207,"tag":215,"props":5310,"children":5311},{"style":1569},[5312],{"type":212,"value":5313},"MAutoForm\n",{"type":207,"tag":215,"props":5315,"children":5317},{"class":663,"line":5316},48,[5318,5323,5327,5331,5336],{"type":207,"tag":215,"props":5319,"children":5320},{"style":1575},[5321],{"type":212,"value":5322},"      v-model",{"type":207,"tag":215,"props":5324,"children":5325},{"style":1563},[5326],{"type":212,"value":1583},{"type":207,"tag":215,"props":5328,"children":5329},{"style":1586},[5330],{"type":212,"value":2237},{"type":207,"tag":215,"props":5332,"children":5333},{"style":1563},[5334],{"type":212,"value":5335},"form",{"type":207,"tag":215,"props":5337,"children":5338},{"style":1586},[5339],{"type":212,"value":5340},"\"\n",{"type":207,"tag":215,"props":5342,"children":5344},{"class":663,"line":5343},49,[5345,5350,5354,5358,5362,5366],{"type":207,"tag":215,"props":5346,"children":5347},{"style":1563},[5348],{"type":212,"value":5349},"      :",{"type":207,"tag":215,"props":5351,"children":5352},{"style":1575},[5353],{"type":212,"value":2228},{"type":207,"tag":215,"props":5355,"children":5356},{"style":1563},[5357],{"type":212,"value":1583},{"type":207,"tag":215,"props":5359,"children":5360},{"style":1586},[5361],{"type":212,"value":2237},{"type":207,"tag":215,"props":5363,"children":5364},{"style":1563},[5365],{"type":212,"value":2228},{"type":207,"tag":215,"props":5367,"children":5368},{"style":1586},[5369],{"type":212,"value":5340},{"type":207,"tag":215,"props":5371,"children":5373},{"class":663,"line":5372},50,[5374,5378,5383,5387,5391],{"type":207,"tag":215,"props":5375,"children":5376},{"style":1563},[5377],{"type":212,"value":5349},{"type":207,"tag":215,"props":5379,"children":5380},{"style":1575},[5381],{"type":212,"value":5382},"submit-button-props",{"type":207,"tag":215,"props":5384,"children":5385},{"style":1563},[5386],{"type":212,"value":1583},{"type":207,"tag":215,"props":5388,"children":5389},{"style":1586},[5390],{"type":212,"value":2237},{"type":207,"tag":215,"props":5392,"children":5393},{"style":1563},[5394],{"type":212,"value":5395},"{\n",{"type":207,"tag":215,"props":5397,"children":5399},{"class":663,"line":5398},51,[5400],{"type":207,"tag":215,"props":5401,"children":5402},{"style":1563},[5403],{"type":212,"value":5404},"        color\n",{"type":207,"tag":215,"props":5406,"children":5408},{"class":663,"line":5407},52,[5409,5414],{"type":207,"tag":215,"props":5410,"children":5411},{"style":1563},[5412],{"type":212,"value":5413},"      }",{"type":207,"tag":215,"props":5415,"children":5416},{"style":1586},[5417],{"type":212,"value":5340},{"type":207,"tag":215,"props":5419,"children":5421},{"class":663,"line":5420},53,[5422,5427,5431,5435,5439,5443],{"type":207,"tag":215,"props":5423,"children":5424},{"style":1563},[5425],{"type":212,"value":5426},"      @",{"type":207,"tag":215,"props":5428,"children":5429},{"style":1575},[5430],{"type":212,"value":2255},{"type":207,"tag":215,"props":5432,"children":5433},{"style":1563},[5434],{"type":212,"value":1583},{"type":207,"tag":215,"props":5436,"children":5437},{"style":1586},[5438],{"type":212,"value":2237},{"type":207,"tag":215,"props":5440,"children":5441},{"style":1563},[5442],{"type":212,"value":2268},{"type":207,"tag":215,"props":5444,"children":5445},{"style":1586},[5446],{"type":212,"value":5340},{"type":207,"tag":215,"props":5448,"children":5450},{"class":663,"line":5449},54,[5451],{"type":207,"tag":215,"props":5452,"children":5453},{"style":1563},[5454],{"type":212,"value":5455},"    \u002F>\n",{"type":207,"tag":215,"props":5457,"children":5459},{"class":663,"line":5458},55,[5460,5465,5469],{"type":207,"tag":215,"props":5461,"children":5462},{"style":1563},[5463],{"type":212,"value":5464},"  \u003C\u002F",{"type":207,"tag":215,"props":5466,"children":5467},{"style":1569},[5468],{"type":212,"value":5281},{"type":207,"tag":215,"props":5470,"children":5471},{"style":1563},[5472],{"type":212,"value":1599},{"type":207,"tag":215,"props":5474,"children":5476},{"class":663,"line":5475},56,[5477,5481,5485],{"type":207,"tag":215,"props":5478,"children":5479},{"style":1563},[5480],{"type":212,"value":2171},{"type":207,"tag":215,"props":5482,"children":5483},{"style":1569},[5484],{"type":212,"value":2200},{"type":207,"tag":215,"props":5486,"children":5487},{"style":1563},[5488],{"type":212,"value":1599},{"type":207,"tag":1417,"props":5490,"children":5491},{},[5492],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":5494},[],{"data":5496,"body":5497,"toc":6145},{"title":658,"description":658},{"type":204,"children":5498},[5499,6141],{"type":207,"tag":1546,"props":5500,"children":5501},{},[5502],{"type":207,"tag":653,"props":5503,"children":5505},{"className":1551,"code":5504,"language":1553,"meta":658,"style":658},"\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",[5506],{"type":207,"tag":238,"props":5507,"children":5508},{"__ignoreMap":658},[5509,5540,5563,5586,5593,5624,5647,5654,5681,5698,5723,5756,5789,5804,5820,5836,5848,5855,5862,5869,5928,5943,5958,5973,6012,6019,6026,6041,6048,6063,6126],{"type":207,"tag":215,"props":5510,"children":5511},{"class":663,"line":664},[5512,5516,5520,5524,5528,5532,5536],{"type":207,"tag":215,"props":5513,"children":5514},{"style":1563},[5515],{"type":212,"value":1566},{"type":207,"tag":215,"props":5517,"children":5518},{"style":1569},[5519],{"type":212,"value":1572},{"type":207,"tag":215,"props":5521,"children":5522},{"style":1575},[5523],{"type":212,"value":1578},{"type":207,"tag":215,"props":5525,"children":5526},{"style":1563},[5527],{"type":212,"value":1583},{"type":207,"tag":215,"props":5529,"children":5530},{"style":1586},[5531],{"type":212,"value":1589},{"type":207,"tag":215,"props":5533,"children":5534},{"style":1575},[5535],{"type":212,"value":1594},{"type":207,"tag":215,"props":5537,"children":5538},{"style":1563},[5539],{"type":212,"value":1599},{"type":207,"tag":215,"props":5541,"children":5542},{"class":663,"line":691},[5543,5547,5551,5555,5559],{"type":207,"tag":215,"props":5544,"children":5545},{"style":1605},[5546],{"type":212,"value":854},{"type":207,"tag":215,"props":5548,"children":5549},{"style":1605},[5550],{"type":212,"value":1612},{"type":207,"tag":215,"props":5552,"children":5553},{"style":1563},[5554],{"type":212,"value":1617},{"type":207,"tag":215,"props":5556,"children":5557},{"style":1605},[5558],{"type":212,"value":860},{"type":207,"tag":215,"props":5560,"children":5561},{"style":1586},[5562],{"type":212,"value":1626},{"type":207,"tag":215,"props":5564,"children":5565},{"class":663,"line":703},[5566,5570,5574,5578,5582],{"type":207,"tag":215,"props":5567,"children":5568},{"style":1605},[5569],{"type":212,"value":854},{"type":207,"tag":215,"props":5571,"children":5572},{"style":1605},[5573],{"type":212,"value":1612},{"type":207,"tag":215,"props":5575,"children":5576},{"style":1563},[5577],{"type":212,"value":1642},{"type":207,"tag":215,"props":5579,"children":5580},{"style":1605},[5581],{"type":212,"value":860},{"type":207,"tag":215,"props":5583,"children":5584},{"style":1586},[5585],{"type":212,"value":1651},{"type":207,"tag":215,"props":5587,"children":5588},{"class":663,"line":712},[5589],{"type":207,"tag":215,"props":5590,"children":5591},{"emptyLinePlaceholder":868},[5592],{"type":212,"value":869},{"type":207,"tag":215,"props":5594,"children":5595},{"class":663,"line":779},[5596,5600,5604,5608,5612,5616,5620],{"type":207,"tag":215,"props":5597,"children":5598},{"style":1605},[5599],{"type":212,"value":935},{"type":207,"tag":215,"props":5601,"children":5602},{"style":1563},[5603],{"type":212,"value":1670},{"type":207,"tag":215,"props":5605,"children":5606},{"style":1673},[5607],{"type":212,"value":1676},{"type":207,"tag":215,"props":5609,"children":5610},{"style":1563},[5611],{"type":212,"value":1681},{"type":207,"tag":215,"props":5613,"children":5614},{"style":1605},[5615],{"type":212,"value":1583},{"type":207,"tag":215,"props":5617,"children":5618},{"style":1575},[5619],{"type":212,"value":1690},{"type":207,"tag":215,"props":5621,"children":5622},{"style":1563},[5623],{"type":212,"value":1695},{"type":207,"tag":215,"props":5625,"children":5626},{"class":663,"line":796},[5627,5631,5635,5639,5643],{"type":207,"tag":215,"props":5628,"children":5629},{"style":1605},[5630],{"type":212,"value":935},{"type":207,"tag":215,"props":5632,"children":5633},{"style":1673},[5634],{"type":212,"value":1707},{"type":207,"tag":215,"props":5636,"children":5637},{"style":1605},[5638],{"type":212,"value":942},{"type":207,"tag":215,"props":5640,"children":5641},{"style":1575},[5642],{"type":212,"value":1716},{"type":207,"tag":215,"props":5644,"children":5645},{"style":1563},[5646],{"type":212,"value":1695},{"type":207,"tag":215,"props":5648,"children":5649},{"class":663,"line":811},[5650],{"type":207,"tag":215,"props":5651,"children":5652},{"emptyLinePlaceholder":868},[5653],{"type":212,"value":869},{"type":207,"tag":215,"props":5655,"children":5656},{"class":663,"line":817},[5657,5661,5665,5669,5673,5677],{"type":207,"tag":215,"props":5658,"children":5659},{"style":1605},[5660],{"type":212,"value":935},{"type":207,"tag":215,"props":5662,"children":5663},{"style":1673},[5664],{"type":212,"value":978},{"type":207,"tag":215,"props":5666,"children":5667},{"style":1605},[5668],{"type":212,"value":942},{"type":207,"tag":215,"props":5670,"children":5671},{"style":1563},[5672],{"type":212,"value":983},{"type":207,"tag":215,"props":5674,"children":5675},{"style":1575},[5676],{"type":212,"value":986},{"type":207,"tag":215,"props":5678,"children":5679},{"style":1563},[5680],{"type":212,"value":989},{"type":207,"tag":215,"props":5682,"children":5683},{"class":663,"line":823},[5684,5689,5694],{"type":207,"tag":215,"props":5685,"children":5686},{"style":1563},[5687],{"type":212,"value":5688},"  count: afz.",{"type":207,"tag":215,"props":5690,"children":5691},{"style":1575},[5692],{"type":212,"value":5693},"number",{"type":207,"tag":215,"props":5695,"children":5696},{"style":1563},[5697],{"type":212,"value":1695},{"type":207,"tag":215,"props":5699,"children":5700},{"class":663,"line":828},[5701,5705,5710,5714,5719],{"type":207,"tag":215,"props":5702,"children":5703},{"style":1563},[5704],{"type":212,"value":1819},{"type":207,"tag":215,"props":5706,"children":5707},{"style":1575},[5708],{"type":212,"value":5709},"int",{"type":207,"tag":215,"props":5711,"children":5712},{"style":1563},[5713],{"type":212,"value":1829},{"type":207,"tag":215,"props":5715,"children":5716},{"style":1586},[5717],{"type":212,"value":5718},"'必须是整数'",{"type":207,"tag":215,"props":5720,"children":5721},{"style":1563},[5722],{"type":212,"value":1848},{"type":207,"tag":215,"props":5724,"children":5725},{"class":663,"line":834},[5726,5730,5734,5738,5743,5747,5752],{"type":207,"tag":215,"props":5727,"children":5728},{"style":1563},[5729],{"type":212,"value":1819},{"type":207,"tag":215,"props":5731,"children":5732},{"style":1575},[5733],{"type":212,"value":1824},{"type":207,"tag":215,"props":5735,"children":5736},{"style":1563},[5737],{"type":212,"value":1829},{"type":207,"tag":215,"props":5739,"children":5740},{"style":1673},[5741],{"type":212,"value":5742},"0",{"type":207,"tag":215,"props":5744,"children":5745},{"style":1563},[5746],{"type":212,"value":682},{"type":207,"tag":215,"props":5748,"children":5749},{"style":1586},[5750],{"type":212,"value":5751},"'不能小于 0'",{"type":207,"tag":215,"props":5753,"children":5754},{"style":1563},[5755],{"type":212,"value":1848},{"type":207,"tag":215,"props":5757,"children":5758},{"class":663,"line":1147},[5759,5763,5767,5771,5776,5780,5785],{"type":207,"tag":215,"props":5760,"children":5761},{"style":1563},[5762],{"type":212,"value":1819},{"type":207,"tag":215,"props":5764,"children":5765},{"style":1575},[5766],{"type":212,"value":1861},{"type":207,"tag":215,"props":5768,"children":5769},{"style":1563},[5770],{"type":212,"value":1829},{"type":207,"tag":215,"props":5772,"children":5773},{"style":1673},[5774],{"type":212,"value":5775},"100",{"type":207,"tag":215,"props":5777,"children":5778},{"style":1563},[5779],{"type":212,"value":682},{"type":207,"tag":215,"props":5781,"children":5782},{"style":1586},[5783],{"type":212,"value":5784},"'不能大于 100'",{"type":207,"tag":215,"props":5786,"children":5787},{"style":1563},[5788],{"type":212,"value":1848},{"type":207,"tag":215,"props":5790,"children":5791},{"class":663,"line":1272},[5792,5796,5800],{"type":207,"tag":215,"props":5793,"children":5794},{"style":1563},[5795],{"type":212,"value":1819},{"type":207,"tag":215,"props":5797,"children":5798},{"style":1575},[5799],{"type":212,"value":1896},{"type":207,"tag":215,"props":5801,"children":5802},{"style":1563},[5803],{"type":212,"value":989},{"type":207,"tag":215,"props":5805,"children":5806},{"class":663,"line":1278},[5807,5811,5816],{"type":207,"tag":215,"props":5808,"children":5809},{"style":1563},[5810],{"type":212,"value":1909},{"type":207,"tag":215,"props":5812,"children":5813},{"style":1586},[5814],{"type":212,"value":5815},"'数字输入'",{"type":207,"tag":215,"props":5817,"children":5818},{"style":1563},[5819],{"type":212,"value":700},{"type":207,"tag":215,"props":5821,"children":5822},{"class":663,"line":1851},[5823,5827,5832],{"type":207,"tag":215,"props":5824,"children":5825},{"style":1563},[5826],{"type":212,"value":1019},{"type":207,"tag":215,"props":5828,"children":5829},{"style":1586},[5830],{"type":212,"value":5831},"'请输入 0-100 的整数'",{"type":207,"tag":215,"props":5833,"children":5834},{"style":1563},[5835],{"type":212,"value":700},{"type":207,"tag":215,"props":5837,"children":5838},{"class":663,"line":1886},[5839,5843],{"type":207,"tag":215,"props":5840,"children":5841},{"style":1563},[5842],{"type":212,"value":1944},{"type":207,"tag":215,"props":5844,"children":5845},{"style":1586},[5846],{"type":212,"value":5847},"'支持步长、范围限制等配置'\n",{"type":207,"tag":215,"props":5849,"children":5850},{"class":663,"line":1903},[5851],{"type":207,"tag":215,"props":5852,"children":5853},{"style":1563},[5854],{"type":212,"value":1958},{"type":207,"tag":215,"props":5856,"children":5857},{"class":663,"line":1921},[5858],{"type":207,"tag":215,"props":5859,"children":5860},{"style":1563},[5861],{"type":212,"value":715},{"type":207,"tag":215,"props":5863,"children":5864},{"class":663,"line":1938},[5865],{"type":207,"tag":215,"props":5866,"children":5867},{"emptyLinePlaceholder":868},[5868],{"type":212,"value":869},{"type":207,"tag":215,"props":5870,"children":5871},{"class":663,"line":1952},[5872,5876,5880,5884,5888,5892,5896,5900,5904,5908,5912,5916,5920,5924],{"type":207,"tag":215,"props":5873,"children":5874},{"style":1605},[5875],{"type":212,"value":1983},{"type":207,"tag":215,"props":5877,"children":5878},{"style":1605},[5879],{"type":212,"value":1988},{"type":207,"tag":215,"props":5881,"children":5882},{"style":1575},[5883],{"type":212,"value":1993},{"type":207,"tag":215,"props":5885,"children":5886},{"style":1563},[5887],{"type":212,"value":1829},{"type":207,"tag":215,"props":5889,"children":5890},{"style":2000},[5891],{"type":212,"value":2003},{"type":207,"tag":215,"props":5893,"children":5894},{"style":1605},[5895],{"type":212,"value":303},{"type":207,"tag":215,"props":5897,"children":5898},{"style":1575},[5899],{"type":212,"value":2012},{"type":207,"tag":215,"props":5901,"children":5902},{"style":1563},[5903],{"type":212,"value":1566},{"type":207,"tag":215,"props":5905,"children":5906},{"style":1575},[5907],{"type":212,"value":2021},{"type":207,"tag":215,"props":5909,"children":5910},{"style":1563},[5911],{"type":212,"value":2026},{"type":207,"tag":215,"props":5913,"children":5914},{"style":1575},[5915],{"type":212,"value":2031},{"type":207,"tag":215,"props":5917,"children":5918},{"style":1563},[5919],{"type":212,"value":1566},{"type":207,"tag":215,"props":5921,"children":5922},{"style":1605},[5923],{"type":212,"value":2040},{"type":207,"tag":215,"props":5925,"children":5926},{"style":1563},[5927],{"type":212,"value":2045},{"type":207,"tag":215,"props":5929,"children":5930},{"class":663,"line":1961},[5931,5935,5939],{"type":207,"tag":215,"props":5932,"children":5933},{"style":1563},[5934],{"type":212,"value":2054},{"type":207,"tag":215,"props":5936,"children":5937},{"style":1575},[5938],{"type":212,"value":2059},{"type":207,"tag":215,"props":5940,"children":5941},{"style":1563},[5942],{"type":212,"value":989},{"type":207,"tag":215,"props":5944,"children":5945},{"class":663,"line":1969},[5946,5950,5954],{"type":207,"tag":215,"props":5947,"children":5948},{"style":1563},[5949],{"type":212,"value":2072},{"type":207,"tag":215,"props":5951,"children":5952},{"style":1586},[5953],{"type":212,"value":2077},{"type":207,"tag":215,"props":5955,"children":5956},{"style":1563},[5957],{"type":212,"value":700},{"type":207,"tag":215,"props":5959,"children":5960},{"class":663,"line":1977},[5961,5965,5969],{"type":207,"tag":215,"props":5962,"children":5963},{"style":1563},[5964],{"type":212,"value":2090},{"type":207,"tag":215,"props":5966,"children":5967},{"style":1586},[5968],{"type":212,"value":2095},{"type":207,"tag":215,"props":5970,"children":5971},{"style":1563},[5972],{"type":212,"value":700},{"type":207,"tag":215,"props":5974,"children":5975},{"class":663,"line":2048},[5976,5980,5984,5988,5992,5996,6000,6004,6008],{"type":207,"tag":215,"props":5977,"children":5978},{"style":1563},[5979],{"type":212,"value":2108},{"type":207,"tag":215,"props":5981,"children":5982},{"style":1673},[5983],{"type":212,"value":2113},{"type":207,"tag":215,"props":5985,"children":5986},{"style":1563},[5987],{"type":212,"value":2026},{"type":207,"tag":215,"props":5989,"children":5990},{"style":1575},[5991],{"type":212,"value":2122},{"type":207,"tag":215,"props":5993,"children":5994},{"style":1563},[5995],{"type":212,"value":2127},{"type":207,"tag":215,"props":5997,"children":5998},{"style":1673},[5999],{"type":212,"value":2132},{"type":207,"tag":215,"props":6001,"children":6002},{"style":1563},[6003],{"type":212,"value":682},{"type":207,"tag":215,"props":6005,"children":6006},{"style":1673},[6007],{"type":212,"value":2141},{"type":207,"tag":215,"props":6009,"children":6010},{"style":1563},[6011],{"type":212,"value":1848},{"type":207,"tag":215,"props":6013,"children":6014},{"class":663,"line":2066},[6015],{"type":207,"tag":215,"props":6016,"children":6017},{"style":1563},[6018],{"type":212,"value":1037},{"type":207,"tag":215,"props":6020,"children":6021},{"class":663,"line":2084},[6022],{"type":207,"tag":215,"props":6023,"children":6024},{"style":1563},[6025],{"type":212,"value":2162},{"type":207,"tag":215,"props":6027,"children":6028},{"class":663,"line":2102},[6029,6033,6037],{"type":207,"tag":215,"props":6030,"children":6031},{"style":1563},[6032],{"type":212,"value":2171},{"type":207,"tag":215,"props":6034,"children":6035},{"style":1569},[6036],{"type":212,"value":1572},{"type":207,"tag":215,"props":6038,"children":6039},{"style":1563},[6040],{"type":212,"value":1599},{"type":207,"tag":215,"props":6042,"children":6043},{"class":663,"line":2148},[6044],{"type":207,"tag":215,"props":6045,"children":6046},{"emptyLinePlaceholder":868},[6047],{"type":212,"value":869},{"type":207,"tag":215,"props":6049,"children":6050},{"class":663,"line":2156},[6051,6055,6059],{"type":207,"tag":215,"props":6052,"children":6053},{"style":1563},[6054],{"type":212,"value":1566},{"type":207,"tag":215,"props":6056,"children":6057},{"style":1569},[6058],{"type":212,"value":2200},{"type":207,"tag":215,"props":6060,"children":6061},{"style":1563},[6062],{"type":212,"value":1599},{"type":207,"tag":215,"props":6064,"children":6065},{"class":663,"line":2165},[6066,6070,6074,6078,6082,6086,6090,6094,6098,6102,6106,6110,6114,6118,6122],{"type":207,"tag":215,"props":6067,"children":6068},{"style":1563},[6069],{"type":212,"value":2213},{"type":207,"tag":215,"props":6071,"children":6072},{"style":1569},[6073],{"type":212,"value":2218},{"type":207,"tag":215,"props":6075,"children":6076},{"style":1563},[6077],{"type":212,"value":2223},{"type":207,"tag":215,"props":6079,"children":6080},{"style":1575},[6081],{"type":212,"value":2228},{"type":207,"tag":215,"props":6083,"children":6084},{"style":1563},[6085],{"type":212,"value":1583},{"type":207,"tag":215,"props":6087,"children":6088},{"style":1586},[6089],{"type":212,"value":2237},{"type":207,"tag":215,"props":6091,"children":6092},{"style":1563},[6093],{"type":212,"value":2228},{"type":207,"tag":215,"props":6095,"children":6096},{"style":1586},[6097],{"type":212,"value":2237},{"type":207,"tag":215,"props":6099,"children":6100},{"style":1563},[6101],{"type":212,"value":2250},{"type":207,"tag":215,"props":6103,"children":6104},{"style":1575},[6105],{"type":212,"value":2255},{"type":207,"tag":215,"props":6107,"children":6108},{"style":1563},[6109],{"type":212,"value":1583},{"type":207,"tag":215,"props":6111,"children":6112},{"style":1586},[6113],{"type":212,"value":2237},{"type":207,"tag":215,"props":6115,"children":6116},{"style":1563},[6117],{"type":212,"value":2268},{"type":207,"tag":215,"props":6119,"children":6120},{"style":1586},[6121],{"type":212,"value":2237},{"type":207,"tag":215,"props":6123,"children":6124},{"style":1563},[6125],{"type":212,"value":2277},{"type":207,"tag":215,"props":6127,"children":6128},{"class":663,"line":2182},[6129,6133,6137],{"type":207,"tag":215,"props":6130,"children":6131},{"style":1563},[6132],{"type":212,"value":2171},{"type":207,"tag":215,"props":6134,"children":6135},{"style":1569},[6136],{"type":212,"value":2200},{"type":207,"tag":215,"props":6138,"children":6139},{"style":1563},[6140],{"type":212,"value":1599},{"type":207,"tag":1417,"props":6142,"children":6143},{},[6144],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":6146},[],{"data":6148,"body":6149,"toc":6796},{"title":658,"description":658},{"type":204,"children":6150},[6151,6792],{"type":207,"tag":1546,"props":6152,"children":6153},{},[6154],{"type":207,"tag":653,"props":6155,"children":6157},{"className":1551,"code":6156,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":6159,"children":6160},{"__ignoreMap":658},[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":207,"tag":215,"props":6162,"children":6163},{"class":663,"line":664},[6164,6168,6172,6176,6180,6184,6188],{"type":207,"tag":215,"props":6165,"children":6166},{"style":1563},[6167],{"type":212,"value":1566},{"type":207,"tag":215,"props":6169,"children":6170},{"style":1569},[6171],{"type":212,"value":1572},{"type":207,"tag":215,"props":6173,"children":6174},{"style":1575},[6175],{"type":212,"value":1578},{"type":207,"tag":215,"props":6177,"children":6178},{"style":1563},[6179],{"type":212,"value":1583},{"type":207,"tag":215,"props":6181,"children":6182},{"style":1586},[6183],{"type":212,"value":1589},{"type":207,"tag":215,"props":6185,"children":6186},{"style":1575},[6187],{"type":212,"value":1594},{"type":207,"tag":215,"props":6189,"children":6190},{"style":1563},[6191],{"type":212,"value":1599},{"type":207,"tag":215,"props":6193,"children":6194},{"class":663,"line":691},[6195,6199,6203,6207,6211],{"type":207,"tag":215,"props":6196,"children":6197},{"style":1605},[6198],{"type":212,"value":854},{"type":207,"tag":215,"props":6200,"children":6201},{"style":1605},[6202],{"type":212,"value":1612},{"type":207,"tag":215,"props":6204,"children":6205},{"style":1563},[6206],{"type":212,"value":1617},{"type":207,"tag":215,"props":6208,"children":6209},{"style":1605},[6210],{"type":212,"value":860},{"type":207,"tag":215,"props":6212,"children":6213},{"style":1586},[6214],{"type":212,"value":1626},{"type":207,"tag":215,"props":6216,"children":6217},{"class":663,"line":703},[6218,6222,6226,6230,6234],{"type":207,"tag":215,"props":6219,"children":6220},{"style":1605},[6221],{"type":212,"value":854},{"type":207,"tag":215,"props":6223,"children":6224},{"style":1605},[6225],{"type":212,"value":1612},{"type":207,"tag":215,"props":6227,"children":6228},{"style":1563},[6229],{"type":212,"value":1642},{"type":207,"tag":215,"props":6231,"children":6232},{"style":1605},[6233],{"type":212,"value":860},{"type":207,"tag":215,"props":6235,"children":6236},{"style":1586},[6237],{"type":212,"value":1651},{"type":207,"tag":215,"props":6239,"children":6240},{"class":663,"line":712},[6241],{"type":207,"tag":215,"props":6242,"children":6243},{"emptyLinePlaceholder":868},[6244],{"type":212,"value":869},{"type":207,"tag":215,"props":6246,"children":6247},{"class":663,"line":779},[6248,6252,6256,6260,6264,6268,6272],{"type":207,"tag":215,"props":6249,"children":6250},{"style":1605},[6251],{"type":212,"value":935},{"type":207,"tag":215,"props":6253,"children":6254},{"style":1563},[6255],{"type":212,"value":1670},{"type":207,"tag":215,"props":6257,"children":6258},{"style":1673},[6259],{"type":212,"value":1676},{"type":207,"tag":215,"props":6261,"children":6262},{"style":1563},[6263],{"type":212,"value":1681},{"type":207,"tag":215,"props":6265,"children":6266},{"style":1605},[6267],{"type":212,"value":1583},{"type":207,"tag":215,"props":6269,"children":6270},{"style":1575},[6271],{"type":212,"value":1690},{"type":207,"tag":215,"props":6273,"children":6274},{"style":1563},[6275],{"type":212,"value":1695},{"type":207,"tag":215,"props":6277,"children":6278},{"class":663,"line":796},[6279,6283,6287,6291,6295],{"type":207,"tag":215,"props":6280,"children":6281},{"style":1605},[6282],{"type":212,"value":935},{"type":207,"tag":215,"props":6284,"children":6285},{"style":1673},[6286],{"type":212,"value":1707},{"type":207,"tag":215,"props":6288,"children":6289},{"style":1605},[6290],{"type":212,"value":942},{"type":207,"tag":215,"props":6292,"children":6293},{"style":1575},[6294],{"type":212,"value":1716},{"type":207,"tag":215,"props":6296,"children":6297},{"style":1563},[6298],{"type":212,"value":1695},{"type":207,"tag":215,"props":6300,"children":6301},{"class":663,"line":811},[6302],{"type":207,"tag":215,"props":6303,"children":6304},{"emptyLinePlaceholder":868},[6305],{"type":212,"value":869},{"type":207,"tag":215,"props":6307,"children":6308},{"class":663,"line":817},[6309,6313,6317,6321,6325,6329],{"type":207,"tag":215,"props":6310,"children":6311},{"style":1605},[6312],{"type":212,"value":935},{"type":207,"tag":215,"props":6314,"children":6315},{"style":1673},[6316],{"type":212,"value":978},{"type":207,"tag":215,"props":6318,"children":6319},{"style":1605},[6320],{"type":212,"value":942},{"type":207,"tag":215,"props":6322,"children":6323},{"style":1563},[6324],{"type":212,"value":983},{"type":207,"tag":215,"props":6326,"children":6327},{"style":1575},[6328],{"type":212,"value":986},{"type":207,"tag":215,"props":6330,"children":6331},{"style":1563},[6332],{"type":212,"value":989},{"type":207,"tag":215,"props":6334,"children":6335},{"class":663,"line":823},[6336,6341,6345],{"type":207,"tag":215,"props":6337,"children":6338},{"style":1563},[6339],{"type":212,"value":6340},"  volume: afz.",{"type":207,"tag":215,"props":6342,"children":6343},{"style":1575},[6344],{"type":212,"value":5693},{"type":207,"tag":215,"props":6346,"children":6347},{"style":1563},[6348],{"type":212,"value":989},{"type":207,"tag":215,"props":6350,"children":6351},{"class":663,"line":828},[6352,6356,6361],{"type":207,"tag":215,"props":6353,"children":6354},{"style":1563},[6355],{"type":212,"value":1004},{"type":207,"tag":215,"props":6357,"children":6358},{"style":1586},[6359],{"type":212,"value":6360},"'slider'",{"type":207,"tag":215,"props":6362,"children":6363},{"style":1563},[6364],{"type":212,"value":700},{"type":207,"tag":215,"props":6366,"children":6367},{"class":663,"line":834},[6368],{"type":207,"tag":215,"props":6369,"children":6370},{"style":1563},[6371],{"type":212,"value":1014},{"type":207,"tag":215,"props":6373,"children":6374},{"class":663,"line":1147},[6375,6380,6384],{"type":207,"tag":215,"props":6376,"children":6377},{"style":1563},[6378],{"type":212,"value":6379},"      min: ",{"type":207,"tag":215,"props":6381,"children":6382},{"style":1673},[6383],{"type":212,"value":5742},{"type":207,"tag":215,"props":6385,"children":6386},{"style":1563},[6387],{"type":212,"value":700},{"type":207,"tag":215,"props":6389,"children":6390},{"class":663,"line":1272},[6391,6396,6400],{"type":207,"tag":215,"props":6392,"children":6393},{"style":1563},[6394],{"type":212,"value":6395},"      max: ",{"type":207,"tag":215,"props":6397,"children":6398},{"style":1673},[6399],{"type":212,"value":5775},{"type":207,"tag":215,"props":6401,"children":6402},{"style":1563},[6403],{"type":212,"value":700},{"type":207,"tag":215,"props":6405,"children":6406},{"class":663,"line":1278},[6407,6412],{"type":207,"tag":215,"props":6408,"children":6409},{"style":1563},[6410],{"type":212,"value":6411},"      step: ",{"type":207,"tag":215,"props":6413,"children":6414},{"style":1673},[6415],{"type":212,"value":6416},"5\n",{"type":207,"tag":215,"props":6418,"children":6419},{"class":663,"line":1851},[6420],{"type":207,"tag":215,"props":6421,"children":6422},{"style":1563},[6423],{"type":212,"value":1032},{"type":207,"tag":215,"props":6425,"children":6426},{"class":663,"line":1886},[6427],{"type":207,"tag":215,"props":6428,"children":6429},{"style":1563},[6430],{"type":212,"value":1037},{"type":207,"tag":215,"props":6432,"children":6433},{"class":663,"line":1903},[6434,6438,6443,6447,6452],{"type":207,"tag":215,"props":6435,"children":6436},{"style":1563},[6437],{"type":212,"value":1819},{"type":207,"tag":215,"props":6439,"children":6440},{"style":1575},[6441],{"type":212,"value":6442},"default",{"type":207,"tag":215,"props":6444,"children":6445},{"style":1563},[6446],{"type":212,"value":1829},{"type":207,"tag":215,"props":6448,"children":6449},{"style":1673},[6450],{"type":212,"value":6451},"50",{"type":207,"tag":215,"props":6453,"children":6454},{"style":1563},[6455],{"type":212,"value":1848},{"type":207,"tag":215,"props":6457,"children":6458},{"class":663,"line":1921},[6459,6463,6467],{"type":207,"tag":215,"props":6460,"children":6461},{"style":1563},[6462],{"type":212,"value":1819},{"type":207,"tag":215,"props":6464,"children":6465},{"style":1575},[6466],{"type":212,"value":1896},{"type":207,"tag":215,"props":6468,"children":6469},{"style":1563},[6470],{"type":212,"value":989},{"type":207,"tag":215,"props":6472,"children":6473},{"class":663,"line":1938},[6474,6478,6483],{"type":207,"tag":215,"props":6475,"children":6476},{"style":1563},[6477],{"type":212,"value":1909},{"type":207,"tag":215,"props":6479,"children":6480},{"style":1586},[6481],{"type":212,"value":6482},"'音量滑块'",{"type":207,"tag":215,"props":6484,"children":6485},{"style":1563},[6486],{"type":212,"value":700},{"type":207,"tag":215,"props":6488,"children":6489},{"class":663,"line":1952},[6490,6494],{"type":207,"tag":215,"props":6491,"children":6492},{"style":1563},[6493],{"type":212,"value":1944},{"type":207,"tag":215,"props":6495,"children":6496},{"style":1586},[6497],{"type":212,"value":6498},"'拖动滑块调整数值，步长为 5'\n",{"type":207,"tag":215,"props":6500,"children":6501},{"class":663,"line":1961},[6502],{"type":207,"tag":215,"props":6503,"children":6504},{"style":1563},[6505],{"type":212,"value":1958},{"type":207,"tag":215,"props":6507,"children":6508},{"class":663,"line":1969},[6509],{"type":207,"tag":215,"props":6510,"children":6511},{"style":1563},[6512],{"type":212,"value":715},{"type":207,"tag":215,"props":6514,"children":6515},{"class":663,"line":1977},[6516],{"type":207,"tag":215,"props":6517,"children":6518},{"emptyLinePlaceholder":868},[6519],{"type":212,"value":869},{"type":207,"tag":215,"props":6521,"children":6522},{"class":663,"line":2048},[6523,6527,6531,6535,6539,6543,6547,6551,6555,6559,6563,6567,6571,6575],{"type":207,"tag":215,"props":6524,"children":6525},{"style":1605},[6526],{"type":212,"value":1983},{"type":207,"tag":215,"props":6528,"children":6529},{"style":1605},[6530],{"type":212,"value":1988},{"type":207,"tag":215,"props":6532,"children":6533},{"style":1575},[6534],{"type":212,"value":1993},{"type":207,"tag":215,"props":6536,"children":6537},{"style":1563},[6538],{"type":212,"value":1829},{"type":207,"tag":215,"props":6540,"children":6541},{"style":2000},[6542],{"type":212,"value":2003},{"type":207,"tag":215,"props":6544,"children":6545},{"style":1605},[6546],{"type":212,"value":303},{"type":207,"tag":215,"props":6548,"children":6549},{"style":1575},[6550],{"type":212,"value":2012},{"type":207,"tag":215,"props":6552,"children":6553},{"style":1563},[6554],{"type":212,"value":1566},{"type":207,"tag":215,"props":6556,"children":6557},{"style":1575},[6558],{"type":212,"value":2021},{"type":207,"tag":215,"props":6560,"children":6561},{"style":1563},[6562],{"type":212,"value":2026},{"type":207,"tag":215,"props":6564,"children":6565},{"style":1575},[6566],{"type":212,"value":2031},{"type":207,"tag":215,"props":6568,"children":6569},{"style":1563},[6570],{"type":212,"value":1566},{"type":207,"tag":215,"props":6572,"children":6573},{"style":1605},[6574],{"type":212,"value":2040},{"type":207,"tag":215,"props":6576,"children":6577},{"style":1563},[6578],{"type":212,"value":2045},{"type":207,"tag":215,"props":6580,"children":6581},{"class":663,"line":2066},[6582,6586,6590],{"type":207,"tag":215,"props":6583,"children":6584},{"style":1563},[6585],{"type":212,"value":2054},{"type":207,"tag":215,"props":6587,"children":6588},{"style":1575},[6589],{"type":212,"value":2059},{"type":207,"tag":215,"props":6591,"children":6592},{"style":1563},[6593],{"type":212,"value":989},{"type":207,"tag":215,"props":6595,"children":6596},{"class":663,"line":2084},[6597,6601,6605],{"type":207,"tag":215,"props":6598,"children":6599},{"style":1563},[6600],{"type":212,"value":2072},{"type":207,"tag":215,"props":6602,"children":6603},{"style":1586},[6604],{"type":212,"value":2077},{"type":207,"tag":215,"props":6606,"children":6607},{"style":1563},[6608],{"type":212,"value":700},{"type":207,"tag":215,"props":6610,"children":6611},{"class":663,"line":2102},[6612,6616,6620],{"type":207,"tag":215,"props":6613,"children":6614},{"style":1563},[6615],{"type":212,"value":2090},{"type":207,"tag":215,"props":6617,"children":6618},{"style":1586},[6619],{"type":212,"value":2095},{"type":207,"tag":215,"props":6621,"children":6622},{"style":1563},[6623],{"type":212,"value":700},{"type":207,"tag":215,"props":6625,"children":6626},{"class":663,"line":2148},[6627,6631,6635,6639,6643,6647,6651,6655,6659],{"type":207,"tag":215,"props":6628,"children":6629},{"style":1563},[6630],{"type":212,"value":2108},{"type":207,"tag":215,"props":6632,"children":6633},{"style":1673},[6634],{"type":212,"value":2113},{"type":207,"tag":215,"props":6636,"children":6637},{"style":1563},[6638],{"type":212,"value":2026},{"type":207,"tag":215,"props":6640,"children":6641},{"style":1575},[6642],{"type":212,"value":2122},{"type":207,"tag":215,"props":6644,"children":6645},{"style":1563},[6646],{"type":212,"value":2127},{"type":207,"tag":215,"props":6648,"children":6649},{"style":1673},[6650],{"type":212,"value":2132},{"type":207,"tag":215,"props":6652,"children":6653},{"style":1563},[6654],{"type":212,"value":682},{"type":207,"tag":215,"props":6656,"children":6657},{"style":1673},[6658],{"type":212,"value":2141},{"type":207,"tag":215,"props":6660,"children":6661},{"style":1563},[6662],{"type":212,"value":1848},{"type":207,"tag":215,"props":6664,"children":6665},{"class":663,"line":2156},[6666],{"type":207,"tag":215,"props":6667,"children":6668},{"style":1563},[6669],{"type":212,"value":1037},{"type":207,"tag":215,"props":6671,"children":6672},{"class":663,"line":2165},[6673],{"type":207,"tag":215,"props":6674,"children":6675},{"style":1563},[6676],{"type":212,"value":2162},{"type":207,"tag":215,"props":6678,"children":6679},{"class":663,"line":2182},[6680,6684,6688],{"type":207,"tag":215,"props":6681,"children":6682},{"style":1563},[6683],{"type":212,"value":2171},{"type":207,"tag":215,"props":6685,"children":6686},{"style":1569},[6687],{"type":212,"value":1572},{"type":207,"tag":215,"props":6689,"children":6690},{"style":1563},[6691],{"type":212,"value":1599},{"type":207,"tag":215,"props":6693,"children":6694},{"class":663,"line":2190},[6695],{"type":207,"tag":215,"props":6696,"children":6697},{"emptyLinePlaceholder":868},[6698],{"type":212,"value":869},{"type":207,"tag":215,"props":6700,"children":6701},{"class":663,"line":2207},[6702,6706,6710],{"type":207,"tag":215,"props":6703,"children":6704},{"style":1563},[6705],{"type":212,"value":1566},{"type":207,"tag":215,"props":6707,"children":6708},{"style":1569},[6709],{"type":212,"value":2200},{"type":207,"tag":215,"props":6711,"children":6712},{"style":1563},[6713],{"type":212,"value":1599},{"type":207,"tag":215,"props":6715,"children":6716},{"class":663,"line":2280},[6717,6721,6725,6729,6733,6737,6741,6745,6749,6753,6757,6761,6765,6769,6773],{"type":207,"tag":215,"props":6718,"children":6719},{"style":1563},[6720],{"type":212,"value":2213},{"type":207,"tag":215,"props":6722,"children":6723},{"style":1569},[6724],{"type":212,"value":2218},{"type":207,"tag":215,"props":6726,"children":6727},{"style":1563},[6728],{"type":212,"value":2223},{"type":207,"tag":215,"props":6730,"children":6731},{"style":1575},[6732],{"type":212,"value":2228},{"type":207,"tag":215,"props":6734,"children":6735},{"style":1563},[6736],{"type":212,"value":1583},{"type":207,"tag":215,"props":6738,"children":6739},{"style":1586},[6740],{"type":212,"value":2237},{"type":207,"tag":215,"props":6742,"children":6743},{"style":1563},[6744],{"type":212,"value":2228},{"type":207,"tag":215,"props":6746,"children":6747},{"style":1586},[6748],{"type":212,"value":2237},{"type":207,"tag":215,"props":6750,"children":6751},{"style":1563},[6752],{"type":212,"value":2250},{"type":207,"tag":215,"props":6754,"children":6755},{"style":1575},[6756],{"type":212,"value":2255},{"type":207,"tag":215,"props":6758,"children":6759},{"style":1563},[6760],{"type":212,"value":1583},{"type":207,"tag":215,"props":6762,"children":6763},{"style":1586},[6764],{"type":212,"value":2237},{"type":207,"tag":215,"props":6766,"children":6767},{"style":1563},[6768],{"type":212,"value":2268},{"type":207,"tag":215,"props":6770,"children":6771},{"style":1586},[6772],{"type":212,"value":2237},{"type":207,"tag":215,"props":6774,"children":6775},{"style":1563},[6776],{"type":212,"value":2277},{"type":207,"tag":215,"props":6778,"children":6779},{"class":663,"line":2941},[6780,6784,6788],{"type":207,"tag":215,"props":6781,"children":6782},{"style":1563},[6783],{"type":212,"value":2171},{"type":207,"tag":215,"props":6785,"children":6786},{"style":1569},[6787],{"type":212,"value":2200},{"type":207,"tag":215,"props":6789,"children":6790},{"style":1563},[6791],{"type":212,"value":1599},{"type":207,"tag":1417,"props":6793,"children":6794},{},[6795],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":6797},[],{"data":6799,"body":6800,"toc":7482},{"title":658,"description":658},{"type":204,"children":6801},[6802,7478],{"type":207,"tag":1546,"props":6803,"children":6804},{},[6805],{"type":207,"tag":653,"props":6806,"children":6808},{"className":1551,"code":6807,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":6810,"children":6811},{"__ignoreMap":658},[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":207,"tag":215,"props":6813,"children":6814},{"class":663,"line":664},[6815,6819,6823,6827,6831,6835,6839],{"type":207,"tag":215,"props":6816,"children":6817},{"style":1563},[6818],{"type":212,"value":1566},{"type":207,"tag":215,"props":6820,"children":6821},{"style":1569},[6822],{"type":212,"value":1572},{"type":207,"tag":215,"props":6824,"children":6825},{"style":1575},[6826],{"type":212,"value":1578},{"type":207,"tag":215,"props":6828,"children":6829},{"style":1563},[6830],{"type":212,"value":1583},{"type":207,"tag":215,"props":6832,"children":6833},{"style":1586},[6834],{"type":212,"value":1589},{"type":207,"tag":215,"props":6836,"children":6837},{"style":1575},[6838],{"type":212,"value":1594},{"type":207,"tag":215,"props":6840,"children":6841},{"style":1563},[6842],{"type":212,"value":1599},{"type":207,"tag":215,"props":6844,"children":6845},{"class":663,"line":691},[6846,6850,6854,6858,6862],{"type":207,"tag":215,"props":6847,"children":6848},{"style":1605},[6849],{"type":212,"value":854},{"type":207,"tag":215,"props":6851,"children":6852},{"style":1605},[6853],{"type":212,"value":1612},{"type":207,"tag":215,"props":6855,"children":6856},{"style":1563},[6857],{"type":212,"value":1617},{"type":207,"tag":215,"props":6859,"children":6860},{"style":1605},[6861],{"type":212,"value":860},{"type":207,"tag":215,"props":6863,"children":6864},{"style":1586},[6865],{"type":212,"value":1626},{"type":207,"tag":215,"props":6867,"children":6868},{"class":663,"line":703},[6869,6873,6877,6881,6885],{"type":207,"tag":215,"props":6870,"children":6871},{"style":1605},[6872],{"type":212,"value":854},{"type":207,"tag":215,"props":6874,"children":6875},{"style":1605},[6876],{"type":212,"value":1612},{"type":207,"tag":215,"props":6878,"children":6879},{"style":1563},[6880],{"type":212,"value":1642},{"type":207,"tag":215,"props":6882,"children":6883},{"style":1605},[6884],{"type":212,"value":860},{"type":207,"tag":215,"props":6886,"children":6887},{"style":1586},[6888],{"type":212,"value":1651},{"type":207,"tag":215,"props":6890,"children":6891},{"class":663,"line":712},[6892,6896,6901,6905],{"type":207,"tag":215,"props":6893,"children":6894},{"style":1605},[6895],{"type":212,"value":854},{"type":207,"tag":215,"props":6897,"children":6898},{"style":1563},[6899],{"type":212,"value":6900}," { UInputRating } ",{"type":207,"tag":215,"props":6902,"children":6903},{"style":1605},[6904],{"type":212,"value":860},{"type":207,"tag":215,"props":6906,"children":6907},{"style":1586},[6908],{"type":212,"value":6909}," '#components'\n",{"type":207,"tag":215,"props":6911,"children":6912},{"class":663,"line":779},[6913],{"type":207,"tag":215,"props":6914,"children":6915},{"emptyLinePlaceholder":868},[6916],{"type":212,"value":869},{"type":207,"tag":215,"props":6918,"children":6919},{"class":663,"line":796},[6920,6924,6928,6932,6936,6940,6944],{"type":207,"tag":215,"props":6921,"children":6922},{"style":1605},[6923],{"type":212,"value":935},{"type":207,"tag":215,"props":6925,"children":6926},{"style":1563},[6927],{"type":212,"value":1670},{"type":207,"tag":215,"props":6929,"children":6930},{"style":1673},[6931],{"type":212,"value":1676},{"type":207,"tag":215,"props":6933,"children":6934},{"style":1563},[6935],{"type":212,"value":1681},{"type":207,"tag":215,"props":6937,"children":6938},{"style":1605},[6939],{"type":212,"value":1583},{"type":207,"tag":215,"props":6941,"children":6942},{"style":1575},[6943],{"type":212,"value":1690},{"type":207,"tag":215,"props":6945,"children":6946},{"style":1563},[6947],{"type":212,"value":1695},{"type":207,"tag":215,"props":6949,"children":6950},{"class":663,"line":811},[6951,6955,6959,6963,6967],{"type":207,"tag":215,"props":6952,"children":6953},{"style":1605},[6954],{"type":212,"value":935},{"type":207,"tag":215,"props":6956,"children":6957},{"style":1673},[6958],{"type":212,"value":1707},{"type":207,"tag":215,"props":6960,"children":6961},{"style":1605},[6962],{"type":212,"value":942},{"type":207,"tag":215,"props":6964,"children":6965},{"style":1575},[6966],{"type":212,"value":1716},{"type":207,"tag":215,"props":6968,"children":6969},{"style":1563},[6970],{"type":212,"value":1695},{"type":207,"tag":215,"props":6972,"children":6973},{"class":663,"line":817},[6974],{"type":207,"tag":215,"props":6975,"children":6976},{"emptyLinePlaceholder":868},[6977],{"type":212,"value":869},{"type":207,"tag":215,"props":6979,"children":6980},{"class":663,"line":823},[6981,6985,6989,6993,6997,7001],{"type":207,"tag":215,"props":6982,"children":6983},{"style":1605},[6984],{"type":212,"value":935},{"type":207,"tag":215,"props":6986,"children":6987},{"style":1673},[6988],{"type":212,"value":978},{"type":207,"tag":215,"props":6990,"children":6991},{"style":1605},[6992],{"type":212,"value":942},{"type":207,"tag":215,"props":6994,"children":6995},{"style":1563},[6996],{"type":212,"value":983},{"type":207,"tag":215,"props":6998,"children":6999},{"style":1575},[7000],{"type":212,"value":986},{"type":207,"tag":215,"props":7002,"children":7003},{"style":1563},[7004],{"type":212,"value":989},{"type":207,"tag":215,"props":7006,"children":7007},{"class":663,"line":828},[7008,7013,7017],{"type":207,"tag":215,"props":7009,"children":7010},{"style":1563},[7011],{"type":212,"value":7012},"  rating: afz.",{"type":207,"tag":215,"props":7014,"children":7015},{"style":1575},[7016],{"type":212,"value":5693},{"type":207,"tag":215,"props":7018,"children":7019},{"style":1563},[7020],{"type":212,"value":989},{"type":207,"tag":215,"props":7022,"children":7023},{"class":663,"line":834},[7024],{"type":207,"tag":215,"props":7025,"children":7026},{"style":1563},[7027],{"type":212,"value":7028},"    component: UInputRating,\n",{"type":207,"tag":215,"props":7030,"children":7031},{"class":663,"line":1147},[7032],{"type":207,"tag":215,"props":7033,"children":7034},{"style":1563},[7035],{"type":212,"value":1014},{"type":207,"tag":215,"props":7037,"children":7038},{"class":663,"line":1272},[7039,7043,7048],{"type":207,"tag":215,"props":7040,"children":7041},{"style":1563},[7042],{"type":212,"value":6411},{"type":207,"tag":215,"props":7044,"children":7045},{"style":1673},[7046],{"type":212,"value":7047},"0.5",{"type":207,"tag":215,"props":7049,"children":7050},{"style":1563},[7051],{"type":212,"value":700},{"type":207,"tag":215,"props":7053,"children":7054},{"class":663,"line":1278},[7055,7059],{"type":207,"tag":215,"props":7056,"children":7057},{"style":1563},[7058],{"type":212,"value":3193},{"type":207,"tag":215,"props":7060,"children":7061},{"style":1673},[7062],{"type":212,"value":7063},"10\n",{"type":207,"tag":215,"props":7065,"children":7066},{"class":663,"line":1851},[7067],{"type":207,"tag":215,"props":7068,"children":7069},{"style":1563},[7070],{"type":212,"value":1032},{"type":207,"tag":215,"props":7072,"children":7073},{"class":663,"line":1886},[7074],{"type":207,"tag":215,"props":7075,"children":7076},{"style":1563},[7077],{"type":212,"value":1037},{"type":207,"tag":215,"props":7079,"children":7080},{"class":663,"line":1903},[7081,7085,7089,7093,7097,7101,7106],{"type":207,"tag":215,"props":7082,"children":7083},{"style":1563},[7084],{"type":212,"value":1819},{"type":207,"tag":215,"props":7086,"children":7087},{"style":1575},[7088],{"type":212,"value":1824},{"type":207,"tag":215,"props":7090,"children":7091},{"style":1563},[7092],{"type":212,"value":1829},{"type":207,"tag":215,"props":7094,"children":7095},{"style":1673},[7096],{"type":212,"value":5742},{"type":207,"tag":215,"props":7098,"children":7099},{"style":1563},[7100],{"type":212,"value":682},{"type":207,"tag":215,"props":7102,"children":7103},{"style":1586},[7104],{"type":212,"value":7105},"'评分不能小于 0'",{"type":207,"tag":215,"props":7107,"children":7108},{"style":1563},[7109],{"type":212,"value":1848},{"type":207,"tag":215,"props":7111,"children":7112},{"class":663,"line":1921},[7113,7117,7121,7125,7129,7133,7138],{"type":207,"tag":215,"props":7114,"children":7115},{"style":1563},[7116],{"type":212,"value":1819},{"type":207,"tag":215,"props":7118,"children":7119},{"style":1575},[7120],{"type":212,"value":1861},{"type":207,"tag":215,"props":7122,"children":7123},{"style":1563},[7124],{"type":212,"value":1829},{"type":207,"tag":215,"props":7126,"children":7127},{"style":1673},[7128],{"type":212,"value":2588},{"type":207,"tag":215,"props":7130,"children":7131},{"style":1563},[7132],{"type":212,"value":682},{"type":207,"tag":215,"props":7134,"children":7135},{"style":1586},[7136],{"type":212,"value":7137},"'评分不能大于 10'",{"type":207,"tag":215,"props":7139,"children":7140},{"style":1563},[7141],{"type":212,"value":1848},{"type":207,"tag":215,"props":7143,"children":7144},{"class":663,"line":1938},[7145,7149,7153],{"type":207,"tag":215,"props":7146,"children":7147},{"style":1563},[7148],{"type":212,"value":1819},{"type":207,"tag":215,"props":7150,"children":7151},{"style":1575},[7152],{"type":212,"value":1896},{"type":207,"tag":215,"props":7154,"children":7155},{"style":1563},[7156],{"type":212,"value":989},{"type":207,"tag":215,"props":7158,"children":7159},{"class":663,"line":1952},[7160,7164,7169],{"type":207,"tag":215,"props":7161,"children":7162},{"style":1563},[7163],{"type":212,"value":1909},{"type":207,"tag":215,"props":7165,"children":7166},{"style":1586},[7167],{"type":212,"value":7168},"'评分'",{"type":207,"tag":215,"props":7170,"children":7171},{"style":1563},[7172],{"type":212,"value":700},{"type":207,"tag":215,"props":7174,"children":7175},{"class":663,"line":1961},[7176,7180],{"type":207,"tag":215,"props":7177,"children":7178},{"style":1563},[7179],{"type":212,"value":1944},{"type":207,"tag":215,"props":7181,"children":7182},{"style":1586},[7183],{"type":212,"value":7184},"'支持半星评分'\n",{"type":207,"tag":215,"props":7186,"children":7187},{"class":663,"line":1969},[7188],{"type":207,"tag":215,"props":7189,"children":7190},{"style":1563},[7191],{"type":212,"value":1958},{"type":207,"tag":215,"props":7193,"children":7194},{"class":663,"line":1977},[7195],{"type":207,"tag":215,"props":7196,"children":7197},{"style":1563},[7198],{"type":212,"value":715},{"type":207,"tag":215,"props":7200,"children":7201},{"class":663,"line":2048},[7202],{"type":207,"tag":215,"props":7203,"children":7204},{"emptyLinePlaceholder":868},[7205],{"type":212,"value":869},{"type":207,"tag":215,"props":7207,"children":7208},{"class":663,"line":2066},[7209,7213,7217,7221,7225,7229,7233,7237,7241,7245,7249,7253,7257,7261],{"type":207,"tag":215,"props":7210,"children":7211},{"style":1605},[7212],{"type":212,"value":1983},{"type":207,"tag":215,"props":7214,"children":7215},{"style":1605},[7216],{"type":212,"value":1988},{"type":207,"tag":215,"props":7218,"children":7219},{"style":1575},[7220],{"type":212,"value":1993},{"type":207,"tag":215,"props":7222,"children":7223},{"style":1563},[7224],{"type":212,"value":1829},{"type":207,"tag":215,"props":7226,"children":7227},{"style":2000},[7228],{"type":212,"value":2003},{"type":207,"tag":215,"props":7230,"children":7231},{"style":1605},[7232],{"type":212,"value":303},{"type":207,"tag":215,"props":7234,"children":7235},{"style":1575},[7236],{"type":212,"value":2012},{"type":207,"tag":215,"props":7238,"children":7239},{"style":1563},[7240],{"type":212,"value":1566},{"type":207,"tag":215,"props":7242,"children":7243},{"style":1575},[7244],{"type":212,"value":2021},{"type":207,"tag":215,"props":7246,"children":7247},{"style":1563},[7248],{"type":212,"value":2026},{"type":207,"tag":215,"props":7250,"children":7251},{"style":1575},[7252],{"type":212,"value":2031},{"type":207,"tag":215,"props":7254,"children":7255},{"style":1563},[7256],{"type":212,"value":1566},{"type":207,"tag":215,"props":7258,"children":7259},{"style":1605},[7260],{"type":212,"value":2040},{"type":207,"tag":215,"props":7262,"children":7263},{"style":1563},[7264],{"type":212,"value":2045},{"type":207,"tag":215,"props":7266,"children":7267},{"class":663,"line":2084},[7268,7272,7276],{"type":207,"tag":215,"props":7269,"children":7270},{"style":1563},[7271],{"type":212,"value":2054},{"type":207,"tag":215,"props":7273,"children":7274},{"style":1575},[7275],{"type":212,"value":2059},{"type":207,"tag":215,"props":7277,"children":7278},{"style":1563},[7279],{"type":212,"value":989},{"type":207,"tag":215,"props":7281,"children":7282},{"class":663,"line":2102},[7283,7287,7291],{"type":207,"tag":215,"props":7284,"children":7285},{"style":1563},[7286],{"type":212,"value":2072},{"type":207,"tag":215,"props":7288,"children":7289},{"style":1586},[7290],{"type":212,"value":2077},{"type":207,"tag":215,"props":7292,"children":7293},{"style":1563},[7294],{"type":212,"value":700},{"type":207,"tag":215,"props":7296,"children":7297},{"class":663,"line":2148},[7298,7302,7306],{"type":207,"tag":215,"props":7299,"children":7300},{"style":1563},[7301],{"type":212,"value":2090},{"type":207,"tag":215,"props":7303,"children":7304},{"style":1586},[7305],{"type":212,"value":2095},{"type":207,"tag":215,"props":7307,"children":7308},{"style":1563},[7309],{"type":212,"value":700},{"type":207,"tag":215,"props":7311,"children":7312},{"class":663,"line":2156},[7313,7317,7321,7325,7329,7333,7337,7341,7345],{"type":207,"tag":215,"props":7314,"children":7315},{"style":1563},[7316],{"type":212,"value":2108},{"type":207,"tag":215,"props":7318,"children":7319},{"style":1673},[7320],{"type":212,"value":2113},{"type":207,"tag":215,"props":7322,"children":7323},{"style":1563},[7324],{"type":212,"value":2026},{"type":207,"tag":215,"props":7326,"children":7327},{"style":1575},[7328],{"type":212,"value":2122},{"type":207,"tag":215,"props":7330,"children":7331},{"style":1563},[7332],{"type":212,"value":2127},{"type":207,"tag":215,"props":7334,"children":7335},{"style":1673},[7336],{"type":212,"value":2132},{"type":207,"tag":215,"props":7338,"children":7339},{"style":1563},[7340],{"type":212,"value":682},{"type":207,"tag":215,"props":7342,"children":7343},{"style":1673},[7344],{"type":212,"value":2141},{"type":207,"tag":215,"props":7346,"children":7347},{"style":1563},[7348],{"type":212,"value":1848},{"type":207,"tag":215,"props":7350,"children":7351},{"class":663,"line":2165},[7352],{"type":207,"tag":215,"props":7353,"children":7354},{"style":1563},[7355],{"type":212,"value":1037},{"type":207,"tag":215,"props":7357,"children":7358},{"class":663,"line":2182},[7359],{"type":207,"tag":215,"props":7360,"children":7361},{"style":1563},[7362],{"type":212,"value":2162},{"type":207,"tag":215,"props":7364,"children":7365},{"class":663,"line":2190},[7366,7370,7374],{"type":207,"tag":215,"props":7367,"children":7368},{"style":1563},[7369],{"type":212,"value":2171},{"type":207,"tag":215,"props":7371,"children":7372},{"style":1569},[7373],{"type":212,"value":1572},{"type":207,"tag":215,"props":7375,"children":7376},{"style":1563},[7377],{"type":212,"value":1599},{"type":207,"tag":215,"props":7379,"children":7380},{"class":663,"line":2207},[7381],{"type":207,"tag":215,"props":7382,"children":7383},{"emptyLinePlaceholder":868},[7384],{"type":212,"value":869},{"type":207,"tag":215,"props":7386,"children":7387},{"class":663,"line":2280},[7388,7392,7396],{"type":207,"tag":215,"props":7389,"children":7390},{"style":1563},[7391],{"type":212,"value":1566},{"type":207,"tag":215,"props":7393,"children":7394},{"style":1569},[7395],{"type":212,"value":2200},{"type":207,"tag":215,"props":7397,"children":7398},{"style":1563},[7399],{"type":212,"value":1599},{"type":207,"tag":215,"props":7401,"children":7402},{"class":663,"line":2941},[7403,7407,7411,7415,7419,7423,7427,7431,7435,7439,7443,7447,7451,7455,7459],{"type":207,"tag":215,"props":7404,"children":7405},{"style":1563},[7406],{"type":212,"value":2213},{"type":207,"tag":215,"props":7408,"children":7409},{"style":1569},[7410],{"type":212,"value":2218},{"type":207,"tag":215,"props":7412,"children":7413},{"style":1563},[7414],{"type":212,"value":2223},{"type":207,"tag":215,"props":7416,"children":7417},{"style":1575},[7418],{"type":212,"value":2228},{"type":207,"tag":215,"props":7420,"children":7421},{"style":1563},[7422],{"type":212,"value":1583},{"type":207,"tag":215,"props":7424,"children":7425},{"style":1586},[7426],{"type":212,"value":2237},{"type":207,"tag":215,"props":7428,"children":7429},{"style":1563},[7430],{"type":212,"value":2228},{"type":207,"tag":215,"props":7432,"children":7433},{"style":1586},[7434],{"type":212,"value":2237},{"type":207,"tag":215,"props":7436,"children":7437},{"style":1563},[7438],{"type":212,"value":2250},{"type":207,"tag":215,"props":7440,"children":7441},{"style":1575},[7442],{"type":212,"value":2255},{"type":207,"tag":215,"props":7444,"children":7445},{"style":1563},[7446],{"type":212,"value":1583},{"type":207,"tag":215,"props":7448,"children":7449},{"style":1586},[7450],{"type":212,"value":2237},{"type":207,"tag":215,"props":7452,"children":7453},{"style":1563},[7454],{"type":212,"value":2268},{"type":207,"tag":215,"props":7456,"children":7457},{"style":1586},[7458],{"type":212,"value":2237},{"type":207,"tag":215,"props":7460,"children":7461},{"style":1563},[7462],{"type":212,"value":2277},{"type":207,"tag":215,"props":7464,"children":7465},{"class":663,"line":4245},[7466,7470,7474],{"type":207,"tag":215,"props":7467,"children":7468},{"style":1563},[7469],{"type":212,"value":2171},{"type":207,"tag":215,"props":7471,"children":7472},{"style":1569},[7473],{"type":212,"value":2200},{"type":207,"tag":215,"props":7475,"children":7476},{"style":1563},[7477],{"type":212,"value":1599},{"type":207,"tag":1417,"props":7479,"children":7480},{},[7481],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":7483},[],{"data":7485,"body":7486,"toc":8098},{"title":658,"description":658},{"type":204,"children":7487},[7488,8094],{"type":207,"tag":1546,"props":7489,"children":7490},{},[7491],{"type":207,"tag":653,"props":7492,"children":7494},{"className":1551,"code":7493,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":7496,"children":7497},{"__ignoreMap":658},[7498,7529,7552,7575,7582,7613,7636,7643,7670,7687,7694,7706,7713,7720,7774,7789,7801,7808,7815,7822,7881,7896,7911,7926,7965,7972,7979,7994,8001,8016,8079],{"type":207,"tag":215,"props":7499,"children":7500},{"class":663,"line":664},[7501,7505,7509,7513,7517,7521,7525],{"type":207,"tag":215,"props":7502,"children":7503},{"style":1563},[7504],{"type":212,"value":1566},{"type":207,"tag":215,"props":7506,"children":7507},{"style":1569},[7508],{"type":212,"value":1572},{"type":207,"tag":215,"props":7510,"children":7511},{"style":1575},[7512],{"type":212,"value":1578},{"type":207,"tag":215,"props":7514,"children":7515},{"style":1563},[7516],{"type":212,"value":1583},{"type":207,"tag":215,"props":7518,"children":7519},{"style":1586},[7520],{"type":212,"value":1589},{"type":207,"tag":215,"props":7522,"children":7523},{"style":1575},[7524],{"type":212,"value":1594},{"type":207,"tag":215,"props":7526,"children":7527},{"style":1563},[7528],{"type":212,"value":1599},{"type":207,"tag":215,"props":7530,"children":7531},{"class":663,"line":691},[7532,7536,7540,7544,7548],{"type":207,"tag":215,"props":7533,"children":7534},{"style":1605},[7535],{"type":212,"value":854},{"type":207,"tag":215,"props":7537,"children":7538},{"style":1605},[7539],{"type":212,"value":1612},{"type":207,"tag":215,"props":7541,"children":7542},{"style":1563},[7543],{"type":212,"value":1617},{"type":207,"tag":215,"props":7545,"children":7546},{"style":1605},[7547],{"type":212,"value":860},{"type":207,"tag":215,"props":7549,"children":7550},{"style":1586},[7551],{"type":212,"value":1626},{"type":207,"tag":215,"props":7553,"children":7554},{"class":663,"line":703},[7555,7559,7563,7567,7571],{"type":207,"tag":215,"props":7556,"children":7557},{"style":1605},[7558],{"type":212,"value":854},{"type":207,"tag":215,"props":7560,"children":7561},{"style":1605},[7562],{"type":212,"value":1612},{"type":207,"tag":215,"props":7564,"children":7565},{"style":1563},[7566],{"type":212,"value":1642},{"type":207,"tag":215,"props":7568,"children":7569},{"style":1605},[7570],{"type":212,"value":860},{"type":207,"tag":215,"props":7572,"children":7573},{"style":1586},[7574],{"type":212,"value":1651},{"type":207,"tag":215,"props":7576,"children":7577},{"class":663,"line":712},[7578],{"type":207,"tag":215,"props":7579,"children":7580},{"emptyLinePlaceholder":868},[7581],{"type":212,"value":869},{"type":207,"tag":215,"props":7583,"children":7584},{"class":663,"line":779},[7585,7589,7593,7597,7601,7605,7609],{"type":207,"tag":215,"props":7586,"children":7587},{"style":1605},[7588],{"type":212,"value":935},{"type":207,"tag":215,"props":7590,"children":7591},{"style":1563},[7592],{"type":212,"value":1670},{"type":207,"tag":215,"props":7594,"children":7595},{"style":1673},[7596],{"type":212,"value":1676},{"type":207,"tag":215,"props":7598,"children":7599},{"style":1563},[7600],{"type":212,"value":1681},{"type":207,"tag":215,"props":7602,"children":7603},{"style":1605},[7604],{"type":212,"value":1583},{"type":207,"tag":215,"props":7606,"children":7607},{"style":1575},[7608],{"type":212,"value":1690},{"type":207,"tag":215,"props":7610,"children":7611},{"style":1563},[7612],{"type":212,"value":1695},{"type":207,"tag":215,"props":7614,"children":7615},{"class":663,"line":796},[7616,7620,7624,7628,7632],{"type":207,"tag":215,"props":7617,"children":7618},{"style":1605},[7619],{"type":212,"value":935},{"type":207,"tag":215,"props":7621,"children":7622},{"style":1673},[7623],{"type":212,"value":1707},{"type":207,"tag":215,"props":7625,"children":7626},{"style":1605},[7627],{"type":212,"value":942},{"type":207,"tag":215,"props":7629,"children":7630},{"style":1575},[7631],{"type":212,"value":1716},{"type":207,"tag":215,"props":7633,"children":7634},{"style":1563},[7635],{"type":212,"value":1695},{"type":207,"tag":215,"props":7637,"children":7638},{"class":663,"line":811},[7639],{"type":207,"tag":215,"props":7640,"children":7641},{"emptyLinePlaceholder":868},[7642],{"type":212,"value":869},{"type":207,"tag":215,"props":7644,"children":7645},{"class":663,"line":817},[7646,7650,7654,7658,7662,7666],{"type":207,"tag":215,"props":7647,"children":7648},{"style":1605},[7649],{"type":212,"value":935},{"type":207,"tag":215,"props":7651,"children":7652},{"style":1673},[7653],{"type":212,"value":978},{"type":207,"tag":215,"props":7655,"children":7656},{"style":1605},[7657],{"type":212,"value":942},{"type":207,"tag":215,"props":7659,"children":7660},{"style":1563},[7661],{"type":212,"value":983},{"type":207,"tag":215,"props":7663,"children":7664},{"style":1575},[7665],{"type":212,"value":986},{"type":207,"tag":215,"props":7667,"children":7668},{"style":1563},[7669],{"type":212,"value":989},{"type":207,"tag":215,"props":7671,"children":7672},{"class":663,"line":823},[7673,7678,7683],{"type":207,"tag":215,"props":7674,"children":7675},{"style":1563},[7676],{"type":212,"value":7677},"  agree: afz.",{"type":207,"tag":215,"props":7679,"children":7680},{"style":1575},[7681],{"type":212,"value":7682},"boolean",{"type":207,"tag":215,"props":7684,"children":7685},{"style":1563},[7686],{"type":212,"value":989},{"type":207,"tag":215,"props":7688,"children":7689},{"class":663,"line":828},[7690],{"type":207,"tag":215,"props":7691,"children":7692},{"style":1563},[7693],{"type":212,"value":1014},{"type":207,"tag":215,"props":7695,"children":7696},{"class":663,"line":834},[7697,7701],{"type":207,"tag":215,"props":7698,"children":7699},{"style":1563},[7700],{"type":212,"value":1909},{"type":207,"tag":215,"props":7702,"children":7703},{"style":1586},[7704],{"type":212,"value":7705},"'我已阅读并同意服务条款'\n",{"type":207,"tag":215,"props":7707,"children":7708},{"class":663,"line":1147},[7709],{"type":207,"tag":215,"props":7710,"children":7711},{"style":1563},[7712],{"type":212,"value":1032},{"type":207,"tag":215,"props":7714,"children":7715},{"class":663,"line":1272},[7716],{"type":207,"tag":215,"props":7717,"children":7718},{"style":1563},[7719],{"type":212,"value":1037},{"type":207,"tag":215,"props":7721,"children":7722},{"class":663,"line":1278},[7723,7727,7732,7736,7741,7746,7751,7756,7761,7765,7770],{"type":207,"tag":215,"props":7724,"children":7725},{"style":1563},[7726],{"type":212,"value":1819},{"type":207,"tag":215,"props":7728,"children":7729},{"style":1575},[7730],{"type":212,"value":7731},"refine",{"type":207,"tag":215,"props":7733,"children":7734},{"style":1563},[7735],{"type":212,"value":1829},{"type":207,"tag":215,"props":7737,"children":7738},{"style":2000},[7739],{"type":212,"value":7740},"val",{"type":207,"tag":215,"props":7742,"children":7743},{"style":1605},[7744],{"type":212,"value":7745}," =>",{"type":207,"tag":215,"props":7747,"children":7748},{"style":1563},[7749],{"type":212,"value":7750}," val ",{"type":207,"tag":215,"props":7752,"children":7753},{"style":1605},[7754],{"type":212,"value":7755},"===",{"type":207,"tag":215,"props":7757,"children":7758},{"style":1673},[7759],{"type":212,"value":7760}," true",{"type":207,"tag":215,"props":7762,"children":7763},{"style":1563},[7764],{"type":212,"value":682},{"type":207,"tag":215,"props":7766,"children":7767},{"style":1586},[7768],{"type":212,"value":7769},"'必须同意条款才能继续'",{"type":207,"tag":215,"props":7771,"children":7772},{"style":1563},[7773],{"type":212,"value":1848},{"type":207,"tag":215,"props":7775,"children":7776},{"class":663,"line":1851},[7777,7781,7785],{"type":207,"tag":215,"props":7778,"children":7779},{"style":1563},[7780],{"type":212,"value":1819},{"type":207,"tag":215,"props":7782,"children":7783},{"style":1575},[7784],{"type":212,"value":1896},{"type":207,"tag":215,"props":7786,"children":7787},{"style":1563},[7788],{"type":212,"value":989},{"type":207,"tag":215,"props":7790,"children":7791},{"class":663,"line":1886},[7792,7796],{"type":207,"tag":215,"props":7793,"children":7794},{"style":1563},[7795],{"type":212,"value":1909},{"type":207,"tag":215,"props":7797,"children":7798},{"style":1586},[7799],{"type":212,"value":7800},"'复选框'\n",{"type":207,"tag":215,"props":7802,"children":7803},{"class":663,"line":1903},[7804],{"type":207,"tag":215,"props":7805,"children":7806},{"style":1563},[7807],{"type":212,"value":1958},{"type":207,"tag":215,"props":7809,"children":7810},{"class":663,"line":1921},[7811],{"type":207,"tag":215,"props":7812,"children":7813},{"style":1563},[7814],{"type":212,"value":715},{"type":207,"tag":215,"props":7816,"children":7817},{"class":663,"line":1938},[7818],{"type":207,"tag":215,"props":7819,"children":7820},{"emptyLinePlaceholder":868},[7821],{"type":212,"value":869},{"type":207,"tag":215,"props":7823,"children":7824},{"class":663,"line":1952},[7825,7829,7833,7837,7841,7845,7849,7853,7857,7861,7865,7869,7873,7877],{"type":207,"tag":215,"props":7826,"children":7827},{"style":1605},[7828],{"type":212,"value":1983},{"type":207,"tag":215,"props":7830,"children":7831},{"style":1605},[7832],{"type":212,"value":1988},{"type":207,"tag":215,"props":7834,"children":7835},{"style":1575},[7836],{"type":212,"value":1993},{"type":207,"tag":215,"props":7838,"children":7839},{"style":1563},[7840],{"type":212,"value":1829},{"type":207,"tag":215,"props":7842,"children":7843},{"style":2000},[7844],{"type":212,"value":2003},{"type":207,"tag":215,"props":7846,"children":7847},{"style":1605},[7848],{"type":212,"value":303},{"type":207,"tag":215,"props":7850,"children":7851},{"style":1575},[7852],{"type":212,"value":2012},{"type":207,"tag":215,"props":7854,"children":7855},{"style":1563},[7856],{"type":212,"value":1566},{"type":207,"tag":215,"props":7858,"children":7859},{"style":1575},[7860],{"type":212,"value":2021},{"type":207,"tag":215,"props":7862,"children":7863},{"style":1563},[7864],{"type":212,"value":2026},{"type":207,"tag":215,"props":7866,"children":7867},{"style":1575},[7868],{"type":212,"value":2031},{"type":207,"tag":215,"props":7870,"children":7871},{"style":1563},[7872],{"type":212,"value":1566},{"type":207,"tag":215,"props":7874,"children":7875},{"style":1605},[7876],{"type":212,"value":2040},{"type":207,"tag":215,"props":7878,"children":7879},{"style":1563},[7880],{"type":212,"value":2045},{"type":207,"tag":215,"props":7882,"children":7883},{"class":663,"line":1961},[7884,7888,7892],{"type":207,"tag":215,"props":7885,"children":7886},{"style":1563},[7887],{"type":212,"value":2054},{"type":207,"tag":215,"props":7889,"children":7890},{"style":1575},[7891],{"type":212,"value":2059},{"type":207,"tag":215,"props":7893,"children":7894},{"style":1563},[7895],{"type":212,"value":989},{"type":207,"tag":215,"props":7897,"children":7898},{"class":663,"line":1969},[7899,7903,7907],{"type":207,"tag":215,"props":7900,"children":7901},{"style":1563},[7902],{"type":212,"value":2072},{"type":207,"tag":215,"props":7904,"children":7905},{"style":1586},[7906],{"type":212,"value":2077},{"type":207,"tag":215,"props":7908,"children":7909},{"style":1563},[7910],{"type":212,"value":700},{"type":207,"tag":215,"props":7912,"children":7913},{"class":663,"line":1977},[7914,7918,7922],{"type":207,"tag":215,"props":7915,"children":7916},{"style":1563},[7917],{"type":212,"value":2090},{"type":207,"tag":215,"props":7919,"children":7920},{"style":1586},[7921],{"type":212,"value":2095},{"type":207,"tag":215,"props":7923,"children":7924},{"style":1563},[7925],{"type":212,"value":700},{"type":207,"tag":215,"props":7927,"children":7928},{"class":663,"line":2048},[7929,7933,7937,7941,7945,7949,7953,7957,7961],{"type":207,"tag":215,"props":7930,"children":7931},{"style":1563},[7932],{"type":212,"value":2108},{"type":207,"tag":215,"props":7934,"children":7935},{"style":1673},[7936],{"type":212,"value":2113},{"type":207,"tag":215,"props":7938,"children":7939},{"style":1563},[7940],{"type":212,"value":2026},{"type":207,"tag":215,"props":7942,"children":7943},{"style":1575},[7944],{"type":212,"value":2122},{"type":207,"tag":215,"props":7946,"children":7947},{"style":1563},[7948],{"type":212,"value":2127},{"type":207,"tag":215,"props":7950,"children":7951},{"style":1673},[7952],{"type":212,"value":2132},{"type":207,"tag":215,"props":7954,"children":7955},{"style":1563},[7956],{"type":212,"value":682},{"type":207,"tag":215,"props":7958,"children":7959},{"style":1673},[7960],{"type":212,"value":2141},{"type":207,"tag":215,"props":7962,"children":7963},{"style":1563},[7964],{"type":212,"value":1848},{"type":207,"tag":215,"props":7966,"children":7967},{"class":663,"line":2066},[7968],{"type":207,"tag":215,"props":7969,"children":7970},{"style":1563},[7971],{"type":212,"value":1037},{"type":207,"tag":215,"props":7973,"children":7974},{"class":663,"line":2084},[7975],{"type":207,"tag":215,"props":7976,"children":7977},{"style":1563},[7978],{"type":212,"value":2162},{"type":207,"tag":215,"props":7980,"children":7981},{"class":663,"line":2102},[7982,7986,7990],{"type":207,"tag":215,"props":7983,"children":7984},{"style":1563},[7985],{"type":212,"value":2171},{"type":207,"tag":215,"props":7987,"children":7988},{"style":1569},[7989],{"type":212,"value":1572},{"type":207,"tag":215,"props":7991,"children":7992},{"style":1563},[7993],{"type":212,"value":1599},{"type":207,"tag":215,"props":7995,"children":7996},{"class":663,"line":2148},[7997],{"type":207,"tag":215,"props":7998,"children":7999},{"emptyLinePlaceholder":868},[8000],{"type":212,"value":869},{"type":207,"tag":215,"props":8002,"children":8003},{"class":663,"line":2156},[8004,8008,8012],{"type":207,"tag":215,"props":8005,"children":8006},{"style":1563},[8007],{"type":212,"value":1566},{"type":207,"tag":215,"props":8009,"children":8010},{"style":1569},[8011],{"type":212,"value":2200},{"type":207,"tag":215,"props":8013,"children":8014},{"style":1563},[8015],{"type":212,"value":1599},{"type":207,"tag":215,"props":8017,"children":8018},{"class":663,"line":2165},[8019,8023,8027,8031,8035,8039,8043,8047,8051,8055,8059,8063,8067,8071,8075],{"type":207,"tag":215,"props":8020,"children":8021},{"style":1563},[8022],{"type":212,"value":2213},{"type":207,"tag":215,"props":8024,"children":8025},{"style":1569},[8026],{"type":212,"value":2218},{"type":207,"tag":215,"props":8028,"children":8029},{"style":1563},[8030],{"type":212,"value":2223},{"type":207,"tag":215,"props":8032,"children":8033},{"style":1575},[8034],{"type":212,"value":2228},{"type":207,"tag":215,"props":8036,"children":8037},{"style":1563},[8038],{"type":212,"value":1583},{"type":207,"tag":215,"props":8040,"children":8041},{"style":1586},[8042],{"type":212,"value":2237},{"type":207,"tag":215,"props":8044,"children":8045},{"style":1563},[8046],{"type":212,"value":2228},{"type":207,"tag":215,"props":8048,"children":8049},{"style":1586},[8050],{"type":212,"value":2237},{"type":207,"tag":215,"props":8052,"children":8053},{"style":1563},[8054],{"type":212,"value":2250},{"type":207,"tag":215,"props":8056,"children":8057},{"style":1575},[8058],{"type":212,"value":2255},{"type":207,"tag":215,"props":8060,"children":8061},{"style":1563},[8062],{"type":212,"value":1583},{"type":207,"tag":215,"props":8064,"children":8065},{"style":1586},[8066],{"type":212,"value":2237},{"type":207,"tag":215,"props":8068,"children":8069},{"style":1563},[8070],{"type":212,"value":2268},{"type":207,"tag":215,"props":8072,"children":8073},{"style":1586},[8074],{"type":212,"value":2237},{"type":207,"tag":215,"props":8076,"children":8077},{"style":1563},[8078],{"type":212,"value":2277},{"type":207,"tag":215,"props":8080,"children":8081},{"class":663,"line":2182},[8082,8086,8090],{"type":207,"tag":215,"props":8083,"children":8084},{"style":1563},[8085],{"type":212,"value":2171},{"type":207,"tag":215,"props":8087,"children":8088},{"style":1569},[8089],{"type":212,"value":2200},{"type":207,"tag":215,"props":8091,"children":8092},{"style":1563},[8093],{"type":212,"value":1599},{"type":207,"tag":1417,"props":8095,"children":8096},{},[8097],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":8099},[],{"data":8101,"body":8102,"toc":8684},{"title":658,"description":658},{"type":204,"children":8103},[8104,8680],{"type":207,"tag":1546,"props":8105,"children":8106},{},[8107],{"type":207,"tag":653,"props":8108,"children":8110},{"className":1551,"code":8109,"language":1553,"meta":658,"style":658},"\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",[8111],{"type":207,"tag":238,"props":8112,"children":8113},{"__ignoreMap":658},[8114,8145,8168,8191,8198,8229,8252,8259,8286,8302,8314,8321,8344,8359,8375,8387,8394,8401,8408,8467,8482,8497,8512,8551,8558,8565,8580,8587,8602,8665],{"type":207,"tag":215,"props":8115,"children":8116},{"class":663,"line":664},[8117,8121,8125,8129,8133,8137,8141],{"type":207,"tag":215,"props":8118,"children":8119},{"style":1563},[8120],{"type":212,"value":1566},{"type":207,"tag":215,"props":8122,"children":8123},{"style":1569},[8124],{"type":212,"value":1572},{"type":207,"tag":215,"props":8126,"children":8127},{"style":1575},[8128],{"type":212,"value":1578},{"type":207,"tag":215,"props":8130,"children":8131},{"style":1563},[8132],{"type":212,"value":1583},{"type":207,"tag":215,"props":8134,"children":8135},{"style":1586},[8136],{"type":212,"value":1589},{"type":207,"tag":215,"props":8138,"children":8139},{"style":1575},[8140],{"type":212,"value":1594},{"type":207,"tag":215,"props":8142,"children":8143},{"style":1563},[8144],{"type":212,"value":1599},{"type":207,"tag":215,"props":8146,"children":8147},{"class":663,"line":691},[8148,8152,8156,8160,8164],{"type":207,"tag":215,"props":8149,"children":8150},{"style":1605},[8151],{"type":212,"value":854},{"type":207,"tag":215,"props":8153,"children":8154},{"style":1605},[8155],{"type":212,"value":1612},{"type":207,"tag":215,"props":8157,"children":8158},{"style":1563},[8159],{"type":212,"value":1617},{"type":207,"tag":215,"props":8161,"children":8162},{"style":1605},[8163],{"type":212,"value":860},{"type":207,"tag":215,"props":8165,"children":8166},{"style":1586},[8167],{"type":212,"value":1626},{"type":207,"tag":215,"props":8169,"children":8170},{"class":663,"line":703},[8171,8175,8179,8183,8187],{"type":207,"tag":215,"props":8172,"children":8173},{"style":1605},[8174],{"type":212,"value":854},{"type":207,"tag":215,"props":8176,"children":8177},{"style":1605},[8178],{"type":212,"value":1612},{"type":207,"tag":215,"props":8180,"children":8181},{"style":1563},[8182],{"type":212,"value":1642},{"type":207,"tag":215,"props":8184,"children":8185},{"style":1605},[8186],{"type":212,"value":860},{"type":207,"tag":215,"props":8188,"children":8189},{"style":1586},[8190],{"type":212,"value":1651},{"type":207,"tag":215,"props":8192,"children":8193},{"class":663,"line":712},[8194],{"type":207,"tag":215,"props":8195,"children":8196},{"emptyLinePlaceholder":868},[8197],{"type":212,"value":869},{"type":207,"tag":215,"props":8199,"children":8200},{"class":663,"line":779},[8201,8205,8209,8213,8217,8221,8225],{"type":207,"tag":215,"props":8202,"children":8203},{"style":1605},[8204],{"type":212,"value":935},{"type":207,"tag":215,"props":8206,"children":8207},{"style":1563},[8208],{"type":212,"value":1670},{"type":207,"tag":215,"props":8210,"children":8211},{"style":1673},[8212],{"type":212,"value":1676},{"type":207,"tag":215,"props":8214,"children":8215},{"style":1563},[8216],{"type":212,"value":1681},{"type":207,"tag":215,"props":8218,"children":8219},{"style":1605},[8220],{"type":212,"value":1583},{"type":207,"tag":215,"props":8222,"children":8223},{"style":1575},[8224],{"type":212,"value":1690},{"type":207,"tag":215,"props":8226,"children":8227},{"style":1563},[8228],{"type":212,"value":1695},{"type":207,"tag":215,"props":8230,"children":8231},{"class":663,"line":796},[8232,8236,8240,8244,8248],{"type":207,"tag":215,"props":8233,"children":8234},{"style":1605},[8235],{"type":212,"value":935},{"type":207,"tag":215,"props":8237,"children":8238},{"style":1673},[8239],{"type":212,"value":1707},{"type":207,"tag":215,"props":8241,"children":8242},{"style":1605},[8243],{"type":212,"value":942},{"type":207,"tag":215,"props":8245,"children":8246},{"style":1575},[8247],{"type":212,"value":1716},{"type":207,"tag":215,"props":8249,"children":8250},{"style":1563},[8251],{"type":212,"value":1695},{"type":207,"tag":215,"props":8253,"children":8254},{"class":663,"line":811},[8255],{"type":207,"tag":215,"props":8256,"children":8257},{"emptyLinePlaceholder":868},[8258],{"type":212,"value":869},{"type":207,"tag":215,"props":8260,"children":8261},{"class":663,"line":817},[8262,8266,8270,8274,8278,8282],{"type":207,"tag":215,"props":8263,"children":8264},{"style":1605},[8265],{"type":212,"value":935},{"type":207,"tag":215,"props":8267,"children":8268},{"style":1673},[8269],{"type":212,"value":978},{"type":207,"tag":215,"props":8271,"children":8272},{"style":1605},[8273],{"type":212,"value":942},{"type":207,"tag":215,"props":8275,"children":8276},{"style":1563},[8277],{"type":212,"value":983},{"type":207,"tag":215,"props":8279,"children":8280},{"style":1575},[8281],{"type":212,"value":986},{"type":207,"tag":215,"props":8283,"children":8284},{"style":1563},[8285],{"type":212,"value":989},{"type":207,"tag":215,"props":8287,"children":8288},{"class":663,"line":823},[8289,8294,8298],{"type":207,"tag":215,"props":8290,"children":8291},{"style":1563},[8292],{"type":212,"value":8293},"  enabled: afz.",{"type":207,"tag":215,"props":8295,"children":8296},{"style":1575},[8297],{"type":212,"value":7682},{"type":207,"tag":215,"props":8299,"children":8300},{"style":1563},[8301],{"type":212,"value":989},{"type":207,"tag":215,"props":8303,"children":8304},{"class":663,"line":828},[8305,8309],{"type":207,"tag":215,"props":8306,"children":8307},{"style":1563},[8308],{"type":212,"value":1004},{"type":207,"tag":215,"props":8310,"children":8311},{"style":1586},[8312],{"type":212,"value":8313},"'switch'\n",{"type":207,"tag":215,"props":8315,"children":8316},{"class":663,"line":834},[8317],{"type":207,"tag":215,"props":8318,"children":8319},{"style":1563},[8320],{"type":212,"value":1037},{"type":207,"tag":215,"props":8322,"children":8323},{"class":663,"line":1147},[8324,8328,8332,8336,8340],{"type":207,"tag":215,"props":8325,"children":8326},{"style":1563},[8327],{"type":212,"value":1819},{"type":207,"tag":215,"props":8329,"children":8330},{"style":1575},[8331],{"type":212,"value":6442},{"type":207,"tag":215,"props":8333,"children":8334},{"style":1563},[8335],{"type":212,"value":1829},{"type":207,"tag":215,"props":8337,"children":8338},{"style":1673},[8339],{"type":212,"value":265},{"type":207,"tag":215,"props":8341,"children":8342},{"style":1563},[8343],{"type":212,"value":1848},{"type":207,"tag":215,"props":8345,"children":8346},{"class":663,"line":1272},[8347,8351,8355],{"type":207,"tag":215,"props":8348,"children":8349},{"style":1563},[8350],{"type":212,"value":1819},{"type":207,"tag":215,"props":8352,"children":8353},{"style":1575},[8354],{"type":212,"value":1896},{"type":207,"tag":215,"props":8356,"children":8357},{"style":1563},[8358],{"type":212,"value":989},{"type":207,"tag":215,"props":8360,"children":8361},{"class":663,"line":1278},[8362,8366,8371],{"type":207,"tag":215,"props":8363,"children":8364},{"style":1563},[8365],{"type":212,"value":1909},{"type":207,"tag":215,"props":8367,"children":8368},{"style":1586},[8369],{"type":212,"value":8370},"'开关'",{"type":207,"tag":215,"props":8372,"children":8373},{"style":1563},[8374],{"type":212,"value":700},{"type":207,"tag":215,"props":8376,"children":8377},{"class":663,"line":1851},[8378,8382],{"type":207,"tag":215,"props":8379,"children":8380},{"style":1563},[8381],{"type":212,"value":1944},{"type":207,"tag":215,"props":8383,"children":8384},{"style":1586},[8385],{"type":212,"value":8386},"'切换功能启用\u002F禁用状态'\n",{"type":207,"tag":215,"props":8388,"children":8389},{"class":663,"line":1886},[8390],{"type":207,"tag":215,"props":8391,"children":8392},{"style":1563},[8393],{"type":212,"value":1958},{"type":207,"tag":215,"props":8395,"children":8396},{"class":663,"line":1903},[8397],{"type":207,"tag":215,"props":8398,"children":8399},{"style":1563},[8400],{"type":212,"value":715},{"type":207,"tag":215,"props":8402,"children":8403},{"class":663,"line":1921},[8404],{"type":207,"tag":215,"props":8405,"children":8406},{"emptyLinePlaceholder":868},[8407],{"type":212,"value":869},{"type":207,"tag":215,"props":8409,"children":8410},{"class":663,"line":1938},[8411,8415,8419,8423,8427,8431,8435,8439,8443,8447,8451,8455,8459,8463],{"type":207,"tag":215,"props":8412,"children":8413},{"style":1605},[8414],{"type":212,"value":1983},{"type":207,"tag":215,"props":8416,"children":8417},{"style":1605},[8418],{"type":212,"value":1988},{"type":207,"tag":215,"props":8420,"children":8421},{"style":1575},[8422],{"type":212,"value":1993},{"type":207,"tag":215,"props":8424,"children":8425},{"style":1563},[8426],{"type":212,"value":1829},{"type":207,"tag":215,"props":8428,"children":8429},{"style":2000},[8430],{"type":212,"value":2003},{"type":207,"tag":215,"props":8432,"children":8433},{"style":1605},[8434],{"type":212,"value":303},{"type":207,"tag":215,"props":8436,"children":8437},{"style":1575},[8438],{"type":212,"value":2012},{"type":207,"tag":215,"props":8440,"children":8441},{"style":1563},[8442],{"type":212,"value":1566},{"type":207,"tag":215,"props":8444,"children":8445},{"style":1575},[8446],{"type":212,"value":2021},{"type":207,"tag":215,"props":8448,"children":8449},{"style":1563},[8450],{"type":212,"value":2026},{"type":207,"tag":215,"props":8452,"children":8453},{"style":1575},[8454],{"type":212,"value":2031},{"type":207,"tag":215,"props":8456,"children":8457},{"style":1563},[8458],{"type":212,"value":1566},{"type":207,"tag":215,"props":8460,"children":8461},{"style":1605},[8462],{"type":212,"value":2040},{"type":207,"tag":215,"props":8464,"children":8465},{"style":1563},[8466],{"type":212,"value":2045},{"type":207,"tag":215,"props":8468,"children":8469},{"class":663,"line":1952},[8470,8474,8478],{"type":207,"tag":215,"props":8471,"children":8472},{"style":1563},[8473],{"type":212,"value":2054},{"type":207,"tag":215,"props":8475,"children":8476},{"style":1575},[8477],{"type":212,"value":2059},{"type":207,"tag":215,"props":8479,"children":8480},{"style":1563},[8481],{"type":212,"value":989},{"type":207,"tag":215,"props":8483,"children":8484},{"class":663,"line":1961},[8485,8489,8493],{"type":207,"tag":215,"props":8486,"children":8487},{"style":1563},[8488],{"type":212,"value":2072},{"type":207,"tag":215,"props":8490,"children":8491},{"style":1586},[8492],{"type":212,"value":2077},{"type":207,"tag":215,"props":8494,"children":8495},{"style":1563},[8496],{"type":212,"value":700},{"type":207,"tag":215,"props":8498,"children":8499},{"class":663,"line":1969},[8500,8504,8508],{"type":207,"tag":215,"props":8501,"children":8502},{"style":1563},[8503],{"type":212,"value":2090},{"type":207,"tag":215,"props":8505,"children":8506},{"style":1586},[8507],{"type":212,"value":2095},{"type":207,"tag":215,"props":8509,"children":8510},{"style":1563},[8511],{"type":212,"value":700},{"type":207,"tag":215,"props":8513,"children":8514},{"class":663,"line":1977},[8515,8519,8523,8527,8531,8535,8539,8543,8547],{"type":207,"tag":215,"props":8516,"children":8517},{"style":1563},[8518],{"type":212,"value":2108},{"type":207,"tag":215,"props":8520,"children":8521},{"style":1673},[8522],{"type":212,"value":2113},{"type":207,"tag":215,"props":8524,"children":8525},{"style":1563},[8526],{"type":212,"value":2026},{"type":207,"tag":215,"props":8528,"children":8529},{"style":1575},[8530],{"type":212,"value":2122},{"type":207,"tag":215,"props":8532,"children":8533},{"style":1563},[8534],{"type":212,"value":2127},{"type":207,"tag":215,"props":8536,"children":8537},{"style":1673},[8538],{"type":212,"value":2132},{"type":207,"tag":215,"props":8540,"children":8541},{"style":1563},[8542],{"type":212,"value":682},{"type":207,"tag":215,"props":8544,"children":8545},{"style":1673},[8546],{"type":212,"value":2141},{"type":207,"tag":215,"props":8548,"children":8549},{"style":1563},[8550],{"type":212,"value":1848},{"type":207,"tag":215,"props":8552,"children":8553},{"class":663,"line":2048},[8554],{"type":207,"tag":215,"props":8555,"children":8556},{"style":1563},[8557],{"type":212,"value":1037},{"type":207,"tag":215,"props":8559,"children":8560},{"class":663,"line":2066},[8561],{"type":207,"tag":215,"props":8562,"children":8563},{"style":1563},[8564],{"type":212,"value":2162},{"type":207,"tag":215,"props":8566,"children":8567},{"class":663,"line":2084},[8568,8572,8576],{"type":207,"tag":215,"props":8569,"children":8570},{"style":1563},[8571],{"type":212,"value":2171},{"type":207,"tag":215,"props":8573,"children":8574},{"style":1569},[8575],{"type":212,"value":1572},{"type":207,"tag":215,"props":8577,"children":8578},{"style":1563},[8579],{"type":212,"value":1599},{"type":207,"tag":215,"props":8581,"children":8582},{"class":663,"line":2102},[8583],{"type":207,"tag":215,"props":8584,"children":8585},{"emptyLinePlaceholder":868},[8586],{"type":212,"value":869},{"type":207,"tag":215,"props":8588,"children":8589},{"class":663,"line":2148},[8590,8594,8598],{"type":207,"tag":215,"props":8591,"children":8592},{"style":1563},[8593],{"type":212,"value":1566},{"type":207,"tag":215,"props":8595,"children":8596},{"style":1569},[8597],{"type":212,"value":2200},{"type":207,"tag":215,"props":8599,"children":8600},{"style":1563},[8601],{"type":212,"value":1599},{"type":207,"tag":215,"props":8603,"children":8604},{"class":663,"line":2156},[8605,8609,8613,8617,8621,8625,8629,8633,8637,8641,8645,8649,8653,8657,8661],{"type":207,"tag":215,"props":8606,"children":8607},{"style":1563},[8608],{"type":212,"value":2213},{"type":207,"tag":215,"props":8610,"children":8611},{"style":1569},[8612],{"type":212,"value":2218},{"type":207,"tag":215,"props":8614,"children":8615},{"style":1563},[8616],{"type":212,"value":2223},{"type":207,"tag":215,"props":8618,"children":8619},{"style":1575},[8620],{"type":212,"value":2228},{"type":207,"tag":215,"props":8622,"children":8623},{"style":1563},[8624],{"type":212,"value":1583},{"type":207,"tag":215,"props":8626,"children":8627},{"style":1586},[8628],{"type":212,"value":2237},{"type":207,"tag":215,"props":8630,"children":8631},{"style":1563},[8632],{"type":212,"value":2228},{"type":207,"tag":215,"props":8634,"children":8635},{"style":1586},[8636],{"type":212,"value":2237},{"type":207,"tag":215,"props":8638,"children":8639},{"style":1563},[8640],{"type":212,"value":2250},{"type":207,"tag":215,"props":8642,"children":8643},{"style":1575},[8644],{"type":212,"value":2255},{"type":207,"tag":215,"props":8646,"children":8647},{"style":1563},[8648],{"type":212,"value":1583},{"type":207,"tag":215,"props":8650,"children":8651},{"style":1586},[8652],{"type":212,"value":2237},{"type":207,"tag":215,"props":8654,"children":8655},{"style":1563},[8656],{"type":212,"value":2268},{"type":207,"tag":215,"props":8658,"children":8659},{"style":1586},[8660],{"type":212,"value":2237},{"type":207,"tag":215,"props":8662,"children":8663},{"style":1563},[8664],{"type":212,"value":2277},{"type":207,"tag":215,"props":8666,"children":8667},{"class":663,"line":2165},[8668,8672,8676],{"type":207,"tag":215,"props":8669,"children":8670},{"style":1563},[8671],{"type":212,"value":2171},{"type":207,"tag":215,"props":8673,"children":8674},{"style":1569},[8675],{"type":212,"value":2200},{"type":207,"tag":215,"props":8677,"children":8678},{"style":1563},[8679],{"type":212,"value":1599},{"type":207,"tag":1417,"props":8681,"children":8682},{},[8683],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":8685},[],{"data":8687,"body":8688,"toc":9127},{"title":658,"description":658},{"type":204,"children":8689},[8690,9123],{"type":207,"tag":1546,"props":8691,"children":8692},{},[8693],{"type":207,"tag":653,"props":8694,"children":8696},{"className":1551,"code":8695,"language":1553,"meta":658,"style":658},"\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",[8697],{"type":207,"tag":238,"props":8698,"children":8699},{"__ignoreMap":658},[8700,8731,8754,8761,8792,8819,8835,8851,8878,8922,8929,8936,8986,9001,9008,9023,9108],{"type":207,"tag":215,"props":8701,"children":8702},{"class":663,"line":664},[8703,8707,8711,8715,8719,8723,8727],{"type":207,"tag":215,"props":8704,"children":8705},{"style":1563},[8706],{"type":212,"value":1566},{"type":207,"tag":215,"props":8708,"children":8709},{"style":1569},[8710],{"type":212,"value":1572},{"type":207,"tag":215,"props":8712,"children":8713},{"style":1575},[8714],{"type":212,"value":1594},{"type":207,"tag":215,"props":8716,"children":8717},{"style":1575},[8718],{"type":212,"value":1578},{"type":207,"tag":215,"props":8720,"children":8721},{"style":1563},[8722],{"type":212,"value":1583},{"type":207,"tag":215,"props":8724,"children":8725},{"style":1586},[8726],{"type":212,"value":1589},{"type":207,"tag":215,"props":8728,"children":8729},{"style":1563},[8730],{"type":212,"value":1599},{"type":207,"tag":215,"props":8732,"children":8733},{"class":663,"line":691},[8734,8738,8742,8746,8750],{"type":207,"tag":215,"props":8735,"children":8736},{"style":1605},[8737],{"type":212,"value":854},{"type":207,"tag":215,"props":8739,"children":8740},{"style":1605},[8741],{"type":212,"value":1612},{"type":207,"tag":215,"props":8743,"children":8744},{"style":1563},[8745],{"type":212,"value":1642},{"type":207,"tag":215,"props":8747,"children":8748},{"style":1605},[8749],{"type":212,"value":860},{"type":207,"tag":215,"props":8751,"children":8752},{"style":1586},[8753],{"type":212,"value":1651},{"type":207,"tag":215,"props":8755,"children":8756},{"class":663,"line":703},[8757],{"type":207,"tag":215,"props":8758,"children":8759},{"emptyLinePlaceholder":868},[8760],{"type":212,"value":869},{"type":207,"tag":215,"props":8762,"children":8763},{"class":663,"line":712},[8764,8768,8772,8776,8780,8784,8788],{"type":207,"tag":215,"props":8765,"children":8766},{"style":1605},[8767],{"type":212,"value":935},{"type":207,"tag":215,"props":8769,"children":8770},{"style":1563},[8771],{"type":212,"value":1670},{"type":207,"tag":215,"props":8773,"children":8774},{"style":1673},[8775],{"type":212,"value":1676},{"type":207,"tag":215,"props":8777,"children":8778},{"style":1563},[8779],{"type":212,"value":1681},{"type":207,"tag":215,"props":8781,"children":8782},{"style":1605},[8783],{"type":212,"value":1583},{"type":207,"tag":215,"props":8785,"children":8786},{"style":1575},[8787],{"type":212,"value":1690},{"type":207,"tag":215,"props":8789,"children":8790},{"style":1563},[8791],{"type":212,"value":1695},{"type":207,"tag":215,"props":8793,"children":8794},{"class":663,"line":779},[8795,8799,8803,8807,8811,8815],{"type":207,"tag":215,"props":8796,"children":8797},{"style":1605},[8798],{"type":212,"value":935},{"type":207,"tag":215,"props":8800,"children":8801},{"style":1673},[8802],{"type":212,"value":978},{"type":207,"tag":215,"props":8804,"children":8805},{"style":1605},[8806],{"type":212,"value":942},{"type":207,"tag":215,"props":8808,"children":8809},{"style":1563},[8810],{"type":212,"value":983},{"type":207,"tag":215,"props":8812,"children":8813},{"style":1575},[8814],{"type":212,"value":986},{"type":207,"tag":215,"props":8816,"children":8817},{"style":1563},[8818],{"type":212,"value":989},{"type":207,"tag":215,"props":8820,"children":8821},{"class":663,"line":796},[8822,8827,8831],{"type":207,"tag":215,"props":8823,"children":8824},{"style":1563},[8825],{"type":212,"value":8826},"  pinned: afz.",{"type":207,"tag":215,"props":8828,"children":8829},{"style":1575},[8830],{"type":212,"value":7682},{"type":207,"tag":215,"props":8832,"children":8833},{"style":1563},[8834],{"type":212,"value":989},{"type":207,"tag":215,"props":8836,"children":8837},{"class":663,"line":811},[8838,8842,8847],{"type":207,"tag":215,"props":8839,"children":8840},{"style":1563},[8841],{"type":212,"value":1004},{"type":207,"tag":215,"props":8843,"children":8844},{"style":1586},[8845],{"type":212,"value":8846},"'toggle'",{"type":207,"tag":215,"props":8848,"children":8849},{"style":1563},[8850],{"type":212,"value":700},{"type":207,"tag":215,"props":8852,"children":8853},{"class":663,"line":817},[8854,8859,8864,8869,8874],{"type":207,"tag":215,"props":8855,"children":8856},{"style":1563},[8857],{"type":212,"value":8858},"    controlProps: { label: ",{"type":207,"tag":215,"props":8860,"children":8861},{"style":1586},[8862],{"type":212,"value":8863},"'置顶'",{"type":207,"tag":215,"props":8865,"children":8866},{"style":1563},[8867],{"type":212,"value":8868},", activeVariant: ",{"type":207,"tag":215,"props":8870,"children":8871},{"style":1586},[8872],{"type":212,"value":8873},"'solid'",{"type":207,"tag":215,"props":8875,"children":8876},{"style":1563},[8877],{"type":212,"value":808},{"type":207,"tag":215,"props":8879,"children":8880},{"class":663,"line":823},[8881,8885,8889,8893,8898,8903,8907,8912,8917],{"type":207,"tag":215,"props":8882,"children":8883},{"style":1563},[8884],{"type":212,"value":4938},{"type":207,"tag":215,"props":8886,"children":8887},{"style":1575},[8888],{"type":212,"value":6442},{"type":207,"tag":215,"props":8890,"children":8891},{"style":1563},[8892],{"type":212,"value":1829},{"type":207,"tag":215,"props":8894,"children":8895},{"style":1673},[8896],{"type":212,"value":8897},"false",{"type":207,"tag":215,"props":8899,"children":8900},{"style":1563},[8901],{"type":212,"value":8902},").",{"type":207,"tag":215,"props":8904,"children":8905},{"style":1575},[8906],{"type":212,"value":1896},{"type":207,"tag":215,"props":8908,"children":8909},{"style":1563},[8910],{"type":212,"value":8911},"({ label: ",{"type":207,"tag":215,"props":8913,"children":8914},{"style":1586},[8915],{"type":212,"value":8916},"'文章设置'",{"type":207,"tag":215,"props":8918,"children":8919},{"style":1563},[8920],{"type":212,"value":8921}," })\n",{"type":207,"tag":215,"props":8923,"children":8924},{"class":663,"line":828},[8925],{"type":207,"tag":215,"props":8926,"children":8927},{"style":1563},[8928],{"type":212,"value":715},{"type":207,"tag":215,"props":8930,"children":8931},{"class":663,"line":834},[8932],{"type":207,"tag":215,"props":8933,"children":8934},{"emptyLinePlaceholder":868},[8935],{"type":212,"value":869},{"type":207,"tag":215,"props":8937,"children":8938},{"class":663,"line":1147},[8939,8943,8948,8952,8957,8961,8965,8969,8973,8977,8981],{"type":207,"tag":215,"props":8940,"children":8941},{"style":1605},[8942],{"type":212,"value":935},{"type":207,"tag":215,"props":8944,"children":8945},{"style":1673},[8946],{"type":212,"value":8947}," state",{"type":207,"tag":215,"props":8949,"children":8950},{"style":1605},[8951],{"type":212,"value":942},{"type":207,"tag":215,"props":8953,"children":8954},{"style":1575},[8955],{"type":212,"value":8956}," reactive",{"type":207,"tag":215,"props":8958,"children":8959},{"style":1563},[8960],{"type":212,"value":1566},{"type":207,"tag":215,"props":8962,"children":8963},{"style":1575},[8964],{"type":212,"value":2021},{"type":207,"tag":215,"props":8966,"children":8967},{"style":1563},[8968],{"type":212,"value":2026},{"type":207,"tag":215,"props":8970,"children":8971},{"style":1575},[8972],{"type":212,"value":245},{"type":207,"tag":215,"props":8974,"children":8975},{"style":1563},[8976],{"type":212,"value":1566},{"type":207,"tag":215,"props":8978,"children":8979},{"style":1605},[8980],{"type":212,"value":2040},{"type":207,"tag":215,"props":8982,"children":8983},{"style":1563},[8984],{"type":212,"value":8985}," schema>>({})\n",{"type":207,"tag":215,"props":8987,"children":8988},{"class":663,"line":1272},[8989,8993,8997],{"type":207,"tag":215,"props":8990,"children":8991},{"style":1563},[8992],{"type":212,"value":2171},{"type":207,"tag":215,"props":8994,"children":8995},{"style":1569},[8996],{"type":212,"value":1572},{"type":207,"tag":215,"props":8998,"children":8999},{"style":1563},[9000],{"type":212,"value":1599},{"type":207,"tag":215,"props":9002,"children":9003},{"class":663,"line":1278},[9004],{"type":207,"tag":215,"props":9005,"children":9006},{"emptyLinePlaceholder":868},[9007],{"type":212,"value":869},{"type":207,"tag":215,"props":9009,"children":9010},{"class":663,"line":1851},[9011,9015,9019],{"type":207,"tag":215,"props":9012,"children":9013},{"style":1563},[9014],{"type":212,"value":1566},{"type":207,"tag":215,"props":9016,"children":9017},{"style":1569},[9018],{"type":212,"value":2200},{"type":207,"tag":215,"props":9020,"children":9021},{"style":1563},[9022],{"type":212,"value":1599},{"type":207,"tag":215,"props":9024,"children":9025},{"class":663,"line":1886},[9026,9030,9034,9039,9043,9047,9052,9056,9060,9064,9068,9072,9076,9080,9084,9088,9092,9096,9100,9104],{"type":207,"tag":215,"props":9027,"children":9028},{"style":1563},[9029],{"type":212,"value":2213},{"type":207,"tag":215,"props":9031,"children":9032},{"style":1569},[9033],{"type":212,"value":2218},{"type":207,"tag":215,"props":9035,"children":9036},{"style":1575},[9037],{"type":212,"value":9038}," v-model",{"type":207,"tag":215,"props":9040,"children":9041},{"style":1563},[9042],{"type":212,"value":1583},{"type":207,"tag":215,"props":9044,"children":9045},{"style":1586},[9046],{"type":212,"value":2237},{"type":207,"tag":215,"props":9048,"children":9049},{"style":1563},[9050],{"type":212,"value":9051},"state",{"type":207,"tag":215,"props":9053,"children":9054},{"style":1586},[9055],{"type":212,"value":2237},{"type":207,"tag":215,"props":9057,"children":9058},{"style":1563},[9059],{"type":212,"value":2223},{"type":207,"tag":215,"props":9061,"children":9062},{"style":1575},[9063],{"type":212,"value":2228},{"type":207,"tag":215,"props":9065,"children":9066},{"style":1563},[9067],{"type":212,"value":1583},{"type":207,"tag":215,"props":9069,"children":9070},{"style":1586},[9071],{"type":212,"value":2237},{"type":207,"tag":215,"props":9073,"children":9074},{"style":1563},[9075],{"type":212,"value":2228},{"type":207,"tag":215,"props":9077,"children":9078},{"style":1586},[9079],{"type":212,"value":2237},{"type":207,"tag":215,"props":9081,"children":9082},{"style":1563},[9083],{"type":212,"value":2223},{"type":207,"tag":215,"props":9085,"children":9086},{"style":1575},[9087],{"type":212,"value":2255},{"type":207,"tag":215,"props":9089,"children":9090},{"style":1563},[9091],{"type":212,"value":1583},{"type":207,"tag":215,"props":9093,"children":9094},{"style":1586},[9095],{"type":212,"value":2237},{"type":207,"tag":215,"props":9097,"children":9098},{"style":1673},[9099],{"type":212,"value":8897},{"type":207,"tag":215,"props":9101,"children":9102},{"style":1586},[9103],{"type":212,"value":2237},{"type":207,"tag":215,"props":9105,"children":9106},{"style":1563},[9107],{"type":212,"value":2277},{"type":207,"tag":215,"props":9109,"children":9110},{"class":663,"line":1903},[9111,9115,9119],{"type":207,"tag":215,"props":9112,"children":9113},{"style":1563},[9114],{"type":212,"value":2171},{"type":207,"tag":215,"props":9116,"children":9117},{"style":1569},[9118],{"type":212,"value":2200},{"type":207,"tag":215,"props":9120,"children":9121},{"style":1563},[9122],{"type":212,"value":1599},{"type":207,"tag":1417,"props":9124,"children":9125},{},[9126],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":9128},[],{"data":9130,"body":9131,"toc":9857},{"title":658,"description":658},{"type":204,"children":9132},[9133,9853],{"type":207,"tag":1546,"props":9134,"children":9135},{},[9136],{"type":207,"tag":653,"props":9137,"children":9139},{"className":1551,"code":9138,"language":1553,"meta":658,"style":658},"\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",[9140],{"type":207,"tag":238,"props":9141,"children":9142},{"__ignoreMap":658},[9143,9174,9197,9220,9241,9248,9279,9302,9327,9334,9361,9389,9405,9468,9485,9493,9533,9567,9574,9581,9640,9655,9670,9685,9724,9731,9738,9753,9760,9775,9838],{"type":207,"tag":215,"props":9144,"children":9145},{"class":663,"line":664},[9146,9150,9154,9158,9162,9166,9170],{"type":207,"tag":215,"props":9147,"children":9148},{"style":1563},[9149],{"type":212,"value":1566},{"type":207,"tag":215,"props":9151,"children":9152},{"style":1569},[9153],{"type":212,"value":1572},{"type":207,"tag":215,"props":9155,"children":9156},{"style":1575},[9157],{"type":212,"value":1578},{"type":207,"tag":215,"props":9159,"children":9160},{"style":1563},[9161],{"type":212,"value":1583},{"type":207,"tag":215,"props":9163,"children":9164},{"style":1586},[9165],{"type":212,"value":1589},{"type":207,"tag":215,"props":9167,"children":9168},{"style":1575},[9169],{"type":212,"value":1594},{"type":207,"tag":215,"props":9171,"children":9172},{"style":1563},[9173],{"type":212,"value":1599},{"type":207,"tag":215,"props":9175,"children":9176},{"class":663,"line":691},[9177,9181,9185,9189,9193],{"type":207,"tag":215,"props":9178,"children":9179},{"style":1605},[9180],{"type":212,"value":854},{"type":207,"tag":215,"props":9182,"children":9183},{"style":1605},[9184],{"type":212,"value":1612},{"type":207,"tag":215,"props":9186,"children":9187},{"style":1563},[9188],{"type":212,"value":1617},{"type":207,"tag":215,"props":9190,"children":9191},{"style":1605},[9192],{"type":212,"value":860},{"type":207,"tag":215,"props":9194,"children":9195},{"style":1586},[9196],{"type":212,"value":1626},{"type":207,"tag":215,"props":9198,"children":9199},{"class":663,"line":703},[9200,9204,9208,9212,9216],{"type":207,"tag":215,"props":9201,"children":9202},{"style":1605},[9203],{"type":212,"value":854},{"type":207,"tag":215,"props":9205,"children":9206},{"style":1605},[9207],{"type":212,"value":1612},{"type":207,"tag":215,"props":9209,"children":9210},{"style":1563},[9211],{"type":212,"value":1642},{"type":207,"tag":215,"props":9213,"children":9214},{"style":1605},[9215],{"type":212,"value":860},{"type":207,"tag":215,"props":9217,"children":9218},{"style":1586},[9219],{"type":212,"value":1651},{"type":207,"tag":215,"props":9221,"children":9222},{"class":663,"line":712},[9223,9227,9232,9236],{"type":207,"tag":215,"props":9224,"children":9225},{"style":1605},[9226],{"type":212,"value":854},{"type":207,"tag":215,"props":9228,"children":9229},{"style":1563},[9230],{"type":212,"value":9231}," { CalendarDate } ",{"type":207,"tag":215,"props":9233,"children":9234},{"style":1605},[9235],{"type":212,"value":860},{"type":207,"tag":215,"props":9237,"children":9238},{"style":1586},[9239],{"type":212,"value":9240}," '@internationalized\u002Fdate'\n",{"type":207,"tag":215,"props":9242,"children":9243},{"class":663,"line":779},[9244],{"type":207,"tag":215,"props":9245,"children":9246},{"emptyLinePlaceholder":868},[9247],{"type":212,"value":869},{"type":207,"tag":215,"props":9249,"children":9250},{"class":663,"line":796},[9251,9255,9259,9263,9267,9271,9275],{"type":207,"tag":215,"props":9252,"children":9253},{"style":1605},[9254],{"type":212,"value":935},{"type":207,"tag":215,"props":9256,"children":9257},{"style":1563},[9258],{"type":212,"value":1670},{"type":207,"tag":215,"props":9260,"children":9261},{"style":1673},[9262],{"type":212,"value":1676},{"type":207,"tag":215,"props":9264,"children":9265},{"style":1563},[9266],{"type":212,"value":1681},{"type":207,"tag":215,"props":9268,"children":9269},{"style":1605},[9270],{"type":212,"value":1583},{"type":207,"tag":215,"props":9272,"children":9273},{"style":1575},[9274],{"type":212,"value":1690},{"type":207,"tag":215,"props":9276,"children":9277},{"style":1563},[9278],{"type":212,"value":1695},{"type":207,"tag":215,"props":9280,"children":9281},{"class":663,"line":811},[9282,9286,9290,9294,9298],{"type":207,"tag":215,"props":9283,"children":9284},{"style":1605},[9285],{"type":212,"value":935},{"type":207,"tag":215,"props":9287,"children":9288},{"style":1673},[9289],{"type":212,"value":1707},{"type":207,"tag":215,"props":9291,"children":9292},{"style":1605},[9293],{"type":212,"value":942},{"type":207,"tag":215,"props":9295,"children":9296},{"style":1575},[9297],{"type":212,"value":1716},{"type":207,"tag":215,"props":9299,"children":9300},{"style":1563},[9301],{"type":212,"value":1695},{"type":207,"tag":215,"props":9303,"children":9304},{"class":663,"line":817},[9305,9309,9314,9318,9323],{"type":207,"tag":215,"props":9306,"children":9307},{"style":1605},[9308],{"type":212,"value":935},{"type":207,"tag":215,"props":9310,"children":9311},{"style":1673},[9312],{"type":212,"value":9313}," formatter",{"type":207,"tag":215,"props":9315,"children":9316},{"style":1605},[9317],{"type":212,"value":942},{"type":207,"tag":215,"props":9319,"children":9320},{"style":1575},[9321],{"type":212,"value":9322}," useDateFormatter",{"type":207,"tag":215,"props":9324,"children":9325},{"style":1563},[9326],{"type":212,"value":1695},{"type":207,"tag":215,"props":9328,"children":9329},{"class":663,"line":823},[9330],{"type":207,"tag":215,"props":9331,"children":9332},{"emptyLinePlaceholder":868},[9333],{"type":212,"value":869},{"type":207,"tag":215,"props":9335,"children":9336},{"class":663,"line":828},[9337,9341,9345,9349,9353,9357],{"type":207,"tag":215,"props":9338,"children":9339},{"style":1605},[9340],{"type":212,"value":935},{"type":207,"tag":215,"props":9342,"children":9343},{"style":1673},[9344],{"type":212,"value":978},{"type":207,"tag":215,"props":9346,"children":9347},{"style":1605},[9348],{"type":212,"value":942},{"type":207,"tag":215,"props":9350,"children":9351},{"style":1563},[9352],{"type":212,"value":983},{"type":207,"tag":215,"props":9354,"children":9355},{"style":1575},[9356],{"type":212,"value":986},{"type":207,"tag":215,"props":9358,"children":9359},{"style":1563},[9360],{"type":212,"value":989},{"type":207,"tag":215,"props":9362,"children":9363},{"class":663,"line":834},[9364,9369,9374,9379,9384],{"type":207,"tag":215,"props":9365,"children":9366},{"style":1563},[9367],{"type":212,"value":9368},"  appointmentDate: afz.",{"type":207,"tag":215,"props":9370,"children":9371},{"style":1575},[9372],{"type":212,"value":9373},"calendarDate",{"type":207,"tag":215,"props":9375,"children":9376},{"style":1563},[9377],{"type":212,"value":9378},"({ controlProps: { labelFormat: ",{"type":207,"tag":215,"props":9380,"children":9381},{"style":1586},[9382],{"type":212,"value":9383},"'iso'",{"type":207,"tag":215,"props":9385,"children":9386},{"style":1563},[9387],{"type":212,"value":9388}," } })\n",{"type":207,"tag":215,"props":9390,"children":9391},{"class":663,"line":1147},[9392,9396,9400],{"type":207,"tag":215,"props":9393,"children":9394},{"style":1563},[9395],{"type":212,"value":1819},{"type":207,"tag":215,"props":9397,"children":9398},{"style":1575},[9399],{"type":212,"value":7731},{"type":207,"tag":215,"props":9401,"children":9402},{"style":1563},[9403],{"type":212,"value":9404},"(\n",{"type":207,"tag":215,"props":9406,"children":9407},{"class":663,"line":1272},[9408,9413,9417,9422,9427,9432,9437,9441,9446,9450,9455,9459,9463],{"type":207,"tag":215,"props":9409,"children":9410},{"style":2000},[9411],{"type":212,"value":9412},"      date",{"type":207,"tag":215,"props":9414,"children":9415},{"style":1605},[9416],{"type":212,"value":7745},{"type":207,"tag":215,"props":9418,"children":9419},{"style":1563},[9420],{"type":212,"value":9421}," date ",{"type":207,"tag":215,"props":9423,"children":9424},{"style":1605},[9425],{"type":212,"value":9426},">",{"type":207,"tag":215,"props":9428,"children":9429},{"style":1605},[9430],{"type":212,"value":9431}," new",{"type":207,"tag":215,"props":9433,"children":9434},{"style":1575},[9435],{"type":212,"value":9436}," CalendarDate",{"type":207,"tag":215,"props":9438,"children":9439},{"style":1563},[9440],{"type":212,"value":1829},{"type":207,"tag":215,"props":9442,"children":9443},{"style":1673},[9444],{"type":212,"value":9445},"2026",{"type":207,"tag":215,"props":9447,"children":9448},{"style":1563},[9449],{"type":212,"value":682},{"type":207,"tag":215,"props":9451,"children":9452},{"style":1673},[9453],{"type":212,"value":9454},"1",{"type":207,"tag":215,"props":9456,"children":9457},{"style":1563},[9458],{"type":212,"value":682},{"type":207,"tag":215,"props":9460,"children":9461},{"style":1673},[9462],{"type":212,"value":9454},{"type":207,"tag":215,"props":9464,"children":9465},{"style":1563},[9466],{"type":212,"value":9467},"),\n",{"type":207,"tag":215,"props":9469,"children":9470},{"class":663,"line":1278},[9471,9476,9481],{"type":207,"tag":215,"props":9472,"children":9473},{"style":1563},[9474],{"type":212,"value":9475},"      { message: ",{"type":207,"tag":215,"props":9477,"children":9478},{"style":1586},[9479],{"type":212,"value":9480},"'日期必须在 2026 年之后'",{"type":207,"tag":215,"props":9482,"children":9483},{"style":1563},[9484],{"type":212,"value":808},{"type":207,"tag":215,"props":9486,"children":9487},{"class":663,"line":1851},[9488],{"type":207,"tag":215,"props":9489,"children":9490},{"style":1563},[9491],{"type":212,"value":9492},"    )\n",{"type":207,"tag":215,"props":9494,"children":9495},{"class":663,"line":1886},[9496,9500,9505,9509,9514,9518,9523,9528],{"type":207,"tag":215,"props":9497,"children":9498},{"style":1563},[9499],{"type":212,"value":1819},{"type":207,"tag":215,"props":9501,"children":9502},{"style":1575},[9503],{"type":212,"value":9504},"transform",{"type":207,"tag":215,"props":9506,"children":9507},{"style":1563},[9508],{"type":212,"value":1829},{"type":207,"tag":215,"props":9510,"children":9511},{"style":2000},[9512],{"type":212,"value":9513},"date",{"type":207,"tag":215,"props":9515,"children":9516},{"style":1605},[9517],{"type":212,"value":7745},{"type":207,"tag":215,"props":9519,"children":9520},{"style":1563},[9521],{"type":212,"value":9522}," formatter.",{"type":207,"tag":215,"props":9524,"children":9525},{"style":1575},[9526],{"type":212,"value":9527},"toTimestamp",{"type":207,"tag":215,"props":9529,"children":9530},{"style":1563},[9531],{"type":212,"value":9532},"(date))\n",{"type":207,"tag":215,"props":9534,"children":9535},{"class":663,"line":1903},[9536,9540,9544,9548,9553,9558,9563],{"type":207,"tag":215,"props":9537,"children":9538},{"style":1563},[9539],{"type":212,"value":1819},{"type":207,"tag":215,"props":9541,"children":9542},{"style":1575},[9543],{"type":212,"value":1896},{"type":207,"tag":215,"props":9545,"children":9546},{"style":1563},[9547],{"type":212,"value":8911},{"type":207,"tag":215,"props":9549,"children":9550},{"style":1586},[9551],{"type":212,"value":9552},"'预约日期'",{"type":207,"tag":215,"props":9554,"children":9555},{"style":1563},[9556],{"type":212,"value":9557},", description: ",{"type":207,"tag":215,"props":9559,"children":9560},{"style":1586},[9561],{"type":212,"value":9562},"'请选择一个在 2026 年之后的日期'",{"type":207,"tag":215,"props":9564,"children":9565},{"style":1563},[9566],{"type":212,"value":8921},{"type":207,"tag":215,"props":9568,"children":9569},{"class":663,"line":1921},[9570],{"type":207,"tag":215,"props":9571,"children":9572},{"style":1563},[9573],{"type":212,"value":715},{"type":207,"tag":215,"props":9575,"children":9576},{"class":663,"line":1938},[9577],{"type":207,"tag":215,"props":9578,"children":9579},{"emptyLinePlaceholder":868},[9580],{"type":212,"value":869},{"type":207,"tag":215,"props":9582,"children":9583},{"class":663,"line":1952},[9584,9588,9592,9596,9600,9604,9608,9612,9616,9620,9624,9628,9632,9636],{"type":207,"tag":215,"props":9585,"children":9586},{"style":1605},[9587],{"type":212,"value":1983},{"type":207,"tag":215,"props":9589,"children":9590},{"style":1605},[9591],{"type":212,"value":1988},{"type":207,"tag":215,"props":9593,"children":9594},{"style":1575},[9595],{"type":212,"value":1993},{"type":207,"tag":215,"props":9597,"children":9598},{"style":1563},[9599],{"type":212,"value":1829},{"type":207,"tag":215,"props":9601,"children":9602},{"style":2000},[9603],{"type":212,"value":2003},{"type":207,"tag":215,"props":9605,"children":9606},{"style":1605},[9607],{"type":212,"value":303},{"type":207,"tag":215,"props":9609,"children":9610},{"style":1575},[9611],{"type":212,"value":2012},{"type":207,"tag":215,"props":9613,"children":9614},{"style":1563},[9615],{"type":212,"value":1566},{"type":207,"tag":215,"props":9617,"children":9618},{"style":1575},[9619],{"type":212,"value":2021},{"type":207,"tag":215,"props":9621,"children":9622},{"style":1563},[9623],{"type":212,"value":2026},{"type":207,"tag":215,"props":9625,"children":9626},{"style":1575},[9627],{"type":212,"value":2031},{"type":207,"tag":215,"props":9629,"children":9630},{"style":1563},[9631],{"type":212,"value":1566},{"type":207,"tag":215,"props":9633,"children":9634},{"style":1605},[9635],{"type":212,"value":2040},{"type":207,"tag":215,"props":9637,"children":9638},{"style":1563},[9639],{"type":212,"value":2045},{"type":207,"tag":215,"props":9641,"children":9642},{"class":663,"line":1961},[9643,9647,9651],{"type":207,"tag":215,"props":9644,"children":9645},{"style":1563},[9646],{"type":212,"value":2054},{"type":207,"tag":215,"props":9648,"children":9649},{"style":1575},[9650],{"type":212,"value":2059},{"type":207,"tag":215,"props":9652,"children":9653},{"style":1563},[9654],{"type":212,"value":989},{"type":207,"tag":215,"props":9656,"children":9657},{"class":663,"line":1969},[9658,9662,9666],{"type":207,"tag":215,"props":9659,"children":9660},{"style":1563},[9661],{"type":212,"value":2072},{"type":207,"tag":215,"props":9663,"children":9664},{"style":1586},[9665],{"type":212,"value":2077},{"type":207,"tag":215,"props":9667,"children":9668},{"style":1563},[9669],{"type":212,"value":700},{"type":207,"tag":215,"props":9671,"children":9672},{"class":663,"line":1977},[9673,9677,9681],{"type":207,"tag":215,"props":9674,"children":9675},{"style":1563},[9676],{"type":212,"value":2090},{"type":207,"tag":215,"props":9678,"children":9679},{"style":1586},[9680],{"type":212,"value":2095},{"type":207,"tag":215,"props":9682,"children":9683},{"style":1563},[9684],{"type":212,"value":700},{"type":207,"tag":215,"props":9686,"children":9687},{"class":663,"line":2048},[9688,9692,9696,9700,9704,9708,9712,9716,9720],{"type":207,"tag":215,"props":9689,"children":9690},{"style":1563},[9691],{"type":212,"value":2108},{"type":207,"tag":215,"props":9693,"children":9694},{"style":1673},[9695],{"type":212,"value":2113},{"type":207,"tag":215,"props":9697,"children":9698},{"style":1563},[9699],{"type":212,"value":2026},{"type":207,"tag":215,"props":9701,"children":9702},{"style":1575},[9703],{"type":212,"value":2122},{"type":207,"tag":215,"props":9705,"children":9706},{"style":1563},[9707],{"type":212,"value":2127},{"type":207,"tag":215,"props":9709,"children":9710},{"style":1673},[9711],{"type":212,"value":2132},{"type":207,"tag":215,"props":9713,"children":9714},{"style":1563},[9715],{"type":212,"value":682},{"type":207,"tag":215,"props":9717,"children":9718},{"style":1673},[9719],{"type":212,"value":2141},{"type":207,"tag":215,"props":9721,"children":9722},{"style":1563},[9723],{"type":212,"value":1848},{"type":207,"tag":215,"props":9725,"children":9726},{"class":663,"line":2066},[9727],{"type":207,"tag":215,"props":9728,"children":9729},{"style":1563},[9730],{"type":212,"value":1037},{"type":207,"tag":215,"props":9732,"children":9733},{"class":663,"line":2084},[9734],{"type":207,"tag":215,"props":9735,"children":9736},{"style":1563},[9737],{"type":212,"value":2162},{"type":207,"tag":215,"props":9739,"children":9740},{"class":663,"line":2102},[9741,9745,9749],{"type":207,"tag":215,"props":9742,"children":9743},{"style":1563},[9744],{"type":212,"value":2171},{"type":207,"tag":215,"props":9746,"children":9747},{"style":1569},[9748],{"type":212,"value":1572},{"type":207,"tag":215,"props":9750,"children":9751},{"style":1563},[9752],{"type":212,"value":1599},{"type":207,"tag":215,"props":9754,"children":9755},{"class":663,"line":2148},[9756],{"type":207,"tag":215,"props":9757,"children":9758},{"emptyLinePlaceholder":868},[9759],{"type":212,"value":869},{"type":207,"tag":215,"props":9761,"children":9762},{"class":663,"line":2156},[9763,9767,9771],{"type":207,"tag":215,"props":9764,"children":9765},{"style":1563},[9766],{"type":212,"value":1566},{"type":207,"tag":215,"props":9768,"children":9769},{"style":1569},[9770],{"type":212,"value":2200},{"type":207,"tag":215,"props":9772,"children":9773},{"style":1563},[9774],{"type":212,"value":1599},{"type":207,"tag":215,"props":9776,"children":9777},{"class":663,"line":2165},[9778,9782,9786,9790,9794,9798,9802,9806,9810,9814,9818,9822,9826,9830,9834],{"type":207,"tag":215,"props":9779,"children":9780},{"style":1563},[9781],{"type":212,"value":2213},{"type":207,"tag":215,"props":9783,"children":9784},{"style":1569},[9785],{"type":212,"value":2218},{"type":207,"tag":215,"props":9787,"children":9788},{"style":1563},[9789],{"type":212,"value":2223},{"type":207,"tag":215,"props":9791,"children":9792},{"style":1575},[9793],{"type":212,"value":2228},{"type":207,"tag":215,"props":9795,"children":9796},{"style":1563},[9797],{"type":212,"value":1583},{"type":207,"tag":215,"props":9799,"children":9800},{"style":1586},[9801],{"type":212,"value":2237},{"type":207,"tag":215,"props":9803,"children":9804},{"style":1563},[9805],{"type":212,"value":2228},{"type":207,"tag":215,"props":9807,"children":9808},{"style":1586},[9809],{"type":212,"value":2237},{"type":207,"tag":215,"props":9811,"children":9812},{"style":1563},[9813],{"type":212,"value":2250},{"type":207,"tag":215,"props":9815,"children":9816},{"style":1575},[9817],{"type":212,"value":2255},{"type":207,"tag":215,"props":9819,"children":9820},{"style":1563},[9821],{"type":212,"value":1583},{"type":207,"tag":215,"props":9823,"children":9824},{"style":1586},[9825],{"type":212,"value":2237},{"type":207,"tag":215,"props":9827,"children":9828},{"style":1563},[9829],{"type":212,"value":2268},{"type":207,"tag":215,"props":9831,"children":9832},{"style":1586},[9833],{"type":212,"value":2237},{"type":207,"tag":215,"props":9835,"children":9836},{"style":1563},[9837],{"type":212,"value":2277},{"type":207,"tag":215,"props":9839,"children":9840},{"class":663,"line":2182},[9841,9845,9849],{"type":207,"tag":215,"props":9842,"children":9843},{"style":1563},[9844],{"type":212,"value":2171},{"type":207,"tag":215,"props":9846,"children":9847},{"style":1569},[9848],{"type":212,"value":2200},{"type":207,"tag":215,"props":9850,"children":9851},{"style":1563},[9852],{"type":212,"value":1599},{"type":207,"tag":1417,"props":9854,"children":9855},{},[9856],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":9858},[],{"data":9860,"body":9861,"toc":10507},{"title":658,"description":658},{"type":204,"children":9862},[9863,10503],{"type":207,"tag":1546,"props":9864,"children":9865},{},[9866],{"type":207,"tag":653,"props":9867,"children":9869},{"className":1551,"code":9868,"language":1553,"meta":658,"style":658},"\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",[9870],{"type":207,"tag":238,"props":9871,"children":9872},{"__ignoreMap":658},[9873,9904,9927,9950,9957,9988,10011,10018,10045,10061,10068,10084,10100,10116,10129,10136,10143,10158,10174,10186,10193,10200,10240,10247,10290,10305,10320,10335,10374,10381,10388,10403,10410,10425,10488],{"type":207,"tag":215,"props":9874,"children":9875},{"class":663,"line":664},[9876,9880,9884,9888,9892,9896,9900],{"type":207,"tag":215,"props":9877,"children":9878},{"style":1563},[9879],{"type":212,"value":1566},{"type":207,"tag":215,"props":9881,"children":9882},{"style":1569},[9883],{"type":212,"value":1572},{"type":207,"tag":215,"props":9885,"children":9886},{"style":1575},[9887],{"type":212,"value":1578},{"type":207,"tag":215,"props":9889,"children":9890},{"style":1563},[9891],{"type":212,"value":1583},{"type":207,"tag":215,"props":9893,"children":9894},{"style":1586},[9895],{"type":212,"value":1589},{"type":207,"tag":215,"props":9897,"children":9898},{"style":1575},[9899],{"type":212,"value":1594},{"type":207,"tag":215,"props":9901,"children":9902},{"style":1563},[9903],{"type":212,"value":1599},{"type":207,"tag":215,"props":9905,"children":9906},{"class":663,"line":691},[9907,9911,9915,9919,9923],{"type":207,"tag":215,"props":9908,"children":9909},{"style":1605},[9910],{"type":212,"value":854},{"type":207,"tag":215,"props":9912,"children":9913},{"style":1605},[9914],{"type":212,"value":1612},{"type":207,"tag":215,"props":9916,"children":9917},{"style":1563},[9918],{"type":212,"value":1617},{"type":207,"tag":215,"props":9920,"children":9921},{"style":1605},[9922],{"type":212,"value":860},{"type":207,"tag":215,"props":9924,"children":9925},{"style":1586},[9926],{"type":212,"value":1626},{"type":207,"tag":215,"props":9928,"children":9929},{"class":663,"line":703},[9930,9934,9938,9942,9946],{"type":207,"tag":215,"props":9931,"children":9932},{"style":1605},[9933],{"type":212,"value":854},{"type":207,"tag":215,"props":9935,"children":9936},{"style":1605},[9937],{"type":212,"value":1612},{"type":207,"tag":215,"props":9939,"children":9940},{"style":1563},[9941],{"type":212,"value":1642},{"type":207,"tag":215,"props":9943,"children":9944},{"style":1605},[9945],{"type":212,"value":860},{"type":207,"tag":215,"props":9947,"children":9948},{"style":1586},[9949],{"type":212,"value":1651},{"type":207,"tag":215,"props":9951,"children":9952},{"class":663,"line":712},[9953],{"type":207,"tag":215,"props":9954,"children":9955},{"emptyLinePlaceholder":868},[9956],{"type":212,"value":869},{"type":207,"tag":215,"props":9958,"children":9959},{"class":663,"line":779},[9960,9964,9968,9972,9976,9980,9984],{"type":207,"tag":215,"props":9961,"children":9962},{"style":1605},[9963],{"type":212,"value":935},{"type":207,"tag":215,"props":9965,"children":9966},{"style":1563},[9967],{"type":212,"value":1670},{"type":207,"tag":215,"props":9969,"children":9970},{"style":1673},[9971],{"type":212,"value":1676},{"type":207,"tag":215,"props":9973,"children":9974},{"style":1563},[9975],{"type":212,"value":1681},{"type":207,"tag":215,"props":9977,"children":9978},{"style":1605},[9979],{"type":212,"value":1583},{"type":207,"tag":215,"props":9981,"children":9982},{"style":1575},[9983],{"type":212,"value":1690},{"type":207,"tag":215,"props":9985,"children":9986},{"style":1563},[9987],{"type":212,"value":1695},{"type":207,"tag":215,"props":9989,"children":9990},{"class":663,"line":796},[9991,9995,9999,10003,10007],{"type":207,"tag":215,"props":9992,"children":9993},{"style":1605},[9994],{"type":212,"value":935},{"type":207,"tag":215,"props":9996,"children":9997},{"style":1673},[9998],{"type":212,"value":1707},{"type":207,"tag":215,"props":10000,"children":10001},{"style":1605},[10002],{"type":212,"value":942},{"type":207,"tag":215,"props":10004,"children":10005},{"style":1575},[10006],{"type":212,"value":1716},{"type":207,"tag":215,"props":10008,"children":10009},{"style":1563},[10010],{"type":212,"value":1695},{"type":207,"tag":215,"props":10012,"children":10013},{"class":663,"line":811},[10014],{"type":207,"tag":215,"props":10015,"children":10016},{"emptyLinePlaceholder":868},[10017],{"type":212,"value":869},{"type":207,"tag":215,"props":10019,"children":10020},{"class":663,"line":817},[10021,10025,10029,10033,10037,10041],{"type":207,"tag":215,"props":10022,"children":10023},{"style":1605},[10024],{"type":212,"value":935},{"type":207,"tag":215,"props":10026,"children":10027},{"style":1673},[10028],{"type":212,"value":978},{"type":207,"tag":215,"props":10030,"children":10031},{"style":1605},[10032],{"type":212,"value":942},{"type":207,"tag":215,"props":10034,"children":10035},{"style":1563},[10036],{"type":212,"value":983},{"type":207,"tag":215,"props":10038,"children":10039},{"style":1575},[10040],{"type":212,"value":986},{"type":207,"tag":215,"props":10042,"children":10043},{"style":1563},[10044],{"type":212,"value":989},{"type":207,"tag":215,"props":10046,"children":10047},{"class":663,"line":823},[10048,10053,10057],{"type":207,"tag":215,"props":10049,"children":10050},{"style":1563},[10051],{"type":212,"value":10052},"  vacation: afz.",{"type":207,"tag":215,"props":10054,"children":10055},{"style":1575},[10056],{"type":212,"value":9373},{"type":207,"tag":215,"props":10058,"children":10059},{"style":1563},[10060],{"type":212,"value":989},{"type":207,"tag":215,"props":10062,"children":10063},{"class":663,"line":828},[10064],{"type":207,"tag":215,"props":10065,"children":10066},{"style":1563},[10067],{"type":212,"value":1014},{"type":207,"tag":215,"props":10069,"children":10070},{"class":663,"line":834},[10071,10076,10080],{"type":207,"tag":215,"props":10072,"children":10073},{"style":1563},[10074],{"type":212,"value":10075},"      labelFormat: ",{"type":207,"tag":215,"props":10077,"children":10078},{"style":1586},[10079],{"type":212,"value":9383},{"type":207,"tag":215,"props":10081,"children":10082},{"style":1563},[10083],{"type":212,"value":700},{"type":207,"tag":215,"props":10085,"children":10086},{"class":663,"line":1147},[10087,10092,10096],{"type":207,"tag":215,"props":10088,"children":10089},{"style":1563},[10090],{"type":212,"value":10091},"      range: ",{"type":207,"tag":215,"props":10093,"children":10094},{"style":1673},[10095],{"type":212,"value":265},{"type":207,"tag":215,"props":10097,"children":10098},{"style":1563},[10099],{"type":212,"value":700},{"type":207,"tag":215,"props":10101,"children":10102},{"class":663,"line":1272},[10103,10108,10112],{"type":207,"tag":215,"props":10104,"children":10105},{"style":1563},[10106],{"type":212,"value":10107},"      valueFormat: ",{"type":207,"tag":215,"props":10109,"children":10110},{"style":1586},[10111],{"type":212,"value":9383},{"type":207,"tag":215,"props":10113,"children":10114},{"style":1563},[10115],{"type":212,"value":700},{"type":207,"tag":215,"props":10117,"children":10118},{"class":663,"line":1278},[10119,10124],{"type":207,"tag":215,"props":10120,"children":10121},{"style":1563},[10122],{"type":212,"value":10123},"      numberOfMonths: ",{"type":207,"tag":215,"props":10125,"children":10126},{"style":1673},[10127],{"type":212,"value":10128},"2\n",{"type":207,"tag":215,"props":10130,"children":10131},{"class":663,"line":1851},[10132],{"type":207,"tag":215,"props":10133,"children":10134},{"style":1563},[10135],{"type":212,"value":1032},{"type":207,"tag":215,"props":10137,"children":10138},{"class":663,"line":1886},[10139],{"type":207,"tag":215,"props":10140,"children":10141},{"style":1563},[10142],{"type":212,"value":1037},{"type":207,"tag":215,"props":10144,"children":10145},{"class":663,"line":1903},[10146,10150,10154],{"type":207,"tag":215,"props":10147,"children":10148},{"style":1563},[10149],{"type":212,"value":1819},{"type":207,"tag":215,"props":10151,"children":10152},{"style":1575},[10153],{"type":212,"value":1896},{"type":207,"tag":215,"props":10155,"children":10156},{"style":1563},[10157],{"type":212,"value":989},{"type":207,"tag":215,"props":10159,"children":10160},{"class":663,"line":1921},[10161,10165,10170],{"type":207,"tag":215,"props":10162,"children":10163},{"style":1563},[10164],{"type":212,"value":1909},{"type":207,"tag":215,"props":10166,"children":10167},{"style":1586},[10168],{"type":212,"value":10169},"'日期范围'",{"type":207,"tag":215,"props":10171,"children":10172},{"style":1563},[10173],{"type":212,"value":700},{"type":207,"tag":215,"props":10175,"children":10176},{"class":663,"line":1938},[10177,10181],{"type":207,"tag":215,"props":10178,"children":10179},{"style":1563},[10180],{"type":212,"value":1944},{"type":207,"tag":215,"props":10182,"children":10183},{"style":1586},[10184],{"type":212,"value":10185},"'选择日期范围，显示两个月'\n",{"type":207,"tag":215,"props":10187,"children":10188},{"class":663,"line":1952},[10189],{"type":207,"tag":215,"props":10190,"children":10191},{"style":1563},[10192],{"type":212,"value":1958},{"type":207,"tag":215,"props":10194,"children":10195},{"class":663,"line":1961},[10196],{"type":207,"tag":215,"props":10197,"children":10198},{"style":1563},[10199],{"type":212,"value":715},{"type":207,"tag":215,"props":10201,"children":10202},{"class":663,"line":1969},[10203,10207,10211,10215,10219,10223,10227,10231,10235],{"type":207,"tag":215,"props":10204,"children":10205},{"style":1605},[10206],{"type":212,"value":724},{"type":207,"tag":215,"props":10208,"children":10209},{"style":1575},[10210],{"type":212,"value":4997},{"type":207,"tag":215,"props":10212,"children":10213},{"style":1605},[10214],{"type":212,"value":942},{"type":207,"tag":215,"props":10216,"children":10217},{"style":1575},[10218],{"type":212,"value":5006},{"type":207,"tag":215,"props":10220,"children":10221},{"style":1563},[10222],{"type":212,"value":2026},{"type":207,"tag":215,"props":10224,"children":10225},{"style":1575},[10226],{"type":212,"value":2031},{"type":207,"tag":215,"props":10228,"children":10229},{"style":1563},[10230],{"type":212,"value":1566},{"type":207,"tag":215,"props":10232,"children":10233},{"style":1605},[10234],{"type":212,"value":2040},{"type":207,"tag":215,"props":10236,"children":10237},{"style":1563},[10238],{"type":212,"value":10239}," schema>\n",{"type":207,"tag":215,"props":10241,"children":10242},{"class":663,"line":1977},[10243],{"type":207,"tag":215,"props":10244,"children":10245},{"emptyLinePlaceholder":868},[10246],{"type":212,"value":869},{"type":207,"tag":215,"props":10248,"children":10249},{"class":663,"line":2048},[10250,10254,10258,10262,10266,10270,10274,10278,10282,10286],{"type":207,"tag":215,"props":10251,"children":10252},{"style":1605},[10253],{"type":212,"value":1983},{"type":207,"tag":215,"props":10255,"children":10256},{"style":1605},[10257],{"type":212,"value":1988},{"type":207,"tag":215,"props":10259,"children":10260},{"style":1575},[10261],{"type":212,"value":1993},{"type":207,"tag":215,"props":10263,"children":10264},{"style":1563},[10265],{"type":212,"value":1829},{"type":207,"tag":215,"props":10267,"children":10268},{"style":2000},[10269],{"type":212,"value":2003},{"type":207,"tag":215,"props":10271,"children":10272},{"style":1605},[10273],{"type":212,"value":303},{"type":207,"tag":215,"props":10275,"children":10276},{"style":1575},[10277],{"type":212,"value":2012},{"type":207,"tag":215,"props":10279,"children":10280},{"style":1563},[10281],{"type":212,"value":1566},{"type":207,"tag":215,"props":10283,"children":10284},{"style":1575},[10285],{"type":212,"value":5073},{"type":207,"tag":215,"props":10287,"children":10288},{"style":1563},[10289],{"type":212,"value":5129},{"type":207,"tag":215,"props":10291,"children":10292},{"class":663,"line":2066},[10293,10297,10301],{"type":207,"tag":215,"props":10294,"children":10295},{"style":1563},[10296],{"type":212,"value":2054},{"type":207,"tag":215,"props":10298,"children":10299},{"style":1575},[10300],{"type":212,"value":2059},{"type":207,"tag":215,"props":10302,"children":10303},{"style":1563},[10304],{"type":212,"value":989},{"type":207,"tag":215,"props":10306,"children":10307},{"class":663,"line":2084},[10308,10312,10316],{"type":207,"tag":215,"props":10309,"children":10310},{"style":1563},[10311],{"type":212,"value":2072},{"type":207,"tag":215,"props":10313,"children":10314},{"style":1586},[10315],{"type":212,"value":2077},{"type":207,"tag":215,"props":10317,"children":10318},{"style":1563},[10319],{"type":212,"value":700},{"type":207,"tag":215,"props":10321,"children":10322},{"class":663,"line":2102},[10323,10327,10331],{"type":207,"tag":215,"props":10324,"children":10325},{"style":1563},[10326],{"type":212,"value":2090},{"type":207,"tag":215,"props":10328,"children":10329},{"style":1586},[10330],{"type":212,"value":2095},{"type":207,"tag":215,"props":10332,"children":10333},{"style":1563},[10334],{"type":212,"value":700},{"type":207,"tag":215,"props":10336,"children":10337},{"class":663,"line":2148},[10338,10342,10346,10350,10354,10358,10362,10366,10370],{"type":207,"tag":215,"props":10339,"children":10340},{"style":1563},[10341],{"type":212,"value":2108},{"type":207,"tag":215,"props":10343,"children":10344},{"style":1673},[10345],{"type":212,"value":2113},{"type":207,"tag":215,"props":10347,"children":10348},{"style":1563},[10349],{"type":212,"value":2026},{"type":207,"tag":215,"props":10351,"children":10352},{"style":1575},[10353],{"type":212,"value":2122},{"type":207,"tag":215,"props":10355,"children":10356},{"style":1563},[10357],{"type":212,"value":2127},{"type":207,"tag":215,"props":10359,"children":10360},{"style":1673},[10361],{"type":212,"value":2132},{"type":207,"tag":215,"props":10363,"children":10364},{"style":1563},[10365],{"type":212,"value":682},{"type":207,"tag":215,"props":10367,"children":10368},{"style":1673},[10369],{"type":212,"value":2141},{"type":207,"tag":215,"props":10371,"children":10372},{"style":1563},[10373],{"type":212,"value":1848},{"type":207,"tag":215,"props":10375,"children":10376},{"class":663,"line":2156},[10377],{"type":207,"tag":215,"props":10378,"children":10379},{"style":1563},[10380],{"type":212,"value":1037},{"type":207,"tag":215,"props":10382,"children":10383},{"class":663,"line":2165},[10384],{"type":207,"tag":215,"props":10385,"children":10386},{"style":1563},[10387],{"type":212,"value":2162},{"type":207,"tag":215,"props":10389,"children":10390},{"class":663,"line":2182},[10391,10395,10399],{"type":207,"tag":215,"props":10392,"children":10393},{"style":1563},[10394],{"type":212,"value":2171},{"type":207,"tag":215,"props":10396,"children":10397},{"style":1569},[10398],{"type":212,"value":1572},{"type":207,"tag":215,"props":10400,"children":10401},{"style":1563},[10402],{"type":212,"value":1599},{"type":207,"tag":215,"props":10404,"children":10405},{"class":663,"line":2190},[10406],{"type":207,"tag":215,"props":10407,"children":10408},{"emptyLinePlaceholder":868},[10409],{"type":212,"value":869},{"type":207,"tag":215,"props":10411,"children":10412},{"class":663,"line":2207},[10413,10417,10421],{"type":207,"tag":215,"props":10414,"children":10415},{"style":1563},[10416],{"type":212,"value":1566},{"type":207,"tag":215,"props":10418,"children":10419},{"style":1569},[10420],{"type":212,"value":2200},{"type":207,"tag":215,"props":10422,"children":10423},{"style":1563},[10424],{"type":212,"value":1599},{"type":207,"tag":215,"props":10426,"children":10427},{"class":663,"line":2280},[10428,10432,10436,10440,10444,10448,10452,10456,10460,10464,10468,10472,10476,10480,10484],{"type":207,"tag":215,"props":10429,"children":10430},{"style":1563},[10431],{"type":212,"value":2213},{"type":207,"tag":215,"props":10433,"children":10434},{"style":1569},[10435],{"type":212,"value":2218},{"type":207,"tag":215,"props":10437,"children":10438},{"style":1563},[10439],{"type":212,"value":2223},{"type":207,"tag":215,"props":10441,"children":10442},{"style":1575},[10443],{"type":212,"value":2228},{"type":207,"tag":215,"props":10445,"children":10446},{"style":1563},[10447],{"type":212,"value":1583},{"type":207,"tag":215,"props":10449,"children":10450},{"style":1586},[10451],{"type":212,"value":2237},{"type":207,"tag":215,"props":10453,"children":10454},{"style":1563},[10455],{"type":212,"value":2228},{"type":207,"tag":215,"props":10457,"children":10458},{"style":1586},[10459],{"type":212,"value":2237},{"type":207,"tag":215,"props":10461,"children":10462},{"style":1563},[10463],{"type":212,"value":2250},{"type":207,"tag":215,"props":10465,"children":10466},{"style":1575},[10467],{"type":212,"value":2255},{"type":207,"tag":215,"props":10469,"children":10470},{"style":1563},[10471],{"type":212,"value":1583},{"type":207,"tag":215,"props":10473,"children":10474},{"style":1586},[10475],{"type":212,"value":2237},{"type":207,"tag":215,"props":10477,"children":10478},{"style":1563},[10479],{"type":212,"value":2268},{"type":207,"tag":215,"props":10481,"children":10482},{"style":1586},[10483],{"type":212,"value":2237},{"type":207,"tag":215,"props":10485,"children":10486},{"style":1563},[10487],{"type":212,"value":2277},{"type":207,"tag":215,"props":10489,"children":10490},{"class":663,"line":2941},[10491,10495,10499],{"type":207,"tag":215,"props":10492,"children":10493},{"style":1563},[10494],{"type":212,"value":2171},{"type":207,"tag":215,"props":10496,"children":10497},{"style":1569},[10498],{"type":212,"value":2200},{"type":207,"tag":215,"props":10500,"children":10501},{"style":1563},[10502],{"type":212,"value":1599},{"type":207,"tag":1417,"props":10504,"children":10505},{},[10506],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":10508},[],{"data":10510,"body":10511,"toc":11143},{"title":658,"description":658},{"type":204,"children":10512},[10513,11139],{"type":207,"tag":1546,"props":10514,"children":10515},{},[10516],{"type":207,"tag":653,"props":10517,"children":10519},{"className":1551,"code":10518,"language":1553,"meta":658,"style":658},"\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",[10520],{"type":207,"tag":238,"props":10521,"children":10522},{"__ignoreMap":658},[10523,10554,10577,10600,10607,10638,10661,10684,10691,10718,10735,10742,10753,10760,10767,10803,10818,10834,10846,10853,10860,10867,10926,10941,10956,10971,11010,11017,11024,11039,11046,11061,11124],{"type":207,"tag":215,"props":10524,"children":10525},{"class":663,"line":664},[10526,10530,10534,10538,10542,10546,10550],{"type":207,"tag":215,"props":10527,"children":10528},{"style":1563},[10529],{"type":212,"value":1566},{"type":207,"tag":215,"props":10531,"children":10532},{"style":1569},[10533],{"type":212,"value":1572},{"type":207,"tag":215,"props":10535,"children":10536},{"style":1575},[10537],{"type":212,"value":1578},{"type":207,"tag":215,"props":10539,"children":10540},{"style":1563},[10541],{"type":212,"value":1583},{"type":207,"tag":215,"props":10543,"children":10544},{"style":1586},[10545],{"type":212,"value":1589},{"type":207,"tag":215,"props":10547,"children":10548},{"style":1575},[10549],{"type":212,"value":1594},{"type":207,"tag":215,"props":10551,"children":10552},{"style":1563},[10553],{"type":212,"value":1599},{"type":207,"tag":215,"props":10555,"children":10556},{"class":663,"line":691},[10557,10561,10565,10569,10573],{"type":207,"tag":215,"props":10558,"children":10559},{"style":1605},[10560],{"type":212,"value":854},{"type":207,"tag":215,"props":10562,"children":10563},{"style":1605},[10564],{"type":212,"value":1612},{"type":207,"tag":215,"props":10566,"children":10567},{"style":1563},[10568],{"type":212,"value":1617},{"type":207,"tag":215,"props":10570,"children":10571},{"style":1605},[10572],{"type":212,"value":860},{"type":207,"tag":215,"props":10574,"children":10575},{"style":1586},[10576],{"type":212,"value":1626},{"type":207,"tag":215,"props":10578,"children":10579},{"class":663,"line":703},[10580,10584,10588,10592,10596],{"type":207,"tag":215,"props":10581,"children":10582},{"style":1605},[10583],{"type":212,"value":854},{"type":207,"tag":215,"props":10585,"children":10586},{"style":1605},[10587],{"type":212,"value":1612},{"type":207,"tag":215,"props":10589,"children":10590},{"style":1563},[10591],{"type":212,"value":1642},{"type":207,"tag":215,"props":10593,"children":10594},{"style":1605},[10595],{"type":212,"value":860},{"type":207,"tag":215,"props":10597,"children":10598},{"style":1586},[10599],{"type":212,"value":1651},{"type":207,"tag":215,"props":10601,"children":10602},{"class":663,"line":712},[10603],{"type":207,"tag":215,"props":10604,"children":10605},{"emptyLinePlaceholder":868},[10606],{"type":212,"value":869},{"type":207,"tag":215,"props":10608,"children":10609},{"class":663,"line":779},[10610,10614,10618,10622,10626,10630,10634],{"type":207,"tag":215,"props":10611,"children":10612},{"style":1605},[10613],{"type":212,"value":935},{"type":207,"tag":215,"props":10615,"children":10616},{"style":1563},[10617],{"type":212,"value":1670},{"type":207,"tag":215,"props":10619,"children":10620},{"style":1673},[10621],{"type":212,"value":1676},{"type":207,"tag":215,"props":10623,"children":10624},{"style":1563},[10625],{"type":212,"value":1681},{"type":207,"tag":215,"props":10627,"children":10628},{"style":1605},[10629],{"type":212,"value":1583},{"type":207,"tag":215,"props":10631,"children":10632},{"style":1575},[10633],{"type":212,"value":1690},{"type":207,"tag":215,"props":10635,"children":10636},{"style":1563},[10637],{"type":212,"value":1695},{"type":207,"tag":215,"props":10639,"children":10640},{"class":663,"line":796},[10641,10645,10649,10653,10657],{"type":207,"tag":215,"props":10642,"children":10643},{"style":1605},[10644],{"type":212,"value":935},{"type":207,"tag":215,"props":10646,"children":10647},{"style":1673},[10648],{"type":212,"value":1707},{"type":207,"tag":215,"props":10650,"children":10651},{"style":1605},[10652],{"type":212,"value":942},{"type":207,"tag":215,"props":10654,"children":10655},{"style":1575},[10656],{"type":212,"value":1716},{"type":207,"tag":215,"props":10658,"children":10659},{"style":1563},[10660],{"type":212,"value":1695},{"type":207,"tag":215,"props":10662,"children":10663},{"class":663,"line":811},[10664,10668,10672,10676,10680],{"type":207,"tag":215,"props":10665,"children":10666},{"style":1605},[10667],{"type":212,"value":935},{"type":207,"tag":215,"props":10669,"children":10670},{"style":1673},[10671],{"type":212,"value":9313},{"type":207,"tag":215,"props":10673,"children":10674},{"style":1605},[10675],{"type":212,"value":942},{"type":207,"tag":215,"props":10677,"children":10678},{"style":1575},[10679],{"type":212,"value":9322},{"type":207,"tag":215,"props":10681,"children":10682},{"style":1563},[10683],{"type":212,"value":1695},{"type":207,"tag":215,"props":10685,"children":10686},{"class":663,"line":817},[10687],{"type":207,"tag":215,"props":10688,"children":10689},{"emptyLinePlaceholder":868},[10690],{"type":212,"value":869},{"type":207,"tag":215,"props":10692,"children":10693},{"class":663,"line":823},[10694,10698,10702,10706,10710,10714],{"type":207,"tag":215,"props":10695,"children":10696},{"style":1605},[10697],{"type":212,"value":935},{"type":207,"tag":215,"props":10699,"children":10700},{"style":1673},[10701],{"type":212,"value":978},{"type":207,"tag":215,"props":10703,"children":10704},{"style":1605},[10705],{"type":212,"value":942},{"type":207,"tag":215,"props":10707,"children":10708},{"style":1563},[10709],{"type":212,"value":983},{"type":207,"tag":215,"props":10711,"children":10712},{"style":1575},[10713],{"type":212,"value":986},{"type":207,"tag":215,"props":10715,"children":10716},{"style":1563},[10717],{"type":212,"value":989},{"type":207,"tag":215,"props":10719,"children":10720},{"class":663,"line":828},[10721,10726,10731],{"type":207,"tag":215,"props":10722,"children":10723},{"style":1563},[10724],{"type":212,"value":10725},"  eventPeriod: afz.",{"type":207,"tag":215,"props":10727,"children":10728},{"style":1575},[10729],{"type":212,"value":10730},"inputDate",{"type":207,"tag":215,"props":10732,"children":10733},{"style":1563},[10734],{"type":212,"value":989},{"type":207,"tag":215,"props":10736,"children":10737},{"class":663,"line":834},[10738],{"type":207,"tag":215,"props":10739,"children":10740},{"style":1563},[10741],{"type":212,"value":1014},{"type":207,"tag":215,"props":10743,"children":10744},{"class":663,"line":1147},[10745,10749],{"type":207,"tag":215,"props":10746,"children":10747},{"style":1563},[10748],{"type":212,"value":10091},{"type":207,"tag":215,"props":10750,"children":10751},{"style":1673},[10752],{"type":212,"value":2554},{"type":207,"tag":215,"props":10754,"children":10755},{"class":663,"line":1272},[10756],{"type":207,"tag":215,"props":10757,"children":10758},{"style":1563},[10759],{"type":212,"value":1032},{"type":207,"tag":215,"props":10761,"children":10762},{"class":663,"line":1278},[10763],{"type":207,"tag":215,"props":10764,"children":10765},{"style":1563},[10766],{"type":212,"value":1037},{"type":207,"tag":215,"props":10768,"children":10769},{"class":663,"line":1851},[10770,10774,10778,10782,10786,10790,10794,10799],{"type":207,"tag":215,"props":10771,"children":10772},{"style":1563},[10773],{"type":212,"value":1819},{"type":207,"tag":215,"props":10775,"children":10776},{"style":1575},[10777],{"type":212,"value":9504},{"type":207,"tag":215,"props":10779,"children":10780},{"style":1563},[10781],{"type":212,"value":1829},{"type":207,"tag":215,"props":10783,"children":10784},{"style":2000},[10785],{"type":212,"value":9513},{"type":207,"tag":215,"props":10787,"children":10788},{"style":1605},[10789],{"type":212,"value":7745},{"type":207,"tag":215,"props":10791,"children":10792},{"style":1563},[10793],{"type":212,"value":9522},{"type":207,"tag":215,"props":10795,"children":10796},{"style":1575},[10797],{"type":212,"value":10798},"convertToISO",{"type":207,"tag":215,"props":10800,"children":10801},{"style":1563},[10802],{"type":212,"value":9532},{"type":207,"tag":215,"props":10804,"children":10805},{"class":663,"line":1886},[10806,10810,10814],{"type":207,"tag":215,"props":10807,"children":10808},{"style":1563},[10809],{"type":212,"value":1819},{"type":207,"tag":215,"props":10811,"children":10812},{"style":1575},[10813],{"type":212,"value":1896},{"type":207,"tag":215,"props":10815,"children":10816},{"style":1563},[10817],{"type":212,"value":989},{"type":207,"tag":215,"props":10819,"children":10820},{"class":663,"line":1903},[10821,10825,10830],{"type":207,"tag":215,"props":10822,"children":10823},{"style":1563},[10824],{"type":212,"value":1909},{"type":207,"tag":215,"props":10826,"children":10827},{"style":1586},[10828],{"type":212,"value":10829},"'活动周期'",{"type":207,"tag":215,"props":10831,"children":10832},{"style":1563},[10833],{"type":212,"value":700},{"type":207,"tag":215,"props":10835,"children":10836},{"class":663,"line":1921},[10837,10841],{"type":207,"tag":215,"props":10838,"children":10839},{"style":1563},[10840],{"type":212,"value":1944},{"type":207,"tag":215,"props":10842,"children":10843},{"style":1586},[10844],{"type":212,"value":10845},"'选择活动的起止日期'\n",{"type":207,"tag":215,"props":10847,"children":10848},{"class":663,"line":1938},[10849],{"type":207,"tag":215,"props":10850,"children":10851},{"style":1563},[10852],{"type":212,"value":1958},{"type":207,"tag":215,"props":10854,"children":10855},{"class":663,"line":1952},[10856],{"type":207,"tag":215,"props":10857,"children":10858},{"style":1563},[10859],{"type":212,"value":715},{"type":207,"tag":215,"props":10861,"children":10862},{"class":663,"line":1961},[10863],{"type":207,"tag":215,"props":10864,"children":10865},{"emptyLinePlaceholder":868},[10866],{"type":212,"value":869},{"type":207,"tag":215,"props":10868,"children":10869},{"class":663,"line":1969},[10870,10874,10878,10882,10886,10890,10894,10898,10902,10906,10910,10914,10918,10922],{"type":207,"tag":215,"props":10871,"children":10872},{"style":1605},[10873],{"type":212,"value":1983},{"type":207,"tag":215,"props":10875,"children":10876},{"style":1605},[10877],{"type":212,"value":1988},{"type":207,"tag":215,"props":10879,"children":10880},{"style":1575},[10881],{"type":212,"value":1993},{"type":207,"tag":215,"props":10883,"children":10884},{"style":1563},[10885],{"type":212,"value":1829},{"type":207,"tag":215,"props":10887,"children":10888},{"style":2000},[10889],{"type":212,"value":2003},{"type":207,"tag":215,"props":10891,"children":10892},{"style":1605},[10893],{"type":212,"value":303},{"type":207,"tag":215,"props":10895,"children":10896},{"style":1575},[10897],{"type":212,"value":2012},{"type":207,"tag":215,"props":10899,"children":10900},{"style":1563},[10901],{"type":212,"value":1566},{"type":207,"tag":215,"props":10903,"children":10904},{"style":1575},[10905],{"type":212,"value":2021},{"type":207,"tag":215,"props":10907,"children":10908},{"style":1563},[10909],{"type":212,"value":2026},{"type":207,"tag":215,"props":10911,"children":10912},{"style":1575},[10913],{"type":212,"value":2031},{"type":207,"tag":215,"props":10915,"children":10916},{"style":1563},[10917],{"type":212,"value":1566},{"type":207,"tag":215,"props":10919,"children":10920},{"style":1605},[10921],{"type":212,"value":2040},{"type":207,"tag":215,"props":10923,"children":10924},{"style":1563},[10925],{"type":212,"value":2045},{"type":207,"tag":215,"props":10927,"children":10928},{"class":663,"line":1977},[10929,10933,10937],{"type":207,"tag":215,"props":10930,"children":10931},{"style":1563},[10932],{"type":212,"value":2054},{"type":207,"tag":215,"props":10934,"children":10935},{"style":1575},[10936],{"type":212,"value":2059},{"type":207,"tag":215,"props":10938,"children":10939},{"style":1563},[10940],{"type":212,"value":989},{"type":207,"tag":215,"props":10942,"children":10943},{"class":663,"line":2048},[10944,10948,10952],{"type":207,"tag":215,"props":10945,"children":10946},{"style":1563},[10947],{"type":212,"value":2072},{"type":207,"tag":215,"props":10949,"children":10950},{"style":1586},[10951],{"type":212,"value":2077},{"type":207,"tag":215,"props":10953,"children":10954},{"style":1563},[10955],{"type":212,"value":700},{"type":207,"tag":215,"props":10957,"children":10958},{"class":663,"line":2066},[10959,10963,10967],{"type":207,"tag":215,"props":10960,"children":10961},{"style":1563},[10962],{"type":212,"value":2090},{"type":207,"tag":215,"props":10964,"children":10965},{"style":1586},[10966],{"type":212,"value":2095},{"type":207,"tag":215,"props":10968,"children":10969},{"style":1563},[10970],{"type":212,"value":700},{"type":207,"tag":215,"props":10972,"children":10973},{"class":663,"line":2084},[10974,10978,10982,10986,10990,10994,10998,11002,11006],{"type":207,"tag":215,"props":10975,"children":10976},{"style":1563},[10977],{"type":212,"value":2108},{"type":207,"tag":215,"props":10979,"children":10980},{"style":1673},[10981],{"type":212,"value":2113},{"type":207,"tag":215,"props":10983,"children":10984},{"style":1563},[10985],{"type":212,"value":2026},{"type":207,"tag":215,"props":10987,"children":10988},{"style":1575},[10989],{"type":212,"value":2122},{"type":207,"tag":215,"props":10991,"children":10992},{"style":1563},[10993],{"type":212,"value":2127},{"type":207,"tag":215,"props":10995,"children":10996},{"style":1673},[10997],{"type":212,"value":2132},{"type":207,"tag":215,"props":10999,"children":11000},{"style":1563},[11001],{"type":212,"value":682},{"type":207,"tag":215,"props":11003,"children":11004},{"style":1673},[11005],{"type":212,"value":2141},{"type":207,"tag":215,"props":11007,"children":11008},{"style":1563},[11009],{"type":212,"value":1848},{"type":207,"tag":215,"props":11011,"children":11012},{"class":663,"line":2102},[11013],{"type":207,"tag":215,"props":11014,"children":11015},{"style":1563},[11016],{"type":212,"value":1037},{"type":207,"tag":215,"props":11018,"children":11019},{"class":663,"line":2148},[11020],{"type":207,"tag":215,"props":11021,"children":11022},{"style":1563},[11023],{"type":212,"value":2162},{"type":207,"tag":215,"props":11025,"children":11026},{"class":663,"line":2156},[11027,11031,11035],{"type":207,"tag":215,"props":11028,"children":11029},{"style":1563},[11030],{"type":212,"value":2171},{"type":207,"tag":215,"props":11032,"children":11033},{"style":1569},[11034],{"type":212,"value":1572},{"type":207,"tag":215,"props":11036,"children":11037},{"style":1563},[11038],{"type":212,"value":1599},{"type":207,"tag":215,"props":11040,"children":11041},{"class":663,"line":2165},[11042],{"type":207,"tag":215,"props":11043,"children":11044},{"emptyLinePlaceholder":868},[11045],{"type":212,"value":869},{"type":207,"tag":215,"props":11047,"children":11048},{"class":663,"line":2182},[11049,11053,11057],{"type":207,"tag":215,"props":11050,"children":11051},{"style":1563},[11052],{"type":212,"value":1566},{"type":207,"tag":215,"props":11054,"children":11055},{"style":1569},[11056],{"type":212,"value":2200},{"type":207,"tag":215,"props":11058,"children":11059},{"style":1563},[11060],{"type":212,"value":1599},{"type":207,"tag":215,"props":11062,"children":11063},{"class":663,"line":2190},[11064,11068,11072,11076,11080,11084,11088,11092,11096,11100,11104,11108,11112,11116,11120],{"type":207,"tag":215,"props":11065,"children":11066},{"style":1563},[11067],{"type":212,"value":2213},{"type":207,"tag":215,"props":11069,"children":11070},{"style":1569},[11071],{"type":212,"value":2218},{"type":207,"tag":215,"props":11073,"children":11074},{"style":1563},[11075],{"type":212,"value":2223},{"type":207,"tag":215,"props":11077,"children":11078},{"style":1575},[11079],{"type":212,"value":2228},{"type":207,"tag":215,"props":11081,"children":11082},{"style":1563},[11083],{"type":212,"value":1583},{"type":207,"tag":215,"props":11085,"children":11086},{"style":1586},[11087],{"type":212,"value":2237},{"type":207,"tag":215,"props":11089,"children":11090},{"style":1563},[11091],{"type":212,"value":2228},{"type":207,"tag":215,"props":11093,"children":11094},{"style":1586},[11095],{"type":212,"value":2237},{"type":207,"tag":215,"props":11097,"children":11098},{"style":1563},[11099],{"type":212,"value":2250},{"type":207,"tag":215,"props":11101,"children":11102},{"style":1575},[11103],{"type":212,"value":2255},{"type":207,"tag":215,"props":11105,"children":11106},{"style":1563},[11107],{"type":212,"value":1583},{"type":207,"tag":215,"props":11109,"children":11110},{"style":1586},[11111],{"type":212,"value":2237},{"type":207,"tag":215,"props":11113,"children":11114},{"style":1563},[11115],{"type":212,"value":2268},{"type":207,"tag":215,"props":11117,"children":11118},{"style":1586},[11119],{"type":212,"value":2237},{"type":207,"tag":215,"props":11121,"children":11122},{"style":1563},[11123],{"type":212,"value":2277},{"type":207,"tag":215,"props":11125,"children":11126},{"class":663,"line":2207},[11127,11131,11135],{"type":207,"tag":215,"props":11128,"children":11129},{"style":1563},[11130],{"type":212,"value":2171},{"type":207,"tag":215,"props":11132,"children":11133},{"style":1569},[11134],{"type":212,"value":2200},{"type":207,"tag":215,"props":11136,"children":11137},{"style":1563},[11138],{"type":212,"value":1599},{"type":207,"tag":1417,"props":11140,"children":11141},{},[11142],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":11144},[],{"data":11146,"body":11147,"toc":11921},{"title":658,"description":658},{"type":204,"children":11148},[11149,11917],{"type":207,"tag":1546,"props":11150,"children":11151},{},[11152],{"type":207,"tag":653,"props":11153,"children":11155},{"className":1551,"code":11154,"language":1553,"meta":658,"style":658},"\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",[11156],{"type":207,"tag":238,"props":11157,"children":11158},{"__ignoreMap":658},[11159,11190,11213,11236,11243,11274,11297,11304,11331,11348,11363,11412,11428,11435,11580,11595,11611,11624,11631,11638,11645,11704,11719,11734,11749,11788,11795,11802,11817,11824,11839,11902],{"type":207,"tag":215,"props":11160,"children":11161},{"class":663,"line":664},[11162,11166,11170,11174,11178,11182,11186],{"type":207,"tag":215,"props":11163,"children":11164},{"style":1563},[11165],{"type":212,"value":1566},{"type":207,"tag":215,"props":11167,"children":11168},{"style":1569},[11169],{"type":212,"value":1572},{"type":207,"tag":215,"props":11171,"children":11172},{"style":1575},[11173],{"type":212,"value":1578},{"type":207,"tag":215,"props":11175,"children":11176},{"style":1563},[11177],{"type":212,"value":1583},{"type":207,"tag":215,"props":11179,"children":11180},{"style":1586},[11181],{"type":212,"value":1589},{"type":207,"tag":215,"props":11183,"children":11184},{"style":1575},[11185],{"type":212,"value":1594},{"type":207,"tag":215,"props":11187,"children":11188},{"style":1563},[11189],{"type":212,"value":1599},{"type":207,"tag":215,"props":11191,"children":11192},{"class":663,"line":691},[11193,11197,11201,11205,11209],{"type":207,"tag":215,"props":11194,"children":11195},{"style":1605},[11196],{"type":212,"value":854},{"type":207,"tag":215,"props":11198,"children":11199},{"style":1605},[11200],{"type":212,"value":1612},{"type":207,"tag":215,"props":11202,"children":11203},{"style":1563},[11204],{"type":212,"value":1617},{"type":207,"tag":215,"props":11206,"children":11207},{"style":1605},[11208],{"type":212,"value":860},{"type":207,"tag":215,"props":11210,"children":11211},{"style":1586},[11212],{"type":212,"value":1626},{"type":207,"tag":215,"props":11214,"children":11215},{"class":663,"line":703},[11216,11220,11224,11228,11232],{"type":207,"tag":215,"props":11217,"children":11218},{"style":1605},[11219],{"type":212,"value":854},{"type":207,"tag":215,"props":11221,"children":11222},{"style":1605},[11223],{"type":212,"value":1612},{"type":207,"tag":215,"props":11225,"children":11226},{"style":1563},[11227],{"type":212,"value":1642},{"type":207,"tag":215,"props":11229,"children":11230},{"style":1605},[11231],{"type":212,"value":860},{"type":207,"tag":215,"props":11233,"children":11234},{"style":1586},[11235],{"type":212,"value":1651},{"type":207,"tag":215,"props":11237,"children":11238},{"class":663,"line":712},[11239],{"type":207,"tag":215,"props":11240,"children":11241},{"emptyLinePlaceholder":868},[11242],{"type":212,"value":869},{"type":207,"tag":215,"props":11244,"children":11245},{"class":663,"line":779},[11246,11250,11254,11258,11262,11266,11270],{"type":207,"tag":215,"props":11247,"children":11248},{"style":1605},[11249],{"type":212,"value":935},{"type":207,"tag":215,"props":11251,"children":11252},{"style":1563},[11253],{"type":212,"value":1670},{"type":207,"tag":215,"props":11255,"children":11256},{"style":1673},[11257],{"type":212,"value":1676},{"type":207,"tag":215,"props":11259,"children":11260},{"style":1563},[11261],{"type":212,"value":1681},{"type":207,"tag":215,"props":11263,"children":11264},{"style":1605},[11265],{"type":212,"value":1583},{"type":207,"tag":215,"props":11267,"children":11268},{"style":1575},[11269],{"type":212,"value":1690},{"type":207,"tag":215,"props":11271,"children":11272},{"style":1563},[11273],{"type":212,"value":1695},{"type":207,"tag":215,"props":11275,"children":11276},{"class":663,"line":796},[11277,11281,11285,11289,11293],{"type":207,"tag":215,"props":11278,"children":11279},{"style":1605},[11280],{"type":212,"value":935},{"type":207,"tag":215,"props":11282,"children":11283},{"style":1673},[11284],{"type":212,"value":1707},{"type":207,"tag":215,"props":11286,"children":11287},{"style":1605},[11288],{"type":212,"value":942},{"type":207,"tag":215,"props":11290,"children":11291},{"style":1575},[11292],{"type":212,"value":1716},{"type":207,"tag":215,"props":11294,"children":11295},{"style":1563},[11296],{"type":212,"value":1695},{"type":207,"tag":215,"props":11298,"children":11299},{"class":663,"line":811},[11300],{"type":207,"tag":215,"props":11301,"children":11302},{"emptyLinePlaceholder":868},[11303],{"type":212,"value":869},{"type":207,"tag":215,"props":11305,"children":11306},{"class":663,"line":817},[11307,11311,11315,11319,11323,11327],{"type":207,"tag":215,"props":11308,"children":11309},{"style":1605},[11310],{"type":212,"value":935},{"type":207,"tag":215,"props":11312,"children":11313},{"style":1673},[11314],{"type":212,"value":978},{"type":207,"tag":215,"props":11316,"children":11317},{"style":1605},[11318],{"type":212,"value":942},{"type":207,"tag":215,"props":11320,"children":11321},{"style":1563},[11322],{"type":212,"value":983},{"type":207,"tag":215,"props":11324,"children":11325},{"style":1575},[11326],{"type":212,"value":986},{"type":207,"tag":215,"props":11328,"children":11329},{"style":1563},[11330],{"type":212,"value":989},{"type":207,"tag":215,"props":11332,"children":11333},{"class":663,"line":823},[11334,11339,11344],{"type":207,"tag":215,"props":11335,"children":11336},{"style":1563},[11337],{"type":212,"value":11338},"  meetingTime: afz.",{"type":207,"tag":215,"props":11340,"children":11341},{"style":1575},[11342],{"type":212,"value":11343},"inputTime",{"type":207,"tag":215,"props":11345,"children":11346},{"style":1563},[11347],{"type":212,"value":1695},{"type":207,"tag":215,"props":11349,"children":11350},{"class":663,"line":828},[11351,11355,11359],{"type":207,"tag":215,"props":11352,"children":11353},{"style":1563},[11354],{"type":212,"value":1819},{"type":207,"tag":215,"props":11356,"children":11357},{"style":1575},[11358],{"type":212,"value":7731},{"type":207,"tag":215,"props":11360,"children":11361},{"style":1563},[11362],{"type":212,"value":9404},{"type":207,"tag":215,"props":11364,"children":11365},{"class":663,"line":834},[11366,11371,11375,11380,11385,11390,11395,11399,11403,11408],{"type":207,"tag":215,"props":11367,"children":11368},{"style":2000},[11369],{"type":212,"value":11370},"      time",{"type":207,"tag":215,"props":11372,"children":11373},{"style":1605},[11374],{"type":212,"value":7745},{"type":207,"tag":215,"props":11376,"children":11377},{"style":1563},[11378],{"type":212,"value":11379}," time.hour ",{"type":207,"tag":215,"props":11381,"children":11382},{"style":1605},[11383],{"type":212,"value":11384},">=",{"type":207,"tag":215,"props":11386,"children":11387},{"style":1673},[11388],{"type":212,"value":11389}," 9",{"type":207,"tag":215,"props":11391,"children":11392},{"style":1605},[11393],{"type":212,"value":11394}," &&",{"type":207,"tag":215,"props":11396,"children":11397},{"style":1563},[11398],{"type":212,"value":11379},{"type":207,"tag":215,"props":11400,"children":11401},{"style":1605},[11402],{"type":212,"value":1566},{"type":207,"tag":215,"props":11404,"children":11405},{"style":1673},[11406],{"type":212,"value":11407}," 18",{"type":207,"tag":215,"props":11409,"children":11410},{"style":1563},[11411],{"type":212,"value":700},{"type":207,"tag":215,"props":11413,"children":11414},{"class":663,"line":1147},[11415,11419,11424],{"type":207,"tag":215,"props":11416,"children":11417},{"style":1563},[11418],{"type":212,"value":9475},{"type":207,"tag":215,"props":11420,"children":11421},{"style":1586},[11422],{"type":212,"value":11423},"'会议时间必须在工作时间内 (9:00-18:00)'",{"type":207,"tag":215,"props":11425,"children":11426},{"style":1563},[11427],{"type":212,"value":808},{"type":207,"tag":215,"props":11429,"children":11430},{"class":663,"line":1272},[11431],{"type":207,"tag":215,"props":11432,"children":11433},{"style":1563},[11434],{"type":212,"value":9492},{"type":207,"tag":215,"props":11436,"children":11437},{"class":663,"line":1278},[11438,11442,11446,11450,11455,11459,11464,11469,11473,11477,11481,11486,11490,11495,11499,11503,11507,11512,11517,11522,11526,11530,11534,11538,11543,11547,11551,11555,11559,11563,11567,11571,11576],{"type":207,"tag":215,"props":11439,"children":11440},{"style":1563},[11441],{"type":212,"value":1819},{"type":207,"tag":215,"props":11443,"children":11444},{"style":1575},[11445],{"type":212,"value":9504},{"type":207,"tag":215,"props":11447,"children":11448},{"style":1563},[11449],{"type":212,"value":1829},{"type":207,"tag":215,"props":11451,"children":11452},{"style":2000},[11453],{"type":212,"value":11454},"time",{"type":207,"tag":215,"props":11456,"children":11457},{"style":1605},[11458],{"type":212,"value":7745},{"type":207,"tag":215,"props":11460,"children":11461},{"style":1586},[11462],{"type":212,"value":11463}," `${",{"type":207,"tag":215,"props":11465,"children":11466},{"style":1575},[11467],{"type":212,"value":11468},"String",{"type":207,"tag":215,"props":11470,"children":11471},{"style":1586},[11472],{"type":212,"value":1829},{"type":207,"tag":215,"props":11474,"children":11475},{"style":1563},[11476],{"type":212,"value":11454},{"type":207,"tag":215,"props":11478,"children":11479},{"style":1586},[11480],{"type":212,"value":2026},{"type":207,"tag":215,"props":11482,"children":11483},{"style":1563},[11484],{"type":212,"value":11485},"hour",{"type":207,"tag":215,"props":11487,"children":11488},{"style":1586},[11489],{"type":212,"value":8902},{"type":207,"tag":215,"props":11491,"children":11492},{"style":1575},[11493],{"type":212,"value":11494},"padStart",{"type":207,"tag":215,"props":11496,"children":11497},{"style":1586},[11498],{"type":212,"value":1829},{"type":207,"tag":215,"props":11500,"children":11501},{"style":1673},[11502],{"type":212,"value":2141},{"type":207,"tag":215,"props":11504,"children":11505},{"style":1586},[11506],{"type":212,"value":682},{"type":207,"tag":215,"props":11508,"children":11509},{"style":1586},[11510],{"type":212,"value":11511},"'0'",{"type":207,"tag":215,"props":11513,"children":11514},{"style":1586},[11515],{"type":212,"value":11516},")",{"type":207,"tag":215,"props":11518,"children":11519},{"style":1586},[11520],{"type":212,"value":11521},"}:${",{"type":207,"tag":215,"props":11523,"children":11524},{"style":1575},[11525],{"type":212,"value":11468},{"type":207,"tag":215,"props":11527,"children":11528},{"style":1586},[11529],{"type":212,"value":1829},{"type":207,"tag":215,"props":11531,"children":11532},{"style":1563},[11533],{"type":212,"value":11454},{"type":207,"tag":215,"props":11535,"children":11536},{"style":1586},[11537],{"type":212,"value":2026},{"type":207,"tag":215,"props":11539,"children":11540},{"style":1563},[11541],{"type":212,"value":11542},"minute",{"type":207,"tag":215,"props":11544,"children":11545},{"style":1586},[11546],{"type":212,"value":8902},{"type":207,"tag":215,"props":11548,"children":11549},{"style":1575},[11550],{"type":212,"value":11494},{"type":207,"tag":215,"props":11552,"children":11553},{"style":1586},[11554],{"type":212,"value":1829},{"type":207,"tag":215,"props":11556,"children":11557},{"style":1673},[11558],{"type":212,"value":2141},{"type":207,"tag":215,"props":11560,"children":11561},{"style":1586},[11562],{"type":212,"value":682},{"type":207,"tag":215,"props":11564,"children":11565},{"style":1586},[11566],{"type":212,"value":11511},{"type":207,"tag":215,"props":11568,"children":11569},{"style":1586},[11570],{"type":212,"value":11516},{"type":207,"tag":215,"props":11572,"children":11573},{"style":1586},[11574],{"type":212,"value":11575},"}`",{"type":207,"tag":215,"props":11577,"children":11578},{"style":1563},[11579],{"type":212,"value":1848},{"type":207,"tag":215,"props":11581,"children":11582},{"class":663,"line":1851},[11583,11587,11591],{"type":207,"tag":215,"props":11584,"children":11585},{"style":1563},[11586],{"type":212,"value":1819},{"type":207,"tag":215,"props":11588,"children":11589},{"style":1575},[11590],{"type":212,"value":1896},{"type":207,"tag":215,"props":11592,"children":11593},{"style":1563},[11594],{"type":212,"value":989},{"type":207,"tag":215,"props":11596,"children":11597},{"class":663,"line":1886},[11598,11602,11607],{"type":207,"tag":215,"props":11599,"children":11600},{"style":1563},[11601],{"type":212,"value":1909},{"type":207,"tag":215,"props":11603,"children":11604},{"style":1586},[11605],{"type":212,"value":11606},"'会议时间'",{"type":207,"tag":215,"props":11608,"children":11609},{"style":1563},[11610],{"type":212,"value":700},{"type":207,"tag":215,"props":11612,"children":11613},{"class":663,"line":1903},[11614,11619],{"type":207,"tag":215,"props":11615,"children":11616},{"style":1563},[11617],{"type":212,"value":11618},"      description: ",{"type":207,"tag":215,"props":11620,"children":11621},{"style":1586},[11622],{"type":212,"value":11623},"'请选择会议时间（工作时间内）'\n",{"type":207,"tag":215,"props":11625,"children":11626},{"class":663,"line":1921},[11627],{"type":207,"tag":215,"props":11628,"children":11629},{"style":1563},[11630],{"type":212,"value":1958},{"type":207,"tag":215,"props":11632,"children":11633},{"class":663,"line":1938},[11634],{"type":207,"tag":215,"props":11635,"children":11636},{"style":1563},[11637],{"type":212,"value":715},{"type":207,"tag":215,"props":11639,"children":11640},{"class":663,"line":1952},[11641],{"type":207,"tag":215,"props":11642,"children":11643},{"emptyLinePlaceholder":868},[11644],{"type":212,"value":869},{"type":207,"tag":215,"props":11646,"children":11647},{"class":663,"line":1961},[11648,11652,11656,11660,11664,11668,11672,11676,11680,11684,11688,11692,11696,11700],{"type":207,"tag":215,"props":11649,"children":11650},{"style":1605},[11651],{"type":212,"value":1983},{"type":207,"tag":215,"props":11653,"children":11654},{"style":1605},[11655],{"type":212,"value":1988},{"type":207,"tag":215,"props":11657,"children":11658},{"style":1575},[11659],{"type":212,"value":1993},{"type":207,"tag":215,"props":11661,"children":11662},{"style":1563},[11663],{"type":212,"value":1829},{"type":207,"tag":215,"props":11665,"children":11666},{"style":2000},[11667],{"type":212,"value":2003},{"type":207,"tag":215,"props":11669,"children":11670},{"style":1605},[11671],{"type":212,"value":303},{"type":207,"tag":215,"props":11673,"children":11674},{"style":1575},[11675],{"type":212,"value":2012},{"type":207,"tag":215,"props":11677,"children":11678},{"style":1563},[11679],{"type":212,"value":1566},{"type":207,"tag":215,"props":11681,"children":11682},{"style":1575},[11683],{"type":212,"value":2021},{"type":207,"tag":215,"props":11685,"children":11686},{"style":1563},[11687],{"type":212,"value":2026},{"type":207,"tag":215,"props":11689,"children":11690},{"style":1575},[11691],{"type":212,"value":2031},{"type":207,"tag":215,"props":11693,"children":11694},{"style":1563},[11695],{"type":212,"value":1566},{"type":207,"tag":215,"props":11697,"children":11698},{"style":1605},[11699],{"type":212,"value":2040},{"type":207,"tag":215,"props":11701,"children":11702},{"style":1563},[11703],{"type":212,"value":2045},{"type":207,"tag":215,"props":11705,"children":11706},{"class":663,"line":1969},[11707,11711,11715],{"type":207,"tag":215,"props":11708,"children":11709},{"style":1563},[11710],{"type":212,"value":2054},{"type":207,"tag":215,"props":11712,"children":11713},{"style":1575},[11714],{"type":212,"value":2059},{"type":207,"tag":215,"props":11716,"children":11717},{"style":1563},[11718],{"type":212,"value":989},{"type":207,"tag":215,"props":11720,"children":11721},{"class":663,"line":1977},[11722,11726,11730],{"type":207,"tag":215,"props":11723,"children":11724},{"style":1563},[11725],{"type":212,"value":2072},{"type":207,"tag":215,"props":11727,"children":11728},{"style":1586},[11729],{"type":212,"value":2077},{"type":207,"tag":215,"props":11731,"children":11732},{"style":1563},[11733],{"type":212,"value":700},{"type":207,"tag":215,"props":11735,"children":11736},{"class":663,"line":2048},[11737,11741,11745],{"type":207,"tag":215,"props":11738,"children":11739},{"style":1563},[11740],{"type":212,"value":2090},{"type":207,"tag":215,"props":11742,"children":11743},{"style":1586},[11744],{"type":212,"value":2095},{"type":207,"tag":215,"props":11746,"children":11747},{"style":1563},[11748],{"type":212,"value":700},{"type":207,"tag":215,"props":11750,"children":11751},{"class":663,"line":2066},[11752,11756,11760,11764,11768,11772,11776,11780,11784],{"type":207,"tag":215,"props":11753,"children":11754},{"style":1563},[11755],{"type":212,"value":2108},{"type":207,"tag":215,"props":11757,"children":11758},{"style":1673},[11759],{"type":212,"value":2113},{"type":207,"tag":215,"props":11761,"children":11762},{"style":1563},[11763],{"type":212,"value":2026},{"type":207,"tag":215,"props":11765,"children":11766},{"style":1575},[11767],{"type":212,"value":2122},{"type":207,"tag":215,"props":11769,"children":11770},{"style":1563},[11771],{"type":212,"value":2127},{"type":207,"tag":215,"props":11773,"children":11774},{"style":1673},[11775],{"type":212,"value":2132},{"type":207,"tag":215,"props":11777,"children":11778},{"style":1563},[11779],{"type":212,"value":682},{"type":207,"tag":215,"props":11781,"children":11782},{"style":1673},[11783],{"type":212,"value":2141},{"type":207,"tag":215,"props":11785,"children":11786},{"style":1563},[11787],{"type":212,"value":1848},{"type":207,"tag":215,"props":11789,"children":11790},{"class":663,"line":2084},[11791],{"type":207,"tag":215,"props":11792,"children":11793},{"style":1563},[11794],{"type":212,"value":1037},{"type":207,"tag":215,"props":11796,"children":11797},{"class":663,"line":2102},[11798],{"type":207,"tag":215,"props":11799,"children":11800},{"style":1563},[11801],{"type":212,"value":2162},{"type":207,"tag":215,"props":11803,"children":11804},{"class":663,"line":2148},[11805,11809,11813],{"type":207,"tag":215,"props":11806,"children":11807},{"style":1563},[11808],{"type":212,"value":2171},{"type":207,"tag":215,"props":11810,"children":11811},{"style":1569},[11812],{"type":212,"value":1572},{"type":207,"tag":215,"props":11814,"children":11815},{"style":1563},[11816],{"type":212,"value":1599},{"type":207,"tag":215,"props":11818,"children":11819},{"class":663,"line":2156},[11820],{"type":207,"tag":215,"props":11821,"children":11822},{"emptyLinePlaceholder":868},[11823],{"type":212,"value":869},{"type":207,"tag":215,"props":11825,"children":11826},{"class":663,"line":2165},[11827,11831,11835],{"type":207,"tag":215,"props":11828,"children":11829},{"style":1563},[11830],{"type":212,"value":1566},{"type":207,"tag":215,"props":11832,"children":11833},{"style":1569},[11834],{"type":212,"value":2200},{"type":207,"tag":215,"props":11836,"children":11837},{"style":1563},[11838],{"type":212,"value":1599},{"type":207,"tag":215,"props":11840,"children":11841},{"class":663,"line":2182},[11842,11846,11850,11854,11858,11862,11866,11870,11874,11878,11882,11886,11890,11894,11898],{"type":207,"tag":215,"props":11843,"children":11844},{"style":1563},[11845],{"type":212,"value":2213},{"type":207,"tag":215,"props":11847,"children":11848},{"style":1569},[11849],{"type":212,"value":2218},{"type":207,"tag":215,"props":11851,"children":11852},{"style":1563},[11853],{"type":212,"value":2223},{"type":207,"tag":215,"props":11855,"children":11856},{"style":1575},[11857],{"type":212,"value":2228},{"type":207,"tag":215,"props":11859,"children":11860},{"style":1563},[11861],{"type":212,"value":1583},{"type":207,"tag":215,"props":11863,"children":11864},{"style":1586},[11865],{"type":212,"value":2237},{"type":207,"tag":215,"props":11867,"children":11868},{"style":1563},[11869],{"type":212,"value":2228},{"type":207,"tag":215,"props":11871,"children":11872},{"style":1586},[11873],{"type":212,"value":2237},{"type":207,"tag":215,"props":11875,"children":11876},{"style":1563},[11877],{"type":212,"value":2250},{"type":207,"tag":215,"props":11879,"children":11880},{"style":1575},[11881],{"type":212,"value":2255},{"type":207,"tag":215,"props":11883,"children":11884},{"style":1563},[11885],{"type":212,"value":1583},{"type":207,"tag":215,"props":11887,"children":11888},{"style":1586},[11889],{"type":212,"value":2237},{"type":207,"tag":215,"props":11891,"children":11892},{"style":1563},[11893],{"type":212,"value":2268},{"type":207,"tag":215,"props":11895,"children":11896},{"style":1586},[11897],{"type":212,"value":2237},{"type":207,"tag":215,"props":11899,"children":11900},{"style":1563},[11901],{"type":212,"value":2277},{"type":207,"tag":215,"props":11903,"children":11904},{"class":663,"line":2190},[11905,11909,11913],{"type":207,"tag":215,"props":11906,"children":11907},{"style":1563},[11908],{"type":212,"value":2171},{"type":207,"tag":215,"props":11910,"children":11911},{"style":1569},[11912],{"type":212,"value":2200},{"type":207,"tag":215,"props":11914,"children":11915},{"style":1563},[11916],{"type":212,"value":1599},{"type":207,"tag":1417,"props":11918,"children":11919},{},[11920],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":11922},[],{"data":11924,"body":11925,"toc":12664},{"title":658,"description":658},{"type":204,"children":11926},[11927,12660],{"type":207,"tag":1546,"props":11928,"children":11929},{},[11930],{"type":207,"tag":653,"props":11931,"children":11933},{"className":1551,"code":11932,"language":1553,"meta":658,"style":658},"\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",[11934],{"type":207,"tag":238,"props":11935,"children":11936},{"__ignoreMap":658},[11937,11968,11991,12014,12021,12052,12075,12082,12109,12126,12141,12157,12173,12185,12193,12210,12225,12241,12257,12269,12276,12293,12308,12323,12339,12355,12367,12374,12381,12388,12447,12462,12477,12492,12531,12538,12545,12560,12567,12582,12645],{"type":207,"tag":215,"props":11938,"children":11939},{"class":663,"line":664},[11940,11944,11948,11952,11956,11960,11964],{"type":207,"tag":215,"props":11941,"children":11942},{"style":1563},[11943],{"type":212,"value":1566},{"type":207,"tag":215,"props":11945,"children":11946},{"style":1569},[11947],{"type":212,"value":1572},{"type":207,"tag":215,"props":11949,"children":11950},{"style":1575},[11951],{"type":212,"value":1578},{"type":207,"tag":215,"props":11953,"children":11954},{"style":1563},[11955],{"type":212,"value":1583},{"type":207,"tag":215,"props":11957,"children":11958},{"style":1586},[11959],{"type":212,"value":1589},{"type":207,"tag":215,"props":11961,"children":11962},{"style":1575},[11963],{"type":212,"value":1594},{"type":207,"tag":215,"props":11965,"children":11966},{"style":1563},[11967],{"type":212,"value":1599},{"type":207,"tag":215,"props":11969,"children":11970},{"class":663,"line":691},[11971,11975,11979,11983,11987],{"type":207,"tag":215,"props":11972,"children":11973},{"style":1605},[11974],{"type":212,"value":854},{"type":207,"tag":215,"props":11976,"children":11977},{"style":1605},[11978],{"type":212,"value":1612},{"type":207,"tag":215,"props":11980,"children":11981},{"style":1563},[11982],{"type":212,"value":1617},{"type":207,"tag":215,"props":11984,"children":11985},{"style":1605},[11986],{"type":212,"value":860},{"type":207,"tag":215,"props":11988,"children":11989},{"style":1586},[11990],{"type":212,"value":1626},{"type":207,"tag":215,"props":11992,"children":11993},{"class":663,"line":703},[11994,11998,12002,12006,12010],{"type":207,"tag":215,"props":11995,"children":11996},{"style":1605},[11997],{"type":212,"value":854},{"type":207,"tag":215,"props":11999,"children":12000},{"style":1605},[12001],{"type":212,"value":1612},{"type":207,"tag":215,"props":12003,"children":12004},{"style":1563},[12005],{"type":212,"value":1642},{"type":207,"tag":215,"props":12007,"children":12008},{"style":1605},[12009],{"type":212,"value":860},{"type":207,"tag":215,"props":12011,"children":12012},{"style":1586},[12013],{"type":212,"value":1651},{"type":207,"tag":215,"props":12015,"children":12016},{"class":663,"line":712},[12017],{"type":207,"tag":215,"props":12018,"children":12019},{"emptyLinePlaceholder":868},[12020],{"type":212,"value":869},{"type":207,"tag":215,"props":12022,"children":12023},{"class":663,"line":779},[12024,12028,12032,12036,12040,12044,12048],{"type":207,"tag":215,"props":12025,"children":12026},{"style":1605},[12027],{"type":212,"value":935},{"type":207,"tag":215,"props":12029,"children":12030},{"style":1563},[12031],{"type":212,"value":1670},{"type":207,"tag":215,"props":12033,"children":12034},{"style":1673},[12035],{"type":212,"value":1676},{"type":207,"tag":215,"props":12037,"children":12038},{"style":1563},[12039],{"type":212,"value":1681},{"type":207,"tag":215,"props":12041,"children":12042},{"style":1605},[12043],{"type":212,"value":1583},{"type":207,"tag":215,"props":12045,"children":12046},{"style":1575},[12047],{"type":212,"value":1690},{"type":207,"tag":215,"props":12049,"children":12050},{"style":1563},[12051],{"type":212,"value":1695},{"type":207,"tag":215,"props":12053,"children":12054},{"class":663,"line":796},[12055,12059,12063,12067,12071],{"type":207,"tag":215,"props":12056,"children":12057},{"style":1605},[12058],{"type":212,"value":935},{"type":207,"tag":215,"props":12060,"children":12061},{"style":1673},[12062],{"type":212,"value":1707},{"type":207,"tag":215,"props":12064,"children":12065},{"style":1605},[12066],{"type":212,"value":942},{"type":207,"tag":215,"props":12068,"children":12069},{"style":1575},[12070],{"type":212,"value":1716},{"type":207,"tag":215,"props":12072,"children":12073},{"style":1563},[12074],{"type":212,"value":1695},{"type":207,"tag":215,"props":12076,"children":12077},{"class":663,"line":811},[12078],{"type":207,"tag":215,"props":12079,"children":12080},{"emptyLinePlaceholder":868},[12081],{"type":212,"value":869},{"type":207,"tag":215,"props":12083,"children":12084},{"class":663,"line":817},[12085,12089,12093,12097,12101,12105],{"type":207,"tag":215,"props":12086,"children":12087},{"style":1605},[12088],{"type":212,"value":935},{"type":207,"tag":215,"props":12090,"children":12091},{"style":1673},[12092],{"type":212,"value":978},{"type":207,"tag":215,"props":12094,"children":12095},{"style":1605},[12096],{"type":212,"value":942},{"type":207,"tag":215,"props":12098,"children":12099},{"style":1563},[12100],{"type":212,"value":983},{"type":207,"tag":215,"props":12102,"children":12103},{"style":1575},[12104],{"type":212,"value":986},{"type":207,"tag":215,"props":12106,"children":12107},{"style":1563},[12108],{"type":212,"value":989},{"type":207,"tag":215,"props":12110,"children":12111},{"class":663,"line":823},[12112,12117,12122],{"type":207,"tag":215,"props":12113,"children":12114},{"style":1563},[12115],{"type":212,"value":12116},"  scheduledDate: afz.",{"type":207,"tag":215,"props":12118,"children":12119},{"style":1575},[12120],{"type":212,"value":12121},"isoDate",{"type":207,"tag":215,"props":12123,"children":12124},{"style":1563},[12125],{"type":212,"value":1695},{"type":207,"tag":215,"props":12127,"children":12128},{"class":663,"line":828},[12129,12133,12137],{"type":207,"tag":215,"props":12130,"children":12131},{"style":1563},[12132],{"type":212,"value":1819},{"type":207,"tag":215,"props":12134,"children":12135},{"style":1575},[12136],{"type":212,"value":1896},{"type":207,"tag":215,"props":12138,"children":12139},{"style":1563},[12140],{"type":212,"value":989},{"type":207,"tag":215,"props":12142,"children":12143},{"class":663,"line":834},[12144,12148,12153],{"type":207,"tag":215,"props":12145,"children":12146},{"style":1563},[12147],{"type":212,"value":1909},{"type":207,"tag":215,"props":12149,"children":12150},{"style":1586},[12151],{"type":212,"value":12152},"'计划日期'",{"type":207,"tag":215,"props":12154,"children":12155},{"style":1563},[12156],{"type":212,"value":700},{"type":207,"tag":215,"props":12158,"children":12159},{"class":663,"line":1147},[12160,12164,12169],{"type":207,"tag":215,"props":12161,"children":12162},{"style":1563},[12163],{"type":212,"value":11618},{"type":207,"tag":215,"props":12165,"children":12166},{"style":1586},[12167],{"type":212,"value":12168},"'输入 ISO 格式日期 (YYYY-MM-DD)'",{"type":207,"tag":215,"props":12170,"children":12171},{"style":1563},[12172],{"type":212,"value":700},{"type":207,"tag":215,"props":12174,"children":12175},{"class":663,"line":1272},[12176,12180],{"type":207,"tag":215,"props":12177,"children":12178},{"style":1563},[12179],{"type":212,"value":1944},{"type":207,"tag":215,"props":12181,"children":12182},{"style":1586},[12183],{"type":212,"value":12184},"'例如: 2025-12-31'\n",{"type":207,"tag":215,"props":12186,"children":12187},{"class":663,"line":1278},[12188],{"type":207,"tag":215,"props":12189,"children":12190},{"style":1563},[12191],{"type":212,"value":12192},"    }),\n",{"type":207,"tag":215,"props":12194,"children":12195},{"class":663,"line":1851},[12196,12201,12206],{"type":207,"tag":215,"props":12197,"children":12198},{"style":1563},[12199],{"type":212,"value":12200},"  scheduledTime: afz.",{"type":207,"tag":215,"props":12202,"children":12203},{"style":1575},[12204],{"type":212,"value":12205},"isoTime",{"type":207,"tag":215,"props":12207,"children":12208},{"style":1563},[12209],{"type":212,"value":1695},{"type":207,"tag":215,"props":12211,"children":12212},{"class":663,"line":1886},[12213,12217,12221],{"type":207,"tag":215,"props":12214,"children":12215},{"style":1563},[12216],{"type":212,"value":1819},{"type":207,"tag":215,"props":12218,"children":12219},{"style":1575},[12220],{"type":212,"value":1896},{"type":207,"tag":215,"props":12222,"children":12223},{"style":1563},[12224],{"type":212,"value":989},{"type":207,"tag":215,"props":12226,"children":12227},{"class":663,"line":1903},[12228,12232,12237],{"type":207,"tag":215,"props":12229,"children":12230},{"style":1563},[12231],{"type":212,"value":1909},{"type":207,"tag":215,"props":12233,"children":12234},{"style":1586},[12235],{"type":212,"value":12236},"'计划时间'",{"type":207,"tag":215,"props":12238,"children":12239},{"style":1563},[12240],{"type":212,"value":700},{"type":207,"tag":215,"props":12242,"children":12243},{"class":663,"line":1921},[12244,12248,12253],{"type":207,"tag":215,"props":12245,"children":12246},{"style":1563},[12247],{"type":212,"value":11618},{"type":207,"tag":215,"props":12249,"children":12250},{"style":1586},[12251],{"type":212,"value":12252},"'输入 ISO 格式时间 (HH:MM:SS)'",{"type":207,"tag":215,"props":12254,"children":12255},{"style":1563},[12256],{"type":212,"value":700},{"type":207,"tag":215,"props":12258,"children":12259},{"class":663,"line":1938},[12260,12264],{"type":207,"tag":215,"props":12261,"children":12262},{"style":1563},[12263],{"type":212,"value":1944},{"type":207,"tag":215,"props":12265,"children":12266},{"style":1586},[12267],{"type":212,"value":12268},"'例如: 14:30:00'\n",{"type":207,"tag":215,"props":12270,"children":12271},{"class":663,"line":1952},[12272],{"type":207,"tag":215,"props":12273,"children":12274},{"style":1563},[12275],{"type":212,"value":12192},{"type":207,"tag":215,"props":12277,"children":12278},{"class":663,"line":1961},[12279,12284,12289],{"type":207,"tag":215,"props":12280,"children":12281},{"style":1563},[12282],{"type":212,"value":12283},"  createdAt: afz.",{"type":207,"tag":215,"props":12285,"children":12286},{"style":1575},[12287],{"type":212,"value":12288},"isoDatetime",{"type":207,"tag":215,"props":12290,"children":12291},{"style":1563},[12292],{"type":212,"value":1695},{"type":207,"tag":215,"props":12294,"children":12295},{"class":663,"line":1969},[12296,12300,12304],{"type":207,"tag":215,"props":12297,"children":12298},{"style":1563},[12299],{"type":212,"value":1819},{"type":207,"tag":215,"props":12301,"children":12302},{"style":1575},[12303],{"type":212,"value":4966},{"type":207,"tag":215,"props":12305,"children":12306},{"style":1563},[12307],{"type":212,"value":1695},{"type":207,"tag":215,"props":12309,"children":12310},{"class":663,"line":1977},[12311,12315,12319],{"type":207,"tag":215,"props":12312,"children":12313},{"style":1563},[12314],{"type":212,"value":1819},{"type":207,"tag":215,"props":12316,"children":12317},{"style":1575},[12318],{"type":212,"value":1896},{"type":207,"tag":215,"props":12320,"children":12321},{"style":1563},[12322],{"type":212,"value":989},{"type":207,"tag":215,"props":12324,"children":12325},{"class":663,"line":2048},[12326,12330,12335],{"type":207,"tag":215,"props":12327,"children":12328},{"style":1563},[12329],{"type":212,"value":1909},{"type":207,"tag":215,"props":12331,"children":12332},{"style":1586},[12333],{"type":212,"value":12334},"'创建时间'",{"type":207,"tag":215,"props":12336,"children":12337},{"style":1563},[12338],{"type":212,"value":700},{"type":207,"tag":215,"props":12340,"children":12341},{"class":663,"line":2066},[12342,12346,12351],{"type":207,"tag":215,"props":12343,"children":12344},{"style":1563},[12345],{"type":212,"value":11618},{"type":207,"tag":215,"props":12347,"children":12348},{"style":1586},[12349],{"type":212,"value":12350},"'输入 ISO 8601 完整时间戳'",{"type":207,"tag":215,"props":12352,"children":12353},{"style":1563},[12354],{"type":212,"value":700},{"type":207,"tag":215,"props":12356,"children":12357},{"class":663,"line":2084},[12358,12362],{"type":207,"tag":215,"props":12359,"children":12360},{"style":1563},[12361],{"type":212,"value":1944},{"type":207,"tag":215,"props":12363,"children":12364},{"style":1586},[12365],{"type":212,"value":12366},"'例如: 2025-12-31T14:30:00Z'\n",{"type":207,"tag":215,"props":12368,"children":12369},{"class":663,"line":2102},[12370],{"type":207,"tag":215,"props":12371,"children":12372},{"style":1563},[12373],{"type":212,"value":1958},{"type":207,"tag":215,"props":12375,"children":12376},{"class":663,"line":2148},[12377],{"type":207,"tag":215,"props":12378,"children":12379},{"style":1563},[12380],{"type":212,"value":715},{"type":207,"tag":215,"props":12382,"children":12383},{"class":663,"line":2156},[12384],{"type":207,"tag":215,"props":12385,"children":12386},{"emptyLinePlaceholder":868},[12387],{"type":212,"value":869},{"type":207,"tag":215,"props":12389,"children":12390},{"class":663,"line":2165},[12391,12395,12399,12403,12407,12411,12415,12419,12423,12427,12431,12435,12439,12443],{"type":207,"tag":215,"props":12392,"children":12393},{"style":1605},[12394],{"type":212,"value":1983},{"type":207,"tag":215,"props":12396,"children":12397},{"style":1605},[12398],{"type":212,"value":1988},{"type":207,"tag":215,"props":12400,"children":12401},{"style":1575},[12402],{"type":212,"value":1993},{"type":207,"tag":215,"props":12404,"children":12405},{"style":1563},[12406],{"type":212,"value":1829},{"type":207,"tag":215,"props":12408,"children":12409},{"style":2000},[12410],{"type":212,"value":2003},{"type":207,"tag":215,"props":12412,"children":12413},{"style":1605},[12414],{"type":212,"value":303},{"type":207,"tag":215,"props":12416,"children":12417},{"style":1575},[12418],{"type":212,"value":2012},{"type":207,"tag":215,"props":12420,"children":12421},{"style":1563},[12422],{"type":212,"value":1566},{"type":207,"tag":215,"props":12424,"children":12425},{"style":1575},[12426],{"type":212,"value":2021},{"type":207,"tag":215,"props":12428,"children":12429},{"style":1563},[12430],{"type":212,"value":2026},{"type":207,"tag":215,"props":12432,"children":12433},{"style":1575},[12434],{"type":212,"value":2031},{"type":207,"tag":215,"props":12436,"children":12437},{"style":1563},[12438],{"type":212,"value":1566},{"type":207,"tag":215,"props":12440,"children":12441},{"style":1605},[12442],{"type":212,"value":2040},{"type":207,"tag":215,"props":12444,"children":12445},{"style":1563},[12446],{"type":212,"value":2045},{"type":207,"tag":215,"props":12448,"children":12449},{"class":663,"line":2182},[12450,12454,12458],{"type":207,"tag":215,"props":12451,"children":12452},{"style":1563},[12453],{"type":212,"value":2054},{"type":207,"tag":215,"props":12455,"children":12456},{"style":1575},[12457],{"type":212,"value":2059},{"type":207,"tag":215,"props":12459,"children":12460},{"style":1563},[12461],{"type":212,"value":989},{"type":207,"tag":215,"props":12463,"children":12464},{"class":663,"line":2190},[12465,12469,12473],{"type":207,"tag":215,"props":12466,"children":12467},{"style":1563},[12468],{"type":212,"value":2072},{"type":207,"tag":215,"props":12470,"children":12471},{"style":1586},[12472],{"type":212,"value":2077},{"type":207,"tag":215,"props":12474,"children":12475},{"style":1563},[12476],{"type":212,"value":700},{"type":207,"tag":215,"props":12478,"children":12479},{"class":663,"line":2207},[12480,12484,12488],{"type":207,"tag":215,"props":12481,"children":12482},{"style":1563},[12483],{"type":212,"value":2090},{"type":207,"tag":215,"props":12485,"children":12486},{"style":1586},[12487],{"type":212,"value":2095},{"type":207,"tag":215,"props":12489,"children":12490},{"style":1563},[12491],{"type":212,"value":700},{"type":207,"tag":215,"props":12493,"children":12494},{"class":663,"line":2280},[12495,12499,12503,12507,12511,12515,12519,12523,12527],{"type":207,"tag":215,"props":12496,"children":12497},{"style":1563},[12498],{"type":212,"value":2108},{"type":207,"tag":215,"props":12500,"children":12501},{"style":1673},[12502],{"type":212,"value":2113},{"type":207,"tag":215,"props":12504,"children":12505},{"style":1563},[12506],{"type":212,"value":2026},{"type":207,"tag":215,"props":12508,"children":12509},{"style":1575},[12510],{"type":212,"value":2122},{"type":207,"tag":215,"props":12512,"children":12513},{"style":1563},[12514],{"type":212,"value":2127},{"type":207,"tag":215,"props":12516,"children":12517},{"style":1673},[12518],{"type":212,"value":2132},{"type":207,"tag":215,"props":12520,"children":12521},{"style":1563},[12522],{"type":212,"value":682},{"type":207,"tag":215,"props":12524,"children":12525},{"style":1673},[12526],{"type":212,"value":2141},{"type":207,"tag":215,"props":12528,"children":12529},{"style":1563},[12530],{"type":212,"value":1848},{"type":207,"tag":215,"props":12532,"children":12533},{"class":663,"line":2941},[12534],{"type":207,"tag":215,"props":12535,"children":12536},{"style":1563},[12537],{"type":212,"value":1037},{"type":207,"tag":215,"props":12539,"children":12540},{"class":663,"line":4245},[12541],{"type":207,"tag":215,"props":12542,"children":12543},{"style":1563},[12544],{"type":212,"value":2162},{"type":207,"tag":215,"props":12546,"children":12547},{"class":663,"line":4253},[12548,12552,12556],{"type":207,"tag":215,"props":12549,"children":12550},{"style":1563},[12551],{"type":212,"value":2171},{"type":207,"tag":215,"props":12553,"children":12554},{"style":1569},[12555],{"type":212,"value":1572},{"type":207,"tag":215,"props":12557,"children":12558},{"style":1563},[12559],{"type":212,"value":1599},{"type":207,"tag":215,"props":12561,"children":12562},{"class":663,"line":4269},[12563],{"type":207,"tag":215,"props":12564,"children":12565},{"emptyLinePlaceholder":868},[12566],{"type":212,"value":869},{"type":207,"tag":215,"props":12568,"children":12569},{"class":663,"line":4277},[12570,12574,12578],{"type":207,"tag":215,"props":12571,"children":12572},{"style":1563},[12573],{"type":212,"value":1566},{"type":207,"tag":215,"props":12575,"children":12576},{"style":1569},[12577],{"type":212,"value":2200},{"type":207,"tag":215,"props":12579,"children":12580},{"style":1563},[12581],{"type":212,"value":1599},{"type":207,"tag":215,"props":12583,"children":12584},{"class":663,"line":4293},[12585,12589,12593,12597,12601,12605,12609,12613,12617,12621,12625,12629,12633,12637,12641],{"type":207,"tag":215,"props":12586,"children":12587},{"style":1563},[12588],{"type":212,"value":2213},{"type":207,"tag":215,"props":12590,"children":12591},{"style":1569},[12592],{"type":212,"value":2218},{"type":207,"tag":215,"props":12594,"children":12595},{"style":1563},[12596],{"type":212,"value":2223},{"type":207,"tag":215,"props":12598,"children":12599},{"style":1575},[12600],{"type":212,"value":2228},{"type":207,"tag":215,"props":12602,"children":12603},{"style":1563},[12604],{"type":212,"value":1583},{"type":207,"tag":215,"props":12606,"children":12607},{"style":1586},[12608],{"type":212,"value":2237},{"type":207,"tag":215,"props":12610,"children":12611},{"style":1563},[12612],{"type":212,"value":2228},{"type":207,"tag":215,"props":12614,"children":12615},{"style":1586},[12616],{"type":212,"value":2237},{"type":207,"tag":215,"props":12618,"children":12619},{"style":1563},[12620],{"type":212,"value":2250},{"type":207,"tag":215,"props":12622,"children":12623},{"style":1575},[12624],{"type":212,"value":2255},{"type":207,"tag":215,"props":12626,"children":12627},{"style":1563},[12628],{"type":212,"value":1583},{"type":207,"tag":215,"props":12630,"children":12631},{"style":1586},[12632],{"type":212,"value":2237},{"type":207,"tag":215,"props":12634,"children":12635},{"style":1563},[12636],{"type":212,"value":2268},{"type":207,"tag":215,"props":12638,"children":12639},{"style":1586},[12640],{"type":212,"value":2237},{"type":207,"tag":215,"props":12642,"children":12643},{"style":1563},[12644],{"type":212,"value":2277},{"type":207,"tag":215,"props":12646,"children":12647},{"class":663,"line":4357},[12648,12652,12656],{"type":207,"tag":215,"props":12649,"children":12650},{"style":1563},[12651],{"type":212,"value":2171},{"type":207,"tag":215,"props":12653,"children":12654},{"style":1569},[12655],{"type":212,"value":2200},{"type":207,"tag":215,"props":12657,"children":12658},{"style":1563},[12659],{"type":212,"value":1599},{"type":207,"tag":1417,"props":12661,"children":12662},{},[12663],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":12665},[],{"data":12667,"body":12668,"toc":13275},{"title":658,"description":658},{"type":204,"children":12669},[12670,13271],{"type":207,"tag":1546,"props":12671,"children":12672},{},[12673],{"type":207,"tag":653,"props":12674,"children":12676},{"className":1551,"code":12675,"language":1553,"meta":658,"style":658},"\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",[12677],{"type":207,"tag":238,"props":12678,"children":12679},{"__ignoreMap":658},[12680,12711,12734,12757,12764,12795,12818,12825,12852,12896,12919,12934,12950,12966,12978,12985,12992,12999,13058,13073,13088,13103,13142,13149,13156,13171,13178,13193,13256],{"type":207,"tag":215,"props":12681,"children":12682},{"class":663,"line":664},[12683,12687,12691,12695,12699,12703,12707],{"type":207,"tag":215,"props":12684,"children":12685},{"style":1563},[12686],{"type":212,"value":1566},{"type":207,"tag":215,"props":12688,"children":12689},{"style":1569},[12690],{"type":212,"value":1572},{"type":207,"tag":215,"props":12692,"children":12693},{"style":1575},[12694],{"type":212,"value":1578},{"type":207,"tag":215,"props":12696,"children":12697},{"style":1563},[12698],{"type":212,"value":1583},{"type":207,"tag":215,"props":12700,"children":12701},{"style":1586},[12702],{"type":212,"value":1589},{"type":207,"tag":215,"props":12704,"children":12705},{"style":1575},[12706],{"type":212,"value":1594},{"type":207,"tag":215,"props":12708,"children":12709},{"style":1563},[12710],{"type":212,"value":1599},{"type":207,"tag":215,"props":12712,"children":12713},{"class":663,"line":691},[12714,12718,12722,12726,12730],{"type":207,"tag":215,"props":12715,"children":12716},{"style":1605},[12717],{"type":212,"value":854},{"type":207,"tag":215,"props":12719,"children":12720},{"style":1605},[12721],{"type":212,"value":1612},{"type":207,"tag":215,"props":12723,"children":12724},{"style":1563},[12725],{"type":212,"value":1617},{"type":207,"tag":215,"props":12727,"children":12728},{"style":1605},[12729],{"type":212,"value":860},{"type":207,"tag":215,"props":12731,"children":12732},{"style":1586},[12733],{"type":212,"value":1626},{"type":207,"tag":215,"props":12735,"children":12736},{"class":663,"line":703},[12737,12741,12745,12749,12753],{"type":207,"tag":215,"props":12738,"children":12739},{"style":1605},[12740],{"type":212,"value":854},{"type":207,"tag":215,"props":12742,"children":12743},{"style":1605},[12744],{"type":212,"value":1612},{"type":207,"tag":215,"props":12746,"children":12747},{"style":1563},[12748],{"type":212,"value":1642},{"type":207,"tag":215,"props":12750,"children":12751},{"style":1605},[12752],{"type":212,"value":860},{"type":207,"tag":215,"props":12754,"children":12755},{"style":1586},[12756],{"type":212,"value":1651},{"type":207,"tag":215,"props":12758,"children":12759},{"class":663,"line":712},[12760],{"type":207,"tag":215,"props":12761,"children":12762},{"emptyLinePlaceholder":868},[12763],{"type":212,"value":869},{"type":207,"tag":215,"props":12765,"children":12766},{"class":663,"line":779},[12767,12771,12775,12779,12783,12787,12791],{"type":207,"tag":215,"props":12768,"children":12769},{"style":1605},[12770],{"type":212,"value":935},{"type":207,"tag":215,"props":12772,"children":12773},{"style":1563},[12774],{"type":212,"value":1670},{"type":207,"tag":215,"props":12776,"children":12777},{"style":1673},[12778],{"type":212,"value":1676},{"type":207,"tag":215,"props":12780,"children":12781},{"style":1563},[12782],{"type":212,"value":1681},{"type":207,"tag":215,"props":12784,"children":12785},{"style":1605},[12786],{"type":212,"value":1583},{"type":207,"tag":215,"props":12788,"children":12789},{"style":1575},[12790],{"type":212,"value":1690},{"type":207,"tag":215,"props":12792,"children":12793},{"style":1563},[12794],{"type":212,"value":1695},{"type":207,"tag":215,"props":12796,"children":12797},{"class":663,"line":796},[12798,12802,12806,12810,12814],{"type":207,"tag":215,"props":12799,"children":12800},{"style":1605},[12801],{"type":212,"value":935},{"type":207,"tag":215,"props":12803,"children":12804},{"style":1673},[12805],{"type":212,"value":1707},{"type":207,"tag":215,"props":12807,"children":12808},{"style":1605},[12809],{"type":212,"value":942},{"type":207,"tag":215,"props":12811,"children":12812},{"style":1575},[12813],{"type":212,"value":1716},{"type":207,"tag":215,"props":12815,"children":12816},{"style":1563},[12817],{"type":212,"value":1695},{"type":207,"tag":215,"props":12819,"children":12820},{"class":663,"line":811},[12821],{"type":207,"tag":215,"props":12822,"children":12823},{"emptyLinePlaceholder":868},[12824],{"type":212,"value":869},{"type":207,"tag":215,"props":12826,"children":12827},{"class":663,"line":817},[12828,12832,12836,12840,12844,12848],{"type":207,"tag":215,"props":12829,"children":12830},{"style":1605},[12831],{"type":212,"value":935},{"type":207,"tag":215,"props":12833,"children":12834},{"style":1673},[12835],{"type":212,"value":978},{"type":207,"tag":215,"props":12837,"children":12838},{"style":1605},[12839],{"type":212,"value":942},{"type":207,"tag":215,"props":12841,"children":12842},{"style":1563},[12843],{"type":212,"value":983},{"type":207,"tag":215,"props":12845,"children":12846},{"style":1575},[12847],{"type":212,"value":986},{"type":207,"tag":215,"props":12849,"children":12850},{"style":1563},[12851],{"type":212,"value":989},{"type":207,"tag":215,"props":12853,"children":12854},{"class":663,"line":823},[12855,12860,12864,12868,12873,12877,12882,12886,12891],{"type":207,"tag":215,"props":12856,"children":12857},{"style":1563},[12858],{"type":212,"value":12859},"  status: afz.",{"type":207,"tag":215,"props":12861,"children":12862},{"style":1575},[12863],{"type":212,"value":672},{"type":207,"tag":215,"props":12865,"children":12866},{"style":1563},[12867],{"type":212,"value":675},{"type":207,"tag":215,"props":12869,"children":12870},{"style":1586},[12871],{"type":212,"value":12872},"'active'",{"type":207,"tag":215,"props":12874,"children":12875},{"style":1563},[12876],{"type":212,"value":682},{"type":207,"tag":215,"props":12878,"children":12879},{"style":1586},[12880],{"type":212,"value":12881},"'inactive'",{"type":207,"tag":215,"props":12883,"children":12884},{"style":1563},[12885],{"type":212,"value":682},{"type":207,"tag":215,"props":12887,"children":12888},{"style":1586},[12889],{"type":212,"value":12890},"'pending'",{"type":207,"tag":215,"props":12892,"children":12893},{"style":1563},[12894],{"type":212,"value":12895},"])\n",{"type":207,"tag":215,"props":12897,"children":12898},{"class":663,"line":828},[12899,12903,12907,12911,12915],{"type":207,"tag":215,"props":12900,"children":12901},{"style":1563},[12902],{"type":212,"value":1819},{"type":207,"tag":215,"props":12904,"children":12905},{"style":1575},[12906],{"type":212,"value":6442},{"type":207,"tag":215,"props":12908,"children":12909},{"style":1563},[12910],{"type":212,"value":1829},{"type":207,"tag":215,"props":12912,"children":12913},{"style":1586},[12914],{"type":212,"value":12872},{"type":207,"tag":215,"props":12916,"children":12917},{"style":1563},[12918],{"type":212,"value":1848},{"type":207,"tag":215,"props":12920,"children":12921},{"class":663,"line":834},[12922,12926,12930],{"type":207,"tag":215,"props":12923,"children":12924},{"style":1563},[12925],{"type":212,"value":1819},{"type":207,"tag":215,"props":12927,"children":12928},{"style":1575},[12929],{"type":212,"value":1896},{"type":207,"tag":215,"props":12931,"children":12932},{"style":1563},[12933],{"type":212,"value":989},{"type":207,"tag":215,"props":12935,"children":12936},{"class":663,"line":1147},[12937,12941,12946],{"type":207,"tag":215,"props":12938,"children":12939},{"style":1563},[12940],{"type":212,"value":1909},{"type":207,"tag":215,"props":12942,"children":12943},{"style":1586},[12944],{"type":212,"value":12945},"'选择框'",{"type":207,"tag":215,"props":12947,"children":12948},{"style":1563},[12949],{"type":212,"value":700},{"type":207,"tag":215,"props":12951,"children":12952},{"class":663,"line":1272},[12953,12957,12962],{"type":207,"tag":215,"props":12954,"children":12955},{"style":1563},[12956],{"type":212,"value":1019},{"type":207,"tag":215,"props":12958,"children":12959},{"style":1586},[12960],{"type":212,"value":12961},"'请选择状态'",{"type":207,"tag":215,"props":12963,"children":12964},{"style":1563},[12965],{"type":212,"value":700},{"type":207,"tag":215,"props":12967,"children":12968},{"class":663,"line":1278},[12969,12973],{"type":207,"tag":215,"props":12970,"children":12971},{"style":1563},[12972],{"type":212,"value":1944},{"type":207,"tag":215,"props":12974,"children":12975},{"style":1586},[12976],{"type":212,"value":12977},"'基础枚举选择'\n",{"type":207,"tag":215,"props":12979,"children":12980},{"class":663,"line":1851},[12981],{"type":207,"tag":215,"props":12982,"children":12983},{"style":1563},[12984],{"type":212,"value":1958},{"type":207,"tag":215,"props":12986,"children":12987},{"class":663,"line":1886},[12988],{"type":207,"tag":215,"props":12989,"children":12990},{"style":1563},[12991],{"type":212,"value":715},{"type":207,"tag":215,"props":12993,"children":12994},{"class":663,"line":1903},[12995],{"type":207,"tag":215,"props":12996,"children":12997},{"emptyLinePlaceholder":868},[12998],{"type":212,"value":869},{"type":207,"tag":215,"props":13000,"children":13001},{"class":663,"line":1921},[13002,13006,13010,13014,13018,13022,13026,13030,13034,13038,13042,13046,13050,13054],{"type":207,"tag":215,"props":13003,"children":13004},{"style":1605},[13005],{"type":212,"value":1983},{"type":207,"tag":215,"props":13007,"children":13008},{"style":1605},[13009],{"type":212,"value":1988},{"type":207,"tag":215,"props":13011,"children":13012},{"style":1575},[13013],{"type":212,"value":1993},{"type":207,"tag":215,"props":13015,"children":13016},{"style":1563},[13017],{"type":212,"value":1829},{"type":207,"tag":215,"props":13019,"children":13020},{"style":2000},[13021],{"type":212,"value":2003},{"type":207,"tag":215,"props":13023,"children":13024},{"style":1605},[13025],{"type":212,"value":303},{"type":207,"tag":215,"props":13027,"children":13028},{"style":1575},[13029],{"type":212,"value":2012},{"type":207,"tag":215,"props":13031,"children":13032},{"style":1563},[13033],{"type":212,"value":1566},{"type":207,"tag":215,"props":13035,"children":13036},{"style":1575},[13037],{"type":212,"value":2021},{"type":207,"tag":215,"props":13039,"children":13040},{"style":1563},[13041],{"type":212,"value":2026},{"type":207,"tag":215,"props":13043,"children":13044},{"style":1575},[13045],{"type":212,"value":2031},{"type":207,"tag":215,"props":13047,"children":13048},{"style":1563},[13049],{"type":212,"value":1566},{"type":207,"tag":215,"props":13051,"children":13052},{"style":1605},[13053],{"type":212,"value":2040},{"type":207,"tag":215,"props":13055,"children":13056},{"style":1563},[13057],{"type":212,"value":2045},{"type":207,"tag":215,"props":13059,"children":13060},{"class":663,"line":1938},[13061,13065,13069],{"type":207,"tag":215,"props":13062,"children":13063},{"style":1563},[13064],{"type":212,"value":2054},{"type":207,"tag":215,"props":13066,"children":13067},{"style":1575},[13068],{"type":212,"value":2059},{"type":207,"tag":215,"props":13070,"children":13071},{"style":1563},[13072],{"type":212,"value":989},{"type":207,"tag":215,"props":13074,"children":13075},{"class":663,"line":1952},[13076,13080,13084],{"type":207,"tag":215,"props":13077,"children":13078},{"style":1563},[13079],{"type":212,"value":2072},{"type":207,"tag":215,"props":13081,"children":13082},{"style":1586},[13083],{"type":212,"value":2077},{"type":207,"tag":215,"props":13085,"children":13086},{"style":1563},[13087],{"type":212,"value":700},{"type":207,"tag":215,"props":13089,"children":13090},{"class":663,"line":1961},[13091,13095,13099],{"type":207,"tag":215,"props":13092,"children":13093},{"style":1563},[13094],{"type":212,"value":2090},{"type":207,"tag":215,"props":13096,"children":13097},{"style":1586},[13098],{"type":212,"value":2095},{"type":207,"tag":215,"props":13100,"children":13101},{"style":1563},[13102],{"type":212,"value":700},{"type":207,"tag":215,"props":13104,"children":13105},{"class":663,"line":1969},[13106,13110,13114,13118,13122,13126,13130,13134,13138],{"type":207,"tag":215,"props":13107,"children":13108},{"style":1563},[13109],{"type":212,"value":2108},{"type":207,"tag":215,"props":13111,"children":13112},{"style":1673},[13113],{"type":212,"value":2113},{"type":207,"tag":215,"props":13115,"children":13116},{"style":1563},[13117],{"type":212,"value":2026},{"type":207,"tag":215,"props":13119,"children":13120},{"style":1575},[13121],{"type":212,"value":2122},{"type":207,"tag":215,"props":13123,"children":13124},{"style":1563},[13125],{"type":212,"value":2127},{"type":207,"tag":215,"props":13127,"children":13128},{"style":1673},[13129],{"type":212,"value":2132},{"type":207,"tag":215,"props":13131,"children":13132},{"style":1563},[13133],{"type":212,"value":682},{"type":207,"tag":215,"props":13135,"children":13136},{"style":1673},[13137],{"type":212,"value":2141},{"type":207,"tag":215,"props":13139,"children":13140},{"style":1563},[13141],{"type":212,"value":1848},{"type":207,"tag":215,"props":13143,"children":13144},{"class":663,"line":1977},[13145],{"type":207,"tag":215,"props":13146,"children":13147},{"style":1563},[13148],{"type":212,"value":1037},{"type":207,"tag":215,"props":13150,"children":13151},{"class":663,"line":2048},[13152],{"type":207,"tag":215,"props":13153,"children":13154},{"style":1563},[13155],{"type":212,"value":2162},{"type":207,"tag":215,"props":13157,"children":13158},{"class":663,"line":2066},[13159,13163,13167],{"type":207,"tag":215,"props":13160,"children":13161},{"style":1563},[13162],{"type":212,"value":2171},{"type":207,"tag":215,"props":13164,"children":13165},{"style":1569},[13166],{"type":212,"value":1572},{"type":207,"tag":215,"props":13168,"children":13169},{"style":1563},[13170],{"type":212,"value":1599},{"type":207,"tag":215,"props":13172,"children":13173},{"class":663,"line":2084},[13174],{"type":207,"tag":215,"props":13175,"children":13176},{"emptyLinePlaceholder":868},[13177],{"type":212,"value":869},{"type":207,"tag":215,"props":13179,"children":13180},{"class":663,"line":2102},[13181,13185,13189],{"type":207,"tag":215,"props":13182,"children":13183},{"style":1563},[13184],{"type":212,"value":1566},{"type":207,"tag":215,"props":13186,"children":13187},{"style":1569},[13188],{"type":212,"value":2200},{"type":207,"tag":215,"props":13190,"children":13191},{"style":1563},[13192],{"type":212,"value":1599},{"type":207,"tag":215,"props":13194,"children":13195},{"class":663,"line":2148},[13196,13200,13204,13208,13212,13216,13220,13224,13228,13232,13236,13240,13244,13248,13252],{"type":207,"tag":215,"props":13197,"children":13198},{"style":1563},[13199],{"type":212,"value":2213},{"type":207,"tag":215,"props":13201,"children":13202},{"style":1569},[13203],{"type":212,"value":2218},{"type":207,"tag":215,"props":13205,"children":13206},{"style":1563},[13207],{"type":212,"value":2223},{"type":207,"tag":215,"props":13209,"children":13210},{"style":1575},[13211],{"type":212,"value":2228},{"type":207,"tag":215,"props":13213,"children":13214},{"style":1563},[13215],{"type":212,"value":1583},{"type":207,"tag":215,"props":13217,"children":13218},{"style":1586},[13219],{"type":212,"value":2237},{"type":207,"tag":215,"props":13221,"children":13222},{"style":1563},[13223],{"type":212,"value":2228},{"type":207,"tag":215,"props":13225,"children":13226},{"style":1586},[13227],{"type":212,"value":2237},{"type":207,"tag":215,"props":13229,"children":13230},{"style":1563},[13231],{"type":212,"value":2250},{"type":207,"tag":215,"props":13233,"children":13234},{"style":1575},[13235],{"type":212,"value":2255},{"type":207,"tag":215,"props":13237,"children":13238},{"style":1563},[13239],{"type":212,"value":1583},{"type":207,"tag":215,"props":13241,"children":13242},{"style":1586},[13243],{"type":212,"value":2237},{"type":207,"tag":215,"props":13245,"children":13246},{"style":1563},[13247],{"type":212,"value":2268},{"type":207,"tag":215,"props":13249,"children":13250},{"style":1586},[13251],{"type":212,"value":2237},{"type":207,"tag":215,"props":13253,"children":13254},{"style":1563},[13255],{"type":212,"value":2277},{"type":207,"tag":215,"props":13257,"children":13258},{"class":663,"line":2156},[13259,13263,13267],{"type":207,"tag":215,"props":13260,"children":13261},{"style":1563},[13262],{"type":212,"value":2171},{"type":207,"tag":215,"props":13264,"children":13265},{"style":1569},[13266],{"type":212,"value":2200},{"type":207,"tag":215,"props":13268,"children":13269},{"style":1563},[13270],{"type":212,"value":1599},{"type":207,"tag":1417,"props":13272,"children":13273},{},[13274],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":13276},[],{"data":13278,"body":13279,"toc":13877},{"title":658,"description":658},{"type":204,"children":13280},[13281,13873],{"type":207,"tag":1546,"props":13282,"children":13283},{},[13284],{"type":207,"tag":653,"props":13285,"children":13287},{"className":1551,"code":13286,"language":1553,"meta":658,"style":658},"\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",[13288],{"type":207,"tag":238,"props":13289,"children":13290},{"__ignoreMap":658},[13291,13322,13345,13368,13375,13406,13429,13452,13459,13486,13502,13537,13552,13568,13580,13587,13594,13601,13660,13675,13690,13705,13744,13751,13758,13773,13780,13795,13858],{"type":207,"tag":215,"props":13292,"children":13293},{"class":663,"line":664},[13294,13298,13302,13306,13310,13314,13318],{"type":207,"tag":215,"props":13295,"children":13296},{"style":1563},[13297],{"type":212,"value":1566},{"type":207,"tag":215,"props":13299,"children":13300},{"style":1569},[13301],{"type":212,"value":1572},{"type":207,"tag":215,"props":13303,"children":13304},{"style":1575},[13305],{"type":212,"value":1578},{"type":207,"tag":215,"props":13307,"children":13308},{"style":1563},[13309],{"type":212,"value":1583},{"type":207,"tag":215,"props":13311,"children":13312},{"style":1586},[13313],{"type":212,"value":1589},{"type":207,"tag":215,"props":13315,"children":13316},{"style":1575},[13317],{"type":212,"value":1594},{"type":207,"tag":215,"props":13319,"children":13320},{"style":1563},[13321],{"type":212,"value":1599},{"type":207,"tag":215,"props":13323,"children":13324},{"class":663,"line":691},[13325,13329,13333,13337,13341],{"type":207,"tag":215,"props":13326,"children":13327},{"style":1605},[13328],{"type":212,"value":854},{"type":207,"tag":215,"props":13330,"children":13331},{"style":1605},[13332],{"type":212,"value":1612},{"type":207,"tag":215,"props":13334,"children":13335},{"style":1563},[13336],{"type":212,"value":1617},{"type":207,"tag":215,"props":13338,"children":13339},{"style":1605},[13340],{"type":212,"value":860},{"type":207,"tag":215,"props":13342,"children":13343},{"style":1586},[13344],{"type":212,"value":1626},{"type":207,"tag":215,"props":13346,"children":13347},{"class":663,"line":703},[13348,13352,13356,13360,13364],{"type":207,"tag":215,"props":13349,"children":13350},{"style":1605},[13351],{"type":212,"value":854},{"type":207,"tag":215,"props":13353,"children":13354},{"style":1605},[13355],{"type":212,"value":1612},{"type":207,"tag":215,"props":13357,"children":13358},{"style":1563},[13359],{"type":212,"value":1642},{"type":207,"tag":215,"props":13361,"children":13362},{"style":1605},[13363],{"type":212,"value":860},{"type":207,"tag":215,"props":13365,"children":13366},{"style":1586},[13367],{"type":212,"value":1651},{"type":207,"tag":215,"props":13369,"children":13370},{"class":663,"line":712},[13371],{"type":207,"tag":215,"props":13372,"children":13373},{"emptyLinePlaceholder":868},[13374],{"type":212,"value":869},{"type":207,"tag":215,"props":13376,"children":13377},{"class":663,"line":779},[13378,13382,13386,13390,13394,13398,13402],{"type":207,"tag":215,"props":13379,"children":13380},{"style":1605},[13381],{"type":212,"value":935},{"type":207,"tag":215,"props":13383,"children":13384},{"style":1563},[13385],{"type":212,"value":1670},{"type":207,"tag":215,"props":13387,"children":13388},{"style":1673},[13389],{"type":212,"value":1676},{"type":207,"tag":215,"props":13391,"children":13392},{"style":1563},[13393],{"type":212,"value":1681},{"type":207,"tag":215,"props":13395,"children":13396},{"style":1605},[13397],{"type":212,"value":1583},{"type":207,"tag":215,"props":13399,"children":13400},{"style":1575},[13401],{"type":212,"value":1690},{"type":207,"tag":215,"props":13403,"children":13404},{"style":1563},[13405],{"type":212,"value":1695},{"type":207,"tag":215,"props":13407,"children":13408},{"class":663,"line":796},[13409,13413,13417,13421,13425],{"type":207,"tag":215,"props":13410,"children":13411},{"style":1605},[13412],{"type":212,"value":935},{"type":207,"tag":215,"props":13414,"children":13415},{"style":1673},[13416],{"type":212,"value":1707},{"type":207,"tag":215,"props":13418,"children":13419},{"style":1605},[13420],{"type":212,"value":942},{"type":207,"tag":215,"props":13422,"children":13423},{"style":1575},[13424],{"type":212,"value":1716},{"type":207,"tag":215,"props":13426,"children":13427},{"style":1563},[13428],{"type":212,"value":1695},{"type":207,"tag":215,"props":13430,"children":13431},{"class":663,"line":811},[13432,13436,13440,13444,13448],{"type":207,"tag":215,"props":13433,"children":13434},{"style":1605},[13435],{"type":212,"value":935},{"type":207,"tag":215,"props":13437,"children":13438},{"style":1673},[13439],{"type":212,"value":9313},{"type":207,"tag":215,"props":13441,"children":13442},{"style":1605},[13443],{"type":212,"value":942},{"type":207,"tag":215,"props":13445,"children":13446},{"style":1575},[13447],{"type":212,"value":9322},{"type":207,"tag":215,"props":13449,"children":13450},{"style":1563},[13451],{"type":212,"value":1695},{"type":207,"tag":215,"props":13453,"children":13454},{"class":663,"line":817},[13455],{"type":207,"tag":215,"props":13456,"children":13457},{"emptyLinePlaceholder":868},[13458],{"type":212,"value":869},{"type":207,"tag":215,"props":13460,"children":13461},{"class":663,"line":823},[13462,13466,13470,13474,13478,13482],{"type":207,"tag":215,"props":13463,"children":13464},{"style":1605},[13465],{"type":212,"value":935},{"type":207,"tag":215,"props":13467,"children":13468},{"style":1673},[13469],{"type":212,"value":978},{"type":207,"tag":215,"props":13471,"children":13472},{"style":1605},[13473],{"type":212,"value":942},{"type":207,"tag":215,"props":13475,"children":13476},{"style":1563},[13477],{"type":212,"value":983},{"type":207,"tag":215,"props":13479,"children":13480},{"style":1575},[13481],{"type":212,"value":986},{"type":207,"tag":215,"props":13483,"children":13484},{"style":1563},[13485],{"type":212,"value":989},{"type":207,"tag":215,"props":13487,"children":13488},{"class":663,"line":828},[13489,13494,13498],{"type":207,"tag":215,"props":13490,"children":13491},{"style":1563},[13492],{"type":212,"value":13493},"  birthDate: afz.",{"type":207,"tag":215,"props":13495,"children":13496},{"style":1575},[13497],{"type":212,"value":10730},{"type":207,"tag":215,"props":13499,"children":13500},{"style":1563},[13501],{"type":212,"value":1695},{"type":207,"tag":215,"props":13503,"children":13504},{"class":663,"line":834},[13505,13509,13513,13517,13521,13525,13529,13533],{"type":207,"tag":215,"props":13506,"children":13507},{"style":1563},[13508],{"type":212,"value":1819},{"type":207,"tag":215,"props":13510,"children":13511},{"style":1575},[13512],{"type":212,"value":9504},{"type":207,"tag":215,"props":13514,"children":13515},{"style":1563},[13516],{"type":212,"value":1829},{"type":207,"tag":215,"props":13518,"children":13519},{"style":2000},[13520],{"type":212,"value":9513},{"type":207,"tag":215,"props":13522,"children":13523},{"style":1605},[13524],{"type":212,"value":7745},{"type":207,"tag":215,"props":13526,"children":13527},{"style":1563},[13528],{"type":212,"value":9522},{"type":207,"tag":215,"props":13530,"children":13531},{"style":1575},[13532],{"type":212,"value":10798},{"type":207,"tag":215,"props":13534,"children":13535},{"style":1563},[13536],{"type":212,"value":9532},{"type":207,"tag":215,"props":13538,"children":13539},{"class":663,"line":1147},[13540,13544,13548],{"type":207,"tag":215,"props":13541,"children":13542},{"style":1563},[13543],{"type":212,"value":1819},{"type":207,"tag":215,"props":13545,"children":13546},{"style":1575},[13547],{"type":212,"value":1896},{"type":207,"tag":215,"props":13549,"children":13550},{"style":1563},[13551],{"type":212,"value":989},{"type":207,"tag":215,"props":13553,"children":13554},{"class":663,"line":1272},[13555,13559,13564],{"type":207,"tag":215,"props":13556,"children":13557},{"style":1563},[13558],{"type":212,"value":1909},{"type":207,"tag":215,"props":13560,"children":13561},{"style":1586},[13562],{"type":212,"value":13563},"'出生日期'",{"type":207,"tag":215,"props":13565,"children":13566},{"style":1563},[13567],{"type":212,"value":700},{"type":207,"tag":215,"props":13569,"children":13570},{"class":663,"line":1278},[13571,13575],{"type":207,"tag":215,"props":13572,"children":13573},{"style":1563},[13574],{"type":212,"value":11618},{"type":207,"tag":215,"props":13576,"children":13577},{"style":1586},[13578],{"type":212,"value":13579},"'使用日期输入框选择您的出生日期'\n",{"type":207,"tag":215,"props":13581,"children":13582},{"class":663,"line":1851},[13583],{"type":207,"tag":215,"props":13584,"children":13585},{"style":1563},[13586],{"type":212,"value":1958},{"type":207,"tag":215,"props":13588,"children":13589},{"class":663,"line":1886},[13590],{"type":207,"tag":215,"props":13591,"children":13592},{"style":1563},[13593],{"type":212,"value":715},{"type":207,"tag":215,"props":13595,"children":13596},{"class":663,"line":1903},[13597],{"type":207,"tag":215,"props":13598,"children":13599},{"emptyLinePlaceholder":868},[13600],{"type":212,"value":869},{"type":207,"tag":215,"props":13602,"children":13603},{"class":663,"line":1921},[13604,13608,13612,13616,13620,13624,13628,13632,13636,13640,13644,13648,13652,13656],{"type":207,"tag":215,"props":13605,"children":13606},{"style":1605},[13607],{"type":212,"value":1983},{"type":207,"tag":215,"props":13609,"children":13610},{"style":1605},[13611],{"type":212,"value":1988},{"type":207,"tag":215,"props":13613,"children":13614},{"style":1575},[13615],{"type":212,"value":1993},{"type":207,"tag":215,"props":13617,"children":13618},{"style":1563},[13619],{"type":212,"value":1829},{"type":207,"tag":215,"props":13621,"children":13622},{"style":2000},[13623],{"type":212,"value":2003},{"type":207,"tag":215,"props":13625,"children":13626},{"style":1605},[13627],{"type":212,"value":303},{"type":207,"tag":215,"props":13629,"children":13630},{"style":1575},[13631],{"type":212,"value":2012},{"type":207,"tag":215,"props":13633,"children":13634},{"style":1563},[13635],{"type":212,"value":1566},{"type":207,"tag":215,"props":13637,"children":13638},{"style":1575},[13639],{"type":212,"value":2021},{"type":207,"tag":215,"props":13641,"children":13642},{"style":1563},[13643],{"type":212,"value":2026},{"type":207,"tag":215,"props":13645,"children":13646},{"style":1575},[13647],{"type":212,"value":2031},{"type":207,"tag":215,"props":13649,"children":13650},{"style":1563},[13651],{"type":212,"value":1566},{"type":207,"tag":215,"props":13653,"children":13654},{"style":1605},[13655],{"type":212,"value":2040},{"type":207,"tag":215,"props":13657,"children":13658},{"style":1563},[13659],{"type":212,"value":2045},{"type":207,"tag":215,"props":13661,"children":13662},{"class":663,"line":1938},[13663,13667,13671],{"type":207,"tag":215,"props":13664,"children":13665},{"style":1563},[13666],{"type":212,"value":2054},{"type":207,"tag":215,"props":13668,"children":13669},{"style":1575},[13670],{"type":212,"value":2059},{"type":207,"tag":215,"props":13672,"children":13673},{"style":1563},[13674],{"type":212,"value":989},{"type":207,"tag":215,"props":13676,"children":13677},{"class":663,"line":1952},[13678,13682,13686],{"type":207,"tag":215,"props":13679,"children":13680},{"style":1563},[13681],{"type":212,"value":2072},{"type":207,"tag":215,"props":13683,"children":13684},{"style":1586},[13685],{"type":212,"value":2077},{"type":207,"tag":215,"props":13687,"children":13688},{"style":1563},[13689],{"type":212,"value":700},{"type":207,"tag":215,"props":13691,"children":13692},{"class":663,"line":1961},[13693,13697,13701],{"type":207,"tag":215,"props":13694,"children":13695},{"style":1563},[13696],{"type":212,"value":2090},{"type":207,"tag":215,"props":13698,"children":13699},{"style":1586},[13700],{"type":212,"value":2095},{"type":207,"tag":215,"props":13702,"children":13703},{"style":1563},[13704],{"type":212,"value":700},{"type":207,"tag":215,"props":13706,"children":13707},{"class":663,"line":1969},[13708,13712,13716,13720,13724,13728,13732,13736,13740],{"type":207,"tag":215,"props":13709,"children":13710},{"style":1563},[13711],{"type":212,"value":2108},{"type":207,"tag":215,"props":13713,"children":13714},{"style":1673},[13715],{"type":212,"value":2113},{"type":207,"tag":215,"props":13717,"children":13718},{"style":1563},[13719],{"type":212,"value":2026},{"type":207,"tag":215,"props":13721,"children":13722},{"style":1575},[13723],{"type":212,"value":2122},{"type":207,"tag":215,"props":13725,"children":13726},{"style":1563},[13727],{"type":212,"value":2127},{"type":207,"tag":215,"props":13729,"children":13730},{"style":1673},[13731],{"type":212,"value":2132},{"type":207,"tag":215,"props":13733,"children":13734},{"style":1563},[13735],{"type":212,"value":682},{"type":207,"tag":215,"props":13737,"children":13738},{"style":1673},[13739],{"type":212,"value":2141},{"type":207,"tag":215,"props":13741,"children":13742},{"style":1563},[13743],{"type":212,"value":1848},{"type":207,"tag":215,"props":13745,"children":13746},{"class":663,"line":1977},[13747],{"type":207,"tag":215,"props":13748,"children":13749},{"style":1563},[13750],{"type":212,"value":1037},{"type":207,"tag":215,"props":13752,"children":13753},{"class":663,"line":2048},[13754],{"type":207,"tag":215,"props":13755,"children":13756},{"style":1563},[13757],{"type":212,"value":2162},{"type":207,"tag":215,"props":13759,"children":13760},{"class":663,"line":2066},[13761,13765,13769],{"type":207,"tag":215,"props":13762,"children":13763},{"style":1563},[13764],{"type":212,"value":2171},{"type":207,"tag":215,"props":13766,"children":13767},{"style":1569},[13768],{"type":212,"value":1572},{"type":207,"tag":215,"props":13770,"children":13771},{"style":1563},[13772],{"type":212,"value":1599},{"type":207,"tag":215,"props":13774,"children":13775},{"class":663,"line":2084},[13776],{"type":207,"tag":215,"props":13777,"children":13778},{"emptyLinePlaceholder":868},[13779],{"type":212,"value":869},{"type":207,"tag":215,"props":13781,"children":13782},{"class":663,"line":2102},[13783,13787,13791],{"type":207,"tag":215,"props":13784,"children":13785},{"style":1563},[13786],{"type":212,"value":1566},{"type":207,"tag":215,"props":13788,"children":13789},{"style":1569},[13790],{"type":212,"value":2200},{"type":207,"tag":215,"props":13792,"children":13793},{"style":1563},[13794],{"type":212,"value":1599},{"type":207,"tag":215,"props":13796,"children":13797},{"class":663,"line":2148},[13798,13802,13806,13810,13814,13818,13822,13826,13830,13834,13838,13842,13846,13850,13854],{"type":207,"tag":215,"props":13799,"children":13800},{"style":1563},[13801],{"type":212,"value":2213},{"type":207,"tag":215,"props":13803,"children":13804},{"style":1569},[13805],{"type":212,"value":2218},{"type":207,"tag":215,"props":13807,"children":13808},{"style":1563},[13809],{"type":212,"value":2223},{"type":207,"tag":215,"props":13811,"children":13812},{"style":1575},[13813],{"type":212,"value":2228},{"type":207,"tag":215,"props":13815,"children":13816},{"style":1563},[13817],{"type":212,"value":1583},{"type":207,"tag":215,"props":13819,"children":13820},{"style":1586},[13821],{"type":212,"value":2237},{"type":207,"tag":215,"props":13823,"children":13824},{"style":1563},[13825],{"type":212,"value":2228},{"type":207,"tag":215,"props":13827,"children":13828},{"style":1586},[13829],{"type":212,"value":2237},{"type":207,"tag":215,"props":13831,"children":13832},{"style":1563},[13833],{"type":212,"value":2250},{"type":207,"tag":215,"props":13835,"children":13836},{"style":1575},[13837],{"type":212,"value":2255},{"type":207,"tag":215,"props":13839,"children":13840},{"style":1563},[13841],{"type":212,"value":1583},{"type":207,"tag":215,"props":13843,"children":13844},{"style":1586},[13845],{"type":212,"value":2237},{"type":207,"tag":215,"props":13847,"children":13848},{"style":1563},[13849],{"type":212,"value":2268},{"type":207,"tag":215,"props":13851,"children":13852},{"style":1586},[13853],{"type":212,"value":2237},{"type":207,"tag":215,"props":13855,"children":13856},{"style":1563},[13857],{"type":212,"value":2277},{"type":207,"tag":215,"props":13859,"children":13860},{"class":663,"line":2156},[13861,13865,13869],{"type":207,"tag":215,"props":13862,"children":13863},{"style":1563},[13864],{"type":212,"value":2171},{"type":207,"tag":215,"props":13866,"children":13867},{"style":1569},[13868],{"type":212,"value":2200},{"type":207,"tag":215,"props":13870,"children":13871},{"style":1563},[13872],{"type":212,"value":1599},{"type":207,"tag":1417,"props":13874,"children":13875},{},[13876],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":13878},[],{"data":13880,"body":13881,"toc":14558},{"title":658,"description":658},{"type":204,"children":13882},[13883,14554],{"type":207,"tag":1546,"props":13884,"children":13885},{},[13886],{"type":207,"tag":653,"props":13887,"children":13889},{"className":1551,"code":13888,"language":1553,"meta":658,"style":658},"\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",[13890],{"type":207,"tag":238,"props":13891,"children":13892},{"__ignoreMap":658},[13893,13924,13947,13970,13977,14008,14031,14038,14065,14080,14095,14102,14118,14133,14141,14165,14188,14212,14220,14227,14234,14249,14261,14268,14275,14282,14341,14356,14371,14386,14425,14432,14439,14454,14461,14476,14539],{"type":207,"tag":215,"props":13894,"children":13895},{"class":663,"line":664},[13896,13900,13904,13908,13912,13916,13920],{"type":207,"tag":215,"props":13897,"children":13898},{"style":1563},[13899],{"type":212,"value":1566},{"type":207,"tag":215,"props":13901,"children":13902},{"style":1569},[13903],{"type":212,"value":1572},{"type":207,"tag":215,"props":13905,"children":13906},{"style":1575},[13907],{"type":212,"value":1578},{"type":207,"tag":215,"props":13909,"children":13910},{"style":1563},[13911],{"type":212,"value":1583},{"type":207,"tag":215,"props":13913,"children":13914},{"style":1586},[13915],{"type":212,"value":1589},{"type":207,"tag":215,"props":13917,"children":13918},{"style":1575},[13919],{"type":212,"value":1594},{"type":207,"tag":215,"props":13921,"children":13922},{"style":1563},[13923],{"type":212,"value":1599},{"type":207,"tag":215,"props":13925,"children":13926},{"class":663,"line":691},[13927,13931,13935,13939,13943],{"type":207,"tag":215,"props":13928,"children":13929},{"style":1605},[13930],{"type":212,"value":854},{"type":207,"tag":215,"props":13932,"children":13933},{"style":1605},[13934],{"type":212,"value":1612},{"type":207,"tag":215,"props":13936,"children":13937},{"style":1563},[13938],{"type":212,"value":1617},{"type":207,"tag":215,"props":13940,"children":13941},{"style":1605},[13942],{"type":212,"value":860},{"type":207,"tag":215,"props":13944,"children":13945},{"style":1586},[13946],{"type":212,"value":1626},{"type":207,"tag":215,"props":13948,"children":13949},{"class":663,"line":703},[13950,13954,13958,13962,13966],{"type":207,"tag":215,"props":13951,"children":13952},{"style":1605},[13953],{"type":212,"value":854},{"type":207,"tag":215,"props":13955,"children":13956},{"style":1605},[13957],{"type":212,"value":1612},{"type":207,"tag":215,"props":13959,"children":13960},{"style":1563},[13961],{"type":212,"value":1642},{"type":207,"tag":215,"props":13963,"children":13964},{"style":1605},[13965],{"type":212,"value":860},{"type":207,"tag":215,"props":13967,"children":13968},{"style":1586},[13969],{"type":212,"value":1651},{"type":207,"tag":215,"props":13971,"children":13972},{"class":663,"line":712},[13973],{"type":207,"tag":215,"props":13974,"children":13975},{"emptyLinePlaceholder":868},[13976],{"type":212,"value":869},{"type":207,"tag":215,"props":13978,"children":13979},{"class":663,"line":779},[13980,13984,13988,13992,13996,14000,14004],{"type":207,"tag":215,"props":13981,"children":13982},{"style":1605},[13983],{"type":212,"value":935},{"type":207,"tag":215,"props":13985,"children":13986},{"style":1563},[13987],{"type":212,"value":1670},{"type":207,"tag":215,"props":13989,"children":13990},{"style":1673},[13991],{"type":212,"value":1676},{"type":207,"tag":215,"props":13993,"children":13994},{"style":1563},[13995],{"type":212,"value":1681},{"type":207,"tag":215,"props":13997,"children":13998},{"style":1605},[13999],{"type":212,"value":1583},{"type":207,"tag":215,"props":14001,"children":14002},{"style":1575},[14003],{"type":212,"value":1690},{"type":207,"tag":215,"props":14005,"children":14006},{"style":1563},[14007],{"type":212,"value":1695},{"type":207,"tag":215,"props":14009,"children":14010},{"class":663,"line":796},[14011,14015,14019,14023,14027],{"type":207,"tag":215,"props":14012,"children":14013},{"style":1605},[14014],{"type":212,"value":935},{"type":207,"tag":215,"props":14016,"children":14017},{"style":1673},[14018],{"type":212,"value":1707},{"type":207,"tag":215,"props":14020,"children":14021},{"style":1605},[14022],{"type":212,"value":942},{"type":207,"tag":215,"props":14024,"children":14025},{"style":1575},[14026],{"type":212,"value":1716},{"type":207,"tag":215,"props":14028,"children":14029},{"style":1563},[14030],{"type":212,"value":1695},{"type":207,"tag":215,"props":14032,"children":14033},{"class":663,"line":811},[14034],{"type":207,"tag":215,"props":14035,"children":14036},{"emptyLinePlaceholder":868},[14037],{"type":212,"value":869},{"type":207,"tag":215,"props":14039,"children":14040},{"class":663,"line":817},[14041,14045,14049,14053,14057,14061],{"type":207,"tag":215,"props":14042,"children":14043},{"style":1605},[14044],{"type":212,"value":935},{"type":207,"tag":215,"props":14046,"children":14047},{"style":1673},[14048],{"type":212,"value":978},{"type":207,"tag":215,"props":14050,"children":14051},{"style":1605},[14052],{"type":212,"value":942},{"type":207,"tag":215,"props":14054,"children":14055},{"style":1563},[14056],{"type":212,"value":983},{"type":207,"tag":215,"props":14058,"children":14059},{"style":1575},[14060],{"type":212,"value":986},{"type":207,"tag":215,"props":14062,"children":14063},{"style":1563},[14064],{"type":212,"value":989},{"type":207,"tag":215,"props":14066,"children":14067},{"class":663,"line":823},[14068,14072,14076],{"type":207,"tag":215,"props":14069,"children":14070},{"style":1563},[14071],{"type":212,"value":994},{"type":207,"tag":215,"props":14073,"children":14074},{"style":1575},[14075],{"type":212,"value":672},{"type":207,"tag":215,"props":14077,"children":14078},{"style":1563},[14079],{"type":212,"value":1080},{"type":207,"tag":215,"props":14081,"children":14082},{"class":663,"line":828},[14083,14087,14091],{"type":207,"tag":215,"props":14084,"children":14085},{"style":1563},[14086],{"type":212,"value":1004},{"type":207,"tag":215,"props":14088,"children":14089},{"style":1586},[14090],{"type":212,"value":1007},{"type":207,"tag":215,"props":14092,"children":14093},{"style":1563},[14094],{"type":212,"value":700},{"type":207,"tag":215,"props":14096,"children":14097},{"class":663,"line":834},[14098],{"type":207,"tag":215,"props":14099,"children":14100},{"style":1563},[14101],{"type":212,"value":1014},{"type":207,"tag":215,"props":14103,"children":14104},{"class":663,"line":1147},[14105,14109,14114],{"type":207,"tag":215,"props":14106,"children":14107},{"style":1563},[14108],{"type":212,"value":1019},{"type":207,"tag":215,"props":14110,"children":14111},{"style":1586},[14112],{"type":212,"value":14113},"'选择水果'",{"type":207,"tag":215,"props":14115,"children":14116},{"style":1563},[14117],{"type":212,"value":700},{"type":207,"tag":215,"props":14119,"children":14120},{"class":663,"line":1272},[14121,14125,14129],{"type":207,"tag":215,"props":14122,"children":14123},{"style":1563},[14124],{"type":212,"value":3993},{"type":207,"tag":215,"props":14126,"children":14127},{"style":1586},[14128],{"type":212,"value":1100},{"type":207,"tag":215,"props":14130,"children":14131},{"style":1563},[14132],{"type":212,"value":700},{"type":207,"tag":215,"props":14134,"children":14135},{"class":663,"line":1278},[14136],{"type":207,"tag":215,"props":14137,"children":14138},{"style":1563},[14139],{"type":212,"value":14140},"      items: [\n",{"type":207,"tag":215,"props":14142,"children":14143},{"class":663,"line":1851},[14144,14149,14153,14157,14161],{"type":207,"tag":215,"props":14145,"children":14146},{"style":1563},[14147],{"type":212,"value":14148},"        { label: ",{"type":207,"tag":215,"props":14150,"children":14151},{"style":1586},[14152],{"type":212,"value":1113},{"type":207,"tag":215,"props":14154,"children":14155},{"style":1563},[14156],{"type":212,"value":788},{"type":207,"tag":215,"props":14158,"children":14159},{"style":1586},[14160],{"type":212,"value":948},{"type":207,"tag":215,"props":14162,"children":14163},{"style":1563},[14164],{"type":212,"value":793},{"type":207,"tag":215,"props":14166,"children":14167},{"class":663,"line":1886},[14168,14172,14176,14180,14184],{"type":207,"tag":215,"props":14169,"children":14170},{"style":1563},[14171],{"type":212,"value":14148},{"type":207,"tag":215,"props":14173,"children":14174},{"style":1586},[14175],{"type":212,"value":1126},{"type":207,"tag":215,"props":14177,"children":14178},{"style":1563},[14179],{"type":212,"value":788},{"type":207,"tag":215,"props":14181,"children":14182},{"style":1586},[14183],{"type":212,"value":953},{"type":207,"tag":215,"props":14185,"children":14186},{"style":1563},[14187],{"type":212,"value":793},{"type":207,"tag":215,"props":14189,"children":14190},{"class":663,"line":1903},[14191,14195,14200,14204,14208],{"type":207,"tag":215,"props":14192,"children":14193},{"style":1563},[14194],{"type":212,"value":14148},{"type":207,"tag":215,"props":14196,"children":14197},{"style":1586},[14198],{"type":212,"value":14199},"'橙子'",{"type":207,"tag":215,"props":14201,"children":14202},{"style":1563},[14203],{"type":212,"value":788},{"type":207,"tag":215,"props":14205,"children":14206},{"style":1586},[14207],{"type":212,"value":958},{"type":207,"tag":215,"props":14209,"children":14210},{"style":1563},[14211],{"type":212,"value":808},{"type":207,"tag":215,"props":14213,"children":14214},{"class":663,"line":1921},[14215],{"type":207,"tag":215,"props":14216,"children":14217},{"style":1563},[14218],{"type":212,"value":14219},"      ]\n",{"type":207,"tag":215,"props":14221,"children":14222},{"class":663,"line":1938},[14223],{"type":207,"tag":215,"props":14224,"children":14225},{"style":1563},[14226],{"type":212,"value":1032},{"type":207,"tag":215,"props":14228,"children":14229},{"class":663,"line":1952},[14230],{"type":207,"tag":215,"props":14231,"children":14232},{"style":1563},[14233],{"type":212,"value":1037},{"type":207,"tag":215,"props":14235,"children":14236},{"class":663,"line":1961},[14237,14241,14245],{"type":207,"tag":215,"props":14238,"children":14239},{"style":1563},[14240],{"type":212,"value":1819},{"type":207,"tag":215,"props":14242,"children":14243},{"style":1575},[14244],{"type":212,"value":1896},{"type":207,"tag":215,"props":14246,"children":14247},{"style":1563},[14248],{"type":212,"value":989},{"type":207,"tag":215,"props":14250,"children":14251},{"class":663,"line":1969},[14252,14256],{"type":207,"tag":215,"props":14253,"children":14254},{"style":1563},[14255],{"type":212,"value":1909},{"type":207,"tag":215,"props":14257,"children":14258},{"style":1586},[14259],{"type":212,"value":14260},"'下拉菜单'\n",{"type":207,"tag":215,"props":14262,"children":14263},{"class":663,"line":1977},[14264],{"type":207,"tag":215,"props":14265,"children":14266},{"style":1563},[14267],{"type":212,"value":1958},{"type":207,"tag":215,"props":14269,"children":14270},{"class":663,"line":2048},[14271],{"type":207,"tag":215,"props":14272,"children":14273},{"style":1563},[14274],{"type":212,"value":715},{"type":207,"tag":215,"props":14276,"children":14277},{"class":663,"line":2066},[14278],{"type":207,"tag":215,"props":14279,"children":14280},{"emptyLinePlaceholder":868},[14281],{"type":212,"value":869},{"type":207,"tag":215,"props":14283,"children":14284},{"class":663,"line":2084},[14285,14289,14293,14297,14301,14305,14309,14313,14317,14321,14325,14329,14333,14337],{"type":207,"tag":215,"props":14286,"children":14287},{"style":1605},[14288],{"type":212,"value":1983},{"type":207,"tag":215,"props":14290,"children":14291},{"style":1605},[14292],{"type":212,"value":1988},{"type":207,"tag":215,"props":14294,"children":14295},{"style":1575},[14296],{"type":212,"value":1993},{"type":207,"tag":215,"props":14298,"children":14299},{"style":1563},[14300],{"type":212,"value":1829},{"type":207,"tag":215,"props":14302,"children":14303},{"style":2000},[14304],{"type":212,"value":2003},{"type":207,"tag":215,"props":14306,"children":14307},{"style":1605},[14308],{"type":212,"value":303},{"type":207,"tag":215,"props":14310,"children":14311},{"style":1575},[14312],{"type":212,"value":2012},{"type":207,"tag":215,"props":14314,"children":14315},{"style":1563},[14316],{"type":212,"value":1566},{"type":207,"tag":215,"props":14318,"children":14319},{"style":1575},[14320],{"type":212,"value":2021},{"type":207,"tag":215,"props":14322,"children":14323},{"style":1563},[14324],{"type":212,"value":2026},{"type":207,"tag":215,"props":14326,"children":14327},{"style":1575},[14328],{"type":212,"value":2031},{"type":207,"tag":215,"props":14330,"children":14331},{"style":1563},[14332],{"type":212,"value":1566},{"type":207,"tag":215,"props":14334,"children":14335},{"style":1605},[14336],{"type":212,"value":2040},{"type":207,"tag":215,"props":14338,"children":14339},{"style":1563},[14340],{"type":212,"value":2045},{"type":207,"tag":215,"props":14342,"children":14343},{"class":663,"line":2102},[14344,14348,14352],{"type":207,"tag":215,"props":14345,"children":14346},{"style":1563},[14347],{"type":212,"value":2054},{"type":207,"tag":215,"props":14349,"children":14350},{"style":1575},[14351],{"type":212,"value":2059},{"type":207,"tag":215,"props":14353,"children":14354},{"style":1563},[14355],{"type":212,"value":989},{"type":207,"tag":215,"props":14357,"children":14358},{"class":663,"line":2148},[14359,14363,14367],{"type":207,"tag":215,"props":14360,"children":14361},{"style":1563},[14362],{"type":212,"value":2072},{"type":207,"tag":215,"props":14364,"children":14365},{"style":1586},[14366],{"type":212,"value":2077},{"type":207,"tag":215,"props":14368,"children":14369},{"style":1563},[14370],{"type":212,"value":700},{"type":207,"tag":215,"props":14372,"children":14373},{"class":663,"line":2156},[14374,14378,14382],{"type":207,"tag":215,"props":14375,"children":14376},{"style":1563},[14377],{"type":212,"value":2090},{"type":207,"tag":215,"props":14379,"children":14380},{"style":1586},[14381],{"type":212,"value":2095},{"type":207,"tag":215,"props":14383,"children":14384},{"style":1563},[14385],{"type":212,"value":700},{"type":207,"tag":215,"props":14387,"children":14388},{"class":663,"line":2165},[14389,14393,14397,14401,14405,14409,14413,14417,14421],{"type":207,"tag":215,"props":14390,"children":14391},{"style":1563},[14392],{"type":212,"value":2108},{"type":207,"tag":215,"props":14394,"children":14395},{"style":1673},[14396],{"type":212,"value":2113},{"type":207,"tag":215,"props":14398,"children":14399},{"style":1563},[14400],{"type":212,"value":2026},{"type":207,"tag":215,"props":14402,"children":14403},{"style":1575},[14404],{"type":212,"value":2122},{"type":207,"tag":215,"props":14406,"children":14407},{"style":1563},[14408],{"type":212,"value":2127},{"type":207,"tag":215,"props":14410,"children":14411},{"style":1673},[14412],{"type":212,"value":2132},{"type":207,"tag":215,"props":14414,"children":14415},{"style":1563},[14416],{"type":212,"value":682},{"type":207,"tag":215,"props":14418,"children":14419},{"style":1673},[14420],{"type":212,"value":2141},{"type":207,"tag":215,"props":14422,"children":14423},{"style":1563},[14424],{"type":212,"value":1848},{"type":207,"tag":215,"props":14426,"children":14427},{"class":663,"line":2182},[14428],{"type":207,"tag":215,"props":14429,"children":14430},{"style":1563},[14431],{"type":212,"value":1037},{"type":207,"tag":215,"props":14433,"children":14434},{"class":663,"line":2190},[14435],{"type":207,"tag":215,"props":14436,"children":14437},{"style":1563},[14438],{"type":212,"value":2162},{"type":207,"tag":215,"props":14440,"children":14441},{"class":663,"line":2207},[14442,14446,14450],{"type":207,"tag":215,"props":14443,"children":14444},{"style":1563},[14445],{"type":212,"value":2171},{"type":207,"tag":215,"props":14447,"children":14448},{"style":1569},[14449],{"type":212,"value":1572},{"type":207,"tag":215,"props":14451,"children":14452},{"style":1563},[14453],{"type":212,"value":1599},{"type":207,"tag":215,"props":14455,"children":14456},{"class":663,"line":2280},[14457],{"type":207,"tag":215,"props":14458,"children":14459},{"emptyLinePlaceholder":868},[14460],{"type":212,"value":869},{"type":207,"tag":215,"props":14462,"children":14463},{"class":663,"line":2941},[14464,14468,14472],{"type":207,"tag":215,"props":14465,"children":14466},{"style":1563},[14467],{"type":212,"value":1566},{"type":207,"tag":215,"props":14469,"children":14470},{"style":1569},[14471],{"type":212,"value":2200},{"type":207,"tag":215,"props":14473,"children":14474},{"style":1563},[14475],{"type":212,"value":1599},{"type":207,"tag":215,"props":14477,"children":14478},{"class":663,"line":4245},[14479,14483,14487,14491,14495,14499,14503,14507,14511,14515,14519,14523,14527,14531,14535],{"type":207,"tag":215,"props":14480,"children":14481},{"style":1563},[14482],{"type":212,"value":2213},{"type":207,"tag":215,"props":14484,"children":14485},{"style":1569},[14486],{"type":212,"value":2218},{"type":207,"tag":215,"props":14488,"children":14489},{"style":1563},[14490],{"type":212,"value":2223},{"type":207,"tag":215,"props":14492,"children":14493},{"style":1575},[14494],{"type":212,"value":2228},{"type":207,"tag":215,"props":14496,"children":14497},{"style":1563},[14498],{"type":212,"value":1583},{"type":207,"tag":215,"props":14500,"children":14501},{"style":1586},[14502],{"type":212,"value":2237},{"type":207,"tag":215,"props":14504,"children":14505},{"style":1563},[14506],{"type":212,"value":2228},{"type":207,"tag":215,"props":14508,"children":14509},{"style":1586},[14510],{"type":212,"value":2237},{"type":207,"tag":215,"props":14512,"children":14513},{"style":1563},[14514],{"type":212,"value":2250},{"type":207,"tag":215,"props":14516,"children":14517},{"style":1575},[14518],{"type":212,"value":2255},{"type":207,"tag":215,"props":14520,"children":14521},{"style":1563},[14522],{"type":212,"value":1583},{"type":207,"tag":215,"props":14524,"children":14525},{"style":1586},[14526],{"type":212,"value":2237},{"type":207,"tag":215,"props":14528,"children":14529},{"style":1563},[14530],{"type":212,"value":2268},{"type":207,"tag":215,"props":14532,"children":14533},{"style":1586},[14534],{"type":212,"value":2237},{"type":207,"tag":215,"props":14536,"children":14537},{"style":1563},[14538],{"type":212,"value":2277},{"type":207,"tag":215,"props":14540,"children":14541},{"class":663,"line":4253},[14542,14546,14550],{"type":207,"tag":215,"props":14543,"children":14544},{"style":1563},[14545],{"type":212,"value":2171},{"type":207,"tag":215,"props":14547,"children":14548},{"style":1569},[14549],{"type":212,"value":2200},{"type":207,"tag":215,"props":14551,"children":14552},{"style":1563},[14553],{"type":212,"value":1599},{"type":207,"tag":1417,"props":14555,"children":14556},{},[14557],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":14559},[],{"data":14561,"body":14562,"toc":15278},{"title":658,"description":658},{"type":204,"children":14563},[14564,15274],{"type":207,"tag":1546,"props":14565,"children":14566},{},[14567],{"type":207,"tag":653,"props":14568,"children":14570},{"className":1551,"code":14569,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":14572,"children":14573},{"__ignoreMap":658},[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":207,"tag":215,"props":14575,"children":14576},{"class":663,"line":664},[14577,14581,14585,14589,14593,14597,14601],{"type":207,"tag":215,"props":14578,"children":14579},{"style":1563},[14580],{"type":212,"value":1566},{"type":207,"tag":215,"props":14582,"children":14583},{"style":1569},[14584],{"type":212,"value":1572},{"type":207,"tag":215,"props":14586,"children":14587},{"style":1575},[14588],{"type":212,"value":1578},{"type":207,"tag":215,"props":14590,"children":14591},{"style":1563},[14592],{"type":212,"value":1583},{"type":207,"tag":215,"props":14594,"children":14595},{"style":1586},[14596],{"type":212,"value":1589},{"type":207,"tag":215,"props":14598,"children":14599},{"style":1575},[14600],{"type":212,"value":1594},{"type":207,"tag":215,"props":14602,"children":14603},{"style":1563},[14604],{"type":212,"value":1599},{"type":207,"tag":215,"props":14606,"children":14607},{"class":663,"line":691},[14608,14612,14616,14620,14624],{"type":207,"tag":215,"props":14609,"children":14610},{"style":1605},[14611],{"type":212,"value":854},{"type":207,"tag":215,"props":14613,"children":14614},{"style":1605},[14615],{"type":212,"value":1612},{"type":207,"tag":215,"props":14617,"children":14618},{"style":1563},[14619],{"type":212,"value":1617},{"type":207,"tag":215,"props":14621,"children":14622},{"style":1605},[14623],{"type":212,"value":860},{"type":207,"tag":215,"props":14625,"children":14626},{"style":1586},[14627],{"type":212,"value":1626},{"type":207,"tag":215,"props":14629,"children":14630},{"class":663,"line":703},[14631,14635,14639,14643,14647],{"type":207,"tag":215,"props":14632,"children":14633},{"style":1605},[14634],{"type":212,"value":854},{"type":207,"tag":215,"props":14636,"children":14637},{"style":1605},[14638],{"type":212,"value":1612},{"type":207,"tag":215,"props":14640,"children":14641},{"style":1563},[14642],{"type":212,"value":1642},{"type":207,"tag":215,"props":14644,"children":14645},{"style":1605},[14646],{"type":212,"value":860},{"type":207,"tag":215,"props":14648,"children":14649},{"style":1586},[14650],{"type":212,"value":1651},{"type":207,"tag":215,"props":14652,"children":14653},{"class":663,"line":712},[14654],{"type":207,"tag":215,"props":14655,"children":14656},{"emptyLinePlaceholder":868},[14657],{"type":212,"value":869},{"type":207,"tag":215,"props":14659,"children":14660},{"class":663,"line":779},[14661,14665,14669,14673,14677,14681,14685],{"type":207,"tag":215,"props":14662,"children":14663},{"style":1605},[14664],{"type":212,"value":935},{"type":207,"tag":215,"props":14666,"children":14667},{"style":1563},[14668],{"type":212,"value":1670},{"type":207,"tag":215,"props":14670,"children":14671},{"style":1673},[14672],{"type":212,"value":1676},{"type":207,"tag":215,"props":14674,"children":14675},{"style":1563},[14676],{"type":212,"value":1681},{"type":207,"tag":215,"props":14678,"children":14679},{"style":1605},[14680],{"type":212,"value":1583},{"type":207,"tag":215,"props":14682,"children":14683},{"style":1575},[14684],{"type":212,"value":1690},{"type":207,"tag":215,"props":14686,"children":14687},{"style":1563},[14688],{"type":212,"value":1695},{"type":207,"tag":215,"props":14690,"children":14691},{"class":663,"line":796},[14692,14696,14700,14704,14708],{"type":207,"tag":215,"props":14693,"children":14694},{"style":1605},[14695],{"type":212,"value":935},{"type":207,"tag":215,"props":14697,"children":14698},{"style":1673},[14699],{"type":212,"value":1707},{"type":207,"tag":215,"props":14701,"children":14702},{"style":1605},[14703],{"type":212,"value":942},{"type":207,"tag":215,"props":14705,"children":14706},{"style":1575},[14707],{"type":212,"value":1716},{"type":207,"tag":215,"props":14709,"children":14710},{"style":1563},[14711],{"type":212,"value":1695},{"type":207,"tag":215,"props":14713,"children":14714},{"class":663,"line":811},[14715],{"type":207,"tag":215,"props":14716,"children":14717},{"emptyLinePlaceholder":868},[14718],{"type":212,"value":869},{"type":207,"tag":215,"props":14720,"children":14721},{"class":663,"line":817},[14722,14726,14730,14734,14738,14742],{"type":207,"tag":215,"props":14723,"children":14724},{"style":1605},[14725],{"type":212,"value":935},{"type":207,"tag":215,"props":14727,"children":14728},{"style":1673},[14729],{"type":212,"value":978},{"type":207,"tag":215,"props":14731,"children":14732},{"style":1605},[14733],{"type":212,"value":942},{"type":207,"tag":215,"props":14735,"children":14736},{"style":1563},[14737],{"type":212,"value":983},{"type":207,"tag":215,"props":14739,"children":14740},{"style":1575},[14741],{"type":212,"value":986},{"type":207,"tag":215,"props":14743,"children":14744},{"style":1563},[14745],{"type":212,"value":989},{"type":207,"tag":215,"props":14747,"children":14748},{"class":663,"line":823},[14749,14754,14758],{"type":207,"tag":215,"props":14750,"children":14751},{"style":1563},[14752],{"type":212,"value":14753},"  theme: afz.",{"type":207,"tag":215,"props":14755,"children":14756},{"style":1575},[14757],{"type":212,"value":672},{"type":207,"tag":215,"props":14759,"children":14760},{"style":1563},[14761],{"type":212,"value":1080},{"type":207,"tag":215,"props":14763,"children":14764},{"class":663,"line":828},[14765,14769,14773],{"type":207,"tag":215,"props":14766,"children":14767},{"style":1563},[14768],{"type":212,"value":1004},{"type":207,"tag":215,"props":14770,"children":14771},{"style":1586},[14772],{"type":212,"value":759},{"type":207,"tag":215,"props":14774,"children":14775},{"style":1563},[14776],{"type":212,"value":700},{"type":207,"tag":215,"props":14778,"children":14779},{"class":663,"line":834},[14780],{"type":207,"tag":215,"props":14781,"children":14782},{"style":1563},[14783],{"type":212,"value":1014},{"type":207,"tag":215,"props":14785,"children":14786},{"class":663,"line":1147},[14787,14791,14796],{"type":207,"tag":215,"props":14788,"children":14789},{"style":1563},[14790],{"type":212,"value":3993},{"type":207,"tag":215,"props":14792,"children":14793},{"style":1586},[14794],{"type":212,"value":14795},"'id'",{"type":207,"tag":215,"props":14797,"children":14798},{"style":1563},[14799],{"type":212,"value":700},{"type":207,"tag":215,"props":14801,"children":14802},{"class":663,"line":1272},[14803],{"type":207,"tag":215,"props":14804,"children":14805},{"style":1563},[14806],{"type":212,"value":14140},{"type":207,"tag":215,"props":14808,"children":14809},{"class":663,"line":1278},[14810,14814,14819,14823,14828,14833,14838],{"type":207,"tag":215,"props":14811,"children":14812},{"style":1563},[14813],{"type":212,"value":14148},{"type":207,"tag":215,"props":14815,"children":14816},{"style":1586},[14817],{"type":212,"value":14818},"'System'",{"type":207,"tag":215,"props":14820,"children":14821},{"style":1563},[14822],{"type":212,"value":9557},{"type":207,"tag":215,"props":14824,"children":14825},{"style":1586},[14826],{"type":212,"value":14827},"'跟随系统设置'",{"type":207,"tag":215,"props":14829,"children":14830},{"style":1563},[14831],{"type":212,"value":14832},", id: ",{"type":207,"tag":215,"props":14834,"children":14835},{"style":1586},[14836],{"type":212,"value":14837},"'system'",{"type":207,"tag":215,"props":14839,"children":14840},{"style":1563},[14841],{"type":212,"value":793},{"type":207,"tag":215,"props":14843,"children":14844},{"class":663,"line":1851},[14845,14849,14854,14858,14863,14867,14872],{"type":207,"tag":215,"props":14846,"children":14847},{"style":1563},[14848],{"type":212,"value":14148},{"type":207,"tag":215,"props":14850,"children":14851},{"style":1586},[14852],{"type":212,"value":14853},"'Light'",{"type":207,"tag":215,"props":14855,"children":14856},{"style":1563},[14857],{"type":212,"value":9557},{"type":207,"tag":215,"props":14859,"children":14860},{"style":1586},[14861],{"type":212,"value":14862},"'浅色主题'",{"type":207,"tag":215,"props":14864,"children":14865},{"style":1563},[14866],{"type":212,"value":14832},{"type":207,"tag":215,"props":14868,"children":14869},{"style":1586},[14870],{"type":212,"value":14871},"'light'",{"type":207,"tag":215,"props":14873,"children":14874},{"style":1563},[14875],{"type":212,"value":793},{"type":207,"tag":215,"props":14877,"children":14878},{"class":663,"line":1886},[14879,14883,14888,14892,14897,14901,14906],{"type":207,"tag":215,"props":14880,"children":14881},{"style":1563},[14882],{"type":212,"value":14148},{"type":207,"tag":215,"props":14884,"children":14885},{"style":1586},[14886],{"type":212,"value":14887},"'Dark'",{"type":207,"tag":215,"props":14889,"children":14890},{"style":1563},[14891],{"type":212,"value":9557},{"type":207,"tag":215,"props":14893,"children":14894},{"style":1586},[14895],{"type":212,"value":14896},"'深色主题'",{"type":207,"tag":215,"props":14898,"children":14899},{"style":1563},[14900],{"type":212,"value":14832},{"type":207,"tag":215,"props":14902,"children":14903},{"style":1586},[14904],{"type":212,"value":14905},"'dark'",{"type":207,"tag":215,"props":14907,"children":14908},{"style":1563},[14909],{"type":212,"value":808},{"type":207,"tag":215,"props":14911,"children":14912},{"class":663,"line":1903},[14913],{"type":207,"tag":215,"props":14914,"children":14915},{"style":1563},[14916],{"type":212,"value":14219},{"type":207,"tag":215,"props":14918,"children":14919},{"class":663,"line":1921},[14920],{"type":207,"tag":215,"props":14921,"children":14922},{"style":1563},[14923],{"type":212,"value":1032},{"type":207,"tag":215,"props":14925,"children":14926},{"class":663,"line":1938},[14927],{"type":207,"tag":215,"props":14928,"children":14929},{"style":1563},[14930],{"type":212,"value":1037},{"type":207,"tag":215,"props":14932,"children":14933},{"class":663,"line":1952},[14934,14938,14942,14946,14950],{"type":207,"tag":215,"props":14935,"children":14936},{"style":1563},[14937],{"type":212,"value":1819},{"type":207,"tag":215,"props":14939,"children":14940},{"style":1575},[14941],{"type":212,"value":6442},{"type":207,"tag":215,"props":14943,"children":14944},{"style":1563},[14945],{"type":212,"value":1829},{"type":207,"tag":215,"props":14947,"children":14948},{"style":1586},[14949],{"type":212,"value":14837},{"type":207,"tag":215,"props":14951,"children":14952},{"style":1563},[14953],{"type":212,"value":1848},{"type":207,"tag":215,"props":14955,"children":14956},{"class":663,"line":1961},[14957,14961,14965],{"type":207,"tag":215,"props":14958,"children":14959},{"style":1563},[14960],{"type":212,"value":1819},{"type":207,"tag":215,"props":14962,"children":14963},{"style":1575},[14964],{"type":212,"value":1896},{"type":207,"tag":215,"props":14966,"children":14967},{"style":1563},[14968],{"type":212,"value":989},{"type":207,"tag":215,"props":14970,"children":14971},{"class":663,"line":1969},[14972,14976],{"type":207,"tag":215,"props":14973,"children":14974},{"style":1563},[14975],{"type":212,"value":1909},{"type":207,"tag":215,"props":14977,"children":14978},{"style":1586},[14979],{"type":212,"value":14980},"'单选组'\n",{"type":207,"tag":215,"props":14982,"children":14983},{"class":663,"line":1977},[14984],{"type":207,"tag":215,"props":14985,"children":14986},{"style":1563},[14987],{"type":212,"value":1958},{"type":207,"tag":215,"props":14989,"children":14990},{"class":663,"line":2048},[14991],{"type":207,"tag":215,"props":14992,"children":14993},{"style":1563},[14994],{"type":212,"value":715},{"type":207,"tag":215,"props":14996,"children":14997},{"class":663,"line":2066},[14998],{"type":207,"tag":215,"props":14999,"children":15000},{"emptyLinePlaceholder":868},[15001],{"type":212,"value":869},{"type":207,"tag":215,"props":15003,"children":15004},{"class":663,"line":2084},[15005,15009,15013,15017,15021,15025,15029,15033,15037,15041,15045,15049,15053,15057],{"type":207,"tag":215,"props":15006,"children":15007},{"style":1605},[15008],{"type":212,"value":1983},{"type":207,"tag":215,"props":15010,"children":15011},{"style":1605},[15012],{"type":212,"value":1988},{"type":207,"tag":215,"props":15014,"children":15015},{"style":1575},[15016],{"type":212,"value":1993},{"type":207,"tag":215,"props":15018,"children":15019},{"style":1563},[15020],{"type":212,"value":1829},{"type":207,"tag":215,"props":15022,"children":15023},{"style":2000},[15024],{"type":212,"value":2003},{"type":207,"tag":215,"props":15026,"children":15027},{"style":1605},[15028],{"type":212,"value":303},{"type":207,"tag":215,"props":15030,"children":15031},{"style":1575},[15032],{"type":212,"value":2012},{"type":207,"tag":215,"props":15034,"children":15035},{"style":1563},[15036],{"type":212,"value":1566},{"type":207,"tag":215,"props":15038,"children":15039},{"style":1575},[15040],{"type":212,"value":2021},{"type":207,"tag":215,"props":15042,"children":15043},{"style":1563},[15044],{"type":212,"value":2026},{"type":207,"tag":215,"props":15046,"children":15047},{"style":1575},[15048],{"type":212,"value":2031},{"type":207,"tag":215,"props":15050,"children":15051},{"style":1563},[15052],{"type":212,"value":1566},{"type":207,"tag":215,"props":15054,"children":15055},{"style":1605},[15056],{"type":212,"value":2040},{"type":207,"tag":215,"props":15058,"children":15059},{"style":1563},[15060],{"type":212,"value":2045},{"type":207,"tag":215,"props":15062,"children":15063},{"class":663,"line":2102},[15064,15068,15072],{"type":207,"tag":215,"props":15065,"children":15066},{"style":1563},[15067],{"type":212,"value":2054},{"type":207,"tag":215,"props":15069,"children":15070},{"style":1575},[15071],{"type":212,"value":2059},{"type":207,"tag":215,"props":15073,"children":15074},{"style":1563},[15075],{"type":212,"value":989},{"type":207,"tag":215,"props":15077,"children":15078},{"class":663,"line":2148},[15079,15083,15087],{"type":207,"tag":215,"props":15080,"children":15081},{"style":1563},[15082],{"type":212,"value":2072},{"type":207,"tag":215,"props":15084,"children":15085},{"style":1586},[15086],{"type":212,"value":2077},{"type":207,"tag":215,"props":15088,"children":15089},{"style":1563},[15090],{"type":212,"value":700},{"type":207,"tag":215,"props":15092,"children":15093},{"class":663,"line":2156},[15094,15098,15102],{"type":207,"tag":215,"props":15095,"children":15096},{"style":1563},[15097],{"type":212,"value":2090},{"type":207,"tag":215,"props":15099,"children":15100},{"style":1586},[15101],{"type":212,"value":2095},{"type":207,"tag":215,"props":15103,"children":15104},{"style":1563},[15105],{"type":212,"value":700},{"type":207,"tag":215,"props":15107,"children":15108},{"class":663,"line":2165},[15109,15113,15117,15121,15125,15129,15133,15137,15141],{"type":207,"tag":215,"props":15110,"children":15111},{"style":1563},[15112],{"type":212,"value":2108},{"type":207,"tag":215,"props":15114,"children":15115},{"style":1673},[15116],{"type":212,"value":2113},{"type":207,"tag":215,"props":15118,"children":15119},{"style":1563},[15120],{"type":212,"value":2026},{"type":207,"tag":215,"props":15122,"children":15123},{"style":1575},[15124],{"type":212,"value":2122},{"type":207,"tag":215,"props":15126,"children":15127},{"style":1563},[15128],{"type":212,"value":2127},{"type":207,"tag":215,"props":15130,"children":15131},{"style":1673},[15132],{"type":212,"value":2132},{"type":207,"tag":215,"props":15134,"children":15135},{"style":1563},[15136],{"type":212,"value":682},{"type":207,"tag":215,"props":15138,"children":15139},{"style":1673},[15140],{"type":212,"value":2141},{"type":207,"tag":215,"props":15142,"children":15143},{"style":1563},[15144],{"type":212,"value":1848},{"type":207,"tag":215,"props":15146,"children":15147},{"class":663,"line":2182},[15148],{"type":207,"tag":215,"props":15149,"children":15150},{"style":1563},[15151],{"type":212,"value":1037},{"type":207,"tag":215,"props":15153,"children":15154},{"class":663,"line":2190},[15155],{"type":207,"tag":215,"props":15156,"children":15157},{"style":1563},[15158],{"type":212,"value":2162},{"type":207,"tag":215,"props":15160,"children":15161},{"class":663,"line":2207},[15162,15166,15170],{"type":207,"tag":215,"props":15163,"children":15164},{"style":1563},[15165],{"type":212,"value":2171},{"type":207,"tag":215,"props":15167,"children":15168},{"style":1569},[15169],{"type":212,"value":1572},{"type":207,"tag":215,"props":15171,"children":15172},{"style":1563},[15173],{"type":212,"value":1599},{"type":207,"tag":215,"props":15175,"children":15176},{"class":663,"line":2280},[15177],{"type":207,"tag":215,"props":15178,"children":15179},{"emptyLinePlaceholder":868},[15180],{"type":212,"value":869},{"type":207,"tag":215,"props":15182,"children":15183},{"class":663,"line":2941},[15184,15188,15192],{"type":207,"tag":215,"props":15185,"children":15186},{"style":1563},[15187],{"type":212,"value":1566},{"type":207,"tag":215,"props":15189,"children":15190},{"style":1569},[15191],{"type":212,"value":2200},{"type":207,"tag":215,"props":15193,"children":15194},{"style":1563},[15195],{"type":212,"value":1599},{"type":207,"tag":215,"props":15197,"children":15198},{"class":663,"line":4245},[15199,15203,15207,15211,15215,15219,15223,15227,15231,15235,15239,15243,15247,15251,15255],{"type":207,"tag":215,"props":15200,"children":15201},{"style":1563},[15202],{"type":212,"value":2213},{"type":207,"tag":215,"props":15204,"children":15205},{"style":1569},[15206],{"type":212,"value":2218},{"type":207,"tag":215,"props":15208,"children":15209},{"style":1563},[15210],{"type":212,"value":2223},{"type":207,"tag":215,"props":15212,"children":15213},{"style":1575},[15214],{"type":212,"value":2228},{"type":207,"tag":215,"props":15216,"children":15217},{"style":1563},[15218],{"type":212,"value":1583},{"type":207,"tag":215,"props":15220,"children":15221},{"style":1586},[15222],{"type":212,"value":2237},{"type":207,"tag":215,"props":15224,"children":15225},{"style":1563},[15226],{"type":212,"value":2228},{"type":207,"tag":215,"props":15228,"children":15229},{"style":1586},[15230],{"type":212,"value":2237},{"type":207,"tag":215,"props":15232,"children":15233},{"style":1563},[15234],{"type":212,"value":2250},{"type":207,"tag":215,"props":15236,"children":15237},{"style":1575},[15238],{"type":212,"value":2255},{"type":207,"tag":215,"props":15240,"children":15241},{"style":1563},[15242],{"type":212,"value":1583},{"type":207,"tag":215,"props":15244,"children":15245},{"style":1586},[15246],{"type":212,"value":2237},{"type":207,"tag":215,"props":15248,"children":15249},{"style":1563},[15250],{"type":212,"value":2268},{"type":207,"tag":215,"props":15252,"children":15253},{"style":1586},[15254],{"type":212,"value":2237},{"type":207,"tag":215,"props":15256,"children":15257},{"style":1563},[15258],{"type":212,"value":2277},{"type":207,"tag":215,"props":15260,"children":15261},{"class":663,"line":4253},[15262,15266,15270],{"type":207,"tag":215,"props":15263,"children":15264},{"style":1563},[15265],{"type":212,"value":2171},{"type":207,"tag":215,"props":15267,"children":15268},{"style":1569},[15269],{"type":212,"value":2200},{"type":207,"tag":215,"props":15271,"children":15272},{"style":1563},[15273],{"type":212,"value":1599},{"type":207,"tag":1417,"props":15275,"children":15276},{},[15277],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":15279},[],{"data":15281,"body":15282,"toc":15940},{"title":658,"description":658},{"type":204,"children":15283},[15284,15936],{"type":207,"tag":1546,"props":15285,"children":15286},{},[15287],{"type":207,"tag":653,"props":15288,"children":15290},{"className":1551,"code":15289,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":15292,"children":15293},{"__ignoreMap":658},[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":207,"tag":215,"props":15295,"children":15296},{"class":663,"line":664},[15297,15301,15305,15309,15313,15317,15321],{"type":207,"tag":215,"props":15298,"children":15299},{"style":1563},[15300],{"type":212,"value":1566},{"type":207,"tag":215,"props":15302,"children":15303},{"style":1569},[15304],{"type":212,"value":1572},{"type":207,"tag":215,"props":15306,"children":15307},{"style":1575},[15308],{"type":212,"value":1594},{"type":207,"tag":215,"props":15310,"children":15311},{"style":1575},[15312],{"type":212,"value":1578},{"type":207,"tag":215,"props":15314,"children":15315},{"style":1563},[15316],{"type":212,"value":1583},{"type":207,"tag":215,"props":15318,"children":15319},{"style":1586},[15320],{"type":212,"value":1589},{"type":207,"tag":215,"props":15322,"children":15323},{"style":1563},[15324],{"type":212,"value":1599},{"type":207,"tag":215,"props":15326,"children":15327},{"class":663,"line":691},[15328,15332,15336,15340,15344],{"type":207,"tag":215,"props":15329,"children":15330},{"style":1605},[15331],{"type":212,"value":854},{"type":207,"tag":215,"props":15333,"children":15334},{"style":1605},[15335],{"type":212,"value":1612},{"type":207,"tag":215,"props":15337,"children":15338},{"style":1563},[15339],{"type":212,"value":1642},{"type":207,"tag":215,"props":15341,"children":15342},{"style":1605},[15343],{"type":212,"value":860},{"type":207,"tag":215,"props":15345,"children":15346},{"style":1586},[15347],{"type":212,"value":1651},{"type":207,"tag":215,"props":15349,"children":15350},{"class":663,"line":703},[15351],{"type":207,"tag":215,"props":15352,"children":15353},{"emptyLinePlaceholder":868},[15354],{"type":212,"value":869},{"type":207,"tag":215,"props":15356,"children":15357},{"class":663,"line":712},[15358,15362,15366,15370,15374,15378,15382],{"type":207,"tag":215,"props":15359,"children":15360},{"style":1605},[15361],{"type":212,"value":935},{"type":207,"tag":215,"props":15363,"children":15364},{"style":1563},[15365],{"type":212,"value":1670},{"type":207,"tag":215,"props":15367,"children":15368},{"style":1673},[15369],{"type":212,"value":1676},{"type":207,"tag":215,"props":15371,"children":15372},{"style":1563},[15373],{"type":212,"value":1681},{"type":207,"tag":215,"props":15375,"children":15376},{"style":1605},[15377],{"type":212,"value":1583},{"type":207,"tag":215,"props":15379,"children":15380},{"style":1575},[15381],{"type":212,"value":1690},{"type":207,"tag":215,"props":15383,"children":15384},{"style":1563},[15385],{"type":212,"value":1695},{"type":207,"tag":215,"props":15387,"children":15388},{"class":663,"line":779},[15389,15393,15397,15401,15405,15409],{"type":207,"tag":215,"props":15390,"children":15391},{"style":1605},[15392],{"type":212,"value":935},{"type":207,"tag":215,"props":15394,"children":15395},{"style":1673},[15396],{"type":212,"value":978},{"type":207,"tag":215,"props":15398,"children":15399},{"style":1605},[15400],{"type":212,"value":942},{"type":207,"tag":215,"props":15402,"children":15403},{"style":1563},[15404],{"type":212,"value":983},{"type":207,"tag":215,"props":15406,"children":15407},{"style":1575},[15408],{"type":212,"value":986},{"type":207,"tag":215,"props":15410,"children":15411},{"style":1563},[15412],{"type":212,"value":989},{"type":207,"tag":215,"props":15414,"children":15415},{"class":663,"line":796},[15416,15421,15425,15429,15434,15438,15443,15447,15452],{"type":207,"tag":215,"props":15417,"children":15418},{"style":1563},[15419],{"type":212,"value":15420},"  period: afz.",{"type":207,"tag":215,"props":15422,"children":15423},{"style":1575},[15424],{"type":212,"value":672},{"type":207,"tag":215,"props":15426,"children":15427},{"style":1563},[15428],{"type":212,"value":675},{"type":207,"tag":215,"props":15430,"children":15431},{"style":1586},[15432],{"type":212,"value":15433},"'日'",{"type":207,"tag":215,"props":15435,"children":15436},{"style":1563},[15437],{"type":212,"value":682},{"type":207,"tag":215,"props":15439,"children":15440},{"style":1586},[15441],{"type":212,"value":15442},"'周'",{"type":207,"tag":215,"props":15444,"children":15445},{"style":1563},[15446],{"type":212,"value":682},{"type":207,"tag":215,"props":15448,"children":15449},{"style":1586},[15450],{"type":212,"value":15451},"'月'",{"type":207,"tag":215,"props":15453,"children":15454},{"style":1563},[15455],{"type":212,"value":688},{"type":207,"tag":215,"props":15457,"children":15458},{"class":663,"line":811},[15459,15463,15468],{"type":207,"tag":215,"props":15460,"children":15461},{"style":1563},[15462],{"type":212,"value":1004},{"type":207,"tag":215,"props":15464,"children":15465},{"style":1586},[15466],{"type":212,"value":15467},"'toggleGroup'",{"type":207,"tag":215,"props":15469,"children":15470},{"style":1563},[15471],{"type":212,"value":700},{"type":207,"tag":215,"props":15473,"children":15474},{"class":663,"line":817},[15475,15480,15484],{"type":207,"tag":215,"props":15476,"children":15477},{"style":1563},[15478],{"type":212,"value":15479},"    controlProps: { attached: ",{"type":207,"tag":215,"props":15481,"children":15482},{"style":1673},[15483],{"type":212,"value":265},{"type":207,"tag":215,"props":15485,"children":15486},{"style":1563},[15487],{"type":212,"value":808},{"type":207,"tag":215,"props":15489,"children":15490},{"class":663,"line":823},[15491,15495,15499,15504,15508,15512,15517],{"type":207,"tag":215,"props":15492,"children":15493},{"style":1563},[15494],{"type":212,"value":4938},{"type":207,"tag":215,"props":15496,"children":15497},{"style":1575},[15498],{"type":212,"value":4966},{"type":207,"tag":215,"props":15500,"children":15501},{"style":1563},[15502],{"type":212,"value":15503},"().",{"type":207,"tag":215,"props":15505,"children":15506},{"style":1575},[15507],{"type":212,"value":1896},{"type":207,"tag":215,"props":15509,"children":15510},{"style":1563},[15511],{"type":212,"value":8911},{"type":207,"tag":215,"props":15513,"children":15514},{"style":1586},[15515],{"type":212,"value":15516},"'统计周期'",{"type":207,"tag":215,"props":15518,"children":15519},{"style":1563},[15520],{"type":212,"value":15521}," }),\n",{"type":207,"tag":215,"props":15523,"children":15524},{"class":663,"line":828},[15525,15530,15534,15539,15543,15547,15552,15556,15561,15565,15570],{"type":207,"tag":215,"props":15526,"children":15527},{"style":1563},[15528],{"type":212,"value":15529},"  formats: afz.",{"type":207,"tag":215,"props":15531,"children":15532},{"style":1575},[15533],{"type":212,"value":1408},{"type":207,"tag":215,"props":15535,"children":15536},{"style":1563},[15537],{"type":212,"value":15538},"(afz.",{"type":207,"tag":215,"props":15540,"children":15541},{"style":1575},[15542],{"type":212,"value":672},{"type":207,"tag":215,"props":15544,"children":15545},{"style":1563},[15546],{"type":212,"value":675},{"type":207,"tag":215,"props":15548,"children":15549},{"style":1586},[15550],{"type":212,"value":15551},"'bold'",{"type":207,"tag":215,"props":15553,"children":15554},{"style":1563},[15555],{"type":212,"value":682},{"type":207,"tag":215,"props":15557,"children":15558},{"style":1586},[15559],{"type":212,"value":15560},"'italic'",{"type":207,"tag":215,"props":15562,"children":15563},{"style":1563},[15564],{"type":212,"value":682},{"type":207,"tag":215,"props":15566,"children":15567},{"style":1586},[15568],{"type":212,"value":15569},"'underline'",{"type":207,"tag":215,"props":15571,"children":15572},{"style":1563},[15573],{"type":212,"value":15574},"]), {\n",{"type":207,"tag":215,"props":15576,"children":15577},{"class":663,"line":834},[15578,15582,15586],{"type":207,"tag":215,"props":15579,"children":15580},{"style":1563},[15581],{"type":212,"value":1004},{"type":207,"tag":215,"props":15583,"children":15584},{"style":1586},[15585],{"type":212,"value":15467},{"type":207,"tag":215,"props":15587,"children":15588},{"style":1563},[15589],{"type":212,"value":700},{"type":207,"tag":215,"props":15591,"children":15592},{"class":663,"line":1147},[15593],{"type":207,"tag":215,"props":15594,"children":15595},{"style":1563},[15596],{"type":212,"value":1014},{"type":207,"tag":215,"props":15598,"children":15599},{"class":663,"line":1272},[15600,15605,15610],{"type":207,"tag":215,"props":15601,"children":15602},{"style":1563},[15603],{"type":212,"value":15604},"      type: ",{"type":207,"tag":215,"props":15606,"children":15607},{"style":1586},[15608],{"type":212,"value":15609},"'multiple'",{"type":207,"tag":215,"props":15611,"children":15612},{"style":1563},[15613],{"type":212,"value":700},{"type":207,"tag":215,"props":15615,"children":15616},{"class":663,"line":1278},[15617],{"type":207,"tag":215,"props":15618,"children":15619},{"style":1563},[15620],{"type":212,"value":14140},{"type":207,"tag":215,"props":15622,"children":15623},{"class":663,"line":1851},[15624,15628,15633,15637,15641],{"type":207,"tag":215,"props":15625,"children":15626},{"style":1563},[15627],{"type":212,"value":14148},{"type":207,"tag":215,"props":15629,"children":15630},{"style":1586},[15631],{"type":212,"value":15632},"'加粗'",{"type":207,"tag":215,"props":15634,"children":15635},{"style":1563},[15636],{"type":212,"value":788},{"type":207,"tag":215,"props":15638,"children":15639},{"style":1586},[15640],{"type":212,"value":15551},{"type":207,"tag":215,"props":15642,"children":15643},{"style":1563},[15644],{"type":212,"value":793},{"type":207,"tag":215,"props":15646,"children":15647},{"class":663,"line":1886},[15648,15652,15657,15661,15665],{"type":207,"tag":215,"props":15649,"children":15650},{"style":1563},[15651],{"type":212,"value":14148},{"type":207,"tag":215,"props":15653,"children":15654},{"style":1586},[15655],{"type":212,"value":15656},"'斜体'",{"type":207,"tag":215,"props":15658,"children":15659},{"style":1563},[15660],{"type":212,"value":788},{"type":207,"tag":215,"props":15662,"children":15663},{"style":1586},[15664],{"type":212,"value":15560},{"type":207,"tag":215,"props":15666,"children":15667},{"style":1563},[15668],{"type":212,"value":793},{"type":207,"tag":215,"props":15670,"children":15671},{"class":663,"line":1903},[15672,15676,15681,15685,15689],{"type":207,"tag":215,"props":15673,"children":15674},{"style":1563},[15675],{"type":212,"value":14148},{"type":207,"tag":215,"props":15677,"children":15678},{"style":1586},[15679],{"type":212,"value":15680},"'下划线'",{"type":207,"tag":215,"props":15682,"children":15683},{"style":1563},[15684],{"type":212,"value":788},{"type":207,"tag":215,"props":15686,"children":15687},{"style":1586},[15688],{"type":212,"value":15569},{"type":207,"tag":215,"props":15690,"children":15691},{"style":1563},[15692],{"type":212,"value":808},{"type":207,"tag":215,"props":15694,"children":15695},{"class":663,"line":1921},[15696],{"type":207,"tag":215,"props":15697,"children":15698},{"style":1563},[15699],{"type":212,"value":14219},{"type":207,"tag":215,"props":15701,"children":15702},{"class":663,"line":1938},[15703],{"type":207,"tag":215,"props":15704,"children":15705},{"style":1563},[15706],{"type":212,"value":1032},{"type":207,"tag":215,"props":15708,"children":15709},{"class":663,"line":1952},[15710,15714,15718,15723,15727,15731,15736],{"type":207,"tag":215,"props":15711,"children":15712},{"style":1563},[15713],{"type":212,"value":4938},{"type":207,"tag":215,"props":15715,"children":15716},{"style":1575},[15717],{"type":212,"value":6442},{"type":207,"tag":215,"props":15719,"children":15720},{"style":1563},[15721],{"type":212,"value":15722},"([]).",{"type":207,"tag":215,"props":15724,"children":15725},{"style":1575},[15726],{"type":212,"value":1896},{"type":207,"tag":215,"props":15728,"children":15729},{"style":1563},[15730],{"type":212,"value":8911},{"type":207,"tag":215,"props":15732,"children":15733},{"style":1586},[15734],{"type":212,"value":15735},"'文字格式'",{"type":207,"tag":215,"props":15737,"children":15738},{"style":1563},[15739],{"type":212,"value":8921},{"type":207,"tag":215,"props":15741,"children":15742},{"class":663,"line":1961},[15743],{"type":207,"tag":215,"props":15744,"children":15745},{"style":1563},[15746],{"type":212,"value":715},{"type":207,"tag":215,"props":15748,"children":15749},{"class":663,"line":1969},[15750],{"type":207,"tag":215,"props":15751,"children":15752},{"emptyLinePlaceholder":868},[15753],{"type":212,"value":869},{"type":207,"tag":215,"props":15755,"children":15756},{"class":663,"line":1977},[15757,15761,15765,15769,15773,15777,15781,15785,15789,15793,15797],{"type":207,"tag":215,"props":15758,"children":15759},{"style":1605},[15760],{"type":212,"value":935},{"type":207,"tag":215,"props":15762,"children":15763},{"style":1673},[15764],{"type":212,"value":8947},{"type":207,"tag":215,"props":15766,"children":15767},{"style":1605},[15768],{"type":212,"value":942},{"type":207,"tag":215,"props":15770,"children":15771},{"style":1575},[15772],{"type":212,"value":8956},{"type":207,"tag":215,"props":15774,"children":15775},{"style":1563},[15776],{"type":212,"value":1566},{"type":207,"tag":215,"props":15778,"children":15779},{"style":1575},[15780],{"type":212,"value":2021},{"type":207,"tag":215,"props":15782,"children":15783},{"style":1563},[15784],{"type":212,"value":2026},{"type":207,"tag":215,"props":15786,"children":15787},{"style":1575},[15788],{"type":212,"value":245},{"type":207,"tag":215,"props":15790,"children":15791},{"style":1563},[15792],{"type":212,"value":1566},{"type":207,"tag":215,"props":15794,"children":15795},{"style":1605},[15796],{"type":212,"value":2040},{"type":207,"tag":215,"props":15798,"children":15799},{"style":1563},[15800],{"type":212,"value":8985},{"type":207,"tag":215,"props":15802,"children":15803},{"class":663,"line":2048},[15804,15808,15812],{"type":207,"tag":215,"props":15805,"children":15806},{"style":1563},[15807],{"type":212,"value":2171},{"type":207,"tag":215,"props":15809,"children":15810},{"style":1569},[15811],{"type":212,"value":1572},{"type":207,"tag":215,"props":15813,"children":15814},{"style":1563},[15815],{"type":212,"value":1599},{"type":207,"tag":215,"props":15817,"children":15818},{"class":663,"line":2066},[15819],{"type":207,"tag":215,"props":15820,"children":15821},{"emptyLinePlaceholder":868},[15822],{"type":212,"value":869},{"type":207,"tag":215,"props":15824,"children":15825},{"class":663,"line":2084},[15826,15830,15834],{"type":207,"tag":215,"props":15827,"children":15828},{"style":1563},[15829],{"type":212,"value":1566},{"type":207,"tag":215,"props":15831,"children":15832},{"style":1569},[15833],{"type":212,"value":2200},{"type":207,"tag":215,"props":15835,"children":15836},{"style":1563},[15837],{"type":212,"value":1599},{"type":207,"tag":215,"props":15839,"children":15840},{"class":663,"line":2102},[15841,15845,15849,15853,15857,15861,15865,15869,15873,15877,15881,15885,15889,15893,15897,15901,15905,15909,15913,15917],{"type":207,"tag":215,"props":15842,"children":15843},{"style":1563},[15844],{"type":212,"value":2213},{"type":207,"tag":215,"props":15846,"children":15847},{"style":1569},[15848],{"type":212,"value":2218},{"type":207,"tag":215,"props":15850,"children":15851},{"style":1575},[15852],{"type":212,"value":9038},{"type":207,"tag":215,"props":15854,"children":15855},{"style":1563},[15856],{"type":212,"value":1583},{"type":207,"tag":215,"props":15858,"children":15859},{"style":1586},[15860],{"type":212,"value":2237},{"type":207,"tag":215,"props":15862,"children":15863},{"style":1563},[15864],{"type":212,"value":9051},{"type":207,"tag":215,"props":15866,"children":15867},{"style":1586},[15868],{"type":212,"value":2237},{"type":207,"tag":215,"props":15870,"children":15871},{"style":1563},[15872],{"type":212,"value":2223},{"type":207,"tag":215,"props":15874,"children":15875},{"style":1575},[15876],{"type":212,"value":2228},{"type":207,"tag":215,"props":15878,"children":15879},{"style":1563},[15880],{"type":212,"value":1583},{"type":207,"tag":215,"props":15882,"children":15883},{"style":1586},[15884],{"type":212,"value":2237},{"type":207,"tag":215,"props":15886,"children":15887},{"style":1563},[15888],{"type":212,"value":2228},{"type":207,"tag":215,"props":15890,"children":15891},{"style":1586},[15892],{"type":212,"value":2237},{"type":207,"tag":215,"props":15894,"children":15895},{"style":1563},[15896],{"type":212,"value":2223},{"type":207,"tag":215,"props":15898,"children":15899},{"style":1575},[15900],{"type":212,"value":2255},{"type":207,"tag":215,"props":15902,"children":15903},{"style":1563},[15904],{"type":212,"value":1583},{"type":207,"tag":215,"props":15906,"children":15907},{"style":1586},[15908],{"type":212,"value":2237},{"type":207,"tag":215,"props":15910,"children":15911},{"style":1673},[15912],{"type":212,"value":8897},{"type":207,"tag":215,"props":15914,"children":15915},{"style":1586},[15916],{"type":212,"value":2237},{"type":207,"tag":215,"props":15918,"children":15919},{"style":1563},[15920],{"type":212,"value":2277},{"type":207,"tag":215,"props":15922,"children":15923},{"class":663,"line":2148},[15924,15928,15932],{"type":207,"tag":215,"props":15925,"children":15926},{"style":1563},[15927],{"type":212,"value":2171},{"type":207,"tag":215,"props":15929,"children":15930},{"style":1569},[15931],{"type":212,"value":2200},{"type":207,"tag":215,"props":15933,"children":15934},{"style":1563},[15935],{"type":212,"value":1599},{"type":207,"tag":1417,"props":15937,"children":15938},{},[15939],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":15941},[],{"data":15943,"body":15944,"toc":16528},{"title":658,"description":658},{"type":204,"children":15945},[15946,16524],{"type":207,"tag":1546,"props":15947,"children":15948},{},[15949],{"type":207,"tag":653,"props":15950,"children":15952},{"className":1551,"code":15951,"language":1553,"meta":658,"style":658},"\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":207,"tag":238,"props":15954,"children":15955},{"__ignoreMap":658},[15956,15987,16010,16033,16040,16071,16094,16101,16128,16145,16152,16165,16172,16179,16194,16210,16222,16229,16236,16243,16302,16317,16332,16347,16395,16402,16409,16424,16431,16446,16509],{"type":207,"tag":215,"props":15957,"children":15958},{"class":663,"line":664},[15959,15963,15967,15971,15975,15979,15983],{"type":207,"tag":215,"props":15960,"children":15961},{"style":1563},[15962],{"type":212,"value":1566},{"type":207,"tag":215,"props":15964,"children":15965},{"style":1569},[15966],{"type":212,"value":1572},{"type":207,"tag":215,"props":15968,"children":15969},{"style":1575},[15970],{"type":212,"value":1578},{"type":207,"tag":215,"props":15972,"children":15973},{"style":1563},[15974],{"type":212,"value":1583},{"type":207,"tag":215,"props":15976,"children":15977},{"style":1586},[15978],{"type":212,"value":1589},{"type":207,"tag":215,"props":15980,"children":15981},{"style":1575},[15982],{"type":212,"value":1594},{"type":207,"tag":215,"props":15984,"children":15985},{"style":1563},[15986],{"type":212,"value":1599},{"type":207,"tag":215,"props":15988,"children":15989},{"class":663,"line":691},[15990,15994,15998,16002,16006],{"type":207,"tag":215,"props":15991,"children":15992},{"style":1605},[15993],{"type":212,"value":854},{"type":207,"tag":215,"props":15995,"children":15996},{"style":1605},[15997],{"type":212,"value":1612},{"type":207,"tag":215,"props":15999,"children":16000},{"style":1563},[16001],{"type":212,"value":1617},{"type":207,"tag":215,"props":16003,"children":16004},{"style":1605},[16005],{"type":212,"value":860},{"type":207,"tag":215,"props":16007,"children":16008},{"style":1586},[16009],{"type":212,"value":1626},{"type":207,"tag":215,"props":16011,"children":16012},{"class":663,"line":703},[16013,16017,16021,16025,16029],{"type":207,"tag":215,"props":16014,"children":16015},{"style":1605},[16016],{"type":212,"value":854},{"type":207,"tag":215,"props":16018,"children":16019},{"style":1605},[16020],{"type":212,"value":1612},{"type":207,"tag":215,"props":16022,"children":16023},{"style":1563},[16024],{"type":212,"value":1642},{"type":207,"tag":215,"props":16026,"children":16027},{"style":1605},[16028],{"type":212,"value":860},{"type":207,"tag":215,"props":16030,"children":16031},{"style":1586},[16032],{"type":212,"value":1651},{"type":207,"tag":215,"props":16034,"children":16035},{"class":663,"line":712},[16036],{"type":207,"tag":215,"props":16037,"children":16038},{"emptyLinePlaceholder":868},[16039],{"type":212,"value":869},{"type":207,"tag":215,"props":16041,"children":16042},{"class":663,"line":779},[16043,16047,16051,16055,16059,16063,16067],{"type":207,"tag":215,"props":16044,"children":16045},{"style":1605},[16046],{"type":212,"value":935},{"type":207,"tag":215,"props":16048,"children":16049},{"style":1563},[16050],{"type":212,"value":1670},{"type":207,"tag":215,"props":16052,"children":16053},{"style":1673},[16054],{"type":212,"value":1676},{"type":207,"tag":215,"props":16056,"children":16057},{"style":1563},[16058],{"type":212,"value":1681},{"type":207,"tag":215,"props":16060,"children":16061},{"style":1605},[16062],{"type":212,"value":1583},{"type":207,"tag":215,"props":16064,"children":16065},{"style":1575},[16066],{"type":212,"value":1690},{"type":207,"tag":215,"props":16068,"children":16069},{"style":1563},[16070],{"type":212,"value":1695},{"type":207,"tag":215,"props":16072,"children":16073},{"class":663,"line":796},[16074,16078,16082,16086,16090],{"type":207,"tag":215,"props":16075,"children":16076},{"style":1605},[16077],{"type":212,"value":935},{"type":207,"tag":215,"props":16079,"children":16080},{"style":1673},[16081],{"type":212,"value":1707},{"type":207,"tag":215,"props":16083,"children":16084},{"style":1605},[16085],{"type":212,"value":942},{"type":207,"tag":215,"props":16087,"children":16088},{"style":1575},[16089],{"type":212,"value":1716},{"type":207,"tag":215,"props":16091,"children":16092},{"style":1563},[16093],{"type":212,"value":1695},{"type":207,"tag":215,"props":16095,"children":16096},{"class":663,"line":811},[16097],{"type":207,"tag":215,"props":16098,"children":16099},{"emptyLinePlaceholder":868},[16100],{"type":212,"value":869},{"type":207,"tag":215,"props":16102,"children":16103},{"class":663,"line":817},[16104,16108,16112,16116,16120,16124],{"type":207,"tag":215,"props":16105,"children":16106},{"style":1605},[16107],{"type":212,"value":935},{"type":207,"tag":215,"props":16109,"children":16110},{"style":1673},[16111],{"type":212,"value":978},{"type":207,"tag":215,"props":16113,"children":16114},{"style":1605},[16115],{"type":212,"value":942},{"type":207,"tag":215,"props":16117,"children":16118},{"style":1563},[16119],{"type":212,"value":983},{"type":207,"tag":215,"props":16121,"children":16122},{"style":1575},[16123],{"type":212,"value":986},{"type":207,"tag":215,"props":16125,"children":16126},{"style":1563},[16127],{"type":212,"value":989},{"type":207,"tag":215,"props":16129,"children":16130},{"class":663,"line":823},[16131,16136,16141],{"type":207,"tag":215,"props":16132,"children":16133},{"style":1563},[16134],{"type":212,"value":16135},"  avatar: afz.",{"type":207,"tag":215,"props":16137,"children":16138},{"style":1575},[16139],{"type":212,"value":16140},"file",{"type":207,"tag":215,"props":16142,"children":16143},{"style":1563},[16144],{"type":212,"value":989},{"type":207,"tag":215,"props":16146,"children":16147},{"class":663,"line":828},[16148],{"type":207,"tag":215,"props":16149,"children":16150},{"style":1563},[16151],{"type":212,"value":1014},{"type":207,"tag":215,"props":16153,"children":16154},{"class":663,"line":834},[16155,16160],{"type":207,"tag":215,"props":16156,"children":16157},{"style":1563},[16158],{"type":212,"value":16159},"      accept: ",{"type":207,"tag":215,"props":16161,"children":16162},{"style":1586},[16163],{"type":212,"value":16164},"'image\u002F*'\n",{"type":207,"tag":215,"props":16166,"children":16167},{"class":663,"line":1147},[16168],{"type":207,"tag":215,"props":16169,"children":16170},{"style":1563},[16171],{"type":212,"value":1032},{"type":207,"tag":215,"props":16173,"children":16174},{"class":663,"line":1272},[16175],{"type":207,"tag":215,"props":16176,"children":16177},{"style":1563},[16178],{"type":212,"value":1037},{"type":207,"tag":215,"props":16180,"children":16181},{"class":663,"line":1278},[16182,16186,16190],{"type":207,"tag":215,"props":16183,"children":16184},{"style":1563},[16185],{"type":212,"value":1819},{"type":207,"tag":215,"props":16187,"children":16188},{"style":1575},[16189],{"type":212,"value":1896},{"type":207,"tag":215,"props":16191,"children":16192},{"style":1563},[16193],{"type":212,"value":989},{"type":207,"tag":215,"props":16195,"children":16196},{"class":663,"line":1851},[16197,16201,16206],{"type":207,"tag":215,"props":16198,"children":16199},{"style":1563},[16200],{"type":212,"value":1909},{"type":207,"tag":215,"props":16202,"children":16203},{"style":1586},[16204],{"type":212,"value":16205},"'单文件上传'",{"type":207,"tag":215,"props":16207,"children":16208},{"style":1563},[16209],{"type":212,"value":700},{"type":207,"tag":215,"props":16211,"children":16212},{"class":663,"line":1886},[16213,16217],{"type":207,"tag":215,"props":16214,"children":16215},{"style":1563},[16216],{"type":212,"value":1944},{"type":207,"tag":215,"props":16218,"children":16219},{"style":1586},[16220],{"type":212,"value":16221},"'仅支持图片格式'\n",{"type":207,"tag":215,"props":16223,"children":16224},{"class":663,"line":1903},[16225],{"type":207,"tag":215,"props":16226,"children":16227},{"style":1563},[16228],{"type":212,"value":1958},{"type":207,"tag":215,"props":16230,"children":16231},{"class":663,"line":1921},[16232],{"type":207,"tag":215,"props":16233,"children":16234},{"style":1563},[16235],{"type":212,"value":715},{"type":207,"tag":215,"props":16237,"children":16238},{"class":663,"line":1938},[16239],{"type":207,"tag":215,"props":16240,"children":16241},{"emptyLinePlaceholder":868},[16242],{"type":212,"value":869},{"type":207,"tag":215,"props":16244,"children":16245},{"class":663,"line":1952},[16246,16250,16254,16258,16262,16266,16270,16274,16278,16282,16286,16290,16294,16298],{"type":207,"tag":215,"props":16247,"children":16248},{"style":1605},[16249],{"type":212,"value":1983},{"type":207,"tag":215,"props":16251,"children":16252},{"style":1605},[16253],{"type":212,"value":1988},{"type":207,"tag":215,"props":16255,"children":16256},{"style":1575},[16257],{"type":212,"value":1993},{"type":207,"tag":215,"props":16259,"children":16260},{"style":1563},[16261],{"type":212,"value":1829},{"type":207,"tag":215,"props":16263,"children":16264},{"style":2000},[16265],{"type":212,"value":2003},{"type":207,"tag":215,"props":16267,"children":16268},{"style":1605},[16269],{"type":212,"value":303},{"type":207,"tag":215,"props":16271,"children":16272},{"style":1575},[16273],{"type":212,"value":2012},{"type":207,"tag":215,"props":16275,"children":16276},{"style":1563},[16277],{"type":212,"value":1566},{"type":207,"tag":215,"props":16279,"children":16280},{"style":1575},[16281],{"type":212,"value":2021},{"type":207,"tag":215,"props":16283,"children":16284},{"style":1563},[16285],{"type":212,"value":2026},{"type":207,"tag":215,"props":16287,"children":16288},{"style":1575},[16289],{"type":212,"value":2031},{"type":207,"tag":215,"props":16291,"children":16292},{"style":1563},[16293],{"type":212,"value":1566},{"type":207,"tag":215,"props":16295,"children":16296},{"style":1605},[16297],{"type":212,"value":2040},{"type":207,"tag":215,"props":16299,"children":16300},{"style":1563},[16301],{"type":212,"value":2045},{"type":207,"tag":215,"props":16303,"children":16304},{"class":663,"line":1961},[16305,16309,16313],{"type":207,"tag":215,"props":16306,"children":16307},{"style":1563},[16308],{"type":212,"value":2054},{"type":207,"tag":215,"props":16310,"children":16311},{"style":1575},[16312],{"type":212,"value":2059},{"type":207,"tag":215,"props":16314,"children":16315},{"style":1563},[16316],{"type":212,"value":989},{"type":207,"tag":215,"props":16318,"children":16319},{"class":663,"line":1969},[16320,16324,16328],{"type":207,"tag":215,"props":16321,"children":16322},{"style":1563},[16323],{"type":212,"value":2072},{"type":207,"tag":215,"props":16325,"children":16326},{"style":1586},[16327],{"type":212,"value":2077},{"type":207,"tag":215,"props":16329,"children":16330},{"style":1563},[16331],{"type":212,"value":700},{"type":207,"tag":215,"props":16333,"children":16334},{"class":663,"line":1977},[16335,16339,16343],{"type":207,"tag":215,"props":16336,"children":16337},{"style":1563},[16338],{"type":212,"value":2090},{"type":207,"tag":215,"props":16340,"children":16341},{"style":1586},[16342],{"type":212,"value":2095},{"type":207,"tag":215,"props":16344,"children":16345},{"style":1563},[16346],{"type":212,"value":700},{"type":207,"tag":215,"props":16348,"children":16349},{"class":663,"line":2048},[16350,16354,16359,16363,16367,16372,16376,16381,16385,16390],{"type":207,"tag":215,"props":16351,"children":16352},{"style":1563},[16353],{"type":212,"value":2108},{"type":207,"tag":215,"props":16355,"children":16356},{"style":1586},[16357],{"type":212,"value":16358},"`文件名: ${",{"type":207,"tag":215,"props":16360,"children":16361},{"style":1563},[16362],{"type":212,"value":2003},{"type":207,"tag":215,"props":16364,"children":16365},{"style":1586},[16366],{"type":212,"value":2026},{"type":207,"tag":215,"props":16368,"children":16369},{"style":1563},[16370],{"type":212,"value":16371},"data",{"type":207,"tag":215,"props":16373,"children":16374},{"style":1586},[16375],{"type":212,"value":2026},{"type":207,"tag":215,"props":16377,"children":16378},{"style":1563},[16379],{"type":212,"value":16380},"avatar",{"type":207,"tag":215,"props":16382,"children":16383},{"style":1586},[16384],{"type":212,"value":2026},{"type":207,"tag":215,"props":16386,"children":16387},{"style":1563},[16388],{"type":212,"value":16389},"name",{"type":207,"tag":215,"props":16391,"children":16392},{"style":1586},[16393],{"type":212,"value":16394},"}`\n",{"type":207,"tag":215,"props":16396,"children":16397},{"class":663,"line":2066},[16398],{"type":207,"tag":215,"props":16399,"children":16400},{"style":1563},[16401],{"type":212,"value":1037},{"type":207,"tag":215,"props":16403,"children":16404},{"class":663,"line":2084},[16405],{"type":207,"tag":215,"props":16406,"children":16407},{"style":1563},[16408],{"type":212,"value":2162},{"type":207,"tag":215,"props":16410,"children":16411},{"class":663,"line":2102},[16412,16416,16420],{"type":207,"tag":215,"props":16413,"children":16414},{"style":1563},[16415],{"type":212,"value":2171},{"type":207,"tag":215,"props":16417,"children":16418},{"style":1569},[16419],{"type":212,"value":1572},{"type":207,"tag":215,"props":16421,"children":16422},{"style":1563},[16423],{"type":212,"value":1599},{"type":207,"tag":215,"props":16425,"children":16426},{"class":663,"line":2148},[16427],{"type":207,"tag":215,"props":16428,"children":16429},{"emptyLinePlaceholder":868},[16430],{"type":212,"value":869},{"type":207,"tag":215,"props":16432,"children":16433},{"class":663,"line":2156},[16434,16438,16442],{"type":207,"tag":215,"props":16435,"children":16436},{"style":1563},[16437],{"type":212,"value":1566},{"type":207,"tag":215,"props":16439,"children":16440},{"style":1569},[16441],{"type":212,"value":2200},{"type":207,"tag":215,"props":16443,"children":16444},{"style":1563},[16445],{"type":212,"value":1599},{"type":207,"tag":215,"props":16447,"children":16448},{"class":663,"line":2165},[16449,16453,16457,16461,16465,16469,16473,16477,16481,16485,16489,16493,16497,16501,16505],{"type":207,"tag":215,"props":16450,"children":16451},{"style":1563},[16452],{"type":212,"value":2213},{"type":207,"tag":215,"props":16454,"children":16455},{"style":1569},[16456],{"type":212,"value":2218},{"type":207,"tag":215,"props":16458,"children":16459},{"style":1563},[16460],{"type":212,"value":2223},{"type":207,"tag":215,"props":16462,"children":16463},{"style":1575},[16464],{"type":212,"value":2228},{"type":207,"tag":215,"props":16466,"children":16467},{"style":1563},[16468],{"type":212,"value":1583},{"type":207,"tag":215,"props":16470,"children":16471},{"style":1586},[16472],{"type":212,"value":2237},{"type":207,"tag":215,"props":16474,"children":16475},{"style":1563},[16476],{"type":212,"value":2228},{"type":207,"tag":215,"props":16478,"children":16479},{"style":1586},[16480],{"type":212,"value":2237},{"type":207,"tag":215,"props":16482,"children":16483},{"style":1563},[16484],{"type":212,"value":2250},{"type":207,"tag":215,"props":16486,"children":16487},{"style":1575},[16488],{"type":212,"value":2255},{"type":207,"tag":215,"props":16490,"children":16491},{"style":1563},[16492],{"type":212,"value":1583},{"type":207,"tag":215,"props":16494,"children":16495},{"style":1586},[16496],{"type":212,"value":2237},{"type":207,"tag":215,"props":16498,"children":16499},{"style":1563},[16500],{"type":212,"value":2268},{"type":207,"tag":215,"props":16502,"children":16503},{"style":1586},[16504],{"type":212,"value":2237},{"type":207,"tag":215,"props":16506,"children":16507},{"style":1563},[16508],{"type":212,"value":2277},{"type":207,"tag":215,"props":16510,"children":16511},{"class":663,"line":2182},[16512,16516,16520],{"type":207,"tag":215,"props":16513,"children":16514},{"style":1563},[16515],{"type":212,"value":2171},{"type":207,"tag":215,"props":16517,"children":16518},{"style":1569},[16519],{"type":212,"value":2200},{"type":207,"tag":215,"props":16521,"children":16522},{"style":1563},[16523],{"type":212,"value":1599},{"type":207,"tag":1417,"props":16525,"children":16526},{},[16527],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":16529},[],{"data":16531,"body":16532,"toc":17219},{"title":658,"description":658},{"type":204,"children":16533},[16534,17215],{"type":207,"tag":1546,"props":16535,"children":16536},{},[16537],{"type":207,"tag":653,"props":16538,"children":16540},{"className":1551,"code":16539,"language":1553,"meta":658,"style":658},"\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",[16541],{"type":207,"tag":238,"props":16542,"children":16543},{"__ignoreMap":658},[16544,16575,16598,16621,16628,16659,16682,16689,16716,16741,16757,16764,16780,16793,16800,16807,16839,16872,16887,16903,16915,16922,16929,16936,16995,17010,17025,17040,17086,17093,17100,17115,17122,17137,17200],{"type":207,"tag":215,"props":16545,"children":16546},{"class":663,"line":664},[16547,16551,16555,16559,16563,16567,16571],{"type":207,"tag":215,"props":16548,"children":16549},{"style":1563},[16550],{"type":212,"value":1566},{"type":207,"tag":215,"props":16552,"children":16553},{"style":1569},[16554],{"type":212,"value":1572},{"type":207,"tag":215,"props":16556,"children":16557},{"style":1575},[16558],{"type":212,"value":1578},{"type":207,"tag":215,"props":16560,"children":16561},{"style":1563},[16562],{"type":212,"value":1583},{"type":207,"tag":215,"props":16564,"children":16565},{"style":1586},[16566],{"type":212,"value":1589},{"type":207,"tag":215,"props":16568,"children":16569},{"style":1575},[16570],{"type":212,"value":1594},{"type":207,"tag":215,"props":16572,"children":16573},{"style":1563},[16574],{"type":212,"value":1599},{"type":207,"tag":215,"props":16576,"children":16577},{"class":663,"line":691},[16578,16582,16586,16590,16594],{"type":207,"tag":215,"props":16579,"children":16580},{"style":1605},[16581],{"type":212,"value":854},{"type":207,"tag":215,"props":16583,"children":16584},{"style":1605},[16585],{"type":212,"value":1612},{"type":207,"tag":215,"props":16587,"children":16588},{"style":1563},[16589],{"type":212,"value":1617},{"type":207,"tag":215,"props":16591,"children":16592},{"style":1605},[16593],{"type":212,"value":860},{"type":207,"tag":215,"props":16595,"children":16596},{"style":1586},[16597],{"type":212,"value":1626},{"type":207,"tag":215,"props":16599,"children":16600},{"class":663,"line":703},[16601,16605,16609,16613,16617],{"type":207,"tag":215,"props":16602,"children":16603},{"style":1605},[16604],{"type":212,"value":854},{"type":207,"tag":215,"props":16606,"children":16607},{"style":1605},[16608],{"type":212,"value":1612},{"type":207,"tag":215,"props":16610,"children":16611},{"style":1563},[16612],{"type":212,"value":1642},{"type":207,"tag":215,"props":16614,"children":16615},{"style":1605},[16616],{"type":212,"value":860},{"type":207,"tag":215,"props":16618,"children":16619},{"style":1586},[16620],{"type":212,"value":1651},{"type":207,"tag":215,"props":16622,"children":16623},{"class":663,"line":712},[16624],{"type":207,"tag":215,"props":16625,"children":16626},{"emptyLinePlaceholder":868},[16627],{"type":212,"value":869},{"type":207,"tag":215,"props":16629,"children":16630},{"class":663,"line":779},[16631,16635,16639,16643,16647,16651,16655],{"type":207,"tag":215,"props":16632,"children":16633},{"style":1605},[16634],{"type":212,"value":935},{"type":207,"tag":215,"props":16636,"children":16637},{"style":1563},[16638],{"type":212,"value":1670},{"type":207,"tag":215,"props":16640,"children":16641},{"style":1673},[16642],{"type":212,"value":1676},{"type":207,"tag":215,"props":16644,"children":16645},{"style":1563},[16646],{"type":212,"value":1681},{"type":207,"tag":215,"props":16648,"children":16649},{"style":1605},[16650],{"type":212,"value":1583},{"type":207,"tag":215,"props":16652,"children":16653},{"style":1575},[16654],{"type":212,"value":1690},{"type":207,"tag":215,"props":16656,"children":16657},{"style":1563},[16658],{"type":212,"value":1695},{"type":207,"tag":215,"props":16660,"children":16661},{"class":663,"line":796},[16662,16666,16670,16674,16678],{"type":207,"tag":215,"props":16663,"children":16664},{"style":1605},[16665],{"type":212,"value":935},{"type":207,"tag":215,"props":16667,"children":16668},{"style":1673},[16669],{"type":212,"value":1707},{"type":207,"tag":215,"props":16671,"children":16672},{"style":1605},[16673],{"type":212,"value":942},{"type":207,"tag":215,"props":16675,"children":16676},{"style":1575},[16677],{"type":212,"value":1716},{"type":207,"tag":215,"props":16679,"children":16680},{"style":1563},[16681],{"type":212,"value":1695},{"type":207,"tag":215,"props":16683,"children":16684},{"class":663,"line":811},[16685],{"type":207,"tag":215,"props":16686,"children":16687},{"emptyLinePlaceholder":868},[16688],{"type":212,"value":869},{"type":207,"tag":215,"props":16690,"children":16691},{"class":663,"line":817},[16692,16696,16700,16704,16708,16712],{"type":207,"tag":215,"props":16693,"children":16694},{"style":1605},[16695],{"type":212,"value":935},{"type":207,"tag":215,"props":16697,"children":16698},{"style":1673},[16699],{"type":212,"value":978},{"type":207,"tag":215,"props":16701,"children":16702},{"style":1605},[16703],{"type":212,"value":942},{"type":207,"tag":215,"props":16705,"children":16706},{"style":1563},[16707],{"type":212,"value":983},{"type":207,"tag":215,"props":16709,"children":16710},{"style":1575},[16711],{"type":212,"value":986},{"type":207,"tag":215,"props":16713,"children":16714},{"style":1563},[16715],{"type":212,"value":989},{"type":207,"tag":215,"props":16717,"children":16718},{"class":663,"line":823},[16719,16724,16728,16732,16736],{"type":207,"tag":215,"props":16720,"children":16721},{"style":1563},[16722],{"type":212,"value":16723},"  attachments: afz.",{"type":207,"tag":215,"props":16725,"children":16726},{"style":1575},[16727],{"type":212,"value":1408},{"type":207,"tag":215,"props":16729,"children":16730},{"style":1563},[16731],{"type":212,"value":15538},{"type":207,"tag":215,"props":16733,"children":16734},{"style":1575},[16735],{"type":212,"value":16140},{"type":207,"tag":215,"props":16737,"children":16738},{"style":1563},[16739],{"type":212,"value":16740},"(), {\n",{"type":207,"tag":215,"props":16742,"children":16743},{"class":663,"line":828},[16744,16748,16753],{"type":207,"tag":215,"props":16745,"children":16746},{"style":1563},[16747],{"type":212,"value":1004},{"type":207,"tag":215,"props":16749,"children":16750},{"style":1586},[16751],{"type":212,"value":16752},"'file'",{"type":207,"tag":215,"props":16754,"children":16755},{"style":1563},[16756],{"type":212,"value":700},{"type":207,"tag":215,"props":16758,"children":16759},{"class":663,"line":834},[16760],{"type":207,"tag":215,"props":16761,"children":16762},{"style":1563},[16763],{"type":212,"value":1014},{"type":207,"tag":215,"props":16765,"children":16766},{"class":663,"line":1147},[16767,16772,16776],{"type":207,"tag":215,"props":16768,"children":16769},{"style":1563},[16770],{"type":212,"value":16771},"      multiple: ",{"type":207,"tag":215,"props":16773,"children":16774},{"style":1673},[16775],{"type":212,"value":265},{"type":207,"tag":215,"props":16777,"children":16778},{"style":1563},[16779],{"type":212,"value":700},{"type":207,"tag":215,"props":16781,"children":16782},{"class":663,"line":1272},[16783,16788],{"type":207,"tag":215,"props":16784,"children":16785},{"style":1563},[16786],{"type":212,"value":16787},"      layout: ",{"type":207,"tag":215,"props":16789,"children":16790},{"style":1586},[16791],{"type":212,"value":16792},"'list'\n",{"type":207,"tag":215,"props":16794,"children":16795},{"class":663,"line":1278},[16796],{"type":207,"tag":215,"props":16797,"children":16798},{"style":1563},[16799],{"type":212,"value":1032},{"type":207,"tag":215,"props":16801,"children":16802},{"class":663,"line":1851},[16803],{"type":207,"tag":215,"props":16804,"children":16805},{"style":1563},[16806],{"type":212,"value":1037},{"type":207,"tag":215,"props":16808,"children":16809},{"class":663,"line":1886},[16810,16814,16818,16822,16826,16830,16835],{"type":207,"tag":215,"props":16811,"children":16812},{"style":1563},[16813],{"type":212,"value":1819},{"type":207,"tag":215,"props":16815,"children":16816},{"style":1575},[16817],{"type":212,"value":1824},{"type":207,"tag":215,"props":16819,"children":16820},{"style":1563},[16821],{"type":212,"value":1829},{"type":207,"tag":215,"props":16823,"children":16824},{"style":1673},[16825],{"type":212,"value":9454},{"type":207,"tag":215,"props":16827,"children":16828},{"style":1563},[16829],{"type":212,"value":682},{"type":207,"tag":215,"props":16831,"children":16832},{"style":1586},[16833],{"type":212,"value":16834},"'至少上传一个文件'",{"type":207,"tag":215,"props":16836,"children":16837},{"style":1563},[16838],{"type":212,"value":1848},{"type":207,"tag":215,"props":16840,"children":16841},{"class":663,"line":1903},[16842,16846,16850,16854,16859,16863,16868],{"type":207,"tag":215,"props":16843,"children":16844},{"style":1563},[16845],{"type":212,"value":1819},{"type":207,"tag":215,"props":16847,"children":16848},{"style":1575},[16849],{"type":212,"value":1861},{"type":207,"tag":215,"props":16851,"children":16852},{"style":1563},[16853],{"type":212,"value":1829},{"type":207,"tag":215,"props":16855,"children":16856},{"style":1673},[16857],{"type":212,"value":16858},"5",{"type":207,"tag":215,"props":16860,"children":16861},{"style":1563},[16862],{"type":212,"value":682},{"type":207,"tag":215,"props":16864,"children":16865},{"style":1586},[16866],{"type":212,"value":16867},"'最多上传 5 个文件'",{"type":207,"tag":215,"props":16869,"children":16870},{"style":1563},[16871],{"type":212,"value":1848},{"type":207,"tag":215,"props":16873,"children":16874},{"class":663,"line":1921},[16875,16879,16883],{"type":207,"tag":215,"props":16876,"children":16877},{"style":1563},[16878],{"type":212,"value":1819},{"type":207,"tag":215,"props":16880,"children":16881},{"style":1575},[16882],{"type":212,"value":1896},{"type":207,"tag":215,"props":16884,"children":16885},{"style":1563},[16886],{"type":212,"value":989},{"type":207,"tag":215,"props":16888,"children":16889},{"class":663,"line":1938},[16890,16894,16899],{"type":207,"tag":215,"props":16891,"children":16892},{"style":1563},[16893],{"type":212,"value":1909},{"type":207,"tag":215,"props":16895,"children":16896},{"style":1586},[16897],{"type":212,"value":16898},"'多文件上传'",{"type":207,"tag":215,"props":16900,"children":16901},{"style":1563},[16902],{"type":212,"value":700},{"type":207,"tag":215,"props":16904,"children":16905},{"class":663,"line":1952},[16906,16910],{"type":207,"tag":215,"props":16907,"children":16908},{"style":1563},[16909],{"type":212,"value":1944},{"type":207,"tag":215,"props":16911,"children":16912},{"style":1586},[16913],{"type":212,"value":16914},"'最多上传 5 个文件'\n",{"type":207,"tag":215,"props":16916,"children":16917},{"class":663,"line":1961},[16918],{"type":207,"tag":215,"props":16919,"children":16920},{"style":1563},[16921],{"type":212,"value":1958},{"type":207,"tag":215,"props":16923,"children":16924},{"class":663,"line":1969},[16925],{"type":207,"tag":215,"props":16926,"children":16927},{"style":1563},[16928],{"type":212,"value":715},{"type":207,"tag":215,"props":16930,"children":16931},{"class":663,"line":1977},[16932],{"type":207,"tag":215,"props":16933,"children":16934},{"emptyLinePlaceholder":868},[16935],{"type":212,"value":869},{"type":207,"tag":215,"props":16937,"children":16938},{"class":663,"line":2048},[16939,16943,16947,16951,16955,16959,16963,16967,16971,16975,16979,16983,16987,16991],{"type":207,"tag":215,"props":16940,"children":16941},{"style":1605},[16942],{"type":212,"value":1983},{"type":207,"tag":215,"props":16944,"children":16945},{"style":1605},[16946],{"type":212,"value":1988},{"type":207,"tag":215,"props":16948,"children":16949},{"style":1575},[16950],{"type":212,"value":1993},{"type":207,"tag":215,"props":16952,"children":16953},{"style":1563},[16954],{"type":212,"value":1829},{"type":207,"tag":215,"props":16956,"children":16957},{"style":2000},[16958],{"type":212,"value":2003},{"type":207,"tag":215,"props":16960,"children":16961},{"style":1605},[16962],{"type":212,"value":303},{"type":207,"tag":215,"props":16964,"children":16965},{"style":1575},[16966],{"type":212,"value":2012},{"type":207,"tag":215,"props":16968,"children":16969},{"style":1563},[16970],{"type":212,"value":1566},{"type":207,"tag":215,"props":16972,"children":16973},{"style":1575},[16974],{"type":212,"value":2021},{"type":207,"tag":215,"props":16976,"children":16977},{"style":1563},[16978],{"type":212,"value":2026},{"type":207,"tag":215,"props":16980,"children":16981},{"style":1575},[16982],{"type":212,"value":2031},{"type":207,"tag":215,"props":16984,"children":16985},{"style":1563},[16986],{"type":212,"value":1566},{"type":207,"tag":215,"props":16988,"children":16989},{"style":1605},[16990],{"type":212,"value":2040},{"type":207,"tag":215,"props":16992,"children":16993},{"style":1563},[16994],{"type":212,"value":2045},{"type":207,"tag":215,"props":16996,"children":16997},{"class":663,"line":2066},[16998,17002,17006],{"type":207,"tag":215,"props":16999,"children":17000},{"style":1563},[17001],{"type":212,"value":2054},{"type":207,"tag":215,"props":17003,"children":17004},{"style":1575},[17005],{"type":212,"value":2059},{"type":207,"tag":215,"props":17007,"children":17008},{"style":1563},[17009],{"type":212,"value":989},{"type":207,"tag":215,"props":17011,"children":17012},{"class":663,"line":2084},[17013,17017,17021],{"type":207,"tag":215,"props":17014,"children":17015},{"style":1563},[17016],{"type":212,"value":2072},{"type":207,"tag":215,"props":17018,"children":17019},{"style":1586},[17020],{"type":212,"value":2077},{"type":207,"tag":215,"props":17022,"children":17023},{"style":1563},[17024],{"type":212,"value":700},{"type":207,"tag":215,"props":17026,"children":17027},{"class":663,"line":2102},[17028,17032,17036],{"type":207,"tag":215,"props":17029,"children":17030},{"style":1563},[17031],{"type":212,"value":2090},{"type":207,"tag":215,"props":17033,"children":17034},{"style":1586},[17035],{"type":212,"value":2095},{"type":207,"tag":215,"props":17037,"children":17038},{"style":1563},[17039],{"type":212,"value":700},{"type":207,"tag":215,"props":17041,"children":17042},{"class":663,"line":2148},[17043,17047,17052,17056,17060,17064,17068,17073,17077,17081],{"type":207,"tag":215,"props":17044,"children":17045},{"style":1563},[17046],{"type":212,"value":2108},{"type":207,"tag":215,"props":17048,"children":17049},{"style":1586},[17050],{"type":212,"value":17051},"`已上传 ${",{"type":207,"tag":215,"props":17053,"children":17054},{"style":1563},[17055],{"type":212,"value":2003},{"type":207,"tag":215,"props":17057,"children":17058},{"style":1586},[17059],{"type":212,"value":2026},{"type":207,"tag":215,"props":17061,"children":17062},{"style":1563},[17063],{"type":212,"value":16371},{"type":207,"tag":215,"props":17065,"children":17066},{"style":1586},[17067],{"type":212,"value":2026},{"type":207,"tag":215,"props":17069,"children":17070},{"style":1563},[17071],{"type":212,"value":17072},"attachments",{"type":207,"tag":215,"props":17074,"children":17075},{"style":1586},[17076],{"type":212,"value":2026},{"type":207,"tag":215,"props":17078,"children":17079},{"style":1673},[17080],{"type":212,"value":3241},{"type":207,"tag":215,"props":17082,"children":17083},{"style":1586},[17084],{"type":212,"value":17085},"} 个文件`\n",{"type":207,"tag":215,"props":17087,"children":17088},{"class":663,"line":2156},[17089],{"type":207,"tag":215,"props":17090,"children":17091},{"style":1563},[17092],{"type":212,"value":1037},{"type":207,"tag":215,"props":17094,"children":17095},{"class":663,"line":2165},[17096],{"type":207,"tag":215,"props":17097,"children":17098},{"style":1563},[17099],{"type":212,"value":2162},{"type":207,"tag":215,"props":17101,"children":17102},{"class":663,"line":2182},[17103,17107,17111],{"type":207,"tag":215,"props":17104,"children":17105},{"style":1563},[17106],{"type":212,"value":2171},{"type":207,"tag":215,"props":17108,"children":17109},{"style":1569},[17110],{"type":212,"value":1572},{"type":207,"tag":215,"props":17112,"children":17113},{"style":1563},[17114],{"type":212,"value":1599},{"type":207,"tag":215,"props":17116,"children":17117},{"class":663,"line":2190},[17118],{"type":207,"tag":215,"props":17119,"children":17120},{"emptyLinePlaceholder":868},[17121],{"type":212,"value":869},{"type":207,"tag":215,"props":17123,"children":17124},{"class":663,"line":2207},[17125,17129,17133],{"type":207,"tag":215,"props":17126,"children":17127},{"style":1563},[17128],{"type":212,"value":1566},{"type":207,"tag":215,"props":17130,"children":17131},{"style":1569},[17132],{"type":212,"value":2200},{"type":207,"tag":215,"props":17134,"children":17135},{"style":1563},[17136],{"type":212,"value":1599},{"type":207,"tag":215,"props":17138,"children":17139},{"class":663,"line":2280},[17140,17144,17148,17152,17156,17160,17164,17168,17172,17176,17180,17184,17188,17192,17196],{"type":207,"tag":215,"props":17141,"children":17142},{"style":1563},[17143],{"type":212,"value":2213},{"type":207,"tag":215,"props":17145,"children":17146},{"style":1569},[17147],{"type":212,"value":2218},{"type":207,"tag":215,"props":17149,"children":17150},{"style":1563},[17151],{"type":212,"value":2223},{"type":207,"tag":215,"props":17153,"children":17154},{"style":1575},[17155],{"type":212,"value":2228},{"type":207,"tag":215,"props":17157,"children":17158},{"style":1563},[17159],{"type":212,"value":1583},{"type":207,"tag":215,"props":17161,"children":17162},{"style":1586},[17163],{"type":212,"value":2237},{"type":207,"tag":215,"props":17165,"children":17166},{"style":1563},[17167],{"type":212,"value":2228},{"type":207,"tag":215,"props":17169,"children":17170},{"style":1586},[17171],{"type":212,"value":2237},{"type":207,"tag":215,"props":17173,"children":17174},{"style":1563},[17175],{"type":212,"value":2250},{"type":207,"tag":215,"props":17177,"children":17178},{"style":1575},[17179],{"type":212,"value":2255},{"type":207,"tag":215,"props":17181,"children":17182},{"style":1563},[17183],{"type":212,"value":1583},{"type":207,"tag":215,"props":17185,"children":17186},{"style":1586},[17187],{"type":212,"value":2237},{"type":207,"tag":215,"props":17189,"children":17190},{"style":1563},[17191],{"type":212,"value":2268},{"type":207,"tag":215,"props":17193,"children":17194},{"style":1586},[17195],{"type":212,"value":2237},{"type":207,"tag":215,"props":17197,"children":17198},{"style":1563},[17199],{"type":212,"value":2277},{"type":207,"tag":215,"props":17201,"children":17202},{"class":663,"line":2941},[17203,17207,17211],{"type":207,"tag":215,"props":17204,"children":17205},{"style":1563},[17206],{"type":212,"value":2171},{"type":207,"tag":215,"props":17208,"children":17209},{"style":1569},[17210],{"type":212,"value":2200},{"type":207,"tag":215,"props":17212,"children":17213},{"style":1563},[17214],{"type":212,"value":1599},{"type":207,"tag":1417,"props":17216,"children":17217},{},[17218],{"type":212,"value":2298},{"title":658,"searchDepth":691,"depth":691,"links":17220},[],1795419743855]