[{"data":1,"prerenderedAt":6269,"buildId":6270},["ShallowReactive",2],{"-docs-auto-form-controls-description":3,"component-example-autoFormControlsExample":16,"component-example-autoFormControlsExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":20,"component-example-autoFormCustomControlExample":2523,"component-example-autoFormCustomControlExampleiITTVDKu8vbgUe_TUgdINcUFLxSEv3-4WBWBKFaeKFs":2527,"docs--docs-auto-form-controls":4103,"docs-navigation-zh-CN":6055,"mdc-d0lvp9-key":6250,"surround--docs-auto-form-controls":6266},{"data":4,"body":5},{},{"type":6,"children":7},"root",[8],{"type":9,"tag":10,"props":11,"children":12},"element","p",{},[13],{"type":14,"value":15},"text","通过 type 字段将 schema 映射到 Nuxt UI 控件，或注册、直接传入自定义 Vue 组件扩展表单字段。",{"code":17,"filePath":18,"pascalName":19},"\u003Cscript setup lang=\"ts\">\nimport { UTabs } from '#components'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  $tabs: afz.layout({\n    component: UTabs,\n    props: {\n      ui: { content: 'pt-4 space-y-4' },\n      items: [\n        { label: '文本', icon: 'i-lucide-type', slot: 'text' },\n        { label: '数字', icon: 'i-lucide-hash', slot: 'number' },\n        { label: '布尔', icon: 'i-lucide-toggle-left', slot: 'boolean' },\n        { label: '选择', icon: 'i-lucide-list', slot: 'select' },\n        { label: '日期', icon: 'i-lucide-calendar', slot: 'date' }\n      ]\n    },\n    fieldSlots: {\n      string: 'text',\n      textarea: 'text',\n      inputMenu: 'text',\n      pinInput: 'text',\n\n      number: 'number',\n      slider: 'number',\n\n      boolean: 'boolean',\n      switch: 'boolean',\n      toggle: 'boolean',\n\n      enum: 'select',\n      selectMenu: 'select',\n      radioGroup: 'select',\n      toggleGroupSingle: 'select',\n      toggleGroupMultiple: 'select',\n      listbox: 'select',\n      checkboxGroup: 'select',\n      inputTags: 'select',\n\n      calendarDate: 'date',\n      inputDate: 'date',\n      inputTime: 'date'\n    },\n    fields: {\n      string: afz.string({ controlProps: { placeholder: '默认文本' } }).meta({ label: 'Input' }),\n      textarea: afz.string({ type: 'textarea', controlProps: { rows: 2 } }).meta({ label: 'Textarea' }),\n      inputMenu: afz.string({ type: 'inputMenu', controlProps: { items: ['Vue', 'Nuxt', 'Nitro'] } }).meta({ label: 'InputMenu' }),\n      pinInput: afz.array(afz.string(), { type: 'pinInput', controlProps: { length: 4 } }).meta({ label: 'PinInput' }),\n\n      number: afz.number({ controlProps: { placeholder: '默认数字' } }).meta({ label: 'InputNumber' }),\n      slider: afz.number({ type: 'slider', controlProps: { min: 0, max: 100, step: 5 } }).default(40).meta({ label: 'Slider' }),\n\n      boolean: afz.boolean().meta({ label: 'Checkbox' }),\n      switch: afz.boolean({ type: 'switch' }).meta({ label: 'Switch' }),\n      toggle: afz.boolean({ type: 'toggle', controlProps: { label: '置顶' } }).default(false).meta({ label: 'Toggle' }),\n\n      enum: afz.enum(['low', 'medium', 'high']).default('medium').meta({ label: 'Select' }),\n      selectMenu: afz.enum(['北京', '上海', '广州', '深圳'], { type: 'selectMenu' }).meta({ label: 'SelectMenu' }),\n      radioGroup: afz.enum(['男', '女', '其他'], { type: 'radioGroup' }).meta({ label: 'RadioGroup' }),\n      toggleGroupSingle: afz.enum(['日', '周', '月'], { type: 'toggleGroup' }).optional().meta({ label: 'ToggleGroup 单选' }),\n      toggleGroupMultiple: afz.array(afz.enum(['bold', 'italic']), {\n        type: 'toggleGroup',\n        controlProps: { type: 'multiple', items: [{ label: '加粗', value: 'bold' }, { label: '斜体', value: 'italic' }] }\n      }).default(['bold']).meta({ label: 'ToggleGroup 多选' }),\n      listbox: afz.enum(['草稿', '已发布', '已归档'], { type: 'listbox' }).default('草稿').meta({ label: 'Listbox' }),\n      checkboxGroup: afz.array(afz.string(), { type: 'checkboxGroup', controlProps: { items: ['阅读', '游戏', '运动'] } }).meta({ label: 'CheckboxGroup' }),\n      inputTags: afz.array(afz.string(), { type: 'inputTags' }).default(['nuxt', 'vue']).meta({ label: 'InputTags' }),\n\n      calendarDate: afz.calendarDate({ controlProps: { valueFormat: 'iso' } }).meta({ label: 'DatePicker' }),\n      inputDate: afz.inputDate().meta({ label: 'InputDate' }),\n      inputTime: afz.inputTime().meta({ label: 'InputTime' })\n    }\n  })\n})\n\nconst state = reactive\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Fcontrols\u002FAutoFormControlsExample.vue","AutoFormControlsExample",{"data":21,"body":23,"toc":2521},{"title":22,"description":22},"",{"type":6,"children":24},[25,2515],{"type":9,"tag":26,"props":27,"children":28},"code-collapse",{},[29],{"type":9,"tag":30,"props":31,"children":35},"pre",{"className":32,"code":33,"language":34,"meta":22,"style":22},"language-vue shiki shiki-themes github-light github-light github-dark","\u003Cscript setup lang=\"ts\">\nimport { UTabs } from '#components'\nimport type { z } from 'zod'\n\nconst { afz } = useAutoForm()\n\nconst schema = afz.object({\n  $tabs: afz.layout({\n    component: UTabs,\n    props: {\n      ui: { content: 'pt-4 space-y-4' },\n      items: [\n        { label: '文本', icon: 'i-lucide-type', slot: 'text' },\n        { label: '数字', icon: 'i-lucide-hash', slot: 'number' },\n        { label: '布尔', icon: 'i-lucide-toggle-left', slot: 'boolean' },\n        { label: '选择', icon: 'i-lucide-list', slot: 'select' },\n        { label: '日期', icon: 'i-lucide-calendar', slot: 'date' }\n      ]\n    },\n    fieldSlots: {\n      string: 'text',\n      textarea: 'text',\n      inputMenu: 'text',\n      pinInput: 'text',\n\n      number: 'number',\n      slider: 'number',\n\n      boolean: 'boolean',\n      switch: 'boolean',\n      toggle: 'boolean',\n\n      enum: 'select',\n      selectMenu: 'select',\n      radioGroup: 'select',\n      toggleGroupSingle: 'select',\n      toggleGroupMultiple: 'select',\n      listbox: 'select',\n      checkboxGroup: 'select',\n      inputTags: 'select',\n\n      calendarDate: 'date',\n      inputDate: 'date',\n      inputTime: 'date'\n    },\n    fields: {\n      string: afz.string({ controlProps: { placeholder: '默认文本' } }).meta({ label: 'Input' }),\n      textarea: afz.string({ type: 'textarea', controlProps: { rows: 2 } }).meta({ label: 'Textarea' }),\n      inputMenu: afz.string({ type: 'inputMenu', controlProps: { items: ['Vue', 'Nuxt', 'Nitro'] } }).meta({ label: 'InputMenu' }),\n      pinInput: afz.array(afz.string(), { type: 'pinInput', controlProps: { length: 4 } }).meta({ label: 'PinInput' }),\n\n      number: afz.number({ controlProps: { placeholder: '默认数字' } }).meta({ label: 'InputNumber' }),\n      slider: afz.number({ type: 'slider', controlProps: { min: 0, max: 100, step: 5 } }).default(40).meta({ label: 'Slider' }),\n\n      boolean: afz.boolean().meta({ label: 'Checkbox' }),\n      switch: afz.boolean({ type: 'switch' }).meta({ label: 'Switch' }),\n      toggle: afz.boolean({ type: 'toggle', controlProps: { label: '置顶' } }).default(false).meta({ label: 'Toggle' }),\n\n      enum: afz.enum(['low', 'medium', 'high']).default('medium').meta({ label: 'Select' }),\n      selectMenu: afz.enum(['北京', '上海', '广州', '深圳'], { type: 'selectMenu' }).meta({ label: 'SelectMenu' }),\n      radioGroup: afz.enum(['男', '女', '其他'], { type: 'radioGroup' }).meta({ label: 'RadioGroup' }),\n      toggleGroupSingle: afz.enum(['日', '周', '月'], { type: 'toggleGroup' }).optional().meta({ label: 'ToggleGroup 单选' }),\n      toggleGroupMultiple: afz.array(afz.enum(['bold', 'italic']), {\n        type: 'toggleGroup',\n        controlProps: { type: 'multiple', items: [{ label: '加粗', value: 'bold' }, { label: '斜体', value: 'italic' }] }\n      }).default(['bold']).meta({ label: 'ToggleGroup 多选' }),\n      listbox: afz.enum(['草稿', '已发布', '已归档'], { type: 'listbox' }).default('草稿').meta({ label: 'Listbox' }),\n      checkboxGroup: afz.array(afz.string(), { type: 'checkboxGroup', controlProps: { items: ['阅读', '游戏', '运动'] } }).meta({ label: 'CheckboxGroup' }),\n      inputTags: afz.array(afz.string(), { type: 'inputTags' }).default(['nuxt', 'vue']).meta({ label: 'InputTags' }),\n\n      calendarDate: afz.calendarDate({ controlProps: { valueFormat: 'iso' } }).meta({ label: 'DatePicker' }),\n      inputDate: afz.inputDate().meta({ label: 'InputDate' }),\n      inputTime: afz.inputTime().meta({ label: 'InputTime' })\n    }\n  })\n})\n\nconst state = reactive\u003CPartial\u003Cz.output\u003Ctypeof schema>>>({})\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm v-model=\"state\" :schema=\"schema\" \u002F>\n\u003C\u002Ftemplate>\n\n","vue",[36],{"type":9,"tag":37,"props":38,"children":39},"code",{"__ignoreMap":22},[40,85,110,137,147,186,194,227,245,254,263,282,291,335,374,413,452,492,501,510,519,537,554,571,588,596,613,630,638,655,672,689,697,714,731,748,765,782,799,816,833,841,858,875,889,897,906,955,1009,1082,1146,1154,1198,1291,1299,1335,1379,1449,1457,1537,1617,1687,1766,1810,1827,1883,1925,2011,2089,2166,2174,2219,2254,2290,2299,2308,2317,2325,2389,2406,2414,2431,2499],{"type":9,"tag":41,"props":42,"children":45},"span",{"class":43,"line":44},"line",1,[46,52,58,64,69,74,80],{"type":9,"tag":41,"props":47,"children":49},{"style":48},"--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8",[50],{"type":14,"value":51},"\u003C",{"type":9,"tag":41,"props":53,"children":55},{"style":54},"--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D",[56],{"type":14,"value":57},"script",{"type":9,"tag":41,"props":59,"children":61},{"style":60},"--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0",[62],{"type":14,"value":63}," setup",{"type":9,"tag":41,"props":65,"children":66},{"style":60},[67],{"type":14,"value":68}," lang",{"type":9,"tag":41,"props":70,"children":71},{"style":48},[72],{"type":14,"value":73},"=",{"type":9,"tag":41,"props":75,"children":77},{"style":76},"--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF",[78],{"type":14,"value":79},"\"ts\"",{"type":9,"tag":41,"props":81,"children":82},{"style":48},[83],{"type":14,"value":84},">\n",{"type":9,"tag":41,"props":86,"children":88},{"class":43,"line":87},2,[89,95,100,105],{"type":9,"tag":41,"props":90,"children":92},{"style":91},"--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583",[93],{"type":14,"value":94},"import",{"type":9,"tag":41,"props":96,"children":97},{"style":48},[98],{"type":14,"value":99}," { UTabs } ",{"type":9,"tag":41,"props":101,"children":102},{"style":91},[103],{"type":14,"value":104},"from",{"type":9,"tag":41,"props":106,"children":107},{"style":76},[108],{"type":14,"value":109}," '#components'\n",{"type":9,"tag":41,"props":111,"children":113},{"class":43,"line":112},3,[114,118,123,128,132],{"type":9,"tag":41,"props":115,"children":116},{"style":91},[117],{"type":14,"value":94},{"type":9,"tag":41,"props":119,"children":120},{"style":91},[121],{"type":14,"value":122}," type",{"type":9,"tag":41,"props":124,"children":125},{"style":48},[126],{"type":14,"value":127}," { z } ",{"type":9,"tag":41,"props":129,"children":130},{"style":91},[131],{"type":14,"value":104},{"type":9,"tag":41,"props":133,"children":134},{"style":76},[135],{"type":14,"value":136}," 'zod'\n",{"type":9,"tag":41,"props":138,"children":140},{"class":43,"line":139},4,[141],{"type":9,"tag":41,"props":142,"children":144},{"emptyLinePlaceholder":143},true,[145],{"type":14,"value":146},"\n",{"type":9,"tag":41,"props":148,"children":150},{"class":43,"line":149},5,[151,156,161,167,172,176,181],{"type":9,"tag":41,"props":152,"children":153},{"style":91},[154],{"type":14,"value":155},"const",{"type":9,"tag":41,"props":157,"children":158},{"style":48},[159],{"type":14,"value":160}," { ",{"type":9,"tag":41,"props":162,"children":164},{"style":163},"--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF",[165],{"type":14,"value":166},"afz",{"type":9,"tag":41,"props":168,"children":169},{"style":48},[170],{"type":14,"value":171}," } ",{"type":9,"tag":41,"props":173,"children":174},{"style":91},[175],{"type":14,"value":73},{"type":9,"tag":41,"props":177,"children":178},{"style":60},[179],{"type":14,"value":180}," useAutoForm",{"type":9,"tag":41,"props":182,"children":183},{"style":48},[184],{"type":14,"value":185},"()\n",{"type":9,"tag":41,"props":187,"children":189},{"class":43,"line":188},6,[190],{"type":9,"tag":41,"props":191,"children":192},{"emptyLinePlaceholder":143},[193],{"type":14,"value":146},{"type":9,"tag":41,"props":195,"children":197},{"class":43,"line":196},7,[198,202,207,212,217,222],{"type":9,"tag":41,"props":199,"children":200},{"style":91},[201],{"type":14,"value":155},{"type":9,"tag":41,"props":203,"children":204},{"style":163},[205],{"type":14,"value":206}," schema",{"type":9,"tag":41,"props":208,"children":209},{"style":91},[210],{"type":14,"value":211}," =",{"type":9,"tag":41,"props":213,"children":214},{"style":48},[215],{"type":14,"value":216}," afz.",{"type":9,"tag":41,"props":218,"children":219},{"style":60},[220],{"type":14,"value":221},"object",{"type":9,"tag":41,"props":223,"children":224},{"style":48},[225],{"type":14,"value":226},"({\n",{"type":9,"tag":41,"props":228,"children":230},{"class":43,"line":229},8,[231,236,241],{"type":9,"tag":41,"props":232,"children":233},{"style":48},[234],{"type":14,"value":235},"  $tabs: afz.",{"type":9,"tag":41,"props":237,"children":238},{"style":60},[239],{"type":14,"value":240},"layout",{"type":9,"tag":41,"props":242,"children":243},{"style":48},[244],{"type":14,"value":226},{"type":9,"tag":41,"props":246,"children":248},{"class":43,"line":247},9,[249],{"type":9,"tag":41,"props":250,"children":251},{"style":48},[252],{"type":14,"value":253},"    component: UTabs,\n",{"type":9,"tag":41,"props":255,"children":257},{"class":43,"line":256},10,[258],{"type":9,"tag":41,"props":259,"children":260},{"style":48},[261],{"type":14,"value":262},"    props: {\n",{"type":9,"tag":41,"props":264,"children":266},{"class":43,"line":265},11,[267,272,277],{"type":9,"tag":41,"props":268,"children":269},{"style":48},[270],{"type":14,"value":271},"      ui: { content: ",{"type":9,"tag":41,"props":273,"children":274},{"style":76},[275],{"type":14,"value":276},"'pt-4 space-y-4'",{"type":9,"tag":41,"props":278,"children":279},{"style":48},[280],{"type":14,"value":281}," },\n",{"type":9,"tag":41,"props":283,"children":285},{"class":43,"line":284},12,[286],{"type":9,"tag":41,"props":287,"children":288},{"style":48},[289],{"type":14,"value":290},"      items: [\n",{"type":9,"tag":41,"props":292,"children":294},{"class":43,"line":293},13,[295,300,305,310,321,326,331],{"type":9,"tag":41,"props":296,"children":297},{"style":48},[298],{"type":14,"value":299},"        { label: ",{"type":9,"tag":41,"props":301,"children":302},{"style":76},[303],{"type":14,"value":304},"'文本'",{"type":9,"tag":41,"props":306,"children":307},{"style":48},[308],{"type":14,"value":309},", icon: ",{"type":9,"tag":41,"props":311,"children":312},{"style":76},[313,319],{"type":9,"tag":314,"props":315,"children":318},"i",{"class":316,"style":317},"shiki-icon-highlight","--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftype.svg?color=%23000)",[],{"type":14,"value":320},"'i-lucide-type'",{"type":9,"tag":41,"props":322,"children":323},{"style":48},[324],{"type":14,"value":325},", slot: ",{"type":9,"tag":41,"props":327,"children":328},{"style":76},[329],{"type":14,"value":330},"'text'",{"type":9,"tag":41,"props":332,"children":333},{"style":48},[334],{"type":14,"value":281},{"type":9,"tag":41,"props":336,"children":338},{"class":43,"line":337},14,[339,343,348,352,361,365,370],{"type":9,"tag":41,"props":340,"children":341},{"style":48},[342],{"type":14,"value":299},{"type":9,"tag":41,"props":344,"children":345},{"style":76},[346],{"type":14,"value":347},"'数字'",{"type":9,"tag":41,"props":349,"children":350},{"style":48},[351],{"type":14,"value":309},{"type":9,"tag":41,"props":353,"children":354},{"style":76},[355,359],{"type":9,"tag":314,"props":356,"children":358},{"class":316,"style":357},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fhash.svg?color=%23000)",[],{"type":14,"value":360},"'i-lucide-hash'",{"type":9,"tag":41,"props":362,"children":363},{"style":48},[364],{"type":14,"value":325},{"type":9,"tag":41,"props":366,"children":367},{"style":76},[368],{"type":14,"value":369},"'number'",{"type":9,"tag":41,"props":371,"children":372},{"style":48},[373],{"type":14,"value":281},{"type":9,"tag":41,"props":375,"children":377},{"class":43,"line":376},15,[378,382,387,391,400,404,409],{"type":9,"tag":41,"props":379,"children":380},{"style":48},[381],{"type":14,"value":299},{"type":9,"tag":41,"props":383,"children":384},{"style":76},[385],{"type":14,"value":386},"'布尔'",{"type":9,"tag":41,"props":388,"children":389},{"style":48},[390],{"type":14,"value":309},{"type":9,"tag":41,"props":392,"children":393},{"style":76},[394,398],{"type":9,"tag":314,"props":395,"children":397},{"class":316,"style":396},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Ftoggle-left.svg?color=%23000)",[],{"type":14,"value":399},"'i-lucide-toggle-left'",{"type":9,"tag":41,"props":401,"children":402},{"style":48},[403],{"type":14,"value":325},{"type":9,"tag":41,"props":405,"children":406},{"style":76},[407],{"type":14,"value":408},"'boolean'",{"type":9,"tag":41,"props":410,"children":411},{"style":48},[412],{"type":14,"value":281},{"type":9,"tag":41,"props":414,"children":416},{"class":43,"line":415},16,[417,421,426,430,439,443,448],{"type":9,"tag":41,"props":418,"children":419},{"style":48},[420],{"type":14,"value":299},{"type":9,"tag":41,"props":422,"children":423},{"style":76},[424],{"type":14,"value":425},"'选择'",{"type":9,"tag":41,"props":427,"children":428},{"style":48},[429],{"type":14,"value":309},{"type":9,"tag":41,"props":431,"children":432},{"style":76},[433,437],{"type":9,"tag":314,"props":434,"children":436},{"class":316,"style":435},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Flist.svg?color=%23000)",[],{"type":14,"value":438},"'i-lucide-list'",{"type":9,"tag":41,"props":440,"children":441},{"style":48},[442],{"type":14,"value":325},{"type":9,"tag":41,"props":444,"children":445},{"style":76},[446],{"type":14,"value":447},"'select'",{"type":9,"tag":41,"props":449,"children":450},{"style":48},[451],{"type":14,"value":281},{"type":9,"tag":41,"props":453,"children":455},{"class":43,"line":454},17,[456,460,465,469,478,482,487],{"type":9,"tag":41,"props":457,"children":458},{"style":48},[459],{"type":14,"value":299},{"type":9,"tag":41,"props":461,"children":462},{"style":76},[463],{"type":14,"value":464},"'日期'",{"type":9,"tag":41,"props":466,"children":467},{"style":48},[468],{"type":14,"value":309},{"type":9,"tag":41,"props":470,"children":471},{"style":76},[472,476],{"type":9,"tag":314,"props":473,"children":475},{"class":316,"style":474},"--shiki-icon-url:url(https:\u002F\u002Fapi.iconify.design\u002Flucide\u002Fcalendar.svg?color=%23000)",[],{"type":14,"value":477},"'i-lucide-calendar'",{"type":9,"tag":41,"props":479,"children":480},{"style":48},[481],{"type":14,"value":325},{"type":9,"tag":41,"props":483,"children":484},{"style":76},[485],{"type":14,"value":486},"'date'",{"type":9,"tag":41,"props":488,"children":489},{"style":48},[490],{"type":14,"value":491}," }\n",{"type":9,"tag":41,"props":493,"children":495},{"class":43,"line":494},18,[496],{"type":9,"tag":41,"props":497,"children":498},{"style":48},[499],{"type":14,"value":500},"      ]\n",{"type":9,"tag":41,"props":502,"children":504},{"class":43,"line":503},19,[505],{"type":9,"tag":41,"props":506,"children":507},{"style":48},[508],{"type":14,"value":509},"    },\n",{"type":9,"tag":41,"props":511,"children":513},{"class":43,"line":512},20,[514],{"type":9,"tag":41,"props":515,"children":516},{"style":48},[517],{"type":14,"value":518},"    fieldSlots: {\n",{"type":9,"tag":41,"props":520,"children":522},{"class":43,"line":521},21,[523,528,532],{"type":9,"tag":41,"props":524,"children":525},{"style":48},[526],{"type":14,"value":527},"      string: ",{"type":9,"tag":41,"props":529,"children":530},{"style":76},[531],{"type":14,"value":330},{"type":9,"tag":41,"props":533,"children":534},{"style":48},[535],{"type":14,"value":536},",\n",{"type":9,"tag":41,"props":538,"children":540},{"class":43,"line":539},22,[541,546,550],{"type":9,"tag":41,"props":542,"children":543},{"style":48},[544],{"type":14,"value":545},"      textarea: ",{"type":9,"tag":41,"props":547,"children":548},{"style":76},[549],{"type":14,"value":330},{"type":9,"tag":41,"props":551,"children":552},{"style":48},[553],{"type":14,"value":536},{"type":9,"tag":41,"props":555,"children":557},{"class":43,"line":556},23,[558,563,567],{"type":9,"tag":41,"props":559,"children":560},{"style":48},[561],{"type":14,"value":562},"      inputMenu: ",{"type":9,"tag":41,"props":564,"children":565},{"style":76},[566],{"type":14,"value":330},{"type":9,"tag":41,"props":568,"children":569},{"style":48},[570],{"type":14,"value":536},{"type":9,"tag":41,"props":572,"children":574},{"class":43,"line":573},24,[575,580,584],{"type":9,"tag":41,"props":576,"children":577},{"style":48},[578],{"type":14,"value":579},"      pinInput: ",{"type":9,"tag":41,"props":581,"children":582},{"style":76},[583],{"type":14,"value":330},{"type":9,"tag":41,"props":585,"children":586},{"style":48},[587],{"type":14,"value":536},{"type":9,"tag":41,"props":589,"children":591},{"class":43,"line":590},25,[592],{"type":9,"tag":41,"props":593,"children":594},{"emptyLinePlaceholder":143},[595],{"type":14,"value":146},{"type":9,"tag":41,"props":597,"children":599},{"class":43,"line":598},26,[600,605,609],{"type":9,"tag":41,"props":601,"children":602},{"style":48},[603],{"type":14,"value":604},"      number: ",{"type":9,"tag":41,"props":606,"children":607},{"style":76},[608],{"type":14,"value":369},{"type":9,"tag":41,"props":610,"children":611},{"style":48},[612],{"type":14,"value":536},{"type":9,"tag":41,"props":614,"children":616},{"class":43,"line":615},27,[617,622,626],{"type":9,"tag":41,"props":618,"children":619},{"style":48},[620],{"type":14,"value":621},"      slider: ",{"type":9,"tag":41,"props":623,"children":624},{"style":76},[625],{"type":14,"value":369},{"type":9,"tag":41,"props":627,"children":628},{"style":48},[629],{"type":14,"value":536},{"type":9,"tag":41,"props":631,"children":633},{"class":43,"line":632},28,[634],{"type":9,"tag":41,"props":635,"children":636},{"emptyLinePlaceholder":143},[637],{"type":14,"value":146},{"type":9,"tag":41,"props":639,"children":641},{"class":43,"line":640},29,[642,647,651],{"type":9,"tag":41,"props":643,"children":644},{"style":48},[645],{"type":14,"value":646},"      boolean: ",{"type":9,"tag":41,"props":648,"children":649},{"style":76},[650],{"type":14,"value":408},{"type":9,"tag":41,"props":652,"children":653},{"style":48},[654],{"type":14,"value":536},{"type":9,"tag":41,"props":656,"children":658},{"class":43,"line":657},30,[659,664,668],{"type":9,"tag":41,"props":660,"children":661},{"style":48},[662],{"type":14,"value":663},"      switch: ",{"type":9,"tag":41,"props":665,"children":666},{"style":76},[667],{"type":14,"value":408},{"type":9,"tag":41,"props":669,"children":670},{"style":48},[671],{"type":14,"value":536},{"type":9,"tag":41,"props":673,"children":675},{"class":43,"line":674},31,[676,681,685],{"type":9,"tag":41,"props":677,"children":678},{"style":48},[679],{"type":14,"value":680},"      toggle: ",{"type":9,"tag":41,"props":682,"children":683},{"style":76},[684],{"type":14,"value":408},{"type":9,"tag":41,"props":686,"children":687},{"style":48},[688],{"type":14,"value":536},{"type":9,"tag":41,"props":690,"children":692},{"class":43,"line":691},32,[693],{"type":9,"tag":41,"props":694,"children":695},{"emptyLinePlaceholder":143},[696],{"type":14,"value":146},{"type":9,"tag":41,"props":698,"children":700},{"class":43,"line":699},33,[701,706,710],{"type":9,"tag":41,"props":702,"children":703},{"style":48},[704],{"type":14,"value":705},"      enum: ",{"type":9,"tag":41,"props":707,"children":708},{"style":76},[709],{"type":14,"value":447},{"type":9,"tag":41,"props":711,"children":712},{"style":48},[713],{"type":14,"value":536},{"type":9,"tag":41,"props":715,"children":717},{"class":43,"line":716},34,[718,723,727],{"type":9,"tag":41,"props":719,"children":720},{"style":48},[721],{"type":14,"value":722},"      selectMenu: ",{"type":9,"tag":41,"props":724,"children":725},{"style":76},[726],{"type":14,"value":447},{"type":9,"tag":41,"props":728,"children":729},{"style":48},[730],{"type":14,"value":536},{"type":9,"tag":41,"props":732,"children":734},{"class":43,"line":733},35,[735,740,744],{"type":9,"tag":41,"props":736,"children":737},{"style":48},[738],{"type":14,"value":739},"      radioGroup: ",{"type":9,"tag":41,"props":741,"children":742},{"style":76},[743],{"type":14,"value":447},{"type":9,"tag":41,"props":745,"children":746},{"style":48},[747],{"type":14,"value":536},{"type":9,"tag":41,"props":749,"children":751},{"class":43,"line":750},36,[752,757,761],{"type":9,"tag":41,"props":753,"children":754},{"style":48},[755],{"type":14,"value":756},"      toggleGroupSingle: ",{"type":9,"tag":41,"props":758,"children":759},{"style":76},[760],{"type":14,"value":447},{"type":9,"tag":41,"props":762,"children":763},{"style":48},[764],{"type":14,"value":536},{"type":9,"tag":41,"props":766,"children":768},{"class":43,"line":767},37,[769,774,778],{"type":9,"tag":41,"props":770,"children":771},{"style":48},[772],{"type":14,"value":773},"      toggleGroupMultiple: ",{"type":9,"tag":41,"props":775,"children":776},{"style":76},[777],{"type":14,"value":447},{"type":9,"tag":41,"props":779,"children":780},{"style":48},[781],{"type":14,"value":536},{"type":9,"tag":41,"props":783,"children":785},{"class":43,"line":784},38,[786,791,795],{"type":9,"tag":41,"props":787,"children":788},{"style":48},[789],{"type":14,"value":790},"      listbox: ",{"type":9,"tag":41,"props":792,"children":793},{"style":76},[794],{"type":14,"value":447},{"type":9,"tag":41,"props":796,"children":797},{"style":48},[798],{"type":14,"value":536},{"type":9,"tag":41,"props":800,"children":802},{"class":43,"line":801},39,[803,808,812],{"type":9,"tag":41,"props":804,"children":805},{"style":48},[806],{"type":14,"value":807},"      checkboxGroup: ",{"type":9,"tag":41,"props":809,"children":810},{"style":76},[811],{"type":14,"value":447},{"type":9,"tag":41,"props":813,"children":814},{"style":48},[815],{"type":14,"value":536},{"type":9,"tag":41,"props":817,"children":819},{"class":43,"line":818},40,[820,825,829],{"type":9,"tag":41,"props":821,"children":822},{"style":48},[823],{"type":14,"value":824},"      inputTags: ",{"type":9,"tag":41,"props":826,"children":827},{"style":76},[828],{"type":14,"value":447},{"type":9,"tag":41,"props":830,"children":831},{"style":48},[832],{"type":14,"value":536},{"type":9,"tag":41,"props":834,"children":836},{"class":43,"line":835},41,[837],{"type":9,"tag":41,"props":838,"children":839},{"emptyLinePlaceholder":143},[840],{"type":14,"value":146},{"type":9,"tag":41,"props":842,"children":844},{"class":43,"line":843},42,[845,850,854],{"type":9,"tag":41,"props":846,"children":847},{"style":48},[848],{"type":14,"value":849},"      calendarDate: ",{"type":9,"tag":41,"props":851,"children":852},{"style":76},[853],{"type":14,"value":486},{"type":9,"tag":41,"props":855,"children":856},{"style":48},[857],{"type":14,"value":536},{"type":9,"tag":41,"props":859,"children":861},{"class":43,"line":860},43,[862,867,871],{"type":9,"tag":41,"props":863,"children":864},{"style":48},[865],{"type":14,"value":866},"      inputDate: ",{"type":9,"tag":41,"props":868,"children":869},{"style":76},[870],{"type":14,"value":486},{"type":9,"tag":41,"props":872,"children":873},{"style":48},[874],{"type":14,"value":536},{"type":9,"tag":41,"props":876,"children":878},{"class":43,"line":877},44,[879,884],{"type":9,"tag":41,"props":880,"children":881},{"style":48},[882],{"type":14,"value":883},"      inputTime: ",{"type":9,"tag":41,"props":885,"children":886},{"style":76},[887],{"type":14,"value":888},"'date'\n",{"type":9,"tag":41,"props":890,"children":892},{"class":43,"line":891},45,[893],{"type":9,"tag":41,"props":894,"children":895},{"style":48},[896],{"type":14,"value":509},{"type":9,"tag":41,"props":898,"children":900},{"class":43,"line":899},46,[901],{"type":9,"tag":41,"props":902,"children":903},{"style":48},[904],{"type":14,"value":905},"    fields: {\n",{"type":9,"tag":41,"props":907,"children":909},{"class":43,"line":908},47,[910,915,920,925,930,935,940,945,950],{"type":9,"tag":41,"props":911,"children":912},{"style":48},[913],{"type":14,"value":914},"      string: afz.",{"type":9,"tag":41,"props":916,"children":917},{"style":60},[918],{"type":14,"value":919},"string",{"type":9,"tag":41,"props":921,"children":922},{"style":48},[923],{"type":14,"value":924},"({ controlProps: { placeholder: ",{"type":9,"tag":41,"props":926,"children":927},{"style":76},[928],{"type":14,"value":929},"'默认文本'",{"type":9,"tag":41,"props":931,"children":932},{"style":48},[933],{"type":14,"value":934}," } }).",{"type":9,"tag":41,"props":936,"children":937},{"style":60},[938],{"type":14,"value":939},"meta",{"type":9,"tag":41,"props":941,"children":942},{"style":48},[943],{"type":14,"value":944},"({ label: ",{"type":9,"tag":41,"props":946,"children":947},{"style":76},[948],{"type":14,"value":949},"'Input'",{"type":9,"tag":41,"props":951,"children":952},{"style":48},[953],{"type":14,"value":954}," }),\n",{"type":9,"tag":41,"props":956,"children":958},{"class":43,"line":957},48,[959,964,968,973,978,983,988,992,996,1000,1005],{"type":9,"tag":41,"props":960,"children":961},{"style":48},[962],{"type":14,"value":963},"      textarea: afz.",{"type":9,"tag":41,"props":965,"children":966},{"style":60},[967],{"type":14,"value":919},{"type":9,"tag":41,"props":969,"children":970},{"style":48},[971],{"type":14,"value":972},"({ type: ",{"type":9,"tag":41,"props":974,"children":975},{"style":76},[976],{"type":14,"value":977},"'textarea'",{"type":9,"tag":41,"props":979,"children":980},{"style":48},[981],{"type":14,"value":982},", controlProps: { rows: ",{"type":9,"tag":41,"props":984,"children":985},{"style":163},[986],{"type":14,"value":987},"2",{"type":9,"tag":41,"props":989,"children":990},{"style":48},[991],{"type":14,"value":934},{"type":9,"tag":41,"props":993,"children":994},{"style":60},[995],{"type":14,"value":939},{"type":9,"tag":41,"props":997,"children":998},{"style":48},[999],{"type":14,"value":944},{"type":9,"tag":41,"props":1001,"children":1002},{"style":76},[1003],{"type":14,"value":1004},"'Textarea'",{"type":9,"tag":41,"props":1006,"children":1007},{"style":48},[1008],{"type":14,"value":954},{"type":9,"tag":41,"props":1010,"children":1012},{"class":43,"line":1011},49,[1013,1018,1022,1026,1031,1036,1041,1046,1051,1055,1060,1065,1069,1073,1078],{"type":9,"tag":41,"props":1014,"children":1015},{"style":48},[1016],{"type":14,"value":1017},"      inputMenu: afz.",{"type":9,"tag":41,"props":1019,"children":1020},{"style":60},[1021],{"type":14,"value":919},{"type":9,"tag":41,"props":1023,"children":1024},{"style":48},[1025],{"type":14,"value":972},{"type":9,"tag":41,"props":1027,"children":1028},{"style":76},[1029],{"type":14,"value":1030},"'inputMenu'",{"type":9,"tag":41,"props":1032,"children":1033},{"style":48},[1034],{"type":14,"value":1035},", controlProps: { items: [",{"type":9,"tag":41,"props":1037,"children":1038},{"style":76},[1039],{"type":14,"value":1040},"'Vue'",{"type":9,"tag":41,"props":1042,"children":1043},{"style":48},[1044],{"type":14,"value":1045},", ",{"type":9,"tag":41,"props":1047,"children":1048},{"style":76},[1049],{"type":14,"value":1050},"'Nuxt'",{"type":9,"tag":41,"props":1052,"children":1053},{"style":48},[1054],{"type":14,"value":1045},{"type":9,"tag":41,"props":1056,"children":1057},{"style":76},[1058],{"type":14,"value":1059},"'Nitro'",{"type":9,"tag":41,"props":1061,"children":1062},{"style":48},[1063],{"type":14,"value":1064},"] } }).",{"type":9,"tag":41,"props":1066,"children":1067},{"style":60},[1068],{"type":14,"value":939},{"type":9,"tag":41,"props":1070,"children":1071},{"style":48},[1072],{"type":14,"value":944},{"type":9,"tag":41,"props":1074,"children":1075},{"style":76},[1076],{"type":14,"value":1077},"'InputMenu'",{"type":9,"tag":41,"props":1079,"children":1080},{"style":48},[1081],{"type":14,"value":954},{"type":9,"tag":41,"props":1083,"children":1085},{"class":43,"line":1084},50,[1086,1091,1096,1101,1105,1110,1115,1120,1125,1129,1133,1137,1142],{"type":9,"tag":41,"props":1087,"children":1088},{"style":48},[1089],{"type":14,"value":1090},"      pinInput: afz.",{"type":9,"tag":41,"props":1092,"children":1093},{"style":60},[1094],{"type":14,"value":1095},"array",{"type":9,"tag":41,"props":1097,"children":1098},{"style":48},[1099],{"type":14,"value":1100},"(afz.",{"type":9,"tag":41,"props":1102,"children":1103},{"style":60},[1104],{"type":14,"value":919},{"type":9,"tag":41,"props":1106,"children":1107},{"style":48},[1108],{"type":14,"value":1109},"(), { type: ",{"type":9,"tag":41,"props":1111,"children":1112},{"style":76},[1113],{"type":14,"value":1114},"'pinInput'",{"type":9,"tag":41,"props":1116,"children":1117},{"style":48},[1118],{"type":14,"value":1119},", controlProps: { length: ",{"type":9,"tag":41,"props":1121,"children":1122},{"style":163},[1123],{"type":14,"value":1124},"4",{"type":9,"tag":41,"props":1126,"children":1127},{"style":48},[1128],{"type":14,"value":934},{"type":9,"tag":41,"props":1130,"children":1131},{"style":60},[1132],{"type":14,"value":939},{"type":9,"tag":41,"props":1134,"children":1135},{"style":48},[1136],{"type":14,"value":944},{"type":9,"tag":41,"props":1138,"children":1139},{"style":76},[1140],{"type":14,"value":1141},"'PinInput'",{"type":9,"tag":41,"props":1143,"children":1144},{"style":48},[1145],{"type":14,"value":954},{"type":9,"tag":41,"props":1147,"children":1149},{"class":43,"line":1148},51,[1150],{"type":9,"tag":41,"props":1151,"children":1152},{"emptyLinePlaceholder":143},[1153],{"type":14,"value":146},{"type":9,"tag":41,"props":1155,"children":1157},{"class":43,"line":1156},52,[1158,1163,1168,1172,1177,1181,1185,1189,1194],{"type":9,"tag":41,"props":1159,"children":1160},{"style":48},[1161],{"type":14,"value":1162},"      number: afz.",{"type":9,"tag":41,"props":1164,"children":1165},{"style":60},[1166],{"type":14,"value":1167},"number",{"type":9,"tag":41,"props":1169,"children":1170},{"style":48},[1171],{"type":14,"value":924},{"type":9,"tag":41,"props":1173,"children":1174},{"style":76},[1175],{"type":14,"value":1176},"'默认数字'",{"type":9,"tag":41,"props":1178,"children":1179},{"style":48},[1180],{"type":14,"value":934},{"type":9,"tag":41,"props":1182,"children":1183},{"style":60},[1184],{"type":14,"value":939},{"type":9,"tag":41,"props":1186,"children":1187},{"style":48},[1188],{"type":14,"value":944},{"type":9,"tag":41,"props":1190,"children":1191},{"style":76},[1192],{"type":14,"value":1193},"'InputNumber'",{"type":9,"tag":41,"props":1195,"children":1196},{"style":48},[1197],{"type":14,"value":954},{"type":9,"tag":41,"props":1199,"children":1201},{"class":43,"line":1200},53,[1202,1207,1211,1215,1220,1225,1230,1235,1240,1245,1250,1254,1259,1264,1269,1274,1278,1282,1287],{"type":9,"tag":41,"props":1203,"children":1204},{"style":48},[1205],{"type":14,"value":1206},"      slider: afz.",{"type":9,"tag":41,"props":1208,"children":1209},{"style":60},[1210],{"type":14,"value":1167},{"type":9,"tag":41,"props":1212,"children":1213},{"style":48},[1214],{"type":14,"value":972},{"type":9,"tag":41,"props":1216,"children":1217},{"style":76},[1218],{"type":14,"value":1219},"'slider'",{"type":9,"tag":41,"props":1221,"children":1222},{"style":48},[1223],{"type":14,"value":1224},", controlProps: { min: ",{"type":9,"tag":41,"props":1226,"children":1227},{"style":163},[1228],{"type":14,"value":1229},"0",{"type":9,"tag":41,"props":1231,"children":1232},{"style":48},[1233],{"type":14,"value":1234},", max: ",{"type":9,"tag":41,"props":1236,"children":1237},{"style":163},[1238],{"type":14,"value":1239},"100",{"type":9,"tag":41,"props":1241,"children":1242},{"style":48},[1243],{"type":14,"value":1244},", step: ",{"type":9,"tag":41,"props":1246,"children":1247},{"style":163},[1248],{"type":14,"value":1249},"5",{"type":9,"tag":41,"props":1251,"children":1252},{"style":48},[1253],{"type":14,"value":934},{"type":9,"tag":41,"props":1255,"children":1256},{"style":60},[1257],{"type":14,"value":1258},"default",{"type":9,"tag":41,"props":1260,"children":1261},{"style":48},[1262],{"type":14,"value":1263},"(",{"type":9,"tag":41,"props":1265,"children":1266},{"style":163},[1267],{"type":14,"value":1268},"40",{"type":9,"tag":41,"props":1270,"children":1271},{"style":48},[1272],{"type":14,"value":1273},").",{"type":9,"tag":41,"props":1275,"children":1276},{"style":60},[1277],{"type":14,"value":939},{"type":9,"tag":41,"props":1279,"children":1280},{"style":48},[1281],{"type":14,"value":944},{"type":9,"tag":41,"props":1283,"children":1284},{"style":76},[1285],{"type":14,"value":1286},"'Slider'",{"type":9,"tag":41,"props":1288,"children":1289},{"style":48},[1290],{"type":14,"value":954},{"type":9,"tag":41,"props":1292,"children":1294},{"class":43,"line":1293},54,[1295],{"type":9,"tag":41,"props":1296,"children":1297},{"emptyLinePlaceholder":143},[1298],{"type":14,"value":146},{"type":9,"tag":41,"props":1300,"children":1302},{"class":43,"line":1301},55,[1303,1308,1313,1318,1322,1326,1331],{"type":9,"tag":41,"props":1304,"children":1305},{"style":48},[1306],{"type":14,"value":1307},"      boolean: afz.",{"type":9,"tag":41,"props":1309,"children":1310},{"style":60},[1311],{"type":14,"value":1312},"boolean",{"type":9,"tag":41,"props":1314,"children":1315},{"style":48},[1316],{"type":14,"value":1317},"().",{"type":9,"tag":41,"props":1319,"children":1320},{"style":60},[1321],{"type":14,"value":939},{"type":9,"tag":41,"props":1323,"children":1324},{"style":48},[1325],{"type":14,"value":944},{"type":9,"tag":41,"props":1327,"children":1328},{"style":76},[1329],{"type":14,"value":1330},"'Checkbox'",{"type":9,"tag":41,"props":1332,"children":1333},{"style":48},[1334],{"type":14,"value":954},{"type":9,"tag":41,"props":1336,"children":1338},{"class":43,"line":1337},56,[1339,1344,1348,1352,1357,1362,1366,1370,1375],{"type":9,"tag":41,"props":1340,"children":1341},{"style":48},[1342],{"type":14,"value":1343},"      switch: afz.",{"type":9,"tag":41,"props":1345,"children":1346},{"style":60},[1347],{"type":14,"value":1312},{"type":9,"tag":41,"props":1349,"children":1350},{"style":48},[1351],{"type":14,"value":972},{"type":9,"tag":41,"props":1353,"children":1354},{"style":76},[1355],{"type":14,"value":1356},"'switch'",{"type":9,"tag":41,"props":1358,"children":1359},{"style":48},[1360],{"type":14,"value":1361}," }).",{"type":9,"tag":41,"props":1363,"children":1364},{"style":60},[1365],{"type":14,"value":939},{"type":9,"tag":41,"props":1367,"children":1368},{"style":48},[1369],{"type":14,"value":944},{"type":9,"tag":41,"props":1371,"children":1372},{"style":76},[1373],{"type":14,"value":1374},"'Switch'",{"type":9,"tag":41,"props":1376,"children":1377},{"style":48},[1378],{"type":14,"value":954},{"type":9,"tag":41,"props":1380,"children":1382},{"class":43,"line":1381},57,[1383,1388,1392,1396,1401,1406,1411,1415,1419,1423,1428,1432,1436,1440,1445],{"type":9,"tag":41,"props":1384,"children":1385},{"style":48},[1386],{"type":14,"value":1387},"      toggle: afz.",{"type":9,"tag":41,"props":1389,"children":1390},{"style":60},[1391],{"type":14,"value":1312},{"type":9,"tag":41,"props":1393,"children":1394},{"style":48},[1395],{"type":14,"value":972},{"type":9,"tag":41,"props":1397,"children":1398},{"style":76},[1399],{"type":14,"value":1400},"'toggle'",{"type":9,"tag":41,"props":1402,"children":1403},{"style":48},[1404],{"type":14,"value":1405},", controlProps: { label: ",{"type":9,"tag":41,"props":1407,"children":1408},{"style":76},[1409],{"type":14,"value":1410},"'置顶'",{"type":9,"tag":41,"props":1412,"children":1413},{"style":48},[1414],{"type":14,"value":934},{"type":9,"tag":41,"props":1416,"children":1417},{"style":60},[1418],{"type":14,"value":1258},{"type":9,"tag":41,"props":1420,"children":1421},{"style":48},[1422],{"type":14,"value":1263},{"type":9,"tag":41,"props":1424,"children":1425},{"style":163},[1426],{"type":14,"value":1427},"false",{"type":9,"tag":41,"props":1429,"children":1430},{"style":48},[1431],{"type":14,"value":1273},{"type":9,"tag":41,"props":1433,"children":1434},{"style":60},[1435],{"type":14,"value":939},{"type":9,"tag":41,"props":1437,"children":1438},{"style":48},[1439],{"type":14,"value":944},{"type":9,"tag":41,"props":1441,"children":1442},{"style":76},[1443],{"type":14,"value":1444},"'Toggle'",{"type":9,"tag":41,"props":1446,"children":1447},{"style":48},[1448],{"type":14,"value":954},{"type":9,"tag":41,"props":1450,"children":1452},{"class":43,"line":1451},58,[1453],{"type":9,"tag":41,"props":1454,"children":1455},{"emptyLinePlaceholder":143},[1456],{"type":14,"value":146},{"type":9,"tag":41,"props":1458,"children":1460},{"class":43,"line":1459},59,[1461,1466,1471,1476,1481,1485,1490,1494,1499,1504,1508,1512,1516,1520,1524,1528,1533],{"type":9,"tag":41,"props":1462,"children":1463},{"style":48},[1464],{"type":14,"value":1465},"      enum: afz.",{"type":9,"tag":41,"props":1467,"children":1468},{"style":60},[1469],{"type":14,"value":1470},"enum",{"type":9,"tag":41,"props":1472,"children":1473},{"style":48},[1474],{"type":14,"value":1475},"([",{"type":9,"tag":41,"props":1477,"children":1478},{"style":76},[1479],{"type":14,"value":1480},"'low'",{"type":9,"tag":41,"props":1482,"children":1483},{"style":48},[1484],{"type":14,"value":1045},{"type":9,"tag":41,"props":1486,"children":1487},{"style":76},[1488],{"type":14,"value":1489},"'medium'",{"type":9,"tag":41,"props":1491,"children":1492},{"style":48},[1493],{"type":14,"value":1045},{"type":9,"tag":41,"props":1495,"children":1496},{"style":76},[1497],{"type":14,"value":1498},"'high'",{"type":9,"tag":41,"props":1500,"children":1501},{"style":48},[1502],{"type":14,"value":1503},"]).",{"type":9,"tag":41,"props":1505,"children":1506},{"style":60},[1507],{"type":14,"value":1258},{"type":9,"tag":41,"props":1509,"children":1510},{"style":48},[1511],{"type":14,"value":1263},{"type":9,"tag":41,"props":1513,"children":1514},{"style":76},[1515],{"type":14,"value":1489},{"type":9,"tag":41,"props":1517,"children":1518},{"style":48},[1519],{"type":14,"value":1273},{"type":9,"tag":41,"props":1521,"children":1522},{"style":60},[1523],{"type":14,"value":939},{"type":9,"tag":41,"props":1525,"children":1526},{"style":48},[1527],{"type":14,"value":944},{"type":9,"tag":41,"props":1529,"children":1530},{"style":76},[1531],{"type":14,"value":1532},"'Select'",{"type":9,"tag":41,"props":1534,"children":1535},{"style":48},[1536],{"type":14,"value":954},{"type":9,"tag":41,"props":1538,"children":1540},{"class":43,"line":1539},60,[1541,1546,1550,1554,1559,1563,1568,1572,1577,1581,1586,1591,1596,1600,1604,1608,1613],{"type":9,"tag":41,"props":1542,"children":1543},{"style":48},[1544],{"type":14,"value":1545},"      selectMenu: afz.",{"type":9,"tag":41,"props":1547,"children":1548},{"style":60},[1549],{"type":14,"value":1470},{"type":9,"tag":41,"props":1551,"children":1552},{"style":48},[1553],{"type":14,"value":1475},{"type":9,"tag":41,"props":1555,"children":1556},{"style":76},[1557],{"type":14,"value":1558},"'北京'",{"type":9,"tag":41,"props":1560,"children":1561},{"style":48},[1562],{"type":14,"value":1045},{"type":9,"tag":41,"props":1564,"children":1565},{"style":76},[1566],{"type":14,"value":1567},"'上海'",{"type":9,"tag":41,"props":1569,"children":1570},{"style":48},[1571],{"type":14,"value":1045},{"type":9,"tag":41,"props":1573,"children":1574},{"style":76},[1575],{"type":14,"value":1576},"'广州'",{"type":9,"tag":41,"props":1578,"children":1579},{"style":48},[1580],{"type":14,"value":1045},{"type":9,"tag":41,"props":1582,"children":1583},{"style":76},[1584],{"type":14,"value":1585},"'深圳'",{"type":9,"tag":41,"props":1587,"children":1588},{"style":48},[1589],{"type":14,"value":1590},"], { type: ",{"type":9,"tag":41,"props":1592,"children":1593},{"style":76},[1594],{"type":14,"value":1595},"'selectMenu'",{"type":9,"tag":41,"props":1597,"children":1598},{"style":48},[1599],{"type":14,"value":1361},{"type":9,"tag":41,"props":1601,"children":1602},{"style":60},[1603],{"type":14,"value":939},{"type":9,"tag":41,"props":1605,"children":1606},{"style":48},[1607],{"type":14,"value":944},{"type":9,"tag":41,"props":1609,"children":1610},{"style":76},[1611],{"type":14,"value":1612},"'SelectMenu'",{"type":9,"tag":41,"props":1614,"children":1615},{"style":48},[1616],{"type":14,"value":954},{"type":9,"tag":41,"props":1618,"children":1620},{"class":43,"line":1619},61,[1621,1626,1630,1634,1639,1643,1648,1652,1657,1661,1666,1670,1674,1678,1683],{"type":9,"tag":41,"props":1622,"children":1623},{"style":48},[1624],{"type":14,"value":1625},"      radioGroup: afz.",{"type":9,"tag":41,"props":1627,"children":1628},{"style":60},[1629],{"type":14,"value":1470},{"type":9,"tag":41,"props":1631,"children":1632},{"style":48},[1633],{"type":14,"value":1475},{"type":9,"tag":41,"props":1635,"children":1636},{"style":76},[1637],{"type":14,"value":1638},"'男'",{"type":9,"tag":41,"props":1640,"children":1641},{"style":48},[1642],{"type":14,"value":1045},{"type":9,"tag":41,"props":1644,"children":1645},{"style":76},[1646],{"type":14,"value":1647},"'女'",{"type":9,"tag":41,"props":1649,"children":1650},{"style":48},[1651],{"type":14,"value":1045},{"type":9,"tag":41,"props":1653,"children":1654},{"style":76},[1655],{"type":14,"value":1656},"'其他'",{"type":9,"tag":41,"props":1658,"children":1659},{"style":48},[1660],{"type":14,"value":1590},{"type":9,"tag":41,"props":1662,"children":1663},{"style":76},[1664],{"type":14,"value":1665},"'radioGroup'",{"type":9,"tag":41,"props":1667,"children":1668},{"style":48},[1669],{"type":14,"value":1361},{"type":9,"tag":41,"props":1671,"children":1672},{"style":60},[1673],{"type":14,"value":939},{"type":9,"tag":41,"props":1675,"children":1676},{"style":48},[1677],{"type":14,"value":944},{"type":9,"tag":41,"props":1679,"children":1680},{"style":76},[1681],{"type":14,"value":1682},"'RadioGroup'",{"type":9,"tag":41,"props":1684,"children":1685},{"style":48},[1686],{"type":14,"value":954},{"type":9,"tag":41,"props":1688,"children":1690},{"class":43,"line":1689},62,[1691,1696,1700,1704,1709,1713,1718,1722,1727,1731,1736,1740,1745,1749,1753,1757,1762],{"type":9,"tag":41,"props":1692,"children":1693},{"style":48},[1694],{"type":14,"value":1695},"      toggleGroupSingle: afz.",{"type":9,"tag":41,"props":1697,"children":1698},{"style":60},[1699],{"type":14,"value":1470},{"type":9,"tag":41,"props":1701,"children":1702},{"style":48},[1703],{"type":14,"value":1475},{"type":9,"tag":41,"props":1705,"children":1706},{"style":76},[1707],{"type":14,"value":1708},"'日'",{"type":9,"tag":41,"props":1710,"children":1711},{"style":48},[1712],{"type":14,"value":1045},{"type":9,"tag":41,"props":1714,"children":1715},{"style":76},[1716],{"type":14,"value":1717},"'周'",{"type":9,"tag":41,"props":1719,"children":1720},{"style":48},[1721],{"type":14,"value":1045},{"type":9,"tag":41,"props":1723,"children":1724},{"style":76},[1725],{"type":14,"value":1726},"'月'",{"type":9,"tag":41,"props":1728,"children":1729},{"style":48},[1730],{"type":14,"value":1590},{"type":9,"tag":41,"props":1732,"children":1733},{"style":76},[1734],{"type":14,"value":1735},"'toggleGroup'",{"type":9,"tag":41,"props":1737,"children":1738},{"style":48},[1739],{"type":14,"value":1361},{"type":9,"tag":41,"props":1741,"children":1742},{"style":60},[1743],{"type":14,"value":1744},"optional",{"type":9,"tag":41,"props":1746,"children":1747},{"style":48},[1748],{"type":14,"value":1317},{"type":9,"tag":41,"props":1750,"children":1751},{"style":60},[1752],{"type":14,"value":939},{"type":9,"tag":41,"props":1754,"children":1755},{"style":48},[1756],{"type":14,"value":944},{"type":9,"tag":41,"props":1758,"children":1759},{"style":76},[1760],{"type":14,"value":1761},"'ToggleGroup 单选'",{"type":9,"tag":41,"props":1763,"children":1764},{"style":48},[1765],{"type":14,"value":954},{"type":9,"tag":41,"props":1767,"children":1769},{"class":43,"line":1768},63,[1770,1775,1779,1783,1787,1791,1796,1800,1805],{"type":9,"tag":41,"props":1771,"children":1772},{"style":48},[1773],{"type":14,"value":1774},"      toggleGroupMultiple: afz.",{"type":9,"tag":41,"props":1776,"children":1777},{"style":60},[1778],{"type":14,"value":1095},{"type":9,"tag":41,"props":1780,"children":1781},{"style":48},[1782],{"type":14,"value":1100},{"type":9,"tag":41,"props":1784,"children":1785},{"style":60},[1786],{"type":14,"value":1470},{"type":9,"tag":41,"props":1788,"children":1789},{"style":48},[1790],{"type":14,"value":1475},{"type":9,"tag":41,"props":1792,"children":1793},{"style":76},[1794],{"type":14,"value":1795},"'bold'",{"type":9,"tag":41,"props":1797,"children":1798},{"style":48},[1799],{"type":14,"value":1045},{"type":9,"tag":41,"props":1801,"children":1802},{"style":76},[1803],{"type":14,"value":1804},"'italic'",{"type":9,"tag":41,"props":1806,"children":1807},{"style":48},[1808],{"type":14,"value":1809},"]), {\n",{"type":9,"tag":41,"props":1811,"children":1813},{"class":43,"line":1812},64,[1814,1819,1823],{"type":9,"tag":41,"props":1815,"children":1816},{"style":48},[1817],{"type":14,"value":1818},"        type: ",{"type":9,"tag":41,"props":1820,"children":1821},{"style":76},[1822],{"type":14,"value":1735},{"type":9,"tag":41,"props":1824,"children":1825},{"style":48},[1826],{"type":14,"value":536},{"type":9,"tag":41,"props":1828,"children":1830},{"class":43,"line":1829},65,[1831,1836,1841,1846,1851,1856,1860,1865,1870,1874,1878],{"type":9,"tag":41,"props":1832,"children":1833},{"style":48},[1834],{"type":14,"value":1835},"        controlProps: { type: ",{"type":9,"tag":41,"props":1837,"children":1838},{"style":76},[1839],{"type":14,"value":1840},"'multiple'",{"type":9,"tag":41,"props":1842,"children":1843},{"style":48},[1844],{"type":14,"value":1845},", items: [{ label: ",{"type":9,"tag":41,"props":1847,"children":1848},{"style":76},[1849],{"type":14,"value":1850},"'加粗'",{"type":9,"tag":41,"props":1852,"children":1853},{"style":48},[1854],{"type":14,"value":1855},", value: ",{"type":9,"tag":41,"props":1857,"children":1858},{"style":76},[1859],{"type":14,"value":1795},{"type":9,"tag":41,"props":1861,"children":1862},{"style":48},[1863],{"type":14,"value":1864}," }, { label: ",{"type":9,"tag":41,"props":1866,"children":1867},{"style":76},[1868],{"type":14,"value":1869},"'斜体'",{"type":9,"tag":41,"props":1871,"children":1872},{"style":48},[1873],{"type":14,"value":1855},{"type":9,"tag":41,"props":1875,"children":1876},{"style":76},[1877],{"type":14,"value":1804},{"type":9,"tag":41,"props":1879,"children":1880},{"style":48},[1881],{"type":14,"value":1882}," }] }\n",{"type":9,"tag":41,"props":1884,"children":1886},{"class":43,"line":1885},66,[1887,1892,1896,1900,1904,1908,1912,1916,1921],{"type":9,"tag":41,"props":1888,"children":1889},{"style":48},[1890],{"type":14,"value":1891},"      }).",{"type":9,"tag":41,"props":1893,"children":1894},{"style":60},[1895],{"type":14,"value":1258},{"type":9,"tag":41,"props":1897,"children":1898},{"style":48},[1899],{"type":14,"value":1475},{"type":9,"tag":41,"props":1901,"children":1902},{"style":76},[1903],{"type":14,"value":1795},{"type":9,"tag":41,"props":1905,"children":1906},{"style":48},[1907],{"type":14,"value":1503},{"type":9,"tag":41,"props":1909,"children":1910},{"style":60},[1911],{"type":14,"value":939},{"type":9,"tag":41,"props":1913,"children":1914},{"style":48},[1915],{"type":14,"value":944},{"type":9,"tag":41,"props":1917,"children":1918},{"style":76},[1919],{"type":14,"value":1920},"'ToggleGroup 多选'",{"type":9,"tag":41,"props":1922,"children":1923},{"style":48},[1924],{"type":14,"value":954},{"type":9,"tag":41,"props":1926,"children":1928},{"class":43,"line":1927},67,[1929,1934,1938,1942,1947,1951,1956,1960,1965,1969,1974,1978,1982,1986,1990,1994,1998,2002,2007],{"type":9,"tag":41,"props":1930,"children":1931},{"style":48},[1932],{"type":14,"value":1933},"      listbox: afz.",{"type":9,"tag":41,"props":1935,"children":1936},{"style":60},[1937],{"type":14,"value":1470},{"type":9,"tag":41,"props":1939,"children":1940},{"style":48},[1941],{"type":14,"value":1475},{"type":9,"tag":41,"props":1943,"children":1944},{"style":76},[1945],{"type":14,"value":1946},"'草稿'",{"type":9,"tag":41,"props":1948,"children":1949},{"style":48},[1950],{"type":14,"value":1045},{"type":9,"tag":41,"props":1952,"children":1953},{"style":76},[1954],{"type":14,"value":1955},"'已发布'",{"type":9,"tag":41,"props":1957,"children":1958},{"style":48},[1959],{"type":14,"value":1045},{"type":9,"tag":41,"props":1961,"children":1962},{"style":76},[1963],{"type":14,"value":1964},"'已归档'",{"type":9,"tag":41,"props":1966,"children":1967},{"style":48},[1968],{"type":14,"value":1590},{"type":9,"tag":41,"props":1970,"children":1971},{"style":76},[1972],{"type":14,"value":1973},"'listbox'",{"type":9,"tag":41,"props":1975,"children":1976},{"style":48},[1977],{"type":14,"value":1361},{"type":9,"tag":41,"props":1979,"children":1980},{"style":60},[1981],{"type":14,"value":1258},{"type":9,"tag":41,"props":1983,"children":1984},{"style":48},[1985],{"type":14,"value":1263},{"type":9,"tag":41,"props":1987,"children":1988},{"style":76},[1989],{"type":14,"value":1946},{"type":9,"tag":41,"props":1991,"children":1992},{"style":48},[1993],{"type":14,"value":1273},{"type":9,"tag":41,"props":1995,"children":1996},{"style":60},[1997],{"type":14,"value":939},{"type":9,"tag":41,"props":1999,"children":2000},{"style":48},[2001],{"type":14,"value":944},{"type":9,"tag":41,"props":2003,"children":2004},{"style":76},[2005],{"type":14,"value":2006},"'Listbox'",{"type":9,"tag":41,"props":2008,"children":2009},{"style":48},[2010],{"type":14,"value":954},{"type":9,"tag":41,"props":2012,"children":2014},{"class":43,"line":2013},68,[2015,2020,2024,2028,2032,2036,2041,2045,2050,2054,2059,2063,2068,2072,2076,2080,2085],{"type":9,"tag":41,"props":2016,"children":2017},{"style":48},[2018],{"type":14,"value":2019},"      checkboxGroup: afz.",{"type":9,"tag":41,"props":2021,"children":2022},{"style":60},[2023],{"type":14,"value":1095},{"type":9,"tag":41,"props":2025,"children":2026},{"style":48},[2027],{"type":14,"value":1100},{"type":9,"tag":41,"props":2029,"children":2030},{"style":60},[2031],{"type":14,"value":919},{"type":9,"tag":41,"props":2033,"children":2034},{"style":48},[2035],{"type":14,"value":1109},{"type":9,"tag":41,"props":2037,"children":2038},{"style":76},[2039],{"type":14,"value":2040},"'checkboxGroup'",{"type":9,"tag":41,"props":2042,"children":2043},{"style":48},[2044],{"type":14,"value":1035},{"type":9,"tag":41,"props":2046,"children":2047},{"style":76},[2048],{"type":14,"value":2049},"'阅读'",{"type":9,"tag":41,"props":2051,"children":2052},{"style":48},[2053],{"type":14,"value":1045},{"type":9,"tag":41,"props":2055,"children":2056},{"style":76},[2057],{"type":14,"value":2058},"'游戏'",{"type":9,"tag":41,"props":2060,"children":2061},{"style":48},[2062],{"type":14,"value":1045},{"type":9,"tag":41,"props":2064,"children":2065},{"style":76},[2066],{"type":14,"value":2067},"'运动'",{"type":9,"tag":41,"props":2069,"children":2070},{"style":48},[2071],{"type":14,"value":1064},{"type":9,"tag":41,"props":2073,"children":2074},{"style":60},[2075],{"type":14,"value":939},{"type":9,"tag":41,"props":2077,"children":2078},{"style":48},[2079],{"type":14,"value":944},{"type":9,"tag":41,"props":2081,"children":2082},{"style":76},[2083],{"type":14,"value":2084},"'CheckboxGroup'",{"type":9,"tag":41,"props":2086,"children":2087},{"style":48},[2088],{"type":14,"value":954},{"type":9,"tag":41,"props":2090,"children":2092},{"class":43,"line":2091},69,[2093,2098,2102,2106,2110,2114,2119,2123,2127,2131,2136,2140,2145,2149,2153,2157,2162],{"type":9,"tag":41,"props":2094,"children":2095},{"style":48},[2096],{"type":14,"value":2097},"      inputTags: afz.",{"type":9,"tag":41,"props":2099,"children":2100},{"style":60},[2101],{"type":14,"value":1095},{"type":9,"tag":41,"props":2103,"children":2104},{"style":48},[2105],{"type":14,"value":1100},{"type":9,"tag":41,"props":2107,"children":2108},{"style":60},[2109],{"type":14,"value":919},{"type":9,"tag":41,"props":2111,"children":2112},{"style":48},[2113],{"type":14,"value":1109},{"type":9,"tag":41,"props":2115,"children":2116},{"style":76},[2117],{"type":14,"value":2118},"'inputTags'",{"type":9,"tag":41,"props":2120,"children":2121},{"style":48},[2122],{"type":14,"value":1361},{"type":9,"tag":41,"props":2124,"children":2125},{"style":60},[2126],{"type":14,"value":1258},{"type":9,"tag":41,"props":2128,"children":2129},{"style":48},[2130],{"type":14,"value":1475},{"type":9,"tag":41,"props":2132,"children":2133},{"style":76},[2134],{"type":14,"value":2135},"'nuxt'",{"type":9,"tag":41,"props":2137,"children":2138},{"style":48},[2139],{"type":14,"value":1045},{"type":9,"tag":41,"props":2141,"children":2142},{"style":76},[2143],{"type":14,"value":2144},"'vue'",{"type":9,"tag":41,"props":2146,"children":2147},{"style":48},[2148],{"type":14,"value":1503},{"type":9,"tag":41,"props":2150,"children":2151},{"style":60},[2152],{"type":14,"value":939},{"type":9,"tag":41,"props":2154,"children":2155},{"style":48},[2156],{"type":14,"value":944},{"type":9,"tag":41,"props":2158,"children":2159},{"style":76},[2160],{"type":14,"value":2161},"'InputTags'",{"type":9,"tag":41,"props":2163,"children":2164},{"style":48},[2165],{"type":14,"value":954},{"type":9,"tag":41,"props":2167,"children":2169},{"class":43,"line":2168},70,[2170],{"type":9,"tag":41,"props":2171,"children":2172},{"emptyLinePlaceholder":143},[2173],{"type":14,"value":146},{"type":9,"tag":41,"props":2175,"children":2177},{"class":43,"line":2176},71,[2178,2183,2188,2193,2198,2202,2206,2210,2215],{"type":9,"tag":41,"props":2179,"children":2180},{"style":48},[2181],{"type":14,"value":2182},"      calendarDate: afz.",{"type":9,"tag":41,"props":2184,"children":2185},{"style":60},[2186],{"type":14,"value":2187},"calendarDate",{"type":9,"tag":41,"props":2189,"children":2190},{"style":48},[2191],{"type":14,"value":2192},"({ controlProps: { valueFormat: ",{"type":9,"tag":41,"props":2194,"children":2195},{"style":76},[2196],{"type":14,"value":2197},"'iso'",{"type":9,"tag":41,"props":2199,"children":2200},{"style":48},[2201],{"type":14,"value":934},{"type":9,"tag":41,"props":2203,"children":2204},{"style":60},[2205],{"type":14,"value":939},{"type":9,"tag":41,"props":2207,"children":2208},{"style":48},[2209],{"type":14,"value":944},{"type":9,"tag":41,"props":2211,"children":2212},{"style":76},[2213],{"type":14,"value":2214},"'DatePicker'",{"type":9,"tag":41,"props":2216,"children":2217},{"style":48},[2218],{"type":14,"value":954},{"type":9,"tag":41,"props":2220,"children":2222},{"class":43,"line":2221},72,[2223,2228,2233,2237,2241,2245,2250],{"type":9,"tag":41,"props":2224,"children":2225},{"style":48},[2226],{"type":14,"value":2227},"      inputDate: afz.",{"type":9,"tag":41,"props":2229,"children":2230},{"style":60},[2231],{"type":14,"value":2232},"inputDate",{"type":9,"tag":41,"props":2234,"children":2235},{"style":48},[2236],{"type":14,"value":1317},{"type":9,"tag":41,"props":2238,"children":2239},{"style":60},[2240],{"type":14,"value":939},{"type":9,"tag":41,"props":2242,"children":2243},{"style":48},[2244],{"type":14,"value":944},{"type":9,"tag":41,"props":2246,"children":2247},{"style":76},[2248],{"type":14,"value":2249},"'InputDate'",{"type":9,"tag":41,"props":2251,"children":2252},{"style":48},[2253],{"type":14,"value":954},{"type":9,"tag":41,"props":2255,"children":2257},{"class":43,"line":2256},73,[2258,2263,2268,2272,2276,2280,2285],{"type":9,"tag":41,"props":2259,"children":2260},{"style":48},[2261],{"type":14,"value":2262},"      inputTime: afz.",{"type":9,"tag":41,"props":2264,"children":2265},{"style":60},[2266],{"type":14,"value":2267},"inputTime",{"type":9,"tag":41,"props":2269,"children":2270},{"style":48},[2271],{"type":14,"value":1317},{"type":9,"tag":41,"props":2273,"children":2274},{"style":60},[2275],{"type":14,"value":939},{"type":9,"tag":41,"props":2277,"children":2278},{"style":48},[2279],{"type":14,"value":944},{"type":9,"tag":41,"props":2281,"children":2282},{"style":76},[2283],{"type":14,"value":2284},"'InputTime'",{"type":9,"tag":41,"props":2286,"children":2287},{"style":48},[2288],{"type":14,"value":2289}," })\n",{"type":9,"tag":41,"props":2291,"children":2293},{"class":43,"line":2292},74,[2294],{"type":9,"tag":41,"props":2295,"children":2296},{"style":48},[2297],{"type":14,"value":2298},"    }\n",{"type":9,"tag":41,"props":2300,"children":2302},{"class":43,"line":2301},75,[2303],{"type":9,"tag":41,"props":2304,"children":2305},{"style":48},[2306],{"type":14,"value":2307},"  })\n",{"type":9,"tag":41,"props":2309,"children":2311},{"class":43,"line":2310},76,[2312],{"type":9,"tag":41,"props":2313,"children":2314},{"style":48},[2315],{"type":14,"value":2316},"})\n",{"type":9,"tag":41,"props":2318,"children":2320},{"class":43,"line":2319},77,[2321],{"type":9,"tag":41,"props":2322,"children":2323},{"emptyLinePlaceholder":143},[2324],{"type":14,"value":146},{"type":9,"tag":41,"props":2326,"children":2328},{"class":43,"line":2327},78,[2329,2333,2338,2342,2347,2351,2356,2360,2365,2370,2375,2379,2384],{"type":9,"tag":41,"props":2330,"children":2331},{"style":91},[2332],{"type":14,"value":155},{"type":9,"tag":41,"props":2334,"children":2335},{"style":163},[2336],{"type":14,"value":2337}," state",{"type":9,"tag":41,"props":2339,"children":2340},{"style":91},[2341],{"type":14,"value":211},{"type":9,"tag":41,"props":2343,"children":2344},{"style":60},[2345],{"type":14,"value":2346}," reactive",{"type":9,"tag":41,"props":2348,"children":2349},{"style":48},[2350],{"type":14,"value":51},{"type":9,"tag":41,"props":2352,"children":2353},{"style":60},[2354],{"type":14,"value":2355},"Partial",{"type":9,"tag":41,"props":2357,"children":2358},{"style":48},[2359],{"type":14,"value":51},{"type":9,"tag":41,"props":2361,"children":2362},{"style":60},[2363],{"type":14,"value":2364},"z",{"type":9,"tag":41,"props":2366,"children":2367},{"style":48},[2368],{"type":14,"value":2369},".",{"type":9,"tag":41,"props":2371,"children":2372},{"style":60},[2373],{"type":14,"value":2374},"output",{"type":9,"tag":41,"props":2376,"children":2377},{"style":48},[2378],{"type":14,"value":51},{"type":9,"tag":41,"props":2380,"children":2381},{"style":91},[2382],{"type":14,"value":2383},"typeof",{"type":9,"tag":41,"props":2385,"children":2386},{"style":48},[2387],{"type":14,"value":2388}," schema>>>({})\n",{"type":9,"tag":41,"props":2390,"children":2392},{"class":43,"line":2391},79,[2393,2398,2402],{"type":9,"tag":41,"props":2394,"children":2395},{"style":48},[2396],{"type":14,"value":2397},"\u003C\u002F",{"type":9,"tag":41,"props":2399,"children":2400},{"style":54},[2401],{"type":14,"value":57},{"type":9,"tag":41,"props":2403,"children":2404},{"style":48},[2405],{"type":14,"value":84},{"type":9,"tag":41,"props":2407,"children":2409},{"class":43,"line":2408},80,[2410],{"type":9,"tag":41,"props":2411,"children":2412},{"emptyLinePlaceholder":143},[2413],{"type":14,"value":146},{"type":9,"tag":41,"props":2415,"children":2417},{"class":43,"line":2416},81,[2418,2422,2427],{"type":9,"tag":41,"props":2419,"children":2420},{"style":48},[2421],{"type":14,"value":51},{"type":9,"tag":41,"props":2423,"children":2424},{"style":54},[2425],{"type":14,"value":2426},"template",{"type":9,"tag":41,"props":2428,"children":2429},{"style":48},[2430],{"type":14,"value":84},{"type":9,"tag":41,"props":2432,"children":2434},{"class":43,"line":2433},82,[2435,2440,2445,2450,2454,2459,2464,2468,2473,2478,2482,2486,2490,2494],{"type":9,"tag":41,"props":2436,"children":2437},{"style":48},[2438],{"type":14,"value":2439},"  \u003C",{"type":9,"tag":41,"props":2441,"children":2442},{"style":54},[2443],{"type":14,"value":2444},"MAutoForm",{"type":9,"tag":41,"props":2446,"children":2447},{"style":60},[2448],{"type":14,"value":2449}," v-model",{"type":9,"tag":41,"props":2451,"children":2452},{"style":48},[2453],{"type":14,"value":73},{"type":9,"tag":41,"props":2455,"children":2456},{"style":76},[2457],{"type":14,"value":2458},"\"",{"type":9,"tag":41,"props":2460,"children":2461},{"style":48},[2462],{"type":14,"value":2463},"state",{"type":9,"tag":41,"props":2465,"children":2466},{"style":76},[2467],{"type":14,"value":2458},{"type":9,"tag":41,"props":2469,"children":2470},{"style":48},[2471],{"type":14,"value":2472}," :",{"type":9,"tag":41,"props":2474,"children":2475},{"style":60},[2476],{"type":14,"value":2477},"schema",{"type":9,"tag":41,"props":2479,"children":2480},{"style":48},[2481],{"type":14,"value":73},{"type":9,"tag":41,"props":2483,"children":2484},{"style":76},[2485],{"type":14,"value":2458},{"type":9,"tag":41,"props":2487,"children":2488},{"style":48},[2489],{"type":14,"value":2477},{"type":9,"tag":41,"props":2491,"children":2492},{"style":76},[2493],{"type":14,"value":2458},{"type":9,"tag":41,"props":2495,"children":2496},{"style":48},[2497],{"type":14,"value":2498}," \u002F>\n",{"type":9,"tag":41,"props":2500,"children":2502},{"class":43,"line":2501},83,[2503,2507,2511],{"type":9,"tag":41,"props":2504,"children":2505},{"style":48},[2506],{"type":14,"value":2397},{"type":9,"tag":41,"props":2508,"children":2509},{"style":54},[2510],{"type":14,"value":2426},{"type":9,"tag":41,"props":2512,"children":2513},{"style":48},[2514],{"type":14,"value":84},{"type":9,"tag":2516,"props":2517,"children":2518},"style",{},[2519],{"type":14,"value":2520},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":22,"searchDepth":87,"depth":87,"links":2522},[],{"code":2524,"filePath":2525,"pascalName":2526},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { TagSelector } from '#components'\n\nconst toast = useToast()\n\nconst { afz, controls } = useAutoForm({\n  tagSelector: defineControl({\n    component: TagSelector,\n    controlProps: { class: 'w-full' }\n  })\n})\n\nconst SKILL_OPTIONS = [\n  'Vue.js', 'Nuxt', 'TypeScript', 'React', 'Node.js',\n  'Python', 'GraphQL', 'Docker', 'Tailwind CSS', 'Vite'\n]\n\nconst ROLE_OPTIONS = {\n  frontend: '前端开发',\n  backend: '后端开发',\n  fullstack: '全栈开发',\n  devops: 'DevOps',\n  designer: 'UI \u002F 设计'\n}\n\nconst schema = afz.object({\n  name: afz\n    .string({ controlProps: { placeholder: '请输入您的姓名' } })\n    .min(2, '姓名至少 2 个字符')\n    .meta({ label: '姓名' }),\n\n  role: afz\n    .enum(Object.keys(ROLE_OPTIONS) as [string, ...string[]])\n    .default('fullstack')\n    .meta({ label: '职位', description: '您的主要技术方向' }),\n\n  skills: afz\n    .array(afz.string(), {\n      type: 'tagSelector',\n      controlProps: {\n        options: SKILL_OPTIONS,\n        max: 5\n      }\n    })\n    .default([])\n    .meta({ label: '技能标签', description: '最多选择 5 项技能' }),\n\n  bio: afz\n    .string({\n      type: 'textarea',\n      controlProps: { placeholder: '简短介绍一下自己...' }\n    })\n    .optional()\n    .meta({ label: '个人简介' }),\n\n  openToWork: afz\n    .boolean()\n    .default(false)\n    .meta({ label: '求职中', hint: '开启后将对招聘者可见' })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    v-model=\"form\"\n    :schema=\"schema\"\n    :controls=\"controls\"\n    @submit=\"onSubmit\"\n  \u002F>\n\u003C\u002Ftemplate>\n","\u002Fopt\u002Fbuildhome\u002Frepo\u002Fdocs\u002Fapp\u002Fcomponents\u002Fcontent\u002Fexamples\u002Fauto-form\u002Fcontrols\u002FAutoFormCustomControlExample.vue","AutoFormCustomControlExample",{"data":2528,"body":2529,"toc":4101},{"title":22,"description":22},{"type":6,"children":2530},[2531,4097],{"type":9,"tag":26,"props":2532,"children":2533},{},[2534],{"type":9,"tag":30,"props":2535,"children":2537},{"className":32,"code":2536,"language":34,"meta":22,"style":22},"\u003Cscript lang=\"ts\" setup>\nimport type { FormSubmitEvent } from '@nuxt\u002Fui'\nimport type { z } from 'zod'\nimport { TagSelector } from '#components'\n\nconst toast = useToast()\n\nconst { afz, controls } = useAutoForm({\n  tagSelector: defineControl({\n    component: TagSelector,\n    controlProps: { class: 'w-full' }\n  })\n})\n\nconst SKILL_OPTIONS = [\n  'Vue.js', 'Nuxt', 'TypeScript', 'React', 'Node.js',\n  'Python', 'GraphQL', 'Docker', 'Tailwind CSS', 'Vite'\n]\n\nconst ROLE_OPTIONS = {\n  frontend: '前端开发',\n  backend: '后端开发',\n  fullstack: '全栈开发',\n  devops: 'DevOps',\n  designer: 'UI \u002F 设计'\n}\n\nconst schema = afz.object({\n  name: afz\n    .string({ controlProps: { placeholder: '请输入您的姓名' } })\n    .min(2, '姓名至少 2 个字符')\n    .meta({ label: '姓名' }),\n\n  role: afz\n    .enum(Object.keys(ROLE_OPTIONS) as [string, ...string[]])\n    .default('fullstack')\n    .meta({ label: '职位', description: '您的主要技术方向' }),\n\n  skills: afz\n    .array(afz.string(), {\n      type: 'tagSelector',\n      controlProps: {\n        options: SKILL_OPTIONS,\n        max: 5\n      }\n    })\n    .default([])\n    .meta({ label: '技能标签', description: '最多选择 5 项技能' }),\n\n  bio: afz\n    .string({\n      type: 'textarea',\n      controlProps: { placeholder: '简短介绍一下自己...' }\n    })\n    .optional()\n    .meta({ label: '个人简介' }),\n\n  openToWork: afz\n    .boolean()\n    .default(false)\n    .meta({ label: '求职中', hint: '开启后将对招聘者可见' })\n})\n\ntype Schema = z.output\u003Ctypeof schema>\n\nconst form = ref\u003CPartial\u003CSchema>>({})\n\nasync function onSubmit(event: FormSubmitEvent\u003CSchema>) {\n  toast.add({\n    title: '提交成功',\n    color: 'success',\n    description: JSON.stringify(event.data, null, 2)\n  })\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003CMAutoForm\n    v-model=\"form\"\n    :schema=\"schema\"\n    :controls=\"controls\"\n    @submit=\"onSubmit\"\n  \u002F>\n\u003C\u002Ftemplate>\n\n",[2538],{"type":9,"tag":37,"props":2539,"children":2540},{"__ignoreMap":22},[2541,2572,2597,2620,2640,2647,2672,2679,2719,2736,2744,2761,2768,2775,2782,2803,2850,2894,2902,2909,2930,2947,2964,2981,2998,3011,3019,3026,3053,3061,3087,3121,3145,3152,3160,3227,3251,3285,3292,3300,3324,3341,3349,3366,3379,3387,3395,3411,3444,3451,3459,3474,3489,3506,3513,3528,3552,3559,3567,3582,3605,3639,3646,3653,3696,3703,3746,3753,3804,3821,3838,3855,3899,3906,3913,3928,3935,3950,3962,3988,4016,4043,4073,4081],{"type":9,"tag":41,"props":2542,"children":2543},{"class":43,"line":44},[2544,2548,2552,2556,2560,2564,2568],{"type":9,"tag":41,"props":2545,"children":2546},{"style":48},[2547],{"type":14,"value":51},{"type":9,"tag":41,"props":2549,"children":2550},{"style":54},[2551],{"type":14,"value":57},{"type":9,"tag":41,"props":2553,"children":2554},{"style":60},[2555],{"type":14,"value":68},{"type":9,"tag":41,"props":2557,"children":2558},{"style":48},[2559],{"type":14,"value":73},{"type":9,"tag":41,"props":2561,"children":2562},{"style":76},[2563],{"type":14,"value":79},{"type":9,"tag":41,"props":2565,"children":2566},{"style":60},[2567],{"type":14,"value":63},{"type":9,"tag":41,"props":2569,"children":2570},{"style":48},[2571],{"type":14,"value":84},{"type":9,"tag":41,"props":2573,"children":2574},{"class":43,"line":87},[2575,2579,2583,2588,2592],{"type":9,"tag":41,"props":2576,"children":2577},{"style":91},[2578],{"type":14,"value":94},{"type":9,"tag":41,"props":2580,"children":2581},{"style":91},[2582],{"type":14,"value":122},{"type":9,"tag":41,"props":2584,"children":2585},{"style":48},[2586],{"type":14,"value":2587}," { FormSubmitEvent } ",{"type":9,"tag":41,"props":2589,"children":2590},{"style":91},[2591],{"type":14,"value":104},{"type":9,"tag":41,"props":2593,"children":2594},{"style":76},[2595],{"type":14,"value":2596}," '@nuxt\u002Fui'\n",{"type":9,"tag":41,"props":2598,"children":2599},{"class":43,"line":112},[2600,2604,2608,2612,2616],{"type":9,"tag":41,"props":2601,"children":2602},{"style":91},[2603],{"type":14,"value":94},{"type":9,"tag":41,"props":2605,"children":2606},{"style":91},[2607],{"type":14,"value":122},{"type":9,"tag":41,"props":2609,"children":2610},{"style":48},[2611],{"type":14,"value":127},{"type":9,"tag":41,"props":2613,"children":2614},{"style":91},[2615],{"type":14,"value":104},{"type":9,"tag":41,"props":2617,"children":2618},{"style":76},[2619],{"type":14,"value":136},{"type":9,"tag":41,"props":2621,"children":2622},{"class":43,"line":139},[2623,2627,2632,2636],{"type":9,"tag":41,"props":2624,"children":2625},{"style":91},[2626],{"type":14,"value":94},{"type":9,"tag":41,"props":2628,"children":2629},{"style":48},[2630],{"type":14,"value":2631}," { TagSelector } ",{"type":9,"tag":41,"props":2633,"children":2634},{"style":91},[2635],{"type":14,"value":104},{"type":9,"tag":41,"props":2637,"children":2638},{"style":76},[2639],{"type":14,"value":109},{"type":9,"tag":41,"props":2641,"children":2642},{"class":43,"line":149},[2643],{"type":9,"tag":41,"props":2644,"children":2645},{"emptyLinePlaceholder":143},[2646],{"type":14,"value":146},{"type":9,"tag":41,"props":2648,"children":2649},{"class":43,"line":188},[2650,2654,2659,2663,2668],{"type":9,"tag":41,"props":2651,"children":2652},{"style":91},[2653],{"type":14,"value":155},{"type":9,"tag":41,"props":2655,"children":2656},{"style":163},[2657],{"type":14,"value":2658}," toast",{"type":9,"tag":41,"props":2660,"children":2661},{"style":91},[2662],{"type":14,"value":211},{"type":9,"tag":41,"props":2664,"children":2665},{"style":60},[2666],{"type":14,"value":2667}," useToast",{"type":9,"tag":41,"props":2669,"children":2670},{"style":48},[2671],{"type":14,"value":185},{"type":9,"tag":41,"props":2673,"children":2674},{"class":43,"line":196},[2675],{"type":9,"tag":41,"props":2676,"children":2677},{"emptyLinePlaceholder":143},[2678],{"type":14,"value":146},{"type":9,"tag":41,"props":2680,"children":2681},{"class":43,"line":229},[2682,2686,2690,2694,2698,2703,2707,2711,2715],{"type":9,"tag":41,"props":2683,"children":2684},{"style":91},[2685],{"type":14,"value":155},{"type":9,"tag":41,"props":2687,"children":2688},{"style":48},[2689],{"type":14,"value":160},{"type":9,"tag":41,"props":2691,"children":2692},{"style":163},[2693],{"type":14,"value":166},{"type":9,"tag":41,"props":2695,"children":2696},{"style":48},[2697],{"type":14,"value":1045},{"type":9,"tag":41,"props":2699,"children":2700},{"style":163},[2701],{"type":14,"value":2702},"controls",{"type":9,"tag":41,"props":2704,"children":2705},{"style":48},[2706],{"type":14,"value":171},{"type":9,"tag":41,"props":2708,"children":2709},{"style":91},[2710],{"type":14,"value":73},{"type":9,"tag":41,"props":2712,"children":2713},{"style":60},[2714],{"type":14,"value":180},{"type":9,"tag":41,"props":2716,"children":2717},{"style":48},[2718],{"type":14,"value":226},{"type":9,"tag":41,"props":2720,"children":2721},{"class":43,"line":247},[2722,2727,2732],{"type":9,"tag":41,"props":2723,"children":2724},{"style":48},[2725],{"type":14,"value":2726},"  tagSelector: ",{"type":9,"tag":41,"props":2728,"children":2729},{"style":60},[2730],{"type":14,"value":2731},"defineControl",{"type":9,"tag":41,"props":2733,"children":2734},{"style":48},[2735],{"type":14,"value":226},{"type":9,"tag":41,"props":2737,"children":2738},{"class":43,"line":256},[2739],{"type":9,"tag":41,"props":2740,"children":2741},{"style":48},[2742],{"type":14,"value":2743},"    component: TagSelector,\n",{"type":9,"tag":41,"props":2745,"children":2746},{"class":43,"line":265},[2747,2752,2757],{"type":9,"tag":41,"props":2748,"children":2749},{"style":48},[2750],{"type":14,"value":2751},"    controlProps: { class: ",{"type":9,"tag":41,"props":2753,"children":2754},{"style":76},[2755],{"type":14,"value":2756},"'w-full'",{"type":9,"tag":41,"props":2758,"children":2759},{"style":48},[2760],{"type":14,"value":491},{"type":9,"tag":41,"props":2762,"children":2763},{"class":43,"line":284},[2764],{"type":9,"tag":41,"props":2765,"children":2766},{"style":48},[2767],{"type":14,"value":2307},{"type":9,"tag":41,"props":2769,"children":2770},{"class":43,"line":293},[2771],{"type":9,"tag":41,"props":2772,"children":2773},{"style":48},[2774],{"type":14,"value":2316},{"type":9,"tag":41,"props":2776,"children":2777},{"class":43,"line":337},[2778],{"type":9,"tag":41,"props":2779,"children":2780},{"emptyLinePlaceholder":143},[2781],{"type":14,"value":146},{"type":9,"tag":41,"props":2783,"children":2784},{"class":43,"line":376},[2785,2789,2794,2798],{"type":9,"tag":41,"props":2786,"children":2787},{"style":91},[2788],{"type":14,"value":155},{"type":9,"tag":41,"props":2790,"children":2791},{"style":163},[2792],{"type":14,"value":2793}," SKILL_OPTIONS",{"type":9,"tag":41,"props":2795,"children":2796},{"style":91},[2797],{"type":14,"value":211},{"type":9,"tag":41,"props":2799,"children":2800},{"style":48},[2801],{"type":14,"value":2802}," [\n",{"type":9,"tag":41,"props":2804,"children":2805},{"class":43,"line":415},[2806,2811,2815,2819,2823,2828,2832,2837,2841,2846],{"type":9,"tag":41,"props":2807,"children":2808},{"style":76},[2809],{"type":14,"value":2810},"  'Vue.js'",{"type":9,"tag":41,"props":2812,"children":2813},{"style":48},[2814],{"type":14,"value":1045},{"type":9,"tag":41,"props":2816,"children":2817},{"style":76},[2818],{"type":14,"value":1050},{"type":9,"tag":41,"props":2820,"children":2821},{"style":48},[2822],{"type":14,"value":1045},{"type":9,"tag":41,"props":2824,"children":2825},{"style":76},[2826],{"type":14,"value":2827},"'TypeScript'",{"type":9,"tag":41,"props":2829,"children":2830},{"style":48},[2831],{"type":14,"value":1045},{"type":9,"tag":41,"props":2833,"children":2834},{"style":76},[2835],{"type":14,"value":2836},"'React'",{"type":9,"tag":41,"props":2838,"children":2839},{"style":48},[2840],{"type":14,"value":1045},{"type":9,"tag":41,"props":2842,"children":2843},{"style":76},[2844],{"type":14,"value":2845},"'Node.js'",{"type":9,"tag":41,"props":2847,"children":2848},{"style":48},[2849],{"type":14,"value":536},{"type":9,"tag":41,"props":2851,"children":2852},{"class":43,"line":454},[2853,2858,2862,2867,2871,2876,2880,2885,2889],{"type":9,"tag":41,"props":2854,"children":2855},{"style":76},[2856],{"type":14,"value":2857},"  'Python'",{"type":9,"tag":41,"props":2859,"children":2860},{"style":48},[2861],{"type":14,"value":1045},{"type":9,"tag":41,"props":2863,"children":2864},{"style":76},[2865],{"type":14,"value":2866},"'GraphQL'",{"type":9,"tag":41,"props":2868,"children":2869},{"style":48},[2870],{"type":14,"value":1045},{"type":9,"tag":41,"props":2872,"children":2873},{"style":76},[2874],{"type":14,"value":2875},"'Docker'",{"type":9,"tag":41,"props":2877,"children":2878},{"style":48},[2879],{"type":14,"value":1045},{"type":9,"tag":41,"props":2881,"children":2882},{"style":76},[2883],{"type":14,"value":2884},"'Tailwind CSS'",{"type":9,"tag":41,"props":2886,"children":2887},{"style":48},[2888],{"type":14,"value":1045},{"type":9,"tag":41,"props":2890,"children":2891},{"style":76},[2892],{"type":14,"value":2893},"'Vite'\n",{"type":9,"tag":41,"props":2895,"children":2896},{"class":43,"line":494},[2897],{"type":9,"tag":41,"props":2898,"children":2899},{"style":48},[2900],{"type":14,"value":2901},"]\n",{"type":9,"tag":41,"props":2903,"children":2904},{"class":43,"line":503},[2905],{"type":9,"tag":41,"props":2906,"children":2907},{"emptyLinePlaceholder":143},[2908],{"type":14,"value":146},{"type":9,"tag":41,"props":2910,"children":2911},{"class":43,"line":512},[2912,2916,2921,2925],{"type":9,"tag":41,"props":2913,"children":2914},{"style":91},[2915],{"type":14,"value":155},{"type":9,"tag":41,"props":2917,"children":2918},{"style":163},[2919],{"type":14,"value":2920}," ROLE_OPTIONS",{"type":9,"tag":41,"props":2922,"children":2923},{"style":91},[2924],{"type":14,"value":211},{"type":9,"tag":41,"props":2926,"children":2927},{"style":48},[2928],{"type":14,"value":2929}," {\n",{"type":9,"tag":41,"props":2931,"children":2932},{"class":43,"line":521},[2933,2938,2943],{"type":9,"tag":41,"props":2934,"children":2935},{"style":48},[2936],{"type":14,"value":2937},"  frontend: ",{"type":9,"tag":41,"props":2939,"children":2940},{"style":76},[2941],{"type":14,"value":2942},"'前端开发'",{"type":9,"tag":41,"props":2944,"children":2945},{"style":48},[2946],{"type":14,"value":536},{"type":9,"tag":41,"props":2948,"children":2949},{"class":43,"line":539},[2950,2955,2960],{"type":9,"tag":41,"props":2951,"children":2952},{"style":48},[2953],{"type":14,"value":2954},"  backend: ",{"type":9,"tag":41,"props":2956,"children":2957},{"style":76},[2958],{"type":14,"value":2959},"'后端开发'",{"type":9,"tag":41,"props":2961,"children":2962},{"style":48},[2963],{"type":14,"value":536},{"type":9,"tag":41,"props":2965,"children":2966},{"class":43,"line":556},[2967,2972,2977],{"type":9,"tag":41,"props":2968,"children":2969},{"style":48},[2970],{"type":14,"value":2971},"  fullstack: ",{"type":9,"tag":41,"props":2973,"children":2974},{"style":76},[2975],{"type":14,"value":2976},"'全栈开发'",{"type":9,"tag":41,"props":2978,"children":2979},{"style":48},[2980],{"type":14,"value":536},{"type":9,"tag":41,"props":2982,"children":2983},{"class":43,"line":573},[2984,2989,2994],{"type":9,"tag":41,"props":2985,"children":2986},{"style":48},[2987],{"type":14,"value":2988},"  devops: ",{"type":9,"tag":41,"props":2990,"children":2991},{"style":76},[2992],{"type":14,"value":2993},"'DevOps'",{"type":9,"tag":41,"props":2995,"children":2996},{"style":48},[2997],{"type":14,"value":536},{"type":9,"tag":41,"props":2999,"children":3000},{"class":43,"line":590},[3001,3006],{"type":9,"tag":41,"props":3002,"children":3003},{"style":48},[3004],{"type":14,"value":3005},"  designer: ",{"type":9,"tag":41,"props":3007,"children":3008},{"style":76},[3009],{"type":14,"value":3010},"'UI \u002F 设计'\n",{"type":9,"tag":41,"props":3012,"children":3013},{"class":43,"line":598},[3014],{"type":9,"tag":41,"props":3015,"children":3016},{"style":48},[3017],{"type":14,"value":3018},"}\n",{"type":9,"tag":41,"props":3020,"children":3021},{"class":43,"line":615},[3022],{"type":9,"tag":41,"props":3023,"children":3024},{"emptyLinePlaceholder":143},[3025],{"type":14,"value":146},{"type":9,"tag":41,"props":3027,"children":3028},{"class":43,"line":632},[3029,3033,3037,3041,3045,3049],{"type":9,"tag":41,"props":3030,"children":3031},{"style":91},[3032],{"type":14,"value":155},{"type":9,"tag":41,"props":3034,"children":3035},{"style":163},[3036],{"type":14,"value":206},{"type":9,"tag":41,"props":3038,"children":3039},{"style":91},[3040],{"type":14,"value":211},{"type":9,"tag":41,"props":3042,"children":3043},{"style":48},[3044],{"type":14,"value":216},{"type":9,"tag":41,"props":3046,"children":3047},{"style":60},[3048],{"type":14,"value":221},{"type":9,"tag":41,"props":3050,"children":3051},{"style":48},[3052],{"type":14,"value":226},{"type":9,"tag":41,"props":3054,"children":3055},{"class":43,"line":640},[3056],{"type":9,"tag":41,"props":3057,"children":3058},{"style":48},[3059],{"type":14,"value":3060},"  name: afz\n",{"type":9,"tag":41,"props":3062,"children":3063},{"class":43,"line":657},[3064,3069,3073,3077,3082],{"type":9,"tag":41,"props":3065,"children":3066},{"style":48},[3067],{"type":14,"value":3068},"    .",{"type":9,"tag":41,"props":3070,"children":3071},{"style":60},[3072],{"type":14,"value":919},{"type":9,"tag":41,"props":3074,"children":3075},{"style":48},[3076],{"type":14,"value":924},{"type":9,"tag":41,"props":3078,"children":3079},{"style":76},[3080],{"type":14,"value":3081},"'请输入您的姓名'",{"type":9,"tag":41,"props":3083,"children":3084},{"style":48},[3085],{"type":14,"value":3086}," } })\n",{"type":9,"tag":41,"props":3088,"children":3089},{"class":43,"line":674},[3090,3094,3099,3103,3107,3111,3116],{"type":9,"tag":41,"props":3091,"children":3092},{"style":48},[3093],{"type":14,"value":3068},{"type":9,"tag":41,"props":3095,"children":3096},{"style":60},[3097],{"type":14,"value":3098},"min",{"type":9,"tag":41,"props":3100,"children":3101},{"style":48},[3102],{"type":14,"value":1263},{"type":9,"tag":41,"props":3104,"children":3105},{"style":163},[3106],{"type":14,"value":987},{"type":9,"tag":41,"props":3108,"children":3109},{"style":48},[3110],{"type":14,"value":1045},{"type":9,"tag":41,"props":3112,"children":3113},{"style":76},[3114],{"type":14,"value":3115},"'姓名至少 2 个字符'",{"type":9,"tag":41,"props":3117,"children":3118},{"style":48},[3119],{"type":14,"value":3120},")\n",{"type":9,"tag":41,"props":3122,"children":3123},{"class":43,"line":691},[3124,3128,3132,3136,3141],{"type":9,"tag":41,"props":3125,"children":3126},{"style":48},[3127],{"type":14,"value":3068},{"type":9,"tag":41,"props":3129,"children":3130},{"style":60},[3131],{"type":14,"value":939},{"type":9,"tag":41,"props":3133,"children":3134},{"style":48},[3135],{"type":14,"value":944},{"type":9,"tag":41,"props":3137,"children":3138},{"style":76},[3139],{"type":14,"value":3140},"'姓名'",{"type":9,"tag":41,"props":3142,"children":3143},{"style":48},[3144],{"type":14,"value":954},{"type":9,"tag":41,"props":3146,"children":3147},{"class":43,"line":699},[3148],{"type":9,"tag":41,"props":3149,"children":3150},{"emptyLinePlaceholder":143},[3151],{"type":14,"value":146},{"type":9,"tag":41,"props":3153,"children":3154},{"class":43,"line":716},[3155],{"type":9,"tag":41,"props":3156,"children":3157},{"style":48},[3158],{"type":14,"value":3159},"  role: afz\n",{"type":9,"tag":41,"props":3161,"children":3162},{"class":43,"line":733},[3163,3167,3171,3176,3181,3185,3190,3195,3200,3205,3209,3213,3218,3222],{"type":9,"tag":41,"props":3164,"children":3165},{"style":48},[3166],{"type":14,"value":3068},{"type":9,"tag":41,"props":3168,"children":3169},{"style":60},[3170],{"type":14,"value":1470},{"type":9,"tag":41,"props":3172,"children":3173},{"style":48},[3174],{"type":14,"value":3175},"(Object.",{"type":9,"tag":41,"props":3177,"children":3178},{"style":60},[3179],{"type":14,"value":3180},"keys",{"type":9,"tag":41,"props":3182,"children":3183},{"style":48},[3184],{"type":14,"value":1263},{"type":9,"tag":41,"props":3186,"children":3187},{"style":163},[3188],{"type":14,"value":3189},"ROLE_OPTIONS",{"type":9,"tag":41,"props":3191,"children":3192},{"style":48},[3193],{"type":14,"value":3194},") ",{"type":9,"tag":41,"props":3196,"children":3197},{"style":91},[3198],{"type":14,"value":3199},"as",{"type":9,"tag":41,"props":3201,"children":3202},{"style":48},[3203],{"type":14,"value":3204}," [",{"type":9,"tag":41,"props":3206,"children":3207},{"style":163},[3208],{"type":14,"value":919},{"type":9,"tag":41,"props":3210,"children":3211},{"style":48},[3212],{"type":14,"value":1045},{"type":9,"tag":41,"props":3214,"children":3215},{"style":91},[3216],{"type":14,"value":3217},"...",{"type":9,"tag":41,"props":3219,"children":3220},{"style":163},[3221],{"type":14,"value":919},{"type":9,"tag":41,"props":3223,"children":3224},{"style":48},[3225],{"type":14,"value":3226},"[]])\n",{"type":9,"tag":41,"props":3228,"children":3229},{"class":43,"line":750},[3230,3234,3238,3242,3247],{"type":9,"tag":41,"props":3231,"children":3232},{"style":48},[3233],{"type":14,"value":3068},{"type":9,"tag":41,"props":3235,"children":3236},{"style":60},[3237],{"type":14,"value":1258},{"type":9,"tag":41,"props":3239,"children":3240},{"style":48},[3241],{"type":14,"value":1263},{"type":9,"tag":41,"props":3243,"children":3244},{"style":76},[3245],{"type":14,"value":3246},"'fullstack'",{"type":9,"tag":41,"props":3248,"children":3249},{"style":48},[3250],{"type":14,"value":3120},{"type":9,"tag":41,"props":3252,"children":3253},{"class":43,"line":767},[3254,3258,3262,3266,3271,3276,3281],{"type":9,"tag":41,"props":3255,"children":3256},{"style":48},[3257],{"type":14,"value":3068},{"type":9,"tag":41,"props":3259,"children":3260},{"style":60},[3261],{"type":14,"value":939},{"type":9,"tag":41,"props":3263,"children":3264},{"style":48},[3265],{"type":14,"value":944},{"type":9,"tag":41,"props":3267,"children":3268},{"style":76},[3269],{"type":14,"value":3270},"'职位'",{"type":9,"tag":41,"props":3272,"children":3273},{"style":48},[3274],{"type":14,"value":3275},", description: ",{"type":9,"tag":41,"props":3277,"children":3278},{"style":76},[3279],{"type":14,"value":3280},"'您的主要技术方向'",{"type":9,"tag":41,"props":3282,"children":3283},{"style":48},[3284],{"type":14,"value":954},{"type":9,"tag":41,"props":3286,"children":3287},{"class":43,"line":784},[3288],{"type":9,"tag":41,"props":3289,"children":3290},{"emptyLinePlaceholder":143},[3291],{"type":14,"value":146},{"type":9,"tag":41,"props":3293,"children":3294},{"class":43,"line":801},[3295],{"type":9,"tag":41,"props":3296,"children":3297},{"style":48},[3298],{"type":14,"value":3299},"  skills: afz\n",{"type":9,"tag":41,"props":3301,"children":3302},{"class":43,"line":818},[3303,3307,3311,3315,3319],{"type":9,"tag":41,"props":3304,"children":3305},{"style":48},[3306],{"type":14,"value":3068},{"type":9,"tag":41,"props":3308,"children":3309},{"style":60},[3310],{"type":14,"value":1095},{"type":9,"tag":41,"props":3312,"children":3313},{"style":48},[3314],{"type":14,"value":1100},{"type":9,"tag":41,"props":3316,"children":3317},{"style":60},[3318],{"type":14,"value":919},{"type":9,"tag":41,"props":3320,"children":3321},{"style":48},[3322],{"type":14,"value":3323},"(), {\n",{"type":9,"tag":41,"props":3325,"children":3326},{"class":43,"line":835},[3327,3332,3337],{"type":9,"tag":41,"props":3328,"children":3329},{"style":48},[3330],{"type":14,"value":3331},"      type: ",{"type":9,"tag":41,"props":3333,"children":3334},{"style":76},[3335],{"type":14,"value":3336},"'tagSelector'",{"type":9,"tag":41,"props":3338,"children":3339},{"style":48},[3340],{"type":14,"value":536},{"type":9,"tag":41,"props":3342,"children":3343},{"class":43,"line":843},[3344],{"type":9,"tag":41,"props":3345,"children":3346},{"style":48},[3347],{"type":14,"value":3348},"      controlProps: {\n",{"type":9,"tag":41,"props":3350,"children":3351},{"class":43,"line":860},[3352,3357,3362],{"type":9,"tag":41,"props":3353,"children":3354},{"style":48},[3355],{"type":14,"value":3356},"        options: ",{"type":9,"tag":41,"props":3358,"children":3359},{"style":163},[3360],{"type":14,"value":3361},"SKILL_OPTIONS",{"type":9,"tag":41,"props":3363,"children":3364},{"style":48},[3365],{"type":14,"value":536},{"type":9,"tag":41,"props":3367,"children":3368},{"class":43,"line":877},[3369,3374],{"type":9,"tag":41,"props":3370,"children":3371},{"style":48},[3372],{"type":14,"value":3373},"        max: ",{"type":9,"tag":41,"props":3375,"children":3376},{"style":163},[3377],{"type":14,"value":3378},"5\n",{"type":9,"tag":41,"props":3380,"children":3381},{"class":43,"line":891},[3382],{"type":9,"tag":41,"props":3383,"children":3384},{"style":48},[3385],{"type":14,"value":3386},"      }\n",{"type":9,"tag":41,"props":3388,"children":3389},{"class":43,"line":899},[3390],{"type":9,"tag":41,"props":3391,"children":3392},{"style":48},[3393],{"type":14,"value":3394},"    })\n",{"type":9,"tag":41,"props":3396,"children":3397},{"class":43,"line":908},[3398,3402,3406],{"type":9,"tag":41,"props":3399,"children":3400},{"style":48},[3401],{"type":14,"value":3068},{"type":9,"tag":41,"props":3403,"children":3404},{"style":60},[3405],{"type":14,"value":1258},{"type":9,"tag":41,"props":3407,"children":3408},{"style":48},[3409],{"type":14,"value":3410},"([])\n",{"type":9,"tag":41,"props":3412,"children":3413},{"class":43,"line":957},[3414,3418,3422,3426,3431,3435,3440],{"type":9,"tag":41,"props":3415,"children":3416},{"style":48},[3417],{"type":14,"value":3068},{"type":9,"tag":41,"props":3419,"children":3420},{"style":60},[3421],{"type":14,"value":939},{"type":9,"tag":41,"props":3423,"children":3424},{"style":48},[3425],{"type":14,"value":944},{"type":9,"tag":41,"props":3427,"children":3428},{"style":76},[3429],{"type":14,"value":3430},"'技能标签'",{"type":9,"tag":41,"props":3432,"children":3433},{"style":48},[3434],{"type":14,"value":3275},{"type":9,"tag":41,"props":3436,"children":3437},{"style":76},[3438],{"type":14,"value":3439},"'最多选择 5 项技能'",{"type":9,"tag":41,"props":3441,"children":3442},{"style":48},[3443],{"type":14,"value":954},{"type":9,"tag":41,"props":3445,"children":3446},{"class":43,"line":1011},[3447],{"type":9,"tag":41,"props":3448,"children":3449},{"emptyLinePlaceholder":143},[3450],{"type":14,"value":146},{"type":9,"tag":41,"props":3452,"children":3453},{"class":43,"line":1084},[3454],{"type":9,"tag":41,"props":3455,"children":3456},{"style":48},[3457],{"type":14,"value":3458},"  bio: afz\n",{"type":9,"tag":41,"props":3460,"children":3461},{"class":43,"line":1148},[3462,3466,3470],{"type":9,"tag":41,"props":3463,"children":3464},{"style":48},[3465],{"type":14,"value":3068},{"type":9,"tag":41,"props":3467,"children":3468},{"style":60},[3469],{"type":14,"value":919},{"type":9,"tag":41,"props":3471,"children":3472},{"style":48},[3473],{"type":14,"value":226},{"type":9,"tag":41,"props":3475,"children":3476},{"class":43,"line":1156},[3477,3481,3485],{"type":9,"tag":41,"props":3478,"children":3479},{"style":48},[3480],{"type":14,"value":3331},{"type":9,"tag":41,"props":3482,"children":3483},{"style":76},[3484],{"type":14,"value":977},{"type":9,"tag":41,"props":3486,"children":3487},{"style":48},[3488],{"type":14,"value":536},{"type":9,"tag":41,"props":3490,"children":3491},{"class":43,"line":1200},[3492,3497,3502],{"type":9,"tag":41,"props":3493,"children":3494},{"style":48},[3495],{"type":14,"value":3496},"      controlProps: { placeholder: ",{"type":9,"tag":41,"props":3498,"children":3499},{"style":76},[3500],{"type":14,"value":3501},"'简短介绍一下自己...'",{"type":9,"tag":41,"props":3503,"children":3504},{"style":48},[3505],{"type":14,"value":491},{"type":9,"tag":41,"props":3507,"children":3508},{"class":43,"line":1293},[3509],{"type":9,"tag":41,"props":3510,"children":3511},{"style":48},[3512],{"type":14,"value":3394},{"type":9,"tag":41,"props":3514,"children":3515},{"class":43,"line":1301},[3516,3520,3524],{"type":9,"tag":41,"props":3517,"children":3518},{"style":48},[3519],{"type":14,"value":3068},{"type":9,"tag":41,"props":3521,"children":3522},{"style":60},[3523],{"type":14,"value":1744},{"type":9,"tag":41,"props":3525,"children":3526},{"style":48},[3527],{"type":14,"value":185},{"type":9,"tag":41,"props":3529,"children":3530},{"class":43,"line":1337},[3531,3535,3539,3543,3548],{"type":9,"tag":41,"props":3532,"children":3533},{"style":48},[3534],{"type":14,"value":3068},{"type":9,"tag":41,"props":3536,"children":3537},{"style":60},[3538],{"type":14,"value":939},{"type":9,"tag":41,"props":3540,"children":3541},{"style":48},[3542],{"type":14,"value":944},{"type":9,"tag":41,"props":3544,"children":3545},{"style":76},[3546],{"type":14,"value":3547},"'个人简介'",{"type":9,"tag":41,"props":3549,"children":3550},{"style":48},[3551],{"type":14,"value":954},{"type":9,"tag":41,"props":3553,"children":3554},{"class":43,"line":1381},[3555],{"type":9,"tag":41,"props":3556,"children":3557},{"emptyLinePlaceholder":143},[3558],{"type":14,"value":146},{"type":9,"tag":41,"props":3560,"children":3561},{"class":43,"line":1451},[3562],{"type":9,"tag":41,"props":3563,"children":3564},{"style":48},[3565],{"type":14,"value":3566},"  openToWork: afz\n",{"type":9,"tag":41,"props":3568,"children":3569},{"class":43,"line":1459},[3570,3574,3578],{"type":9,"tag":41,"props":3571,"children":3572},{"style":48},[3573],{"type":14,"value":3068},{"type":9,"tag":41,"props":3575,"children":3576},{"style":60},[3577],{"type":14,"value":1312},{"type":9,"tag":41,"props":3579,"children":3580},{"style":48},[3581],{"type":14,"value":185},{"type":9,"tag":41,"props":3583,"children":3584},{"class":43,"line":1539},[3585,3589,3593,3597,3601],{"type":9,"tag":41,"props":3586,"children":3587},{"style":48},[3588],{"type":14,"value":3068},{"type":9,"tag":41,"props":3590,"children":3591},{"style":60},[3592],{"type":14,"value":1258},{"type":9,"tag":41,"props":3594,"children":3595},{"style":48},[3596],{"type":14,"value":1263},{"type":9,"tag":41,"props":3598,"children":3599},{"style":163},[3600],{"type":14,"value":1427},{"type":9,"tag":41,"props":3602,"children":3603},{"style":48},[3604],{"type":14,"value":3120},{"type":9,"tag":41,"props":3606,"children":3607},{"class":43,"line":1619},[3608,3612,3616,3620,3625,3630,3635],{"type":9,"tag":41,"props":3609,"children":3610},{"style":48},[3611],{"type":14,"value":3068},{"type":9,"tag":41,"props":3613,"children":3614},{"style":60},[3615],{"type":14,"value":939},{"type":9,"tag":41,"props":3617,"children":3618},{"style":48},[3619],{"type":14,"value":944},{"type":9,"tag":41,"props":3621,"children":3622},{"style":76},[3623],{"type":14,"value":3624},"'求职中'",{"type":9,"tag":41,"props":3626,"children":3627},{"style":48},[3628],{"type":14,"value":3629},", hint: ",{"type":9,"tag":41,"props":3631,"children":3632},{"style":76},[3633],{"type":14,"value":3634},"'开启后将对招聘者可见'",{"type":9,"tag":41,"props":3636,"children":3637},{"style":48},[3638],{"type":14,"value":2289},{"type":9,"tag":41,"props":3640,"children":3641},{"class":43,"line":1689},[3642],{"type":9,"tag":41,"props":3643,"children":3644},{"style":48},[3645],{"type":14,"value":2316},{"type":9,"tag":41,"props":3647,"children":3648},{"class":43,"line":1768},[3649],{"type":9,"tag":41,"props":3650,"children":3651},{"emptyLinePlaceholder":143},[3652],{"type":14,"value":146},{"type":9,"tag":41,"props":3654,"children":3655},{"class":43,"line":1812},[3656,3661,3666,3670,3675,3679,3683,3687,3691],{"type":9,"tag":41,"props":3657,"children":3658},{"style":91},[3659],{"type":14,"value":3660},"type",{"type":9,"tag":41,"props":3662,"children":3663},{"style":60},[3664],{"type":14,"value":3665}," Schema",{"type":9,"tag":41,"props":3667,"children":3668},{"style":91},[3669],{"type":14,"value":211},{"type":9,"tag":41,"props":3671,"children":3672},{"style":60},[3673],{"type":14,"value":3674}," z",{"type":9,"tag":41,"props":3676,"children":3677},{"style":48},[3678],{"type":14,"value":2369},{"type":9,"tag":41,"props":3680,"children":3681},{"style":60},[3682],{"type":14,"value":2374},{"type":9,"tag":41,"props":3684,"children":3685},{"style":48},[3686],{"type":14,"value":51},{"type":9,"tag":41,"props":3688,"children":3689},{"style":91},[3690],{"type":14,"value":2383},{"type":9,"tag":41,"props":3692,"children":3693},{"style":48},[3694],{"type":14,"value":3695}," schema>\n",{"type":9,"tag":41,"props":3697,"children":3698},{"class":43,"line":1829},[3699],{"type":9,"tag":41,"props":3700,"children":3701},{"emptyLinePlaceholder":143},[3702],{"type":14,"value":146},{"type":9,"tag":41,"props":3704,"children":3705},{"class":43,"line":1885},[3706,3710,3715,3719,3724,3728,3732,3736,3741],{"type":9,"tag":41,"props":3707,"children":3708},{"style":91},[3709],{"type":14,"value":155},{"type":9,"tag":41,"props":3711,"children":3712},{"style":163},[3713],{"type":14,"value":3714}," form",{"type":9,"tag":41,"props":3716,"children":3717},{"style":91},[3718],{"type":14,"value":211},{"type":9,"tag":41,"props":3720,"children":3721},{"style":60},[3722],{"type":14,"value":3723}," ref",{"type":9,"tag":41,"props":3725,"children":3726},{"style":48},[3727],{"type":14,"value":51},{"type":9,"tag":41,"props":3729,"children":3730},{"style":60},[3731],{"type":14,"value":2355},{"type":9,"tag":41,"props":3733,"children":3734},{"style":48},[3735],{"type":14,"value":51},{"type":9,"tag":41,"props":3737,"children":3738},{"style":60},[3739],{"type":14,"value":3740},"Schema",{"type":9,"tag":41,"props":3742,"children":3743},{"style":48},[3744],{"type":14,"value":3745},">>({})\n",{"type":9,"tag":41,"props":3747,"children":3748},{"class":43,"line":1927},[3749],{"type":9,"tag":41,"props":3750,"children":3751},{"emptyLinePlaceholder":143},[3752],{"type":14,"value":146},{"type":9,"tag":41,"props":3754,"children":3755},{"class":43,"line":2013},[3756,3761,3766,3771,3775,3781,3786,3791,3795,3799],{"type":9,"tag":41,"props":3757,"children":3758},{"style":91},[3759],{"type":14,"value":3760},"async",{"type":9,"tag":41,"props":3762,"children":3763},{"style":91},[3764],{"type":14,"value":3765}," function",{"type":9,"tag":41,"props":3767,"children":3768},{"style":60},[3769],{"type":14,"value":3770}," onSubmit",{"type":9,"tag":41,"props":3772,"children":3773},{"style":48},[3774],{"type":14,"value":1263},{"type":9,"tag":41,"props":3776,"children":3778},{"style":3777},"--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70",[3779],{"type":14,"value":3780},"event",{"type":9,"tag":41,"props":3782,"children":3783},{"style":91},[3784],{"type":14,"value":3785},":",{"type":9,"tag":41,"props":3787,"children":3788},{"style":60},[3789],{"type":14,"value":3790}," FormSubmitEvent",{"type":9,"tag":41,"props":3792,"children":3793},{"style":48},[3794],{"type":14,"value":51},{"type":9,"tag":41,"props":3796,"children":3797},{"style":60},[3798],{"type":14,"value":3740},{"type":9,"tag":41,"props":3800,"children":3801},{"style":48},[3802],{"type":14,"value":3803},">) {\n",{"type":9,"tag":41,"props":3805,"children":3806},{"class":43,"line":2091},[3807,3812,3817],{"type":9,"tag":41,"props":3808,"children":3809},{"style":48},[3810],{"type":14,"value":3811},"  toast.",{"type":9,"tag":41,"props":3813,"children":3814},{"style":60},[3815],{"type":14,"value":3816},"add",{"type":9,"tag":41,"props":3818,"children":3819},{"style":48},[3820],{"type":14,"value":226},{"type":9,"tag":41,"props":3822,"children":3823},{"class":43,"line":2168},[3824,3829,3834],{"type":9,"tag":41,"props":3825,"children":3826},{"style":48},[3827],{"type":14,"value":3828},"    title: ",{"type":9,"tag":41,"props":3830,"children":3831},{"style":76},[3832],{"type":14,"value":3833},"'提交成功'",{"type":9,"tag":41,"props":3835,"children":3836},{"style":48},[3837],{"type":14,"value":536},{"type":9,"tag":41,"props":3839,"children":3840},{"class":43,"line":2176},[3841,3846,3851],{"type":9,"tag":41,"props":3842,"children":3843},{"style":48},[3844],{"type":14,"value":3845},"    color: ",{"type":9,"tag":41,"props":3847,"children":3848},{"style":76},[3849],{"type":14,"value":3850},"'success'",{"type":9,"tag":41,"props":3852,"children":3853},{"style":48},[3854],{"type":14,"value":536},{"type":9,"tag":41,"props":3856,"children":3857},{"class":43,"line":2221},[3858,3863,3868,3872,3877,3882,3887,3891,3895],{"type":9,"tag":41,"props":3859,"children":3860},{"style":48},[3861],{"type":14,"value":3862},"    description: ",{"type":9,"tag":41,"props":3864,"children":3865},{"style":163},[3866],{"type":14,"value":3867},"JSON",{"type":9,"tag":41,"props":3869,"children":3870},{"style":48},[3871],{"type":14,"value":2369},{"type":9,"tag":41,"props":3873,"children":3874},{"style":60},[3875],{"type":14,"value":3876},"stringify",{"type":9,"tag":41,"props":3878,"children":3879},{"style":48},[3880],{"type":14,"value":3881},"(event.data, ",{"type":9,"tag":41,"props":3883,"children":3884},{"style":163},[3885],{"type":14,"value":3886},"null",{"type":9,"tag":41,"props":3888,"children":3889},{"style":48},[3890],{"type":14,"value":1045},{"type":9,"tag":41,"props":3892,"children":3893},{"style":163},[3894],{"type":14,"value":987},{"type":9,"tag":41,"props":3896,"children":3897},{"style":48},[3898],{"type":14,"value":3120},{"type":9,"tag":41,"props":3900,"children":3901},{"class":43,"line":2256},[3902],{"type":9,"tag":41,"props":3903,"children":3904},{"style":48},[3905],{"type":14,"value":2307},{"type":9,"tag":41,"props":3907,"children":3908},{"class":43,"line":2292},[3909],{"type":9,"tag":41,"props":3910,"children":3911},{"style":48},[3912],{"type":14,"value":3018},{"type":9,"tag":41,"props":3914,"children":3915},{"class":43,"line":2301},[3916,3920,3924],{"type":9,"tag":41,"props":3917,"children":3918},{"style":48},[3919],{"type":14,"value":2397},{"type":9,"tag":41,"props":3921,"children":3922},{"style":54},[3923],{"type":14,"value":57},{"type":9,"tag":41,"props":3925,"children":3926},{"style":48},[3927],{"type":14,"value":84},{"type":9,"tag":41,"props":3929,"children":3930},{"class":43,"line":2310},[3931],{"type":9,"tag":41,"props":3932,"children":3933},{"emptyLinePlaceholder":143},[3934],{"type":14,"value":146},{"type":9,"tag":41,"props":3936,"children":3937},{"class":43,"line":2319},[3938,3942,3946],{"type":9,"tag":41,"props":3939,"children":3940},{"style":48},[3941],{"type":14,"value":51},{"type":9,"tag":41,"props":3943,"children":3944},{"style":54},[3945],{"type":14,"value":2426},{"type":9,"tag":41,"props":3947,"children":3948},{"style":48},[3949],{"type":14,"value":84},{"type":9,"tag":41,"props":3951,"children":3952},{"class":43,"line":2327},[3953,3957],{"type":9,"tag":41,"props":3954,"children":3955},{"style":48},[3956],{"type":14,"value":2439},{"type":9,"tag":41,"props":3958,"children":3959},{"style":54},[3960],{"type":14,"value":3961},"MAutoForm\n",{"type":9,"tag":41,"props":3963,"children":3964},{"class":43,"line":2391},[3965,3970,3974,3978,3983],{"type":9,"tag":41,"props":3966,"children":3967},{"style":60},[3968],{"type":14,"value":3969},"    v-model",{"type":9,"tag":41,"props":3971,"children":3972},{"style":48},[3973],{"type":14,"value":73},{"type":9,"tag":41,"props":3975,"children":3976},{"style":76},[3977],{"type":14,"value":2458},{"type":9,"tag":41,"props":3979,"children":3980},{"style":48},[3981],{"type":14,"value":3982},"form",{"type":9,"tag":41,"props":3984,"children":3985},{"style":76},[3986],{"type":14,"value":3987},"\"\n",{"type":9,"tag":41,"props":3989,"children":3990},{"class":43,"line":2408},[3991,3996,4000,4004,4008,4012],{"type":9,"tag":41,"props":3992,"children":3993},{"style":48},[3994],{"type":14,"value":3995},"    :",{"type":9,"tag":41,"props":3997,"children":3998},{"style":60},[3999],{"type":14,"value":2477},{"type":9,"tag":41,"props":4001,"children":4002},{"style":48},[4003],{"type":14,"value":73},{"type":9,"tag":41,"props":4005,"children":4006},{"style":76},[4007],{"type":14,"value":2458},{"type":9,"tag":41,"props":4009,"children":4010},{"style":48},[4011],{"type":14,"value":2477},{"type":9,"tag":41,"props":4013,"children":4014},{"style":76},[4015],{"type":14,"value":3987},{"type":9,"tag":41,"props":4017,"children":4018},{"class":43,"line":2416},[4019,4023,4027,4031,4035,4039],{"type":9,"tag":41,"props":4020,"children":4021},{"style":48},[4022],{"type":14,"value":3995},{"type":9,"tag":41,"props":4024,"children":4025},{"style":60},[4026],{"type":14,"value":2702},{"type":9,"tag":41,"props":4028,"children":4029},{"style":48},[4030],{"type":14,"value":73},{"type":9,"tag":41,"props":4032,"children":4033},{"style":76},[4034],{"type":14,"value":2458},{"type":9,"tag":41,"props":4036,"children":4037},{"style":48},[4038],{"type":14,"value":2702},{"type":9,"tag":41,"props":4040,"children":4041},{"style":76},[4042],{"type":14,"value":3987},{"type":9,"tag":41,"props":4044,"children":4045},{"class":43,"line":2433},[4046,4051,4056,4060,4064,4069],{"type":9,"tag":41,"props":4047,"children":4048},{"style":48},[4049],{"type":14,"value":4050},"    @",{"type":9,"tag":41,"props":4052,"children":4053},{"style":60},[4054],{"type":14,"value":4055},"submit",{"type":9,"tag":41,"props":4057,"children":4058},{"style":48},[4059],{"type":14,"value":73},{"type":9,"tag":41,"props":4061,"children":4062},{"style":76},[4063],{"type":14,"value":2458},{"type":9,"tag":41,"props":4065,"children":4066},{"style":48},[4067],{"type":14,"value":4068},"onSubmit",{"type":9,"tag":41,"props":4070,"children":4071},{"style":76},[4072],{"type":14,"value":3987},{"type":9,"tag":41,"props":4074,"children":4075},{"class":43,"line":2501},[4076],{"type":9,"tag":41,"props":4077,"children":4078},{"style":48},[4079],{"type":14,"value":4080},"  \u002F>\n",{"type":9,"tag":41,"props":4082,"children":4084},{"class":43,"line":4083},84,[4085,4089,4093],{"type":9,"tag":41,"props":4086,"children":4087},{"style":48},[4088],{"type":14,"value":2397},{"type":9,"tag":41,"props":4090,"children":4091},{"style":54},[4092],{"type":14,"value":2426},{"type":9,"tag":41,"props":4094,"children":4095},{"style":48},[4096],{"type":14,"value":84},{"type":9,"tag":2516,"props":4098,"children":4099},{},[4100],{"type":14,"value":2520},{"title":22,"searchDepth":87,"depth":87,"links":4102},[],{"id":4104,"title":4105,"body":4106,"category":6046,"description":15,"difficulty":6046,"extension":6047,"index":6048,"keywords":6046,"links":6046,"meta":6049,"navigation":6046,"path":6050,"requires":6046,"seo":6051,"sitemap":6052,"stem":6053,"__hash__":6054},"docs\u002Fdocs\u002F2.auto-form\u002F4.controls.md","控件",{"type":4107,"value":4108,"toc":6032},"minimark",[4109,4113,4119,4147,4150,4154,4314,4318,4324,4572,4591,4594,4600,4604,4607,4610,4613,4621,4698,4713,4720,4723,4823,4832,4906,4909,4916,4992,5004,5007,5010,5015,5105,5109,5114,5203,5206,5226,5228,6029],[4110,4111,4112],"h2",{"id":4112},"概述",[10,4114,4115,4116,4118],{},"AutoForm 通过 ",[37,4117,3660],{}," 字段将 schema 字段映射到具体的渲染控件，并支持两种方式扩展自定义控件：",[4120,4121,4122,4137],"ul",{},[4123,4124,4125,4129,4130,4133,4134,4136],"li",{},[4126,4127,4128],"strong",{},"注册类型","：通过 ",[37,4131,4132],{},"useAutoForm()"," 注册控件类型，在 schema 中通过 ",[37,4135,3660],{}," 引用，适合需要复用的控件",[4123,4138,4139,4142,4143,4146],{},[4126,4140,4141],{},"直接传入","：在 schema 中通过 ",[37,4144,4145],{},"component"," 直接传入组件实例，适合一次性使用",[4110,4148,4149],{"id":4149},"内置控件",[4151,4152,4153],"h3",{"id":4153},"默认映射",[4155,4156,4157,4173],"table",{},[4158,4159,4160],"thead",{},[4161,4162,4163,4167,4170],"tr",{},[4164,4165,4166],"th",{},"afz 方法",[4164,4168,4169],{},"默认控件",[4164,4171,4172],{},"说明",[4174,4175,4176,4197,4214,4231,4248,4265,4282,4298],"tbody",{},[4161,4177,4178,4184,4194],{},[4179,4180,4181],"td",{},[37,4182,4183],{},"afz.string()",[4179,4185,4186],{},[37,4187,4190],{"className":4188,"language":4189,"style":22},"language-ts-type shiki shiki-themes github-light github-light github-dark","ts-type",[41,4191,4193],{"class":4192},"snPdu","UInput",[4179,4195,4196],{},"文本输入框",[4161,4198,4199,4204,4211],{},[4179,4200,4201],{},[37,4202,4203],{},"afz.number()",[4179,4205,4206],{},[37,4207,4208],{"className":4188,"language":4189,"style":22},[41,4209,4210],{"class":4192},"UInputNumber",[4179,4212,4213],{},"数字输入框",[4161,4215,4216,4221,4228],{},[4179,4217,4218],{},[37,4219,4220],{},"afz.boolean()",[4179,4222,4223],{},[37,4224,4225],{"className":4188,"language":4189,"style":22},[41,4226,4227],{"class":4192},"UCheckbox",[4179,4229,4230],{},"复选框",[4161,4232,4233,4238,4245],{},[4179,4234,4235],{},[37,4236,4237],{},"afz.enum()",[4179,4239,4240],{},[37,4241,4242],{"className":4188,"language":4189,"style":22},[41,4243,4244],{"class":4192},"USelect",[4179,4246,4247],{},"下拉选择器",[4161,4249,4250,4255,4262],{},[4179,4251,4252],{},[37,4253,4254],{},"afz.file()",[4179,4256,4257],{},[37,4258,4259],{"className":4188,"language":4189,"style":22},[41,4260,4261],{"class":4192},"UFileUpload",[4179,4263,4264],{},"文件上传",[4161,4266,4267,4272,4279],{},[4179,4268,4269],{},[37,4270,4271],{},"afz.calendarDate()",[4179,4273,4274],{},[37,4275,4276],{"className":4188,"language":4189,"style":22},[41,4277,4278],{"class":4192},"DatePicker",[4179,4280,4281],{},"日期选择器",[4161,4283,4284,4288,4295],{},[4179,4285,4286],{},[37,4287,2232],{},[4179,4289,4290],{},[37,4291,4292],{"className":4188,"language":4189,"style":22},[41,4293,4294],{"class":4192},"UInputDate",[4179,4296,4297],{},"日期输入框",[4161,4299,4300,4304,4311],{},[4179,4301,4302],{},[37,4303,2267],{},[4179,4305,4306],{},[37,4307,4308],{"className":4188,"language":4189,"style":22},[41,4309,4310],{"class":4192},"UInputTime",[4179,4312,4313],{},"时间输入框",[4151,4315,4317],{"id":4316},"可用的-type-值","可用的 type 值",[10,4319,4320,4321,4323],{},"通过 ",[37,4322,3660],{}," 字段在 schema 中指定以下内置控件：",[4155,4325,4326,4338],{},[4158,4327,4328],{},[4161,4329,4330,4333,4336],{},[4164,4331,4332],{},"type 值",[4164,4334,4335],{},"控件组件",[4164,4337,4172],{},[4174,4339,4340,4357,4374,4391,4408,4425,4442,4459,4476,4493,4510,4527,4544,4558],{},[4161,4341,4342,4347,4354],{},[4179,4343,4344],{},[37,4345,4346],{},"textarea",[4179,4348,4349],{},[37,4350,4351],{"className":4188,"language":4189,"style":22},[41,4352,4353],{"class":4192},"UTextarea",[4179,4355,4356],{},"多行文本输入框",[4161,4358,4359,4364,4371],{},[4179,4360,4361],{},[37,4362,4363],{},"switch",[4179,4365,4366],{},[37,4367,4368],{"className":4188,"language":4189,"style":22},[41,4369,4370],{"class":4192},"USwitch",[4179,4372,4373],{},"开关切换器",[4161,4375,4376,4381,4388],{},[4179,4377,4378],{},[37,4379,4380],{},"toggle",[4179,4382,4383],{},[37,4384,4385],{"className":4188,"language":4189,"style":22},[41,4386,4387],{"class":4192},"UToggle",[4179,4389,4390],{},"布尔值切换按钮",[4161,4392,4393,4398,4405],{},[4179,4394,4395],{},[37,4396,4397],{},"slider",[4179,4399,4400],{},[37,4401,4402],{"className":4188,"language":4189,"style":22},[41,4403,4404],{"class":4192},"USlider",[4179,4406,4407],{},"滑块选择器",[4161,4409,4410,4415,4422],{},[4179,4411,4412],{},[37,4413,4414],{},"pinInput",[4179,4416,4417],{},[37,4418,4419],{"className":4188,"language":4189,"style":22},[41,4420,4421],{"class":4192},"UPinInput",[4179,4423,4424],{},"PIN 码输入框",[4161,4426,4427,4432,4439],{},[4179,4428,4429],{},[37,4430,4431],{},"inputTags",[4179,4433,4434],{},[37,4435,4436],{"className":4188,"language":4189,"style":22},[41,4437,4438],{"class":4192},"UInputTags",[4179,4440,4441],{},"标签输入框",[4161,4443,4444,4449,4456],{},[4179,4445,4446],{},[37,4447,4448],{},"selectMenu",[4179,4450,4451],{},[37,4452,4453],{"className":4188,"language":4189,"style":22},[41,4454,4455],{"class":4192},"USelectMenu",[4179,4457,4458],{},"下拉菜单选择器",[4161,4460,4461,4466,4473],{},[4179,4462,4463],{},[37,4464,4465],{},"inputMenu",[4179,4467,4468],{},[37,4469,4470],{"className":4188,"language":4189,"style":22},[41,4471,4472],{"class":4192},"UInputMenu",[4179,4474,4475],{},"输入菜单",[4161,4477,4478,4483,4490],{},[4179,4479,4480],{},[37,4481,4482],{},"listbox",[4179,4484,4485],{},[37,4486,4487],{"className":4188,"language":4189,"style":22},[41,4488,4489],{"class":4192},"UListbox",[4179,4491,4492],{},"列表选择器",[4161,4494,4495,4500,4507],{},[4179,4496,4497],{},[37,4498,4499],{},"checkboxGroup",[4179,4501,4502],{},[37,4503,4504],{"className":4188,"language":4189,"style":22},[41,4505,4506],{"class":4192},"UCheckboxGroup",[4179,4508,4509],{},"复选框组",[4161,4511,4512,4517,4524],{},[4179,4513,4514],{},[37,4515,4516],{},"radioGroup",[4179,4518,4519],{},[37,4520,4521],{"className":4188,"language":4189,"style":22},[41,4522,4523],{"class":4192},"URadioGroup",[4179,4525,4526],{},"单选框组",[4161,4528,4529,4534,4541],{},[4179,4530,4531],{},[37,4532,4533],{},"toggleGroup",[4179,4535,4536],{},[37,4537,4538],{"className":4188,"language":4189,"style":22},[41,4539,4540],{"class":4192},"UToggleGroup",[4179,4542,4543],{},"支持单选和多选的按钮组",[4161,4545,4546,4550,4556],{},[4179,4547,4548],{},[37,4549,2232],{},[4179,4551,4552],{},[37,4553,4554],{"className":4188,"language":4189,"style":22},[41,4555,4294],{"class":4192},[4179,4557,4297],{},[4161,4559,4560,4564,4570],{},[4179,4561,4562],{},[37,4563,2267],{},[4179,4565,4566],{},[37,4567,4568],{"className":4188,"language":4189,"style":22},[41,4569,4310],{"class":4192},[4179,4571,4313],{},[4573,4574,4576,4577,4580,4581,4580,4584,4580,4587,4590],"note",{"to":4575},"\u002Fdocs\u002Fgetting-started\u002Fmigration","v2 移除了 ",[37,4578,4579],{},"withClear","、",[37,4582,4583],{},"withPasswordToggle",[37,4585,4586],{},"colorChooser",[37,4588,4589],{},"pillGroup"," 等控件类型，替代方案见迁移指南。",[4151,4592,4593],{"id":4593},"控件总览",[10,4595,4596,4597,4599],{},"在 schema 中通过 ",[37,4598,3660],{}," 引用内置控件,按文本、数字、布尔、选择、日期分组演示全部内置控件：",[4601,4602],"component-example",{":collapse":4603,"name":19},"true",[4110,4605,4606],{"id":4606},"自定义控件",[10,4608,4609],{},"当内置控件无法满足需求时，可以通过注册或直接传入两种方式接入自定义 Vue 组件。",[4151,4611,4612],{"id":4612},"注册控件",[10,4614,4320,4615,4617,4618,4620],{},[37,4616,4132],{}," 注册控件，然后在 schema 中通过 ",[37,4619,3660],{}," 字段引用：",[30,4622,4626],{"className":4623,"code":4624,"language":4625,"meta":22,"style":22},"language-ts shiki shiki-themes github-light github-light github-dark","import { TagSelector } from '#components'\n\nconst { afz, controls } = useAutoForm({\n  tagSelector: defineControl({\n    component: TagSelector,\n    controlProps: { class: 'w-full' } \u002F\u002F 全局 controlProps（可被字段级覆盖）\n  })\n})\n","ts",[37,4627,4628,4641,4645,4666,4674,4678,4690,4694],{"__ignoreMap":22},[41,4629,4630,4633,4636,4638],{"class":43,"line":44},[41,4631,94],{"class":4632},"s8jYJ",[41,4634,2631],{"class":4635},"sxrX7",[41,4637,104],{"class":4632},[41,4639,109],{"class":4640},"sIIMD",[41,4642,4643],{"class":43,"line":87},[41,4644,146],{"emptyLinePlaceholder":143},[41,4646,4647,4649,4651,4654,4656,4658,4660,4662,4664],{"class":43,"line":112},[41,4648,155],{"class":4632},[41,4650,160],{"class":4635},[41,4652,166],{"class":4653},"sBjJW",[41,4655,1045],{"class":4635},[41,4657,2702],{"class":4653},[41,4659,171],{"class":4635},[41,4661,73],{"class":4632},[41,4663,180],{"class":4192},[41,4665,226],{"class":4635},[41,4667,4668,4670,4672],{"class":43,"line":139},[41,4669,2726],{"class":4635},[41,4671,2731],{"class":4192},[41,4673,226],{"class":4635},[41,4675,4676],{"class":43,"line":149},[41,4677,2743],{"class":4635},[41,4679,4680,4682,4684,4686],{"class":43,"line":188},[41,4681,2751],{"class":4635},[41,4683,2756],{"class":4640},[41,4685,171],{"class":4635},[41,4687,4689],{"class":4688},"sCsY4","\u002F\u002F 全局 controlProps（可被字段级覆盖）\n",[41,4691,4692],{"class":43,"line":196},[41,4693,2307],{"class":4635},[41,4695,4696],{"class":43,"line":229},[41,4697,2316],{"class":4635},[4699,4700,4701,4702,4704,4705,4708,4709,4712],"tip",{},"推荐优先使用 ",[37,4703,2731],{}," 注册自定义控件，以获得更稳定的 ",[37,4706,4707],{},"controlProps"," \u002F ",[37,4710,4711],{},"controlSlots"," 类型提示。",[4573,4714,4715,4716,4719],{},"直接对象写法（",[37,4717,4718],{},"tagSelector: { component: TagSelector }","）仍然可用，且支持类型推导。",[10,4721,4722],{},"在 schema 中使用注册的控件类型：",[30,4724,4726],{"className":4623,"code":4725,"language":4625,"meta":22,"style":22},"const schema = afz.object({\n  skills: afz\n    .array(afz.string(), {\n      type: 'tagSelector',       \u002F\u002F 指定控件类型\n      controlProps: {\n        options: ['Vue.js', 'Nuxt', 'TypeScript'],\n        max: 5\n      }\n    })\n    .meta({ label: '技能标签' })\n})\n",[37,4727,4728,4742,4746,4758,4770,4774,4793,4799,4803,4807,4819],{"__ignoreMap":22},[41,4729,4730,4732,4734,4736,4738,4740],{"class":43,"line":44},[41,4731,155],{"class":4632},[41,4733,206],{"class":4653},[41,4735,211],{"class":4632},[41,4737,216],{"class":4635},[41,4739,221],{"class":4192},[41,4741,226],{"class":4635},[41,4743,4744],{"class":43,"line":87},[41,4745,3299],{"class":4635},[41,4747,4748,4750,4752,4754,4756],{"class":43,"line":112},[41,4749,3068],{"class":4635},[41,4751,1095],{"class":4192},[41,4753,1100],{"class":4635},[41,4755,919],{"class":4192},[41,4757,3323],{"class":4635},[41,4759,4760,4762,4764,4767],{"class":43,"line":139},[41,4761,3331],{"class":4635},[41,4763,3336],{"class":4640},[41,4765,4766],{"class":4635},",       ",[41,4768,4769],{"class":4688},"\u002F\u002F 指定控件类型\n",[41,4771,4772],{"class":43,"line":149},[41,4773,3348],{"class":4635},[41,4775,4776,4779,4782,4784,4786,4788,4790],{"class":43,"line":188},[41,4777,4778],{"class":4635},"        options: [",[41,4780,4781],{"class":4640},"'Vue.js'",[41,4783,1045],{"class":4635},[41,4785,1050],{"class":4640},[41,4787,1045],{"class":4635},[41,4789,2827],{"class":4640},[41,4791,4792],{"class":4635},"],\n",[41,4794,4795,4797],{"class":43,"line":196},[41,4796,3373],{"class":4635},[41,4798,3378],{"class":4653},[41,4800,4801],{"class":43,"line":229},[41,4802,3386],{"class":4635},[41,4804,4805],{"class":43,"line":247},[41,4806,3394],{"class":4635},[41,4808,4809,4811,4813,4815,4817],{"class":43,"line":256},[41,4810,3068],{"class":4635},[41,4812,939],{"class":4192},[41,4814,944],{"class":4635},[41,4816,3430],{"class":4640},[41,4818,2289],{"class":4635},[41,4820,4821],{"class":43,"line":265},[41,4822,2316],{"class":4635},[10,4824,4825,4826,4828,4829,4831],{},"将 ",[37,4827,2702],{}," 传给 ",[37,4830,2444],{},"：",[30,4833,4835],{"className":32,"code":4834,"language":34,"meta":22,"style":22},"\u003CMAutoForm\n  :schema=\"schema\"\n  v-model=\"form\"\n  :controls=\"controls\"\n  @submit=\"onSubmit\"\n\u002F>\n",[37,4836,4837,4844,4859,4872,4886,4901],{"__ignoreMap":22},[41,4838,4839,4841],{"class":43,"line":44},[41,4840,51],{"class":4635},[41,4842,3961],{"class":4843},"sovSZ",[41,4845,4846,4849,4851,4853,4855,4857],{"class":43,"line":87},[41,4847,4848],{"class":4635},"  :",[41,4850,2477],{"class":4192},[41,4852,73],{"class":4635},[41,4854,2458],{"class":4640},[41,4856,2477],{"class":4635},[41,4858,3987],{"class":4640},[41,4860,4861,4864,4866,4868,4870],{"class":43,"line":112},[41,4862,4863],{"class":4192},"  v-model",[41,4865,73],{"class":4635},[41,4867,2458],{"class":4640},[41,4869,3982],{"class":4635},[41,4871,3987],{"class":4640},[41,4873,4874,4876,4878,4880,4882,4884],{"class":43,"line":139},[41,4875,4848],{"class":4635},[41,4877,2702],{"class":4192},[41,4879,73],{"class":4635},[41,4881,2458],{"class":4640},[41,4883,2702],{"class":4635},[41,4885,3987],{"class":4640},[41,4887,4888,4891,4893,4895,4897,4899],{"class":43,"line":149},[41,4889,4890],{"class":4635},"  @",[41,4892,4055],{"class":4192},[41,4894,73],{"class":4635},[41,4896,2458],{"class":4640},[41,4898,4068],{"class":4635},[41,4900,3987],{"class":4640},[41,4902,4903],{"class":43,"line":188},[41,4904,4905],{"class":4635},"\u002F>\n",[4151,4907,4908],{"id":4908},"直接传入组件",[10,4910,4911,4912,4915],{},"可以直接在 schema 的 meta 中传入组件实例，例如 ",[37,4913,4914],{},"UInputRating","。",[30,4917,4919],{"className":4623,"code":4918,"language":4625,"meta":22,"style":22},"import { UInputRating } from '#components'\n\nconst schema = afz.object({\n  rating: afz.number({\n    component: UInputRating,\n    controlProps: { length: 10 }\n  }).meta({ label: '评分' })\n})\n",[37,4920,4921,4932,4936,4950,4959,4964,4974,4988],{"__ignoreMap":22},[41,4922,4923,4925,4928,4930],{"class":43,"line":44},[41,4924,94],{"class":4632},[41,4926,4927],{"class":4635}," { UInputRating } ",[41,4929,104],{"class":4632},[41,4931,109],{"class":4640},[41,4933,4934],{"class":43,"line":87},[41,4935,146],{"emptyLinePlaceholder":143},[41,4937,4938,4940,4942,4944,4946,4948],{"class":43,"line":112},[41,4939,155],{"class":4632},[41,4941,206],{"class":4653},[41,4943,211],{"class":4632},[41,4945,216],{"class":4635},[41,4947,221],{"class":4192},[41,4949,226],{"class":4635},[41,4951,4952,4955,4957],{"class":43,"line":139},[41,4953,4954],{"class":4635},"  rating: afz.",[41,4956,1167],{"class":4192},[41,4958,226],{"class":4635},[41,4960,4961],{"class":43,"line":149},[41,4962,4963],{"class":4635},"    component: UInputRating,\n",[41,4965,4966,4969,4972],{"class":43,"line":188},[41,4967,4968],{"class":4635},"    controlProps: { length: ",[41,4970,4971],{"class":4653},"10",[41,4973,491],{"class":4635},[41,4975,4976,4979,4981,4983,4986],{"class":43,"line":196},[41,4977,4978],{"class":4635},"  }).",[41,4980,939],{"class":4192},[41,4982,944],{"class":4635},[41,4984,4985],{"class":4640},"'评分'",[41,4987,2289],{"class":4635},[41,4989,4990],{"class":43,"line":229},[41,4991,2316],{"class":4635},[4573,4993,4994,4995,4997,4998,5000,5001,5003],{},"直接传入组件时，",[37,4996,3660],{}," 与 ",[37,4999,4145],{}," 互斥，同时存在时以 ",[37,5002,4145],{}," 为准。",[4151,5005,5006],{"id":5006},"组件规范",[10,5008,5009],{},"自定义控件组件需满足以下要求。",[5011,5012,5014],"h4",{"id":5013},"支持-v-model","支持 v-model",[30,5016,5018],{"className":32,"code":5017,"language":34,"meta":22,"style":22},"\u003Cscript setup>\n\u002F\u002F Vue 3.4+ 推荐写法\nconst model = defineModel()\n\n\u002F\u002F 或传统写法\nconst props = defineProps(['modelValue'])\nconst emits = defineEmits(['update:modelValue'])\n\u003C\u002Fscript>\n",[37,5019,5020,5030,5035,5049,5053,5058,5078,5097],{"__ignoreMap":22},[41,5021,5022,5024,5026,5028],{"class":43,"line":44},[41,5023,51],{"class":4635},[41,5025,57],{"class":4843},[41,5027,63],{"class":4192},[41,5029,84],{"class":4635},[41,5031,5032],{"class":43,"line":87},[41,5033,5034],{"class":4688},"\u002F\u002F Vue 3.4+ 推荐写法\n",[41,5036,5037,5039,5042,5044,5047],{"class":43,"line":112},[41,5038,155],{"class":4632},[41,5040,5041],{"class":4653}," model",[41,5043,211],{"class":4632},[41,5045,5046],{"class":4192}," defineModel",[41,5048,185],{"class":4635},[41,5050,5051],{"class":43,"line":139},[41,5052,146],{"emptyLinePlaceholder":143},[41,5054,5055],{"class":43,"line":149},[41,5056,5057],{"class":4688},"\u002F\u002F 或传统写法\n",[41,5059,5060,5062,5065,5067,5070,5072,5075],{"class":43,"line":188},[41,5061,155],{"class":4632},[41,5063,5064],{"class":4653}," props",[41,5066,211],{"class":4632},[41,5068,5069],{"class":4192}," defineProps",[41,5071,1475],{"class":4635},[41,5073,5074],{"class":4640},"'modelValue'",[41,5076,5077],{"class":4635},"])\n",[41,5079,5080,5082,5085,5087,5090,5092,5095],{"class":43,"line":196},[41,5081,155],{"class":4632},[41,5083,5084],{"class":4653}," emits",[41,5086,211],{"class":4632},[41,5088,5089],{"class":4192}," defineEmits",[41,5091,1475],{"class":4635},[41,5093,5094],{"class":4640},"'update:modelValue'",[41,5096,5077],{"class":4635},[41,5098,5099,5101,5103],{"class":43,"line":229},[41,5100,2397],{"class":4635},[41,5102,57],{"class":4843},[41,5104,84],{"class":4635},[5011,5106,5108],{"id":5107},"接受-controlprops","接受 controlProps",[10,5110,5111,5113],{},[37,5112,4707],{}," 中的字段会作为 props 透传给控件组件。组件应声明对应的 props：",[30,5115,5117],{"className":32,"code":5116,"language":34,"meta":22,"style":22},"\u003Cscript setup>\ndefineProps\u003C{\n  modelValue?: string[]\n  options?: string[]  \u002F\u002F 对应 controlProps.options\n  max?: number        \u002F\u002F 对应 controlProps.max\n  disabled?: boolean\n}>()\n\u003C\u002Fscript>\n",[37,5118,5119,5129,5137,5152,5167,5180,5190,5195],{"__ignoreMap":22},[41,5120,5121,5123,5125,5127],{"class":43,"line":44},[41,5122,51],{"class":4635},[41,5124,57],{"class":4843},[41,5126,63],{"class":4192},[41,5128,84],{"class":4635},[41,5130,5131,5134],{"class":43,"line":87},[41,5132,5133],{"class":4192},"defineProps",[41,5135,5136],{"class":4635},"\u003C{\n",[41,5138,5139,5143,5146,5149],{"class":43,"line":112},[41,5140,5142],{"class":5141},"sP4rz","  modelValue",[41,5144,5145],{"class":4632},"?:",[41,5147,5148],{"class":4653}," string",[41,5150,5151],{"class":4635},"[]\n",[41,5153,5154,5157,5159,5161,5164],{"class":43,"line":139},[41,5155,5156],{"class":5141},"  options",[41,5158,5145],{"class":4632},[41,5160,5148],{"class":4653},[41,5162,5163],{"class":4635},"[]  ",[41,5165,5166],{"class":4688},"\u002F\u002F 对应 controlProps.options\n",[41,5168,5169,5172,5174,5177],{"class":43,"line":149},[41,5170,5171],{"class":5141},"  max",[41,5173,5145],{"class":4632},[41,5175,5176],{"class":4653}," number",[41,5178,5179],{"class":4688},"        \u002F\u002F 对应 controlProps.max\n",[41,5181,5182,5185,5187],{"class":43,"line":188},[41,5183,5184],{"class":5141},"  disabled",[41,5186,5145],{"class":4632},[41,5188,5189],{"class":4653}," boolean\n",[41,5191,5192],{"class":43,"line":196},[41,5193,5194],{"class":4635},"}>()\n",[41,5196,5197,5199,5201],{"class":43,"line":229},[41,5198,2397],{"class":4635},[41,5200,57],{"class":4843},[41,5202,84],{"class":4635},[4110,5204,5205],{"id":5205},"示例",[10,5207,4320,5208,5210,5211,5214,5215,5218,5219,5222,5223,5225],{},[37,5209,2731],{}," 注册 ",[37,5212,5213],{},"TagSelector"," 为 ",[37,5216,5217],{},"tagSelector"," 控件类型，schema 中以 ",[37,5220,5221],{},"type: 'tagSelector'"," 引用，并通过 ",[37,5224,4707],{}," 传入候选标签与最大选中数：",[4601,5227],{":collapse":4603,"name":2526},[26,5229,5230],{},[30,5231,5234],{"className":32,"code":5232,"filename":5233,"language":34,"meta":22,"style":22},"\u003Cscript setup lang=\"ts\">\nimport { UBadge } from '#components'\n\nexport interface TagSelectorProps {\n  \u002F**\n   * 可选标签列表\n   *\u002F\n  options?: string[]\n  \u002F**\n   * 最多可选数量（不填表示不限制）\n   *\u002F\n  max?: number\n  \u002F**\n   * 禁用状态\n   *\u002F\n  disabled?: boolean\n}\n\nconst props = withDefaults(defineProps\u003CTagSelectorProps>(), {\n  options: () => [],\n  disabled: false\n})\n\nconst model = defineModel\u003Cstring[]>({ default: () => [] })\n\nfunction isSelected(tag: string) {\n  return (model.value ?? []).includes(tag)\n}\n\nfunction isMaxReached(tag: string) {\n  const current = model.value ?? []\n  return !!props.max && current.length >= props.max && !current.includes(tag)\n}\n\nfunction toggle(tag: string) {\n  if (props.disabled || isMaxReached(tag)) return\n\n  const current = model.value ?? []\n  model.value = current.includes(tag)\n    ? current.filter(t => t !== tag)\n    : [...current, tag]\n}\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"space-y-2\">\n    \u003Cdiv\n      v-if=\"options.length === 0\"\n      class=\"text-sm text-muted\"\n    >\n      暂无可选标签\n    \u003C\u002Fdiv>\n    \u003Cdiv\n      v-else\n      class=\"flex flex-wrap gap-2\"\n    >\n      \u003CUBadge\n        v-for=\"tag in options\"\n        :key=\"tag\"\n        :label=\"tag\"\n        :variant=\"isSelected(tag) ? 'solid' : 'outline'\"\n        color=\"primary\"\n        class=\"transition-opacity select-none\"\n        :class=\"[\n          disabled || isMaxReached(tag)\n            ? 'opacity-40 cursor-not-allowed'\n            : 'cursor-pointer hover:opacity-80'\n        ]\"\n        @click=\"toggle(tag)\"\n      \u002F>\n    \u003C\u002Fdiv>\n    \u003Cp\n      v-if=\"max\"\n      class=\"text-xs text-muted\"\n    >\n      已选 {{ (model ?? []).length }} \u002F {{ max }}\n    \u003C\u002Fp>\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","app\u002Fcomponents\u002FTagSelector.vue",[37,5235,5236,5252,5263,5267,5280,5285,5290,5295,5305,5309,5314,5318,5327,5331,5336,5340,5348,5352,5356,5379,5392,5400,5404,5408,5434,5438,5458,5478,5482,5486,5503,5521,5558,5562,5566,5583,5602,5606,5620,5633,5660,5671,5675,5683,5687,5695,5712,5720,5730,5740,5745,5750,5759,5765,5770,5779,5783,5791,5811,5827,5842,5870,5880,5890,5904,5915,5923,5931,5938,5957,5962,5970,5977,5986,5995,5999,6004,6012,6021],{"__ignoreMap":22},[41,5237,5238,5240,5242,5244,5246,5248,5250],{"class":43,"line":44},[41,5239,51],{"class":4635},[41,5241,57],{"class":4843},[41,5243,63],{"class":4192},[41,5245,68],{"class":4192},[41,5247,73],{"class":4635},[41,5249,79],{"class":4640},[41,5251,84],{"class":4635},[41,5253,5254,5256,5259,5261],{"class":43,"line":87},[41,5255,94],{"class":4632},[41,5257,5258],{"class":4635}," { UBadge } ",[41,5260,104],{"class":4632},[41,5262,109],{"class":4640},[41,5264,5265],{"class":43,"line":112},[41,5266,146],{"emptyLinePlaceholder":143},[41,5268,5269,5272,5275,5278],{"class":43,"line":139},[41,5270,5271],{"class":4632},"export",[41,5273,5274],{"class":4632}," interface",[41,5276,5277],{"class":4192}," TagSelectorProps",[41,5279,2929],{"class":4635},[41,5281,5282],{"class":43,"line":149},[41,5283,5284],{"class":4688},"  \u002F**\n",[41,5286,5287],{"class":43,"line":188},[41,5288,5289],{"class":4688},"   * 可选标签列表\n",[41,5291,5292],{"class":43,"line":196},[41,5293,5294],{"class":4688},"   *\u002F\n",[41,5296,5297,5299,5301,5303],{"class":43,"line":229},[41,5298,5156],{"class":5141},[41,5300,5145],{"class":4632},[41,5302,5148],{"class":4653},[41,5304,5151],{"class":4635},[41,5306,5307],{"class":43,"line":247},[41,5308,5284],{"class":4688},[41,5310,5311],{"class":43,"line":256},[41,5312,5313],{"class":4688},"   * 最多可选数量（不填表示不限制）\n",[41,5315,5316],{"class":43,"line":265},[41,5317,5294],{"class":4688},[41,5319,5320,5322,5324],{"class":43,"line":284},[41,5321,5171],{"class":5141},[41,5323,5145],{"class":4632},[41,5325,5326],{"class":4653}," number\n",[41,5328,5329],{"class":43,"line":293},[41,5330,5284],{"class":4688},[41,5332,5333],{"class":43,"line":337},[41,5334,5335],{"class":4688},"   * 禁用状态\n",[41,5337,5338],{"class":43,"line":376},[41,5339,5294],{"class":4688},[41,5341,5342,5344,5346],{"class":43,"line":415},[41,5343,5184],{"class":5141},[41,5345,5145],{"class":4632},[41,5347,5189],{"class":4653},[41,5349,5350],{"class":43,"line":454},[41,5351,3018],{"class":4635},[41,5353,5354],{"class":43,"line":494},[41,5355,146],{"emptyLinePlaceholder":143},[41,5357,5358,5360,5362,5364,5367,5369,5371,5373,5376],{"class":43,"line":503},[41,5359,155],{"class":4632},[41,5361,5064],{"class":4653},[41,5363,211],{"class":4632},[41,5365,5366],{"class":4192}," withDefaults",[41,5368,1263],{"class":4635},[41,5370,5133],{"class":4192},[41,5372,51],{"class":4635},[41,5374,5375],{"class":4192},"TagSelectorProps",[41,5377,5378],{"class":4635},">(), {\n",[41,5380,5381,5383,5386,5389],{"class":43,"line":512},[41,5382,5156],{"class":4192},[41,5384,5385],{"class":4635},": () ",[41,5387,5388],{"class":4632},"=>",[41,5390,5391],{"class":4635}," [],\n",[41,5393,5394,5397],{"class":43,"line":521},[41,5395,5396],{"class":4635},"  disabled: ",[41,5398,5399],{"class":4653},"false\n",[41,5401,5402],{"class":43,"line":539},[41,5403,2316],{"class":4635},[41,5405,5406],{"class":43,"line":556},[41,5407,146],{"emptyLinePlaceholder":143},[41,5409,5410,5412,5414,5416,5418,5420,5422,5425,5427,5429,5431],{"class":43,"line":573},[41,5411,155],{"class":4632},[41,5413,5041],{"class":4653},[41,5415,211],{"class":4632},[41,5417,5046],{"class":4192},[41,5419,51],{"class":4635},[41,5421,919],{"class":4653},[41,5423,5424],{"class":4635},"[]>({ ",[41,5426,1258],{"class":4192},[41,5428,5385],{"class":4635},[41,5430,5388],{"class":4632},[41,5432,5433],{"class":4635}," [] })\n",[41,5435,5436],{"class":43,"line":590},[41,5437,146],{"emptyLinePlaceholder":143},[41,5439,5440,5443,5446,5448,5451,5453,5455],{"class":43,"line":598},[41,5441,5442],{"class":4632},"function",[41,5444,5445],{"class":4192}," isSelected",[41,5447,1263],{"class":4635},[41,5449,5450],{"class":5141},"tag",[41,5452,3785],{"class":4632},[41,5454,5148],{"class":4653},[41,5456,5457],{"class":4635},") {\n",[41,5459,5460,5463,5466,5469,5472,5475],{"class":43,"line":615},[41,5461,5462],{"class":4632},"  return",[41,5464,5465],{"class":4635}," (model.value ",[41,5467,5468],{"class":4632},"??",[41,5470,5471],{"class":4635}," []).",[41,5473,5474],{"class":4192},"includes",[41,5476,5477],{"class":4635},"(tag)\n",[41,5479,5480],{"class":43,"line":632},[41,5481,3018],{"class":4635},[41,5483,5484],{"class":43,"line":640},[41,5485,146],{"emptyLinePlaceholder":143},[41,5487,5488,5490,5493,5495,5497,5499,5501],{"class":43,"line":657},[41,5489,5442],{"class":4632},[41,5491,5492],{"class":4192}," isMaxReached",[41,5494,1263],{"class":4635},[41,5496,5450],{"class":5141},[41,5498,3785],{"class":4632},[41,5500,5148],{"class":4653},[41,5502,5457],{"class":4635},[41,5504,5505,5508,5511,5513,5516,5518],{"class":43,"line":674},[41,5506,5507],{"class":4632},"  const",[41,5509,5510],{"class":4653}," current",[41,5512,211],{"class":4632},[41,5514,5515],{"class":4635}," model.value ",[41,5517,5468],{"class":4632},[41,5519,5520],{"class":4635}," []\n",[41,5522,5523,5525,5528,5531,5534,5537,5540,5543,5546,5548,5551,5554,5556],{"class":43,"line":691},[41,5524,5462],{"class":4632},[41,5526,5527],{"class":4632}," !!",[41,5529,5530],{"class":4635},"props.max ",[41,5532,5533],{"class":4632},"&&",[41,5535,5536],{"class":4635}," current.",[41,5538,5539],{"class":4653},"length",[41,5541,5542],{"class":4632}," >=",[41,5544,5545],{"class":4635}," props.max ",[41,5547,5533],{"class":4632},[41,5549,5550],{"class":4632}," !",[41,5552,5553],{"class":4635},"current.",[41,5555,5474],{"class":4192},[41,5557,5477],{"class":4635},[41,5559,5560],{"class":43,"line":699},[41,5561,3018],{"class":4635},[41,5563,5564],{"class":43,"line":716},[41,5565,146],{"emptyLinePlaceholder":143},[41,5567,5568,5570,5573,5575,5577,5579,5581],{"class":43,"line":733},[41,5569,5442],{"class":4632},[41,5571,5572],{"class":4192}," toggle",[41,5574,1263],{"class":4635},[41,5576,5450],{"class":5141},[41,5578,3785],{"class":4632},[41,5580,5148],{"class":4653},[41,5582,5457],{"class":4635},[41,5584,5585,5588,5591,5594,5596,5599],{"class":43,"line":750},[41,5586,5587],{"class":4632},"  if",[41,5589,5590],{"class":4635}," (props.disabled ",[41,5592,5593],{"class":4632},"||",[41,5595,5492],{"class":4192},[41,5597,5598],{"class":4635},"(tag)) ",[41,5600,5601],{"class":4632},"return\n",[41,5603,5604],{"class":43,"line":767},[41,5605,146],{"emptyLinePlaceholder":143},[41,5607,5608,5610,5612,5614,5616,5618],{"class":43,"line":784},[41,5609,5507],{"class":4632},[41,5611,5510],{"class":4653},[41,5613,211],{"class":4632},[41,5615,5515],{"class":4635},[41,5617,5468],{"class":4632},[41,5619,5520],{"class":4635},[41,5621,5622,5625,5627,5629,5631],{"class":43,"line":801},[41,5623,5624],{"class":4635},"  model.value ",[41,5626,73],{"class":4632},[41,5628,5536],{"class":4635},[41,5630,5474],{"class":4192},[41,5632,5477],{"class":4635},[41,5634,5635,5638,5640,5643,5645,5648,5651,5654,5657],{"class":43,"line":818},[41,5636,5637],{"class":4632},"    ?",[41,5639,5536],{"class":4635},[41,5641,5642],{"class":4192},"filter",[41,5644,1263],{"class":4635},[41,5646,5647],{"class":5141},"t",[41,5649,5650],{"class":4632}," =>",[41,5652,5653],{"class":4635}," t ",[41,5655,5656],{"class":4632},"!==",[41,5658,5659],{"class":4635}," tag)\n",[41,5661,5662,5664,5666,5668],{"class":43,"line":835},[41,5663,3995],{"class":4632},[41,5665,3204],{"class":4635},[41,5667,3217],{"class":4632},[41,5669,5670],{"class":4635},"current, tag]\n",[41,5672,5673],{"class":43,"line":843},[41,5674,3018],{"class":4635},[41,5676,5677,5679,5681],{"class":43,"line":860},[41,5678,2397],{"class":4635},[41,5680,57],{"class":4843},[41,5682,84],{"class":4635},[41,5684,5685],{"class":43,"line":877},[41,5686,146],{"emptyLinePlaceholder":143},[41,5688,5689,5691,5693],{"class":43,"line":891},[41,5690,51],{"class":4635},[41,5692,2426],{"class":4843},[41,5694,84],{"class":4635},[41,5696,5697,5699,5702,5705,5707,5710],{"class":43,"line":899},[41,5698,2439],{"class":4635},[41,5700,5701],{"class":4843},"div",[41,5703,5704],{"class":4192}," class",[41,5706,73],{"class":4635},[41,5708,5709],{"class":4640},"\"space-y-2\"",[41,5711,84],{"class":4635},[41,5713,5714,5717],{"class":43,"line":908},[41,5715,5716],{"class":4635},"    \u003C",[41,5718,5719],{"class":4843},"div\n",[41,5721,5722,5725,5727],{"class":43,"line":957},[41,5723,5724],{"class":4192},"      v-if",[41,5726,73],{"class":4635},[41,5728,5729],{"class":4640},"\"options.length === 0\"\n",[41,5731,5732,5735,5737],{"class":43,"line":1011},[41,5733,5734],{"class":4192},"      class",[41,5736,73],{"class":4635},[41,5738,5739],{"class":4640},"\"text-sm text-muted\"\n",[41,5741,5742],{"class":43,"line":1084},[41,5743,5744],{"class":4635},"    >\n",[41,5746,5747],{"class":43,"line":1148},[41,5748,5749],{"class":4635},"      暂无可选标签\n",[41,5751,5752,5755,5757],{"class":43,"line":1156},[41,5753,5754],{"class":4635},"    \u003C\u002F",[41,5756,5701],{"class":4843},[41,5758,84],{"class":4635},[41,5760,5761,5763],{"class":43,"line":1200},[41,5762,5716],{"class":4635},[41,5764,5719],{"class":4843},[41,5766,5767],{"class":43,"line":1293},[41,5768,5769],{"class":4192},"      v-else\n",[41,5771,5772,5774,5776],{"class":43,"line":1301},[41,5773,5734],{"class":4192},[41,5775,73],{"class":4635},[41,5777,5778],{"class":4640},"\"flex flex-wrap gap-2\"\n",[41,5780,5781],{"class":43,"line":1337},[41,5782,5744],{"class":4635},[41,5784,5785,5788],{"class":43,"line":1381},[41,5786,5787],{"class":4635},"      \u003C",[41,5789,5790],{"class":4843},"UBadge\n",[41,5792,5793,5796,5798,5800,5803,5806,5809],{"class":43,"line":1451},[41,5794,5795],{"class":4632},"        v-for",[41,5797,73],{"class":4635},[41,5799,2458],{"class":4640},[41,5801,5802],{"class":4635},"tag ",[41,5804,5805],{"class":4632},"in",[41,5807,5808],{"class":4635}," options",[41,5810,3987],{"class":4640},[41,5812,5813,5816,5819,5821,5823,5825],{"class":43,"line":1459},[41,5814,5815],{"class":4635},"        :",[41,5817,5818],{"class":4192},"key",[41,5820,73],{"class":4635},[41,5822,2458],{"class":4640},[41,5824,5450],{"class":4635},[41,5826,3987],{"class":4640},[41,5828,5829,5831,5834,5836,5838,5840],{"class":43,"line":1539},[41,5830,5815],{"class":4635},[41,5832,5833],{"class":4192},"label",[41,5835,73],{"class":4635},[41,5837,2458],{"class":4640},[41,5839,5450],{"class":4635},[41,5841,3987],{"class":4640},[41,5843,5844,5846,5849,5851,5853,5856,5859,5862,5865,5867],{"class":43,"line":1619},[41,5845,5815],{"class":4635},[41,5847,5848],{"class":4192},"variant",[41,5850,73],{"class":4635},[41,5852,2458],{"class":4640},[41,5854,5855],{"class":4192},"isSelected",[41,5857,5858],{"class":4635},"(tag) ",[41,5860,5861],{"class":4632},"?",[41,5863,5864],{"class":4640}," 'solid'",[41,5866,2472],{"class":4632},[41,5868,5869],{"class":4640}," 'outline'\"\n",[41,5871,5872,5875,5877],{"class":43,"line":1689},[41,5873,5874],{"class":4192},"        color",[41,5876,73],{"class":4635},[41,5878,5879],{"class":4640},"\"primary\"\n",[41,5881,5882,5885,5887],{"class":43,"line":1768},[41,5883,5884],{"class":4192},"        class",[41,5886,73],{"class":4635},[41,5888,5889],{"class":4640},"\"transition-opacity select-none\"\n",[41,5891,5892,5894,5897,5899,5901],{"class":43,"line":1812},[41,5893,5815],{"class":4635},[41,5895,5896],{"class":4192},"class",[41,5898,73],{"class":4635},[41,5900,2458],{"class":4640},[41,5902,5903],{"class":4635},"[\n",[41,5905,5906,5909,5911,5913],{"class":43,"line":1829},[41,5907,5908],{"class":4635},"          disabled ",[41,5910,5593],{"class":4632},[41,5912,5492],{"class":4192},[41,5914,5477],{"class":4635},[41,5916,5917,5920],{"class":43,"line":1885},[41,5918,5919],{"class":4632},"            ?",[41,5921,5922],{"class":4640}," 'opacity-40 cursor-not-allowed'\n",[41,5924,5925,5928],{"class":43,"line":1927},[41,5926,5927],{"class":4632},"            :",[41,5929,5930],{"class":4640}," 'cursor-pointer hover:opacity-80'\n",[41,5932,5933,5936],{"class":43,"line":2013},[41,5934,5935],{"class":4635},"        ]",[41,5937,3987],{"class":4640},[41,5939,5940,5943,5946,5948,5950,5952,5955],{"class":43,"line":2091},[41,5941,5942],{"class":4635},"        @",[41,5944,5945],{"class":4192},"click",[41,5947,73],{"class":4635},[41,5949,2458],{"class":4640},[41,5951,4380],{"class":4192},[41,5953,5954],{"class":4635},"(tag)",[41,5956,3987],{"class":4640},[41,5958,5959],{"class":43,"line":2168},[41,5960,5961],{"class":4635},"      \u002F>\n",[41,5963,5964,5966,5968],{"class":43,"line":2176},[41,5965,5754],{"class":4635},[41,5967,5701],{"class":4843},[41,5969,84],{"class":4635},[41,5971,5972,5974],{"class":43,"line":2221},[41,5973,5716],{"class":4635},[41,5975,5976],{"class":4843},"p\n",[41,5978,5979,5981,5983],{"class":43,"line":2256},[41,5980,5724],{"class":4192},[41,5982,73],{"class":4635},[41,5984,5985],{"class":4640},"\"max\"\n",[41,5987,5988,5990,5992],{"class":43,"line":2292},[41,5989,5734],{"class":4192},[41,5991,73],{"class":4635},[41,5993,5994],{"class":4640},"\"text-xs text-muted\"\n",[41,5996,5997],{"class":43,"line":2301},[41,5998,5744],{"class":4635},[41,6000,6001],{"class":43,"line":2310},[41,6002,6003],{"class":4635},"      已选 {{ (model ?? []).length }} \u002F {{ max }}\n",[41,6005,6006,6008,6010],{"class":43,"line":2319},[41,6007,5754],{"class":4635},[41,6009,10],{"class":4843},[41,6011,84],{"class":4635},[41,6013,6014,6017,6019],{"class":43,"line":2327},[41,6015,6016],{"class":4635},"  \u003C\u002F",[41,6018,5701],{"class":4843},[41,6020,84],{"class":4635},[41,6022,6023,6025,6027],{"class":43,"line":2391},[41,6024,2397],{"class":4635},[41,6026,2426],{"class":4843},[41,6028,84],{"class":4635},[2516,6030,6031],{},"html pre.shiki code .snPdu, html code.shiki .snPdu{--shiki-light:#6F42C1;--shiki-default:#6F42C1;--shiki-dark:#B392F0}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 .s8jYJ, html code.shiki .s8jYJ{--shiki-light:#D73A49;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sxrX7, html code.shiki .sxrX7{--shiki-light:#24292E;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sIIMD, html code.shiki .sIIMD{--shiki-light:#032F62;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sBjJW, html code.shiki .sBjJW{--shiki-light:#005CC5;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sCsY4, html code.shiki .sCsY4{--shiki-light:#6A737D;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sovSZ, html code.shiki .sovSZ{--shiki-light:#22863A;--shiki-default:#22863A;--shiki-dark:#85E89D}html pre.shiki code .sP4rz, html code.shiki .sP4rz{--shiki-light:#E36209;--shiki-default:#E36209;--shiki-dark:#FFAB70}",{"title":22,"searchDepth":87,"depth":87,"links":6033},[6034,6035,6040,6045],{"id":4112,"depth":87,"text":4112},{"id":4149,"depth":87,"text":4149,"children":6036},[6037,6038,6039],{"id":4153,"depth":112,"text":4153},{"id":4316,"depth":112,"text":4317},{"id":4593,"depth":112,"text":4593},{"id":4606,"depth":87,"text":4606,"children":6041},[6042,6043,6044],{"id":4612,"depth":112,"text":4612},{"id":4908,"depth":112,"text":4908},{"id":5006,"depth":112,"text":5006},{"id":5205,"depth":87,"text":5205},null,"md",false,{},"\u002Fdocs\u002Fauto-form\u002Fcontrols",{"title":4105,"description":15},{"loc":6050},"docs\u002F2.auto-form\u002F4.controls","0hADgsXgF2RVt-Iyyr2j-Ljo7qPkh5gOGNXPVr73vMI",[6056],{"title":6057,"path":6058,"stem":6059,"children":6060,"page":6048},"Docs","\u002Fdocs","docs",[6061,6099,6150,6188,6227],{"title":6062,"path":6063,"stem":6064,"children":6065,"category":6046,"description":6046,"icon":6098},"快速开始","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[6066,6069,6074,6079,6084,6089,6093],{"title":6067,"path":6063,"stem":6064,"category":6046,"description":6068},"介绍","了解 Movk Nuxt 的表单、数据表格、组件和 API 集成，并选择适合 Nuxt 或 Vue + Vite 项目的接入方式。",{"title":6070,"path":6071,"stem":6072,"category":6046,"description":6073},"安装","\u002Fdocs\u002Fgetting-started\u002Finstallation","docs\u002F1.getting-started\u002F2.installation","在 Nuxt 4 项目中安装和配置 Movk Nuxt 模块。",{"title":6075,"path":6076,"stem":6077,"category":6046,"description":6078},"模块配置","\u002Fdocs\u002Fgetting-started\u002Fconfiguration","docs\u002F1.getting-started\u002F3.configuration","配置组件前缀、主题颜色、字体、API 端点、认证策略、响应解析规则和 Toast 提示行为。",{"title":6080,"path":6081,"stem":6082,"category":6046,"description":6083},"Vue \u002F Vite","\u002Fdocs\u002Fgetting-started\u002Fvue","docs\u002F1.getting-started\u002F4.vue","在纯 Vue + Vite 项目中使用 Movk 的独立组件、主题与 Composables，无需 Nuxt。",{"title":6085,"path":6086,"stem":6087,"category":6046,"description":6088},"主题系统","\u002Fdocs\u002Fgetting-started\u002Ftheme","docs\u002F1.getting-started\u002F5.theme","通过模块默认值、ThemePicker 组件和 useTheme composable 管理颜色、圆角、图标集与深色模式，字体则在构建期配置。",{"title":6090,"path":4575,"stem":6091,"category":6046,"description":6092},"迁移到 v2","docs\u002F1.getting-started\u002F6.migration","从 v1 升级到 v2 时需要处理的破坏性变更。",{"title":6094,"path":6095,"stem":6096,"category":6046,"description":6097},"AI 集成","\u002Fdocs\u002Fgetting-started\u002Fai","docs\u002F1.getting-started\u002F7.ai","通过 MCP、llms.txt 与 Skills 让 AI 助手理解 Movk Nuxt。","i-lucide-square-play",{"title":6100,"category":6046,"description":6046,"icon":6101,"path":6102,"stem":6103,"children":6104,"page":6048},"表单","i-lucide-square-pen","\u002Fdocs\u002Fauto-form","docs\u002F2.auto-form",[6105,6109,6114,6119,6124,6125,6130,6135,6140,6145],{"title":6062,"path":6106,"stem":6107,"category":6046,"description":6108},"\u002Fdocs\u002Fauto-form\u002Fquickstart","docs\u002F2.auto-form\u002F1.quickstart","了解 AutoForm 的核心设计理念和基本使用方式。",{"title":6110,"path":6111,"stem":6112,"category":6046,"description":6113},"实战示例","\u002Fdocs\u002Fauto-form\u002Frecipes","docs\u002F2.auto-form\u002F10.recipes","登录、注册分组校验、多文件上传与横向搜索表单等 AutoForm 组合场景。",{"title":6115,"path":6116,"stem":6117,"category":6046,"description":6118},"字段类型","\u002Fdocs\u002Fauto-form\u002Ffield-types","docs\u002F2.auto-form\u002F2.field-types","afz 各字段类型到控件的映射与配置。",{"title":6120,"path":6121,"stem":6122,"category":6046,"description":6123},"对象与数组","\u002Fdocs\u002Fauto-form\u002Fobject-array","docs\u002F2.auto-form\u002F3.object-array","嵌套对象与动态数组字段的渲染与增删。",{"title":4105,"path":6050,"stem":6053,"category":6046,"description":15},{"title":6126,"path":6127,"stem":6128,"category":6046,"description":6129},"元数据与布局","\u002Fdocs\u002Fauto-form\u002Fmetadata-layout","docs\u002F2.auto-form\u002F5.metadata-layout","通过 meta 配置字段属性，并用 afz.layout 组织布局。",{"title":6131,"path":6132,"stem":6133,"category":6046,"description":6134},"插槽","\u002Fdocs\u002Fauto-form\u002Fslots","docs\u002F2.auto-form\u002F6.slots","通过具名插槽自定义 AutoForm 的头尾、字段控件、字段前后与布局内容。",{"title":6136,"path":6137,"stem":6138,"category":6046,"description":6139},"联动与提交","\u002Fdocs\u002Fauto-form\u002Freactive-submit","docs\u002F2.auto-form\u002F7.reactive-submit","字段间响应式联动与表单提交处理。",{"title":6141,"path":6142,"stem":6143,"category":6046,"description":6144},"SearchForm","\u002Fdocs\u002Fauto-form\u002Fsearch-form","docs\u002F2.auto-form\u002F8.search-form","Schema 驱动的可折叠搜索表单组件。",{"title":6146,"path":6147,"stem":6148,"category":6046,"description":6149},"useAutoForm","\u002Fdocs\u002Fauto-form\u002Fuse-auto-form","docs\u002F2.auto-form\u002F9.use-auto-form","用于创建类型化 Zod Schema 和管理 AutoForm 控件的 composable。",{"title":6151,"path":6152,"stem":6153,"children":6154,"category":6046,"description":6046,"icon":6187},"DataTable","\u002Fdocs\u002Fdata-table","docs\u002F3.data-table\u002F1.index",[6155,6157,6162,6167,6172,6177,6182],{"title":6067,"path":6152,"stem":6153,"category":6046,"description":6156},"基于 TanStack Table 的声明式数据表格，含列配置、选择、展开、树形、分页、加载更多与完整 API 参考。",{"title":6158,"path":6159,"stem":6160,"category":6046,"description":6161},"外观","\u002Fdocs\u002Fdata-table\u002Fappearance","docs\u002F3.data-table\u002F2.appearance","组件样式覆盖、分页样式覆盖、斑马纹与边框、视觉密度、内容自适应、空值占位与粘性表头。",{"title":6163,"path":6164,"stem":6165,"category":6046,"description":6166},"列配置","\u002Fdocs\u002Fdata-table\u002Fcolumns","docs\u002F3.data-table\u002F3.columns","数据列的固定、排序、列固定切换、列宽拖拽、文本截断、Tooltip、可见性与函数式配置。",{"title":6168,"path":6169,"stem":6170,"category":6046,"description":6171},"特殊列","\u002Fdocs\u002Fdata-table\u002Fspecial-columns","docs\u002F3.data-table\u002F4.special-columns","选择列、索引列、行固定列与操作列的配置，含树形选择策略、动态按钮与二次确认。",{"title":6173,"path":6174,"stem":6175,"category":6046,"description":6176},"行为与交互","\u002Fdocs\u002Fdata-table\u002Frows","docs\u002F3.data-table\u002F5.rows","行选择、展开详情、点击行为、动态行样式、悬停、右键菜单与编程式控制。",{"title":6178,"path":6179,"stem":6180,"category":6046,"description":6181},"树形数据","\u002Fdocs\u002Fdata-table\u002Ftree","docs\u002F3.data-table\u002F6.tree","通过 childrenKey 启用树形表格，配置展开、级联选择策略、缩进与选中结果读取。",{"title":6183,"path":6184,"stem":6185,"category":6046,"description":6186},"分页与加载更多","\u002Fdocs\u002Fdata-table\u002Fpagination","docs\u002F3.data-table\u002F7.pagination","客户端自动分页、服务端手动分页与加载状态，以及触底加载、无限滚动的实用参数。","i-lucide-table",{"title":6189,"path":6190,"stem":6191,"children":6192,"category":6046,"description":6046,"icon":6226},"API","\u002Fdocs\u002Fapi","docs\u002F4.api\u002F1.index",[6193,6196,6201,6206,6211,6216,6221],{"title":6194,"path":6190,"stem":6191,"category":6046,"description":6195},"概览","Nuxt 数据获取基础与 Movk Nuxt API 系统的核心概念和架构设计。",{"title":6197,"path":6198,"stem":6199,"category":6046,"description":6200},"$api","\u002Fdocs\u002Fapi\u002Fapi-plugin","docs\u002F4.api\u002F2.api-plugin","由 api.factory 插件创建的增强型 $fetch 实例，支持认证注入、数据解包、业务检查和多端点切换。",{"title":6202,"path":6203,"stem":6204,"category":6046,"description":6205},"hooks","\u002Fdocs\u002Fapi\u002Fhooks","docs\u002F4.api\u002F3.hooks","通过 Nuxt 运行时 Hook 扩展 API 系统行为，实现全局请求拦截、错误处理和 401 自定义处理。",{"title":6207,"path":6208,"stem":6209,"category":6046,"description":6210},"useApiFetch","\u002Fdocs\u002Fapi\u002Fuse-api-fetch","docs\u002F4.api\u002F4.use-api-fetch","基于 Nuxt useFetch 封装的 API 请求 composable，提供自动认证、业务状态码检查和 Toast 提示。",{"title":6212,"path":6213,"stem":6214,"category":6046,"description":6215},"上传与下载","\u002Fdocs\u002Fapi\u002Fupload-download","docs\u002F4.api\u002F5.upload-download","带进度监控的文件上传与下载。",{"title":6217,"path":6218,"stem":6219,"category":6046,"description":6220},"流式请求","\u002Fdocs\u002Fapi\u002Fstream","docs\u002F4.api\u002F6.stream","SSE 流式请求与 AI SDK Chat Transport。",{"title":6222,"path":6223,"stem":6224,"category":6046,"description":6225},"API 架构设计","\u002Fdocs\u002Fapi\u002Farchitecture","docs\u002F4.api\u002F7.architecture","厘清 @movk\u002Fnuxt 的职责边界，用最小化分层组织直连后端、同源代理与最小化 BFF，并梳理两类 Auth 的完整闭环。","i-lucide-cloud",{"title":6228,"category":6046,"description":6046,"icon":6229,"path":6230,"stem":6231,"children":6232,"page":6048},"Components","i-lucide-box","\u002Fdocs\u002Fcomponents","docs\u002F5.components",[6233,6238,6244],{"title":4278,"path":6234,"stem":6235,"category":6236,"description":6237},"\u002Fdocs\u002Fcomponents\u002Fdate-picker","docs\u002F5.components\u002Fdate-picker","advanced","基于国际化标准的日期选择器组件。",{"title":6239,"path":6240,"stem":6241,"category":6242,"description":6243},"MessageBox","\u002Fdocs\u002Fcomponents\u002Fmessage-box","docs\u002F5.components\u002Fmessage-box","feedback","模态消息对话框，提供声明式与编程式两种调用方式。",{"title":6245,"path":6246,"stem":6247,"category":6236,"description":6248,"badge":6249},"Tree","\u002Fdocs\u002Fcomponents\u002Ftree","docs\u002F5.components\u002Ftree","基于 Nuxt UI Tree 的树形组件，补齐搜索、懒加载、工具栏、复选框与父子策略。","v1.4.2",{"data":6251,"body":6252},{},{"type":6,"children":6253},[6254],{"type":9,"tag":10,"props":6255,"children":6256},{},[6257,6259],{"type":14,"value":6258},"Copyright © 2025 - 2026 YiXuan - ",{"type":9,"tag":41,"props":6260,"children":6263},{"className":6261},[6262],"text-highlighted",[6264],{"type":14,"value":6265},"MIT License",[6267,6268],{"title":6120,"path":6121,"stem":6122,"description":6123,"children":-1},{"title":6126,"path":6127,"stem":6128,"description":6129,"children":-1},1795763777163,"237a5cff-9aba-4421-be98-81a239f14b62"]